[go: up one dir, main page]

KR102190822B1 - Method for processing biological signals based on parallel processing and apparatus for the same - Google Patents

Method for processing biological signals based on parallel processing and apparatus for the same Download PDF

Info

Publication number
KR102190822B1
KR102190822B1 KR1020180057740A KR20180057740A KR102190822B1 KR 102190822 B1 KR102190822 B1 KR 102190822B1 KR 1020180057740 A KR1020180057740 A KR 1020180057740A KR 20180057740 A KR20180057740 A KR 20180057740A KR 102190822 B1 KR102190822 B1 KR 102190822B1
Authority
KR
South Korea
Prior art keywords
data
biosignal
sample size
analysis
new
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
KR1020180057740A
Other languages
Korean (ko)
Other versions
KR20180135800A (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 한국전자통신연구원
Publication of KR20180135800A publication Critical patent/KR20180135800A/en
Application granted granted Critical
Publication of KR102190822B1 publication Critical patent/KR102190822B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
    • A61B5/024Measuring pulse rate or heart rate
    • A61B5/02416Measuring pulse rate or heart rate using photoplethysmograph signals, e.g. generated by infrared radiation
    • A61B5/0402
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/318Heart-related electrical modalities, e.g. electrocardiography [ECG]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7225Details of analogue processing, e.g. isolation amplifier, gain or sensitivity adjustment, filtering, baseline or drift compensation

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Public Health (AREA)
  • Molecular Biology (AREA)
  • Veterinary Medicine (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Animal Behavior & Ethology (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Surgery (AREA)
  • Physiology (AREA)
  • Signal Processing (AREA)
  • Cardiology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Psychiatry (AREA)
  • Power Engineering (AREA)
  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
  • Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)

Abstract

병렬 처리 기반의 생체 신호 처리 방법과 그 장치가 개시된다. 여기서 병렬 처리 기반의 생체 신호 처리 방법은, 사용자의 생체 신호를 측정하여 제1 샘플 사이즈의 신규 생체 신호 데이터를 획득하는 단계, 상기 신규 생체 데이터 직전에 미리 측정된 제2 샘플 사이즈의 구 생체 신호 데이터를 데이터 버퍼로부터 획득하는 단계, 획득된 구 생체 신호 데이터와 상기 신규 생체 신호 데이터를 결합하여 분석 대상 데이터를 생성하는 단계, 상기 분석 대상 데이터에서 가장 최신의 상기 제2 샘플 사이즈의 생체 신호 데이터를 추출하여 상기 데이터 버퍼에 저장하는 단계 및 상기 분석 대상 데이터를 대상으로 생체 정보를 분석하고, 상기 분석과 병렬적으로 상기 신규 생체 신호 데이터를 획득하는 단계부터 재수행하는 단계를 포함할 수 있다.Disclosed are a method and apparatus for processing biosignals based on parallel processing. Here, the parallel processing-based biosignal processing method includes the steps of obtaining new biosignal data of a first sample size by measuring a biosignal of a user, and old biosignal data of a second sample size measured in advance immediately before the new biometric data. Obtaining from a data buffer, generating data to be analyzed by combining the obtained old biological signal data and the new biological signal data, extracting the most recent biological signal data of the second sample size from the data to be analyzed And storing the data in the data buffer, analyzing biometric information for the data to be analyzed, and re-performing from the step of acquiring the new biosignal data in parallel with the analysis.

Description

병렬 처리 기반의 생체 신호 처리 방법과 그 장치{METHOD FOR PROCESSING BIOLOGICAL SIGNALS BASED ON PARALLEL PROCESSING AND APPARATUS FOR THE SAME}Bio-signal processing method based on parallel processing and its device {METHOD FOR PROCESSING BIOLOGICAL SIGNALS BASED ON PARALLEL PROCESSING AND APPARATUS FOR THE SAME}

본 발명은 병렬 처리 기반의 생체 신호 처리 방법과 그 장치에 관한 것으로, 더욱 상세하게는 생체 신호의 수집과 분석을 병렬적으로 처리함으로써 생체 신호를 저장하는데 필요한 메모리를 최소화하고, 분석에 필요한 최적의 생체 신호 데이터를 확보하기 위한 기술에 관한 것이다.The present invention relates to a bio-signal processing method and apparatus thereof based on parallel processing, and more particularly, by processing bio-signal collection and analysis in parallel, the memory required for storing bio-signals is minimized, and optimal It relates to technology for securing biometric data.

최근 기술의 진화로 인하여 다양한 센서 기술을 활용한 실제 생활 기반의 신뢰 가능한 건강 예측 기술의 수요가 증가되고 있다. 특히 의료 환경에서 많이 활용하던 생체 신호 정보를 통하여 사용자 맞춤형 헬스케어 콘텐츠를 제공함으로써 서비스의 신뢰도를 강화하고 있다. 일반적으로 헬스케어 서비스를 위한 생체 신호로는 심전도 (ECG, Electrocardiogram)를 이용한 심박변이도 (HRV, Heart rate variability) 등이 있으며 이를 이용한 다양한 연구가 시도되고 있다. Due to the recent technological evolution, demand for reliable health prediction technology based on real life using various sensor technologies is increasing. In particular, the reliability of the service is reinforced by providing user-customized healthcare contents through bio-signal information that has been widely used in medical environments. In general, as a biological signal for healthcare services, there are heart rate variability (HRV) using an electrocardiogram (ECG), and various studies using this have been attempted.

종래에는 생체 신호를 활용하기 위해 생체 신호를 먼저 측정하고 난 후에, 측정된 생체 신호의 특징 추출 및 분석이 진행된다. 그러나, 이러한 경우 측정된 생체 신호를 누적하여 저장하기 위해서 많은 메모리 공간이 필요하며, 누적된 생체 신호 데이터가 부족한 경우 분석 장치의 성능에 따라 분석결과에 대한 신뢰도가 저하되거나 높은 성능의 분석 시스템을 구축해야 하는 문제가 있다.Conventionally, in order to utilize the biosignal, a biosignal is first measured, and then features extraction and analysis of the measured biosignal are performed. However, in this case, a lot of memory space is required to accumulate and store the measured biosignals, and if the accumulated biosignal data is insufficient, the reliability of the analysis result is lowered or a high-performance analysis system is built according to the performance of the analysis device There is a problem to be done.

또한 실 사용례에 따라서는 생체 신호의 측정이 완료될 때까지 생체 신호에 대한 특징 추출 및 분석을 수행할 수 없기 때문에, 오류 발생에 대한 예외(exception) 처리가 불가능하다. 따라서, 오류가 발생하면 생체 신호를 처음부터 다시 측정해야 하는 문제가 있다.In addition, depending on actual use cases, it is impossible to extract and analyze features of the bio-signal until the measurement of the bio-signal is completed, and thus it is impossible to process an exception for error occurrence. Therefore, when an error occurs, there is a problem that the biosignal must be measured again from the beginning.

대한민국 특허공개10-2018-0000936(출원인: 주식회사 닥터스킨코리아)Korean Patent Publication 10-2018-0000936 (Applicant: Dr. Skin Korea Co., Ltd.)

상기와 같은 문제점을 해결하기 위한 본 발명의 목적은, 병렬 처리 기반의 생체 신호 처리 방법을 제공하는 데 있다.An object of the present invention for solving the above problems is to provide a biosignal processing method based on parallel processing.

상기와 같은 문제점을 해결하기 위한 본 발명의 다른 목적은, 병렬 처리 기반의 생체 신호 처리 장치를 제공하는 데 있다. Another object of the present invention for solving the above problems is to provide a biosignal processing apparatus based on parallel processing.

상기와 같은 문제점을 해결하기 위한 본 발명의 다른 목적은, 병렬 처리를 위한 생체 신호 수집 방법을 제공하는 데 있다.Another object of the present invention for solving the above problems is to provide a method for collecting bio signals for parallel processing.

상기 목적을 달성하기 위한 본 발명의 일 측면은, 병렬 처리 기반의 생체 신호 처리 방법을 제공한다.An aspect of the present invention for achieving the above object is to provide a biosignal processing method based on parallel processing.

여기서 병렬 처리 기반의 생체 신호 처리 방법은, 사용자의 생체 신호를 측정하여 제1 샘플 사이즈의 신규 생체 신호 데이터를 획득하는 단계, 상기 신규 생체 데이터 직전에 미리 측정된 제2 샘플 사이즈의 구 생체 신호 데이터를 데이터 버퍼로부터 획득하는 단계, 획득된 구 생체 신호 데이터와 상기 신규 생체 신호 데이터를 결합하여 분석 대상 데이터를 생성하는 단계, 상기 분석 대상 데이터에서 가장 최신의 상기 제2 샘플 사이즈의 생체 신호 데이터를 추출하여 상기 데이터 버퍼에 저장하는 단계 및 상기 분석 대상 데이터를 대상으로 생체 정보를 분석하고, 상기 분석과 병렬적으로 상기 신규 생체 신호 데이터를 획득하는 단계부터 재수행하는 단계를 포함할 수 있다.Here, the parallel processing-based biosignal processing method includes the steps of obtaining new biosignal data of a first sample size by measuring a biosignal of a user, and old biosignal data of a second sample size measured in advance immediately before the new biometric data. Obtaining from a data buffer, generating data to be analyzed by combining the obtained old biological signal data and the new biological signal data, extracting the most recent biological signal data of the second sample size from the data to be analyzed And storing the data in the data buffer, analyzing biometric information for the data to be analyzed, and re-performing from the step of acquiring the new biosignal data in parallel with the analysis.

여기서, 상기 제1 샘플 사이즈는, 상기 제2 샘플 사이즈보다 작게 설정될 수 있다.Here, the first sample size may be set smaller than the second sample size.

여기서 상기 신규 생체 신호 데이터를 획득하는 단계는, 상기 사용자에게 부착된 웨어러블 디바이스(wearable device)로 생체 신호를 요청하는 리퀘스트(request) 메시지를 전송하는 단계 및 상기 웨어러블 디바이스로부터 상기 사용자의 생체 신호를 수신하는 단계를 포함할 수 있다.The obtaining of the new biosignal data includes transmitting a request message for requesting a biosignal to a wearable device attached to the user, and receiving the biosignal of the user from the wearable device. It may include the step of.

여기서 상기 사용자의 생체 신호는, 혈압, 체지방율, 산소포화도, 심박수, 맥박, 심전도(ECG, Electrocardiography), 광용적맥파(PPG, Photoplethysmography) 중 적어도 하나를 포함할 수 있다.Herein, the user's biosignal may include at least one of blood pressure, body fat percentage, oxygen saturation, heart rate, pulse, electrocardiography (ECG), and photoplethysmography (PPG).

여기서 상기 재수행하는 단계는, 재수행 도중에 오류(error)가 발생하면, 상기 오류에 대한 예외 처리(exception handling)를 수행하는 단계를 포함할 수 있다.Here, the re-performing may include performing an exception handling for the error when an error occurs during re-execution.

여기서 상기 예외 처리를 수행하는 단계는, 상기 분석 대상 데이터를 생성한 시점과 상기 분석이 완료된 시점 사이의 차이값에 기반하여 상기 데이터 버퍼의 크기를 재조정하는 단계를 포함할 수 있다.Here, the performing of the exception processing may include re-adjusting the size of the data buffer based on a difference value between a time point when the analysis target data is generated and a time point at which the analysis is completed.

여기서 상기 데이터 버퍼의 크기를 재조정하는 단계는, 상기 제1 샘플 사이즈와 상기 제2 샘플 사이즈의 크기에 기반하여 상기 데이터 버퍼의 크기를 재조정할 수 있다.In the step of re-adjusting the size of the data buffer, the size of the data buffer may be readjusted based on the size of the first sample size and the second sample size.

여기서 상기 데이터 버퍼의 크기를 재조정하는 단계는, 상기 분석 대상 데이터를 생성한 시점이 상기 분석이 완료된 시점보다 미리 설정된 임계값보다 더 빠른 경우, 상기 제1 샘플 사이즈를 현재 설정된 값보다 증가시키는 단계를 포함할 수 있다.Here, the step of re-adjusting the size of the data buffer may include increasing the first sample size than a currently set value when the time point at which the analysis target data is generated is earlier than a preset threshold value than the time point at which the analysis is completed. Can include.

여기서 상기 데이터 버퍼의 크기를 재조정하는 단계는, 상기 분석 대상 데이터를 생성한 시점이 상기 분석이 완료된 시점보다 미리 설정된 임계값보다 더 빠른 경우, 상기 제2 샘플 사이즈를 현재 설정된 값보다 감소시키는 단계를 포함할 수 있다.Here, the step of re-adjusting the size of the data buffer may include reducing the second sample size from a currently set value when the time point at which the analysis target data is generated is earlier than a preset threshold value than the time point at which the analysis is completed. Can include.

상기 목적을 달성하기 위한 본 발명의 다른 측면은 병렬 처리 기반의 생체 신호 처리 장치를 제공한다.Another aspect of the present invention for achieving the above object is to provide a biosignal processing apparatus based on parallel processing.

여기서 병렬 처리 기반의 생체 신호 처리 장치는, 적어도 하나의 프로세서(processor) 및 상기 적어도 하나의 프로세서가 적어도 하나의 단계를 수행하도록 지시하는 명령어들(instructions)을 저장하는 메모리(memory)를 포함할 수 있다.Here, the biosignal processing apparatus based on parallel processing may include at least one processor and a memory storing instructions instructing the at least one processor to perform at least one step. have.

여기서 상기 적어도 하나의 단계는, 사용자의 생체 신호를 측정하여 제1 샘플 사이즈의 신규 생체 신호 데이터를 획득하는 단계, 상기 신규 생체 데이터 직전에 미리 측정된 제2 샘플 사이즈의 구 생체 신호 데이터를 데이터 버퍼로부터 획득하는 단계, 획득된 구 생체 신호 데이터와 상기 신규 생체 신호 데이터를 결합하여 분석 대상 데이터를 생성하는 단계, 상기 분석 대상 데이터에서 가장 최신의 상기 제2 샘플 사이즈의 생체 신호 데이터를 추출하여 상기 데이터 버퍼에 저장하는 단계 및 상기 분석 대상 데이터를 대상으로 생체 정보를 분석하고, 상기 분석과 병렬적으로 상기 신규 생체 신호 데이터를 획득하는 단계부터 재수행하는 단계를 포함할 수 있다.Here, the at least one step may include obtaining new biosignal data of a first sample size by measuring a user's biosignal, and storing old biosignal data of a second sample size measured in advance immediately before the new biometric data into a data buffer. Obtaining from, combining the obtained old biosignal data and the new biosignal data to generate analysis target data, extracting the most recent biosignal data of the second sample size from the analysis target data It may include storing in a buffer and analyzing the biometric information for the data to be analyzed, and re-performing from the step of acquiring the new biosignal data in parallel with the analysis.

여기서, 상기 제1 샘플 사이즈는, 상기 제2 샘플 사이즈보다 작게 설정될 수 있다.Here, the first sample size may be set smaller than the second sample size.

여기서 상기 신규 생체 신호 데이터를 획득하는 단계는, 상기 사용자에게 부착된 웨어러블 디바이스(wearable device)로 생체 신호를 요청하는 리퀘스트(request) 메시지를 전송하는 단계 및 상기 웨어러블 디바이스로부터 상기 사용자의 생체 신호를 수신하는 단계를 포함할 수 있다.The obtaining of the new biosignal data includes transmitting a request message for requesting a biosignal to a wearable device attached to the user, and receiving the biosignal of the user from the wearable device. It may include the step of.

여기서 상기 사용자의 생체 신호는, 혈압, 체지방율, 산소포화도, 심박수, 맥박, 심전도(ECG, Electrocardiography), 광용적맥파(PPG, Photoplethysmography) 중 적어도 하나를 포함할 수 있다.Herein, the user's biosignal may include at least one of blood pressure, body fat percentage, oxygen saturation, heart rate, pulse, electrocardiography (ECG), and photoplethysmography (PPG).

여기서 상기 재수행하는 단계는, 재수행 도중에 오류(error)가 발생하면, 상기 오류에 대한 예외 처리(exception handling)를 수행하는 단계를 포함할 수 있다.Here, the re-performing may include performing an exception handling for the error when an error occurs during re-execution.

여기서 상기 예외 처리를 수행하는 단계는, 상기 분석 대상 데이터를 생성한 시점과 상기 분석이 완료된 시점 사이의 차이값에 기반하여 상기 데이터 버퍼의 크기를 재조정하는 단계를 포함할 수 있다.Here, the performing of the exception processing may include re-adjusting the size of the data buffer based on a difference value between a time point when the analysis target data is generated and a time point at which the analysis is completed.

여기서 상기 데이터 버퍼의 크기를 재조정하는 단계는, 상기 제1 샘플 사이즈와 상기 제2 샘플 사이즈의 크기에 기반하여 상기 데이터 버퍼의 크기를 재조정할 수 있다.In the step of re-adjusting the size of the data buffer, the size of the data buffer may be readjusted based on the size of the first sample size and the second sample size.

여기서 상기 데이터 버퍼의 크기를 재조정하는 단계는, 상기 분석 대상 데이터를 생성한 시점이 상기 분석이 완료된 시점보다 미리 설정된 임계값보다 더 빠른 경우, 상기 제1 샘플 사이즈를 현재 설정된 값보다 증가시키는 단계를 포함할 수 있다.Here, the step of re-adjusting the size of the data buffer may include increasing the first sample size than a currently set value when the time point at which the analysis target data is generated is earlier than a preset threshold value than the time point at which the analysis is completed. Can include.

여기서 상기 데이터 버퍼의 크기를 재조정하는 단계는, 상기 분석 대상 데이터를 생성한 시점이 상기 분석이 완료된 시점보다 미리 설정된 임계값보다 더 빠른 경우, 상기 제2 샘플 사이즈를 현재 설정된 값보다 감소시키는 단계를 포함할 수 있다.Here, the step of re-adjusting the size of the data buffer may include reducing the second sample size from a currently set value when the time point at which the analysis target data is generated is earlier than a preset threshold value than the time point at which the analysis is completed. Can include.

상기 목적을 달성하기 위한 본 발명의 다른 측면은 병렬 처리를 위한 생체 신호 수집 방법을 제공한다.Another aspect of the present invention for achieving the above object is to provide a method for collecting biometric signals for parallel processing.

여기서 병렬 처리를 위한 생체 신호 수집 방법은 사용자의 생체 신호를 측정하여 제1 샘플 사이즈의 신규 생체 신호 데이터를 획득하는 단계, 상기 신규 생체 데이터 직전에 미리 측정된 제2 샘플 사이즈의 구 생체 신호 데이터를 데이터 버퍼로부터 획득하는 단계, 획득된 구 생체 신호 데이터와 상기 신규 생체 신호 데이터를 결합하여 분석 대상 데이터를 생성하는 단계 및 상기 분석 대상 데이터에서 가장 최신의 상기 제2 샘플 사이즈의 생체 신호 데이터를 추출하여 상기 데이터 버퍼에 저장하는 단계를 포함할 수 있다.Here, the biosignal collection method for parallel processing includes the steps of obtaining new biosignal data of a first sample size by measuring a biosignal of a user, and collecting old biosignal data of a second sample size measured in advance immediately before the new biometric data. Acquiring from a data buffer, generating analysis target data by combining the acquired old biological signal data and the new biological signal data, and extracting the most recent biological signal data of the second sample size from the analysis target data It may include storing in the data buffer.

여기서 상기 제1 샘플 사이즈는, 상기 제2 샘플 사이즈보다 작게 설정될 수 있다. Here, the first sample size may be set smaller than the second sample size.

상기와 같은 본 발명에 따른 병렬 처리 기반의 생체 신호 처리 방법과 그 장치를 이용할 경우에는 생체 신호의 측정과 분석을 병렬적으로 처리함으로써 생체 신호를 저장하는데 필요한 메모리를 최소화하면서도, 분석에 필요한 최적의 생체 신호 데이터를 확보할 수 있다.In the case of using the bio-signal processing method and the apparatus based on parallel processing according to the present invention as described above, the memory required for storing the bio-signal is minimized by processing the measurement and analysis of the bio-signal in parallel. Biosignal data can be secured.

또한, 생체 신호 측정시 발생하는 오류에 대한 예외 처리(Exception Handling)가 용이하며 재측정으로 인한 불필요한 시간 소비를 줄일 수 있다는 장점이 있다.In addition, there is an advantage in that it is easy to handle exceptions for errors that occur when measuring biometric signals, and that unnecessary time consumption due to re-measurement can be reduced.

도 1은 본 발명의 일 실시예에 따른 병렬 처리 기반의 생체 신호 처리 장치에 대하여 기능적으로 도시한 개념도이다.
도 2는 본 발명의 일 실시예에 따른 병렬 처리에 적용되는 생체 신호 데이터 버퍼를 구성하는 예시도이다.
도 3은 본 발명의 일 실시예에 따른 병렬 처리 기반의 생체 신호 처리 방법에 대한 흐름도이다.
도 4는 본 발명의 일 실시예에 따른 병렬 처리 기반의 생체 신호 측정 방법에 대한 구현례이다.
도 5a 내지 도 5b는 본 발명의 일 실시예에 따른 병렬 처리 기반의 생체 신호 처리 방법에 대한 구현례이다.
도 6은 본 발명의 일 실시예에 따른 병렬 처리 기반의 생체 신호 처리 방법에서 에러 발생에 따른 예외 처리에 대한 구현례이다.
도 7은 본 발명의 일 실시예에 따른 병렬 처리 기반의 생체 신호 처리 장치에 대한 구성도이다.
1 is a conceptual diagram functionally showing a biosignal processing apparatus based on parallel processing according to an embodiment of the present invention.
2 is an exemplary view of configuring a biosignal data buffer applied to parallel processing according to an embodiment of the present invention.
3 is a flowchart of a method for processing a biosignal based on parallel processing according to an embodiment of the present invention.
4 is an implementation example of a method for measuring a biosignal based on parallel processing according to an embodiment of the present invention.
5A to 5B are implementation examples of a biosignal processing method based on parallel processing according to an embodiment of the present invention.
6 is an example implementation of exception processing according to an error occurrence in a biosignal processing method based on parallel processing according to an embodiment of the present invention.
7 is a block diagram of a biosignal processing apparatus based on parallel processing according to an embodiment of the present invention.

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

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

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. When a component is referred to as being "connected" or "connected" to another component, it is understood that it may be directly connected or connected to the other component, but other components may exist in the middle. Should be. On the other hand, when a component is referred to as being "directly connected" or "directly connected" to another component, it should be understood that there is no other component in the middle.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terms used in the present application are only used to describe specific embodiments, and are not intended to limit the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In the present application, terms such as "comprise" or "have" are intended to designate the presence of features, numbers, steps, actions, components, parts, or combinations thereof described in the specification, but one or more other features. It is to be understood that the presence or addition of elements or numbers, steps, actions, components, parts, or combinations thereof, does not preclude in advance.

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

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

도 1은 본 발명의 일 실시예에 따른 병렬 처리 기반의 생체 신호 처리 장치에 대하여 기능적으로 도시한 개념도이다.1 is a conceptual diagram functionally showing a biosignal processing apparatus based on parallel processing according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일 실시예에 따른 병렬 처리 기반의 생체 신호 처리 장치(100)는 신호 측정부(110), 버퍼(120, Buffer), 신호 분석부(130), 병렬 처리 제어부(140) 및/또는 예외 처리부(150)를 포함할 수 있다.Referring to FIG. 1, a biosignal processing apparatus 100 based on parallel processing according to an embodiment of the present invention includes a signal measurement unit 110, a buffer 120, a signal analysis unit 130, and a parallel processing control unit. (140) and/or an exception processing unit 150 may be included.

신호 측정부(110)는 외부의 인터페이스를 통해 사용자의 신체(예를 들면 손목, 팔 등)에 착용되거나 부착된 웨어러블 디바이스(wearable device)로부터 미리 설정된 샘플링 주기(Sampling rate)에 따라 주기적으로 생체 신호를 획득하고 획득된 신호를 버퍼(120)에 저장할 수 있다. 여기서 생체 신호는 혈압, 체지방율, 산소포화도, 심박수, 맥박, 심전도(ECG, Electrocardiography), 광용적맥파(PPG, Photoplethysmography) 등일 수 있다. 또한, 도면에서는 신호 측정부(110)가 사용자에게 부착된 생체 디바이스로부터 생체 신호를 수신하는 것으로 도시하였으나, 신호 측정부(110) 또는 병렬 처리 기반의 생체 신호 처리 장치(100)는 웨어러블 디바이스와 결합되어 일체로 구현될 수도 있다.The signal measurement unit 110 periodically receives a bio-signal from a wearable device worn or attached to a user's body (eg, wrist, arm, etc.) through an external interface according to a preset sampling rate. And may store the obtained signal in the buffer 120. Here, the biological signal may be blood pressure, body fat percentage, oxygen saturation, heart rate, pulse, electrocardiography (ECG), photoplethysmography (PPG), and the like. In addition, in the drawing, the signal measurement unit 110 is shown to receive a biometric signal from a biometric device attached to the user, but the signal measurement unit 110 or the biosignal processing apparatus 100 based on parallel processing is combined with the wearable device. It can also be implemented integrally.

신호 분석부(130)는 신호 측정부 (110)에 의하여 버퍼(120)에 저장된 생체 신호 데이터를 분석하고 분석 결과 데이터를 생성할 수 있다. 예를 들어, 신호 분석부(130)는 버퍼(120)에 저장된 생체 신호 데이터에 대한 주파수 분석, 필터링 등을 수행할 수 있다. The signal analysis unit 130 may analyze biosignal data stored in the buffer 120 by the signal measurement unit 110 and generate analysis result data. For example, the signal analysis unit 130 may perform frequency analysis, filtering, and the like on the biosignal data stored in the buffer 120.

여기서 신호 측정부(110)와 신호 분석부(130)의 동작은 상호간에 병렬적으로 동작할 수 있다. 예를 들어, 신호 측정부(110)를 통한 생체 신호 데이터의 측정 및 수집과 동시에 신호 분석부(130)에서는 버퍼(120)에 저장된 생체 신호 데이터를 분석할 수 있다.Here, the operation of the signal measurement unit 110 and the signal analysis unit 130 may operate in parallel with each other. For example, while measuring and collecting biosignal data through the signal measuring unit 110, the signal analyzing unit 130 may analyze the biosignal data stored in the buffer 120.

병렬 처리 제어부(140)는 신호 측정부(110)와 신호 분석부(130) 양자의 동작을 제어하여 신호 측정부에서 버퍼(120)에 수집 및 저장하는 생체 신호 데이터의 양과 신호 분석부(130)에 의해 처리되는 생체 신호 데이터의 양을 조절할 수 있다. 따라서, 병렬 처리 제어부(140)는 신호 측정부(110)와 신호 분석부(130)가 병렬적으로 각각 동작하더라도 데이터 수집과 분석 상호간의 지연이 최소화되거나 없도록 조절할 수 있다.The parallel processing control unit 140 controls the operation of both the signal measurement unit 110 and the signal analysis unit 130, and the amount of biosignal data collected and stored in the buffer 120 by the signal measurement unit and the signal analysis unit 130 The amount of biosignal data processed by can be adjusted. Accordingly, the parallel processing control unit 140 may adjust the delay between data collection and analysis to be minimized or prevented even if the signal measurement unit 110 and the signal analysis unit 130 operate in parallel.

예외 처리부(150)는 병렬 처리 중 발생하는 에러에 대하여 예외 처리(Exception Handling)하는 동작을 수행할 수 있다. 예를 들어 예외 처리부(150)는 병렬 처리 기반의 생체 신호 처리 장치의 시스템 리셋, 신호 측정부(110)와 신호 분석부(130)의 재수행, 버퍼(120)의 사이즈를 재조정하는 등의 이벤트 신호를 생성할 수 있다.The exception processing unit 150 may perform an operation of handling an exception with respect to an error occurring during parallel processing. For example, the exception processing unit 150 may perform events such as system reset of the biosignal processing device based on parallel processing, re-execution of the signal measurement unit 110 and the signal analysis unit 130, and readjusting the size of the buffer 120. Can generate signals.

한편, 도면에는 도시하지 않았으나, 병렬 처리 기반의 생체 신호 처리 장치(100)는 미리 설정된 시간 또는 실시간으로 신호 분석부(130)에 의해 생성된 분석 결과 데이터를 외부의 사용자 단말에 전송하는 통신 모듈을 더 포함할 수 있다. 이때, 통신 모듈은 유선 네트워크 또는 무선 네트워크를 통하여 데이터를 송수신할 수 있다. Meanwhile, although not shown in the drawings, the biosignal processing apparatus 100 based on parallel processing includes a communication module that transmits the analysis result data generated by the signal analysis unit 130 at a preset time or in real time to an external user terminal. It may contain more. In this case, the communication module may transmit and receive data through a wired network or a wireless network.

도 2는 본 발명의 일 실시예에 따른 병렬 처리에 적용되는 생체 신호 데이터 버퍼를 구성하는 예시도이다.2 is an exemplary view of configuring a biosignal data buffer applied to parallel processing according to an embodiment of the present invention.

도 2를 참조하면, 본 발명의 일 실시예에 따른 병렬 처리 기반의 생체 신호 처리 방법 및 장치에서 생체 신호를 분석하기 위한 데이터 버퍼는 생체 신호를 측정 및 분석하는 과정을 하나의 단계(Stage, 스테이지로 지칭)로 정의할 때, 제1 단계(20a), 제2 단계(20b), 제3 단계(20c)마다 재구성될 수 있다. 2, a data buffer for analyzing a biosignal in a biosignal processing method and apparatus based on parallel processing according to an embodiment of the present invention performs a process of measuring and analyzing a biosignal in one step (Stage, stage (Referred to as), it may be reconstructed for each of the first step 20a, the second step 20b, and the third step 20c.

이때, 각 스테이지에서 구성되는 데이터 버퍼는 이동 윈도우 방식으로 미리 정의된 N개의 샘플 데이터(N samples)로 구성된 구 생체 신호 데이터(RAW DATA OLD)와 M+N개의 샘플 데이터(M+N samples)로 구성된 신규 생체 신호 데이터(RAW DATA NEW)로 구성될 수 있다. 예를 들어, 제1 스테이지(20a)에서 생체 신호 분석을 위한 분석 대상 데이터(23)는 구 생체 신호 데이터(22)와 신규 생체 신호 데이터(21)를 결합하여 구성될 수 있다.At this time, the data buffer configured in each stage is composed of old biosignal data (RAW DATA OLD) and M+N sample data (M+N samples) consisting of N samples data predefined in a moving window method. It can be composed of composed new biosignal data (RAW DATA NEW). For example, the analysis target data 23 for biosignal analysis in the first stage 20a may be configured by combining the old biosignal data 22 and the new biosignal data 21.

여기서, 구 생체 신호 데이터(RAW DATA OLD)는 생체 신호를 측정하는 현재 스테이지보다 바로 앞선 스테이지의 생체 신호 분석에 사용된 생체 신호 데이터일 수 있다. 예를 들어, 제2 스테이지(20b)에서 사용되는 구 생체 신호 데이터(26)는 제2 스테이지(20b)의 바로 직전에 구성되었던 제1 스테이지(20a)의 데이터 버퍼에 구성된 데이터(23) 중에서 가장 최신의 N개의 샘플 데이터(24)일 수 있다. 구체적으로 제2 스테이지(20b)에서, 제1 스테이지(20a)의 데이터 버퍼에 저장된 분석 대상 데이터(23) 중에서 가장 최신의 N개의 샘플 데이터(24)가 제2 스테이지(20b)의 분석 대상 데이터(27)에 대한 초기 데이터로 사용되고, 추가적인 생체 신호 데이터의 측정 및 수집을 통해 얻어진 M+N 개의 샘플 데이터(25)가 신규 생체 신호 데이터(RAW DATA NEW)로서 분석 대상 데이터(27)의 후기 데이터로 사용될 수 있다. 따라서, 제2 스테이지(20b)에서 구성된 데이터 버퍼에 저장된 데이터(27) 중에서 가장 최신의 N개의 샘플 데이터(28) 또한 제3 스테이지(20c)에 따른 생체 신호 분석을 위한 데이터로 갱신된다. Here, the old biosignal data (RAW DATA OLD) may be biosignal data used for biosignal analysis of a stage immediately preceding the current stage where biosignal is measured. For example, the old biosignal data 26 used in the second stage 20b is the most among the data 23 configured in the data buffer of the first stage 20a that was configured immediately before the second stage 20b. It may be the latest N number of sample data 24. Specifically, in the second stage 20b, the most recent N sample data 24 among the analysis target data 23 stored in the data buffer of the first stage 20a are the data to be analyzed in the second stage 20b ( 27), and M+N sample data (25) obtained through measurement and collection of additional bio-signal data are used as new bio-signal data (RAW DATA NEW) and later data of the analysis target data (27). Can be used. Accordingly, among the data 27 stored in the data buffer configured in the second stage 20b, the most recent N number of sample data 28 are also updated with data for biosignal analysis according to the third stage 20c.

이처럼, 본 발명에서는 이전 스테이지에서 생체 신호 분석을 위해 사용되었던 데이터 일부를 다음 생체 신호 분석을 위해 사용함으로서 생체 신호 분석에 충분한 데이터량을 확보할 수 있다. 또한, 구 생체 신호 데이터를 사용함으로써, 생체 신호 측정/수집과 생체 신호 분석이 병렬로 수행될 수 있게 한다.As described above, in the present invention, a sufficient amount of data for biosignal analysis can be secured by using some of the data used for biosignal analysis in the previous stage for the next biosignal analysis. In addition, by using the old biosignal data, biosignal measurement/collection and biosignal analysis can be performed in parallel.

도면에는 제1 스테이지(20a) 내지 제3 스테이지(20c)까지 도시하였으나, 미리 설정된 시간 또는 횟수만큼 반복해서 데이터 버퍼가 구성될 수 있다. 또한, 여기서 M과 N개의 샘플은 샘플링 주기에 따라 수집된 생체 신호 데이터들을 의미한다. 또한, M과 N은 미리 설정될 수 있으며 생체 신호의 측정 및 분석에 따라 병렬 처리의 최적화된 값으로 재조정될 수 있다. 다만, 신규 생체 신호 데이터(RAW DATA NEW)의 일부가 구 생체 신호 데이터(RAW DATA OLD)로 사용되기 위해, 신규 생체 신호 데이터(RAW DATA NEW)의 샘플 수는, 구 생체 신호 데이터(RAW DATA OLD)의 샘플 수보다 작을 수 있다.In the drawing, the first stage 20a to the third stage 20c are illustrated, but the data buffer may be repeatedly configured for a predetermined time or number of times. In addition, here, M and N samples mean biosignal data collected according to the sampling period. Further, M and N may be set in advance and may be readjusted to an optimized value of parallel processing according to the measurement and analysis of the biosignal. However, since some of the new biosignal data (RAW DATA NEW) is used as the old biosignal data (RAW DATA OLD), the number of samples of the new biosignal data (RAW DATA NEW) is the old biosignal data (RAW DATA OLD). ) May be smaller than the number of samples.

도 3은 본 발명의 일 실시예에 따른 병렬 처리 기반의 생체 신호 처리 방법에 대한 흐름도이다.3 is a flowchart of a method for processing a biosignal based on parallel processing according to an embodiment of the present invention.

도 3을 참조하면, 병렬 처리 기반의 생체 신호 처리 방법은, 사용자의 생체 신호를 측정하여 제1 샘플 사이즈의 신규 생체 신호 데이터를 획득하는 단계(S100), 상기 신규 생체 데이터 직전에 미리 측정된 제2 샘플 사이즈의 구 생체 신호 데이터를 데이터 버퍼로부터 획득하는 단계(S110), 획득된 구 생체 신호 데이터와 상기 신규 생체 신호 데이터를 결합하여 분석 대상 데이터를 생성하는 단계(S120), 상기 분석 대상 데이터에서 가장 최신의 상기 제2 샘플 사이즈의 생체 신호 데이터를 추출하여 상기 데이터 버퍼에 저장하는 단계(S130) 및 상기 분석 대상 데이터를 대상으로 생체 정보를 분석하고, 상기 분석과 병렬적으로 상기 신규 생체 신호 데이터를 획득하는 단계부터 재수행하는 단계(S140)를 포함할 수 있다.Referring to FIG. 3, in the parallel processing-based biosignal processing method, the step of obtaining new biosignal data of a first sample size by measuring a biosignal of a user (S100), 2 Obtaining old biosignal data of a sample size from a data buffer (S110), combining the obtained old biosignal data and the new biosignal data to generate data to be analyzed (S120), from the data to be analyzed Extracting the most recent biosignal data of the second sample size and storing it in the data buffer (S130), analyzing biometric information for the data to be analyzed, and the new biosignal data in parallel with the analysis It may include a step (S140) of re-performing from the step of acquiring.

여기서, 상기 제1 샘플 사이즈는, 상기 제2 샘플 사이즈보다 작게 설정될 수 있다.Here, the first sample size may be set smaller than the second sample size.

여기서 상기 신규 생체 신호 데이터를 획득하는 단계(S100)는, 상기 사용자에게 부착된 웨어러블 디바이스(wearable device)로 생체 신호를 요청하는 리퀘스트(request) 메시지를 전송하는 단계 및 상기 웨어러블 디바이스로부터 상기 사용자의 생체 신호를 수신하는 단계를 포함할 수 있다.Here, the step of acquiring the new biosignal data (S100) includes transmitting a request message for requesting a biosignal to a wearable device attached to the user, and the user's biometrics from the wearable device. It may include receiving a signal.

여기서 상기 사용자의 생체 신호는, 혈압, 체지방율, 산소포화도, 심박수, 맥박, 심전도(ECG, Electrocardiography), 광용적맥파(PPG, Photoplethysmography) 중 적어도 하나를 포함할 수 있다.Herein, the user's biosignal may include at least one of blood pressure, body fat percentage, oxygen saturation, heart rate, pulse, electrocardiography (ECG), and photoplethysmography (PPG).

여기서 상기 재수행하는 단계(S140)는, 재수행 도중에 오류(error)가 발생하면, 상기 오류에 대한 예외 처리(exception handling)를 수행하는 단계를 포함할 수 있다.Here, the re-performing step S140 may include performing exception handling for the error when an error occurs during re-execution.

여기서 상기 예외 처리를 수행하는 단계는, 상기 분석 대상 데이터를 생성한 시점과 상기 분석이 완료된 시점 사이의 차이값에 기반하여 상기 데이터 버퍼의 크기를 재조정하는 단계를 포함할 수 있다.Here, the performing of the exception processing may include re-adjusting the size of the data buffer based on a difference value between a time point when the analysis target data is generated and a time point at which the analysis is completed.

여기서 상기 데이터 버퍼의 크기를 재조정하는 단계는, 상기 제1 샘플 사이즈와 상기 제2 샘플 사이즈의 크기에 기반하여 상기 데이터 버퍼의 크기를 재조정할 수 있다.In the step of re-adjusting the size of the data buffer, the size of the data buffer may be readjusted based on the size of the first sample size and the second sample size.

여기서 상기 데이터 버퍼의 크기를 재조정하는 단계는, 상기 분석 대상 데이터를 생성한 시점이 상기 분석이 완료된 시점보다 미리 설정된 임계값보다 더 빠른 경우, 상기 제1 샘플 사이즈를 현재 설정된 값보다 증가시키는 단계를 포함할 수 있다. 즉, 제1 샘플 사이즈를 증가시킴으로서 수집할 신규 데이터의 양이 늘어나므로 분석 대상 데이터를 생성하는 시점과 분석이 완료된 시점이 인접하도록 조절할 수 있다.Here, the step of re-adjusting the size of the data buffer may include increasing the first sample size than a currently set value when the time point at which the analysis target data is generated is earlier than a preset threshold value than the time point at which the analysis is completed. Can include. That is, since the amount of new data to be collected is increased by increasing the first sample size, it is possible to adjust the time point at which the analysis target data is generated and the time point at which the analysis is completed are adjacent.

여기서 상기 데이터 버퍼의 크기를 재조정하는 단계는, 상기 분석 대상 데이터를 생성한 시점이 상기 분석이 완료된 시점보다 미리 설정된 임계값보다 더 빠른 경우, 상기 제2 샘플 사이즈를 현재 설정된 값보다 감소시키는 단계를 포함할 수 있다. 즉, 제2 샘플 사이즈를 감소시킴으로써 구 데이터의 양이 줄어들게 되므로 분석에 필요한 시간이 감소할 수 있다.Here, the step of re-adjusting the size of the data buffer may include reducing the second sample size from a currently set value when the time point at which the analysis target data is generated is earlier than a preset threshold value than the time point at which the analysis is completed. Can include. That is, since the amount of old data is reduced by reducing the second sample size, the time required for analysis may be reduced.

또한, 제1 샘플 사이즈를 증가시키고 제2 샘플 사이즈를 감소시키는 과정이 동시에 수행될 수도 있다.Also, a process of increasing the first sample size and decreasing the second sample size may be performed simultaneously.

또한, 본 발명의 일 실시예에 따른 병렬 처리를 위한 생체 신호 처리 방법에서 생체 신호 수집 방법만 분리하여 수행될 수도 있다.In addition, in the biosignal processing method for parallel processing according to an embodiment of the present invention, only the biosignal collection method may be separately performed.

이 경우 본 발명의 일 실시예에 따른 병렬 처리를 위한 생체 신호 수집 방법은, 사용자의 생체 신호를 측정하여 제1 샘플 사이즈의 신규 생체 신호 데이터를 획득하는 단계, 상기 신규 생체 데이터 직전에 미리 측정된 제2 샘플 사이즈의 구 생체 신호 데이터를 데이터 버퍼로부터 획득하는 단계, 획득된 구 생체 신호 데이터와 상기 신규 생체 신호 데이터를 결합하여 분석 대상 데이터를 생성하는 단계 및 상기 분석 대상 데이터에서 가장 최신의 상기 제2 샘플 사이즈의 생체 신호 데이터를 추출하여 상기 데이터 버퍼에 저장하는 단계를 포함할 수 있다.In this case, the biosignal collection method for parallel processing according to an embodiment of the present invention includes the steps of obtaining new biosignal data of a first sample size by measuring a biosignal of a user, measured in advance immediately before the new biometric data. Acquiring old biosignal data of a second sample size from a data buffer, generating analysis target data by combining the obtained old biosignal data and the new biosignal data, and the latest generation of the analysis target data 2 extracting biosignal data of a sample size and storing it in the data buffer.

그 밖에도 본 발명의 명세서 전체에서 생체 신호 수집 방법에 대한 설명이 포함될 수 있고, 중복 설명을 방지하기 위해 자세한 설명은 생략한다.In addition, a description of the biosignal collection method may be included throughout the specification of the present invention, and detailed descriptions will be omitted to prevent redundant descriptions.

도 4는 본 발명의 일 실시예에 따른 병렬 처리 기반의 생체 신호 수집 방법에 대한 구현례이다.4 is an implementation example of a method for collecting biosignals based on parallel processing according to an embodiment of the present invention.

도 4를 참조하면, 본 발명의 일 실시예에 따른 병렬 처리 기반의 생체 신호 처리 방법에서 생체 신호 수집에 관한 구현례를 확인할 수 있다.Referring to FIG. 4, an implementation example of collecting a biosignal in a biosignal processing method based on parallel processing according to an embodiment of the present invention can be confirmed.

구체적으로, 먼저 생체 신호 수집을 위한 시스템 초기화(System initialization)를 수행(S200)할 수 있다. 여기서 시스템 초기화는 데이터 버퍼에 대한 초기화, 구 생체 신호 데이터와 신규 생체 신호 데이터의 샘플 사이즈 설정 등을 포함할 수 있다.Specifically, first, a system initialization for collecting a biometric signal may be performed (S200). Here, the system initialization may include initialization of a data buffer, setting a sample size of old biosignal data and new biosignal data, and the like.

다음으로, 사용자의 입력에 의해 생체 신호를 측정 및 수집할 시간을 설정(S210)한 후 설정된 시간에 상응하는 최대 반복 횟수(MAX_ITER)를 설정하고, 생체 신호에 대한 측정 및 수집을 개시(S220)할 수 있다. 반복 횟수를 나타내는 변수(Iteration)가 1이면(S230), 첫번째 데이터 버퍼를 채우기 위하여 초기 N개의 생체 신호 데이터를 수집하여 구 생체 신호 데이터(RAW_DATA_OLD)를 생성할 수 있다(S240). 다음으로 M+N개의 생체 신호 데이터를 수집하여 신규 생체 신호 데이터(RAW_DATA_NEW)를 생성할 수 있다(S250). 구 생체 신호 데이터(RAW_DATA_OLD)와 신규 생체 신호 데이터(RAW_DATA_NEW)가 생성되면, 구 생체 신호 데이터(RAW_DATA_OLD)와 신규 생체 신호 데이터(RAW_DATA_NEW)를 결합하여 데이터 버퍼를 생성하고(S260), 생성된 데이터 버퍼에서 가장 최신의 샘플 N개를 추출하여 구 생체 신호 데이터(RAW_DATA_OLD)를 갱신할 수 있다(S270). 데이터 버퍼가 준비되면 flag를 설정(S280)하고, 신호 분석을 처리하는 모듈이 flag가 설정되었는지 확인하여 데이터 버퍼에 저장된 생체 신호에 대한 분석을 시작하고 반복 횟수에 대한 변수(Iteration)를 반복시마다 1씩 증가(S285)시킬 수 있다. Next, after setting the time to measure and collect bio-signals according to the user's input (S210), set the maximum number of repetitions (MAX_ITER) corresponding to the set time, and start measuring and collecting bio-signals (S220) can do. If the variable (Iteration) representing the number of repetitions is 1 (S230), initial N biosignal data may be collected to fill the first data buffer to generate the old biosignal data RAW_DATA_OLD (S240). Next, M+N biosignal data may be collected to generate new biosignal data RAW_DATA_NEW (S250). When the old biosignal data (RAW_DATA_OLD) and the new biosignal data (RAW_DATA_NEW) are generated, a data buffer is created by combining the old biosignal data (RAW_DATA_OLD) and the new biosignal data (RAW_DATA_NEW) (S260), and the created data buffer The old biosignal data RAW_DATA_OLD may be updated by extracting the most recent N samples in step S270. When the data buffer is ready, the flag is set (S280), and the module that processes the signal analysis checks whether the flag is set, starts the analysis of the biosignal stored in the data buffer, and repeats the variable for the number of repetitions (Iteration) is 1 each time it is repeated. It can be increased incrementally (S285).

한편, 반복 횟수에 대한 변수(Iteration)가 앞에서 설정한 최대 반복 횟수(MAX_ITER)에 도달하면(S290), 생체 신호의 측정/수집에 관한 절차를 종료하며, 그렇지 않은 경우 신규 생체 신호 데이터를 생성하는 과정(S250)부터 다시 시작할 수 있다.On the other hand, if the variable for the number of repetitions (Iteration) reaches the previously set maximum number of repetitions (MAX_ITER) (S290), the procedure for measuring/collection of biosignals is terminated, otherwise, new biosignal data is generated. It can be restarted from the process (S250).

도 5a 내지 도 5b는 본 발명의 일 실시예에 따른 병렬 처리 기반의 생체 신호 처리 방법에 대한 구현례이다.5A to 5B are implementation examples of a biosignal processing method based on parallel processing according to an embodiment of the present invention.

도 5a 내지 도 5b를 참조하면, 본 발명의 일 실시예에 따른 병렬 처리 기반의 생체 신호 처리 방법에 대한 구현례를 확인할 수 있다.Referring to FIGS. 5A to 5B, an implementation example of a biosignal processing method based on parallel processing according to an embodiment of the present invention can be confirmed.

도 5a를 참조하면, 생체 신호 수집 모듈(Signal Measurement Module, 도 1의 신호 측정부에 대응될 수 있다)은 실 사용예에 따라 사용자에 의해 미리 설정된 샘플링 주기(Sampling rate)에 따라 주기적으로 생체 신호를 측정 및 수집할 수 있다. 주기적인 생체 신호 측정 및 수집을 위하여 샘플링 주기(Sampling rate)에 따라 인터럽트(Interrupt)를 생성하여 ISR(Interrupt Service routine)을 실행(S300)한다. ISR은 하나의 생체 신호 샘플을 측정 및 수집(S310)하고 신규 생체 신호 데이터(RAW_DATA_NEW)에 저장하고, CNT 변수를 증가(S320)시키면서 미리 설정된 신규 생체 신호 데이터(RAW_DATA_NEW)의 크기(M+N)에 도달하는 시점까지 반복해서 저장할 수 있다. Referring to FIG. 5A, the biosignal collection module (Signal Measurement Module, which may correspond to the signal measurement unit of FIG. 1) is periodically used according to a sampling rate preset by a user. Can be measured and collected. For periodic measurement and collection of bio signals, an interrupt is generated according to a sampling rate and an interrupt service routine (ISR) is executed (S300). The ISR measures and collects one biosignal sample (S310), stores it in new biosignal data (RAW_DATA_NEW), increases the CNT variable (S320), and increases the size (M+N) of the new biosignal data (RAW_DATA_NEW) previously set. You can store it over and over again until it reaches.

신규 생체 신호 데이터(RAW_DATA_NEW)의 크기(M+N)까지 생체 신호 샘플이 저장되면(S330), 생체 신호 수집 모듈(Signal Measurement Module)은 신호 처리 모듈(Signal Processing Module, 도 1의 신호 분석부에 대응될 수 있다)이 분석을 시작하도록 지시하는 flag를 1로 설정하고, CNT 변수를 0으로 초기화(S340)한 후, ISR을 종료(S350)할 수 있다.When the biosignal sample is stored up to the size (M+N) of the new biosignal data (RAW_DATA_NEW) (S330), the biosignal collection module (Signal Measurement Module) is a signal processing module (Signal Processing Module) in FIG. The flag indicating to start the analysis) is set to 1, the CNT variable is initialized to 0 (S340), and the ISR may be terminated (S350).

한편, 신호 처리 모듈(Signal Processing Module)은 flag가 1로 설정된 것을 확인하면, 신규 생체 신호 데이터(RAW_DATA_NEW)와 구 생체 신호 데이터(RAW_DATA_OLD)로 구성된 데이터 버퍼에 대하여 신호 분석을 수행할 수 있다(S360).On the other hand, when it is confirmed that the flag is set to 1, the Signal Processing Module may perform signal analysis on a data buffer composed of new biosignal data RAW_DATA_NEW and old biosignal data RAW_DATA_OLD (S360). ).

