基于Android的门禁控制系统设计

 2022-04-18 10:04

论文总字数:24939字

摘 要

由于智能硬件产业的发展,门禁系统也变得更加智能、便捷。传统的门禁由于自身的缺点已经难以满足用户安全、便捷的需求。在此背景下,本文以基于Android的智能门禁控制系统为课题,采用移动智能终端设备代替传统的门禁,使门禁管理工作更安全、可靠、便捷。

本文借助使用蓝牙技术,设计并完成一套基于Android的智能门禁控制系统。系统主要功能是实现用户信息管理以及通过手机蓝牙实现智能门禁的开关。整个系统分为Android客户端和Web服务端,用户和管理员可以通过不同入口进入客户端,用户可以实现开门功能,管理员可以对用户信息进行管理。Android客户端与Web服务器之间采用HTTP协议通信对接收的数据进行管理存储。

通过测试证明,系统整体功能基本实现,能满足日常生活使用的需求。管理员用户皆可以正常注册并登陆系统,管理员可以有效管理用户账户,用户可以修改密码、使用蓝牙开门,客户端可以上传信息至服务器端管理。该系统通信正常、反馈及时,各方面均能满足基本要求。

关键词:Android;蓝牙;智能门禁控制系统;Web服务器

Abstract

Owing to the advancing intelligent hardware industry, the access control system has changed into a more intelligent and convenient way. Traditional access control nowadays can hardly meet what the users require due to their own shortcomings. In this thesis, the Android-based intelligent access control system is taken as the subject, and mobile intelligent terminal equipment is adopted to replace the traditional ones, which makes the management work safer, more reliable and more convenient.

This thesis proposes a design of an intelligent access control system based on Android mobile phone by using Bluetooth technology, which supports the short-range wireless communication. The whole system can help with managing user information and have intelligent access control through mobile phone Bluetooth. The system is composed of an Android client and a Web server. Administrators and users can use the client application through different portals. The user can implement the door opening function, and the administrator can manage the user information. The received data is managed and stored by the HTTP technology between the phone and server.

Through the test, we could find the fact that the overall function of the system is basically realized and the system can meet the needs of daily life use. The administrator user can register and log in to the system normally. The administrator can manage the user account effectively. The user can change the password and open the door using Bluetooth. The client can upload information to the server for management. Besides, it can have the feedback in time. Overall, the system can meet all the basic needs.

KEY WORDS: Android; Bluetooth; smart access control system; web server

目 录

摘 要 I

Abstract II

第一章 绪论 1

1.1课题研究背景 1

1.2国内外研究现状 1

1.3研究意义和应用价值 2

1.4论文内容和结构 2

1.4.1论文内容 2

1.4.2章节安排 3

第二章 系统总体设计与功能分析 4

2.1用户需求分析 4

2.1.1用户特点 4

2.1.2整体业务功能分析 4

2.1.3管理员页面功能需求 4

2.1.4用户页面功能需求 5

2.2设计原则与整体架构 6

2.2.1系统设计原则 6

2.2.2整体架构设计 7

2.3数据库使用 8

2.3.1客户端数据库 8

2.3.2服务器端数据库设计 9

2.4通信方式选择 9

2.4.1蓝牙通信 9

2.4.2HTTP通信 9

2.5Android开发介绍 9

2.5.1Android操作系统概述 9

2.5.2Android系统架构 10

2.5.3Android四大组件 10

第三章 门禁客户端的具体实现 12

3.1注册与登录模块 12

3.2管理员信息查看模块 14

3.3用户信息管理模块 15

3.4蓝牙开门模块 16

第四章 通信机制与后台服务器处理程序设计 17

4.1蓝牙通信 17

4.1.1 Android的蓝牙通信过程简介 17

4.1.2 门禁通信传输协议格式及设计 18

4.1.3Android 系统中蓝牙无线通信的具体建立 19

4.2HTTP通信 20

4.3Web服务器端介绍 21

4.3.1服务器基本介绍 21

4.3.2Tomcat 21

4.3.3Servlet子程序设计 21

4.3.4服务器界面设计 22

第五章 系统测试 24

5.1系统测试要求概述 24

5.2测试环境与工具 24

5.3Android客户端测试 24

5.3.1客户端测试平台信息 24

5.3.2管理员页面功能测试 24

5.3.3用户页面功能测试 28

5.3.4开门页面 30

5.4服务器通信功能测试 31

第六章 总结与展望 33

6.1全文总结 33

6.2展望 33

参考文献 35

致 谢 36

剩余内容已隐藏,请支付后下载全文,论文总字数:24939字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;