CN103914263A - SD card and device and method for accessing SD card - Google Patents
SD card and device and method for accessing SD card Download PDFInfo
- Publication number
- CN103914263A CN103914263A CN201310001714.XA CN201310001714A CN103914263A CN 103914263 A CN103914263 A CN 103914263A CN 201310001714 A CN201310001714 A CN 201310001714A CN 103914263 A CN103914263 A CN 103914263A
- Authority
- CN
- China
- Prior art keywords
- card
- transmission channel
- data transmission
- access
- equipment
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/78—Protecting 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/79—Protecting 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Storage Device Security (AREA)
Abstract
The invention provides an SD card and a device and method for accessing the SD card. The SD card can establish a data transmission channel by receiving data transmission channel establishing instructions coming from the device accessing the SD card on an interface document with a specific document name, and if the SD card comprises a security module, security information interaction between the device accessing the SD card and the security module in the SD card can be performed through the data transmission channel. According to the SD card and the device and method for accessing the SD card, a drive program does not need to be loaded in advance, and inconformity between an FAT table maintained by an operating system of the device accessing the intelligent SD card and a true FAT table of the intelligent SD card can be avoided.
Description
Technical field
The Apparatus and method for that the present invention relates to SD card and access SD card, more specifically, relates to the Apparatus and method for of intelligent SD card and access intelligent SD card.
Background technology
At present, along with becoming increasingly abundant of the class of business of the increasingly extensive and different field of cyber-net application, in SD card, embed intelligent and safe module and become more and more important with the safe storage and the calculating that realize application and data.
The method of existing access intelligent SD card is accessed security module embedded in this intelligent SD card in following two kinds of modes conventionally: (1) is by the mode access security module of driver; (2), by the ordinary file read-write interface access security module of SD card, utilize preset special file in SD card file system to distinguish ordinary file read write command and the order for security module.
But there are the following problems for the method for existing access intelligent SD card: (1) is for first kind of way, because the equipment of access intelligent SD card is not all to have loaded relevant driver, therefore the usable range of which is restricted; (2) for the second way; owing to need in the FAT of intelligent SD card table, described preset special file being carried out to the safeguard measure that can not revise; therefore when user relates to and revises when this special file (such as format the operation of intelligent SD card; when deletion or this preset file of rename); can cause the table of the FAT corresponding to this intelligent SD card of safeguarding in the operating system of FAT in this intelligent SD card table and the equipment of this intelligent SD card of access inconsistent, thereby cause the appearance of the phenomenons such as follow-up user file loss.
Therefore, there is following demand: provide without pre-loaded driver and can avoid the FAT table of safeguarding in the operating system of the equipment of accessing intelligent SD card to show inconsistent SD card and the Apparatus and method for of accessing SD card with the real FAT of intelligent SD card.
Summary of the invention
In order to solve the existing problem of above-mentioned prior art scheme, the present invention proposes without pre-loaded driver and can avoid the FAT table of safeguarding in the operating system of the equipment of accessing intelligent SD card to show inconsistent SD card and the Apparatus and method for of accessing SD card with the real FAT of intelligent SD card.
The object of the invention is to be achieved through the following technical solutions:
A kind of equipment of accessing SD card, the equipment of described access SD card sets up by sending data transmission channel to the interface document with particular file name of SD card the type that instruction is set up data transmission channel and determined described SD card by described data transmission channel, if determine that the type of described SD card is intelligent SD card, by described data transmission channel carry out with described SD card in the safety information of security module mutual, and close described data transmission channel by sending data transmission channel out code to the described interface document with particular file name after described safety information is complete alternately.
In the above in disclosed scheme, preferably, the equipment of described access SD card determined by the mode of retrieval described SD card has the interface document of particular file name described in whether existing before the described SD card of access, and if there is the interface document of particular file name described in definite described SD card does not exist, in described SD card, create the interface document with this particular file name.
In the above in disclosed scheme, preferably, the equipment of described access SD card sends described data transmission channel by the Write order of SD card normal data read-write protocol to the described interface document with particular file name and sets up instruction, wherein, described data transmission channel is set up instruction and is comprised order data condition code.
In the above in disclosed scheme, preferably, the equipment of described access SD card reads described SD card by the Read order of SD card normal data read-write protocol from the described interface document with particular file name and sets up the response message of instruction for described data transmission channel, and if described response message comprises response data condition code, the type of determining described SD card is intelligent SD card, and subsequently by described data transmission channel carry out with described SD card in the safety information of security module mutual, if and described response message does not comprise response data condition code, the type of determining described SD card is conventional SD card.
In the above in disclosed scheme, preferably, the equipment of described access SD card set up after described data transmission channel, carry out as follows with described SD card in the safety information of security module mutual: the Write order by SD card normal data read-write protocol is to described SD card transmission packet, the corresponding logical address of interface document and described Write order that the writing address of wherein said Write order has particular file name described in being comprise order data condition code, and read described SD card for the mutual response message of described safety information by the Read order of SD card normal data read-write protocol from the described interface document with particular file name, wherein said response message comprises response data condition code.
In the above in disclosed scheme, preferably, the equipment of described access SD card can set up after described data transmission channel Write order by the SD card normal data read-write protocol conventional memory module data writing to described SD card.
In the above in disclosed scheme, preferably, the equipment of described access SD card sends data transmission channel out code by the Write order of SD card normal data read-write protocol to described SD card and closes described data transmission channel after described safety information is complete alternately, the writing address of wherein said Write order has the corresponding logical address of interface document of particular file name described in being, and described data transmission channel out code comprises order data condition code.
Object of the present invention also can be achieved through the following technical solutions:
A kind of SD card, described SD card can be set up instruction from the data transmission channel of the equipment of access SD card by reception on the interface document with particular file name and set up data transmission channel, and if described SD card comprises security module, can carry out safety information between the security module in equipment and the described SD card of described access SD card by described data transmission channel subsequently mutual, and described data transmission channel is closed in the data transmission channel out code of the equipment from described access SD card based on receiving by the described interface document with particular file name after described safety information is complete alternately.
In the above in disclosed scheme, preferably, described SD card can be in the case of thering is the interface document of particular file name described in not existing the equipment based on described access SD card instruction and described in creating, there is the interface document of particular file name.
In the above in disclosed scheme, preferably, described SD cartoon is crossed the Write order of SD card normal data read-write protocol and on the described interface document with particular file name, is received described data transmission channel and sets up instruction, wherein, described data transmission channel is set up instruction and is comprised order data condition code.
In disclosed scheme, preferably, described SD card is set up described data transmission channel as follows in the above: set up order data condition code in instruction based on described data transmission channel and identify this data transmission channel and set up instruction; Described in recording in the register of described SD card, have particular file name interface document logical address and set it as data transmission channel entry address, start simultaneously read write command analytic function with judge all SD card normal data read write commands follow-up, that received before described data transmission channel is closed for destination address whether be described data transmission channel entry address; Build and set up the response message of instruction for described data transmission channel, and described in being write, described response message has in the interface document of particular file name, wherein, if described SD card comprises security module, described response message comprises response data condition code, if and described SD card does not comprise security module, described response message is the copy that described data transmission channel is set up instruction.
In the above in disclosed scheme, preferably, described SD is stuck in and sets up the SD card normal data read write command of processing as follows the equipment from described access SD card receiving after described data transmission channel: receive the equipment of described access SD card by the packet of the Write order transmission of SD card normal data read-write protocol, analyze described packet to judge whether the writing address in described Write order is described data transmission channel entry address, if the writing address in described Write order is not described data transmission channel entry address, to the appropriate address data writing in the conventional memory module of described SD card, if the writing address in described Write order is described data transmission channel entry address, further judge whether described packet comprises order data condition code, and if described packet does not comprise order data condition code, abandon this packet end process process, if and described packet comprises order data condition code, further analyze the particular content of described packet, and complete and the information interaction of described security module based on described particular content, and have in the interface document of particular file name based on information interaction result structure response data and described in described response data is write, equipment for described access SD card reads by the Read order of SD card normal data read-write protocol.
In the above in disclosed scheme, preferably, described SD closes described data transmission channel after being stuck in the data transmission channel out code receiving from the equipment of described access SD card as follows: identify described data transmission channel out code by writing address, order data condition code and particular content; Described in removing that the register of described SD card records, there is the logical address of the interface document of particular file name, and close described read write command analytic function; Described in structure writes for the response data of described data transmission channel out code and by described response data, have in the interface document of particular file name, read by the Read order of SD card normal data read-write protocol for the equipment of described access SD card.
Object of the present invention also can be achieved through the following technical solutions:
Access a method for SD card, the method for described access SD card comprises the following steps:
(A1) equipment of access SD card sends data transmission channel to the interface document with particular file name of SD card and sets up instruction;
(A2) described SD card is set up instruction based on described data transmission channel and is set up data transmission channel;
(A3) type of described SD card is determined in the response that described equipment of accessing SD card is set up instruction by analyzing described data transmission channel, if determine that the type of described SD card is intelligent SD card, by described data transmission channel carry out with described SD card in the safety information of security module mutual;
(A4) equipment of described access SD card is mutual complete rear to the described interface document transmission data transmission channel out code with particular file name at described safety information;
(A5) described SD card is closed described data transmission channel based on described data transmission channel out code.
The Apparatus and method for of SD card disclosed in this invention and access SD card has the following advantages: (1) is without pre-loaded driver, therefore expanded usable range; (2) the FAT table that can avoid safeguarding in the operating system of the equipment of accessing intelligent SD card and the real FAT table inconsistent (without the interface document with particular file name is carried out to special protection) of intelligent SD card, thus reliability improved.
Accompanying drawing explanation
By reference to the accompanying drawings, technical characterictic of the present invention and advantage will be understood better by those skilled in the art, wherein:
Fig. 1 is the schematic diagram of the equipment of SD card and access SD card according to an embodiment of the invention;
Fig. 2 is the process flow diagram of accessing according to an embodiment of the invention the method for SD card.
Embodiment
Fig. 1 is the schematic diagram of the equipment of SD card and access SD card according to an embodiment of the invention.As shown in Figure 1, the equipment of access disclosed in this invention SD card is by having particular file name (exemplarily to SD card, this particular file name by configuration mode and preset) interface document send data transmission channel set up the type that instruction is set up data transmission channel and determined described SD card by described data transmission channel, if determine that the type of described SD card is intelligent SD card (having embedded intelligent and safe module in SD card), by described data transmission channel carry out with described SD card in safety information (the i.e. information higher to security requirement of security module, the for example Transaction Information in financial field) mutual, and close described data transmission channel by sending data transmission channel out code to the described interface document with particular file name after described safety information is complete alternately.
Preferably, the equipment of access disclosed in this invention SD card determined by the mode of retrieval described SD card has the interface document of particular file name described in whether existing before the described SD card of access, and if there is the interface document of particular file name described in definite described SD card does not exist, in described SD card, create the interface document with this particular file name.
Preferably, the equipment of access SD card disclosed in this invention sends described data transmission channel by the Write order of SD card normal data read-write protocol to the described interface document with particular file name and sets up instruction, wherein, described data transmission channel is set up instruction and is comprised order data condition code.
Preferably, the equipment of access SD card disclosed in this invention reads described SD card by the Read order of SD card normal data read-write protocol from the described interface document with particular file name and sets up the response message of instruction for described data transmission channel, and if described response message comprises response data condition code, the type of determining described SD card is intelligent SD card, and subsequently by described data transmission channel carry out with described SD card in the safety information of security module mutual, if and described response message does not comprise response data condition code, the type of determining described SD card is conventional SD card (being that described SD card is not supported for the safety information of security module mutual).
Preferably, the equipment of access disclosed in this invention SD card set up after described data transmission channel, carry out as follows with described SD card in the safety information of security module mutual: the Write order by SD card normal data read-write protocol is to described SD card transmission packet, the corresponding logical address of interface document and described Write order that the writing address of wherein said Write order has particular file name described in being comprise order data condition code, and read described SD card for the mutual response message of described safety information by the Read order of SD card normal data read-write protocol from the described interface document with particular file name, wherein said response message comprises response data condition code.
Preferably, the equipment of access disclosed in this invention SD card can set up after conventional memory module data writing from described data transmission channel to described SD card of Write order by SD card normal data read-write protocol (i.e. this Write order is the conventional memory module for SD card, rather than for the security module in SD card).
Preferably, the equipment of access SD card disclosed in this invention sends data transmission channel out code by the Write order of SD card normal data read-write protocol to described SD card and closes described data transmission channel after described safety information is complete alternately, the writing address of wherein said Write order has the corresponding logical address of interface document of particular file name described in being, and described data transmission channel out code comprises order data condition code.
As shown in Figure 1, SD card disclosed in this invention can be by having particular file name (exemplarily, this particular file name is preset by the mode of configuration) interface document on receive and set up instruction from the data transmission channel of the equipment of access SD card and set up data transmission channel, and if described SD card comprises security module, can carry out safety information (the i.e. information higher to security requirement between the security module in equipment and the described SD card of described access SD card by described data transmission channel subsequently, the for example Transaction Information in financial field) mutual, and described data transmission channel is closed in the data transmission channel out code of the equipment from described access SD card based on receiving by the described interface document with particular file name after described safety information is complete alternately.
Preferably, SD card disclosed in this invention can be in the case of thering is the interface document of particular file name described in not existing equipment based on described access SD card instruction and described in creating, there is the interface document of particular file name.
Preferably, SD cartoon disclosed in this invention is crossed the Write order of SD card normal data read-write protocol and on the described interface document with particular file name, is received described data transmission channel and sets up instruction, wherein, described data transmission channel is set up instruction and is comprised order data condition code.
Preferably, SD card disclosed in this invention is set up described data transmission channel as follows: set up order data condition code in instruction based on described data transmission channel and identify this data transmission channel and set up instruction, described in recording in the register of described SD card, have particular file name interface document logical address and set it as data transmission channel entry address, start simultaneously read write command analytic function with judge all SD card normal data read write commands follow-up, that received before described data transmission channel is closed for destination address (being the reading address in writing address and the Read order in Write order) whether be described data transmission channel entry address, build and set up the response message of instruction for described data transmission channel, and described in being write, described response message has in the interface document of particular file name, wherein, if described SD card comprises security module, described response message comprises that response data condition code (is response data condition code by order data signature update, this response data condition code is different from described order data condition code), if and described SD card does not comprise security module, described response message is the copy (being that it only comprises order data condition code) that described data transmission channel is set up instruction.
Preferably, SD disclosed in this invention is stuck in and sets up the SD card normal data read write command of processing as follows the equipment from described access SD card receiving after described data transmission channel: receive the equipment of described access SD card by the packet of the Write order transmission of SD card normal data read-write protocol, analyze described packet to judge whether the writing address in described Write order is described data transmission channel entry address, if the writing address in described Write order is not described data transmission channel entry address, to the appropriate address data writing (being the conventional write operation of common SD card) in the conventional memory module of described SD card, if the writing address in described Write order is described data transmission channel entry address, further judge whether described packet comprises order data condition code, and if described packet does not comprise order data condition code, abandon this packet end process process, if and described packet comprises order data condition code, further analyze the particular content of described packet, and complete and the information interaction of described security module based on described particular content, and have in the interface document of particular file name based on information interaction result structure response data and described in described response data is write, equipment for described access SD card reads by the Read order of SD card normal data read-write protocol.
Preferably, SD disclosed in this invention closes described data transmission channel after being stuck in the data transmission channel out code receiving from the equipment of described access SD card as follows: identify described data transmission channel out code by writing address, order data condition code and particular content; Described in removing that the register of described SD card records, there is the logical address (transmission channel that clears data entry address) of the interface document of particular file name, and close described read write command analytic function (close following function: the SD card normal data read write command that judgement receives for destination address (being the reading address in writing address and the Read order in Write order) whether be described data transmission channel entry address); Described in structure writes for the response data of described data transmission channel out code and by described response data, have in the interface document of particular file name, read by the Read order of SD card normal data read-write protocol for the equipment of described access SD card.
Fig. 2 is the process flow diagram of accessing according to an embodiment of the invention the method for SD card.As shown in Figure 2, the method of access SD card disclosed in this invention comprises the following steps: that the equipment of (A1) access SD card sends data transmission channel to the interface document with particular file name (exemplarily, this particular file name is preset by the mode of configuration) of SD card and sets up instruction; (A2) described SD card is set up instruction based on described data transmission channel and is set up data transmission channel; (A3) type of described SD card is determined in the response that described equipment of accessing SD card is set up instruction by analyzing described data transmission channel, if determine that the type of described SD card is intelligent SD card (having embedded intelligent and safe module in SD card), by described data transmission channel carry out with described SD card in the safety information (i.e. the information higher to security requirement, for example Transaction Information in financial field) of security module mutual; (A4) equipment of described access SD card is mutual complete rear to the described interface document transmission data transmission channel out code with particular file name at described safety information; (A5) described SD card is closed described data transmission channel based on described data transmission channel out code.
Preferably, in the method for access SD card disclosed in this invention, described step (A1) further comprises: the equipment of described access SD card determined by the mode of retrieval described SD card has the interface document of particular file name described in whether existing before the described SD card of access, and if there is the interface document of particular file name described in definite described SD card does not exist, in described SD card, create the interface document with this particular file name.
Preferably, in the method for access SD card disclosed in this invention, the equipment of described access SD card sends described data transmission channel by the Write order of SD card normal data read-write protocol to the described interface document with particular file name and sets up instruction, wherein, described data transmission channel is set up instruction and is comprised order data condition code.
Preferably, in the method for access SD card disclosed in this invention, the equipment of described access SD card reads described SD card by the Read order of SD card normal data read-write protocol from the described interface document with particular file name and sets up the response message of instruction for described data transmission channel, and if described response message comprises response data condition code, the type of determining described SD card is intelligent SD card, and subsequently by described data transmission channel carry out with described SD card in the safety information of security module mutual, if and described response message does not comprise response data condition code, the type of determining described SD card is conventional SD card (being that described SD card is not supported for the safety information of security module mutual).
Preferably, in the method for access SD card disclosed in this invention, the equipment of described access SD card set up after described data transmission channel, carry out as follows with described SD card in the safety information of security module mutual: the Write order by SD card normal data read-write protocol is to described SD card transmission packet, the corresponding logical address of interface document and described Write order that the writing address of wherein said Write order has particular file name described in being comprise order data condition code, and read described SD card for the mutual response message of described safety information by the Read order of SD card normal data read-write protocol from the described interface document with particular file name, wherein said response message comprises response data condition code.
Preferably, in the method for access SD card disclosed in this invention, the equipment of described access SD card can set up after conventional memory module data writing from described data transmission channel to described SD card of Write order by SD card normal data read-write protocol (i.e. this Write order is the conventional memory module for SD card, rather than for the security module in SD card).
Preferably, in the method for access SD card disclosed in this invention, the equipment of described access SD card sends data transmission channel out code by the Write order of SD card normal data read-write protocol to described SD card and closes described data transmission channel after described safety information is complete alternately, the writing address of wherein said Write order has the corresponding logical address of interface document of particular file name described in being, and described data transmission channel out code comprises order data condition code.
Preferably, in the method for access disclosed in this invention SD card, described SD card is set up described data transmission channel as follows: set up order data condition code in instruction based on described data transmission channel and identify this data transmission channel and set up instruction, described in recording in the register of described SD card, have particular file name interface document logical address and set it as data transmission channel entry address, start simultaneously read write command analytic function with judge all SD card normal data read write commands follow-up, that received before described data transmission channel is closed for destination address (being the reading address in writing address and the Read order in Write order) whether be described data transmission channel entry address, build and set up the response message of instruction for described data transmission channel, and described in being write, described response message has in the interface document of particular file name, wherein, if described SD card comprises security module, described response message comprises that response data condition code (is response data condition code by order data signature update, this response data condition code is different from described order data condition code), if and described SD card does not comprise security module, described response message is the copy (being that it only comprises order data condition code) that described data transmission channel is set up instruction.
Preferably, in the method for access disclosed in this invention SD card, described SD is stuck in and sets up the SD card normal data read write command of processing as follows the equipment from described access SD card receiving after described data transmission channel: receive the equipment of described access SD card by the packet of the Write order transmission of SD card normal data read-write protocol, analyze described packet to judge whether the writing address in described Write order is described data transmission channel entry address, if the writing address in described Write order is not described data transmission channel entry address, to the appropriate address data writing (being the conventional write operation of common SD card) in the conventional memory module of described SD card, if the writing address in described Write order is described data transmission channel entry address, further judge whether described packet comprises order data condition code, and if described packet does not comprise order data condition code, abandon this packet end process process, if and described packet comprises order data condition code, further analyze the particular content of described packet, and complete and the information interaction of described security module based on described particular content, and have in the interface document of particular file name based on information interaction result structure response data and described in described response data is write, equipment for described access SD card reads by the Read order of SD card normal data read-write protocol.
Preferably, in the method for access disclosed in this invention SD card, described SD closes described data transmission channel after being stuck in the data transmission channel out code receiving from the equipment of described access SD card as follows: identify described data transmission channel out code by writing address, order data condition code and particular content; Described in removing that the register of described SD card records, there is the logical address (transmission channel that clears data entry address) of the interface document of particular file name, and close described read write command analytic function (close following function: the SD card normal data read write command that judgement receives for destination address (being the reading address in writing address and the Read order in Write order) whether be described data transmission channel entry address); Described in structure writes for the response data of described data transmission channel out code and by described response data, have in the interface document of particular file name, read by the Read order of SD card normal data read-write protocol for the equipment of described access SD card.
Therefore the Apparatus and method for of SD card disclosed in this invention and access SD card has following advantages: (1) is without pre-loaded driver, therefore expanded usable range; (2) the FAT table that can avoid safeguarding in the operating system of the equipment of accessing intelligent SD card and the real FAT table inconsistent (without the interface document with particular file name is carried out to special protection) of intelligent SD card, thus reliability improved.
Although the present invention is described by above-mentioned preferred implementation, its way of realization is not limited to above-mentioned embodiment.Should be realized that: in the situation that not departing from purport of the present invention and scope, those skilled in the art can make different variations and modification to the present invention.
Claims (14)
1. access the equipment of SD card for one kind, the equipment of described access SD card sets up by sending data transmission channel to the interface document with particular file name of SD card the type that instruction is set up data transmission channel and determined described SD card by described data transmission channel, if determine that the type of described SD card is intelligent SD card, by described data transmission channel carry out with described SD card in the safety information of security module mutual, and close described data transmission channel by sending data transmission channel out code to the described interface document with particular file name after described safety information is complete alternately.
2. the equipment of access SD card according to claim 1, it is characterized in that, the equipment of described access SD card determined by the mode of retrieval described SD card has the interface document of particular file name described in whether existing before the described SD card of access, and if there is the interface document of particular file name described in definite described SD card does not exist, in described SD card, create the interface document with this particular file name.
3. the equipment of access SD card according to claim 2, it is characterized in that, the equipment of described access SD card sends described data transmission channel by the Write order of SD card normal data read-write protocol to the described interface document with particular file name and sets up instruction, wherein, described data transmission channel is set up instruction and is comprised order data condition code.
4. the equipment of access SD card according to claim 3, it is characterized in that, the equipment of described access SD card reads described SD card by the Read order of SD card normal data read-write protocol from the described interface document with particular file name and sets up the response message of instruction for described data transmission channel, and if described response message comprises response data condition code, the type of determining described SD card is intelligent SD card, and subsequently by described data transmission channel carry out with described SD card in the safety information of security module mutual, if and described response message does not comprise response data condition code, the type of determining described SD card is conventional SD card.
5. the equipment of access SD card according to claim 4, it is characterized in that, the equipment of described access SD card set up after described data transmission channel, carry out as follows with described SD card in the safety information of security module mutual: the Write order by SD card normal data read-write protocol is to described SD card transmission packet, the corresponding logical address of interface document and described Write order that the writing address of wherein said Write order has particular file name described in being comprise order data condition code, and read described SD card for the mutual response message of described safety information by the Read order of SD card normal data read-write protocol from the described interface document with particular file name, wherein said response message comprises response data condition code.
6. the equipment of access SD card according to claim 5, it is characterized in that, the equipment of described access SD card can set up after described data transmission channel Write order by the SD card normal data read-write protocol conventional memory module data writing to described SD card.
7. the equipment of access SD card according to claim 6, it is characterized in that, the equipment of described access SD card sends data transmission channel out code by the Write order of SD card normal data read-write protocol to described SD card and closes described data transmission channel after described safety information is complete alternately, the writing address of wherein said Write order has the corresponding logical address of interface document of particular file name described in being, and described data transmission channel out code comprises order data condition code.
8. a SD card, described SD card can be set up instruction from the data transmission channel of the equipment of access SD card by reception on the interface document with particular file name and set up data transmission channel, and if described SD card comprises security module, can carry out safety information between the security module in equipment and the described SD card of described access SD card by described data transmission channel subsequently mutual, and described data transmission channel is closed in the data transmission channel out code of the equipment from described access SD card based on receiving by the described interface document with particular file name after described safety information is complete alternately.
9. SD card according to claim 8, is characterized in that, described SD card can be in the case of thering is the interface document of particular file name described in not existing equipment based on described access SD card instruction and described in creating, there is the interface document of particular file name.
10. SD card according to claim 9, it is characterized in that, described SD cartoon is crossed the Write order of SD card normal data read-write protocol and on the described interface document with particular file name, is received described data transmission channel and sets up instruction, wherein, described data transmission channel is set up instruction and is comprised order data condition code.
11. SD cards according to claim 10, is characterized in that, described SD card is set up described data transmission channel as follows: set up order data condition code in instruction based on described data transmission channel and identify this data transmission channel and set up instruction; Described in recording in the register of described SD card, have particular file name interface document logical address and set it as data transmission channel entry address, start simultaneously read write command analytic function with judge all SD card normal data read write commands follow-up, that received before described data transmission channel is closed for destination address whether be described data transmission channel entry address; Build and set up the response message of instruction for described data transmission channel, and described in being write, described response message has in the interface document of particular file name, wherein, if described SD card comprises security module, described response message comprises response data condition code, if and described SD card does not comprise security module, described response message is the copy that described data transmission channel is set up instruction.
12. SD cards according to claim 11, it is characterized in that, described SD is stuck in and sets up the SD card normal data read write command of processing as follows the equipment from described access SD card receiving after described data transmission channel: receive the equipment of described access SD card by the packet of the Write order transmission of SD card normal data read-write protocol, analyze described packet to judge whether the writing address in described Write order is described data transmission channel entry address, if the writing address in described Write order is not described data transmission channel entry address, to the appropriate address data writing in the conventional memory module of described SD card, if the writing address in described Write order is described data transmission channel entry address, further judge whether described packet comprises order data condition code, and if described packet does not comprise order data condition code, abandon this packet end process process, if and described packet comprises order data condition code, further analyze the particular content of described packet, and complete and the information interaction of described security module based on described particular content, and have in the interface document of particular file name based on information interaction result structure response data and described in described response data is write, equipment for described access SD card reads by the Read order of SD card normal data read-write protocol.
13. SD cards according to claim 12, it is characterized in that, described SD closes described data transmission channel after being stuck in the data transmission channel out code receiving from the equipment of described access SD card as follows: identify described data transmission channel out code by writing address, order data condition code and particular content; Described in removing that the register of described SD card records, there is the logical address of the interface document of particular file name, and close described read write command analytic function; Described in structure writes for the response data of described data transmission channel out code and by described response data, have in the interface document of particular file name, read by the Read order of SD card normal data read-write protocol for the equipment of described access SD card.
Access the method for SD card for 14. 1 kinds, the method for described access SD card comprises the following steps:
(A1) equipment of access SD card sends data transmission channel to the interface document with particular file name of SD card and sets up instruction;
(A2) described SD card is set up instruction based on described data transmission channel and is set up data transmission channel;
(A3) type of described SD card is determined in the response that described equipment of accessing SD card is set up instruction by analyzing described data transmission channel, if determine that the type of described SD card is intelligent SD card, by described data transmission channel carry out with described SD card in the safety information of security module mutual;
(A4) equipment of described access SD card is mutual complete rear to the described interface document transmission data transmission channel out code with particular file name at described safety information;
(A5) described SD card is closed described data transmission channel based on described data transmission channel out code.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310001714.XA CN103914263B (en) | 2013-01-05 | 2013-01-05 | SD card and the device and method for accessing SD card |
PCT/CN2014/070020 WO2014106464A1 (en) | 2013-01-05 | 2014-01-02 | Sd card and device and method for accessing sd card |
HK15100073.3A HK1199666A1 (en) | 2013-01-05 | 2015-01-06 | Sd card and device and method for accessing sd card sd sd |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310001714.XA CN103914263B (en) | 2013-01-05 | 2013-01-05 | SD card and the device and method for accessing SD card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103914263A true CN103914263A (en) | 2014-07-09 |
CN103914263B CN103914263B (en) | 2018-01-23 |
Family
ID=51039975
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310001714.XA Active CN103914263B (en) | 2013-01-05 | 2013-01-05 | SD card and the device and method for accessing SD card |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN103914263B (en) |
HK (1) | HK1199666A1 (en) |
WO (1) | WO2014106464A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108111525A (en) * | 2017-12-29 | 2018-06-01 | 成都三零嘉微电子有限公司 | A kind of method that SD card communication protocol using extension realizes data encrypting and deciphering business |
CN112287356A (en) * | 2020-11-11 | 2021-01-29 | 西安四叶草信息技术有限公司 | Computer system security evaluation method and system |
CN115499483A (en) * | 2022-08-30 | 2022-12-20 | 深圳市德明利技术股份有限公司 | Method and device for establishing private command channel, storage medium and memory card |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101383017A (en) * | 2007-09-06 | 2009-03-11 | 中国银联股份有限公司 | Intelligent SD card and intelligent SD card access method |
US20090313396A1 (en) * | 2008-06-13 | 2009-12-17 | Phison Electronics Corp. | System, controller and method thereof for transmitting and distributing data stream |
CN101840379A (en) * | 2010-04-26 | 2010-09-22 | 苏州国芯科技有限公司 | Data transmission method of SD card controller |
CN102520878A (en) * | 2011-10-25 | 2012-06-27 | 深圳市江波龙电子有限公司 | Method and system for visiting intelligent secure digital (SD) card |
-
2013
- 2013-01-05 CN CN201310001714.XA patent/CN103914263B/en active Active
-
2014
- 2014-01-02 WO PCT/CN2014/070020 patent/WO2014106464A1/en active Application Filing
-
2015
- 2015-01-06 HK HK15100073.3A patent/HK1199666A1/en unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101383017A (en) * | 2007-09-06 | 2009-03-11 | 中国银联股份有限公司 | Intelligent SD card and intelligent SD card access method |
US20090313396A1 (en) * | 2008-06-13 | 2009-12-17 | Phison Electronics Corp. | System, controller and method thereof for transmitting and distributing data stream |
CN101840379A (en) * | 2010-04-26 | 2010-09-22 | 苏州国芯科技有限公司 | Data transmission method of SD card controller |
CN102520878A (en) * | 2011-10-25 | 2012-06-27 | 深圳市江波龙电子有限公司 | Method and system for visiting intelligent secure digital (SD) card |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108111525A (en) * | 2017-12-29 | 2018-06-01 | 成都三零嘉微电子有限公司 | A kind of method that SD card communication protocol using extension realizes data encrypting and deciphering business |
CN112287356A (en) * | 2020-11-11 | 2021-01-29 | 西安四叶草信息技术有限公司 | Computer system security evaluation method and system |
CN112287356B (en) * | 2020-11-11 | 2023-12-22 | 西安四叶草信息技术有限公司 | Computer system security assessment method and system |
CN115499483A (en) * | 2022-08-30 | 2022-12-20 | 深圳市德明利技术股份有限公司 | Method and device for establishing private command channel, storage medium and memory card |
Also Published As
Publication number | Publication date |
---|---|
WO2014106464A1 (en) | 2014-07-10 |
HK1199666A1 (en) | 2015-07-10 |
CN103914263B (en) | 2018-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2445676C2 (en) | Method of communication with multifunctional memory card | |
JP2008547068A (en) | USB-SD storage device having a plurality of DMA channels, storage method thereof and recording medium | |
US8266713B2 (en) | Method, system and controller for transmitting and dispatching data stream | |
US20240264915A1 (en) | Data storage method and apparatus, and electronic device and readable storage medium | |
CN101236531B (en) | Memory and its automatic protection realization method | |
CN105205142A (en) | Method, device and mobile terminal for saving log file | |
US20140337301A1 (en) | Big data extraction system and method | |
CN106844597A (en) | The method and its device of a kind of quick deletion dependent snapshot target volume | |
CN101551838B (en) | Identity authentication method and system of memory card | |
CN102567081B (en) | Based on overall method to set up and the system of multi-process | |
CN106951790A (en) | USB storage medium transparent encryption methods | |
CN102722430B (en) | Method and device for detecting hot plug of secure digital card | |
CN103914263A (en) | SD card and device and method for accessing SD card | |
CN105446856A (en) | Electronic device interface detection method and apparatus | |
CN103177019B (en) | Usb storage device and driving method thereof | |
US20100287616A1 (en) | Controller capable of preventing spread of computer viruses and storage system and method thereof | |
CN111443991A (en) | Smart card control method and device and smart card | |
CN101587427B (en) | Method for realizing control of storage card by digital equipment by expanding SD/MMC protocol | |
CN101533372B (en) | Data accessing system | |
CN204463134U (en) | SATA hard disc Write-protect system | |
CN109254953A (en) | A kind of data-erasure method based on FAT file, data storage device and system | |
CN105844151B (en) | File storage protection implementation method and system | |
US20190294806A1 (en) | Method and system for implementing data secure deletion in mobile terminal | |
CN115543876B (en) | Method and device for verifying address decoding function, electronic equipment and medium | |
KR101455539B1 (en) | Ic card and ic card control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1199666 Country of ref document: HK |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: GR Ref document number: 1199666 Country of ref document: HK |