Font Size: a A A

Research And Implementation Of The ID Card Copying System Based On Embedded Linux

Posted on:2013-08-23Degree:MasterType:Thesis
Country:ChinaCandidate:H ZhangFull Text:PDF
GTID:2248330374982818Subject:Electronics and Communications Engineering
Abstract/Summary:PDF Full Text Request
Along with the rapid development of computer technology, people began to consider how to make the client terminal devices more intelligent, digital, lightweight and convenient, easy to use, and have some specific features. Embedded technology provides a flexible, efficient and cost-effective solution.People’s Republic of China adopted the "ID ACT" in June2003, launched the second generation resident ID card. Second generation resident ID card is based on the RFID technology. Internal ID storage stores citizenship information, which can be read through the card reader. The traditional method of copying ID cards is printing the images scanned by scanner. As the citizenship information can be read through the card reader, new method of copying ID cards can be printing images composed by the embedded system.Research and implementation of the ID card copying system based on embedded Linux was done in this paper. Both first generation and second generation ID card can be copied in the system. First generation ID card is copied with the method of scanning and printing. Second generation ID card is copied with the method of card reading and printing. There are two innovations in this paper. First, a innovation method of composing image in embedded system is proposed. Second, a method of printing grayscale image in black-white printer is proposed.Firstly a demonstration of the hardware system composition was made. The system consists of the main board, scanner, printer, and the second generation ID card reader. The main control board uses S3C2440processor based on ARM9architecture and produced by Samsung Electronic as CPU. Syscan Technology A6color portable scanner Docket Port667was selected. The printer is the Japanese Seiko thermal printer head CPAD347. The second generation ID reader is Shensi Electronic’s ID reader which was authorized by the Ministry of Public Security of the People’s Republic of China.Then a research on porting Linux operating system to ARM system was made. Including building Linux develop environment, configuring ARM cross compile tool chain. Porting Linux operating system including porting bootloader, porting Linux kernel and building root file system. For the ARM processor S3C2440Linux kernel porting, the official kernel contains the version for S3C2440. It only needs some configuration changes according to the needs of the platform.Next, design device driver. Linux device driver is part of the Linux kernel. The device drivers make device to respond to defined internal programming interfaces, which completely hide the specific details of the work of the device. Scanner Docket Port667’s communication interface to the host is a USB interface. Development of scanner driver is based on open source USB API library libusb. Printer and card reader’s communication interface to host is serial port. The serial port driver has been ported by official kernel. The user level serial programs were written to drive the serial device.GUI applications were written based on open source embedded graphics library Qt. Qt is a cross-platform C++application development framework, widely used in GUI application development. There are two mode in main application. In first generation ID card mode, ID was scanned and the ID image was printed. In second generation ID card mode, the citizenship information was read by card reader and the image composed by the embedded system was printed. The composing ID card image program was written based on Qt library. Black and white printer to print grayscale images based on grayscale digital image processing technologies. Floyd-Steinberg algorithm was used to deal with grayscale images into black and white binary images.
Keywords/Search Tags:embedded Linux, ID copying, Linux device drivers, embedded Qt
PDF Full Text Request
Related items