CN110647276B - Control method and terminal equipment - Google Patents

Control method and terminal equipment Download PDF

Info

Publication number
CN110647276B
CN110647276B CN201910803582.XA CN201910803582A CN110647276B CN 110647276 B CN110647276 B CN 110647276B CN 201910803582 A CN201910803582 A CN 201910803582A CN 110647276 B CN110647276 B CN 110647276B
Authority
CN
China
Prior art keywords
input
user
target
control
terminal device
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.)
Active
Application number
CN201910803582.XA
Other languages
Chinese (zh)
Other versions
CN110647276A (en
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 CN201910803582.XA priority Critical patent/CN110647276B/en
Publication of CN110647276A publication Critical patent/CN110647276A/en
Priority to PCT/CN2020/100917 priority patent/WO2021036529A1/en
Application granted granted Critical
Publication of CN110647276B publication Critical patent/CN110647276B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

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)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a control method and terminal equipment, relates to the technical field of communication, and solves the problem that a user can control the terminal equipment through earphone equipment, and is poor in convenience. The method comprises the following steps: receiving first input of a user under the condition that a first interface is displayed, wherein the first interface comprises at least one first mark, each first mark is a mark corresponding to one physical key of the earphone device, and the first input is input of the user on the at least one first mark; responding to the first input, and respectively associating at least one physical key of the earphone device with at least one function control of the terminal device, wherein the at least one physical key is a physical key corresponding to at least one first mark. The embodiment of the invention is applied to the process that the terminal equipment associates the physical keys of the earphone equipment.

Description

