KR20210123893A - Sensing data processing method and sensor hub using the same - Google Patents

Sensing data processing method and sensor hub using the same Download PDF

Info

Publication number
KR20210123893A
KR20210123893A KR1020200041691A KR20200041691A KR20210123893A KR 20210123893 A KR20210123893 A KR 20210123893A KR 1020200041691 A KR1020200041691 A KR 1020200041691A KR 20200041691 A KR20200041691 A KR 20200041691A KR 20210123893 A KR20210123893 A KR 20210123893A
Authority
KR
South Korea
Prior art keywords
sensing data
sensor
sensed data
data
buffer memory
Prior art date
Application number
KR1020200041691A
Other languages
Korean (ko)
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 KR1020200041691A priority Critical patent/KR20210123893A/en
Publication of KR20210123893A publication Critical patent/KR20210123893A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/29Flow control; Congestion control using a combination of thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/38Flow control; Congestion control by adapting coding or compression rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/58Changing or combining different scheduling modes, e.g. multimode scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed are a sensing data processing method of a sensor hub and a sensor hub using the same, which are capable of reducing power consumption. A sensing data processing method of a sensor hub includes the steps of: receiving sensing data generated according to a preset sampling rate from a sensor; comparing a first change amount between the previous sensed data and the current sensed data with a first threshold value; and storing the current sensed data in a buffer memory assigned to the sensor according to a comparison result, and adjusting a count value assigned to the previous sensed data.

Description

센서 허브의 센싱 데이터 처리 방법 및 이를 이용한 센서 허브{SENSING DATA PROCESSING METHOD AND SENSOR HUB USING THE SAME}Sensing data processing method of a sensor hub and a sensor hub using the same

본 발명은 센서 허브의 센싱 데이터 처리 방법 및 이를 이용한 센서 허브에 관한 것으로서, 더욱 상세하게는 전력 소비를 줄일 수 있는 센서 허브의 센싱 데이터 처리 방법 및 이를 이용한 센서 허브에 관한 것이다. The present invention relates to a sensing data processing method of a sensor hub and a sensor hub using the same, and more particularly, to a sensing data processing method of a sensor hub capable of reducing power consumption and a sensor hub using the same.

최근 사물인터넷(Internet of Things, IoT) 시대의 도래에 따라 IoT의 핵심 기술 중 하나인 센서 기술이 더욱 중요해지고 있다. 센서가 탑재된 모바일 및 IoT 기기는 대체로 무선환경에서 한정된 배터리 용량을 가지고 구동되는 반면, 배터리의 교체 없이 장시간 동작이 요구되는 환경이 많다. 이에 따라 센서를 탑재한 모바일 디바이스 및 IoT 기기에 있어서 저전력화는 필수적인 요소이다.Recently, with the advent of the Internet of Things (IoT) era, sensor technology, which is one of the core technologies of IoT, is becoming more important. While mobile and IoT devices equipped with sensors are generally driven with limited battery capacity in a wireless environment, there are many environments that require long-term operation without battery replacement. Accordingly, power saving is an essential element for mobile devices and IoT devices equipped with sensors.

센서 허브는 이러한 요구에 대응하여 개발되었다. 센서 허브란 센서데이터를 효율적으로 처리할 수 있는 센서 신호처리를 위한 전용 프로세서로, 기존의 구조에 비하여 낮은 전력을 소비하며 센서데이터를 처리할 수 있는 구조로 설계되었다. 최근에는 이러한 센서 허브 자체의 전력 소모를 줄이는 연구 또한 진행되고 있다.The sensor hub was developed in response to these needs. A sensor hub is a dedicated processor for sensor signal processing that can efficiently process sensor data, and is designed with a structure that can process sensor data while consuming less power compared to the existing structure. Recently, research on reducing the power consumption of the sensor hub itself is also being conducted.

센서 허브의 전력 소모를 줄이기 위한 방법으로, 버퍼 메모리를 이용하는 방법이 있다. 버퍼 메모리를 이용하는 센서 허브는, 센싱 데이터가 생성될 때마다 외부의 메인 프로세서로 센싱 데이터를 전송하지 않고, 소정 시간동안 센싱 데이터를 버퍼 메모리에 버퍼링한 후 전송함으로써, 센서 허브의 코어(core)가 깨어나는 시간을 줄여 전력 소비를 줄일 수 있다.As a method for reducing power consumption of the sensor hub, there is a method of using a buffer memory. The sensor hub using the buffer memory buffers the sensing data in the buffer memory for a predetermined time and then transmits the sensing data to the external main processor instead of transmitting the sensing data to an external main processor whenever sensing data is generated. Power consumption can be reduced by reducing the wake-up time.

관련 선행문헌으로 대한민국 공개특허 제2016-0050863호가 있다.As a related prior document, there is Republic of Korea Patent Publication No. 2016-0050863.

본 발명은 전력 소비를 줄일 수 있는 센서 허브의 센싱 데이터 처리 방법 및 이를 이용한 센서 허브를 제공하기 위한 것이다. An object of the present invention is to provide a method for processing sensing data of a sensor hub capable of reducing power consumption and a sensor hub using the same.

상기한 목적을 달성하기 위한 본 발명의 일 실시예에 따르면, 센서 허브의 센싱 데이터 처리 방법에 있어서, 기 설정된 샘플링 레이트에 따라 생성되는 센싱 데이터를 센서로부터 수신하는 단계; 이전 센싱 데이터와 현재 센싱 데이터의 제1변화량을 제1임계값과 비교하는 단계; 및 상기 비교 결과에 따라, 상기 센서에 할당된 버퍼 메모리에 상기 현재 센싱 데이터를 저장하고, 상기 이전 센싱 데이터에 할당된 카운트 값을 조절하는 단계를 포함하는 센싱 데이터 처리 방법이 제공된다. According to an embodiment of the present invention for achieving the above object, there is provided a sensing data processing method of a sensor hub, the method comprising: receiving sensing data generated according to a preset sampling rate from a sensor; comparing a first change amount between the previous sensed data and the current sensed data with a first threshold value; and storing the current sensed data in a buffer memory assigned to the sensor according to the comparison result, and adjusting a count value assigned to the previous sensed data.

