Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6606868B2 - Information processing apparatus and program - Google Patents
[go: Go Back, main page]

JP6606868B2 - Information processing apparatus and program - Google Patents

Information processing apparatus and program Download PDF

Info

Publication number
JP6606868B2
JP6606868B2 JP2015110354A JP2015110354A JP6606868B2 JP 6606868 B2 JP6606868 B2 JP 6606868B2 JP 2015110354 A JP2015110354 A JP 2015110354A JP 2015110354 A JP2015110354 A JP 2015110354A JP 6606868 B2 JP6606868 B2 JP 6606868B2
Authority
JP
Japan
Prior art keywords
information
unit
license
encrypted
processing apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015110354A
Other languages
Japanese (ja)
Other versions
JP2016224696A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2015110354A priority Critical patent/JP6606868B2/en
Publication of JP2016224696A publication Critical patent/JP2016224696A/en
Application granted granted Critical
Publication of JP6606868B2 publication Critical patent/JP6606868B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Storage Device Security (AREA)

Description

本発明は、情報処理装置及びプログラムに関する。   The present invention relates to an information processing apparatus and a program.

近年では、画像形成装置の高機能化に伴い、ドングルと呼ばれる専用のライセンス認証器具を用いて、一部の機能を使用可能とするライセンスの管理方式が知られている(特許文献1)。   2. Description of the Related Art In recent years, as image forming apparatuses have become more sophisticated, a license management system is known in which some functions can be used using a dedicated license authentication device called a dongle (Patent Document 1).

従来のドングルを用いたライセンスの管理方式では、例えばドングルが画像形成装置に接続されるまでの間に不正にコピーされる虞がある。また、従来では、ドングルが不正にコピーされた場合、このドングルを用いることで、本来は使用できないはずの画像形成装置の機能が使用可能となってしまう可能性がある。   In a conventional license management method using a dongle, for example, there is a possibility that the dongle is illegally copied before it is connected to the image forming apparatus. Conventionally, when a dongle is illegally copied, the use of this dongle may make it possible to use functions of an image forming apparatus that should not be originally usable.

開示の技術は、ライセンス情報の管理におけるセキュリティを向上させることを目的としている。   The disclosed technology aims to improve security in managing license information.

開示の技術は、所定の機能を使用可能とするライセンス情報に応じて動作する情報処理装置であって、記憶媒体の接続を検知して、前記記憶媒体から、前記記憶媒体を一意に特定する第一固有情報と、前記ライセンス情報を暗号化した第一の暗号化ライセンス情報とを取得するデータ取得部と、前記第一の暗号化ライセンス情報を復号化して、前記情報処理装置と、前記記憶媒体とが対応付けられているか否かを判定する判定部と、前記情報処理装置と、前記記憶媒体とが対応付けられていないとき、復号化された前記ライセンス情報を、前記第一固有情報と、前記情報処理装置を一意に特定する第二固有情報とを用いて暗号化した第二の暗号化ライセンス情報として、前記記憶媒体へ書き込む書込み部と、前記情報処理装置と、前記記憶媒体とが対応付けられていないとき、前記共通キー復号化部によって復号化された前記ライセンス情報を前記情報処理装置において使用可能とする機能と対応付けるライセンス情報設定部と、共通キー復号化部によって復号化された前記ライセンス情報を、前記第二固有情報を用いて暗号化する第二固有情報暗号化部と、前記第二固有情報暗号化部により暗号化された情報を、共通キーを用いて暗号化する共通キー暗号化部と、前記共通キー暗号化部により暗号化された情報を、前記第一固有情報を用いて暗号化する第一固有情報暗号化部と、を有し、前記書き込み部は、前記第一固有情報暗号化部により暗号化された情報を第二の暗号化ライセンス情報として、前記記憶媒体へ書き込む。 The disclosed technology is an information processing apparatus that operates according to license information that enables a predetermined function, and detects a connection of a storage medium and uniquely identifies the storage medium from the storage medium. A data acquisition unit for acquiring unique information and first encrypted license information obtained by encrypting the license information, decrypting the first encrypted license information, the information processing apparatus, and the storage medium When the information processing apparatus and the storage medium are not associated with each other, the decrypted license information is converted into the first unique information, as a second encrypted license information is encrypted using a second unique information uniquely identifying the information processing apparatus, and a write unit for writing to the storage medium, and the information processing apparatus, the storage medium Are not associated with each other, a license information setting unit that associates the license information decrypted by the common key decryption unit with a function that can be used in the information processing apparatus, and a common key decryption unit decrypts the license information A second unique information encryption unit that encrypts the license information using the second unique information, and encrypts the information encrypted by the second unique information encryption unit using a common key. A common key encryption unit, and a first unique information encryption unit that encrypts information encrypted by the common key encryption unit using the first unique information, and the writing unit The information encrypted by the first unique information encryption unit is written into the storage medium as second encrypted license information.

ライセンス情報の管理におけるセキュリティを向上させることができる。   Security in the management of license information can be improved.

本実施形態のシステム構成の一例を示す図である。It is a figure which shows an example of the system configuration | structure of this embodiment. 情報処理装置のハードウェア構成の一例について説明する図である。FIG. 3 is a diagram for describing an example of a hardware configuration of an information processing device. 画像形成装置のハードウェア構成を説明する図である。2 is a diagram illustrating a hardware configuration of an image forming apparatus. FIG. 情報処理装置の機能構成を説明する図である。It is a figure explaining the functional composition of an information processor. ドングル生成用データの一例を示す図である。It is a figure which shows an example of the data for dongle production | generation. 画像形成装置の機能構成を説明する図である。2 is a diagram illustrating a functional configuration of an image forming apparatus. FIG. 管理用データの一例を示す図である。It is a figure which shows an example of the data for management. 情報処理装置のドングル生成処理部の処理を説明するフローチャートである。It is a flowchart explaining the process of the dongle production | generation process part of information processing apparatus. ドングル生成処理部の処理を説明する図である。It is a figure explaining the process of a dongle production | generation process part. 画像形成装置の管理処理部の処理を説明する第一のフローチャートである。6 is a first flowchart illustrating processing of a management processing unit of the image forming apparatus. 画像形成装置の初回起動時の管理処理部の処理を説明する図である。FIG. 6 is a diagram illustrating processing of a management processing unit when an image forming apparatus is first activated. 画像形成装置の管理処理部の処理を説明する第二のフローチャートである。10 is a second flowchart illustrating processing of a management processing unit of the image forming apparatus. 画像形成装置の起動処理を説明するフローチャートである。5 is a flowchart for explaining start-up processing of the image forming apparatus.

以下に図面を参照して実施形態について説明する。図1は、本実施形態のシステム構成の一例を示す図である。   Embodiments will be described below with reference to the drawings. FIG. 1 is a diagram illustrating an example of a system configuration of the present embodiment.

本実施形態の情報処理装置100は、一般的な記憶媒体をドングル200とするためのドングル生成処理部110を有する。ドングル生成処理部110は、後述するライセンス情報を暗号化した暗号化ライセンス情報を生成し、記憶媒体に暗号化情報を書き込むことで、記憶媒体をドングル200とする。   The information processing apparatus 100 according to the present embodiment includes a dongle generation processing unit 110 for making a general storage medium a dongle 200. The dongle generation processing unit 110 generates encrypted license information obtained by encrypting license information, which will be described later, and writes the encrypted information in the storage medium, thereby setting the storage medium as the dongle 200.

本実施形態のドングル200は、情報処理装置100及び画像形成装置300に接続可能なデバイス(記憶媒体)である。具体的には、例えば一般的なUSB(Universal Serial Bus)メモリ等である。本実施形態のドングル200は、情報処理装置100により暗号化ライセンス情報が書き込まれることで、画像形成装置300のライセンス情報を管理するために必要なドングルとなる。   The dongle 200 of this embodiment is a device (storage medium) that can be connected to the information processing apparatus 100 and the image forming apparatus 300. Specifically, for example, a general USB (Universal Serial Bus) memory or the like is used. The dongle 200 according to the present embodiment is a dongle necessary for managing the license information of the image forming apparatus 300 by writing the encryption license information by the information processing apparatus 100.

本実施形態のライセンス情報とは、画像形成装置300における所定の機能が使用可能であることを示す情報である。本実施形態の画像形成装置300は、ライセンス情報を読み取ることで、ライセンス情報において指定された所定の機能が使用可能な状態となる。   The license information in the present embodiment is information indicating that a predetermined function in the image forming apparatus 300 can be used. The image forming apparatus 300 according to the present embodiment reads the license information, and thus can use a predetermined function specified in the license information.

本実施形態の画像形成装置300は、管理処理部310を有し、管理処理部310により、ドングル200に書き込まれた暗号化ライセンス情報からライセンス情報を解釈することで、自機(画像形成装置300)の動作を決定する。   The image forming apparatus 300 according to the present exemplary embodiment includes a management processing unit 310, and the management processing unit 310 interprets license information from the encrypted license information written in the dongle 200. ) Is determined.

次に、図2を参照して本実施形態の情報処理装置100のハードウェア構成について説明する。図2は、情報処理装置のハードウェア構成の一例について説明する図である。   Next, a hardware configuration of the information processing apparatus 100 according to the present embodiment will be described with reference to FIG. FIG. 2 is a diagram illustrating an example of a hardware configuration of the information processing apparatus.

本実施形態の情報処理装置100は、入力装置11、出力装置12、演算処理装置13、外部記憶装置I/F(インターフェース)14、内部記憶装置15、ドライバ装置16、インターフェース装置17を有する。   The information processing apparatus 100 according to this embodiment includes an input device 11, an output device 12, an arithmetic processing device 13, an external storage device I / F (interface) 14, an internal storage device 15, a driver device 16, and an interface device 17.

入力装置11は、各種の情報を入力するためのものであり、例えばドングル生成処理部110の処理を実行させる操作等に利用される。出力装置12は、各種の情報を出力するために用いられる。出力装置12は、具体的には、例えばディスプレイ等である。   The input device 11 is used to input various types of information, and is used for operations that cause the dongle generation processing unit 110 to execute processing, for example. The output device 12 is used to output various types of information. Specifically, the output device 12 is, for example, a display.

演算処理装置13は、内部記憶装置15等に格納された各種のプログラムを実行し、情報処理装置100全体を制御する。尚、本実施形態のドングル生成処理部110を実現するドングル生成プログラムは、内部記憶装置15に格納された各種プログラムの一部である。   The arithmetic processing unit 13 executes various programs stored in the internal storage device 15 and controls the information processing apparatus 100 as a whole. Note that the dongle generation program that implements the dongle generation processing unit 110 of the present embodiment is a part of various programs stored in the internal storage device 15.

外部記憶装置I/F14は、ドングル200を着脱可能に接続する。内部記憶装置15は、ドングル生成処理部110の処理に必要な各種データを格納している。また、内部記憶装置15は、ドングル生成プログラムを含む各種のプログラムを格納している。   The external storage device I / F 14 removably connects the dongle 200. The internal storage device 15 stores various data necessary for the processing of the dongle generation processing unit 110. The internal storage device 15 stores various programs including a dongle generation program.

ドライバ装置16は、例えば記録媒体18等に格納されたプログラムを読み込んで、内部記憶装置15へ格納する。インターフェース装置17は、モデム、LANカード等を含み、ネットワークに接続する為に用いられる。   The driver device 16 reads a program stored in, for example, the recording medium 18 and stores it in the internal storage device 15. The interface device 17 includes a modem, a LAN card, and the like, and is used for connecting to a network.

本実施形態のドングル生成プログラムは、ドングル生成プログラムを記録した記録媒体18がドライバ装置16にセットされると、記録媒体18からドライバ装置16を介して内部記憶装置15にインストールされる。また、ネットワークからダウンロードされたドングル生成プログラムは、インターフェース装置17を介して内部記憶装置15にインストールされる。   The dongle generation program of this embodiment is installed from the recording medium 18 to the internal storage device 15 via the driver device 16 when the recording medium 18 on which the dongle generation program is recorded is set in the driver device 16. The dongle generation program downloaded from the network is installed in the internal storage device 15 via the interface device 17.

次に、図3を参照して、本実施形態の画像形成装置300のハードウェア構成について説明する。図3は、画像形成装置のハードウェア構成を説明する図である。   Next, a hardware configuration of the image forming apparatus 300 of the present embodiment will be described with reference to FIG. FIG. 3 is a diagram illustrating a hardware configuration of the image forming apparatus.

画像形成装置300は、CPU(Central Processing Unit)31と、ASIC(Application Specific Integrated Circuit)32と、システムメモリ装置33としてROM34とRAM35とを有しており、情報処理装置の1つである。また、画像形成装置300は、インターフェース装置36として、SDメモリカードスロット37と、USBインターフェース38と、ネットワークインターフェース39を有する。さらに、画像形成装置300は、記憶装置40と、操作表示装置41と、エンジン装置42と、スキャナ装置43と、を有している。   The image forming apparatus 300 includes a central processing unit (CPU) 31, an application specific integrated circuit (ASIC) 32, and a ROM 34 and a RAM 35 as a system memory device 33, and is one of information processing devices. The image forming apparatus 300 includes an SD memory card slot 37, a USB interface 38, and a network interface 39 as the interface device 36. Further, the image forming apparatus 300 includes a storage device 40, an operation display device 41, an engine device 42, and a scanner device 43.

CPU31は、RAM35の所定領域を作業領域として、後述するROM34または記憶装置40に予め記憶された各種プログラムとの共同により各種処理を実行し、画像形成装置300全体の動作を統括的に制御する。尚、各種プログラムには、後述する管理処理部310の機能を実現する管理プログラムも含まれる。   The CPU 31 performs various processes in cooperation with various programs stored in advance in the ROM 34 or the storage device 40, which will be described later, using the predetermined area of the RAM 35 as a work area, and comprehensively controls the operation of the entire image forming apparatus 300. The various programs include a management program that realizes the function of the management processing unit 310 described later.

ASIC32は、画像処理用のハードウェア要素を有する画像処理用途向けのIC(Integrated Circuit)であり、CPU31と装置を夫々接続するブリッジとしての機能を有する。   The ASIC 32 is an IC (Integrated Circuit) for image processing having hardware elements for image processing, and has a function as a bridge for connecting the CPU 31 and the device.

システムメモリ装置33は、プログラムやデータの格納用メモリ、プログラムやデータの展開用メモリ、プリンタの描画用メモリ等として用いるシステムメモリであり、ROM34やRAM35等から構成される。ここで、ROM34は、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAM35は、プログラムやデータの展開用メモリ、プリンタの描画用メモリ等として用いる書き込み及び読み出し可能な揮発性のメモリである。   The system memory device 33 is a system memory used as a memory for storing programs and data, a memory for developing programs and data, a memory for drawing a printer, and the like, and includes a ROM 34, a RAM 35, and the like. Here, the ROM 34 is a read-only memory used as a memory for storing programs and data, and the RAM 35 is a volatile memory that can be written and read and used as a memory for developing programs and data, a drawing memory for printers, and the like. It is.

インターフェース装置36は、画像形成装置300と外部デバイスを着脱可能に接続したり、画像形成装置300と外部デバイスを、ネットワークを介して接続したりするためのインターフェースである。具体的に、インターフェース装置36は、外部記憶装置であるSDカード(登録商標)が挿入されるSDメモリカードスロット37と、同じく外部記憶装置であるUSBフラッシュメモリが挿入されるUSBインターフェース38と、ネットワークに接続するためのネットワークインターフェース39とを備える。   The interface device 36 is an interface for detachably connecting the image forming apparatus 300 and an external device, and connecting the image forming apparatus 300 and an external device via a network. Specifically, the interface device 36 includes an SD memory card slot 37 into which an SD card (registered trademark) as an external storage device is inserted, a USB interface 38 into which a USB flash memory as an external storage device is inserted, and a network. And a network interface 39 for connecting to the network.

尚、本実施形態では、インターフェース装置36は、SDカードメモリ、USBフラッシュメモリ、ネットワークと接続するためのインターフェースを備えることとしたが、これに限定するものではない。   In the present embodiment, the interface device 36 includes an SD card memory, a USB flash memory, and an interface for connecting to a network. However, the present invention is not limited to this.

記憶装置40は、磁気的、電気的、または光学的に記録可能な記憶媒体を有し、画像形成装置300の制御にかかるプログラムや各種設定情報等を書き換え可能に記憶する。また、記憶装置40は、スキャナ装置43やインターフェース装置36を介して入力されるデータ等を記憶する。   The storage device 40 includes a storage medium that can be magnetically, electrically, or optically recorded, and stores a program, various setting information, and the like related to the control of the image forming apparatus 300 in a rewritable manner. The storage device 40 stores data input via the scanner device 43 and the interface device 36.

操作表示装置41は、画像形成装置300とユーザとのインターフェースを行う部分であって、LCD(液晶表示装置)等の表示デバイスと、キースイッチ等の入力デバイスとから構成される。操作表示装置41は、CPU31の制御のもと、装置の各種状態や操作方法をLCDに表示するとともに、ユーザからのタッチパネルやキースイッチ群を介した入力を検出し、CPU31に出力する。   The operation display device 41 is a portion that performs an interface between the image forming apparatus 300 and a user, and includes a display device such as an LCD (liquid crystal display device) and an input device such as a key switch. The operation display device 41 displays various states and operation methods of the device on the LCD under the control of the CPU 31, detects an input from the user via a touch panel or a key switch group, and outputs it to the CPU 31.

エンジン装置42は、プリンタエンジンなどであり、例えば白黒プロッタ、1ドラムカラープロッタ、4ドラムカラープロッタ、ファックスユニットなどである。尚、このエンジン装置42には、プロッタなどのいわゆるエンジン部分に加えて、誤差拡散やガンマ変換などの画像処理部分が含まれる。   The engine device 42 is a printer engine or the like, for example, a black and white plotter, a one-drum color plotter, a four-drum color plotter, or a fax unit. The engine device 42 includes an image processing part such as error diffusion and gamma conversion in addition to a so-called engine part such as a plotter.

スキャナ装置43は、CCD光電変換素子からなるラインセンサとA/Dコンバータとそれらの駆動回路等を具備し、セットされた原稿をスキャンすることで得る原稿の濃淡情報から、RGB各8ビットのデジタル画像データを生成し、CPU31に出力する。   The scanner device 43 includes a line sensor composed of a CCD photoelectric conversion element, an A / D converter, and a drive circuit thereof, and the digital data of 8 bits for each of RGB from the density information of the document obtained by scanning the set document. Image data is generated and output to the CPU 31.

尚、本実施形態の画像形成装置300は、例えば、操作表示装置41と、エンジン装置42とスキャナ装置43と、操作表示装置41と、エンジン装置42とスキャナ装置43以外の装置を含む情報処理装置3と、が接続されて構成されていても良い。   The image forming apparatus 300 according to the present embodiment includes, for example, an operation display device 41, an engine device 42, a scanner device 43, an operation display device 41, and an information processing device including devices other than the engine device 42 and the scanner device 43. 3 may be connected to each other.

次に、図4を参照し、本実施形態の情報処理装置100の機能について説明する。図4は、情報処理装置の機能構成を説明する図である。   Next, functions of the information processing apparatus 100 according to the present embodiment will be described with reference to FIG. FIG. 4 is a diagram illustrating a functional configuration of the information processing apparatus.

本実施形態の情報処理装置100は、ドングル生成処理部110を有する。本実施形態のドングル生成処理部110は、演算処理装置13がドングル生成プログラムを実行することで実現される。   The information processing apparatus 100 according to the present embodiment includes a dongle generation processing unit 110. The dongle generation processing unit 110 of the present embodiment is realized by the arithmetic processing device 13 executing a dongle generation program.

本実施形態のドングル生成処理部110は、第一固有情報取得部111、第一固有情報暗号化部112、共通キー暗号化部113、書込み部114、ドングル生成用データ記憶部115を有する。   The dongle generation processing unit 110 of the present embodiment includes a first unique information acquisition unit 111, a first unique information encryption unit 112, a common key encryption unit 113, a writing unit 114, and a dongle generation data storage unit 115.

第一固有情報取得部111は、情報処理装置100に、ドングル200となる記憶媒体が接続されると、接続された記憶媒体に内蔵された、この記憶媒体を一意に識別することができる固有情報を取得する。本実施形態の以下の説明では、記憶媒体(ドングル)を一意に識別するドングル固有情報を、第一固有情報と呼ぶ。   When the storage medium to be the dongle 200 is connected to the information processing apparatus 100, the first specific information acquisition unit 111 is unique information that can be uniquely identified within the connected storage medium. To get. In the following description of the present embodiment, dongle specific information that uniquely identifies a storage medium (dongle) is referred to as first specific information.

第一固有情報暗号化部112は、第一固有情報をキーとして、与えられた情報を暗号化する。   The first unique information encryption unit 112 encrypts the given information using the first unique information as a key.

共通キー暗号化部113は、画像形成装置300と情報処理装置100とが共通に持つ共通キーで、与えられた情報を暗号化する。尚、本実施形態の共通キーは、予め管理者等により、情報処理装置100と画像形成装置300の両方に与えられている。   The common key encryption unit 113 encrypts given information with a common key shared by the image forming apparatus 300 and the information processing apparatus 100. The common key of this embodiment is given to both the information processing apparatus 100 and the image forming apparatus 300 by an administrator or the like in advance.

書込み部114は、指定された情報をドングル200となる記憶媒体に書き込む。具体的には、書込み部114は、暗号化したライセンス情報を示す暗号化ライセンス情報をドングル200となる記憶媒体へ書き込む。   The writing unit 114 writes the designated information in the storage medium that is the dongle 200. Specifically, the writing unit 114 writes the encrypted license information indicating the encrypted license information to the storage medium that becomes the dongle 200.

