Based on the AT90S8535 virtual machine technology and its application
- Author
- XuJunLin
- Advisor
- LiaoJianMing
- School
- University of Electronic Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP302 Design and Performance Analysis
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 8
- Citations
- 0
Abstract
At present, the rapid development of virtual machine technology, used more and more widely. It is developed in recent years with enormous potential of computer technology. Virtual machine technology simulates the operation of computer processors through software, reducing the constraints of the hardware platform for the software, making software development and deployment more flexible and efficient. VMware, Virtual PC, Xen etc were popular virtual machines. They are universal virtual machine, through the simulation of computer processors; we can greatly improve the utilization of computer hardware and other resources.Instructions can be performed on a virtual machine which based on an instruction set written in binary. It maybe improves security of digital TV conditional access system by using the virtual machine to perform the encryption algorithm. In this thesis, based on AT90S8535 microcontroller and its command system, I designed a virtual machine. This virtual machine can run in the embedded set-top box, it executes AT90S8535 microcontroller instruction code written in binary. In the digital TV set-top box receiver front-end system, through the implementation of the binary instruction code (such as encryption algorithms) to complete the audio and video stream encryption and decryption. The binary code can be replaced, so that conditional access system and multi-key encryption algorithm can be in completely control of users of the system, its security can be fully guaranteed.This thesis introduces the virtual machine technology and the principle of conditional access system first, and then analyzes the AT90S8535 AVR microcontroller instruction set system and its programming instructions. For Digital TV conditional access system security requirements, a solution is proposed to improve the security of conditional access system by the virtual machine program. The virtual machine technology is used into the digital TV conditional access system which, encryption in the head and decryption in the end both running the virtual machine module. Through the implementation of the virtual machine module binary code for data encryption and decryption. Thus, the kernel algorithm used for encryption and decryption can not only flexible to change and may be subject to full control. Together with the appropriate key distribution system, it can prevent the smart cards and conditional access system crack.The conditional access system with virtual machine technology has successfully passed the test of Information Technology Security Evaluation Center of The State Administration of Radio, Film and Television.
Table of contents
Abstract 4-5
ABSTRACT 5-13
first chapter 13-17
1.1 virtual machine technology, the purpose and significance 13-14
1.2 virtual machine technology development 14-15
1.3 of this article study the contents and arrangement of the chapters 15-17
virtual Introduction of machine technology and conditional access system 17-32
2.1 Virtual Machine Technology Overview 17-21
2.1.1 central processor running 17-18
2.1.2 simulated central processor 18
2.1.3 virtual machine's works 18-20
2.1.4 virtual machine technology the challenges and opportunities 20-21
2.2 single-chip technology overview 21-22
2.2.1 AVR microcontroller About 21
2.2.2 Microcontroller and its instruction set 21
2.2.3 MCU code area and data area 21-22
2.2.4 microcontroller instruction execution process 22
2.3 digital TV Conditional Access System Overview 22-30
2.3.1 Digital TV Broadcasts About 22-23
2.3.2 Conditional Access System Principle 23-26 <br / > 2.3.3 The conditional access system composed 26-27
2.3.4 Conditional Access system running 27-28
2.3.5 condition receiving system application 28-29
2.3.6 Conditional Access System security 29-30
2.4 Data Encryption Technical Overview 30-31
2.4.1 encryption technology 30-31
2.4.2 Symmetric encryption technology 31
2.4.3 asymmetric encryption technology 31
2.5 of this chapter Summary 31 - 32
Chapter III of conditional access system security requirements 32-36
3.1 The conditional access system to crack 32-34
crack 3.1.1-based algorithm 32
3.1.2 smart card-based crack 32-33 33
3.1.4 crack
3.1.3 system to decipher impact 33-34
3.2 urgent security requirements 34-35
3.2.1 radio and television operators on the security requirements 34
3.2.2 Digital TV security requirements 34
3.2.3 in this paper to try to solve problems 34-35
3.3 Chapter Summary 35-36
conditional access system virtual machine program overall design 36-42
4.1 Technical Feasibility Analysis 36-38
4.1.1 front-end scrambling machine supports packet sent 36
4.1.2 set-top box is needed by the virtual machine resources 36-37
4.1.3 encryption and decryption performance and user ratings impact 37
4.1.4 compiler and runtime environment to support 37
4.1.5 algorithm binary code generated 37-38
4.1.6 send and receive speed of the algorithm for binary code 38
4.2 The overall design 38-41
4.2.1 system functions 38-39
4.2.2 system architecture and deployment 39-40
4.2.3 development tasks 40
4.2.4 support on a one-way broadcast networks and two-way Ethernet 40 < br /> 4.2.5 algorithm for binary code generation 40-41
4.2.6 algorithm binary code debugging 41
4.3 of this chapter Summary 41-42 < br /> Chapter conditional access system detailed design of the virtual machine program 42-52
5.1 cross-platform compile and run 42-44
5.1.1 data type cross-platform 42
5.1.2-byte alignment and byte order problem 42-43
5.1.3 Universal programming interface 43-44
5.2 application programming interface 44-46
5.2.1 interface design principles 44-45
5.2.2 main interface 45-46
5.3 processing MCU binary instructions 46-48 46
5.3.2 instruction list of design
5.3.1 instruction characteristic analysis 46-48
5.3. 3 command structure 48
5.4 memory and the FLASH allocation 48-50
5.4.1 static memory footprint 48-49
5.4.2 shared memory allocation 49
5.4.3 algorithm required FLASH space allocated 49-50
5.4.4 algorithm binary download protocol 50
5.5 of this chapter Summary 50-52
Chapter VI condition to receive the virtual machine program to achieve 52-75
6.1 virtual machine assisted debug module 52-54 <br / 6.1.1 The role 52
6.1.2 achieve 52-53
6.1.3 interface 53-54
6.2 virtual machine module 54-68
6.2.1 role 54
6.2.2 Input Output macro definitions 54-55
6.2.3 global variable definition is 55-56
6.2.4 Kernel implementation 56-68
6.2.4.1 explain a machine instruction 56-60
6.2.4.2 explain a series of instructions 60-62
6.2.4.3 targeted to an instruction 62
6.2.4.4 perform a series of instructions 62-64
6.2.4.5 modify register state 64-65
6.2.4.6 access to the main register values ?? 65-66
6.2.4.7 Data encryption interface 66-68
6.3 algorithm binary code generation 68-69
6.3.1 role 68
6.3.2 achieve 68-69
6.4 virtual machine module is applied to the conditions to receive system 69-71
6.4.1 algorithm binary code to send and receive 69
6.4.2 Conditional Access System Front 69-70
6.4 .3 conditional access in the library to use 70-71
6.5 speed and space efficiency optimization 71-73
6.5.1 speed optimization 71 -73
6.5.2 space optimization 73
6.6 of this chapter Summary 73-75
Chapter VII of the operation and testing 75-78 < br /> 7.1 function test 75
7.1.1 cross-platform compile and run 75
7.1.2 Encryption and decryption conformance testing 75
7.2 Performance test 75-78
7.2.1 algorithm execution time 75-76
7.2.2 memory space occupied by 76
7.2.3 Algorithm update rate 76-77
7.2.4 Long-term run test 77-78
Chapter VIII summarizes 78-79
thank 79-80
References 80-82
research results obtained during the attack Master 82-83
Related dissertations
- Research and Implementation of DVB-C Digital TV Simulcrypt System
- Research and Implementation of Embedded Digital TV middleware
- Design and development of digital TV user management system
- Digital Television Subscriber Management System Analysis and Design
- Study and Implement of Java Virtual Machine on the Digital Television Middleware
- Research on Government Regulation of Cable Television
- Research and Design of Intelligent Medical Infusion Monitoring System
- Research on Performance Monitoring Technique of Cluster Management of the Virtual System
- Research of Permeability Testing System for Clay
- Design and Implementation of Information Acquisition System for Industry Field
- Measurement and Control System Design of Intelligent Greenhouse Nutritional Liquid Dripirrigation Device
- Microcomputer-controled Precision AC High-Voltage Power
- The Design of Data Acquisition Controller Based on Wireless Ad-Hoc Network Technology
- A Bus Body Control System Design Based on CAN Bus
- Research on Automatic Water Supply Control System of Poultry Farms Based on Mcu Microcontroller
- Design of the Space Seat’s Acquisition and Control System
- The Design of Constant Temperature and Humidity Incubator System Based on Microcontroller
- Multi-function Smart-home Control Terminal
- Design and analysis of the movement of armed robot control system
- The Research of Fault Diagnosis for Electric Actuator Base on PCA and LS-SVM