浅谈维营管理支撑系统的设计

2014-03-22 05:42黄光华
科技与创新 2014年2期
关键词:S结构

摘 要:对利用ASP.NET、PowerBuilder、Sybase数据库技术等开发工具实现的支撑系统进行分析可知,该系统综合了业务管理系统、计费账务系统、10000号系统和7号信令监测系统等数据,对数据进行计算、统计和分析。该系统在综合了各种指标和内容后,结合电信各生产、营销部门的不同需求,利用FTP工具和BCP工具将不同系统的接口数据自动录入到维营系统数据库中,再通过数据库进行统计和计算,将各部门所需的数据呈现在前台Web页面的维营管理支撑系统中。

关键词:维营管理;B/S结构;ASP.NET;BCP工具

中图分类号:TP302.1 文献标识码:A 文章编号:2095-6835(2014)02-0138-02

维营管理支撑系统的设计分为前台数据展现功能模块、管理终端设置功能模块和后台接口数据处理功能模块。

1 前台数据展现功能模块的设计

前台数据展现模块的功能是根据用户在前台Web页面上输入的参数,查询后台数据库,把数据库中的数据展现在Web页面上,以供给用户查询。

该模块采用三层结构的B/S(Browser/Server)方式进行开发,即Web浏览器—Web服务器—数据库。建立一个数据库服务器,要利用Sybase数据库技术对数据进行存储、处理和加工,同时,利用SYBASE数据库技术中的扩展SQL语言编写流程控制语言服务器端程序。另外,增加Web应用层,客户端软件通过目前流行的Web浏览器,实现了真正的瘦客户端应用,并极大地减轻了数据库服务器的压力。用户可通过浏览器与Web应用层连接、Web应用层与数据库服务层连接,完成数据查询等功能。

利用微软的NET Framework SDK技术,采用ASP.NET开发维营管理系统的前台Web界面,用C#编程语言来创建动态Web页面。

应用服务器采用WINDOWNS 2000 SERVER操作系统,安装IIS、DNS功能模块、Microsoft .Net Framework SDK1.1版本,以支持使用Microsoft Visual Studio .Net 2003作为开发工具所开发出来的Web应用程序。数据库系统的开发采用Sybase数据库技术实现。

维营管理系统是一个数据库应用系统,它是将数据存储在数据库中,在存储过程中对数据进行处理,并保存在数据库中的应用系统。 数据库结构设计的水平将直接影响应用系统的效率和实现的效果,好的数据库结构设计会减少数据库的存储量,数据的完整性和一致性会比较高,系统也会有较快的响应速度。

系统功能模块比较多,所需要的表一般是按照功能来划分,即不同的功能模块使用不同的表。这样,在实现某个功能时不用一次打开太多的表。

根据数据库的基本设计原则可知,话费查询功能模块的数据库需要由5个表组成。下面将对话费查询功能模块的数据库设计进行简要的阐述:

dbo.wy_teleinfo(电话信息表):电话号码、用户名称、用户地址、交接箱码等信息。

dbo.wy_teleinfo_wx(小灵通号码信息表):小灵通号码、用户名称、付费电话、揽收人等信息。

dbo.wy_teleprop(电话属性表):电话号码、属性代码等信息。

dbo.wy_scope_tele(社区和电话号码关系表):社区编码、电话号码等信息。

dbo.wy_sm01_yymm(每月各电话费用表):电话号码、局代码、客户标志等信息。

2 管理终端设置功能模块的设计

系统管理终端由于只是少量接入,所以,采用两层结构的Client/Server方式进行开发,即终端-数据库简单的体系结构。它是系统的管理平台,平常主要用于本站少数的系统管理人员进入,通过客户端可以直接调用数据库服务器,且数据库数据的各种操作,比如查询、更新、插入、删除等都集中在应用程序中。管理平台使用PowerBuilder语言作为前台开发工具,管理模块主要实现系统基础数据的录入和修改,是整个系统的基础。

3 后台接口数据处理功能模块的设计

利用FTP工具和BCP工具将不同系统的接口数据自动录入维营系统数据库,再通过数据库的存储过程,对数据进行统计和计算,并且记录日志和员工操作轨迹,包括每月(天)基础数据的录入和日志登记、每月(天)基础数据的统计和计算、员工系统使用情况的日志登记。

考虑到该系统和其他系统采用的是不同的数据库,所以新建立的数据库和其他系统的数据库之间的数据交换不能采用数据库内部技术进行。系统将采用定义标准接口文件方式和其他数据库进行数据共享,即系统通过定义一套标准的数据格式,要求其他系统按照这个格式提供数据。这样一来,无论外围系统如何变化,只要按照标准进行,就可以进行数据共享,还可以保持系统的稳定性。

