KR20150003509A - Apparatus, method and computer readable recording medium for compressing time series processing data - Google Patents

Apparatus, method and computer readable recording medium for compressing time series processing data Download PDF

Info

Publication number
KR20150003509A
KR20150003509A KR1020130076457A KR20130076457A KR20150003509A KR 20150003509 A KR20150003509 A KR 20150003509A KR 1020130076457 A KR1020130076457 A KR 1020130076457A KR 20130076457 A KR20130076457 A KR 20130076457A KR 20150003509 A KR20150003509 A KR 20150003509A
Authority
KR
South Korea
Prior art keywords
data
change amount
amount
change
mapped
Prior art date
Application number
KR1020130076457A
Other languages
Korean (ko)
Other versions
KR101575015B1 (en
Inventor
문병선
Original Assignee
(주) 솔텍시스템
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by (주) 솔텍시스템 filed Critical (주) 솔텍시스템
Priority to KR1020130076457A priority Critical patent/KR101575015B1/en
Publication of KR20150003509A publication Critical patent/KR20150003509A/en
Application granted granted Critical
Publication of KR101575015B1 publication Critical patent/KR101575015B1/en

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16ZINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS, NOT OTHERWISE PROVIDED FOR
    • G16Z99/00Subject matter not provided for in other main groups of this subclass
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating

Abstract

An embodiment of the present invention relates to a method for compressing a plurality of first data, which is successively inputted, and a plurality of second data mapped to the first data. The method comprises a step for calculating the change amount for second data mapped to (K+1)^th first data for the second data mapped to K^th first data and temporally storing the same in a first storage unit; a step for calculating the change amount of the second data mapped to L^th first data for the second data mapped to (L-1)^th first data after the K^th first data; and a step for storing the change amount of the (K+1)^th second data which is temporally stored in a second storage unit when the difference between the change amount of the L^th second data and the change amount of the (K+1)^th second data which is temporally stored exceeds a predetermined allowable range.

Description

시계열적 공정 데이터의 압축 장치, 방법 및 컴퓨터 판독 가능한 기록 매체{APPARATUS, METHOD AND COMPUTER READABLE RECORDING MEDIUM FOR COMPRESSING TIME SERIES PROCESSING DATA}TECHNICAL FIELD [0001] The present invention relates to a compression apparatus, a method, and a computer readable recording medium for a time-series thermal process data,

본 발명의 실시 예는 데이터 압축에 관한 것으로, 보다 상세하게는 연속된 각 시간에 대응하는 공정 데이터를 압축하여 저장할 수 있는 시계열적 공정 데이터의 압축 장치, 방법 및 컴퓨터 판독 가능한 기록 매체에 관한 것이다.An embodiment of the present invention relates to data compression, and more particularly, to an apparatus, method and computer-readable recording medium for compressing and storing time-series process data corresponding to each successive time.

제품을 제조하는 생산 공정에서는 여러 가지 목적으로 공정상에서 발생하는 많은 양의 데이터를 수집하여 분석하여야 한다. 그러나, 실시간으로 계속해서 생성되는 데이터의 양이 상당히 많기 때문에, 공정 데이터를 저장할 수 있는 데이터 저장 공간이 부족할 수 있다.In the production process of manufacturing products, a large amount of data generated in the process for various purposes must be collected and analyzed. However, since the amount of data that is continuously generated in real time is considerably large, the data storage space for storing the process data may be insufficient.

이와 같이, 데이터 저장 공간의 크기의 제약과 처리 속도의 문제로 인하여 오라클(oracle), SQL 서버 등과 같은 기존의 인덱스 기반의 데이터 베이스 시스템에서는 제조 공정에서 발생되는 방대한 양의 실시간 데이터를 저장 및 처리하는 데 한계가 있다.Thus, due to the limitation of the size of the data storage space and the processing speed, existing index-based database systems such as oracle and SQL server store and process vast amounts of real-time data generated in the manufacturing process There is a limit.

따라서, 제조 공정에서 발생되는 데이터를 수집하여 효율적으로 저장할 수 있는 공정 데이터의 압축 방법의 필요성이 요구되고 있다.Accordingly, there is a need for a method of compressing process data that can collect and efficiently store data generated in a manufacturing process.

본 발명의 일 실시 예는 순차적으로 입력되는 복수의 시계열적 공정 데이터에서 각 데이터 간의 변화량(또는 기울기)을 산출하여 압축 저장함으로써 저장하는 데이터의 크기를 줄일 수 있는 시계열적 공정 데이터의 압축 장치, 방법 및 컴퓨터 판독 가능한 기록 매체를 제공할 수 있다.One embodiment of the present invention is a method and apparatus for compressing time-series process data, which can reduce the size of data to be stored by calculating and storing a change amount (or a slope) between each data in a plurality of time- And a computer-readable recording medium.

또한, 본 발명의 다른 실시 예는 순차적으로 입력되는 복수의 시계열적 공정 데이터에서 각 데이터 간의 변화량(또는 기울기)을 산출하고, 데이터 간의 변화량이 미리 설정된 허용 범위를 초과할 경우에만 데이터를 저장함으로써 저장하는 데이터의 크기를 줄일 수 있는 시계열적 공정 데이터의 압축 장치, 방법 및 컴퓨터 판독 가능한 기록 매체를 제공할 수 있다.In another embodiment of the present invention, a change amount (or a slope) between each piece of data is calculated in a plurality of pieces of time-series process data sequentially input, and the data is stored only when the amount of change between pieces of data exceeds a predetermined allowable range A method and a computer-readable recording medium for compressing time-series process data capable of reducing the size of data to be subjected to the thermal process.

본 발명의 일 측면에 따르면, 시계열적 공정 데이터의 압축 방법은, 순차적으로 입력되는 복수의 제1 데이터들, 및 각각의 상기 제1 데이터와 매핑되는 제2 데이터들을 압축하는 방법으로서, K 번째 제1 데이터에 매핑된 제2 데이터에 대한 K+1 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하여 제1 저장부에 임시 저장하는 단계; 상기 K 번째 이후의 L-1 번째 제1 데이터에 매핑된 제2 데이터에 대한 L 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하는 단계; 및 상기 산출된 L 번째 제2 데이터의 변화량과 상기 임시 저장된 K+1 번째 제2 데이터의 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 임시 저장된 K+1 번째 제2 데이터의 변화량을 제2 저장부에 저장하는 단계를 포함할 수 있다.According to an aspect of the present invention, a method for compressing time-series process data is a method for compressing a plurality of first data sequentially input and second data mapped to each first data, Calculating a change amount of the second data mapped to the (K + 1) th first data with respect to the second data mapped to the first data, and temporarily storing the calculated amount of change in the first storage; Calculating a variation amount of second data mapped to L-th first data with respect to second data mapped to the (K-1) -th first data; And a difference between the calculated change amount of the L-th second data and the change amount of the temporarily stored K + 1-th second data exceeds a preset allowable range, the change amount of the temporarily stored K + And storing it in a storage unit.

상기 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 임시 저장된 K+1번째 제2 데이터의 변화량을 상기 산출된 L 번째 제2 데이터의 변화량으로 대체하여 임시 저장하는 단계를 더 포함할 수 있다.If the difference of the amount of change exceeds a preset allowable range, replacing the change amount of the temporarily stored K + 1-th second data with the calculated amount of change of the L-th second data and temporarily storing the change amount.

상기 제1 데이터는 시간 정보와 관련될 수 있다.The first data may be associated with time information.

상기 산출된 L 번째 제2 데이터의 변화량과 상기 임시 저장된 K+1 번째 제2 데이터의 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 L 번째 제1 데이터와 상기 조건이 만족된 이전 제1 데이터의 오프셋을 상기 제2 저장부에 저장하는 단계를 더 포함할 수 있다.If the difference between the calculated change amount of the L-th second data and the change amount of the temporarily stored K + 1-th second data exceeds a preset allowable range, the L-th first data and the previous first data And storing the offset of the first storage unit in the second storage unit.

본 발명의 다른 측면에 따르면, 시계열적 공정 데이터의 압축 방법은, 순차적으로 입력되는 복수의 제1 데이터들, 및 각각의 상기 제1 데이터와 매핑되는 제2 데이터들을 압축하는 방법으로서, 첫 번째 제1 데이터에 매핑된 제2 데이터에 대한 두 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하여 제1 저장부에 저장하는 단계; K 번째 제1 데이터에 매핑된 제2 데이터에 대한 K+1 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하여 제2 저장부에 임시 저장하는 단계; 상기 K 번째 이후의 L-1 번째 제1 데이터에 매핑된 제2 데이터에 대한 L 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하는 단계; 및 상기 산출된 L 번째 제2 데이터의 변화량과 상기 임시 저장된 K+1 번째 제2 데이터의 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 산출된 L 번째 제2 데이터의 변화량을 상기 제1 저장부에 저장하는 단계를 포함할 수 있다.According to another aspect of the present invention, a method for compressing time-series process data is a method for compressing a plurality of first data sequentially input and second data mapped to each of the first data, Calculating a change amount of the second data mapped to the second first data with respect to the second data mapped to the first data, and storing the calculated amount of change in the first storage unit; Calculating a change amount of the second data mapped to the (K + 1) th first data with respect to the second data mapped to the Kth first data, and temporarily storing the calculated amount of change in the second storage; Calculating a variation amount of second data mapped to L-th first data with respect to second data mapped to the (K-1) -th first data; And a difference between the calculated amount of change of the L-th second data and the amount of change of the temporarily stored K + 1-th second data exceeds a preset allowable range, And storing the data in the storage unit.

상기 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 임시 저장된 K+1번째 제2 데이터의 변화량을 상기 산출된 L 번째 제2 데이터의 변화량으로 대체하여 상기 제2 저장부에 임시 저장하는 단계를 더 포함할 수 있다.Replacing the change amount of the temporarily stored K + 1-th second data with the calculated change amount of the L-th second data and temporarily storing the change in the K + 1-th second data when the difference of the change amount exceeds a preset allowable range .

상기 제1 데이터는 시간 정보와 관련될 수 있다.The first data may be associated with time information.

상기 산출된 L 번째 제2 데이터의 변화량과 상기 임시 저장된 K+1 번째 제2 데이터의 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 L 번째 제1 데이터와 상기 조건이 만족된 이전 제1 데이터의 오프셋을 상기 제2 저장부에 저장하는 단계를 더 포함할 수 있다.If the difference between the calculated change amount of the L-th second data and the change amount of the temporarily stored K + 1-th second data exceeds a preset allowable range, the L-th first data and the previous first data And storing the offset of the first storage unit in the second storage unit.

본 발명의 또 다른 측면에 따르면, 시계열적 공정 데이터의 압축 장치는, 순차적으로 입력되는 복수의 제1 데이터들, 및 각각의 상기 제1 데이터와 매핑되는 제2 데이터들을 압축하는 장치로서, K 번째 제1 데이터에 매핑된 제2 데이터에 대한 K+1 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하는 데이터 비교부; 상기 데이터 비교부에서 산출된 변화량을 임시 저장하는 버퍼; 상기 K 번째 이후의 L-1 번째 제1 데이터에 매핑된 제2 데이터에 대한 L 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하는 변화량 산출부; 및 상기 산출된 L 번째 제2 데이터의 변화량과 상기 버퍼에 임시 저장된 K+1 번째 제2 데이터의 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 임시 저장된 K+1 번째 제2 데이터의 변화량을 데이터베이스에 저장하는 변화량 비교부를 포함할 수 있다.According to another aspect of the present invention, an apparatus for compressing time-series processing data compresses a plurality of first data sequentially input and second data mapped to each of the first data, A data comparing unit for calculating a change amount of second data mapped to the (K + 1) th first data for the second data mapped to the first data; A buffer for temporarily storing the amount of change calculated by the data comparison unit; A change amount calculating unit for calculating a change amount of the second data mapped to the L-th first data with respect to the second data mapped to the (L-1) th first data after the Kth; And a difference between the calculated amount of change of the L-th second data and a change amount of the (K + 1) -th second data temporarily stored in the buffer exceeds a preset allowable range, And a change amount comparing unit for storing the change amount in a database.

상기 변화량 비교부는, 상기 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 임시 저장된 K+1번째 제2 데이터의 변화량을 상기 산출된 L 번째 제2 데이터의 변화량으로 대체하여 상기 버퍼에 임시 저장할 수 있다.The change amount comparing unit may replace the change amount of the temporarily stored K + 1th second data with the calculated change amount of the Lth second data and temporarily store the change amount in the buffer when the difference in the change amount exceeds a preset allowable range have.

상기 제1 데이터는 시간 정보와 관련될 수 있다.The first data may be associated with time information.

상기 변화량 비교부는, 상기 산출된 L 번째 제2 데이터의 변화량과 상기 임시 저장된 K+1 번째 제2 데이터의 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 L 번째 제1 데이터와 상기 조건이 만족된 이전 제1 데이터의 오프셋을 상기 데이터베이스에 저장할 수 있다.Wherein the change amount comparison unit compares the L th first data with the condition when the difference between the calculated change amount of the Lth second data and the change amount of the temporarily stored K + 1 th second data exceeds a preset allowable range The offset of the previous first data may be stored in the database.

본 발명의 또 다른 측면에 따르면, 시계열적 공정 데이터의 압축 장치는, 순차적으로 입력되는 복수의 제1 데이터들, 및 각각의 상기 제1 데이터와 매핑되는 제2 데이터들을 압축하는 장치로서, K 번째 제1 데이터에 매핑된 제2 데이터에 대한 K+1 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하여 임시 저장하는 버퍼; 상기 K 번째 이후의 L-1 번째 제1 데이터에 매핑된 제2 데이터에 대한 L 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하는 데이터 비교부; 및 상기 산출된 L 번째 제2 데이터의 변화량과 상기 버퍼에 임시 저장된 K+1 번째 제2 데이터의 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 산출된 L 번째 제2 데이터의 변화량을 데이터베이스에 저장하는 변화량 비교부를 포함할 수 있다.According to another aspect of the present invention, an apparatus for compressing time-series processing data compresses a plurality of first data sequentially input and second data mapped to each of the first data, A buffer for calculating and temporarily storing the amount of change of the second data mapped to the (K + 1) th data of the second data mapped to the first data; A data comparing unit for calculating a change amount of second data mapped to L-th first data with respect to second data mapped to the (K-1) -th first data; And if the difference between the calculated change amount of the Lth second data and the change amount of the (K + 1) th second data temporarily stored in the buffer exceeds a preset allowable range, the calculated amount of change of the Lth second data is stored in the database And a change amount comparing unit for storing the change amount.

상기 변화량 비교부는, 상기 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 임시 저장된 K+1번째 제2 데이터의 변화량을 상기 산출된 L 번째 제2 데이터의 변화량으로 대체하여 상기 버퍼에 임시 저장할 수 있다.The change amount comparing unit may replace the change amount of the temporarily stored K + 1th second data with the calculated change amount of the Lth second data and temporarily store the change amount in the buffer when the difference in the change amount exceeds a preset allowable range have.

상기 제1 데이터는 시간 정보와 관련될 수 있다.The first data may be associated with time information.

상기 변화량 비교부는, 상기 산출된 L 번째 제2 데이터의 변화량과 상기 임시 저장된 K+1 번째 제2 데이터의 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 L 번째 제1 데이터와 상기 조건이 만족된 이전 제1 데이터의 오프셋을 상기 데이터베이스에 저장할 수 있다.Wherein the change amount comparison unit compares the L th first data with the condition when the difference between the calculated change amount of the Lth second data and the change amount of the temporarily stored K + 1 th second data exceeds a preset allowable range The offset of the previous first data may be stored in the database.

한편, 상기 시계열적 공정 데이터의 압축 방법에 대한 정보는 컴퓨터로 읽을 수 있는 기록 매체에 저장될 수 있다. 이러한 기록 매체는 컴퓨터 시스템에 의하여 읽혀질 수 있도록 프로그램 및 데이터가 저장되는 모든 종류의 기록매체를 포함한다. 그 예로는, 롬(Read Only Memory), 램(Random Access Memory), CD(Compact Disk), DVD(Digital Video Disk)-ROM, 자기 테이프, 플로피 디스크, 광데이터 저장장치, 임베디드 멀티미디어 카드(eMMC) 등이 있으며, 또한 케리어 웨이브(예를 들면, 인터넷을 통한 전송)의 형태로 구현되는 것도 포함된다. 또한, 이러한 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산 방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.Meanwhile, the information on the compression method of the time-series process data can be stored in a computer-readable recording medium. Such a recording medium includes all kinds of recording media in which programs and data are stored so that they can be read by a computer system. Examples of the storage medium include a ROM, a Random Access Memory, a CD, a DVD, a magnetic tape, a floppy disk, an optical data storage device, an embedded multimedia card (eMMC) And the like, and may also be implemented in the form of a carrier wave (for example, transmission over the Internet). Such a recording medium may also be distributed over a networked computer system so that computer readable code in a distributed manner can be stored and executed.

본 발명의 실시 예에 따르면, 시계열적 공정 데이터를 저장함에 있어 시계열적 공정 데이터의 특성을 이용하여 원본 데이터가 손상되지 않으면서도 큰 압축률로 압축시켜 저장할 수 있는 장점이 있다.According to the embodiment of the present invention, there is an advantage that, when storing the time-series process data, the original data can be compressed and stored at a high compression ratio without damaging the original data by using the characteristics of the time-series process data.

또한, 본 발명의 실시 예에 따르면, 순차적으로 입력되는 복수의 시계열적 공정 데이터에서 각 데이터 간의 변화량(또는 기울기)을 산출하여 압축 저장함으로써 저장하는 데이터의 크기를 효과적으로 줄일 수 있는 장점이 있다.In addition, according to the embodiment of the present invention, there is an advantage that the size of data to be stored can be effectively reduced by calculating and storing a change amount (or a slope) between each data in a plurality of sequentially input time series process data.

도 1은 본 발명의 실시 예에 따른 시계열적 공정 데이터의 압축 장치를 나타내는 블록도이다.
도 2는 본 발명의 실시 예에 따른 시계열적 공정 데이터의 복원 장치를 나타내는 블록도이다.
도 3은 본 발명의 실시 예에 따른 시계열적 공정 데이터의 압축 절차를 나타내는 흐름도이다.
도 4는 본 발명의 실시 예에 따른 압축된 시계열적 공정 데이터의 복원 절차를 나타내는 흐름도이다.
도 5는 본 발명의 실시 예에 따른 시계열적 공정 데이터의 상세 압축 절차를 나타내는 흐름도이다.
도 6은 본 발명의 실시 예에 따른 시계열적 공정 데이터의 압축 예를 나타내는 도면이다.
도 7은 본 발명의 실시 예에 따른 압축된 시계열적 공정 데이터의 복원 예를 나타내는 도면이다.
도 8은 본 발명의 실시 예에 따른 데이터 압축의 개념을 나타내는 그래프이다.
1 is a block diagram showing a compression apparatus for time-series process data according to an embodiment of the present invention.
2 is a block diagram illustrating an apparatus for recovering time series thermal process data according to an embodiment of the present invention.
3 is a flowchart illustrating a compression process of time-series process data according to an embodiment of the present invention.
4 is a flowchart illustrating a restoration procedure of compressed time-series process data according to an embodiment of the present invention.
5 is a flowchart illustrating a detailed compression procedure of time-series thermal process data according to an embodiment of the present invention.
6 is a diagram showing an example of compression of time-series process data according to an embodiment of the present invention.
7 is a diagram illustrating an example of restoring compressed time-series process data according to an embodiment of the present invention.
8 is a graph illustrating the concept of data compression according to an embodiment of the present invention.

후술하는 본 발명에 대한 상세한 설명은, 본 발명이 실시될 수 있는 특정 실시 예를 예시로서 도시하는 첨부 도면을 참조한다. 이들 실시 예는 당업자가 본 발명을 실시할 수 있기에 충분하도록 상세히 설명된다. 본 발명의 다양한 실시 예는 서로 다르지만 상호 배타적일 필요는 없음이 이해되어야 한다. 예를 들어, 여기에 기재되어 있는 특정 형상, 구조 및 특성은 일 실시 예에 관련하여 본 발명의 사상 및 범위를 벗어나지 않으면서 다른 실시 예로 구현될 수 있다. 또한, 각각의 개시된 실시 예 내의 개별 구성요소의 위치 또는 배치는 본 발명의 사상 및 범위를 벗어나지 않으면서 변경될 수 있음이 이해되어야 한다. 따라서, 후술하는 상세한 설명은 한정적인 의미로서 취하려는 것이 아니며, 본 발명의 범위는 적절하게 설명된다면 그 청구항들이 주장하는 것과 균등한 모든 범위와 더불어 첨부된 청구항에 의해서만 한정된다. 도면에서 유사한 참조부호는 여러 측면에 걸쳐서 동일하거나 유사한 기능을 지칭한다.The following detailed description of the invention refers to the accompanying drawings, which illustrate, by way of illustration, specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. It should be understood that the various embodiments of the present invention are different, but need not be mutually exclusive. For example, certain features, structures, and characteristics described herein may be implemented in other embodiments without departing from the spirit and scope of the invention in connection with one embodiment. It should also be understood that the position or arrangement of individual components within each disclosed embodiment may be varied without departing from the spirit and scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is to be limited only by the appended claims, along with the full scope of equivalents to which the claims are entitled, if properly explained. In the drawings, like reference numerals refer to the same or similar functions throughout the several views.

제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되지는 않는다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.Terms including ordinals, such as first, second, etc., may be used to describe various elements, but the elements are not limited to these terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component. And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.

한편, 본 발명에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 또한, 본 발명에서 "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terms used in the present invention, on the other hand, are used only to illustrate specific embodiments and are not intended to limit the invention. The singular expressions include plural expressions unless the context clearly dictates otherwise. It is also to be understood that the terms "comprises" or "having ", and the like in the specification are intended to specify the presence of stated features, integers, But do not preclude the presence or addition of features, numbers, steps, operations, components, parts, or combinations thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 발명에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않아야 한다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Terms such as those defined in commonly used dictionaries are to be interpreted as having a meaning consistent with the meaning in the context of the relevant art and are to be interpreted as ideal or overly formal in the sense of the present invention Should not.

본 발명의 실시 예는 연속된 각 시간에 대응하는 공정 데이터를 압축하여 저장할 수 있는 시계열적 공정 데이터의 압축 및 복원 장치, 방법 및 컴퓨터 판독 가능한 기록 매체를 개시한다.An embodiment of the present invention discloses an apparatus and method for compressing and decompressing time-series process data, which can compress and store process data corresponding to each successive time, and a computer-readable recording medium.

한편, 본 발명의 실시 예에 따라 압축하고자 하는 공정 데이터는 시간과 관련된 제1 데이터와 각각의 제1 데이터에 매핑되는 제2 데이터로 구성될 수 있다. 즉, 본 발명의 실시 예의 공정 데이터는 시간 데이터와 해당 시간에서의 공정 데이터가 매핑되어 구성될 수 있다.Meanwhile, the process data to be compressed according to the embodiment of the present invention may be composed of first data related to time and second data mapped to each first data. That is, the process data of the embodiment of the present invention may be configured by mapping the time data and the process data at the corresponding time.

이때, 본 발명의 실시 예에서는 상기 제1 데이터와 제2 데이터를 공정 데이터의 특성을 이용하여 압축하고, 상기 압축된 방법에 따라 압축된 데이터를 복원시킬 수 있다.At this time, in the embodiment of the present invention, the first data and the second data may be compressed using the characteristics of the process data, and the compressed data may be recovered according to the compressed method.

한편, 본 발명의 실시 예들에 따른 압축 방법에 적용될 수 있는 데이터는 상기 공정 데이터에만 한정되는 것은 아니며, 시계열적인 순서에 따라 생성되는 어떠한 데이터에도 적용될 수 있다. 이하, 설명에서는 공정 데이터를 압축 및 복원하는 실시 예들을 일 예로서 설명하기로 한다.Meanwhile, the data that can be applied to the compression method according to the embodiments of the present invention are not limited to the process data, and can be applied to any data generated in a time series order. Hereinafter, embodiments for compressing and restoring process data will be described as an example.

본 발명의 일 실시 예는 순차적으로 입력되는 복수의 시계열적 공정 데이터에서 각 데이터 간의 변화량(또는 기울기)을 산출하고, 데이터 간의 변화량이 미리 설정된 허용 범위를 초과할 경우에만 데이터를 저장함으로써 저장되는 데이터의 크기를 줄일 수 있다.In an embodiment of the present invention, a change amount (or a slope) between each data is calculated in a plurality of sequentially input time series process data, and data is stored only when the change amount between data exceeds a predetermined allowable range Can be reduced.

보다 구체적으로 설명하면, 본 발명의 실시 예에 따른 공정 데이터 저장 방법은 수집된 데이터 자체를 저장하지 않고 본 발명의 실시 예들에 따른 다양한 압축 방법을 통하여 압축하여 저장함으로써 저장 공간의 제약을 해결할 수 있다. 즉, 본 발명의 실시 예들에서는 수집된 데이터를 기울기 형태의 데이터로 변환하여 기울기의 변화가 있는 데이터의 기울기 값(또는 변화량)을 저장하는 방식으로 데이터 저장 공간에 대한 제약을 해결할 수 있다. 또한, 압축 해제 시에는 저장된 기울기와 시작 값을 직선 방정식에 대입하여 저장되지 않았던 값을 계산함으로써 원래의 압축 전 원본 데이터를 복원할 수 있다.More specifically, the process data storage method according to the embodiment of the present invention can solve the limitation of the storage space by compressing and storing the collected data through various compression methods according to the embodiments of the present invention without storing the collected data itself . That is, in the embodiments of the present invention, constraints on the data storage space can be solved by converting the collected data into slope data and storing the slope value (or the amount of change) of the slope data. Also, at the time of decompression, the stored original data before the compression can be restored by substituting the stored slope and the starting value into the linear equation to calculate a value that was not stored.

이하, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있도록 하기 위하여, 본 발명의 바람직한 실시 예들에 관하여 첨부된 도면을 참조하여 상세히 설명하기로 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings, so that those skilled in the art can easily carry out the present invention.

도 1은 본 발명의 실시 예에 따른 시계열적 공정 데이터의 압축 장치를 나타내는 블록도이다. 도 1을 참조하면, 본 발명의 실시 예에 따른 압축 장치는 제1 버퍼(110), 제2 버퍼(120), 데이터 비교부(130), 변화량 비교부(140), 헤더 정보 생성부(160) 등을 포함하여 구성될 수 있다.1 is a block diagram showing a compression apparatus for time-series process data according to an embodiment of the present invention. Referring to FIG. 1, a compression apparatus according to an embodiment of the present invention includes a first buffer 110, a second buffer 120, a data comparison unit 130, a variation comparison unit 140, a header information generation unit 160 ), And the like.

상기 원본 데이터는 상술한 바와 같이 시간 정보와 관련된 제1 데이터와 해당 시간에서의 공정 데이터를 나타내는 제2 데이터가 매핑되어 구성된다. 따라서, 상기 원본 데이터는 각각의 제1 데이터에 대해 매핑된 제2 데이터가 함께 입력되어 처리될 수 있다.As described above, the original data is configured by mapping first data related to time information and second data representing process data at a corresponding time. Therefore, the original data may be processed by inputting the second data mapped to the respective first data.

따라서, 원본 데이터에서 각 제1 데이터 및 제2 데이터의 쌍은 제1 버퍼(110) 및 데이터 비교부(130)로 제공된다. 제1 버퍼(110)에서는 상기 입력된 특정 시점의 데이터(즉, 특정 제1 데이터 및 제2 데이터)가 임시 저장된 후, 데이터 비교부(130)로 제공된다.Therefore, in the original data, each pair of the first data and the second data is provided to the first buffer 110 and the data comparison unit 130. In the first buffer 110, the input specific time data (i.e., the specific first data and the second data) are temporarily stored and then provided to the data comparing unit 130.

이에 따라, 데이터 비교부(130)에서는 현재 시점의 데이터와 제1 버퍼(110)에 임시 저장된 이전 시점의 데이터가 입력되며, 상기 입력된 현재 시점(ti)의 데이터(yi)와 이전 시점(ti -1)의 데이터(yi -1)를 비교하여 변화량(또는 기울기)을 산출한다. 이때, 상기 변화량(△yi)의 산출은 예컨대 하기 <수학식 1>에 따라 산출될 수 있다.Accordingly, the data comparing unit 130 receives the current time data and the previous time data temporarily stored in the first buffer 110. The data y i of the input current time t i and the previous time Compare data (y i -1) of (t i -1), calculates the amount of change (or slope). Here, the calculation of the amount of change? Y i can be calculated, for example, according to Equation (1) below.

