Supercharge Your Innovation With Domain-Expert AI Agents!

Smart card application protocol data unit (APDU) order correcting method and device

A smart card and command technology, applied in the direction of program control device, program loading/starting, etc., can solve problems such as low efficiency, achieve the effect of improving execution efficiency, avoiding waste, and facilitating expansion

Inactive Publication Date: 2014-08-27
BEIJING SMARTCHIP MICROELECTRONICS TECH COMPANY +1
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to overcome the defects of low efficiency in the prior art, the present invention provides a smart card APDU command correction method and device

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Smart card application protocol data unit (APDU) order correcting method and device
  • Smart card application protocol data unit (APDU) order correcting method and device
  • Smart card application protocol data unit (APDU) order correcting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] A method for correcting APDU (Application protocol data unit, application protocol data unit) commands of a ROM smart card is proposed. This method can judge whether the command is a patch command at the place where the command is actually executed after the command acceptance is completed in the main program. If it is a patch command, jump from the masked ROM program to the newly designed EEPROM The instructions are executed to complete the corresponding new requirements. If it is not a patch command, then continue to execute the content of the original APDU command, which is the code of the original ROM. The invention solves the problem of performing function correction on the masked ROM card. The invention proposes a patch method for updating or correcting APDU commands of the smart card, so that the smart card can conveniently update applications and correct bugs. Its main design scheme is as follows:

[0042] 1. First, divide the boundary between the data storag...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a smart card application protocol data unit (APDU) order correcting method and device. The method includes the following steps that (1) patch orders are written in at corresponding positions of a patch storing area; (2) patch state information which corresponds to each patch order is set in a data storing area; (3) after a smart card is powered on and APDU orders start to be executed, whether the APDU orders are the patch orders or not are determined, and if the APDU orders are the patch orders, the corresponding patch orders are executed. The device comprises an order write-in unit, a patch state information set unit and a chip operating system (COS) order executing unit, wherein the order write-in unit is used for writing in the patch orders at the corresponding positions of the patch storing area, the patch state information set unit is used for setting the patch state information which corresponds to each patch order in the data storing area, the COS order executing unit is used for determining whether the APDU orders require to be patched or not, and the corresponding patch orders are executed as required. By means of the smart card APDU order correcting method and device, the executing efficiency is increased, and the processing time of the orders by chips is shortened.

Description

technical field [0001] The invention belongs to the field of smart chips, and in particular relates to a smart card application protocol data unit command (Application protocol data unit, APDU) correction method and device. Background technique [0002] With the continuous advancement of technology, smart cards have been widely used in various fields, such as: banking, transportation, social security, electric power and other industries. At the same time, the number of smart cards in the hands of users is gradually increasing. How to enable users to reuse the existing smart cards in their hands for business upgrades without having to apply for new cards is a more critical issue, so we have to study smart cards. patch mechanism. [0003] In addition, for smart card manufacturers, after making the COS hard mask of the smart card, when returning to the factory for testing, if there is a BUG in the COS, how to correct the internal BUG of the smart card COS in a timely manner, s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/445
Inventor 付青琴袁艳芳王丽萍李福雷徐平江张虹
Owner BEIJING SMARTCHIP MICROELECTRONICS TECH COMPANY
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More