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

Information processing device, method, and program Download PDF

Info

Publication number
JP2020205488A
JP2020205488A JP2019111182A JP2019111182A JP2020205488A JP 2020205488 A JP2020205488 A JP 2020205488A JP 2019111182 A JP2019111182 A JP 2019111182A JP 2019111182 A JP2019111182 A JP 2019111182A JP 2020205488 A JP2020205488 A JP 2020205488A
Authority
JP
Japan
Prior art keywords
application
request
function restriction
management service
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.)
Granted
Application number
JP2019111182A
Other languages
Japanese (ja)
Other versions
JP7237745B2 (en
Inventor
杉山 秀樹
Hideki Sugiyama
秀樹 杉山
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)

Abstract

To provide an information processing device capable of releasing functional restrictions regardless of the operating state of a requesting application when processing according to a request from the application is completed.SOLUTION: An information processing device service executes function restriction processing in an information processing device in response to a function restriction request from an application, receives a request from the application after the function restriction processing, performs the processing according to the request, notifies the application of the completion of the processing according to the request, and releases the function restriction in response to the request from the application to release the function restriction. In addition, the service receives a reservation instruction for canceling the function restriction from the application before notifying of the completion of the processing according to the request, and releases the function restriction without notifying the application of the completion of the processing according to the request when the reservation instruction is received.SELECTED DRAWING: Figure 6

Description

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

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

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

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

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

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

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

第1実施形態のネットワークシステムの構成例を示す図であるIt is a figure which shows the configuration example of the network system of 1st Embodiment. 印刷装置(MFP)および管理PCのハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware composition of the printing apparatus (MFP) and the management PC. MFPのソフトウェア構造の一例を示す図である。It is a figure which shows an example of the software structure of the MFP. MFPの表示部に表示される画面の一例を示す図である。It is a figure which shows an example of the screen displayed on the display part of the MFP. 第1実施形態のMFPの制御例を示す図である。It is a figure which shows the control example of the MFP of 1st Embodiment. 図5の続きの図である。It is a continuation of FIG. 第1実施形態の設定値管理サービスの制御例を示す流れ図である。It is a flow chart which shows the control example of the setting value management service of 1st Embodiment. 設定データの書き込み処理の例を示す流れ図である。It is a flow chart which shows the example of the writing process of setting data. 終了予約の処理の例を示す流れ図である。It is a flow chart which shows the example of the processing of the end reservation. 第1実施形態のアプリケーションの制御例を示す流れ図である。It is a flow chart which shows the control example of the application of 1st Embodiment. インポート処理の例を示す流れ図である。It is a flow chart which shows the example of the import process. 第2実施形態における設定データの書き込み処理の例を示す流れ図である。It is a flow chart which shows the example of the writing process of the setting data in 2nd Embodiment. 第2実施形態における終了予約の処理の例を示す流れ図である。It is a flow chart which shows the example of the processing of the end reservation in 2nd Embodiment. 第3実施形態のアプリケーションの制御例を示す流れ図である。It is a flow chart which shows the control example of the application of 3rd Embodiment. 第4実施形態のアプリケーションの制御例を示す流れ図である。It is a flow chart which shows the control example of the application of 4th Embodiment. 第5実施形態における終了予約の処理の例を示す流れ図である。It is a flow chart which shows the example of the processing of the end reservation in 5th Embodiment. 第5実施形態のアプリケーションの制御例を示す流れ図である。It is a flow chart which shows the control example of the application of 5th Embodiment.

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

(第1実施形態)
図1は、第1実施形態のネットワークシステムの構成例を示す図である。なお、ネットワークシステムの各要素は、後述する本実施形態の機能を実行できるものであれば、単体の機器で構成されていてもよく、複数の機器で構成されていてもよい。
(First Embodiment)
FIG. 1 is a diagram showing a configuration example of the network system of the first embodiment. Each element of the network system may be composed of a single device or 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, the management PC 110, and the management server 120 are connected to each other via a network 130 such as the Internet and an intranet.

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

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

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

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

管理サーバ120は、データを蓄積し、印刷装置100の管理サービスを提供する情報処理装置である。管理サーバ120は、データを蓄積する記憶部121を有する。 The management server 120 is an information processing device that stores data and provides a management service for the printing device 100. The management server 120 has a storage unit 121 that stores 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 device 100 and the management PC 110.
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 unit 207, a pointing device 209, and a connection unit 210. Each of the above elements of the management PC 110 is connected via the system bus 208.
The CPU is an abbreviation for Central Processing Unit, and the 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 an application program, a printer driver program, an OS program, a control program, etc. stored in the hard disk device 205. Further, the CPU 200 controls to temporarily store information, files, and the like 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 and executes the process, whereby the function of the management PC 110 is realized.

ROM201は、不揮発性の記憶媒体であって、例えば、基本I/Oプログラム等のプログラム、文書処理に使用するフォントデータ、テンプレート用データ等の各種データを記憶する。
RAM202は、CPU200の主メモリ、ワークエリア等の一時領域として機能する一時記憶部である。
The ROM 201 is a non-volatile storage medium, and stores, for example, various data such as a program such as a basic I / O program, font data used for document processing, and template data.
The 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 include a media drive (not shown). A storage medium reading unit that reads data from a storage medium (media) that stores a program that can be read by the CPU 200 (computer). The CPU 200 can load the program or the like stored in the storage medium into the management PC 110 via the media drive.
The storage medium used in the management PC 110 includes, for example, a CD-ROM, a CD-R, a CD-RW, a PC card, a DVD, an IC memory card, an MO, and a memory stick.

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

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

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

接続部210は、双方向インターフェース211を介して外部装置とのデータの送受を行う通信インターフェースである。接続部210の通信先である外部装置は、図2に示す印刷装置100に限定されず、管理サーバ120や、図示しないクライアントPCであってもよい。なお、サーバ120や、クライアントPCのハードウェア構成は、管理PC110と同様であってもよい。 The connection unit 210 is a communication interface that transmits / receives data to / from an external device via the bidirectional interface 211. The external device to which the connection unit 210 communicates is not limited to the printing device 100 shown in FIG. 2, and may be a management server 120 or a client PC (not shown). The hardware configuration of the server 120 and the 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. In the following description, the printing apparatus 100 will also be referred to as an MFP 100.
The MFP 100 includes a CPU 220, a ROM 221 and a RAM 222, an external memory 223, an operation unit 224, a data control unit 225, a connection unit 226, a hard disk device 228, and a display unit 229. Each of the above elements of the MFP 100 is connected via the system bus 227.

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

例えば、CPU220は、ROM221又は外部メモリ223に記憶された制御プログラムに基づいて、接続部226を介して受信した印刷制御コマンド(送信データ)から画像信号をデータ制御部225に送信する。
また、MFP100にログ記録ソフトウェアがインストールされている場合、CPU220は、ROM221又はハードディスク装置228に記憶されたプログラムに基づくログの記録処理を実行する。
For example, the CPU 220 transmits an image signal to the data control unit 225 from a print control command (transmission data) received via the connection unit 226 based on a control program stored in the ROM 221 or the external memory 223.
When the log recording software is installed in the MFP 100, the CPU 220 executes a log recording process based on the program stored in the ROM 221 or the 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 a 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, an emulation program, 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 an operation switch, and a display unit such as an LED and a liquid crystal panel. The operation unit 224 receives an input from a user who operates the MFP 100, and displays an operation result and the like. The user can set the setting information of the MFP 100, confirm the setting information, and the like via the operation unit 224.

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

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

図3は、本実施形態におけるMFP100のソフトウェア構造の一例を示す図である。図3に示される各ソフトウェアモジュールの機能は、ROM221あるいはハードディスク装置228に格納されたプログラムをRAM222に読み込んだ後、CPU220がプログラムを実行することで実現される。 FIG. 3 is a diagram showing an example of the software structure of the MFP 100 in the present embodiment. The function of each software module shown in FIG. 3 is realized by reading the 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 the OS (Operating System) 301. As the OS301, a real-time OS is generally used, but a general-purpose OS such as Linux (registered trademark) may be used.
JavaVM302 is a virtual machine such as Java (registered trademark), and provides an application execution environment. The application framework 303 provides a function for managing the life cycle of an application and a function commonly used by the application.

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

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

Native機能部310は、MFP100に組み込まれた標準的な機能を提供する。Native機能部310は、ファイル管理サービス311、設定値管理サービス312、表示管理サービス313およびジョブ管理サービス314を含む。
ファイル管理サービス311は、ハードディスク装置228内に記憶されるファイルの作成、更新、削除などの機能を提供する。
The Native function unit 310 provides standard functions built into the MFP 100. The Native function unit 310 includes a file management service 311, a setting value management service 312, a display management service 313, and a job management service 314.
The 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 of the setting value of the MFP 100. The export function is a function of recording the setting value of the MFP 100 in a file and saving it in a predetermined storage area of the MFP 100, a network folder of the designated MFP 100, or a storage medium. The import function is a function of reading the setting value file exported by the setting value management service 312 and reflecting the setting value recorded in the file on the MFP 100.

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

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

なお、本実施形態では、JavaVM302、アプリケーションフレームワーク303はハードディスク装置228に格納されているものとする。また、Native機能部310はROM221に格納されているものとする。 In the present embodiment, it is assumed that the JavaVM 302 and the application framework 303 are stored in the hard disk device 228. Further, it is 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 the display unit 229 of the MFP 100.
FIG. 4A shows an example of the screen 400 displayed immediately after the MFP 100 is started. The screen 400 includes an icon and title display 401, guidance 402, icon display area 403, and function icon 404.

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

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

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

ここで、バックアップ機能は、バックアップアプリケーションから呼び出され、指定されたバックアップ対象をアーカイブし、指定された場所に格納する。例えば、バックアップ機能は、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 the data stored in the hard disk device 228 of the MFP 100, such as the firmware of the MFP 100, the setting value, the installed application, and the setting value of the application. Then, the backup function saves the archived data in an external storage device of the MFP 100 (for example, a storage unit 121 of the management server 120, a predetermined data storage (not shown) on the network, or the like).

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

実行履歴ボタン414は、バックアップの実行履歴を表示させるボタンである。ユーザによって実行履歴ボタン414が押下されると、MFP100は、バックアップの実施日時および簡単な結果をリスト形式で表示する画面(不図示)を表示部229に表示させる。 The execution history button 414 is a button for displaying the 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) for displaying the backup execution date and time and a simple result in a list format.

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

いますぐバックアップボタン416は、バックアップを実行させるボタンである。ユーザによっていますぐバックアップボタン416が押下されると、MFP100は、後述の図4(C)のロック画面を表示部229に表示させるとともに、バックアップ機能にバックアップを実行させる。
なお、いますぐバックアップおよび定期バックアップの実行時には、MFP100の設定、インストール済みアプリケーションの一覧、アプリケーションの設定が取得される。そして、管理サーバ120で稼動しているバックアップサービスに上記の取得された設定が通知される。また、バックアップサービスは、例えば記憶部121の所定の領域に、通知された設定を格納する。
The backup button 416 now is a button to execute a backup. When the backup button 416 is pressed immediately by the user, the MFP 100 displays the lock screen of FIG. 4C, which will be described later, on the display unit 229, and causes the backup function to execute the backup.
When the backup and the regular backup are executed immediately, the settings of the MFP 100, the list of installed applications, and the application settings are acquired. Then, the backup service running on the management server 120 is notified of the acquired settings. Further, the backup service stores the notified setting 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 the 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 backup is executed as instructed by the screen 410 of FIG. 4B. For example, when the restoration process for reflecting the backup data setting value on the MFP 100 is executed from the restore screen (not shown), the same type of screen with different messages is displayed on the display unit 229.

画面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 shut off the power. When the setting information of the MFP 100 is being backed up, the operation unit 224 is in a state of not accepting the instruction input by the user due to the display of the screen 420.

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

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

ステップS501にて、アプリケーション304は、設定値管理サービス312が提供する機能に基づき、設定値管理サービス312に対して画面ロック要求を通知する。 In step S501, the application 304 notifies the setting value management service 312 of the 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 set value management service 312 requests the display management service 313 to lock the screen. That is, the set value management service 312 requests the display unit 229 to display the screen 420 shown in FIG. 4 (c). The display management service 313 receives a request for screen lock and controls the screen lock by displaying the screen 420.
Further, although not shown, the setting value management service 312 also performs a process of disabling (locking) writing / reading of the set value from an external information processing device via the Web service. After that, until the screen lock described later is released, the user cannot give an input instruction.

