KR101658698B1 - Method and apparatus for gathering contexts in mobile device - Google Patents

Method and apparatus for gathering contexts in mobile device Download PDF

Info

Publication number
KR101658698B1
KR101658698B1 KR1020140061472A KR20140061472A KR101658698B1 KR 101658698 B1 KR101658698 B1 KR 101658698B1 KR 1020140061472 A KR1020140061472 A KR 1020140061472A KR 20140061472 A KR20140061472 A KR 20140061472A KR 101658698 B1 KR101658698 B1 KR 101658698B1
Authority
KR
South Korea
Prior art keywords
context
collected
period
change
collection
Prior art date
Application number
KR1020140061472A
Other languages
Korean (ko)
Other versions
KR20150134580A (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 KR1020140061472A priority Critical patent/KR101658698B1/en
Publication of KR20150134580A publication Critical patent/KR20150134580A/en
Application granted granted Critical
Publication of KR101658698B1 publication Critical patent/KR101658698B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information

Abstract

모바일 디바이스에서의 콘텍스트 수집 방법 및 그 장치가 개시된다. 모바일 디바이스에서의 콘텍스트 수집 방법은 (a) 센서별 콘텍스트 수집 주기에 따라 각 센서를 활성화하여 각각의 콘텍스트를 수집하는 단계; (b) 상기 수집된 각 콘텍스트의 변경 주기와 변경 폭 중 적어도 하나를 계산하는 단계; 및 (c) 상기 계산된 변경 주기와 변경 폭 중 적어도 하나를 이용하여 상기 센서별 콘텍스트 수집 주기 중 상기 수집된 각 콘텍스트에 대응하는 콘텍스트 수집 주기를 변경하는 단계를 포함한다.A method and apparatus for context collection in a mobile device are disclosed. A method for context collection in a mobile device includes the steps of: (a) activating each sensor according to a context collection period for each sensor to collect respective contexts; (b) calculating at least one of a change period and a change width of each collected context; And (c) changing a context collection period corresponding to each of the collected contexts of the per-sensor context collection period using at least one of the calculated change period and the change width.

Description

모바일 디바이스에서의 콘텍스트 수집 방법 및 그 장치{Method and apparatus for gathering contexts in mobile device}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for collecting contexts in a mobile device,

본 발명은 모바일 디바이스에서의 콘텍스트 수집 방법 및 그 장치에 관한 것이다. The present invention relates to a method and apparatus for context collection in a mobile device.

모바일 디바이스는 복수의 다양한 센서들이 구비되고 있다. 모바일 디바이스에 구비되는 다양한 센서들은 각각 콘텍스트 기반의 다양한 앱(App)에 의해 반복적으로 콘텍스트 수집이 요청되며, 이에 따른 에너지 소모는 상당히 많은 편이다.A mobile device is equipped with a plurality of various sensors. Various sensors installed in a mobile device are required to collect contexts repeatedly by various context-based apps, and energy consumption is considerably high.

한국 특허공개공보 제10-2013-0045725호에는 단말기의 잔여 에너지 상태에 따라 센서를 포함한 하드웨어를 절전하는 모드로 전환하는 선출원발명이 공지되어 있다. 그러나, 이는 단말기의 안정적인 운영을 목적으로 하며, 모바일 디바이스의 콘텍스트 기반 앱의 실행 품질을 고려하지 못하는 단점이 있다.
Korean Patent Laid-Open Publication No. 10-2013-0045725 discloses a prior invention for switching to a mode for saving hardware including a sensor according to a residual energy state of a terminal. However, this is aimed at stable operation of the terminal, and there is a disadvantage that it can not consider the execution quality of the context-based application of the mobile device.

발명은 모바일 디바이스에서 수집되는 콘텍스트의 변화를 고려하여 콘텍스트를 수집할 수 있는 모바일 디바이스에서의 콘텍스트 수집 방법 및 그 장치를 제공하기 위한 것이다.The invention is to provide a method and apparatus for context collection in a mobile device that can collect contexts in consideration of the changes in the context collected in the mobile device.

또한, 본 발명은 콘텍스트 수집에 따른 모바일 디바이스의 에너지 소모량을 최소화하면서 콘텍스트를 수집할 수 있는 모바일 디바이스에서의 콘텍스트 수집 방법 및 그 장치를 제공하기 위한 것이다.The present invention also provides a method and apparatus for context collection in a mobile device capable of collecting contexts while minimizing the energy consumption of mobile devices due to context collection.

본 발명의 일 측면에 따르면, 모바일 디바이스에서 수집되는 콘텍스트의 변화를 고려하여 콘텍스트를 수집할 수 있는 모바일 디바이스에서의 콘텍스트 수집 방법이 제공된다.According to an aspect of the present invention, there is provided a method of context collection in a mobile device capable of collecting a context in consideration of a change in context collected at a mobile device.

본 발명의 일 실시예에 따르면, (a) 센서별 콘텍스트 수집 주기에 따라 각 센서를 활성화하여 각각의 콘텍스트를 수집하는 단계; (b) 상기 수집된 각 콘텍스트의 변경 주기와 변경 폭 중 적어도 하나를 계산하는 단계; 및 (c) 상기 계산된 변경 주기와 변경 폭 중 적어도 하나를 이용하여 상기 센서별 콘텍스트 수집 주기 중 상기 수집된 각 콘텍스트에 대응하는 콘텍스트 수집 주기를 변경하는 단계를 포함하는 모바일 디바이스에서의 콘텍스트 수집 방법이 제공될 수 있다.According to an embodiment of the present invention, there is provided a method of generating a context, comprising the steps of: (a) activating each sensor according to a sensor-based context collection cycle to collect respective contexts; (b) calculating at least one of a change period and a change width of each collected context; And (c) changing a context collection period corresponding to each of the collected contexts of the per-sensor context collection period using at least one of the calculated change period and the change width. Can be provided.

상기 (b) 단계는 상기 수집된 콘텍스트와 이전 수집된 콘텍스트가 미일치하는 경우 수행될 수 있다.The step (b) may be performed when the collected context does not coincide with the previously collected context.

상기 변경 주기는 단위 시간 동안 콘텍스트가 수집된 횟수 또는 상기 콘텍스트가 이전 수집된 일시부터 상기 수집에 따른 일시까지의 경과시간일 수 있다.The change period may be the number of times the context has been collected for a unit time or the elapsed time from the time the context was previously collected to the date and time according to the collection.

상기 변경 폭은 현재 시점에 수집된 콘텍스트와 이전 수집된 콘텍스트간의 변화이다.The change width is a change between the context collected at the current time and the previously collected context.

상기 (c) 단계는, 단위 시간내에서의 상기 변경 주기가 변경 주기 기준치를 초과하는 경우, 상기 센서별 콘텍스트 수집 주기 중에서 상기 변경 주기 기준치를 초과하는 상기 수집된 각 콘텍스트에 대응하는 콘텍스트 수집 주기를 증가하는 단계; 및 단위 시간내에서의 상기 변경 주기가 변경 주기 기준치를 이하이면, 상기 센서별 콘텍스트 수집 주기 중에서 상기 변경 주기 기준치를 초과하는 상기 수집된 각 콘텍스트에 대응하는 콘텍스트 수집 주기를 감소시키는 단계를 포함할 수 있다.Wherein the step (c) comprises: if the change period in the unit time exceeds the change period reference value, calculating a context collection period corresponding to each of the collected contexts exceeding the change period reference value among the sensor- An increasing step; And reducing the context collection period corresponding to each collected context exceeding the modification period reference value among the per-sensor context collection periods if the modification period within the unit time is less than or equal to the modification period reference value have.

상기 (c) 단계는, 단위 시간내에서 상기 변경 폭이 변경폭 기준치를 초과하는 경우, 상기 수집된 각 콘텍스트에 대응하는 콘텍스트 수집 주기를 감소시키는 단계를 포함할 수 있다.
The step (c) may include decreasing the context collection period corresponding to each of the collected contexts when the change width exceeds the change width reference value within a unit time.

본 발명의 다른 측면에 따르면, 모바일 디바이스에서 수집되는 콘텍스트의 변화를 고려하여 콘텍스트를 수집할 수 있는 장치가 제공된다.According to another aspect of the present invention, there is provided an apparatus capable of collecting a context in consideration of a change in context collected at a mobile device.

본 발명의 일 실시예에 따르면, 모바일 디바이스에서 콘텍스트 수집하는 장치에 있어서, 제1 저장부; 제2 저장부; 센서별 콘텍스트 수집 주기에 따라 각 센서를 활성화하여 각 콘텍스트를 수집하여 상기 제1 저장부에 저장하는 콘텍스트 수집부; 및 상기 콘텍스트 수집부의 요청에 따라 상기 제1 저장부에서 제거된 콘텍스트를 누적하여 상기 제2 저장부에서 저장하고, 상기 모바일 디바이스의 각 어플리케이션의 콘텍스트 제공 요청에 따라 상기 제1 저장부 및 상기 제2 저장부 중 적어도 하나로부터 상기 제공 요청에 따른 적어도 하나의 콘텍스트를 추출하여 제공하는 콘텍스트 제공부를 포함하는 모바일 디바이스에서의 콘텍스트 수집 장치가 제공될 수 있다.According to an embodiment of the present invention, there is provided an apparatus for context collection in a mobile device, the apparatus comprising: a first storage unit; A second storage unit; A context collector for activating each sensor according to a sensor-based context collection cycle to collect each context and store the context in the first storage; And accumulating contexts removed from the first storage unit in response to a request of the context collecting unit and storing the accumulated contexts in the second storage unit and storing contexts of the first storage unit and the second storage unit in accordance with a context providing request of each application of the mobile device, And a context providing unit for extracting at least one context according to the providing request from at least one of the storage units and providing the extracted context.

상기 제1 저장부는 신규 수집된 콘텍스트를 저장하는 휘발성 메모리에 논리적으로 할당된 콘텍스트 바스켓이고, 상기 제2 저장부는 비휘발성 메모리일 수 있다.The first storage unit may be a context basket logically allocated to a volatile memory storing a newly collected context, and the second storage unit may be a non-volatile memory.

상기 콘텍스트 수집부는, 신규 수집되는 콘텍스트를 상기 제1 저장부에 일시적으로 저장하고, 상기 제1 저장부의 저장 용량이 초과되면, 우선 순위를 고려하여 상기 제1 저장부에 저장된 콘텍스트를 제거하여 상기 콘텍스트 제공부로 전송한 후 상기 신규 수집되는 콘텍스트를 상기 제1 저장부에 저장하되, 상기 콘텍스트 제공부는 상기 제거되어 전송된 콘텍스트를 누적하여 상기 제2 저장부에 저장할 수 있다.
Wherein the context collecting unit temporarily stores the context to be newly collected in the first storage unit and removes the context stored in the first storage unit in consideration of the priority when the storage capacity of the first storage unit is exceeded, To the providing unit, stores the newly collected context in the first storing unit, and the context providing unit may store the removed contexts in the second storing unit.

본 발명의 다른 실시예에 따르면, 모바일 디바이스에서 콘텍스트 수집하는 장치에 있어서, 제1 저장부; 제2 저장부; 센서별 콘텍스트 수집 주기에 따라 각 센서를 활성화하여 각각의 콘텍스트를 수집하여 상기 제1 저장부에 저장하는 수집 유닛; 상기 수집된 각 콘텍스트의 변경 주기와 변경 폭 중 적어도 하나를 계산하는 계산 유닛; 및 상기 계산된 변경 주기와 변경 폭 중 적어도 하나를 이용하여 상기 센서별 콘텍스트 수집 주기 중 상기 수집된 각 콘텍스트에 대응하는 콘텍스트 수집 주기를 변경하는 모니터링 유닛을 포함하되, 상기 수집 유닛은 상기 제1 저장부의 저장 용량이 초과하면 우선 순위를 고려하여 상기 제1 저장부에 저장된 콘텍스트를 제거하여 상기 제2 저장부에 누적 저장되도록 하는 것을 특징으로 하는 모바일 디바이스에서의 콘텍스트 수집 장치가 제공될 수 있다.According to another embodiment of the present invention, there is provided an apparatus for context collection in a mobile device, the apparatus comprising: a first storage unit; A second storage unit; A collection unit for activating each sensor according to a sensor-based context collection cycle to collect and store each context in the first storage unit; A calculation unit for calculating at least one of a change period and a change width of each collected context; And a monitoring unit for changing a context collection period corresponding to each of the collected contexts of the per-sensor context collection period using at least one of the calculated change period and the change width, The context stored in the first storage unit is removed and accumulated in the second storage unit in consideration of the priorities when the storage capacity of the secondary storage unit is exceeded.

본 발명의 일 실시예에 따른 모바일 디바이스에서의 콘텍스트 수집 방법 및 그 장치를 제공함으로써, 모바일 디바이스에서 수집되는 콘텍스트의 변화를 고려하여 콘텍스트를 수집할 수 있다.By providing a method and apparatus for context collection in a mobile device according to an embodiment of the present invention, it is possible to collect contexts in consideration of a change in context collected in a mobile device.

이를 통해, 본 발명은 콘텍스트 수집에 따른 모바일 디바이스의 에너지 소모량을 최소화할 수 있는 이점이 있다.Accordingly, the present invention has an advantage that the energy consumption of the mobile device due to the context collection can be minimized.

도 1은 본 발명의 일 실시예에 따른 모바일 디바이스에서 콘텍스트를 수집하는 장치의 내부 구성을 개략적으로 도시한 도면.
도 2는 본 발명의 일 실시예에 따른 콘텍스트 수집부의 구성을 도시한 블록도.
도 3은 본 발명의 일 실시예에 따른 콘텍스트의 변경 주기 및 변경 폭을 설명하기 위해 도시한 도면.
도 4는 본 발명의 일 실시예에 따른 콘텍스트 수집 장치가 콘텍스트를 수집하는 방법을 나타낸 순서도.
도 5은 본 발명의 일 실시예에 따른 콘텍스트 변경 주기 및 변경 폭 중 적어도 하나를 고려하여 콘텍스트 수집 주기를 변경하는 방법을 설명하기 위해 도시한 도면.
도 6은 종래의 방법에 따른 콘텍스트 수집에 따른 에너지 소모량을 나타낸 표.
도 7은 본 발명의 일 실시예에 따른 콘텍스트 수집에 따른 에너지 소모량을 나타낸 표.
.
1 schematically illustrates an internal configuration of an apparatus for collecting contexts in a mobile device according to an embodiment of the present invention;
2 is a block diagram showing the configuration of a context collector according to an embodiment of the present invention;
FIG. 3 is a view for explaining a context change period and a change width according to an embodiment of the present invention; FIG.
4 is a flow diagram illustrating a method for a context collection device to collect contexts according to an embodiment of the present invention.
5 is a diagram illustrating a method for changing a context collection period in consideration of at least one of a context change period and a change width according to an embodiment of the present invention;
FIG. 6 is a table showing energy consumption according to context collection according to a conventional method; FIG.
FIG. 7 is a table showing energy consumption according to context collection according to an embodiment of the present invention; FIG.
.

본 발명은 다양한 변환을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변환, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.BRIEF DESCRIPTION OF THE DRAWINGS The present invention is capable of various modifications and various embodiments, and specific embodiments are illustrated in the drawings and described in detail in the detailed description. It is to be understood, however, that the invention is not to be limited to the specific embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. The terms first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used in this application is used only to describe a specific embodiment and is not intended to limit the invention. The singular expressions include plural expressions unless the context clearly dictates otherwise. In the present application, the terms "comprises" or "having" and the like are used to specify that there is a feature, a number, a step, an operation, an element, a component or a combination thereof described in the specification, But do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof.

이하, 본 발명의 실시예를 첨부한 도면들을 참조하여 상세히 설명하기로 한다.
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일 실시예에 따른 모바일 디바이스에서 콘텍스트를 수집하는 장치의 내부 구성을 개략적으로 도시한 도면이고, 도 2는 본 발명의 일 실시예에 따른 콘텍스트 수집부의 구성을 도시한 블록도이며, 도 3은 본 발명의 일 실시예에 따른 콘텍스트의 변경 주기 및 변경 폭을 설명하기 위해 도시한 도면이다. 본 발명의 일 실시예에 따른 모바일 디바이스에서 콘텍스트를 수집하는 장치(이하, 콘텍스트 수집 장치라 칭하기로 함)는 모바일 디바이스에 일 구성으로 포함될 수 있다.FIG. 1 is a block diagram schematically illustrating an internal configuration of an apparatus for collecting contexts in a mobile device according to an embodiment of the present invention. FIG. 2 is a block diagram illustrating a configuration of a context collector according to an embodiment of the present invention. And FIG. 3 is a view for explaining a context change period and a change width according to an embodiment of the present invention. An apparatus for collecting contexts (hereinafter referred to as a context collection apparatus) in a mobile device according to an embodiment of the present invention may be included in a mobile device as one configuration.

이하에서 설명되는 콘텍스트는 각 센서를 통해 수집되는 각각의 정보를 나타낸다. The context described below represents each piece of information collected through each sensor.

도 1을 참조하면, 본 발명의 일 실시예에 따른 콘텍스트 수집 장치(100)는 콘텍스트 수집부(110), 콘텍스트 제공부(115), 제1 저장부(120), 제2 저장부(125) 및 제어부(130)를 포함하여 구성된다.1, the context collecting apparatus 100 according to an embodiment of the present invention includes a context collecting unit 110, a context providing unit 115, a first storing unit 120, a second storing unit 125, And a controller 130.

콘텍스트 수집부(110)는 센서별 콘텍스트 수집 주기에 따라 각 센서를 활성화하고, 활성화된 센서를 통해 각 콘텍스트를 수집하는 기능을 한다. The context collector 110 activates each sensor according to a sensor-based context collection cycle, and collects each context through an activated sensor.

본 발명의 일 실시예에 따른 콘텍스트는 각 센서를 통해 수집되는 각 정보를 통칭한다. 예를 들어, 콘텍스트는 위치 정보, 모션 정보, 터치 정보 등 각 센서를 통해 수집될 수 있는 모든 정보를 통칭할 수 있다.The context according to an embodiment of the present invention collectively refers to each information collected through each sensor. For example, the context can collectively collect all information that can be collected through each sensor, such as location information, motion information, and touch information.

도 2에는 콘텍스트 수집부(110)의 내부 구성이 개략적으로 도시되어 있다.FIG. 2 schematically shows the internal configuration of the context collecting unit 110. As shown in FIG.

도 2를 참조하면, 본 발명의 일 실시예에 따른 콘텍스트 수집부(110)는 수집 유닛(210), 계산 유닛(215) 및 모니터링 유닛(220)을 포함하여 구성된다.2, the context collection unit 110 according to an embodiment of the present invention includes a collection unit 210, a calculation unit 215, and a monitoring unit 220. [

수집 유닛(210)은 센서별 콘텍스트 수집 주기에 따라 각 센서를 활성화하고 활성화된 센서를 통해 각 콘텍스트를 수집하는 기능을 한다.The acquisition unit 210 activates each sensor according to the sensor-based context collection period and collects each context through the activated sensor.

여기서, 센서별 콘텍스트 수집 주기는 사용자 또는 모바일 디바이스에서 콘텍스트를 기반으로 실행되는 다양한 어플리케이션에 의해 입력된 센서 리스트 및 수집 주기 중 적어도 하나를 이용하여 설정될 수 있다.Here, the per-sensor context collection period can be set using at least one of the sensor list and the collection period input by the user or the various applications executed on the basis of the context in the mobile device.

즉, 사용자 또는 모바일 디바이스에서 콘텍스트를 기반으로 실행되는 각 어플리케이션은 필요한 각 센서에 대한 정보를 포함하는 센서 리스트와 각 센서별 콘텍스트 수집을 위해 필요한 수집 주기를 각각 수집 유닛(210)으로 입력할 수 있다.That is, each application executed on the basis of the context in the user or the mobile device may input into the acquisition unit 210 a sensor list including information on each required sensor and a collection period necessary for context acquisition for each sensor .

본 발명의 일 실시예에서는 이해와 설명의 편의를 도모하기 위해 센서 리스트와 수집 주기 중 적어도 하나만을 입력받는 것을 가정하고 있으나, 이외에도 다양한 조건 정보를 더 입력받을 수도 있다.In an embodiment of the present invention, it is assumed that at least one of the sensor list and the collection period is received in order to facilitate understanding and explanation, but various condition information may be further input.

예를 들어, 특정 상황인 경우, 제1 센서를 활성화하여 콘텍스트를 수집하도록 하는 등과 같은 조건일 수 있다. 예를 들어, 특정 상황은 N(자연수)회 터치 등과 같은 센서를 활성화기 위한 다양한 조건일 수 있다.For example, in certain situations, it may be a condition such as activating the first sensor to collect the context, and so on. For example, a particular situation can be various conditions for activating a sensor such as N (natural number) touches.

다른 예를 들어, 수집 유닛(210)은 센서 리스트와 수집 주기를 이용하여 콘텍스트 수집 환경을 설정하고, 설정된 콘텍스트 수집 환경에 따라 센서별 콘텍스트 수집 주기를 각각 설정할 수도 있다. 여기서, 설정된 콘텍스트 수집 환경은 각 센서별 활성화되기 위한 수집 주기와 별도의 조건을 포함할 수 있다.As another example, the acquisition unit 210 may set the context collection environment using the sensor list and the collection period, and may set the per-sensor context collection period according to the set context collection environment, respectively. Here, the set context collection environment may include a condition separate from the collection period to be activated for each sensor.

수집 유닛(210)은 센서별 콘텍스트 수집 주기에 따라 수집된 각 콘텍스트를 제1 저장부(120)에 일시적으로 저장한다. 여기서, 제1 저장부(120)는 캐시 메모리와 같은 휘발성 메모리의 논리적 저장 공간으로, 예를 들어, 콘텍스트를 저장하기 위한 바스켓(이하, 콘텍스트 바스켓이라 칭하기로 함)일 수 있다. 이러한 콘텍스트 바스켓은 캐시 메모리 등이므로, 저장된 데이터를 읽고 쓰기 위한 속도는 매우 빠르나 상대적으로 저장 용량이 작다.The collection unit 210 temporarily stores each context collected in the first storage unit 120 according to the sensor-specific context collection period. Here, the first storage unit 120 may be a logical storage space of a volatile memory such as a cache memory, for example, a basket for storing a context (hereinafter, referred to as a context basket). Since the context basket is a cache memory, etc., the speed for reading and writing stored data is very fast, but the storage capacity is relatively small.

따라서, 수집 유닛(210)은 신규 수집되는 콘텍스트를 중심으로 콘텍스트 바스켓에 저장하도록 저장 정책을 유지할 수 있다. Thus, the collection unit 210 may maintain a storage policy to store in the context basket about the newly collected context.

이는 신규 수집된 콘텍스트의 경우, 모바일 디바이스에서 실행되는 어플리케이션에서 요구될 가능성이 상대적으로 높기 때문에 데이터로의 접근의 용이성과 빠른 읽기가 가능하도록 할 수 있는 이점이 있다. This has the advantage that, in the case of newly collected contexts, the accessibility to the data and quick reading are possible because the possibility of being required in an application running on the mobile device is relatively high.

또한, 본 발명의 일 실시예에서 콘텍스트를 저장한다는 의미는 별도의 설명이 없더라도 콘텍스트의 데이터값과 함께 콘텍스트가 수집된 일시도 함께 저장되는 것으로 이해되어야 할 것이다.In addition, in the embodiment of the present invention, it is to be understood that the context is stored together with the data value of the context and the date and time when the context is collected.

또한, 수집 유닛(210)은 신규 수집된 콘텍스트를 제1 저장부(120)에 저장시, 제1 저장부(120)에 저장 용량이 부족한 경우, 우선 순위에 따라 제1 저장부(120)에 저장된 콘텍스트들 중 적어도 하나를 제거한 후 신규 수집된 콘텍스트를 제1 저장부(120)에 저장할 수 있다. 이때, 수집 유닛(210)은 제거된 콘텍스트는 콘텍스트 제공부(115)로 전송하여 누적 저장을 요청할 수 있다.In addition, when the newly collected context is stored in the first storage unit 120, when the storage capacity of the first storage unit 120 is insufficient, the collecting unit 210 stores the collected context in the first storage unit 120 After saving at least one of the stored contexts, the newly collected context may be stored in the first storage 120. At this time, the collection unit 210 may transmit the removed context to the context provisioning unit 115 to request cumulative storage.

여기서, 우선 순위는 저장 시점, 사용 빈도 및 사용시점 중 적어도 하나일 수 있다.Here, the priority may be at least one of a storage time, a frequency of use, and a usage time.

예를 들어, 우선순위가 저장시점이라고 가정하자. 즉, 가장 과거에 저장된 콘텍스트를 우선하여 제거하면, 콘텍스트 수집부(110)는 제1 저장부(120)에 저장된 콘텍스트들 중 저장 시점이 가장 과거인 콘텍스트순으로 제거하여 콘텍스트 제공부(115)로 전송할 수 있다.For example, suppose the priority is a storage point. That is, if the context stored in the oldest storage is first removed, the context collection unit 110 removes contexts stored in the first storage unit 120 in the order of the oldest storage time, Lt; / RTI >

계산 유닛(215)은 신규 수집된 각 콘텍스트의 변경 주기 및 변경 폭을 계산하는 기능을 수행한다.The calculation unit 215 performs a function of calculating a change period and a change width of each newly collected context.

이때, 계산 유닛(215)은 신규 수집된 콘텍스트가 바로 직전 저장된 콘텍스트와 일치하는 경우, 변경 주기 및 변경 폭은 계산하지 않을 수 있다. 즉, 계산 유닛(215)은 신규 수집된 콘텍스트의 값이 변경된 경우에 한해 변경 주기 및 변경 폭을 계산할 수 있다.At this time, the calculation unit 215 may not calculate the change period and the change width, if the newly collected context matches the immediately-previously stored context. That is, the calculation unit 215 can calculate the change period and the change width only when the value of the newly collected context is changed.

이해와 설명의 편의를 도모하기 위해 도 3을 참조하여 콘텍스트의 변경 주기 및 변경 폭에 대해 각각 설명하기로 한다.In order to facilitate understanding and explanation, the context change period and the change width will be described with reference to FIG.

콘텍스트의 변경 주기는 단위 시간 동안 제1 콘텍스트가 수집된 횟수를 나타낸다.The change period of the context indicates the number of times the first context is collected during the unit time.

계산 유닛(215)는 단위 시간 동안 제1 콘텍스트에 대해 수집된 횟수를 계산하여 즉, 변경된 콘텍스트값이 수집된 횟수로 콘텍스트의 변경 주기를 계산할 수 있다.The calculation unit 215 can calculate the number of times collected for the first context for a unit time, i.e., calculate the change period of the context with the number of times the changed context value is collected.

다른 예를 들어, 콘텍스트의 변경 주기는 변경된 콘텍스트가 수집되기까지의 경과시간을 나타낸다. 즉, 콘텍스트의 이전 수집 시간부터 변경된 콘텍스트가 수집된 시간까지의 경과시간일 수도 있다.As another example, the change period of the context indicates the elapsed time until the changed context is collected. That is, it may be the elapsed time from the previous collection time of the context until the time when the changed context is collected.

또한, 콘텍스트의 변경 폭은 도 3에 도시된 바와 같이, 제1 콘텍스트에 대해 제3 시점과 제4 시점의 콘텍스트의 변화를 나타낸다. 이에 따라 계산 유닛(215)은 현재 수집된 콘텍스트의 값과 이전 수집된 콘텍스트의 값의 변화를 계산하여 변경 폭을 계산할 수 있다. In addition, the change width of the context represents the change of the context at the third and fourth points of view with respect to the first context, as shown in Fig. Accordingly, the calculation unit 215 can calculate the change width by calculating the change of the value of the currently collected context and the value of the previously collected context.

이때, 변경 주기 및 변경 폭은 각각 절대값을 취하여 양의값으로 나타낼 수 있다.At this time, the change period and the change width can be expressed as positive values by taking absolute values, respectively.

모니터링 유닛(220)은 계산 유닛(215)에 의해 계산된 콘텍스트의 변경 주기 및 변경 폭 중 적어도 하나를 이용하여 센서별 콘텍스트 수집 주기 중 적어도 일부를 변경하는 기능을 수행한다.The monitoring unit 220 performs the function of changing at least a part of the per-sensor context collection period using at least one of the change period and the change width of the context calculated by the calculation unit 215. [

예를 들어, 모니터링 유닛(220)은 단위 시간내에서 수집된 각 콘텍스트에 대한 콘텍스트 변경 주기 또는 변경 주기가 변경 주기 기준치를 초과하는 경우, 센서별 콘텍스트 변경 주기 중에서 해당 변경 주기 기준치를 초과하는 콘텍스트에 대한 콘텍스트 수집 주기를 증가시킬 수 있다.For example, when the context change cycle or the change cycle for each context collected within a unit time exceeds the change cycle reference value, the monitoring unit 220 may notify the context exceeding the change cycle reference value among the sensor- It is possible to increase the context collection period.

반면, 단위 시간내에서 수집된 각 콘텍스트에 대한 콘텍스트 변경 주기가 변경 주기 기준치 미만이면, 모니터링 유닛(220)은 센서별 콘텍스트 변경 주기 중에서 해당 변경 주기 기준치 미만인 콘텍스트에 대한 콘텍스트 수집 주기를 감소시킬 수 있다.On the other hand, if the context change period for each context collected within a unit time is less than the change period reference value, the monitoring unit 220 may reduce the context collection period for the context that is less than the corresponding change period reference value among the sensor-specific context change cycles .

또한, 모니터링 유닛(220)은 수집된 콘텍스트의 변경 폭이 변경폭 기준치를 초과하는 경우, 센서별 콘텍스트 변경 주기 중에서 해당 변경폭 기준치를 초과하는 콘텍스트에 대응하는 콘텍스트 변경 주기를 감소시킬 수 있다. 이를 통해 콘텍스트의 변경 폭이 줄어들게 할 수 있다.The monitoring unit 220 may reduce the context change period corresponding to the context exceeding the corresponding change width reference value in the sensor-specific context change cycle when the change width of the collected context exceeds the change width reference value. This can reduce the amount of change in the context.

도 2에서는 수집 유닛(210)에서 신규 수집된 콘텍스트를 제1 저장부(120)에 저장하고, 저장 용량이 부족한 경우, 제1 저장부(120)에 저장된 콘텍스트들 중 적어도 하나를 제거하여 콘텍스트 제공부(115)로 전송하는 것을 중심으로 설명하였다.In FIG. 2, the context newly collected by the acquisition unit 210 is stored in the first storage unit 120. If the storage capacity is insufficient, at least one of the contexts stored in the first storage unit 120 is removed, (115).

다른 예를 들어, 수집 유닛(210)은 신규 수집된 콘텍스트를 모니터링 유닛(220)으로 전송하고, 모니터링 유닛(220)이 신규 수집된 콘텍스트를 제1 저장부(120)에 저장하고, 저장 용량이 부족한 경우, 제1 저장부(120)에 저장된 콘텍스트들 중 적어도 하나를 제거하여 콘텍스트 제공부(115)로 전송하도록 할 수도 있다.Alternatively, the collection unit 210 may send the newly collected context to the monitoring unit 220, the monitoring unit 220 may store the newly collected context in the first storage 120, If it is insufficient, at least one of the contexts stored in the first storage unit 120 may be removed and transmitted to the context provision unit 115.

지금까지 도 2를 참조하여 콘텍스트 수집부의 각 구성에 대해 설명하였다. 다시 도 1을 참조하여 콘텍스트 수집 장치(100)의 각 구성에 대해 설명하기로 한다.The configuration of the context collecting unit has been described with reference to FIG. The configuration of the context collection apparatus 100 will be described with reference to FIG.

콘텍스트 제공부(115)는 모바일 디바이스의 각 어플리케이션의 요청에 따라 제1 저장부(120) 또는 제2 저장부(125)에서 콘텍스트를 추출하여 해당 어플리케이션으로 제공하기 위한 기능을 수행한다.The context providing unit 115 extracts the context from the first storage unit 120 or the second storage unit 125 according to the request of each application of the mobile device and provides the extracted context to the corresponding application.

또한, 콘텍스트 제공부(115)는 콘텍스트 수집부(110)의 요청에 따라 콘텍스트를 제2 저장부(125)에 누적하여 저장한다. 즉, 수집되는 콘텍스트는 콘텍스트 수집부(110)에 의해 제1 저장부(120)에 1차 저장된 후 제1 저장부(120)의 메모리가 가득 찬 경우(즉, 제1 저장부(120)의 저장 용량이 부족한 경우), 제1 저장부(120)에서 제거된 후 콘텍스트 제공부(115)를 통해 제2 저장부(125)로 저장된다.The context providing unit 115 accumulates and stores the context in the second storing unit 125 at the request of the context collecting unit 110. [ That is, when the context of the first storage unit 120 is full after the context acquisition unit 110 first stores the collected context in the first storage unit 120 (i.e., when the memory of the first storage unit 120 is full) And is stored in the second storage unit 125 through the context providing unit 115 after being removed from the first storage unit 120. [

콘텍스트 제공부(115)는 콘텍스트를 누적하여 제2 저장부(125)에 저장할 수 있다.The context providing unit 115 may store the contexts in the second storage unit 125 in a cumulative manner.

또한, 콘텍스트 제공부(115)는 어플리케이션에 의해 콘텍스트 제공 요청이 입력되면, 제1 저장부(120) 및 제2 저장부(125) 중 적어도 하나에서 요청에 따른 콘텍스트를 추출하여 해당 어플리케이션으로 제공할 수 있다.When a context providing request is inputted by the application, the context providing unit 115 extracts the context according to the request from at least one of the first storing unit 120 and the second storing unit 125 and provides the extracted context to the corresponding application .

각 어플리케이션은 SQL 질의문을 통해 콘텍스트 제공부(115)로 콘텍스트 제공을 요청할 수 있다. 여기서, 콘텍스트 제공 요청은 SQL 질의문을 통해 필요한 콘텍스트를 획득하기 위한 센서 정보나 콘텍스트 식별정보 및 조건 정보 중 적어도 하나를 포함할 수 있다. 여기서, 조건 정보는 해당 센서 정보나 콘텍스트 식별정보에 따른 콘텍스트를 추출할 조건으로, 예를 들어, 일시정보, 빈도 등일 수 있다.Each application can request the context provisioning 115 via the SQL query. Here, the context provision request may include at least one of sensor information, context identification information, and condition information for acquiring a necessary context through an SQL query. Here, the condition information is a condition for extracting the context based on the sensor information or the context identification information, for example, the date information, the frequency, and the like.

이에 따라, 콘텍스트 제공부(115)는 SQL 질의문에서 센서 정보나 콘텍스트 식별정보에 해당하는 콘텍스트들 중 해당 조건 정보에 일치하는 콘텍스트만을 제1 저장부(120) 및 제2 저장부(125) 중 적어도 하나로부터 추출하여 질의 결과로써 해당 어플리케이션으로 제공할 수 있다.Accordingly, in the SQL query, only the contexts corresponding to the corresponding condition information among the contexts corresponding to the sensor information or the context identification information are stored in the first storage unit 120 and the second storage unit 125 Extracted from at least one and can be provided to the application as a query result.

제1 저장부(120)는 콘텍스트 수집부(110)에 의해 수집된 신규 콘텍스트를 일시적으로 저장하기 위한 저장 공간이다. 예를 들어, 제1 저장부(120)는 콘텍스트 바스켓일 수 있다. 즉, 콘텍스트 바스켓은 휘발성 저장 공간으로, 크기가 한정된 논리적 저장소로, 모바일 디바이스가 동작시 데이터가 로딩되는 캐시 메모리상의 논리적으로 구분되어 형성될 수 있다.The first storage unit 120 is a storage space for temporarily storing the new context collected by the context collection unit 110. [ For example, the first storage unit 120 may be a context basket. That is, the context basket may be formed as a volatile storage space, logically divided into a logical storage having a limited size, and a cache memory on which data is loaded when the mobile device operates.

이에 따라, 신규 수집된 콘텍스트는 상대적으로 각 어플리케이션에 따라 이용될 확률이 높으므로 메모리 접근이 매우 빠른 제1 저장부(120)에 저장될 수 있다.Accordingly, since the newly collected context is relatively likely to be used according to each application, the context can be stored in the first storage unit 120, which is very fast in memory access.

다른 실시예로, 콘텍스트 수집부(110)는 특정 유형의 콘텍스트만을 제1 저장부(120)에 저장할 수도 있다. 여기서, 특정 유형은 해당 콘텍스트를 이용하는 어플리케이션의 수, 어플리케이션에서의 이용 빈도 등일 수 있다.In another embodiment, the context collection unit 110 may store only a specific type of context in the first storage unit 120. [ Here, the specific type may be the number of applications using the context, frequency of use in an application, and the like.

즉, 상대적으로 많은 어플리케이션에 의해 이용되거나 매우 빈번하게 콘텍스트가 이용되는 경우, 콘텍스트 수집부(110)는 해당 콘텍스트를 집중적으로 제1 저장부(120)에 저장함으로써 상대적으로 빠르게 콘텍스트를 검색 및 추출하도록 할 수 있는 이점도 있다.That is, when the context is used by a relatively large number of applications or is frequently used, the context collection unit 110 stores the context in the first storage unit 120 to search for and extract the context relatively quickly There is also an advantage to be able to do.

제2 저장부(125)는 비휘발성 메모리로, 콘텍스트들을 누적하여 저장하는 기능을 한다.The second storage unit 125 is a nonvolatile memory, and accumulates and stores the contexts.

제어부(130)는 본 발명의 일 실시예에 따른 콘텍스트 수집 장치(100)의 내부 구성 요소들(예를 들어, 콘텍스트 수집부(110), 콘텍스트 제공부(115), 제1 저장부(120) 및 제2 저장부(125) 등)을 제어하는 기능을 수행한다.The control unit 130 may include internal components (e.g., the context acquisition unit 110, the context providing unit 115, the first storage unit 120, and the external storage unit) of the context collecting apparatus 100 according to an embodiment of the present invention. And the second storage unit 125).

또한, 제어부(130)는 콘텍스트 수집 장치(100)의 에너지 소모량을 측정할 수 있다.In addition, the control unit 130 may measure the energy consumption of the context collecting apparatus 100.

콘텍스트 수집 장치(100)의 에너지 소모량은 콘텍스트를 수집하는 과정(Acqusition, ACQ라 칭하기로 함), 콘텍스트를 획득하는 과정(Retrieval, ERT라 칭하기로 함), 획득한 콘텍스트를 관리하는 과정(Management, MAN이라 칭하기로 함), 획득된 콘텍스트를 처리하는 과정(Processing, PRO라 칭하기로 함)에서 필요한 에너지 소모량을 합산하여 계산될 수 있다.The energy consumption of the context collecting apparatus 100 may include a process of acquiring a context (Acqusition, ACQ), a process of acquiring a context (called Retrieval, ERT), a process of managing the acquired context (Management, (Hereinafter, referred to as MAN), and a process of processing the obtained context (processing, PRO).

콘텍스트 수집을 위한 1분간의 에너지 소모량은 수 1과 같이 정의되며, 단위는 mAh이다.One minute of energy consumption for context collection is defined as the number 1, and the unit is mAh.

Figure 112014048148981-pat00001
Figure 112014048148981-pat00001

여기서, n은 콘텍스트를 획득하고자 하는 어플리케이션의 수를 나타내고, S는 수집한 콘텍스트의 수를 나타내며, C는 어플리케이션에서 모바일 디바이스에서 수집한 콘텍스트의 수를 나타내고, R는 어플리케이션에서 획득한 콘텍스트 집합의 수를 나타내며, ACQ는 콘텍스트를 수집하기 위한 에너지 소비량을 나타내고, MAN은 콘텍스트를 관리하기 위한 에너지 소비량을 나타내며, RET는 콘텍스트를 획득하기 위한 에너지 소비량을 나타내고, PRO는 어플리케이션에서 콘텍스트 또는 이벤트를 처리하기 위한 에너지 소비량을 나타낸다.Where C represents the number of contexts collected by the mobile device in the application and R represents the number of context sets acquired by the application. , ACQ represents the energy consumption for collecting the context, MAN represents the energy consumption for managing the context, RET represents the energy consumption for acquiring the context, and PRO represents the amount of energy consumed for processing the context or event in the application Energy consumption.

에너지 소비량은 서비스 측면에서의 에너지 사용량과 클라이언트 측 에너지 사용량으로 구분된다. 서비스에서의 에너지 사용량은 콘텍스트를 수집하기 위한 비용(ACQ), 콘텍스트를 관리하기 위한 비용(MAN)의 합이고, 클라이언트에서의 에너지 사용량은 콘텍스트를 수집하기 위한 비용(ACQ), 콘텍스트를 획득하기 위한 비용(RET), 콘텍스트 또는 이벤트를 처리하기 위한 비용(PRO)의 합으로 도출될 수 있다.
Energy consumption is divided into service usage and client usage. The energy usage in the service is the sum of the cost to collect the context (ACQ), the cost to manage the context (MAN), the energy usage in the client is the cost (ACQ) to collect the context, The cost (RET), the cost of processing the context or event (PRO).

도 4는 본 발명의 일 실시예에 따른 콘텍스트 수집 장치가 콘텍스트를 수집하는 방법을 나타낸 순서도이고, 도 5은 본 발명의 일 실시예에 따른 콘텍스트 변경 주기 및 변경 폭 중 적어도 하나를 고려하여 콘텍스트 수집 주기를 변경하는 방법을 설명하기 위해 도시한 도면이고, 도 6은 종래의 방법에 따른 콘텍스트 수집에 따른 에너지 소모량을 나타낸 표이며, 도 7은 본 발명의 일 실시예에 따른 콘텍스트 수집에 따른 에너지 소모량을 나타낸 표이다.FIG. 4 is a flowchart illustrating a method of collecting contexts according to an embodiment of the present invention. FIG. 5 is a flowchart illustrating a method of collecting contexts according to one embodiment of the present invention. FIG. 6 is a table showing energy consumption according to the context collection according to the conventional method, and FIG. 7 is a table showing energy consumption according to the context collection according to an embodiment of the present invention .

단계 410에서 콘텍스트 수집 장치(100)는 콘텍스트 수집을 위해 필요한 센서 리스트 및 수집 주기를 각각 입력받는다.In step 410, the context acquisition apparatus 100 receives a sensor list and a collection period necessary for context collection, respectively.

여기서, 센서 리스트는 각 센서에 대한 식별정보(예를 들어, 센서의 명칭, MAC 정보 등)를 포함할 수 있다. 또한, 수집 주기는 콘텍스트 수집을 위해 각 센서별로 콘텍스트를 수집하기 위한 수집 주기로, 수집 주기에 따라 각 센서의 활성화 시점이 결정될 수 있다.Here, the sensor list may include identification information (e.g., the name of the sensor, MAC information, etc.) for each sensor. In addition, the collection period is a collection period for collecting contexts for each sensor for context collection, and the activation time of each sensor may be determined according to the collection period.

단계 415에서 콘텍스트 수집 장치(100)는 센서 리스트 및 수집 주기를 이용하여 센서별 콘텍스트 수집 주기를 각각 설정한다.In step 415, the context collection apparatus 100 sets a sensor-specific context collection period using the sensor list and the collection period.

단계 420에서 콘텍스트 수집 장치(100)는 센서별 콘텍스트 수집 주기에 따라 각 센서를 활성화하고, 활성화된 센서를 통해 각 콘텍스트를 수집한다.In step 420, the context acquisition apparatus 100 activates each sensor according to a sensor-specific context collection cycle, and collects each context through the activated sensor.

단계 425에서 콘텍스트 수집 장치(100)는 수집된 콘텍스트의 변경 주기와 변경 폭을 계산한다.In step 425, the context collection apparatus 100 calculates a change period and a change width of the collected context.

이는 이미 도 2에서 설명한 바와 동일하므로 중복되는 설명은 생략하기로 한다.Since this is the same as that described above with reference to FIG. 2, redundant description will be omitted.

단계 430에서 콘텍스트 수집 장치(100)는 계산된 콘텍스트의 변경 주기 및 변경 폭 중 적어도 하나를 이용하여 센서별 콘텍스트 수집 주기 중 일부를 변경한다.At step 430, the context acquisition apparatus 100 changes at least one of the computed context change period and the change width to change some of the per-sensor context collection cycles.

도 5를 참조하여 이에 대해 상세히 설명하기로 한다. 이해와 설명의 편의를 도모하기 위해 변경 주기 기준치는 4이고, 변경폭 기준치는 0.5라고 가정하기로 한다.This will be described in detail with reference to FIG. In order to facilitate understanding and explanation, it is assumed that the change period reference value is 4 and the change width reference value is 0.5.

도 5에 도시된 바와 같이, 제1 단위 시간 동안(N-1 시간부터 N 시간까지) 제1 콘텍스트에 대한 콘텍스트의 변경 주기는 12회이고, 변경폭은 0.3임을 알 수 있다. 이에 콘텍스트 수집 장치(100)는 단위 시간 동안 제1 콘텍스트에 대한 콘텍스트의 변경 주기가 12회로 변경 주기 기준치를 초과하므로, 제1 콘텍스트에 대한 콘텍스트 수집 주기를 증가시킨다.As shown in FIG. 5, it can be seen that the context change period for the first context during the first unit time (from N-1 time to N time) is 12, and the change width is 0.3. The context collection apparatus 100 increases the context collection period for the first context because the modification period of the context for the first context for a unit of time exceeds the modification period reference value of 12 times.

반면, 제2 단위 시간 동안(N 시간부터 N+1 시간까지) 제1 콘텍스트에 대한 콘텍스트의 변경 폭이 0.7인 경우, 콘텍스트 수집 장치(100)는 변경 폭이 변경폭 기준치를 초과하였으므로, 제1 콘텍스트에 대한 변경 폭을 줄이기 위해 제1 콘텍스트의 콘텍스트 수집 주기를 감소시킬 수 있다.On the other hand, when the change width of the context for the first context is 0.7 for the second unit time (from N time to N + 1 time), since the change width exceeds the change width reference value, The context collection period of the first context may be reduced to reduce the change width to the context.

도 5에 도시된 바와 같이, 콘텍스트의 변경 폭과 변경폭 기준치를 비교시에서는 단위 시간 동안의 콘텍스트의 각 변경 폭 중 최대값을 이용하여 변경폭 기준치와 비교할 수 있다.As shown in FIG. 5, when comparing the change width of the context with the change width reference value, it is possible to compare the change width reference value with the maximum value among the change widths of the contexts during the unit time.

제3 단위 시간 동안(N+1 시간부터 N+2 시간까지) 콘텍스트의 변경 폭은 0.25이고, 변경 주기는 4이므로 변경 주기 기준치와 변경 폭 기준치 이내에 있으므로 최적화되어 있는 것으로 판단하여 콘텍스트 수집 장치(100)는 콘텍스트의 수집 주기를 변경하지 않을 수 있다.Since the change width of the context during the third unit time (from N + 1 to N + 2) is 0.25 and the change period is 4, it is determined to be optimized because it is within the change period reference value and the change width reference value. ) May not change the collection period of the context.

도 6은 콘텍스트의 변경 주기 및 변경 폭을 지속적으로 최적화하지 않은 경우, 콘텍스트 수집에 소모되는 에너지 소모량을 나타낸 결과이고, 도 7은 콘텍스트의 변경 주기 및 변경 폭을 지속적으로 최적화하여 콘텍스트 수집에 소모되는 에너지 소모량을 나타낸 결과이다.FIG. 6 shows the energy consumption amount consumed in the context collection when the change period and the change width of the context are not continuously optimized. FIG. 7 shows a case where the change period and the change width of the context are continuously optimized, Energy consumption.

도 6은 콘텍스트의 변화 정도와는 상관없이 지속적으로 콘텍스트를 수집하기 때문에 수집되는 콘텍스트의 개수가 과도하게 많으며, 결과적으로 에너지 소모량이 증가되는 것을 알 수 있다.FIG. 6 shows that contexts are continuously collected regardless of the degree of change of the context, so that the number of contexts collected is excessively large, resulting in an increase in energy consumption.

그러나 도 7과 같이, 콘텍스트의 변화 정도를 고려하여 콘텍스트 변경 주기 및 변경 폭을 지속으로 최적화하여 콘텍스트를 수집하는 경우, 수집되는 콘텍스트의 수를 줄일 수 있으며 그에 따라 콘텍스트 수집에 소모되는 에너지량은 약 45%가 감소되고, 콘텍스트 처리에 소모되는 에너지량은 약 30%가 감소되는 것을 알 수 있다.
However, as shown in FIG. 7, when the context is collected by continuously optimizing the context change period and the change width in consideration of the extent of the context change, the number of contexts to be collected can be reduced, 45% is reduced, and the amount of energy consumed in the context processing is reduced by about 30%.

한편, 본 발명의 실시예에 따른 모바일 디바이스에서 콘텍스트를 수집하는 방법은 다양한 전자적으로 정보를 처리하는 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 저장 매체에 기록될 수 있다. 저장 매체는 프로그램 명령, 데이터 파일, 데이터 구조등을 단독으로 또는 조합하여 포함할 수 있다. Meanwhile, a method of collecting contexts in a mobile device according to an exemplary embodiment of the present invention may be implemented in the form of a program command that can be executed through a variety of means for processing information electronically and recorded in a storage medium. The storage medium may include program instructions, data files, data structures, and the like, alone or in combination.

저장 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 소프트웨어 분야 당업자에게 공지되어 사용 가능한 것일 수도 있다. 저장 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media) 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 전자적으로 정보를 처리하는 장치, 예를 들어, 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. Program instructions to be recorded on the storage medium may be those specially designed and constructed for the present invention or may be available to those skilled in the art of software. Examples of storage media include magnetic media such as hard disks, floppy disks and magnetic tape, optical media such as CD-ROMs and DVDs, magneto-optical media such as floptical 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 devices for processing information electronically using an interpreter or the like, for example, a high-level language code that can be executed by a computer.

상술한 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.
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.

상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야에서 통상의 지식을 가진 자라면 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention as defined in the appended claims. It will be understood that the invention may be varied and varied without departing from the scope of the invention.

100: 콘텍스트 수집 장치
110: 콘텍스트 수집부
115: 콘텍스트 제공부
120: 제1 저장부
125: 제2 저장부
130: 제어부
100: Context acquisition device
110: Context collecting unit
115: Context Offering
120: first storage unit
125: second storage unit
130:

Claims (10)

(a) 센서별 콘텍스트 수집 주기에 따라 각 센서를 활성화하여 각각의 콘텍스트를 수집하는 단계;
(b) 상기 수집된 콘텍스트와 이전 수집된 콘텍스트가 미일치하는 경우, 상기 수집된 각 콘텍스트의 변경 주기와 변경 폭을 계산하는 단계; 및
(c) 상기 계산된 변경 주기와 변경 폭을 이용하여 상기 센서별 콘텍스트 수집 주기 중 상기 수집된 각 콘텍스트에 대응하는 콘텍스트 수집 주기를 변경하는 단계; 및
(d) 상기 수집된 콘텍스트의 유형에 따라 상기 수집된 콘텍스트를 저장할 저장부를 결정하는 단계-상기 유형은 상기 콘텍스트를 이용하는 어플리케이션 수 또는 어플리케이션에서의 이용 빈도임-를 포함하되,
상기 변경 주기는 단위 시간 동안 콘텍스트가 수집된 횟수이고, 상기 변경 폭은 현재 시점에 수집된 콘텍스트와 이전 수집된 콘텍스트간의 변화이며,
상기 (c) 단계는,
단위 시간내에서의 상기 변경 주기가 변경 주기 기준치를 초과하는 경우, 상기 센서별 콘텍스트 수집 주기 중에서 상기 변경 주기 기준치를 초과하는 상기 수집된 각 콘텍스트에 대응하는 콘텍스트 수집 주기를 증가하는 단계;
단위 시간내에서의 상기 변경 주기가 변경 주기 기준치를 이하이면, 상기 센서별 콘텍스트 수집 주기 중에서 상기 변경 주기 기준치를 초과하는 상기 수집된 각 콘텍스트에 대응하는 콘텍스트 수집 주기를 감소시키는 단계; 및
단위 시간내에서 상기 변경 폭이 변경폭 기준치를 초과하는 경우, 상기 수집된 각 콘텍스트에 대응하는 콘텍스트 수집 주기를 감소시키는 단계를 포함하는 것을 특징으로 하는 모바일 디바이스에서의 콘텍스트 수집 방법.
(a) activating each sensor according to a sensor-based context collection period to collect respective contexts;
(b) calculating a change period and a change width of each collected context when the collected context and the previously collected context do not match; And
(c) changing a context collection period corresponding to each of the collected contexts of the per-sensor context collection period using the calculated change period and the change width; And
(d) determining a storage unit to store the collected context according to the type of the collected context, the type being a number of applications using the context or a frequency of use in an application,
Wherein the change period is a number of times the context is collected during a unit time, the change width is a change between a context collected at the current time and a previously collected context,
The step (c)
Increasing a context collection period corresponding to each collected context exceeding the modification period reference value among the per-sensor context collection periods when the modification period within a unit time exceeds a modification period reference value;
Decreasing the context collection period corresponding to each collected context exceeding the modification period reference value among the per-sensor context collection periods if the modification period within the unit time is less than or equal to the modification period reference value; And
And reducing the context collection period corresponding to each of the collected contexts when the change width exceeds the change width reference value within a unit time.
삭제delete 제1 항에 있어서,
상기 변경 주기는 상기 콘텍스트가 이전 수집된 일시부터 상기 수집에 따른 일시까지의 경과시간인 더 포함하는 것을 특징으로 하는 모바일 디바이스에서의 콘텍스트 수집 방법.
The method according to claim 1,
Wherein the change period further comprises an elapsed time from a time at which the context was previously collected to a date at which the collection was performed.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 모바일 디바이스에서 콘텍스트 수집하는 장치에 있어서,
제1 저장부;
제2 저장부;
센서별 콘텍스트 수집 주기에 따라 각 센서를 활성화하여 각각의 콘텍스트를 수집하고, 상기 수집된 콘텍스트의 유형에 따라 상기 수집된 콘텍스트를 상기 제1 저장부 또는 상기 제2 저장부에 저장하는 수집 유닛-상기 유형은 상기 유형은 상기 콘텍스트를 이용하는 어플리케이션 수 또는 어플리케이션에서의 이용 빈도임;
상기 수집된 각 콘텍스트의 변경 주기와 변경 폭을 계산하는 계산 유닛; 및
상기 계산된 변경 주기와 변경 폭을 이용하여 상기 센서별 콘텍스트 수집 주기 중 상기 수집된 각 콘텍스트에 대응하는 콘텍스트 수집 주기를 변경하는 모니터링 유닛을 포함하되,
상기 수집 유닛은 상기 제1 저장부의 저장 용량이 초과하면 우선 순위를 고려하여 상기 제1 저장부에 저장된 콘텍스트를 제거하여 상기 제2 저장부에 누적 저장되되,
상기 변경 주기는 단위 시간 동안 콘텍스트가 수집된 횟수이고, 상기 변경 폭은 현재 시점에 수집된 콘텍스트와 이전 수집된 콘텍스트간의 변화이며,
상기 모니터링 유닛은,
단위 시간내에서의 상기 변경 주기가 변경 주기 기준치를 초과하는 경우, 상기 센서별 콘텍스트 수집 주기 중에서 상기 변경 주기 기준치를 초과하는 상기 수집된 각 콘텍스트에 대응하는 콘텍스트 수집 주기를 증가시키고,
단위 시간내에서의 상기 변경 주기가 변경 주기 기준치를 이하이면, 상기 센서별 콘텍스트 수집 주기 중에서 상기 변경 주기 기준치를 초과하는 상기 수집된 각 콘텍스트에 대응하는 콘텍스트 수집 주기를 감소시키고,
단위 시간내에서 상기 변경 폭이 변경폭 기준치를 초과하는 경우, 상기 수집된 각 콘텍스트에 대응하는 콘텍스트 수집 주기를 감소시키는 것을 특징으로 하는 모바일 디바이스에서의 콘텍스트 수집 장치.
An apparatus for context collection at a mobile device,
A first storage unit;
A second storage unit;
A collection unit for activating each sensor according to a sensor-based context collection cycle to collect respective contexts and storing the collected contexts in the first storage unit or the second storage unit according to the type of the collected context; The type is the number of applications using the context or the frequency of use in the application;
A calculation unit for calculating a change period and a change width of each of the collected contexts; And
And a monitoring unit for changing the context collection period corresponding to each of the collected contexts of the per-sensor context collection period using the calculated change period and the change width,
Wherein the collecting unit removes the context stored in the first storage unit in consideration of the priority when the storage capacity of the first storage unit is exceeded, and accumulates the context in the second storage unit,
Wherein the change period is a number of times the context is collected during a unit time, the change width is a change between a context collected at the current time and a previously collected context,
The monitoring unit comprises:
When the change period within the unit time exceeds the change period reference value, increases the context collection period corresponding to each collected context exceeding the change period reference value among the per-sensor context collection periods,
The context collection period corresponding to each of the collected contexts exceeding the modification period reference value among the per-sensor context collection periods is decreased if the modification period within the unit time is less than or equal to the modification period reference value,
And decrements the context collection period corresponding to each collected context when the change width exceeds the change width reference value within a unit time.
KR1020140061472A 2014-05-22 2014-05-22 Method and apparatus for gathering contexts in mobile device KR101658698B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140061472A KR101658698B1 (en) 2014-05-22 2014-05-22 Method and apparatus for gathering contexts in mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140061472A KR101658698B1 (en) 2014-05-22 2014-05-22 Method and apparatus for gathering contexts in mobile device

Publications (2)

Publication Number Publication Date
KR20150134580A KR20150134580A (en) 2015-12-02
KR101658698B1 true KR101658698B1 (en) 2016-09-22

Family

ID=54883005

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140061472A KR101658698B1 (en) 2014-05-22 2014-05-22 Method and apparatus for gathering contexts in mobile device

Country Status (1)

Country Link
KR (1) KR101658698B1 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2589257A4 (en) * 2010-06-30 2014-01-15 Nokia Corp Methods and apparatuses for controlling invocation of a sensor

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
장 정 란 외 2명. "멀티 디바이스 환경에서 모바일 앱의 효율적인 데이터 동기화를 위한 아키텍처 택틱." 정보과학회논문지, 소프트웨어 및 응용 제39권 제11호, p.833-847, 2012.11.
한윤선 외 3명. "스마트폰 내장 센서를 이용한 배터리 효율적인 사용자 상황정보 수집 방법 연구." KNOM Review, Vol. 16, No. 1, 2013.07.

Also Published As

Publication number Publication date
KR20150134580A (en) 2015-12-02

Similar Documents

Publication Publication Date Title
US11182213B2 (en) Application program management method and device
US9569351B2 (en) Storing corresponding data units in a common storage unit
US20120072662A1 (en) Analyzing sub-lun granularity for dynamic storage tiering
JP2016507830A (en) Memory recovery method and apparatus
CN108874692A (en) Space memories spread defeated confidence mechanism
JP5471178B2 (en) Cache control device, cache control system, cache control method, and cache control program
CN106294206B (en) Cache data processing method and device
KR20200067962A (en) Method and apparatus for writing data into solid state disk
CN102981944B (en) A kind of log storing method based on file system
WO2017031837A1 (en) Disk capacity prediction method, device and apparatus
JP2014522537A (en) Use to manage data placement on flash-based storage
CN110968253B (en) Data storage method, device and system
WO2018113317A1 (en) Data migration method, apparatus, and system
JP2010520568A5 (en)
CN111125417B (en) Data searching method and device, electronic equipment and storage medium
CN107704507B (en) Database processing method and device
CN111145382A (en) Log data processing method and device of automatic driving system
JP2015103241A (en) Power consumption prediction device, method, and non-temporary computer readable storage medium
JPWO2016016944A1 (en) Database management system and database management method
JP2015001909A (en) Information processor, control circuit, control program, and control method
CN104991866B (en) The adjustment method and device of JS programs
JP6361199B2 (en) Information storage system
KR101658698B1 (en) Method and apparatus for gathering contexts in mobile device
CN108628678B (en) Method, device and equipment for determining memory parameters
US11514083B2 (en) Data processing system and data processing method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right
FPAY Annual fee payment

Payment date: 20190624

Year of fee payment: 4