Invention Grant
US07877399B2 Method, system, and computer program product for comparing two computer files
失效
方法,系统和计算机程序产品,用于比较两个计算机文件
- Patent Title: Method, system, and computer program product for comparing two computer files
- Patent Title (中): 方法,系统和计算机程序产品,用于比较两个计算机文件
-
Application No.: US10641959Application Date: 2003-08-15
-
Publication No.: US07877399B2Publication Date: 2011-01-25
- Inventor: Fuhwei Lwo
- Applicant: Fuhwei Lwo
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Carey Rodriguez Greenberg & Paul LLP
- Agent Joseph E. Bracken, Esq.; Steven M. Greenberg, Esq.
- Main IPC: G06F7/00
- IPC: G06F7/00

Abstract:
A method and system for comparing two documents, such as XML (Extensible Markup Language) files, where each document is capable of being parsed into a DOM (Document Object Model) trees. Each tree structure is converted into an array of leaf paths containing nodes. These arrays are then compared to identify corresponding matched nodes—either exactly matched nodes or schema matched nodes. In reporting the results of the comparison, unmatched nodes of the source document are reported as “deleted nodes”, that is, existing in the source but not in the target. Similarly all unmatched nodes of the target document are reported as “added nodes”, that is, existing in the target but not in the source. In addition, schema matched nodes are reported as “modified nodes” between source and target documents.
Public/Granted literature
- US20050039117A1 Method, system, and computer program product for comparing two computer files Public/Granted day:2005-02-17
Information query