JP5701151B2 - Device, control method, and program. - Google Patents

Device, control method, and program. Download PDF

Info

Publication number
JP5701151B2
JP5701151B2 JP2011118140A JP2011118140A JP5701151B2 JP 5701151 B2 JP5701151 B2 JP 5701151B2 JP 2011118140 A JP2011118140 A JP 2011118140A JP 2011118140 A JP2011118140 A JP 2011118140A JP 5701151 B2 JP5701151 B2 JP 5701151B2
Authority
JP
Japan
Prior art keywords
license
memory
held
history
fram
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.)
Expired - Fee Related
Application number
JP2011118140A
Other languages
Japanese (ja)
Other versions
JP2012247925A (en
Inventor
速水 祥和
祥和 速水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2011118140A priority Critical patent/JP5701151B2/en
Publication of JP2012247925A publication Critical patent/JP2012247925A/en
Application granted granted Critical
Publication of JP5701151B2 publication Critical patent/JP5701151B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、ライセンス履歴を管理する装置、制御方法、およびプログラムに関する。   The present invention relates to an apparatus for managing a license history, a control method, and a program.

ネットワーク接続され、ライセンス付きアプリケーションがインストール可能な機器がある。このアプリケーションインストール時に、強誘電体メモリ(FRAM=Ferroelectric Random Access Memory)、ハードディスクドライブ/フラッシュメモリなどの複数の不揮発性領域にライセンス履歴を記憶する。このようにライセンス履歴を二重に管理することにより、一方のメモリから情報が削除されても、他方のメモリから情報を復帰させることが可能となる。例えば、ハードディスクドライブの故障により、ハードディスクを交換する必要がある時、FRAMに記憶されているライセンス履歴からハードディスクにライセンス履歴を書き戻すことが可能である。これにより正しいライセンス履歴を利用したライセンス管理が可能となり、正当な権限なきライセンスの利用を防止することが可能となる。以降、このライセンス履歴を書き戻す処理をライセンス履歴復帰処理と呼ぶ。このようなバックアップ方法を実行する装置が、特許文献1に開示されている。管理領域と実データ領域を物理的に分離して配置する構成を採るファイルシステムにおいて、一方が故障したなどの理由で交換された場合に、ファイルシステムの不整合を防止することを目的とした装置である。   There are devices connected to the network that can install licensed applications. When the application is installed, the license history is stored in a plurality of nonvolatile areas such as a ferroelectric memory (FRAM = Ferroelectric Random Access Memory) and a hard disk drive / flash memory. In this way, by managing the license history twice, even if information is deleted from one memory, it is possible to restore the information from the other memory. For example, when the hard disk needs to be replaced due to a failure of the hard disk drive, the license history can be written back to the hard disk from the license history stored in the FRAM. This makes it possible to manage the license using the correct license history, and to prevent the use of a license without a legitimate authority. Hereinafter, the process of writing back the license history is referred to as a license history return process. An apparatus for executing such a backup method is disclosed in Patent Document 1. In a file system that has a configuration in which the management area and the actual data area are physically separated and arranged, if one of them is replaced due to a failure, etc., an apparatus intended to prevent inconsistencies in the file system It is.

特開2006−222581JP 2006-222581 A

特許文献1の場合、ファイルシステムの管理領域を高速な不揮発性メモリ装置上に配置し、実データをストレージ装置に格納するような構成である。あくまでファイルシステム上の不整合を防止することを目的としているのであって、ライセンス履歴などの実データに相当するデータの復帰処理を想定しているわけではない。よって、ライセンス履歴が不適切のため、適正なライセンスが使用できない可能性が高い。
本発明は、ライセンス履歴の整合性を保つためのライセンス履歴復帰処理を実施する装置を提供することをひとつの目的とする。
In the case of Patent Document 1, the management area of the file system is arranged on a high-speed nonvolatile memory device, and the actual data is stored in the storage device. It is intended only to prevent inconsistencies on the file system, and does not assume a data restoration process corresponding to actual data such as a license history. Therefore, there is a high possibility that an appropriate license cannot be used because the license history is inappropriate.
An object of the present invention is to provide an apparatus that performs a license history restoration process for maintaining the consistency of license histories.

本発明の一実施系に係る装置は、ライセンスを使用することで利用可能となるアプリケーションを保持可能な装置であって、前記アプリケーションがライセンスを使用することで利用可能となった場合、前記ライセンスを識別するためのライセンスIDを保持する第1のメモリと、前記第1のメモリに保持されたライセンスIDのバックアップを行うため、前記ライセンスIDを保持する第2のメモリと、前記第2のメモリに保持された、装置を識別するための装置IDと、前記装置に割り当てられた装置IDとが一致する場合、第1のメモリに保持されたライセンスIDを前記第2のメモリに保持させ、一致しない場合、前記第2のメモリに既に保持されているライセンスIDを消去した後に、第1のメモリに保持されたライセンスIDを前記第2のメモリに保持させるよう制御することを特徴とする。   An apparatus according to an embodiment of the present invention is an apparatus that can hold an application that can be used by using a license, and when the application can be used by using a license, the license is A first memory holding a license ID for identification, a second memory holding the license ID for backing up the license ID held in the first memory, and a second memory If the held device ID for identifying the device matches the device ID assigned to the device, the license ID held in the first memory is held in the second memory and does not match In this case, after erasing the license ID already held in the second memory, the license ID held in the first memory is changed to And controlling so as to hold the serial second memory.

本発明はライセンス履歴などの実データに相当するデータの復帰処理を想定した発明であり、ライセンス履歴の整合性を保つためのライセンス履歴復帰処理を実施することで、適切なライセンスが利用できない状態を防止することが可能になる。   The present invention is an invention assuming restoration processing of data corresponding to actual data such as license history. By executing the license history restoration processing for maintaining the consistency of the license history, an appropriate license cannot be used. It becomes possible to prevent.

本発明における、画像形成システムの全体構成を示す図である。1 is a diagram illustrating an overall configuration of an image forming system in the present invention. 本発明における、画像形成装置の全体構成を示す図である。1 is a diagram illustrating an overall configuration of an image forming apparatus according to the present invention. ライセンス管理におけるソフトウェアとハードウェア構成を示す図である。It is a figure which shows the software and hardware constitutions in license management. ライセンス管理におけるライセンスインストール処理のフローを示す図である。It is a figure which shows the flow of the license installation process in license management. フラッシュメモリからFRAMにライセンス履歴を復帰させることを示すブロック図である。It is a block diagram which shows returning a license log | history from flash memory to FRAM. FRAMからフラッシュメモリにライセンス履歴を復帰させることを示すブロック図である。It is a block diagram which shows returning a license log | history from FRAM to flash memory. ライセンス管理におけるライセンス履歴復帰処理のフローを示す図である。It is a figure which shows the flow of the license log | history return process in license management. 中古ボードがきたときの、ライセンス履歴を復帰させることを示すブロック図である。It is a block diagram which shows returning a license history when a used board comes. 中古ボードがきたときの、ライセンス履歴を復帰させることを示すブロック図である。It is a block diagram which shows returning a license history when a used board comes. 中古ボードがくることを想定した、ライセンス履歴復帰処理のフローを示す図である。It is a figure which shows the flow of the license log | history return process supposing that a used board comes. シリアル番号が特殊な番号で取得できるケースを示す図である。It is a figure which shows the case where a serial number can be acquired with a special number. 図11における特別なシリアル番号が取得できた場合のことを考慮した、ライセンス履歴復帰処理のフローを示す図である。It is a figure which shows the flow of the license log | history return process in consideration of the case where the special serial number in FIG. 11 was able to be acquired.

従来のライセンス履歴復帰処理は、ハードディスクなどの故障により、新品への交換を想定していた。これは、通常ハードディスクなどにはセキュリティの為の暗号化処理が施されており、一度他のデバイスで使用されたことがある中古のハードディスクをそのまま他のデバイスに取り付けるということが考えにくいという理由のためである。ところが、プリンタ(SFP)のような安価な機種の場合、ハードディスクの代わりに本体ボードにフラッシュメモリという不揮発性メモリを用いたハードウェア構成になることがある。このとき、サービスマンによるサービスとして、ユーザ先でプリンタに何か問題が起きた時、現象を確認するために、とりあえず他の現場で一度使用されたことがある中古の本体ボードをプリンタに組み込む。そして、中古ボードでテストを行い、プリンタを正常に戻すための対応方法を考えるという場合がある。   Conventional license history restoration processing assumes replacement with a new one due to a failure of a hard disk or the like. This is because hard disks are usually encrypted for security, and it is difficult to think of attaching a used hard disk that has been used by another device to another device. Because. However, in the case of an inexpensive model such as a printer (SFP), a hardware configuration using a nonvolatile memory such as a flash memory on the main body board instead of the hard disk may be used. At this time, as a service by a service person, when a problem occurs in the printer at the user's site, a used main body board that has been used once at another site is incorporated into the printer in order to confirm the phenomenon. Then, there are cases where a test is performed on a used board and a countermeasure for returning the printer to a normal state is considered.

このとき、上述の中古の本体ボードは上述のプリンタとは異なる顧客環境で利用されている場合があり、その中古の本体ボードに付随するフラッシュメモリに、その異なる顧客環境のプリンタで使用されていたアプリケーションのライセンス履歴が残っている可能性が考えられる。このようなケースの場合、ライセンス履歴復帰処理において、中古の本体ボードに残っていたライセンス履歴が、正規のライセンス情報のように扱われ、その結果、使用していないライセンスがライセンス履歴に残る可能性があり、以下のような不利益を生じる可能性がある
容量的にFRAMに残せるライセンス履歴情報には上限がある中、ユーザが利用していないライセンス履歴情報によって、ライセンス履歴を無駄に消費することになる。
At this time, the above-mentioned used main body board may be used in a customer environment different from the above-mentioned printer, and the flash memory attached to the used main body board was used in the printer of the different customer environment. There is a possibility that the license history of the application remains. In such a case, in the license history recovery process, the license history that was left on the used main body board is treated like regular license information, and as a result, there is a possibility that unused licenses will remain in the license history. The license history information that can be left in the FRAM in terms of capacity has an upper limit, and the license history information that is not used by the user consumes license history wastefully. become.

また、ライセンス履歴の数によっては、本来FRAMからのライセンス履歴復帰処理が動作する必要がある場合でもその処理が実施されない可能性がある。この状態で、FRAM上のライセンス履歴情報がなんらかの理由でクリアされてしまうと、本来ユーザが利用したライセンス履歴が残らないことになる。   Further, depending on the number of license histories, there is a possibility that the license history restoration process from the FRAM is not performed even if it is necessary to operate. In this state, if the license history information on the FRAM is cleared for some reason, the license history originally used by the user does not remain.

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

図1は、本発明の実施形態における画像形成装置を含む印刷システムの全体構成を示すブロック図である。本発明の実施形態においては、画像形成装置として具体的に後述される機能をもつ、複写機やプリンタや複合機などを用いるものとする。   FIG. 1 is a block diagram showing the overall configuration of a printing system including an image forming apparatus according to an embodiment of the present invention. In the embodiment of the present invention, it is assumed that a copier, a printer, a multifunction peripheral, or the like having a function specifically described below is used as the image forming apparatus.

図1に示すように、画像形成装置110は、クライアントコンピュータ120、サーバコンピュータ130とともに、イーサネット(登録商標)などからなるLAN140に接続されている。ただし、本発明における印刷システムにおいては、システムに接続される機器はこれら接続数に限られることはない。   As shown in FIG. 1, the image forming apparatus 110 is connected to a LAN 140 including Ethernet (registered trademark) together with a client computer 120 and a server computer 130. However, in the printing system of the present invention, the number of devices connected to the system is not limited to the number of connections.

画像形成装置110は、コピー機能、ファクシミリ機能、電子メール送信機能を有するとともに、原稿画像を読み取り、該読み取って得られた画像データをLAN140上の各装置に送信するデータ送信機能を有する。画像形成装置110は、後述するスキャナ部112などで読み取った画像や、LAN140上に接続されているコンピュータから指示されたデータを、画像形成装置110内のハードディスク、もしくはフラッシュメモリ204の特定領域に保存することが可能である。また原稿画像を読み取り、ハードディスク/フラッシュメモリ204にデジタル画像として保存することも可能である。またハードディスク領域に保存されたデジタル画像を印刷することが可能である。   The image forming apparatus 110 has a copy function, a facsimile function, and an e-mail transmission function, and also has a data transmission function for reading a document image and transmitting image data obtained by the reading to each apparatus on the LAN 140. The image forming apparatus 110 stores an image read by the scanner unit 112 described later and data designated by a computer connected to the LAN 140 in a hard disk in the image forming apparatus 110 or a specific area of the flash memory 204. Is possible. It is also possible to read a document image and save it as a digital image in the hard disk / flash memory 204. It is also possible to print a digital image stored in the hard disk area.

画像形成装置110は、画像入力デバイスであるスキャナ部112、画像出力デバイスであるプリンタ部113、画像形成装置110全体の動作制御を司るコントローラ200などから構成される。   The image forming apparatus 110 includes a scanner unit 112 that is an image input device, a printer unit 113 that is an image output device, a controller 200 that controls operation of the entire image forming apparatus 110, and the like.

スキャナ部112は、原稿上の画像を露光走査して得られた反射光をCCDに入力することで画像の情報を電気信号に変換する。さらに電気信号をR,G,B各色からなる輝度信号に変換し、当該輝度信号を画像データとしてコントローラ200に対して出力する。なお、原稿は原稿フィーダにセットされる。ユーザが操作部111から読み取り開始を指示すると、コントローラ200からスキャナ部112に原稿読み取り指示が与えられる。スキャナ部112は、この指示を受けると原稿フィーダから原稿を1枚ずつフィードして、原稿の読み取り動作を行う。なお、原稿の読み取り方法は原稿フィーダによる自動送り方式ではなく、原稿を不図示のガラス面上に載せ、露光部を移動させることで原稿の走査を行う方法であってもよい。スキャナ部112はスキャンユニットに相当する。   The scanner unit 112 converts the image information into an electric signal by inputting reflected light obtained by exposing and scanning the image on the document to the CCD. Further, the electrical signal is converted into a luminance signal composed of R, G, and B colors, and the luminance signal is output to the controller 200 as image data. The document is set in the document feeder. When the user gives an instruction to start reading from the operation unit 111, a document reading instruction is given from the controller 200 to the scanner unit 112. Upon receiving this instruction, the scanner unit 112 feeds documents one by one from the document feeder and performs a document reading operation. The document reading method is not an automatic feeding method using a document feeder, but may be a method of scanning the document by placing the document on a glass surface (not shown) and moving the exposure unit. The scanner unit 112 corresponds to a scan unit.

プリンタ部113は、コントローラ200から受取った画像データを用紙上に形成する画像形成デバイスである。プリンタ部113はプリントユニットに相当する。実施例1における画像形成装置は、スキャナ部112、およびプリンタ部113のいずれも有しているが、一方のみ有する画像形成装置であっても良い。即ち、スキャナ部112、および/またはプリンタ部113を有する装置に対し、本発明は適用可能である。   The printer unit 113 is an image forming device that forms image data received from the controller 200 on a sheet. The printer unit 113 corresponds to a print unit. The image forming apparatus according to the first exemplary embodiment includes both the scanner unit 112 and the printer unit 113. However, the image forming apparatus may include only one of the scanner unit 112 and the printer unit 113. That is, the present invention can be applied to an apparatus having the scanner unit 112 and / or the printer unit 113.

サーバコンピュータ130は、オペレーティングシステム(以下OS)や各種のアプリケーションサービスプログラムがCPUにより実行され、OSの管理下で、アプリケーションサービスを実行することで種々のデータ処理を行う。クライアントコンピュータ120についても同様である。   In the server computer 130, an operating system (hereinafter referred to as OS) and various application service programs are executed by the CPU, and various data processing is performed by executing application services under the management of the OS. The same applies to the client computer 120.

図2は、画像形成装置110のコントローラ200の構成を説明するためのブロック図である。 コントローラ200はスキャナ部112やプリンタ部113と電気的に接続されており、一方ではLAN140を介してクライアントコンピュータ120やサーバコンピュータ130と接続されている。これにより画像データやデバイス情報の入出力が可能となっている。   FIG. 2 is a block diagram for explaining the configuration of the controller 200 of the image forming apparatus 110. The controller 200 is electrically connected to the scanner unit 112 and the printer unit 113, and on the other hand, is connected to the client computer 120 and the server computer 130 via the LAN 140. As a result, image data and device information can be input and output.

CPU201は、ROM202に記憶された制御プログラム等に基づいて接続中の各種デバイスとのアクセスを統括的に制御すると共に、コントローラ内部で行われる各種処理についても統括的に制御する。なお、画像形成装置110の装着された各種ユニットは交換可能である。   The CPU 201 comprehensively controls access to various connected devices based on a control program or the like stored in the ROM 202, and also comprehensively controls various processes performed in the controller. Note that the various units to which the image forming apparatus 110 is attached can be exchanged.

ROM202には装置のブートプログラムなどが格納されている。RAM203は、CPU201が動作するためのシステムワークメモリであり、かつ画像データを一時記憶するためのメモリでもある。このRAM203は、記憶した内容を電源off後も保持しておくFRAM、SRAM、電源off後には記憶した内容が消去されてしまうDRAMなどにより構成されている。   A ROM 202 stores a boot program for the apparatus. A RAM 203 is a system work memory for the operation of the CPU 201 and also a memory for temporarily storing image data. The RAM 203 is configured by an FRAM or SRAM that retains stored contents even after the power is turned off, a DRAM that erases the stored contents after the power is turned off, and the like.

HDD204は、システムソフトウェアや画像データを一時的、または半永久的に保持可能となっている。また、これはフラッシュメモリなどで代用することも可能である。操作部I/F205は、システムバス212と操作部111とを接続するためのインターフェース部である。この操作部I/F205は、操作部111に表示するための画像データをシステムバス212から受取り操作部111に出力すると共に、操作部111から入力された情報をシステムバス212へと出力する。   The HDD 204 can hold system software and image data temporarily or semipermanently. This can be replaced with a flash memory or the like. The operation unit I / F 205 is an interface unit for connecting the system bus 212 and the operation unit 111. The operation unit I / F 205 receives image data to be displayed on the operation unit 111 from the system bus 212 to the operation unit 111 and outputs information input from the operation unit 111 to the system bus 212.

ネットワークI/F206はLAN140及びシステムバス212に接続し、情報の入出力を行う。スキャナI/F208は、スキャナ部112から受取った画像データに対して、補正、加工、及び編集を行う。なお、スキャナI/F208は、受取った画像データがカラー原稿か白黒原稿か、文字原稿か写真原稿かなどを判定する。そして、その判定結果を画像データに付随させる。こうした付随情報を属性データと称する。   A network I / F 206 is connected to the LAN 140 and the system bus 212 to input / output information. A scanner I / F 208 corrects, processes, and edits image data received from the scanner unit 112. The scanner I / F 208 determines whether the received image data is a color document or a monochrome document, a character document, or a photo document. Then, the determination result is attached to the image data. Such accompanying information is referred to as attribute data.

画像形成部209は、画像データの方向変換、画像圧縮、伸張部などをおこなう。プリンタI/F210は、画像形成部209から送られた画像データを受取り、この画像データに付随させられている属性データを参照しながら画像データに画像形成を施す。画像形成後の画像データは、プリンタ部113に出力される。FAXI/F211は、画像形成部209から送られた画像データを、指定された送信先にFAX送信部114、及びLAN140(または、WAN250)を通じて送信される。   The image forming unit 209 performs image data direction conversion, image compression, decompression, and the like. The printer I / F 210 receives the image data sent from the image forming unit 209, and forms an image on the image data while referring to attribute data attached to the image data. The image data after the image formation is output to the printer unit 113. The FAX I / F 211 transmits the image data sent from the image forming unit 209 to the designated transmission destination via the FAX transmission unit 114 and the LAN 140 (or WAN 250).

電子メールI/F207は、画像形成部209から送られた画像データを、指定された送信先にメール送信部115及びLAN140(または、WAN250)を通じて送信される。なお、画像形成装置110に対するユーザ指示やユーザへの情報提示は、例えば、操作部111を介して行うようにしてもよいし、LAN140を介して接続されたクライアントコンピュータ120を介して行うようにしてもよい。   The e-mail I / F 207 transmits the image data sent from the image forming unit 209 to the designated transmission destination through the mail sending unit 115 and the LAN 140 (or WAN 250). The user instruction to the image forming apparatus 110 and information presentation to the user may be performed via the operation unit 111 or the client computer 120 connected via the LAN 140, for example. Also good.

図3は、ライセンス管理システムに関わるソフトウェア/ハードウェア構成とライセンス管理方法について述べる。ここで、ライセンスとは、デバイスにプリインストールされているアプリケーション、もしくは後入れのアプリケーションをアクティベートするためのものである。アクティベートすることで初めてアプリケーションは利用可能となる。画像形成装置110のような装置を一意に特定するための装置ID、即ち、識別番号(例えば、シリアル番号)を保持しているのがSoftID基板350であり、このSoftID基板350はハードウェアにより実現される。実施例1の場合、識別番号とはシリアル番号であり、図3はそのシリアル番号がAAAA1234567であることを示している。   FIG. 3 describes a software / hardware configuration and a license management method related to the license management system. Here, the license is for activating an application preinstalled in the device or a later application. The application can be used only after activation. A SoftID board 350 holds a device ID for uniquely identifying a device such as the image forming apparatus 110, that is, an identification number (for example, a serial number). The SoftID board 350 is realized by hardware. Is done. In the first embodiment, the identification number is a serial number, and FIG. 3 shows that the serial number is AAAA1234567.

FRAM300には、記憶保持領域にライセンス履歴310を記憶している。これは、後述するライセンスインストール時に利用される。履歴の内容は、ライセンスを一意に特定するライセンスIDの履歴である。本体ボード320には、不揮発性のフラッシュメモリ330が載っており、FRAM300に保持されているライセンス履歴310と同じ内容をライセンスファイル340として保持されている。   The FRAM 300 stores a license history 310 in a storage holding area. This is used at the time of license installation described later. The content of the history is a history of a license ID that uniquely identifies the license. The main body board 320 includes a non-volatile flash memory 330, and the same content as the license history 310 held in the FRAM 300 is held as a license file 340.

ここで、FRAM300は、第1のメモリであるRAM203に、フラッシュメモリ330は、第2のメモリであるHDD/フラッシュメモリ204に相当する。ライセンスファイル340は、このライセンスファイルが作成された時のデバイスの識別番号も併せて保持されている。このように、FRAMとフラッシュメモリに同じ内容を保持することにより、後述するそれぞれのパーツの交換が起きた時に、それぞれが互いが保持する情報をバックアップするため、情報を共有する機能が画像形成装置110には備わっている。ライセンスインストール処理部360は、図4で示すライセンスインストール、ライセンス履歴登録処理を実行するモジュールである。ライセンス履歴管理部370は、図7で示すライセンス履歴復帰処理を実行するモジュールである。これらライセンスインストール処理部360、ライセンス履歴管理部370は、図2におけるHDD/フラッシュメモリ204において保持され、その処理はメモリに展開され実行される。   Here, the FRAM 300 corresponds to the RAM 203 as the first memory, and the flash memory 330 corresponds to the HDD / flash memory 204 as the second memory. The license file 340 also holds a device identification number when the license file is created. In this way, by holding the same contents in the FRAM and the flash memory, when each part described later is exchanged, each of them backs up the information held by each other. 110 is provided. The license installation processing unit 360 is a module that executes the license installation and license history registration processing shown in FIG. The license history management unit 370 is a module that executes the license history return process shown in FIG. The license installation processing unit 360 and the license history management unit 370 are held in the HDD / flash memory 204 in FIG. 2, and the processing is expanded and executed in the memory.

図4においてライセンスインストール処理部360がライセンス付きアプリケーションのインストールするときの流れを示す。S400において、アプリケーションとライセンスのインストールが開始する。次に、S410で、ライセンスIDがライセンス履歴に存在するかどうかの重複チェックを行う。ライセンスIDとは、ライセンスに一意に振られた番号である。ライセンス履歴とは、アプリケーションとライセンスのインストールが成功したときに登録しているインストールに成功したライセンスIDの履歴を指す。FRAM300、及びフラッシュメモリ320において同じ内容のものが保持される。   FIG. 4 shows a flow when the license installation processing unit 360 installs a licensed application. In S400, installation of an application and a license starts. Next, in S410, a duplicate check is performed to determine whether the license ID exists in the license history. The license ID is a number uniquely assigned to the license. The license history refers to a history of license IDs that are registered successfully when the installation of the application and the license is successful. The same contents are held in the FRAM 300 and the flash memory 320.

このS410におけるチェックにおいて、ライセンスIDが重複しているということは、過去に同じライセンスをインストールした実績があることを示す。不正利用防止のため、一般的に1つのライセンスは1つのデバイスに1回しかインストールすることができないことが望ましい。よって、このチェックで重複があったときは、S440に進み、アプリケーション/ライセンスのインストールに失敗する。重複がないときは、S420に進み、アプリケーション/ライセンスのインストールを行う。インストール後、ライセンスIDの登録を行う。そして、S450においてインストールが完了する。   In the check in S410, that the license ID is duplicated indicates that there is a track record of installing the same license in the past. In order to prevent unauthorized use, it is generally desirable that one license can be installed only once on one device. Therefore, if there is an overlap in this check, the process proceeds to S440, and the application / license installation fails. If there is no duplication, the process proceeds to S420 to install an application / license. After installation, the license ID is registered. Then, the installation is completed in S450.

<新品のFRAM/フラッシュメモリへの交換>
図5、6においてはFRAM/フラッシュメモリのパーツが新品に交換されるときのライセンス履歴復帰処理について説明する。
<Replacement with new FRAM / flash memory>
5 and 6, the license history restoration process when the FRAM / flash memory part is replaced with a new one will be described.

図5は、FRAMが交換されるときの復帰処理のブロック図である。デバイスの状態550は、図3で示したライセンス履歴の状態と同じである。デバイスのシリアル番号はAAAA1234567であり、ライセンス履歴310とライセンスファイル340は、uuid1とuuid2の2つのライセンス履歴を含む。この状態から新品のFRAMに交換され(FRAM交換500の動作に相当する)、デバイスの状態が状態560に遷移するときのことを考える。このとき、FRAM300は新品のFRAM510に交換される。新品のFRAM510に交換された状態でデバイスが起動すると、ライセンス履歴管理部370は、FRAM510に保持されているライセンス履歴520と、フラッシュメモリ330に保持されているライセンスファイル340のライセンス履歴と、を比較する。   FIG. 5 is a block diagram of return processing when the FRAM is replaced. The device state 550 is the same as the license history state shown in FIG. The serial number of the device is AAA1234567, and the license history 310 and the license file 340 include two license histories, uuid1 and uuid2. Consider a case where the state is changed to a new FRAM from this state (corresponding to the operation of FRAM replacement 500) and the state of the device transits to state 560. At this time, the FRAM 300 is replaced with a new FRAM 510. When the device is activated with the new FRAM 510 replaced, the license history management unit 370 compares the license history 520 held in the FRAM 510 with the license history of the license file 340 held in the flash memory 330. To do.

比較した結果、ライセンス履歴管理部370は、FRAM510の記憶保持領域がもつライセンス履歴520は0個、一方フラッシュメモリ330が保持するライセンスファイル340のライセンス履歴は2個であるため、フラッシュメモリ330が保持するライセンスファイル340のライセンス履歴の方が多いことが分かる。この際、ライセンス履歴を多く保持しているメモリから、保持しているライセンス履歴が少ないメモリへライセン履歴をコピーするという復帰処理が実施される。具体的に説明すると、フラッシュメモリ330からFRAM510にライセンス履歴をコピーするため、上述した復帰処理530が実施される。その結果、デバイスの状態は状態570に遷移し、FRAM510のライセンス履歴540にライセンスファイル340からのライセンス履歴がコピーされる。以上が、フラッシュメモリからFRAMへのライセンス履歴復帰処理の概要になる。   As a result of the comparison, the license history management unit 370 has zero license histories 520 in the storage holding area of the FRAM 510 and two license histories in the license file 340 held in the flash memory 330. It can be seen that there are more license histories of the license file 340 to be executed. At this time, a restoration process is executed in which the license history is copied from the memory holding a large amount of license history to the memory holding a small amount of license history. Specifically, in order to copy the license history from the flash memory 330 to the FRAM 510, the above-described return processing 530 is performed. As a result, the state of the device transitions to a state 570, and the license history from the license file 340 is copied to the license history 540 of the FRAM 510. The above is the outline of the license history return processing from the flash memory to the FRAM.

図6は、フラッシュメモリが交換されるときの復帰処理のブロック図である。デバイスの状態660は、図3で示したライセンス履歴の状態と同じである。デバイスのシリアル番号はAAAA1234567であり、ライセンス履歴310とライセンスファイル340は、uuid1とuuid2の2つのライセンス履歴を含む。   FIG. 6 is a block diagram of a return process when the flash memory is replaced. The device state 660 is the same as the license history state shown in FIG. The serial number of the device is AAA1234567, and the license history 310 and the license file 340 include two license histories, uuid1 and uuid2.

この状態から新品の本体ボード320が交換され(本体ボード交換600の動作に相当する。)、デバイスの状態が状態670に遷移するときのことを考える。このとき、ボード320は新品の本体ボード610に交換され、フラッシュメモリ330は新品のフラッシュメモリ620に交換される。新品の本体ボード610に交換された状態でデバイスが起動すると、ライセンス履歴管理部370が、FRAM300に保持されているライセンス履歴310と、フラッシュメモリ620に保持されているライセンスファイル630のライセンス履歴を比較する。比較した結果、ライセンス管理部370は、フラッシュメモリ620が保持するライセンスファイル630のライセンス履歴は0個、一方のFRAM300が保持するライセンス履歴310は2個であるため、FRAM300が保持するライセンス履歴の方が多いことがわかる。   Consider a case where a new main body board 320 is replaced from this state (corresponding to the operation of main body board replacement 600), and the device state transitions to state 670. At this time, the board 320 is replaced with a new main body board 610, and the flash memory 330 is replaced with a new flash memory 620. When the device is activated with the new body board 610 replaced, the license history management unit 370 compares the license history 310 held in the FRAM 300 with the license history of the license file 630 held in the flash memory 620. To do. As a result of the comparison, the license management unit 370 has zero license histories in the license file 630 held in the flash memory 620 and two license histories 310 held in one FRAM 300. You can see that there are many.

この際、保持しているライセンス履歴の数が多いメモリから、保持しているライセンス履歴の数が少ないメモリへライセンス履歴をコピーするというライセンス復帰処理が実施される。具体的に説明すると、FRAM300がもつライセンス履歴310からフラッシュメモリ620にライセンス履歴をコピーするため、上述した復帰処理640が実施される。その結果、デバイスの状態は、状態680に遷移し、ライセンスファイル650の履歴にFRAM300からライセンス履歴がコピーされる。以上が、FRAMからフラッシュメモリへのライセンス履歴復帰処理の概要となる。   At this time, a license restoration process is performed in which the license history is copied from a memory having a large number of license histories to a memory having a small number of license histories. Specifically, in order to copy the license history from the license history 310 of the FRAM 300 to the flash memory 620, the above-described return processing 640 is performed. As a result, the state of the device transitions to the state 680, and the license history is copied from the FRAM 300 to the history of the license file 650. The above is the outline of the license history return processing from the FRAM to the flash memory.

図7は、図5、6のケースにおけるライセンス履歴管理部370が実行するライセンス履歴復帰処理のフローチャートを示す。   FIG. 7 shows a flowchart of the license history return process executed by the license history management unit 370 in the cases of FIGS.

S700においてデバイスが起動する。S710においてライセンス履歴管理部370がライセンス履歴の整合性チェックを行う。S720において、ライセンス履歴管理部370が、FRAMとフラッシュメモリに保持されているライセンス履歴の個数の比較を行う。このライセンス履歴の個数の比較のことをライセンス履歴の整合性チェックと呼ぶ。このときの個数が一致するときは、FRAMとフラッシュメモリの整合性は保たれているという判断の基、何も処理を実行せずにS730に進み復帰処理は終了する。   In S700, the device is activated. In step S710, the license history management unit 370 checks the consistency of the license history. In S720, the license history management unit 370 compares the number of license histories held in the FRAM and the flash memory. This comparison of the number of license histories is called license history consistency check. If the numbers match at this time, based on the determination that the consistency between the FRAM and the flash memory is maintained, the process proceeds to S730 without executing any process and the return process ends.

一方、フラッシュメモリのライセンス履歴の数がFRAMのライセンス履歴の数より多いときは、S740に進み、フラッシュメモリからFRAMにライセンス履歴の内容を復帰させる。更に、S730において処理が終了する。逆に、FRAMのライセンス履歴の数がフラッシュメモリのライセンス履歴の数より多いときは、S750に進み、FRAMからフラッシュメモリにライセンス履歴の内容を復帰させる。更に、S730において処理が終了する。   On the other hand, if the number of license histories in the flash memory is larger than the number of license histories in the FRAM, the process proceeds to S740, and the contents of the license history are restored from the flash memory to the FRAM. Further, the process ends in S730. Conversely, when the number of license histories in the FRAM is larger than the number of license histories in the flash memory, the process proceeds to S750, and the contents of the license history are restored from the FRAM to the flash memory. Further, the process ends in S730.

<中古ボードへの交換>
図8は、中古ボードに交換されるとき、図7のフローによって復帰処理が実施されるときのブロック図を示す。デバイスの状態860は、図3で示したライセンス履歴の状態と同じである。デバイスのシリアル番号はAAAA1234567であり、ライセンス履歴310とライセンスファイル340は、uuid1とuuid2の2つのライセンス履歴を含む。この状態から中古の本体ボード810に交換され(ボード交換800の動作に相当する。)、デバイスの状態が状態870に遷移するときのことを考える。
<Replacement with used board>
FIG. 8 shows a block diagram when the return processing is performed according to the flow of FIG. 7 when the used board is replaced. The device status 860 is the same as the status of the license history shown in FIG. The serial number of the device is AAA1234567, and the license history 310 and the license file 340 include two license histories, uuid1 and uuid2. Consider a case where the device is replaced with a used main body board 810 from this state (corresponding to the operation of the board replacement 800), and the device state transitions to state 870.

中古の本体ボード810は、フラッシュメモリ820を持つ。また、この中古ボード810は、シリアル番号BBBB9999999をもつ画像形成装置110とは異なる別の装置で利用されていたとする。よって、中古ボード810には、別の装置でアプリケーションがアクティベートした際に保持したライセンス履歴が含まれる。ライセンス履歴ファイル830には、ライセンス履歴として、uuid3、uuid4、uuid5の3つの履歴を含み、シリアル番号の情報BBBB9999999を保持している。状態870は、本体ボード320が、この中古の本体ボード810に交換された状態である。本体ボード810に交換された状態でデバイスが起動すると、ライセンス履歴管理部370は、FRAM300に保持されているライセンス履歴310と、フラッシュメモリ820に保持されているライセンスファイル830のライセンス履歴と、を比較する。   The used main body board 810 has a flash memory 820. Further, it is assumed that the used board 810 is used in another apparatus different from the image forming apparatus 110 having the serial number BBBB9999999. Therefore, the used board 810 includes the license history held when the application is activated on another device. The license history file 830 includes three histories of uuid3, uuid4, and uuid5 as license histories, and holds serial number information BBBB9999999. The state 870 is a state in which the main body board 320 is replaced with the used main body board 810. When the device is activated with the main body board 810 replaced, the license history management unit 370 compares the license history 310 held in the FRAM 300 with the license history of the license file 830 held in the flash memory 820. To do.

比較した結果、ライセンス履歴管理部370は、フラッシュメモリ820が保持するライセンスファイル830のライセンス履歴は3個、一方のFRAM300が保持するライセンス履歴310は2個であるため、フラッシュメモリ820が保持するライセンスファイル830のライセンス履歴の方が多いことがわかる。この際、図7で示すライセンス履歴の復帰処理が実施される。具体的に説明すると、フラッシュメモリ820からFRAM300に復帰処理840が実施される。その結果、デバイスの状態は、状態880に遷移し、FRAM300のライセンス履歴は、ライセンス履歴850の状態になる。その結果、FRAMには本来のuudi1、uuid2というのに加えて、uuid3、4、5という3個の全く関係のないデバイスBBBB9999999のライセンス履歴が保持されるようになり、ライセンスファイル830のライセンス履歴との整合性も保たれない。この結果、以下のような問題が生じる。   As a result of the comparison, since the license history management unit 370 has three license histories in the license file 830 held in the flash memory 820 and two license histories 310 held in one FRAM 300, the license history management unit 370 holds the license held in the flash memory 820. It can be seen that the license history of the file 830 is larger. At this time, the license history restoration process shown in FIG. 7 is performed. More specifically, a return process 840 is performed from the flash memory 820 to the FRAM 300. As a result, the state of the device transitions to the state 880, and the license history of the FRAM 300 becomes the state of the license history 850. As a result, in addition to the original uddi1 and uid2 in the FRAM, license histories of three unrelated devices BBBB9999999, which are udid3, 4, and 5, are held, and the license history of the license file 830 Consistency is not maintained. As a result, the following problems occur.

容量的にFRAMに残せるライセンス履歴情報には上限がある中、ユーザが利用していないライセンス履歴情報によって、ライセンス履歴を無駄に消費することになる。   Although there is an upper limit on the license history information that can be left in the FRAM in terms of capacity, the license history is wasted due to the license history information that is not used by the user.

また、次回起動時においても、FRAMとフラッシュメモリのライセンス履歴の個数チェックの結果、今度はFRAMが保持するライセンス履歴がフラッシュメモリが保持するライセンス履歴より多くなるため、ライセンス履歴復帰処理が実施されることとなる。   Also, at the next start-up, as a result of checking the number of license histories in the FRAM and the flash memory, the license history held in the FRAM is now larger than the license history held in the flash memory, so the license history restoration process is performed. It will be.

また、この実施例と異なり、FRAMとフラッシュメモリが保持するライセンス履歴の個数が同じだった場合を考える。その場合、ライセンス履歴の個数が同じ為、ライセンス履歴復帰処理が実施されない。つまり、本体ボードには中古ボードが保持していたライセンス履歴が残ったままになる。この状態で、FRAMが保持するライセンス履歴情報がクリアされてしまうと、ライセンス管理上、本来管理すべきユーザが利用したライセンス履歴uuid1、uuid2が削除される可能性がある。   Further, unlike this embodiment, consider a case where the number of license histories held by the FRAM and the flash memory is the same. In that case, since the number of license histories is the same, the license history restoration processing is not performed. In other words, the license history held by the used board remains on the main board. In this state, if the license history information held by the FRAM is cleared, there is a possibility that the license histories uuid1 and uuid2 used by the user who should be managed are deleted in terms of license management.

図9は、図8の状況を解消するため、中古ボードに対応したライセンス履歴復帰処理方法を示す。デバイスの状態950は、図3で示したライセンス履歴の状態と同じである。デバイスのシリアル番号はAAAA1234567であり、ライセンス履歴310とライセンスファイル340は、uuid1とuuid2の2つのライセンス履歴を含む。この状態から中古の本体ボード810に交換され(ボード交換900の動作に相当する。)、デバイスの状態は状態870に遷移するときのことを考える。   FIG. 9 shows a license history return processing method corresponding to a used board in order to eliminate the situation of FIG. The device status 950 is the same as the license history status shown in FIG. The serial number of the device is AAA1234567, and the license history 310 and the license file 340 include two license histories, uuid1 and uuid2. Consider a case where the main body board 810 is replaced from this state (corresponding to the operation of the board replacement 900), and the device state transitions to the state 870.

中古の本体ボード810は、フラッシュメモリ820を持つ。ここで、この中古ボード810は、シリアル番号BBBB9999999をもつデバイスで利用されていたとして、ライセンス履歴ファイル830は、ライセンス履歴として、uuid3、uuid4、uuid5の3つの履歴を含み、シリアル番号の情報BBBB9999999を保持している。状態960は、本体ボード320が、この中古の本体ボード810に交換された状態である。本体ボード810に交換された状態でデバイスが起動すると、ライセンス履歴管理部370は、フラッシュメモリ820のライセンスファイル830が保持するシリアル番号とデバイスのシリアル番号を比較する。   The used main body board 810 has a flash memory 820. Here, this used board 810 is used in a device having the serial number BBBB9999999, and the license history file 830 includes three histories of uid3, uid4, and uid5 as license histories, and includes serial number information BBBB9999999. keeping. A state 960 is a state in which the main body board 320 is replaced with the used main body board 810. When the device is activated with the main board 810 replaced, the license history management unit 370 compares the serial number held in the license file 830 of the flash memory 820 with the serial number of the device.

このシリアル番号の値が異なる場合、中古のボードが付けられたという判断の基、ライセンスファイル830を削除する。ライセンスIDの消去処理による消去に相当する。実施例1の場合、それぞれBBBB9999999とAAAA1234567と異なるため、処理910においてライセンスファイル830は削除される。その結果、状態970となり、フラッシュメモリ820からライセンスファイル830は削除される。ライセンスファイル930は、実体のない空のファイルを示す。更にライセンス履歴管理部370は、FRAM300が保持するライセンス履歴310とフラッシュメモリ810が保存するライセンスファイル930がもつライセンス履歴を比較する。   If the serial number values are different, the license file 830 is deleted based on the judgment that a used board is attached. This corresponds to erasing by erasing the license ID. In the case of the first embodiment, the license file 830 is deleted in the process 910 because they are different from BBBB9999999 and AAA1234567, respectively. As a result, the status 970 is obtained, and the license file 830 is deleted from the flash memory 820. The license file 930 indicates an empty file having no substance. Further, the license history management unit 370 compares the license history 310 held in the FRAM 300 with the license history held in the license file 930 stored in the flash memory 810.

比較した結果、ライセンス履歴管理部370は、フラッシュメモリ810がもつ実体のないライセンスファイル930のライセンス履歴は0個、一方のFRAM300が保存するライセンス履歴310は2個であるため、FRAM300が保存するライセンス履歴310の方が多いことがわかる。このとき図7で示すライセンス履歴の復帰処理が実施されるものとすると、FRAM300が保存するライセンス履歴310からフラッシュメモリ810に復帰処理920が実施される。その結果、デバイスの状態は、状態980に遷移し、ライセンスファイル940の履歴にFRAM300からライセンス履歴が復帰される。この結果、図8の結果と異なり、FRAM310とライセンス履歴ファイル940の整合性は保たる。つまり、整合性が保たれることにより、その後ボード交換、またFRAM交換が実施されても、ライセンス履歴がクリアされてしまうことはなくなり、ライセンス管理システムとして問題ない。   As a result of the comparison, the license history management unit 370 has zero license histories in the insubstantial license file 930 of the flash memory 810 and two license histories 310 stored in one FRAM 300. It can be seen that the history 310 is more frequent. If the license history restoration process shown in FIG. 7 is executed at this time, the restoration process 920 is executed from the license history 310 stored in the FRAM 300 to the flash memory 810. As a result, the state of the device transitions to the state 980, and the license history is restored from the FRAM 300 to the history of the license file 940. As a result, unlike the result of FIG. 8, the consistency between the FRAM 310 and the license history file 940 is maintained. That is, by maintaining consistency, the license history will not be cleared even if board replacement or FRAM replacement is performed thereafter, and there is no problem as a license management system.

図10は、ライセンス履歴管理部370が実施する中古ボードを考慮したライセンス履歴復帰処理についてのフローチャートを示す。   FIG. 10 shows a flowchart of the license history return process taking into account used boards executed by the license history management unit 370.

S1000においてデバイスが起動する。S1010において、デバイスのシリアル番号とライセンス履歴ファイルのシリアル番号が一致するかどうかの比較を行う。一致する場合、S1020に進み、ライセンス履歴管理部370が、ライセンス履歴の整合性チェックを行う。ここで、ライセンス履歴整合性チェックとは、FRAMとフラッシュメモリのライセンス履歴の個数のチェックのことを意味する。S1010において、このシリアル番号の値が一致しない場合、S1030に進み、ライセンス履歴ファイルの削除を行い、その後S1020に進む。   In S1000, the device is activated. In step S1010, a comparison is made as to whether the serial number of the device matches the serial number of the license history file. If they match, the process advances to step S1020, and the license history management unit 370 checks the consistency of the license history. Here, the license history consistency check means checking the number of license histories in the FRAM and the flash memory. If the serial number values do not match in S1010, the process proceeds to S1030, the license history file is deleted, and then the process proceeds to S1020.

S1040において、FRAMとフラッシュメモリのライセンス履歴の個数のチェックを行う。このときの個数が一致するときは、何もせずにS1050に進みライセンス履歴復帰処理は終了する。一方、フラッシュメモリのライセンス履歴の数がFRAMのライセンス履歴の数より多いときは、S1060に進み、フラッシュメモリからFRAMにライセンス履歴の内容を復帰させる。更に、S1050において処理が終了する。逆に、FRAMのライセンス履歴の数がフラッシュメモリのライセンス履歴の数より多いときは、S1070に進み、FRAMからフラッシュメモリにライセンス履歴の内容を復帰させる。更に、S1050において処理が終了する。   In S1040, the number of license histories of the FRAM and flash memory is checked. If the numbers at this time match, the process proceeds to S1050 without doing anything, and the license history restoration process ends. On the other hand, when the number of license histories in the flash memory is larger than the number of license histories in the FRAM, the process proceeds to S1060, and the contents of the license history are restored from the flash memory to the FRAM. Further, the process ends in S1050. On the other hand, if the number of license histories in the FRAM is larger than the number of license histories in the flash memory, the process proceeds to S1070, and the contents of the license history are restored from the FRAM to the flash memory. Further, the process ends in S1050.

<SoftID基板の交換の例>
図11は、SoftID基板の交換によりシリアル番号が変わる場合がある例を示す。図11のおける、デバイスの状態は、図3で示したライセンス履歴の状態と同じである。デバイスのシリアル番号はAAAA1234567であり、ライセンス履歴310とライセンスファイル340は、uuid1とuuid2の2つの履歴をもつ状態である。
<Example of replacement of SoftID board>
FIG. 11 shows an example in which the serial number may change due to the replacement of the SoftID board. The device status in FIG. 11 is the same as the license history status shown in FIG. The serial number of the device is AAA1234567, and the license history 310 and the license file 340 have two histories, uuid1 and uuid2.

この状態で何らかの理由によりSoftID基板が破損し(1100)、デバイスのシリアル番号が取得できなくなることがある(1110)。このとき、結果としてデバイスのシリアル番号はNULL値となる。   In this state, the SoftID board may be damaged for some reason (1100), and the serial number of the device may not be acquired (1110). At this time, as a result, the serial number of the device becomes a NULL value.

あるいは、SoftID基板を交換するような対応を行ったときに(1120)、結果としてシリアル番号がサービスパーツ用の特別なシリアル番号になる(1130)ことがある。   Alternatively, when a measure is taken to replace the SoftID board (1120), the serial number may become a special serial number for service parts (1130) as a result.

上記のような例の場合、図10のフローチャートの示す処理を実施すると、S1010において、シリアル番号の比較において、必ず一致しないことになり、結果として中古ボードという判定の基、ライセンスファイルが削除されてしまうことになる(S1030)。結果として、SoftID基板側に問題があったときに、ライセンスファイルの復帰処理が実施されることになり明らかに無駄な処理となる。そこで、このような特殊なシリアル番号を返すことを考慮した、フローチャートが図12である。S1200においてデバイス起動後、S1210においてデバイスのシリアル番号をチェックする。このとき、シリアル番号がNULL値、もしくは予め決められたサービスパーツ用の番号であったときは、特定の処理を施さずS1260に進みライセンス履歴復帰処理に入らないようにする。   In the case of the above example, if the processing shown in the flowchart of FIG. 10 is performed, in S1010, the serial numbers are not necessarily matched, and as a result, the license file is deleted based on the determination of the used board. (S1030). As a result, when there is a problem on the SoftID board side, the license file restoration processing is performed, which is obviously wasteful processing. Therefore, FIG. 12 is a flowchart in consideration of returning such a special serial number. After the device is started in S1200, the device serial number is checked in S1210. At this time, if the serial number is a NULL value or a predetermined number for a service part, the process proceeds to S1260 without performing a specific process so as not to enter the license history recovery process.

シリアル番号が上記以外の場合は、S1220へ進む。S1220において、デバイスのシリアル番号とライセンス履歴ファイルのシリアル番号が一致するかどうかの比較を行う。一致する場合、S1230に進み、ライセンス履歴管理部370が、ライセンス履歴の整合性チェックを行う。   If the serial number is other than the above, the process proceeds to S1220. In S1220, it is compared whether the serial number of the device matches the serial number of the license history file. If they match, the process advances to step S1230, and the license history management unit 370 checks the consistency of the license history.

ここで、ライセンス履歴整合性チェックとは、FRAMとフラッシュメモリのライセンス履歴の個数のチェックのことを意味する。S1220において、このシリアル番号の値が一致しない場合、S1240に進み、ライセンス履歴ファイルの削除を行い、その後S1230に進む。S1250において、FRAMとフラッシュメモリのライセンス履歴の個数のチェックを行う。このときの個数が一致するときは、何もせずにS1260に進みライセンス履歴復帰処理は終了する。   Here, the license history consistency check means checking the number of license histories in the FRAM and the flash memory. If the serial number values do not match in S1220, the process advances to S1240 to delete the license history file, and then advances to S1230. In S1250, the number of license histories of the FRAM and flash memory is checked. If the numbers at this time match, the process proceeds to S1260 without doing anything, and the license history recovery process ends.

一方、フラッシュメモリのライセンス履歴の数がFRAMのライセンス履歴の数より多いときは、S1270に進み、フラッシュメモリからFRAMにライセンス履歴の内容を復帰させる。更に、S1260において処理が終了する。逆に、FRAMのライセンス履歴の数がフラッシュメモリのライセンス履歴の数より多いときは、S1280に進み、FRAMからフラッシュメモリにライセンス履歴の内容を復帰させる。更に、S1260において処理が終了する。   On the other hand, if the number of license histories in the flash memory is larger than the number of license histories in the FRAM, the process proceeds to S1270, and the contents of the license history are restored from the flash memory to the FRAM. Further, the processing ends in S1260. Conversely, when the number of license histories in the FRAM is larger than the number of license histories in the flash memory, the process proceeds to S1280, and the contents of the license history are restored from the FRAM to the flash memory. Further, the processing ends in S1260.

810 中古ボード
820 中古ボードに付随するフラッシュメモリ
830 中古ボードのライセンス履歴ファイル
910 ライセンスシリアル番号比較とライセンス履歴ファイルの削除
930 削除されたライセンス履歴ファイル
810 Used board 820 Flash memory attached to used board 830 License history file of used board 910 License serial number comparison and deletion of license history file 930 Deleted license history file

Claims (7)

ライセンスを使用することで利用可能となるアプリケーションを保持可能な装置であって、
前記アプリケーションがライセンスを使用することで利用可能となった場合、前記ライセンスを識別するためのライセンスIDを保持する第1のメモリと、
前記第1のメモリに保持されたライセンスIDのバックアップを行うため、前記ライセンスIDを保持する第2のメモリと、
前記第2のメモリに保持された、装置を識別するための装置IDと、前記装置に割り当てられた装置IDとが一致する場合、第1のメモリに保持されたライセンスIDを前記第2のメモリに保持させ、一致しない場合、前記第2のメモリに既に保持されているライセンスIDを消去した後に、第1のメモリに保持されたライセンスIDを前記第2のメモリに保持させるよう制御する制御手段と、を有する装置。
A device that can hold applications that can be used by using a license,
A first memory that holds a license ID for identifying the license when the application becomes available by using the license;
A second memory for holding the license ID in order to back up the license ID held in the first memory;
When the device ID for identifying the device held in the second memory matches the device ID assigned to the device, the license ID held in the first memory is changed to the second memory. Control means for controlling to hold the license ID held in the first memory in the second memory after erasing the license ID already held in the second memory if they do not match And a device comprising:
前記第2のメモリは前記装置とは異なる別の装置に装着されていたメモリであって、前記第2のメモリに既に保持されているライセンスIDとは前記別の装置で利用可能となったアプリケーションに対応するライセンスIDであり、前記装置IDとは前記別の装置の装置IDであることを特徴とする請求項1に記載の装置。   The second memory is a memory mounted in a different device different from the device, and the license ID already held in the second memory is an application that can be used in the different device. The device according to claim 1, wherein the device ID is a device ID of the other device. 前記制御手段は、前記ライセンスIDと共に前記第2のメモリに保持された装置を識別するための装置IDと、前記装置に割り当てられた装置IDとが一致する場合、前記第2のメモリに対し消去処理を施すことなく、第1のメモリに保持されたライセンスIDを前記第2のメモリに保持するよう制御することを特徴とする請求項1または2に記載の装置。   When the device ID for identifying the device held in the second memory together with the license ID matches the device ID assigned to the device, the control means erases the second memory. 3. The apparatus according to claim 1, wherein control is performed such that the license ID held in the first memory is held in the second memory without performing processing. 4. 前記装置とはプリントユニット、および/またはスキャンユニットを有する画像形成装置であって、
前記アプリケーションとは、前記プリントユニット、またはスキャンユニットを操作するためのアプリケーションであることを特徴とする請求項1乃至3の何れか1項に記載の装置。
The apparatus is an image forming apparatus having a print unit and / or a scan unit,
The apparatus according to any one of claims 1 to 3, wherein the application is an application for operating the print unit or the scan unit.
前記第1のメモリに保持されたライセンスIDを前記第2のメモリに保持する処理とは、保持されたライセンスIDの数が前記第2のメモリに保持されたライセンスIDの数よりも多い前記第1のメモリから、保持されたライセンスIDの数が前記第1のメモリよりも少ない前記第2のメモリにコピーするライセンス履歴復帰処理であることを特徴とする請求項1乃至4の何れか1項に記載の装置。   The process of holding the license ID held in the first memory in the second memory means that the number of license IDs held is larger than the number of license IDs held in the second memory. 5. The license history restoration process for copying from the memory of 1 to the second memory having a smaller number of license IDs than the first memory. 6. The device described in 1. ライセンスを使用することで利用可能となるアプリケーションを保持可能な装置を制御する制御方法であって、
第1のメモリは、前記アプリケーションがライセンスを使用することで利用可能となった場合、前記ライセンスを識別するためのライセンスIDを保持し、
第2のメモリは、前記第1のメモリに保存されたライセンスIDのバックアップを行うため、前記ライセンスIDを前記第1のメモリと同じく保持し、
制御手段は、前記第2のメモリに保持された装置を識別するための装置IDと、前記装置に割り当てられた装置IDとが一致する場合、第1のメモリに保持されたライセンスIDを前記第2のメモリに保持し、一致しない場合、前記第2のメモリに既に保持されているライセンスIDを消去した後に、第1のメモリに保持されたライセンスIDを前記第2のメモリに保持するよう制御することを特徴とする装置を制御する制御方法。
A control method for controlling a device capable of holding an application that can be used by using a license,
The first memory holds a license ID for identifying the license when the application becomes available by using the license,
The second memory retains the license ID in the same manner as the first memory in order to back up the license ID stored in the first memory.
When the device ID for identifying the device held in the second memory matches the device ID assigned to the device, the control means assigns the license ID held in the first memory to the first ID. If the license ID stored in the second memory does not match, the license ID already stored in the second memory is erased, and then the license ID stored in the first memory is controlled to be stored in the second memory. A control method for controlling an apparatus.
請求項6に記載の制御方法をコンピュータに実行させるためのプログラム。   A program for causing a computer to execute the control method according to claim 6.
JP2011118140A 2011-05-26 2011-05-26 Device, control method, and program. Expired - Fee Related JP5701151B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011118140A JP5701151B2 (en) 2011-05-26 2011-05-26 Device, control method, and program.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011118140A JP5701151B2 (en) 2011-05-26 2011-05-26 Device, control method, and program.

Publications (2)

Publication Number Publication Date
JP2012247925A JP2012247925A (en) 2012-12-13
JP5701151B2 true JP5701151B2 (en) 2015-04-15

Family

ID=47468327

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011118140A Expired - Fee Related JP5701151B2 (en) 2011-05-26 2011-05-26 Device, control method, and program.

Country Status (1)

Country Link
JP (1) JP5701151B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293551A (en) * 2015-06-26 2017-01-04 佳能株式会社 Information processor and method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6337856B2 (en) * 2015-08-25 2018-06-06 京セラドキュメントソリューションズ株式会社 Image forming apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127064A (en) * 2006-08-18 2008-02-20 华为技术有限公司 Method and system for backuping and resuming licence
JP5402643B2 (en) * 2007-12-10 2014-01-29 日本電気株式会社 Option management system and option management method for digital equipment
JP2009157435A (en) * 2007-12-25 2009-07-16 Nec Infrontia Corp License management apparatus and license management method
JP4585594B2 (en) * 2008-03-27 2010-11-24 技研商事インターナショナル株式会社 Licensed external memory

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293551A (en) * 2015-06-26 2017-01-04 佳能株式会社 Information processor and method
CN106293551B (en) * 2015-06-26 2020-03-24 佳能株式会社 Information processing apparatus and method
US10621311B2 (en) 2015-06-26 2020-04-14 Canon Kabushiki Kaisha Information processing apparatus, method, and storage medium

Also Published As

Publication number Publication date
JP2012247925A (en) 2012-12-13

Similar Documents

Publication Publication Date Title
JP5112787B2 (en) Information processing apparatus, program update method, and program
US7209249B2 (en) Method of and apparatus for image formation, and computer product
JP4936549B2 (en) Server device, management system, management method, storage medium, program
JP5127490B2 (en) Image forming apparatus, remote update verification method and program for image forming apparatus
US8947721B2 (en) Image forming apparatus, backup and restore processing method
US8310698B2 (en) Image forming apparatus and activating method thereof
JP2005173919A (en) Information processing device, information processing system and method, information processing program, and storage media
JP2006345318A (en) System and method for processing image
JP2008210369A (en) Digital multi-function machine and control method for the same
JP4143649B2 (en) Image processing system and audit data transfer method
JP2004303216A (en) Information processor, image forming apparatus, error processing method in starting program, and recording medium
JP5701151B2 (en) Device, control method, and program.
JP4979564B2 (en) Information processing system, image input / output device, and data processing method
JP4485785B2 (en) Electronic data processing system and electronic data processing method
JP6257409B2 (en) Printing system, control method therefor, and program
JP2006311590A (en) Image forming apparatus and application installing method
JP4444641B2 (en) Information processing apparatus, image forming apparatus, and electronic data transfer method
JP2011063027A (en) Network printer
JP2005027065A (en) Method for managing software license
JP2009039936A (en) Network printer
JP2010287108A (en) Image processing apparatus
JP2006271005A (en) Image forming apparatus and method for installing application
JP5494772B2 (en) Apparatus, program update method, program, and program update system
JP4648927B2 (en) Image forming apparatus
JP4636836B2 (en) Server apparatus, printing apparatus, data protection processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140521

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141215

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150217

R151 Written notification of patent or utility model registration

Ref document number: 5701151

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees