Detailed Description
The technical solutions in the embodiments will be described clearly and completely with reference to the drawings in the embodiments, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail the shortcut reminding method, apparatus, device and storage medium provided in this embodiment with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a flowchart illustrating a shortcut reminding method according to the present embodiment. The shortcut reminding method of the embodiment may be executed by a shortcut reminding device, for example, and the shortcut reminding device may be disposed in an electronic device such as a smart phone and a tablet computer.
As shown in fig. 1, the shortcut reminding method of the present embodiment may include the following S1100 to S1300:
s1100, receiving a first input of the electronic equipment from a user.
In one example, the first input of the user to the electronic device may be an operation track of the user based on the electronic device, or a key trigger operation of the user based on the electronic device, or a combination of the operation track and a case trigger, and each first input corresponds to a shortcut to trigger a different function. For example, the first input is a three-finger up-sliding operation, a three-finger down-sliding operation, a two-finger clicking operation, a power key + volume key, a single-finger long-pressing operation, and the like, which are performed on the electronic device by a user, and each shortcut corresponds to a corresponding function.
In one example, a function may be triggered by a variety of shortcuts, for example, three-finger up-slide operation and power key + volume key may all implement a screen capture function.
S1200, responding to the first input, and displaying a candidate function identifier corresponding to the first input according to the shortcut database.
In this embodiment, the shortcut database includes information associated with a shortcut and a function of a preset electronic device. The shortcut database of the electronic device may include all pieces of shortcut information that can be supported by various types of electronic devices on the existing market and associated function information corresponding to the shortcuts, which are stored in advance.
In this embodiment, the candidate function corresponding to the first input may be a function corresponding to the first input in the preset type of electronic device. For example, the shortcut of the first input is "three fingers slide up", and after searching and matching, the corresponding functions of the "three fingers slide up" in the shortcut database include screen capture, picture in picture, camera opening, volume up, and the like, and the candidate functions corresponding to the first input include screen capture, picture in picture, camera opening, volume up, and the like.
In this embodiment, after receiving a first input of a user based on an electronic device, the method further includes: in response to the first input, whether function information associated with the first input exists in the electronic device is detected, and in the case that the function information associated with the first input exists in the electronic device, a function corresponding to the first input is executed.
For example, the first input is a shortcut of "three fingers slide up", the electronic device used by the user stores a shortcut of "three fingers slide up" in advance, and the function corresponding to the shortcut of "three fingers slide up" is a screenshot, then, after the user inputs "three fingers slide up", the electronic device executes the corresponding screenshot function.
And under the condition that the function information associated with the first input does not exist in the electronic equipment, displaying a candidate function search prompt, searching the function information corresponding to the first input in the shortcut database to obtain a search result, and determining a candidate function identifier to be displayed according to the search result. For example, as shown in fig. 2, when the first input to the electronic device is "three-finger slide up", and at this time, function information associated with "three-finger slide up" does not exist in the electronic device, a search prompt "the device does not support the gesture, and is searching for …" is displayed on the display interface of the electronic device, and after the search is completed, the search result is displayed, so that the candidate function identifier to be displayed is determined according to the search result.
In this embodiment, determining the candidate function identifier to be displayed according to the search result includes: and determining and displaying a candidate information pair corresponding to the first input according to the preset shortcut of the electronic equipment and the associated information of the function.
In this embodiment, the candidate information pair includes candidate function information corresponding to the first input and a candidate shortcut identifier corresponding to the candidate function information.
In this embodiment, there may be a plurality of candidate information pairs, and each candidate information pair includes candidate function information corresponding to the first input and a candidate shortcut identifier corresponding to the candidate function information. The candidate shortcut is a shortcut which can trigger a corresponding candidate function and is used by the current user.
For example, referring to fig. 2, fig. 2 shows a first operation diagram of a shortcut reminding method, and in fig. 2, candidate function information corresponding to a first input includes: "screen shot", "picture-in-picture", and "camera on", etc., the shortcut identifiers corresponding to the candidate function information include: "double-finger click", "double-finger slide down", "single-finger long press", etc.
In this embodiment, after the candidate information pair is displayed to the user, the user can already know the shortcut of the corresponding function, and then the shortcut for realizing the function requirement of the user can be re-input by returning to the first input interface. Step S1300 may also be performed at the current interface.
It should be noted that, in order to recommend an optimal candidate function to a user, considering that the usage rate of each candidate information for the implemented function is different, in this embodiment, the display order of the candidate information pairs is determined according to the executed rate of the candidate function in each candidate information pair when determining and displaying the candidate information pair corresponding to the first input according to the preset shortcut and function associated information of the electronic device. The executed rate of the candidate function can be obtained through data in the shortcut database, for example, by counting the number of times that the screenshot function and the picture-in-picture function are used by the user, the used rate of the screenshot function is obtained to be greater than that of the picture-in-picture function, and then the screenshot function is placed at the head of the candidate function.
And S1300, receiving a second input of the target function identifier in the candidate function identifiers.
In this embodiment, the target function identifier is an identifier corresponding to a target function that the user selects and wants to execute, and the second input may be a selection operation performed by the user on the target function identifier.
For example, referring to FIG. 2, when the target function selected by the user is identified as "double-finger click," the second input is "double-finger click"; when the target function selected by the user is identified as "two-finger slide down", the second input is "two-finger slide down".
And S1400, responding to the second input, and executing the target function.
In one example, when the second input is "double-finger click", the screen capture function corresponding to "double-finger click" is triggered.
In one example, when the second input is "double finger slide down", the corresponding picture-in-picture function is triggered.
An implementation flow of the present embodiment is described below according to a specific scenario in the case where there is no shortcut corresponding to the first input function in the electronic device. Referring to fig. 2, the method comprises the following steps 201 and 203:
201. and displaying the candidate function search prompt according to the first gesture.
In this embodiment, the first gesture is a first input, for example, when the user is watching a video, and wants to implement a screen capture function by a first gesture of "three fingers slide up", but the shortcut of "three fingers slide up" does not exist in the electronic device currently used by the user, a candidate function based on "three fingers slide up" is obtained by searching a function which may be represented by "three fingers slide up" in the shortcut database.
202. Candidate information pairs corresponding to each candidate function are displayed.
For example, the interface displayed in fig. 2 may include a function description item and a shortcut item, where the function description item includes information as a candidate function and the shortcut item includes information as a target shortcut, that is, a shortcut corresponding to the candidate function in the electronic device currently used by the user. In fig. 2, "screen capture" and "double-finger click" are a candidate pair of information, and "picture-in-picture" and "double-finger slide-down" are a candidate pair of information.
203. And triggering the target function according to the second gesture.
In this embodiment, the second gesture is a second input, and in step 201, the user wants to implement the target function of screen capture, so that the user can implement the target function by inputting a "double-finger click" shortcut corresponding to the screen capture function, perform screen capture operation on the video watched by the user, and store the screen capture. That is, the electronic device matches the second gesture of the user with the target shortcut to implement the candidate function corresponding to the target shortcut.
According to the embodiment, the shortcut reminding interface can be generated under the condition that the shortcut corresponding to the first input of the user does not exist in the electronic equipment currently used by the user, so that the user can quickly know the shortcut of the electronic equipment currently used, the operation desired by the user is realized, the user can be intelligently reminded under the condition that the user does not remember the corresponding shortcut, and the user experience is further improved.
In an application scenario, due to personal operation habits of a user, the user may like to realize a certain function through an operation gesture of a certain shortcut, and therefore, the user experience can be improved through the user-defined shortcut.
The method for realizing the user-defined shortcut comprises the following steps:
s2100, receiving a first input to the electronic device from a user.
S2200, responding to the first input, displaying a candidate function identifier corresponding to the first input according to a shortcut database, wherein the shortcut database comprises preset associated information of the shortcut and the function of the electronic equipment.
The above steps S2100 and S2200 are identical to steps S1100 and S1200, respectively, for providing the candidate function identifier corresponding to the first input to the user.
S2300, receiving a third input of the target function among the candidate functions by the user.
In this embodiment, the third input may be selection of the candidate function identifier or information by the user, so as to meet a requirement of the user for selecting the target function according to the first input, and implement execution of the target function without changing a shortcut use habit.
And S2400, responding to the third input, and associating the target function with the shortcut corresponding to the third input.
For example, the shortcut corresponding to the third input is "three fingers slide up", the target function is "screen capture", the third input may be a click on the "screen capture" target function identifier to select the target function, and the function implemented when the user next triggers the shortcut "three fingers slide up" is "screen capture".
In an example, referring to fig. 3, fig. 3 is a second operation diagram of a shortcut reminding method, and the present embodiment may include the following steps 301 and 303.
301. And displaying the candidate function search prompt according to the second gesture.
For example, if the user is watching a video and wants to realize the screen capture function by the second gesture of "three fingers slide up", but the shortcut of "three fingers slide up" does not exist in the electronic device currently used by the user, a candidate function based on "three fingers slide up" is obtained by searching the function possibly represented by "three fingers slide up" in the shortcut database.
302. And displaying the candidate function information.
For example, the interface displayed in fig. 3 may include all function description items corresponding to the first gesture, where the function description items include information as candidate functions. In fig. 3, the candidate functions may include "screen capture", "picture-in-picture", and "camera on", etc., for selection.
303. And obtaining a new shortcut according to the third gesture.
In this embodiment, the third gesture is a third input, and in step 301, if the user wants to implement the target function of the screen capture, the user may select this function by clicking "screen capture", which indicates that the function corresponding to the shortcut of "three fingers slide up" in the first gesture is defined as "screen capture", that is, the function corresponding to the first finger is the function selected by the third gesture.
The embodiment can realize the self-definition of the shortcut function by providing a plurality of candidate functions for the user to associate the corresponding function for the shortcut corresponding to the first input under the condition that the first input of the user does not exist in the electronic equipment currently used by the user.
In an application scenario, an electronic device manufacturer may preset various shortcuts for a function in consideration of personal operation habits of users to meet the use habits of different users, however, the shortcuts are necessarily different operations, and thus, the situation that one shortcut is too complicated and the operation of the shortcut is simple exists. In order to enable the user to operate the electronic device more simply, the embodiment may further provide the user with a shortcut for operating more simply by means of complexity identification to improve the user experience.
Specifically, the method comprises the following steps:
and S3100, receiving a fourth input of the electronic device by the user.
S3200, in response to the fourth input, determining a first preset shortcut corresponding to the fourth input and first preset function information corresponding to the first preset shortcut.
In this embodiment, the fourth input has a corresponding first preset shortcut, which indicates that the fourth input shortcut is a shortcut existing in the electronic device currently used by the user, and then the first preset shortcut also has a corresponding first preset function. For example, if the fourth input is a gesture of "three fingers slide up", the first preset shortcut is a "three fingers slide up" operation, and a function corresponding to the "three fingers slide up" operation in the electronic device is a screenshot function, and the first preset function information is a screenshot function.
And S3300, obtaining a target shortcut according to the operation complexity of the first preset shortcut and the operation complexity of the candidate shortcut, and displaying the target shortcut identifier.
In this embodiment, the candidate shortcuts include all shortcuts that can trigger the first preset function in the electronic device. For example, in one example, the first preset function is a screenshot function, and the shortcut device that can implement the screenshot function in the electronic device currently used by the user also has "single-finger double click" and "double-finger circle", so that the candidate shortcuts include shortcuts corresponding to "single-finger double click" and "double-finger circle".
In one embodiment, the operation complexity can be determined by the operation steps of the shortcut, the time required for the operation to be completed, the number of gestures involved in the shortcut, and the like.
For example, the first preset shortcut is "three fingers slide up", and the candidate shortcuts include "single finger double click" and "double finger circle drawing". The time required for the three fingers to slide up is 0.02 second, the time required for the single finger to double click is 0.01 second, and the time required for the double finger to draw a circle is 0.03 second, so that the target shortcut can be determined to be the single finger to double click.
After the target shortcut is determined, the user can select the target shortcut to replace the first preset shortcut corresponding to the fourth input according to the own use habit, so that the simplest shortcut is kept to realize the first preset function in the subsequent operation. The user can also keep the current use habit and refuse to replace the first preset shortcut corresponding to the fourth input by the target shortcut.
And S3400, receiving a fifth input of the target shortcut identifier by the user.
In one embodiment, the fifth input is consistent with the operation corresponding to the target shortcut, for example, the target shortcut is "single-finger double-click", then the fifth input is "single-finger double-click", that is, the user operates the target shortcut in the page where the target shortcut is displayed, and then the function corresponding to the target shortcut takes effect.
And S3500, responding to the fifth input, executing the first preset function, and associating the first preset function with the target shortcut.
That is, after the first preset function is executed, the first preset function and the target shortcut are associated with each other, and in a later operation, when the input of the user coincides with the target shortcut, the corresponding function executed is the first preset function.
The embodiment can push the shortcut with the simplest operation for the user by comparing the operation complexity of the shortcut input by the user, so that the user can operate more conveniently.
In an example, referring to fig. 4, fig. 4 is a third operation diagram of a shortcut reminding method, and the present embodiment may include the following steps 401 and 403.
401. And recognizing a fourth gesture of the user, and determining a first preset function.
In this embodiment, the fourth gesture is a fourth input, for example, the user is watching a video, and the screen capture function is implemented by the first gesture of "sliding up the three fingers", and then the first preset function is the screen capture function.
402. And determining the target shortcut according to the first preset function.
Illustratively, the shortcut corresponding to the screen capturing function can be obtained by obtaining all fast shortcuts of the electronic device itself and the functions realized by the shortcut, for example, the target shortcut is a 'single-finger double-click', and the shortcut of the 'single-finger double-click' is displayed through the electronic terminal, wherein the operation complexity of the target shortcut is less than the operation complexity corresponding to the first gesture.
403. And according to the fifth gesture, realizing a first preset function by using the target shortcut.
The fifth gesture is consistent with the operation corresponding to the target shortcut, for example, the target shortcut is "single-finger double click", and then the fifth gesture is "single-finger double click", so that the function corresponding to the target shortcut is enabled to take effect, that is, the screenshot function is realized.
The embodiment can push the shortcut with the simplest operation for the user by comparing the operation complexity of the shortcut input by the user, so that the user can operate more conveniently.
In an application scenario, if a certain shortcut is preset to implement a specific function, but a user forgets the function corresponding to the shortcut in the current use state or mistakenly touches the shortcut, so that the electronic device executes the function corresponding to the shortcut, which may affect the use feeling of the user. In view of this, the present embodiment further provides a method for prompting a shortcut that can correct a function of the shortcut, including:
s4100, receiving a sixth input from the user to the electronic device.
S4200, responding to the sixth input, executing a second preset function corresponding to the sixth input, and detecting whether a second preset shortcut corresponding to the sixth input is the first operation of the electronic device by a user.
In this embodiment, the sixth input has a corresponding second preset shortcut, which indicates that the shortcut of the sixth input is a shortcut existing in the electronic device currently used by the user, and then the second preset shortcut also has a corresponding second preset function. For example, if the sixth input is a gesture of "three fingers slide up", the second preset shortcut is a "three fingers slide up" operation, and a function corresponding to the "three fingers slide up" operation in the electronic device is a screenshot function, and the second preset function is a screenshot function.
S4300, acquiring scene information of the electronic equipment under the condition that the second preset shortcut is the first operation of the user based on the electronic equipment.
In this embodiment, if the shortcut mode input by the user is frequently used, it is characterized that the user is a second preset function corresponding to the shortcut mode input by the user, and if the shortcut mode input by the user is used for the first time, there is a possibility that the user wants to adapt to the current scene through a new shortcut mode in the current scene, and then scene information of the electronic device is obtained.
In this embodiment, the obtaining of the scene information of the electronic device may be determined by obtaining operation information of the electronic device, for example, the electronic device may receive a new notification message, such as a short message, a weather reminder, a memo reminder, and the like.
And S4400, determining recommendation function information matched with the scene information under the condition that the second preset function information is not matched with the scene information, and displaying the recommendation function information.
For example, when the electronic device receives a short message, the user performs a "three-finger slide up" operation, which indicates that the user wants to open a short message interface by "three-finger slide up" when receiving the short message, so as to view the content of the short message. And the "three-finger up-sliding" operation is a shortcut that the user operates on the electronic device for the first time. However, the preset function of the 'three fingers slide up' operation on the electronic device is screen capture, that is, the second preset function information is screen capture, and the scene information at this time is an open short message, which indicates that the second preset function information is not matched with the scene information.
Therefore, the recommended function information can be determined to be the open short message according to the current scene, and in one example, the function of "three fingers slide up" can be changed from screen capture to picture-in-picture by popping up a correction window, so that the short message can be viewed in the small window of the picture-in-picture.
In this embodiment, the recommendation function of the second preset shortcut is obtained according to the scene information of the electronic device. For example, if the current electronic device is playing media audio, but the volume may suddenly exceed the safe range due to a false touch, the recommended function of the second preset shortcut may be a volume reduction function.
In a feasible example, the scene information of the electronic device may further include information such as a current chat interface of the electronic device, so as to obtain a purpose of the user, for example, if the current chat message is "i get one self", then the camera is opened for the second preset shortcut purpose, so as to recommend opening the camera function, and display the corresponding shortcut.
After the recommended functions corresponding to the sixth input are displayed, the user can judge whether the operation is the operation that the user wants, if the operation is not the purpose that the user wants, the user can exit the interface, and if the user really wants to correct the function of the shortcut of the sixth input, the user can select one of the recommended functions as the target function and realize the corresponding requirement through the target function.
Specifically, the method may include:
s4500, a seventh input to the target function information in the recommended function information is received.
S4600, in response to the seventh input, performs the target function.
S4700, establishing an association relation between the target function information and the second preset shortcut to obtain the updated second preset shortcut.
In this embodiment, the seventh input may be selection of a recommended function to obtain a target function, and after the target function is determined, the function of the second preset shortcut of the electronic device is changed from the second preset function to the target function to obtain an updated second preset shortcut. If the user triggers the second preset shortcut again next time, the popup window with the correction function is not generated based on the second preset shortcut because the popup window does not appear on the electronic equipment for the first time.
It should be noted that, since the second preset shortcut is pre-stored in the electronic device, after receiving a seventh input of the target function information in the recommended function information, the execution data corresponding to the sixth input is deleted, and the target function corresponding to the seventh input is executed.
That is, when the user first triggers the second preset shortcut, the corresponding function is executed based on the second preset shortcut, for example, screenshot information is generated. However, after the seventh input of the user is received and the function of the second preset shortcut is corrected, the screenshot before correction is automatically cancelled.
In an example, referring to fig. 5, fig. 5 is a fourth operation diagram of a shortcut reminding method in the present embodiment, and the present embodiment may include the following steps 501 and 503.
501. And identifying a sixth gesture of the user and executing a function corresponding to the sixth gesture.
For example, if the sixth gesture is a shortcut of "three fingers slide up", and the function corresponding to the shortcut is screenshot, the screenshot function is executed, and screenshot information is generated.
502. And generating a recommendation function and displaying the recommendation function.
Detecting whether the sixth gesture appears on the electronic equipment for the first time, if so, acquiring the current operation state of the electronic equipment, for example, if the current operation state is that a short message is received, generating a recommendation function including picture-in-picture, displaying the recommendation function including picture-in-picture on a current page, and reminding a user whether to replace a screenshot function by using a corresponding function in the recommendation function.
503. And correcting the second preset function according to the seventh gesture.
The seventh gesture is a selection of a recommended function to get the target function, for example, the seventh gesture is a click on a position where "picture in picture" in the recommended function is located. The function that the user wants to replace the shortcut function corresponding to the sixth gesture with the "picture-in-picture" function is represented to update the shortcut function corresponding to the fifth gesture, i.e. correct the second preset function. At the same time, the screenshot generated in step 501 is cancelled.
According to the embodiment, the function correction can be performed on the shortcut appearing on the electronic equipment for the first time through the operation state of the current electronic equipment and the scene input by the user, the selection of the corresponding correction function is provided for the user, the actual use scene of the user is better met, the shortcut reminding function is enriched, and the user experience is further improved.
It should be noted that in the shortcut reminding method provided in this embodiment, the execution main body may be a shortcut reminding device, or alternatively, a control module in the shortcut reminding device for executing the method for loading the shortcut reminding. In this embodiment, a method for executing a shortcut reminding method by a shortcut reminding device is taken as an example to explain the shortcut reminding method provided in this embodiment.
The present embodiment further provides a shortcut reminding device 600, referring to fig. 6, the device includes:
the first data acquisition module 601 is configured to receive a first input of the electronic device from a user;
a data processing module 602, configured to respond to the first input, and display a candidate function identifier corresponding to the first input according to a shortcut database, where the shortcut database includes associated information of a shortcut and a function of a preset electronic device;
a second data obtaining module 603, configured to receive a second input of a target function identifier in the candidate function identifiers;
an execution module 604 for executing a target function in response to the second input.
In one example, the data processing module 602 is further configured to detect, in response to the first input, whether function information associated with the first input is present in the electronic device; executing a function corresponding to the first input if function information associated with the first input exists in the electronic device; and under the condition that the function information associated with the first input does not exist in the electronic equipment, displaying a candidate function search prompt, searching the function information corresponding to the first input in the shortcut database to obtain a search result, and determining a candidate function identifier to be displayed according to the search result.
In an example, the data processing module 602 is further configured to determine and display a candidate information pair corresponding to the first input according to the preset shortcut and function association information of the electronic device; wherein the candidate information pair comprises candidate function information corresponding to the first input and a candidate shortcut identifier corresponding to the candidate function information.
In one example, the data processing module 602 is further configured to determine the display order of the candidate information pairs according to the executed rate of the candidate functions in each of the candidate information pairs.
In one example, the second data obtaining module 603 is configured to receive a third input of the target function from the user; and responding to the third input, and associating the target function with the shortcut corresponding to the third input.
In an example, the first data obtaining module 601 is configured to receive a fourth input of the electronic device from the user; the data processing module 602 is configured to determine, in response to the fourth input, a first preset shortcut corresponding to the fourth input and first preset function information corresponding to the first preset shortcut; the data processing module 602 is configured to obtain a target shortcut according to the operation complexity of the first preset shortcut and the operation complexity of the candidate shortcut, and display the target shortcut identifier; a second data obtaining module 603, configured to receive a fifth input of the target shortcut identifier by the user. An executing module 604, configured to execute the first preset function in response to the fifth input, and associate the first preset function with the target shortcut.
In an example, the first data obtaining module 601 is configured to receive a sixth input of the electronic device from the user; the data processing module 602 is configured to, in response to the sixth input, execute a second preset function corresponding to the sixth input, and detect whether a second preset shortcut corresponding to the sixth input is a first operation of the electronic device by the user; and acquiring scene information of the electronic equipment under the condition that the second preset shortcut is the first operation of the user based on the electronic equipment. And under the condition that the second preset function information is not matched with the scene information, determining recommended function information matched with the scene information, and displaying the recommended function information.
In an example, the second data obtaining module 603 is configured to receive a seventh input of the target function information in the recommended function information; an execution module 604 for executing a target function in response to the seventh input; and establishing an incidence relation between the target function information and the second preset shortcut to obtain the updated second preset shortcut.
In one example, the data processing module 602 is further configured to delete the execution data corresponding to the sixth input and execute the target function corresponding to the seventh input after receiving the seventh input of the target function information in the recommended function information.
According to the embodiment, the shortcut reminding interface can be generated under the condition that the shortcut corresponding to the first input of the user does not exist in the electronic equipment currently used by the user, so that the user can quickly know the shortcut of the electronic equipment currently used, the operation desired by the user is realized, the user can be intelligently reminded under the condition that the user does not remember the corresponding shortcut, and the user experience is further improved.
The shortcut reminding device in this embodiment may be a device, or may be a component, an integrated circuit, or a chip in the terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment is not particularly limited.
The shortcut reminding device in this embodiment may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which is not specifically limited in this embodiment.
The shortcut reminding device provided in this embodiment can implement each process implemented by the shortcut reminding device in the method embodiments of fig. 1 to fig. 5, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 7, which is a schematic view of an electronic device provided in this embodiment, this embodiment further provides anelectronic device 700, which includes aprocessor 701, amemory 702, and a program or an instruction stored in thememory 702 and capable of running on the processor 110, and when the program or the instruction is executed by theprocessor 701, the process of the above embodiment of the shortcut notification method is implemented, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
It should be noted that the electronic device in this embodiment includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing the embodiment.
Theelectronic device 1000 includes, but is not limited to: aradio frequency unit 1001, anetwork module 1002, an audio output unit 1003, aninput unit 1004, asensor 1005, adisplay unit 1006, auser input unit 1007, aninterface unit 1008, amemory 1009, and aprocessor 1010.
Those skilled in the art will appreciate that theelectronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to theprocessor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. Drawing (A)xThe electronic device structures shown in the figures do not constitute limitations of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
Aprocessor 1010 configured to receive a first input to an electronic device from a user; responding to the first input, and displaying candidate function identification corresponding to the first input according to a shortcut database, wherein the shortcut database comprises associated information of shortcuts and functions of preset electronic equipment; receiving a second input of a target function identifier in the candidate function identifiers; in response to the second input, a target function is executed.
In one example,processor 1010 is configured to, after receiving a first input to an electronic device from a user, detect whether function information associated with the first input is present in the electronic device in response to the first input; executing a function corresponding to the first input if function information associated with the first input exists in the electronic device; and under the condition that the function information associated with the first input does not exist in the electronic equipment, displaying a candidate function search prompt, searching the function information corresponding to the first input in the shortcut database to obtain a search result, and determining a candidate function identifier to be displayed according to the search result.
In one example, theprocessor 1010 is configured to determine and display a candidate information pair corresponding to the first input according to the association information of the preset shortcut and the function of the electronic device; wherein the candidate information pair comprises candidate function information corresponding to the first input and a candidate shortcut identifier corresponding to the candidate function information.
In one example, theprocessor 1010 is configured to determine the display order of the candidate information pairs according to the executed rate of the candidate functions in each of the candidate information pairs.
In one example, theprocessor 1010 is configured to receive a first input to an electronic device from a user; responding to the first input, and displaying candidate function identification corresponding to the first input according to a shortcut database, wherein the shortcut database comprises associated information of shortcuts and functions of preset electronic equipment; receiving a third input of a target function in the candidate functions from the user; and responding to the third input, and associating the target function with the shortcut corresponding to the third input.
In one example, theprocessor 1010 is configured to receive a fourth input from the user to the electronic device; responding to the fourth input, and determining a first preset shortcut corresponding to the fourth input and first preset function information corresponding to the first preset shortcut; obtaining a target shortcut according to the operation complexity of the first preset shortcut and the operation complexity of the candidate shortcut, and displaying the target shortcut identification; receiving a fifth input of the target shortcut identification by the user; and responding to the fifth input, executing the first preset function, and associating the first preset function with the target shortcut.
In one example, theprocessor 1010 is configured to receive a sixth input from the user to the electronic device; responding to the sixth input, executing a second preset function corresponding to the sixth input, and detecting whether a second preset shortcut corresponding to the sixth input is the first operation of the electronic equipment by the user; acquiring scene information of the electronic equipment under the condition that the second preset shortcut is the first operation of the user based on the electronic equipment; and under the condition that the second preset function information is not matched with the scene information, determining recommended function information matched with the scene information, and displaying the recommended function information.
In one example, theprocessor 1010 is configured to receive a seventh input of target function information in the recommended function information; in response to the seventh input, performing a target function; and establishing an incidence relation between the target function information and the second preset shortcut to obtain the updated second preset shortcut.
In one example, theprocessor 1010 is configured to delete the execution data corresponding to the sixth input and execute the target function corresponding to the seventh input after the receiving of the seventh input of the target function information in the recommended function information.
According to the embodiment, the shortcut reminding interface can be generated under the condition that the shortcut corresponding to the first input of the user does not exist in the electronic equipment currently used by the user, so that the user can quickly know the shortcut of the electronic equipment currently used, the operation desired by the user is realized, the user can be intelligently reminded under the condition that the user does not remember the corresponding shortcut, and the user experience is further improved.
It is to be understood that, in the present embodiment, theinput Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and amicrophone 10042, and theGraphics Processing Unit 10041 processes image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. Thedisplay unit 1006 may include adisplay panel 10061, and thedisplay panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. Theuser input unit 1007 includes atouch panel 10071 andother input devices 10072. Thetouch panel 10071 is also referred to as a touch screen. Thetouch panel 10071 may include two parts, a touch detection device and a touch controller.Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Thememory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated intoprocessor 1010.
The present embodiment further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing shortcut reminding method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The present embodiment further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the shortcut reminding method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the present embodiment may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.