IP Library Granted Patent US 7,958,165
Granted Patent B1
US 7,958,165 · App. 10/716,286 · Granted Jun 7, 2011

Converting logical aspects of common warehouse model to design elements for relational database

Assignee: Unisys Corporation
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,958,165
App. No.
10/716,286
Granted
Jun 7, 2011
Kind
B1
Abstract

A method and a system for converting logical aspects of a common warehouse model (CWM) to corresponding design items for a relational database by processing in a hierarchical manner the logical aspects and creating the corresponding design items. The logical aspects comprise entity-relationship (ER) libraries. The ER libraries comprise ER models. The corresponding design items comprise design libraries. The design libraries comprise design models.

Claims (179)

1. A method comprising:

converting logical aspects comprising entity-relationship (ER) libraries, the ER libraries comprising ER models, the corresponding design items comprising design libraries and the design libraries comprising design models, of a common warehouse model (CWM) to corresponding design items for a relational database by:

(a) scanning through the ER libraries;

(b) for a first of the ER libraries, creating a corresponding first design library;

(c) for each of the ER models in the first ER library, creating a corresponding design model in the corresponding first design library to hold corresponding information;

(d) processing in a hierarchical manner each of the ER models to produce corresponding information for the corresponding design model;

(e) determining whether there are any references between the ER models; and

(f) whether there are any references between the ER models, specifying corresponding references in corresponding design models.

2. The method of claim 1 wherein, in operation (d), each of the ER models is processed independently.

3. The method of claim 1 wherein operation (d) comprises:

processing ER subject areas included in a first of the ER models;

processing ER domains included in the first ER model;

processing domain inheritance for each of the ER domains;

processing ER entities included in the first ER model;

processing entity subtype relationships in the first ER model; and

processing non-subtype relationships in the first ER model.

4. The method of claim 3 wherein processing ER subject areas comprises:

for each of the ER subject areas included in the first ER model, creating a corresponding design subject area in the corresponding first design model.

5. The method of claim 3 wherein processing domains comprises:

for each of the ER domains included in the first ER model, creating a corresponding design domain in the corresponding first design model;

determining parameters for each of the ER domains, including base type, default and constraint; and

setting corresponding parameters for each of the corresponding design domains.

6. The method of claim 3 wherein processing domain inheritance comprises:

determining, for a first of the ER domains, whether there is a first generalization in the CWM that links the first ER domain;

if there is the first generalization, determining parent ER domain and child ER domain for the first generalization, the parent and child ER domains corresponding to corresponding parent and child design domains; and

creating inheritance link from the corresponding child design domain to the corresponding parent design domain.

7. The method of claim 3 wherein processing ER entities comprises:

for a first ER entity included in the first ER model, creating a corresponding first design entity in the corresponding first design model;

determining first ER subject areas associated with the first ER entity, the first ER subject areas corresponding to first design subject areas;

adding the corresponding first design entity as a member of the corresponding first design subject areas; and

processing attributes associated with the first ER entity.

8. The method of claim 7 wherein processing attributes associated with the first ER entity comprises:

creating a first design attribute to correspond to the first ER attribute;

attaching the design attribute to the first design entity;

setting type reference of the first design attribute;

determining whether the first ER attribute is part of a first ER primary key associated with the first ER entity; and

if the first ER attribute is part of the first ER primary key, flagging the first design attribute as part of a first design primary key associated with the first design entity.

9. The method of claim 3 wherein processing entity subtype relationships comprises:

determining whether there is a first CWM generalization that links two of the ER entities in the first ER model;

if there is the first CWM generalization, determining parent and child ER entities for the first CWM generalization, the parent and child ER entities corresponding to corresponding parent and child design entities; and

creating inheritance link from the corresponding child design entity to the corresponding parent design entity.

10. The method of claim 3 wherein processing non-subtype relationships comprises:

obtaining references to parent and child ER entities in a first ER relationship, the parent and child ER entities corresponding to parent and child design entities in the first design model;

creating a corresponding design link between the corresponding parent and child design entities in the first design model;

setting cardinality and relationship type for the corresponding design link;

determining whether first ER relationship has at least one referential rule; and

if the first ER relationship has at least one referential rule, processing the at least one referential rule.

11. The method of claim 10 wherein processing the at least one referential rule comprises:

obtaining parameters including “insert”, “update” and “delete” from the CWM;

setting corresponding parameters for the corresponding design link;

determining whether there is an ER attribute in the child ER entity that has migrated from the parent ER entity; and

if there is such an ER attribute corresponding to a design attribute, then:

creating a design foreign key under the child design entity; and

creating references to the corresponding design attribute.

12. A method comprising:

converting logical aspects comprising entity-relationship (ER) libraries, the ER libraries comprising ER models, the corresponding design items comprising design libraries, the design libraries comprising design models, of a common warehouse model (CWM) to corresponding design items for a relational database by:

(a) scanning through the ER libraries;

(b) for a first of the ER libraries, creating a corresponding first design library;

(c) for each of the ER models in the first ER library, creating a corresponding design model in the corresponding first design library to hold corresponding information;

(d) processing in a hierarchical manner each of the ER models to produce corresponding information for the corresponding design model;

(e) determining whether there are any references between the ER models; and

(f) whether there are any references between the ER models, specifying corresponding references in corresponding design models; and

converting physical aspects of a common warehouse model (CWM) to corresponding database management system (DBMS) items in a relational database by processing in a hierarchical manner the physical aspects and creating the corresponding DBMS items, the physical aspects comprising relational catalogs, the relational catalogs comprising relational schemas, the corresponding DBMS items comprising DBMS catalogs, the DBMS catalogs comprising DBMS schemas.

13. The method of claim 12 wherein converting physical aspects comprises:

(g) scanning through the relational catalogs;

(h) for a first of the relational catalogs, creating a corresponding first DBMS catalog in the relational database;

(i) for each of the relational schemas in the first relational catalog, creating a corresponding DBMS schema in the corresponding DBMS catalog to hold corresponding information; and

(j) processing each of the relational schemas to produce corresponding information for the corresponding DBMS schema.

14. An article of manufacture comprising:

a machine-accessible storage medium storing data that, when accessed by a machine, cause the machine to perform the operation of:

converting logical aspects comprising entity-relationship (ER) libraries, the ER libraries comprising ER models, the corresponding design items comprising design libraries, the design libraries comprising design models, of a common warehouse model (CWM) to corresponding design items for a relational database by:

(a) scanning through the ER libraries;

(b) for a first of the ER libraries, creating a corresponding first design library;

(c) for each of the ER models in the first ER library, creating a corresponding design model in the corresponding first design library to hold corresponding information;

(d) processing in a hierarchical manner each of the ER models to produce corresponding information for the corresponding design model;

(e) determining whether there are any references between the ER models; and

(f) whether there are any references between the ER models, specifying corresponding references in corresponding design models.

15. The article of manufacture of claim 14 wherein, in operation (d), each of the ER models is processed independently.

16. The article of manufacture of claim 14 wherein operation (d) comprises the operations of:

processing ER subject areas included in a first of the ER models;

processing ER domains included in the first ER model;

processing domain inheritance for each of the ER domains;

processing ER entities included in the first ER model;

processing entity subtype relationships in the first ER model; and

processing non-subtype relationships in the first ER model.

17. The article of manufacture of claim 16 wherein the operation of processing ER subject areas comprises:

for each of the ER subject areas included in the first ER model, creating a corresponding design subject area in the corresponding first design model.

18. The article of manufacture of claim 16 wherein the operation of processing domains comprises:

for each of the ER domains included in the first ER model, creating a corresponding design domain in the corresponding first design model;

determining parameters for each of the ER domains, including base type, default and constraint; and

setting corresponding parameters for each of the corresponding design domains.

19. The article of manufacture of claim 16 wherein the operation of processing domain inheritance comprises:

determining, for a first of the ER domains, whether there is a first generalization in the CWM that links the first ER domain;

if there is the first generalization, determining parent ER domain and child ER domain for the first generalization, the parent and child ER domains corresponding to corresponding parent and child design domains; and

creating inheritance link from the corresponding child design domain to the corresponding parent design domain.

20. The article of manufacture of claim 16 wherein the operation of processing ER entities comprises:

for a first ER entity included in the first ER model, creating a corresponding first design entity in the corresponding first design model;

determining first ER subject areas associated with the first ER entity, the first ER subject areas corresponding to first design subject areas;

adding the corresponding first design entity as a member of the corresponding first design subject areas; and

processing attributes associated with the first ER entity.

21. The article of manufacture of claim 20 wherein the operation of processing attributes associated with the first ER entity comprises:

creating a first design attribute to correspond to the first ER attribute;

attaching the design attribute to the first design entity;

