JP7237745B2 - Information processing device, method and program - Google Patents

Information processing device, method and program Download PDF

Info

Publication number
JP7237745B2
JP7237745B2 JP2019111182A JP2019111182A JP7237745B2 JP 7237745 B2 JP7237745 B2 JP 7237745B2 JP 2019111182 A JP2019111182 A JP 2019111182A JP 2019111182 A JP2019111182 A JP 2019111182A JP 7237745 B2 JP7237745 B2 JP 7237745B2
Authority
JP
Japan
Prior art keywords
application
request
management service
setting value
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
Application number
JP2019111182A
Other languages
Japanese (ja)
Other versions
JP2020205488A (en
Inventor
秀樹 杉山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2019111182A priority Critical patent/JP7237745B2/en
Publication of JP2020205488A publication Critical patent/JP2020205488A/en
Application granted granted Critical
Publication of JP7237745B2 publication Critical patent/JP7237745B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Description

本発明は、情報処理装置、方法およびプログラムに関する。 The present invention relates to an information processing device, method and program.

設定値の配信(インポート・エクスポート)を提供するサービスと、設定値の配信を依頼するアプリケーションが動作する情報処理装置においては、設定値の配信に関する処理のときに装置内で排他的な処理が行われる。例えば、上記の情報処理装置が印刷装置である場合、設定値の配信に関する処理のときに、例えば設定値に影響を与えるジョブ(FAX送信やコピー)や、画面を介しての設定値の操作が一時的に停止される。 In an information processing device that operates a service that provides setting value distribution (import/export) and an application that requests setting value distribution, exclusive processing is performed within the device when processing related to setting value distribution. will be For example, if the above information processing apparatus is a printing apparatus, during processing related to setting value distribution, for example, a job (fax transmission or copy) that affects setting values, or a setting value operation via a screen may be executed. Temporarily suspended.

たとえば、特許文献1に記載のシステムでは、FAX送信やコピー等のジョブの実行を依頼しているアプリケーションの稼動中は、他のアプリケーションからのジョブの実行依頼を拒絶している。ジョブの実行を依頼したアプリケーションが終了するとジョブの排他が解除され、他のアプリケーションからジョブの実行依頼が可能になる。 For example, in the system disclosed in Japanese Patent Application Laid-Open No. 2002-200010, while an application requesting job execution such as fax transmission or copying is running, job execution requests from other applications are rejected. When the application that requested the job execution terminates, the exclusion of the job is released, and job execution can be requested from other applications.

特許第5488014号公報Japanese Patent No. 5488014

この種の情報処理装置において、排他による機能制限を依頼したアプリケーションが何らかの理由で機能制限の解除前に終了することがある。かかる場合には、アプリケーションのリクエストに従う処理が終了したときに、依頼元のアプリケーションが応答できないことからサービスが機能制限を解除できず、情報処理装置の円滑な動作が抑制されうる。 In this type of information processing apparatus, an application requesting function restriction by exclusion may be terminated for some reason before the function restriction is released. In such a case, when the processing according to the request of the application is completed, the requesting application cannot respond, so the service cannot release the function restriction, and the smooth operation of the information processing apparatus can be suppressed.

本発明の一実施形態の情報処理装置は、アプリケーションと、アプリケーションからのリクエストに従う処理を実行するサービスと、が動作する。サービスは、アプリケーションからの機能制限の依頼に応じて、情報処理装置における機能制限の処理を実行し、機能制限の処理の後に、アプリケーションからのリクエストを受け付けて、当該リクエストに従う処理を実行し、リクエストに従う処理の完了をアプリケーションに通知し、アプリケーションからの機能制限の解除の依頼に応じて、機能制限を解除する。また、サービスは、リクエストに従う処理の完了を通知する前に、アプリケーションから機能制限の解除の予約指示を受け付け、予約指示を受け付けた場合には、リクエストに従う処理の完了をアプリケーションに通知することなく、機能制限を解除する。 An information processing apparatus according to an embodiment of the present invention operates an application and a service that executes processing according to a request from the application. In response to a request for functional restriction from an application, the service performs functional restriction processing in the information processing device, receives a request from the application after the functional restriction processing, performs processing in accordance with the request, and Notifies the application of the completion of the processing according to the above, and releases the function restriction in response to the request from the application to release the function restriction. In addition, before notifying the completion of the processing following the request, the service accepts a reservation instruction to release the functional restrictions from the application, and if the reservation instruction is received, the service does not notify the application of the completion of the processing following the request. Remove functional restrictions.

本発明の情報処理装置によれば、アプリケーションからのリクエストに従う処理が終了したときの依頼元のアプリケーションの動作状態に拘わらず、情報処理装置の機能制限を解除できる。 According to the information processing apparatus of the present invention, functional restrictions on the information processing apparatus can be lifted regardless of the operation state of the requesting application when the processing according to the request from the application is completed.

第1実施形態のネットワークシステムの構成例を示す図である1 is a diagram illustrating a configuration example of a network system according to a first embodiment; FIG. 印刷装置(MFP)および管理PCのハードウェア構成の一例を示す図である。3 is a diagram illustrating an example of hardware configurations of a printing device (MFP) and a management PC; FIG. MFPのソフトウェア構造の一例を示す図である。FIG. 3 is a diagram showing an example of the software structure of the MFP; FIG. MFPの表示部に表示される画面の一例を示す図である。FIG. 3 is a diagram showing an example of a screen displayed on the display unit of the MFP; FIG. 第1実施形態のMFPの制御例を示す図である。4A and 4B are diagrams illustrating an example of control of the MFP of the first embodiment; FIG. 図5の続きの図である。FIG. 6 is a continuation of FIG. 5; 第1実施形態の設定値管理サービスの制御例を示す流れ図である。4 is a flow chart showing a control example of a setting value management service according to the first embodiment; 設定データの書き込み処理の例を示す流れ図である。FIG. 11 is a flow chart showing an example of writing processing of setting data; FIG. 終了予約の処理の例を示す流れ図である。FIG. 11 is a flow chart showing an example of processing of a termination reservation; FIG. 第1実施形態のアプリケーションの制御例を示す流れ図である。4 is a flow chart showing an example of control of an application according to the first embodiment; インポート処理の例を示す流れ図である。FIG. 11 is a flow chart showing an example of import processing; FIG. 第2実施形態における設定データの書き込み処理の例を示す流れ図である。FIG. 11 is a flowchart showing an example of writing processing of setting data in the second embodiment; FIG. 第2実施形態における終了予約の処理の例を示す流れ図である。FIG. 11 is a flow chart showing an example of processing for end reservation in the second embodiment; FIG. 第3実施形態のアプリケーションの制御例を示す流れ図である。FIG. 13 is a flow chart showing an example of control of an application according to the third embodiment; FIG. 第4実施形態のアプリケーションの制御例を示す流れ図である。FIG. 14 is a flow chart showing an example of control of an application according to the fourth embodiment; FIG. 第5実施形態における終了予約の処理の例を示す流れ図である。FIG. 22 is a flow chart showing an example of end reservation processing in the fifth embodiment; FIG. 第5実施形態のアプリケーションの制御例を示す流れ図である。FIG. 16 is a flow chart showing an example of control of an application according to the fifth embodiment; FIG.

以下、本発明を実施するための形態について図面などを参照して説明する。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.

(第1実施形態)
図1は、第1実施形態のネットワークシステムの構成例を示す図である。なお、ネットワークシステムの各要素は、後述する本実施形態の機能を実行できるものであれば、単体の機器で構成されていてもよく、複数の機器で構成されていてもよい。
(First embodiment)
FIG. 1 is a diagram illustrating a configuration example of a network system according to the first embodiment. Each element of the network system may be composed of a single device or may be composed of a plurality of devices as long as it can execute the functions of the present embodiment described later.

ネットワークシステムは、情報処理装置の一例としての印刷装置100と、管理PC(Personal Computer)110と、管理サーバ120を含む。印刷装置100、管理PC110および管理サーバ120は、インターネット、イントラネット等のネットワーク130を介して相互に接続されている。 The network system includes a printing device 100 as an example of an information processing device, a management PC (Personal Computer) 110 and a management server 120 . The printing device 100, management PC 110 and management server 120 are interconnected via a network 130 such as the Internet or an intranet.

印刷装置100は、例えば、印刷部、スキャナ部などのモジュールを有する複写機の一種としての複合機(MFP)である。印刷装置100は、用紙に対してトナーやインク等の記録剤を用いて画像形成を行う印刷機能に加え、スキャナ部での原稿読み取りによるFAXやコピー等の機能を備える。 The printing apparatus 100 is, for example, a multifunction peripheral (MFP) as a type of copier having modules such as a printing unit and a scanner unit. The printing apparatus 100 has a printing function of forming an image on a sheet of paper using a recording agent such as toner or ink, and also has a function of facsimile, copying, etc. by reading a document with a scanner unit.

また、印刷装置100は、記憶部101、印刷制御部102を機能構成として含む。記憶部101は、印刷やファクス等のジョブデータや、ログ、画面操作の履歴等のデータを保存して蓄積する。印刷制御部102は、ネットワーク130を介して受信した画像データの印刷を制御する。印刷装置100は、図1に示した機能構成以外に、FAX送受信部、ライセンス管理部、ネットワーク部等を有していてもよい。 The printing apparatus 100 also includes a storage unit 101 and a print control unit 102 as functional configurations. The storage unit 101 saves and accumulates job data such as printing and facsimile data, logs, screen operation histories, and the like. The print control unit 102 controls printing of image data received via the network 130 . The printing apparatus 100 may have a FAX transmission/reception section, a license management section, a network section, etc., in addition to the functional configuration shown in FIG.

本実施形態のネットワークシステムは、1台の印刷装置を含むものとする。しかし、ネットワークシステム内の印刷装置は1つに限定されず、複数台の印刷装置100を含んでもよい。また、ネットワークシステムは、複合機以外の情報処理装置として、例えば印刷部を有する印刷装置(プリンタ)や、スキャナ部を有する原稿読み取り装置(スキャナ)を含む構成であってもよい。なお、印刷装置100は、印刷部およびスキャナ部を有し、原稿のコピーを実行可能な複写機であってもよい。 The network system of this embodiment shall include one printer. However, the number of printers in the network system is not limited to one, and may include multiple printers 100 . In addition, the network system may include, for example, a printing device (printer) having a printing unit and a document reading device (scanner) having a scanner unit as information processing devices other than the multifunction peripheral. Note that the printing apparatus 100 may be a copier that has a printing unit and a scanner unit and is capable of copying an original.

管理PC110は、ネットワークシステムの管理者によって使用される情報処理装置であって、印刷装置100の稼動状態を一元的に管理する。例えば、管理者は、管理PC110に予め備えられているプログラム(管理ツール)を用いて、印刷装置100や他の印刷装置を管理する。 The management PC 110 is an information processing device used by a network system administrator, and centrally manages the operating status of the printing device 100 . For example, the administrator manages the printing device 100 and other printing devices using a program (management tool) pre-installed in the management PC 110 .

管理サーバ120は、データを蓄積し、印刷装置100の管理サービスを提供する情報処理装置である。管理サーバ120は、データを蓄積する記憶部121を有する。 The management server 120 is an information processing device that accumulates data and provides management services for the printing device 100 . The management server 120 has a storage unit 121 that accumulates data.

図2は、印刷装置100、管理PC110のハードウェア構成の一例を示す図である。
まず、管理PC110のハードウェア構成について説明する。管理PC110は、CPU200、ROM201、RAM202、ハードディスク装置205、キーボード206、表示部207、ポインティングデバイス209、接続部210を備える。管理PC110の上記の各要素は、システムバス208を介して接続されている。
なお、CPUは、Central Processing Unitの略であり、ROMは、Read Only Memoryの略である。RAMは、Random Access Memoryの略である。
FIG. 2 is a diagram showing an example of the hardware configuration of the printing apparatus 100 and the management PC 110. As shown in FIG.
First, the hardware configuration of the management PC 110 will be described. The management PC 110 includes a CPU 200 , a ROM 201 , a RAM 202 , a hard disk device 205 , a keyboard 206 , a display section 207 , a pointing device 209 and a connection section 210 . The above elements of the management PC 110 are connected via the system bus 208 .
Note that CPU is an abbreviation for Central Processing Unit, and ROM is an abbreviation for Read Only Memory. RAM is an abbreviation for Random Access Memory.

CPU200は、管理PC110の各要素を統括的に制御する。CPU200は、ハードディスク装置205に格納されているアプリケーションプログラム、プリンタードライバープログラム、OSのプログラム、制御プログラム等を実行する。更に、CPU200は、プログラムの実行に必要な情報やファイル等をRAM202に一時的に格納する制御を行う。CPU200は、ROM201又はハードディスク装置205などに記憶されたプログラムを読み出して処理を実行し、これにより管理PC110の機能が実現される。 The CPU 200 comprehensively controls each element of the management PC 110 . The CPU 200 executes application programs, printer driver programs, OS programs, control programs, and the like stored in the hard disk device 205 . Furthermore, the CPU 200 performs control to temporarily store information, files, etc. necessary for executing the program in the RAM 202 . The CPU 200 reads a program stored in the ROM 201 or the hard disk device 205 or the like and executes processing, thereby realizing the functions of the management PC 110 .

ROM201は、不揮発性の記憶媒体であって、例えば、基本I/Oプログラム等のプログラム、文書処理に使用するフォントデータ、テンプレート用データ等の各種データを記憶する。
RAM202は、CPU200の主メモリ、ワークエリア等の一時領域として機能する一時記憶部である。
The ROM 201 is a non-volatile storage medium, and stores programs such as basic I/O programs, font data used for document processing, and various data such as template data.
A RAM 202 is a temporary storage unit that functions as a temporary area such as a main memory of the CPU 200 and a work area.

管理PC110は、不図示のメディアドライブを備えてもよい。CPU200(コンピューター)によって読み取り可能なプログラムを格納した記憶媒体(メディア)からデータを読み出す記憶媒体読み込み部である。CPU200は、メディアドライブを介して、記憶媒体に記憶されたプログラム等を管理PC110にロードすることができる。
なお、管理PC110で使用される記憶媒体は、例えば、CD-ROM、CD-R、CD-RW、PCカード、DVD、ICメモリカード、MO、メモリスティック等がある。
The management PC 110 may have a media drive (not shown). A storage medium reading unit that reads data from a storage medium storing a program readable by the CPU 200 (computer). The CPU 200 can load a program or the like stored in a storage medium into the management PC 110 via the media drive.
Storage media used in the management PC 110 include, for example, CD-ROMs, CD-Rs, CD-RWs, PC cards, DVDs, IC memory cards, MOs, memory sticks, and the like.

ハードディスク装置(HD)205は、外部記憶部の一つであって、大容量メモリとして機能する。ハードディスク装置205は、アプリケーションプログラム、プリンタードライバープログラム、OS、制御プログラム、関連プログラム等を格納する。 A hard disk device (HD) 205 is one of external storage units and functions as a large-capacity memory. The hard disk device 205 stores application programs, printer driver programs, an OS, control programs, related programs, and the like.

キーボード(KBD)206は、ユーザの文字入力等を受け付ける入力部の一つである。
表示部207は、例えば、CRTや液晶モニタなどのディスプレイ装置であり、キーボード206から入力されたコマンドや、アプリケーションプログラムなどを表示する。
A keyboard (KBD) 206 is one of the input units for accepting user's input of characters and the like.
A display unit 207 is, for example, a display device such as a CRT or a liquid crystal monitor, and displays commands input from the keyboard 206, application programs, and the like.

システムバス208は、管理PC110内のデータの流れを司るデータ伝送路である。
ポインティングデバイス(PD)209は、ユーザによる座標の入力等を受け付ける入力部の一つである。
A system bus 208 is a data transmission line that controls the flow of data within the management PC 110 .
A pointing device (PD) 209 is one of the input units that accept input of coordinates by the user.

接続部210は、双方向インターフェース211を介して外部装置とのデータの送受を行う通信インターフェースである。接続部210の通信先である外部装置は、図2に示す印刷装置100に限定されず、管理サーバ120や、図示しないクライアントPCであってもよい。なお、サーバ120や、クライアントPCのハードウェア構成は、管理PC110と同様であってもよい。 A connection unit 210 is a communication interface that transmits and receives data to and from an external device via a bidirectional interface 211 . The external device that is the communication destination of the connection unit 210 is not limited to the printing device 100 shown in FIG. 2, and may be the management server 120 or a client PC (not shown). Note that the hardware configuration of the server 120 and client PC may be the same as that of the management PC 110 .

次に、印刷装置100のハードウェア構成について説明する。なお、以降の説明では、印刷装置100をMFP100とも表記する。
MFP100は、CPU220、ROM221、RAM222、外部メモリ223、操作部224、データ制御部225、接続部226、ハードディスク装置228、表示部229を備える。MFP100の上記の各要素は、システムバス227を介して接続されている。
Next, the hardware configuration of the printing apparatus 100 will be described. Note that the printing apparatus 100 is also referred to as the MFP 100 in the following description.
MFP 100 includes CPU 220 , ROM 221 , RAM 222 , external memory 223 , operation section 224 , data control section 225 , connection section 226 , hard disk device 228 , and display section 229 . The above elements of MFP 100 are connected via system bus 227 .

CPU220は、MFP100の各要素を統括的に制御する。CPU220は、ハードディスク装置228に格納されているアプリケーションプログラムや、ROM221又は外部メモリ223に記憶された制御プログラム等を実行する。更に、CPU220は、プログラムの実行に必要な情報やファイル等をRAM222に一時的に格納する制御を行う。CPU220は、ROM221又はハードディスク装置228などに記憶されたプログラムを読み出して処理を実行し、これによりMFP100の機能が実現される。 CPU 220 comprehensively controls each element of MFP 100 . The CPU 220 executes application programs stored in the hard disk device 228, control programs stored in the ROM 221 or the external memory 223, and the like. Furthermore, the CPU 220 performs control to temporarily store information, files, etc. necessary for executing the program in the RAM 222 . CPU 220 reads a program stored in ROM 221, hard disk device 228, or the like and executes processing, thereby realizing the functions of MFP 100. FIG.

例えば、CPU220は、ROM221又は外部メモリ223に記憶された制御プログラムに基づいて、接続部226を介して受信した印刷制御コマンド(送信データ)から画像信号をデータ制御部225に送信する。
また、MFP100にログ記録ソフトウェアがインストールされている場合、CPU220は、ROM221又はハードディスク装置228に記憶されたプログラムに基づくログの記録処理を実行する。
For example, the CPU 220 transmits an image signal from a print control command (transmission data) received via the connection section 226 to the data control section 225 based on a control program stored in the ROM 221 or the external memory 223 .
When log recording software is installed in MFP 100 , CPU 220 executes log recording processing based on a program stored in ROM 221 or hard disk device 228 .

ROM221は、不揮発性の記憶媒体であって、例えば、MFP100を制御する制御プログラム、文書処理に使用するフォントデータ、テンプレート用データ等の各種データを記憶する。
RAM222は、CPU220の主メモリ、ワークエリア等の一時領域として機能する一時記憶部である。
外部メモリ223は、オプションとして接続される記憶媒体であって、例えば、フォントデータ、エミュレーションプログラム、テンプレート用データ等を記憶する。
The ROM 221 is a non-volatile storage medium, and stores various data such as a control program for controlling the MFP 100, font data used for document processing, and template data.
The RAM 222 is a temporary storage unit that functions as a temporary area such as the main memory of the CPU 220 and a work area.
The external memory 223 is a storage medium connected as an option, and stores, for example, font data, emulation programs, template data, and the like.

操作部224は、例えば表示デバイスと一体化されたタッチパネルモジュールであって、操作パネルや操作スイッチ等の入力部と、LEDや液晶パネル等の表示部を含む。操作部224は、MFP100を操作するユーザからの入力を受けるとともに、操作結果等を表示する。ユーザは、操作部224を介して、MFP100の設定情報の設定や、当該設定情報の確認等をすることができる。 The operation unit 224 is, for example, a touch panel module integrated with a display device, and includes an input unit such as an operation panel and operation switches, and a display unit such as an LED or liquid crystal panel. Operation unit 224 receives input from the user who operates MFP 100 and displays operation results and the like. The user can set the setting information of the MFP 100 and confirm the setting information through the operation unit 224 .

データ制御部225は、MFP100の印刷を制御する印刷エンジンである。データ制御部225は、CPU220により制御され、ROM221、外部メモリ223等に記憶された制御プログラムにより、システムバス227を介して出力された画像信号を受信し、実際の印刷処理を行う。
接続部226は、双方向インターフェース211を介して外部装置とのデータの送受を行う通信インターフェースである。接続部226は、例えば、双方向インターフェース211を介して管理PC110の接続部210と通信する。これにより、MFP100は、管理PC110から印刷制御コマンド(送信データ)の受信や、管理PC110に対するMFP100の状態等の通知を行うことができる。
システムバス227は、MFP100内のデータの流れを司るデータ伝送路である。
A data control unit 225 is a print engine that controls printing of the MFP 100 . The data control unit 225 is controlled by the CPU 220 and receives image signals output via the system bus 227 according to control programs stored in the ROM 221, the external memory 223, etc., and performs actual print processing.
A connection unit 226 is a communication interface that transmits and receives data to and from an external device via the bidirectional interface 211 . The connection unit 226 communicates with the connection unit 210 of the management PC 110 via the bidirectional interface 211, for example. As a result, the MFP 100 can receive a print control command (transmission data) from the management PC 110 and notify the management PC 110 of the state of the MFP 100 and the like.
A system bus 227 is a data transmission line that controls data flow within the MFP 100 .

ハードディスク装置228は、外部記憶部の一つであって、大容量メモリとして機能する。ハードディスク装置228は、例えば、フォントデータや印刷ジョブ等のデータを記憶する。
また、ハードディスク装置228は、複数のハードディスクで構成されていてもよい。例えば、MFP100は、MFP100のジョブのログ記録などに通常利用されるハードディスクとは別に、バックアップデータの記憶用のハードディスクを別個に有していてもよい。
さらに、ハードディスク装置228は、外部装置である記憶装置と置き換えることができる。ハードディスク装置228を外部の記憶装置と置き換える場合、MFP100は、接続部226を介して外部の記憶装置との間でデータの送受信を行う。
The hard disk device 228 is one of the external storage units and functions as a large capacity memory. The hard disk device 228 stores data such as font data and print jobs, for example.
Further, the hard disk device 228 may be composed of a plurality of hard disks. For example, the MFP 100 may have a separate hard disk for storing backup data, in addition to the hard disk normally used for job log recording of the MFP 100 .
Furthermore, the hard disk device 228 can be replaced with a storage device that is an external device. When replacing hard disk device 228 with an external storage device, MFP 100 transmits and receives data to and from the external storage device via connection unit 226 .

表示部229は、液晶モニタなどのディスプレイ装置であり、MFP100へのログイン画面や、MFP100にインストールされたアプリケーションプログラムの画面を表示する。なお、表示部229は、上記のタッチパネルモジュールの表示部としてMFP100に実装されていてもよい。 Display unit 229 is a display device such as a liquid crystal monitor, and displays a login screen to MFP 100 and screens of application programs installed in MFP 100 . Note that the display unit 229 may be mounted on the MFP 100 as the display unit of the touch panel module described above.

図3は、本実施形態におけるMFP100のソフトウェア構造の一例を示す図である。図3に示される各ソフトウェアモジュールの機能は、ROM221あるいはハードディスク装置228に格納されたプログラムをRAM222に読み込んだ後、CPU220がプログラムを実行することで実現される。 FIG. 3 is a diagram showing an example of the software structure of the MFP 100 according to this embodiment. The function of each software module shown in FIG. 3 is realized by reading a program stored in the ROM 221 or the hard disk device 228 into the RAM 222 and then executing the program by the CPU 220 .

MFP100の各ソフトウェアはOS(Operating System)301上で動作する。OS301としては、一般的にはリアルタイムOSが使用されるが、Linux(登録商標)等の汎用OSを用いてもよい。
JavaVM302は、Java(登録商標)などの仮想マシンであり、アプリケーションの実行環境を提供する。アプリケーションフレームワーク303は、アプリケーションのライフサイクルを管理する機能、およびアプリケーションが共通で利用する機能を提供する。
Each software of the MFP 100 operates on an OS (Operating System) 301 . A real-time OS is generally used as the OS 301, but a general-purpose OS such as Linux (registered trademark) may also be used.
The JavaVM 302 is a virtual machine such as Java (registered trademark) and provides an application execution environment. The application framework 303 provides functions for managing the life cycle of applications and functions commonly used by applications.

アプリケーションA304およびB305は、それぞれMFP100に追加でインストールされるアプリケーションプログラムであり、MFP100上で様々な機能を提供する。これらのアプリケーションは、MFP100の外部からダウンロードしてMFP100にインストールすることができる。
例えば、アプリケーションA304およびB305は、操作部224を介してユーザと応答を行うことが可能である。また、アプリケーションA304およびB305は、画像データの生成や印刷指示をすることも可能である。
Applications A 304 and B 305 are application programs additionally installed in MFP 100 and provide various functions on MFP 100 . These applications can be downloaded from the outside of MFP 100 and installed in MFP 100 .
For example, applications A 304 and B 305 can communicate with the user via the controls 224 . The applications A304 and B305 can also generate image data and instruct printing.

アプリ管理サービス306は、アプリケーションの管理機能を提供するプログラムである。アプリ管理サービス306は、例えば、操作部224および表示部229を介してユーザと応答を行う機能や、各アプリケーションのインストールやアンインストール、使用期間の延長依頼などの機能を提供する。 The application management service 306 is a program that provides application management functions. The application management service 306 provides, for example, a function of responding to the user via the operation unit 224 and the display unit 229, a function of installing and uninstalling each application, and a function of requesting an extension of the usage period.

Native機能部310は、MFP100に組み込まれた標準的な機能を提供する。Native機能部310は、ファイル管理サービス311、設定値管理サービス312、表示管理サービス313およびジョブ管理サービス314を含む。
ファイル管理サービス311は、ハードディスク装置228内に記憶されるファイルの作成、更新、削除などの機能を提供する。
Native function unit 310 provides standard functions incorporated in MFP 100 . Native function unit 310 includes file management service 311 , setting value management service 312 , display management service 313 and job management service 314 .
A file management service 311 provides functions such as creating, updating, and deleting files stored in the hard disk device 228 .

設定値管理サービス312は、MFP100の設定値のエクスポート機能およびインポート機能を提供する。エクスポート機能は、MFP100の設定値をファイルに記録し、MFP100の予め定められた記憶領域や、指定されたMFP100のネットワークフォルダあるいは記憶媒体へ保存する機能である。インポート機能は、設定値管理サービス312によってエクスポートされた設定値ファイルを読み込み、ファイルに記録されている設定値をMFP100に反映させる機能である。 The setting value management service 312 provides an export function and an import function for setting values of the MFP 100 . The export function is a function of recording setting values of MFP 100 in a file and saving them in a predetermined storage area of MFP 100, a specified network folder of MFP 100, or a storage medium. The import function is a function of reading a setting value file exported by the setting value management service 312 and reflecting the setting values recorded in the file on the MFP 100 .

表示管理サービス313は、MFP100の画面表示の制御を行う機能を提供する。表示管理サービス313は、例えば、指定された画面を表示部229に表示する。これを契機として、MFP100は、操作部224を介してユーザの操作を受け付けることでアプリケーションフレームワーク303を開始させ、アプリケーションやOS301に通知を行う。 A display management service 313 provides a function of controlling screen display of the MFP 100 . The display management service 313 displays the specified screen on the display unit 229, for example. Triggered by this, the MFP 100 accepts the user's operation via the operation unit 224 to start the application framework 303 and notify the application and the OS 301 .

ジョブ管理サービス314は、MFP100で実行される様々なジョブの生成、終了、停止、再開等を制御する。また、ジョブ管理サービス314は、ジョブ種(例えば、FAX送信、印刷)毎の実行の停止や再開等のジョブサービスの管理を行う。また、ジョブ管理サービス314は、各種ジョブを実行した場合にログを記録して、内部ログ情報としてハードディスク装置228に格納する。 The job management service 314 controls creation, termination, suspension, restart, etc. of various jobs executed by the MFP 100 . Also, the job management service 314 manages job services such as stopping and resuming execution for each job type (for example, FAX transmission and printing). The job management service 314 also records a log when various jobs are executed, and stores the log in the hard disk device 228 as internal log information.

なお、本実施形態では、JavaVM302、アプリケーションフレームワーク303はハードディスク装置228に格納されているものとする。また、Native機能部310はROM221に格納されているものとする。 In this embodiment, JavaVM 302 and application framework 303 are assumed to be stored in hard disk device 228 . It is also assumed that the Native function unit 310 is stored in the ROM 221 .

図4は、MFP100の表示部229に表示される画面の一例を示す図である。
図4(A)は、MFP100起動直後に表示される画面400の一例を示す。画面400は、アイコンおよびタイトルの表示401、ガイダンス402、アイコン表示領域403およびファンクションアイコン404を含む。
FIG. 4 is a diagram showing an example of a screen displayed on display unit 229 of MFP 100. As shown in FIG.
FIG. 4A shows an example of a screen 400 displayed immediately after MFP 100 is activated. Screen 400 includes icon and title display 401 , guidance 402 , icon display area 403 and function icons 404 .

図4(A)の表示401は、ホーム(初期画面)を意味するアイコンと、タイトル「メインメニュー」で構成されている。図4(A)のガイダンス402は、ユーザに操作を促すメッセージ(「目的のファンクションを選択します」)を表示している。 A display 401 in FIG. 4A is composed of an icon representing a home (initial screen) and a title "main menu". Guidance 402 in FIG. 4A displays a message ("Select desired function") prompting the user to perform an operation.

また、図4(A)のアイコン表示領域403には、複数のファンクションアイコン404が表示されている。個々のファンクションアイコン404は、MFP100に予め備えられた機能、あるいはアプリケーションのインストールまたは有効化によって追加された機能に対応している。例えば、バックアップのファンクションアイコン404は、MFP100のバックアップ機能を実行するためのアイコンである。
操作部224のタッチパネルの機能を利用してユーザがファンクションアイコン404を指定する入力を行うと、MFP100は指定されたファンクションアイコン404に対応する機能を実行する。
A plurality of function icons 404 are displayed in the icon display area 403 of FIG. 4A. Each function icon 404 corresponds to a function provided in advance in MFP 100 or a function added by installing or activating an application. For example, the backup function icon 404 is an icon for executing the backup function of the MFP 100 .
When the user performs an input specifying a function icon 404 using the touch panel function of the operation unit 224 , the MFP 100 executes the function corresponding to the specified function icon 404 .

図4(B)は、バックアップ機能の実行中に表示される画面410の一例を示す。画面410は、アイコンおよびタイトルの表示411、サービス接続確認ボタン412、表示領域413、実行履歴ボタン414、定期バックアップ設定ボタン415、いますぐバックアップボタン416を含む。 FIG. 4B shows an example of a screen 410 displayed during execution of the backup function. Screen 410 includes icon and title display 411 , service connection confirmation button 412 , display area 413 , execution history button 414 , periodic backup setting button 415 , and backup now button 416 .

ここで、バックアップ機能は、バックアップアプリケーションから呼び出され、指定されたバックアップ対象をアーカイブし、指定された場所に格納する。例えば、バックアップ機能は、MFP100のファームウェア、設定値、インストール済のアプリケーション、およびアプリケーションの設定値等、MFP100のハードディスク装置228に格納されているデータをアーカイブする。そして、バックアップ機能は、アーカイブしたデータを、MFP100の外部の記憶装置(例えば、管理サーバ120の記憶部121や、ネットワーク上の所定のデータストレージ(不図示)など)に保存する。 Here, the backup function is called from the backup application, archives the specified backup target, and stores it in the specified location. For example, the backup function archives data stored in hard disk device 228 of MFP 100, such as firmware of MFP 100, setting values, installed applications, and application setting values. The backup function saves the archived data in a storage device external to the MFP 100 (for example, the storage unit 121 of the management server 120 or a predetermined data storage (not shown) on the network).

図4(B)の表示411は、バックアップ機能を示すアイコンと、タイトル「バックアップ」で構成されている。
サービス接続確認ボタン412は、バックアップサービスとの接続結果を表示させるボタンである。ユーザによってサービス接続確認ボタン412が押下されると、MFP100は、表示部229にサービス接続画面(不図示)を表示させ、管理サーバ120で稼動しているバックアップサービスとの接続結果を表示させる。
表示領域413には、最新のバックアップ情報が表示される。例えば、表示領域413には、最新のバックアップに関し、バックアップの実施日時、バックアップ結果およびバックアップの失敗理由などの情報が表示される。
A display 411 in FIG. 4B is composed of an icon indicating the backup function and the title "backup".
A service connection confirmation button 412 is a button for displaying the connection result with the backup service. When the user presses the service connection confirmation button 412 , the MFP 100 displays a service connection screen (not shown) on the display unit 229 to display the connection result with the backup service running on the management server 120 .
A display area 413 displays the latest backup information. For example, the display area 413 displays information regarding the latest backup, such as the execution date and time of the backup, the backup result, and the reason for the failure of the backup.

実行履歴ボタン414は、バックアップの実行履歴を表示させるボタンである。ユーザによって実行履歴ボタン414が押下されると、MFP100は、バックアップの実施日時および簡単な結果をリスト形式で表示する画面(不図示)を表示部229に表示させる。 An execution history button 414 is a button for displaying a backup execution history. When the execution history button 414 is pressed by the user, the MFP 100 causes the display unit 229 to display a screen (not shown) that displays the date and time of backup and a brief result in a list format.

定期バックアップ設定ボタン415は、定期バックアップの設定画面を表示させるボタンである。ユーザによって定期バックアップ設定ボタン415が押下されると、MFP100は、定期バックアップの設定画面(不図示)を表示部229に表示させる。定期バックアップの設定画面では、MFP100は、定期バックアップの実施日時、バックアップ対象項目等の設定の入力を受け付ける。定期バックアップの設定がされると、バックアップ機能は、設定された実施日時が到来したときにバックアップを実行する。 A periodical backup setting button 415 is a button for displaying a periodical backup setting screen. When the user presses the periodic backup setting button 415, the MFP 100 causes the display unit 229 to display a periodic backup setting screen (not shown). On the periodical backup setting screen, the MFP 100 accepts input of settings such as the execution date and time of the periodical backup and items to be backed up. When the periodic backup is set, the backup function executes the backup when the set implementation date and time comes.

いますぐバックアップボタン416は、バックアップを実行させるボタンである。ユーザによっていますぐバックアップボタン416が押下されると、MFP100は、後述の図4(C)のロック画面を表示部229に表示させるとともに、バックアップ機能にバックアップを実行させる。
なお、いますぐバックアップおよび定期バックアップの実行時には、MFP100の設定、インストール済みアプリケーションの一覧、アプリケーションの設定が取得される。そして、管理サーバ120で稼動しているバックアップサービスに上記の取得された設定が通知される。また、バックアップサービスは、例えば記憶部121の所定の領域に、通知された設定を格納する。
A backup now button 416 is a button for executing a backup. When the user presses the backup now button 416, the MFP 100 causes the display unit 229 to display a lock screen shown in FIG. 4C, which will be described later, and causes the backup function to perform backup.
It should be noted that the settings of MFP 100, the list of installed applications, and the settings of applications are acquired when immediate backup and periodic backup are executed. Then, the backup service running on the management server 120 is notified of the acquired settings. Also, the backup service stores the notified settings in a predetermined area of the storage unit 121, for example.

図4(C)は、画面ロック中に表示される画面420の一例を示す。
図4(C)の画面420は、例えば、図4(B)の画面410で指示されたいますぐバックアップの実行時に表示部229に表示される。なお、例えば、リストア画面(不図示)からバックアップデータの設定値をMFP100に反映させる復旧処理の実行時にも、メッセージの異なる同種の画面が表示部229に表示される。
FIG. 4C shows an example of a screen 420 displayed while the screen is locked.
The screen 420 of FIG. 4C is displayed on the display unit 229, for example, when the immediate backup is executed as instructed on the screen 410 of FIG. 4B. Note that, for example, the same type of screen with a different message is displayed on the display unit 229 even when executing recovery processing for reflecting the set values of backup data on the MFP 100 from a restore screen (not shown).

画面420は、バックアップ中であることを示し、ユーザに電源の遮断をしないように促すメッセージ表示421を含む。MFP100の設定情報等をバックアップ中のときには、画面420の表示により、操作部224はユーザによる指示入力を受け付けない状態となる。 The screen 420 includes a message display 421 indicating that backup is in progress and urging the user not to turn off the power. When the setting information of MFP 100 is being backed up, screen 420 is displayed so that operation unit 224 does not accept instruction input by the user.

図4(C)の画面420は、バックアップの終了とともに表示が切り替えられ、表示部229にはバックアップ実行前の画面が表示される。例えば、図4(B)の画面410から、いますぐバックアップボタン416を押下してバックアップを実行すると、バックアップの実行中には画面420が表示されるが、バックアップの終了後には画面410が再び表示される。 The display of the screen 420 in FIG. 4C is switched when the backup is completed, and the screen before execution of the backup is displayed on the display unit 229 . For example, when the backup button 416 is pressed from the screen 410 in FIG. 4B to execute backup, the screen 420 is displayed while the backup is being executed, but after the backup is completed, the screen 410 is displayed again. be done.

図5、図6は、第1実施形態のMFP100の制御例を示す図である。
以下の説明では、MFP100にインストール済みのアプリケーションA(以下、単にアプリケーションと表記する)304が、MFP100に設定値をインポートするときの制御を説明する。なお、アプリケーション304は、MFP100にインポートする設定値(設定データ)を予め保持しているものとする。
5 and 6 are diagrams showing control examples of the MFP 100 of the first embodiment.
In the following description, control when application A (hereinafter simply referred to as application) 304 installed in MFP 100 imports setting values into MFP 100 will be described. It is assumed that the application 304 holds in advance setting values (setting data) to be imported into the MFP 100 .

ステップS501にて、アプリケーション304は、設定値管理サービス312が提供する機能に基づき、設定値管理サービス312に対して画面ロック要求を通知する。 In step S<b>501 , the application 304 notifies the setting value management service 312 of a screen lock request based on the function provided by the setting value management service 312 .

ステップS502にて、設定値管理サービス312は、表示管理サービス313に対して画面ロックの依頼を行う。すなわち、設定値管理サービス312は、図4(c)に示す画面420を表示部229に表示させる依頼を行う。表示管理サービス313は、画面ロックの依頼を受けて、画面420の表示による画面のロック制御を行う。
また、図示はしないが、設定値管理サービス312は、Webサービスを介した外部の情報処理装置からの設定値の書き込み・読み込みを不能化(ロック)する処理も行う。以降、後述する画面ロックの解除が行われるまで、ユーザからの入力指示ができない状態となる。
In step S502, the setting value management service 312 requests the display management service 313 to lock the screen. That is, the setting value management service 312 makes a request to display the screen 420 shown in FIG. 4C on the display unit 229 . The display management service 313 receives the screen lock request and performs screen lock control by displaying the screen 420 .
Although not shown, the setting value management service 312 also performs a process of disabling (locking) writing/reading of setting values from an external information processing apparatus via a Web service. After that, the user cannot input an instruction until the screen is unlocked, which will be described later.

ステップS503にて、設定値管理サービス312は、アプリケーション304に対して画面ロックの完了を通知する。
ステップS504にて、アプリケーション304は、設定値管理サービス312が提供する機能に基づき、設定値管理サービス312に対して排他要求を通知する。
In step S503, the setting value management service 312 notifies the application 304 of completion of screen lock.
In step S<b>504 , the application 304 notifies the setting value management service 312 of an exclusion request based on the function provided by the setting value management service 312 .

ステップS505にて、設定値管理サービス312は、排他オブジェクトを取得する。
排他オブジェクトは、JavaVM302に予め用意され、アプリケーションフレームワーク303を介して取得・解放ができるオブジェクトである。排他対象と排他オブジェクトは紐付けて管理され、排他オブジェクトが取得できたときは、その排他オブジェクトに対応する排他対象を使用できるものとする。排他対象の使用が終了すると、排他対象に対応する排他オブジェクトが解放される。排他オブジェクトを取得できないときは、排他オブジェクトに対応する排他対象を使用できない。排他オブジェクトを同時に取得できなくすることで、排他処理が実現される。
In step S505, the setting value management service 312 acquires an exclusive object.
An exclusive object is an object that is prepared in advance in the JavaVM 302 and that can be acquired and released via the application framework 303 . The exclusion target and the exclusion object are linked and managed, and when the exclusion object can be obtained, the exclusion target corresponding to the exclusion object can be used. When the use of the exclusion target ends, the exclusion object corresponding to the exclusion target is released. If the exclusive object cannot be acquired, the exclusive object corresponding to the exclusive object cannot be used. Exclusive processing is realized by making it impossible to acquire exclusive objects at the same time.

図示しないが、排他オブジェクトの取得に失敗した場合は、設定値管理サービス312は、アプリケーション304に対して排他の失敗を通知する。以降、アプリケーション304は、排他要求が成功するまで排他要求の処理を繰り返す。つまり、設定値管理サービス312が排他オブジェクトを取得できたときだけ、設定値のインポート・エクスポートの依頼が成功することを意味している。 Although not shown, if acquisition of the exclusive object fails, the setting value management service 312 notifies the application 304 of the failure of the exclusion. After that, the application 304 repeats the processing of the exclusion request until the exclusion request succeeds. In other words, this means that the import/export request for the setting values will succeed only when the setting value management service 312 can acquire the exclusive object.

ステップS506にて、設定値管理サービス312は、ジョブ管理サービス314に対してジョブの排他を通知する。これにより、ジョブ管理サービス314は、設定値の変更に影響を受けるジョブサービスまたは設定値に影響するジョブサービス(FAX送信やコピー等)を一時的に停止する。 In step S506, the setting value management service 312 notifies the job management service 314 of exclusion of the job. As a result, the job management service 314 temporarily suspends the job service affected by the setting value change or the job service affecting the setting value (fax transmission, copying, etc.).

ステップS507にて、設定値管理サービス312は、アプリケーション304に対して排他の完了を通知する。図示しないが、ここでジョブの排他に失敗した場合は、設定値管理サービス312は、ステップS505で取得した排他オブジェクトを解放し、排他の失敗をアプリケーション304に通知する。以降、アプリケーション304は、排他要求が成功するまで排他要求処理を繰り返す。 In step S507, the setting value management service 312 notifies the application 304 of the completion of exclusion. Although not shown, if job exclusion fails here, the setting value management service 312 releases the exclusion object acquired in step S505 and notifies the application 304 of the exclusion failure. After that, the application 304 repeats the exclusion request process until the exclusion request succeeds.

ステップS508にて、アプリケーション304は、設定値管理サービス312に対してインポート要求を行う。すなわち、アプリケーション304は、設定値管理サービス312が提供する機能に基づき、設定値のインポートを要求する。 In step S<b>508 , the application 304 makes an import request to the setting value management service 312 . That is, the application 304 requests import of setting values based on the function provided by the setting value management service 312 .

ステップS509にて、アプリケーション304は、インポートの対象となる設定データを設定値管理サービス312に送付する。
ステップS510にて、設定値管理サービス312は設定データを書き込む。すなわち、設定値管理サービス312は、ステップS509で受け取った設定データをファイル管理サービス311に送付し、ファイル管理サービス311は設定値をMFP100に反映する。
In step S<b>509 , the application 304 sends setting data to be imported to the setting value management service 312 .
In step S510, the setting value management service 312 writes setting data. That is, the setting value management service 312 sends the setting data received in step S<b>509 to the file management service 311 , and the file management service 311 reflects the setting values on the MFP 100 .

ステップS511にて、アプリケーション304は、設定値管理サービス312の提供する機能に基づき、設定値管理サービス312に対してインポートの処理結果を確認するための通信を行う。 In step S<b>511 , the application 304 communicates with the setting value management service 312 based on the function provided by the setting value management service 312 to confirm the import processing result.

ステップS512にて、設定値管理サービス312は、アプリケーション304に対してインポートの処理結果を応答する。このとき、設定値管理サービス312は、ステップS510の結果として、成功・失敗・処理中のいずれかの応答をアプリケーション304に返す。アプリケーション304は、設定値管理サービス312から成功の応答または失敗の応答があるまで、ステップS511以降の処理を繰り返す。なお、ステップS512で失敗が応答された場合には、アプリケーション304は、例外として不図示の失敗処理を行う。 In step S512, the setting value management service 312 responds to the application 304 with the result of import processing. At this time, the setting value management service 312 returns to the application 304 a response of success, failure, or processing as a result of step S510. The application 304 repeats the processing from step S511 until it receives a success response or a failure response from the setting value management service 312 . It should be noted that when a failure is responded in step S512, the application 304 performs failure processing (not shown) as an exception.

次に、通常処理として、ステップS510の設定データの書き込みの後に、インポートの処理完了までアプリケーションが稼動している場合の制御例を説明する。この通常処理は、図6に示すステップS513からS522の処理を含む。
ステップS513にて、ファイル管理サービス311は、書き込みの完了を設定値管理サービス312に通知する。
Next, as a normal process, an example of control when the application is running after the setting data is written in step S510 until the import process is completed will be described. This normal processing includes processing from steps S513 to S522 shown in FIG.
In step S513, the file management service 311 notifies the setting value management service 312 of completion of writing.

ステップS514にて、アプリケーション304は、設定値管理サービス312に対して結果の確認のための通信を行う。この処理は、ステップS511と同様である。
ステップS515にて、設定値管理サービス312は、アプリケーション304に結果を応答する。この処理は、ステップS512と同様である。ここでは、ステップS513で書き込みが完了しているため、設定値管理サービス312は、成功の応答をアプリケーション304に返す。
In step S514, the application 304 communicates with the setting value management service 312 to confirm the result. This process is the same as step S511.
In step S515, the setting value management service 312 responds to the application 304 with the result. This process is similar to step S512. Here, since the writing has been completed in step S513, the setting value management service 312 returns a success response to the application 304. FIG.

ステップS516にて、アプリケーション304は、設定値管理サービス312が提供する機能に基づき、設定値管理サービス312に対して排他解除要求を通知する。
ステップS517にて、設定値管理サービス312は、ジョブ管理サービス314にジョブ排他解除を送付する。ジョブ管理サービス314は、ジョブ排他解除を受けると、ステップS506で一時停止したジョブサービスを再開する。
In step S<b>516 , the application 304 notifies the setting value management service 312 of an exclusion release request based on the function provided by the setting value management service 312 .
In step S<b>517 , the setting value management service 312 sends job exclusion cancellation to the job management service 314 . Upon receiving the job exclusion release, the job management service 314 resumes the job service suspended in step S506.

ステップS518にて、設定値管理サービス312は、ステップS505で取得した排他オブジェクトを解放する。
ステップS519にて、設定値管理サービス312は、アプリケーション304に排他解除完了を通知する。
In step S518, the setting value management service 312 releases the exclusive object acquired in step S505.
In step S519, the setting value management service 312 notifies the application 304 of the completion of exclusion release.

ステップS520にて、アプリケーション304は、設定値管理サービス312が提供する機能に基づき、設定値管理サービス312に対して画面ロックの解除要求を送付する。
ステップS521にて、設定値管理サービス312は、表示管理サービス313に対して画面ロックの解除を依頼する。すなわち、設定値管理サービス312は、図4(c)に示すロック画面420の表示を、ロック画面が表示される前の画面に切り替える依頼を行う。
ステップS522にて、設定値管理サービス312は、アプリケーション304に対して画面ロックの解除完了を通知する。
In step S<b>520 , the application 304 sends a screen lock release request to the setting value management service 312 based on the function provided by the setting value management service 312 .
In step S521, the setting value management service 312 requests the display management service 313 to unlock the screen. That is, the setting value management service 312 makes a request to switch the display of the lock screen 420 shown in FIG. 4C to the screen before the lock screen is displayed.
In step S522, the setting value management service 312 notifies the application 304 of the completion of unlocking the screen lock.

以上の制御により、設定値のインポート中は、設定値変更に影響のあるジョブサービスが一時停止され、表示部229にはロック画面420が表示される。そして、設定値のインポートが完了した後にジョブサービスの停止が解除され、表示部229ではロック画面420の表示による画面のロックが解除される。したがって、インポートの実行中には、他のインポートやエクスポートの実行はできない状態となる。 With the above control, while the setting values are being imported, the job service that affects setting value changes is suspended, and the lock screen 420 is displayed on the display unit 229 . After the import of the setting values is completed, the stop of the job service is released, and the lock screen 420 displayed on the display unit 229 is unlocked. Therefore, while import is being executed, other imports and exports cannot be executed.

次に、強制終了処理として、ステップS510の設定データの書き込みの後に、アプリケーションが終了する場合の制御例を説明する。この強制終了処理は、図6に示すステップS523からS529の処理を含む。強制終了処理のケースとしては、例えば、インポート要求が行われ、設定データを送付済みのアプリケーションにつきアップデートが発生し、アプリ管理サービス306からアプリケーションの終了が指示された場合などが挙げられる。 Next, as forced termination processing, an example of control when the application is terminated after writing the setting data in step S510 will be described. This forced termination process includes the processes from steps S523 to S529 shown in FIG. For example, an import request is issued, an update occurs for an application whose setting data has already been sent, and the application management service 306 instructs to terminate the application.

ステップS523にて、アプリ管理サービス306は、アプリケーションフレームワーク303が提供する機能に基づき、アプリケーション304に対して終了要求を送付する。
ステップS524にて、アプリケーション304は、設定値管理サービス312が提供する機能に基づき、設定値管理サービス312に対して終了予約を送付する。終了予約は、機能制限の解除の予約指示の一例である。
ステップS525にて、アプリケーション304は終了処理を行う。アプリケーション304は、例えば、確保済みのワーク領域の解放、動作ログファイルの保存等を行った後に、アプリケーションを終了させる。
In step S<b>523 , the application management service 306 sends a termination request to the application 304 based on the functions provided by the application framework 303 .
In step S<b>524 , the application 304 sends a termination reservation to the setting value management service 312 based on the function provided by the setting value management service 312 . The termination reservation is an example of a reservation instruction for canceling functional restrictions.
In step S525, the application 304 performs termination processing. The application 304, for example, releases the secured work area, saves the operation log file, and then terminates the application.

ステップS526にて、ファイル管理サービス311は、書き込みの完了を設定値管理サービス312に通知する。この処理は、ステップS513と同様である。
ステップS527にて、設定値管理サービス312は、ジョブ管理サービス314にジョブ排他解除を送付する。この処理は、ステップS517と同様である。
In step S526, the file management service 311 notifies the setting value management service 312 of the completion of writing. This process is the same as step S513.
In step S<b>527 , the setting value management service 312 sends job exclusion cancellation to the job management service 314 . This process is the same as step S517.

ステップS528にて、設定値管理サービス312は、ステップS505で取得した排他オブジェクトを解放する。この処理は、ステップS518と同様である。
ステップS529にて、設定値管理サービス312は、表示管理サービス313に対して画面ロックの解除を依頼する。すなわち、設定値管理サービス312は、図4(c)に示すロック画面420の表示を、ロック画面が表示される前の画面に切り替える依頼を行う。この処理は、ステップS521と同様である。
In step S528, the setting value management service 312 releases the exclusive object acquired in step S505. This process is the same as step S518.
In step S529, the setting value management service 312 requests the display management service 313 to unlock the screen. That is, the setting value management service 312 makes a request to switch the display of the lock screen 420 shown in FIG. 4C to the screen before the lock screen is displayed. This process is similar to step S521.

以上の制御により、アプリケーション304から終了予約を受領した設定値管理サービス312は、ファイル管理サービス311から書き込み完了を受領すると、排他解除の要求を受領しなくともジョブ排他の解除処理を実行する。同様に、アプリケーション304から終了予約を受領した設定値管理サービス312は、ファイル管理サービス311から書き込み完了を受領すると、画面ロックの解除要求を受領しなくとも画面ロックの解除処理を実行する。つまり、設定値管理サービス312は、アプリケーションからのリクエストに従う処理が終了したときの依頼元のアプリケーション304の動作状態に拘わらず、終了予約に基づいてMFP100の機能制限を解除できる。 With the above control, when the setting value management service 312 that has received the end reservation from the application 304 receives the write completion from the file management service 311, it executes job exclusion release processing without receiving an exclusion release request. Similarly, the setting value management service 312 that has received the end reservation from the application 304 executes the screen lock release processing even if the screen lock release request is not received when the write completion is received from the file management service 311 . In other words, the setting value management service 312 can release the functional restriction of the MFP 100 based on the termination reservation regardless of the operating state of the requesting application 304 when the process according to the request from the application is completed.

次に、図7~図9を用いて、設定値管理サービス312の処理について説明する。
図7は、第1実施形態の設定値管理サービス312の制御例を示す流れ図である。
Next, the processing of the setting value management service 312 will be described with reference to FIGS. 7 to 9. FIG.
FIG. 7 is a flowchart showing a control example of the setting value management service 312 of the first embodiment.

ステップS601にて、設定値管理サービス312は、画面ロック要求を受領したか判断する。すなわち、設定値管理サービス312およびアプリケーション304の間で予め定められた所定の方法に基づき、アプリケーション304から画面ロック要求の通知があった場合、設定値管理サービス312は画面ロック要求を受領したと判断する。
画面ロック要求を受領したと判断された場合にはステップS602に処理が移行し、画面ロック要求を受領したと判断されない場合にはステップS603に処理が移行する。
In step S601, the setting value management service 312 determines whether a screen lock request has been received. That is, based on a predetermined method predetermined between the setting value management service 312 and the application 304, when the application 304 notifies the screen lock request, the setting value management service 312 determines that the screen lock request has been received. do.
If it is determined that the screen lock request has been received, the process proceeds to step S602, and if it is determined that the screen lock request has not been received, the process proceeds to step S603.

ステップS602にて、設定値管理サービス312は、画面ロック処理を行う。画面ロック処理において、設定値管理サービス312は、表示管理サービス313が提供している所定の方法に基づき、表示管理サービス313に画面ロックの依頼を行う。ステップS602の処理は、図5に示すステップS502の処理に相当する。その後、処理はステップS601に戻る。 In step S602, the setting value management service 312 performs screen lock processing. In screen lock processing, the setting value management service 312 requests the display management service 313 to lock the screen based on a predetermined method provided by the display management service 313 . The process of step S602 corresponds to the process of step S502 shown in FIG. After that, the process returns to step S601.

ステップS603にて、設定値管理サービス312は、画面ロック解除要求を受領したか判断する。すなわち、設定値管理サービス312およびアプリケーション304の間で予め定められた所定の方法に基づき、アプリケーション304から画面ロック解除要求の通知があった場合、設定値管理サービス312は画面ロック解除要求を受領したと判断する。
画面ロック解除要求を受領したと判断された場合にはステップS604に処理が移行し、画面ロック解除要求を受領したと判断されない場合にはステップS605に処理が移行する。
In step S603, the setting value management service 312 determines whether a screen unlock request has been received. That is, based on a predetermined method predetermined between the setting value management service 312 and the application 304, when the application 304 notifies the screen unlock request, the setting value management service 312 receives the screen unlock request. I judge.
If it is determined that the screen unlock request has been received, the process proceeds to step S604, and if it is determined that the screen unlock request has not been received, the process proceeds to step S605.

ステップS604にて、設定値管理サービス312は、画面ロック解除処理を行う。画面ロック解除処理において、設定値管理サービス312は、表示管理サービス313が提供している所定の方法に基づき、表示管理サービス313に画面ロック解除の依頼を行う。ステップS604の処理は、図6に示すステップS521の処理に相当する。その後、処理はステップS601に戻る。 In step S604, the setting value management service 312 performs screen unlock processing. In screen unlock processing, the setting value management service 312 requests the display management service 313 to unlock the screen based on a predetermined method provided by the display management service 313 . The processing of step S604 corresponds to the processing of step S521 shown in FIG. After that, the process returns to step S601.

ステップS605にて、設定値管理サービス312は、排他要求を受領したか判断する。すなわち、設定値管理サービス312およびアプリケーション304の間で予め定められた所定の方法に基づき、アプリケーション304から排他要求の通知があった場合、設定値管理サービス312は排他要求を受領したと判断する。
排他要求を受領したと判断された場合にはステップS606に処理が移行し、排他要求を受領したと判断されない場合にはステップS608に処理が移行する。
In step S605, the setting value management service 312 determines whether an exclusion request has been received. That is, based on a predetermined method predetermined between the setting value management service 312 and the application 304, when the application 304 notifies of the exclusion request, the setting value management service 312 determines that the exclusion request has been received.
If it is determined that an exclusion request has been received, the process proceeds to step S606, and if it is determined that an exclusion request has not been received, the process proceeds to step S608.

ステップS606にて、設定値管理サービス312は、排他オブジェクトの取得を行う。取得した排他オブジェクトは、例えばRAM222の記憶領域に確保されたワークエリアに適宜保存される。ステップS606の処理は、図5に示すステップS505の処理に相当する。 In step S606, the setting value management service 312 acquires an exclusive object. The acquired exclusive object is appropriately saved in a work area secured in the storage area of the RAM 222, for example. The processing of step S606 corresponds to the processing of step S505 shown in FIG.

次にステップS607にて、設定値管理サービス312は、ジョブ排他の依頼処理を行う。ジョブ排他の依頼処理において、設定値管理サービス312は、ジョブ管理サービス314が提供している所定の方法に基づき、ジョブ管理サービス314にジョブ排他の依頼を行う。ステップS607の処理は、図5に示すステップS506の処理に相当する。その後、処理はステップS601に戻る。 Next, in step S607, the setting value management service 312 performs job exclusion request processing. In the job exclusion request process, the setting value management service 312 requests the job management service 314 to exclude the job based on a predetermined method provided by the job management service 314 . The process of step S607 corresponds to the process of step S506 shown in FIG. After that, the process returns to step S601.

ステップS608にて、設定値管理サービス312は、排他解除要求を受領したか判断する。すなわち、設定値管理サービス312およびアプリケーション304の間で予め定められた所定の方法に基づき、アプリケーション304から排他解除要求の通知があった場合、設定値管理サービス312は排他解除要求を受領したと判断する。
排他解除要求を受領したと判断された場合にはステップS609に処理が移行し、排他解除要求を受領したと判断されない場合にはステップS611に処理が移行する。
In step S608, the setting value management service 312 determines whether an exclusion release request has been received. That is, based on a predetermined method predetermined between the setting value management service 312 and the application 304, when the application 304 notifies the exclusion release request, the setting value management service 312 determines that the exclusion release request has been received. do.
If it is determined that an exclusion cancellation request has been received, the process proceeds to step S609, and if it is determined that an exclusion cancellation request has not been received, the process proceeds to step S611.

ステップS609にて、設定値管理サービス312は、ジョブ排他の解除処理を行う。ジョブ排他の解除処理において、設定値管理サービス312は、ジョブ管理サービス314が提供している所定の方法に基づき、ジョブ管理サービス314にジョブ排他解除の依頼を行う。ステップS609の処理は、図6に示すステップS517の処理に相当する。 In step S609, the setting value management service 312 performs job exclusion release processing. In the job exclusion release process, the setting value management service 312 requests the job management service 314 to release job exclusion based on a predetermined method provided by the job management service 314 . The process of step S609 corresponds to the process of step S517 shown in FIG.

次にステップS610にて、設定値管理サービス312は、ステップS606で取得された排他オブジェクトの解放を行う。ステップS610の処理は、図6に示すステップS518の処理に相当する。その後、処理はステップS601に戻る。 Next, in step S610, the setting value management service 312 releases the exclusive object acquired in step S606. The process of step S610 corresponds to the process of step S518 shown in FIG. After that, the process returns to step S601.

ステップS611にて、設定値管理サービス312は、設定データを受領したか判断する。設定データを受領したと判断された場合にはステップS612に処理が移行し、設定データを受領したと判断されない場合にはステップS613に処理が移行する。 In step S611, the setting value management service 312 determines whether setting data has been received. If it is determined that the setting data has been received, the process proceeds to step S612, and if it is determined that the setting data has not been received, the process proceeds to step S613.

ステップS612にて、設定値管理サービス312は、後述の設定データの書き込み処理(図8)を行う。ステップS612の処理は、図5に示すステップS510の処理に相当する。その後、処理はステップS601に戻る。 In step S612, the setting value management service 312 performs a setting data writing process (FIG. 8), which will be described later. The process of step S612 corresponds to the process of step S510 shown in FIG. After that, the process returns to step S601.

ステップS613にて、設定値管理サービス312は、書き込み完了通知を受領したか判断する。すなわち、設定値管理サービス312とファイル管理サービス311の間に予め定められた所定の方法に基づき、ファイル管理サービス311から書込み完了通知があった場合、設定値管理サービス312は書込み完了通知を受領したと判断する。
書き込み完了通知を受領したと判断された場合にはステップS614に処理が移行し、書き込み完了通知を受領したと判断されない場合にはステップS615に処理が移行する。
In step S613, the setting value management service 312 determines whether a write completion notification has been received. That is, based on a predetermined method predetermined between the setting value management service 312 and the file management service 311, when there is a write completion notification from the file management service 311, the setting value management service 312 receives the write completion notification. I judge.
If it is determined that the write completion notification has been received, the process proceeds to step S614, and if it is determined that the write completion notification has not been received, the process proceeds to step S615.

ステップS614にて、設定値管理サービス312は、結果格納の処理を行う。結果格納の処理において、設定値管理サービス312は、受領した書込み完了通知に含まれる結果情報(例えば、日時、書込み設定ファイル名等)を取り出し、RAM222等の記憶領域に確保した書込み結果格納領域に結果情報を適宜保存する。その後、処理はステップS601に戻る。 In step S614, the setting value management service 312 stores the result. In the result storage process, the setting value management service 312 extracts the result information (for example, date and time, write setting file name, etc.) included in the received write completion notification, and stores it in a write result storage area secured in a storage area such as the RAM 222. Save the result information accordingly. After that, the process returns to step S601.

ステップS615にて、設定値管理サービス312は、結果問合せがあったか判断する。すなわち、設定値管理サービス312とアプリケーション304の間に予め定められた所定の方法に基づき、アプリケーション304から結果問合せの通知があった場合、設定値管理サービス312は結果問合せがあったと判断する。
結果問合せがあったと判断された場合にはステップS616に処理が移行し、結果問合せがあったと判断されない場合にはステップS617に処理が移行する。
In step S615, the setting value management service 312 determines whether a result inquiry has been received. That is, based on a predetermined method predetermined between the setting value management service 312 and the application 304, when the application 304 notifies the result inquiry, the setting value management service 312 determines that the result inquiry has been made.
If it is determined that a result inquiry has been made, the process proceeds to step S616, and if it is determined that a result inquiry has not been made, the process proceeds to step S617.

ステップS616にて、設定値管理サービス312は、結果応答の処理を行う。結果応答の処理において、設定値管理サービス312は、書込み結果格納領域から結果情報を取り出し、設定値管理サービス312とアプリケーション304の間に予め定められた所定の方法に基づき、アプリケーション304に結果を応答する。ステップS616の処理は、図5に示すステップS512の処理、図6に示すステップS515の処理に相当する。その後、処理はステップS601に戻る。 In step S616, the setting value management service 312 processes the result response. In the result response process, the setting value management service 312 retrieves result information from the write result storage area, and responds to the application 304 based on a predetermined method predetermined between the setting value management service 312 and the application 304. do. The processing of step S616 corresponds to the processing of step S512 shown in FIG. 5 and the processing of step S515 shown in FIG. After that, the process returns to step S601.

ステップS617にて、設定値管理サービス312は、終了予約を受け付けたか判断する。すなわち、設定値管理サービス312とアプリケーション304の間に予め定められた所定の方法に基づき、アプリケーション304から終了予約の通知があった場合、設定値管理サービス312は終了予約を受け付けたと判断する。
終了予約を受け付けたと判断された場合にはステップS618に処理が移行し、終了予約を受け付けたと判断されない場合にはステップS601に処理が戻る。
ステップS618にて、設定値管理サービス312は、後述の終了予約の処理(図9)を行う。その後、処理はステップS601に戻る。以上で、図7の説明を終了する。
In step S617, the setting value management service 312 determines whether a termination reservation has been received. That is, when the application 304 notifies of the termination reservation based on a predetermined method determined between the setting value management service 312 and the application 304, the setting value management service 312 determines that the termination reservation has been accepted.
If it is determined that the reservation for termination has been received, the process proceeds to step S618, and if it is determined that the reservation for termination has not been received, the process returns to step S601.
In step S618, the setting value management service 312 performs termination reservation processing (FIG. 9), which will be described later. After that, the process returns to step S601. This completes the description of FIG.

図8は、設定データの書き込み処理(図7のステップS612)の例を示す流れ図である。以下の説明では、アプリケーション304から受領した設定データは、RAM222等の記憶領域に確保したワークエリアに適宜保存されているものとする。 FIG. 8 is a flowchart showing an example of the setting data writing process (step S612 in FIG. 7). In the following description, it is assumed that the setting data received from the application 304 is appropriately saved in a work area secured in a storage area such as the RAM 222. FIG.

ステップS701にて、設定値管理サービス312は、データ終了か判断する。すなわち、上記のワークエリアに保存された書込み対象の設定データの書込みが全て完了した場合、設定値管理サービス312は、データ終了と判断する。
データ終了と判断された場合にはステップS704に処理が移行し、データ終了と判断されない場合にはステップS702に処理が移行する。
In step S701, the setting value management service 312 determines whether the data ends. That is, when writing of all the setting data to be written saved in the work area is completed, the setting value management service 312 determines that the data has ended.
If it is determined that the data has ended, the process proceeds to step S704, and if it is not determined that the data has ended, the process proceeds to step S702.

ステップS702にて、設定値管理サービス312は、データ書込みの処理を行う。すなわち、設定値管理サービス312は、ワークエリアに保存した書込み対象の設定データを取り出し、ファイル管理サービス311が提供する所定の方法に基づき、ファイル管理サービス311に書込み依頼を行う。 In step S702, the setting value management service 312 performs data writing processing. That is, the setting value management service 312 retrieves the setting data to be written saved in the work area, and requests the file management service 311 to write based on a predetermined method provided by the file management service 311 .

次にステップS703にて、設定値管理サービス312は、書き込みが成功したか判断する。すなわち、設定値管理サービス312は、ステップS702の書き込み依頼が成功した場合、書き込みが成功したと判断する。このステップでの判断対象は、設定データに含まれる書き込み対象の1件分の結果である。
書き込みが成功したと判断された場合にはステップS701に処理が戻る。一方、書き込みが失敗したと判断された場合にはステップS704に処理が移行する。
Next, in step S703, the setting value management service 312 determines whether the writing was successful. That is, the setting value management service 312 determines that the writing has succeeded if the write request in step S702 has succeeded. The determination target in this step is the result of one write target included in the setting data.
If it is determined that the writing has succeeded, the process returns to step S701. On the other hand, if it is determined that writing has failed, the process moves to step S704.

ステップS704にて、設定値管理サービス312は、データ書き込みの結果を、RAM222等の記憶領域に確保した書込み結果格納領域に保存する。その後、図8の処理は終了する。
なお、書き込み対象が複数ある場合に1件でも書き込みの失敗があると、結果は失敗として記録される。
In step S704, the setting value management service 312 saves the result of data writing in the write result storage area secured in the storage area such as the RAM 222. FIG. After that, the process of FIG. 8 ends.
It should be noted that, when there are a plurality of write targets, if there is even one write failure, the result is recorded as failure.

図9は、終了予約の処理(図7のステップS618)の例を示す流れ図である。
ステップS801にて、設定値管理サービス312は、設定データの書込み完了か判断する。
設定データの書込み完了と判断された場合、処理はステップS802に移行する。一方、設定データの書込み完了と判断されない場合、設定値管理サービス312は、書込みが完了するまでステップS801を繰り返し、書込みの完了を待機する。
FIG. 9 is a flow chart showing an example of end reservation processing (step S618 in FIG. 7).
In step S801, the setting value management service 312 determines whether writing of the setting data is completed.
If it is determined that the setting data has been written, the process proceeds to step S802. On the other hand, if it is not determined that the writing of the setting data is completed, the setting value management service 312 repeats step S801 until the writing is completed, and waits for the completion of writing.

ステップS802にて、設定値管理サービス312は、ジョブ排他の解除処理を行う。本ステップは、図6に示すステップS527の処理に相当し、処理の内容は図7に示すステップS609の処理と同様である。 In step S802, the setting value management service 312 performs job exclusion cancellation processing. This step corresponds to the processing of step S527 shown in FIG. 6, and the content of the processing is the same as the processing of step S609 shown in FIG.

ステップS803にて、設定値管理サービス312は、排他オブジェクトの解放処理を行う。本ステップは、図6に示すステップS528の処理に相当し、処理の内容は図7に示すステップS610の処理と同様である。 In step S803, the setting value management service 312 performs exclusive object release processing. This step corresponds to the processing of step S528 shown in FIG. 6, and the content of the processing is the same as the processing of step S610 shown in FIG.

ステップS804にて、設定値管理サービス312は、画面ロック解除処理を行う。その後、図9の処理は終了する。本ステップは、図6に示すステップS529の処理に相当し、処理の内容は図7に示すステップS604の処理と同様である。 In step S804, the setting value management service 312 performs screen unlock processing. After that, the process of FIG. 9 ends. This step corresponds to the processing of step S529 shown in FIG. 6, and the content of the processing is the same as the processing of step S604 shown in FIG.

次に、図10、図11を用いて、アプリケーション304の処理について説明する。
図10は、第1実施形態のアプリケーション304の制御例を示す流れ図である。
Next, processing of the application 304 will be described with reference to FIGS. 10 and 11. FIG.
FIG. 10 is a flow chart showing a control example of the application 304 of the first embodiment.

ステップS901にて、アプリケーション304は、インポートの指示があるか判断する。すなわち、アプリケーション304が提供する図示しない画面を介し、ユーザからバックアップデータのリストアの指示を受け付けたときに、アプリケーション304は、インポートの指示があったと判断する。
インポートの指示があったと判断された場合にはステップS902に処理が移行し、インポートの指示があったと判断されない場合にはステップS903に処理が移行する。
In step S901, the application 304 determines whether there is an import instruction. That is, when receiving an instruction to restore backup data from the user via a screen (not shown) provided by the application 304, the application 304 determines that an import instruction has been given.
If it is determined that an import instruction has been issued, the process proceeds to step S902, and if it is determined that an import instruction has not been issued, the process proceeds to step S903.

ステップS902にて、アプリケーション304は、後述のインポート処理(図11)を行う。その後、処理はステップS901に戻る。
ステップ903にて、アプリケーション304は、アプリ終了指示を受領したか判断する。すなわち、アプリケーションフレームワーク303が提供する機能によって、アプリケーション終了の指示を受け取った場合は、アプリケーション304は、アプリ終了指示を受領したと判断する。
アプリ終了指示を受領したと判断された場合にはステップS904に処理が移行し、アプリ終了指示を受領したと判断されない場合にはステップS907に処理が移行する。
In step S902, the application 304 performs import processing (FIG. 11), which will be described later. After that, the process returns to step S901.
At step 903, application 304 determines whether an application termination instruction has been received. That is, when the application framework 303 provides a function to receive an application termination instruction, the application 304 determines that the application termination instruction has been received.
If it is determined that the application termination instruction has been received, the process proceeds to step S904, and if it is determined that the application termination instruction has not been received, the process proceeds to step S907.

ステップS904にて、アプリケーション304は、インポート依頼済か判断する。すなわち、後述のインポート処理(図11)を実行し、後述の結果問合せ処理で完了を受け取っていない場合(S909のNoの場合)に、アプリケーション304は、インポート依頼済と判断する。
インポート依頼済と判断された場合にはステップS905に処理が移行し、インポート依頼済と判断されない場合にはステップS906に処理が移行する。
In step S904, the application 304 determines whether an import request has been made. That is, the application 304 determines that the import request has been completed when the import process (FIG. 11) described later is executed and completion is not received in the result inquiry process described later (No in S909).
If it is determined that the import has been requested, the process proceeds to step S905, and if it is determined that the import has not been requested, the process proceeds to step S906.

ステップS905にて、アプリケーション304は、終了予約を送付する。すなわち、設定値管理サービス312とアプリケーション304の間で予め定められた所定の方法に基づき、アプリケーション304は、設定値管理サービス312に終了予約を送付する。本ステップは、図6に示すステップS524の処理に相当する。
ステップS906にて、アプリケーション304は、終了処理を行う。アプリケーション304は、例えば、RAM222等の記憶領域に一時確保したワーク領域の解放や、動作ログファイルの保存等を行った後に、アプリケーションを終了させて図10の処理が終了する。本ステップは、図6に示すステップS525の処理に相当する。
In step S905, the application 304 sends a termination reservation. That is, the application 304 sends a termination reservation to the setting value management service 312 based on a predetermined method predetermined between the setting value management service 312 and the application 304 . This step corresponds to the processing of step S524 shown in FIG.
In step S906, the application 304 performs termination processing. The application 304, for example, releases the work area temporarily secured in the storage area such as the RAM 222, saves the operation log file, etc., and then terminates the application to end the processing in FIG. This step corresponds to the processing of step S525 shown in FIG.

ステップS907にて、アプリケーション304は、インポート依頼済か判断する。本ステップの判断は、上記のステップS904と同様である。
インポート依頼済と判断された場合にはステップS908に処理が移行し、インポート依頼済と判断されない場合にはステップS901に処理が戻る。
In step S907, the application 304 determines whether an import request has been made. The determination in this step is similar to that in step S904 described above.
If it is determined that the import has been requested, the process proceeds to step S908, and if it is determined that the import has not been requested, the process returns to step S901.

ステップS908にて、アプリケーション304は、設定値管理サービス312に対して結果問い合わせを行う。すなわち、設定値管理サービス312とアプリケーション304の間で予め定められた所定の方法に基づき、アプリケーション304は、設定値管理サービス312へ結果の問い合せを送付する。本ステップは、図5に示すステップS511の処理、図6に示すステップS514の処理に相当する。 In step S908, the application 304 inquires of the setting value management service 312 about the result. That is, the application 304 sends a result query to the setting value management service 312 based on a predetermined method predetermined between the setting value management service 312 and the application 304 . This step corresponds to the processing of step S511 shown in FIG. 5 and the processing of step S514 shown in FIG.

ステップS909にて、アプリケーション304は、応答が完了であるか判断する。すなわち、アプリケーション304は、ステップS908の問い合せに対する設定値管理サービス312の応答の種別を参照する。そして、設定値管理サービス312とアプリケーション304の間で予め定められている方法に基づく応答が完了を意味するものであれば、アプリケーション304は、応答が完了であると判断する。なお、完了以外の応答結果の種別としては、インポート実行中や、中断中などがある。
応答が完了であると判断された場合にはステップS910に処理が移行し、応答が完了であると判断されない場合にはステップ901に処理が戻る。
In step S909, the application 304 determines whether the response is complete. That is, the application 304 refers to the type of response of the setting value management service 312 to the inquiry in step S908. Then, if the response based on the method predetermined between the setting value management service 312 and the application 304 means completion, the application 304 determines that the response is completion. Note that the types of response results other than completion include import in progress, interrupt in progress, and the like.
If it is determined that the response has been completed, the process proceeds to step S910, and if it is determined that the response has not been completed, the process returns to step S901.

ステップS910にて、アプリケーション304は、設定値管理サービス312とアプリケーション304の間で予め定められた所定の方法に基づき、設定値管理サービス312へ排他解除要求を送付する。本ステップは、図6に示すステップS516の処理に相当する。 In step S<b>910 , the application 304 sends an exclusion release request to the setting value management service 312 based on a predetermined method predetermined between the setting value management service 312 and the application 304 . This step corresponds to the processing of step S516 shown in FIG.

ステップS911にて、アプリケーション304は、設定値管理サービス312とアプリケーション304の間で予め定められた所定の方法に基づき、設定値管理サービス312へ画面ロックの解除要求を送付する。本ステップは、図6に示すステップS520の処理に相当する。その後、処理はステップS901に戻る。以上で、図10の説明を終了する。 In step S<b>911 , the application 304 sends a screen lock release request to the setting value management service 312 based on a predetermined method predetermined between the setting value management service 312 and the application 304 . This step corresponds to the processing of step S520 shown in FIG. After that, the process returns to step S901. This completes the description of FIG.

図11は、インポート処理(図10のステップS902)の例を示す流れ図である。
ステップS1001にて、アプリケーション304は、設定値管理サービス312とアプリケーション304の間で予め定められた所定の方法に基づき、設定値管理サービス312へ画面ロック要求を送付する。本ステップは、図5に示すステップS501の処理に相当する。
FIG. 11 is a flowchart showing an example of import processing (step S902 in FIG. 10).
In step S<b>1001 , the application 304 sends a screen lock request to the setting value management service 312 based on a predetermined method predetermined between the setting value management service 312 and the application 304 . This step corresponds to the processing of step S501 shown in FIG.

ステップS1002にて、アプリケーション304は、設定値管理サービス312とアプリケーション304の間で予め定められた所定の方法に基づき、設定値管理サービス312へ排他要求を送付する。本ステップは、図5に示すステップS504の処理に相当する。 In step S<b>1002 , the application 304 sends an exclusion request to the setting value management service 312 based on a predetermined method predetermined between the setting value management service 312 and the application 304 . This step corresponds to the processing of step S504 shown in FIG.

ステップS1003にて、アプリケーション304は、設定値管理サービス312とアプリケーション304の間で予め定められた所定の方法に基づき、設定値管理サービス312へ設定データを送付する。
ここで、設定データはファイルに記載され、ハードディスク装置228などの記憶装置に確保したワークエリアに格納されるものとする。また、設定データは、ファイル単位で送付される。送付対象の設定データが複数に分割されている場合は、送付する順番、送付結果、サイズ等は、アプリケーション304等により適宜管理されているものとする。
In step S<b>1003 , the application 304 sends setting data to the setting value management service 312 based on a predetermined method predetermined between the setting value management service 312 and the application 304 .
It is assumed here that the setting data is described in a file and stored in a work area secured in a storage device such as the hard disk device 228 . Also, the setting data is sent in units of files. If the setting data to be sent is divided into a plurality of pieces, it is assumed that the order of sending, the result of sending, the size, etc. are appropriately managed by the application 304 or the like.

ステップS1004にて、アプリケーション304は、全データ送付済みか判断する。すなわち、アプリケーション304は、インポート対象のデータを記載した全ファイルが送付済みの場合は、全データ送付済みと判断する。
全データ送付済みと判断された場合には図11の処理が終了する。一方、全データ送付済みと判断されない場合にはステップS1003に処理が戻る。なお、ステップS1003~S1004の処理は、図5に示すステップS509の処理に相当する。以上で、図11の説明を終了する。
In step S1004, the application 304 determines whether all data has been sent. In other words, the application 304 determines that all data has been sent when all files describing data to be imported have been sent.
If it is determined that all the data have been sent, the process of FIG. 11 ends. On the other hand, if it is not determined that all data has been sent, the process returns to step S1003. Note that the processing of steps S1003 and S1004 corresponds to the processing of step S509 shown in FIG. This is the end of the description of FIG. 11 .

上記の第1実施形態によれば、排他対象となる資源の使用者(依頼元のアプリケーション304)が依頼した処理の完了前に終了しても、依頼された処理の実行中において排他対象となる資源の排他が継続される。そして、排他対象の資源は、依頼された処理の完了後に排他から解放される。よって、排他対象の資源について適切に排他制御が行われる。 According to the above-described first embodiment, even if the user of the resource to be excluded (the application 304 as the request source) terminates the requested processing before the completion of the requested processing, it is excluded during execution of the requested processing. Resource exclusion continues. Then, the exclusion target resource is released from the exclusion after the requested processing is completed. Therefore, exclusive control is appropriately performed for the resource to be excluded.

なお、アプリケーション304が設定値管理サービス312に依頼する処理は、インポートだけに限定されるものではない。例えば、アプリケーション304が設定値管理サービス312にエクスポートを依頼する場合においても、上記の第1実施形態で説明したインポートの場合の構成を同様に適用できる。 Note that the processing requested by the application 304 to the setting value management service 312 is not limited to import. For example, even when the application 304 requests the setting value management service 312 to export, the configuration for import described in the first embodiment can be similarly applied.

(第2実施形態)
第1実施形態では、インポート依頼済のデータを全件書き込み完了後に、排他を解除する例を説明した。
ところで、例えば、インポートの対象とするデータサイズが大きくなり、ネットワークを介して送付するとタイムアウトが発生し、送付が完了しないことがある。このような場合には、アプリケーション304はインポート依頼を複数に分割し、インポートのデータを分割して送付する。しかしながら、分割したデータの一部を送付した後で、アプリケーションの終了が発生すると、MFP100にはインポートのデータが一部のみ反映され、残りのデータが反映されない事象が発生する。インポートのデータの一部が反映されないと、MFP100に不具合が生じうる。
(Second embodiment)
In the first embodiment, an example has been described in which the exclusion is released after the completion of writing all data for which an import request has been completed.
By the way, for example, when the size of data to be imported becomes large and it is sent via a network, a timeout may occur and the sending may not be completed. In such a case, the application 304 divides the import request into multiple parts and divides the import data and sends them. However, when the application terminates after sending part of the divided data, only part of the imported data is reflected in the MFP 100, and the remaining data is not reflected. If part of the imported data is not reflected, the MFP 100 may malfunction.

第2実施形態では上記の事象に対応できる変形例を説明する。第2実施形態においては、簡単のため、第1実施形態との相違点を説明し、重複説明についてはいずれも省略する。
第2実施形態においては、設定値管理サービス312における設定データの書き込み処理(ステップS612)と、終了予約の処理(ステップS618)が第1実施形態と相違する。
In the second embodiment, a modified example that can deal with the above phenomenon will be described. In the second embodiment, for the sake of simplicity, differences from the first embodiment will be explained, and duplicate explanations will be omitted.
The second embodiment differs from the first embodiment in setting data writing processing (step S612) and termination reservation processing (step S618) in the setting value management service 312. FIG.

図12は、第2実施形態における設定データの書き込み処理の例を示す流れ図である。
ステップS1101にて、設定値管理サービス312は現在設定を保存する。すなわち、設定値管理サービス312は、設定値管理サービス312が提供する設定値のエクスポート機能を利用して、MFP100の現在設定値を取得する。取得された現在設定値は、ハードディスク装置228などの記憶装置に確保されたワークエリアに保存される。
FIG. 12 is a flow chart showing an example of setting data write processing in the second embodiment.
In step S1101, the setting value management service 312 saves the current settings. That is, the setting value management service 312 acquires the current setting values of the MFP 100 using the setting value export function provided by the setting value management service 312 . The acquired current setting values are saved in a work area secured in a storage device such as the hard disk device 228 .

その後、処理はステップS1102に移行する。なお、図12のステップS1102からS1105の処理は、図8のステップS701からS704の処理と同様であるので、これらのステップに関する重複説明は省略する。 After that, the process moves to step S1102. Note that the processing from steps S1102 to S1105 in FIG. 12 is the same as the processing from steps S701 to S704 in FIG. 8, so redundant description of these steps will be omitted.

図13は、第2実施形態における終了予約の処理の例を示す流れ図である。
ここで、図13のステップS1201の処理は、図9のステップS801の処理と同様であり、図13のステップS1203からS1205の処理は、図9のステップS802からS804の処理とそれぞれ同様である。そのため、これらのステップに関する重複説明は省略する。
FIG. 13 is a flowchart showing an example of termination reservation processing in the second embodiment.
Here, the processing in step S1201 in FIG. 13 is the same as the processing in step S801 in FIG. 9, and the processing in steps S1203 to S1205 in FIG. 13 is the same as the processing in steps S802 to S804 in FIG. Duplicate descriptions of these steps are therefore omitted.

図13においては、ステップS1201で設定データの書込み完了と判断された場合、ステップS1202に処理が移行する。
ステップS1202にて、設定値管理サービス312は、保存済みの現在設定値を反映させる。すなわち、設定値管理サービス312は、図12のステップS1101で保存した現在設定値をワークエリアから取り出し、ファイル管理サービス311に送付する。これにより、ファイル管理サービス311は、送付された現在設定値をMFP100に反映する。その後、ステップS1203に処理が移行する。
In FIG. 13, if it is determined in step S1201 that the setting data has been written, the process proceeds to step S1202.
In step S1202, the setting value management service 312 reflects the saved current setting values. That is, the setting value management service 312 extracts the current setting values saved in step S1101 of FIG. 12 from the work area and sends them to the file management service 311. As a result, the file management service 311 reflects the sent current setting values on the MFP 100 . After that, the process moves to step S1203.

上記の第2実施形態によれば、アプリケーション304が終了予約を送付すると、設定値管理サービス312は、MFP100の設定値をインポートの実行前の状態に戻すことができる。これにより、設定の不備による不具合の発生を抑制できる。 According to the second embodiment described above, when the application 304 sends a termination reservation, the setting value management service 312 can return the setting values of the MFP 100 to the state before execution of the import. As a result, it is possible to suppress the occurrence of problems due to inadequate settings.

(第3実施形態)
上記の第2実施形態では、終了予約を受け付けたときにMFP100の設定をインポートの実行前の状態に戻す例を説明した。もっとも、分割されたインポートのデータのうち最後のデータを送信済みの場合は設定を実行前の状態に戻さなくてもよい。そのため、第3実施形態では、上記の事象に対応できる構成例を提案する。
(Third Embodiment)
In the above-described second embodiment, an example has been described in which the setting of the MFP 100 is returned to the state before execution of the import when the end reservation is received. Of course, if the final data of the split import data has already been sent, the settings do not need to be restored to the state before execution. Therefore, in the third embodiment, a configuration example that can deal with the above phenomenon is proposed.

第3実施形態においては、簡単のため、第2実施形態との相違点を説明し、重複説明についてはいずれも省略する。
第3実施形態においては、アプリケーション304の処理が第2実施形態と相違する。第3実施形態においては、第2実施形態で説明した終了予約の処理を、依頼の取り消しの処理と定義し、第1実施形態で説明した終了予約の処理とは区別して扱う。第3実施形態のアプリケーション304からは、第1実施形態で説明した終了予約の処理と、第2実施形態で説明した依頼の取り消しの処理とをそれぞれ呼び出すことが可能である。
In the third embodiment, for the sake of simplicity, differences from the second embodiment will be explained, and duplicate explanations will be omitted.
In the third embodiment, processing of the application 304 is different from that in the second embodiment. In the third embodiment, the end reservation processing described in the second embodiment is defined as request cancellation processing, and is handled separately from the end reservation processing described in the first embodiment. From the application 304 of the third embodiment, it is possible to call the end reservation processing described in the first embodiment and the request cancellation processing described in the second embodiment.

図14は、第3実施形態のアプリケーション304の制御例を示す流れ図である。図14の処理は、第1実施形態の図10の処理に対応する。
ここで、図14のステップS1301からS1303の処理は、図10のステップS901からS903の処理とそれぞれ同様である。図14のステップS1305からS1311の処理は、図10のステップS905からS911の処理とそれぞれ同様である。そのため、これらのステップに関する重複説明は省略する。
FIG. 14 is a flow chart showing a control example of the application 304 of the third embodiment. The processing in FIG. 14 corresponds to the processing in FIG. 10 of the first embodiment.
Here, the processing from steps S1301 to S1303 in FIG. 14 is the same as the processing from steps S901 to S903 in FIG. 10, respectively. The processing from steps S1305 to S1311 in FIG. 14 is the same as the processing from steps S905 to S911 in FIG. 10, respectively. Duplicate descriptions of these steps are therefore omitted.

ステップS1304にて、アプリケーション304は、全データ送付済みか判断する。すなわち、アプリケーション304は、インポート対象のデータを記載した全ファイルが送付済みの場合は、全データ送付済みと判断する。 In step S1304, the application 304 determines whether all data has been sent. In other words, the application 304 determines that all data has been sent when all files describing data to be imported have been sent.

全データ送付済みと判断された場合にはステップS1305に処理が移行し、アプリケーション304は、設定値管理サービス312に終了予約を送付する。なお、終了予約を受けた設定値管理サービス312は、図9に示す終了予約の処理を実行する。 If it is determined that all data has been sent, the process moves to step S1305, and the application 304 sends a termination reservation to the setting value management service 312. FIG. The setting value management service 312 that has received the termination reservation executes the termination reservation processing shown in FIG.

一方、全データ送付済みと判断されない場合にはステップS1312に処理が移行し、アプリケーション304は、設定値管理サービス312に依頼の取消しを送付する。なお、依頼の取り消しを受けた設定値管理サービス312は、図13に示す終了予約(依頼の取消し)の処理を行う。
なお、ステップS1305またはS1312の終了後、アプリケーション304は、ステップS1306の終了処理を実行する。以上で、図14の説明を終了する。
On the other hand, if it is not determined that all the data has been sent, the process moves to step S1312, and the application 304 sends a cancellation request to the setting value management service 312. FIG. Note that the setting value management service 312 that has received the cancellation of the request performs the termination reservation (cancellation of the request) processing shown in FIG. 13 .
Note that after step S1305 or S1312 ends, the application 304 executes end processing in step S1306. This is the end of the description of FIG. 14 .

上記の第3実施形態によれば、アプリケーション304が終了要求を受けたタイミングが全データの送付完了前であれば、MFP100の設定値をインポートの実行前の状態に戻す。これにより、設定不備による不具合の発生を抑制できる。
一方、アプリケーション304が終了要求を受けたタイミングが全データの送付後であれば、MFP100の設定についてインポートを完了させる。これにより、全設定の反映が成功するにも拘わらず設定前の状態に戻す無駄を避けることができる。
According to the third embodiment described above, if the timing at which the application 304 receives the end request is before the transmission of all data is completed, the setting values of the MFP 100 are returned to the state before execution of the import. As a result, it is possible to suppress the occurrence of problems due to improper settings.
On the other hand, if the timing at which the application 304 receives the termination request is after all the data has been sent, the import of the settings of the MFP 100 is completed. As a result, it is possible to avoid the waste of returning to the state before the setting even though the reflection of all the settings is successful.

(第4実施形態)
上記の第1実施形態から第3実施形態では、アプリケーション304がアプリ管理サービス306から終了要求を受け、終了予約の送付を伴う終了処理を実行する例を説明した。しかしながら、実際には、アプリケーション304が終了処理をすることなく異常終了することもある。また、アプリケーション304が終了していなくても、デッドロックの発生により、画面ロックの解除要求や排他解除要求をアプリケーション304が送付できないこともある。そのため、第4実施形態では、上記の事象に対応できる構成例を提案する。
(Fourth embodiment)
In the first to third embodiments described above, examples have been described in which the application 304 receives a termination request from the application management service 306 and executes termination processing accompanied by transmission of a termination reservation. However, in actuality, the application 304 may terminate abnormally without performing termination processing. Also, even if the application 304 has not terminated, the application 304 may not be able to send a screen lock release request or exclusion release request due to the occurrence of a deadlock. Therefore, in the fourth embodiment, a configuration example that can deal with the above phenomenon is proposed.

図15は、第4実施形態のアプリケーション304の制御例を示す流れ図である。なお、第4実施形態においては、簡単のため、第1実施形態との相違点を説明し、重複説明についてはいずれも省略する。 FIG. 15 is a flowchart showing a control example of the application 304 of the fourth embodiment. In addition, in the fourth embodiment, for the sake of simplicity, differences from the first embodiment will be explained, and duplicate explanations will be omitted.

図15におけるステップS1401からS1403の処理は、図10のS901からS903の処理とそれぞれ同様である。
ただし、図15において、ステップS1402のインポート処理の後は、後述のステップS1404に処理が移行する。また、ステップS1403にて、アプリ終了指示を受領したと判断された場合にはステップS1405(終了処理)に処理が移行し、アプリ終了指示を受領したと判断されない場合にはステップS1406(インポート依頼済の判断)に処理が移行する。
The processing from steps S1401 to S1403 in FIG. 15 is the same as the processing from S901 to S903 in FIG. 10, respectively.
However, in FIG. 15, after the import process in step S1402, the process proceeds to step S1404, which will be described later. If it is determined in step S1403 that an application termination instruction has been received, the process proceeds to step S1405 (termination processing).If it is not determined that an application termination instruction has been received, step S1406 (import requested judgment).

ステップS1404にて、アプリケーション304は、設定値管理サービス312に終了予約を送付する。その後、処理はステップS1401に戻る。
なお、図15におけるステップS1405からS1410の処理は、図10のS906からS911の処理とそれぞれ同様である。
In step S<b>1404 , the application 304 sends a termination reservation to the setting value management service 312 . After that, the process returns to step S1401.
Note that the processing from steps S1405 to S1410 in FIG. 15 are the same as the processing from S906 to S911 in FIG. 10, respectively.

上記の第4実施形態によれば、アプリケーション304はインポート処理を実行した後に常に終了予約を送付する。これにより、アプリケーション304が排他解除要求や画面ロックの解除要求の前に強制終了しても、設定値管理サービス312は、排他解除や画面ロックの解除を行うことができる。また、デッドロックの発生により、排他解除要求や画面ロックの解除要求をアプリケーション304が出来なくとも、設定値管理サービス312は、排他解除や画面ロックの解除を行うことができる。 According to the fourth embodiment described above, the application 304 always sends a termination reservation after executing import processing. As a result, even if the application 304 is forcibly terminated before the exclusion release request or the screen lock release request, the setting value management service 312 can release the exclusion or the screen lock. Even if the application 304 cannot issue an exclusion release request or a screen lock release request due to deadlock, the setting value management service 312 can release the exclusion or screen lock.

(第5実施形態)
例えば、アプリケーションの自動更新等では、インポート中の処理を一時的に停止させ、アプリケーションの更新後にインポートを再開することも想定される。そのため、第5実施形態では、上記の事象に対応できる構成例を提案する。
第5実施形態においては、簡単のため、第1実施形態との相違点を説明し、重複説明についてはいずれも省略する。第5実施形態では、設定値管理サービス312における終了予約の処理と、アプリケーション304の処理が相違する。
(Fifth embodiment)
For example, in automatic update of an application, etc., it is conceivable to temporarily stop processing during import and resume import after updating the application. Therefore, in the fifth embodiment, a configuration example that can deal with the above phenomenon is proposed.
In the fifth embodiment, for the sake of simplicity, differences from the first embodiment will be explained, and duplicate explanations will be omitted. In the fifth embodiment, the termination reservation processing in the setting value management service 312 and the processing of the application 304 are different.

図16は、第5実施形態における終了予約の処理の例を示す流れ図である。
ここで、図16のステップS1501の処理は、図9のステップS801の処理と同様であり、図16のステップS1504からS1506の処理は、図9のステップS802からS804の処理とそれぞれ同様である。そのため、これらのステップに関する重複説明は省略する。
FIG. 16 is a flowchart showing an example of termination reservation processing in the fifth embodiment.
Here, the processing in step S1501 in FIG. 16 is the same as the processing in step S801 in FIG. 9, and the processing in steps S1504 to S1506 in FIG. 16 is the same as the processing in steps S802 to S804 in FIG. Duplicate descriptions of these steps are therefore omitted.

図16においては、ステップS1501で設定データの書込み完了と判断された場合、ステップS1502に処理が移行する。
ステップS1502にて、設定値管理サービス312は、設定データの送付が再開したか判断する。すなわち、設定値管理サービス312は、設定値管理サービス312とアプリケーション304の間で予め定められた所定の方法に基づき、設定値管理サービス312へ設定データが送付された場合、設定データの送付が再開したと判断する。
設定データの送付が再開したと判断された場合、図16の処理は終了する。一方、設定データの送付が再開したと判断されない場合、処理はステップS1503に移行する。
In FIG. 16, if it is determined in step S1501 that the setting data has been written, the process proceeds to step S1502.
In step S1502, the setting value management service 312 determines whether sending of setting data has resumed. That is, when the setting data is sent to the setting value management service 312 based on a predetermined method predetermined between the setting value management service 312 and the application 304, the setting value management service 312 resumes sending the setting data. judge that it did.
If it is determined that the sending of setting data has resumed, the process of FIG. 16 ends. On the other hand, if it is not determined that sending of setting data has resumed, the process moves to step S1503.

ステップS1503にて、設定値管理サービス312は、タイムアウトが発生したか判断する。タイムアウト値は、設定値管理サービス312によって管理されているものとする。設定値管理サービス312は、終了予約の処理を開始してからの経過時間を管理し、予め定められた時間を経過した場合は、タイムアウトが発生したと判断する。
タイムアウトが発生したと判断された場合、処理はステップS1504に移行する。一方、タイムアウトが発生したと判断されない場合、処理はステップS1502に戻る。以上で、図16の説明を終了する。
In step S1503, the setting value management service 312 determines whether timeout has occurred. It is assumed that the timeout value is managed by the setting value management service 312 . The setting value management service 312 manages the elapsed time from the start of the termination reservation process, and determines that a timeout has occurred when a predetermined time has elapsed.
If it is determined that timeout has occurred, the process moves to step S1504. On the other hand, if it is determined that timeout has not occurred, the process returns to step S1502. The description of FIG. 16 ends here.

図17は、第5実施形態のアプリケーション304の制御例を示す流れ図である。図17の処理は、第1実施形態の図10の処理に対応する。なお、第5実施形態においては、簡単のため、第1実施形態との相違点を説明し、重複説明についてはいずれも省略する。 FIG. 17 is a flowchart showing a control example of the application 304 of the fifth embodiment. The processing in FIG. 17 corresponds to the processing in FIG. 10 of the first embodiment. In addition, in the fifth embodiment, for the sake of simplicity, differences from the first embodiment will be explained, and duplicate explanations will be omitted.

図17におけるステップS1601からS1602の処理は、図10のS901からS902の処理とそれぞれ同様である。
ただし、図17において、ステップS1601でインポートの指示があったと判断されない場合にはステップS1603に処理が移行する。
The processing from steps S1601 to S1602 in FIG. 17 is the same as the processing from S901 to S902 in FIG. 10, respectively.
However, in FIG. 17, if it is determined that there is no import instruction in step S1601, the process moves to step S1603.

ステップS1603にて、アプリケーション304は、インポートの再開を指示されたか判断する。例えば、アプリケーション304が提供する図示しない画面を介し、ユーザからリストアの再開の指示を受け付けたときに、アプリケーション304は、インポートの再開を指示されたと判断する。
インポートの再開を指示されたと判断された場合、ステップS1602に処理が移行する。一方、インポートの再開を指示されたと判断されない場合、ステップS1604に処理が移行する。
In step S1603, the application 304 determines whether an instruction to resume import has been given. For example, when an instruction to resume restoration is received from the user via a screen (not shown) provided by the application 304, the application 304 determines that an instruction to resume import has been issued.
If it is determined that an instruction to resume importing has been given, the process moves to step S1602. On the other hand, if it is not determined that an instruction to resume importing has been given, the process moves to step S1604.

図17におけるステップS1604からS1606の処理は、図10のステップS903からS905の処理とそれぞれ同様である。また、図17におけるステップS1608からS1613の処理は、図10のステップS906からS911の処理とそれぞれ同様である。
ただし、図17においては、ステップS1606で終了予約が送付された後、ステップS1607に処理が移行する。
The processing from steps S1604 to S1606 in FIG. 17 is the same as the processing from steps S903 to S905 in FIG. 10, respectively. 17 are the same as steps S906 to S911 in FIG. 10, respectively.
However, in FIG. 17, after the termination reservation is sent in step S1606, the process proceeds to step S1607.

ステップS1607にて、アプリケーション304は、インポート状況の保存を行う。例えば、アプリケーション304は、インポート予定データ一覧、各データのインポート結果などを、ハードディスク装置228等の記憶装置に確保したワークエリアに格納する。その後、ステップS1608(終了処理)に処理が移行する。以上で、図17の説明を終了する。 In step S1607, the application 304 saves the import status. For example, the application 304 stores a list of data to be imported, import results of each data, and the like in a work area secured in a storage device such as the hard disk device 228 . After that, the process moves to step S1608 (end process). This is the end of the description of FIG. 17 .

上記の第5実施形態によれば、インポート処理中のアプリケーション304を一時的に終了しても、タイムアウトが発生するまでの一定時間内であればインポートを再開させることができる。 According to the fifth embodiment described above, even if the application 304 during import processing is temporarily terminated, the import can be resumed within a certain period of time until timeout occurs.

本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。 The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or device via a network or a 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 processing to It can also be implemented by a circuit (for example, ASIC) that implements one or more functions.

以上、本発明の好ましい実施形態について説明したが、本発明は、これらの実施形態に限定されず、その要旨の範囲内で種々の変形および変更が可能である。 Although preferred embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and various modifications and changes are possible within the scope of the gist thereof.

100 印刷装置(MFP)
220 CPU
222 RAM
228 ハードディスク装置
304 アプリケーション
312 設定値管理サービス

100 Printer (MFP)
220 CPUs
222 RAM
228 hard disk device 304 application 312 setting value management service

Claims (12)

アプリケーションと、前記アプリケーションからのリクエストに従う処理を実行するサービスと、が動作する情報処理装置であって、
前記サービスは、
前記アプリケーションからの機能制限の依頼に応じて、前記情報処理装置における機能制限の処理を実行し、
前記機能制限の処理の後に、前記アプリケーションからのリクエストを受け付けて、当該リクエストに従う処理を実行し、
前記リクエストに従う処理の完了を前記アプリケーションに通知し、
前記アプリケーションからの機能制限の解除の依頼に応じて、前記機能制限を解除し、
前記リクエストに従う処理の完了を通知する前に、前記アプリケーションから機能制限の解除の予約指示を受け付け、
前記予約指示を受け付けた場合には、前記リクエストに従う処理の完了を前記アプリケーションに通知することなく、前記機能制限を解除する
ことを特徴とする情報処理装置。
An information processing device in which an application and a service that executes processing according to a request from the application operate,
Said service is
executing a function restriction process in the information processing device in response to a function restriction request from the application;
receiving a request from the application after processing the function restriction, and executing processing according to the request;
notifying the application of completion of processing according to the request;
canceling the functional restrictions in response to a request from the application to cancel the functional restrictions;
Receiving a reservation instruction to release the functional restriction from the application before notifying the completion of the processing according to the request,
The information processing apparatus, wherein when the reservation instruction is accepted, the function restriction is released without notifying the application of completion of processing according to the request.
前記サービスは、前記予約指示を受け付けた場合には、前記リクエストに従う処理の完了した後に、前記機能制限を解除する
ことを特徴とする請求項1に記載の情報処理装置。
2. The information processing apparatus according to claim 1, wherein, when said reservation instruction is received, said service releases said function restriction after completion of processing according to said request.
前記機能制限は、前記サービスによる排他制御および前記情報処理装置の画面のロック制御の少なくともいずれかを含む
ことを特徴とする請求項1または請求項2に記載の情報処理装置。
3. The information processing apparatus according to claim 1, wherein said function restriction includes at least one of exclusive control by said service and lock control of a screen of said information processing apparatus.
前記リクエストは、設定値のインポートまたはエクスポートのためのリクエストである
ことを特徴とする請求項1から請求項3のいずれか一項に記載の情報処理装置。
The information processing apparatus according to any one of claims 1 to 3, wherein the request is a request for importing or exporting setting values.
前記サービスは、
前記設定値の前記インポートのためのリクエストに従う処理の実行前に、前記情報処理装置における第1の設定値を記憶手段に保存し、
前記予約指示を受け付けた場合には、前記情報処理装置にインポートされた第2の設定値を、保存された前記第1の設定値に戻すための処理を実行した後、前記機能制限を解除する
ことを特徴とする請求項4に記載の情報処理装置。
Said service is
storing a first setting value in the information processing device in a storage means before executing a process according to the request for importing the setting value;
When the reservation instruction is accepted, the function restriction is released after executing a process for returning the second set value imported to the information processing device to the saved first set value. 5. The information processing apparatus according to claim 4, characterized by:
前記サービスは、
前記リクエストに従う処理の完了した後、前記リクエストが所定時間内に再開しない場合に、受け付けた前記予約指示に従い前記機能制限を解除する
ことを特徴とする請求項1から請求項5のいずれか一項に記載の情報処理装置。
Said service includes:
6. The function limitation is canceled in accordance with the received reservation instruction if the request is not restarted within a predetermined time after the completion of the processing according to the request. The information processing device according to .
前記アプリケーションは、
前記サービスに対して前記予約指示を送付した後で、当該アプリケーションの動作を終了させる
ことを特徴とする請求項1から請求項6のいずれか一項に記載の情報処理装置。
Said application is
7. The information processing apparatus according to any one of claims 1 to 6, wherein the operation of the application is terminated after the reservation instruction is sent to the service.
前記アプリケーションは、
前記リクエストに従う処理の対象となるデータが、前記サービスに対して送付が完了しているか判断し、
前記サービスに前記データの送付が完了していなければ、前記リクエストに従う処理の取り消しと前記機能制限の解除とを含む前記予約指示を、前記サービスに対して送付する
ことを特徴とする請求項1から請求項7のいずれか一項に記載の情報処理装置。
Said application is
determining whether the data to be processed according to the request has been sent to the service;
2. If sending of said data to said service has not been completed, sending said reservation instruction including cancellation of processing according to said request and release of said function restriction to said service. The information processing apparatus according to claim 7 .
前記アプリケーションは、
前記サービスに対する前記リクエストが完了したときに、前記サービスに対して前記予約指示を送付する
ことを特徴とする請求項1から請求項8のいずれか一項に記載の情報処理装置。
Said application is
The information processing apparatus according to any one of claims 1 to 8, wherein the reservation instruction is sent to the service when the request for the service is completed.
前記情報処理装置は、プリンタ、複写機およびスキャナのいずれかに含まれる
ことを特徴とする請求項1から請求項9のいずれか一項に記載の情報処理装置。
The information processing apparatus according to any one of claims 1 to 9, wherein the information processing apparatus is included in any one of a printer, a copier, and a scanner.
アプリケーションからのリクエストに従う処理を実行する情報処理装置における方法であって、
前記アプリケーションからの機能制限の依頼に応じて、前記情報処理装置における機能制限の処理を実行する工程と、
前記機能制限の処理の後に、前記アプリケーションからのリクエストを受け付けて、当該リクエストに従う処理を実行する工程と、
前記リクエストに従う処理の完了を前記アプリケーションに通知する工程と、
前記アプリケーションからの機能制限の解除の依頼に応じて、前記機能制限を解除する工程と、
前記リクエストに従う処理の完了を通知する前に、前記アプリケーションから機能制限の解除の予約指示を受け付ける工程と、
前記予約指示を受け付けた場合には、前記リクエストに従う処理の完了を前記アプリケーションに通知することなく、前記機能制限を解除する工程と、を有する
ことを特徴とする方法。
A method in an information processing device that executes processing according to a request from an application, comprising:
a step of executing a function restriction process in the information processing device in response to a function restriction request from the application;
a step of receiving a request from the application and executing a process according to the request after the function restriction process;
notifying the application of completion of processing according to the request;
releasing the functional restriction in response to a request from the application to release the functional restriction;
a step of receiving a reservation instruction to release the functional restriction from the application before notifying completion of processing according to the request;
and canceling the functional restriction without notifying the application of completion of processing according to the request when the reservation instruction is received.
アプリケーションからの機能制限の依頼に応じて、コンピュータにおける機能制限の処理を実行する工程と、
前記機能制限の処理の後に、前記アプリケーションからのリクエストを受け付けて、当該リクエストに従う処理を実行する工程と、
前記リクエストに従う処理の完了を前記アプリケーションに通知する工程と、
前記アプリケーションからの機能制限の解除の依頼に応じて、前記機能制限を解除する工程と、
前記リクエストに従う処理の完了を通知する前に、前記アプリケーションから機能制限の解除の予約指示を受け付ける工程と、
前記予約指示を受け付けた場合には、前記リクエストに従う処理の完了を前記アプリケーションに通知することなく、前記機能制限を解除する工程と、
をコンピュータに実行させるプログラム。

a step of executing a function restriction process in a computer in response to a function restriction request from an application;
a step of receiving a request from the application and executing a process according to the request after the function restriction process;
notifying the application of completion of processing according to the request;
releasing the functional restriction in response to a request from the application to release the functional restriction;
a step of receiving a reservation instruction to release the functional restriction from the application before notifying completion of processing according to the request;
a step of canceling the functional restriction without notifying the application of completion of processing according to the request when the reservation instruction is received;
A program that makes a computer run

JP2019111182A 2019-06-14 2019-06-14 Information processing device, method and program Active JP7237745B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019111182A JP7237745B2 (en) 2019-06-14 2019-06-14 Information processing device, method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019111182A JP7237745B2 (en) 2019-06-14 2019-06-14 Information processing device, method and program

Publications (2)

Publication Number Publication Date
JP2020205488A JP2020205488A (en) 2020-12-24
JP7237745B2 true JP7237745B2 (en) 2023-03-13

Family

ID=73837092

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019111182A Active JP7237745B2 (en) 2019-06-14 2019-06-14 Information processing device, method and program

Country Status (1)

Country Link
JP (1) JP7237745B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6860740B1 (en) 2020-04-27 2021-04-21 東洋インキScホールディングス株式会社 A carbon nanotube dispersion liquid, a composition for a secondary battery electrode using the carbon nanotube dispersion liquid, an electrode film, and a secondary battery.

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001315414A (en) 2000-05-10 2001-11-13 Canon Inc Printer and method for processing print data, and print processing system
JP2003233520A (en) 2002-02-07 2003-08-22 Fujitsu Ltd File controlling device for file resource on network
JP2007219741A (en) 2006-02-15 2007-08-30 Ricoh Co Ltd Information processor, method of processing information, recording medium and program
JP2011197495A (en) 2010-03-23 2011-10-06 Konica Minolta Business Technologies Inc Image forming apparatus
JP2015014893A (en) 2013-07-04 2015-01-22 キヤノン株式会社 Information processor, information processing system, method for controlling the sames, and program
JP2015127128A (en) 2013-12-27 2015-07-09 キヤノン株式会社 Management system, control method of management system, and program therefor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001315414A (en) 2000-05-10 2001-11-13 Canon Inc Printer and method for processing print data, and print processing system
JP2003233520A (en) 2002-02-07 2003-08-22 Fujitsu Ltd File controlling device for file resource on network
JP2007219741A (en) 2006-02-15 2007-08-30 Ricoh Co Ltd Information processor, method of processing information, recording medium and program
JP2011197495A (en) 2010-03-23 2011-10-06 Konica Minolta Business Technologies Inc Image forming apparatus
JP2015014893A (en) 2013-07-04 2015-01-22 キヤノン株式会社 Information processor, information processing system, method for controlling the sames, and program
JP2015127128A (en) 2013-12-27 2015-07-09 キヤノン株式会社 Management system, control method of management system, and program therefor

Also Published As

Publication number Publication date
JP2020205488A (en) 2020-12-24

Similar Documents

Publication Publication Date Title
JP7129842B2 (en) SYSTEM, IMAGE FORMING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM
JP5383254B2 (en) Information processing apparatus, control method therefor, and program
EP2378411A2 (en) Print server and printing apparatus, network printing system, and printing method
JP6272117B2 (en) Printing system, printing server, printing control method and program
CN111050014B (en) Communication system, information processing apparatus, and control method thereof
US10594879B2 (en) Information processing apparatus, information processing system, method for controlling information processing system, and storage medium
JP5599055B2 (en) Information processing apparatus, control method therefor, and program
JP3903024B2 (en) Output management method and information processing apparatus
JP6066006B2 (en) Image forming apparatus
JP7439207B2 (en) program
US12014097B2 (en) Recording medium, control method and information processing apparatus having print setting that selectively requires a password
JP6223152B2 (en) Image forming system, image processing apparatus, and image processing apparatus control method
JP7237745B2 (en) Information processing device, method and program
JP2012242895A (en) Document conversion device, information processing method, and program
US9197765B2 (en) Management apparatus, management method, and program
JP7483522B2 (en) Image forming apparatus, control method thereof, and program
US20110283237A1 (en) Information processing apparatus, control method thereof, and storage medium
WO2016013217A1 (en) Image forming apparatus, system, method for controlling image forming apparatus, and program
JP2013116613A (en) Printing apparatus, method for controlling the same, and program
JP3962596B2 (en) Printing system and method for using printing resources
CN110764720B (en) Printing apparatus, control method of printing apparatus, and storage medium
JP2014016964A (en) Information processing device, information processing method, and program
JP2020190862A (en) Information processing system and control method thereof
JP2016132186A (en) Image formation device, image formation processing method and image formation processing program
US20130054774A1 (en) Management system, management method, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220527

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230126

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230301

R151 Written notification of patent or utility model registration

Ref document number: 7237745

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151