다만, 이때 신호 처리 모듈(Signal Processing Module)의 신호 분석은 생체 신호 수집 모듈(Signal Measurement Module)이 ISR을 통하여 생체 신호 샘플을 측정 및 수집하는 인터벌 시간 동안 수행될 수 있다. 즉, 도 5a 및 도 5b의 도면 기호 50 및 51과 같이 생체 신호의 측정 및 수집은 생체 신호의 분석과 병렬적으로 처리될 수 있다.However, at this time, the signal analysis of the signal processing module may be performed during an interval time during which the biosignal collection module measures and collects the biosignal sample through the ISR. That is, as shown in reference numerals 50 and 51 of FIGS. 5A and 5B, the measurement and collection of the biosignal may be processed in parallel with the analysis of the biosignal.

도 5b를 참조하면, 신호 처리 모듈(Signal Processing Module)은 신호 분석이 종료되면 신호 분석 결과를 저장하고 앞서 설정한 분석 시작에 대한 flag를 0으로 설정(S390)할 수 있다.Referring to FIG. 5B, when signal analysis is finished, the signal processing module may store a signal analysis result and set a flag for the previously set analysis start to 0 (S390).

도 6은 본 발명의 일 실시예에 따른 병렬 처리 기반의 생체 신호 처리 방법에서 에러 발생에 따른 예외 처리에 대한 구현례이다.6 is an example implementation of exception processing according to an error occurrence in a biosignal processing method based on parallel processing according to an embodiment of the present invention.

도 6을 참조하면, 생체 신호 수집과 분석을 병렬로 처리하기 위하여 ISR을 통하여 생체 신호 샘플을 측정하는 동안 생체 신호에 대한 분석이 완료되지 않거나, 에러 발생으로 완료되지 않았을 경우에 대한 예외 처리를 확인할 수 있다.Referring to FIG. 6, in order to process the collection and analysis of the bio-signal in parallel, the exception processing for the case in which the analysis of the bio-signal is not completed or is not completed due to an error while measuring a bio-signal sample through ISR I can.

먼저, 신호 수집 모듈(Signal Measurement Module)은 도 5a에서와 같이 ISR을 통해 하나의 생체 신호 샘플을 반복해서 측정 및 수집할 수 있다(S410). 수집된 생체 신호 샘플이 미리 설정된 정의한 신규 생체 신호 데이터(RAW_DATA_NEW)의 크기(M+N)에 도달하면(S420, CNT는 수집된 샘플의 개수를 세는 변수), 신호 분석이 완료되어 생체 신호에 대한 분석 시작을 지시하는 flag가 0으로 설정되었는지 확인할 수 있다(S430). 분석 시작을 지시하는 flag가 아직 1인 경우 생체 신호에 대한 분석(S400)이 아직 진행중인 상태이므로, exception_flag를 1로 설정하고(S440) 예외 처리 모듈(Exception Handling Module)이 예외 처리기(exception handler)를 실행할 수 있다(S450). 예외 처리기(exception handler)는 실 사용예에 따라 시스템 reset, 생체 신호 수집 및 분석 재수행, 데이터 버퍼 사이즈 조정 등의 동작을 수행할 수 있다.First, as shown in FIG. 5A, the Signal Measurement Module may repeatedly measure and collect one biological signal sample through ISR (S410). When the collected biosignal sample reaches the predefined size (M+N) of the defined new biosignal data (RAW_DATA_NEW) (S420, CNT is a variable that counts the number of collected samples), signal analysis is complete and It can be checked whether the flag indicating the start of analysis is set to 0 (S430). If the flag instructing the start of analysis is still 1, the analysis of the biosignal (S400) is still in progress, so the exception_flag is set to 1 (S440) and the exception handling module sets the exception handler. It can be executed (S450). The exception handler may perform operations such as system reset, re-performing bio-signal collection and analysis, and data buffer size adjustment according to an actual use example.

