CN106843675B - Method and device for generating shortcut - Google Patents

Method and device for generating shortcut Download PDF

Info

Publication number
CN106843675B
CN106843675B CN201611216978.7A CN201611216978A CN106843675B CN 106843675 B CN106843675 B CN 106843675B CN 201611216978 A CN201611216978 A CN 201611216978A CN 106843675 B CN106843675 B CN 106843675B
Authority
CN
China
Prior art keywords
shortcut
sub
sequence
operation information
generating
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.)
Expired - Fee Related
Application number
CN201611216978.7A
Other languages
Chinese (zh)
Other versions
CN106843675A (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.)
TP Link Technologies Co Ltd
Original Assignee
TP Link Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN201611216978.7A priority Critical patent/CN106843675B/en
Publication of CN106843675A publication Critical patent/CN106843675A/en
Application granted granted Critical
Publication of CN106843675B publication Critical patent/CN106843675B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The invention discloses a method and a device for generating a shortcut. The method for generating the shortcut comprises the following steps: detecting the operation of a user on at least one application, and generating operation information corresponding to each operation; wherein each piece of operation information comprises an application identifier of the corresponding application; classifying the operation information according to the application identification in each operation information to obtain a sub-operation sequence corresponding to each application; the operation information in each sub-operation sequence is arranged according to the sequence of the generation time; arranging all the sub-operation sequences according to a preset arrangement rule to obtain a total operation sequence; and generating a shortcut corresponding to the total operation sequence. By adopting the method and the device, the shortcut comprising the user operation information after the application is started and before the application is closed can be generated, the shortcut can reduce the operations required by the user to the greatest extent, and the user experience is improved.

Description

