Method and device for data conversion and data migration

A conversion algorithm and data technology, applied in the field of data processing, can solve the problems of complex configuration of data conversion rules and inability to reuse data conversion codes.

Active Publication Date: 2016-02-17
ALIBABA GRP HLDG LTD
View PDF6 Cites 36 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] This application provides a method and device for data conversion to solve the problems that existing data conversion codes cannot be reused and the configuration of data conversion rules is complex

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 data conversion and data migration
  • Method and device for data conversion and data migration
  • Method and device for data conversion and data migration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0090] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0091] In this application, a method and device for data conversion, and a method and device for data migration are respectively provided. The embodiments of the present application will be described in detail below one by one.

[0092] Please refer to figure 1 , which is a flowchart of an embodiment of a method for data conversion of the present application. The method comprises the steps of:

[0093] Step 101: Read data conversion rules described in a domain-specific language from a pre-generated configuration f...

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 method and device for data conversion as well as a method and device for data migration. The method for data conversion comprises the following steps: reading a data conversion rule which is described by adopting a domain specific language from a pre-generated configuration file, wherein the data conversion rule is used for appointing a conversion operation which indicates generating target data according to data to be converted; analyzing the data conversion rule and generating a data conversion algorithm corresponding to the data conversion rule; and reading the data to be converted and converting the data to be converted according to the data conversion algorithm. By adopting the method provided by the invention, the reuse of data conversion codes is realized, so that the workload of the developers is effectively decreased; and the domain specific language which is simple and easy to understand and low in learning cost is adopted to describe the data conversion rule, so that the common users which execute the data conversion operation can be qualified for configuring or modifying the data conversion rule in the configuration file.

Description

technical field [0001] This application relates to data processing technology, and specifically provides a method and device for data conversion. The present application also provides a method and device for data migration. Background technique [0002] With the development of the Internet, social data, online transaction records, social media and other data are increasing day by day. A large number of enterprises begin to have massive customer information. complex. These data are usually stored in various data sources, some are stored in traditional relational databases, such as: mySQL, oracle and other database systems; some are stored in NoSQL databases that have flourished in recent years, such as: HBase, Redis, etc. Database system; some are stored in the file system, for example: in the distributed file system HDFS (Hadoop Distributed File System, HDFS) of the distributed system cluster Hadoop. [0003] Due to the needs of system backup, upgrade, data exchange or da...

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
Inventor 史策
Owner ALIBABA GRP HLDG 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