Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7110689B2 - MEAL DETECTION PROGRAM, MEAL DETECTION METHOD, AND MEAL DETECTION DEVICE - Google Patents
[go: Go Back, main page]

JP7110689B2 - MEAL DETECTION PROGRAM, MEAL DETECTION METHOD, AND MEAL DETECTION DEVICE - Google Patents

MEAL DETECTION PROGRAM, MEAL DETECTION METHOD, AND MEAL DETECTION DEVICE Download PDF

Info

Publication number
JP7110689B2
JP7110689B2 JP2018075747A JP2018075747A JP7110689B2 JP 7110689 B2 JP7110689 B2 JP 7110689B2 JP 2018075747 A JP2018075747 A JP 2018075747A JP 2018075747 A JP2018075747 A JP 2018075747A JP 7110689 B2 JP7110689 B2 JP 7110689B2
Authority
JP
Japan
Prior art keywords
meal
peak
peaks
weak
heart rate
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.)
Expired - Fee Related
Application number
JP2018075747A
Other languages
Japanese (ja)
Other versions
JP2019185405A (en
Inventor
真路 堀田
一穂 前田
達也 森
義典 柳沼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2018075747A priority Critical patent/JP7110689B2/en
Publication of JP2019185405A publication Critical patent/JP2019185405A/en
Application granted granted Critical
Publication of JP7110689B2 publication Critical patent/JP7110689B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Description

本発明は、食事検知プログラム、食事検知方法及び食事検知装置に関する。 The present invention relates to a meal detection program, a meal detection method, and a meal detection device.

ヘルスケアのサポートには、1つの側面として、日常生活の様々な行動、例えば食事や排尿、排便などの記録が活用される。これらの行動のうち食事を検知する技術の1つとして、計測した心拍データと学習モデルとを比較して、学習モデルとの相関や類似度などから、計測期間中における食事行動期間を特定するものがある。 One aspect of healthcare support is the utilization of records of various activities in daily life, such as meals, urination, and defecation. Among these behaviors, one of the technologies to detect meals is to compare the measured heart rate data with the learning model and identify the eating behavior period during the measurement period based on the correlation and similarity with the learning model. There is

国際公開第2017/081829号WO2017/081829 国際公開第2017/081787号WO2017/081787

Michael B. Sidery, Ian A. Macdonald “The effect of meal size on the cardiovascular responses to food ingestion” Department of Physiology and Pharmacology, University of Nottingham Medical School, Clfton Boulevard, Nottingham NG7 2UH, 23 July 1993Michael B. Sidery, Ian A. Macdonald “The effect of meal size on the cardiovascular responses to food ingestion” Department of Physiology and Pharmacology, University of Nottingham Medical School, Clfton Boulevard, Nottingham NG7 2UH, 23 July 1993

しかしながら、上記の技術は、一度にある程度の食事量が摂取される食事によって表れる心拍の特徴を検知するものに過ぎない。このため、上記の技術では、複数回に分けて少量の食べ物が摂取される食事、例えばコース料理などを検知することが困難である。なぜなら、複数回に分けて少量の食べ物が摂取される場合、一食が一度に摂取される場合に比べて一度あたりの食事量が少ないことが一因となって食事による心拍の上昇も少ないからである。 However, the above-described technology merely detects the characteristics of the heartbeat that appear when a certain amount of food is eaten at one time. Therefore, with the above technology, it is difficult to detect a meal in which a small amount of food is ingested over multiple times, such as a course meal. This is because when small meals are ingested over multiple meals, heart rate rises due to meals are less than when one meal is ingested all at once, partly because the amount of food eaten per meal is smaller. is.

1つの側面では、本発明は、コース料理等の食事を検知できる食事検知プログラム、食事検知方法及び食事検知装置を提供することを目的とする。 In one aspect, an object of the present invention is to provide a meal detection program, a meal detection method, and a meal detection device that can detect a meal such as a course meal.

一態様では、食事検知プログラムは、対象者の心拍データを取得し、取得した前記心拍データにおいて振幅が所定の閾値を超えるピークを検出し、前記検出したピークの数が複数である場合、前記検出したピークごとに求まるピークの振幅または面積と、前記検出したピーク間で求まるピークの出現間隔とに基づいて、前記対象者によりコース料理が摂取されたか否かを判定する、処理をコンピュータに実行させる。 In one aspect, the meal detection program acquires heartbeat data of a subject, detects a peak whose amplitude exceeds a predetermined threshold in the acquired heartbeat data, and if the number of detected peaks is plural, the detection causes a computer to execute a process of determining whether or not the subject has ingested the course meal based on the amplitude or area of each peak obtained from each detected peak and the appearance interval of the peaks obtained between the detected peaks. .

コース料理等の食事を検知できる。 Meals such as course meals can be detected.

図1は、実施例1に係るヘルスケア支援システムに含まれる各装置の機能的構成の一例を示す図である。FIG. 1 is a diagram illustrating an example of a functional configuration of each device included in a healthcare support system according to a first embodiment; 図2は、心拍データの一例を示す図である。FIG. 2 is a diagram showing an example of heartbeat data. 図3は、心拍データの一例を示す図である。FIG. 3 is a diagram showing an example of heartbeat data. 図4は、心拍データの一例を示す図である。FIG. 4 is a diagram showing an example of heartbeat data. 図5は、心拍データの一例を示す図である。FIG. 5 is a diagram showing an example of heartbeat data. 図6は、心拍データの一例を示す図である。FIG. 6 is a diagram showing an example of heartbeat data. 図7は、第2窓データの一例を示す図である。FIG. 7 is a diagram showing an example of second window data. 図8は、長期トレンドの一例を示す図である。FIG. 8 is a diagram showing an example of a long-term trend. 図9は、回帰直線の一例を示す図である。FIG. 9 is a diagram showing an example of a regression line. 図10は、短期トレンドの一例を示す図である。FIG. 10 is a diagram showing an example of short-term trends. 図11は、弱ピークの一例を示す図である。FIG. 11 is a diagram showing an example of weak peaks. 図12は、弱ピークの一例を示す図である。FIG. 12 is a diagram showing an example of weak peaks. 図13は、ヘルスケア支援サービスの一例を示す図である。FIG. 13 is a diagram showing an example of a healthcare support service. 図14は、実施例1に係るヘルスケア支援処理の手順を示すフローチャートである。FIG. 14 is a flowchart illustrating procedures of healthcare support processing according to the first embodiment. 図15は、実施例1に係る第2検知処理の手順を示すフローチャートである。15 is a flowchart illustrating the procedure of the second detection process according to the first embodiment; FIG. 図16は、弱ピークの一例を示す図である。FIG. 16 is a diagram showing an example of weak peaks. 図17は、弱ピークの一例を示す図である。FIG. 17 is a diagram showing an example of weak peaks. 図18は、弱ピークの一例を示す図である。FIG. 18 is a diagram showing an example of weak peaks. 図19は、実施例1及び実施例2に係る食事検知プログラムを実行するコンピュータのハードウェア構成例を示す図である。FIG. 19 is a diagram illustrating an example hardware configuration of a computer that executes the meal detection program according to the first and second embodiments.

以下に添付図面を参照して本願に係る食事検知プログラム、食事検知方法及び食事検知装置について説明する。なお、この実施例は開示の技術を限定するものではない。そして、各実施例は、処理内容を矛盾させない範囲で適宜組み合わせることが可能である。 A meal detection program, meal detection method, and meal detection device according to the present application will be described below with reference to the accompanying drawings. Note that this embodiment does not limit the disclosed technology. Further, each embodiment can be appropriately combined within a range that does not contradict the processing contents.

[システム構成]
図1は、実施例1に係るヘルスケア支援システムに含まれる各装置の機能的構成の一例を示す図である。図1に示すヘルスケア支援システム1は、各種のヘルスケア支援サービスを提供するものである。このようなヘルスケア支援サービスの例として、ウェアラブル端末10により取得される心拍データを用いて、対象者の日常生活の行動、例えば食事等を記録するサービス、さらには、その記録を活用する派生のサービスなどが挙げられる。
[System configuration]
FIG. 1 is a diagram illustrating an example of a functional configuration of each device included in a healthcare support system according to a first embodiment; A healthcare support system 1 shown in FIG. 1 provides various healthcare support services. Examples of such healthcare support services include a service that uses heartbeat data acquired by the wearable terminal 10 to record a subject's daily activities, such as meals, and a derivative service that utilizes the record. services, etc.

図1に示すように、ヘルスケア支援システム1には、ウェアラブル端末10と、IoT(Internet of Things)デバイス20と、サーバ装置30とが含まれる。なお、図1には、IoTデバイス20に1つのウェアラブル端末10が接続される場合を図示したが、IoTデバイス20には複数のウェアラブル端末10が接続されることとしてもかまわない。また、図1には、サーバ装置30に1つのIoTデバイス20が接続される場合を例示したが、サーバ装置30には、複数のIoTデバイス20が接続されることとしてもかまわない。 As shown in FIG. 1 , the healthcare support system 1 includes a wearable terminal 10 , an IoT (Internet of Things) device 20 and a server device 30 . Although FIG. 1 illustrates a case in which one wearable terminal 10 is connected to the IoT device 20 , the IoT device 20 may be connected to a plurality of wearable terminals 10 . Moreover, although FIG. 1 illustrates the case where one IoT device 20 is connected to the server device 30 , a plurality of IoT devices 20 may be connected to the server device 30 .

これらのうち、ウェアラブル端末10及びIoTデバイス20の間では、一例として、BLE(Bluetooth(登録商標) Low Energy)などの近距離無線通信を介してデータが授受される。これはあくまで一例であり、ウェアラブル端末10及びIoTデバイス20が有線により接続されることとしてもかまわない。また、IoTデバイス20及びサーバ装置30の間は、有線または無線を問わず、任意のネットワークを介して接続することができる。このようなネットワークの例として、3G(Generation)、LTE(Long Term Evolution)、4Gや5Gなどに対応するモバイルネットワーク、LAN(Local Area Network)やVPN(Virtual Private Network)などの構内通信網の他、インターネットなどの任意のネットワークが該当する。 Among these, data is exchanged between the wearable terminal 10 and the IoT device 20 via short-range wireless communication such as BLE (Bluetooth (registered trademark) Low Energy), for example. This is merely an example, and the wearable terminal 10 and the IoT device 20 may be connected by wire. Also, the IoT device 20 and the server device 30 can be connected via any network, whether wired or wireless. Examples of such networks include mobile networks compatible with 3G (Generation), LTE (Long Term Evolution), 4G and 5G, local area networks (LANs), virtual private networks (VPNs) and other local communication networks. , and any network such as the Internet.

ウェアラブル端末10は、上記のヘルスケア支援サービスの提供を受ける対象者が装着することにより利用されるコンピュータである。例えば、ウェアラブル端末10は、腕輪型、リストバンド型、あるいは指輪型のガジェットであってもよいし、頭部に装着されるヘッドマウントディスプレイやスマートグラスであってもよいし、また、胸部や腰部などの胴体の他、足首に装着されるタイプのデバイスであってもよい。 The wearable terminal 10 is a computer used by being worn by a subject who receives the above healthcare support service. For example, the wearable terminal 10 may be a bracelet-type, wristband-type, or ring-type gadget, or may be a head-mounted display or smart glasses worn on the head. The device may be of a type worn on the ankle as well as on the body such as.

例えば、ウェアラブル端末10には、対象者の心拍を計測する心拍センサ11が搭載される。ここで言う「心拍数」とは、血液を送り出す心臓の拍動回数を指す。例えば、心拍センサ11に心拍数の変化に対応する血流量の変化を測定する光電脈波センサを採用することにより、単位時間あたりの心拍数を計測できる。このとき、単位時間を1分間とする場合、心拍数はbpm(beats per minute)等で表現される。また、単位時間を1秒間とする場合、心拍数はHzで表現される。この他、心拍センサ11には、心臓の電気的活動を計測する心電センサを採用することもできる。この場合、心電波形におけるR波とR波の間隔を心拍数の代わりに用いることができる。このように心拍センサ11により計測される心拍数の時系列データは、IoTデバイス20へ出力される。以下では、心拍センサ11により計測される心拍数の時系列データのことを「心拍データ」と記載する場合がある。 For example, the wearable terminal 10 is equipped with a heartbeat sensor 11 that measures the heartbeat of the subject. The term "heart rate" as used herein refers to the number of times the heart beats to pump blood. For example, heart rate per unit time can be measured by employing a photoelectric pulse wave sensor that measures changes in blood flow corresponding to changes in heart rate as the heart rate sensor 11 . At this time, when the unit time is 1 minute, the heart rate is expressed in bpm (beats per minute) or the like. Also, when the unit time is 1 second, the heart rate is expressed in Hz. Alternatively, the heartbeat sensor 11 may be an electrocardiographic sensor that measures the electrical activity of the heart. In this case, the interval between R waves in the electrocardiographic waveform can be used instead of the heart rate. The heart rate time-series data measured by the heart rate sensor 11 in this manner is output to the IoT device 20 . Hereinafter, the time-series data of the heart rate measured by the heart rate sensor 11 may be referred to as "heart rate data".

なお、ここでは、心拍センサ11がウェアラブル端末10に搭載される場合を例示したが、必ずしもウェアラブル端末10に搭載されずともよく、対象者が生活する環境側に設置される環境センサであってもかまわない。例えば、対象者の生体の一部が所定のサンプリング周波数で撮像される画像に関する輝度の時系列変化から心拍数を検出したり、RF(Radio Frequency)モーションセンサを用いて拍動に伴うドップラ周波数を検出したりすることにより、心拍数の検出を対象者の生体部位に非接触の状態で実現することとしてもかまわない。 Here, the case where the heart rate sensor 11 is mounted on the wearable terminal 10 is illustrated, but it is not necessarily mounted on the wearable terminal 10, and even if it is an environment sensor installed on the environment side where the subject lives I don't mind. For example, the heart rate can be detected from time-series changes in the brightness of an image in which a part of the subject's body is captured at a predetermined sampling frequency, or the Doppler frequency associated with heartbeat can be detected using an RF (Radio Frequency) motion sensor. By detecting the heart rate, the heart rate may be detected in a non-contact state with the body part of the subject.

IoTデバイス20は、ウェアラブル端末10をネットワークに接続する機能を一側面として有するデバイスである。このIoTデバイス20には、一例として、対象者が使用するスマートフォンや携帯電話機、PHS(Personal Handyphone System)などを始め、スレート端末やタブレット端末などの携帯端末装置が対応する。 The IoT device 20 is a device having, as one aspect, a function of connecting the wearable terminal 10 to a network. For example, the IoT device 20 corresponds to a mobile terminal device such as a smart phone, a mobile phone, a PHS (Personal Handyphone System) used by a target person, a slate terminal, a tablet terminal, or the like.

例えば、IoTデバイス20は、ウェアラブル端末10からBLE通信等を介して通知された心拍データをネットワークを介してサーバ装置30に転送する。このようにウェアラブル端末10からIoTデバイス20を介してサーバ装置30へ転送される心拍データなどのセンサイベントは、一例として、MQTT(Message Queuing Telemetry Transport)メッセージとして転送できる。このとき、心拍データは、心拍数が計測される度にリアルタイムで伝送されることとしてもよいし、所定期間、例えば12時間、1日間、1週間や1ヶ月などにわたって蓄積してから伝送することとしてもかまわない。また、心拍データは、心拍データを受信するサーバ装置30側で対象者であるウェアラブル端末10のユーザが識別可能な状態で送信される。例えば、心拍データは、ユーザの識別情報もしくはユーザの識別情報と関連付けられたウェアラブル端末10のMAC(Media Access Control)アドレスや個体識別番号などの情報と共にサーバ装置30へ転送される。 For example, the IoT device 20 transfers heartbeat data notified from the wearable terminal 10 via BLE communication or the like to the server device 30 via the network. Sensor events such as heartbeat data transferred from the wearable terminal 10 to the server apparatus 30 via the IoT device 20 can be transferred as MQTT (Message Queuing Telemetry Transport) messages, for example. At this time, the heartbeat data may be transmitted in real time each time the heartbeat is measured, or may be transmitted after accumulating over a predetermined period of time, such as 12 hours, 1 day, 1 week, or 1 month. It doesn't matter. The heartbeat data is transmitted in a state in which the user of the wearable terminal 10, who is the subject, can identify the heartbeat data on the side of the server device 30 that receives the heartbeat data. For example, the heartbeat data is transferred to the server device 30 together with user identification information or information such as the MAC (Media Access Control) address and individual identification number of the wearable terminal 10 associated with the user identification information.

サーバ装置30は、上記のヘルスケア支援サービスを提供するコンピュータである。例えば、サーバ装置30は、パッケージソフトウェア又はオンラインソフトウェアとして、上記のヘルスケア支援サービスに対応する機能を実現するヘルスケア支援プログラムを所望のコンピュータにインストールさせることによって実装できる。例えば、サーバ装置30は、上記のヘルスケア支援サービスを提供するサーバとしてオンプレミスまたはレンタルで実装することとしてもよいし、アウトソーシングによって上記のヘルスケア支援サービスを提供するクラウドとして実装することとしてもかまわない。 The server device 30 is a computer that provides the healthcare support service described above. For example, the server device 30 can be implemented by installing a healthcare support program that realizes functions corresponding to the above healthcare support service as package software or online software on a desired computer. For example, the server device 30 may be implemented on-premises or rented as a server that provides the above healthcare support service, or may be implemented as a cloud that provides the above healthcare support service by outsourcing. .

[課題の一側面]
上述の通り、上記の背景技術の欄で挙げた技術は、一食分の食事が一度にまとめて摂取される食事によって表れる心拍の特徴を検知するものに過ぎない。すなわち、上記の背景技術の欄で挙げた技術では、一食分のメニューが一度に提供される食事の想定しかなく、一食分のメニューが複数回に分けて提供される食事の想定がない。例えば、コース料理等の食事では、メニューに定められた品目および順序にしたがっていわゆる「皿」と呼ばれる料理が提供される。
[One aspect of the challenge]
As described above, the technology mentioned in the background art section above merely detects the characteristics of the heartbeat that are manifested by a meal in which a single meal is ingested all at once. In other words, the technologies mentioned in the Background Art section above assume only a meal in which a menu for one meal is provided at once, and do not assume a meal in which a menu for one meal is provided in multiple portions. For example, in meals such as course meals, so-called "plates" are served according to the items and order specified in the menu.

このように複数の品目が一定の順序で摂取される場合、コース料理全体で一品あたりが占める食事量は、一食分の食べ物が一度にまとめて摂取される食事、例えば定食やセットメニュー等の食事の食事量に比べて少ない。これが一因となって、コース料理等のメニューの中の一皿の食べ物が摂取された場合に発生する心拍変化も抑えられる。このように心拍変化が抑えられる場合、心拍波形に食事らしい特徴が現れにくいので、コース料理等の食事を検知するのが困難である。 In this way, when multiple items are eaten in a fixed order, the amount of food per item in the entire course meal is the amount of meals in which one meal is eaten all at once, such as set meals and set menus. less than food. This is one of the reasons for suppressing changes in heart rate that occur when one plate of food in a menu such as a course meal is ingested. When heart rate changes are suppressed in this way, it is difficult to detect meal-like features in the heart rate waveform, making it difficult to detect a meal such as a course meal.

以下では、一食分の食べ物が一度にまとめて摂取される食事、例えば定食やセットメニュー等の食事のことを「通常の食事」と記載すると共に、一食分の食事が複数回に分けて摂取される食事、例えばコース料理等の食事のことを「コース料理」と記載する場合がある。 In the following, meals in which one meal of food is ingested all at once, such as meals such as set meals and set menus, are described as "regular meals", and one meal is divided into multiple meals and taken in multiple times. Meals such as course meals are sometimes referred to as 'course meals'.

図2及び図3は、心拍データの一例を示す図である。図2及び図3に示すグラフの縦軸は、心拍数(bpm)を指し、横軸は、時間を指す。図2には、通常の食事が行われた場合に計測された心拍データh1が細線で示されると共に、心拍データh1に所定のフィルタ、例えばメジアンフィルタが適用された心拍データH1が太線で示されている。さらに、図2には、リファレンスとして、通常の食事が開始されてから終了するまでの食事期間R11がハッチングで示されている。また、図3には、コース料理が行われた場合に計測された心拍データh2が細線で示されると共に、心拍データh2にメジアンフィルタが適用された心拍データH2が太線で示されている。さらに、図3には、リファレンスとして、コース料理における一皿目の食事期間R21、二皿目の食事期間R22および三皿目の食事期間R23がハッチングで示されている。 2 and 3 are diagrams showing an example of heartbeat data. The vertical axis of the graphs shown in FIGS. 2 and 3 indicates heart rate (bpm), and the horizontal axis indicates time. In FIG. 2, a thin line indicates the heartbeat data h1 measured when a normal meal is taken, and a thick line indicates the heartbeat data H1 obtained by applying a predetermined filter, for example, a median filter to the heartbeat data h1. ing. Furthermore, in FIG. 2, as a reference, a meal period R11 from the start to the end of a normal meal is indicated by hatching. In addition, in FIG. 3, the heartbeat data h2 measured when the course meal was prepared is indicated by a thin line, and the heartbeat data H2 obtained by applying a median filter to the heartbeat data h2 is indicated by a thick line. Further, in FIG. 3, the meal period R21 for the first dish, the meal period R22 for the second dish, and the meal period R23 for the third dish in the course meal are hatched for reference.

図2に示すように、心拍データH1では、通常の食事が食事期間R11に行われることにより、心拍数の上昇が観測される。この場合、通常の食事が行われる前に観測された心拍数、例えば心拍データH1の波形で観測される心拍数の最低値をベースラインBL1とし、通常の食事による心拍上昇のピーク点p11の心拍数からベースラインBL1の心拍数を減算する。これによって、通常の食事による心拍変化のピークの振幅P11は、30bpm程度と求まる。 As shown in FIG. 2, in the heart rate data H1, an increase in heart rate is observed due to normal eating during the meal period R11. In this case, the heart rate observed before a normal meal, for example, the lowest value of the heart rate observed in the waveform of the heart rate data H1, is taken as the baseline BL1, and the heart rate at the peak point p11 of the heart rate increase due to the normal meal. Subtract the baseline BL1 heart rate from the number. As a result, the peak amplitude P11 of the heart rate change due to normal eating is found to be approximately 30 bpm.

一方、図3に示すように、心拍データH2では、コース料理のうち一皿目の料理が食事期間R21に摂取され、二皿目の料理が食事期間R22に摂取されると共に、三皿目の料理が食事期間R23に摂取される。このようにコース料理が行われた場合にも、心拍数の上昇は観測されるが、各皿の料理が摂取されることによる心拍数の上昇幅は、いずれも通常の食事による心拍数の上昇幅には及ばない。例えば、一皿目の料理による心拍上昇のピーク点p21の心拍数からベースラインBL2の心拍数を減算することにより、一皿目の料理による心拍変化のピークの振幅P21は、10bpm程度と求まる。 On the other hand, as shown in FIG. 3, in the heartbeat data H2, the first dish of the course meals is taken during the meal period R21, the second dish is taken during the meal period R22, and the third course is taken during the meal period R22. A dish is ingested during meal period R23. An increase in heart rate was also observed when the course meal was served in this way, but the increase in heart rate due to the intake of each plate of food was similar to the increase in heart rate due to normal meals. not wide enough. For example, by subtracting the heart rate of the baseline BL2 from the heart rate at the peak point p21 of heart rate increase due to the first dish of food, the peak amplitude P21 of the heart rate change due to the first dish of food is found to be approximately 10 bpm.

これらピークの振幅P11およびピークの振幅P21を比較すると、通常の食事が行われる場合と、一皿目の料理が摂取される場合とでは、3倍程度の開きがある。これは、コース料理では各皿の料理が摂取される食事期間と食事期間の間にインターバルがあるので、一皿当たりの食べ物の摂取量が通常の食事の一食分の摂取量に比べて少ないことが一因に挙げられる。このようにコース料理が行われる場合、通常の食事が行われる場合に比べて食事らしい特徴が心拍変化として現れにくい。 Comparing the peak amplitude P11 and the peak amplitude P21, there is a difference of about 3 times between when a normal meal is eaten and when the first plate of food is ingested. This is because in course meals, there is an interval between the meal periods in which each plate of food is eaten, so the amount of food consumed per plate is less than the amount consumed per meal of a normal meal. is one of the reasons. When a course meal is served in this way, features typical of a meal are less likely to appear as changes in the heart rate than when a normal meal is served.

例えば、心拍変化の特徴量として、食事開始後に先行して現れる第1ピークおよび第1ピークに後続して現れる第2ピークのうち、食事行為、例えば食道の蠕動運動等に伴って現れる第1ピークの振幅が算出される場合を例に挙げる。このとき、図2に示す心拍データH1で観測されるピークの振幅P11が第1ピークの振幅として算出される場合と、図3に示す心拍データH2で観測されるピークの振幅P21が第1ピークの振幅として算出される場合とを比べると、後者は前者に比べて3分の1程度しかない。このような特徴量を閾値と比較することで食事または非食事を判定したり、機械学習により生成されたモデルへ特徴量を入力することで食事または非食事のクラス分類を行ったりしても、コース料理は、通常の食事よりも検知しづらいことがわかる。 For example, among the first peak that appears prior to the start of a meal and the second peak that appears subsequent to the first peak, the first peak that appears with an eating act, such as peristaltic movement of the esophagus, as the heart rate variability feature value. Take for example the case where the amplitude of is calculated. At this time, the amplitude P11 of the peak observed in the heartbeat data H1 shown in FIG. 2 is calculated as the amplitude of the first peak, and the amplitude P21 of the peak observed in the heartbeat data H2 shown in FIG. , the latter is only about one third of the former. Whether eating or not eating is determined by comparing such feature values with a threshold, or classifying eating or not eating by inputting feature values into a model generated by machine learning, It can be seen that course meals are harder to detect than normal meals.

[課題解決のアプローチの一面]
そこで、本実施例に係るサーバ装置30は、上記のヘルスケア支援サービスの一環として、心拍データに複数のピークが含まれる場合、各ピークから算出される特徴量と、ピークの出現間隔とに基づいてコース料理が摂取されたか否かを判定する。
[One aspect of the problem-solving approach]
Therefore, as part of the above-described healthcare support service, the server device 30 according to the present embodiment, when the heartbeat data includes a plurality of peaks, based on the feature amount calculated from each peak and the appearance interval of the peaks, determines whether or not the course meal has been ingested.

図4及び図5は、心拍データの一例を示す図である。図4及び図5には、いずれも図3に示す心拍データH2が示されている。これらのうち、図4に示す心拍データH2には、心拍データH2に含まれる3つのピークp21~p23が丸囲いの標示でピックアップして示されている。さらに、図5に示す心拍データH2には、3つのピークp21~p23ごとに面積S1~S3の特徴量がハッチングで示されている。さらに、図5には、ピークp21の出現が終了してからピークp22の出現が開始するまでの間隔がピークの出現間隔T1として示されると共に、ピークp22の出現が終了してからピークp23の出現が開始するまでの間隔がピークの出現間隔T2として示されている。 4 and 5 are diagrams showing an example of heartbeat data. 4 and 5 both show the heartbeat data H2 shown in FIG. Of these, in the heartbeat data H2 shown in FIG. 4, three peaks p21 to p23 included in the heartbeat data H2 are picked up and indicated by circles. Furthermore, in the heartbeat data H2 shown in FIG. 5, the feature values of the areas S1 to S3 are hatched for each of the three peaks p21 to p23. Furthermore, in FIG. 5, the interval from the end of appearance of peak p21 to the start of appearance of peak p22 is shown as peak appearance interval T1, and the interval from the end of appearance of peak p22 to the appearance of peak p23 is shown. is shown as the peak appearance interval T2.

図4に示す心拍データH2には、心拍数の振幅が所定の閾値Th1を超えるピークの検出が実行される。例えば、閾値Th1には、コース料理における一皿当たりの食べ物の摂取量が通常の食事の一食分の摂取量に比べて少ない側面から、通常の食事時に観測される心拍上昇幅よりも小さい値、例えば8bpmを設定することができる。このような側面から、心拍数の振幅が上記の閾値Th1を超えるピークのことを「弱ピーク」と記載する場合がある。これによって、図4に丸囲いの標示で示される通り、心拍データH2から弱ピークp21~p23が得られる。 In the heartbeat data H2 shown in FIG. 4, detection of a peak at which the heartbeat amplitude exceeds a predetermined threshold Th1 is performed. For example, the threshold Th1 is a value smaller than the heart rate increase observed during a normal meal, because the food intake per plate in the course meal is less than the intake per meal of a normal meal. For example, 8 bpm can be set. From this aspect, a peak at which the heart rate amplitude exceeds the above threshold Th1 may be referred to as a "weak peak". This results in weak peaks p21-p23 from the heartbeat data H2, as indicated by circles in FIG.

続いて、図5に示すように、3つの弱ピークp21~p23ごとに面積S1~S3が各弱ピークp21~p23の特徴量として算出される。例えば、弱ピークp21の開始から弱ピークp21の終了までの区間において、心拍データH2の波形およびベースラインBL2により囲まれる図形の面積S1が弱ピークp21の特徴量として算出される。これと同様にして、弱ピークp22の開始から弱ピークp22の終了までの区間において、心拍データH2の波形およびベースラインBL2により囲まれる図形の面積S2が弱ピークp22の特徴量として算出される。さらに、弱ピークp23の開始から弱ピークp23の終了までの区間において、心拍データH2の波形およびベースラインBL2により囲まれる図形の面積S3が弱ピークp23の特徴量として算出される。 Subsequently, as shown in FIG. 5, the areas S1 to S3 are calculated for each of the three weak peaks p21 to p23 as feature amounts of the weak peaks p21 to p23. For example, in the section from the start of the weak peak p21 to the end of the weak peak p21, the area S1 of the figure surrounded by the waveform of the heartbeat data H2 and the baseline BL2 is calculated as the feature amount of the weak peak p21. Similarly, in the section from the start of the weak peak p22 to the end of the weak peak p22, the area S2 of the figure surrounded by the waveform of the heartbeat data H2 and the baseline BL2 is calculated as the feature amount of the weak peak p22. Furthermore, in the section from the start of the weak peak p23 to the end of the weak peak p23, the area S3 of the figure surrounded by the waveform of the heartbeat data H2 and the baseline BL2 is calculated as the feature amount of the weak peak p23.

さらに、図5に示すように、心拍データH2から弱ピークの出現間隔T1および出現間隔T2が算出される。ここで言う「出現間隔」とは、あくまで一側面として、ある弱ピークの出現が終了してからその次の弱ピークの出現が開始するまでの間隔を指す。このような定義の場合、2つの隣接する弱ピークにつき1つの出現間隔が算出されるので、弱ピークの数をN個としたとき、出現間隔は(N-1)個となる。図5に示す心拍データH2には、3つの弱ピークp21~p23が含まれるので、2(=3-1)個の出現間隔が求められる。すなわち、弱ピークp21の出現から終了した時点から弱ピークp22の出現が開始した時点までの期間が出現間隔T1として算出される。これと共に、弱ピークp22の出現から終了した時点から弱ピークp23の出現が開始した時点までの期間が出現間隔T2として算出される。なお、図5には、特徴量のあくまで一例として、弱ピークの面積や出現間隔を例に挙げたが、弱ピークの振幅、例えば弱ピークの心拍数およびベースラインの心拍数の差などの他の特徴量として算出することとしてもかまない。 Further, as shown in FIG. 5, the appearance interval T1 and the appearance interval T2 of weak peaks are calculated from the heartbeat data H2. The term "appearance interval" as used herein refers, as one aspect, to an interval from the end of the appearance of a certain weak peak to the start of the appearance of the next weak peak. With this definition, one appearance interval is calculated for two adjacent weak peaks, so if the number of weak peaks is N, the appearance intervals are (N−1). Since the heartbeat data H2 shown in FIG. 5 includes three weak peaks p21 to p23, 2 (=3-1) occurrence intervals are obtained. That is, the period from the time when the weak peak p21 ends to the time when the weak peak p22 starts appearing is calculated as the appearance interval T1. Along with this, the period from the time when the weak peak p22 appears to the end to the time when the weak peak p23 starts appearing is calculated as the appearance interval T2. In FIG. 5, the areas and appearance intervals of the weak peaks are given as examples of the feature values, but the amplitude of the weak peaks, the difference between the heart rate of the weak peak and the heart rate of the baseline, etc. It may be calculated as a feature amount of .

その上で、各弱ピークの特徴量が第1の条件を満たすか否かが判定される。あくまで一例として、各弱ピークの特徴量の大小に関する順序がコース料理の各皿の摂取量の大小に関する順序と対応するか否かが判定される。例えば、コース料理では、順番が後になるにつれて摂取量が大きい食べ物が提供される側面がある。このような側面に従えば、メニューに含まれる皿が弱ピークの個数と同数である3つであるとしたとき、各皿の摂取量は、一皿目の摂取量<二皿目の摂取量<三皿目の摂取量といった大小関係の順序になる可能性が高い。このことから、弱ピークp21~p23の特徴量の大小に関する順序が弱ピークp21の面積S1<弱ピークp22の面積S2<弱ピークp23の面積S3の順、すなわちコース料理の各皿で提供される摂取量の順に対応するか否かが判定される。 Then, it is determined whether or not the feature amount of each weak peak satisfies the first condition. By way of example only, it is determined whether or not the order regarding the magnitude of the feature amount of each weak peak corresponds to the order regarding the magnitude of the intake of each dish of the course meal. For example, in a course meal, there is an aspect that food with a larger intake is served later in the order. According to this aspect, if the number of dishes included in the menu is three, which is the same number as the number of weak peaks, the intake of each dish is the intake of the first dish < the intake of the second dish. <There is a high possibility that it will be in order of magnitude, such as the intake of the third dish. Therefore, the order of magnitude of the feature amounts of the weak peaks p21 to p23 is the order of the area S1 of the weak peak p21<the area S2 of the weak peak p22<the area S3 of the weak peak p23, that is, each dish of the course meal. It is determined whether or not there is correspondence in the order of intake.

これと同時または並行して、弱ピークの出現間隔が第2の条件を満たすか否かが判定される。あくまで一例として、弱ピークの出現間隔がコース料理で各皿の食べ物が提供される間隔に対応するか否かが判定される。例えば、コース料理では、メニューで定められた順番にしたがって当該順番に対応する皿が提供されるが、ある皿が提供されてから次の皿が提供されるまでには一定のインターバルが存在する。すなわち、次の皿は、その直前に提供された皿の料理が食べ終えられたのがコース料理の皿をサーブする人物に確認されてからとなる。その一方で、前の皿の料理が食べ終えられたままの状態で放置される事態も起こりづらい。このことから、上記のインターバルは、一定の時間以内に収束する可能性が高い。そこで、弱ピークの出現間隔が下限値Tminおよび上限値Tmaxにより設定される料理のサーブ間隔以内であるか否かが判定される。 Simultaneously or in parallel with this, it is determined whether or not the appearance interval of the weak peaks satisfies the second condition. By way of example only, it is determined whether or not the intervals at which the weak peaks appear correspond to the intervals at which each plate of food is served in the course meal. For example, in a course meal, the dishes corresponding to the order specified in the menu are served according to the order, and there is a certain interval between the serving of one dish and the serving of the next dish. That is, the next plate is served only after the person serving the course meal confirms that the immediately preceding plate has been eaten. On the other hand, it is less likely that the food on the previous plate will be left uneaten. From this, it is highly likely that the above intervals will converge within a certain period of time. Therefore, it is determined whether or not the appearance interval of the weak peak is within the food serving interval set by the lower limit value Tmin and the upper limit value Tmax.

ここで、各弱ピークの特徴量が第1の条件を満たす場合、対象者の心拍上昇の推移がコース料理のメニューにしたがって提供される各皿の摂取量の推移に対応する可能性が高まる。さらに、弱ピークの出現間隔が第2の条件を満たす場合、対象者の心拍上昇がコース料理で各皿の食べ物が提供される間隔に対応する可能性が高まる。言い換えれば、運動や精神的要素などの食事以外の外乱が原因となって心拍上昇が発生している可能性が低くなる。 Here, when the feature amount of each weak peak satisfies the first condition, there is a high possibility that the change in the elevation of heart rate of the subject corresponds to the change in intake of each dish provided according to the course meal menu. Furthermore, when the appearance interval of the weak peaks satisfies the second condition, there is a high possibility that the increase in heart rate of the subject corresponds to the interval at which each plate of food is served in the course meal. In other words, the increased heart rate is less likely to be caused by disturbances other than diet, such as exercise or mental factors.

これらのことから、本実施例では、各弱ピークの特徴量が第1の条件を満たし、かつ弱ピークの出現間隔が第2の条件を満たす場合、コース料理が摂取されたと判定する。これによって、コース料理が摂取される場合に現れる心拍変化の特徴を捉えて食事または非食事を判定することができる。したがって、コース料理の食事の検知を実現できる。 For this reason, in this embodiment, when the feature amount of each weak peak satisfies the first condition and the appearance interval of the weak peaks satisfies the second condition, it is determined that the course meal has been ingested. This makes it possible to determine eating or non-meal by capturing the characteristics of heart rate changes that appear when a course meal is ingested. Therefore, it is possible to realize the detection of a course meal.

[サーバ装置30の機能的構成]
次に、本実施例に係るサーバ装置30の機能的構成について説明する。図1に示すように、サーバ装置30は、取得部31と、適用部32と、第1検知部33と、第2検知部34と、提供部35とを有する。なお、サーバ装置30は、図1に示す機能部以外にも既知のコンピュータが有する各種の機能部、例えば他の装置との間で通信制御を行う通信インタフェースなどを有することとしてもかまわない。
[Functional Configuration of Server Device 30]
Next, a functional configuration of the server device 30 according to this embodiment will be described. As shown in FIG. 1 , the server device 30 has an acquisition unit 31 , an application unit 32 , a first detection unit 33 , a second detection unit 34 and a provision unit 35 . In addition to the functional units shown in FIG. 1, the server device 30 may have various functional units of known computers, such as a communication interface for controlling communication with other devices.

図1に示す取得部31、適用部32、第1検知部33、第2検知部34及び提供部35などの機能部は、CPU(Central Processing Unit)やMPU(Micro Processing Unit)などのハードウェアプロセッサにより仮想的に実現される。すなわち、プロセッサは、図示しない記憶装置、例えばHDD(Hard Disk Drive)、光ディスクやSSD(Solid State Drive)などからOS(Operating System)の他、上記のヘルスケア支援プログラムまたはそのモジュールである食事検知プログラムなどのプログラムを読み出す。その上で、プロセッサは、ヘルスケア支援プログラムや食事検知プログラムを実行することにより、RAM(Random Access Memory)等のメモリ上に上記の機能部に対応するプロセスを展開する。このようにプログラムが実行される結果、上記の機能部がプロセスとして仮想的に実現される。ここでは、プロセッサの一例として、CPUやMPUを例示したが、汎用型および特化型を問わず、任意のプロセッサにより上記の機能部が実現されることとしてもかまわない。この他、上記の機能部または機能部の一部は、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)などのハードワイヤードロジックによって実現されることとしてもかまわない。 Functional units such as the acquisition unit 31, the application unit 32, the first detection unit 33, the second detection unit 34, and the provision unit 35 shown in FIG. Virtually implemented by a processor. That is, the processor converts storage devices (not shown) such as a HDD (Hard Disk Drive), an optical disk, an SSD (Solid State Drive) into an OS (Operating System), as well as the above healthcare support program or a meal detection program which is a module thereof. Read programs such as In addition, the processor develops processes corresponding to the above functional units on a memory such as a RAM (Random Access Memory) by executing a healthcare support program and a meal detection program. As a result of executing the program in this manner, the functional units described above are virtually realized as processes. Here, a CPU and an MPU are illustrated as examples of processors, but the above functional units may be implemented by any processor, regardless of whether it is a general-purpose type or a specialized type. In addition, the functional unit or a part of the functional unit may be implemented by hardwired logic such as ASIC (Application Specific Integrated Circuit) or FPGA (Field Programmable Gate Array).

上記の機能部には、HDD、光ディスクやSSDなどの記憶装置を外部記憶装置または補助記憶装置として使用できる動作環境が与えられると共に、プロセッサがアクセス可能なメモリもしくはメモリが有する記憶領域の一部がワークエリアとして割り当てられる。例えば、メモリの例として、各種の半導体メモリ素子、例えばRAMやフラッシュメモリなどの主記憶装置が対応する。また、プロセッサがアクセス可能な記憶領域は、メモリ上にワークエリアとして実現されずともよく、外部記憶装置や補助記憶装置に退避されたスワップ領域であってもかまわない。 The above functional units are provided with an operating environment in which storage devices such as HDDs, optical discs, and SSDs can be used as external storage devices or auxiliary storage devices. Allocated as a work area. For example, the memory corresponds to various semiconductor memory devices such as main storage devices such as RAM and flash memory. Also, the storage area accessible by the processor may not be implemented as a work area on the memory, and may be a swap area saved in an external storage device or an auxiliary storage device.

取得部31は、心拍データを取得する処理部である。 The acquisition unit 31 is a processing unit that acquires heartbeat data.

一実施形態として、取得部31は、心拍センサ11から取得された心拍データを適用部32へ出力する。このようにウェアラブル端末10から心拍データなどのセンサイベントを取得する取得部31の機能は、一例として、MQTTサーバ用のプログラムを実行させることにより実装できる。 As one embodiment, the acquisition unit 31 outputs heartbeat data acquired from the heartbeat sensor 11 to the application unit 32 . The function of the acquisition unit 31 that acquires sensor events such as heartbeat data from the wearable terminal 10 can be implemented, for example, by executing a program for the MQTT server.

適用部32は、心拍データに所定のフィルタを適用する処理部である。 The application unit 32 is a processing unit that applies a predetermined filter to heartbeat data.

一実施形態として、適用部32は、取得部31により取得された心拍データに中央値を抽出するメジアンフィルタを適用する。このようにメジアンフィルタが適用された心拍データは、通常の食事を検知する第1検知部33およびコース料理を検知する第2検知部34へ出力される。 As one embodiment, the application unit 32 applies a median filter that extracts the median value to the heartbeat data acquired by the acquisition unit 31 . The heartbeat data to which the median filter has been applied in this way is output to the first detection unit 33 that detects normal meals and the second detection unit 34 that detects course meals.

ここで、心拍データにメジアンフィルタを適用するのは、1つの側面として、心拍データには急峻なノイズが含まれるからである。すなわち、心拍数は、コンピュータ上では42bpm~240bpmの離散値として観測されるが、時間的に連続して変化する性質を有する。このため、心拍数が上昇したり、あるいは上昇した心拍数が降下したりする場合でも、ある時点の心拍数が次の時点でかけ離れた値には変化しにくい。例えば、心拍データにおいて80bpm、120bpm、81bpmといった心拍数が時系列に観測されたとしても、現実には、心拍数が80bpmから120bpmへ上昇したり、心拍数が120bpmから81bpmへ下降したりする心拍変化は起こりづらい。このため、心拍データにメディアフィルタを適用することにより、各時点における心拍数の観測値は移動中央値に置き換えられる。例えば、上記の例で言えば、120bpmの観測値は3つの心拍数の中央値である81bpmへ置き換えられる。これによって、急峻なノイズを含む心拍データが心拍の性質に反しない程度に滑らかにされる。 Here, one of the reasons why the median filter is applied to the heartbeat data is that the heartbeat data contains steep noise. That is, the heart rate is observed as a discrete value between 42 bpm and 240 bpm on a computer, but has the property of continuously changing over time. Therefore, even if the heart rate rises or the heart rate that has risen falls, the heart rate at one point in time is unlikely to change to a far different value at the next point in time. For example, even if heart rate data such as 80 bpm, 120 bpm, and 81 bpm are observed in time series, in reality, the heart rate increases from 80 bpm to 120 bpm and the heart rate decreases from 120 bpm to 81 bpm. Change is hard to come by. Therefore, by applying a media filter to the heart rate data, the heart rate observations at each point in time are replaced with a moving median. For example, in the example above, an observation of 120 bpm would be replaced by the median of the three heart rates, 81 bpm. As a result, the heartbeat data containing steep noise is smoothed to the extent that it does not violate the nature of the heartbeat.

なお、ここでは、心拍データに適用するフィルタの一例として、メジアンフィルタを例に挙げたが、これに限定されない。例えば、ローパスフィルタ等の他のフィルタを心拍データに適用することができるのは言うまでもない。 Although the median filter is used here as an example of the filter applied to the heartbeat data, the filter is not limited to this. It will be appreciated that other filters can be applied to the heart rate data, for example a low pass filter.

第1検知部33は、通常の食事を検知する処理部である。 The first detection unit 33 is a processing unit that detects normal meals.

一実施形態として、第1検知部33は、適用部32によりメジアンフィルタが適用された心拍データに所定の時間長、例えば210分間を持つ第1窓を設定する。続いて、第1検知部33は、第1窓が設定された区間に対応する部分データを切り出す。このように第1窓に対応する部分データが切り出された後、第1検知部33は、前回に設定された第1窓を所定のずらし幅、例えば5分間だけシフトさせる。その上で、第1検知部33は、シフト後の第1窓に対応する部分データを切り出す。以下、心拍データのうち第1窓に対応する部分が切り出された部分データのことを「第1窓データ」と記載する場合がある。 As one embodiment, the first detection unit 33 sets a first window having a predetermined time length, for example, 210 minutes, to the heartbeat data to which the median filter has been applied by the application unit 32 . Subsequently, the first detection unit 33 cuts out partial data corresponding to the section in which the first window is set. After the partial data corresponding to the first window is cut out in this way, the first detector 33 shifts the previously set first window by a predetermined shift width, for example, 5 minutes. After that, the first detection unit 33 cuts out partial data corresponding to the first window after the shift. Hereinafter, partial data obtained by extracting a portion corresponding to the first window from the heartbeat data may be referred to as "first window data".

このように切り出された第1窓データごとに、第1検知部33は、当該第1窓データの開始時刻から所定の期間、例えば60分間までの期間を食事前とし、第1窓データの開始時刻から所定の時間後を「食事開始時刻」として、通常の食事に対応する心拍変化を表す特徴量を算する。 For each first window data cut out in this way, the first detection unit 33 determines that a predetermined period, for example, 60 minutes from the start time of the first window data is before meals, and the first window data is started. A predetermined time after the time is defined as the "meal start time", and a feature value representing a change in heart rate corresponding to a normal meal is calculated.

ここで、通常の食事に関する特徴量の一例について説明する。例えば、通常の食事に伴って食事開始後に発生する心拍数の変化には、時間経過に伴って心拍数が上昇(増加)して下降(減少)に転ずる2つのピークが存在する。すなわち、食事開始時刻からの時間経過に伴って、通常の食事が開始された後に先行して出現する心拍変化のピークである「第1ピーク」と、第1ピークに後続して出現する心拍変化のピークである「第2ピーク」とが出現する。なお、以下では、第1ピークの部分の波形を含む所定の領域のことを「第1ピーク領域」と記載し、第2ピークの部分の波形を含む所定の領域のことを「第2ピーク領域」と記載する場合がある。 Here, an example of a feature amount related to normal meals will be described. For example, changes in the heart rate that occur after the start of a normal meal include two peaks in which the heart rate rises (increases) and then falls (decreases) over time. That is, with the passage of time from the meal start time, the "first peak", which is the peak of the heart rate change that appears before the start of the normal meal, and the heart rate change that appears after the first peak. A "second peak" appears. In the following description, the predetermined region including the waveform of the first peak portion is referred to as "first peak region", and the predetermined region including the waveform of the second peak portion is referred to as "second peak region". ” may be stated.

このうち、「第1ピーク」は、食事行為に伴う心拍上昇であり、例えば、咀嚼や食道の蠕動運動に起因する心拍数上昇と推定される。また、「第2ピーク」は、例えば、食事行為により摂取された摂取物、すなわち食物等に対する消化器官(胃腸等)内の消化活動に起因する心拍数上昇と推定される。このことから、食事後には、第1ピークが現れた後に第2ピークが現れ、かつ第1ピークよりも第2ピークの方が長期間にわたる傾向にあるという知見を得ることができる。 Among these, the "first peak" is an increase in heart rate associated with eating, and is presumed to be an increase in heart rate due to, for example, mastication or peristalsis of the esophagus. Also, the "second peak" is presumed to be, for example, an increase in heart rate due to digestive activity in the digestive organs (gastrointestinal tract, etc.) for ingested food, ie, food. From this, it is possible to obtain knowledge that after a meal, the second peak appears after the appearance of the first peak, and that the second peak tends to last longer than the first peak.

これら第1ピークおよび第2ピークの傾向から、第1検知部33は、一例として、メジアンフィルタ適用後の心拍データから、下記の特徴量を算出することができる。例えば、第1ピーク領域a1の面積、及び、第2ピーク領域a2の面積などを特徴量として算出できる。また、第1ピークへ至るまでの心拍数の上昇速度、第2ピークへ至るまでの心拍数の上昇速度、第1ピークからの心拍数の回復速度、及び、第2ピークからの心拍数の回復速度なども特徴量として算出できる。また、第1ピークを形成する波形のうち心拍数が最大の値をとるピークの振幅P1、及び、第2ピークを形成する波形のうち心拍数が最大の値をとるピークの振幅P2を特徴量として算出できる。また、食事開始時刻を始点としたとき、ピークの振幅P1が計測される時刻を終点とする経過時間t1、ピークの振幅P1を経た心拍数が所定値まで回復する時刻を終点とする経過時間t2、ピークの振幅P2が計測される時刻を終点とする経過時間t3、及び、ピークの振幅P2を経た心拍数が所定値まで回復する時刻を終点とする経過時間t4などを特徴量として算出することもできる。この他、食事開始時刻以前に計測される心拍数のうち最低の値をとる食事前心拍数と、食事開始時刻以前の区間で食事前心拍数から食事開始時刻の心拍数までの心拍数の上昇幅により形成される領域の面積とを特徴量として算出することもできる。 Based on the tendencies of these first peaks and second peaks, the first detection unit 33 can, for example, calculate the following feature amount from the heartbeat data after application of the median filter. For example, the area of the first peak region a1, the area of the second peak region a2, and the like can be calculated as feature amounts. In addition, heart rate increase rate up to the first peak, heart rate increase rate up to the second peak, heart rate recovery rate from the first peak, and heart rate recovery rate from the second peak Velocity and the like can also be calculated as feature amounts. Further, the amplitude P1 of the peak of the waveform forming the first peak at which the heart rate takes the maximum value, and the amplitude P2 of the peak of the waveform forming the second peak at which the heart rate takes the maximum value are the feature values. can be calculated as In addition, when the meal start time is the starting point, the elapsed time t1 is the ending point when the peak amplitude P1 is measured, and the elapsed time t2 is the ending point when the heart rate recovers to a predetermined value after passing the peak amplitude P1. , the elapsed time t3 ending at the time when the peak amplitude P2 is measured, and the elapsed time t4 ending at the time when the heart rate recovers to a predetermined value after passing the peak amplitude P2 are calculated as feature quantities. can also In addition, the pre-meal heart rate, which is the lowest heart rate measured before the meal start time, and the increase in heart rate from the pre-meal heart rate to the heart rate at the meal start time in the section before the meal start time It is also possible to calculate the area of the region formed by the width as the feature amount.

このような特徴量が算出された後、第1検知部33は、上記の特徴量がベクトル化された特徴量ベクトルを入力として食事らしさを表す確信度を出力するモデルを用いて、第1窓データのクラス分類、例えば通常の食事または非通常の食事を行うことにより、通常の食事を検知する。例えば、上記のモデルが-1から+1までの値を出力する場合、第1検知部33は、第1窓データごとに当該第1窓データから算出された特徴量ベクトルを上記のモデルに入力する。この結果、上記のモデルからの出力値が所定値、例えば「0」以上である場合、第1検知部33は、当該第1窓データを通常の食事に分類する。一方、食事推定モデルからの出力値が所定値、例えば「0」未満である場合、第1検知部33は、当該第1窓データを非通常の食事に分類する。なお、上記のモデルは、サポートベクタマシン、ブースティングやニューラルネットワークなどの任意のアルゴリズムにしたがって、部分データに正例「通常の食事」または負例「非通常の食事」の正解のラベルが付与された教師データに機械学習を実行することにより得ることができる。 After such a feature amount is calculated, the first detection unit 33 uses a model that outputs a certainty factor representing food-likeness with input of the feature amount vector obtained by vectorizing the above-described feature amount, and uses the first window A normal meal is detected by classifying the data, eg, having a normal meal or an atypical meal. For example, when the above model outputs values from −1 to +1, the first detection unit 33 inputs the feature amount vector calculated from the first window data for each first window data to the above model. . As a result, when the output value from the model is a predetermined value, for example, "0" or more, the first detection unit 33 classifies the first window data as a normal meal. On the other hand, when the output value from the meal estimation model is less than a predetermined value, for example, "0", the first detection unit 33 classifies the first window data as an unusual meal. In addition, in the above model, according to arbitrary algorithms such as support vector machines, boosting, and neural networks, partial data are labeled with the correct answer of positive examples “normal meals” or negative examples “abnormal meals”. It can be obtained by performing machine learning on the training data.

このように、第1検知部33は、第1窓データごとに当該第1窓データを通常の食事または非通常の食事に分類することができる。 In this manner, the first detection unit 33 can classify the first window data for each first window data into a normal meal or an abnormal meal.

第2検知部34は、コース料理の摂取を検知する処理部である。第2検知部34は、図1に示すように、検出部34A、設定部34B、抽出部34C、算出部34Dおよび判定部34Eを有する。 The second detection unit 34 is a processing unit that detects intake of a course meal. As shown in FIG. 1, the second detection section 34 has a detection section 34A, a setting section 34B, an extraction section 34C, a calculation section 34D and a determination section 34E.

検出部34Aは、心拍データから上記の弱ピークを検出する処理部である。 The detection unit 34A is a processing unit that detects the above weak peak from the heartbeat data.

一実施形態として、検出部34Aは、適用部32によりメジアンフィルタが適用された心拍データから上記の弱ピークを検出する。例えば、検出部34Aは、メジアンフィルタ適用後の心拍データから検出されるピーク点で計測される心拍数と、当該ピーク点への心拍上昇が開始する開始点で計測される心拍数との差分が上記の閾値Th1を超える弱ピークを検出する。ここで、上記の「ピーク点」の一例として、上記の心拍データの微分波形で観測される上に凸のゼロクロス点が用いられる。さらに、上記の「開始点」の一例として、ピーク点よりも前に観測される下に凸のゼロクロス点のうち心拍数が下がりきった点が用いられる。 As one embodiment, the detection unit 34A detects the weak peak from the heartbeat data to which the median filter has been applied by the application unit 32 . For example, the detection unit 34A determines that the difference between the heart rate measured at the peak point detected from the heart rate data after application of the median filter and the heart rate measured at the start point where the heart rate rises to the peak point is A weak peak exceeding the above threshold Th1 is detected. Here, as an example of the above-mentioned "peak point", a convex zero-crossing point observed in the differential waveform of the heartbeat data is used. Further, as an example of the above-mentioned "starting point", a point at which the heart rate has completely decreased is used among the downward convex zero-crossing points observed before the peak point.

設定部34Bは、心拍データに第2窓を設定する。 The setting unit 34B sets a second window for the heartbeat data.

一実施形態として、設定部34Bは、適用部32によりメジアンフィルタが適用された心拍データに所定の時間長、例えば90分間を持つ第2窓を設定する。ここで言う「第2窓」は、通常の食事の摂取に伴って発生する第2ピークの心拍上昇が平常の心拍数に回復するまでの変化を捉えるための第1窓とは用途が異なる。すなわち、第2窓は、一側面として、コース料理で提供される複数の皿の食べ物が摂取されるのに伴って発生する複数の弱ピークを捉えるために用いられる。例えば、第2窓には、コース料理が摂取される場合にかかると予想される最大の時間長、例えば90分間が設定される。 As one embodiment, the setting unit 34B sets a second window having a predetermined time length, for example, 90 minutes, to the heartbeat data to which the median filter has been applied by the application unit 32 . The “second window” here is used differently from the first window for capturing the change from the second peak increase in heart rate that occurs with the intake of normal meals until the heart rate recovers to normal. That is, the second window is used, as one aspect, to capture multiple weak peaks that occur as multiple plates of food provided in a course meal are ingested. For example, the second window is set to the maximum length of time, for example, 90 minutes, which is expected to be required when a course meal is taken.

続いて、設定部34Bは、第2窓が設定された区間に対応する部分データを切り出す。このように第2窓に対応する部分データが切り出された後、設定部34Bは、前回に設定された第2窓を所定のずらし幅、例えば5分間だけシフトさせる。その上で、設定部34Bは、は、シフト後の第2窓に対応する部分データを切り出す。以下、心拍データのうち第2窓に対応する部分が切り出された部分データのことを「第2窓データ」と記載する場合がある。 Subsequently, the setting unit 34B cuts out partial data corresponding to the section in which the second window is set. After the partial data corresponding to the second window is cut out in this way, the setting unit 34B shifts the previously set second window by a predetermined shift width, for example, 5 minutes. After that, the setting unit 34B cuts out the partial data corresponding to the second window after the shift. Hereinafter, the partial data obtained by extracting the portion corresponding to the second window from the heartbeat data may be referred to as "second window data".

抽出部34Cは、上記の第2窓データからコース料理の消化に伴って発生する心拍変化に対応する長期トレンドを抽出する処理部である。 The extraction unit 34C is a processing unit that extracts a long-term trend corresponding to changes in the heart rate that occur as the course meal is digested from the second window data.

ここで、上記の長期トレンドを抽出するのは、コース料理において終盤の皿の摂取に対応して現れる弱ピークに重畳する、序盤の皿の消化に対応して現れる長期トレンドの影響を心拍データから除去するためである。 Here, the above-mentioned long-term trend is extracted from the heartbeat data by estimating the effect of the long-term trend that appears in response to the digestion of the early dish, which is superimposed on the weak peak that appears in response to the intake of the final dish in the course meal. It is for removing.

すなわち、コース料理において提供されるメニューの順番が進むにつれてその順番よりも前に摂取された食べ物の消化活動も進む。このように、皿の料理が摂取される食事行為、例えば食道の蠕動運動等に加えて、それよりも前の順番で摂取された食べ物の消化活動が並行して行われる分、メニューの序盤に比べてメニューの終盤の方が心拍の上昇幅が大きくなりやすい傾向がある。図3の例で言えば、弱ピークの振幅は、一皿目、二皿目、三皿目の順に増加する傾向にあるので、メニューの終盤の方がメニューの序盤に比べて大きくなる。このように、序盤の皿の食べ物の消化に伴って現れる心拍変化が終盤の皿に対応して現れる弱ピークに重畳したままでは、一側面として、終盤の弱ピークから指標化される特徴量、例えば振幅や面積などが過大に評価されることがある。これが一因となって、コース料理の各皿に対応して現れる弱ピークの特徴そのものを評価してコース料理の食事を検知するのが困難になる。このことから、弱ピークに重畳する消化の心拍変化の影響を除去する側面から、第2窓データから長期トレンドが抽出される。 That is, as the order of menus provided in the course meal progresses, the digestive activity of the food ingested before the order also progresses. In this way, in addition to the eating act of ingesting the food on the plate, for example, the peristaltic movement of the esophagus, the digestive activity of the food ingested in the order before that is performed in parallel, so In comparison, there is a tendency for the increase in heart rate to increase at the end of the menu. In the example of FIG. 3, the amplitude of the weak peak tends to increase in the order of the first, second, and third dishes, so the end of the menu is larger than the beginning of the menu. In this way, while the changes in the heart rate appearing with the digestion of the food in the early stage are superimposed on the weak peaks appearing corresponding to the late stage dishes, as one aspect, the feature values indexed from the late weak peaks, For example, amplitude and area may be overestimated. This is one of the reasons why it is difficult to detect a meal of a course meal by evaluating the characteristics of the weak peaks appearing corresponding to each plate of the course meal. From this, the long-term trend is extracted from the second window data from the aspect of removing the effect of heart rate variation of digestion superimposed on the weak peak.

このとき、抽出部34Cは、設定部34Bにより心拍データから切り出される全ての第2窓データから必ずしも長期トレンドを抽出せずともかまわない。例えば、抽出部34Cは、設定部34Bにより第2窓データが切り出される度に、当該第2窓データと、第1検知部33により通常の食事に分類された第1窓データとが重複するか否かを判定する。このとき、通常の食事のクラスに分類された第1窓データと第2窓データが重複する場合、第1検知部33により既に食事が検知できているので、必ずしも改めてコース料理の食事として検知し直さずともかまわない。一方、通常の食事のクラスに分類された第1窓データと第2窓データが重複しない場合、第1窓データから算出される通常の食事の特徴量では評価されづらいコース料理の特徴が見逃されている可能性が残る。このため、抽出部34Cは、第2窓データに含まれる弱ピークの個数が所定数、例えば「3」以上であるか否かをさらに判定する。このとき、第2窓データに含まれる弱ピークの個数が所定数未満である場合、複数の皿の食べ物が摂食されていない可能性が高まる。この場合、コース料理の食事が行われていないと識別し、以降の処理を中止することができる。一方、第2窓データに含まれる弱ピークの個数が所定数以上である場合、複数の皿の食べ物が摂食された可能性が高まる。この場合、上記の長期トレンドの抽出が開始される。 At this time, the extraction unit 34C does not necessarily have to extract the long-term trend from all the second window data extracted from the heartbeat data by the setting unit 34B. For example, every time the setting unit 34B cuts out the second window data, the extraction unit 34C determines whether the second window data overlaps with the first window data classified as normal meals by the first detection unit 33. determine whether or not At this time, when the first window data and the second window data classified into the normal meal class overlap, the meal is already detected by the first detection unit 33, so it is not necessarily detected again as a course meal. It doesn't matter if you don't fix it. On the other hand, when the first window data and the second window data classified into the normal meal class do not overlap, the features of the course meal, which are difficult to evaluate with the feature amount of the normal meal calculated from the first window data, are overlooked. There remains the possibility that Therefore, the extraction unit 34C further determines whether or not the number of weak peaks included in the second window data is a predetermined number, for example, "3" or more. At this time, when the number of weak peaks included in the second window data is less than the predetermined number, the possibility that the food on the plurality of dishes has not been eaten increases. In this case, it can be identified that the course meal is not being served, and subsequent processing can be stopped. On the other hand, when the number of weak peaks included in the second window data is equal to or greater than the predetermined number, the possibility that multiple plates of food have been eaten increases. In this case, extraction of the long-term trend is started.

例えば、抽出部34Cは、第2窓データに次のような処理を行うことで長期トレンドを抽出することができる。具体的には、抽出部34Cは、第2窓データに所定のフィルタ、例えばローパスフィルタを適用することにより長期トレンドに対応する心拍波形を抽出する。このとき、弱ピーク群に対応する短期トレンドの成分を除去する側面から、ローパスフィルタには、カットオフ周波数の一例として、0.001Hzを設定することができる。その後、抽出部34Cは、第2窓データから抽出された長期トレンドの心拍波形に線形回帰分析を適用することにより得られる回帰直線の傾きをトレンド係数として算出する。そして、抽出部34Cは、長期トレンドのトレンド係数が正の値であるか否か、すなわち長期トレンドが右肩上がりの直線であるか否かを判定する。このとき、長期トレンドのトレンド係数が正の値である場合、第2窓データから食べ物の摂食活動と共に消化活動が観測されている可能性が高まるので、コース料理の食事の検知が継続される。一方、長期トレンドのトレンド係数が正の値でない場合、第2窓データから消化活動が観測できない可能性が高まるので、コース料理の食事の検知が中断される。 For example, the extraction unit 34C can extract a long-term trend by performing the following processing on the second window data. Specifically, the extraction unit 34C extracts a heartbeat waveform corresponding to a long-term trend by applying a predetermined filter, such as a low-pass filter, to the second window data. At this time, 0.001 Hz can be set as an example of a cutoff frequency in the low-pass filter from the aspect of removing the short-term trend component corresponding to the weak peak group. After that, the extraction unit 34C calculates, as a trend coefficient, the slope of the regression line obtained by applying linear regression analysis to the heartbeat waveform of the long-term trend extracted from the second window data. Then, the extraction unit 34C determines whether or not the trend coefficient of the long-term trend is a positive value, ie, whether or not the long-term trend is an upward-sloping straight line. At this time, when the trend coefficient of the long-term trend is a positive value, it is highly possible that digestion activity is observed along with the eating activity of the food from the second window data, so the detection of the meal of the course meal is continued. . On the other hand, if the trend coefficient of the long-term trend is not a positive value, there is a high possibility that the digestive activity cannot be observed from the second window data, so the detection of the meal of the course meal is suspended.

図6は、心拍データの一例を示す図である。図6に示すグラフの縦軸は、心拍数(bpm)を指し、横軸は、時間を指す。図6には、メジアンフィルタ適用後の心拍データH6が示されている。図6に示すように、心拍データH6からピーク点およびその開始点における心拍数の差分が閾値Th1以上である8つの弱ピークp61~p68が検出される。このように心拍データH6から弱ピークの検出が行われた後、心拍データH6には、第2窓が設定される。 FIG. 6 is a diagram showing an example of heartbeat data. The vertical axis of the graph shown in FIG. 6 indicates heart rate (bpm), and the horizontal axis indicates time. FIG. 6 shows the heartbeat data H6 after application of the median filter. As shown in FIG. 6, eight weak peaks p61 to p68 whose difference in heart rate between the peak point and its starting point is equal to or greater than the threshold Th1 are detected from the heartbeat data H6. After weak peaks are detected from the heartbeat data H6 in this manner, a second window is set for the heartbeat data H6.

図7は、第2窓データの一例を示す図である。図7には、上記の心拍データH6と共に、心拍データH6に設定された第2窓W2に対応する区間がハッチングで示されている。図7に示す通り、心拍データH6には、コース料理が摂取される場合にかかると予想される最大の時間長、例えば90分間程度の第2窓が設定される。これによって、心拍データH6から第2窓W2に対応する部分データ、すなわち第2窓データが切り出される。 FIG. 7 is a diagram showing an example of second window data. In FIG. 7, along with the heartbeat data H6, the interval corresponding to the second window W2 set in the heartbeat data H6 is indicated by hatching. As shown in FIG. 7, the heartbeat data H6 is set with a second window of the maximum length of time that is expected to take when the course meal is taken, for example, about 90 minutes. As a result, the partial data corresponding to the second window W2, that is, the second window data is cut out from the heartbeat data H6.

図8は、長期トレンドの一例を示す図である。図8には、上記の心拍データH6のうち第2窓W2に対応する部分データが第2窓データ80として抜粋して示されている。図8に示す第2窓データ80は、通常の食事に分類された第1窓データと重複しないものと仮定する。図8に示すように、第2窓データ80には、3つの弱ピークp62~p64が含まれるので、長期トレンドの抽出が実行される。すなわち、第2窓データ80にローパスフィルタを適用することにより、3つの弱ピークp62~p64に対応する短期トレンドの成分が除去された長期トレンドの心拍波形N1が抽出される。このように抽出された長期トレンドの心拍波形N1には、線形回帰分析が適用される。 FIG. 8 is a diagram showing an example of a long-term trend. In FIG. 8, partial data corresponding to the second window W2 of the heartbeat data H6 is extracted as the second window data 80 and shown. It is assumed that the second window data 80 shown in FIG. 8 do not overlap with the first window data classified as normal meals. As shown in FIG. 8, the second window data 80 includes three weak peaks p62-p64, so a long-term trend is extracted. That is, by applying a low-pass filter to the second window data 80, the long-term heartbeat waveform N1 is extracted from which short-term trend components corresponding to the three weak peaks p62 to p64 are removed. A linear regression analysis is applied to the heartbeat waveform N1 of the long-term trend extracted in this way.

図9は、回帰直線の一例を示す図である。図9には、図8に示す長期トレンドの心拍波形N1に線形回帰分析を適用することにより得られた回帰直線L1が示されている。図9に示すように、長期トレンドの回帰直線L1は、右肩上がりの直線であるので、回帰直線L1の傾き、すなわちトレンド係数は、正の値として観測される。この場合、第2窓データ80から食べ物の摂食活動と共に消化活動が観測されており、第2窓W2に対応する区間でコース料理の食事が行われる可能性が高まる。それ故、第2窓データ80には、弱ピーク群の特徴量を算出する処理が実行される。 FIG. 9 is a diagram showing an example of a regression line. FIG. 9 shows a regression line L1 obtained by applying linear regression analysis to the long-term trend heartbeat waveform N1 shown in FIG. As shown in FIG. 9, the regression line L1 of the long-term trend is an upward-sloping straight line, so the slope of the regression line L1, that is, the trend coefficient, is observed as a positive value. In this case, from the second window data 80, the digestive activity is observed along with the eating activity of the food, and the possibility that the course meal will be eaten in the section corresponding to the second window W2 increases. Therefore, the second window data 80 is processed to calculate the feature amount of the weak peak group.

算出部34Dは、弱ピーク群の特徴量を算出する処理部である。 The calculation unit 34D is a processing unit that calculates the feature amount of the weak peak group.

一実施形態として、算出部34Dは、弱ピーク群の特徴量を算出するのに先立って、第2窓データから長期トレンドを除去することができる。例えば、算出部34Dは、設定部34Bにより第2窓が設定されることにより切り出された第2窓データの心拍波形から、抽出部34Cにより抽出された長期トレンドの心拍波形を減算することにより、弱ピーク群に対応する短期トレンドの心拍波形を算出する。このとき、算出部34Dは、第2窓データに含まれる弱ピーク群の中で先頭の弱ピークの開始点の心拍数の値がゼロになるように短期トレンドの心拍波形のベースラインを調整する。例えば、算出部34Dは、短期トレンドの心拍波形における各時刻の心拍数から、先頭の弱ピークの開始点における心拍数の値を減算する。このようにベースラインを調整するのは、第2窓データの心拍波形から長期トレンドの心拍波形を減算することにより、先頭の弱ピークの開始点の心拍数の値が負になることがあるからである。この場合、弱ピーク群の特徴量の1つとして、弱ピークの面積が算出される場合に先頭の弱ピークの開始点の心拍数が負の値に落ち込んだ分、先頭の弱ピークの面積が他の弱ピークの面積に比べて割り引いて評価される事態が起こり得る。これを回避する側面から、短期トレンドの心拍波形のベースラインが調整される。 As one embodiment, the calculation unit 34D can remove the long-term trend from the second window data prior to calculating the feature amount of the weak peak group. For example, the calculation unit 34D subtracts the heartbeat waveform of the long-term trend extracted by the extraction unit 34C from the heartbeat waveform of the second window data cut out by setting the second window by the setting unit 34B, A short-term trend heartbeat waveform corresponding to the weak peak group is calculated. At this time, the calculation unit 34D adjusts the baseline of the heartbeat waveform of the short-term trend so that the heartbeat value at the starting point of the first weak peak in the weak peak group included in the second window data is zero. . For example, the calculation unit 34D subtracts the value of the heart rate at the starting point of the top weak peak from the heart rate at each time in the heart rate waveform of the short-term trend. The reason for adjusting the baseline in this way is that the heart rate value at the start point of the first weak peak may become negative by subtracting the heart rate waveform of the long-term trend from the heart rate waveform of the second window data. is. In this case, as one of the feature values of the weak peak group, when the area of the weak peak is calculated, the heart rate at the starting point of the leading weak peak falls to a negative value, so the area of the leading weak peak is A situation may arise in which the area is discounted compared to the areas of other weak peaks. To avoid this, the baseline of the short-term trend heartbeat waveform is adjusted.

このように短期トレンドの心拍波形のベースラインが調整された後、算出部34Dは、ベースライン調整後の短期トレンドの心拍波形から弱ピークのピーク点への心拍上昇が開始する開始点および弱ピークのピーク点からの心拍降下が終了する終了点を特定する。図10は、短期トレンドの一例を示す図である。図10には、図8に示す第2窓データ80の心拍波形から長期トレンドの心拍波形N1が除去された後にベースラインの調整が行われた短期トレンドの心拍波形Dが示されている。図10に示すように、算出部34Dは、弱ピークp62~p64ごとに、弱ピークのピーク点への心拍上昇が開始する開始点および弱ピークのピーク点からの心拍降下が終了する終了点を特定する。例えば、弱ピークp62の例で言えば、三角形のマークで示される通り、弱ピークp62のピーク点よりも前に遡って心拍数が下がりきる点が開始点p62sとして特定される。さらに、バツのマークで示される通り、弱ピークp62のピーク点に後続して心拍数が下がりきる点が終了点p62eとして特定される。さらに、弱ピークp63および弱ピークp64についても同様に、開始点p63sおよび終了点p63eと、開始点p64sおよび終了点p64eとが特定される。 After the baseline of the heartbeat waveform of the short-term trend is adjusted in this way, the calculation unit 34D calculates the start point and the weak peak at which the heartbeat starts to rise from the heartbeat waveform of the short-term trend after the baseline adjustment to the peak point of the weak peak. Identify the end point where the heart rate descent from the peak point of . FIG. 10 is a diagram showing an example of short-term trends. FIG. 10 shows a short-term heartbeat waveform D in which the baseline has been adjusted after the long-term heartbeat waveform N1 has been removed from the heartbeat waveform of the second window data 80 shown in FIG. As shown in FIG. 10, the calculation unit 34D determines the start point at which the heart rate starts to rise to the peak point of the weak peak and the end point at which the heart rate drop from the peak point of the weak peak ends for each of the weak peaks p62 to p64. Identify. For example, in the case of the weak peak p62, as indicated by the triangular mark, the starting point p62s is specified as the point before the peak point of the weak peak p62 and at which the heart rate completely drops. Furthermore, as indicated by the cross mark, the point at which the heart rate completely drops after the peak point of the weak peak p62 is identified as the end point p62e. Furthermore, similarly for the weak peak p63 and the weak peak p64, a start point p63s and an end point p63e, and a start point p64s and an end point p64e are specified.

これら弱ピークの開始点および終了点が特定された後、算出部34Dは、弱ピーク群の特徴量として、(1)弱ピークの面積、(2)弱ピークの出現間隔、並びに、(3)弱ピークの継続時間を算出する。 After the start and end points of these weak peaks are identified, the calculation unit 34D calculates (1) the area of the weak peak, (2) the appearance interval of the weak peak, and (3) the feature amount of the weak peak group. Calculate the duration of the weak peak.

(1)弱ピークの面積
例えば、図10に示す弱ピークp62~p64の例で言えば、3つの弱ピークp62~p64ごとに面積S62~S64が各弱ピークp62~p64の特徴量として算出される。例えば、弱ピークp62の開始点p62sから終了点p62eの終了までの区間において、短期トレンドの心拍波形DおよびベースラインBL3により囲まれる図形の面積S62が弱ピークp62の特徴量として算出される。これと同様にして、弱ピークp63の開始点p63sから終了点p63eの終了までの区間において、短期トレンドの心拍波形DおよびベースラインBL3により囲まれる図形の面積S63が弱ピークp63の特徴量として算出される。さらに、弱ピークp64の開始点p64sから終了点p64eの終了までの区間において、短期トレンドの心拍波形DおよびベースラインBL3により囲まれる図形の面積S64が弱ピークp64の特徴量として算出される。
(1) Areas of weak peaks For example, in the example of weak peaks p62 to p64 shown in FIG. be. For example, in the section from the start point p62s of the weak peak p62 to the end of the end point p62e, the area S62 of the figure surrounded by the heartbeat waveform D of the short-term trend and the baseline BL3 is calculated as the feature amount of the weak peak p62. Similarly, in the interval from the start point p63s of the weak peak p63 to the end of the end point p63e, the area S63 of the figure surrounded by the heartbeat waveform D of the short-term trend and the baseline BL3 is calculated as the feature amount of the weak peak p63. be done. Furthermore, in the section from the start point p64s of the weak peak p64 to the end of the end point p64e, the area S64 of the figure surrounded by the heartbeat waveform D of the short-term trend and the baseline BL3 is calculated as the feature amount of the weak peak p64.

(2)弱ピークの出現間隔
また、図10に示す弱ピークp62~p64の例で言えば、3つの弱ピークp62~p64が含まれるので、2(=3-1)個の出現間隔が求められる。すなわち、弱ピークp62の終了点p62eから弱ピークp63の開始点p63sまでの期間が出現間隔T11として算出される。これと共に、弱ピークp63の終了点p63eから弱ピークp64の開始点p64sまでの期間が出現間隔T12として算出される。
(2) Weak peak appearance intervals In addition, in the example of weak peaks p62 to p64 shown in FIG. 10, since three weak peaks p62 to p64 are included, 2 (=3-1) appearance intervals are obtained be done. That is, the period from the end point p62e of the weak peak p62 to the start point p63s of the weak peak p63 is calculated as the appearance interval T11. Along with this, the period from the end point p63e of the weak peak p63 to the start point p64s of the weak peak p64 is calculated as the appearance interval T12.

(3)弱ピークの継続時間
さらに、図10に示す弱ピークp62~p64の例で言えば、3つの弱ピークp62~p64ごとにその継続時間C62~C64が各弱ピークp62~p64の特徴量として算出される。例えば、弱ピークp62の場合、弱ピークp62の開始点p62sから弱ピークp62の終了点p62eの終了までの時間長が継続時間C62として算出される。また、弱ピークp63の場合、弱ピークp63の開始点p63sから弱ピークp63の終了点p63eの終了までの時間長が継続時間C63として算出される。さらに、弱ピークp64の場合、弱ピークp64の開始点p64sから弱ピークp64の終了点p64eの終了までの時間長が継続時間C64として算出される。
(3) Duration time of weak peaks Furthermore, in the example of weak peaks p62 to p64 shown in FIG. calculated as For example, in the case of the weak peak p62, the length of time from the start point p62s of the weak peak p62 to the end of the end point p62e of the weak peak p62 is calculated as the duration C62. In the case of the weak peak p63, the length of time from the start point p63s of the weak peak p63 to the end of the end point p63e of the weak peak p63 is calculated as the duration C63. Furthermore, in the case of the weak peak p64, the length of time from the start point p64s of the weak peak p64 to the end of the end point p64e of the weak peak p64 is calculated as the duration C64.

判定部34Eは、コース料理が摂取されたか否かを判定する処理部である。あくまで一例として、判定部34Eは、算出部34Dにより算出された弱ピーク群の特徴量が所定の条件を満たすか否かを判定する。 The determination unit 34E is a processing unit that determines whether or not the course meal has been ingested. As an example only, the determination unit 34E determines whether or not the feature amount of the weak peak group calculated by the calculation unit 34D satisfies a predetermined condition.

一側面として、判定部34Eは、各弱ピークの面積が第1の条件を満たすか否かを判定する。例えば、判定部34Eは、各弱ピークの特徴量の大小に関する順序がコース料理の各皿の摂取量の大小に関する順序と対応するか否かを判定する。すなわち、コース料理では、順番が後になるにつれて摂取量が大きい食べ物が提供される側面があるので、各皿の摂取量は、一皿目の摂取量<二皿目の摂取量<三皿目の摂取量といった大小関係の順序になる可能性が高い。このことから、判定部34Eは、各弱ピークの面積が先頭の弱ピークから順番に増加しているか否かを判定する。例えば、図10に示す3つの弱ピークp62~p64の例で言えば、判定部34Eは、弱ピークp62~p64の面積S62~S64の大小の順序が弱ピークp62の面積S62<弱ピークp63の面積S63<弱ピークp64の面積S64の順、すなわちコース料理の各皿で提供される摂取量の順に対応するか否かを判定する。 As one aspect, the determination unit 34E determines whether the area of each weak peak satisfies a first condition. For example, the determination unit 34E determines whether or not the order regarding the magnitude of the feature amount of each weak peak corresponds to the order regarding the magnitude of the intake of each dish of the course meal. In other words, in the course meal, there is an aspect that the amount of food consumed is larger as the turn is later, so the intake of each dish is the amount of intake of the first dish < the amount of intake of the second dish < the amount of the third dish There is a high possibility that it will be an order of size relationship such as intake. Based on this, the determination unit 34E determines whether or not the area of each weak peak increases in order from the leading weak peak. For example, in the example of three weak peaks p62 to p64 shown in FIG. It is determined whether or not the order of the area S63<the area S64 of the weak peak p64, that is, the order of the intake provided on each dish of the course meal.

他の側面として、判定部34Eは、弱ピークの出現間隔が第2の条件を満たすか否かを判定する。例えば、判定部34Eは、弱ピークの出現間隔がコース料理で各皿の食べ物が提供される間隔に対応するか否かを判定する。図10に示す3つの弱ピークp62~p64の例で言えば、判定部34Eは、弱ピークの出現間隔T11および弱ピークの出現間隔T12が下限値Tminおよび上限値Tmaxにより設定される料理のサーブ間隔以内であるか否かを判定する。 As another aspect, the determination unit 34E determines whether or not the weak peak appearance interval satisfies the second condition. For example, the determination unit 34E determines whether or not the intervals at which the weak peaks appear correspond to the intervals at which each plate of food is served in the course meal. Taking the example of the three weak peaks p62 to p64 shown in FIG. It is determined whether it is within the interval.

更なる側面として、判定部34Eは、各弱ピークの継続時間が第3の条件を満たすか否かを判定する。すなわち、コース料理では、皿ごとに当該皿の食べ物が摂取され終わるまでに一定の時間が消費される。このように一皿あたりで食べ物の摂取に使用される時間のことを「摂取所要時間」と記載する場合がある。この摂取所要時間には、コース料理の一皿あたりの摂取量が定食やセットメニューなどの通常の食事全体の摂取量に比べれば少ない側面から、通常の食事が行われる所要時間よりも短い時間長を設定することができる。このことから、判定部34Eは、弱ピークの継続時間が一皿当たりの摂取所要時間以内であるか否かを判定する。例えば、図10に示す3つの弱ピークp62~p64の例で言えば、判定部34Eは、弱ピークp62の継続時間C62、弱ピークp63の継続時間C63および弱ピークp64の継続時間C64が下限値Dminおよび上限値Dmaxにより設定される一皿当たりの摂取所要時間以内であるか否かを判定する。 As a further aspect, the determination unit 34E determines whether or not the duration of each weak peak satisfies the third condition. That is, in the course meal, it takes a certain amount of time for each plate to finish eating the food of the plate. In this way, the time required for ingestion of food per dish is sometimes referred to as "required intake time". This required time for eating should be shorter than the time required for a normal meal, because the amount of food consumed per plate of course meals is smaller than the amount of food consumed for the entire meal, such as set meals and set menus. can be set. Based on this, the determination unit 34E determines whether or not the duration of the weak peak is within the required intake time per dish. For example, in the example of three weak peaks p62 to p64 shown in FIG. It is determined whether or not it is within the required intake time per plate set by Dmin and the upper limit value Dmax.

ここで、各弱ピークの特徴量が第1の条件を満たす場合、対象者の心拍上昇の推移がコース料理のメニューにしたがって提供される各皿の摂取量の推移に対応する可能性が高まる。また、弱ピークの出現間隔が第2の条件を満たす場合、対象者の心拍上昇の発生間隔がコース料理で各皿の食べ物が提供される間隔に対応する可能性が高まる。言い換えれば、運動や精神的要素などの食事以外の外乱が原因となって心拍上昇が発生している可能性が低くなる。さらに、各弱ピークの継続時間が第3の条件を満たす場合、対象者の心拍上昇の継続時間がコース料理で各皿の食べ物が摂取され終わるまでの期間に対応する可能性が高まる。 Here, when the feature amount of each weak peak satisfies the first condition, there is a high possibility that the change in the elevation of heart rate of the subject corresponds to the change in intake of each dish provided according to the course meal menu. Also, if the appearance interval of the weak peaks satisfies the second condition, there is a high possibility that the intervals at which the target person's heart rate rises occur correspond to the intervals at which each plate of food is served in the course meal. In other words, the increased heart rate is less likely to be caused by disturbances other than diet, such as exercise or mental factors. Furthermore, when the duration of each weak peak satisfies the third condition, the possibility increases that the duration of the increase in heart rate of the subject corresponds to the period until the food of each dish in the course meal is finished being ingested.

図11は、弱ピークの一例を示す図である。図11には、食事以外の要因、例えば会話や緊張が一因となって現れる弱ピーク群が時系列に示されている。図11に示すように、会話や緊張が一因となって弱ピークが現れる場合、弱ピークとして現れる心拍上昇、例えば面積や振幅の大きさ、弱ピークの出現間隔、弱ピークの継続時間は、不規則となる。このため、短期トレンドの心拍波形Dから複数の弱ピークが検出された場合でも、第1の条件~第3の条件の全ての条件を偶然に満たす可能性は低い。このため、第1の条件~第3の条件を用いる条件判定により、食事以外の要因、例えば会話や緊張が一因となって現れる弱ピーク群がコース料理の食事と誤検知されるのを抑制できる。 FIG. 11 is a diagram showing an example of weak peaks. FIG. 11 shows, in chronological order, a group of weak peaks that appear due to factors other than meals, such as conversation and tension. As shown in FIG. 11, when a weak peak appears due to conversation or tension, the increase in heart rate that appears as a weak peak, such as the area and amplitude, the interval between weak peaks, and the duration of the weak peak, become irregular. Therefore, even if a plurality of weak peaks are detected from the heartbeat waveform D of the short-term trend, it is unlikely that all of the first to third conditions are met by chance. For this reason, condition determination using the first to third conditions prevents a weak peak group that appears due to factors other than meals, such as conversation and tension, from being erroneously detected as course meals. can.

これらの側面から、判定部34Eは、各弱ピークの特徴量が第1の条件を満たし、弱ピークの出現間隔が第2の条件を満たし、かつ各弱ピークの継続時間が第3の条件を満たす場合、当該第2窓データにおいてコース料理が摂取されたと判定する。この場合、判定部34Eは、コース料理の食事時間を算出する。例えば、図10に示す短期トレンドの心拍波形Dの例で言えば、判定部34Eは、先頭の弱ピークp62の開始点p62sを食事開始時刻に設定すると共に末尾の弱ピークp64のピーク点を食事終了時刻に設定する。その上で、判定部34Eは、これら食事開始時刻および食事終了時刻の差分、例えば「食事終了時刻-食事開始時刻」を計算することにより、コース料理の食事時間を算出する。 From these aspects, the determination unit 34E determines that the feature amount of each weak peak satisfies the first condition, the appearance interval of the weak peak satisfies the second condition, and the duration of each weak peak satisfies the third condition. If the condition is satisfied, it is determined that the course meal was ingested in the second window data. In this case, the determination unit 34E calculates the meal time of the course meal. For example, in the example of the short-term trend heartbeat waveform D shown in FIG. Set to end time. Then, the determination unit 34E calculates the meal time of the course meal by calculating the difference between the meal start time and the meal end time, for example, "meal end time - meal start time".

なお、ここでは、コース料理の各皿で提供される摂取量の順序の一例として、一皿目の摂取量<二皿目の摂取量<三皿目の摂取量といった大小関係の順序を例示したが、コース料理の各皿で提供される摂取量の順序は、必ずしも上記の例に限定されない。 Here, as an example of the order of the amount of intake provided in each dish of the course meal, the order of magnitude relationship such as the amount of intake of the first dish < the amount of intake of the second dish < the amount of intake of the third dish is illustrated. However, the order of intakes provided in each course meal is not necessarily limited to the above examples.

例えば、コース料理では、メニューによって必ずしも各皿の摂取量が上記の順序を満たさない場合がある。図12は、弱ピークの一例を示す図である。図12には、前菜、メイン、デザートの順に各皿が提供される場合に現れる弱ピークが時系列に示されている。例えば、前菜、メイン、デザートの各皿が提供される場合、摂取量の順序は、デザート(三皿目)の摂取量<前菜(一皿目)の摂取量<メイン(二皿目)の摂取量といった大小関係の順序になる。これら摂取量の順序は、各弱ピークの特徴量の大小に関する順序とも一致する。すなわち、図12に示すように、弱ピークの面積は、デザートに対応して現れる弱ピーク、前菜に対応して現れる弱ピーク、メインに対応して現れる弱ピークの順となる。このように、コース料理のメニューも画一的でないことから、コース料理のメニューのパターンごとに各皿で提供される摂取量の順序を設定しておき、コース料理のメニューのパターンごとに各弱ピークの特徴量の大小に関する順序が当該パターンに定められた各皿の摂取量の大小に関する順序と対応するか否かを判定することもできる。この場合、コース料理のメニューのパターンのうちいずれかのパターンの順序に各弱ピークの特徴量の大小に関する順序が対応する場合、第1の条件を満たすと判定することとすればよい。 For example, in course meals, depending on the menu, the intake of each dish may not necessarily satisfy the above order. FIG. 12 is a diagram showing an example of weak peaks. FIG. 12 shows weak peaks that appear in time series when each dish is served in the order of appetizer, main dish, and dessert. For example, when an appetizer, main dish, and dessert are served, the order of intake is as follows: intake of dessert (third dish) < intake of appetizer (first dish) < intake of main (second dish) It becomes the order of size relation such as quantity. The order of these intakes also agrees with the order of magnitude of feature values of each weak peak. That is, as shown in FIG. 12, the areas of the weak peaks are in order of the weak peak appearing corresponding to the dessert, the weak peak appearing corresponding to the appetizer, and the weak peak appearing corresponding to the main dish. In this way, since the course menu is not uniform, the order of intakes to be served on each dish is set for each pattern of the course menu, and each weak point is set for each pattern of the course menu. It is also possible to determine whether or not the order regarding the magnitude of the feature amount of the peak corresponds to the order regarding the magnitude of the intake of each dish defined in the pattern. In this case, it may be determined that the first condition is satisfied when the order regarding the magnitude of the feature amount of each weak peak corresponds to the order of any pattern of the pattern of the course meal menu.

提供部35は、上記のヘルスケア支援サービスを提供する処理部である。 The providing unit 35 is a processing unit that provides the healthcare support service described above.

一実施形態として、提供部35は、第1検知部33により検知された通常の食事に関する食事時間、および、第2検知部34により検知されたコース料理の食事に関する食事時間を記録したり、それまでに記録された食事時間から所定期間、例えば1週間などにわたる食事時間帯の一覧表を生成した上で出力したり、それまでに記録された食事時間から食習慣またはダイエットに関する分析を行った上で各種のアドバイスを出力したりする。なお、ここで挙げたヘルスケア支援サービスに対応する処理は、バックエンドで実行するサービスやアプリケーション、AI、サーバ装置30外部のコンピュータで行われることとしてもかまわない。また、ここでは、食事時間が上記のヘルスケア支援サービスに用いられる場合を例示したが、必ずしも食事時間が上記のヘルスケア支援サービスに用いられずともよく、食事開始時刻、食事終了時刻、食事時間もしくはこれらのうち少なくともいずれか1つを上記のヘルスケア支援サービスに用いることができる。 As one embodiment, the providing unit 35 records the meal time for the normal meal detected by the first detection unit 33 and the meal time for the meal of the course meal detected by the second detection unit 34. Generate and output a list of meal time periods over a predetermined period, such as one week, from the meal times recorded until then, or analyze eating habits or diets from the meal times recorded so far to output various advices. It should be noted that the processing corresponding to the healthcare support service mentioned here may be performed by a service or application executed on the back end, AI, or a computer outside the server device 30 . In addition, here, the case where the meal time is used for the above healthcare support service is exemplified, but the meal time does not necessarily have to be used for the above healthcare support service. Alternatively, at least one of these can be used for the above healthcare support service.

図13は、ヘルスケア支援サービスの一例を示す図である。図13には、生活習慣モニタリングが実施される場合の出力例が示されている。なお、図13に示す表示レイアウトは、あくまで一例であり、図13に示される例に限定されないことは言うまでもない。 FIG. 13 is a diagram showing an example of a healthcare support service. FIG. 13 shows an output example when lifestyle monitoring is performed. Note that the display layout shown in FIG. 13 is merely an example, and needless to say, the display layout is not limited to the example shown in FIG.

図13に示すように、1週間に含まれる日ごとに食事時間に関するタイムテーブルを表示させることができる。かかるタイムテーブルでは、通常の食事が行われた食事時間の帯と、コース料理の食事が行われた食事時間の帯との間で表示形態が区別されている。この表示形態の区別は、表示色を変えることにより実現されることとしてもよいし、フォントや塗り潰しを変えることにより実現されることとしてもかまわない。これにより、食事イベントが通常の食事またはコース料理の食事のいずれであるのかを区別させることができる。このようなタイムテーブルに加えて、生活習慣に関するアドバイス等のメッセージも表示させることができる。例えば、食事イベントの中でも夕食が夜9時以降に行われる頻度が所定の頻度、例えば週2回を超える場合、図13に示すように、「早めに夕食をとりましょう」や「運動しましょう」などのメッセージを表示させることができる。この他、午前6時から正午までに食事イベントが存在しない日が存在する場合、「朝食をとる習慣をつけましょう」などのメッセージを表示させることができる。 As shown in FIG. 13, it is possible to display a timetable regarding meal times for each day included in one week. In such a timetable, the display form is distinguished between the meal time zone in which a normal meal is served and the meal time zone in which a course meal is served. This distinction of display form may be realized by changing the display color, or may be realized by changing the font or filling. This makes it possible to distinguish whether the meal event is a normal meal or a course meal. In addition to such a timetable, messages such as advice on lifestyle habits can also be displayed. For example, if the frequency at which dinner is held after 9:00 p.m. among meal events exceeds a predetermined frequency, for example, twice a week, as shown in FIG. ” can be displayed. In addition, if there is a day with no meal event between 6:00 am and 12:00 noon, a message such as ``Let's make it a habit to eat breakfast'' can be displayed.

[処理の流れ]
次に、本実施例に係るサーバ装置30の処理の流れについて説明する。なお、ここでは、サーバ装置30により実行される(1)ヘルスケア支援処理を説明した後に、ヘルスケア支援処理のサブルーチンとして実行される(2)第2検知処理を説明することとする。
[Process flow]
Next, the processing flow of the server device 30 according to this embodiment will be described. Here, (1) healthcare support processing executed by server device 30 will be described, and then (2) second detection processing executed as a subroutine of healthcare support processing will be described.

(1)ヘルスケア支援処理
図14は、実施例1に係るヘルスケア支援処理の手順を示すフローチャートである。この処理は、一例として、ウェアラブル端末10に搭載された心拍センサ11から心拍データが取得される度に開始される。
(1) Healthcare Assistance Processing FIG. 14 is a flowchart illustrating procedures of healthcare assistance processing according to the first embodiment. This process is started, for example, each time heartbeat data is acquired from the heartbeat sensor 11 mounted on the wearable terminal 10 .

図14に示すように、取得部31により心拍データが取得されると(ステップS101)、適用部32は、ステップS101で取得された心拍データに中央値を抽出するメジアンフィルタを適用する(ステップS102)。これにより、急峻なノイズを含む心拍データが心拍の性質に反しない程度に滑らかにフィルタ処理された心拍データを得ることができる。 As shown in FIG. 14, when heartbeat data is acquired by the acquisition unit 31 (step S101), the application unit 32 applies a median filter for extracting a median value to the heartbeat data acquired in step S101 (step S102). ). As a result, it is possible to obtain heartbeat data that has been smoothly filtered to such an extent that the heartbeat data containing steep noise does not contradict the nature of the heartbeat.

続いて、第1検知部33は、ステップS102でメジアンフィルタが適用された心拍データから通常の食事を検知する「第1検知処理」を実行する(ステップS103)。さらに、第2検知部34は、ステップS102でメジアンフィルタが適用された心拍データからコース料理の食事を検知する「第2検知処理」を実行する(ステップS104)。 Subsequently, the first detection unit 33 executes a "first detection process" for detecting a normal meal from the heartbeat data to which the median filter has been applied in step S102 (step S103). Furthermore, the second detection unit 34 executes a "second detection process" for detecting a course meal from the heartbeat data to which the median filter is applied in step S102 (step S104).

その後、提供部35は、ステップS103で検知された通常の食事に関する食事時間およびステップS104で検知されたコース料理の食事に関する食事時間に基づいて上記のヘルスケア支援サービスに対応する出力、例えばタイムテーブルやアドバイスを生成して出力し(ステップS105)、処理を終了する。 After that, the providing unit 35 outputs an output corresponding to the above-mentioned healthcare support service, for example, a time table, based on the meal time for the normal meal detected in step S103 and the meal time for the course meal detected in step S104. and advice are generated and output (step S105), and the process ends.

(2)第2検知処理
図15は、実施例1に係る第2検知処理の手順を示すフローチャートである。この処理は、一側面として、図14に示すステップS104の処理に対応する。図15に示すように、検出部34Aは、ステップS102でメジアンフィルタが適用された心拍データから検出されるピーク点で計測される心拍数と、当該ピーク点への心拍上昇が開始する開始点で計測される心拍数との差分が上記の閾値Th1を超える弱ピークを検出する(ステップS201)。
(2) Second Detection Processing FIG. 15 is a flowchart illustrating the procedure of the second detection processing according to the first embodiment. This process corresponds, as one aspect, to the process of step S104 shown in FIG. As shown in FIG. 15, the detection unit 34A detects the heart rate measured at the peak point detected from the heart rate data to which the median filter is applied in step S102, and A weak peak whose difference from the measured heart rate exceeds the threshold Th1 is detected (step S201).

続いて、設定部34Bは、ステップS102でメジアンフィルタが適用された心拍データに所定の時間長、例えば90分間を持つ第2窓を設定する(ステップS202)。これによって、メジアンフィルタが適用された心拍データから第2窓に対応する区間の部分データが第2窓データとして切り出される。 Subsequently, the setting unit 34B sets a second window having a predetermined time length, eg, 90 minutes, in the heartbeat data to which the median filter was applied in step S102 (step S202). As a result, the partial data of the section corresponding to the second window is cut out as the second window data from the heartbeat data to which the median filter has been applied.

そして、抽出部34Cは、ステップS202で第2窓が設定されることにより切り出された第2窓データと、ステップS104の第1検知処理で通常の食事に分類された第1窓データとが重複するか否かを判定する(ステップS203)。 Then, the extraction unit 34C duplicates the second window data extracted by setting the second window in step S202 and the first window data classified as normal meals in the first detection process of step S104. It is determined whether or not to do so (step S203).

このとき、通常の食事のクラスに分類された第1窓データと第2窓データが重複する場合(ステップS203Yes)、第1検知部33により既に食事が検知できているので、必ずしも改めてコース料理の食事として検知し直さずともかまわない。この場合、ステップS213の処理へ移行する。 At this time, if the first window data and the second window data classified into the normal meal class overlap (Yes in step S203), the meal is already detected by the first detection unit 33, so the course meal is not necessarily re-started. It does not matter if it is not re-detected as a meal. In this case, the process proceeds to step S213.

一方、通常の食事のクラスに分類された第1窓データと第2窓データが重複しない場合(ステップS203No)、第1窓データから算出される通常の食事の特徴量では評価されづらいコース料理の特徴が見逃されている可能性が残る。このため、抽出部34Cは、第2窓データに含まれる弱ピークの個数が所定数、例えば「3」以上であるか否かをさらに判定する(ステップS204)。 On the other hand, if the first window data and the second window data classified into the normal meal class do not overlap (No in step S203), the course meal that is difficult to evaluate with the feature amount of the normal meal calculated from the first window data. It is possible that features have been overlooked. Therefore, the extraction unit 34C further determines whether or not the number of weak peaks included in the second window data is a predetermined number, for example, "3" or more (step S204).

このとき、第2窓データに含まれる弱ピークの個数が所定数未満である場合(ステップS204No)、複数の皿の食べ物が摂食されていない可能性が高まる。この場合、コース料理の食事が行われていないと識別できる。この場合、ステップS213の処理へ移行する。 At this time, if the number of weak peaks included in the second window data is less than the predetermined number (No at step S204), it is highly likely that the food on multiple plates has not been eaten. In this case, it can be identified that the course meal is not being served. In this case, the process proceeds to step S213.

一方、第2窓データに含まれる弱ピークの個数が所定数以上である場合(ステップS204Yes)、複数の皿の食べ物が摂食された可能性が高まる。この場合、抽出部34Cは、ステップS202で得られた第2窓データに所定のフィルタ、例えばローパスフィルタを適用することにより長期トレンドに対応する心拍波形を抽出する(ステップS205)。 On the other hand, if the number of weak peaks included in the second window data is equal to or greater than the predetermined number (Yes in step S204), the possibility that multiple plates of food have been eaten increases. In this case, the extraction unit 34C extracts a heartbeat waveform corresponding to the long-term trend by applying a predetermined filter, such as a low-pass filter, to the second window data obtained in step S202 (step S205).

続いて、抽出部34Cは、ステップS205で抽出された長期トレンドの心拍波形に線形回帰分析を適用することにより得られる回帰直線の傾きが正の値であるか否か、すなわち長期トレンドが右肩上がりの直線であるか否かを判定する(ステップS206)。 Subsequently, the extraction unit 34C determines whether the slope of the regression line obtained by applying the linear regression analysis to the heartbeat waveform of the long-term trend extracted in step S205 is a positive value, that is, whether the long-term trend is right shoulder. It is determined whether or not it is an upward straight line (step S206).

このとき、長期トレンドのトレンド係数が正の値でない場合(ステップS206No)、第2窓データから消化活動が観測できない可能性が高まる。この場合、ステップS213の処理へ移行する。 At this time, if the trend coefficient of the long-term trend is not a positive value (step S206 No), there is a high possibility that the digestive activity cannot be observed from the second window data. In this case, the process proceeds to step S213.

ここで、長期トレンドのトレンド係数が正の値である場合(ステップS206Yes)、第2窓データから食べ物の摂食活動と共に消化活動が観測されている可能性が高まるので、コース料理の食事の検知が継続される。 Here, if the trend coefficient of the long-term trend is a positive value (Yes in step S206), there is a high possibility that both the eating activity and the digestive activity of the food are observed from the second window data. is continued.

すなわち、算出部34Dは、ステップS202で得られた第2窓データの心拍波形から、ステップS205で抽出された長期トレンドの心拍波形を減算することにより、弱ピーク群に対応する短期トレンドの心拍波形を算出する(ステップS207)。 That is, the calculation unit 34D subtracts the heartbeat waveform of the long-term trend extracted in step S205 from the heartbeat waveform of the second window data obtained in step S202, thereby obtaining the heartbeat waveform of the short-term trend corresponding to the weak peak group. is calculated (step S207).

このとき、算出部34Dは、第2窓データに含まれる弱ピーク群の中で先頭の弱ピークの開始点の心拍数の値がゼロになるように短期トレンドの心拍波形のベースラインを調整する(ステップS208)。 At this time, the calculation unit 34D adjusts the baseline of the heartbeat waveform of the short-term trend so that the heartbeat value at the starting point of the first weak peak in the weak peak group included in the second window data is zero. (Step S208).

その後、算出部34Dは、ベースライン調整後の短期トレンドの心拍波形から弱ピークのピーク点への心拍上昇が開始する開始点および弱ピークのピーク点からの心拍降下が終了する終了点を特定する(ステップS209)。その上で、算出部34Dは、弱ピーク群の特徴量として、弱ピークの面積、弱ピークの出現間隔、並びに、弱ピークの継続時間を算出する(ステップS210)。 After that, the calculation unit 34D identifies the start point at which the heart rate starts to rise from the heart rate waveform of the short-term trend after the baseline adjustment to the peak point of the weak peak and the end point at which the heart rate decline from the peak point of the weak peak ends. (Step S209). After that, the calculation unit 34D calculates the area of the weak peak, the appearance interval of the weak peak, and the duration of the weak peak as feature amounts of the weak peak group (Step S210).

そして、判定部34Eは、ステップS210で算出された弱ピーク群の特徴量が第1の条件、第2の条件および第3の条件を満たすか否かを判定する(ステップS211)。 Then, the determination unit 34E determines whether or not the feature amount of the weak peak group calculated in step S210 satisfies the first, second, and third conditions (step S211).

