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

Data storage method and device, electronic device, program product and storage medium

A data and data table technology, applied in the field of big data mining, can solve the problems of difficult unification of table structure, management, short data response time, and inappropriate data storage requirements, etc. The effect of human participation

Pending Publication Date: 2021-10-22
CITY CLOUD TECH HANGZHOU CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the particularity of the epidemic, this type of data has the following characteristics: There are many types of data structures, and the data structures from different departments are basically different and have their own characteristics; With the passage of time, it will be increased and adjusted at different stages; due to reasons such as editing by different personnel and manual writing errors, the structural name of the table is different; the data response time is short, in order to prevent the large-scale spread of the epidemic, the data needs to be processed quickly. It is very difficult to realize the rapid, timely and accurate storage of flow adjustment data based on the above characteristics.
[0003] The traditional solution is mainly through human sea tactics, and a large number of people are used to import manually. The table structure is difficult to unify and manage, or use an import tool that can customize templates to import, which requires frequent addition or modification of templates and manual import. The above All methods have problems such as low efficiency, long time consumption, difficult maintenance, and complicated management, and cannot meet the needs of special periods such as epidemics
[0004] The existing technology is basically importing by manually customizing templates. Although it is flexible and can be applied to data of various structures, because it is necessary to manually add and judge templates, and because there are many manual processes, it will not only lead to the entire data import The cycle time becomes longer, and the maintenance and use of the imported table is very complicated, inefficient, and error-prone, which does not meet the needs of data mining in the era of big data, let alone the requirements for fast data storage in special periods such as epidemics
[0005] To sum up, the implementation technology for fast and dynamic data storage in related technologies cannot be applied to the problem of fast storage of current format-changing, complex, and similar tabular data, and no effective solution has yet been obtained.

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 storage method and device, electronic device, program product and storage medium
  • Data storage method and device, electronic device, program product and storage medium
  • Data storage method and device, electronic device, program product and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] The purpose of this application is to propose a technical solution for completing data storage by matching the matching degree between the data table to be stored and the template table. and compare it with the identification template in the template table. If it matches, create a storage table based on the template table, insert the feature data in the data table to be stored into the template table, and complete the entire data storage process. .

[0032]For example, if the above-mentioned data table to be stored is an Excel file, the data table is dynamically created according to the template matched by the current Excel file, and then the insertion column is dynamically composed according to the fields in the template table after mapping in the template table.

[0033] The embodiment of this application provides a data storage method, which can realize the purpose of fast and automatic data import. Specifically, refer to figure 1 , the method includes:

[0034] St...

Embodiment 2

[0103] Based on the same idea, refer to image 3 , the application also proposes a data storage device, including:

[0104] The feature identification conversion module 301 is used to obtain the data table to be loaded into the database, and convert each row of feature data in the data table to be loaded into a corresponding feature ID, wherein the feature data is used to represent each target row number Corresponding record row data;

[0105] The matching module 302 is configured to respectively compare the matching degree of each of the feature identifiers with each of the preset identification templates, and create a storage table based on the identification templates whose matching degrees meet the matching conditions;

[0106] The warehousing module 303 is configured to generate an insertion column according to the header field corresponding to the identification template, and correspondingly insert the characteristic data extracted from the data table to be warehousing ...

Embodiment 3

[0108] This embodiment also provides an electronic device, refer to Figure 4 , including a memory 404 and a processor 402, the memory 404 stores a computer program, and the processor 402 is configured to run the computer program to perform the steps in any one of the above method embodiments.

[0109] Specifically, the processor 402 may include a central processing unit (CPU), or an Application Specific Integrated Circuit (ASIC for short), or may be configured to implement one or more integrated circuits in the embodiments of the present application.

[0110] Wherein, the memory 404 may include a mass memory 404 for data or instructions. For example without limitation, the memory 404 may include a hard disk drive (HardDiskDrive, referred to as HDD), a floppy disk drive, a solid state drive (SolidStateDrive, referred to as SSD), flash memory, optical disk, magneto-optical disk, magnetic tape or Universal Serial Bus (UniversalSerialBus, abbreviated as a USB) drive or a combina...

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 provides a data storage method and device, an electronic device, a program product and a storage medium, and the method comprises the following steps: obtaining a to-be-stored data table, converting each line of feature data in the to-be-stored data table into a corresponding feature identifier, the feature data being used for representing record line data corresponding to each target line number; respectively comparing the matching degree between each feature identifier and each preset identifier template, and creating a storage table for the identifier template meeting a matching condition based on the matching degree; and generating insertion columns of the storage table according to the header field corresponding to the identification template, and correspondingly inserting the feature data extracted from the to-be-stored data table into each insertion column. The purposes of automatic template matching, automatic table building and automatic storage can be achieved for table data which is variable, complex and similar in structure at present, and quick, timely and accurate storage of flow scheduling data is achieved.

Description

technical field [0001] The present application relates to the field of big data mining, in particular to a data storage method, device, electronic device, program product and storage medium. Background technique [0002] In the field of big data mining, it is often necessary to quickly collect and store a large number of tabular data with different structures to support subsequent data processing, analysis and mining. For example, in the process of epidemic control, it is necessary to store and analyze data from various departments such as public security, railways, hospitals, and communities. Due to the particularity of the epidemic, this type of data has the following characteristics: There are many types of data structures, and the data structures from different departments are basically different and have their own characteristics; With the passage of time, it will be increased and adjusted at different stages; due to reasons such as editing by different personnel and m...

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): G06F16/35G06F40/18G06F40/186G06F40/194G06F40/258
CPCG06F16/355G06F40/18G06F40/186G06F40/194G06F40/258G06F2216/03
Inventor 徐剑炯马浩陈红贵
Owner CITY CLOUD TECH HANGZHOU CO LTD
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