首页> 外国专利> REPORT GENERATION METHOD AND APPARATUS, AND TERMINAL DEVICE AND STORAGE MEDIUM

REPORT GENERATION METHOD AND APPARATUS, AND TERMINAL DEVICE AND STORAGE MEDIUM

机译:报告生成方法和装置,以及终端设备和存储介质

摘要

Provided are a report generation method and apparatus, and a terminal device and a storage medium, which are suitable for the technical field of computers. The method comprises: acquiring identification information corresponding to a report type of a report to be generated (S101); calling a preset report generation process corresponding to the identification information (S102); acquiring target data corresponding to the identification information according to the preset report generation process, wherein the target data comprises report data and a preset report template (S103); and according to the preset report generation process, filling the preset report template with the report data, so as to obtain a data report corresponding to the report data (S104). All reports share a set of common preset report generation processes to complete the operations of pulling out a common logic and splitting an exception logic, such that code redundancy is reduced. Moreover, it is convenient to add a common logic to a common process without the need to write code for each report logic, such that the commonality and extensibility of the common process are improved.
机译:提供了一种报告生成方法和装置,以及终端设备和存储介质,其适用于计算机技术领域。该方法包括:获取与要生成的报告的报告类型对应的识别信息(S101);调用对应于标识信息的预设报告生成过程(S102);根据预设报告生成过程获取对应于识别信息的目标数据,其中目标数据包括报告数据和预设报告模板(S103);并且根据预设报告生成过程,用报表数据填充预设报告模板,以便获取与报告数据对应的数据报告(S104)。所有报告共享一组公共预设报告生成过程,以完成拔出常见逻辑并拆分异常逻辑的操作,使得代码冗余减少。此外,在不需要为每个报告逻辑编写代码的情况下,可以方便地为公共过程添加到公共过程中,使得公共过程的共同性和扩展性得到改善。

著录项

  • 公开/公告号WO2021218034A1

    专利类型

  • 公开/公告日2021-11-04

    原文格式PDF

  • 申请/专利权人 PING AN TECHNOLOGY (SHENZHEN) CO. LTD.;

    申请/专利号WO2020CN119297

  • 发明设计人 LAI YUNHUI;

    申请日2020-09-30

  • 分类号G06F40/186;

  • 国家 CN

  • 入库时间 2024-06-14 22:20:23

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号