CN101916389A - Intelligent card - Google Patents

Intelligent card Download PDF

Info

Publication number
CN101916389A
CN101916389A CN 201010241965 CN201010241965A CN101916389A CN 101916389 A CN101916389 A CN 101916389A CN 201010241965 CN201010241965 CN 201010241965 CN 201010241965 A CN201010241965 A CN 201010241965A CN 101916389 A CN101916389 A CN 101916389A
Authority
CN
China
Prior art keywords
reserved area
file system
identify label
label parameter
data
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
CN 201010241965
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.)
Beijing Haitai Fangyuan High Technology Co Ltd
Original Assignee
Beijing Haitai Fangyuan High Technology Co Ltd
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 Beijing Haitai Fangyuan High Technology Co Ltd filed Critical Beijing Haitai Fangyuan High Technology Co Ltd
Priority to CN 201010241965 priority Critical patent/CN101916389A/en
Publication of CN101916389A publication Critical patent/CN101916389A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention relates to an intelligent card. The intelligent card comprises a file system, a chip operating system connected with the file system, and a reserved area independent of the file system and connected with the chip operating system, wherein the file system is used for storing sensitive data; the chip operating system is used for controlling intelligent code key data reading, data encryption and signature calculation; and the reserved area is used for storing identity identification parameters. In the intelligent card, the identity identification parameters are stored in the special reserved area, which is independent of the file system, of a hardware area and the identity identification parameters are read only by operating in the reserved area without loading the file system, so that the reading and writing speed of the identity identification parameters can be increased; due to the fact that the identity identification parameters are stored in the reserved area, which is independent of the file system, the identity identification parameters stored in the reserved area are not affected when the file system is damaged; and thus, the safety of the storage of the identity identification parameters is guaranteed.

Description

A kind of smart card
Technical field
The present invention relates to a kind of smart card, especially relate to a kind of smart card that the identify label parameter can be independent of the file system storage.
Background technology
Current traditional smart card is that the identify label parameter is write in the data file specific in the file system, when using the identify label parameter, need to load whole file system, therefore read or write by specific file read-write interface, can influence the reading speed of identify label parameter when using smart card or the writing speed of identify label parameter during at the initialization smart card; When file system was destroyed, the data file of storage identify label parameter had not also existed, and therefore can cause identify label parameter volatibility.
Summary of the invention
For overcoming defectives such as above-mentioned traditional smart card influences the identify label parameter owing to the identify label parameter is stored in the file system read or write speed, identify label parameter volatibility, the present invention proposes a kind of with the smart card of identify label parameter separate, stored outside file system.
Smart card provided by the invention, comprise file system and the chip operating system that is connected with described file system, described file system is used to store sensitive data, described chip operating system is used to control intelligent code key data read, data encryption and signature computing, wherein also comprise being independent of file system and the reserved area that described chip operating system is connected, be used to store the identify label parameter.
Described reserved area comprises whether can repeating to write indicating module, and whether the identify label parameter that is used for indicating the reserved area to store can write again.
Distribute 1 byte for whether repeating to write indicating module in the reserved area.
In the time can repeating writing module numerical value and be 0, expression can repeat to write the identify label parameter; In the time can repeating writing module numerical value and be 1, represent the not reproducible identify label parameter that writes.
Distribute 1 byte to be used to store the length of the data of identify label parameter in the reserved area.
Distribute the N byte to be used to store the data of identify label parameter in the reserved area.
Smart card of the present invention, the identify label parameter is stored in the reserved area, specific hardware zone that is independent of outside the file system, when read-write identify label parameter, need not the load document system, and only be in the reserved area, to operate, therefore can improve the read or write speed of identify label parameter; Because the identify label parameter is stored in the reserved area that is independent of outside the file system, and when file system was destroyed, the identify label parameter that is stored in the reserved area was unaffected, therefore guarantee the security of identify label parameter storage simultaneously.Further, whether can repeat to write indicating module by what be provided with in the reserved area whether an identify label parameter that is used for indicating the reserved area to store can write again, when in smart card, writing the identify label parameter, at first judge whether to repeat to write according to this indication information that whether can repeat to write indicating module.
Description of drawings
Fig. 1 is the system architecture synoptic diagram of smart card of the present invention;
Fig. 2 is the data layout figure in the reserved area in the smart card of the present invention;
Fig. 3 is the process flow diagram that reads of identify label parameter in the smart card of the present invention reserved area;
Fig. 4 is the process flow diagram that writes of identify label parameter in the smart card of the present invention reserved area.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Fig. 1 is the system architecture synoptic diagram of smart card of the present invention.Smart card among this embodiment comprises: file system and chip operating system (the Chip Operating System that is connected with described file system, be called for short COS), described file system is used to store sensitive data, COS is used to control intelligent code key data read, data encryption and signature computing, wherein also comprise being independent of the reserved area that file system is connected with COS, be used to store the identify label parameter.
When the data of access file system and the inside, reserved area, need by COS, send correct COS instruction to COS, COS can carry out the data write operation according to the content of instruction.The order format that the order format that adopts during COS visit reserved area adopts during with the access file system is different.
(1) COS reads the file command message at file system
Read Binary command message coding is as follows:
Code value Value
CLA 00
INS B0
P1 XX
P2 XX
Le XX
If the Senior Three position of P1 is 100, then low five is short essay spare identifier, and P2 is a side-play amount; If the most significant digit of P1 is not 1, then P1P2 is a side-play amount, and the file of reading is a current file;
The byte number that Le indicates to read, maximal value are 249.If Le is 00, then send state 6CXX back to, request is changed to Le XX and retransmits this order.
(2) COS reads the file command message at the reserved area
Read Binary command message coding is as follows:
Code value Value
CLA 80
INS 85
P1 XX
P2 XX
Le XX
The reserved area ID of P2 for reading;
The byte number that Le indicates to read.
The described smart card of present embodiment, the identify label parameter is stored in the reserved area, specific hardware zone that is independent of outside the file system, when read-write identify label parameter, need not the load document system, and only be in the reserved area, to operate, therefore can improve the read or write speed of identify label parameter; Because the identify label parameter is stored in the reserved area that is independent of outside the file system, and when file system was destroyed, the identify label parameter that is stored in the reserved area was unaffected, therefore guarantee the security of identify label parameter storage simultaneously.
Comprise further in the reserved area whether one can repeat to write indicating module, and whether the identify label parameter that is used for indicating the reserved area to store can write again.Whether can repeat to write indicating module by what be provided with in the reserved area whether an identify label parameter that is used for indicating the reserved area to store can write again, when in smart card, writing the identify label parameter, at first judge whether to repeat to write according to this indication information that whether can repeat to write indicating module.
Further, can distribute 1 byte for whether repeating to write indicating module in the reserved area.In the time can repeating writing module numerical value and be 0, expression can repeat to write the identify label parameter; In the time can repeating writing module numerical value and be 1, represent the not reproducible identify label parameter that writes.
The identify label parameter can have complete data layout in the reserved area, as distributing 1 byte to be used to store the length of the data of identify label parameter in the reserved area, can also distribute the N byte to be used to store the data of identify label parameter in the reserved area.
Preferably, the invention provides a kind of smart card that possesses not reproducible writing mechanism.Realize not reproducible writing, need handle from the following aspects.
(1) not reproducible writing mechanism
For realizing the not reproducible demand that writes, require hardware carrier promptly will should protect the data of identify label parameter again as the storage medium of identify label parameter.The hardware carrier here is reserved area, specific hardware zone.
(2) protection mechanism
Safety for the data that guarantee the identify label parameter should provide protection mechanism.When the file system of smart card is destroyed, be stored in the reserved area, specific hardware zone that is independent of outside the file system owing to the identify label parameter, so the data in this reserved area can not suffer damage.
(3) data integrity
Data are stored in the zone, reserved area by specific form.Particularly, the data layout of reserved area distributes 1 byte for whether repeating to write indicating module, and distributing 1 bytes store reserved area data is the data length of identify label parameter, and distributing N bytes store reserved area data is the data of identify label parameter.The data layout of reserved area as shown in Figure 3.
(4) testing mechanism
For ensureing the accuracy of hardware, can make the data of identify label parameter in this zone, reserved area, repeat to write by the designated parameters value, in case but after designated parameters came into force, data promptly can not repeat to write.When the value that can repeat to write indicating module when whether is 1,
In the time can repeating writing module numerical value and be 0, show the designated parameters Pending The Entry Into Force, the reserved area data are that the data of identify label parameter can repeat to write; In the time can repeating writing module numerical value and be 1, show that designated parameters comes into force, to be that the data of identify label parameter are not reproducible write the reserved area data.Idiographic flow such as Fig. 4, shown in Figure 5.
(5) hardware environment requirement
Software and hardware need very high environment compatibility, can satisfy and realize exempting to install under varying environment.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (6)

