Data filling method and device

A filling method and filling device technology, which are applied in the field of data processing, can solve the problems of high filling data error rate and low filling efficiency, and achieve the effect of solving high filling data error rate and easy data modification

Inactive Publication Date: 2014-02-19
BEIJING GRIDSUM TECH CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] Aiming at the problems of high data error rate and low filling efficiency in filling the data table in the memory in the related art, no effective solution has been proposed at present. Therefore, the main purpose of the present invention is to provide a data filling method and device to solve the problem of above question

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] First of all, some nouns or terms appearing in the process of describing the embodiments of the present invention are applicable to the following explanations:

[0028] DataRowCollection: Represents the collection of DataTable rows.

[0029] DataRow: Represents a row of data in the DataTable.

[0030] DataTable: Represents an in-memory data table.

[0031] DataColumn: Represents the schema of a column in a DataTable.

[0032] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art ...

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 filling method and device. The data filling method comprises the following steps: a data filling request is acquired, wherein the data filling request carries data sources, a preset name and a preset type, the preset name is the name of the column of the data sources, and the preset type is the data type of the preset name; data column objects are created according to the preset name and the preset type; an incidence relation between index subscripts of the data column objects and the preset name is established; the data sources are used for filling data into an object array in rows according to the incidence relation. By the adoption of the data filling method and device, the problems that the error rate is high and filling efficiency is low when a data table in a memory is filled with data in the prior art are solved, and the effects that the execution efficiency is improved, the readability of codes is improved at the same time, and the data are easy to modify when the data of the data sources change are achieved.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a data filling method and device. Background technique [0002] Usually we use the DataTable class to create an in-memory data table for saving data objects, so as to facilitate the transfer of data between program functions, or write data to the database. [0003] In the prior art, there are two methods for filling data in DataTable: [0004] (1) Use the Add(DataRow) method, specifically, add the specified DataRow (row data) to the DataRowCollection (row collection), the code used can be as follows: [0005] [0006] (2) Use the Add(Object[]) method, specifically, create an Object (row object) using the specified value, and add it to the DataRowCollection (a collection of rows), the code used can be as follows: [0007] [0008] Use method (2) to fill each column of data and use subscripts to assign values, for example: dr[0], dr[1], we cannot know what 0 and 1 specificall...

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/283
Inventor 郭涛吴充
Owner BEIJING GRIDSUM TECH 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
Try Eureka
PatSnap group products