ドングル生成用データ記憶部115は、例えば内部記憶装置15の所定の記憶領域等に、記憶媒体をドングル200とするための処理に用いるデータを格納しておく。本実施形態のドングル生成用データは、管理者等により、予め情報処理装置100へ与えられているものである。   The dongle generation data storage unit 115 stores data used for processing for setting the storage medium as the dongle 200 in, for example, a predetermined storage area of the internal storage device 15. The dongle generation data of this embodiment is given to the information processing apparatus 100 in advance by an administrator or the like.

以下に、図5を参照して、ドングル生成用データについて説明する。図5は、ドングル生成用データの一例を示す図である。   The dongle generation data will be described below with reference to FIG. FIG. 5 is a diagram illustrating an example of dongle generation data.

本実施形態のドングル生成用データ116は、情報の項目として、ライセンス情報、共通キー、第一固有情報(ドングル固有情報)を有する。   The dongle generation data 116 of this embodiment includes license information, a common key, and first unique information (dongle unique information) as information items.

項目「ライセンス情報」の値は、画像形成装置300の所定の機能が使用可能であることを示す情報である。項目「ライセンス情報」の値は、例えばユーザにより設定されても良いし、予め情報処理装置100に与えられていても良い。図5の例では、項目「ライセンス情報」の値として、「機能A」が格納されている。   The value of the item “license information” is information indicating that a predetermined function of the image forming apparatus 300 can be used. The value of the item “license information” may be set by the user, for example, or may be given to the information processing apparatus 100 in advance. In the example of FIG. 5, “function A” is stored as the value of the item “license information”.

項目「共通キー」の値は、予め与えられた値であり、情報処理装置100と、画像形成装置300とで共通したキーである。図5の例では、項目「共通キー」の値として、「key123」が格納されている。本実施形態の共通キーの値は、共通キー暗号化部113における暗号化に用いられる。   The value of the item “common key” is a value given in advance, and is a key common to the information processing apparatus 100 and the image forming apparatus 300. In the example of FIG. 5, “key123” is stored as the value of the item “common key”. The common key value of this embodiment is used for encryption in the common key encryption unit 113.

項目「第一固有情報」の値は、第一固有情報取得部111によってドングル200から取得された値である。より詳細には、項目「第一固有情報」の値は、第一固有情報取得部111によって、ドングル200となる前の記憶媒体から取得された値である。本実施形態の第一固有情報とは、例えば記憶媒体がUSBメモリである場合には、USBメモリのシリアル番号等である。図5の例では、項目「第一固有情報」の値として、「dongle789」が格納されている。第一固有情報は、第一固有情報暗号化部112における暗号化に用いられる。   The value of the item “first unique information” is a value obtained from the dongle 200 by the first unique information acquisition unit 111. More specifically, the value of the item “first unique information” is a value obtained from the storage medium before becoming the dongle 200 by the first unique information acquisition unit 111. The first unique information of the present embodiment is, for example, a serial number of a USB memory when the storage medium is a USB memory. In the example of FIG. 5, “dongle 789” is stored as the value of the item “first unique information”. The first unique information is used for encryption in the first unique information encryption unit 112.

以下の説明では、項目「ライセンス情報」の値を単にライセンス情報と呼び、項目「共通キー」の値を単に共通キーと呼び、項目「第一固有情報」の値を単に第一固有情報と呼ぶ。   In the following description, the value of the item “license information” is simply called license information, the value of the item “common key” is simply called a common key, and the value of the item “first unique information” is simply called first unique information. .

次に、図6を参照して、本実施形態の画像形成装置300の機能構成について説明する。図6は、画像形成装置の機能構成を説明する図である。   Next, a functional configuration of the image forming apparatus 300 of the present embodiment will be described with reference to FIG. FIG. 6 is a diagram illustrating a functional configuration of the image forming apparatus.

本実施形態の画像形成装置300は、管理処理部310を有する。管理処理部310は、CPU31が管理プログラムを実行することで実現される。   The image forming apparatus 300 according to the present exemplary embodiment includes a management processing unit 310. The management processing unit 310 is realized by the CPU 31 executing a management program.

本実施形態の管理処理部310は、ドングル検知部311、第一固有情報取得部312、第二固有情報取得部313、第一固有情報復号化部314、共通キー復号化部315、第二固有情報復号化部316を有する。また、管理処理部310は、ライセンス情報判定部317、ライセンス情報比較部318、ライセンス情報設定部319、データ取得部320、エラー情報通知部321、第一固有情報暗号化部322、共通キー暗号化部323を有する。   The management processing unit 310 of this embodiment includes a dongle detection unit 311, a first unique information acquisition unit 312, a second unique information acquisition unit 313, a first unique information decryption unit 314, a common key decryption unit 315, and a second unique property. An information decoding unit 316 is included. In addition, the management processing unit 310 includes a license information determination unit 317, a license information comparison unit 318, a license information setting unit 319, a data acquisition unit 320, an error information notification unit 321, a first unique information encryption unit 322, and a common key encryption. Part 323.

さらに、管理処理部310は、第二固有情報暗号化部324、書込み部325、起動部326、設定有無判定部327、管理用データ記憶部328を有する。   Further, the management processing unit 310 includes a second unique information encryption unit 324, a writing unit 325, an activation unit 326, a setting presence / absence determination unit 327, and a management data storage unit 328.

ドングル検知部311は、画像形成装置300にドングル200が接続されたことを検知する。   The dongle detection unit 311 detects that the dongle 200 is connected to the image forming apparatus 300.

第一固有情報取得部312は、接続されているドングル200から、ドングル200に内蔵された、ドングル200を一意に識別することができる第一固有情報を取得する。   The first unique information acquisition unit 312 acquires, from the connected dongle 200, first unique information that can uniquely identify the dongle 200 built in the dongle 200.

第二固有情報取得部313は、画像形成装置300を一意に識別することができる、画像形成装置300が内蔵している画像形成装置300の固有情報を取得する。本実施形態の以下の説明では、画像形成装置300の固有情報を、第二固有情報と呼ぶ。   The second unique information acquisition unit 313 acquires unique information of the image forming apparatus 300 built in the image forming apparatus 300 that can uniquely identify the image forming apparatus 300. In the following description of the present embodiment, the unique information of the image forming apparatus 300 is referred to as second unique information.

第一固有情報復号化部314は、第一固有情報取得部312により取得した第一固有情報をキーとして、与えられた情報を復号化する。   The first unique information decryption unit 314 decrypts the given information using the first unique information acquired by the first unique information acquisition unit 312 as a key.

共通キー復号化部315は、予め定められた、情報処理装置100と画像形成装置300において共通の共通キーを用いて、与えられた情報を復号化する。   The common key decryption unit 315 decrypts given information using a predetermined common key in the information processing apparatus 100 and the image forming apparatus 300.

第二固有情報復号化部316は、第二固有情報取得部313により取得された画像形成装置300の固有情報である第二固有情報をキーとして、与えられた情報を復号化する。   The second unique information decryption unit 316 decrypts the given information using the second unique information that is the unique information of the image forming apparatus 300 acquired by the second unique information acquisition unit 313 as a key.

ライセンス情報判定部317は、復号化された情報が、ライセンス情報であるか否かを判断する。本実施形態では、ライセンス情報判定部317の判定結果に応じて、画像形成装置300とドングル200とが対応付けられているか否かが判定される。ライセンス情報判定部317による判定の詳細は後述する。   The license information determination unit 317 determines whether or not the decrypted information is license information. In the present embodiment, whether or not the image forming apparatus 300 and the dongle 200 are associated is determined according to the determination result of the license information determination unit 317. Details of the determination by the license information determination unit 317 will be described later.

ライセンス情報比較部318は、復号化されたライセンス情報が、画像形成装置300に既に設定されているライセンス情報と一致するかどうかを比較する。   The license information comparison unit 318 compares whether or not the decrypted license information matches the license information already set in the image forming apparatus 300.

ライセンス情報設定部319は、復号化されたライセンス情報を画像形成装置300に設定する。   The license information setting unit 319 sets the decrypted license information in the image forming apparatus 300.

データ取得部320は、ドングル200から、ドングル200に格納された暗号化ライセンス情報を取得する。   The data acquisition unit 320 acquires the encryption license information stored in the dongle 200 from the dongle 200.

エラー情報通知部321は、管理処理部310がエラーを検知した際に、そのエラーを画像形成装置300へ通知する。   When the management processing unit 310 detects an error, the error information notification unit 321 notifies the image forming apparatus 300 of the error.

第一固有情報暗号化部322は、第一固有情報取得部312により取得された第一固有情報をキーとして、与えられた情報を暗号化する。   The first unique information encryption unit 322 encrypts the given information using the first unique information acquired by the first unique information acquisition unit 312 as a key.

共通キー暗号化部323は、情報処理装置100と画像形成装置300において共通の共通キーを用いて、与えられた情報を暗号化する。   The common key encryption unit 323 encrypts given information using a common key common to the information processing apparatus 100 and the image forming apparatus 300.

第二固有情報暗号化部324は、第二固有情報取得部313により取得された第二固有情報をキーとして、与えられた情報を暗号化する。書込み部325は、暗号化ライセンス情報をドングル200に書き込む。   The second unique information encryption unit 324 encrypts the given information using the second unique information acquired by the second unique information acquisition unit 313 as a key. The writing unit 325 writes the encrypted license information into the dongle 200.

起動部326は、管理処理部310の処理が終了した後に、画像形成装置300を起動させる。   The activation unit 326 activates the image forming apparatus 300 after the processing of the management processing unit 310 is completed.

設定有無判定部327は、画像形成装置300にライセンス情報が設定されているか否かを判断する。   The setting presence / absence determination unit 327 determines whether license information is set in the image forming apparatus 300.

管理用データ記憶部328は、例えばシステムメモリ33の所定の記憶領域等に、管理処理部310の処理に用いる管理用データを格納する。   The management data storage unit 328 stores management data used for processing of the management processing unit 310 in a predetermined storage area of the system memory 33, for example.

以下に、図7を参照し、実施形態の管理用データについて説明する。図7は、管理用データの一例を示す図である。   The management data of the embodiment will be described below with reference to FIG. FIG. 7 is a diagram illustrating an example of management data.

本実施形態の管理用データは、情報の項目として、第二固有情報、第一固有情報、暗号化ライセンス情報、ライセンス情報、共通キーを有する。   The management data of the present embodiment includes second unique information, first unique information, encrypted license information, license information, and a common key as information items.

項目「第二固有情報」の値は、画像形成装置300を一意に識別することができる画像形成装置300が内蔵する固有情報である。   The value of the item “second unique information” is unique information built in the image forming apparatus 300 that can uniquely identify the image forming apparatus 300.

本実施形態の項目「第二固有情報」の値は、例えば画像形成装置300の有するエンジン装置42に内蔵されている、エンジン装置42を一意に特定するエンジン装置42の固有情報であっても良い。例えば画像形成装置300が、情報処理装置3を有する場合には、情報処理装置は、情報処理装置3の後段に接続されたエンジン装置42固有情報を第二固有情報とする。尚、第二固有情報は、例えばスキャナ装置43固有の情報であって良い。さらに、第二固有情報は、例えばスキャナ装置43固有の情報と、エンジン装置42固有の情報の両方を含んでいても良い。   The value of the item “second unique information” in the present embodiment may be unique information of the engine device 42 that uniquely identifies the engine device 42 built in the engine device 42 of the image forming apparatus 300, for example. . For example, when the image forming apparatus 300 includes the information processing apparatus 3, the information processing apparatus uses the engine apparatus 42 specific information connected to the subsequent stage of the information processing apparatus 3 as the second specific information. The second unique information may be information unique to the scanner device 43, for example. Furthermore, the second unique information may include, for example, both information unique to the scanner device 43 and information unique to the engine device 42.

項目「第二固有情報」の値は、第二固有情報復号化部316により復号化のキーとして、また、第二固有情報暗号化部324により暗号化のキーとして、それぞれ用いられる。図7の例では、項目「第二固有情報」の値として、「mfp456」が格納されている。   The value of the item “second unique information” is used as a decryption key by the second unique information decryption unit 316 and as an encryption key by the second unique information encryption unit 324, respectively. In the example of FIG. 7, “mfp456” is stored as the value of the item “second unique information”.

項目「第一固有情報」の値は、ドングル200となる記憶媒体を一意に識別することができる情報である。第一固有情報は、第一固有情報復号化部314により復号化のキーとして、また、第一固有情報暗号化部322により暗号化のキーとして、それぞれ用いられる。   The value of the item “first unique information” is information that can uniquely identify the storage medium serving as the dongle 200. The first unique information is used as a decryption key by the first unique information decryption unit 314 and as an encryption key by the first unique information encryption unit 322, respectively.

項目「暗号化ライセンス情報」の値は、データ取得部320により画像形成装置300の起動時にドングル200から取得するデータである。   The value of the item “encrypted license information” is data acquired from the dongle 200 by the data acquisition unit 320 when the image forming apparatus 300 is activated.

本実施形態では、画像形成装置300の初回起動時にドングル200から取得する暗号化ライセンス情報と、画像形成装置300の2回目以降の起動時にドングル200から取得する暗号化ライセンス情報と、が異なる。   In the present embodiment, the encryption license information acquired from the dongle 200 when the image forming apparatus 300 is started for the first time is different from the encryption license information acquired from the dongle 200 when the image forming apparatus 300 is started for the second time or later.

以下の説明では、初回起動時にドングル200から取得する暗号化ライセンス情報を第一の暗号化ライセンス情報と呼ぶ。また、2回目以降の起動時にドングル200から取得する暗号化ライセンス情報を第二の暗号化ライセンス情報と呼ぶ。第一及び第二の暗号化ライセンス情報の詳細は後述する。   In the following description, the encrypted license information acquired from the dongle 200 at the first activation is referred to as first encrypted license information. The encrypted license information acquired from the dongle 200 at the second and subsequent startups is referred to as second encrypted license information. Details of the first and second encryption license information will be described later.

第一の暗号化ライセンス情報は、情報処理装置100がライセンス情報を暗号化し、ドングル200に書き込んだものである。また、第二の暗号化ライセンス情報は、画像形成装置300がライセンス情報を暗号化し、ドングル200に書き込んだものである。   The first encrypted license information is information that the information processing apparatus 100 encrypts and writes the license information to the dongle 200. The second encrypted license information is information obtained by the image forming apparatus 300 encrypting the license information and writing it in the dongle 200.

画像形成装置300は、第一又は第二の暗号化ライセンス情報を復号化することでライセンス情報を取得する。また、本実施形態の画像形成装置300は、第一又は第二の暗号化ライセンス情報を復号化する過程で、第一又は第二の暗号化ライセンス情報を一時的に保持する。   The image forming apparatus 300 acquires the license information by decrypting the first or second encrypted license information. Further, the image forming apparatus 300 of the present embodiment temporarily holds the first or second encrypted license information in the process of decrypting the first or second encrypted license information.

つまり、項目「暗号化ライセンス情報」の値は、一時的に保持された第一又は第二の暗号化ライセンス情報であり、図7の例では、「0123456789」が保持されているものとした。項目「暗号化ライセンス情報」の値は、後述する画像形成装置300の復号化の処理を適用することで、ライセンス情報に復号される。   That is, the value of the item “encrypted license information” is the first or second encrypted license information temporarily held, and “01234456789” is held in the example of FIG. The value of the item “encrypted license information” is decrypted into license information by applying a decryption process of the image forming apparatus 300 described later.

項目「ライセンス情報」の値は、画像形成装置300における所定の機能を使用可能にするための情報であり、情報処理装置100により暗号化されてドングル200に書き込まれる情報である。   The value of the item “license information” is information that enables a predetermined function in the image forming apparatus 300 to be used, and is information that is encrypted by the information processing apparatus 100 and written in the dongle 200.

本実施形態の項目「ライセンス情報」の値は、例えば画像形成装置300の特有の機能を示す情報であっても良い。画像形成装置300の特有の機能とは、例えば特定のページ記述言語が使用可能となる機能や、印刷の際に、複数のページを集約して印刷する集約機能等である。   The value of the item “license information” in the present embodiment may be information indicating a specific function of the image forming apparatus 300, for example. Specific functions of the image forming apparatus 300 include, for example, a function that enables a specific page description language to be used, an aggregation function that aggregates and prints a plurality of pages during printing, and the like.

画像形成装置300は、ドングル200からデータの取得や復号化を経て取得したライセンス情報を、画像形成装置300に設定し、画像形成装置300の動作を決定する。   The image forming apparatus 300 sets the license information acquired through data acquisition or decryption from the dongle 200 in the image forming apparatus 300 and determines the operation of the image forming apparatus 300.

項目「共通キー」の値は、図5で説明した共通キーと同様であるから説明を省略する。   The value of the item “common key” is the same as the common key described in FIG.

尚、以下の実施形態の説明では、項目「第二固有情報」の値を単に第二固有情報と呼び、項目「暗号化ライセンス情報」の値を単に暗号化ライセンス情報と呼び、項目「ライセンス情報」の値を単にライセンス情報と呼ぶ。   In the following description of the embodiment, the value of the item “second unique information” is simply referred to as second unique information, the value of the item “encrypted license information” is simply referred to as encrypted license information, and the item “license information”. "Is simply called license information.

次に、図8を参照して、情報処理装置100のドングル生成処理部110の処理について説明する。図8は、情報処理装置のドングル生成処理部の処理を説明するフローチャートである。   Next, processing of the dongle generation processing unit 110 of the information processing apparatus 100 will be described with reference to FIG. FIG. 8 is a flowchart for explaining processing of the dongle generation processing unit of the information processing apparatus.

本実施形態のドングル生成処理部110は、情報処理装置100の外部記憶装置I/F14に記憶媒体が接続されると、共通キー暗号化部113により、ドングル生成用データ116を参照し、ライセンス情報を共通キーで暗号化する(ステップS801)。   When a storage medium is connected to the external storage device I / F 14 of the information processing apparatus 100, the dongle generation processing unit 110 of the present embodiment refers to the dongle generation data 116 by the common key encryption unit 113, and the license information Is encrypted with the common key (step S801).

続いてドングル生成処理部110は、第一固有情報取得部111により、記憶媒体から第一固有情報を取得する。そして、ドングル生成処理部110は、第一固有情報暗号化部112により、ステップS801で暗号化したライセンス情報を、第一固有情報でさらに暗号化する(ステップS802)。本実施形態では、ステップS802で生成された暗号化ライセンス情報を、第一の暗号化ライセンス情報と呼ぶ。つまり、本実施形態の第一の暗号化ライセンス情報は、ライセンス情報を共通キーで暗号化したものを、さらに第一固有情報で暗号化した情報である。   Subsequently, the dongle generation processing unit 110 acquires the first specific information from the storage medium by the first specific information acquisition unit 111. Then, the dongle generation processing unit 110 further encrypts the license information encrypted in step S801 with the first unique information encryption unit 112 using the first unique information (step S802). In the present embodiment, the encrypted license information generated in step S802 is referred to as first encrypted license information. That is, the first encrypted license information of the present embodiment is information obtained by further encrypting the license information encrypted with the common key and the first unique information.

続いてドングル生成処理部110は、書込み部114により、ステップS802で暗号化された第一の暗号化ライセンス情報を記憶媒体へ書き込む(ステップS803)。   Subsequently, the dongle generation processing unit 110 uses the writing unit 114 to write the first encrypted license information encrypted in step S802 to the storage medium (step S803).

本実施形態では、この処理により、情報処理装置100と接続された記憶媒体がドングル200となる。   In the present embodiment, the storage medium connected to the information processing apparatus 100 becomes the dongle 200 by this processing.

尚、図8では、ステップS802において第一固有情報を取得するものとしたが、これに限定されない。第一固有情報を取得するタイミングは、例えば記憶媒体が情報処理装置100に接続されたときでも良いし、ドングル生成処理部110の処理が開始されたときであっても良い。   In FIG. 8, the first unique information is acquired in step S802, but the present invention is not limited to this. The timing for acquiring the first unique information may be, for example, when the storage medium is connected to the information processing apparatus 100 or when the processing of the dongle generation processing unit 110 is started.

以下に、図9を参照し、ドングル生成処理部110の処理をさらに説明する。図9は、ドングル生成処理部の処理を説明する図である。   Below, with reference to FIG. 9, the process of the dongle production | generation process part 110 is further demonstrated. FIG. 9 is a diagram for explaining processing of the dongle generation processing unit.

図9の状態(a)は、ドングル200となる記憶媒体が情報処理装置100に接続される前の状態である。   The state (a) in FIG. 9 is a state before the storage medium to be the dongle 200 is connected to the information processing apparatus 100.

状態(a)において、記憶媒体は、第一固有情報のみを保持しており、情報処理装置100は、暗号化されていないライセンス情報と、画像形成装置300と共通の共通キーと、を保持している。   In the state (a), the storage medium holds only the first unique information, and the information processing apparatus 100 holds the unencrypted license information and the common key shared with the image forming apparatus 300. ing.

状態(a)において、ドングル生成処理部110の共通キー暗号化部113が、画像形成装置300との共通キーを用いてライセンス情報を暗号化すると、状態(b)となる。   In the state (a), when the common key encryption unit 113 of the dongle generation processing unit 110 encrypts the license information using the common key with the image forming apparatus 300, the state (b) is obtained.

