CN102750231A - Method and apparatus for controlling access of a secure digital memory card - Google Patents

Method and apparatus for controlling access of a secure digital memory card Download PDF

Info

Publication number
CN102750231A
CN102750231A CN2012100672758A CN201210067275A CN102750231A CN 102750231 A CN102750231 A CN 102750231A CN 2012100672758 A CN2012100672758 A CN 2012100672758A CN 201210067275 A CN201210067275 A CN 201210067275A CN 102750231 A CN102750231 A CN 102750231A
Authority
CN
China
Prior art keywords
storage card
secure digital
password
digital storage
order
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
Application number
CN2012100672758A
Other languages
Chinese (zh)
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.)
Transcend Information Inc
Original Assignee
Transcend Information Inc
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 Transcend Information Inc filed Critical Transcend Information Inc
Publication of CN102750231A publication Critical patent/CN102750231A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/14Protection against unauthorised use of memory or access to memory
    • G06F12/1416Protection against unauthorised use of memory or access to memory by checking the object accessibility, e.g. type of access defined by the memory independently of subject rights
    • G06F12/1425Protection against unauthorised use of memory or access to memory by checking the object accessibility, e.g. type of access defined by the memory independently of subject rights the protection being physical, e.g. cell, word, block
    • G06F12/1433Protection against unauthorised use of memory or access to memory by checking the object accessibility, e.g. type of access defined by the memory independently of subject rights the protection being physical, e.g. cell, word, block for a module or a part of a module
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • G06F21/79Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in semiconductor storage media, e.g. directly-addressable memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/073Special arrangements for circuits, e.g. for protecting identification code in memory
    • G06K19/07309Means for preventing undesired reading or writing from or onto record carriers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/21Employing a record carrier using a specific recording technology
    • G06F2212/214Solid state disk
    • G06F2212/2146Solid state disk being detachable, e.g.. USB memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a method and an apparatus for controlling access of a secure digital memory card. The method includes inserting the secure digital memory card into a card reader; performing an application program to detect whether a first password is stored in the secure digital card when a write protection function of the secure digital memory card is enabled; inputting a second password when the first password is not stored in the secure digital memory card; and sending a first command embedded with the second password to disable a read access function of the secure digital memory card. Therefore, when a write protection function of the secure digital memory card is enabled, an application program is triggered to enable/disable a read access function of the secure digital memory card.

Description

