Persistent Database Object Structure Disclosure
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional database systems lack the ability to query and manage persistent database objects based on their internal structure, limiting their capacity to perform functions like index definition, referential integrity verification, and data compression, as they are only aware of the location and size of these objects within object containers.
Innovation Solution
The system provides a method where application libraries use object-oriented code to create persistent classes and instances, and disclosure code is used to describe the internal structure of these classes, allowing the Object Management System (OMS) and kernel to access and manage persistent database objects effectively by registering and processing their structure, enabling index definition, referential integrity verification, and data compression.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If database systems store persistent database objects in object containers without exposing internal structure, then storage simplicity is maintained, but the ability to query and manage objects based on content is lost
Solution Approach 1:
The patent segments the database system into multiple components: object containers for storage, disclosure code for structure description, and query/management modules for operations. This segmentation allows each component to have a specialized function while working together as an integrated system, resolving the contradiction between storage simplicity and management capability
Solution Approach 2:
The patent introduces disclosure code as an intermediary layer between the object containers and the query/management system. This intermediary provides the necessary structural information without exposing the internal implementation details of the objects, enabling content-based queries while maintaining storage simplicity
2Device complexity
If the Object Management System and kernel are unaware of the internal structure of persistent database objects, then system complexity is reduced, but functions like index definition, referential integrity verification, and data compression cannot be performed
Solution Approach 1:
The patent implements preliminary action by having disclosure code register structure information about persistent classes before the objects are stored or queried. This advance registration enables the OMS and kernel to perform index definition, referential integrity verification, and compression without needing to understand the full internal structure of objects, thus maintaining low system complexity while enabling advanced management functions
Solution Approach 2:
The disclosure code acts as an intermediary that provides structural metadata to the OMS and kernel without requiring them to directly interpret or understand the internal structure of persistent database objects. This intermediary approach enables complex management functions while keeping the core system simple
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A system may provide generation of a file to declare one or more persistent classes, the file formatted according to a markup language syntax, and generation, based on the file, of code of an object-oriented language to declare the one or more persistent classes and to describe a structure of each of the one or more persistent classes. Further aspects may include calling a constructor to register an interface to a description of a persistent class, accessing the registered interface to determine the structure of the persistent class, and processing an instance of the persistent class based on the determined structure.