Data export method and device

A data export and data technology, applied in the direction of machine execution devices, electrical digital data processing, special data processing applications, etc., can solve the problem of low efficiency of data export

Active Publication Date: 2011-03-30
TAOBAO CHINA SOFTWARE
View PDF4 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved in this application is to provide a data export method to sol...

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
  • Data export method and device
  • Data export method and device
  • Data export method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0105] Corresponding to the method provided in Embodiment 1 of a data derivation method of the present application, see Figure 4 , the present application also provides a data export device embodiment 1, in this embodiment, the device may include:

[0106] The receiving module 401 is configured to receive export conditions and export configuration information of the data to be exported, the export configuration information includes the maximum number of threads of a single task, and the number of single records of each thread;

[0107] In this embodiment, the export condition of the data to be exported can be understood as the filter condition of the export result file, for example: a large amount of customer data is stored in the database, and the customer data includes the customer's region and industry. If you want to export the customer data of a certain industry B in a certain region A, then A and B are the export conditions of the export operation, and the customer data...

Embodiment 2

[0112] Corresponding to the method provided in Embodiment 2 of a data derivation method of the present application, see Figure 5 , the present application also provides a preferred embodiment 2 of a device for deriving data. In this embodiment, the device may specifically include:

[0113] The receiving module 501 is used to receive export conditions and export configuration information of the data to be exported, the export configuration information includes the maximum number of threads of a single task, cache expiration time and the number of single records of each thread;

[0114] In this embodiment, the exported configuration information may also include a cache expiration time, which is a preset time parameter, for example, 60 minutes or 12 hours; the cache expiration time is indicated in During this time, the data to be exported for two adjacent export operations with the same export condition are the same; wherein, the cache expiration time can be set according to the...

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 provides a data export method and a data export device. The method comprises the following steps of: receiving the export conditions and export configuration information of data to be exported, wherein the export configuration information comprises a maximum thread number of a single task and the single record count of each thread; generating an export task according to the export conditions, the maximum thread number and the single record counts; and exporting the data to be exported according to the export task. Compared with the prior art, the method and the device of the embodiment of the invention solve the problem that the response time of single-thread operation is overlong under the condition of the large amount of data, and improve the export efficiency of a large amount of data.

Description

technical field [0001] This application relates to the field of software testing, in particular to a data export method and device. Background technique [0002] In enterprise-level application systems, it is often necessary to export some or all of the original data stored in the database, that is, to convert data files into other formats for subsequent reading or modification. [0003] In the prior art, there is a single-threaded data export method. When receiving an export operation request from the user, it is necessary to query the corresponding data from the database according to the export operation request, and then write the queried data into the text file, and convert the text file into a file in the target format. During the conversion, methods such as modifying the file extension can be used. [0004] However, the disadvantage of this method is that an export operation request is only completed by a single thread response. When the amount of data to be exported ...

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
IPC IPC(8): G06F9/38G06F17/30
Inventor 奎跃翔
Owner TAOBAO CHINA SOFTWARE
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