CN100550929C - The sort method of the phone directory of handheld device and lookup method - Google Patents

The sort method of the phone directory of handheld device and lookup method Download PDF

Info

Publication number
CN100550929C
CN100550929C CNB2004100354676A CN200410035467A CN100550929C CN 100550929 C CN100550929 C CN 100550929C CN B2004100354676 A CNB2004100354676 A CN B2004100354676A CN 200410035467 A CN200410035467 A CN 200410035467A CN 100550929 C CN100550929 C CN 100550929C
Authority
CN
China
Prior art keywords
user
numeral
keyboard
ordering
initial consonant
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CNB2004100354676A
Other languages
Chinese (zh)
Other versions
CN1728735A (en
Inventor
周长泉
游冰
张晓杰
方亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Amoi Technology Co ltd
Original Assignee
XIAXIN ELECTRONIC CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XIAXIN ELECTRONIC CO Ltd filed Critical XIAXIN ELECTRONIC CO Ltd
Priority to CNB2004100354676A priority Critical patent/CN100550929C/en
Publication of CN1728735A publication Critical patent/CN1728735A/en
Application granted granted Critical
Publication of CN100550929C publication Critical patent/CN100550929C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The present invention relates to a kind of mobile communication technology field.The ordering storage method of the phone directory of handheld device of the present invention comprises step: at first, set up code table; The second, information translation; At last, relatively ordering.Each user of phone directory of the present invention converts the big minispread of corresponding numeral to name memory encoding (Unicode); The keyboard of the numeral that each user's name memory encoding (Unicode) converts to is the residing keyboard of name memory encoding (Unicode).The lookup method of the phone directory of handheld device of the present invention comprises step: at first, and input number keyboard; The second, calling and obtaining user; The 3rd, explicit user; At last, select the user.Lookup method of the present invention is searched conveniently, and is quick.

Description

The sort method of the phone directory of handheld device and lookup method
Technical field
The present invention relates to a kind of mobile communication technology field, particularly relate to a kind of sort method and lookup method of phone directory of handheld device.
Background technology
Disclose the patent that a kind of denomination of invention is the mobile phone of integrated ordered storing phone number in the Chinese patent database, its publication number is CN1333643A, and its time of disclosure is on January 20th, 2002, and its application number is 01130665.A kind of mobile phone of integrated ordered storing phone number includes: casing, keyboard, display screen, receiver, transmitter, battery, and the control circuit of installing in casing that comprises microprocessor; In the microprocessor control circuit of this mobile phone, store the software module of integrated ordered storing phone number, telephone number database in this software module is that the whole telephone numbers that will store in its mobile phone and the SIM card all combine, and unites the ordering storage according to the English order of first letter of the Chinese character initial of its user's Chinese Name or english name.
Disclose a kind of denomination of invention in the Chinese patent database and be name and number searching method in a kind of mobile phone, its publication number is CN1404289A, and its time of disclosure is on March 19th, 2003, and its application number is 01132434.Name in a kind of mobile phone and number searching method, based on the cell phone system that contains central processing unit, display, buffer, internal memory, recording equipment and keyboard, it comprises the steps: that a. is under holding state, key in the relevant character string of waiting to look into name by cell phone keyboard, deposit buffer successively in; B.CPU concatenates into all possible character combination according to the relevant character in the buffer, and name or the number with each character combination and recording equipment storage carries out matching treatment then, selects candidate's name or number, send display to show.
Though more than the technical scheme of invention of two patents can make the cellphone subscriber can than in the past convenient, its required telephone number is found in retrieval in telephone directory book quickly, but it also has following shortcoming: one, several letters are all arranged on each keyboard, the user time may need continuously just to find needed letter by this keyboard several times in input, and the user uses inconvenience; Its two, the CPU of handheld device is when searching, calculation often, and is time-consuming.
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.
Description of drawings
Accompanying drawing 1 is the schematic diagram of sort method of the present invention;
Accompanying drawing 2 is the schematic diagram of the sort method when language is simplified form of Chinese Character of the present invention;
Accompanying drawing 3 is the schematic diagram of lookup method of the present invention.
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 "
Figure C20041003546700101
ㄅ (LB) ", the initial of " Tu Fu " phonetic notation also is " ㄉ ㄈ (DF) ", in the phonetic notation input keyboard,
Figure C20041003546700102
(L) and ㄉ (D) 2 keys that coexist, ㄉ (D) comes
Figure C20041003546700103
(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.

Claims (3)

1. the lookup method of the phone directory of handheld device, it is characterized in that: this lookup method comprises:
A. prior step, after the handheld device start, this phone directory sorts according to the following step:
A1. 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;
A2. information translation converts the name memory encoding (Unicode) of each user in the phone directory to corresponding numeral by code table; And
A3. relatively ordering, according to the numeral that each name memory encoding converts to, the size ordering by its numeral forms phone directory lists, and it comprises:
A31. digital comparison step judges whether the numeral of address name correspondence equates, if unequal, then according to the big minispread user of numeral, if equate, then take out the name initial consonant and carries out A32;
A32. the initial consonant comparison step judges whether the initial consonant that takes out equates, if unequal, then put in order according to letter and arranges the user, if equate, then takes out the name simple or compound vowel of a Chinese syllable and carries out A33;
A33. simple or compound vowel of a Chinese syllable comparison step; Judge whether the simple or compound vowel of a Chinese syllable that takes out equates,, then put in order and arrange the user,, then carry out A34 if equate according to letter if unequal; And
A34. location number comparison step, each user present position number relatively is according to the big minispread user of location number;
B. input digit step under holding state, is imported the pairing numeral of initial consonant of each Chinese character of address name or each alphabetical pairing numeral of western language successively;
C. calling and obtaining user step, when one of the every reception of handheld device was digital, CPU took out the user that the front numeral equates with input digit by the dichotomy function algorithm in tabulating;
D. explicit user step, when taking out the user at every turn, CPU just with the user that transfers by the sequencing display in the tabulation in screen;
E. select user steps, select required user by the key up and down of keyboard.
2. according to the lookup method of the phone directory of the described handheld device of claim 1, it is characterized in that: the step of described calling and obtaining user, CPU takes out numeral and the corresponding user's of input digit location number in tabulate, by the information of location number calling and obtaining user.
3. the lookup method of the phone directory of handheld device according to claim 1, it is characterized in that: the step of described input number keyboard also comprises the input validation key, and it is imported after input digit.
CNB2004100354676A 2004-07-27 2004-07-27 The sort method of the phone directory of handheld device and lookup method Expired - Lifetime CN100550929C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100354676A CN100550929C (en) 2004-07-27 2004-07-27 The sort method of the phone directory of handheld device and lookup method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100354676A CN100550929C (en) 2004-07-27 2004-07-27 The sort method of the phone directory of handheld device and lookup method

Publications (2)

Publication Number Publication Date
CN1728735A CN1728735A (en) 2006-02-01
CN100550929C true CN100550929C (en) 2009-10-14

Family

ID=35927734

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100354676A Expired - Lifetime CN100550929C (en) 2004-07-27 2004-07-27 The sort method of the phone directory of handheld device and lookup method

Country Status (1)

Country Link
CN (1) CN100550929C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894127A (en) * 2010-05-26 2010-11-24 洪朝彬 Intelligent arranging and searching method for mobile phone contact

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426046A (en) * 2007-10-30 2009-05-06 希姆通信息技术(上海)有限公司 Method for telephone book lookup according to surnames on mobile phone
CN101686274B (en) * 2008-09-22 2013-10-09 深圳富泰宏精密工业有限公司 Contact name searching system and method
CN101436203B (en) * 2008-12-10 2011-01-05 华为终端有限公司 Recording index method and apparatus
CN102223430A (en) * 2011-06-13 2011-10-19 深圳桑菲消费通信有限公司 Method for ranking and searching polyphones of contacts in mobile phone
CN103327154A (en) * 2012-03-23 2013-09-25 联想移动通信科技有限公司 Telephone book ordering method and searching method
US9323780B2 (en) * 2013-03-13 2016-04-26 Microsoft Technology Licensing, Llc Locale-based sorting on mobile devices
CN103810279B (en) * 2014-02-18 2018-09-14 天津松下汽车电子开发有限公司 A kind of sort method and device of mixing field
CN104902091B (en) * 2015-05-27 2018-03-27 广东欧珀移动通信有限公司 A kind of address book ordering method and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894127A (en) * 2010-05-26 2010-11-24 洪朝彬 Intelligent arranging and searching method for mobile phone contact

Also Published As

Publication number Publication date
CN1728735A (en) 2006-02-01

Similar Documents

Publication Publication Date Title
CN100361052C (en) Method and device for entering words in a user interface of an electronic device
CN100594470C (en) System and method for disambiguating the ambiguous input sequence of user
US7256769B2 (en) System and method for text entry on a reduced keyboard
US8159371B2 (en) Systems and methods for semi-automatic dialing from a mixed entry sequence having numeric and non-numeric data
CN101533403B (en) Derivative generating method and system
KR101030656B1 (en) Method for searching call number on standby mode of mobile communication terminal
CN103294776A (en) Smartphone address book fuzzy search method
CN101876878A (en) Word prediction input system and method
CN101888427B (en) Method for matching dialing name and terminal
CN101087327A (en) A phone book search method of mobile terminal
CN104219362A (en) Method and device for searching for contact person
CN100550929C (en) The sort method of the phone directory of handheld device and lookup method
WO2012088772A1 (en) Method for efficiently searching for contact with hand-held device
CN101002162A (en) Handheld electronic device with text disambiguation
CN103617204B (en) Contact fast searching method based on android system
CN101087480A (en) An intelligent legend dialing method of mobile terminal
CN102883020A (en) Dialing method and dialing system for mobile terminal
US20100149190A1 (en) Method, apparatus and computer program product for providing an input order independent character input mechanism
CN102999639B (en) A kind of lookup method based on speech recognition character index and system
CN101938551A (en) Fuzzy inquiry method and device for phonebook of mobile terminal
US20080104036A1 (en) Mobile phone capable of building a quick launch item according a search result and related method
CN101299842A (en) Method for seeking mobile phone storage information
CN1964390A (en) A quick search method for telephone number of communication terminal and its communication terminal
CN102981607A (en) Computer-implemented method of arranging text items in a predefined order
KR19990078742A (en) Initial phoneme storing and searching system of telecommunication equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: AMOI TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: AMOI ELECTRONICS STOCK CO., LTD.

Effective date: 20100526

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 361012 NO.45 TIYU ROAD, XIAMEN CITY, FUJIAN PROVINCE TO: 361000 4/F, NO.22 GUANRI ROAD, PHASE 2 OF SOFTWARE PARK, XIAMEN CITY, FUJIAN PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20100526

Address after: 361000 Fujian province Xiamen software park two sunrise Road No. 22 4 floor

Patentee after: Amoi Technology Co.,Ltd.

Address before: 361012 No. 45, sports road, Fujian, Xiamen

Patentee before: Amoi Electronics Co.,Ltd.

C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 361000 Fujian province Xiamen software park two sunrise Road No. 22 4 floor

Patentee after: AMOI TECHNOLOGY Co.,Ltd.

Address before: 361000 Fujian province Xiamen software park two sunrise Road No. 22 4 floor

Patentee before: Amoi Technology Co.,Ltd.

CX01 Expiry of patent term

Granted publication date: 20091014

CX01 Expiry of patent term