# US 2014/0207820 A1 · Method for parallel mining of temporal relations in large event file

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2014/0207820 A1
- Document ID: US20140207820A1
- Status: Published application
- Kind: A1
- Application number: 14/049,963
- Filed: 2013-10-09
- Published: 2014-07-24
- Earliest claimed: 2013-01-18
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Yong-Joon LEE
- Web page: https://patentgrep.com/patent/US20140207820A1

## CPC

- G06F 16/2465: {Query processing support for facilitating data mining operations in structured databases}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed herein is a method for parallel mining of temporal relations in a large event file using a MapReduce model. In the method for parallel mining of temporal relations in a large even file according to the present invention, an event file is sorted based on customer identification (ID) and event time at which each event has occurred. A set of large event types satisfying a preset support or more is generated from the event file. The event file is converted into a large event sequence including the large event type set. The large event sequence is summarized and then a time interval data file is created. Candidate temporal relations are generated from the time interval data file, and frequent temporal relations satisfying a preset support or more are derived from the candidate temporal relations. A temporal relation rule is generated from the derived frequent temporal relations.

## Claims

### Claim 1

A method for parallel mining of temporal relations in a large even file, comprising:
aligning an event file based on customer identification (ID) and event time at which each event has occurred;
generating a set of large event types satisfying a preset support or more from the event file;
converting the event file into a large event sequence including the large event type set;
summarizing the large event sequence and then creating a time interval data file;
generating candidate temporal relations from the time interval data file, and deriving frequent temporal relations satisfying a preset support or more from the candidate temporal relations; and
generating a temporal relation rule from the derived frequent temporal relations.

### Claim 2 (depends on 1)

The method of claim 1, wherein aligning the event file is configured to distribute and store the event file to and in a plurality of nodes using a distributed file system.

### Claim 3 (depends on 1)

The method of claim 1, wherein generating the set of the large event types is configured to determine a set of candidate event types, for which a total number of supporting customers is a preset minimum support or more, among one or more candidate event types to be the large event type set.

### Claim 4 (depends on 3)

The method of claim 3, wherein:
the candidate event types are extracted by processing the event file in parallel using a Map function, and
supports of the candidate event types are calculated in parallel using a Reduce function.

### Claim 5 (depends on 1)

The method of claim 1, wherein converting the event file into the large event sequence comprises:
extracting event records belonging to the large event types by processing the event file in parallel using a Map function;
converting event times at which the events have occurred into sequence numbers; and
generating the large event sequence by combining large event type sets, event times of which are converted into sequence numbers, in parallel using a Reduce function.

### Claim 6 (depends on 5)

The method of claim 5, wherein converting the event times at which the events have occurred into the sequence numbers comprises:
converting the event times at which the events have occurred into sequence numbers based on a preset time unit; and
calculating periods from a preset reference time point to the converted event times, thus generating sequence numbers.

### Claim 7 (depends on 6)

The method of claim 6, wherein the large event sequence includes event types and sequence numbers of the event types.

### Claim 8 (depends on 1)

The method of claim 1, wherein creating the time interval data file comprises:
calculating frequencies of one or more large event types occurring within a time window having a preset size; and
generating a set of uniform event types by selecting large event types, frequencies of which are a preset minimum frequency or more, and creating a time interval data file including the uniform event type set.

### Claim 9 (depends on 8)

The method of claim 8, wherein the time interval data file is a set of records, each including fields corresponding to a customer ID, a start point of a time interval, an end point of the time interval, and an event type.

### Claim 10 (depends on 9)

The method of claim 9, wherein the event file is summarized to the time interval data file with reference to the uniform event type set, and is distributed to and stored in a plurality of nodes through a distributed file system.

### Claim 11 (depends on 1)

The method of claim 1, wherein deriving the frequent temporal relations is configured to obtain sets of candidate temporal relations in parallel from the time interval data file using a Map function and a temporal relation table, and calculating supports of the candidate temporal relations in parallel using a Reduce function.

### Claim 12 (depends on 11)

The method of claim 11, wherein a set of candidate temporal relations, for which a total number of supporting customers is a preset minimum support or more, among one or more candidate temporal relations, is determined to be a frequent temporal relation set.

### Claim 13 (depends on 12)

The method of claim 12, wherein the candidate temporal relations are generated in a tree shape in such a way as to increase a support if an existing temporal relation is present while the time interval data file is scanned, and add a node and a connection line in which a new temporal relation is generated.

### Claim 14 (depends on 12)

The method of claim 12, wherein the temporal relation rule is derived from the frequent temporal relations using the following Equation:
TR(e1,e2,e3)=R1(e1,e2)|supp(R1)R2)(e2,e3)|supp(R2)R3(e1,e3)|supp(R3)
(where e1, e2, and e3: event types, TR: temporal relation rule, R1, R2, and R3: candidate temporal relations, supp: support of candidate temporal relation).
