Method and device for mapping object system and relation system, computer readable storage medium and terminal equipment

A relational system and object technology, applied in the field of computer programs, can solve the problems of not supporting complex association with attributes, not supporting multi-party association at the association end, not supporting explicit association of association classes, etc.

Pending Publication Date: 2020-10-20
武汉乐程软工科技有限公司
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Entity Framework developed by Microsoft is one of the most commonly used general-purpose ORM programs. It has the following technical problems: (1) does not support multi-party associations with three or more association ends; (2) does not support complex associations with attributes; (3) ) does not support explicit associations that define an association class

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 mapping object system and relation system, computer readable storage medium and terminal equipment
  • Method and device for mapping object system and relation system, computer readable storage medium and terminal equipment
  • Method and device for mapping object system and relation system, computer readable storage medium and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0086] (1) A method for converting an object system into a relational system, converting object system data into a relational structure and storing it in a relational database according to the guidelines of the object data model, characterized in that it includes the following steps.

[0087] Establish an object data model (Object Data Model, referred to as ODM). Such as Figure 4 As shown, ODM needs to specify the types of objects and associations in the object system, that is, entity types and association types, and specify the attribute collection of each entity type or association type. For the entity type, it must further specify its association reference collection; for the association type, it must indicate whether it is an implicit association or an explicit association, and it must further specify its association end (two or more) collections. Wherein, the association reference is a pointer defined inside the object, which is used to refer to an association that the ...

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 mapping an object system and a relation system, a computer readable storage medium and terminal equipment, and belongs to the technical field of computer programs. The method for converting the object system into the relational system comprises the following steps: establishing an object data model, establishing a mapping architecture according to the object data model, generating a mapping sequence according to the mapping architecture, and converting the sequence elements obtained from the mapping sequence one by one into a relationship. The method for converting the relational system into the object system comprises the following steps: establishing an object data model, establishing a mapping architecture, and specifying an entity type ora display association type as a basic type of mapping until all objects in the object system are reconstructed. The device, the medium and the equipment can be used for implementing the method. The method can support multi-party association, complex association and explicit association.

Description

technical field [0001] The present invention relates to the technical field of computer programs, in particular to a method, a device, a computer-readable storage medium and a terminal device for mapping an object system and a relationship system. Background technique [0002] The idea of ​​object-oriented software development regards the software system as the object and the relationship between objects, that is, the object system. The operation of the system is reflected in the interaction between objects, and the storage of system data is regarded as the persistence of the current state of the object system. operate. Almost all storage systems currently use relational data structures, and there are often significant differences between the structure of object systems and relational data structures. Therefore, since object-oriented and object-relational mapping), has always been a difficult problem. The traditional approach is to write specialized conversion code in soft...

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): G06F16/84
CPCG06F16/86
Inventor 陈瑞
Owner 武汉乐程软工科技有限公司
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