# US 2017/0293292 A1 · Rule based real-time data stream-processing method and apparatus thereof

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

- Number: US 2017/0293292 A1
- Document ID: US20170293292A1
- Status: Published application
- Kind: A1
- Application number: 15/475,740
- Filed: 2017-03-31
- Published: 2017-10-12
- Earliest claimed: 2016-04-08
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Hyun-Chul KANG
- Web page: https://patentgrep.com/patent/US20170293292A1

## CPC

- G05B 19/41885: {characterised by modeling, simulation of the manufacturing system}
- G05B 19/41865: {characterised by job scheduling, process planning, material flow}
- G05B 2219/32306: Rules to make scheduling decisions
- G05B 2219/32337: Simulation, statechart SC
- Y02P 90/02: Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- Y02P: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS

## Abstract

A method and apparatus for processing a real-time data stream. The method for processing a real-time data stream based on a rule includes selecting a rule corresponding to a current factory state with reference to a rule engine in which factory states are mapped to rules corresponding thereto, analyzing a real-time data stream to be used to control a factory resource, and, when a result of the analysis satisfies a condition defined in the rule, controlling a factory resource so as to take an action corresponding to the defined condition. According to the method, the real-time data streams collected in a factory or flowing from outside the factory are processed to be suitable for the environment in the factory, whereby the operating rate and productivity of the factory may be improved.

## Claims

### Claim 1

A method for processing a real-time data stream based on a rule, comprising:
selecting a rule corresponding to a current factory state with reference to a rule engine in which factory states are mapped to rules corresponding thereto;
analyzing a real-time data stream to be used to control a factory resource; and
when a result of analysis satisfies a condition defined in the rule, controlling a factory resource so as to take an action corresponding to the defined condition.

### Claim 2 (depends on 1)

The method of claim 1, wherein the rule engine specifies information about a window size, which corresponds to each of the factory states and represents a size of a real-time data stream to be analyzed in each of the factory states.

### Claim 3 (depends on 1)

The method of claim 1, wherein the window size indicates a time or a number of occurrences of events.

### Claim 4 (depends on 1)

The method of claim 1, wherein the rule engine specifies a factory resource to be used to determine each of the factory states and a critical range of the factory resource.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
collecting information about the factory resource; and
checking the current factory state based on the collected information about the factory resource and a critical range of a factory resource corresponding to each of the factory states, specified in the rule engine.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
reselecting the rule when the current factory state is changed.

### Claim 7 (depends on 1)

The method of claim 1, wherein selecting the rule corresponding to the current factory state comprises:
when multiple rules corresponding to the current factory state are specified, selecting at least one rule in consideration of a weight of each of the rules.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
accumulating a result of analysis of the real-time data stream and a frequency of occurrence of each of the factory states;
repeatedly changing a condition of a rule corresponding to a frequently occurring factory state and applying the accumulated result of analysis of the real-time data stream, and thereby selecting a condition under which highest utilization of a factory resource is realized; and
setting the selected condition as a condition of a rule corresponding to the factory state.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
accumulating a result of analysis of the real-time data stream; and
setting a factory state corresponding to a frequently appearing analysis result and a rule to be used in the corresponding factory state.

### Claim 10

An apparatus for processing a real-time data stream based on a rule, comprising:
a rule engine management unit for managing a rule engine in which factory states are mapped to rules corresponding thereto;
a factory state management unit for managing a current factory state; and
an information-processing unit for selecting a rule corresponding to the current factory state, analyzing a real-time data stream to be used to control a factory resource, and, when a result of analysis satisfies a condition defined in the rule, controlling the factory resource so as to take an action corresponding to the defined condition.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the rule engine specifies information about a window size, which corresponds to each of the factory states and represents a size of a real-time data stream to be analyzed in each of the factory states.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the window size indicates a time or a number of occurrences of events.

### Claim 13 (depends on 10)

The apparatus of claim 10, wherein the rule engine specifies a factory resource to be used to determine each of the factory states and a critical range of the corresponding factory resource.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the factory state management unit checks the current factory state based on collected information about the factory resource and a critical range of a factory resource corresponding to each of the factory states, specified in the rule engine.

### Claim 15 (depends on 10)

The apparatus of claim 10, wherein the information-processing unit reselects the rule when the current factory state is changed.

### Claim 16 (depends on 10)

The apparatus of claim 10, wherein, when multiple rules corresponding to the current factory state are specified, the information-processing unit selects at least one rule in consideration of a weight of each of the rules.

### Claim 17 (depends on 10)

The apparatus of claim 10, further comprising:
an information storage unit for accumulating and managing a result of analysis of the real-time data stream and a frequency of occurrence of each of the factory states; and
a simulation unit for applying the accumulated result of analysis of the real-time data stream with a change of a condition of a rule corresponding to a frequently occurring factory state, selecting a condition under which highest utilization of a factory resource is realized, and controlling the rule engine management unit so as to set the selected condition as a condition of a rule corresponding to the factory state.

### Claim 18 (depends on 10)

The apparatus of claim 10, further comprising:
an information storage unit for accumulating and managing a result of analysis of the real-time data stream; and
a simulation unit for controlling the rule engine management unit so as to set a factory state corresponding to a frequently appearing analysis result and a rule to be used in the corresponding factory state.
