CN1486564A - Method and device for querying name from personal information database - Google Patents
Method and device for querying name from personal information database Download PDFInfo
- Publication number
- CN1486564A CN1486564A CNA018217923A CN01821792A CN1486564A CN 1486564 A CN1486564 A CN 1486564A CN A018217923 A CNA018217923 A CN A018217923A CN 01821792 A CN01821792 A CN 01821792A CN 1486564 A CN1486564 A CN 1486564A
- Authority
- CN
- China
- Prior art keywords
- name
- letter
- input
- key
- string
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
- G06F3/0233—Character input methods
- G06F3/0237—Character input methods using prediction or retrieval techniques
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
- G06F16/9017—Indexing; Data structures therefor; Storage structures using directory or table look-up
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
- G06F16/90344—Query processing by using string matching techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
- H04M1/27—Devices whereby a plurality of signals may be stored simultaneously
- H04M1/274—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
- H04M1/2745—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
- H04M1/27467—Methods of retrieving data
- H04M1/2748—Methods of retrieving data by matching character strings
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
本发明公开一种用于从个人信息数据库中查询姓名的方法和装置。依次输入姓的至少第一字母,预定字符和第一名字的至少第一字母。每次输入新的字母时会更新查询字符串。比较预定字符之前的字母与数据库中的姓,比较预定字符之后的字母与数据库中的第一名字。有了这样的查询方法,会提高查询效率而不降低查询的准确。
This invention discloses a method and apparatus for retrieving names from a personal information database. The method involves sequentially inputting at least the first letter of the surname, a predetermined character, and at least the first letter of the first given name. The query string is updated each time a new letter is entered. The letters before the predetermined character are compared with the surname in the database, and the letters after the predetermined character are compared with the first given name in the database. This query method improves query efficiency without compromising accuracy.
Description
技术领域technical field
本发明涉及用于从个人信息数据库中查询姓名的方法和装置,特别涉及用于从移动电话的号码簿中查询姓名的方法和装置,以及使用相同方法和装置的无线通信终端。The present invention relates to a method and a device for inquiring a name from a personal information database, in particular to a method and a device for inquiring a name in a directory of a mobile phone, and a wireless communication terminal using the same method and device.
背景技术Background technique
计算机或个人数字助理(PDA)可包括不同种类的个人信息数据库,每种通常包括姓名和对应于姓名的特殊数据诸如电话号码、地址、电子邮件地址、备注等。A computer or personal digital assistant (PDA) may contain different kinds of databases of personal information, each typically including a name and specific data corresponding to the name such as phone numbers, addresses, e-mail addresses, notes, and the like.
类似地,移动电话也包括至少一个号码簿。典型地,号码簿由包括个人姓名及其电话号码的条目组成。个人姓名包括姓、第一名字和可选的中间名字。用户可通过从号码簿查询相应的姓名获得某人的电话号码。Similarly, mobile phones also include at least one directory. Typically, a directory consists of entries including a person's name and their telephone number. Personal name includes last name, first name and optional middle name. A user can obtain a person's phone number by looking up the corresponding name from a directory.
已经提出许多方法用于姓名查询。一种现有的查询方法是输入表示个人姓名的字符串。通过比较输入的字符串与号码簿中所有条目的姓名,会查询到匹配的条目,然后在屏幕上显示相应的电话号码。Many methods have been proposed for name lookup. One existing query method is to enter a string representing a person's name. By comparing the entered character string with the names of all entries in the directory, a matching entry will be found, and then the corresponding phone number will be displayed on the screen.
众所周知,移动电话包括数字键0-9的键盘。这些数字键可用于输入电话号码。而且,一些数字键对应于26个字母并用于输入这些字母。比如,数字键2代表A,B和C;3代表D,E和F;4代表G,H和I,5代表J,K和L;6代表M,N和O;7代表P,Q,R和S;8代表T,U和V;以及9代表W,X,Y和Z。As is well known, mobile telephones include keypads for the number keys 0-9. These numeric keys can be used to enter phone numbers. Also, some number keys correspond to 26 letters and are used to input these letters. For example,
如上所述,在现有的查询方法中,用户应当输入这样的字符串,其中包括了在包括姓和第一名字的整个姓名中的所有字母。由于一个全名通常包含6个或更多的字母,一个数字键可代表3至4个字母,用户输入待查询的字符串是很麻烦的。更不幸的是,直到用户已完成输入姓名的所有字符才能获得查询的结果。因此多数情况下,用户不得不输入比需要更多的信息。然而,输入一旦完成,移动电话将自动地查询并在屏幕上显示想要的电话号码。As described above, in the existing query method, the user should input a character string including all letters in the whole name including the surname and the first name. Since a full name usually contains 6 or more letters, and a number key can represent 3 to 4 letters, it is very troublesome for the user to input a character string to be queried. Even more unfortunately, the results of the query are not available until the user has finished typing all the characters of the name. In many cases, therefore, the user has to enter more information than is required. However, once the entry is complete, the mobile phone will automatically look up and display the desired phone number on the screen.
显而易见,该现有查询方法在输入方面有如下缺陷:Obviously, this existing inquiry method has following defect aspect input:
1.用户不得不输入长字符串以查询姓名。1. The user has to enter a long string to look up the name.
2.用户不得不输入比需要更多的信息。2. The user has to enter more information than is required.
3.在输入的期间无法获得查询结果,即直到输入完成才能获得结果。3. The query result cannot be obtained during the input period, that is, the result cannot be obtained until the input is completed.
该查询方法在输入方面并不快捷和方便。This query method is not fast and convenient in terms of input.
但是,该查询方法在匹配方面具有优点。字符串一旦输入完成,具有与输入的字符串相同姓名的条目匹配并显示在屏幕上。该查询方法在匹配方面显得快捷和方便。However, this query method has advantages in terms of matching. Once the string is entered, an entry with the same name as the entered string is matched and displayed on the screen. The query method is fast and convenient in terms of matching.
在第二种姓名查询方法中,用户只需要按压单个数字键。然后,移动电话会查询到所有的条目,在这些条目中姓名的第一字母对应于按压的数字键。在该方法中,简化了输入操作。然而多数情况下,可能查询出多个条目,因为一个数字键代表3至4个字母,个人可能在姓名中有相同的第一字母。比如,如果用户按压数字键“4”,会在屏幕上显示诸如“Guo QingZhong”、“Guo Ping”、“HALLRandy”、“ILAN David”的姓名。(这里,“Guo QingZhong”和“Guo Ping”是根据它们的发音的中文姓名的拉丁拼写,下文中表示汉字的拼音。)在这样的情况下,用户需要通过移动光标和/或滚动屏幕在显示的姓名中定位想要的姓名。只有当定位了特定的姓名时,才显示对应于选择姓名的电话号码。显然,随着多个显示的姓名数量增加,用户找到待查询的姓名会很麻烦。In the second name query method, the user only needs to press a single number key. The mobile phone then looks up all the entries in which the first letter of the name corresponds to the number key pressed. In this method, the input operation is simplified. In most cases, however, multiple entries may be queried, since a numeric key represents 3 to 4 letters, and individuals may have the same first letter in their name. For example, if the user presses the number key "4", names such as "Guo QingZhong", "Guo Ping", "HALLRandy", "ILAN David" will be displayed on the screen. (Here, "Guo QingZhong" and "Guo Ping" are the Latin spellings of the Chinese names according to their pronunciation, and the pinyin of the Chinese characters are indicated below.) In such cases, the user needs to move the cursor and/or scroll the screen to display Locate the desired name among the names in . Only when a particular name is located is the phone number corresponding to the selected name displayed. Obviously, as the number of multiple displayed names increases, it will be very troublesome for the user to find the name to be queried.
第二种查询方法具有的优点是用户仅需要按压单键。在输入方面是快捷和方便的。然而问题是有很多条目匹配并显示在屏幕上,用户不得不进一步选择想要的条目以获得电话号码。在匹配方面并不快捷和方便。The second query method has the advantage that the user only needs to press a single key. It is fast and convenient in terms of input. However the problem is that many entries are matched and displayed on the screen and the user has to further select the desired entry to get the phone number. Not quick and easy in terms of matching.
其他的查询方法通过在上述两种极端方法中间加以折衷来改善。比如,在第三种查询方法中,当输入第一字母时,显示查号簿中具有以输入的第一字母作为开头的姓的姓名。当输入第二字母时,显示查号簿中具有以输入的两个字母作为开头的姓的姓名。输入的字母越多,显示的第一名字就越准确。有了这样的方法,就没必要在找到正确的姓名之前输入待查询姓名的所有字母。Other query methods improve by making a compromise between the above two extreme methods. For example, in the third inquiry method, when the first letter is input, names in the directory having a surname beginning with the input first letter are displayed. When the second letter is entered, names in the directory having a surname beginning with the entered two letters are displayed. The more letters you enter, the more accurate the displayed first name will be. With such a method, it is not necessary to enter all the letters of the name to be queried until the correct name is found.
还有第四种查询方法称为预测输入方法。在该方法中,每次按压键时,以按压的字母在号码簿中进行查询。然后提出最有可能被按压的键代表的候选者。如果候选者正确,用户确认它。如果不正确,用户继续按压更多的键。用户输入的字母越多,候选者就越准确。有了这样的方法,就没必要在找到恰当的姓名之前输入待查询姓名的所有字母。比如,要查询“patent”,用户先按压键“7”,然后显示“PC”;进而按压“2”,然后显示“PC”;进而按压“8”,然后显示“SAT”;进而按压“3”,然后显示“save”;进而按压“6”,然后显示“patent”。这时,只按压5个键就找到了6个字母的单词。There is also a fourth query method called the predictive input method. In this method, each time a key is pressed, a lookup is made in the directory with the letter pressed. Candidates are then presented for the key representatives most likely to be pressed. If the candidate is correct, the user confirms it. If not, the user continues to press more keys. The more letters the user enters, the more accurate the candidate. With such a method, it is not necessary to enter all the letters of the name in question before finding the correct name. For example, to query "patent", the user first presses the key "7", and then "PC" is displayed; then presses "2", and then "PC" is displayed; then presses "8", and then "SAT" is displayed; and then presses "3". ", then "save" is displayed; then press "6", and then "patent" is displayed. At this time, only 5 keys were pressed to find a 6-letter word.
然而,在第三种和第四种方法中,必须依次输入字母。换而言之,直到用户输入完第一名字的字母时才能输入姓的字母。如果号码簿中有几个相同的姓时,用户仍需选择或继续按键。按压键的数量仍相对较大。However, in the third and fourth methods, letters must be entered sequentially. In other words, the user cannot enter the letters of the last name until the user has entered the letters of the first name. If there are several identical surnames in the directory, the user still needs to select or continue to press the key. The number of pressed keys is still relatively large.
因此,存在着改善姓名查询方法的需要,该方法应当在输入和匹配两方面都快捷和方便。Therefore, there is a need for an improved name lookup method that is quick and easy both in terms of entry and matching.
本发明的一个目的是提供一种姓名查询方法,该方法能减少按压键的数量,同时保持较高的匹配精度和效率。An object of the present invention is to provide a name query method which can reduce the number of pressed keys while maintaining high matching accuracy and efficiency.
本发明的另一个目的是提供一种用于实现本发明的姓名查询方法的姓名查询装置。Another object of the present invention is to provide a name query device for implementing the name query method of the present invention.
本发明的又一个目的是提供一种利用本发明的姓名查询方法和装置的无线通信终端。Another object of the present invention is to provide a wireless communication terminal utilizing the name inquiry method and device of the present invention.
发明内容Contents of the invention
本发明提供一种用于从个人信息数据库中查询姓名的方法,该个人信息数据库包括个人姓名,每个姓名具有姓和第一名字以及对应于姓名的特殊数据。该方法包括步骤:初始化查询字符串;输入字母;通过将输入的字母尾随于当前查询字符串之后更新该查询字符串;比较查询字符串与个人信息数据库中的姓名;选择出这样的姓名,其中包含更新的查询字符串中所有的单个字母,并且这些字母在这些姓名中出现的顺序与在更新的查询字符串中的相同;显示选择的姓名;根据需要重复上面的步骤;从显示的姓名中定位想要的姓名以从个人信息数据库中获得它相应的特殊数据。在该方法中,输入步骤包括依次输入姓的至少第一字母,预定字符以及第一名字的至少第一字母的步骤。比较步骤包括比较查询字符串中预定字符之前的至少一个字母与个人信息数据库中的姓,并且比较查询字符串中预定字符之后的至少一个字母与个人信息数据库中的第一名字。选择步骤包括选择这样的姓名,这些姓名具有的姓包含更新的查询字符串中预定字符之前的字母,并且这些字母在这些姓中出现的顺序与在更新的查询字符串中的相同,以及这些姓名具有的第一名字包含更新的查询字符串中预定字符之后的字母,并且这些字母在这些第一名字中出现的顺序与在更新的查询字符串中的相同。The present invention provides a method for searching names from a personal information database including personal names each having a surname and a first name and special data corresponding to the name. The method comprises the steps of: initializing a query string; inputting letters; updating the query string by trailing the entered letters after the current query string; comparing the query string with names in a personal information database; selecting such names, wherein Include all single letters in the updated query string in the same order that they appear in the names as they appear in the updated query string; display the selected names; repeat the steps above as needed; from the displayed names Locate the desired name to obtain its corresponding specific data from the personal information database. In the method, the inputting step includes the step of sequentially inputting at least the first letter of the surname, predetermined characters and at least the first letter of the first name. The comparing step includes comparing at least one letter preceding the predetermined character in the query string to the last name in the personal information database, and comparing at least one letter following the predetermined character in the query string to the first name in the personal information database. The selecting step includes selecting names that have a surname that contains letters preceding predetermined characters in the updated query string and that appear in the surnames in the same order as they do in the updated query string, and that having first names that contain letters after predetermined characters in the updated query string, and the letters appear in the first names in the same order as in the updated query string.
在上述方法中,字母可通过数字键盘输入,其中有些数字键每个代表多个字母。预定字符可以是空字符。输入预定字符的步骤可包括按压空格键或数字键“1”的步骤。In the above method, letters can be input through a numeric keypad, wherein some numeric keys each represent a plurality of letters. The predetermined character may be a null character. The step of inputting predetermined characters may include the step of pressing a space bar or a number key '1'.
在本发明的一个方面,输入字母的步骤可以是如下四种步骤之一,按压数字键一次以输入按压的键所代表的第一字母,按压数字键两次以输入按压的键所代表的第二字母,按压数字键三次以输入按压的键所代表的第三字母,按压数字键四次以输入按压的键所代表的第四字母。In one aspect of the present invention, the step of inputting letters can be one of the following four steps, press the number key once to input the first letter represented by the pressed key, press the number key twice to input the first letter represented by the pressed key For two letters, press the number key three times to input the third letter represented by the pressed key, and press the number key four times to input the fourth letter represented by the pressed key.
在本发明的另一方面,输入字母的步骤可包括短按压数字键的步骤,比较步骤还包括给出预测字符串作为查询字符串的步骤,预测字符串是一系列按压的数字键所代表的多个字符串中使用最多的字符串。In another aspect of the invention, the step of inputting letters may include the step of short pressing a numeric key, and the step of comparing may further include the step of giving a predicted character string as a query string, the predicted character string being represented by a series of pressed numeric keys The most used string among multiple strings.
在本发明的又一方面,输入字母的步骤可包括长按压数字键的步骤;在屏幕上暂时的横条中显示按压的键所代表的所有字母;依次沿显示的字母移动光标;以及当光标指向想要输入的字母时释放按键。In yet another aspect of the present invention, the step of inputting letters may include the steps of long pressing a number key; displaying all letters represented by the pressed key in a temporary horizontal bar on the screen; moving the cursor along the displayed letters in turn; and when the cursor Release the key when pointing to the letter you want to enter.
另外,输入的字母可以是汉字拼音的首字母,或拉丁姓名的姓、第一名字或中间名字的首字母。显示选择的姓名的步骤可包括以A至Z的顺序显示选择的姓名的步骤。定位姓名的步骤可包括按压预定键的步骤;以及将光标移动到下一显示的姓名。预定键可以是数字键“0”。In addition, the input letter can be the first letter of Chinese Pinyin, or the first letter of the last name, first name or middle name of a Latin name. The displaying of the selected names may include displaying the selected names in A to Z order. The step of locating a name may include the steps of pressing a predetermined key; and moving a cursor to a next displayed name. The predetermined key may be a numeric key "0".
本发明还提供一种用于从个人信息数据库中查询姓名的装置,该个人信息数据库包括个人的姓名,每个姓名至少具有姓、第一名字和对应于姓名的特殊数据。该装置包括:用于初始化查询字符串的装置;用于输入字母和预定字符的装置;用于通过将输入的字母尾随于当前查询字符串更新查询字符串的装置;装置,用于通过比较查询字符串与个人信息数据库中的姓名,匹配更新的查询字符串与个人信息数据库中的姓名,并选出这样的姓名,这些姓名包含更新的查询字符串中所有的单个字母,并且这些字母出现在这些姓名中的顺序与在更新的查询字符串中的相同;用于显示选择的姓名的装置;用于从显示的姓名中定位想要的姓名,以从个人信息数据库中获得它相应的特殊数据的装置。在该装置中,输入装置构造为用于依次输入姓的至少第一字母,预定字符和第一名字的至少第一字母。匹配装置构造为用于比较查询字符串中预定字符之前的至少一个字母与个人信息数据库中的姓,比较查询字符串中预定字符之后的所述至少一个字母与个人信息数据库中的第一名字,并选出这样的名字,这些名字具有的姓包含更新的查询字符串中预定字符之前的字母,并且这些字母出现在这些姓中的顺序与在更新的字符串中的相同,以及这些姓名具有的第一名字包含更新的查询字符串中预定字符之后的字母,并且这些字母出现在这些第一名字中的顺序与在更新的字符串中的相同。The present invention also provides an apparatus for querying names from a personal information database including names of individuals, each name having at least a surname, a first name and special data corresponding to the name. The means comprises: means for initializing a query string; means for entering letters and predetermined characters; means for updating the query string by appending the entered letters to the current query string; means for querying by comparing string with the names in the personal information database, match the updated query string with the names in the personal information database, and select names that contain all the single letters in the updated query string that appear in The order in these names is the same as in the updated query string; means for displaying the selected names; for locating the desired name from the displayed names to obtain its corresponding special data from the personal information database installation. In the device, the input device is configured for sequentially inputting at least the first letter of the surname, the predetermined character and at least the first letter of the first name. The matching means is configured to compare at least one letter before the predetermined character in the query string with the last name in the personal information database, compare the at least one letter after the predetermined character in the query string with the first name in the personal information database, and select names that have a last name that contains letters preceding the predetermined characters in the updated query string, and that these letters appear in the last name in the same order as in the updated string, and that have a The first names contain letters following the predetermined characters in the updated query string, and the letters appear in the first names in the same order as in the updated string.
在上述装置中,输入装置可以是数字键盘,其中有的数字键每个代表多个字母。In the above device, the input device may be a numeric keypad, wherein some numeric keys each represent a plurality of letters.
在本发明的一个方面,输入装置还可构造为用于按压数字键一次以输入按压的键代表的第一字母,按压数字键两次以输入按压的键代表的第二字母,按压数字键三次以输入按压的键代表的第三字母,按压数字键四次以输入按压的键代表的第四字母。In one aspect of the present invention, the input device can also be configured for pressing the number key once to input the first letter represented by the pressed key, pressing the number key twice to input the second letter represented by the pressed key, pressing the number key three times To enter the third letter represented by the pressed key, press the number key four times to enter the fourth letter represented by the pressed key.
在本发明的另一方面,输入装置可构造为用于短按压数字键,比较装置还可构造为用于提出预测字符串作为查询字符串,预测字符串是一系列按压的数字键所代表的多个字符串中使用最多的字符串。In another aspect of the invention, the input means may be configured for short presses of numeric keys, and the comparison means may be configured for proposing as a query string a predicted character string represented by a series of pressed numeric keys The most used string among multiple strings.
在本发明的又一方面,输入装置可构造为长按压数字键;在屏幕上暂时的横条中显示按压的键所代表的所有字母;依次沿显示的字母移动光标;以及在光标指向想要输入的字母时释放按压的键。In yet another aspect of the present invention, the input device can be configured as a long press of a numeric key; display all letters represented by the pressed key in a temporary horizontal bar on the screen; move the cursor along the displayed letters in turn; Release the pressed key when entering the letter.
另外,显示装置可构造为用于以A至Z的顺序显示选择的姓名。In addition, the display device may be configured to display the selected names in the order of A to Z.
本发明还提供一种带有上述装置之一的无线通信终端。The present invention also provides a wireless communication terminal with one of the above devices.
显而易见,本发明的查询方法和装置在输入和匹配方面在准确和方便二者之间提供了折衷。有了该智能的查询方法,提高了输入的效率,又不降低查询的准确。Obviously, the query method and apparatus of the present invention provide a compromise between accuracy and convenience in terms of input and matching. With the intelligent query method, the efficiency of input is improved without reducing the accuracy of query.
附图说明Description of drawings
图1是移动电话的示意图。Figure 1 is a schematic diagram of a mobile phone.
图2是根据本发明的查询过程的流程图。Fig. 2 is a flowchart of the query process according to the present invention.
图3是根据本发明的查询装置的框图。Fig. 3 is a block diagram of an inquiry device according to the present invention.
具体实施方式Detailed ways
现在将详细地参考本发明的当前优选实施方式,在附图中说明其中的例子。如有可能,在附图中使用相同的标号表示相同或相似的部分。Reference will now be made in detail to the presently preferred embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.
在图1中表示典型的移动电话。移动电话10包括键盘1和屏幕2。键盘1包括数字键0-9和功能键比如挂断键、菜单键以及取消键等。屏幕2用于显示诸如电话号码、待查询的姓名以及短消息等信息。A typical mobile phone is shown in FIG. 1 . A
在本发明的实施方式中,允许用户输入多于一个的字母但少于姓名中所有字母。用户每输入一个字母,移动电话会更新查询字符串,将它与号码簿中的条目匹配,并在屏幕上显示匹配的姓名。基于显示的姓名,用户可通过滚动光标决定定位想要的姓名或输入更多字母用于更准确的匹配。当用户确认了想要的姓名,它相应的数字会显示在屏幕上。In an embodiment of the invention, the user is allowed to enter more than one letter but less than all letters in the name. Each time the user enters a letter, the mobile phone updates the query string, matches it with an entry in the directory, and displays the matching name on the screen. Based on the displayed name, the user can decide to locate the desired name by scrolling the cursor or enter more letters for a more accurate match. When the user confirms the desired name, its corresponding number is displayed on the screen.
在本发明的实施方式中,输入数字键1或空格键代表空字符,表示随后输入的字母是在第一名字中。这样的预定字符输入会使得匹配结果更准确。更确切地,在预定字符之前输入的字母可认为是在姓中,在预定字符之后输入的字母可认为是在第一名字中。匹配时,考虑表示一系列输入字母的字符串。在优选的匹配模式中,字符串的第一字母可认为是姓的第一字母,预定字符之前的其他字母可认为是在姓中的字母。也可认为字母输入的顺序与它们在条目中出现的相同。紧跟预定字符之后的字母可认为是第一名字的第一字母。随后的字母也可认为是第一名字中的字母,并且输入的顺序与它们在第一名字中出现的相同。这里,没必要依次输入字母。只需要以它们在查询的姓名中出现的相同顺序输入字母。比如,“GuoQingZhong”和“Guan QinZhou”可考虑与输入的字符串G QZ匹配。然而,如果输入的字符串是G QZG,只查询到“Guo QingZhong”。由于“Guan QinZhou”不包括Z之后的“G”,它就查询不到。In the embodiment of the present invention, inputting the
用户可以多种方式利用键盘输入字母。在一个实施方式中,用户可按压数字键一次以输入按压的键所代表的第一字母,按压数字键两次以输入按压的键所代表的第二字母,按压数字键三次以输入按压的键所代表的第三字母,按压数字键四次以输入按压的键所代表的第四字母。The user can use the keyboard to input letters in various ways. In one embodiment, the user may press the number key once to enter the first letter represented by the pressed key, press the number key twice to enter the second letter represented by the pressed key, and press the number key three times to enter the pressed key For the third letter represented, press the number key four times to enter the fourth letter represented by the pressed key.
在另一实施方式中使用预测输入方法。在该实施方式中,通过短按压数字键输入字母。每次按压键时,会对按压的键提出预测字符串。如上所述,预测字符串是一系列按压的键所代表的所有字符串中使用最多的字符串。它在匹配中用作查询字符串。In another embodiment a predictive input method is used. In this embodiment, letters are entered by short pressing the number keys. Each time a key is pressed, the predicted string is proposed for the key pressed. As mentioned above, the predicted string is the most used string among all the strings represented by the series of pressed keys. It is used as query string in matching.
在另一实施方式中,可结合短按压输入方法使用长按压输入方法。这里,术语“短按压”意思是按压键后立即释放。这里,术语“长按压”意思是按压键保持一会儿后释放。更确切地,用户按压数字键比如数字键4。按压的同时激活移动电话中的内部计时器。计时器测算按压的时间并与预定值加以比较。当释放按键并且按压的时长短于预定值时,考虑输入的字母可能是G,H或I。如果键按压得足够长即按压的时间超过预定值,屏幕上会弹出暂时的横条依次显示G,H或I。当保持按压时,光标在横条上滚动并指示从G到I。当光标指向想要的字母时,用户释放按键。然后输入想要的字母。其他数字键上的字母可以相同的方式输入。以这样的方法,如果短按键用于输入,可以模糊的方式进行匹配。比如,如果字符串479以短按键输入,包括G,H和I之一,P,Q,R和S之一。以及W,X,Y和Z之一的组合将用于与号码簿中的条目匹配。也就是说,“Guan QinZhou”,“Guo QingZhong”,“Guo Ping”和“HALL Randy”可认为与字符串479匹配。这称为模糊匹配模式。如果用长按键输入字符串479代表字母G,Q和Z,只有组合GQZ用于匹配。这时,查询到“Guan QinZhou”,“Guo QingZhong”。这称为准确查询模式。取决于号码簿中条目的代码重复性,用户可选择任一匹配模式。In another embodiment, the long press input method may be used in conjunction with the short press input method. Here, the term "short press" means that the key is pressed and released immediately. Here, the term "long press" means that the key is pressed for a while and then released. More precisely, the user presses a number key such as
输入方法也可设计为通过短按压输入数字键代表的第一字母,通过长按压输入第二至第四字母。The input method can also be designed to input the first letter represented by the number key by short pressing, and input the second to fourth letters by long pressing.
当查询过程中几个姓名显示在屏幕上时,用户可输入另一个字母用于更准确的匹配,或仅按压特定键比如“0”或“#”以滚动光标定位想要的姓名。When several names are displayed on the screen during the query, the user can enter another letter for a more accurate match, or simply press a specific key such as "0" or "#" to scroll the cursor to locate the desired name.
图2是从移动电话的号码簿中查询姓名的过程流程图,图3是根据本发明的查询装置的框图。现在参照图2和图3详细地说明查询过程。Fig. 2 is a flow chart of the process of inquiring a name from a directory of a mobile phone, and Fig. 3 is a block diagram of an inquiring device according to the present invention. The query process will now be described in detail with reference to FIGS. 2 and 3 .
过程从步骤S20开始。在步骤S20中,查询字符串初始化为空。在步骤S30中,移动电话等待新的输入出现。The process starts with step S20. In step S20, the query string is initialized to be empty. In step S30, the mobile phone waits for a new input to occur.
步骤S40判断新的输入是否为“1”。如果是,过程进行到步骤S42。步骤S42判断查询字符串是否已包含“1”。如果包含,忽略新输入的“1”,过程返回至步骤S30等待新的输入。如果不包含“1”,在步骤S44中通过将该输入与字符串合并更新查询字符串,然后过程返回至步骤S30。如果输入不是“1”,过程在步骤S50中进一步判断是否为2至9之一。Step S40 judges whether the new input is "1". If so, the process proceeds to step S42. Step S42 judges whether the query string contains "1". If yes, the newly input "1" is ignored, and the process returns to step S30 to wait for a new input. If "1" is not contained, the query string is updated in step S44 by merging the input with the string, and the process returns to step S30. If the input is not "1", the process further judges whether it is one of 2 to 9 in step S50.
如果输入是2至9之一,过程进行到步骤S52。步骤S52通过以模糊模式(对应于短按压)或准确模式(对应于长按压)合并该输入与字符串更新查询字符串。在步骤S54中,根据查询字符串的记录格式,更新的查询字符串以模糊匹配模式或准确匹配模式用于与号码簿中的条目匹配。在匹配中,“1”之前输入的字母与号码簿中的姓比较,“1”之后输入的字母与号码簿中的第一名字比较。在步骤S56中,在屏幕上显示匹配的姓名,光标指向第一匹配的姓名。然后,过程返回至步骤S30等待新的输入。If the input is one of 2 to 9, the process proceeds to step S52. Step S52 updates the query string by merging the input with the string in either fuzzy mode (corresponding to a short press) or exact mode (corresponding to a long press). In step S54, according to the record format of the query string, the updated query string is used for matching with entries in the directory in a fuzzy matching mode or an exact matching mode. In matching, letters entered before "1" are compared with the last name in the directory, and letters entered after "1" are compared with the first name in the directory. In step S56, the matching names are displayed on the screen, and the cursor points to the first matching name. Then, the process returns to step S30 to wait for a new input.
如果输入不是2至9之一,过程在步骤S60中进一步判断是否为“0”。当输入为“0”时,步骤S62判断查询字符串是否为空。如果为空,过程忽略输入的“0”并返回至步骤S30等待新的输入。如果字符串包含一些数字,光标会向下移动定位到下一匹配的姓名。然后,过程返回等待新的输入。If the input is not one of 2 to 9, the process further judges whether it is "0" in step S60. When the input is "0", step S62 judges whether the query string is empty. If empty, the process ignores the input "0" and returns to step S30 to wait for a new input. If the string contains some digits, the cursor moves down to the next matching name. Then, the process returns to waiting for new input.
如果输入不是“0”,步骤S70进一步判断输入是否为“OK”,表示确认想要的姓名。当输入不是“OK”时,过程忽略输入并返回至步骤S30等待新的输入。如果是“OK”,屏幕上显示对应于定位的和匹配的姓名电话号码。然后过程在步骤S90结束。If the input is not "0", step S70 further judges whether the input is "OK", indicating that the desired name is confirmed. When the input is not "OK", the process ignores the input and returns to step S30 to wait for a new input. If "OK", the screen displays the phone number corresponding to the located and matching name. The process then ends at step S90.
根据实施方式示例的查询装置100如图3所示。该图中,查询装置100包括初始化装置102,输入装置104,更新装置106,匹配装置108,显示装置110以及定位装置112。当用户想从移动电话号码簿中查询姓名时,可先将移动电话设定为查询状态。激活初始化装置102将查询字符串初始化为空。通常,输入装置104优选为移动电话的数字键盘。数字键盘和26个字母之间使用常规的对应关系。在本发明中,输入装置104可用于输入预定字符,比如通过按压空格键或数字键“1”输入空字符,表示随后输入的字母将被认为是在第一名字中。更新装置106通过将输入的字母与自身合并替换当前的查询字符串,并将更新的字符串提供给匹配装置108。匹配装置108比较字符串中“1”之前输入的字母与条目的姓中的字母,以及字符串中“1”之后输入的字母与条目的第一名字中的字母。然后选择出这样的条目,其中的姓名包含字符串中的字母,并且字母在这些姓名中出现的顺序与它们在更新的查询字符串中出现的相同。然后,匹配装置108提供匹配的姓名给显示装置110。匹配的姓名以A至Z的顺序显示。定位装置112可用于从显示的姓名中定位想要的姓名以获得它相应的电话号码。A query device 100 according to an example of an implementation is shown in FIG. 3 . In this figure, the query device 100 includes an initialization device 102 , an input device 104 , an update device 106 , a matching device 108 , a display device 110 and a positioning device 112 . When the user wants to query the name from the mobile phone directory, the mobile phone can be set to the query state. The activation initialization means 102 initializes the query string to empty. In general, the input device 104 is preferably a numeric keypad of a mobile phone. A conventional correspondence is used between the numeric keypad and the 26 letters. In the present invention, the input device 104 can be used to input predetermined characters, such as inputting a blank character by pressing the space bar or the number key "1", indicating that the subsequent input letters will be considered as in the first name. The updating means 106 replaces the current query string by merging the input letters with itself, and provides the updated character string to the matching means 108 . Matching means 108 compares letters entered before "1" in the string with letters in the last name of the entry, and letters entered after "1" in the string with letters in the first name of the entry. It then selects entries whose names contain the letters in the string, and where the letters appear in those names in the same order as they appear in the updated query string. The matching device 108 then provides the matching name to the display device 110 . Matching names are displayed in A to Z order. The locating means 112 may be used to locate a desired name from among the displayed names to obtain its corresponding telephone number.
在优选实施方式中,输入装置104也可用于输入预定的数字比如“0”并提供输入“0”的信息给定位装置112。然后,定位装置112在屏幕上移动光标到下一匹配的姓名。In a preferred embodiment, the input device 104 can also be used to input a predetermined number such as "0" and provide information to the pointing device 112 to input "0". The pointing device 112 then moves the cursor on the screen to the next matching name.
输入装置104也可用于通过长按压输入字母,并提供长按压的信息给显示装置110。然后显示装置110在屏幕上弹出暂时的横条,其中显示了按压的键所代表的所有字母,并且光标依次沿字母移动。The input device 104 can also be used to input letters by long pressing, and provide long pressing information to the display device 110 . The display device 110 then pops up a temporary horizontal bar on the screen, wherein all the letters represented by the pressed key are displayed, and the cursor moves along the letters in sequence.
优选地,该装置包括初始计时器,用于比较按键时长与预定值以决定是否通过长按压执行输入。Preferably, the device includes an initial timer for comparing the duration of the key press with a predetermined value to determine whether to perform input by long pressing.
假设移动电话号码簿包含几个条目,以A到Z的顺序列出分别是“Guo Ping”,“Guo QingZhong”,“Han Ping”,“HALL Randy”,“Han LingZhong”和“ILAN David”。还假设用户准备获得“HanLingZhong”的电话号码。Suppose the mobile phone directory contains several entries, listed in order from A to Z as "Guo Ping", "Guo QingZhong", "Han Ping", "HALL Randy", "Han LingZhong", and "ILAN David". It is also assumed that the user is going to obtain the phone number of "HanLingZhong".
如果用户先用短按压输入“4”,所有的姓名匹配并显示,因为它们的第一字母为G,H或I。光标定位于第一匹配的姓名“GuoPing”。这时,如果用户想定位光标到“Han LingZhong”,就要按压“0”三次。然而,如果用户通过短按压进一步输入“5”,查询字符串更新为“45”,匹配的姓名减少为“HALL Randy”,“HanLingZhong”和“ILAN David”。光标定位于“HALL Randy”。这时,再输入“0”光标会移动到姓名“Han LingZhong”。可替代地,可通过短按压进一步输入“9”。查询字符串又更新为“459”。这时,匹配的只有姓名“Han LingZhong”。If the user first enters "4" with a short press, all names match and are displayed because their first letter is G, H or I. The cursor is positioned on the first matching name "GuoPing". At this time, if the user wants to position the cursor to "Han Lingzhong", he must press "0" three times. However, if the user further enters "5" via a short press, the query string is updated to "45" and the matching names are reduced to "HALL Randy", "HanLingZhong" and "ILAN David". The cursor is positioned on "HALL Randy". At this time, input "0" again and the cursor will move to the name "Han LingZhong". Alternatively, a further "9" can be entered by a short press. The query string is again updated to "459". At this time, only the name "Han LingZhong" matches.
可替代地,用户可通过长按压先输入“4”并从暂时的横条中选择“H”。这时,匹配的有“HALL Randy”和“Han LingZhong”。然后,用户通过进一步按压“0”或“9”定位光标到想要的姓名。Alternatively, the user may first enter "4" with a long press and select "H" from the temporary bar. At this time, "HALL Randy" and "Han LingZhong" are matched. Then, the user positions the cursor to the desired name by further pressing "0" or "9".
用户也可通过短按压输入“415”。这时,由于输入“1”表示后面的“5”代表第一名字中的字母,匹配的只有“Han LingZhong”。The user can also enter "415" with a short press. At this time, since the input of "1" means that the following "5" represents the letter in the first name, only "Han LingZhong" is matched.
显而易见,有了本发明的查询方法,输入的效率提高了,又不会降低查询的准确。Obviously, with the query method of the present invention, the efficiency of input is improved without reducing the accuracy of query.
显然,不脱离本发明的实质或范围,本领域的技术人员可对本发明作出各种改型和变形。因此,本发明旨在覆盖落入所附权利要求和其等价物的范围之内的改型和变形。It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention covers modifications and variations that come within the scope of the appended claims and their equivalents.
Claims (19)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/EP2001/014206 WO2003041371A1 (en) | 2001-11-08 | 2001-11-08 | Method and apparatus for name search from personal information database |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN1486564A true CN1486564A (en) | 2004-03-31 |
Family
ID=8164712
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNA018217923A Pending CN1486564A (en) | 2001-11-08 | 2001-11-08 | Method and device for querying name from personal information database |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN1486564A (en) |
| WO (1) | WO2003041371A1 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101630199A (en) * | 2008-07-16 | 2010-01-20 | 创新科技有限公司 | Method for inputting characters in character set by using keys, keyboard and information processing device |
| CN101888427A (en) * | 2009-05-12 | 2010-11-17 | 中国移动通信集团公司 | Method for matching dialing name and terminal |
| CN101287203B (en) * | 2008-05-28 | 2011-04-06 | 宁波高新区同瞻科技有限公司 | Rapid searching method for name card holder embedded in mobile phone |
| US8446368B2 (en) | 2007-08-23 | 2013-05-21 | Kyocera Corporation | Input apparatus |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005055077A2 (en) * | 2003-12-03 | 2005-06-16 | Koninklijke Philips Electronics N.V. | Predictive input |
| GB2411983A (en) * | 2004-03-12 | 2005-09-14 | Sendo Int Ltd | Methods of generating and matching an input character in a database for searching a mobile phone address book |
| US7505965B2 (en) * | 2005-01-27 | 2009-03-17 | Microsoft Corporation | Systems and methods for providing a user interface with an automatic search menu |
| CN101641662A (en) | 2007-03-30 | 2010-02-03 | 诺基亚公司 | Search-based user interface |
| EP2031840A1 (en) * | 2007-08-27 | 2009-03-04 | Heinrich Lüber | Quick-dial SMS mobile telephone and quick-dial SMS cordless telephone for very rational dialling of stored telephone addresses and quick creation of SMS messages |
| US9317625B2 (en) * | 2011-05-11 | 2016-04-19 | Mitel Networks Corporation | Quick directory search system on a touch screen device and methods thereof |
| EP2657856A4 (en) * | 2011-12-29 | 2014-03-05 | Huawei Tech Co Ltd | Contact search method, device and mobile terminal applying same |
| CN102780802B (en) | 2012-07-13 | 2017-10-10 | 中兴通讯股份有限公司 | The method and terminal of a kind of speed dialling |
| CN106060397B (en) * | 2016-06-30 | 2019-05-17 | 维沃移动通信有限公司 | A shooting mode switching method and mobile terminal |
| CN106686183A (en) * | 2016-12-30 | 2017-05-17 | 东软集团股份有限公司 | Terminal data querying method and device |
| US20210405871A1 (en) | 2020-06-26 | 2021-12-30 | Rohde & Schwarz Gmbh & Co. Kg | User interface control device and method for controlling a user interface |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4817129A (en) * | 1987-03-05 | 1989-03-28 | Telac Corp. | Method of and means for accessing computerized data bases utilizing a touch-tone telephone instrument |
| EP0457077A3 (en) * | 1990-05-16 | 1993-10-27 | Rolm Co | Accessing alphanumeric information using a numeric keypad |
| US5797098A (en) * | 1995-07-19 | 1998-08-18 | Pacific Communication Sciences, Inc. | User interface for cellular telephone |
| FI108757B (en) * | 1997-11-07 | 2002-03-15 | Nokia Corp | Procedure and apparatus for searching a database |
| KR20010023028A (en) * | 1997-08-20 | 2001-03-26 | 맥슨 시스템스 아이엔시. (런던) 엘티디. | A method for locating stored entries in an electronic directory and communication apparatus |
| KR19990083656A (en) * | 1998-10-17 | 1999-12-06 | 김현철 | How to search phone number of mobile communication terminal |
-
2001
- 2001-11-08 CN CNA018217923A patent/CN1486564A/en active Pending
- 2001-11-08 WO PCT/EP2001/014206 patent/WO2003041371A1/en not_active Ceased
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8446368B2 (en) | 2007-08-23 | 2013-05-21 | Kyocera Corporation | Input apparatus |
| CN101785001B (en) * | 2007-08-23 | 2013-09-18 | 京瓷株式会社 | Input device |
| CN101287203B (en) * | 2008-05-28 | 2011-04-06 | 宁波高新区同瞻科技有限公司 | Rapid searching method for name card holder embedded in mobile phone |
| CN101630199A (en) * | 2008-07-16 | 2010-01-20 | 创新科技有限公司 | Method for inputting characters in character set by using keys, keyboard and information processing device |
| CN101630199B (en) * | 2008-07-16 | 2015-01-14 | 创新科技有限公司 | Method for inputting characters in character set by using keys, keyboard and information processing device |
| CN101888427A (en) * | 2009-05-12 | 2010-11-17 | 中国移动通信集团公司 | Method for matching dialing name and terminal |
| CN101888427B (en) * | 2009-05-12 | 2015-03-11 | 中国移动通信集团公司 | Method for matching dialing name and terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2003041371A1 (en) | 2003-05-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1124554C (en) | Method and apparatus for improved multi-tap text input | |
| CN1154912C (en) | Method and apparatus for entering text messages from a keypad | |
| CN1486564A (en) | Method and device for querying name from personal information database | |
| US8542187B2 (en) | Handheld electronic device with text disambiguation | |
| CN1637702A (en) | Method for entering text | |
| CN1748195A (en) | Text entry mechanism for small keypads | |
| CN1666167A (en) | Entering text into an electronic communications device | |
| WO2009074857A2 (en) | Systems and methods for semi-automatic dialing from a mixed entry sequence having numeric and non-numeric data | |
| CN1960410A (en) | Method for positioning linkman of mobile terminal | |
| CN1855017A (en) | Electronic device having capability for interpreting user inputs and method therefor | |
| CN1855954A (en) | Method and apparatus for searching for a directory entry in a mobile communication terminal phone book | |
| JP2009532773A (en) | Alphanumeric data input device and method using multiple character keys on keypad | |
| CN101002162B (en) | Handheld electronic device with text disambiguation | |
| CN1102273C (en) | Database index method and system | |
| CN1211990C (en) | Method fr accessing classified telephone directory, in mobile telephone, through interface for external cntrol (remote-control interface), using one or several letters as search key | |
| CN1510554A (en) | Embedded applied Chinese character inputting method | |
| CN1791139A (en) | Dialing method and device thereof, and machine-readable medium thereof | |
| CN1287625C (en) | Method for quick browsing of short message, and integrated circuit product manufactured by same method | |
| CN1404289A (en) | Name and number searching method for cellphone | |
| CN1157919C (en) | Chinese character and word input method and system | |
| CN1536512A (en) | Method for quickly searching telephone directory | |
| CN1191702C (en) | Chinese Character input method of simplified keyboard | |
| KR20010069565A (en) | System for Inputting Chinese Characters for the Electronic Apparatuses by Using the Root | |
| WO2010049581A1 (en) | Adaptive search | |
| CN1595341A (en) | Chinese-English number and five-sound input method and keyboard |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C12 | Rejection of a patent application after its publication | ||
| RJ01 | Rejection of invention patent application after publication |