The secure digital storage card links control method and device thereof
Technical field
The present invention relates to a kind of method that the secure digital storage card reads binding of controlling, refer to that especially a kind of calculating punch control secure digital storage card that utilizes reads the method and the device thereof of binding.
Background technology
Generally speaking, secure digital storage card (hereinafter to be referred as the SD storage card) includes a write-protect switch, in order to the write-protect function of activation or releasing SD storage card.When the write-protect function of calculating punch detecting SD storage card had been disengaged, calculating punch can not only read data stored in the SD storage card, also can change the stored contents in the SD storage card simultaneously.During activation, this calculating punch then only can read the storage data in the SD storage card to the anti-write-protect function of detecting the SD storage card when calculating punch, but can't do any change to this storage data.
Summary of the invention
The method that the present invention provides a kind of SD of control storage card to link is included in and inserts a SD storage card in the calculating punch, and this calculating punch is coupled to an electronic installation; When the write-protect switch of SD storage card is opened, carry out an application program and whether have one first password with detecting SD storage card; Do not have first password if having in the SD storage card, application program then requires to input one second password; And transmit one and arrange in pairs or groups in first instruction of second password, read the binding function with what close the SD storage card.
The present invention provides a calculating punch in addition, comprises in order to couple the connectivity port of electronic installation, in order to couple the card connection port of SD storage card; In order to the internal memory of save command data, and a control module, be linked to connectivity port, card connection port and internal memory; Carry out an application program in order to trigger electronic installation; And then require input one password, and and transmit an instruction and SD storage card of arranging in pairs or groups in this password, read the binding function in order to activation/releasing SD storage card.
The present invention further provides a kind of electronic installation, comprises in order to carrying out the processor of an application program, and a calculating punch.This calculating punch comprises in order to couple the connectivity port of electronic installation, in order to couple the card connection port of SD storage card, in order to the internal memory of save command data; An and control module; Be linked to connectivity port, card connection port and internal memory, carry out an application program, and then require input one password in order to trigger electronic installation; And transmit the instruction and SD storage card arrange in pairs or groups in this password, read the binding function in order to activation/releasing SD storage card.
For let above and other objects of the present invention, feature and advantage can be more obviously understandable, hereinafter is special lifts preferred embodiment, and cooperates appended graphicly, elaborates as follows.
Description of drawings
Fig. 1 illustrates according to one embodiment of the invention structural drawing.
Fig. 2 illustrates according to an also example structure figure of the present invention.
Fig. 3 illustrates the method flow diagram according to preferred embodiment of the present invention.
Wherein, description of reference numerals is following:
110 electronic installations
112 processors
120 calculating punches
122 Ports
124 card connection ports
126 internal memories
128 control modules
130 secure digital storage cards (SD storage card)
132 write-protect switch
220 calculating punches
240 switches
Embodiment
Please refer to Fig. 1, be the calculating punch 120 that is provided according to a preferred embodiment of the present invention.Calculating punch 120 is formed assembly and is comprised connectivity port 122, card connection port one 24, internal memory 126, and control module 128.Connectivity port 122 for example is computing machine or handset device in order to couple electronic installation 110.Include processor 112 in the electronic installation 110, in order to executive utility.Card connection port 124 is in order to coupling SD storage card 130, and internal memory 126 comprises (Secure Digital Association, the CMD42 director data of SDA) being formulated by secure digital association then in order to the save command data.CMD42 instruction the read binding of password of can arranging in pairs or groups with activation/releasing SD storage card 130.Control module 128 is linked to connectivity port 122, card connection port one 24, and internal memory 126, and SD storage card 130 is given in the CMD42 instruction of application transfer capable of using collocation password.That is to say that application program is to encrypt in order to the entirety thing to SD storage card 130.
Like preferred embodiment of the present invention, in order to remove the binding of reading of SD storage card 130, the write-protect switch 132 on the SD storage card 130 must be opened the write-protect function with activation SD storage card 130 earlier, triggers opening application program simultaneously.Above-mentioned program setting can be with to prevent non-premeditated startup application program.After SD storage card 130 and card connection port 124 coupled, whether the write-protect switch 132 that control module 128 is promptly detected on the SD storage card 130 was unlatching, that is whether has started the write-protect function.If the write-protect function of SD storage card 130 starts, then trigger electronic installation 110 executive utilities by control module 128.Behind application program launching, inquire further whether the user continues to carry out this application program.If what user's this moment was not intended to change SD storage card 130 reads the binding function, can directly close application program, SD storage card 130 is then replied the write-protect defencive function after general write-protect switch 132 is opened, that is a card entering reading mode.Anti-selects to continue executive utility as if the user, and next application program then detects whether there has been one first password in the SD storage card 130.Do not have first password (normal condition is still kept in the binding of reading that is SD storage card 130) if having in the SD storage card 130, this moment, application program then required the user to input one second password.After person to be used inputs second password, transmit one first instruction by control module 128, second password that collocation is inputed is in wherein, reads the binding function with what remove SD storage card 130.The second above-mentioned password of SD storage card 130 storages this moment is so that the reading when linking function of this SD storage card 130 of activation of healing afterwards used.
Like an also preferred embodiment of the present invention; When the write-protect function of SD storage card 130 starts; And after triggering the application program unlatching, can directly detect whether there is first password in the SD storage card 130, and need not provide the user whether to continue the option of executive utility as previously mentioned.
After reading of SD storage card 130 linked the function releasing, all data that are stored in the SD storage card 130 promptly can't be read, and are enabled once more up to the above-mentioned linkage function that reads.
In addition; After whether having had first password in the application program detecting SD storage card 130; If the detecting result is for there has been first password (the binding function that reads that is SD storage card 130 is disengaged) in the SD storage card 130; For activation SD storage card 130 once more read the binding function, application program will require to input one the 3rd password this moment.After the user inputs the 3rd password, whether application program will be compared the 3rd password of being inputed and first password that is stored in the SD storage card 130 and coincide.If comparison result is when coincideing, this moment, control module 128 and transmit one second instruction and give SD storage card 130 read the binding function with activation SD storage card 130.
Please continue with reference to figure 2, be the calculating punch 220 that is provided according to an also preferred embodiment of the present invention.Be different from calculating punch shown in Figure 1 120, calculating punch 220 further comprises a mechanical switch, and whether switch 240 as shown in the figure triggers execution because of the write-protect switch on the SD storage card 130 132 in order to select application program.If switch 240 switches to write-protect position WP, the write-protect switch of opening on the SD storage card 130 132 can't trigger executive utility.And, also can not trigger executive utility simultaneously once after closing the write-protect switch 132 on the SD storage card 130, switch 240 does not then have any function for SD storage card 130.
Next please refer to Fig. 3, for according to activation that preferred embodiment of the present invention proposed/the close method flow diagram 300 of SD storage card 130 read functions, comprising following steps:
Step 310: in calculating punch, insert a SD storage card, and this calculating punch is coupled to an electronic installation;
Step 320: whether activation of the write-protect function of detecting SD storage card;
Step 322: when the write-protect function activation of SD storage card, electronic installation is carried out an application program;
Step 324: this calculating punch is kept the general operation pattern;
Step 330: select whether to continue executive utility;
Step 340:, whether have one first password in the detecting SD storage card if select to continue executive utility;
Step 350: do not have one first password if having in the SD storage card, application program then requires to input one second password;
Step 360: input second password;
Step 370: calculating punch transmits one and arranges in pairs or groups in first instruction of second password, reads the binding function with what close the SD storage card;
Step 380: second password is stored in the SD storage card;
Step 355: in the SD storage card, had first password, application program requires input one the 3rd password;
Step 365: input the 3rd password;
Step 375: whether the 3rd password of relatively being inputed is consistent with first password in the SD storage card;
Step 385: if the 3rd password is consistent with first password in the SD storage card, calculating punch transmits one second and instructs and read the binding function with activation SD storage card; And
Step 387:, keep reading of SD storage card and link the function closed condition if first password in the 3rd password and the SD storage card is inconsistent.
Basically if can reach identical result, the order of step is arranged or its continuity in the process flow diagram 300, must be not identical with foregoing.That is to say between aforesaid each step and still can insert other flow process, for example set up applications in electronic installation, and whether activation etc. of the write-protect function of detecting SD storage card.
In addition,, yet also can calculating punch 120,220 and electronic installation 110 be combined, become the electronic installation of an embedded card-reading function though calculating punch 120,220 is the interfacing equipment of electronic installation 110 as stated.Above-mentioned SD storage card 130 is for meeting the memory storage of secure digital memory card standards (secure digital memory card specification), for example SD card, SDHC card or SDXC card etc.
Compared to prior art, the present invention provides a kind of SD of control storage card to read the method for binding.Further,, when the write-protect function of detecting SD storage card activation, can trigger application program by this, and read the binding function in order to activation/releasing SD storage card like the described calculating punch of preferred embodiment of the present invention.
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 secure digital storage card links control method, it is characterized in that, comprising:
In a calculating punch, insert a secure digital storage card, wherein this calculating punch is coupled to an electronic installation;
When a write-protect function activation of this secure digital storage card, carry out an application program to detect whether there is one first password in this secure digital storage card;
When nothing in this secure digital storage card has one first password, input one second password; And
Transmission is arranged in pairs or groups in one first instruction of this second password, reads the binding function to close one of this secure digital storage card.
2. the method for claim 1 is characterized in that, also comprises: store this second password in this secure digital storage card.
3. the method for claim 1 is characterized in that, before carrying out this application program, also comprises: whether this write-protect function of detecting this secure digital storage card activation.
4. method as claimed in claim 3 is characterized in that, also comprises: provide an option in order to select whether to carry out this application program.
5. the method for claim 1 is characterized in that, after carrying out this application program, also comprises:
When having this first password in this secure digital storage card, input one the 3rd password;
Relatively whether the 3rd password is identical with this first password; And
When the 3rd password was identical with this first password, this of this secure digital storage card of activation read the binding function.
6. method as claimed in claim 5 is characterized in that, this of this secure digital storage card of activation reads that to link function be to transmit one second instruction through this calculating punch to give this secure digital storage card this reads the binding function with activation.
7. one kind in order to control the calculating punch that a secure digital storage card links, and it is characterized in that, comprising:
One connectivity port is in order to couple an electronic installation;
One card connection port is in order to couple this secure digital storage card;
One internal memory is in order to store a director data; And
One control module; Be coupled to this Port, this card connection port and this internal memory; Carry out and require input one password after the application program in order to trigger this electronic installation, and an instruction that transmits this password of collocation is given this secure digital storage card with activation or remove one of this secure digital storage card and read the binding function.
8. calculating punch as claimed in claim 7 is characterized in that, also comprises: a switch, whether desire to be triggered in order to select this application program.
9. one kind in order to control the electronic installation that a secure digital storage card links, and it is characterized in that, comprising:
One processor is in order to carry out an application program; And
One calculating punch, this calculating punch comprises:
One card connection port is in order to couple this secure digital storage card;
One internal memory is in order to store a director data; And
One control module; Be coupled to this Port, this card connection port and this internal memory; Require input one password in order to trigger after this processor is carried out this application program, and an instruction that transmits this password of collocation is given this secure digital storage card with activation or remove one of this secure digital storage card and read the binding function.
10. electronic installation as claimed in claim 9 is characterized in that, also comprises: a switch, whether desire to be triggered in order to select this application program.
CN2012100672758A 2011-03-24 2012-03-13 Method and apparatus for controlling access of a secure digital memory card Pending CN102750231A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US13/071,472 2011-03-24
US13/071,472 US20120246713A1 (en) 2011-03-24 2011-03-24 Method and apparatus for controlling access of a secure digital memory card

