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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com