JP7374366B1 - Program, method, information processing device, system - Google Patents

Program, method, information processing device, system Download PDF

Info

Publication number
JP7374366B1
JP7374366B1 JP2023111442A JP2023111442A JP7374366B1 JP 7374366 B1 JP7374366 B1 JP 7374366B1 JP 2023111442 A JP2023111442 A JP 2023111442A JP 2023111442 A JP2023111442 A JP 2023111442A JP 7374366 B1 JP7374366 B1 JP 7374366B1
Authority
JP
Japan
Prior art keywords
user
sleep
information
measurement
sleep information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2023111442A
Other languages
Japanese (ja)
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.)
Pokemon Co
Original Assignee
Pokemon Co
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 Pokemon Co filed Critical Pokemon Co
Priority to JP2023111442A priority Critical patent/JP7374366B1/en
Application granted granted Critical
Publication of JP7374366B1 publication Critical patent/JP7374366B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

【課題】他のアプリケーションを実行することによる睡眠結果の取得失敗を抑え、ユーザがゲームを継続する意欲の減衰を抑える。【解決手段】プロセッサと、メモリとを備える、睡眠情報を用いたゲームの進行を管理するコンピュータに実行させるためのプログラムである。プログラムは、プロセッサに、睡眠情報の計測開始の指示に応じ、睡眠情報を計測するステップと、睡眠情報の計測を開始した後に他のアプリケーションが実行されることによる、睡眠情報の計測の停止を検知するステップと、睡眠情報の計測の停止をユーザに通知するステップとを実行させる。【選択図】図8An object of the present invention is to suppress failures in obtaining sleep results due to execution of other applications, and to suppress attenuation of a user's desire to continue playing a game. The present invention is a program that is executed by a computer that includes a processor and a memory and manages the progress of a game using sleep information. The program includes a step of measuring sleep information in response to an instruction to start measuring sleep information to the processor, and detecting a stop in measuring sleep information due to another application being executed after starting measurement of sleep information. and a step of notifying the user of stopping measurement of sleep information. [Selection diagram] Figure 8

Description

本開示は、プログラム、方法、情報処理装置、システムに関する。 The present disclosure relates to a program, a method, an information processing device, and a system.

ユーザの睡眠の習慣を適切にするよう促すゲームシステムに関する技術がある(特許文献1参照)。特許文献1では、ユーザが入床してから、端末装置に対する入力操作を受け付けることなくユーザが入眠に至ったことにより、ユーザに報酬を付与するようにしている。 There is a technology related to a game system that prompts a user to maintain appropriate sleeping habits (see Patent Document 1). In Patent Document 1, a reward is given to a user when the user goes to bed and falls asleep without receiving any input operations on the terminal device.

特開2020-194313号公報Japanese Patent Application Publication No. 2020-194313

特許文献1で記載されるとおり、特許文献1に係るゲームをプレイする際であっても、入床してから入眠するまでの間に、ユーザが端末装置を操作することはあり得る。 As described in Patent Document 1, even when playing the game according to Patent Document 1, it is possible for the user to operate a terminal device between going to bed and falling asleep.

このとき、ユーザが実行するアプリケーションによっては、バックグラウンドで実行されるゲームが停止する恐れがある。睡眠の実績に基づいてゲームプレイをする場合、バックグラウンドでゲームが停止してしまうと、睡眠結果が取得されなくなり、ゲームプレイの進行が滞ってしまう。取得できていると信じていた睡眠結果が取得されず、ゲームプレイの進行が滞ってしまうと、ユーザに不満が発生し、ゲームを継続する意欲が減衰してしまう。 At this time, depending on the application that the user runs, the game running in the background may stop. When playing a game based on sleep performance, if the game stops in the background, the sleep results will no longer be acquired and the progress of the game will be delayed. If the sleep results that the user believed to have been obtained are not obtained and the progress of the game play is delayed, the user becomes dissatisfied and his or her motivation to continue playing the game decreases.

本開示の目的は、他のアプリケーションを実行することによる睡眠結果の取得失敗を抑え、ユーザがゲームを継続する意欲の減衰を抑えることである。 An object of the present disclosure is to suppress failure to obtain sleep results due to execution of other applications, and to suppress attenuation of the user's desire to continue playing the game.

プロセッサと、メモリとを備える、睡眠情報を用いたゲームの進行を管理するコンピュータに実行させるためのプログラムである。プログラムは、プロセッサに、睡眠情報の計測開始の指示に応じ、睡眠情報を計測するステップと、睡眠情報の計測を開始した後に他のアプリケーションが実行されることにより睡眠情報の計測が停止したことを検知するステップと、睡眠情報の計測が停止した旨をユーザに通知するステップとを実行させる。 This is a program that is executed by a computer that includes a processor and a memory and manages the progress of a game using sleep information. The program includes the step of measuring sleep information in response to an instruction to start measuring sleep information to the processor, and the step of notifying the processor that the measurement of sleep information has stopped due to the execution of another application after starting the measurement of sleep information. A step of detecting and a step of notifying the user that measurement of sleep information has been stopped are executed.

開示によれば、他のアプリケーションを実行することによる睡眠結果の取得失敗を抑え、ユーザがゲームを継続する意欲の減衰を抑えることができる。 According to the disclosure, failure to obtain sleep results due to execution of other applications can be suppressed, and the user's desire to continue playing the game can be suppressed from decreasing.

システム1の全体構成の例を示す図である。1 is a diagram showing an example of the overall configuration of a system 1. FIG. 図1に示す端末装置10の構成例を表すブロック図である。2 is a block diagram illustrating a configuration example of the terminal device 10 shown in FIG. 1. FIG. サーバ20の機能的な構成の例を示す図である。2 is a diagram showing an example of a functional configuration of a server 20. FIG. ユーザ情報181のデータ構造の例を示す図である。3 is a diagram showing an example of a data structure of user information 181. FIG. 第1オブジェクト情報182のデータ構造の例を示す図である。3 is a diagram showing an example of a data structure of first object information 182. FIG. 第2オブジェクト情報183のデータ構造の例を示す図である。7 is a diagram showing an example of a data structure of second object information 183. FIG. ユーザ情報テーブル2021のデータ構造の例を示す図である。3 is a diagram showing an example of a data structure of a user information table 2021. FIG. 睡眠情報の計測が停止された場合の端末装置10の動作の例を示すフローチャートである。It is a flowchart showing an example of the operation of the terminal device 10 when measurement of sleep information is stopped. 計測が停止したことをユーザへ通知する際のディスプレイ141の表示例を表す模式図である。FIG. 6 is a schematic diagram showing an example of a display on the display 141 when notifying the user that measurement has stopped. 実行中の計測が存在することをユーザへ通知する際のディスプレイ141の表示例を表す模式図である。FIG. 7 is a schematic diagram illustrating an example of a display on the display 141 when notifying a user that there is a measurement being executed. 睡眠情報の計測の停止後にゲームが実行された場合の端末装置10の動作の例を示すフローチャートである。It is a flowchart showing an example of the operation of the terminal device 10 when a game is executed after the measurement of sleep information is stopped. 睡眠情報の計測開始の指示を受け付けるためのインタフェースを表示する際のディスプレイ141の表示例を表す模式図である。FIG. 3 is a schematic diagram showing an example of a display on the display 141 when displaying an interface for accepting an instruction to start measuring sleep information. 途中で停止された計測の結果をユーザへ提示する際のディスプレイ141の表示例を表す模式図である。FIG. 7 is a schematic diagram illustrating a display example of the display 141 when presenting the result of a measurement that has been stopped midway to the user. 停止された睡眠結果を引き継ぐか否かをユーザに確認する際のディスプレイ141の表示例を表す模式図である。FIG. 6 is a schematic diagram showing an example of a display on the display 141 when asking the user whether or not to inherit the suspended sleep results. ユーザが起床した際の端末装置10の動作の例を示すフローチャートである。It is a flowchart showing an example of the operation of the terminal device 10 when the user wakes up. イベント発生時の端末装置10とサーバ20との動作の例を説明するための図である。FIG. 3 is a diagram for explaining an example of the operation of the terminal device 10 and the server 20 when an event occurs. コンピュータ90の基本的なハードウェア構成を示すブロック図である。2 is a block diagram showing the basic hardware configuration of a computer 90. FIG.

以下、図面を参照しつつ、本開示の実施形態について説明する。以下の説明では、同一の部品には同一の符号を付してある。それらの名称及び機能も同じである。したがって、それらについての詳細な説明は繰り返さない。 Embodiments of the present disclosure will be described below with reference to the drawings. In the following description, the same parts are given the same reference numerals. Their names and functions are also the same. Therefore, detailed descriptions thereof will not be repeated.

<概略>
本実施形態に係るシステムは、睡眠情報を用いたゲームに係るシステムである。当該システムにおいて、ユーザは、自身が所持する端末装置にインストールされた、睡眠情報を用いたゲームを実行し、ゲームをプレイする。本実施形態に係る睡眠情報を用いたゲームを実行する端末装置は、プレイヤーであるユーザから入力される、睡眠情報の計測開始の指示に応じ、睡眠情報を計測する。端末装置は、例えば、ユーザが起床した際、ユーザの睡眠を評価した結果に基づき、ゲームに係るイベントを発生させる。
<Summary>
The system according to this embodiment is a system concerning a game using sleep information. In this system, a user executes a game using sleep information that is installed on a terminal device that the user owns, and plays the game. A terminal device that executes a game using sleep information according to the present embodiment measures sleep information in response to an instruction to start measuring sleep information input by a user who is a player. For example, when the user wakes up, the terminal device generates an event related to the game based on the result of evaluating the user's sleep.

ユーザは、睡眠情報の計測を開始させた後、他のアプリケーションを実行させることがある。睡眠情報の計測中に他のアプリケーションを実行すると、端末装置は、端末の設定、又はアプリケーションの設定等に応じ、バックグラウンドで継続されるはずの睡眠情報の計測を停止させることがある。端末装置は、他のアプリケーションの実行により、睡眠情報の計測が停止したことを検知する。端末装置は、睡眠情報の計測が停止した旨をユーザに通知することで、ゲームに係るイベントを発生させるのに必要な睡眠情報の計測が停止していることをユーザに把握させる。 After starting the measurement of sleep information, the user may run other applications. If another application is executed while sleep information is being measured, the terminal device may stop measuring the sleep information, which is supposed to continue in the background, depending on the settings of the terminal, the settings of the application, or the like. The terminal device detects that measurement of sleep information has stopped due to execution of another application. By notifying the user that measurement of sleep information has stopped, the terminal device allows the user to understand that measurement of sleep information necessary for generating an event related to the game has stopped.

<1 システム全体の構成図>
図1は、システム1の全体構成の例を示す図である。システム1において、サーバは各ユーザの睡眠情報を受け付けてゲームを進行させる。図1に示すように、システム1は、複数の端末装置10と、サーバ20とを含む。端末装置10とサーバ20とは、ネットワーク80を介して通信接続する。
<1 Configuration diagram of the entire system>
FIG. 1 is a diagram showing an example of the overall configuration of a system 1. As shown in FIG. In system 1, the server receives sleep information of each user and advances the game. As shown in FIG. 1, the system 1 includes a plurality of terminal devices 10 and a server 20. The terminal device 10 and the server 20 are communicatively connected via a network 80.

図1において、システム1が端末装置10を2台含む例を示しているが、システム1に含まれる端末装置10の数は、2台に限定されない。システム1に含まれる端末装置10は、3台以上であってもよい。 Although FIG. 1 shows an example in which the system 1 includes two terminal devices 10, the number of terminal devices 10 included in the system 1 is not limited to two. The number of terminal devices 10 included in the system 1 may be three or more.

図1において、システム1がサーバ20を1台含む例を示しているが、システム1に含まれるサーバ20の数は、1台に限定されない。サーバ20は、有する機能に応じ、複数のサーバから構成されていてもよい。また、サーバ20は、例えば、複数の装置の集合体を1つのサーバとしてもよい。1つ又は複数のハードウェアに対して本実施形態に係るサーバ20を実現することに要する複数の機能の配分の仕方は、各ハードウェアの処理能力及び/又はサーバ20に求められる仕様等に鑑みて適宜決定することができる。 Although FIG. 1 shows an example in which the system 1 includes one server 20, the number of servers 20 included in the system 1 is not limited to one. The server 20 may be composed of a plurality of servers depending on the functions it has. Further, the server 20 may be, for example, a collection of a plurality of devices. How to allocate the multiple functions required to realize the server 20 according to this embodiment to one or more pieces of hardware will be determined based on the processing capacity of each piece of hardware and/or the specifications required of the server 20. It can be determined as appropriate.

端末装置10は、例えば、睡眠情報を用いたゲームをプレイするユーザが操作する情報処理装置である。端末装置10は、例えば、移動体通信システムに対応したスマートフォン、タブレット等の携帯端末等により実現される。この他に、端末装置10は、例えば、据え置き型のPC(Personal Computer)、ラップトップPC、ゲーム専用機により実現されてもよい。また、端末装置10は、例えば、HMD(Head Mount Display)等のウェアラブル端末により実現されてもよい。 The terminal device 10 is, for example, an information processing device operated by a user who plays a game using sleep information. The terminal device 10 is realized by, for example, a mobile terminal such as a smartphone or a tablet compatible with a mobile communication system. In addition, the terminal device 10 may be realized by, for example, a stationary PC (Personal Computer), a laptop PC, or a dedicated game machine. Further, the terminal device 10 may be realized by, for example, a wearable terminal such as an HMD (Head Mount Display).

端末装置10は、通信IF(Interface)12と、入力装置13と、出力装置14と、メモリ15と、ストレージ16と、プロセッサ19とを備える。入力装置13は、ユーザからの入力操作を受け付けるための装置(例えば、タッチパネル、タッチパッド等)である。出力装置14は、ユーザに対して情報を提示するための装置(ディスプレイ、スピーカー等)である。 The terminal device 10 includes a communication IF (Interface) 12, an input device 13, an output device 14, a memory 15, a storage 16, and a processor 19. The input device 13 is a device (for example, a touch panel, a touch pad, etc.) for receiving input operations from a user. The output device 14 is a device (display, speaker, etc.) for presenting information to the user.

端末装置10は、1又は複数の睡眠測定デバイス11と有線又は無線により接続する。具体的には、例えば、端末装置10は、睡眠測定デバイス11と、Bluetooth(登録商標)、Wi-Fi等の近距離無線通信により通信する。なお、睡眠測定デバイス11等が、5G、又は6G等の移動体通信システムの通信規格に対応し、近距離無線通信によらずとも端末装置10と通信してもよい。また、睡眠測定デバイス11は、サーバ20と直接通信してもよい。 The terminal device 10 connects to one or more sleep measuring devices 11 by wire or wirelessly. Specifically, for example, the terminal device 10 communicates with the sleep measurement device 11 using short-range wireless communication such as Bluetooth (registered trademark) or Wi-Fi. Note that the sleep measurement device 11 and the like may be compatible with communication standards of mobile communication systems such as 5G or 6G, and may communicate with the terminal device 10 without using short-range wireless communication. Additionally, the sleep measurement device 11 may communicate directly with the server 20.

睡眠測定デバイス11は、端末装置10のユーザの睡眠に関する情報を取得するためのデバイスである。図1では、1台の睡眠測定デバイス11が端末装置10に接続される場合を例に示しているが、2台以上の睡眠測定デバイス11が端末装置10に接続されてもよい。なお、端末装置10がユーザの睡眠に関する情報を取得する機能を有する場合、睡眠測定デバイス11はなくてもよい。 The sleep measuring device 11 is a device for acquiring information regarding the sleep of the user of the terminal device 10. Although FIG. 1 shows an example in which one sleep measurement device 11 is connected to the terminal device 10, two or more sleep measurement devices 11 may be connected to the terminal device 10. Note that if the terminal device 10 has a function of acquiring information regarding the user's sleep, the sleep measurement device 11 may not be provided.

睡眠測定デバイス11は、例えば、腕時計型、指輪型、アイマスク型等の、ユーザの身体に装着されるウェアラブルデバイスである。また、睡眠測定デバイス11は、ユーザが就寝しているマットレス、枕元等に載置するデバイスであってもよい。また、端末装置10と睡眠測定デバイス11とが同一の装置であるとしてもよい。すなわち、端末装置10が、睡眠測定デバイス11としても機能することとしてもよい。 The sleep measurement device 11 is, for example, a wearable device such as a wristwatch, a ring, or an eye mask that is worn on the user's body. Further, the sleep measurement device 11 may be a device placed on the mattress, bedside, or the like on which the user is sleeping. Further, the terminal device 10 and the sleep measuring device 11 may be the same device. That is, the terminal device 10 may also function as the sleep measurement device 11.

睡眠測定デバイス11は、例えば、加速度センサ、角速度センサ、又はこれらの組み合わせを含むモーションセンサを備える。なお、これらに限定されない。睡眠測定デバイス11は、モーションセンサにより、睡眠中のユーザの身体の動きをセンシングする。睡眠測定デバイス11は、センシングした結果に関する情報を、例えば、睡眠情報として端末装置10へ送信する。端末装置10は、睡眠情報に基づき、ユーザが入床したこと(例えば、ベッドに横たわったこと)を検出する。入床は、例えば、ユーザが睡眠をとるためにベッド又は布団等の寝床に入ることを表す。また、端末装置10は、睡眠情報に基づき、ユーザが入床した後に入眠したことを検出する。端末装置10は、ユーザの入床及び入眠を検出することで、入床してから入眠するまでの間に、ユーザが端末装置10を操作していたこと、ユーザが端末装置10のディスプレイ141を見ていたこと等を判定することが可能である。すなわち、端末装置10は、寝ようとしているユーザが、寝る前に端末装置10を操作しているか否かを判定することが可能である。 The sleep measurement device 11 includes a motion sensor including, for example, an acceleration sensor, an angular velocity sensor, or a combination thereof. However, it is not limited to these. The sleep measurement device 11 uses a motion sensor to sense the movement of the user's body during sleep. The sleep measurement device 11 transmits information regarding the sensing results to the terminal device 10 as, for example, sleep information. The terminal device 10 detects that the user has gone to bed (for example, that the user is lying in bed) based on the sleep information. Going to bed indicates, for example, that the user goes into bed, such as a bed or a futon, to sleep. Furthermore, the terminal device 10 detects that the user has fallen asleep after going to bed based on the sleep information. By detecting when the user goes to bed and falls asleep, the terminal device 10 detects whether the user has been operating the terminal device 10 from the time the user goes to bed until the time the user falls asleep, and whether the user is using the display 141 of the terminal device 10. It is possible to determine what the person was looking at. That is, the terminal device 10 can determine whether a user who is about to go to sleep operates the terminal device 10 before going to sleep.

また、睡眠測定デバイス11は、例えば、端末装置10からの指示に応じ、睡眠情報の計測を開始してもよい。ユーザは、端末装置10に睡眠情報の計測を開始させる指示を入力する。端末装置10は、ユーザからの指示に応じ、睡眠測定デバイス11に対してセンシングを開始させる。 Further, the sleep measurement device 11 may start measuring sleep information, for example, in response to an instruction from the terminal device 10. The user inputs an instruction to the terminal device 10 to start measuring sleep information. The terminal device 10 causes the sleep measurement device 11 to start sensing in response to an instruction from the user.

また、例えば、睡眠測定デバイス11は、取得したセンシング結果を蓄積する。また、例えば、端末装置10、又はサーバ20は、睡眠測定デバイス11から送信された睡眠情報を蓄積する。端末装置10、又はサーバ20は、蓄積した睡眠情報に基づき、ユーザが睡眠中であるか、浅い睡眠状態であるか、深い睡眠状態であるか、レム睡眠であるか、ノンレム睡眠であるか等を判別する。レム睡眠、ノンレム睡眠の波形を判別する等により、端末装置10、又はサーバ20は、ユーザの睡眠の質を評価することが可能である。具体的には、例えば、良質な睡眠である場合のレム睡眠、ノンレム睡眠のサイクルが予め設定されている。端末装置10、又はサーバ20は、予め設定されているレム睡眠、ノンレム睡眠の波形と、ユーザの睡眠時のレム睡眠、ノンレム睡眠の波形とを比較することで、ユーザの睡眠の質を評価する。 Further, for example, the sleep measuring device 11 accumulates the acquired sensing results. Further, for example, the terminal device 10 or the server 20 accumulates sleep information transmitted from the sleep measurement device 11. Based on the accumulated sleep information, the terminal device 10 or the server 20 determines whether the user is sleeping, in a light sleep state, in a deep sleep state, in REM sleep, non-REM sleep, etc. Determine. By determining the waveforms of REM sleep and NREM sleep, the terminal device 10 or the server 20 can evaluate the quality of the user's sleep. Specifically, for example, a cycle of REM sleep and non-REM sleep that corresponds to good quality sleep is set in advance. The terminal device 10 or the server 20 evaluates the quality of the user's sleep by comparing the preset waveforms of REM sleep and NREM sleep with the waveforms of REM sleep and NREM sleep during the user's sleep. .

システム1での利用が予め想定される睡眠測定デバイス11は、例えば、いわゆるホワイトリスト形式で管理されている。端末装置10は、例えば、システム1で対応している睡眠測定デバイス11の製品情報を記憶しており、対応していない睡眠測定デバイス11からデータを受信すると、受信したデータを受け付けないようにしてもよい。また、端末装置10は、例えば、対応していない睡眠測定デバイス11からデータを受信すると、特定不可能な睡眠測定デバイス11等用のパラメータを用いてその後の処理を実行してもよい。 The sleep measurement devices 11 that are assumed to be used in the system 1 are managed, for example, in a so-called white list format. For example, the terminal device 10 stores product information of the sleep measurement device 11 that is compatible with the system 1, and when receiving data from a sleep measurement device 11 that is not compatible, the terminal device 10 prevents the received data from being accepted. Good too. Further, for example, when the terminal device 10 receives data from an incompatible sleep measurement device 11, the terminal device 10 may perform subsequent processing using parameters for the unspecified sleep measurement device 11 or the like.

なお、ユーザが2以上の睡眠測定デバイスを同時に使用することもある。例えば、ユーザが腕時計型の睡眠測定デバイスを2つ装着すること、ユーザが腕時計型の睡眠測定デバイスを装着しつつ、スマートフォンを睡眠測定デバイスとして使用することがあり得る。 Note that the user may use two or more sleep measurement devices at the same time. For example, a user may wear two wristwatch-type sleep measurement devices, or a user may wear a wristwatch-type sleep measurement device and use a smartphone as a sleep measurement device.

また、睡眠測定デバイス11の種類の相違は装置の相違であることに限らない。すなわち、同一の装置構成の睡眠測定デバイス11であっても、睡眠情報をサーバ20へ送信するまでに利用したソフトウェア、又はアプリケーション等の種類によって、システム1では異なる睡眠測定デバイス11として管理してもよい。例えば、同一の睡眠測定デバイス11を利用して睡眠情報を検出した場合であっても、睡眠情報の加工のために睡眠測定アプリケーションAを利用した場合と、異なる睡眠測定アプリケーションBを利用した場合とでは、それぞれ異なる「睡眠測定デバイスID」として管理することができる。このように、装置構成としてのデバイスの種類と、使用したアプリケーションの組み合わせに応じて、それぞれ異なる「睡眠測定デバイスID」として管理することで、より柔軟な睡眠情報の生成が可能になり、その結果、睡眠状態に応じたゲームの興趣性を十分に発揮することが可能となる。 Moreover, the difference in the type of sleep measurement device 11 is not limited to a difference in the device. That is, even if the sleep measurement devices 11 have the same device configuration, they may be managed as different sleep measurement devices 11 in the system 1 depending on the type of software or application used before sending the sleep information to the server 20. good. For example, even if sleep information is detected using the same sleep measurement device 11, there are cases in which sleep measurement application A is used to process the sleep information and cases in which a different sleep measurement application B is used to process the sleep information. , each can be managed as a different "sleep measurement device ID". In this way, by managing each device as a different "sleep measurement device ID" depending on the type of device in the device configuration and the combination of applications used, it becomes possible to generate sleep information more flexibly. , it becomes possible to fully demonstrate the interest of the game according to the sleeping state.

端末装置10は、ゲームコントローラと有線又は無線により接続されていてもよい。ユーザは、ゲームコントローラを操作してゲームをプレイ可能である。端末装置10は、複数のゲームコントローラと通信可能としてもよい。例えば、複数のユーザがそれぞれのゲームコントローラを操作し、1台の端末装置10でゲームを行ってもよい。 The terminal device 10 may be connected to the game controller by wire or wirelessly. The user can play the game by operating the game controller. The terminal device 10 may be able to communicate with multiple game controllers. For example, multiple users may operate their respective game controllers and play a game on one terminal device 10.

サーバ20は、例えば、睡眠情報を用いたゲームの進行を管理する情報処理装置である。また、サーバ20は、睡眠情報に基づくゲーム内のイベントを発生させる情報処理装置である。本実施形態において、イベントは、例えば、複数の局面を有する。イベントに含まれる局面は例えば、以下である。
・睡眠結果の報告
・睡眠情報に基づくオブジェクトの抽選
・抽選されたオブジェクトに対する干渉
・特典の付与
・睡眠情報の開示
The server 20 is, for example, an information processing device that manages the progress of a game using sleep information. Further, the server 20 is an information processing device that generates in-game events based on sleep information. In this embodiment, an event has multiple aspects, for example. For example, the aspects included in the event are as follows.
・Reporting sleep results ・Lottery of objects based on sleep information ・Interference with drawn objects ・Granting benefits ・Disclosure of sleep information

本実施形態では、例えば、「睡眠結果の報告」を第1局面、「睡眠情報に基づくオブジェクトの抽選」を第2局面、「抽選されたオブジェクトに対する干渉」を第3局面として説明するが、これに限定されず、他の組み合わせも可能である。 In this embodiment, for example, "reporting sleep results" will be described as a first phase, "lotting an object based on sleep information" as a second phase, and "interfering with the drawn object" as a third phase. However, other combinations are also possible.

サーバ20は、例えば、ネットワーク80に接続されたコンピュータにより実現される。サーバ20は、例えば、通信IF22と、入出力IF23と、メモリ25と、ストレージ26と、プロセッサ29とを備える。入出力IF23は、ユーザからの入力操作を受け付けるための入力装置、及び、ユーザに対して情報を提示するための出力装置とのインタフェースとして機能する。 The server 20 is realized, for example, by a computer connected to the network 80. The server 20 includes, for example, a communication IF 22, an input/output IF 23, a memory 25, a storage 26, and a processor 29. The input/output IF 23 functions as an interface with an input device for receiving input operations from a user and an output device for presenting information to the user.

各情報処理装置は演算装置と記憶装置とを備えたコンピュータにより構成されている。コンピュータの基本ハードウェア構成及び、当該ハードウェア構成により実現されるコンピュータの基本機能構成は後述する。端末装置10、及びサーバ20のそれぞれについて、後述するコンピュータの基本ハードウェア構成及びコンピュータの基本機能構成と重複する説明は省略する。 Each information processing device is composed of a computer including an arithmetic unit and a storage device. The basic hardware configuration of the computer and the basic functional configuration of the computer realized by the hardware configuration will be described later. Regarding each of the terminal device 10 and the server 20, explanations that overlap with the basic hardware configuration of the computer and the basic functional configuration of the computer, which will be described later, will be omitted.

<1.1 端末装置の構成>
図2は、図1に示す端末装置10の構成例を表すブロック図である。図2に示すように、端末装置10は、通信部120と、入力装置13と、出力装置14と、音声処理部17と、マイク171と、スピーカー172と、位置情報センサ150と、カメラ160と、モーションセンサ170と、記憶部180と、制御部190とを備える。端末装置10に含まれる各ブロックは、例えば、バス等により電気的に接続される。
<1.1 Terminal device configuration>
FIG. 2 is a block diagram showing a configuration example of the terminal device 10 shown in FIG. 1. As shown in FIG. As shown in FIG. 2, the terminal device 10 includes a communication section 120, an input device 13, an output device 14, an audio processing section 17, a microphone 171, a speaker 172, a position information sensor 150, and a camera 160. , a motion sensor 170, a storage section 180, and a control section 190. Each block included in the terminal device 10 is electrically connected by, for example, a bus or the like.

通信部120は、端末装置10が他の装置と通信するための変復調処理等の処理を行う。通信部120は、制御部190で生成された信号に送信処理を施し、外部(例えば、サーバ20)へ送信する。通信部120は、外部から受信した信号に受信処理を施し、制御部190へ出力する。 The communication unit 120 performs processing such as modulation/demodulation processing for the terminal device 10 to communicate with other devices. The communication unit 120 performs transmission processing on the signal generated by the control unit 190, and transmits the signal to the outside (for example, the server 20). The communication unit 120 performs reception processing on a signal received from the outside, and outputs the signal to the control unit 190.

入力装置13は、端末装置10を操作するユーザが指示、又は情報を入力するための装置である。入力装置13は、例えば、操作面へ触れることで指示が入力されるタッチ・センシティブ・デバイス131等により実現される。端末装置10がPC等である場合には、入力装置13は、リーダー、キーボード、マウス等により実現されてもよい。入力装置13は、ユーザから入力される指示を電気信号へ変換し、電気信号を制御部190へ出力する。なお、入力装置13には、例えば、外部の入力機器から入力される電気信号を受け付ける受信ポートが含まれてもよい。 The input device 13 is a device for a user operating the terminal device 10 to input instructions or information. The input device 13 is realized, for example, by a touch-sensitive device 131, etc., into which an instruction is input by touching an operation surface. When the terminal device 10 is a PC or the like, the input device 13 may be realized by a reader, a keyboard, a mouse, or the like. The input device 13 converts an instruction input from a user into an electrical signal, and outputs the electrical signal to the control unit 190. Note that the input device 13 may include, for example, a reception port that receives electrical signals input from an external input device.

出力装置14は、端末装置10を操作するユーザへ情報を提示するための装置である。出力装置14は、例えば、ディスプレイ141等により実現される。ディスプレイ141は、制御部190の制御に応じたデータを表示する。ディスプレイ141は、例えば、LCD(Liquid Crystal Display)、又は有機EL(Electro-Luminescence)ディスプレイ等によって実現される。 The output device 14 is a device for presenting information to a user operating the terminal device 10. The output device 14 is realized by, for example, a display 141 or the like. The display 141 displays data according to the control of the control unit 190. The display 141 is realized by, for example, an LCD (Liquid Crystal Display), an organic EL (Electro-Luminescence) display, or the like.

音声処理部17は、例えば、音声信号のデジタル-アナログ変換処理を行う。音声処理部17は、マイク171から与えられる信号をデジタル信号に変換して、変換後の信号を制御部190へ与える。また、音声処理部17は、音声信号をスピーカー172へ与える。音声処理部17は、例えば音声処理用のプロセッサによって実現される。マイク171は、音声入力を受け付けて、当該音声入力に対応する音声信号を音声処理部17へ与える。スピーカー172は、音声処理部17から与えられる音声信号を音声に変換して当該音声を端末装置10の外部へ出力する。 The audio processing unit 17 performs, for example, digital-to-analog conversion processing of audio signals. The audio processing unit 17 converts the signal provided from the microphone 171 into a digital signal, and provides the converted signal to the control unit 190. Furthermore, the audio processing section 17 provides an audio signal to the speaker 172. The audio processing unit 17 is realized, for example, by a processor for audio processing. The microphone 171 receives a voice input and provides a voice signal corresponding to the voice input to the voice processing unit 17. The speaker 172 converts the audio signal provided from the audio processing unit 17 into audio and outputs the audio to the outside of the terminal device 10 .

位置情報センサ150は、端末装置10の位置を検出するセンサであり、例えばGPS(Global Positioning System)モジュールである。GPSモジュールは、衛星測位システムで用いられる受信装置である。衛星測位システムでは、少なくとも3個または4個の衛星からの信号を受信し、受信した信号に基づいて、GPSモジュールが搭載される端末装置10の現在位置を検出する。位置情報センサ150は、端末装置10が接続する無線基地局の位置から、端末装置10の現在の位置を検出してもよい。 The position information sensor 150 is a sensor that detects the position of the terminal device 10, and is, for example, a GPS (Global Positioning System) module. A GPS module is a receiving device used in a satellite positioning system. The satellite positioning system receives signals from at least three or four satellites, and detects the current position of the terminal device 10 equipped with a GPS module based on the received signals. The location information sensor 150 may detect the current location of the terminal device 10 from the location of a wireless base station to which the terminal device 10 connects.

カメラ160は、受光素子により光を受光し、撮影信号として出力するためのデバイスである。 The camera 160 is a device that receives light with a light receiving element and outputs it as a photographic signal.

モーションセンサ170は、例えば、加速度センサ、角速度センサ、又はこれらの組み合わせを含む。なお、これらに限定されない。モーションセンサ170は、端末装置10の動きを検出し、センシング結果として出力する。例えば、モーションセンサ170は、端末装置10を、ユーザが就寝するベッドのマットレス等に載置することにより、就寝中のユーザがマットレス上で動いている場合に、当該動きを検出する。なお、端末装置10に睡眠測定デバイス11が接続されている場合には、睡眠測定デバイス11に設けられるモーションセンサが用いられてもよい。 Motion sensor 170 includes, for example, an acceleration sensor, an angular velocity sensor, or a combination thereof. However, it is not limited to these. The motion sensor 170 detects the movement of the terminal device 10 and outputs it as a sensing result. For example, by placing the terminal device 10 on the mattress of the bed on which the user sleeps, the motion sensor 170 detects the movements of the sleeping user on the mattress. Note that when the sleep measurement device 11 is connected to the terminal device 10, a motion sensor provided in the sleep measurement device 11 may be used.

記憶部180は、例えば、メモリ15、及びストレージ16等により実現され、端末装置10が使用するデータ、及びプログラムを記憶する。記憶部180は、例えば、ユーザ情報181、第1オブジェクト情報182、第2オブジェクト情報183を記憶する。 The storage unit 180 is realized by, for example, the memory 15, the storage 16, etc., and stores data and programs used by the terminal device 10. The storage unit 180 stores, for example, user information 181, first object information 182, and second object information 183.

ユーザ情報181は、ゲームプログラムに基づくゲームをプレイするユーザに関する情報を記憶する。詳細は後述する。 User information 181 stores information regarding users who play games based on game programs. Details will be described later.

第1オブジェクト情報182は、ユーザとオブジェクトとの第1の関係に関する情報を記憶する。本実施形態において、オブジェクトは、例えば、ゲームプレイに登場させるキャラクタ、又はアイテム等を表す。オブジェクトは、例えば、睡眠情報の程度に基づいてサーバ20で抽選がなされ、ユーザに関連付けられる。第1の関係は、例えば、睡眠情報に基づいて関連付けられるユーザとオブジェクトとの関係を表す。第1の関係は、例えば、関連付けられたオブジェクトがユーザから干渉を受けることで変動する。 The first object information 182 stores information regarding the first relationship between the user and the object. In this embodiment, the object represents, for example, a character or an item that appears in the game play. For example, objects are drawn at random by the server 20 based on the level of sleep information and are associated with users. The first relationship represents, for example, a relationship between a user and an object that are associated based on sleep information. The first relationship changes, for example, when an associated object receives interference from a user.

なお、ユーザとオブジェクトとが関連付けられるとの表現は、ユーザとオブジェクトとの関連性の例を表す表現であり、その他の表現で表されてもよい。例えば、ユーザがオブジェクトを所有する等、いかなる表現が用いられてもよい。 Note that the expression that the user and the object are associated is an expression that represents an example of the relationship between the user and the object, and may be expressed by other expressions. For example, any expression such as the user owns the object may be used.

第2オブジェクト情報183は、ユーザとオブジェクトとの第2の関係に関する情報を記憶する。ユーザは、睡眠以外の時間において、オブジェクトを選択し、所定のゲーム要素をプレイすることが可能である。睡眠情報に基づく抽選、及びその後のオブジェクトへの干渉により、ユーザとオブジェクトとの第1の関係が所定の要件を満たすと、ユーザは、睡眠以外の時間でのゲーム要素においてオブジェクトを利用可能となる。第1の関係における所定の要件は、例えば、オブジェクトへの干渉によって変動するパラメータに基づく要件である。具体的には、例えば、ユーザとオブジェクトとの関係を「信頼度」のパラメータで表現し、ゲーム内でオブジェクトと繰り返し干渉することで信頼度のパラメータが高まり、当該パラメータが一定の水準を超えることを要件とする。第1の関係における所定の要件を満たすことは、例えば、オブジェクト(キャラクター)が仲間になったと表現してもよい。第2の関係は、例えば、睡眠以外のゲーム要素に基づいて関連付けられるユーザとオブジェクトとの関係を表す。第2の関係は、例えば、睡眠以外の時間においてゲーム要素が実施されることで変動する。 The second object information 183 stores information regarding the second relationship between the user and the object. The user can select objects and play predetermined game elements during times other than sleeping. When the first relationship between the user and the object satisfies a predetermined requirement through a lottery based on sleep information and subsequent interference with the object, the user can use the object in game elements at times other than sleep. . The predetermined requirement in the first relationship is, for example, a requirement based on a parameter that changes due to interference with the object. Specifically, for example, the relationship between a user and an object is expressed as a "reliability" parameter, and by repeatedly interacting with the object in the game, the reliability parameter increases and the parameter exceeds a certain level. is the requirement. For example, satisfying a predetermined requirement in the first relationship may be expressed as the object (character) becoming a friend. The second relationship represents, for example, a relationship between a user and an object that are associated based on game elements other than sleep. The second relationship changes, for example, when game elements are performed during times other than sleep.

ユーザと関連付けられたオブジェクト、又は第1の関係における所定の要件を満たしたオブジェクトは、例えば、以下のように扱われてもよい。
・他のユーザとの交換や、他のユーザに譲渡ができる
・交換されたり譲渡されたりしたオブジェクトは、最初に関連付けられたユーザに係る情報を対応付けて記憶される(ユーザに係る情報は、例えば、ユーザ名、いつの睡眠で現れたか、どんな睡眠情報の時に現れたか等の情報を含む)
・オブジェクトは、第1の関係における所定の要件を満たしたユーザに係る情報と共に記憶されている(ユーザに係る情報は、例えば、ユーザ名、所定のゲーム要素での履歴、干渉の履歴等を含む)
・ユーザと関連付けられたのみでは交換対象のオブジェクトとはならず、所定の条件(関連付けられてから所定時間経過したこと、関連付けられてからの睡眠時間が一定時間を経過したこと)を達成したオブジェクトが交換対象となる
・第1の関係における所定の要件を満たしたのみでは交換対象のオブジェクトとはならず、所定の条件(第1の関係における所定の要件を満たしてから所定時間経過したこと、第1の関係における所定の要件を満たしてからの睡眠時間が一定時間を経過したこと)を達成したオブジェクトだけが交換対象となる
・睡眠を取る度に、起床時にオブジェクト交換用パラメータがユーザに紐づいて貯まり、オブジェクトを交換するときに、オブジェクト交換用パラメータを消費することで交換が可能(所定のオブジェクトを交換したいプレイヤは、交換対象のオブジェクトを持っているだけでは不十分であり、相応の睡眠をとることで、オブジェクト交換用パラメータを貯める必要がある)
・交換をすることで、交換前とは別のオブジェクトに変化する
・睡眠に係るタイミングで他のユーザと交換できる(同じ時間に寝ているユーザ同士で交換が発生、同じ時間(時間帯)に起きたユーザ同士で交換が発生)
・睡眠に係るタイミングで他のユーザと交換する場合、差し出したいオブジェクト、受け取りたいオブジェクト、又はこれらの組み合わせを就寝前に指定する
・交換して獲得するとその後、そのオブジェクトが抽選で選択されやすくなる(交換により獲得したオブジェクトを選ぶ確率に係るパラメータが重みづけされる)
・交換した次の睡眠は通常よりも抽選基礎パラメータが大きくなる(より良い抽選結果に結びつきやすくなる。このため、交換して、睡眠をとるというサイクルが効果的に回ることが期待される)
An object associated with a user or an object that satisfies predetermined requirements in the first relationship may be handled as follows, for example.
- Can be exchanged with or transferred to another user - Objects that are exchanged or transferred are stored in association with information about the user with whom they were first associated (information about the user is (For example, it includes information such as the user's name, when the user appeared during sleep, and what sleep information the user appeared at)
- The object is stored together with information related to a user who has satisfied predetermined requirements in the first relationship (information related to the user includes, for example, the user name, the history with a predetermined game element, the history of interference, etc.) )
・Objects that are not eligible for exchange simply because they are associated with a user; objects that meet certain conditions (a certain amount of time has passed since they were associated, a certain amount of sleep time has passed since they were associated)・An object does not become an object to be exchanged simply by satisfying the predetermined requirements in the first relationship; it does not become an object to be exchanged if the predetermined conditions (a predetermined amount of time have passed since the predetermined requirements in the first relationship were met, Only objects that have fulfilled the predetermined requirements in the first relationship (i.e., a certain amount of sleep time has elapsed since the sleep time has elapsed) are eligible for exchange. ・Every time you sleep, the object exchange parameters are linked to the user when you wake up. When exchanging an object, it can be exchanged by consuming the object exchange parameter (a player who wants to exchange a given object is not enough to have the object to be exchanged, and can exchange it by consuming the object exchange parameter) You need to save up parameters for object exchange by sleeping.)
・By exchanging, it changes into a different object from the one before the exchange. ・You can exchange with other users at the timing related to sleep (exchange occurs between users who are sleeping at the same time, and at the same time (time zone)) An exchange occurs between the users who woke up)
・If you want to exchange with another user at a time related to sleep, specify the object you want to give, the object you want to receive, or a combination of these before going to bed. ・After you exchange and acquire it, that object will be more likely to be selected in the lottery ( Parameters related to the probability of choosing the object obtained through exchange are weighted)
・The next time you exchange sleep, the lottery basic parameters will be larger than usual (it will be easier to lead to better lottery results. Therefore, it is expected that the cycle of exchanging and sleeping will be effective)

制御部190は、プロセッサ19が記憶部180に記憶されるプログラムを読み込み、プログラムに含まれる命令を実行することにより実現される。制御部190は、端末装置10の動作を制御する。制御部190は、プログラムに従って動作することにより、操作受付部191、送受信部192、情報管理部193、提示制御部194、ゲーム処理部195、タスク管理部196としての機能を発揮する。 The control unit 190 is realized by the processor 19 reading a program stored in the storage unit 180 and executing instructions included in the program. The control unit 190 controls the operation of the terminal device 10. The control unit 190 functions as an operation reception unit 191, a transmission/reception unit 192, an information management unit 193, a presentation control unit 194, a game processing unit 195, and a task management unit 196 by operating according to a program.

操作受付部191は、入力装置13から入力される指示、又は情報を受け付けるための処理を行う。例えば、操作受付部191は、タッチ・センシティブ・デバイス131等から入力される指示、又は情報を受け付ける。具体的には、例えば、操作受付部191は、ユーザから睡眠情報の測定開始の指示を受け付ける。また、例えば、操作受付部191は、ユーザから所定の時刻の設定を受け付ける。所定の時刻は、例えば、起床予定時刻、又は確認予定時刻等を含む。 The operation reception unit 191 performs processing for accepting instructions or information input from the input device 13. For example, the operation reception unit 191 receives instructions or information input from the touch-sensitive device 131 or the like. Specifically, for example, the operation reception unit 191 receives an instruction to start measuring sleep information from the user. Further, for example, the operation accepting unit 191 accepts the setting of a predetermined time from the user. The predetermined time includes, for example, a scheduled wake-up time or a scheduled confirmation time.

また、操作受付部191は、カメラ160から入力される画像を受け付ける。具体的には、例えば、操作受付部191は、カメラ160により撮影された撮影データを受信する。 Further, the operation reception unit 191 receives an image input from the camera 160. Specifically, for example, the operation reception unit 191 receives photographic data taken by the camera 160.

また、操作受付部191は、マイク171から入力される音声情報を受け付ける。具体的には、例えば、操作受付部191は、マイク171から入力され、音声処理部17でデジタルデータに変換された音声データを受信する。 Further, the operation reception unit 191 receives audio information input from the microphone 171. Specifically, for example, the operation reception unit 191 receives audio data input from the microphone 171 and converted into digital data by the audio processing unit 17.

また、操作受付部191は、モーションセンサ170から入力される挙動情報を受け付ける。具体的には、例えば、操作受付部191は、モーションセンサ170で検知された所定の挙動を受信する。 Further, the operation reception unit 191 receives behavior information input from the motion sensor 170. Specifically, for example, the operation reception unit 191 receives a predetermined behavior detected by the motion sensor 170.

送受信部192は、端末装置10が、サーバ20等の外部の装置と、通信プロトコルに従ってデータを送受信するための処理を行う。具体的には、例えば、送受信部192は、ユーザから入力された指示、又は取得した種々の情報をサーバ20へ送信する。送受信部192は、取得した種々の情報を、所定のタイミングでサーバ20へ送信する。所定のタイミングは、例えば、以下である。
・ユーザがイベントの内容の確認をサーバ20に要求したタイミング
・所定の周期
・ユーザにより指定されたタイミング
The transmitting/receiving unit 192 performs processing for the terminal device 10 to transmit and receive data with an external device such as the server 20 according to a communication protocol. Specifically, for example, the transmitting/receiving unit 192 transmits an instruction input from a user or various acquired information to the server 20. The transmitting/receiving unit 192 transmits various acquired information to the server 20 at predetermined timing. For example, the predetermined timing is as follows.
- Timing when the user requests the server 20 to confirm the content of the event - Predetermined period - Timing specified by the user

送受信部192は、例えば、睡眠情報をサーバ20へ送信する。また、送受信部192は、例えば、睡眠以外のゲーム要素で取得されたオブジェクトに関する情報をサーバ20へ送信する。睡眠以外のゲーム要素で取得されたオブジェクトは、例えば、木の実等の育成に係るアイテムである。以降では、育成に係るアイテムを育成アイテムと称する。 The transmitter/receiver 192 transmits sleep information to the server 20, for example. Further, the transmitting/receiving unit 192 transmits, for example, information regarding objects acquired in game elements other than sleep to the server 20. Objects obtained as game elements other than sleep are, for example, items related to cultivation, such as nuts. Hereinafter, items related to training will be referred to as training items.

また、送受信部192は、サーバ20から提供される情報を受信する。サーバ20から提供される情報は、例えば、ユーザの睡眠結果に関する情報を含む。睡眠測定デバイス11が睡眠情報をサーバ20へ送信している場合、送受信部192は、サーバ20から睡眠情報を受信してもよい。また、サーバ20から提供される情報は、例えば、睡眠情報に基づく抽選の結果に関する情報を含む。 Further, the transmitting/receiving unit 192 receives information provided from the server 20. The information provided by the server 20 includes, for example, information regarding the user's sleep results. If the sleep measurement device 11 is transmitting sleep information to the server 20, the transmitter/receiver 192 may receive the sleep information from the server 20. Further, the information provided by the server 20 includes, for example, information regarding the result of a lottery based on sleep information.

情報管理部193は、記憶部180に記憶される、ユーザ情報181、第1オブジェクト情報182、第2オブジェクト情報183を管理する。例えば、情報管理部193は、ユーザの睡眠情報を取得すると、取得した睡眠情報に基づいてユーザ情報181を更新する。また、情報管理部193は、サーバ20で発生されたイベントにおいてユーザとオブジェクトとの関係が更新されると、更新された情報に基づいて第1オブジェクト情報182を更新する。また、情報管理部193は、睡眠以外のゲーム要素でユーザによりオブジェクトが利用されると、第2オブジェクト情報183を更新する。 The information management unit 193 manages user information 181, first object information 182, and second object information 183 stored in the storage unit 180. For example, upon acquiring the user's sleep information, the information management unit 193 updates the user information 181 based on the acquired sleep information. Furthermore, when the relationship between the user and the object is updated in an event that occurs in the server 20, the information management unit 193 updates the first object information 182 based on the updated information. Furthermore, the information management unit 193 updates the second object information 183 when the object is used by the user for a game element other than sleep.

提示制御部194は、ユーザに対して所定の情報を提示するため、出力装置14等を制御する。例えば、提示制御部194は、睡眠情報に基づくイベントをユーザに提示するように、出力装置14等を制御する。例えば、提示制御部194は、イベントの内容をユーザに表示するように、ディスプレイ141を制御する。 The presentation control unit 194 controls the output device 14 and the like in order to present predetermined information to the user. For example, the presentation control unit 194 controls the output device 14 and the like to present events based on sleep information to the user. For example, the presentation control unit 194 controls the display 141 to display the details of the event to the user.

また、提示制御部194は、睡眠情報に基づくイベントに係る音を発生させるように、スピーカ142を制御する。また、提示制御部194は、睡眠情報に基づくイベントに係る振動を発生させるように、バイブレータ(図示せず)を制御する。 Furthermore, the presentation control unit 194 controls the speaker 142 to generate sounds related to events based on sleep information. The presentation control unit 194 also controls a vibrator (not shown) to generate vibrations related to events based on sleep information.

また、例えば、提示制御部194は、第1オブジェクト情報182で管理される情報と、第2オブジェクト情報183で管理される情報とに基づき、ユーザに関連付けられているオブジェクトの管理画面を表示するように、ディスプレイ141を制御する。 Further, for example, the presentation control unit 194 may display a management screen for the object associated with the user based on the information managed by the first object information 182 and the information managed by the second object information 183. , the display 141 is controlled.

また、例えば、提示制御部194は、睡眠情報の計測中に、ユーザの指示に応じて他のアプリケーションが実行対象として選択されると、睡眠情報の計測中であることをユーザに提示するように、ディスプレイ141を制御する。また、例えば、提示制御部194は、睡眠情報の計測が、他のアプリケーションの実行により停止された場合、睡眠情報の計測が停止されたことをユーザに提示するように、ディスプレイ141を制御する。また、例えば、提示制御部194は、睡眠情報の計測中に、ユーザの指示に応じて他のアプリケーションが実行されると、睡眠情報の計測が維持されていることをユーザに提示するように、ディスプレイ141を制御してもよい。 Further, for example, when another application is selected as an execution target in response to a user's instruction while measuring sleep information, the presentation control unit 194 displays to the user that sleep information is being measured. , controls the display 141. Further, for example, when the measurement of sleep information is stopped due to execution of another application, the presentation control unit 194 controls the display 141 so as to present to the user that the measurement of sleep information has been stopped. Further, for example, when another application is executed in response to a user's instruction while sleep information is being measured, the presentation control unit 194 may present to the user that sleep information measurement is being maintained. Display 141 may also be controlled.

また、例えば、提示制御部194は、他のアプリケーションの実行により睡眠情報の計測が停止された後、ゲームを実行させる指示に応じてゲームが実行されると、睡眠情報の計測開始の指示を受け付けるためのインタフェースをユーザに提示するように、ディスプレイ141を制御する。このことは、例えば、提示制御部194は、先に開始された計測が途中で停止され、計測に係るゲームが再度実行された場合、睡眠情報の計測開始の指示を受け付けるためのインタフェースをユーザに提示するように、ディスプレイ141を制御すると言い換えてもよい。睡眠情報の計測開始の指示を受け付けるためのインタフェースは、例えば、ディスプレイ141に表示される、睡眠の開始を指示するための睡眠開始ボタンを含む。提示制御部194は、計測に係るゲームが再度実行されると、インタフェースを表示させるための指示をユーザから受けることなく、当該インタフェースをディスプレイ141に表示させる。 Further, for example, when a game is executed in response to an instruction to run a game after measurement of sleep information is stopped due to execution of another application, the presentation control unit 194 receives an instruction to start measuring sleep information. The display 141 is controlled to present an interface for the user to the user. This means that, for example, if a previously started measurement is stopped midway and the game related to the measurement is restarted, the presentation control unit 194 provides the user with an interface for accepting an instruction to start measuring sleep information. In other words, the display 141 is controlled so as to present the information. The interface for receiving an instruction to start measuring sleep information includes, for example, a sleep start button displayed on display 141 for instructing to start sleeping. When the game related to measurement is executed again, the presentation control unit 194 displays the interface on the display 141 without receiving an instruction to display the interface from the user.

