Supercharge Your Innovation With Domain-Expert AI Agents!

Method for strengthening reliability of smart card

A smart card and reliable technology, applied in the protection of internal/peripheral computer components, program control devices, etc., can solve problems such as miserasing and writing

Active Publication Date: 2015-05-27
BEIJING CEC HUADA ELECTRONIC DESIGN CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But usually the erase function puts the instruction sequence and start erase in one function, once the program runs to the function entry, it will sequentially write the instruction sequence and start erase, which will cause mistaken erase

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
  • Method for strengthening reliability of smart card
  • Method for strengthening reliability of smart card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] This embodiment provides a method for calling a software switch program. Such as figure 1 As shown, the method includes:

[0043] Step A00, power-on reset, means that the smart card embedded software starts to execute.

[0044] Step A01, at the beginning of the program execution, the software switch is turned off, which is beneficial to early blocking the adverse effects caused by program runaway.

[0045] Step A02, perform other work such as initialization of the smart card program.

[0046] Steps A03-A06 are a brief model of data processing of the smart card, embodied as a cyclic processing process. The smart card is a passive device, that is, the upper computer sends data to the smart card, the smart card receives and processes and returns the response data, and then continues to wait for the next set of data (commonly called a command).

[0047] Step A03, turn off the software switch at the beginning of the loop body.

[0048] Step A04, receiving the command is...

Embodiment 2

[0053] This embodiment provides a method for designing an erasing program. Such as figure 2 As shown, the method includes:

[0054] Step C01, the purpose of the erasing program is to program the transmitted data to the non-volatile memory (EEPROM or FLASH), usually the hardware will provide a buffer for storing data, and the software will officially notify the hardware to start erasing After writing, the hardware will automatically write the data in the buffer to the non-volatile memory. This step is to write the data to be erased into the buffer.

[0055] Step C02, detecting whether the software switch 1 is 0x6780. Here the software switch is split into two sub-switches, switch 1 and switch 2. If it is different, it is illegal to think that it is illegal to enter this erasing program at present, and step C07 will be performed.

[0056] Step C03, detecting whether the software switch 2 is 0x904F. If it is different, it is illegal to think that it is illegal to enter thi...

Embodiment 3

[0063] For the software switch (Switch_Variable, representing a variable-based switch) programming method, the principle is that the number of switch representatives is large enough to reduce the probability that the switch is just turned on because the program has run away before the switch is turned off when the power is turned on.

[0064] Usually, the number represented by the software switch can be designed to be more than 4 bytes, that is, 2 32 more than data;

[0065] To turn on the switch is to assign a set of special values ​​to the software switch variable, such as 0x6780904F.

[0066] To turn off the switch is to assign another set of special values ​​to the software switch variable, such as 0x00000000.

[0067] In a word, the experiment proves that the method for enhancing the reliability of the smart card provided by the present invention is simple and feasible, can effectively solve the situation of incorrect erasing and writing caused by program runaway, and ef...

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 is a method for strengthening the reliability of a smart card, which belongs to the field of embedded software reliability design of the smart card in the embedded software field. The invention puts forward arrangement of a software switch in the program of the smart card, by controlling the software switch, the probability that the smart card program mistakenly carries out erasing a function due to being interfered is reduced, and the purpose of strengthening the reliability of the smart card is achieved.

Description

technical field [0001] The invention belongs to the category of smart card software in the field of embedded software, and in particular relates to a smart card reliability method. Background technique [0002] A smart card is an IC card, and the integrated circuit in the card includes a central processing unit CPU, ROM, EEPROM (or other media), RAM, and smart card software and data stored in the card. [0003] Smart cards usually have hardware reliability protection measures such as voltage protection and frequency protection, but there are still cases where the program pointer of the smart card runs away under certain abnormal working conditions (such as unstable power supply, live plugging, electromagnetic interference, etc.) . The smart card program pointer runs away, usually causing the program to return to an incorrect state. According to the characteristics of the smart card application, the running of the program will bring two consequences. One is that for most c...

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): G06F21/77G06F21/78G06F9/44
Inventor 杨念东蒙卡娜
Owner BEIJING CEC HUADA ELECTRONIC DESIGN CO LTD
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