CN112882620A - Virtual key configuration method and device, electronic equipment and storage medium - Google Patents

Virtual key configuration method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112882620A
CN112882620A CN202110174506.4A CN202110174506A CN112882620A CN 112882620 A CN112882620 A CN 112882620A CN 202110174506 A CN202110174506 A CN 202110174506A CN 112882620 A CN112882620 A CN 112882620A
Authority
CN
China
Prior art keywords
virtual key
input
mode
trigger
configuration
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.)
Granted
Application number
CN202110174506.4A
Other languages
Chinese (zh)
Other versions
CN112882620B (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 CN202110174506.4A priority Critical patent/CN112882620B/en
Publication of CN112882620A publication Critical patent/CN112882620A/en
Application granted granted Critical
Publication of CN112882620B publication Critical patent/CN112882620B/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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/0485Scrolling or panning
    • 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/0486Drag-and-drop
    • 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

Abstract

The application discloses a configuration method and a configuration device of a virtual key, electronic equipment and a storage medium, wherein the configuration method of the virtual key comprises the following steps: receiving a first input to the first virtual key if the first virtual key is in the configuration mode; and updating the triggering mode of the first virtual key according to the first input characteristic information. According to the embodiment of the application, the user can freely configure the triggering mode of the virtual key, so that the virtual key can accord with the use habit of the user, the triggering mode of the virtual key is prevented from conflicting with the gesture operation of the application program, and the false triggering of the virtual key or the false operation of the application program is avoided.

Description

Virtual key configuration method and device, electronic equipment and storage medium
Technical Field
The application belongs to the field of electronic equipment, and particularly relates to a configuration method and a configuration device for virtual keys, electronic equipment and a storage medium.
Background
In the related art, as the screen occupation ratio of electronic devices such as mobile phones and tablet computers is higher, the electronic devices generally replace physical keys by displaying virtual keys on the screen.
When the electronic device runs the program in the full screen, the triggering mode of the virtual key may conflict with the operation mode of the full screen program, which may cause false triggering of the virtual key or false operation of the full screen program, and affect user experience.
How to avoid the conflict between the virtual key operation and the program operation is an urgent technical problem to be solved.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for configuring a virtual key, an electronic device, and a storage medium, which can flexibly set the virtual key and solve a technical problem of conflict between virtual key operation and program operation.
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 configuring a virtual key, including:
receiving a first input to the first virtual key if the first virtual key is in the configuration mode;
and updating the triggering mode of the first virtual key according to the first input characteristic information.
In a second aspect, an embodiment of the present application provides a device for configuring a virtual key, including:
the receiving module is used for receiving a first input of the first virtual key under the condition that the first virtual key is in the configuration mode;
and the control module is used for updating the triggering mode of the first virtual key according to the first input characteristic information.
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 in the provided memory and executable on the provided processor, where the provided program or instructions, when executed by the provided processor, implement the steps of the configuration method for virtual keys as provided in the first aspect.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, which stores a program or instructions, and the provided program or instructions, when executed by a processor, implement the steps of the configuration method for virtual keys as provided in 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, the provided communication interface is coupled to the provided processor, and the provided processor is configured to execute a program or instructions to implement the steps of the method for configuring a virtual key as provided in the first aspect.
In the embodiment of the application, one or more virtual keys can be displayed on a display interface of the electronic device, wherein the one or more virtual keys include a first virtual key, and the first virtual key has an operating mode and a configuration mode. When the first virtual key is in the working mode, the operation function corresponding to the first virtual key can be triggered through specific touch input, such as backing, returning to a desktop and the like.
Specifically, when the first virtual key is in the configuration mode, the trigger mode of the first virtual key may be updated through the first input. For example, after the first virtual key enters the configuration mode, a first input from a user is received, where the first input may be a touch operation that is easy to understand and implement, such as clicking, dragging, sliding, and the like, and after the first input is received, feature information of the first input, such as the number of clicks, the dragging distance, the sliding direction, and the like, is identified, and a trigger mode of the first virtual key is updated according to the feature information of the first input, that is, the trigger mode of the first virtual key is changed.
For example, the default triggering mode of the first virtual key is "slide up". According to the embodiment of the application, the first virtual key enters the configuration mode and the first input of 'sliding down' is carried out, so that the triggering mode of the first virtual key is updated from 'sliding up' to 'sliding down', and the triggering mode of the first virtual key is changed. According to the embodiment of the application, the user can freely configure the triggering mode of the virtual key, so that the virtual key can accord with the use habit of the user, the triggering mode of the virtual key is prevented from conflicting with the gesture operation of the application program, the false triggering of the virtual key or the false operation of the application program is avoided, and the use experience of the user is improved.
Drawings
FIG. 1 shows one of the flow charts of a method for configuring virtual keys according to an embodiment of the present application;
FIG. 2 shows one of the display interface diagrams of an electronic device according to an embodiment of the application;
FIG. 3 shows a second schematic view of a display interface of an electronic device according to an embodiment of the application;
FIG. 4 is a third schematic diagram of a display interface of an electronic device according to an embodiment of the present application;
FIG. 5 shows a fourth schematic view of a display interface of an electronic device according to an embodiment of the application;
FIG. 6 is a second flowchart of a method for configuring virtual keys according to an embodiment of the present application;
FIG. 7 shows a fifth display interface schematic of an electronic device according to an embodiment of the application;
FIG. 8 shows six schematic display interface diagrams of an electronic device according to an embodiment of the application;
FIG. 9 is a third flowchart of a method for configuring virtual keys according to an embodiment of the present application;
FIG. 10 shows a seventh display interface schematic of an electronic device according to an embodiment of the present application;
fig. 11 is a block diagram illustrating a configuration apparatus of a virtual key according to an embodiment of the present application;
fig. 12 is a schematic hardware structure diagram of an electronic device implementing 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 in detail a configuration method, a control device, an electronic device, and a storage medium of a virtual key according to an embodiment of the present application with reference to the accompanying drawings and a specific embodiment and an application scenario thereof.
In some embodiments of the present application, fig. 1 shows one of flowcharts of a configuration method of a virtual key according to an embodiment of the present application, and specifically, as shown in fig. 1, the configuration method of the virtual key specifically includes the following steps:
102, receiving a first input to a first virtual key under the condition that the first virtual key is in a configuration mode;
and 104, updating the trigger mode of the first virtual key according to the first input characteristic information.
In the embodiment of the application, one or more virtual keys can be displayed on a display interface of the electronic device, wherein the one or more virtual keys include a first virtual key, and the first virtual key includes an operating mode and a configuration mode. In the working mode, through specific touch input, the operation function corresponding to the virtual key can be triggered, such as backing, returning to the desktop and the like.
The first virtual key can be hidden and displayed under a general condition, and the call is called out through specific operation. For example, the first graphic identifier is displayed in a first display area of the electronic device, and specifically, the first display area may be a position close to a side edge of a display screen of the electronic device, such as a bottom edge, a left side edge or a right side edge, and the first graphic identifier is displayed in a "bar" graphic manner.
Specifically, fig. 2 shows one of display interface diagrams of an electronic device according to an embodiment of the present application.
As shown in fig. 2, in the first display area on the display interface, a first graphic identifier 202, such as the bar identifier shown in fig. 2, is displayed. After the user drags the bar mark, a first virtual key 204, such as a circle mark shown in fig. 2, which is the "first virtual key" mentioned above, is displayed at the end position of the dragging operation according to the direction and distance of the user dragging.
And further, receiving touch input of the first graphic identifier, and displaying the first virtual key in the corresponding second display area. In particular, the touch input may be a drag or slide input. For example, the first input is a sliding input with the first graphic identifier as a starting point, and then an end point of the sliding input is set as a second display area, where an area with a radius of, for example, 1cm is used as a radius, and a first virtual key is displayed in the second display area, where the virtual key may be a highlighted geometric figure, such as a blue circular icon, a triangular icon, and the like, and the icon may have an artistic design, such as a shadow, a stroke, a gradient color, and the like, which is not limited in the embodiment of the present application.
Meanwhile, the first virtual key can be switched to the configuration mode through specific touch input, for example, after the first virtual key is pressed for a long time and is double-clicked, the first virtual key enters the configuration mode. In some embodiments, before the first virtual key is switched to the configuration mode, a corresponding dialog box can be popped up for reminding.
When the first virtual key is in the configuration mode, the trigger mode of the first virtual key can be updated through the first input. For example, after the first virtual key enters the configuration mode, a first input from a user is received, where the first input may be a touch operation that is easy to understand and implement, such as clicking, dragging, sliding, and the like, and after the first input is received, feature information of the first input, such as the number of clicks, the dragging distance, the sliding direction, and the like, is identified, and a trigger mode of the first virtual key is updated according to the feature information of the first input, that is, the trigger mode of the first virtual key is changed.
For example, the default triggering mode of the first virtual key is "slide up". According to the embodiment of the application, the first virtual key enters the configuration mode and the first input of 'sliding down' is carried out, so that the triggering mode of the first virtual key is updated from 'sliding up' to 'sliding down', and the triggering mode of the first virtual key is changed. According to the embodiment of the application, the user can freely configure the triggering mode of the virtual key, so that the virtual key can accord with the use habit of the user, the triggering mode of the virtual key is prevented from conflicting with the gesture operation of the application program, the false triggering of the virtual key or the false operation of the application program is avoided, and the use experience of the user is improved.
In some embodiments of the present application, the first input includes a drag input, and the feature information of the first input includes an end point of the drag input; updating the triggering mode of the first virtual key according to the first input characteristic information, comprising: under the condition that the end point of the dragging input is the first position, updating the triggering mode of the first virtual key into click operation; and updating the triggering mode of the first virtual key to be sliding operation under the condition that the end point of the dragging input is the second position.
In the embodiment of the present application, the first input includes a drag input, and specifically, the drag input is a touch operation of "holding" a first virtual key and "dragging" it to one "end" position. Wherein, the end point of the drag input is the feature information of the first input. Specifically, if the end point of the drag input is the first position, the trigger mode of the first virtual key is updated to the click operation. The first position is specifically a position which is less than a preset distance threshold from the display position of the first virtual key, for example, the first position is overlapped with the display position of the first virtual key, that is, after the user clicks the first virtual key, the user releases his hand in situ. Or the first position is within a range less than 1cm from the display position of the first virtual key, for example, the user releases his hand after holding down the first virtual key and dragging the first virtual key by a distance less than 1 cm.
And if the end point of the dragging input is the second position, updating the triggering mode of the first virtual key into sliding operation. The second position is specifically a position far away from the display position of the first virtual key, for example, a position 3cm away from the display position of the first virtual key, that is, the user presses the first virtual key and releases his hand after dragging the virtual key 3cm away.
In some embodiments of the present application, the characteristic information of the first input further includes a start point of the drag input; the slide direction of the slide operation is associated with the start point and the end point of the drag input.
In this embodiment, the characteristic information of the first input further includes a start point of the drag input, and it can be understood that, for the drag input of the first virtual key, the start point of the drag input is the display position of the first virtual key.
It can be understood that the sliding operation refers to an operation in which a finger of the user is placed on the touch screen and moved a distance on the touch screen. In the embodiment of the application, the triggering mode of the first virtual key is updated to be the sliding operation according to the first input, and the sliding direction of the sliding operation is associated with the starting point and the end point of the first input.
For example, based on the direction of the user looking at the screen of the electronic device, the starting point of the first input is the display position of the first virtual key, and if the ending point of the first input is located on the "left side" of the current display position of the first virtual key, the sliding direction of the sliding operation is "left sliding".
In some embodiments of the present application, the direction of the sliding operation includes: left slide, right slide, up slide, down slide.
In other embodiments of the present application, the direction of the sliding operation includes: left slip, left upper slip, left lower slip, right upper slip, right lower slip, upper slip and lower slip.
It can be understood that more and more precise sliding directions can be set, which is not limited by the embodiments of the present application.
In some embodiments of the present application, before receiving the first input to the first virtual key, the method further comprises: displaying the first virtual key at a third position; after receiving the first input to the first virtual key, the method further comprises the following steps: displaying a plurality of configuration identifications; updating the triggering mode of the first virtual key according to the first input characteristic information, comprising: updating the triggering mode of the first virtual key to be sliding operation under the condition that the starting point of the first input is the third position and the end point of the first input is located in the preset area; the preset area is associated with the display position of a target configuration identifier in the plurality of configuration identifiers, and the sliding direction of the sliding operation is associated with the third position and the display position of the target configuration identifier.
In the embodiment of the application, the first virtual key is displayed at the third position. Wherein the third location may be a particular location in a display interface of the electronic device. Specifically, the first virtual key may be switched between the hidden display and the display in the third position. For example, the first virtual key may be hidden at a side position of the display screen of the electronic device, such as the bottom side or the left and right sides. In the hidden display state, the first virtual key is not displayed in a graphic mode and cannot be triggered. And after receiving the calling operation, determining a third position according to the calling operation, and displaying the first virtual key at the third position, wherein the first virtual key can be triggered.
After receiving a first input to the first virtual key, displaying a plurality of configuration identifiers, where a display position of each configuration identifier is associated with a preset area, where the preset area may be a circular area with one configuration identifier as a center and a preset distance as a radius.
And if the terminal point of the first input falls into a preset area, updating the triggering mode of the first virtual key into sliding operation, wherein the sliding direction of the sliding operation is related to the configuration identifier associated with the preset area and the third position.
Specifically, for example, with reference to a direction in which a user looks at a display interface of the electronic device, fig. 3 shows a second schematic view of the display interface of the electronic device according to the embodiment of the present application, fig. 4 shows a third schematic view of the display interface of the electronic device according to the embodiment of the present application, as shown in fig. 3, a first virtual key 204 is displayed at a third position, as shown in fig. 4, after receiving a first input, a plurality of configuration identifiers 206 are displayed, and for convenience of description, the 4 configuration identifiers are respectively marked as (1), (2), (3), and (4) in the drawing.
As shown in fig. 4, the first configuration mark (4) is displayed on the "left side" of the third position, the second configuration mark (2) is displayed on the "right side", the third configuration mark (3) is displayed on the "upper side", and the fourth configuration mark (1) is displayed on the "lower side".
Further, fig. 5 shows a fourth schematic view of a display interface of the electronic device according to the embodiment of the present application, where when the user drags the first virtual key through the first input, drags the first virtual key 204 to the first preset area with the third configuration identifier (3) as a center and the preset distance as a radius, the trigger mode of the first virtual key 204 is updated to be a sliding operation, and the sliding direction of the sliding operation is "up-sliding".
Similarly, when the user drags the first virtual key through the first input and drags the first virtual key 204 to the fourth configuration identifier (4) as the center of a circle and the preset distance is within the second preset area of the radius, the triggering mode of the first virtual key 204 is updated to be the sliding operation, and the sliding direction of the sliding operation is 'left sliding'. In some embodiments of the present application, fig. 6 illustrates a second flowchart of a configuration method of a virtual key according to an embodiment of the present application, and specifically, as illustrated in fig. 3, before receiving a first input to a first virtual key, the configuration method further includes:
step 302, displaying a first virtual key at a third position and displaying a second virtual key at a fourth position;
in step 302, the triggering mode of the first virtual key is the first operation.
And 304, updating the triggering mode of the first virtual key to be the second operation on the second virtual key under the condition that the end point of the first input is superposed with the fourth position.
In step 304, the second operation is different from the first operation.
In the embodiment of the present application, fig. 7 shows a fifth schematic view of a display interface of an electronic device according to the embodiment of the present application, and fig. 8 shows a sixth schematic view of a display interface of an electronic device according to the embodiment of the present application, which can simultaneously display a plurality of virtual keys. In particular, the first virtual key may be displayed at a third location and the second virtual key may be displayed at a fourth location, wherein the third location and the fourth location do not coincide. As shown in fig. 7, a display interface of the electronic device displays a first virtual key 204 and a second virtual key 208.
As shown in fig. 8, if the end point of the first input coincides with the fourth position, that is, the user drags the first virtual key 204 to overlap the second virtual key 208, the second virtual key replaces the first virtual key, and the triggering manner of the first virtual key is updated to the second operation of the second virtual key, that is, the triggering manner of the first virtual key is updated to the "second operation" of the triggering manner of the second virtual key from the original "first operation".
For example, the first operation is "slide left", the second operation is "slide right", and the user drags the first virtual key to overlap the second virtual key, and then replaces the triggering mode of the first virtual key with "slide right".
In some embodiments of the present application, fig. 9 shows a third flowchart of a configuration method of a virtual key according to an embodiment of the present application, and specifically, as shown in fig. 9, after receiving a first input to a first virtual key, the method further includes:
step 702, under the condition that the end point of the first input is superposed with the fourth position, canceling the display of the first virtual key and the second virtual key, and displaying a first trigger mark and a second trigger mark;
in step 702, the first trigger is used to indicate a trigger mode of the first virtual key, and the second trigger is used to indicate a trigger mode of the second virtual key;
and 704, after exiting the configuration mode, canceling the display of the first trigger identifier and the second trigger identifier, and displaying the second virtual key.
In this embodiment of the application, if the end point of the first input coincides with the fourth position, that is, after the user drags the first virtual key to overlap the second virtual key, the first virtual key and the second virtual key may be combined, and after the combination, the second virtual key has both the trigger mode of the first virtual key and the trigger mode of the second virtual key, and has both operation functions.
For example, the first virtual key is triggered by "left slide", the corresponding function is "back", the second virtual key is triggered by "right slide", and the corresponding function is "forward". When the user drags the first virtual key to overlap with the second virtual key, the first virtual key and the second virtual key are not displayed any more, and a trigger mark of left sliding (such as a left arrow) and a trigger mark of right sliding (such as a right arrow) are displayed instead for informing the user of a trigger mode.
And when the user exits the configuration mode, displaying a second virtual key at a fourth position, wherein the second virtual key simultaneously has the function of the first virtual key, executing the returning operation when the user triggers the second virtual key through the left sliding operation, and executing the advancing operation when the user triggers the second virtual key through the right sliding operation.
In some embodiments of the present application, after displaying the first trigger and the second trigger, the method further includes:
receiving a second input of the first trigger mark by the user;
and responding to the second input, displaying the first virtual key and the second virtual key, and updating the triggering mode of the first virtual key into a second operation on the first virtual key.
In this embodiment of the application, fig. 10 shows a seventh schematic display interface diagram of an electronic device according to an embodiment of the application, as shown in fig. 10, after displaying the first trigger 210 and the second trigger 212, if a second input to the first trigger 210 by the user is received, that is, the user changes the trigger mode of the first virtual key by the second input, according to feature information of the second input, the trigger mode of the first virtual key is changed to a second operation, and the first virtual key 204 and the second virtual key 208 are displayed at the same time. At this time, the first virtual key and the second virtual key are simultaneously displayed on the display interface of the electronic device.
It can be understood that, after the first trigger identifier and the second trigger identifier are displayed, if the user performs a third input on the second trigger identifier, the trigger mode of the second virtual key is updated according to the feature information of the third input, specifically, the trigger mode of the second virtual key is updated to a third operation on the second virtual key, and the logic is the same as the trigger mode for updating the first virtual key.
In some embodiments of the present application, fig. 11 is a block diagram illustrating a configuration apparatus for a virtual key according to an embodiment of the present application, and as shown in fig. 11, the configuration apparatus 1000 for a virtual key includes:
a receiving module 1002, configured to receive a first input to a first virtual key when the first virtual key is in a configuration mode;
the control module 1004 is configured to update the trigger mode of the first virtual key according to the first input feature information.
In the embodiment of the application, one or more virtual keys can be displayed on a display interface of the electronic device, wherein the one or more virtual keys include a first virtual key, and the first virtual key includes an operating mode and a configuration mode. In the working mode, through specific touch input, the operation function corresponding to the virtual key can be triggered, such as backing, returning to the desktop and the like.
The first virtual key can be hidden and displayed under a general condition, and the call is called out through specific operation. For example, the first graphic identifier is displayed in a first display area of the electronic device, and specifically, the first display area may be a position close to a side edge of a display screen of the electronic device, such as a bottom edge, a left side edge or a right side edge, and the first graphic identifier is displayed in a "bar" graphic manner.
Specifically, fig. 2 shows one of display interface diagrams of an electronic device according to an embodiment of the present application.
As shown in fig. 2, in the first display area on the display interface, a first graphic identifier, such as a bar identifier shown in fig. 2, is displayed. After the user drags the bar-shaped identifier, a second graphical identifier, such as the circular identifier shown in fig. 2, which is the "first virtual key" mentioned above, is displayed at the end position of the dragging operation according to the dragging direction and distance of the user.
And further, receiving touch input of the first graphic identifier, and displaying the first virtual key in the corresponding second display area. In particular, the touch input may be a drag or slide input. For example, the first input is a sliding input with the first graphic identifier as a starting point, and then an end point of the sliding input is set as a second display area, where an area with a radius of, for example, 1cm is used as a radius, and a first virtual key is displayed in the second display area, where the virtual key may be a highlighted geometric figure, such as a blue circular icon, a triangular icon, and the like, and the icon may have an artistic design, such as a shadow, a stroke, a gradient color, and the like, which is not limited in the embodiment of the present application.
Meanwhile, the first virtual key can be switched to the configuration mode through specific touch input, for example, after the first virtual key is pressed for a long time and is double-clicked, the first virtual key enters the configuration mode. In some embodiments, before the first virtual key is switched to the configuration mode, a corresponding dialog box can be popped up for reminding.
When the first virtual key is in the configuration mode, the trigger mode of the first virtual key can be updated through the first input. For example, after the first virtual key enters the configuration mode, a first input from a user is received, where the first input may be a touch operation that is easy to understand and implement, such as clicking, dragging, sliding, and the like, and after the first input is received, feature information of the first input, such as the number of clicks, the dragging distance, the sliding direction, and the like, is identified, and a trigger mode of the first virtual key is updated according to the feature information of the first input, that is, the trigger mode of the first virtual key is changed.
For example, the default triggering mode of the first virtual key is "slide up". According to the embodiment of the application, the first virtual key enters the configuration mode and the first input of 'sliding down' is carried out, so that the triggering mode of the first virtual key is updated from 'sliding up' to 'sliding down', and the triggering mode of the first virtual key is changed. On one hand, the user can freely configure the trigger mode of the virtual key, so that the virtual key can accord with the use habit of the user, and on the other hand, the trigger mode of the virtual key can be prevented from being conflicted with the gesture operation of the application program by changing the trigger mode form of the virtual key, so that the false trigger of the virtual key or the false operation of the application program can be avoided, and the use experience of the user is improved.
In some embodiments of the present application, the first input includes a drag input, and the feature information of the first input includes an end point of the drag input; the control module 1004 is specifically configured to update the trigger mode of the first virtual key to a click operation when the end point of the drag input is the first position; and updating the triggering mode of the first virtual key to be sliding operation under the condition that the end point of the dragging input is the second position.
In the embodiment of the present application, the first input includes a drag input, and specifically, the drag input is a touch operation of "holding" a first virtual key and "dragging" it to one "end" position. Wherein, the end point of the drag input is the feature information of the first input. Specifically, if the end point of the drag input is the first position, the trigger mode of the first virtual key is updated to the click operation. The first position is specifically a position which is less than a preset distance threshold from the display position of the first virtual key, for example, the first position is overlapped with the display position of the first virtual key, that is, after the user clicks the first virtual key, the user releases his hand in situ. Or the first position is within a range less than 1cm from the display position of the first virtual key, for example, the user releases his hand after holding down the first virtual key and dragging the first virtual key by a distance less than 1 cm.
And if the end point of the dragging input is the second position, updating the triggering mode of the first virtual key into sliding operation. The second position is specifically a position far away from the display position of the first virtual key, for example, a position 3cm away from the display position of the first virtual key, that is, the user presses the first virtual key and releases his hand after dragging the virtual key 3cm away.
In some embodiments of the present application, the characteristic information of the first input further includes a start point of the drag input; the slide direction of the slide operation is associated with the start point and the end point of the drag input.
In this embodiment, the characteristic information of the first input further includes a start point of the drag input, and it can be understood that, for the drag input of the first virtual key, the start point of the drag input is the display position of the first virtual key.
It can be understood that the sliding operation refers to an operation in which a finger of the user is placed on the touch screen and moved a distance on the touch screen. In the embodiment of the application, the triggering mode of the first virtual key is updated to be the sliding operation according to the first input, and the sliding direction of the sliding operation is associated with the starting point and the end point of the first input.
For example, based on the direction of the user looking at the screen of the electronic device, the starting point of the first input is the display position of the first virtual key, and if the ending point of the first input is located on the "left side" of the current display position of the first virtual key, the sliding direction of the sliding operation is "left sliding".
In some embodiments of the present application, the direction of the sliding operation includes: left slide, right slide, up slide, down slide.
In other embodiments of the present application, the direction of the sliding operation includes: left slip, left upper slip, left lower slip, right upper slip, right lower slip, upper slip and lower slip.
It can be understood that more and more precise sliding directions can be set, which is not limited by the embodiments of the present application.
In some embodiments of the present application, the apparatus further comprises: a first display module 1006, configured to display the first virtual key at a third location; a second display module 1008 for displaying the plurality of configuration identifiers after receiving the first input to the first virtual key; the control module 1004 is specifically configured to update the trigger mode of the first virtual key to sliding operation when the starting point of the first input is the third position and the end point of the first input is located in the preset area; the preset area is associated with the display position of a target configuration identifier in the plurality of configuration identifiers, and the sliding direction of the sliding operation is associated with the third position and the display position of the target configuration identifier.
In the embodiment of the application, the first virtual key is displayed at the third position. Wherein the third location may be a particular location in a display interface of the electronic device. Specifically, the first virtual key may be switched between the hidden display and the display in the third position. For example, the first virtual key may be hidden at a side position of the display screen of the electronic device, such as the bottom side or the left and right sides. In the hidden display state, the first virtual key is not displayed in a graphic mode and cannot be triggered. And after receiving the calling operation, determining a third position according to the calling operation, and displaying the first virtual key at the third position, wherein the first virtual key can be triggered.
After receiving a first input to the first virtual key, displaying a plurality of configuration identifiers, where a display position of each configuration identifier is associated with a preset area, where the preset area may be a circular area with one configuration identifier as a center and a preset distance as a radius.
And if the terminal point of the first input falls into a preset area, updating the triggering mode of the first virtual key into sliding operation, wherein the sliding direction of the sliding operation is related to the configuration identifier associated with the preset area and the third position.
Specifically, for example, with reference to a direction in which a user looks at a display interface of the electronic device, fig. 3 shows a second schematic view of the display interface of the electronic device according to the embodiment of the present application, fig. 4 shows a third schematic view of the display interface of the electronic device according to the embodiment of the present application, as shown in fig. 3, a first virtual key 204 is displayed at a third position, as shown in fig. 4, after receiving a first input, a plurality of configuration identifiers 206 are displayed, and for convenience of description, the 4 configuration identifiers are respectively marked as (1), (2), (3), and (4) in the drawing.
As shown in fig. 4, the first configuration mark (4) is displayed on the "left side" of the third position, the second configuration mark (2) is displayed on the "right side", the third configuration mark (3) is displayed on the "upper side", and the fourth configuration mark (1) is displayed on the "lower side".
Further, fig. 5 shows a fourth schematic view of a display interface of the electronic device according to the embodiment of the present application, where when the user drags the first virtual key through the first input, drags the first virtual key 204 to the first preset area with the third configuration identifier (3) as a center and the preset distance as a radius, the trigger mode of the first virtual key 204 is updated to be a sliding operation, and the sliding direction of the sliding operation is "up-sliding".
Similarly, when the user drags the first virtual key through the first input and drags the first virtual key 204 to the fourth configuration identifier (4) as the center of a circle and the preset distance is within the second preset area of the radius, the triggering mode of the first virtual key 204 is updated to be the sliding operation, and the sliding direction of the sliding operation is 'left sliding'.
In some embodiments of the present application, in particular, the apparatus further comprises: a third display module 1010, configured to display the first virtual key at a third location, and display the second virtual key at a fourth location, where a trigger mode of the second virtual key is a first operation; the control module 1004 is specifically configured to, when the end point of the first input coincides with the fourth position, update the trigger mode of the first virtual key to a second operation on the second virtual key, where the second operation is different from the first operation.
In the embodiment of the present application, fig. 7 shows a fifth schematic view of a display interface of an electronic device according to the embodiment of the present application, and fig. 8 shows a sixth schematic view of a display interface of an electronic device according to the embodiment of the present application, which can simultaneously display a plurality of virtual keys. In particular, the first virtual key may be displayed at a third location and the second virtual key may be displayed at a fourth location, wherein the third location and the fourth location do not coincide. As shown in fig. 7, a display interface of the electronic device displays a first virtual key 204 and a second virtual key 208.
As shown in fig. 8, if the end point of the first input coincides with the fourth position, that is, the user drags the first virtual key to overlap the second virtual key, the second virtual key replaces the first virtual key, and the triggering manner of the first virtual key is updated to the second operation of the second virtual key, that is, the triggering manner of the first virtual key is updated to the "second operation" of the triggering manner of the second virtual key from the original "first operation".
For example, the first operation is "slide left", the second operation is "slide right", and the user drags the first virtual key to overlap the second virtual key, and then replaces the triggering mode of the first virtual key with "slide right".
In some embodiments of the present application, the third display module 1010 is further configured to cancel the display of the first virtual key and the second virtual key and display a first trigger identifier and a second trigger identifier when the end point of the first input coincides with the fourth position, where the first trigger identifier is used to indicate a trigger mode of the first virtual key and the second trigger identifier is used to indicate a trigger mode of the second virtual key;
and after exiting the configuration mode, canceling the display of the first trigger identifier and the second trigger identifier and displaying the second virtual key.
In this embodiment of the application, if the end point of the first input coincides with the fourth position, that is, after the user drags the first virtual key to overlap the second virtual key, the first virtual key and the second virtual key may be combined, and after the combination, the second virtual key has both the trigger mode of the first virtual key and the trigger mode of the second virtual key, and has both operation functions.
For example, the first virtual key is triggered by "left slide", the corresponding function is "back", the second virtual key is triggered by "right slide", and the corresponding function is "forward". When the user drags the first virtual key to overlap with the second virtual key, the first virtual key and the second virtual key are not displayed any more, and a trigger mark of left sliding (such as a left arrow) and a trigger mark of right sliding (such as a right arrow) are displayed instead for informing the user of a trigger mode.
And when the user exits the configuration mode, displaying a second virtual key at a fourth position, wherein the second virtual key simultaneously has the function of the first virtual key, executing the returning operation when the user triggers the second virtual key through the left sliding operation, and executing the advancing operation when the user triggers the second virtual key through the right sliding operation.
In some embodiments of the present application, the receiving module 1002 is further configured to receive a second input of the first trigger from the user; the control module 1004 is further configured to, in response to the second input, display the first virtual key and the second virtual key, and update the trigger mode of the first virtual key to the second operation on the first virtual key.
In this embodiment of the application, fig. 10 shows a seventh schematic display interface diagram of an electronic device according to an embodiment of the application, as shown in fig. 10, after displaying the first trigger 210 and the second trigger 212, if a second input to the first trigger 210 by the user is received, that is, the user changes the trigger mode of the first virtual key by the second input, according to feature information of the second input, the trigger mode of the first virtual key is changed to a second operation, and the first virtual key 204 and the second virtual key 208 are displayed at the same time. At this time, the first virtual key and the second virtual key are simultaneously displayed on the display interface of the electronic device.
It can be understood that, after the first trigger identifier and the second trigger identifier are displayed, if the user performs a third input on the second trigger identifier, the trigger mode of the second virtual key is updated according to the feature information of the third input, specifically, the trigger mode of the second virtual key is updated to a third operation on the second virtual key, and the logic is the same as the trigger mode for updating the first virtual key.
The configuration device of the virtual key in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a 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 configuration device of the virtual key in the embodiment of the present application may be a device with 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 application are not limited specifically.
Optionally, an electronic device 1900 is further provided in this embodiment of the present application, and includes a processor 1910, a memory 1909, and a program or an instruction stored in the memory 1909 and executable on the processor 1910, where the program or the instruction is executed by the processor 1910 to implement each process of the configuration method embodiment of the virtual key, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
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. 12 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 1900 includes, but is not limited to: a radio frequency unit 1901, a network module 1902, an audio output unit 1903, an input unit 1904, a sensor 1905, a display unit 1906, a user input unit 1907, an interface unit 1908, a memory 1909, and a processor 1910.
Those skilled in the art will appreciate that the electronic device 1900 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 1910 through a power management system, so that functions such as charging, discharging, and power consumption management are managed through the power management system. The electronic device structure shown in fig. 12 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 display unit 1906 is configured to display a first virtual key, a second virtual key, a first trigger, and a second trigger.
The user input unit 1907 is configured to receive a first input and a second input. The first input and the second input may be a touch input, a press input, and the like of a user, which is not limited in this embodiment of the application.
The processor 1910 is configured to update the triggering mode of the first virtual key through the first input when the first virtual key is in the configuration mode. For example, after the first virtual key enters the configuration mode, a first input from a user is received, where the first input may be a touch operation that is easy to understand and implement, such as clicking, dragging, sliding, and the like, and after the first input is received, feature information of the first input, such as the number of clicks, the dragging distance, the sliding direction, and the like, is identified, and a trigger mode of the first virtual key is updated according to the feature information of the first input, that is, the trigger mode of the first virtual key is changed.
For example, the default triggering mode of the first virtual key is "slide up". According to the embodiment of the application, the first virtual key enters the configuration mode and the first input of 'sliding down' is carried out, so that the triggering mode of the first virtual key is updated from 'sliding up' to 'sliding down', and the triggering mode of the first virtual key is changed. On one hand, the user can freely configure the trigger mode of the virtual key, so that the virtual key can accord with the use habit of the user, and on the other hand, the trigger mode of the virtual key can be prevented from being conflicted with the gesture operation of the application program by changing the trigger mode form of the virtual key, so that the false trigger of the virtual key or the false operation of the application program can be avoided, and the use experience of the user is improved.
It should be understood that, in the embodiment of the present application, the radio frequency unit 1901 may be used for transceiving information or transceiving signals during a call, and in particular, receive downlink data of a base station or send uplink data to the base station. Radio frequency unit 1901 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.
The network module 1902 provides wireless, broadband internet access to users, such as facilitating users to send and receive e-mail, browse web pages, and access streaming media.
The audio output unit 1903 may convert audio data received by the radio frequency unit 1901 or the network module 1902 or stored in the memory 1909 into an audio signal and output as sound. Also, the audio output unit 1903 may also provide audio output related to a specific function performed by the electronic device 1900 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1903 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1904 is used for receiving audio or video signals. The input Unit 1904 may include a Graphics Processing Unit (GPU) 5082 and a microphone 5084, and the Graphics processor 5082 processes image data of still pictures or video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 1906, or stored in the memory 1909 (or other storage medium), or transmitted via the radio 1901 or the network module 1902. The microphone 5084 may receive sound and may be capable of processing the sound into audio data, and the processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1901 in case of a phone call mode.
The electronic device 1900 also includes at least one sensor 1905, such as a fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared sensor, light sensor, motion sensor, and other sensors.
The display unit 1906 is used to display information input by the user or information provided to the user. The display unit 1906 may include a display panel 5122, and the display panel 5122 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
The user input unit 1907 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 1907 includes a touch panel 5142 and other input devices 5144. Touch panel 5142, also referred to as a touch screen, can collect touch operations by a user on or near it. The touch panel 5142 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 1910, receives a command sent by the processor 1910, and executes the command. Other input devices 5144 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 5142 can be overlaid on the display panel 5122, and when the touch panel 5142 detects a touch operation thereon or nearby, the touch operation can be transmitted to the processor 1910 to determine the type of the touch event, and then the processor 1910 can provide a corresponding visual output on the display panel 5122 according to the type of the touch event. The touch panel 5142 and the display panel 5122 can be provided as two separate components or can be integrated into one component.
The interface unit 1908 is an interface for connecting an external device to the electronic apparatus 1900. 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 1908 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 electronic device 1900 or may be used to transmit data between the electronic device 1900 and the external device.
The memory 1909 may be used to store software programs as well as various data. The memory 1909 may mainly include a program storage area and a data storage area, wherein the program storage 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 mobile terminal, and the like. Further, the memory 1909 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 1910 performs various functions of the electronic device 1900 and processes data by running or executing software programs and/or modules stored in the memory 1909 and calling data stored in the memory 1909 to thereby perform overall monitoring of the electronic device 1900. Processor 1910 may include one or more processing units; preferably, the processor 1910 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications.
The electronic device 1900 may further include a power supply 1911 for supplying power to various components, and preferably, the power supply 1911 may be logically connected to the processor 1910 through a power management system, so that functions of managing charging, discharging, power consumption, and the like are realized through the power management system.
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 above configuration method for the virtual key, 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 in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
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 above configuration method for virtual keys, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated 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 (10)

1. A virtual key configuration method is characterized by comprising the following steps:
receiving a first input to a first virtual key if the first virtual key is in a configuration mode;
and updating the triggering mode of the first virtual key according to the first input characteristic information.
2. The method of claim 1, wherein the first input comprises a drag input, and wherein the characteristic information of the first input comprises an end point of the drag input;
the updating the triggering mode of the first virtual key according to the first input feature information comprises:
updating the triggering mode of the first virtual key to be click operation under the condition that the terminal point of the dragging input is a first position;
and updating the triggering mode of the first virtual key to be sliding operation under the condition that the end point of the dragging input is at a second position.
3. The method of claim 2, wherein the feature information of the first input further comprises a starting point of the drag input; the sliding direction of the sliding operation is associated with a start point and an end point of the drag input.
4. The method of claim 2, wherein prior to receiving the first input to the first virtual key, further comprising:
displaying the first virtual key at a third position;
after receiving the first input to the first virtual key, the method further includes:
displaying a plurality of configuration identifications;
the updating the triggering mode of the first virtual key according to the first input feature information comprises:
updating the triggering mode of the first virtual key to be sliding operation under the condition that the starting point of the first input is the third position and the end point of the first input is located in a preset area;
the preset area is associated with a display position of a target configuration identifier in the plurality of configuration identifiers, and the sliding direction of the sliding operation is associated with the third position and the display position of the target configuration identifier.
5. The method of claim 1, wherein prior to receiving the first input to the first virtual key, further comprising:
displaying the first virtual key at a third position, and displaying a second virtual key at a fourth position, wherein the triggering mode of the first virtual key is a first operation;
updating the triggering mode of the first virtual key according to the first input feature information, wherein the updating comprises the following steps:
and under the condition that the terminal point of the first input is coincident with the fourth position, updating the triggering mode of the first virtual key into a second operation on the second virtual key, wherein the second operation is different from the first operation.
6. The method of claim 5, wherein after receiving the first input to the first virtual key, further comprising:
under the condition that the end point of the first input is coincident with the fourth position, the display of the first virtual key and the second virtual key is cancelled, and a first trigger identifier and a second trigger identifier are displayed, wherein the first trigger identifier is used for indicating the trigger mode of the first virtual key, and the second trigger identifier is used for indicating the trigger mode of the second virtual key;
and after exiting the configuration mode, canceling the display of the first trigger mark and the second trigger mark and displaying the second virtual key.
7. The method of claim 6, wherein after displaying the first trigger and the second trigger, further comprising:
receiving a second input of the first trigger mark from the user;
and responding to the second input, displaying the first virtual key and the second virtual key, and updating the triggering mode of the first virtual key into a second operation on the first virtual key.
8. An apparatus for configuring a virtual key, comprising:
the device comprises a receiving module, a processing module and a display module, wherein the receiving module is used for receiving a first input of a first virtual key under the condition that the first virtual key is in a configuration mode;
and the control module is used for updating the trigger mode of the first virtual key according to the first input characteristic information.
9. An electronic device, comprising:
a memory having a program or instructions stored thereon;
a processor configured to implement the method of configuring a virtual key of any of claims 1 to 7 when executing the program or instructions.
10. A readable storage medium on which a program or instructions are stored, the program or instructions, when executed by a processor, implementing a method of configuring a virtual key according to any one of claims 1 to 7.
CN202110174506.4A 2021-02-07 2021-02-07 Virtual key configuration method and device, electronic equipment and storage medium Active CN112882620B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110174506.4A CN112882620B (en) 2021-02-07 2021-02-07 Virtual key configuration method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110174506.4A CN112882620B (en) 2021-02-07 2021-02-07 Virtual key configuration method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112882620A true CN112882620A (en) 2021-06-01
CN112882620B CN112882620B (en) 2022-09-20

Family

ID=76056111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110174506.4A Active CN112882620B (en) 2021-02-07 2021-02-07 Virtual key configuration method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112882620B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729107A (en) * 2012-10-15 2014-04-16 中兴通讯股份有限公司 Method and device for achieving suspension target
CN104679436A (en) * 2015-03-27 2015-06-03 张铭鑫 Suspended key based on touch screen and device
CN104866167A (en) * 2014-02-21 2015-08-26 腾讯科技(深圳)有限公司 Method and device for controlling quick floating layer panel
CN106020704A (en) * 2016-05-30 2016-10-12 乐视控股(北京)有限公司 Virtual key triggering method and mobile terminal thereof
CN106055253A (en) * 2016-05-30 2016-10-26 乐视控股(北京)有限公司 Virtual key triggering method and mobile terminal employing same
CN106775322A (en) * 2016-12-23 2017-05-31 维沃移动通信有限公司 A kind of method and mobile terminal for preventing virtual key false triggering
CN107515719A (en) * 2016-06-16 2017-12-26 中兴通讯股份有限公司 A kind of triggering method of virtual key, device and terminal
WO2018126828A1 (en) * 2017-01-03 2018-07-12 中兴通讯股份有限公司 Virtual key display method and terminal
CN108744495A (en) * 2018-05-29 2018-11-06 努比亚技术有限公司 A kind of control method of virtual key, terminal and computer storage media
CN112190932A (en) * 2020-09-19 2021-01-08 腾讯科技(深圳)有限公司 Virtual key setting method and device, storage medium and electronic device
CN112274910A (en) * 2020-10-20 2021-01-29 广州虎牙科技有限公司 Virtual key configuration method, virtual key method and related device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729107A (en) * 2012-10-15 2014-04-16 中兴通讯股份有限公司 Method and device for achieving suspension target
CN104866167A (en) * 2014-02-21 2015-08-26 腾讯科技(深圳)有限公司 Method and device for controlling quick floating layer panel
CN104679436A (en) * 2015-03-27 2015-06-03 张铭鑫 Suspended key based on touch screen and device
CN106020704A (en) * 2016-05-30 2016-10-12 乐视控股(北京)有限公司 Virtual key triggering method and mobile terminal thereof
CN106055253A (en) * 2016-05-30 2016-10-26 乐视控股(北京)有限公司 Virtual key triggering method and mobile terminal employing same
CN107515719A (en) * 2016-06-16 2017-12-26 中兴通讯股份有限公司 A kind of triggering method of virtual key, device and terminal
CN106775322A (en) * 2016-12-23 2017-05-31 维沃移动通信有限公司 A kind of method and mobile terminal for preventing virtual key false triggering
WO2018126828A1 (en) * 2017-01-03 2018-07-12 中兴通讯股份有限公司 Virtual key display method and terminal
CN108744495A (en) * 2018-05-29 2018-11-06 努比亚技术有限公司 A kind of control method of virtual key, terminal and computer storage media
CN112190932A (en) * 2020-09-19 2021-01-08 腾讯科技(深圳)有限公司 Virtual key setting method and device, storage medium and electronic device
CN112274910A (en) * 2020-10-20 2021-01-29 广州虎牙科技有限公司 Virtual key configuration method, virtual key method and related device

Also Published As

Publication number Publication date
CN112882620B (en) 2022-09-20

Similar Documents

Publication Publication Date Title
CN108762954B (en) Object sharing method and mobile terminal
CN110851051B (en) Object sharing method and electronic equipment
CN108255378B (en) Display control method and mobile terminal
CN107977132B (en) Information display method and mobile terminal
CN111142730B (en) Split-screen display method and electronic equipment
CN109343755B (en) File processing method and terminal equipment
CN111142747B (en) Group management method and electronic equipment
CN110196667B (en) Notification message processing method and terminal
CN110502163B (en) Terminal device control method and terminal device
CN110888707A (en) Message sending method and electronic equipment
CN110196668B (en) Information processing method and terminal equipment
CN109408072B (en) Application program deleting method and terminal equipment
CN107992342B (en) Application configuration changing method and mobile terminal
CN111026299A (en) Information sharing method and electronic equipment
CN109828731B (en) Searching method and terminal equipment
CN109408171B (en) Display control method and terminal
CN111104038B (en) Application function processing method and electronic equipment
CN110865764A (en) Interface application display method and device
CN108170329B (en) Display control method and terminal equipment
CN108153460B (en) Icon hiding method and terminal
CN110647277A (en) Control method and terminal equipment
CN113504859A (en) Transmission method and device
CN110531903B (en) Screen display method, terminal device and storage medium
CN109710155B (en) Information processing method and terminal equipment
CN111694497B (en) Page combination method 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
GR01 Patent grant
GR01 Patent grant