| Today, the computer has been widely used in the lives of peoples. And many technicians have been benifited a lot from computers, no matter what fields they are engaged in. It is well known that software is an indispensability for the computer. Software is a kind of special product whose cost is very large and has to get over many difficulties before coming into the market.But it is much easier to duplicate and usually can be copied with lower expenses.Therefore, the illegal replications of software have overspread in the world. In this instance, the manufacturers of software have to take actions to protect their rights. Thus the techniques of encryption become popular.As a result, all manners of encryption have come into being.Dongle is one of the most widely used product to protect the software from being duplicated illegally.This paper is of exploring a kind of dongle which designed to protect autocontrol system software on a ship . This kind of ship can ameliorate the status of sea-route and accelerate the development of transportation of the river effectively.The Wuhan University of Technology is in charge of the development of the autocontrol system software,which consist of autocontrol and monitor system software. As both of the softwares are the most advanced in our country,it is necessary to protect them from being duplicated . Based on the requirement of the software protection the paper do some researches on the design of dongle. The PLD (Programmable Logic Device) is chosen as the core of the PCB(Printed Circuit Board),which is designed to implement the function of dongle. The relevant program of both the dongle and the computer have also been developmented.A parallel port and a serial port are provided for the PCB. There is a program(in VHDL, VHSIC Hardware Description Language) carrying out in the PLD which implementing the parallel protocol.An encrpt arithmetic is designed and embeded in PLD.To providing a interface for the user,a DLL(Dynamic Link Library) is developmented in C++ Builder. Besides ,this paper also design a simple program showing how to use the dongle.Some knowledge of different courses have been used in this design, such as cryptology , electronics ,program design etc.So this design is a integration of many techniques and it is valuable to use. |