Summary of the invention
Technical matters to be solved by this invention is, at the existing lower problem of mobile phone contact recall precision, provides a kind of method based on the intelligent retrieval mobile phone contact of android system that retrieves the contact person fast
In order to solve the problems of the technologies described above, the invention provides a kind of method of the intelligent retrieval mobile phone contact based on the android system, use mobile phone key input data, it is characterized in that the step of searching linkman is as follows:
(1) mobile phone receives the retrieve data of user's input;
(2) judge whether the data of importing are pure digi-tal; If be pure digi-tal, mate the output Query Result according to the numeral and the contact phone number of input;
One that gets in proper order simultaneously in the letter on the digital keys corresponding with numeral is carried out sequential combination, and the various monograms after the combination are all compared and coupling with the name of contact person pinyin order, exports Query Result;
(3), judge whether input is pure letter, if be pure letter, with letter and comparison of name of contact person pinyin order and coupling, output Query Result if be not pure digi-tal;
(4) if be not pure letter, system default is input as Chinese character, carries out key search and exports Query Result.
In the concrete steps of described retrieval mobile phone contact (2), one that gets in the letter on the digital keys corresponding with numeral is carried out sequential combination, the method of its combination is: digital corresponding numerical key, 0 to 4 letter of each numerical key correspondence, from the letter of each numerical key correspondence, get a letter, arrange according to numerical order, form a monogram, each monogram is all inequality.
Good effect of the present invention is: this intelligent retrieval is to increase digital associative search function by phonetic retrieval and on by the basis of contact person's key search existing, improved the recall precision of contact person in the Android intelligence system, the user is if need certain contact person of retrieval, only need order input Pinyin letter one or several numeral on keyboard, just can association come out this contact person one or several interior contact person.This invention makes that contact person's search operaqtion is easy, the efficient height.Import one-bit digitals, the contact person that association comes out just still less improves the accurate of retrieval more.
Embodiment
Below in conjunction with specific embodiment the present invention is described in further detail.
The present invention is based on the method for the intelligent retrieval mobile phone contact of android system, it all uses general handset dialing key input, and the dialing button can be the dialing button on the touch screen, also can be mechanical touch screen button; This intelligent retrieval mobile phone contact is to increase digital associative search function on the basis of existing phonetic retrieval and contact person's key search.
The step of this invention searching linkman is as follows:
(1) mobile phone receives the user and imports retrieve data;
(2) judge whether the data of importing are pure digi-tal; If be pure digi-tal, mate the output Query Result according to the numeral and the contact phone number of input;
One that gets in proper order simultaneously in the letter on the digital keys corresponding with numeral is carried out sequential combination, and the various monograms after the combination are all compared and coupling with the name of contact person pinyin order, exports Query Result; In the concrete steps (2) of retrieval mobile phone contact, one that gets in the letter on the digital keys corresponding with numeral is carried out sequential combination, the method of its combination is: digital corresponding numerical key, 0 to 4 letter of each numerical key correspondence (not corresponding letter of button 0 and 1, have only numerical key 2 to 8 corresponding letters), from the letter of each numerical key correspondence, get a letter, arrange according to numerical order, form a monogram, each monogram is all inequality;
For example: " Zhang San, Zheng Si, king five " three contact persons are arranged in the phone directory, input digit: 97,9 corresponding one group of letter " wxyz ", 7 corresponding one group of letter " pqrs ", from every group of letter, get a letter respectively and carry out sequential combination, 16(4*4 is arranged) plant array mode, wherein have only " zs " correspondence " zhangsan " promptly to retrieve contact person " Zhang San ".
Input 99, corresponding two groups of identical letters " wxyz " are got a letter respectively and are carried out sequential combination from every group of letter, 16(4*4 is arranged) plant array mode, have only " ww " correspondence " wangwu " promptly to retrieve contact person " king five ".
Input digit: 92,9 corresponding one group of letter " wxyz ", 2 corresponding one group of letter " abc ", from every group of letter, get a letter respectively and carry out sequential combination, 12(4*3 is arranged) the kind array mode, wherein have only " wa ", " za " correspondence " wangwu ", " zhangsan " promptly to retrieve contact person " king five " and " Zhang San ", the contact person who selects the contact person to need gets final product.
Input digit 922,9 corresponding one group of letter " wxyz ", 2 corresponding one group of letter " abc ", from every group of letter, get a letter respectively and carry out sequential combination, 36(4*3*3 is arranged) the kind array mode, wherein " zaa " correspondence " zhangsan " retrieves contact person " Zhang San ", and other various combinations can not be associated " Zheng Si " and " king five ", therefore only exports contact person " Zhang San ".
(3), judge whether input is pure letter, if be pure letter, with letter and comparison of name of contact person pinyin order and coupling, output Query Result if be not pure digi-tal;
For example: input Pinyin: w, wa, ww, wwu, so long as the correct letter of any several orders among the wangwu just can retrieve " king five " contact person.
(4) if be not pure letter, system default is input as Chinese character, carries out key search and exports Query Result.
For example import Chinese character " king five " and retrieve contact person " king five ".
This intelligent retrieval is to increase digital associative search function by phonetic retrieval and on by the basis of contact person's key search existing, improved the recall precision of contact person in the Android intelligence system, the user is if need certain contact person of retrieval, only need order input Pinyin letter one or several numeral on keyboard, just can association come out this contact person one or several interior contact person, select the contact person who needs to get final product, this invention makes that contact person's search operaqtion is easy, the efficient height, the user experience sense improves greatly.Import one-bit digitals, the contact person that association comes out just still less improves the accurate of retrieval more.
The above embodiment of the present invention only is to be explanation example of the present invention, and is not to be qualification to embodiments of the present invention.For those of ordinary skill in the field, can also make other multi-form variation and changes on the basis of the above description.Here can't give exhaustive to all embodiments.Everyly belong to the row that conspicuous variation that technical scheme of the present invention amplifies out or change still are in protection scope of the present invention.