ここで、各弱ピーク群の特徴量が第1の条件、第2の条件および第3の条件を満たす場合(ステップS211Yes)、当該第2窓データにおいてコース料理が摂取されたと判定する。この場合、判定部34Eは、先頭の弱ピークの開始点を食事開始時刻に設定すると共に末尾の弱ピークのピーク点を食事終了時刻に設定した上で、食事開始時刻および食事終了時刻の差分を計算することにより、コース料理の食事時間を算出する(ステップS212)。 Here, when the feature amount of each weak peak group satisfies the first condition, the second condition, and the third condition (step S211 Yes), it is determined that the course meal was ingested in the second window data. In this case, the determining unit 34E sets the starting point of the first weak peak to the meal start time and the peak point of the trailing weak peak to the meal end time, and then calculates the difference between the meal start time and the meal end time. By calculating, the meal time of the course meal is calculated (step S212).

そして、メジアンフィルタが適用された心拍データに対する第2窓の設定が終了するまで(ステップS213No)、ステップS202の処理へ移行する。すなわち、設定部34Bは、前回に設定された第2窓を所定のずらし幅だけシフトさせて設定することにより、シフト後の第2窓に対応する区間の部分データを第2窓データとして切り出す。以降、ステップS203~ステップS212までの処理が実行される。 Then, the process proceeds to step S202 until the setting of the second window for the heartbeat data to which the median filter is applied is completed (step S213 No). That is, the setting unit 34B sets the previously set second window by shifting it by a predetermined shift width, and cuts out the partial data of the section corresponding to the shifted second window as the second window data. After that, the processing from step S203 to step S212 is executed.

その後、そして、メジアンフィルタが適用された心拍データに対する第2窓の設定が終了した場合(ステップS213Yes)、処理を終了する。 After that, and when the setting of the second window for the heartbeat data to which the median filter has been applied is finished (step S213 Yes), the process is finished.

[効果の一側面]
上述してきたように、本実施例に係るサーバ装置30は、心拍データに複数のピークが含まれる場合、各ピークから算出される特徴量と、ピークの出現間隔とに基づいてコース料理が摂取されたか否かを判定する。これによって、コース料理が摂取される場合に現れる心拍変化の特徴を捉えて食事または非食事を判定することができる。したがって、本実施例に係るサーバ装置30によれば、コース料理の食事の検知を実現できる。
[One aspect of the effect]
As described above, when the heartbeat data includes a plurality of peaks, the server device 30 according to the present embodiment determines whether the course meal is ingested based on the feature amount calculated from each peak and the appearance interval of the peaks. determine whether or not This makes it possible to determine eating or non-meal by capturing the characteristics of heart rate changes that appear when a course meal is ingested. Therefore, according to the server device 30 of the present embodiment, it is possible to realize the detection of a course meal.

さて、これまで開示の装置に関する実施例について説明したが、本発明は上述した実施例以外にも、種々の異なる形態にて実施されてよいものである。そこで、以下では、本発明に含まれる他の実施例を説明する。 Although embodiments of the disclosed apparatus have been described so far, the present invention may be embodied in various forms other than the embodiments described above. Therefore, other embodiments included in the present invention will be described below.

[コース料理のパターン]
コース料理では、メニューによって必ずしも各皿の摂取量が上記の実施例1で例に挙げた順序を満たさない場合がある。図16は、弱ピークの一例を示す図である。図16には、前菜、スープ、メイン1、メイン2、デザートの順に各皿が提供されるフランス料理のメニューで現れる弱ピークが時系列に示されている。このメニューの場合、摂取量の大小関係の順序は、デザート(五皿目)の摂取量<前菜(一皿目)の摂取量≒スープ(二皿目)の摂取量<メイン1(三皿目)の摂取量≒メイン2(四皿目)の摂取量といった大小関係の順序になる。これら摂取量の順序は、図16に示す通り、各弱ピークの特徴量の大小に関する順序とも一致する。すなわち、図16に示すように、弱ピークの面積も、デザートに対応して現れる弱ピーク、前菜およびスープに対応して現れる弱ピーク、メイン1およびメイン2に対応して現れる弱ピークの順となる。
[Course meal pattern]
In a course meal, depending on the menu, the intake amount of each dish may not necessarily satisfy the order given in the example 1 above. FIG. 16 is a diagram showing an example of weak peaks. FIG. 16 shows, in chronological order, weak peaks appearing in a French cuisine menu in which each dish is served in the order of appetizer, soup, main 1, main 2, and dessert. In the case of this menu, the order of the amount of intake is as follows: amount of dessert (fifth dish) < amount of appetizer (first dish) ≒ amount of soup (second dish) < main 1 (third dish) ) ≒ intake of main 2 (fourth dish). The order of these intakes, as shown in FIG. 16, also coincides with the order of magnitude of feature amounts of the weak peaks. That is, as shown in FIG. 16, the areas of the weak peaks are also in the order of the weak peaks corresponding to dessert, the weak peaks corresponding to appetizers and soup, and the weak peaks corresponding to main 1 and main 2. Become.

図17は、弱ピークの一例を示す図である。図17には、先付、お凌ぎ、お椀、八寸、焼き物、ご飯、水菓子の順に各皿が提供される懐石料理のメニューで現れる弱ピークが時系列に示されている。このメニューの場合、摂取量の大小関係の順序は、先付(一皿目)の摂取量≒お凌ぎ(二皿目)の摂取量<水菓子(七皿目)の摂取量<お椀(三皿目)の摂取量≒八寸(四皿目)の摂取量<ご飯(六皿目)の摂取量<焼き物(五皿目)の摂取量といった大小関係の順序になる。これら摂取量の順序は、図17に示す通り、各弱ピークの特徴量の大小に関する順序とも一致する。すなわち、図17に示すように、弱ピークの面積も、先付およびお凌ぎに対応して現れる弱ピーク、水菓子に対応して現れる弱ピーク、お椀および八寸に対応して現れる弱ピーク、ご飯に対応して現れる弱ピーク、焼き物に対応して現れる弱ピークの順となる。 FIG. 17 is a diagram showing an example of weak peaks. FIG. 17 shows weak peaks appearing in a kaiseki cuisine menu in which each plate is served in the order of appetizer, oshigi, bowl, hassun, grilled dish, rice, and sweets in chronological order. In the case of this menu, the order of the amount of intake is as follows: amount of appetizer (first dish) ≒ amount of oshigi (second dish) < amount of sweets (seventh dish) < bowl (three dishes) second) ≒ intake of hassun (fourth dish) < intake of rice (sixth dish) < intake of pottery (fifth dish). The order of these intakes, as shown in FIG. 17, also coincides with the order of magnitude of feature amounts of the weak peaks. That is, as shown in FIG. 17, the areas of the weak peaks are also weak peaks corresponding to appetizers and oshinogi, weak peaks corresponding to sweets, weak peaks corresponding to bowls and hassun, rice The weak peaks appearing corresponding to , and the weak peaks appearing corresponding to pottery are in that order.

図18は、弱ピークの一例を示す図である。図17には、前菜、メイン、デザートの順に各皿が提供されるランチコースのメニューで現れる弱ピークが時系列に示されている。このメニューの場合、摂取量の大小関係の順序は、デザート(三皿目)の摂取量<前菜(一皿目)の摂取量<メイン(三皿目)の摂取量といった大小関係の順序になる。これら摂取量の順序は、図18に示す通り、各弱ピークの特徴量の大小に関する順序とも一致する。すなわち、図18に示すように、弱ピークの面積も、デザートに対応して現れる弱ピーク、前菜に対応して現れる弱ピーク、メインに対応して現れる弱ピークの順となる。 FIG. 18 is a diagram showing an example of weak peaks. FIG. 17 shows, in chronological order, weak peaks appearing in a lunch course menu in which each dish is served in the order of appetizer, main dish, and dessert. In the case of this menu, the order of the size relationship of the intake is the amount of dessert (third dish) < the amount of appetizer (first dish) < the amount of main (third dish). . The order of these intakes, as shown in FIG. 18, also coincides with the order of magnitude of feature amounts of the weak peaks. That is, as shown in FIG. 18, the areas of the weak peaks are also in the order of the weak peak appearing corresponding to the dessert, the weak peak appearing corresponding to the appetizer, and the weak peak appearing corresponding to the main dish.

このように、コース料理のメニューも画一的でないことから、コース料理のメニューのパターンごとに各皿で提供される摂取量の順序を設定しておき、コース料理のメニューのパターンごとに各弱ピークの特徴量の大小に関する順序が当該パターンに定められた各皿の摂取量の大小に関する順序と対応するか否かを判定することもできる。この場合、コース料理のメニューのパターンのうちいずれかのパターンの順序に各弱ピークの特徴量の大小に関する順序が対応する場合、第1の条件を満たすと判定することとすればよい。 In this way, since the course menu is not uniform, the order of intakes to be served on each dish is set for each pattern of the course menu, and each weak point is set for each pattern of the course menu. It is also possible to determine whether or not the order regarding the magnitude of the feature amount of the peak corresponds to the order regarding the magnitude of the intake of each dish defined in the pattern. In this case, it may be determined that the first condition is satisfied when the order regarding the magnitude of the feature amount of each weak peak corresponds to the order of any pattern of the pattern of the course meal menu.

[スタンドアローン]
上記の実施例1では、上記のヘルスケア支援システム1をクライアントサーバシステムとして構築される場合を例示したが、必ずしもクライアントサーバシステムとして構築されずともよい。例えば、サーバ装置30が有する機能部により実行される図14や図15に示す処理は、ウェアラブル端末10に接続されたIoTデバイス20によりスタンドアローンで実行されることとしてもかまわない。さらに、ウェアラブル端末10及びIoTデバイス20は、必ずしも別個の装置として構成されずともよい。すなわち、心拍センサ11を搭載するコンピュータにより、サーバ装置30が有する機能部により実行される図14や図15に示す処理がスタンドアローンで実行されることとしてもかまわない。
[Standalone]
In the first embodiment, the healthcare support system 1 is constructed as a client-server system, but it does not necessarily have to be constructed as a client-server system. For example, the processing shown in FIGS. 14 and 15 executed by the functional units of the server device 30 may be executed stand-alone by the IoT device 20 connected to the wearable terminal 10 . Furthermore, the wearable terminal 10 and the IoT device 20 do not necessarily have to be configured as separate devices. 14 and 15, which are executed by the functional units of the server device 30, may be executed stand-alone by a computer equipped with the heart rate sensor 11. FIG.

[分散および統合]
また、図示した各装置の各構成要素は、必ずしも物理的に図示の如く構成されておらずともよい。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。例えば、取得部31、適用部32、第1検知部33または第2検知部34をサーバ装置30の外部装置としてネットワーク経由で接続するようにしてもよい。また、取得部31、適用部32、第1検知部33または検知部34を別の装置がそれぞれ有し、ネットワーク接続されて協働することで、上記のサーバ装置30の機能を実現するようにしてもよい。
Distributed and integrated
Also, each component of each illustrated device may not necessarily be physically configured as illustrated. In other words, the specific form of distribution and integration of each device is not limited to the one shown in the figure, and all or part of them can be functionally or physically distributed and integrated in arbitrary units according to various loads and usage conditions. Can be integrated and configured. For example, the acquisition unit 31, the application unit 32, the first detection unit 33, or the second detection unit 34 may be connected via a network as external devices of the server device 30. FIG. Further, different devices each have the acquisition unit 31, the application unit 32, the first detection unit 33, or the detection unit 34, and are connected to a network and cooperate with each other to realize the functions of the server device 30 described above. may

[食事検知プログラム]
また、上記の実施例で説明した各種の処理は、予め用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータで実行することによって実現することができる。そこで、以下では、図19を用いて、上記の実施例と同様の機能を有する食事検知プログラムを実行するコンピュータの一例について説明する。
[Meal detection program]
Moreover, various processes described in the above embodiments can be realized by executing a prepared program on a computer such as a personal computer or a work station. Therefore, an example of a computer that executes a meal detection program having functions similar to those of the above embodiments will be described below with reference to FIG. 19 .

図19は、実施例1及び実施例2に係る食事検知プログラムを実行するコンピュータのハードウェア構成例を示す図である。図19に示すように、コンピュータ100は、操作部110aと、スピーカ110bと、カメラ110cと、ディスプレイ120と、通信部130とを有する。さらに、このコンピュータ100は、CPU150と、ROM160と、HDD170と、RAM180とを有する。これら110~180の各部はバス140を介して接続される。 FIG. 19 is a diagram illustrating an example hardware configuration of a computer that executes the meal detection program according to the first and second embodiments. As shown in FIG. 19, the computer 100 has an operation section 110a, a speaker 110b, a camera 110c, a display 120, and a communication section . Furthermore, this computer 100 has a CPU 150 , a ROM 160 , an HDD 170 and a RAM 180 . Each part of these 110 to 180 is connected via a bus 140 .

HDD170には、図19に示すように、上記の実施例1で示した取得部31、適用部32、第1検知部33および第2検知部34と同様の機能を発揮する食事検知プログラム170aが記憶される。この食事検知プログラム170aは、図1に示した取得部31、適用部32、第1検知部33および第2検知部34の各構成要素と同様、統合又は分離してもかまわない。すなわち、HDD170には、必ずしも上記の実施例1で示した全てのデータが格納されずともよく、処理に用いるデータがHDD170に格納されればよい。 As shown in FIG. 19, the HDD 170 has a meal detection program 170a that exhibits the same functions as the acquisition unit 31, the application unit 32, the first detection unit 33, and the second detection unit 34 shown in the first embodiment. remembered. The meal detection program 170a may be integrated or separated like the components of the acquisition unit 31, the application unit 32, the first detection unit 33, and the second detection unit 34 shown in FIG. That is, the HDD 170 does not necessarily store all the data shown in the first embodiment, and the HDD 170 only needs to store data used for processing.

このような環境の下、CPU150は、HDD170から食事検知プログラム170aを読み出した上でRAM180へ展開する。この結果、食事検知プログラム170aは、図19に示すように、食事検知プロセス180aとして機能する。この食事検知プロセス180aは、RAM180が有する記憶領域のうち食事検知プロセス180aに割り当てられた領域にHDD170から読み出した各種データを展開し、この展開した各種データを用いて各種の処理を実行する。例えば、食事検知プロセス180aが実行する処理の一例として、図14や図15に示す処理などが含まれる。なお、CPU150では、必ずしも上記の実施例1で示した全ての処理部が動作せずともよく、実行対象とする処理に対応する処理部が仮想的に実現されればよい。 Under such an environment, the CPU 150 reads the meal detection program 170 a from the HDD 170 and loads it into the RAM 180 . As a result, the meal detection program 170a functions as a meal detection process 180a, as shown in FIG. The meal detection process 180a deploys various data read from the HDD 170 in an area assigned to the meal detection process 180a among the storage areas of the RAM 180, and executes various processes using the deployed various data. For example, examples of processing executed by the meal detection process 180a include the processing shown in FIGS. 14 and 15. FIG. Note that the CPU 150 does not necessarily have to operate all the processing units described in the first embodiment, as long as the processing units corresponding to the processes to be executed are virtually realized.

なお、上記の食事検知プログラム170aは、必ずしも最初からHDD170やROM160に記憶されておらずともかまわない。例えば、コンピュータ100に挿入されるフレキシブルディスク、いわゆるFD、CD-ROM、DVDディスク、光磁気ディスク、ICカードなどの「可搬用の物理媒体」に食事検知プログラム170aを記憶させる。そして、コンピュータ100がこれらの可搬用の物理媒体から食事検知プログラム170aを取得して実行するようにしてもよい。また、公衆回線、インターネット、LAN、WANなどを介してコンピュータ100に接続される他のコンピュータまたはサーバ装置などに食事検知プログラム170aを記憶させておき、コンピュータ100がこれらから食事検知プログラム170aを取得して実行するようにしてもよい。 Note that the meal detection program 170a described above does not necessarily have to be stored in the HDD 170 or the ROM 160 from the beginning. For example, the meal detection program 170a is stored in a “portable physical medium” such as a flexible disk inserted into the computer 100, so-called FD, CD-ROM, DVD disk, magneto-optical disk, IC card, or the like. Then, the computer 100 may acquire and execute the meal detection program 170a from these portable physical media. In addition, the meal detection program 170a is stored in another computer or server device connected to the computer 100 via a public line, the Internet, LAN, WAN, etc., and the computer 100 acquires the meal detection program 170a from these. You can also run

以上の実施例を含む実施形態に関し、さらに以下の付記を開示する。 The following notes are further disclosed with respect to the embodiments including the above examples.

(付記1)対象者の心拍データを取得し、
取得した前記心拍データにおいて振幅が所定の閾値を超えるピークを検出し、
前記検出したピークの数が複数である場合、前記検出したピークごとに求まるピークの振幅または面積と、前記検出したピーク間で求まるピークの出現間隔とに基づいて、前記対象者によりコース料理が摂取されたか否かを判定する、
処理をコンピュータに実行させる食事検知プログラム。
(Appendix 1) Acquiring the heart rate data of the subject,
Detecting a peak whose amplitude exceeds a predetermined threshold in the acquired heartbeat data,
When the number of detected peaks is plural, the course meal is consumed by the subject based on the amplitude or area of the peaks determined for each of the detected peaks and the appearance interval of the peaks determined between the detected peaks. determine whether or not
A meal detection program that lets a computer do the work.

(付記2)前記判定する処理は、前記検出したピークごとに求まるピークの振幅または面積の大小に関する順序が前記コース料理のメニューに含まれる各品目の摂取量の大小に関する順序と対応し、かつ前記検出したピーク間で求まるピークの出現間隔が前記コース料理のメニューで各品目が提供される間隔の範囲内であるか否かを判定する付記1に記載の食事検知プログラム。 (Supplementary note 2) In the determination process, the order regarding the magnitude of the amplitude or area of the peaks obtained for each of the detected peaks corresponds to the order regarding the magnitude of the intake of each item included in the menu of the course meal, and The meal detection program according to appendix 1, wherein the meal detection program determines whether or not the appearance intervals of the peaks found between the detected peaks are within the range of the intervals at which each item is provided in the course meal menu.

(付記3)前記判定する処理は、前記検出したピークごとに求まるピークの継続時間にさらに基づいて前記コース料理が摂取されたか否かを判定する付記1に記載の食事検知プログラム。 (Supplementary note 3) The meal detection program according to Supplementary note 1, wherein the judging process further determines whether or not the course meal has been ingested based on the peak duration time obtained for each of the detected peaks.

(付記4)前記判定する処理は、前記検出したピークごとに求まるピークの継続時間が前記コース料理の一品目あたりの摂取所要時間の範囲内であるか否かを判定する付記3に記載の食事検知プログラム。 (Supplementary Note 4) The meal according to Supplementary Note 3, wherein the determining process determines whether or not the duration of the peak obtained for each of the detected peaks is within the range of the required intake time per item of the course meal. detection program.

(付記5)前記判定する処理は、前記心拍データの第1心拍波形にフィルタが適用された第2心拍波形が近似された直線の傾きが正の値である場合、前記コース料理が摂取されたか否かの判定を実行する付記1に記載の食事検知プログラム。 (Appendix 5) In the determination process, if the slope of a straight line approximating the second heartbeat waveform in which the filter is applied to the first heartbeat waveform of the heartbeat data is a positive value, whether the course meal was ingested 1. The meal detection program according to appendix 1, which executes the determination of whether or not.

(付記6)前記心拍データの第1心拍波形から前記心拍データにフィルタが適用された第2心拍波形を減算することにより、第3心拍波形を算出し、前記第3心拍波形から、前記ピークの振幅または面積と、前記ピークの出現間隔とを算出する処理を前記コンピュータに実行させる付記1に記載の食事検知プログラム。 (Appendix 6) Calculate a third heartbeat waveform by subtracting the second heartbeat waveform to which the filter is applied to the heartbeat data from the first heartbeat waveform of the heartbeat data, and calculate the peak from the third heartbeat waveform The meal detection program according to appendix 1, which causes the computer to execute a process of calculating the amplitude or area and the appearance intervals of the peaks.

(付記7)対象者の心拍データを取得し、
取得した前記心拍データにおいて振幅が所定の閾値を超えるピークを検出し、
前記検出したピークの数が複数である場合、前記検出したピークごとに求まるピークの振幅または面積と、前記検出したピーク間で求まるピークの出現間隔とに基づいて、前記対象者によりコース料理が摂取されたか否かを判定する、
処理をコンピュータが実行する食事検知方法。
(Appendix 7) Acquiring the heartbeat data of the subject,
Detecting a peak whose amplitude exceeds a predetermined threshold in the acquired heartbeat data,
When the number of detected peaks is plural, the course meal is consumed by the subject based on the amplitude or area of the peaks determined for each of the detected peaks and the appearance interval of the peaks determined between the detected peaks. determine whether or not
A meal detection method in which the processing is computer-implemented.

(付記8)前記判定する処理は、前記検出したピークごとに求まるピークの振幅または面積の大小に関する順序が前記コース料理のメニューに含まれる各品目の摂取量の大小に関する順序と対応し、かつ前記検出したピーク間で求まるピークの出現間隔が前記コース料理のメニューで各品目が提供される間隔の範囲内であるか否かを判定する付記7に記載の食事検知方法。 (Supplementary note 8) In the determination process, the order regarding the magnitude of the amplitude or area of the peaks obtained for each of the detected peaks corresponds to the order regarding the magnitude of the intake of each item included in the menu of the course meal, and 8. The meal detection method according to appendix 7, wherein it is determined whether or not a peak appearance interval obtained between the detected peaks is within a range of intervals at which each item is provided in the course meal menu.

(付記9)前記判定する処理は、前記検出したピークごとに求まるピークの継続時間にさらに基づいて前記コース料理が摂取されたか否かを判定する付記7に記載の食事検知方法。 (Supplementary note 9) The meal detection method according to Supplementary note 7, wherein the determining process further determines whether or not the course meal has been ingested based on the peak duration time obtained for each of the detected peaks.

(付記10)前記判定する処理は、前記検出したピークごとに求まるピークの継続時間が前記コース料理の一品目あたりの摂取所要時間の範囲内であるか否かを判定する付記9に記載の食事検知方法。 (Supplementary note 10) The meal according to Supplementary note 9, wherein the determination process determines whether or not the duration of the peak obtained for each of the detected peaks is within the range of the required intake time per item of the course meal. Detection method.

(付記11)前記判定する処理は、前記心拍データの第1心拍波形にフィルタが適用された第2心拍波形が近似された直線の傾きが正の値である場合、前記コース料理が摂取されたか否かの判定を実行する付記7に記載の食事検知方法。 (Appendix 11) In the determination process, if the slope of a straight line that approximates the second heartbeat waveform obtained by applying a filter to the first heartbeat waveform of the heartbeat data has a positive value, is the course meal ingested? 8. The meal detection method according to appendix 7, wherein the determination of whether or not is performed.

(付記12)前記心拍データの第1心拍波形から前記心拍データにフィルタが適用された第2心拍波形を減算することにより、第3心拍波形を算出し、前記第3心拍波形から、前記ピークの振幅または面積と、前記ピークの出現間隔とを算出する処理を前記コンピュータが実行する付記7に記載の食事検知方法。 (Appendix 12) Calculate a third heartbeat waveform by subtracting the second heartbeat waveform to which the filter is applied to the heartbeat data from the first heartbeat waveform of the heartbeat data, and calculate the third heartbeat waveform from the third heartbeat waveform, The meal detection method according to Supplementary Note 7, wherein the computer executes a process of calculating an amplitude or an area and an appearance interval of the peaks.

(付記13)対象者の心拍データを取得する取得部と、
取得した前記心拍データにおいて振幅が所定の閾値を超えるピークを検出する検出部と、
前記検出したピークの数が複数である場合、前記検出したピークごとに求まるピークの振幅または面積と、前記検出したピーク間で求まるピークの出現間隔とに基づいて、前記対象者によりコース料理が摂取されたか否かを判定する判定部と、
を有する食事検知装置。
(Appendix 13) an acquisition unit that acquires heartbeat data of a subject;
a detection unit that detects a peak whose amplitude exceeds a predetermined threshold in the acquired heartbeat data;
When the number of detected peaks is plural, the course meal is consumed by the subject based on the amplitude or area of the peaks determined for each of the detected peaks and the appearance interval of the peaks determined between the detected peaks. A determination unit that determines whether or not
a meal detection device having a

(付記14)前記判定部は、前記検出したピークごとに求まるピークの振幅または面積の大小に関する順序が前記コース料理のメニューに含まれる各品目の摂取量の大小に関する順序と対応し、かつ前記検出したピーク間で求まるピークの出現間隔が前記コース料理のメニューで各品目が提供される間隔の範囲内であるか否かを判定する付記13に記載の食事検知装置。 (Supplementary Note 14) The determination unit determines that the order regarding the magnitude of the amplitude or area of the peaks obtained for each of the detected peaks corresponds to the order regarding the magnitude of the intake of each item included in the menu of the course meal, and the detection 14. The meal detection device according to appendix 13, wherein the meal detection device according to appendix 13 determines whether or not the appearance interval of the peaks found between the peaks obtained is within the range of intervals at which each item is provided in the course meal menu.

(付記15)前記判定部は、前記検出したピークごとに求まるピークの継続時間にさらに基づいて前記コース料理が摂取されたか否かを判定する付記13に記載の食事検知装置。 (Supplementary Note 15) The meal detection device according to Supplementary Note 13, wherein the determination unit determines whether or not the course meal has been ingested, further based on the peak duration time obtained for each of the detected peaks.

(付記16)前記判定部は、前記検出したピークごとに求まるピークの継続時間が前記コース料理の一品目あたりの摂取所要時間の範囲内であるか否かを判定する付記15に記載の食事検知装置。 (Supplementary note 16) The meal detection according to Supplementary note 15, wherein the determination unit determines whether the duration of the peak obtained for each of the detected peaks is within the range of the required intake time per item of the course meal. Device.

(付記17)前記判定部は、前記心拍データの第1心拍波形にフィルタが適用された第2心拍波形が近似された直線の傾きが正の値である場合、前記コース料理が摂取されたか否かの判定を実行する付記13に記載の食事検知装置。 (Supplementary Note 17) When the inclination of a straight line obtained by approximating the second heartbeat waveform obtained by applying a filter to the first heartbeat waveform of the heartbeat data has a positive value, the determination unit determines whether the course meal has been ingested. 14. The meal detection device according to appendix 13, which determines whether or not.

(付記18)前記心拍データの第1心拍波形から前記心拍データにフィルタが適用された第2心拍波形を減算することにより、第3心拍波形を算出し、前記第3心拍波形から、前記ピークの振幅または面積と、前記ピークの出現間隔とを算出する算出部をさらに有する付記13に記載の食事検知装置。 (Appendix 18) A third heartbeat waveform is calculated by subtracting the second heartbeat waveform to which the filter is applied to the heartbeat data from the first heartbeat waveform of the heartbeat data, and the peak of the heartbeat waveform is calculated from the third heartbeat waveform. 14. The meal detection device according to appendix 13, further comprising a calculator that calculates the amplitude or area and the appearance intervals of the peaks.

1 ヘルスケア支援システム
10 ウェアラブル端末
20 IoTデバイス
30 サーバ装置
31 取得部
32 適用部
33 第1検知部
34 第2検知部
34A 検出部
34B 設定部
34C 抽出部
34D 算出部
34E 判定部
35 提供部
1 healthcare support system 10 wearable terminal 20 IoT device 30 server apparatus 31 acquisition unit 32 application unit 33 first detection unit 34 second detection unit 34A detection unit 34B setting unit 34C extraction unit 34D calculation unit 34E determination unit 35 provision unit

Claims (5)

対象者の心拍データを取得し、
取得した前記心拍データにおいて振幅が所定の閾値を超えるピークを検出し、
前記検出したピークごとに求まるピークの振幅または面積の大小に関する順序がコース料理のメニューに含まれる各品目の摂取量の大小に関する順序と対応し、かつ前記検出したピーク間で求まるピークの出現間隔が前記コース料理のメニューで各品目が提供される間隔の範囲内である場合、前記対象者により前記コース料理が摂取されたと判定する、
処理をコンピュータに実行させる食事検知プログラム。
Get the heart rate data of the subject,
Detecting a peak whose amplitude exceeds a predetermined threshold in the acquired heartbeat data,
The order regarding the magnitude of the amplitude or area of the peaks determined for each of the detected peaks corresponds to the order regarding the magnitude of the intake of each item included in the course meal menu, and the appearance interval of the peaks determined between the detected peaks. Determining that the course meal has been ingested by the subject when each item on the course meal menu is within the range of intervals provided,
A meal detection program that lets a computer do the work.
前記判定する処理は、前記検出したピークごとに求まるピークの継続時間の各々が特定の時間以内である場合、前記コース料理が摂取されたと判定する請求項1に記載の食事検知プログラム。 2. The meal detection program according to claim 1, wherein said determination processing determines that said course meal has been ingested when each of the peak durations obtained for each of said detected peaks is within a specific time . 前記判定する処理は、前記心拍データの第1心拍波形にフィルタが適用された第2心拍波形が近似された直線の傾きが正の値である場合、前記コース料理が摂取されたか否かの判定を実行する請求項1または2に記載の食事検知プログラム。 The determining process determines whether or not the course meal has been ingested when the slope of a straight line obtained by approximating the filtered second heartbeat waveform to the first heartbeat waveform of the heartbeat data has a positive value. 3. The meal detection program according to claim 1 or 2 , which executes 対象者の心拍データを取得し、
取得した前記心拍データにおいて振幅が所定の閾値を超えるピークを検出し、
前記検出したピークごとに求まるピークの振幅または面積の大小に関する順序がコース料理のメニューに含まれる各品目の摂取量の大小に関する順序と対応し、かつ前記検出したピーク間で求まるピークの出現間隔が前記コース料理のメニューで各品目が提供される間隔の範囲内である場合、前記対象者により前記コース料理が摂取されたと判定する、
処理をコンピュータが実行する食事検知方法。
Get the heart rate data of the subject,
Detecting a peak whose amplitude exceeds a predetermined threshold in the acquired heartbeat data,
The order regarding the magnitude of the amplitude or area of the peaks determined for each of the detected peaks corresponds to the order regarding the magnitude of the intake of each item included in the course meal menu, and the appearance interval of the peaks determined between the detected peaks. Determining that the course meal has been ingested by the subject when each item on the course meal menu is within the range of intervals provided,
A meal detection method in which the processing is computer-implemented.
対象者の心拍データを取得する取得部と、
取得した前記心拍データにおいて振幅が所定の閾値を超えるピークを検出する検出部と、
前記検出したピークごとに求まるピークの振幅または面積の大小に関する順序がコース料理のメニューに含まれる各品目の摂取量の大小に関する順序と対応し、かつ前記検出したピーク間で求まるピークの出現間隔が前記コース料理のメニューで各品目が提供される間隔の範囲内である場合、前記対象者により前記コース料理が摂取されたと判定する判定部と、
を有する食事検知装置。
an acquisition unit that acquires heartbeat data of a subject;
a detection unit that detects a peak whose amplitude exceeds a predetermined threshold in the acquired heartbeat data;
The order regarding the magnitude of the amplitude or area of the peaks determined for each of the detected peaks corresponds to the order regarding the magnitude of the intake of each item included in the course meal menu, and the appearance interval of the peaks determined between the detected peaks. a determination unit that determines that the course meal has been ingested by the subject when each item on the course meal menu is provided within a range of intervals;
a meal detection device having a
JP2018075747A 2018-04-10 2018-04-10 MEAL DETECTION PROGRAM, MEAL DETECTION METHOD, AND MEAL DETECTION DEVICE Expired - Fee Related JP7110689B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018075747A JP7110689B2 (en) 2018-04-10 2018-04-10 MEAL DETECTION PROGRAM, MEAL DETECTION METHOD, AND MEAL DETECTION DEVICE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018075747A JP7110689B2 (en) 2018-04-10 2018-04-10 MEAL DETECTION PROGRAM, MEAL DETECTION METHOD, AND MEAL DETECTION DEVICE

Publications (2)

Publication Number Publication Date
JP2019185405A JP2019185405A (en) 2019-10-24
JP7110689B2 true JP7110689B2 (en) 2022-08-02

Family

ID=68341335

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018075747A Expired - Fee Related JP7110689B2 (en) 2018-04-10 2018-04-10 MEAL DETECTION PROGRAM, MEAL DETECTION METHOD, AND MEAL DETECTION DEVICE

Country Status (1)

Country Link
JP (1) JP7110689B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014123214A (en) 2012-12-20 2014-07-03 Nikon Corp Electronic apparatus
WO2017081787A1 (en) 2015-11-12 2017-05-18 富士通株式会社 Food ingestion index estimation device, food ingestion index estimation method, and food ingestion index estimation program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014123214A (en) 2012-12-20 2014-07-03 Nikon Corp Electronic apparatus
WO2017081787A1 (en) 2015-11-12 2017-05-18 富士通株式会社 Food ingestion index estimation device, food ingestion index estimation method, and food ingestion index estimation program

Also Published As

Publication number Publication date
JP2019185405A (en) 2019-10-24

Similar Documents

Publication Publication Date Title
EP3453321B1 (en) Non-invasive method and system for estimating blood pressure from photoplethysmogram using statistical post-processing
US20210177343A1 (en) Systems and methods for contactless sleep monitoring
Min et al. Toss'n'turn: smartphone as sleep and sleep quality detector
JP6489130B2 (en) Meal estimation program, meal estimation method, and meal estimation device
JP6519798B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND INFORMATION PROCESSING SYSTEM
EP3372155B1 (en) Meal time estimation method, meal time estimation program, and meal time estimation device
EP3605553B1 (en) Systems and methods for unobtrusive digital health assessment
WO2017081829A1 (en) Behavior detection device, behavior detection method, and behavior detection program
EP3417773B1 (en) Meal detection method, meal detection system, and meal detection program
JP2019005503A (en) Heart rate correction program, heart rate correction method, and heart rate correction system
JP6969177B2 (en) Specific behavior detection program, specific behavior detection method and specific behavior detection system
US10952670B2 (en) Meal detection method, meal detection system, and storage medium
JP7110689B2 (en) MEAL DETECTION PROGRAM, MEAL DETECTION METHOD, AND MEAL DETECTION DEVICE
JP6390783B2 (en) Meal time estimation method and meal time estimation device
WO2022221014A1 (en) Detection and prediction of hypertension induced organ damage using ecg and blood pressure data
Goldstein et al. Classifying individuals based on a densely captured sequence of vital signs: An example using repeated blood pressure measurements during hemodialysis treatment
JP6984467B2 (en) Meal estimation program, meal estimation method and meal estimation device
CN105512476B (en) A kind of method and intelligent wearable device of data acquisition
JP6676877B2 (en) Meal time estimation method, meal time estimation device, and meal time estimation program
JP7427451B2 (en) Information processing device, onset probability determination method, and onset probability determination program
JP2017012249A (en) Meal time estimation method, meal time estimation program, and meal time estimation device
Chaurasia et al. Design and implementation of data collection & analysis tool for healthcare parameter monitoring using inverse low pass filter
KR102762992B1 (en) Method and system for predicting blood glucose
US20240194311A1 (en) Management of information from active implantable medical device
Stankoski et al. Energy-Efficient Eating Detection Using a Wristband

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220124

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220621

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220704

R150 Certificate of patent or registration of utility model

Ref document number: 7110689

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees