Summary of the invention
The embodiment of the present invention provides a kind of application program search method and device.Improve the accurate of application program lookup
Property.
In a first aspect, the embodiment of the present invention provides a kind of application program search method, it is applied to terminal device, the method
Include:
The first customized look-up command that reception user inputs in the default lookup region of the terminal device, described first
Customized look-up command is user preset, instruction for searching the application program installed in the terminal device;
According to the described first customized look-up command and customized lookup list, the first customized look-up command is obtained
Corresponding destination application includes multiple customized look-up commands in the customized lookup list and each customized is looked into
Look for the mark for instructing corresponding application program;
Start the mark of the destination application or the display destination application.
In a kind of possible embodiment, the customized customized look-up command searched in list is text type
Or picture type;Correspondingly, according to the described first customized look-up command and customized lookup list, described customized look into is obtained
Look for the corresponding destination application of instruction, comprising:
The type of the described first customized look-up command is obtained, the type of the first customized look-up command includes voice
Type, text type and picture type;
According to the type of the described first customized look-up command, the described first customized look-up command is carried out at conversion
Reason, obtains the second customized look-up command, and the second customized look-up command is text type or picture type;
By in the customized lookup list, described second define the corresponding application program of look-up command and be determined as the mesh
Mark application program.
In alternatively possible embodiment, according to the type of the described first customized look-up command, to described first
Customized look-up command carries out conversion process, obtains the second customized look-up command, comprising:
When the type for determining the described first customized look-up command is text type or picture type, then certainly by described first
It defines look-up command and is determined as the described second customized look-up command;
When the type for determining the described first customized look-up command is sound-type, then look-up command is defined to described first
Speech recognition is carried out, the second customized look-up command of text type is obtained.
In alternatively possible embodiment, start the destination application or the display target application journey
The mark of sequence, comprising:
The number of the destination application is 1, then starts the destination application;
The number of the destination application is greater than 1, then shows each destination application in the form of a list
Mark.
In alternatively possible embodiment, the number of the destination application is zero, the method also includes:
Obtain the number of the first application program installing in the terminal device, being provided with customized look-up command;
The number of first application program is 1, then starts first application program;
The format of first application program is greater than 1, then shows each first application program in the form of a list
Mark.
In alternatively possible embodiment, the method also includes:
The customized look-up command of third that user is correspondingly arranged region input in the second application program is received, described second answers
It is any one application program installed in the terminal device with program;
The customized look-up command of the third is converted to the 4th customized look-up command of text type or picture type;
The mark of second application program and the 4th customized look-up command are stored in the customized lookup
In list.
In alternatively possible embodiment, the method also includes:
After third application program is installed in determining the terminal device, it is corresponding certainly to generate the third application program
Setting information is defined, the customized lookup that the customized setting information is used to indicate third application program described in user setting refers to
It enables;
The customized setting information is shown in the terminal device.
Second aspect, the embodiment of the present invention provide a kind of application program and search device, including receiving module, searching module,
Starting module and display module, wherein
The receiving module is used for, receive user inputted in the default lookup region of the terminal device it is first customized
Look-up command, the first customized look-up command be user preset, for searching the application installed in the terminal device
The instruction of program;
The searching module is used for, according to the described first customized look-up command and customized lookup list, described in acquisition
The corresponding destination application of first customized look-up command includes that multiple customized lookups refer in the customized lookup list
It enables and the mark of the corresponding application program of each customized look-up command;
The starting module is used for, and starts the destination application, alternatively, the display module is for showing the mesh
Mark the mark of application program.
In a kind of possible embodiment, the customized customized look-up command searched in list is text type
Or picture type;Correspondingly, the searching module includes acquiring unit, converting unit and determination unit, wherein
The acquiring unit is used for, and obtains the type of the first customized look-up command, the first customized lookup
The type of instruction includes sound-type, text type and picture type;
The converting unit is used for, and according to the type of the described first customized look-up command, customized is looked into described first
Look for instruction to carry out conversion process, obtain the second customized look-up command, the second customized look-up command be text type or
Picture type;
The determination unit is used for, by the customized lookup list, look-up command is corresponding answers for second definition
It is determined as the destination application with program.
In alternatively possible embodiment, the converting unit is specifically used for:
When the type for determining the described first customized look-up command is text type or picture type, then certainly by described first
It defines look-up command and is determined as the described second customized look-up command;
When the type for determining the described first customized look-up command is sound-type, then look-up command is defined to described first
Speech recognition is carried out, the second customized look-up command of text type is obtained.
In alternatively possible embodiment, the starting module is specifically used for, in of the destination application
When number is 1, start the destination application;
The display module is specifically used for, and when the number of the destination application is greater than 1, shows in the form of a list
Show the mark of each destination application.
In alternatively possible embodiment, described device further includes obtaining module, wherein
The acquisition module is used for, and when the number of the destination application is zero, is obtained and is pacified in the terminal device
The number of the first application program filling, being provided with customized look-up command;
The starting module is also used to, and when the number of first application program is 1, journey is applied in starting described first
Sequence;
The display module is also used to, and when the format of first application program is greater than 1, is shown in the form of a list
The mark of each first application program.
In alternatively possible embodiment, described device further includes conversion module and memory module, wherein
The receiving module is also used to, and it is customized to receive the third that user is correspondingly arranged region input in the second application program
Look-up command, second application program are any one application program installed in the terminal device;
The conversion module is also used to, and the customized look-up command of the third is converted to text type or picture type
4th customized look-up command;
The memory module is also used to, and the mark of second application program and the 4th customized look-up command are deposited
Storage is in the customized lookup list.
In alternatively possible embodiment, described device further includes generation module, wherein
The generation module is used for, and after installing third application program in determining the terminal device, generates described the
The corresponding customized setting information of three application programs, the customized setting information are used to indicate third application described in user setting
The customized look-up command of program;
The display module is also used to, and the customized setting information is shown in the terminal device.
Application program search method provided in an embodiment of the present invention and device receive user in terminal device and set in terminal
After first customized look-up command of standby default lookup region input, according to the first customized look-up command and customized look into
List, the corresponding destination application of the customized look-up command of acquisition first are looked for, and starts destination application or display mesh
Mark the mark of application program.In actual application, the customized look-up command of user setting is usually that user is easy to keep firmly in mind
Instruction therefore when installing multiple application programs in terminal device, referred to by the way that customized lookup is arranged for multiple application programs
It enables, the corresponding customized look-up command of each application program of the memory that user still can be convenient, so that user can be with
The application program needed is easily searched by customized look-up command, and then improves the accuracy for searching application program.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the application scenarios schematic diagram of application program search method provided in an embodiment of the present invention.Referring to Figure 1, exist
Multiple application programs are installed, terminal device can be the setting such as mobile phone, computer in terminal device.User can be by being arranged boundary
Customized look-up command is arranged in terminal device for each application program in face (not shown), and customized look-up command can
Think arbitrary text, voice, figure etc..It is terminal device after application program sets up customized look-up command in user
According to the customized look-up command of user setting, customized lookup list is generated, includes applying journey in customized lookup list
The mark of sequence and the corresponding customized look-up command of the mark of application program.
Lookup window is additionally provided in terminal device, user can input customized look-up command in searching window,
To realize the application program searched and needed.Specifically, the customized look-up command that terminal device can be inputted according to user, certainly
Definition searches and searches corresponding application program in list, and recommends corresponding application program to user.In above process, user
The customized look-up command being arranged is usually the instruction that user is easy to keep firmly in mind, even if installing many in terminal device applies journey
Sequence, user still can easily search the application program needed by the above method, and then improve and search application program
Accuracy.
Fig. 2 is the flow diagram of application program search method provided in an embodiment of the present invention.Refer to Fig. 2, this method
May include:
S201, the first customized look-up command that user inputs in the default lookup region of terminal device is received, first certainly
Defining look-up command is user preset, instruction for searching the application program installed in terminal device.
The executing subject of the embodiment of the present invention can search device for application program, which searches device setting and exist
In terminal device.Optionally, application program search device can by software realization, alternatively, application program search device can be with
Pass through being implemented in combination with for software and hardware.
Optionally, application program is searched device and can be realized by the lookup application program being mounted in terminal device, phase
It answers, default region of searching is a lookup input frame, the lookup region etc. searched in application program.Certainly, it presets and searches area
Domain can also be that any one region on the display screen of terminal device in actual application can be according to actual needs
The default lookup region is set, and the present invention is not especially limit this.
In embodiments of the present invention, customized look-up command is the pre-set instruction of user, and customized look-up command is logical
It often is easy the instruction kept firmly in mind for user, optionally, customized look-up command can be text, voice, hand-drawing graphics, preset icon
Deng.One application program can correspond to multiple customized look-up commands, and a customized look-up command can also correspond to multiple answer
Use program.
For example, the corresponding customized look-up command of application program for carrying out video playing can be " video ", it is used for
The corresponding customized look-up command of the application program called a taxi can be " calling a taxi ", and the application program for doing shopping is corresponding
Customized look-up command can be " buying ".
In actual application, when user needs to search application program in terminal device, user is in terminal device
Default lookup region in input the corresponding first customized look-up command of the application program required to look up.
S202, according to the first customized look-up command and customized lookup list, obtain the first customized look-up command pair
The destination application answered.
In actual application, user can be set according to actual needs each installed in terminal device using journey
The corresponding customized look-up command of sequence, after user carries out customized look-up command setting, terminal device can be according to user
The customized look-up command being arranged generates customized lookup list.It optionally, include multiple customized in customized lookup list
The mark of look-up command and the corresponding application program of each customized look-up command.For example, customized lookup list can be such as table
Shown in 1:
Table 1
The mark of application program |
Customized look-up command |
Application program 1 |
Video |
Application program 2 |
It buys, JD |
Application program 3 |
It buys |
…… |
…… |
After acquiring the first customized look-up command, the first customized lookup is searched in customized lookup list
It instructs corresponding application program, and the corresponding application program of the first customized look-up command is determined as destination application.
Optionally, in order to save memory space and improve search speed, the customized customized lookup searched in list
The type of instruction is text type or picture type.Correspondingly, can be made by oneself according to following feasible implementation according to first
Adopted look-up command and customized lookup list, obtain the corresponding destination application of customized look-up command:
The type for obtaining the first customized look-up command is made by oneself according to the type of the first customized look-up command to first
Adopted look-up command carries out conversion process, obtains the second customized look-up command, the second customized look-up command be text type or
Picture type, by customized lookup list, second define the corresponding application program of look-up command and be determined as destination application.
Optionally, the type of the first customized look-up command of user's input includes sound-type, text type and picture
Type.
It, can be customized by first when the type for determining the first customized look-up command is text type or picture type
Look-up command is determined as the second customized look-up command.That is, when the type of the first customized look-up command is text type or figure
When sheet type, without being formatted to the first customized look-up command.
When the type for determining the first customized look-up command is sound-type, then look-up command is defined to first and carry out language
Sound identification, obtains the second customized look-up command of text type.
The mark of S203, starting destination application or displaying target application program.
Optionally, the movement executed can be determined according to the number of destination application.Specifically, may include at least
Following three kinds of possible situations:
A kind of possible situation: the number of destination application is 0.
In this kind of possible situation, obtains installing in terminal device, being provided with customized look-up command first and answer
Start first application program if the number of the first application program is 1 with the number of program, if first applies journey
The format of sequence is greater than 1, then shows the mark of each first application program in the form of a list.
Optionally, it when the number of the first application program is greater than 1, can be arranged according to the frequency of use of application program
Sequence, can also be according to the setting time-sequencing of customized look-up command, can also be according to the initial of the title of application program
Sequence sorts.Certainly, in actual application, multiple first application programs can be ranked up according to actual needs, this
Inventive embodiments are not especially limited this.
In that case, if user searches application program in a manner of customized lookup, illustrating user once is to need to look into
Customized look-up command was arranged in the application program looked for, when the application program that user's promnesia requires to look up is corresponding customized
When look-up command, by this kind of implementation, the application program for making look-up command by oneself, Jin Erke can be crossed to user's recommended setting
To reduce the seeking scope of user, the efficiency that user searches application program still can be improved.
Alternatively possible situation: the number of destination application is 1.
When the number of destination application is 1, then it can directly start destination application in terminal device, so that
User can use destination application directly in terminal device.
It certainly, can be with the icon of displaying target application program, in user to destination application in the case of this kind
Icon carries out clicking operation and then starting destination application.
Alternatively possible situation: the number of destination application is greater than 1.
In that case, the mark of each destination application can be shown in the form of a list.It optionally, can basis
The frequency of use of application program is ranked up, can also be according to the setting time-sequencing of customized look-up command, can also be according to
The sequence of the initial of the title of application program sorts.It certainly, in actual application, can be according to actual needs to multiple
Destination application is ranked up, and the present invention is not especially limit this.
Application program search method provided in an embodiment of the present invention receives user in the pre- of terminal device in terminal device
If after the first customized look-up command for searching region input, being arranged according to the first customized look-up command and customized lookup
Table obtains the corresponding destination application of the first customized look-up command, and starts destination application or displaying target is answered
With the mark of program.In actual application, the customized look-up command of user setting is usually the finger that user is easy to keep firmly in mind
It enables, therefore, when installing multiple application programs in terminal device, by the way that customized look-up command is arranged for multiple application programs, uses
The corresponding customized look-up command of each application program of the memory that family still can be convenient, so that user can be by certainly
It defines look-up command and easily searches the application program needed, and then improve the accuracy for searching application program.
On the basis of any one above-mentioned embodiment, in the following, being made by oneself by embodiment shown in Fig. 3 to user setting
The process of adopted look-up command is described in detail.
Fig. 3 is the flow diagram of the customized look-up command method of setting provided in an embodiment of the present invention.Fig. 3 is referred to,
This method may include:
S301, the customized look-up command of third that user inputs in the corresponding setting area of the second application program is received, the
Two application programs are any one application program installed in terminal device.
In embodiments of the present invention, each application program installed in terminal device can be corresponding with setting area.
It optionally, can be by carrying out predetermined registration operation to application program, to show that application program is corresponding in terminal device
Setting area.For example, long press operation can be carried out to the icon of application program, to show the application program in terminal device
Corresponding setting area allows user that the corresponding customized look-up command of application program is arranged in the setting area.
Optionally, application program is searched device and can be realized by the lookup application program being mounted in terminal device, phase
It answers, default setting area can be the region in the default page of lookup application program, which can be to look into
Look for the default input frame etc. in application program.For example, user can first application program be searched in starting in terminal device, lookup is answered
Can be with the mark for all application programs installed in display terminal with program, user can refer to carrying out making lookup by oneself
The application program of setting is enabled to carry out clicking operation, the clicking operation that terminal device can be inputted according to user shows corresponding set
Region is set, so that user can input customized look-up command in the setting area.
It should be noted that second can be recommended to apply journey to user in the customized look-up command of user's input third
The corresponding customized look-up command of hot topic of sequence, the customized look-up command of the hot topic be relatively easy to memory, most users have made
Instruction, so that the customized look-up command setting of carry out that user can be more convenient.
S302, the 4th customized lookup that the customized look-up command of third is converted to text type or picture type refer to
It enables.
It, can be customized by third when the type for determining the customized look-up command of third is text type or picture type
Look-up command is determined as the 4th customized look-up command.That is, when the type of the customized look-up command of third is text type or figure
When sheet type, without being formatted to the customized look-up command of third.
When the type for determining the customized look-up command of third is sound-type, then look-up command is defined to third and carry out language
Sound identification, obtains the 4th customized look-up command of text type.
S303, the mark of the second application program and the 4th customized look-up command are stored in customized lookup list.
Optionally, if there are the marks of the second application program in customized lookup list, directly in the second application program
The corresponding position of mark add the 4th customized look-up command.If there is no second in customized lookup list to apply journey
The mark of second application program and the 4th customized look-up command correspondence are then added to customized lookup list by the mark of sequence
In.
In the embodiment shown in fig. 3, by visual interface, the setting application program that user can be convenient is corresponding
Customized look-up command, so that the customized look-up command that terminal device can be inputted according to user generates customized lookup and arranges
Table.
It should be noted that in actual application, can be whether to be equipped with new answer in real-time detection terminal device
With program, after new third application program is installed in determining terminal device, it is corresponding customized to generate third application program
Setting information, customized setting information are used to indicate the customized look-up command of user setting third application program, and in terminal
Customized setting information is shown in equipment.In this way, it may be convenient to remind user to carry out the application program newly installed customized
Look-up command setting.
In the following, in conjunction with Fig. 4-embodiment shown in fig. 5, setting up procedure and application program to customized look-up command
Search procedure is described in detail.
Fig. 4 is terminal interface schematic diagram one provided in an embodiment of the present invention.Refer to Fig. 4, including the interface interface 401-
403。
Interface 401 is referred to, multiple application programs are installed in terminal device, is shown in the display interface of terminal device
The icon for showing each application program can be grasped first when user needs to carry out customized look-up command setting to application program
Make terminal device, so that terminal device shows the corresponding setting area of application program.For example, when user needs to apply " taking pictures "
When program carries out customized look-up command setting, the icon of user's long-pressing " taking pictures ", terminal device is according to user to " taking pictures " figure
Long press operation is marked to obtain, shows " customized look-up command setting " suspended window, after user carries out clicking operation to the suspended window,
" taking pictures " corresponding setting area is shown in terminal device.Specifically, referring to interface 402.
Interface 402, including " taking pictures " corresponding setting area N are referred to, further includes three input modes in interface 402
Option: text, voice and Freehandhand-drawing, user can input that " taking pictures " is corresponding customized to look into according to any one of the above input mode
Look for instruction.For example, user chooses " Freehandhand-drawing " option, so when user needs to input customized look-up command by Freehandhand-drawing mode
Freehandhand-drawing is carried out in the N of setting area afterwards.After user completes Freehandhand-drawing, clicking operation, terminal device are carried out to " completion " button
The customized look-up command that user inputs is added to customized lookup list.
Optionally, customized lookup list can be as shown in the list in interface 403.It should be noted that terminal device
It can not be to user's display interface 403.
In above process, by visual interface, it is the application journey installed in terminal device that user, which can be convenient,
Customized look-up command is arranged in sequence.
Fig. 5 is terminal interface schematic diagram two provided in an embodiment of the present invention.Refer to Fig. 5, including the interface interface 501-
503。
Interface 501 is referred to, multiple application programs are installed in terminal device, is shown in the display interface of terminal device
Show the icon of each application program.When user needs to search the application program of needs in terminal device, user is in terminal
Predetermined registration operation is inputted in equipment, so that region is searched in terminal device display.For example, user can slide screen to the left, so that eventually
End equipment shows the rightmost page, includes searching region in the rightmost page.Refer to interface 502.
Interface 502 is referred to, including searches region P, further includes the option of three input modes: text, language in interface 502
Sound and Freehandhand-drawing, user can input customized look-up command according to any one of the above input mode.For example, when user needs to lead to
When crossing the text mode customized look-up command of input, user chooses " text " option, then inputs in searching region P customized
Look-up command " is bought ".Terminal device receive user input customized look-up command " buying " after, terminal device according to
" buying " searches corresponding application program, it is assumed that the application program that terminal device is searched includes " shopping 1 ", " shopping 2 " and " shopping
3 ", then terminal device shows the icon of " shopping 1 ", " shopping 2 " and " shopping 3 " in the display area Q in interface 502.Assuming that
The application program that user requires to look up is " shopping 2 ", then user can carry out clicking operation to the icon of " shopping 2 ", so that eventually
End equipment display interface 503.
Interface 503 is referred to, interface 503 is the homepage page of " shopping 2 ".
In above process, the customized look-up command of user setting is usually the instruction that user is easy to keep firmly in mind, therefore, when
Multiple application programs are installed, by being arranged customized look-up command for multiple application programs, user still can be in terminal device
The corresponding customized look-up command of each application program is easily remembered, so that user can refer to by customized lookup
The application program needed is easily searched in order, and then improves the accuracy for searching application program.
Fig. 6 is the structural schematic diagram one that application program provided in an embodiment of the present invention searches device.Fig. 6 is referred to, the dress
It sets including receiving module 11, searching module 12, starting module 13 and display module 14, wherein
The receiving module 11 is used for, and reception user makes by oneself the first of the input of the default lookup region of the terminal device
Adopted look-up command, the first customized look-up command be user preset, for searching answering of installing in the terminal device
With the instruction of program;
The searching module 12 is used for, and according to the described first customized look-up command and customized lookup list, obtains institute
The corresponding destination application of the first customized look-up command is stated, includes multiple customized lookups in the customized lookup list
The mark of instruction and the corresponding application program of each customized look-up command;
The starting module 13 is used for, and starts the destination application, alternatively, the display module 14 is for showing institute
State the mark of destination application.
Application program provided in an embodiment of the present invention, which searches device, can execute technical side shown in above method embodiment
Case, realization principle and beneficial effect are similar, are no longer repeated herein.
Fig. 7 is the structural schematic diagram two that application program provided in an embodiment of the present invention searches device.Embodiment shown in Fig. 6
On the basis of, the customized customized look-up command searched in list is text type or picture type;Correspondingly, please join
See Fig. 7, the searching module 12 includes acquiring unit 121, converting unit 122 and determination unit 123, wherein
The acquiring unit 121 is used for, and obtains the type of the first customized look-up command, and described first customized looks into
The type for looking for instruction includes sound-type, text type and picture type;
The converting unit 122 is used for, customized to described first according to the type of the described first customized look-up command
Look-up command carries out conversion process, obtains the second customized look-up command, and the second customized look-up command is text type
Or picture type;
The determination unit 123 is used for, by the customized lookup list, it is described second define look-up command it is corresponding
Application program is determined as the destination application.
In a kind of possible embodiment, the converting unit 122 is specifically used for:
When the type for determining the described first customized look-up command is text type or picture type, then certainly by described first
It defines look-up command and is determined as the described second customized look-up command;
When the type for determining the described first customized look-up command is sound-type, then look-up command is defined to described first
Speech recognition is carried out, the second customized look-up command of text type is obtained.
In alternatively possible embodiment, the starting module 13 is specifically used for, in the destination application
When number is 1, start the destination application;
The display module 14 is specifically used for, when the number of the destination application is greater than 1, in the form of a list
Show the mark of each destination application.
In alternatively possible embodiment, described device further includes obtaining module 15, wherein
The acquisition module 15 is used for, and when the number of the destination application is zero, is obtained in the terminal device
The number of the first application program installing, being provided with customized look-up command;
The starting module 13 is also used to, and when the number of first application program is 1, starts first application
Program;
The display module 14 is also used to, and when the format of first application program is greater than 1, is shown in the form of a list
Show the mark of each first application program.
In alternatively possible embodiment, described device further includes conversion module 16 and memory module 17, wherein
The receiving module 11 is also used to, and is received user and is made by oneself in the third that the second application program is correspondingly arranged region input
Adopted look-up command, second application program are any one application program installed in the terminal device;
The conversion module 16 is also used to, and the customized look-up command of the third is converted to text type or picture type
The 4th customized look-up command;
The memory module 17 is also used to, by the mark of second application program and the 4th customized look-up command
It is stored in the customized lookup list.
In alternatively possible embodiment, described device further includes generation module 18, wherein
The generation module 18 is used for, after installing third application program in determining the terminal device, described in generation
The corresponding customized setting information of third application program, the customized setting information are used to indicate third described in user setting and answer
With the customized look-up command of program;
The display module 14 is also used to, and the customized setting information is shown in the terminal device.
Application program provided in an embodiment of the present invention, which searches device, can execute technical side shown in above method embodiment
Case, realization principle and beneficial effect are similar, are no longer repeated herein.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or
The various media that can store program code such as person's CD.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the embodiment of the present invention, rather than to it
Limitation;Although the embodiment of the present invention is described in detail referring to foregoing embodiments, those skilled in the art
It is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, either to part of or
All technical features are equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution this hair
The range of bright example scheme.