KR100918704B1 - Apparatus and Method for generating a virtual tuple - Google Patents
Apparatus and Method for generating a virtual tuple Download PDFInfo
- Publication number
- KR100918704B1 KR100918704B1 KR1020070075438A KR20070075438A KR100918704B1 KR 100918704 B1 KR100918704 B1 KR 100918704B1 KR 1020070075438 A KR1020070075438 A KR 1020070075438A KR 20070075438 A KR20070075438 A KR 20070075438A KR 100918704 B1 KR100918704 B1 KR 100918704B1
- Authority
- KR
- South Korea
- Prior art keywords
- attribute value
- value
- attribute
- tuple
- generating
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Abstract
본 발명은 가상 튜플 생성 장치 및 방법에 관한 것으로서, 본 발명에 따른 가상 튜플 생성 장치 및 방법은 제 1 속성 값과 제 2 속성 값이 소정의 요건을 충족하는 조합 속성값을 생성하는 단계 및 상기 제 1 속성 값에 대응되는 제 1 대응 속성 값 및 상기 제 2 속성 값에 대응되는 제 2 대응 속성 값을 조합하는 단계를 포함한다. The present invention relates to an apparatus and method for generating a virtual tuple, wherein the apparatus and method for generating a virtual tuple according to the present invention comprise generating a combination attribute value in which a first attribute value and a second attribute value satisfy a predetermined requirement; Combining the first corresponding attribute value corresponding to the first attribute value and the second corresponding attribute value corresponding to the second attribute value.
센서 네트워크, 튜플(tuple), 릴레이션, 뷰 Sensor networks, tuples, relations, views
Description
본 발명은 가상 튜플 생성 장치 및 방법에 관한 것으로서, 보다 상세하게는 센서 네트워크에서 센서가 존재하지 않는 장소에 대한 정보를 제공하기 위해 기존의 정보를 기반으로 범위조인연산을 수행하여 가상 튜플을 생성하여 제공하는, 가상 튜플 생성 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for generating a virtual tuple, and more particularly, to generate a virtual tuple by performing a range join operation based on existing information to provide information about a place where a sensor does not exist in a sensor network. The present invention relates to an apparatus and method for generating a virtual tuple.
센서네트워크의 응용범위가 점점 넓어지면서, 수집되는 방대한 양의 데이터를 효율적으로 처리 및 관리하기 위하여 센서네트워크에 데이터베이스 개념을 이용하려는 시도가 있다. 그러나, 센서 네트워크에서는 센서가 존재하는 각각의 점에 대한 데이터도 중요하지만 센서가 뿌려져 있는 전체 영역에 대한 데이터도 중요하므로 실제로 센서가 존재하지 않는 장소에 대한 정보를 알 수 없는 문제점이 있다.As the application range of sensor networks becomes wider, there are attempts to use database concepts in sensor networks to efficiently process and manage the vast amounts of data collected. However, in the sensor network, the data for each point where the sensor is important is important, but the data for the entire area where the sensor is scattered is also important, so there is a problem in that information about the place where the sensor does not actually exist is unknown.
따라서, 기존의 관계형 데이터베이스에 범위조인연산과 같은 추가된 연산을 이용하여, 센서가 실제로 존재하지 않는 장소에 대한 가상 튜플을 생성하는 방법이 필요하다.Therefore, there is a need for a method of creating a virtual tuple of a place where a sensor does not actually exist by using an added operation such as range join operation to an existing relational database.
또한, 센서 네트워크 내의 기지국 및 센서노드 간에 생성된 가상 튜플을 공 유하는 방법이 필요하다.There is also a need for a method of sharing a virtual tuple generated between a base station and a sensor node in a sensor network.
본 발명은 상기와 같은 문제점을 해결하기 위해 창안된 것으로써, 본 발명이 이루고자 하는 기술적 과제는, 제 1 속성 값과 제 2 속성 값이 범위조인연산을 수행하여 조합 속성값을 생성하고, 생성된 조합 속성 값, 제 1 대응 속성 값 및 제 2 대응 속성 값을 속성 값으로 하는 가상 튜플을 생성하는 장치 및 방법을 제공하는 것이다.The present invention has been made to solve the above problems, the technical problem to be achieved by the present invention, the first attribute value and the second attribute value by performing a range join operation to generate a combination attribute value, An apparatus and method are provided for generating a virtual tuple having a combination attribute value, a first corresponding attribute value, and a second corresponding attribute value as an attribute value.
또한, 본 발명이 이루고자 하는 또 다른 기술적 과제는, 센서네트워크 내의 기지국 및 센서노드 간에 가상 튜플을 공유하는 방법을 제공하는 것이다.Another object of the present invention is to provide a method for sharing a virtual tuple between a base station and a sensor node in a sensor network.
본 발명의 목적들은 이상에서 언급한 목적들로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The objects of the present invention are not limited to the above-mentioned objects, and other objects that are not mentioned will be clearly understood by those skilled in the art from the following description.
상기 목적을 달성하기 위하여, 본 발명의 일 실시예에 따른 제 1 속성 값 및 제 2 속성 값이 소정의 요건을 충족하는 조합 속성값을 생성하는 연산 모듈 및 상기 제 1 속성 값에 대응되는 제 1 대응 속성 값 및 상기 제 2 속성 값에 대응되는 제 2 대응 속성 값을 조합하는 조합 모듈을 포함한다.In order to achieve the above object, an operation module for generating a combination attribute value in which the first attribute value and the second attribute value satisfy a predetermined requirement and a first corresponding to the first attribute value according to an embodiment of the present invention. And a combining module for combining the corresponding attribute value and the second corresponding attribute value corresponding to the second attribute value.
또한, 본 발명의 일 실시예에 따라 제 1 속성 값과 제 2 속성 값이 소정의 요건을 충족하는 조합 속성값을 생성하는 단계 및 상기 제 1 속성 값에 대응되는 제 1 대응 속성 값 및 상기 제 2 속성 값에 대응되는 제 2 대응 속성 값을 조합하 는 단계를 포함한다.The method may further include generating a combination attribute value in which the first attribute value and the second attribute value satisfy a predetermined requirement, and a first corresponding attribute value corresponding to the first attribute value and the first attribute value according to an embodiment of the present invention. Combining the second corresponding attribute values corresponding to the second attribute values.
기타 실시예들의 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.Specific details of other embodiments are included in the detailed description and the drawings.
상기한 바와 같은 본 발명의 가상 튜플 생성 장치 및 방법에 따르면, 센서노드가 실재로 존재하지 않은 장소 또는 일정 구간에 대한 정보를 얻을 수 있는 장점이 있다.According to the apparatus and method for generating a virtual tuple of the present invention as described above, there is an advantage in that information about a place or a predetermined section in which a sensor node does not actually exist can be obtained.
본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Advantages and features of the present invention and methods for achieving them will be apparent with reference to the embodiments described below in detail with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but can be implemented in various different forms, and only the embodiments make the disclosure of the present invention complete, and the general knowledge in the art to which the present invention belongs. It is provided to fully inform the person having the scope of the invention, which is defined only by the scope of the claims. Like reference numerals refer to like elements throughout.
이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
본 발명에서 사용되는 용어를 정의하기로 한다. 다만, 본 발명에서 정의된 용어의 해석은 이에 한정되지 않으며 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 이해할 수 있는 정도로 확장될 수 있다. 릴레이션 R의 스키마가 A, 를 충족하는 속성집합, , 를 구성하는 모든 속성의 도메인을 실수의 부분집합이라고 하면, 가능한 모든 속성값의 조합 은 의 부분집합이 된다. 이때 릴레이션 R의 임의의 튜플 t에 대하여 을 에 대한 튜플 t의 튜플 벡터로 정의한다.Terms used in the present invention will be defined. However, the interpretation of the terms defined in the present invention is not limited thereto, and may be extended to those skilled in the art to which the present invention pertains. The relation R's schema is A, Set of attributes that satisfy , If the domain of all the attributes that make up a is a subset of real numbers, then the combination of all possible attribute values silver Is a subset of. For any tuple t of relation R of Defined as a tuple vector of tuples t for.
도 1은 본 발명의 일 실시예에 따른 센서 네트워크의 개념도이다.1 is a conceptual diagram of a sensor network according to an embodiment of the present invention.
도 1을 참조하면, 센서 네트워크는 기지국(110)과 센서노드(120)를 포함한다. 기지국(110)이 자신에게 저장되어 있지 않은 가상 튜플을 이웃한 센서노드(120)에게 요청하면, 이웃한 센서노드(120) 중 하나인 센서노드 1(130)은 이웃한 센서 노드 2(140)에게 속성 값들을 요청한다. 속성 값들을 전송 받은 센서노드 1(130)은 자신의 속성 값인 제 1 속성 값 및 센서 노드 2(140)로부터 전송 받은 속성 값인 제 2 속성 값이 소정의 요건을 만족하는지를 확인한다. 소정의 요건을 만족하면, 조합 속성값을 생성하고, 생성된 조합 속성 값, 제 1 속성 값에 대응되는 제 1 대응 속성 값 및 제 2 속성 값에 대응되는 제 2 대응 속성 값을 조합한 가상 튜플을 기지국(110)에 전송한다. 여기서, 가상 튜플은 센서노드(120)에도 전송될 수 있기 때문에, 기지국(110) 및 센서노드(120)간에 가상 튜플을 공유할 수 있다. 또한, 센서노드(130)는 다른 센서노드에도 속성 값을 요청할 수도 있다. 소정의 요건 및 조합 속성 값을 생성하는 방법은 도 2 및 도 3을 참조하여 후술하기로 한다.Referring to FIG. 1, the sensor network includes a base station 110 and a
도 2는 본 발명의 일 실시예에 따 가상 튜플 생성 장치의 구성을 나타내는 도면이다.2 is a diagram illustrating a configuration of an apparatus for generating a virtual tuple according to an embodiment of the present invention.
도 2를 참조하면, 가상 튜플 생성 장치는 조합 모듈(210), 연산 모듈(220), 제어 모듈(230), 저장 모듈(240) 및 송수신 모듈(250)을 포함한다.Referring to FIG. 2, the apparatus for generating a virtual tuple includes a combination module 210, a
조합 모듈(210)은 제 1 속성 값 및 제 2 속성 값을 제거하고 이에 대응되는 조합 속성 값, 제 1 속성 값에 대응되는 제 1 대응 속성 값 및 제 2 속성 값에 대응되는 제 2 대응 속성 값을 조합하여 가상 튜플을 생성한다. 여기서, 제 1 속성 값 및 제 2 속성 값은 적어도 하나의 속성 값을 포함한다. 또한, 제 1 속성 값 및 제 2 속성 값은 1 개 이상의 데이터 열을 포함할 수 있다. 예를 들어 제 1 속성 값은 (X, Y), 제 2 속성 값은 (Z, W)로 표현될 수 있다. The combining module 210 removes the first attribute value and the second attribute value and combines the corresponding attribute value, the first corresponding attribute value corresponding to the first attribute value, and the second corresponding attribute value corresponding to the second attribute value. Combine to create a virtual tuple. Here, the first attribute value and the second attribute value include at least one attribute value. In addition, the first attribute value and the second attribute value may include one or more data strings. For example, the first attribute value may be represented by (X, Y) and the second attribute value may be represented by (Z, W).
연산 모듈(220)은 다음과 같은 역할을 한다.The
첫째, 제 1 속성 값과 제 2 속성 값이 소정의 요건을 충족하는 유효한 튜플, 을 생성하는 역할을 한다. 여기서, 소정의 요건은 다음과 같다. First, a valid tuple in which the first and second attribute values meet certain requirements, Serves to create Here, the predetermined requirements are as follows.
여기서, ρ는 임계 값을 의미하며, 임계 값은 사용자가 설정한 일정한 값이 될 수 있다. 또한, 는 속성집합 C에 대한 튜플벡터의 거리가 ρ이하인 조합된 두 개의 튜플을 의미한다. 두 개의 튜플은 r에서 임의의 튜플 과 s에서 임의의 튜플 를 의미한다. 구체적인 내용은 후술하여 설명하기로 한다.Here, p denotes a threshold value, and the threshold value may be a constant value set by a user. Also, Denotes two combined tuples whose distance to the attribute set C is less than or equal to ρ. Two tuples are random tuples in r And random tuples in s Means. Details will be described later.
둘째, 조합 속성 값을 생성하는 역할을 한다. 조합 속성 값은 전술한 바와 같이 소정의 요건을 충족하는 제 1 속성 값과 제 2 속성 값에 한해 생성될 수 있다. 여기서, 조합 속성 값은 다음과 같이 계산된다.Secondly, it creates a combination attribute value. As described above, the combination attribute value may be generated only for the first attribute value and the second attribute value satisfying a predetermined requirement. Here, the combination attribute value is calculated as follows.
여기서, 는 제 1 속성 값, 는 제 2 속성 값을 의미한다. 구체적인 내용은 후술하여 설명하기로 한다.here, Is the first attribute value, Means a second attribute value. Details will be described later.
제어 모듈(230)은 조합 모듈(210), 연산 모듈(220), 저장 모듈(240) 및 송수신 모듈(250)을 관리하고 제어하는 역할을 한다. The
저장 모듈(240)은 제 1 속성 값, 제 1 속성 값에 대응되는 제 1 대응 속성 값, 제2 속성 값, 제2 속성값에 대응되는 제 2 대응 속성 값 및 조합 속성 값을 저장할 수 있다. 또한, 전술한 바와 같이, 제 1 속성 값 및 제 2 속성 값은 적어도 하나의 속성 값을 포함한다. 여기서 제 1 속성 값 및 제 2 속성 값은 1 개 이상의 데이터 열을 포함할 수 있다.The storage module 240 may store the first attribute value, the first corresponding attribute value corresponding to the first attribute value, the second attribute value, the second corresponding attribute value corresponding to the second attribute value, and the combination attribute value. In addition, as described above, the first attribute value and the second attribute value include at least one attribute value. Here, the first attribute value and the second attribute value may include one or more data strings.
송수신 모듈(250)은 기지국(110) 또는 센서노드(120)로부터 가상 튜플의 요청을 받는 역할 또는 가상 튜플 생성 장치로부터 생성된 가상 튜플을 기지국(110) 또는 센서노드(120)에 전송하는 역할을 한다.The transmission /
도 3은 본 발명의 일 실시예에 따라 가상 튜플 생성 방법을 나타내는 도면이다.3 is a diagram illustrating a virtual tuple generation method according to an embodiment of the present invention.
도 3을 참조하면, 속성 값들 및 대응 속성 값들을 수집한다(S310). 기지 국(110)은 센서 노드(120)에게 가상 튜플을 생성할 것을 요청하고, 요청을 받은 센서노드 1(130)은 센서노드 2(140)에게 속성 값들 및 이에 대응되는 대응 속성 값들을 요청한다. 요청을 받은 센서노드 2(140)는 센서노드 1(130)에게 자신이 소유하고 있는 속성 값들 및 대응 속성 값들을 전송한다. 여기서, 속성 값들 및 대응 속성 값들을 수집하는 센서노드(130)를 마스터 센서노드로 명명한다. 또한, 기지국(110) 및 센서노드(120)는 가상 튜플 생성 장치를 포함할 수 있다.Referring to FIG. 3, attribute values and corresponding attribute values are collected (S310). The base station 110 requests the
속성 값들 및 대응 속성 값들을 수집한 센서노드 1(130)은 자신이 가지고 있는 제 1 속성 값과 센서노드 2(140)로부터 전달받은 제 2 속성 값을 비교하여, 제 1 속성 값 및 제 2 속성 값이 소정의 요건을 충족하는지를 확인한다(S320). 여기서, 소정의 요건은 제 1 속성 값 및 제 2 속성 값의 절대 값이 임계 값 보다 적을 것을 충족해야 하는데, 이에 대한 구체적인 내용은 후술하기로 한다.The sensor node 1 130, which has collected the attribute values and the corresponding attribute values, compares the first attribute value with its second attribute value received from the sensor node 2 140, and compares the first attribute value with the second attribute value. It is checked whether the value meets a predetermined requirement (S320). Here, the predetermined requirement must satisfy that an absolute value of the first attribute value and the second attribute value is less than the threshold value, which will be described later.
소정의 요건을 충족하는 경우, 제 1 속성 값 및 제 2 속성 값에 대응되는 조합 속성 값을 생성한다(S330). 여기서, 조합 속성 값은 제 1 속성 값 및 제 2 속성 값의 평균 값을 의미하는데, 이에 대한 구체적인 내용은 후술하기로 한다.When the predetermined requirement is met, a combination attribute value corresponding to the first attribute value and the second attribute value is generated (S330). Here, the combined attribute value means an average value of the first attribute value and the second attribute value, which will be described later.
조합 속성 값에 대응되는 가상 튜플을 생성한다(S340). 여기서, 가상 튜플은 조합 속성 값, 제 1 속성 값에 대응되는 제 1 대응 속성 값 및 제 2 속성 값에 대응되는 제 2 대응 속성 값을 속성으로 하는 새로운 가상 튜플을 생성한다. 여기서, 생성된 가상 튜플은 기지국(110) 또는 센서노드(120)에 전송될 수 있다.A virtual tuple corresponding to the combined attribute value is generated (S340). Here, the virtual tuple generates a new virtual tuple having the combination attribute value, the first corresponding attribute value corresponding to the first attribute value, and the second corresponding attribute value corresponding to the second attribute value as attributes. Here, the generated virtual tuple may be transmitted to the base station 110 or the
제 1 속성 값 및 제 2 속성 값이 소정의 요건을 만족하지 않는 경우, 다른 센서노드에게 속성 값들 및 대응 속성 값들을 요청하며, 속성 값들 및 대응 속성 값들을 수집한다(S310). 이후, S320 단계 내지 S340 단계를 반복하여 수행한다.If the first attribute value and the second attribute value do not satisfy the predetermined requirement, request the attribute values and the corresponding attribute values from another sensor node, and collect the attribute values and the corresponding attribute values (S310). Thereafter, steps S320 to S340 are repeated.
전술한 바와 같이, 정의된 용어를 사용하여 소정의 요건 및 조합 속성 값을 생성하는 범위조인연산 방식에 대해서 구체적으로 설명하기로 한다.As described above, a range join operation method for generating predetermined requirements and combination attribute values using defined terms will be described in detail.
먼저, 두 개의 릴레이션을 대상으로 범위조인 연산에 대해 정의한다. First, we define range join operation for two relations.
범위조인연산은 를 사용하며 두 릴레이션에 대한 범위조인연산은 다음과 같다. Range join operation The range join operation for the two relations is as follows.
스키마가 각각 R과 S인 두 릴레이션 r과 s가 있고 와 를 만족하는 두 릴레이션의 범위조인속성집합 가 있을 때, r과 s의 범위조인연산 식은 식(1)과 같다. There are two relations r and s with schemas R and S respectively. Wow Set of range join attributes of two relations that satisfy When is, the range join operation of r and s is the same as Equation (1).
식 (1) Formula (1)
이때 C의 모든 원소는 도메인 실수의 부분집합이며 ρ는 범위상수로 에서 선택될 튜플의 조인속성값의 최대 거리를 나타낸다. Where every element in C is a subset of domain real and ρ is a range constant The maximum distance of join attribute values of the tuple to be selected from.
첫째, 에서 소정의 요건을 충족하는 유효한 튜플을 선택한다. r에서 임의의 튜플 과 s에서 임의의 튜플 에 의하여 조합된 튜플 가 식(2)를 만족할 때 해당 튜플 를 유효한 튜플이라고 한다. 즉 유효한 튜플 는 속성집합 C에 대한 튜플벡터의 거리가 ρ이하인 두 튜플로 조합된 튜플을 의미한다. first, Selects a valid tuple that meets a given requirement. random tuple in r And random tuples in s Combined Tuples The tuple when Eq. (2) is satisfied Is called a valid tuple. Valid tuple Denotes a tuple combined with two tuples whose distance of the tuple vector to the property set C is ρ or less.
식 (2) Formula (2)
둘째, 결과 릴레이션에 속성집합 C를 추가하고 각각의 속성값에 식(3)과 같이 와 의 평균값을 할당한다. Second, add the attribute set C to the resulting relation and add each attribute value as shown in equation (3). Wow Assign the average value of.
식 (3) Formula (3)
셋째, 결과 릴레이션에서 r과 s의 속성집합 C를 제거하고 범위조인연산을 마친다.Third, remove the attribute set C of r and s from the resulting relation and complete the range join operation.
다음으로 3개 이상의 릴레이션을 대상으로 하는 범위조인연산을 정의한다. Next, we define a range join operation that targets three or more relations.
복수의 범위조인연산은 하나의 조인연산으로 취급한다. n개의 릴레이션 , , , 에 대한 범위조인연산은 식(4)와 같이 표기하며 ρ는 첫 번째 조인연산자와 함께 표기한다. Multiple range join operations are treated as one join operation. n relations , , , The range join operation for is written in equation (4), and ρ is written with the first join operator.
식(4) Formula (4)
식(4)는 복수의 조인연산이 아니라 하나의 범위조인연산이므로 유효한 튜플은 으로부터 추출한다. 이때 소정의 요건을 충족하는 유효한 튜플은 다음과 같다. Equation (4) is a range join operation rather than a plurality of join operations, so a valid tuple Extract from. At this time, valid tuples satisfying the predetermined requirements are as follows.
튜플 가 각각 에 포함된 튜플이고 는 이 튜플로 조합된 튜플이라고 하자. 이때 를 조합하는 모든 튜플이 식(5)를 만족하면 는 유효한 튜플이다. 이는 유효한 튜플을 구성하는 모든 튜플의 조인속성 C에 대한 튜플 벡터들의 거리가 ρ이하임을 의미한다. Tuple Each Is a tuple contained in Let 's be a tuple combined with this tuple. At this time If all tuples combining Is a valid tuple. This means that the distance of tuple vectors to join attribute C of all tuples constituting a valid tuple is less than or equal to ρ.
식 (5) Equation (5)
유효한 튜플을 선택한 후 전술한 바와 같이, C를 추가하고 속성값을 할당한다. 두 릴레이션에 대한 범위조인과 마찬가지로 유효한 튜플 의 속성값은 를 구성하는 모든 튜플들의 속성값에 대한 평균으로 식(6)과 같이 정의할 수 있다. After selecting a valid tuple, add C and assign an attribute value as described above. Valid tuples, like range joins for two relations The attribute value of The average of the attribute values of all the tuples constituting can be defined as in Equation (6).
식(6) Formula (6)
속성값을 할당한 후 각각의 의 C를 삭제하고 범위조인연산을 마친다. After assigning property values, Delete C and complete the range join operation.
도 4는 본 발명의 일 실시예에 따라 위치와 온도와 관계를 나타내는 도표이다. 도 5는 본 발명의 일 실시예에 따라 위치와 습도와 관계를 나타내는 도표이다. 도 6은 본 발명의 일 실시예에 따라 범위조인연산을 수행하여 생성된 가상튜플을 나타내는 도표이다.4 is a diagram showing the relationship between position and temperature in accordance with one embodiment of the present invention. 5 is a diagram illustrating a relationship between position and humidity in accordance with an embodiment of the present invention. 6 is a diagram illustrating a virtual tuple generated by performing a range join operation according to an embodiment of the present invention.
도 4 내지 도 6을 참조하여, 본 발명의 일 실시예를 설명하기로 한다. 도 4는 위치와 온도의 관계를 나타내는 릴레이션 1, 즉 temp와 위치와 습도의 관계를 나타내며 릴레이션 2, 즉 hum이 있다고 한다. 속성 X와 Y는 센서의 좌표를 나타내고 T와 H는 온도와 습도를 각각 나타낸다. 이때 좌표 X와 Y를 속성 값으로 하여 범위조인연산, 즉, 를 수행한다. 여기서, 전술한 바와 같이, 두 좌표간의 거리를 임계 값으로 설정하며, 임계 값을 10으로 설정한다. temp의 위치좌표를 제 1 속성 값, temp의 온도를 제 1 대응 속성 값, hum의 위치 좌표를 제 2 속성 값 및 hum의 습도를 제 2 대응 속성 값으로 한다. 따라서, 제 1 속성 값 및 제 2 속성 값 간의 거리, 즉 임계 값이 10 이하인 경우에만, 유효한 속성 값으로 하고 이를 이용하여 가상 튜플을 생성한다. 유효한 속성 값에 한해, 제 1 속성 값과 제 2 속성 값의 평균 값으로 하는 조합 속성 값을 계산한다. 조합 속성 값, 제 1 대응 속성 값 및 제 2 대응 속성 값을 속성으로 하는 가상 튜플을 생성한다. 전술한 과정을 통해 생성된 가상 튜플은 도 6과 같다.4 to 6, an embodiment of the present invention will be described. 4 is a relation 1 representing the relation between position and temperature, that is, a relation between temp and position and humidity, and a relation 2 is called hum. Attributes X and Y represent the coordinates of the sensor and T and H represent the temperature and humidity, respectively. In this case, the range join operation using coordinates X and Y as property values, Perform Here, as described above, the distance between the two coordinates is set to a threshold value, and the threshold value is set to 10. The position coordinate of temp is the first attribute value, the temperature of temp is the first corresponding attribute value, the position coordinate of hum is the second attribute value, and the humidity of hum is the second corresponding attribute value. Therefore, only when the distance between the first attribute value and the second attribute value, that is, the threshold value is 10 or less, is set as a valid attribute value and a virtual tuple is generated using the attribute value. Only the valid attribute values are calculated as the combined attribute value which is the average value of the first and second attribute values. A virtual tuple having the combined attribute value, the first corresponding attribute value, and the second corresponding attribute value as an attribute is generated. The virtual tuple generated through the above process is shown in FIG. 6.
본 발명이 속하는 기술분야의 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다. 본 발명의 범위는 상기 상세한 설명보다는 후술하는 특허청구의 범위에 의하여 나타내어지며, 특허청구의 범위의 의미 및 범위 그리고 그 균등 개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.Those skilled in the art will appreciate that the present invention can be embodied in other specific forms without changing the technical spirit or essential features of the present invention. Therefore, it should be understood that the embodiments described above are exemplary in all respects and not restrictive. The scope of the present invention is indicated by the scope of the following claims rather than the detailed description, and all changes or modifications derived from the meaning and scope of the claims and the equivalent concept are included in the scope of the present invention. Should be interpreted.
도 1은 본 발명의 일 실시예에 따른 센서 네트워크의 개념도이다. 1 is a conceptual diagram of a sensor network according to an embodiment of the present invention.
도 2는 본 발명의 일 실시예에 따 가상 튜플 생성 장치의 구성도이다.2 is a block diagram of a virtual tuple generation device according to an embodiment of the present invention.
도 3은 본 발명의 일 실시예에 따라 가상 튜플 생성 방법을 나타내는 플로우차트이다.3 is a flowchart illustrating a virtual tuple generation method according to an embodiment of the present invention.
도 4는 본 발명의 일 실시예에 따라 위치와 온도와 관계를 나타내는 도표이다.4 is a diagram showing the relationship between position and temperature in accordance with one embodiment of the present invention.
도 5는 본 발명의 일 실시예에 따라 위치와 습도와 관계를 나타내는 도표이다.5 is a diagram illustrating a relationship between position and humidity in accordance with an embodiment of the present invention.
도 6은 본 발명의 일 실시예에 따라 범위조인연산을 수행하여 생성된 가상튜플을 나타내는 도표이다.6 is a diagram illustrating a virtual tuple generated by performing a range join operation according to an embodiment of the present invention.
<도면의 주요 부분에 대한 설명>Description of the main parts of the drawing
110: 기지국110: base station
120: 센서노드120: sensor node
130: 센서노드 1130: sensor node 1
140: 센서노드 2140: sensor node 2
210: 조합 모듈210: combination module
220: 연산 모듈220: arithmetic module
230: 제어 모듈230: control module
240: 저장 모듈240: storage module
250: 송수신 모듈250: transmit / receive module
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070075438A KR100918704B1 (en) | 2007-07-27 | 2007-07-27 | Apparatus and Method for generating a virtual tuple |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070075438A KR100918704B1 (en) | 2007-07-27 | 2007-07-27 | Apparatus and Method for generating a virtual tuple |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20090011641A KR20090011641A (en) | 2009-02-02 |
KR100918704B1 true KR100918704B1 (en) | 2009-09-22 |
Family
ID=40682743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070075438A KR100918704B1 (en) | 2007-07-27 | 2007-07-27 | Apparatus and Method for generating a virtual tuple |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100918704B1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07253991A (en) * | 1994-03-16 | 1995-10-03 | Mitsubishi Electric Corp | Join processing system |
JP2003150633A (en) | 2001-11-09 | 2003-05-23 | Turbo Data Laboratory:Kk | Data joining/presenting method and data joining/ presenting program |
JP2005135221A (en) | 2003-10-31 | 2005-05-26 | Turbo Data Laboratory:Kk | Method and device for joining spreadsheet data and program |
-
2007
- 2007-07-27 KR KR1020070075438A patent/KR100918704B1/en not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07253991A (en) * | 1994-03-16 | 1995-10-03 | Mitsubishi Electric Corp | Join processing system |
JP2003150633A (en) | 2001-11-09 | 2003-05-23 | Turbo Data Laboratory:Kk | Data joining/presenting method and data joining/ presenting program |
JP2005135221A (en) | 2003-10-31 | 2005-05-26 | Turbo Data Laboratory:Kk | Method and device for joining spreadsheet data and program |
Also Published As
Publication number | Publication date |
---|---|
KR20090011641A (en) | 2009-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112434313A (en) | Data sharing method, system, electronic device and storage medium | |
JP5943430B2 (en) | Distributed storage system and distributed storage method | |
CN107682466A (en) | The regional information searching method and its device of IP address | |
JP5014398B2 (en) | Search data management device | |
US20230362251A1 (en) | Method and apparatus for managing iot device, and server and storage medium thereof | |
JP2005353039A5 (en) | ||
RU2011115207A (en) | METHOD FOR PROTECTED COMMUNICATION IN A NETWORK, COMMUNICATION DEVICE, NETWORK AND COMPUTER PROGRAM FOR THIS | |
To et al. | PrivGeoCrowd: A toolbox for studying private spatial crowdsourcing | |
CN106991617B (en) | Microblog social relationship extraction algorithm based on information propagation | |
US9002844B2 (en) | Generating method, generating system, and recording medium | |
CN107092667B (en) | Group's lookup method and device based on social networks | |
KR101411321B1 (en) | Method and apparatus for managing neighbor node having similar characteristic with active node and computer readable medium thereof | |
CN104135507A (en) | A method and a device for hotlink protection | |
JP2015528175A (en) | Method for pushing information and apparatus for pushing information | |
CN106815258A (en) | A kind of date storage method and coordinator node | |
JP2023058423A (en) | Digital object access method and system in human cyber physical fusion environment | |
CN105138527A (en) | Data classification regression method and data classification regression device | |
CN108696418B (en) | Privacy protection method and device in social network | |
KR100918704B1 (en) | Apparatus and Method for generating a virtual tuple | |
KR20170062308A (en) | Method for mining important pattern of high rank k, apparatus performing the same and storage medium storing the same | |
CN115114360A (en) | Data comparison method and device, computer equipment and storage medium | |
CN108632257A (en) | Support the acquisition methods and system of the encryption health records of hierarchical search | |
CN104796478B (en) | A kind of resource recommendation method and device | |
CN104954823B (en) | A kind of figure calculates the device of pretreatment, method and system | |
WO2015154641A1 (en) | Prediction method and prediction system for service concurrency |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
AMND | Amendment | ||
E601 | Decision to refuse application | ||
J201 | Request for trial against refusal decision | ||
AMND | Amendment | ||
B701 | Decision to grant | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20120911 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20130911 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20140902 Year of fee payment: 6 |
|
LAPS | Lapse due to unpaid annual fee |