CN102271186B - A kind of realize phone directory and the method for note rapid matching of associated information and mobile terminal - Google Patents

A kind of realize phone directory and the method for note rapid matching of associated information and mobile terminal Download PDF

Info

Publication number
CN102271186B
CN102271186B CN201110202440.1A CN201110202440A CN102271186B CN 102271186 B CN102271186 B CN 102271186B CN 201110202440 A CN201110202440 A CN 201110202440A CN 102271186 B CN102271186 B CN 102271186B
Authority
CN
China
Prior art keywords
note
mapping table
uim card
mobile terminal
storage
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 - Fee Related
Application number
CN201110202440.1A
Other languages
Chinese (zh)
Other versions
CN102271186A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110202440.1A priority Critical patent/CN102271186B/en
Publication of CN102271186A publication Critical patent/CN102271186A/en
Application granted granted Critical
Publication of CN102271186B publication Critical patent/CN102271186B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The present invention proposes a kind of to realize phone directory and the method for note rapid matching of associated information and mobile terminal.According to the note storage condition in UIM card, set up a mapping table that the short message in UIM card and telephone directory information are set up contact;First search mapping table in note loading procedure, it is provided that the interface of Rapid matching name of contact person;In the case of mapping table does not exist this telephone number, then mate by searching complete phone directory recording.Technical scheme, it is not necessary to add any hardware and facility, the mobile terminal cost being applied to is cheap, and replicability is good, and can shorten starting time of mobile terminal largely, improves Consumer's Experience, strengthens product competitiveness.

Description

A kind of realize phone directory and the method for note rapid matching of associated information and mobile terminal
Technical field
The present invention relates to communication technical field, realize phone directory and the method for note rapid matching of associated information and mobile terminal more particularly, to a kind of.
Background technology
Mobile terminal (abbreviation terminal) such as products such as mobile phone, data base, panel computers from starting up until reaching the spendable state of user, note loading procedure is commonly divided into two stages: the first stage is to load UIM (UserIdentityModel, subscriber identification module) card in note and phone directory, second stage is to look for the associated person information in phone directory, and the telephone number in note is associated with name of contact person, it is achieved the complete display of short message.For second stage, because being not in contact with people's name field in note record in UIM card, the telephone number in note to be realized associates with the quick of name of contact person in phone directory, improves Consumer's Experience, and people have been working hard find new method.As a example by the name of contact person corresponding by this number in telephone number searching phone directory, in prior art, people use the method for sequential search.The method of sequential search is disadvantageous in that Key comparison often, increases CPU computation burden, thus causes terminal reflection speed slow, and Consumer's Experience is bad.Such as, mobile terminal loads 40 notes and 500 telephone directory information from UIM card, generally require 20 seconds time the most longer from starting to reach upstate terminal, therefore in life, when start, cellphone subscriber usually can see that mobile phone shows the signal language of " reading data, the most after a while ... ".
Load the speed of the extension information such as name of contact person in note during in order to accelerate mobile terminal-opening, shorten starting time of mobile terminal, improve the experience of user, there has been proposed some solutions.Such as, in Publication No. CN101115092A, the Chinese invention patent of entitled " a kind of method that CDMA wireless terminal telephone number accurately mates " disclosed in 30 days January in 2008, this invention sets up hash index according to the coding rule of telephone number, then carry out rapid dynamic match, overcome sequential search method and search slow-footed shortcoming.Compared with sequential search method, this invention can improve the speed of Dynamic Matching to a certain extent, but there is also following not enough:
First, the method needs to set up concordance list for each number record in terminal and UIM card, and safeguards these concordance lists, and owing to the telephone number in terminal is many, the concordance list high number hence set up, maintenance cost is high, and operation complexity, it is achieved difficulty is big;Secondly, although the method can accomplish that number quantity and lookup linearly are unrelated, but the method operating procedure is complicated, causes single look-up spent time relatively long, does not reaches the purpose of Rapid matching.
Visible, prior art there is also defect, haves much room for improvement and develops.
Summary of the invention
The present invention seeks to propose a kind of to realize phone directory and the method for note rapid matching of associated information and mobile terminal.
For achieving the above object, the present invention proposes a kind of method realizing phone directory and note rapid matching of associated information, described method includes: according to the note storage condition in UIM card, sets up a mapping table that the short message in UIM card and telephone directory information are set up contact;First search mapping table in note loading procedure, it is provided that the interface of Rapid matching name of contact person;In the case of mapping table does not exist this telephone number, then mate by searching complete phone directory recording.
Further, described method safeguards mapping table in being additionally included in the establishment of note, deletion action;And when, in the case of mapping table does not exist this telephone number, updating described mapping table time by searching complete phone directory recording coupling.
Further, described mapping table is to include note storage sequence number, telephone number, name of contact person and the linear list of phonebook index;EF in a line record correspondence UIM card in mapping tableSMSA note record storage position in file.
Further, described note storage sequence number refers to the storage sequence number of note in UIM card, for the UIM card that note memory capacity is N, the span of ID is 1-N, the storage serial number 1 of the Article 1 note in UIM card, the storage serial number 2 of Article 2 note, the like, storage serial number N of the last item note.
Further, the name of contact person in corresponding note during described name of contact person refers to UIM card;Described phonebook index refers to the telephone number in corresponding note and name of contact person storage position in phone directory in UIM card.
Further, described telephone number refers to the contact number in UIM card in corresponding note, for the note received, then represents the telephone number of sender, for the note sent He do not send, then represents the telephone number of addressee.
The present invention also proposes a kind of mobile terminal, and described mobile terminal includes retrieving module, mapping table maintenance module, UIMI/O module and UIM module;
Retrieval module includes retrieval, searches note and telephone directory information, it is achieved note and the correlation function of telephone directory information;
Mapping table maintenance module includes being responsible for generation, updating map information, makes mapping table reflect note and the relevant information of phone directory in UIM card in real time;
UIMI/O module includes being responsible for reading and writing note and telephone directory information;
UIM module storage note and telephone directory information.
Further, mobile terminal identifies a note in UIM card by storage sequence number;For the UIM card that note memory capacity is N, by each storage position respectively with 1,2,3...N identifies;According to UIM card EFSMSTelephone directory information in the note storage condition of file and UIM card sets up the mapping table of a linearly structure.
Further, described mapping table is for the UIM card that note memory capacity is N, and mapping table is expressed as the two-dimensional array of N row 4 row, and array row subscript represents that storage sequence number, array row subscript represent record attribute.
Further, described record attribute includes note storage sequence number, telephone number, name of contact person and phonebook index.
The present invention only need to can realize phone directory and the function of note rapid matching of associated information at mobile terminal design correlative code, without adding any hardware and facility, therefore to be applied to mobile terminal cost cheap for the present invention, replicability is good, and starting time of mobile terminal can be shortened largely, improve Consumer's Experience, strengthen product competitiveness.
Accompanying drawing explanation
Fig. 1 is the mobile terminal structure schematic diagram that the embodiment of the present invention can realize phone directory and note rapid matching of associated information;
Fig. 2 is embodiment of the present invention mapping table structure schematic diagram;
Fig. 3 is the schematic flow sheet that the embodiment of the present invention sets up mapping table;
Fig. 4 is embodiment of the present invention mobile terminal schematic flow sheet when performing to delete note;
Fig. 5 is that embodiment of the present invention mobile terminal writes note to the schematic flow sheet of UIM card;
Fig. 6 be the embodiment of the present invention in the case of non-first powering on, based on priori, the method flow schematic diagram of phone directory and note rapid matching of associated information.
Detailed description of the invention
The present invention provides a kind of and realizes phone directory and the method for note rapid matching of associated information and terminal.Short message in UIM card and telephone directory information, by setting up a mapping table, are set up contact by the present invention, use when starting up of terminal the priori in mapping table to realize quickly and search, shorten display note complete information required time.The present invention overcomes the shortcoming that existing method is searched often, response speed is slow, telephone number searching number of times can be reduced as a rule, improve the loading velocity of note extension information, reach to improve the purpose tested with body of user.
The Rapid matching of described telephone number refers to the telephone number in note as keyword, the information provided in conjunction with mapping table, searches the name of contact person that it is corresponding in phone directory.According to the note storage condition in UIM card, set up a mapping table, preferentially search this mapping table when loading note and showing note complete information, quickly find the name of contact person in phone directory.
By further illustrating that technical solution of the present invention, by reaching the technological means that predetermined purpose is taked, below in conjunction with drawings and Examples, is described below in detail by the present invention.Example below terminal illustrates as a example by data card.
Shown in Figure 1, Fig. 1 is the mobile terminal structure schematic diagram that the embodiment of the present invention can realize phone directory and note rapid matching of associated information, comprising: short message generation module 102, memory module 103, retrieval module 104, mapping table maintenance module 105, UIMI/O module 106 and UIM module 107.In this embodiment, mobile terminal is connected with user terminal by the Subscriber Interface Module SIM 101 of user terminal (such as PC).
Subscriber Interface Module SIM 101 is the interface that user is mutual with mobile terminal, can be completed to read by this Interface User, create, be deleted the actions such as note.
Short message generation module 102 is responsible for short message protocol data cell is generated note record.
Memory module 103 is responsible for storing to the file system of mobile terminal note record.
Retrieval module 104 is responsible for retrieval, is searched note and telephone directory information, it is achieved note and the correlation function of telephone directory information.
Mapping table maintenance module 105 is responsible for generating, updating map information, makes mapping table reflect note and the relevant information of phone directory in UIM card in real time.
UIMI/O module 106 is responsible for reading and writing note and telephone directory information.
UIM module 107 refers to UIM card, the EF in UIM cardSMSNote and telephone directory information is stored respectively with EFADN.
EFSMSFile is one and uses linear structure tissue note record for the constituent instruments storing note, this document, and a usual note has a unique storage sequence number, and terminal identifies a note in UIM card by storage sequence number.For the UIM card that note memory capacity is N, we can by each storage position respectively with 1,2,3...N identify, such as, be stored in the note of i-th storage position we term it i-th note.The present invention is according to UIM card EFSMSTelephone directory information in the note storage condition of file and UIM card sets up the mapping table of a linearly structure.
Seeing Fig. 2, be embodiment of the present invention mapping table structure schematic diagram, for the UIM card that note memory capacity is N, mapping table is represented by the two-dimensional array of N row 4 row, and array row subscript represents that storage sequence number, array row subscript represent record attribute.Record attribute is note storage sequence number, telephone number, name of contact person and phonebook index respectively.
See Fig. 3, be the embodiment of the present invention schematic flow sheet of setting up mapping table.For a specific mobile terminal, terminal only sets up mapping table within the whole product life cycle when first powering on, and does not resettle mapping table afterwards during start, but the mapping table that operation and maintenance is existing.When first powering on, the Establishing process of mapping table comprises the steps:
Step 301: start;
Step 302: load the phone directory in UIM card and note and also write in terminal non-volatile memory medium to internal memory, acquisition UIM card ICCID;
Step 303: cyclic variable i=1 is set, the storage sequence number of note in the also corresponding UIM card of cyclic variable i;
Step 304: whether Rule of judgment i > N arranges, if condition is false, then goes to step 305, otherwise goes to step 312;
Step 305: judge that in UIM card, whether the i-th storage position has note record, if condition is false, then goes to step 306, otherwise goes to step 307;
Step 306: the telephone number of mapping table the i-th row, name of contact person and three fields of phonebook index are set for sky;
Step 307: extract telephone number A in the note on the i-th storage position from UIM card, and with telephone number A as keyword, sequential search in phone directory recording;
Step 308: judge whether the associated person information finding telephone number to be A in phone directory, if finding, then goes to step 309, otherwise goes to step 306;
Step 309: this telephone number A is set to the value of mapping table the i-th row phone number field;
Step 310: extract the name in contact person and obtain this record index in phone directory, and the name of contact person in mapping table the i-th row record and the value of phonebook index field are set;
Step 311: cyclic variable i=i+1 is set, and returns step 304;
Step 312: terminate.
Shown in Figure 4, it is embodiment of the present invention mobile terminal schematic flow sheet when performing to delete note, it comprises the steps:
Step 401: start;
Step 402: delete i-th note in UIM card;
Step 403: judge whether to delete successfully, if success, proceeds to step 404, if it fails, then proceed to step 405;
Step 404: telephone number, name of contact person and the phonebook index of mapping table the i-th row record are set to sky;
Step 405: terminate.
Refer to shown in Fig. 5, be that embodiment of the present invention mobile terminal writes note to the schematic flow sheet of UIM card, it comprises the steps:
Step 501: start;
Step 502: write a note to UIM card;
Step 503: judge whether to be successfully written UIM card, if it is, enter step 504, if not then proceeding to step 511;
Step 504: obtain sequence number i of this note storage;
Step 505: extract the telephone number in this note, is assigned to the phone number field of mapping table the i-th row record;
Step 506: with the telephone number in this note as keyword, sequential search associated person information in phone directory;
Step 507: judge whether to find associated person information, enters step 509 if being, words that no proceed to step 508;
Step 508: be set to sky to contact person, name and the phonebook index field of mapping table the i-th row record;
Step 509: obtain name of contact person and phonebook index;
Step 510: name of contact person and phonebook index are assigned to respectively name of contact person and the phonebook index field of mapping table the i-th row record;
Step 511: terminate.
Refer to shown in Fig. 6, be in the case of non-first powering on, based on priori, the method flow schematic diagram of phone directory and note rapid matching of associated information, it comprises the steps:
Step 601: start;
Step 602: load the phone directory in UIM card and note to internal memory;
Step 603: compare ICCID and judge whether user changes UIM card;
Read No. ICCID in UIM card, this No. ICCID is compared with No. ICCID before shutdown, if both are different, illustrate that user has changed UIM card, then go to step 619, otherwise, go to step 604.
Step 604: cyclic variable i=1 is set, the storage sequence number of note in the also corresponding UIM card of cyclic variable i;
Step 605: Rule of judgment i > N, if condition is false, then goes to step 606, otherwise goes to step 620;
Step 606: judge that in UIM card, whether the i-th storage position has note record, if condition is false, then goes to step 607, otherwise goes to step 609;
Step 607: the telephone number of mapping table the i-th row, name of contact person and three fields of phonebook index are set for sky;
Step 608: " unknown contacts " is added on the name hurdle of message list, and shows on a user interface, jump to step 618;
Step 609: extract the telephone number A in i-th note;
Step 610: extract the telephone number B of the i-th row record in mapping table;
Step 611: whether Rule of judgment A=B sets up, if condition is false, then goes to step 613, otherwise, goes to step 612;
Step 612: extract the name of contact person of the i-th row record in mapping table, and jump to step 617;
Step 613: with telephone number A as keyword, in phone directory recording, sequential search telephone number is the contact person record of A;
Step 614: judge whether to find contact person record, if condition is false, then goes to step 607, otherwise goes to step 615;
Step 615: obtain name of contact person, and the contact name field in mapping table the i-th row record is set;
Step 616: obtain phonebook index, and the phonebook index field in mapping table the i-th row record is set;
Step 617: name of contact person is added in message list, and show on a user interface;
Step 618: cyclic variable i=i+1 is set, and returns step 605;
Step 619: re-establish mapping table;
Update ICCID in non-volatile memory medium, re-establish mapping table, and complete phone directory and the coupling of note related information.
Step 620, terminates.
Compared with prior art, technical scheme can reflect the mapping table of the related information such as note and phone directory in UIM card owing to setting up and maintaining one, this mapping table is used to provide a kind of fast matching method based on priori, overcome existing lookup method to search often, the deficiency that response speed is slow, can realize as a rule reducing searching number of times, improve the loading velocity of short message, reach to improve the purpose that user tests with body.
The inventive method only need to set up a mapping table, simple to operate, it is achieved easily, and inquiry velocity is fast, the loading velocity of note extension information can be greatly improved, on the other hand, reduce unnecessary CPU and calculate resource, it is provided that the runnability of terminal, improve Consumer's Experience.
It addition, replicability of the present invention is good, low cost, and application effect is notable, can improve testing with body of user largely.The present invention only need to can realize phone directory and the function of note rapid matching of associated information at mobile terminal design correlative code, without adding any hardware and facility, therefore to be applied to mobile terminal cost cheap for the present invention, replicability is good, and starting time of mobile terminal can be shortened largely, improve using of user to experience, strengthen product competitiveness.
Certainly; the present invention also can have numerous embodiments; without departing substantially from present invention spirit and the situation of essence thereof; those of ordinary skill in the art can make various corresponding change or change according to the present invention certainly; in every case any modification, equivalent substitution and improvement made within the spirit and principles in the present invention, should be included within the scope of the present invention.

