Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Report generation method and device as well as WEB server

A report generation and report technology, applied in the field of data processing, can solve the problems of reducing report generation speed, slow data retrieval speed, low efficiency, etc., and achieve the effect of rapid report generation, accelerated data retrieval speed and data processing speed.

Inactive Publication Date: 2010-10-20
ZTE CORP
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] There are multiple methods for obtaining the report generation device 2. Usually, the structured query language (Structured Query Language, SQL) of the database is used to obtain the data in stages according to the query conditions and store it in the result set of the WEB server memory where the report generation device 2 is located. Then process the data in the result set and return to the peripheral object 6. This report generation method needs to fetch data multiple times and send it back to the WEB server after each fetch. The speed of data fetching is slow and the efficiency is low, especially when the amount of report data is large. And when the data is called remotely, it will affect the running speed of the report system and reduce the report generation speed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Report generation method and device as well as WEB server
  • Report generation method and device as well as WEB server
  • Report generation method and device as well as WEB server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The report generation method, device and WEB server provided by the present invention use the placeholders in the SQL statement, and replace the placeholders with the received query condition values ​​to realize one-time acquisition of report data when fetching data, and store the data of complex reports in In the temporary table of the database, the data of the simple report is stored in the result set of the WEB server memory, and the data in the temporary table or the result set is processed and then returned to the peripheral object for display.

[0039] refer to figure 2 , propose an embodiment of the report generation method of the present invention, which includes:

[0040] Step 101, after receiving the query condition value, replace the placeholder of the SQL statement of the database with the query condition value;

[0041] The query conditions of the report system can be dynamically set, corresponding to different query conditions, the report format configur...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses report generation method and device as well as a WEB server. The method comprises the steps of: receiving a query conditional value, replacing a placeholder of a structural query language (SQL) sentence of a database with the query conditional value; acquiring report data to be queried according to the SQL sentence; storing the acquired data into a temporary table of the database when the report data includes a graph or a matrix; and formatting the stored data and calculating an aggregate item to generate a corresponding report. In the report generation method and device as well as the WEB server which are provided by the invention, the placeholder in the SQL sentence is utilized for access once, and the data of the complicated report is stored into the temporary table of the database, thereby accelerating the access speed and data processing speed and realizing rapid report generation.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a report generation method, device and WEB server. Background technique [0002] refer to figure 1 , the existing report system includes a report generation device 2 and a report design device 3, the report design device 3 is used to generate the configuration data of the report, that is, the format of the report, the report configuration data and the report business data are stored in the database 5, and the report generation device 2 generally Running on the WEB server, when the peripheral object 6 such as enterprise resource planning software (Enterprise Resource Planning, ERP) client calls the report generation device 2, the report generation device 2 calls the report configuration data and corresponding information from the database 5 through the database connection pool 4. report business data, and return the data to the peripheral object 6 after processing to complete the g...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06Q10/10G06F17/30554G06F16/248
Inventor 冯伟
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products