以下为文档的一部分,钻石会员可获取全部内容。 查看如何成为钻石会员
全文字数:26905
摘 要
在电信市场竞争的环境下,计费系统是电信运营商进行市场竞争的最重要的核心支撑系统,是电信公司进行市场运作的神经中枢。电信公司都把计费系统的建设和有效运行作为提高服务质量、增强自身竞争实力、刺激业务量上升的重要手段。电信为了满足各种客户的需求,提供了很多种的计费方式。但是在新需求的开发过程中经常存在着开发量大、开发周期长、大量重复开发等突出问题,严重影响着开发的效率和质量。通过组件复用技术可以很好的解决上述问题。本文从电信计费的业务需求方面,设计了两个基础组件:
1.配置文件组件
读取和修改xml以及ini格式配置文件中的配置项的值,同时支持多个配置文件,并定时扫描文件是否更新并及时加载更新。
2.文件化清单组件
以文件的方法来处理清单,采用数据文件来保存清单,采用索引文件来定位数据文件从而找到相应的清单,并提供插入,查询,更新,删除等基本接口。
经过努力,组件已通过需求、设计、开发、测试等软件工程的各个阶段,现在已成功发布。
关键字: 计费 组件 配置文件 文件化清单
ABSTRACT
Because of the competition environment in the telecommunications, the billing system of telecom becomes the most important support systems in the market competition. Telecom regards the billing system as an important way to improve service quality and strengthen its competitiveness. In order to meet the various customer needs, the telecom has provided a lot of billing way. But in the new requirements develop process is often associated with lots of outstanding problems, such as a long development cycle and a large number of repeated codes, which seriously impact on the development of efficiency and quality. It can resolve the above mentioned problems by use the technology of component. Based on the needs of the telecom billing business, this article designs two basic components:
1. Config Component
Read and modify value of the configuration items in which the file type is xml and ini. As a plus, it can also updates configure items in time when file updated.
2.Documented billing component
Use a list of files to deal with billing and provide insert, query, update, delete and other basic interface.
Through the efforts, the system has passed each stage of software engineering such as requirement, design, coding, and test. Now this system already has been released successfully and running well.
Key Words:Online charging system, Components, Xml and ini Config file, Documented billing component
目 录
摘 要 I
ABSTRACT II
目 录 III
第1章 绪论 1
1.1 背景介绍 1
1.2 解决方法 3
1.3 国内外最新概况 4
1.4 组件复用 5
1.5 文档主要工作 6
第2章 相关技术介绍 7
2.1 ACE介绍 7
2.1.1 ACE综述 7
2.1.2 ACE的结构和功能 7
2.2 Xerces-C++介绍 8
2.2.1 Xml文件介绍 8
2.2.2 SAX与DOM 9
2.2.3 Xerces功能 10
2.3 本章总结 11
第3章 配置文件组件 12
3.1 基础介绍 12
3.2 需求分析 12
3.3 解决方法与设计 13
3.3.1 组件概述 13
3.3.2 构架设计 14
3.3.3 接口设计与实现 15
3.4 性能分析与本章小结 21
第4章 文件化清单组件 22
4.1 背景介绍 22
4.2 需求分析 23
4.3 解决方法与设计 25
4.3.1 组件结构图 25
4.3.2 功能概述 26
4.3.3 运行实例配置项说明 28
4.3.4 文件存储目录组织结构 29
4.3.5 类示图 34
4.3.6 接口设计与实现 36
4.4 性能分析与本章小结 51
第5章 总结 53
5.1 全文工作总结 53
5.2 进一步研究方向 53
参考文献 54
致 谢 57