CN103577352A - Storage card recognition device - Google Patents
Storage card recognition device Download PDFInfo
- Publication number
- CN103577352A CN103577352A CN201210278563.8A CN201210278563A CN103577352A CN 103577352 A CN103577352 A CN 103577352A CN 201210278563 A CN201210278563 A CN 201210278563A CN 103577352 A CN103577352 A CN 103577352A
- Authority
- CN
- China
- Prior art keywords
- module
- card
- poll result
- poll
- detecting
- 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
- Storage Device Security (AREA)
Abstract
The invention provides a storage card recognition device. The storage card recognition device is arranged in an electronic device, is used for detecting pin parameters of different storage cards and comprises a polling result storage module, a detecting module and a processing module, wherein the polling result storage module is used for storing a polling result, and the pin parameters of different storage cards are not included in the polling result; the detecting module is connected with the polling result storage module and is used for detecting whether the polling result is stored or not; the processing module is connected with the detecting module and the polling result storage module, the processing module is used for reading the polling result and then can enter into an interrupt mode to work when the situation that the polling result is stored is detected by the detecting module, and the processing module can enter into a polling mode to work when the situation that the polling result is not stored is detected by the detecting module. According to the storage card recognition device provided by the invention, the polling result can be stored after the work in the polling mode is carried out, the situation of working in the polling mode again can be avoided, and the CPU (Central Processing Unit) resource can be saved.
Description
[technical field]
The present invention relates to a kind of storage card recognition device, particularly a kind of storage card recognition device of saving cpu resource.
[background technology]
SD card is the abbreviation of Secure Digital Card card, and literal translating into Chinese is exactly " the brand-new storage card product of safe digital card ”,Shi You MAT, Toshiba and the joint development development of U.S. SANDISK company.SD storage card is a wide-open standard (system), is used for MP3, Digital Video, digital camera, e-book, AV equipment etc., is especially widely used on ultra-thin digital camera.SD card is consistent with MultiMedia Card card in shape, and size dimension is slightly thicker than mmc card, and capacity is also much larger.And compatible mmc card interface specification.Can't help to allow people suspect that SD card is MMC upgrade version.In addition, SD card is 9 pins, and object is parallel by transmission mode is become by serial, to improve transmission speed.Its read or write speed is faster than mmc card, and meanwhile, security is also higher.The feature of SD card maximum is exactly by encryption function, can guarantee the safe and secret of data information.It also possesses copyright protection technology, and the copyright protection technology adopting is the CPRM technology used in DVD (can recordable media content protecting).
Micro SD Card product design is to adopt SD architecture design to form, and size almost only has the size as a slice nail.The brand-new Micro SD memory card of releasing adopts state-of-the-art SLC control technology, allows data have superb transmission speed! Corresponding to high picture element, audio-visual broadcasting, will be further strengthened.Add that 3G mobile phone saves up strength to start out, unlimited transmission speed constantly promotes, and the use-pattern of mobile phone will have great transformation.The functions such as numerical digit photography, photograph, movie, MP3 music, game, individual accounts calendar, Email and recording, these powerful multimedia functions that in the past only can represent at notebook computer or desktop computer, realize in this slight mobile phone top now already! The development of mobile phone, can say at a tremendous pace, especially present human lives's necessity.
Conventionally, the pin level of detecting storage card can identify in electronic installation whether insert SD card or microSD card, still, the pin level that starts SD card or microSD card is normally contrary, for example, when detecting pin level while being high level, the card that can identify insertion is SD card; And when detecting pin level while being low level, the card that can identify insertion is microSD card.If change the type of card in use procedure, for example, by SD card replacement, become microSD card, or become SD card by microSD card replacement, all need to remodify code.Although can be with in poll (polling) mode place,, poll result is not stored, and after each start, all needs with in polling mode place, and polling procedure consumes cpu resource.
[summary of the invention]
Fundamental purpose of the present invention is to provide a kind of storage card recognition device of saving cpu resource.
The invention provides a kind of storage card recognition device, it is arranged in electronic installation and in order to detect the pin parameter of different storing card, and described storage card recognition device comprises poll result store module, detecting module and processing module, described poll result store module is in order to store poll result, and described poll result comprises the pin parameter of different storing card; Described detecting module connects described poll result store module, and whether described detecting module has stored poll result in order to detecting; Described processing module connects described detecting module and poll result store module, and when detecting module detects while storing poll result, described processing module reads poll result and enters interrupt mode work again; And detect while not storing poll result when detecting module, described processing module enters poll pattern work, and poll result is transferred to poll result store module.
Especially, described storage card comprises SD card and microSD card, and SD card is contrary with the pin level of microSD card.
Compared with prior art, storage card recognition device of the present invention, can be by poll result store after a poll pattern job, when after this again electronic installation is started shooting, just can directly read poll result and enter again interrupt mode work, avoid again with poll pattern work, save cpu resource.
[accompanying drawing explanation]
Figure l is the functional-block diagram of storage card recognition device of the present invention.
[embodiment]
Refer to shown in figure l, the invention provides a kind of storage card recognition device, it is arranged in electronic installation and in order to detect the pin parameter of different storing card, and described storage card recognition device comprises poll result store module 10, detecting module 20 and processing module 30, described poll result store module 10 is in order to store poll result, and described poll result comprises the pin parameter of different storing card; In the present embodiment, described storage card comprises SD card and microSD card, and SD card is contrary with the pin level of microSD card.Described detecting module 20 connects described poll result store module 10, and whether described detecting module 20 has stored poll result in order to detecting; Described processing module 30 connects described detecting module 20 and poll result store modules 10, and when detecting module 20 detects while storing poll result, described processing module 30 reads poll result and enters interrupt mode work again; And detect while not storing poll result when detecting module 20, described processing module 30 enters poll pattern work, and poll result is transferred to poll result store module 10.
Storage card recognition device of the present invention is after a poll pattern job, can be by poll result store to poll result store module 10, when after this again electronic installation is started shooting, just can directly to poll result store module 10, read poll result and enter again interrupt mode work, avoid again with poll pattern work, save cpu resource.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.
Claims (2)
1. a storage card recognition device, it is arranged in electronic installation and in order to detect the pin parameter of different storing card, it is characterized in that described storage card recognition device comprises:
Poll result store module, it is in order to store poll result, and described poll result comprises the pin parameter of different storing card;
Detecting module, it connects described poll result store module, and whether described detecting module has stored poll result in order to detecting;
Processing module, it connects described detecting module and poll result store module, and when detecting module detects while storing poll result, described processing module reads poll result and enters interrupt mode work again; And detect while not storing poll result when detecting module, described processing module enters poll pattern work, and poll result is transferred to poll result store module.
2. storage card recognition device according to claim 1, it is characterized in that: described storage card comprises SD card and microSD card, and SD card is contrary with the pin level of microSD card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210278563.8A CN103577352A (en) | 2012-08-07 | 2012-08-07 | Storage card recognition device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210278563.8A CN103577352A (en) | 2012-08-07 | 2012-08-07 | Storage card recognition device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103577352A true CN103577352A (en) | 2014-02-12 |
Family
ID=50049169
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210278563.8A Pending CN103577352A (en) | 2012-08-07 | 2012-08-07 | Storage card recognition device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103577352A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110109529A (en) * | 2019-04-22 | 2019-08-09 | 惠州Tcl移动通信有限公司 | SD card method for controlling power supply, device, storage medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050086434A1 (en) * | 2003-10-02 | 2005-04-21 | Kang Sang-Wook | Multimedia/secure digital cards and adapters for interfacing to hosts and methods of operating |
CN1822030A (en) * | 2006-03-23 | 2006-08-23 | 骆建军 | Multiple interface self adaptive rsMMC memory card |
CN1822031A (en) * | 2006-03-23 | 2006-08-23 | 骆建军 | Multiple interface self adaptive mini SD memory card |
CN101739222A (en) * | 2008-11-20 | 2010-06-16 | 联发科技股份有限公司 | Electronic apparatus, interface circuit and access method |
-
2012
- 2012-08-07 CN CN201210278563.8A patent/CN103577352A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050086434A1 (en) * | 2003-10-02 | 2005-04-21 | Kang Sang-Wook | Multimedia/secure digital cards and adapters for interfacing to hosts and methods of operating |
CN1822030A (en) * | 2006-03-23 | 2006-08-23 | 骆建军 | Multiple interface self adaptive rsMMC memory card |
CN1822031A (en) * | 2006-03-23 | 2006-08-23 | 骆建军 | Multiple interface self adaptive mini SD memory card |
CN101739222A (en) * | 2008-11-20 | 2010-06-16 | 联发科技股份有限公司 | Electronic apparatus, interface circuit and access method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110109529A (en) * | 2019-04-22 | 2019-08-09 | 惠州Tcl移动通信有限公司 | SD card method for controlling power supply, device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2445676C2 (en) | Method of communication with multifunctional memory card | |
US20120079197A1 (en) | Card-reading device and method for using the card-reading device to access memory card | |
US9563251B2 (en) | Representing a cache line bit pattern via meta signaling | |
EP2757483B1 (en) | Apparatus and method for extending memory in terminal | |
CN102609741A (en) | Mobile device and method for exchange data between internal and external storage cards | |
US20110319132A1 (en) | Mobile phone having detachable smart card module | |
CN101620568B (en) | Storage device and data storage method | |
KR100420444B1 (en) | External storage device | |
US20090013134A1 (en) | Memory apparatus and protecting method thereof | |
US20080282092A1 (en) | Card reading apparatus with integrated identification function | |
CN102117232A (en) | Multifunctional data backup device | |
CN103577352A (en) | Storage card recognition device | |
CN201853222U (en) | Multifunctional data backup device | |
US20130132629A1 (en) | Apparatus of storage medium for interfacing both host and mobile device | |
CN102305906A (en) | Chip testing method and device | |
EP3196769A1 (en) | Reader/writer device, information processing device, data transfer control method, and program | |
US20160216733A1 (en) | Mass storage device | |
US20040230789A1 (en) | Multi memory card accessing system and implementation method thereof | |
CN102866946A (en) | Method and device for testing reading/writing function | |
SG190488A1 (en) | Apparatus of storage medium for interfacing both host and mobile device | |
CN112765070A (en) | Data transmission debugging method and system, electronic equipment and storage medium | |
CN105844151B (en) | File storage protection implementation method and system | |
KR20170048805A (en) | Memory device and the operating method thereof | |
US20080282014A1 (en) | Card reading apparatus for multi-directional data transmission | |
US20100250494A1 (en) | Peripheral device and portable electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140212 |