用户名: 密码: 验证码:
基于服务端/客户端结构的软件资源共享系统
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
在当今社会,电子化办公被越来越多的企业所应用,在一些典型的工作环境中,一个局域网内通常会有几十台甚至上百台的办公计算机被员工们使用。
     这样,为了满足这样的需求,必须在某些办公环境的局域网内几乎每台机器上都安装上数量种类几乎都完全相同的软件。软件资源共享系统基于服务端/客户端结构,它使用Windows系列操作系统自身的共享功能来实现资源的共享。Windows自身的共享功能是基于NETBIOS协议以及NTFS文件系统的,本文将重点介绍NETBIOS协议的体系结构和工作特点,以及NTFS文件系统的内部结构和其权限系统,叙述了NTFS文件系统中文件和文件夹对于用户和用户组的不同权限。本文对一种在网络中能够有效实现其管理的共享机制进行了探索,实现了一种软件资源共享系统,该系统能够在服务端根据文件类型搜索可用资源,实现了一种XML解析器,并且通过XML解析器对这些资源进行有效的分类管理,通过使用Windows NT内核中文件和文件夹共享的系统功能在服务器端将这些资源共享,通过客户端软件则能够在客户端使用这些共享资源,为后续的进一步开发打下了基础。
     文中主要对基于服务端/客户端结构的软件资源共享系统的需求及其功能做了简单的介绍,大致描述了其服务端程序和客户端程序的工作流程及其基本原理。
In today's society, e-office has been applied by an increasing number of enterprises. In the typical stuff environment, there are usually tens of computers or more used by employees in a local network. In these computers, they may use the same software to many of it, some of which will not be frequently used. But in order to use the software, users must install them on each machine. For example, in an advertising company, basically all the computers will be installed image editing or drawing software like Photoshop for drawing work; in an internet cafe almost Thunder used to download resource and video player software, open up some additional video resources will be installed on each computers; if you want to share some multimedia resources, all the computers must have copies of the multimedia resources.
     Thus, in order to meet this demand, in some LAN stuff environment, almost every computer must be installed on almost all the same software; in some entertainment environment for all the computers in the network have the same copy of a large volume of video file. In this case, staffs need to install all the software or other resources that can may be used on computers of the work environment, and update them on every computers. That’s a very time and labor-consuming procedure, and it will also waste a lot of disk volume.
     This paper designs and implements a software resource sharing system by sharing of network resources including software, documents, multimedia Documentation on other computers in network.
     This software resource sharing system based on server / client structure, which uses the Windows NT series operating systems to achieve the features of resource sharing. Share features of Windows series OS is based on NETBIOS protocol and NTFS file system, this article will focus on NETBIOS protocol architecture and its work characteristics, and the NTFS file system, the internal structure and its permission system, describes the authorization to files and folders of NTFS file system for users and user groups with different permissions.
     The system is based on server/client architecture, service-side program runs on the server, its main job is search local resources on the server, filter these resources according to the XML configuration list, share these resources, generate a list of shared files, sending the list to the client. Client program runs on the computers who want to use these shared resources, the users can only see a name list of shared files, but can not know the location of shared resource in the network, in order to ensure the security of resources.
     Software resource sharing system divides into two parts according to the content of work, the first part support files sharing services to other computers relying on network protocols and system services of Windows operating system. The second part support management and retrieve of shared files.
     The system needs to select folders that want to share according to the requirements in local disk after start; and select files in these folders; these requirements were set by administrator before server started.
     To enhance the system’s versatility and portability, these settings was recorded by a structured document, so that it can be standardizing analyzed and set without creating ambiguity. The system uses XML (Extensible Markup Language) to implement such a function. This article will introducing one kind of XML analysis program widely used to parse XML file and analysis the program’s working flow and characteristics.
     In this system, if servers want to share their resources with clients, they must search local resources, with another word, only the server knows what it has, it can share them. So servers should search the files that match some conditions in local disk, and filter these files according to a XML file once again by users, and then server will generate a shared file list and send it to client. So the condition search process is a very important procedure before the server can support services. The condition search means that servers will find out some files that have a certain suffix name in some certain folders.
     The software resource sharing system are a network application based on server / client structure, so there must be communication and message transmit mechanism between server and client, for norm the message and data’s transmit, the system adopt the standard data format and the message driven mechanism. Since this system is the server to provide services to only client, its services will be provided in the network to several other computer, usage of multi-threading technology will help improve the performance of the server process and stability.
     In this paper, a share mechanism which implements management in the network was preliminarily developed, lay the foundation for the more development. In the text we briefly introduce the software resource sharing system based on server / client structure and described the system’s working process and its basic principles.
引文
[1]戴祖旭. Windows NTFS文件(夹)权限计算模型[J].计算机工程与设计,2009(12):30.
    [2]张宇辉.Windows中“网上邻居”的二种协议[J].计算机网络,2009(147).
    [3]曾立安,凌力.基于Linux的消息驱动Socket模型[J].计算机工程,2003(29):117-118.
    [4]杨华,高福兵,杨旭辉.浅析NTFS管理磁盘数据的基本结构[J].重庆工商大学学报(自然科学版),2009(26):346-349.
    [5]贺蕴普,徐彬.利用WINS服务器实现跨网段“网上邻居”式访问[J].计算机应用,2003(23):252-253.
    [6]熊曦,刘胜利,祝跃飞.基于SMB协议的数据信息提取[J].微机发展,2004(14):114-116.
    [7]程光华.谈谈NETBIOS与网上邻居的浏览[J].浙江工商职业技术学院学报,2003(2):68-70.
    [8]孟雪松.论SMB协议,samba服务器与Windows共享的配置[J].辽宁经济职业技术学院学报,2005(4):110-111.
    [9]赫建.安全共享文件夹的对策[J].电脑技术,2002(7):70.
    [10] K.P. Chow, Frank Y.W. Law, Michael Y.K. Kwan, Pierre K.Y. Lai. The Rules of Time on NTFS File System [C]. Hong Kong:Proceedings of the Second International Workshop on Systematic Approaches to Digital Forensic Engineering,2007.
    [11] Geoff Fellows. NTFS volume mounts, directory junctions and $Reparse. Digital Investigation[J],2007(4):116-118.
    [12]严加琼,魏旻.树形结构的文件夹的共享与安全技术[J].电脑学习,2005(2):40-41.
    [13]龚力柱,蒋泽军,王丽芳.基于Windows消息机制的软件本地化[J].计算机工程,2005(31):87-89.
    [14]杰子.将共享文件夹隐形[J].计算机与网络,2002(10):37.
    [15]张学港.文件夹共享访问管理全接触[J].电脑知识与技术,2008:24-25.
    [16]张忻,闫建国.基于Linux的网上邻居设计与实现[J].科学技术与工程,2008(8):1884-1887.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700