毕业论文

打赏
当前位置: 毕业论文 > 计算机论文 >

Windows环境下一个Service控制Shell的设计与实现

时间:2017-06-08 21:12来源:毕业论文
论文对 Windows 环境下服务程序及其控制 Shell 的编写进行了较为深入的研究,采用基于命名管道的进程间通信方法设计了一个服务程序,实现了简单的字符串翻转功能

Windows 服务程序对于大多数普通用户来说也许一直很陌生,然而他们实际上是计算机能够安全、稳定、高效运行的一个关键因素。一个服务程序的运行涉及到如线程管理、进程间通信等诸多操作系统内部实现的问题,同时,绝大多数危害严重的计算机木马病毒都有对系统服务进行控制的功能。因此,设计与实现一个 Windows 服务控制 Shell 能够加深对操作系统运行机制的理解,提高文护系统安全的能力,为从事 Windows 环境下的高端软件开发打下良好基础。本论文对 Windows 环境下服务程序及其控制 Shell 的编写进行了较为深入的研究,采用基于命名管道的进程间通信方法设计了一个服务程序,实现了简单的字符串翻转功能,并且在此基础上编写了一个服务控制 Shell ,能够对服务程序进行创建、启动、停止、暂停、恢复、删除等操作,基本上完整地实现了 Windows操作系统自带的服务管理器的功能。9885
关键词 服务 服务控制管理器 命名管道 进程间通信Title Title Title Title Design and Implementation for a Service
Control Shell in Windows System
Abstract Abstract Abstract Abstract
To many of the common users,Windows Service Program may be an unfamiliar
term. Actually,it is a key factor for the computer to run safely, stably
and efficiently. Meanwhile, the majority of the Trojan Virus are able to
control system services.In that way, to design and implement a service
control shell will do much good to us.It can help us to develop a deeper
understanding of the running mechanism of the system, also, can improve
the skills at maintaining system security. Finally, this discussion and
practice can lay a good foundation for the advanced programming in Windows
System.
This paper runs a further discussion on how to write a service and service
control shell in Windows environment, and write a service program by using
named pipe for communication between processes. This service implements
a function that reverses a given string.What's more, a service control
shell is built to create, start, stop, pause ,resume or delete a
service,which basically implement the whole function of Service Control
Manager(SCM) in Windows System.
Key words service service control manager named pipe communication
between process目次
1 绪论  1
1.1 课题研究意义  1
1.2 Window s 服务的研究现状  1
1.3 研究目标  2
1.4 研究方法  3
1.5 本文结构  6
2 Windows 服务控制 Shell 的基本原理和关键技术  6
2.1 Windows 服务  6
2.2 命名管道技术  7
2.3 开发平台及软硬件要求  9
3 Windows 服务控制 Shell 的设计  10
3.1 系统结构  10
3.2 服务功能算法描述  11
3.3 主要数据结构  14
4 Window s 服务控 制 Shel l 的实现  16
4.1 客户端程序  16
4.2 服务程序  21
4.3 服务控制 Shell  24
5 服务控制 Shell 的测试  28
5.1 服务功能的测试  28
5.2 控制 Shell 的功能测试  29
结论  31
致谢  32
参考文献  331 1 1 1 绪论绪论绪论绪论
1.1 1.1 1.1 1.1 课题研究意义 课题研究意义 课题研究意义 课题研究意义
现代计算机的运行离不开操作系统,而 Windows 作为目前用户数量最多的操作系
统 , 不仅在个人桌面电脑上有着出色的表现 , 同样在企业级服务器 、 移动终端等不同
层次的硬件平台市场上都占有一席之地。作为操作系统的核心组成部分, Windows 服
务的重要性自然可见一斑。
Microsoft Windows 服务(即以前的 NT 服务)是一种可以由用户创建,在 Windows环境下一个Service控制Shell的设计与实现:http://www.751com.cn/jisuanji/lunwen_8766.html
------分隔线----------------------------
推荐内容