A Mapping Method Between Common Information Model and Relational Database
A technology of public information model and mapping method, which is applied in the field of relational database mapping, can solve problems such as waste of storage space, difficult mapping methods, large number of tables, etc., and achieve the effects of avoiding connection operations, improving system performance, and stabilizing table structures
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2016-09-28
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to a relational database mapping technology Background technique
[0002] Most of the existing common information model (Common Information Model, referred to as "CIM") implementation comes from the Object Management Group (Object Management Group, referred to as "OMG") "Utility Management System (UMS) Data Access Facility Specification" Appendix C - SQL Examples. This document proposes a paradigm for mapping GDA interfaces to SQL statements. This leads to a question: how to map the CIM model described based on the object-oriented model to the relational database.
[0003] In the object model, there are various relationships between objects, such as association, combination, aggregation, inheritance, etc., which cannot be directly expressed in the relational database, which is the so-called relationship between the object model and the relational model. "impedance mismatch". In order to solve these problems, the O / R (object-rel...
Examples
Embodiment Construction
[0066] In order to make the purpose, technical solution and advantages of the present invention clearer, the following will further describe the implementation of the present invention in detail in conjunction with the accompanying drawings.
[0067] A preferred embodiment of the present invention relates to a mapping method between a CIM model and a relational database, which is a specific implementation technology for CIM. CIM is defined by object-oriented modeling technology. According to object-oriented theory, an object is an instance of a class, and a class is an abstract description of a group of things with the same attributes and behaviors. There is also a relationship between classes, and this relationship includes class hierarchical relationships (i.e. inheritance) and class logic relationships (such as association, combination, etc.); the inventors of the present invention have found that since the definition of CIM is to facilitate data exchange, the CIM entity is ...