A method and device for implementing graph conversion based on mongodb

A matching device and directed graph technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of infeasible model conversion, huge workload, etc., and achieve the effect of convenient query and use

Active Publication Date: 2018-02-16
NANJING UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

With the recent increase in the scale of software, the workload of this model conversion is very large, and the traditional model conversion by hand or in computer memory has gradually become unfeasible.

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
  • A method and device for implementing graph conversion based on mongodb
  • A method and device for implementing graph conversion based on mongodb
  • A method and device for implementing graph conversion based on mongodb

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The present invention will be described in further detail below in conjunction with the accompanying drawings of the description.

[0056] Such as figure 1 As shown, the device for implementing graph conversion based on MongoDB in the present invention includes an input device 1, a storage model construction device 2, a model instance storage device 3, a pre-matching device 4, a rule conversion device 5 and MongoDB6. Among them, MongoDB6 is a file-oriented database management system, which is familiar to those skilled in the art and will not be repeated here. The input device 1, storage model construction device 2, model instance storage device 3, pre-matching device 4, and rule conversion device 5 correspond to steps S1, S2, S3, S4, and S5 in the method of the present invention respectively. Combine below figure 2 , image 3 , Figure 4 The meta-model, model instance, and conversion rules in the example are detailed descriptions of the input device 1 , the storage...

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 a device for realizing graph conversion based on MongoDB. The present invention inputs meta-model, model instances and transformation rules. By constructing the meta-model storage data structure in MongoDB, then storing the model instance in MongoDB, and then converting the model instance fragments in the model instance that meet the preconditions of the conversion rules into conversion rules through MongoDB query, update, insert and other database operations A fragment of a model instance in the form of a postcondition. The model conversion of the present invention takes MongoDB as an intermediary, can realize large-scale model conversion, and can support distributed model conversion, and the converted model is also stored in the MongoDB, which is convenient for querying and modifying the output model.

Description

technical field [0001] The invention relates to the graph-based model conversion problem in the model-driven field and the MongoDB usage problem in the cloud computing non-relational database field. Background technique [0002] Model Driven Engineering (MDE) uses the model as the core product of software development, and enhances the role of the model in the development process, and uses the model to guide developers in the understanding, design, construction, maintenance and evolution of the software system, thereby improving software development. and maintenance efficiency, reducing costs. [0003] Two key technologies in model-driven engineering are software modeling technology and model conversion technology. Model conversion technology can be used to automatically or semi-automatically convert one model in the development process into another model, thereby promoting the entire development process. With the recent increase in the scale of software, the workload of thi...

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 Patents(China)
IPC IPC(8): G06F17/30
Inventor 张天徐朋飞李宣东
Owner NANJING UNIV
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