计算机实验室管理系统的设计和实现
原站著录信息
摘要
计算机实验室管理系统的设计和实现 The Design and Realization of the Management System and Computer Laboratory 提要: 随着计算机教育的普及,很多学校都建立了开放式的计算机实验室以促进计算机教学。计算机实验室在保证满足教学需要的前提下,可以向广大学生开放,以有效的利用计算机实验室的资源,为学生学习计算机知识并加以实践提供优越的条件。对于学生自由上机的活动,既要给学生一定的自由度,又要对其上机进行一定的管理。如果完全采用人工方式对学生机房进行管…
计算机实验室管理系统的设计和实现
The Design and Realization of the Management System and Computer Laboratory
提要:
随着计算机教育的普及,很多学校都建立了开放式的计算机实验室以促进计算机教学。计算机实验室在保证满足教学需要的前提下,可以向广大学生开放,以有效的利用计算机实验室的资源,为学生学习计算机知识并加以实践提供优越的条件。对于学生自由上机的活动,既要给学生一定的自由度,又要对其上机进行一定的管理。如果完全采用人工方式对学生机房进行管理,效果并不理想。这就需要一个软件来对学生机房系统进行自动管理。这篇论文正是要设计并实现这样一个自动化管理系统。初步设想这个管理系统应该具有以下功能:
1、 用户上机计时收费的自动管理。
2、 用户打印服务的自动管理。
3、 用户账号的管理。
4、 实现分机器,分时段,分用户类型的收费管理。
5、 对系统中客户机的即时管理,包括发送消息,强制关机和对客户机进程的监视和管理。
6、 向用户提供查询和更新资料以及打印的服务。
本系统以Windows 2000操作系统为运行平台,以ODBC为数据库接口,通过 Microsoft Visual C++ 6.0编程来实现。这个系统的主要功能已经通过了测试,运行情况良好。
关键字:
视窗2000操作系统,微软Visual C++ 6.0,开放数据库互连,微软开发者网络(2001年10月版),TCP/IP协议
The Design and Realization of
the Management System of the Computer Laboratory
Abstract:
With the development of computer science, many universities set up computer laboratories to promote computer education. The computer lab can be open to the students, in order that the students can make full use of the resources of the lab. As to the management of the open computer lab, the students should be able to use computers freely to a great extend; on the other side, the students’ action should be monitored and guided. It shall be a waste of manpower to manage the lab completely manually. So it is necessary to do the management automatically with a set of software. The system should have the following functions:
1. Automatic management of the use of the computer;
2. Automatic management of the use of the printer;
3. Management of the accounts in an integrated interface;
4. Management of charge with different charge types.
5. Real-time management of the client computers in the computer lab, including sending messages, forcing computers to shut down and monitoring the processes on the client computers.
6. Provides services of inquiry and update of account information for students.
This system is designed and created with Microsoft Visual C++ language. It is running on the platform of Windows 2000 Server and uses ODBC as the interface to data sources. I make continuous efforts to improve the timing function, and develop the function of real-time monitoring of the client computers. It has been tested through real use, and proves to work very well as expected.
Key Words:
Windows 2000 operation system, Microsoft Visual C++ 6.0, ODBC, Microsoft Developer Network Library (October 2001), TCP/IP protocols
目录:
1 序言 5
2 工程结构 6
1.1 Manager工程 6
1.2 Server工程 6
1.3 Monitor工程 6
1.4 Client工程 6
1.5 Services工程 6
1.6 Dumplog 6
3 系统使用的ODBC数据源 6
4 目录结构 7
4.1 Manager 7
4.2 Server 7
4.3 Monitor 7
4.4 Client 7
4.5 Services 7
4.6 Dumplog 7
4.7 公共的数据库头文件说明 7
4.8 Software 7
5 设计思想 8
5.1 操作系统的选择 8
5.2 自由上机的收费管理 8
5.3 分时段,分计算机,分收费类型的收费管理 10
5.4 账号管理 10
5.5 打印管理 11
5.6 实时管理 11
5.7 查询和更新服务 12
6 应用技术简介 13
6.1 Microsoft Visual C++ & MFC 13
6.1 ODBC 13
6.2 VC对ODBC的支持 14
6.3 Windows2000简介 16
6.3.1 活动目录 16
6.3.2 文件服务 17
6.3.3 存储服务 18
6.3.4 智能镜像 18
6.3.5 远程安装 18
6.3.6 安全特性 19
6.4 TCP协议 20
7 程序实现及简要文档 22
7.1 对账号和收费设置的基本管理的服务器端程序——Manager工程文档 22
7.2 专门化的Socket类——MyConnectionSocket类和MyListenSocket类用法简介 22
7.3 为客户提供服务的服务器端程序——Server工程文档 22
7.4 对客户机实施监视管理功能的服务器端程序——Monitor工程文档 22
7.5 为客户提供服务的客户端程序——Client工程文档 23
7.6 对客户机实施监视管理功能的客户端程序——Services工程文档 23
7.7 定时读取日志并处理账户的服务器端程序——Dumplog工程文档 24
8 分析与讨论 24
9 参考书及参考资料 25
10 致谢 26
11 附件——计算机实验室管理系统的安装及使用说明 27
1 运行环境 27
2 文件列表 27
3 安装说明: 27
4 服务器端程序使用说明: 28
4.1 Manager程序的使用 28
4.1.1 账号管理 28
4.1.2 收费管理 30
4.1.3 账目管理 34
4.1.4 系统设置 35
4.2 实时管理——Monitor.exe程序的使用 35
4.3 客户服务——Server.exe程序的使用 37
4.4 查看日志 37
5 用户使用说明: 37
5.1 自由上机 37
5.2 打印服务 37
5.3 客户端查询程序client.exe的使用 38
5.4 使用目录 38
6 管理方法(参考) 38
7 特别说明:关于硬盘保护卡的问题 39
全文与附件
提交申请后,可在会员中心查看原件和附件的查找进度。