Claims (6)

1. the method realizing phone directory and note rapid matching of associated information, it is characterised in that described method includes: according to the note storage condition in UIM card, sets up a mapping table that the short message in UIM card and telephone directory information are set up contact;First search mapping table in note loading procedure, it is provided that the interface of Rapid matching name of contact person;In the case of mapping table does not exist this telephone number, then mate by searching complete phone directory recording;
Described mapping table is to include note storage sequence number, telephone number, name of contact person and the linear list of phonebook index;EF in a line record correspondence UIM card in mapping tableSMSA note record storage position in file;
Described note storage sequence number refers to the storage sequence number of note in UIM card, and for the UIM card that note memory capacity is N, the span of ID is 1-N, the storage serial number 1 of the Article 1 note in UIM card, the storage serial number 2 of Article 2 note, the like, storage serial number N of the last item note.
2. the method for claim 1, it is characterised in that described method is additionally included in the establishment of note, deletion action and safeguards mapping table;And when, in the case of mapping table does not exist this telephone number, updating described mapping table time by searching complete phone directory recording coupling.
3. the method for claim 1, it is characterised in that described name of contact person refers to the name of contact person in UIM card in corresponding note;Described phonebook index refers to the telephone number in corresponding note and name of contact person storage position in phone directory in UIM card.
4. the method for claim 1, it is characterised in that described telephone number refers to the contact number in UIM card in corresponding note, for the note received, then represent the telephone number of sender, for the note sent He do not send, then represent the telephone number of addressee.
5. a mobile terminal, it is characterised in that described mobile terminal includes retrieving module, mapping table maintenance module, UIMI/O module and UIM module;
Retrieval module includes retrieval, searches note and telephone directory information, it is achieved note and the correlation function of telephone directory information;
Mapping table maintenance module includes being responsible for generation, updating map information, makes mapping table reflect note and the relevant information of phone directory in UIM card in real time;
UIMI/O module includes being responsible for reading and writing note and telephone directory information;
UIM module storage note and telephone directory information;
Mobile terminal identifies a note in UIM card by storage sequence number;For the UIM card that note memory capacity is N, by each storage position respectively with 1,2,3 ... N identifies;According to UIM card EFSMSTelephone directory information in the note storage condition of file and UIM card sets up the mapping table of a linearly structure;
Described mapping table is for the UIM card that note memory capacity is N, and mapping table is expressed as the two-dimensional array of N row 4 row, and array row subscript represents that storage sequence number, array row subscript represent record attribute.
6. mobile terminal as claimed in claim 5, it is characterised in that described record attribute includes note storage sequence number, telephone number, name of contact person and phonebook index.
CN201110202440.1A 2011-07-19 2011-07-19 A kind of realize phone directory and the method for note rapid matching of associated information and mobile terminal Expired - Fee Related CN102271186B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110202440.1A CN102271186B (en) 2011-07-19 2011-07-19 A kind of realize phone directory and the method for note rapid matching of associated information and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110202440.1A CN102271186B (en) 2011-07-19 2011-07-19 A kind of realize phone directory and the method for note rapid matching of associated information and mobile terminal

