Database model for hierarchical data formats
Abstract
The present invention relates to a method for ensuring data consistency upon mapping of a hierarchical data format to a relational database management system. According to the invention, a method for ensuring data consistency upon storage of a data item in a database, the data item having an identifier and a locator for linking the data item to a destination, whereby the identifier and the locator are stored in the database in addition to the data item, comprises the steps of: checking ( 11 ) whether the current combination of identifier and locator has already been stored in the database, and using ( 12 ) the stored combination of the data item if this is the case, in case the current combination of identifier and locator has not yet been stored in the database, checking ( 13, 15 ) whether either the identifier or the locator has already been stored in the database, replacing ( 14, 16 ) the current combination of identifier and locator with a univocal combination if this is the case, and storing ( 17 ) the univocal combination together with the data item, and storing ( 17 ) the current combination of identifier and locator together with the data item else.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for storing data in a database, comprising steps of: receiving a data item having a first identifier and a first locator; checking whether the first identifier has already been stored in the database with the first locator, and, if the first identifier has already been stored in the database with the first locator, linking the data item to the stored first identifier and the stored first locator; checking whether the first locator has already been stored in the database with a second identifier if the first identifier has not already been stored in the database with the first locator,
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (5)
- Bray et al., "Namespaces in XML", W3C, 'Online!, Jan. 14, 1999.
- Bray, "Namespaces Hate Validation", Internet Article, 'Online!, Jan. 6, 1999.
- Florescu et al., "A Performance Evaluation of Alternative Mapping Schemes for Storing XML Data in a Relational Database", INRIA Technical Report, 'Online!, No. 3680, May 1999, Le Chesnay, France.
- Patton, "Use Namespaces to Differentiate your XML", Internet Article 'Online!, Nov. 20, 2002.
- Search Report for EPO Appln. No. 03007880 dated Jul. 28, 2003.