CN111984130B - Shortcut operation method and device and electronic equipment - Google Patents

Shortcut operation method and device and electronic equipment Download PDF

Info

Publication number
CN111984130B
CN111984130B CN202010642301.XA CN202010642301A CN111984130B CN 111984130 B CN111984130 B CN 111984130B CN 202010642301 A CN202010642301 A CN 202010642301A CN 111984130 B CN111984130 B CN 111984130B
Authority
CN
China
Prior art keywords
input
interface
target operation
target
control
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
CN202010642301.XA
Other languages
Chinese (zh)
Other versions
CN111984130A (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
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010642301.XA priority Critical patent/CN111984130B/en
Publication of CN111984130A publication Critical patent/CN111984130A/en
Application granted granted Critical
Publication of CN111984130B publication Critical patent/CN111984130B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application discloses a quick operation method, a quick operation device and electronic equipment, belongs to the technical field of communication, and can solve the problem of poor performance of an existing input method keyboard. The method comprises the following steps: under the condition that an input method keyboard is displayed on a first interface, receiving first input of a user to the input method keyboard; in response to the first input, displaying M options, each option for indicating a historical operation associated with the input method keyboard, M being a positive integer; receiving a second input of a user to a target option of the M options; in response to the second input, a target operation is performed, or a cancel target operation is performed, the target operation being a history operation indicated by the target option.

Description

Shortcut operation method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a shortcut operation method, a shortcut operation device and electronic equipment.
Background
The input method refers to a coding method for inputting various symbols into an electronic device (e.g., a mobile phone). When the user uses the electronic device, the electronic device can be triggered to display an input method keyboard (which can be called a virtual keyboard) through input in an input box of the current interface or through input of an editing control in the current interface, so that the user can perform various editing operations in the input method keyboard.
At present, the input method keyboard not only provides the function of inputting characters, but also provides a plurality of functions of inputting voice, inserting pictures, inputting videos and the like. However, the existing input method keyboard still has a plurality of defects: for example, after a message is input in the input box, if the user is not satisfied, the user needs to click the deletion control in the input method keyboard for multiple times so as to delete the characters in the message one by one; for another example, if the user wants to insert the text input in the previous interface into the current interface, the user needs to return to the previous interface, select the text, and return to the current interface to paste the text, which results in complicated operation. Therefore, the existing input method keyboard has poor performance.
Disclosure of Invention
The embodiment of the application aims to provide a quick operation method, a quick operation device and electronic equipment, which can solve the problem of poor performance of the existing input method keyboard.
In order to solve the technical problems, the application is realized as follows:
In a first aspect, an embodiment of the present application provides a shortcut operation method. The method comprises the following steps: under the condition that an input method keyboard is displayed on a first interface, receiving first input of a user to the input method keyboard; in response to the first input, displaying M options, each option for indicating a historical operation associated with the input method keyboard, M being a positive integer; receiving a second input of a user to a target option of the M options; in response to the second input, a target operation is performed, or a cancel target operation is performed, the target operation being a history operation indicated by the target option.
In a second aspect, an embodiment of the present application provides a shortcut operation device. The device comprises a receiving module, a display module and a processing module. And the receiving module is used for receiving the first input of the user on the input method keyboard under the condition that the input method keyboard is displayed on the first interface. And the display module is used for responding to the first input received by the receiving module and displaying M options, wherein each option is used for indicating one historical operation associated with the input method keyboard, and M is a positive integer. And the receiving module is also used for receiving a second input of the user on the target option in the M options. And the processing module is used for responding to the second input received by the receiving module, executing a target operation or executing a cancel target operation, wherein the target operation is a historical operation indicated by the target option.
In a third aspect, an embodiment of the present application provides an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which program or instruction when executed by the processor implements the steps of the method as provided in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method as provided in the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip comprising a processor and a communication interface coupled to the processor for running a program or instructions implementing a method as provided in the first aspect.
In the embodiment of the application, under the condition that the input method keyboard is displayed on the first interface, the first input of the user to the input method keyboard is received; in response to the first input, displaying M options, each option being used for indicating a history operation associated with the input method keyboard, M being a positive integer; and receiving a second input of the user to a target option of the M options; and in response to the second input, performing a target operation, or performing a cancel target operation, the target operation being a history operation indicated by the target option. According to the scheme, the user can trigger and display a plurality of options for indicating a plurality of historical operations through the first input of the input method keyboard displayed on the first interface, so that the user can select one of the plurality of options and trigger to quickly execute the target operation again or execute the cancel target operation, the operation efficiency of the user is improved, and the performance of the input method keyboard is further improved.
Drawings
FIG. 1 is a schematic diagram of a shortcut operation method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of the operation of the input method keyboard according to the embodiment of the present application;
FIG. 3 is a second schematic diagram of a shortcut operation method according to an embodiment of the present application;
FIG. 4 is a second schematic diagram of the operation of the input method keyboard according to the embodiment of the present application;
FIG. 5 is a third schematic diagram illustrating the operation of the input method keyboard according to the embodiment of the present application;
FIG. 6 is a diagram illustrating the operation of the input method keyboard according to the embodiment of the present application;
FIG. 7 is a fifth schematic diagram of the operation of the input method keyboard according to the embodiment of the present application;
fig. 8 is a schematic structural diagram of a shortcut operation device provided in an embodiment of the present application;
FIG. 9 is a schematic diagram of hardware of an electronic device according to an embodiment of the present application;
fig. 10 is a second hardware schematic of the electronic device according to the embodiment of the application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, 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 may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The embodiment of the application provides a shortcut operation method, a shortcut operation device and electronic equipment, which can receive first input of a user to an input method keyboard under the condition that the input method keyboard is displayed on a first interface; in response to the first input, displaying M options, each option being used for indicating a history operation associated with the input method keyboard, M being a positive integer; and receiving a second input of the user to a target option of the M options; and in response to the second input, performing a target operation, or performing a cancel target operation, the target operation being a history operation indicated by the target option. According to the scheme, the user can trigger and display a plurality of options for indicating a plurality of historical operations through the first input of the input method keyboard displayed on the first interface, so that the user can select one of the plurality of options and trigger to quickly execute the target operation again or execute the cancel target operation, the operation efficiency of the user is improved, and the performance of the input method keyboard is further improved.
The shortcut operation method, the shortcut operation device and the electronic equipment provided by the embodiment of the application are described in detail through specific embodiments and application scenes thereof by combining the attached drawings.
As shown in fig. 1, the embodiment of the application provides a shortcut operation method. The shortcut operation method may include S101 to S104 described below. The method will be described by way of example using the execution subject as a shortcut operation device.
S101, under the condition that an input method keyboard is displayed on a first interface, the shortcut operation device receives first input of a user to the input method keyboard.
In the embodiment of the application, the first interface may be an interface with a text editing function in the target application program, for example, an editing interface of a short message application program, an editing interface of a memo application program, a chat interface of a social application program, an editing interface of a mail application program, and the like.
It should be noted that, the input method provided by the embodiment of the application can be a system application program or a third party application program. When displaying the above-mentioned interfaces with text editing function, if the user wants to input a text or insert a picture, the user can trigger the shortcut operation device to display the input method keyboard on the first interface by clicking the first interface, or display the input method keyboard in a preset area of the first interface, so that the user can insert various contents into the first interface by inputting the input method keyboard, which will not be described in detail herein.
The input method keyboard or the input method application program provided by the embodiment of the application not only provides a plurality of traditional functions of inputting characters, inputting voice, inserting pictures, inserting videos and the like, but also provides a shortcut operation function. The shortcut operation function may specifically include: the object operation that has been executed is canceled, the object operation is executed again, etc., the object operation is an operation that is executed before the first input is received and saved by the input method application, that is, the object operation is a history operation.
Optionally, the first input may be a touch input to a target control in the input method keyboard. When the user performs different touch inputs on the target control, the shortcut operation device performs different processing actions. Taking the target control as a deletion control as an example, if the user clicks the deletion control, the shortcut operation device executes a conventional operation, such as an operation of deleting the edited text; if the user presses the delete control for a long time, the shortcut operation device displays a plurality of options for indicating a plurality of history operations, and performs S102 to S104 described below, which will not be described here.
S102, the shortcut operation device responds to the first input and displays M options.
Wherein each of the M options is used for indicating a history operation associated with the input method keyboard, and M is a positive integer.
The above "one history operation associated with an input method keyboard" includes two meanings:
The method comprises the steps that before first input is received, a user triggers the operation executed by a shortcut operation device through input of a control in an input method keyboard under the condition that the input method keyboard is displayed, and an input method application program can store the history operation, so that the user can conveniently and quickly operate the stored history operation. By way of example, the history operation may be an operation of inserting text in an input box, an operation of deleting text in an input box, an operation of inserting a picture in an input box, an operation of deleting a picture in an input box, an operation of inserting a video in an input box, an operation of deleting a video in an input box, and the like.
Another meaning is that, before the first input is received, an association relationship between the input method application program and various preset operations is established in advance, for example, the preset operations may be an operation of adjusting screen brightness, an operation of adjusting volume, an operation of closing the preset type application program, an operation of deleting the preset type file, and the like. When the system detects that a certain preset operation of the preset operations is executed, the history operation can be automatically stored because the association relation between the input method application program and the preset operation is established in advance, so that the user can conveniently and quickly execute the history operation subsequently. It should be noted that, in this case, when it is detected that a certain preset operation is performed, the input method keyboard may be displayed in the current interface, or may not be displayed in the current interface.
In the embodiment of the application, M options are used for indicating M historical operations associated with an input method keyboard. In practice, the number of historical operations associated with an input method keyboard may be greater than or equal to M. In the case where the number of history operations associated with the input method keyboard is greater than M, the above-described "displaying M options" includes: and acquiring the execution time of N historical operations associated with the input method keyboard, and displaying M options. The M options correspond to M historical operations in the N historical operations, and the execution time of the M historical operations is later than the execution time of the historical operations except the M historical operations in the N historical operations. Specifically, this can be achieved by the following (1) to (3).
(1) The shortcut operation device determines that the input method keyboard is associated with the N historical operations in response to the first input. Wherein N is an integer greater than or equal to M.
Optionally, the embodiment of the present application provides a buffer area for the input method application program, where the buffer area may be used to store the history operations associated with the input method keyboard. After receiving the first input of the user, the shortcut operation device may determine the history operation stored in the buffer area, i.e. determine the history operation associated with the input method keyboard.
Optionally, the shortcut operation device may form N operation records in the buffer area according to the execution time of the N historical operations in reverse order of time, and each operation record may include at least one of the following: the execution time of the history operation, the interface displayed when the history operation is executed, the operation type of the history operation, the specific operation matters of the history operation.
(2) M historical operations are determined from the N historical operations according to the execution time of each historical operation. The execution time of the M historical operations is later than the execution time of the historical operations except the M historical operations in the N historical operations, that is, the M historical operations are the latest M operations in the N historical operations.
(3) And displaying M options for indicating M historical operations in a target area of the input method keyboard.
The current interface shown in fig. 2 (a) is an interface of a memo application, and an input method keyboard 01 is displayed on the current interface in an overlaid manner. If the user thinks of viewing the history, the user can press the delete control in the input method keyboard 01 for a long time. Then, the shortcut operation device may determine all the history operations associated with the input method keyboard, and sequentially expand the last 5 operations among all the history operations in the sector 02 as shown in (b) of fig. 2 according to the operation time, to input the picture a, adjust the screen brightness to 80%, input "today", input "conference record", delete "record", respectively.
In the case that the number of history operations associated with the input method keypad is greater than M, the first manner is that the user directly selects some of the M options, that is, performs S103 described below; the second way is that the user triggers the shortcut operation device to switch the option of displaying the history operation.
For the second mode, after displaying the M options, the shortcut operation method of the embodiment of the present application may further include: receiving a fifth input of the user; in response to the fifth input, at least one of the M options is canceled from being displayed, and at least one first option is displayed, wherein each first option corresponds to one of the N historical operations, and the execution time of each first option corresponds to the historical operation is earlier than the execution time of the M historical operations.
For example, assume that the input method keyboard is associated with N history operations, and that the N history operations are performed in order of history operation 1, history operation 2 … …, and history operation N from early to late. After receiving the first input, historical operations N-2, N-1, N may be displayed first; after receiving the third input, the 3 history operations may be switched to history operation N-5, history operation N-4, history operation N-3. By analogy, the user may continue to switch the displayed history through other inputs until a user-satisfactory option is displayed.
S103, the shortcut operation device receives a second input of a user to a target option in the M options.
Alternatively, the target option may be any one selected by the user from the M options through the second input. It is to be understood that the second input may also be a selection input of S options or other options in S102, which is not limited by the embodiment of the present application.
S104, the shortcut operation device responds to the second input to execute the target operation or execute the cancel target operation.
Wherein the target operation is a history operation indicated by the target option.
It should be noted that, the above-mentioned "performing the target operation" means performing the same operation as the target operation again, that is, the shortcut operation device performs the target operation again in the first interface, for example, reinserting a certain picture, inputting a certain character again, and the like. For such an operation, since the user does not need to switch from the currently displayed first interface to another interface when the target operation is performed and copy pictures or characters or the like from the other interface, the efficiency of performing the target operation again is improved, and the time of the user is saved.
The above-described "performing the cancel target operation" means an operation of performing the cancel target operation, that is, returning to a state before performing the target operation, for example, returning to brightness before adjusting brightness, returning to volume before adjusting volume, canceling a deletion picture, canceling a deletion text, canceling an insertion text, and the like. For such an operation, since the user does not need to switch from the currently displayed first interface to another interface when the target operation is performed and cancel the operation in the other interface, or the user does not need to call the brightness or volume adjustment control in the control panel, etc., the efficiency of canceling the target operation is improved, and the time of the user is saved.
The embodiment of the application provides a shortcut operation method, because a user can trigger and display a plurality of options for indicating a plurality of historical operations through the first input of the input method keyboard displayed on a first interface, the user can select a certain option from the plurality of options and trigger to execute target operations again quickly or execute target withdrawal operations, so that the operation efficiency of the user is improved, and the performance of the input method keyboard is further improved.
Alternatively, the above S104 may be specifically realized by S104a to S104c described below.
S104a, the shortcut operation device responds to the second input to display N controls.
Wherein N is a positive integer.
Alternatively, the shortcut operation device may determine the operation to be performed according to an interface displayed when the target operation is performed, an operation type of the target operation, in response to the second input. Wherein the operation to be performed comprises at least any one of the following: the operation of the target operation is canceled, and the operation is the same as the target operation.
S104b, the shortcut operation device receives third input of a user aiming at a target control in the N controls.
S104c, the shortcut operation device performs the target operation or performs the cancel target operation in response to the third input.
Wherein the N controls are associated with at least one of: display interface when executing the target operation before receiving the first input, type of the target operation.
Optionally, when the interfaces displayed when the target operation is executed are different, and the operation types of the target operation are the same, the determined operations to be executed may be different; when the interfaces displayed when the target operation is executed are the same and the operation types of the target operation are different, the determined operation to be executed may be different; in the case that the interfaces displayed when the target operation is performed are different and the operation types of the target operation are different, the determined operations to be performed may be different. Accordingly, by determining different operations to be performed according to the interface displayed when the target operation is performed, the operation type of the target operation.
Specifically, in order to more clearly illustrate the present application, S104 (S104 a to S104c described above) may be implemented by several alternative implementations described below, as shown in fig. 3.
First alternative implementation
The above S104a may be implemented by S1 or S2. If S1 is performed, S104b and S104c may be implemented by S3 described below; if S2 is performed, S104b and S104c may be implemented by S3 or S4 described below.
S1, responding to a second input, and displaying a first control when an interface displayed when the target operation is executed before the first input is received is a first interface and the type of the target operation is a first type.
S2, responding to a second input, and displaying the first control and the second control under the condition that the interface displayed when the target operation is executed before the first input is received is the first interface and the type of the target operation is the second type.
In the embodiment of the application, the first control is used for determining to cancel the target operation, and the second control is used for determining to execute the target operation again.
The first type and the second type in S1 and S2 refer to different operation types. In the case where the interface displayed when the target operation is performed (i.e., the interface displayed before the first input is received) is the first interface (i.e., the interface displayed when the first input is received), the operation type of the target operation is different, and the displayed controls are different.
Alternatively, the first type of operation may be any of the following: an operation of deleting a text in an input box, an operation of deleting a picture in an input box, an operation of deleting a video in an input box, an operation of adjusting screen brightness, an operation of adjusting volume, an operation of closing a preset type of application program, and the like.
Alternatively, the second type of operation may be any of the following: an operation of inserting text in an input box, an operation of inserting a picture in an input box, an operation of inserting a video in an input box, and the like.
And S3, if a third input of the user to the first control is received, responding to the third input, and executing the operation of withdrawing the target.
And S4, if a third input of the user to the second control is received, responding to the third input, and executing the target operation again in the first interface.
For example, in the case where a sector area is displayed as shown in (a) of fig. 4, if the user clicks on the "delete" record "option 03 in the sector area, as shown in (b) of fig. 4, the shortcut operation device may determine that the interface displayed when executing the" delete "record" is the interface of the memo application (i.e., the first interface), and the operation type is the first type. In this way, the shortcut operation device can display this option 03 in a protruding manner according to the preset effect, and display the first control 031. Further, if the user inputs the first control 031, the shortcut operation device may determine that an operation to be performed is to perform an operation to cancel "delete" record "and re-input" record "in an input box of the current interface.
For example, in the case where a sector area is displayed as shown in (a) of fig. 5, if the user clicks on "input" today "option 04 in the sector area, as shown in (b) of fig. 5, the shortcut operation device may determine that the interface displayed when" input "today" is performed is the interface of the memo application (i.e., the first interface), and the operation type is the second type. In this way, the shortcut operation device can display this option 04 in a protruding manner according to the preset effect, and display the first control 041 and the second control 042. Further, if the user inputs the first control 042, the shortcut operation device may determine that the operation to be performed is to perform an operation of canceling "input" today "and delete" today "in the input box; whereas if the user inputs the first control 041, the shortcut operation device may determine that the operation to be performed is to perform an operation of "input" today "and input" today "again in the input box as shown in (b) of fig. 5.
Second alternative implementation
The above S104a may be implemented by S5 or S6. If S5 is performed, S104b and S104c may be implemented by S7 described below; if S6 is executed, S104b and S104c may be implemented by S8 described below, or the shortcut operation method provided in the embodiment of the present application further includes S9 described below.
And S5, responding to the second input, and displaying a third control when the interface displayed when the target operation is executed before the first input is received is the second interface and the type of the target operation is the third type.
And S6, responding to the second input, and displaying a fourth control and a fifth control when the interface displayed when the target operation is executed before the first input is received is the second interface and the type of the target operation is the fourth type.
In an embodiment of the present application, the second interface is different from the first interface. The third control is used for determining to cancel the target operation, the fourth control is used for determining to execute the target operation again, and the fifth control is used for determining to switch the first interface to the second interface.
The third type and the fourth type in S5 and S6 refer to different operation types. In the case where the interface displayed when the target operation is performed (i.e., the interface displayed before the first input is received) is the second interface, the operation type of the target operation is different, and the displayed control is different. The second interface is an interface displayed before the first interface is displayed, that is, the second interface is a different interface from the first interface. Specifically, in one mode, the first interface and the second interface are different interfaces in the same application program; alternatively, the first interface and the second interface are different interfaces in different applications.
Alternatively, the third type of operation may be any of the following: an operation of deleting a text in an input box, an operation of deleting a picture in an input box, an operation of deleting a video in an input box, an operation of adjusting screen brightness, an operation of adjusting volume, an operation of closing a preset type of application program, and the like.
Alternatively, the fourth type of operation may be any of the following: an operation of inserting text in an input box, an operation of inserting a picture in an input box, an operation of inserting a video in an input box, and the like.
It should be noted that the third type may be the same as or different from the first type; the fourth type may be the same as or different from the second type. The embodiment of the application is not particularly limited, and can be determined according to actual use requirements.
And S7, if a third input of a user to the third control is received, responding to the third input, and executing the operation of withdrawing the target.
And S8, if a third input of the user to the fourth control is received, responding to the third input, and executing target operation in the first interface.
And S9, if fourth input of the user to the fifth control is received, responding to the fourth input, and switching the first interface into the second interface.
For example, in the case where a sector area as shown in (a) of fig. 6 is displayed, if the user clicks the "adjust screen brightness to 80%" option 05 in the sector area, as shown in (b) of fig. 6, the shortcut operation device may determine that the interface displayed when "adjust screen brightness to 80%" is performed is the second interface and the operation type is the third type. In this way, the shortcut operation device can display this option 05 in a protruding manner according to the preset effect, and display the third control 051. Further, if the user inputs the third control 051, the shortcut operation means may determine that an operation to be performed is to perform an operation of canceling "adjust screen brightness to 80%" and restore the screen to brightness before adjustment.
For example, in the case where a sector area is displayed as shown in (a) of fig. 7, if the user clicks the "input picture a" option 06 in the sector area, as shown in (b) of fig. 7, the shortcut operation device may determine that the interface displayed when executing the "input picture a" is the second interface and the operation type is the fourth type. In this way, the shortcut operation device can display this option 06 in a protruding manner according to the preset effect, and display the fourth control 061 and the fifth control 062. Further, if the user inputs the fifth control 062, the shortcut operation device may determine that the operation to be performed is to switch the current interface to the second interface, and perform the operation, that is, jump from the current interface to the interface displayed when the "input picture a" is performed; whereas if the user inputs the fourth control 061, the shortcut operation device may determine that the operation to be performed is to perform the operation of "inputting the picture a", and input the picture a in the input box as shown in (b) of fig. 7.
According to the shortcut operation method provided by the embodiment of the application, after the selection input of the user for one option is received, as the condition that the displayed interface is different and the operation type of the target operation is different when the target operation is executed, the shortcut operation device can display different functional controls, so that the user can trigger and execute different operations through the selection input of the functional controls, the operation efficiency of the user is improved, and the performance of the input method keyboard is further improved.
Optionally, in the embodiment of the present application, the history operations associated with the input method keyboard may be stored in a specially configured cache area, and since the storage capability of the cache area is limited, the shortcut operation method provided in the embodiment of the present application may further include S105 to S107 described below. S106 and S107 are alternatively performed.
S105, after the first historical operation is executed, the shortcut operation device determines the number of the historical operations in a target storage area, and the target storage area is used for storing the historical operations associated with the input method keyboard.
In the embodiment of the application, the first historical operation is any historical operation associated with the input method keyboard. For example, the shortcut operation device may form pieces of records in the target storage area in reverse order of time, and each time after one history operation associated with the input method keyboard is performed in response to the input of the user, the above-described detection process in S105 may be performed once to determine how to store the first history operation (may also be referred to as a history record of the first history operation).
S106, in the case that the number of the history operations in the target storage area is smaller than or equal to a preset value, the shortcut operation device stores a first history operation in the target storage area.
S107, in the case that the number of the history operations in the target storage area is larger than a preset value, the shortcut operation device deletes the second history operation in the target storage area and stores the first history operation in the target storage area.
Optionally, the second history operation is one history operation with the earliest storage time in the target storage area; or the second history operation is one history operation belonging to a preset type in the target storage area, the different types of history operations have different priorities, and the priority of the preset type of history operation is the lowest among all the priorities.
According to the shortcut operation method provided by the embodiment of the application, after the first history operation is executed, the number of the history operations in the target storage area is obtained, so that whether the history operations in the target area need to be deleted or not can be determined, normal storage of the first history operation is ensured, and the user can conveniently and quickly execute the first history operation subsequently.
It should be noted that, in the shortcut operation method provided by the embodiment of the present application, the execution body may be an electronic device, or a shortcut operation device, or a control module in the shortcut operation device for executing the shortcut operation method. In the embodiment of the application, a shortcut operation method executed by a shortcut operation device is taken as an example, and the shortcut operation device provided by the embodiment of the application is described.
As shown in fig. 8, an embodiment of the present application provides a shortcut operation device 800. The shortcut operation device 800 may include a receiving module 801, a display module 802, and a processing module 803. The receiving module 801 may be configured to receive, when the input method keyboard is displayed on the first interface, a first input of the input method keyboard by a user. A display module 802, configured to display M options in response to the first input received by the receiving module 801, where each option is configured to indicate a history of operations associated with the input method keyboard, and M is a positive integer. The receiving module 801 may be further configured to receive a second input from the user for a target option of the M options. The processing module 803 may be configured to perform a target operation, which may be a history operation indicated by the target option, or to perform a cancel target operation in response to the second input received by the receiving module 801.
Optionally, the display module 802 may be further configured to display N controls in response to the second input received by the receiving module 801, where N is a positive integer. The receiving module 801 may be further configured to receive a third input from a user for a target control of the N controls. The processing module 803 may be specifically configured to perform the target operation or to perform the undo target operation in response to the third input received by the receiving module 801. Wherein the N controls are associated with at least one of: display interface when executing the target operation before receiving the first input, type of the target operation.
Optionally, the display module 802 may be specifically configured to, in response to the second input, display the first control when the interface displayed when the target operation is performed before the first input is received is the first interface and the type of the target operation is the first type; or displaying the first control and the second control when the interface displayed when the target operation is executed before the first input is received is the first interface and the type of the target operation is the second type.
Optionally, the processing module 803 is specifically configured to, if the receiving module 801 receives a third input from the user to the first control, execute the cancel target operation in response to the third input; or if the input of the user to the second control is received, responding to the third input, and executing the target operation again in the first interface.
Optionally, the display module 802 may be specifically configured to, in response to the second input, display a third control when the interface displayed when the target operation is performed before the first input is received is the second interface and the type of the target operation is a third type; or displaying the fourth control and the fifth control when the interface displayed when the target operation is executed before the first input is received is the second interface and the type of the target operation is the fourth type.
Optionally, the processing module 803 may be specifically configured to, if the receiving module 801 receives a third input from a user to a third control, execute the cancel target operation in response to the third input; or if the receiving module 801 receives a third input of the user to the fourth control, then in response to the third input, performing the target operation in the first interface.
Optionally, the display module 802 may be further configured to switch the first interface to the second interface in response to the fourth input if the receiving module 801 receives the fourth input of the user to the fifth control. Wherein the second interface is different from the first interface.
Optionally, as shown in fig. 8, the shortcut operation device provided by the present application may further include an obtaining module 804. The obtaining module 804 may be configured to obtain execution times of N historical operations associated with the input method keyboard before the display module 802 displays the M options. The M options correspond to M historical operations in N historical operations, the execution time of the M historical operations is later than the execution time of the historical operations except the M historical operations in the N historical operations, and N is an integer greater than or equal to M.
The embodiment of the application provides a shortcut operation device, which can trigger the shortcut operation device to display a plurality of options for indicating a plurality of historical operations through the first input of the input method keyboard displayed on a first interface, so that the shortcut operation device can respond to the selection input of a certain option selected by the user in the plurality of options to quickly execute the target operation again or execute the cancel target operation, thereby improving the operation efficiency of the user and further improving the performance of the input method keyboard.
The shortcut operation device in the embodiment of the application can be a device, and also can be a component, an integrated circuit or a chip in the terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and the non-mobile electronic device may be a server, a network attached storage (network attached storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., and the embodiments of the present application are not limited in particular.
The shortcut operation device in the embodiment of the application can be a device with an operation system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The shortcut operation device provided in the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 1 to 7, and in order to avoid repetition, a description thereof will not be repeated here.
Optionally, as shown in fig. 9, the embodiment of the present application further provides an electronic device 900, including a processor 901, a memory 902, and a program or an instruction stored in the memory 902 and capable of being executed on the processor 901, where the program or the instruction implements each process of the foregoing shortcut operation method embodiment when executed by the processor 901, and the same technical effects are achieved, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The user input unit 1007 may be configured to receive a first input of the input method keyboard when the input method keyboard is displayed on the first interface. A display unit 1006, operable to display M options in response to the first input received by the user input unit 1007, each option being operable to indicate a historical operation associated with the input method keyboard, M being a positive integer. The user input unit 1007 may also be used to receive a second input from the user of a target option of the M options. The processor 1010 may be configured to perform the same operation as the target operation, or to perform the operation of canceling the target operation, which may be a history operation indicated by the target option, in response to the second input received by the user input unit 1007.
Optionally, the display unit 1006 may be further configured to display N controls, where N is a positive integer, in response to the second input received by the user input unit 1007. The user input unit 1007 may also be used to receive a third input from the user for a target control of the N controls. The processor 1010 may be specifically configured to perform a target operation or to perform a cancel target operation in response to the third input received by the user input unit 1007. Wherein the N controls are associated with at least one of: display interface when executing the target operation before receiving the first input, type of the target operation.
Optionally, the display unit 1006 may be specifically configured to, in response to the second input, display the first control when the interface displayed when the target operation is performed before the first input is received is the first interface and the type of the target operation is the first type; or displaying the first control and the second control when the interface displayed when the target operation is executed before the first input is received is the first interface and the type of the target operation is the second type.
Optionally, the processor 1010 is specifically configured to, if the user input unit 1007 receives a third input of the user to the first control, perform a cancel target operation in response to the third input; or if the input of the user to the second control is received, responding to the third input, and executing the target operation again in the first interface.
Optionally, the display unit 1006 may be specifically configured to, in response to the second input, display a third control when the interface displayed when the target operation is performed before the first input is received is the second interface and the type of the target operation is a third type; or displaying the fourth control and the fifth control when the interface displayed when the target operation is executed before the first input is received is the second interface and the type of the target operation is the fourth type.
Optionally, the processor 1010 may be specifically configured to, if the user input unit 1007 receives a third input of a third control from a user, perform a cancel target operation in response to the third input; or if the user input unit 1007 receives a third input of a user to a fourth control, then a target operation is performed in the first interface in response to the third input.
Optionally, the display unit 1006 may be further configured to switch the first interface to the second interface in response to the fourth input if the user input unit 1007 receives the fourth input of the fifth control by the user. Wherein the second interface is different from the first interface.
Optionally, the processor 1010 may be further configured to obtain execution times of N historical operations associated with the input method keyboard before the display unit 1006 displays the M options. The M options correspond to M historical operations in N historical operations, the execution time of the M historical operations is later than the execution time of the historical operations except the M historical operations in the N historical operations, and N is an integer greater than or equal to M.
The embodiment of the application provides electronic equipment, which can trigger the electronic equipment to display a plurality of options for indicating a plurality of historical operations through the first input of the input method keyboard displayed on the first interface, so that the electronic equipment can respond to the selection input of the user for selecting a certain option in the plurality of options to quickly execute the target operation again or execute the target cancel operation, thereby improving the operation efficiency of the user and further improving the performance of the input method keyboard.
It should be appreciated that in embodiments of the present application, the input unit 1004 may include a graphics processor (graphics processing unit, GPU) 10041 and a microphone 10042, where the graphics processor 10041 processes image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 can include two portions, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. Memory 1009 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 1010 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the foregoing shortcut operation method embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as read-only memory (ROM), random access memory (random access memory, RAM), magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the embodiment of the shortcut operation method and achieve the same technical effects, so that repetition is avoided and redundant description is omitted.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method provided by the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (8)

1. A method of shortcut operation, the method comprising:
under the condition that an input method keyboard is displayed on a first interface, receiving first input of a user to the input method keyboard;
In response to the first input, displaying M options, each option for indicating a historical operation associated with the input method keyboard, M being a positive integer;
receiving a second input of a user to a target option of the M options;
in response to the second input, performing a target operation, or performing a cancel target operation, the target operation being a history operation indicated by the target option;
the performing a target operation or performing a cancel target operation in response to the second input includes:
responding to the second input, displaying N controls, wherein N is a positive integer;
Receiving a third input of a user aiming at a target control in the N controls;
in response to the third input, performing the target operation or performing undoing the target operation;
Wherein the N controls are associated with at least one of: a display interface at the time of executing the target operation before receiving the first input, a type of the target operation;
the displaying N controls in response to the second input, including:
Responding to the second input, and displaying a first control when an interface displayed when the target operation is executed before the first input is received is the first interface and the type of the target operation is a first type; or displaying a first control and a second control when the interface displayed when the target operation is executed before the first input is received is the first interface and the type of the target operation is the second type;
receiving a third input of a user aiming at a target control in the N controls; in response to the third input, performing the target operation or performing a cancel of the target operation, including:
if a third input of the user to the first control is received, responding to the third input, and executing the operation of canceling the target; or alternatively
And if a third input of the user to the second control is received, responding to the third input, and executing the target operation again in the first interface.
2. The method of claim 1, wherein the displaying N controls in response to the second input comprises:
Responding to the second input, and displaying a third control when the interface displayed when the target operation is executed before the first input is received is a second interface and the type of the target operation is a third type; or displaying a fourth control and a fifth control when the interface displayed when the target operation is executed before the first input is received is a second interface and the type of the target operation is a fourth type;
receiving a third input of a user aiming at a target control in the N controls; in response to the third input, performing the target operation or performing a cancel of the target operation, including:
If a third input of a user to the third control is received, responding to the third input, and executing the operation of canceling the target; or alternatively
If a third input of a user to the fourth control is received, responding to the third input, and executing the target operation in the first interface;
The method further comprises the steps of:
if fourth input of the user to the fifth control is received, responding to the fourth input, and switching the first interface into the second interface;
wherein the second interface is different from the first interface.
3. The method of claim 1 or 2, wherein the displaying M options comprises:
Acquiring execution time of N historical operations associated with the input method keyboard, and displaying M options;
The M options correspond to M historical operations in the N historical operations, the execution time of the M historical operations is later than the execution time of the historical operations except the M historical operations in the N historical operations, and N is an integer greater than or equal to M.
4. A shortcut operation device, characterized in that the device comprises a receiving module, a display module and a processing module;
The receiving module is used for receiving first input of a user on the input method keyboard under the condition that the input method keyboard is displayed on the first interface;
the display module is used for responding to the first input received by the receiving module, displaying M options, wherein each option is used for indicating one historical operation associated with the input method keyboard, and M is a positive integer;
The receiving module is further used for receiving a second input of a user on a target option in the M options;
The processing module is used for responding to the second input received by the receiving module, executing a target operation or executing a cancel target operation, wherein the target operation is a historical operation indicated by the target option;
The display module is further used for responding to the second input received by the receiving module and displaying N controls, wherein N is a positive integer;
the receiving module is further configured to receive a third input of a user for a target control in the N controls;
The processing module is specifically configured to perform the target operation or cancel the target operation in response to the third input received by the receiving module;
Wherein the N controls are associated with at least one of: a display interface at the time of executing the target operation before receiving the first input, a type of the target operation;
The display module is specifically configured to respond to the second input, and display a first control when an interface displayed when the target operation is executed before the first input is received is the first interface and the type of the target operation is a first type; or displaying a first control and a second control when the interface displayed when the target operation is executed before the first input is received is the first interface and the type of the target operation is the second type;
the processing module is specifically configured to, if the receiving module receives a third input from the user to the first control, execute, in response to the third input, to cancel the target operation; or if the input of the user to the second control is received, responding to the third input, and executing the target operation again in the first interface.
5. The apparatus of claim 4, wherein the device comprises a plurality of sensors,
The display module is specifically configured to respond to the second input, and display a third control when the interface displayed when the target operation is executed before the first input is received is the second interface and the type of the target operation is the third type; or displaying a fourth control and a fifth control when the interface displayed when the target operation is executed before the first input is received is a second interface and the type of the target operation is a fourth type;
The processing module is specifically configured to, if the receiving module receives a third input from a user to the third control, execute, in response to the third input, to cancel the target operation; or if the receiving module receives a third input of the user to the fourth control, responding to the third input and executing the target operation in the first interface;
the display module is further configured to switch the first interface to the second interface in response to the fourth input if the receiving module receives the fourth input of the user to the fifth control; wherein the second interface is different from the first interface.
6. The apparatus of claim 4 or 5, further comprising an acquisition module;
the acquisition module is used for acquiring execution time of N historical operations associated with the input method keyboard before the display module displays the M options;
The M options correspond to M historical operations in the N historical operations, the execution time of the M historical operations is later than the execution time of the historical operations except the M historical operations in the N historical operations, and N is an integer greater than or equal to M.
7. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor implements the steps of the shortcut operation method as claimed in any of claims 1 to 3.
8. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the shortcut operation method as claimed in any one of claims 1 to 3.
CN202010642301.XA 2020-07-06 Shortcut operation method and device and electronic equipment Active CN111984130B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010642301.XA CN111984130B (en) 2020-07-06 Shortcut operation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010642301.XA CN111984130B (en) 2020-07-06 Shortcut operation method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111984130A CN111984130A (en) 2020-11-24
CN111984130B true CN111984130B (en) 2024-06-04

Family

ID=

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571916A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Method and device for executing terminal operating information
CN109101152A (en) * 2018-07-26 2018-12-28 维沃移动通信有限公司 A kind of data inputting method and terminal
CN110058754A (en) * 2019-03-29 2019-07-26 维沃移动通信有限公司 A kind of option display method and terminal device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571916A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Method and device for executing terminal operating information
CN109101152A (en) * 2018-07-26 2018-12-28 维沃移动通信有限公司 A kind of data inputting method and terminal
CN110058754A (en) * 2019-03-29 2019-07-26 维沃移动通信有限公司 A kind of option display method and terminal device

Similar Documents

Publication Publication Date Title
WO2022206696A1 (en) Photographing interface display method and apparatus, electronic device and medium
CN112269508B (en) Display method and device and electronic equipment
CN112836086B (en) Video processing method and device and electronic equipment
CN112702261B (en) Information display method and device and electronic equipment
CN113300938A (en) Message sending method and device and electronic equipment
CN112286416A (en) Information display method and device and electronic equipment
US20240045566A1 (en) Notification message display method and apparatus, device, readable storage medium, and chip
CN112083854A (en) Application program running method and device
CN112672061A (en) Video shooting method and device, electronic equipment and medium
CN111880701B (en) Page switching method and device and electronic equipment
CN113282546A (en) File processing method and device
CN111984130B (en) Shortcut operation method and device and electronic equipment
CN112099715B (en) Information processing method and device
CN113805997B (en) Information display method, information display device, electronic equipment and storage medium
CN113709306B (en) Session processing method and device and electronic equipment
CN113835601A (en) Screenshot management method and device
CN113885981A (en) Desktop editing method and device and electronic equipment
CN112269511A (en) Page display method and device and electronic equipment
CN112764625A (en) Notification message display method and device
CN111984130A (en) Shortcut operation method and device and electronic equipment
CN112486650A (en) Operation path switching method and device and electronic equipment
CN112399238A (en) Video playing method and device and electronic equipment
CN112035032B (en) Expression adding method and device
CN113037618B (en) Image sharing method and device
CN111813303B (en) Text processing method and device, electronic equipment and readable storage medium

Legal Events

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