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

ORM implementation method and related equipment

An implementation method and data processing technology, applied in the field of data processing, can solve problems such as poor support of data types, failure to improve coding efficiency, lack of ORM type field type description of Protobuf type, etc., and achieve the effect of improving processing efficiency

Pending Publication Date: 2021-10-08
深圳市观麦网络科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The above two technologies are widely used in software development, but the existing ORM implementation does not support the data type described by Protobuf well. The Protobuf type lacks the field type description required by the ORM type, so it cannot be directly used as an ORM operation.
Developers have to write a lot of intermediate code to convert Protobuf data types, so based on Protobuf type data, ORM does not improve coding efficiency

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
  • ORM implementation method and related equipment
  • ORM implementation method and related equipment
  • ORM implementation method and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The present invention provides an ORM implementation method and related equipment. In order to make the purpose, technical solution and effect of the present invention more clear and definite, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0046] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and / or group...

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 an ORM implementation method and related equipment, and the method comprises the steps: obtaining processing data, wherein the type of the processing data is a Protobuf type; extracting an API descriptor in the processing data, and extracting a type descriptor and a field descriptor in the processing data according to the API descriptor; determining a type name corresponding to the processing data according to the type descriptor; according to the field descriptor, constructing a field list corresponding to the processing data; and according to the type name and the field list, generating an ORM type corresponding to the processing data. According to the method, the Protobuf data type is directly used for the ORM type, and the data processing efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to an ORM implementation method and related equipment. Background technique [0002] Protocol Buffers (Protobuf) is an XML-like data description language developed by Google. It can serialize structured data and apply it to data storage, communication protocols, etc. Through Protobuf, users can define the structure of data and generate language code based on different types. User-defined data streams can be easily transferred without destroying the original program, and users can also update these data without affecting the original program. [0003] Object Relational Mapping (Object Relational Mapping, ORM) is a programming technology used to implement data conversion between different types of systems in object-oriented programming languages ​​to solve the mismatch between object-oriented and relational databases. The problem. In effect, it creates a "virtual object 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
IPC IPC(8): G06F8/30G06F8/73
CPCG06F8/315G06F8/73
Inventor 刘潭文
Owner 深圳市观麦网络科技有限公司
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