CN104408085A - 一种报表快速查看的方法 - Google Patents

一种报表快速查看的方法 Download PDF

Info

Publication number
CN104408085A
CN104408085A CN201410637657.9A CN201410637657A CN104408085A CN 104408085 A CN104408085 A CN 104408085A CN 201410637657 A CN201410637657 A CN 201410637657A CN 104408085 A CN104408085 A CN 104408085A
Authority
CN
China
Prior art keywords
data
strategy
report
user
update
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201410637657.9A
Other languages
English (en)
Inventor
关班记
季统凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud Technology Co Ltd
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 G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN201410637657.9A priority Critical patent/CN104408085A/zh
Publication of CN104408085A publication Critical patent/CN104408085A/zh
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2393Updating materialised views

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明涉及JAVA技术WEB开发技术领域,具体涉及一种报表快速查看的方法。本发明包括设置报表定时更新等生成策略;增加数据策略,当数据更新到一定量时,报表即更动更新;此后,用户访问报表时,直接返回之前已生成的报表文件返回给用户。本发明解决了报表查看需要对多个数据库、表进行分类统计,影响响应速度的问题;本发明的方法可以广泛应用于应用系统的报表统计、查看功能中。

Description

一种报表快速查看的方法
技术领域
本发明涉及JAVA技术WEB开发技术领域,具体涉及一种报表快速查看的方法。
背景技术
目前互联网中,报表的主要是以下流程:用户提交报表查询请求;平台更据用户的请求查询数据库;数据库对数据进行分类汇总;平台根据数据库返回的分类汇总信息,通过前端页面技术生成报表,并返回给用户。该方法虽然可以满足报表查看功能,但频繁的数据库查询、分类汇总及页面生成,在高并发的环境下无法满足需求,而且在数据量大的情况下,可能会出现数据库服务器宕机问题,因此效果比较差。
发明内容
本发明解决的技术问题在于提供一种报表快速查看的方法,只需要定时生成一次报表,即可满足多次访问需求,避免数据库服务器频率查询与分类汇总,同时避免了报表页面的频繁生成。
本发明解决上述技术问题的技术方案是:
所述的方法包括设置报表定时更新等生成策略;增加数据策略,当数据更新到一定量时,报表即更动更新;此后,用户访问报表时,直接返回之前已生成的报表文件返回给用户。
所述的方法包括如下具体步骤:
第1步、配置报表的定时更新、数量增量更新等更新策略;
第2步、通过定期器并根据配置的更新策略,判断报表是否需要更新;
第3步、如果需要更新报表,则跳至第4步;否则返回第2步;
第4步、根据策略,对数据库数据进行分类汇总,提出报表需要的数据;
第5步、通过报表数据,生成静态的报表文件;
第6步、如果用户通过报表查看功能查看报表,则直接返回第5步已生成的报表文件。
本发明的有益效果是:本发明方法无需频率访问数据库,同时避免了数据库的频率分类汇总,避免页面的频率生成;只需要生在一次报表,即可满足不同用户的多次访问。本方法可根据策略更新报表,保证了报表数据的实时性。本发明可满足大数据环境下的快速报表查看、高并发环境下的快速报表查看效果。
附图说明
下面结合附图对本发明进一步说明:
图1为本发明的流程图。
具体实施方式
见图1所示,本发明系统通过在内网部署一套与外网服务器一致的软件环境,当用户通过内网访问系统时,系统自动切换到内网服务器中,让内网服务器对其操作进行响应;最后,通过后台同步程序,把本地服务器的数据同步至外网服务器,同时从外网服务器中下载相应的同步数据,最终达到两个服务器的数据一致。
下面具体以教育云系统的内外网数据存储、同步为例。
如附图1所示,是教育云存储平台内网向外网同步流程图;本地数据文件同步至外网服务器包括如下步骤:
第1步、安装关联数据库mysql、oracle或sqlserver
第2步、配置报表更新策略,如定时更新、数量增量更新等;
第3步、应用程序通过定期器并根据配置的更新策略,判断报表是否需要更新;
第4步、如果需要更新报表,则跳至第3步,否则跳至第5步。
第5步、根据策略,对数据库数据进行分类汇总,提出报表的数据。
第6步、通过报表数据,生成静态的报表文件,并提高用户访问。
第7步、如果有用户通过报表查看功能,查看报表,则直接返回第6步已生成的报表文件。

Claims (2)

1.一种报表快速查看的方法,其特征在于:所述的方法包括设置报表定时更新等生成策略;增加数据策略,当数据更新到一定量时,报表即更动更新;此后,用户访问报表时,直接返回之前已生成的报表文件返回给用户。
2.根据权利要求1所述的报表快速查看的方法,其特征在于:所述的方法包括如下具体步骤:
第1步、配置报表的定时更新、数量增量更新等更新策略;
第2步、通过定期器并根据配置的更新策略,判断报表是否需要更新;
第3步、如果需要更新报表,则跳至第4步;否则返回第2步;
第4步、根据策略,对数据库数据进行分类汇总,提出报表需要的数据;
第5步、通过报表数据,生成静态的报表文件;
第6步、如果用户通过报表查看功能查看报表,则直接返回第5步已生成的报表文件。
CN201410637657.9A 2014-11-12 2014-11-12 一种报表快速查看的方法 Pending CN104408085A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410637657.9A CN104408085A (zh) 2014-11-12 2014-11-12 一种报表快速查看的方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410637657.9A CN104408085A (zh) 2014-11-12 2014-11-12 一种报表快速查看的方法

Publications (1)

Publication Number Publication Date
CN104408085A true CN104408085A (zh) 2015-03-11

Family

ID=52645716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410637657.9A Pending CN104408085A (zh) 2014-11-12 2014-11-12 一种报表快速查看的方法

Country Status (1)

Country Link
CN (1) CN104408085A (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202445A (zh) * 2016-07-14 2016-12-07 上海超橙科技有限公司 一种信息展示方法和设备
CN108132794A (zh) * 2017-12-29 2018-06-08 普华基础软件股份有限公司 一种操作系统升级方法及系统
US11650833B1 (en) 2020-01-15 2023-05-16 State Farm Mutual Automobile Insurance Company Systems and methods for automatically generating guided user interfaces (GUIs) for tracking and migrating legacy networked resources within an enterprise during a technical migration

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101004758A (zh) * 2007-01-26 2007-07-25 华为技术有限公司 生成和获取报表的方法及相应的系统
US20110313969A1 (en) * 2010-06-17 2011-12-22 Gowda Timma Ramu Updating historic data and real-time data in reports
CN103592907A (zh) * 2013-10-14 2014-02-19 苏州市职业大学 一种网络采集系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101004758A (zh) * 2007-01-26 2007-07-25 华为技术有限公司 生成和获取报表的方法及相应的系统
US20110313969A1 (en) * 2010-06-17 2011-12-22 Gowda Timma Ramu Updating historic data and real-time data in reports
CN103592907A (zh) * 2013-10-14 2014-02-19 苏州市职业大学 一种网络采集系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202445A (zh) * 2016-07-14 2016-12-07 上海超橙科技有限公司 一种信息展示方法和设备
CN108132794A (zh) * 2017-12-29 2018-06-08 普华基础软件股份有限公司 一种操作系统升级方法及系统
US11650833B1 (en) 2020-01-15 2023-05-16 State Farm Mutual Automobile Insurance Company Systems and methods for automatically generating guided user interfaces (GUIs) for tracking and migrating legacy networked resources within an enterprise during a technical migration

Similar Documents

Publication Publication Date Title
CN103699638B (zh) 一种基于配置参数实现跨数据库类型同步数据的方法
CN103475687B (zh) 用于下载网站数据的分布式方法和系统
CN102034152B (zh) 基于soa架构的异构软件系统数据的集成整合方法与系统
CN102855271B (zh) 一种多版本电网模型的存储与可追溯管理方法
CN104462362A (zh) 一种数据存储、查询、加载方法及装置
JP7046308B2 (ja) Edaパッドパッケージライブラリの更新/応用方法、システム、媒体及び端末
CN106294776A (zh) 一种数据处理方法及装置
CN103853543A (zh) 一种应用于企业信息系统开发过程中快速构建表单的方法
CN109766330A (zh) 数据分片方法、装置、电子设备及存储介质
CN101000544A (zh) 基于Web页面的事件分发方法与装置
CN103338272A (zh) 一种内容分发网络及其缓存实现方法
CN101441647A (zh) 企业专利数据库中专利法律状态自动更新方法及系统
CN105808736A (zh) 一种榜单数据更新方法、装置及系统
CN104809068A (zh) 一种基于selenium的web自动化测试框架构建方法
CN104408085A (zh) 一种报表快速查看的方法
CN103914307A (zh) 一种基于可复用库的交互界面快速实现方法
CN110471698A (zh) Api文档的生成方法与装置、存储介质及计算机设备
CN103927385A (zh) 数据模型的统一方法及装置
CN103034722A (zh) 一种网络视频评论聚合装置及方法
CN105447051A (zh) 一种数据库操作的方法和装置
CN106648917B (zh) 一种差异更新缓存数据的方法及系统
CN105631044A (zh) 网络视频资源的汇聚方法
CN103488738A (zh) 一种自动实现java对象及数据表sql文件的方法及系统
CN103500094A (zh) 一种支持用户可视化自定义的服务平台监控模型
CN109492176A (zh) 一种页面信息更新方法及装置

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150311

WD01 Invention patent application deemed withdrawn after publication