# US 10,481,926 B2 · Apparatus for compiling script

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

- Number: US 10,481,926 B2
- Document ID: US10481926B2
- Status: Granted
- Kind: B2
- Application number: 15/614,733
- Filed: 2017-06-06
- Published: 2018-05-31
- Granted: 2019-11-19
- Earliest claimed: 2016-11-30
- Assignees: Lsis Co., Ltd.
- Applicants: Lsis Co., Ltd.
- Inventors: Tae-Seop Kim; Jong-Ho Park
- Web page: https://patentgrep.com/patent/US10481926B2

## CPC

- G06F 9/4494: {data driven}
- G06F 8/41: Compilation
- G06F 16/2272: {Management thereof}
- G05B 19/418: Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G06F 8/30: Creation or generation of source code
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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)

## Abstract

Disclosed herein is an apparatus for compiling scripts that compiles a script depending on whether an index of power data has been changed. The apparatus for compiling scripts includes: a database configured to store power data acquired from a power system and an index of the power data; a script generating unit configured to generate a script based on the power data stored in the database; a determining unit configured to determine whether the index of the power data stored in the database has been changed; and a compiling unit configured to compile the script generated in the script generating unit by referring to a predetermined instruction based on the determination result.

## Claims

### Claim 1

An apparatus employed in a supervisory control and data acquisition (SCADA) system for compiling scripts, comprising:
a database configured to store, via a processor and a memory, power data acquired from a power system and an index of the power data;
a script generating unit configured to generate, via the processor, a script based on the power data stored in the database;
a determining unit configured to determine, via the processor, whether the index of the power data stored in the database has been changed; and
a compiling unit configured to compile, via the processor, the script generated in the script generating unit based on the determination result,
wherein the database is further configured to store version information corresponding to the power data and the index of the power data,
wherein the version information is set according to whether the power data and the index of the power data have been changed,
wherein the script generating unit generates a script based on the power data corresponding to the version information,
wherein, if an error occurs in the script, the script generating unit recovers a previous script stored in the database corresponding, according to the version information, to a previous version of the script, and
wherein, if it is determined that the index of the power data has been changed, the compiling unit compiles only a part of an already-generated script that is generated based on the power data with the changed index by referring to the changed index of the power data.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein, if it is determined that the index of the power data has been changed, the compiling unit compiles the generated script by referring to the changed index of the power data.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the determining unit determines whether the index of the power data has been changed by referring to the version information.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the index of the power data comprises information on at least one of a name, a size, an attribute and a log location of the power data.