도 7은 본 발명의 일 실시예에 따른 병렬 처리 기반의 생체 신호 처리 장치에 대한 구성도이다.7 is a block diagram of a biosignal processing apparatus based on parallel processing according to an embodiment of the present invention.

도 7을 참조하면, 병렬 처리 기반의 생체 신호 처리 장치(200)는, 적어도 하나의 프로세서(processor, 210) 및 상기 적어도 하나의 프로세서가 적어도 하나의 단계를 수행하도록 지시하는 명령어들(instructions)을 저장하는 메모리(memory, 220)를 포함할 수 있다.Referring to FIG. 7, the biosignal processing apparatus 200 based on parallel processing includes at least one processor 210 and instructions instructing the at least one processor to perform at least one step. It may include a memory (memory, 220) to store.

또한, 병렬 처리 기반의 생체 신호 처리 장치(200)는, 유무선 네트워크를 통해 기지국과 통신을 수행하는 송수신 장치(transceiver, 230)를 포함할 수 있다. 또한, 통신 노드(200)는 입력 인터페이스 장치(240), 출력 인터페이스 장치(250), 저장 장치(260) 등을 더 포함할 수 있다. 통신 노드(200)에 포함된 각각의 구성 요소들은 버스(bus, 270)에 의해 연결되어 서로 통신을 수행할 수 있다.In addition, the biosignal processing apparatus 200 based on parallel processing may include a transceiver 230 that communicates with a base station through a wired or wireless network. In addition, the communication node 200 may further include an input interface device 240, an output interface device 250, and a storage device 260. Each of the components included in the communication node 200 may be connected by a bus 270 to perform communication with each other.

여기서 프로세서(210)는 중앙 처리 장치(central processing unit, CPU), 그래픽 처리 장치(graphics processing unit, GPU), 또는 본 발명의 실시예들에 따른 방법들이 수행되는 전용의 프로세서를 의미할 수 있다. 메모리(220) 및 저장 장치(260) 각각은 휘발성 저장 매체 및 비휘발성 저장 매체 중에서 적어도 하나로 구성될 수 있다. 예를 들어, 메모리(220)는 읽기 전용 메모리(read only memory, ROM) 및 랜덤 액세스 메모리(random access memory, RAM) 중에서 적어도 하나로 구성될 수 있다.Here, the processor 210 may refer to a central processing unit (CPU), a graphics processing unit (GPU), or a dedicated processor in which methods according to embodiments of the present invention are performed. Each of the memory 220 and the storage device 260 may be configured with at least one of a volatile storage medium and a nonvolatile storage medium. For example, the memory 220 may be formed of at least one of a read only memory (ROM) and a random access memory (RAM).

여기서 상기 적어도 하나의 단계는, 사용자의 생체 신호를 측정하여 제1 샘플 사이즈의 신규 생체 신호 데이터를 획득하는 단계, 상기 신규 생체 데이터 직전에 미리 측정된 제2 샘플 사이즈의 구 생체 신호 데이터를 데이터 버퍼로부터 획득하는 단계, 획득된 구 생체 신호 데이터와 상기 신규 생체 신호 데이터를 결합하여 분석 대상 데이터를 생성하는 단계, 상기 분석 대상 데이터에서 가장 최신의 상기 제2 샘플 사이즈의 생체 신호 데이터를 추출하여 상기 데이터 버퍼에 저장하는 단계 및 상기 분석 대상 데이터를 대상으로 생체 정보를 분석하고, 상기 분석과 병렬적으로 상기 신규 생체 신호 데이터를 획득하는 단계부터 재수행하는 단계를 포함할 수 있다.Here, the at least one step may include obtaining new biosignal data of a first sample size by measuring a user's biosignal, and storing old biosignal data of a second sample size measured in advance immediately before the new biometric data into a data buffer. Obtaining from, combining the obtained old biosignal data and the new biosignal data to generate analysis target data, extracting the most recent biosignal data of the second sample size from the analysis target data It may include storing in a buffer and analyzing the biometric information for the data to be analyzed, and re-performing from the step of acquiring the new biosignal data in parallel with the analysis.

여기서, 상기 제1 샘플 사이즈는, 상기 제2 샘플 사이즈보다 작게 설정될 수 있다.Here, the first sample size may be set smaller than the second sample size.

여기서 상기 신규 생체 신호 데이터를 획득하는 단계는, 상기 사용자에게 부착된 웨어러블 디바이스(wearable device)로 생체 신호를 요청하는 리퀘스트(request) 메시지를 전송하는 단계 및 상기 웨어러블 디바이스로부터 상기 사용자의 생체 신호를 수신하는 단계를 포함할 수 있다.The obtaining of the new biosignal data includes transmitting a request message for requesting a biosignal to a wearable device attached to the user, and receiving the biosignal of the user from the wearable device. It may include the step of.

여기서 상기 사용자의 생체 신호는, 혈압, 체지방율, 산소포화도, 심박수, 맥박, 심전도(ECG, Electrocardiography), 광용적맥파(PPG, Photoplethysmography) 중 적어도 하나를 포함할 수 있다.Herein, the user's biosignal may include at least one of blood pressure, body fat percentage, oxygen saturation, heart rate, pulse, electrocardiography (ECG), and photoplethysmography (PPG).

여기서 상기 재수행하는 단계는, 재수행 도중에 오류(error)가 발생하면, 상기 오류에 대한 예외 처리(exception handling)를 수행하는 단계를 포함할 수 있다.Here, the re-performing may include performing an exception handling for the error when an error occurs during re-execution.

여기서 상기 예외 처리를 수행하는 단계는, 상기 분석 대상 데이터를 생성한 시점과 상기 분석이 완료된 시점 사이의 차이값에 기반하여 상기 데이터 버퍼의 크기를 재조정하는 단계를 포함할 수 있다.Here, the performing of the exception processing may include re-adjusting the size of the data buffer based on a difference value between a time point when the analysis target data is generated and a time point at which the analysis is completed.

여기서 상기 데이터 버퍼의 크기를 재조정하는 단계는, 상기 제1 샘플 사이즈와 상기 제2 샘플 사이즈의 크기에 기반하여 상기 데이터 버퍼의 크기를 재조정할 수 있다.In the step of re-adjusting the size of the data buffer, the size of the data buffer may be readjusted based on the size of the first sample size and the second sample size.

여기서 상기 데이터 버퍼의 크기를 재조정하는 단계는, 상기 분석 대상 데이터를 생성한 시점이 상기 분석이 완료된 시점보다 미리 설정된 임계값보다 더 빠른 경우, 상기 제1 샘플 사이즈를 현재 설정된 값보다 증가시키는 단계를 포함할 수 있다.Here, the step of re-adjusting the size of the data buffer may include increasing the first sample size than a currently set value when the time point at which the analysis target data is generated is earlier than a preset threshold value than the time point at which the analysis is completed. Can include.

여기서 상기 데이터 버퍼의 크기를 재조정하는 단계는, 상기 분석 대상 데이터를 생성한 시점이 상기 분석이 완료된 시점보다 미리 설정된 임계값보다 더 빠른 경우, 상기 제2 샘플 사이즈를 현재 설정된 값보다 감소시키는 단계를 포함할 수 있다.Here, the step of re-adjusting the size of the data buffer may include reducing the second sample size from a currently set value when the time point at which the analysis target data is generated is earlier than a preset threshold value than the time point at which the analysis is completed. Can include.

병렬 처리 기반의 생체 신호 처리 장치(200)의 예를 들면, 통신 가능한 데스크탑 컴퓨터(desktop computer), 랩탑 컴퓨터(laptop computer), 노트북(notebook), 스마트폰(smart phone), 태블릿 PC(tablet PC), 모바일폰(mobile phone), 스마트 워치(smart watch), 스마트 글래스(smart glass), e-book 리더기, PMP(portable multimedia player), 휴대용 게임기, 네비게이션(navigation) 장치, 디지털 카메라(digital camera), DMB(digital multimedia broadcasting) 재생기, 디지털 음성 녹음기(digital audio recorder), 디지털 음성 재생기(digital audio player), 디지털 동영상 녹화기(digital video recorder), 디지털 동영상 재생기(digital video player), PDA(Personal Digital Assistant) 등일 수 있다.Examples of the biosignal processing device 200 based on parallel processing, for example, a communication capable desktop computer, a laptop computer, a notebook, a smart phone, and a tablet PC , Mobile phone, smart watch, smart glass, e-book reader, portable multimedia player (PMP), portable game console, navigation device, digital camera, DMB (digital multimedia broadcasting) player, digital audio recorder, digital audio player, digital video recorder, digital video player, PDA (Personal Digital Assistant) Etc.

본 발명에 따른 방법들은 다양한 컴퓨터 수단을 통해 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 컴퓨터 판독 가능 매체에 기록되는 프로그램 명령은 본 발명을 위해 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다.The methods according to the present invention 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, and the like alone or in combination. The program instructions recorded on the computer-readable medium may be specially designed and configured for the present invention, or may be known and usable to those skilled in computer software.

컴퓨터 판독 가능 매체의 예에는 롬(ROM), 램(RAM), 플래시 메모리(flash memory) 등과 같이 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함될 수 있다. 프로그램 명령의 예에는 컴파일러(compiler)에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터(interpreter) 등을 사용해서 컴퓨터에 의해 실행될 수 있는 고급 언어 코드를 포함할 수 있다. 상술한 하드웨어 장치는 본 발명의 동작을 수행하기 위해 적어도 하나의 소프트웨어 모듈로 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.Examples of computer-readable media may include hardware devices specially configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions may include high-level language codes that can be executed by a computer using an interpreter or the like as well as machine language codes such as those created by a compiler. The above-described hardware device may be configured to operate as at least one software module to perform the operation of the present invention, and vice versa.

또한, 상술한 방법 또는 장치는 그 구성이나 기능의 전부 또는 일부가 결합되어 구현되거나, 분리되어 구현될 수 있다. In addition, the above-described method or apparatus may be implemented by combining all or part of its configuration or function, or may be implemented separately.

상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다. Although the above has been described with reference to preferred embodiments of the present invention, those skilled in the art will variously modify and change the present invention within the scope not departing from the spirit and scope of the present invention described in the following claims. You will understand that you can do it.

Claims (20)

사용자의 생체 신호를 측정하여 제1 샘플 사이즈의 신규 생체 신호 데이터를 획득하는 단계;
상기 신규 생체 데이터 직전에 미리 측정된 제2 샘플 사이즈의 구 생체 신호 데이터를 데이터 버퍼로부터 획득하는 단계;
획득된 구 생체 신호 데이터와 상기 신규 생체 신호 데이터를 결합하여 분석 대상 데이터를 생성하는 단계;
상기 분석 대상 데이터에서 가장 최신의 상기 제2 샘플 사이즈의 생체 신호 데이터를 추출하여 상기 데이터 버퍼에 저장하는 단계; 및
상기 분석 대상 데이터를 대상으로 생체 정보를 분석하고, 상기 분석과 병렬적으로 상기 신규 생체 신호 데이터를 획득하는 단계부터 재수행하는 단계를 포함하는, 병렬 처리 기반의 생체 신호 처리 방법.
Measuring a user's bio-signal to obtain new bio-signal data of a first sample size;
Acquiring, from a data buffer, old biosignal data of a second sample size measured in advance immediately before the new biometric data;
Generating data to be analyzed by combining the obtained old biosignal data and the new biosignal data;
Extracting the most recent biosignal data of the second sample size from the analysis target data and storing it in the data buffer; And
Analyzing biometric information for the data to be analyzed, and re-performing from the step of acquiring the new biosignal data in parallel with the analysis.
청구항 1에서,
상기 제1 샘플 사이즈는,
상기 제2 샘플 사이즈보다 작게 설정되는, 병렬 처리 기반의 생체 신호 처리 방법.
In claim 1,
The first sample size is,
The biosignal processing method based on parallel processing, which is set smaller than the second sample size.
청구항 1에서,
상기 신규 생체 신호 데이터를 획득하는 단계는,
상기 사용자에게 부착된 웨어러블 디바이스(wearable device)로 생체 신호를 요청하는 리퀘스트(request) 메시지를 전송하는 단계; 및
상기 웨어러블 디바이스로부터 상기 사용자의 생체 신호를 수신하는 단계를 포함하는, 병렬 처리 기반의 생체 신호 처리 방법.
In claim 1,
Acquiring the new bio-signal data,
Transmitting a request message for requesting a bio-signal to a wearable device attached to the user; And
And receiving a biosignal of the user from the wearable device.
청구항 3에서,
상기 사용자의 생체 신호는,
혈압, 체지방율, 산소포화도, 심박수, 맥박, 심전도(ECG, Electrocardiography), 광용적맥파(PPG, Photoplethysmography) 중 적어도 하나를 포함하는, 병렬 처리 기반의 생체 신호 처리 방법.
In claim 3,
The user's biosignal is,
Blood pressure, body fat percentage, oxygen saturation, heart rate, pulse, electrocardiography (ECG, Electrocardiography), including at least one of photo-volume pulse wave (PPG, Photoplethysmography), parallel processing-based bio-signal processing method.
청구항 1에서,
상기 재수행하는 단계는,
재수행 도중에 오류(error)가 발생하면, 상기 오류에 대한 예외 처리(exception handling)를 수행하는 단계를 포함하는, 병렬 처리 기반의 생체 신호 처리 방법.
In claim 1,
The re-performing step,
When an error occurs during re-execution, the method of processing biosignals based on parallel processing comprising the step of performing exception handling for the error.
청구항 5에서,
상기 예외 처리를 수행하는 단계는,
상기 분석 대상 데이터를 생성한 시점과 상기 분석이 완료된 시점 사이의 차이값에 기반하여 상기 데이터 버퍼의 크기를 재조정하는 단계를 포함하는, 병렬 처리 기반의 생체 신호 처리 방법.
In claim 5,
The step of performing the exception processing,
And re-adjusting the size of the data buffer based on a difference value between a time point when the analysis target data is generated and a time point at which the analysis is completed.
청구항 6에서,
상기 데이터 버퍼의 크기를 재조정하는 단계는,
상기 제1 샘플 사이즈와 상기 제2 샘플 사이즈의 크기에 기반하여 상기 데이터 버퍼의 크기를 재조정하는, 병렬 처리 기반의 생체 신호 처리 방법.
In claim 6,
Re-adjusting the size of the data buffer,
The biosignal processing method based on parallel processing, wherein the size of the data buffer is readjusted based on the size of the first sample size and the second sample size.
청구항 7에서,
상기 데이터 버퍼의 크기를 재조정하는 단계는,
상기 분석 대상 데이터를 생성한 시점이 상기 분석이 완료된 시점보다 미리 설정된 임계값보다 더 빠른 경우,
상기 제1 샘플 사이즈를 현재 설정된 값보다 증가시키는 단계를 포함하는, 병렬 처리 기반의 생체 신호 처리 방법.
In claim 7,
Re-adjusting the size of the data buffer,
When the time point at which the analysis target data is generated is earlier than a preset threshold value than the time point at which the analysis is completed,
And increasing the first sample size from a currently set value.
청구항 7에서,
상기 데이터 버퍼의 크기를 재조정하는 단계는,
상기 분석 대상 데이터를 생성한 시점이 상기 분석이 완료된 시점보다 미리 설정된 임계값보다 더 빠른 경우,
상기 제2 샘플 사이즈를 현재 설정된 값보다 감소시키는 단계를 포함하는, 병렬 처리 기반의 생체 신호 처리 방법.
In claim 7,
Re-adjusting the size of the data buffer,
When the time point at which the analysis target data is generated is earlier than a preset threshold value than the time point at which the analysis is completed,
And reducing the second sample size from a currently set value.
병렬 처리 기반의 생체 신호 처리 장치로서,
적어도 하나의 프로세서(processor) 및;
상기 적어도 하나의 프로세서가 적어도 하나의 단계를 수행하도록 지시하는 명령어들(instructions)을 저장하는 메모리(memory)를 포함하고,
상기 적어도 하나의 단계는,
사용자의 생체 신호를 측정하여 제1 샘플 사이즈의 신규 생체 신호 데이터를 획득하는 단계;
상기 신규 생체 데이터 직전에 미리 측정된 제2 샘플 사이즈의 구 생체 신호 데이터를 데이터 버퍼로부터 획득하는 단계;
획득된 구 생체 신호 데이터와 상기 신규 생체 신호 데이터를 결합하여 분석 대상 데이터를 생성하는 단계;
상기 분석 대상 데이터에서 가장 최신의 상기 제2 샘플 사이즈의 생체 신호 데이터를 추출하여 상기 데이터 버퍼에 저장하는 단계; 및
상기 분석 대상 데이터를 대상으로 생체 정보를 분석하고, 상기 분석과 병렬적으로 상기 신규 생체 신호 데이터를 획득하는 단계부터 재수행하는 단계를 포함하는, 병렬 처리 기반의 생체 신호 처리 장치.
As a biosignal processing device based on parallel processing,
At least one processor;
Including a memory (memory) for storing instructions (instructions) instructing the at least one processor to perform at least one step,
The at least one step,
Measuring a user's bio-signal to obtain new bio-signal data of a first sample size;
Acquiring, from a data buffer, old biometric signal data of a second sample size measured in advance immediately before the new biometric data;
Generating data to be analyzed by combining the obtained old biosignal data and the new biosignal data;
Extracting the most recent biosignal data of the second sample size from the analysis target data and storing it in the data buffer; And
Analyzing biometric information for the data to be analyzed, and re-performing from the step of acquiring the new biosignal data in parallel with the analysis.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete
KR1020180057740A 2017-06-13 2018-05-21 Method for processing biological signals based on parallel processing and apparatus for the same Active KR102190822B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20170074450 2017-06-13
KR1020170074450 2017-06-13

Publications (2)

Publication Number Publication Date
KR20180135800A KR20180135800A (en) 2018-12-21
KR102190822B1 true KR102190822B1 (en) 2020-12-14

Family

ID=64960122

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180057740A Active KR102190822B1 (en) 2017-06-13 2018-05-21 Method for processing biological signals based on parallel processing and apparatus for the same

Country Status (1)

Country Link
KR (1) KR102190822B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022114294A1 (en) * 2020-11-27 2022-06-02 (주) 로임시스템 Biosignal dual processing apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007190228A (en) 2006-01-19 2007-08-02 Fukuda Denshi Co Ltd Electrocardiograph
JP4489885B2 (en) 1999-12-21 2010-06-23 フクダ電子株式会社 Biological information processing apparatus and biological information display control method
JP2013208368A (en) 2012-03-30 2013-10-10 Fukuda Denshi Co Ltd Electrocardiogram analysis device and method for controlling the same
KR101503604B1 (en) 2013-09-30 2015-03-17 길영준 Wearable type System for realtime monitoring blood pressure estimation and Method for controlling the same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101858051B1 (en) 2016-06-24 2018-05-18 주식회사 닥터스킨코리아 Portable analysis apparatus for bio-signal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4489885B2 (en) 1999-12-21 2010-06-23 フクダ電子株式会社 Biological information processing apparatus and biological information display control method
JP2007190228A (en) 2006-01-19 2007-08-02 Fukuda Denshi Co Ltd Electrocardiograph
JP2013208368A (en) 2012-03-30 2013-10-10 Fukuda Denshi Co Ltd Electrocardiogram analysis device and method for controlling the same
KR101503604B1 (en) 2013-09-30 2015-03-17 길영준 Wearable type System for realtime monitoring blood pressure estimation and Method for controlling the same

Also Published As

Publication number Publication date
KR20180135800A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
Rocha et al. Binary CorNET: Accelerator for HR estimation from wrist-PPG
CN111631704B (en) Diabetes early-stage detection system and method based on combination of electrocardio information and electroencephalogram information
Al Disi et al. ECG signal reconstruction on the IoT-gateway and efficacy of compressive sensing under real-time constraints
CN107536599A (en) The System and method for of live signal segmentation and datum mark alignment framework is provided
EP3300657A1 (en) Wrist temperature rhythm acquisition apparatus and method, core temperature rhythm acquisition apparatus and method, and wearable device
CN104503593A (en) Control information determination method and device
US20180358021A1 (en) Biometric information for dialog system
EP3807903A1 (en) Low power receiver for in vivo channel sensing and ingestible sensor detection with wandering frequency
CN110688414B (en) Method and device for processing time series data and computer readable storage medium
CN113812959A (en) Electrocardio data processing method for small data processing equipment, electronic equipment and storage medium
KR20140089897A (en) Device and method for monitoring bio signal with low power
CN112716504A (en) Electrocardio data processing method and device, storage medium and electronic equipment
KR102190822B1 (en) Method for processing biological signals based on parallel processing and apparatus for the same
US20250165778A1 (en) Signal denoising based on adaptable deep neural networks
CN113892926A (en) Heart rate signal processing method and device based on head pulse wave and electronic device
JP2023508789A (en) ECG signal detection method and device
US20210109908A1 (en) Computer-implemented method, an apparatus and a computer program product for processing a data set
CN112957018A (en) Heart state detection method and device based on artificial intelligence
CN117694848B (en) Physiological parameter measurement method, physiological parameter measurement device and terminal device
Hassanuzzaman et al. End to end solution for continuous monitoring and real-time analysis of vital signs from ecg signal
KR101661116B1 (en) Programmable multi-modal bio-signal processing module and healthcare platform using the same
JPWO2021149048A5 (en)
CN113974575B (en) Sleep staging method and device, electronic equipment and storage medium
CN114652268B (en) Signal acquisition method, device, storage medium and electronic device
CN103720462A (en) Pulse wave signal analyzing method and device

Legal Events

Date Code Title Description
PA0109 Patent application

St.27 status event code: A-0-1-A10-A12-nap-PA0109

A201 Request for examination
E13-X000 Pre-grant limitation requested

St.27 status event code: A-2-3-E10-E13-lim-X000

P11-X000 Amendment of application requested

St.27 status event code: A-2-2-P10-P11-nap-X000

P13-X000 Application amended

St.27 status event code: A-2-2-P10-P13-nap-X000

PA0201 Request for examination

St.27 status event code: A-1-2-D10-D11-exm-PA0201

PG1501 Laying open of application

St.27 status event code: A-1-1-Q10-Q12-nap-PG1501

D13-X000 Search requested

St.27 status event code: A-1-2-D10-D13-srh-X000

D14-X000 Search report completed

St.27 status event code: A-1-2-D10-D14-srh-X000

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

St.27 status event code: A-1-2-D10-D21-exm-PE0902

P11-X000 Amendment of application requested

St.27 status event code: A-2-2-P10-P11-nap-X000

P13-X000 Application amended

St.27 status event code: A-2-2-P10-P13-nap-X000

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

St.27 status event code: A-1-2-D10-D22-exm-PE0701

GRNT Written decision to grant
PR0701 Registration of establishment

St.27 status event code: A-2-4-F10-F11-exm-PR0701

PR1002 Payment of registration fee

St.27 status event code: A-2-2-U10-U11-oth-PR1002

Fee payment year number: 1

PG1601 Publication of registration

St.27 status event code: A-4-4-Q10-Q13-nap-PG1601

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 4

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 5

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 6