Publications (1)

Publication Number Publication Date
CN102750231A true CN102750231A (en) 2012-10-24

Family

ID=46878459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100672758A Pending CN102750231A (en) 2011-03-24 2012-03-13 Method and apparatus for controlling access of a secure digital memory card

Country Status (3)

Country Link
US (1) US20120246713A1 (en)
CN (1) CN102750231A (en)
TW (1) TW201239773A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368758A (en) * 2016-05-13 2017-11-21 北京迪文科技有限公司 A kind of management method of SD card interface

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9900307B2 (en) * 2014-02-27 2018-02-20 Pinsheng Sun Portable electronic card system and verifying method thereof
US12067261B2 (en) * 2021-07-15 2024-08-20 Rambus Inc. Serial presence detect logging

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6012146A (en) * 1995-10-27 2000-01-04 Ncr Corporation Password protection for removable hard drive
US20050060540A1 (en) * 1999-04-07 2005-03-17 Sony Corporation Security unit for use in memory card
US20070130414A1 (en) * 2000-01-06 2007-06-07 Super Talent Electronics Inc. Secure-Digital (SD) Flash Card with Slanted Asymmetric Circuit Board
CN101320355A (en) * 2007-06-04 2008-12-10 群联电子股份有限公司 Memory device, storing card access apparatus and its read-write method
US7844831B2 (en) * 2002-09-20 2010-11-30 Atmel Corporation Secure memory device for smart cards

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3025502B2 (en) * 1987-03-16 2000-03-27 日立マクセル株式会社 Semiconductor memory device
JP3120749B2 (en) * 1997-03-04 2000-12-25 日本電気株式会社 Removable storage device for portable terminal device
US6643783B2 (en) * 1999-10-27 2003-11-04 Terence T. Flyntz Multi-level secure computer with token-based access control
GB2369202B (en) * 2000-08-31 2003-03-19 Sun Microsystems Inc Computer system and method of operating a computer system
DE602006017422D1 (en) * 2005-11-07 2010-11-18 Panasonic Corp PORTABLE AUXILIARY MEMORY DEVICE
KR20090067649A (en) * 2007-12-21 2009-06-25 삼성전자주식회사 Memory system having secure storage device and method of managing secure area thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6012146A (en) * 1995-10-27 2000-01-04 Ncr Corporation Password protection for removable hard drive
US20050060540A1 (en) * 1999-04-07 2005-03-17 Sony Corporation Security unit for use in memory card
US20070130414A1 (en) * 2000-01-06 2007-06-07 Super Talent Electronics Inc. Secure-Digital (SD) Flash Card with Slanted Asymmetric Circuit Board
US7844831B2 (en) * 2002-09-20 2010-11-30 Atmel Corporation Secure memory device for smart cards
CN101320355A (en) * 2007-06-04 2008-12-10 群联电子股份有限公司 Memory device, storing card access apparatus and its read-write method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368758A (en) * 2016-05-13 2017-11-21 北京迪文科技有限公司 A kind of management method of SD card interface