setting type reference of the first design attribute;

determining whether the first ER attribute is part of a first ER primary key associated with the first ER entity; and

if the first ER attribute is part of the first ER primary key, flagging the first design attribute as part of a first design primary key associated with the first design entity.

22. The article of manufacture of claim 16 wherein the operation of processing entity subtype relationships comprises:

determining whether there is a first CWM generalization that links two of the ER entities in the first ER model;

if there is the first CWM generalization, determining parent and child ER entities for the first CWM generalization, the parent and child ER entities corresponding to corresponding parent and child design entities; and

creating inheritance link from the corresponding child design entity to the corresponding parent design entity.

23. The article of manufacture of claim 16 wherein the operation of processing non-subtype relationships comprises:

obtaining references to parent and child ER entities in a first ER relationship, the parent and child ER entities corresponding to parent and child design entities in the first design model;

creating a corresponding design link between the corresponding parent and child design entities in the first design model;

setting cardinality and relationship type for the corresponding design link;

determining whether first ER relationship has at least one referential rule; and

if the first ER relationship has at least one referential rule, processing the at least one referential rule.

24. The article of manufacture of claim 23 wherein the operation of processing the at least one referential rule comprises:

obtaining parameters including “insert”, “update” and “delete” from the CWM;

setting corresponding parameters for the corresponding design link;

determining whether there is an ER attribute in the child ER entity that has migrated from the parent ER entity; and

if there is such an ER attribute corresponding to a design attribute, then:

creating a design foreign key under the child design entity; and

creating references to the corresponding design attribute.

25. A system comprising:

a processor; and

a memory coupled to the processor, the memory containing program code that, then executed by the processor, causes the processor to perform the operation of:

converting logical aspects comprising entity-relationship (ER) libraries, the ER libraries comprising ER models, the corresponding design items comprising design libraries, the design libraries comprising design models of a common warehouse model (CWM) to corresponding design items for a relational database by:

(a) scanning through the ER libraries;

(b) for a first of the ER libraries, creating a corresponding first design library;

(c) for each of the ER models in the first ER library, creating a corresponding design model in the corresponding first design library to hold corresponding information;

(d) processing in a hierarchical manner each of the ER models to produce corresponding information for the corresponding design model;

(e) determining whether there are any references between the ER models; and

(f) whether there are any references between the ER models, specifying corresponding references in corresponding design models.

26. The system of claim 25 wherein, in operation (d), each of the ER models is processed independently.

27. The system of claim 25 wherein operation (d) comprises:

processing ER subject areas included in a first of the ER models;

processing ER domains included in the first ER model;

processing domain inheritance for each of the ER domains;

processing ER entities included in the first ER model;

processing entity subtype relationships in the first ER model; and

processing non-subtype relationships in the first ER model.

28. The system of claim 27 wherein the operation of processing ER subject areas comprises:

for each ER subject area included in the first ER model, creating a corresponding design subject area in the corresponding first design model.

29. The system of claim 27 wherein the operation of processing domains comprises:

for each of the ER domains included in the first ER model, creating a corresponding design domain in the corresponding first design model;

determining parameters for each of the ER domains, including base type, default and constraint; and

setting corresponding parameters for each of the corresponding design domains.

30. The system of claim 27 wherein the operation of processing domain inheritance comprises:

determining, for a first of the ER domains, whether there is a first generalization in the CWM that links the first ER domain;

if there is the first generalization, determining parent ER domain and child ER domain for the first generalization, the parent and child ER domains corresponding to corresponding parent and child design domains; and

creating inheritance link from the corresponding child design domain to the corresponding parent design domain.

31. The system of claim 27 wherein the operation of processing ER entities comprises:

for a first ER entity included in the first ER model, creating a corresponding first design entity in the corresponding first design model;

determining first ER subject areas associated with the first ER entity, the first ER subject areas corresponding to first design subject areas;

adding the corresponding first design entity as a member of the corresponding first design subject areas; and

processing attributes associated with the first ER entity.

32. The system of claim 31 wherein the operation of processing attributes associated with the first ER entity comprises:

creating a first design attribute to correspond to the first ER attribute;

attaching the design attribute to the first design entity;

setting type reference of the first design attribute;

determining whether the first ER attribute is part of a first ER primary key associated with the first ER entity; and

if the first ER attribute is part of the first ER primary key, flagging the first design attribute as part of a first design primary key associated with the first design entity.

33. The system of claim 27 wherein the operation of processing entity subtype relationships comprises:

