JP6045973B2 - Information processing apparatus, status notification method, and status notification program - Google Patents

Information processing apparatus, status notification method, and status notification program Download PDF

Info

Publication number
JP6045973B2
JP6045973B2 JP2013094979A JP2013094979A JP6045973B2 JP 6045973 B2 JP6045973 B2 JP 6045973B2 JP 2013094979 A JP2013094979 A JP 2013094979A JP 2013094979 A JP2013094979 A JP 2013094979A JP 6045973 B2 JP6045973 B2 JP 6045973B2
Authority
JP
Japan
Prior art keywords
notification
state change
task
information processing
notification destination
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
JP2013094979A
Other languages
Japanese (ja)
Other versions
JP2014115975A (en
Inventor
仁嗣 川崎
仁嗣 川崎
稲村 浩
浩 稲村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Docomo Inc
Original Assignee
NTT Docomo Inc
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 NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to JP2013094979A priority Critical patent/JP6045973B2/en
Publication of JP2014115975A publication Critical patent/JP2014115975A/en
Application granted granted Critical
Publication of JP6045973B2 publication Critical patent/JP6045973B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Description

本発明は情報処理装置、状態通知方法及び状態通知プログラムに関する。   The present invention relates to an information processing apparatus, a status notification method, and a status notification program.

近年、複数のタスクを同時に実行できるマルチタスクOS(Operating System)を搭載する情報処理装置が増加している。マルチタスクOSを搭載するものの一例として、スマートフォンがある。スマートフォンは、従来の情報処理装置とは違い、液晶画面のバックライト消灯時においても、アプリケーションプログラム(以下ではアプリという)の各タスクが、サーバ装置とのデータ同期を行っており、無線通信の発生回数も増加するため、基地局が処理すべき信号の信号量が増加し、基地局や移動通信網における負荷が大きくなる。また、複数のスマートフォンが同時に通信を行うことがあるが、これにより基地局または移動通信網における負荷が一時的に増大する現象も発生している。   In recent years, information processing apparatuses equipped with a multitasking OS (Operating System) capable of executing a plurality of tasks simultaneously have increased. One example of a multitask OS is a smartphone. Unlike conventional information processing devices, even when the backlight of the LCD screen is turned off, each task of an application program (hereinafter referred to as an app) synchronizes data with the server device, and wireless communication occurs. Since the number of times also increases, the amount of signals to be processed by the base station increases, increasing the load on the base station and the mobile communication network. In addition, a plurality of smartphones may communicate at the same time, and this also causes a phenomenon in which the load on the base station or the mobile communication network temporarily increases.

このような通信集中の原因の1つとして、情報処理装置による、状態変化に関する状態変化情報を通知先に通知する状態通知が挙げられる。状態通知を行う情報処理装置は、例えば、サーバとの同期や装置内の絶対時間指定による動作などにより、複数の装置間で同一のタイミングに状態変化が発生し、通知先の通信を伴うタスクが複数の装置上で一斉に起動してしまう。ここで、例えば、情報処理装置における状態通知を行う技術として、非特許文献1には、タスクが事前に指定した種類の状態変化に対する通知を受け取る仕組みが開示されている。   As one of the causes of such communication concentration, there is a state notification by which the information processing apparatus notifies the notification destination of the state change information regarding the state change. An information processing device that performs status notification causes a change in status at the same timing among a plurality of devices due to, for example, synchronization with a server or operation by specifying an absolute time in the device. It starts at the same time on multiple devices. Here, for example, as a technique for performing status notification in the information processing apparatus, Non-Patent Document 1 discloses a mechanism for receiving notification of a type of status change designated in advance by a task.

BroadcastIntent、BroadcastReceiver(http://developer.android.com/guide/components/intents-filters.html)BroadcastIntent, BroadcastReceiver (http://developer.android.com/guide/components/intents-filters.html)

しかし、非特許文献1に開示されている仕組みを利用すると、状態変化に対する通知を契機にタスクを起動するプログラムがアプリに備わっている場合、特定の時刻に発生する状態変化や、外部からの通信や環境変化に対応して発生する状態変化による通知により、複数の情報処理装置において同時にタスクが起動することとなり、通信の集中が発生する要因となることが懸念される。   However, if the mechanism disclosed in Non-Patent Document 1 is used, if the app has a program that activates a task upon notification of a state change, a state change that occurs at a specific time or an external communication There is a concern that a task may be activated simultaneously in a plurality of information processing devices due to a notification due to a state change that occurs in response to a change in the environment, which may cause a concentration of communication.

本発明はそのような課題を解決するためになされたものであり、状態通知による処理負荷の上昇を軽減することができる情報処理装置、状態通知方法及び状態通知プログラムを提供することを目的とする。   The present invention has been made to solve such a problem, and an object thereof is to provide an information processing apparatus, a state notification method, and a state notification program capable of reducing an increase in processing load due to state notification. .

上記目的を達成するために、本発明に係る情報処理装置は、状態変化に関する状態変化情報を通知先に通知する情報処理装置であって、タスクによって発生した状態変化を検知する検知手段と、検知手段によって検知された状態変化の発生元であるタスクの挙動種別を取得する取得手段と、検知手段によって検知された状態変化に関する状態変化情報の通知先への通知方法を、取得手段によって取得された当該状態変化の発生元であるタスクの挙動種別に基づいて決定し、決定された通知方法に基づいて当該状態変化情報を通知先に通知する通知手段と、を備えることを特徴とする。   In order to achieve the above object, an information processing apparatus according to the present invention is an information processing apparatus that notifies state change information related to a state change to a notification destination, a detection unit that detects a state change caused by a task, and a detection The acquisition unit acquires the acquisition unit that acquires the behavior type of the task that is the source of the state change detected by the unit, and the notification method of the state change information related to the state change detected by the detection unit. Notification means for determining based on the behavior type of the task that is the occurrence source of the state change, and notifying the state change information of the state change information based on the determined notification method.

本発明に係る情報処理装置では、検知手段が、タスクによって発生した状態変化を検知し、取得手段が、検知された状態変化の発生元であるタスクの挙動種別を取得する。そして、通知手段が、検知された状態変化に関する状態変化情報の通知先への通知方法を、取得された当該状態変化の発生元であるタスクの挙動種別に基づいて決定し、決定された通知方法に基づいて当該状態変化情報を通知先に通知する。このように、検知された状態変化に関する状態変化情報の通知先への通知方法が、状態変化の発生元であるタスクの挙動種別に基づいて決定されるため、例えば、特定の挙動種別である場合は通知を回避、又は遅延させることで、状態通知による特定時刻に集中した処理負荷の上昇を軽減することができる。   In the information processing apparatus according to the present invention, the detection unit detects a state change generated by a task, and the acquisition unit acquires the behavior type of the task that is the source of the detected state change. Then, the notification means determines a notification method to the notification destination of the state change information regarding the detected state change based on the acquired behavior type of the task that is the source of the state change, and the determined notification method The state change information is notified to the notification destination based on the above. In this way, since the notification method of the state change information regarding the detected state change is determined based on the behavior type of the task that is the source of the state change, for example, when it is a specific behavior type By avoiding or delaying the notification, it is possible to reduce an increase in processing load concentrated at a specific time due to the status notification.

通知手段は、挙動種別が、特定の時刻に偏って実行されやすいタスクであることを示す大域同期型である場合、通知先への状態変化情報の通知を回避することとしてもよい。例えば、複数の情報処理装置において、挙動種別が大域同期型であるタスクによって発生した状態変化が通知先に通知され、当該通知に基づいて通知先が処理を行う場合、当該処理が同時に行われることになり、処理負荷が上昇する要因となる。この構成によれば、挙動種別が大域同期型であるタスクが状態変化の発生元である場合、通知先への状態変化情報の通知を回避するため、通知先での処理が行われず、状態通知による処理負荷の上昇を軽減することができる。   If the behavior type is a global synchronization type indicating that the behavior type is a task that is likely to be executed at a specific time, notification of state change information to the notification destination may be avoided. For example, in a plurality of information processing apparatuses, when a change in state caused by a task whose behavior type is a global synchronization type is notified to the notification destination, and the notification destination performs processing based on the notification, the processing is performed simultaneously. This increases the processing load. According to this configuration, when a task whose behavior type is a global synchronous type is a state change occurrence source, in order to avoid notification of state change information to the notification destination, processing at the notification destination is not performed, and the state notification is performed. The increase in the processing load due to can be reduced.

通知手段は、挙動種別が、特定の時刻に偏って実行されやすいタスクであることを示す大域同期型である場合、状態変化情報を通知先に遅延して通知することとしてもよい。例えば、複数の情報処理装置において、挙動種別が大域同期型であるタスクによって発生した状態変化が通知先に通知され、当該通知に基づいて通知先が処理を行う場合、当該処理が同時に行われることになり、処理負荷が上昇する要因となる。この構成によれば、挙動種別が大域同期型であるタスクが状態変化の発生元である場合、状態変化情報を例えば装置毎に異なる時間だけ通知先に遅延して通知することで、それぞれの装置における通知先での処理のタイミングが変わり、状態通知による処理負荷の上昇を軽減することができる。   When the behavior type is a global synchronization type indicating that the behavior type is a task that is likely to be executed at a specific time, the notification unit may notify the state change information with a delay to the notification destination. For example, in a plurality of information processing apparatuses, when a change in state caused by a task whose behavior type is a global synchronization type is notified to the notification destination, and the notification destination performs processing based on the notification, the processing is performed simultaneously. This increases the processing load. According to this configuration, when a task whose behavior type is a global synchronization type is a state change occurrence source, the state change information is delayed to the notification destination, for example, for a different time for each device, so that each device can be notified. The timing of the process at the notification destination changes, and the increase in processing load due to the status notification can be reduced.

通知手段は、挙動種別が、特定の時刻に偏って実行されやすいタスクであることを示す大域同期型である場合、状態変化情報と共に通知先の処理を制御する指示情報を通知先に通知することとしてもよい。例えば、複数の情報処理装置において、挙動種別が大域同期型であるタスクによって発生した状態変化が通知先に通知され、当該通知に基づいて通知先が処理を行う場合、当該処理が同時に行われることになり、処理負荷が上昇する要因となる。この構成によれば、挙動種別が大域同期型であるタスクが状態変化の発生元である場合、状態変化情報と共に通知先の処理を制御する指示情報を通知先に通知するため、例えば、処理を実行しない旨の指示情報を通知することで、通知先での処理が行われず、状態通知による処理負荷の上昇を軽減することができる。   The notification means notifies the notification destination of instruction information for controlling the processing of the notification destination together with the state change information, when the behavior type is a global synchronization type indicating that the task is easily executed at a specific time. It is good. For example, in a plurality of information processing apparatuses, when a change in state caused by a task whose behavior type is a global synchronization type is notified to the notification destination, and the notification destination performs processing based on the notification, the processing is performed simultaneously. This increases the processing load. According to this configuration, when a task whose behavior type is a global synchronization type is a state change occurrence source, in order to notify the notification destination of instruction information for controlling the processing of the notification destination together with the state change information, By notifying the instruction information not to execute, processing at the notification destination is not performed, and an increase in processing load due to status notification can be reduced.

通知手段は、挙動種別が、特定の時刻に偏って実行されやすいタスクであることを示す大域同期型であり、かつ通知先が通信可能である場合、通知先への状態変化情報の通知を回避する、又は状態変化情報を通知先に遅延して通知する、又は状態変化情報と共に通知先の通信を制御する指示情報を通知先に通知することとしてもよい。この構成によれば、例えば、複数の情報処理装置において、挙動種別が大域同期型であるタスクによって発生した状態変化が通知先に通知され、当該通知に基づいて通知先が処理を行う場合、当該処理が同時に行われることになり、通信集中の要因となる。この構成によれば、挙動種別が大域同期型であるタスクが状態変化の発生元であり、かつ通知先が通信可能である場合、通知先への状態変化情報の通知を回避することで通知先での通信が実行されず、又は状態変化情報を通知先に遅延して通知することで通知先での処理のタイミングが変わり、又は状態変化情報と共に通知先の通信を制御する指示情報を通知先に通知すること、例えば通信処理を実行しない旨の指示情報を通知することで通知先での通信処理が行われず、状態通知による通信集中を軽減することができる。   When the notification type is a global synchronization type indicating that the behavior type is a task that is likely to be executed at a specific time and the notification destination is communicable, notification of state change information to the notification destination is avoided. Alternatively, the state change information may be notified to the notification destination with delay, or the instruction information for controlling the communication of the notification destination may be notified to the notification destination together with the state change information. According to this configuration, for example, in a plurality of information processing devices, when a state change generated by a task whose behavior type is a global synchronization type is notified to the notification destination, and the notification destination performs processing based on the notification, Processing is performed at the same time, which causes communication concentration. According to this configuration, when a task whose behavior type is the global synchronization type is a state change occurrence source and the notification destination is communicable, the notification destination is avoided by avoiding notification of the state change information to the notification destination. The communication timing is not executed, or the status change information is delayed and notified to the notification destination, the processing timing at the notification destination changes, or the instruction information for controlling the communication at the notification destination is sent together with the status change information to the notification destination. For example, by notifying instruction information indicating that communication processing is not performed, communication processing at the notification destination is not performed, and communication concentration due to state notification can be reduced.

通知手段によって状態変化情報が通知先に通知された際に、通知先にて当該通知に基づいて通信が発生したか否かを通信履歴として保持する通信履歴保持手段を更に備え、通知手段は、通知先が通信可能であるか否かを通信履歴保持手段によって保持された通信履歴に基づいて決定することとしてもよい。この構成によれば、通知先が通信可能であるか否かを過去の通信履歴に基づいてより正確に判定することができる。   When the state change information is notified to the notification destination by the notification unit, the notification unit further includes a communication history holding unit that holds, as a communication history, whether or not communication has occurred based on the notification at the notification destination. Whether or not the notification destination is communicable may be determined based on the communication history held by the communication history holding means. According to this configuration, it is possible to more accurately determine whether the notification destination is communicable based on the past communication history.

通知手段は、挙動種別が、特定の時刻に偏って実行されやすいタスクであることを示す大域同期型であり、かつ、当該状態変化が予め制御の対象外として指定されたもの及び通知先が予め制御の対象外として指定されたものの少なくとも一方に該当する場合、状態変化情報を通知先に通知することとしてもよい。この構成により、例えば、通知を行っても通知先で通信が発生しないことが分かっている状態変化を予め制御の対象外として指定しておくことで、当該タスクが大域同期型であっても状態変化情報が通知先に通知されるため、従来装置での挙動を前提としたタスクでも動作させることができる。また、この構成により、例えば、通知を行っても通知先で通信が発生しないことが分かっている通知先のタスクを予め制御の対象外として指定しておくことで、当該タスクが大域同期型であっても状態変化情報が通知され、通知先タスクでは通信の発生しない処理しか実行されないため、従来装置での挙動を前提としたタスクでも動作させることができる。   The notification means is a global synchronization type indicating that the behavior type is a task that is likely to be executed with a bias toward a specific time, and that the state change is designated in advance as being out of control and the notification destination is in advance In the case where it corresponds to at least one of those designated as non-control targets, the state change information may be notified to the notification destination. With this configuration, for example, by specifying in advance a state change that is known to cause no communication at the notification destination even if notification is made, even if the task is a global synchronous type, Since the change information is notified to the notification destination, it is possible to operate even a task based on the behavior of the conventional apparatus. In addition, with this configuration, for example, by specifying a notification destination task that is known not to cause communication at the notification destination even if notification is made, the task is designated as a global synchronous type. Even in such a case, since the state change information is notified and only a process that does not cause communication is executed in the notification destination task, it is possible to operate even a task based on the behavior in the conventional apparatus.

取得手段は、検知手段によって検知された状態変化の発生元であるタスクについて、当該タスクの実行を予約した時刻が実時間を基準にした絶対時刻である場合、当該挙動種別を、特定の時刻に偏って実行されやすいタスクであることを示す大域同期型として取得することとしてもよい。この構成により、挙動種別が大域同期型であるか否かの判定がより具体化される。   When the time at which the execution of the task is reserved is an absolute time based on the real time for the task that is the source of the state change detected by the detection unit, the acquisition unit sets the behavior type to a specific time. It may be acquired as a global synchronization type indicating that the task is biased and easily executed. With this configuration, the determination as to whether or not the behavior type is the global synchronization type is made more specific.

通知手段は、取得手段によって状態変化の発生元であるタスクの挙動種別が取得できず、かつ、検知手段によって検知された当該状態変化が予め設定されている状態変化に該当する場合、当該タスクの挙動種別を、特定の時刻に偏って実行されやすいタスクであることを示す大域同期型とすることとしてもよい。この構成により、取得手段によって挙動種別が取得できない場合でも適切に挙動種別を決定することができる。   The notification means cannot acquire the behavior type of the task that is the source of the state change by the acquisition means, and if the state change detected by the detection means corresponds to a preset state change, The behavior type may be a global synchronization type indicating that the task is likely to be executed at a specific time. With this configuration, even when the behavior type cannot be acquired by the acquisition unit, the behavior type can be appropriately determined.

通知手段は、検知手段によって検知された状態変化に関する状態変化情報を通知先に通知する既存通知手段と、検知手段によって検知された状態変化に関する状態変化情報の通知先への通知方法を、取得手段によって取得された当該状態変化の発生元であるタスクの挙動種別に基づいて決定し、決定された通知方法に基づいて既存通知手段による通知を制御する通知制御手段と、から構成されることとしてもよい。この構成により、既存通知手段を備える既存の情報処理装置においても、容易に本発明を適用することができる。   The notifying means acquires an existing notifying means for notifying the notification destination of state change information related to the state change detected by the detecting means, and a notifying method for notifying of the state change information related to the state change detected by the detecting means. And a notification control unit that determines based on the behavior type of the task that is the source of the state change acquired by the control method, and controls notification by the existing notification unit based on the determined notification method. Good. With this configuration, the present invention can be easily applied to an existing information processing apparatus including an existing notification unit.

ところで、本発明は、上記のように情報処理装置の発明として記述できる他に、以下のように状態通知方法及び状態通知プログラムの発明としても記述することができる。これはカテゴリが異なるだけで、実質的に同一の発明であり、同様の作用及び効果を奏する。   By the way, the present invention can be described as an invention of an information processing apparatus as described above, and can also be described as an invention of a status notification method and a status notification program as follows. This is substantially the same invention only in different categories, and has the same operations and effects.

即ち、本発明に係る状態通知方法は、状態変化に関する状態変化情報を通知先に通知する情報処理装置により実行される状態通知方法であって、タスクによって発生した状態変化を検知する検知ステップと、検知ステップにおいて検知された状態変化の発生元であるタスクの挙動種別を取得する取得ステップと、検知ステップにおいて検知された状態変化に関する状態変化情報の通知先への通知方法を、取得ステップにおいて取得された当該状態変化の発生元であるタスクの挙動種別に基づいて決定し、決定された通知方法に基づいて当該状態変化情報を通知先に通知する通知ステップと、を含むことを特徴とする。   That is, the state notification method according to the present invention is a state notification method executed by the information processing apparatus that notifies the notification destination of state change information related to a state change, and detects a state change caused by a task, An acquisition step for acquiring the behavior type of the task that is the source of the state change detected in the detection step, and a notification method to the notification destination of the state change information regarding the state change detected in the detection step are acquired in the acquisition step. And a notification step of determining based on the behavior type of the task that is the generation source of the state change and notifying the state of the state change information based on the determined notification method.

また、本発明に係る状態通知プログラムは、コンピュータを、タスクによって発生した状態変化を検知する検知手段と、検知手段によって検知された状態変化の発生元であるタスクの挙動種別を取得する取得手段と、検知手段によって検知された状態変化に関する状態変化情報の通知先への通知方法を、取得手段によって取得された当該状態変化の発生元であるタスクの挙動種別に基づいて決定し、決定された通知方法に基づいて当該状態変化情報を通知先に通知する通知手段、として機能させることを特徴とする。   Further, the state notification program according to the present invention includes a detection unit that detects a state change caused by a task, and an acquisition unit that acquires a behavior type of the task that is the source of the state change detected by the detection unit. The notification method for determining the notification method of the state change information related to the state change detected by the detecting unit is determined based on the behavior type of the task that is the source of the state change acquired by the acquiring unit, and the determined notification It is characterized by functioning as notifying means for notifying the destination of the state change information based on the method.

本発明によれば、状態通知による処理負荷の上昇を軽減することができる。   According to the present invention, an increase in processing load due to state notification can be reduced.

本発明の実施形態に係る情報処理システムの全体構成を示す図である。1 is a diagram illustrating an overall configuration of an information processing system according to an embodiment of the present invention. 本発明の実施形態に係る情報処理装置のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the information processing apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る情報処理装置が実現する機能構成を示すブロック図である。It is a block diagram which shows the function structure which the information processing apparatus which concerns on embodiment of this invention implement | achieves. 本発明の実施形態に係る情報処理装置で実行される処理(状態通知方法)を示すフローチャートである。It is a flowchart which shows the process (status notification method) performed with the information processing apparatus which concerns on embodiment of this invention. 従来装置においてタスクの処理が実行されるタイミングを示す図である。It is a figure which shows the timing with which the process of a task is performed in the conventional apparatus. 本発明の実施形態に係る情報処理装置においてタスクの処理が実行されるタイミングを示す図である。It is a figure which shows the timing when the process of a task is performed in the information processing apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る状態通知プログラムの構成を記憶媒体と共に示す図である。It is a figure which shows the structure of the status notification program which concerns on embodiment of this invention with a storage medium. 挙動種別テーブルの一例を示すテーブル図である。It is a table figure which shows an example of a behavior classification table. 受取通知種別テーブルの一例を示すテーブル図である。It is a table figure which shows an example of a receipt notification classification table. 本発明の実施形態に係る情報処理装置で実行される処理(状態通知方法)の基本形を示すフローチャートである。It is a flowchart which shows the basic form of the process (status notification method) performed with the information processing apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る情報処理装置においてタスクの処理が実行されるタイミングを示す図である。It is a figure which shows the timing when the process of a task is performed in the information processing apparatus which concerns on embodiment of this invention. 本発明の実施形態の変形例に係る情報処理装置が実現する機能構成を示すブロック図である。It is a block diagram which shows the function structure which the information processing apparatus which concerns on the modification of embodiment of this invention implement | achieves.

以下、本発明の実施形態に係る情報処理システムについて説明する。   Hereinafter, an information processing system according to an embodiment of the present invention will be described.

[構成]
図1は、本発明の実施形態に係る情報処理システム1の全体構成を示す図である。情報処理システム1は、情報処理装置10と、ネットワーク2と、サーバ装置20とを具備する。
[Constitution]
FIG. 1 is a diagram showing an overall configuration of an information processing system 1 according to an embodiment of the present invention. The information processing system 1 includes an information processing device 10, a network 2, and a server device 20.

情報処理装置10は、CPU(Central Processing Unit)を備えて情報を処理する装置である。情報処理装置10は、移動体通信や無線LANの規格等に基づいて無線通信を行う。ネットワーク2は、移動体通信網及びインターネット等を含む通信回線である。ネットワーク2には、サーバ装置20が接続されており、また、情報処理装置10が無線通信を行っているときにはその情報処理装置10も接続される。サーバ装置20は、ネットワーク2を介して、情報処理装置10と通信を行う装置である。   The information processing apparatus 10 includes a CPU (Central Processing Unit) and processes information. The information processing apparatus 10 performs wireless communication based on mobile communication, wireless LAN standards, and the like. The network 2 is a communication line including a mobile communication network and the Internet. A server device 20 is connected to the network 2, and when the information processing device 10 is performing wireless communication, the information processing device 10 is also connected. The server device 20 is a device that communicates with the information processing device 10 via the network 2.

図2は、情報処理装置10のハードウェア構成を示すブロック図である。情報処理装置10は、制御装置11と、音声入出力装置12と、通信装置13と、操作装置14と、表示装置15と、記憶装置16と、電源制御装置17とを備える。   FIG. 2 is a block diagram illustrating a hardware configuration of the information processing apparatus 10. The information processing apparatus 10 includes a control device 11, a voice input / output device 12, a communication device 13, an operation device 14, a display device 15, a storage device 16, and a power supply control device 17.

制御装置11は、CPU、ROM(Read Only Memory)、RAM(Random Access Memory)を有するマイクロプロセッサとリアルタイムクロックとを備えている。CPUは、RAMをワークエリアとして用いてROMや記憶装置16に記憶されたプログラムを実行することによって、情報処理装置10が備える各装置の動作を制御する。このように、制御装置11は、情報処理装置10を制御するコンピュータである。リアルタイムクロックは、現在の日時を算出する機能を有している。   The control device 11 includes a microprocessor having a CPU, a ROM (Read Only Memory), and a RAM (Random Access Memory), and a real time clock. The CPU controls the operation of each device included in the information processing device 10 by executing a program stored in the ROM or the storage device 16 using the RAM as a work area. As described above, the control device 11 is a computer that controls the information processing device 10. The real time clock has a function of calculating the current date and time.

音声入出力装置12は、スピーカ、マイクロホン及び音声処理回路等を有し、通話等の音声の入出力を行う。   The voice input / output device 12 includes a speaker, a microphone, a voice processing circuit, and the like, and inputs and outputs voice such as calls.

通信装置13は、信号の発信及び受信を行うアンテナと、移動体通信及び無線LANの規格に基づいて無線通信を行うための通信回路とを備え、ネットワーク2を介してサーバ装置20と通信を行う通信手段である。通信装置13は、制御装置11とデータをやり取りし、制御装置11は、通信装置13を介してサーバ装置20とデータをやり取りする。   The communication device 13 includes an antenna for transmitting and receiving signals, and a communication circuit for performing wireless communication based on mobile communication and wireless LAN standards, and communicates with the server device 20 via the network 2. It is a communication means. The communication device 13 exchanges data with the control device 11, and the control device 11 exchanges data with the server device 20 via the communication device 13.

操作装置14は、例えば表示装置15に重ねて設けられたタッチスクリーンと物理キーとを有し、ユーザの操作に応じた操作信号を制御装置11に供給する。制御装置11は、この操作信号に応じた処理を行う。   The operation device 14 includes, for example, a touch screen and a physical key provided to overlap the display device 15, and supplies an operation signal corresponding to a user operation to the control device 11. The control device 11 performs processing according to the operation signal.

表示装置15は、表示面を有するLCD(Liquid Crystal Display)等の表示手段であり、制御装置11からの指示に応じて、記憶装置16に記憶されているデータが示す画像等を表示面に表示する。   The display device 15 is a display unit such as an LCD (Liquid Crystal Display) having a display surface, and displays an image or the like indicated by data stored in the storage device 16 on the display surface in response to an instruction from the control device 11. To do.

記憶装置16は、例えばEEPROM(Electronically Erasable and Programmable ROM)やフラッシュメモリ等の記憶手段であり、制御装置11が制御に用いるデータやプログラム等を記憶している。また、記憶装置16は、情報処理装置10において用いられる閾値等の定められた数値を示すデータを記憶している。   The storage device 16 is a storage means such as an EEPROM (Electronically Erasable and Programmable ROM) or a flash memory, and stores data, programs, and the like used for control by the control device 11. In addition, the storage device 16 stores data indicating a predetermined numerical value such as a threshold value used in the information processing device 10.

なお、記憶装置16は、リムーバブルメディア等の着脱可能な記憶手段を含んでもよいし、UIM(User Identity Module)カードやSIM(Subscriber Identity Module)カードのような、ユーザ(又は情報処理装置10)を識別するためのデータが記録された記憶手段を含んでもよい。また、このユーザ(又は情報処理装置10)を識別するためのデータが外部サーバに記憶されていて、情報処理装置10がこれを通信により取得する構成であってもよい。   The storage device 16 may include a removable storage means such as a removable medium, or a user (or information processing device 10) such as a UIM (User Identity Module) card or a SIM (Subscriber Identity Module) card. A storage unit in which data for identification is recorded may be included. Moreover, the data for identifying this user (or information processing apparatus 10) are memorize | stored in the external server, and the structure which the information processing apparatus 10 acquires by communication may be sufficient.

電源制御装置17は、バッテリーの残量や外部からの電源供給を監視するとともに、バッテリーの充電状態等を制御する。   The power control device 17 monitors the remaining amount of the battery and the external power supply, and controls the state of charge of the battery.

以上の構成を有する情報処理装置10は、例えばスマートフォンであるが、携帯電話端末やタブレット端末、パーソナルコンピュータ、PDA(Personal Digital Assistant)等の、複数のプログラムを実行する情報処理装置であればよい。また情報処理装置10は、上記構成以外にも、所定時間継続してユーザの操作が行われなかった場合に省電力モードに移行する機能を実現するための構成等、汎用のスマートフォンと同等の構成を有している。情報処理装置10が省電力モードであるときには、表示装置15の表示領域は消灯した状態となるが、その状態においても制御装置11は処理を実行する稼働状態であってもよい。また、情報処理装置10は、バイブレータや情報処理装置10の傾きを検出するための加速度センサ等、各種センサを備えてもよい。   The information processing apparatus 10 having the above configuration is, for example, a smartphone, but may be any information processing apparatus that executes a plurality of programs such as a mobile phone terminal, a tablet terminal, a personal computer, and a PDA (Personal Digital Assistant). In addition to the above configuration, the information processing apparatus 10 has a configuration equivalent to a general-purpose smartphone, such as a configuration for realizing a function of shifting to a power saving mode when a user operation is not performed continuously for a predetermined time. have. When the information processing device 10 is in the power saving mode, the display area of the display device 15 is turned off, but the control device 11 may be in an operating state in which processing is performed even in this state. In addition, the information processing apparatus 10 may include various sensors such as a vibrator and an acceleration sensor for detecting the inclination of the information processing apparatus 10.

情報処理装置10は、上述したハードウェア構成に基づき、例えば、あるプログラムの処理により表示装置15の表示領域が消灯した状態へ変化する等の装置内における状態変化や、通信装置13を介してサーバ装置20からの通信を受信した等の外部からの要因による装置の状態変化が発生した際に、装置の状態をアプリ、又はアプリに含まれる任意のタスクに対し通知する。なお、以降の説明では、アプリ及びタスクを統一してタスクと記載する。タスクと記載した場合、アプリ及びタスクの何れか一方あるいは両方を示す。通知を受けたタスクは必要に応じて処理を実行する。つまり、当該通知は通知先の振る舞いの契機となる。このような装置の状態変化に応じて通知する処理を、以下では「状態通知処理」という。   Based on the above-described hardware configuration, the information processing apparatus 10 is a server that changes the state in the apparatus, for example, the display area of the display apparatus 15 changes to a turned off state by processing of a certain program, or the communication apparatus 13. When a change in the state of the apparatus due to an external factor such as reception of communication from the apparatus 20 occurs, the state of the apparatus is notified to an application or an arbitrary task included in the application. In the following description, apps and tasks are unified and described as tasks. When described as a task, it indicates either or both of an application and a task. The task that receives the notification executes processing as necessary. In other words, the notification triggers the behavior of the notification destination. The process of notifying in response to such a change in the state of the apparatus is hereinafter referred to as “state notification process”.

装置内における状態変化には、表示装置15の表示領域の点灯や消灯の他に、電源制御装置17で監視しているバッテリーの残量や外部電源供給の有無等の状態における変化や、記憶装置16における着脱可能な記憶手段の着脱状態における変化や、記憶されているアプリの追加や削除等の情報処理装置10の内部で発生する状態変化を含めてもよい。   The state change in the device includes the change in the state of the remaining battery level monitored by the power supply control device 17 and the presence / absence of external power supply, in addition to turning on and off the display area of the display device 15, and the storage device. 16 may include a change in the attach / detach state of the removable storage unit 16 or a change in the state that occurs inside the information processing apparatus 10 such as addition or deletion of a stored application.

また、外部からの要因による装置の状態変化には、サーバ装置20からの通信の受信の他に、操作装置14が備える物理キー等への操作による状態変化や、情報処理装置10の傾きをユーザが変化させることによる加速度センサ等の測定結果の状態変化を含めてもよい。   In addition to the reception of communication from the server device 20, the state change of the device due to external factors includes the state change due to an operation on a physical key or the like provided in the operation device 14, and the inclination of the information processing device 10. The change in the state of the measurement result of the acceleration sensor or the like due to the change in the angle may be included.

情報処理装置10は、事前にタスクが通知を受けたい状態変化の種類(以下では「受取通知種別」という)についての指定を記憶しており、状態変化が発生した際には、該当する状態変化の通知を指定しているタスク(以下では「通知先タスク」という)に対して通知を行う。これにより、タスクは不要な通知について処理が必要かどうかの判定処理を行う必要がない。通知先タスクが複数ある場合、全ての通知先タスクに一斉に状態変化を通知する方法と、事前に指定された優先順位に基づき各通知先タスクに順序付けて通知を行う方法とがあり、何れの方法を用いるかは状態変化の種類に応じて決定される。なお、優先順位は事前に静的に決定されたものに限らず、通知先タスクでの処理が完了するまでの時間の長さや、発生した通信量など通知先タスクの状態に応じて動的に決定しても良い。なお、通知先タスクも通知元と同様に、各アプリまたは各アプリに含まれる1つ以上の各タスクを識別する情報であるタスク識別子に対応した属性情報に含まれる通信種別を持っている。具体的には、通知先タスクのタスク識別子に対応した属性情報に含まれる通信種別には、状態変化の通知を受けることにより通信が発生する/しないの情報が含まれる。   The information processing apparatus 10 stores in advance designation of the type of state change that the task wants to receive notification (hereinafter referred to as “reception notification type”), and when the state change occurs, the corresponding state change Is notified to a task for which notification is specified (hereinafter referred to as “notification destination task”). This eliminates the need for the task to determine whether or not processing is required for unnecessary notifications. When there are multiple notification destination tasks, there are a method of notifying all the notification destination tasks of the status change at once, and a method of giving notifications to each notification destination task in order based on the priorities specified in advance. Whether to use the method is determined according to the type of state change. Note that the priority order is not limited to statically determined in advance, but dynamically depending on the status of the notification destination task, such as the length of time until the processing of the notification destination task is completed and the amount of communication that has occurred. You may decide. The notification destination task also has a communication type included in attribute information corresponding to a task identifier that is information for identifying each application or one or more tasks included in each application, in the same manner as the notification source. Specifically, the communication type included in the attribute information corresponding to the task identifier of the notification destination task includes information indicating whether or not communication occurs due to the notification of the state change.

ここで、タスクに含まれる属性情報について説明を補足する。タスクに含まれる属性情報は、当該タスクのタスク識別子に対応付けられて記憶部102等により記憶される。属性情報には、挙動種別、受取通知種別、優先度、及び通信種別を含む。なお、属性情報には、優先度及び通信種別の何れか一方あるいは両方が含まれていなくてもよい。   Here, a supplementary explanation of the attribute information included in the task is provided. The attribute information included in the task is stored in the storage unit 102 or the like in association with the task identifier of the task. The attribute information includes a behavior type, a receipt notification type, a priority, and a communication type. Note that the attribute information may not include either one or both of the priority and the communication type.

以上の通り、タスクは各々通知しあう関係にある。タスクは、他のタスクや端末の外部から通知を受けると共に、他のタスクや端末の外部に通知を行うことができる。   As described above, the tasks have a relationship of notifying each other. The task can be notified from the outside of other tasks and terminals, and can be notified to the outside of other tasks and terminals.

情報処理装置10においては、特定の時刻に開始される処理(以下では「特定時刻処理」という)や、通信網を通じて一斉に配信される情報を受取ること(以下では「同報受信」という)により、状態変化が対応する通知先タスクに通知されて集中して実行されることになる。情報処理装置10は、そのように集中して実行される通知先タスクの処理を分散させるための処理を行う。情報処理装置10は、上述した各特定時刻処理と通知先タスクの処理とをそれぞれ実行するための複数のプログラム(状態通知プログラム)を記憶装置16に記憶している。制御装置11がこれらのプログラムを実行して図2に示す各装置を制御することで、図3に示す機能が実現される。   The information processing apparatus 10 receives a process started at a specific time (hereinafter referred to as “specific time process”) or receives information distributed all at once through a communication network (hereinafter referred to as “broadcast reception”). The state change is notified to the corresponding notification destination task and executed in a concentrated manner. The information processing apparatus 10 performs processing for distributing the processing of the notification destination task that is executed in such a concentrated manner. The information processing apparatus 10 stores a plurality of programs (state notification programs) for executing the above-described specific time processing and notification destination task processing in the storage device 16. The control device 11 executes these programs and controls each device shown in FIG. 2, thereby realizing the function shown in FIG.

図3は、情報処理装置10が実現する機能構成を示すブロック図である。情報処理装置10は、検知部101(検知手段)と、通知部103(取得手段、通知手段)と、記憶部102(取得手段)とを備える。   FIG. 3 is a block diagram illustrating a functional configuration realized by the information processing apparatus 10. The information processing apparatus 10 includes a detection unit 101 (detection unit), a notification unit 103 (acquisition unit, notification unit), and a storage unit 102 (acquisition unit).

検知部101は、装置内や外部要因による装置の状態変化等、タスクによって発生した状態変化を検知する検知手段である。検知部101は、例えば、制御装置11、音声入出力装置12、通信装置13、操作装置14及び電源制御装置17が協働して実現する機能である。検知部101は、具体的には、次の方法でこれらの状態変化を検知する。   The detection unit 101 is a detection unit that detects a state change caused by a task, such as a state change of the device due to an internal factor or an external factor. The detection unit 101 is a function realized by the control device 11, the voice input / output device 12, the communication device 13, the operation device 14, and the power supply control device 17, for example. Specifically, the detection unit 101 detects these state changes by the following method.

制御装置11には、外部からの音声入力や外部への音声出力が発生することで音声入出力装置12から入出力状態を通知する信号が供給される。制御装置11(検知部101)は、この通知された信号に基づき、例えば、音声の出力が無音状態から何らかの音声が再生されている状態に変化したことを検出する。   The control device 11 is supplied with a signal for notifying the input / output state from the voice input / output device 12 when a voice input from the outside or a voice output to the outside is generated. Based on this notified signal, the control device 11 (detection unit 101) detects, for example, that the sound output has changed from a silent state to a state in which some sound is being reproduced.

なお、音声入出力装置12は情報処理装置10に対して、音声入出力用の外部装置が接続可能な構成において、外部装置の接続状態を通知する信号を制御装置11に供給してもよい。この場合において、制御装置11(検知部101)は、例えば外部装置が未接続状態から接続状態に変化したことを検出する。   Note that the voice input / output device 12 may supply the control device 11 with a signal notifying the connection state of the external device in a configuration in which an external device for voice input / output can be connected to the information processing device 10. In this case, the control device 11 (detection unit 101) detects that the external device has changed from an unconnected state to a connected state, for example.

また、制御装置11には、外部からの通信を受信する通信装置13から通信状態を通知する信号が供給される。制御装置11(検知部101)は、この通知された信号に基づき、例えば、通信不可能な状態から通信可能な状態に変化したことを検出する。   The control device 11 is supplied with a signal for notifying the communication state from the communication device 13 that receives communication from the outside. Based on this notified signal, the control device 11 (detection unit 101) detects, for example, that the communication has changed from an incommunicable state to a communicable state.

通信状態として、その他に、サーバ装置20を経由して通信網から特定のデータを受信した状態が発生したことを制御装置11(検知部101)は検知してもよい。これは、例えば、電子メールの受信や音声入出力装置12を用いた音声通話の開始指示の受信である。   In addition, as a communication state, the control device 11 (detection unit 101) may detect that a state in which specific data is received from the communication network via the server device 20 has occurred. This is, for example, reception of an e-mail or reception of a voice call start instruction using the voice input / output device 12.

また、制御装置11には、ユーザにより操作された操作装置14から操作信号が供給される。制御装置11(検知部101)は、この通知された信号に基づき、例えば、情報処理装置10に備え付けられた特定のボタンが非押下状態から押下状態へと変化したことを検出する。   The control device 11 is supplied with an operation signal from the operation device 14 operated by the user. Based on this notified signal, the control device 11 (detection unit 101) detects, for example, that a specific button provided in the information processing device 10 has changed from a non-pressed state to a pressed state.

なお、物理的なボタンに限らず、タッチセンサーへの接触や、タッチパネル上における特定操作の入力を検出してもよい。   In addition, not only a physical button but the touch to a touch sensor and the input of specific operation on a touch panel may be detected.

また、制御装置11には、電源の状態を監視する電源制御装置17から電源状態を通知する信号が供給される。制御装置11(検知部101)は、この通知された信号に基づき、例えば、情報処理装置10がバッテリーを備える構成において、バッテリーが充電状態から放電状態へと変化したことを検出する。この他、外部電源への接続状態が変化したことや、バッテリーの残量が変化したことを制御装置11(検知部101)は検出してもよい。   Further, the control device 11 is supplied with a signal for notifying the power supply state from the power supply control device 17 that monitors the power supply state. Based on this notified signal, the control device 11 (detection unit 101) detects that the battery has changed from a charged state to a discharged state, for example, in a configuration in which the information processing device 10 includes a battery. In addition, the control device 11 (detection unit 101) may detect that the connection state to the external power source has changed or that the remaining battery level has changed.

制御装置11(検知部101)は、制御装置11内でタスクのプログラムを実行したことにより発生した状態変化、例えば、通信処理の開始や表示領域の点灯等について、状態変化を引き起こしたタスクを判別する。情報処理装置10において、例えば、予めユーザが設定した時刻において表示領域を点灯するとともにアラーム音を発生することで、設定時刻となった旨を通知する機能を持つアラームタスクをタイマーアプリが含んでおり、表示領域の点灯がアラームタスクによってなされたものであれば、検知した状態変化に対し、その状態変化の発生要因となったタスクがタイマーアプリに含まれるアラームタスクであることを制御装置11(検知部101)は検知する。   The control device 11 (detection unit 101) discriminates the task that caused the state change with respect to the state change caused by executing the task program in the control device 11, for example, the start of communication processing or the lighting of the display area. To do. In the information processing apparatus 10, for example, the timer application includes an alarm task having a function of notifying that the set time has been reached by turning on the display area at a time set in advance by the user and generating an alarm sound. If the display area is lit by an alarm task, the controller 11 (detects that the task that caused the state change is an alarm task included in the timer application in response to the detected state change. Part 101) detects.

以上の通り、検知部101は装置内や外部要因による装置の状態変化を検知する。   As described above, the detection unit 101 detects a change in the state of the apparatus due to internal or external factors.

記憶部102は、各タスクの受取通知種別を記憶する記憶手段である。記憶部102は、例えば、制御装置11及び記憶装置16が協働して実現する機能である。記憶部102は、具体的には、次の方法でこれらの受取通知種別を記憶する。   The storage unit 102 is a storage unit that stores the receipt notification type of each task. For example, the storage unit 102 is a function realized by the control device 11 and the storage device 16 in cooperation. Specifically, the storage unit 102 stores these receipt notification types by the following method.

情報処理装置10において、新たなタスクがインストールされた時点で、制御装置11はタスクに含まれる属性情報に基づいて、受取通知種別と、優先度と、各タスクの処理が複数の情報処理装置10において特定の時刻に偏って実行されやすいかどうかを示す挙動種別とを判断する。挙動種別として、複数の情報処理装置10において特定の時刻に偏って実行されやすいタスクであることを示す情報(以下では「大域同期型」という)や、複数の情報処理装置10において分散された時刻で実行されやすいタスクであることを示す情報(以下では「大域非同期型」という)がある。大域同期型であるタスクとしては、例えば、データを同期するために毎日0時にサーバ装置20と通信するように指定されたタスクや、サーバ装置20から複数の情報処理装置10に対して一斉に同報された通知を受取るタスクがある。一方で、大域非同期型であるタスクとしては、ユーザが情報処理装置10の操作を開始し、操作装置14における状態変化を受けて動作を開始するタスクや、データを同期するために乱数を用いて生成した時刻においてサーバ装置20と通信するように指定されたタスクがある。   In the information processing apparatus 10, when a new task is installed, the control apparatus 11 has a plurality of information processing apparatuses 10 that receive notification types, priorities, and processes for each task based on attribute information included in the task. The behavior type indicating whether it is likely to be executed at a specific time is determined. Information indicating that the task is a task that is likely to be executed biased to a specific time in a plurality of information processing devices 10 as a behavior type (hereinafter referred to as “global synchronization type”), or times distributed in the plurality of information processing devices 10 There is information (hereinafter referred to as “global asynchronous type”) indicating that the task is easy to be executed. Examples of tasks that are of the global synchronization type include a task designated to communicate with the server device 20 at 0:00 every day to synchronize data, and a plurality of information processing devices 10 simultaneously from the server device 20. There is a task that receives a notified notification. On the other hand, as a task that is a global asynchronous type, a user starts an operation of the information processing device 10 and starts an operation in response to a state change in the operation device 14, or a random number is used to synchronize data. There is a task designated to communicate with the server device 20 at the generated time.

なお、挙動種別は大域同期型、大域非同期型の2種類以外に、情報処理装置10内において、あるタスクの挙動により同期して実行されるタスクを端末内同期型として区別してもよい。   In addition to the two types of behavior, the global synchronous type and the global asynchronous type, in the information processing apparatus 10, a task that is executed synchronously according to the behavior of a certain task may be distinguished as an intra-terminal synchronous type.

記憶装置16(記憶部102)には、タスク識別子と、挙動種別とを対応付けたテーブル(以下では「挙動種別テーブル」という)、および、タスク識別子と、受取通知種別と、優先度とを対応付けたテーブル(以下では「受取通知種別テーブル」という)が記憶されており、制御装置11は判断したタスク識別子と挙動種別を挙動種別テーブルに追加するとともに、受取通知種別と優先度とタスク識別子を受取通知種別テーブルに追加する。なお、受取通知種別テーブルには、優先度が対応付いてなくてもよい。   The storage device 16 (storage unit 102) corresponds to a table in which task identifiers and behavior types are associated (hereinafter referred to as “behavior type table”), task identifiers, receipt notification types, and priorities. The attached table (hereinafter referred to as “reception notification type table”) is stored, and the control device 11 adds the determined task identifier and behavior type to the behavior type table, and also receives the reception notification type, priority, and task identifier. Add to receipt notification type table. The receipt notification type table may not be associated with the priority.

また、アプリがアンインストールされた場合は、対応するタスク識別子等の保持情報を挙動種別テーブル、および受取通知種別テーブルから削除する。   When the application is uninstalled, the holding information such as the corresponding task identifier is deleted from the behavior type table and the receipt notification type table.

なお、受取通知種別テーブルはアプリのインストールやアンインストール時に限って更新されるものではなく、実行中のタスクから随時、受取通知種別の追加や変更、削除を行ってもよい。これにより、タスクは不要な通知を受け取らずに済み、処理負荷の低減が図れる。   The receipt notification type table is not updated only when an application is installed or uninstalled, and the receipt notification type may be added, changed, or deleted at any time from the task being executed. As a result, the task does not receive unnecessary notifications, and the processing load can be reduced.

また、同様に実行中のタスクから随時、挙動種別の変更を行ってもよい。   Similarly, the behavior type may be changed at any time from the task being executed.

以上の通り、記憶部102は各タスクの受取通知種別を記憶する。   As described above, the storage unit 102 stores the receipt notification type of each task.

また、タスク識別子について説明を補足する。複数のアプリについて、それぞれに同一の処理を行うタスク(例えば、画面表示を行うタスク)があった場合でも、それぞれのタスクは異なるタスク識別子を持つ。すなわち、複数のタスクにおいて同一のタスク識別子は存在しない。   Further, a supplementary explanation will be given for the task identifier. Even if there are tasks for performing the same processing (for example, tasks for performing screen display) for a plurality of applications, each task has a different task identifier. That is, the same task identifier does not exist in a plurality of tasks.

図8に、挙動種別テーブルの一例を示す。図8に示す挙動種別テーブルでは、タスク識別子と挙動種別とが対応付いて記憶されている。なお、挙動種別テーブルは、アプリ単位ではなくタスク単位でのみ挙動種別を管理してもよい。   FIG. 8 shows an example of the behavior type table. In the behavior type table shown in FIG. 8, task identifiers and behavior types are stored in association with each other. Note that the behavior type table may manage the behavior type only in units of tasks, not in units of applications.

図9に、受取通知種別テーブルの一例を示す。図9に示す受取通知種別テーブルでは、タスク識別子と受取通知種別とが対応付いて記憶されている。図9に示す通り、受取通知種別として、事前にタスクが通知を受けたい状態変化を識別する情報や、事前にタスクが通知を受けたい状態変化の起因となるタスクを識別する情報(タスク識別子など)、及びそれらを組み合わせた情報などを記憶してもよい。   FIG. 9 shows an example of the receipt notification type table. In the receipt notification type table shown in FIG. 9, the task identifier and the receipt notification type are stored in association with each other. As shown in FIG. 9, information for identifying a state change that a task wants to receive in advance as a receipt notification type, and information for identifying a task that causes a state change that a task wants to receive in advance (such as a task identifier) ), And information obtained by combining them may be stored.

通知部103は、検知部101が検知した状態変化に関する状態変化情報をタスクに通知する通知手段である。当該通知がタスクの振る舞いの契機となる。通知部103は、例えば、制御装置11及び記憶装置16が協働して実現する機能である。   The notification unit 103 is a notification unit that notifies the task of state change information related to the state change detected by the detection unit 101. The notification triggers the task behavior. For example, the notification unit 103 is a function realized by the control device 11 and the storage device 16 in cooperation.

通知部103は、検知部101によって検知された状態変化の発生元であるタスクの挙動種別などの属性情報やタスク識別子など、タスクの情報を取得する取得部(不図示)を含んでいてもよい。そして、通知部103は、検知部101によって検知された状態変化に関する状態変化情報の通知先への通知方法を、取得部によって取得された当該状態変化の発生元であるタスクの挙動種別などの属性情報に基づいて決定し、決定された通知方法に基づいて当該状態変化情報を通知先に通知する。通知部103は、挙動種別が大域同期型である場合、通知先への状態変化情報の通知を回避してもよい。なお、本実施形態では、便宜上「状態変化情報の通知」を「状態変化の通知」として説明する場合がある。   The notification unit 103 may include an acquisition unit (not shown) that acquires task information such as attribute information such as a behavior type of a task that is a generation source of a state change detected by the detection unit 101 and a task identifier. . Then, the notification unit 103 sets the notification method of the state change information related to the state change detected by the detection unit 101 to the notification destination, such as the behavior type of the task that is the source of the state change acquired by the acquisition unit. The state change information is determined based on the information, and the state change information is notified to the notification destination based on the determined notification method. When the behavior type is a global synchronization type, the notification unit 103 may avoid notification of state change information to the notification destination. In the present embodiment, “notification of state change information” may be described as “notification of state change” for convenience.

通知部103は、具体的には、次の方法で状態変化を通知する。   Specifically, the notification unit 103 notifies the state change by the following method.

制御装置11(通知部103)は、検知部101により状態変化を検知すると、記憶部102に保持されている受取通知種別テーブルに基づいて、当該の状態変化を通知すべきタスクを判定し通知を行う。この際、通知先のタスクが複数である場合、制御装置11(通知部103)は、状態変化により、全てのタスクに対して一斉に通知を行うか、各タスクが受取通知種別を指定した際の優先度に基づいて逐次に通知を行うかの判断も併せて行う。   When detecting a state change by the detection unit 101, the control device 11 (notification unit 103) determines a task to be notified of the state change based on the receipt notification type table held in the storage unit 102 and notifies the notification. Do. At this time, when there are a plurality of notification destination tasks, the control device 11 (notification unit 103) notifies all the tasks all at once according to the state change, or when each task specifies the receipt notification type. It is also determined whether to perform notification sequentially based on the priorities.

一斉に通知を行う場合は、制御装置11(通知部103)により、優先度に関わらず全ての通知先タスクに対して同時に状態通知処理が行われる。逐次に通知を行う場合は、制御装置11(通知部103)により、全ての通知先タスクの優先度を比較し、最も高い優先度を持つ通知先タスクに対して通知が行われ、通知先タスクでの処理が完了した後に、次に高い優先度を持つ通知先タスクに対する通知が行われ、最終的には最も優先度の低い通知先タスクの処理が完了した時点で状態通知処理が完了する。なお、優先度が同等となる通知先タスクが複数存在する場合、制御装置11(通知部103)は、何れの通知先タスクを優先するかは事前に定めた条件に基づいて判定する。ただし、条件を定めずにどちらを優先するかが不定であってもよい。また、制御装置11(通知部103)は、優先度を明示的に指定せず、タスクの識別子や種別等の事前に定めた条件に基づいて優先度を付与してもよい。   When performing notification all at once, the control device 11 (notification unit 103) simultaneously performs state notification processing for all notification destination tasks regardless of priority. When the notification is performed sequentially, the priority of all the notification destination tasks is compared by the control device 11 (notification unit 103), the notification destination task having the highest priority is notified, and the notification destination task After completion of the process at, the notification destination task having the next highest priority is notified, and finally the state notification process is completed when the processing of the notification destination task with the lowest priority is completed. When there are a plurality of notification destination tasks having the same priority, the control device 11 (notification unit 103) determines which notification destination task has priority based on a predetermined condition. However, it may be indeterminate which is prioritized without setting conditions. Further, the control device 11 (notification unit 103) may assign priority based on a predetermined condition such as task identifier or type without explicitly specifying the priority.

なお、状態変化の発生要因がタスクのプログラム実行に伴うものであった場合、制御装置11(通知部103)は、発生要因となったタスクの挙動種別を挙動種別テーブルから取得し、状態通知処理を行うかどうか判断する。例えば、発生要因であるタスクが大域同期型である場合には通知部103は通知先タスクに状態通知処理を行わず、大域非同期型である場合には状態通知処理を行う。これにより、複数の情報処理装置10においてほぼ同一の時刻に状態通知処理が行われて通知先タスクが動作を開始してしまうことを防ぎ、サーバ装置20に対して一斉に通信処理が発生しないようにすることができる。   When the cause of the state change is accompanied by the task program execution, the control device 11 (notification unit 103) acquires the behavior type of the task that has caused the occurrence factor from the behavior type table, and performs state notification processing. Determine whether to do. For example, the notification unit 103 does not perform the state notification process on the notification destination task when the task that is the cause is the global synchronous type, and performs the state notification process when the task is the global asynchronous type. As a result, it is possible to prevent the status notification process from being performed at approximately the same time in the plurality of information processing apparatuses 10 and start the operation of the notification destination task, so that the communication process does not occur simultaneously for the server apparatus 20. Can be.

以上の通り、通知部103は状態変化をタスクに通知する。   As described above, the notification unit 103 notifies the task of a state change.

[動作]
以上の構成に基づき、情報処理装置10は、状態通知処理を行う。状態通知処理は、情報処理装置10の電源が投入され、状態通知処理を実行するためのプログラムが制御装置11により実行開始されて以降、他のタスクによる処理と並行して繰り返し行われる。
[Operation]
Based on the above configuration, the information processing apparatus 10 performs state notification processing. The status notification processing is repeatedly performed in parallel with the processing by other tasks after the information processing device 10 is turned on and a program for executing the status notification processing is started by the control device 11.

以下、図10を参照して、状態通知処理において情報処理装置10が行う動作の基本形について説明する。   Hereinafter, the basic form of the operation performed by the information processing apparatus 10 in the state notification process will be described with reference to FIG.

図10は、状態通知処理で情報処理装置10が行う動作の基本形の一例を示すフローチャートである。まず、情報処理装置10は、現在の端末状態を取得する(ステップS1)。情報処理装置10は、前回取得した端末状態と比較して、端末状態に変化がないと判断した場合には(ステップS2:NO)、所定の時間(例えば0.1秒)が経過したあとにステップS1の動作を再び行う。前回取得した端末状態から端末状態に変化がある場合には(ステップS2:YES)、端末状態の変化を発生させた要因がタスクに因るものであるかを判定する(ステップS3)。情報処理装置10は、ステップS3において端末状態の変化がタスクに因るものでない場合には(ステップS3:NO)、ステップS6−1へと進み、状態変化から受取通知種別を参照し、通知先タスクへの通知を行う。端末状態の変化がタスクに因るものである場合には(ステップS3:YES)、端末状態の変化を発生させたタスクのタスク識別子を取得する(ステップS4)。タスク識別子に対応する挙動種別を挙動種別テーブルから取得し、挙動種別が大域同期型である場合には(ステップS5:YES)、通知先タスクへの通知は行わずに処理を終了する(ステップS6−2)。挙動種別が大域同期型以外である場合には(ステップS5:NO)、前述のステップS6−1へ進む。   FIG. 10 is a flowchart illustrating an example of a basic form of an operation performed by the information processing apparatus 10 in the state notification process. First, the information processing apparatus 10 acquires the current terminal state (step S1). When the information processing apparatus 10 determines that there is no change in the terminal state as compared with the terminal state acquired last time (step S2: NO), after a predetermined time (for example, 0.1 second) has elapsed. The operation of step S1 is performed again. When there is a change in the terminal state from the previously acquired terminal state (step S2: YES), it is determined whether the factor causing the change in the terminal state is due to the task (step S3). If the change in the terminal state does not depend on the task in step S3 (step S3: NO), the information processing apparatus 10 proceeds to step S6-1, refers to the receipt notification type from the state change, and notifies the notification destination. Notify the task. If the change in the terminal state is due to the task (step S3: YES), the task identifier of the task that caused the change in the terminal state is acquired (step S4). The behavior type corresponding to the task identifier is acquired from the behavior type table, and if the behavior type is a global synchronization type (step S5: YES), the process ends without performing notification to the notification destination task (step S6). -2). If the behavior type is other than the global synchronization type (step S5: NO), the process proceeds to step S6-1.

続いて、図4を参照して、状態通知処理において情報処理装置10が行う別の動作について説明する。図4は、状態通知処理で情報処理装置10が行う動作の別の一例を示すフローチャートである。なお、ステップS1〜S5は図10と同様のため、説明を省略する。   Next, another operation performed by the information processing apparatus 10 in the state notification process will be described with reference to FIG. FIG. 4 is a flowchart illustrating another example of the operation performed by the information processing apparatus 10 in the state notification process. Steps S1 to S5 are the same as those in FIG.

図4において、ステップS3がNO、あるいはステップS5がNOの場合、状態変化の通知方法が一斉通知であるかを判定する(ステップS6)。情報処理装置10は、ステップS6において状態変化の通知方法が一斉通知である場合には(ステップS6:YES)、状態変化を受取通知種別として指定している通知先タスクに対して、一斉に状態変化の通知を行う(ステップS7)。また、ステップS6において状態変化の通知方法が一斉通知ではない場合には(ステップS6:NO)、まず、通知の対象となる通知先タスクのうちで優先度の最も高い通知先タスクに対して状態変化の通知を行う(ステップS8)。状態変化を受取通知種別として指定している通知先タスクのうち、状態変化の通知が完了していない通知先タスクがある場合には(ステップS9:NO)、既に通知が完了した通知先タスクを除いた通知先タスクを対象としてステップS8の動作を再び行う。状態変化を受取通知種別として指定している通知先タスクの全てに状態変化の通知が完了している場合には(ステップS9:YES)、処理を終了する。   In FIG. 4, when step S3 is NO or step S5 is NO, it is determined whether the notification method of a state change is simultaneous notification (step S6). When the notification method of the state change is simultaneous notification in step S6 (step S6: YES), the information processing apparatus 10 is in a state for all the notification destination tasks that specify the state change as the receipt notification type. A change is notified (step S7). In addition, when the notification method of the state change is not simultaneous notification in step S6 (step S6: NO), the state is first set for the notification destination task having the highest priority among the notification destination tasks to be notified. A change is notified (step S8). If there is a notification destination task for which the state change notification has not been completed among the notification destination tasks in which the state change is specified as the receipt notification type (step S9: NO), the notification destination task that has already been notified is selected. The operation of step S8 is performed again for the excluded notification destination task. When the notification of the state change is completed for all the notification destination tasks that specify the state change as the receipt notification type (step S9: YES), the process is terminated.

