节点文献

基于CPLD的软件保护技术的研究

Study of Software Protection Technique Based on CPLD

【作者】 刘科峰

【导师】 唐汉雄;

【作者基本信息】 广西师范大学 , 电路与系统, 2002, 硕士

【摘要】 软件保护工作是维护软件开发人员利益的必要手段,是软件开发过程的重要组成部分。本文在分析软件保护技术与破解技术的基础上,研究了用CPLD来实现软件保护技术。 由于所研究的软件保护技术主要是用来保护工业实时检测软件,要求有较快的数据传输速度,所以采用PCI接口的软件保护卡来实现。根据PCI局部总线技术规范和所要达到的软件保护的目的设计所需的电路是实现软件保护技术的基础。文中介绍了所设计的软件保护卡的各组成部分的功能及其工作原理,并给出电路原理图的主要部分。 本文所研究的软件保护技术是通过对软件保护卡中的CPLD设计来实现的。在介绍CPLD设计方法的基础上,使用了代码移植技术等几种软件保护技术来保护软件。 在Windows98操作系统平台下,为保证系统安全性,系统资源由系统通过虚拟化的方式进行统一管理。为了使保护卡能实现软件保护技术,需开发与保护卡配套的设备驱动程序。为此,本文在简单介绍Windows98的虚拟机结构和一些VxD的基本知识的基础上,给出了用VtoolsD开发保护卡的虚拟设备驱动程序的方法。主要从设备初始化、Win32应用程序对VxD的通信、VxD访问硬件设备和VxD处理硬件中断四个方面分析了虚拟设备驱动程序的开发。

【Abstract】 Software Protection is a needed work for protecting software engineers’ benefits as well as an important component of software engineering. After analysis of protecting and cracking encryption technique of software,the paper presents a software protection technique using CPLD(Complex Programmable Logic Device).Because the software for protection is mainly used in a real-time checking subsystem in an industry system,and needs faster speed of data transport,so the PCI(Peripheral Component Interconnect) interface criterion is utilized in the Software Protection card. The basis of Software Protection with CPLD is to design circuits according to PCI local bus criterion and the goal of software protection. In this paper the functions and principles of Software Protection card are introduced,and the circuit diagrams are also presented.The technique of Software Protection studied in this paper is realized by designing CPLD in the Software Protection card. After introduction of techniques of designing circuit with CPLD,some types of software protection technique involving code replanting are implemented in the card.Because in Windows 98 operation system,software and hardware resources are managed in a virtualized way to guarantee the system’s safety,the device driver of the Software Protection card is developed to ensure its software protection ability. So,the technique of developing Virtual Device Driver with VtoolsD is presented after a brief introduction of Windows98 virtual machine structure and primary knowledge of VxD. Four main aspects of development of Virtual Device Driver are analyzed. They are device initialization,communication of Win32 application process and VxD,access of VxD to hardware and hardware interruption process in VxD.

【关键词】 CPLDPCI接口保护加密解密设备驱动程序VxD
【Key words】 CPLDPCIsoftware protectionencryptioncracking encryptiondevice driverVxD
  • 【分类号】TP311.5
  • 【下载频次】219
节点文献中: