Class metadata framework based on GraphQL

A metadata and framework technology, applied in the field of web back-end development, can solve problems such as dependency conflicts and difficult processing, and achieve the effect of strong stability and accurate data acquisition.

Pending Publication Date: 2020-07-14
YONYOU NETWORK TECH
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When merging with existing development frameworks, it is easy to generate dependency conflicts, and when introducing meta

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
  • Class metadata framework based on GraphQL
  • Class metadata framework based on GraphQL
  • Class metadata framework based on GraphQL

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0033] see Figure 1-3 , the present invention provides the following technical solutions: a GraphQL-based metadata-like framework, the GraphQL-based metadata-like framework uses the basic syntax of GraphQL, combined with metadata query components, to realize from metadata query statements to actually executed SQL or third-party The safe and fast conversion of interface calls, the architectural method of the GraphQL-based class metadata framework includes the following steps:

[0034] S1. Start: the client initiates a GraphQL request;

[0035] S2. Class metadata query statement: According to the GraphQL request initiated by the client, the corresponding type set Schema is generated based on the class metadata component;

[0036] S3. GraphQL type query: According to the generated corresponding type set Schema, the client makes a business request, and the system judges the business request permission. When the business request meets the request permission, it enters the next pr...

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 belongs to the technical field of Web back-end development, and is about a GraphQL-based class metadata framework. The GraphQL-based class metadata framework uses GraphQL basic grammarsand is combined with a metadata query component to realize safe and rapid conversion from metadata query statements to actually executed SQL or third-party interface calling. According to the invention, data acquisition is more accurate, and redundancy does not exist; and, for interfaces only needing to obtaining ids and names, the is avoided, only the data related to the two fields can be returned, redundant data cannot be generated, less dependence is introduced after a framework is used, the problem of complicated dependence conflicts does not need to be solved, seamless fusion with codes is achieved, new business requirements or requirement changes are achieved, and query statement instances is written and edited on the premise that back-end codes are not changed. The service stabilityis higher, the effect of aggregating multiple queries into a single query is achieved, and the query capability similar to that of a current metadata framework is achieved.

Description

technical field [0001] The invention relates to the technical field of Web backend development, in particular to a GraphQL-based class metadata framework. Background technique [0002] In enterprise application development, we often have to face a large number of customer requirements and requirements changes. The traditional development method of pure back-end code implementation requires a lot of manpower when faced with a large number of requirements and changes. [0003] The development framework of metadata development (MDD) separates some user requirements from the back-end code. Through the metadata description of the domain entities related to the requirements, supplemented by customized query statements, it is possible to quickly implement new requirements or support requirements changes without writing or writing a small amount of code. [0004] However, the existing metadata frameworks have a relatively high level of abstraction and are relatively independent in...

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/242G06F16/2455G06F16/28
CPCG06F16/2433G06F16/24556G06F16/284Y02D10/00
Inventor 刘强王伟高天星
Owner YONYOU NETWORK TECH
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