또한 상기한 목적을 달성하기 위한 본 발명의 다른 실시예에 따르면, 센서 허브에 있어서, 버퍼 메모리; 기 설정된 샘플링 레이트에 따라 생성되는 센싱 데이터를 센서로부터 수신하고, 버퍼링된 센싱 데이터를 외부의 메인 프로세서로 전송하는 데이터 송수신부; 및 이전 센싱 데이터와 현재 센싱 데이터의 제1변화량과 제1임계값의 비교 결과에 따라서, 상기 버퍼 메모리에 상기 현재 센싱 데이터를 저장시키고, 상기 이전 센싱 데이터에 할당된 카운트 값을 조절하는 컨트롤러를 포함하는 센서 허브가 제공된다.In addition, according to another embodiment of the present invention for achieving the above object, in the sensor hub, a buffer memory; a data transceiver configured to receive sensing data generated according to a preset sampling rate from the sensor and transmit the buffered sensing data to an external main processor; and a controller configured to store the current sensed data in the buffer memory and adjust a count value assigned to the previous sensed data according to a comparison result of a first change amount between the previous sensed data and the current sensed data and a first threshold A sensor hub is provided.

본 발명에 따르면, 센싱 데이터의 변화량이 작은 경우 현재 센싱 데이터 저장하지 않고 이전 센싱 데이터를 현재 센싱 데이터로 대체함으로써, 버퍼 메모리에 저장되는 데이터 양이 줄어들어 한정된 버퍼 메모리에 대한 버퍼링 시간을 늘릴 수 있으며, 센서 허브의 코어가 깨어나는 횟수가 감소함에 따라서 센서 허브의 전력 소모가 줄어들 수 있다.According to the present invention, when the amount of change in the sensed data is small, the amount of data stored in the buffer memory is reduced by replacing the previous sensed data with the current sensed data without storing the current sensed data, thereby increasing the buffering time for the limited buffer memory, As the number of times that the core of the sensor hub is awakened decreases, power consumption of the sensor hub may be reduced.

도 1은 본 발명의 일실시예에 따른 센서 허브와 센서, 메인 프로세서의 관계를 도시하는 도면이다.
도 2는 본 발명의 일실시예에 따른 센서 허브의 센싱 데이터 처리 방법을 나타내는 흐름도이다.
도 3은 본 발명의 일실시예에 따른 센싱 데이터의 압축 예를 설명하기 위한 도면이다.
도 4는 본 발명에 따른 센싱 데이터 압축의 효과를 설명하기 위한 도면이다.
도 5는 본 발명의 다른 실시예에 따른 센서 허브의 센싱 데이터 처리 방법을 설명하기 위한 도면이다.
도 6은 본 발명의 일실시예에 따른 센서 허브의 블록도를 도시하는 도면이다.
도 7은 본 발명의 구체적 실시예에 따른 센서 허브를 설명하기 위한 도면이다.
도 8은 본 발명의 구체적 실시예에 따른 센서 허브의 센싱 데이터 처리 방법을 설명하기 위한 도면이다.
1 is a diagram illustrating a relationship between a sensor hub, a sensor, and a main processor according to an embodiment of the present invention.
2 is a flowchart illustrating a sensing data processing method of a sensor hub according to an embodiment of the present invention.
3 is a diagram for explaining an example of compression of sensing data according to an embodiment of the present invention.
4 is a view for explaining the effect of sensing data compression according to the present invention.
5 is a diagram for explaining a sensing data processing method of a sensor hub according to another embodiment of the present invention.
6 is a diagram illustrating a block diagram of a sensor hub according to an embodiment of the present invention.
7 is a view for explaining a sensor hub according to a specific embodiment of the present invention.
8 is a diagram for explaining a sensing data processing method of a sensor hub according to a specific embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다. Since the present invention can have various changes and can have various embodiments, specific embodiments are illustrated in the drawings and described in detail in the detailed description. However, this is not intended to limit the present invention to specific embodiments, and it should be understood to include all modifications, equivalents and substitutes included in the spirit and scope of the present invention. In describing each figure, like reference numerals have been used for like elements.

본 발명은, 센싱 데이터의 변화량에 따라 센싱 데이터를 압축하여 처리하는 방법을 제안한다. 이러한 본 발명은, 센싱 데이터의 변화량이 매우 작은 경우에 센싱 데이터에 기반한 모바일 디바이스나 IoT 기기의 처리 결과가 거의 일정하다는 점에 착안한 것이다.The present invention proposes a method for compressing and processing sensed data according to the amount of change in the sensed data. The present invention is based on the fact that, when the amount of change of the sensed data is very small, the processing result of the mobile device or the IoT device based on the sensed data is almost constant.

본 발명은 센싱 데이터를 압축함으로써, 한정된 버퍼 메모리에 대한 버퍼링 시간을 늘릴 수 있으며, 버퍼링 시간이 늘어남에 따라 센서 허브의 코어가 깨어나는 횟수가 줄어들 수 있다. 따라서 본 발명에 따르면, 모바일 디바이스나 IoT 기기에 대한 영향을 최소화하면서, 센서 허브의 전력 소모를 더욱 감소시킬 수 있다. In the present invention, by compressing the sensing data, the buffering time for the limited buffer memory can be increased, and as the buffering time increases, the number of times that the core of the sensor hub is woken up can be reduced. Therefore, according to the present invention, it is possible to further reduce the power consumption of the sensor hub while minimizing the influence on the mobile device or the IoT device.

이하에서, 본 발명에 따른 실시예들을 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일실시예에 따른 센서 허브와 센서, 메인 프로세서의 관계를 도시하는 도면이며, 도 2는 본 발명의 일실시예에 따른 센서 허브의 센싱 데이터 처리 방법을 나타내는 흐름도이다.1 is a diagram illustrating a relationship between a sensor hub, a sensor, and a main processor according to an embodiment of the present invention, and FIG. 2 is a flowchart illustrating a sensing data processing method of a sensor hub according to an embodiment of the present invention.

도 1을 참조하면, 본 발명에 따른 센서 허브(110)는 센서(120)의 동작 유무와 샘플링 레이트를 설정하며, 기 설정된 샘플링 레이트(sampling rate)에 따라 센싱 데이터를 생성하는 센서(120)로부터 센싱 데이터를 수신한다. 도 1에서는 하나의 센서만이 도시되어 있으나, 센서 허브(110)는 복수의 센서를 제어하고, 복수의 센서로부터 센싱 데이터를 수신할 수 있다.Referring to FIG. 1 , the sensor hub 110 according to the present invention sets whether the sensor 120 operates and a sampling rate, and generates sensing data according to a preset sampling rate. Receive sensing data. Although only one sensor is illustrated in FIG. 1 , the sensor hub 110 may control a plurality of sensors and receive sensing data from the plurality of sensors.

그리고 센서 허브(110)는 외부의 메인 프로세서(130)로 센싱 데이터를 전송한다. 외부의 메인 프로세서는 예를 들어, 센싱 데이터를 이용하여 특정 동작을 수행하는 모바일 디바이스이나 IoT 기기일 수 있다.In addition, the sensor hub 110 transmits sensing data to the external main processor 130 . The external main processor may be, for example, a mobile device or an IoT device that performs a specific operation using sensing data.

본 발명에 따른 센서 허브(110)는 외부의 메인 프로세서(130)로 센싱 데이터를 전송할 때, 센싱 데이터를 센서(120)로부터 수신할때마다 전송하지 않고, 버퍼 메모리에 센싱 데이터를 버퍼링한 후 전송한다. 즉, 버퍼 메모리에 센싱 데이터 일정량이 저장된 이후, 버퍼링된 센싱 데이터가 일괄적으로 메인 프로세서(130)로 전송된다.When the sensor hub 110 according to the present invention transmits the sensing data to the external main processor 130, it does not transmit the sensing data every time it receives the sensing data from the sensor 120, but after buffering the sensing data in the buffer memory. do. That is, after a certain amount of sensing data is stored in the buffer memory, the buffered sensing data is transmitted to the main processor 130 in a batch.

이 때, 센서 허브(110)는 센싱 데이터의 변화량에 따라 센싱 데이터를 압축하여 버퍼링한 후, 메인 프로세서(130)로 센싱 데이터를 전송한다. 센서 허브(110)의 코어는, 버퍼 메모리의 가용 저장 공간이 제2임계값 이하인 경우, 예컨대 가용 저장 공간이 없는 경우, 깨어나(wake-up) 센싱 데이터의 전송을 제어한다.At this time, the sensor hub 110 compresses and buffers the sensed data according to the amount of change in the sensed data, and then transmits the sensed data to the main processor 130 . The core of the sensor hub 110 wakes up when the available storage space of the buffer memory is less than or equal to the second threshold, for example, when there is no available storage space, and controls the transmission of sensing data.

도 2를 참조하면, 본 발명에 따른 센서 허브(110)는 기 설정된 샘플링 레이트에 따라 생성되는 센싱 데이터를 센서(120)로부터 수신(S210)하고, 이전 센싱 데이터와 현재 센싱 데이터의 변화량을 제1임계값과 비교(S220)한다. 그리고 단계 S220의 비교 결과에 따라, 센서(120)에 할당된 버퍼 메모리에 현재 센싱 데이터를 저장하고, 이전 센싱 데이터에 할당된 카운트 값을 조절(S230)한다.Referring to FIG. 2 , the sensor hub 110 according to the present invention receives sensing data generated according to a preset sampling rate from the sensor 120 ( S210 ), and determines the amount of change between the previous sensed data and the current sensed data in the first It compares with a threshold value (S220). And, according to the comparison result of step S220, the current sensed data is stored in the buffer memory assigned to the sensor 120, and the count value assigned to the previous sensed data is adjusted (S230).

일실시예로서, 센서 허브(110)는 변화량이 제1임계값보다 작은 경우, 현재 센싱 데이터를 버퍼 메모리에 저장하지 않고, 카운트 값을 증가시킨다. 그리고 변화량이 제1임계값 이상인 경우, 현재 센싱 데이터를 버퍼 메모리에 저장한다. 현재 센싱 데이터가 버퍼 메모리에 저장될 경우, 카운트 값은 증가되지 않고 유지된다.As an embodiment, when the change amount is smaller than the first threshold value, the sensor hub 110 does not store the current sensing data in the buffer memory and increases the count value. In addition, when the amount of change is equal to or greater than the first threshold, the current sensing data is stored in the buffer memory. When the current sensing data is stored in the buffer memory, the count value is maintained without being increased.

다시 설명하면, 이전 센싱 데이터와 현재 센싱 데이터의 변화량이 작을 경우, 센서 허브(110)는 현재 센싱 데이터를 이전 센싱 데이터로 대체하고, 카운트 값을 이용하여 대체된 횟수를 기록한다.In other words, when the amount of change between the previous sensed data and the current sensed data is small, the sensor hub 110 replaces the current sensed data with the previous sensed data, and records the number of substitutions using the count value.

센싱 데이터는 샘플링 주기에 따라 생성되고, 센서가 복수개일 경우 동일한 시점에 생성된 센싱 데이터에 따라 모바일 디바이스 등이 특정 동작을 수행해야 하므로, 현재 센싱 데이터가 이전 센싱 데이터로 대체된 경우, 몇 개의 현재 센싱 데이터가 이전 센싱 데이터로 대체되었는지에 대한 정보가 필요한데, 카운트 값이 이러한 정보를 제공한다. 다시 말해, 카운트 값은 현재 센싱 데이터가 이전 센싱 데이터로 대체된 횟수를 나타낸다.Sensing data is generated according to the sampling period, and when there are a plurality of sensors, a mobile device, etc. must perform a specific operation according to the sensed data generated at the same time. Information on whether the sensed data has been replaced with the previous sensed data is required, and the count value provides this information. In other words, the count value indicates the number of times the current sensed data is replaced with the previous sensed data.

본 발명에 따르면, 센싱 데이터의 변화량이 작은 경우 현재 센싱 데이터 저장하지 않고 이전 센싱 데이터를 현재 센싱 데이터로 대체함으로써, 버퍼 메모리에 저장되는 데이터 양이 줄어들어 한정된 버퍼 메모리에 대한 버퍼링 시간을 늘릴 수 있으며, 센서 허브의 코어가 깨어나는 횟수가 감소함에 따라서 센서 허브의 전력 소모가 줄어들 수 있다.According to the present invention, when the amount of change in the sensed data is small, the amount of data stored in the buffer memory is reduced by replacing the previous sensed data with the current sensed data without storing the current sensed data, thereby increasing the buffering time for the limited buffer memory, As the number of times that the core of the sensor hub is awakened decreases, power consumption of the sensor hub may be reduced.

한편, 전술된 바와 같이, 센서 허브(110)는 버퍼 메모리의 가용 저장 공간이 제2임계값 이하일 경우 버퍼링된 센싱 데이터를 메인 프로세서(130)로 전송하는데, 센싱 데이터의 변화량이 제1임계값 이하인 상황이 상당 기간 지속될 경우 센싱 데이터가 메인 프로세서(130)로 전송되지 못하거나 센싱 데이터의 처리 시점이 지연될 수 있다. 따라서 본 발명에 따른 센서 허브(120)는 이러한 상황을 방지하기 위해, 버퍼링 시간이 기 설정된 최대 한계시간을 초과하는 경우에는, 버퍼 메모리의 가용 저장 공간이 제2임계값 이하가 아니라도, 버퍼 메모리에 저장된 센싱 데이터를 외부의 메인 프로세서(130)로 전송할 수 있다.Meanwhile, as described above, the sensor hub 110 transmits the buffered sensing data to the main processor 130 when the available storage space of the buffer memory is less than or equal to the second threshold, and the amount of change in the sensing data is less than or equal to the first threshold. If the situation continues for a considerable period of time, the sensed data may not be transmitted to the main processor 130 or the processing time of the sensed data may be delayed. Therefore, in order to prevent this situation, the sensor hub 120 according to the present invention provides a buffer memory, even if the available storage space of the buffer memory is not less than or equal to the second threshold, when the buffering time exceeds the preset maximum limit time. It is possible to transmit the sensing data stored in the external main processor 130 .

도 3은 본 발명의 일실시예에 따른 센싱 데이터의 압축 예를 설명하기 위한 도면으로서, 도 3에서는 3축 가속도 센서의 센싱 데이터의 압축 예가 일실시예로서, 설명된다.FIG. 3 is a diagram for explaining an example of compression of sensed data according to an embodiment of the present invention. In FIG. 3, an example of compression of sensing data of a 3-axis acceleration sensor is described as an example.

도 3(a)와 같이 3축 별로 센싱 데이터가 생성되어 센서 허브로 입력된 경우, 도 3(b)와 같이 센싱 데이터가 압축될 수 있다.As shown in FIG. 3( a ), when sensing data for each three axes is generated and input to the sensor hub, the sensing data may be compressed as shown in FIG. 3( b ).

도 3(a)에서 제1구간(310)에서 샘플링된 센싱 데이터의 변화량은 제1임계값인 0.5m/s2 이하이므로, 이전 센싱 데이터(330)인 0.1, 0.2, 9.7만 버퍼 메모리에 저장되고, 이후 3개의 센싱 데이터들은 버퍼 메모리에 저장되지 않는다. 대신 센서 허브는 이전 센싱 데이터(330)에 할당된 카운트 값을 0에서, 대체된 센싱 데이터의 개수만큼 3으로 증가시킨다. 3축의 센싱 데이터 중 어느 하나 축의 센싱 데이터의 변화량이 제1임계값을 초과할 경우, 3축 모두의 센싱 데이터는 버퍼 메모리에 저장된다. In FIG. 3( a ), since the amount of change of the sensed data sampled in the first section 310 is less than or equal to the first threshold value of 0.5 m/s 2 , only 0.1, 0.2, and 9.7, which are the previous sensed data 330 , are stored in the buffer memory. After that, the three sensed data are not stored in the buffer memory. Instead, the sensor hub increases the count value assigned to the previous sensing data 330 from 0 to 3 by the number of replaced sensing data. When the amount of change in the sensing data of any one axis among the sensing data of the three axes exceeds the first threshold value, the sensing data of all three axes is stored in the buffer memory.

마찬가지로 제2구간(320)에서 샘플링된 센싱 데이터의 변화량은 제1임계값 이하이므로, 이전 센싱 데이터(340)인 2.2, 6.2, 1.3만 버퍼 메모리에 저장되고 이후 1개의 센싱 데이터는 버퍼 메모리에 저장되지 않는다. 대신 센서 허브는 이전 센싱 데이터(340)에 할당된 카운트 값을 0에서, 대체된 센싱 데이터의 개수만큼 1로 증가시킨다.Similarly, since the amount of change in the sensed data sampled in the second section 320 is less than or equal to the first threshold, only 2.2, 6.2, and 1.3, which are the previous sensed data 340, are stored in the buffer memory, and one sensed data thereafter is stored in the buffer memory. doesn't happen Instead, the sensor hub increases the count value assigned to the previous sensing data 340 from 0 to 1 by the number of replaced sensing data.

따라서, 센싱 데이터의 축별 크기가 2Byte일 때 센서 허브로 입력된 10개의 센싱 데이터의 크기는 60Byte이지만, 압축된 센싱 데이터의 크기는 카운트 값이 추가됨에도 불구하고 실제로 저장되는 센싱 데이터가 6개이므로 48Byte로 줄어들 수 있다.Therefore, when the size of each axis of the sensing data is 2 bytes, the size of 10 sensing data input to the sensor hub is 60 bytes, but the size of the compressed sensing data is 48 bytes because 6 pieces of sensing data are actually stored despite the added count value. can be reduced to

도 4는 본 발명에 따른 센싱 데이터 압축의 효과를 설명하기 위한 도면이다. 4 is a view for explaining the effect of sensing data compression according to the present invention.

도 4(a)는 압축이 수행되지 않는 경우와, 제1임계값을 변화시키면서 본 발명에 따른 압축을 수행한 경우에서 센서 허브의 코어가 깨어난 횟수(막대 그래프)와 메인 프로세서로 센싱 데이터를 전송한 양(꺽은선 그래프)을 나타낸다. 4(a) shows the number of times the core of the sensor hub wakes up (bar graph) and the sensing data to the main processor in the case where compression is not performed and when the compression according to the present invention is performed while changing the first threshold. Shows the amount transferred (line graph).

도 4(b)는 압축이 수행되지 않는 경우와, 제1임계값을 변화시키면서 본 발명에 따른 압축을 수행한 경우에서 모바일 디바이스의 모션 감지 결과의 차이를 나타낸다.FIG. 4( b ) shows a difference in motion detection results of a mobile device between a case in which compression is not performed and a case in which compression according to the present invention is performed while changing the first threshold.

도 4(a)에 도시된 바와 같이, 본 발명에 따라서 센싱 데이터 압축을 수행할 경우, 센서 허브 코어가 깨어난 횟수가 줄어들며 따라서 전력 소모 역시 줄어들 수 있다. 또한 도 4(b)에 도시된 바와 같이, 제1임계값이 2m/s2이하인 경우에는 센싱 데이터를 압축하지 않는 경우와 비교하여 모션 감지 결과의 오류가 발생하지 않음을 확인할 수 있다. As shown in FIG. 4( a ), when sensing data compression is performed according to the present invention, the number of times the sensor hub core is awakened is reduced, and thus power consumption can also be reduced. In addition, as shown in FIG. 4(b) , when the first threshold value is 2 m/s 2 or less, it can be confirmed that an error in the motion detection result does not occur compared to the case where the sensing data is not compressed.

결국, 본 발명에 따르면, 제1임계값을 조절하여 센서 허브의 전력 소모를 줄이면서도 센싱 데이터를 이용하는 디바이스의 정확도를 유지할 수 있다.As a result, according to the present invention, it is possible to reduce power consumption of the sensor hub by adjusting the first threshold while maintaining the accuracy of the device using the sensing data.

