Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Million-level excel data quick and stable import system

A data and fast technology, applied in the field of excel data, can solve the problems of slow data import, system memory overflow, and inability to support millions of data imports, so as to improve the speed of reading and writing, and improve the efficiency of importing speed effect

Inactive Publication Date: 2019-09-24
浙江百应科技有限公司
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, most of the excel data import methods on the market use single-thread synchronous blocking to import data. When importing millions of excel data, you will find that the speed of importing data will be very slow. When importing excel data, often use Put all the data into the memory. If you import millions of excel data into the system, it is easy to cause system memory overflow, which cannot support the business needs of millions of data imports. When the business peak period, there will be a large number of Excel data is imported into the system, resulting in a geometric increase in the number of database write operations, which puts a huge pressure on the database, and may drag down the entire database in severe cases, thus affecting the normal operation of the business

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
  • Million-level excel data quick and stable import system
  • Million-level excel data quick and stable import system

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0027] Specific implementation method: By adopting read-write separation, one thread queue is responsible for reading data, processing the data, and then putting it into the data queue pool, while another thread queue is responsible for obtaining data from the data queue pool, and multiple threads write the data at the same time The database makes these two steps no longer execute synchronously, waits for each other, and imports data in batches at the same time, which will not affect the speed of importing as the content of excel increases. It also supports multi-threading to write data into the database, which is greatly improved. Improve the speed of importing, so that the speed of importing is always kept within a relatively constant speed range; by optimizing the way of parsing excel's read data, it is changed from full parsing to line-by-line parsing, avoiding the data caused by excel The amount of data is too large, which leads to the memory overflow of the system; by usi...

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 relates to the technical field of excel data, and discloses a million-level excel data quick and stable import system, which comprises the following steps: step 1, after starting to read data and load an excel file, adopting a line-by-line data reading mode to avoid overflowing of a memory of the system due to the fact that the data is completely loaded into the memory; quickly and stably importing the million-level excel data into the system; through using read-write separation, one thread queue being responsible for reading data; processing data, then putting into a data queue pool; meanwhile, the other thread queue being responsible for obtaining data from the data queue pool; writing data into a database by multiple threads simultaneously; no longer executing the two steps synchronously. The data are imported in batches without influencing the importing speed along with the increase of excel content, and meanwhile, the method supports multiple threads to write the data into a database, so that the importing speed is greatly increased, and the importing speed is always kept within a relatively constant speed range value.

Description

technical field [0001] The invention relates to the technical field of excel data, in particular to a system for quickly and stably importing million-level excel data. Background technique [0002] At present, most of the excel data import methods on the market use single-thread synchronous blocking to import data. When importing millions of excel data, you will find that the speed of importing data will be very slow. When importing excel data, often use Put all the data into the memory. If you import millions of excel data into the system, it is easy to cause system memory overflow, which cannot support the business needs of millions of data imports. When the business peak period, there will be a large number of Excel data is imported into the system, resulting in a geometric increase in the number of database write operations, which puts a huge pressure on the database, and may drag down the entire database in serious cases, thus affecting the normal operation of the busin...

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): G06F16/25G06F16/28
CPCG06F16/252G06F16/284
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
Eureka Blog
Learn More
PatSnap group products