摘要:
本发明涉及Android系统领域的数据加密保护,特别是向android系统添加指纹识别技术的方法和装置. The present invention relates to the field of data encryption to protect the Android system, in particular a method and apparatus to add fingerprint recognition technology to the android system. 所述方法包括:在Linux内核层添加对指纹识别硬件的直接控制并为系统库和Android运行时层提供响应的硬件接口;将指纹识别硬件分别设置为两个串口设备,添加两个设备结点;系统库和Android运行时层添加由C或C++实现的对Linux内核层提供的接口的封装,并且提供应用程序框架层需要的接口的注册;应用程序框架层完成指纹识别的Android软件程序开发包(SDK),通过系统库和Android运行时层注册的接口;应用程序框架层使用系统库和Android运行时层注册的接口,完成扫描服务类ScanFPService,以及扫描管理类ScanFPManage. Said method comprising: adding the direct control of the Linux kernel layer fingerprint recognition hardware and system libraries and Android runtime providing the response hardware interface layer; fingerprint recognition hardware are set to two serial devices, add two device nodes ; layer adding system libraries and Android runtime by the C or C ++ implementation of the interface package for the Linux kernel layer provides, and provides an interface registration application framework layer needs; application framework layer performs fingerprint identification Android software program development kit (SDK), the system libraries and Android runtime layer registration interface; application framework layer uses system libraries and Android runtime layer registration interface, complete the scan service class ScanFPService, and scanning management class ScanFPManage.
展开