CN103440291A - Contact list quick searching method for dispatching system - Google Patents
Contact list quick searching method for dispatching system Download PDFInfo
- Publication number
- CN103440291A CN103440291A CN2013103596799A CN201310359679A CN103440291A CN 103440291 A CN103440291 A CN 103440291A CN 2013103596799 A CN2013103596799 A CN 2013103596799A CN 201310359679 A CN201310359679 A CN 201310359679A CN 103440291 A CN103440291 A CN 103440291A
- Authority
- CN
- China
- Prior art keywords
- address list
- character string
- searching
- storage organization
- list information
- 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
Abstract
The invention discloses a contact list quick searching method for a dispatching system. The contact list quick searching method for the dispatching system comprises the steps that contact list information in a database is read according to letters corresponding to keys pressed by a user, matched contact list information is searched for, a searching character string, the length of the searching character string and the matched contact list information are stored in a cache data storage structure, and the contact list information is displayed. According to the contact list quick searching method for the dispatching system, due to the fact that the cache data storage structure is established, redundant searching can be reduced effectively, rematching is avoided due to the fact that figures are prevented from being converted into corresponding letters during backspacing, and then contact list searching efficiency is effectively improved.
Description
Technical field
The present invention relates to a kind of address list method for quickly retrieving, relate in particular to a kind of method for quickly retrieving of the address list towards dispatching system, belong to communication technical field.
Background technology
The IP command dispatching system has commander's convenience, dispatches the advantages such as accurate, in departments such as railway, electric power, public security, army, civil aviatons, obtains using very widely.It can provide communication and bearer service, and realization can control, clog-free, simple operation, safe and reliable point-to-point and single-point be to the communication of multiple spot, for managing provides high efficiency technical guarantee.
As shown in Figure 1, the IP command dispatching system in actual applications, imitates mobile phone key by dial (of a telephone) and searches the user that will call out in address list.This address list search method has become very important function point of IP command dispatching system.Because dial (of a telephone) can only be supported simple numeral input, need to arrive corresponding Chinese Name by digital search.Traditional way is the letter corresponding by digital keys, and the Chinese Name in the traversal address list, mate one by one, and the user who meets matching condition is shown in the lookup result of dial (of a telephone).
There is following shortcoming in existing address list search method:
1. remove to mate letter with Chinese and Chinese need to be converted to letter and then go comparison, this operation is complexity but also consuming time not only;
2. along with the increase of dial (of a telephone) input, be used for the process of retrieval for first mating first input, and then the numeral of going coupling next to input, consuming timely also can be multiplied.
3. when dial (of a telephone) is carried out rollback operation, need to letter corresponding to all numerals before last numeral of input forward to and again go coupling, efficiency is greatly affected.
In order to improve the address list recall precision, in the Chinese invention patent that is ZL200510025351.9 in the patent No., a kind of telephone number intelligent inquiry method is disclosed.The method includes the steps of: at first, content according to telephone directory, the corresponding name of each telephone item, Business Name contributes to the project of inquiry to be decomposed with other, English and numeral with and mixture be decomposed into corresponding numeral and English, Chinese is decomposed into the Chinese phonetic alphabet, finally gathers the database of setting up a telephone directory.Secondly, within the regular hour, carry out N(N >=1) inferior button, the key that judgement is pressed is one of in numerical key 0~9 time, according to the rule of correspondence of keyboard, this button is converted to respective digital, English alphabet and the Chinese phonetic alphabet successively; Then, transformed numeral, English alphabet and the Chinese phonetic alphabet are carried out to the quicksort phone list, reach the purpose of fast finding telephone number.The method has improved recall precision to a certain extent, but the coupling work while for dial (of a telephone), carrying out rollback operation does not provide more effective solution.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of method for quickly retrieving of the address list towards dispatching system.
For realizing above-mentioned goal of the invention, the present invention adopts following technical scheme:
A kind of method for quickly retrieving of the address list towards dispatching system, be stored in address list in database, comprises following searching step:
Press the address list information in the alphabetical reading database that user key-press is corresponding, the address list information that retrieval is complementary, at data cached storage organization memory scan character string, searching character string length and coupling address list information, show address list information.
Wherein more preferably, described searching step further comprises:
(1) for the numerical search of first input, the address list information that will meet search condition stores in data cached storage organization, and shows result for retrieval;
(2) receive user's next one numeral input, the address list relevant information on the basis of front primary retrieval in the retrieve buffered data storage organization, find satisfactory address list information, and show result for retrieval;
(3) continue to increase the numeral of input, until retrieve results needed.
Wherein more preferably, described on the basis of front primary retrieval the step of the address list relevant information in the retrieve buffered data storage organization further comprise:
When continuing the input numeral, if the address list information in data cached storage organization does not meet the retrieval requirement, the every terms of information be stored in data cached storage organization remains unchanged;
If the address list information in data cached storage organization meets the retrieval requirement, searching character string becomes the monogram satisfied condition accordingly, and the searching character string length value adds 1.
Wherein more preferably, also comprise following rollback step:
Obtain searching character string length in search condition by user key-press, find out and be more than or equal to coupling searching character string corresponding to current searching character string length, find out address list information corresponding to coupling searching character string at described data cached storage organization, show the address list information corresponding with the coupling searching character string.
Wherein more preferably, also comprise following removing step:
Empty the data in described data cached storage organization, dial (of a telephone) recovers initial state.
The present invention is by setting up data cached storage organization, by the address name in address list, subscriber directory number, be used for the keyboard input of character string of retrieval and the searching character string length while meeting search condition and be deposited in this data cached storage organization, can effectively reduce the redundancy inquiry.When carrying out rollback operation, can avoid digital conversion again to go again coupling to corresponding letter, effectively improved the address list effectiveness of retrieval.
The accompanying drawing explanation
Fig. 1 is the schematic diagram of dial (of a telephone) in prior art;
Fig. 2 is the search interface schematic diagram of address list method for quickly retrieving provided by the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.
As shown in Figure 1, the invention provides a kind of method for quickly retrieving of the address list towards dispatching system, at first by the user communication address book stored in memory database, then in searching step, press the address list information in the alphabetical reading database that user key-press is corresponding, retrieve the address list information that is complementary, at data cached storage organization memory scan character string, searching character string length and coupling address list information, show address list information; In the rollback step, obtain searching character string length in search condition by user key-press, find out and be more than or equal to coupling searching character string corresponding to current searching character string length, find out address list information corresponding to coupling searching character string at data cached storage organization, show the address list information corresponding with the coupling searching character string; In removing step, empty the information in data cached storage organization, dial (of a telephone) recovers initial state.
As shown in Figure 2, the dial (of a telephone) generally used at present of take is example, and this address list method for quickly retrieving is launched to detailed explanation.Window A and window B are used for respectively inputting search condition and show result for retrieval.The keyboard region of dial (of a telephone) comprises 0~9 these ten digital keys.Wherein, letter a, b, the corresponding numeral 2 of c, letter d, e, the corresponding numeral 3 of f, letter g, h, the corresponding numeral 4 of i, letter j, k, the corresponding numeral 5 of l, alphabetical m, n, the corresponding numeral 6 of o, alphabetical p, q, the corresponding numeral 7 of r, s, letter t, u, the corresponding numeral 8 of v, alphabetical w, the corresponding numeral 9 of x, y, z.Each name have a character string in contrast should, such as the Chinese Chinese phonetic alphabet of name " Zhang Sanfeng " is " Zhang San Feng ", first letter of pinyin " Z, S, F " corresponding character string " 973 ".In addition, also have dialing, rollback and removing button on dial (of a telephone), can make corresponding operation.In the above-described embodiments, keyboard is to set in advance in the dispatching communication terminal according to certain daily life custom with the digital or alphabetical rule of correspondence.In order after collecting key information, according to this daily life custom, to generate specific digit strings, can adopt the modes such as software or firmware pre-stored in the dispatching communication terminal.
In address list method for quickly retrieving provided by the invention, at first, user's address list need to be stored in corresponding database.In the dispatching communication terminal, be that address list is set up a data cached storage organization, for the address list user profile of coupling search condition after memory scan.This data cached storage organization comprises the position (or space) of address list relevant information, so as the retrieval further carry out and rollback operation.These address list relevant informations for storing address name, subscriber directory number, be used for the keyboard input of character string of retrieval and the searching character string length while meeting search condition.This data cached storage organization is specific as follows:
Wherein, strUserName is used for storing user's title, strUserNum is used for storing user's telephone number, the character string that strSearch inputs while being used for memory scan, this character string is that numeral by dial (of a telephone) input is according to the rule of correspondence, and the English alphabet that meets search condition forms, iStrLen is used for storage while meeting search condition, the searching character string length of key-press input.
Before retrieval starts, the user profile in address list has been deposited in the memory database of dispatching communication terminal, and sets up an index file, and the address name in address list is mapped with the initial of its corresponding phonetic.When the numeral in user's click to dial dish is retrieved, numeral changes into English alphabet according to the rule of correspondence, and be complementary with the letter in index file, until find corresponding record, extract corresponding address list information from memory database, and in data cached storage organization, searching character string, searching character string length and coupling address list information are mated in storage, show the coupling address list information in window B.
Below introduce the implementation procedure of address list quick-searching.When user's click to dial dish button, press the address list information in the alphabetical reading database that user key-press is corresponding, retrieve the address list information that matches, at data cached storage organization memory scan character string, searching character string length and coupling address list information, show address list information.Click keys " 9 " for example, according to the rule of correspondence, corresponding letter is " w, x, y, z ", dispatching system is mated retrieval by the letter in the memory database index file with it, until find the record all be complementary, extract corresponding address list information from memory database, and searching character string, searching character string length and coupling address list information are mated in storage in data cached storage organization.In one embodiment of the invention, retrieve three names " Zhang San " (zhangsan) from address list, " Zhang Sanfeng " (zhangsanfeng), " king five " (wangwu).These user profile are extracted from memory database, store in data cached storage organization.The corresponding information of top like this three users is respectively as shown in table 1, table 2, table 3:
strUserName | Zhang San |
strUserNum | The number that Zhang San is corresponding |
strSearch | Z |
iStrLen | 1 |
Table 1 searching character string length is 1 o'clock data cached storage organization of Zhang San
strUserName | Zhang Sanfeng |
strUserNum | The number that Zhang Sanfeng is corresponding |
strSearch | Z |
iStrLen | 1 |
Table 2 searching character string length is 1 o'clock data cached storage organization of Zhang Sanfeng
strUserName | The king five |
strUserNum | The number of king's five correspondences |
strSearch | W |
iStrLen | 1 |
Table 3 searching character string length is 1 o'clock data cached storage organization of king five
Now, the relevant position of dial (of a telephone) shows result for retrieval at window B, and the user can do corresponding operation according to the operation push-button of dial (of a telephone).Perhaps, the user can continue click keys and does further meticulous retrieval.In one embodiment of the invention, click keys " 7 " is done further meticulous retrieval.According to the rule of correspondence, letter corresponding to numeral " 7 " is " p, q, r, s ".Now, dispatching system does not need to go to retrieve all user profile in address list again, only needs the user who stores in the retrieve buffered data storage organization to get final product, and has optimized like this quantity of retrieval, has improved recall precision.
Two buttons " 9 " " 7 " for user's input when retrieving, traditional way is that each user in address list is carried out to " wp ", " wq ", " wr ", " ws ", " xp ", " xq ", " xr ", 16 kinds of conditions such as " xs " are mated, and in one embodiment of the invention, only need to the letter of strSearch Related fields be combined with the character of new input, new character strings after combination is operated and gets final product, for example " Zhang San " only need to carry out " zp ", " zq ", " zr ", " zs " four kinds of conditions are mated, so again search condition is optimized, improved recall precision.
When user's click keys " 7 ", search condition becomes " 97 ", and the dial (of a telephone) result for retrieval is " Zhang San " and " Zhang Sanfeng " user, and in data cached storage organization, corresponding storage information change is the structure as shown in table 4, table 5, table 6:
strUserName | Zhang San |
strUserNum | The number that Zhang San is corresponding |
strSearch | ZS |
iStrLen | 2 |
Table 4 searching character string length is 2 o'clock data cached storage organizations of Zhang San
strUserName | Zhang Sanfeng |
strUserNum | The number that Zhang Sanfeng is corresponding |
strSearch | ZS |
iStrLen | 2 |
Table 5 searching character string length is 2 o'clock data cached storage organizations of Zhang Sanfeng:
strUserName | The king five |
strUserNum | The number of king's five correspondences |
strSearch | W |
iStrLen | 1 |
Table 6 searching character string length is 2 o'clock data cached storage organizations of king five
Now, in data cached storage organization, the value that meets searching character string (strSearch field) corresponding to the address list user's name of search condition becomes the monogram satisfied condition accordingly, for example the value of the strSearch field of " Zhang San " correspondence becomes " Z, S ", and the searching character string length becomes 2, the every value do not met in data cached storage organization corresponding to the user of further search condition all remains unchanged, and for example input searching character string length value corresponding to " king five " in table 6 is still 1.But corresponding information is not deleted from data cached storage organization, so that later stage during rollback operation, the searching rapidly of information.
When the user continues click keys " 3 ", corresponding letter is " d, e, f ", now search condition becomes " 973 ", and the dial (of a telephone) result for retrieval is " Zhang Sanfeng " user, the corresponding structure of storage information as shown in table 7, table 8, table 9 in data cached storage organization:
strUserName | Zhang San |
strUserNum | The number that Zhang San is corresponding |
strSearch | ZS |
iStrLen | 2 |
Table 7 searching character string length is 3 o'clock data cached storage organizations of Zhang San
strUserName | Zhang Sanfeng |
strUserNum | The number that Zhang Sanfeng is corresponding |
strSearch | ZSF |
iStrLen | 3 |
Table 8 searching character string length is 3 o'clock data cached storage organizations of Zhang Sanfeng
strUserName | The king five |
strUserNum | The number of king's five correspondences |
strSearch | W |
iStrLen | 1 |
Table 9 searching character string length is 3 o'clock data cached storage organizations of king five
Now, meet the address list user of search condition " 973 ", only have " Zhang Sanfeng " to be presented in search results window B, the user can operate on it by the respective keys of dial (of a telephone), for example clicks " dialing " button and carries out dial-up operation.
When user's click to dial dish backspace key, obtain searching character string length in search condition by user key-press, find out and be more than or equal to coupling searching character string corresponding to current searching character string length, find out address list information corresponding to coupling searching character string at data cached storage organization, show the address list information corresponding with the coupling searching character string.If now the user need to return to a result for retrieval, can click " rollback " button, carry out rollback operation.When click keys is carried out rollback operation, dispatching system does not need all digital conversion to corresponding letter, user's name is gone to coupling again, only need to obtain searching character string length in search condition by user key-press, find out and be more than or equal to searching character string corresponding to current searching character string length, and find out corresponding address list information according to corresponding searching character string; The address list information that these searching character strings are corresponding is the result that meets search condition.In one embodiment of the invention, when click keys is carried out rollback operation, search condition becomes " 97 ", take out the value of user object iStrLen in data cached storage organization, its value is more than or equal to the corresponding address list record of searching character string length of current search condition character string " 97 ", be the result that meets search condition, it is presented in result for retrieval, effectively improved effectiveness of retrieval.
When retrieval finishes or need to again retrieve, the user can click " removing " button and carry out clear operation, and now dispatching system can empty the information in data cached storage organization, returns to the dial (of a telephone) initial state.
The present invention adopts data cached storage organization, in retrieving, particularly input in the retrieving of a plurality of search conditions, the result for retrieval that meets previous search condition of take is basis, reduced the redundancy inquiry, and, when carrying out rollback operation, do not need the digital conversion of input is before gone to coupling again to corresponding letter, greatly improved recall precision.
Above the method for quickly retrieving of the address list towards dispatching system provided by the present invention is had been described in detail.To those skilled in the art, any apparent change of under the prerequisite that does not deviate from connotation of the present invention, it being done, all will form infringement of patent right of the present invention, will bear corresponding legal liabilities.
Claims (5)
1. the method for quickly retrieving of the address list towards dispatching system, be stored in address list in database, it is characterized in that comprising following searching step:
Press the address list information in the alphabetical reading database that user key-press is corresponding, the address list information that retrieval is complementary, at data cached storage organization memory scan character string, searching character string length and coupling address list information, show address list information.
2. address list method for quickly retrieving as claimed in claim 1, is characterized in that, described searching step further comprises:
(1) for the numerical search of first input, the address list information that will meet search condition stores in described data cached storage organization, and shows result for retrieval;
(2) receive user's next one numeral input, the address list relevant information on the basis of front primary retrieval in the described data cached storage organization of retrieval, find satisfactory address list information, and show result for retrieval;
(3) continue to increase the numeral of input, until retrieve results needed.
3. the method for address list quick-searching as claimed in claim 2, is characterized in that, described on the basis of front primary retrieval the step of the address list relevant information in the retrieve buffered data storage organization further comprise:
When continuing the input numeral, if the address list information in described data cached storage organization does not meet the retrieval requirement, the every terms of information be stored in described data cached storage organization remains unchanged;
If the address list information in described data cached storage organization meets the retrieval requirement, searching character string becomes the monogram satisfied condition accordingly, and the searching character string length value adds 1.
4. address list method for quickly retrieving as claimed in claim 1 characterized by further comprising following rollback step:
Obtain searching character string length in search condition by user key-press, find out and be more than or equal to coupling searching character string corresponding to current searching character string length, find out address list information corresponding to coupling searching character string at described data cached storage organization, show the address list information corresponding with the coupling searching character string.
5. address list method for quickly retrieving as described as claim 1 or 4 characterized by further comprising following removing step:
Empty the data in described data cached storage organization, dial (of a telephone) recovers initial state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013103596799A CN103440291A (en) | 2013-08-16 | 2013-08-16 | Contact list quick searching method for dispatching system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013103596799A CN103440291A (en) | 2013-08-16 | 2013-08-16 | Contact list quick searching method for dispatching system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103440291A true CN103440291A (en) | 2013-12-11 |
Family
ID=49693983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013103596799A Pending CN103440291A (en) | 2013-08-16 | 2013-08-16 | Contact list quick searching method for dispatching system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103440291A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5852822A (en) * | 1996-12-09 | 1998-12-22 | Oracle Corporation | Index-only tables with nested group keys |
CN1404289A (en) * | 2001-08-31 | 2003-03-19 | 李吉峰 | Name and number searching method for cellphone |
CN1960410A (en) * | 2006-09-25 | 2007-05-09 | 宇龙计算机通信科技(深圳)有限公司 | Method for positioning linkman of mobile terminal |
CN102521329A (en) * | 2011-12-06 | 2012-06-27 | 北京神州泰岳软件股份有限公司 | Method and system for looking up contact in communication tool |
CN103167087A (en) * | 2013-01-31 | 2013-06-19 | 广东欧珀移动通信有限公司 | Method and system of searching cell phone contact persons |
-
2013
- 2013-08-16 CN CN2013103596799A patent/CN103440291A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5852822A (en) * | 1996-12-09 | 1998-12-22 | Oracle Corporation | Index-only tables with nested group keys |
CN1404289A (en) * | 2001-08-31 | 2003-03-19 | 李吉峰 | Name and number searching method for cellphone |
CN1960410A (en) * | 2006-09-25 | 2007-05-09 | 宇龙计算机通信科技(深圳)有限公司 | Method for positioning linkman of mobile terminal |
CN102521329A (en) * | 2011-12-06 | 2012-06-27 | 北京神州泰岳软件股份有限公司 | Method and system for looking up contact in communication tool |
CN103167087A (en) * | 2013-01-31 | 2013-06-19 | 广东欧珀移动通信有限公司 | Method and system of searching cell phone contact persons |
Non-Patent Citations (1)
Title |
---|
陈联柯: "基于Android平台的通讯管理系统的设计和实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101595446B (en) | Word prediction | |
CN101287203B (en) | Rapid searching method for name card holder embedded in mobile phone | |
WO2013170680A1 (en) | Rapid-matching based dialing method for android system and mobile terminal thereof | |
US8159371B2 (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 | |
CN102207816A (en) | Method for performing adaptive input based on input environment, and input method system | |
CN1184969A (en) | Method and device for input of text messages from keypad | |
CN105915685A (en) | Intelligent mobile phone dialing method and system | |
CN101330687B (en) | Method for matching numbers according to call frequency and mobile phone | |
CN101075231A (en) | Method for indexing cell-phone visiting card | |
CN102737105A (en) | Dict-tree generation method and searching method | |
CN101087327A (en) | A phone book search method of mobile terminal | |
CN100502429C (en) | Telephone number intelligent inquiry method for mobile phone directory | |
WO2012088772A1 (en) | Method for efficiently searching for contact with hand-held device | |
WO2007029581A1 (en) | Portable telephone | |
CN101676911A (en) | Contact person searching system and method | |
CN1976515A (en) | Portable mobile termianl and intelligent dialing method thereof | |
CN102883020A (en) | Dialing method and dialing system for mobile terminal | |
CN102999639B (en) | A kind of lookup method based on speech recognition character index and system | |
CN101426046A (en) | Method for telephone book lookup according to surnames on mobile phone | |
CN102780802B (en) | The method and terminal of a kind of speed dialling | |
CN101593191A (en) | The index establishing method of database, database search method and system | |
CN1964390A (en) | A quick search method for telephone number of communication terminal and its communication terminal | |
CN101141527A (en) | Instant online search of communication object database on internet when searching telephone directory | |
CN102479206A (en) | Method for searching contacts in phonebook according to surname list and phonebook storing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20131211 |