首页> 外国专利> Resolution of relationship source and target in a versioned database management system

Resolution of relationship source and target in a versioned database management system

机译:解决版本数据库管理系统中关系源和目标的问题

摘要

A versioned data management system is provided with a method for resolving sources and targets of relationships. For each entity instance, a lifetime ID is recorded. When the add interface is used to add an entity, a value is assigned to the lifetime ID, which value has never been used before for an instance of the entity type. When the update interface is used to update an entity, the lifetime ID is maintained unchanged. If the update results in a new version, the new version is given the same lifetime ID value as that for the version that was the basis for the update. If the delete interface is then used to delete the entity, and the add interface is later used to add an instance with the same part key, that instance will have a different lifetime ID. For each relationship instance, lifetime IDs are recorded for the relationship, its source, and its target. When the add interface is used to add a relationship, a value is assigned to the lifetime ID, which value has never been used before for an instance of the relationship type. Also, the lifetime IDs of the source and target of the relationship are recorded in the relationship instance. The lifetime ID of the relationship and the lifetime IDs of the source and target are maintained unchanged. If an update results in a new version of the relationship, the new version is given the same lifetime ID value as that for the version that was the basis for the update.
机译:为版本控制的数据管理系统提供了一种解决关系源和目标的方法。对于每个实体实例,记录一个生存期ID。当使用add接口添加实体时,会为生命周期ID分配一个值,该值以前从未用于实体类型的实例。使用更新接口更新实体时,生存期ID保持不变。如果更新产生新版本,则为新版本提供与作为更新基础的版本相同的生命周期ID值。如果随后使用delete接口删除实体,然后使用add接口添加具有相同零件密钥的实例,则该实例将具有不同的生存期ID。对于每个关系实例,记录该关系,其来源和目标的生存期ID。当使用add接口添加关系时,会将一个值分配给生存期ID,该值以前从未用于关系类型的实例。同样,关系的源和目标的生存期ID记录在关系实例中。关系的生存期ID以及源和目标的生存期ID保持不变。如果更新导致关系的新版本,则为该新版本提供与作为更新基础的版本相同的生命周期ID值。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号