Code generation method and device based on data model, equipment and storage medium

A data model and data table code technology, applied in the computer field, can solve problems such as low generation efficiency, labor and time consumption, and data processing codes that do not correspond to data models, so as to achieve protection consistency, avoid non-correspondence, save manpower and the effect of time

Pending Publication Date: 2021-09-28
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the data processing code corresponding to the data model is usually written manually, but the process of writing data processing code consumes manpower and time, and the generation effic...

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
  • Code generation method and device based on data model, equipment and storage medium
  • Code generation method and device based on data model, equipment and storage medium
  • Code generation method and device based on data model, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0077] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the following will further describe the embodiments of the present application in detail in conjunction with the accompanying drawings.

[0078] It can be understood that the terms "first", "second" and the like used in this application may be used to describe various concepts herein, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, a first code element could be termed a second code element, and, similarly, a second code element could be termed a first code element, without departing from the scope of the present application.

[0079] Wherein, at least one refers to one or more than one, for example, at least one directed line may be any integer number of directed lines greater than or equal to one, such as one directed line, two directed lines...

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 embodiment of the invention discloses a code generation method and device based on a data model, equipment and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: acquiring a data model, wherein a plurality of graphs of the data model indicate description information and an association relationship of a data table, wherein the data model is a visual data model, and a user can obtain the description information and the incidence relation of the data table by checking the connection relation between the graphs; converting the plurality of graphs into corresponding first code elements, and performing combination according to the first code element and the template code to generate a data processing code corresponding to the data model. The code is automatically generated through the data model, the code corresponding to the data model does not need to be written manually, manpower and time are saved, and the code generation efficiency is improved. Moreover, the data processing code corresponding to the data model is automatically generated, and the data processing code corresponds to the data model, so that the situation that the data processing code does not correspond to the data model can be avoided.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular to a data model-based code generation method, device, device, and storage medium. Background technique [0002] With the development of computer technology, more and more applications use data models for data management. A data model is an abstract description of the static characteristics of data, which may include data types, data content, correspondence between data, and so on. However, the data cannot be processed only based on the static characteristics of the data. Data processing needs to be completed based on the static characteristics of the data and the processing logic of the data. Therefore, data processing codes including data processing logic can be written according to the data model, and the data can be processed by running the data processing codes. [0003] At present, the data processing code corresponding to the data model is u...

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/22G06F16/242G06F16/2455G06F16/28
CPCG06F16/2228G06F16/2282G06F16/2433G06F16/24553G06F16/284
Inventor 岑东益郭润增
Owner TENCENT 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
Try Eureka
PatSnap group products