基于代理服务器的网络计费系统的研究与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着网络经济的迅猛发展,计费系统已经成为网络应用中的一个极为重要的组成部分。目前市场上的计费产品有很多,但基本都是“以业务为核心”的系统构架,一般只能为一种特定的网络服务进行计费。各个网络服务的计费系统之间不能兼容,已经越来越不能满足网络经济发展的需要。为了解决以上问题,本文给出了一种“以用户为核心”的通用网络服务计费系统的设计与实现。
     本文首先研究了当前各种类型网络计费系统的发展现状和各种计费技术的优缺点,然后针对目前网络服务计费系统存在的不足,给出了一种与网络应用无关,能够同时支持多种网络服务的“以用户为核心”的网络服务计费系统的设计思想,并设计了以Socks5协议为基础的基于代理服务器数据采集的通用网络服务计费系统实现方案。接着按照设计方案建立了本系统的体系结构,分析了本系统各个组成部分以及各部分之间的交互过程。
     对于设计方案中的两个关键技术问题:计费网关的性能瓶颈和客户端网络数据的截取与转发,本文也进行了详细的研究,通过对多种解决方法进行了分析和比较,选择了比较理想的解决方法。最后对本系统中的计费客户端、计费网关、认证模块和计费后处理等几个主要部分的具体实现过程进行了详细的讨论。
     本系统完成以后,经过试用取得了比较满意的结果,达到了设计要求。证明了“以用户为核心”的网络服务计费系统的设计方案是完全可行的,并且在网络经济有巨大的实用价值。
With high-speed development of network economy, network accounting system comes into being, and becomes an important part of the network applications. There are many products of network accounting system in the market but most of them that based on the services have some disadvantages in extensibility and flexibility. The accounting systems of each network service can't be compatible with each other, so that they can't meet the demand of the fast development of network economy today.
     In order to find a solution to these problems, this paper firstly studies current situations of the development of all kinds of network accounting system including the advantages and deficiencies of different charging technology, and then proposes a new design of the accounting system based on users, which has nothing to do with network services, and can not only apply to various kinds of network services, but also charge for a lot of network services at the same time. After that this paper provides a design plan of general-purpose accounting system of network service that is based on Socks5 protocol and collects data through proxy server. Then this paper builds the architecture of this system according to the design plan, including the introduction of each component and the interactions among those components.
     The two key technologies of this design plan: performance bottleneck of the charging gateway and intercepting of the client network data are carried on research carefully and given the rational solutions. Finally, this paper gives a detailed discussion of several important parts of the system such as the charging client, the charging gateway, authentication module and the management after charging.
     After this system is converted to a commercial product, it reaches the design requirement. It is proved that the design of the accounting system based on users of network services is feasible, and can make practical value in network economy.
引文
[1] 朱勤,陆建新,陈继红. Intranet 网络计费系统的研究与实现[J]. 南通工学院学报(自然科学版), 2003.9:49-52.
    [2] Klerer, S.Mark. The OSI Management Architecture: An Overview [J]. IEEE Network Magazine May 1993
    [3] Comer Douglas E, Douglas Series, Falk Walther. Internet working with TCP/IP[M], Vol.1 Principles, protocols and architecture. Englewood Prentice-Hall, 1991.
    [4] 罗军州,黎波涛,杨明. TCP/IP 协议及网络编程技术[M]. 北京:清华大学出版社,2004.
    [5] Uyless Black. TCP/IP and related protocols [M]. Beijing: World Publishing Corporation, 1999.
    [6] 丁 轶 凡 , 吉 逸 . Socks 技 术 及 其 在 Extranet 中 应 用 的 研 究 [J]. 数 据 通 信 , 1999.4:16-18.
    [7] RFC1928 Socks Protocol Version 5. M. Leech, M. Ganis, Y. Lee, R. Kuris, D. Koblas, L. Jones. March 1996.
    [8] 李超,赵荣彩. Socks5中的Ipv4/IPv6协议通信机制[J]. 微型机与应用, 2002.5:30-32.
    [9] 段晓东, 凌晓峰, 沈金龙. 基于 Socks5 的 IPv4 和 IPv6 通信方案[J]. 重庆邮电学院学报, 2002.6:46-50.
    [10]彭霖,母小东. 基于 Linux 平台的 Socks5 代理服务器[J]. 计算机应用, 2002.8:8-10.
    [11]RFC3089 A Socks-based IPv6/IPv4 Gateway Mechanism. H. Kitamura. April 2001.
    [12]Zalenski R. Firewall technologies. Potentials, IEEE,Volume: 21,Issue: I,Feb.-March 2002,
    [13]Reumann J, Hani Jamjoom, Kang Shin. Adaptive Packet Filters. Global Telecommunications Conference, 2001, IEEE, Volume 4, Nov. 2001, pp. 2331-2335
    [14]胡滨,贺超凯, 左明. Windows 下使用 SPI 过滤网络数据包[J]. 华中科技大学学报(自然科学版), 2003.10:168-170.
    [15]朱雁辉.Windows 防火墙与网络封包截获技术[M] . 北京:电子工业出版社,2002.
    [16]汪国洋、王景中. 基于 SPI 的访问控制技术[J]. 计算机应用 2003,23(6) 267- 269.
    [17]宋璇,张仲虎,吕国宾.Windows 2000 网络封包的截获技术[J].计算机与现代化, 2003.4:77-80.
    [18]Tallings William. Network security essentials: applications and standards. Beijing: Qinghua University Publishing Corporation,2002.
    [19]李晓莺,曾启铭. NDIS 网络驱动程序的研究与实现[J].计算机应用,2002,22(4).
    [20]郭霄峰等.基于 NDIS 中间层驱动的信息防火墙设计实现[J].沈阳航空工业学院学报,2003, 20(2).
    [21]徐大为等.NDIS 中间层驱动程序设计和虚拟专用网客户端的实现[J].计算机工程,2002, 28(2).
    [22]石磊等.NDIS 技术在个人信息安全方面的应用[J].网络安全技术与应用,2002.5.
    [23]Elizabeth, D. Zwicky, Simon Cooper, D. Brent Chapman. Building the Internet Firewall [J]. 0' Reilly & Associates. June 2000.
    [24]韦卫等.Internet 网络层安全协议理论研究与实现[J].计算机学报,1999.22(2).
    [25]Walter Oney. Programming the Microsoft Windows Driver Model [M].Microsoft Press, 1999.
    [26]Stalling W. Network and Internet work Security, Principles and Practice [M]. New Jersey: Prentice-Hall, Inc, 1995.
    [27]王宇 ,张永明,李勇奇,冷巍. Winsock SPI 实现 Socks5 代理[J]. 计算机与信息技术,2003.4:10-12.
    [28]姚自明,赵衍敏,赵岳松.如何用 SPI 构造 SSL[J]. 网络与通信,2002.3:23-25.
    [29]王浩,王芙蓉. Socks5 协议在分布式计费系统中的新应用[J]. 铁路计算机应用,2005.14(11):37-39.
    [30]RFC3089 A SOCKS-based IPv6/IPv4 Gateway Mechanism. H. Kitamura. April 2001.
    [31]毕保祥,肖德宝. SOCKS5 的身份认证机构[J]. 计算机应用, 2000.7:39-40.
    [32]RFC1961 GSS-API Authentication Method for SOCKS Version 5. P. McMahon.June 1996.
    [33]Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides. Design Patterns--Elements of Reusable Object-Oriented Software [M]. Addison Wesley Ltd, 1994.
    [34]Douglas Schmidt, Michael Stal, Hans Rohnert, Frant Buschmann. Pattern-Oriented Software Architecture, Volume 1: A System of Patterns [M]. John Wiley & Sons, Ltd., 1998.
    [35]Douglas Schmidt, Michael Stal, Hans Rohnert, Frant Buschmann. Pattern-Oriented Software Architecture Volume2 Patterns for Concurrent and Networked Objects [M]. John Wiley & Sons, Ltd., 2000.
    [36]熊艳, 覃俊. SSL 协议及其几个安全性问题[J]. 中南民族大学学报(自然科学版)2005.24(9):85-88
    [37]汤军,黄曙光. 基于 SSL 信息安全技术及其在 Web 服务中的应用[J]. 舰船电子工程 2004.24(6):96-98.
    [38]吴慧韫. 利用 SSL 加密 HTTP 通道的一种方法[J]. 计算机与现代化 2004.12:145-147
    [39]徐永强,马建峰. 基于 SSL 的安全数据通道的理论与实践[J]. 电子科技 2004.6:40-42
    [40]Abraham Silberschatz, Henry F.Korth,S.Sudarshan. Database System Concepts Fourth Edition [M]. McGraw-hill Companies, Inc.,2002.
    [41]Dejan Sunderic. SQL Server 2000 Stored Procedure & XML Programming, Second Edition [M]. McGraw-Hill Companies, Inc., 2003.
    [42]Dan Tow. SQL Tuning [M].O'Reilly Press Ltd, 2003.
    [43]Rob Snevely. Enterprise Data Center Design and Methodology [M].Prentice Hall, Inc., 2002.
    [44]Ken England. Microsoft SQL Server 2000 Performance Optimization and Tuning Handbook [M].Digital Press, Inc., 2001.

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

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

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