Summary of the invention
The objective of the invention is to solve above-mentioned existing in prior technology shortcoming, a kind of sort method and lookup method of searching the phone directory of handheld device easily and fast is provided.
The sort method of the phone directory of handheld device of the present invention adopts following technical scheme: described method comprises the following steps: at least
A) set up code table, according to the keyboard of different language, respective counts keyboard code table one to one on the Unicode coding of setting up corresponding language and the handheld device;
B) information translation converts the name memory encoding (Unicode) of each user in the phone directory to corresponding numeral by code table;
C) relatively ordering, according to the numeral that each name memory encoding converts to, the size ordering by its numeral forms phone directory lists.
Language in the technical solution of the present invention comprises western language, simplified form of Chinese Character, Chinese-traditional, Korean, Japanese or Arabic.
When the described language in the technical scheme was simplified form of Chinese Character, it comprised the following steps:
A) set up code table, according to the keyboard that is marked with the Chinese phonetic alphabet, respective counts keyboard code table one to one on the Unicode coding of setting up corresponding simplified Hanzi and the handheld device;
B) information translation converts the simplified Hanzi initial consonant memory encoding (Unicode) of the name of each user in the phone directory to corresponding numeral by code table;
C) relatively ordering:
C1. digital comparison step is if the pairing numeral of address name simplified Hanzi initial consonant differs in size, then according to the big minispread user of numeral; If the number equal and opposite in direction is then carried out the initial consonant comparison step;
C2. initial consonant comparison step: the initial consonant that takes out the first Chinese character of simplified Hanzi compares, if initial consonant differs in size, then according to the letter of the initial consonant that does not wait on the same numerical key arrangement user that puts in order; If the initial consonant equal and opposite in direction is then carried out the simple or compound vowel of a Chinese syllable comparison step:
C3. simple or compound vowel of a Chinese syllable comparison step; The simple or compound vowel of a Chinese syllable that takes out the first Chinese character of simplified Hanzi compares, if simple or compound vowel of a Chinese syllable differs in size, then puts in order according to letter by the simple or compound vowel of a Chinese syllable that does not wait on the same numerical key and arranges the user; If simple or compound vowel of a Chinese syllable equal and opposite in direction, then executing location comparison step;
C4. location number comparison step, each user present position number relatively is according to the big minispread user of location number.
When the described language in the technical scheme was unsimplified Hanzi, it comprised the following steps:
A) set up code table, according to the keyboard that is marked with the Chinese phonetic alphabet, respective counts keyboard code table one to one on the Unicode coding of setting up corresponding unsimplified Hanzi and the handheld device;
B) information translation converts the initial consonant memory encoding (Unicode) of the name unsimplified Hanzi phonetic notation of each user in the phone directory to corresponding numeral by code table;
C) relatively ordering:
C1. digital comparison step is if the pairing numeral of initial consonant of address name unsimplified Hanzi phonetic notation differs in size, then according to the big minispread user of numeral; If the number equal and opposite in direction is then carried out the initial consonant comparison step of phonetic notation;
C2. the initial consonant comparison step of phonetic notation: take out the initial consonant of the phonetic notation of the first Chinese character of unsimplified Hanzi, if the initial consonant of phonetic notation differs in size, then according to the letter of the initial consonant that does not wait on the same numerical key arrangement user that puts in order; If the initial consonant equal and opposite in direction is then carried out the phonetic notation comparison step:
C3. phonetic notation comparison step; Take out the phonetic notation of the first Chinese character of unsimplified Hanzi, if phonetic notation differ in size, then according to the letter of the phonetic notation that does not wait on the same numerical key arrangement user that puts in order; If phonetic notation equal and opposite in direction, then executing location comparison step;
C4. location number comparison step, each user present position number relatively is according to the big minispread user of location number.
When the described language in the technical scheme was western language, it comprised the following steps:
A) set up code table, according to the keyboard that is marked with letter, respective counts keyboard code table one to one on the Unicode coding of setting up corresponding western language and the handheld device;
B) information translation converts the name letter word memory encoding (Unicode) of each user in the phone directory to corresponding numeral by code table;
C) relatively ordering:
C1. digital comparison step is if the pairing numeral of address name letter word differs in size, then according to the big minispread user of numeral; If the number equal and opposite in direction is then carried out the first alphabetical comparison step;
C2. the first alphabetical comparison step: take out the first letter of western language,, then the first letters different on the same numerical key is put in order according to letter and arrange the user if alphabet size does not wait; If alphabet size is equal, then the executing location comparison step;
C3. location number comparison step, each user present position number relatively is according to the big minispread user of location number.
The present invention, when deletion, change, when adding user and user profile, CPU upgrades tabulation automatically.
The lookup method of the phone directory of handheld device of the present invention adopts following technical scheme: the lookup method of the phone directory of handheld device, and described lookup method adopts following step:
1) input number keyboard: the pairing numeral of initial consonant of the Chinese character of input address name or the alphabetical pairing numeral of western language under holding state;
2) calling and obtaining user: CPU takes out the user that numeral equates with input digit by function algorithm in tabulating;
3) explicit user: CPU with the user that transfers by the sequencing display in the tabulation in screen.
4) select the user: the key up and down by keyboard is selected required user.
Described function algorithm of the present invention is a dichotomy.
The step of calling and obtaining user of the present invention, CPU takes out location number digital and the corresponding user of input digit in tabulating, by the information of location number calling and obtaining user.
The step of input number keyboard of the present invention also comprises the input validation key, and it is imported after input digit.
By the above-mentioned description of this invention as can be known, compare with background technology, sort method of the present invention has following characteristics:
One, the sort method of phone directory of the present invention comprises step: set up code table, information translation and relatively ordering, each user of phone directory converts the big minispread of corresponding numeral to name memory encoding (Unicode);
Its two, the keyboard of the numeral that each user's name memory encoding (Unicode) converts to is the residing keyboard of name memory encoding (Unicode);
Its three, language comprises western language, simplified form of Chinese Character, Chinese-traditional, Korean, Japanese or Arabic, western language wherein comprises English, German, French;
Its four, when language was simplified form of Chinese Character: the keyboard of the pairing numeral of initial consonant of each Chinese character of address name was identical with the keyboard of this initial consonant; The ordering of each user's arrangement is the ordering of the size of the pairing ordering numeral of user, and the ordering numeral is that the combination of numbers by the initial consonant correspondence of each Chinese character forms; Relatively comprise digital comparison step, initial consonant comparison step, simple or compound vowel of a Chinese syllable comparison step, location number comparison step in the ordering, each user's arrangement is more reasonable, and is more directly perceived when the user searches;
Its five, when language was western language: the alphabetical pairing numeral of each western language of address name was pairing numeral on this alphabetical keyboard; The ordering of each user's arrangement is the ordering of the size of the pairing ordering numeral of user, and the ordering numeral is made up of the corresponding numeral of each letter of each western language;
Its six, deletion, change, when adding user and user profile, CPU upgrades tabulation automatically, so that the user accurately finds needed each user.
By the above-mentioned description of this invention as can be known, compare with background technology, lookup method of the present invention has following advantage:
One, lookup method of the present invention comprises following step: input number keyboard, calling and obtaining user, explicit user and selection user, user search conveniently, and be quick;
Its two, if user's the name in the phone directory is a Chinese character, then the possibility that all equates of the pairing numeral of the initial consonant of address name Chinese character is smaller, probability is low; If the name of the user in the phone directory is a western language, then the possibility that user's alphabetical pairing numeral is all equal is smaller, and probability is low; So the number that is shown in after searching on the display screen is few, the user can directly find needed user's information, or by few time can find needed user's information by the action of key up and down;
They are three years old, input number keyboard: the numeral of input is the numeral on the keyboard of letter of numeral on the keyboard of initial consonant of Chinese character or western language, because the letter of the initial consonant of Chinese character or English is same keyboard with numeral to be imported, so the user recognizes and memory is convenient, only need get final product during input, not need continuously by repeatedly to find pairing letter or initial consonant by this keyboard once;
Its four, calling and obtaining user because the ordering of above-mentioned tabulation is the arrangement that converts the size of corresponding numeral with name memory encoding (Unicode) to, the algorithm of CPU internal searching is simple, computational speed is quick, saves time;
Its five, function algorithm is a dichotomy, computational speed is quick, saves time;
Its six, what each numeral was corresponding in the tabulation is user's location number, transfers corresponding user's information by location number.
Embodiment
The present invention is further illustrated below in conjunction with accompanying drawing 1,2,3.
Handheld device comprises mobile phone and PDA etc., and specific embodiments of the invention are to be example with the mobile phone, but do not exceed with mobile phone.
Mobile phone generally comprises keyboard, display, central processing unit, internal memory and recording equipment.Keyboard, display, internal memory and recording equipment are connected in the corresponding port of central processing unit respectively.Comprise function key and 12 character keys on the keyboard, wherein function key comprises power switch key, assignment key, Menu key and other function key.12 character keys comprise digital alphabet key and * key, # key.
When mobile phone power-on, central processing unit forms phone directory lists by sort method in internal memory.As shown in Figure 1, the sort method of phone directory comprises the following steps:
A) set up code table, according to the keyboard of different language, respective counts keyboard code table one to one on the Unicode coding of setting up corresponding language and the handheld device;
B) information translation converts the name memory encoding (Unicode) of each user in the phone directory to corresponding numeral by code table;
C) relatively ordering, according to the numeral that each name memory encoding converts to, the size ordering by its numeral forms phone directory lists.
Language in the technical solution of the present invention comprises western language, simplified form of Chinese Character, Chinese-traditional, Korean, Japanese or Arabic, and western language wherein comprises English, German, French etc.Following mask body has been enumerated simplified form of Chinese Character, Chinese-traditional and English concrete sort method, the sort method of all the other literal can note simplified form of Chinese Character, Chinese-traditional and English concrete sort method.
Example one: when the described language in the technical scheme was simplified form of Chinese Character, as shown in Figure 2, sort method comprised the following steps:
A) set up code table, according to the keyboard that is marked with the Chinese phonetic alphabet, respective counts keyboard code table one to one on the Unicode coding of setting up corresponding simplified Hanzi and the handheld device; The corresponding relation of code table is: numeral is the numeral on the alphabetic keypad of the initial consonant of simplified Hanzi;
A1) comprehensive step is the comprehensive one-tenth of the phone directory on the phone directory of mobile phone inside and the SIM card one total phone directory;
B) information translation converts each simplified Hanzi initial consonant memory encoding (Unicode) of each user's name in total phone directory to corresponding numeral by code table; The numeral of each simplified Hanzi initial consonant correspondence of each user is become an ordering numeral by the permutation and combination of the simplified Hanzi of address name respectively, that is, each user has the ordering numeral of a correspondence respectively;
As address name be: Zhang Fei, opening the pairing initial consonant of word is Z, and the pairing numeral of Z keyboard is 9, then opening the numeral that word converts to is 9; Flying the pairing initial consonant of word is F, and the pairing numeral of F keyboard is 3, and then flying the numeral that word converts to is 3; So Zhang Fei's ordering numeral is 93;
As address name be: Zhu De, the pairing initial consonant of Zhu's word is Z, and the pairing numeral of Z keyboard is 9, then the numeral that converts to of Zhu's word is 9; The pairing initial consonant of moral word is D, and the pairing numeral of D keyboard is 3, and then the numeral that converts to of moral word is 3; So the ordering numeral of Zhu De is 93;
As address name be: ten thousand virtues, the pairing initial consonant of ten thousand words is W, and the pairing numeral of W keyboard is 9, then the numeral that converts to of ten thousand words is 9; The pairing initial consonant of virtue word is F, and the pairing numeral of F keyboard is 3, and the numeral that then fragrant word converts to is 3; So the ordering numeral of ten thousand virtues is 93;
As address name be: Liu is equipped with, and the pairing initial consonant of Liu's word is L, and the pairing numeral of L keyboard is 5, and then the numeral that converts to of Liu's word is 5; Being equipped with the pairing initial consonant of word is B, and the pairing numeral of B keyboard is 2, and then being equipped with the numeral that word converts to is 2; So the ordering numeral that Liu is equipped with is 52;
And for example address name is: Zhuge Liang, and the pairing initial consonant of all words is Z, and the pairing numeral of Z keyboard is 9, the numeral that then all words convert to is 9; The pairing initial consonant of Pueraria lobota word is G, and the pairing numeral of G keyboard is 4, and then the numeral that converts to of Pueraria lobota word is 4; The pairing initial consonant of bright word is L, and the pairing numeral of L keyboard is 5, and the numeral that then bright word converts to is 5; So Zhuge Liang's ordering numeral is 945;
C) relatively ordering:
C1. digital comparison step: take out the ordering numeral and carry out size relatively;
If the pairing ordering numeral of each address name differs in size, then according to the big minispread user of numeral; From small to large arrangement ordering, as, Zhang Fei (93), Liu are equipped with putting in order of (52), Zhuge Liang (945) and are equipped with (52), Zhang Fei (93), Zhuge Liang (945) for Liu;
If the number equal and opposite in direction is then carried out the initial consonant comparison step; As Zhang Fei (93), Zhu De (93), ten thousand virtues (93);
C2. initial consonant comparison step: the initial consonant that takes out the first Chinese character of simplified Hanzi compares;
If initial consonant differs in size, then the letter according to the initial consonant that does not wait on the same numerical key put in order (according to putting in order of the letter of English, initial consonant has corresponding relation with English letter) arrange the user; As, Zhang Fei (93, Z), ten thousand virtues (93, W) put in order be ten thousand virtues (93, W), Zhang Fei (93, Z);
If the initial consonant equal and opposite in direction is then carried out the simple or compound vowel of a Chinese syllable comparison step: as Zhang Fei (93, Z), Zhu De (93, Z);
C3. simple or compound vowel of a Chinese syllable comparison step; The simple or compound vowel of a Chinese syllable that takes out the first Chinese character of simplified Hanzi compares;
If simple or compound vowel of a Chinese syllable differs in size, then by the simple or compound vowel of a Chinese syllable that does not wait on the same numerical key according to letter put in order (according to putting in order of the letter of English, simple or compound vowel of a Chinese syllable has corresponding relation with English letter) arrange the user; As, Zhang Fei (93, ZHANG), Zhu De (93, ZHU) put in order for Zhang Fei (93, ZHANG), Zhu De (93, ZHU);
If simple or compound vowel of a Chinese syllable equal and opposite in direction, then executing location comparison step;
C4. location number comparison step, each user present position number relatively is according to the big minispread user of location number.
Location number be the user the input user with and during information, central processing unit generates automatically or determines according to the numeral of user's input.
Comprise ordering numeral and location number in the phone directory lists, location number is connected with the user's of this location number information.Find location number and can find user's information by this connection.
Above-mentioned ordering is: Liu be equipped with (52), ten thousand virtues (93, W), Zhang Fei (93, ZHANG), Zhu De (93, ZHU), Zhuge Liang (945).
Example two, when the described language in the technical scheme was unsimplified Hanzi, the distribution of the keyboard of the handheld device of unsimplified Hanzi was as shown in the table.
Correspondence between the digital alphabet key of each traditional Chinese is arranged as follows.
1.b/ㄅ p/ㄆ m/ㄇ f/ㄈ
2.d/ㄉ t/ㄊ n/ㄋ L/
3.g/ ㄍ k/ h/ factory
4.j/ㄐ q/ㄑ x/ㄒ
5.zh/ㄓ ch/ㄔ sh/ r/ㄖ
6.z/ㄗ c/ㄘ s/ㄙ
7.a/ㄚ o/ㄛ e/ㄜ ie/ㄝ
8.ai/ㄞ ei/ㄟ ao/ㄠ ou/ㄡ
9.er/ㄦ an/ㄢ en/ㄣ ang/ㄤ eng/ㄥ
0.i/ㄧ u/ㄨ ü/ㄩ
Sort method comprises the following steps:
A) set up code table, according to the keyboard that is marked with the Chinese phonetic alphabet, respective counts keyboard code table one to one on the Unicode coding of setting up corresponding unsimplified Hanzi and the handheld device; The corresponding relation of code table is: numeral is the numeral on the alphabetic keypad of the initial consonant of unsimplified Hanzi phonetic notation;
B) information translation converts the initial consonant memory encoding (Unicode) of the name unsimplified Hanzi phonetic notation of each user in the phone directory to corresponding numeral by code table; The numeral of the initial consonant correspondence of each unsimplified Hanzi phonetic notation of each user is become an ordering numeral by the permutation and combination of the unsimplified Hanzi of address name respectively, that is, each user has the ordering numeral of a correspondence respectively;
Be Cao behaviour, Liu Prepare and Tu Fu as address name: the numerical key of the corresponding cell phone keyboard of " Cao behaviour " phonetic notation initial consonant is " 66 ", and promptly converting the ordering numeral to is 66; The numerical key of " Liu Prepare " phonetic notation initial consonant correspondence is " 21 ", and promptly converting the ordering numeral to is 21, and the numerical key of the corresponding cell phone keyboard of " Tu Fu " phonetic notation initial consonant is " 21 ", and promptly converting the ordering numeral to is 21;
C) relatively ordering:
C1. digital comparison step is taken out each user's ordering numeral and is carried out big minispread;
If the pairing numeral of initial consonant of address name unsimplified Hanzi phonetic notation differs in size, then according to the big minispread user of numeral; Grasp (66) as putting in order of, Liu Prepare (21), Cao behaviour (66) for Liu Prepare (21), Cao;
If the number equal and opposite in direction is then carried out the initial consonant comparison step of phonetic notation; As, Liu Prepare (21), Tu Fu (21);
C2. the initial consonant comparison step of phonetic notation: the initial consonant that takes out the phonetic notation of the first Chinese character of unsimplified Hanzi;
If the initial consonant of phonetic notation differs in size, then the letter according to the initial consonant that does not wait on the same numerical key put in order (according to putting in order of the letter of English, the initial consonant of phonetic notation has corresponding relation with English letter) arrange the user; As, the initial consonant of " Liu Prepare " phonetic notation be "
ㄅ (LB) ", the initial of " Tu Fu " phonetic notation also is " ㄉ ㄈ (DF) ", in the phonetic notation input keyboard,
(L) and ㄉ (D) 2 keys that coexist, ㄉ (D) comes
(L) front is so Liu Prepare (21), putting in order of Tu Fu (21) are Tu Fu (21), Liu Prepare (21);
If the initial consonant equal and opposite in direction is then carried out the phonetic notation comparison step:
C3. phonetic notation comparison step; Take out the phonetic notation of the first Chinese character of unsimplified Hanzi, if (according to putting in order of the letter of English, phonetic notation has corresponding relation with English letter) the arrangement user that puts in order of the letter according to the phonetic notation that does not wait on the same numerical key is then differed in size in phonetic notation; If phonetic notation equal and opposite in direction, then executing location comparison step;
C4. location number comparison step, each user present position number relatively is according to the big minispread user of location number.
Above-mentioned ordering is: Tu Fu (21), Liu Prepare (21), Cao grasp (66).
When example three, the described language in the technical scheme were English, sort method comprised the following steps:
A) set up code table, according to the keyboard that is marked with letter, respective counts keyboard code table one to one on the Unicode coding of setting up corresponding English and the handheld device; The corresponding relation of code table is: numeral is the numeral on the alphabetic keypad of English alphabet;
B) information translation converts the name English alphabet memory encoding (Unicode) of each user in the phone directory to corresponding numeral by code table; The numeral of each English alphabet correspondence of each user is become an ordering numeral by the permutation and combination of the English alphabet of address name respectively, that is, each user has the ordering numeral of a correspondence respectively;
As english name is that the numerical key of the corresponding cell phone keyboard of JOY, MAX, NAY:JOY letter is 569, and promptly converting the ordering numeral to is 569; The numerical key of the corresponding cell phone keyboard of MAX letter is 629, and promptly converting the ordering numeral to is 629; The numerical key of the corresponding cell phone keyboard of NAY letter is 629, and promptly converting the ordering numeral to is 629;
C) relatively ordering:
C1. digital comparison step, take out the ordering numeral and carry out big minispread:
If the pairing numeral of address name letter word differs in size, then according to the big minispread user of numeral; Be JOY (569), MAX (629) as putting in order of JOY (569), MAX (629);
If the number equal and opposite in direction is then carried out the first alphabetical comparison step; As MAX (629), NAY (629);
C2. the first alphabetical comparison step: take out English the first letter, if alphabet size does not wait;
Then the first letters different on the same numerical key is put in order according to letter and arrange the user; As, putting in order of MAX (629), NAY (629) is MAX (629), NAY (629);
If alphabet size is equal, then the second alphabetical comparison step;
The second alphabetical comparison step: take out English second letter, if second alphabet size does not wait; Then second different on the same numerical key letters is put in order according to letter and arrange the user; If alphabet size equates, then carries out the trigram comparison step; By that analogy, when all letters all equate, executing location comparison step then;
C3. location number comparison step, each user present position number relatively is according to the big minispread user of location number.
Above-mentioned ordering is: JOY (569), MAX (629), NAY (629).
Example four: when the described language in the technical scheme was simplified form of Chinese Character, sort method comprised the following steps:
A) set up code table, according to the keyboard that is marked with the Chinese stroke, respective counts keyboard code table one to one on the Unicode coding of setting up corresponding simplified Hanzi and the handheld device; The corresponding relation of code table is: numeral is the numeral on the stroke keyboard of the first sum of picture of simplified Hanzi;
B) information translation converts the first sum of picture memory encoding (Unicode) of each simplified Hanzi of the name of each user in the phone directory to corresponding numeral by code table; Each simplified Hanzi of each user the first sum of drawn corresponding numeral become an ordering numeral by the permutation and combination of the simplified Hanzi of address name respectively, that is, each user has the ordering numeral of a correspondence respectively;
C) relatively ordering:
C1 numeral comparison step: take out the ordering numeral and carry out size relatively;
If the pairing ordering numeral of each address name differs in size, then according to the big minispread user of numeral;
If the number equal and opposite in direction is then carried out the comparison step of second stroke;
If the second stroke equal and opposite in direction is then carried out the 3rd stroke comparison step; By that analogy, when all strokes all equate, executing location comparison step then;
C3. location number comparison step, each user present position number relatively is according to the big minispread user of location number.
When deletion, change, when adding user and user profile, CPU upgrades tabulation automatically.
When the address name of phone directory has different language, as having simplified Hanzi simultaneously and when English, at this moment, the ordering of phone directory is: convert the ordering numeral to according to above-mentioned code table, then by the big minispread of ordering numeral; If sort during digital equal and opposite in direction, the then initial consonant of more the first simplified Hanzi and English the first letter then put in order according to letter to initial consonants different on the same numerical key or letter and arrange the user; The comparison position number if initial consonant or letter equate.Come MAX (629) before as Zhang Fei (93).
The lookup method of the phone directory of handheld device of the present invention adopts following technical scheme: the lookup method of the phone directory of handheld device, and as shown in Figure 3, described lookup method adopts following step:
1) input number keyboard: the pairing numeral of initial consonant of the Chinese character of input address name or the alphabetical pairing numeral of western language under holding state;
2) calling and obtaining user: CPU takes out the user that numeral equates with input digit by function algorithm in tabulating;
3) explicit user: CPU with the user that transfers by the sequencing display in the tabulation in screen.
4) select the user: the key up and down by keyboard is selected required user.
Described function algorithm of the present invention can be adopted as dichotomy, supports fuzzy algorithmic approach simultaneously.By dichotomy, the number of times of calculating is few, and speed is fast.As: have 100 users in the phone directory, the user imports 3 numerals, and the number of times of calculating of searching of the present invention on average needs log
2 100/ 2 times; And on average need 3*3*3*100/2=1350 by the number of times of the algorithm of introducing in the prior art, 1350 much larger than log
2 100/ 2.So the speed of lookup method of the present invention is quick.Of the present invention searching simultaneously, the user only needs the number of times 3 times of keypad, and the lookup method of introducing in the existing technology, the user needs keypad repeatedly to find needed letter, searches often.
For example, the user who has of phone directory comprises: Liu is equipped with (52), Zhang Fei (93), Zhuge Liang (945), Zhu De (93), ten thousand virtues (93), JOY (569), MAX (629), NAY (629).The ordering of the tabulation of phone directory is according to the method for above-mentioned ordering, and its ordering should be equipped with (52), ten thousand virtues (93), Zhang Fei (93), Zhu De (93), JOY (569), MAX (629), NAY (629), Zhuge Liang (945) for Liu.Wherein Liu to be equipped with (52) pairing location number be 1; The pairing location number of ten thousand virtues (93) is 2; The pairing location number of Zhang Fei (93) is 3; The pairing location number of Zhu De (93) is 4; The pairing location number of JOY (569) is 5; The pairing location number of MAX (629) is 6; The pairing location number of NAY (629) is 7; The pairing location number of Zhuge Liang (945) is 8.
The user enters the system of searching by the phone directory menu of mobile phone; Or function keyboard enters the system of searching.
Example one is if the user need search the information that Liu is equipped with or dial the phone that Liu is equipped with.The step of its lookup method:
1) input number keyboard: the pairing numeral of initial consonant of the Chinese character of input address name, both Liu's initial consonant pairing digital 5; The initial consonant pairing digital 2 that is equipped with;
2) calling and obtaining user: CPU takes out the user's that numeral equates with input digit location number in tabulate by dichotomy, and both extracting position number 1, the information that is equipped with by location number 1 taking-up Liu;
3) explicit user: CPU is shown in screen with the information that Liu is equipped with.
Example two is if the user need search the information of NAY or dial the phone of NAY.The step of its lookup method:
1) input number keyboard: the alphabetical pairing numeral of the English of input address name, both each letter pairing digital 629 of NAY; After input digit 6, show on the display screen that the first place is the user's of 6 ordering numeral information, i.e. MAX (629), NAY (629); After input digit 62, show on the display screen that front two is the user's of 62 ordering numeral a information; After input digit 629, show on the display screen that front three is the user's of 629 ordering numeral a information;
2) calling and obtaining user: CPU takes out the user's that numeral equates with input digit location number in tabulate by dichotomy, and both extracting position numbers 6 and 7, by the information of location number 6 and 7 taking-up MAX and NAY;
3) explicit user: CPU is shown in screen with the information of MAX and NAY;
4) select the user: select required user NAY by the key up and down of keyboard.
Example three is if the user need search the information of Zhu De or dial the phone of Zhu De.The step of its lookup method:
1) input number keyboard: the pairing numeral of initial consonant of the simplified Hanzi of input address name, both each letter pairing digital 93 of Zhu De (93); After input digit 9, show on the display screen that the first place is the user's of 9 ordering numeral information, both ten thousand virtues (93), Zhang Fei (93), Zhu De (93), Zhuge Liang (945); After input digit 93, show on the display screen that front two is the user's of 93 ordering numeral information, both ten thousand virtues (93), Zhang Fei (93), Zhu De (93);
2) calling and obtaining user: CPU takes out the user's that numeral equates with input digit location number in tabulate by dichotomy, and both extracting position numbers 2 and 3 and 4, the information of taking out ten thousand virtues (93), Zhang Fei (93), Zhu De (93) by location number 2 and 3 and 4 respectively;
3) explicit user: CPU is shown in screen with the information of ten thousand virtues (93), Zhang Fei (93), Zhu De (93);
4) select the user: select required user Zhu De by the key up and down of keyboard.
From the above, the user is after numeral of every input, and CPU finds former bit digital ordering numeral pairing user identical with input digit automatically from tabulation, and constantly upgrades pairing user according to the numeral that is input into.
Example four is if the user need search the information of Zhu De or dial the phone of Zhu De.The step of its lookup method:
1) input number keyboard: the pairing numeral of the first sum of picture of the Chinese character of input address name under holding state, the first sum of left-falling stroke, the numeral 4 of its correspondence of being depicted as of Zhu's word; The first sum of left-falling stroke, the numeral 4 of its correspondence of being depicted as of moral word; The ordering numeral of Zhu De is 44;
2) calling and obtaining user: CPU is the location number 4 of Zhu De by function algorithm from the user that the interior taking-up numeral of tabulating equates with input digit;
3) explicit user: CPU is shown in screen with the information of Zhu De (44).
The step of calling and obtaining user of the present invention, CPU takes out location number digital and the corresponding user of input digit in tabulating, by the information of location number calling and obtaining user.
If do not find qualified record, user prompt " no this item order " can be given in the interface.
The present invention is direct input number keyboard under holding state also, and then the input validation key is as " * " key, and this moment, system of searching that enters regarded as this automatically by the central processing unit of mobile phone, and began to search.
The above, only for preferred embodiment of the present invention, so can not limit scope of the invention process with this, i.e. the equivalence of doing according to the present patent application claim and description changes and modification, all should still belong in the scope that patent of the present invention contains.