Printing report generation method and device, equipment and storage medium

A report generation and report technology, which is applied in the fields of instrumentation, calculation, electrical digital data processing, etc., can solve the problems of low printing report generation efficiency, and achieve the effect of solving low generation efficiency, reducing workload, and reducing memory usage.

CN114490776APending Publication Date: 2022-05-13PING AN TECH (SHENZHEN) CO LTD
0 Cites 2 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2022-05-13

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention relates to an artificial intelligence technology, and discloses a printing report generation method, which comprises the following steps: receiving a printing request parameter which comprises printing report data and a preset printing template name; loading the printing report data into a preset cache; loading a printing template according to the printing template name, storing the printing template into a cache, and filling the printing report data, the static picture name and the font file name into the printing template to obtain an initial printing template; and obtaining the corresponding static compression picture and the font compression object, and updating the initial printing report by using the static compression picture and the font compression object to obtain the printing report. In addition, the invention also relates to a block chain technology, and the printing template can be stored in a node of a block chain. The invention further provides a printing report generation device, electronic equipment and a storage medium. The printing report generation efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of artificial intelligence, in particular to a printing report generation method, device, electronic equipment and computer-readable storage medium. Background technique

[0002] Reports usually use tables to display dynamic data, which is the most intuitive expression of data. All walks of life use reports to record data. Different industries and departments have different dimensions for reports. For example, the production industry needs production reports, financial personnel need financial reports, Marketing personnel need marketing reports, and business personnel need industry data sheets.

[0003] The current printing report generation method based on the open source framework JasperReport has the following problems: 1. Static resources such as pictures and template files are loaded frequently, which consumes a lot of CPU; 2. The same font and pictures are repeatedly compressed, which consumes a lot of...

Examples

Embodiment Construction

[0051] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0052]An embodiment of the present application provides a method for generating a print report. The subject of execution of the method for generating a print report includes, but is not limited to, at least one of electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the method for generating a print report can be executed by software or hardware installed on a terminal device or a server device, and the software can be a block chain platform. The server includes, but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The server can be an independent server, or it can provide cloud service, cloud database, cloud computing, cloud function, cloud sto...