Summary of the invention
Embodiments of the invention provide a kind of method and apparatus of software search, can improve the accuracy of software search.
A kind of method of carrying out software search according to the keyword of user's input comprises:
Set up the mapping table of the corresponding relation between storage keyword and the standard retrieval word;
According to the described mapping table of keyword query of user's input, obtain the standard retrieval word corresponding to keyword of described user's input;
According to described standard retrieval word query software database, obtain the software search result.
A kind of device that carries out software search according to the keyword of user's input comprises:
Mapping table is set up module, is used for setting up the mapping table of the corresponding relation between storage keyword and the standard retrieval word;
Standard retrieval word acquisition module is used for setting up the mapping table that module is set up according to the described mapping table of keyword query of user's input, obtains the standard retrieval word corresponding to keyword of described user's input;
The software search module, the standard retrieval word query software database for obtaining according to described standard retrieval word acquisition module obtains the software search result.
Can be found out by the technical scheme that the embodiment of the invention described above provides, the embodiment of the invention is by carrying out normalized to multiple keyword, determine unique standard retrieval word that multiple keyword is corresponding, safeguard keyword that various softwares are corresponding and the corresponding relation between the standard retrieval word by a mapping table, thereby can control flexibly software retrieval result's quality, improve the accuracy of software search, make Search Results and user's input message corresponding.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer, below in conjunction with accompanying drawing, so that the embodiment of the invention is clearly and completely described personnel.
Embodiment one
The treatment scheme of the method for a kind of keyword according to user's input carries out software search that this embodiment provides specifically may further comprise the steps 11~13 as shown in Figure 1.
The mapping table of the corresponding relation between step 11, foundation storage keyword and the standard retrieval word.
Obtain at least one keyword corresponding to same software according at least one item in type, software name, software type, the form, above-mentioned at least one keyword is carried out normalized, determine unique standard retrieval word that described at least one keyword is corresponding.
At least one keyword that various softwares are corresponding, unique standard retrieval word are stored in the mapping table.
Such as, determine " s60v3 ", " symbian60V3 ", " the s60 third edition ", " V3 of match class " four kinds of standard retrieval words " symbian60V3 " corresponding to keyword.
Determine standard retrieval word " Nokia " corresponding to " Nokia " and " nokia " two kinds of keywords.
Determine standard retrieval word " Google " corresponding to three kinds of keywords of " Google " " Google " " Gphone "
Determine " Benq Siemens " " Siemens " " Benq ", " benqsiemens ", " benq ", standard retrieval word " Benq Siemens " corresponding to " siemens " six kinds of keywords.
Step 12, according to the described mapping table of keyword query of user input, obtain the standard retrieval word corresponding to keyword of described user's input.
According to the described mapping table of keyword query of user's input, in described mapping table, comprise the identical keyword of keyword of inputting with described user, obtain standard retrieval word corresponding to described identical keyword in the described mapping table.
The described mapping table of keyword query according to user's input, in described mapping table, do not comprise the identical keyword of keyword with described user's input, word cut in the keyword of user's input processes, word after the cutting as the standard retrieval word, is no longer obtained the process of standard retrieval word through the mapping of mapping table.
Step 13, according to described standard retrieval word query software database, obtain the software search result.
After having obtained above-mentioned standard retrieval word, after with inquiring about in the software field information of this standard retrieval word in software database, the software result that inquiry is obtained sorts, screening etc. processed, the output software Search Results.
Embodiment two
The present embodiment provides a kind of device that carries out software search according to the keyword of user's input, and its concrete structure comprises as described in Figure 2 such as lower module:
Mapping table is set up module 21, is used for setting up the mapping table of the corresponding relation between storage keyword and the standard retrieval word;
Standard retrieval word acquisition module 22 is used for setting up the mapping table that module is set up according to the described mapping table of keyword query of user's input, obtains the standard retrieval word corresponding to keyword of described user's input;
Software search module 23, the standard retrieval word query software database for obtaining according to described standard retrieval word acquisition module obtains the software search result.
Particularly, described mapping table is set up module 21, also be used for obtaining at least one keyword corresponding to same software according at least one item of type, software name, software type, form, determine unique standard retrieval word that described at least one keyword is corresponding; At least one keyword that various softwares are corresponding, unique standard retrieval word are stored in the mapping table.
Particularly, described standard retrieval word acquisition module 22 can comprise:
The first acquisition module 221, be used for the described mapping table of keyword query according to user's input, in described mapping table, comprise the identical keyword of keyword of inputting with described user, obtain standard retrieval word corresponding to described identical keyword in the described mapping table.
The second acquisition module 222, be used for the described mapping table of keyword query according to user's input, in described mapping table, do not comprise the identical keyword of keyword with described user input, word cut in the keyword of user's input process, with the word after the cutting as the standard retrieval word.
The device of using the embodiment of the invention is similar according to concrete processing procedure and preceding method embodiment that the keyword of user's input carries out software search, repeats no more herein.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, to come the relevant hardware of instruction to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process such as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
In sum, the embodiment of the invention is by carrying out normalized to multiple keyword, determine unique standard retrieval word that multiple keyword is corresponding, safeguard keyword that various softwares are corresponding and the corresponding relation between the standard retrieval word by a mapping table, thereby can control flexibly software retrieval result's quality, improve the accuracy of software search, make Search Results and user's input message corresponding.
The embodiment of the invention has avoided the index in classification technology the poor or complete uncorrelated result's of some correlativitys situation may occur, has guaranteed the quality of result for retrieval, can satisfy the personalized retrieval demand of user under the comparatively special channel of this type of software.
The above; only for the better embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.