Also Published As

Publication number Publication date
TW201239773A (en) 2012-10-01
US20120246713A1 (en) 2012-09-27

Similar Documents

Publication Publication Date Title
RU2445676C2 (en) Method of communication with multifunctional memory card
CN104471600A (en) Safety unit management method and terminal
TWI295020B (en) Method, electronic appliance and apparatus to generate an interrupt by monitoring an external interface, and storage medium recording instruction software to generate an interrupt by monitoring an external interface
US20090240885A1 (en) Memory card complying with a plurality of standards
US20120242167A1 (en) Method for Logically Disconnecting a USB Device from a Host without Mechanical Disconnection
CN101295255A (en) Firmware updating system and method
CN101719115B (en) Communication method, device and system for main control processor and coprocessor system
CN102609741A (en) Mobile device and method for exchange data between internal and external storage cards
CN100476851C (en) Protection system for data security transmission between computer and disc
CN103530065A (en) Storage control method
CN102750231A (en) Method and apparatus for controlling access of a secure digital memory card
CN102722430B (en) Method and device for detecting hot plug of secure digital card
CN104035730A (en) File write-in method, device and wireless storage equipment
CN105872955B (en) Integrate the touch-control integrated circuit and its near field communication method of near-field communication
TW201331752A (en) Detecting method and apparatus for hot swapped SD card
US20090100238A1 (en) Memory card and memory card control changeover method
CN102223227B (en) Safe and intelligent code memory chip and automatic communication file reestablishing method thereof
CN111935405B (en) Camera equipment control method, system, equipment and medium
CN101533372B (en) Data accessing system
CN105404467B (en) The access method of portable electronic device and wherein user data
CN101840344B (en) USB (Universal Serial Bus) device and method for automatically opening same on computer
CN101533373B (en) Data accessing system
US7975912B2 (en) Method and system for operating a hybrid card reader
CN202134016U (en) Safety intelligent password storage chip capable of reconstructing communication files automatically
CN201522717U (en) Intelligence card data processing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20121024