[go: up one dir, main page]

CN101409739B - Optimized method for accessing mobile phone notebook data - Google Patents

Optimized method for accessing mobile phone notebook data Download PDF

Info

Publication number
CN101409739B
CN101409739B CN200710164040XA CN200710164040A CN101409739B CN 101409739 B CN101409739 B CN 101409739B CN 200710164040X A CN200710164040X A CN 200710164040XA CN 200710164040 A CN200710164040 A CN 200710164040A CN 101409739 B CN101409739 B CN 101409739B
Authority
CN
China
Prior art keywords
data
structure array
access structure
numbering
phone directory
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
CN200710164040XA
Other languages
Chinese (zh)
Other versions
CN101409739A (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 CN200710164040XA priority Critical patent/CN101409739B/en
Priority to PCT/CN2007/003500 priority patent/WO2009046588A1/en
Publication of CN101409739A publication Critical patent/CN101409739A/en
Application granted granted Critical
Publication of CN101409739B publication Critical patent/CN101409739B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides an optimized phonebook data access method of a mobile phone, comprising the following steps: (a) data units are defined, each data unit has fixed size and is corresponding to a number, and phonebook data is stored in the data units; (b) when in access of the phonebook data, an access structure array is established, the screening of the data units is carried out according to the screening conditions, the numbers of the selected data units are saved in the access structure array, that is, the data of the access structure array is the numbers of the data units; and (c) the phonebook data of the data units which are corresponding to the numbers that meet the display conditions in the access structure array is loaded in a memory for display. Compared with the prior art, as the method adopts the technical measures of the structured storage data units plus the construction of a data unit cheat sheet, the high-speed, convenient and effective phonebook access under the environment of no larger storage space or memory can be realized.

Description

A kind of method for accessing mobile phone notebook data of optimization
Technical field
The present invention relates to improve the method for phone directory data access speed on mobile phone.
Background technology
Phone directory is one of basic application of mobile phone, and the data volume of cellphone directory application at present is increasing, and canned data is also more and more.The speed issue of phone directory also more and more as an important indicator of mobile phone ease for use, is directly connected to cellphone subscriber's experience.
The phone directory of mobile phone is when data volume is very large at present, and access speed is not very desirable.In order to improve the access speed of phone directory, just need take very big internal memory, because the memory source of cell phone system is limited, so the method effect is not fine.So a kind of method easily and effectively need be provided, improve the data access speed of cellphone directory, and require system resource is spent will try one's best little.
Usually the method that adopts has " data database storage solution " and " data all are placed on the memory field scheme " at present.On low-end mobile phone, as storage, system CPU and RAM are required all than higher with database; If adopt " data all are placed on the memory field scheme ", because the phone directory data of mobile phone are very many at present, so this scheme is very big to the request memory of cell phone system.
In sum, the shortcoming of prior art mainly contains two: the one, and very high to the CPU requirement, do not possess versatility; The 2nd, need big memory headroom.Therefore need improve prior art, improve the access speed of mobile phone notebook data.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of method that improves the mobile phone notebook data access speed, solves existing method for accessing mobile phone notebook data CPU is required height, takies the shortcoming of a large amount of internal memories.
In order to solve the problems of the technologies described above, the invention provides a kind of method for accessing mobile phone notebook data of optimization, comprise following steps:
(a) definition of data unit, each data unit size is fixed, corresponding numbering, with the phone directory storage in described data cell;
(b) when visit phone directory data, set up the access structure array, according to screening conditions the data unit is screened, deposit the numbering of the data cell chosen in described access structure array, the data of promptly described access structure array are the numbering of data cell;
(c) the phone directory data load of data cell that satisfies the numbering correspondence of display condition in the described access structure array is gone in the internal memory, show.
Further, said method also can have following characteristics, and described data cell comprises whole field informations of phone directory data, and the size of each field is fixed.
Further, said method also can have following characteristics, and in the described step (b), described screening conditions are phone directory querying condition or sort criteria.
Further, said method also can have following characteristics, in the described step (b), when the data unit is screened, screens according to the phone directory data of numbering reading of data unit storage.
Further, said method also can have following characteristics, load or when reading described data cell according to described numbering, add that from the data first address position of the product of data unit size and data cell numbering reads the phone directory data of described data cell, wherein the data first address is meant the first address of storing call notebook data.
Further, said method also can have following characteristics, and the position indicator pointer of described access structure array points to the current numbering that satisfies first data cell of display condition.
Further, said method also can have following characteristics, the phone directory data of the data cell that the N continuous of described screen display from the access structure array that described position indicator pointer begins data numbering is corresponding, N is screen maximum data unit number that can show or the data cell number of specifying screen display for the user.
Further, said method also can have following characteristics, when screening conditions are constant, if the data of screen display change, the data that do not have in the updating memory, with the number order of the data based phone directory data cell access structure array in the internal memory, carry out corresponding mobile simultaneously, rearrange the data in the internal memory.
Further, said method also can have following characteristics, when described screening conditions change, re-executes step (b), sets up new access structure array.
Adopt the method for the invention, compare with method with prior art, owing to taked the technical measures of " structured storage data cell+structure data cell zoom table ", make and under having or not, all realized high speed, phone directory access speed easily and effectively, greatly improved the user experience that cellphone directory is used than big memory space and memory environment.Described method has applied widely, low in resources consumption and practical characteristics.Whole process realizability is strong, is suitable for most cellphone directories and uses, and is fit to very much promote.
Description of drawings
Fig. 1 is a phone directory data cell structured storage schematic diagram;
Fig. 2 is a phone directory data cell access structure array schematic diagram;
Fig. 3 is a phone directory data access process schematic diagram.
Embodiment
Be described in further detail below in conjunction with the enforcement of accompanying drawing technical solution of the present invention.
Figure 1 shows that phone directory data cell structured storage schematic diagram of the present invention.This storage mode is a kind of storage mode that designs in order to guarantee data to be loaded into internal memory fast.Whole phone directory data cell storages hereof.
Each phone directory data unit size is fixed, and comprises whole field informations of phone directory recording.These field informations are stored according to order; The data of each record are stored (being set at the N byte as name field) according to the fixed data field size; The file layout of data cell is consistent with its space layout situation in internal memory.
Figure 2 shows that phone directory data cell access structure array concerns schematic diagram.
On mobile phone screen, data presented unit number is limited, with all numberings of phone directory data cell that satisfy display condition with storage of array, because data unit size fixes, so can obtain the full detail of this data cell according to element number.
First data cell of handset displays screen is corresponding with the current data cell position of data cell access structure array, promptly corresponding with the data cell of data cell access structure array position pointed, the back is the 2nd behind the position indicator pointer in the array, the 3rd successively ....If screen scroll or data variation, position indicator pointer also just moves to correspondence position so.
Figure 3 shows that phone directory data access process.
The first step: the memory headroom that distributes the screen display record.If screen need show N data unit, need to distribute " N so *Data unit size " memory headroom.This memory headroom size is fixing, can use repeatedly, is used for loading the phone directory data in the current screen that satisfies display condition.
Also can distribute during storage allocation according to user's needs.For example the user sometimes needs to show 5 numbers, sometimes wants to show 2 numbers, and can change the size of memory headroom this moment.
Second step: phone book applications is according to screening conditions, as querying condition or the sort criteria that is provided with, data presented successively selected.Can display condition (promptly satisfying above-mentioned screening conditions) if n data unit satisfies, the numbering with n data unit is placed in the phone directory data cell access structure array so, otherwise abandons.In the data screening process, because data cell stores according to fixed size, so only need be according to the corresponding data (Data Position+data unit size of screening conditions reading of data unit *The data cell numbering, Data Position is meant the first address of storing call notebook data in RAM), check whether satisfy condition, saved the time and the internal memory that load total data.
The 3rd step: the data of the data number correspondence in the phone directory data cell access structure array are loaded in the internal memory.From pointer position, the data cell of the top n data number correspondence of phone directory data cell access structure array is read in the internal memory that the first step distributes, wherein N represents that screen can show N data unit, perhaps represents customer requirements data presented unit number on screen.
The 4th step: data are presented on the mobile phone screen.
The 5th step: when the certificate of showing when the screen digital display changes (screen scroll or drag scroll bar), repeated for the 3rd step.
This step can be loaded into row optimization to data, if the data of screen display change, it is repetitions that but partial data and current screen data are arranged, so only need the data that do not have in the updating memory, simultaneously with the number order of the data based phone directory data cell access structure array in the internal memory, carry out suitable moving, rearrange.Because the size of each data cell is fixed, after number order changes, can calculate the reposition of data cell in internal memory according to numbering, mobil data unit is to new position in internal memory.
The 6th step: if the phone directory screening conditions as application query condition or sort criteria, change, repeated for second step, set up new access structure array.

Claims (9)

1. the method for accessing mobile phone notebook data of an optimization comprises following steps:
(a) definition of data unit, each data unit size is fixed, corresponding numbering, with the phone directory storage in described data cell;
(b) when visit phone directory data, set up the access structure array, according to screening conditions the data unit is screened, deposit the numbering of the data cell chosen in described access structure array, the data of promptly described access structure array are the numbering of data cell;
(c) the phone directory data load of data cell that satisfies the numbering correspondence of display condition in the described access structure array is gone in the internal memory, show.
2. the method for claim 1 is characterized in that, described data cell comprises whole field informations of phone directory data, and the size of each field is fixed.
3. method as claimed in claim 1 or 2 is characterized in that, in the described step (b), described screening conditions are phone directory querying condition or sort criteria.
4. the method for claim 1 is characterized in that, in the described step (b), when the data unit is screened, screens according to the phone directory data of numbering reading of data unit storage.
5. as claim 1 or 2 or 4 described methods, it is characterized in that, load or when reading described data cell according to described numbering, add that from the data first address position of the product of data unit size and data cell numbering reads the phone directory data of described data cell, wherein the data first address is meant the first address of storing call notebook data.
6. the method for claim 1 is characterized in that, the position indicator pointer of described access structure array points to the current numbering that satisfies first data cell of display condition.
7. as claim 1 or 6 described methods, it is characterized in that, the phone directory data of the data cell that the N continuous of screen display from the access structure array that position indicator pointer begins data numbering is corresponding, N is screen maximum data unit number that can show or the data cell number of specifying screen display for the user.
8. the method for claim 1, it is characterized in that, when screening conditions are constant, if the data of screen display change, the data that do not have in the updating memory, with the number order of the data based phone directory data cell access structure array in the internal memory, carry out corresponding mobile simultaneously, rearrange the data in the internal memory.
9. method as claimed in claim 1 or 2 is characterized in that, when described screening conditions change, re-executes step (b), sets up new access structure array.
CN200710164040XA 2007-10-12 2007-10-12 Optimized method for accessing mobile phone notebook data Expired - Fee Related CN101409739B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200710164040XA CN101409739B (en) 2007-10-12 2007-10-12 Optimized method for accessing mobile phone notebook data
PCT/CN2007/003500 WO2009046588A1 (en) 2007-10-12 2007-12-10 Terminal and optimized method for accessing telephone book data in terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710164040XA CN101409739B (en) 2007-10-12 2007-10-12 Optimized method for accessing mobile phone notebook data

Publications (2)

Publication Number Publication Date
CN101409739A CN101409739A (en) 2009-04-15
CN101409739B true CN101409739B (en) 2011-04-20

Family

ID=40548937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710164040XA Expired - Fee Related CN101409739B (en) 2007-10-12 2007-10-12 Optimized method for accessing mobile phone notebook data

Country Status (2)

Country Link
CN (1) CN101409739B (en)
WO (1) WO2009046588A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI450187B (en) * 2012-05-08 2014-08-21 Acer Inc Data storage method

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678877B (en) * 2017-10-09 2020-12-22 深圳市沃特沃德股份有限公司 Operation response method and device
DE102020111213A1 (en) 2019-05-10 2020-11-12 Heidelberger Druckmaschinen Aktiengesellschaft Method for operating a printing machine with a computer
CN112416932A (en) * 2020-11-18 2021-02-26 青岛海尔科技有限公司 Method and device for establishing field association

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1361971A (en) * 1999-06-23 2002-07-31 西门子公司 Extended telephone directory for a mobile telephone
CN101022614A (en) * 2006-12-28 2007-08-22 周玮玮 Method for realizing communication terminal self-distribution number function

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100565281B1 (en) * 2003-08-02 2006-03-30 엘지전자 주식회사 How to manage phone number groups on your mobile device
CN1564569A (en) * 2004-04-09 2005-01-12 深圳市网立信信息技术有限公司 Serching method of telephone number and its serching engine
CN1758680A (en) * 2005-10-31 2006-04-12 上海贝豪通讯电子有限公司 Method for permutation and displaying number of mobile communication terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1361971A (en) * 1999-06-23 2002-07-31 西门子公司 Extended telephone directory for a mobile telephone
CN101022614A (en) * 2006-12-28 2007-08-22 周玮玮 Method for realizing communication terminal self-distribution number function

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2004-157789A 2004.06.03

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI450187B (en) * 2012-05-08 2014-08-21 Acer Inc Data storage method

Also Published As

Publication number Publication date
WO2009046588A1 (en) 2009-04-16
CN101409739A (en) 2009-04-15

Similar Documents

Publication Publication Date Title
CN100530142C (en) Method and system for automatically distributing real memory between virtual memory page sizes
CN103473239B (en) A kind of data of non relational database update method and device
CN101409739B (en) Optimized method for accessing mobile phone notebook data
CN101330657B (en) Address book system and implementation method thereof
CN103488777A (en) Method and system for adjusting webpage display effect
CN108200196B (en) Data storage and query method and system based on distributed architecture
CN102043721A (en) Memory management method for flash memory
KR100993197B1 (en) Method and apparatus for configuring menu for mobile terminal
EP3964973A1 (en) File loading method and apparatus, electronic device, and storage medium
CN100534112C (en) The method of the cooperative use of the data structure of the phone directory in the large-capacity SIM card
CN101437073A (en) System and method for reading mobile phone telephone book
AU2014267783A1 (en) Storage processing method, device and terminal
CN105573782A (en) Software pre-loading method for transparent wearable intelligent device
CN102290033B (en) Method and device for refreshing image
CN105389216A (en) Clipboard data caching method and apparatus and electronic device
CN1205606A (en) Portable cellular phone
CN103309896B (en) Web browser method, device and terminal
CN1758680A (en) Method for permutation and displaying number of mobile communication terminal
EP1069749B1 (en) A method for managing information stored in phone systems
CN106951531A (en) Data query method and device
CN102546961A (en) Contact lookup method and mobile terminal
CN103369512A (en) Phone book management method
CN101826097B (en) Method and system for saving memory space of address book database
US20090313583A1 (en) System and method for associating functions of an electronic device
CN1418032A (en) Dynamic distribution method of memory space in subscirber identifying module

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: 20110420

Termination date: 20201012

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