WO2014180252A1 - 一种报表插件装置及其实现报表应用的方法 - Google Patents

一种报表插件装置及其实现报表应用的方法 Download PDF

Info

Publication number
WO2014180252A1
WO2014180252A1 PCT/CN2014/075972 CN2014075972W WO2014180252A1 WO 2014180252 A1 WO2014180252 A1 WO 2014180252A1 CN 2014075972 W CN2014075972 W CN 2014075972W WO 2014180252 A1 WO2014180252 A1 WO 2014180252A1
Authority
WO
WIPO (PCT)
Prior art keywords
report
package
plug
upgrade
data
Prior art date
Application number
PCT/CN2014/075972
Other languages
English (en)
French (fr)
Inventor
李安刚
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014180252A1 publication Critical patent/WO2014180252A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a report plug-in device and a method for implementing the report application.
  • BACKGROUND With the continuous development of computer and communication technologies, the demand for statistics of various sites is increasing, and the statistical reports are becoming more and more complicated. The customization of reports at each site is also very strong, requiring additional development, and the traditional mode is on-line. If the report is added, or the report is upgraded, the report statistics service of the live network will be interrupted. Therefore, how to implement the installation and upgrade of reports without interrupting the statistics service of the existing network has become an urgent problem to be solved.
  • a report plug-in device includes: a report plug-in package generating module, configured to generate a report plug-in package including one or more reports; a management module, configured to install the report The plug-in package, or use the report plug-in package to perform report upgrade; the background running module is set to perform report data processing according to the scheduled task of the report in the installed or upgraded report plug-in package.
  • each report in the report plug-in package includes a description file and a script file;
  • the description file includes a name, a description, a field to be displayed, a type of the report, a report data retention month, and a scheduled task of the report.
  • the script file includes an integrated data method for implementing a report and a method for generating a report data.
  • the scheduled task of the report includes: preprocessing of the report data, generating report result data or aging of the report data.
  • the report plug-in package stores an upgrade path of the report plug-in package for each upgrade; the management module is further configured to determine, according to the version of the upgrade path in the report plug-in package, when the report is upgraded.
  • the management module is further configured to: uninstall the report plug-in package; when uninstalling the report plug-in package, determine whether the report plug-in package is in use, when determining that the report plug-in package is in use
  • the program that uninstalls the report plugin package ends.
  • the method further includes: a report query module, configured to display the result of the report in the report plug-in package in a graphic or report form, and support downloading the report.
  • the embodiment of the present invention further provides a method for implementing a report application according to the report plug-in device according to any one of the preceding claims, comprising: generating a report plug-in package including one or more reports; installing the report plug-in package, or using The report plug-in package performs report upgrade; the report data processing is performed according to the scheduled task of the report in the installed or upgraded report plug-in package.
  • each report in the report plug-in package includes a description file and a script file; the description file includes a name, a description, a field to be displayed, a type of the report, a report data retention month, and a scheduled task of the report.
  • the script file includes an integrated data method for implementing a report and a method for generating a report data.
  • the scheduled task of the report includes: preprocessing of the report data, generating report result data or aging of the report data.
  • the method further includes: the report plug-in package storing an upgrade path of the report plug-in package for each upgrade, and determining whether the upgrade is required according to the version of the upgrade path in the report plug-in package when the report is upgraded.
  • the report plugin package is upgraded when it is determined that an upgrade is required.
  • the method further comprises: And uninstalling the report plug-in package, when the report plug-in package is uninstalled, determining whether the report plug-in package is in use, and when determining that the report plug-in package is in use, ending uninstalling the report plug-in package program.
  • the method further includes: displaying the result of the report in the report plug-in package in a graphic or report form, and supporting downloading the report.
  • FIG. 1 is a schematic structural diagram of a report plug-in device according to a first embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of another report plug-in device according to an embodiment of the present invention
  • FIG. 4 is a flowchart of installing and using a report plug-in package according to Embodiment 2 of the present invention
  • FIG. 5 is a flowchart of upgrading and using a report plug-in package according to Embodiment 2 of the present invention.
  • the main purpose of the embodiments of the present invention is to provide a report plug-in device and a method for implementing the report application, which can flexibly install, uninstall, and upgrade customized reports without affecting the statistics service of the live network. It can quickly respond to the complex statistical needs of the market, and can be quickly commercialized and used on devices such as interactive network TVs and servers to count the number of user clicks, visits or other information.
  • Embodiment 1 The embodiment of the present invention provides a report plug-in device.
  • the device includes a report plug-in package generating module, a management module, and a background running module.
  • the report plug-in package generating module of the embodiment of the present invention generates a report plug-in package including one or more reports; the management module installs the report plug-in package, or uses the report plug-in package to perform report upgrade; the background running module is installed or upgraded Reporting data processing for the scheduled tasks of the report plug-in package.
  • the report plug-in device in the embodiment of the present invention may include one or more report plug-in packages, and each report plug-in package may further include one or more reports.
  • Each report in the report plug-in package in the embodiment of the present invention includes a description file and a script file;
  • the description file includes a name, a description, a display field, a report type, a report data retention month, and a report of the report.
  • the script file includes an integrated data method for implementing a report and a method for generating a report data, wherein the report plug-in package stores an upgrade path of each upgrade of the report plug-in package, In the future, when the version is upgraded, it is judged whether the current version is the latest version.
  • the timing tasks of the above report include: Preprocessing of report data, generation of report result data or aging of report data.
  • the management module of the embodiment of the present invention Before the upgrade of the report plug-in package, the management module of the embodiment of the present invention first determines whether the upgrade is required according to the upgrade path of the report plug-in package saved by the report plug-in package generation module, and when it is determined that the upgrade is required, The report plugin package is upgraded.
  • the upgrade path includes the upgrade path of the first version VI.1 upgrade to V1.2, including the second version V1.2 upgrade to The upgrade path of V1.3 is easy to judge when installing.
  • the management module in the embodiment of the present invention performs legality verification on the format of the report plug-in package before installing the report plug-in package.
  • the report plug-in package is get on Install, and perform a legality check on the format of the upgraded version of the report plug-in package before upgrading the report plug-in package.
  • the report plug-in is The package is upgraded, and the legality is judged to ensure the security of the system.
  • the management module determines whether the report plug-in package is in use, and when it is determined that the report plug-in package is in use, ends the uninstallation of the report plug-in package, so as to prevent the customer from working normally.
  • the embodiment of the present invention further includes a report query module, and the report query module displays the result of the report in the report plug-in package in a graph or a report form, and supports downloading the report. Customers can download the corresponding reports as needed to meet the different needs of customers.
  • the report plug-in device provided by the embodiment of the present invention can flexibly install, uninstall, and upgrade customized reports without affecting the statistics service of the live network, so as to quickly respond to complex statistical requirements of the market, and can be quickly commercialized.
  • the application is used to count the number of user clicks, visits, or other information on an interactive web TV, server, or the like.
  • Embodiment 2 The embodiment of the present invention provides a method for implementing a report application according to the report plug-in device according to the previous embodiment. Referring to FIG. 3, the method includes:
  • the step specifically includes: generating the report plug-in package according to a description file and a script file of each report in the report plug-in package, where the description file includes the report.
  • the script file includes an integrated data method for implementing the report and a report generation data method
  • the script includes Not limited to: shell scripts, python scripts, sql scripts, etc.
  • the scheduled tasks of the report include: preprocessing of report data, generation of report result data, or aging of report data.
  • the report plug-in device in the embodiment of the present invention may include one or more report plug-in packages, and each report plug-in package may further include one or more reports.
  • the report plug-in package generating module in the embodiment of the present invention further saves an upgrade path of each upgrade of the report plug-in package, so as to determine whether the current version is the latest version when the version is upgraded in the future.
  • the management module Before the upgrade of the report plug-in package, the management module first determines whether the upgrade is required according to the upgrade path of the report plug-in package saved by the report plug-in package generation module, and when it is determined that the upgrade is required, the report plug-in package Upgrade.
  • the upgrade path includes the upgrade path of the first version VI.1 upgrade to V1.2, including the second version V1.2 upgrade to
  • the upgrade path of V1.3 is easy to judge when installing. If the original version is not up-to-date, it can be upgraded to the latest version according to the upgrade path, and some operating data of the original version is retained.
  • the management module in the embodiment of the present invention performs legality on the format of the report plug-in package before installing the report plug-in package. Checking, when determining that the format of the report plug-in is legal, installing the report plug-in package, and performing legality on the format of the upgraded version of the report plug-in package before upgrading the report plug-in package.
  • the report plug-in package is upgraded when it is determined that the format of the upgraded version of the report plug-in is legal. The validity of the system is ensured by making legal judgments.
  • the embodiment of the present invention determines whether the report plug-in package is being used. When it is determined that the report plug-in package is in use, the program for uninstalling the report plug-in package is ended, so as to avoid the customer's normal work.
  • the invention also supports downloading the report, and the client can download the corresponding report according to the need, thereby satisfying the different needs of the customer.
  • FIG. 4 is a flowchart of installing and using a report plug-in package according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
  • S401 Write a report plug-in package A according to a customized report requirement, and the description file may be xml, ini, or other formats; the script includes but is not limited to: a shell script, a python script, a sql script, etc.; S402, a report plug-in package
  • the management module will verify the legality of the report plug-in package A, and determine whether the report plug-in package A has been installed. If it is not installed, it will be installed. If it is installed, it will not be installed. 5403. After the installation is completed, the background running module performs data pre-processing or report generation according to the conventions of each report in the plug-in package A;
  • FIG. 5 is a flowchart of upgrading and using a report plug-in package according to Embodiment 2 of the present invention. As shown in FIG. 5, the method includes:
  • the report plug-in package B is an upgraded version of the report plug-in package A, that is, the report plug-in package B includes the report plug-in package A and the upgrade path, and the upgrade path may include but is not limited to: shell Script, python script, sql script, etc.; S502, the management module will verify the validity of the report plug-in package B, and determine whether the report plug-in package B is installed, if not installed, install, if installed, then compare The version of the installed report plug-in package B and the version of the report plug-in package B to be installed.
  • the installed plug-in package B version is not lower than the report plug-in package B to be installed, it will not be installed, if the installed plug-in package is installed. B is lower than the installed report plug-in package B, then intelligent upgrade, including but not limited to script replacement, data cutover, etc.; S503, after the upgrade is completed, the background running module will perform data according to the agreement of each upgraded plug-in package B report. Pre-processing or generating report operations;
  • S504 querying the result of the customized report through the report query module, displaying by using a graphic, a table, etc., and providing a plurality of format file downloads such as txt, pdf, and excel.
  • the embodiment of the invention provides a report plug-in device and a method for implementing the report application, which can flexibly install, uninstall and upgrade the customized report without affecting the statistics service of the live network, thereby being able to respond quickly to the market.
  • Complex statistical requirements, fast commercial use can be applied to devices such as interactive network TVs, servers, etc. to count the number of user clicks, visits or other information.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

