Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for exporting data

A data export and export device technology, applied in the field of data processing, can solve the problems of high memory overflow probability, poor system stability, and occupying more memory resources, so as to reduce the probability of memory overflow, reduce the occupation, and improve stability. Effect

Inactive Publication Date: 2012-06-06
BEIJING FOUNDER APABI TECH +2
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art: in the prior art, due to the process of using the third-party tool to export a large amount of data from the database, the system needs to create more objects, which takes up More memory resources, so the probability of memory overflow is higher, and the system stability is poor

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
  • Method and device for exporting data
  • Method and device for exporting data
  • Method and device for exporting data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] A data export method and device provided by the embodiment of the present invention will be described in detail below in conjunction with the accompanying drawings, and the data in the database will be exported to target files, namely ".cvs" format files and EXCEL files as examples.

[0021] Such as figure 1 As shown, a data export method provided by the embodiment of the present invention, the specific implementation process of the method is as follows:

[0022] 101: Obtain the total data volume of the target file storage data; for example: set the target file format as ". And combine the requirements of customers or projects to export the attributes of ".cvs" format files to set. In this way, before the step 101, it may further include: setting the configuration of the target file, so as to dynamically adjust the total data volume of the stored data in the target file.

[0023] 102: According to the total data volume of data stored in the target file, export the dat...

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 embodiment of the invention discloses a method and a device for exporting data, which relate to the technical field of data processing. In order to solve the problem that more memory resources are occupied because a system needs to establish more objects in the process of exporting mass of data from a database by adopting a log explorer in the prior art, the method and the device for exporting the data are invented. The embodiment of the invention provides the method for exporting the data, which comprises the following steps: acquiring the total data quantity of stored data of an object file; according to the total data quantity of the stored data of the object file, exporting the data with the corresponding data quantity in the database to the object file through inputting an output stream. By adopting the method and the device for exporting the data, the memory resources can be saved, the memory overflow probability is reduced, and the system stability is improved.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a data export method and device. Background technique [0002] With the advent of the information and digital age, most important data are stored in the form of databases. In this way, when non-IT professionals perform operations such as statistics, integration, reorganization and storage of data, they need to borrow third-party tools to export the data in the database into EXCEL files, so as to facilitate users to operate on the data. For example: In the JAVA application system, in order to realize the export of database data into EXCEL files, third-party tools must be used, such as Jakarta POI, JExcelApi, FastExcel, etc. The following are the test results of exporting a large amount of data in the database using Jakarta POI, JExcelApi, and FastExcel third-party tools: [0003] Assume that the amount of data to be exported from the database is 110,011, and the ...

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
Inventor 杨明闫洁吉磊赵东岩
Owner BEIJING FOUNDER APABI TECH