Research and Implementation of Operating System Core Layer of Smart Card
- Author
- ChePingYue
- Advisor
- ChenXingYi
- School
- Beijing University of Posts and Telecommunications
- Major
- Computer Science and Technology
- Classification
- TN409 Application
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 119
- Citations
- 6
Abstract
The development of smart cards has been a history of nearly 30 years , currently has wide range of applications to the public security, health care , transportation , finance , telecommunications , social security , oil , sports and other various industries , with the promotion of smart card applications , smart card industry chain also been extremely big improvement and subdivision . The whole industry chain from the smart card chip design , silicon wafer manufacturing , chip packaging , smart card COS R \u0026 D , personalized cards issued to the ultimate user, the whole industry chain with the development of technology and applications , and will be further subdivided . Described in this paper is an important link in the chain of the smart card industry : research and development of the smart card COS kernel . This thesis is focused on the domestic smart card chip to discuss the design of the operating system kernel and the kernel function of the smart card . This paper first describes the background and content of selected topics , summarizes the development status of the smart card . Details the function of the classification of the smart card and smart card of COS on the physical characteristics of the smart card , the organizational structure and the smart card follows the international standard system . Subsequently , according to the chosen chip , a brief description of the hardware structure of the system-on-a-chip , and according to the characteristics of the chip , the articles specify the design of the kernel , file systems , security systems , backup and recovery mechanisms . This article focuses on the the kernel main flow that the detailed design of the communication module is given highlight ATR sent PPS protocol APDU command processing process . Module is divided according to the system design and the definition and function of the interface functions described . Then also elaborated on the debug mode , and the system gives a detailed test program , including functional testing, unit testing , and performance testing to ensure compliant system to complete the function , to achieve the desired objectives . Finally, a chip transplant program , to ensure that the COS can get a wide range of applications . Design and development program based on the application of proven described in this article is correct and feasible .
Table of contents
Abstract 4-5
Abstract 5-9
Chapter 1 Introduction 9-11
1.1 Project Background
1.2 research 9-10
1.3 thesis structure and main content 10-11
Chapter 2 smart card technology research 11-21
2.1 smart card development status 11-12
2.2 smart card classification 12-13
2.3 smart card COS 13-14
2.4 smart card physical characteristics 14-19
2.4.1 physical structure 14-16
2.4.2 operating conditions 16
2.4.3 procedure 16-19
2.5 smart card organizational structure 19-20
2.5.1 file organization structure 19
2.5.2 file reference 19-20
2.5.3 data by reference 20
2.6 ISO 7816 standard 20-21
Chapter 3 kernel design 21-45
3.1 CIU51G128 chip 21-25
3.1.1 hardware features 21-23
3.1.2 spatial structure 23-25
3.2 file system design 25-33
3.2.1 File System Overview 25
3.2.2 file structure 25-27
3.2.3 EF file 27-32
3.2.4 file types commands 32-33
3.3 security system design 33-36
3.3.1 security attributes 33
3.3.2 security mechanisms 33-34
3.3.3 key 34
3.3.4 security features 34-36
3.4 backup and recovery mechanism 36-41
3.4.1 Data backup mechanism 36-40
3.4.2 Data recovery mechanism 40
3.4.3 EEPROM anti-pull mechanism 40-41
3.5 PATCH mechanisms 41-45
3.5.1 ROM COS 41-42
3.5.2 BOOTLOADER mechanism 42-45
Chapter 4 I / O communications module design 45-57
4.1 overall design 45-47
4.2 ATR response 47
4.3 PPS protocol 47-48
4.4 APDU command structure 48-55
4.4.1 command APDU 48-49
4.4.2 response APDU 49-50
4.4.3 APDU coding structure 50-55
4.5 lifecycle 55-57
the kernel function
Chapter 5 Design and Implementation 57-79
5.1 development environment 57
5.2 project set 57-59
5.3 module function design 59-66
5.3.1 design goals 59-60
5.3.2 module division 60
5.3.3 Module Functions 60-63
5.3.4 MAIN main flow 63-66
5.4 variable defined specifications 66
5.4.1 global variable 66
5.4.2 local variables 66
5.5 debugging 66-70
5.5.1 compiler 66-67
5.5.2 debugging 67-68
the 5.5.3 memory mapping settings 68-69
5.5.4 interrupt setting 69-70
5.5.5 IO communication settings 70
5.6 system test 70-74
5.6.1 test environment 70-71
5.6.2 testing purposes 71
5.6.3 Functional Test 71-72
5.6.4 unit test 72-74
5.6.5 Performance test 74
5.6.6 Test Results 74
5.7 chip transplant program 74-79
5.7.1 limitations 74-75
5.7.2 dynamically allocated memory solutions 75
the
the 5.7.3 reset the process 75
5.7.4 memory programmed address conversion algorithm 75-76
5.7.5 security 76
5.7.6 advantages and disadvantages of the program 76-79
Chapter 6 Summary and Outlook 79-81
6.1 paper summarizes 79
6.2 Next Job Outlook 79-80
6.3 postgraduate study summarizes 80-81
the
References 81-83
Acknowledgements 83-85
the
pursuing degree during the academic catalog 85
Related dissertations
- Research and Implementation of Campus Smart Card Chip Operating System
- Smart Cards COS Structure Analysis and Model of Structure
- Porting and Implementation of the Chip Operating System
- Design and Implementation of Smart Card File System Based on the PKCS#15Specification
- Design and Implementation of the Countermeasure on Smart Card Against Differential Power Analysis Attack
- Smart Card Electronic Cash System Design and Testing COS
- Design and Implementation of the Key Module of Social Security Card COS
- Study on Intelligent Design of Smart Card Application System and Theory of Secure Multiparty Computation
- Large-capacity SIM card mobile applications research
- Research and Design of USBKEY Base on PKI/ECC
- Flash memory smart card operating system design and implementation
- Research and Design of Smart Card COS
- Applications based on the LON Bus residential smart card system
- PC / SC compatible virtual smart card systems and encryption research and service components
- Research and Design of Flash Encryption Storage
- A Research on the Application of Smart Card in DTV Conditional Access System
- Research and Realization of USB KEY Structure
- Research on Security Small-Scale EP System On-Line Based on Smart Card
- Based on the SD interface encryption card Research and Design
- Design and Implimentation of Mobilephone Security Accessory