CN102014214A - Hand-held terminal powered-on/powered-off method and identification method of memory card of hand-held terminal - Google Patents
Hand-held terminal powered-on/powered-off method and identification method of memory card of hand-held terminal Download PDFInfo
- Publication number
- CN102014214A CN102014214A CN2010106025659A CN201010602565A CN102014214A CN 102014214 A CN102014214 A CN 102014214A CN 2010106025659 A CN2010106025659 A CN 2010106025659A CN 201010602565 A CN201010602565 A CN 201010602565A CN 102014214 A CN102014214 A CN 102014214A
- Authority
- CN
- China
- Prior art keywords
- storage card
- fat
- handheld terminal
- hand
- recognition methods
- 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
Abstract
The invention relates to a hand-held terminal powered-on/powered-off method and an identification method of a memory card of a hand-held terminal, wherein the hand-held terminal powered-off method comprises the step of saving or updating a file allocation table (FAT) in the current memory card to a local host; the identification method comprises the following steps: powering on and reading the FAT in the current memory card and comparing the read FAT with the saved FAT; if the read FAT is different from the saved FAT, judging that the memory card is changed or the file is modified, otherwise, the memory card is not changed or the file is not modified; and the hand-held terminal powered-on method comprises the step of selecting whether a file system is scanned by utilizing the identification method. The hand-held terminal powered-on/powered-off method and the identification method of the memory card of the hand-held terminal are particularly applied to the hand-held terminal, the change of an access memory card can be identified through the comparison of new and old FATs, the unnecessary memory card file scanning system time is reduced for a user and the powering-on and initialization time is shortened as compared with the prior art.
Description
Technical field
The present invention relates to storage card identification, be specifically related to a kind of handheld terminal switching on and shutting down and storage card recognition methods thereof.
Background technology
T-Flash storage card (being called for short the T card) has almost become the standard configuration of mobile phone, and along with the continuous increase of T card capacity, the quantity of documents that can store can be tens thousand of hundreds thousand of and even more.A mobile phone that disposes the T card is after shutdown, the user may pull out this T and snap fitted on other mobile phone or the card reader and revise, delete, copy into file, also may change an other T card, how mobile phone discerns the T card after start once more variation (comprise change card or file system is modified) has taken place.If mobile phone can be accomplished accurately to discern the T card and whether change, just can make the decision that whether needs to rescan file system.Obviously the T card does not change, and just can remove scanning process from, has accelerated start and initialized process greatly.But, do not have such method or such method to be disclosed at present.
Summary of the invention
The technical issues that need to address of the present invention are, how a kind of handheld terminal switching on and shutting down and storage card recognition methods thereof are provided, and whether the content that can accurately discern the T card variation has taken place after shutdown, thereby have accelerated start and initialized process.
First technical problem of the present invention solves like this: make up a kind of handheld terminal memory card contents and change recognition methods, may further comprise the steps:
FAT shows in preservation or this machine of the being updated to internal storage device in the current storage card that will be connected with handheld terminal during shutdown;
After the start, according to FAT table (file configuration table in the current storage card that reads this handheld terminal connection first, File Allocation Table) be saved or the FAT that upgrades shows that the described storage card of judgement inequality is replaced or file is modified, otherwise judge that described storage card is not replaced and wherein file be not modified.
According to recognition methods provided by the invention, press the handheld terminal software set, to read first in the common initialization for causing systematic procedure, start does not connect storage card and handles by following description.
According to recognition methods provided by the invention, the described FAT that is saved shows in following situation deletion:
㈠ is after described judgement;
㈡ is not after start is checked through the current storage card that is connected with handheld terminal.
According to recognition methods provided by the invention, described inequality can be the size inequality, also can be that content is inequality.
According to recognition methods provided by the invention, described storage card is outside expansion, includes, but are not limited to peg graft, and it is that plate carries Flash and other nonvolatile memory that described machine internal storage device includes, but are not limited to.
According to method provided by the invention, it is mobile phone, MP4 multimedia player, panel computer IPAD or mobile internet device MID, especially mobile phone that described handheld terminal includes, but are not limited to.
Second technical problem of the present invention solves like this: make up a kind of handheld terminal starting-up method, use each described storage card recognition methods of claim 1-5, also comprise the scanning determining step: make up and read and show to show scanning storage card file system inequality, otherwise skip the step of the current storage card file system of described scanning with the FAT that is saved or upgrade according to FAT in the current storage card of handheld terminal connection.
According to starting-up method provided by the invention, also comprise: do not skip described scanning determining step automatically after start is checked through the current storage card that is connected with handheld terminal.
The 3rd technical problem of the present invention solves like this: make up a kind of handheld terminal closedown method, use each described storage card recognition methods of claim 1-5, FAT shows in preservation or this machine of the being updated to memory device in the current storage card that will be connected with handheld terminal when shutdown.
According to closedown method provided by the invention, in the size that FAT shows in the current storage card that will be connected with handheld terminal when shutdown and content preservation or this machine of the being updated to memory device.
Handheld terminal switching on and shutting down provided by the invention and storage card recognition methods thereof, variation by the current storage card of new and old FAT table contrast identification, can reduce unnecessary storage card file system scanning for the user than prior art, for reducing mobile phone power-on and initialization time, especially be applicable to 8G/16G/32G/ ... in the epoch that the large capacity I card continues to bring out, the storage card file system is stored tens thousand of hundreds thousand of and even more files very important meaning.
Description of drawings
Further the present invention is described in detail below in conjunction with the drawings and specific embodiments:
Fig. 1 is a mobile phone power-on schematic flow sheet of the present invention;
Fig. 2 is a mobile phone shutdown schematic flow sheet of the present invention.
Embodiment
At first, basis of the present invention is described:
1. editor, deletion, newly-increased file can be revised the FAT table, if the FAT table is not changed then can be thought that file system does not have change;
2. store the T card of different content, its FAT table must be different.
The second, describe the present invention in detail in conjunction with the specific embodiment of the invention:
This embodiment is applied on the mobile phone, comprises start handling process and shutdown handling process.Whether the start flow process is used for detecting needs to rescan, the FAT of storage card table information when shutdown process then is used for storing shutdown.
One, start handling process
As Fig. 1, whether this flow process inventive point mainly is to be used for the content of identification memory card and changes (contain and change card or pull out card), may further comprise the steps:
101) whether the detection of stored card is on the throne;
102), then from system, delete the related content (filesystem information record) of storage card, and jump out this flow process if storage card is not on the throne;
103) if storage card is on the throne, judge the FAT table information of whether having stored storage card in this machine, if there is no then skip to step 107;
104) read the size (Sector number) of FAT table and the content of FAT table from this storage card;
105) from this machine storage, read the FAT size and the content of the storage card of storage when shutting down last time; After reading it is deleted from the storage of this machine;
106) whether the data of the content of the FAT size of judging storage card and FAT table and storage are identical.If identical then show that the storage card state when storage card shut down with last time is consistent, jump out step 107), finish; If difference then shows storage card and is modified or has changed card, enters next step;
107) rescan the storage card filesystem information, finish.
Two, shutdown handling process
As Fig. 2, this flow process inventive point is mainly used to preserve the content of the size of FAT table of storage card and FAT table in the storage of this machine, may further comprise the steps:
201) whether the detection of stored card is on the throne, if not on the throne, then jumps out this flow process;
202) judge whether storage card is scanned, if this flow process is then jumped out in not scanning;
203) read the size of its FAT table and the content of FAT table from storage card;
204) size of the FAT of storage card table and the content of FAT table are saved in the storage of this machine.
The above only is preferred embodiment of the present invention, and all equalizations of being done according to claim scope of the present invention change and modify, and all should belong to the covering scope of claim of the present invention.
Claims (10)
1. handheld terminal storage card recognition methods is characterized in that, may further comprise the steps:
FAT shows in preservation or this machine of the being updated to internal storage device in the current storage card that will be connected with handheld terminal during shutdown;
After the start, show with the FAT that is saved or upgrade according to reading in the current storage card that this handheld terminal connects the FAT table first that the described storage card of judgement inequality is replaced or file is modified, otherwise judge that described storage card is not replaced and wherein file be not modified.
2. according to the described recognition methods of claim 1, it is characterized in that, describedly inequalityly comprise that size is inequality or content is inequality.
3. according to the described recognition methods of claim 1, it is characterized in that, also be included in described judgement and delete the described FAT table that is saved afterwards automatically.
4. according to the described recognition methods of claim 1, it is characterized in that, also be included in and delete the described FAT table that is saved automatically after start is not checked through the current storage card that is connected with handheld terminal.
5. according to the described recognition methods of claim 1, it is characterized in that described storage card is outside expansion, described machine internal storage device is that plate carries Flash or other nonvolatile memory.
6. according to the described recognition methods of claim 1, it is characterized in that described handheld terminal is mobile phone, media player, panel computer or mobile internet device.
7. handheld terminal starting-up method, it is characterized in that, use each described storage card recognition methods of claim 1-5, also comprise the scanning determining step: read and show to show the current storage card file system of scanning inequality, otherwise skip the step of the current storage card file system of described scanning with the FAT that is saved or upgrade according to FAT in the current storage card of handheld terminal connection.
8. according to the described starting-up method of claim 7, it is characterized in that, also comprise: do not skip described scanning determining step automatically after start is checked through the current storage card that is connected with handheld terminal.
9. a handheld terminal closedown method is characterized in that, uses each described storage card recognition methods of claim 1-5, and FAT shows in preservation or this machine of the being updated to memory device in the current storage card that will be connected with handheld terminal when shutdown.
10. according to the described closedown method of claim 9, it is characterized in that, also comprise: in the current storage card that shutdown will be connected with handheld terminal the time in the preservation of FAT table size or this machine of the being updated to memory device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106025659A CN102014214A (en) | 2010-12-23 | 2010-12-23 | Hand-held terminal powered-on/powered-off method and identification method of memory card of hand-held terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106025659A CN102014214A (en) | 2010-12-23 | 2010-12-23 | Hand-held terminal powered-on/powered-off method and identification method of memory card of hand-held terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102014214A true CN102014214A (en) | 2011-04-13 |
Family
ID=43844220
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010106025659A Pending CN102014214A (en) | 2010-12-23 | 2010-12-23 | Hand-held terminal powered-on/powered-off method and identification method of memory card of hand-held terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102014214A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609741A (en) * | 2012-01-31 | 2012-07-25 | 上海艾尚通讯科技有限公司 | Mobile device and method for exchange data between internal and external storage cards |
CN103237118A (en) * | 2013-03-26 | 2013-08-07 | 东莞宇龙通信科技有限公司 | Mobile terminal startup method and system, and mobile terminal |
CN104133822A (en) * | 2013-07-15 | 2014-11-05 | 腾讯科技(深圳)有限公司 | Method and device for scanning files in memory |
CN104375901A (en) * | 2013-08-16 | 2015-02-25 | 联想(北京)有限公司 | Control method and control device of an electric device and the electric device thereof |
CN112513799A (en) * | 2018-08-22 | 2021-03-16 | 深圳市欢太科技有限公司 | Shorthand method and device, terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030065866A1 (en) * | 2001-10-01 | 2003-04-03 | Spencer Andrew M. | Memory controller for memory card manages file allocation table |
CN101646261A (en) * | 2008-08-05 | 2010-02-10 | 广州盛华信息技术有限公司 | User identification card and handheld device |
CN101795328A (en) * | 2010-04-13 | 2010-08-04 | 中兴通讯股份有限公司 | Set-card separation mobile phone and method for realizing card initialization |
CN101853275A (en) * | 2010-05-05 | 2010-10-06 | 北京中星微电子有限公司 | Data management method of FAT file system and system |
CN101854426A (en) * | 2010-01-26 | 2010-10-06 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for starting mobile terminal and mobile terminal |
-
2010
- 2010-12-23 CN CN2010106025659A patent/CN102014214A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030065866A1 (en) * | 2001-10-01 | 2003-04-03 | Spencer Andrew M. | Memory controller for memory card manages file allocation table |
CN101646261A (en) * | 2008-08-05 | 2010-02-10 | 广州盛华信息技术有限公司 | User identification card and handheld device |
CN101854426A (en) * | 2010-01-26 | 2010-10-06 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for starting mobile terminal and mobile terminal |
CN101795328A (en) * | 2010-04-13 | 2010-08-04 | 中兴通讯股份有限公司 | Set-card separation mobile phone and method for realizing card initialization |
CN101853275A (en) * | 2010-05-05 | 2010-10-06 | 北京中星微电子有限公司 | Data management method of FAT file system and system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609741A (en) * | 2012-01-31 | 2012-07-25 | 上海艾尚通讯科技有限公司 | Mobile device and method for exchange data between internal and external storage cards |
CN103237118A (en) * | 2013-03-26 | 2013-08-07 | 东莞宇龙通信科技有限公司 | Mobile terminal startup method and system, and mobile terminal |
CN103237118B (en) * | 2013-03-26 | 2015-07-22 | 东莞宇龙通信科技有限公司 | Mobile terminal startup method and system, and mobile terminal |
CN104133822A (en) * | 2013-07-15 | 2014-11-05 | 腾讯科技(深圳)有限公司 | Method and device for scanning files in memory |
CN104133822B (en) * | 2013-07-15 | 2016-09-14 | 腾讯科技(深圳)有限公司 | A kind of method and device that file on memorizer is scanned |
CN104375901A (en) * | 2013-08-16 | 2015-02-25 | 联想(北京)有限公司 | Control method and control device of an electric device and the electric device thereof |
CN104375901B (en) * | 2013-08-16 | 2018-04-27 | 联想(北京)有限公司 | Control method, control device and the electronic equipment of a kind of electronic equipment |
CN112513799A (en) * | 2018-08-22 | 2021-03-16 | 深圳市欢太科技有限公司 | Shorthand method and device, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104166561B (en) | Electronic apparatus system starts method and electronic equipment | |
US7743292B2 (en) | Apparatus and method for memory card testing | |
US9569091B2 (en) | Text input method in touch screen terminal and apparatus therefor | |
US8356753B2 (en) | Method for multi-type barcode recognition, computer readable medium, and barcode recognition apparatus | |
US10191838B2 (en) | Method and device for checking influence of deleting cache file, and mobile terminal | |
CN103150231A (en) | Computer booting method and computer system | |
CN102014214A (en) | Hand-held terminal powered-on/powered-off method and identification method of memory card of hand-held terminal | |
CN103559276A (en) | Method and device for clearing useless files | |
US20140189697A1 (en) | Method and apparatus for managing application program | |
US20090282195A1 (en) | Method of managing memory storage space and a computer system | |
CN103577212A (en) | System starting preloading method and device | |
CN101494930A (en) | Intelligent terminal and upgrading method thereof | |
CN102609290B (en) | The method for upgrading software of electronic product | |
CN103777978A (en) | Automatic user-mode 3G-USB network interface card detecting method based on Linux kernel | |
KR101882759B1 (en) | Method and apparatus for stabilized binary differencing | |
US8892856B2 (en) | Firmware flashing method and related computer system | |
CN101794232A (en) | Method for quickly starting system | |
CN105718788A (en) | Malicious application processing method and apparatus, and terminal | |
CN104461622A (en) | System update method and system update device for intelligent terminal | |
CN104765631A (en) | Restoration method and device for application program of mobile terminal | |
CN104484211A (en) | Method and device for sharing mirror image document | |
EP2835737A1 (en) | Data terminal running mode switching method, device, and data terminal | |
US10705738B2 (en) | Method, apparatus, storage medium, and terminal for optimizing memory card performance | |
CN101489078A (en) | Digital television terminal, memory expanding method and system based on middleware | |
US20040230789A1 (en) | Multi memory card accessing system and implementation method thereof |
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: 20110413 |