일실시예로서, 제1임계값은 센싱 데이터의 처리 결과가 정확해야 하는 상황에서 작아질 수 있으며, 그 반대의 경우에는 증가할 수 있다. 그리고 센싱 데이터의 처리 결과가 정확해야 하는 상황에서는 센서의 샘플링 레이트 역시 높아질 필요가 있으므로, 제1임계값은 센서의 샘플링 레이트에 따라 결정될 수 있다. 즉, 제1임계값은 샘플링 레이트가 증가할수록 작아질 수 있다.As an embodiment, the first threshold value may be decreased in a situation in which a processing result of sensing data must be accurate, and vice versa. In addition, since the sampling rate of the sensor also needs to be increased in a situation where the processing result of the sensing data needs to be accurate, the first threshold value may be determined according to the sampling rate of the sensor. That is, the first threshold value may decrease as the sampling rate increases.

도 5는 본 발명의 다른 실시예에 따른 센서 허브의 센싱 데이터 처리 방법을 설명하기 위한 도면이다.5 is a view for explaining a sensing data processing method of a sensor hub according to another embodiment of the present invention.

본 발명에 따른 센서 허브는 기 설정된 시간동안 센싱 데이터의 변화량의 크기가 임계 범위 내에 존재하는 경우, 일반 모드에서 저전력 모드로 진입하여, 센서 허브의 전력 소모를 더욱 감소시킬 수 있다. 즉, 센싱 데이터의 크기의 변화폭이 적다는 것은 센서가 존재하는 환경의 변화가 적다는 의미이고, 이 경우 센싱 데이터에 따른 특정 처리 결과 역시 일정한 상태를 유지할 가능성이 높다. The sensor hub according to the present invention enters the low power mode from the normal mode when the amount of change in the sensed data for a preset time is within a threshold range, thereby further reducing power consumption of the sensor hub. That is, the small change in the size of the sensed data means that the change in the environment in which the sensor is present is small.

따라서, 본 발명에 따른 센서 허브는 이러한 경우 저전력 모드로 진입하여 전력 소비를 줄이며, 일실시예로서, 저전력 모드에서는 센서의 샘플링 레이트가 감소되거나 또는 센싱 데이터를 제공하는 센서들 중 적어도 하나의 센서가 비활성화될 수 있다.Accordingly, in this case, the sensor hub according to the present invention enters a low power mode to reduce power consumption, and as an embodiment, in the low power mode, the sampling rate of the sensor is reduced or at least one sensor among the sensors providing sensing data is can be deactivated.

전술된 센싱 데이터 압축 방법에서는 이전 샘플링 시점과 현재 샘플링 시점 사이에서 센싱 데이터의 변화량이 판단되는데 반해, 도 5에서는 센싱 데이터 압축 방법에서 이용되는 판단구간 보다 긴 구간에서, 센싱 데이터의 변화량의 크기가 임계 범위 내에 존재하는지 여부가 판단된다. In the above-described sensing data compression method, the amount of change of the sensed data is determined between the previous sampling time and the current sampling time, whereas in FIG. 5 , in a section longer than the determination section used in the sensing data compression method, the amount of change in the sensed data is critical. It is determined whether or not it exists within the range.

본 발명에 따른 센서 허브는 기 설정된 시간동안의 센싱 데이터의 크기 변화에 따라 저전력 모드를 복수개로 설정할 수 있다. 일예로서, 센서 허브는 기 설정된 시간동안 센싱 데이터의 변화량의 크기가 제1임계 범위(510) 내에 존재하는 경우, 샘플링 레이트를 감소시키는 제1저전력 모드로 진입한다. 그리고 기 설정된 시간동안 센싱 데이터의 변화량의 크기가 제2임계 범위(520) 내에 존재하는 경우, 센싱 데이터를 제공하는 센서들 중 적어도 하나의 센서를 비활성화시키는 제2저전력 모드로 진입한다. 샘플링 레이트를 감소시키는 경우보다 센서를 비활성화시키는 경우 전력 소비량이 적으므로, 제2임계 범위(520)는 제1임계 범위(510)보다 폭이 작은 범위로 설정될 수 있다.The sensor hub according to the present invention may set a plurality of low-power modes according to a change in the size of the sensed data for a preset time. As an example, when the magnitude of the change amount of the sensing data for a preset time is within the first threshold range 510 , the sensor hub enters the first low power mode for reducing the sampling rate. In addition, when the amount of change in the sensing data for a preset time is within the second threshold range 520 , the second low power mode is entered in which at least one of the sensors providing the sensing data is deactivated. Since power consumption is less when the sensor is deactivated than when the sampling rate is reduced, the second threshold range 520 may be set to have a smaller width than the first threshold range 510 .

이 때, 비활성화되는 센서는 일실시예에 따라서 전력 소모가 높은 순서대로 결정될 수 있으며, 센싱 데이터를 이용하는 어플리케이션에서 보다 우선적으로 이용되는 센싱 데이터를 제공하는 센서의 경우, 비활성화되는 우선순위가 낮아질 수 있다. 예를 들어, 센서 허브가 가속도 센서 및 자이로스코프 센서로부터 센싱 데이터를 제공받고, 어플리케이션에서 가속도 센서 데이터의 우선 순위가 높다면, 자이로스코프 센서가 우선적으로 비활성화되고 이후 가속도 센서가 비활성화될 수 있다. At this time, the deactivated sensors may be determined in the order of high power consumption according to an embodiment, and in the case of a sensor that provides sensing data that is more preferentially used in an application using sensing data, the deactivated priority may be lowered. . For example, if the sensor hub receives sensing data from the accelerometer and the gyroscope sensor, and the accelerometer data has a high priority in the application, the gyroscope sensor may be deactivated first and then the accelerometer sensor may be deactivated.

본 발명에 따른 센서 허브는 카운터를 이용하여 센싱 데이터가 수집될 때마다 카운트 값을 증가시키면서, 센싱 데이터의 변화량의 크기가 임계 범위 내에 존재하는 시간이 기 설정된 시간과 대응되는지 여부를 판단할 수 있다. 그리고 저전력 모드 진입을 위한 카운트 값은 버퍼 메모리에 저장될 수 있으며, 센싱 데이터의 변화량의 크기가 임계 범위 내에 존재하는 동안의 카운트 값이 임계 카운트 값을 초과하는 경우 저전력 모드로 진입할 수 있다.The sensor hub according to the present invention may determine whether a time during which the amount of change in the sensed data exists within a threshold range corresponds to a preset time while increasing a count value each time sensing data is collected using a counter. . In addition, the count value for entering the low power mode may be stored in the buffer memory, and when the count value while the amount of change of the sensed data is within the threshold range exceeds the threshold count value, the low power mode may be entered.

도 6은 본 발명의 일실시예에 따른 센서 허브의 블록도를 도시하는 도면이다.6 is a diagram illustrating a block diagram of a sensor hub according to an embodiment of the present invention.

도 6을 참조하면, 본 발명에 따른 센서 허브(110)는 코어(610) 및 센서 인터페이스 제어 장치(620, Sensor Interface Controller)를 포함한다. 코어(610)는 센서 허브(110)를 전체적으로 제어하며, 센서 인터페이스 제어 장치(620)는 센서로부터 전송된 센싱 데이터를 압축하여 버퍼링한다.Referring to FIG. 6 , the sensor hub 110 according to the present invention includes a core 610 and a sensor interface controller 620 (Sensor Interface Controller). The core 610 controls the sensor hub 110 as a whole, and the sensor interface control device 620 compresses and buffers the sensed data transmitted from the sensor.

보다 구체적으로 본 발명에 따른 센서 인터페이스 제어 장치(620)는 버퍼 메모리(621), 데이터 송수신부(623) 및 컨트롤러(625)를 포함한다.More specifically, the sensor interface control apparatus 620 according to the present invention includes a buffer memory 621 , a data transceiver 623 , and a controller 625 .

버퍼 메모리(621)는 센싱 데이터를 버퍼링한다.The buffer memory 621 buffers sensing data.

데이터 송수신부(623)는 센서로부터 센싱 데이터를 수신하고, 버퍼링된 센싱 데이터를 외부의 메인 프로세서로 전송한다. 즉, 센싱 데이터는 센서 허브(110)로 수신될 때마다 메인 프로세서로 전송되지 않으며, 버퍼 메모리(621)에 일정량이 저장된 이후 일괄적으로 메인 프로세서로 전송된다. 버퍼링된 센싱 데이터는 센서 허브(110)의 별도 인터페이스를 경유하여 메인 프로세서로 전송될 수 있다. The data transceiver 623 receives sensing data from the sensor and transmits the buffered sensing data to an external main processor. That is, the sensed data is not transmitted to the main processor every time it is received by the sensor hub 110 , but is transmitted to the main processor at once after a certain amount is stored in the buffer memory 621 . The buffered sensing data may be transmitted to the main processor via a separate interface of the sensor hub 110 .

컨트롤러(625)는 센싱 데이터의 변화량을 모니터링하며, 센싱 데이터의 압축을 제어한다. 구체적으로 컨트롤러(625)는 이전 센싱 데이터와 현재 센싱 데이터의 변화량과 제1임계값을 비교하고, 비교 결과에 따라서, 버퍼 메모리(621)에 현재 센싱 데이터를 저장시킨다. 그리고 이전 센싱 데이터에 할당된 카운트 값을 조절한다.The controller 625 monitors the amount of change in the sensed data and controls compression of the sensed data. Specifically, the controller 625 compares the amount of change of the previous sensed data and the current sensed data with the first threshold, and stores the current sensed data in the buffer memory 621 according to the comparison result. Then, the count value assigned to the previous sensed data is adjusted.

일실시예로서, 컨트롤러(625)는 센싱 데이터의 변화량이 제1임계값보다 작은 경우, 현재 센싱 데이터를 버퍼 메모리(621)에 저장하지 않고, 카운트 값을 증가시키며, 변화량이 제1임계값 이상인 경우, 현재 센싱 데이터를 버퍼 메모리(621)에 저장하고, 카운트 값을 유지한다. 즉, 카운트 값을 증가시키지 않는다.As an example, when the amount of change in the sensed data is smaller than the first threshold value, the controller 625 does not store the current sensed data in the buffer memory 621 and increases the count value, and the change amount is equal to or greater than the first threshold value. In this case, the current sensing data is stored in the buffer memory 621 and the count value is maintained. That is, the count value is not incremented.

컨트롤러(625)는 버퍼 메모리(621)의 가용 저장 공간이 제2임계값 이하이거나 또는 버퍼링 시간이 최대 한계시간을 초과하는 경우, 버퍼 메모리에 저장된 센싱 데이터가 외부의 메인 프로세서로 전송되도록 제어한다.When the available storage space of the buffer memory 621 is less than or equal to the second threshold or the buffering time exceeds the maximum limit, the controller 625 controls the sensing data stored in the buffer memory to be transmitted to an external main processor.

또한 컨트롤러(625)는 기 설정된 시간동안 센싱 데이터의 변화량의 크기가 임계 범위 내에 존재하는 경우, 저전력 모드를 활성화시킨다. 컨트롤러(625)는 센싱 데이터의 변화량의 크기가 제1임계 범위 내에 존재하는 경우, 샘플링 레이트를 감소시키는 제1저전력 모드를 활성화시키고, 센싱 데이터의 변화량의 크기가 제2임계 범위 내에 존재하는 경우, 센싱 데이터를 제공하는 센서들 중 적어도 하나의 센서를 비활성화시키는 제2저전력 모드를 활성화시킨다. 제2임계 범위는 제1임계 범위보다 폭이 작은 범위이다.Also, the controller 625 activates the low power mode when the amount of change in the sensed data for a preset time is within a threshold range. The controller 625 activates the first low power mode for reducing the sampling rate when the magnitude of the change amount of the sensed data is within the first threshold range, and when the magnitude of the change amount of the sensed data is within the second threshold range, A second low power mode for deactivating at least one sensor among sensors providing sensing data is activated. The second threshold range is a range smaller in width than the first threshold range.

한편, 컨트롤러(625)는 전체 버퍼 메모리를 나누어 센서 별로 할당할 수 있는데, 이때 센서의 샘플링 레이트에 따라, 전체 버퍼 메모리 중 센서에 할당할 버퍼 메모리를 결정할 수 있다. 샘플링 레이트가 높을수록 생성되는 센싱 데이터의 양이 증가하므로, 컨트롤러(625)는 샘플링 레이트가 높은 센서 순서로 버퍼 메모리의 용량을 크게 할당한다.Meanwhile, the controller 625 may divide the entire buffer memory and allocate it to each sensor. In this case, according to the sampling rate of the sensor, the controller 625 may determine a buffer memory to be allocated to the sensor among all the buffer memories. Since the amount of generated sensing data increases as the sampling rate increases, the controller 625 allocates a large capacity of the buffer memory in the order of the sensors having the higher sampling rate.

도 7은 본 발명의 구체적 실시예에 따른 센서 허브를 설명하기 위한 도면이다.7 is a view for explaining a sensor hub according to a specific embodiment of the present invention.

