JP2012221201A - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP2012221201A
JP2012221201A JP2011085904A JP2011085904A JP2012221201A JP 2012221201 A JP2012221201 A JP 2012221201A JP 2011085904 A JP2011085904 A JP 2011085904A JP 2011085904 A JP2011085904 A JP 2011085904A JP 2012221201 A JP2012221201 A JP 2012221201A
Authority
JP
Japan
Prior art keywords
application
attribute
image forming
forming apparatus
applications
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.)
Withdrawn
Application number
JP2011085904A
Other languages
Japanese (ja)
Inventor
Katsuya Sakai
克也 坂井
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP2011085904A priority Critical patent/JP2012221201A/en
Publication of JP2012221201A publication Critical patent/JP2012221201A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce time for update processing of applications without restarting all relevant applications in updating applications even when the number of applications running on an image forming apparatus is increased, and resulting in formation of a complicated dependence structure.SOLUTION: Applications are provided in advance with information that indicates whether the applications are continuously operated after restart of dependent applications. In updating applications, applications that are continuously operated after the restart of the dependent applications are excluded from restart targets even if they are relevant applications.

Description

本発明は、画像形成装置上で動作するアプリケーションのバージョン更新処理に関するものである。   The present invention relates to a version update process for an application operating on an image forming apparatus.

従来、システムにアプリケーション間の関係を保持しておき、アプリケーションの停止を検出すると、そのアプリケーションを起動するとともにそのアプリケーションに関連しているアプリケーションの再起動をあわせて行う技術が知られている。(例えば、特許文献1参照。)これによりシステム全体を再起動することなく容易にシステムを復旧することが可能となった。   2. Description of the Related Art Conventionally, a technique is known in which a relationship between applications is held in a system and when an application stop is detected, the application is started and an application related to the application is restarted. (For example, refer to Patent Document 1.) This makes it possible to easily restore the system without restarting the entire system.

一方、画像形成装置のアプリケーションのバージョン更新を行う場合、通常、更新対象のアプリケーションを一旦停止してからバージョンを更新し再び起動するという処理を行う。このため、前述の従来技術を応用して、バージョン更新時に関連アプリケーションのみを再起動することで、システム全体を再起動することなく容易にアプリケーションの更新処理を行うことができるようになる。   On the other hand, when updating the version of an application of the image forming apparatus, usually, a process of temporarily stopping the application to be updated, updating the version, and starting again is performed. For this reason, by applying the above-described conventional technology and restarting only the related application at the time of version update, the update process of the application can be easily performed without restarting the entire system.

特開平06−332734号公報Japanese Patent Laid-Open No. 06-332734

しかしながら、近年、画像形成装置の機能は大規模化しており、画像形成装置上で動作するアプリケーション数も増加しアプリケーション間の関係も増えている。そのため、単純に従来技術を適用するだけでは、更新処理時に再起動するアプリケーション数が多くなり更新処理に時間がかかってしまうという問題があった。また、画像形成装置上で動作するアプリケーションは管理者により動的に追加および削除されることがあるためアプリケーションの関連性を固定的に保持しておくことができないという問題もあった。   However, in recent years, the functions of image forming apparatuses have increased in size, and the number of applications operating on the image forming apparatuses has increased, and the relationship between applications has increased. For this reason, simply applying the prior art has a problem that the number of applications to be restarted at the time of the update process increases and it takes time for the update process. In addition, since an application that operates on the image forming apparatus may be dynamically added and deleted by an administrator, there is a problem in that application relevance cannot be held in a fixed manner.

本発明に係る画像形成装置の構成は、
アプリケーションが提供している機能を示す提供機能属性(505)と、
前記アプリケーションが利用している機能を示す利用機能属性(506)と、
前記アプリケーションが利用している機能が停止した場合に動作継続可能であるかどうかを示す動作継続属性(507)の
少なくとも一つを備えたアプリケーションを追加・削除可能な画像形成装置(100)であって、
前記アプリケーションを受信するアプリケーション受信手段(S601,201)と、
前記アプリケーション受信手段により受信したアプリケーションからアプリケーション属性を取得する属性取得手段(S602,202)と、
前記画像形成装置(100)内にインストールされているアプリケーションの状態や属性情報の取得を行う機器内アプリ情管理得手段(202)と、
前記属性取得手段から取得した属性情報と、前記機器内アプリ情報取得手段から取得したアプリケーション状態情報および属性情報とを少なくとも利用して再起動すべきアプリケーションを判定する再起動アプリ判定手段(S803〜S809,204)と、
前記再起動アプリ判定手段により判定されたアプリケーションを停止するアプリケーション停止手段(S1003,203)と、
前記受信手段により受信したアプリケーションをインストールするインストール手段(S1004,203)と、
前記アプリケーション停止手段により停止したアプリケーションを再開するアプリケーション再開手段(S1005,203)と、
を有することを特徴とする。
The configuration of the image forming apparatus according to the present invention is as follows.
A provided function attribute (505) indicating a function provided by the application;
A use function attribute (506) indicating a function used by the application;
An image forming apparatus (100) capable of adding / deleting an application having at least one operation continuation attribute (507) indicating whether or not the operation can be continued when a function used by the application is stopped. And
Application receiving means (S601, 201) for receiving the application;
Attribute acquisition means (S602, 202) for acquiring application attributes from the application received by the application reception means;
In-app application information management means (202) for acquiring the status and attribute information of the application installed in the image forming apparatus (100);
A restart application determination unit (S803 to S809) that determines an application to be restarted using at least the attribute information acquired from the attribute acquisition unit and the application state information and attribute information acquired from the in-device application information acquisition unit. 204)
Application stopping means (S1003, 203) for stopping the application determined by the restart application determining means;
Installation means (S1004, 203) for installing the application received by the reception means;
Application restarting means (S1005, 203) for restarting the application stopped by the application stopping means;
It is characterized by having.

本発明に係る画像形成装置によれば、動的にアプリケーションの追加削除が行われるような環境においても、最低限のアプリケーションの再起動を行うだけでアプリケーションの更新が行えるようになる。このため、更新処理にかかる時間が短縮され、ユーザ利便性が向上するという効果がある。   According to the image forming apparatus of the present invention, even in an environment where addition and deletion of an application are dynamically performed, the application can be updated only by restarting the application at a minimum. For this reason, the time required for the update process is shortened, and the user convenience is improved.

本発明の実施例におけるシステム構成を示す図である。It is a figure which shows the system configuration | structure in the Example of this invention. 画像形成装置100上で動作するアプリケーション管理を行うためのソフトウェア構成を示すブロック図である。2 is a block diagram illustrating a software configuration for performing application management that operates on the image forming apparatus 100. FIG. 画像形成装置100のアプリケーション管理を行う際にPC101上のブラウザに表示される画面の例である(その1)。FIG. 3 illustrates an example of a screen displayed on a browser on the PC 101 when application management of the image forming apparatus 100 is performed (part 1). 画像形成装置100のアプリケーション管理を行う際にPC101上のブラウザに表示される画面の例である(その2)。FIG. 6 illustrates an example of a screen displayed on a browser on the PC 101 when application management of the image forming apparatus 100 is performed (part 2). 画像形成装置100のアプリケーション管理を行う際にPC101上のブラウザに表示される画面の例である(その3)。FIG. 6 illustrates an example of a screen displayed on a browser on the PC 101 when application management of the image forming apparatus 100 is performed (part 3). 画像形成装置100のアプリケーション管理を行う際にPC101上のブラウザに表示される画面の例である(その4)。FIG. 6 illustrates an example of a screen displayed on a browser on the PC 101 when application management of the image forming apparatus 100 is performed (part 4). 画像形成装置100にインストールされるアプリケーションの構成の一例である。2 is an example of a configuration of an application installed in the image forming apparatus 100. アプリケーション情報ファイル402の一例である。4 is an example of an application information file 402. アプリケーションファイルを受信した際にアプリケーション管理部205が実行する処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process which the application management part 205 performs when an application file is received. ステップS604の詳細な処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the detailed process of step S604. ステップS704の詳細な処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the detailed process of step S704. 図3(C)もしくは図3(D)の画面を操作されてPC101からの要求を受信した際にアプリケーション管理部205が実行する処理の流れを示すフローチャートである。4 is a flowchart showing a flow of processing executed by an application management unit 205 when a request from the PC 101 is received by operating the screen of FIG. 3C or FIG. ステップS904の詳細な処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the detailed process of step S904.

以下、本発明を実施するための最良の形態について図面を用いて説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings.

図1は、本発明の実施例におけるシステム構成を示す図である。画像形成装置100は、スキャナやプリンタを備えた装置であり、内部で動作する複数のアプリケーションにより、コピーやスキャン送信やFAXなどの機能を実現している。画像形成装置100で動作するアプリケーションは、PC101からネットワーク102経由で管理することが可能である。具体的には、アプリケーションを新規にインストールしたり、既にインストールされているアプリケーションのバージョンを更新したり、アンインストールを行ったりすることができる。   FIG. 1 is a diagram showing a system configuration in an embodiment of the present invention. The image forming apparatus 100 is an apparatus including a scanner and a printer, and functions such as copy, scan transmission, and FAX are realized by a plurality of applications operating inside. Applications operating on the image forming apparatus 100 can be managed from the PC 101 via the network 102. Specifically, it is possible to newly install an application, update the version of an already installed application, or perform uninstallation.

図2は、画像形成装置100上で動作するアプリケーション管理を行うためのソフトウェア構成を示すブロック図である。Webサーバ部201はPC101からアプリケーション管理要求を受け付けるWebサーバである。アプリケーション情報取得部202は、画像形成装置100上で動作しているアプリケーションの情報取得や、インストールしようとしているアプリケーションの情報取得を行う。アプリケーション制御部203は、画像形成装置100上で動作するアプリケーションの開始/停止/インストール/更新/アンインストールなどの制御を行う。再起動アプリケーション判定部204は、アプリケーションの更新処理を行う際に、再起動が必要となるアプリケーションの判定を行う。アプリケーション管理部205は、アプリケーション情報取得部202、アプリケーション制御部203、再起動アプリケーション判定部204を利用してWebサーバ部201からの要求に応じた処理を行い、UI画面を生成してPC101に送信する。   FIG. 2 is a block diagram illustrating a software configuration for performing application management that operates on the image forming apparatus 100. A Web server unit 201 is a Web server that receives an application management request from the PC 101. The application information acquisition unit 202 acquires information about an application running on the image forming apparatus 100 and information about an application to be installed. The application control unit 203 performs control such as starting / stopping / installing / updating / uninstalling an application operating on the image forming apparatus 100. The restart application determination unit 204 determines an application that needs to be restarted when performing an application update process. The application management unit 205 performs processing according to a request from the Web server unit 201 using the application information acquisition unit 202, the application control unit 203, and the restart application determination unit 204, generates a UI screen, and transmits it to the PC 101 To do.

図3は画像形成装置100のアプリケーション管理を行う際にPC101上のブラウザに表示される画面の一例である。   FIG. 3 is an example of a screen displayed on the browser on the PC 101 when application management of the image forming apparatus 100 is performed.

図3(A)はPC101のブラウザから画像形成装置のアプリケーション管理ページにアクセスした際に、最初に表示される画面の例である。メニュー領域301は、アプリケーション管理のためのメニューを表示する領域である。制御画面領域302は、メニュー領域301で選択されたメニューに応じた画面が表示される領域である。アプリ管理メニュー303は、画像形成装置100上にインストールされているアプリケーションの開始や停止やアンインストールを行うためのメニューである。アプリインストールメニュー304は、アプリケーションのインストールを行うためのメニューである。アプリケーション管理ページに最初にアクセスした場合、アプリ管理メニュー303が選択されており、制御画面領域302にはアプリケーションを管理するための画面が表示される。アプリケーション一覧領域305は、画像形成装置上にインストールされているコピーやファックスといった画像形成装置の機能を提供するアプリケーションの一覧が表示される領域である。認証アプリケーション一覧領域306は、認証を行う特別なアプリケーションの一覧を表示するための領域である。アプリケーション名称欄307は、アプリケーション名とバージョン番号を表示される。状態欄308は、アプリケーションの状態を表示するためのものであり、「開始」もしくは「停止」のどちらかが表示される。   FIG. 3A shows an example of a screen that is displayed first when the application management page of the image forming apparatus is accessed from the browser of the PC 101. A menu area 301 is an area for displaying a menu for application management. The control screen area 302 is an area in which a screen corresponding to the menu selected in the menu area 301 is displayed. The application management menu 303 is a menu for starting, stopping, or uninstalling an application installed on the image forming apparatus 100. The application installation menu 304 is a menu for installing an application. When the application management page is first accessed, the application management menu 303 is selected, and a screen for managing applications is displayed in the control screen area 302. The application list area 305 is an area in which a list of applications that provide functions of the image forming apparatus such as copy and fax installed on the image forming apparatus is displayed. The authentication application list area 306 is an area for displaying a list of special applications to be authenticated. The application name column 307 displays the application name and version number. The status column 308 is for displaying the status of the application and displays either “start” or “stop”.

アプリケーション制御ボタン欄309は、アプリケーションを開始したり停止したりするためのボタンが表示される。アプリケーションの状態に応じて表示されるボタンが変化し、アプリケーションの状態が「開始」状態であれば停止ボタンが表示され、「停止」状態であれば開始ボタンが表示される。ただし、認証アプリケーションについては排他的にいずれかひとつだけが起動するようになっているため、「選択」というボタンが表示される。「選択」ボタンが押されると現在「開始」状態の認証アプリケーションが停止して、選択された認証アプリケーションが開始される。アンインストールボタン欄310は、アプリケーションを画像形成装置からアンインストールするためのボタンが表示される領域であり、この欄のボタンが押されると対応するアプリケーションがアンインストールされる。   The application control button field 309 displays buttons for starting and stopping the application. The displayed button changes according to the application state. If the application state is “start”, a stop button is displayed. If the application state is “stop”, a start button is displayed. However, since only one of the authentication applications is exclusively activated, a “select” button is displayed. When the “select” button is pressed, the authentication application currently in the “start” state is stopped and the selected authentication application is started. The uninstall button column 310 is an area where a button for uninstalling the application from the image forming apparatus is displayed. When the button in this column is pressed, the corresponding application is uninstalled.

図3(B)は、メニュー領域301にてアプリインストールメニュー304が選択された際に表示される画面の例である。アプリファイルパス入力フィールド311は、インストールしたいアプリケーションのPC101上のファイルパスを指定するフィールドである。参照ボタン312は、ファイル選択ダイアログからアプリケーションファイルを選択することでアプリファイルパス入力フィールド311にファイルパスを入力するためのボタンである。インストールボタン313は、アプリファイルパス入力フィールド311で指定されたアプリケーションを画像形成装置100に送信してインストール指示を行うためのボタンである。   FIG. 3B is an example of a screen displayed when the application installation menu 304 is selected in the menu area 301. The application file path input field 311 is a field for designating a file path on the PC 101 of an application to be installed. The reference button 312 is a button for inputting a file path in the application file path input field 311 by selecting an application file from the file selection dialog. The install button 313 is a button for sending the application specified in the application file path input field 311 to the image forming apparatus 100 to instruct installation.

図3(C)は、図3(B)においてインストールボタン313が押されたときに表示される確認画面の一例である。既に画像形成装置100にインストールされているアプリケーションと同じアプリケーションをインストールしようとしたときにこの画面が表示される。アプリケーション情報表示領域314は、現在画像形成装置100にインストールされているアプリケーションの情報315と、アプリファイルパス入力フィールド311で指定されたアプリケーションの情報316が表示される。再起動アプリケーションリスト表示領域317には、アプリケーションのバージョン更新処理に伴って、再起動が発生するアプリケーションのリスト318が表示される。ただし、既にインストールされているアプリケーションが停止状態であれば再起動は不要であるため再起動アプリケーションリスト表示領域317は表示されない。インストール続行確認領域319は、インストール処理を続行してアプリケーションを更新するかどうかの判定をユーザに促すためのUIを表示する領域である。「はい」ボタン320が押されると画像形成装置100にインストール続行の要求が送信され、アプリケーションの更新が実行される。「いいえ」ボタン321が押されると画像形成装置100にインストールキャンセルの要求が送信され、アプリケーションの更新がキャンセルされる。   FIG. 3C is an example of a confirmation screen displayed when the install button 313 is pressed in FIG. This screen is displayed when trying to install the same application as that already installed in the image forming apparatus 100. In the application information display area 314, information 315 of the application currently installed in the image forming apparatus 100 and information 316 of the application specified in the application file path input field 311 are displayed. In the restart application list display area 317, a list 318 of applications in which restart occurs in association with the application version update processing is displayed. However, if the already installed application is in a stopped state, the restart application list display area 317 is not displayed because restart is unnecessary. The installation continuation confirmation area 319 is an area for displaying a UI for prompting the user to determine whether to continue the installation process and update the application. When the “Yes” button 320 is pressed, a request to continue the installation is transmitted to the image forming apparatus 100, and the application is updated. When the “No” button 321 is pressed, an installation cancel request is transmitted to the image forming apparatus 100, and the update of the application is cancelled.

図3(D)は、図3(B)においてアプリケーションファイルを指定してインストールボタン313を押したときに表示される確認画面の別の例である。この画面はアプリケーションを新規に画像形成装置100にインストールしようとした場合に表示される画面である。アプリケーション情報表示領域322には、インストールしようとしているアプリケーションの情報323だけが表示される。また、アプリケーション情報表示領域322の下にインストール続行確認領域324が表示される。ここで「はい」ボタン325が押されると、画像形成装置100にインストール続行要求が送信され、アプリケーションの新規インストールが行われる。「いいえ」ボタン326が押されると画像形成装置100にインストールキャンセル要求が送信され、アプリケーションのインストール処理委がキャンセルされる。   FIG. 3D is another example of a confirmation screen displayed when an application file is specified in FIG. 3B and the install button 313 is pressed. This screen is a screen displayed when an application is newly installed in the image forming apparatus 100. In the application information display area 322, only the information 323 of the application to be installed is displayed. In addition, an installation continuation confirmation area 324 is displayed below the application information display area 322. When the “Yes” button 325 is pressed here, an installation continuation request is transmitted to the image forming apparatus 100, and a new application is installed. When a “No” button 326 is pressed, an installation cancellation request is transmitted to the image forming apparatus 100, and the application installation processing commission is canceled.

図4は、画像形成装置100にインストールされるアプリケーションファイルの構成の一例である。アプリケーションファイル401は、アプリケーション情報ファイル402とアプリケーション実体ファイル403をアーカイブした1つのファイルになっている。アプリケーション情報ファイル402はアプリケーションの属性情報を定義したファイルである。ここで定義された情報はアプリケーションをアプリケーション管理部205がアプリケーションの管理を行う際に利用される。アプリケーション実体ファイル403は、アプリケーションプログラムの実体であり、暗号化されて格納されている。アプリケーションファイル401が画像形成装置100にインストールされると、アプリケーション実体ファイル403が復号化され画像形成装置100の記憶装置上に展開される。   FIG. 4 is an example of the configuration of an application file installed in the image forming apparatus 100. The application file 401 is a single file in which the application information file 402 and the application entity file 403 are archived. The application information file 402 is a file that defines application attribute information. The information defined here is used when the application management unit 205 manages the application. The application entity file 403 is an entity of the application program and is encrypted and stored. When the application file 401 is installed in the image forming apparatus 100, the application entity file 403 is decrypted and expanded on the storage device of the image forming apparatus 100.

図5は、アプリケーション情報ファイル402の一例である。アプリケーション情報ファイル402は、属性501と属性値502を列挙したファイルである。   FIG. 5 is an example of the application information file 402. The application information file 402 is a file that lists attributes 501 and attribute values 502.

Application−ID503は、アプリケーションを識別するための属性である。この属性の値が同じアプリケーションは同じアプリケーションと判断される。Application−Name504は、アプリケーションの名称を表す属性である。Application−Version505は、アプリケーションのバージョン番号を示す属性である。Vendor506は、アプリケーションのベンダ名を示す属性である。ExportService507は、そのアプリケーションが他のアプリケーションに提供している機能を示す属性である。例えば図5(A)で示したアプリケーション情報では、LoginService機能を他のアプリケーションに提供していることを示していることが分かる。ImportService508は、そのアプリケーションが利用している機能を示す属性である。例えば、図5(B)で示したアプリケーション情報では、LoginService機能とErrorRecoveryService機能の2つの機能を利用していることがわかる。DynamicUpdateSupport509は、そのアプリケーションが利用している機能のうち、どの機能の動的更新に対応しているかを示す属性である。「動的更新に対応している」とは、ある機能を提供しているアプリケーションの更新処理を行う際に、その機能を利用しているアプリケーションを再起動することなく更新処理を行うことができるアプリケーションのことをいう。もし、この属性がない場合は全ての機能の動的更新に対応していないことを示す。   Application-ID 503 is an attribute for identifying an application. Applications having the same attribute value are determined to be the same application. Application-Name 504 is an attribute representing the name of the application. Application-Version 505 is an attribute indicating the version number of the application. Vender 506 is an attribute indicating the vendor name of the application. The Export Service 507 is an attribute indicating the function that the application provides to other applications. For example, it can be seen that the application information shown in FIG. 5A indicates that the LoginService function is provided to other applications. The Import Service 508 is an attribute indicating a function used by the application. For example, it can be seen that the application information shown in FIG. 5B uses two functions of a LoginService function and an ErrorRecoveryService function. The DynamicUpdateSupport 509 is an attribute indicating which function is dynamically updated among the functions used by the application. "Supports dynamic update" means that when updating an application that provides a certain function, the update process can be performed without restarting the application that uses that function. An application. If this attribute is not present, it indicates that dynamic update of all functions is not supported.

