CN112764561A - Electronic equipment control method and device and electronic equipment - Google Patents

Electronic equipment control method and device and electronic equipment Download PDF

Info

Publication number
CN112764561A
CN112764561A CN202110089638.7A CN202110089638A CN112764561A CN 112764561 A CN112764561 A CN 112764561A CN 202110089638 A CN202110089638 A CN 202110089638A CN 112764561 A CN112764561 A CN 112764561A
Authority
CN
China
Prior art keywords
electronic equipment
controlling
electronic device
control
execute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110089638.7A
Other languages
Chinese (zh)
Inventor
李磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110089638.7A priority Critical patent/CN112764561A/en
Publication of CN112764561A publication Critical patent/CN112764561A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

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 application discloses a control method and device of electronic equipment and the electronic equipment, and belongs to the technical field of electronic equipment. The control method of the electronic equipment comprises the following steps: acquiring the position of a touch pen in the electronic equipment; controlling the electronic equipment to execute the operation associated with the position according to the position; wherein, the operation executed is different corresponding to the different positions. According to the scheme, the electronic equipment is controlled to execute the operation associated with the position based on the position of the touch pen in the electronic equipment, the control process of a user on the electronic equipment can be simplified, and the problems that operation steps are complicated and time consuming is long are solved.

Description

Electronic equipment control method and device and electronic equipment
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a control method and device of electronic equipment and the electronic equipment.
Background
Currently, mobile terminals have become devices that most people carry with them, and an alternative way to operate mobile terminals is to use a stylus to complete the operation. At present, a part of mobile terminals select slots on a machine body, a touch pen is contained in the slots, and when a user needs to input through the touch pen, the user can take out the touch pen in the electronic equipment to perform input control on the electronic equipment.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art:
when a user needs to use a stylus to perform input control on electronic equipment, the user needs to complete multi-step operations to control the electronic equipment, and if a target application program needs to be found in the process of controlling the application program in the electronic equipment, input can be performed, so that the problems that the operation steps are complex and the time consumption is long exist.
Disclosure of Invention
An object of an embodiment of the present application is to provide a method and an apparatus for controlling an electronic device, and an electronic device, which can solve the problems that in the prior art, an operation step is complicated and time consumption is long in a process of controlling the electronic device by using a stylus.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for controlling an electronic device, including:
acquiring the position of a touch pen in the electronic equipment;
controlling the electronic equipment to execute the operation associated with the position according to the position; wherein, the operation executed is different corresponding to the different positions.
In a second aspect, an embodiment of the present application provides a control apparatus for an electronic device, including:
the first acquisition module is used for acquiring the position of a touch pen in the electronic equipment;
the control module is used for controlling the electronic equipment to execute the operation associated with the position according to the position; wherein, the operation executed is different corresponding to the different positions.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the position of a stylus in the electronic equipment is obtained; controlling the electronic equipment to execute the operation associated with the position according to the position; the electronic equipment is controlled to execute the associated operation based on the position of the touch pen, so that the control process of the user on the electronic equipment can be simplified, and the problems of complicated operation steps and long consumed time are avoided.
Drawings
Fig. 1 is a schematic flowchart of a control method of an electronic device according to an embodiment of the present application;
FIG. 2 is a schematic view of a control interface of an electronic device according to an embodiment of the present application;
fig. 3 is a second schematic diagram of a control interface of the electronic device according to the embodiment of the present application;
FIG. 4 is a third schematic view of a control interface of an electronic device according to an embodiment of the present application;
FIG. 5 is a fourth schematic diagram of a control interface of an electronic device according to an embodiment of the present application;
FIG. 6 is a fifth schematic view of a control interface of an electronic device according to an embodiment of the present application;
FIG. 7 is a sixth schematic view of a control interface of an electronic device according to an embodiment of the present application;
FIG. 8 is a seventh schematic control interface diagram of an electronic device according to an embodiment of the present application;
fig. 9 is a block diagram of a control apparatus of an electronic device of an embodiment of the present application;
fig. 10 is a hardware configuration diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes the control method provided by the embodiments of the present application in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present application provides a method for controlling an electronic device, including the following steps:
step 11: acquiring the position of a touch pen in the electronic equipment;
in this step, as an exemplary implementation manner, a magnetic structure is disposed in a pen body of the stylus, for example, a magnetic ring is disposed at a pen point of the stylus, a hall detection chip is disposed inside the electronic device, and when the stylus moves in the electronic device, a magnetic field change of the stylus is detected by the hall detection chip, so as to determine a position of the stylus in the electronic device.
Step 12: controlling the electronic equipment to execute the operation associated with the position according to the position; wherein, the operation executed is different corresponding to the different positions.
In the above embodiment, the position of the stylus in the electronic device is obtained; controlling the electronic equipment to execute the operation associated with the position according to the position; the electronic equipment is controlled to execute the associated operation based on the position of the touch pen, so that the control process of the user on the electronic equipment can be simplified, and the problems of complicated operation steps and long consumed time are avoided.
Specifically, the electronic device is controlled to perform an operation associated with the location, including at least one of the following operations:
operation 1: controlling the electronic device to display an application icon associated with the location;
for example, referring to fig. 2 to 3, when the tip of the stylus 200 is located as shown in fig. 2, the control electronic device 100 displays icons of application a1, and when the tip of the stylus 200 is located as shown in fig. 3, the control electronic device 100 displays icons of application a2 and application A3; therefore, the user can conveniently find the icon of the related application by controlling the position of the touch pen, and if the touch pen is pulled out, the touch pen can be located at different positions, and the electronic equipment is controlled to display different application icons, so that the application can be quickly found and started, and the operation process of the user is simplified.
Operation 2: controlling the electronic equipment to display a target application icon, wherein the display parameter of the target application icon is matched with the position;
the display parameters of the target application icon include, but are not limited to: display color, display brightness, display definition, display size, display shape, and the like of the icon.
Specifically, in an embodiment, during the process of inserting or pulling out the stylus, the icon of the target application moves and is displayed along with the movement of the position of the stylus, and the display parameters of the icon of the target application are different when the position of the stylus is different.
Illustratively, referring to fig. 4 to 6, taking the display definition as an example, the target application icon is of the first definition when the tip of the stylus 200 is at the position shown in fig. 4, the target application icon is of the second definition when the tip of the stylus 200 is at the position shown in fig. 5, the target application icon is of the third definition when the tip of the stylus 200 is at the position shown in fig. 6, and the first definition to the third definition are gradually increased. Through show the target application icon based on the stylus position, can make the convenient target application of finding of user to further control the target application, and the display parameter through controlling the target application icon changes along with the position difference of stylus, can reach the effect of natural transition, brings good visual buffering for the user, thereby realizes good visual experience.
Operation 3: and controlling the electronic equipment to execute the operation associated with the position on the target application.
Wherein performing the location-associated operation on the target application comprises: opening the target application, closing the target application, saving the modification of the edited content of the target application, and the like.
Illustratively, as shown in fig. 8, during the process of inserting the stylus 200, closing the target application and saving the edited content of the target application are respectively associated with two positions corresponding to the pen tip of the stylus 200, the saved content of the target application is executed at the position of the "save" icon shown in fig. 8, and the closed content of the target application is executed at the position of the "close" icon.
The target application may be an application associated with the stylus and may include an application started by the stylus and an application operated by the stylus. Specifically, the applications may be displayed after being sorted according to the frequency of use of the user or by application classification, for example, icons of several application programs with high frequency of use are preferentially displayed, or icons of applications of a painting class are preferentially displayed.
In the above embodiment, based on the position of the stylus, the electronic device may be controlled to display an application icon associated with the position, or display a target application icon and control a display parameter of the icon based on the position, or perform a related operation on the target application, so that a control process of a user on a related application program in the electronic device may be simplified, and problems of tedious operation steps and long consumed time may be avoided.
In some embodiments, the above method further comprises: acquiring the motion direction of the touch pen relative to the electronic equipment; further, the step 12 includes:
and controlling the electronic equipment to execute the operation associated with the position and the movement direction according to the position and the movement direction.
In this embodiment, the movement direction of the stylus with respect to the electronic device includes: the method comprises the steps of controlling the electronic equipment to execute associated operations based on the moving direction of the stylus and the position of the stylus in the direction of pulling the stylus out of the electronic equipment and the direction of inserting the stylus into the electronic equipment, and realizing different control over the electronic equipment in the process of inserting and pulling the stylus into and out of the electronic equipment.
Specifically, in an embodiment, the controlling the electronic device to execute the operation associated with the position and the moving direction according to the position and the moving direction includes:
under the condition that the position is a first position and the movement direction is a first direction, controlling the electronic equipment to start a first application program;
and controlling the electronic equipment to close the first application program under the condition that the position is a first position and the movement direction is a second direction.
Illustratively, as shown in FIG. 2, when stylus 200 is in the position shown in FIG. 2 and stylus 200 is in the direction of pulling out the electronic device, control starts application A1; as shown in fig. 3, when the stylus 200 is in the position as in fig. 3 and the stylus 200 is in the direction of pulling out the electronic device, the application a2 and the application A3 are controlled to be launched; as shown in FIG. 7, when the stylus 200 is in the position shown in FIG. 7 and the stylus is in the direction of insertion into the electronic device, the closing applications A1, A2, A3, and A4 are controlled.
In an embodiment, the step 12 includes:
and under the condition that the stay time of the stylus at the position is longer than the preset time, controlling the electronic equipment to execute the operation associated with the position according to the position.
For example, as shown in fig. 8, at the position of the "save" icon, if the pen-tip staying time of the stylus is longer than the preset time, the save operation is performed on the edited content of the target application, and at the position of the "close" icon, if the pen-tip staying time of the stylus is longer than the preset time, the close operation is performed on the target application; in this way, the following operations can be performed on the target application: save and close, no save and close, save and not close, and no save and not close. The user can complete the storage and closing control of the target application program in the process of inserting the stylus, batch control of the application programs can be realized when a plurality of target application programs exist, and the operation process of the user is facilitated.
For example, referring to fig. 2, if the pen tip of the stylus 200 stays at the position shown in fig. 2 for a time period longer than a preset time period, the launch application a1 is executed, and if the pen tip of the stylus 200 stays at the position shown in fig. 3 for a time period longer than the preset time period, the launch applications a2 and A3 are executed. Therefore, the user can finish the starting control of the target application program in the process of pulling out the touch pen, and the operation process of the user is convenient.
In an embodiment, for the process of pulling the stylus out of the electronic device, after controlling the electronic device to display the application icon associated with the position, the manner of starting the application program includes the following two ways:
the first method is as follows:
receiving a first input of the application icon by a user; responding to the first input, and starting an application corresponding to the application icon; wherein the first input includes, but is not limited to: a click input, a press input, a touch input, a slide input, or the like by the user.
For example, when a user clicks one or more of the icons of the application program related to the stylus, the application program corresponding to the application icon can be started; when the user clicks on the blank interface, the application icon associated with the current location is no longer displayed.
The second method comprises the following steps:
receiving a first pause operation of the stylus at the position; and responding to the first pause operation, and starting the application corresponding to the application icon.
For example, for the process of pulling the stylus 200 out of the electronic device 100, when the stylus 200 is at the position shown in fig. 2, the electronic device 100 is controlled to display an icon of the application a1, and if the stylus 200 is paused at the position for a preset time, the application a1 is controlled to be started; as shown in fig. 3, when the stylus 200 is at the position shown in fig. 3, the electronic device 100 is controlled to display icons of applications a2 and A3, and if the stylus 200 is paused at the position for a preset time period, the electronic device 100 is controlled to start the applications a2 and A3.
In the above embodiment, in the process of pulling the stylus out of the electronic device, the electronic device is controlled to display the application icon associated with the position, so that the related application icon can be quickly displayed, the application can be quickly started in the process of pulling the stylus out, and the operation process of searching and starting the application by a user is simplified.
In an embodiment, for the process of inserting the stylus into the electronic device, after controlling the electronic device to display the application icon associated with the position, the method further includes:
receiving a second pause operation of the stylus at the location;
and responding to the second pause operation, closing the application corresponding to the application icon and saving the edited content in the application corresponding to the application icon.
Illustratively, as shown in fig. 7, during the process of inserting the stylus 200 into the electronic device 100, the electronic device displays four icons of applications a1, a2, A3 and a4 when the stylus 200 is at the position shown in fig. 7, and if the stylus 200 is paused at the position for a preset time period, the electronic device controls to close the applications a1, a2, A3 and a 4.
In the above embodiment, in the process of inserting the stylus into the electronic device, the electronic device is controlled to display the application icon associated with the position, so that the user can further complete the closing and saving operations on the application program quickly in the process of inserting the stylus, when a plurality of application programs are available, the application programs can be closed and saved in batches, the operation steps of the user are simplified, and the user experience is improved.
In one embodiment, during the process of inserting the stylus into the electronic device, the electronic device is controlled to perform an operation associated with the position according to the position:
when the stylus is at a second position, displaying a first control, wherein the first control is used for receiving input operation for closing a target application;
and when the stylus is at the third position, displaying a second control, wherein the second control is used for receiving an input operation of a user for executing and saving edited content in the target application.
Illustratively, as shown in fig. 8, when the pen tip of the stylus pen is at the corresponding position, a "save" button D2 and a "close" button D1 are respectively displayed, when the pen tip of the stylus pen 200 moves to the corresponding position of the "save" button D2, a "save" button D2 is displayed, and if the user clicks the "save" button D2, the electronic device executes to close the target application; when the pen tip of the stylus pen 200 moves to a position corresponding to the "close" button D1, the "close" button D1 is displayed, and if the user clicks the "close" button D1, the electronic device executes saving of the edited content in the target application.
In the implementation, the user can quickly complete the closing and saving operations of the application programs in the process of inserting the stylus, when a plurality of application programs exist, the application programs can be closed and saved in batches, the operation steps of the user are simplified, and the user experience is improved.
In some embodiments, the above method further comprises:
and in the process of inserting or pulling out the touch control pen, controlling the electronic equipment to display the virtual pen slot frame, and updating the position of the virtual touch control pen according to the position of the touch control pen.
For example, as shown in fig. 2 to 5 and 7 to 8, which all show schematic diagrams showing a virtual pen slot frame B and a virtual stylus C on the electronic device 100, when implemented, the position of the stylus 200 in the pen slot can be determined; and correspondingly updating and displaying the position of the virtual stylus C in the virtual pen slot B according to the position of the stylus 200 in the pen slot.
In this embodiment, the electronic device is controlled to display the virtual pen slot frame, and the position of the virtual stylus in the virtual pen slot is updated and displayed, so that the user can master the insertion and extraction processes of the stylus, the user can clearly master the actual position of the stylus in the pen slot, the user can conveniently control the insertion and extraction processes of the stylus, and the electronic device can be better controlled based on the position of the stylus.
In an embodiment, in order to ensure the security of the electronic device, the step 12 includes:
controlling the electronic equipment to execute the operation associated with the position according to the position when the electronic equipment is in an unlocked state; wherein, the operation executed is different corresponding to the different positions.
According to the scheme, the interaction mode that the user can quickly open the related application when pulling out the stylus and quickly store and close the related application when inserting the stylus can be realized. The interaction mode fully utilizes the action of pulling out/inserting the touch pen by the user, so that the user can open the related application after pulling out the touch pen, and the steps of searching for the application are reduced for the user; after the touch pen is used, the user can perform storage and closing operations in the process of inserting the touch pen, so that the user operation can be simplified.
In the control method of the application program provided in the embodiment of the present application, the execution main body may be a control device of the application program, or a control module in the control device of the application program, for executing the control method of loading the application program. In the embodiment of the present application, a control method for an application program to be loaded by a control device of the application program is taken as an example, and the control method of the application program provided in the embodiment of the present application is described.
As shown in fig. 9, an embodiment of the present invention further provides an apparatus 900 for controlling an application program, including:
a first obtaining module 901, configured to obtain a position of a stylus in the electronic device;
a control module 902, configured to control the electronic device to perform an operation associated with the location according to the location; wherein, the operation executed is different corresponding to the different positions.
Optionally, the control module 902 is configured to at least one of:
controlling the electronic device to display an application icon associated with the location;
controlling the electronic equipment to display a target application icon, wherein the display parameter of the target application icon is matched with the position;
and controlling the electronic equipment to execute the operation associated with the position on the target application.
Optionally, the apparatus 900 further includes:
the second acquisition module is used for acquiring the motion direction of the touch pen relative to the electronic equipment;
the control module includes:
and the first control sub-module is used for controlling the electronic equipment to execute the operation related to the position and the movement direction according to the position and the movement direction.
Optionally, the first control sub-module includes:
the first control unit is used for controlling the electronic equipment to start a first application program under the condition that the position is a first position and the movement direction is a first direction;
and the second control unit is used for controlling the electronic equipment to close the first application program under the condition that the position is a first position and the movement direction is a second direction.
Optionally, the control module 902 includes:
and the second control submodule is used for controlling the electronic equipment to execute the operation associated with the position according to the position under the condition that the stay time of the touch pen in the position is longer than the preset time.
The control device of the application program in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in the terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The control device of the application program in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The control device of the application program provided in the embodiment of the present application can implement each process implemented by the control device of the application program in the method embodiments of fig. 1 to 8, and is not described here again to avoid repetition.
The control device 900 of the application program in the embodiment of the present application obtains the position of the stylus in the electronic device; controlling the electronic equipment to execute the operation associated with the position according to the position; the electronic equipment is controlled to execute the associated operation based on the position of the touch pen, so that the control process of the user on the electronic equipment can be simplified, and the problems of complicated operation steps and long consumed time are avoided.
Optionally, an electronic device is further provided in this embodiment of the present application, including a processor 1010, a memory 1009, and a program or an instruction stored in the memory 1009 and capable of running on the processor 1010, where the program or the instruction is executed by the processor 1010 to implement each process of the control method embodiment of the electronic device, and the same technical effect can be achieved, and details are not described here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The processor 1010 is configured to obtain a position of a stylus in the electronic device;
controlling the electronic equipment to execute the operation associated with the position according to the position; wherein, the operation executed is different corresponding to the different positions.
Optionally, the processor 1010 is specifically configured to, when controlling the electronic device to execute the operation associated with the location, at least one of:
controlling the electronic device to display an application icon associated with the location;
controlling the electronic equipment to display a target application icon, wherein the display parameter of the target application icon is matched with the position;
and controlling the electronic equipment to execute the operation associated with the position on the target application.
Optionally, the processor 1010 is further configured to: acquiring the motion direction of the touch pen relative to the electronic equipment; when the processor 1010 controls the electronic device to perform the operation associated with the location according to the location, the operation is specifically the same as:
and controlling the electronic equipment to execute the operation associated with the position and the movement direction according to the position and the movement direction.
Optionally, when controlling the electronic device to execute the operation associated with the position and the moving direction according to the position and the moving direction, the processor 1010 is specifically configured to:
under the condition that the position is a first position and the movement direction is a first direction, controlling the electronic equipment to start a first application program;
and controlling the electronic equipment to close the first application program under the condition that the position is a first position and the movement direction is a second direction.
Optionally, when controlling the electronic device to execute the operation associated with the position according to the position, the processor 1010 is specifically configured to:
and under the condition that the stay time of the stylus at the position is longer than the preset time, controlling the electronic equipment to execute the operation associated with the position according to the position.
In the electronic device 1000 in the embodiment of the present application, the position of the stylus in the electronic device is obtained; controlling the electronic equipment to execute the operation associated with the position according to the position; the electronic equipment is controlled to execute the associated operation based on the position of the touch pen, so that the control process of the user on the electronic equipment can be simplified, and the problems of complicated operation steps and long consumed time are avoided.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics processor 8041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the control method embodiment of the application program, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the control method embodiment of the application program, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (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 application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A method of controlling an electronic device, comprising:
acquiring the position of a touch pen in the electronic equipment;
controlling the electronic equipment to execute the operation associated with the position according to the position; wherein, the operation executed is different corresponding to the different positions.
2. The method of claim 1, wherein the controlling the electronic device to perform the operation associated with the location comprises at least one of:
controlling the electronic device to display an application icon associated with the location;
controlling the electronic equipment to display a target application icon, wherein the display parameter of the target application icon is matched with the position;
and controlling the electronic equipment to execute the operation associated with the position on the target application.
3. The method of controlling an electronic device according to claim 1, the method further comprising:
acquiring the motion direction of the touch pen relative to the electronic equipment;
the controlling the electronic equipment to execute the operation associated with the position according to the position comprises the following steps:
and controlling the electronic equipment to execute the operation associated with the position and the movement direction according to the position and the movement direction.
4. The method according to claim 3, wherein the controlling the electronic device to perform the operation associated with the position and the moving direction according to the position and the moving direction comprises:
under the condition that the position is a first position and the movement direction is a first direction, controlling the electronic equipment to start a first application program;
and controlling the electronic equipment to close the first application program under the condition that the position is a first position and the movement direction is a second direction.
5. The method according to claim 1, wherein the controlling the electronic device to perform the operation associated with the location according to the location comprises:
and under the condition that the stay time of the stylus at the position is longer than the preset time, controlling the electronic equipment to execute the operation associated with the position according to the position.
6. A control apparatus of an electronic device, comprising:
the first acquisition module is used for acquiring the position of a touch pen in the electronic equipment;
the control module is used for controlling the electronic equipment to execute the operation associated with the position according to the position; wherein, the operation executed is different corresponding to the different positions.
7. The control device of the electronic equipment according to claim 6, wherein the control module is configured to at least one of:
controlling the electronic device to display an application icon associated with the location;
controlling the electronic equipment to display a target application icon, wherein the display parameter of the target application icon is matched with the position;
and controlling the electronic equipment to execute the operation associated with the position on the target application.
8. The control apparatus of an electronic device according to claim 6, characterized in that the apparatus further comprises:
the second acquisition module is used for acquiring the motion direction of the touch pen relative to the electronic equipment;
the control module includes:
and the first control sub-module is used for controlling the electronic equipment to execute the operation related to the position and the movement direction according to the position and the movement direction.
9. The control apparatus of an electronic device according to claim 8, wherein the first control submodule includes:
the first control unit is used for controlling the electronic equipment to start a first application program under the condition that the position is a first position and the movement direction is a first direction;
and the second control unit is used for controlling the electronic equipment to close the first application program under the condition that the position is a first position and the movement direction is a second direction.
10. The control device of the electronic apparatus according to claim 6, wherein the control module comprises:
and the second control submodule is used for controlling the electronic equipment to execute the operation associated with the position according to the position under the condition that the stay time of the touch pen in the position is longer than the preset time.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the control method of the electronic device according to any one of claims 1 to 5.
12. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the control method of an electronic device according to any one of claims 1 to 5.
CN202110089638.7A 2021-01-22 2021-01-22 Electronic equipment control method and device and electronic equipment Pending CN112764561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110089638.7A CN112764561A (en) 2021-01-22 2021-01-22 Electronic equipment control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110089638.7A CN112764561A (en) 2021-01-22 2021-01-22 Electronic equipment control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112764561A true CN112764561A (en) 2021-05-07

Family

ID=75706687

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110089638.7A Pending CN112764561A (en) 2021-01-22 2021-01-22 Electronic equipment control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112764561A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114020164A (en) * 2022-01-05 2022-02-08 北京易真学思教育科技有限公司 Stylus control method and device, electronic equipment and storage medium
WO2022089355A1 (en) * 2020-10-28 2022-05-05 维沃移动通信有限公司 Electronic device control method and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140210744A1 (en) * 2013-01-29 2014-07-31 Yoomee SONG Mobile terminal and controlling method thereof
US20140313171A1 (en) * 2013-04-18 2014-10-23 Samsung Electronics Co., Ltd. Method for controlling function using electronic pen and electronic device thereof
US20160054821A1 (en) * 2014-08-21 2016-02-25 Samsung Electronics Co., Ltd. Electronic device and method for operating electronic device by electronic pen
US20170277413A1 (en) * 2016-03-25 2017-09-28 Samsung Electronics Co., Ltd. Method for outputting screen and electronic device supporting the same
CN107247521A (en) * 2017-06-06 2017-10-13 深圳市泰衡诺科技有限公司 Mobile terminal stylus condition checkout gear, detection method and stylus
CN111324220A (en) * 2020-01-23 2020-06-23 联想(北京)有限公司 Display method, electronic device, and storage medium
CN112162788A (en) * 2020-09-17 2021-01-01 维沃移动通信有限公司 Application starting method and device and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140210744A1 (en) * 2013-01-29 2014-07-31 Yoomee SONG Mobile terminal and controlling method thereof
US20140313171A1 (en) * 2013-04-18 2014-10-23 Samsung Electronics Co., Ltd. Method for controlling function using electronic pen and electronic device thereof
US20160054821A1 (en) * 2014-08-21 2016-02-25 Samsung Electronics Co., Ltd. Electronic device and method for operating electronic device by electronic pen
US20170277413A1 (en) * 2016-03-25 2017-09-28 Samsung Electronics Co., Ltd. Method for outputting screen and electronic device supporting the same
CN107247521A (en) * 2017-06-06 2017-10-13 深圳市泰衡诺科技有限公司 Mobile terminal stylus condition checkout gear, detection method and stylus
CN111324220A (en) * 2020-01-23 2020-06-23 联想(北京)有限公司 Display method, electronic device, and storage medium
CN112162788A (en) * 2020-09-17 2021-01-01 维沃移动通信有限公司 Application starting method and device and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022089355A1 (en) * 2020-10-28 2022-05-05 维沃移动通信有限公司 Electronic device control method and electronic device
CN114020164A (en) * 2022-01-05 2022-02-08 北京易真学思教育科技有限公司 Stylus control method and device, electronic equipment and storage medium
CN114020164B (en) * 2022-01-05 2022-04-15 北京易真学思教育科技有限公司 Stylus control method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
WO2023005920A1 (en) Screen splitting method and apparatus, and electronic device
CN112083854A (en) Application program running method and device
CN112148181A (en) Menu display method and device, electronic equipment and storage medium
CN112148178A (en) Application switching method and device, electronic equipment and readable storage medium
CN112764561A (en) Electronic equipment control method and device and electronic equipment
CN112162788A (en) Application starting method and device and electronic equipment
WO2023083089A1 (en) Photographing control display method and apparatus, and electronic device and medium
CN112433693A (en) Split screen display method and device and electronic equipment
CN112162808A (en) Interface display method and device and electronic equipment
CN112698762B (en) Icon display method and device and electronic equipment
CN114237801A (en) Desktop display method and device, electronic equipment and medium
CN114090110A (en) Application program starting method and device and electronic equipment
CN111831177B (en) Application icon display method and device and electronic equipment
CN113703634A (en) Interface display method and device
CN113253883A (en) Application interface display method and device and electronic equipment
CN113311973A (en) Recommendation method and device
CN112558851A (en) Object processing method, device, equipment and readable storage medium
CN112099693A (en) Task display method and device and electronic equipment
CN111857507A (en) Desktop image processing method and device and electronic equipment
WO2023093590A1 (en) Display control method and apparatus, and electronic device and medium
CN111638828A (en) Interface display method and device
CN112399010B (en) Page display method and device and electronic equipment
CN112099682B (en) Icon display method and device and electronic equipment
CN114995713A (en) Display control method and device, electronic equipment and readable storage medium
CN113485625A (en) Electronic equipment response method and device and electronic equipment

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: 20210507

RJ01 Rejection of invention patent application after publication