状態(b)において、ドングル生成処理部110の第一固有情報取得部111がドングル200となる記憶媒体から第一固有情報を取得する。そして、ドングル生成処理部110の第一固有情報暗号化部112が、第一固有情報により、共通キーで暗号化されたライセンス情報をさらに暗号化すると、ライセンス情報が第一の暗号化ライセンス情報となり、状態(c)となる。   In the state (b), the first unique information acquisition unit 111 of the dongle generation processing unit 110 acquires the first unique information from the storage medium that becomes the dongle 200. When the first unique information encryption unit 112 of the dongle generation processing unit 110 further encrypts the license information encrypted with the common key using the first unique information, the license information becomes the first encrypted license information. , State (c).

状態(c)において、ドングル生成処理部110が、共通キーと第一固有情報の2つのキーで暗号化された、第一の暗号化ライセンス情報を記憶媒体に書き込むことで、状態(d)となりドングル200の生成が完了する。   In the state (c), the dongle generation processing unit 110 writes the first encrypted license information encrypted with the two keys of the common key and the first unique information to the storage medium, so that the state (d) is obtained. The generation of the dongle 200 is completed.

次に、図10を参照して、画像形成装置300の管理処理部310の処理について説明する。図10は、画像形成装置の管理処理部の処理を説明する第一のフローチャートである。   Next, processing of the management processing unit 310 of the image forming apparatus 300 will be described with reference to FIG. FIG. 10 is a first flowchart illustrating the processing of the management processing unit of the image forming apparatus.

図10に示す処理は、画像形成装置300の初回起動時の処理を示している。尚、初回起動時とは、例えば画像形成装置300の工場出荷時の状態から、初めて起動させる場合等である。また、図10に示す処理は、例えば画像形成装置300に電源が投入されたときから、画像形成装置300が使用可能な状態になるまでの間に実行される処理である。   The process shown in FIG. 10 shows a process when the image forming apparatus 300 is started for the first time. The initial activation is, for example, a case where the image forming apparatus 300 is activated for the first time from a factory shipment state. The process illustrated in FIG. 10 is a process that is executed, for example, from when the image forming apparatus 300 is turned on until the image forming apparatus 300 becomes usable.

本実施形態の画像形成装置300の管理処理部310は、ドングル200が接続されると、データ取得部320により、ドングル200から第一の暗号化ライセンス情報を取得する。また、管理処理部310は、第一固有情報取得部312により、ドングル200から第一固有情報を取得する。そして、管理処理部310は、第一固有情報復号化部314により、第一の暗号化ライセンス情報を第一固有情報で復号化する(ステップS1001)。ここでライセンス情報は、共通キー1つにより暗号化された状態の情報となる。また、管理処理部310は、ここで取得した第一固有情報を管理用データ330の項目「第一固有情報」の値として格納する。   When the dongle 200 is connected, the management processing unit 310 of the image forming apparatus 300 according to the present embodiment acquires the first encrypted license information from the dongle 200 by the data acquisition unit 320. In addition, the management processing unit 310 acquires the first specific information from the dongle 200 by the first specific information acquisition unit 312. Then, the management processing unit 310 uses the first unique information decryption unit 314 to decrypt the first encrypted license information with the first unique information (step S1001). Here, the license information is information in a state encrypted with one common key. Further, the management processing unit 310 stores the first unique information acquired here as the value of the item “first unique information” of the management data 330.

続いて管理処理部310は、共通キー復号化部315により、ステップS1001において復号化された情報を、共通キーにより復号化する(ステップS1002)。ここで、第一の暗号化ライセンス情報は、第一固有情報及び共通キーの両方により復号化され、暗号化前のライセンス情報となる。暗号化前のライセンス情報とは、例えば情報処理装置100のドングル生成用データ116に含まれるライセンス情報「機能A」である。   Subsequently, the management processing unit 310 uses the common key decryption unit 315 to decrypt the information decrypted in step S1001 with the common key (step S1002). Here, the first encrypted license information is decrypted with both the first unique information and the common key, and becomes license information before encryption. The license information before encryption is, for example, license information “function A” included in the dongle generation data 116 of the information processing apparatus 100.

続いて管理処理部310は、ライセンス情報設定部319により、ステップS1002で取得したライセンス情報を画像形成装置300に設定する(ステップS1003)。本実施形態では、ライセンス情報「機能A」を画像形成装置300に設定することで、画像形成装置300の機能Aが使用可能となる。尚、ライセンス情報は、画像形成装置300において使用可能とする機能と対応付けられていればよい。例えば、情報処理装置100と画像形成装置300の管理者が、予めライセンス情報「1」と機能Aとを対応付けておけば、ライセンス情報は「1」となる。   Subsequently, the management processing unit 310 uses the license information setting unit 319 to set the license information acquired in step S1002 in the image forming apparatus 300 (step S1003). In the present embodiment, by setting the license information “function A” in the image forming apparatus 300, the function A of the image forming apparatus 300 can be used. The license information only needs to be associated with a function that can be used in the image forming apparatus 300. For example, if the administrator of the information processing apparatus 100 and the image forming apparatus 300 associates the license information “1” with the function A in advance, the license information is “1”.

続いて管理処理部310は、起動部326により、設定されたライセンス情報に基づき、画像形成装置300を起動する(ステップS1004)。つまり、起動部326は、機能Aが使用可能な状態で起動される。   Subsequently, the management processing unit 310 activates the image forming apparatus 300 based on the set license information by the activation unit 326 (step S1004). That is, the activation unit 326 is activated in a state where the function A can be used.

続いて管理処理部310は、第二固有情報取得部313により管理用データ330から第二固有情報を取得し、第二固有情報暗号化部324により、ライセンス情報を、第二固有情報により暗号化する(ステップS1005)。   Subsequently, the management processing unit 310 acquires the second specific information from the management data 330 by the second specific information acquisition unit 313, and encrypts the license information by the second specific information by the second specific information encryption unit 324. (Step S1005).

続いて管理処理部310は、管理用データ330から共通キーを取得し、共通キー暗号化部323により、ステップS1005で暗号化された情報を共通キーにより暗号化する(ステップS1006)。つまり、ライセンス情報は、ステップS1006で、第二固有情報と共通キーで暗号化された情報となる。   Subsequently, the management processing unit 310 acquires a common key from the management data 330, and the common key encryption unit 323 encrypts the information encrypted in step S1005 with the common key (step S1006). That is, the license information becomes information encrypted with the second unique information and the common key in step S1006.

続いて管理処理部310は、管理用データ330から第一固有情報を取得し、第一固有情報暗号化部322により、ステップS1006で暗号化された情報を第一固有情報により暗号化する(ステップS1007)。つまり、ライセンス情報は、ステップS1007で、第二固有情報及び共通キーで暗号化されたライセンス情報を、第一固有情報でさらに暗号化した第二の暗号化ライセンス情報となる。このとき、第二の暗号化ライセンス情報において、画像形成装置300とドングル200とが対応付けられる。   Subsequently, the management processing unit 310 acquires the first unique information from the management data 330, and the first unique information encryption unit 322 encrypts the information encrypted in Step S1006 with the first unique information (Step S1006). S1007). That is, the license information becomes second encrypted license information obtained by further encrypting the license information encrypted with the second unique information and the common key in step S1007 with the first unique information. At this time, the image forming apparatus 300 and the dongle 200 are associated with each other in the second encryption license information.

続いて管理処理部310は、書込み部325により、ステップS1007で生成された第二の暗号化ライセンス情報をドングル200へ書き込む(ステップS1008)。つまり、ドングル200には、ライセンス情報を第二固有情報、共通キー及び第一固有情報で暗号化した、第二の暗号化ライセンス情報が書き込まれる。   Subsequently, the management processing unit 310 writes the second encrypted license information generated in step S1007 to the dongle 200 by the writing unit 325 (step S1008). That is, in the dongle 200, the second encrypted license information obtained by encrypting the license information with the second unique information, the common key, and the first unique information is written.

以下に、図11を参照して、画像形成装置300の初回起動時の管理処理部310の処理をさらに説明する。図11は、画像形成装置の初回起動時の管理処理部の処理を説明する図である。   Hereinafter, with reference to FIG. 11, the processing of the management processing unit 310 when the image forming apparatus 300 is activated for the first time will be further described. FIG. 11 is a diagram illustrating processing of the management processing unit when the image forming apparatus is first activated.

図11に示す状態(a)では、ドングル200は、共通キーと第一固有情報の2つのキーにより暗号化された第一の暗号化ライセンス情報と、第一固有情報が格納されている状態である(図8,9参照)。また、状態(a)では、画像形成装置300は、第二固有情報と共通キーとが格納されている状態である。   In the state (a) shown in FIG. 11, the dongle 200 stores the first encrypted license information encrypted with the two keys of the common key and the first unique information, and the first unique information. Yes (see FIGS. 8 and 9). In the state (a), the image forming apparatus 300 stores the second unique information and the common key.

状態(a)において、画像形成装置300が、ドングル200から第一の暗号化ライセンス情報と第一固有情報とを取得し、第一固有情報により第一の暗号化ライセンス情報を復号化する。さらに画像形成装置300は、共通キーにより復号化された情報をさらに復号化することで、暗号化されていないライセンス情報を取得する。   In the state (a), the image forming apparatus 300 acquires the first encrypted license information and the first unique information from the dongle 200, and decrypts the first encrypted license information using the first unique information. Further, the image forming apparatus 300 further acquires the unencrypted license information by further decrypting the information decrypted with the common key.

状態(b)は、暗号化されていないライセンス情報が画像形成装置300に設定された状態である。   The state (b) is a state in which unencrypted license information is set in the image forming apparatus 300.

状態(b)において、画像形成装置300は、暗号化されていないライセンス情報を、第二固有情報により暗号化し、さらに暗号化された情報を共通キーにより暗号化する。そして、画像形成装置300は、暗号化された情報をさらにドングル200から取得した第一固有情報により暗号化することで、3つのキーで暗号化された第二の暗号化ライセンス情報を生成する。第二の暗号化ライセンス情報が生成された状態が、状態(c)となる。   In the state (b), the image forming apparatus 300 encrypts the unencrypted license information with the second unique information, and further encrypts the encrypted information with the common key. The image forming apparatus 300 further encrypts the encrypted information with the first unique information acquired from the dongle 200, thereby generating second encrypted license information encrypted with the three keys. The state where the second encrypted license information is generated is the state (c).

状態(c)において、画像形成装置300は、生成した第二の暗号化ライセンス情報をドングル200に書き込み、画像形成装置300から第二の暗号化ライセンス情報を削除することで、状態(d)となり、画像形成装置300の初回起動時の処理が完了する。   In the state (c), the image forming apparatus 300 writes the generated second encrypted license information in the dongle 200 and deletes the second encrypted license information from the image forming apparatus 300, thereby entering the state (d). Then, the processing at the first activation of the image forming apparatus 300 is completed.

したがって、本実施形態では、初回起動時の処理が完了した後は、ライセンス情報は、ドングル200の固有情報である第一固有情報、情報処理装置100と画像形成装置300の共通のキー、画像形成装置300の固有情報である第二固有情報で暗号化される。   Therefore, in the present embodiment, after the processing at the first activation is completed, the license information includes the first unique information that is unique information of the dongle 200, a common key between the information processing apparatus 100 and the image forming apparatus 300, and image formation. Encryption is performed using second unique information that is unique information of the device 300.

よって、本実施形態によれば、画像形成装置300は、初回起動時に接続されていたドングル200と画像形成装置300の組み合わせでしか起動できない。   Therefore, according to the present embodiment, the image forming apparatus 300 can be activated only by a combination of the dongle 200 and the image forming apparatus 300 that were connected at the first activation.

このため、例えば画像形成装置300の初回起動時に画像形成装置300に接続されたドングル200が不正にコピーされたとしても、不正にコピーされたドングルは、ドングル200の固有情報を有していないため、画像形成装置300を起動させることができない。また、ドングル200を用いて画像形成装置300以外の他の画像形成装置を起動させようとしても、他の画像形成装置は、画像形成装置300の固有情報を有していないため、他の画像形成装置を起動させることはできない。   Therefore, for example, even if the dongle 200 connected to the image forming apparatus 300 is illegally copied when the image forming apparatus 300 is activated for the first time, the illegally copied dongle does not have the unique information of the dongle 200. The image forming apparatus 300 cannot be activated. In addition, even if another image forming apparatus other than the image forming apparatus 300 is activated using the dongle 200, the other image forming apparatus does not have the unique information of the image forming apparatus 300. The device cannot be activated.

また、仮にドングル200が、画像形成装置300の初回起動の前に不正にコピーしたドングルで他の画像形成装置を起動させようとした場合でも、他の画像形成装置は、第一の暗号化ライセンス情報を復号化するための共通キーを有していないため、起動させることができない。   Even if the dongle 200 tries to start another image forming apparatus with a dongle illegally copied before the image forming apparatus 300 is started for the first time, the other image forming apparatus does not use the first encryption license. Since it does not have a common key for decrypting information, it cannot be activated.

このように、本実施形態では、一度ドングル200と画像形成装置300とが接続されると、ライセンス情報がドングル200の固有情報と、画像形成装置300の固有情報とにより暗号化される。よって、本実施形態では、ドングル200と画像形成装置300との1対1の対応付けを行うことができ、ライセンス情報の管理におけるセキュリティを向上させることができる。   Thus, in this embodiment, once the dongle 200 and the image forming apparatus 300 are connected, the license information is encrypted with the unique information of the dongle 200 and the unique information of the image forming apparatus 300. Therefore, in the present embodiment, the one-to-one correspondence between the dongle 200 and the image forming apparatus 300 can be performed, and the security in managing license information can be improved.

また、本実施形態では、共通キーを用いて暗号化の方式を守ることで、暗号化されたライセンス情報が解析されることを抑制している。   In the present embodiment, analysis of encrypted license information is suppressed by protecting the encryption method using a common key.

次に、図12を参照し、画像形成装置300の2回目以降の起動の際の管理処理部310の処理について説明する。図12は、画像形成装置の管理処理部の処理を説明する第二のフローチャートである。   Next, processing of the management processing unit 310 when the image forming apparatus 300 is started for the second time or later will be described with reference to FIG. FIG. 12 is a second flowchart illustrating the processing of the management processing unit of the image forming apparatus.

本実施形態の管理処理部310は、データ取得部320により、ドングル200から第二の暗号化ライセンス情報を取得し、第一固有情報取得部312により取得した第一固有情報により、第二の暗号化ライセンス情報を復号化する(ステップS1201)。尚、ドングル200には、画像形成装置300の初回起動時に第二の暗号化ライセンス情報が格納される。   The management processing unit 310 according to the present embodiment acquires the second encrypted license information from the dongle 200 by the data acquisition unit 320 and uses the first specific information acquired by the first specific information acquisition unit 312 to generate the second encryption license information. The license information is decrypted (step S1201). The dongle 200 stores the second encrypted license information when the image forming apparatus 300 is activated for the first time.

続いて管理処理部310は、共通キー復号化部315により、ステップS1201で復号化された情報を、共通キーにより復号化する(ステップS1202)。続いて管理処理部310は、第二固有情報取得部313により第二固有情報を取得し、第二固有情報復号化部316により、ステップS1202で復号化した情報をさらに復号化する(ステップS1203)。本実施形態では、このときに第二の暗号化ライセンス情報が、暗号化されていないライセンス情報に復号化される。   Subsequently, the management processing unit 310 uses the common key decryption unit 315 to decrypt the information decrypted in step S1201 using the common key (step S1202). Subsequently, the management processing unit 310 acquires the second specific information by the second specific information acquisition unit 313, and further decodes the information decoded in step S1202 by the second specific information decoding unit 316 (step S1203). . In this embodiment, the second encrypted license information is decrypted into unencrypted license information at this time.

続いて管理処理部310は、ステップS1203で取得したライセンス情報と、画像形成装置300に設定されているライセンス情報とが一致するか否かを判定する(ステップS1204)。尚、画像形成装置300は、初回起動時にドングル200に格納されているライセンス情報が設定されている。   Subsequently, the management processing unit 310 determines whether or not the license information acquired in step S1203 matches the license information set in the image forming apparatus 300 (step S1204). Note that the license information stored in the dongle 200 is set in the image forming apparatus 300 for the first activation.

ステップS1204において一致する場合、管理処理部310は、起動部326により、設定されているライセンス情報に基づき、画像形成装置300を起動させる(ステップS1205)。具体的には、起動部326は、画像形成装置300において、ライセンス情報が示す機能を使用できる状態とする。   If they match in step S1204, the management processing unit 310 causes the activation unit 326 to activate the image forming apparatus 300 based on the set license information (step S1205). Specifically, the activation unit 326 sets the image forming apparatus 300 in a state where the function indicated by the license information can be used.

ステップS1204において一致しない場合、管理処理部310は、エラー情報通知部321により、ライセンス情報が一致しないことを示すエラーを画像形成装置300の操作表示装置41に表示させる。そして、管理処理部310は、起動部326により、画像形成装置300を、印刷ができないエラーモードの状態で起動させる(ステップS1206)。   If they do not match in step S1204, the management processing unit 310 causes the error information notification unit 321 to display an error indicating that the license information does not match on the operation display device 41 of the image forming apparatus 300. Then, the management processing unit 310 causes the activation unit 326 to activate the image forming apparatus 300 in an error mode state in which printing is not possible (step S1206).

次に、図13を参照し、本実施形態の初回起動時及び2回目以降の起動時を含む画像形成装置300の起動について説明する。図13は、画像形成装置の起動処理を説明するフローチャートである。   Next, with reference to FIG. 13, the activation of the image forming apparatus 300 including the first activation and the second and subsequent activations of the present embodiment will be described. FIG. 13 is a flowchart for explaining the activation process of the image forming apparatus.

本実施形態の画像形成装置300は、管理処理部310のドングル検知部311により、ドングル200が接続されているか否かを判定する(ステップS1301)。ステップS1301において、ドングル200が接続されていない場合、管理処理部310は、エラー情報通知部321により、ドングル200が接続されていないことを示すエラーを操作表示装置41に表示させ、起動部326により、画像形成装置300を、印刷ができないエラーモードの状態で起動させ(ステップS1302)、処理を終了する。   In the image forming apparatus 300 according to the present exemplary embodiment, the dongle detection unit 311 of the management processing unit 310 determines whether the dongle 200 is connected (step S1301). In step S1301, if the dongle 200 is not connected, the management processing unit 310 causes the error information notification unit 321 to display an error indicating that the dongle 200 is not connected on the operation display device 41, and the start unit 326. Then, the image forming apparatus 300 is activated in an error mode state in which printing is not possible (step S1302), and the process ends.

ステップS1301において、ドングル200が接続されている場合、管理処理部310は、第一固有情報取得部312によりドングル200から第一固有情報を取得する。そして、管理処理部310は、第一固有情報復号化部314により、ドングル200から取得した暗号化ライセンス情報を第一固有情報により復号化する(ステップS1303)。尚、ここでは、ドングル200から取得した暗号化ライセンス情報は、第一の暗号化ライセンス情報であるか、第二の暗号化ライセンス情報であるか判明していない。   In step S <b> 1301, when the dongle 200 is connected, the management processing unit 310 acquires the first unique information from the dongle 200 by the first unique information acquisition unit 312. Then, the management processing unit 310 uses the first unique information decryption unit 314 to decrypt the encrypted license information acquired from the dongle 200 with the first unique information (step S1303). Here, it is not known whether the encryption license information acquired from the dongle 200 is the first encryption license information or the second encryption license information.

続いて管理処理部310は、共通キー復号化部315により、ステップS1303で復号化した情報を、共通キーによりさらに復号化する(ステップS1304)。   Subsequently, the management processing unit 310 further decrypts the information decrypted in step S1303 by the common key decryption unit 315 using the common key (step S1304).

続いて管理処理部310は、ライセンス情報判定部317により、ステップS1304において復号化した情報が、ライセンス情報を示しているか否かを判定する(ステップS1305)。   Subsequently, the management processing unit 310 determines whether the information decrypted in step S1304 indicates license information by the license information determination unit 317 (step S1305).

ステップS1305において、ライセンス情報を示している場合、管理処理部310は、設定有無判定部327により、画像形成装置300に既にライセンス情報が設定されているか否かを判定する(ステップS1306)。   When license information is indicated in step S1305, the management processing unit 310 determines whether the license information has already been set in the image forming apparatus 300 by the setting presence / absence determination unit 327 (step S1306).

ステップS1305において、ライセンス情報を示す場合とは、ドングル200に格納されていた暗号化ライセンス情報は、第一固有情報と共通キーとの復号化でライセンス情報となった場合である。このときドングル200に格納されていた暗号化ライセンス情報は、第一の暗号化ライセンス情報であり、ドングル200と画像形成装置300とが1度も接続されていない状態である。つまり、第一の暗号化ライセンス情報は、ドングル200と画像形成装置300とを対応付けていない。   The case where the license information is indicated in step S1305 is a case where the encrypted license information stored in the dongle 200 becomes license information by decrypting the first unique information and the common key. The encryption license information stored in the dongle 200 at this time is the first encryption license information, and the dongle 200 and the image forming apparatus 300 are never connected. That is, the first encryption license information does not associate the dongle 200 with the image forming apparatus 300.

また、ステップS1305でライセンス情報を示しており、且つステップS1306においてライセンス情報が設定されている場合とは、画像形成装置300のライセンス情報の設定に用いたドングル200が、何らかの事情により破損した場合等を示している。   Also, the license information is shown in step S1305 and the license information is set in step S1306. The case where the dongle 200 used for setting the license information of the image forming apparatus 300 is damaged for some reason. Is shown.

