# Patent

## Title
Determining linkage metadata of content of a target document to source documents

## Abstract

Provided are to a computer program product, system, and method for determining linkage metadata of content of a target document to source documents. In response to a determination that a target fragment in a target document matches a source fragment in a source document, linkage metadata is generated for the target fragment

## Background
CROSS-REFERENCE TO RELATED APPLICATION
This application is a continuation of U.S. patent application Ser. No. 13/840,952, filed Mar. 15, 2013, which application is incorporated herein by reference in its entirety.


BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a computer program product, system, and method for determining linkage metadata of content of a target document to source documents.
2. Description of the Related Art
Often a target document needs to be compared against other source documents to determine if the target document has content matching or copied from the source documents. For instance, the source documents may comprise sensitive organizational documents which are confidential to the organization, such as a corporation or government body. However, sensitive documents often tend to propagate freely within an organization and across the organization network boundaries onto the Internet. One particular problem is when a sensitive document with proprietary, competitive or private information is leaked outside the organization without authorization.
In addition to the organizational and corporate setting, various services are available to determine whether a student paper has plagiarized documents in a database of papers. One such student plagiarism detection service is Turnitin (see turnitin.com).
Known techniques to determine whether a target document has copied content from other source documents, such as sensitive corporate documents or papers, involve comparing the content of the target document with the source document.
One technique for determining textual relatedness is Koala Document Fingerprinting (KDF), which has been used to determine the relatedness of computer science research documents such as technical reports, conference papers and journal articles. In a Koala search technique, the document (URL) is loaded to the KDF server as a textual representation. Then, using this text, a fingerprint of the document is generated. Finally, this fingerprint is matched against the current document fingerprint database to find related documents.
SUMMARY
Provided are to a computer program product, system, and method for determining linkage metadata of content of a target document to source documents. In response to a determination that a target fragment in a target document matches a source fragment in a source document, linkage metadata is generated for the target fragment.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 illustrates an embodiment of a computing environment.
FIG. 2 illustrates an embodiment of a source document record.
FIG. 3 illustrates an embodiment of a source fragment record.
FIG. 4 illustrates an embodiment of a target document record.
FIG. 5 illustrates an embodiment of a target fragment record.
FIG. 6 illustrates an embodiment of operations to add information on a source document to a content database.
FIGS. 7a, 7b, and 7c illustrate an embodiment of operations to generate target fragment records and the linkage among the target fragments.
FIG. 8 illustrates an embodiment of a computer system in which embodiments may be implemented.
FIG. 9 illustrates an embodiment of a computer system.



DETAILED DESCRIPTION
A source document may be copied freely and modified many times between the time when it was originally authored and the time that it is viewed by any given party. In the context of leaked materials, this linkage of a target document to its source may be deliberately obscured to prevent the determination of the source of a leaked target document.
Described embodiments compare document content from a target document against a database of content of known source documents to identify a possible origin of fragments of the target document content. Potential linkage metadata from matches in the target document content are determined based on knowledge of the origin of the content from the source documents, such as the lineage of the documents, may be verified to arrive at a likely origin of leaked content. The derived knowledge of the linkage metadata may be used to populate known document content to act as an input in further linkage metadata determinations.
Described embodiments provide techniques to determine if content from a target document matches content in one or more source documents. Further, the described embodiments determine linkages among target fragments and source documents having source fragments matching the target fragments to provide the user information on how the target fragments relate to one or more source documents having the matching or copied source fragment. This allows a determination of the lineage of a target fragment with respect to source documents.
FIG. 1 illustrates an embodiment of a computing environment including a server 102 and client systems 104 that communicate over a network 106. The client systems 104 may include a user interface 108 to submit a target document 110 to a content analyzer 112 implemented in the server 102 to determine whether the target document 110 has content matching content from source documents 114 maintained in a content database 116. For instance, the source documents 114 may comprise confidential information and the entity operating the content analyzer 112, such as a corporation, educational institution, government agency, etc., may want to determine whether the target document 110 has content copied from one of the organizational source documents 114 that were intended to be confidential. In an alternative embodiment, the source documents 114 may comprise content from books and authored papers on various topics and the content analyzer 112 may determine whether the submitted target document 110 has content matching the source documents 114 to determine whether plagiarism has occurred. The content analyzer 112 may also analyze target document 110 to determine if there is matching content for other purposes, such as for research to assist with referencing of content, etc.
The content database 116 includes source documents 114 having content to compare against received target document 110. The content database 116 may further store previously received target documents 110, including the submitted target document 110 from clients 104. The content analyzer 112 generates source document records 200 having information on the source documents 114 to use in comparison operations; target document records 400 having information on target documents 118 being examined for copying from the source documents 114; source fragment records 300 having information on fragments or portions of the source documents 114; and target fragment records 500 having information on fragments of the target documents 118 and their relation to source documents.
The content analyzer 112 may be implemented as code in a computer readable storage medium executed by a processor. Alternatively, the content analyzer 112 may be implemented with hardware logic, such as an Application Specific Integrated Circuit (ASIC).
The content database 116 may be implemented in a storage comprising one or more storage devices known in the art, such as interconnected storage devices, where the storage devices may comprise hard disk drives, solid state storage device (SSD) comprised of solid state electronics, such as a EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, flash disk, Random Access Memory (RAM) drive, storage-class memory (SCM), etc., magnetic storage disk, optical disk, tape, etc. The network 106 may comprise a network such as one or more interconnected Local Area Networks (LAN), Storage Area Networks (SAN), Wide Area Network (WAN), peer-to-peer network, wireless network, etc.
FIG. 2 illustrates an embodiment of an instance 200i of one of the source document records 200 including a source document 202; a source document fingerprint 204 calculated by processing the content of the source document 202 to uniquely identify the document based on the content of the document; source fragment record(s) 206 for one or more fragments of content in the source document 202; and source document metadata 208 on the source document 202, such as the author, timestamp of creation, last modification, organization, publication date, etc. In one embodiment, lexical analysis may be performed to determine fragments of the source document content based on the structure of the document. The source document fingerprint 204 may be calculated by applying a checksum, hash function or fingerprint algorithm, such as Koala Document Fingerprinting (KDF), Rabin's fingerprinting algorithm, etc.
FIG. 3 illustrates an embodiment of an instance 300i of one of the source fragment records 300 which may be listed in field 206 of the source document record 200i. The source fragment record 300i may include: a source fragment 302; a source document 304 containing the source fragment 302; a location in the source document 306 of the source fragment 302; a source fragment fingerprint 308 calculated from the source fragment 302 of content in the source document 304 using an algorithm, such as the algorithm used to generate the source document fingerprint 204; and source fragment metadata 310. The source fragment metadata 310 may include the source document metadata 208 or fragment specific information, such as if a specific author created that fragment within the source document. A fragment may comprise any lexical parsed unit of the text that is a component of a document, such as a paragraph, section, sentence, group of sentences, etc. Metadata for the source and target documents may be encoded in the document through a schema or maintained separately from the document.
FIG. 4 illustrates an embodiment of an instance 400i of one of the target document records 400 including a target document 402; a target document fingerprint 404 calculated by processing the content of the target document 402 using the same process used to calculate the source document fingerprint 204; a matching source document 406, if any, having a matching document fingerprint 204; one or more target fragment records 408 having information on target fragments in the target document 402; and target document metadata 410 having document level metadata.
FIG. 5 illustrates an embodiment of an instance 500i of one of the target fragment records 500 generated for each determined fragment of the target document 402 including a target fragment 502 from one target document 402, which would be indicated in the target fragment records 408 of one target document record 400i; a target fragment location 504 indicating a location of the target fragment 502 in the containing target document 402; a target fragment fingerprint 506 calculated from the target fragment content; target fragment metadata 508, such as the author of the fragment or target document 402; one or more matching source fragments 510 indicating, if any, one or more source fragments having content matching the content of the target fragment 502, as determined by matching fragment fingerprints 308, 506. If there is a matching source fragment 510, then the target fragment record 500i includes one or more linkage metadata 512, where each linkage metadata 512 indicates at least two fragments of the target and source fragments having matching metadata value. Each linkage metadata instance 512i associates a metadata attribute value 514i and the target and/or source fragments 516i having the matching metadata attribute value 514i, and the source fragment timestamps 518i that may be used to order the target and/or source fragments 516i having the matching metadata attribute value 514i. The source fragments associated with the same linkage metadata 512i, having the same metadata attribute value 514i, may be in the same or different source documents. Further, once linkage metadata 512 is created it may be used to determine links to other source documents when identifying the target fragment record 500i for the source fragment being considered. Further, the linkage metadata 512 determined for a target fragment may then be part of the source fragment metadata 310 when the target fragment and document are stored as a source fragment and document, thus forming source linkage metadata.
The matching metadata attribute values 514i used to form linkage metadata 512 may comprise at least one of an author of the source fragments, a source document having the source fragments, and a date of the source fragments. In certain situations, a linkage metadata instance 512i may associate the target fragment with one or more source fragments having a matching attribute value. Alternatively, the linkage metadata 512i may associate source fragments and not the target fragment if the target fragment does not have the metadata attribute value 514i of the linkage metadata 512i. Further, the target fragment and combinations of one or more of the source fragments may be associated in multiple linkage metadata instances, e.g., 512i, 512j, if they have the metadata attribute values of multiple linkage metadata instances.
FIGS. 2-5 provide an arrangement of data in data structures in records. In alternative embodiments, the information described in the records of FIGS. 2-5 may be arranged in alternative records and data structures, with additional data, than those described. Further, the elements described in the fields of the records of FIGS. 2-5 may comprise a reference or identifier of the element or the actual element itself
FIG. 6 illustrates an embodiment of operations performed by the content analyzer 112 to generate source document records 200 and source fragment records 300 from source documents 114 having the content that the operator of the content analyzer 112 wants to prevent copying, such as prevent confidential document leakage or to prevent plagiarism. Upon receiving (at block 600) a source document 114 to add to the content database 116, the content analyzer 112 generates (at block 602) a source document fingerprint 204 based on all the content of the source document 114 and creates a source document record 200i (FIG. 2) for the received source document 114. The content analyzer 112 parses (at block 604) the source document 114 to determine source fragments of content. For each determined source fragment, the content analyzer 112 performs a loop of operations at blocks 606 through 616. For each determined source fragment, the content analyzer 112 calculates (at block 608) a source fragment fingerprint 308. Source fragment metadata 310 is determined (at block 610) from the source document metadata and/or fragment specific metadata, such as if the source fragment has a different author than other fragments. The content analyzer 112 generates (at block 612) a source fragment record 300i for a source fragment 302, indicating a location 306 of the fragment in the source document 114, the calculated fragment fingerprint 308, and the determined metadata 310 for the fragment. The generated source fragment record 300i is stored (at block 614) in the content database 116. Further, the source document 114 is stored (at block 618) in the content database 116.
FIGS. 7a, 7b, 7c illustrate an embodiment of operations performed by the content analyzer 112 to determine whether a received target document 110 has target fragments matching source fragments in source documents 114, thus indicating that portions of the target document 110 are based on confidential or previously created documents. Upon receiving (at block 700) the target document 110 to consider for copying, the content analyzer 112 generates (at block 702) a target document fingerprint 404 based on all the content of the target document 110 and creates a target document record 400i (FIG. 4) for the target document 110. The content analyzer 112 parses (at block 704) the target document 110 to determine target fragments, such as by using lexical analysis. This fragmentation operation may use the same algorithm used at block 604 to parse the source documents. For each determined target fragment i, the content analyzer 112 performs the operations at blocks 706-718. At block 708, the content analyzer 112 calculates a target fragment i fingerprint 506 and determines (at block 710) whether the calculated target fragment i fingerprint 506 matches one source fragment fingerprint 308 for one source document 304 in the content database 116. If not, i.e., the target fragment i does not match one of the source fragments, then the content analyzer 112 generates (at block 712) information, such as a target fragment record 500i, for the target fragment indicating there is no matching source fragment. If (from the yes branch of block 710) the target fragment i matches one source fragment, then the content analyzer 112 generates (at block 714) a target fragment record 500i for the target fragment indicating the matching source fragment 302. In certain operations, the target fragment fingerprint may match multiple source fragments in multiple source documents 114. The generated target fragment record 500i is added (at block 716) to the target document record in field 408 for the target document record 400i.
After generating target fragment records 500, control proceeds to block 730 in FIG. 7b where a loop of operations is performed at blocks 730 through 750 for each target fragment i matching one of the source fragments. Within the loop performed for each target fragment i, a nested loop is performed at blocks 732 through 738 for each target fragment metadata 508 attribute. The content analyzer 112 determines (at block 734) whether there are at least two fragments of the target fragment i and matching source fragments from different source documents (e.g., at least two fragments that are members of the set of fragments including the target fragment i and matching source fragments) that have a same value for the metadata attribute j. If so, then the content analyzer 112 generates (at block 736) linkage metadata 512j in the target fragment record 500i associating the at least two fragments (of the target fragment i and matching source fragments) having the matching metadata attribute value 514j. If (at block 734) there are no two matching fragments having the matching metadata attribute j value, then control proceeds to block 738 to consider the next metadata attribute.
For instance, if metadata attribute j comprises an author, then the target fragment and/or source fragments associated with the linkage metadata all have the same author, same document source, same language. In this way, the target fragment and/or matching source fragments maybe grouped into linkage metadata for a particular metadata attribute. This linkage information may then provide a linkage of the target fragments to source fragments in a same document or from a same author.
After generating all the associations or groups of matching target and source fragments having a same metadata attribute value, the content analyzer 112 may generate (at block 740) for each linkage metadata 512, a visualization of linkages among source documents including the target fragments in the linkage metadata and a visualization of a linkage from the target fragment i to the linked source documents for the linkage metadata. In this way, a user may observe linkages of a target fragment in the target document to source documents having a source fragment matching the target fragments and linkages according to different metadata attributes of the source documents having the matching source fragments.
The content analyzer 112 may determine (at block 742) timestamps of the matching source fragments in the source fragment metadata 310 and generate (at block 744) metadata linkages among the linked source documents an ordering of the source documents according to the timestamps of the matching source fragments. In this way, the order of the source documents having a matching source fragment is shown based on the temporal order of the copied or matching source fragments.
The content analyzer 112 may further determine (at block 746) if there is one matching source fragment in at least two linkage metadata instances, i.e., having metadata attribute values matching two linkages 512i. If so, then a visualization is generated (at block 748) linking the source fragment in two different linkage metadata instances for different attributes, such as by visualizing a connection between the source document including the source fragment in two linkage metadata instances.
After processing all the target fragments, control may proceed to block 752 in FIG. 7c where the content analyzer 112 adds the target document 110 being considered to the content database 116 as a new source document 114. The generated target fragment records 500i on the target fragments are added (at block 754) to the content database 116 as new source fragments records 300. The content analyzer 112 further adds (at block 756) the determined linkage metadata information for the target fragments 500i in linkage metadata for the new source fragments 300i. In this way, the linkage metadata of the source fragments includes information on how that source fragment is linked to or is copied from other source fragments in earlier source documents. This allows target fragments of a new target document to be linked to multiple source fragments in multiple source documents, thereby showing a lineage.
FIG. 8 illustrates an example of a graphical user interface (GUI) 800 rendered in a computer display at the server 102 or client 104, provide a graphical representation of the linkage metadata of the target fragments 8021, . . . 802n, where there are n target fragments in the target document 118. A first linkage metadata 8041 is shown of source documents 8061, 8062, 8063 and their source fragments SF8, SF3, and SF4 that match the target fragment 8021, where the source fragments are from a same ultimate source document, such as 8063. A second linkage metadata 8042 is shown of source documents 8064, 8063, 8065 and their source fragments SF2, SF4, and SFS that match the target fragment 8021, where the source fragments are from source documents having the same author. Further, a linkage is shown 808 of source fragments SF4 in two linkage metadata groups 8041 and 8042, thus showing a further relationship of how a matching source fragment SF4 was copied from the source documents. An mth linkage metadata instance 804m is shown of source documents 8066 and 8067 and their source fragments SF1 and SF9 that match the target fragment 802n where the target fragment 802n and source fragments are from source documents having the same ultimate source document. There may be a different number of linkage metadata instances m and target fragments n, i.e., m and n may differ or be the same integer value. Further, in certain embodiments, moving a mouse cursor 810 over the shown linkage between source documents 8064 and 8063 displays the metadata value 812 for that linkage, such as the author of the source document having the matching source fragments. Further, the source documents in the linkages may be ordered according to timestamps of the source fragments or source documents.
Described embodiments provide techniques for determining fragments in a target document that are copied from or match source fragments in source documents in a content database. Further, metadata for the matching source fragments is considered to determine linkage metadata of at least two fragments of the target and matching source fragment based on the metadata of the matching fragments. In this way, linkages of the fragments of the target documents that were improperly copied may be shown to provide the user with additional useful information, like the author in the source fragments that match the target fragments.
The described operations may be implemented as a method, apparatus or computer program product using standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof. Accordingly, aspects of the embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the embodiments may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
Aspects of the present invention are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
The terms “an embodiment”, “embodiment”, “embodiments”, “the embodiment”, “the embodiments”, “one or more embodiments”, “some embodiments”, and “one embodiment” mean “one or more (but not all) embodiments of the present invention(s)” unless expressly specified otherwise.
The terms “including”, “comprising”, “having” and variations thereof mean “including but not limited to”, unless expressly specified otherwise.
The enumerated listing of items does not imply that any or all of the items are mutually exclusive, unless expressly specified otherwise.
The terms “a”, “an” and “the” mean “one or more”, unless expressly specified otherwise.
Devices that are in communication with each other need not be in continuous communication with each other, unless expressly specified otherwise. In addition, devices that are in communication with each other may communicate directly or indirectly through one or more intermediaries.
A description of an embodiment with several components in communication with each other does not imply that all such components are required. On the contrary a variety of optional components are described to illustrate the wide variety of possible embodiments of the present invention.
Further, although process steps, method steps, algorithms or the like may be described in a sequential order, such processes, methods and algorithms may be configured to work in alternate orders. In other words, any sequence or order of steps that may be described does not necessarily indicate a requirement that the steps be performed in that order. The steps of processes described herein may be performed in any order practical. Further, some steps may be performed simultaneously.
When a single device or article is described herein, it will be readily apparent that more than one device/article (whether or not they cooperate) may be used in place of a single device/article. Similarly, where more than one device or article is described herein (whether or not they cooperate), it will be readily apparent that a single device/article may be used in place of the more than one device or article or a different number of devices/articles may be used instead of the shown number of devices or programs. The functionality and/or the features of a device may be alternatively embodied by one or more other devices which are not explicitly described as having such functionality/features. Thus, other embodiments of the present invention need not include the device itself.
The illustrated operations of the figures show certain events occurring in a certain order. In alternative embodiments, certain operations may be performed in a different order, modified or removed. Moreover, steps may be added to the above described logic and still conform to the described embodiments. Further, operations described herein may occur sequentially or certain operations may be processed in parallel. Yet further, operations may be performed by a single processing unit or by distributed processing units.
The server 102 and client 104 systems in the computing environment of FIG. 1, including the user interface 108 and content analyzer 112 may be implemented in one or more computer systems, such as the computer system 900 shown in FIG. 9. Computer system/server 900 may be described in the general context of computer system executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, and so on that perform particular tasks or implement particular abstract data types. Computer system/server 900 may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
As shown in FIG. 9, the computer system/server 900 is shown in the form of a general-purpose computing device. The components of computer system/server 900 may include, but are not limited to, one or more processors or processing units 902, a system memory 904, and a bus 906 that couples various system components including system memory 904 to processor 902. Bus 906 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnects (PCI) bus.
Computer system/server 900 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 900, and it includes both volatile and non-volatile media, removable and non-removable media.
System memory 904 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 908 and/or cache memory 910. Computer system/server 900 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 912 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a “hard drive”). Although not shown, a magnetic disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a “floppy disk”), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM or other optical media can be provided. In such instances, each can be connected to bus 906 by one or more data media interfaces. As will be further depicted and described below, memory 904 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program/utility 914, having a set (at least one) of program modules 916, may be stored in memory 904 by way of example, and not limitation, as well as an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data or some combination thereof, may include an implementation of a networking environment. The components of the server 102 and client 104 may be implemented as program modules 916 which generally carry out the functions and/or methodologies of embodiments of the invention as described herein. The content analyzer 112 may be implemented in one or more computer systems 900, where if implemented in multiple computer systems 900, then the computer systems may communicate over a network.
Computer system/server 900 may also communicate with one or more external devices 918 such as a keyboard, a pointing device, a display 920, etc.; one or more devices that enable a user to interact with computer system/server 900; and/or any devices (e.g., network card, modem, etc.) that enable computer system/server 900 to communicate with one or more other computing devices. Such communication can occur via Input/Output (I/O) interfaces 922. Still yet, computer system/server 900 can communicate with one or more networks such as a local area network (LAN), a general wide area network (WAN), and/or a public network (e.g., the Internet) via network adapter 924. As depicted, network adapter 924 communicates with the other components of computer system/server 900 via bus 906. It should be understood that although not shown, other hardware and/or software components could be used in conjunction with computer system/server 900. Examples, include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, fragment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing description of various embodiments of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not by this detailed description, but rather by the claims appended hereto. The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims herein after appended.

