摘要
BIRT(Business Intelligence and Reporting Tools)是一款具有代表性的开源报表设计软件,根据基于XML的报表模版文件,BIRT能够从关系数据表中提取数据,动态生成报表.报表对象模型(Report Object Model,ROM)是BIRT的报表各元素的格式规范.本文在ROM的基础上,提出一个报表搜索引擎解决方案,该解决方案通过对XML定义的报表设计文件的搜索,定位符合要求的报表文件,并根据查询关键词在报表中的位置,计算报表的权重系数,给出符合用户用意的结果报表列表.同时,根据用户对查询结果的参数设定,动态生成报表,从而更为准确的找到满足用户需求的报表.
BIRT is a representative, Eclipse-based open source reporting system. Based on the XML design file,BIRT can get data from relational tables and generate reports dynamically. Report Object Model (ROM)defines the format of the element that occurs in the report generated by BIRT. This paper presents a report search engine solution based on BIRT's ROM. By searching the report design files defined by XML, the engine tries to find the desirous reports from mass. According to the location that keyword occurs, engine will compute the weight that the report get, and then give a result list sorted by the weight. At the same time, with the parameters that users set for the report design files, the system will dynamically generate PDF or HTML formatted reports that BIRT supports so as to meet the user's needs more precisely.
出处
《小型微型计算机系统》
CSCD
北大核心
2007年第6期1064-1067,共4页
Journal of Chinese Computer Systems
基金
国家自然科学基金项目(60473078)资助.