国内图书分类号:TP31 学校代码:10079
国际图书分类号:004 密级:公开
工学硕士学位论文
基于指纹识别技术的学生考勤管理系统设
计与实现
硕 士 研 究 生:赵云启
导 师:胡朝举
申 请 学 位:工学硕士
学
专
科:计算机
业:计算机软件与理论
所 在 学 院:控制与计算机工程学院
答 辩 日 期:2013 年 3 月
授予学位单位:华北电力大学
Classified Index: TP31
U.D.C: 004
Dissertation for the Master Degree in Engineering
Based on Fingerprint Recognition Technology
Student Attendance Management System Design and
Implementation
YunqiZhao
ChaojuHu
Master of Science in Engineering
Computer
Computer Software and Theory
March,2013
North China Electric Power
University
Candidate:
Supervisor:
Academic Degree Applied
for:
Speciality:
School:
Date of Defence:
Degree-Conferring-Institution
:
摘 要
学生考勤管理是高校教学管理的重要组成部分,是教学活动正常开展的前
提,而很多高校还在使用人工方式统计和管理学生考勤信息。随着科学技术的迅
猛发展,这种方式逐渐显现出效率低下、准确性差等弊端。结合网络信息时代“数
字化”校园建设这一思想,根据华北电力大学学生管理的特点,现设计了基于指
纹识别技术的学生考勤管理系统。该系统是集课堂考勤、图书馆登到、实验室登
到、学生宿舍登到等功能于一体的学生考勤管理系统。通过本系统,我们可以做
到学生考勤信息的规范管理、准确统计、快速查询等,极大的提高了学生考勤信
息管理的效率和水平。
通过对使用对象(教务处领导、学生辅导员、实验室工作人员、任课教师和
学生)的走访和调查,完成了学生考勤管理系统的需求分析,为后续的开发奠定
了强有力的基础,降低了开发风险,保证了系统的质量。本系统是计算机技术和
指纹识别技术相融合而形成的一套完善的系统。该学生考勤管理系统主要包括两
个部分:学生日常考勤子系统和学生考勤管理子系统。其中学生日常考勤子系统
的功能主要包括:日常学生考勤、学生指纹信息采集、指纹仪设置等。学生考勤
管理子系统主要完成考勤记录的查询、统计、及考勤规则的设置等工作。该子系
统主要功能包括:学生信息管理、教室信息管理、课程信息管理、课程表信息管
理、管理员信息管理等。通过本系统,实现了对高校学生日常考勤信息的全面准
确的管理。
本系统采用目前比较流行、成熟的.Net 企业级应用体系架构,使用高效、
稳定的 SQL Server 2005 数据库,具有很高的安全性和可靠性,及灵活的系统扩
展性和良好的用户体验。
关键词:学生管理;指纹识别;信息统计
I
Abstract
The supervision of students’ attendance is an important part of college teaching
management, which is also a premise of teaching. However, many universities still
use manual basis to investigate and supervise students’ attendance information. With
the dramatic development of technology, this method gradually shows its drawbacks,
for example it is inefficiency and inaccuracy. Based on fingerprint recognition
technology, we designed students’ attendance management system according to the
idea of digital campus construction and the students’ management characteristics of
North China Electric Power University. This system has multiple functions, including
class attendance checking, library registration, laboratory registration and dormitory
registration. This system makes personnel can investigate and check students’
attendance information rapidly and accurately, which improves work efficiency
dramatically.
Through interview and investigation to users (leader of academic administration,
counselor, Laboratory staff, Instructor and students), we carried out the demand
analysis of students’ attendance management system, which laid solid foundations to
subsequent development, reduced the development risk and ensured the quality of the
system. This system is based on computer technology and fingerprint recognition
technology. It mainly includes two parts, which is daily attendance system and
attendance management system. Daily attendance system’s functions include
checking students’ daily attendance, collecting students’ fingerprint information and
setting up finger print scanner. Attendance management system is used to investigate
attendance information and set attendance rules, and its functions include students’
information management, classroom information management, course information
management, curriculum information management, manager information management
and so on. This system makes the management of daily attendance information
comprehensive and accurate.
This system adopt popular and mature Net Enterprise-level application
architecture, used efficient and stable SQL Server 2005 database, which make the
system safe, reliable and has flexible system extensibility and wonderful user
experience.
Keywords: students’ management, fingerprint identification, information
statistics
II
目 录
摘 要.............................................................................................................................. I
Abstract........................................................................................................................ II
第 1 章 绪 论..............................................................................................................1
1.1 开发背景...........................................................................................................1
1.2 生物识别技术简介...........................................................................................2
1.3 系统解决的主要问题.......................................................................................3
1.4 本文所做的主要工作.......................................................................................4
1.5 本文的设计目标...............................................................................................4
1.6 论文的组织结构...............................................................................................5
第 2 章 高校指纹考勤管理系统需求分析................................................................6
2.1 系统目标和解决的问题...................................................................................6
2.1.1 提高工作效率.........................................................................................6
2.1.2 规范考勤管理的工作流程.....................................................................7
2.2 指纹考勤管理系统的特点...............................................................................7
2.2.1 用户特点.................................................................................................7
2.2.2 系统的特点.............................................................................................7
2.2.3 系统的功能.............................................................................................8
2.2.4 运行环境.................................................................................................8
2.3 功能需求分析..................................................................................................8
2.3.1 功能划分.................................................................................................8
2.3.1.1 学生信息管理...............................................................................8
2.3.1.2 教务信息管理...............................................................................9
2.3.1.3 学生考勤管理...............................................................................9
2.3.1.4 系统管理.......................................................................................9
2.3.2 考勤系统结构示意图..........................................................................10
2.4 本章小结........................................................................................................10
第 3 章 学生考勤管理系统概要设计......................................................................11
3.1 系统设计原则.................................................................................................11
3.1.1 系统适用性原则...................................................................................11
3.1.2 系统整体性原则 ..................................................................................11
3.1.3 系统可靠性和安全性原则...................................................................11
3.2 系统总体架构.................................................................................................11
3.3 系统功能架构.................................................................................................12
3.4 系统技术架构.................................................................................................13
III
3.4.1.NET 框架..............................................................................................13
3.4.1.1 操作系统和智能客户端应用软件.............................................13
3.4.1.2 CLR 与 CLI ..............................................................................13
3.4.2 ADO.NET 技术 ....................................................................................14
3.4.3 C++ .......................................................................................................15
3.4.4 SQL Server 2005...................................................................................15
3.5 本文所采用的指纹识别相关技术.................................................................16
3.5.1 指纹识别技术的过程原理...................................................................16
3.5.2 本文指纹识别模式...............................................................................17
3.6 本章小结........................................................................................................19
第 4 章 系统详细设计..............................................................................................20
4.1 学生指纹信息管理模块详细设计.................................................................20
4.1.1 学生指纹信息管理模块.......................................................................20
4.2 日常考勤子系统模块详细设计.....................................................................20
4.2.1 日常考勤子系统模块流程图...............................................................20
4.3 数据库详细设计.............................................................................................21
4.3.1 数据库的设计原则...............................................................................21
4.3.1.1 数据一致性原则.........................................................................21
4.3.1.2 数据完整性原则.........................................................................22
4.3.1.3 数据安全性原则.........................................................................22
4.3.1.4 数据可伸缩性原则.....................................................................22
4.3.2 数据库的详细设计...............................................................................22
4.4 本章小结........................................................................................................25
第 5 章 系统实现......................................................................................................26
5.1 数据库实现.....................................................................................................26
5.1.1 考勤系统 Web 部分连接数据库配置 ................................................26
5.1.2 考勤客户端数据库操作类...................................................................26
5.2 学生考勤系统客户端实现............................................................................29
5.2.1 客户端界面设计..................................................................................29
5.2.2 Biokey 算法..........................................................................................31
5.2.2.1 主要属性.....................................................................................31
5.2.2.2 主要方法.....................................................................................32
5.2.2.3 主要事件.....................................................................................35
5.2.2.4 指纹识别算法的工作流程........................................................36
5.2.3 考勤系统客户端主要代码..................................................................37
5.3 考勤 Web 子系统实现 ..................................................................................43
5.3.1 学生考勤情况查询界面......................................................................43
5.3.2 教师登录界面.......................................................................................45
IV