Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for importing files into database

A database and file technology, applied in the field of data processing, can solve the problem of low efficiency in importing databases, and achieve the effect of improving efficiency

Active Publication Date: 2015-01-07
CHINA CONSTRUCTION BANK
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the inventor found in the process of implementing the present invention that at present, when importing files into the database, the files to be imported are input into the queue, and the files are imported into the database one by one according to the order of the queue, because the queue is first-in-first-out Therefore, if there are multiple files in the queue before an important file enters the queue, the important file can only be imported into the database after the import of the previous files is completed, so that the important file can be imported into the database less efficient

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 importing files into database
  • Method and device for importing files into database
  • Method and device for importing files into database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0048] see figure 1 , figure 1 An implementation flowchart of a method for importing data into a database provided by an embodiment of the present invention may include:

[0049] Step S11: When the first file is received, convert the received first file into a first data stream, the first data stream includes the identification of the first file, the priority information of the first file, and the the content of the first document;

[0050] In the embodimen...

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

An embodiment of the invention provides a method and a device for importing files into a database. The method comprises establishing at least a linked list, converting the received files into data flows, mounting the data flows into the linked list and mounting the highest priority of data flow in every linked list at a list head of the linked list when reaching an import cycle and converting the data flows of every list head of the corresponding linked list into first data which can be identified by the database to be stored in the database. According to the method and the device for importing the files into the database, a user can give the high priority to important files and accordingly the high priority of files can be imported into the database preferentially and the efficiency of the important files being imported into the database is improved.

Description

technical field [0001] The invention relates to the technical field of data processing, more specifically, to a method and device for importing files into a database. Background technique [0002] In the data management of bank e-commerce platforms, many kinds of original data are stored in the form of files (such as excel, txt, etc.). Valuable information requires processing of these raw data. However, if the file is processed directly, the efficiency is very low when the file volume is relatively large. Processing the data in the database is much more efficient than processing the files directly. Therefore, the data in the file needs to be imported into the database. [0003] However, the inventor found in the process of implementing the present invention that at present, when importing files into the database, the files to be imported are input into the queue, and the files are imported into the database one by one according to the order of the queue, because the queue...

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): G06F17/30
CPCG06F16/16G06F16/116G06F16/172G06F16/176G06F16/1794
Inventor 何小锋汪楠李响王伟王明龙张舜华郭友德梁可尊李观钊赵金鑫
Owner CHINA CONSTRUCTION BANK
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products