节点文献
计算机实验室管理系统设计与实现
Computer Lab Management System Design and Implement
【作者】 宋铭利;
【导师】 何东健;
【作者基本信息】 西北农林科技大学 , 农业机械化, 2005, 硕士
【摘要】 随着计算机教育的飞速发展,旧的计算机实验室管理模式存在的问题也愈发突出。本文选择计算机实验室计算机管理为研究对象,以实现机房的全自动化管理、提高工作效率、降低劳动强度、规范财务管理和提高教学质量为目标,在分析机房计算机管理需求和模式的基础上,以网络通信技术和数据库访问技术为手段,提出了用多层C/S结构来实现机房计算机管理的模型。并依此模型开发了一个可行的系统。本文的主要成果有: 1)论文分析了计算机实验室管理系统的C/S结构基本思想,并设计了系统的C/S模型。并通过数据访问的日志建立和数据备份,解决了数据库的安全问题和数据独立性问题。 2)论文详细分析了使用Socket进行网络通信的原理,研究并给出了系统的Socket接口实现模型。在服务端,通过采用多线程技术解决了在大量客户登录时网络数据的拥塞问题,保证服务器能正常接收客户的登陆。在客户端,通过采用进程同步技术,保证了数据的一致性,提高了客户登录的可靠性。 3)论文讨论了如何利用ODBC技术对数据库进行访问,重点讨论了使用MFC的ODBC类来实现对数据库的存取。通过采用多线程技术,明显的缩短了数据的处理速度、加快了服务器的反应速度,提高了系统的性能。 4)论文详细介绍了计算机实验室管理系统的总体框架和功能模型,给出了系统的主要函数的实现代码和流程图。 在服务器模块,介绍了OnStartService()、AcceptClient()、ReadMessage()、SendMessage()、SaveData()、SetFreeIP()等函数的代码及功能;在客户端模块中,主要介绍了登录控制、登录控制中数据的一致性(进程同步)、游戏和聊天程序控制、数据封装等功能实现的代码。 5)通过对Windows系统的分析,设计出了登录控制模块,解决了进程隐藏、进程锁定等关键技术,使客户时时刻刻都处于系统的管理之下,保证了系统的安全可靠。 6)实现了远程关机功能,解决了实验结束时的断电问题,避免了管理人员和学生因断电而发生正面冲突的可能。 7)实现了对游戏和聊天的控制功能,解决了进程调度问题,保证了正常的实验教学秩序,有利于提高教学质量。通过模块的划分,与其它类似系统相比,财务管理更规范,系统的财务管理符合国家的相关政策。
【Abstract】 With the magical development of computer education, the questions of old management become more and more. The essay mainly study the computer lab management of university .Its goal is implementing automatization management and improving work efficiency and reducing work intensity and improving teaching quality. It based at analyzing computer lab requirement and pattern, by the technique of network communication and database accessing, and put forward computer lab management model by using multilayer structure of C/S. It developed a software system based the above model. The main productions of the essay as the following:1) The essay analyse the computer lab management system’s base mind of C/S structure, and design the system’s C/S model. What’s more important, it solve the problem of database security and data integrality by creating log file and reversing data.2) The essay analyse the principle of network communication by using socket, study the system’s implement model. It solve the jam problem when too much user login on by using multithread in server computer. And ensure the data coherence and improve the reliability by using the technique of process synchronization in client computer.3) The essay discuss the question how to access database by using ODBC technique. The mainly is about using the ODBC class of MFC to access database. It obviously improve the feedback speed of server computer and the capability of system by using multithread.4) The essay introduces the total frame and the function models of the calculator laboratory management system and gives the code of the system’s main function and flow charts.At the server module, it introduces the following funcation OnStartService(), AcceptClientO, ReadMessageO, SendMessage(), SaveData(), SetFreeIP() and so on. At the Client module, it mainly introduces entry control and the consistency of the data(process synchronous),game and the chat procedure control, encapsulation of the data, the code of the function realization.5) Pass analyzing Windows system, work out the control module which logging on, solve the key technique which process hide, process fix and so on. Make guest under the system manage all time, ensure on the safe side of system.6) Realize the function of long-distance turn off machine, solve the problem of stopping electricity which the end of experiment. Avoid the front spiece conflict which happens between manager and student because of stopping electricity.7)Realize control function which belongs game and chat, solve the problem of process attemper , ensure the order of natural experiment teaching , make for enhancing teaching quality .Pass partitioning the module and compare with other resemble systems ,make financial affairs manage more criterion, the finanicial affairs manage of systemic accord with national correlative policy.
【Key words】 Multithread; Process Synchronization; Remote Shutdown; Database; Socket;
- 【网络出版投稿人】 西北农林科技大学 【网络出版年期】2006年 03期
- 【分类号】TP311.52
- 【被引频次】12
- 【下载频次】1065