Data processing system and method for detecting mandatory relations violation in a relational database
First Claim
1. In a computers system, a data processing system for detecting a mandatory relations violation in a relational database, said data processing system comprising:
- memory means containing (i) relation definition table means comprised of at least one relation type record wherein each relation type record (a) defines a relation type between two entity types and (b) includes mandatory coupling data defining mandatory coupling of said relation type, (ii) entity instance table means comprised of at least one entity instance record, and (iii) relation instance table means comprised of at least one relation instance record, wherein wash relation instance record defines a relation of a relation type defined by one of said relation type records and further wherein said relation is between a head entity instance record and a tail entity instance record, wherein said relation definition table means, said entity instance table means and said relation instance table means are part of said relational database; and
means, operatively coupled to said entity instance table means and said relation instance table means, for examining a mandatory coupling of a first relation type between a first entity type and second entity type, said means for examining comprising means for determining whether said entity instance table means contains a first entity instance record of said first entity type; and
means for determining whether said relation instance table means contains no relation instance record defining a relation of said first relation type between said first entity instance record and a second entity instance record of said second entity type; and
means, operatively coupled to said means for examining, for indicating detection of said mandatory relations violation if said entity instance table means contains said first entity instance record of said first entity type and said relation instance table means contains no relation instance record defining a relation of said first relation type between said first entity instance record and said second entity instance record of said second entity type.
0 Assignments
0 Petitions
Accused Products
Abstract
Machine automated techniques are described for a method of data processing called Relationships Processing. A computing system is disclosed which provides for the high speed recording and extraction of data objects (entities) and for the development of data representing a queried relationship between the entities. Furthermore, methods and systems are disclosed to detect mandatory relations violation between entities by examining whether certain relations exist. The system is expandable to handle the relatively voluminous data bases of large commercial data repositories. A user defines a set of entities and allowed relationships between the entities. The user can expand this set of allowed entities and relationships at any time during the life of the system without reprogramming or compiling of computer program code or disrupting concurrent operational use of the system. Large systems can now be built that are no longer limited to the scope of design requirements known during initial system development. For a given set of defined relationships the system allows the user to perform complex inquiries (again without programming at the code level) that would normally require multiple nested inquiries to be coded programmatically and would not achieve the performance levels of the Relationships Processor.
-
Citations
2 Claims
-
1. In a computers system, a data processing system for detecting a mandatory relations violation in a relational database, said data processing system comprising:
-
memory means containing (i) relation definition table means comprised of at least one relation type record wherein each relation type record (a) defines a relation type between two entity types and (b) includes mandatory coupling data defining mandatory coupling of said relation type, (ii) entity instance table means comprised of at least one entity instance record, and (iii) relation instance table means comprised of at least one relation instance record, wherein wash relation instance record defines a relation of a relation type defined by one of said relation type records and further wherein said relation is between a head entity instance record and a tail entity instance record, wherein said relation definition table means, said entity instance table means and said relation instance table means are part of said relational database; and
means, operatively coupled to said entity instance table means and said relation instance table means, for examining a mandatory coupling of a first relation type between a first entity type and second entity type, said means for examining comprising means for determining whether said entity instance table means contains a first entity instance record of said first entity type; and
means for determining whether said relation instance table means contains no relation instance record defining a relation of said first relation type between said first entity instance record and a second entity instance record of said second entity type; and
means, operatively coupled to said means for examining, for indicating detection of said mandatory relations violation if said entity instance table means contains said first entity instance record of said first entity type and said relation instance table means contains no relation instance record defining a relation of said first relation type between said first entity instance record and said second entity instance record of said second entity type.
-
-
2. A computer method for detecting a mandatory relations violation in a relational database, said method comprising:
-
storing a plurality of relation type records in relation definition table means of said relational database wherein each said relation type record defines a relation type between two entity type and includes mandatory coupling data defining mandatory coupling of said relation type;
storing one or more entity instance records in entity instance table means of said relational database;
storing a plurality of relation instance records in relation instance table means of said relational database wherein each said relation instance record defines a relation of a relation type defined by one of said relation type records and further wherein said relation is between two entity instance records; and
examining a mandatory coupling of a first relation type record defining a first relation type between a first entity type and a second entity type, said step of examining comprising determining whether said entity instance table means contains a first entity instance record of said first entity type; and
determining whether said relation instance table means contain no relation instance record defining a relation between said first entity instance record and a second entity instance record of said second entity type; and
indicating detection of said mandatory relations violation if said entity instance table means contains said first entity instance record of said first entity instance type and said relation instance table means contains no relation instance record defining said relation between said first entity instance record and said second entity instance record of said second entity type.
-
Specification