KR101400499B1 - Apparatus and method of parallel processing of linked big data - Google Patents
Apparatus and method of parallel processing of linked big data Download PDFInfo
- Publication number
- KR101400499B1 KR101400499B1 KR1020120150623A KR20120150623A KR101400499B1 KR 101400499 B1 KR101400499 B1 KR 101400499B1 KR 1020120150623 A KR1020120150623 A KR 1020120150623A KR 20120150623 A KR20120150623 A KR 20120150623A KR 101400499 B1 KR101400499 B1 KR 101400499B1
- Authority
- KR
- South Korea
- Prior art keywords
- triple
- task
- schema
- data
- processing
- Prior art date
Links
- 238000012545 processing Methods 0.000 title claims abstract description 106
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000008569 process Effects 0.000 claims abstract description 28
- 238000005192 partition Methods 0.000 claims description 27
- 230000009467 reduction Effects 0.000 claims description 18
- 238000013507 mapping Methods 0.000 claims description 3
- 238000012958 reprocessing Methods 0.000 claims 1
- 239000000284 extract Substances 0.000 abstract description 13
- 238000003672 processing method Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 5
- 230000008030 elimination Effects 0.000 description 4
- 238000003379 elimination reaction Methods 0.000 description 4
- 230000003252 repetitive effect Effects 0.000 description 3
- 238000000638 solvent extraction Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000001052 transient effect Effects 0.000 description 2
- 241000208140 Acer Species 0.000 description 1
- 239000003638 chemical reducing agent Substances 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
본 발명의 실시예들은 맵리듀스(MapReduce)를 반복 적용함으로써, 효과적으로 RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning)을 수행하여 대용량 링크드 데이터의 병렬 처리 장치 및 방법을 구현하는 기술적 사상에 관한 것이다.Embodiments of the present invention implement a parallel processing apparatus and method for large amount of linked data by effectively performing transitivity reasoning on an RDF (Resource Description Framework) ontology by repeatedly applying MapReduce It is about technical thought.
분산 파일 시스템은 물리적으로 서로 다른 컴퓨터끼리 네트워크로 연결하여 사용자가 분산된 동일파일을 쉽게 액세스하고 관리할 수 있게 할 수 있는 클라이언트/서버 기반의 애플리케이션으로서, 주로 파일 서버 추가 및 파일 위치 수정, 사용자가 여러 사이트나 대상에 액세스할 경우, 조직에 내부 또는 외부용 웹 사이트가 있을 경우 등에 사용된다.A distributed file system is a client / server based application that allows users to easily access and manage the same distributed files by physically connecting different computers to each other by networking. It is mainly used for adding file servers and modifying file locations, It can be used when accessing multiple sites or objects, when an organization has an internal or external website, and so on.
근래에는 이러한 분산 파일 시스템에 있어, 빅데이터를 분석하는데, 각광을 받고 있는 Hadoop 분산 프레임워크를 사용하여 대용량 모바일 라이프로그 데이터 처리 시간을 개선한다. Hadoop은 여러 대의 컴퓨터를 클러스터링 하여 구축하는 오픈소스 분산 처리 프레임워크로서, 안정적인 공유 저장소인 HDFS (Hadoop Distributed File System)와 분석시스템인 맵/리듀스를 제공할 수 있다.Recently, in this distributed file system, Hadoop distributed framework for analyzing big data is used to improve the processing time of large mobile lifelog data. Hadoop is an open source distributed processing framework that clusters multiple computers and provides a reliable shared storage, Hadoop Distributed File System (HDFS) and map / resume, analysis system.
최근 빅데이터의 분석에서 하둡(Hadoop)을 기반으로 맵리듀스를 반복 적용하여 고정 소수점(fixed-point)의 해를 구하는 방법에 대한 연구가 이뤄지고 있다.Recently, in the analysis of big data, researches on how to solve fixed-point solution by applying MapDeuse repeatedly based on Hadoop are being studied.
특히, RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning)은 트리플(triple)에 대한 조인(join)을 기반으로 모노톤 증가 데이터 세트(monotone increasing dataset)를 지속적으로 생성하는 반복 맵리듀스 잡(MapReduce Job)으로 구현될 수 있다.In particular, the transitivity reasoning for the Resource Description Framework (RDF) ontology is based on a join to triple, a repetitive maple that continuously generates a monotone increasing dataset It can be implemented as a MapReduce Job.
이러한, 경우 n번째 반복의 리듀스 태스크(Reduce task)가 생성한 출력 데이터세트(output dataset)의 크기가 증가하면, 이것이 다시 n+1번째 맵 태스크(Map task)의 입력이 되면서 지속적으로 맵퍼(Mapper) 및 리듀서 노드(Reducer node)들간의 통신량 및 계산량이 급격하게 증가하면서 처리비용이 매우 높아지는 문제가 발생할 가능성이 매우 높다.In this case, if the size of the output dataset generated by the Reduce task of the n-th iteration increases, it becomes the input of the (n + 1) -th map task, Mapper) and Reducer nodes are increasing rapidly and the processing cost is very high.
일실시예에 따른 대용량 링크드 데이터의 병렬 처리 장치의 동작 방법은 입력 파일에 대한 스키마 트리플(schema triple)을 추출하는 단계, 상기 추출된 스키마 트리플(schema triple)에 맵리듀스(mapreduce)를 반복 적용하여 RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning)을 처리하는 단계를 포함할 수 있다.A method of operating a parallel processing apparatus for massively linked data according to an exemplary embodiment includes extracting a schema triple for an input file, repeatedly applying mapreduce to the extracted schema triple, And processing the transitivity reasoning for the Resource Description Framework (RDF) ontology.
일실시예에 따른 상기 트랜지터비티 리즈닝(transitivity reasoning)을 처리하는 단계는, 상기 트랜지터비티 리즈닝(transitivity reasoning)을 모노톤 픽스드 포인트 반복 모델(monotone fixed-point iteration model)로 정의하는 단계를 포함할 수 있다.The step of processing the transitivity reasoning according to an embodiment includes defining the transitivity reasoning as a monotone fixed-point iteration model . ≪ / RTI >
일실시예에 따른 상기 트랜지터비티 리즈닝(transitivity reasoning)을 처리하는 단계는, 리듀스 태스크를 통해 이전 반복에서 처리한 데이터 파티션을 로컬 파일 시스템에 저장하는 단계, 및 상기 저장된 데이터 파티션의 위치에 기초하여 다음 번의 리듀스 태스크를 할당하는 단계를 포함할 수 있다.The processing of transitivity reasoning in accordance with an embodiment includes the steps of storing a data partition processed in a previous iteration through a redess task in a local file system, And assigning a next redundancy task on the basis of the second redundancy task.
일실시예에 따른 대용량 링크드 데이터의 병렬 처리 장치의 동작 방법은 중복되는 트리플(duplicate triple)을 제거하는 단계, 및 인헤리턴스 리즈닝(inheritance reasoning)을 처리하는 단계를 더 포함할 수 있다.The method of operating the apparatus for parallelizing large capacity linked data according to an exemplary embodiment may further include removing a duplicate triple, and processing inheritance reasoning.
일실시예에 따른 상기 입력 파일에 대한 스키마 트리플(schema triple)을 추출하는 단계는, 상기 입력 파일에 대한 프로퍼티를 키 값으로 설정하는 단계를 포함할 수 있다.The step of extracting a schema triple for the input file according to an exemplary embodiment may include setting a property for the input file as a key value.
일실시예에 따른 상기 추출된 스키마 트리플(schema triple)에 맵리듀스(mapreduce)를 반복 적용하여 RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning)을 처리하는 단계는, 상기 트랜지터비티 리즈닝에 따라 신규 사항(new matter)이 생성되는지를 확인하는 단계, 및 상기 확인 결과, 신규 사항(new matter)이 생성된 경우에, 상기 RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning)을 반복 수행하는 단계를 포함할 수 있다.The step of processing transitivity reasoning for an RDF (Resource Description Framework) ontology by iteratively applying a mapreduce to the extracted schema triple according to an embodiment includes: Checking whether a new matter is generated according to jitter ratio re-establishment, and if a new matter is generated as a result of the checking, And repeatedly performing transitivity reasoning.
일실시예에 따른 대용량 링크드 데이터의 병렬 처리 장치의 동작 방법은 상기 맵리듀스(mapreduce)가 반복 적용되어 RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning) 처리된 스키마 트리플(schema triple)을 출력 파일에 저장하는 단계를 더 포함할 수 있다.A method of operating a massively parallel linked data parallel processing apparatus according to an exemplary embodiment of the present invention is a method in which a schema triple scheme (schema triple) in an output file.
일실시예에 따른 대용량 링크드 데이터의 병렬 처리 장치의 동작 방법은 상기 입력 파일에 대한 스키마 트리플(schema triple)을 추출하여 획득한 인스턴스 트리플(instance triple)을 저장하는 단계를 더 포함할 수 있다.The operation method of the massively parallel linked data parallel apparatus according to an embodiment may further include storing an instance triple obtained by extracting a schema triple of the input file.
일실시예에 따른 대용량 링크드 데이터의 병렬 처리 장치는 입력 파일에 대한 스키마 트리플(schema triple)을 추출하는 스키마 트리플 추출부, 상기 추출된 스키마 트리플(schema triple)에 맵리듀스(mapreduce)를 반복 적용하여 RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning)을 처리하는 트랜지터비티 리즈닝 처리부, 상기 트랜지터비티 리즈닝 처리된 스키마 트리플(schema triple)에서 중복되는 트리플(duplicate triple)을 제거하는 중복 트리플 제거부, 및 상기 중복되는 트리플이 제거된 스키마 트리플(schema triple)에 대해 인헤리턴스 리즈닝(inheritance reasoning)을 처리하는 인헤리턴스 리즈닝(inheritance reasoning) 처리부를 포함할 수 있다.The apparatus for parallel processing large amount of linked data according to an exemplary embodiment includes a schema triple extracting unit for extracting a schema triple for an input file, and a mapreduce is repeatedly applied to the extracted schema triple A transitivity bottleneck processing unit for processing transitivity reasoning for a Resource Description Framework (RDF) ontology, a duplicate triple in a schema triplet processed in the transit bit depth list, And an inheritance reasoning processing unit for processing inheritance reasoning for the schema triples from which the redundant triples have been removed. have.
일실시예에 따른 상기 트랜지터비티 리즈닝 처리부는, 상기 트랜지터비티 리즈닝(transitivity reasoning)을 모노톤 픽스드 포인트 반복 모델(monotone fixed-point iteration model)로 정의할 수 있다.The transitivity bottleneck processing unit according to an exemplary embodiment may define the transitivity reasoning as a monotone fixed-point iteration model.
일실시예에 따른 상기 트랜지터비티 리즈닝 처리부는, 리듀스 태스크를 통해 이전 반복에서 처리한 데이터 파티션을 로컬 파일 시스템에 저장하고, 상기 저장된 데이터 파티션의 위치에 기초하여 다음 번의 리듀스 태스크를 할당할 수 있다.The transit bit listening processor according to an exemplary embodiment may store a data partition processed in a previous iteration through a redo task in a local file system and allocate a next redo task based on the location of the stored data partition can do.
본 발명의 일실시예에 따르면, 하둡(Hadoop)을 이용하여 맵리듀스(MapReduce)를 반복 적용하여 효과적으로 RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning)을 수행할 수 있다.According to an embodiment of the present invention, it is possible to effectively perform transitivity reasoning on an RDF (Resource Description Framework) ontology by repeatedly applying MapReduce using Hadoop.
본 발명의 일실시예에 따르면, RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning)을 모노톤 픽스드 포인트 반복 모델(monotone fixed-point iteration model)로 정의하고, 효율적인 병렬처리를 위해 하둡(Hadoop)을 기반으로 제시한 모델을 구현할 수 있다.According to an embodiment of the present invention, a transitivity reasoning for a resource description framework (RDF) ontology is defined as a monotone fixed-point iteration model, and an efficient parallel processing You can implement a model based on Hadoop.
본 발명의 일실시예에 따르면, 리듀스 태스크가 이전 반복에서 처리한 데이터 분할을 로컬 파일 시스템에 저장하고, 데이터 분할의 지역성(locality)을 기반으로 다음 번 리듀스 태스크를 할당하여 태스크 간의 데이터 통신량 및 계산량을 줄일 수 있다.According to one embodiment of the present invention, the redisplay task stores the data partition processed in the previous iteration in the local file system and allocates the next redisplay task based on the locality of the data partition, And the amount of calculation can be reduced.
도 1은 맵리듀스를 설명하는 도면이다.
도 2는 모노톤 픽스드 포인트 반복 모델(monotone fixed-point iteration model)을 설명하는 도면이다.
도 3 및 도 4는 개선된 모노톤 픽스드 포인트 반복 모델(monotone fixed-point iteration model)을 설명하는 도면이다.
도 5는 본 발명의 일실시예에 따른 대용량 링크드 데이터의 병렬 처리 장치를 설명하는 블록도이다.
도 6은 본 발명의 일실시예에 따른 스키마 트리플 추출부에서의 맵 테스크를 설명하는 도면이다.
도 7은 본 발명의 일실시예에 따른 스키마 트리플 추출부에서의 리듀스 테스크를 설명하는 도면이다.
도 8은 (델타)-조인 알고리즘을 설명하는 도면이다.
도 9는 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부에서의 맵 테스크를 설명하는 도면이다.
도 10는 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부에서의 리듀스 테스크를 설명하는 도면이다.
도 11은 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부에서의 맵 테스크를 설명하는 도면이다.
도 12은 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부에서의 리듀스 테스크를 설명하는 도면이다.
도 13은 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부에서의 맵 테스크를 설명하는 도면이다.
도 14는 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부에서의 리듀스 테스크를 설명하는 도면이다.
도 15은 본 발명의 일실시예에 따른 중복 트리플 제거부에서의 맵 테스크를 설명하는 도면이다.
도 16은 본 발명의 일실시예에 따른 중복 트리플 제거부에서의 리듀스 테스크를 설명하는 도면이다.
도 17는 본 발명의 일실시예에 따른 인헤리턴스 리즈닝 처리부에서의 맵 테스크를 설명하는 도면이다.
도 18은 본 발명의 일실시예에 따른 인헤리턴스 리즈닝 처리부에서의 리듀스 테스크를 설명하는 도면이다.Fig. 1 is a view for explaining a map deuce.
FIG. 2 is a diagram for explaining a monotone fixed-point iteration model. FIG.
Figures 3 and 4 are diagrams illustrating an improved monotone fixed-point iteration model.
5 is a block diagram illustrating an apparatus for parallel processing large capacity linked data according to an embodiment of the present invention.
6 is a view for explaining a map task in a schema triple extracting unit according to an embodiment of the present invention.
7 is a view for explaining a reduction task in a schema triple extracting unit according to an embodiment of the present invention.
Figure 8 (Delta) -join algorithm.
FIG. 9 is a view for explaining a map task in a transitivity feedback processing unit according to an embodiment of the present invention.
10 is a view for explaining a reduction task in a transitivity bottleneck processing unit according to an embodiment of the present invention.
11 is a view for explaining a map task in a transitivity bottleneck processing unit according to an embodiment of the present invention.
FIG. 12 is a view for explaining a reduction task in a transitivity bottleneck processing unit according to an embodiment of the present invention.
FIG. 13 is a view for explaining a map task in a transitivity bottleneck processing unit according to an embodiment of the present invention.
FIG. 14 is a view for explaining a reduction task in a transitivity bottleneck processing unit according to an embodiment of the present invention.
15 is a view for explaining a map task in a duplicate triple elimination according to an embodiment of the present invention.
16 is a view for explaining a reduction task in a duplicate triple elimination according to an embodiment of the present invention.
17 is a view for explaining a map task in an inheritance listening processor according to an embodiment of the present invention.
18 is a view for explaining a reduction task in the inheritance listening processor according to an embodiment of the present invention.
이하, 본 발명에 따른 바람직한 실시예를 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the accompanying drawings.
본 발명을 설명함에 있어서, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고, 본 명세서에서 사용되는 용어(terminology)들은 본 발명의 바람직한 실시예를 적절히 표현하기 위해 사용된 용어들로서, 이는 사용자, 운용자의 의도 또는 본 발명이 속하는 분야의 관례 등에 따라 달라질 수 있다. 따라서, 본 용어들에 대한 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다. 각 도면에 제시된 동일한 참조 부호는 동일한 부재를 나타낸다.In the following description of the present invention, detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. The terminologies used herein are terms used to properly represent preferred embodiments of the present invention, which may vary depending on the user, the intent of the operator, or the practice of the field to which the present invention belongs. Therefore, the definitions of these terms should be based on the contents throughout this specification. Like reference symbols in the drawings denote like elements.
도 1은 맵리듀스를 설명하는 도면이다.Fig. 1 is a view for explaining a map deuce.
맵리듀스를 처리하기 위해서는 입력 데이터를 스플리트(split)하여 여러 조각으로 분할한다.To process the MapReduce, the input data is split and divided into several pieces.
예를 들어, 입력 데이터로부터 쪼개진 데이터는 각각의 Map()으로 보내지고, Map()에서 <키(key), 밸류(value)>의 형태로 출력될 수 있다.For example, data cleaved from input data can be sent to each Map () and output in the form of <key (key), value> in Map ().
이후, 각각의 Map()에서의 출력들은 다른 Map()에서 출력된 개수와 합쳐질 수 있고, Map()에서 출력된 키 값을 이용하여 파티셔닝(partioning)과 소팅(soring) 과정이 일어날 수 있다.Then, the outputs from each Map () can be combined with the numbers output from other Map (), and the partitioning and soring processes can occur using the key values output from Map ().
맵 과정이 끝나고 나면 리듀스 과정이 진행될 수 있고, 리듀스 과정에서 키 값이 같은 출력 값끼리 모아지게 된다.After the map process is finished, the redescription process can be performed and the output values having the same key value are collected during the redescription process.
이렇게 모아지는 과정을 셔플(shuffle)이라고 하는데, 셔플된 데이터는 앞에 키 값이 위치하고 뒤에는 각 밸류들이 위치한다.This process is called shuffle. The shuffled data is preceded by the key value followed by each value.
이렇게 셔플된 데이터를 통해 Reduce() 처리를 할 수 있다.Reduce () processing can be done through this shuffled data.
Map()은 레코드 단위로 처리해야 하는 작업을 담당하고 Reduce()는 관련된 데이터끼리 묶어서 처리해야 하는 작업을 담당한다. 따라서 Map()과 Reduce()의 작업 사이에는 Map()에서 처리한 데이터를 Reduce()에서 처리하기 위해 데이터를 파티셔닝(partitioning)하는 과정이 필요한 것이다.Map () is responsible for the tasks that need to be done on a record-by-record basis, while Reduce () is responsible for handling the related data together. Therefore, between Map () and Reduce () operations, we need to partition the data to process the data processed by Map () in Reduce ().
도면부호 110은 이렇게 입력 파일이 맵리듀스 과정을 거쳐 출력 파일로 생성되는 것을 설명하고, 도면부호 120은 분산 파일 시스템에 있어 맵리듀스 과정을 반복해서 처리하는 과정을 나타내는 도면이다.
도면부호 120은 최근 빅데이터의 분석에서 맵리듀스(MapReduce)를 반복하여 적용하여 고정 소수점(fixed-point)의 해를 구하는데 이용될 수 있다.
도 2는 모노톤 픽스드 포인트 반복 모델(200)을 설명하는 도면이다.2 is a diagram for explaining a monotone fixed
입력 파일에 대해 맵(Map)과 리듀스(Reduce)의 과정을 통해 출력값을 생성하는데, 이러한 과정을 하나의 잡(Job)으로 표현할 수 있다.An output value is generated through a process of Map and Reduce for an input file. Such a process can be represented by a job.
도 2에서 xn은 n번째 리즈닝 반복에 있어 RDF 스키마 트리플들의 세트로 해석될 수 있고, x은 Tn으로부터 새롭게 획득되는 RDF 트리플들의 세트로 해석될 수 있다.In Figure 2, x n can be interpreted as a set of RDF schema triples for the n-th listening loop, x can be interpreted as a set of RDF triples newly obtained from T n .
p[k]n은 n번째 반복에서 리듀스로 피드백되는 키(k)에 대한 데이터 파티션으로 해석될 수 있다.p [k] n may be interpreted as a data partition for the key (k) fed back to the residue at the nth iteration.
n=1, 2, 3이고, f(xn) = xn 일 때까지 f(xn) = xn+1으로 표현되는 픽스드 포인트 반복 모델을 적용할 수 있다.and n = 1, 2, 3, can be applied to f (x n) = x n be f (x n) = x n online endpoint repeated model, which is represented by +1 until.
모노톤 픽스드 포인트 반복에서의 잡이 'f'는 입력 파일의 세트인 xn에 적용될 수 있으며, 출력되는 트리플 세트 xn+1의 크기는 입력되는 트리플 세트 xn의 크기로부터, 새로 생성되는 트리플 세트 x n에 의해서 단조 증가할 수 있다.The 'f' in the monotone fixed point repetition can be applied to x n , the set of input files, and the size of the output triple set x n + 1 is determined from the size of the input triple set x n , x n . < / RTI >
도 2의 모노톤 필스드 포인트 반복 모델은 반복이 진행될수록 회귀적으로 맵 테스트로 재입력되는 데이터 량이 증가하면서 각 반복에서 리듀스 테스크로 전송되는 데이터의 총량 도 함께 증가할 수 있다.In the monotone repetitive point repetition model of FIG. 2, as the repetition progresses, the amount of data re-input to the map test increases recursively, and the total amount of data Can also increase.
도 3은 개선된 모노톤 필스드 포인트 반복 모델(300)을 설명하는 도면이다.Figure 3 is a diagram illustrating an improved monotone
모노톤 필스드 포인트 반복 모델(300)은 n = 1, 2, 3, ...에서 'f'에 의한 x n을 생성할 수 있는데, |x n|이 '0'일 때까지 반복할 수 있다.The monotone
다시 말해, 'f'는 새로 생성되는 트리플 세트 xn에 의해서 단조 증가하지 않는 n까지 반복을 계속할 수 있다.In other words, 'f' is the newly created triple set it is possible to continue the repetition up to n which does not increase monotone by x n .
모노톤 필스드 포인트 반복 모델(300)은 ?n을 생성하는데 xn-1이 영향을 주지 않는 경우, 즉 의 조건을 만족하는 x만 다시 회귀 입력(recursive input)으로 반복하여 전송되는 데이터 량을 대폭 줄일 수 있다.What is a monotone
그러나, 인 경우, 즉 xn을 생성하는데 xn-1이 영향을 주는 경우에는 트랜지터비티 리즈닝의 적용이 불가하다.But, In other words, When x n -1 affects x n , it is not possible to apply transient bit listening.
도 4는 개선된 모노톤 필스드 포인트 반복 모델(400)을 설명하는 도면이다.4 is a diagram for explaining an improved monotone
모노톤 필스드 포인트 반복 모델(400)은 n번째 반복 시 맵 테스크로부터 리듀스 테스크로 피드백된 데이터 세트, 즉 파티션을 로컬 파일 시스템 및 HDFS(Hadoop Distributed File System)에 저장할 수 있다.The monotone Puls
즉, 모노톤 필스드 포인트 반복 모델(400)은 키(k)에 대한 각 리듀스 테스크가 n번째 반복에서 피드백된 데이터 세트(p[k]n)을 자신의 로컬 파일 시스템 및 HDFS(Hadoop Distributed File System)에 지속적으로 저장(∪1≤i≤np[k]i)할 수 있다.That is, black and white Phelps endpoint repeated
또한, 모노톤 필스드 포인트 반복 모델(400)은 로컬 파일 시스템에 저장되어 있는 파일을 n+1번째 반복에서 사용할 수 있다.Also, the monotone Puls
모노톤 필스드 포인트 반복 모델(400)은 기존의 리듀스 테스크 스케쥴링과는 달리 데이터 지역성(data locality)을 고려할 수 있다.The monotone repetitive
모노톤 필스드 포인트 반복 모델(400)은 n번째 반복에서 키(k)를 위한 리듀스 테스크의 할당 시 파티션 파일의 데이터 지역성을 우선적으로 고려하여 할당할 수 있다.The monotone fill
예를 들어, 모노톤 필스드 포인트 반복 모델(400)은 키(k)에 대한 리듀스 테스크에 오류가 발생한 경우에 다음과 같이 처리할 수 있다.For example, the monotone fill-
먼저, 모노톤 필스드 포인트 반복 모델(400)은 지역성 스케쥴링(Locality scheduling)에 따라 새로운 노드에 리듀스 테스크를 재할당하고, 새로운 노드가 HDFS로부터 자신의 키에 해당하는 파티션 파일을 LFS로 복사하도록 하며, LFS에 복사된 파티션 파일을 이용하여 리듀스 테스크를 재수행하도록 할 수 있다.First, the monotone Puls
또한, 모노톤 필스드 포인트 반복 모델(400)은 이후 지역성 스케쥴링(Locality scheduling)의 목록에서 오류가 발생한 기존 노드 정보를 삭제하고 새로운 노드 정보를 추가할 수 있다.In addition, the monotone
도 5는 본 발명의 일실시예에 따른 대용량 링크드 데이터의 병렬 처리 장치(500)을 설명하는 블록도이다.5 is a block diagram illustrating an
본 발명의 일실시예에 따른 대용량 링크드 데이터의 병렬 처리 장치(500)는 맵리듀스(MapReduce)를 반복 적용하여 효과적으로 RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning)을 수행할 수 있다. The
또한, 본 발명의 일실시예에 따른 대용량 링크드 데이터의 병렬 처리 장치(500)는 RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning)을 모노톤 픽스드 포인트 반복 모델(monotone fixed-point iteration model)로 정의하고, 효율적인 병렬처리를 위해 하둡(Hadoop)을 기반으로 제시한 모델을 구현할 수 있다.In addition, the
또한, 본 발명의 일실시예에 따른 대용량 링크드 데이터의 병렬 처리 장치(500)는 리듀스 태스크가 이전 반복에서 처리한 데이터 분할을 로컬 파일 시스템에 저장하고, 데이터 분할의 지역성(locality)을 기반으로 다음 번 리듀스 태스크를 할당하여 태스크 간의 데이터 통신량 및 계산량을 줄일 수 있다.In addition, the large-capacity linked data
이를 위해서, 본 발명의 일실시예에 따른 대용량 링크드 데이터의 병렬 처리 장치(500)는 스키마 트리플 추출부(510), 트랜지터비티 리즈닝 처리부(520), 중복 트리플 제거부(530), 및 인헤리턴스 리즈닝 처리부(540)를 포함할 수 있다.To this end, the apparatus for parallel processing large capacity linked
본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 입력 파일에 대한 스키마 트리플(schema triple)을 추출할 수 있다.The
온톨로지의 스키마 트리플은 두 개체의 개념들과 이들 개념(concept)들 간의 관계 또는 어떤 개념이 가질 수 있는 속성을 표현하는 것으로 해석될 수 있다.The schema triple of an ontology can be interpreted as representing the concepts of two entities, the relationship between these concepts, or the attributes that a concept can have.
온톨로지는 스키마 트리플을 따르는 다량의 인스턴스 트리플을 포함할 수 있고, 이들 인스턴스 트리플은 실세계에서 자연어 문장 형태로 등장할 수 있다.An ontology can contain a large number of instance triples that follow a schema triple, and these instance triples can appear in natural-language sentences in the real world.
본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 입력 파일의 인스턴스 트리플 정보를 활용하여 주어진 스키마 트리플을 추출할 수 있다.The
온톨로지는 스키마 레벨과 인스턴스 레벨로 구분될 수 있다.The ontology can be divided into schema level and instance level.
스키마레벨의 트리플은 개체의 개념들과 이들 간의 의미적인 관계와 가능한 속성을 표현하고, 인스턴스레벨의 트리플은 사실 정보로써 실세계 자연어에서 이러한 의미를 포함하는 다양한 문장 형태로 등장할 수 있다.A triple at a schema level represents concepts of objects, their semantic relations and possible attributes, and an instance-level triple can appear as a variety of sentences including this meaning in real-world natural language as fact information.
도 6은 본 발명의 일실시예에 따른 스키마 트리플 추출부(510)에서의 맵 테스크를 설명하는 도면이고, 도 7은 본 발명의 일실시예에 따른 스키마 트리플 추출부에서의 리듀스 테스크를 설명하는 도면이다.FIG. 6 is a view for explaining a map task in the schema
맵 및 리듀스(Map/Reduce)는 빅데이터의 분산처리에 있어, 컴퓨터 클러스터 환경에서 잡(job)을 분산시켜 처리하는 소프트웨어 프레임워크로 해석될 수 있다.Map and Reduce can be interpreted as a software framework that distributes and processes jobs in a computer cluster environment in distributed processing of big data.
본 명세서에서 사용되는 잡(Job)은 사용자가 요청한 작업의 단위로 해석될 수 있다. 잡(Job)은 여러 대의 노드에서 분산 처리될 수 있는데, 이 때 각 노드에서 수행하는 세부 작업 단위를 테스크(Task)라고 부른다. 맵(Map) 테스크들이 먼저 수행되고 나면 리듀스(Reduce) 테스크 들이 그 결과를 가져와 처리할 수 있다.The job used in this specification can be interpreted as a unit of a job requested by the user. Jobs can be distributed on several nodes. In this case, the detailed work unit performed by each node is called a task. Once the Map tasks are executed first, Reduce tasks can take the results and process them.
맵 및 리듀스(Map/Reduce)는 함수 형 언어에서 리스트 데이터를 처리할 때 사용하는 함수로서, 크게 맵(Map) 함수와 리듀스(Reduce) 함수로 나눠진다.Map and Reduce are functions used to process list data in functional languages, and they are divided into Map functions and Reduce functions.
먼저, 도 6에서 본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 입력 파일로부터 맵 테스크(600)를 수행할 수 있다.First, in FIG. 6, a
본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 맵 테스크(600)에서 레코드 단위로 처리해야 하는 작업을 담당할 수 있다.The schema
구체적으로, 본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 입력 파일로부터 트리플을 입력 받아, <키(key), 밸류(value)>의 형태로 스키마 트리플을 추출할 수 있다.Specifically, the
즉, 본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 "C1 rdfs:subClassOf C2"의 트리플을 입력받는 경우, 키 값으로는 "rdfs:subClassOf"을, 밸류 값으로는 "C1 rdfs:subClassOf C2"을 추출할 수 있다.That is, when a triple of "C1 rdfs: subClassOf C2" is inputted, the schema
마찬가지로, 본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 "C2 rdfs:subClassOf C3"의 트리플을 입력받는 경우, 키 값으로는 "rdfs:subClassOf"을, 밸류 값으로는 "C2 rdfs:subClassOf C3"을 추출할 수 있다.Likewise, when a triple of "C2 rdfs: subClassOf C3" is input, the
또한, 본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 "a rdf:type C1"의 트리플을 입력받는 경우, 키 값으로는 "rdf:type"을, 밸류 값으로는 "a rdf:type C1"을 추출할 수 있다.When a triple of "a rdf: type C1" is inputted, the schema
또한, 본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 "b rdf:type C2"의 트리플을 입력받는 경우, 키 값으로는 "rdf:type"을, 밸류 값으로는 "a rdf:type C2"을 추출할 수 있다.When a triple of "b rdf: type C2" is inputted, the schema
또한, 본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 "C3 rdfs:subClassOf C4"의 트리플을 입력받는 경우, 키 값으로는 "rdfs:subClassOf"을, 밸류 값으로는 "C3 rdfs:subClassOf C4"을 추출할 수 있다.When a triple of "C3 rdfs: subClassOf C4" is inputted, the schema
또한, 본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 "c rdf:type C3"의 트리플을 입력받는 경우, 키 값으로는 "rdf:type"을, 밸류 값으로는 "a rdf:type C2"을 추출할 수 있다.In addition, when a triple of "c rdf: type C3" is input, the schema
다음으로, 본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 도 7에서 보는 바와 같이, 리듀스 테스크(700)을 수행할 수 있다.Next, the
본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 리듀스 테스크(700)에서 관련된 데이터끼리 묶어서 처리해야 하는 작업을 처리할 수 있다.The schema
맵 테스크와 리듀스 테스크 작업 사이에는 맵 테스크(600)에서 처리한 데이터를 리듀스 테스크(700)에서 처리하기 위해 데이터를 분류(partitioning)하는 과정이 필요하며, 본 발명에서는 키 값을 이용하여, 데이터를 분류할 수 있다.Between the map task and the redess task, a process of partitioning data processed by the
즉, 본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 키 값으로 추출된 스키마 트리플을 정렬할 수 있다.That is, the
즉, 추출된 스키마 트리플은 "rdfs:subClassOf"와 "rdf:type"의 키 값으로 분류될 수 있는데, 키 값 별로 스키마 트리플을 정렬한 후 리듀스 테스크(700)을 진행할 수 있다.That is, the extracted schema triples can be classified into key values of "rdfs: subClassOf" and "rdf: type ", and the schema triples can be sorted according to key values,
본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 입력 파일의 인스턴스 트리플 정보를 활용하고, 온톨로지에 대해서 스키마 레벨과 인스턴스 레벨로 구분하여 스키마 트리플을 추출할 수 있다.The schema
본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 맵 테스크(600)에서 관련된 데이터끼리 동일한 키 값을 할당하면 같은 키 값을 가진 데이터끼리 묶여서 리듀스 테스크(700)에 전달할 수 있다.The schema
본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 결과 데이터를 저장할 때 같은 키 값끼리 정렬해서 저장할 수 있다.The
또한, 이 때 같은 키 값끼리 모은 데이터에 대해서 다시 같은 리듀스 테스크(700)에서 처리할 데이터끼리 모아서 정렬하는 분류(partitioning)을 처리할 수 있다.At this time, it is possible to process partitioning for collecting and arranging data to be processed in the
또한, 본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 맵 테스크(600) 작업이 끝나면 리듀스 테스크(700)에서는 자식이 담당하는 분류 데이터를 가져오는 셔플(shuffle) 과정을 거쳐 키 값 별로 병합 정렬할 수 있다.In addition, the
이후, 본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 <키(key), 밸류(value)>의 쌍으로 스키마 트리플을 묶어서 리듀스 테스크(300)에서 처리할 수 있다.Hereinafter, the
본 발명의 일실시예에 따른 스키마 트리플 추출부(510)는 "C1 rdfs:subClassOf C2", "C2 rdfs:subClassOf C3", 및 "C3 rdfs:subClassOf C4"의 스키마 트리플을 추출하고, "schema in/"의 출력 디렉토리에 저장할 수 있다.The
리듀스 테스크(700) 처리된 결과는 대용량 링크드 데이터의 병렬 처리 장치(500) 내에 있는 사용자가 지정한 결과 디렉토리에 저장될 수 있다.The result of the
본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 상기 추출된 스키마 트리플(schema triple)에 맵리듀스(mapreduce)를 반복 적용하여 RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning)을 처리할 수 있다.The transitivity
이를 위해, 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 모노톤 픽스드 포인트 반복 모델(monotone fixed-point iteration model)을 정의할 수 있다.For this purpose, the transit bit depth
또한, 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 리듀스 태스크를 통해 이전 반복에서 처리한 데이터 파티션을 로컬 파일 시스템에 저장하고, 저장된 데이터 파티션의 위치에 기초하여 다음 번의 리듀스 태스크를 할당할 수 있다.In addition, the transitivity
본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 "f(xn) = f(xn-1∪xn-1) = f(xn-1) ∪f(xn-1)"의 조건을 만족하는 경우에, 즉 xn을 생성하는데 xn-1이 영향을 주지 않는 경우의 x만 다시 반복되는 입력(recursive input)으로 반복하여 전송되는 데이터 량을 대폭 줄일 수 있다.The transit bit boundary
이를 위해, 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 n번째 반복 시에 맵 테스크로부터 리듀스 테스크로 피드(feed)된 데이터 세트 또는 파티션을 로컬 파일 시스템 및 대용량 링크드 데이터의 병렬 처리 장치에 저장할 수 있다.To this end, the transitivity
이때, 키 값 k에 대한 각 리듀스 테스크가 n번째 반복에서 피드된 데이터 세트(p[k]n)를 자신의 로컬 파일 시스템 및 대용량 링크드 데이터의 병렬 처리 장치에 지속적으로 저장(∪1=i=np[k]i)할 수 있다.At this time, each resume task for the key value k continuously stores the data set (p [k] n ) fed from the n-th iteration in its own local file system and the parallel processing unit of massively linked data (∪1 = i = n p [k] i ).
이렇게 로컬 파일 시스템 및 대용량 링크드 데이터의 병렬 처리 장치에 저장된 로컬 파일은 n+1번째 반복에서 사용될 수 있다.Thus, the local file stored in the local file system and the parallel processing device of the large amount of linked data can be used in the (n + 1) th iteration.
본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 n번째 반복에서 키 값 k를 위한 리듀스 테스크 할당시 파티션 파일의 데이터 지역성을 우선적으로 고려할 수 있다.The transitivity
본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 로컬 파일 시스템에 키 k에 대한 n-1번째 반복까지의 파티션 파일을 저장하고 있는 노드와 이외의 노드들로서, 자신의 로컬 파일 시스템 및 대용량 링크드 데이터의 병렬 처리 장치에 저장된 파티션 파일을 카피하고 있는 리듀스 테스크가 배정된 노드들을 고려할 수 있다.The transitivity
본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 키 값 k에 대한 리듀스 테스크에 오류가 발생한 경우, 지역성 스케쥴링에 따라 새로운 노드에 리듀스 테스크를 할당할 수 있다.The transit bit listening
또한, 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 대용량 링크드 데이터의 병렬 처리 장치로부터 자신의 키 값 k에 해당하는 파티션 파일을 로컬 파일 시스템으로 복수하도록, 노드를 제어하고, 로컬 파일 시스템에 복사된 파티션 파일을 이용하여 리듀스 테스크를 재수행할 수 있다.In addition, the transit bit listening
또한, 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 이후 지역성 스케쥴의 목록에서 오류가 발생한 기존 노드 정보를 삭제하고 새로운 노드 정보를 추가할 수 있다.In addition, the transitivity
도 8은 -조인 알고리즘(800)을 설명하는 도면이다.Figure 8 - < / RTI > join
-조인 알고리즘(800)을 살펴보면, 클래스들의 세트 C와, 프로퍼티들의 세트 P가 주어졌을 때, - Join
트리플 t = (s p o), 여기서 s ∈ C ∧ p ∈ P ∧ o ∈ C,Triple t = (s p o), where s ∈ C ∧ p ∈ P ∧ o ∈ C,
트리플 세트 T ⊂ {(s p o) | s ∈ C ∧ p ∈ P ∧ o ∈ C},Triple set T ⊂ {(s p o) | s ∈ C ∧ p ∈ P ∧ o ∈ C}
키 값 k에 의해 맵 처리된 트리플 <k, t>=<k, (s p o)>,The triple <k, t> = <k, (s p o)> mapped by the key value k,
키 값 k에 의해 맵 처리된 트리플들의 집합은 Tk = {<k, t> | t ∈ T}으로 표현될 수 있다.
The set of triples mapped by key value k is Tk = {<k, t> | t ∈ T}.
-조인 알고리즘(800)은 트리플들의 -조인(join)을 이용하는 리듀스 함수(-Join)를 구동시킬 수 있다. The
-조인 알고리즘(800)은 리듀스 함수(-Join)를 통해 리듀스 테스크로부터 새로 수신된 맵 처리된 트리플들로서, Tk를 정의하고, Tk로부터 추출된 트리플들의 세트로서 T를 정의하며, S =, O = , L = 로 정의할 수 있다. The
또한, -조인 알고리즘(800)은 리듀스 함수(-Join)를 통해 "localfile_k"로부터 L에 트리플들을 리딩할 수 있다.Also, The
만약, 리딩된 결과 "|L| > 0"의 조건을 만족하면, -조인 알고리즘(800)은 T를 "localfile_k"와 "hdfsfile_k"에 추가할 수 있다.If the condition of the leading result "| L | >0" is satisfied, The
만약, "|L| > 0"의 조건을 만족하지 않으면, -조인 알고리즘(800)은 "hdfsfile_k"로부터 L에 트리플들을 리딩하며, "|L| > 0"의 조건을 만족하지 않으면서 "|L| == 0"의 조건을 만족하면, "hdfsfile_k"를 생성하고, T를 "hdfsfile_k"에 추가하고, "|L| > 0"의 조건을 만족하지 않으면, "localfile_k"를 생성하고, (L ∪ T)를 "localfile_k"에 추가할 수 있다.If the condition of "| L | >0" is not satisfied, -
또한, -조인 알고리즘(800)은 "|L| > 0"의 조건을 만족하면, L로부터 's' rdfs:subClassOf k를 만족하는 's'를 선택하여 S에 치환하고, L로부터 k rdfs:subClassOf 'o'를 만족하는 'o'를 선택하여 O에 치환하며, T로부터 's' rdfs:subClassOf k를 만족하는 's'를 선택하여 S에 치환하고, T로부터 k rdfs:subClassOf 'o'를 만족하는 'o'를 선택하여 O에 치환할 수 있다.Also, -
또한, -조인 알고리즘(800)은 s ∈ S이고, o ∈ O이면, "temp/"에 "s rdfs:subClassOf o"를 출력할 수 있고, o ∈ O이고, s ∈ S이면, "temp/"에 "output (s rdfs:subClassOf o)"를 출력할 수 있다.Also, The join algorithm (800) S, and o ∈ O, you can output "s rdfs: subClassOf" to "temp /", and o ∈ O, and s ∈ S, "output (s rdfs: subClassOf o)" can be output to "temp /".
-조인 알고리즘(800)은 리듀스 함수(-Join)를 통해서 "localfile_k"에 저장된 트리플들 끼리의 조인은 제외시킬 수 있다. The
즉, 리듀스 함수(-Join)는 새로 입력된, 즉 xn-1에서 획득된 트리플에 대해서만 조인을 수행할 수 있다.That is, -Join) is a new input The join can be performed only for the triples obtained at x n-1 .
-조인 알고리즘(800)에 따르면, n번째 반복의 리듀스 테스크에서 조인해야 하는 전체 트리플의 개수Mn에 대해서 Σ1≤i≤n|p[k]i| 로 표현할 수 있다. According to the
또한, -조인 알고리즘(800)은 전체 Mn개의 트리플 중 "localfile_k"에 저장된 트리플의 개수를 Σ1≤i≤n-1|p[k]i| = |L|로 표현할 수 있고, 그 중에 1/2이 k가 오브젝트 또는 서브젝트인 트리플이라고 가정하면, |S| = |O| = |L|/2으로 표현할 수 있다.Also, -
-조인 알고리즘(800)에 따르면, 새로 입력된, 다시 말해 xn-1에서 획득된 트리플의 개수를 |p[k]n| = |T| = Mn - |L|로 표현할 수 있고, 그 중에서 1/2이 k가 오브젝트 또는 서브젝트인 트리플이라고 가정하면, |S| = |O| = |T|/2 = (Mn-|L|)/2로 표현될 수 있다. According to the
-조인 알고리즘(800)에서의 전체 조인 횟수는 다음과 같다.
The total number of joins in the
((Mn-|L|)/2) * ((Mn-|L|)/2) + 2 * ((Mn-|L|)/2) * (|L|/2) ((M n - | L | ) / 2) * ((M n - | L |) / 2) + 2 * ((M n - | L |) / 2) * (| L | / 2)
= ((Mn-|L|)/2) * (((Mn-|L|)/2) + 2 * (|L|/2)) = ((Mn-|L|)/2) * ((Mn+|L|)/2) = ((M n - | L |) / 2) * (((M n - | L |) / 2) + 2 * (| L | / 2)) = ((M n - | L |) / 2 ) * ((M n + | L |) / 2)
= ((Mn-|L|)*(Mn+|L|))/4 = (Mn 2-|L|2)/4 = Mn 2/4 - |L|2/4
= (M n - | L |) * (M n + | L)) / 4 = (M n 2 - | L | 2 ) / 4 = M n 2 / 2.4
-조인 알고리즘(800)의 각 반복에서 발생하는 전체 조인의 수는 로컬 트리플 수의 제곱 만큼씩 줄어 들고, |L| = 0인 경우에 조인의 횟수는 'Mn 2/4'로 표현될 수 있다. The total number of joins occurring in each iteration of the
본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 도 9 내지 14를 통해서, 추출된 스키마 트리플에 대해서 맵리듀스(mapreduce)를 반복하여 트랜지터비티 리즈닝(transitivity reasoning)을 처리할 수 있다.The transitivity
도 9는 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)에서의 맵 테스크(900)를 설명하는 도면이다.FIG. 9 is a view for explaining a
구체적으로, 스키마 트리플로 추출된 "C1 rdfs:subClassOf C2", "C2 rdfs:subClassOf C3", 및 "C3 rdfs:subClassOf C4"은 도 9의 맵 테스크(900)를 통해서, <키(key), 밸류(value)>의 형태로 분류될 수 있다.Specifically, "C1 rdfs: subClassOf C2", "C2 rdfs: subClassOf C3", and "C3 rdfs: subClassOf C4" extracted as a schema triple are transmitted through the
본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 맵 테스크(900)를 통해 "C1 rdfs:subClassOf C2"의 스키마 트리플에 대해 "<C1, C1 rdfs:subClassOf C2>"와 "<C2, C1 rdfs:subClassOf C2>"으로 분류할 수 있고, "C2 rdfs:subClassOf C3"의 스키마 트리플에 대해 "<C2, C2 rdfs:subClassOf C3>"와 "<C3, C2 rdfs:subClassOf C3>"으로 분류할 수 있고, "C3 rdfs:subClassOf C4"의 스키마 트리플에 대해 "<C3, C3 rdfs:subClassOf C4>"와 "<C4, C3 rdfs:subClassOf C4>"으로 분류할 수 있다.Quot ;, " C1, C1 rdfs: subClassOf C2> "and" C1 rdfs: subClassOf C2 " for the schema triple of "C1 rdfs: subClassOf C2 " through the
도 10는 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부에서의 리듀스 테스크(1000)를 설명하는 도면이다.FIG. 10 is a view for explaining a
본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 다음의 세 개의 RDF 클래스가 있을 때, The transitivity
( x rdf:type rdfs:Class), ( x rdf: type rdfs: Class),
( y rdf:type rdfs:Class), ( y rdf: type rdfs: Class),
( z rdf:type rdfs:Class)( z rdf: type rdfs: Class)
아래의 클래스 트랜지터비티 룰(Class transitivity rule)에 기초하여, 리듀스 테스크(1000)를 처리할 수 있다.
Based on the class transitivity rule below, the
<클래스 트랜지터비티 룰>≪ Class Transistor Bitty Rule >
"(x rdfs:subClassOf y) ∧ (y rdfs:subClassof z) ⇒ (x rdfs:subClassOf z)"
"(x rdfs: subClassOf y) ∧ (y rdfs: subClassOf z) ⇒ (x rdfs: subClassOf z)"
구체적으로, 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 맵 테스크(900)를 통해서 분류된 "<C1, C1 rdfs:subClassOf C2>", "<C2, C1 rdfs:subClassOf C2>", "<C2, C2 rdfs:subClassOf C3>", "<C3, C2 rdfs:subClassOf C3>", "<C3, C3 rdfs:subClassOf C4>", 및 "<C4, C3 rdfs:subClassOf C4>"에 대해, 리듀스 테스크(1000)를 통해서 "C1 rdfs:subClassOf C3"와 "C2 rdfs:subClassOf C4"만을 추출할 수 있다.Specifically, the transit bit depth
본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 트랜지터비티 리즈닝에 따라 신규 사항(new matter)이 생성되는지를 확인하고, 확인 결과, 신규 사항(new matter)이 생성된 경우에, RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning)을 반복 수행할 수 있다.The transitivity
도 11은 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)에서의 맵 테스크(1100)를 설명하는 도면이고, 도 12은 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)에서의 리듀스 테스크(1200)를 설명하는 도면이다.FIG. 11 is a diagram illustrating a
구체적으로, 리듀스 테스크(1000)를 통해서 추출된 "C1 rdfs:subClassOf C3"와 "C2 rdfs:subClassOf C4"는 도 11의 맵 테스크(1100)를 통해서, <키(key), 밸류(value)>의 형태로 분류될 수 있다.Concretely, "C1 rdfs: subClassOf C3" and "C2 rdfs: subClassOf C4" extracted through the
본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 맵 테스크(1100)를 통해 "C1 rdfs:subClassOf C3"의 스키마 트리플에 대해 "<C1, C1 rdfs:subClassOf C3>"와 "<C3, C1 rdfs:subClassOf C3>"으로 분류할 수 있고, "C2 rdfs:subClassOf C4"의 스키마 트리플에 대해 "<C2, C2 rdfs:subClassOf C4>"와 "<C4, C2 rdfs:subClassOf C4>"으로 분류할 수 있다.Quot; C1 rfs: subClassOf C3 "and" C1 rdfs: subClassOf C3 " for schema triples of "C1 rdfs: subClassOf C3 " through the
다음으로, 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 도 12의 리듀스 테스크(1200)를 통해서, "<C1, C1 rdfs:subClassOf C2>", "<C1, C1 rdfs:subClassOf C3>", "<C2, C1 rdfs:subClassOf C2>", "<C2, C2 rdfs:subClassOf C3>", "<C2, C2 rdfs:subClassOf C4>", "<C3, C1 rdfs:subClassOf C3>", "<C3, C2 rdfs:subClassOf C3>", "<C3, C3 rdfs:subClassOf C4>", "<C4, C2 rdfs:subClassOf C4>", 및 "<C4, C3 rdfs:subClassOf C4>"로부터 "C1 rdfs:subClassOf C4" 및 "C1 rdfs:subClassOf C4"를 추출할 수 있다.Next, the transit bit listening
본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부(520)는 도 12의 리듀스 테스크(1200)에서, "C1 rdfs:subClassOf C4" 및 "C1 rdfs:subClassOf C4"를 추출할 수 있다.The transit bit listening
도 13은 본 발명의 일실시예에 따른 트랜지터비티 리즈닝 처리부에서의 맵 테스크(800)를 설명하는 도면이다.FIG. 13 is a view for explaining a
도 12의 리듀스 테스크(1200)를 통해 추출된 "C1 rdfs:subClassOf C4" 및 "C1 rdfs:subClassOf C4"는 맵 테스크(800)를 통해서 "<C1, C1 rdfs:subClassOf C4>", "<C4, C1 rdfs:subClassOf C4>", "<C1, C1 rdfs:subClassOf C4>", 및 "<C1, C1 rdfs:subClassOf C4>"로 맵 처리될 수 있다.C1 rdfs: subClassOf C4 "and" C1 rdfs: subClassOf C4 "extracted through the
다음으로, 도 14의 리듀스 테스크(1400)를 통해서 추출된 Next, in the same manner as in Fig. 14,
의 크기가 인 조건을 만족하므로 트랜지터비티 리즈닝 과정을 종료할 수 있다.The size of The transient biting process can be terminated.
본 발명의 일실시예에 따른 중복 트리플 제거부(530)는 상기 트랜지터비티 리즈닝 처리된 스키마 트리플(schema triple)에서 중복되는 트리플(duplicate triple)을 제거할 수 있다.The redundant
도 15은 본 발명의 일실시예에 따른 중복 트리플 제거부(530)에서의 맵 테스크(1500)를 설명하고, 도 16은 리듀스 테스크(1600)를 설명하는 도면이다.FIG. 15 illustrates a
본 발명의 일실시예에 따른 중복 트리플 제거부(530)는 도 15의 맵 테스크(1500)를 통해서, "C1 rdfs:subClassOf C3", "C2 rdfs:subClassOf C4", "C1 rdfs:subClassOf C4", "C1 rdfs:subClassOf C4"의 스키마 트리플에 대해서 각각 "<C1, C1 rdfs:subClassOf C3>", "<C2, C2 rdfs:subClassOf C4>", "<C1, C1 rdfs:subClassOf C4>", "<C1, C1 rdfs:subClassOf C4>"으로 분류할 수 있다.C1 rdfs: subClassOf C4 "," C2 rdfs: subClassOf C4 "," C1 rdfs: subClassOf C4 "through the
다음으로, 본 발명의 일실시예에 따른 중복 트리플 제거부(530)는 도 16의 리듀스 테스크(1600)를 통해서, 분류된 "<C1, C1 rdfs:subClassOf C3>", "<C2, C2 rdfs:subClassOf C4>", "<C1, C1 rdfs:subClassOf C4>", "<C1, C1 rdfs:subClassOf C4>" 중에서 중복되는 "<C1, C1 rdfs:subClassOf C4>"를 제거할 수 있다.Next, the redundant
중복 제거된 "C1 rdfs:subClassOf C3", "C1 rdfs:subClassOf C4", "C2 rdfs:subClassOf C4"는 출력 디렉토리 "schema_out/"에 출력될 수 있다.C1 rdfs: subClassOf C4 "and" C2 rdfs: subClassOf C4 "may be output to the output directory" schema_out / ".
본 발명의 일실시예에 따른 인헤리턴스 리즈닝 처리부(540)는 상기 중복되는 트리플이 제거된 스키마 트리플(schema triple)에 대해서 인헤리턴스 리즈닝(inheritance reasoning)을 처리할 수 있다.The inheritance
본 발명의 일실시예에 따른 인헤리턴스 리즈닝 처리부(540)는 도 17의 맵 테스크(1700)를 통해서, "a rdf:type C1", "b rdf:type C2", "c rdf:type C3"의 인스턴스에 대해서 각각 "<C1, a rdf:type C1>", "<C2, b rdf:type C2>", "<C3, c rdf:type C3>"로 분류할 수 있다.The inheritance
또한, 본 발명의 일실시예에 따른 인헤리턴스 리즈닝 처리부(540)는 도 17의 맵 테스크(1700)를 통해서, "C1 rdfs:subClassOf C2", "C2 rdfs:subClassOf C3", "C3 rdfs:subClassOf C4"의 스키마 입력에 대해서 각각 "<C1, C1 rdfs:subClassOf C2>", "<C2, C2 rdfs:subClassOf C3>", "<C3, C3 rdfs:subClassOf C4>"로 분류할 수 있다.Also, the inheritance
또한, 본 발명의 일실시예에 따른 인헤리턴스 리즈닝 처리부(540)는 도 17의 맵 테스크(1700)를 통해서, "C1 rdfs:subClassOf C3", "C1 rdfs:subClassOf C4", "C2 rdfs:subClassOf C4"의 스키마 출력에 대해서 각각 "<C1, C1 rdfs:subClassOf C3>", "<C1, C1 rdfs:subClassOf C4>", "<C2, C2 rdfs:subClassOf C4>"로 분류할 수 있다.Also, the inheritance
다음으로, 본 발명의 일실시예에 따른 인헤리턴스 리즈닝 처리부(540)는 리듀스 테스크(1800)를 통해서 분류된 <C1, a rdf:type C1>, <C1, C1 rdfs:subClassOf C2>, <C1, C1 rdfs:subClassOf C3>, <C1, C1 rdfs:subClassOf C4>, <C2, b rdf:type C2>, <C2, C2 rdfs:subClassOf C3>, <C2, C2 rdfs:subClassOf C4>, <C3, c rdf:type C3>, <C3, C3 rdfs:subClassOf C4>에 대해서, a rdf:type C2, a rdf:type C3, a rdf:type C4, b rdf:type C3, b rdf:type C4, c rdf:type C4을 인스턴스로서, "instance_out/"의 출력 디렉토리에 출력할 수 있다.Next, the inheritance
실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다. The method according to an embodiment 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 to be recorded on the medium may be those specially designed and configured for the embodiments 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 embodiments, and vice versa.
이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. For example, it is to be understood that the techniques described may be performed in a different order than the described methods, and / or that components of the described systems, structures, devices, circuits, Lt; / RTI > or equivalents, even if it is replaced or replaced.
그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents to the claims are also within the scope of the following claims.
500: 대용량 링크드 데이터의 병렬 처리 장치
510: 스키마 트리플 추출부
520: 트랜지터비티 리즈닝 처리부 130: 중복 트리플 제거부
540: 인헤리턴스 리즈닝 처리부500: Parallel processing device of large capacity linked data
510: schema triple extraction unit
520: Transit ratio bit processing unit 130: Duplicate triple elimination unit
540: Inheritance rezoning processor
Claims (17)
입력 파일로부터 트리플을 입력 받고, 상기 입력된 트리플로부터 키(key) 값 및 밸류(value) 값을 포함하는 스키마 트리플(schema triple)을 추출하는 단계;
상기 추출된 스키마 트리플을 맵 태스크(Map task)로 처리하고, 상기 맵 태스크(Map task)로 처리된 데이터를 상기 키 값을 이용하여 정렬한 후, 상기 정렬된 데이터를 리듀스 태스크(Reduce task)로 처리하는 단계;
상기 추출된 스키마 트리플(schema triple)에 대한 상기 맵 태스크(Map task)의 처리 및 상기 리듀스 태스크(Reduce task)의 처리를 반복함으로써, RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning)을 처리하는 단계
를 포함하는 대용량 링크드 데이터의 병렬 처리 장치의 동작 방법.A method of operating a parallel processing device,
Receiving a triple from an input file and extracting a schema triple including a key value and a value from the inputted triple;
The extracted schema triple is processed by a map task, the data processed by the map task is sorted using the key value, and the sorted data is subjected to a reduction task, ; ≪ / RTI >
The processing of the Map task and the processing of the Reduce task on the extracted schema triple are repeated to perform transitive bit listening (RDF) on the RDF (Resource Description Framework) ontology transitivity reasoning
Capacity parallel data parallel processing unit.
상기 트랜지터비티 리즈닝(transitivity reasoning)을 처리하는 단계는,
상기 트랜지터비티 리즈닝(transitivity reasoning)을 모노톤 픽스드 포인트 반복 모델(monotone fixed-point iteration model)로 정의하는 단계
를 포함하는 대용량 링크드 데이터의 병렬 처리 장치의 동작 방법.The method according to claim 1,
Wherein processing the transitivity reasoning comprises:
Defining the transitivity reasoning as a monotone fixed-point iteration model;
Capacity parallel data parallel processing unit.
상기 트랜지터비티 리즈닝(transitivity reasoning)을 처리하는 단계는,
리듀스 태스크를 통해 이전 반복에서 처리한 데이터 파티션을 로컬 파일 시스템에 저장하는 단계; 및
상기 저장된 데이터 파티션의 위치에 기초하여 다음 번의 리듀스 태스크를 할당하는 단계
를 포함하는 대용량 링크드 데이터의 병렬 처리 장치의 동작 방법.The method according to claim 1,
Wherein processing the transitivity reasoning comprises:
Storing a data partition processed in a previous iteration through a redess task in a local file system; And
Assigning a next redundancy task based on the location of the stored data partition
Capacity parallel data parallel processing unit.
상기 저장된 데이터 파티션의 위치에 기초하여 다음 번의 리듀스 태스크를 할당하는 단계는,
상기 로컬 파일 시스템에 저장된 트리플 간의 조인을 제외하고, 새로 입력된 트리플에 대해서 조인을 수행하는 단계
를 포함하는 대용량 링크드 데이터의 병렬 처리 장치의 동작 방법.The method of claim 3,
Wherein the step of assigning a next redundancy task based on the location of the stored data partition comprises:
Performing joins on newly entered triples except joins between triples stored in the local file system
Capacity parallel data parallel processing unit.
상기 저장된 데이터 파티션의 위치에 기초하여 다음 번의 리듀스 태스크를 할당하는 단계는,
각 반복에서 발생하는 전체 조인의 수가 로컬 트리플 수의 제곱만큼씩 줄어들도록 다음 번의 리듀스 태스크를 할당하는 단계
를 포함하는 대용량 링크드 데이터의 병렬 처리 장치의 동작 방법.The method of claim 3,
Wherein the step of assigning a next redundancy task based on the location of the stored data partition comprises:
Assigning the next redundancy task so that the number of total joins occurring in each iteration is reduced by the square of the number of local triples
Capacity parallel data parallel processing unit.
중복되는 트리플(duplicate triple)을 제거하는 단계; 및
인헤리턴스 리즈닝(inheritance reasoning)을 처리하는 단계
를 더 포함하는 대용량 링크드 데이터의 병렬 처리 장치의 동작 방법.The method according to claim 1,
Removing a duplicate triple; And
Step of processing inheritance reasoning
Further comprising the steps of: (a)
상기 입력 파일에 대한 스키마 트리플(schema triple)을 추출하는 단계는,
상기 입력 파일에 대한 프로퍼티를 키 값으로 설정하는 단계
를 포함하는 대용량 링크드 데이터의 병렬 처리 장치의 동작 방법.The method according to claim 1,
Wherein extracting a schema triple for the input file comprises:
Setting a property for the input file to a key value
Capacity parallel data parallel processing unit.
상기 RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning)을 처리하는 단계는,
상기 트랜지터비티 리즈닝에 따라 신규 사항(new matter)이 생성되는지를 확인하는 단계; 및
상기 확인 결과, 신규 사항(new matter)이 생성된 경우에, 상기 RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning)을 반복 수행하는 단계
를 포함하는 대용량 링크드 데이터의 병렬 처리 장치의 동작 방법.The method according to claim 1,
The step of processing transitivity reasoning for the Resource Description Framework (RDF) ontology comprises:
Confirming whether new matter is generated according to the transistor bit listening; And
As a result of the checking, if new matter is generated, repeating the transitivity reasoning for the Resource Description Framework (RDF) ontology
Capacity parallel data parallel processing unit.
상기 RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning) 처리된 스키마 트리플(schema triple)을 출력 파일에 저장하는 단계
를 더 포함하는 대용량 링크드 데이터의 병렬 처리 장치의 동작 방법.The method according to claim 1,
Storing a schema triple subjected to transitivity reasoning on the Resource Description Framework (RDF) ontology in an output file;
Further comprising the steps of: (a)
상기 입력 파일에 대한 스키마 트리플(schema triple)을 추출하여 획득한 인스턴스 트리플(instance triple)을 저장하는 단계
를 더 포함하는 대용량 링크드 데이터의 병렬 처리 장치의 동작 방법.The method according to claim 1,
Extracting a schema triple for the input file and storing an instance triple obtained by extracting a schema triple for the input file
Further comprising the steps of: (a)
상기 나누어 저장된 링크드 데이터의 처리를 위한 분산 병렬 태스크를 각각의 분산 파일 시스템의 노드에 할당하여 데이터에 대한 처리를 수행하고, 각각의 분산 처리 결과를 다시 분산 파일 시스템에 저장하는 단계; 및
상기 분산 처리 결과에 대한 재처리가 필요한 경우, 처리 결과를 저장하고 있는 각각의 분산 파일 시스템의 노드에 재처리에 필요한 리듀스 태스크를 할당하여 처리하고, 각각의 처리 결과를 다시 상기 각각의 분산 파일 시스템에 저장하는 단계
를 포함하는 대용량 링크드 데이터의 병렬 처리 장치의 동작 방법.Storing large amount of linked data in nodes of a distributed file system;
Allocating a distributed parallel task for processing the divided linked stored data to a node of each distributed file system to perform processing on the data and storing the distributed processing results in the distributed file system; And
When a re-process is required for the distributed processing result, a redescription task necessary for re-processing is assigned to each node of each distributed file system storing the processing result, and the result of each process is transmitted to each of the distributed files Steps to save to the system
Capacity parallel data parallel processing unit.
상기의 대용량 링크드 데이터는 스키마 및 인스턴스 트리플을 포함하고,
상기 스키마 및 인스턴스 트리플을 상기 분산 파일 시스템의 노드에 나누어 저장하는 단계; 및
상기 나누어 저장된 스키마 및 인스턴스 트리플의 추론 처리를 위한 분산 병렬 태스크를 맵리듀스(MapReduce) 태스크로 구성하는 단계
를 더 포함하는 대용량 링크드 데이터의 병렬 처리 장치의 동작 방법.12. The method of claim 11,
The large amount of linked data includes a schema and an instance triple,
Storing the schema and instance triples in nodes of the distributed file system; And
Constructing a distributed parallel task for inference processing of the divided schema and instance triple as a MapReduce task
Further comprising the steps of: (a)
상기 나누어 저장된 스키마 및 인스턴스 트리플의 추론을 위한 맵 태스크 및 리듀스 태스크를 스키마 및 인스턴스 트리플이 분산 저장된 분산 파일 시스템의 데이터 노드에 할당하여 분산 병렬 추론 처리를 수행하고, 각각의 태스크의 추론 처리 결과를 다시 분산 파일 시스템에 저장하는 단계; 및
상기의 추론 결과에 대한 재처리가 필요한 경우, 추론 결과를 저장하고 있는 각각의 분산 파일 시스템의 데이터 노드에 재처리에 필요한 맵리듀스 태스크를 할당하여 처리하고, 각각의 처리 결과를 다시 분산 파일 시스템에 저장하는 단계
를 더 포함하는 대용량 링크드 데이터의 병렬 처리 장치의 동작 방법.13. The method of claim 12,
The distributed parallel inference processing is performed by assigning the map task and the reduce task for inference of the divided stored schemas and instance triples to the data nodes of the distributed file system in which the schema and the instance triples are distributed and stored, Storing it again in a distributed file system; And
If it is necessary to re-process the inference result, a mapping task necessary for reprocessing is assigned to the data nodes of the distributed file systems storing the inference results, and the respective processing results are sent back to the distributed file system Steps to save
Further comprising the steps of: (a)
상기 추출된 스키마 트리플(schema triple)에 맵리듀스(mapreduce)를 반복 적용하여 RDF(Resource Description Framework) 온톨로지에 대한 트랜지터비티 리즈닝(transitivity reasoning)을 처리하는 트랜지터비티 리즈닝 처리부;
상기 트랜지터비티 리즈닝 처리된 스키마 트리플(schema triple)에서 중복되는 트리플(duplicate triple)을 제거하는 중복 트리플 제거부; 및
상기 중복되는 트리플이 제거된 스키마 트리플(schema triple)에 대해 인헤리턴스 리즈닝(inheritance reasoning)을 처리하는 인헤리턴스 리즈닝(inheritance reasoning) 처리부
를 포함하는 대용량 링크드 데이터의 병렬 처리 장치.A schema triple extracting unit for extracting a schema triple for an input file;
A transitivity bottleneck processing unit for processing transitivity reasoning on an RDF (Resource Description Framework) ontology by repeatedly applying a mapreduce to the extracted schema triple;
A duplicate triple eliminating unit for removing a duplicate triple in the schema triple processed in the transitory bit listening process; And
An inheritance reasoning processing unit for processing inheritance reasoning for a schema triple in which the redundant triples are removed;
Capacity parallel data parallel processing unit.
상기 트랜지터비티 리즈닝 처리부는,
상기 트랜지터비티 리즈닝(transitivity reasoning)을 모노톤 픽스드 포인트 반복 모델(monotone fixed-point iteration model)로 정의하는 대용량 링크드 데이터의 병렬 처리 장치.15. The method of claim 14,
Wherein the transistor bit-
Wherein said transitivity reasoning is defined as a monotone fixed-point iteration model.
상기 트랜지터비티 리즈닝 처리부는,
리듀스 태스크를 통해 이전 반복에서 처리한 데이터 파티션을 로컬 파일 시스템에 저장하고, 상기 저장된 데이터 파티션의 위치에 기초하여 다음 번의 리듀스 태스크를 할당하는 대용량 링크드 데이터의 병렬 처리 장치.15. The method of claim 14,
Wherein the transistor bit-
Wherein the data partition processed in the previous iteration is stored in the local file system through the redundancy task and the next redundancy task is allocated based on the position of the stored data partition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020120150623A KR101400499B1 (en) | 2012-12-21 | 2012-12-21 | Apparatus and method of parallel processing of linked big data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020120150623A KR101400499B1 (en) | 2012-12-21 | 2012-12-21 | Apparatus and method of parallel processing of linked big data |
Publications (1)
Publication Number | Publication Date |
---|---|
KR101400499B1 true KR101400499B1 (en) | 2014-06-19 |
Family
ID=51131285
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020120150623A KR101400499B1 (en) | 2012-12-21 | 2012-12-21 | Apparatus and method of parallel processing of linked big data |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101400499B1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101633055B1 (en) * | 2015-04-28 | 2016-06-23 | (주) 다이퀘스트 | Method and apparatus for joning index sequences in SPARQL |
KR20160072305A (en) | 2014-12-12 | 2016-06-23 | 충북대학교 산학협력단 | Partitioning System and Method for Distributed Storage of Large Scale Semantic Web Data in Dynamic Environments |
US10127617B2 (en) | 2015-01-09 | 2018-11-13 | Lg Cns Co., Ltd. | System for analyzing social media data and method of analyzing social media data using the same |
KR20220058357A (en) * | 2020-10-30 | 2022-05-09 | 충남대학교산학협력단 | Mapreduce-based data conversion sysetem and converion method for storing large amount of lod |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080019439A (en) * | 2006-08-28 | 2008-03-04 | 한국과학기술정보연구원 | System and method for knowledge extension and inference service based on dbms |
KR20080099895A (en) * | 2007-05-11 | 2008-11-14 | 한국과학기술정보연구원 | System and method for expanded class-property view based on rdf triples |
-
2012
- 2012-12-21 KR KR1020120150623A patent/KR101400499B1/en not_active IP Right Cessation
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080019439A (en) * | 2006-08-28 | 2008-03-04 | 한국과학기술정보연구원 | System and method for knowledge extension and inference service based on dbms |
KR20080099895A (en) * | 2007-05-11 | 2008-11-14 | 한국과학기술정보연구원 | System and method for expanded class-property view based on rdf triples |
Non-Patent Citations (2)
Title |
---|
논문 : 한국정보과학회 * |
논문 : 한국정보과학회 언어공학연구회 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20160072305A (en) | 2014-12-12 | 2016-06-23 | 충북대학교 산학협력단 | Partitioning System and Method for Distributed Storage of Large Scale Semantic Web Data in Dynamic Environments |
US10127617B2 (en) | 2015-01-09 | 2018-11-13 | Lg Cns Co., Ltd. | System for analyzing social media data and method of analyzing social media data using the same |
KR101633055B1 (en) * | 2015-04-28 | 2016-06-23 | (주) 다이퀘스트 | Method and apparatus for joning index sequences in SPARQL |
KR20220058357A (en) * | 2020-10-30 | 2022-05-09 | 충남대학교산학협력단 | Mapreduce-based data conversion sysetem and converion method for storing large amount of lod |
KR102500278B1 (en) * | 2020-10-30 | 2023-02-16 | 충남대학교 산학협력단 | Mapreduce-based data conversion sysetem and converion method for storing large amount of lod |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Zaharia et al. | Fast and interactive analytics over Hadoop data with Spark | |
EP3161635B1 (en) | Machine learning service | |
US9672474B2 (en) | Concurrent binning of machine learning data | |
US10540606B2 (en) | Consistent filtering of machine learning data | |
US11100420B2 (en) | Input processing for machine learning | |
US9275422B2 (en) | Distributed k-core view materialization and maintenance for graphs | |
US11347891B2 (en) | Detecting and obfuscating sensitive data in unstructured text | |
KR20200098378A (en) | Method, device, electronic device and computer storage medium for determining description information | |
KR101617696B1 (en) | Method and device for mining data regular expression | |
US11687527B2 (en) | System and method for analysis of graph databases using intelligent reasoning systems | |
US11675769B2 (en) | On-demand, dynamic and optimized indexing in natural language processing | |
KR101400499B1 (en) | Apparatus and method of parallel processing of linked big data | |
US11361031B2 (en) | Dynamic linguistic assessment and measurement | |
US11657069B1 (en) | Dynamic compilation of machine learning models based on hardware configurations | |
US11720600B1 (en) | Methods and apparatus for machine learning to produce improved data structures and classification within a database | |
US10599626B2 (en) | Organization for efficient data analytics | |
Costantini et al. | Performances evaluation of a novel Hadoop and Spark based system of image retrieval for huge collections | |
US20230082446A1 (en) | Compound predicate query statement transformation | |
JP5890000B1 (en) | Hybrid rule inference apparatus and method | |
Knoell et al. | BISHOP-Big Data Driven Self-Learning Support for High-performance Ontology Population. | |
Iskhakova | Processing of big data streams in intelligent electronic data analysis systems | |
Donkena et al. | Performance evaluation of cloud database and traditional database in terms of response time while retrieving the data | |
KR101772955B1 (en) | Record processing method using index data structure in distributed processing system based on mapreduce | |
CN110222105A (en) | Data summarization processing method and processing device | |
Choudhury et al. | Sentimental analysis of Twitter data on Hadoop |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20170522 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20180521 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |