11-06-2008 дата публикации
Номер: CN0101197006A
Принадлежит:
The present invention relates to various IC cards and a method of writing data into the IC cards. A smart card comprises a microcontroller and an interface ensuring that the smart card can communicate with a reading/writing terminal. The microcontroller comprises a microprocessor, a ROM, a RAM, an EEPROM and an I/O circuit. The ROM, the RAM, the EEPROM and the I/O circuit are connected to the microprocessor through a data bus, wherein, an exchange zone used for writing data each time is arranged inside the EEPROM. The data structure of the exchange zone comprises exchange zone control information and a data exchange zone, wherein, the exchange zone control information comprises an exchange zone data effective mark, an exchange zone data writing times counter, an exchange zone data next empty block address, a data writing target address array, a bad block counter and an exchange zone data check code. A buffer zone which corresponds to and exchanges data with the exchange zone is arranged ...
Подробнее