도 7을 참조하면, 본 발명에 따른 센서 허브는 코어(710), 메모리(720), 인터페이스(730) 및 센서 인터페이스 제어 장치(740)를 포함한다. 그리고 센서 인터페이스 제어 장치(740)는 컨트롤러(741), 메모리 컨트롤러(742), 인터페이스(743), 버퍼 메모리(744), 타이머(745) 및 인터럽트(746)를 포함한다.Referring to FIG. 7 , the sensor hub according to the present invention includes a core 710 , a memory 720 , an interface 730 , and a sensor interface control device 740 . In addition, the sensor interface control device 740 includes a controller 741 , a memory controller 742 , an interface 743 , a buffer memory 744 , a timer 745 , and an interrupt 746 .

컨트롤러(741)는 코어로부터 동작 명세를 수신하고, 수신된 동작 명세를 내부 레지스터에 반영한다. 컨트롤러(741)는 활성화시킬 센서 리스트, 센서 별 샘플링 레이트, 데이터 압축을 위한 제1임계값, 저전력 모드 진입을 위한 임계 범위 및 임계 카운트 값, 센싱 데이터 전송을 위한 최대 한계 시간을 레지스터에 저장한다. 그리고 센싱 데이터의 압축 및 저전력 모드의 진입 등을 제어한다.The controller 741 receives the operation specification from the core, and reflects the received operation specification in an internal register. The controller 741 stores a list of sensors to be activated, a sampling rate for each sensor, a first threshold value for data compression, a threshold range and threshold count value for entering a low power mode, and a maximum limit time for sensing data transmission in a register. In addition, it controls compression of sensed data and entry into a low-power mode.

메모리 컨트롤러(742)는 샘플링 레이트에 따라서 센서 별로 버퍼 메모리를 할당한다.The memory controller 742 allocates a buffer memory for each sensor according to the sampling rate.

인터럽트(746)는 타이머(745)의 시간을 이용하여 버퍼링 시간이 최대 임계시간을 초과하는지 판단하고, 초과하는 경우 인터럽스 신호를 발생하여 코어(710)를 깨운다.The interrupt 746 uses the time of the timer 745 to determine whether the buffering time exceeds the maximum threshold time, and when it exceeds the maximum threshold time, an interrupt signal is generated to wake up the core 710 .

인터페이스(743)는 센서의 센싱 데이터를 수신하고, 인터페이스(730)로 버퍼 메모리(744)에 저장된 센싱 데이터를 전송한다.The interface 743 receives the sensing data of the sensor, and transmits the sensing data stored in the buffer memory 744 to the interface 730 .

도 8은 본 발명의 구체적 실시예에 따른 센서 허브의 센싱 데이터 처리 방법을 설명하기 위한 도면이다.8 is a diagram for explaining a sensing data processing method of a sensor hub according to a specific embodiment of the present invention.

본 발명에 따른 센서 허브는 센서의 샘플링 레이트에 따라 센서 별로 버퍼 메모리를 할당(S801)한다. 그리고 센서로부터 센싱 데이터를 수집(S802)한다.The sensor hub according to the present invention allocates a buffer memory for each sensor according to the sampling rate of the sensor (S801). Then, sensing data is collected from the sensor (S802).

이전 센싱 데이터와 현재 센싱 데이터의 변화량이 제1임계값보다 크다고 판단(S803)되면, 센서 허브는 현재 센싱 데이터를 버퍼 메모리에 저장(S804)한다. 변화량이 제1임계값보다 작다고 판단(S803)되면, 현재 센싱 데이터를 버퍼 메모리에 저장하지 않고, 이전 센싱 데이터에 할당된 제1카운트 값을 증가(S805)시킨다.If it is determined that the amount of change between the previous sensed data and the current sensed data is greater than the first threshold (S803), the sensor hub stores the current sensed data in the buffer memory (S804). If it is determined that the change amount is smaller than the first threshold value (S803), the first count value allocated to the previous sensed data is increased (S805) without storing the current sensed data in the buffer memory.

이후, 센싱 데이터의 변화량의 크기가 기 설정된 시간동안 임계 범위보다 크다고 판단(S806)되면, 센서 허브는 현재 동작 모드가 일반 모드인지 판단(S807)한다. 일반 모드가 아닌 저전력 모드일 경우 일반 모드로 전환(S808)하고 일반 모드일 경우 일반 모드를 유지(S810)한다. 센싱 데이터의 변화량의 크기가 임계 범위보다 작다고 판단(S806)되면, 센서 허브는 제2카운트 값을 증가(S811)시키고 제2카운트 값과 임계 카운트 값을 비교(S812)한다. 제2카운트 값이 임계 카운트보다 작은 경우 센서 허브는 현재 동작 모드를 유지(S810)하고, 제2카운트 값이 임계 카운트보다 큰 경우에는 기 설정된 시간동안 센싱 데이터의 변화량의 크기가 임계 범위 내에 존재하므로, 저전력 모드로 전환(S813)한다.Thereafter, when it is determined that the amount of change in the sensed data is greater than the threshold range for a preset time (S806), the sensor hub determines whether the current operation mode is the normal mode (S807). In the case of the low power mode other than the normal mode, the mode is switched to the normal mode (S808), and in the normal mode, the normal mode is maintained (S810). If it is determined that the amount of change in the sensed data is smaller than the threshold range (S806), the sensor hub increments the second count value (S811) and compares the second count value with the threshold count value (S812). If the second count value is less than the threshold count, the sensor hub maintains the current operation mode (S810), and when the second count value is greater than the threshold count, the amount of change in the sensing data for a preset time is within the threshold range. , to the low power mode (S813).

이후, 센서 허브는 데이터 전송 조건을 만족하는지 판단(S814)하며, 버퍼 메모리가 가득 차거나 버퍼링 시간이 최대 한계시간을 초과한 경우 메인 프로세서로 센싱 데이터를 전송(S815)하고, 그렇지 않으면, 센싱 데이터를 수집(S802)한다.Thereafter, the sensor hub determines whether the data transmission condition is satisfied (S814), and if the buffer memory is full or the buffering time exceeds the maximum limit time, the sensor hub transmits the sensing data to the main processor (S815). Collect (S802).

이후, 센서 허브는 동작 모드의 변화를 판단(S816)하고, 동작 모드가 변화된 경우, 동작 모드 변화에 따른 샘플링 레이트에 따라 버퍼 메모리를 센서별로 할당(S801)하고, 그렇지 않은 경우 센싱 데이터를 수집(S802)한다.Thereafter, the sensor hub determines a change in the operation mode (S816), and when the operation mode is changed, allocates a buffer memory for each sensor according to the sampling rate according to the change in the operation mode (S801), otherwise collects the sensing data ( S802).

