EXCEL data export method and export device in multi-concurrence large data volume environment

A data export and large data volume technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of limited server memory, affecting service performance, generating disk files, etc., to meet the needs of multiple queries and downloads, The effect of reducing memory usage and occupying a small amount of memory

Active Publication Date: 2014-01-08
成都交大光芒科技股份有限公司
View PDF5 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method is the most direct and convenient, but when the amount of data to be exported is very large, since all data must be stored in the memory first and then exported, and the server memory is limited, the server may be paralyzed. For example, when exporting 20 When there are 10,000 pieces of data, the memory occupied by these data may reach 20M. When 100 people use this function at the same time, it will consume 2G of memory. collapse
[0004] At present, there are also some solutions that generate temporary files in the server and then download them. This method will generate disk files and affect service performance.

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
  • EXCEL data export method and export device in multi-concurrence large data volume environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The present invention will be further described in detail below in conjunction with the embodiments and the accompanying drawings, but the embodiments of the present invention are not limited thereto.

[0040] 【Device embodiment】

[0041] EXCEL data export device in a multi-concurrent and large-data-volume environment, including:

[0042] The configuration module is used to set the configuration information in the configuration file. The configuration information includes data export format information, data table structure information, and data volume information for each output, wherein the data export format in the data export format information is xml Format, in this embodiment, the data table structure information includes EXCEL table title, column display name, column width, column height, column display format, column alignment, column binding and other information. In this embodiment, the amount of data output each time is set to output one page each time, and ...

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 an EXCEL data export method in a multi-concurrence large data volume environment. The EXCEL data export method in the multi-concurrence large data volume environment comprises the following steps that (a) configuration information in a configuration file is set, the configuration information comprises data export format information, data table structure information, and the information about the data volume output every time, and the data export format is an xml format; (b) the configuration information is analyzed; (c) user inquiry conditions are obtained; (d) an executable statement of a database is generated, the executable statement of the database is generated according to the user inquiry conditions and the information about the data volume output every time; (e) data conversion and data output are carried out, the data needing exporting are converted and output in batches, and the memory is released every time output is finished. According to the EXCEL data export method and export device in the multi-concurrence large data volume environment, the output data format is defined as the xml format, the EXCEL files with a large data volume are exported in batches, the memory is released every time exportation is finished, and therefore occupation of the memory in the data downloading process can be largely reduced.

Description

technical field [0001] The invention relates to a data export method, in particular to an EXCEL data export method and an export device thereof in a multi-concurrent and large-data-volume environment. Background technique [0002] With the development of information technology, many intelligent platforms currently need to use databases to store various huge process and result data, and many materials and reports are saved, queried, summarized, and exported in the form of EXCEL files, so the query of EXCEL data , Export is very important. [0003] At present, the export of EXCEL data generally uses POI or JXL, two open source tools for editing Excel files, to export data from the server to EXCEL format, and then download. This method is the most direct and convenient, but when the amount of data to be exported is very large, since all data must be stored in the memory first and then exported, and the server memory is limited, the server may be paralyzed. For example, when ex...

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
CPCG06F16/258
Inventor 周发宣陈奇志王倩刘军
Owner 成都交大光芒科技股份有限公司
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