Most preferred embodiment of the present invention is described below with reference to accompanying drawings.In the following description, well-known function or structure will not be described in detail, because they can make the present invention be submerged in the unnecessary details.
In this manual, term " numeral " refer to the numeral that constitutes telephone number.For example, telephone number " 745-1083 " comprise numeral 7,4,5,1,0,8 and 3, wherein Shuo Zi order is nonsensical.In addition, term " the part numeral " refer to the continuous of telephone number, for example, 2 or 3 numerals " 45 " or " 510 ", or last 4 numerals " 1083 ".
Fig. 1 illustrates the block diagram of using mobile radio telephone of the present invention, and wherein this telephone set utilizes the part numeral of the telephone number that the user imports to search for telephone number.In the figure, transmitter-receiver 50 is handled radio transmission and received signal.Keypad 51 as user interface comprises: a plurality of numerical keys that are used for importing the numeral of desiring to dial the number; Be used for selecting the telephone number that searches out and send the options button of dialing order; Be used for when searching out several telephone number the scroll key that the telephone number that searches out is rolled one by one.CPU (CPU) 52 searching storages are searched the telephone number of the numeral that comprises user's input.Display 53 shows the telephone number that is searched out by CPU 52, and wherein the numeral of user's input shows with general fashion, and all the other numerals can be glimmered or anti-phase demonstration simultaneously.Memory comprises repertory dialler memory 54 and RAM (random access memory) 55.Repertory dialler memory 54 is EEPROM (Electrically Erasable Read Only Memories), comprises a plurality of telephone numbers by user's login.RAM55 comprises wherein the call history table 55b of the telephone number of calling out before the storage and wherein stores by looking into the information table of finding of telephone number that repertory dialler memory 54 and call history table 55b search out.ROM (read-only memory) 56 stores the control program that CPU52 uses.
Fig. 2 A illustrates the allocation tables according to the repertory dialler memory 54 of embodiments of the invention.In embodiment as an example, repertory dialler memory 54 can store 100 telephone numbers at most.Here, suppose and in repertory dialler memory 54, stored 5 telephone numbers.Just as exemplified, repertory dialler memory 54 has the storage area that is used for the telephone number presence bit, and this presence bit is used to refer to whether there is telephone number in appropriate address.For example, telephone number " 0331-280-9974 " is stored in the address 1, so the telephone number presence bit is set to " 1 ".But because repertory dialler memory 54 does not have telephone number to be stored in the address 3, the telephone number corresponding presence bit is set to " 0 ".
Fig. 2 B illustrates the structure according to the call history table 55b of embodiments of the invention.In call history table 55b, the telephone number of calling out before storing (that is call history).In call history table 55b, can store 30 telephone numbers.Fig. 2 B is illustrated in the state that call history table 55b has stored 6 telephone numbers.Similarly, call history table 55b also is useful on the memory block of telephone number presence bit, and this presence bit is used to refer in corresponding address whether have telephone number.
Fig. 2 C illustrates the structure of finding information table 55c according to embodiments of the invention.In finding information table 55c, storing the telephone number of looking into repertory dialler memory 54 and call history table 55 and searching out.Fig. 2 C is illustrated in to find and has stored 3 telephone numbers that last 4 numerals that search out are " 7204 " among the information table 55c.
Fig. 3 is the flow chart that illustrates according to the Dialing Method of embodiments of the invention.In this embodiment, telephone number is compared with the input digit of 3 numerals.But, also can be relatively the input digit of telephone number and a numeral or 2 numerals.
In step 309, CPU52 is initialized as 0 to the variable MATCH_CNT of the telephone number number that indication searches out, and checks whether import (having pressed) numerical key then in step 310.If imported numerical key, then check whether imported 3 numerals continuously at step 311CPU52.If not, then program turns back to step 310, to receive next numeral.During this time, when having imported 3 when digital, at step 312CPU52 searching calls history lists 55b, search the telephone number that 3 continuous numbers and input 3 numeral coupling is arranged, and whenever search out a telephone number that has 3 numerals and 3 numerals of input to mate (or consistent), just make variable MATCH_CNT add one.
For example, in " 563 " comparison procedure with telephone number " 3434-1102 " and user input, 3 numerals " 563 " that CPU52 will import sequentially with 3 continuous numbers " 343 " of telephone number, " 434 ", " 341 ", " 411 ", " 110 " and " 102 " are relatively.
Searched for after the call history table 55b, at step 313CPU52 search repertory dialler memory 54, search the telephone number that 3 continuous numbers and input 3 numeral coupling is arranged, and whenever search out a telephone number that 3 numeral couplings of 3 continuous numbers and input are arranged, just make variable MATCH_CNT add one.
After this search was finished, CPU52 checked that in step 314 whether variable MATCH_CNT is greater than 0.If variable MATCH_CNT is greater than 0, then CPU52 checks in step 315 whether variable MATCH_CNT is 1.If then search out a telephone number, just CPU52 shows the telephone number that this searches out in step 316 on display because of this means.Check at step 317 CPU 52 whether the user has selected shown telephone number.Here, in wire telephone, the user utilizes predetermined key to select telephone number; In mobile radio telephone then by selecting telephone number by the SEND key.If the user has selected shown telephone number, then dial selected telephone number in step 318.But, when when step 314 variable MATCH_CNT is not more than 0, or when the user when step 317 is not selected telephone number, then program is returned step 310.
In step 315,, then mean to have searched out several telephone numbers if variable MATCH_CNT is not equal to 1 (that is greater than 1).In this case, CPU52 enters step 319, with the telephone number that searches out according to, for example, dialing frequency or the order ordering of calling out recently.For this purpose, telephone set is called out a telephone number each time, just should be with this telephone number together with storing such as call informations such as dialing frequency and call time.Although adopted sequencer procedure in the present embodiment, sequencer procedure is chosen wantonly.
After the sequencer procedure, CPU52 is set to 1 in step 320 with variable i, at i the telephone number of step 321 among the telephone number that shows variable MATCH_CNT on the display 53 and sorted.After this, when the user imports scroll key, so that when checking the telephone number that the next one searches out, CPU52 has detected this key input in step 322, just enters step 323, and variable i is added one.After this, program is returned step 321.But when the user did not import scroll key, CPU52 entered step 317, whether selected the telephone number of current demonstration so that check the user.
Fig. 4 illustrates the call history table search subroutine (step 312) of Fig. 3 or the flow chart of repertory dialler memory search subroutine (step 313).In step 410, CPU52 is set to 1 with variable P.Here, the address of variable P indicating call history lists 55b or repertory dialler memory 54.For the call history table 55b of Fig. 2 B, the scope of variable P is from 1 to 30, and for the table (seeing Fig. 2 A) of repertory dialler memory 54, the scope of variable P is from 1 to 100.
In step 411, CPU52 checks whether P address of call history table 55b or repertory dialler memory 54 has telephone number.If have telephone number on the P of address, then CPU52 compares according to 3 numerals at 3 numerals and the telephone number of step 412 with user's input.Check at step 413 CPU 52 whether this telephone number has 3 numeral couplings of 3 numerals and input.If then CPU52 reads this telephone number and it is deposited in step 414 and finds information table 55c, makes variable MATCH_CNT add one in step 415 then.
Fig. 5 A to 5D illustrates the information about the telephone number that searches out that shows according to embodiments of the invention on display.Specifically, Fig. 5 A represents that the user imports the state of last 4 numerals " 7204 " of the telephone number that will search for (or dialing).If it is " 7204 " that phone searches out last 4 numerals of 3 telephone numbers, then with the information of " telephone numbers of 3 couplings ", according to the scroll key (Fig. 5 B to 5D) of user's input, on display 53, show 3 telephone numbers that searched out seriatim.When the user selects one from 3 telephone numbers that search out of Fig. 5 B to 5D, just dial selected telephone number automatically.
Fig. 6 is the flow chart that illustrates according to the Dialing Method of another embodiment of the present invention.In step 609, CPU52 is initialized as 0 to variable MATCH_CNT, whether has imported numerical key step 610 inspection then.After this, whether CPU52 has imported last 4 numerals of the telephone number that will search for fully step 611 inspection.If not, then program turns back to step 610, till 4 numerals are all imported.But, if 4 numerals are all imported, then CPU52 is at step 612 searching calls history lists 55b, to search the telephone number that 4 numerals and input 4 numeral coupling is arranged, and whenever search out a telephone number that 4 numeral couplings of 4 numerals and input are arranged, just make variable MATCH_CNT add one.Searched for after the call history table 55b, CPU52 is at step 613 search repertory dialler memory 54, to search the telephone number that 4 numerals and input 4 numeral coupling is arranged, and whenever search out a telephone number that 4 numeral couplings of 4 numerals and input are arranged, just make variable MATCH_CNT add one.
After this search was finished, CPU52 checked that in step 614 whether variable MATCH_CNT is greater than 0.If variable MATCH_CNT is greater than 0, then CPU52 checks in step 615 whether variable MATCH_CNT is 1.If, then search out a telephone number because of this means, so, just CPU52 shows the telephone number that is searched out in step 616 on display 53.CPU52 is at step 617 scanning keypad 51, under the situation of wire telephone, check whether the user utilizes predetermined key to select shown telephone number, perhaps under the situation of mobile radio telephone whether by selecting shown telephone number by the SEND key.CPU52 dials selected telephone number in step 618 then.But when when step 614 variable MATCH_CNT is not more than 0, or when when step 617 is not selected telephone number, then program is returned step 610.
In step 615,, then mean to have searched out several telephone numbers if variable MATCH_CNT is not equal to 1.In this case, CPU52 enters step 619, with the telephone number that searches out according to, for example, the order ordering of dialing frequency or calling out recently.
After the sequencer procedure, CPU52 is set to 1 in step 620 with variable i, step 621 in display 53, show variable MATCH_CNT and the telephone number that sorted in i telephone number.The address of information table 55c is found in the variable i indication, and the telephone number that searches out in this table has been arranged preface.After this, when the user imports scroll key, so that when checking the telephone number that the next one searches out, CPU52 detects the input of this key in step 622, enters step 623, and variable i is added one.After this, program is returned step 621.But when the user did not import scroll key, CPU52 entered step 617, whether selected the telephone number of current demonstration to check the user.
Fig. 7 illustrates the call history table search subroutine (step 612) of Fig. 6 or the flow chart of repertory dialler memory search subroutine (step 613).In step 710, CPU52 is set to 1 with variable P.Here, the address of variable P indicating call history lists 55b or repertory dialler memory 54.For the call history table 55b of Fig. 2 B, the scope of variable P is from 1 to 30, and for the table (seeing Fig. 2 A) of repertory dialler memory 54, the scope of variable P is from 1 to 100.
In step 711, CPU52 checks whether there is telephone number in P address of call history table 55b or repertory dialler memory 54.If have telephone number on the P of address, then CPU52 is in 4 numeral and telephone number last 4 numeral comparisons of step 712 with user's input.CPU 52 checks in step 713 whether this telephone number has 4 numeral couplings of last 4 numerals and input.If then CPU 52 reads this telephone number and it is deposited in step 714 and finds information table 55c, makes variable MATCH_CNT add one then.
As mentioned above, telephone set comes the telephone number that will look for from repertory dialler memory search by one or more numerals of only importing telephone number, and utilizes and singly touch dial key and dial the telephone number that searches out.
Although the present invention describes in detail with reference to specific embodiment, this is exemplary application.Therefore, should understand clearly that any one technical staff of this specialty can both make many variations within scope and spirit of the present invention.