4 计费账务管理系统接口程序的实现

话费查询模块前台Web页面数据的展现,必须要通过计费账务管理系统接口采集相关的计费数据,并写进数据库表中,再由前台Web程序中ASP.NET调用数据库的带参数的存储过程,对计费数据进行统计和计算,然后在前台Web页面上显示出符合查询条件的查询结果。具体步骤如图1所示。

图1 接口程序实现流程图

通过Sybase数据库的BCP工具将TXT文挡中每一条计费记录的字、段写进以上的接口表中。使用这种方式的存储过程,可以减少在应用程序中执行繁重的数据库操作的开销,接口程序的存储过程通过SQL语句来实现。通过创建接收参数的存储过程,将接口表中的计费数据进行统计和计算,再导入数据库正式表中。

5 结束语

维营管理支撑系统可以及时分析客户电信消费情况,掌握客户的消费需求和动向,并快速作出反应,有效地控制了竞争对手对我们市场份额的蚕食,减少了客户或者客户话务的流失。endprint

参考文献

[1]陶浦洲,李强.Sybase数据库技术大全[M].北京:科学出版社,1995.

[2]但正刚.ASP.NET高级编程(程序员指南丛书)[M].北京:清华大学出版社,2002.

[3]刘红岩,何军.PowerBuilder原理与应用指南[M].北京:电子工业出版社,1999.

————————

作者简介:黄光华(1972—),男,广东汕头人,工程师,主要从事电信企业计算机系统开发方面的工作。

〔编辑:白洁〕

Introduction to Camp Management Support System Design

Huang Guanghua

Abstract: The use of development tools such as ASP.NET, the original concept, Sybase database technology to realize the support system of analysis shows that the system is a combination of business management system, billing, billing system, no. 10000 and no. 7 signaling monitoring system such as data, calculation, statistics and analysis of data. The system after a combination of various indicators and the content, combined with the telecommunications needs of the production department, Marketing Department, using FTP tool and BCP tools to enter the interface of different system data automatically into the camp system database, and then through the database for statistics and calculation, the data required by each department to present in front of a Web page d battalion management support system.

Key words: camp management; B/S structure; ASP.NET; BCP toolsendprint

参考文献

[1]陶浦洲,李强.Sybase数据库技术大全[M].北京:科学出版社,1995.

[2]但正刚.ASP.NET高级编程(程序员指南丛书)[M].北京:清华大学出版社,2002.

[3]刘红岩,何军.PowerBuilder原理与应用指南[M].北京:电子工业出版社,1999.

————————

作者简介:黄光华(1972—),男,广东汕头人,工程师,主要从事电信企业计算机系统开发方面的工作。

〔编辑:白洁〕

Introduction to Camp Management Support System Design

Huang Guanghua

Abstract: The use of development tools such as ASP.NET, the original concept, Sybase database technology to realize the support system of analysis shows that the system is a combination of business management system, billing, billing system, no. 10000 and no. 7 signaling monitoring system such as data, calculation, statistics and analysis of data. The system after a combination of various indicators and the content, combined with the telecommunications needs of the production department, Marketing Department, using FTP tool and BCP tools to enter the interface of different system data automatically into the camp system database, and then through the database for statistics and calculation, the data required by each department to present in front of a Web page d battalion management support system.

Key words: camp management; B/S structure; ASP.NET; BCP toolsendprint

参考文献

[1]陶浦洲,李强.Sybase数据库技术大全[M].北京:科学出版社,1995.

[2]但正刚.ASP.NET高级编程(程序员指南丛书)[M].北京:清华大学出版社,2002.

[3]刘红岩,何军.PowerBuilder原理与应用指南[M].北京:电子工业出版社,1999.

————————

作者简介:黄光华(1972—),男,广东汕头人,工程师,主要从事电信企业计算机系统开发方面的工作。

〔编辑:白洁〕

Introduction to Camp Management Support System Design

Huang Guanghua

Abstract: The use of development tools such as ASP.NET, the original concept, Sybase database technology to realize the support system of analysis shows that the system is a combination of business management system, billing, billing system, no. 10000 and no. 7 signaling monitoring system such as data, calculation, statistics and analysis of data. The system after a combination of various indicators and the content, combined with the telecommunications needs of the production department, Marketing Department, using FTP tool and BCP tools to enter the interface of different system data automatically into the camp system database, and then through the database for statistics and calculation, the data required by each department to present in front of a Web page d battalion management support system.

Key words: camp management; B/S structure; ASP.NET; BCP toolsendprint

猜你喜欢
S结构
基于PHP的发印管理系统的实现
基于Java的网上商城开发
基于B/S结构的通信部队训练管理系统的设计研究