在軟體應用的演進過程當中,服務導向架構(Service-Oriented Architechture,簡稱SOA),以其跨網路、跨平台、跨語言的優點,漸漸地成為未來軟體開發的新趨勢,其中又以網路服務(Web Service)與代理人服務(Agent Service),更為業界與學界討論的重心。不過近幾年來,在網際網路的世界中,服務收費、使用付費的觀念蔚為風潮,但前提是:在服務導向架構中,也要有類似電信服務業的帳務系統(Billing System),才有可能達成。而此系統應該包括:出版(publish)服務、訂定服務費率、客戶申請租用、紀錄使用量、對使用量批價、產出帳單等模組,才稱得上是一個完整的帳務系統。最終,服務導向架構,可利用此帳務系統,去建構一個類似電信服務業的獲利模式,使得服務導向架構,更能永續發展下去。基於此背景與目的,此篇論文主要就是在探討:要如何設計與實作服務導向架構之帳務系統。 During the software evolution process, Service-Oriented Architecture(SOA) takes advantage of cross-network, cross-platform, and cross-language to become a new trend of software development gradually. Especially, the Web Service and the Agent Service are both the key points in the business enterprise and the academia. But recently, the concept of service charging, and usage paying is more and more popular in the internet world. The pre-requisition to achieve this is : we must have a billing system firstly, just like telecommunication industry. The main modules of billing system include publishing service, establishing rate plan, subscribing service, recording usage event log, usage rating, and generating bill. Finally, SOA can use this billing system to construct a business profit model, just like telecommunication industry, such that SOA can run continuously in the future. On the basis of this background and purpose, this thesis is to discuss how to design and implement a billing system for Service-Oriented Architecture.