この場合、管理処理部310は、ライセンス情報比較部318により、ステップS1305で取得したライセンス情報と、画像形成装置300に設定されたライセンス情報とが一致するか否かを判定する(ステップS1307)。ステップS1307において一致しない場合、管理処理部310は、起動部326により、ライセンス情報が一致しないことを示すエラーを画像形成装置300の操作表示装置41に表示させる。そして、管理処理部310は、エラー情報通知部321により、画像形成装置300を、印刷ができないエラーモードの状態で起動させ(ステップS1308)、処理を終了する。   In this case, the management processing unit 310 determines whether the license information acquired in step S1305 matches the license information set in the image forming apparatus 300 by the license information comparison unit 318 (step S1307). If they do not match in step S 1307, the management processing unit 310 causes the activation unit 326 to display an error indicating that the license information does not match on the operation display device 41 of the image forming apparatus 300. Then, the management processing unit 310 causes the error information notification unit 321 to activate the image forming apparatus 300 in an error mode state in which printing is not possible (step S1308), and ends the processing.

ステップS1307においてライセンス情報が一致する場合、管理処理部310は、画像形成装置300を設定されたライセンス情報に基づき起動させる(ステップS1309)。   If the license information matches in step S1307, the management processing unit 310 activates the image forming apparatus 300 based on the set license information (step S1309).

ステップS1309からステップS1313までの処理は、図10で説明した初回起動時の処理におけるステップS1004からステップS1008までの処理と同様であるから、説明を省略する。   The processing from step S1309 to step S1313 is the same as the processing from step S1004 to step S1008 in the processing at the first activation described with reference to FIG.

ステップS1305でライセンス情報を示しており、且つステップS1306においてライセンス情報が設定されていない場合とは、画像形成装置300がドングル200を用いて初めて起動される場合であり、ドングル200は、初めて画像形成装置300と接続される場合である。   The case where the license information is shown in step S1305 and the license information is not set in step S1306 is a case where the image forming apparatus 300 is activated for the first time using the dongle 200. This is a case where the apparatus 300 is connected.

つまり、ステップS1306において、ライセンス情報が設定されていない場合のステップS1314からステップS1319までの処理は、画像形成装置300の初回起動時の処理の一部であり、図10のステップS1003からステップS1008までの処理と同様であるから、説明を省略する。   In other words, the processing from step S1314 to step S1319 when the license information is not set in step S1306 is a part of the processing at the first activation of the image forming apparatus 300, and from step S1003 to step S1008 in FIG. Since this is the same as the above processing, the description thereof is omitted.

ステップS1305において、ライセンス情報を示していない場合、管理処理部310は、第二固有情報復号化部316により、ステップS1304で復号化した情報を、第二固有情報により復号化する(ステップS1320)。   When license information is not indicated in step S1305, the management processing unit 310 uses the second specific information decoding unit 316 to decode the information decoded in step S1304 with the second specific information (step S1320).

続いて管理処理部310は、ライセンス情報判定部317により、ステップS1320において復号化した情報が、ライセンス情報を示しているか否かを判定する(ステップS1321)。   Subsequently, the management processing unit 310 determines whether the information decrypted in step S1320 indicates license information by the license information determination unit 317 (step S1321).

ステップS1321でライセンス情報を示す場合とは、ドングル200に格納されていた暗号化ライセンス情報は、第一固有情報と共通キーと第二固有情報との復号化でライセンス情報となった場合である。つまり、このときドングル200に格納されていた暗号化ライセンス情報は、第二の暗号化ライセンス情報であり、画像形成装置300の起動が2回目以降の起動である。また、このとき、ドングル200と画像形成装置300とは、第二の暗号化ライセンス情報により、一対一で対応付けられている状態である。   The case where the license information is indicated in step S1321 is a case where the encrypted license information stored in the dongle 200 becomes license information by decrypting the first unique information, the common key, and the second unique information. That is, the encryption license information stored in the dongle 200 at this time is the second encryption license information, and the image forming apparatus 300 is activated for the second time or later. At this time, the dongle 200 and the image forming apparatus 300 are in a one-to-one correspondence with the second encryption license information.

管理処理部310は、設定有無判定部327により画像形成装置300にライセンス情報が設定されているか否かを判定する(ステップS1322)。   The management processing unit 310 determines whether or not the license information is set in the image forming apparatus 300 by the setting presence / absence determination unit 327 (step S1322).

ステップS1322において、ライセンス情報が設定されていない場合、管理処理部310は、ライセンス情報設定部319により、ステップS1320で復号化されたライセンス情報を画像形成装置300に設定する(ステップS1323)。   If the license information is not set in step S1322, the management processing unit 310 sets the license information decrypted in step S1320 in the image forming apparatus 300 by the license information setting unit 319 (step S1323).

尚、画像形成装置300が2回目以降の起動であり、且つライセンス情報が設定されていない場合とは、何らかの理由により、画像形成装置300においてライセンス情報が格納されているメモリが破損した場合等である。   The case where the image forming apparatus 300 is activated for the second time or later and the license information is not set is, for example, when the memory storing the license information in the image forming apparatus 300 is damaged for some reason. is there.

続いて管理処理部310は、起動部326により、設定されたライセンス情報に基づき、画像形成装置300を起動させ(ステップS1324)、処理を終了する。   Subsequently, the management processing unit 310 causes the activation unit 326 to activate the image forming apparatus 300 based on the set license information (step S1324), and ends the processing.

ステップS1322において、ライセンス情報が設定されている場合、ステップS1325以降の処理は、図12で説明した画像形成装置300の2回目以降の起動の処理の一部である。ステップS1325からステップS1327までの処理は、図12のステップS1204からステップS1206までの処理と同様であるから、説明を省略する。   If the license information is set in step S1322, the processing after step S1325 is a part of the second and subsequent activation processing of the image forming apparatus 300 described in FIG. The processing from step S1325 to step S1327 is the same as the processing from step S1204 to step S1206 in FIG.

ステップS1321において、ライセンス情報を示していない場合、管理処理部310は、エラー情報通知部321により、不正なドングルであることを示すエラーを操作表示装置41に表示させ、起動部326により、画像形成装置300を印刷ができないエラーモードの状態で起動させ(ステップS1328)、処理を終了する。   In step S1321, if the license information is not indicated, the management processing unit 310 causes the error information notification unit 321 to display an error indicating that it is an illegal dongle on the operation display device 41, and the activation unit 326 performs image formation. The apparatus 300 is activated in an error mode state in which printing is not possible (step S1328), and the process ends.

以上のように、本実施形態によれば、画像形成装置300は、ドングル200の接続を検知すると第一固有情報と共通キーでドングル200内の暗号化ライセンス情報を復号化する。そして、画像形成装置300は、その結果がライセンス情報であった場合、このライセンス情報を第一固有情報と共通キー及び第二固有情報で暗号化した第二の暗号化ライセンス情報を生成し、ドングル200へ書き込む。   As described above, according to the present embodiment, when the connection of the dongle 200 is detected, the image forming apparatus 300 decrypts the encrypted license information in the dongle 200 using the first unique information and the common key. When the result is license information, the image forming apparatus 300 generates second encrypted license information obtained by encrypting the license information with the first unique information, the common key, and the second unique information, and the dongle Write to 200.

したがって、本実施形態によれば、ドングル200が画像形成装置300と接続されることで、ドングル200と画像形成装置300のそれぞれには、第一固有情報と共通キー及び第二固有情報で暗号化された第二の暗号化ライセンス情報が格納されることになる。本実施形態では、これにより、ドングル200と画像形成装置300とが1対1の関係に対応付けられ、画像形成装置300はドングル200以外のドングルでは起動できなくなる。したがって、本実施形態によれば、ライセンス情報の管理におけるセキュリティを向上させることができる。   Therefore, according to the present embodiment, when the dongle 200 is connected to the image forming apparatus 300, each of the dongle 200 and the image forming apparatus 300 is encrypted with the first unique information, the common key, and the second unique information. The second encrypted license information thus stored is stored. In the present embodiment, the dongle 200 and the image forming apparatus 300 are associated with each other in a one-to-one relationship, and the image forming apparatus 300 cannot be activated by a dongle other than the dongle 200. Therefore, according to the present embodiment, security in management of license information can be improved.

尚、本実施形態における暗号化と復号化の順番は、上述した順番に限定されない。本実施形態における暗号化と復号化の順番は、暗号時と復号時のそれぞれが対応していれば、どのような順番で行っても良い。   Note that the order of encryption and decryption in this embodiment is not limited to the order described above. The order of encryption and decryption in the present embodiment may be performed in any order as long as they correspond to each other during encryption and decryption.

以上、各実施形態に基づき本発明の説明を行ってきたが、上記実施形態に示した要件に本発明が限定されるものではない。これらの点に関しては、本発明の主旨をそこなわない範囲で変更することができ、その応用形態に応じて適切に定めることができる。   As mentioned above, although this invention has been demonstrated based on each embodiment, this invention is not limited to the requirements shown in the said embodiment. With respect to these points, the gist of the present invention can be changed without departing from the scope of the present invention, and can be appropriately determined according to the application form.

100 情報処理装置
110 ドングル生成処理部
111、312 第一固有情報取得部
112、322 第一固有情報暗号化部
113、323 共通キー暗号化部
114、325 書込み部
115 ドングル生成用データ記憶部
116 ドングル生成用データ
200 ドングル
300 画像形成装置
310 管理処理部
311 ドングル検知部
313 第二固有情報取得部
314 第一固有情報復号化部
315 共通キー復号化部
316 第二固有情報復号化部
326 起動部
328 管理用データ記憶部
330 管理用データ
DESCRIPTION OF SYMBOLS 100 Information processing apparatus 110 Dongle production | generation process part 111,312 First specific information acquisition part 112,322 First unique information encryption part 113,323 Common key encryption part 114,325 Writing part 115 Dongle production | generation data storage part 116 Dongle Data for generation 200 Dongle 300 Image forming apparatus 310 Management processing unit 311 Dongle detection unit 313 Second unique information acquisition unit 314 First unique information decryption unit 315 Common key decryption unit 316 Second unique information decryption unit 326 Activation unit 328 Management data storage unit 330 Management data

特開2006−277527号公報JP 2006-277527 A

Claims (6)