1. smart card, comprise file system and the chip operating system that is connected with described file system, described file system is used to store sensitive data, described chip operating system is used to control intelligent code key data read, data encryption and signature computing, it is characterized in that, also comprise being independent of file system and the reserved area that described chip operating system is connected, be used to store the identify label parameter.
2. smart card according to claim 1 is characterized in that, described reserved area comprises whether can repeating to write indicating module, and whether the identify label parameter that is used for indicating the reserved area to store can write again.
3. smart card according to claim 2 is characterized in that, distributes 1 byte for whether repeating to write indicating module in the reserved area.
4. smart card according to claim 3 is characterized in that, in the time can repeating writing module numerical value and be 0, expression can repeat to write the identify label parameter; In the time can repeating writing module numerical value and be 1, represent the not reproducible identify label parameter that writes.
5. according to claim 3 or 4 described smart cards, it is characterized in that, distribute 1 byte to be used to store the length of the data of identify label parameter in the reserved area.
6. smart card according to claim 5 is characterized in that, distributes the N byte to be used to store the data of identify label parameter in the reserved area.
CN 201010241965 2010-07-30 2010-07-30 Intelligent card Pending CN101916389A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010241965 CN101916389A (en) 2010-07-30 2010-07-30 Intelligent card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010241965 CN101916389A (en) 2010-07-30 2010-07-30 Intelligent card

Publications (1)

Publication Number Publication Date
CN101916389A true CN101916389A (en) 2010-12-15

Family

ID=43323898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010241965 Pending CN101916389A (en) 2010-07-30 2010-07-30 Intelligent card

Country Status (1)

Country Link
CN (1) CN101916389A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593601A (en) * 2013-11-21 2014-02-19 税友软件集团股份有限公司 Authentication device, method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1254148A (en) * 1999-11-19 2000-05-24 大唐电信科技股份有限公司微电子分公司 Intelligent card integrated circuit adopting flash-fast memory as internal memory
CN1764920A (en) * 2003-01-24 2006-04-26 埃塞博斯有限公司 Smartcard with protected memory access

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1254148A (en) * 1999-11-19 2000-05-24 大唐电信科技股份有限公司微电子分公司 Intelligent card integrated circuit adopting flash-fast memory as internal memory
CN1764920A (en) * 2003-01-24 2006-04-26 埃塞博斯有限公司 Smartcard with protected memory access

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593601A (en) * 2013-11-21 2014-02-19 税友软件集团股份有限公司 Authentication device, method and system

Similar Documents

Publication Publication Date Title
CN102037499B (en) NFC mobile communication device and NFC reader
CN103150125B (en) Method for prolonging service life of power-down protection date buffer memory and smart card
KR930010981A (en) Storage device using flash memory
TWI397821B (en) Method, system and controller thereof for transmitting data stream
CN101946286A (en) Controller for one type of nand flash memory for emulating another type of nand flash memory
CN104699621A (en) Data storage device and flash memory control method
US9448926B2 (en) Bidirectional counter in a flash memory
US20140156913A1 (en) Data processing method, memory controller and memory storage apparatus
CN103513937A (en) Storage device capable of increasing its life cycle and operating method thereof
US20120166706A1 (en) Data management method, memory controller and embedded memory storage apparatus using the same
CN103729149A (en) Data storage method
CN102902626B (en) Block management method, Memory Controller and memorizer memory devices
US9043675B2 (en) Storage device
CN103678162B (en) System data storage method, memory controller and memory storage device
US10884668B2 (en) Memory system
CN103218300B (en) Data processing method, Memory Controller and memorizer memory devices
US8595420B2 (en) Method for dispatching and transmitting data streams between host system and memory storage apparatus having non-volatile memory and smart card chip, memory controller, and memory storage apparatus
US20120235796A1 (en) Ic card, portable electronic device, ic card issuing apparatus, and communication method
CN103377132B (en) The method in diode-capacitor storage space, Memory Controller and memorizer memory devices
CN101916389A (en) Intelligent card
CN101620568A (en) Storage device and data storage method
CN102486719A (en) Intelligent memory card and transaction-writing method thereof
CN108304277B (en) Error correction method and device in flash memory
CN102591738B (en) Data managing method, Memory Controller and in-line memory storage device
CN102789426B (en) Method and device for storing information in nonvolatile storage 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20101215