本发明公开了一种报表插件装置及其实现报表应用的方法,包括:报表插件包生成模块,设置为生成包含一个或多个报表的报表插件包;管理模块,设置为安装所述报表插件包,或者利用所述报表插件包进行报表升级;后台运行模块,设置为根据安装或升级后的报表插件包中报表的定时任务进行报表数据处理。本发明可在不影响现网统计业务的前提下,对定制的报表进行灵活的安装、卸载和升级,从而能够快速的响应市场复杂的统计需求,快速的商用。

Description

一种报表插件装置及其实现报表应用的方法 技术领域 本发明涉及通信技术领域,尤其涉及一种报表插件装置及其实现报表应用的方法。 背景技术 随着计算机和通讯技术的不断发展, 各局点对统计的需求日益增加, 并且统计报 表也越来越复杂, 各局点的报表定制性也非常的强, 需要额外的开发, 传统的模式上 线慢, 并且在新增报表或进行报表升级时, 会使现网的报表统计业务中断。 因此, 如 何在保证现网统计业务不中断的情况下实现报表的安装和升级成为现在亟待需要解决 的问题。 发明内容 鉴于上述的分析, 本发明实施例旨在提供一种报表插件装置及其实现报表应用的 方法, 用以解决现有现网统计业务安装和升级时统计业务需要中断的问题。 本发明实施例主要是通过以下技术方案实现的: 一种报表插件装置, 包括: 报表插件包生成模块, 设置为生成包含一个或多个报表的报表插件包; 管理模块, 设置为安装所述报表插件包,或者利用所述报表插件包进行报表升级; 后台运行模块, 设置为根据安装或升级后的报表插件包中报表的定时任务进行报 表数据处理。 优选地, 所述报表插件包内每个报表均包括描述文件和脚本文件; 所述描述文件 包括所述报表的名称、 描述、 展示的字段、 报表的类型、 报表数据保留月份和报表的 定时任务中的一种或多种; 所述脚本文件包括实现报表的整合数据方法和报表生成数 据方法。 优选地, 所述报表的定时任务包括: 报表数据的预处理、 生成报表结果数据或报 表数据的老化。 优选地, 所述报表插件包内保存有所述报表插件包每次升级的升级路径; 所述管理模块, 还设置为在进行报表升级时, 根据所述报表插件包内的升级路径 的版本判断是否需要升级, 当确定需要升级时, 对所述报表插件包进行升级。 优选地, 所述管理模块, 还设置为对所述报表插件包进行卸载; 在对所述报表插 件包进行卸载时, 判断所述报表插件包是否正在使用, 当确定所述报表插件包正在使 用时, 结束对所述报表插件包卸载的程序。 优选地, 还包括: 报表查询模块, 设置为以图形或报表形式展示所述报表插件包内的报表的结果, 支持对所述报表进行下载。 本发明实施例还提供了一种根据上述任意一项所述的报表插件装置实现报表应用 的方法, 包括: 生成包含一个或多个报表的报表插件包; 安装所述报表插件包, 或者, 利用所述报表插件包进行报表升级; 根据安装或升级后的报表插件包中报表的定时任务进行报表数据处理。 优选地, 所述报表插件包内每个报表均包括描述文件和脚本文件; 所述描述文件 包括所述报表的名称、 描述、 展示的字段、 报表的类型、 报表数据保留月份和报表的 定时任务中的一种或多种; 所述脚本文件包括实现报表的整合数据方法和报表生成数 据方法。 优选地, 所述报表的定时任务包括: 报表数据的预处理、 生成报表结果数据或报 表数据的老化。 优选地, 还包括: 所述报表插件包内保存有所述报表插件包每次升级的升级路径, 在进行报表升级 时,根据所述报表插件包内的升级路径的版本判断是否需要升级, 当确定需要升级时, 对所述报表插件包进行升级。 优选地, 还包括: 对所述报表插件包进行卸载, 在对所述报表插件包进行卸载时, 判断所述报表插 件包是否正在使用, 当确定所述报表插件包正在使用时, 结束对所述报表插件包卸载 的程序。 优选地, 还包括: 以图形或报表形式展示所述报表插件包内的报表的结果, 支持对所述报表进行下 载。 本发明实施例有益效果如下: 本发明实施例提供的一种报表插件装置及其实现报表应用的方法, 可以在不影响 现网统计业务的前提下, 对定制的报表进行灵活的安装、 卸载和升级, 从而能够快速 的响应市场复杂的统计需求, 快速的商用。 本发明实施例的其他特征和优点将在随后的说明书中阐述, 并且部分的从说明书 中变得显而易见, 或者通过实施本发明而了解。 本发明的目的和其他优点可通过在所 写的说明书、 权利要求书、 以及附图中所特别指出的结构来实现和获得。 附图说明 图 1为本发明实施例一的报表插件装置的结构示意图; 图 2为本发明实施例一另一种报表插件装置的结构示意图; 图 3为本发明实施例二的实现报表应用的方法的流程图; 图 4为本发明实施例二的报表插件包的安装和使用的流程图; 图 5为本发明实施例二的报表插件包的升级和使用的流程图。 具体实施方式 下面结合附图来具体描述本发明的优选实施例, 其中, 附图构成本申请一部分, 并与本发明的实施例一起用于阐释本发明的原理。 为了清楚和简化目的, 当其可能使 本发明的主题模糊不清时, 将省略本文所描述的器件中已知功能和结构的详细具体说 明。 本发明实施例的主要目的是提供一种报表插件装置及其实现报表应用的方法, 该 装置可在不影响现网统计业务的前提下,对定制的报表进行灵活的安装、卸载和升级, 从而能够快速的响应市场复杂的统计需求, 快速的商用, 可应用在交互式网络电视、 服务器等设备上用于统计用户点击率、 访问量或其他信息的数量。 下面就通过几个具 体实施例对本发明的技术方案进行详细说明。 实施例一 本发明实施例提供了一种报表插件装置, 参见图 1, 该装置包括报表插件包生成 模块、 管理模块和后台运行模块。 本发明实施例的报表插件包生成模块生成包含一个 或多个报表的报表插件包; 管理模块安装所述报表插件包, 或者利用所述报表插件包 进行报表升级; 后台运行模块根据安装或升级后的报表插件包中报表的定时任务进行 报表数据处理。 本发明实施例中的报表插件装置可以包括一个或多个报表插件包, 每个报表插件 包又可以包括一个或多个报表。 本发明实施例中的所述报表插件包内每个报表均包括描述文件和脚本文件; 所述 描述文件包括所述报表的名称、 描述、 展示的字段、 报表的类型、 报表数据保留月份 和报表的定时任务中的一种或多种; 所述脚本文件包括实现报表的整合数据方法和报 表生成数据方法, 所述报表插件包内保存有所述报表插件包每次升级的升级路径, 以 备将来进行版本升级时判断现在的版本是否是最新的版本。 上述的报表的定时任务包括: 报表数据的预处理、 生成报表结果数据或报表数据 的老化。 例如, 当某一个报表的数据的预处理的时间到后, 后台运行模块会对该报表 进行数据的预处理。 当然本领域的技术人员也可以根据实际需要预先设定其他的定时 任务。 本发明实施例的管理模块在对所述报表插件包进行升级前, 先根据所述报表插件 包生成模块保存的所述报表插件包的升级路径判断是否需要升级,当确定需要升级时, 对所述报表插件包进行升级。 例如, 当前所述报表插件包已经是第三个版本 V1.3, 那 么升级路径中包括了第一个版本 VI.1升级至 V1.2的升级路径, 包括了第二版本 V1.2 升级至 V1.3的升级路径, 便于安装的时候自动判断, 如果原版本不是最新的, 可智能 根据升级路径升级至最新的版本, 保留了原版本的一些运行数据等。 本发明实施例中的管理模块在对所述报表插件包进行安装前, 对所述报表插件包 的格式进行合法性校验, 当确定所述报表插件的格式合法时, 对所述报表插件包进行 安装, 并在对所述报表插件包进行升级前, 对所述报表插件包的升级版本的格式进行 合法性校验, 当确定所述报表插件的升级版本的格式合法时, 对所述报表插件包进行 升级, 通过进行合法性判断有效保证了系统的安全性。 管理模块在对所述报表插件包进行卸载时, 判断所述报表插件包是否正在使用, 当确定所述报表插件包正在使用时, 结束对所述报表插件包卸载的程序, 以免客户的 正常工作。 如图 2所示, 本发明实施例进一步包括报表查询模块, 通过报表查询模块以图形 或报表形式展示所述报表插件包内的报表的结果, 支持对所述报表进行下载。 客户可 以根据需要进行相应报表的下载, 从而满足了客户的不同的需求。 本发明实施例提供的报表插件装置可在不影响现网统计业务的前提下, 对定制的 报表进行灵活的安装、 卸载和升级, 从而能够快速的响应市场复杂的统计需求, 快速 的商用, 可应用在交互式网络电视、 服务器等上用于统计用户点击率、 访问量或其他 信息的数量。 实施例二 本发明实施例提供了一种根据上一实施例的报表插件装置实现报表应用的方法, 参见图 3, 该方法包括:
S301、 生成包含一个或多个报表的报表插件包; 该步骤具体包括: 根据所述报表插件包内每个报表的描述文件和脚本文件生成所 述报表插件包, 所述描述文件包括所述报表的名称、 描述、 展示的字段、 报表的类型、 报表数据保留月份和报表的定时任务中的一种或多种, 所述脚本文件包括实现报表的 整合数据方法和报表生成数据方法, 脚本包括但不限于: shell脚本、 python脚本、 sql 脚本等。 其中, 所述报表的定时任务包括: 报表数据的预处理、 生成报表结果数据或 报表数据的老化。 例如, 当某一个报表的数据的预处理的时间到后, 后台运行模块会 对该报表进行数据的预处理。 当然本领域的技术人员也可以根据实际需要预先设定其 他的定时任务。 本发明实施例中的报表插件装置可以包括一个或多个报表插件包, 每个报表插件 包又可以包括一个或多个报表。 本发明实施例中的所述报表插件包生成模块还保存所述报表插件包每次升级的升 级路径, 以备将来进行版本升级时判断现在的版本是否是最新的版本。 本发明实施例 的管理模块在对所述报表插件包进行升级前, 先根据所述报表插件包生成模块保存的 所述报表插件包的升级路径判断是否需要升级, 当确定需要升级时, 对所述报表插件 包进行升级。 例如, 当前所述报表插件包已经是第三个版本 V1.3, 那么升级路径中包 括了第一个版本 VI.1升级至 V1.2的升级路径, 包括了第二版本 V1.2升级至 V1.3的 升级路径, 便于安装的时候自动判断, 如果原版本不是最新的, 可智能根据升级路径 升级至最新的版本, 保留了原版本的一些运行数据等。
5302、 安装所述报表插件包, 或者利用所述报表插件包进行报表升级; 本发明实施例中的管理模块在对所述报表插件包进行安装前, 对所述报表插件包 的格式进行合法性校验, 当确定所述报表插件的格式合法时, 对所述报表插件包进行 安装, 并在对所述报表插件包进行升级前, 对所述报表插件包的升级版本的格式进行 合法性校验, 当确定所述报表插件的升级版本的格式合法时, 对所述报表插件包进行 升级。 通过进行合法性判断有效保证了系统的安全性。
5303、 根据安装或升级后的报表插件包中报表的定时任务进行报表数据处理。 举例说明,在某一个报表的数据预处理的时间到达时,对该报表进行数据预处理, 或者在需要生成报表时, 提前生成好报表等。 本发明实施例在对所述报表插件包进行卸载时, 判断所述报表插件包是否正在使 用, 当确定所述报表插件包正在使用时, 结束对所述报表插件包卸载的程序, 以免客 户的正常工作。 本发明还支持对所述报表进行下载, 客户可以根据需要进行相应报表 的下载, 从而满足了客户的不同的需求。 下面以一个具体的例子对本发明的报表插件包方法进行详细的说明: 图 4为本发明实施例的报表插件包的安装和使用的流程图, 如图 4所示, 该方法 包括:
S401、 根据定制的报表需求, 撰写报表插件包 A, 描述文件可以是 xml、 ini, 也 可以是其它格式; 脚本包括但不限于: shell脚本、 python脚本、 sql 脚本等; S402、进行报表插件包 A的安装, 管理模块会对报表插件包 A的合法性等进行校 验, 并且判断是否安装过报表插件包 A, 如果没有安装, 则安装, 如果安装过, 则不 予安装; 5403、 安装完毕后, 后台运行模块会根据插件包 A中各个报表的约定, 进行数据 预处理或者生成报表等操作;
5404、 通过报表查询模块查询定制报表的结果, 以图形, 表格等方式进行展示, 并且提供 txt、 pdf、 excel等多种格式文件下载。 图 5为本发明实施例二的报表插件包的升级和使用的流程图, 如图 5所示, 该方 法包括:
S501、 根据定制的报表需求, 撰写报表插件包 B, 报表插件包 B是报表插件包 A 的升级版本, 即报表插件包 B包括报表插件包 A和升级路径, 升级路径可以包括但不 限于: shell脚本、 python脚本、 sql 脚本等; S502、 管理模块会对报表插件包 B的合法性等进行校验, 并且判断是否安装过报 表插件包 B, 如果没有安装, 则安装, 如果安装过, 则对比已安装的报表插件包 B的 版本和将要安装的报表插件包 B的版本,如果已安装的插件包 B版本不低于将要安装 的报表插件包 B, 则不予安装, 如果已安装的插件包 B低于安装的报表插件包 B, 则 智能升级, 包括但不限于脚本替换、 数据割接等; S503、 升级完毕后, 后台运行模块会根据升级后的插件包 B各个报表的约定, 进 行数据预处理或者生成报表操作;
S504、 通过报表查询模块查询定制报表的结果, 以图形, 表格等方式进行展示, 并且提供 txt、 pdf、 excel等多种格式文件下载。 本发明实施例提供了一种报表插件装置及其实现报表应用的方法, 可以在不影响 现网统计业务的前提下, 对定制的报表进行灵活的安装、 卸载和升级, 从而能够快速 的响应市场复杂的统计需求, 快速的商用, 能够应用在交互式网络电视、 服务器等设 备上用于统计用户点击率、 访问量或其他信息的数量。 以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到的变化或替 换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应该以权利要求书 的保护范围为准。 工业实用性 本发明实施例提供的技术方案可以应用于通信技术领域, 可以在不影响现网统计 业务的前提下, 对定制的报表进行灵活的安装、 卸载和升级, 从而能够快速的响应市 场复杂的统计需求, 快速的商用。

Claims

权 利 要 求 书 、 一种报表插件装置, 包括:
报表插件包生成模块, 设置为生成包含一个或多个报表的报表插件包; 管理模块, 设置为安装所述报表插件包, 或者利用所述报表插件包进行报 表升级;
后台运行模块, 设置为根据安装或升级后的报表插件包中报表的定时任务 进行报表数据处理。 、 根据权利要求 1所述的报表插件装置, 其中,
所述报表插件包内每个报表均包括描述文件和脚本文件; 所述描述文件包 括所述报表的名称、 描述、 展示的字段、 报表的类型、 报表数据保留月份和报 表的定时任务中的一种或多种; 所述脚本文件包括实现报表的整合数据方法和 报表生成数据方法。 、 根据权利要求 1或 2所述的报表插件装置, 其中, 所述报表的定时任务包括: 报表数据的预处理、 生成报表结果数据或报表数据的老化。 、 根据权利要求 1所述的报表插件装置, 其中,
所述报表插件包内保存有所述报表插件包每次升级的升级路径; 所述管理模块, 还设置为在进行报表升级时, 根据所述报表插件包内的升 级路径的版本判断是否需要升级, 当确定需要升级时, 对所述报表插件包进行 升级。 、 根据权利要求 1、 2或 4所述的报表插件装置, 其中,
所述管理模块, 还设置为对所述报表插件包进行卸载; 在对所述报表插件 包进行卸载时, 判断所述报表插件包是否正在使用, 当确定所述报表插件包正 在使用时, 结束对所述报表插件包卸载的程序。 、 根据权利要求 1、 2或 4所述的报表插件装置, 其中, 还包括:
报表查询模块, 设置为以图形或报表形式展示所述报表插件包内的报表的 结果, 支持对所述报表进行下载。 、 一种实现报表应用的方法, 包括:
生成包含一个或多个报表的报表插件包;
安装所述报表插件包, 或者, 利用所述报表插件包进行报表升级; 根据安装或升级后的报表插件包中报表的定时任务进行报表数据处理。 、 根据权利要求 7所述的方法, 其中, 所述报表插件包内每个报表均包括描述文 件和脚本文件; 所述描述文件包括所述报表的名称、 描述、 展示的字段、 报表 的类型、 报表数据保留月份和报表的定时任务中的一种或多种; 所述脚本文件 包括实现报表的整合数据方法和报表生成数据方法。 、 根据权利要求 7或 8所述的方法, 其中, 所述报表的定时任务包括: 报表数据 的预处理、 生成报表结果数据或报表数据的老化。 0、 根据权利要求 7所述的方法, 其中, 还包括: 所述报表插件包内保存有所述报表插件包每次升级的升级路径, 在进行报 表升级时, 根据所述报表插件包内的升级路径的版本判断是否需要升级, 当确 定需要升级时, 对所述报表插件包进行升级。 1、 根据权利要求 7、 8或 10所述的方法, 其中, 还包括: 对所述报表插件包进行卸载, 在对所述报表插件包进行卸载时, 判断所述 报表插件包是否正在使用, 当确定所述报表插件包正在使用时, 结束对所述报 表插件包卸载的程序。 、 根据权利要求 7、 8或 10所述的方法, 其中, 还包括: 以图形或报表形式展示所述报表插件包内的报表的结果, 支持对所述报表 进行下载。
PCT/CN2014/075972 2013-11-19 2014-04-22 一种报表插件装置及其实现报表应用的方法 WO2014180252A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310581114.5 2013-11-19
CN201310581114.5A CN104657155A (zh) 2013-11-19 2013-11-19 一种报表插件装置及其实现报表应用的方法

Publications (1)

Publication Number Publication Date
WO2014180252A1 true WO2014180252A1 (zh) 2014-11-13

Family

ID=51866710

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/075972 WO2014180252A1 (zh) 2013-11-19 2014-04-22 一种报表插件装置及其实现报表应用的方法

Country Status (2)

Country Link
CN (1) CN104657155A (zh)
WO (1) WO2014180252A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7222124B2 (en) * 2002-09-19 2007-05-22 Advanced Semiconductor Engineering, Inc. Internet automatic electric data system
CN101183371A (zh) * 2007-12-12 2008-05-21 中兴通讯股份有限公司 一种快速完成大数据处理的方法和报表系统
CN101957849A (zh) * 2010-09-21 2011-01-26 用友软件股份有限公司 静态报表生成方法和装置
CN103020023A (zh) * 2012-12-12 2013-04-03 中国南方电网有限责任公司超高压输电公司广州局 电力行业技术监督系统的电子文档数据自动存储读取方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841843B (zh) * 2012-07-12 2018-04-10 中兴通讯股份有限公司 兼容判断方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7222124B2 (en) * 2002-09-19 2007-05-22 Advanced Semiconductor Engineering, Inc. Internet automatic electric data system
CN101183371A (zh) * 2007-12-12 2008-05-21 中兴通讯股份有限公司 一种快速完成大数据处理的方法和报表系统
CN101957849A (zh) * 2010-09-21 2011-01-26 用友软件股份有限公司 静态报表生成方法和装置
CN103020023A (zh) * 2012-12-12 2013-04-03 中国南方电网有限责任公司超高压输电公司广州局 电力行业技术监督系统的电子文档数据自动存储读取方法

Also Published As

Publication number Publication date
CN104657155A (zh) 2015-05-27

Similar Documents

Publication Publication Date Title
US8762984B2 (en) Content distribution infrastructure
US11663175B2 (en) Deployment of applications conforming to application data sharing and decision service platform schema
US8938735B2 (en) Bootstrapper and software download manager
US7203940B2 (en) Automated installation of an application
US8769502B2 (en) Template based asynchrony debugging configuration
US20170185431A1 (en) Method and apparatus for dynamically implementing application function
US20150074659A1 (en) Methods and Apparatus to Perform Web-Based Installations and/or Upgrade Architectures for Enterprise Software
WO2017071207A1 (zh) 一种应用安装方法、相关装置及应用安装系统
US9645809B2 (en) Updating software components through online stores
CN102541596A (zh) 一种操作系统升级方法及装置
CN110597539A (zh) 电能表升级方法、系统和存储介质
US10404568B2 (en) Agent manager for distributed transaction monitoring system
CN113064630B (zh) 移动端app自动打包方法、系统、电子设备及存储介质
CN105786511A (zh) 终端设备Web应用管理的实现方法
US20030204730A1 (en) Secure transmission and installation of an application
CN108287720B (zh) 软件编译方法、装置、设备及存储介质
CN106970811A (zh) 一种补丁文件安装方法及其设备
CN111679850B (zh) 应用程序热更新处理方法、装置及系统
CN111679842B (zh) 应用程序热更新处理方法、装置及系统
CN116431200A (zh) 应用数据配置信息的配置方法、装置、设备及存储介质
US20170031667A1 (en) Managing application lifecycles within a federation of distributed software applications
WO2014180252A1 (zh) 一种报表插件装置及其实现报表应用的方法
CN113590178A (zh) Api实例的管理方法、装置、存储介质及电子设备
CN113132447A (zh) 反向代理的方法和系统
CN103733596A (zh) 用于管理对由电子设备提供的资源组的访问的方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14794139

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14794139

Country of ref document: EP

Kind code of ref document: A1