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

Data inserting method and device

A data and data table technology, applied in the information field, can solve the problems of low data insertion efficiency, data insertion failure, poor database data insertion effect, etc., to optimize the insertion effect and improve the insertion efficiency.

Active Publication Date: 2014-12-10
GUANGZHOU HUADUO NETWORK TECH
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Since manually created database insert statements are prone to errors, and the creation process is time-consuming, the efficiency of inserting data in the database is low
In addition, inserting data into the database directly through the database API according to the database insertion statement may easily cause data insertion failure, making the insertion effect of database data 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
  • Data inserting method and device
  • Data inserting method and device
  • Data inserting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0060] In view of the current problem that when inserting data into the database, it is necessary to manually create a database insertion statement, which makes the efficiency of inserting data into the database low, the embodiment of the present invention provides a method for inserting data, see figure 1 , the method flow includes:

[0061] 101: Obtain an entity class established according to data table metadata corresponding to at least one data table, the entity class includes a check value, and each data table corresponds to an entity class;

[0062] As an optional embodiment, obtaining an entity class established according to data table metadata corresponding to at least one data table includes:

[0063] Obtain data table metada...

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 discloses a data inserting method and device, and belongs to the technical field of information. The method comprises the steps that an entity class which comprises a proof test value and is built according to data table metadata corresponding to at least one data table is obtained, and data to be inserted are inserted into the data table according to the entity class corresponding to the data table when the data to be inserted are successfully verified according to the proof test value in the entity class corresponding to the determined data table. According to the data inserting method and device, due to the facts that the entity class which comprises the proof test value and is built according to the data table metadata corresponding to the data table is obtained, and the data to be inserted are inserted into the data table according to the entity class corresponding to the data table when the data to be inserted are successfully verified according to the proof test value in the entity class corresponding to the data table of the data to be inserted, the data are automatically inserted. In addition, due to the fact that the entity class comprises the proof test value, the data can be verified before the data are inserted into the data table, data insertion efficiency is improved, and the data insertion effect is optimized.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a method and device for inserting data. Background technique [0002] With the continuous development of information technology, the amount of data increases rapidly, which makes the scale of the database larger and larger. By accessing the database, operations such as inserting data can be performed on the database, thereby managing the data in the database. When inserting data into the database, if the inserted data does not conform to the settings of the database, the insertion will fail. Therefore, how to insert data into the database becomes a concern. [0003] At present, when accessing the database, the database is connected through the database API (Application Programming Interface, application programming interface); the database insertion statement is manually created; and the data is inserted into the database through the database API according to the database ...

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
CPCG06F16/86
Inventor 黄伟
Owner GUANGZHOU HUADUO NETWORK TECH
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