図5(B)のアプリケーションの例では、LoginService機能を提供しているアプリケーションを更新する際は再起動の必要はないが、ErrorRecoveryService機能を提供しているアプリケーションを更新する際は再起動が必要である。   In the example of the application shown in FIG. 5B, restart is not required when updating an application that provides the LoginService function, but restart is required when updating an application that provides the ErrorRecoveryService function. is there.

図6は、画像形成装置100がWebサーバ部201経由でアプリケーションファイルを受信した際に、アプリケーション管理部205が実行する処理の流れを示すフローチャートである。   FIG. 6 is a flowchart showing a flow of processing executed by the application management unit 205 when the image forming apparatus 100 receives an application file via the Web server unit 201.

まず、ステップS601にてアプリケーションファイルを受信する。次にステップS602に進み、受信したアプリケーションからApplicationID情報を取得する。次にステップS603に進み、ステップS602で取得したApplicationIDと同じApplicationIDのアプリケーションがインストールされているかを判定する。もしステップS603にて同じApplicationIDのアプリケーションが存在すると判定された場合はステップS604に進む。ステップS604ではアプリケーション更新確認画面(図3(C))の画面データを生成してPC101に送信して処理を終了する。一方、ステップS603にて同じApplicationIDのアプリケーションが存在しないと判定された場合はステップS605に進む。ステップS605ではインストール確認画面(図3(D))の画面データを生成しPC101に送信して処理を終了する。   First, in step S601, an application file is received. In step S602, ApplicationID information is acquired from the received application. Next, proceeding to step S603, it is determined whether an application with the same Application ID as the Application ID acquired at step S602 is installed. If it is determined in step S603 that there is an application with the same Application ID, the process proceeds to step S604. In step S604, screen data of the application update confirmation screen (FIG. 3C) is generated and transmitted to the PC 101, and the process ends. On the other hand, if it is determined in step S603 that there is no application with the same Application ID, the process proceeds to step S605. In step S605, screen data for the installation confirmation screen (FIG. 3D) is generated and transmitted to the PC 101, and the process is terminated.

図7は、ステップS604の詳細な処理の流れを示すフローチャートである。   FIG. 7 is a flowchart showing the detailed processing flow of step S604.

まず、ステップS701でインストールされているアプリケーションおよびインストールしようとしているアプリケーションの情報を取得する。次にステップS702に進み、アプリケーション情報表示部314に表示する画面データを生成する。次にステップS703に進み、既にインストールされているアプリケーションの状態が開始状態であるかどうかを判定する。もし開始状態であると判定された場合、ステップS704に進む。ステップS704では再起動が必要なアプリケーションのリストを生成して、ステップS705に進む。ステップS705では、ステップS704で生成したリストをもとに再起動アプリケーション一覧画面319の画面データを生成し、ステップS706に進む。一方、ステップS703にて既にインストールされているアプリケーションが開始状態でない(停止状態である)と判定された場合、ステップS706に進む。ステップS706ではインストール続行確認領域319の画面データを作成し、ステップS707に進む。ステップS707では生成した画面データをPC101に送信して処理を終了する。   First, in step S701, information on the application installed and the application to be installed is acquired. In step S702, screen data to be displayed on the application information display unit 314 is generated. In step S703, it is determined whether the state of the already installed application is a start state. If it is determined that the current state is the start state, the process proceeds to step S704. In step S704, a list of applications that need to be restarted is generated, and the process advances to step S705. In step S705, screen data of the restart application list screen 319 is generated based on the list generated in step S704, and the process proceeds to step S706. On the other hand, if it is determined in step S703 that the already installed application is not in the start state (is in a stop state), the process proceeds to step S706. In step S706, screen data of the installation continuation confirmation area 319 is created, and the process proceeds to step S707. In step S707, the generated screen data is transmitted to the PC 101, and the process ends.

図8は、ステップS704の詳細な処理の流れを示すフローチャートである。   FIG. 8 is a flowchart showing a detailed processing flow of step S704.

まず、ステップS801で再起動アプリケーションリストの初期化処理を行い、空のリストを生成する。次にステップS802に進み、開始状態のアプリケーションのリストを生成する。次にステップS803に進み、ステップS802で作成したアプリケーションリストに含まれるアプリケーションの数だけステップS804〜ステップS808をループする。もしステップS802で作成したアプリケーションリストの長さが0であれば何もせずに処理を終了する。ステップS802にて生成したアプリケーションリストに1つ以上のアプリケーションが含まれている場合は、アプリケーションリストの中からアプリケーションを一つずつ選択して順番にステップS804〜ステップS808の処理を行う。以降選択されたアプリケーションをアプリケーションiと表記する。   First, in step S801, the restart application list is initialized to generate an empty list. In step S802, a list of applications in the start state is generated. In step S803, steps S804 to S808 are looped by the number of applications included in the application list created in step S802. If the length of the application list created in step S802 is 0, the process ends without doing anything. If one or more applications are included in the application list generated in step S802, applications are selected one by one from the application list, and the processes in steps S804 to S808 are performed in order. Hereinafter, the selected application is referred to as application i.