ゲーム処理部195は、端末装置10が入力を受け付けたデータに対し、プログラムに従って演算を行う。具体的には、ゲーム処理部195は、ユーザから睡眠情報の測定開始の指示を受け付けると、睡眠測定デバイス11に睡眠情報の計測を開始させる。また、ゲーム処理部195は、例えば、サーバ20で発生されるイベントに係る処理を実施する。また、ゲーム処理部195は、ユーザから入力される指示に応じ、睡眠時間以外の、日中のゲーム要素に係る処理を実施する。また、例えば、端末装置10が睡眠測定デバイス11としても機能する場合、端末装置10で実行されるアプリケーションによっては、睡眠情報の計測が停止されることがある。ゲーム処理部195は、睡眠情報の計測が開始された後、他のアプリケーションの実行により睡眠情報の計測が停止されたことを検知する。また、ゲーム処理部195は、睡眠情報の計測が開始された後、バックグラウンドで実行されていた睡眠情報の計測が他のアプリケーションの実行により停止されたことを検知する。このとき検知される停止は、例えば、バックグラウンドで実行されていたゲームが他のアプリケーションの実行により停止されることで、実行されていた睡眠情報の計測が停止されたことを含む。 The game processing unit 195 performs calculations on the data input by the terminal device 10 according to a program. Specifically, upon receiving an instruction to start measuring sleep information from the user, the game processing unit 195 causes the sleep measurement device 11 to start measuring sleep information. Further, the game processing unit 195 executes processing related to an event occurring in the server 20, for example. The game processing unit 195 also performs processing related to daytime game elements other than sleep time in response to instructions input from the user. For example, when the terminal device 10 also functions as the sleep measurement device 11, measurement of sleep information may be stopped depending on the application executed on the terminal device 10. After the measurement of sleep information has started, the game processing unit 195 detects that the measurement of sleep information has been stopped due to execution of another application. Furthermore, after the measurement of sleep information is started, the game processing unit 195 detects that the measurement of sleep information that was being executed in the background has been stopped due to execution of another application. The stop detected at this time includes, for example, a game being executed in the background being stopped due to execution of another application, and the measurement of sleep information being being executed being stopped.

また、例えば、ゲーム処理部195は、他のアプリケーションの実行により睡眠情報の計測が停止された後、ユーザからゲームを再開させる指示が入力されると、入力された指示に応じて実行される。ゲーム処理部195は、先に開始された計測が途中で停止されたか否かを判断する。ゲーム処理部195は、先に開始された計測が途中で停止されたか否かを、例えば、以下に基づいて判断する。
・計測が停止されているが、ユーザの起床が検知されていないこと
・計測が開始されてから所定時間が経過していないこと
・ユーザの入眠を検知していないこと
・所定の時刻に達していないこと
・所定のアプリケーションの実行に応じた停止であること
Further, for example, when the user inputs an instruction to restart the game after measurement of sleep information is stopped due to execution of another application, the game processing unit 195 executes the game in accordance with the input instruction. The game processing unit 195 determines whether or not the measurement that was started earlier was stopped midway. The game processing unit 195 determines whether or not the previously started measurement has been stopped midway, based on, for example, the following.
・Measurement has been stopped, but the user has not woken up. ・The specified time has not passed since measurement started. ・The user has not fallen asleep. ・The specified time has not been reached.・The stoppage must be based on the execution of a specified application.

本実施形態において、ユーザの起床は、例えば、起床したことを表すボタンを押下する等、起床したことを宣言するための操作により検知される。また、ユーザの起床は、例えば、起床予定時刻に発せられるアラームを停止させる操作を含んでもよい。 In this embodiment, the user's waking up is detected by an operation for declaring that the user has woken up, such as pressing a button indicating that the user has woken up. Further, the user's wake-up may include, for example, an operation to stop an alarm that is issued at the scheduled wake-up time.

ゲーム処理部195は、途中で計測が停止された後、ユーザの指示によりゲームが再開されると、途中で停止された計測の結果をユーザに提示する。具体的には、ゲーム処理部195は、途中で停止された計測の結果をモーションセンサ170から受け取り、受け取った計測結果を、提示制御部194により、ディスプレイ141に表示させる。 When the game is restarted in response to a user's instruction after measurement is stopped midway, the game processing unit 195 presents the user with the results of the measurement that was stopped midway. Specifically, the game processing unit 195 receives the measurement result that was stopped midway from the motion sensor 170, and causes the presentation control unit 194 to display the received measurement result on the display 141.

ゲーム処理部195は、途中で計測が停止された後、睡眠情報の測定を開始させる旨がユーザから入力されると、モーションセンサ170に睡眠情報の計測を再度開始させる。ゲーム処理部195は、例えば、停止前にモーションセンサ170で取得されたセンシング結果を廃棄し、計測再開時からの情報を睡眠情報とする。また、ゲーム処理部195は、例えば、停止前にモーションセンサ170で取得されたセンシング結果を維持し、計測再開時から取得された情報と、停止前に取得された情報とを合わせて睡眠情報としてもよい。停止前の計測結果を引き継ぐ場合、ゲーム処理部195は、例えば、ユーザが一旦覚醒した睡眠として扱ったり、入眠までに長い時間がかかった睡眠等として扱ったりする。すなわち、停止前の計測結果を引き継いだ睡眠は、睡眠開始からの時間は長いが、評価の低い睡眠になりえる。以下では、端末装置10がユーザの睡眠に関する情報を取得する機能(モーションセンサ170)を有し、ゲーム処理部195が、睡眠情報の計測を開始させるようにモーションセンサ170を制御する場合について説明する。 When the game processing unit 195 receives an input from the user to start measuring the sleep information after the measurement is stopped midway, the game processing unit 195 causes the motion sensor 170 to start measuring the sleep information again. For example, the game processing unit 195 discards the sensing result obtained by the motion sensor 170 before stopping, and uses the information from the time when the measurement is restarted as the sleep information. In addition, the game processing unit 195 maintains the sensing results obtained by the motion sensor 170 before stopping, and combines the information obtained from the time of restarting measurement and the information obtained before stopping as sleep information. Good too. When inheriting the measurement results before the stop, the game processing unit 195 treats the sleep as a sleep in which the user has once woken up, or as a sleep in which it took a long time to fall asleep, etc., for example. In other words, the sleep that inherited the measurement results from before the stop took a long time from the start of the sleep, but could be a sleep with a low evaluation. In the following, a case will be described in which the terminal device 10 has a function (motion sensor 170) to acquire information regarding the user's sleep, and the game processing unit 195 controls the motion sensor 170 to start measuring sleep information. .

タスク管理部196は、端末装置10で実行されるアプリケーションのタスクを管理する。具体的には、タスク管理部196は、例えば、所定のアプリケーションが実行された場合、先に実行されていたアプリケーションのタスクをバックグラウンドで実行させる。また、タスク管理部196は、例えば、所定のアプリケーションが実行された場合、バックグラウンドで実行されているタスクを停止する。タスク管理部196は、例えば、制御部190のOS(Operating System)、又はタスクを管理するためのマネージャーアプリ等により実現される。 The task management unit 196 manages tasks of applications executed on the terminal device 10. Specifically, for example, when a predetermined application is executed, the task management unit 196 causes the task of the previously executed application to be executed in the background. Furthermore, for example, when a predetermined application is executed, the task management unit 196 stops the task being executed in the background. The task management unit 196 is realized by, for example, the OS (Operating System) of the control unit 190 or a manager application for managing tasks.

<1.2 サーバの機能的な構成>
図3は、サーバ20の機能的な構成の例を示す図である。図3に示すように、サーバ20は、通信部201と、記憶部202と、制御部203としての機能を発揮する。
<1.2 Functional configuration of the server>
FIG. 3 is a diagram showing an example of the functional configuration of the server 20. As shown in FIG. 3, the server 20 functions as a communication section 201, a storage section 202, and a control section 203.

通信部201は、サーバ20が外部の装置と通信するための処理を行う。 The communication unit 201 performs processing for the server 20 to communicate with external devices.

記憶部202は、例えば、ユーザ情報テーブル2021を有する。 The storage unit 202 includes, for example, a user information table 2021.

ユーザ情報テーブル2021は、例えば、睡眠情報を用いたゲームをプレイするユーザに関する情報を記憶するテーブルである。ユーザ情報テーブル2021は、例えば、ユーザIDをキーとして、ユーザに関する情報を記憶するカラムを有するテーブルである。 The user information table 2021 is, for example, a table that stores information regarding users who play games using sleep information. The user information table 2021 is, for example, a table that has columns that store information about users using user IDs as keys.

制御部203は、プロセッサ29が記憶部202に記憶されるプログラムを読み込み、プログラムに含まれる命令を実行することにより実現される。制御部203は、プログラムに従って動作することにより、受信制御モジュール2031、送信制御モジュール2032、管理モジュール2033、ゲーム進行モジュール2034、提示モジュール2035としての機能を発揮する。 The control unit 203 is realized by the processor 29 reading a program stored in the storage unit 202 and executing instructions included in the program. The control unit 203 functions as a reception control module 2031, a transmission control module 2032, a management module 2033, a game progression module 2034, and a presentation module 2035 by operating according to a program.

受信制御モジュール2031は、サーバ20が外部の装置から通信プロトコルに従って信号を受信する処理を制御する。 The reception control module 2031 controls the process by which the server 20 receives signals from an external device according to a communication protocol.

送信制御モジュール2032は、サーバ20が外部の装置に対し通信プロトコルに従って信号を送信する処理を制御する。 The transmission control module 2032 controls the process by which the server 20 transmits a signal to an external device according to a communication protocol.

管理モジュール2033は、記憶部202に記憶されるテーブルを管理する。具体的には、例えば、管理モジュール2033は、ユーザに関する情報が入力されると、ユーザ情報テーブル2021を更新する。 The management module 2033 manages tables stored in the storage unit 202. Specifically, for example, the management module 2033 updates the user information table 2021 when information regarding the user is input.

ゲーム進行モジュール2034は、サーバ20と端末装置10との間で通信を行い、各ユーザの端末装置10から受信した睡眠情報等に基づいて各ユーザのゲームプレイを進行させる。例えば、ゲーム進行モジュール2034は、ゲームプレイを進行させることとして、イベントを発生させる。具体的には、例えば、ゲーム進行モジュール2034は、イベントにおける局面の一つとして、ユーザの睡眠情報に基づき、ユーザの睡眠を評価する。このとき、ゲーム進行モジュール2034は、ユーザの睡眠情報と、育成アイテムに関する情報とに基づき、その日の睡眠を評価してもよい。以下では、睡眠を評価するパラメータを評価パラメータと称する。 The game progression module 2034 communicates between the server 20 and the terminal device 10, and advances each user's game play based on sleep information and the like received from the terminal device 10 of each user. For example, the game progression module 2034 generates an event to advance the game play. Specifically, for example, the game progress module 2034 evaluates the user's sleep based on the user's sleep information as one of the aspects of the event. At this time, the game progress module 2034 may evaluate the sleep of the day based on the user's sleep information and information regarding the training items. Hereinafter, parameters for evaluating sleep will be referred to as evaluation parameters.

また、ゲーム進行モジュール2034は、イベントにおける局面の一つとして、睡眠情報に基づき、オブジェクトの抽選を実施する。具体的には、例えば、ゲーム進行モジュール2034は、評価パラメータに基づき、オブジェクトの抽選を実施する。 Furthermore, the game progress module 2034 performs a lottery for objects based on the sleep information as one of the aspects of the event. Specifically, for example, the game progress module 2034 performs a lottery of objects based on the evaluation parameters.

また、ゲーム進行モジュール2034は、イベントにおける局面の一つとして、抽選により選んだオブジェクトのいずれかに対する干渉の機会を、ユーザに提供する。具体的には、例えば、ゲーム進行モジュール2034は、抽選により選んだオブジェクトのうちいずれかのオブジェクトに対する指定をユーザから受け付ける。ゲーム進行モジュール2034は、ユーザから指定されたオブジェクトに対する干渉をユーザから受け付ける。本実施形態において、オブジェクトに対する干渉は、例えば、オブジェクトに対し、関係性を向上させるためのアイテムを付与することである。以降では、関係性を向上させるためにオブジェクトに付与するアイテムを付与アイテムと称する。 Furthermore, the game progress module 2034 provides the user with an opportunity to interfere with any of the objects selected by lottery as one of the aspects of the event. Specifically, for example, the game progress module 2034 receives from the user a designation for one of the objects selected by lottery. The game progress module 2034 receives interference from the user with respect to an object specified by the user. In this embodiment, interference with an object is, for example, adding an item to the object to improve the relationship. Hereinafter, an item added to an object in order to improve the relationship will be referred to as an added item.

ゲーム進行モジュール2034は、オブジェクトに与えた付与アイテムの数、種類、又はその組み合わせに基づき、オブジェクトに対する第1の関係を変動させる。ゲーム進行モジュール2034は、第1の関係が所定の要件を満たす場合、要件を満たしたオブジェクトをユーザが睡眠以外の時間のゲーム要素で使用可能とする。 The game progression module 2034 changes the first relationship to the object based on the number, type, or combination thereof of granted items given to the object. If the first relationship satisfies a predetermined requirement, the game progress module 2034 allows the user to use the object that satisfies the requirement as a game element during times other than sleep.

提示モジュール2035は、端末装置10に対して情報を提示する。具体的には、例えば、提示モジュール2035は、ゲーム進行モジュール2034により発生されたイベントを端末装置10へ提示する。 The presentation module 2035 presents information to the terminal device 10. Specifically, for example, the presentation module 2035 presents the event generated by the game progress module 2034 to the terminal device 10.

<2 データ構造>
図4~図6は、端末装置10が記憶する情報のデータ構造を示す図である。なお、図4~図6は一例であり、記載されていないデータを除外するものではない。
<2 Data structure>
4 to 6 are diagrams showing the data structure of information stored in the terminal device 10. Note that FIGS. 4 to 6 are examples, and do not exclude data not described.

図4は、ユーザ情報181のデータ構造の例を示す図である。図4に示すユーザ情報181は、ユーザIDをキーとして、氏名、年齢、住所、生年月日、登録年月日、起床予定時刻、保持アイテム、睡眠情報等のカラムを有するテーブルである。ユーザ情報181は、評価パラメータの累積値を記憶するカラム等を有してもよい。評価パラメータの累積値は、例えば、所定の期間が経過すると所定の値に遷移する。 FIG. 4 is a diagram showing an example of the data structure of the user information 181. The user information 181 shown in FIG. 4 is a table having columns such as name, age, address, date of birth, date of registration, scheduled wake-up time, retained items, and sleep information using the user ID as a key. The user information 181 may have a column or the like that stores cumulative values of evaluation parameters. For example, the cumulative value of the evaluation parameter transitions to a predetermined value after a predetermined period of time has elapsed.

ユーザIDは、ユーザを一意に識別するための識別子を記憶する項目である。氏名は、ユーザの氏名を記憶する項目である。年齢は、ユーザの年齢を記憶する項目である。住所は、ユーザが住んでいる場所を記憶する項目である。生年月日は、ユーザが生まれた日付を記憶する項目である。登録年月日は、ユーザが本実施形態に係るゲームの利用を開始した日付を記憶する項目である。 The user ID is an item that stores an identifier for uniquely identifying a user. Name is an item that stores the user's name. Age is an item that stores the user's age. Address is an item that stores the location where the user lives. The date of birth is an item that stores the date on which the user was born. The registration date is an item that stores the date when the user started using the game according to the present embodiment.

起床予定時刻は、起床することを予定する時刻を記憶する項目である。起床は、例えば、眠りから覚め、動作を開始することを表す。起床予定時刻は、例えば、ユーザからの入力に基づき設定される。保持アイテムは、ユーザが保持している、ゲーム内で使用可能なアイテムに関する情報を記憶する項目である。ユーザが保持しているアイテムは、例えば、ユーザと関連付けられているアイテムと換言可能である。アイテムは、例えば、育成アイテム、又は付与アイテム等を含む。項目「保持アイテム」には、例えば、ユーザが保持しているアイテムの名称、及び個数が記憶される。 The scheduled wake-up time is an item that stores the time when you plan to wake up. Waking up means, for example, waking up from sleep and starting action. The scheduled wake-up time is set, for example, based on input from the user. The held item is an item that stores information regarding items held by the user that can be used within the game. An item held by a user can be referred to as an item associated with the user, for example. Items include, for example, training items, granted items, and the like. The item "held item" stores, for example, the name and number of items held by the user.

睡眠情報は、ユーザに関する睡眠情報を記憶する項目である。項目「睡眠情報」には、例えば、前日の夜の睡眠情報が記憶される。また、項目「睡眠情報」には、例えば、過去における所定の日数分の睡眠情報が記憶されてもよい。 Sleep information is an item that stores sleep information regarding the user. The item "sleep information" stores, for example, sleep information from the previous night. Further, the item "sleep information" may store, for example, sleep information for a predetermined number of days in the past.

図5は、第1オブジェクト情報182のデータ構造の例を示す図である。図5に示す第1オブジェクト情報182は、オブジェクトIDをキーとして、名称、第1レベル、パラメータ、第1詳細情報等のカラムを有するテーブルである。第1オブジェクト情報182は、これらの他に、希少性(レアリティ)に関する情報等を有していてもよい。 FIG. 5 is a diagram showing an example of the data structure of the first object information 182. The first object information 182 shown in FIG. 5 is a table having columns such as name, first level, parameter, and first detailed information using object ID as a key. In addition to these, the first object information 182 may also include information regarding rarity.

オブジェクトIDは、オブジェクトを一意に識別するための識別子を記憶する項目である。名称は、オブジェクトの名称を記憶する項目である。第1レベル及びパラメータは、ユーザとオブジェクトとの第1の関係の一例を記憶する項目である。項目「第1レベル」及び項目「パラメータ」は、ユーザとオブジェクトとの係りの深さを表す指標である。項目「第1レベル」は、例えば、0以上の整数が記憶される。項目「パラメータ」は、例えば、0から所定値(例えば、100)までの数値が記憶される。項目「パラメータ」の値が最大値である所定値に達すると、項目「パラメータ」の値が0となり、項目「第1レベル」の値が1だけインクリメントされる。項目「パラメータ」の値は、ユーザがオブジェクトに対して干渉すると増加する。具体的には、例えば、項目「パラメータ」は、オブジェクトに対して付与した付与オブジェクトの数、種類に応じて増加する。 The object ID is an item that stores an identifier for uniquely identifying an object. Name is an item that stores the name of the object. The first level and parameter are items that store an example of the first relationship between the user and the object. The item "first level" and the item "parameter" are indicators representing the depth of the relationship between the user and the object. For example, an integer greater than or equal to 0 is stored in the item "first level". The item "parameter" stores, for example, a numerical value from 0 to a predetermined value (for example, 100). When the value of the item "parameter" reaches a predetermined maximum value, the value of the item "parameter" becomes 0, and the value of the item "first level" is incremented by one. The value of the item "parameter" increases when the user interferes with the object. Specifically, for example, the item "parameter" increases depending on the number and types of objects added to the object.

第1詳細情報は、例えば、ユーザと関連付けられている態様(表示態様)を記憶する項目である。本実施形態において、態様は、例えば、オブジェクトの表情を表し、別の言い方をすると、例えば、寝顔、寝姿、又は寝相を表す。項目「第1詳細情報」では、各オブジェクトに設定されている4つの態様のいずれと関連付けられているかが記憶されている。項目「第1詳細情報」では、例えば、関連付けられている態様に「1」が設定され、関連付けられていない態様に「0」が設定されている。 The first detailed information is, for example, an item that stores a mode (display mode) associated with a user. In this embodiment, the aspect represents, for example, the facial expression of the object, or in other words, represents, for example, the sleeping face, sleeping posture, or sleeping position. The item "first detailed information" stores which of the four aspects set for each object is associated with. In the item "first detailed information", for example, associated aspects are set to "1", and unassociated aspects are set to "0".

図6は、第2オブジェクト情報183のデータ構造の例を示す図である。図6に示す第2オブジェクト情報183は、管理IDをキーとして、オブジェクトID、名称、第2レベル、パラメータ、元気度、種別、属性、第2詳細情報等のカラムを有するテーブルである。第2オブジェクト情報183は、これらの他に、レアリティに関する情報等を有していてもよい。 FIG. 6 is a diagram showing an example of the data structure of the second object information 183. The second object information 183 shown in FIG. 6 is a table that uses the management ID as a key and has columns such as object ID, name, second level, parameter, energy level, type, attribute, and second detailed information. In addition to these, the second object information 183 may include information regarding rarity, etc.

管理IDは、使用可能な一個体としてのオブジェクトを一意に識別するための識別子を記憶する項目である。同一のオブジェクトであっても、複数の個体が存在し得る。第2レベル及びパラメータは、ユーザと個体としてのオブジェクトとの第2の関係の一例を記憶する項目である。項目「第2レベル」及び項目「パラメータ」は、ユーザとオブジェクトとの係りの深さを表す指標である。項目「第1レベル」は、例えば、0以上の整数が記憶される。項目「パラメータ」は、例えば、0から所定値(例えば、100)までの数値が記憶される。項目「パラメータ」の値が最大値である所定値に達すると、項目「パラメータ」の値が0となり、項目「第1レベル」の値が1だけインクリメントされる。項目「パラメータ」の値は、例えば、ユーザが個体としてのオブジェクトを、睡眠以外の時間でのゲーム要素に使用した場合に増加する。また、項目「パラメータ」の値は、例えば、所定のアイテムを使用すると増加する。 The management ID is an item that stores an identifier for uniquely identifying an object as a usable individual. Even for the same object, multiple individuals may exist. The second level and parameter are items that store an example of the second relationship between the user and the object as an individual. The item "second level" and the item "parameter" are indicators representing the depth of the relationship between the user and the object. For example, an integer greater than or equal to 0 is stored in the item "first level". The item "parameter" stores, for example, a numerical value from 0 to a predetermined value (for example, 100). When the value of the item "parameter" reaches a predetermined maximum value, the value of the item "parameter" becomes 0, and the value of the item "first level" is incremented by one. The value of the item "parameter" increases, for example, when the user uses an individual object as a game element at a time other than sleeping. Further, the value of the item "parameter" increases, for example, when a predetermined item is used.

元気度は、個体としてのオブジェクトを睡眠以外の時間でのゲーム要素に使用可能な程度を記憶する項目である。項目「元気度」は、例えば、0から所定値(例えば、100)までの数値が記憶される。例えば、所定値に近いほど、ユーザは、長い時間、個体をゲーム要素で使用することが可能であり、0である場合には、ゲーム要素で使用できない。項目「元気度」は、ユーザの起床が検出されると回復する。回復量は、所定量であってもよいし、睡眠情報に応じた量であってもよいし、オブジェクトに応じた量であってもよいし、全快してもよい。項目「元気度」が、ユーザによりイベントが確認されていなくても、ユーザの起床が検知されると変動するパラメータである。 The energy level is an item that stores the degree to which an individual object can be used for game elements at times other than sleeping. For the item "Vigor level", for example, a numerical value from 0 to a predetermined value (for example, 100) is stored. For example, the closer the value is to the predetermined value, the longer the user can use the individual in the game element, and if it is 0, the individual cannot be used in the game element. The item "energy level" recovers when the user's wake-up is detected. The amount of recovery may be a predetermined amount, an amount depending on sleep information, an amount depending on the object, or a complete recovery. The item "energy level" is a parameter that changes when the user's wake-up is detected, even if no event has been confirmed by the user.

種別は、オブジェクトの種類を記憶する項目である。本実施形態において、オブジェクトの種類は、例えば、キャラクタ、育成アイテム、付与アイテムを含む。属性は、キャラクタとしてのオブジェクトが属する性質を記憶する項目である。本実施形態において、属性は、例えば、炎、水、雷、草、超、鋼、悪、闘等を含む。属性には、相対すると有利になる属性、及び不利になる属性が存在する。第2詳細情報は、個体としてのオブジェクトが有する有利な効果を記憶する項目である。有利な効果は、例えば、睡眠以外の時間でのゲーム要素で発揮される効果である。有利な効果には、例えば、育成アイテムを多く取得できる効果、又はよりレア度の高い育成アイテムを取得できる効果等が存在する。項目「第2詳細情報」は、個体としてのオブジェクトが現状有している効果に加え、将来的に取得可能な効果も記憶している。個体の第2レベルが向上すると、新たな効果を習得することが可能となる。 Type is an item that stores the type of object. In this embodiment, the types of objects include, for example, characters, training items, and granted items. The attribute is an item that stores the property to which an object as a character belongs. In this embodiment, the attributes include, for example, fire, water, lightning, grass, super, steel, evil, fighting, and the like. There are attributes that are advantageous and disadvantageous when compared to each other. The second detailed information is an item that stores advantageous effects that the object as an individual has. An advantageous effect is, for example, an effect exerted on game elements at times other than sleep. Advantageous effects include, for example, an effect that allows the user to obtain a large number of training items, an effect that allows the user to obtain a training item with a higher degree of rarity, and the like. The item "second detailed information" stores not only effects that the object as an individual currently has, but also effects that can be obtained in the future. When an individual's second level improves, it becomes possible to acquire new effects.

第2オブジェクト情報183におけるレコードは、例えば、第1オブジェクト情報182における第1レベルがインクリメントされると、第1レベルがインクリメントされたオブジェクトの個体についてのレコードが追加される。 For example, when the first level in the first object information 182 is incremented, a record for the individual object whose first level has been incremented is added to the record in the second object information 183.

図7は、サーバ20が記憶する情報のデータ構造を示す図である。なお、図7は一例であり、記載されていないデータを除外するものではない。 FIG. 7 is a diagram showing the data structure of information stored by the server 20. Note that FIG. 7 is an example, and does not exclude data not described.

図7は、ユーザ情報テーブル2021のデータ構造の例を示す図である。図7に示すユーザ情報テーブル2021は、ユーザIDをキーとして、氏名、年齢、住所、生年月日、登録年月日、起床予定時刻、関連オブジェクト、睡眠情報等のカラムを有するテーブルである。ユーザ情報テーブル2021は、評価パラメータの累積値を記憶するカラム等を有してもよい。評価パラメータの累積値は、例えば、所定の期間が経過すると所定の値に遷移する。 FIG. 7 is a diagram showing an example of the data structure of the user information table 2021. The user information table 2021 shown in FIG. 7 is a table that uses the user ID as a key and has columns such as name, age, address, date of birth, date of registration, scheduled wake-up time, related objects, and sleep information. The user information table 2021 may have columns for storing cumulative values of evaluation parameters. For example, the cumulative value of the evaluation parameter transitions to a predetermined value after a predetermined period of time has elapsed.

関連オブジェクトは、ユーザと関係づけられているオブジェクトに関する情報を記憶する項目である。項目「関連オブジェクト」には、例えば、ユーザと関連付けられている個体としてのオブジェクト(キャラクタ)に関する情報が記憶されている。キャラクタに関する情報には、例えば、管理ID、オブジェクトID、名称、第2レベル、パラメータ、元気度、種別、属性、第2詳細情報等が含まれる。また、項目「関連オブジェクト」には、例えば、ユーザと関連付けられているアイテムに関する情報が記憶されている。アイテムに関する情報には、例えば、ユーザが保持しているアイテムの名称、及び個数等が含まれる。 A related object is an item that stores information regarding an object that is related to a user. The item "related object" stores, for example, information regarding an individual object (character) associated with the user. The information regarding the character includes, for example, a management ID, an object ID, a name, a second level, a parameter, a level of energy, a type, an attribute, second detailed information, and the like. Further, the item "related object" stores, for example, information regarding items associated with the user. The information regarding items includes, for example, the name and number of items held by the user.

睡眠情報は、ユーザに関する睡眠情報を記憶する項目である。項目「睡眠情報」には、例えば、前日の夜の睡眠情報が記憶される。なお、前日の夜の睡眠情報は、例えば、前回取得された睡眠情報、又は直前に取得された睡眠情報と換言可能である。前日の夜の睡眠情報は、ユーザから睡眠情報が送信されてきた場合に記憶される。つまり、イベントの確認要求と関連付けて睡眠情報がサーバ20へ送信される場合、ユーザからイベントの確認が要求されないと、前日の夜の睡眠情報がユーザ情報テーブル2021に記憶されない。前日の夜の睡眠を、評価をユーザが確認しない状態で、次の日の睡眠情報を受け付けることができない。そのため、前日の夜の睡眠情報が記憶されたにも関わらず、ユーザが保留したことによりイベントが確認されていないと、次の日の睡眠情報が受け付けられない状態となり、次のイベントも発生しない。次の日の睡眠情報が受け付けられない状態は、具体的には、例えば、入床したことを表すための入力ができない(睡眠開始ボタンを押せない)こと、睡眠の検出が始まらないこと、サーバ20で睡眠情報が受信されないこと等を含む。このように、項目「睡眠情報」で記憶される睡眠情報は、ユーザによりイベントが確認されると次の日の睡眠情報を記憶可能となる。項目「睡眠情報」が、ユーザによりイベントが確認されないと更新を受け付けないパラメータである。 Sleep information is an item that stores sleep information regarding the user. The item "sleep information" stores, for example, sleep information from the previous night. Note that the sleep information of the previous night can be expressed as sleep information acquired last time or sleep information acquired immediately before, for example. Sleep information from the previous night is stored when the sleep information is sent from the user. That is, when sleep information is transmitted to the server 20 in association with an event confirmation request, the sleep information of the previous night will not be stored in the user information table 2021 unless the user requests event confirmation. It is not possible to receive sleep information for the next day without the user confirming the evaluation of the previous night's sleep. Therefore, even though sleep information from the previous night has been memorized, if the event is not confirmed due to the user putting it on hold, the next day's sleep information will not be accepted and the next event will not occur. . Specifically, a state in which sleep information for the next day cannot be accepted includes, for example, not being able to enter an input to indicate that the person has gone to bed (not being able to press the sleep start button), not being able to start sleep detection, or not being able to receive sleep information from the server. This includes the fact that sleep information is not received at 20. In this way, the sleep information stored under the item "sleep information" can store the next day's sleep information when the event is confirmed by the user. The item "sleep information" is a parameter that will not be updated unless the event is confirmed by the user.

また、項目「睡眠情報」には、例えば、過去における睡眠情報が記憶されてもよい。ユーザ情報テーブル2021で記憶される過去の睡眠情報は、ユーザ情報181で記憶される過去の睡眠情報よりも古い睡眠情報が記憶されてもよい。つまり、ユーザ情報181には、ユーザ情報テーブル2021で記憶される過去の睡眠情報のうちの一部が記憶されるようにしてもよい。 Furthermore, the item "sleep information" may store, for example, sleep information in the past. The past sleep information stored in the user information table 2021 may be older than the past sleep information stored in the user information 181. In other words, part of the past sleep information stored in the user information table 2021 may be stored in the user information 181.

<3 動作>
本実施形態に係る端末装置10とサーバ20との動作について説明する。
<3 Operation>
The operation of the terminal device 10 and the server 20 according to this embodiment will be explained.

(計測停止時の動作)
図8は、睡眠情報の計測が停止された場合の端末装置10の動作の例を示すフローチャートである。
(Operation when measurement is stopped)
FIG. 8 is a flowchart illustrating an example of the operation of the terminal device 10 when measurement of sleep information is stopped.

まず、ユーザは、端末装置10を操作し、睡眠情報を用いたゲームのアプリケーションを実行させる。ゲーム処理部195は、ゲームが実行されるとゲームに関する所定の画面をユーザに表示する。 First, the user operates the terminal device 10 to execute a game application using sleep information. When the game is executed, the game processing unit 195 displays a predetermined screen related to the game to the user.

ステップS11において、端末装置10は、睡眠情報の計測開始を指示するためのインタフェース(睡眠開始ボタン)を表示する。具体的には、例えば、ユーザは、睡眠情報の計測開始を指示するためのインタフェースを表示させるように、ディスプレイ141に表示される画面を操作する。提示制御部194は、睡眠情報の計測開始を指示するためのインタフェースをディスプレイ141に表示させる。 In step S11, the terminal device 10 displays an interface (sleep start button) for instructing to start measuring sleep information. Specifically, for example, the user operates the screen displayed on the display 141 to display an interface for instructing to start measuring sleep information. The presentation control unit 194 causes the display 141 to display an interface for instructing the start of measuring sleep information.

ステップS12において、端末装置10は、睡眠情報の計測開始の指示(睡眠開始の指示)に応じ、睡眠情報の計測を開始する。具体的には、例えば、端末装置10は、制御部190の操作受付部191により、ユーザが睡眠開始ボタンを押下することで、睡眠情報の測定開始の指示を受け付ける。ゲーム処理部195は、ユーザから睡眠情報の測定開始の指示を受け付けると、モーションセンサ170に睡眠情報の計測を開始させる。 In step S12, the terminal device 10 starts measuring sleep information in response to an instruction to start measuring sleep information (instruction to start sleeping). Specifically, for example, the terminal device 10 receives an instruction to start measuring sleep information when the user presses a sleep start button through the operation reception unit 191 of the control unit 190. When the game processing unit 195 receives an instruction to start measuring sleep information from the user, it causes the motion sensor 170 to start measuring the sleep information.

このままユーザが入眠すればよいが、場合によっては、ユーザは他のアプリケーションを実行させることがある。このような場合、ユーザは、端末装置10を操作し、確認が必要な他のアプリケーションを指定する。 The user may simply fall asleep, but in some cases the user may want to run another application. In such a case, the user operates the terminal device 10 and specifies another application that requires confirmation.

ステップS13において、端末装置10は、ユーザにより指定されたアプリケーションを実行する。 In step S13, the terminal device 10 executes the application specified by the user.

ステップS14において、端末装置10は、実行中のタスクを停止させるか否かを判断する。具体的には、タスク管理部196は、実行されたアプリケーションが所定のアプリケーションであるか否かを判断する。所定のアプリケーションとは、例えば、実行中の他のタスクを停止させる必要があると予め設定されているアプリケーションである。所定のアプリケーションは、例えば、実行する際に他のアプリケーションよりも大きなリソースが必要になるアプリケーションである。実行されたアプリケーションが所定のアプリケーションである場合、タスク管理部196は、処理をステップS15へ移行させる。一方、実行されたアプリケーションが所定のアプリケーションでない場合、タスク管理部196は、処理をステップS13へ移行させる。 In step S14, the terminal device 10 determines whether to stop the task being executed. Specifically, the task management unit 196 determines whether the executed application is a predetermined application. The predetermined application is, for example, an application that is set in advance to be necessary to stop other tasks being executed. The predetermined application is, for example, an application that requires more resources than other applications when executed. If the executed application is a predetermined application, the task management unit 196 moves the process to step S15. On the other hand, if the executed application is not the predetermined application, the task management unit 196 moves the process to step S13.

また、タスク管理部196は、実行中のタスクが所定のタスクであるか否かを判断する。所定のタスクとは、例えば、他のアプリケーションが実行された場合に停止させる必要があると予め設定されているタスクである。所定のタスクは、例えば、実行される際に他のタスクよりも大きなリソースが必要になるタスクである。実行中のタスクが所定のタスクである場合、タスク管理部196は、処理をステップS15へ移行させる。一方、実行中のタスクが所定のタスクでない場合、タスク管理部196は、処理をステップS13へ移行させる。 Further, the task management unit 196 determines whether the task being executed is a predetermined task. The predetermined task is, for example, a task that is set in advance to need to be stopped when another application is executed. The predetermined task is, for example, a task that requires more resources than other tasks when executed. If the task being executed is a predetermined task, the task management unit 196 moves the process to step S15. On the other hand, if the task being executed is not the predetermined task, the task management unit 196 shifts the process to step S13.

ステップS15において、端末装置10は、実行中の他のタスクを停止させる。具体的には、例えば、タスク管理部196は、先に実行された睡眠情報の計測を停止させる。また、例えば、タスク管理部196は、バックグラウンドで実行されている睡眠情報の計測を停止させる。より具体的には、例えば、OSは、睡眠情報の計測を停止させるタスクキル指示(計測停止指示)を出力する。モーションセンサ170は、タスクキル指示を受信すると、睡眠情報の計測を停止する。 In step S15, the terminal device 10 stops other tasks being executed. Specifically, for example, the task management unit 196 stops the previously executed measurement of sleep information. Further, for example, the task management unit 196 stops measuring sleep information that is being executed in the background. More specifically, for example, the OS outputs a task kill instruction (measurement stop instruction) to stop measuring sleep information. Upon receiving the task kill instruction, the motion sensor 170 stops measuring sleep information.

ステップS16において、端末装置10は、睡眠情報の計測が停止されたことを検知する。具体的には、例えば、ゲーム処理部195は、センシングが停止したことを表す通知をモーションセンサ170から受け取る。また、例えば、ゲーム処理部195は、計測を停止させたことを表す通知を端末装置10のOSから受け取ってもよい。 In step S16, the terminal device 10 detects that measurement of sleep information has been stopped. Specifically, for example, the game processing unit 195 receives a notification from the motion sensor 170 indicating that sensing has stopped. Furthermore, for example, the game processing unit 195 may receive a notification from the OS of the terminal device 10 indicating that the measurement has been stopped.

ステップS17において、端末装置10は、睡眠情報の計測が停止されたことをユーザへ通知する。具体的には、例えば、ゲーム処理部195が睡眠情報の計測が停止されたことを検知すると、提示制御部194は、睡眠情報の計測が停止されたことを表す表示をディスプレイ141に表示させる。 In step S17, the terminal device 10 notifies the user that measurement of sleep information has been stopped. Specifically, for example, when the game processing unit 195 detects that the measurement of sleep information has been stopped, the presentation control unit 194 causes the display 141 to display a display indicating that the measurement of sleep information has been stopped.

図9は、計測が停止したことをユーザへ通知する際のディスプレイ141の表示例を表す模式図である。図9において、提示制御部194は、ウィンドウ1411を表示する。ウィンドウ1411は、計測が停止したことをユーザへ通知するための領域である。図9に示す例では、提示制御部194は、ウィンドウ1411において、通知に承諾するためのボタン14111を表示する。提示制御部194は、例えば、他のアプリケーションから、睡眠情報を用いたゲームにメインタスクを切り替えたときに、切り替えた後のゲーム内でウィンドウ1411を表示する。また、提示制御部194は、他のアプリケーションの画面に重ね、OSからの通知としてウィンドウ1411を表示してもよい。また、提示制御部194は、他のアプリケーションの画面に重ね、ゲームアプリからのプッシュ通知としてウィンドウ1411を表示してもよい。 FIG. 9 is a schematic diagram showing a display example of the display 141 when notifying the user that measurement has stopped. In FIG. 9, the presentation control unit 194 displays a window 1411. Window 1411 is an area for notifying the user that measurement has stopped. In the example shown in FIG. 9, the presentation control unit 194 displays a button 14111 for accepting the notification in a window 1411. For example, when the main task is switched from another application to a game using sleep information, the presentation control unit 194 displays the window 1411 in the game after switching. Further, the presentation control unit 194 may display the window 1411 as a notification from the OS over the screen of another application. Further, the presentation control unit 194 may display the window 1411 as a push notification from the game application over the screen of another application.

また、例えば、ステップS12において、提示制御部194は、ユーザの指示に応じて他のアプリケーションが実行対象として選択されると、他アプリケーションの画面に重畳して睡眠情報の計測中であることをユーザに提示してもよい。提示制御部194は、例えば、実行中の他の機能、又はバックグラウンドで実行中の機能を停止させる可能性のあるアプリケーションが実行対象として選択された場合、睡眠情報の計測中であることをユーザに提示してもよい。 For example, in step S12, when another application is selected as an execution target in response to a user's instruction, the presentation control unit 194 superimposes it on the screen of the other application to inform the user that sleep information is being measured. may be presented. For example, if an application that may stop other functions being executed or functions being executed in the background is selected as an execution target, the presentation control unit 194 may notify the user that sleep information is being measured. may be presented.

図10は、実行中の計測が存在することをユーザへ通知する際のディスプレイ141の表示例を表す模式図である。図10において、提示制御部194は、ウィンドウ1412を表示する。ウィンドウ1412は、実行中の計測が存在することをユーザへ通知するための領域である。図10に示す例では、提示制御部194は、ウィンドウ1412において、通知に承諾するためのボタン14121を表示する。提示制御部194は、ウィンドウ1412において、アプリケーションの実行により、睡眠情報の計測が停止される可能性があることを表示してもよい。提示制御部194は、ウィンドウ1412において、アプリケーションの実行を中止するためのボタンを表示してもよい。提示制御部194は、例えば、ディスプレイ141の所定の位置に、睡眠情報の計測中であることを表すアイコンを表示してもよい。具体的には、提示制御部194は、例えば、ステータスバーに睡眠情報の計測中であることを表すアイコンを表示してもよい。図10に示す例では、提示制御部194は、睡眠情報の計測中であることを表すアイコン14122として、ステータスバーに「zzz」を表示している。 FIG. 10 is a schematic diagram showing a display example of the display 141 when notifying the user that there is a measurement being executed. In FIG. 10, the presentation control unit 194 displays a window 1412. Window 1412 is an area for notifying the user that there is a measurement being executed. In the example shown in FIG. 10, the presentation control unit 194 displays a button 14121 for accepting the notification in the window 1412. The presentation control unit 194 may display in the window 1412 that measurement of sleep information may be stopped due to execution of the application. The presentation control unit 194 may display a button for canceling execution of the application in the window 1412. For example, the presentation control unit 194 may display an icon indicating that sleep information is being measured at a predetermined position on the display 141. Specifically, the presentation control unit 194 may display, for example, an icon indicating that sleep information is being measured on the status bar. In the example shown in FIG. 10, the presentation control unit 194 displays "zzz" on the status bar as an icon 14122 indicating that sleep information is being measured.

なお、制御部190が計測を停止させる際の動作は、上記に限定されない。上記例では、ユーザにより他のアプリケーションが実行されると、タスク管理部196が、モーションセンサ170のタスクを停止させる。ゲーム処理部195が、センシングが停止したこと認識する。提示制御部194が、計測が停止したことをユーザへ通知する。しかしながら、制御部190の動作は以下でもよい。つまり、ユーザにより他のアプリケーションの実行が指示されると、タスク管理部196が、ゲーム処理部195に、モーションセンサ170のタスクを停止させることを通知する。ゲーム処理部195が、センシングが停止されること認識する。提示制御部194が、計測が停止される前に、計測が停止されることを、例えば、「睡眠計測を終了しますがよいですか?」のように通知する。タスク管理部196は、ユーザからの承諾があった場合にセンシングを停止させる。 Note that the operation when the control unit 190 stops measurement is not limited to the above. In the above example, when the user executes another application, the task management unit 196 stops the task of the motion sensor 170. The game processing unit 195 recognizes that sensing has stopped. The presentation control unit 194 notifies the user that the measurement has stopped. However, the operation of the control unit 190 may be as follows. That is, when the user instructs execution of another application, the task management unit 196 notifies the game processing unit 195 that the task of the motion sensor 170 is to be stopped. The game processing unit 195 recognizes that sensing is stopped. Before the measurement is stopped, the presentation control unit 194 notifies the user that the measurement will be stopped, for example, "Do you wish to end the sleep measurement?". The task management unit 196 stops sensing when there is consent from the user.

(ゲーム再開時の動作)
図11は、睡眠情報の計測の停止後にゲームが実行された場合の端末装置10の動作の例を示すフローチャートである。
(Operation when restarting the game)
FIG. 11 is a flowchart illustrating an example of the operation of the terminal device 10 when a game is executed after measurement of sleep information is stopped.

まず、ユーザは、他のアプリケーションの確認が終了すると、端末装置10を操作し、睡眠情報を用いたゲームのアプリケーションを実行させる。 First, after checking other applications, the user operates the terminal device 10 to execute a game application using sleep information.

ステップS21において、端末装置10は、先に開始された計測が途中で停止されたか否かを判断する。具体的には、例えば、ゲーム処理部195は、先に開始された計測が途中で停止されたか否かを、例えば、以下に基づいて判断する。
・計測が停止されているが、ユーザの起床が検知されていないこと
・停止された計測が実行された時間が所定時間を満たしていないこと
・計測が開始されてから停止されるまでの間にユーザの入眠を検知していないこと
・計測が停止された時刻が所定の時刻(例えば、2時等の深夜の時間帯)に達していないこと
・計測の停止が、所定のアプリケーションの実行に応じた停止であること
In step S21, the terminal device 10 determines whether the measurement started earlier has been stopped midway. Specifically, for example, the game processing unit 195 determines whether or not the previously started measurement has been stopped midway, based on, for example, the following.
・Measurement is stopped, but the user's wake-up is not detected. ・The time when the stopped measurement was executed does not meet the predetermined time. ・The period from when measurement starts to when it is stopped. The user's falling asleep is not detected. - The time at which measurement is stopped has not reached a predetermined time (for example, late at night, such as 2 o'clock). - Measurement is stopped in response to the execution of a predetermined application. stop

先に開始された計測が途中で停止された場合、ゲーム処理部195は、処理をステップS22へ移行させる。先に開始された計測が途中で停止されていない場合、ゲーム処理部195は、処理を図8のステップS11へ移行させる。 If the measurement started earlier is stopped midway, the game processing unit 195 moves the process to step S22. If the measurement started earlier is not stopped midway, the game processing unit 195 moves the process to step S11 in FIG. 8.

ステップS22において、端末装置10は、睡眠情報の計測開始の指示を受け付けるためのインタフェースを表示する。具体的には、例えば、提示制御部194は、ゲーム処理部195が起動すると、ユーザからの操作を受け付けずに、睡眠情報の計測開始の指示を受け付けるためのインタフェースをディスプレイ141に表示させる。 In step S22, the terminal device 10 displays an interface for receiving an instruction to start measuring sleep information. Specifically, for example, when the game processing unit 195 is activated, the presentation control unit 194 causes the display 141 to display an interface for accepting an instruction to start measuring sleep information without accepting any operation from the user.

図12は、睡眠情報の計測開始の指示を受け付けるためのインタフェースを表示する際のディスプレイ141の表示例を表す模式図である。図12において、提示制御部194は、ウィンドウ1413を表示する。ウィンドウ1413は、睡眠情報の計測を開始させるための指示をユーザから受け付けるための領域である。図12に示す例では、提示制御部194は、ウィンドウ1413において、「おやすみになりますか?」のように、睡眠開始を促す記載を表示し、睡眠開始を指示するためのボタン14131、睡眠を見合わせることを指示するためのボタン14132を表示する。 FIG. 12 is a schematic diagram showing a display example of the display 141 when displaying an interface for receiving an instruction to start measuring sleep information. In FIG. 12, the presentation control unit 194 displays a window 1413. Window 1413 is an area for receiving instructions from the user to start measuring sleep information. In the example shown in FIG. 12, the presentation control unit 194 displays, in the window 1413, a description prompting the start of sleep, such as "Would you like to go to bed?", and a button 14131 for instructing the start of sleep, A button 14132 for instructing to postpone is displayed.

ステップS23において、端末装置10は、睡眠情報の計測開始の指示(睡眠開始の指示)に応じ、睡眠情報の計測を開始する。具体的には、例えば、端末装置10は、操作受付部191により、ユーザが睡眠開始ボタンを押下することで、睡眠情報の測定開始の指示を受け付ける。ゲーム処理部195は、ユーザから睡眠情報の測定開始の指示を受け付けると、モーションセンサ170に睡眠情報の計測を開始させる。 In step S23, the terminal device 10 starts measuring sleep information in response to an instruction to start measuring sleep information (instruction to start sleeping). Specifically, for example, the terminal device 10 receives an instruction to start measuring sleep information through the operation reception unit 191 when the user presses a sleep start button. When the game processing unit 195 receives an instruction to start measuring sleep information from the user, it causes the motion sensor 170 to start measuring the sleep information.

ゲーム処理部195は、途中で計測が停止された後、ユーザの指示によりゲームが再開されると、途中で停止された計測の結果をユーザに提示してもよい。具体的には、ステップS21において先に開始された計測が途中で停止されたと判断した場合、ゲーム処理部195は、例えば、途中で停止された計測の結果をモーションセンサ170から取得する。提示制御部194は、取得した計測結果を、ディスプレイ141に表示させる。 When the game is restarted according to a user's instruction after measurement is stopped midway, the game processing unit 195 may present the result of the measurement that was stopped midway to the user. Specifically, if it is determined in step S21 that the measurement that was started earlier has been stopped midway, the game processing unit 195 obtains, for example, the result of the measurement that was stopped midway from the motion sensor 170. The presentation control unit 194 causes the display 141 to display the acquired measurement results.

図13は、途中で停止された計測の結果をユーザへ提示する際のディスプレイ141の表示例を表す模式図である。図13において、提示制御部194は、ウィンドウ1414を表示する。ウィンドウ1414は、途中で停止された計測の結果をユーザへ提示するための領域である。図13に示す例では、提示制御部194は、ウィンドウ1414において、計測結果に承諾するためのボタン14141を表示する。 FIG. 13 is a schematic diagram showing an example of a display on the display 141 when presenting the result of a measurement that has been stopped midway to the user. In FIG. 13, the presentation control unit 194 displays a window 1414. Window 1414 is an area for presenting to the user the results of measurements that have been stopped midway. In the example shown in FIG. 13, the presentation control unit 194 displays a button 14141 for accepting the measurement result in the window 1414.

ゲーム処理部195は、途中で計測が停止された後、睡眠情報の測定を開始させる旨がユーザから入力されると、モーションセンサ170に睡眠情報の計測を再度開始させる。ゲーム処理部195は、例えば、停止前にモーションセンサ170で取得されたセンシング結果を廃棄し、計測再開時からの情報を睡眠情報とする。また、ゲーム処理部195は、例えば、停止前にモーションセンサ170で取得されたセンシング結果を維持し、計測再開時から取得された情報と、停止前に取得された情報とを合わせて睡眠情報としてもよい。ゲーム処理部195は、開始させる計測を、新たな計測とするか、先の計測を引き継いだ計測とするかについて、ユーザからの選択に基づいて選択してもよい。 When the game processing unit 195 receives an input from the user to start measuring the sleep information after the measurement is stopped midway, the game processing unit 195 causes the motion sensor 170 to start measuring the sleep information again. For example, the game processing unit 195 discards the sensing result obtained by the motion sensor 170 before stopping, and uses the information from the time when the measurement is restarted as the sleep information. In addition, the game processing unit 195 maintains the sensing results obtained by the motion sensor 170 before stopping, and combines the information obtained from the time of restarting measurement and the information obtained before stopping as sleep information. Good too. The game processing unit 195 may select whether the measurement to be started is a new measurement or a measurement inherited from the previous measurement, based on a selection from the user.

図14は、停止された睡眠結果を引き継ぐか否かをユーザに確認する際のディスプレイ141の表示例を表す模式図である。図14において、提示制御部194は、ウィンドウ1415を表示する。提示制御部194は、例えば、図12に示すボタン14131がユーザにより押下されると、ウィンドウ1415を表示する。ウィンドウ1415は、停止された計測結果を引き継ぐか否かをユーザに確認するための領域である。図14に示す例では、提示制御部194は、ウィンドウ1415において、計測結果を引き継ぐことを指示するためのボタン14151と、新たな計測とすることを指示するためのボタン14152とを表示する。 FIG. 14 is a schematic diagram showing an example of a display on the display 141 when asking the user whether or not to take over the stopped sleep results. In FIG. 14, the presentation control unit 194 displays a window 1415. For example, when the user presses button 14131 shown in FIG. 12, presentation control unit 194 displays window 1415. Window 1415 is an area for asking the user whether or not to inherit the stopped measurement results. In the example shown in FIG. 14, the presentation control unit 194 displays a button 14151 for instructing to take over the measurement results and a button 14152 for instructing to start a new measurement in a window 1415.

(起床時の動作)
図15は、ユーザが起床した際の端末装置10の動作の例を示すフローチャートである。
(Behavior when waking up)
FIG. 15 is a flowchart showing an example of the operation of the terminal device 10 when the user wakes up.

ステップS31において、端末装置10は、ユーザが起床したことを検知する。具体的には、例えば、制御部190は、操作受付部191により、ユーザからの端末装置10に対する操作入力を受け付ける。例えば、操作入力は、睡眠情報を確定させる操作である。睡眠情報を確定させる操作は、例えば、起床したことを表すボタンを押下する等、起床したことを宣言するための操作を含む。また、睡眠情報を確定させる操作は、例えば、起床予定時刻に発せられるアラームを停止させる操作を含む。 In step S31, the terminal device 10 detects that the user has woken up. Specifically, for example, the control unit 190 receives an operation input from the user to the terminal device 10 through the operation reception unit 191. For example, the operation input is an operation for determining sleep information. The operation for confirming the sleep information includes, for example, an operation for declaring that the person has woken up, such as pressing a button indicating that the person has woken up. Further, the operation of determining the sleep information includes, for example, an operation of stopping an alarm that is issued at the scheduled wake-up time.

ステップS32において、端末装置10は、睡眠情報を取得する。具体的には、例えば、制御部190は、ゲーム処理部195により、ユーザの起床を検知すると、ユーザの睡眠情報の計測を終了させる。情報管理部193は、睡眠情報を集計する。情報管理部193は、集計した睡眠情報をユーザ情報181に記憶する。 In step S32, the terminal device 10 acquires sleep information. Specifically, for example, when the game processing unit 195 detects that the user wakes up, the control unit 190 ends the measurement of the user's sleep information. The information management unit 193 aggregates sleep information. The information management unit 193 stores the aggregated sleep information in the user information 181.

ステップS33において、端末装置10は、イベントの内容を確認する旨の指示をユーザから受け付ける。なお、イベントの内容を確認するか否かの設定が予めなされていてもよい。ゲーム処理部195は、設定されている内容に従い、イベントの内容を確認するか否かを決定する。 In step S33, the terminal device 10 receives an instruction from the user to confirm the details of the event. Note that a setting as to whether or not to confirm the content of the event may be made in advance. The game processing unit 195 determines whether or not to confirm the details of the event according to the set details.

ステップS34において、端末装置10は、サーバ20へアクセスする。具体的には、例えば、イベントの内容を確認する指示を受け付けた場合、制御部190は、送受信部192により、ユーザ情報181に記憶した睡眠情報をサーバ20へ送信する。また、送受信部192は、イベントの内容を確認する要求をサーバ20へ送信する。 In step S34, the terminal device 10 accesses the server 20. Specifically, for example, when receiving an instruction to confirm the details of the event, the control unit 190 transmits the sleep information stored in the user information 181 to the server 20 using the transmitting/receiving unit 192 . The transmitting/receiving unit 192 also transmits a request to confirm the details of the event to the server 20.

(イベント発生時の動作)
図16は、イベント発生時の端末装置10とサーバ20との動作の例を説明するための図である。
(Operation when an event occurs)
FIG. 16 is a diagram for explaining an example of the operation of the terminal device 10 and the server 20 when an event occurs.

まず、サーバ20は、端末装置10から、睡眠情報と、イベントの内容を確認する要求とを受信する。 First, the server 20 receives sleep information and a request to confirm the details of the event from the terminal device 10.

ステップS41において、サーバ20は、イベントを発生させる。また、サーバ20は、イベントの一局面として、ユーザの睡眠を評価する。具体的には、例えば、制御部203は、ゲーム進行モジュール2034により、ユーザの睡眠情報と、日中のゲーム要素で取得された育成アイテムに関する情報とに基づき、評価パラメータを算出する。提示モジュール2035は、例えば、ユーザの睡眠の評価結果をユーザに提示する。送信制御モジュール2032は、例えば、ユーザの睡眠の評価結果を表示するための情報を端末装置10へ送信する。 In step S41, the server 20 generates an event. The server 20 also evaluates the user's sleep as one aspect of the event. Specifically, for example, the control unit 203 uses the game progress module 2034 to calculate evaluation parameters based on the user's sleep information and information regarding the training items acquired in the daytime game elements. The presentation module 2035 presents, for example, the user's sleep evaluation results to the user. The transmission control module 2032 transmits, for example, information for displaying the user's sleep evaluation results to the terminal device 10.

ステップS42において、端末装置10は、睡眠の評価結果を表示する。 In step S42, the terminal device 10 displays the sleep evaluation results.

ステップS43において、サーバ20は、イベントの一局面として、睡眠情報に基づき、オブジェクトを抽選する。提示モジュール2035は、例えば、抽選の結果をユーザに提示する。送信制御モジュール2032は、例えば、抽選の結果を表示するための情報を端末装置10へ送信する。 In step S43, the server 20 draws objects based on the sleep information as one aspect of the event. The presentation module 2035 presents the lottery results to the user, for example. The transmission control module 2032 transmits information for displaying the lottery results to the terminal device 10, for example.

ステップS44において、端末装置10は、抽選結果を表示する。 In step S44, the terminal device 10 displays the lottery results.

ステップS45において、サーバ20は、イベントの一局面として、抽選により決定されたオブジェクトのいずれかに対する干渉の機会を、ユーザに提供する。具体的には、例えば、ゲーム進行モジュール2034は、抽選により決定されたオブジェクトのいずれかに対して付与アイテムを付与することで、第1の関係を向上させる機会を提供する。提示モジュール2035は、例えば、オブジェクトに対する干渉の機会をユーザに提示する。送信制御モジュール2032は、例えば、オブジェクトに対する干渉の機会を表示するための情報を端末装置10へ送信する。 In step S45, the server 20 provides the user with an opportunity to interfere with any of the objects determined by lottery as one aspect of the event. Specifically, for example, the game progress module 2034 provides an opportunity to improve the first relationship by providing a given item to any of the objects determined by lottery. The presentation module 2035, for example, presents the user with an opportunity to interact with the object. The transmission control module 2032 transmits, for example, information for displaying an opportunity for interference with an object to the terminal device 10.

ステップS46において、端末装置10は、オブジェクトに対する干渉の機会を表示する。 In step S46, the terminal device 10 displays opportunities for interference with the object.

ユーザは、例えば、抽選により決定された複数のオブジェクトから所望のオブジェクトを選択する。提示制御部194は、選択されたオブジェクトに対して付与アイテムを付与する画面をディスプレイ141に表示させる。ユーザは、選択したオブジェクトに対して複数の付与アイテムを付与する。送受信部192は、オブジェクトに対する干渉の結果をサーバ20へ送信する。 The user selects a desired object from a plurality of objects determined by, for example, a lottery. The presentation control unit 194 causes the display 141 to display a screen for adding an item to the selected object. The user grants a plurality of grant items to the selected object. The transmitting/receiving unit 192 transmits the result of interference with the object to the server 20.

ステップS47において、サーバ20は、ユーザ情報テーブル2021を更新する。具体的には、制御部203は、管理モジュール2033により、端末装置10から受信した干渉の結果に基づき、ユーザ情報テーブル2021の項目「関連オブジェクト」を更新する。 In step S47, the server 20 updates the user information table 2021. Specifically, the control unit 203 uses the management module 2033 to update the item “related object” in the user information table 2021 based on the interference result received from the terminal device 10.

以上のように、上記実施形態では、ゲーム処理部195は、睡眠情報の計測開始の指示に応じ、モーションセンサ170に睡眠情報を計測させる。ゲーム処理部195は、睡眠情報の計測を開始した後に他のアプリケーションが実行されることによる睡眠情報の計測の停止を検知する。提示制御部194は、睡眠情報の計測の停止をユーザに通知する。これにより、ユーザは、他のアプリケーションの使用により、睡眠情報の計測が停止されたこと、又は睡眠情報の計測が停止されることを認識することが可能となる。そのため、計測が継続されていると信じていたが、起床したら実際は計測がされておらず、イベントを発生させることができない、ということを避けることが可能となる。 As described above, in the embodiment described above, the game processing unit 195 causes the motion sensor 170 to measure sleep information in response to an instruction to start measuring sleep information. The game processing unit 195 detects that measurement of sleep information has stopped due to execution of another application after starting measurement of sleep information. The presentation control unit 194 notifies the user of stopping measurement of sleep information. This allows the user to recognize that measurement of sleep information has been stopped or that measurement of sleep information will be stopped due to use of another application. Therefore, it is possible to avoid a situation where the user believes that measurement is continuing, but when he wakes up, the measurement is actually not being performed and an event cannot be generated.

したがって、本実施形態に係る端末装置10によれば、他のアプリケーションを実行することによる睡眠結果の取得失敗を抑え、ユーザがゲームを継続する意欲の減衰を抑えることできるようになる。 Therefore, according to the terminal device 10 according to the present embodiment, it is possible to suppress failure to obtain sleep results due to execution of other applications, and to suppress a decline in the user's desire to continue playing the game.

また、上記実施形態では、ゲーム処理部195は、睡眠情報の計測を、他のアプリケーションのバックグラウンドで実行可能である。ゲーム処理部195は、他のアプリケーションの実行による、バックグラウンドで実行される睡眠情報の計測の停止を検知する。これにより、端末装置10は、バックグラウンドで実行していた睡眠情報の計測が停止したこと、又はバックグラウンドで実行していた睡眠情報の計測が停止することをユーザに通知することが可能となる。 Furthermore, in the embodiment described above, the game processing unit 195 can measure sleep information in the background of other applications. The game processing unit 195 detects that measurement of sleep information that is executed in the background is stopped due to execution of another application. This allows the terminal device 10 to notify the user that the measurement of sleep information that was being executed in the background has stopped, or that the measurement of sleep information that was being executed in the background has stopped. .

また、上記実施形態では、提示制御部194は、他のアプリケーションが実行対象として選択されると、睡眠情報を計測中であることをユーザに通知する。これにより、端末装置10は、睡眠情報を計測していることを、他のアプリケーションを実行する際に思い出すことが可能となる。 Furthermore, in the embodiment described above, when another application is selected as an execution target, the presentation control unit 194 notifies the user that sleep information is being measured. This allows the terminal device 10 to remember that sleep information is being measured when executing another application.

また、上記実施形態では、ゲーム処理部195は、他のアプリケーションの実行により睡眠情報の計測が停止された後、ゲームを実行させる指示に応じてゲームを実行させた場合、睡眠情報の計測開始の指示を受け付けるためのインタフェースを、ユーザからインタフェースを提示させる指示がなくてもユーザに提示する。これにより、睡眠情報の計測を再開させる際のユーザの操作を抑えることが可能となる。 Furthermore, in the above embodiment, when the game is executed in response to an instruction to execute the game after the measurement of sleep information has been stopped due to execution of another application, the game processing unit 195 is configured to stop the measurement of the sleep information. To present an interface for accepting instructions to a user even without an instruction from the user to present the interface. This makes it possible to suppress user operations when restarting measurement of sleep information.

また、上記実施形態では、ゲーム処理部195は、インタフェースに対して睡眠情報の計測開始の指示が入力されると、停止前の計測結果を維持して計測を開始する。これにより、端末装置10は、睡眠情報の計測が停止された場合であっても、再開された計測に停止前の計測結果を含めることが可能となる。 Further, in the above embodiment, when an instruction to start measuring sleep information is input to the interface, the game processing unit 195 starts the measurement while maintaining the measurement result before stopping. Thereby, even if the measurement of sleep information is stopped, the terminal device 10 can include the measurement results before the stop in the restarted measurement.

また、上記実施形態では、ゲーム処理部195は、インタフェースに対して睡眠情報の計測開始の指示が入力されると、停止前の計測を廃棄して計測を開始する。停止された計測での睡眠情報によっては、睡眠の評価が下がる可能性もある。このような場合、端末装置10は、停止前の計測を廃棄することで、ユーザが不利になることを抑えることが可能となる。 Further, in the embodiment described above, when an instruction to start measuring sleep information is input to the interface, the game processing unit 195 discards the measurement before stopping and starts the measurement. Depending on the sleep information from the stopped measurement, the sleep evaluation may be lowered. In such a case, the terminal device 10 can prevent the user from being disadvantaged by discarding the measurements taken before the stop.

また、上記実施形態では、ゲーム処理部195は、他のアプリケーションの実行により睡眠情報の計測が停止された後、ゲームを実行させる指示に応じてゲームを実行させた場合、睡眠情報の計測が停止された際の計測結果をユーザに提示する。これにより、ユーザは、停止された計測において、どれだけ睡眠情報が計測されたかを把握することが可能となる。 Further, in the above embodiment, when the game processing unit 195 causes the game to be executed in response to an instruction to execute the game after the measurement of the sleep information has been stopped due to the execution of another application, the game processing unit 195 stops measuring the sleep information. The measurement results are presented to the user. This allows the user to understand how much sleep information has been measured during the stopped measurement.

<4 変形例>
上記実施形態では、睡眠情報の計測が、他のアプリケーションの実行により停止される場合を例に説明した。しかしながら、睡眠情報の計測が停止されるのは他のアプリケーションの実行時に限定されない。アプリケーションの実行に限らず、所定の機能の実行により、睡眠情報の計測が停止されてもよい。
<4 Modification>
In the above embodiment, the case where measurement of sleep information is stopped due to execution of another application has been described as an example. However, the measurement of sleep information is not limited to when other applications are executed. Measurement of sleep information may be stopped not only by execution of an application but also by execution of a predetermined function.

また、上記実施形態では、端末装置10は、スマートフォンなどで実現される端末として説明したが、この例に限定されることはない。家庭用のPC等にソフトウェアをインストールすることにより、端末装置10を実現し、マウス等の操作を受け付けるようにしてもよい。 Further, in the above embodiment, the terminal device 10 has been described as a terminal realized by a smartphone or the like, but the terminal device 10 is not limited to this example. The terminal device 10 may be implemented by installing software on a home PC or the like, and may accept operations using a mouse or the like.

また、通信回線を介した所定情報の共有は、主にインターネットなどのWANを介して行われるが、情報処理装置間では、WANを介さずにBluetooth(登録商標)等の近距離の無線通信、及び赤外線通信等のみを介して行われてもよい。 Furthermore, sharing of specified information via a communication line is mainly performed via a WAN such as the Internet, but between information processing devices, short-distance wireless communication such as Bluetooth (registered trademark) is used instead of via a WAN. Alternatively, the communication may be performed only through infrared communication or the like.

また、上記実施形態では、各機能を端末装置10またはサーバ20が備える態様の一例について説明したが、この形態に限定されることはなく、一部または全部の機能について上記実施形態と異なる態様で端末装置10、サーバ20、又は端末装置10とサーバ20の両方が備える構成としてもよい。 Further, in the above embodiment, an example of a mode in which each function is provided in the terminal device 10 or the server 20 has been described, but the present invention is not limited to this mode, and some or all functions may be provided in a mode different from the above embodiment. The configuration may be provided in the terminal device 10, the server 20, or both the terminal device 10 and the server 20.

さらに、本発明は、上述した端末装置10またはサーバ20が備える機能を情報処理装置に実行させるプログラムとして実現してもよいし、当該プログラムを格納する、コンピュータ読み取り可能な非一時的な記録媒体として実現してもよい。 Furthermore, the present invention may be realized as a program that causes an information processing device to execute the functions provided in the terminal device 10 or the server 20 described above, or as a computer-readable non-temporary recording medium that stores the program. It may be realized.

<5 コンピュータの基本ハードウェア構成>
図17は、コンピュータ90の基本的なハードウェア構成を示すブロック図である。コンピュータ90は、プロセッサ94、主記憶装置95、補助記憶装置96、通信IF99(インタフェース、Interface)を少なくとも備える。これらはバスにより相互に電気的に接続される。
<5 Basic hardware configuration of the computer>
FIG. 17 is a block diagram showing the basic hardware configuration of the computer 90. The computer 90 includes at least a processor 94, a main storage device 95, an auxiliary storage device 96, and a communication IF 99 (interface). These are electrically connected to each other by a bus.

プロセッサ94とは、プログラムに記述された命令セットを実行するためのハードウェアである。プロセッサ94は、演算装置、レジスタ、周辺回路等から構成される。 The processor 94 is hardware for executing a set of instructions written in a program. The processor 94 includes an arithmetic unit, registers, peripheral circuits, and the like.

主記憶装置95とは、プログラム、及びプログラム等で処理されるデータ等を一時的に記憶するためのものである。例えば、DRAM(Dynamic Random Access Memory)等の揮発性のメモリである。 The main storage device 95 is for temporarily storing programs and data processed by the programs. For example, it is a volatile memory such as DRAM (Dynamic Random Access Memory).

補助記憶装置96とは、データ及びプログラムを保存するための記憶装置である。例えば、フラッシュメモリ、HDD(Hard Disc Drive)、光磁気ディスク、CD-ROM、DVD-ROM、半導体メモリ等である。 The auxiliary storage device 96 is a storage device for storing data and programs. Examples include flash memory, HDD (Hard Disc Drive), magneto-optical disk, CD-ROM, DVD-ROM, semiconductor memory, and the like.

通信IF99とは、有線又は無線の通信規格を用いて、他のコンピュータとネットワークを介して通信するための信号を入出力するためのインタフェースである。 The communication IF 99 is an interface for inputting and outputting signals for communicating with other computers via a network using a wired or wireless communication standard.

ネットワークは、インターネット、LAN、無線基地局等によって構築される各種移動通信システム等で構成される。例えば、ネットワークには、3G、4G、5G移動通信システム、LTE(Long Term Evolution)、所定のアクセスポイントによってインターネットに接続可能な無線ネットワーク(例えば、Wi-Fi(登録商標))等が含まれる。無線で接続する場合、通信プロトコルとして例えば、Z-Wave(登録商標)、ZigBee(登録商標)、Bluetooth(登録商標)等が含まれる。有線で接続する場合は、ネットワークには、USB(Universal Serial Bus)ケーブル等により直接接続するものも含む。 The network is composed of various mobile communication systems constructed using the Internet, LAN, wireless base stations, and the like. For example, the network includes 3G, 4G, 5G mobile communication systems, LTE (Long Term Evolution), a wireless network (eg, Wi-Fi (registered trademark)) that can be connected to the Internet through a predetermined access point, and the like. When connecting wirelessly, communication protocols include, for example, Z-Wave (registered trademark), ZigBee (registered trademark), Bluetooth (registered trademark), and the like. In the case of a wired connection, the network includes a network that is directly connected using a USB (Universal Serial Bus) cable or the like.

なお、各ハードウェア構成の全部または一部を複数のコンピュータ90に分散して設け、ネットワークを介して相互に接続することによりコンピュータ90を仮想的に実現することができる。このように、コンピュータ90は、単一の筐体、ケースに収納されたコンピュータ90だけでなく、仮想化されたコンピュータシステムも含む概念である。 Note that the computers 90 can be virtually realized by distributing all or part of each hardware configuration to a plurality of computers 90 and interconnecting them via a network. In this way, the concept of the computer 90 includes not only the computer 90 housed in a single housing or case, but also a virtualized computer system.

<コンピュータ90の基本機能構成>
図17に示すコンピュータ90の基本ハードウェア構成により実現されるコンピュータの機能構成を説明する。コンピュータは、制御部、記憶部、通信部の機能ユニットを少なくとも備える。
<Basic functional configuration of computer 90>
The functional configuration of the computer realized by the basic hardware configuration of the computer 90 shown in FIG. 17 will be described. The computer includes at least functional units of a control section, a storage section, and a communication section.

なお、コンピュータ90が備える機能ユニットは、それぞれの機能ユニットの全部または一部を、ネットワークで相互に接続された複数のコンピュータ90に分散して設けても実現することができる。コンピュータ90は、単一のコンピュータ90だけでなく、仮想化されたコンピュータシステムも含む概念である。 Note that the functional units included in the computer 90 can also be implemented by distributing all or part of each functional unit to a plurality of computers 90 interconnected via a network. The computer 90 is a concept that includes not only a single computer 90 but also a virtualized computer system.

制御部は、プロセッサ94が補助記憶装置96に記憶された各種プログラムを読み出して主記憶装置95に展開し、当該プログラムに従って処理を実行することにより実現される。制御部は、プログラムの種類に応じて様々な情報処理を行う機能ユニットを実現することができる。これにより、コンピュータは情報処理を行う情報処理装置として実現される。 The control unit is realized by the processor 94 reading out various programs stored in the auxiliary storage device 96, loading them into the main storage device 95, and executing processing according to the programs. The control unit can implement a functional unit that performs various information processing depending on the type of program. Thereby, the computer is realized as an information processing device that performs information processing.

記憶部は、主記憶装置95、補助記憶装置96により実現される。記憶部は、データ、各種プログラム、各種データベースを記憶する。また、プロセッサ94は、プログラムに従って記憶部に対応する記憶領域を主記憶装置95または補助記憶装置96に確保することができる。また、制御部は、各種プログラムに従ってプロセッサ94に、記憶部に記憶されたデータの追加、更新、削除処理を実行させることができる。 The storage unit is realized by a main storage device 95 and an auxiliary storage device 96. The storage unit stores data, various programs, and various databases. Further, the processor 94 can secure a storage area corresponding to the storage section in the main storage device 95 or the auxiliary storage device 96 according to the program. Further, the control unit can cause the processor 94 to execute processing for adding, updating, and deleting data stored in the storage unit according to various programs.

データベースは、リレーショナルデータベースを指し、行と列によって構造的に規定された表形式のテーブルと呼ばれるデータ集合を、互いに関連づけて管理するためのものである。データベースでは、表をテーブル、表の列をカラム、表の行をレコードと呼ぶ。リレーショナルデータベースでは、テーブル同士の関係を設定し、関連づけることができる。 A database refers to a relational database, which is used to manage data sets called tabular tables, which are structurally defined by rows and columns, in relation to each other. In a database, a table is called a table, a table column is called a column, and a table row is called a record. In a relational database, you can set and associate relationships between tables.

通常、各テーブルにはレコードを一意に特定するためのキーとなるカラムが設定されるが、カラムへのキーの設定は必須ではない。制御部は、各種プログラムに従ってプロセッサ94に、記憶部に記憶された特定のテーブルにレコードを追加、削除、更新を実行させることができる。 Usually, each table has a column set as a key to uniquely identify a record, but setting a key to a column is not essential. The control unit can cause the processor 94 to add, delete, or update records in a specific table stored in the storage unit according to various programs.

通信部は、通信IF99により実現される。通信部は、ネットワークを介して他のコンピュータ90と通信を行う機能を実現する。通信部は、他のコンピュータ90から送信された情報を受信し、制御部へ入力することができる。制御部は、各種プログラムに従ってプロセッサ94に、受信した情報に対する情報処理を実行させることができる。また、通信部は、制御部から出力された情報を他のコンピュータ90へ送信することができる。 The communication unit is realized by a communication IF 99. The communication unit realizes a function of communicating with other computers 90 via a network. The communication unit can receive information transmitted from other computers 90 and input it to the control unit. The control unit can cause the processor 94 to execute information processing on the received information according to various programs. Further, the communication unit can transmit information output from the control unit to another computer 90.

以上、本開示のいくつかの実施形態を説明したが、これら実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものとする。 Although several embodiments of the present disclosure have been described above, these embodiments can be implemented in various other forms, and various omissions, substitutions, and changes can be made without departing from the gist of the invention. It can be performed. These embodiments and their modifications are included within the scope and gist of the invention as well as within the scope of the invention described in the claims and its equivalents.

<付記>
以上の各実施形態で説明した事項を以下に付記する。
(付記1)
プロセッサと、メモリとを備える、睡眠情報を用いたゲームの進行を管理するコンピュータに実行させるためのプログラムであって、プログラムは、プロセッサに、睡眠情報の計測開始の指示に応じ、睡眠情報を計測するステップと、睡眠情報の計測を開始した後に他のアプリケーションが実行されることによる、睡眠情報の計測の停止を検知するステップと、睡眠情報の計測の停止をユーザに通知するステップとを実行させるプログラム。
(付記2)
睡眠情報を計測するステップにおいて、睡眠情報の計測は、他のアプリケーションのバックグラウンドで実行可能であり、検知するステップにおいて、他のアプリケーションの実行による、バックグラウンドで実行される睡眠情報の計測の停止を検知する(付記1)に記載のプログラム。
(付記3)
睡眠情報を計測するステップにおいて、他のアプリケーションが実行対象として選択されると、睡眠情報を計測中であることをユーザに通知する(付記1)又は(付記2)に記載のプログラム。
(付記4)
他のアプリケーションの実行により睡眠情報の計測が停止された後、ゲームを実行させる指示に応じてゲームを実行させた場合、睡眠情報の計測開始の指示を受け付けるためのインタフェースを、ユーザからインタフェースを提示させる指示がなくてもユーザに提示するステップをプロセッサに実行させる(付記1)から(付記3)のいずれかに記載のプログラム。
(付記5)
睡眠情報を計測するステップにおいて、インタフェースに対して睡眠情報の計測開始の指示が入力されると、停止前の計測結果を維持して計測を開始する(付記4)に記載のプログラム。
(付記6)
睡眠情報を計測するステップにおいて、インタフェースに対して睡眠情報の計測開始の指示が入力されると、停止前の計測を廃棄して計測を開始する(付記4)に記載のプログラム。
(付記7)
他のアプリケーションの実行により睡眠情報の計測が停止された後、ゲームを実行させる指示に応じてゲームを実行させた場合、睡眠情報の計測が停止された際の計測結果をユーザに提示するステップをプロセッサに実行させる(付記1)から(付記6)のいずれかに記載のプログラム。
(付記8)
プロセッサと、メモリとを備えるコンピュータに実行される方法であって、プロセッサが、(付記1)から(付記8)のいずれかに係る発明において実行される全てのステップを実行する方法。
(付記9)
制御部と、記憶部とを備える情報処理装置であって、制御部が、(付記1)から(付記8)のいずれかに係る発明において実行される全てのステップを実行する情報処理装置。
(付記10)
(付記1)から(付記8)のいずれかに係る発明において実行される全てのステップを実行する手段を備えるシステム。
<Additional notes>
The matters explained in each of the above embodiments are additionally described below.
(Additional note 1)
A program for causing a computer to manage the progress of a game using sleep information to be executed by a computer including a processor and a memory, the program to cause the processor to measure sleep information in response to an instruction to start measuring sleep information. a step of detecting the stoppage of measurement of sleep information due to execution of another application after the start of measurement of sleep information; and a step of notifying the user of the stoppage of measurement of sleep information. program.
(Additional note 2)
In the step of measuring sleep information, the measurement of sleep information can be executed in the background of another application, and in the step of detecting, the measurement of sleep information executed in the background can be stopped due to execution of another application. The program described in (Appendix 1) that detects
(Additional note 3)
In the step of measuring sleep information, when another application is selected as an execution target, the program according to (Appendix 1) or (Appendix 2) notifies the user that sleep information is being measured.
(Additional note 4)
If the game is started in response to an instruction to start the game after the measurement of sleep information has been stopped due to the execution of another application, an interface is presented from the user to accept the instruction to start measuring the sleep information. The program according to any one of (Appendix 1) to (Appendix 3) that causes a processor to execute a step presented to a user even without an instruction to do so.
(Appendix 5)
In the step of measuring sleep information, when an instruction to start measuring sleep information is input to the interface, the program according to appendix 4 maintains the measurement results before stopping and starts the measurement.
(Appendix 6)
In the step of measuring sleep information, when an instruction to start measuring sleep information is input to the interface, the program discards the measurement before stopping and starts the measurement (Appendix 4).
(Appendix 7)
If the game is run in response to an instruction to run the game after the measurement of sleep information has been stopped due to execution of another application, the step of presenting the measurement result when the measurement of sleep information was stopped to the user. The program according to any one of (Appendix 1) to (Appendix 6) that is caused to be executed by a processor.
(Appendix 8)
A method executed by a computer comprising a processor and a memory, wherein the processor executes all steps performed in the invention according to any one of (Appendix 1) to (Appendix 8).
(Appendix 9)
An information processing device comprising a control unit and a storage unit, wherein the control unit executes all steps performed in the invention according to any one of (Appendix 1) to (Appendix 8).
(Appendix 10)
A system comprising means for executing all steps performed in the invention according to any one of (Appendix 1) to (Appendix 8).

1…システム
10…端末装置
12…通信IF
120…通信部
13…入力装置
131…タッチ・センシティブ・デバイス
14…出力装置
141…ディスプレイ
15…メモリ
150…位置情報センサ
16…ストレージ
160…カメラ
17…音声処理部
171…マイク
172…スピーカー
180…記憶部
19…プロセッサ
190…制御部
20…サーバ

1...System 10...Terminal device 12...Communication IF
120... Communication unit 13... Input device 131... Touch sensitive device 14... Output device 141... Display 15... Memory 150... Position information sensor 16... Storage 160... Camera 17... Audio processing unit 171... Microphone 172... Speaker 180... Memory Unit 19...Processor 190...Control unit 20...Server

Claims (10)

プロセッサと、メモリとを備える、睡眠情報を用いたゲームの進行を管理するコンピュータに実行させるためのプログラムであって、前記プログラムは、前記プロセッサに、
前記睡眠情報の計測開始の指示に応じ、前記睡眠情報を計測するステップと、
前記睡眠情報の計測を開始した後に他のアプリケーションが実行されることによる、前記睡眠情報の計測の停止を検知するステップと、
前記睡眠情報の計測の停止をユーザに通知するステップとを実行させるプログラム。
A program for causing a computer to manage the progress of a game using sleep information to be executed by a computer including a processor and a memory, the program to cause the processor to:
measuring the sleep information in response to an instruction to start measuring the sleep information;
detecting a stop in the measurement of the sleep information due to execution of another application after the measurement of the sleep information has started;
A program that causes a program to execute a step of notifying a user of stopping measurement of sleep information.
前記睡眠情報を計測するステップにおいて、前記睡眠情報の計測は、他のアプリケーションのバックグラウンドで実行可能であり、
前記検知するステップにおいて、前記他のアプリケーションの実行による、前記バックグラウンドで実行される前記睡眠情報の計測の停止を検知する請求項1記載のプログラム。
In the step of measuring the sleep information, the measurement of the sleep information can be executed in the background of another application,
2. The program according to claim 1, wherein in the detecting step, the stoppage of measurement of the sleep information executed in the background due to execution of the other application is detected.
前記睡眠情報を計測するステップにおいて、前記他のアプリケーションが実行対象として選択されると、前記睡眠情報を計測中であることを前記ユーザに通知する請求項1記載のプログラム。 2. The program according to claim 1, wherein when the other application is selected as an execution target in the step of measuring the sleep information, the program notifies the user that the sleep information is being measured. 前記他のアプリケーションの実行により前記睡眠情報の計測が停止された後、前記ゲームを実行させる指示に応じて前記ゲームを実行させた場合、前記睡眠情報の計測開始の指示を受け付けるためのインタフェースを、前記ユーザから前記インタフェースを提示させる指示がなくても前記ユーザに提示するステップを前記プロセッサに実行させる請求項1記載のプログラム。 After the measurement of the sleep information is stopped due to execution of the other application, when the game is executed in response to an instruction to execute the game, an interface for receiving an instruction to start measuring the sleep information, 2. The program according to claim 1, which causes the processor to execute the step of presenting the interface to the user even if there is no instruction from the user to present the interface. 前記睡眠情報を計測するステップにおいて、前記インタフェースに対して前記睡眠情報の計測開始の指示が入力されると、停止前の計測結果を維持して計測を開始する請求項4記載のプログラム。 5. The program according to claim 4, wherein in the step of measuring the sleep information, when an instruction to start measuring the sleep information is input to the interface, the program starts the measurement while maintaining the measurement result before stopping. 前記睡眠情報を計測するステップにおいて、前記インタフェースに対して前記睡眠情報の計測開始の指示が入力されると、停止前の計測を廃棄して計測を開始する請求項4記載のプログラム。 5. The program according to claim 4, wherein in the step of measuring the sleep information, when an instruction to start measuring the sleep information is input to the interface, the measurement before stopping is discarded and the measurement is started. 前記他のアプリケーションの実行により前記睡眠情報の計測が停止された後、前記ゲームを実行させる指示に応じて前記ゲームを実行させた場合、前記睡眠情報の計測が停止された際の計測結果を前記ユーザに提示するステップを前記プロセッサに実行させる請求項1記載のプログラム。 If the game is run in response to an instruction to run the game after the measurement of the sleep information has been stopped due to execution of the other application, the measurement result when the measurement of the sleep information was stopped is The program according to claim 1, which causes the processor to execute the steps to be presented to a user. プロセッサと、メモリとを備えるコンピュータに実行される方法であって、前記プロセッサが、請求項1から請求項のいずれかに係る発明において実行される全てのステップを実行する方法。 A method implemented in a computer comprising a processor and a memory, wherein the processor performs all the steps performed in the invention according to any one of claims 1 to 7 . 制御部と、記憶部とを備える情報処理装置であって、前記制御部が、請求項1から請求項のいずれかに係る発明において実行される全てのステップを実行する情報処理装置。 An information processing apparatus comprising a control section and a storage section, wherein the control section executes all steps executed in the invention according to any one of claims 1 to 7 . 請求項1から請求項のいずれかに係る発明において実行される全てのステップを実行する手段を備えるシステム。 A system comprising means for performing all steps performed in the invention according to any one of claims 1 to 7 .
JP2023111442A 2023-07-06 2023-07-06 Program, method, information processing device, system Active JP7374366B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023111442A JP7374366B1 (en) 2023-07-06 2023-07-06 Program, method, information processing device, system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2023111442A JP7374366B1 (en) 2023-07-06 2023-07-06 Program, method, information processing device, system

Publications (1)

Publication Number Publication Date
JP7374366B1 true JP7374366B1 (en) 2023-11-06

Family

ID=88645832

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023111442A Active JP7374366B1 (en) 2023-07-06 2023-07-06 Program, method, information processing device, system

Country Status (1)

Country Link
JP (1) JP7374366B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013207419A (en) * 2012-03-27 2013-10-07 Kyocera Corp Portable terminal device and notification method
JP2015127899A (en) * 2013-12-27 2015-07-09 株式会社ソニー・コンピュータエンタテインメント Information processing device and information processing system
JP2016114983A (en) * 2014-12-11 2016-06-23 フォスター電機株式会社 Headset and biological information measurement system
JP2020134956A (en) * 2019-02-12 2020-08-31 株式会社メルカリ Information processing method, information processing program, information processing device, and information processing terminal
JP2020194316A (en) * 2019-05-27 2020-12-03 株式会社ポケモン Game program, method, and information processing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013207419A (en) * 2012-03-27 2013-10-07 Kyocera Corp Portable terminal device and notification method
JP2015127899A (en) * 2013-12-27 2015-07-09 株式会社ソニー・コンピュータエンタテインメント Information processing device and information processing system
JP2016114983A (en) * 2014-12-11 2016-06-23 フォスター電機株式会社 Headset and biological information measurement system
JP2020134956A (en) * 2019-02-12 2020-08-31 株式会社メルカリ Information processing method, information processing program, information processing device, and information processing terminal
JP2020194316A (en) * 2019-05-27 2020-12-03 株式会社ポケモン Game program, method, and information processing device

Similar Documents

Publication Publication Date Title
JP6935540B2 (en) Information processing system, information processing server, information processing program, and information provision method
KR102446329B1 (en) Device For Providing Health Management Service and Method Thereof
KR102422115B1 (en) Electronic device for inputting sleeping information and method for controlling thereof
US10504380B2 (en) Managing presentation of fitness achievements
JP7377770B2 (en) Game program, method, information processing device
JP2018013387A (en) Information processing device, information processing system, terminal device, information processing method and information processing program
WO2021054461A1 (en) Game program, method, and information processing device
JP7378007B1 (en) Program, method, information processing device, system
JP7546029B2 (en) Information processing system, information processing server, information processing program, and information providing method
US20230294000A1 (en) Program, method, and information processing device
JP7374366B1 (en) Program, method, information processing device, system
US20180199201A1 (en) Communication system, communication method, communication terminal, information-processing system, information-processing method, and storage medium
JP7402370B1 (en) Program, method, information processing device, system
JP2019053676A (en) Information processing device, information processing method, program, and information processing system
JP7462100B1 (en) Program, method, information processing device, and system
CN113520361A (en) Heart rate detection method, terminal equipment and storage medium
JP2010117860A (en) Schedule management system and program therefor
JP2022161263A (en) Game system, game method, game program, and game server
JP7065317B2 (en) Display method and display program of information terminal display unit
JP2018124766A (en) Poor physical condition prediction method, poor physical condition prediction program, and poor physical condition prediction apparatus
KR20230121165A (en) Insomnia treatment support device, insomnia treatment support system, and program for insomnia treatment support
JP7449431B1 (en) Program, method, information processing device, system
JP6879547B2 (en) Sleep-related information sharing systems, sleep-related information sharing methods, programs, and recording media
JP7526620B2 (en) Computer system and method for supporting the establishment of a habit for a purposeful behavior
JP7400143B1 (en) Game program, game system, game method, information processing device, and generation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230706

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20230706

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230818

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230822

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: 20231013

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231024

R150 Certificate of patent or registration of utility model

Ref document number: 7374366

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150