Figure pat00001
Figure pat00001

이때, 상기 원본 데이터가 일정 시간 간격으로 생성된 데이터일 경우에는 상기 산출된 변화량이 제2 버퍼에 저장될 수 있다. 한편, 상기 원본 데이터가 일정 시간 간격으로 생성된 데이터이거나 일정 시간 간격으로 생성된 데이터가 아닐 경우 단위 시간에 따른 상기 변화량을 산출하여 저장할 수 있다. 이하, 본 발명에서는 상기 단위 시간에 따른 데이터(즉, 제2 데이터)의 변화량을 '기울기'라 칭하기로 한다.At this time, if the original data is data generated at predetermined time intervals, the calculated change amount may be stored in the second buffer. On the other hand, if the original data is data generated at predetermined time intervals or data generated at a predetermined time interval, the amount of change according to the unit time can be calculated and stored. Hereinafter, in the present invention, the amount of change of the data (i.e., the second data) according to the unit time will be referred to as a 'slope'.

따라서, 상기 기울기(f'(ti))는 하기 <수학식 2>에 따라 산출될 수 있다.Therefore, the slope f '(t i ) can be calculated according to Equation (2) below.

Figure pat00002
Figure pat00002

이와 같이, 제2 버퍼(120)에는 각 시점에서의 데이터로부터 산출된 변화량 또는 기울기가 저장될 수 있다.As described above, the amount of change or the slope calculated from the data at each time point can be stored in the second buffer 120. [

한편, 현재 산출된 변화량(또는 기울기)은 변화량 비교부(140)로 제공되며, 변화량 비교부(140)에서는 상기 데이터 비교부(130)로부터 제공된 현재 시점의 산출된 변화량(또는 기울기)을 제2 버퍼(120)에 임시 저장된 이전 시점의 산출된 변화량(또는 기울기)과 비교한다.The calculated change amount (or slope) is provided to the change amount comparing unit 140. The change amount comparing unit 140 compares the calculated change amount (or slope) of the current point of time provided from the data comparing unit 130 with the calculated change amount (Or slope) of the previous time temporarily stored in the buffer 120 with the calculated change amount.

이에 따라, 상기 변화량 비교부(140)에서는 상기 비교 결과 변화량(또는 기울기)의 차가 미리 설정된 임계값을 초과하지 않을 경우, 해당 데이터에 대한 저장을 하지 않는다. 반면, 상기 비교 결과 변화량(또는 기울기)의 차가 미리 설정된 임계값을 초과할 경우, 압축 데이터 데이터베이스(150)에 해당 데이터에 대한 정보를 저장한다. 예컨대, 본 발명의 실시 예에 따라 현재 시점의 변화량(또는 기울기)을 저장할 수도 있으며, 이전 시점의 변화량(또는 기울기)을 저장할 수도 있다. 이때, 상기 변화량(또는 기울기)이 저장되는 시점의 제1 데이터(예컨대, 시간 관련 데이터)를 함께 매핑하여 저장할 수도 있으며, 상기 압축 데이터 데이터베이스(150)에 이전 저장된 제1 데이터와 현재 저장되는 제1 데이터와의 차이값(이하, '오프셋(offset)'이라고 한다.)을 저장할 수도 있다.Accordingly, when the difference in the comparison result (or the slope) does not exceed the predetermined threshold value, the variation comparison unit 140 does not store the data. On the other hand, when the difference of the change amount (or slope) as the comparison result exceeds the preset threshold value, information on the corresponding data is stored in the compressed data database 150. For example, according to an embodiment of the present invention, a change amount (or a slope) of a current time point may be stored, or a change amount (or a slope) of a previous time point may be stored. In this case, the first data (for example, time-related data) at the time of storing the change amount (or the slope) may be mapped and stored together with the first data stored in the compressed data database 150, (Hereinafter referred to as &quot; offset &quot;) with respect to the data.

헤더 정보 생성부(160)에서는 상기와 같이 압축되어 압축 데이터 데이터베이스(150)에 저장된 압축 데이터를 정상적으로 복원할 수 있도록 적어도 하나의 정보를 포함하는 헤더 정보를 생성한다. 예컨대, 상기 헤더 정보로는, 데이터명, 시작 시간(tstart), 종료 시간(tend), 초기 데이터(y0), 데이터수(m) 등이 될 수 있다.The header information generating unit 160 generates header information including at least one piece of information so that the compressed data stored in the compressed data database 150 can be normally restored as described above. For example, the header information may be a data name, a start time (t start ), an end time (t end ), initial data (y 0 ), the number of data (m)

이와 같이, 헤더 정보 생성부(160)에서 생성된 헤더 정보는 도 6 및 도 7에도 도시된 바와 같이 상기 변화량 비교부(140)를 통해 저장된 데이터들과 함께 전체 압축 데이터를 형성할 수 있다.6 and 7, the header information generated by the header information generation unit 160 may form the entire compressed data together with the data stored through the variation comparison unit 140. [

도 2는 본 발명의 실시 예에 따른 시계열적 공정 데이터의 복원 장치를 나타내는 블록도이다. 도 2를 참조하면, 본 발명의 실시 예에 따른 복원 장치는 헤더 정보 추출부(210), 데이터 추출부(220), 제1 데이터 복원부(230), 제2 데이터 복원부(240) 및 원본 데이터 복원부(250)를 포함하여 구성될 수 있다.2 is a block diagram illustrating an apparatus for recovering time series thermal process data according to an embodiment of the present invention. Referring to FIG. 2, the restoration apparatus according to an embodiment of the present invention includes a header information extracting unit 210, a data extracting unit 220, a first data restoring unit 230, a second data restoring unit 240, And a data restoring unit 250. [

상기 도 1에서와 같이 원본 데이터로부터 압축되어 압축 데이터 데이터베이스(150)에 저장된 압축 데이터는 상술한 압축 방식에 대응되는 방식으로 복원할 수 있다.As shown in FIG. 1, the compressed data stored in the compressed data database 150 from the original data can be restored in a manner corresponding to the compression method described above.

먼저, 헤더 정보 추출부(210)에서는 상기 압축 데이터 데이터베이스(150)에 저장된 전체 압축 데이터 중에서 헤더 정보를 추출한다. 데이터 추출부(220)에서는 상기 전체 압축 데이터 중에서 압축된 데이터로서 변화량(또는 기울기) 데이터를 추출한다. First, the header information extracting unit 210 extracts header information from among the entire compressed data stored in the compressed data database 150. The data extracting unit 220 extracts change amount (or slope) data as compressed data from the entire compressed data.

제1 데이터 복원부(230)에서는 상기 헤더 정보 추출부(210)로부터 제1 데이터의 시작 시간 정보를 제공받고, 데이터 추출부(220)로부터 시간 오프셋(Oi) 값을 제공받아, 원본 데이터 중 제1 데이터를 복원시킨다.The first data decompression unit 230 receives the start time information of the first data from the header information extraction unit 210 and the time offset O i from the data extraction unit 220, And restores the first data.

제2 데이터 복원부(240)에서는 상기 헤더 정보 추출부(210)로부터 제2 데이터의 시작값(y0)(예컨대, 최초 공정 데이터)을 제공받고, 데이터 추출부(220)로부터 각 변화량(또는 기울기(f'(ti))) 값을 제공받아, 원본 데이터 중 제2 데이터를 복원시킨다.The second data restoring unit 240 receives the start value y 0 of the second data (for example, the initial process data) from the header information extracting unit 210, inclination (f '(t i)) ) received service value, thereby restoring the second data of the original data.

원본 데이터 복원부(250)에서는 상기 제1 데이터 복원부(230) 및 제2 데이터 복원부(240)로부터 각각 복원된 제1 데이터 및 복원된 제2 데이터를 제공받아 서로 매핑시킴으로써 원본 데이터를 복원시킨다.The original data restoring unit 250 receives the restored first data and the restored second data from the first data restoring unit 230 and the second data restoring unit 240 and maps them to each other to restore the original data .

한편, 상기 도 1 및 도 2에서 상술한 시계열적 공정 데이터의 압축 장치 및 복원 장치의 각각의 구성요소들은 기능 및 논리적으로 분리될 수 있음을 나타나기 위해 별도로 도면에 표시한 것이며, 물리적으로 반드시 별도의 구성요소이거나 별도의 코드로 구현되는 것을 의미하는 것은 아니다.In the meantime, the respective components of the compression apparatus and the decompression apparatus of the time-series thermal process data described in FIGS. 1 and 2 are separately shown in order to show that they can be functionally and logically separated. It is not meant to be a component or a separate code.

그리고 본 명세서에서 각 기능부라 함은, 본 발명의 기술적 사상을 수행하기 위한 하드웨어 및 상기 하드웨어를 구동하기 위한 소프트웨어의 기능적, 구조적 결합을 의미할 수 있다. 예컨대, 상기 각 기능부는 소정의 코드와 상기 소정의 코드가 수행되기 위한 하드웨어 리소스의 논리적인 단위를 의미할 수 있으며, 반드시 물리적으로 연결된 코드를 의미하거나, 한 종류의 하드웨어를 의미하는 것은 아님은 본 발명의 기술분야의 평균적 전문가에게는 용이하게 추론될 수 있다.In this specification, each function means a functional and structural combination of hardware for carrying out the technical idea of the present invention and software for driving the hardware. For example, each functional unit may refer to a logical unit of a predetermined code and a hardware resource for executing the predetermined code, and may be a code physically connected to the functional unit, But can be easily deduced to the average expert in the field of the invention.

이상으로 본 발명의 실시 예에 따른 장치의 세부 구성에 대해 상세히 설명하였다. 이하, 도 3 내지 도 5를 참조하여 본 발명의 실시 예에 따른 시계열적 공정 데이터의 압축 및 복원 절차를 상세히 설명하기로 한다.The detailed configuration of the apparatus according to the embodiment of the present invention has been described above. Hereinafter, the compression / decompression procedure of the time-series thermal process data according to the embodiment of the present invention will be described in detail with reference to FIG. 3 to FIG.

도 3은 본 발명의 실시 예에 따른 시계열적 공정 데이터의 압축 절차를 나타내는 흐름도이다. 도 3을 참조하면, 원본 데이터(예컨대, 시계열적 공정 데이터)를 순차적으로 입력(S301)한다. 그런 다음, 각 시점의 데이터(예컨대, 공정 데이터)에서 이전 데이터에 대한 변화량(예컨대, <수학식 1>)(또는 기울기(예컨대, <수학식 2>))을 산출(S302)한다.3 is a flowchart illustrating a compression process of time-series process data according to an embodiment of the present invention. Referring to FIG. 3, the original data (for example, time series process data) is sequentially inputted (S301). Then, a change amount (e.g., Equation 1) (or a slope (e.g., Equation 2)) with respect to the previous data is calculated in the data (e.g., process data) at each time point (S302).

다음으로, 상기 산출된 해당 시점의 변화량(또는 기울기)을 이전 시점의 변화량(또는 기울기)과 비교(S303)한다. 상기 비교 결과, 변화량의 차이가 미리 설정된 임계값을 초과하면(S304-Y), 해당 데이터의 변화량(또는 기울기)을 데이터베이스에 저장한다. 반면, 상기 비교 결과, 변화량의 차이가 미리 설정된 임계값을 초과하지 않으면(S304-N), 해당 데이터에 대해서는 데이터베이스에 저장하지 않는다.Next, the calculated change amount (or slope) at that point in time is compared with the change amount (or slope) at the previous point of time (S303). As a result of the comparison, if the difference in the amount of change exceeds a predetermined threshold (S304-Y), the amount of change (or slope) of the data is stored in the database. On the other hand, if the difference in the amount of change does not exceed the predetermined threshold value (S304-N) as a result of the comparison, the corresponding data is not stored in the database.

이와 같이, 데이터의 변화량이 이전 시점에 비해 임계값을 초과하는 경우에만 데이터를 저장함으로써 원본 데이터와 큰 차이가 없으면서 높은 압축률로 데이터를 압축시킬 수 있다.As described above, by storing the data only when the amount of change of data exceeds the threshold value compared to the previous time point, the data can be compressed with a high compression ratio without significant difference from the original data.

이때, 상기 임계값을 조절함으로써 압축률과 복원률을 조절할 수 있다. 예컨대, 임계값을 작게 설정할 경우, 변화량(또는 기울기)의 변화가 상대적으로 크지 않을 경우에도 데이터를 자주 저장하게 되므로 압축률은 낮아지나, 복원률은 높아져서 원본 데이터에 더 근접한 결과로 복원시킬 수가 있다. 반면, 임계값을 크게 설정할 경우, 변화량(또는 기울기)의 변화가 상대적으로 클 경우에만 데이터를 저장하게 되므로 압축률은 높아지나, 복원률은 상대적으로 낮아지게 된다.At this time, the compression rate and the restoration rate can be adjusted by adjusting the threshold value. For example, when the threshold value is set to be small, the data is frequently stored even if the change amount (or slope) is not relatively large, so that the compression rate is low, but the recovery rate is high and can be restored to a result closer to the original data. On the other hand, when the threshold value is set to be large, the data is stored only when the change amount (or slope) is relatively large, so that the compression rate is high, but the restoration rate is relatively low.

도 4는 본 발명의 실시 예에 따른 압축된 시계열적 공정 데이터의 복원 절차를 나타내는 흐름도이다. 도 4를 참조하면, 상술한 도 3에 따라 압축된 데이터를 상기 압축 방식에 대응하여 복원시킬 수가 있다.4 is a flowchart illustrating a restoration procedure of compressed time-series process data according to an embodiment of the present invention. Referring to FIG. 4, compressed data according to FIG. 3 can be restored according to the compression method.

먼저, 압축 데이터로부터 헤더 정보를 추출(S401)하고, 상기 압축 데이터로부터 압축된 데이터 정보를 추출(S402)한다. 다음으로, 도 2에서 상술한 바와 같이 상기 추출된 헤더 정보 및 데이터 정보로부터 제1 데이터와 제2 데이터를 각각 복원(S403, S404)시킨다.First, header information is extracted from compressed data (S401), and compressed data information is extracted from the compressed data (S402). Next, the first data and the second data are respectively restored (S403 and S404) from the extracted header information and data information as described above with reference to FIG.

마지막으로, 상기 복원된 제1 데이터 및 제2 데이터로 원본 데이터를 복원(S405)시킨다.Finally, the restored original data and the restored original data are restored (S405).

도 5는 본 발명의 실시 예에 따른 시계열적 공정 데이터의 상세 압축 절차를 나타내는 흐름도이다. 도 5를 참조하면, 본 발명의 일 실시 예에 따라 시계열적 공정 데이터를 압축시킬 수 있다.5 is a flowchart illustrating a detailed compression procedure of time-series thermal process data according to an embodiment of the present invention. Referring to FIG. 5, the time-series process data may be compressed according to an embodiment of the present invention.

먼저, 헤더 정보를 생성(S501)한다. 이때, 상기 생성된 헤더 정보는, 상술한 바와 같이 데이터명, 시작 시간(tstart), 종료 시간(tend), 초기 데이터(y0), 데이터수(m) 등을 포함할 수 있다.First, header information is generated (S501). At this time, the generated header information may include a data name, a start time t start , an end time t end , initial data y 0 , and the number of data m, as described above.

다음으로, 순차적으로 데이터를 제1 버퍼에 임시 저장(S502)하고, 데이터가 입력되는 현재 시점의 데이터와 제1 버퍼에 임시 저장된 이전 시점의 데이터를 비교한다. 이때, 본 발명의 실시 예에 따라 상기 비교 결과 데이터의 변화량이 미리 설정된 제1 임계값(k1) 미만일 경우, 데이터를 저장하지 않고 다음 데이터에 대해 상기 S502 단계를 진행한다. 반면, 상기 비교 결과 데이터의 변화량이 미리 설정된 제1 임계값(k1) 이상일 경우, 상기 입력된 현재 시점(ti)의 데이터(yi)와 이전 시점(ti -1)의 데이터(yi -1)를 비교하여 상기 <수학식 2>에 따라 기울기(f'(ti))를 산출한다.Next, the data is sequentially stored in the first buffer (S502), and the data at the current time at which the data is input is compared with the data at the previous time temporarily stored in the first buffer. At this time, if less than a first threshold value (k 1) is set in advance the amount of change in the comparison result data according to an embodiment of the present invention, without storing the data proceeds to the step S502 for the next data. On the other hand, when the variation amount of the comparison result is equal to or greater than a predetermined first threshold value k 1 , the data y i of the input current time point t i and the data y y of the previous time point t i -1 i- 1 ), and calculates the slope f '(t i ) according to Equation (2).

그런 다음, 상기 산출된 현재 시점의 기울기를 제2 버퍼에 기저장된 이전 시점의 기울기(f'(ti -1))와 비교한다. 이때, 상술한 바와 같이, 제2 버퍼에는 각 시점에서의 데이터로부터 산출된 기울기가 저장될 수 있다.Then, the calculated slope of the current time point is compared with the slope f '(t i -1 ) of the previous time stored in the second buffer. At this time, as described above, the slope calculated from the data at each time point can be stored in the second buffer.

상기 비교 결과, 상기 산출된 현재 시점의 기울기와 제2 버퍼에 저장된 이전 시점의 기울기의 차가 미리 설정된 제2 임계값(k2) 미만인 경우, 해당 데이터에 대한 저장을 하지 않는다. 반면, 상기 비교 결과 기울기의 차가 미리 설정된 제2 임계값(k2) 이상인 경우, 상기 제2 버퍼에 저장된 이전 시점의 기울기 값과 오프셋 시간(즉, 이전 데이터 저장 시점과 현재 시점의 차)를 저장부(예컨대, 압축 데이터 데이터베이스)에 저장한다.As a result of the comparison, when the difference between the calculated slope of the current time point and the slope of the previous time point stored in the second buffer is less than a preset second threshold value k 2 , the corresponding data is not stored. On the other hand, if the difference of the slopes is greater than or equal to a preset second threshold value (k 2 ), the slope value of the previous time stored in the second buffer and the offset time (i.e., difference between the previous data storage time and the current time point) (For example, a compressed data database).

그런 다음, 현재 시점의 기울기 값을 제2 버퍼에 임시 저장함으로써, 이전 시점의 기울기 값을 현재 시점의 기울기 값으로 대체한다.Then, the current slope value is temporarily stored in the second buffer, thereby replacing the slope value of the previous time point with the slope value of the current time point.

상기 절차를 마지막 데이터까지 반복 수행(S510)함으로써 최종적으로 압축된 데이터가 생성된다.The above procedure is repeatedly performed until the last data (S510) to finally generate compressed data.

한편, 상술한 본 발명의 일 실시 예에 따른 시계열적 공정 데이터의 압축 방법 및 복원 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.Meanwhile, the method and apparatus for compressing and decoding time-series process data according to an embodiment of the present invention may be implemented in the form of a program command that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the medium may be those specially designed and constructed for the present invention or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.

이하, 도 6 내지 도 9를 참조하여, 본 발명의 실시 예에 따라 실제 공정 데이터에 본 발명이 적용된 예를 설명한다.Hereinafter, an example in which the present invention is applied to actual process data according to an embodiment of the present invention will be described with reference to FIG. 6 to FIG.

도 6은 본 발명의 실시 예에 따른 시계열적 공정 데이터의 압축 예를 나타내는 도면이다. 도 6을 참조하면, 수집된 공정 데이터의 원본 데이터는 도시된 바와 같이 시간 데이터(t)(상술한 설명에서 제1 데이터에 해당)와 해당 시간의 공정 데이터(y)(상술한 설명에서 제2 데이터에 해당)가 매핑되어 저장될 수 있다.6 is a diagram showing an example of compression of time-series process data according to an embodiment of the present invention. Referring to FIG. 6, the original data of the collected process data includes time data t (corresponding to the first data in the above description) and process data y (corresponding to the second data in the above description) Data) can be mapped and stored.

한편, 상기 공정 데이터는 도시된 바와 같이 시간과 데이터가 매핑된 연속적인 형태로 이루어져 있으며 수집된 시간 순서대로 제1 버퍼에 임시 저장된다.As shown in the figure, the process data is a continuous form in which time and data are mapped and temporarily stored in the first buffer in the order of collected time.

이때, 임시 저장된 제2 데이터(이전 시간의 제2 데이터)와 현재 시간의 제2 데이터를 비교하여 허용된 범위 내의 변화가 있을 경우 기울기 값을 계산하여 계산된 기울기 값을 제2 버퍼에 임시 저장한다.At this time, if the second data (the second data of the previous time) stored temporarily is compared with the second data of the current time, if there is a change in the allowed range, the tilt value is calculated and the calculated tilt value is temporarily stored in the second buffer .

그런 다음, 상술한 바와 같이 새로운 현재 계산된 기울기 값과 제2 버퍼에 임시 저장된 이전에 계산된 기울기 값을 비교하여 설정된 허용범위를 벗어날 경우 이전에 저장된 기울기 값과 오프셋 시간(초기 작업 시각과의 변화된 초당 변화 량)을 압축 데이터로 저장한다. 한편, 상기 기울기 값의 비교 결과 미리 설정된 허용된 범위 내에 있을 경우 상기와 같은 압축 데이터 저장 과정은 생략되며 현재의 기울기 값을 다음 비교계산에 사용하기 위하여 제2 버퍼에 저장된 이전 기울기 값을 현재의 기울기 값으로 대체시킨다.Then, as described above, the new current calculated slope value is compared with the previously calculated slope value previously stored in the second buffer. If the new slope value is out of the set allowable range, the previously stored slope value and the offset time The amount of change per second) as compressed data. If the comparison result of the slope value is within a predetermined allowable range, the compressed data storing process is omitted. In order to use the current slope value for the next comparison calculation, the previous slope value stored in the second buffer is used as the current slope value Value.

한편, 본 발명의 실시 예에 따라 상기 조건에 부합할 경우 상기 수집된 데이터 값의 변화량을 저장할 수도 있으며, 기울기를 저장할 수도 있다. 이때, 공정에서 수집된 데이터의 경우 일반적으로 일정한 패턴을 가지고 변화하는 경우가 많아 동일한 기울기 값이 나올 확률이 높기 때문에, 본 발명의 실시 예에 따라 기울기를 저장하면 동일한 기울기 값을 가지는 데이터가 제거되므로, 압축률을 보다 높일 수 있다.Meanwhile, according to the embodiment of the present invention, when the condition is met, the variation of the collected data value may be stored or the slope may be stored. At this time, since the data collected in the process generally varies with a certain pattern, there is a high probability that the same slope value will be obtained. Therefore, if the slope is stored according to the embodiment of the present invention, data having the same slope value is removed , The compression ratio can be further increased.

또한, 압축 데이터의 복원 시에도 저장된 기울기 값과 최초의 값을 도 7에 도시된 바와 같이 직선 방정식에 대입하여 산출함으로써 수집된 데이터와 허용오차 범위 내의 근사값을 계산할 수 있다.Also, at the time of restoring the compressed data, the stored slope value and the first value may be substituted into the linear equation as shown in FIG. 7 to calculate the collected data and the approximate value within the tolerance range.

도 7은 본 발명의 실시 예에 따른 압축된 시계열적 공정 데이터의 복원 예를 나타내는 도면이다. 도 7을 참조하면, 상기 도 6의 데이터 압축 과정을 통해 저장된 데이터는 도시된 바와 같이 시작 시간(t_start), 종료 시간(t_end), 초기값(y0), 데이터 개수, 연속된 기울기 및 오프셋 데이터 등을 포함하여 구성될 수 있다.7 is a diagram illustrating an example of restoring compressed time-series process data according to an embodiment of the present invention. 7, the road is stored by the data compression process of the six data is the start time (t_ start), end time (t_ end), as illustrated, the initial value (y 0), the number of data, a series of tilt and Offset data, and the like.

한편, 상기와 같이 압축된 데이터를 복원하고자 할 경우, 데이터베이스에 저장된 압축 데이터에서 각각의 압축 데이터를 추출하여 도시된 바와 같이 기울기 데이터와 시간 데이터를 각각 분리하여 처리한다.Meanwhile, in order to restore the compressed data as described above, the compressed data stored in the database is extracted, and the slope data and the time data are separated and processed as shown in FIG.

이에 따라, 기울기 데이터로부터 하기 <수학식 3>에 의해 압축 전의 공정 데이터(제2 데이터)로 복원할 수 있다.Accordingly, it is possible to restore from the slope data to the process data (second data) before compression by the following expression (3).

Figure pat00003
Figure pat00003

또한, 상기 시간 데이터로부터 하기 <수학식 4>에 의해 각 복원된 공정 데이터에 대한 시간 데이터(제1 데이터)를 복원할 수 있다.In addition, time data (first data) for each reconstructed process data can be restored from the time data by Equation (4) below.

Figure pat00004
Figure pat00004

상기 <수학식 4>에서 Oi는 i시점에서의 오프셋(offset) 값이다.In Equation (4), O i is an offset value at time i.

이와 같이, 상기 <수학식 3> 및 <수학식 4>에 의해 원래의 시간 데이터(제1 데이터)및 공정 데이터(제2 데이터)가 복원되면, 각 시간 데이터에 해당 공정 데이터를 매핑하여 저장함으로써 압축 전의 원본 데이터를 복원할 수 있다.When the original time data (first data) and the process data (second data) are restored by the above Equations (3) and (4), the corresponding process data is mapped to each time data and stored The original data before compression can be restored.

도 8은 본 발명의 실시 예에 따른 데이터 압축의 개념을 나타내는 그래프이다. 도 8을 참조하면, 압축 저장하고자 하는 공정 데이터가 하기 <표 1>과 같을 경우 본 발명의 실시 예에 따라 압축된 데이터를 생성할 수 있다.8 is a graph illustrating the concept of data compression according to an embodiment of the present invention. Referring to FIG. 8, compressed data can be generated according to an embodiment of the present invention when process data to be compressed and stored are as shown in Table 1 below.

Figure pat00005
Figure pat00005

상기 <표 1>을 참조하면, 0부터 83까지 1 단위 시간마다 측정된 공정 데이터에 대해 기울기를 산출하고, 기울기의 변화가 발생한(예컨대, 기울기의 변화가 미리 설정된 임계값 이상인) 데이터에 대해서만 저장함으로써, 원래의 데이터를 복원시킬 수 있다.Referring to Table 1, the slope is calculated with respect to the process data measured every one unit time from 0 to 83, and the slope is stored only for the data in which the slope has changed (for example, the slope change is equal to or greater than a predetermined threshold value) Thus, the original data can be restored.

따라서, 상기 <표 1>에서는 기울기의 변화가 발생한, 20, 28, 35, 40, 45, 50, 54, 58, 62, 66, 69, 73, 76, 79, 83번째 데이터에 대해서만 데이터를 저장한다. 이때, 데이터를 저장하지 않은 데이터들에 대해서는 기울기의 변화가 없으므로 직선 방정식을 이용하여 복원시킬 수 있다. 따라서, 이에 따라 복원된 데이터는 도 8과 같이 원본 데이터인 곡선에 거의 근사한 값으로 복원될 수 있다.Therefore, in Table 1, data is stored only for the 20th, 28th, 35th, 40th, 45th, 50th, 54th, 58th, 62th, 66th, 69th, 73th, 76th, do. At this time, since there is no change in the slope of data that does not store data, it can be restored by using a linear equation. Accordingly, the restored data can be restored to a value approximate to the original data curve as shown in FIG.

이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시 예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시 예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.As described above, the present invention has been described with reference to particular embodiments, such as specific elements, and specific embodiments and drawings. However, it should be understood that the present invention is not limited to the above- And various modifications and changes may be made thereto by those skilled in the art to which the present invention pertains.

따라서, 본 발명의 사상은 설명된 실시 예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.Accordingly, the spirit of the present invention should not be construed as being limited to the embodiments described, and all of the equivalents or equivalents of the claims, as well as the following claims, belong to the scope of the present invention .

110 : 제1 버퍼 120 : 제2 버퍼
130 : 데이터 비교부 140 : 변화량 비교부
150 : 압축 데이터 DB 160 : 헤더 정보 생성부
210 : 헤더 정보 추출부 220 : 데이터 추출부
230 : 제1 데이터 복원부 240 : 제2 데이터 복원부
250 : 원본 데이터 복원부
110: first buffer 120: second buffer
130: data comparison unit 140:
150: compressed data DB 160: header information generating unit
210: header information extracting unit 220:
230: first data restoring unit 240: second data restoring unit
250: original data restoration unit

Claims (17)

순차적으로 입력되는 복수의 제1 데이터들, 및 각각의 상기 제1 데이터와 매핑되는 제2 데이터들을 압축하는 방법으로서,
K 번째 제1 데이터에 매핑된 제2 데이터에 대한 K+1 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하여 제1 저장부에 임시 저장하는 단계;
상기 K 번째 이후의 L-1 번째 제1 데이터에 매핑된 제2 데이터에 대한 L 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하는 단계; 및
상기 산출된 L 번째 제2 데이터의 변화량과 상기 임시 저장된 K+1 번째 제2 데이터의 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 임시 저장된 K+1 번째 제2 데이터의 변화량을 제2 저장부에 저장하는 단계를 포함하는, 공정 데이터의 압축 방법.
A method for compressing a plurality of first data sequentially input and second data mapped to each of the first data,
Calculating a change amount of the second data mapped to the (K + 1) th data of the second data mapped to the Kth first data, and temporarily storing the calculated amount of change in the first storage;
Calculating a variation amount of second data mapped to L-th first data with respect to second data mapped to the (K-1) -th first data; And
If the difference between the calculated change amount of the L-th second data and the change amount of the temporarily stored K + 1-th second data exceeds a preset allowable range, the change amount of the temporarily stored K + And storing the processed data in a storage unit.
제1항에 있어서, 상기 방법은,
상기 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 임시 저장된 K+1번째 제2 데이터의 변화량을 상기 산출된 L 번째 제2 데이터의 변화량으로 대체하여 임시 저장하는 단계를 더 포함하는, 공정 데이터의 압축 방법.
The method of claim 1,
Further comprising a step of temporarily storing the change amount of the temporarily stored K + 1th second data by replacing the calculated change amount of the Lth second data when the difference of the change amount exceeds a preset allowable range, Lt; / RTI &gt;
제1항에 있어서, 상기 제1 데이터는 시간 정보와 관련되는, 공정 데이터의 압축 방법.
2. The method of claim 1, wherein the first data is associated with time information.
제1항에 있어서, 상기 방법은,
상기 산출된 L 번째 제2 데이터의 변화량과 상기 임시 저장된 K+1 번째 제2 데이터의 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 L 번째 제1 데이터와 상기 조건이 만족된 이전 제1 데이터의 오프셋을 상기 제2 저장부에 저장하는 단계를 더 포함하는, 공정 데이터의 압축 방법.
The method of claim 1,
If the difference between the calculated change amount of the L-th second data and the change amount of the temporarily stored K + 1-th second data exceeds a preset allowable range, the L-th first data and the previous first data And storing the offset of the process data in the second storage.
순차적으로 입력되는 복수의 제1 데이터들, 및 각각의 상기 제1 데이터와 매핑되는 제2 데이터들을 압축하는 방법으로서,
첫 번째 제1 데이터에 매핑된 제2 데이터에 대한 두 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하여 제1 저장부에 저장하는 단계;
K 번째 제1 데이터에 매핑된 제2 데이터에 대한 K+1 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하여 제2 저장부에 임시 저장하는 단계;
상기 K 번째 이후의 L-1 번째 제1 데이터에 매핑된 제2 데이터에 대한 L 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하는 단계; 및
상기 산출된 L 번째 제2 데이터의 변화량과 상기 임시 저장된 K+1 번째 제2 데이터의 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 산출된 L 번째 제2 데이터의 변화량을 상기 제1 저장부에 저장하는 단계를 포함하는, 공정 데이터의 압축 방법.
A method for compressing a plurality of first data sequentially input and second data mapped to each of the first data,
Calculating a change amount of the second data mapped to the second first data with respect to the second data mapped to the first first data, and storing the calculated amount of change in the first storage unit;
Calculating a change amount of the second data mapped to the (K + 1) th first data with respect to the second data mapped to the Kth first data, and temporarily storing the calculated amount of change in the second storage;
Calculating a variation amount of second data mapped to L-th first data with respect to second data mapped to the (K-1) -th first data; And
If the difference between the calculated amount of change of the L-th second data and the amount of change of the temporarily stored K + 1-th second data exceeds a preset allowable range, the amount of change of the calculated L- And storing the process data in a memory.
제5항에 있어서, 상기 방법은,
상기 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 임시 저장된 K+1번째 제2 데이터의 변화량을 상기 산출된 L 번째 제2 데이터의 변화량으로 대체하여 상기 제2 저장부에 임시 저장하는 단계를 더 포함하는, 공정 데이터의 압축 방법.
6. The method of claim 5,
Replacing the change amount of the temporarily stored K + 1-th second data with the calculated change amount of the L-th second data and temporarily storing the change in the K + 1-th second data when the difference of the change amount exceeds a preset allowable range Further comprising the step of compressing the process data.
제5항에 있어서, 상기 제1 데이터는 시간 정보와 관련되는, 공정 데이터의 압축 방법.
6. The method of claim 5, wherein the first data is associated with time information.
제5항에 있어서, 상기 방법은,
상기 산출된 L 번째 제2 데이터의 변화량과 상기 임시 저장된 K+1 번째 제2 데이터의 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 L 번째 제1 데이터와 상기 조건이 만족된 이전 제1 데이터의 오프셋을 상기 제2 저장부에 저장하는 단계를 더 포함하는, 공정 데이터의 압축 방법.
6. The method of claim 5,
If the difference between the calculated change amount of the L-th second data and the change amount of the temporarily stored K + 1-th second data exceeds a preset allowable range, the L-th first data and the previous first data And storing the offset of the process data in the second storage.
순차적으로 입력되는 복수의 제1 데이터들, 및 각각의 상기 제1 데이터와 매핑되는 제2 데이터들을 압축하는 장치로서,
K 번째 제1 데이터에 매핑된 제2 데이터에 대한 K+1 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하는 데이터 비교부;
상기 데이터 비교부에서 산출된 변화량을 임시 저장하는 버퍼;
상기 K 번째 이후의 L-1 번째 제1 데이터에 매핑된 제2 데이터에 대한 L 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하는 변화량 산출부; 및
상기 산출된 L 번째 제2 데이터의 변화량과 상기 버퍼에 임시 저장된 K+1 번째 제2 데이터의 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 임시 저장된 K+1 번째 제2 데이터의 변화량을 데이터베이스에 저장하는 변화량 비교부를 포함하는, 공정 데이터의 압축 장치.
An apparatus for compressing a plurality of first data sequentially input and second data mapped to each of the first data,
A data comparing unit for calculating a variation amount of second data mapped to the (K + 1) th first data for the second data mapped to the Kth first data;
A buffer for temporarily storing the amount of change calculated by the data comparison unit;
A change amount calculating unit for calculating a change amount of the second data mapped to the L-th first data with respect to the second data mapped to the (L-1) th first data after the Kth; And
If the difference between the calculated change amount of the Lth second data and the change amount of the (K + 1) th second data temporarily stored in the buffer exceeds a preset allowable range, the change amount of the temporarily stored K + And a change amount comparing section which stores the change amount comparing section.
제9항에 있어서, 상기 변화량 비교부는,
상기 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 임시 저장된 K+1번째 제2 데이터의 변화량을 상기 산출된 L 번째 제2 데이터의 변화량으로 대체하여 상기 버퍼에 임시 저장하는, 공정 데이터의 압축 장치.
The apparatus as claimed in claim 9,
And when the difference of the amount of change exceeds a preset allowable range, the change amount of the temporarily stored K + 1-th second data is replaced with the change amount of the calculated L-th second data and temporarily stored in the buffer. Device.
제9항에 있어서, 상기 제1 데이터는 시간 정보와 관련되는, 공정 데이터의 압축 장치.
10. The apparatus of claim 9, wherein the first data is associated with time information.
제9항에 있어서, 상기 변화량 비교부는,
상기 산출된 L 번째 제2 데이터의 변화량과 상기 임시 저장된 K+1 번째 제2 데이터의 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 L 번째 제1 데이터와 상기 조건이 만족된 이전 제1 데이터의 오프셋을 상기 데이터베이스에 저장하는, 공정 데이터의 압축 장치.
The apparatus as claimed in claim 9,
If the difference between the calculated change amount of the L-th second data and the change amount of the temporarily stored K + 1-th second data exceeds a preset allowable range, the L-th first data and the previous first data And stores the offset of the process data in the database.
순차적으로 입력되는 복수의 제1 데이터들, 및 각각의 상기 제1 데이터와 매핑되는 제2 데이터들을 압축하는 장치로서,
K 번째 제1 데이터에 매핑된 제2 데이터에 대한 K+1 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하여 임시 저장하는 버퍼;
상기 K 번째 이후의 L-1 번째 제1 데이터에 매핑된 제2 데이터에 대한 L 번째 제1 데이터에 매핑된 제2 데이터의 변화량을 산출하는 데이터 비교부; 및
상기 산출된 L 번째 제2 데이터의 변화량과 상기 버퍼에 임시 저장된 K+1 번째 제2 데이터의 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 산출된 L 번째 제2 데이터의 변화량을 데이터베이스에 저장하는 변화량 비교부를 포함하는, 공정 데이터의 압축 장치.
An apparatus for compressing a plurality of first data sequentially input and second data mapped to each of the first data,
A buffer for calculating and temporarily storing the amount of change of the second data mapped to the (K + 1) th data of the second data mapped to the Kth first data;
A data comparing unit for calculating a change amount of second data mapped to L-th first data with respect to second data mapped to the (K-1) -th first data; And
When the difference between the calculated amount of change of the Lth second data and the amount of change of the (K + 1) th second data temporarily stored in the buffer exceeds a preset allowable range, the calculated amount of change of the Lth second data is stored in the database And a change amount comparing unit for comparing the change amount with the change amount.
제13항에 있어서, 상기 변화량 비교부는,
상기 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 임시 저장된 K+1번째 제2 데이터의 변화량을 상기 산출된 L 번째 제2 데이터의 변화량으로 대체하여 상기 버퍼에 임시 저장하는, 공정 데이터의 압축 장치.
14. The apparatus according to claim 13,
And when the difference of the amount of change exceeds a preset allowable range, the change amount of the temporarily stored K + 1-th second data is replaced with the change amount of the calculated L-th second data and temporarily stored in the buffer. Device.
제13항에 있어서, 상기 제1 데이터는 시간 정보와 관련되는, 공정 데이터의 압축 장치.
14. The apparatus of claim 13, wherein the first data is associated with time information.
제13항에 있어서, 상기 변화량 비교부는,
상기 산출된 L 번째 제2 데이터의 변화량과 상기 임시 저장된 K+1 번째 제2 데이터의 변화량의 차가 미리 설정된 허용 범위를 초과할 경우, 상기 L 번째 제1 데이터와 상기 조건이 만족된 이전 제1 데이터의 오프셋을 상기 데이터베이스에 저장하는, 공정 데이터의 압축 장치.
14. The apparatus according to claim 13,
If the difference between the calculated change amount of the L-th second data and the change amount of the temporarily stored K + 1-th second data exceeds a preset allowable range, the L-th first data and the previous first data And stores the offset of the process data in the database.
청구항 제1항 내지 제8항 중 어느 한 항에 기재된 방법을 컴퓨터상에서 수행하기 위한 프로그램을 기록한 컴퓨터 판독 가능한 기록매체.A computer-readable recording medium recording a program for performing the method according to any one of claims 1 to 8 on a computer.
KR1020130076457A 2013-07-01 2013-07-01 Apparatus, method and computer readable recording medium for compressing time series processing data KR101575015B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130076457A KR101575015B1 (en) 2013-07-01 2013-07-01 Apparatus, method and computer readable recording medium for compressing time series processing data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130076457A KR101575015B1 (en) 2013-07-01 2013-07-01 Apparatus, method and computer readable recording medium for compressing time series processing data

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020150143838A Division KR101896002B1 (en) 2015-10-15 2015-10-15 Server for efficiently compressing real time processing data

Publications (2)

Publication Number Publication Date
KR20150003509A true KR20150003509A (en) 2015-01-09
KR101575015B1 KR101575015B1 (en) 2015-12-07

Family

ID=52476201

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130076457A KR101575015B1 (en) 2013-07-01 2013-07-01 Apparatus, method and computer readable recording medium for compressing time series processing data

Country Status (1)

Country Link
KR (1) KR101575015B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102575359B1 (en) 2019-01-09 2023-09-05 삼성전자주식회사 Method for compressing and restoring time series data

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4670891A (en) * 1985-03-06 1987-06-02 Westinghouse Electric Corp. Storage of data in compressed form
JPH0895959A (en) * 1994-09-29 1996-04-12 Hitachi Ltd Method for compressing, analyzing and displaying time sequential data and analysis monitoring device
JPH10143543A (en) * 1996-11-12 1998-05-29 Toshiba Corp Time sequential data preservation device and recording medium
KR100980467B1 (en) * 2008-05-28 2010-09-07 주식회사 한국스마트카드 Method for Providing Card Information and Method for Approving Card Transaction
JP5430370B2 (en) * 2009-11-30 2014-02-26 三菱電機株式会社 Log compression apparatus, log collection system, computer program, and log compression method
JP5699715B2 (en) * 2011-03-18 2015-04-15 日本電気株式会社 Data storage device and data storage method
JP5639011B2 (en) * 2011-06-28 2014-12-10 日本電信電話株式会社 Data storage device, data storage method, and program

Also Published As

Publication number Publication date
KR101575015B1 (en) 2015-12-07

Similar Documents

Publication Publication Date Title
US8812461B2 (en) Method and system for data deduplication
US9430546B2 (en) Systems and methods for managing delta version chains
CN107229420B (en) Data storage method, reading method, deleting method and data operating system
US7937371B2 (en) Ordering compression and deduplication of data
US20120185612A1 (en) Apparatus and method of delta compression
US20120136842A1 (en) Partitioning method of data blocks
US20120239627A1 (en) Data storage apparatus and data storage method
CN107340971A (en) A kind of data storage is with recovering framework and method
CN113064760A (en) Database synthesis backup method and device, computer equipment and storage medium
KR101896002B1 (en) Server for efficiently compressing real time processing data
KR101403356B1 (en) Device and method of data compression and computer-readable recording medium thereof
KR101575015B1 (en) Apparatus, method and computer readable recording medium for compressing time series processing data
Billard et al. Making sense of unstructured flash-memory dumps
CN106708657A (en) Metadata management method and apparatus, and distributed file system
CN105786655A (en) Repeated data deleting method for virtual machine backup data
US9800684B2 (en) Systems and methods for statistical caching
JP7404734B2 (en) Data compression device, history information management system, data compression method and data compression program
US11018691B2 (en) Increasing storage capacity and data transfer speed in genome data backup
CN116069562B (en) Video data backup method, system, equipment and medium based on optical disc library
Yoo et al. A study on a carving method for deleted NTFS compressed files
Thepade et al. Novel keyframe extraction for video content summarization using LBG codebook generation technique of vector quantization
CN105224697A (en) Sort method with filtercondition and the device for performing described method
KR102139578B1 (en) Method for restoring data of database through analysis of disc block pattern
Bahri et al. Rule Transform: A Shapelet-based Temporal Association Rule Miner for Multivariate Time Series Classification
CN117115718B (en) Government affair video data processing method, system and computer readable storage medium

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
X091 Application refused [patent]
AMND Amendment
E90F Notification of reason for final refusal
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20191202

Year of fee payment: 5