Design of Audio Key System Based on USB Audio Device Class

Author
DingXiaoPeng
Advisor
LiPing
School
Shanghai Jiaotong University
Major
Circuits and Systems
Classification
TP309.7 Encryption and decryption
Degree
Master's thesis
Year
2009
Downloads
13
Citations
0

Request the full text

Abstract

With its versatility and convenience in use, USB has become a growing number of handheld devices and even larger external equipment’s standard interface. USB interface for transmission in the key security system is also universal, but simply to stored data in the USB key can not guarantee the security of user data, the loss of key data may bring user information theft.Speech recognition technology can date from 1950s and 1960s ,and it has entered a more mature stage of the application, so this paper considers the use of the article that user can never lose: the voice as the security guarantee. The system chooses to strike the MFCC coefficient of a section of voice as the save for users validation, In addition, raises a design that achieves the acquisition and processing of voice signal in an embedded handheld device. This will contribute to a separate encryption to the characteristics of the voice data in the equipment side to further enhance the security of the system; also alleviate the pressure on the server-side computing, to make the remote server verify key become possible.In this paper, USB interface is used as the information exchange interface between the key equipment and mainframe server-side. Based on the USB Audio equipment protocol, the article designs a USB audio device structure to control the microphone. In order to enhance system versatility, it chooses Windows xp as the server operating system. It make a design of the USB key system communication protocol between device-side and host-side, for the host to configurate ADC sampling features at audio equipment side, and the program of value of MFCC characteristics extraction. Meanwhile,for the equipment to feedback the configuration of the current audio ADC and sent the MFCC characteristics already got to host-side. This set of communication protocols is built on the standard operating system drivers usbaudio.sys ,which is realized by calling the Windows api audio library function on the host side. So the system doesn’t need to develop or install special host drivers only , but also simplifies the use of the system.This paper analyzes the MFCC feature extraction algorithm. It gives a method that is , getting a certain period of time of admission to frame the environmental voice, in order to do improved spectral subtraction operation to the admission to voice later through analysis to the noise spectrum, in this method white noise is eliminated. For the residual “music noise”, it gives a design of the " Method of Mask Comparing with First Time Recorded Key Voice ", that is, in the host side, do improved spectral subtraction operation to the first time recorded key voice, and then achieve its masking threshold for preservation.Then every time when doing verification operation, just comparing with environmental noise power spectral density with the masking threshold to determine whether to do masking noise operation. This method reduces the complexity of the algorithm while enhancing the accuracy of the algorithmThe paper improves floating-point to fixed-point arithmetic structure for the embedded system environment. In accordance with the MFCC algorithm steps,this paper classifies fixed to floating-point conversion nto three categories: simple floating-point parameters conversion, simple floating-point function conversion and specific floating-point function conversion. For simple floating-point function conversion,it adepts coordinate rotation digital computer (CORDIC) algorithm. For specific floating-point function conversion,it makes use of look-up table method. In order to reduce the size of the device-side firmware,it makes a pre-establishment and preservation of the list of specific floating-point function value on the host side. Before voice authentication operation, through the custom USB Key audio communication protocols, function value list is sent to the USB device in accordance with user’s configuration of the audio equipment and MFCC feature extraction on the host side.This improvement greatly reduces the space occupied by the firmware.This article attempts to combine the universality of USB interface and security of speech recognition technology, , to achieve a safe and convenient hand-held Audio-Key, and completes the design from device-side firmware to host-side application. The experimental test results show that,for around 3 seconds long time secret voice under the highest sampling rate, 16K Hz, this system can guarantee both real-time and the recognition rate of 82.5 percent. The proposed program, the Audio-Key communication protocols and improved algorithms have reached the desired results.

Table of contents

Summary 4-7 ABSTRACT 7-14 Chapter 1 Overview 14-22 1.1 subject background and significance 14 -15 1.2 the audio key system About 15-19 the the 1.2.1 audio key system structures 15-17 1.2.2 Audio key system technical difficulties 17-19 1.3 thesis content and arrangement 19-22 USB protocol audio equipment 22-40 < br /> 2.1 in the traditional sense of audio equipment 22-23 2.2 USB audio device has the advantage 23-26 2.2.1 Plug and Play 23 -24 2.2.2 high support 24 to 2.2.3 high transfer rates 24-25 2.2.4 scalability are found; 25 - 26 2.3 USB audio device Structural Analysis and Design the 2.3.1 USB audio device logic structures nbsp 26-31 ; 26-27 2.3.2 USB audio device Functional module analysis 27-30 2.3.3 The system's USB audio device class structural design 30-31 2.4 USB audio device enumeration process of 31 -39 2.4.1 USB data transfer types 32 2.4.2 USB audio device descriptor analysis and design 32-34 2.4.3 USB devices gold the standard bootstrap process equipment command 34-39 2.5 Chapter Summary 39-40 Chapter USB the Audio key communication 40-57 <br / > 3.1 USB audio key communication protocol the the audio key system to transfer data classification 40-45 3.1.1 40-41 3.1.2 audio key communication protocol design 41-43 3.1.3 the protocol transmission mechanism based on Windows standard audio driver 43-45 3.2 USB audio communication module firmware design 45 - 51 3.2.1 based the ARM firmware development tool chain 45-48 3.2.2 communication module firmware 48-51 3.3 server-side application design 51-55 3.3.1 application processing strategy the 51-52 3.3.2 application strategy to achieve 52-55 3.4 This chapter Summary the 55-57 Chapter MFCC speech recognition algorithm improvements and Implementation 57-80 4.1 MFCC speech recognition algorithm basic principle 57-58 4.2 MFCC characteristics extraction process the 58-66 4.2.1 audio frame divided 58 4.2.2 Speech Endpoint Detection 58-59 4.2.3 the speech frames pretreatment 59-61 4.2.4 FFT transform 61-65 4.2.5 frequency domain processing 65-66 <br / > 4.3 MFCC feature extraction algorithm improved 66-71 4.3.1 improved spectral subtraction to remove background noise 66-68 4.3.2 first entry passphrase masking the Comparative Law removal music noise the 68-70 4.3.3 testing effects the match 70-71 4.4 MFCC characteristics 71-72 4.5 MFCC feature extraction algorithm implemented on embedded systems and improved 72-79 4.5.1 floating-point-to-fixed point arithmetic are found; 72-78 4.5.2 on special floating-point turn fixed-point arithmetic modules improve 78-79 4.6 Chapter Summary 79-80 Chapter key system functionality test 80-83 5.1 System test platform 80 5.1.1 ARM9 hardware platform the 5.1.2 server environment based on Windows system 80 5.2 system test results for 80 and Analysis 80-82 5.3 Chapter Summary 82-83 Chapter Summary and Outlook 83-85 6.1 This paper summarizes nbsp ; 83-84 6.2 follow-up work and Prospects to References 84-85 85-87 Appendix 1: USB audio device descriptor format 87-93 Appendix 2: USB audio descriptor list 93-99 Acknowledgements 99-100 degree during the academic papers published directory 100

Related dissertations

  1. Research and Implementation of Voiceprint Recognition Techniques in Smart Home
    LiWen ·Northeastern University ·2012 ·Master's thesis
  2. Design and Implementation of GriDoc Management System
  3. Research of vehicle driver training management system
    ZhangWenJun ·Shandong Normal University ·2014 ·Master's thesis
  4. The Study of PCIe Interface Encryption Card Driver under the Linux
  5. Embedded Linux-based USB Encryption Driver Design
  6. Development of Test Resource Interface Specification Inspection Equipment
    ZhangZuoDong ·Harbin Institute of Technology ·2012 ·Master's thesis
  7. Research on the Driving Technoloy of the High Power and High Rate Electro-Optic Modulator RF
  8. A Leakage Detecting Prototype System of New-Pump Valves Based on Acoustics
    LiMingXia ·Dalian Polytechnic University ·2008 ·Master's thesis
  9. The Research of Speaker Recognition Algorithms Based on MFC and Vector Quantization
    YinXuMei ·Hunan University ·2011 ·Master's thesis
  10. Design and Implementation of the Yunnan Minorities Police Language Identification System
    XiaHongGang ·Shanghai Jiaotong University ·2013 ·Master's thesis
  11. Feature analysis and research of vehicle audio signal acquisition system based on PCI-5616
  12. Study and Design of Speech Recognition System Based on Phonetic Element
    YeLiangLiang ·Chongqing University ·2013 ·Master's thesis
  13. Design of Game System Based on Voice Recognition
    LiZuo ·Chongqing University ·2013 ·Master's thesis
  14. Speech Feature Extraction Research Based on ISOMAP and Its Implementation on DSP
    XiaoYuFeng ·Hunan University ·2013 ·Master's thesis
  15. The Research of Feature Extraction Based on Fisher Criterion in Speaker Recognition
    ZhangZuo ·Hunan University ·2013 ·Master's thesis
  16. Research on Audio Quality Detection Methods of Electric Shavers
    ZuoYiDan ·Harbin Institute of Technology ·2013 ·Master's thesis
  17. Software and Hardware Design and Implement of the Driver of the Thermal Lithographic Module in High-speed Card Producing Equipment
    HuEnCi ·South China University of Technology ·2013 ·Master's thesis
  18. Based on the40Nm Process LVDS Design and Implementation
    MaJuan ·Beijing Jiaotong University ·2014 ·Master's thesis
  19. A Two-stage Electrolytic Capacitor-less AC-DC LED Driver
  20. The Design and Implementation of LLC120W LED Driver