ループ内では、まずステップS804でアプリケーションiのImportService属性を取得する。次にステップS805に進み、アプリケーションiのImportService属性の中に更新対象アプリケーションのExportService属性値が存在するかを判定する。アプリケーションiのImportService属性に更新対象アプリケーションのExportService属性値が存在する場合はアプリケーションiが更新対象のアプリケーションに依存していることになる。もし更新対象のアプリケーションに依存していると判定された場合、ステップS806に進む。ステップS806では、アプリケーションiのDynamicUpdateSupport属性の取得を試みる。もしDynamicUpdateSupport属性を取得できた場合は、ステップS807に進む。ステップS807では、DynamicUpdateSupport属性に更新対象のアプリケーションのExportService属性値が存在するかどうかで動的更新をサポートしているかを判定する。もし動的更新をサポートしていないと判定された場合はステップS808に進み、ステップS801で生成した再起動アプリケーションリストにアプリケーションiを追加してステップS809に進む。一方、ステップS806にてDynamicUpdateSupport属性の取得に失敗した場合はステップS808に進み、ステップS801で生成した再起動アプリケーションリストにアプリケーションiを追加してステップS809に進む。   In the loop, first, in step S804, the ImportService attribute of the application i is acquired. In step S805, it is determined whether the ExportService attribute value of the application to be updated exists in the ImportService attribute of the application i. When the Export Service attribute value of the update target application exists in the Import Service attribute of the application i, the application i depends on the update target application. If it is determined that the application depends on the update target application, the process advances to step S806. In step S806, an attempt is made to acquire the DynamicUpdateSupport attribute of application i. If the DynamicUpdateSupport attribute can be acquired, the process proceeds to step S807. In step S807, it is determined whether dynamic update is supported based on whether or not the ExportService attribute value of the application to be updated exists in the DynamicUpdateSupport attribute. If it is determined that dynamic update is not supported, the process proceeds to step S808, and application i is added to the restart application list generated in step S801, and the process proceeds to step S809. On the other hand, if acquisition of the DynamicUpdateSupport attribute has failed in step S806, the process proceeds to step S808, and the application i is added to the restart application list generated in step S801, and the process proceeds to step S809.

一方、ステップS805で更新対象のアプリケーションに依存していないと判定された場合、および、ステップS807で動的更新をサポートしていると判定された場合は、再起動アプリケーションリストへの追加は行わずステップS809に進む。   On the other hand, if it is determined in step S805 that it does not depend on the application to be updated, and if it is determined in step S807 that dynamic update is supported, it is not added to the restart application list. The process proceeds to step S809.

ステップS809ではステップS803に戻り、ステップS802で取得した全てのアプリケーションについてステップS804〜ステップS808の処理を行うまでループする。ステップS802で取得した全てのアプリケーションについて処理を終えたら処理を終了する。   In step S809, the process returns to step S803, and loops until the processes in steps S804 to S808 are performed for all the applications acquired in step S802. When the process is completed for all the applications acquired in step S802, the process ends.

図9は、図3(C)もしくは図3(D)の画面を操作されてPC101からの要求を受信した際にアプリケーション管理部205が実行する処理の流れを示すフローチャートである。   FIG. 9 is a flowchart showing a flow of processing executed by the application management unit 205 when the screen of FIG. 3C or FIG. 3D is operated to receive a request from the PC 101.

まず、ステップS901でPC101から処理要求を受信する。次にステップS902に処理要求種別を判定する。処理要求種別が、インストール続行要求である場合は、ステップS903に進む。ステップS903では、アプリケーションのApplicationID属性をもとに同じアプリケーションが既にインストールされているかを判定する。もし同じアプリケーションがインストールされていると判定されたらステップS904に進む。ステップS904ではアプリケーションの更新処理を行い、ステップS905に進む。一方、S903で同じアプリケーションがインストールされてないと判定された場合はステップS906に進み、新規にアプリケーションをインストールする処理を行い、ステップS905に進む。ステップS905では、アプリケーション一覧画面(図3(A))を生成してPC101に送信して処理を終了する。   First, in step S901, a processing request is received from the PC 101. In step S902, the processing request type is determined. If the processing request type is an installation continuation request, the process proceeds to step S903. In step S903, it is determined whether the same application is already installed based on the ApplicationID attribute of the application. If it is determined that the same application is installed, the process advances to step S904. In step S904, an application update process is performed, and the process advances to step S905. On the other hand, if it is determined in S903 that the same application is not installed, the process proceeds to step S906, a process for newly installing the application is performed, and the process proceeds to step S905. In step S905, an application list screen (FIG. 3A) is generated and transmitted to the PC 101, and the process ends.

一方、ステップS902にて処理要求種別がインストールキャンセル要求であった場合、ステップS907に進む。ステップS907ではアプリケーションインストール画面を生成し、PC101に画面データを送信して処理を終了する。   On the other hand, if the processing request type is an installation cancel request in step S902, the process proceeds to step S907. In step S907, an application installation screen is generated, screen data is transmitted to the PC 101, and the process ends.

図10は、ステップS904の詳細な処理の流れを示すフローチャートである。   FIG. 10 is a flowchart showing a detailed processing flow of step S904.

まず、ステップS1001にてインストール対象のアプリケーションが開始状態であるかどうかを判定する。もしアプリケーションが開始状態であると判定されたらステップS1002に進む。ステップS1002では再起動すべきアプリケーションのリストを生成する。ステップS1002の処理の詳細は図8の処理と同じである。次にステップS1003に進み、ステップS1002で生成したアプリケーションリストに基づいてアプリケーションの停止処理を行う。次にステップS1004に進み、更新対象アプリケーションを停止して、アプリケーションの更新処理を行い、更新したアプリケーションを起動する。次にステップS1005に進み、ステップS1002にて生成したアプリケーションリストに基づいてアプリケーションを起動して処理を終了する。   First, in step S1001, it is determined whether the installation target application is in a start state. If it is determined that the application is in the start state, the process proceeds to step S1002. In step S1002, a list of applications to be restarted is generated. Details of the processing in step S1002 are the same as the processing in FIG. In step S1003, an application stop process is performed based on the application list generated in step S1002. In step S1004, the update target application is stopped, application update processing is performed, and the updated application is activated. In step S1005, the application is activated based on the application list generated in step S1002, and the process ends.

一方、ステップS1001にてアプリケーションが開始状態ではないと判定された場合、ステップS1006に進む。ステップS1006では他のアプリケーションを停止することなくアプリケーションの更新処理を行い、処理を終了する。   On the other hand, if it is determined in step S1001 that the application is not in the start state, the process advances to step S1006. In step S1006, an application update process is performed without stopping other applications, and the process ends.

以上のように、依存しているアプリケーションが再起動しても動作継続可能かどうかを示す属性をアプリケーションに付与することで、アプリケーション更新処理時に最低限のアプリケーションだけを再起動するように構成している。これにより、アプリケーションの更新処理にかかる時間が短縮され、ユーザ利便性が向上するという効果がある。また、再起動すべきアプリケーションを決定する際は、画像形成装置が固定的に関連情報を持つのではなく、アプリケーション更新処理実行時に毎回動的に判定を行うようにしている。このため、動的にアプリケーションがインストール・アンインストールされるような環境においても最低限のアプリケーションの再起動でアプリケーションのバージョン更新処理が行えるようになる。また、アプリケーション更新時に再起動されるアプリケーションのリストを事前にユーザに提示することにより、ユーザが意図しないアプリケーションが再起動してユーザの作業を妨げることを回避できるようになる。   As described above, it is configured to restart only the minimum application at the time of application update processing by giving the application an attribute indicating whether operation can be continued even if the dependent application restarts. Yes. As a result, the time required for the application update process is shortened, and the user convenience is improved. Further, when determining an application to be restarted, the image forming apparatus does not have the related information in a fixed manner, but makes a determination every rotation when executing the application update process. For this reason, even in an environment in which applications are dynamically installed and uninstalled, application version update processing can be performed with minimal application restart. In addition, by presenting to the user a list of applications to be restarted at the time of application update, it is possible to avoid an application unintended by the user from being restarted and hindering the user's work.

100 画像形成装置
101 PC
205 アプリケーション管理部
100 Image forming apparatus 101 PC
205 Application Management Department

Claims (3)

アプリケーションが提供している機能を示す提供機能属性(505)と、
前記アプリケーションが利用している機能を示す利用機能属性(506)と、
前記アプリケーションが利用している機能が停止した場合に動作継続可能であるかどうかを示す動作継続属性(507)の
少なくとも一つを備えたアプリケーションを追加・削除可能な画像形成装置(100)であって、
前記アプリケーションを受信するアプリケーション受信手段(S601,201)と、
前記アプリケーション受信手段により受信したアプリケーションからアプリケーション属性を取得する属性取得手段(S602,202)と、
前記画像形成装置(100)内にインストールされているアプリケーションの状態や属性情報の取得を行う機器内アプリ情管理得手段(S701,S702,202)と、
前記属性取得手段から取得した属性情報と、前記機器内アプリ情報取得手段から取得したアプリケーション状態情報および属性情報とを利用して再起動すべきアプリケーションを判定する再起動アプリケーション判定手段(S803〜S809,204)と、
前記再起動アプリケーション判定手段により判定されたアプリケーションを停止するアプリケーション停止手段(S1003,203)と、
前記受信手段により受信したアプリケーションをインストールするインストール手段(S1004,203)と、
前記アプリケーション停止手段により停止したアプリケーションを再開するアプリケーション再開手段(S1005,203)と、
を有することを特徴とする画像形成装置。
A provided function attribute (505) indicating a function provided by the application;
A use function attribute (506) indicating a function used by the application;
An image forming apparatus (100) capable of adding / deleting an application having at least one operation continuation attribute (507) indicating whether or not the operation can be continued when a function used by the application is stopped. And
Application receiving means (S601, 201) for receiving the application;
Attribute acquisition means (S602, 202) for acquiring application attributes from the application received by the application reception means;
In-app application information management acquisition means (S701, S702, 202) for acquiring the status and attribute information of the application installed in the image forming apparatus (100);
Restart application determination means for determining an application to be restarted using the attribute information acquired from the attribute acquisition means and the application status information and attribute information acquired from the in-device application information acquisition means (S803 to S809, 204)
Application stopping means (S1003, 203) for stopping the application determined by the restart application determining means;
Installation means (S1004, 203) for installing the application received by the reception means;
Application restarting means (S1005, 203) for restarting the application stopped by the application stopping means;
An image forming apparatus comprising:
前記再起動アプリケーション判定手段(S803〜S809,204)は、
インストール対象アプリケーションの提供機能属性(505)に定義されている機能が、前記画像形成装置上のアプリケーションの利用機能属性(506)に定義されているかを判定することにより依存関係を判定する依存関係判定手段(S805)と、
前記画像形成装置上のアプリケーションの動作継続属性(507)を取得する動作継続属性取得手段(S806)と、
を備え、
前記依存関係判定手段によりインストール対象アプリケーションに依存していると判定され、かつ、前記動作継続属性取得手段により属性を取得できなかった場合もしくは取得した動作継続属性にインストール対象アプリケーションの提供機能属性を含まなかった場合に、再起動が必要であると判定を行う手段(S805〜S807)であることを特徴とする請求項1に記載の画像形成装置。
The restart application determination means (S803 to S809, 204)
Dependency determination for determining the dependency by determining whether the function defined in the provided function attribute (505) of the installation target application is defined in the use function attribute (506) of the application on the image forming apparatus Means (S805);
An operation continuation attribute acquisition unit (S806) for acquiring an operation continuation attribute (507) of an application on the image forming apparatus;
With
When it is determined by the dependency determination means that it is dependent on the installation target application and the attribute cannot be acquired by the operation continuation attribute acquisition means, or the provided operation continuation attribute includes the provided function attribute of the installation target application 2. The image forming apparatus according to claim 1, wherein the image forming apparatus is a unit (S <b> 805 to S <b> 807) that determines that the restart is necessary when there is not.
インストール対象アプリケーションの情報と、画像形成装置内に存在するインストール対象アプリケーションと同じアプリケーションの情報と、
アプリケーションをインストールした際に再起動されるアプリケーションの一覧と、
インストールを続行するか否かをユーザに確認するためのUIとを含む画面データを生成するインストール続行確認画面生成手段(S701〜S706)と、
前記インストール続行確認画面生成手段により生成した画面データをクライアント(101)に送信する画面データ送信手段(S707)と、
をさらに備えることを特徴とする請求項1又は請求項2に記載の画像形成装置。
Information on the installation target application, information on the same application as the installation target application existing in the image forming apparatus, and
A list of applications that will be restarted when you install the application,
Installation continuation confirmation screen generation means (S701 to S706) for generating screen data including a UI for confirming with the user whether or not to continue the installation;
Screen data transmission means (S707) for transmitting the screen data generated by the installation continuation confirmation screen generation means to the client (101);
The image forming apparatus according to claim 1, further comprising:
JP2011085904A 2011-04-08 2011-04-08 Image forming apparatus Withdrawn JP2012221201A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011085904A JP2012221201A (en) 2011-04-08 2011-04-08 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011085904A JP2012221201A (en) 2011-04-08 2011-04-08 Image forming apparatus

Publications (1)

Publication Number Publication Date
JP2012221201A true JP2012221201A (en) 2012-11-12

Family

ID=47272640

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011085904A Withdrawn JP2012221201A (en) 2011-04-08 2011-04-08 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP2012221201A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11061625B2 (en) 2013-11-29 2021-07-13 Canon Kabushiki Kaisha Information processing apparatus requiring selective user interaction for import of settings, method of controlling the same, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11061625B2 (en) 2013-11-29 2021-07-13 Canon Kabushiki Kaisha Information processing apparatus requiring selective user interaction for import of settings, method of controlling the same, and storage medium

Similar Documents

Publication Publication Date Title
JP5531819B2 (en) Management device, license management server, electronic device, electronic device management system, management method, program, and recording medium
JP4958671B2 (en) License management apparatus, license management method, and computer program
CN106488057B (en) Method for generating workflow of image forming job and image forming apparatus
JP6499423B2 (en) Information processing system, information processing apparatus, and control method and program thereof
JP2003177989A (en) Information processing apparatus, server apparatus, driver updating method, computer readable storage medium and program
JP6897178B2 (en) Information processing system, information processing device, information processing method and program
JP2005338940A (en) Installation method, information processor and device driver
KR102248494B1 (en) Information processing apparatus, information processing method, and storage medium
JP2010266953A (en) Information processing apparatus, information processing system and program
CN108984192B (en) Information processing apparatus, computer readable medium, and program management method
JP5582012B2 (en) Image forming apparatus, information processing apparatus, customization program, and recording medium
JP6525776B2 (en) Monitoring device, control method of monitoring device, and program
JP2009205262A (en) Application program installation device, application program installation method, program, and recording medium
JP2012221201A (en) Image forming apparatus
JP6103978B2 (en) Distribution apparatus, device apparatus, distribution apparatus control method, and computer program
JP6639363B2 (en) Server device, information processing method and program
JP6057740B2 (en) Image forming apparatus, information processing method, and program
JP2006228127A (en) Notification method for updating information in application distribution system
JP5766065B2 (en) Management system, server device, management method, and computer program
JP2010049643A (en) Information processing system, information processing method, and program
JP2018116361A (en) Information processing apparatus, management apparatus, control method of information processing apparatus, and program, information processing system
JP6016855B2 (en) Installer program, driver program, and image forming apparatus
JP2023071252A (en) Printer and control method
JP2018007215A (en) Information processing device, control method thereof, and program
JP6663257B2 (en) Information processing apparatus, control method therefor, and program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140701