Method and device for generating shortcut
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for generating shortcuts.
Background
In the use process of daily functions/applications, a user often needs to repeatedly perform some operations, for example, if a user needs to sequentially open application programs such as a chat tool, a mailbox, a news client and the like after opening a computer every day on duty, the user needs to click three icons every day to open the three application programs, the operation is complicated, and the user experience is poor.
The existing technical solution to solve this problem is provided by the patent application with application number cn201410166827. The technical scheme is mainly realized by recording operation information and operation sequence of a user in the mobile terminal when operating each function/application program, generating a corresponding queue and further generating a shortcut capable of starting the queue. The technical scheme is mainly characterized in that:
1) the recording object sets operation information for a function or application operation information. The function setting operation comprises setting a network connection state of the mobile terminal, setting the volume of the mobile terminal, setting a state mode of the mobile terminal, setting screen brightness of the mobile terminal and the like; the application operation includes opening an application and the like.
In particular, the unrecorded content includes some immaterial operations to the mobile terminal, such as switching a desktop, sliding a list, etc.; the unrecorded content also includes some irreversible operations, such as uninstalling an application or deleting a file; the unrecorded content also includes related application operations after the application program is started and before the application program is closed;
2) the operation information is recorded in sequence, and the shortcut is executed in the recorded sequence when being started. Wherein after executing an application operating message in the queue, the next operating message is executed if and only if the application shutdown is detected.
Therefore, the shortcut generated by the prior art scheme cannot record the operation of the user after the application is opened and before the application is closed, for example, if a user wants to listen to music each time, after clicking the icon of the music player, the device automatically opens the music player, automatically adjusts the volume to an appropriate volume, and automatically clicks the music play key to start playing the current song, the effect that the user wants to obtain cannot be achieved by adopting the prior art scheme.
Disclosure of Invention
The invention provides a method and a device for generating a shortcut, which can generate the shortcut comprising user operation information after an application is started and before the application is closed, and the shortcut can reduce the operations required by a user to a great extent and improve the user experience.
The method for generating the shortcut, provided by the invention, specifically comprises the following steps:
detecting the operation of a user on at least one application, and generating operation information corresponding to each operation; wherein each piece of operation information comprises an application identifier of the corresponding application;
classifying the operation information according to the application identification in each operation information to obtain a sub-operation sequence corresponding to each application; the operation information in each sub-operation sequence is arranged according to the sequence of the generation time;
arranging all the sub-operation sequences according to a preset arrangement rule to obtain a total operation sequence;
and generating a shortcut corresponding to the total operation sequence.
Further, the method for generating the shortcut further includes:
when a recording stopping instruction sent by the user is received, stopping detecting all the operations; alternatively, the first and second electrodes may be,
and when detecting that the operation time of the user on the current application exceeds a preset time threshold, stopping detecting all the operations.
Further, the classifying the operation information according to the application identifier in each operation information to obtain a sub-operation sequence corresponding to each application specifically includes:
and storing the operation information into the sub-operation sequence corresponding to the application identifier according to the application identifier in each generated operation information.
Furthermore, each piece of operation information also comprises corresponding operation delay time of the operation;
after the classifying the operation information according to the application identifier in each of the operation information and obtaining the sub-operation sequence corresponding to each of the applications, the method further includes:
detecting a time modification operation of the user on the operation information in the sub-operation sequence;
and modifying the operation delay time in the corresponding operation information according to the time modification operation.
Further, the arranging all the sub-operation sequences according to a preset arrangement rule to obtain a total operation sequence specifically includes:
and serially arranging all the sub-operation sequences according to the sequence of the generation time of the first operation information in the sub-operation sequences to obtain the total operation sequence.
Further, after the serially arranging all the sub-operation sequences according to the sequence of the generation time of the first operation information in the sub-operation sequences to obtain the total operation sequence, the method further includes:
and modifying the arrangement relation of at least two sub-operation sequences into a parallel relation according to the parallel setting operation of the user on the arrangement relation of at least two sub-operation sequences in the arranged sub-operation sequences.
Further, after the arranging all the sub-operation sequences according to a preset arrangement rule to obtain a total operation sequence, the method further includes:
detecting special information adding operation of the user, and adding corresponding special operation information at a corresponding position in the total operation sequence according to the special information adding operation; wherein the special operation information at least comprises one of the following: restart operation information, shutdown operation information, and unlock operation information.
Further, the generating a shortcut corresponding to the total operation sequence specifically includes:
setting a trigger mode corresponding to the total operation sequence;
and generating the shortcut according to the triggering mode and the total operation sequence.
Further, after the generating the shortcut corresponding to the overall operation sequence, the method further includes:
and when the triggering mode executed by the user is detected, triggering the shortcut and sequentially executing each sub-operation sequence in the total operation sequence.
Correspondingly, the invention also provides a device for generating the shortcut, which specifically comprises the following steps:
the operation information generation module is used for detecting the operation of a user on at least one application and generating operation information corresponding to each operation; wherein each piece of operation information comprises an application identifier of the corresponding application;
a sub-operation sequence obtaining module, configured to classify the operation information according to the application identifier in each piece of operation information, and obtain a sub-operation sequence corresponding to each application; the operation information in each sub-operation sequence is arranged according to the sequence of the generation time;
a total operation sequence obtaining module, configured to arrange all the sub-operation sequences according to a preset arrangement rule to obtain a total operation sequence; and the number of the first and second groups,
and the shortcut generation module is used for generating a shortcut corresponding to the total operation sequence.
Further, the apparatus for generating a shortcut further includes:
the first recording stopping module is used for stopping detecting all the operations when receiving a recording stopping instruction sent by the user; alternatively, the first and second electrodes may be,
and the second recording stopping module is used for stopping detecting all the operations when detecting that the operation time of the user on the current application exceeds a preset time threshold.
Further, the sub-operation sequence obtaining module specifically includes:
and the operation information storage unit is used for storing the operation information into the sub-operation sequence corresponding to the application identifier according to the application identifier in each generated operation information.
Furthermore, each piece of operation information also comprises corresponding operation delay time of the operation;
the apparatus for generating the shortcut further includes:
a time modification operation detection module, configured to detect a time modification operation performed by the user on the operation information in the sub-operation sequence; and the number of the first and second groups,
and the operation delay time modification module is used for modifying the operation delay time in the corresponding operation information according to the time modification operation.
Further, the total operation sequence obtaining module specifically includes:
and the sub-operation sequence serial arrangement unit is used for serially arranging all the sub-operation sequences according to the sequence of the generation time of the first operation information in the sub-operation sequences to obtain the total operation sequence.
Further, the apparatus for generating a shortcut further includes:
and the sub-operation sequence parallel setting module is used for modifying the arrangement relation of at least two sub-operation sequences into the parallel relation according to the parallel setting operation of the arrangement relation of at least two sub-operation sequences in the arranged sub-operation sequences by the user.
Further, the apparatus for generating a shortcut further includes:
a special operation information adding module, configured to detect a special information adding operation of the user, and add corresponding special operation information at a corresponding position in the total operation sequence according to the special information adding operation; wherein the special operation information at least comprises one of the following: restart operation information, shutdown operation information, and unlock operation information.
Further, the shortcut generation module specifically includes:
a trigger mode setting unit for setting a trigger mode corresponding to the total operation sequence; and the number of the first and second groups,
and the shortcut obtaining unit is used for generating the shortcut according to the triggering mode and the total operation sequence.
Further, the apparatus for generating a shortcut further includes:
and the shortcut operation module is used for triggering the shortcut when detecting that the user executes the triggering mode and sequentially executing each sub-operation sequence in the total operation sequence.
The implementation of the invention has the following beneficial effects:
according to the method and the device for generating the shortcut, the corresponding operation information is generated by detecting and recording all operations of the user on each application in the equipment, the corresponding operation sequence is generated according to the generated operation information, and the corresponding shortcut is further generated, so that the shortcut comprising all user operation information after the application is opened and before the application is closed can be generated. The shortcut can not only open and close the application, but also operate the menu, function and the like in the application, so that on one hand, the operation required by the user can be reduced to a great extent, on the other hand, the operation of each application can be smoothly and automatically executed, the running speed of the shortcut is improved, and the user experience is improved.
Drawings
FIG. 1 is a flowchart illustrating a method for generating a shortcut provided by the present invention;
FIG. 2 is a schematic structural diagram of an overall operational sequence in one embodiment of a shortcut generation method provided by the present invention;
FIG. 3 is a diagram illustrating the structure of an overall operation sequence without parallel sub-operation sequences in an embodiment of the shortcut generation method provided in the present invention;
FIG. 4 is a diagram illustrating the structure of an overall operation sequence including parallel sub-operation sequences in an embodiment of the shortcut generation method provided in the present invention;
FIG. 5 is a schematic diagram of the structure of a shortcut in an embodiment of the method for generating a shortcut provided by the present invention;
fig. 6 is a schematic structural diagram of an embodiment of a shortcut generation apparatus provided by the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of an embodiment of a method for generating a shortcut provided by the present invention is shown, which includes steps S11 to S14, specifically as follows:
s11: detecting the operation of a user on at least one application, and generating operation information corresponding to each operation; wherein each piece of operation information comprises an application identifier of the corresponding application;
s12: classifying the operation information according to the application identification in each operation information to obtain a sub-operation sequence corresponding to each application; the operation information in each sub-operation sequence is arranged according to the sequence of the generation time;
s13: arranging all the sub-operation sequences according to a preset arrangement rule to obtain a total operation sequence;
s14: and generating a shortcut corresponding to the total operation sequence.
It should be noted that, in the embodiment of the present invention, by detecting and recording the operations of the user on each application in the device, and arranging the recorded operations according to a certain arrangement rule, a corresponding operation sequence is obtained, and finally, a corresponding shortcut is generated.
In a preferred embodiment, the device starts detecting and recording user operations on the various applications in the device upon detecting that the user has clicked the "start recording" button. The device generates corresponding operation information every time the device detects an operation of the user, wherein the operation information comprises an application identification code of the operated application, the generation time of the operation information and the like. After the device stops detecting the user operation according to the stop instruction of the user or automatically stops detecting the user operation, the device classifies the operation information according to the application identification in each operation information, divides the operation information with the same application identification into the same category, and arranges the operation information in each category according to the sequence of the generation time, so that the sub-operation sequence corresponding to each application can be obtained. Obviously, the application has a one-to-one correspondence with the sequence of sub-operations. And then, the equipment arranges the generated sub-operation sequences according to a preset arrangement rule, so that a total operation sequence can be obtained. Finally, the device generates a shortcut corresponding to the overall sequence of operations.
It should be further noted that the device in the present embodiment includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, and the like. The user operation recorded by the device is most of interactive operations, including but not limited to setting functions of the device, starting the application, setting operations and parameters of submenus in the application, deleting files, switching desktops, and the like. The unrecorded user operation is an operation of uninstalling an application or the like to change the device function and the presence state of the application.
For example, after clicking a "start recording" button in the device, a user performs a series of operations as follows: opening a pull-down menu, opening a wireless network, closing the pull-down menu, opening a music player, selecting a light music category in the pull-down menu, clicking a play button, adjusting the volume to 50, clicking a return button to close the music player to a background operation, and clicking a record stop button. After recording the above-mentioned series of operations of the user, the device generates operation information 211 to operation information 213 and operation information 221 to operation information 225 as shown in fig. 2, and divides the 8 pieces of operation information into two categories of application identifier "pull-down menu" and application identifier "music player" according to the application identifier in each piece of operation information, and arranges the operation information in the two categories according to the sequence of the generation time, thereby obtaining the sub-operation sequence 21 and the sub-operation sequence 22. Subsequently, the sub-operation sequence 21 and the sub-operation sequence 22 are arranged according to the sequence of the generation time of the operation information therein, so as to generate a total operation sequence as shown in fig. 2. And finally, generating a corresponding shortcut according to the operation sequence.
The corresponding operation information is generated by detecting and recording all the operations of the user on each application in the equipment, and the corresponding operation sequence is generated according to the generated operation information, so that the corresponding shortcut is generated, and the shortcut comprising all the user operation information after the application is opened and before the application is closed can be generated. The shortcut can not only open and close the application, but also operate the menu, function and the like in the application, so that on one hand, the operation required by the user can be reduced to a great extent, on the other hand, the operation of each application can be smoothly and automatically executed, the running speed of the shortcut is improved, and the user experience is improved.
Further, the method for generating the shortcut further includes:
when a recording stopping instruction sent by the user is received, stopping detecting all the operations; alternatively, the first and second electrodes may be,
and when detecting that the operation time of the user on the current application exceeds a preset time threshold, stopping detecting all the operations.
In addition, there are two methods for stopping the device from detecting the user operation: firstly, the user sends out a recording stopping instruction, and secondly, the equipment automatically detects and controls the stopping. In the first mode, after the user issues a stop recording instruction (e.g., the user clicks the "stop recording" button mentioned above), the device controls to stop the detection and recording of the user operation according to the stop recording instruction. In the second mode, the device detects and records the operation time of the user on the currently opened application in real time, and if the operation time of the user on the current application exceeds a preset time threshold, the user is considered to stop making the shortcut, so that the detection and recording of the user operation are stopped, and the current application is used as the application termination, that is, the operation information before the current application is opened and the operation information for opening the current application are retained, but the operation information after the current application is opened is discarded.
It should be further noted that the first and second modes can be used separately or in combination.
By automatically detecting the operation time of the user on the current application and judging whether to stop the detection and the recording of the user operation according to the operation time, the recording of the user operation is automatically stopped, the generation process of the shortcut is automated, and the operation of the user is reduced.
In another preferred embodiment, the classifying the operation information according to the application identifier in each piece of operation information to obtain a sub-operation sequence corresponding to each application specifically includes:
and storing the operation information into the sub-operation sequence corresponding to the application identifier according to the application identifier in each generated operation information.
In this embodiment, before the shortcut is started, sub-operation sequences corresponding to the respective applications in the device are generated in advance. After the device starts to detect and record the operation of the user, whenever corresponding operation information is generated according to the operation of the user, that is, according to the application identifier in the operation information, the operation information is stored in the sub-operation sequence corresponding to the application identifier. When the device stops detecting and recording the user operation, the final sub-operation sequence which contains all the user operation information and corresponds to each application respectively can be obtained.
Furthermore, each piece of operation information also comprises corresponding operation delay time of the operation;
after the classifying the operation information according to the application identifier in each of the operation information and obtaining the sub-operation sequence corresponding to each of the applications, the method further includes:
detecting a time modification operation of the user on the operation information in the sub-operation sequence;
and modifying the operation delay time in the corresponding operation information according to the time modification operation.
Each piece of generated operation information also includes information such as operation delay time. After the device generates the sub-operation sequences respectively corresponding to the applications according to the operation information, the user can modify the operation delay time in any operation information in any sub-operation sequence. When the device detects that the user modifies the operation delay time in the operation information in the sub-operation sequence, the device modifies the operation delay time in the operation information according to the time modification operation.
It should be further noted that, when the device executes the shortcut, the device executes the operation information after delaying the corresponding time according to the operation delay time in each operation information therein. For example, if the operation delay time in the operation information 225 in the shortcut shown in fig. 2 is modified to 30min by the user, when the device executes the shortcut, after the operation information 224 is executed, the device delays to execute the operation information 225 for 30 minutes, that is, after the volume is adjusted to 50, the music player is turned off to the background after waiting for 30 minutes.
It should be further explained that each operation information further includes information such as a control identifier, an operation type, an operation parameter, and the like, and the device may modify the operation type, the operation parameter, and the like in the corresponding operation information according to the modification operation of the user. The device can also automatically simplify the operation information in the sub-operation sequence according to the selection of the user, and the simplified objects comprise transitional operations such as switching a desktop, sliding a list, opening a menu interface and the like which do not change the function or the parameter setting in the application. For example, after the user enables the auto-reduction for the shortcut as shown in fig. 2, the device automatically deletes the operation information 211 and the operation information 213 therein.
By detecting the time modification operation of the user and modifying the operation delay time in the corresponding operation information according to the time modification operation, the generated shortcut mode can be diversified, and more user requirements can be met.
Further, the arranging all the sub-operation sequences according to a preset arrangement rule to obtain a total operation sequence specifically includes:
and serially arranging all the sub-operation sequences according to the sequence of the generation time of the first operation information in the sub-operation sequences to obtain the total operation sequence.
It should be noted that, after obtaining the sub-operation sequences respectively corresponding to the applications according to the generated operation information, the device performs serial arrangement on the sub-operation sequences according to the generation time of the first operation information in each sub-operation sequence, so as to obtain the total operation sequence.
Further, after the serially arranging all the sub-operation sequences according to the sequence of the generation time of the first operation information in the sub-operation sequences to obtain the total operation sequence, the method further includes:
and modifying the arrangement relation of at least two sub-operation sequences into a parallel relation according to the parallel setting operation of the user on the arrangement relation of at least two sub-operation sequences in the arranged sub-operation sequences.
It should be noted that, after the device performs serial arrangement on the obtained sub-operation sequences and obtains a corresponding total operation sequence, the user may also modify the arrangement relationship of the sub-operation sequences therein into a parallel relationship. The device detects the parallel setting operation of a user in real time, and changes the arrangement relation of at least two corresponding sub-operation sequences from the serial relation to the parallel relation after detecting the parallel setting operation.
Fig. 3 is a schematic diagram of the structure of an overall operation sequence that does not include parallel sub-operation sequences. When the device detects the parallel setting operation of the sub-operation sequence 33 and the sub-operation sequence 34 by the user, the arrangement relationship between the sub-operation sequence 33 and the sub-operation sequence 34 is modified from the serial relationship to the parallel relationship according to the parallel setting operation, and the structural diagram of the total operation sequence including the parallel sub-operation sequences as shown in fig. 4 can be obtained.
By detecting the parallel setting operation of the user and modifying the arrangement relationship of at least two corresponding operation information into the parallel relationship according to the parallel setting operation, the shortcut capable of realizing the concurrent execution of the multiple tasks is generated, the generated shortcut has various styles, more user requirements are met, the execution efficiency of the generated shortcut is greatly improved, and the user experience can be further improved.
Further, after the arranging all the sub-operation sequences according to a preset arrangement rule to obtain a total operation sequence, the method further includes:
detecting special information adding operation of the user, and adding corresponding special operation information at a corresponding position in the total operation sequence according to the special information adding operation; wherein the special operation information at least comprises one of the following: restart operation information, shutdown operation information, and unlock operation information.
It should be noted that for some special user operations, such as restart, shutdown, and unlock, the device may be shut down or enter a standby state or a sleep state, so that the device cannot normally record the user operation, and therefore, a special node needs to be inserted to add the special operation information in the shortcut. After the device generates and obtains the total operation sequence, the user can insert the special node into the total operation sequence, so that the special operation information is added into the total operation sequence. The added special operation information includes, but is not limited to, one or more of restart operation information, shutdown operation information, and unlock operation information. The device detects the special information adding operation (namely the special node inserting operation) of the user in real time, and when the special information adding operation is detected, corresponding special operation information is added at a corresponding position in the total operation sequence according to the special information adding operation.
It should be further noted that the modification editing operations that the user can perform on each sub-operation sequence in the total operation sequence are not limited to the above-mentioned time modification operation, parallel setting operation, special information adding operation, etc., and the user can also move all the sub-operation sequences (sub-operation sequence 511 to sub-operation 513) in a shortcut to another shortcut, thereby obtaining the shortcut shown in fig. 5. When the user starts the shortcut, the sub-operation sequence 511, the sub-operation sequence 521, and the sub-operation sequence 531 are started simultaneously, and the subsequent sub-operation sequences are performed independently of each other without interfering with each other.
Further, the generating a shortcut corresponding to the total operation sequence specifically includes:
setting a trigger mode corresponding to the total operation sequence;
and generating the shortcut according to the triggering mode and the total operation sequence.
It should be noted that, after obtaining the total operation sequence, the device may also bind the generated total operation sequence with a specific operation mode on the device, that is, set a trigger manner corresponding to the total operation sequence, and generate a shortcut corresponding to the total operation sequence and the trigger manner. For example, the triggering manner may be: clicking on a particular icon in the device screen, pressing a key combination, drawing a particular touch screen trace in the device screen, pressing a fingerprint, scanning a particular pattern, and so forth.
Further, after the generating the shortcut corresponding to the overall operation sequence, the method further includes:
and when the triggering mode executed by the user is detected, triggering the shortcut and sequentially executing each sub-operation sequence in the total operation sequence.
It should be noted that after the generated total operation sequence is bound with a certain trigger mode on the device and a corresponding shortcut is generated, when it is detected that the user executes the trigger mode corresponding to the shortcut, the shortcut is triggered, and each sub-operation sequence in the total operation sequence corresponding to the shortcut is executed in sequence or in parallel.
The method for generating the shortcut provided by the embodiment of the invention generates corresponding operation information by detecting and recording all operations of the user on each application in the equipment, generates a corresponding operation sequence according to the generated operation information, and further generates the corresponding shortcut, thereby generating the shortcut comprising all user operation information after the application is opened and before the application is closed. The shortcut can not only open and close the application, but also operate the menu, function and the like in the application, so that on one hand, the operation required by the user can be reduced to a great extent, on the other hand, the operation of each application can be smoothly and automatically executed, the running speed of the shortcut is improved, and the user experience is improved. In some embodiments, the operation time of the user on the current application can be automatically detected, and whether the detection and the recording of the user operation are stopped or not is judged according to the operation time, so that the recording of the user operation is automatically stopped, the generation process of the shortcut is automated, and the user operation is reduced; the generated shortcut mode can be diversified and more user requirements can be met by detecting the time modification operation of the user and modifying the operation delay time in the corresponding operation information according to the time modification operation; the parallel setting operation of the user can be detected, and the arrangement relation of at least two corresponding operation information is modified to be the parallel relation according to the parallel setting operation, so that the shortcut capable of realizing the concurrent execution of the multiple tasks is generated, the generated shortcut has various styles, more user requirements are met, the execution efficiency of the generated shortcut is greatly improved, and the user experience can be further improved.
Correspondingly, the invention also provides a device for generating the shortcut, which can realize all the processes of the method for generating the shortcut in the embodiment.
Referring to fig. 6, it is a schematic structural diagram of an embodiment of a shortcut generation apparatus provided in the present invention, and the specific details are as follows:
an operation information generating module 61, configured to detect an operation of at least one application by a user, and generate operation information corresponding to each of the operations; wherein each piece of operation information comprises an application identifier of the corresponding application;
a sub-operation sequence obtaining module 62, configured to classify the operation information according to the application identifier in each piece of operation information, and obtain a sub-operation sequence corresponding to each application; the operation information in each sub-operation sequence is arranged according to the sequence of the generation time;
a total operation sequence obtaining module 63, configured to arrange all the sub-operation sequences according to a preset arrangement rule to obtain a total operation sequence; and the number of the first and second groups,
and a shortcut generation module 64 for generating a shortcut corresponding to the overall operation sequence.
Further, the apparatus for generating a shortcut further includes:
the first recording stopping module is used for stopping detecting all the operations when receiving a recording stopping instruction sent by the user; alternatively, the first and second electrodes may be,
and the second recording stopping module is used for stopping detecting all the operations when detecting that the operation time of the user on the current application exceeds a preset time threshold.
In another preferred embodiment, the sub-operation sequence obtaining module 62 specifically includes:
and the operation information storage unit is used for storing the operation information into the sub-operation sequence corresponding to the application identifier according to the application identifier in each generated operation information.
Furthermore, each piece of operation information also comprises corresponding operation delay time of the operation;
the apparatus for generating the shortcut further includes:
a time modification operation detection module, configured to detect a time modification operation performed by the user on the operation information in the sub-operation sequence; and the number of the first and second groups,
and the operation delay time modification module is used for modifying the operation delay time in the corresponding operation information according to the time modification operation.
Further, the total operation sequence obtaining module 63 specifically includes:
and the sub-operation sequence serial arrangement unit is used for serially arranging all the sub-operation sequences according to the sequence of the generation time of the first operation information in the sub-operation sequences to obtain the total operation sequence.
Further, the apparatus for generating a shortcut further includes:
and the sub-operation sequence parallel setting module is used for modifying the arrangement relation of at least two sub-operation sequences into the parallel relation according to the parallel setting operation of the arrangement relation of at least two sub-operation sequences in the arranged sub-operation sequences by the user.
Further, the apparatus for generating a shortcut further includes:
a special operation information adding module, configured to detect a special information adding operation of the user, and add corresponding special operation information at a corresponding position in the total operation sequence according to the special information adding operation; wherein the special operation information at least comprises one of the following: restart operation information, shutdown operation information, and unlock operation information.
Further, the shortcut generation module 64 specifically includes:
a trigger mode setting unit for setting a trigger mode corresponding to the total operation sequence; and the number of the first and second groups,
and the shortcut obtaining unit is used for generating the shortcut according to the triggering mode and the total operation sequence.
Further, the apparatus for generating a shortcut further includes:
and the shortcut operation module is used for triggering the shortcut when detecting that the user executes the triggering mode and sequentially executing each sub-operation sequence in the total operation sequence.
The device for generating the shortcut provided by the embodiment of the invention generates corresponding operation information by detecting and recording all operations of the user on each application in the equipment, generates a corresponding operation sequence according to the generated operation information, and further generates the corresponding shortcut, thereby being capable of generating the shortcut comprising all user operation information after the application is opened and before the application is closed. The shortcut can not only open and close the application, but also operate the menu, function and the like in the application, so that on one hand, the operation required by the user can be reduced to a great extent, on the other hand, the operation of each application can be smoothly and automatically executed, the running speed of the shortcut is improved, and the user experience is improved. In some embodiments, the operation time of the user on the current application can be automatically detected, and whether the detection and the recording of the user operation are stopped or not is judged according to the operation time, so that the recording of the user operation is automatically stopped, the generation process of the shortcut is automated, and the user operation is reduced; the generated shortcut mode can be diversified and more user requirements can be met by detecting the time modification operation of the user and modifying the operation delay time in the corresponding operation information according to the time modification operation; the parallel setting operation of the user can be detected, and the arrangement relation of at least two corresponding operation information is modified to be the parallel relation according to the parallel setting operation, so that the shortcut capable of realizing the concurrent execution of the multiple tasks is generated, the generated shortcut has various styles, more user requirements are met, the execution efficiency of the generated shortcut is greatly improved, and the user experience can be further improved.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (18)

1. A method for generating a shortcut, comprising:
detecting the operation of a user on at least one application, and generating operation information corresponding to each operation; wherein each piece of operation information comprises an application identifier of the corresponding application;
classifying the operation information according to the application identification in each operation information to obtain a sub-operation sequence corresponding to each application; the operation information in each sub-operation sequence is arranged according to the sequence of the generation time;
arranging all the sub-operation sequences according to a preset arrangement rule to obtain a total operation sequence;
and generating a shortcut corresponding to the total operation sequence.
2. The method for generating a shortcut of claim 1, further comprising:
when a recording stopping instruction sent by the user is received, stopping detecting all the operations; alternatively, the first and second electrodes may be,
and when detecting that the operation time of the user on the current application exceeds a preset time threshold, stopping detecting all the operations.
3. The method for generating a shortcut according to claim 1, wherein the classifying the operation information according to the application identifier in each of the operation information to obtain a sub-operation sequence corresponding to each of the applications specifically comprises:
and storing the operation information into the sub-operation sequence corresponding to the application identifier according to the application identifier in each generated operation information.
4. The method for generating a shortcut of claim 1, wherein each of said operation information further includes an operation delay time of a corresponding said operation;
after the classifying the operation information according to the application identifier in each of the operation information and obtaining the sub-operation sequence corresponding to each of the applications, the method further includes:
detecting a time modification operation of the user on the operation information in the sub-operation sequence;
and modifying the operation delay time in the corresponding operation information according to the time modification operation.
5. The method for generating a shortcut according to claim 1, wherein the step of arranging all the sub-operation sequences according to a preset arrangement rule to obtain a total operation sequence specifically comprises:
and serially arranging all the sub-operation sequences according to the sequence of the generation time of the first operation information in the sub-operation sequences to obtain the total operation sequence.
6. The method for generating a shortcut according to claim 5, wherein after the all the sub-operation sequences are arranged in series according to the sequence of the generation time of the first operation information in the sub-operation sequences, and the total operation sequence is obtained, the method further comprises:
and modifying the arrangement relation of at least two sub-operation sequences into a parallel relation according to the parallel setting operation of the user on the arrangement relation of at least two sub-operation sequences in the arranged sub-operation sequences.
7. The method for generating a shortcut according to claim 1, wherein after said arranging all said sub-operation sequences according to a preset arrangement rule to obtain a total operation sequence, further comprising:
detecting special information adding operation of the user, and adding corresponding special operation information at a corresponding position in the total operation sequence according to the special information adding operation; wherein the special operation information at least comprises one of the following: restart operation information, shutdown operation information, and unlock operation information.
8. The method for generating a shortcut according to claim 1, wherein the generating a shortcut corresponding to the overall operation sequence specifically includes:
setting a trigger mode corresponding to the total operation sequence;
and generating the shortcut according to the triggering mode and the total operation sequence.
9. The method for generating a shortcut of claim 8, further comprising, after said generating a shortcut corresponding to said overall sequence of operations:
and when the triggering mode executed by the user is detected, triggering the shortcut and sequentially executing each sub-operation sequence in the total operation sequence.
10. An apparatus for generating a shortcut, comprising:
the operation information generation module is used for detecting the operation of a user on at least one application and generating operation information corresponding to each operation; wherein each piece of operation information comprises an application identifier of the corresponding application;
a sub-operation sequence obtaining module, configured to classify the operation information according to the application identifier in each piece of operation information, and obtain a sub-operation sequence corresponding to each application; the operation information in each sub-operation sequence is arranged according to the sequence of the generation time;
a total operation sequence obtaining module, configured to arrange all the sub-operation sequences according to a preset arrangement rule to obtain a total operation sequence; and the number of the first and second groups,
and the shortcut generation module is used for generating a shortcut corresponding to the total operation sequence.
11. The apparatus for generating a shortcut of claim 10, further comprising:
the first recording stopping module is used for stopping detecting all the operations when receiving a recording stopping instruction sent by the user; alternatively, the first and second electrodes may be,
and the second recording stopping module is used for stopping detecting all the operations when detecting that the operation time of the user on the current application exceeds a preset time threshold.
12. The apparatus for generating a shortcut of claim 10, wherein the sub-operation sequence obtaining module specifically comprises:
and the operation information storage unit is used for storing the operation information into the sub-operation sequence corresponding to the application identifier according to the application identifier in each generated operation information.
13. The apparatus for generating a shortcut of claim 10, wherein each of said operation information further includes an operation delay time of a corresponding said operation;
the apparatus for generating the shortcut further includes:
a time modification operation detection module, configured to detect a time modification operation performed by the user on the operation information in the sub-operation sequence; and the number of the first and second groups,
and the operation delay time modification module is used for modifying the operation delay time in the corresponding operation information according to the time modification operation.
14. The apparatus for generating a shortcut of claim 10, wherein the overall operation sequence obtaining module specifically comprises:
and the sub-operation sequence serial arrangement unit is used for serially arranging all the sub-operation sequences according to the sequence of the generation time of the first operation information in the sub-operation sequences to obtain the total operation sequence.
15. The apparatus for generating a shortcut of claim 14, further comprising:
and the sub-operation sequence parallel setting module is used for modifying the arrangement relation of at least two sub-operation sequences into the parallel relation according to the parallel setting operation of the arrangement relation of at least two sub-operation sequences in the arranged sub-operation sequences by the user.
16. The apparatus for generating a shortcut of claim 10, further comprising:
a special operation information adding module, configured to detect a special information adding operation of the user, and add corresponding special operation information at a corresponding position in the total operation sequence according to the special information adding operation; wherein the special operation information at least comprises one of the following: restart operation information, shutdown operation information, and unlock operation information.
17. The apparatus for generating a shortcut of claim 10, wherein the shortcut generation module specifically comprises:
a trigger mode setting unit for setting a trigger mode corresponding to the total operation sequence; and the number of the first and second groups,
and the shortcut obtaining unit is used for generating the shortcut according to the triggering mode and the total operation sequence.
18. The apparatus for generating a shortcut of claim 17, further comprising:
and the shortcut operation module is used for triggering the shortcut when detecting that the user executes the triggering mode and sequentially executing each sub-operation sequence in the total operation sequence.
CN201611216978.7A 2016-12-26 2016-12-26 Method and device for generating shortcut Expired - Fee Related CN106843675B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611216978.7A CN106843675B (en) 2016-12-26 2016-12-26 Method and device for generating shortcut

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611216978.7A CN106843675B (en) 2016-12-26 2016-12-26 Method and device for generating shortcut

