发明名称 COMPARING AND MERGING STRUCTURED DOCUMENTS SYNTACTICALLY AND SEMANTICALLY
摘要 A method of performing a three-way merge includes receiving first, second, and third versions of a structured document containing first, second, and third pluralities of elements respectively; deserializing the first, second, and third versions to generate first, second, and third tree-structured data models respectively representing the first, second, and third versions; generating an identifier for each node of each data model that is unique within the data model by applying identifier determination rules to a context describing the element corresponding to the node; comparing each identifier in the first data model with each identifier in the second data model to identify each node in the first data model not having matching identifiers with any node in the second data model and to link each pair of nodes having matching identifiers; and applying comparison rules to the contexts of each linked pair of nodes to identify differences therebetween.
申请公布号 US2010088676(A1) 申请公布日期 2010.04.08
申请号 US20080238080 申请日期 2008.09.25
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 YUAN YU;GUMINY SCOTT M.
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址