앞서 설명한 기술적 내용들은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예들을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 하드웨어 장치는 실시예들의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The technical contents described above may be implemented in the form of program instructions 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, etc. alone or in combination. The program instructions recorded on the medium may be specially designed and configured for the embodiments or may be known and available to those skilled in the art of computer software. Examples of the computer-readable recording medium include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic such as floppy disks. - includes magneto-optical media, and hardware devices specially configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like. A hardware device may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.

이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. 따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.As described above, the present invention has been described with specific matters such as specific components and limited embodiments and drawings, but these are provided to help a more general understanding of the present invention, and the present invention is not limited to the above embodiments. , various modifications and variations are possible from these descriptions by those of ordinary skill in the art to which the present invention pertains. Therefore, the spirit of the present invention should not be limited to the described embodiments, and not only the claims to be described later, but also all those with equivalent or equivalent modifications to the claims will be said to belong to the scope of the spirit of the present invention. .

Claims (2)

센서 허브의 센싱 데이터 처리 방법에 있어서,
기 설정된 샘플링 레이트에 따라 생성되는 센싱 데이터를 센서로부터 수신하는 단계;
이전 센싱 데이터와 현재 센싱 데이터의 제1변화량을 제1임계값과 비교하는 단계; 및
상기 비교 결과에 따라, 상기 센서에 할당된 버퍼 메모리에 상기 현재 센싱 데이터를 저장하고, 상기 이전 센싱 데이터에 할당된 카운트 값을 조절하는 단계를 포함하며,
상기 이전 센싱 데이터에 할당된 카운트 값을 조절하는 단계는
상기 제1변화량이 상기 제1임계값보다 작은 경우, 상기 현재 센싱 데이터를 상기 버퍼 메모리에 저장하지 않고,
상기 제1변화량이 상기 제1임계값 이상인 경우, 상기 현재 센싱 데이터를 상기 버퍼 메모리에 저장하는 센싱 데이터 처리 방법.
In the sensing data processing method of the sensor hub,
Receiving sensing data generated according to a preset sampling rate from a sensor;
comparing a first change amount between the previous sensed data and the current sensed data with a first threshold value; and
according to the comparison result, storing the current sensed data in a buffer memory assigned to the sensor, and adjusting a count value assigned to the previous sensed data,
The step of adjusting the count value assigned to the previous sensed data is
When the first change amount is less than the first threshold, the current sensing data is not stored in the buffer memory,
When the first change amount is equal to or greater than the first threshold value, the sensing data processing method of storing the current sensing data in the buffer memory.
버퍼 메모리;
기 설정된 샘플링 레이트에 따라 생성되는 센싱 데이터를 센서로부터 수신하고, 버퍼링된 센싱 데이터를 외부의 메인 프로세서로 전송하는 데이터 송수신부; 및
이전 센싱 데이터와 현재 센싱 데이터의 제1변화량과 제1임계값의 비교 결과에 따라서, 상기 버퍼 메모리에 상기 현재 센싱 데이터를 저장시키고, 상기 이전 센싱 데이터에 할당된 카운트 값을 조절하는 컨트롤러를 포함하며,
상기 컨트롤러는
상기 제1변화량이 상기 제1임계값보다 작은 경우, 상기 현재 센싱 데이터를 상기 버퍼 메모리에 저장하지 않고,
상기 제1변화량이 상기 제1임계값 이상인 경우, 상기 현재 센싱 데이터를 상기 버퍼 메모리에 저장하는 센서 허브.
buffer memory;
a data transceiver for receiving sensing data generated according to a preset sampling rate from the sensor and transmitting the buffered sensing data to an external main processor; and
A controller for storing the current sensed data in the buffer memory and adjusting a count value assigned to the previous sensed data according to a comparison result of the first change amount of the previous sensed data and the current sensed data and the first threshold, ,
the controller is
When the first change amount is less than the first threshold, the current sensing data is not stored in the buffer memory,
When the first change amount is equal to or greater than the first threshold value, the sensor hub stores the current sensed data in the buffer memory.
KR1020200041691A 2020-04-06 2020-04-06 Sensing data processing method and sensor hub using the same KR20210123893A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200041691A KR20210123893A (en) 2020-04-06 2020-04-06 Sensing data processing method and sensor hub using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200041691A KR20210123893A (en) 2020-04-06 2020-04-06 Sensing data processing method and sensor hub using the same

Publications (1)

Publication Number Publication Date
KR20210123893A true KR20210123893A (en) 2021-10-14

Family

ID=78116155

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200041691A KR20210123893A (en) 2020-04-06 2020-04-06 Sensing data processing method and sensor hub using the same

Country Status (1)

Country Link
KR (1) KR20210123893A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230141529A1 (en) * 2021-11-11 2023-05-11 Hill's Pet Nutrition, Inc. Systems and Methods for Determining Data Relating to an Animal Based on Prioritized Information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230141529A1 (en) * 2021-11-11 2023-05-11 Hill's Pet Nutrition, Inc. Systems and Methods for Determining Data Relating to an Animal Based on Prioritized Information

Similar Documents

Publication Publication Date Title
US10546648B2 (en) Storage control system with data management mechanism and method of operation thereof
US20220334948A1 (en) Methods and apparatus to improve performance data collection of a high performance computing application
US20150253841A1 (en) Storage Device Power Management
US9063844B2 (en) Non-volatile memory management system with time measure mechanism and method of operation thereof
JP5235870B2 (en) Multiprocessor control device, control method thereof, and integrated circuit
KR102114388B1 (en) Method and apparatus for compressing memory of electronic device
US10558369B2 (en) Flash device lifetime monitor systems and methods
JP2014509765A (en) Mechanism for outsourcing context-aware application-related functions to the sensor hub
US10268486B1 (en) Expedited resume process from hibernation
US10175995B1 (en) Device hibernation control
KR102223414B1 (en) Sensor power management
US11693592B2 (en) Memory system
KR20210123893A (en) Sensing data processing method and sensor hub using the same
US9703496B2 (en) Information processing device, information processing method, and medium
JP2016224883A (en) Fault detection method, information processing apparatus, and fault detection program
CN111880724A (en) Memory management system and memory management method
US20120331235A1 (en) Memory management apparatus, memory management method, control program, and recording medium
KR101978558B1 (en) Sensing data processing method and sensor interface controller for sensor hub
US20170024345A1 (en) Mems recorder apparatus method and system
US20210109759A1 (en) Pipelined method to improve backup and restore performance
KR101772547B1 (en) Power consumption reduction in a computing device
US11288096B2 (en) System and method of balancing mixed workload performance
US20210109781A1 (en) System and method of dynamically allocating compression jobs
US10324752B2 (en) Response times based on application states
JP2016058122A (en) Information processing device and control method of information processing device

Legal Events

Date Code Title Description
WITB Written withdrawal of application