CN111176529B - Key display method and electronic equipment - Google Patents

Key display method and electronic equipment Download PDF

Info

Publication number
CN111176529B
CN111176529B CN201911418870.XA CN201911418870A CN111176529B CN 111176529 B CN111176529 B CN 111176529B CN 201911418870 A CN201911418870 A CN 201911418870A CN 111176529 B CN111176529 B CN 111176529B
Authority
CN
China
Prior art keywords
function key
key
display
target
preset condition
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
CN201911418870.XA
Other languages
Chinese (zh)
Other versions
CN111176529A (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 CN201911418870.XA priority Critical patent/CN111176529B/en
Publication of CN111176529A publication Critical patent/CN111176529A/en
Application granted granted Critical
Publication of CN111176529B publication Critical patent/CN111176529B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a key display method and electronic equipment. The method comprises the following steps: receiving touch operation of a display interface aiming at a target application program; responding to the touch operation, and acquiring a target state parameter; if the target state parameter meets a first preset condition, displaying a first function key in a first display state, and displaying a second function key in a second display state; wherein the first preset condition is determined according to the first function key and the second function key which are associated with each other. The embodiment of the invention solves the problem that the display mode of the virtual keys in the application program causes inconvenient operation of a user in the prior art.

Description

Key display method and electronic equipment
Technical Field
The invention relates to the technical field of mobile communication, in particular to a key display method and electronic equipment.
Background
With the rapid development of mobile communication technology, electronic devices such as smart phones have become an indispensable tool in various aspects of people's life. The functions of various Application programs (APPs) of the electronic equipment are gradually improved, and the functions do not only play a role in communication, but also provide various intelligent services for users, so that great convenience is brought to the work and life of the users.
At present, with the increasing functions of the application programs, the number of keys (virtual keys) of the application programs is also increasing, and a user often has a large number of virtual keys on an operation interface of the application program in the process of using the application programs, for example, a Multiplayer Online Battle game (MOBA) game application program generally has a large number of virtual keys in an operation area. In the prior art, in order to provide sufficient functions, all the keys are generally displayed in the operation area, which occupies the display area of the display screen, and some keys are rarely used by the user; therefore, in the prior art, the display mode of the virtual keys in the application program causes inconvenience for the user to operate.
Disclosure of Invention
The embodiment of the invention provides a key display method and electronic equipment, and aims to solve the problem that in the prior art, the operation of a user is inconvenient due to a display mode of virtual keys in an application program.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a key display method, where the method includes:
receiving touch operation aiming at a target key in an application program;
responding to the touch operation, and acquiring a first function key of the target key; the first function key is a key of which the association degree with the target key meets the preset requirement; the association degree is the predicted probability that the first function key is touched after the target key is touched; the predicted probability is determined from historical usage data of a user of the application;
and displaying the first function key in a first preset display form.
Optionally, the receiving a touch operation on a display interface of a target application specifically includes:
receiving touch operation aiming at a target key;
the first function key is a key of which the first association degree with the target key meets a preset requirement; the first association degree is a first predicted probability that the first function key is touched after the target key is touched; the first prediction probability is determined based on historical usage data of the target application.
Optionally, the method further comprises:
if the target state parameter does not meet the first preset condition and meets a second preset condition, displaying a third function key in the first display state and displaying a fourth function key in the second display state;
and the second association degree of the third function key and the target key meets the preset requirement, and the second association degree is smaller than the first association degree.
Optionally, the method further comprises:
if the target state parameter meets the first preset condition and the second preset condition at the same time, displaying the third function key in a third display state, and displaying the fourth function key in a fourth display state;
the icon display size corresponding to the first display state is larger than that in the third display state; and the icon display size corresponding to the second display state is greater than or equal to the fourth display state.
Optionally, the target state parameter satisfies a first preset condition, including:
the residual energy of the virtual character of the user of the electronic equipment is higher than or equal to the target energy, wherein the target energy is the sum of the triggering energy of the first function key and the triggering energy of the second function key, and/or
And the first function key and the second function key are both in a triggerable state at the current moment.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
the operation receiving module is used for receiving touch operation of a display interface aiming at the target application program;
the operation response module is used for responding to the touch operation and acquiring target state parameters;
the first display module is used for displaying the first function key in a first display state and displaying the second function key in a second display state if the target state parameter meets a first preset condition; wherein the first preset condition is determined according to the first function key and the second function key which are associated with each other.
Optionally, the operation receiving module specifically includes:
the receiving submodule is used for receiving touch operation aiming at the target key;
the first function key is a key of which the first association degree with the target key meets a preset requirement; the first association degree is a first predicted probability that the first function key is touched after the target key is touched; the first prediction probability is determined based on historical usage data of the target application.
Optionally, the electronic device further comprises:
the second display module is used for displaying a third function key in the first display state and displaying a fourth function key in the second display state if the target state parameter does not meet the first preset condition and meets a second preset condition;
and the second association degree of the third function key and the target key meets the preset requirement, and the second association degree is smaller than the first association degree.
Optionally, the electronic device further comprises:
the third display module is used for displaying the third function key in a third display state and displaying the fourth function key in a fourth display state if the target state parameter simultaneously meets the first preset condition and the second preset condition;
the icon display size corresponding to the first display state is larger than that in the third display state; and the icon display size corresponding to the second display state is greater than or equal to the fourth display state.
Optionally, the first display module includes:
a determining submodule for determining that the remaining energy of the virtual character of the user of the electronic device is higher than or equal to a target energy, wherein the target energy is the sum of the triggering energy of the first function key and the triggering energy of the second function key, and/or
And when the first function key and the second function key are both in a triggerable state at the current moment, determining that the target state parameter meets a first preset condition.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps in the key display method described above when executing the computer program.
In a fourth aspect, 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 being executed by a processor, the computer program implements the steps in the key display method as described above.
In the embodiment of the invention, after receiving touch operation on a display interface of a target application program, responding to the touch operation to obtain a target state parameter, if the target state parameter meets a first preset condition, displaying a first function key in a first display state, and displaying a second function key in a second display state, so as to guide a user to quickly find a next group of keys to be touched; the function keys which are correlated with each other can be based on the historical use data system of the user and are close to the use habit of the user; the first function key is highlighted through the first display state and the second display state, misoperation of a user caused by a large number of keys is avoided, and screen display resources are reasonably utilized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flowchart illustrating a key display method according to an embodiment of the present invention;
FIG. 2 shows one of the schematic diagrams of a first example of embodiment of the invention;
FIG. 3 shows a second schematic diagram of a first example of an embodiment of the invention;
FIG. 4 shows a schematic diagram of a second example of embodiment of the invention;
FIG. 5 shows a schematic diagram of a third example of embodiment of the invention;
FIG. 6 is a second flowchart of a key display method according to an embodiment of the present invention;
FIG. 7 shows one of the block diagrams of an electronic device provided by an embodiment of the invention;
fig. 8 shows a second block diagram of an electronic device according to an embodiment of the 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.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Referring to fig. 1, an embodiment of the present invention provides a key display method, which may be optionally applied to an electronic Device or an application program of the electronic Device, where the electronic Device may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of Mobile Stations (MSs), electronic devices (Terminal devices), and so on; in the embodiment of the invention, the method is described by taking the method applied to the electronic equipment as an example.
The method comprises the following steps:
step 101, receiving a touch operation for a display interface of a target application program.
In this step, the electronic device receives a touch operation of a touch key by a user in a display interface of the target application program.
And 102, responding to the touch operation, and acquiring a target state parameter.
In the step, the electronic equipment responds to the touch operation to obtain a target state parameter; the state parameter is used for judging whether each function key can be displayed or not; for example, if the target application is a Multiplayer Online Battle sports game (MOBA) program, the state parameter may be a cooling time, a remaining energy of a virtual character of a user of the electronic device, and the like.
103, if the target state parameter meets a first preset condition, displaying a first function key in a first display state, and displaying a second function key in a second display state; wherein the first preset condition is determined according to the first function key and the second function key which are associated with each other.
In this step, the first function key and the second function key associated with each other are determined based on a predetermined association relationship or usage data of a user. For example, if two keys with combined functions are preset to be correlated with each other, one combined function can be released when the two keys are triggered in sequence; or, based on the usage data of the user, determining that the probability of touching the second function key is greater after the user touches the first function key each time, and determining that the two are in an association relationship.
If the target state parameter meets a first preset condition, the first preset condition is a condition that both the first function key and the second function key can be touched; for example, if the current target state parameter satisfies that the first function key and the second function key are touched successively or simultaneously, the first function key and the second function key are respectively displayed in a touch display state; as a first example, referring to fig. 2, after a user touches a display interface of a target application, the electronic device determines that a current target state parameter meets a first preset condition of a display key E and a key I, and then enlarges the display key E and the key I, so that when there are many keys in an operation area, the first function key is enlarged and displayed, so that the interrelated and touchable function keys have a highlight effect, and the user can intuitively and quickly find a next key to be touched; similarly, as shown in fig. 3, a background color or a shading may be added to the icons of the key E and the key I to achieve the effect of highlighting.
It can be understood that, if the target state parameter does not satisfy the first preset condition, the first function key and the second function key are displayed in other display states, for example, in a default display state; the first function key and the second function key may not be displayed.
In this way, in the embodiment of the present invention, after receiving a touch operation on a display interface of a target application, a target state parameter is obtained in response to the touch operation, and if the target state parameter meets a first preset condition, a first function key is displayed in a first display state, and a second function key is displayed in a second display state, so as to guide a user to quickly find a next group of keys to be touched; the function keys which are correlated with each other can be based on the historical use data system of the user and are close to the use habit of the user; the first function key is highlighted through the first display state and the second display state, misoperation of a user caused by a large number of keys is avoided, and screen display resources are reasonably utilized. The embodiment of the invention solves the problem that the display mode of the virtual keys in the application program causes inconvenient operation of a user in the prior art.
Optionally, in an embodiment of the present invention, the receiving a touch operation on a display interface of a target application specifically includes:
receiving touch operation aiming at a target key;
the first function key is a key of which the first association degree with the target key meets a preset requirement; the first association degree is a first predicted probability that the first function key is touched after the target key is touched; the first prediction probability is determined based on historical usage data of the target application.
In this step, the electronic device receives a touch operation of a user touch key, where a key targeted by the touch operation is a target key.
The electronic equipment responds to the touch operation and acquires a first function key of the target key; in the process that the user uses the application program, the electronic equipment counts the use data of the user, optionally, a counting period can be set, and in each counting period, the data of each key triggered by the user is counted; for example, the keys (hereinafter referred to as associated keys) touched by the next touch operation after the user touches the key each time are counted, and for each key, the associated key of the key and the predicted probability of being touched by each associated key are counted; the predicted probability, i.e., the first degree of association between the associated key and the target key, represents the predicted probability that the associated key is used as the next key to be touched after the target key is touched.
After the first association degree is determined, selecting a key with the first association degree meeting a preset requirement from the association keys as a first function key; optionally, the preset requirement may be that the first association degree is greater than a preset threshold, so as to filter the associated key with the high first association degree as the first function key.
Optionally, in the embodiment of the present invention, if the target state parameter does not satisfy the first preset condition and satisfies a second preset condition, displaying a third function key in the first display state and displaying a fourth function key in the second display state; the second preset condition is a display condition for displaying a third function key and a fourth function key, and if the current target state parameter does not meet the requirements for displaying the first function key and the second function key, whether other function key combinations are met or not is continuously judged;
and the second association degree of the third function key and the target key meets the preset requirement, and the second association degree is smaller than the first association degree.
That is, after a plurality of key buttons of the target key are determined, the key combination related to each key button is determined, whether the current target state parameter meets the preset condition corresponding to each key combination is judged according to the association degree from high to low, and the key combinations meeting the preset condition are displayed in the preset display state, so that the effect of highlighting is achieved, and a user can conveniently and quickly select the key buttons during operation.
Optionally, in an embodiment of the present invention, the method further includes:
if the target state parameter meets the first preset condition and the second preset condition at the same time, displaying the third function key in a third display state, and displaying the fourth function key in a fourth display state;
optionally, the display parameters of the display state may further include display parameters, such as icon display size, icon display brightness; for the purpose of displaying each function key differently, a display parameter level is set for a display parameter, and the degree of association is in direct proportion to the display parameter level.
Specifically, if the display parameter includes an icon display size, and the association degree of the first function key is higher than that of the third function key, the icon display size corresponding to the first display state is larger than that of the third display state; if the association degree of the second function key is higher than that of the fourth function key, the icon display size corresponding to the second display state is larger than or equal to the fourth display state;
in this way, under the condition that the target state parameter simultaneously satisfies the first preset condition and the second preset condition, that is, the target state parameter can display at least two groups of combined keys, so that the user can distinguish the two groups of combined keys, and the two groups of combined keys can be displayed differently by different icon display sizes.
As a second example, referring to fig. 4, if the display parameter includes an icon display size, and the first function key includes a key E and a key I, and the degree of association of the key E is higher than that of the key I, the display parameter level of the key E is higher than that of the key I; as shown in fig. 4, the icon size of key E is larger than the icon size of key I.
Optionally, in this embodiment of the present invention, the first function key is a key of a preset operation area in the application program;
the method further comprises the following steps:
and displaying the non-first function keys in the preset operation area in a second preset display form.
The electronic equipment also displays non-first function keys of the preset operation area in a second preset display form at the same time of displaying the first function keys in a first preset display form; the second preset display form weakens the display effect of the non-first function key so as to further highlight the display effect of the first function key.
Specifically, the first preset display form is to increase the display size and/or display brightness of the icon of the first function key; namely, the first preset display form comprises the following forms:
increasing the icon display size, increasing the icon display brightness, and simultaneously increasing the icon display size and the icon display brightness.
Correspondingly, the second preset display form is to reduce the display size and/or the display brightness of the icon of the first function key, that is, the second preset display form includes the following forms:
the icon display size is reduced, the icon display brightness is reduced, and the icon display size and the icon display brightness are reduced at the same time.
As a third example, taking the display parameter including only the icon display size as an example, see fig. 5, where the key a is the target key, the keys E and I are the first function keys, and the other keys are non-first function keys; the icon display size shown by the key A is the initial display size of all icons; after the user triggers the key A, the electronic equipment determines that the key E and the key I are the first function keys, the display sizes of the key E and the key I are increased, and meanwhile, the display sizes of icons of the non-first function keys are reduced, so that the technical effect of highlighting the first function keys is achieved.
Optionally, in the embodiment of the present invention, the that the target state parameter satisfies a first preset condition includes:
the first condition is as follows: the remaining energy of the virtual character of the user of the electronic device is higher than or equal to a target energy, the target energy being the sum of the triggering energy of the first function key and the triggering energy of the second function key,
and/or
And a second condition: and the first function key and the second function key are both in a triggerable state at the current moment.
In the first condition, for example, the application program is a Multiplayer Online tactical sports game (MOBA) program, and the first preset condition may include: the residual energy of the virtual role of the user of the electronic equipment is higher than or equal to the sum of the trigger energy of the first function key and the trigger energy of the second function key, the virtual role is the role of the user in the MOBA program, and if the residual energy can meet the sum of the energy required by the function release of the first function key and the energy required by the function release of the second function key, the display condition is met.
In the second condition, the first preset condition may further include: and at the current moment, the first function key and the second function key are both in a triggerable state, and in the triggerable state, the target state parameter meets the triggerable state requirements of the first function key and the second function key. For example, the target state parameter may include a cooling time interval, where the cooling time interval is a time interval between two consecutive times of key triggering, and if a time interval between a current time and a last time when the first function key is touched is greater than or equal to the cooling time interval, the first function key is in a triggerable state; and if the time interval between the current moment and the last time of touch control of the second function key is greater than or equal to the cooling time interval, the second function key is in a triggerable state.
As a fourth example, referring to fig. 6, fig. 6 shows a main process of a MOBA program applying the above method, including the following steps:
step 601, dividing the skill release area of the MOBA program into an operation area, and monitoring the key state of the area in real time.
Step 602, when it is detected that the user touches the key a, all keys in the operation area are traversed, and the association degree of the key combination is scored according to the stored user behavior data, so as to obtain the association degree of each associated key.
Step 603, determining whether the association degree of each association key is higher than a threshold, if so, turning to step 604, and if not, not processing.
Step 604, if the association degree of the key B is greater than the threshold, determining whether the current energy value of the current virtual character of the user is greater than the energy consumption of the key B and the key C; the key C is an associated key of the key B;
if yes, the process proceeds to step 605, and if no, the process proceeds to step 607.
Step 605, determine whether the key B and the key C are in the cooling end state: if yes, go to step 606, otherwise, go to step 607.
And 606, carrying out highlight amplification display on the key B and the key C, and carrying out blurring reduction display on other keys in the operation area.
Step 607, no processing is performed.
In the embodiment of the invention, after touch operation of a display interface aiming at a target application program is received, a target state parameter is obtained in response to the touch operation, if the target state parameter meets a first preset condition, a first function key is displayed in a first display state, a second function key is displayed in a second display state, and a user is guided to quickly find a next group of keys to be touched; the function keys which are correlated with each other can be based on the historical use data system of the user and are close to the use habit of the user; the first function key is highlighted through the first display state and the second display state, misoperation of a user caused by a large number of keys is avoided, and screen display resources are reasonably utilized. The embodiment of the invention solves the problem that the display mode of the virtual keys in the application program causes inconvenient operation of a user in the prior art.
With the above description of the key display method according to the embodiment of the present invention, an electronic device according to the embodiment of the present invention will be described with reference to the accompanying drawings.
Referring to fig. 7, an embodiment of the present invention further provides an electronic device 700, including:
the operation receiving module 701 is configured to receive a touch operation for a display interface of a target application.
The operation response module 702 is configured to obtain a target state parameter in response to the touch operation.
In response to the touch operation, the operation response module 702 obtains a target state parameter; the state parameter is used for judging whether each function key can be displayed or not; for example, if the target application is a MOBA program, the state parameter may be a cooling time, a remaining energy of a virtual character of a user of the electronic device, or the like.
A first display module 703, configured to display a first function key in a first display state and a second function key in a second display state if the target state parameter meets a first preset condition; wherein the first preset condition is determined according to the first function key and the second function key which are associated with each other.
The first function key and the second function key which are mutually associated are determined by a preset association relation or based on the use data of a user. For example, if two keys with combined functions are preset to be correlated with each other, one combined function can be released when the two keys are triggered in sequence; or, based on the usage data of the user, determining that the probability of touching the second function key is greater after the user touches the first function key each time, and determining that the two are in an association relationship.
If the target state parameter meets a first preset condition, the first preset condition is a condition that both the first function key and the second function key can be touched; for example, if the current target state parameter satisfies that the first function key and the second function key are touched successively or simultaneously, the first function key and the second function key are respectively displayed in a touch display state.
Optionally, the operation receiving module 701 specifically includes:
the receiving submodule is used for receiving touch operation aiming at the target key;
the first function key is a key of which the first association degree with the target key meets a preset requirement; the first association degree is a first predicted probability that the first function key is touched after the target key is touched; the first prediction probability is determined based on historical usage data of the target application.
Optionally, the electronic device 700 further includes:
the second display module is used for displaying a third function key in the first display state and displaying a fourth function key in the second display state if the target state parameter does not meet the first preset condition and meets a second preset condition;
and the second association degree of the third function key and the target key meets the preset requirement, and the second association degree is smaller than the first association degree.
Optionally, the electronic device 700 further includes:
the third display module is used for displaying the third function key in a third display state and displaying the fourth function key in a fourth display state if the target state parameter simultaneously meets the first preset condition and the second preset condition;
the icon display size corresponding to the first display state is larger than that in the third display state; and the icon display size corresponding to the second display state is greater than or equal to the fourth display state.
Optionally, the first display module 703 includes:
a determining submodule for determining that the remaining energy of the virtual character of the user of the electronic device is higher than or equal to a target energy, wherein the target energy is the sum of the triggering energy of the first function key and the triggering energy of the second function key, and/or
And when the first function key and the second function key are both in a triggerable state at the current moment, determining that the target state parameter meets a first preset condition.
The electronic device 700 provided in the embodiment of the present invention can implement each process implemented by the electronic device 700 in the method embodiments of fig. 1 to fig. 6, and for avoiding repetition, details are not described here again.
In the embodiment of the present invention, after receiving a touch operation on a display interface of a target application program through the operation receiving module 701, the operation responding module 702 obtains a target state parameter in response to the touch operation, and if the target state parameter meets a first preset condition, the first display module 703 displays a first function key in a first display state and displays a second function key in a second display state, so as to guide a user to quickly find a next group of keys to be touched; the function keys which are correlated with each other can be based on the historical use data system of the user and are close to the use habit of the user; the first function key is highlighted through the first display state and the second display state, misoperation of a user caused by a large number of keys is avoided, and screen display resources are reasonably utilized.
FIG. 8 is a diagram illustrating a hardware configuration of an electronic device implementing various embodiments of the invention;
the electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic 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 user input unit 807 receives a touch operation for a display interface of the target application.
And the processor 810 is configured to obtain a target state parameter in response to the touch operation.
A display unit 806, configured to display a first function key in a first display state and a second function key in a second display state if the target state parameter meets a first preset condition; wherein the first preset condition is determined according to the first function key and the second function key which are associated with each other.
In the embodiment of the invention, after touch operation of a display interface aiming at a target application program is received, a target state parameter is obtained in response to the touch operation, if the target state parameter meets a first preset condition, a first function key is displayed in a first display state, a second function key is displayed in a second display state, and a user is guided to quickly find a next group of keys to be touched; the function keys which are correlated with each other can be based on the historical use data system of the user and are close to the use habit of the user; the first function key is highlighted through the first display state and the second display state, misoperation of a user caused by a large number of keys is avoided, and screen display resources are reasonably utilized.
It should be noted that, in this embodiment, the electronic device 800 may implement each process in the method embodiment of the present invention and achieve the same beneficial effects, and for avoiding repetition, details are not described here.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 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. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 802, such as to assist the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process 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 801 in case of a phone call mode.
The electronic device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the electronic device 800 is moved to the ear. As one type of motion sensor, an 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 posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 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 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 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 807 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 apparatus. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions 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 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 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 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 808 is an interface for connecting an external device to the electronic apparatus 800. 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 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 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 809 can include high speed random access memory, and can 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 810 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby monitoring the whole electronic device. Processor 810 may include one or more processing units; preferably, the processor 810 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 processor 810.
The electronic device 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and preferably, the power supply 811 may be logically coupled to the processor 810 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the electronic device 800 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the above-mentioned embodiment of the key display method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
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 each process of the above-mentioned embodiment of the key display method, and can achieve the same technical effect, and in order to avoid repetition, 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 (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 (8)

1. A key display method is applied to electronic equipment, and is characterized by comprising the following steps:
receiving touch operation of a display interface aiming at a target application program;
responding to the touch operation, and acquiring a target state parameter which is used for judging whether each function key can be displayed;
if the target state parameter meets a first preset condition, displaying a first function key in a first display state, and displaying a second function key in a second display state; wherein the first preset condition is determined according to the first function key and the second function key which are associated with each other;
the target state parameter meets a first preset condition, and comprises the following steps:
the remaining energy of the virtual character of the user of the electronic device is higher than or equal to a target energy, the target energy being the sum of the triggering energy of the first function key and the triggering energy of the second function key,
and/or
And the first function key and the second function key are both in a triggerable state at the current moment.
2. The key display method according to claim 1, wherein the receiving a touch operation for a display interface of a target application specifically includes:
receiving touch operation aiming at a target key;
the first function key is a key of which the first association degree with the target key meets a preset requirement; the first association degree is a first predicted probability that the first function key is touched after the target key is touched; the first prediction probability is determined based on historical usage data of the target application.
3. The key display method of claim 2, further comprising:
if the target state parameter does not meet the first preset condition and meets a second preset condition, displaying a third function key in the first display state and displaying a fourth function key in the second display state; the second preset condition is a display condition for displaying a third function key and a fourth function key;
and the second association degree of the third function key and the target key meets the preset requirement, and the second association degree is smaller than the first association degree.
4. The key display method of claim 3, further comprising:
if the target state parameter meets the first preset condition and the second preset condition at the same time, displaying the third function key in a third display state, and displaying the fourth function key in a fourth display state;
the icon display size corresponding to the first display state is larger than that in the third display state; and the icon display size corresponding to the second display state is greater than or equal to the fourth display state.
5. An electronic device applied to an electronic device, the electronic device comprising:
the operation receiving module is used for receiving touch operation of a display interface aiming at the target application program;
the operation response module is used for responding to the touch operation and acquiring target state parameters, and the target state parameters are used for judging whether each function key can be displayed or not;
the first display module is used for displaying the first function key in a first display state and displaying the second function key in a second display state if the target state parameter meets a first preset condition; wherein the first preset condition is determined according to the first function key and the second function key which are associated with each other;
the first display module includes:
a determining submodule for determining that the remaining energy of the virtual character of the user of the electronic device is higher than or equal to a target energy, wherein the target energy is the sum of the triggering energy of the first function key and the triggering energy of the second function key, and/or
And when the first function key and the second function key are both in a triggerable state at the current moment, determining that the target state parameter meets a first preset condition.
6. The electronic device according to claim 5, wherein the operation receiving module specifically includes:
the receiving submodule is used for receiving touch operation aiming at the target key;
the first function key is a key of which the first association degree with the target key meets a preset requirement; the first association degree is a first predicted probability that the first function key is touched after the target key is touched; the first prediction probability is determined based on historical usage data of the target application.
7. The electronic device of claim 6, further comprising:
the second display module is used for displaying a third function key in the first display state and displaying a fourth function key in the second display state if the target state parameter does not meet the first preset condition and meets a second preset condition; the second preset condition is a display condition for displaying a third function key and a fourth function key;
and the second association degree of the third function key and the target key meets the preset requirement, and the second association degree is smaller than the first association degree.
8. The electronic device of claim 7, further comprising:
the third display module is used for displaying the third function key in a third display state and displaying the fourth function key in a fourth display state if the target state parameter simultaneously meets the first preset condition and the second preset condition;
the icon display size corresponding to the first display state is larger than that in the third display state; and the icon display size corresponding to the second display state is greater than or equal to the fourth display state.
CN201911418870.XA 2019-12-31 2019-12-31 Key display method and electronic equipment Active CN111176529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911418870.XA CN111176529B (en) 2019-12-31 2019-12-31 Key display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911418870.XA CN111176529B (en) 2019-12-31 2019-12-31 Key display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111176529A CN111176529A (en) 2020-05-19
CN111176529B true CN111176529B (en) 2022-02-01

Family

ID=70649132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911418870.XA Active CN111176529B (en) 2019-12-31 2019-12-31 Key display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111176529B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486381B (en) * 2020-11-20 2021-11-30 完美世界(北京)软件科技发展有限公司 Interface logic execution method and device, electronic equipment and medium
CN113552952B (en) * 2021-08-02 2023-07-04 腾讯科技(深圳)有限公司 Control panel, control method thereof and electronic equipment comprising control panel

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951175A (en) * 2017-03-23 2017-07-14 维沃移动通信有限公司 The control method and mobile terminal of a kind of input through keyboard
CN108182002A (en) * 2018-01-30 2018-06-19 北京小米移动软件有限公司 Layout method, device, equipment and the storage medium of enter key
CN109284065A (en) * 2018-10-23 2019-01-29 南昌努比亚技术有限公司 Key false-touch prevention method, apparatus, mobile terminal and readable storage medium storing program for executing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8423897B2 (en) * 2010-01-28 2013-04-16 Randy Allan Rendahl Onscreen keyboard assistance method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951175A (en) * 2017-03-23 2017-07-14 维沃移动通信有限公司 The control method and mobile terminal of a kind of input through keyboard
CN108182002A (en) * 2018-01-30 2018-06-19 北京小米移动软件有限公司 Layout method, device, equipment and the storage medium of enter key
CN109284065A (en) * 2018-10-23 2019-01-29 南昌努比亚技术有限公司 Key false-touch prevention method, apparatus, mobile terminal and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN111176529A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN109271121B (en) Application display method and mobile terminal
CN107977132B (en) Information display method and mobile terminal
CN107734175B (en) Notification message prompting method and mobile terminal
CN109871174B (en) Virtual key display method and mobile terminal
CN109032447B (en) Icon processing method and mobile terminal
CN109379484B (en) Information processing method and terminal
CN110908579B (en) Touch response method and electronic equipment
CN108958593B (en) Method for determining communication object and mobile terminal
CN110109604B (en) Application interface display method and mobile terminal
CN110531915B (en) Screen operation method and terminal equipment
CN107728923B (en) Operation processing method and mobile terminal
CN111163224B (en) Voice message playing method and electronic equipment
CN109739300B (en) Antenna control method and terminal
CN108762613B (en) State icon display method and mobile terminal
CN110752981A (en) Information control method and electronic equipment
CN111475066B (en) Background switching method of application program and electronic equipment
CN110597437A (en) Screen capturing method and terminal equipment
CN111176529B (en) Key display method and electronic equipment
CN109126127B (en) Game control method, dual-screen mobile terminal and computer-readable storage medium
CN109189514B (en) Terminal device control method and terminal device
CN108388400B (en) Operation processing method and mobile terminal
CN111526248B (en) Audio output mode switching method and electronic equipment
CN110673761B (en) Touch key detection method and terminal equipment thereof
CN110740265B (en) Image processing method and terminal equipment
CN110032422B (en) Application management method, terminal equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant