IP Library Granted Patent US 8,458,204
Granted Patent B2
US 8,458,204 · App. 12/564,506 · Granted Jun 4, 2013

System and method for customized file comparison

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,458,204
App. No.
12/564,506
Granted
Jun 4, 2013
Kind
B2
Abstract

A method and related data processing system and computer readable medium. A method includes receiving, in a data processing system, a first file and a second file, and receiving comparison rules. This method includes comparing the first file and the second file, by the data processing system, according to the comparison rules, and producing an output report corresponding to the comparison.

Claims (49)

1. A method, comprising:

receiving, in a data processing system including at least a processor and a memory, an XML master file and an XML work file for comparing corresponding XML data;

receiving comparison rules included in a filter file to customize the comparison in the data processing system, wherein the comparison rules include:

an inclusive definition or an exclusive definition,

a node relation definition,

key attributes comparison,

namespace support, and

value comparison rules based on a data type and a pattern comparison, including a defined tolerance for comparing numeric data;

comparing the XML master file and the XML work file, by the data processing system, according to the comparison rules,

wherein when the filter file has an inclusive definition, all nodes and attributes defined in the filter file are compared, and when the filter file has an exclusive definition, only nodes and attributes which are not defined in the filter file are compared; and

producing an output report corresponding to the comparison.

2. The method of claim 1 , wherein the comparison rules include a definition of nodes and attributes of the XML master file and the XML work file that must be compared according to the inclusive definition.

3. The method of claim 1 , wherein the comparison rules include a definition of nodes and attributes of the XML master file and the XML work file that must not be compared according to the exclusive definition.

4. The method of claim 1 , wherein the comparison ignores nodes of the XML master file that do not match nodes of the XML work file.

5. The method of claim 1 , wherein the comparison rules include comparisons for data types including integer and double.

6. The method of claim 1 , wherein the key attribute comparison identifies key attributes, wherein when corresponding key attribute values are matched, then the output report is positive regardless of other comparisons.

7. The method of claim 1 , wherein the node relations definition includes a definition of parent-child XML node relationships.

8. A data processing system comprising a processor and accessible memory, the data processing system particularly configured to perform the steps of:

receiving an XML master file and an XML work file for comparing corresponding XML data;

receiving comparison rules included in a filter file to customize the comparison, wherein the comparison rules include:

an inclusive definition or an exclusive definition,

a node relation definition,

key attributes comparison,

namespace support, and

value comparison rules based on a data type and a pattern comparison, including a defined tolerance for comparing numeric data;

comparing the XML master file and the XML work file according to the comparison rules,

wherein when the filter file has an inclusive definition, all nodes and attributes defined in the filter file are compared, and when the filter file has an exclusive definition, only nodes and attributes which are not defined in the filter file are compared; and

producing an output report corresponding to the comparison.

9. The data processing system of claim 8 , wherein the comparison rules include a definition of nodes and attributes of the XML master file and the XML work file that must be compared according to the inclusive definition.

10. The data processing system of claim 8 , wherein the comparison rules include a definition of nodes and attributes of the XML master file and the XML work file that must not be compared according to the exclusive definition.

11. The data processing system of claim 8 , wherein the comparison rules include comparisons for data types including integer and double.

12. The data processing system of claim 8 , wherein the key attribute comparison identifies key attributes, wherein when corresponding key attribute values are matched, then the output report is positive regardless of other comparisons.

13. The data processing system of claim 8 , wherein the node relations definition includes a definition of parent-child XML node relationships.

14. A-non-transitory machine-readable medium encoded with computer-executable instructions that, when executed, cause a data processing system to perform the steps of:

receiving an XML master file and an XML work file for comparing corresponding XML data;

receiving comparison rules included in a filter file to customize the comparison, wherein the comparison rules include:

an inclusive definition or an exclusive definition,

a node relation definition,

key attributes comparison,

namespace support, and

value comparison rules based on a data type and a pattern comparison, including a defined tolerance for comparing numeric data;

comparing the XML master file and the XML work file according to the comparison rules,

wherein when the filter file has an inclusive definition, all nodes and attributes defined in the filter file are compared, and when the filter file has an exclusive definition, only nodes and attributes which are not defined in the filter file are compared; and

producing an output report corresponding to the comparison.

15. The machine readable medium of claim 14 , wherein the comparison rules include a definition of nodes and attributes of the XML master file and the XML work file that must be compared according to the inclusive definition.

16. The machine readable medium of claim 14 , wherein the comparison rules include a definition of nodes and attributes of the XML master file and the XML work file that must not be compared according to the exclusive definition.

17. The machine readable medium of claim 14 , wherein the comparison rules include comparisons for data types including integer and double.

18. The machine readable medium of claim 14 , wherein the key attribute comparison identifies key attributes, wherein when corresponding key attribute values are matched, then the output report is positive regardless of other comparisons.

19. The machine readable medium of claim 14 , wherein the node relations definition includes a definition of parent-child XML node relationships.

Assignments (3)
CHANGE OF NAME Recorded Dec 3, 2019
From: SIEMENS PRODUCT LIFECYCLE MANAGEMENT SOFTWARE INC.
To: SIEMENS INDUSTRY SOFTWARE INC.
Reel/Frame 051171/0024 →
CORRECTIVE ASSIGNMENT TO CORRECT THE INVENTOR'S LAST NAME PREVIOUSLY RECORDED ON REEL 023537 FRAME 0453. ASSIGNOR(S) HEREBY CONFIRMS THE INVENTOR YUNFEI WU'S LAST NAME WAS MISSPELLED AS WEI.. Recorded Nov 23, 2009
From: WU, YUNFEI; YIN, TIANCAI; ZHANG, XIANHONG; HSU, SHINGCHI
To: SIEMENS PRODUCT LIFECYCLE MANAGEMENT SOFTWARE INC.
Reel/Frame 023559/0452 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 18, 2009
From: WEI, YUNFEI; YIN, TIANCAI; ZHANG, XIANHONG; HSU, SHINGCHI
To: SIEMENS PRODUCT LIFECYCLE MANAGEMENT SOFTWARE INC.
Reel/Frame 023537/0453 →