[効果]
情報処理装置10が上記の状態通知処理を実行した場合の、状態変化の発生要因となったタスクと通知先タスクの各処理が実行されるタイミングについて説明する。
[effect]
The timing at which each process of the task that has caused the state change and the notification destination task is executed when the information processing apparatus 10 executes the state notification process will be described.

図5、図6、図11は、各タスクの処理が実行されるタイミングを説明するための図である。図5、6及び11において、実線矢印は、タスクが実行中であることを示し、破線矢印は、状態変化が通知されていることを示す。状態通知処理において、状態変化がタスクに起因するもので、かつ、そのタスクが大域同期型である際においても通知を行う情報処理装置(これを従来装置という)は、タスクの実行に伴い端末状態が変化した際に図5に示すように通知を行い通知先タスクが実行される。   5, 6, and 11 are diagrams for explaining the timing at which the processing of each task is executed. 5, 6, and 11, a solid arrow indicates that a task is being executed, and a broken arrow indicates that a state change has been notified. In the state notification process, an information processing device that notifies even when the state change is caused by a task and the task is a global synchronization type (this is called a conventional device) Is changed, notification is performed as shown in FIG. 5 and the notification destination task is executed.

従来装置では時刻T1においてサーバ装置20からの通信U1を受け、通信を受け取ったタスクAP2が処理を開始する。タスクAP2の処理において、時刻T2では第1の状態変化を発生させ、時刻T3では第2の状態変化を発生させる。同様に、時刻T4においてサーバ装置20からの通信B1を受け、通信を受け取ったタスクAP1が処理を開始する。タスクAP1の処理において、時刻T5では第1の状態変化を発生させ、時刻T6では第2の状態変化を発生させる。また、タスクAP3は第1の状態変化、タスクAP4は第2の状態変化が発生したタイミングで実行される処理であり、事前に受取通知種別が指定されている。タスクAP3は第1の状態変化を通知された際に、サーバ装置20との通信を発生する処理を実行させ、時刻T2での通知を受け通信U2を、時刻T5での通知を受け通信U3を発生する。   In the conventional device, at time T1, the task AP2 that receives the communication U1 from the server device 20 starts processing. In the process of task AP2, the first state change is generated at time T2, and the second state change is generated at time T3. Similarly, at time T4, the task AP1 that receives the communication B1 from the server device 20 and receives the communication starts processing. In the process of task AP1, the first state change is generated at time T5, and the second state change is generated at time T6. The task AP3 is a process executed when the first state change occurs, and the task AP4 is a process executed when the second state change occurs, and the receipt notification type is designated in advance. When the task AP3 is notified of the first state change, the task AP3 executes processing for generating communication with the server device 20, receives the notification at the time T2, receives the communication U2 and receives the notification at the time T5, the communication U3. Occur.

なお、通信U1、U2、U3は単一の情報処理装置とサーバ装置20との間で行われる通信であり、通信B1は単一のサーバ装置20から複数の情報処理装置に対して行われる同報通信である。したがって、通信U1は複数の情報処理装置間では異なった時刻に為され、通信B1は複数の情報処理装置間で同一の時刻に為される事となる。   The communications U1, U2, and U3 are communications performed between a single information processing apparatus and the server apparatus 20, and the communications B1 are communications performed from a single server apparatus 20 to a plurality of information processing apparatuses. News communication. Accordingly, the communication U1 is performed at different times among the plurality of information processing apparatuses, and the communication B1 is performed at the same time among the plurality of information processing apparatuses.

タスクAP1は同報通信を行うため、大域同期型の挙動種別を付与される。タスクAP2、AP3、AP4は大域非同期型の挙動種別であるものとする。   The task AP1 is assigned a global synchronization type behavior type in order to perform broadcast communication. It is assumed that tasks AP2, AP3, and AP4 are global asynchronous behavior types.

従来装置においては、時刻T1にて通信U1を受けたタスクAP2が処理を開始し、この処理において時刻T2で第1の状態変化が発生すると、状態変化の通知S1がタスクAP3に通知され処理が実行される。この処理においてタスクAP3は通信U2が発生する。また、時刻T3で第2の状態変化が発生すると、状態変化の通知S2がタスクAP4に通知され処理が実行される。タスクAP4は処理において通信を発生させない。通信U1は複数の情報処理装置間で発生時刻が異なるため、通信U2の発生時刻も情報処理装置間で異なっており、サーバ装置20での輻輳や処理負荷の急激な増加は発生しづらい。   In the conventional apparatus, when the task AP2 that receives the communication U1 at time T1 starts processing, and the first state change occurs at time T2 in this processing, the state change notification S1 is notified to the task AP3 and the processing is performed. Executed. In this process, communication U2 occurs in task AP3. Further, when the second state change occurs at time T3, a state change notification S2 is notified to the task AP4, and the process is executed. The task AP4 does not generate communication in the process. Since the generation time of the communication U1 is different among the plurality of information processing apparatuses, the generation time of the communication U2 is also different among the information processing apparatuses, and it is difficult for the server apparatus 20 to generate congestion and a rapid increase in processing load.

また、通信B1は同報通信であり複数の情報処理装置間において同一の時刻である時刻T4にて通信B1を受けたタスクAP1が処理を開始し、この処理において時刻T5で第1の状態変化が発生すると、状態変化の通知S3がタスクAP3に通知され処理が実行される。同様に、時刻T6で第2の状態変化が発生すると、状態変化の通知S4がタスクAP4に通知され、処理が実行される。このため、通信U3が発生する時刻も複数の情報処理装置においてほぼ同一の時刻となり、通信が集中することでサーバ装置20での輻輳の発生や処理負荷のピークが大きくなってしまう。   Further, the communication B1 is a broadcast communication, and the task AP1 that has received the communication B1 at the time T4, which is the same time among a plurality of information processing apparatuses, starts processing, and in this processing, the first state change at time T5. When this occurs, the state change notification S3 is notified to the task AP3, and the process is executed. Similarly, when the second state change occurs at time T6, a state change notification S4 is notified to the task AP4, and the process is executed. For this reason, the time at which the communication U3 occurs is also substantially the same in the plurality of information processing devices, and the concentration of communication increases the occurrence of congestion in the server device 20 and the peak processing load.

一方で、情報処理装置10は、タスクの実行に伴い端末状態が変化した際に図6に示すように通知を行い通知先タスクが実行される。情報処理装置10においては、時刻T1にて通信U1を受けたタスクAP2が処理を開始し、この処理において時刻T2で第1の状態変化が発生すると、状態変化の起因となるタスクAP2の挙動種別が参照されるが、大域同期型ではないため、従来装置と同様に状態変化の通知S1、S2がタスクAP3、AP4に通知され、タスクAP3、AP4は従来装置と同様の挙動となる。   On the other hand, when the terminal state changes with the execution of the task, the information processing apparatus 10 performs notification as shown in FIG. 6 and the notification destination task is executed. In the information processing apparatus 10, when the task AP2 that has received the communication U1 at time T1 starts processing, and the first state change occurs at time T2 in this processing, the behavior type of the task AP2 that causes the state change However, since it is not a global synchronization type, notifications S1 and S2 of state change are notified to the tasks AP3 and AP4 as in the conventional device, and the tasks AP3 and AP4 behave similarly to the conventional device.

また、時刻T4にて通信B1を受けたタスクAP1が処理を開始し、この処理において時刻T5で第1の状態変化が発生すると、状態変化の起因となるタスクAP1の挙動種別が参照され、大域同期型であるため、通知先のタスクAP3、AP4へ状態変化の通知は行われない。したがって、タスクAP3、AP4の何れも実行されず、通信も発生しない。つまり、サーバ装置20での輻輳の発生を回避することや処理負荷のピークを小さくすることができる。   Further, when the task AP1 that has received the communication B1 at time T4 starts processing, and the first state change occurs at time T5 in this processing, the behavior type of the task AP1 that causes the state change is referred to, and the global Because of the synchronous type, notification of a state change is not performed to the notification destination tasks AP3 and AP4. Therefore, neither task AP3 nor AP4 is executed, and no communication occurs. That is, it is possible to avoid the occurrence of congestion in the server device 20 and reduce the processing load peak.

このように、情報処理装置10においては、状態通知処理において、状態変化がタスクに起因するもので、かつ、そのタスクが大域同期型である際に通知を行わないことで、サーバ装置20での輻輳の発生を回避することや処理負荷のピークを小さくする。   As described above, in the information processing apparatus 10, in the state notification processing, the state change is caused by the task, and the notification is not performed when the task is the global synchronization type. Avoid the occurrence of congestion and reduce the processing load peak.

図11は、図6の変形版である。図11において、時刻T4にて通信B1を受けたタスクAP1が処理を開始し、この処理において時刻T6で第2の状態変化が発生すると、状態変化の起因となるタスクAP1の挙動種別が参照され、大域同期型であると判断する。しかしながら、通知先のタスクAP4の通信種別を参照し、タスクAP4は処理において通信を発生しないことを判定し、通知先のタスクAP4へ状態変化の通知S4を通知する。   FIG. 11 is a modified version of FIG. In FIG. 11, when the task AP1 that has received the communication B1 at time T4 starts processing, and the second state change occurs at time T6 in this processing, the behavior type of the task AP1 that causes the state change is referred to. Judge that it is a global synchronous type. However, referring to the communication type of the notification destination task AP4, the task AP4 determines that communication does not occur in the process, and notifies the notification destination task AP4 of the state change notification S4.

続いて、上述した一連の情報処理装置10による処理をコンピュータに実行させるための状態通知プログラム70を説明する。図7に示すように、状態通知プログラム70は、コンピュータに挿入されてアクセスされる、あるいはコンピュータが備える記録媒体80に形成されたプログラム格納領域81内に格納される。   Subsequently, a state notification program 70 for causing a computer to execute the above-described series of processing by the information processing apparatus 10 will be described. As shown in FIG. 7, the status notification program 70 is inserted into a computer and accessed, or stored in a program storage area 81 formed in a recording medium 80 provided in the computer.

状態通知プログラム70は、検知モジュール700と、通知モジュール701とを備えて構成される。検知モジュール700と、通知モジュール701とを実行させることにより実現される機能は、上述した情報処理装置10の検知部101と、通知部103との機能とそれぞれ同様である。   The status notification program 70 includes a detection module 700 and a notification module 701. Functions realized by executing the detection module 700 and the notification module 701 are the same as the functions of the detection unit 101 and the notification unit 103 of the information processing apparatus 10 described above.

なお、状態通知プログラム70は、その一部若しくは全部が、通信回線等の伝送媒体を介して伝送され、他の機器により受信されて記録(インストールを含む)される構成としてもよい。また、状態通知プログラム70の各モジュールは、1つのコンピュータでなく、複数のコンピュータのいずれかにインストールされてもよい。その場合、当該複数のコンピュータから成るコンピュータシステムによって上述した一連の状態通知プログラム70の処理が行われる。   Part or all of the status notification program 70 may be transmitted via a transmission medium such as a communication line, and received and recorded (including installation) by another device. Further, each module of the status notification program 70 may be installed in any one of a plurality of computers instead of one computer. In this case, the above-described series of status notification program 70 is performed by a computer system composed of the plurality of computers.

[変形例]
上述した実施形態は、本発明の実施の一例に過ぎず、以下のように変形させてもよい。また、上述した実施形態及び以下に示す各変形例は、必要に応じて組み合わせて実施してもよい。
[Modification]
The above-described embodiment is merely an example of implementation of the present invention, and may be modified as follows. Moreover, you may implement combining embodiment mentioned above and each modification shown below as needed.

(変形例1)
記憶部102は、挙動種別を判断する際に、タスクの属性情報や実行中のタスクによる挙動種別の指定だけでなく、タスクが定期動作するために将来の実行時刻を指定する際の指定時刻や指定方法から判断してもよい。実行時刻の指定時刻や指定方法が複数の情報処理装置10間で同一時刻となる可能性が高い場合は大域同期型と判断し、それ以外のタスクは大域非同期型と判断する。例えば、日付が変わった際に処理を実行することを意図して指定時刻が00:00のように正時ちょうどに設定するタスクや、正時ちょうどではないが「毎日06:38」のように常に毎回同じ時刻を設定するタスクを大域同期型と判断する。さらに、実行時刻の指定方法が情報処理装置10の起動時刻からの経過時間のような相対時刻指定ではなく、カレンダーや時計に基づく絶対時刻指定を用いているタスクであれば大域同期型と判断してもよい。
(Modification 1)
When determining the behavior type, the storage unit 102 not only specifies the task attribute information and the behavior type by the task that is being executed, but also specifies the designated time when the task is periodically executed and the future execution time is designated. You may judge from the designation method. When there is a high possibility that the designated time and the designation method of the execution time are the same time among the plurality of information processing apparatuses 10, the global synchronous type is determined, and the other tasks are determined as the global asynchronous type. For example, the task is to set the time exactly at the specified time such as 0:00 with the intention of executing the process when the date changes, or “every day 06:38”, but not at the correct time. A task that always sets the same time every time is determined to be a global synchronous type. Further, if the execution time designation method is a task that uses absolute time designation based on a calendar or a clock instead of relative time designation such as the elapsed time from the start time of the information processing apparatus 10, it is determined as a global synchronous type. May be.

なお、挙動種別の判断は記憶部102内でのみ行わずに、サーバ装置20と協調して判断してもよい。この場合、情報処理装置10は各タスクにより設定された実行時刻をサーバ装置20に送信し、サーバ装置20は複数の情報処理装置10から受取った実行時刻のうちで、一定数以上の情報処理装置10で指定されている実行時刻を設定しているタスクについて大域同期型と判断する。サーバ装置20は判断結果を情報処理装置10へ送信する。   The determination of the behavior type may be performed in cooperation with the server device 20 without being performed only in the storage unit 102. In this case, the information processing apparatus 10 transmits the execution time set by each task to the server apparatus 20, and the server apparatus 20 includes a certain number or more of information processing apparatuses among the execution times received from the plurality of information processing apparatuses 10. A task for which the execution time specified in 10 is set is determined to be a global synchronization type. The server device 20 transmits the determination result to the information processing device 10.

なお、上記では記憶部102が大域同期型の判断を行うと説明したが、取得部が判断してもよい。具体的には、取得部は、検知部101によって検知された状態変化の発生元であるタスクについて、当該タスクの実行を予約した時刻が実時間を基準にした絶対時刻である場合、当該挙動種別を大域同期型として取得してもよい。   In the above description, the storage unit 102 performs the global synchronization type determination. However, the acquisition unit may perform the determination. Specifically, for the task that is the source of the state change detected by the detection unit 101, the acquisition unit, when the time when the execution of the task is reserved is an absolute time based on real time, May be acquired as a global synchronization type.

(変形例2)
記憶部102は、挙動種別を判断する際に、タスクの属性情報や実行中のタスクによる挙動種別の指定だけでなく、サーバ装置20から送信される挙動種別テーブルを用いてもよい。サーバ装置20は、事前に各タスクの挙動種別の判断結果を挙動種別テーブルとして保持しておき、記憶部102からの要求に応じて挙動種別テーブルを送信する。
(Modification 2)
When determining the behavior type, the storage unit 102 may use not only the task attribute information and the specification of the behavior type by the task being executed, but also the behavior type table transmitted from the server device 20. The server device 20 holds the determination result of the behavior type of each task in advance as a behavior type table, and transmits the behavior type table in response to a request from the storage unit 102.

(変形例3)
通知部103は、状態変化の発生要因となったタスクが大域同期型である場合においても、通知先タスクのうち、処理にて通信が発生しないタスク(以下では「非通信タスク」という)については、状態変化の通知を行ってもよい。これにより、サーバ装置20での輻輳の発生を回避することや処理負荷のピークを小さく抑えつつ、非通信タスクについては従来装置での挙動を維持することができる。タスクに含まれる属性情報から非通信タスクであるかどうかを判断するが、属性情報だけで判断できない場合には、状態変化の通知を行い、その際に通信が発生したかどうかの履歴(通信履歴)を、不図示の通信履歴保持部(通信履歴保持手段)が保持することで判断してもよい。すなわち、通信履歴保持部は、通知部103によって状態変化情報が通知先に通知された際に、通知先にて当該通知に基づいて通信が発生したか否かを通信履歴として保持する。そして、通知部103は、通知先タスクが通信可能であるか否かを通信履歴保持部によって保持された通信履歴に基づいて決定する。
(Modification 3)
The notification unit 103 is responsible for tasks that do not generate communication during processing (hereinafter referred to as “non-communication tasks”) among the notification destination tasks even when the task that caused the state change is a global synchronous type. Notification of a state change may be performed. Thereby, it is possible to maintain the behavior of the non-communication task in the conventional apparatus while avoiding the occurrence of congestion in the server apparatus 20 and suppressing the peak processing load. Whether or not the task is a non-communication task is determined from the attribute information included in the task, but if the attribute information alone cannot be determined, a status change notification is sent, and a history of whether communication has occurred at that time (communication history) ) May be determined by holding a communication history holding unit (not shown) (communication history holding means). That is, when the notification unit 103 notifies the notification destination of the state change information, the communication history holding unit holds, as a communication history, whether or not communication has occurred at the notification destination based on the notification. Then, the notification unit 103 determines whether or not the notification destination task can communicate based on the communication history held by the communication history holding unit.

なお、非通信タスクの処理において別のタスクと連携して動作する場合においては、連携して動作する別のタスクが通信を発生するかどうかも併せて判断し、通信が発生する場合は非通信タスクであっても通知を行わないようにしてもよい。   In the case of non-communication task processing, when operating in cooperation with another task, it is also determined whether another task operating in cooperation generates communication. Notification may not be performed even for a task.

(変形例4)
通知部103は、状態変化の発生要因となったタスクが大域同期型である場合においても、例えば、当該状態変化が予め制御の対象外として指定されたもの及び通知先が予め制御の対象外として指定されたものの少なくとも一方に該当する場合、状態変化情報を通知先に通知することとしてもよい。なお、当然のことながら事前に指定していない状態変化は通知が制御される。この構成により、例えば、通知を行っても通知先で通信が発生しないことが分かっている状態変化を予め制御の対象外として指定しておくことで、当該タスクが大域同期型であっても状態変化情報が通知先に通知されるため、従来装置での挙動を前提としたタスクでも動作させることができる。また、この構成により、例えば、通知を行っても通知先で通信が発生しないことが分かっている通知先タスクについては、タスク識別子を予め制御の対象外として指定しておくことで、通知部103により当該通信種別が参照されて通信の有無が判断され、当該タスクが大域同期型であっても状態変化情報が通知されることとなり、通知先タスクでは通信の発生しない処理のみが実行されるため、従来装置での挙動を前提としたタスクでも動作させることができる。
(Modification 4)
Even when the task that caused the state change is a global synchronization type, the notification unit 103, for example, designates that the state change has been designated as not subject to control in advance and the notification destination is not subject to control in advance. If it corresponds to at least one of the designated items, the state change information may be notified to the notification destination. As a matter of course, notification of state changes not designated in advance is controlled. With this configuration, for example, by specifying in advance a state change that is known to cause no communication at the notification destination even if notification is made, even if the task is a global synchronous type, Since the change information is notified to the notification destination, it is possible to operate even a task based on the behavior of the conventional apparatus. In addition, with this configuration, for example, for a notification destination task for which it is known that communication does not occur at the notification destination even when notification is performed, the notification unit 103 is designated as a task identifier that is not subject to control in advance. Because the communication type is referred to, the presence or absence of communication is determined, and even if the task is a global synchronous type, the state change information is notified, and only the process that does not cause communication is executed in the notification destination task. It is possible to operate even a task premised on the behavior of the conventional apparatus.

(変形例5)
通知部103は、状態変化の発生要因となったタスクが大域同期型である場合においても、乱数的に生成した時間だけ遅延させて、状態変化の通知を行ってもよい。これにより、通知先タスクの処理により通信は発生するが、複数の情報処理装置10間では通信の発生するタイミングが分散するため、サーバ装置20での輻輳の発生を回避することや処理負荷のピークを小さく抑えつつ、従来装置での挙動を維持することができる。
(Modification 5)
The notification unit 103 may notify the state change with a delay by a randomly generated time even when the task that caused the state change is a global synchronization type. As a result, communication occurs due to the processing of the notification destination task, but the timing at which communication occurs among the plurality of information processing apparatuses 10 is dispersed. Therefore, it is possible to avoid the occurrence of congestion in the server apparatus 20 and the peak processing load. It is possible to maintain the behavior of the conventional apparatus while keeping the value small.

(変形例6)
通知部103は、状態変化の発生要因となったタスクが大域同期型である場合においても、通知先タスクでの通信を一定時間だけ遮断するように指定したうえで、状態変化の通知を行ってもよい(例えば、状態変化情報と共に通知先タスクでの通信を一定時間だけ遮断するように指定する指示情報を通知先に通知する)。これにより、通知先タスクの処理により通信を試みようとするが実際には通信が遮断されているため、サーバ装置20での輻輳の発生を回避することや処理負荷のピークを小さくすることができる。なお、通信を遮断するように指定するのではなく、通信の開始を乱数的に生成した時間だけ遅延させるように指定してもよい。また、通信を遮断するように指定するのではなく、通知先タスクでの処理を制御させるように指定してもよい。通知部103は、例えば、挙動種別が大域同期型である場合、状態変化情報と共に通知先の処理を制御する指示情報を通知先に通知してもよい。
(Modification 6)
Even when the task that caused the state change is a global synchronous type, the notification unit 103 specifies that the communication at the notification destination task is cut off for a certain period of time, and then notifies the state change. (For example, the notification destination is notified together with the state change information that specifies that the communication in the notification destination task is blocked for a certain period of time). As a result, communication is attempted by the processing of the notification destination task, but the communication is actually cut off, so that the occurrence of congestion in the server device 20 can be avoided and the peak of the processing load can be reduced. . Instead of specifying that communication be cut off, the start of communication may be specified to be delayed by a randomly generated time. Further, it may be specified to control the processing in the notification destination task instead of specifying to block communication. For example, when the behavior type is the global synchronization type, the notification unit 103 may notify the notification destination of instruction information for controlling the processing of the notification destination together with the state change information.

(変形例7)
通知部103は、挙動種別が大域同期型であり、かつ通知先が通信可能である場合、通知先への状態変化情報の通知を回避する、又は状態変化情報を通知先に遅延して通知する、又は状態変化情報と共に通知先の通信を制御する指示情報を通知先に通知してもよい。
(Modification 7)
When the behavior type is the global synchronization type and the notification destination is communicable, the notification unit 103 avoids the notification of the state change information to the notification destination or notifies the notification destination of the state change information with a delay. Alternatively, instruction information for controlling communication at the notification destination may be notified to the notification destination together with the state change information.

(変形例8)
記憶部102は、挙動種別の判断を行わず、通知部103において挙動種別を判断してもよい。具体的には、状態変化を引き起こしたタスクを検知できない、または、状態変化を引き起こしたタスクに挙動種別が設定されていない場合、検知部101により検知された端末の状態変化が事前に定める状態変化に該当していれば、状態変化を引き起こしたタスクの挙動種別を大域同期型とみなす。この構成においては、記憶部102において挙動種別テーブルを持たなくてもよい。なお、状態変化を引き起こしたタスクが検知できない場合、表示領域に表示されているタスクを、状態変化を引き起こしたタスクであるとみなす。
(Modification 8)
The storage unit 102 may determine the behavior type in the notification unit 103 without determining the behavior type. Specifically, if the task that caused the state change cannot be detected, or if the behavior type is not set for the task that caused the state change, the state change determined in advance by the state change of the terminal detected by the detection unit 101 If this is true, the behavior type of the task that caused the state change is regarded as the global synchronization type. In this configuration, the storage unit 102 may not have the behavior type table. If the task causing the state change cannot be detected, the task displayed in the display area is regarded as the task causing the state change.

また、表示領域への表示を伴わないタスクであっても、前記状態変化の通知を受取通知種別として指定しているタスクであれば、状態変化を引き起こしたタスクであるとみなしてもよい。   Further, even a task that is not accompanied by display in the display area may be regarded as a task that causes a state change as long as it is a task that specifies the state change notification as a receipt notification type.

前記状態変化が起こった際に大域同期型であるとみなしたタスクであっても、状態変化を引き起こしたタスクが終了、または、表示領域から非表示となった時点、および、前記状態変化が起こってから一定時間経過した時点、および、事前に定める状態変化(例えば、表示領域の消灯)が起こった時点において、以降に動作する(大域同期型であるとみなしていた)タスクの挙動種別を大域非同期型であるとみなしてもよい。   Even when a task is considered to be a global synchronous type when the state change occurs, the task that caused the state change ends or disappears from the display area, and the state change occurs. When a certain time has elapsed since the current time and when a predetermined state change occurs (for example, the display area is turned off), the behavior type of the task that is subsequently operated (considered to be a global synchronous type) is set to the global You may consider it asynchronous.

また、検知部101は、状態変化を引き起こしたタスクを取得しない既存技術における検知部から構成され、記憶部102は受取通知種別テーブルを保持する既存技術における記憶部と、挙動種別テーブルを保持する挙動種別記憶部とから構成され、通知部103は、挙動種別に応じて通知方法を異ならせることのない既存技術における通知部と、通知部から配信される通知を挙動種別に応じて破棄するよう制御を行う通知制御部とから構成されてもよい。   The detection unit 101 includes a detection unit in the existing technology that does not acquire the task that caused the state change, and the storage unit 102 stores the storage unit in the existing technology that holds the receipt notification type table and the behavior that holds the behavior type table. The notification unit 103 is configured so as to discard the notification unit in the existing technology that does not change the notification method according to the behavior type and the notification distributed from the notification unit according to the behavior type. And a notification control unit that performs the above.

図12は、本変形例における情報処理装置10aが実現する機能構成を示すブロック図である。情報処理装置10aは、図3に示す各部と比べ、状態変化を引き起こしたタスクを取得しない既存技術における検知部106と、受取通知種別テーブルを保持する既存技術における記憶部107と、挙動種別テーブルを保持する挙動種別記憶部108と、挙動種別に応じて通知方法を異ならせることのない既存技術における通知部104(既存通知手段)と、通知制御部105(通知制御手段)とを備える。   FIG. 12 is a block diagram illustrating a functional configuration realized by the information processing apparatus 10a according to the present modification. Compared with each unit shown in FIG. 3, the information processing apparatus 10a includes a detection unit 106 in the existing technology that does not acquire the task that caused the state change, a storage unit 107 in the existing technology that holds the receipt notification type table, and a behavior type table. A behavior type storage unit 108 to be held, a notification unit 104 (existing notification unit) and a notification control unit 105 (notification control unit) in the existing technology that do not change the notification method according to the behavior type.

通知制御部105は、既存技術における通知部104から配信される通知のうち逐次に行われる通知を制御対象とする。ただし、これに限定されるものではなく、一斉に行われる通知を制御対象としてもよい。具体的な制御手順としては、既存技術における通知部104は、検知部101によって検知された状態変化に関する状態変化情報を通知先に通知し、通知制御部105は、検知部101によって検知された状態変化に関する状態変化情報の通知先への通知方法を、取得部によって取得された当該状態変化の発生元であるタスクの挙動種別に基づいて決定し、決定された通知方法に基づいて既存技術における通知部104による通知を制御する。   The notification control unit 105 controls notifications sequentially performed among notifications distributed from the notification unit 104 in the existing technology. However, the present invention is not limited to this, and notifications that are performed simultaneously may be controlled. As a specific control procedure, the notification unit 104 in the existing technology notifies the notification destination of state change information related to the state change detected by the detection unit 101, and the notification control unit 105 detects the state detected by the detection unit 101. The notification method of the state change information related to the change is determined based on the behavior type of the task that is the source of the state change acquired by the acquisition unit, and the notification in the existing technology is performed based on the determined notification method The notification by the unit 104 is controlled.

通知制御部105は他のタスクと同様に受取り通知種別を登録するが、その際の優先度は他の全ての通知先タスクよりも高い値とすることにより既存技術における通知部104からの通知を最初に受け取るとともに、状態変化を引き起こしたタスクの挙動種別を取得し、大域同期型である場合は通知先タスクに対して通知を配信しないよう、既存技術における通知部104に対して通知を中止する処理を実行させる。一方で、大域非同期型である場合は、既存技術における通知部104に対して次に優先度の高いタスクへ通知を行わせる。   The notification control unit 105 registers the reception notification type in the same manner as other tasks, but the priority at that time is set to a value higher than that of all other notification destination tasks, so that the notification from the notification unit 104 in the existing technology is notified. Receives the action type of the task that caused the state change first, and if it is a global synchronization type, cancels the notification to the notification unit 104 in the existing technology so that the notification is not distributed to the notification destination task Execute the process. On the other hand, in the case of the global asynchronous type, the notification unit 104 in the existing technology is notified to the next highest priority task.

なお、通知制御部105の制御は、大域同期型である場合において通知を中止する処理を実行するだけではなく、乱数的に生成した時間だけ待ってから、既存技術における通知部104に対して優先度の高い順に通知先タスクへの通知を行わせるようにしてもよい。   Note that the control of the notification control unit 105 not only executes the process of canceling the notification in the case of the global synchronization type, but also waits for a randomly generated time before giving priority to the notification unit 104 in the existing technology. Notifications to the notification destination task may be performed in descending order.

1…情報処理システム、2…ネットワーク、10・10a…情報処理装置、11…制御装置、12…音声入出力装置、13…通信装置、14…操作装置、15…表示装置、16…記憶装置、17…電源制御装置、20…サーバ装置、60…記憶媒体、61…プログラム格納領域、70…状態通知プログラム、101…検知部、102…記憶部、103…通知部、104…既存技術における通知部、105…通知制御部、106…既存技術における検知部、107…既存技術における記憶部、108…挙動種別記憶部、700…検知モジュール、701…通知モジュール。
DESCRIPTION OF SYMBOLS 1 ... Information processing system, 2 ... Network, 10 * 10a ... Information processing apparatus, 11 ... Control apparatus, 12 ... Voice input / output device, 13 ... Communication apparatus, 14 ... Operation apparatus, 15 ... Display apparatus, 16 ... Memory | storage device, DESCRIPTION OF SYMBOLS 17 ... Power supply control apparatus, 20 ... Server apparatus, 60 ... Storage medium, 61 ... Program storage area, 70 ... Status notification program, 101 ... Detection part, 102 ... Storage part, 103 ... Notification part, 104 ... Notification part in the existing technology 105 ... Notification control unit 106 ... Detection unit in existing technology 107 ... Storage unit in existing technology 108 ... Behavior type storage unit 700 ... Detection module 701 ... Notification module

Claims (12)

状態変化に関する状態変化情報を通知先に通知する情報処理装置であって、
タスクによって発生した状態変化を検知する検知手段と、
前記検知手段によって検知された状態変化の発生元であるタスクの挙動種別を取得する取得手段と、
前記検知手段によって検知された状態変化に関する状態変化情報の通知先への通知方法を、前記取得手段によって取得された当該状態変化の発生元であるタスクの挙動種別に基づいて決定し、決定された通知方法に基づいて当該状態変化情報を通知先に通知する通知手段と、
を備える情報処理装置。
An information processing apparatus for notifying a notification destination of state change information related to a state change,
Detection means for detecting a state change caused by a task;
An acquisition unit for acquiring a behavior type of a task that is a generation source of the state change detected by the detection unit;
The notification method to the notification destination of the state change information related to the state change detected by the detection unit is determined based on the behavior type of the task that is the generation source of the state change acquired by the acquisition unit. A notification means for notifying the notification destination of the state change information based on a notification method;
An information processing apparatus comprising:
前記通知手段は、挙動種別が、特定の時刻に偏って実行されやすいタスクであることを示す大域同期型である場合、通知先への状態変化情報の通知を回避する、ことを特徴とする請求項1に記載の情報処理装置。   The notification means avoids notification of state change information to a notification destination when the behavior type is a global synchronization type indicating that the task type is a task that is likely to be executed at a specific time. Item 4. The information processing apparatus according to Item 1. 前記通知手段は、挙動種別が、特定の時刻に偏って実行されやすいタスクであることを示す大域同期型である場合、状態変化情報を通知先に遅延して通知する、ことを特徴とする請求項1に記載の情報処理装置。   The notification means, when the behavior type is a global synchronization type indicating that it is a task that is likely to be executed biased to a specific time, notifies the state change information with a delay to the notification destination. Item 4. The information processing apparatus according to Item 1. 前記通知手段は、挙動種別が、特定の時刻に偏って実行されやすいタスクであることを示す大域同期型である場合、状態変化情報と共に通知先の処理を制御する指示情報を通知先に通知する、ことを特徴とする請求項1に記載の情報処理装置。   The notification means notifies the notification destination of instruction information for controlling the processing of the notification destination together with the state change information when the behavior type is a global synchronization type indicating that the task type is a task that is likely to be executed at a specific time. The information processing apparatus according to claim 1. 前記通知手段は、挙動種別が、特定の時刻に偏って実行されやすいタスクであることを示す大域同期型であり、かつ通知先が通信可能である場合、通知先への状態変化情報の通知を回避する、又は状態変化情報を通知先に遅延して通知する、又は状態変化情報と共に通知先の通信を制御する指示情報を通知先に通知する、ことを特徴とする請求項1に記載の情報処理装置。   The notification means is a global synchronous type indicating that the behavior type is a task that is likely to be executed biased to a specific time, and when the notification destination is communicable, notifies the notification destination of state change information. The information according to claim 1, wherein the information is avoided, the state change information is notified to the notification destination with delay, or the instruction information for controlling the communication of the notification destination is notified to the notification destination together with the state change information. Processing equipment. 前記通知手段によって状態変化情報が通知先に通知された際に、通知先にて当該通知に基づいて通信が発生したか否かを通信履歴として保持する通信履歴保持手段を更に備え、
前記通知手段は、通知先が通信可能であるか否かを前記通信履歴保持手段によって保持された通信履歴に基づいて決定する、
ことを特徴とする請求項5に記載の情報処理装置。
A communication history holding unit for holding, as a communication history, whether or not communication has occurred based on the notification at the notification destination when the state change information is notified to the notification destination by the notification unit;
The notification means determines whether or not the notification destination can communicate based on the communication history held by the communication history holding means.
The information processing apparatus according to claim 5.
前記通知手段は、挙動種別が特定の時刻に偏って実行されやすいタスクであることを示す大域同期型であり、かつ、当該状態変化が予め制御の対象外として指定されたもの及び通知先が予め制御の対象外として指定されたものの少なくとも一方に該当する場合、状態変化情報を通知先に通知する、ことを特徴とする請求項1に記載の情報処理装置。   The notification means is a global synchronization type indicating that the behavior type is a task that is likely to be executed with a bias toward a specific time, and that the state change is designated in advance as a non-control target and the notification destination is in advance. The information processing apparatus according to claim 1, wherein state change information is notified to a notification destination when at least one of those designated as non-control targets is applicable. 前記取得手段は、前記検知手段によって検知された状態変化の発生元であるタスクについて、当該タスクの実行を予約した時刻が実時間を基準にした絶対時刻である場合、当該挙動種別を、特定の時刻に偏って実行されやすいタスクであることを示す大域同期型として取得する、ことを特徴とする請求項1〜7の何れか一項に記載の情報処理装置。   If the time at which the execution of the task is reserved is an absolute time based on real time for the task that is the source of the state change detected by the detection unit, the acquisition unit sets the behavior type to a specific The information processing apparatus according to claim 1, wherein the information processing apparatus is acquired as a global synchronization type indicating that the task is easily executed with a bias toward time. 前記通知手段は、前記取得手段によって状態変化の発生元であるタスクの挙動種別が取得できず、かつ、前記検知手段によって検知された当該状態変化が予め設定されている状態変化に該当する場合、当該タスクの挙動種別を、特定の時刻に偏って実行されやすいタスクであることを示す大域同期型とする、ことを特徴とする請求項1に記載の情報処理装置。   When the notification unit cannot acquire the behavior type of the task that is the source of the state change by the acquisition unit, and the state change detected by the detection unit corresponds to a preset state change, The information processing apparatus according to claim 1, wherein the behavior type of the task is a global synchronization type indicating that the task is likely to be executed at a specific time. 前記通知手段は、
前記検知手段によって検知された状態変化に関する状態変化情報を通知先に通知する既存通知手段と、
前記検知手段によって検知された状態変化に関する状態変化情報の通知先への通知方法を、前記取得手段によって取得された当該状態変化の発生元であるタスクの挙動種別に基づいて決定し、決定された通知方法に基づいて前記既存通知手段による通知を制御する通知制御手段と、
から構成される請求項1に記載の情報処理装置。
The notification means includes
Existing notification means for notifying the notification destination of state change information related to the state change detected by the detection means;
The notification method to the notification destination of the state change information related to the state change detected by the detection unit is determined based on the behavior type of the task that is the generation source of the state change acquired by the acquisition unit. Notification control means for controlling notification by the existing notification means based on a notification method;
The information processing apparatus according to claim 1, comprising:
状態変化に関する状態変化情報を通知先に通知する情報処理装置により実行される状態通知方法であって、
タスクによって発生した状態変化を検知する検知ステップと、
前記検知ステップにおいて検知された状態変化の発生元であるタスクの挙動種別を取得する取得ステップと、
前記検知ステップにおいて検知された状態変化に関する状態変化情報の通知先への通知方法を、前記取得ステップにおいて取得された当該状態変化の発生元であるタスクの挙動種別に基づいて決定し、決定された通知方法に基づいて当該状態変化情報を通知先に通知する通知ステップと、
を含む状態通知方法。
A state notification method executed by an information processing apparatus that notifies state notification of state change information related to a state change,
A detection step for detecting a state change caused by a task;
An acquisition step of acquiring a behavior type of a task that is a generation source of the state change detected in the detection step;
The notification method of the state change information related to the state change detected in the detection step is determined based on the behavior type of the task that is the generation source of the state change acquired in the acquisition step. A notification step of notifying the notification destination of the state change information based on a notification method;
Status notification method including
コンピュータを、
タスクによって発生した状態変化を検知する検知手段と、
前記検知手段によって検知された状態変化の発生元であるタスクの挙動種別を取得する取得手段と、
前記検知手段によって検知された状態変化に関する状態変化情報の通知先への通知方法を、前記取得手段によって取得された当該状態変化の発生元であるタスクの挙動種別に基づいて決定し、決定された通知方法に基づいて当該状態変化情報を通知先に通知する通知手段、
として機能させる状態通知プログラム。
Computer
Detection means for detecting a state change caused by a task;
An acquisition unit for acquiring a behavior type of a task that is a generation source of the state change detected by the detection unit;
The notification method to the notification destination of the state change information related to the state change detected by the detection unit is determined based on the behavior type of the task that is the generation source of the state change acquired by the acquisition unit. A notification means for notifying the notification destination of the state change information based on the notification method;
Status notification program to function as.
JP2013094979A 2012-11-19 2013-04-30 Information processing apparatus, status notification method, and status notification program Active JP6045973B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013094979A JP6045973B2 (en) 2012-11-19 2013-04-30 Information processing apparatus, status notification method, and status notification program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2012253521 2012-11-19
JP2012253521 2012-11-19
JP2013094979A JP6045973B2 (en) 2012-11-19 2013-04-30 Information processing apparatus, status notification method, and status notification program

Publications (2)

Publication Number Publication Date
JP2014115975A JP2014115975A (en) 2014-06-26
JP6045973B2 true JP6045973B2 (en) 2016-12-14

Family

ID=51171861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013094979A Active JP6045973B2 (en) 2012-11-19 2013-04-30 Information processing apparatus, status notification method, and status notification program

Country Status (1)

Country Link
JP (1) JP6045973B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113055415A (en) * 2019-12-26 2021-06-29 阿里巴巴集团控股有限公司 Service providing method, service consuming method, device and equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11126185A (en) * 1997-10-22 1999-05-11 Nec Software Kyushu Ltd Communication process allocating device
JP2003052065A (en) * 2001-08-07 2003-02-21 Matsushita Electric Ind Co Ltd Portable radio system and its informing control method of entering a zone
JP4058752B2 (en) * 2001-12-11 2008-03-12 日本電気株式会社 Portable information terminal device
JP2004264994A (en) * 2003-02-28 2004-09-24 Toshiba Tec Corp Office equipment and program
US7788667B2 (en) * 2005-04-22 2010-08-31 Gm Global Technology Operations, Inc. Extensible scheduling of tasks in time-triggered distributed embedded systems
TWI324747B (en) * 2006-06-08 2010-05-11 Wistron Corp Method for preventing process collision of micro controller

Also Published As

Publication number Publication date
JP2014115975A (en) 2014-06-26

Similar Documents

Publication Publication Date Title
RU2686673C1 (en) Device and method of terminal control and terminal
US8483665B2 (en) Mobile device featuring sensor responsive re-notifications
JP6096992B2 (en) Method, apparatus, program and storage medium for saving storage space
US11354019B2 (en) Electronic device and method for controlling snooze notification
JP5741095B2 (en) Wireless communication apparatus and power saving control method
EP2783503A1 (en) Methods and apparatus to control presentation devices
US20160165537A1 (en) Portable terminal device
US20130055273A1 (en) Terminal and application management method thereof
US20220166685A1 (en) Communication apparatus and control method for the same
US10338936B2 (en) Method for controlling schedule of executing application in terminal device and terminal device implementing the method
KR20130024801A (en) Terminal and method for managing application thereof
CN102647515A (en) Terminal state displaying control method and device
JP6045973B2 (en) Information processing apparatus, status notification method, and status notification program
KR20190045562A (en) Method for controlling notification and electronic device thereof
US9710301B2 (en) Storage medium storing computer program, information processing system, and information processing method
US11671900B2 (en) Access control barring method and apparatus
JP4592728B2 (en) Mobile phone
JP6705041B2 (en) Communication terminal, setting method and program
CN108076225B (en) Notification message processing method and device
JP2016086269A (en) Mobile terminal and control method therefor
KR20140021923A (en) Method for synchronizstion of e-mail and an electronic device thereof
KR101863568B1 (en) Background application managemnt method and terminal using the same
CN108521676B (en) Network back connection method and device
WO2023060553A1 (en) Method and apparatus for transmitting energy-saving indication information, method and apparatus for receiving energy-saving indication information, and device and storage medium
KR20070068810A (en) Mobile communication terminal and method for establishing menu function thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161017

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161116

R150 Certificate of patent or registration of utility model

Ref document number: 6045973

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250