determining whether there is a first CWM generalization that links two of the ER entities in the first ER model;

if there is the first CWM generalization, determining parent and child ER entities for the first CWM generalization, the parent and child ER entities corresponding to corresponding parent and child design entities; and

creating inheritance link from the corresponding child design entity to the corresponding parent design entity.

34. The system of claim 27 wherein the operation of processing non-subtype relationships comprises:

obtaining references to parent and child ER entities in a first ER relationship having ends, the parent and child ER entities corresponding to parent and child design entities in the relational database;

creating corresponding link between the corresponding parent and child design entities in the relational database;

setting cardinality and relationship type for the corresponding link;

determining whether the ends of the first ER relationship have at least one referential rule;

if the ends of the first ER relationship have at least one referential rule, processing the at least one referential rule.

35. The system of claim 10 wherein the operation of processing the at least one referential rule comprises:

obtaining parameters including “insert”, “update” and “delete” from the CWM;

setting corresponding parameters for the corresponding design link;

determining whether there is an ER attribute in the child ER entity that has migrated from the parent ER entity; and

if there is such an ER attribute corresponding to a design attribute, then:

creating a design foreign key under the child design entity; and

creating references to the corresponding design attribute.

Assignments (13)
AMENDED AND RESTATED PATENT SECURITY AGREEMENT Recorded Jun 27, 2025
From: UNISYS CORPORATION; UNISYS HOLDING CORPORATION; UNISYS NPL, INC.; UNISYS AP INVESTMENT COMPANY I
To: COMPUTERSHARE TRUST COMPANY, N.A., AS COLLATERAL TRUSTEE
Reel/Frame 071759/0527 →
RELEASE OF SECURITY INTEREST Recorded Oct 28, 2020
From: WELLS FARGO BANK, NATIONAL ASSOCIATION
To: UNISYS CORPORATION
Reel/Frame 054231/0496 →
RELEASE OF SECURITY INTEREST Recorded Nov 9, 2017
From: WELLS FARGO BANK, NATIONAL ASSOCIATION (SUCCESSOR TO GENERAL ELECTRIC CAPITAL CORPORATION)
To: UNISYS CORPORATION
Reel/Frame 044416/0358 →
SECURITY INTEREST Recorded Oct 6, 2017
From: UNISYS CORPORATION
To: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
Reel/Frame 044144/0081 →
PATENT SECURITY AGREEMENT Recorded Apr 27, 2017
From: UNISYS CORPORATION
To: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS COLLATERAL TRUSTEE
Reel/Frame 042354/0001 →
RELEASE OF SECURITY INTEREST Recorded Mar 26, 2013
From: DEUTSCHE BANK TRUST COMPANY AMERICAS, AS COLLATERAL TRUSTEE
To: UNISYS CORPORATION
Reel/Frame 030082/0545 →
RELEASE OF SECURITY INTEREST Recorded Mar 15, 2013
From: DEUTSCHE BANK TRUST COMPANY
To: UNISYS CORPORATION
Reel/Frame 030004/0619 →
SECURITY AGREEMENT Recorded Aug 2, 2011
From: UNISYS CORPORATION
To: DEUTSCHE BANK NATIONAL TRUST COMPANY
Reel/Frame 026688/0081 →
SECURITY AGREEMENT Recorded Jun 27, 2011
From: UNISYS CORPORATION
To: GENERAL ELECTRIC CAPITAL CORPORATION, AS AGENT
Reel/Frame 026509/0001 →
RELEASE BY SECURED PARTY Recorded Sep 14, 2009
From: CITIBANK, N.A.
To: UNISYS CORPORATION; UNISYS HOLDING CORPORATION
Reel/Frame 023263/0631 →
RELEASE BY SECURED PARTY Recorded Jul 31, 2009
From: CITIBANK, N.A.
To: UNISYS CORPORATION; UNISYS HOLDING CORPORATION
Reel/Frame 023312/0044 →
SECURITY AGREEMENT Recorded Jun 20, 2006
From: UNISYS CORPORATION; UNISYS HOLDING CORPORATION
To: CITIBANK, N.A.
Reel/Frame 018003/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 2, 2003
From: DEVANATHAN, SRIRAM; MOORE, JEFFREY ALLEN; STEFANIAK, JOSEPH PETER; SULGROVE, LONNIE DALE
To: UNISYS CORPORATION
Reel/Frame 014750/0337 →