以下、図面を参照して本発明の実施の形態を詳しく説明する。本実施形態では、装置として、プリントやスキャン、ファクス機能を有する複合機(Multi  Function  Peripheral、以下MFPとする)を例に説明する。なお、以下の実施の形態は特許請求の範囲に係る発明を限定するものでなく、また実施の形態で説明されている特徴の組み合わせの全てが発明の解決手段に必須のものとは限らない。  Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the present embodiment, as an apparatus, a multifunction device (Multifunction Peripheral, hereinafter referred to as an MFP) having printing, scanning, and faxing functions will be described as an example. It should be noted that the following embodiments do not limit the invention according to the claims, and not all combinations of features described in the embodiments are essential for the means for solving the invention.
<第1の実施形態>
  図1は、第1実施形態に係る画像処理システムを示すブロック図である。画像処理システムは、MFP101(MFP101a,101b)と、情報管理サーバ102とを備える。MFP101と情報管理サーバ102とは、ネットワーク100を介して通信可能に接続されている。本実施形態ではMFP101aとMFP101bとは同機種であるものとするが、別機種であってもよい。また、情報管理サーバ102にはいくつMFP101が接続されていてもよい。<First Embodiment>
 FIG. 1 is a block diagram showing an image processing system according to the first embodiment. The image processing system includes an MFP 101 (MFP 101a, 101b) and aninformation management server 102. The MFP 101 and theinformation management server 102 are communicably connected to each other via thenetwork 100. In the present embodiment, the MFP 101a and the MFP 101b are assumed to be the same model, but may be different models. Further, any number ofMFPs 101 may be connected to theinformation management server 102.
  情報管理サーバ102は、クライアントとなるMFP101の申込み情報や各種サービス情報と、MFP101の装置に関連する情報とを関連付けた情報を管理する申込み情報管理サービス機能を搭載する。本実施形態では、情報管理サーバ102は複数のサーバ群により構成されるクラウドサービス機能を搭載するものとする。なお、情報管理サーバ102は単一のサーバから構成されていてもよいし、複数のサーバ群によって構成されていてもよい。また、MFP101と情報管理サーバ102とは同一ネットワーク上にあってもよい。  Theinformation management server 102 is equipped with an application information management service function that manages information associated with application information and various service information of the MFP 101 serving as a client and information related to the device of the MFP 101. In the present embodiment, theinformation management server 102 is equipped with a cloud service function composed of a plurality of server groups. Theinformation management server 102 may be composed of a single server, or may be composed of a plurality of server groups. Further, the MFP 101 and theinformation management server 102 may be on the same network.
  情報管理サーバ102は、ネットワーク100を介して、契約先サーバ103(103a,103b,103c,103d)と接続されている。各契約サーバ103のサービス提供元は同じでもよいし別でもよい。なお、以下では、契約先サーバ103aを“AAA”、103bを“BBB”、103cを“CCC”、103dを“DDD”と呼ぶ。また、情報管理サーバ102と契約先サーバ103とは同一ネットワーク上にあってもよい。さらに、情報管理サーバ102にはいくつ契約先サーバ103が接続されていてもよい。  Theinformation management server 102 is connected to the contracted server 103 (103a, 103b, 103c, 103d) via thenetwork 100. The service provider of each contract server 103 may be the same or different. In the following, the contractedserver 103a will be referred to as "AAA", 103b will be referred to as "BBB", 103c will be referred to as "CCC", and 103d will be referred to as "DDD". Further, theinformation management server 102 and the contracted server 103 may be on the same network. Further, any number of contractor servers 103 may be connected to theinformation management server 102.
  図2は、第1実施形態におけるMFP101のハードウェア構成を示すブロック図である。MFP101は原稿上の画像を読み取る読取機能と、用紙等の記録媒体に画像を印刷する印刷機能とを有する。また、他にもMFP101は、画像データを外部装置に送信するファイル送信機能などを有する。なお、本実施形態では装置として画像形成装置であるMFPを例にするが、MFP以外であってもよい。例えば、装置は、読取機能を有さないプリンタ等の印刷装置であってもよいし、印刷機能を有さないスキャナ等の画像読取装置であってもよい。また、装置は画像形成装置以外であってもよい。  FIG. 2 is a block diagram showing a hardware configuration of theMFP 101 according to the first embodiment. The MFP 101 has a reading function for reading an image on a document and a printing function for printing the image on a recording medium such as paper. In addition, the MFP 101 also has a file transmission function for transmitting image data to an external device. In the present embodiment, the device is an MFP which is an image forming device as an example, but it may be other than the MFP. For example, the device may be a printing device such as a printer that does not have a reading function, or an image reading device such as a scanner that does not have a printing function. Further, the device may be other than the image forming device.
  CPU(Central  Processing  Unit)201は、MFP101全体の動作を制御する。CPU201は、ROM202またはストレージ204に記憶された制御プログラムを読み出して、読取機能や印刷機能など各種機能を実現するための制御を行う。ROM202は、CPU201で実行可能な制御プログラムを記憶する。RAM203は、CPU201の主記憶メモリであり、ワークエリアや、ROM202及びストレージ204に記憶された各種制御プログラムを展開するための一時記憶領域として用いられる。ストレージ204は、印刷データ、画像データ、各種プログラム、及び各種設定情報を記憶する。なお、本実施形態のMFP101では、1つのCPU201が1つのメモリ(RAM203)を用いて後述するフローチャートに示す各処理を実行するものとするが、他の様態であっても構わない。例えば複数のCPU、RAM、ROM、及びストレージを協働させて後述するフローチャートに示す各処理を実行することもできる。また、ASIC(Application  Specific  Integrated  Circuit)やFPGA(Field−Programmable  Gate  Array)等のハードウェア回路を用いて一部の処理を実行するようにしてもよい。  The CPU (Central Processing Unit) 201 controls the operation of theentire MFP 101. TheCPU 201 reads a control program stored in theROM 202 or thestorage 204, and performs control for realizing various functions such as a reading function and a printing function. TheROM 202 stores a control program that can be executed by theCPU 201. TheRAM 203 is the main storage memory of theCPU 201, and is used as a work area and a temporary storage area for expanding various control programs stored in theROM 202 and thestorage 204. Thestorage 204 stores print data, image data, various programs, and various setting information. In theMFP 101 of the present embodiment, oneCPU 201 uses one memory (RAM 203) to execute each process shown in the flowchart described later, but other modes may be used. For example, a plurality of CPUs, RAMs, ROMs, and storages can be made to cooperate with each other to execute each process shown in a flowchart described later. Further, a hardware circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array) may be used to execute a part of the processing.
  操作部I/F207は、MFP101と操作部208とを接続する。操作部208は、例えばタッチパネルであり、液晶ディスプレイ等の表示装置を有するものとする。読取部I/F209は、MFP101と読取部210とを接続する。読取部210は、シート上の画像を読み取って、画像データを生成する。読取部210によって生成された画像データは、通信部I/F205を介して外部装置に送信される。または読取部210によって生成された画像データを用いて印刷部212にてシート上に画像が印刷される。また、読取部210は、原稿フィーダ(不図示)に載置されたシートを1枚ずつ搬送させながら読み取ることが可能である。  The operation unit I /F 207 connects theMFP 101 and theoperation unit 208. Theoperation unit 208 is, for example, a touch panel and has a display device such as a liquid crystal display. The reading unit I /F 209 connects theMFP 101 and thereading unit 210. Thereading unit 210 reads the image on the sheet and generates image data. The image data generated by thereading unit 210 is transmitted to the external device via the communication unit I /F 205. Alternatively, an image is printed on the sheet by theprinting unit 212 using the image data generated by thereading unit 210. Further, thereading unit 210 can read the sheets placed on the document feeder (not shown) while transporting them one by one.
  印刷部I/F211は、MFP101と印刷部212とを接続する。印刷すべき画像データは印刷部I/F211を介して印刷部212に転送される。印刷部212は、制御コマンド及び印刷すべき画像データを受信し、受信した画像データに基づく画像をシート上に印刷する。印刷部212の印刷方式は、電子写真方式であってもよいし、インクジェット方式であってもよい。電子写真方式の場合は、印刷部212は、感光体上に静電潜像を形成した後トナーにより現像し、そのトナー像をシートに転写し、転写されたトナー像を定着することにより画像を形成する。一方、インクジェット方式の場合は、印刷部212は、インクを吐出してシートに画像を印刷する。印刷部212で使用されるトナーカートリッジやインクカートリッジなどの印刷に使用する消耗品は、MFP101の内部に着脱可能に装着されている。ユーザは、これらの消耗品を交換することで、MFP101に対して消耗品を補充することができる。CPU201は、印刷のために必要な消耗品の残量を所定のタイミングで取得し、取得したトナー残量をRAM203に保持する。所定のタイミングとは、例えば、定期的なタイミングや、画像を1ページ印刷するタイミング、カートリッジが装着されたタイミングである。また、CPU201は、カートリッジの装着時に当該カートリッジの型番をRAM203又はストレージ204に記憶する。  The printing unit I /F 211 connects theMFP 101 and theprinting unit 212. The image data to be printed is transferred to theprinting unit 212 via the printing unit I /F 211. Theprinting unit 212 receives the control command and the image data to be printed, and prints the image based on the received image data on the sheet. The printing method of theprinting unit 212 may be an electrophotographic method or an inkjet method. In the case of the electrophotographic method, theprinting unit 212 forms an electrostatic latent image on the photoconductor, develops it with toner, transfers the toner image to a sheet, and fixes the transferred toner image to obtain an image. Form. On the other hand, in the case of the inkjet method, theprinting unit 212 ejects ink to print an image on the sheet. Consumables used for printing, such as toner cartridges and ink cartridges used in theprinting unit 212, are detachably mounted inside theMFP 101. The user can replenish theMFP 101 with consumables by exchanging these consumables. TheCPU 201 acquires the remaining amount of consumables required for printing at a predetermined timing, and holds the acquired remaining amount of toner in theRAM 203. The predetermined timing is, for example, a periodic timing, a timing for printing one page of an image, and a timing for mounting a cartridge. Further, theCPU 201 stores the model number of the cartridge in theRAM 203 or thestorage 204 when the cartridge is mounted.
  また、MFP101は、通信部I/F205を介してネットワーク100に接続される。通信部I/F205は、ネットワーク100上の情報管理サーバ102から申込み情報を取得する。また通信部I/F205は、ネットワーク100上のPC(パーソナルコンピュータ)から印刷データや各種情報を受信したり、RAM203又はストレージ204に記憶された、トナー残量やカートリッジ型番といった消耗品に関連する情報を送信したりする。  Further, theMFP 101 is connected to thenetwork 100 via the communication unit I /F 205. The communication unit I /F 205 acquires application information from theinformation management server 102 on thenetwork 100. Further, the communication unit I /F 205 receives print data and various information from a PC (personal computer) on thenetwork 100, and information related to consumables such as the remaining amount of toner and the cartridge model number stored in theRAM 203 or thestorage 204. Or send.
  通信部I/F205を介して受信された印刷データは、ストレージ204又はROM202に記憶された、印刷データを解析するためのソフトウェアモジュール(PDL解析部(不図示))によって解析される。PDL解析部は、様々な種類のページ記述言語(Page  Description  Language)で表現された印刷データに基づいて、印刷部212で印刷するためのデータを生成する。タイマ処理部206は、CPU201においてタイムカウント処理を行い、所定時間が経過した否かを判断する。またタイマ処理部206は、ユーザが選択した基準時刻に基づいて、所定時刻に達したことをCPU201に通知する時刻管理処理を行う。  The print data received via the communication unit I /F 205 is analyzed by a software module (PDL analysis unit (not shown)) stored in thestorage 204 orROM 202 for analyzing the print data. The PDL analysis unit generates data for printing by theprinting unit 212 based on print data expressed in various types of page description languages (Page Description Language). Thetimer processing unit 206 performs a time count process in theCPU 201 and determines whether or not a predetermined time has elapsed. Further, thetimer processing unit 206 performs time management processing for notifying theCPU 201 that a predetermined time has been reached based on the reference time selected by the user.
  図3は、第1実施形態におけるMFP101のソフトウェア構成を表すブロック図である。図3に示すように、MFP101は、モジュール301〜306を有する。MFPコントール部301は、他のモジュールを制御し、スキャン、送信、表示処理などのMFP内で発生する各ジョブの実行を統括的に制御する。UI制御部302は、操作部I/F207を介して操作部208を制御する。具体的にはUI制御部302は、操作部208へのユーザ通知や選択肢等の表示、及び、操作部208を介したユーザ操作を受け付け、受け付けたユーザ操作の内容を他のモジュールに通達する。記憶制御部303は、他のモジュールからの指示により、指定されたデータをROM202、RAM203、またはストレージ204に記憶したり、それらに記憶されているデータを読み出したりする。本実施形態では、記憶制御部303は、MFP101のストレージ204に記憶される重複不可能サービス種別テーブル307、及びサービス設定テーブル308を参照可能である。サービス設定テーブル308については、図7を用いて後述する。重複サービス有効設定制御部304は、記憶制御部303によって読み出された重複不可能サービス種別テーブル307とサービス設定テーブル308とをもとに、重複不可能サービス組み合わせリスト310を生成する。重複不可能サービス組み合わせリスト310は、有効になっているサービスの中で互いに重複してアクティベート通知を行うことができないサービスの組み合わせのリストである。重複サービス有効設定制御部304は、生成した重複不可能サービス組み合わせリスト310をRAM203上に記憶する。重複サービス有効設定制御部304は、重複不可能サービス組み合わせリスト310を用いて、ユーザに有効にしたいサービスを選択させる処理を行う。  FIG. 3 is a block diagram showing a software configuration of theMFP 101 according to the first embodiment. As shown in FIG. 3, theMFP 101 hasmodules 301 to 306. TheMFP control unit 301 controls other modules and comprehensively controls the execution of each job generated in the MFP such as scanning, transmission, and display processing. TheUI control unit 302 controls theoperation unit 208 via the operation unit I /F 207. Specifically, theUI control unit 302 receives user notifications to theoperation unit 208, display of options and the like, and user operations via theoperation unit 208, and notifies other modules of the contents of the received user operations. Thestorage control unit 303 stores the designated data in theROM 202, theRAM 203, or thestorage 204, or reads out the data stored in them, according to an instruction from another module. In the present embodiment, thestorage control unit 303 can refer to the non-overlapping service type table 307 and the service setting table 308 stored in thestorage 204 of theMFP 101. The service setting table 308 will be described later with reference to FIG. The duplicate service validsetting control unit 304 generates the non-duplicateservice combination list 310 based on the non-duplicate service type table 307 and the service setting table 308 read by thestorage control unit 303. The non-duplicateservice combination list 310 is a list of service combinations that cannot duplicate activation notifications among the enabled services. The duplicate service validsetting control unit 304 stores the generated non-duplicateservice combination list 310 in theRAM 203. The duplicate service enablement settingcontrol unit 304 uses the non-duplicateservice combination list 310 to perform a process of causing the user to select a service to be enabled.
  記憶制御部303によって読み出されたサービス設定テーブル308の情報をもとに、サービスの機能を有効または無効にするためのアクティベート通知を情報管理サーバ102に行うか否かの判断を行う。イベント通知制御部306は、MFP101内で発生したイベントを収集し、通信部I/F205を介して情報管理サーバ102に通知する。カートリッジに関するイベントとしては、例えば、印刷等によりトナーが消費されたときに発生するイベントや、トナーの残量が所定の閾値を下回ったときに発生するイベント、カートリッジが着脱されたときに発生するイベントがある。送信データ種別テーブル309については、後述する。  Based on the information in the service setting table 308 read by thestorage control unit 303, it is determined whether or not to give theinformation management server 102 an activation notification for enabling or disabling the service function. The eventnotification control unit 306 collects the events generated in theMFP 101 and notifies theinformation management server 102 via the communication unit I /F 205. Examples of events related to the cartridge include an event that occurs when toner is consumed by printing, an event that occurs when the remaining amount of toner falls below a predetermined threshold value, and an event that occurs when the cartridge is attached / detached. There is. The transmission data type table 309 will be described later.
  図4は、第1実施形態における情報管理サーバ102のハードウェア構成を示すブロック図である。情報管理サーバ102は、CPU401、ROM402、RAM403、HDD(ハードディスクドライブ)404、及び通信部I/F405を含む。また、これらの構成要素はバスを介して互いに通信可能に接続されている。CPU401は、演算回路からなり、情報管理サーバ102を統括制御する。CPU401は、ROM402またはHDD404に記憶されたプログラムをRAM403に読み出し、種々の処理を実行する。ROM402は、情報管理サーバ102の制御に用いられるシステムプログラムなどを記憶する。HDD404は、種々の処理を実行するアプリケーションプログラムなどを記憶する記憶領域を有する。なお、HDD404は記憶装置の一例であり、記憶装置としてSSD(Solid  State  Drive)などが用いられてもよい。通信部I/F405は、CPU401の制御に基づいてMFP101などとネットワーク100を介して通信を行う。  FIG. 4 is a block diagram showing a hardware configuration of theinformation management server 102 according to the first embodiment. Theinformation management server 102 includes aCPU 401, aROM 402, aRAM 403, an HDD (hard disk drive) 404, and a communication unit I /F 405. In addition, these components are communicably connected to each other via a bus. TheCPU 401 includes an arithmetic circuit and controls theinformation management server 102 in an integrated manner. TheCPU 401 reads the program stored in theROM 402 or theHDD 404 into theRAM 403 and executes various processes. TheROM 402 stores a system program or the like used for controlling theinformation management server 102. TheHDD 404 has a storage area for storing application programs and the like that execute various processes. TheHDD 404 is an example of a storage device, and an SSD (Solid State Drive) or the like may be used as the storage device. The communication unit I /F 405 communicates with theMFP 101 and the like via thenetwork 100 based on the control of theCPU 401.
  図5は、第1実施形態における情報管理サーバ102のソフトウェア構成を表すブロック図である。図5に示すように、情報管理サーバ102は、モジュール501〜506を有する。サーバコントール部501は、他のモジュールを制御し、MFP101との通信、契約先サーバ103へのサービス依頼処理など、サーバ内で発生する各ジョブの実行を統括的に制御する。記憶制御部502は、他のモジュールからの指示により、指定されたデータをROM402や、RAM403、HDD404に記憶したり、それらに記憶されているデータを読み出したりする。本実施形態では、記憶制御部502は、情報管理サーバ102のHDD404に記憶されている申込み情報テーブル507及びイベントサ−ビス対応テーブル508を参照する。サービス判定部503は、記憶制御部502によって読み出された申込み情報テーブル507の情報をもとに、MFP101において、申込みが必要なサービスに申込みが行われているか否かを判断する。申込み情報登録部504は、契約先サーバ103から申込み情報登録通知を受信すると、受信した申込み情報登録通知の情報をもとに、申込み情報テーブル507に申込み情報を書き込む。アクティベート通知受信部505は、通信部I/F405を介して、MFP101からアクティベート通知を受信すると、受信したアクティベート通知をもとに、申込み情報テーブル507の情報を更新する。サービス依頼部506は、通信部I/F405を介して、MFP101からイベントを受信する。すると、サービス依頼部506は、記憶制御部502によってRAM403から読み出されたイベントサービス対応テーブル508をもとにして、受信したインベトに対応するサービス種別を特定する。イベントサービス対応テーブル508は、イベント名とイベントに対応するサービス種別とが対応付けて格納されたリストである。サービス種別は、サービスの種別を示す情報である。サービス依頼部506は、特定したサービス情報をイベントサービス対応情報リスト509に記憶する。そして、サービス依頼部506は、イベントサービス対応情報リスト509と申込み情報テーブル507の情報をもとに、RAM403上に申込み情報リスト510を記憶する。さらに、サービス依頼部506は、申込み情報リスト510の情報をもとに、契約先サーバ103にサービスの依頼を行う。  FIG. 5 is a block diagram showing a software configuration of theinformation management server 102 according to the first embodiment. As shown in FIG. 5, theinformation management server 102 hasmodules 501 to 506. Theserver control unit 501 controls other modules, and comprehensively controls the execution of each job generated in the server, such as communication with theMFP 101 and service request processing to the contracted server 103. Thestorage control unit 502 stores the designated data in theROM 402, theRAM 403, and theHDD 404, and reads out the data stored in them, according to an instruction from another module. In the present embodiment, thestorage control unit 502 refers to the application information table 507 and the event service correspondence table 508 stored in theHDD 404 of theinformation management server 102. Based on the information in the application information table 507 read by thestorage control unit 502, theservice determination unit 503 determines whether or not the service for which the application is required is applied for in theMFP 101. When the applicationinformation registration unit 504 receives the application information registration notification from the contractor server 103, the applicationinformation registration unit 504 writes the application information in the application information table 507 based on the received application information registration notification information. When the activationnotification receiving unit 505 receives the activation notification from theMFP 101 via the communication unit I /F 405, the activationnotification receiving unit 505 updates the information in the application information table 507 based on the received activation notification. Theservice request unit 506 receives an event from theMFP 101 via the communication unit I /F 405. Then, theservice request unit 506 specifies the service type corresponding to the received event based on the event service correspondence table 508 read from theRAM 403 by thestorage control unit 502. The event service correspondence table 508 is a list in which the event name and the service type corresponding to the event are stored in association with each other. The service type is information indicating the type of service. Theservice request unit 506 stores the specified service information in the event servicecorrespondence information list 509. Then, theservice request unit 506 stores theapplication information list 510 on theRAM 403 based on the information in the event servicecorrespondence information list 509 and the application information table 507. Further, theservice request unit 506 requests the service to the contracted server 103 based on the information in theapplication information list 510.
  図6は、第1実施形態における申込み情報テーブル507の一例を示す図である。申込み情報テーブル507は、情報管理サーバ102の記憶制御部502に保存される。図6に示すように、申込み情報テーブル507には、MFP101を一意に識別可能なプリンタID(識別子)と、該MFP101に関連するサービスの管理情報(以下、サービス管理情報と呼ぶ。)とが対応付けて記憶されている。なお、プリンタID“123456789”はMFP101aの識別子であり、プリンタID“222222222”はMFP101bの識別子であるものとする。サービス管理情報には、例えば、サービスのアクティベート状態を示すアクティベート状態情報、サービス種別、申込みID、契約先サーバが含まれる。なお、プリンタIDにサービス管理情報が1つも紐づけられない場合もあり得る。また、1つのプリンタIDにサービス管理情報が複数紐づけられる場合もある。  FIG. 6 is a diagram showing an example of the application information table 507 according to the first embodiment. The application information table 507 is stored in thestorage control unit 502 of theinformation management server 102. As shown in FIG. 6, in the application information table 507, a printer ID (identifier) that can uniquely identify theMFP 101 and management information of a service related to the MFP 101 (hereinafter, referred to as service management information) correspond to each other. It is attached and remembered. It is assumed that the printer ID "123456789" is the identifier of the MFP101a and the printer ID "222222222" is the identifier of the MFP101b. The service management information includes, for example, activation status information indicating the activation status of the service, service type, application ID, and contracted server. In some cases, no service management information may be associated with the printer ID. In addition, a plurality of service management information may be associated with one printer ID.
  なお、本実施形態におけるサービスは、サービス提供者(サービス提供元)とMFP101の管理者との両者の間で契約が必要となるサービスである。サービスには、例えば、消耗品の自動配送サービスがある。これは、MFP101にて使用される消耗品の消耗度が閾値以下であることが検知されると、自動的にサービス提供元に消耗品の発注がされ、この発注に従い消耗品が配送されるサービスである。サービスとして他には、MFP101を遠隔地から状態監視しメンテナンスを行うメンテナンスサービスや、MFP101の利用状況をレポートするデバイス管理サービス等がある。  The service in this embodiment is a service that requires a contract between the service provider (service provider) and the administrator of theMFP 101. Services include, for example, an automatic delivery service for consumables. This is a service in which when it is detected that the degree of consumption of the consumables used by theMFP 101 is below the threshold value, the consumables are automatically ordered from the service provider, and the consumables are delivered according to this order. Is. Other services include a maintenance service that monitors the status of theMFP 101 from a remote location and performs maintenance, and a device management service that reports the usage status of theMFP 101.
  サービス提供元とMFP101の管理者とがサービスの契約を締結することで、サービス提供元の契約先サーバ103から情報管理サーバ102に申込み情報登録通知が通知される。そして、申込みが行われたMFP101のプリンタIDと、該MFP101に対応するサービス管理情報とが、申込み情報テーブル507に書き込まれる。新規にサービス管理情報が書き込まれる場合、アクティベート状態情報は“無効”が設定されている。そして、MFP101からのアクティベート通知によってサービスは有効化され、アクティベート状態情報に“有効”が設定される。また、契約が解除された場合は、申込み情報テーブル507から、契約が解除されたサービスに該当するサービス管理情報が削除される。  When the service provider and the administrator of theMFP 101 conclude a service contract, the contracted server 103 of the service provider notifies theinformation management server 102 of the application information registration notification. Then, the printer ID of theMFP 101 for which the application has been made and the service management information corresponding to theMFP 101 are written in the application information table 507. When new service management information is written, the activation status information is set to "invalid". Then, the service is activated by the activation notification from theMFP 101, and "valid" is set in the activation status information. When the contract is canceled, the service management information corresponding to the service for which the contract has been canceled is deleted from the application information table 507.
  図6に示す申込み情報テーブル507の例では、プリンタID“123456789”に対応するサービス管理情報は4つ存在する。これは、プリンタID“123456789”のMFP101aは、4つのサービスと契約締結中であることを示している。また、契約先サーバ“AAA”、契約先サーバ“BBB”、及び契約先サーバ“DDD”に対するアクティベート状態情報は“有効”であり、これらの契約先サーバによるサービスが提供される状態であることを示している。また、契約先サーバ“CCC”に対するアクティベート状態情報は“無効”であり、契約が締結されているもののサービスの提供が停止されている状態であることを示している。一方、プリンタID“222222222”に対応するサービス管理情報は1つ存在する。これは、プリンタID“222222222”のMFP101bは、1つのサービスと契約締結中の状態であることを示す。また、契約先サーバ“CCC”に対するアクティベート状態情報は“無効”であり、契約を結んでいるもののサービスの提供を停止している状態であることを示している。  In the example of the application information table 507 shown in FIG. 6, there are four service management information corresponding to the printer ID "123456789". This indicates that the MFP101a with the printer ID "123456789" is under contract with four services. In addition, the activation status information for the contracted server "AAA", the contracted server "BBB", and the contracted server "DDD" is "valid", and the service is provided by these contracted servers. Shown. In addition, the activation status information for the contracted server "CCC" is "invalid", indicating that the service is suspended even though the contract has been concluded. On the other hand, there is one service management information corresponding to the printer ID "222222222". This indicates that the MFP101b with the printer ID "222222222" is in the state of concluding a contract with one service. In addition, the activation status information for the contracted server "CCC" is "invalid", indicating that the service has been stopped even though the contract has been concluded.
  サービスに契約しているか否かの情報の通知をMFP101が要求してきた際、情報管理サーバ102は、その要求元のMFP101のプリンタIDを用いて申込み情報テーブル507を検索し、その検索結果を通知する。MFP101は、情報管理サーバ102から通知された検索結果を、サービス設定テーブル308に記憶する。図7は、第1実施形態におけるサービス設定テーブル308の一例を示す図である。サービス設定テーブル308には、サービス有効設定と、サービス種別、申込みID、及び契約先名からなる申込み情報とが対応付けて記憶されている。サービス種別、申込みID、及び契約先名を含む申込み情報は、各サービスを特定可能な情報であり、上記検索結果として情報管理サーバ102から通知される情報である。サービス有効設定は、各申込み情報に対応するサービスの機能がMFP101において有効または無効であるかを示す情報である。サービス有効設定の切り替え方法については、図15及び図16を用いて後述する。なお、サービス提供元とMFP101の管理者とが契約を結んでいても、サービス有効設定が無効であれば、サービスは提供されない。サービス有効設定は、例えば、操作部208を介したユーザまたはサービスマンからの操作によって、または、外部から送信されたMFP101に対する指示コマンドなどによって有効または無効を切り替えることができる。なお、情報管理サーバ102に対してアクティベートを行った結果を示す情報(以下、アクティベート結果情報)をサービス設定テーブル308に含ませても良い。その場合、情報管理サーバ102へのアクティベート通知によるアクティベートが成功したときには、アクティベート結果情報には“成功”が設定され、アクティベートが失敗したときには、アクティベート結果情報には“失敗”が設定される。アクティベート通知をしていない状態またはサービス設定がOFFされたときには、アクティベート結果情報には“未実施”が設定される。  When theMFP 101 requests notification of information as to whether or not the service is contracted, theinformation management server 102 searches the application information table 507 using the printer ID of the requestingMFP 101, and notifies the search result. To do. TheMFP 101 stores the search result notified from theinformation management server 102 in the service setting table 308. FIG. 7 is a diagram showing an example of the service setting table 308 according to the first embodiment. In the service setting table 308, the service valid setting and the application information including the service type, the application ID, and the contractor name are stored in association with each other. The application information including the service type, application ID, and contractor name is information that can identify each service, and is information notified from theinformation management server 102 as the above search result. The service valid setting is information indicating whether the function of the service corresponding to each application information is valid or invalid in theMFP 101. The method of switching the service enable setting will be described later with reference to FIGS. 15 and 16. Even if the service provider and the administrator of theMFP 101 have a contract, the service will not be provided if the service enable setting is invalid. The service enable setting can be enabled or disabled by, for example, an operation from a user or a service person via theoperation unit 208, or an instruction command to theMFP 101 transmitted from the outside. The service setting table 308 may include information indicating the result of activating the information management server 102 (hereinafter, activation result information). In that case, when the activation by the activation notification to theinformation management server 102 is successful, "success" is set in the activation result information, and when the activation fails, "failure" is set in the activation result information. When the activation notification is not given or the service setting is turned off, "not implemented" is set in the activation result information.
  図8は、第1実施形態における情報管理サーバ102への登録シーケンスの一例を示す図である。図8に示すシーケンスに従って、MFP101に関する情報がMFP101から情報管理サーバ102に登録されることで、サービスがアクティベートされる。図8に示すシーケンスは1日ごとに所定の時間に実施されるものとする。本実施形態では所定の時間をAM7:00とする。MFP101がサービスの提供を受ける場合、情報管理サーバ102に対してMFP101に関する情報の登録処理とサービスの提供を開始するためのアクティベート通知とが行われる。  FIG. 8 is a diagram showing an example of a registration sequence to theinformation management server 102 according to the first embodiment. According to the sequence shown in FIG. 8, the service is activated by registering the information about theMFP 101 from theMFP 101 to theinformation management server 102. The sequence shown in FIG. 8 shall be performed every day at a predetermined time. In this embodiment, the predetermined time is 7:00 AM. When theMFP 101 receives the service, theinformation management server 102 is notified of the registration of information about theMFP 101 and the activation notification for starting the service.
  まずS801にて、MFP101はタイマ処理部206でAM7:00になったことを検知すると、情報管理サーバ102に接続先情報要求を送信する。次いでS802にて、情報管理サーバ102は、接続先情報要求への応答として、MFP101に接続先情報を返送する。本実施形態では、接続先情報要求の際にMFP101は、国や地域などのデバイスの設置地域に関する情報を併せて送信する。対して情報管理サーバ102は、接続先情報として、後述するS803,S805,S809の要求やS807,S811の通知を行う際の接続先を示すFQDN(Fully  Qualified  Domain  Name)をMFP101に送信する。  First, in S801, when theMFP 101 detects that thetimer processing unit 206 has reached 7:00 AM, it transmits a connection destination information request to theinformation management server 102. Next, in S802, theinformation management server 102 returns the connection destination information to theMFP 101 as a response to the connection destination information request. In the present embodiment, when requesting the connection destination information, theMFP 101 also transmits information regarding the device installation area such as a country or region. On the other hand, theinformation management server 102 transmits FQDN (Full FQDN Domain Name) indicating the connection destination when the request of S803, S805, S809 and the notification of S807, S811 described later are performed as the connection destination information to theMFP 101.
  S803にてMFP101は、情報管理サーバ102に対し、デバイス登録要求を送信する。デバイス登録要求にはMFP101のシリアル番号などデバイス個体を一意に特定可能な情報と、製品名や出荷仕向けなどデバイスの種類を特定可能な情報とが含まれる。S804にて、情報管理サーバ102は、デバイス登録要求を受け付けると、情報管理サーバ102で管理するデバイス(プリンタ)の識別子であるプリンタIDを発行する。そして、情報管理サーバ102は、デバイス登録要求に対する応答として、プリンタIDを含む情報をMFP101に返送する。  In S803, theMFP 101 transmits a device registration request to theinformation management server 102. The device registration request includes information that can uniquely identify the individual device such as the serial number of theMFP 101, and information that can identify the type of device such as the product name and shipping destination. When theinformation management server 102 receives the device registration request in S804, theinformation management server 102 issues a printer ID which is an identifier of the device (printer) managed by theinformation management server 102. Then, theinformation management server 102 returns the information including the printer ID to theMFP 101 as a response to the device registration request.
  S805にてMFP101は、情報管理サーバ102に、申込み情報要求を送信する。S806にて情報管理サーバ102は、申込み情報要求を受信すると、MFP101のプリンタIDに紐づけられた申込み情報を返送する。なお、MFP101のプリンタIDに紐づけられた申込み情報は1つもない場合や複数ある場合もある。MFP101は、情報管理サーバ102から送信された申込み情報を、サービス設定テーブル308に記憶する。サービス設定テーブル308に記憶する情報は、MFP101においてサービスを一意に識別することができる情報であれば申込み情報の一部のみでもよい。本実施形態では、申込みIDをサービス設定テーブル308に記憶する。サービス設定テーブル308は、図7に示すようなテーブルである。サービス設定テーブル308は、MFP101のサービスそれぞれについて、サービスの提供を有効化するか否かを示すサービス有効設定と、S806においてMFP101が受信した1つ以上の申込み情報とを紐づけたテーブルである。MFP101は、申込み情報をサービス設定テーブル308に記憶した後、後述する図15に示す重複サービス判断処理を実行する。これにより、同種のサービスが重複して提供されることを防止している。  In S805, theMFP 101 transmits an application information request to theinformation management server 102. When theinformation management server 102 receives the application information request in S806, it returns the application information associated with the printer ID of theMFP 101. In addition, there may be no application information associated with the printer ID of theMFP 101, or there may be a plurality of application information. TheMFP 101 stores the application information transmitted from theinformation management server 102 in the service setting table 308. The information stored in the service setting table 308 may be only a part of the application information as long as the information can uniquely identify the service in theMFP 101. In the present embodiment, the application ID is stored in the service setting table 308. The service setting table 308 is a table as shown in FIG. The service setting table 308 is a table in which for each service of theMFP 101, a service valid setting indicating whether or not to enable the provision of the service and one or more application information received by theMFP 101 in S806 are linked. After storing the application information in the service setting table 308, theMFP 101 executes the duplicate service determination process shown in FIG. 15, which will be described later. This prevents duplicate services of the same type from being provided.
  S807にてMFP101は、情報管理サーバ102から受信した申込み情報と、サービス設定テーブル308のサービス有効設定とをもとにサービスを有効化するための申込みアクティベート通知を送信するか否かを決定する。この決定は、アクティベート通知制御部305により行われる。具体的には、まずアクティベート通知制御部305は、サービス設定テーブル308のサービス有効設定が有効に設定されているサービスの申込みIDが空か否かを判断する。そして、申込みIDが空でない、すなわち契約が解除されていないと判断された場合は、アクティベート通知制御部305は、情報管理サーバ102にサービスを有効化するための申込みアクティベート通知を行う。申込みIDが空であると判断された場合は、アクティベート通知制御部305は、申込みアクティベート通知を行わない。例えば、MFP101で使用できない消耗品を自動配送するサービス(MFP101に対応していないサービス)については、アクティベート通知制御部305は申込みアクティベート通知を行わないようにする。なお、サービス設定テーブルに申し込み情報として申込みサービス概要等の情報を記憶させておき、それらの情報に基づいて、サービスがMFP101に対応しているか否かを判断して申込みアクティベート通知を行うか決定してもよい。S807の申込みアクティベート通知にはアクティベートするサービスを一意に決定するために申込みID等の識別情報が含まれる。図6に示す例では、サービス有効設定が“有効”であり且つ申込みIDが空ではない、申込みID“abc123”、“xyz321”、“zzz999”のサービスについて、申込みアクティベート通知が行われることになる。ただし、本実施形態では、後述する図15に示す処理により、サービス種別が重複している“abc123”、“xyz321”については、いずれかの申込みIDのサービスについてのみ申込みアクティベート通知が行われる。  In S807, theMFP 101 determines whether or not to transmit the application activation notification for activating the service based on the application information received from theinformation management server 102 and the service activation setting of the service setting table 308. This determination is made by the activationnotification control unit 305. Specifically, first, the activationnotification control unit 305 determines whether or not the application ID of the service for which the service valid setting of the service setting table 308 is valid is empty. Then, when it is determined that the application ID is not empty, that is, the contract has not been canceled, the activationnotification control unit 305 notifies theinformation management server 102 of the application activation for activating the service. If it is determined that the application ID is empty, the activationnotification control unit 305 does not perform the application activation notification. For example, for a service that automatically delivers consumables that cannot be used by the MFP 101 (a service that does not support the MFP 101), the activationnotification control unit 305 does not perform an application activation notification. In addition, information such as the application service outline is stored as application information in the service setting table, and based on the information, it is determined whether or not the service is compatible with theMFP 101 and whether or not to perform the application activation notification is determined. You may. The application activation notification of S807 includes identification information such as an application ID in order to uniquely determine the service to be activated. In the example shown in FIG. 6, the application activation notification is sent for the services of the application IDs "abc123", "xyz321", and "zzz999" for which the service valid setting is "valid" and the application ID is not empty. .. However, in the present embodiment, by the process shown in FIG. 15 described later, for "abc123" and "xyz321" whose service types are duplicated, the application activation notification is performed only for the service of any of the application IDs.
  S808にて情報管理サーバ102は、MFP101からの申込みアクティベート通知を受信すると、申込みアクティベート通知に含まれる識別情報に対応する、申込み情報テーブル507のアクティベート状態情報を“有効”に設定する。なお、MFP101からの申込みアクティベート通知を受け付けていないサービスのアクティベート状態情報については“無効”に設定されるものとする。情報管理サーバ102はアクティベート状態情報を“有効”に設定すると、MFP101にアクティベート結果情報を送信する。また、情報管理サーバ102はMFP101からの申込みアクティベート通知を受信すると、リテーラ等のサービス提供元の契約先サーバ103とサービスの提供に必要な通信処理を開始する。このようなシーケンスにより、情報管理サーバ102がMFP101に対してサービスを提供するための設定が有効になる。  Upon receiving the application activation notification from theMFP 101, theinformation management server 102 in S808 sets the activation status information of the application information table 507 corresponding to the identification information included in the application activation notification to "valid". The activation status information of the service that has not received the application activation notification from theMFP 101 shall be set to "invalid". When theinformation management server 102 sets the activation status information to "valid", theinformation management server 102 transmits the activation result information to theMFP 101. Further, when theinformation management server 102 receives the application activation notification from theMFP 101, it starts the communication process necessary for providing the service with the contracted server 103 of the service provider such as the retailer. With such a sequence, the setting for theinformation management server 102 to provide the service to theMFP 101 becomes valid.
  S809にてMFP101は、情報管理サーバ102にデバイス制御情報要求を送信する。S810にて情報管理サーバ102は、デバイス制御情報要求を受信すると、デバイス制御情報を返送する。デバイス制御情報には情報管理サーバ102がMFP101からの送信を望むデータの種別(以後、要求データ種別と呼ぶ)が含まれている。要求データ種別は、現在アクティベートされているサービスの提供を受けるために必要となるMFP101の情報の種類である。例えば、カートリッジ自動配送サービスの要求データ種別であれば、カートリッジの種類、残量、色といったカートリッジに関するデータが要求データ種別となる。なお、要求データ種別はこれらに限らず、サービスの提供を受けるために必要と想定されるデータを任意の方法で決定するようにしてもよい。また、MFP101から送信されるMFP101の情報を、以降では送信データと呼ぶ。また、情報管理サーバ102が認識しているMFP101の現在の送信データの種別(以後、現在データ種別と呼ぶ)、及び現在データ種別と要求データ種別との差分情報がデバイス制御情報に含まれる。  In S809, theMFP 101 transmits a device control information request to theinformation management server 102. When theinformation management server 102 receives the device control information request in S810, theinformation management server 102 returns the device control information. The device control information includes a type of data (hereinafter, referred to as a request data type) that theinformation management server 102 desires to transmit from theMFP 101. The request data type is the type of information of theMFP 101 required to receive the provision of the currently activated service. For example, in the case of the request data type of the cartridge automatic delivery service, the data related to the cartridge such as the cartridge type, the remaining amount, and the color is the request data type. The request data type is not limited to these, and the data assumed to be necessary for receiving the service may be determined by an arbitrary method. Further, the information of theMFP 101 transmitted from theMFP 101 is hereinafter referred to as transmission data. Further, the device control information includes the current transmission data type of theMFP 101 recognized by the information management server 102 (hereinafter referred to as the current data type) and the difference information between the current data type and the request data type.
  S811にてMFP101は、デバイス制御情報を受信すると、要求データ種別に基づいて送信データ種別テーブル309を変更する。送信データ種別テーブル309は、送信データの種別を記憶するテーブルである。続いて、MFP101は、変更した送信データ種別テーブル309に基づいて、現在データ種別をデバイス制御結果通知として、情報管理サーバ102に返送する。  Upon receiving the device control information in S811, theMFP 101 changes the transmission data type table 309 based on the request data type. The transmission data type table 309 is a table for storing the type of transmission data. Subsequently, theMFP 101 returns the current data type as a device control result notification to theinformation management server 102 based on the changed transmission data type table 309.
  このようなシーケンスにより、MFP101は、情報管理サーバ102に送信データ種別テーブル309に記憶されているデータ種別に従ってデバイス情報(以後、デバイス状態情報と呼ぶ)の送信を開始する。デバイス状態情報を情報管理サーバ102に送信するタイミングは、データ種別ごとに予め定められているイベントが発生したタイミングでもよいし、周期的に一定時間経過したタイミングでもよい。これにより、MFP101がサービスを提供されるために、MFP101の情報のうち、提供されるサービスに関する情報を選択的に情報管理サーバ102に送信することが可能になる。  By such a sequence, theMFP 101 starts transmitting device information (hereinafter referred to as device status information) to theinformation management server 102 according to the data type stored in the transmission data type table 309. The timing of transmitting the device status information to theinformation management server 102 may be the timing at which a predetermined event occurs for each data type, or the timing at which a certain period of time has elapsed periodically. As a result, in order for theMFP 101 to be provided with the service, it is possible to selectively transmit the information regarding the provided service among the information of theMFP 101 to theinformation management server 102.
  S806及びS810で情報管理サーバ102から送信される情報(申込み情報及びデバイス制御情報)は、サービスの契約締結または契約解除、サービスの停止、仕様の変更等により、変更される情報である。そのため、MFP101は定期的または間欠的に情報管理サーバ102に対して情報取得を行う必要がある。したがって、本実施形態のMFP101は、図8に示すシーケンスを毎日AM7:00に実行するようにしている。  The information (application information and device control information) transmitted from theinformation management server 102 in S806 and S810 is information that is changed due to a service contract conclusion or contract cancellation, service suspension, specification change, or the like. Therefore, theMFP 101 needs to acquire information from theinformation management server 102 periodically or intermittently. Therefore, theMFP 101 of the present embodiment is set to execute the sequence shown in FIG. 8 every day at 7:00 AM.
  図9は、MFP101のアクティベート通知制御部305が、S806で受信した申込み情報をもとに、アクティベート通知(S807)を行うか否かを判定する処理を示すフローチャートである。図9に示すフローチャートにおける各ステップは、MFP101におけるROM202または記憶制御部303に記憶されたプログラムがRAM203に読み出されてCPU201にて実行されることで実現される。  FIG. 9 is a flowchart showing a process in which the activationnotification control unit 305 of theMFP 101 determines whether or not to perform the activation notification (S807) based on the application information received in S806. Each step in the flowchart shown in FIG. 9 is realized by reading the program stored in theROM 202 or thestorage control unit 303 in theMFP 101 into theRAM 203 and executing the program in theCPU 201.
  まずS901にてMFP101は、情報管理サーバ102から送信された申込み情報を受信する。S902にてアクティベート通知制御部305は記憶制御部303を用いて、サービス設定テーブル308に、情報管理サーバ102から受信した申込み情報の書き込みを行う。S903にてアクティベート通知制御部305がサービス設定テーブル308に記憶されているサービスについてサービス有効設定が有効であるか否かの判断を行う。これが有効であると判断された場合は、処理はS904へ進み、無効であると判断された場合は、処理は終了する。S904にてMFP101は、S903で有効であると判断されたサービスの申込みIDが、サービス設定テーブル308において空であるか否かを判断する。サービスの申込みIDが空ではない、すなわちサービスの契約が解除されていないと判断された場合は、処理はS905へ進み、空である場合は、処理は終了する。S905にてMFP101は、情報管理サーバ102に対してサービスの機能を有効化するために申込みアクティベート通知を行う。  First, in S901, theMFP 101 receives the application information transmitted from theinformation management server 102. In S902, the activationnotification control unit 305 writes the application information received from theinformation management server 102 to the service setting table 308 by using thestorage control unit 303. In S903, the activationnotification control unit 305 determines whether or not the service valid setting is valid for the service stored in the service setting table 308. If it is determined that this is valid, the process proceeds to S904, and if it is determined that this is invalid, the process ends. In S904, theMFP 101 determines whether or not the service application ID determined to be valid in S903 is empty in the service setting table 308. If it is determined that the service application ID is not empty, that is, the service contract has not been canceled, the process proceeds to S905, and if it is empty, the process ends. In S905, theMFP 101 notifies theinformation management server 102 of the application activation in order to activate the service function.
  図9に示すフローを実行することで、MFP101において有効化したサービスの機能のみ、情報管理サーバ102にて有効化することが可能になる。このような方法により、MFP101の管理者が所望するサービスの提供元を切り替えることが容易にできる。また、管理者とサービスの提供元との契約状態や画像形成装置の構成によって適切にサービスを開始させることができる仕組みを提供することができる。  By executing the flow shown in FIG. 9, only the functions of the services enabled in theMFP 101 can be enabled in theinformation management server 102. By such a method, the administrator of theMFP 101 can easily switch the desired service provider. In addition, it is possible to provide a mechanism capable of appropriately starting the service depending on the contract status between the administrator and the service provider and the configuration of the image forming apparatus.
  図10は、第1実施形態における情報管理サーバ102が有するイベントサービス対応テーブル508の一例を示す図である。イベントサービス対応テーブル508には、イベント名と、サービス種別とからなるイベントサービス対応情報が保存されている。イベントサービス対応情報は、サービス依頼部506がMFP101からイベントを受信した際に取得される情報である。イベントサービス対応情報から、受信したイベントに対応するサービスのサービス種別を取得することができる。図10に例示しているとおり、同一のイベント名に対して複数のサービス種別が紐付いていても良いし、一つのサービス種別に対して複数のイベント名が紐付いていてもよい。またMFP101から通知されるイベント名のすべてが、イベントサービス対応テーブル508に存在している必要は無く、例えば“トナー交換“といった、イベントサービス対応テーブル508に存在していないイベント名があってもよい。  FIG. 10 is a diagram showing an example of the event service correspondence table 508 included in theinformation management server 102 in the first embodiment. In the event service correspondence table 508, event service correspondence information including an event name and a service type is stored. The event service correspondence information is information acquired when theservice request unit 506 receives an event from theMFP 101. From the event service correspondence information, the service type of the service corresponding to the received event can be acquired. As illustrated in FIG. 10, a plurality of service types may be associated with the same event name, or a plurality of event names may be associated with one service type. Further, not all the event names notified from theMFP 101 need to exist in the event service correspondence table 508, and there may be an event name such as "toner exchange" that does not exist in the event service correspondence table 508. ..
  図11は、情報管理サーバ102のサービス依頼部506が行うイベント受信処理のフローチャートである。イベント受信処理では、まずサービス依頼部506は、MFP101からイベントを受信した際に、契約先サーバ103に対してサービスの依頼を行う。イベントにはイベント名、プリンタID、イベント発生時間など、デバイスやイベントを一意に特定可能な情報とサービスを特定可能な情報とが含まれる。次いでサービス依頼部506は、通知されたイベントから依頼するサービス種別を特定する。最後に、サービス依頼部506は、特定したサービスに紐付いている契約先サーバ103に対してサービスの依頼を行う。以下、イベント受信処理について詳細に説明する。  FIG. 11 is a flowchart of the event reception process performed by theservice request unit 506 of theinformation management server 102. In the event reception process, first, theservice request unit 506 requests the service to the contracted server 103 when the event is received from theMFP 101. The event includes information that can uniquely identify a device or event and information that can identify a service, such as an event name, a printer ID, and an event occurrence time. Next, theservice request unit 506 specifies the service type to be requested from the notified event. Finally, theservice request unit 506 requests the service to the contracted server 103 associated with the specified service. The event reception process will be described in detail below.
  まずS1101にて情報管理サーバ102は、MFP101からイベントを受信すると、イベントサービス対応テーブル508から、イベントに含まれるイベント名と一致するイベント名を含むイベントサービス対応情報を取得する。そして、情報管理サーバ102は、取得したすべてのイベントサービス対応情報を、RAM403上のイベントサービス対応情報リスト509に記憶する。  First, when theinformation management server 102 receives an event from theMFP 101 in S1101, theinformation management server 102 acquires the event service correspondence information including the event name matching the event name included in the event from the event service correspondence table 508. Then, theinformation management server 102 stores all the acquired event service correspondence information in the event servicecorrespondence information list 509 on theRAM 403.
  S1102にて情報管理サーバ102は、イベントサービス対応情報リスト509が空である場合(S1102  YES)、処理を終了する。一方、イベントサービス対応情報リスト509が空でない場合(S1102  NO)、処理はS1103に移行する。S1103にて情報管理サーバ102は、申込み情報テーブル507から、イベントサービス対応情報リスト509に記憶されているサービス種別とイベントで通知されたプリンタIDとの両方が一致する申込み情報を取得する。そして、情報管理サーバ102は一致したすべての申込み情報をRAM403上の申込み情報リスト510に記憶する。  In S1102, theinformation management server 102 ends the process when the event servicecorrespondence information list 509 is empty (S1102 YES). On the other hand, when the event servicecorrespondence information list 509 is not empty (S1102 NO), the process shifts to S1103. In S1103, theinformation management server 102 acquires from the application information table 507 application information in which both the service type stored in the event servicecorrespondence information list 509 and the printer ID notified at the event match. Then, theinformation management server 102 stores all the matched application information in theapplication information list 510 on theRAM 403.
  申込み情報リスト510が空である場合(S1104  YES)、情報管理サーバ102は処理を終了する。申込み情報リスト510が空でない場合(S1104  NO)、情報管理サーバ102は、申込み情報リスト510に記憶されている各申込み情報に対して、S1105〜S1110の処理を行う。  When theapplication information list 510 is empty (S1104 YES), theinformation management server 102 ends the process. When theapplication information list 510 is not empty (S1104 NO), theinformation management server 102 performs the processes of S1105 to S1110 for each application information stored in theapplication information list 510.
  まずS1105にて情報管理サーバ102は、申込み情報リスト510の先頭要素を、申込み情報の一時領域である一時申込み情報領域に記憶する。次にS1106にて情報管理サーバ102は、一時申込み情報領域に記憶されている申込み情報のアクティベート状態情報が“有効”かどうかを判断する。アクティベート状態情報が“無効”であれば(S1106  NO)、処理はS1109に移行する。アクティベート状態情報が“有効”であれば(S1106  YES)、S1107にて情報管理サーバ102は、サービス提供依頼条件を満たしているかどうかを判断する。ここで、サービス提供依頼条件とは、情報管理サーバ102が、サービス種別ごとに設けている、サービスの提供を依頼するかどうかを判断するための条件である。例えば、サービス種別“カートリッジ自動配送”では、MFP101からのイベント“トナーLOW”の受信がサービス提供依頼条件となる。つまり、MFP101からイベント“トナーLOW”を受信しただけで、情報管理サーバ102は、MFP101のトナーが無くなったと判断し、カートリッジ自動配送のサービス提供を依頼する。一方、サービス種別“故障診断”では、同一のプリンタIDのMFP101から、イベント“トナー交換”を受信してから例えば1時間といった所定時間以内にイベント“トナーLOW”を受信した場合に、サービス提供依頼条件が満たされたと判断される。つまり、イベント“トナー交換”を受信してから所定時間以内に、イベント“トナーLOW”受信した場合に、情報管理サーバ102は、MFP101が故障したと判断し、故障診断のサービス提供を依頼する。サービス提供依頼条件を満たしていると判断した場合(S1107  YES)、S1108にて情報管理サーバ102は、一時申込み情報領域に記憶されている申込み情報が示す契約先サーバに対して、通信I/F405を介して、サービスを依頼する。サービス提供依頼条件を満たしていないと判断した場合(S1107  NO)、処理はS1109に移行する。  First, in S1105, theinformation management server 102 stores the first element of theapplication information list 510 in the temporary application information area, which is a temporary area of the application information. Next, in S1106, theinformation management server 102 determines whether or not the activation status information of the application information stored in the temporary application information area is "valid". If the activation status information is "invalid" (S1106 NO), the process proceeds to S1109. If the activation status information is "valid" (S1106 YES), theinformation management server 102 determines in S1107 whether or not the service provision request condition is satisfied. Here, the service provision request condition is a condition provided by theinformation management server 102 for each service type for determining whether or not to request the provision of the service. For example, in the service type "automatic cartridge delivery", reception of the event "toner LOW" from theMFP 101 is a service provision request condition. That is, only by receiving the event "toner LOW" from theMFP 101, theinformation management server 102 determines that the toner of theMFP 101 has run out, and requests the provision of the cartridge automatic delivery service. On the other hand, in the service type "fault diagnosis", when the event "toner LOW" is received within a predetermined time such as one hour after receiving the event "toner replacement" from theMFP 101 of the same printer ID, the service provision request is made. It is judged that the conditions have been met. That is, if the event "Toner LOW" is received within a predetermined time after receiving the event "Toner replacement", theinformation management server 102 determines that theMFP 101 has failed and requests the provision of a failure diagnosis service. If it is determined that the service provision request condition is satisfied (S1107 YES), theinformation management server 102 in S1108 communicates with the contracted server indicated by the application information stored in the temporary application information area. Request service via. If it is determined that the service provision request condition is not satisfied (S1107 NO), the process shifts to S1109.
  S1109にて情報管理サーバ102は、申込み情報リスト510に次要素が存在するかどうかを判断する。次要素が存在する場合(S1109  NO)、S1110にて情報管理サーバ102は、申込み情報リスト510の次要素を一時申込み情報領域に記憶しS1106の処理に戻る。これにより、次要素に対してS1106〜S1109の処理が実行される。次要素が存在しなければ(S1109  YES)、処理は終了する。  In S1109, theinformation management server 102 determines whether or not the next element exists in theapplication information list 510. When the next element exists (S1109 NO), theinformation management server 102 stores the next element of theapplication information list 510 in the temporary application information area in S1110, and returns to the process of S1106. As a result, the processes S1106 to S1109 are executed for the next element. If the next element does not exist (S1109 YES), the process ends.
  ここで、情報管理サーバ102が、イベント“トナー交換”、プリンタID“123456789”というイベントを受信してから2週間後に、イベント“トナーLOW”、プリンタID“123456789”というイベントを受信したと仮定する。以下では、そのときに実行される図11に示す各処理について説明する。  Here, it is assumed that theinformation management server 102 receives the event "toner LOW" and the printer ID "123456789" two weeks after receiving the event "toner exchange" and the printer ID "123456789". .. Hereinafter, each process shown in FIG. 11 executed at that time will be described.
  まずS1101にて情報管理サーバ102は、イベントサービス対応テーブル508からイベント“トナーLOW”に対応するサービス種別“カートリッジ自動配送”、“故障診断”をRAM403上のイベントサービス対応情報リスト509に記憶する。  First, in S1101, theinformation management server 102 stores the service types "cartridge automatic delivery" and "fault diagnosis" corresponding to the event "toner LOW" from the event service correspondence table 508 in the event servicecorrespondence information list 509 on theRAM 403.
  イベントサービス対応情報リスト509は空ではないので(S1102  NO)、処理はS1103に移行する。S1103にて情報管理サーバ102は、申込み情報テーブル507から、プリンタID“123456789”と、サービス種別“カートリッジ自動配送”、“故障診断”とに対応する申込み情報を取得する。ここでは、プリンタID“123456789”、アクティベート状態“有効”、サービス種別“カートリッジ自動配送”、申込みID“abc123”、契約先サーバ“AAA”からなる申込み情報(以降、申込み情報#1と記す)が取得される。また、プリンタID“123456789”、アクティベート状態“有効”、サービス種別“故障診断”、申込みID“zzz999”、契約先サーバ“DDD”からなる申込み情報(以降、申込み情報#2と記す)が取得される。そして、情報管理サーバ102は、取得した申込み情報#1,#2を申込み情報リスト510に記憶する。  Since the event servicecorrespondence information list 509 is not empty (S1102 NO), the process shifts to S1103. In S1103, theinformation management server 102 acquires the application information corresponding to the printer ID "123456789" and the service types "cartridge automatic delivery" and "fault diagnosis" from the application information table 507. Here, the application information (hereinafter referred to as application information # 1) consisting of the printer ID "123456789", the activation status "valid", the service type "cartridge automatic delivery", the application ID "abc123", and the contract server "AAA" To be acquired. In addition, application information (hereinafter referred to as application information # 2) consisting of printer ID "123456789", activation status "valid", service type "fault diagnosis", application ID "zzz999", and contract server "DDD" is acquired. To. Then, theinformation management server 102 stores the acquiredapplication information # 1 and # 2 in theapplication information list 510.
  申込み情報リスト510は空ではないので(S1104  NO)、S1105にて情報管理サーバ102は、申込み情報リスト510の先頭要素である申込み情報#1を一時申込み情報領域に記憶する。申込み情報#1のアクティベート状態情報は“有効”であり(S1106  YES)、かつ、イベント“トナーLOW”が受信されていてサービス種別“カートリッジ自動配送”のサービス提供依頼条件が満たされている(S1107  YES)。よって、処理はS1008に進む。S1008にて情報管理サーバ102は、契約先サーバ“AAA”である契約先サーバ103aに、プリンタID“123456789”に対するサービスの提供を依頼する。その後、S1009にて情報管理サーバ102は、申込み情報リスト510の次要素が存在するかどうかを判断する。  Since theapplication information list 510 is not empty (S1104 NO), theinformation management server 102 stores theapplication information # 1, which is the first element of theapplication information list 510, in the temporary application information area in S1105. The activation status information of theapplication information # 1 is "valid" (S1106 YES), the event "toner LOW" has been received, and the service provision request condition of the service type "cartridge automatic delivery" is satisfied (S1107). YES). Therefore, the process proceeds to S1008. In S1008, theinformation management server 102 requests thecontractor server 103a, which is the contractor server "AAA", to provide the service for the printer ID "123456789". After that, in S1009, theinformation management server 102 determines whether or not the next element of theapplication information list 510 exists.
  申込み情報リスト510に次要素が存在するため(S1109  NO)、S1110にて情報管理サーバ102は、申込み情報リスト510の次要素である申込み情報#2を一時申込み情報領域に記憶して、S1006の処理に移行する。申込み情報#2のサービスは“有効”であるが(S1106  YES)、イベント“トナー交換”を受信してから1時間以内にイベント“トナーLOW”が受信されていない。よって、サービス種別“故障診断”のサービス提供依頼条件が満たされていないため(S1107  NO)、処理はS1009に移行する。申込み情報リスト510に次要素が存在しないため(S1109  YES)、処理は終了する。  Since the next element exists in the application information list 510 (S1109 NO), theinformation management server 102 in S1110 stores the application information # 2, which is the next element of theapplication information list 510, in the temporary application information area, and in S1006. Move to processing. The service of application information # 2 is "valid" (S1106 YES), but the event "toner LOW" has not been received within 1 hour after receiving the event "toner exchange". Therefore, since the service provision request condition of the service type "fault diagnosis" is not satisfied (S1107 NO), the process shifts to S1009. Since the next element does not exist in the application information list 510 (S1109 YES), the process ends.
  図12は、第1実施形態における重複不可能サービス種別テーブル307の一例を示す図である。重複不可能サービス種別テーブル307は、MFP101の記憶制御部303によってストレージ204に保存される。重複不可能サービス種別テーブル307は、情報管理サーバ102がサポートしているサービスの中で重複不可能な組み合わせが、サービス種別#1とサービス種別#2というサービス種別の組で表現されている。このように、重複不可能サービス種別テーブル307は、重複して受けることができないサービスの種別の組み合わせを示す情報を記憶する。図12に示す例は、“カートリッジ自動配送”、“電力管理”、及び“故障診断”という3種類のサービスについては、同一のサービス種別を重複して受けることができないことを表している。したがって、MFP101のユーザは、それらのサービスとサービス種別が同一である他のサービスを重複して受けることができない。一方、サービス種別が異なる他のサービスについては重複して受けることが可能である。  FIG. 12 is a diagram showing an example of the non-overlapping service type table 307 in the first embodiment. The non-duplicate service type table 307 is stored in thestorage 204 by thestorage control unit 303 of theMFP 101. In the non-duplicate service type table 307, the non-duplicate combinations of the services supported by theinformation management server 102 are represented by the service type pairs ofservice type # 1 and service type # 2. In this way, the non-duplicate service type table 307 stores information indicating a combination of service types that cannot be received in duplicate. The example shown in FIG. 12 shows that the same service type cannot be received twice for the three types of services of "cartridge automatic delivery", "power management", and "fault diagnosis". Therefore, the user of theMFP 101 cannot receive the service and other services having the same service type in duplicate. On the other hand, it is possible to receive duplicate services for other services with different service types.
  重複不可能サービス種別テーブル307は、新しいサービス種別が増えた場合などには更新される。例えば“用紙自動配送”といった新しいサービス種別が増えた場合には、重複不可能サービス種別テーブル307に新しいサービス種別を追加して、重複不可能サービス種別テーブル307を更新する必要がある。また例えば、あるサービス種別が細分化されると、細分化されたサービス種別のそれぞれで重複不可能サービス種別テーブル307を更新する必要がある。細分化の一例として、サービス種別“カートリッジ自動配送”を細分化した、“黒カートリッジ自動配送”、“シアンカートリッジ自動配送”、“マゼンタカートリッジ自動配送”、“イエローカートリッジ自動配送”がある。  The non-duplicate service type table 307 is updated when a new service type is added. For example, when a new service type such as "automatic paper delivery" increases, it is necessary to add a new service type to the non-duplicate service type table 307 and update the non-duplicate service type table 307. Further, for example, when a certain service type is subdivided, it is necessary to update the non-duplicate service type table 307 for each of the subdivided service types. As an example of subdivision, there are "black cartridge automatic delivery", "cyan cartridge automatic delivery", "magenta cartridge automatic delivery", and "yellow cartridge automatic delivery", which are subdivided service types "cartridge automatic delivery".
  重複不可能サービス種別テーブル307を更新する必要がある場合には、例えば、情報管理サーバ102は、更新前後における重複不可能サービス種別テーブル307の差分データをMFP101に送信する。更新前後における重複不可能サービス種別テーブル307とは、具体的には、MFP101が保持している重複不可能サービス種別テーブル307と、更新により生成される新規の重複不可能サービス種別テーブル307である。MFP101は、その差分データをもとに重複不可能サービス種別テーブル307を更新する。本実施形態では、後述するように、サービスをアクティベートする際に、すなわち図8に示す登録シーケンスの中で重複不可能サービス種別テーブル307の更新シーケンスが行われるものとする。  When it is necessary to update the non-duplicate service type table 307, for example, theinformation management server 102 transmits the difference data of the non-duplicate service type table 307 before and after the update to theMFP 101. The non-duplicate service type table 307 before and after the update is specifically a non-duplicate service type table 307 held by theMFP 101 and a new non-duplicate service type table 307 generated by the update. TheMFP 101 updates the non-duplicate service type table 307 based on the difference data. In the present embodiment, as will be described later, when the service is activated, that is, the update sequence of the non-duplicate service type table 307 is performed in the registration sequence shown in FIG.
  図13は、重複不可能サービス種別テーブル307の更新シーケンスの一例を示す図である。重複不可能サービス種別テーブル307のバージョンは、MFP101によってROM202に記憶され、また情報管理サーバ102によってROM402に記憶されているものとする。なお、図13に示すS801〜S804,S805〜S811の処理は、図8に示す処理と同様であるため説明を省略する。  FIG. 13 is a diagram showing an example of an update sequence of the non-duplicate service type table 307. It is assumed that the version of the non-duplicate service type table 307 is stored in theROM 202 by theMFP 101 and stored in theROM 402 by theinformation management server 102. Since the processes of S801 to S804 and S805 to S811 shown in FIG. 13 are the same as the processes shown in FIG. 8, the description thereof will be omitted.
  S804の後、S1301にてMFP101は、情報管理サーバ102に対して、重複不可能サービス種別テーブル307のバージョンを通知する。情報管理サーバ102は、S1301で通知されたバージョンと、ROM402に記憶されているバージョンとを比較する。そして、それぞれのバージョンが異なっていれば、S1302にて情報管理サーバ102は、サービス種別#1と、サービス種別#2と、差分種別とを含む差分データをMFP101に通知する。差分種別については後述する。それぞれのバージョン(版)が異なっていなければ、S1302にて情報管理サーバ102は、空の差分データをMFP101に通知する。MFP101は、情報管理サーバ102から差分データを受けると、差分データをもとにして重複不可能サービス種別テーブル307に対して項目の追加や削除を行う。例えば、サービス種別#1“電力管理”、サービス種別#2“故障診断”、及び差分種別“追加”から成る差分データを受け付けた場合、MFP101は、図12に示す重複不可能サービス種別テーブル307を図14(a)に示される状態に書き換える。また、サービス種別#1“故障診断”、サービス種別#2“故障診断”、及び差分種別“削除”から成る差分データを受け付けた場合には、MFP101は、重複不可能サービス種別テーブル307を、図14(b)に示される状態に書き換える。  After S804, in S1301, theMFP 101 notifies theinformation management server 102 of the version of the non-duplicate service type table 307. Theinformation management server 102 compares the version notified in S1301 with the version stored in theROM 402. Then, if the versions are different, theinformation management server 102 notifies theMFP 101 of the difference data including theservice type # 1, the service type # 2, and the difference type in S1302. The difference type will be described later. If the versions are not different, theinformation management server 102 notifies theMFP 101 of empty difference data in S1302. When theMFP 101 receives the difference data from theinformation management server 102, theMFP 101 adds or deletes items to the non-duplicate service type table 307 based on the difference data. For example, when the difference data including theservice type # 1 “power management”, the service type # 2 “fault diagnosis”, and the difference type “addition” is received, theMFP 101 displays the non-overlapping service type table 307 shown in FIG. Rewrite to the state shown in FIG. 14 (a). Further, when the difference data including theservice type # 1 “fault diagnosis”, the service type # 2 “fault diagnosis”, and the difference type “deletion” is received, theMFP 101 displays the non-duplicate service type table 307 in FIG. Rewrite to the state shown in 14 (b).
  図15は、重複サービス判定処理のフローチャートである。MFP101の重複サービス有効設定制御部304は、サービス設定テーブル308に重複不可能なサービス種別の組み合わせが存在している場合、図15に示す重複サービス判定処理を実行して、ユーザに利用するサービスを選択させる。  FIG. 15 is a flowchart of the duplicate service determination process. When the duplicate service validsetting control unit 304 of theMFP 101 has a combination of service types that cannot be duplicated in the service setting table 308, the duplicate service validsetting control unit 304 executes the duplicate service determination process shown in FIG. 15 to provide the service to be used by the user. Let me choose.
  まず、S1501にてMFP101は、重複不可能サービス種別テーブル307をもとに、サービス設定テーブル308に含まれるサービスの中で他のサービスと重複不可能なサービスを特定する。そして、MFP101は、特定したサービスについて、申込みID、契約先名、及びサービス種別からなる重複サービス情報を生成する。ここでは、重複サービス情報“abc123”、“A社”、“カートリッジ自動配送”と、重複サービス情報“abc123”、“C社”、“カートリッジ自動配送”とが生成される。そして、MFP101は、生成された重複サービス情報を重複不可能なサービスの組み合わせごとに格納したリスト(重複不可能サービス組み合わせリスト)310をRAM203上に記憶する。以降では、重複不可能サービス組み合わせリスト310内の各要素を、組み合わせ情報と呼ぶ。  First, in S1501, theMFP 101 identifies a service that cannot be duplicated with other services among the services included in the service setting table 308 based on the non-duplicate service type table 307. Then, theMFP 101 generates duplicate service information including an application ID, a contractor name, and a service type for the specified service. Here, duplicate service information "abc123", "Company A", "cartridge automatic delivery" and duplicate service information "abc123", "company C", "cartridge automatic delivery" are generated. Then, theMFP 101 stores in the RAM 203 a list (non-duplicate service combination list) 310 that stores the generated duplicate service information for each non-duplicate service combination. Hereinafter, each element in the non-duplicateservice combination list 310 is referred to as combination information.
  重複不可能サービス組み合わせリスト310が空である場合(S1502  YES)、処理は終了する。一方、重複不可能サービス組み合わせリスト310が空でない場合(S1502  NO)、S1503にてMFP101は、RAM203上の組み合わせ情報一時領域に、重複不可能サービス組み合わせリスト310の先頭の要素(組み合わせ情報)を記憶する。そして、S1504にてMFP101のUI制御部302は、組み合わせ情報一時領域に記憶された組み合わせ情報をもとに、図16に示すユーザインタフェース画面(重複サービス選択画面)を操作部208に表示する。図16に示すように、重複サービス選択画面1601は、サービス選択ボタン1602a,1602bと戻るボタン1603とを含む。サービス選択ボタン1602a,1602b上には、組み合わせ情報一時領域に記憶された組み合わせ情報の内容が表示される。本実施形態では、図16に示すようにサービス種別と契約先名とが表示される。そして、ユーザがサービス選択ボタン1602a,1602bのいずれかを押下すると、押下されたボタンに対応するサービスが選択される。戻るボタン1603を押下すると、操作部208の画面が、重複サービス選択画面に遷移する前の画面に遷移する。このようにして、ユーザに利用するサービスを選択させることができる。ユーザが重複サービス選択画面1601で利用したいサービスを選択すると、MFP101は、選択したサービスに対応する重複サービス情報を有効重複サービス情報として以降の処理に用いる。  When the non-duplicateservice combination list 310 is empty (S1502 YES), the process ends. On the other hand, when the non-duplicateservice combination list 310 is not empty (S1502 NO), in S1503, theMFP 101 stores the first element (combination information) of the non-duplicateservice combination list 310 in the combination information temporary area on theRAM 203. To do. Then, in S1504, theUI control unit 302 of theMFP 101 displays the user interface screen (duplicate service selection screen) shown in FIG. 16 on theoperation unit 208 based on the combination information stored in the combination information temporary area. As shown in FIG. 16, the duplicateservice selection screen 1601 includesservice selection buttons 1602a and 1602b and aback button 1603. The contents of the combination information stored in the combination information temporary area are displayed on theservice selection buttons 1602a and 1602b. In this embodiment, the service type and the contractor name are displayed as shown in FIG. Then, when the user presses any of theservice selection buttons 1602a and 1602b, the service corresponding to the pressed button is selected. When theback button 1603 is pressed, the screen of theoperation unit 208 transitions to the screen before transitioning to the duplicate service selection screen. In this way, the user can be made to select the service to be used. When the user selects a service to be used on the duplicateservice selection screen 1601, theMFP 101 uses the duplicate service information corresponding to the selected service as valid duplicate service information in the subsequent processing.
  S1505においてMFP101は、サービス設定テーブル308の、有効重複サービス情報に記憶されている申込みIDに対応するサービス有効設定を有効にする。また、サービス設定テーブル308の、組み合わせ情報一時領域に記憶された組み合わせ情報のうち、有効重複サービス情報以外の重複サービス情報に記憶されているサービス有効設定を無効にする。ここでは、ユーザがサービス選択ボタン1602bを押下したとする。したがって、サービス設定テーブル308の、申込みID“xyz321”に対応するサービス有効設定が“有効”になり、申込みID“abc123”に対応するサービス有効設定が“無効”になる。図17は、第1実施形態における重複サービス選択処理終了後のサービス設定テーブル308の例を示す図である。なお、サービス有効設定を有効または無効に切り替える方法は上記の方法に限らず、その他の方法で切り替えるようにしても良い。  In S1505, theMFP 101 enables the service valid setting corresponding to the application ID stored in the valid duplicate service information in the service setting table 308. Further, among the combination information stored in the combination information temporary area of the service setting table 308, the service valid setting stored in the duplicate service information other than the valid duplicate service information is invalidated. Here, it is assumed that the user presses theservice selection button 1602b. Therefore, the service valid setting corresponding to the application ID "xyz321" in the service setting table 308 becomes "valid", and the service valid setting corresponding to the application ID "abc123" becomes "invalid". FIG. 17 is a diagram showing an example of the service setting table 308 after the completion of the duplicate service selection process in the first embodiment. The method of switching the service enable setting to enable or disable is not limited to the above method, and may be switched by another method.
  重複不可能サービス組み合わせリスト310の次の要素が存在しなければ(S1506  NO)、処理は終了する。重複不可能サービス組み合わせリスト310の次要素が存在すれば(S1506  YES)、S1507にてMFP101は、RAM203上の組み合わせ情報一時領域に重複不可能サービス組み合わせリスト310の次要素を記憶する。そして、MFP101は、次要素に対してS1504からの処理を行う。  If the next element of the non-duplicateservice combination list 310 does not exist (S1506 NO), the process ends. If the next element of the non-duplicateservice combination list 310 exists (S1506 YES), theMFP 101 stores the next element of the non-duplicateservice combination list 310 in the combination information temporary area on theRAM 203 in S1507. Then, theMFP 101 performs the processing from S1504 on the next element.
  以上のように、本実施形態によれば、MFP101に対して同種のサービスを重複して利用することを防ぐことが可能となる。また、サービス提供元をユーザ(画像形成装置の管理者等)が容易に切り替えることができる。また、切り替え前のサービス提供元との契約を解約することなく、該契約を維持したままサービス提供元を切り替えることができるので、切り替えの前後においてサービスが提供されない空白期間が発生しない。さらに、切り替え前のサービス提供元との契約が維持されるので、該サービス提供元からのサービスを再度受けようとした場合に再契約を行う必要がない。  As described above, according to the present embodiment, it is possible to prevent duplicate use of the same type of service for theMFP 101. Further, the service provider can be easily switched by the user (administrator of the image forming apparatus, etc.). Further, since the service provider can be switched while maintaining the contract without canceling the contract with the service provider before the switch, a blank period in which the service is not provided does not occur before and after the switch. Furthermore, since the contract with the service provider before switching is maintained, it is not necessary to re-contract when trying to receive the service from the service provider again.
(その他の実施形態)
  本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。(Other embodiments)
 The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.