摘 要:對(duì)利用ASP.NET、PowerBuilder、Sybase數(shù)據(jù)庫(kù)技術(shù)等開(kāi)發(fā)工具實(shí)現(xiàn)的支撐系統(tǒng)進(jìn)行分析可知,該系統(tǒng)綜合了業(yè)務(wù)管理系統(tǒng)、計(jì)費(fèi)賬務(wù)系統(tǒng)、10000號(hào)系統(tǒng)和7號(hào)信令監(jiān)測(cè)系統(tǒng)等數(shù)據(jù),對(duì)數(shù)據(jù)進(jìn)行計(jì)算、統(tǒng)計(jì)和分析。該系統(tǒng)在綜合了各種指標(biāo)和內(nèi)容后,結(jié)合電信各生產(chǎn)、營(yíng)銷部門(mén)的不同需求,利用FTP工具和BCP工具將不同系統(tǒng)的接口數(shù)據(jù)自動(dòng)錄入到維營(yíng)系統(tǒng)數(shù)據(jù)庫(kù)中,再通過(guò)數(shù)據(jù)庫(kù)進(jìn)行統(tǒng)計(jì)和計(jì)算,將各部門(mén)所需的數(shù)據(jù)呈現(xiàn)在前臺(tái)Web頁(yè)面的維營(yíng)管理支撐系統(tǒng)中。
關(guān)鍵詞:維營(yíng)管理;B/S結(jié)構(gòu);ASP.NET;BCP工具
中圖分類號(hào):TP302.1 文獻(xiàn)標(biāo)識(shí)碼:A 文章編號(hào):2095-6835(2014)02-0138-02
維營(yíng)管理支撐系統(tǒng)的設(shè)計(jì)分為前臺(tái)數(shù)據(jù)展現(xiàn)功能模塊、管理終端設(shè)置功能模塊和后臺(tái)接口數(shù)據(jù)處理功能模塊。
1 前臺(tái)數(shù)據(jù)展現(xiàn)功能模塊的設(shè)計(jì)
前臺(tái)數(shù)據(jù)展現(xiàn)模塊的功能是根據(jù)用戶在前臺(tái)Web頁(yè)面上輸入的參數(shù),查詢后臺(tái)數(shù)據(jù)庫(kù),把數(shù)據(jù)庫(kù)中的數(shù)據(jù)展現(xiàn)在Web頁(yè)面上,以供給用戶查詢。
該模塊采用三層結(jié)構(gòu)的B/S(Browser/Server)方式進(jìn)行開(kāi)發(fā),即Web瀏覽器—Web服務(wù)器—數(shù)據(jù)庫(kù)。建立一個(gè)數(shù)據(jù)庫(kù)服務(wù)器,要利用Sybase數(shù)據(jù)庫(kù)技術(shù)對(duì)數(shù)據(jù)進(jìn)行存儲(chǔ)、處理和加工,同時(shí),利用SYBASE數(shù)據(jù)庫(kù)技術(shù)中的擴(kuò)展SQL語(yǔ)言編寫(xiě)流程控制語(yǔ)言服務(wù)器端程序。另外,增加Web應(yīng)用層,客戶端軟件通過(guò)目前流行的Web瀏覽器,實(shí)現(xiàn)了真正的瘦客戶端應(yīng)用,并極大地減輕了數(shù)據(jù)庫(kù)服務(wù)器的壓力。用戶可通過(guò)瀏覽器與Web應(yīng)用層連接、Web應(yīng)用層與數(shù)據(jù)庫(kù)服務(wù)層連接,完成數(shù)據(jù)查詢等功能。
利用微軟的NET Framework SDK技術(shù),采用ASP.NET開(kāi)發(fā)維營(yíng)管理系統(tǒng)的前臺(tái)Web界面,用C#編程語(yǔ)言來(lái)創(chuàng)建動(dòng)態(tài)Web頁(yè)面。
應(yīng)用服務(wù)器采用WINDOWNS 2000 SERVER操作系統(tǒng),安裝IIS、DNS功能模塊、Microsoft .Net Framework SDK1.1版本,以支持使用Microsoft Visual Studio .Net 2003作為開(kāi)發(fā)工具所開(kāi)發(fā)出來(lái)的Web應(yīng)用程序。數(shù)據(jù)庫(kù)系統(tǒng)的開(kāi)發(fā)采用Sybase數(shù)據(jù)庫(kù)技術(shù)實(shí)現(xiàn)。
維營(yíng)管理系統(tǒng)是一個(gè)數(shù)據(jù)庫(kù)應(yīng)用系統(tǒng),它是將數(shù)據(jù)存儲(chǔ)在數(shù)據(jù)庫(kù)中,在存儲(chǔ)過(guò)程中對(duì)數(shù)據(jù)進(jìn)行處理,并保存在數(shù)據(jù)庫(kù)中的應(yīng)用系統(tǒng)。 數(shù)據(jù)庫(kù)結(jié)構(gòu)設(shè)計(jì)的水平將直接影響應(yīng)用系統(tǒng)的效率和實(shí)現(xiàn)的效果,好的數(shù)據(jù)庫(kù)結(jié)構(gòu)設(shè)計(jì)會(huì)減少數(shù)據(jù)庫(kù)的存儲(chǔ)量,數(shù)據(jù)的完整性和一致性會(huì)比較高,系統(tǒng)也會(huì)有較快的響應(yīng)速度。
系統(tǒng)功能模塊比較多,所需要的表一般是按照功能來(lái)劃分,即不同的功能模塊使用不同的表。這樣,在實(shí)現(xiàn)某個(gè)功能時(shí)不用一次打開(kāi)太多的表。
根據(jù)數(shù)據(jù)庫(kù)的基本設(shè)計(jì)原則可知,話費(fèi)查詢功能模塊的數(shù)據(jù)庫(kù)需要由5個(gè)表組成。下面將對(duì)話費(fèi)查詢功能模塊的數(shù)據(jù)庫(kù)設(shè)計(jì)進(jìn)行簡(jiǎn)要的闡述:
dbo.wy_teleinfo(電話信息表):電話號(hào)碼、用戶名稱、用戶地址、交接箱碼等信息。
dbo.wy_teleinfo_wx(小靈通號(hào)碼信息表):小靈通號(hào)碼、用戶名稱、付費(fèi)電話、攬收人等信息。
dbo.wy_teleprop(電話屬性表):電話號(hào)碼、屬性代碼等信息。
dbo.wy_scope_tele(社區(qū)和電話號(hào)碼關(guān)系表):社區(qū)編碼、電話號(hào)碼等信息。
dbo.wy_sm01_yymm(每月各電話費(fèi)用表):電話號(hào)碼、局代碼、客戶標(biāo)志等信息。
2 管理終端設(shè)置功能模塊的設(shè)計(jì)
系統(tǒng)管理終端由于只是少量接入,所以,采用兩層結(jié)構(gòu)的Client/Server方式進(jìn)行開(kāi)發(fā),即終端-數(shù)據(jù)庫(kù)簡(jiǎn)單的體系結(jié)構(gòu)。它是系統(tǒng)的管理平臺(tái),平常主要用于本站少數(shù)的系統(tǒng)管理人員進(jìn)入,通過(guò)客戶端可以直接調(diào)用數(shù)據(jù)庫(kù)服務(wù)器,且數(shù)據(jù)庫(kù)數(shù)據(jù)的各種操作,比如查詢、更新、插入、刪除等都集中在應(yīng)用程序中。管理平臺(tái)使用PowerBuilder語(yǔ)言作為前臺(tái)開(kāi)發(fā)工具,管理模塊主要實(shí)現(xiàn)系統(tǒng)基礎(chǔ)數(shù)據(jù)的錄入和修改,是整個(gè)系統(tǒng)的基礎(chǔ)。
3 后臺(tái)接口數(shù)據(jù)處理功能模塊的設(shè)計(jì)
利用FTP工具和BCP工具將不同系統(tǒng)的接口數(shù)據(jù)自動(dòng)錄入維營(yíng)系統(tǒng)數(shù)據(jù)庫(kù),再通過(guò)數(shù)據(jù)庫(kù)的存儲(chǔ)過(guò)程,對(duì)數(shù)據(jù)進(jìn)行統(tǒng)計(jì)和計(jì)算,并且記錄日志和員工操作軌跡,包括每月(天)基礎(chǔ)數(shù)據(jù)的錄入和日志登記、每月(天)基礎(chǔ)數(shù)據(jù)的統(tǒng)計(jì)和計(jì)算、員工系統(tǒng)使用情況的日志登記。
考慮到該系統(tǒng)和其他系統(tǒng)采用的是不同的數(shù)據(jù)庫(kù),所以新建立的數(shù)據(jù)庫(kù)和其他系統(tǒng)的數(shù)據(jù)庫(kù)之間的數(shù)據(jù)交換不能采用數(shù)據(jù)庫(kù)內(nèi)部技術(shù)進(jìn)行。系統(tǒng)將采用定義標(biāo)準(zhǔn)接口文件方式和其他數(shù)據(jù)庫(kù)進(jìn)行數(shù)據(jù)共享,即系統(tǒng)通過(guò)定義一套標(biāo)準(zhǔn)的數(shù)據(jù)格式,要求其他系統(tǒng)按照這個(gè)格式提供數(shù)據(jù)。這樣一來(lái),無(wú)論外圍系統(tǒng)如何變化,只要按照標(biāo)準(zhǔn)進(jìn)行,就可以進(jìn)行數(shù)據(jù)共享,還可以保持系統(tǒng)的穩(wěn)定性。
4 計(jì)費(fèi)賬務(wù)管理系統(tǒng)接口程序的實(shí)現(xiàn)
話費(fèi)查詢模塊前臺(tái)Web頁(yè)面數(shù)據(jù)的展現(xiàn),必須要通過(guò)計(jì)費(fèi)賬務(wù)管理系統(tǒng)接口采集相關(guān)的計(jì)費(fèi)數(shù)據(jù),并寫(xiě)進(jìn)數(shù)據(jù)庫(kù)表中,再由前臺(tái)Web程序中ASP.NET調(diào)用數(shù)據(jù)庫(kù)的帶參數(shù)的存儲(chǔ)過(guò)程,對(duì)計(jì)費(fèi)數(shù)據(jù)進(jìn)行統(tǒng)計(jì)和計(jì)算,然后在前臺(tái)Web頁(yè)面上顯示出符合查詢條件的查詢結(jié)果。具體步驟如圖1所示。
圖1 接口程序?qū)崿F(xiàn)流程圖
通過(guò)Sybase數(shù)據(jù)庫(kù)的BCP工具將TXT文擋中每一條計(jì)費(fèi)記錄的字、段寫(xiě)進(jìn)以上的接口表中。使用這種方式的存儲(chǔ)過(guò)程,可以減少在應(yīng)用程序中執(zhí)行繁重的數(shù)據(jù)庫(kù)操作的開(kāi)銷,接口程序的存儲(chǔ)過(guò)程通過(guò)SQL語(yǔ)句來(lái)實(shí)現(xiàn)。通過(guò)創(chuàng)建接收參數(shù)的存儲(chǔ)過(guò)程,將接口表中的計(jì)費(fèi)數(shù)據(jù)進(jìn)行統(tǒng)計(jì)和計(jì)算,再導(dǎo)入數(shù)據(jù)庫(kù)正式表中。
5 結(jié)束語(yǔ)
維營(yíng)管理支撐系統(tǒng)可以及時(shí)分析客戶電信消費(fèi)情況,掌握客戶的消費(fèi)需求和動(dòng)向,并快速作出反應(yīng),有效地控制了競(jìng)爭(zhēng)對(duì)手對(duì)我們市場(chǎng)份額的蠶食,減少了客戶或者客戶話務(wù)的流失。endprint
參考文獻(xiàn)
[1]陶浦洲,李強(qiáng).Sybase數(shù)據(jù)庫(kù)技術(shù)大全[M].北京:科學(xué)出版社,1995.
[2]但正剛.ASP.NET高級(jí)編程(程序員指南叢書(shū))[M].北京:清華大學(xué)出版社,2002.
[3]劉紅巖,何軍.PowerBuilder原理與應(yīng)用指南[M].北京:電子工業(yè)出版社,1999.
————————
作者簡(jiǎn)介:黃光華(1972—),男,廣東汕頭人,工程師,主要從事電信企業(yè)計(jì)算機(jī)系統(tǒng)開(kāi)發(fā)方面的工作。
〔編輯:白潔〕
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
參考文獻(xiàn)
[1]陶浦洲,李強(qiáng).Sybase數(shù)據(jù)庫(kù)技術(shù)大全[M].北京:科學(xué)出版社,1995.
[2]但正剛.ASP.NET高級(jí)編程(程序員指南叢書(shū))[M].北京:清華大學(xué)出版社,2002.
[3]劉紅巖,何軍.PowerBuilder原理與應(yīng)用指南[M].北京:電子工業(yè)出版社,1999.
————————
作者簡(jiǎn)介:黃光華(1972—),男,廣東汕頭人,工程師,主要從事電信企業(yè)計(jì)算機(jī)系統(tǒng)開(kāi)發(fā)方面的工作。
〔編輯:白潔〕
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
參考文獻(xiàn)
[1]陶浦洲,李強(qiáng).Sybase數(shù)據(jù)庫(kù)技術(shù)大全[M].北京:科學(xué)出版社,1995.
[2]但正剛.ASP.NET高級(jí)編程(程序員指南叢書(shū))[M].北京:清華大學(xué)出版社,2002.
[3]劉紅巖,何軍.PowerBuilder原理與應(yīng)用指南[M].北京:電子工業(yè)出版社,1999.
————————
作者簡(jiǎn)介:黃光華(1972—),男,廣東汕頭人,工程師,主要從事電信企業(yè)計(jì)算機(jī)系統(tǒng)開(kāi)發(fā)方面的工作。
〔編輯:白潔〕
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