Publications (2)

Publication Number Publication Date
CN102271186A CN102271186A (en) 2011-12-07
CN102271186B true CN102271186B (en) 2016-08-03

Family

ID=45053344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110202440.1A Expired - Fee Related CN102271186B (en) 2011-07-19 2011-07-19 A kind of realize phone directory and the method for note rapid matching of associated information and mobile terminal

Country Status (1)

Country Link
CN (1) CN102271186B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8719280B1 (en) * 2012-10-16 2014-05-06 Google Inc. Person-based information aggregation
CN105530374A (en) * 2015-12-07 2016-04-27 深圳市万普拉斯科技有限公司 Method and device for prompting to read SIM card information
CN107729307A (en) * 2017-10-31 2018-02-23 北京无线电测量研究所 A kind of display methods and system of the configurable expanding form based on Qt

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115092A (en) * 2007-08-22 2008-01-30 深圳市中兴移动通信有限公司 CDMA wireless terminal telephone number accurate matching method
CN101515956A (en) * 2009-03-19 2009-08-26 中兴通讯股份有限公司 Method and mobile terminal for intelligently managing communication record

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674677B (en) * 2009-10-27 2013-01-16 中兴通讯股份有限公司 Method for realizing quickly loading messages during start of mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115092A (en) * 2007-08-22 2008-01-30 深圳市中兴移动通信有限公司 CDMA wireless terminal telephone number accurate matching method
CN101515956A (en) * 2009-03-19 2009-08-26 中兴通讯股份有限公司 Method and mobile terminal for intelligently managing communication record

Also Published As

Publication number Publication date
CN102271186A (en) 2011-12-07

Similar Documents

Publication Publication Date Title
CN104133822B (en) A kind of method and device that file on memorizer is scanned
CN101330657B (en) Address list system and implementing method thereof
WO2013170680A1 (en) Rapid-matching based dialing method for android system and mobile terminal thereof
US20090198691A1 (en) Device and method for providing fast phrase input
CN101692746B (en) Method and device for operating telephone directory
CN101702840A (en) Method and device for automatically processing message content
CN101986672B (en) Message processing method and device
CN102271186B (en) A kind of realize phone directory and the method for note rapid matching of associated information and mobile terminal
WO2013167062A2 (en) Address book management method and mobile terminal
CN105138649A (en) Data search method and device and terminal
CN103428341B (en) Method and device for searching for mobile phone contacts
CN103220387B (en) A kind of touch-screen mobile phone searching method and device
CN102082873A (en) Starting method, mobile terminal and user identification card
CN103346821A (en) Method for transferring address list through bluetooth
CN101175106A (en) Method for fuzz searching contact information based on terminal unit
CN101686274B (en) Contact name searching system and method
CN101014059A (en) Method for storing and extending data information of electric phone book
CN101111024A (en) Method and device for accelerating start of mobile terminal
CN102999639B (en) A kind of lookup method based on speech recognition character index and system
CN201383830Y (en) Full-screen phonebook system of cellphone
CN103108070B (en) Telephone book backup system and method thereof
CN103002140B (en) Method and device for rapidly inserting telephone number in short message service (SMS)
CN101932133B (en) Short message storage method and wireless communication terminal
CN106293530B (en) A kind of method for writing data and device
CN101437074B (en) Method and system for processing mobile phone short message arrangement

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160803

Termination date: 20210719

CF01 Termination of patent right due to non-payment of annual fee