ステップS503にて、設定値管理サービス312は、アプリケーション304に対して画面ロックの完了を通知する。
ステップS504にて、アプリケーション304は、設定値管理サービス312が提供する機能に基づき、設定値管理サービス312に対して排他要求を通知する。
In step S503, the setting value management service 312 notifies the application 304 of the completion of the screen lock.
In step S504, the application 304 notifies the setting value management service 312 of the exclusive 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.
The exclusive object is an object that is prepared in advance in JavaVM 302 and can be acquired / released via the application framework 303. The exclusive object and the exclusive object are managed in association with each other, and when the exclusive object can be acquired, the exclusive object corresponding to the exclusive object can be used. When the use of the exclusive target ends, the exclusive object corresponding to the exclusive target is released. When the exclusive object cannot be acquired, the exclusive target 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, when the 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 exclusive request until the exclusive request succeeds. That is, it means that the request for import / export of the setting value is successful 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 the exclusion of the job. As a result, the job management service 314 temporarily stops the job service that is affected by the change in the set value or the job service that affects the set value (FAX transmission, copy, 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 the exclusion. Although not shown, if the job exclusion fails here, the setting value management service 312 releases the exclusive object acquired in step S505 and notifies the application 304 of the exclusion failure. After that, the application 304 repeats the exclusive request processing until the exclusive request succeeds.

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

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

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

ステップ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 import processing result. At this time, the setting value management service 312 returns a response of success, failure, or processing to the application 304 as a result of step S510. The application 304 repeats the processing of step S511 and subsequent steps until there is a success response or a failure response from the setting value management service 312. If a failure is returned in step S512, the application 304 performs a failure process (not shown) as an exception.

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

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

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

ステップS520にて、アプリケーション304は、設定値管理サービス312が提供する機能に基づき、設定値管理サービス312に対して画面ロックの解除要求を送付する。
ステップS521にて、設定値管理サービス312は、表示管理サービス313に対して画面ロックの解除を依頼する。すなわち、設定値管理サービス312は、図4(c)に示すロック画面420の表示を、ロック画面が表示される前の画面に切り替える依頼を行う。
ステップS522にて、設定値管理サービス312は、アプリケーション304に対して画面ロックの解除完了を通知する。
In step S520, 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 set value management service 312 requests the display management service 313 to release the screen lock. That is, the setting value management service 312 requests 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 that the screen lock has been released.

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

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

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

ステップS526にて、ファイル管理サービス311は、書き込みの完了を設定値管理サービス312に通知する。この処理は、ステップS513と同様である。
ステップS527にて、設定値管理サービス312は、ジョブ管理サービス314にジョブ排他解除を送付する。この処理は、ステップS517と同様である。
In step S526, the file management service 311 notifies the set value management service 312 of the completion of writing. This process is the same as in step S513.
In step S527, the set value management service 312 sends the job exclusion release to the job management service 314. This process is the same as in 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 in step S518.
In step S529, the set value management service 312 requests the display management service 313 to release the screen lock. That is, the setting value management service 312 requests 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 the same as in step S521.

以上の制御により、アプリケーション304から終了予約を受領した設定値管理サービス312は、ファイル管理サービス311から書き込み完了を受領すると、排他解除の要求を受領しなくともジョブ排他の解除処理を実行する。同様に、アプリケーション304から終了予約を受領した設定値管理サービス312は、ファイル管理サービス311から書き込み完了を受領すると、画面ロックの解除要求を受領しなくとも画面ロックの解除処理を実行する。つまり、設定値管理サービス312は、アプリケーションからのリクエストに従う処理が終了したときの依頼元のアプリケーション304の動作状態に拘わらず、終了予約に基づいてMFP100の機能制限を解除できる。 With the above control, the set value management service 312 that has received the end reservation from the application 304 executes the job exclusion release process even if it does not receive the exclusion release request when it receives the write completion from the file management service 311. Similarly, 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, the screen lock release process is executed even if the screen lock release request is not received. That is, the setting value management service 312 can release the functional restriction of the MFP 100 based on the end 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 set value management service 312 will be described with reference to FIGS. 7 to 9.
FIG. 7 is a flow chart showing a control example of the set value management service 312 of the first embodiment.

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

ステップS602にて、設定値管理サービス312は、画面ロック処理を行う。画面ロック処理において、設定値管理サービス312は、表示管理サービス313が提供している所定の方法に基づき、表示管理サービス313に画面ロックの依頼を行う。ステップS602の処理は、図5に示すステップS502の処理に相当する。その後、処理はステップS601に戻る。 In step S602, the set value management service 312 performs the screen lock process. In the screen lock process, 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 set value management service 312 determines whether or not the screen unlock request has been received. That is, when the application 304 notifies the screen unlock request based on a predetermined method predetermined between the setting value management service 312 and the application 304, the setting value management service 312 receives the screen unlock request. Judge.
If it is determined that the screen unlock request has been received, the process proceeds to step S604, and if it is not determined that the screen unlock request has been received, the process proceeds to step S605.

ステップS604にて、設定値管理サービス312は、画面ロック解除処理を行う。画面ロック解除処理において、設定値管理サービス312は、表示管理サービス313が提供している所定の方法に基づき、表示管理サービス313に画面ロック解除の依頼を行う。ステップS604の処理は、図6に示すステップS521の処理に相当する。その後、処理はステップS601に戻る。 In step S604, the set value management service 312 performs the screen unlock process. In the screen unlock process, 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 process of step S604 corresponds to the process 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 set value management service 312 determines whether or not the exclusive request has been received. That is, when the application 304 notifies the exclusive request based on a predetermined method predetermined between the set value management service 312 and the application 304, the set value management service 312 determines that the exclusive request has been received.
If it is determined that the exclusive request has been received, the process proceeds to step S606, and if it is not determined that the exclusive request has been received, the process proceeds to step S608.

ステップS606にて、設定値管理サービス312は、排他オブジェクトの取得を行う。取得した排他オブジェクトは、例えばRAM222の記憶領域に確保されたワークエリアに適宜保存される。ステップS606の処理は、図5に示すステップS505の処理に相当する。 In step S606, the setting value management service 312 acquires the exclusive object. The acquired exclusive object is appropriately stored in a work area reserved in the storage area of the RAM 222, for example. The process of step S606 corresponds to the process 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 processing, the setting value management service 312 requests the job exclusion service 314 for job exclusion based on the 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 set value management service 312 determines whether or not the exclusion release request has been received. That is, when the application 304 notifies the exclusion release request based on a predetermined method predetermined between the setting value management service 312 and the application 304, it is determined that the setting value management service 312 has received the exclusion release request. To do.
If it is determined that the de-exclusion request has been received, the process proceeds to step S609, and if it is not determined that the de-exclusion request has 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 a job exclusion release process. In the job exclusion release process, the setting value management service 312 requests the job management service 314 to release the 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 or not the 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 not determined that the setting data has 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) 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 set value management service 312 determines whether or not the write completion notification has been received. That is, when the file management service 311 receives a write completion notification based on a predetermined method predetermined between the setting value management service 312 and the file management service 311, the setting value management service 312 receives the write completion notification. Judge.
If it is determined that the writing completion notification has been received, the process proceeds to step S614, and if it is not determined that the writing completion notification has been received, the process proceeds to step S615.

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

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

ステップS616にて、設定値管理サービス312は、結果応答の処理を行う。結果応答の処理において、設定値管理サービス312は、書込み結果格納領域から結果情報を取り出し、設定値管理サービス312とアプリケーション304の間に予め定められた所定の方法に基づき、アプリケーション304に結果を応答する。ステップS616の処理は、図5に示すステップS512の処理、図6に示すステップS515の処理に相当する。その後、処理はステップS601に戻る。 In step S616, the set value management service 312 processes the result response. In the result response processing, the setting value management service 312 extracts the result information from the write result storage area, and responds the result to the application 304 based on a predetermined method predetermined between the setting value management service 312 and the application 304. To do. The process of step S616 corresponds to the process of step S512 shown in FIG. 5 and the process 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 set value management service 312 determines whether or not the end reservation has been accepted. That is, when the application 304 notifies the end reservation based on a predetermined method predetermined between the set value management service 312 and the application 304, the set value management service 312 determines that the end reservation has been accepted.
If it is determined that the end reservation has been accepted, the process proceeds to step S618, and if it is not determined that the end reservation has been accepted, the process returns to step S601.
In step S618, the set value management service 312 performs the end reservation process (FIG. 9) described later. After that, the process returns to step S601. This is the end of the description of FIG.

図8は、設定データの書き込み処理(図7のステップS612)の例を示す流れ図である。以下の説明では、アプリケーション304から受領した設定データは、RAM222等の記憶領域に確保したワークエリアに適宜保存されているものとする。 FIG. 8 is a flow chart 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 stored in the work area secured in the storage area such as RAM 222.

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

ステップS702にて、設定値管理サービス312は、データ書込みの処理を行う。すなわち、設定値管理サービス312は、ワークエリアに保存した書込み対象の設定データを取り出し、ファイル管理サービス311が提供する所定の方法に基づき、ファイル管理サービス311に書込み依頼を行う。 In step S702, the set value management service 312 performs a data writing process. That is, the setting value management service 312 takes out the setting data to be written to be saved in the work area, and requests the file management service 311 to write the data based on the 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 or not the writing is successful. That is, when the write request in step S702 is successful, the setting value management service 312 determines that the write is successful. The judgment target in this step is the result of one writing target included in the setting data.
If it is determined that the writing is successful, the process returns to step S701. On the other hand, if it is determined that the writing has failed, the process proceeds to step S704.

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

図9は、終了予約の処理(図7のステップS618)の例を示す流れ図である。
ステップS801にて、設定値管理サービス312は、設定データの書込み完了か判断する。
設定データの書込み完了と判断された場合、処理はステップS802に移行する。一方、設定データの書込み完了と判断されない場合、設定値管理サービス312は、書込みが完了するまでステップS801を繰り返し、書込みの完了を待機する。
FIG. 9 is a flow chart showing an example of the end reservation process (step S618 of FIG. 7).
In step S801, the setting value management service 312 determines whether the writing of the setting data is completed.
If it is determined that the writing of the setting data is completed, 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 the writing.

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

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

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

次に、図10、図11を用いて、アプリケーション304の処理について説明する。
図10は、第1実施形態のアプリケーション304の制御例を示す流れ図である。
Next, the processing of the application 304 will be described with reference to FIGS. 10 and 11.
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 the user receives an instruction to restore the backup data via a screen (not shown) provided by the application 304, the application 304 determines that the import instruction has been given.
If it is determined that there is an import instruction, the process shifts to step S902, and if it is not determined that there is an import instruction, the process shifts to step S903.

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

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

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

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

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

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

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

ステップS911にて、アプリケーション304は、設定値管理サービス312とアプリケーション304の間で予め定められた所定の方法に基づき、設定値管理サービス312へ画面ロックの解除要求を送付する。本ステップは、図6に示すステップS520の処理に相当する。その後、処理はステップS901に戻る。以上で、図10の説明を終了する。 In step S911, 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 process of step S520 shown in FIG. After that, the process returns to step S901. This is the end of the description of FIG.

図11は、インポート処理(図10のステップS902)の例を示す流れ図である。
ステップS1001にて、アプリケーション304は、設定値管理サービス312とアプリケーション304の間で予め定められた所定の方法に基づき、設定値管理サービス312へ画面ロック要求を送付する。本ステップは、図5に示すステップS501の処理に相当する。
FIG. 11 is a flow chart showing an example of the import process (step S902 in FIG. 10).
In step S1001, 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 process of step S501 shown in FIG.

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

ステップS1003にて、アプリケーション304は、設定値管理サービス312とアプリケーション304の間で予め定められた所定の方法に基づき、設定値管理サービス312へ設定データを送付する。
ここで、設定データはファイルに記載され、ハードディスク装置228などの記憶装置に確保したワークエリアに格納されるものとする。また、設定データは、ファイル単位で送付される。送付対象の設定データが複数に分割されている場合は、送付する順番、送付結果、サイズ等は、アプリケーション304等により適宜管理されているものとする。
In step S1003, the application 304 sends the 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.
Here, it is assumed that the setting data is described in a file and stored in a work area secured in a storage device such as a hard disk device 228. In addition, the setting data is sent in file units. When the setting data to be sent is divided into a plurality of pieces, it is assumed that the order of sending, the sending result, 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 the data has been sent. That is, the application 304 determines that all the data has been sent when all the files describing the data to be imported have been sent.
If it is determined that all the data has been sent, the process shown in FIG. 11 ends. On the other hand, if it is not determined that all the data has been sent, the process returns to step S1003. The processing of steps S1003 to S1004 corresponds to the processing of step S509 shown in FIG. This is the end of the description of FIG.

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

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

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

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

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

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

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

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

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

