動態(tài)報表生成服務(wù)的研究與實現(xiàn)
本文選題:動態(tài)報表 切入點:SOA 出處:《北京郵電大學(xué)》2013年碩士論文 論文類型:學(xué)位論文
【摘要】:報表系統(tǒng)在各行各業(yè)中都有很廣泛的應(yīng)用,使數(shù)據(jù)能夠以特定的樣式展現(xiàn),并進行格式轉(zhuǎn)化等處理。尤其是在信息管理,交通,銀行,物流等行業(yè)的系統(tǒng)中,按照一定的需求生成不同數(shù)據(jù),不同樣式的報表有著廣泛的需求。但實際中,需要面臨數(shù)據(jù)源可能來自不同數(shù)據(jù)庫,數(shù)據(jù)形式也可能多樣變化,報表的樣式隨著業(yè)務(wù)的變化也會有相應(yīng)的改變等情況,報表系統(tǒng)的開發(fā)通常需要面臨如何提高系統(tǒng)面對數(shù)據(jù)源變化,報表樣式變化的能力,提高系統(tǒng)的通用性和靈活性等問題。在一些開發(fā)系統(tǒng)中的報表控件由于不是開發(fā)環(huán)境的主體,在制作橫縱報表,多級報表時通常需要嵌套子表和復(fù)雜的數(shù)據(jù)綁定,不能應(yīng)用不同模板,有些方法不能提供某些特定報表樣式的實現(xiàn),或者不能很好的使用多數(shù)據(jù)源,以及一些報表工具需要特定的集成環(huán)境,商用成本高,不適合輕量級系統(tǒng)等問題。本文就針對以上報表系統(tǒng)開發(fā)中可能出現(xiàn)的問題進行研究。 本文通過對動態(tài)報表服務(wù)相關(guān)系統(tǒng)和技術(shù)的研究,設(shè)計了一種數(shù)據(jù)和樣式分離的可提供靈活樣式選擇的系統(tǒng),并改進了模塊的可重用性和通用性。論文首先應(yīng)用SOA思想,對報表系統(tǒng)進行系統(tǒng)框架設(shè)計,運用SOMA方法論對報表系統(tǒng)進行分層設(shè)計,服務(wù)鑒別和劃分。然后比較了幾種報表生成解決方案的優(yōu)劣勢和不足之處,提出采用XML和XSLT技術(shù)的解決方案和相關(guān)實現(xiàn)。利用XML數(shù)據(jù)格式的通用性,使不同的數(shù)據(jù)源,如數(shù)據(jù)庫中數(shù)據(jù)和Excel應(yīng)用中的數(shù)據(jù)能夠得到統(tǒng)一的轉(zhuǎn)化,并增加了對轉(zhuǎn)化后數(shù)據(jù)的有效性和正確性驗證。利用XSLT在報表格式方面定義的靈活性,為用戶提供能夠設(shè)計復(fù)雜報表樣式的方法,并使報表數(shù)據(jù)和報表樣式定義分離,在運行時再進行相應(yīng)的動態(tài)數(shù)據(jù)載入。通過分層設(shè)計,服務(wù)劃分定義和數(shù)據(jù)轉(zhuǎn)化與樣式定義的分離,使開發(fā)的解決方案具有更好的通用性,可重用性和可移植性。
[Abstract]:The report system is widely used in all kinds of industries, so that the data can be displayed in a particular style, and the data can be processed by format transformation, especially in the information management, transportation, banking, logistics and other industries, especially in the information management, transportation, banking, logistics and other industries. Producing different data according to certain requirements, different styles of reports have a wide range of requirements. But in practice, the data sources may come from different databases, and the data forms may vary. The style of the report will change with the change of the business. The development of the report system usually needs to face how to improve the ability of the system to face the change of the data source and the change of the style of the report. Because the report control in some development systems is not the main body of the development environment, when making horizontal and vertical reports and multilevel reports, the nested subtables and complex data binding are usually required. You can't apply different templates, some methods can't provide implementations of specific report styles, or you can't use multiple data sources very well, and some reporting tools require a specific integration environment, and it's expensive to do business. It is not suitable for lightweight systems and so on. In this paper, the possible problems in the development of the above report system are studied. Based on the research of dynamic report service related system and technology, this paper designs a flexible style selection system, which can provide flexible style selection by separating data and style, and improves the reusability and versatility of the module. Firstly, the paper applies the idea of SOA. This paper designs the system framework of the report system, designs the report system by using the SOMA methodology, and then compares the advantages and disadvantages of several report generation solutions, including the hierarchical design, the service identification and the division of the report system, and then compares the advantages and disadvantages of several kinds of report generation solutions. This paper puts forward a solution and related implementation using XML and XSLT technology. By using the generality of XML data format, different data sources, such as data in database and data in Excel application, can be unified transformed. It also increases the validity and correctness of the transformed data. By using the flexibility of XSLT in the definition of report format, it provides users with a way to design complex report style, and separates the report data from the report style definition. Through hierarchical design, service partition definition and separation of data transformation and style definition, the developed solution has better generality, reusability and portability.
【學(xué)位授予單位】:北京郵電大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2013
【分類號】:F49;TP393.09
【參考文獻】
相關(guān)期刊論文 前6條
1 唐敏,徐瑋,李昭原;基于Web的報表工具的設(shè)計與實現(xiàn)[J];北京航空航天大學(xué)學(xué)報;2001年04期
2 吳雷;袁兆山;李超;;B/S結(jié)構(gòu)下復(fù)雜報表實現(xiàn)技術(shù)的研究[J];計算機應(yīng)用研究;2006年05期
3 李林廣;Web發(fā)布用戶自定義報表系統(tǒng)[J];南京工程學(xué)院學(xué)報;2002年02期
4 熊小華,寧愛兵;面向用戶的Delphi高級圖文報表的實現(xiàn)[J];上海第二工業(yè)大學(xué)學(xué)報;2004年02期
5 杜梅;周傳生;曹聲嘉;;開源報表引擎JasperReports的研究與應(yīng)用[J];沈陽師范大學(xué)學(xué)報(自然科學(xué)版);2007年04期
6 柳軍;韓冰;;一種可重用報表處理平臺的實現(xiàn)[J];中國水運(理論版);2006年11期
相關(guān)碩士學(xué)位論文 前6條
1 袁立松;基于SOA的報表服務(wù)模型設(shè)計[D];燕山大學(xué);2010年
2 葉春曉;XML在數(shù)據(jù)集成中的應(yīng)用研究[D];重慶大學(xué);2002年
3 劉宏偉;基于WEB的動態(tài)報表系統(tǒng)之展示子系統(tǒng)研究[D];昆明理工大學(xué);2003年
4 柳軍;可重用報表處理平臺的研究與實現(xiàn)[D];華中科技大學(xué);2005年
5 劉海艦;通用報表系統(tǒng)的研究及其實現(xiàn)[D];貴州大學(xué);2006年
6 黃煜;海量數(shù)據(jù)遷移和報表自動生成的研究和實現(xiàn)[D];上海交通大學(xué);2010年
,本文編號:1595897
本文鏈接:http://sikaile.net/jingjilunwen/xxjj/1595897.html