CN102495809A - Terminal and data obtaining method - Google Patents
Terminal and data obtaining method Download PDFInfo
- Publication number
- CN102495809A CN102495809A CN2011103978648A CN201110397864A CN102495809A CN 102495809 A CN102495809 A CN 102495809A CN 2011103978648 A CN2011103978648 A CN 2011103978648A CN 201110397864 A CN201110397864 A CN 201110397864A CN 102495809 A CN102495809 A CN 102495809A
- Authority
- CN
- China
- Prior art keywords
- data
- time
- memory storage
- memory
- buffer memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a terminal and a data obtaining method. The terminal comprises a cache, a comparison control module and a data obtaining module, wherein the cache is used for storing data in a storing device; the comparison control module is used for obtaining the updating time of the recorded data which is pre-stored in the cache in need of obtaining the data in the storing device, and comparing the updating time with the updating time of the data in the storing device; and the data obtaining module is used for obtaining the data from the cache when comparison results are the same, and is used for obtaining the data from the storing device when the comparison results are different. According to the technical scheme, most of the time, the terminal can read the data from the cache under the condition that the data in need of being obtained is not changed frequently, so that the efficiency of reading the data can be greatly improved.
Description
Technical field
The present invention relates to moving communicating field, in particular to a kind of terminal and a kind of data capture method.
Background technology
At present, be stored in card contact person in the mobile phone card (referring to the contact data on the mobile phone cards such as the SIM that is stored in the terminal, UIM) reading and writing data and get up very slowly, the time for reading that needs such as 200 contact data that are stored in SIM probably is 4~5 minutes.
Solution of the above problems is now, offers the function of user this machine contact person (referring to the contact data that the user is kept at this machine of portable terminal) of this machine of portable terminal storage, to accelerate the speed that the contact person reads.
But the defective of existing solution is:
Do not consider that the user uses the situation of two portable terminals at work with in the life simultaneously, the user often need be put into same Zhang Shouji card on the different mobile terminals and use in this case.
If contact data saves as local contact person, when that changed to the mobile phone card on the another one terminal, contact data just can not find.So the user is under normal conditions, still on SIM, save as the card contact person to contact data, use on different terminals with convenient.
Adopt this method, when the user started shooting at every turn, the time that imports the card contact person was long, all wanted usually more than a few minutes, and the user can't find specific contact person or initiate conversation during this period of time, brings great inconvenience for user job and life.
Therefore; A kind of new scheme that portable terminal obtains data that is used for of demand is used to obtain the several data that comprises the contact person, needs can guarantee to obtain at high speed data; Be not subject to the reading speed of storage card or other memory devices, promote user's experience.
Summary of the invention
The technical issues that need to address of the present invention are; A kind of new scheme that portable terminal obtains data that is used for is provided; Be used to obtain the several data that comprises the contact person; Need to guarantee to obtain at high speed data transfer rate, be not subject to the reading rate of storage card or other memory devices, promote user's experience.
In view of this, the present invention provides a kind of terminal, comprising: buffer memory is used for the data of memory storage are preserved; Relatively control module in the time of need obtaining the data in the said memory storage, is obtained the said updating data time in the said buffer memory that is kept in advance of having write down, and compares with said updating data time in the said memory storage; Data acquisition module when being identical, obtains said data at comparative result from said buffer memory, for not simultaneously, from said memory storage, obtain said data at comparative result.Through this technical scheme, do not produce under the situation of frequent change in the required data of obtaining, the terminal can be most of the time, from buffer memory, read to get final product, and can greatly improve the efficient that data are obtained.Can be presented as the form of timestamp update time.
In technique scheme, preferably, when said data acquisition module is not preserved said data in said buffer memory, directly from said memory storage, obtain said data.Through this technical scheme, guarantee in buffer memory, not preserve in the time of need obtaining data as yet, also can obtain data smoothly.
In technique scheme; Preferably; Also comprise: caching management module, when from said memory storage, obtaining said data, and/or when arriving the preset time or the time interval; Said data in the said memory storage are saved in the said buffer memory, and with the said updating data time in the said memory storage as the line item of going forward side by side of the said updating data time in the said buffer memory.Through this technical scheme, guarantee the data that need obtain are updated in the buffer memory, so that improve the efficient of obtaining data.
In technique scheme, preferably, also comprise: the condition setting module is provided with condition; The start-up control module judges whether said data satisfy said condition, and only in judged result when being, start said relatively control module and said data acquisition module.Through this technical scheme, can start the scheme of obtaining from buffer memory to qualified data, can avoid taking buffer memory in a large number, be beneficial to the saving resource, this condition can be used to limit type of data or size etc., for example can only be directed against the contact data setting.
In technique scheme, preferably, said memory storage comprises the storage card and/or the External memory equipment at said terminal, and said storage card comprises SIM, UIM card and SD card.Through this technical scheme, can realize efficiently obtaining to the data in the multiple memory storage.
The present invention also provides a kind of data capture method, comprising: step 202, in the time of need obtaining the data in the memory storage, obtain the said updating data time in the buffer memory that is kept at said terminal in advance that has write down; Step 204; Said updating data time in the said buffer memory and the said updating data time in the said memory storage are compared, when being identical, from said buffer memory, obtain said data at comparative result; For not simultaneously, from said memory storage, obtain said data at comparative result.Through this technical scheme, do not produce under the situation of frequent change in the required data of obtaining, the terminal can be most of the time, from buffer memory, obtain to get final product, and can greatly improve the efficient that data are obtained.Can be presented as the form of timestamp update time.
In technique scheme, preferably, said step 204 also comprises: when in said buffer memory, not preserving said data, directly from said memory storage, obtain said data.Through this technical scheme, guarantee in buffer memory, not preserve in the time of need obtaining data as yet, also can obtain data smoothly.
In technique scheme; Preferably; Also comprise: when from said memory storage, obtaining said data; And/or when arriving the preset time or the time interval, the said data in the said memory storage are saved in the said buffer memory, and with the said updating data time in the said memory storage as the line item of going forward side by side of the said updating data time in the said buffer memory.Through this technical scheme, guarantee the data that need obtain are updated in the buffer memory, so that improve the efficient of obtaining data.
In technique scheme, preferably, also comprise before the said step 202: condition is set, and judges whether said data satisfy said condition, and only in judged result when being, get into said step 202.Through this technical scheme, can start the scheme of obtaining from buffer memory to qualified data, can avoid taking buffer memory in a large number, be beneficial to the saving resource, this condition can be used to limit type of data or size etc., for example can only be directed against the contact data setting.
In technique scheme, preferably, said memory storage comprises the storage card and/or the External memory equipment at said terminal, and said storage card comprises SIM, UIM card and SD card.Through this technical scheme, can realize efficiently obtaining to the data in the multiple memory storage.
Through technical scheme of the present invention; Can realize a kind of terminal and a kind of data capture method, be used to obtain the several data that comprises the contact person, need to guarantee to obtain at high speed data; Be not subject to the reading rate of storage card or other memory devices, promote user's experience.
Description of drawings
Fig. 1 is the block diagram at terminal according to an embodiment of the invention;
Fig. 2 is the process flow diagram of data capture method according to an embodiment of the invention;
Fig. 3 is the process flow diagram of data capture method according to an embodiment of the invention.
Embodiment
In order more to be expressly understood above-mentioned purpose of the present invention, feature and advantage, the present invention is further described in detail below in conjunction with accompanying drawing and embodiment.
Set forth a lot of details in the following description so that make much of the present invention, still, the present invention can also adopt other to be different from other modes described here and implement, and therefore, the present invention is not limited to the restriction of following disclosed specific embodiment.
Fig. 1 is the block diagram at terminal according to an embodiment of the invention.
As shown in Figure 1, the present invention provides a kind of terminal 100, comprising: buffer memory 102 is used for the data of memory storage are preserved; Relatively control module 104 in the time of need obtaining the data in the said memory storage, is obtained the said updating data time in the said buffer memory 102 that is kept in advance of having write down, and compares with said updating data time in the said memory storage; Data acquisition module 106 when being identical, obtains said data at comparative result from said buffer memory 102, for not simultaneously, from said memory storage, obtain said data at comparative result.Through this technical scheme, do not produce under the situation of frequent change in the required data of obtaining, the terminal can be most of the time, from buffer memory, obtain to get final product, and can greatly improve the efficient that data are obtained.Can be presented as the form of timestamp update time.
In technique scheme, when said data acquisition module 106 is not preserved said data in said buffer memory 102, directly from said memory storage, obtain said data.Through this technical scheme, guarantee in buffer memory, not preserve in the time of need obtaining data as yet, also can obtain data smoothly.
In technique scheme; Also comprise: caching management module 108; When from said memory storage, obtaining said data; And/or when arriving the preset time or the time interval, the said data in the said memory storage are saved in the said buffer memory 102, and with the said updating data time in the said memory storage as the line item of going forward side by side of the said updating data time in the said buffer memory 102.Through this technical scheme, guarantee the data that need obtain are updated in the buffer memory, so that improve the efficient of obtaining data.
In technique scheme, also comprise: condition setting module 110 is provided with condition; Start-up control module 112 judges whether said data satisfy said condition, and only in judged result when being, start said relatively control module 104 and said data acquisition module 106.Through this technical scheme, can start the scheme of obtaining from buffer memory to qualified data, can avoid taking buffer memory in a large number, be beneficial to the saving resource, this condition can be used to limit type of data or size etc., for example can only be directed against the contact data setting.
In technique scheme, said memory storage comprises the storage card and/or the External memory equipment at said terminal 100, and said storage card comprises SIM, UIM card and SD card.Through this technical scheme, can realize efficiently obtaining to the data in the multiple memory storage.
Fig. 2 is the process flow diagram of data capture method according to an embodiment of the invention;
As shown in Figure 2, the present invention also provides a kind of data capture method, comprising: step 202, in the time of need obtaining the data in the memory storage, obtain the said updating data time in the buffer memory that is kept at said terminal in advance that has write down; Step 204; Said updating data time in the said buffer memory and the said updating data time in the said memory storage are compared, when being identical, from said buffer memory, obtain said data at comparative result; For not simultaneously, from said memory storage, obtain said data at comparative result.Through this technical scheme, do not produce under the situation of frequent change in the required data of obtaining, the terminal can be most of the time, from buffer memory, obtain to get final product, and can greatly improve the efficient that data are obtained.Can be presented as the form of timestamp update time.
In technique scheme, said step 204 also comprises: when in said buffer memory, not preserving said data, directly from said memory storage, obtain said data.Through this technical scheme, guarantee in buffer memory, not preserve in the time of need obtaining data as yet, also can obtain data smoothly.
In technique scheme; Also comprise: when from said memory storage, obtaining said data; And/or when arriving the preset time or the time interval; Said data in the said memory storage are saved in the said buffer memory, and with the said updating data time in the said memory storage as the line item of going forward side by side of the said updating data time in the said buffer memory.Through this technical scheme, guarantee the data that need obtain are updated in the buffer memory, so that improve the efficient of obtaining data.
In technique scheme, also comprise before the said step 202: condition is set, and judges whether said data satisfy said condition, and only in judged result when being, get into said step 202.Through this technical scheme, can start the scheme of obtaining from buffer memory to qualified data, can avoid taking buffer memory in a large number, be beneficial to the saving resource, this condition can be used to limit type of data or size etc., for example can only be directed against the contact data setting.
In technique scheme, said memory storage comprises the storage card and/or the External memory equipment at said terminal, and said storage card comprises SIM, UIM card and SD card.Through this technical scheme, can realize efficiently obtaining to the data in the multiple memory storage.
Fig. 3 is the process flow diagram of data capture method according to an embodiment of the invention.
In the present embodiment; Consider that the mobile phone card reads the problem of contact data overlong time; Adopt a kind of data capture method, utilize the contact person of local cache (to refer to the local cache of card contact person on portable terminal, in order to distinguish with aforesaid " this machine contact person "; In fact the contact person of local cache concerning the user is and the identical data of card contact person) and block " timestamp " strategy quickening contact data loading velocity that the contact person upgrades.
As shown in Figure 3, the data capture method in the present embodiment comprises following step:
Realize scene for two kinds of technique scheme:
If 1. the user uses same portable terminal; How the pipe clamp contact person does not in use upgrade; Can use local cache contact data when neocaine contact person (more directly influence local cache contact person) during each opening initialization contact person; Need not read from the SIM/UIM card, only need just accomplish the card contact person in 1~2 second and load, promote subscriber checking widely.
If 2. the user is often switched different mobile terminals equipment; Have only user's newly-built card contact data on a terminal, be put into the mobile phone card when using on the other station terminal, first start initially just need be read contact data from the SIM/UIM card; After upgrading completion; If there is not contact data to upgrade in the use later on, just can directly use the local cache contact data, greatly increase the loading velocity of contact data.Because under most of situation, the user at the newly-increased contact person's of use number of times still seldom, so this technical scheme also is an effective scheme solving the user when using different mobile terminal to import the card contact person.
In sum; A kind of terminal and a kind of data capture method have been realized; Solve the user and be kept at contact data on the mobile phone card, often switch different terminal to cause each opening initialization to load contact data speed slow excessively at work with in the life, need the problem of wait as long for.Above-mentioned scene is an application implementation example of technical scheme of the present invention; But technical scheme of the present invention is not limited to the enforcement that different terminals loads the contact person, and this technical scheme also is applicable to the card contact data with a kind of terminal loads different mobile phones card.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. a terminal is characterized in that, comprising:
Buffer memory is used for the data of memory storage are preserved;
Relatively control module in the time of need obtaining the data in the said memory storage, is obtained the said updating data time in the said buffer memory that is kept in advance of having write down, and compares with said updating data time in the said memory storage;
Data acquisition module when being identical, obtains said data at comparative result from said buffer memory, for not simultaneously, from said memory storage, obtain said data at comparative result.
2. terminal according to claim 1 is characterized in that, when said data acquisition module is not preserved said data in said buffer memory, directly from said memory storage, obtains said data.
3. terminal according to claim 1 is characterized in that, also comprises:
Caching management module; When from said memory storage, obtaining said data; And/or when arriving the preset time or the time interval; Said data in the said memory storage are saved in the said buffer memory, and with the said updating data time in the said memory storage as the line item of going forward side by side of the said updating data time in the said buffer memory.
4. terminal according to claim 1 is characterized in that, also comprises:
The condition setting module is provided with condition;
The start-up control module judges whether said data satisfy said condition, and only in judged result when being, start said relatively control module and said data acquisition module.
5. according to each described terminal in the claim 1 to 4, it is characterized in that said memory storage comprises the storage card and the External memory equipment at said terminal, said storage card comprises SIM, UIM card and SD card.
6. a data capture method is characterized in that, comprising:
Step 202 in the time of need obtaining the data in the memory storage, is obtained the said updating data time in the buffer memory that is kept at said terminal in advance that has write down;
Step 204; Said updating data time in the said buffer memory and the said updating data time in the said memory storage are compared, when being identical, from said buffer memory, obtain said data at comparative result; For not simultaneously, from said memory storage, obtain said data at comparative result.
7. data capture method according to claim 6 is characterized in that, said step 204 also comprises:
When in said buffer memory, not preserving said data, directly from said memory storage, obtain said data.
8. data capture method according to claim 6 is characterized in that, also comprises:
When from said memory storage, obtaining said data; And/or when arriving the preset time or the time interval; Said data in the said memory storage are saved in the said buffer memory, and with the said updating data time in the said memory storage as the line item of going forward side by side of the said updating data time in the said buffer memory.
9. data capture method according to claim 6 is characterized in that, before said step 202, also comprises:
Condition is set, and judges whether said data satisfy said condition, and only in judged result when being, get into said step 202.
10. according to each described data capture method in the claim 6 to 9, it is characterized in that said memory storage comprises the storage card and the External memory equipment at said terminal, said storage card comprises SIM, UIM card and SD card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103978648A CN102495809A (en) | 2011-12-05 | 2011-12-05 | Terminal and data obtaining method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103978648A CN102495809A (en) | 2011-12-05 | 2011-12-05 | Terminal and data obtaining method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102495809A true CN102495809A (en) | 2012-06-13 |
Family
ID=46187634
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011103978648A Pending CN102495809A (en) | 2011-12-05 | 2011-12-05 | Terminal and data obtaining method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102495809A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106326048A (en) * | 2016-08-11 | 2017-01-11 | 广东欧珀移动通信有限公司 | External storage device detection method and device |
CN112200290A (en) * | 2020-11-04 | 2021-01-08 | 核工业理化工程研究院 | Data acquisition and management device based on SD card |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060294088A1 (en) * | 2005-06-27 | 2006-12-28 | International Business Machines Corporation | Method, system, and computer program product for caching dynamically generated queries |
CN101358851A (en) * | 2007-08-03 | 2009-02-04 | 北京灵图软件技术有限公司 | Method for navigating data in local caching, system and customer terminal device |
CN101674677A (en) * | 2009-10-27 | 2010-03-17 | 中兴通讯股份有限公司 | Method for realizing quickly loading messages during start of mobile terminal |
CN101039480B (en) * | 2007-04-11 | 2010-09-01 | 重庆重邮信科通信技术有限公司 | Method for accessing quickly USIM card basic document of user terminal |
-
2011
- 2011-12-05 CN CN2011103978648A patent/CN102495809A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060294088A1 (en) * | 2005-06-27 | 2006-12-28 | International Business Machines Corporation | Method, system, and computer program product for caching dynamically generated queries |
CN101039480B (en) * | 2007-04-11 | 2010-09-01 | 重庆重邮信科通信技术有限公司 | Method for accessing quickly USIM card basic document of user terminal |
CN101358851A (en) * | 2007-08-03 | 2009-02-04 | 北京灵图软件技术有限公司 | Method for navigating data in local caching, system and customer terminal device |
CN101674677A (en) * | 2009-10-27 | 2010-03-17 | 中兴通讯股份有限公司 | Method for realizing quickly loading messages during start of mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106326048A (en) * | 2016-08-11 | 2017-01-11 | 广东欧珀移动通信有限公司 | External storage device detection method and device |
CN112200290A (en) * | 2020-11-04 | 2021-01-08 | 核工业理化工程研究院 | Data acquisition and management device based on SD card |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105718287B (en) | A kind of program streaming execution method of intelligent terminal | |
CN108495344B (en) | Network switching method, device and terminal | |
RU2009114831A (en) | WIRELESS COMMUNICATION SYSTEM, WIRELESS COMMUNICATION DEVICE, WIRELESS COMMUNICATION METHOD AND PROGRAM | |
CN107329559A (en) | A kind of application control method, device, terminal and storage medium | |
CN108228341B (en) | Memory recovery method and device, terminal equipment and computer readable storage medium | |
WO2021057619A1 (en) | Memory reclamation method and apparatus, electronic device, and storage medium | |
CN103699338B (en) | A kind of method and apparatus downloading data | |
RU2009132966A (en) | COMMUNICATION DEVICE | |
CN108205471B (en) | Memory recovery method and device, computer device and computer readable storage medium | |
WO2021057622A1 (en) | Garbage collection method, device, electronic apparatus, and storage medium | |
US9554237B2 (en) | Method and system for transferring address book based on bluetooth | |
CN106170757A (en) | A kind of date storage method and device | |
CN110069215B (en) | Method and device for dynamically adjusting storage unit based on block storage | |
CN103473343A (en) | File management method, device and terminal | |
CN100378663C (en) | Method, system and module for dynamic downloading of applied programe to user identification | |
CN101957771A (en) | Method and device for installing mobile software for multiple mobile phones simultaneously | |
CN108112010A (en) | Access method, apparatus, terminal and the computer readable storage medium of network | |
CN105101171A (en) | Terminal network parameter configuration method, and terminal | |
CN105608013B (en) | A kind of the storage card control chip and storage card of integrated MRAM | |
CN104184907A (en) | Method for detecting awakening data of terminal application software in standby state and terminal | |
CN102495809A (en) | Terminal and data obtaining method | |
CN102984330B (en) | Contact person data management method of communication device | |
CN104243683A (en) | Data processing method, terminal, user identification card and data processing system | |
CN103092663A (en) | Method for installing application program in terminal and device | |
US8050681B2 (en) | System and method for controlling connections between a wireless router and unlicensed mobile access capable mobile phones |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120613 |