CN101826097A - Method, system and mobile terminal for saving memory space of address book database - Google Patents
Method, system and mobile terminal for saving memory space of address book database Download PDFInfo
- Publication number
- CN101826097A CN101826097A CN201010100970A CN201010100970A CN101826097A CN 101826097 A CN101826097 A CN 101826097A CN 201010100970 A CN201010100970 A CN 201010100970A CN 201010100970 A CN201010100970 A CN 201010100970A CN 101826097 A CN101826097 A CN 101826097A
- Authority
- CN
- China
- Prior art keywords
- contact person
- person record
- field
- 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.)
- Granted
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 second memory 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 and portable terminal of saving 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 described input exists non-common field;
Have non-common field if judge, then with the contact field information stores of described input to the detailed data storehouse; Otherwise, with the contact field information stores of described input to summary database.
Another object of the present invention is to provide a kind of system that saves address list database storing space, described 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 described input exists non-common field;
Control module, if being used for judging exists non-common field, then with the contact field information stores of described input to the detailed data storehouse; Otherwise, with the contact field information stores of described input to summary database.
Another object of the present invention is to provide a kind of portable terminal that comprises the system in saving address list database storing recited above space.
In the present invention, by 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 field of the contact person in the summary database, 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 purpose of the present invention, technical scheme and beneficial effect clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.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, by 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 described summary database storing contact mainly comprises name of contact person and telephone number.
All field informations of described 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, being 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 voluntarily according to the user.
In step S102, receive the contact field information of input;
In step S103, judge whether the contact field information of described input exists non-common field;
In step S104, have non-common field if judge, then with the contact field information stores of described input to the detailed data storehouse; Otherwise, with the contact field information stores of described input to summary database.
As one embodiment of the invention, described 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, described 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 described amended contact person record in the summary database is transferred in the described detailed data storehouse, and described contact person record is deleted from described summary database.
As another embodiment of the present invention, described 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, described 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 described amended contact person record is transferred in the described summary database, and described contact person record is deleted from described 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 convenience of explanation, only shows the part relevant with the embodiment of the invention.The system in described 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 described 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 adding the contact person in address list, receiver module 104 receives the contact field information of input; First judge module 106 judges whether the contact field information of described input exists non-common field; Have non-common field if judge, then control module 108 with the contact field information stores of described input to the detailed data storehouse; Otherwise, control module 108 with the contact field information stores of described input to summary database.
As one embodiment of the present invention, the system in described saving address list database storing space also comprises: second judge module, first shift module and first removing module;
When revise contact person record in summary database after, described second judge module judges whether amended contact person record exists non-common field; Have non-common field if judge amended contact person record, then described first shift module is transferred to the described amended contact person record in the summary database in the described detailed data storehouse; And described first removing module is deleted described contact person record from described summary database.
As another preferred embodiment of the present invention, the system in described saving address list database storing space also comprises: the 3rd judge module, second shift module and second removing module;
When revise contact person record in the detailed data storehouse after, described 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 described second shift module is transferred to described amended contact person record in the described summary database; And described second removing module is deleted described contact person record from described detailed data storehouse.
In sum, the contact store of the embodiment of the invention by 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, and the present invention has adopted the mode of summary database and the combination of detailed data storehouse, 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 field of the contact person in the summary database, 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 finish by program, described program can be in being stored in a computer read/write memory medium, described storage medium is as ROM/RAM, disk, CD etc.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (10)
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 described input exists non-common field;
Have non-common field if judge, then with the contact field information stores of described input to the detailed data storehouse; Otherwise, with the contact field information stores of described input to summary database.
2. the method for claim 1 is characterized in that, the everyday character segment information of described summary database storing contact comprises name of contact person and telephone number;
All field informations of described 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, described 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 described amended contact person record in the summary database is transferred in the described detailed data storehouse, and described contact person record is deleted from described summary database.
4. the method for claim 1 is characterized in that, described 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 described amended contact person record is transferred in the described summary database, and described contact person record is deleted from described detailed data storehouse.
5. as claim 3 or 4 described methods, it is characterized in that described 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, described 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 described input exists non-common field;
Control module, if being used for judging exists non-common field, then with the contact field information stores of described input to the detailed data storehouse; Otherwise, with the contact field information stores of described input to summary database.
7. system as claimed in claim 6 is characterized in that, the system in described saving address list database storing space also comprises: second judge module, first shift module and first removing module;
Described second judge module is used for judging whether amended contact person record exists non-common field after revising contact person record at summary database;
There is non-common field in described first shift module if be used for judging amended contact person record, then the described amended contact person record in the summary database is transferred in the described detailed data storehouse;
Described first removing module is used for described contact person record is deleted from described summary database.
8. system as claimed in claim 6 is characterized in that, the system in described saving address list database storing space also comprises: the 3rd judge module, second shift module and second removing module;
Described the 3rd judge module is used for judging whether amended contact person record exists non-common field after revising contact person record in the detailed data storehouse; There is non-common field if judge amended contact person record, then finishes;
Only there is field commonly used in described second shift module if be used for judging amended contact person record, then described amended contact person record is transferred in the described summary database;
Described second removing module is used for described contact person record is deleted from described detailed data storehouse.
9. system as claimed in claim 6 is characterized in that, the everyday character segment information of described summary database storing contact comprises name of contact person and telephone number;
All field informations of described 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.
10. portable terminal that comprises the system in each described saving address list database storing space of claim 6 to 9.
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 true CN101826097A (en) | 2010-09-08 |
CN101826097B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102063467A (en) * | 2010-12-08 | 2011-05-18 | 中兴通讯股份有限公司 | Method and system for acquiring customizable parameters |
CN106020749A (en) * | 2015-03-27 | 2016-10-12 | 松下电器(美国)知识产权公司 | Display control method, display control apparatus and display apparatus |
CN111752941A (en) * | 2019-07-31 | 2020-10-09 | 北京京东尚科信息技术有限公司 | Data storage method, data access method, data storage device, data access device, server and storage medium |
-
2010
- 2010-01-22 CN CN2010101009700A patent/CN101826097B/en active Active
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102063467A (en) * | 2010-12-08 | 2011-05-18 | 中兴通讯股份有限公司 | Method and system for acquiring customizable parameters |
CN106020749A (en) * | 2015-03-27 | 2016-10-12 | 松下电器(美国)知识产权公司 | Display control method, display control apparatus and display apparatus |
CN106020749B (en) * | 2015-03-27 | 2020-11-03 | 松下电器(美国)知识产权公司 | Display control method, display control device, and display device |
CN111752941A (en) * | 2019-07-31 | 2020-10-09 | 北京京东尚科信息技术有限公司 | Data storage method, data access method, data storage device, data access device, server and storage medium |
CN111752941B (en) * | 2019-07-31 | 2024-05-17 | 北京京东尚科信息技术有限公司 | Data storage and access method and device, server and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN101826097B (en) | 2012-03-28 |
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 | |
CN103067557A (en) | Method, device and mobile terminal for showing information | |
CN103152707A (en) | Mobile phone and method for processing short message of mobile phone | |
CN101924820A (en) | A kind of method for downloading software, system and portable terminal | |
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 | |
CN103473232A (en) | Self-management device and self-management method of application programs | |
CN101764889A (en) | Processing method of contact information in electronic device and electronic devices | |
CN104391846B (en) | Social application public's account searching method and system | |
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 | |
CN102970401A (en) | Method and device for recoding contact information | |
CN101924832A (en) | Method and system for promoting contact information | |
CN102546961A (en) | Contact lookup method and mobile terminal | |
CN101207872B (en) | Method and system for storing mobile telephone book | |
CN101853266A (en) | Method and device for quickly searching mobile terminal and webpage thereof | |
RU2416173C2 (en) | Method of creating functional information list in mobile terminal with two working and two standby modes | |
CN101710920A (en) | Message management method and message management system of mobile communication terminal | |
CN100455081C (en) | Method for recording information in extending user card | |
CN101753696A (en) | Telephone book generating method and system and mobile terminal |
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 |