Control method and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a control method and terminal equipment.
Background
Generally, when a user uses a terminal device, the user may perform a default action (e.g., adjust the volume of the terminal device, play music, or pause playing music, etc.) corresponding to a physical key of an earphone device connected to the terminal device by pressing the physical key.
However, after the user presses and inputs the physical keys of the earphone device, the default action performed by the terminal device may not meet the user's requirement, and therefore, the convenience of the user in controlling the terminal device through the earphone device is poor.
Disclosure of Invention
The embodiment of the invention provides a control method and terminal equipment, which can solve the problem of poor convenience of a user for controlling the terminal equipment through earphone equipment.
In order to solve the technical problem, the embodiment of the invention adopts the following technical scheme:
in a first aspect of the embodiments of the present invention, a control method is provided, where the control method is applied to a terminal device, and the terminal device is connected to an earphone device, and the control method includes: receiving first input of a user under the condition that a first interface is displayed, wherein the first interface comprises at least one first mark, each first mark is a mark corresponding to one physical key of the earphone device, and the first input is input of the user on the at least one first mark; responding to the first input, and respectively associating at least one physical key of the earphone device with at least one function control of the terminal device, wherein the at least one physical key is a physical key corresponding to at least one first mark.
In a second aspect of the embodiments of the present invention, a control method is provided, where the control method is applied to a terminal device, and the terminal device is connected to an earphone device, and the control method includes: receiving a first target input of a user under the condition that a first target interface is displayed, wherein the first target interface comprises at least one target mark, each target mark is a mark corresponding to one physical key of the earphone device, and the first target input is input of the user to the at least one target mark; responding to the first target input, and respectively associating at least one physical key of the earphone device with at least one function of the terminal device; wherein the at least one function comprises at least one of: the system comprises a screen capture function, a message viewing function, a message deleting function, a preset application program starting function and a screen brightness adjusting function.
In a third aspect of the embodiments of the present invention, there is provided a terminal device, where the terminal device is connected to an earphone device, and the terminal device includes: a receiving module and an association module. The receiving module is used for receiving first input of a user under the condition that a first interface is displayed, the first interface comprises at least one first mark, each first mark is a mark corresponding to one physical key of the earphone device, and the first input is input of the at least one first mark by the user. And the association module is used for responding to the first input received by the receiving module and associating at least one physical key of the earphone device with at least one function control of the terminal device, wherein the at least one physical key is a physical key corresponding to at least one first mark.
In a fourth aspect of the embodiments of the present invention, there is provided a terminal device, where the terminal device is connected to an earphone device, and the terminal device includes: a receiving module and an association module. The receiving module is used for receiving a first target input of a user under the condition that a first target interface is displayed, the first target interface comprises at least one target mark, each target mark is a mark corresponding to one physical key of the earphone device, and the first target input is the input of the user to the at least one target mark. And the association module is used for responding to the first target input received by the receiving module and associating at least one physical key of the earphone device with at least one function of the terminal device respectively. Wherein the at least one function comprises at least one of: the system comprises a screen capture function, a message viewing function, a message deleting function, a preset application program starting function and a screen brightness adjusting function.
In a fifth aspect of the embodiments of the present invention, a terminal device is provided, where the terminal device includes a processor, a memory, and a computer program stored in the memory and being executable on the processor, and the computer program implements the steps of the control method according to the first aspect when executed by the processor.
A sixth aspect of embodiments of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the control method according to the first aspect.
In the embodiment of the present invention, the terminal device may respectively associate at least one physical key of the headset device with at least one function control of the terminal device according to a first input of the user (i.e., an input of the user to at least one first mark in the first interface). Because the terminal equipment can associate at least one physical key of the earphone equipment with at least one function control according to the first input of the user, the user can directly control at least one function control of the terminal equipment through the physical key of the earphone equipment, and therefore the convenience of controlling the terminal equipment through the earphone equipment by the user can be improved.
Drawings
Fig. 1 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a control method according to an embodiment of the present invention;
fig. 3 is a second schematic diagram of a control method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 5 is a third schematic diagram of a control method according to an embodiment of the present invention;
fig. 6 is a second schematic diagram of an example of an interface of a mobile phone according to the embodiment of the present invention;
FIG. 7 is a fourth schematic diagram illustrating a control method according to an embodiment of the present invention;
fig. 8 is a third schematic diagram of an example of an interface of a mobile phone according to the embodiment of the present invention;
FIG. 9 is a fifth schematic diagram illustrating a control method according to an embodiment of the present invention;
fig. 10 is a fourth schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 12 is a second schematic structural diagram of a terminal device according to a second embodiment of the present invention;
fig. 13 is a third schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 14 is a fourth schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 15 is a fifth schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 16 is a sixth schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 17 is a seventh schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 18 is a hardware schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 terms "first" and "second," and the like, in the description and in the claims of embodiments of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input and the second input, etc. are for distinguishing different user inputs, rather than for describing a particular order of user inputs.
In the description of the embodiments of the present invention, the meaning of "a plurality" means two or more unless otherwise specified. For example, a plurality of elements refers to two elements or more.
The term "and/or" herein is an association relationship describing an associated object, and means that there may be three relationships, for example, a display panel and/or a backlight, which may mean: there are three cases of a display panel alone, a display panel and a backlight at the same time, and a backlight alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, input/output denotes input or output.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The embodiment of the invention provides a control method and terminal equipment, wherein the terminal equipment can respectively associate at least one physical key of earphone equipment with at least one function control of the terminal equipment according to first input of a user (namely input of the user to at least one first mark in a first interface). Because the terminal equipment can associate at least one physical key of the earphone equipment with at least one function control according to the first input of the user, the user can directly control at least one function control of the terminal equipment through the physical key of the earphone equipment, and therefore the convenience of controlling the terminal equipment through the earphone equipment by the user can be improved.
The control method and the terminal device provided by the embodiment of the invention can be applied to the process of associating the physical keys of the earphone device by the terminal device.
The terminal device in the embodiment of the present invention may be a terminal device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment to which the control method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the control method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the control method may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can implement the control method provided by the embodiment of the invention by running the software program in the android operating system.
The terminal device in the embodiment of the invention can be a mobile terminal device and can also be a non-mobile terminal device. For example, the mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal 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 terminal device may be a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
A control method and a terminal device provided in an embodiment of the present invention are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 2 shows a flowchart of a control method provided in an embodiment of the present invention, and the method can be applied to a terminal device having an android operating system shown in fig. 1. As shown in fig. 2, the control method provided by the embodiment of the present invention may include steps 201 and 202 described below.
Step 201, under the condition that the first interface is displayed, the terminal equipment receives a first input of a user.
In an embodiment of the present invention, the first interface includes at least one first mark, each first mark is a mark corresponding to one physical key of the earphone device, and the first input is an input of the at least one first mark by a user.
In an embodiment of the present invention, the first input is used to trigger the terminal device to associate at least one function control with each physical key of the headset device.
Optionally, in this embodiment of the present invention, the first input may be a selection input of a user to a mark of the at least one first mark in setting an application program.
Step 202, the terminal device responds to the first input, and associates at least one physical key of the earphone device with at least one function control of the terminal device respectively.
In an embodiment of the present invention, the at least one physical key is a physical key corresponding to the at least one first mark.
Optionally, in this embodiment of the present invention, for each physical key of the headset device, the terminal device may associate one physical key with at least one function control.
It is to be understood that associating at least one physical button with at least one functionality control may be understood as: and establishing an association relationship (namely a corresponding relationship) between each physical key in the at least one physical key and the at least one function control.
It should be noted that specific descriptions of the at least one physical button and the at least one function control will be set forth in the following embodiments, and are not repeated herein.
The embodiment of the invention provides a control method, and a terminal device can respectively associate at least one physical key of an earphone device with at least one function control of the terminal device according to a first input of a user (namely, an input of the user to at least one first mark in a first interface). Because the terminal equipment can associate at least one physical key of the earphone equipment with at least one function control according to the first input of the user, the user can directly control at least one function control of the terminal equipment through the physical key of the earphone equipment, and therefore the convenience of controlling the terminal equipment through the earphone equipment by the user can be improved.
Optionally, in the embodiment of the present invention, as shown in fig. 3 in combination with fig. 2, after the step 202, the control method provided in the embodiment of the present invention may further include the following step 301 and step 302.
Step 301, under the condition that the function control associated with the at least one physical key is displayed on the second interface, the terminal device obtains a second input of the user.
In an embodiment of the present invention, the second input is an input of a target physical key of the at least one physical key by a user, and the second interface is an operation interface of a target application program.
Optionally, in this embodiment of the present invention, the second interface may be an interface of an application program of the terminal device, or a desktop of the terminal device.
Optionally, in this embodiment of the present invention, the application program may be a game application program or a video application program.
Optionally, in this embodiment of the present invention, when the terminal device is connected to the earphone device, after the user performs the second input on one physical key (for example, a target physical key) of the earphone device, the earphone device may send first data to the terminal device, where the first data is used to indicate the second input, so that the terminal device may obtain the second input of the user according to the first data.
Optionally, in the embodiment of the present invention, the second input may specifically be a pressing input or a clicking input (for example, a single-click input, a double-click input, or a preset number of times of inputs) of the target physical key by the user, and the like, and the embodiment of the present invention is not limited herein.
Optionally, in this embodiment of the present invention, if the function control associated with the at least one physical key is one function control, the one function control corresponds to the at least one physical key of the headset device. The user can input any physical key of the at least one physical key of the earphone device to trigger the terminal device to execute a corresponding action. The target physical key is any physical key in at least one physical key.
For example, assuming that the function control associated with at least one physical key is a control "+", the control "+" corresponds to the physical key "+" of the headset device, or the control "+" corresponds to the physical key "+" and the physical key "-" of the headset device.
Optionally, in this embodiment of the present invention, if the function control associated with the at least one physical key is a plurality of function controls, the plurality of function controls correspond to the at least one physical key of the headset device. Specifically, in a case where the plurality of function controls correspond to one physical key of the headset device, the user may perform different types of input (for example, long-press input or short-press input, etc.) on the one physical key, so that the terminal device may perform different actions through different function controls according to the different types of input of the user. Or, in a case where the plurality of function controls correspond to a plurality of physical buttons of the headset device (that is, each function control of the plurality of function controls corresponds to one physical button of the headset device, and the physical buttons corresponding to each function control are different), for any physical button of the plurality of physical buttons of the headset device, the user may input the any physical button, so that the terminal device may execute an action corresponding to one function control (the function control is the function control corresponding to the any physical button).
For example, assuming that a plurality of function controls in the function controls associated with at least one physical key are a control "+" and a control "-", the control "+" corresponds to the physical key "+" of the headset device, and the control "-" corresponds to the physical key "+" of the headset device, if the user performs a long-press input on the physical key "+" then the terminal device may perform an action 1 through the control "+" and if the user performs a short-press input on the physical key "+" then the terminal device may perform an action 2 through the control "-".
Optionally, in the embodiment of the present invention, before the step 301, the control method provided in the embodiment of the present invention may further include the following step 401 and step 402.
Step 401, the terminal device receives a third input from the user.
In an embodiment of the present invention, the third input is an input of a user on the second interface.
It is understood that in the case that the user triggers the terminal device to display the second interface, the user may make a third input on the second interface to trigger the terminal device to display the function control associated with the at least one physical key.
Optionally, in this embodiment of the present invention, the third input may specifically be a selection input of a certain option (for example, an earphone device function opening option) on the second interface by the user.
Optionally, in this embodiment of the present invention, the third input may also be an input of a pressing operation of a physical key (for example, a volume key) or a combination of physical keys of the earphone device by a user. The specific method can be determined according to actual use requirements, and the embodiment of the invention is not limited herein.
And 402, responding to the third input by the terminal equipment, and displaying a function control associated with at least one physical key on the second interface.
Optionally, in the embodiment of the present invention, after the terminal device receives the third input from the user, a function control may be respectively displayed in each default region on the second interface of the terminal device, that is, one function control corresponds to one default region on the second interface.
Optionally, in the embodiment of the present invention, the user may set a default area for each function control in the terminal device in advance.
For example, a terminal device is taken as a mobile phone for explanation. As shown in fig. 4, the mobile phone displays a second interface (e.g., the interface 10 of the game application), and after the user makes a third input on the interface 10, the mobile phone may display a function control in each default region on the interface 10 (e.g., display a control "+" in the region 11, display a control "-" in the region 12, and display a control "play/pause" in the region 13), where each function control corresponds to one physical button of the headset device (e.g., the control "+" corresponds to the physical button "+" of the headset device, the control "-" corresponds to the physical button "-" of the headset device, and the control "play/pause" corresponds to the physical button "play/pause" of the headset device).
And step 302, the terminal equipment executes a first action according to the second input.
In the embodiment of the present invention, the first action is an action corresponding to a target function control, and the target function control is a function control associated with a target physical button in function controls displayed on the second interface.
It will be appreciated that the user may make a second input to the headset device to cause the terminal device to perform the first action via the target functionality control.
Optionally, in this embodiment of the present invention, the step 302 may be specifically implemented by the following step 302 a.
Step 302a, the terminal device triggers the first mapping area through the target function control according to the second input so as to execute the first action.
In an embodiment of the present invention, the first mapping area is a control area in which the target function control is mapped in the second interface.
Optionally, in this embodiment of the present invention, each of the function controls associated with at least one physical key corresponds to a mapping region (that is, a control region in which a function control is mapped in the second interface), and a virtual function button is displayed in each mapping region; the user may input one physical key (e.g., a target physical key) of the headset device to trigger the terminal device to perform a start action on a virtual function button corresponding to one function control (e.g., a target function control) through the function control corresponding to the one physical key, so as to execute the first action.
Optionally, in this embodiment of the present invention, the terminal device may determine, according to the second input, the target function control and the first mapping area through the mapping software, and execute the first action.
Optionally, in an embodiment of the present invention, the first mapping area may be a default area on the second interface.
Optionally, in this embodiment of the present invention, the first mapping area may be an area where the user triggers the target function control to move from a default area on the second interface.
Optionally, in the embodiment of the present invention, as shown in fig. 5 in combination with fig. 3, before step 301, the control method provided in the embodiment of the present invention may further include step 501 and step 502 described below.
Step 501, the terminal device receives a sixth input from the user.
In an embodiment of the present invention, the sixth input is an input of the target function control on the second interface by the user.
In the embodiment of the present invention, the sixth input is used to trigger a mobile target function control of the terminal device.
Optionally, in this embodiment of the present invention, the sixth input may specifically be a drag input of the target function control on the second interface by the user.
And 502, the terminal device responds to the sixth input and moves the target function control to the first mapping area.
Optionally, in this embodiment of the present invention, a virtual function button is displayed in the first mapping area, and the user may perform a sixth input on the target function control to trigger the target function control to move from the default area to an area corresponding to the virtual function button, that is, the first mapping area is an area corresponding to the virtual function button.
Illustratively, in conjunction with fig. 4, as shown in fig. 6, the user may make a sixth input into a target functionality control (e.g., control "+") on the interface 10 of the handset, so as to cause the handset to move the target functionality control from the area 11 to the area 14, the area 14 displaying a virtual functionality button (e.g., "attack" functionality button); the user may then make a second input to one of the physical buttons of the headset device (e.g., the physical button "+") to trigger the handset to perform a launch action on the "attack" function button via the target function control to perform the first action (i.e., the attack action).
In the embodiment of the invention, the user can perform the sixth input on the target function control according to the actual use requirement, so that the terminal device moves the target function control to the first mapping area to execute the first action, and the use experience of the user can be improved.
Optionally, in the embodiment of the present invention, before the "performing the first action" in the step 302, the control method provided in the embodiment of the present invention may further include the following step 601, and the step 302 may be specifically realized by the following step 302b and step 302 c.
And 601, the terminal equipment acquires target position information according to the second input.
In the embodiment of the present invention, the target position information is used to indicate a position of the target function control on the second interface.
It can be understood that after the terminal device obtains that the second input is the input of the target physical key by the user, the terminal device may obtain the position information of the target function control corresponding to the target physical key on the second interface.
Optionally, in this embodiment of the present invention, after acquiring the second input, the terminal device may determine whether to intercept an initial event of the headset device corresponding to the second input (for example, an event such as adjusting a volume of the terminal device, playing, or pausing playing), and acquire the target position information when determining to intercept the initial event of the headset device corresponding to the second input.
Optionally, in this embodiment of the present invention, the target position information may be coordinate information of the target function control on the second interface, and the coordinate information may be a coordinate value of the target function control in a default coordinate system on the display screen.
Step 302b, the terminal device determines a first mapping area according to the target position information.
In the embodiment of the present invention, the terminal device may determine the area indicated by the target location information as the first mapping area.
Step 302c, the terminal device executes a first action according to the first mapping area.
It should be noted that, for a specific description that the terminal device executes the first action according to the first mapping region in step 302c, reference may be made to the description in the foregoing embodiment, and details are not described here again.
In the embodiment of the present invention, the terminal device may execute a first action according to a second input of the user to the target physical key of the earphone device, where the first action is an action corresponding to the target function control, and the target function control is a function control corresponding to the target physical key in the function controls associated with the at least one physical key. Because the user can directly input the target physical key of the earphone device, the terminal device can quickly execute the first action corresponding to the target physical key without inputting on the second interface of the terminal device all the time, and the convenience of controlling the terminal device by the user through the earphone device can be improved.
Optionally, in the embodiment of the present invention, as shown in fig. 7 in combination with fig. 3, before step 301, the control method provided in the embodiment of the present invention may further include steps 701 to 704 described below.
And step 701, the terminal equipment receives a fourth input of the user.
In an embodiment of the present invention, the fourth input is used to trigger the terminal device to display at least one first control.
Optionally, in this embodiment of the present invention, the fourth input may be a selection input of a certain option (for example, a function control starting option) on the second interface by the user.
Optionally, in this embodiment of the present invention, the fourth input may also be an input of a pressing operation of a physical key (for example, a volume key) or a combination of physical keys of the earphone device by a user. The specific method can be determined according to actual use requirements, and the embodiment of the invention is not limited herein.
Step 702, the terminal device responds to the fourth input and displays at least one first control on the second interface.
In an embodiment of the present invention, each of the at least one first control is configured to respectively activate a function control.
It can be understood that each of the at least one first control corresponds to a function control, and one first control is used for activating the function control corresponding to the one first control.
It is to be understood that, in a case that the function control associated with the at least one physical key displayed on the second interface is in the locked state, the user may make a fourth input to cause the terminal device to display the at least one first control, so that the user may make an input to the at least one first control to cause the function control associated with the at least one physical key to be in the unlocked state (that is, the user may make an input to the physical key of the headset device to cause the terminal device to perform a corresponding action).
And step 703, the terminal device receives a fifth input of the user.
In an embodiment of the present invention, the fifth input is an input of a target control in the at least one first control by a user, where the target control is used to start a target function control.
Optionally, in this embodiment of the present invention, the fifth input may specifically be a selection input of a target control in the first control by a user on the second interface.
It is to be understood that the target control is a first control corresponding to the target function control in the at least one first control.
And 704, the terminal equipment responds to the fifth input and starts the target function control.
It should be noted that the above "start target function control" may be understood as: and enabling the target function control to be in an unlocked state, namely after the user performs second input on the target physical key of the earphone device, the terminal device can execute a first action.
It can be understood that, if the target function control is not started, the terminal device does not execute the first action after the user makes the second input to the target physical key of the earphone device.
Illustratively, in conjunction with fig. 6, as shown in fig. 8, after the user makes a fourth input on the interface 10 of the mobile phone, the mobile phone may display at least one first control (e.g., control 15, control 16, and control 17) on the interface 10, where each first control is used to activate one function control (e.g., control 15 is used to activate control "+", control 16 is used to activate control "-", and control 17 is used to activate control "play/pause"); the user may make a fifth input to a target control (e.g., control 15) of the at least one first control to cause the handset to launch a target function control (e.g., control "+"), so that after the user makes a second input to a target physical key (e.g., physical key "+") of the headset device, the handset may perform a launch action on the "attack" function button through the target function control to perform the first action (i.e., the attack action).
In the embodiment of the invention, the user can enable the terminal device to display the at least one first control through the fourth input, so that the user can select to open the target function control through the target control in the at least one first control according to the use requirement of the user, the flexibility of opening the function control can be improved, and the use experience of the user can be improved.
Optionally, in the embodiment of the present invention, the user may attach the physical key of the earphone device to the back of the terminal device in an attachment manner, so that the user can operate the physical key of the earphone device conveniently.
Optionally, in the embodiment of the present invention, a connection manner between the terminal device and the earphone device may be a wired connection or a wireless connection, which is not limited herein.
Fig. 9 is a flowchart illustrating another control method provided in an embodiment of the present invention, where the method may be applied to a terminal device having the android operating system shown in fig. 1. As shown in fig. 9, the control method provided by the embodiment of the present invention may include steps 801 and 802 described below.
Step 801, under the condition that a first target interface is displayed, the terminal equipment receives a first target input of a user.
In an embodiment of the present invention, the first target interface includes at least one target mark, each target mark is a mark corresponding to one physical button of the headset apparatus, and the first target input is an input of the user to the at least one target mark.
In this embodiment of the present invention, the first target input is used to trigger the terminal device to associate at least one function for each physical key of the headset device.
Optionally, in this embodiment of the present invention, the first target input may be input to at least one target mark by a user in setting an application program.
Step 802, the terminal device responds to the first target input, and associates at least one physical key of the earphone device with at least one function of the terminal device respectively.
It is to be understood that, after associating each physical key of the earphone device with at least one function of the terminal device, respectively, if it is detected that a user performs a first target input on a physical key of the earphone device (for example, a first physical key in the following embodiments), the terminal device may perform a target action according to the target function corresponding to the first physical key, instead of performing a default action of the first physical key (for example, adjusting the volume of the terminal device).
For example, as shown in fig. 10, at least one target identifier (for example, a target identifier of "whether to turn on a physical key screenshot shortcut function of the headset device" and a target identifier of "whether to turn on a physical key view message shortcut function of the headset device") is displayed on the interface 18 of the setup application of the mobile phone, and the user may perform a first target input on one target identifier (for example, an option of "whether to turn on a physical key screenshot shortcut function of the headset device") of the at least one target identifier.
The embodiment of the invention provides a control method, and a terminal device can respectively associate at least one physical key of an earphone device with at least one function of the terminal device according to a first target input of a user (namely, an input of the user to at least one target mark in a first target interface). Because the terminal device can associate at least one physical key of the earphone device with at least one function according to the first target input of the user, the user can directly control the terminal device to execute an action corresponding to the function through the physical key of the earphone device, and therefore the convenience of the user in controlling the terminal device through the earphone device can be improved.
Optionally, in the embodiment of the present invention, after the step 802, the control method provided in the embodiment of the present invention may further include the following step 901 and step 902.
And step 901, the terminal equipment receives a second target input of the user.
In an embodiment of the present invention, the second target input is input of a target physical key of the earphone device by a user.
In the embodiment of the present invention, the second target input is used to trigger the terminal device to execute the target action.
Optionally, in the embodiment of the present invention, the terminal device may receive a second target input of the user when the terminal device displays the second target interface.
Optionally, in this embodiment of the present invention, the second target interface may be a desktop of the terminal device or another interface (for example, an interface of an application program in the terminal device).
And step 902, the terminal equipment responds to the second target input and executes the target action.
In the embodiment of the present invention, the target action is an action corresponding to a target function, and the target function is a function corresponding to a target physical key.
In the embodiment of the invention, the terminal equipment can execute the target action under the condition that the terminal equipment starts the target function corresponding to the target physical key.
Optionally, in the embodiment of the present invention, each physical key of the earphone device corresponds to a function, and the functions corresponding to each physical key are different, so that a user can input one physical key of the earphone device, so that the terminal device can execute an action corresponding to one function (the one function is a function corresponding to the physical key input by the user).
For example, assuming that the physical keys of the headset device are a physical key "+", a physical key "-" and a physical key "play/pause", respectively, and at least one of the functions includes a screen capture function, a message viewing function and a message deleting function, the physical key "+" corresponds to the screen capture function, the physical key "-" corresponds to the message viewing function, and the physical key "play/pause" corresponds to the message deleting function.
Optionally, in the embodiment of the present invention, each physical key of the headset device corresponds to a plurality of functions, and for any one physical key of each physical key, the user may perform different forms of input (for example, long-press input or short-press input, etc.) on the any one physical key, so that the terminal device may execute actions corresponding to different functions according to the different forms of input of the user.
For example, assuming that one physical key of the headset device is a physical key "+" and at least one function includes a screen capture function and a message viewing function, the physical key "+" corresponds to the screen capture function and the message viewing function; if the user performs long-press input on the physical key '+', the terminal device may perform a screen capture action corresponding to the screen capture function, and if the user performs short-press input on the physical key '+', the terminal device may perform a message viewing action corresponding to the message viewing function.
Optionally, in the embodiment of the present invention, in a case that at least one target identifier is displayed in an interface for setting an application program, a user may perform selection input on the at least one target identifier in the interface for setting the application program to trigger the terminal device to start the target function.
In the embodiment of the invention, the user can directly input the target physical key of the earphone device, so that the terminal device can quickly execute the target action corresponding to the target physical key without inputting on the second target interface of the terminal device by the user, and the convenience of controlling the terminal device by the earphone device by the user can be improved.
Fig. 11 shows a schematic diagram of a possible structure of a terminal device involved in the embodiment of the present invention. As shown in fig. 11, the terminal device 80 may include: a receiving module 81 and an associating module 82.
The receiving module 81 is configured to receive a first input of a user in a case that a first interface is displayed, where the first interface includes at least one first mark, each first mark is a mark corresponding to one physical key of the earphone device, and the first input is an input of the at least one first mark by the user. An associating module 82, configured to associate, in response to the first input received by the receiving module 81, at least one physical key of the headset device with at least one function control of the terminal device, where the at least one physical key is a physical key corresponding to at least one first mark.
In a possible implementation manner, with reference to fig. 11, as shown in fig. 12, a terminal device 80 provided in the embodiment of the present invention may further include: an acquisition module 83 and an execution module 84. The obtaining module 83 is configured to obtain a second input of the user when the function control associated with the at least one physical key is displayed on a second interface after the associating module 82 associates the at least one physical key of the headset device with the at least one function control of the terminal device, where the second input is an input of a target physical key of the at least one physical key by the user, and the second interface is an operation interface of a target application program. The executing module 84 is configured to execute a first action according to the second input acquired by the acquiring module 83, where the first action is an action corresponding to a target function control, and the target function control is a function control associated with a target physical key in function controls displayed on the second interface.
In a possible implementation manner, the executing module 84 is specifically configured to trigger the first mapping area through the target functionality control to execute the first action, where the first mapping area is a control area mapped by the target functionality control in the second interface.
In a possible implementation manner, with reference to fig. 11, as shown in fig. 13, a terminal device 80 provided in the embodiment of the present invention may further include: a display module 85. The receiving module 81 is further configured to receive a third input of the user before the obtaining module 83 obtains the second input of the user when the function control corresponding to the earphone device and associated with the at least one physical key is displayed on the second interface, where the third input is an input of the user on the second interface. And the display module 85 is configured to display a function control associated with the at least one physical key on the second interface in response to the second input received by the receiving module 81.
In a possible implementation manner, with reference to fig. 11, as shown in fig. 14, a terminal device 80 provided in the embodiment of the present invention may further include: a display module 85 and an activation module 86. The receiving module 81 is further configured to receive a fourth input from the user before the obtaining module 83 obtains the second input from the user. And a display module 85, configured to display at least one first control on the second interface in response to the fourth input received by the receiving module 81, where each first control is used to start a function control. The receiving module 81 is further configured to receive a fifth input of the user, where the fifth input is an input of the user to a target control in the at least one first control, and the target control is used to start the target function control. And an initiating module 86, configured to initiate the target function control in response to the fifth input received by the receiving module 81.
In a possible implementation manner, referring to fig. 11, as shown in fig. 15, a terminal device 80 provided in the embodiment of the present invention further includes: and a moving module 87. The receiving module 81 is further configured to receive a sixth input of the user, where the sixth input is an input of the target function control on the second interface by the user. A moving module 87, configured to move the target function control to the first mapping area in response to the sixth input received by the receiving module 81.
In a possible implementation manner, the obtaining module 83 is further configured to obtain target location information, where the target location information is used to indicate a location of the target function control on the second interface, before the performing module 84 performs the first action. The executing module 84 is specifically configured to determine a first mapping area according to the target location information acquired by the acquiring module 83; and executing a first action according to the first mapping area.
Fig. 16 shows a schematic diagram of a possible structure of a terminal device involved in the embodiment of the present invention. As shown in fig. 16, the terminal device 90 may include: a receiving module 91 and an associating module 92.
The receiving module 91 is configured to receive a first target input of a user in a case that a first target interface is displayed, where the first target interface includes at least one target mark, each target mark is a mark corresponding to one physical key of the headset device, and the first target input is an input of the at least one target mark by the user. An associating module 92, configured to associate at least one physical key of the earphone device with at least one function of the terminal device respectively in response to the first target input received by the receiving module 91. Wherein the at least one function comprises at least one of: the system comprises a screen capture function, a message viewing function, a message deleting function, a preset application program starting function and a screen brightness adjusting function.
In a possible implementation manner, with reference to fig. 16, as shown in fig. 17, a terminal device 90 provided in the embodiment of the present invention may further include: an acquisition module 93 and an execution module 94. The obtaining module 93 is configured to obtain a second target input of the user after the associating module associates at least one physical key of the earphone device with at least one function of the terminal device, where the second target input is an input of a first physical key of the at least one physical key by the user. And an executing module 94, configured to execute a target action according to the second target input acquired by the acquiring module 93, where the target action is an action corresponding to a target function, and the target function is a function associated with the first physical key in the at least one function.
The terminal device provided by the embodiment of the present invention can implement each process implemented by the terminal device in the above method embodiments, and for avoiding repetition, detailed description is not repeated here.
The embodiment of the invention provides a terminal device, which can associate at least one physical key of an earphone device with at least one function control according to a first input of a user, so that the user can directly control at least one function control of the terminal device through the physical key of the earphone device, and the convenience of the user in controlling the terminal device through the earphone device can be improved.
Fig. 18 is a hardware diagram of a terminal device for implementing various embodiments of the present invention. As shown in fig. 18, the terminal device 100 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, interface unit 108, memory 109, processor 110, and power supply 111.
It should be noted that, as those skilled in the art will appreciate, the terminal device structure shown in fig. 18 does not constitute a limitation to the terminal device, and the terminal device may include more or less components than those shown in fig. 18, or may combine some components, or may arrange different components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to receive a first input of a user in a case that a first interface is displayed, where the first interface includes at least one first mark, each first mark is a mark corresponding to one physical key of the headset device, and the first input is an input of the at least one first mark by the user; and responding to the first input, and respectively associating at least one physical key of the earphone device with at least one function control of the terminal device, wherein the at least one physical key is a physical key corresponding to at least one first mark.
Or, the processor 110 receives a first target input of the user in a case that a first target interface is displayed, where the first target interface includes at least one target mark, each target mark is a mark corresponding to one physical key of the headset device, and the first target input is an input of the user to the at least one target mark; and associating at least one physical key of the headset device with at least one function of the terminal device, respectively, in response to the first target input. Wherein the at least one function comprises at least one of: the system comprises a screen capture function, a message viewing function, a message deleting function, a preset application program starting function and a screen brightness adjusting function.
The embodiment of the invention provides a terminal device, which can associate at least one physical key of an earphone device with at least one function control according to a first input of a user, so that the user can directly control at least one function control of the terminal device through the physical key of the earphone device, and the convenience of the user in controlling the terminal device through the earphone device can be improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. 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.
The terminal device provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
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 terminal device 100 (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.
The terminal device 100 also includes at least one sensor 105, such as a light sensor, a 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 terminal device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; 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 terminal device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 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.
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. 18, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal apparatus 100. 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. The 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 the terminal apparatus 100 or may be used to transmit data between the terminal apparatus 100 and the 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.
The processor 110 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal device. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal device 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 100 includes some functional modules that are not shown, and are not described in detail here.
Optionally, an embodiment of the present invention further provides a terminal device, which includes the processor 110 shown in fig. 18, the 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 the processes of the foregoing method embodiment, and can achieve the same technical effect, and details are not described here to avoid repetition.
The 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 a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 device (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 therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. A control method is applied to a terminal device, the terminal device is connected with an earphone device, and the method is characterized by comprising the following steps:
receiving first input of a user under the condition that a first interface is displayed, wherein the first interface comprises at least one first mark, each first mark is a mark corresponding to one physical key of the earphone device, and the first input is input of the at least one first mark by the user;
responding to the first input, and respectively associating at least one physical key of the earphone device with at least one function control of the terminal device, wherein the at least one physical key is a physical key corresponding to the at least one first mark;
acquiring a second input of the user under the condition that a function control associated with the at least one physical key is displayed on a second interface, wherein the second input is input of the user on a target physical key in the at least one physical key;
triggering a first mapping area through a target function control according to the second input so as to execute a first action, wherein the first mapping area is a control area of the target function control mapped in the second interface; the first action is an action corresponding to the target function control, and the target function control is a function control related to the target physical key in the function controls displayed on the second interface;
the method comprises the following steps that one function control is used for triggering one mapping area, and the mapping area is as follows: the function control is mapped to a control area in the second interface; the second interface is: an interface of an application program of the terminal device, or a desktop of the terminal device.
2. The method of claim 1, wherein prior to obtaining the second input from the user while the second interface displays the functionality control associated with the at least one physical key, the method further comprises:
receiving a third input of the user, wherein the third input is input of the user on the second interface;
in response to the third input, displaying a functionality control associated with the at least one physical key on the second interface.
3. The method of claim 1, wherein prior to obtaining the second input from the user, the method further comprises:
receiving a fourth input from the user;
responding to the fourth input, and displaying at least one first control on the second interface, wherein each first control is respectively used for starting a function control;
receiving a fifth input of a user, wherein the fifth input is input of the user to a target control in the at least one first control, and the target control is used for starting the target function control;
in response to the fifth input, launching the target functionality control.
4. The method of claim 1, wherein prior to obtaining the second input from the user, the method further comprises:
receiving a sixth input of the user, wherein the sixth input is an input of the target function control on the second interface by the user;
in response to the sixth input, moving the target functionality control to the first mapping region.
5. The method of claim 1 or 4, wherein prior to the performing the first action, the method further comprises:
acquiring target position information, wherein the target position information is used for indicating the position of the target function control on the second interface;
the performing a first action includes:
determining the first mapping area according to the target position information;
and executing the first action according to the first mapping area.
6. A terminal device, the terminal device being connected to an earphone device, the terminal device comprising: the device comprises a receiving module, a correlation module, an acquisition module and an execution module;
the receiving module is used for receiving first input of a user under the condition that a first interface is displayed, wherein the first interface comprises at least one first mark, each first mark is a mark corresponding to one physical key of the earphone device, and the first input is input of the at least one first mark by the user;
the association module is configured to associate, in response to the first input received by the receiving module, at least one physical key of the headset device with at least one function control of the terminal device, where the at least one physical key is a physical key corresponding to the at least one first mark;
the obtaining module is configured to obtain a second input of the user when the function control associated with the at least one physical key is displayed on a second interface after the associating module associates the at least one physical key of the headset device with the at least one function control of the terminal device, where the second input is an input of a target physical key of the at least one physical key by the user;
the execution module is configured to trigger a first mapping area through a target function control according to the second input acquired by the acquisition module to execute a first action, where the first mapping area is a control area of the target function control mapped in the second interface; the first action is an action corresponding to the target function control, and the target function control is a function control related to the target physical key in the function controls displayed on the second interface;
the method comprises the following steps that one function control is used for triggering one mapping area, and the mapping area is as follows: the function control is mapped to a control area in the second interface; the second interface is: an interface of an application program of the terminal device, or a desktop of the terminal device.
7. The terminal device according to claim 6, wherein the terminal device further comprises: a display module;
the receiving module is further configured to receive a third input of the user before the obtaining module obtains a second input of the user when the obtaining module displays the function control associated with the at least one physical key on the second interface, where the third input is an input of the user on the second interface;
the display module is configured to display a function control associated with the at least one physical key on the second interface in response to the third input received by the receiving module.
8. The terminal device according to claim 6, wherein the terminal device further comprises: the device comprises a display module and a starting module;
the receiving module is further configured to receive a fourth input of the user before the obtaining module obtains the second input of the user;
the display module is configured to display at least one first control on the second interface in response to the fourth input received by the receiving module, where each first control is used to start a function control;
the receiving module is further configured to receive a fifth input of the user, where the fifth input is an input of the user to a target control in the at least one first control, and the target control is used to start the target function control;
the starting module is configured to start the target function control in response to the fifth input received by the receiving module.
9. The terminal device according to claim 6, wherein the terminal device further comprises: a moving module;
the receiving module is further configured to receive a sixth input of the user, where the sixth input is an input of the target function control on the second interface by the user;
the moving module is configured to move the target functionality control to the first mapping region in response to the sixth input received by the receiving module.
10. The terminal device according to claim 6 or 9, wherein the obtaining module is further configured to obtain target location information before the executing module performs the first action, where the target location information is used to indicate a location of the target function control on the second interface;
the execution module is specifically configured to determine the first mapping area according to the target location information acquired by the acquisition module; and executing the first action according to the first mapping area.
11. A terminal device, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the control method according to any one of claims 1 to 5.
CN201910803582.XA 2019-08-28 2019-08-28 Control method and terminal equipment Active CN110647276B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910803582.XA CN110647276B (en) 2019-08-28 2019-08-28 Control method and terminal equipment
PCT/CN2020/100917 WO2021036529A1 (en) 2019-08-28 2020-07-08 Control method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910803582.XA CN110647276B (en) 2019-08-28 2019-08-28 Control method and terminal equipment

Publications (2)

Publication Number Publication Date
CN110647276A CN110647276A (en) 2020-01-03
CN110647276B true CN110647276B (en) 2021-08-31

Family

ID=68991064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910803582.XA Active CN110647276B (en) 2019-08-28 2019-08-28 Control method and terminal equipment

Country Status (2)

Country Link
CN (1) CN110647276B (en)
WO (1) WO2021036529A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647276B (en) * 2019-08-28 2021-08-31 维沃移动通信有限公司 Control method and terminal equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513769A (en) * 2013-09-29 2014-01-15 小米科技有限责任公司 Method, device and mobile terminal for setting key function
CN105573522A (en) * 2015-12-22 2016-05-11 广东欧珀移动通信有限公司 Operation method of mobile terminal and mobile terminal
CN106354419A (en) * 2016-08-29 2017-01-25 珠海市魅族科技有限公司 Screenshot control method and device
CN107562336A (en) * 2017-08-01 2018-01-09 努比亚技术有限公司 A kind of method, equipment and computer-readable recording medium for controlling suspension ball
US9875075B1 (en) * 2016-07-25 2018-01-23 Lenovo (Singapore) Pte. Ltd. Presentation of content on a video display and a headset display

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140026887A (en) * 2012-08-23 2014-03-06 삼성전자주식회사 Apparatus and method for providing application list according to external device connected to mobile device
CN107707755B (en) * 2017-09-28 2020-12-22 努比亚技术有限公司 Key using method, terminal and computer readable storage medium
CN109062473A (en) * 2018-08-10 2018-12-21 奇酷互联网络科技(深圳)有限公司 Application program playback method, system, readable storage medium storing program for executing and intelligent terminal
CN110647276B (en) * 2019-08-28 2021-08-31 维沃移动通信有限公司 Control method and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513769A (en) * 2013-09-29 2014-01-15 小米科技有限责任公司 Method, device and mobile terminal for setting key function
CN105573522A (en) * 2015-12-22 2016-05-11 广东欧珀移动通信有限公司 Operation method of mobile terminal and mobile terminal
US9875075B1 (en) * 2016-07-25 2018-01-23 Lenovo (Singapore) Pte. Ltd. Presentation of content on a video display and a headset display
CN106354419A (en) * 2016-08-29 2017-01-25 珠海市魅族科技有限公司 Screenshot control method and device
CN107562336A (en) * 2017-08-01 2018-01-09 努比亚技术有限公司 A kind of method, equipment and computer-readable recording medium for controlling suspension ball

Also Published As

Publication number Publication date
WO2021036529A1 (en) 2021-03-04
CN110647276A (en) 2020-01-03

Similar Documents

Publication Publication Date Title
CN108255378B (en) Display control method and mobile terminal
CN111142991A (en) Application function page display method and electronic equipment
CN110058836B (en) Audio signal output method and terminal equipment
CN109710349B (en) Screen capturing method and mobile terminal
CN111163260B (en) Camera starting method and electronic equipment
CN110752981B (en) Information control method and electronic equipment
CN109508136B (en) Display method of application program and mobile terminal
CN108958593B (en) Method for determining communication object and mobile terminal
CN111163224B (en) Voice message playing method and electronic equipment
CN109407948B (en) Interface display method and mobile terminal
CN108681427B (en) Access right control method and terminal equipment
CN108804151B (en) Method and terminal for restarting application program
CN110866465A (en) Control method of electronic equipment and electronic equipment
CN111190517B (en) Split screen display method and electronic equipment
CN110908750B (en) Screen capturing method and electronic equipment
CN109933267B (en) Method for controlling terminal equipment and terminal equipment
CN110012151B (en) Information display method and terminal equipment
CN109189514B (en) Terminal device control method and terminal device
CN109358913B (en) Application program starting method and terminal equipment
CN109002245B (en) Application interface operation method and mobile terminal
CN109126127B (en) Game control method, dual-screen mobile terminal and computer-readable storage medium
CN110597437A (en) Screen capturing method and terminal equipment
CN108021315B (en) Control method and mobile terminal
CN111399715B (en) Interface display method and electronic equipment
CN110647506B (en) Picture deleting method and terminal 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
GR01 Patent grant
GR01 Patent grant