Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for reading and writing SD card (Secure Digital Memory Card) based on ISO/IEC7816-3 interface

A technology of SPI interface and interface, which is applied in the field of mobile communication, can solve the problems such as the equipment does not have universality, achieve the effect of low cost and solve limitations

Inactive Publication Date: 2012-12-19
EASTCOMPEACE TECH
View PDF2 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, most of the devices on the market today are mainly based on USB, ISO / IEC7816 interfaces, and serial ports, and it is not universal to realize the equipment in this way.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for reading and writing SD card (Secure Digital Memory Card) based on ISO/IEC7816-3 interface
  • Method and system for reading and writing SD card (Secure Digital Memory Card) based on ISO/IEC7816-3 interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] Such as figure 1 and figure 2 As shown, this embodiment provides a method for reading and writing SD cards based on the ISO / IEC7816-3 interface, and the method includes the following steps:

[0026] The terminal transmits the data to be transmitted to the smart card module through its ISO / IEC7816-3 interface;

[0027] The smart card module composes a data frame in accordance with bank specifications that should be followed, and transmits the data frame to the SD card controller in the smart SD card through the SPI bus;

[0028] The SD card controller transmits the data frame to the security module SE in the smart SD card, and receives a response from the security module SE;

[0029] The SD card controller transmits the response to the smart card module via the SPI bus;

[0030] The terminal obtains the response through the ISO / IEC7816-3 interface, and performs the next operation according to the response.

Embodiment 2

[0032] Such as figure 2 As shown, this embodiment provides a system that implements the method described in the first embodiment based on the ISO / IEC7816-3 interface to read and write an SD card, which includes:

[0033] A terminal, which includes a first ISO / IEC7816-3 interface;

[0034] A smart card module, which includes a second ISO / IEC7816-3 interface and a first SPI interface;

[0035] A smart SD card, which includes a second SPI interface, an SD card controller and a security module SE that are signal-connected to each other;

[0036] The terminal transmits the data that needs to be transmitted to the smart card module through the first ISO / IEC7816-3 interface, and the smart card module receives the data that needs to be transmitted through the second ISO / IEC7816-3 interface. The bank specifications that should be followed form a data frame, and then transmit the data frame to the SD card controller of the smart SD card through the first SPI interface, and the SD card controll...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and system for reading and writing an SD card (Secure Digital Memory Card) based on an ISO / IEC7816-3 interface. The method comprises the steps that: a terminal transmits data needing transmission to an intelligent card module through the ISO / IEC7816-3 interface; the intelligent card module composes a data frame according to a band standard which should be obeyed and transmitting the data frame to an SD card controller in the intelligent SD card through an SPI (Serial Peripheral Interface) bus; the SD card controller sends the data frame into a safety module SE inside the intelligent SD card and receives response of the safety module SE; the SD card controller transmits the response to the intelligent card module through the SPI bus; and the terminal obtains the response through the ISO / IEC7816-3 interface and performs the next operation based on the response. The method and system for reading and writing the SD card based on the ISO / IEC7816-3 interface, disclosed by the invention, solves the limitation of a universal SD card access method and has the advantages of wide application range, no need to change hardware and software of terminal equipment and low cost.

Description

technical field [0001] The invention relates to the technical field of mobile communication, in particular to a method and system for reading and writing SD cards based on an ISO / IEC7816-3 interface. Background technique [0002] With the advent of the 3G era, mobile payment has become the most important payment and settlement method. It is a service method that allows users to use their mobile terminals (usually mobile phones) to pay for the goods or services they consume. Amount payment, large amount payment and remote payment. Then there was a problem that the mobile payment SD card could not meet the contact payment requirements of banks and UnionPay. [0003] Existing solutions include the following: [0004] 1. A device with a main control chip with USB and SDIO dual interfaces. This device is connected to a device with a USB host port. The port is transferred to the SD card for reading and writing data. SDIO port data transmission in this method can be 1 or 4. If...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06K17/00G06F13/16
Inventor 昌明涛施伟周党飞
Owner EASTCOMPEACE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products