KR20150005754A - Issuing method and storing method of user data based on specific personalization command for IC card - Google Patents

Issuing method and storing method of user data based on specific personalization command for IC card Download PDF

Info

Publication number
KR20150005754A
KR20150005754A KR1020130078350A KR20130078350A KR20150005754A KR 20150005754 A KR20150005754 A KR 20150005754A KR 1020130078350 A KR1020130078350 A KR 1020130078350A KR 20130078350 A KR20130078350 A KR 20130078350A KR 20150005754 A KR20150005754 A KR 20150005754A
Authority
KR
South Korea
Prior art keywords
data
card
terminal
command
data block
Prior art date
Application number
KR1020130078350A
Other languages
Korean (ko)
Other versions
KR102020674B1 (en
Inventor
진민식
오준택
양희선
정대규
Original Assignee
한국조폐공사
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 한국조폐공사 filed Critical 한국조폐공사
Priority to KR1020130078350A priority Critical patent/KR102020674B1/en
Publication of KR20150005754A publication Critical patent/KR20150005754A/en
Application granted granted Critical
Publication of KR102020674B1 publication Critical patent/KR102020674B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • G06F13/1673Details of memory controller using buffers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0659Command handling arrangements, e.g. command buffers, queues, command scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/08Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers from or to individual record carriers, e.g. punched card, memory card, integrated circuit [IC] card or smart card
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0003Automatic card files incorporating selecting, conveying and possibly reading and/or writing operations
    • G06K17/0009Automatic card files incorporating selecting, conveying and possibly reading and/or writing operations with sequential access selection of a record carrier from the card-file, e.g. relative movement between selecting device and card-file

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

Disclosed is a method for issuing and storing data by using an IC card exclusive issuing command. The method for issuing the data according to an embodiment of the present invention comprises: a step for receiving a memory starting address and the size information of a page buffer from an IC card by enabling a terminal to command to the IC card, and dividing the data to be issued to the IC card into a plurality of data blocks as a page unit with the received information; a step for successively transmitting a first data block to the final data block of the data divided into the data blocks to the IC card by using each issuing command; and a step for receiving card response for the issuing command comprising the final data block from the IC card.

Description

Technical Field [0001] The present invention relates to a method and system for issuing and storing data using an issuance command of an IC card,

BACKGROUND OF THE INVENTION 1. Field of the Invention [0002] The present invention relates to an IC card issuing and storing technique through communication between a terminal and an IC card.

IC card (Integrated Circuit Card) is a card with a microprocessor and memory. It can store and process information in the card and provide various services. Examples of IC cards are electronic money, credit, prepaid, debit, transportation, membership card, and the like. Furthermore, the IC card is also referred to as a smart card because it can store personal information such as an ID card (e-ID card) such as an ID card and a driver's license, and can be used as a more advanced multifunction card. In particular, in the case of an electronic ID card, a large amount of user data such as a photograph or a fingerprint of a user can be stored.

The IC card issuance includes a series of processes of transmitting data to be issued to the IC card owned by the user and recording the data transmitted to the IC card. The IC card issuing process of the terminal can be performed by transmitting data to the IC card through an instruction (e.g., UPDATE Binary command). At this time, after the terminal transmits the data to the IC card through the command, it waits for a response from the IC card as to whether or not the command is successfully received. However, as the data to be transmitted to the IC card through the command becomes large in capacity such as a photograph or a fingerprint, the command should be divided into several times and transmitted to the IC card. The terminal must wait for the response from the IC card for each command.

This command-and-response method requires that a response message to data be continuously transmitted to the terminal until all the data is received from the terminal. Therefore, when the data size is large, unnecessary communication between the terminal and the IC card is required. Is delayed. In particular, it is a major cause of lowering the issuing speed of user data in an IC card environment having a hardware constraint relative to a PC environment.

According to one embodiment, a method of issuing and storing data using an IC card exclusive issuing command, which can shorten the data issuing speed and improve data issuing reliability, is proposed.

A method of issuing data to an IC card using a command according to an embodiment is a method in which a terminal instructs an IC card to receive a memory start address and size information of a page buffer from an IC card, Dividing the data to be issued to the IC card into a plurality of data blocks on a page basis; sequentially issuing, from the first data block to the last data block of the data divided into the plurality of data blocks, And receiving a card response from the IC card for an issuing command including the last data block.

A method of storing data using an instruction word of a terminal according to another embodiment of the present invention includes storing a memory start address and a page buffer size information of an IC card in which data to be issued by the terminal is to be stored, When the terminal divides the data to be issued to the IC card into a plurality of data blocks on a page basis by using the memory start address and size information of the page buffer, From the data block to the last block sequentially through the respective issuing commands and storing the data blocks included in each of the issued issuing commands in the memory, and upon receiving the issuing command including the final data block from the terminal, And transmitting the card response to the terminal.

According to an embodiment, a method of transmitting only a card response to an UPDATE Binary Instruction that contains a final data block of user data, rather than a command-response method through an UPDATE Binary command, to the IC card, a method of transmitting user data transferred from the terminal to an EEPROM The speed of issuing a large volume of user data can be shortened by a method in which the IC card receives a new data block from the terminal during the process of storing the new data block.

Further, it is possible to improve the data issuance reliability by judging whether the data recording error is caused by comparing the interval of the RF power consumption amount generated during the data writing operation of the IC card by the UPDATE binary command of the terminal and the data recording time obtained by the Self_Write command have.

Further, after the IC card stores the data block included in the UPDATE Binary command of the terminal in the EEPROM, it is verified whether or not the data is normally stored. If the verification result is normally stored, the data block is changed to the reception mode and an UPDATE binary command including a new data block The reliability of data issuing can be improved.

1 is a structure diagram of an application protocol data unit (APDU) command for an IC card,
FIG. 2 is a flowchart illustrating a data issuing method using an UPDATE binary command according to an embodiment of the present invention. FIG.
3 is a flowchart illustrating an internal process of an IC card storing user data according to an UPDATE Binary command according to an embodiment of the present invention.
4 is a configuration diagram of a terminal and an IC card according to an embodiment of the present invention,
5 is a detailed block diagram of the card memory of FIG. 4 according to an embodiment of the present invention.

Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. In addition, the terms described below are defined in consideration of the functions of the present invention, which may vary depending on the intention of the user, the operator, or the custom. Therefore, the definition should be based on the contents throughout this specification.

1 is a structural diagram of an application protocol data unit (hereinafter referred to as APDU) command for an IC card.

The present invention is a technique for a terminal to issue user data to an IC card at a high speed. Examples of IC cards are electronic money, credit, prepaid, debit, traffic card, membership card, etc. In particular, the IC card may be an electronic identification card (e-ID card) such as an identification card or driver's license. In this case, the terminal may be a device of an electronic ID card issuing organization. The data issued to the electronic ID card may be a large amount of user data such as a photograph or a fingerprint.

Referring to FIG. 1, a communication protocol between a terminal and an IC card uses an APDU command. The APDU command consists of a Command-APDU command transmitted from the terminal to the IC card and a Response-APDU command transmitted from the IC card to the terminal in response to the Command-APDU command.

Data issuance to the IC card is performed when the terminal transmits a Command-APDU command to the IC card. The IC card receiving the Command-APDU command processes a given job according to the Command-APDU command. The Command-APDU command includes CLA (Class byte), INS (Instruction Code), P1 (Instruction Parameter 1), P2 (Instruction Parameter 2), Lc (Length of Command Data), Data and Le . At this time, CLA is a command class, and INS is a command code including a command class. P1 and P2 are the parameter values for the command, Lc is the length of the data in the command data field, Data is the data for transmitting in the command, and Le is the length of the maximum data expected in the response data field, respectively do.

The response-APDU command transmitted to the terminal by the IC card that has processed the given task according to the Command-APDU command is composed of SW1 (Status Word 1), SW2 (Status Word 2) and Data field. SW1 and SW2 represent the processing state of the command, and Data represents the response data from the IC card.

The APDU command used by the terminal to issue data to the IC card is an UPDATE Binary command. At this time, the terminal divides the data into a plurality of data blocks in order to issue the large-capacity data to the IC card, and transmits the data blocks to the IC card in the data field of the UPDATE Binary command word.

2 is a flowchart illustrating a data issuing method using an UPDATE Binary command according to an embodiment of the present invention.

Referring to FIG. 2, the communication between the terminal 1 and the IC card 2 does not operate in the form of command-response, which is a general UPDATE Binary command operation method. According to one embodiment, the terminal 1 sequentially transmits user data to the IC card 2 from the first data block to the last data block through each UPDATE Binary command. The IC card 2 does not respond to all the UPDATE binary instructions but sends a card response to the terminal 1 only for the UPDATE binary instruction containing the final data block and notifies the terminal 1 that the user data has been normally stored It informs. The above-described method is a method of transmitting only the response to the last data block of the user data, not the command-response method. Through this method, the issuing speed for the large capacity user data of the IC card 2 can be improved.

The IC card 2 according to the embodiment stores user data issued by the terminal 1 in a nonvolatile memory. The nonvolatile memory may be, for example, an EEPROM (Electrically Erasable Programmable Read Only Memory), a flash memory, or the like, and will be described below with reference to an example of storing data in an EEPROM.

In a nonvolatile memory such as EEPROM or flash, a block write operation is performed on a per page basis, while a volatile memory RAM is written in a cell unit. Therefore, in order to write 1 byte, it is inevitable that a page-level write operation should be performed. In other words, the property of page-by-page writing takes the same amount of time to write one byte for an address in a page or the entire page, for example, 128 bytes or 256 bytes. At this time, the number of bytes of the page is not limited to this, and may vary from company to company.

The terminal 1 transmits (100) the Self_Write command to the IC card 2 (100) before the UPDATE_Binary command, which is an issuance-only instruction word, is transmitted to the IC card 2 using the characteristics of the nonvolatile memory, The terminal 1 writes the data into the EEPROM for one page according to the command and the terminal 1 calculates the time required to write the data through the card response 110 of the IC card 2. [

According to one embodiment, the terminal 1 instructs the IC card 2 to perform only one byte recording through the Self_Write command. 1 byte writing is performed due to the characteristics of the non-volatile memory described above, but the IC card 2 internally performs writing to one page (128 bytes or 256 bytes) using the page buffer. Through the Self_Write command, the terminal 1 can calculate the time required to store one byte of data in one page in the EEPROM. The calculated data recording time is used to verify whether or not the issuance of the data is normally performed in the future when the terminal 1 issues data to the IC card 2 using the dedicated issuing command, which will be described later in the verification process.

Subsequently, the terminal 1 transmits (120) the Self_Align command to the IC card 2, and the IC card 2 calculates the start address of the EEPROM in which data is to be stored and the page size of the IC chip by the received Self_Align command (210), the start address of the EEPROM and the page size information of the IC chip are transmitted to the terminal (1) (130).

Subsequently, the terminal 1 divides the data to be issued to the IC card 2 by page unit (135) using the EEPROM start address received from the IC card 2 and the page buffer size information of the IC chip. For example, if it is assumed that the start address of the EEPROM in which data is to be stored is 0x500110 and the page buffer size is 256 bytes, the first data block to be transmitted to the IC card 2 by the terminal 1 using the first UPDATE Binary command The size of the first data block is 0xF0, and the terminal 1 transmits the first data block to the IC card 2 by the size of 0xF0 (140).

The IC card 2 receiving the first UPDATE Binary command stores the first data block included in the first UPDATE Binary command from the start address of the EEPROM (220). Thereafter, the terminal 1 sequentially transmits each data block to the IC card 2 via the second to the n-th UPDATE Binary command in accordance with the page buffer size (for example, 128 bytes or 256 bytes) which is the basic unit of EEPROM writing The IC card 2 receiving the second to nth UPDATE binary commands sequentially stores the corresponding data block in the EEPROM each time it receives each UPDATE binary command (230, 240). At this time, the size of the data block transmitted to the IC card 2 by the terminal 1 is determined according to the size of the page buffer of the IC card 2. [ The IC card 2 can receive the new data block from the terminal 1 during the process of storing the user data transferred from the terminal 1 through the UPDATE Binary command in the EEPROM.

The IC card 2 stores the data block included in the n-th UPDATE Binary command in the EEPROM upon receipt of the n-th UPDATE Binary command corresponding to the last time from the terminal 1, (160). The above-mentioned method is a method of transmitting only the response to the last data block of user data, not the command-response type, and it is possible to improve the issuing speed for the large capacity user data of the IC card 2 through the corresponding method.

On the other hand, the time for storing the data of one page size in the EEPROM of the IC card 2 takes a relatively long time compared to the time required for transmitting and receiving the APDU command. The terminal 1 can determine whether or not the data transferred to the IC card 2 through the UPDATE Binary command has been normally stored in the EEPROM. The terminal 1 according to the embodiment monitors the RF power consumption amount generated by the high voltage operation when the IC card 2 records data in the EEPROM to verify whether or not the data is normally stored.

A high voltage is required for the write operation of the EPROM. The IC card 2 can receive such a high voltage through an external voltage source or a high voltage generating circuit formed therein. This operation is referred to as a high voltage operation. RF power consumption occurs when the IC card 2 receives high voltage by the high voltage operation and records data in the EEPROM. The terminal 1 monitors the change of the RF power consumption amount generated from the IC card 2, It is possible to verify whether or not data is normally issued to the card 2. [

According to one embodiment, the terminal 1 compares the interval of the RF consumption amount with the data recording time value calculated through the Self_Write command, and verifies whether or not the data is normally recorded in the EEPROM. For example, according to the comparison result, if the interval of the RF consumption amount is less than the data recording time value calculated by the Self_Write command, the terminal 1 determines that the data is not normally recorded in the EEPROM, Data issuance can be stopped.

According to another embodiment, the process of verifying whether data has been normally written in the EEPROM through the High Voltage operation is a process in which the data in the page buffer and the data in the High And comparing the data recorded in the EEPROM with the voltage. For example, the IC card 2 determines that data recording has been normally performed when the data in the page buffer and the data recorded in the EEPROM are the same. After this verification process is normally performed, the IC card 2 can be switched to the reception mode to receive the next data block from the terminal 1. [

According to the above-described method, the IC card 2 receives a new data block from the terminal 1 during the process of storing the user data transferred from the terminal 1 through the UPDATE Binary command in the EEPROM, The speed of issuing a large amount of user data to the IC card 2 can be improved by transmitting only the response to the last data block of the user data.

3 is a flowchart illustrating an internal process of the IC card 2 storing user data by an UPDATE Binary command according to an embodiment of the present invention.

Referring to FIG. 3, the terminal 1 transmits a first user data block to the IC card 2 through a first UPDATE Binary command (310). The IC card 2 receiving the first UPDATE Binary Instruction 311 stores the first user data block in the first UPDATE Binary Instruction in the communication buffer of the IC card 2 and then writes the first user data block in the page buffer (312). Then, the data block loaded in the page buffer is written into the EEPROM through a high voltage operation (313).

While recording the first user data block in the EEPROM through the High Voltage operation, the IC card 2 is switched to the APDU receiving mode and receives the second data block transmitted from the terminal 1 via the second UPDATE Binary command ( 320, 321). Then, the IC card 2 stores the second data block in the communication buffer, and then performs page buffer loading 322 and EEPROM recording 323. The above-described operation process is repeatedly performed (340, 341, 342, 343) until the last data block is received via the last UPDATE Binary command. Then, when the recording of the last data block is successfully performed, the IC card 2 transmits a card response including the response SW (0x9000) indicating that the recording has been successfully performed to the terminal 350, And receives it (351).

4 is a configuration diagram of a terminal 1 and an IC card 2 according to an embodiment of the present invention.

2 and 4, the terminal 1 includes a terminal communication unit 10, a terminal control unit 12 and a terminal memory 14. The IC card 2 includes a card communication unit 20, a card control unit 22 and a card memory 24.

The terminal communication unit 10 transmits a Self_Write command, a Self_Align command and an Update Binary command to the IC card 2. When the IC card 2 processes the command, the terminal communication unit 10 receives a card response from the IC card 2. [

The terminal communication unit 10 according to an embodiment transmits a Self_Align command to the IC card 2. [ Then, the memory start address and the size information of the page buffer are received from the IC card 2 by the Self_Align command.

The terminal communication unit 10 according to an exemplary embodiment sequentially transmits data from the first data block to the last data block of the data divided into the plurality of data blocks to the IC card 2 through the Update Binary command, (2). Then, the IC card 2 receives a card response to the Update Binary command including the final data block.

The terminal control unit 12 according to an embodiment uses the memory start address and the page buffer size information received from the IC card 2 via the terminal communication unit 10 to transmit data to be issued to the IC card 2 Into a plurality of data blocks. At this time, when dividing the data into a plurality of data blocks, the terminal control unit 12 calculates the size of the first data block using the start address of the memory to store the data block and the size of the page buffer for the first data block From the next data block, the size of the data block can be calculated according to the size of the page buffer.

The terminal control unit 12 according to an embodiment transmits the interval information of the RF power consumption amount generated when the IC card receives the voltage and performs data writing by the issuing instruction of the terminal 1 through the IC communication unit 10, Card 2 and judges a data recording error by using the interval information of the received RF power consumption amount.

In order to judge a data recording error, the terminal control unit 12 transmits, to the IC card 2 via the terminal communication unit 10, a Self_Write request to write data to a single page of the memory before the UPDATE Binary command of the terminal 1 is transmitted Command, and receives a card response from the IC card 2. Fig. At this time, the terminal control unit 12 calculates the data recording time of the IC card 2 in which the data is written in accordance with the Self_Write command. If the interval of the RF power consumption amount generated during the data writing operation of the IC card 2 by the UPDATE Binary command of the terminal 1 is less than the data recording time calculated by the Self_Write command, the terminal control unit 12 judges that the data recording error And can stop issuing data to the IC card 2. [

In order to calculate the data recording time for a single page of the IC card 2, the terminal control unit 12 controls the terminal communication unit 10 ) To request the IC card 2 to block multi-page writing. The terminal memory 14 stores various types of data necessary for performing the functions of the terminal communication unit 10 and the terminal control unit 12 and data acquired in accordance with transmission / reception of the terminal communication unit 10.

On the other hand, the IC card 2 includes a card communication section 20, a card control section 22 and a card memory 24. The card communication unit 20 receives a Self_Write command, a Self_Align command, and an Update Binary command from the terminal 1, and transmits a card response according to each command to the terminal 1.

The card communication unit 20 according to the embodiment receives the Self_Align command from the terminal 1 and generates a memory start address of the IC card 2 in which data to be issued by the terminal 1 is to be stored, To the terminal (1).

When the terminal 1 divides the data to be issued to the IC card 2 into a plurality of data blocks on a page basis using the memory start address and size information of the page buffer, From the first data block to the last block of data divided into a plurality of data blocks from the first data block (1) sequentially through each UPDATE_Binary command. At this time, the card control unit 22 stores the data block included in each received UPDATE_Binary command in the card memory 24. When the card communication unit 20 receives the UPDATE_Binary command including the final data block from the terminal 1, And transmits the card response to the terminal 1.

The card control unit 22 according to the embodiment sets the card communication unit 20 to the reception mode while storing the data block received through the UPDATE_Binary command from the terminal 1 via the card communication unit 20 in the card memory 24 So as to receive the UPDATE_binary command including the new data block from the terminal 1.

The card memory 24 includes a buffer memory such as a communication buffer and a page buffer, and a nonvolatile memory such as an EEPROM. When the UPDATE_Binary command is received from the terminal 1 through the card communication unit 20, the card control unit 22 stores the data block included in the received UPDATE_Binary command in the communication buffer and transfers the data block from the communication buffer to the page buffer Loads the data block, and writes the data block loaded in the page buffer to the EEPROM. The above-described process is repeated until the IC card 2 receives all the data blocks from the first data block to the last data block.

The card control unit 22 according to an exemplary embodiment stores the data block included in the UPDATE_Binary command in the EEPROM, and verifies whether or not the data block is normally stored. For example, it is judged that the recording has been normally performed in the same case through comparison of the original data stored in the page buffer and the destination data stored in the EEPROM. If the verification result is normally stored, the card control unit 22 switches the card communication unit 20 to the reception mode and causes the terminal 1 to receive the UPDATE_Binary command including the new data block.

5 is a detailed configuration diagram of the card memory 24 of FIG. 4 according to an embodiment of the present invention.

4 and 5, the card memory 24 includes a communication buffer 240, a page buffer 242, and an EEPROM 244. When receiving the UPDATE_Binary command from the terminal 1, the IC card 2 stores the data block included in the received UPDATE_Binary command in the communication buffer 240 and transfers the data block from the communication buffer 240 to the page buffer 242 And writes the data block loaded in the page buffer 242 to the EEPROM 244. [ The above-described process is repeated until the IC card 2 receives all the data blocks from the first data block to the last data block.

The embodiments of the present invention have been described above. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the disclosed embodiments should be considered in an illustrative rather than a restrictive sense. The scope of the present invention is defined by the appended claims rather than by the foregoing description, and all differences within the scope of equivalents thereof should be construed as being included in the present invention.

1: terminal 10: terminal communication section
12: terminal control unit 14: terminal memory
2: IC card 20: card communication section
22: Card control unit 24: Card memory

Claims (10)

A method for issuing data to an IC card using a command,
The terminal instructs the IC card to receive the memory start address and size information of the page buffer from the IC card and divide the data to be issued to the IC card into a plurality of data blocks on a page basis using the received information;
Transmitting sequentially from the first data block to the last data block of the data divided into the plurality of data blocks to the IC card through the respective issuing commands; And
Receiving a card response from an IC card for an issuing command including a final data block;
And transmitting the data to the terminal.
2. The method of claim 1, wherein dividing into the plurality of data blocks comprises:
For the first data block, the size of the first data block is calculated by using the start address of the memory in which the data block is stored and the size of the page buffer. From the next data block, the size of the data block is calculated according to the page buffer size And transmitting the data to the terminal.
The method of claim 1,
Monitoring an interval of an RF power consumption amount generated when an IC card receives a voltage and writing data by an issuing command of the terminal, and determining a data recording error of the IC card using the monitoring result;
And transmitting the data to the terminal.
4. The method of claim 3,
Transmitting a write command requesting the terminal to write data to a single page of the memory in the IC card before the data issuance of the terminal and calculating a data recording time of the IC card in which the data is written according to the write command; Further comprising:
Wherein the step of determining a data recording error of the IC card comprises:
When the interval of the RF power consumption amount generated during the data writing operation of the IC card by the issuing instruction of the terminal is less than the data recording time calculated by the writing command, it is determined that the data recording error is caused and the data issuing is stopped to the IC card A method for issuing data to a terminal.
5. The method of claim 4, wherein calculating the data recording time comprises:
The method comprising: requesting the IC card to perform only one byte of writing in order to calculate a data recording time for a single page of the IC card, thereby interrupting the multi-page writing.
A method for an IC card to store data using an instruction word of a terminal,
Transmitting a memory start address and a page buffer size information of an IC card in which data to be issued by the terminal is to be stored, to the terminal by an instruction of the terminal;
If the terminal divides the data to be issued to the IC card into a plurality of data blocks on a page basis using the memory start address and the page buffer size information, And sequentially storing the data blocks included in each of the issued issuance commands in the memory; And
Receiving an issuing command including a final data block from a terminal, and transmitting a card response to the issuing command;
And storing the data in the IC card.
7. The method of claim 6, wherein storing the data block in a memory comprises:
The method comprising: receiving an issuance command including a new data block from the terminal, switching from the terminal to the reception mode while storing the data block received through the issuing command in the EEPROM;
7. The method of claim 6, wherein storing the data block in a memory comprises:
Storing a data block included in the issued issuance command in a communication buffer when the issuance command is received from the terminal;
Loading a block of data from a communication buffer to a page buffer; And
Storing a block of data loaded into the page buffer in an EEPROM; / RTI >
A page buffer loading step and an EEPROM storing step are repeatedly performed until all data blocks from the first data block to the last data block are received.
The method as claimed in claim 6,
Storing the data block included in the issuing command in a memory and verifying whether or not the data block is normally stored; And
Receiving an issuing command including a new data block from the terminal if the verification result is normally stored;
Further comprising the steps of:
10. The method of claim 9,
Wherein the controller determines that normal recording has been performed in the same case through a comparison operation between the original data stored in the page buffer and the destination data stored in the EEPROM.
KR1020130078350A 2013-07-04 2013-07-04 Issuing method and storing method of user data based on specific personalization command for IC card KR102020674B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130078350A KR102020674B1 (en) 2013-07-04 2013-07-04 Issuing method and storing method of user data based on specific personalization command for IC card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130078350A KR102020674B1 (en) 2013-07-04 2013-07-04 Issuing method and storing method of user data based on specific personalization command for IC card

Publications (2)

Publication Number Publication Date
KR20150005754A true KR20150005754A (en) 2015-01-15
KR102020674B1 KR102020674B1 (en) 2019-09-11

Family

ID=52477335

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130078350A KR102020674B1 (en) 2013-07-04 2013-07-04 Issuing method and storing method of user data based on specific personalization command for IC card

Country Status (1)

Country Link
KR (1) KR102020674B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040068249A (en) * 2002-10-16 2004-07-30 마쯔시다덴기산교 가부시키가이샤 Ic card, data transfer device, data transfer method, and data transfer method program
KR101012151B1 (en) * 2009-10-27 2011-02-07 한국조폐공사 System and method for updating smart card using update binary command

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040068249A (en) * 2002-10-16 2004-07-30 마쯔시다덴기산교 가부시키가이샤 Ic card, data transfer device, data transfer method, and data transfer method program
KR101012151B1 (en) * 2009-10-27 2011-02-07 한국조폐공사 System and method for updating smart card using update binary command

Also Published As

Publication number Publication date
KR102020674B1 (en) 2019-09-11

Similar Documents

Publication Publication Date Title
US9870316B2 (en) Bidirectional counter in a flash memory
US8266713B2 (en) Method, system and controller for transmitting and dispatching data stream
US8812756B2 (en) Method of dispatching and transmitting data streams, memory controller and storage apparatus
US20070145151A1 (en) Electronic apparatus, control method thereof, host device, and control method thereof
WO2014067425A1 (en) Processing method for failing to read data from non-contact ic card and device for implementing the method
KR20190102778A (en) Electronic device and operating method thereof
US7831755B2 (en) Method and system for interfacing a plurality of memory devices using an MMC/SD protocol
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
CN101187912A (en) Memory card system and method transmitting host identification information thereof
EP2664992B1 (en) Method for addressing a memory card, a system using a memory card, and a memory card
EP2618259B1 (en) Data erasable method of memory in smart card and smart card thereof
US20080162479A1 (en) Memory card system and method for transmitting background information thereof
CN101273369A (en) Smartcard power management
US10181356B2 (en) Flash memory counter
KR102020674B1 (en) Issuing method and storing method of user data based on specific personalization command for IC card
CN101533372B (en) Data accessing system
JP2007087120A (en) Ic card mounted with multiple os (operating system) and issue consignment method
US20130019055A1 (en) Memory control device and method
CN101533373B (en) Data accessing system
JP2006293706A (en) Multi-application ic card with application updating function
JP7439847B2 (en) Electronic information storage medium, key data setting method, and program
CN113467709B (en) Memory system and method of operating the same
JP7444197B2 (en) Electronic information storage medium, cryptographic operation method selection method, and program
JP5932588B2 (en) IC card, portable electronic device, and IC card processing device
US9202157B2 (en) RFID tag with an improved communication between an external logic element conductively connected thereto and an interrogator as well as a method for such communication

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant