The present invention relates in general to stored message categorization and, in particular, to a computer-implemented system and method for identifying related messages.
Presently, electronic messaging constitutes a major form of interpersonal communications, complimentary to, and, in some respects, replacing, conventional voice-based communications. Electronic messaging includes traditional electronic mail (e-mail) and has grown to encompass scheduling, tasking, contact and project management, and an increasing number of automated workgroup activities. Electronic messaging also includes the exchange of electronic documents and multimedia content, often included as attachments. And, unlike voice mail, electronic messaging can easily be communicated to an audience ranging from a single user, a workgroup, a corporation, or even the world at large, through pre-defined message address lists.
The basic electronic messaging architecture includes a message exchange server communicating with a plurality of individual subscribers or clients. The message exchange server acts as an electronic message custodian, which maintains, receives and distributes electronic messages from the clients using one or more message databases. Individual electronic messaging information is kept in message stores, referred to as folders or archives, identified by user account within the message databases. Generally, by policy, a corporation will archive the message databases as historical data storing during routine backup procedures.
The information contained in archived electronic messages can provide a potentially useful chronology of historically significant events. For instance, message conversation threads present a running dialogue which can chronicle the decision making processes undertaken by individuals during the execution of their corporate responsibilities. As well, individual message store archives can corroborate the receipt and acknowledgment of certain corporate communications both locally and in distributed locations. And the archived electronic message databases create useful audit trails for tracing information flow.
Consequently, fact seekers are increasingly turning to archived electronic message stores to locate crucial information and to gain insight into individual motivations and behaviors. In particular, electronic message stores are now almost routinely produced during the discovery phase of litigation to obtain evidence and materials useful to the litigants and the court. Discovery involves document review during which all relevant materials are read and analyzed. The document review process is time consuming and expensive, as each document must ultimately be manually read. Pre-analyzing documents to remove duplicative information can save significant time and expense by paring down the review field, particularly when dealing with the large number of individual messages stored in each of the archived electronic messages stores for a community of users.
Typically, electronic messages maintained in archived electronic message stores are physically stored as data objects containing text or other content. Many of these objects are duplicates, at least in part, of other objects in the message store for the same user or for other users. For example, electronic messages are often duplicated through inclusion in a reply or forwarded message, or as an attachment. A chain of such recursively-included messages constitutes a conversation “thread.” In addition, broadcasting, multitasking and bulk electronic message “mailings” cause message duplication across any number of individual electronic messaging accounts.
Although the goal of document pre-analysis is to pare down the size of the review field, the simplistic removal of wholly exact duplicate messages provides only a partial solution. On average, exactly duplicated messages constitute a small proportion of duplicated material. A much larger proportion of duplicated electronic messages are part of conversation threads that contain embedded information generated through a reply, forwarding, or attachment. The message containing the longest conversation thread is often the most pertinent message since each of the earlier messages is carried forward within the message itself. The messages comprising a conversation thread are “near” exact duplicate messages, which can also be of interest in showing temporal and substantive relationships, as well as revealing potentially duplicated information.
In the prior art, electronic messaging applications provide limited tools for processing electronic messages. Electronic messaging clients, such as the Outlook product, licensed by Microsoft Corporation, Redmond, Wash., or the cc:mail product, licensed by Lotus Corporation, Cambridge, Mass., provide rudimentary facilities for sorting and grouping stored messages based on literal data occurring in each message, such as sender, recipient, subject, send date and so forth. Attachments are generally treated as separate objects and are not factored into sorting and grouping operations. However, these facilities are limited to processing only those messages stored in a single user account and are unable to handle multiple electronic message stores maintained by different message custodians. In addition, the systems only provide partial sorting and grouping capabilities and do not provide for culling out message with duplicate attachments.
Therefore, there is a need for an approach to processing electronic messages maintained in multiple message stores for document pre-analysis. Preferably, such an approach would identify messages duplicative both in literal content, as well as with respect to attachments, independent of source, and would “grade” the electronic messages into categories that include unique, exact duplicate, and near duplicate messages, as well as determine conversation thread length.
There is a further need for an approach to identifying unique messages and related duplicate and near duplicate messages maintained in multiple message stores. Preferably, such an approach would include an ability to separate unique messages and to later reaggregate selected unique messages with their related duplicate and near duplicate messages as necessary.
There is a further need for an approach to processing electronic messages generated by Messaging Application Programming Interface (MAPI)-compliant applications.
The present invention provides a system and method for generating a shadow store storing messages selected from an aggregate collection of message stores. The shadow store can be used in a document review process. The shadow store is created by extracting selected information about messages from each of the individual message stores into a master array. The master array is processed to identify message topics, which occur only once in the individual message stores and to then identify the related messages as unique. The remaining non-unique messages are processed topic by topic in a topic array from which duplicate, near duplicate and unique messages are identified. In addition, thread counts are tallied. A log file indicating the nature and location of each message and the relationship of each message to other messages is generated. Substantially unique messages are copied into the shadow store for use in other processes, such as a document review process. Optionally, selected duplicate and near duplicate messages are also copied into the shadow store or any other store containing the related unique message.
An embodiment provides a system and method for identifying related messages. A set of messages, each having a header, sender and transmission time, is obtained. A message is selected from the set. A body of the selected message is compared to a body of a further message in the set. The further message is labeled as a duplicate of the selected message when the bodies match. The duplicate labeling of the further message is verified when the header, sender, and transmission time of the further message matches the header, sender, and transmission time of the selected message. The duplicate messages are removed from the set. The remaining messages are sorted in order of message length. A shorter message is compared with a longer message and is marked as a near duplicate of the longer message when the body of the shorter message is included in the body of the longer message.
Still other embodiments of the present invention will become readily apparent to those skilled in the art from the following detailed description, wherein is described embodiments of the invention by way of illustrating the best mode contemplated for carrying out the invention. As will be realized, the invention is capable of other and different embodiments and its several details are capable of modifications in various obvious respects, all without departing from the spirit and the scope of the present invention. Accordingly, the drawings and detailed description are to be regarded as illustrative in nature and not as restrictive.
Electronic messages, particularly electronic mail (email), are exchanged between the various systems interconnected via the distributed computing environment 10. Throughout this document, the terms “electronic message” and “message” are used interchangeably with the same intended meaning. In addition, message types encompass electronic mail, voice mail, images, scheduling, tasking, contact management, project management, workgroup activities, multimedia content, and other forms of electronically communicable objects, as would be recognized by one skilled in the art. These systems include a server 11 providing a message exchange service to a plurality of clients 12a, 12b interconnected via the intranetwork 13. The clients 12a, 12b can also subscribe to a remote message exchange service provided by a remote server 14 interconnected via the internetwork 16. Similarly, a remote client 15 can subscribe to either or both of the message exchange services from the server 11 and the remote server 14 via the internetwork 16.
Each of the systems is coupled to a storage device. The server 11, clients 12a, 12b, and remote client 15 each maintain stored data in a local storage device 18. The remote server 14 maintains stored data in a local storage device (not shown) and can also maintain stored data for remote systems in a remote storage device 19, that is, a storage device situated remotely relative to the server 11, clients 12a, 12b, and remote client 15. The storage devices include conventional hard drives, removable and fixed media, CD ROM and DVD drives, and all other forms of volatile and non-volatile storage devices.
Each of the systems also maintains a message store, either on the local storage device or remote storage device, in which electronic messages are stored or archived. Each message store constitutes an identifiable repository within which electronic messages are kept and can include an integral or separate archive message store for off-line storage. Internally, each message store can contain one or more message folders (not shown) containing groups of related messages, such as an “Inbox” message folder for incoming messages, an “Outbox” message folder for outgoing messages, and the like. For clarity of discussion, individual message folders will be treated alike, although one skilled in the art would recognize that contextually related message folders might be separately processed.
In a workgroup-computing environment, the server 11 collectively maintains the message stores as a workgroup message store (WMS) 22 for each subscribing client 12a, 12b and remote client 15. In a distributed computing environment, each client 12a, 12b and remote client 15 might maintain an individual message store 21 either in lieu of or in addition to a workgroup message store 21. Similarly, the remote server 14 could maintain a workgroup message store 22 for remote clients.
Over time, each of the message stores unavoidably accumulates duplicates, at least in part, of other electronic messages stored in the message store for the same user or for other users. These duplicate and near duplicate electronic messages should be identified and removed during document pre-analysis. Thus, the server 11 includes a message processor 20 for efficiently processing the electronic messages stored in the various message stores 21, 22 as further described below beginning with reference to
The electronic messages are retrieved directly from the individual message stores 21, the workgroup message stores 22, or consolidated from these message stores into a combined message store. For document pre-analysis, the message stores can include both active “on-line” messages and archived “off-line” messages maintained in a local storage device 18 or remote storage device 19.
The individual computer systems including the server 11, clients 12, remote server 14, and remote client 15, are general purpose, programmed digital computing devices consisting of a central processing unit (CPU), random access memory (RAM), non-volatile secondary storage, such as a hard drive, CD ROM or DVD drive, network interfaces, and peripheral devices, including user interfacing means, such as a keyboard and display. Program code, including software programs, and data are loaded into the RAM for execution and processing by the CPU and results are generated for display, output, transmittal, or storage.
The server 11 includes the messages processor 20 and optionally operates a messaging application 31. The messaging application 31 provides services with respect to electronic message exchange and information storage to individual clients 12a, 12b, remote servers 14, and remote clients 15 (shown in
The message processor 20 processes the message stores 32 (shown in
The results of message processing are chronicled into a log 34 to identify unique messages 44 and to create a processing audit trail for allowing the source and ultimate disposition of any given message to be readily traced. As well, a cross-reference keyed collection 36 allows unique message identifiers to be submitted and the source location information of those messages that are duplicates or near duplicates of the unique message to be retrieved. The retrieval information allows the optional reaggregation of selected unique messages and the related duplicate and near duplicates messages at a later time, such as by inclusion into the shadow store 33 at the end of the document review process. Optionally, the duplicate and near duplicate messages can be rejoined with their related unique messages for completeness. The log 34 records not only the disposition of each message, but, in the case of duplicate and near duplicate messages, indicates the unique message with which each duplicate and near duplicate message is associated, thereby permitting specific duplicate and near duplicate messages to be located and optionally reaggregated with selected unique messages at a later time. In the described embodiment, the cross-reference keyed collection 36 is maintained as part of the log 34, but is separately identified for purposes of clarity. The unique messages 44 are copied into the shadow store 33 for forwarding to the next stage of document review.
The messages in the master array 42 are sorted by topic to identify unique messages and conversation threads, as reflected by ranges of multiple occurrences of the same topic. The identification information (metadata) for those messages having identical topics is extracted into a topic array 43 as each new topic is encountered within the master array 42.
The topic array 43 functions as a working array within which topically identical messages are processed. The identification information extracted from the master array 42 is used to copy into the topic array further information from messages sharing a common topic, including their plaintext. At any point in processing, the topic array 43 contains only those messages sharing a common topic. These topically identical messages are sorted by plaintext body and analyzed. Exact duplicate messages 47, containing substantially duplicated content, are removed from the topic array 43. The remaining non-exact duplicate messages in the topic array 43 are searched for thread markers indicating recursively-included content and conversation thread lengths 46 are tallied. The messages in the topic array 43 are compared and near duplicate messages 45 are identified. The unique messages 45 are marked for transfer into the shadow store 48.
The message processor 20 includes four primary modules: exact duplicate message selector 61, thread length selector 62, near duplicate message selector 63, and unique message selector 64. Prior to processing, the message stores 41 are logically consolidated into the master array 42. At each stage of message processing, a log entry is created (or an existing entry modified) in a log 34 to track messages and record message identification information. The exact duplicate message selector 61 identifies and removes those exact duplicate messages 47 containing substantially duplicative content from the topic array 43. The thread length selector 62 tallies the conversation thread lengths 46 and maintains an ordering of thread lengths, preferably from shortest to longest conversation thread length. The near duplicate message selector 63 designates as near duplicate messages 45 those whose content is recursively-included in other messages, such as those messages generated through a reply or forwarding sequence, or as an attachment. The unique message selector 64 designates as unique messages 45 those messages that have been extracted out of the master array 42 as not being topically identical and those messages remaining after the exact duplicate messages 48 and near duplicate messages 46 have been identified. The unique messages 45 are forwarded to the shadow store 48 for use in subsequent document review. The unique, near duplicate, and exact duplicate messages, as well as thread counts, are regularly recorded into the log 34, as the nature of each message is determined. As well, the location information permitting subsequent retrieval of each near duplicate message 45 and exact duplicate message 47 is regularly inserted into the cross-reference keyed collection 36 relating the message to a unique message as the relationship is determined.
The example message 70 includes two recursively-included messages: an original e-mail message 71 and a reply e-mail message 72. The original e-mail message 71 was sent from a first user, user1@aol.com, to a second user, user2@aol.com. In reply to the original e-mail message 71, the second user, user2@aol.com, generated the reply e-mail message 72, sent back to the first user, user1@aol.com. Finally, the first user, user1@aol.com, forwarded the reply e-mail message 72, which also included the original e-mail message 71, as a forwarded e-mail message 73, to a third user, user3@aol.com.
Each of the e-mail messages 71, 72, 73 respectively includes a message body (recursively-included) 74, 78, 82 and a message header 75, 77, 81. The original e-mail message 71 and the reply e-mail message 72 are recursively-included messages. The original e-mail message 71 is recursively included in both the reply e-mail message 72 and forwarded e-mail message 73 while the reply e-mail message 72 is recursively included only in the forwarded e-mail message 73.
Each successive reply, forwarding or similar operation increases the conversation thread length 47 of the message. Thread lengths 47 are indicated within the messages themselves by some form of delimiter. In the example shown, the inclusion of the original e-mail message 71 in the reply e-mail message 72 is delimited by both a separator 80 and a “RE:” indicator in the subject line 79. Likewise, the inclusion of the reply e-mail message 72 is delimited by a separator 84 and a “FW:” indicator in the subject line 83. The message separators 80, 84 and subject line indicators 79, 83 constitute thread “markers” that can be searched, identified and analyzed by the message processor 20 in determining thread lengths 47 and near duplicate messages 46.
During initialization, the message stores 41 (shown in
In the described embodiment, assuming that the aggregate number of messages exceeds the program bounds, the processing is broken down into a series of passes n, during each of which a portion of the aggregate message stores 41 is processed. The number of passes n required to process the source message stores 41 is determined (block 103) by an appropriate equation, such as the following equation:
where n equals the total number of iterative passes, TotNumMessages is the total number of messages in the aggregate of the message stores 41, and ProgMax is the maximum program message processing capacity.
In the described embodiment, the aggregate selection of messages from the message stores 41 is processed by overlapping partition i, preferably labeled by dividing the alphabet into partitions corresponding to the number of passes n. For example, if two passes n are required, the partitions would be “less than M” and “greater than L.” Similarly, if 52 passes n were required, the partitions would be “less than Am” and “greater than Al and less than Ba.”
During operation, the partitions, if required, are processed in an iterative processing loop (blocks 104-106). During each pass n (block 104) the messages are processed (block 105), as further described below beginning with reference to
During the outer processing loop (blocks 122-129), a folder corresponding to each source message store 41 is created in the shadow store 48 (block 123). Next, each of the folders in the current selected source message store 41 is iteratively processed in the inner processing loop (blocks 124-128) as follows. First, the message counter is incremented by the number of messages in the folder being examined in the source message store 41 (block 125) and a corresponding folder in the shadow store 48 is created (block 126). An entry is made in a point-to-point keyed collection 35 (block 127) that constitutes a cross-reference between a pointer to the original message store 41 or folder in the original message store and a pointer to the newly created corresponding folder or subfolder in the shadow store 48. When unique messages are later copied into the shadow store 48, this keyed file allows the copying to proceed “point-to-point,” rather than requiring that the folders in the shadow store 48 be iteratively searched to find the correct one. Processing of each folder in the current source message store 41 continues (block 128) for each remaining folder in the source message store. Similarly, processing of each of the source message stores themselves 41 continues (block 129) for each remaining source message store 41, after which the routine returns (block 130), providing a count of all the messages in all the source message stores so that the number of passes required can be determined.
The messages are processed in a processing loop (blocks 141-144). During each iteration (block 141), each message in the selected folder is checked for membership in the current partition i of the source message stores 41 (block 142). If the message is in the current partition i (block 142), the message is logically transferred into the master array 42 (block 143) by extracting the topic and location information, including message identification information and pointers to the source message store 41, the source message folder, and to the individual message (metadata). Using metadata, rather than copying entire messages, conserves storage and memory space and facilitates faster processing. Processing continues for each message in the selected folder (block 144).
When all folders have been processed and the metadata for those messages found to be within the partition has been transferred into the master array, message processing begins. The messages are sorted by topic (block 145) and the master array 42 is processed (block 146), as further described below with reference to
If the topics do not match (block 163), the preceding topic range is ending and a new topic range is starting. If the current message was not the first message with that topic (block 166), the range of messages with the same topic (which began with the message marked at block 165) is processed (block 168). If the current message is the first message with the matching topic (block 166), the message is extracted as a unique message 45 (block 167) and processing continues with the next message (block 171). If the topic range has ended (block 166), each topically identical message, plus message transmission time, is logically extracted into the topic array 43 (block 168). In the described embodiment, the messages are not physically copied into the topic array 43; rather, each message is logically “transferred” using metadata into the topic array 43 to provide message source location information, which is used to add a copy of the plaintext body of the message into the topic array. The topic array 43 is sorted by plaintext body (block 169) and processed (block 170), as further described below with reference to
During the first processing loop (blocks 181-187) each message in the topic array 43 is examined. The plaintext body of the current message is compared to the plaintext body of the next message (block 182). If the plaintext bodies match (block 183), an exact duplicate message possibly exists, pending verification. The candidate exact duplicate is verified by comparing the header information 75, 77, 81 (shown in
Next, the messages marked as exact duplicate messages are removed from the topic array 43 (block 188) and the remaining non-exact duplicate messages in the topic array 43 are processed in the second processing loop (blocks 189-194) as follows. First, each message is searched for thread markers, including separators 80, 84 and subject line indicators 79-83 (shown in
The topic array is next sorted in order of increasing thread markers m (block 195) and the messages remaining in the topic array 43 are iteratively processed in the third processing loop (block 196-203). During each processing loop (block 196), the first and subsequent messages are selected (blocks 197, 198) and the plaintext body of the messages compared (block 199). In the described embodiment, a text comparison function is utilized to allow large text blocks to be efficiently compared. If the plaintext body of the first selected message is included in the plaintext body of the second selected message (block 200), the first message is marked as a near duplicate of the second message and identification information on the first and second messages and their relationship is saved into the log 49 and cross-reference keyed collection 36 (shown in
The production server 231 maintains an archived message store (AMS) 236 on a storage device 234 and a database 235. The production server 231 preferably functions as an off-line message processing facility, which receives individual message stores 21 and workgroup message stores 22 for document review processing as the archived message stores 236. The database 235 abstracts the contents of individual messages extracted from the archived message stores 236 into structured message records as a form of standardized representation for efficient processing and identification of duplicative content, including attachments, as further described below with reference to
The production message server 233 includes five primary modules: message extractor 241, message de-duper 242, parser 243, digester 244, and comparer 245. Prior to processing, the production message processor 233 logically assembles the archived message stores 236 by first importing each individual message store 21 and workgroup message store 22 from the physical storage media upon which the message store 21, 22 is maintained. The archived message stores 236 provide a normalized electronic storage structure independent of physical storage media. Consequently, importing each individual message 21 and workgroup message store 22 can include converting the message store from a compressed or archival storage format into a standardized “working” message store format for message access and retrieval. In the described embodiment, the formats used for individual messages and message stores as used in the Outlook family of messaging applications, licensed by Microsoft Corporation, Redmond, Wash., and cc:mail family of messaging applications, licensed by Lotus Corporation, Cambridge, Mass., are supported, and other messaging application formats could likewise be supported, as would be recognized by one skilled in the art. At each stage of message processing, a log entry can be created (or an existing log entry modified) in a log 247 for tracking messages and recording message identification information.
The message extractor 241 retrieves each individual message from the archived message stores 236. The parser 243 parses individual fields from each extracted message and identifies message routing, identification information and literal content within each field. The parsed metadata and message body are then stored in message records 248 maintained in the database 235, as further described below with reference to
The hash codes 249 are calculated using a one-way function to generate a substantially unique alphanumeric value, including a purely numeric or alphabetic value, associated with the message or attachment. The hash codes 249 are calculated over at least part of each message header, plus the complete message body. If the message includes attachments, separate attachment hash codes 249 are calculated over at least part of each attachment. For each message, the hash code 249 can be calculated over at least part of the header, plus the complete message body. In addition, the demarcation between the data constituting a header and the data constituting a message body can vary and other logical grouping of data into headers, message bodies, or other structures or groupings are possible, as would be recognized by one skilled in the art.
In the described embodiment, the MD5 hashing algorithm, which stands for “Message Digest No. 5,” is utilized and converts an arbitrary sequence of bytes having any length into a finite 128-bit digest, such as described in D. Gourley and B. Totty, “HTTP, the Definitive Guide,” pp. 288-299, O'Reilly and Assocs., Sebastopol, Calif. (2002), the disclosure of which is incorporated by reference. Other forms of cryptographic check summing, one-way hash functions, and fingerprinting functions are possible, including the Secure Hash Algorithm (SHA), and other related approaches, as would be recognized by one skilled in the art.
Once the message records 248 in the database 235 have been populated with the extracted messages, the message de-duper 242 identifies unique messages, exact duplicate messages, and near duplicate messages, as further described below with reference to
The files table 271 stores one record for each individual message extracted from the archived message stores 236. Each record in the files table 271 shares a one-to-one relationship with an extracted message. Each record is assigned a unique, monotonically increasing identification number (id) 275. The files table 271 includes fields for storing the extracted message name 276, type 277, type confirmation 278, path 279, length 280, modified date 281, created date 282, description 283, owner key 284, and Bates tag 286. In addition, the hash code 261 for the extracted message, exclusive of any attachments, is stored in a hash code field 285.
The mail properties table 272 contains the message routing, identification information and literal content associated with each extracted message. Each record in the mail properties table 272 shares a one-to-one relationship with an associated record in the files table 271. Each record in the mail properties table 272 is identified by a file identifier (FileId) 287. The mail properties table 272 includes fields for storing message unique ID 288, sent from 289, sent to 290, sent cc 291, sent bcc 292, sent date 293, subject 294, thread subject 295, and message 296. The hash code 261 is calculated by the digester 244 using select fields 302 of each record, which include all of the fields except the file identifier 287 and message unique ID 288 fields, although one skilled in the art would recognize that other combinations and selections of fields could also be used to calculate the hash code 261.
The compound documents table 273 and compound members table 274 share a one-to-many relationship with each other. The records in the compound documents table 273 and compound members table 274 store any attachments associated with a given extracted message stored in a record in the file table 271. Each record in the compound documents table 273 contains a root file identifier (routeFileId) 297. The compound documents table 273 includes fields for storing marked category 299 and the hash code 263 is stored in a hash code field 298. Each record in the compound documents table 273 shares a one-to-many relationship with each attachment associated with an extracted message. Similarly, each record in the compound members 274 is uniquely identified by a file ID (FileId) 300 field and a compound document key field 301.
During the second phase, individual messages are extracted from the archived message stores 236 (block 213), as further described below with reference to
During the third phase, the extracted messages, as stored in message records 248 in the database 235, are “de-dupped,” that is, processed to identify unique messages 265, exact duplicate messages 266, and near duplicate messages 267 (block 313). Finally, the routine terminates.
The messages in each of the archived message stores 236 are iteratively processed in a pair of nested processing loops (blocks 321-333 and blocks 322-332, respectively). Each of the archived message stores 236 is processed during an iteration of the outer processing loop (block 321). Each message stored in an archived message store 236 is processed during an iteration of the inner processing loop (block 322). Each message is extracted from an archived message store 236 (block 322) and each extracted message is digested into a hash code 261 over at least part of the header, plus the complete message body, exclusive of any attachments (block 324). Each hash code is a sequence of alphanumeric characters representing the content, also referred to as a digest. The hash codes are calculated using a one-way function to generate a substantially unique alphanumeric value, including a purely numeric or alphabetic value, associated with message or attachment. In the described embodiment, the MD5 hashing algorithm is used to form a fixed-length 128-bit digest of each extracted message and routing information. Next, the metadata for each extracted message is parsed and stored into records in the files table 271 and mail properties table 272 along with the hash code 261 and indexed by a unique identifier 275 (block 325).
If the extracted message contains one or more attachments (block 326), each attachment is iteratively processed (blocks 327-329) as follows. At least part of each attachment is digested by the digester 244 into a hash code 263 (block 328). Each remaining attachment is iteratively processed (block 329). The message hash code 261 and each attachment hash code 263 are concatenated into a compound hash code and are stored as a compound document record in the compound documents table 273 and the compound members table 274 (block 330). Note the message hash code 261 and each attachment hash code 263 could also be logically concatenated and stored separately, as would be recognized by one skilled in the art. Each message in the archived message store 236 is iteratively processed (block 331) and each archived message store 236 is iteratively processed (block 332), after which the routine returns.
The messages stored in records in the database 235 are iteratively processed in a processing loop (blocks 341-346). Each message is processed during an iteration of the processing loop (block 341). First, the file record 271 corresponding to each message is retrieved from the database 235 (block 342). If the message is not a compound message, that is, the message does not contain attachments (block 343), the message hash code 261 is obtained (block 344) and processing continues with the next message (block 346). Otherwise, if the message is a compound message (block 343), the compound hash code is obtained (block 345) and processing continues with the next message (block 346).
Next, the messages are grouped by matching hash codes (block 347) and each group of matching hash codes is iteratively processed in a processing loop (blocks 348-351). Any groups with more than one message are processed to identify exact duplicates based on matching hash codes. A randomly selected message in the group is marked as a unique message (block 349) and the remaining messages in the group are culled, that is, marked as exact duplicates messages (block 350). Other methodologies for selecting the unique message can be used, as would be recognized by one skilled in the art. Processing continues with the next group (block 351).
Next, all non-exact duplicate messages are now iteratively processed for near-duplicates. The messages are grouped by conversation thread (block 352). In the described embodiment, the messages are sorted in descending order of message body length (block 353), although the messages could alternatively be sorted in ascending order, as would be recognized by one skilled in the art. The threads, messages, and “shorter” messages are then iteratively processed in a series of nested processing loops (blocks 354-365, 355-364, and 356-363, respectively). Each thread is processed during an iteration of the outer processing loop (block 354). Each message within the thread is processed during an iteration of an inner processing loop (block 355) and each message within the thread having an equal or shorter length, that is, each shorter message, is processed during an iteration of an innermost processing loop (block 356). The message bodies of the first message and the shorter message are compared (block 357). If the message bodies are not contained within each other (block 358), the shorter message is left marked as a unique message and the processing continues with the next shorter message (block 363).
Otherwise, if the message body of the shorter message is contained within the message body of the first message (block 358), the attachment hash codes 263 are compared (block 359) to identify unique messages 265 and near duplicate messages 267, as follows. First, if the message does not include any attachments, the shorter message is culled, that is, marked as a near duplicate of the first message (block 362). If the message includes attachments (block 359), the individual attachment hash codes 263 are compared to identify a matching or subset relationship (block 360). If the attachment hash codes 263 indicate a matching or subset relationship between the first message and the shorter message (block 361), the shorter message is culled, that is, marked as a near duplicate message 267 of the first message (block 362). Otherwise, the shorter message is left marked as a unique message 265. Processing continues with the next shorter message in the thread (block 363). After all shorter messages have been processed (block 363), processing continues with the next message (block 364) and next thread (block 365), respectively. The routine then returns.
While the invention has been particularly shown and described as referenced to the embodiments thereof, those skilled in the art will understand that the foregoing and other changes in form and detail may be made therein without departing from the spirit and scope of the invention.
This patent application is a continuation of U.S. Pat. No. 8,914,331, issued Dec. 16, 2014; which is a continuation of U.S. Pat. No. 8,626,767, issued Jan. 7, 2014, which is a continuation of U.S. Pat. No. 8,458,183, issued Jun. 4, 2013; which is a continuation of U.S. Pat. No. 8,108,397, issued Jan. 31, 2012; which is a continuation of U.S. Pat. No. 7,836,054, issued Nov. 16, 2010; which is a continuation of U.S. Pat. No. 7,577,656, issued Aug. 18, 2009; which is a continuation of U.S. Pat. No. 7,035,876, issued Apr. 25, 2006; which is a continuation of U.S. Pat. No. 6,820,081, issued Nov. 16, 2004; which is a continuation-in-part of U.S. Pat. No. 6,745,197, issued Jun. 1, 2004, the priority dates of which are claimed and the disclosures of which are incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
4653048 | Anderson | Mar 1987 | A |
5050212 | Dyson | Sep 1991 | A |
5056021 | Ausborn | Oct 1991 | A |
5317568 | Bixby et al. | May 1994 | A |
5477451 | Brown et al. | Dec 1995 | A |
5488725 | Turtle et al. | Jan 1996 | A |
5699500 | Dasgupta | Dec 1997 | A |
5732265 | Dewitt et al. | Mar 1998 | A |
5757669 | Christie et al. | May 1998 | A |
5799276 | Komissarchik et al. | Aug 1998 | A |
5860136 | Fenner | Jan 1999 | A |
5862325 | Reed et al. | Jan 1999 | A |
5867799 | Lang et al. | Feb 1999 | A |
5905863 | Knowles et al. | May 1999 | A |
5909677 | Broder et al. | Jun 1999 | A |
5915024 | Kitaori et al. | Jun 1999 | A |
5950146 | Vapnik | Sep 1999 | A |
5987432 | Zusman | Nov 1999 | A |
6026397 | Sheppard | Feb 2000 | A |
6119124 | Broder et al. | Sep 2000 | A |
6137911 | Zhilyaev | Oct 2000 | A |
6148102 | Stolin | Nov 2000 | A |
6167368 | Wacholder | Dec 2000 | A |
6173275 | Caid et al. | Jan 2001 | B1 |
6189002 | Roitblat | Feb 2001 | B1 |
6219715 | Ohno et al. | Apr 2001 | B1 |
6223209 | Watson | Apr 2001 | B1 |
6230155 | Broder et al. | May 2001 | B1 |
6240409 | Aiken | May 2001 | B1 |
6263348 | Kathrow et al. | Jul 2001 | B1 |
6292880 | Beguelin et al. | Sep 2001 | B1 |
6314425 | Serbinis et al. | Nov 2001 | B1 |
6330589 | Kennedy | Dec 2001 | B1 |
6345243 | Clark | Feb 2002 | B1 |
6349296 | Broder et al. | Feb 2002 | B1 |
6389433 | Bolosky | May 2002 | B1 |
6421709 | McCormick et al. | Jul 2002 | B1 |
6438564 | Morton | Aug 2002 | B1 |
6442592 | Alumbaugh et al. | Aug 2002 | B1 |
6446061 | Doerre et al. | Sep 2002 | B1 |
6453327 | Nielsen | Sep 2002 | B1 |
6480885 | Oliver | Nov 2002 | B1 |
6484196 | Maurille | Nov 2002 | B1 |
6507847 | Fleischman | Jan 2003 | B1 |
6510406 | Marchisio | Jan 2003 | B1 |
6523063 | Hanson et al. | Feb 2003 | B1 |
6549957 | Hanson et al. | Apr 2003 | B1 |
6560597 | Dhillon et al. | May 2003 | B1 |
6584564 | Olkin et al. | Jun 2003 | B2 |
6598054 | Schuetze et al. | Jul 2003 | B2 |
6643686 | Hall | Nov 2003 | B1 |
6654739 | Apte et al. | Nov 2003 | B1 |
6658423 | Pugh | Dec 2003 | B1 |
6675159 | Lin et al. | Jan 2004 | B1 |
6678705 | Berchtold et al. | Jan 2004 | B1 |
6701305 | Holt et al. | Mar 2004 | B1 |
6711585 | Copperman et al. | Mar 2004 | B1 |
6745197 | McDonald | Jun 2004 | B2 |
6751628 | Coady | Jun 2004 | B2 |
6820081 | Kawai et al. | Nov 2004 | B1 |
7003551 | Malik | Feb 2006 | B2 |
7020645 | Bisbee et al. | Mar 2006 | B2 |
7035876 | Kawai et al. | Apr 2006 | B2 |
7035903 | Baldonado | Apr 2006 | B1 |
7117246 | Christenson et al. | Oct 2006 | B2 |
7209949 | Mousseau et al. | Apr 2007 | B2 |
7240199 | TomKow | Jul 2007 | B2 |
7266365 | Ferguson et al. | Sep 2007 | B2 |
7325127 | Olkin et al. | Jan 2008 | B2 |
7353204 | Liu | Apr 2008 | B2 |
7366718 | Pugh | Apr 2008 | B1 |
7412462 | Margolus et al. | Aug 2008 | B2 |
7577656 | Kawai et al. | Aug 2009 | B2 |
7836054 | Kawai et al. | Nov 2010 | B2 |
7945600 | Thomas | May 2011 | B1 |
20010056362 | Hanagan et al. | Dec 2001 | A1 |
20020065912 | Catchpole et al. | May 2002 | A1 |
20020122543 | Rowen | Sep 2002 | A1 |
20020161788 | McDonald | Oct 2002 | A1 |
20020163912 | Carlson | Nov 2002 | A1 |
20020184193 | Cohen | Dec 2002 | A1 |
20040221295 | Kawai | Nov 2004 | A1 |
20070011244 | O'Neal | Jan 2007 | A1 |
20080162478 | Pugh | Jul 2008 | A1 |
20120078871 | Pugh | Mar 2012 | A1 |
Number | Date | Country |
---|---|---|
WO 2006008733 | Jan 2003 | WO |
Entry |
---|
Pelleg et al., “Accelerating Exact K-Means Algorithms With Geometric Reasoning,” School of Computer Science, Carnegie Mellon University, Pittsburgh, Date: 1999. |
D. Gourley, B. Totty, “HTTP, The Definite Guide,” pp. 288-299, O'Reilly and Associates, Inc., Sebastopol, CA (2002). |
Linhui, Jiang, “K-Mean Algorithm: Iterative Partitioning Clustering Algorithm,” http://www.cs.regina.ca/˜linhui/K—mean—algorithm.html, (2001) Computer Science Department, University of Regina, Saskatchewan, Canada. |
Kanugo et al., “The Analysis of a Simple K-Means Clustering Algorithm,” pp. 100-109, Proc 16th annual symposium of computational geometry (May 2000). |
Jain et al., “Data Clustering: A Review,” vol. 31, No. 3, ACM Computing surveys, (Sep. 1999). |
R. Orfali et al., “Client/Server Survival Guide,” Ch. 19, John Wiley & Sons, Inc. (1999 3rd ed.). |
Christina Yip Chung et al., “Thematic Mapping—From Unstructured Documents to Taxonomies,” CIKM'02, Nov. 4-9, 2002, pp. 608-610, ACM, McLean, Virginia, USA. |
Hiroyuki Kawano, “Overview of Mondou Web Search Engine Using Text Mining and Information Visualizing Technologies,” IEEE, 2001, pp. 234-241. |
James Osborn et al., “Justice: A Judicial Search Tool Using Intelligent Concept Extraction,” ICAIL-99, 1999, pp. 173-181, ACM. |
Chen An et al., “Fuzzy Concept Graph and Application in Web Document Clustering,” 2001, pp. 101-106, IEEE. |
“Distribution Duplication Prevention Mechanism,” Kenenth Mason Publications, No. 336, p. 261, Great Britain (Apr. 1992). |
Number | Date | Country | |
---|---|---|---|
20150100595 A1 | Apr 2015 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 14148713 | Jan 2014 | US |
Child | 14571282 | US | |
Parent | 13909065 | Jun 2013 | US |
Child | 14148713 | US | |
Parent | 13361900 | Jan 2012 | US |
Child | 13909065 | US | |
Parent | 12946797 | Nov 2010 | US |
Child | 13361900 | US | |
Parent | 12542581 | Aug 2009 | US |
Child | 12946797 | US | |
Parent | 11410370 | Apr 2006 | US |
Child | 12542581 | US | |
Parent | 10965564 | Oct 2004 | US |
Child | 11410370 | US | |
Parent | 10627466 | Jul 2003 | US |
Child | 10965564 | US | |
Parent | 09812749 | Mar 2001 | US |
Child | 10627466 | US |