JP6921544B2 - Applications and information processing equipment - Google Patents
Applications and information processing equipment Download PDFInfo
- Publication number
- JP6921544B2 JP6921544B2 JP2017023571A JP2017023571A JP6921544B2 JP 6921544 B2 JP6921544 B2 JP 6921544B2 JP 2017023571 A JP2017023571 A JP 2017023571A JP 2017023571 A JP2017023571 A JP 2017023571A JP 6921544 B2 JP6921544 B2 JP 6921544B2
- Authority
- JP
- Japan
- Prior art keywords
- background task
- application
- user
- registered
- information processing
- 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
Links
Images
Description
本発明は、アプリケーション、および情報処理装置に関する。 The present invention relates to an application and an information processing device.
Microsoft(登録商標)社が提供するWindows(登録商標) OSでは、Windows(登録商標) 8以降のOSにおいてVersion4と呼ばれる新しいプリンタドライバ(V4ドライバ)のアーキテクチャが採用されている。V4ドライバは、それ以前から採用されているVersion3ドライバ(V3ドライバ)とはインストールの仕組みが異なる。 In the Windows (registered trademark) OS provided by Microsoft (registered trademark), a new printer driver (V4 driver) architecture called Version 4 is adopted in the OS of Windows (registered trademark) 8 or later. The V4 driver has a different installation mechanism from the Version3 driver (V3 driver) that has been adopted before that.
V3ドライバは、プリンタに同梱されたインストールメディアを使ってコンピュータにインストールする方法が主流であるが、V4ドライバは、V4ドライバ対応プリンタがコンピュータに接続されるとコンピュータに自動インストールされる方法が主流となる。 The mainstream method is to install the V3 driver on the computer using the installation media included with the printer, but the mainstream method is to automatically install the V4 driver on the computer when the V4 driver compatible printer is connected to the computer. It becomes.
また、V4ドライバ対応プリンタに紐付いたWindows ストア デバイス アプリをV4ドライバ対応プリンタのユーザに提供する仕組みもMicrosoft社によって提供されている。以下、Windows ストア デバイス アプリをデバイスアプリと呼ぶ。デバイスアプリは、V4ドライバの機能拡張用アプリケーションである。V4ドライバ対応プリンタがコンピュータに接続されると、V4ドライバ対応プリンタに紐付いたデバイスアプリもまたコンピュータに自動インストールされる。 In addition, Microsoft also provides a mechanism for providing a Windows store device application linked to a V4 driver compatible printer to users of a V4 driver compatible printer. Hereinafter, the Windows store device application will be referred to as a device application. The device application is an application for expanding the function of the V4 driver. When the V4 driver compatible printer is connected to the computer, the device application associated with the V4 driver compatible printer is also automatically installed on the computer.
特許文献1は、V4ドライバにおける印刷設定を行うUIモジュールDCAが印刷設定の統計情報を収集するバックグラウンドタスクを実行し、その情報を利用して印刷設定画面に表示する印刷処理装置を開示している。 Patent Document 1 discloses a print processing device in which a UI module DCA that performs print settings in a V4 driver executes a background task that collects statistical information of print settings and displays the information on a print setting screen. There is.
例えば、プリンタと関連してバックグラウンドで動作する常駐あるいは定期的に実行されるアプリケーションがあるとする。以下、このようなアプリケーションを「バックグラウンドアプリ」と呼ぶ。バックグラウンドアプリは、プリンタのドライバに付属させることで当該プリンタのユーザに提供することができる。バックグラウンドアプリは、バックグラウンドで動作させるために、OS(オペレーティングシステム)やスケジューリングサービスなどに登録する必要がある。 For example, suppose you have a resident or regularly running application that runs in the background in connection with a printer. Hereinafter, such an application will be referred to as a "background application". The background application can be provided to the user of the printer by being attached to the driver of the printer. Background applications need to be registered in the OS (operating system), scheduling service, etc. in order to operate in the background.
V3ドライバ対応プリンタにおいて、バックグラウンドアプリをユーザに提供するには、当該バックグラウンドアプリのインストーラをプリンタに同梱のドライバインストールメディアに載せることが一般的である。ドライバインストールメディアを使用すると、ドライバインストール時に該インストーラによってバックグラウンドアプリをOSやスケジューリングサービスに登録し、バックグラウンドで動作させることができる。V4ドライバ対応プリンタにおいても、同様にドライバインストールメディアを利用してバックグラウンドアプリをユーザに提供することは可能である。 In a V3 driver compatible printer, in order to provide a background application to a user, it is common to put the installer of the background application on the driver installation media included with the printer. When the driver installation media is used, the background application can be registered in the OS or the scheduling service by the installer at the time of driver installation, and can be operated in the background. Similarly, in a printer compatible with a V4 driver, it is possible to provide a background application to a user by using the driver installation media.
しかしながら、今後V3ドライバからV4ドライバへの移行が進み、ドライバの自動インストールが主流となると、わざわざドライバインストールメディアを利用するユーザが激減することが予想される。つまり、多くのユーザがバックグラウンドアプリをインストールする機会を失うことになる。 However, as the transition from V3 drivers to V4 drivers progresses in the future and automatic driver installation becomes mainstream, it is expected that the number of users who bother to use driver installation media will decrease sharply. This means that many users will lose the opportunity to install background apps.
本発明は、ネットワークデバイスに対応するアプリケーションを自動でインストール可能な環境において、バックグラウンドアプリケーションがより多くのユーザに利用されることを可能とする情報処理装置を提供することを目的とする。 An object of the present invention is to provide an information processing device that enables a background application to be used by a larger number of users in an environment in which an application corresponding to a network device can be automatically installed.
本発明の一実施形態のアプリケーションは、オペレーティングシステム(OS)を有する情報処理装置にインストールされるアプリケーションであって、前記OSに実行されることにより、バックグラウンドタスクを登録することが可能となっており、前記バックグラウンドタスクが未登録な状態で、当該情報処理装置にネットワークを介して接続されたデバイスからのイベント通知に起因して前記OSにより実行された場合には、ユーザに対して当該バックグラウンドタスクの登録に関する許諾を求めるための通知を行い、前記バックグラウンドタスクが未登録な状態で、前記OSのスタートメニューへのユーザ操作に起因して前記OSにより実行された場合には、ユーザに対して当該バックグラウンドタスクの登録に関する許諾を求めるための通知を行わない。 The application of one embodiment of the present invention is an application installed in an information processing device having an operating system (OS), and by executing the application in the OS, it becomes possible to register a background task. If the background task is not registered and is executed by the OS due to an event notification from a device connected to the information processing device via a network, the back is given to the user. When a notification is given to request permission for registration of a ground task and the background task is executed by the OS due to a user operation to the start menu of the OS while the background task is not registered, the user is notified. No notification will be given to request permission for registration of the background task.
本発明の情報処理装置によれば、ネットワークデバイスに対応するアプリケーションを自動でインストール可能な環境において、バックグラウンドアプリケーションがより多くのユーザに利用されることを可能とする。 According to the information processing apparatus of the present invention, a background application can be used by a larger number of users in an environment in which an application corresponding to a network device can be automatically installed.
以下、本発明を実施するための形態について図面などを参照して説明する。 Hereinafter, embodiments for carrying out the present invention will be described with reference to drawings and the like.
(第1実施形態)
本実施形態では、ネットワークサービスを介して、ネットワークデバイスに対応するアプリケーションを自動でインストール可能な環境において、バックグラウンドアプリを提供する仕組みについて説明する。本実施形態では、一例として、ネットワークデバイスがプリンタであり、WindowsのV4ドライバがサポートされる環境にて、バックグラウンドアプリをデバイスアプリの一機能としてデバイスアプリと共にユーザの情報処理装置に提供する。
(First Embodiment)
In this embodiment, a mechanism for providing a background application in an environment in which an application corresponding to a network device can be automatically installed via a network service will be described. In the present embodiment, as an example, in an environment where the network device is a printer and the Windows V4 driver is supported, the background application is provided to the user's information processing device together with the device application as one function of the device application.
図1は、デバイスアプリが動作する情報処理装置のハードウエア構成例を示す図である。
デバイスアプリは、コンピュータプログラムとしてHDD1002またはROM1003に格納されている。CPU1005は、OSとコンピュータプログラムをHDD1002またはROM1003から読み出してRAM1004にロードし、実行する。
FIG. 1 is a diagram showing a hardware configuration example of an information processing device on which a device application operates.
The device application is stored in the
処理結果は、ファイルとしてHDD1002に格納されるか、またはデータとしてRAM1004に記憶される。デバイスアプリは、コンピュータに接続されているマウスやタッチパネル等の入力装置1007からユーザの入力や、各種センサの読み取り値を取得する。また、デバイスアプリは、情報処理装置の表示部を含む出力装置1006に対して情報を出力し、処理結果を表示する。
The processing result is stored in the
さらに、デバイスアプリは、通信装置1008を介してネットワークに接続された他のコンピュータやプリンタなどの装置と通信を行う。図1に示した各ハードウエアは、バス1001で互いに接続されており、コンピュータプログラムから操作できるように構成されている。
Further, the device application communicates with other devices such as a computer and a printer connected to the network via the
図2は、本実施形態に係るデバイスアプリと、関連するソフトウエアモジュールの構成例を示す図である。
アプリケーション400は、Windows 8以降のOSにおいてサポートされているアプリケーションモデルを使用して構築された印刷可能なアプリケーションである。アプリケーション400は、ユーザから印刷要求を受けると、印刷対象データを印刷システム500に送信する。
FIG. 2 is a diagram showing a configuration example of a device application according to the present embodiment and a related software module.
印刷システム500は、OSのサブシステムであり、プリンタの選択や基本的な印刷設定など、プリンタの機種に依存しない共通処理を実行する。プリンタドライバ600は、選択されたプリンタ特有の印刷設定や印刷対象データの変換処理など、プリンタの機種に依存する処理を実行する。プリントスプーラ700は、OSのサブシステムであり、プリンタドライバ600とプリンタ間のデータの送受信を担当する。イベントブローカ800は、アプリケーション400のバックグラウンドタスクの実行を調整するOSのサブシステムである。
The
デバイスメタデータ保管部900は、デバイスメタデータを保管するOSのサブシステムである。デバイスメタデータは、プリンタのモデル名や製造元などの基本情報の他、プリンタに紐付けられたデバイスアプリ100のIDや発行元など、プリンタとデバイスアプリとを結びつける情報を有する。デバイスメタデータは、コンピュータへのプリンタ接続時に自動的にダウンロードされ、デバイスメタデータ保管部900で保管される。
The device
デバイスアプリ100は、Windows 8以降のOSにおいてサポートされているアプリケーションモデルを使用して構築されたアプリケーションである。デバイスアプリ100は、プリンタドライバ600を補助する機能拡張用アプリケーションとして位置づけられる。デバイスアプリ100は、一つ以上のV4ドライバ対応プリンタに紐付いており、ネットワークに接続された情報処理装置にプリンタが接続されると自動的にインストールされる。
The
デバイスアプリ100は、印刷システム500で選択されたプリンタに特化した印刷設定などを独自のUI(ユーザインタフェース)で表示および設定する機能を有する。デバイスアプリ100は、スタートアプリ処理部110、印刷設定処理部120、バックグラウンドタスク処理部140、バックグラウンドタスク登録部150、およびバックグラウンドタスク登録条件記憶部160を備える。
The
デバイスアプリ100は、2通りの起動方法をユーザに提供する。ひとつは、Windowsのスタートメニューからデバイスアプリ100を選択することによって起動する方法である。もうひとつは、アプリケーション400から印刷要求を出すことで印刷システム500を起動し、さらに印刷システム500のUIから印刷の詳細設定を行う画面(以下、印刷設定画面と呼ぶ)を開くことによって起動する方法である。これら2つの起動方法を区別するため、前者を「ユーザによる起動」、後者を「印刷システムによる起動」と呼び分ける。
The
デバイスアプリ100がユーザによって起動された場合、スタートアプリ処理部110が起動時の処理を行い、印刷システム500によって起動された場合、印刷設定処理部120が起動時の処理を行うように制御される。なお、デバイスアプリ100が上記2つの方法で起動された状態を、デバイスアプリ100がアクティブである、またはフォアグラウンドで動作していると言う。
When the
バックグラウンドタスク処理部140は、プリンタと関連してバックグラウンドで動作するコンピュータプログラムであるバックグラウンドアプリの一つである。本実施形態では、バックグラウンドアプリをデバイスアプリ100のバックグラウンドタスクとして実装する。バックグラウンドタスクは、時間やOSのシステムイベントをトリガに実行される。OSが提供するそれらのトリガを利用するためには、バックグラウンドタスクと当該バックグラウンドタスクが使用するトリガとを対にしてOSに登録する必要がある。
The background
バックグラウンドタスク登録部150は、バックグラウンドタスク処理部140が実行するタスクをOSに登録する処理を担う。なお、特に指定がない限り、以下では「バックグラウンドタスク」とはバックグラウンドタスク処理部140が実行するタスクのことを意味する。バックグラウンドタスク登録条件記憶部160は、バックグラウンドタスクをOSに登録する必要があるか否かを判断するための情報を記憶する。
The background
なお、本実施形態では、バックグラウンドタスクがユーザの許諾を得なければ動作することができないものとして説明するが、バックグラウンドタスクは、ユーザの許諾を必要としないものでも良い。本実施形態では、デバイスアプリ100は、ユーザの許諾を得るために通知画面や許諾確認画面を提示する。通知画面および許諾確認画面の詳細については、図3を用いて後述する。
In the present embodiment, it is assumed that the background task cannot operate without the permission of the user, but the background task may not require the permission of the user. In the present embodiment, the
図4は、デバイスアプリ100の起動時の処理を説明するフローチャートである。
上述したように、デバイスアプリ100には2つの起動方法があり、起動方法によって処理が異なる。ステップS2001にて、ユーザによってデバイスアプリ100が起動されると、スタートアプリ処理部110が呼び出され、処理はステップS2101に進む。
FIG. 4 is a flowchart illustrating a process at the time of starting the
As described above, the
一方、印刷システムのUIから印刷設定画面を開くことによってデバイスアプリ100が起動されると、印刷設定処理部120が呼び出され、処理はステップS2201に進む。ステップS2101で、スタートアプリ処理部110は、デバイスアプリ100の起動処理を行う。なお、ユーザによって起動された場合のデバイスアプリ100の起動処理を「スタートアプリの起動処理」と呼ぶ。
On the other hand, when the
ステップS2102で、バックグラウンドタスク登録部150は、バックグラウンドタスクが登録済みか否かをOSに問い合わせる。この処理は、同一のバックグラウンドタスクをOSに対して多重登録しないようにするために行う。バックグラウンドタスクが未登録の場合、処理はステップS2103に進み、登録済みの場合、処理を終了する。ステップS2103で、バックグラウンドタスク登録部150は、バックグラウンドタスクの登録処理を実行するか判定する。
In step S2102, the background
ステップS2103にて実行される判定処理の詳細については、表1を用いて後述する。ステップS2103にてバックグラウンドタスク登録部150が登録処理を実行すると判定した場合、処理はステップS3000に進み、登録処理を実行しないと判定した場合、処理を終了する。ステップS3000で、バックグラウンドタスク登録部150は、バックグラウンドタスクの登録処理を実行する。バックグラウンドタスクの登録処理の詳細については、図5を用いて後述する。
Details of the determination process executed in step S2103 will be described later with reference to Table 1. If it is determined in step S2103 that the background
ステップS2201で、印刷設定処理部120は、デバイスアプリ100の起動処理を行う。なお、印刷システム500によって起動された場合のデバイスアプリ100の起動処理を「印刷設定画面の起動処理」と呼ぶ。印刷設定画面が起動されたとき、印刷設定処理部120は印刷設定画面の起動処理を実行する。ステップS2202で、スタートアプリの起動処理(ステップS2101)後の処理と同様に、バックグラウンドタスク登録部150は、バックグラウンドタスクが登録済みか否かをOSに問い合わせる。
In step S2201, the print
そして、バックグラウンドタスクが未登録の場合、ステップS2203にて、バックグラウンドタスク登録部150は、バックグラウンドタスクの登録処理を実行するか判定する。ステップS2203にて実行される判定処理の詳細については、表1を用いて後述する。バックグラウンドタスク登録部150が登録処理を実行すると判定した場合、処理はステップS2204に進む。ステップS2204で、バックグラウンドタスク登録部150は、未登録のバックグラウンドタスクを通知する通知画面を表示する。
Then, when the background task is not registered, in step S2203, the background
図3(A)は、バックグラウンドタスク登録部150が表示する通知画面の一例を示す図である。
通知画面200は、トースト表示(トースト通知)である。トースト表示とは、ユーザの操作を阻害しないように、デバイスアプリ100の印刷設定画面とは別に画面の隅に表示されるメッセージ(通知)のことである。通知画面200は、ユーザにデバイスアプリ100のバックグラウンドタスクの存在を知らせ、バックグラウンドタスクの登録を促す役割を有する。なお、本実施形態では、ユーザへの通知がトースト表示である場合について説明するが、これに限られるものではなく、どのような方法でユーザに通知してもよい。
FIG. 3A is a diagram showing an example of a notification screen displayed by the background
The
ユーザは、表示された通知画面200に対して、アクティブ化するか、無視するか、または非表示にするかのうちいずれかを実施することができる。アクティブ化するには、ユーザが通知画面200をクリックまたはタップすることで実施できる。デバイスアプリ100がアクティブな場合に、ユーザが通知画面200をアクティブ化すると、そのことがデバイスアプリ100に通知される。また、デバイスアプリ100がアクティブでない場合に、ユーザが通知画面200をアクティブ化すると、デバイスアプリ100をアクティブ化することができる。
The user can either activate, ignore, or hide the displayed
ユーザが通知画面200を無視した場合、通知画面200は一定の時間が経過した後、非表示になる。なお、本実施形態では、通知画面に対するユーザの入力の一例として、ユーザが通知画面200をアクティブ化する場合について説明したが、これに限られるものではない。
When the user ignores the
例えば、図3(A)では不図示であるが、通知画面200にボタンを設置することが可能である。通知画面200の該ボタンを押下することを通知画面に対するユーザの入力としてもよい。また、例えば、通知画面200をアクティブ化するためのボタン、および非表示にするためのボタンを設置してもよい。この場合、ユーザにいずれかをクリックまたはタップさせることで通知画面200のアクティブ化や非表示の処理を実施してもよい。
For example, although not shown in FIG. 3A, it is possible to install a button on the
図4の説明に戻る。ステップS2204にて、通知画面200が表示された後、バックグラウンドタスク登録部150は、ユーザが通知画面200をアクティブ化したか判定する。バックグラウンドタスク登録部150が、通知画面200がアクティブ化されたと判定した場合、処理はステップS3000に進み、通知画面200がアクティブ化されなかったと判定した場合、処理はステップS2206に進む。
Returning to the description of FIG. After the
ステップS2206で、バックグラウンドタスク登録部150は、ユーザが通知画面200をアクティブ化しなかったことをバックグラウンドタスク登録条件記憶部160に記憶する。本実施形態では、バックグラウンドタスク登録条件記憶部160にて通知画面200がアクティブ化されなかった回数が記憶される。
In step S2206, the background
ユーザが印刷設定画面を通じてデバイスアプリ100を起動した場合、ユーザは、印刷設定をすることが目的である可能性が高い。そのため、ユーザの印刷設定画面における処理を強制的に中断することなく、バックグラウンドタスクの登録を促す必要がある。バックグラウンドタスクが印刷設定とは異なる機能をユーザに提供する場合はなおさらユーザの印刷設定画面における処理を中断させないことが必要である。
When the user activates the
そこで、本実施形態では、印刷設定画面を通じてデバイスアプリ100が起動された場合、該デバイスアプリ100は、ユーザの印刷設定処理に影響を与えない通知画面200を利用してユーザにバックグラウンドタスクの登録を促す。
Therefore, in the present embodiment, when the
一方、ユーザがスタートメニューからデバイスアプリ100を選択することにより起動した場合、ユーザは、デバイスアプリ100の機能を使用することが目的である。そして、バックグラウンドタスクは、デバイスアプリ100の一機能を提供するものである。そのため、本実施形態では、スタートメニューからデバイスアプリ100が起動された場合、該デバイスアプリ100は、通知画面200を表示することなくバックグラウンドタスクの登録処理を実行する。
On the other hand, when the user starts by selecting the
図5は、バックグラウンドタスク登録部150が実行するバックグラウンドタスクの登録処理(ステップS3000)を説明するフローチャートである。
ステップS3001で、バックグラウンドタスク登録部150は、ユーザの許諾を得るための許諾確認画面を表示する。
FIG. 5 is a flowchart illustrating a background task registration process (step S3000) executed by the background
In step S3001, the background
図3(B)は、バックグラウンドタスク登録部150が表示する許諾確認画面の一例である。
許諾確認画面300は、バックグラウンドタスクを実行するための許諾文を表示する表示領域301と、許諾文に対してユーザが同意するか否かの意思を受け付けるためのボタン302および303とを有する。
FIG. 3B is an example of a permission confirmation screen displayed by the background
The
ユーザはボタン303を押下することにより、許諾文に対して同意したこと、すなわちバックグラウンドタスクの実行を承認したことをデバイスアプリ100に通知する。また、ユーザはボタン302を押下することにより、許諾文に対して同意しないこと、すなわちバックグラウンドタスクの実行を承認しないことをデバイスアプリ100に通知する。
By pressing the
図5の説明に戻る。ステップS3002で、バックグラウンドタスク登録部150は、ユーザが許諾したか判定する。ステップS3002にて、バックグラウンドタスク登録部150が、ユーザが許諾したと判定した場合、処理はステップS3003に進み、ユーザが許諾しないと判定した場合、処理はステップS3004に進む。ステップS3003で、バックグラウンドタスク登録部150は、ユーザが許諾したバックグラウンドタスクを上述したトリガと紐付けてOSに登録する。
Returning to the description of FIG. In step S3002, the background
これにより、バックグラウンドタスク処理部140は、指定されたトリガに該当するタイミングでOSによって実行されるようになる。一方、ステップS3004で、バックグラウンドタスク登録部150は、ユーザから許諾が得られなかったことをバックグラウンドタスク登録条件記憶部160に記憶し、処理を終了する。
As a result, the background
次に、図4のステップS2103またはステップS2203にて、バックグラウンドタスク登録部150が実行する、バックグラウンドタスクの登録処理を実行するか判定する判定処理の詳細について説明する。
Next, in step S2103 or step S2203 of FIG. 4, the details of the determination process for determining whether to execute the background task registration process, which is executed by the background
バックグラウンドタスク登録部150は、バックグラウンドタスク登録条件記憶部160に記憶された情報を参照し、バックグラウンドタスクの登録処理を実行するか判定する。本実施形態では、バックグラウンドタスク登録条件記憶部160は、以下の2つの情報を記憶している。ひとつは、図5に示したステップS3002にて、ユーザがバックグラウンドタスクの実行を承認したか否かの情報である。この情報を条件1とする。
The background
もうひとつは、図4のステップS2205にて、ユーザが通知をアクティブ化したか否かの情報である。この情報を条件2とする。表1にこれら条件と対応する値A〜Dを示す。バックグラウンドタスク登録部150は、条件1と条件2の値の組み合わせによってバックグラウンドタスクの登録処理を実行するか判定する。なお、バックグラウンドタスク登録条件記憶部160の初期値は、条件1および条件2ともに真とする。すなわち、表1における値Aが初期値である。
The other is information on whether or not the user has activated the notification in step S2205 of FIG. This information is set as condition 2. Table 1 shows the values A to D corresponding to these conditions. The background
条件1および条件2がともに真(表1の(A))である場合、バックグラウンドタスク登録部150は、バックグラウンドタスクの登録処理を実行すると判定する。すなわち、通知画面200が表示され、かつ、該通知画面200に対するユーザの入力がなかった回数が所定の値以下であり、許諾確認画面300にてユーザが明示的にバックグラウンドタスクの実行に同意しないことを示していない場合に該当する。
When both condition 1 and condition 2 are true ((A) in Table 1), the background
また、条件1が真であり、条件2が偽(表1(B))である場合、バックグラウンドタスク登録部150は、バックグラウンドタスクの登録処理を実行しないと判定する。すなわち、通知画面200が表示され、かつ、該通知画面200に対するユーザの入力がなかった回数が所定の値より大きい場合、バックグラウンドタスクが未登録の場合であっても、該バックグラウンドタスクの登録処理は実行されない。
Further, when the condition 1 is true and the condition 2 is false (Table 1 (B)), the background
これは、図4のステップS2103およびS2203において、バックグラウンドタスク登録部150が「実行しない」(No)と判定する場合に該当する。ステップS2203で「実行しない」と判定されると、ステップS2204の処理は実行されない。言い換えると、通知画面200が表示され、かつ、該通知画面200に対するユーザの入力がなかった回数が所定の値より大きい場合、バックグラウンドタスクが未登録の場合であっても、通知画面200を表示する処理も行われないことを意味する。
This corresponds to the case where the background
また、条件1が偽である場合、条件2の値に関わらず、バックグラウンドタスク登録部150は、バックグラウンドタスクの登録処理を実行しないと判定する。これは、許諾確認画面300にてユーザがボタン302を押下し、明示的にバックグラウンドタスクの実行に同意しないことを示した場合に該当する。
Further, when the condition 1 is false, the background
そして、図4のステップS2103およびS2203において、バックグラウンドタスク登録部150が「実行しない」(No)と判定するため、バックグラウンドタスクの登録処理(S3000)は実行されない。また、ステップS2204の処理も実行されないため、通知画面200を表示する処理も行われなくなる。
Then, in steps S2103 and S2203 of FIG. 4, the background
この判定処理により、デバイスアプリ100が起動されるたびにバックグラウンドタスクの登録処理が実行される事を回避できる。なお、表1は、バックグラウンドタスクの登録処理を実行するか否かの条件の一例であり、他の条件を設けてもよい。
By this determination process, it is possible to avoid executing the background task registration process every time the
以上のように、本実施形態によれば、ネットワークデバイスに対応するアプリケーションを自動でインストール可能な環境において、以下を可能とする。すなわち、バックグラウンドで動作するコンピュータプログラムが、インストールメディアを使用することなくより多くのユーザに利用されることを可能とする。 As described above, according to the present embodiment, the following is possible in an environment in which an application corresponding to a network device can be automatically installed. That is, computer programs running in the background can be used by more users without using installation media.
(第2実施形態)
第1実施形態では、ユーザがデバイスアプリを起動した際にバックグラウンドタスクがOSに登録される。しかし、デバイスアプリ100は自動でインストールされるため、ユーザは、デバイスアプリ100が自分の情報処理装置にインストールされたことに気付かない可能性がある。この場合、デバイスアプリ100がユーザに起動されず、バックグラウンドタスクがOSに登録されないまま起動する機会が得られない。
(Second Embodiment)
In the first embodiment, the background task is registered in the OS when the user starts the device application. However, since the
そこで、本実施形態では、デバイスアプリ100と紐付いたプリンタからのイベント通知を利用してデバイスアプリ100を起動し、バックグラウンドタスクをOSに登録する。本実施形態によれば、ユーザがスタートメニューや印刷設定画面からデバイスアプリ100を起動しない場合であっても、バックグラウンドタスクをOSに登録することが可能となる。以下、第1実施形態と同一の構成および処理には同一の符号を付し、その説明を省略する。
Therefore, in the present embodiment, the
図6は、本実施形態に係るデバイスアプリと、関連するソフトウエアモジュールの構成例を示す図である。
本実施形態では、第1実施形態の構成に加えて、デバイスアプリ100がデバイスイベント処理部130を有する。
FIG. 6 is a diagram showing a configuration example of a device application according to the present embodiment and a related software module.
In the present embodiment, in addition to the configuration of the first embodiment, the
プリンタドライバ600は、BiDi(双方向通信)を利用してプリンタから情報を取得することができる。例えば、プリンタの名前、製造元、モデル名などのプリンタ情報や、紙詰まり、インク残量、ドアやカバーの開閉状況などのプリンタの状態を取得することができる。
The
プリンタドライバ600は、プリンタに対するBiDi要求を作成してプリントスプーラ700に送信し、プリンタからのBiDi応答をプリントスプーラ700経由で受信する。プリントスプーラ700は、プリンタドライバ600から受信した印刷対象データをプリンタへ送信したり、プリンタドライバ600とプリンタとの間のBiDi通信におけるデータの送受信を実行したりする。
The
デバイスイベント処理部130は、プリンタドライバ600と紐付いたプリンタからプリンタドライバ600に対してBiDi応答があった場合、イベントブローカ800によって実行される。デバイスイベント処理部130は、デバイスアプリ100のバックグラウンドタスクの一つである。デバイスイベント処理部130は、バックグラウンドタスク処理部140とは異なる他のバックグラウンドタスクである。
The device
通常バックグラウンドタスクは、第1実施形態で説明したようにデバイスアプリ100がOSに登録する必要がある。そのため、デバイスアプリ100の起動時に、バックグラウンドタスク登録部150は、バックグラウンドタスク処理部140が実行するタスクをOSに登録する処理を行う。
Normally, the background task needs to be registered in the OS by the
これに対して、デバイスイベント処理部130の実行するタスクの登録は、デバイスアプリ100自身が行うのではなく、デバイスメタデータ保管部900で保管されたプリンタのデバイスメタデータを利用して行われる。詳細には、デバイスメタデータには、BiDi応答受信時に実行するデバイスアプリ100のバックグラウンドタスクを一つだけあらかじめ登録しておくことができる。本実施形態では、このあらかじめ登録しておける一つのバックグラウンドタスクとしてデバイスイベント処理部130を登録しておく。
On the other hand, the registration of the task to be executed by the device
図6に示したソフトウエアモジュールの構成により、ユーザが印刷処理を要求した際、プリンタドライバ600からプリンタにBiDi要求を送信すると、プリンタからのBiDi応答によってデバイスイベント処理部130が起動される。すなわち、プリンタからのイベント通知によってデバイスアプリ100が起動される。
According to the configuration of the software module shown in FIG. 6, when the user requests a print process and the
なお、プリンタドライバ600からプリンタへのBiDi要求の内容は印刷処理の要求に限らず、どのようなものでもよい。デバイスアプリ100のバックグラウンドタスクを登録するためのBiDiを用意してもよいし、他の目的のために用意されたBiDiを利用してもよい。例えば、プリンタドライバ600が必要とするBiDi要求や、デバイスアプリ100の他の機能が必要とするBiDi要求を利用してもよい。
The content of the BiDi request from the
どのようなBiDi要求であっても、それに対するプリンタからのBiDi応答によって、デバイスイベント処理部130が起動し、すなわちデバイスアプリ100が起動される。そして、デバイスアプリ100が起動されることにより、バックグラウンドタスク処理部140のタスク登録が実行される。
Whatever the BiDi request, the device
図7は、本実施形態におけるデバイスアプリ100の起動時の処理を説明するフローチャートである。
本実施形態では、デバイスアプリ100には3つの起動方法がある。ユーザによって起動される方法、印刷システムによって起動される方法については、第1実施形態の場合と同様である。
FIG. 7 is a flowchart illustrating a process at the time of starting the
In this embodiment, the
本実施形態では、さらにデバイスアプリ100をプリンタからのイベント通知、詳細にはプリンタからのBiDi応答によって起動する方法がある。この方法は、図6を用いて説明した仕組みにより実現される。プリンタからのBiDi応答によってデバイスアプリ100が起動されると、処理はステップS2301に進む。ステップS2301で、デバイスイベント処理部130は、プリンタのBiDi応答に対する処理を実行する。
In the present embodiment, there is a method of further activating the
なお、デバイスイベント処理部のバックグラウンドタスクの内容はどのようなものでもよい。例えば、デバイスイベント処理部130は、BiDiを利用してプリンタのインク残量を取得し、インクの残量をユーザに通知するなどの処理をバックグラウンドタスクとして実行する。そして、ステップS2202以降の処理で、第1実施形態(図4)の場合と同様に、通知画面200や許諾確認画面300を表示し、バックグラウンドタスク登録部150がバックグラウンドタスクの登録処理を実行する。
The content of the background task of the device event processing unit may be anything. For example, the device
通知画面200および許諾確認画面300が表示される際の詳細は、図4のステップS2203の処理および表1で説明した条件と同様である。すなわち、通知画面200が表示され、かつ、該通知画面200に対するユーザの入力がなかった回数が所定の値より大きい場合、ステップS2203で、バックグラウンドタスク登録部150は、バックグラウンドタスクの登録処理を実行しないと判定する。また、この場合、ステップS2204が実行されないため、通知画面200も表示されない。
The details when the
以上のように、本実施形態によれば、ユーザがデバイスアプリ100を起動しない場合であっても、バックグラウンドタスクをOSに登録することが可能となる。すなわち、バックグラウンドで動作するコンピュータプログラムが、より多くのユーザに利用されることを可能とする。
As described above, according to the present embodiment, it is possible to register the background task in the OS even when the user does not start the
(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
以上、本発明の好ましい実施形態について説明したが、本発明は、これらの実施形態に限定されず、その要旨の範囲内で種々の変形および変更が可能である。 Although the preferred embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and various modifications and modifications can be made within the scope of the gist thereof.
Claims (11)
前記OSに実行されることにより、バックグラウンドタスクを登録することが可能となっており、 By executing it in the OS, it is possible to register background tasks.
前記バックグラウンドタスクが未登録な状態で、当該情報処理装置にネットワークを介して接続されたデバイスからのイベント通知に起因して前記OSにより実行された場合には、ユーザに対して当該バックグラウンドタスクの登録に関する許諾を求めるための通知を行い、 When the background task is not registered and is executed by the OS due to an event notification from a device connected to the information processing device via a network, the background task is sent to the user. Notify you to ask for permission to register
前記バックグラウンドタスクが未登録な状態で、前記OSのスタートメニューへのユーザ操作に起因して前記OSにより実行された場合には、ユーザに対して当該バックグラウンドタスクの登録に関する許諾を求めるための通知を行わないことを特徴とするアプリケーション。 When the background task is not registered and is executed by the OS due to a user operation to the start menu of the OS, the user is requested to obtain permission for registration of the background task. An application characterized by not giving notifications.
前記OSに起動されたことに応じてバックグラウンドタスクを登録することが可能となっており、 It is possible to register a background task according to the fact that it has been started in the OS.
前記バックグラウンドタスクが未登録な状態で、当該情報処理装置にネットワークを介して接続されたデバイスからのイベント通知に起因して前記OSにより起動された場合には、ユーザに対して当該バックグラウンドタスクの登録に関する許諾を求めるための通知を行い、 If the background task is not registered and is started by the OS due to an event notification from a device connected to the information processing device via a network, the background task is sent to the user. Notify you to ask for permission to register
前記バックグラウンドタスクが未登録な状態で、前記OSのスタートメニューへのユーザ操作に起因して前記OSにより起動された場合には、ユーザに対して当該バックグラウンドタスクの登録に関する許諾を求めるための通知を行わないことを特徴とするアプリケーション。 When the background task is not registered and is started by the OS due to a user operation to the start menu of the OS, the user is requested to obtain permission for registration of the background task. An application characterized by not giving notifications.
前記OSよりインストールされたアプリケーションの機能として該アプリケーションが起動され、かつ、バックグラウンドタスクが未登録の場合に、該バックグラウンドタスクを登録する登録手段と、
ネットワークデバイスからのイベント通知に応答して前記アプリケーションが起動され、かつ、バックグラウンドタスクが未登録の場合に、前記情報処理装置の表示部へ通知を行うための処理を実行する表示手段と、を備え、
前記登録手段は、前記表示部への通知に対するユーザの入力があった場合に、前記バックグラウンドタスクを登録し、
前記登録手段は、ユーザに同意を求めるための画面を提示して、前記ユーザからの同意を得られた場合に、前記バックグラウンドタスクを登録し、前記ユーザからの同意を得られなかった場合には、前記バックグラウンドタスクの登録は行われず、
前記OSのスタートメニューから前記アプリケーションが起動され、かつ、前記バックグラウンドタスクが未登録の場合に、前記情報処理装置の表示部へ通知を行うための処理は実行されず、
前記登録手段は、前記ユーザに同意を求めるための画面を提示する、ことを特徴とする情報処理装置。 An information processing device that executes an OS that can automatically install applications corresponding to network devices via network services.
When the application is started as a function of the application installed from the OS and the background task is not registered, the registration means for registering the background task and the registration means.
When the application is started in response to an event notification from a network device and a background task is not registered, a display means for executing a process for notifying the display unit of the information processing device. Prepare,
The registration means registers the background task when the user inputs the notification to the display unit .
The registration means presents a screen for requesting consent from the user, registers the background task when the consent from the user is obtained, and does not obtain the consent from the user. Is not registered for the background task
When the application is started from the start menu of the OS and the background task is not registered, the process for notifying the display unit of the information processing device is not executed.
The information processing device is characterized in that the registration means presents a screen for asking the user for consent.
前記OSよりインストールされたアプリケーションの機能として該アプリケーションが起動され、かつ、バックグラウンドタスクが未登録の場合に、該バックグラウンドタスクを登録する登録手段と、
ネットワークデバイスからのイベント通知に応答して前記アプリケーションが起動され、かつ、バックグラウンドタスクが未登録の場合に、前記情報処理装置の表示部へ通知を行うための処理を実行する表示手段と、を備え、
前記登録手段は、前記表示部への通知に対するユーザの入力があった場合に、前記バックグラウンドタスクを登録し、
前記表示部への通知が行われ、かつ、該通知に対するユーザの入力がなかった回数を記憶する記憶手段をさらに備える、ことを特徴とする情報処理装置。 An information processing device that executes an OS that can automatically install applications corresponding to network devices via network services.
When the application is started as a function of the application installed from the OS and the background task is not registered, the registration means for registering the background task and the registration means.
When the application is started in response to an event notification from a network device and a background task is not registered, a display means for executing a process for notifying the display unit of the information processing device. Prepare,
The registration means registers the background task when the user inputs the notification to the display unit .
An information processing device further comprising a storage means for storing the number of times a user has not input the notification to the display unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017023571A JP6921544B2 (en) | 2017-02-10 | 2017-02-10 | Applications and information processing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017023571A JP6921544B2 (en) | 2017-02-10 | 2017-02-10 | Applications and information processing equipment |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2018128997A JP2018128997A (en) | 2018-08-16 |
JP2018128997A5 JP2018128997A5 (en) | 2020-03-12 |
JP6921544B2 true JP6921544B2 (en) | 2021-08-18 |
Family
ID=63173963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017023571A Active JP6921544B2 (en) | 2017-02-10 | 2017-02-10 | Applications and information processing equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6921544B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021177304A1 (en) * | 2020-03-06 | 2021-09-10 | 京セラドキュメントソリューションズ株式会社 | Electronic device and program |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4550034B2 (en) * | 2006-09-05 | 2010-09-22 | コニカミノルタビジネステクノロジーズ株式会社 | Image processing apparatus and program |
JP4585540B2 (en) * | 2007-05-01 | 2010-11-24 | 株式会社東芝 | Web application system, apparatus and program |
JP2009151678A (en) * | 2007-12-21 | 2009-07-09 | Oki Data Corp | Image forming apparatus and image forming system |
JP4983823B2 (en) * | 2009-02-25 | 2012-07-25 | ブラザー工業株式会社 | program |
JP6152289B2 (en) * | 2012-11-15 | 2017-06-21 | 任天堂株式会社 | Information processing apparatus, terminal system, information processing program, and application update data acquisition method |
JP2015049862A (en) * | 2013-09-04 | 2015-03-16 | 株式会社リコー | Information processing device, system, method, and program |
JP2016100731A (en) * | 2014-11-20 | 2016-05-30 | キヤノン株式会社 | Information processing apparatus, control method thereof, and program |
-
2017
- 2017-02-10 JP JP2017023571A patent/JP6921544B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2018128997A (en) | 2018-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8850459B2 (en) | Information processing apparatus, information processing method, and program | |
US11782656B2 (en) | Information processing apparatus processing print setting, control method, and control program | |
US9417862B2 (en) | Information processing apparatus, function extension method for information processing apparatus, and non-transitory computer-readable storage medium | |
US20100309512A1 (en) | Display control apparatus and information processing system | |
US9612818B2 (en) | Information processing apparatus, program management method for information processing apparatus, and non-transitory computer-readable storage medium | |
US9830544B2 (en) | Image processing apparatus, control method, and storage medium for executing print processing using a password including selecting a personal identification code type that indicates a purpose for using the password | |
US9160888B2 (en) | Information processing apparatus, user information management control method, and storage medium | |
JP5553670B2 (en) | Management device, control method thereof, and program | |
US20110181910A1 (en) | Information processing apparatus, print controlling program, computer-readable storage medium, printing apparatus, and printing system | |
WO2013111536A1 (en) | Information processing apparatus, method, and program | |
JP5711518B2 (en) | Information processing apparatus, control method thereof, and program | |
EP2811406A1 (en) | Dependent applications monitoring | |
US20220129220A1 (en) | Recording medium, control method and information processing apparatus | |
US20230153098A1 (en) | Electronic apparatus, information processing system, and information processing method | |
US9606761B2 (en) | Information processing apparatus for controlling an output process and method for the same | |
US8345273B2 (en) | Information processing apparatus for managing an expansion module, control method therefor, and program for executing the method | |
JP6921544B2 (en) | Applications and information processing equipment | |
JP5573411B2 (en) | Image forming apparatus, program, and installation method | |
JP2006252359A (en) | Printer driver | |
US11119708B2 (en) | Information processing apparatus, controlling method for information processing apparatus, and storage medium storing print extension application | |
US20120250084A1 (en) | Storage Medium Storing Printer Driver and Information Processing Apparatus | |
JP6834716B2 (en) | Print management program, print management method, print management device and print management system | |
JP2015153316A (en) | Information processing apparatus, information processing method and computer program | |
JP6532007B2 (en) | Image forming apparatus, information management system, and information management method | |
JP7247780B2 (en) | Image forming device, information processing device and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200129 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200129 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210126 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210222 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210416 |
|
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: 20210629 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210728 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6921544 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |