发明名称 |
Writing data in a non-volatile memory of a smart card |
摘要 |
A smart card compares an object identification parameter associated with a write command with an object identification parameter stored in the non-volatile memory of the smart card. If the comparison is positive, the data embedded in the write command is written at a at a predefined address whose value is stored in the non-volatile memory, an address corresponding to the sum of the stored predefined address and the size of the written data is calculated, and the calculated address is stored in the non-volatile memory in place of the predefined address. If the comparison is negative, the data is written at a default address, an address corresponding to the sum of the default address and the size of the written data is calculated, and the calculated address is stored in the non-volatile memory as the predefined address. |
申请公布号 |
US9513842(B2) |
申请公布日期 |
2016.12.06 |
申请号 |
US201214361941 |
申请日期 |
2012.11.30 |
申请人 |
MORPHO |
发明人 |
Barthe Michael;Spinau Geoffrey |
分类号 |
G06F12/00;G06F3/06;G06F12/02;G11C16/10 |
主分类号 |
G06F12/00 |
代理机构 |
Marshall, Gerstein & Borun LLP |
代理人 |
Marshall, Gerstein & Borun LLP |
主权项 |
1. A method for writing data in a non-volatile memory of a smart card, comprising:
/a/ receiving a write command in a buffer in a volatile memory of the smart card, /b/ comparing, by the smart card, an object identification parameter associated with the write command, with an object identification parameter stored in the non-volatile memory of the smart card, /c/ if the comparison is positive,
/c1/ writing the data to be written, embedded in the write command, from the buffer to the object associated with the write command, at a predefined address whose value is stored in the non-volatile memory,/c2/ calculating an address corresponding to the sum of the stored predefined address and the size of the written data,/c3/ storing the calculated address in the non-volatile memory in place of the predefined address, /d/ if the comparison is negative,
/d1/ writing the data to be written, embedded in the write command, from the buffer to the object associated with the write command, at a default address,/d2/ calculating an address corresponding to the sum of the default address and the size of the written data,/d3/ storing the calculated address in the non-volatile memory as the predefined address. |
地址 |
Issy-les-Moulineaux FR |