APP下载

基于Windows管理规范的机房信息可视化方案

2020-08-31严强

软件工程 2020年8期

严强

摘  要:从机房管理实际工作出发,提出了日常机房管理中需要经常使用的系统信息和处理要求。给出了在Windows管理规范支持下的详细的同时兼容Windows 7、Windows 10和Windows Server的可视化设计方案,并运用C#的窗体透明和嵌入桌面技术对此加以实现。本方案完成后首先在新建机房实施部署,经过一个多学期的使用,得到了上课教师和机房管理员的肯定和好评。目前正逐步在其余机房中部署。

关键词:Windows管理规范;机房管理;透明窗体;嵌入桌面;Windows服务

中图分类号:TP311     文献标识码:A

Abstract: In view of system information and processing requirements that are often used in daily computer lab management, a computer lab information visualization project, which is compatible with Windows 7, Windows 10 and Windows Server under the support of Windows Management Instrumentation(WMI), is proposed and achieved by using C# form transparency and embedded desktop technology. When completed, it was first deployed in the newly-built computer labs. After a semester of trial, it was highly praised by both the lecturers and the computer lab administrators. It is now being gradually deployed in the remaining computer labs.

Keywords: WMI; computer lab management; transparent form; embedded desktop; windows service

1   引言(Introduction)

随着计算机技术和网络技术的不断发展和进步,机房管理系统技术及市场也日趋成熟和完善。从最初的纯硬件版、纯软件版到软硬件结合版、网络版,再到現在的服务器集中管理以及智慧教室。各种各样的管理系统层出不穷,但最终实现的功能都是最大程度地提高机房利用率和管理效率。

目前我院大部分机房采用的是软硬件结合的独立管理模式。管理系统将机房计算机硬盘分成若干个分区,在不同的分区中安装不同的操作系统和教学软件,满足不同专业和班级的教学及考试要求的。

根据实际管理,需要经常显示的信息包括机器号、机器名、IP地址、操作系统及类型、物理内存及可用内存、各逻辑分区的容量及剩余容量等信息,其中IP地址、可用内存以及逻辑分区剩余容量要求跟随变化。同时要求这些信息要始终显示在桌面的右上角,除文字以外其余空白处不能遮挡桌面上该位置的信息,要求显示的信息不受WIN+M键、WIN+D键、Alt+Tab键和任务栏右侧的“显示桌面”按钮控制。……

登录APP查看全文