Database model for hierarchical data formats
    1.
    发明授权
    Database model for hierarchical data formats 有权
    分层数据格式的数据库模型

    公开(公告)号:US07269582B2

    公开(公告)日:2007-09-11

    申请号:US10819750

    申请日:2004-04-07

    IPC分类号: G06F17/30 G06F17/00

    摘要: 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.

    摘要翻译: 本发明涉及一种在将分层数据格式映射到关系数据库管理系统时确保数据一致性的方法。 根据本发明,一种用于在数据库中存储数据项时确保数据一致性的方法,具有用于将数据项链接到目的地的标识符和定位符的数据项,由此将标识符和定位符存储在数据库中 除了数据项之外,还包括以下步骤:检查(11)当前的标识符和定位符的组合是否已被存储在数据库中,并且如果是这种情况,则使用(12)所存储的数据项的组合, 在标识符和定位符的当前组合尚未存储在数据库中的情况下,检查(13,15)是否已经将标识符或定位符存储在数据库中,替换(14,16)当前的标识符组合 和定位器,如果是这种情况,则具有单一的组合,并且将数据项与单一组合一起存储(17),并将标识符和定位符的当前组合与 数据项其他。