Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of localization method of application program, is intended to solve the locator meams imperfection of the application program that prior art provides, and hommization is low, the problem of making troubles to user's operation.
The embodiment of the invention is achieved in that a kind of localization method of application program, and described method comprises the steps:
Receive and resolve the search locator key word of user's face input, obtain the pairing index level of described search locator key word, described index level comprises one-level index and secondary index;
Judge the pairing index level of described search locator key word;
When the pairing index level of described search locator key word is secondary index, is that key word carries out search matched in the application name of preserving in advance with the first order index in the described index level, and shows the application name that search matched arrives;
Receive the selection of the application program that the user arrives search matched, and start the application program of selecting;
Described second level index information is sent to application program started, and control described application program and enter the pairing application program of described second level index.
Another purpose of the embodiment of the invention is to provide a kind of positioning system of application program, and described system comprises:
The key word receiver module is used to receive the search locator key word that the user imports;
The index level acquisition module is used to resolve the search locator key word of user's input that described key word receiver module receives, and obtains the pairing index level of described search locator key word, and described index level comprises one-level index and secondary index;
Judge module is used to the pairing index level of search locator key word of judging that described index level acquisition module obtains;
The coupling display module, be used for when described judge module judges that the pairing index level of described search locator key word is secondary index, with the first order index in the described index level is that key word carries out search matched in the application name of preserving in advance, and shows the application name that search matched arrives;
The application program launching module is used to receive the selection of the application program that the user arrives described coupling display module search matched, and starts the application program of selecting; And
First control module, be used for when the pairing index level of described search locator key word is secondary index, described second level index information is sent to application program started, and control described application program and enter the pairing application program of described second level index.
Another purpose of the embodiment of the invention is to provide a kind of portable terminal that comprises the positioning system of application program.
The embodiment of the invention is by resolving the search locator key word of user's input, judge the pairing index level of search locator key word of user's input, realize the application program of search localisation of mobile terminals fast, save the time loss of user when the page switches, embody the characteristics of hommization, be user-friendly to.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention,, judge the pairing index level of search locator key word of user's input, realize the application program of search localisation of mobile terminals fast by the search locator key word of user's input is resolved.
Fig. 1 shows the realization flow of the localization method of the application program that the embodiment of the invention provides, and its concrete step is as described below:
In step S101, receive and resolve the search locator key word of user's input, obtain the pairing index level of described search locator key word, described index level comprises one-level index and secondary index.
In embodiments of the present invention, the input of above-mentioned search locator key word can be by importing at pre-configured application program search interface, this application program search interface is the pairing input editing of the localization method software interface of the application program that the embodiment of the invention provides, a menu or button can be set separately, being present in interface of mobile terminal or portable terminal is provided with in the option, do not repeat them here, similar with common application program, but not in order to restriction the present invention.
The pairing index level of above-mentioned search locator key word can comprise one-level index and secondary index, the judgement of above-mentioned secondary index is judges whether the pairing index level of search locator key word comprises first order index and second level index, when the search locator key word of user's input comprises separator, can judge that the pairing index level of this search locator key word is a secondary index; When the search locator key word of user's input does not comprise separator, can judge that the pairing index level of this search locator key word is the one-level index, i.e. the single-stage index.Wherein, secondary index comprises first order index and second level index, wherein, first order index is an application name, and second level index is that the son of application program is used page action-item data, and, second level index can continue to comprise the interface that a plurality of sons are used, when also having more separator in the index of the second level, can continue to judge whether to be multiple index according to separator, the judgment mode of its concrete process first order index as described above and second level index.
In embodiments of the present invention, above-mentioned index level separator is by preassigned, and this can be "+", " " etc., and can certainly specify other characters or non-character is separator, this not in order to the restriction the present invention; For example the search locator key word of user's input is " being provided with+backlight ", then in this search locator key word separator "+" is arranged, the search locator key word of then representing this input is a secondary index, and first order index is " setting ", and second level index is " backlight "; And if the search locator key word of input be " setting+" or "+backlight " or " setting " or "+", then all be the one-level index.
As example of the present invention, the search locator key word of user's input is " setting+", at first judges this search locator key word not for empty, and whether the key word of judging this input again is greater than a character.If the search location that first order index then carried out in character, greater than a character, second character " put " and is not separator owing to " setting+", the 3rd character " " is separator, therefore, " setting " is first order index, and "+" is second level index.
In embodiments of the present invention, the foundation of resolving the search locator key word of user's input is to judge whether to have separator (comprising the space) in the key word, if then the pairing index of this search locator key word is a secondary index; Then be the one-level index if not.
In step S102, judge the pairing index level of described search locator key word, if secondary index, execution in step S103 then, otherwise execution in step S106.
In step S103, when the pairing index level of described search locator key word is secondary index, with the first order index in the described index level is that key word carries out search matched in the application name of preserving in advance, and shows the application name that search matched arrives.
In embodiments of the present invention, preserve application name and son thereof in advance and use page action-item data, and set up corresponding related with application program and its son application application name and son application page action-item data thereof respectively, wherein, the search locator key word of user's input can be included in described application name and son is used page action-item data, it also can be functional overview to this application program, key word as user's input is reading, then can (read a book application name with read function as panda, superstar reader etc.) show selection for the user, certainly, described key word also can to use page action-item data in full accord with described application name or son.Wherein the search locator key word of user's input can be used as first order index, it is application name, also can be used as second level index, promptly son is used page action-item data, can judge according to the classification of the search locator key word of this user's input at this.
In embodiments of the present invention, when the pairing index level of search locator key word is secondary index, be key word at first with first order index, in the application name of preserving in advance, carry out search matched, and with search matched to the screen display of application name by portable terminal come out, when a plurality of application program, show in the mode of tabulating; When not having search matched to application program, do not show, perhaps point out the user not search matched arrive, also can point out the user to continue search location, do not repeat them here, but not in order to restriction the present invention.
In step S104, receive the selection of the application program that the user arrives search matched, and start the application program of selecting.
In embodiments of the present invention, the user selects in the application program that is presented on the screen, and after the user clicked selection, then control started this application program.
In step S105, described second level index information is sent to application program started, and control described application program and enter the pairing application program of described second level index.
In embodiments of the present invention, when starting the application program of selecting, second level index information is sent to application program started, application program can directly jump to described second level index information corresponding page according to this second level index information, wherein, this second level index information is second keyword message that passes through the separator interval of user's input.
In step S106, when the pairing index level of described search locator key word is the one-level index, in described application name of preserving and son application page action-item data thereof, mate, show the application name or the sub page of using that search matched arrives.
In embodiments of the present invention, when the pairing index level of search locator key word of user's input is the one-level index, then need in application name of preserving in advance and son application page action-item data thereof, mate, show the application program application page that search matched arrives, select to enter for the user.
Wherein, search locator key word with user's input is that example describes for " setting+setting ", by the given performing step of said method embodiment, can judge that this search locator key word is a secondary index, first order index is " setting ", second level index also is " setting ", therefore, in application name of preserving in advance and son application page action-item data thereof, mate, draw a matching result tree figure as shown in Figure 2, among the figure, the user can click " sight setting ", carry out " contextual model " pairing application interface then, only be a specific embodiment of the present invention herein, but not in order to restriction the present invention.
In embodiments of the present invention, by the search locator key word of user's input is resolved, judge the pairing index level of search locator key word of user's input, realize the application program of search localisation of mobile terminals fast, save the time loss of user when the page switches.
Fig. 3 shows the structured flowchart of the positioning system of the application program that the embodiment of the invention provides, for convenience of explanation, only provided the part relevant among the figure with the embodiment of the invention, wherein, the positioning system of application program can be built in software unit, hardware cell or the software and hardware combining unit of portable terminal.
Search interface configuration module 11 pre-configured application program search interfaces, described application program search interface is in order to the search locator key word of input application program; Set in advance module 12 and preserve application name and son application page action-item data thereof in advance, and set up corresponding related with application program and its son application application name and son application page action-item data thereof respectively.
Key word receiver module 13 receives the search locator key word of user in pre-configured application program search interface input; The user that the described key word receiver module 13 of index level acquisition module 14 parsings receives is at the search locator key word of pre-configured application program search interface input, obtain the pairing index level of described search locator key word, described index level comprises one-level index and secondary index; Judge module 15 is judged the pairing index level of search locator key word that described index level acquisition module 14 obtains, and judges that promptly the pairing index level of search locator key word is one-level index or secondary index; When described judge module 15 judges that the pairing index level of described search locator key word is secondary index, coupling display module 16 is that key word carries out search matched in the application name of preserving in advance with the first order index in the described index level, and shows the application name that search matched arrives; Application program launching module 17 receives the selection of the application program that users arrive described coupling display module 16 search matched, and starts the application program of selecting; When first control module 18 is secondary index when the pairing index level of described search locator key word, described second level index information is sent to application program started, and control described application program and enter the pairing application program of described second level index; When described judge module 15 judges that the pairing index level of described search locator key word is the one-level index, second control module 19 is mated in described application name of preserving and son application page action-item data thereof, shows the application program or the sub page of using that search matched arrives.
Above-mentioned only is a system embodiment of the present invention, and wherein, the functional description of each module such as above-mentioned method embodiment describe in the system embodiment, do not repeat them here, but not in order to restriction the present invention.
In embodiments of the present invention, receive and resolve the search locator key word of user in pre-configured application program search interface input, obtain the pairing index level of described search locator key word, described index level comprises one-level index and secondary index; Judge the pairing index level of described search locator key word; When the pairing index level of described search locator key word is secondary index, is that key word carries out search matched in the application name of preserving in advance with the first order index in the described index level, and shows the application name that search matched arrives; Receive the selection of the application program that the user arrives search matched, and start the application program of selecting; Described second level index information is sent to application program started, and control described application program and enter the pairing application program of described second level index, realize the application program of search localisation of mobile terminals fast, save the time loss of user when the page switches, embody the characteristics of hommization, be user-friendly to.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be in being stored in a computer read/write memory medium, described storage medium is as ROM/RAM, disk, CD etc.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.