Publications (2)

Publication Number Publication Date
CN106843675A CN106843675A (en) 2017-06-13
CN106843675B true CN106843675B (en) 2020-07-28

Family

ID=59136534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611216978.7A Expired - Fee Related CN106843675B (en) 2016-12-26 2016-12-26 Method and device for generating shortcut

Country Status (1)

Country Link
CN (1) CN106843675B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402692B (en) * 2017-07-24 2020-11-17 维沃移动通信有限公司 Mobile terminal operation method and mobile terminal
CN107678641A (en) * 2017-09-08 2018-02-09 维沃移动通信有限公司 A kind of method and mobile terminal into target display interface
CN109976616A (en) * 2019-03-29 2019-07-05 维沃移动通信有限公司 A kind of shortcut generation method and mobile terminal
CN110515533B (en) * 2019-08-20 2021-09-14 Oppo(重庆)智能科技有限公司 Electronic equipment shortcut operation method and device, electronic equipment and storage medium
CN111767108A (en) * 2020-06-28 2020-10-13 Oppo广东移动通信有限公司 Application program label generation method, application interface display method and device
CN112104903A (en) * 2020-08-13 2020-12-18 视联动力信息技术股份有限公司 Service opening method, device, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010043130A1 (en) * 2008-10-14 2010-04-22 华为终端有限公司 Method for generating an optimized mobile terminal’s operation sequence and mobile terminal
CN103064620A (en) * 2012-12-24 2013-04-24 华为终端有限公司 Touch screen operation method and touch screen terminal
CN103814373A (en) * 2011-05-03 2014-05-21 惠普发展公司,有限责任合伙企业 Automatic classification adjustment of recorded actions for automation script
CN105653354A (en) * 2015-12-28 2016-06-08 北京金山安全软件有限公司 Batch processing method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092686B (en) * 2012-12-24 2018-07-03 广东欧珀移动通信有限公司 The method and its mobile terminal of multi-mode operation batch processing based on mobile terminal
CN104021066A (en) * 2014-04-23 2014-09-03 惠州Tcl移动通信有限公司 Mobile terminal operation information recording method, operation method and mobile terminal
US9805079B2 (en) * 2014-08-22 2017-10-31 Xcalar, Inc. Executing constant time relational queries against structured and semi-structured data
CN104699408A (en) * 2015-04-01 2015-06-10 广东欧珀移动通信有限公司 Operation method and device of touch screen and touch device
CN105892910A (en) * 2016-03-28 2016-08-24 努比亚技术有限公司 Mobile terminal control method and device
CN106095538B (en) * 2016-07-01 2019-03-19 天脉聚源(北京)传媒科技有限公司 A kind of method and device of records application program operation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010043130A1 (en) * 2008-10-14 2010-04-22 华为终端有限公司 Method for generating an optimized mobile terminal’s operation sequence and mobile terminal
CN103814373A (en) * 2011-05-03 2014-05-21 惠普发展公司,有限责任合伙企业 Automatic classification adjustment of recorded actions for automation script
CN103064620A (en) * 2012-12-24 2013-04-24 华为终端有限公司 Touch screen operation method and touch screen terminal
CN105653354A (en) * 2015-12-28 2016-06-08 北京金山安全软件有限公司 Batch processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ps中怎样创建和记录动作;jsyon;《https://jingyan.baidu.com/article/fd8044faf079ad5031137af3.html》;20140509;全文 *

Also Published As

Publication number Publication date
CN106843675A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN106843675B (en) Method and device for generating shortcut
CN101770399B (en) Electronic equipment, method and device for switching operating system desktop
CN105094551A (en) Information processing method and electronic equipment
EP4170493B1 (en) Recall service for productivity applications
CN105335224B (en) A kind of application switching method and device
CN102999358A (en) Intelligent program starting method
CN103064620A (en) Touch screen operation method and touch screen terminal
CN103744576A (en) Method and system for achieving operation interfaces of mobile terminal
CN104536694A (en) Method for rapidly starting application of mobile terminal and mobile terminal
CN109960446A (en) It is a kind of to control the method and terminal device that selected object is shown in application interface
CN108829856A (en) The resource of web application preloads method and device in display terminal
CN115983221B (en) Visual RPA table operation recording and automatic executing method and system
CN106131425A (en) A kind of method switching photographic head and mobile terminal
CN106055227A (en) Method for text editing and mobile equipment
CN104021066A (en) Mobile terminal operation information recording method, operation method and mobile terminal
CN105678141A (en) Information exhibiting method and device and terminal
WO2016145707A1 (en) Method and device for adding homepage in smart terminal
CN106055215A (en) Event time recording method and mobile terminal
CN106484517A (en) A kind of changing method, device and intelligent terminal for opening application more
WO2021046718A1 (en) Quick operation method and apparatus based on floating button, and electronic device
CN106648962A (en) Management method and device and intelligent terminal for multi-open application
CN103577060A (en) Data processing method and electronic equipment
CN106653074A (en) Electronic equipment and real-time sound playback method through electronic equipment
CN107844345B (en) Application menu generation method and device
CN105224219B (en) A kind of method and terminal that information is shown

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200728

CF01 Termination of patent right due to non-payment of annual fee