所定の機能を使用可能とするライセンス情報に応じて動作する情報処理装置であって、
記憶媒体の接続を検知して、前記記憶媒体から、前記記憶媒体を一意に特定する第一固有情報と、前記ライセンス情報を暗号化した第一の暗号化ライセンス情報とを取得するデータ取得部と、
前記第一の暗号化ライセンス情報を復号化して、前記情報処理装置と、前記記憶媒体とが対応付けられているか否かを判定する判定部と、
前記情報処理装置と、前記記憶媒体とが対応付けられていないとき、復号化された前記ライセンス情報を、前記第一固有情報と、前記情報処理装置を一意に特定する第二固有情報とを用いて暗号化した第二の暗号化ライセンス情報として、前記記憶媒体へ書き込む書込み部と、
前記情報処理装置と、前記記憶媒体とが対応付けられていないとき、共通キー復号化部によって復号化された前記ライセンス情報を前記情報処理装置において使用可能とする機能と対応付けるライセンス情報設定部と、
前記共通キー復号化部によって復号化された前記ライセンス情報を、前記第二固有情報を用いて暗号化する第二固有情報暗号化部と、
前記第二固有情報暗号化部により暗号化された情報を、共通キーを用いて暗号化する共通キー暗号化部と、
前記共通キー暗号化部により暗号化された情報を、前記第一固有情報を用いて暗号化する第一固有情報暗号化部と、を有し、
前記書き込み部は、
前記第一固有情報暗号化部により暗号化された情報を第二の暗号化ライセンス情報として、前記記憶媒体へ書き込む、情報処理装置。
An information processing apparatus that operates according to license information that enables a predetermined function,
A data acquisition unit that detects connection of a storage medium and acquires, from the storage medium, first unique information that uniquely identifies the storage medium, and first encrypted license information obtained by encrypting the license information; ,
A determination unit that decrypts the first encryption license information and determines whether the information processing apparatus and the storage medium are associated with each other;
When the information processing apparatus and the storage medium are not associated with each other, the decrypted license information is used using the first specific information and the second specific information that uniquely identifies the information processing apparatus. A writing unit for writing to the storage medium as the second encrypted license information encrypted by
A license information setting unit that associates the license information decrypted by the common key decryption unit with a function that can be used in the information processing device when the information processing device and the storage medium are not associated;
A second unique information encryption unit that encrypts the license information decrypted by the common key decryption unit using the second unique information;
A common key encryption unit that encrypts the information encrypted by the second unique information encryption unit using a common key;
A first unique information encryption unit that encrypts information encrypted by the common key encryption unit using the first unique information;
The writing unit
An information processing apparatus that writes information encrypted by the first unique information encryption unit to the storage medium as second encrypted license information .
前記第一固有情報により前記第一の暗号化ライセンス情報を復号化する第一固有情報復号化部を有し、
前記共通キー復号化部は、
前記第一の暗号化ライセンス情報を前記記憶媒体に格納した他の情報処理装置と、前記情報処理装置とが共通して有する共通キーにより、前記第一固有情報復号化部により復号化された情報を復号化し
前記判定部は、
前記共通キー復号化部により復号化された情報が、前記ライセンス情報を示すとき、前記記憶媒体と前記情報処理装置とが、前記第一固有情報と、前記第二固有情報とにより対応付けられていないと判定し、
前記共通キー復号化部により復号化された情報が、前記ライセンス情報を示していないとき、前記記憶媒体と前記情報処理装置とが、前記第一固有情報と、前記第二固有情報とにより対応付けられていると判定する、請求項1記載の情報処理装置。
A first unique information decryption unit for decrypting the first encrypted license information with the first unique information ;
The common key decryption unit
Information decrypted by the first unique information decryption unit using a common key shared by the information processing apparatus and the other information processing apparatus that stores the first encrypted license information in the storage medium decrypt the,
The determination unit
When the information decrypted by the common key decryption unit indicates the license information, the storage medium and the information processing apparatus are associated with each other by the first unique information and the second unique information. It is determined that
When the information decrypted by the common key decryption unit does not indicate the license information, the storage medium and the information processing apparatus are associated by the first unique information and the second unique information. The information processing apparatus according to claim 1, wherein the information processing apparatus determines that it has been performed.
前記共通キー復号化部により復号化された情報が、前記ライセンス情報を示していないとき、前記共通キー復号化部により復号化された情報を、前記第二固有情報により復号化する第二固有情報復号化部を有する請求項記載の情報処理装置。 Second unique information for decrypting information decrypted by the common key decryption unit with the second unique information when the information decrypted by the common key decryption unit does not indicate the license information The information processing apparatus according to claim 2, further comprising a decoding unit. 前記第二固有情報復号化部により復号化された前記ライセンス情報が、前記ライセンス情報設定部により使用可能とする機能と対応付けられた前記ライセンス情報と一致するか否かを判定するライセンス情報比較部と、
前記ライセンス情報が一致するとき、前記情報処理装置における前記所定の機能を使用可能とする起動部と、を有する請求項記載の情報処理装置。
A license information comparison unit that determines whether or not the license information decrypted by the second unique information decryption unit matches the license information associated with the function that can be used by the license information setting unit When,
The information processing apparatus according to claim 3 , further comprising: an activation unit that enables the predetermined function in the information processing apparatus when the license information matches.
前記他の情報処理装置は、
前記記憶媒体が接続されたとき、前記記憶媒体から前記第一固有情報を取得する第一固有情報取得部と、
予め与えられた前記ライセンス情報を前記共通キーにより暗号化する第一暗号化部と、
前記第一暗号化部により暗号化された情報を、前記第一固有情報により暗号化する第二暗号化部と、を有し、
当該情報処理装置は、
前記第二暗号化部により暗号化された情報を、第一の暗号化ライセンス情報として前記記憶媒体に書き込む請求項2乃至の何れか一項に記載の情報処理装置。
The other information processing apparatus
A first unique information acquisition unit that acquires the first unique information from the storage medium when the storage medium is connected;
A first encryption unit that encrypts the license information given in advance with the common key;
A second encryption unit that encrypts the information encrypted by the first encryption unit with the first unique information;
The information processing apparatus
The information processing apparatus according to any one of claims 2 to 4 , wherein the information encrypted by the second encryption unit is written in the storage medium as first encrypted license information.
所定の機能を使用可能とするライセンス情報に応じて動作する情報処理装置により実行されるプログラムであって、前記情報処理装置に、
記憶媒体の接続を検知して、前記記憶媒体から、前記記憶媒体を一意に特定する第一固有情報と、前記ライセンス情報を暗号化した第一の暗号化ライセンス情報とを取得する処理と、
前記第一の暗号化ライセンス情報を復号化して、前記情報処理装置と、前記記憶媒体とが対応付けられているか否かを判定する処理と、
前記情報処理装置と、前記記憶媒体とが対応付けられていないとき、復号化された前記ライセンス情報を、前記第一固有情報と、前記情報処理装置を一意に特定する第二固有情報とを用いて暗号化した第二の暗号化ライセンス情報として、前記記憶媒体へ書き込む処理と、
前記情報処理装置と、前記記憶媒体とが対応付けられていないとき、共通キー復号化処理によって復号化された前記ライセンス情報を前記情報処理装置において使用可能とする機能と対応付けるライセンス情報設定処理と、
前記共通キー復号化処理によって復号化された前記ライセンス情報を、前記第二固有情報を用いて暗号化する第二固有情報暗号化処理と、
前記第二固有情報暗号化処理により暗号化された情報を、共通キーを用いて暗号化する共通キー暗号化処理と、
前記共通キー暗号化処理により暗号化された情報を、前記第一固有情報を用いて暗号化する第一固有情報暗号化処理と、を実行させ、
前記書き込む処理は、
前記第一固有情報暗号化処理により暗号化された情報を第二の暗号化ライセンス情報として、前記記憶媒体へ書き込む、プログラム。
A program executed by an information processing apparatus that operates according to license information that enables a predetermined function, and the information processing apparatus includes:
Processing for detecting connection of a storage medium, and obtaining from the storage medium first specific information for uniquely identifying the storage medium, and first encrypted license information obtained by encrypting the license information;
Processing for decrypting the first encrypted license information and determining whether the information processing apparatus and the storage medium are associated with each other;
When the information processing apparatus and the storage medium are not associated with each other, the decrypted license information is used using the first specific information and the second specific information that uniquely identifies the information processing apparatus. Processing to write to the storage medium as the second encrypted license information encrypted by,
A license information setting process for associating the license information decrypted by the common key decryption process with a function that can be used in the information processing apparatus when the information processing apparatus is not associated with the storage medium;
A second unique information encryption process for encrypting the license information decrypted by the common key decryption process using the second unique information;
A common key encryption process for encrypting the information encrypted by the second unique information encryption process using a common key;
Performing a first unique information encryption process for encrypting the information encrypted by the common key encryption process using the first unique information,
The writing process includes
A program for writing information encrypted by the first unique information encryption process to the storage medium as second encrypted license information .
JP2015110354A 2015-05-29 2015-05-29 Information processing apparatus and program Active JP6606868B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015110354A JP6606868B2 (en) 2015-05-29 2015-05-29 Information processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015110354A JP6606868B2 (en) 2015-05-29 2015-05-29 Information processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2016224696A JP2016224696A (en) 2016-12-28
JP6606868B2 true JP6606868B2 (en) 2019-11-20

Family

ID=57748225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015110354A Active JP6606868B2 (en) 2015-05-29 2015-05-29 Information processing apparatus and program

Country Status (1)

Country Link
JP (1) JP6606868B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006277527A (en) * 2005-03-30 2006-10-12 Canon Inc License authentication and management method for software modules
JP2010033322A (en) * 2008-07-29 2010-02-12 Nec System Technologies Ltd Protection dongle, and license granting system and license granting method for computer program
US8423779B2 (en) * 2009-02-23 2013-04-16 Wms Gaming, Inc. Compounding security with a security dongle
JP2010244261A (en) * 2009-04-03 2010-10-28 Canon Electronics Inc Information processing apparatus and method
JP2011150524A (en) * 2010-01-21 2011-08-04 Yokogawa Electric Corp Software execution system

Also Published As

Publication number Publication date
JP2016224696A (en) 2016-12-28

Similar Documents

Publication Publication Date Title
JP4991592B2 (en) Software alteration detection method, software alteration detection program and device
JP6265783B2 (en) Encryption / decryption system, control method therefor, and program
US10803195B2 (en) Control method of image communication apparatus, data distribution system, export apparatus, and import apparatus
JP2020177539A (en) Information processing device and its control method
KR20100027798A (en) Image forming system and security printing method thereof
US9672386B2 (en) Digital multi-function peripheral and data protection method of external memory
JP5309709B2 (en) Software tampering detection method and device
US10929566B2 (en) Information processing device and information processing system
JP6693276B2 (en) Image processing apparatus and image processing program
US7835024B2 (en) Print information processing apparatus
JP5387724B2 (en) Software alteration detection method, software alteration detection program and device
JP6606868B2 (en) Information processing apparatus and program
JP4791741B2 (en) Data processing apparatus and data processing method
JP2005130261A (en) Image forming apparatus, its control method, and its control program
JP4391535B2 (en) External storage device, and image processing apparatus and image forming apparatus provided with the external storage device
JP6636006B2 (en) Encryption / decryption system, control method thereof, and program
JP2007282064A (en) Data processing apparatus, data processing method, storage medium, and program
JP5806970B2 (en) Image forming apparatus
JP4669793B2 (en) Image reading apparatus and program containing scan data
JP5383084B2 (en) Image forming apparatus and method of controlling image forming apparatus
JP6306829B2 (en) Image forming apparatus and image forming program
JP2007140673A (en) Image forming system, image forming method, image forming program and recording medium therefor
JP2020092298A (en) Image forming device
JP2007166387A (en) Print data file generation apparatus and printing apparatus
JP2007318569A (en) Electronic device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181204

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190123

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190625

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190823

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191007

R151 Written notification of patent or utility model registration

Ref document number: 6606868

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151