(第3実施形態)
上記の第2実施形態では、終了予約を受け付けたときにMFP100の設定をインポートの実行前の状態に戻す例を説明した。もっとも、分割されたインポートのデータのうち最後のデータを送信済みの場合は設定を実行前の状態に戻さなくてもよい。そのため、第3実施形態では、上記の事象に対応できる構成例を提案する。
(Third Embodiment)
In the second embodiment described above, an example of returning the setting of the MFP 100 to the state before the execution of the import when the end reservation is accepted has been described. However, if the last data of the divided import data has been sent, it is not necessary to return the settings to the state before execution. Therefore, in the third embodiment, a configuration example capable of dealing 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, the differences from the second embodiment will be described, and duplicate explanations will be omitted.
In the third embodiment, the processing of the application 304 is different from that of the second embodiment. In the third embodiment, the end reservation process described in the second embodiment is defined as the request cancellation process, and is treated separately from the end reservation process described in the first embodiment. From the application 304 of the third embodiment, it is possible to call the end reservation process described in the first embodiment and the request cancellation process described in the second embodiment, respectively.

図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 process of FIG. 14 corresponds to the process of FIG. 10 of the first embodiment.
Here, the processes of steps S1301 to S1303 of FIG. 14 are the same as the processes of steps S901 to S903 of FIG. 10, respectively. The processes of steps S1305 to S1311 of FIG. 14 are the same as the processes of steps S905 to S911 of FIG. Therefore, duplicate description of these steps will be omitted.

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

全データ送付済みと判断された場合にはステップS1305に処理が移行し、アプリケーション304は、設定値管理サービス312に終了予約を送付する。なお、終了予約を受けた設定値管理サービス312は、図9に示す終了予約の処理を実行する。 If it is determined that all the data has been sent, the process shifts to step S1305, and the application 304 sends an end reservation to the setting value management service 312. The set value management service 312 that has received the end reservation executes the end reservation process 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 shifts to step S1312, and the application 304 sends the cancellation of the request to the setting value management service 312. The set value management service 312 that has received the cancellation of the request processes the end reservation (cancellation of the request) shown in FIG.
After the end of step S1305 or S1312, the application 304 executes the end process of step S1306. This is the end of the description of FIG.

上記の第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 completion of sending all the data, the setting value of the MFP 100 is returned to the state before the 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 end 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, an example has been described in which the application 304 receives a termination request from the application management service 306 and executes an termination process accompanied by sending an termination reservation. However, in reality, the application 304 may terminate abnormally without performing termination processing. Further, even if the application 304 is not terminated, the application 304 may not be able to send the screen lock release request or the exclusive release request due to the occurrence of the deadlock. Therefore, in the fourth embodiment, a configuration example capable of dealing with the above phenomenon is proposed.

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

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

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

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

(第5実施形態)
例えば、アプリケーションの自動更新等では、インポート中の処理を一時的に停止させ、アプリケーションの更新後にインポートを再開することも想定される。そのため、第5実施形態では、上記の事象に対応できる構成例を提案する。
第5実施形態においては、簡単のため、第1実施形態との相違点を説明し、重複説明についてはいずれも省略する。第5実施形態では、設定値管理サービス312における終了予約の処理と、アプリケーション304の処理が相違する。
(Fifth Embodiment)
For example, in the automatic update of an application, it is assumed that the processing during import is temporarily stopped and the import is restarted after the application is updated. Therefore, in the fifth embodiment, a configuration example capable of dealing with the above phenomenon is proposed.
In the fifth embodiment, for the sake of simplicity, the differences from the first embodiment will be described, and duplicate explanations will be omitted. In the fifth embodiment, the processing of the end reservation 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 flow chart showing an example of the end reservation process according to the fifth embodiment.
Here, the process of step S1501 of FIG. 16 is the same as the process of step S801 of FIG. 9, and the process of steps S1504 to S1506 of FIG. 16 is the same as the process of steps S802 to S804 of FIG. Therefore, duplicate description of these steps will be omitted.

図16においては、ステップS1501で設定データの書込み完了と判断された場合、ステップS1502に処理が移行する。
ステップS1502にて、設定値管理サービス312は、設定データの送付が再開したか判断する。すなわち、設定値管理サービス312は、設定値管理サービス312とアプリケーション304の間で予め定められた所定の方法に基づき、設定値管理サービス312へ設定データが送付された場合、設定データの送付が再開したと判断する。
設定データの送付が再開したと判断された場合、図16の処理は終了する。一方、設定データの送付が再開したと判断されない場合、処理はステップS1503に移行する。
In FIG. 16, when it is determined in step S1501 that the writing of the setting data is completed, the process shifts to step S1502.
In step S1502, the setting value management service 312 determines whether the sending of the setting data has resumed. That is, the setting value management service 312 resumes sending the setting data 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. Judge that it was done.
When it is determined that the sending of the setting data is resumed, the process of FIG. 16 ends. On the other hand, if it is not determined that the sending of the setting data is resumed, the process proceeds to step S1503.

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

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

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

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

