CN101826097B - Method and system for saving memory space of address book database - Google Patents
Method and system for saving memory space of address book database Download PDFInfo
- Publication number
- CN101826097B CN101826097B CN2010101009700A CN201010100970A CN101826097B CN 101826097 B CN101826097 B CN 101826097B CN 2010101009700 A CN2010101009700 A CN 2010101009700A CN 201010100970 A CN201010100970 A CN 201010100970A CN 101826097 B CN101826097 B CN 101826097B
- Authority
- CN
- China
- Prior art keywords
- contact person
- field
- person record
- contact
- detailed data
- 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.)
- Active
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a method, a system and a mobile terminal for saving the memory space of an address book database. The method comprises the following steps that: two database memory areas are applied for an address book, wherein a first memory area is used for storing a simple database, the simple database is used for storing the commonly used field information of a contact person, a secondmemory area is used for storing detail database, and the detail database is used for storing all the field information of the contact person; input contact person field information is received; whether the input contact person field information containing non-commonly used fields or not is judged; if the input contact person field information contains non-commonly used fields, the input contact person field information is stored in the detail database; and if not, the input contact person field information is stored in the simple database. The invention has the advantages that the memory efficiency is greatly improved; and since the fields of the contact person stored in the simple database are less, the searching efficiency is greatly improved.
Description
Technical field
The invention belongs to field of mobile terminals, relate in particular to a kind of method, system that saves address list database storing space.
Background technology
The situation of prior art: no matter how many bar records address list the inside has, the space that every record expends is equally big, has therefore wasted a lot of storage spaces.Every contact person record in the general address list all includes elementary item and extender, and elementary item has generally comprised association attributes items such as name, another name, mobile phone, Work Telephone, home phone number, Email, fax; Extender has generally comprised association attributes items such as voice incoming ring tone, mailing address, head portrait, and therefore, when every contact person record all included above-mentioned attribute item, the storage space that takies the address list database so was very large.In addition, because every contact person record all fills in full content, therefore just seem on contact person's the velocity efficiency and search the low problem of speed searching.
Summary of the invention
The object of the present invention is to provide a kind of method of saving address list database storing space, be intended to solve the contact person record that exists in the prior art and take the bigger problem in address list database storing space.
The present invention is achieved in that a kind of method of saving address list database storing space, said method comprising the steps of:
Be two database storage areas of address list application, the first storage area stores summary database, the everyday character segment information of summary database storing contact, the second storage area stores detailed data storehouse, all field informations of detailed data library storage contact person;
Receive the contact field information of input;
Whether the contact field information of judging said input exists non-common field;
Have non-common field if judge, then with the contact field information stores of said input to the detailed data storehouse; Otherwise, with the contact field information stores of said input to summary database.
Another object of the present invention is to provide a kind of system that saves address list database storing space, said system comprises:
Memory block application module; Be used to two database storage areas of address list application, the first storage area stores summary database, the everyday character segment information of summary database storing contact; The second storage area stores detailed data storehouse, all field informations of detailed data library storage contact person.
Receiver module is used to receive the contact field information of input;
First judge module is used to judge whether the contact field information of said input exists non-common field;
Control module, if being used for judging exists non-common field, then with the contact field information stores of said input to the detailed data storehouse; Otherwise, with the contact field information stores of said input to summary database.
In the present invention, through design two databases for address list, one is summary database, the field commonly used of this summary database storing contact; One is the detailed data storehouse, all fields of this detailed data library storage contact person, thus storage efficiency is improved greatly; And because it is few to be kept at the contact person's in the summary database field, so search efficiency improves greatly, made things convenient for portable terminal manufacturer, and made things convenient for mobile phone users.
Description of drawings
Fig. 1 is the realization flow synoptic diagram of the method in the saving address list database storing space that provides of the embodiment of the invention.
Fig. 2 is the structural representation of the system in the saving address list database storing space that provides of the embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and beneficial effect clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention, through design two databases for address list, one is summary database, the field commonly used of this summary database storing contact; One is the detailed data storehouse, and all fields of this detailed data library storage contact person take the bigger problem in address list database storing space thereby solved the contact person record that exists in the prior art.
See also Fig. 1, the realization flow of the method in the saving address list database storing space that provides for the embodiment of the invention, it may further comprise the steps:
In step S101; Be two database storage areas of address list application, the first storage area stores summary database, the everyday character segment information of summary database storing contact; The second storage area stores detailed data storehouse, all field informations of detailed data library storage contact person;
In embodiments of the present invention, the everyday character segment information of said summary database storing contact mainly comprises name of contact person and telephone number.
All field informations of said detailed data library storage contact person for example comprise: elementary item and extender, elementary item have generally comprised association attributes items such as name, another name, mobile phone, Work Telephone, home phone number, Email, fax; Extender has generally comprised association attributes items such as voice incoming ring tone, mailing address, head portrait.
Yet, it is understandable that the contact person's who stores in summary database and the detailed data storehouse field information is not limited to the above-mentioned dividing mode of mentioning, it can define according to the user voluntarily.
In step S102, receive the contact field information of input;
In step S103, judge whether the contact field information of said input exists non-common field;
In step S104, have non-common field if judge, then with the contact field information stores of said input to the detailed data storehouse; Otherwise, with the contact field information stores of said input to summary database.
As one embodiment of the invention, said method is further comprising the steps of:
In step S201, after in summary database, revising contact person record, judge whether amended contact person record exists non-common field;
In embodiments of the present invention, said modification contact person record mainly comprises: some field in some field in the deletion contact person record and/or the increase contact person record.
In step S202; There is non-common field if judge amended contact person record; Then the said amended contact person record in the summary database is transferred in the said detailed data storehouse, and said contact person record is deleted from said summary database.
As another embodiment of the present invention, said method is further comprising the steps of:
In step S301, after in the detailed data storehouse, revising contact person record, judge whether amended contact person record exists non-common field;
In embodiments of the present invention, said modification contact person record mainly comprises: some field in some field in the deletion contact person record and/or the increase contact person record.
In step S302, there is non-common field if judge amended contact person record, then finish;
In step S303, only there is field commonly used if judge amended contact person record, then said amended contact person record is transferred in the said summary database, and said contact person record is deleted from said detailed data storehouse.
See also Fig. 2, the system in the saving address list database storing space that provides for the embodiment of the invention for the ease of explanation, only shows the part relevant with the embodiment of the invention.The system in said saving address list database storing space comprises: memory block application module 102, receiver module 104, first judge module 106 and control module 108.The system in said saving address list database storing space can be the unit that is built in software unit, hardware cell or software and hardware combining in the portable terminal.
Memory block application module 102 is used to two database storage areas of address list application; The first storage area stores summary database; The everyday character segment information of summary database storing contact, the second storage area stores detailed data storehouse, all field informations of detailed data library storage contact person.
When in address list, adding the contact person, receiver module 104 receives the contact field information of input; First judge module 106 judges whether the contact field information of said input exists non-common field; Have non-common field if judge, then control module 108 with the contact field information stores of said input to the detailed data storehouse; Otherwise, control module 108 with the contact field information stores of said input to summary database.
As one embodiment of the present invention, the system in said saving address list database storing space also comprises: second judge module, first shift module and first removing module;
After in summary database, revising contact person record, said second judge module judges whether amended contact person record exists non-common field; Have non-common field if judge amended contact person record, then said first shift module is transferred to the said amended contact person record in the summary database in the said detailed data storehouse; And said first removing module is deleted said contact person record from said summary database.
As another preferred embodiment of the present invention, the system in said saving address list database storing space also comprises: the 3rd judge module, second shift module and second removing module;
After in the detailed data storehouse, revising contact person record, said the 3rd judge module judges whether amended contact person record exists non-common field; There is non-common field if judge amended contact person record, then finishes; Only have field commonly used if judge amended contact person record, then said second shift module is transferred to said amended contact person record in the said summary database; And said second removing module is deleted said contact person record from said detailed data storehouse.
In sum, the contact store of the embodiment of the invention through will including only field commonly used is in summary database; The contact store that will comprise all fields in the detailed data storehouse, thereby reach the storage space of saving the address list database.
Current portable terminal more and more trends towards mass memory; Portable terminal with ten thousand artificial units of contact is not within minority, the mode that the present invention has adopted summary database and detailed data storehouse to combine, and general user's contact person only can preserve general information; Therefore, storage efficiency improves greatly; And because it is few to be kept at the contact person's in the summary database field, so search efficiency improves greatly, made things convenient for portable terminal manufacturer, and made things convenient for mobile phone users.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to accomplish through program; Described program can be in being stored in a computer read/write memory medium; Described storage medium is like ROM/RAM, disk, CD etc.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (9)
1. a method of saving address list database storing space is characterized in that, said method comprising the steps of:
Be two database storage areas of address list application, the first storage area stores summary database, the everyday character segment information of summary database storing contact, the second storage area stores detailed data storehouse, all field informations of detailed data library storage contact person;
Receive the contact field information of input;
Whether the contact field information of judging said input exists non-common field;
Have non-common field if judge, then with the contact field information stores of said input to the detailed data storehouse; Otherwise, with the contact field information stores of said input to summary database.
2. the method for claim 1 is characterized in that, the everyday character segment information of said summary database storing contact comprises name of contact person and telephone number;
All field informations of said detailed data library storage contact person comprise: elementary item and extender; Elementary item includes name, another name, mobile phone, Work Telephone, home phone number, Email, fax association attributes item; Extender includes voice incoming ring tone, mailing address, head portrait association attributes item.
3. the method for claim 1 is characterized in that, said method is further comprising the steps of:
After in summary database, revising contact person record, judge whether amended contact person record exists non-common field;
There is non-common field if judge amended contact person record, then the said amended contact person record in the summary database is transferred in the said detailed data storehouse, and said contact person record is deleted from said summary database.
4. the method for claim 1 is characterized in that, said method is further comprising the steps of:
After in the detailed data storehouse, revising contact person record, judge whether amended contact person record exists non-common field;
There is non-common field if judge amended contact person record, then finishes;
Only there is field commonly used if judge amended contact person record, then said amended contact person record is transferred in the said summary database, and said contact person record is deleted from said detailed data storehouse.
5. like claim 3 or 4 described methods, it is characterized in that said modification contact person record comprises: some field in some field in the deletion contact person record and/or the increase contact person record.
6. a system that saves address list database storing space is characterized in that, said system comprises:
Memory block application module; Be used to two database storage areas of address list application, the first storage area stores summary database, the everyday character segment information of summary database storing contact; The second storage area stores detailed data storehouse, all field informations of detailed data library storage contact person.
Receiver module is used to receive the contact field information of input;
First judge module is used to judge whether the contact field information of said input exists non-common field;
Control module, if being used for judging exists non-common field, then with the contact field information stores of said input to the detailed data storehouse; Otherwise, with the contact field information stores of said input to summary database.
7. system as claimed in claim 6 is characterized in that, the system in said saving address list database storing space also comprises: second judge module, first shift module and first removing module;
Said second judge module is used for after revising contact person record at summary database, judging whether amended contact person record exists non-common field;
There is non-common field in said first shift module if be used for judging amended contact person record, then the said amended contact person record in the summary database is transferred in the said detailed data storehouse;
Said first removing module is used for said contact person record is deleted from said summary database.
8. system as claimed in claim 6 is characterized in that, the system in said saving address list database storing space also comprises: the 3rd judge module, second shift module and second removing module;
Said the 3rd judge module is used for after revising contact person record in the detailed data storehouse, judging whether amended contact person record exists non-common field; There is non-common field if judge amended contact person record, then finishes;
Only there is field commonly used in said second shift module if be used for judging amended contact person record, then said amended contact person record is transferred in the said summary database;
Said second removing module is used for said contact person record is deleted from said detailed data storehouse.
9. system as claimed in claim 6 is characterized in that, the everyday character segment information of said summary database storing contact comprises name of contact person and telephone number;
All field informations of said detailed data library storage contact person comprise: elementary item and extender; Elementary item includes name, another name, mobile phone, Work Telephone, home phone number, Email, fax association attributes item; Extender includes voice incoming ring tone, mailing address, head portrait association attributes item.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101009700A CN101826097B (en) | 2010-01-22 | 2010-01-22 | Method and system for saving memory space of address book database |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101009700A CN101826097B (en) | 2010-01-22 | 2010-01-22 | Method and system for saving memory space of address book database |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101826097A CN101826097A (en) | 2010-09-08 |
CN101826097B true CN101826097B (en) | 2012-03-28 |
Family
ID=42690015
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101009700A Active CN101826097B (en) | 2010-01-22 | 2010-01-22 | Method and system for saving memory space of address book database |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101826097B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102063467B (en) * | 2010-12-08 | 2014-08-20 | 中兴通讯股份有限公司 | Method and system for acquiring customizable parameters |
US10395553B2 (en) * | 2015-03-27 | 2019-08-27 | Panasonic Intellectual Property Corporation Of America | Method, recording medium, and apparatus for controlling image displayed on display |
CN111752941B (en) * | 2019-07-31 | 2024-05-17 | 北京京东尚科信息技术有限公司 | Data storage and access method and device, server and storage medium |
-
2010
- 2010-01-22 CN CN2010101009700A patent/CN101826097B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN101826097A (en) | 2010-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101853120A (en) | Method and system for presenting control menu of application program and mobile terminal | |
CN101951424A (en) | Contact information prompt method, system and mobile terminal | |
CN103200293A (en) | Method of automatically combining tautonomy contacts in process of guiding contacts into contact list | |
CN107798143A (en) | A kind of information search method, device, terminal and readable storage medium storing program for executing | |
CN101924820A (en) | A kind of method for downloading software, system and portable terminal | |
CN103067557A (en) | Method, device and mobile terminal for showing information | |
CN103152707A (en) | Mobile phone and method for processing short message of mobile phone | |
CN101389103A (en) | Method applied on multimedia notepad in mobile phone | |
CN103167171B (en) | Selection method and mobile terminal of contact mode | |
CN102932521A (en) | Method and terminal for displaying interaction records of contacts in mobile equipment | |
JP2002251305A (en) | Method for using memory area in terminal | |
CN102143264A (en) | Method for storing memo in call and mobile terminal | |
CN106201218A (en) | Method and device for clearing picture files in chat records and mobile device | |
CN101764889A (en) | Processing method of contact information in electronic device and electronic devices | |
CN101702740A (en) | Contact person searching method, contact person searching system and mobile communication terminal | |
CN101826097B (en) | Method and system for saving memory space of address book database | |
CN101212739A (en) | Information processing device for mobile communication terminal | |
WO2012155481A1 (en) | Method and terminal for dealing with telephone directory | |
CN101309485A (en) | Information displaying method and apparatus | |
CN102054027A (en) | Storing and searching method of mobile terminal file, system and mobile terminal | |
CN102970401A (en) | Method and device for recoding contact information | |
CN103327152A (en) | Method and device for displaying contact person coordinating function items and mobile terminal | |
CN102546961A (en) | Contact lookup method and mobile terminal | |
CN101853266A (en) | Method and device for quickly searching mobile terminal and webpage thereof | |
CN101795319A (en) | Method and device for editing address list |
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 |