Method for smart card to process CAP file

US9449020B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9449020-B2
Application numberUS-201214363399-A
CountryUS
Kind codeB2
Filing dateOct 31, 2012
Priority dateDec 31, 2011
Publication dateSep 20, 2016
Grant dateSep 20, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method for a smart card to process a CAP file, including the following steps: a smart card establishing a connection with an external terminal, performing initialization, receiving an APDU command corresponding to a CAP file, storing the data contained in the APDU command in a communication cache area, judging the value of a first state flag bit of the card, and performing different operations with respect to the value of a different second state flag bit. The method for a smart card to process a CAP file provided herein can effectively utilize the storage resources of a smart card and improve the download speed of the CAP files and ensure the integrity of the contents in the CAP files and the smart card.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method for processing a CAP document by a smart card, comprising: A. establishing a connection between the smart card and an external terminal and initializing; B. receiving, by the smart card, an Application Protocol Data Unit, APDU, command corresponding to the CAP document, and storing the data comprised in the APDU command into a communication buffer; C. determining, by the smart card, a value of a first status flag in the smart card, executing step D in a case that the value is a first preset value; executing step E in a case that the value is a second preset value; executing step F in a case that the value is a third preset value; executing step G in a case that the value is a fourth preset value; executing step H in a case that the value is a fifth preset value; executing step I in a case that the value is a sixth preset value; executing step J in a case that the value is a seventh preset value; executing step K in a case that the value is an eighth preset value; executing step L in a case that the value is a ninth preset value; and executing step M in a case that the value is a tenth preset value; D. reading, by the smart card, a header component data of the APDU command from the communication buffer; processing, by the smart card, unprocessed header component data when a size of the header component data read but unprocessed by the smart card matches size information comprised in the header component data read by the smart card; when the smart card does not read all data in the header component, and there is no unread data in the communication buffer, returning to step B; amending, by the smart card, the first status flag to the second preset value when all the header component data are processed by the smart card, and determining whether there is unread data in the communication buffer, if yes, returning to step C; if no, returning to step B; E. reading, by the smart card, a directory component data of the APDU command from the communication buffer; when the size of the directory component data read but unprocessed by the smart card matches size information comprised in the directory component data read by the smart card, processing, by the smart card, the unprocessed data; when the smart card does not read all data included in the directory component and there is no unread data in the communication buffer, returning to step B; amending, by the smart card, the first status flag to the third preset value when all the directory component data are processed by the smart card, and determining whether there is unread data in the communication buffer, if yes, returning to step C; if no, returning to step B; F. reading, by the smart card, an applet component data of the APDU command from the communication buffer; processing, by the smart card, unprocessed data when the size of the applet component data read but unprocessed by the smart card matches size information comprised in the applet component data read by the smart card; when the smart card does not read all applet component data included in the applet component, returning to step B; when the smart card has processed all applet component data included in the applet component, amending, by the smart card, value of the first status flag to the fourth preset value, and determining whether there is unread data in the communication buffer, if yes, returning to step C; if no, returning to step B; G. reading, by the smart card, an importing component data of the APDU command from the communication buffer; processing, by the smart card, unprocessed data when the size of the importing component data read but unprocessed by the smart card matches size information comprised in the importing component data read by the smart card; when the smart card does not read all importing component data included in the importing component and there is no unread data in the communication buffer, returning to step B; when the smart card has processed all importing component data included in the importing component, amending, by the smart card, the value of the first status flag to the fifth preset value, and determining whether there is unread data in the communication buffer, if yes, returning to step C, if no, returning to step B; H. reading, by the smart card, a class component data of the APDU command from the communication buffer; when the smart card has read all class component data, and there is no unread data in the communication buffer, returning to step B; processing, by the smart card, the class component when all class component data included in the class component are read by the smart card, and amending the value of the first status flag to the sixth preset value, and determining whether there is unread data in the communication buffer, if yes, returning to step C; if no, returning to step B; I. reading, by the smart card, a method component data of the APDU command from the communication buffer; when the smart card does not read all method component data included in the method component, and there is no unread data in the communication buffer, returning to step B; amending, by the smart card, the value of the first status flag to the seventh preset value when the smart card has read all method component data included in the method component, and determining whether there is unread data in the communication buffer, if yes, returning to step C, if no, returning to step B; J. reading, by the smart card, a static field component data of the APDU command from the communication buffer; processing, by the smart card, the unprocessed static field component data when the size of the static field data read but unprocessed by the smart card matches size information comprised in the static field component data read by the smart card; when the smart card does not read all static field component data included in the static field component, and there is no unread data in the communication buffer, returning to step B; when the smart card has processed all static field component data included in the static field component, amending, by the smart card, the value of the first status flag to the eighth preset value, and determining whether there is unread data in the communication buffer, if yes, returning to step C, if no, returning to step B; K. reading, by the smart card, an export component data of the APDU command from the communication buffer; when the smart card does not read all export component data included in the export component, and there is no unread data in the communication buffer, returning to step B; when the smart card has read all export component data included in the export component, processing, by the smart card, the export component, and amending the value of the first status flag to the ninth preset value, and determining whether there is unread data in the communication buffer, if yes, returning to step C, if no, returning to step B; L. reading, by the smart card, a constant pool component data of the APDU command from the communication buffer; when the smart card does not read all constant pool component data included in the constant pool component, and there is no unread data in the communication buffer, returning to step B; when the smart card has read all constant pool component data included in the constant pool component, processing, by the smart card, the constant pool component, and amending value of the first status flag to the tenth preset value, and determining whether there is unread data in the communication buffer, if yes, returning to step C, if no, returning to step B; M. reading, by the smart card, a reference location component data of the APDU command from the communication buffer; processing, by the smart card, the unprocessed reference location component data when the size of the reference location component data read but unprocessed by the smart card matches size information comprised in the reference lo

Assignees

Inventors

Classifications

  • specifically adapted to static storage, e.g. adapted to flash memory or SSD · CPC title

  • Downloading or loading of personalisation data · CPC title

  • Software being resident on card · CPC title

  • using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories · CPC title

  • Multiple memory zones on card · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9449020B2 cover?
A method for a smart card to process a CAP file, including the following steps: a smart card establishing a connection with an external terminal, performing initialization, receiving an APDU command corresponding to a CAP file, storing the data contained in the APDU command in a communication cache area, judging the value of a first state flag bit of the card, and performing different operation…
Who is the assignee on this patent?
Feitian Technologies Co Ltd, Feitian Technologies Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F16/1847. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 20 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).