CN109782990B - Instruction recommendation method and device, computer equipment and storage medium - Google Patents

Instruction recommendation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN109782990B
CN109782990B CN201811527595.0A CN201811527595A CN109782990B CN 109782990 B CN109782990 B CN 109782990B CN 201811527595 A CN201811527595 A CN 201811527595A CN 109782990 B CN109782990 B CN 109782990B
Authority
CN
China
Prior art keywords
instruction
preset
initial
grouping
instructions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811527595.0A
Other languages
Chinese (zh)
Other versions
CN109782990A (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.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201811527595.0A priority Critical patent/CN109782990B/en
Publication of CN109782990A publication Critical patent/CN109782990A/en
Application granted granted Critical
Publication of CN109782990B publication Critical patent/CN109782990B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses an instruction recommendation method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring an initial instruction input by a user, and determining a grouping identifier of the initial instruction according to a preset grouping rule; searching a preset latest use instruction library for a first associated target instruction consistent with the grouping identification of the initial instruction; searching a second associated target instruction consistent with the grouping identification of the initial instruction from a preset common instruction library; if the first association target instruction is searched, displaying the first association target instruction in a first user interface; and if the second associated target instruction is searched, displaying the second associated target instruction in a second user interface. The instruction recommending method is based on the development assisting technology, so that the instruction input operation of a user can be facilitated, and the instruction input efficiency of the user is greatly improved.

Description

Instruction recommendation method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an instruction recommendation method and apparatus, a computer device, and a storage medium.
Background
In the prior art, when a user schedules system functions through a terminal, an instruction input operation is usually required. The instruction input system of the existing terminal only has the function of acquiring the instruction input by the user, so that the function of the instruction input system of the existing terminal is single, and the user can input the instruction skillfully and surely only under the condition of being familiar with all the instructions supported by the instruction input system. This makes the user's operation of instruction input very inconvenient, makes the input efficiency of instruction low simultaneously, has seriously influenced user experience. Therefore, how to facilitate the user to input the instruction becomes a problem to be solved urgently.
Disclosure of Invention
The application provides an instruction recommendation method, an instruction recommendation device, computer equipment and a storage medium, which can greatly improve the efficiency of inputting instructions by a user.
In a first aspect, the present application provides an instruction recommendation method, including:
acquiring an initial instruction input by a user, and determining a grouping identifier of the initial instruction according to a preset grouping rule; searching a preset latest use instruction library for a first associated target instruction consistent with the grouping identification of the initial instruction; searching a second associated target instruction consistent with the grouping identification of the initial instruction from a preset common instruction library; if the first association target instruction is searched, displaying the first association target instruction in a first user interface; and if the second associated target instruction is searched, displaying the second associated target instruction in a second user interface.
In a second aspect, the present application provides an instruction recommending apparatus, comprising:
the first acquisition unit is used for acquiring an initial instruction input by a user and determining a grouping identifier of the initial instruction according to a preset grouping rule; the second acquisition unit is used for searching a first associated target instruction consistent with the grouping identification of the initial instruction from a preset recently-used instruction library; the third acquisition unit is used for searching a second associated target instruction consistent with the grouping identification of the initial instruction from a preset common instruction library; the display unit is used for displaying the first associated target instruction in a first user interface if the first associated target instruction is searched; and if the second associated target instruction is searched, displaying the second associated target instruction in a second user interface.
In a third aspect, the present application further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the instruction recommendation method provided in any one of the present applications when executing the computer program.
In a fourth aspect, the present application further provides a storage medium, wherein the storage medium stores a computer program, and the computer program, when executed by a processor, causes the processor to execute any one of the instruction recommendation methods provided in the present application.
The application provides an instruction recommendation method, an instruction recommendation device, computer equipment and a storage medium. The instruction recommending method comprises the steps of determining a grouping identifier of an initial instruction according to a preset grouping rule by acquiring the initial instruction input by a user; searching a preset latest use instruction library for a first associated target instruction consistent with the grouping identification of the initial instruction; searching a second associated target instruction consistent with the grouping identification of the initial instruction from a preset common instruction library; if the first association target instruction is searched, displaying the first association target instruction in a first user interface; and if the second associated target instruction is searched, displaying the second associated target instruction in a second user interface. The instruction recommending method can facilitate the user to input instructions, and greatly improves the efficiency of inputting instructions by the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of an instruction recommendation method according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating an instruction recommendation method according to another embodiment of the present application;
FIG. 3 is a flowchart illustrating an instruction recommendation method according to another embodiment of the present application;
FIG. 4 is a flowchart illustrating sub-steps of a method for instruction recommendation according to yet another embodiment of the present application;
FIG. 5 is a flowchart illustrating sub-steps of a method for instruction recommendation according to yet another embodiment of the present application;
FIG. 6 is a flowchart illustrating an instruction recommendation method according to another embodiment of the present application;
FIG. 7 is a flowchart illustrating an instruction recommendation method according to yet another embodiment of the present application;
FIG. 8 is a schematic block diagram of an instruction recommendation apparatus provided in an embodiment of the present application;
FIG. 9 is a schematic block diagram of an instruction recommendation apparatus according to yet another embodiment of the present application;
FIG. 10 is a schematic block diagram of an instruction recommendation apparatus according to yet another embodiment of the present application;
FIG. 11 is a schematic block diagram of an instruction recommendation apparatus according to yet another embodiment of the present application;
FIG. 12 is a schematic block diagram of an instruction recommendation apparatus according to yet another embodiment of the present application;
FIG. 13 is a schematic block diagram of an instruction recommendation apparatus according to another embodiment of the present application;
FIG. 14 is a schematic block diagram of an instruction recommendation apparatus according to yet another embodiment of the present application;
fig. 15 is a schematic block diagram of a computer device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1, fig. 1 is a flowchart illustrating an instruction recommendation method according to an embodiment of the present disclosure. The instruction recommendation method is applied to the terminal. As shown in fig. 1, the instruction recommending method includes the following steps S110 to S140.
Referring to fig. 2, fig. 2 is a flowchart illustrating an instruction recommendation method according to another embodiment of the present application. In this embodiment, before the step S110, the method further includes a step S110a and a step S110 b.
S110, establishing a latest usage instruction library, wherein the latest usage instruction library comprises a plurality of latest usage instructions, and each latest usage instruction is associated with the latest input time and input frequency of the latest usage instruction.
The embodiment of the invention establishes the latest use instruction library so as to facilitate the user to refer to the related instructions in the latest use instruction library to input the instructions. The latest use instruction library comprises a plurality of latest use instructions, and each latest use instruction is an instruction input by a user within a preset time range. In addition, when a plurality of input instructions of a user are acquired within a preset time range, the input time of each input instruction is recorded, the frequency statistics is carried out on the plurality of input instructions, the frequency statistics is sequentially accumulated for a plurality of times of input of the same instruction, and the input time of the instruction at the latest time is taken as the input time associated with the instruction. For example, 12 instructions input by the user are acquired within the preset time T, and among the 12 instructions input by the user, multiple inputs to the same instruction exist, wherein the user inputs the a1 instruction 3 times, the a2 instruction to the a10 instruction have one input respectively, the latest input time of the a1 instruction of the 2 nd input is identified by TA1, and the latest input times of the a2 instruction to the a10 instruction are respectively represented by TA2 to TA 10. Therefore, the recently used instruction library has the following information:
a1 indicates the latest input time TA1 with input frequency of 3
A2 indicates that the input frequency is 1 when the latest input time is TA2
A3 indicates that the input frequency is 1 when the latest input time is TA3
A4 indicates that the input frequency is 1 when the latest input time is TA4
A5 indicates that the input frequency is 1 when the latest input time is TA5
A6 indicates that the input frequency is 1 when the latest input time is TA6
A7 indicates that the input frequency is 1 when the latest input time is TA7
A8 indicates that the input frequency is 1 when the latest input time is TA8
A9 indicates that the input frequency is 1 when the latest input time is TA9
A10 indicates that the input frequency is 1 when the latest input time is TA10
Wherein, the latest input time has the following relation:
TA1<TA2<TA3<TA4<TA5<TA6<TA7<TA8<TA9<TA10
that is, the TA1 command was first entered by the user, while the TA10 command was the last entered by the user.
S110, determining the grouping identification of each latest usage instruction according to a preset grouping rule.
In the instruction input system of the terminal, the instructions can be divided into different groups according to the functions which can be realized by the instructions, and the different groups correspond to different functions, for example, the instructions are divided into groups for realizing an audio playing function, groups for realizing a video playing function, groups for realizing document operation, groups for realizing a function of acquiring system operation performance parameters, and the like. In the embodiment of the present invention, a preset grouping rule is set, where the preset grouping rule may be a division rule based on functionality, that is, an instruction is divided into different function groups. For the above-mentioned recently-used instruction library, according to a preset grouping rule, the grouping identifiers are determined as follows:
group identification G1: a1, A2, A3
Group identification G2: a4, A5, A6
Group identification G3: a7, A8, A9
Group identification G4: a10
Referring to fig. 3, fig. 3 is a flowchart illustrating an instruction recommendation method according to another embodiment of the present application. In this embodiment, before the step S110, the method further includes a step S110c and a step S110 d.
S110c, establishing a common instruction library, wherein the common instruction library comprises common instructions preset by a plurality of users.
The frequently used instructions can be set as common instructions, so that a user can conveniently check the common instructions, and the instruction input efficiency is improved. For example, 20 general instructions, B1-B20 instructions, may be provided.
S110d, determining the grouping identification of each common instruction according to the preset grouping rule.
For the common instruction library, according to a preset grouping rule, determining the grouping identifiers as follows:
group identification G1: b1, B2, B3 and B4
Group identification G2: b5, B6, B7 and B8
Group identification G9: b9, B10, B11 and B12
Group identification G4: b13, B14, B15 and B16
Group identification G5: b17, B18, B19 and B20
Referring to fig. 7, fig. 7 is a flowchart illustrating sub-steps of a method for recommending instructions according to yet another embodiment of the present application. In this embodiment, before the step S110, the method further includes a step S110 e.
S110e, establishing a second preset association table, wherein the second preset association table comprises an association relation between each common instruction in the common instruction library and a keyword, so that the common instruction can be conveniently searched through the keyword.
For the common instruction, the keyword associated with the common instruction is set, so that the common instruction can be conveniently searched through the keyword, and the efficiency of inputting the instruction by a user can be improved. In this embodiment, a second preset association table is established, where the second preset association table includes association information between each frequently-used instruction in the frequently-used instruction library and the keyword, for example, 20 keywords are provided and respectively represented by Word1 to Word20, and the preset association table is set as follows:
(Word1 keyword, B1 common instruction) (Word2 keyword, B2 common instruction)
(Word3 keyword, B3 common instruction) (Word4 keyword, B4 common instruction)
(Word5 keyword, B5 common instruction) (Word6 keyword, B6 common instruction)
(Word7 keyword, B7 common instruction) (Word8 keyword, B8 common instruction)
(Word9 keyword, B9 common instruction) (Word10 keyword, B10 common instruction)
(Word11 keyword, B11 common instruction) (Word12 keyword, B12 common instruction)
(Word13 keyword, B13 common instruction) (Word14 keyword, B14 common instruction)
(Word15 keyword, B15 common instruction) (Word16 keyword, B16 common instruction)
(Word17 keyword, B17 common instruction) (Word18 keyword, B18 common instruction)
(Word19 keyword, B19 common instruction) (Word20 keyword, B20 common instruction)
That is, the common instruction of B1 can be searched by Word1 keyword, the common instruction of B2 can be searched by Word2 keyword, and so on.
S110, acquiring an initial instruction input by a user, and determining a grouping identifier of the initial instruction according to a preset grouping rule.
For example, a predetermined grouping rule is established, for which the command can be divided into one of a plurality of groups, for example, 20 grouping identifiers are provided, which are respectively represented by G1 to G20; and acquiring an initial instruction input by a user, and determining that the grouping identifier of the initial instruction is G1 according to the preset grouping rule.
Referring to fig. 6, fig. 6 is a flowchart illustrating sub-steps of a method for recommending instructions according to another embodiment of the present application. In this embodiment, after the step S110, the method further includes a step S120a and a step S120 b.
S120a, according to the first preset association table, searching a target instruction associated with the initial instruction.
Establishing a first preset association table, where the first preset association table includes association information of a plurality of instructions, for example, the first preset association table includes association information of 30 instructions, and the 30 instructions are respectively represented by C1 to C30, and the association information is as follows:
(C1 instruction, C16 instruction) (C2 instruction, C17 instruction) (C3 instruction, C18 instruction)
(C4 instruction, C19 instruction) (C5 instruction, C20 instruction) (C6 instruction, C16 instruction)
(C7 instruction, C17 instruction) (C8 instruction, C18 instruction) (C9 instruction, C19 instruction)
(C10 instruction, C20 instruction) (C11 instruction, C21 instruction) (C12 instruction, C22 instruction)
(C13 instruction, C23 instruction) (C14 instruction, C24 instruction) (C15 instruction, C25 instruction)
That is, the C1 instruction is associated with the C16 instruction, the C2 instruction is associated with the C17 instruction, and so on.
If the initial command input by the user is obtained, such as the command C1, the target command is the command C16.
And S120, 120b, displaying the target instruction on a third user interface.
In an embodiment of the invention, a third user interface is provided for displaying the target instruction. After the user finishes the input operation of the initial instruction, the target instruction associated with the initial instruction is displayed on the third user interface, so that the user can conveniently perform the next instruction input operation. The target command obtained as described above, i.e., the command C16, can be displayed on the third user interface, so that the user can provide reference information when inputting the next command after inputting the initial command.
And S120, searching a first associated target instruction consistent with the grouping identification of the initial instruction from a preset latest use instruction library.
The recent use instruction library comprises a plurality of instructions, and each instruction is associated with a group identifier determined according to the preset group rule. For example, the recently used instruction library includes 10 instructions, which are respectively denoted by a1 to a10, and the grouping of the instructions is identified as follows:
group identification G1: a1, A2, A3
Group identification G2: a4, A5, A6
Group identification G3: a7, A8, A9
Group identification G4: a10
That is, a1 through A3 commands a group identified as G1 that belongs to the same group, a4 through a6 commands a group identified as G2 that belongs to the same group, a7 through a9 commands a group identified as G3 that belongs to the same group, and a10 commands a group identified as G4 that belongs to the same group.
According to the group identification G1 of the initial instruction, the instructions of the group identification G1 in the recently used instruction library are A1, A2 and A3, and the A1, A2 and A3 instructions are the first associated target instructions.
S130, searching a second associated target instruction consistent with the grouping identification of the initial instruction from a preset common instruction library.
The common instruction library comprises a plurality of common instructions, and each common instruction is associated with the grouping identifier determined according to the preset grouping rule. For example, the frequent instruction library includes 20 frequent instructions, which are respectively represented by B1 to B20, and the grouping of the frequent instructions is identified as follows:
group identification G1: b1, B2, B3 and B4
Group identification G2: b5, B6, B7 and B8
Group identification G9: b9, B10, B11 and B12
Group identification G4: b13, B14, B15 and B16
Group identification G5: b17, B18, B19 and B20
That is, the common commands from B1 to B4 belong to the group identified as G1, the common commands from B5 to B8 belong to the group identified as G2, the common commands from B9 to B12 belong to the group identified as G3, the common commands from B13 to B16 belong to the group identified as G4, and the common commands from B17 to B20 belong to the group identified as G5.
According to the group identifier G1 of the initial instruction, it can be known that the common instructions in the common instruction library, which are group identifiers G1, include B1, B2, B3, and B4, and the B1, B2, B3, and B4 common instructions are the second associated target instructions.
S140, if the first associated target instruction is searched, displaying the first associated target instruction in a first user interface; and if the second associated target instruction is searched, displaying the second associated target instruction in a second user interface.
The method comprises the steps that an obtained initial instruction determines a grouping identification of the initial instruction according to a preset grouping rule, and a first associated target instruction consistent with the grouping identification of the initial instruction may not exist in a recently used instruction library, or a second associated target instruction consistent with the grouping identification of the initial instruction may not exist in a commonly used instruction library. In this embodiment, the number of the first associated target instructions and the number of the second associated target instructions are determined, and if the number of the first associated target instructions is not zero, the first associated target instructions are displayed in a first user interface; and if the number of the second associated target instructions is not zero, displaying the second associated target instructions in a second user interface. In order to facilitate the user to input the instruction, the embodiment of the invention generates two user interfaces, wherein the first user interface is used for displaying a first associated target instruction which is in the latest use instruction library and is consistent with the group identifier of the initial instruction input by the user, and the second user interface is used for displaying a second associated target instruction which is in the most common instruction library and is consistent with the group identifier of the initial instruction input by the user.
Referring to fig. 4, fig. 4 is a flowchart illustrating sub-steps of a method for recommending instructions according to another embodiment of the present application. In this embodiment, the step S140 of displaying the first association target instruction in the first user interface includes steps S141 and S142.
S141, sorting the first associated target instructions according to the input frequency associated with the first associated target instructions to generate first sorted target instructions.
The first associated target instructions are sorted according to the input frequency, so that the method has the advantage of facilitating instruction input of a user. For example, the first related target instructions include instructions a1, a2 and A3, wherein the input frequency of a1 is 3, and the input frequencies of a2 and A3 are 1, and the first sorting target instructions obtained by sorting the first related target instructions according to the input frequencies are: a1, A2 and A3.
And S142, displaying the first sorting target instruction in a first user interface.
And displaying the first sequencing target command, namely displaying the A1, A2 and A3 commands in the first user interface.
Referring to fig. 5, fig. 5 is a flowchart illustrating sub-steps of a method for recommending instructions according to another embodiment of the present application. In this embodiment, the step S140 of displaying the first association target instruction in the first user interface includes steps S143 and S144.
S143, sorting the first associated target instruction according to the latest input time associated with the first associated target instruction, and generating a second sorted target instruction.
Sorting the first associated target instructions according to the most recent input time has the advantage of facilitating instruction input by the user. For example, the first associated target instructions include instructions a1, a2, and A3, wherein the latest input time of a1 is TA1, and the latest input times of a2 and A3 are TA2 and TA3, and the second target instructions obtained by sorting the first associated target instructions according to the latest input times are: a3, A2 and A1. Namely, the last input instruction in the first associated target instructions is used as the first sorted instruction, and the first input instruction is used as the last sorted instruction, so that the first associated target instructions are adjusted according to the time point, and the user can conveniently input the instructions.
And S144, displaying the second sequencing target instruction in a first user interface.
And displaying the second sorting target command, namely displaying the A3, A2 and A1 commands in the first user interface.
The embodiment of the application also provides an instruction recommending device, and the instruction recommending device is used for executing any one of the instruction recommending methods. Referring to fig. 8, fig. 8 is a schematic block diagram of an instruction recommending apparatus according to an embodiment of the present application. As shown in fig. 8, the instruction recommending apparatus 200 includes a first obtaining unit 210, a second obtaining unit 220, a third obtaining unit 230, and a display unit 240.
The first obtaining unit 210 is configured to obtain an initial instruction input by a user, and determine a grouping identifier of the initial instruction according to a preset grouping rule.
And the second obtaining unit 220 is configured to search a preset recently-used instruction library for a first associated target instruction consistent with the group identifier of the initial instruction.
And the third obtaining unit 230 is configured to search a preset common instruction library for a second associated target instruction consistent with the group identifier of the initial instruction.
The display unit 240 is configured to display the first associated target instruction in a first user interface if the first associated target instruction is searched; and if the second associated target instruction is searched, displaying the second associated target instruction in a second user interface.
Referring to fig. 9, fig. 9 is a schematic block diagram of an instruction recommending apparatus according to another embodiment of the present application. As shown in fig. 9, the instruction recommending apparatus 200 includes a first instruction library establishing unit 210a, a first packet identifier determining unit 210b, a first obtaining unit 210, a second obtaining unit 220, a third obtaining unit 230, and a display unit 240.
The first instruction library establishing unit 210a is configured to establish a recently-used instruction library, where the recently-used instruction library includes a plurality of recently-used instructions, and each recently-used instruction is associated with a recent input time and an input frequency of the recently-used instruction.
A first grouping identifier determining unit 210b, configured to determine a grouping identifier of each of the most recently used instructions according to the preset grouping rule.
Referring to fig. 10, fig. 10 is a schematic block diagram of an instruction recommending apparatus according to another embodiment of the present application. As shown in fig. 10, the instruction recommending apparatus 200 includes a second instruction library establishing unit 210c, a second packet identification determining unit 210d, a first obtaining unit 210, a second obtaining unit 220, a third obtaining unit 230, and a display unit 240.
The second instruction library establishing unit 210c is configured to establish a common instruction library, where the common instruction library includes common instructions preset by multiple users.
A second packet identifier determining unit 210d, configured to determine a packet identifier of each of the common instructions according to the preset packet rule.
Referring to fig. 11, fig. 11 is a schematic block diagram of an instruction recommending apparatus according to another embodiment of the present application. As shown in fig. 11, the instruction recommending apparatus 200 includes a first instruction library establishing unit 210a, a first packet identifier determining unit 210b, a first obtaining unit 210, a second obtaining unit 220, a third obtaining unit 230, and a display unit 240, where the display unit 240 includes a first ordering unit 241 and a first display unit 242.
The first sorting unit 241 is configured to sort the first associated target instructions according to the input frequency associated with the first associated target instructions, and generate first sorting target instructions.
The first display unit 242 is configured to display the first sorting target instruction in a first user interface.
Referring to fig. 12, fig. 12 is a schematic block diagram of an instruction recommending apparatus according to another embodiment of the present application. As shown in fig. 12, the instruction recommending apparatus 200 includes a first instruction library establishing unit 210a, a first packet identifier determining unit 210b, a first obtaining unit 210, a second obtaining unit 220, a third obtaining unit 230, and a display unit 240, where the display unit 240 includes a second sorting unit 243 and a second display unit 244.
The second sorting unit 243 is configured to sort the first associated target instruction according to the latest input time associated with the first associated target instruction, and generate a second sorted target instruction.
A second display unit 244, configured to display the second sort target instruction in the first user interface.
Referring to fig. 13, fig. 13 is a schematic block diagram of an instruction recommending apparatus according to another embodiment of the present application. As shown in fig. 13, the instruction recommending apparatus 200 includes a first obtaining unit 210, a searching unit 220a, a third displaying unit 220b, a second obtaining unit 220, a third obtaining unit 230, and a displaying unit 240.
The searching unit 220a is configured to search for a target instruction associated with the initial instruction according to a first preset association table.
And a third display unit 220b for displaying the target instruction on a third user interface.
Referring to fig. 14, fig. 14 is a schematic block diagram of an instruction recommending apparatus according to still another embodiment of the present application. As shown in fig. 14, the instruction recommending apparatus 200 includes an association table establishing unit 210e, a first obtaining unit 210, a second obtaining unit 220, a third obtaining unit 230, and a display unit 240.
The association table establishing unit 210e is configured to establish a second preset association table, where the second preset association table includes an association relationship between each frequently-used instruction in the frequently-used instruction library and a keyword, so as to search for the frequently-used instruction through the keyword.
The instruction recommending means may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 15.
Referring to fig. 15, fig. 15 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 300 device may be a terminal. Referring to fig. 15, the computer device 300 includes a processor 302, memory, and a network interface 305 connected by a system bus 301, where the memory may include a non-volatile storage medium 303 and an internal memory 304. The nonvolatile storage medium 303 may store an operating system 3031 and a computer program 3032. The computer program 3032 includes program instructions that, when executed, cause the processor 302 to perform a method for instruction recommendation. The processor 302 is used to provide computing and control capabilities that support the operation of the overall computer device 300. The internal memory 304 provides an environment for the execution of the computer program 3032 in the non-volatile storage medium 303, and the computer program 3032, when executed by the processor 302, causes the processor 302 to perform a method for recommending instructions. The network interface 305 is used for network communication such as sending assigned tasks and the like. Those skilled in the art will appreciate that the configuration shown in fig. 15 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the computer apparatus 300 to which the present application is applied, and that a particular computer apparatus 300 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 302 is configured to run a computer program 3032 stored in the memory to implement the following functions: acquiring an initial instruction input by a user, and determining a grouping identifier of the initial instruction according to a preset grouping rule; searching a preset latest use instruction library for a first associated target instruction consistent with the grouping identification of the initial instruction; searching a second associated target instruction consistent with the grouping identification of the initial instruction from a preset common instruction library; if the first association target instruction is searched, displaying the first association target instruction in a first user interface; and if the second associated target instruction is searched, displaying the second associated target instruction in a second user interface.
In an embodiment, before executing the initial instruction input by the obtaining user and determining the group identifier of the initial instruction according to a preset group rule, the processor 302 further implements the following functions: establishing a recent use instruction library, wherein the recent use instruction library comprises a plurality of recent use instructions, and each recent use instruction is associated with the recent input time and the input frequency of the recent use instruction; and determining the grouping identification of each latest using instruction according to the preset grouping rule.
In an embodiment, before executing the initial instruction input by the obtaining user and determining the group identifier of the initial instruction according to a preset group rule, the processor 302 further implements the following functions: establishing a common instruction library, wherein the common instruction library comprises common instructions preset by a plurality of users; and determining the grouping identification of each common instruction according to the preset grouping rule.
In an embodiment, the processor 302, in executing the first association target instruction displayed in the first user interface, further implements the following functions: sorting the first associated target instructions according to the input frequency associated with the first associated target instructions to generate first sorted target instructions; and displaying the first sorting target instruction in a first user interface.
In an embodiment, the processor 302, in executing the first association target instruction displayed in the first user interface, further implements the following functions: sorting the first associated target instructions according to the latest input time associated with the first associated target instructions to generate second sorted target instructions; displaying the second sort target instruction in a first user interface.
In an embodiment, after the processor 302 executes the initial instruction input by the obtaining user and determines the group identifier of the initial instruction according to a preset group rule, the following functions are further implemented: searching a target instruction associated with the initial instruction according to a first preset association table; and displaying the target instruction on a third user interface.
In an embodiment, before executing the initial instruction input by the obtaining user and determining the group identifier of the initial instruction according to a preset group rule, the processor 302 further implements the following functions: and establishing a second preset association table, wherein the second preset association table comprises the association relation between each common instruction in the common instruction library and the key word, so that the common instructions can be conveniently searched through the key word.
It should be understood that in the present embodiment, the Processor 302 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In another embodiment of the present application, a storage medium is provided. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program comprises program instructions. The program instructions, when executed by the processor, cause the processor to perform the following: acquiring an initial instruction input by a user, and determining a grouping identifier of the initial instruction according to a preset grouping rule; searching a preset latest use instruction library for a first associated target instruction consistent with the grouping identification of the initial instruction; searching a second associated target instruction consistent with the grouping identification of the initial instruction from a preset common instruction library; if the first association target instruction is searched, displaying the first association target instruction in a first user interface; and if the second associated target instruction is searched, displaying the second associated target instruction in a second user interface.
In an embodiment, the program instruction is executed by the processor to obtain the initial instruction input by the user, and before determining the group identifier of the initial instruction according to a preset group rule, the following program is further executed: establishing a recent use instruction library, wherein the recent use instruction library comprises a plurality of recent use instructions, and each recent use instruction is associated with the recent input time and the input frequency of the recent use instruction; and determining the grouping identification of each latest using instruction according to the preset grouping rule.
In an embodiment, the program instruction is executed by the processor to obtain the initial instruction input by the user, and before determining the group identifier of the initial instruction according to a preset group rule, the following program is further executed: establishing a common instruction library, wherein the common instruction library comprises common instructions preset by a plurality of users; and determining the grouping identification of each common instruction according to the preset grouping rule.
In one embodiment, the program instructions executed by the processor to display the first associated target instruction in the first user interface further execute the program comprising: sorting the first associated target instructions according to the input frequency associated with the first associated target instructions to generate first sorted target instructions; and displaying the first sorting target instruction in a first user interface.
In one embodiment, the program instructions are executed by the processor to display the first associated target instruction in the first user interface, and specifically execute the following program: sorting the first associated target instructions according to the latest input time associated with the first associated target instructions to generate second sorted target instructions; displaying the second sort target instruction in a first user interface.
In an embodiment, the program instruction is executed by the processor to obtain the initial instruction input by the user, and after determining the group identifier of the initial instruction according to a preset group rule, the following program is further executed: searching a target instruction associated with the initial instruction according to a first preset association table; and displaying the target instruction on a third user interface.
In an embodiment, the program instruction is executed by the processor to obtain the initial instruction input by the user, and before determining the group identifier of the initial instruction according to a preset group rule, the following program is further executed: and establishing a second preset association table, wherein the second preset association table comprises the association relation between each common instruction in the common instruction library and the key word, so that the common instructions can be conveniently searched through the key word.
The storage medium may be various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the application can be combined, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present application may be substantially or partially implemented in the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. An instruction recommendation method, comprising:
acquiring an initial instruction input by a user, and determining a grouping identifier of the initial instruction according to a preset grouping rule;
searching a preset latest use instruction library for a first associated target instruction consistent with the grouping identification of the initial instruction;
searching a second associated target instruction consistent with the grouping identification of the initial instruction from a preset common instruction library;
searching a target instruction associated with the initial instruction according to a first preset association table;
if the first association target instruction is searched, displaying the first association target instruction in a first user interface; if the second associated target instruction is searched, displaying the second associated target instruction in a second user interface; and displaying the target instruction on a third user interface.
2. The instruction recommending method according to claim 1, wherein before said obtaining an initial instruction input by a user and determining a grouping identifier of said initial instruction according to a preset grouping rule, said method further comprises:
establishing a recent use instruction library, wherein the recent use instruction library comprises a plurality of recent use instructions, and each recent use instruction is associated with the recent input time and the input frequency of the recent use instruction;
and determining the grouping identification of each latest using instruction according to the preset grouping rule.
3. The instruction recommending method according to claim 1, wherein before said obtaining an initial instruction input by a user and determining a grouping identifier of said initial instruction according to a preset grouping rule, said method further comprises:
establishing a common instruction library, wherein the common instruction library comprises common instructions preset by a plurality of users;
and determining the grouping identification of each common instruction according to the preset grouping rule.
4. The instruction recommendation method of claim 2, wherein said displaying the first associated target instruction in a first user interface comprises:
sorting the first associated target instructions according to the input frequency associated with the first associated target instructions to generate first sorted target instructions;
and displaying the first sorting target instruction in a first user interface.
5. The instruction recommendation method according to claim 2, wherein said displaying said first associated target instruction in a first user interface comprises:
sorting the first associated target instructions according to the latest input time associated with the first associated target instructions to generate second sorted target instructions;
displaying the second sort target instruction in a first user interface.
6. The instruction recommending method according to claim 1, wherein before said obtaining an initial instruction input by a user and determining a grouping identifier of said initial instruction according to a preset grouping rule, said method further comprises:
and establishing a second preset association table, wherein the second preset association table comprises the association relation between each common instruction in the common instruction library and the key word, so that the common instructions can be conveniently searched through the key word.
7. An instruction recommendation apparatus, comprising:
the first acquisition unit is used for acquiring an initial instruction input by a user and determining a grouping identifier of the initial instruction according to a preset grouping rule;
the second acquisition unit is used for searching a first associated target instruction consistent with the grouping identification of the initial instruction from a preset recently-used instruction library;
the third acquisition unit is used for searching a second associated target instruction consistent with the grouping identification of the initial instruction from a preset common instruction library;
the searching unit is used for searching a target instruction associated with the initial instruction according to a first preset association table;
the display unit is used for displaying the first associated target instruction in a first user interface if the first associated target instruction is searched; if the second associated target instruction is searched, displaying the second associated target instruction in a second user interface;
and the third display unit is used for displaying the target instruction on a third user interface.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the instruction recommendation method according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, causes the processor to carry out the instruction recommendation method according to any one of claims 1-6.
CN201811527595.0A 2018-12-13 2018-12-13 Instruction recommendation method and device, computer equipment and storage medium Active CN109782990B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811527595.0A CN109782990B (en) 2018-12-13 2018-12-13 Instruction recommendation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811527595.0A CN109782990B (en) 2018-12-13 2018-12-13 Instruction recommendation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109782990A CN109782990A (en) 2019-05-21
CN109782990B true CN109782990B (en) 2022-01-04

Family

ID=66495809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811527595.0A Active CN109782990B (en) 2018-12-13 2018-12-13 Instruction recommendation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109782990B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111190401A (en) * 2019-12-30 2020-05-22 讯飞智元信息科技有限公司 Instruction scheduling method, hydraulic engineering control method, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106777239A (en) * 2016-12-27 2017-05-31 广东欧珀移动通信有限公司 Recommendation information generation method, device and computer equipment
CN107103490A (en) * 2017-04-11 2017-08-29 华为机器有限公司 A kind of data processing method, the webserver and terminal
CN108170784A (en) * 2017-12-26 2018-06-15 佛山市道静科技有限公司 The method and system of content information on a kind of extraction internet
CN108509497A (en) * 2018-02-23 2018-09-07 阿里巴巴集团控股有限公司 Information recommendation method, device and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186539B (en) * 2011-12-27 2016-07-27 阿里巴巴集团控股有限公司 A kind of method and system determining user group, information inquiry and recommendation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106777239A (en) * 2016-12-27 2017-05-31 广东欧珀移动通信有限公司 Recommendation information generation method, device and computer equipment
CN107103490A (en) * 2017-04-11 2017-08-29 华为机器有限公司 A kind of data processing method, the webserver and terminal
CN108170784A (en) * 2017-12-26 2018-06-15 佛山市道静科技有限公司 The method and system of content information on a kind of extraction internet
CN108509497A (en) * 2018-02-23 2018-09-07 阿里巴巴集团控股有限公司 Information recommendation method, device and electronic equipment

Also Published As

Publication number Publication date
CN109782990A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
US11227006B2 (en) Content-aware filter options for media object collections
JP2007183864A (en) File retrieval method and system therefor
TW200941167A (en) Automated recording of virtual device interface
CN106023994A (en) Speech processing method, device and system
US20160092441A1 (en) File Acquiring Method and Device
CN111274415B (en) Method, device and computer storage medium for determining replacement video material
CN107609047A (en) Using recommendation method, apparatus, mobile device and storage medium
CN108415998B (en) Application dependency relationship updating method, terminal, device and storage medium
CN110688382A (en) Data storage query method and device, computer equipment and storage medium
CN104219561A (en) Method and user equipment for cleaning offline videos
CN109782990B (en) Instruction recommendation method and device, computer equipment and storage medium
WO2016000561A1 (en) Method and device for dynamically modifying menu
CN104615333B (en) The group technology and play system of a kind of playback equipment
JP2010231744A (en) Information processing apparatus, program and image data management method
JP5193044B2 (en) Storage profile generation for networked portable storage devices
CN107911345B (en) Game reservation list generation method and device and server
US12014654B2 (en) Information processing apparatus, information system, information processing method, and program
US11460306B2 (en) Information processing apparatus, information processing method, and program
CN106021473B (en) Folder size display method and system of mobile terminal and mobile terminal
CN110784384B (en) Household appliance voice technology generation method and intelligent household appliance
US9838032B2 (en) Data compression device, data compression method, and computer program product
CN109447763B (en) Method, device, storage medium and terminal equipment for recommending music works
CN109408051B (en) Method and terminal for identifying android game application development engine
CN108271049B (en) Resource downloading method and device and computer equipment
JP2001147923A (en) Device and method for retrieving similar document and recording medium

Legal Events

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