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

Database-based batch importing method, device, equipment and storage medium

A database and batch technology, applied in the field of artificial intelligence, can solve problems such as persistence failure, long page response time, and page failure.

Active Publication Date: 2020-02-11
PING AN TECH (SHENZHEN) CO LTD
View PDF8 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the rapid development of Internet technology and the needs of business expansion, in some specific scenarios, it is necessary to import batches of data into the database for storage. Interacting with the database multiple times will consume database performance, which may cause the page response time to be too long, the foreground operation stops, and the background database operation continues
Therefore, under normal circumstances, when there is more than one piece of data, the method of batch submission is adopted. However, due to the flaws in the architecture design, the exceptions generated during the persistence process cannot be caught in time, resulting in the page not processing the results in the background. Give feedback, and the operator cannot know whether the final data import is successful
[0003] In the existing solution, only verification and feedback can be performed before the data is imported. When some data in the batch imported data fails to persist due to database exceptions during the persistence process, all the data imported in the batch will be returned. roll, persistence failed

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
  • Database-based batch importing method, device, equipment and storage medium
  • Database-based batch importing method, device, equipment and storage medium
  • Database-based batch importing method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention provides a database-based batch import method, device, equipment, and storage medium, which are used to eliminate abnormal data and re-import normal data of the same batch of data when the batch import data is abnormal, so as to avoid the same batch of data All rollbacks improve the efficiency of data import.

[0028]In order to enable those skilled in the art to better understand the solutions of the present invention, the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0029] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described he...

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 field of artificial intelligence, and discloses a database-based batch importing method, a device, equipment and a storage medium, which are used for avoiding complete rollback of the same batch of data and improving the data importing efficiency. The method comprises the steps of acquiring a target data set, wherein the target data set comprises multiple parts of to-be-imported data, and the to-be-imported data is service data needing to be imported into a database; determining a data format of the target data set; mapping each part of to-be-imported data into a plurality of attributes of a preset class through the preset class to generate a plurality of instances, each instance comprising one part of to-be-imported data; importing the plurality of instances into a database according to the data format; monitoring an import process of the plurality of instances through a preset function, and storing an import result into the corresponding instance; and when at least one instance is abnormal in the importing process, importing normal data in other instances in the target data set into a database through a preset binary classification algorithm.

Description

technical field [0001] The invention relates to the field of artificial intelligence, in particular to a database-based batch import method, device, equipment and storage medium. Background technique [0002] With the rapid development of Internet technology and the needs of business expansion, in some specific scenarios, it is necessary to import batches of data into the database for storage. Interacting with the database multiple times will consume database performance, which may cause the page response time to be too long, the foreground operation stops, and the background database operation continues. Therefore, under normal circumstances, when there is more than one piece of data, the method of batch submission is adopted. However, due to the flaws in the architecture design, the exceptions generated during the persistence process cannot be caught in time, resulting in the page not processing the results in the background. If feedback is given, the operator cannot know...

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/25
CPCG06F16/258Y02D10/00
Inventor 孙强
Owner PING AN TECH (SHENZHEN) CO LTD
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