図17におけるステップS1604からS1606の処理は、図10のステップS903からS905の処理とそれぞれ同様である。また、図17におけるステップS1608からS1613の処理は、図10のステップS906からS911の処理とそれぞれ同様である。
ただし、図17においては、ステップS1606で終了予約が送付された後、ステップS1607に処理が移行する。
The processes of steps S1604 to S1606 in FIG. 17 are the same as the processes of steps S903 to S905 of FIG. 10, respectively. Further, the processes of steps S1608 to S1613 in FIG. 17 are the same as the processes of steps S906 to S911 of FIG. 10, respectively.
However, in FIG. 17, after the end reservation is sent in step S1606, the process shifts 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 scheduled data to be imported, an import result of each data, and the like in a work area secured in a storage device such as a hard disk device 228. After that, the process shifts to step S1608 (end process). This is the end of the description of FIG.

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

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

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

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

100 Printing device (MFP)
220 CPU
222 RAM
228 Hard Disk Device 304 Application 312 Setting Value Management Service

Claims (12)

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

The process of executing the function restriction process on the computer in response to the function restriction request from the application,
After the processing of the function restriction, a process of receiving a request from the application and executing a process according to the request, and
The process of notifying the application of the completion of the process according to the request, and
In response to a request from the application to release the function restriction, the process of releasing the function restriction and
A process of receiving a reservation instruction for releasing the function restriction from the application before notifying the completion of the process according to the request, and
When the reservation instruction is received, the step of canceling the function restriction without notifying the application of the completion of the process according to the request, and
A program that causes a computer to 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 true JP2020205488A (en) 2020-12-24
JP7237745B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021220773A1 (en) 2020-04-27 2021-11-04 東洋インキScホールディングス株式会社 Conductive material dispersion, method for producing same, composition for secondary battery electrodes using same, electrode membrane, secondary battery and vehicle

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021220773A1 (en) 2020-04-27 2021-11-04 東洋インキScホールディングス株式会社 Conductive material dispersion, method for producing same, composition for secondary battery electrodes using same, electrode membrane, secondary battery and vehicle

Also Published As

Publication number Publication date
JP7237745B2 (en) 2023-03-13

Similar Documents

Publication Publication Date Title
JP5383254B2 (en) Information processing apparatus, control method therefor, and program
JP5038055B2 (en) Printing apparatus, control method therefor, and computer program
JP5677173B2 (en) Image forming apparatus, network system, image forming apparatus control method, and program
EP2378411A2 (en) Print server and printing apparatus, network printing system, and printing method
JP6355330B2 (en) Network device, network device control method and program thereof
JP2020019237A (en) System, image forming apparatus, control method therefor, and program
US10594879B2 (en) Information processing apparatus, information processing system, method for controlling information processing system, and storage medium
JP2011128995A (en) Log information management system, control method therefor, and storage medium
JP2009009493A (en) Print control unit, print control method, and program
CN111050014B (en) Communication system, information processing apparatus, and control method thereof
JP3903024B2 (en) Output management method and information processing apparatus
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
JP2012068831A (en) Information processing apparatus and method of updating program in the same
JP2016148947A (en) Information processing apparatus, management device, control method of information processing apparatus, control method of management device, and program
JP7237745B2 (en) Information processing device, method and program
JP7483522B2 (en) Image forming apparatus, control method thereof, and program
JP2012242895A (en) Document conversion device, information processing method, and program
JP3962596B2 (en) Printing system and method for using printing resources
CN104424006A (en) Apparatus and control method
JP2016032119A (en) Information processing device, management system, information processing device control method, management system control method, and program
CN110764720B (en) Printing apparatus, control method of printing apparatus, and storage medium
JP2014016964A (en) Information processing device, information processing method, and program
US20130054774A1 (en) Management system, management method, and storage medium
JP6776675B2 (en) Electronics and programs

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