## Claims

1. A computer implemented method, comprising:
in response to a determination that a target fragment in a target document matches a source fragment in a source document, generating a linkage metadata for the target fragment, wherein linkage metadata is generated for target fragments from the target document and source fragments from multiple source documents to provide information on how the target fragments in the target document relate to the source documents having matching source fragments, wherein the source documents have content to compare against received target documents.

2. The method of claim 1, wherein the linkage metadata is based on a metadata attribute from at least one of source document metadata, source fragment metadata, source fragment specific metadata, target document metadata, target fragment metadata, and target fragment specific metadata.

3. The method of claim 1, wherein the linkage metadata associates at least two fragments that are members of a set of fragments comprising the target fragment and at least one matching source fragment that have a same value for a metadata attribute.

4. The method of claim 3, wherein the linkage metadata indicates at least one source fragment matching the target fragment that is associated in a linkage metadata for a source fragment.

5. The method of claim 3, wherein one of the at least one matching source fragment is associated in multiple linkage metadata instances for the target fragment, wherein the multiple linkage metadata instances are based on different metadata attributes.

6. The method of claim 5, wherein the linkage metadata instances associate at least two source documents having at least two matching source fragments.

7. The method of claim 6, further comprising:
generating, for target fragments each having at least one linkage metadata instance, a visualization of the at least one linkage metadata instance of the target fragment to the at least two source documents including the matching source fragments associated in the at least one linkage metadata instance.

8. The method of claim 7, further comprising:
determining an order of the at least two matching source fragments in one of the at least one linkage metadata instance based on timestamps of the at least two matching source fragments, wherein the generating the visualization for the at least one linkage metadata instance comprises generating a visualization of the at least two source documents including the at least two matching source fragments in the linkage metadata instance based on the determined order.

9. The method of claim 1, further comprising:
adding the target document to a content database as a new source document;
adding information on the target fragment to the content database as new source fragment; and
including information on the linkage metadata for the target fragment in linkage metadata for the new source fragment.

10. A computer implemented method for maintaining a database of source documents, comprising:
for a plurality of received source documents having content to compare against received target documents, determining fragments of content in the received source documents;
calculating a fingerprint for each of the determined fragments;
determining metadata for the determined fragments, wherein the determined metadata includes fragment specific information providing additional information from metadata for the source documents including the determined fragments; and
associating with each determined fragment the calculated fingerprint and the determined metadata, wherein the database stores, for each determined fragment the associated calculated fingerprint and the determined metadata.

11. The method of claim 10, wherein the metadata for each of the determined fragments includes at least one of metadata for the received source document and metadata specific to the determined fragment.