JP2021197588A - Information processing device and program - Google Patents
Information processing device and program Download PDFInfo
- Publication number
- JP2021197588A JP2021197588A JP2020101134A JP2020101134A JP2021197588A JP 2021197588 A JP2021197588 A JP 2021197588A JP 2020101134 A JP2020101134 A JP 2020101134A JP 2020101134 A JP2020101134 A JP 2020101134A JP 2021197588 A JP2021197588 A JP 2021197588A
- Authority
- JP
- Japan
- Prior art keywords
- request
- service
- plug
- status
- health check
- 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.)
- Pending
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 23
- 238000012545 processing Methods 0.000 claims abstract description 72
- 230000036541 health Effects 0.000 claims abstract description 51
- 238000000034 method Methods 0.000 claims description 14
- 230000008569 process Effects 0.000 claims description 12
- 238000011084 recovery Methods 0.000 claims description 8
- 238000007726 management method Methods 0.000 description 47
- 230000006870 function Effects 0.000 description 22
- 238000010586 diagram Methods 0.000 description 18
- 238000004891 communication Methods 0.000 description 9
- 238000006243 chemical reaction Methods 0.000 description 8
- 238000012790 confirmation Methods 0.000 description 6
- 238000012015 optical character recognition Methods 0.000 description 6
- 230000007704 transition Effects 0.000 description 6
- 230000004044 response Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Abstract
Description
本発明は、情報処理装置及びプログラムに関する。 The present invention relates to an information processing apparatus and a program.
今日、インターネット経由で様々なウェブサービスの利用が可能である。例えばユーザのデータに予め定めた処理を加えるサービスやユーザのデータを記憶するサービスがある。以下では、インターネット上で提供されるサービスをクラウド型のサービス(以下「クラウドサービス」という)という。
障害によりクラウドサービスが停止すると、クラウドサービスを利用するユーザの活動に影響が及ぶ。そこで、クラウドサービスにおける障害の発生の有無を検知する仕組みがある。この仕組は、ヘルスチェックと呼ばれる。ヘルスチェックの頻度が高いほど、障害を事前に検知する精度が高くなる一方、通信に使用するシステム(以下「通信システム」という)に加わる負荷も高くなる。そこで、通信システムの負荷の変化に応じてヘルスチェックを実行する間隔を能動的に制御する方法や負荷が比較的少ない時間帯にヘルスチェックの実行を計画する方法がある。
Today, various web services are available via the Internet. For example, there are services that add predetermined processing to user data and services that store user data. In the following, services provided on the Internet will be referred to as cloud-type services (hereinafter referred to as "cloud services").
If the cloud service is stopped due to a failure, the activities of users who use the cloud service will be affected. Therefore, there is a mechanism to detect the presence or absence of a failure in the cloud service. This mechanism is called a health check. The higher the frequency of health checks, the higher the accuracy of detecting failures in advance, while the higher the load on the system used for communication (hereinafter referred to as "communication system"). Therefore, there are a method of actively controlling the interval at which the health check is executed according to a change in the load of the communication system, and a method of planning the execution of the health check during a time when the load is relatively light.
しかし、ユーザによりクラウドサービスが利用できていれば、ヘルスチェックを実行しなくてもクラウドサービスが動作していることは分かる。また、通信システムの負荷が比較的少ない時間帯にヘルスチェックの実行を計画する場合でも、現実にヘルスチェックを実行する場面では通信システムの負荷が高いことも起こり得る。 However, if the cloud service is available to the user, it can be seen that the cloud service is operating without performing a health check. Further, even when the health check is planned to be executed during the time when the load of the communication system is relatively light, the load of the communication system may be high when the health check is actually executed.
本発明は、クラウドサービスのユーザによる使用中もヘルチェックが実行される場合に比して、システムに対する負荷を抑制することを目的とする。 An object of the present invention is to reduce the load on the system as compared with the case where the hell check is executed even while the cloud service is being used by the user.
請求項1に記載の発明は、ユーザが操作する端末によるクラウドサービスの利用を中継するサービスを提供する情報処理装置はプロセッサを有し、前記プロセッサは、受け付けたリクエストに関する処理の状態を監視し、処理が継続している前記リクエストがある間、ヘルスチェックのリクエストを発行しない情報処理装置である。
請求項2に記載の発明は、前記プロセッサは、ユーザが操作する前記端末で発行された前記リクエストの処理が完了するまで、前記ヘルスチェックのリクエストを発行しない、請求項1に記載の情報処理装置である。
請求項3に記載の発明は、前記プロセッサは、前記リクエストに関する処理がいずれも完了した後、前記ヘルスチェックのリクエストの発行を許可する、請求項2に記載の情報処理装置である。
請求項4に記載の発明は、前記プロセッサは、前記クラウドサービスの障害の発生を監視し、当該障害の発生が確認された場合、前記ヘルスチェックのリクエストを発行しない、請求項1に記載の情報処理装置である。
請求項5に記載の発明は、前記プロセッサは、プラグインサービスのログを通じ、前記障害の発生を監視する、請求項4に記載の情報処理装置である。
請求項6に記載の発明は、前記プロセッサは、前記障害の復旧が確認された場合、前記ヘルスチェックのリクエストの発行を許可する、請求項4に記載の情報処理装置である。
請求項7に記載の発明は、前記プロセッサは、前記クラウドサービスの障害からの復旧が確認された場合、前記ヘルスチェックのリクエストの発行を許可する、請求項1に記載の情報処理装置である。
請求項8に記載の発明は、前記プロセッサは、前記クラウドサービスの停止を、ユーザが操作する前記端末に通知する、請求項4に記載の情報処理装置である。
請求項9に記載の発明は、前記プロセッサは、前記クラウドサービスの復旧を、ユーザが操作する前記端末に通知する、請求項4又は8に記載の情報処理装置である。
請求項10に記載の発明は、コンピュータに、受け付けたリクエストに関する処理の状態を監視する機能と、処理が継続している前記リクエストがある間、ヘルスチェックのリクエストを発行しない機能とを実現させるプログラムである。
According to the first aspect of the present invention, the information processing apparatus for providing a service for relaying the use of the cloud service by the terminal operated by the user has a processor, and the processor monitors the state of processing related to the received request. It is an information processing device that does not issue a health check request while there is the request for which processing is continuing.
The information processing apparatus according to
The invention according to claim 3 is the information processing apparatus according to claim 2, wherein the processor permits the issuance of the health check request after all the processes related to the request are completed.
The information according to
The invention according to claim 5 is the information processing apparatus according to claim 4, wherein the processor monitors the occurrence of the failure through the log of the plug-in service.
The invention according to claim 6 is the information processing apparatus according to claim 4, wherein the processor permits the issuance of the health check request when the recovery of the failure is confirmed.
The invention according to claim 7 is the information processing apparatus according to
The invention according to claim 8 is the information processing apparatus according to claim 4, wherein the processor notifies the terminal operated by the user of the stop of the cloud service.
The invention according to claim 9 is the information processing apparatus according to claim 4 or 8, wherein the processor notifies the terminal operated by the user of the restoration of the cloud service.
The invention according to
請求項1記載の発明によれば、クラウドサービスのユーザによる使用中もヘルチェックを実行する場合に比して、システムに対する負荷を抑制できる。
請求項2記載の発明によれば、ユーザの端末からのリクエストの進捗により、システムの負荷を増やすこと無く、クラウドサーバの状態を把握できる。
請求項3記載の発明によれば、システムの負荷を抑制しながらヘルスチェックを実行できる。
請求項4記載の発明によれば、不要なヘルスチェックの実行を抑制できる。
請求項5記載の発明によれば、ヘルスチェックを実行することなく、クラウドサービスの状態を監視できる。
請求項6記載の発明によれば、クラウドサービスが復旧するのを待ってヘルスチェックを再開できる。
請求項7記載の発明によれば、クラウドサービスが復旧するのを待ってヘルスチェックを再開できる。
請求項8記載の発明によれば、ユーザの操作を抑制してシステムの負荷の抑制できる。
請求項9記載の発明によれば、ユーザによる操作の再開を可能にできる。
請求項10記載の発明によれば、クラウドサービスのユーザによる使用中もヘルチェックを実行する場合に比して、システムに対する負荷を抑制できる。
According to the first aspect of the present invention, the load on the system can be suppressed as compared with the case where the hell check is executed even during use by the user of the cloud service.
According to the second aspect of the present invention, the state of the cloud server can be grasped without increasing the load on the system by the progress of the request from the user's terminal.
According to the invention of claim 3, the health check can be executed while suppressing the load on the system.
According to the invention of claim 4, it is possible to suppress the execution of unnecessary health checks.
According to the invention of claim 5, the state of the cloud service can be monitored without executing the health check.
According to the invention of claim 6, the health check can be restarted after waiting for the cloud service to be restored.
According to the invention of claim 7, the health check can be restarted after the cloud service is restored.
According to the invention of claim 8, it is possible to suppress the operation of the user and suppress the load on the system.
According to the invention of claim 9, it is possible for the user to resume the operation.
According to the tenth aspect of the present invention, the load on the system can be suppressed as compared with the case where the hell check is executed even during use by the user of the cloud service.
以下、添付図面を参照して、実施の形態について詳細に説明する。
<実施の形態1>
<システム構成>
図1は、実施の形態1で想定するクラウドシステム1の構成例を示す図である。
クラウドシステム1は、クラウドネットワーク10と、ユーザが操作する端末20と、クラウドサービスを提供するクラウドサーバ30と、端末20とクラウドサーバ30の間で通信を中継する中継サーバ40とで構成されている。中継サーバ40は、情報処理装置の一例である。
クラウドネットワーク10は、例えばインターネットやVPN(=Virtual Private Network)であり、専用線でもよい。
Hereinafter, embodiments will be described in detail with reference to the accompanying drawings.
<
<System configuration>
FIG. 1 is a diagram showing a configuration example of the
The
The
ユーザが操作する端末20は、クラウドサーバ30との連携により、様々なサービスをユーザに提供する。図1では、端末20の例として、画像形成装置20Aとノート型のコンピュータ20Bを表している。もっとも、端末20は、通信機能を有し、クラウドサービスを活用して機能の拡張が可能な機器であればよい。端末20は、例えばスマートフォン、タブレット型のコンピュータ、コネクティッドカー、IoT(=Internet of Things)家電、スマート家電でもよい。
本実施の形態で使用する画像形成装置20Aは、印刷、コピー、ファックス、スキャナ等の複数の機能を有している。この種の画像形成装置20Aは、複合機とも呼ばれる。
The terminal 20 operated by the user provides various services to the user in cooperation with the
The
クラウドサーバ30は、クラウドサービスを提供するサーバであり、本実施の形態の場合、サービス毎に用意される。クラウドサービスには、例えばグループウェア、バックオフィス、オンラインストレージ、OCR(=Optical Character Recognition)処理、データのフォーマット変換がある。本実施の形態では、データをストレージに記憶するサービスをストレージ型といい、データを処理するサービスや外部と接続するサービスを業務型という。
The
図1には、クラウドサーバ30の例として、業務型のクラウドサービスを提供するクラウドサーバ30A(以下「業務型のクラウドサーバ30A」という)とストレージ型のクラウドサービスを提供するクラウドサーバ30B(以下「ストレージ型のクラウドサーバ30B」という)を表している。
業務型のクラウドサーバ30Aは、例えば端末20から受信した文書データを処理して返却するサービスを提供する。ストレージ型のクラウドサーバ30Bは、端末20から受信した文書データを予め確保された領域に記憶する。なお、クラウドシステム1で扱うデータは文書データに限らない。
FIG. 1 shows, as an example of the
The business-
中継サーバ40は、端末20から入力されたリクエストに応じて1つ又は複数のクラウドサーバ30にアクセスし、リクエストに応じた処理の結果を端末20に通知する。本実施の形態における中継サーバ40は、クラウドサーバ30における障害の有無を検知するヘルスチェックを実行する。
図2は、中継サーバ40の構成例を説明する図である。中継サーバ40は、装置全体の動作を制御する制御ユニット41と、データを記憶する記憶装置42と、入出力ポート43と、通信装置44とを有している。なお、制御ユニット41と他の処理部は、信号線やバスを用いて相互に接続されている。
The
FIG. 2 is a diagram illustrating a configuration example of the
制御ユニット41は、CPU(=Central Processing Unit)41Aと、BIOS(=Basic Input Output System)等が記憶されたROM(=Read Only Memory)と、ワークエリアとして用いられるRAM(=Random Access Memory)とを有している。制御ユニット41は、いわゆるコンピュータとして機能する。CPU41Aは、プロセッサの一例である。
記憶装置42は、例えば半導体メモリやハードディスク装置により構成される。記憶装置42には、オペレーティングシステムやヘルスチェックに関するプログラムも記憶されている。
The
The
図3は、実施の形態1で使用する中継サーバ40の機能構成の一例を説明する図である。図3に示す機能は、CPU41Aによるプログラムの実行を通じて実現される。
中継サーバ40は、コアサービス410と、タスク定義モジュール420と、プラグインサービス430と、キュー440と、リクエスト状態管理部450と、ヘルスチェックリクエスト発行部460として機能する。
コアサービス410は、外部とのデータの受け渡しを実行するサブ機能で構成される。図3の場合、コアサービス410は、ユーザが操作する端末20と通信するタスクサービス410Aと、業務型のクラウドサーバ30Aと通信するAPI(=Application Programming Interface)デリゲートサービス410Bと、ストレージ型のクラウドサーバ30Bと通信するCMIS(=Content Management Interoperability Services)ゲートウェイサービス410Cとを有している。
FIG. 3 is a diagram illustrating an example of the functional configuration of the
The
The
タスクサービス410Aは、端末20から受け付けたリクエストやヘルスチェックリクエスト発行部460から受け付けたリクエストに基づいて、タスク定義モジュール420のイベント処理モジュール420Aを起動する処理、タスク定義モジュール420との連携によりプラグインを呼び出すリクエストを出力する処理、クラウドサービスから返却された文書データを端末20に返信する処理、リクエスト状態管理部450にリクエストの発行や終了を通知する処理等を実行する。
タスクサービス410Aは、イベント処理モジュール420Aを起動する場合、タスク定義をイベント処理モジュール420Aに与える。タスク定義は、プラグイン又は複数のプラグインの組み合わせにより実現される作業を定義する情報である。
The
When the
APIデリゲートサービス410Bは、業務型プラグインサービス430Aから読み出したプラグインを用い、業務型のクラウドサーバ30Aと通信する処理等を実行する。
CMISゲートウェイサービス410Cは、ストレージ型プラグインサービス430Bから読み出したプラグインを用い、ストレージ型のクラウドサーバ30Bと通信する処理等を実行する。
タスク定義モジュール420は、イベント処理モジュール420Aと、タスク定義ライブラリ420Bで構成される。イベント処理モジュール420Aは、タスク定義に関連するプラグインのライブラリを、タスク定義ライブラリ420Bから読み出す。
The
The
The
図3に示すプラグインサービス430は、業務型プラグインサービス430Aとストレージ型プラグインサービス430Bで構成される。
業務型プラグインサービス430Aは、業務型のサービス毎に用意され、文書処理プラグイン430A1と、プラグインライブラリ430A2とで構成される。
ストレージ型プラグインサービス430Bは、ストレージ型のサービス毎に用意され、ストレージ登録プラグイン430B1と、プラグインライブラリ430B2で構成される。
キュー440は、タスクサービス410Aから出力されたプラグインを呼び出すリクエストを格納する記憶領域である。
The plug-in
The business-type plug-in
The storage type plug-in
The
リクエスト状態管理部450は、ユーザが操作する端末20やヘルスチェックリクエスト発行部460から受け付けたリクエストの処理の状態を管理する機能と、管理の対象であるリクエストの状態を変更する機能と、リクエストの状態に応じ、ヘルスチェックリクエスト発行部460に対してヘルスチェックのためのリクエストの発行を依頼する機能とを有している。
本実施の形態の場合、リクエスト状態管理部450は、処理中のリクエストが継続している場合は、ヘルスチェックのためのリクエストを発行しない。
The request
In the case of this embodiment, the request
換言すると、ユーザが操作する端末20から受け付けたリクエストが処理中の場合やヘルスチェックのためのリクエストが処理中の場合、リクエスト状態管理部450は、それらの処理が完了するまで、ヘルスチェックのための新たなリクエストを発行しない。
本実施の形態におけるリクエスト状態管理部450がヘルスチェックのためのリクエストを発行するのは、処理中のリクエストがない場合に限られる。
ヘルスチェックリクエスト発行部460は、リクエスト状態管理部450から依頼があった場合に、ヘルスチェックのためのリクエストを発行してタスクサービス410Aに与える。
In other words, if the request received from the terminal 20 operated by the user is being processed or the request for health check is being processed, the request
The request
When the request
図4は、リクエスト状態管理部450が管理するリクエストの状態を説明する図である。
本実施の形態の場合、リクエストの状態は、新規、待機中、処理中、完了、失敗の5つである。
新規は、ユーザが操作する端末20又はヘルスチェックリクエスト発行部460から発行された新たなリクエストが登録された状態をいう。
待機中は、プラグインが処理待ちで待機している状態をいう。
処理中は、プラグインが処理を行っている状態をいう。
完了は、プラグインが処理を完了した状態をいう。
失敗は、プラグインの処理がエラーにより失敗した状態をいう。
FIG. 4 is a diagram illustrating a request state managed by the request
In the case of this embodiment, there are five request states: new, waiting, processing, completed, and failed.
The new state means a state in which a new request issued from the terminal 20 operated by the user or the health check
Waiting means that the plug-in is waiting for processing.
During processing, it means that the plug-in is processing.
Completion means that the plug-in has completed the process.
Failure means that the processing of the plug-in has failed due to an error.
前述したように、リクエストがない場合、又は、全てのリクエストが完了した場合に、リクエスト状態管理部450は、ヘルスチェックリクエスト発行部460に対してリクエストの発行を依頼する。一方、リクエストが新規、待機中、処理中、失敗の状態の場合に、リクエスト状態管理部450は、ヘルスチェックリクエスト発行部460に対してリクエストの発行を依頼しない。
リクエストの状態が新規、待機中、処理中、失敗の場合は、リクエストの処理が継続している状態の一例である。
As described above, when there is no request or when all the requests are completed, the request
When the status of the request is new, waiting, processing, or failure, it is an example of the state in which the processing of the request is continuing.
<処理動作>
図5は、端末20からリクエストが与えられた場合における中継サーバ40の処理動作の一例を説明する図である。
図5で説明する処理動作は、端末20からタスクサービス410Aに対し、リクエストの通知が与えられることで開始される。
リクエストを受け付けたタスクサービス410Aは、リクエスト状態管理部450に対し、新規のリクエストの発行を通知する。
通知を受け付けたリクエスト状態管理部450は、リクエストの状態を更新して「新規」とする。
この後、タスクサービス410Aは、キュー440にリクエストを格納する。
<Processing operation>
FIG. 5 is a diagram illustrating an example of a processing operation of the
The processing operation described with reference to FIG. 5 is started when the terminal 20 gives a request notification to the
The
The request
After that, the
プラグインサービス430は、キュー440にアクセスし、格納されているリクエストを取得する。その後、プラグインサービス430は、リクエストの処理を開始し、リクエスト状態管理部450に対し、リクエストの状態の更新を通知する。これにより、リクエスト状態管理部450による状態の管理は、「新規」から「処理中」に変更される。
やがて、リクエストの処理が終了すると、プラグインサービス430は、タスクサービス410Aに対し、リクエストの処理の完了を通知する。なお、業務型のプラグインサービスの場合は、処理済みのデータ又は結果もタスクサービス410Aに通知される。
The plug-in
Eventually, when the processing of the request is completed, the plug-in
通知を受けたタスクサービス410Aは、リクエスト状態管理部450に対し、リクエストの処理の完了を通知する。
通知を受けたリクエスト状態管理部450は、リクエストの状態を更新して「完了」とする。
図6は、リクエスト状態管理部450で管理されるリクエストの状態の遷移を説明する図である。リクエストの状態は、リクエストID(=IDentification)と紐付けて管理される。図6の場合、リクエストIDは、「REQ00001」で管理されている。図6の場合、状態は「新規」→「処理中」→「完了」に変化する。
Upon receiving the notification, the
Upon receiving the notification, the request
FIG. 6 is a diagram illustrating a transition of the request state managed by the request
図7は、ヘルスチェックのためのリクエストが発行される場合における中継サーバ40の処理動作の一例を説明する図である。
図7で説明する処理動作は、リクエスト状態管理部450が、予め定めた状態を検知することで開始される。具体的には、リクエストが無い、又は、全て完了している場合、リクエスト状態管理部450が、ヘルスチェックリクエスト発行部460に対し、リクエストの発行の依頼を通知する。
通知を受けたヘルスチェックリクエスト発行部460は、タスクサービス410Aに対し、ヘルスチェックのリクエストの発行を通知する。
FIG. 7 is a diagram illustrating an example of the processing operation of the
The processing operation described with reference to FIG. 7 is started when the request
Upon receiving the notification, the health check
リクエストの発行の通知を受け付けたタスクサービス410Aは、リクエスト状態管理部450に対し、新規のリクエストの発行を通知する。
通知を受け付けたリクエスト状態管理部450は、リクエストの状態を更新して「新規」とする。
この後、タスクサービス410Aは、キュー440にリクエストを格納する。
プラグインサービス430は、キュー440にアクセスし、格納されているリクエストを取得する。その後、プラグインサービス430は、リクエストの処理を開始し、リクエスト状態管理部450に対し、リクエストの状態の更新を通知する。これにより、リクエスト状態管理部450による状態の管理は、「新規」から「処理中」に変更される。ヘルスチェックのためのリクエストは、クラウドサービスの動作の状態を確認することを目的とするので、処理自体は簡易である。
Upon receiving the notification of the issuance of the request, the
The request
After that, the
The plug-in
やがて、リクエストの処理が終了すると、プラグインサービス430は、タスクサービス410Aに対し、リクエストの処理の完了を通知する。
通知を受けたタスクサービス410Aは、リクエスト状態管理部450に対し、リクエストの処理の完了を通知する。
通知を受けたリクエスト状態管理部450は、リクエストの状態を更新して「完了」とする。
図8は、リクエスト状態管理部450で管理されるリクエストの状態の遷移を説明する図である。図8の場合、リクエストIDは、「REQ00002」で管理されている。
図8の場合、「REQ00002」のリクエストは、「REQ00001」のリクエストが完了した後に発行される。このため、「REQ00002」の状態が「新規」として登録されたときには、「REQ00001」の状態が既に「完了」になっている。その後の「REQ00002」の状態の変化は、「REQ00001」の状態の変化と同じである。
Eventually, when the processing of the request is completed, the plug-in
Upon receiving the notification, the
Upon receiving the notification, the request
FIG. 8 is a diagram illustrating a transition of the request state managed by the request
In the case of FIG. 8, the request of "REQ00002" is issued after the request of "REQ00001" is completed. Therefore, when the state of "REQ00002" is registered as "new", the state of "REQ00001" is already "completed". Subsequent changes in the state of "REQ00002" are the same as changes in the state of "REQ00001".
<実施の形態2>
実施の形態2の場合にも、実施の形態1で説明したクラウドシステム1(図1参照)を想定する。
図9は、実施の形態2で使用する中継サーバ40の機能構成の一例を説明する図である。図9には、図3との対応部分に対応する符号を付して示している。
本実施の形態で使用する中継サーバ40は、障害管理部470を有する点で実施の形態1と相違する。
本実施の形態における障害管理部470には、プラグインサービス430のログから障害の発生を検知する機能と、プラグインサービス430のログから障害からの復旧を検知する機能と、障害の発生をリクエスト状態管理部450に通知する機能と、障害からの復旧をリクエスト状態管理部450に通知する機能とが設けられている。
<Embodiment 2>
Also in the case of the second embodiment, the cloud system 1 (see FIG. 1) described in the first embodiment is assumed.
FIG. 9 is a diagram illustrating an example of the functional configuration of the
The
The
図10は、クラウドサービスに障害が発生した場合における中継サーバ40の処理動作の一例を説明する図である。
図10で説明する処理動作は、プラグインサービス430のログを通じてリクエストの処理に障害が発生したことを検知した障害管理部470が、リクエスト状態管理部450に対し、障害の発生を通知が与えることで開始される。通知を受けたリクエスト状態管理部450は、リクエストの状態を更新して「失敗」とする。
やがて、プラグインサービス430のログを通じてリクエストの処理が復旧したことを検知すると、障害管理部470は、リクエスト状態管理部450に対し、障害からの復旧を通知する。通知を受けたリクエスト状態管理部450は、リクエストの状態を更新して「処理中」とする。
FIG. 10 is a diagram illustrating an example of processing operation of the
In the processing operation described with reference to FIG. 10, the
Eventually, when it is detected through the log of the plug-in
図11は、リクエスト状態管理部450で管理されるリクエストの状態の遷移を説明する図である。
図11の場合、「REQ00002」で管理されるリクエストの処理中に、リクエストを処理しているクラウドサービスに障害が発生している。このため、「REQ00002」の状態が「処理中」から「失敗」に変化している。なお、障害からの復旧が確認された後は、「REQ00002」の状態が「失敗」から「処理中」に戻っている。
この後、「REQ00002」の処理が完了すると、「REQ00002」の状態は、「完了」に変化する。
FIG. 11 is a diagram illustrating a transition of the request state managed by the request
In the case of FIG. 11, a failure has occurred in the cloud service processing the request during the processing of the request managed by "REQ00002". Therefore, the state of "REQ00002" has changed from "processing" to "failure". After the recovery from the failure is confirmed, the status of "REQ00002" returns from "failure" to "processing".
After that, when the processing of "REQ00002" is completed, the state of "REQ00002" changes to "completed".
<実施の形態3>
実施の形態3の場合にも、実施の形態1で説明したクラウドシステム1(図1参照)を想定する。
図12は、実施の形態3で使用する端末20と中継サーバ40の機能構成の一例を説明する図である。図12には、図9との対応部分に対応する符号を付して示している。
本実施の形態の場合、ユーザが操作する端末20には、自装置からプラグインサービス430の状態を問い合わせるプラグインサービス状態確認部210と、プラグインサービス430の状態を表示部に表示するプラグインサービス状態表示部220とが設けられている。
<Embodiment 3>
Also in the case of the third embodiment, the cloud system 1 (see FIG. 1) described in the first embodiment is assumed.
FIG. 12 is a diagram illustrating an example of the functional configuration of the terminal 20 and the
In the case of the present embodiment, the terminal 20 operated by the user has a plug-in service
プラグインサービス状態確認部210は、操作画面上でプラグインサービスの状態の確認を求める操作を受け付けた場合、中継サーバ40に対して、プラグインサービスの状態の問い合わせを実行する。この問い合わせは、クラウドサービスに対してデータの処理を求めるリクエストではないので、タスクサービス410Aには送信されない。
本実施の形態の場合、プラグインサービス状態表示部220は、問い合わせに対する応答として、プラグインサービスの現在の状態を表示する。なお、リクエスト状態管理部450が、ユーザからの問い合わせとは無関係に、プラグインサービスの現在の状態をプラグインサービス状態表示部220に表示させてもよい。
When the plug-in service
In the case of the present embodiment, the plug-in service
本実施の形態で使用する中継サーバ40には、実施の形態2の機能構成に加え、プラグインサービス状態保持部480と、プラグインサービス状態受付部490と、プラグインサービス状態通知部500とが設けられている。
プラグインサービス状態保持部480は、障害管理部470より通知されたプラグインサービス430の状態を保持する。
プラグインサービス状態受付部490は、端末20からプラグインサービス430の状態の問い合わせを受け付ける。プラグインサービス状態受付部490は、問い合わせを受け付けた場合、プラグインサービス状態保持部480に保持されている状態を読み出し、プラグインサービス状態通知部500に通知する。
プラグインサービス状態通知部500は、プラグインサービス状態受付部490から与えられたプラグインサービスの状態を端末20に通知する。
In addition to the functional configuration of the second embodiment, the
The plug-in service
The plug-in service
The plug-in service
図13は、プラグインサービス状態保持部480に保持されている状態の例を説明する図である。
図13の場合、3つのプラグインサービスの状態が保持されている。図13の場合、プラグインサービスの「PLGSVC001」と「PLGSVC002」の状態は「活性」であり、プラグインサービスの「PLGSVC003」の状態は「非活性」である。
図14は、端末20からプラグインサービスの状態が問い合わされた場合における中継サーバ40の処理動作の一例を説明する図である。
図14に説明する処理動作は、端末20(図1参照)のプラグインサービス状態確認部210が、プラグインサービス状態受付部490に対し、プラグインサービス430(図12参照)の状態を問い合わせることで開始される。前述したように、問い合わせは、ユーザが端末20を通じて指示した場合に送信される。
FIG. 13 is a diagram illustrating an example of a state held in the plug-in service
In the case of FIG. 13, the states of the three plug-in services are maintained. In the case of FIG. 13, the state of the plug-in service "PLGSVC001" and "PLGSVC002" is "active", and the state of the plug-in service "PLGSVC003" is "inactive".
FIG. 14 is a diagram illustrating an example of a processing operation of the
In the processing operation described with reference to FIG. 14, the plug-in service
プラグインサービス状態受付部490は、プラグインサービス430の状態の問い合わせを受信すると、プラグインサービス状態保持部480に対し、プラグインサービス430が利用可能かを問い合わせる。問い合わせは、特定のプラグインサービス430を指定せずに行ってもよいが、特定のプラグインサービス430を指定して行ってもよい。例えば端末20で実行されている機能に関連するプラグインサービス430を指定する。指定は、プラグインサービス状態確認部210が行ってもよいし、プラグインサービス状態受付部490が行ってもよい。
プラグインサービス状態保持部480は、保持している状態をプラグインサービス状態受付部490に戻す。図14の場合、「非活性」との情報がプラグインサービス状態受付部490に戻される。
Upon receiving the inquiry about the status of the plug-in
The plug-in service
次に、プラグインサービス状態受付部490は、プラグインサービス状態通知部500に対し、プラグインサービス430の状態の通知を依頼する。
依頼を受け付けたプラグインサービス状態通知部500は、プラグインサービス状態表示部220に対し、プラグインサービス430の状態を通知する。
この後、プラグインサービス状態表示部220は、表示部にプラグインサービス430の状態を表示する。
図15は、プラグインサービス430の状態を示す画面230の表示例を示す図である。図15に示す画面230は、プラグインサービス430(図12参照)の状態を問い合わせた端末20(図1参照)の表示部200Aに表示される。図15に示す画面230は、XXXサービスが停止していることを示している。
図16は、プラグインサービス430の状態を示す他の画面240の表示例を示す図である。図16に示す画面240は、停止していたXXXサービスが復旧した直後に表示される。
Next, the plug-in service
The plug-in service
After that, the plug-in service
FIG. 15 is a diagram showing a display example of the
FIG. 16 is a diagram showing a display example of another
なお、プラグインサービス状態受付部490には、プラグインサービス430の状態が非活性の場合に、ユーザからの問い合わせがなくてもユーザにより選択された処理を実行するプラグインサービス430に障害が検知されると、代替が可能な他のサービスを端末20に通知する機能を設けてもよい。
図17は、画像形成装置20A(図1参照)の表示部200Aに対するユーザの操作の例を説明する図である。(A)は画像形成装置20Aで読み取った原稿の画像データのOCR処理を選択した状態を示し、(B)はOCR処理後の文字データをフォーマットAで記憶する状態を示す。
なお、OCR処理は、業務型のクラウドサーバ30Aで実行され、フォーマットAによる文字データの記憶は、ストレージ型のクラウドサーバ30Bで実行される。図17では、OCR処理が選択された状態とフォーマットAへの変換が選択された状態を破線で囲んで示している。
In the plug-in service
FIG. 17 is a diagram illustrating an example of a user's operation on the
The OCR process is executed by the business-
図18は、ユーザが選択したフォーマットAへの文字データへの変換を実行できない場合に代替フォーマットへの変換を提示する画面270の例を示す図である。
図18の場合、画面270には、「ただいま、サーバの障害によりフォーマットAへの変換ができません。代替機能として、フォーマットBへの変換は可能です。フォーマットBに変換し、処理を継続しますか?」と表示されており、「はい」か「いいえ」の選択が可能である。
フォーマットAは、例えばPDF(=Portable Document Format)であり、フォーマットBは、例えばDocuWorks(登録商標)である。
FIG. 18 is a diagram showing an example of a
In the case of FIG. 18, on the
Format A is, for example, PDF (= Portable Document Format), and format B is, for example, DocuWorks®.
なお、図18に示す画面270を表示しても、ユーザによる代替機能の選択がいつまで経っても入力されない状況も考えられる。例えば原稿のスキャンの実行を画像形成装置20Aに指示した後に、ユーザが画像形成装置20Aから離れた場合である。
予め定めた時間が経過してもユーザによる選択が入力されない場合に備えた機能として、プラグインサービス状態表示部220に、予め登録されているユーザのメールアドレスに対して他のフォーマットへの変換を実行するかを問い合わせる機能を設けてもよい。
ユーザからの選択を受け付ける前に障害が復旧した場合、クラウドサービスの処理が再開される。
Even if the
As a function in case the user's selection is not input even after the predetermined time has elapsed, the plug-in service
If the failure recovers before accepting the user's selection, the cloud service processing will resume.
<他の実施の形態>
以上、本発明の実施の形態について説明したが、本発明の技術的範囲は前述した実施の形態に記載の範囲に限定されない。前述した実施の形態に、種々の変更又は改良を加えたものも、本発明の技術的範囲に含まれることは、特許請求の範囲の記載から明らかである。
<Other embodiments>
Although the embodiments of the present invention have been described above, the technical scope of the present invention is not limited to the scope described in the above-described embodiments. It is clear from the description of the claims that the above-mentioned embodiments with various modifications or improvements are also included in the technical scope of the present invention.
例えば前述の実施の形態では、端末20の例として、印刷、コピー、ファックス、スキャナ等の複数の機能を備える画像形成装置20Aを想定したが、印刷の専用機やスキャナの専用機でもよい。また、端末20は、画像形成装置20Aのように、用紙等の記録媒体に画像を形成する装置ではなく、例えば3次元データを用いて立体像を形成する3次元プリンタでもよい。
For example, in the above-described embodiment, as an example of the terminal 20, an
また、前述の実施の形態におけるプロセッサは、広義的な意味でのプロセッサを指し、汎用的なプロセッサ(例えばCPU等)の他、専用的なプロセッサ(例えばGPU、ASIC(=Application Specific Integrated Circuit)、FPGA、プログラム論理デバイス等)を含む。
また、前述した各実施の形態におけるプロセッサの動作は、1つのプロセッサが単独で実行してもよいが、物理的に離れた位置に存在する複数のプロセッサが協働して実行してもよい。また、プロセッサにおける各動作の実行の順序は、前述した各実施の形態に記載した順序のみに限定されるものでなく、個別に変更してもよい。
Further, the processor in the above-described embodiment refers to a processor in a broad sense, and in addition to a general-purpose processor (for example, CPU), a dedicated processor (for example, GPU, ASIC (= Application Specific Integrated Circuit)). FPGA, program logic device, etc.) is included.
Further, the operation of the processor in each of the above-described embodiments may be executed by one processor alone, or may be executed by a plurality of processors existing at physically separated positions in cooperation with each other. Further, the order of execution of each operation in the processor is not limited to the order described in each of the above-described embodiments, and may be changed individually.
1…クラウドシステム、10…クラウドネットワーク、20…端末、20A…画像形成装置、20B…ノート型のコンピュータ、30…クラウドサーバ、30A…業務型のクラウドサーバ、30B…ストレージ型のクラウドサーバ、40…中継サーバ、41…制御ユニット、41A…CPU、42…記憶装置、43…入出力ポート、44…通信装置、410…コアサービス、420…タスク定義モジュール、430…プラグインサービス、440…キュー、450…リクエスト状態管理部、460…ヘルスチェックリクエスト発行部 1 ... cloud system, 10 ... cloud network, 20 ... terminal, 20A ... image forming device, 20B ... notebook computer, 30 ... cloud server, 30A ... business type cloud server, 30B ... storage type cloud server, 40 ... Relay server, 41 ... control unit, 41A ... CPU, 42 ... storage device, 43 ... input / output port, 44 ... communication device, 410 ... core service, 420 ... task definition module, 430 ... plug-in service, 440 ... queue, 450 … Request status management department, 460… Health check request issuing department
Claims (10)
前記プロセッサは、
受け付けたリクエストに関する処理の状態を監視し、
処理が継続している前記リクエストがある間、ヘルスチェックのリクエストを発行しない
情報処理装置。 An information processing device that provides a service that relays the use of cloud services by a terminal operated by a user has a processor and has a processor.
The processor
Monitor the processing status of the received request and monitor it.
An information processing device that does not issue a health check request while there is the request whose processing is continuing.
受け付けたリクエストに関する処理の状態を監視する機能と、
処理が継続している前記リクエストがある間、ヘルスチェックのリクエストを発行しない機能と
を実現させるプログラム。 On the computer
A function to monitor the processing status of received requests and
A program that realizes a function that does not issue a health check request while there is the request whose processing is continuing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020101134A JP2021197588A (en) | 2020-06-10 | 2020-06-10 | Information processing device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020101134A JP2021197588A (en) | 2020-06-10 | 2020-06-10 | Information processing device and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2021197588A true JP2021197588A (en) | 2021-12-27 |
Family
ID=79196190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020101134A Pending JP2021197588A (en) | 2020-06-10 | 2020-06-10 | Information processing device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2021197588A (en) |
-
2020
- 2020-06-10 JP JP2020101134A patent/JP2021197588A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5846051B2 (en) | Image forming apparatus, control program for image forming apparatus, and image forming system | |
US10333774B2 (en) | Image forming apparatus that cooperates with management server, method of controlling image forming apparatus, and storage medium | |
US10601904B2 (en) | Cooperation system | |
US10554831B2 (en) | Remote maintenance system for image processing apparatus, capable of reducing user's time and effort, communication establishment method, and storage medium | |
US9990166B2 (en) | Information processing system in which connection for job transmission is established, processing apparatus, and server | |
US20150293732A1 (en) | Image Forming System, Service Providing Server, Information Processing Terminal, Image Forming Device and Non-Transitory Computer Readable Recording Medium | |
US10382259B2 (en) | Management apparatus, control method, and storage medium | |
US10291815B2 (en) | Information processing apparatus capable of communicating with any of one or more servers according to a first protocol and a second protocol, information processing system including the information processing apparatus, and a method performed by the information processing apparatus | |
JP6343178B2 (en) | Communication system and control method therefor, first terminal and control method therefor, and program | |
US7697851B2 (en) | User initiated alerts in a document processing environment | |
JP2021197588A (en) | Information processing device and program | |
JP2017134702A (en) | Server system, control method of server system, and program | |
JP2020030626A (en) | Processing system, control system, relay device and communication method | |
JP2016152461A (en) | Cloud system, router, management server, and program | |
US11467787B2 (en) | Communication system, first server, second server, non-transitory computer-readable recording medium storing computer-readable instructions for first server and non-transitory computer-readable recording medium storing computer-readable instructions for second server | |
JP2006309528A (en) | Distribution device and distribution control method | |
JP2023130667A (en) | Monitoring apparatus, network device, method for controlling monitoring apparatus, method for controlling network device, and program | |
JP7395908B2 (en) | information processing system | |
US11586400B2 (en) | Image processing device and non-transitory computer-readable recording medium storing computer-readable instructions for image processing device | |
EP4303712A1 (en) | Printing apparatus, control method, and program | |
JP2008113134A (en) | Network system using presence information and information processing method therefor | |
JP2020048126A (en) | Relay system | |
JP5760885B2 (en) | Approval terminal device | |
JP2023136634A (en) | Printing management system and method | |
JP2002297348A (en) | Printer, data managing device, message notification method and message notification program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230316 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240130 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240206 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240405 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20240423 |