A method, device and system for exporting reports from a web query system

A query system and report technology, applied in the field of computer communication, can solve the problems of inconsistency, inefficiency, and non-support of other types of browsers in the display results of web pages, and achieve the effect of improving the efficiency of development and maintenance

Active Publication Date: 2018-07-06
ZTE CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this method is that the client must install the excel plug-in, and currently only supports the Internet Explorer browser, and does not support other types of browsers
This method has obvious disadvantages for development: each query page must pre-define the corresponding template. If you want to make the exported excel file achieve what you see is what you get, this requires background developers to be clear about the structure of the front-end web page , and it is very inefficient to modify the background program as the structure of the foreground web page changes, and it is also easy to cause inconsistencies between the display results of the web page and the excel file
[0004] Therefore, in order to achieve WYSIWYG report export and improve the efficiency of web system development and maintenance, the existing methods still need to be improved

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
  • A method, device and system for exporting reports from a web query system
  • A method, device and system for exporting reports from a web query system
  • A method, device and system for exporting reports from a web query system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0041] Such as figure 1 As shown, the embodiment of the present invention provides a method for exporting reports from the web query system, which is applied to the client, and the method includes:

[0042] S10, after detecting that the user triggers the report export operation on the current query result interface, modify the original query request, the modification includes: adding an export identifier, wherein the original query request is submitted before to obtain the current query result query request;

[0043] S20, sending the modified query request to the server;

...

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 a method for exporting a report from a web query system, which is applied to a client, comprising: modifying an original query request after detecting that a user triggers a report export operation on a current query result interface, adding an export identifier and sending it to a server , to receive the response containing the report file returned by the server. A corresponding method applied to the server is also disclosed, including: receiving a query request sent by a client and generating a query result page, setting a uniform identifier for the table object in the query result page, if the query request includes an export identifier, and converting the query result The page is converted into the document object model, and the table object in the document object model is located according to the identifier, and the table object in the document object model is converted into a report file, which is carried in the response and returned to the client. The invention can achieve no intrusion to the server-side query program, realize the export of the WYSIWYG report file, and improve the efficiency of system development and maintenance.

Description

technical field [0001] The invention relates to the technical field of computer communication, in particular to a method, device and system for exporting reports from a web query system. Background technique [0002] Reports in Excel format are the most widely used report formats in our work and life today, and it is generally believed that the data required by users can be queried in the web application system through a browser, and then exported to excel. A convenient way to obtain report data. [0003] There are mainly two types of existing methods for exporting reports from the web query system. The first type is to install the excel plug-in provided by Microsoft on the client side where the browser is located. When the user clicks the export button on the query result interface, the browser directly Convert the tabular data displayed on the current web page into an excel file. The disadvantage of this method is that the client must install the excel plug-in, and curre...

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 Patents(China)
IPC IPC(8): G06F17/30
Inventor 王庆潘易龙何栩翊
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products