JP6675024B1 - Information processing device, program, and method of determining authenticity of device to be determined - Google Patents

Information processing device, program, and method of determining authenticity of device to be determined Download PDF

Info

Publication number
JP6675024B1
JP6675024B1 JP2019059524A JP2019059524A JP6675024B1 JP 6675024 B1 JP6675024 B1 JP 6675024B1 JP 2019059524 A JP2019059524 A JP 2019059524A JP 2019059524 A JP2019059524 A JP 2019059524A JP 6675024 B1 JP6675024 B1 JP 6675024B1
Authority
JP
Japan
Prior art keywords
current value
genuine product
processing circuit
period
unit
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
JP2019059524A
Other languages
Japanese (ja)
Other versions
JP2020160801A (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.)
MegaChips Corp
Original Assignee
MegaChips Corp
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 MegaChips Corp filed Critical MegaChips Corp
Priority to JP2019059524A priority Critical patent/JP6675024B1/en
Application granted granted Critical
Publication of JP6675024B1 publication Critical patent/JP6675024B1/en
Publication of JP2020160801A publication Critical patent/JP2020160801A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

【課題】被判定装置が正規品であるか非正規品であるかの真贋判定を容易かつ高精度に実行することが可能な、情報処理装置を得る。【解決手段】真贋判定部50は、メモリコントローラ31が動作する第1の期間P12において電流値測定回路13によって測定された第1の実測電流値と、当該第1の期間P12に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、メモリコア32が動作する第2の期間P13において電流値測定回路13によって測定された第2の実測電流値と、当該第2の期間P13に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、メモリ装置3が正規品であるか非正規品であるかを判定する。【選択図】図2PROBLEM TO BE SOLVED: To obtain an information processing device capable of easily and highly accurately executing authenticity determination as to whether a device to be judged is a genuine product or a non-genuine product. An authenticity determination unit (50) determines a first actually measured current value measured by a current value measurement circuit (13) in a first period (P12) during which a memory controller (31) operates, and a genuine product or a non-authorized product regarding the first period (P12). A first comparison result with a first reference current value obtained in advance for a genuine product, and a second measured current measured by the current value measurement circuit 13 in the second period P13 in which the memory core 32 operates. The memory device 3 is a genuine product based on the second comparison result of the value and the second reference current value obtained in advance for the genuine product or the non-genuine product in the second period P13. Or non-genuine product. [Selection diagram] FIG.

Description

本発明は、情報処理装置、プログラム、及び被判定装置の真贋判定方法に関する。   The present invention relates to an information processing device, a program, and a method for determining the authenticity of a device to be determined.

下記特許文献1には、ホスト装置とそれに接続されたメモリ装置とを備えるメモリシステムにおいて、ホスト装置からメモリ装置に流れる消費電流を測定し、当該消費電流の単位時間あたりの変化量を消費電流の変化率として算出し、上記メモリ装置に関して作成された消費電流の変化率パターンと、正規品に関する消費電流の変化率パターンとを比較することにより、上記メモリ装置が正規品であるか否かを判定するメモリシステムが開示されている。   Japanese Patent Application Laid-Open No. H11-163,087 discloses a memory system including a host device and a memory device connected to the host device, which measures current consumption flowing from the host device to the memory device, and calculates a change per unit time of the current consumption. It is determined whether the memory device is a genuine product by calculating the rate of change and comparing the current consumption change rate pattern created for the memory device with the current consumption change rate pattern for a genuine product. A memory system is disclosed.

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

メモリ装置に格納されているコンテンツデータを保護するための技術としては、AES又はRSA等の現代暗号が一般的に使用されている。しかし、第三者の解析によって秘密鍵等の機密情報が割り出されてしまうと、正規品の全てのファンクションを完全にコピーした非正規品が容易に製造されてしまうという問題がある。   As a technique for protecting content data stored in a memory device, modern encryption such as AES or RSA is generally used. However, if confidential information such as a secret key is determined by an analysis of a third party, there is a problem that an unauthorized product in which all functions of the authorized product are completely copied is easily manufactured.

また、上記特許文献1には、ホスト装置によってメモリ装置の真贋判定を実行する態様についてのみ開示されている。しかし、不正使用の態様としては、非正規品のメモリ装置が使用される場合に限らず、正規品のメモリ装置に格納されたコンテンツデータを不正コピー等する目的で、非正規品のホスト装置が使用される場合もある。従って、不正コピー等からコンテンツデータを適切に保護するためには、ホスト装置が非正規品である場合にはメモリシステムの動作を停止させる必要がある。そのためには、メモリ装置において、ホスト装置が正規品であるか否かを判定する機能や、ホスト装置及びメモリ装置の各々において、自身が正規品であるか否かを自ら判定(自己真贋判定)する機能が望まれる。   Patent Document 1 discloses only an aspect in which the host device performs the authenticity determination of the memory device. However, the form of unauthorized use is not limited to the case where a non-genuine memory device is used, and a non-genuine host device is used for the purpose of illegally copying content data stored in the non-genuine memory device. May be used. Therefore, in order to appropriately protect the content data from unauthorized copying or the like, it is necessary to stop the operation of the memory system when the host device is a non-genuine product. For this purpose, the memory device has a function of determining whether or not the host device is a genuine product, and each of the host device and the memory device determines whether or not itself is a genuine product (self-authentication determination). Function is desired.

本発明はかかる事情に鑑みて成されたものであり、被判定装置が正規品であるか非正規品であるかの真贋判定を容易かつ高精度に実行することが可能な、情報処理装置、プログラム、及び被判定装置の真贋判定方法を得ることを目的とするものである。   The present invention has been made in view of such circumstances, it is possible to easily and highly accurately determine whether the device to be determined is a genuine or non-genuine, information processing device, It is an object of the present invention to obtain a program and a method for determining the authenticity of a device to be determined.

本発明の第1の態様に係る情報処理装置は、機能が異なる第1の処理回路及び第2の処理回路を有する被判定装置の真贋判定機能を備える、情報処理装置であって、前記第1の処理回路及び前記第2の処理回路に電源を供給する電源供給部と、前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部と、前記被判定装置が正規品であるか非正規品であるかを判定する判定部と、を備え、前記判定部は、前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定することを特徴とするものである。   An information processing apparatus according to a first aspect of the present invention is an information processing apparatus having an authenticity determination function of a device to be determined having a first processing circuit and a second processing circuit having different functions. A power supply unit that supplies power to the processing circuit and the second processing circuit; a current measurement unit that measures a current flowing from the power supply unit to the first processing circuit and the second processing circuit; A determination unit that determines whether the device to be determined is a genuine product or a non-genuine product, wherein the determination unit measures the current measurement unit during a first period in which the first processing circuit operates. A first comparison result between the obtained first actually measured current value and a first reference current value obtained in advance for a genuine product or a non-genuine product for the first period, and the second processing circuit Operates in the second period during which the current measurement unit operates. Based on a second actually measured current value measured in the second period and a second comparison current value with a second reference current value obtained in advance for a genuine product or a non-genuine product for the second period. It is characterized in that it is determined whether the device to be determined is a genuine product or a non-genuine product.

第1の態様に係る情報処理装置によれば、判定部は、第1の処理回路が動作する第1の期間において電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、第2の処理回路が動作する第2の期間において電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、被判定装置が正規品であるか非正規品であるかを判定する。従って、正規品の全てのファンクションを完全にコピーした非正規品が製造された場合であっても、デバイス構造や製造プロセスの相違等に起因して正規品と非正規品とでは消費電力特性が相違するため、非正規品(又は正規品)の実測電流値は正規品(又は非正規品)の基準電流値に一致しない。従って、判定部によって被判定装置の真贋判定を容易に実行することが可能となる。しかも、機能が異なる第1の処理回路及び第2の処理回路の双方の消費電流特性に基づいて真贋判定を行うため、判定部によって被判定装置の真贋判定をより高精度に実行することが可能となる。   According to the information processing apparatus according to the first aspect, the determination unit is configured to determine the first measured current value measured by the current measurement unit during the first period in which the first processing circuit operates, and the first period And a first comparison result with a first reference current value obtained in advance for a genuine product or a non-genuine product, and a second comparison result measured by a current measurement unit in a second period in which the second processing circuit operates. 2 based on the actually measured current value of the second device and a second comparison result of the second reference current value obtained in advance for the genuine product or the non-genuine product for the second period. It is determined whether the product is non-genuine or non-genuine. Therefore, even if a non-genuine product in which all functions of the genuine product are completely copied is manufactured, the power consumption characteristics of the genuine product and the non-genuine product are different due to differences in the device structure and manufacturing process. Because of the difference, the measured current value of the non-genuine product (or genuine product) does not match the reference current value of the genuine product (or non-genuine product). Therefore, it is possible to easily perform the authenticity determination of the device to be determined by the determining unit. Moreover, since the authenticity determination is performed based on the current consumption characteristics of both the first processing circuit and the second processing circuit having different functions, the determination unit can perform the authentication determination of the device to be determined with higher accuracy. Becomes

本発明の第2の態様に係る情報処理装置は、機能が異なる第1の処理回路及び第2の処理回路と、前記第1の処理回路及び前記第2の処理回路に電源を供給する電源供給部とを有する被判定装置の真贋判定機能を備える、情報処理装置であって、前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部と、前記被判定装置が正規品であるか非正規品であるかを判定する判定部と、を備え、前記判定部は、前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定することを特徴とするものである。   An information processing apparatus according to a second aspect of the present invention includes a first processing circuit and a second processing circuit having different functions, and a power supply for supplying power to the first processing circuit and the second processing circuit. An information processing device having an authenticity determination function of a device to be determined having a unit, a current measurement unit that measures a current flowing from the power supply unit to the first processing circuit and the second processing circuit, A determination unit for determining whether the device to be determined is a genuine product or a non-genuine product, wherein the determination unit performs a first period in which the first processing circuit operates by the current measurement unit. A first comparison result between the measured first actually measured current value and a first reference current value obtained in advance for a genuine product or a non-genuine product for the first period, and the second processing In the second period in which the circuit operates, the current measuring unit Based on the second measured current value measured in the second period and a second comparison current value obtained in advance for the second period with respect to a genuine product or a non-genuine product using a second reference current value. And determining whether the device to be determined is a genuine product or a non-genuine product.

第2の態様に係る情報処理装置によれば、判定部は、第1の処理回路が動作する第1の期間において電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、第2の処理回路が動作する第2の期間において電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、被判定装置が正規品であるか非正規品であるかを判定する。従って、正規品の全てのファンクションを完全にコピーした非正規品が製造された場合であっても、デバイス構造や製造プロセスの相違等に起因して正規品と非正規品とでは消費電力特性が相違するため、非正規品(又は正規品)の実測電流値は正規品(又は非正規品)の基準電流値に一致しない。従って、判定部によって被判定装置の真贋判定を容易に実行することが可能となる。しかも、機能が異なる第1の処理回路及び第2の処理回路の双方の消費電流特性に基づいて真贋判定を行うため、判定部によって被判定装置の真贋判定をより高精度に実行することが可能となる。   According to the information processing apparatus according to the second aspect, the determination unit is configured to determine the first measured current value measured by the current measurement unit during the first period in which the first processing circuit operates, and the first period And a first comparison result with a first reference current value obtained in advance for a genuine product or a non-genuine product, and a second comparison result measured by a current measurement unit in a second period in which the second processing circuit operates. 2 based on the actually measured current value of the second device and a second comparison result of the second reference current value obtained in advance for the genuine product or the non-genuine product for the second period. It is determined whether the product is non-genuine or non-genuine. Therefore, even if a non-genuine product in which all functions of the genuine product are completely copied is manufactured, the power consumption characteristics of the genuine product and the non-genuine product are different due to differences in the device structure and manufacturing process. Because of the difference, the measured current value of the non-genuine product (or genuine product) does not match the reference current value of the genuine product (or non-genuine product). Therefore, it is possible to easily perform the authenticity determination of the device to be determined by the determining unit. Moreover, since the authenticity determination is performed based on the current consumption characteristics of both the first processing circuit and the second processing circuit having different functions, the determination unit can perform the authentication determination of the device to be determined with higher accuracy. Becomes

本発明の第3の態様に係る情報処理装置は、自身を被判定装置とする真贋判定機能を備える、情報処理装置であって、機能が異なる第1の処理回路及び第2の処理回路と、前記第1の処理回路及び前記第2の処理回路に電源を供給する電源供給部と、前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部と、前記被判定装置が正規品であるか非正規品であるかを判定する判定部と、を備え、前記判定部は、前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定することを特徴とするものである。   An information processing device according to a third aspect of the present invention is an information processing device including an authentication determination function using itself as a device to be determined, a first processing circuit and a second processing circuit having different functions, A power supply unit that supplies power to the first processing circuit and the second processing circuit; and a current measurement unit that measures a current flowing from the power supply unit to the first processing circuit and the second processing circuit. And a determining unit for determining whether the device to be determined is a genuine product or a non-genuine product, wherein the determining unit performs the current measurement in a first period in which the first processing circuit operates. A first comparison result between a first actually measured current value measured by the first unit and a first reference current value previously obtained for a genuine product or a non-genuine product for the first period; Measuring the current during a second period in which the processing circuit of FIG. Based on a second measured current value measured by a second comparison current value and a second reference current value obtained in advance for a genuine product or a non-genuine product for the second period. It is characterized in that it is determined whether the device to be determined is a genuine product or a non-genuine product.

第3の態様に係る情報処理装置によれば、判定部は、第1の処理回路が動作する第1の期間において電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、第2の処理回路が動作する第2の期間において電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、被判定装置が正規品であるか非正規品であるかを判定する。従って、正規品の全てのファンクションを完全にコピーした非正規品が製造された場合であっても、デバイス構造や製造プロセスの相違等に起因して正規品と非正規品とでは消費電力特性が相違するため、非正規品(又は正規品)の実測電流値は正規品(又は非正規品)の基準電流値に一致しない。従って、判定部によって被判定装置の真贋判定を容易に実行することが可能となる。しかも、機能が異なる第1の処理回路及び第2の処理回路の双方の消費電流特性に基づいて真贋判定を行うため、判定部によって被判定装置の真贋判定をより高精度に実行することが可能となる。   According to the information processing apparatus according to the third aspect, the determination unit is configured to determine the first measured current value measured by the current measurement unit during the first period in which the first processing circuit operates, and the first period And a first comparison result with a first reference current value obtained in advance for a genuine product or a non-genuine product, and a second comparison result measured by a current measurement unit in a second period in which the second processing circuit operates. 2 based on the actually measured current value of the second device and a second comparison result of the second reference current value obtained in advance for the genuine product or the non-genuine product for the second period. It is determined whether the product is non-genuine or non-genuine. Therefore, even if a non-genuine product in which all functions of the genuine product are completely copied is manufactured, the power consumption characteristics of the genuine product and the non-genuine product are different due to differences in the device structure and manufacturing process. Because of the difference, the measured current value of the non-genuine product (or genuine product) does not match the reference current value of the genuine product (or non-genuine product). Therefore, it is possible to easily perform the authenticity determination of the device to be determined by the determining unit. Moreover, since the authenticity determination is performed based on the current consumption characteristics of both the first processing circuit and the second processing circuit having different functions, the determination unit can perform the authentication determination of the device to be determined with higher accuracy. Becomes

本発明の第4の態様に係る情報処理装置は、第1〜第3のいずれか一つの態様に係る情報処理装置において特に、前記判定部は、複数の測定タイミングで前記電流測定部によって測定された複数の実測電流値を、前記電流測定部から取得する電流値取得部と、前記電流値取得部によって取得された複数の実測電流値を時系列順に配列することによって、実測電流値パターンを作成するパターン作成部と、前記パターン作成部によって作成された実測電流値パターンと、正規品又は非正規品に関して予め求められた基準電流値のパターンである基準電流値パターンとを比較するパターン比較部と、を有することを特徴とするものである。   An information processing device according to a fourth aspect of the present invention is the information processing device according to any one of the first to third aspects, in which the determination unit is measured by the current measurement unit at a plurality of measurement timings. A plurality of actually measured current values, a current value acquisition unit that acquires from the current measurement unit, and a plurality of actually measured current values that are acquired by the current value acquisition unit are arranged in chronological order to create an actually measured current value pattern. And a pattern comparison unit that compares a measured current value pattern created by the pattern creation unit with a reference current value pattern that is a pattern of a reference current value previously obtained for a genuine or non-genuine product. , Is characterized by having.

第4の態様に係る情報処理装置によれば、判定部は、実測電流値パターンと基準電流値パターンとの比較結果に基づいて、被判定装置が正規品であるか非正規品であるかを判定する。非正規品は粗悪品であることが多いため、非正規品の消費電流の絶対値は正規品のそれより大きい場合が多い。第4の態様に係る情報処理装置によれば、判定部は、消費電流の変化率パターンではなく実測電流値パターンと基準電流値パターンとを比較するため、たとえ正規品と非正規品とで消費電流の変化率パターンが近似している場合であっても、被判定装置の真贋判定を高精度に実行することが可能となる。   According to the information processing device according to the fourth aspect, the determination unit determines whether the device to be determined is a genuine product or a non-genuine product based on a comparison result between the actually measured current value pattern and the reference current value pattern. judge. Since non-genuine products are often inferior products, the absolute value of the current consumption of the non-genuine product is often larger than that of the genuine product. According to the information processing apparatus of the fourth aspect, the determination unit compares the measured current value pattern with the reference current value pattern instead of the current consumption change rate pattern. Even if the current rate-of-change patterns are close to each other, the authenticity of the device to be determined can be determined with high accuracy.

本発明の第5の態様に係る情報処理装置は、第4の態様に係る情報処理装置において特に、前記パターン比較部は、実測電流値パターンを構成する複数の実測電流値と、基準電流値パターンを構成する複数の基準電流値とをそれぞれ比較し、前記判定部は、全ての実測電流値が、対応する基準電流値と一致しているか否かによって、前記被判定装置が正規品であるか非正規品であるかを判定することを特徴とするものである。   An information processing apparatus according to a fifth aspect of the present invention is the information processing apparatus according to the fourth aspect, in which the pattern comparison unit includes a plurality of measured current values forming a measured current value pattern and a reference current value pattern. Respectively, and the determination unit determines whether or not the measured device is a genuine product based on whether or not all measured current values match the corresponding reference current values. It is characterized in that it is determined whether or not it is an irregular product.

第5の態様に係る情報処理装置によれば、判定部は、全ての実測電流値が、対応する基準電流値と一致しているか否かによって、被判定装置が正規品であるか非正規品であるかを判定する。従って、非正規品(又は正規品)の実測電流値パターンの一部のみが正規品(又は非正規品)の基準電流値パターンと異なる場合であっても、被判定装置の真贋判定を高精度に実行することが可能となる。   According to the information processing apparatus according to the fifth aspect, the determination unit determines whether the device to be determined is a genuine product or a non-genuine product based on whether or not all measured current values match the corresponding reference current values. Is determined. Therefore, even when only a part of the measured current value pattern of the non-genuine product (or the genuine product) is different from the reference current value pattern of the genuine product (or the non-genuine product), the authenticity of the device to be determined can be determined with high accuracy. It becomes possible to execute.

本発明の第6の態様に係る情報処理装置は、第4の態様に係る情報処理装置において特に、前記パターン比較部は、実測電流値パターンを構成する複数の実測電流値と、基準電流値パターンを構成する複数の基準電流値とをそれぞれ比較し、前記判定部は、全ての実測電流値のうち、対応する基準電流値と一致する実測電流値の割合が第1のしきい値以上であるか否かによって、前記被判定装置が正規品であるか非正規品であるかを判定することを特徴とするものである。   An information processing apparatus according to a sixth aspect of the present invention is the information processing apparatus according to the fourth aspect, in which the pattern comparison unit includes a plurality of measured current values forming a measured current value pattern and a reference current value pattern. Respectively, and the determination unit determines that the ratio of the measured current value that matches the corresponding reference current value among all the measured current values is equal to or greater than the first threshold value. Whether the device to be determined is a genuine product or a non-genuine product is determined depending on whether or not the device is a genuine product.

第6の態様に係る情報処理装置によれば、判定部は、全ての実測電流値のうち、対応する基準電流値と一致する実測電流値の割合が第1のしきい値以上であるか否かによって、被判定装置が正規品であるか非正規品であるかを判定する。従って、突発的なノイズ等に起因して正規品(又は非正規品)の実測電流値が瞬間的に増減した場合であっても、正規品(又は非正規品)が誤って非正規品(又は正規品)と判定される事態を回避することが可能となる。   According to the information processing apparatus according to the sixth aspect, the determination unit determines whether the ratio of the measured current value that matches the corresponding reference current value among all the measured current values is equal to or greater than the first threshold value. It is determined whether the device to be determined is a genuine product or a non-genuine product. Therefore, even if the measured current value of the genuine product (or the non-genuine product) instantaneously increases or decreases due to sudden noise or the like, the genuine product (or the non-genuine product) erroneously changes to the non-genuine product ( Or a genuine product).

本発明の第7の態様に係る情報処理装置は、第4〜第6のいずれか一つの態様に係る情報処理装置において特に、前記判定部は、前記パターン作成部による実測電流値パターンの作成処理、及び、前記パターン比較部による実測電流値パターンと基準電流値パターンとの比較処理をN回(Nは複数)実行し、前記パターン比較部によるN回の比較処理のうち、実測電流値パターンが基準電流値パターンに一致していると判定された割合が第2のしきい値以上であるか否かによって、前記被判定装置が正規品であるか非正規品であるかを判定することを特徴とするものである。   An information processing apparatus according to a seventh aspect of the present invention is the information processing apparatus according to any one of the fourth to sixth aspects, in which the determination unit performs a process of creating an actually measured current value pattern by the pattern creation unit. And the comparison process between the measured current value pattern and the reference current value pattern by the pattern comparing unit is performed N times (N is plural), and among the N comparison processes by the pattern comparing unit, the measured current value pattern is Determining whether the device to be determined is a genuine product or a non-genuine product, based on whether or not the ratio determined to match the reference current value pattern is equal to or greater than a second threshold value. It is a feature.

第7の態様に係る情報処理装置によれば、判定部は、パターン作成部によるパターン作成処理、及び、パターン比較部によるパターン比較処理を複数N回実行し、パターン比較部によるN回の比較処理のうち、実測電流値パターンが基準電流値パターンに一致していると判定された割合が第2のしきい値以上であるか否かによって、被判定装置が正規品であるか非正規品であるかを判定する。このように、パターン作成部及びパターン比較部による一連の処理を複数N回繰り返して実行し、パターン比較部によるN回の比較結果に基づいて被判定装置の真贋判定を行うことにより、判定精度を向上することが可能となる。   According to the information processing apparatus according to the seventh aspect, the determination unit performs the pattern creation process by the pattern creation unit and the pattern comparison process by the pattern comparison unit a plurality of N times, and performs the N comparison processes by the pattern comparison unit. The device to be determined is a genuine product or a non-genuine product depending on whether or not the ratio of the measured current value pattern matching the reference current value pattern is equal to or more than the second threshold value. It is determined whether there is. As described above, a series of processes by the pattern creating unit and the pattern comparing unit are repeatedly performed a plurality of N times, and the authenticity of the device to be determined is determined based on the comparison results of the N times by the pattern comparing unit. It is possible to improve.

本発明の第8の態様に係る情報処理装置は、第1〜第3のいずれか一つの態様に係る情報処理装置において特に、前記判定部は、複数の測定タイミングで前記電流測定部によって測定された複数の実測電流値を、前記電流測定部から取得する電流値取得部と、前記電流値取得部によって取得された複数の実測電流値に基づいて、所定の実測代表値を算出する代表値算出部と、前記代表値算出部によって算出された実測代表値と、正規品又は非正規品に関して予め求められた代表値である基準代表値とを比較する代表値比較部と、を有することを特徴とするものである。   The information processing device according to an eighth aspect of the present invention is the information processing device according to any one of the first to third aspects, in which the determination unit is measured by the current measurement unit at a plurality of measurement timings. A plurality of actually measured current values, a current value acquisition unit that acquires from the current measurement unit, and a representative value calculation that calculates a predetermined actually measured representative value based on the plurality of actually measured current values that are acquired by the current value acquisition unit. And a representative value comparison unit that compares a measured representative value calculated by the representative value calculation unit with a reference representative value that is a representative value previously obtained for a genuine product or a non-genuine product. It is assumed that.

第8の態様に係る情報処理装置によれば、判定部は、代表値算出部によって算出された実測代表値と、正規品又は非正規品に関して予め求められた基準代表値との比較結果に基づいて、被判定装置が正規品であるか非正規品であるかを判定する。従って、実測電流値パターンを作成する必要がなく、また、基準電流値パターンを保持しておく必要もないため、被判定装置の真贋判定を簡易に実行することが可能となる。   According to the information processing apparatus according to the eighth aspect, the determination unit is configured to perform the determination based on a comparison result between the measured representative value calculated by the representative value calculation unit and the reference representative value obtained in advance for the genuine product or the non-genuine product. Then, it is determined whether the device to be determined is a genuine product or a non-genuine product. Accordingly, there is no need to create an actually measured current value pattern, and it is not necessary to hold the reference current value pattern, so that the authenticity determination of the device to be determined can be easily performed.

本発明の第9の態様に係る情報処理装置は、第8の態様に係る情報処理装置において特に、前記代表値算出部は、実測代表値として、平均値、最大値、及び最小値の少なくとも一つを算出することを特徴とするものである。   In the information processing apparatus according to a ninth aspect of the present invention, in the information processing apparatus according to the eighth aspect, in particular, the representative value calculation unit determines at least one of an average value, a maximum value, and a minimum value as a measured representative value. Is calculated.

第9の態様に係る情報処理装置によれば、代表値算出部は、実測代表値として、平均値、最大値、及び最小値の少なくとも一つを算出する。このように、平均値、最大値、及び最小値の少なくとも一つを実測代表値として使用することにより、実測代表値を簡易に算出することが可能となる。   According to the information processing apparatus of the ninth aspect, the representative value calculation unit calculates at least one of the average value, the maximum value, and the minimum value as the measured representative value. In this way, by using at least one of the average value, the maximum value, and the minimum value as the measured representative value, the measured representative value can be easily calculated.

本発明の第10の態様に係る情報処理装置は、第1〜第9のいずれか一つの態様に係る情報処理装置において特に、前記判定部は、前記第1の期間及び前記第2の期間を可変に設定する期間設定部をさらに有することを特徴とするものである。   In the information processing apparatus according to a tenth aspect of the present invention, in the information processing apparatus according to any one of the first to ninth aspects, in particular, the determination unit determines the first period and the second period. It is characterized by further including a period setting unit variably set.

第10の態様に係る情報処理装置によれば、期間設定部は、第1の期間及び第2の期間を可変に設定する。従って、被判定装置の真贋判定を実行する対象となる第1の期間及び第2の期間を期間設定部によって静的又は動的に変更できるため、第三者による判定アルゴリズムの解析をより困難化することが可能となる。   According to the information processing apparatus of the tenth aspect, the period setting unit variably sets the first period and the second period. Therefore, the first period and the second period for which the device to be determined is to be authenticated can be statically or dynamically changed by the period setting unit, which makes it more difficult for a third party to analyze the determination algorithm. It is possible to do.

本発明の第11の態様に係る情報処理装置は、第1〜第10のいずれか一つの態様に係る情報処理装置において特に、前記被判定装置は、前記第1の基準電流値及び前記第2の基準電流値を記憶する記憶部をさらに有し、前記判定部は、当該記憶部から前記第1の基準電流値及び前記第2の基準電流値を読み出すことを特徴とするものである。   An information processing apparatus according to an eleventh aspect of the present invention is the information processing apparatus according to any one of the first to tenth aspects, in particular, wherein the determined device includes the first reference current value and the second reference current value. And a storage unit that stores the reference current values of the first and second reference current values. The determination unit reads the first reference current value and the second reference current value from the storage unit.

第11の態様に係る情報処理装置によれば、第1の基準電流値及び第2の基準電流値は、被判定装置の記憶部に記憶されている。被判定装置の基準電流値は、デバイスの構造や製造プロセス等に依存するため、デバイス毎に異なる。従って、ある被判定装置に関して求めた基準電流値を、その被判定装置の記憶部に記憶しておくことにより、デバイス毎に異なる基準電流値を簡易に管理することが可能となる。   According to the information processing apparatus of the eleventh aspect, the first reference current value and the second reference current value are stored in the storage unit of the device to be determined. Since the reference current value of the device to be determined depends on the structure of the device, the manufacturing process, and the like, it differs for each device. Therefore, by storing the reference current value obtained for a certain device to be determined in the storage unit of the device to be determined, it is possible to easily manage a different reference current value for each device.

本発明の第12の態様に係るプログラムは、被判定装置が有する機能が異なる第1の処理回路及び第2の処理回路に電源を供給する電源供給部と、前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部と、を備える情報処理装置に搭載されるコンピュータを、前記被判定装置が正規品であるか非正規品であるかを判定する判定手段として機能させるためのプログラムであって、前記判定手段は、前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定することを特徴とするものである。   A program according to a twelfth aspect of the present invention includes a power supply unit that supplies power to a first processing circuit and a second processing circuit having different functions of a device to be determined; A computer mounted on an information processing apparatus including a processing circuit and a current measuring unit for measuring a current flowing through the second processing circuit, determining whether the device to be determined is a genuine product or an unauthorized product A program for causing the first processing circuit to operate, wherein the determining unit determines a first measured current value measured by the current measuring unit during a first period in which the first processing circuit operates, and A first comparison result with a first reference current value obtained in advance for a genuine product or a non-genuine product for the first period, and the current measurement unit in a second period in which the second processing circuit operates. By Based on a second measured current value determined and a second comparison result of a second reference current value previously obtained for a genuine product or a non-genuine product for the second period. It is characterized in that it is determined whether the device to be determined is a genuine product or a non-genuine product.

第12の態様に係るプログラムによれば、判定手段は、第1の処理回路が動作する第1の期間において電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、第2の処理回路が動作する第2の期間において電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、被判定装置が正規品であるか非正規品であるかを判定する。従って、正規品の全てのファンクションを完全にコピーした非正規品が製造された場合であっても、デバイス構造や製造プロセスの相違等に起因して正規品と非正規品とでは消費電力特性が相違するため、非正規品(又は正規品)の実測電流値は正規品(又は非正規品)の基準電流値に一致しない。従って、判定手段によって被判定装置の真贋判定を容易に実行することが可能となる。しかも、機能が異なる第1の処理回路及び第2の処理回路の双方の消費電流特性に基づいて真贋判定を行うため、判定手段によって被判定装置の真贋判定をより高精度に実行することが可能となる。   According to the program of the twelfth aspect, the determination unit is configured to determine that the first measured current value measured by the current measurement unit during the first period in which the first processing circuit operates and the normal value with respect to the first period. A first comparison result with a first reference current value obtained in advance for a non-genuine product or a non-genuine product, and a second comparison result measured by the current measurement unit during a second period in which the second processing circuit operates. Based on the actually measured current value and the second comparison result between the second reference current value obtained in advance for the genuine product and the non-genuine product for the second period, the device to be determined is a genuine product. It is determined whether the product is a non-genuine product. Therefore, even if a non-genuine product in which all functions of the genuine product are completely copied is manufactured, the power consumption characteristics of the genuine product and the non-genuine product are different due to differences in the device structure and manufacturing process. Because of the difference, the measured current value of the non-genuine product (or genuine product) does not match the reference current value of the genuine product (or non-genuine product). Therefore, the authenticity of the device to be determined can be easily determined by the determining means. Moreover, since the authenticity determination is performed based on the current consumption characteristics of both the first processing circuit and the second processing circuit having different functions, it is possible to perform the authentication of the device to be determined with higher accuracy by the determining means. Becomes

本発明の第13の態様に係るプログラムは、機能が異なる第1の処理回路及び第2の処理回路と、前記第1の処理回路及び前記第2の処理回路に電源を供給する電源供給部とを有する被判定装置の真贋判定機能を備え、前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部を備える情報処理装置に搭載されるコンピュータを、前記被判定装置が正規品であるか非正規品であるかを判定する判定手段として機能させるためのプログラムであって、前記判定手段は、前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定することを特徴とするものである。   A program according to a thirteenth aspect of the present invention includes a first processing circuit and a second processing circuit having different functions, and a power supply unit that supplies power to the first processing circuit and the second processing circuit. A computer mounted on an information processing apparatus having an authenticity determining function of a device to be determined having a current measuring unit that measures a current flowing from the power supply unit to the first processing circuit and the second processing circuit. A program for causing a device to be determined to function as a determination unit for determining whether the device is a genuine product or a non-genuine product, wherein the determination unit includes a first period during which the first processing circuit operates. And a first comparison result of a first actually measured current value measured by the current measurement unit and a first reference current value previously obtained for a genuine product or an irregular product for the first period. , The second A second actually measured current value measured by the current measuring unit in a second period in which the processing circuit operates, and a second reference current previously determined for a genuine or non-genuine product in the second period Determining whether the device to be determined is a genuine product or a non-genuine product based on the second comparison result with the value.

第13の態様に係るプログラムによれば、判定手段は、第1の処理回路が動作する第1の期間において電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、第2の処理回路が動作する第2の期間において電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、被判定装置が正規品であるか非正規品であるかを判定する。従って、正規品の全てのファンクションを完全にコピーした非正規品が製造された場合であっても、デバイス構造や製造プロセスの相違等に起因して正規品と非正規品とでは消費電力特性が相違するため、非正規品(又は正規品)の実測電流値は正規品(又は非正規品)の基準電流値に一致しない。従って、判定手段によって被判定装置の真贋判定を容易に実行することが可能となる。しかも、機能が異なる第1の処理回路及び第2の処理回路の双方の消費電流特性に基づいて真贋判定を行うため、判定手段によって被判定装置の真贋判定をより高精度に実行することが可能となる。   According to the program of the thirteenth aspect, the determination unit is configured to determine the first measured current value measured by the current measurement unit during the first period in which the first processing circuit operates and the normal value with respect to the first period. A first comparison result with a first reference current value obtained in advance for a non-genuine product or a non-genuine product, and a second comparison result measured by the current measurement unit during a second period in which the second processing circuit operates. Based on the actually measured current value and the second comparison result between the second reference current value obtained in advance for the genuine product and the non-genuine product for the second period, the device to be determined is a genuine product. It is determined whether the product is a non-genuine product. Therefore, even if a non-genuine product in which all functions of the genuine product are completely copied is manufactured, the power consumption characteristics of the genuine product and the non-genuine product are different due to differences in the device structure and manufacturing process. Because of the difference, the measured current value of the non-genuine product (or genuine product) does not match the reference current value of the genuine product (or non-genuine product). Therefore, the authenticity of the device to be determined can be easily determined by the determining means. Moreover, since the authenticity determination is performed based on the current consumption characteristics of both the first processing circuit and the second processing circuit having different functions, it is possible to perform the authentication of the device to be determined with higher accuracy by the determining means. Becomes

本発明の第14の態様に係るプログラムは、自身を被判定装置とする真贋判定機能を備え、機能が異なる第1の処理回路及び第2の処理回路と、前記第1の処理回路及び前記第2の処理回路に電源を供給する電源供給部と、前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部と、を備える情報処理装置に搭載されるコンピュータを、前記被判定装置が正規品であるか非正規品であるかを判定する判定手段として機能させるためのプログラムであって、前記判定手段は、前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定することを特徴とするものである。   A program according to a fourteenth aspect of the present invention includes an authenticity determination function using itself as a device to be determined, and includes a first processing circuit and a second processing circuit having different functions, the first processing circuit and the second processing circuit. A power supply unit for supplying power to the second processing circuit, and a current measurement unit for measuring a current flowing from the power supply unit to the first processing circuit and the second processing circuit. A computer to be operated as a determination unit for determining whether the device to be determined is a genuine product or an unauthorized product, wherein the determination unit operates the first processing circuit. A first measured current value measured by the current measuring unit in a first period and a first reference current value previously determined for a genuine product or a non-genuine product in the first period; The comparison result of The second measured current value measured by the current measuring unit in the second period in which the second processing circuit operates, and the second measured current value obtained in advance for the genuine product or the non-genuine product in the second period. And determining whether the device to be determined is a genuine product or a non-genuine product based on a second comparison result with a reference current value of 2.

第14の態様に係るプログラムによれば、判定手段は、第1の処理回路が動作する第1の期間において電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、第2の処理回路が動作する第2の期間において電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、被判定装置が正規品であるか非正規品であるかを判定する。従って、正規品の全てのファンクションを完全にコピーした非正規品が製造された場合であっても、デバイス構造や製造プロセスの相違等に起因して正規品と非正規品とでは消費電力特性が相違するため、非正規品(又は正規品)の実測電流値は正規品(又は非正規品)の基準電流値に一致しない。従って、判定手段によって被判定装置の真贋判定を容易に実行することが可能となる。しかも、機能が異なる第1の処理回路及び第2の処理回路の双方の消費電流特性に基づいて真贋判定を行うため、判定手段によって被判定装置の真贋判定をより高精度に実行することが可能となる。   According to the program of the fourteenth aspect, the determination unit is configured to determine the first measured current value measured by the current measurement unit during the first period in which the first processing circuit operates, and the normal value with respect to the first period. A first comparison result with a first reference current value obtained in advance for a non-genuine product or a non-genuine product, and a second comparison result measured by the current measurement unit during a second period in which the second processing circuit operates. Based on the actually measured current value and the second comparison result between the second reference current value obtained in advance for the genuine product and the non-genuine product for the second period, the device to be determined is a genuine product. It is determined whether the product is a non-genuine product. Therefore, even if a non-genuine product in which all functions of the genuine product are completely copied is manufactured, the power consumption characteristics of the genuine product and the non-genuine product are different due to differences in the device structure and manufacturing process. Because of the difference, the measured current value of the non-genuine product (or genuine product) does not match the reference current value of the genuine product (or non-genuine product). Therefore, the authenticity of the device to be determined can be easily determined by the determining means. Moreover, since the authenticity determination is performed based on the current consumption characteristics of both the first processing circuit and the second processing circuit having different functions, it is possible to perform the authentication of the device to be determined with higher accuracy by the determining means. Becomes

本発明の第15の態様に係る被判定装置の真贋判定方法は、被判定装置が有する機能が異なる第1の処理回路及び第2の処理回路に電源を供給する電源供給部と、前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部と、を備える情報処理装置において、前記被判定装置が正規品であるか非正規品であるかを判定する、被判定装置の真贋判定方法であって、前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定するステップを備えることを特徴とするものである。   According to a fifteenth aspect of the present invention, there is provided a method for determining the authenticity of a device to be determined, comprising: a power supply unit for supplying power to a first processing circuit and a second processing circuit having different functions of the device to be determined; And a current measuring unit for measuring a current flowing from the unit to the first processing circuit and the second processing circuit, wherein whether the device to be determined is a genuine product or a non-genuine product A method for determining the authenticity of a device to be determined, wherein a first measured current value measured by the current measuring unit during a first period in which the first processing circuit operates, and A first comparison result with a first reference current value obtained in advance for a genuine product or a non-genuine product, and measured by the current measurement unit in a second period in which the second processing circuit operates. The second measured current value and the The device to be determined is a genuine or non-genuine product based on a second comparison result with a second reference current value obtained in advance for a genuine product or a non-genuine product with respect to the period of 2. A step of determining whether or not there is any data.

第15の態様に係る被判定装置の真贋判定方法によれば、第1の処理回路が動作する第1の期間において電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、第2の処理回路が動作する第2の期間において電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、被判定装置が正規品であるか非正規品であるかが判定される。従って、正規品の全てのファンクションを完全にコピーした非正規品が製造された場合であっても、デバイス構造や製造プロセスの相違等に起因して正規品と非正規品とでは消費電力特性が相違するため、非正規品(又は正規品)の実測電流値は正規品(又は非正規品)の基準電流値に一致しない。従って、被判定装置の真贋判定を容易に実行することが可能となる。しかも、機能が異なる第1の処理回路及び第2の処理回路の双方の消費電流特性に基づいて真贋判定を行うため、被判定装置の真贋判定をより高精度に実行することが可能となる。   According to the authenticity determination method for the device to be determined according to the fifteenth aspect, the first measured current value measured by the current measurement unit during the first period in which the first processing circuit operates, and the first period And a first comparison result with a first reference current value obtained in advance for a genuine product or a non-genuine product, and a second comparison result measured by a current measurement unit in a second period in which the second processing circuit operates. 2 based on the actually measured current value of the second device and a second comparison result of the second reference current value obtained in advance for the genuine product or the non-genuine product for the second period. It is determined whether the product is a genuine product or a non-genuine product. Therefore, even if a non-genuine product in which all functions of the genuine product are completely copied is manufactured, the power consumption characteristics of the genuine product and the non-genuine product are different due to differences in the device structure and manufacturing process. Because of the difference, the measured current value of the non-genuine product (or genuine product) does not match the reference current value of the genuine product (or non-genuine product). Therefore, it is possible to easily perform the authenticity determination of the device to be determined. In addition, since the authenticity determination is performed based on the current consumption characteristics of both the first processing circuit and the second processing circuit having different functions, it is possible to perform the authentication determination of the device to be determined with higher accuracy.

本発明の第16の態様に係る被判定装置の真贋判定方法は、機能が異なる第1の処理回路及び第2の処理回路と、前記第1の処理回路及び前記第2の処理回路に電源を供給する電源供給部とを有する被判定装置の真贋判定機能を備え、前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部を備える情報処理装置において、前記被判定装置が正規品であるか非正規品であるかを判定する、被判定装置の真贋判定方法であって、前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定するステップを備えることを特徴とするものである。   The authenticity determination method for a device to be determined according to a sixteenth aspect of the present invention includes a first processing circuit and a second processing circuit having different functions, and a power supply to the first processing circuit and the second processing circuit. An information processing apparatus having an authenticity determination function of a device to be determined having a power supply unit for supplying the current, and a current measurement unit for measuring a current flowing from the power supply unit to the first processing circuit and the second processing circuit A method of determining whether an authenticated device is a genuine product or a non-genuine product, wherein the current measurement is performed during a first period in which the first processing circuit operates. A first comparison result between a first actually measured current value measured by the first unit and a first reference current value previously obtained for a genuine product or a non-genuine product for the first period; During the second period during which the processing circuit operates, A second comparison current value between the second measured current value measured by the current measuring unit and a second reference current value obtained in advance for a genuine or non-genuine product for the second period. , And a step of determining whether the device to be determined is a genuine product or a non-genuine product.

第16の態様に係る被判定装置の真贋判定方法によれば、第1の処理回路が動作する第1の期間において電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、第2の処理回路が動作する第2の期間において電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、被判定装置が正規品であるか非正規品であるかが判定される。従って、正規品の全てのファンクションを完全にコピーした非正規品が製造された場合であっても、デバイス構造や製造プロセスの相違等に起因して正規品と非正規品とでは消費電力特性が相違するため、非正規品(又は正規品)の実測電流値は正規品(又は非正規品)の基準電流値に一致しない。従って、被判定装置の真贋判定を容易に実行することが可能となる。しかも、機能が異なる第1の処理回路及び第2の処理回路の双方の消費電流特性に基づいて真贋判定を行うため、被判定装置の真贋判定をより高精度に実行することが可能となる。   According to the authenticity determination method for the device to be determined according to the sixteenth aspect, the first measured current value measured by the current measuring unit during the first period in which the first processing circuit operates, and the first period And a first comparison result with a first reference current value obtained in advance for a genuine product or a non-genuine product, and a second comparison result measured by a current measurement unit in a second period in which the second processing circuit operates. 2 based on the actually measured current value of the second device and a second comparison result of the second reference current value obtained in advance for the genuine product or the non-genuine product for the second period. It is determined whether the product is a genuine product or a non-genuine product. Therefore, even if a non-genuine product in which all functions of the genuine product are completely copied is manufactured, the power consumption characteristics of the genuine product and the non-genuine product are different due to differences in the device structure and manufacturing process. Because of the difference, the measured current value of the non-genuine product (or genuine product) does not match the reference current value of the genuine product (or non-genuine product). Therefore, it is possible to easily perform the authenticity determination of the device to be determined. In addition, since the authenticity determination is performed based on the current consumption characteristics of both the first processing circuit and the second processing circuit having different functions, it is possible to perform the authentication determination of the device to be determined with higher accuracy.

本発明の第17の態様に係る被判定装置の真贋判定方法は、自身を被判定装置とする真贋判定機能を備え、機能が異なる第1の処理回路及び第2の処理回路と、前記第1の処理回路及び前記第2の処理回路に電源を供給する電源供給部と、前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部と、を備える情報処理装置において、前記被判定装置が正規品であるか非正規品であるかを判定する、被判定装置の真贋判定方法であって、前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定するステップを備えることを特徴とするものである。   An authenticity determination method for a device to be determined according to a seventeenth aspect of the present invention includes an authenticity determination function using the device itself as a device to be determined, a first processing circuit and a second processing circuit having different functions, and A power supply unit that supplies power to the processing circuit and the second processing circuit, and a current measurement unit that measures a current flowing from the power supply unit to the first processing circuit and the second processing circuit. An information processing apparatus comprising: an authenticity determination method for a device to be determined, which determines whether the device to be determined is a genuine product or a non-genuine product, wherein the first period during which the first processing circuit operates is provided. And a first comparison result of a first actually measured current value measured by the current measurement unit and a first reference current value previously obtained for a genuine product or an irregular product for the first period. , A second operation of the second processing circuit. A second comparison result between the second actually measured current value measured by the current measuring unit during the second period and a second reference current value obtained in advance for the genuine product or the non-genuine product for the second period And a step of determining whether the device to be determined is a genuine product or a non-genuine product based on the above.

第17の態様に係る被判定装置の真贋判定方法によれば、第1の処理回路が動作する第1の期間において電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、第2の処理回路が動作する第2の期間において電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、被判定装置が正規品であるか非正規品であるかが判定される。従って、正規品の全てのファンクションを完全にコピーした非正規品が製造された場合であっても、デバイス構造や製造プロセスの相違等に起因して正規品と非正規品とでは消費電力特性が相違するため、非正規品(又は正規品)の実測電流値は正規品(又は非正規品)の基準電流値に一致しない。従って、被判定装置の真贋判定を容易に実行することが可能となる。しかも、機能が異なる第1の処理回路及び第2の処理回路の双方の消費電流特性に基づいて真贋判定を行うため、被判定装置の真贋判定をより高精度に実行することが可能となる。   According to the authenticity determination method for the device to be determined according to the seventeenth aspect, the first measured current value measured by the current measurement unit during the first period in which the first processing circuit operates, and the first period And a first comparison result with a first reference current value obtained in advance for a genuine product or a non-genuine product, and a second comparison result measured by a current measurement unit in a second period in which the second processing circuit operates. 2 based on the actually measured current value of the second device and a second comparison result of the second reference current value obtained in advance for the genuine product or the non-genuine product for the second period. It is determined whether the product is a genuine product or a non-genuine product. Therefore, even if a non-genuine product in which all functions of the genuine product are completely copied is manufactured, the power consumption characteristics of the genuine product and the non-genuine product are different due to differences in the device structure and manufacturing process. Because of the difference, the measured current value of the non-genuine product (or genuine product) does not match the reference current value of the genuine product (or non-genuine product). Therefore, it is possible to easily perform the authenticity determination of the device to be determined. In addition, since the authenticity determination is performed based on the current consumption characteristics of both the first processing circuit and the second processing circuit having different functions, it is possible to perform the authentication determination of the device to be determined with higher accuracy.

本発明によれば、被判定装置が正規品であるか非正規品であるかの真贋判定を容易かつ高精度に実行することが可能となる。   According to the present invention, it is possible to easily and accurately determine whether the device to be determined is a genuine product or a non-genuine product.

本発明の実施の形態に係るメモリシステムの構成を示す図である。FIG. 1 is a diagram illustrating a configuration of a memory system according to an embodiment of the present invention. ホスト装置の構成を簡略化して示す図である。FIG. 2 is a diagram illustrating a simplified configuration of a host device. メモリ装置の構成を簡略化して示す図である。FIG. 3 is a diagram schematically illustrating a configuration of a memory device. プログラムをCPUが実行することによって実現される機能を示す図である。FIG. 4 is a diagram showing functions realized by executing a program by a CPU. メモリ装置の消費電流特性の一例を示す図である。FIG. 4 is a diagram illustrating an example of current consumption characteristics of a memory device. ホスト装置によるメモリ装置の真贋判定処理の流れを示すフローチャートである。4 is a flowchart illustrating a flow of a memory device authenticity determination process performed by the host device. 実測電流値パターン及び基準電流値パターンの一例を示す図である。It is a figure showing an example of an actual measurement current value pattern and a reference current value pattern. 実測電流値パターンの他の例を示す図である。FIG. 9 is a diagram illustrating another example of the measured current value pattern. ホスト装置の他の構成例を示す図である。FIG. 14 is a diagram illustrating another configuration example of the host device. ホスト装置によるメモリ装置の真贋判定処理の流れを示すフローチャートである。4 is a flowchart illustrating a flow of a memory device authenticity determination process performed by the host device. プログラムをCPUが実行することによって実現される機能を示す図である。FIG. 4 is a diagram showing functions realized by executing a program by a CPU. メモリ装置の消費電流特性の一例を示す図である。FIG. 4 is a diagram illustrating an example of current consumption characteristics of a memory device. ホスト装置によるメモリ装置の真贋判定処理の流れを示すフローチャートである。4 is a flowchart illustrating a flow of a memory device authenticity determination process performed by the host device. ホスト装置の構成を簡略化して示す図である。FIG. 2 is a diagram illustrating a simplified configuration of a host device. メモリ装置の構成を簡略化して示す図である。FIG. 3 is a diagram schematically illustrating a configuration of a memory device. 認証制御回路の構成を示す図である。FIG. 3 is a diagram illustrating a configuration of an authentication control circuit. ホスト装置の構成を簡略化して示す図である。FIG. 2 is a diagram illustrating a simplified configuration of a host device. メモリ装置の構成を簡略化して示す図である。FIG. 3 is a diagram schematically illustrating a configuration of a memory device. 認証制御回路の構成を示す図である。FIG. 3 is a diagram illustrating a configuration of an authentication control circuit.

以下、本発明の実施の形態について、図面を用いて詳細に説明する。なお、異なる図面において同一の符号を付した要素は、同一又は相応する要素を示すものとする。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Note that elements denoted by the same reference numerals in different drawings indicate the same or corresponding elements.

<実施の形態1>
図1は、本発明の実施の形態1に係るメモリシステム1の構成を示す図である。図1に示すようにメモリシステム1は、ホスト装置2と、ホスト装置2に着脱自在に接続されたメモリ装置3とを備えて構成されている。ホスト装置2は、例えばパーソナルコンピュータ等の第1の情報処理装置であり、メモリ装置3は、ホスト装置2から電源供給を受けて動作する第2の情報処理装置、例えばフラッシュメモリのメモリカードである。他の例として、第1の情報処理装置はプリンタ又は複合機の本体であり、第2の情報処理装置はトナーカートリッジである。あるいは、第1の情報処理装置はゲーム機の本体であり、第2の情報処理装置はゲームプログラムが格納されたメモリカードである。
<First Embodiment>
FIG. 1 is a diagram showing a configuration of a memory system 1 according to the first embodiment of the present invention. As shown in FIG. 1, the memory system 1 includes a host device 2 and a memory device 3 detachably connected to the host device 2. The host device 2 is, for example, a first information processing device such as a personal computer, and the memory device 3 is a second information processing device that operates by receiving power supply from the host device 2, for example, a memory card of a flash memory. . As another example, the first information processing device is a main body of a printer or a multifunction peripheral, and the second information processing device is a toner cartridge. Alternatively, the first information processing device is a main body of a game machine, and the second information processing device is a memory card storing a game program.

本実施の形態では、メモリ装置3の真贋判定をホスト装置2が実行する態様、つまり、ホスト装置2等の第1の情報処理装置が判定装置であり、メモリ装置3等の第2の情報処理装置が被判定装置である態様について説明する。   In the present embodiment, the host device 2 performs the authenticity determination of the memory device 3, that is, the first information processing device such as the host device 2 is the determination device, and the second information processing device such as the memory device 3 is An aspect in which the device is a device to be determined will be described.

図2は、ホスト装置2の構成を簡略化して示す図である。図2に示すようにホスト装置2は、SoC(System on a Chip)11、電源制御部12、電流値測定回路13、及びメモリインタフェース14を備えて構成されている。SoC11及びメモリインタフェース14は、それぞれがホスト装置2側の信号処理回路である。SoC11は、バス21を介して相互に接続された、CPU22、復号器23、期待値格納メモリ24、GPIO(General Purpose Input/Output)25、ADC(Analog to Digital Converter)26、コマンドバッファ27、データバッファ28、及び、ROM又はRAM等の記憶部29を備えて構成されている。記憶部29には、プログラム101が格納されている。ホスト装置2は、自身に接続されたメモリ装置3を動作させるための電源を、電源VCC1(電源供給部)から電源制御部12及び抵抗素子Rを介してメモリ装置3(メモリコントローラ31及びメモリコパ32)に供給する。電流値測定回路13は、抵抗素子Rの両端電圧を測定することにより、電源VCC1からメモリ装置3に流れる電流の電流値を測定する。   FIG. 2 is a diagram showing a simplified configuration of the host device 2. As shown in FIG. 2, the host device 2 includes a SoC (System on a Chip) 11, a power supply control unit 12, a current value measurement circuit 13, and a memory interface 14. Each of the SoC 11 and the memory interface 14 is a signal processing circuit on the host device 2 side. The SoC 11 includes a CPU 22, a decoder 23, an expected value storage memory 24, a GPIO (General Purpose Input / Output) 25, an ADC (Analog to Digital Converter) 26, a command buffer 27, a data A buffer 28 and a storage unit 29 such as a ROM or a RAM are provided. The storage unit 29 stores a program 101. The host device 2 supplies power for operating the memory device 3 connected thereto to the memory device 3 (the memory controller 31 and the memory controller 32) from the power supply VCC1 (power supply unit) via the power supply control unit 12 and the resistance element R. ). The current value measuring circuit 13 measures the current value of the current flowing from the power supply VCC1 to the memory device 3 by measuring the voltage across the resistance element R.

図3は、メモリ装置3の構成を簡略化して示す図である。図3に示すようにメモリ装置3は、機能が互いに異なるメモリコントローラ31とメモリコア32とを備えて構成されている。メモリコントローラ31及びメモリコア32は、それぞれがメモリ装置3側の信号処理回路である。メモリコントローラ31は、ホストインタフェース41、デコーダ42、及びメモリコアインタフェース43を備えて構成されている。メモリコア32の特定のアドレス領域には、後述する期待値データ201が格納されている。   FIG. 3 is a diagram showing the configuration of the memory device 3 in a simplified manner. As shown in FIG. 3, the memory device 3 includes a memory controller 31 and a memory core 32 having different functions. Each of the memory controller 31 and the memory core 32 is a signal processing circuit on the memory device 3 side. The memory controller 31 includes a host interface 41, a decoder 42, and a memory core interface 43. In a specific address area of the memory core 32, expected value data 201 described later is stored.

図4は、図2に示したプログラム101をCPU22が実行することによって実現される機能を示す図である。図4に示すように、記憶部29から読み出したプログラム101をCPU22が実行することによって、CPU22は、ホスト装置2に接続されているメモリ装置3が正規品であるか非正規品であるかを判定する真贋判定部50として機能する。換言すれば、プログラム101は、情報処理装置としてのホスト装置2に搭載されるコンピュータを、真贋判定部50として機能させるためのプログラムである。   FIG. 4 is a diagram showing functions realized by the CPU 22 executing the program 101 shown in FIG. As shown in FIG. 4, when the CPU 22 executes the program 101 read from the storage unit 29, the CPU 22 determines whether the memory device 3 connected to the host device 2 is a genuine product or a non-genuine product. It functions as the authenticity judging unit 50 for judging. In other words, the program 101 is a program for causing a computer mounted on the host device 2 as the information processing device to function as the authentication unit 50.

図4に示すように真贋判定部150は、期間設定部51、電流値取得部52、パターン作成部53、及びパターン比較部54として機能する。なお、真贋判定部50の機能は、CPU22によるソフトウェア処理によって実現する場合に限らず、専用回路等を用いたハードウェア処理によって実現しても良い。   As shown in FIG. 4, the authenticity determination unit 150 functions as a period setting unit 51, a current value acquisition unit 52, a pattern creation unit 53, and a pattern comparison unit 54. Note that the function of the authenticity determination unit 50 is not limited to being realized by software processing by the CPU 22, but may be realized by hardware processing using a dedicated circuit or the like.

メモリ装置3の正規品(純正品)と非正規品(偽造品)とでは、半導体デバイスの構造や製造プロセス等が異なるため、消費電流特性が顕著に相違する。本実施の形態に係るホスト装置2は、メモリ装置3の消費電流値(絶対値)を実測することによって実測電流値パターンを作成し、その実測電流値パターンと、正規品又は非正規品に関する既知の基準電流値パターンとを比較することによって、自身に接続されているメモリ装置3が正規品であるか非正規品であるかの真贋判定を行う。以下、図面を参照しながら詳細に説明する。   A genuine memory device 3 (genuine product) and a non-genuine memory device (counterfeit product) have significantly different current consumption characteristics due to different semiconductor device structures and manufacturing processes. The host device 2 according to the present embodiment creates an actually-measured current value pattern by actually measuring the current consumption value (absolute value) of the memory device 3, and obtains the actually-measured current value pattern and a known genuine or non-genuine product. By comparing the reference current value pattern with the reference current value pattern, it is determined whether the memory device 3 connected thereto is genuine or non-genuine. Hereinafter, this will be described in detail with reference to the drawings.

図5は、メモリ装置3の消費電流特性の一例を示す図である。図5には、メモリ装置3が、ホスト装置2から読み出しコマンドを受信し、読み出しコマンドによって指定されたコンテンツデータをメモリコア32から読み出し、読み出したコンテンツデータをホスト装置2に送信する場合の消費電流特性を示している。   FIG. 5 is a diagram illustrating an example of current consumption characteristics of the memory device 3. FIG. 5 shows the current consumption when the memory device 3 receives a read command from the host device 2, reads content data specified by the read command from the memory core 32, and transmits the read content data to the host device 2. The characteristics are shown.

期間P11,P15は、メモリ装置3がホスト装置2からのコマンド受信を待機しているスタンバイ期間である。期間P11,P15では、メモリコントローラ31及びメモリコア32はいずれも動作をしていない。   The periods P11 and P15 are standby periods in which the memory device 3 waits for receiving a command from the host device 2. In the periods P11 and P15, neither the memory controller 31 nor the memory core 32 operates.

期間P12は、ホスト装置2が送信した読み出しコマンドをメモリ装置3が受信している期間である。期間P12では、メモリコントローラ31は動作をしており、メモリコア32は動作をしていない。   The period P12 is a period during which the memory device 3 is receiving the read command transmitted by the host device 2. In the period P12, the memory controller 31 operates and the memory core 32 does not operate.

期間P13は、メモリコア32からコンテンツデータを読み出すために、メモリコア32へのアクセスを実行している期間である。期間P13では、メモリコントローラ31は動作をしておらず、メモリコア32は動作をしている。   The period P13 is a period during which access to the memory core 32 is executed in order to read content data from the memory core 32. In the period P13, the memory controller 31 is not operating, and the memory core 32 is operating.

期間P14は、読み出しコマンドによって指定されたコンテンツデータをメモリコア32から読み出して、当該コンテンツデータをホスト装置2へ送信している期間である。期間P14では、メモリコントローラ31及びメモリコア32はいずれも動作をしている。   The period P14 is a period during which the content data specified by the read command is read from the memory core 32 and the content data is transmitted to the host device 2. In the period P14, both the memory controller 31 and the memory core 32 are operating.

本実施の形態に係る真贋判定部50は、メモリコントローラ31が単独で動作する期間P12において電流値測定回路13によって測定された第1の実測電流値パターンと、期間P12に関して予め求められた第1の基準電流値パターンとを比較する。また、真贋判定部50は、メモリコア32が単独で動作する期間P13において電流値測定回路13によって測定された第2の実測電流値パターンと、当該期間P13に関して予め求められた第2の基準電流値パターンとを比較する。そして、真贋判定部50は、これらの比較結果に基づいて、メモリ装置3が正規品であるか非正規品であるかを判定する。   The authenticity determination unit 50 according to the present embodiment includes the first actually measured current value pattern measured by the current value measurement circuit 13 during the period P12 in which the memory controller 31 operates alone, and the first measured current value pattern obtained in advance for the period P12. Is compared with the reference current value pattern. In addition, the authenticity determination unit 50 determines the second actually measured current value pattern measured by the current value measurement circuit 13 during the period P13 in which the memory core 32 operates alone, and the second reference current determined in advance for the period P13. Compare with value pattern. Then, the authenticity determination unit 50 determines whether the memory device 3 is a genuine product or a non-genuine product based on these comparison results.

正規品のメモリ装置3であれば、実装される半導体デバイスの種類や各デバイスの製造プロセスが厳密に管理されているため、各期間P11〜P15におけるメモリ装置3の消費電流特性はほぼ一定である。そこで、各期間P11〜P15の消費電流特性を示す情報が工場出荷前に作成されて、暗号化された期待値データ201(図3参照)として、メモリコア32の特定のアドレス領域に格納されている。本実施の形態の例では、メモリコントローラ31が単独で動作している期間P12、及び、メモリコア32が単独で動作している期間P13の各々に関する、
・消費電流値を所定のサンプリング周波数でサンプリングすることによって得られる消費電流値の遷移パターン(基準電流値パターン)
・消費電流値の最大値、最小値、及び平均値(基準代表値)
が、期待値データ201としてメモリコア32に格納されている。
In the case of a genuine memory device 3, since the type of the semiconductor device to be mounted and the manufacturing process of each device are strictly controlled, the current consumption characteristics of the memory device 3 in each of the periods P11 to P15 are almost constant. . Therefore, information indicating current consumption characteristics in each of the periods P11 to P15 is created before shipment from the factory, and is stored as encrypted expected value data 201 (see FIG. 3) in a specific address area of the memory core 32. I have. In the example of the present embodiment, each of the period P12 in which the memory controller 31 operates alone and the period P13 in which the memory core 32 operates alone are described.
・ Transition pattern of current consumption value obtained by sampling current consumption value at predetermined sampling frequency (reference current value pattern)
・ Maximum value, minimum value and average value of current consumption value (reference representative value)
Are stored in the memory core 32 as expected value data 201.

なお、排除対象となる非正規品が既に特定されている場合には、正規品に関する基準電流値パターン及び基準代表値に代えて、非正規品に関する基準電流値パターン及び基準代表値をメモリコア32に格納しても良い。例えば、正規品に関する基準電流値パターンを用いる場合には、実測電流値パターン(詳細は後述する)と基準電流値パターンとが一致するか否かによって、メモリ装置3が正規品であるか否かを判定できる。非正規品に関する基準電流値パターンを用いる場合には、実測電流値パターンと基準電流値パターンとが一致するか否かによって、メモリ装置3が非正規品であるか否かを判定できる。基準代表値についても同様である。本実施の形態及び後述の各変形例では、正規品に関する基準電流値パターン及び基準代表値を用いる例について説明する。   When the non-genuine product to be excluded is already specified, the reference current value pattern and the reference representative value for the non-genuine product are replaced with the memory core 32 in place of the reference current value pattern and the reference representative value for the genuine product. May be stored. For example, when a reference current value pattern for a genuine product is used, whether or not the memory device 3 is a genuine product depends on whether or not an actually measured current value pattern (to be described in detail later) matches the reference current value pattern. Can be determined. When the reference current value pattern relating to the non-genuine product is used, it can be determined whether or not the memory device 3 is a non-genuine product based on whether or not the actually measured current value pattern matches the reference current value pattern. The same applies to the reference representative value. In the present embodiment and each of the following modified examples, an example will be described in which a reference current value pattern and a reference representative value for a genuine product are used.

図6は、ホスト装置2によるメモリ装置3の真贋判定処理の流れを示すフローチャートである。メモリ装置3がホスト装置2に接続されると、まずステップSP101においてCPU22(期間設定部51)は、期間P11〜P15の中から、真贋判定の実行対象となる複数の判定対象期間を設定する。期間設定部51は、予め定められた規則に従って判定対象期間を静的に変更することができ、あるいは、真贋判定の累積実行回数やメモリシステム1の稼働状況等に応じて判定対象期間を動的に変更することができる。本実施の形態の例では、メモリコントローラ31が単独で動作している期間P12が第1の判定対象期間として設定され、メモリコア32が単独で動作している期間P13が第2の判定対象期間として設定される。   FIG. 6 is a flowchart showing a flow of the authenticity determination processing of the memory device 3 by the host device 2. When the memory device 3 is connected to the host device 2, first, in step SP <b> 101, the CPU 22 (period setting unit 51) sets a plurality of determination target periods to be subjected to authentication determination from the periods P <b> 11 to P <b> 15. The period setting unit 51 can statically change the determination target period according to a predetermined rule, or dynamically change the determination target period according to the cumulative number of times of execution of the authenticity determination, the operation status of the memory system 1, and the like. Can be changed to In the example of the present embodiment, the period P12 during which the memory controller 31 operates alone is set as the first determination target period, and the period P13 during which the memory core 32 operates alone is the second determination target period. Is set as

また、期間設定部51は、第1及び第2の判定対象期間に対してそれぞれ実行する真贋判定の処理内容を設定する。本実施の形態の例では、第1及び第2の判定対象期間の双方に対して、「電流値パターン同士の比較処理」が真贋判定の処理内容として設定される。但し、電流値パターン同士の比較処理がデフォルト処理として実行される場合には、この設定は省略しても良い。   In addition, the period setting unit 51 sets the content of the authenticity determination process to be performed for each of the first and second determination target periods. In the example of the present embodiment, “comparison processing between current value patterns” is set as the processing content of the authenticity determination for both the first and second determination target periods. However, when the comparison process between the current value patterns is executed as the default process, this setting may be omitted.

次にステップSP102においてCPU22は、メモリ装置3から所望の期待値データ201を読み出すための読み出しコマンドを、コマンドバッファ27にセットする。当該読み出しコマンドは、コマンドバッファ27からメモリインタフェース14を介してメモリ装置3に送信される。ホストインタフェース41は、ホスト装置2から受信した当該読み出しコマンドを、デコーダ42に入力する。デコーダ42は、入力された当該読み出しコマンドをデコードすることにより、所望の期待値データ201の読み出しアドレスをメモリコアインタフェース43に入力する。当該読み出しアドレスはメモリコアインタフェース43からメモリコア32に入力され、これによって、所望の期待値データ201がメモリコア32から読み出される。本実施の形態の例では、真贋判定の処理内容が「期間P12,P13を対象とする電流値パターン同士の比較処理」に設定されているため、各期間P12,P13に関する基準電流値パターンと、それぞれに対応する所定の許容誤差値を示すデータとが、所望の期待値データ201としてメモリコア32から読み出される。許容誤差値は、各期間P12,P13に関する基準電流値パターンにおける電流値の分布態様等に応じて、プラスマイナス数%からプラスマイナス10数%の範囲内で最適な値が予め設定されている。読み出された期待値データ201は、暗号化された状態で、メモリコアインタフェース43及びホストインタフェース41を介してホスト装置2に送信される。メモリインタフェース14は、メモリ装置3から受信した期待値データ201を、データバッファ28を介して復号器23に入力する。復号器23は、暗号化されている期待値データ201を復号化する。復号化された期待値データ201は、期待値格納メモリ24に格納される。本実施の形態の例では、各期間P12,P13に関する基準電流値パターンと、それぞれに対応する所定の許容誤差値を示すデータとが、期待値格納メモリ24に格納される。   Next, in step SP102, the CPU 22 sets a read command for reading the desired expected value data 201 from the memory device 3 in the command buffer 27. The read command is transmitted from the command buffer 27 to the memory device 3 via the memory interface 14. The host interface 41 inputs the read command received from the host device 2 to the decoder 42. The decoder 42 inputs the read address of the desired expected value data 201 to the memory core interface 43 by decoding the input read command. The read address is input from the memory core interface 43 to the memory core 32, whereby the desired expected value data 201 is read from the memory core 32. In the example of the present embodiment, since the processing content of the authenticity determination is set to “comparison processing between current value patterns for periods P12 and P13”, a reference current value pattern for each period P12 and P13, Data indicating a predetermined allowable error value corresponding to each of them is read from the memory core 32 as desired expected value data 201. As the allowable error value, an optimum value is set in advance within a range of plus or minus several percent to plus or minus ten and several percent according to the distribution of the current value in the reference current value pattern for each of the periods P12 and P13. The read expected value data 201 is transmitted to the host device 2 via the memory core interface 43 and the host interface 41 in an encrypted state. The memory interface 14 inputs the expected value data 201 received from the memory device 3 to the decoder 23 via the data buffer 28. The decryptor 23 decrypts the encrypted expected value data 201. The decrypted expected value data 201 is stored in the expected value storage memory 24. In the example of the present embodiment, the reference current value pattern for each of the periods P12 and P13 and data indicating a predetermined allowable error value corresponding to each of them are stored in the expected value storage memory 24.

次にステップSP103においてCPU22は、ADC26を駆動する。また、CPU22は期間P12において、メモリ装置3から所望のコンテンツデータを読み出すための読み出しコマンドを、コマンドバッファ27にセットする。当該読み出しコマンドは、コマンドバッファ27からメモリインタフェース14を介してメモリ装置3に送信される。ホストインタフェース41は、ホスト装置2から受信した当該読み出しコマンドを、デコーダ42に入力する。デコーダ42は、入力された当該読み出しコマンドをデコードすることにより、所望の期待値データ201の読み出しアドレスをメモリコアインタフェース43に入力する。期間P12においては、電源VCC1から電源制御部12及び抵抗素子Rを介して、メモリコントローラ31に電源が供給される。電源VCC1からメモリコントローラ31へ電源が供給されたことにより、抵抗素子Rに電流が流れる。電流値測定回路13は、抵抗素子Rの両端電圧を所定のサンプリング周波数(例えば1MHz〜数MHz)でサンプリングすることによって、電源VCC1からメモリコントローラ31へ流れる電流の電流値を実測する。期間P12に関する実測電流値は、図示しないプリアンプによって増幅された後、ADC26によってAD変換され、その後、電流値取得部52によってCPU22に順次入力される。なお、ADC26によるAD変換よりも前にプリアンプによって実測電流値を増幅する上記の構成に代えて、ADC26によるAD変換よりも後に乗算器によって実測電流値を増幅する構成を採用しても良い(以下同様)。   Next, in step SP103, the CPU 22 drives the ADC 26. Further, in the period P12, the CPU 22 sets a read command for reading desired content data from the memory device 3 in the command buffer 27. The read command is transmitted from the command buffer 27 to the memory device 3 via the memory interface 14. The host interface 41 inputs the read command received from the host device 2 to the decoder 42. The decoder 42 inputs the read address of the desired expected value data 201 to the memory core interface 43 by decoding the input read command. In the period P12, power is supplied from the power supply VCC1 to the memory controller 31 via the power supply control unit 12 and the resistance element R. When power is supplied from the power supply VCC1 to the memory controller 31, a current flows through the resistance element R. The current value measurement circuit 13 measures the current value of the current flowing from the power supply VCC1 to the memory controller 31 by sampling the voltage across the resistance element R at a predetermined sampling frequency (for example, 1 MHz to several MHz). The measured current value for the period P12 is amplified by a preamplifier (not shown), A / D converted by the ADC 26, and then sequentially input to the CPU 22 by the current value acquisition unit 52. Instead of the above-described configuration in which the pre-amplifier amplifies the actually measured current value before the A / D conversion by the ADC 26, a configuration in which the actually-measured current value is amplified by the multiplier after the A / D conversion by the ADC 26 may be adopted (hereinafter, referred to) Similar).

また、期間P12に引き続き、期間P13において、メモリコアインタフェース43からメモリコア32に読み出しアドレスが入力されることによって、メモリコア32に対するメモリアクセスが実行される。期間P13においては、電源VCC1から電源制御部12及び抵抗素子Rを介して、メモリコア32に電源が供給される。電源VCC1からメモリコア32へ電源が供給されたことにより、抵抗素子Rに電流が流れる。電流値測定回路13は、抵抗素子Rの両端電圧を所定のサンプリング周波数でサンプリングすることによって、電源VCC1からメモリコア32へ流れる電流の電流値を実測する。期間P13に関する実測電流値は、図示しないプリアンプによって増幅された後、ADC26によってAD変換され、その後、電流値取得部52によってCPU22に順次入力される。   Further, subsequent to the period P12, in a period P13, a read address is input from the memory core interface 43 to the memory core 32, so that a memory access to the memory core 32 is performed. In the period P13, power is supplied from the power supply VCC1 to the memory core 32 via the power supply control unit 12 and the resistance element R. When power is supplied from the power supply VCC1 to the memory core 32, a current flows through the resistance element R. The current value measurement circuit 13 measures the current value of the current flowing from the power supply VCC1 to the memory core 32 by sampling the voltage across the resistance element R at a predetermined sampling frequency. The measured current value for the period P13 is amplified by a preamplifier (not shown), A / D converted by the ADC 26, and then sequentially input to the CPU 22 by the current value acquisition unit 52.

次にステップSP104においてCPU22(パターン作成部53)は、電流値取得部52によって順次取得された複数の実測電流値を時系列順に配列することによって、期間P12に関するメモリコントローラ31の実測電流値パターンと、期間P13に関するメモリコア32の実測電流値パターンとを作成する。   Next, in step SP104, the CPU 22 (pattern creating unit 53) arranges the plurality of measured current values sequentially acquired by the current value acquiring unit 52 in chronological order, thereby obtaining the measured current value pattern of the memory controller 31 for the period P12. And the measured current value pattern of the memory core 32 for the period P13.

次にステップSP105においてCPU22(パターン比較部54)は、期間P12,P13の各々に関して、基準電流値パターンと許容誤差値を示すデータとを期待値格納メモリ24から読み出して取得する。   Next, in step SP105, the CPU 22 (pattern comparison unit 54) reads and acquires the reference current value pattern and the data indicating the allowable error value from the expected value storage memory 24 for each of the periods P12 and P13.

次にステップSP106においてCPU22(パターン比較部54)は、期間P12,P13の各々に関して、パターン作成部53によって作成された実測電流値パターンと、期待値格納メモリ24から読み出した基準電流値パターンとを比較する。   Next, in step SP106, the CPU 22 (pattern comparison unit 54) compares the measured current value pattern created by the pattern creation unit 53 and the reference current value pattern read from the expected value storage memory 24 for each of the periods P12 and P13. Compare.

図7は、期間P12に関して、実測電流値パターン及び基準電流値パターンの一例を示す図である。電流値測定回路13のサンプリング周波数が1MHz〜数MHzであり、期間P12の長さが数m秒〜数十m秒である場合には、実際には実測電流値パターン及び基準電流値パターンはそれぞれ数十万個〜数百万個の実測電流値及び基準電流値によって構成される。しかし図7では説明の簡単化のため、実測電流値パターンIP01及び基準電流値パターンIP02がそれぞれ7個の実測電流値X01〜X07及び基準電流値Y01〜Y07によって構成された例を示している。パターン比較部54は、それぞれ対応する実測電流値X01〜X07と基準電流値Y01〜Y07との差が、期待値格納メモリ24から読み出した許容誤差値以下であるか否かを比較する。   FIG. 7 is a diagram illustrating an example of the measured current value pattern and the reference current value pattern with respect to the period P12. When the sampling frequency of the current value measuring circuit 13 is 1 MHz to several MHz and the length of the period P12 is several milliseconds to several tens of milliseconds, the actually measured current value pattern and the reference current value pattern are actually It is composed of hundreds of thousands to millions of measured current values and reference current values. However, FIG. 7 shows an example in which the measured current value pattern IP01 and the reference current value pattern IP02 are respectively constituted by seven measured current values X01 to X07 and the reference current values Y01 to Y07 for simplification of the description. The pattern comparing section 54 compares whether or not the difference between the corresponding measured current values X01 to X07 and the reference current values Y01 to Y07 is equal to or smaller than the allowable error value read from the expected value storage memory 24.

次にステップSP107においてCPU22(真贋判定部50)は、期間P12,P13の各々に関して、実測電流値Xと基準電流値Yとの差の全てが許容誤差値以下であるか否かを判定する。そして真贋判定部50は、期間P12,P13の双方に関して、実測電流値Xと基準電流値Yとの差の全てが許容誤差値以下である場合(つまり完全一致する場合)には、ホスト装置2に接続されているメモリ装置3は正規品であると判定して、真贋判定処理を終了する。図7に示した例では、実測電流値Xと基準電流値Yとは完全一致している。   Next, in step SP107, the CPU 22 (authentication determining unit 50) determines whether or not all of the differences between the measured current value X and the reference current value Y are equal to or less than the allowable error value for each of the periods P12 and P13. Then, if the difference between the actually measured current value X and the reference current value Y is less than or equal to the allowable error value (that is, if they completely match) in both of the periods P12 and P13, the host device 2 Is determined to be a genuine product, and the authenticity determination processing ends. In the example shown in FIG. 7, the measured current value X and the reference current value Y completely match.

一方、期間P12,P13の各々に関して、少なくとも一つの差が許容誤差値を超える場合(つまり完全一致しない場合)には、真贋判定部50は、ホスト装置2に接続されているメモリ装置3は非正規品であると判定して、非正規品であるメモリ装置3を排除するための処理を開始する。例えば、電源制御部12に電源供給を停止させるための制御コマンドをGPIO25にセットすることにより、電源VCC1からメモリ装置3への電源供給を停止する。   On the other hand, in the case where at least one difference exceeds the allowable error value for each of the periods P12 and P13 (that is, when they do not completely match), the authenticity determination unit 50 determines that the memory device 3 connected to the host device 2 is not connected. It is determined that the memory device 3 is a genuine product, and a process for excluding the memory device 3 that is a non-genuine product is started. For example, by setting a control command for stopping the power supply to the power control unit 12 in the GPIO 25, the power supply from the power supply VCC1 to the memory device 3 is stopped.

図8は、実測電流値パターンの他の例を示す図である。実測電流値パターンIP01Aを構成する7個の実測電流値の最大値、最小値、及び平均値は、基準電流値パターンIP02のそれらに一致している。しかし、実測電流値パターンIP01Aの各実測電流値が基準電流値パターンIP02の各基準電流値と完全一致しないため、メモリ装置3は非正規品と判定される。また、実測電流値パターンIP01Bにおいて互いに隣接する実測電流値間の変化率は、基準電流値パターンIP02のそれらに一致している。しかし、実測電流値パターンIP01Bの各実測電流値が基準電流値パターンIP02の各基準電流値と完全一致しないため、メモリ装置3は非正規品と判定される。   FIG. 8 is a diagram illustrating another example of the actually measured current value pattern. The maximum value, the minimum value, and the average value of the seven measured current values forming the measured current value pattern IP01A match those of the reference current value pattern IP02. However, since each measured current value of the measured current value pattern IP01A does not completely match each reference current value of the reference current value pattern IP02, the memory device 3 is determined to be a non-genuine product. The rate of change between the measured current values adjacent to each other in the measured current value pattern IP01B matches those of the reference current value pattern IP02. However, since each measured current value of the measured current value pattern IP01B does not completely match each reference current value of the reference current value pattern IP02, the memory device 3 is determined to be a non-genuine product.

なお、以上の説明では、実測電流値Xと基準電流値Yとの差を求める演算、及び、各電流値の差が許容誤差値以下であるか否かの演算を、CPU22のソフトウェア処理によって実行する例について述べた。しかし、電流値測定回路13の膨大なサンプリング数に起因してCPU22の処理負荷が増大することを回避すべく、これらの演算は、専用の演算器を用いたハードウェア処理によって実行しても良い。   In the above description, the calculation for obtaining the difference between the measured current value X and the reference current value Y and the calculation as to whether or not the difference between the respective current values is equal to or smaller than the allowable error value are executed by software processing of the CPU 22. An example is given. However, in order to avoid an increase in the processing load of the CPU 22 due to the huge number of samplings of the current value measurement circuit 13, these calculations may be executed by hardware processing using a dedicated calculator. .

図9は、ホスト装置2の他の構成例を示す図である。SoC11に演算器60が実装されている。実測電流値Xと基準電流値Yとの差を求める演算、及び、各電流値の差が許容誤差値以下であるか否かの演算は、演算器60によって実行され、それらの演算の結果が演算器60からCPU22に入力される。   FIG. 9 is a diagram illustrating another configuration example of the host device 2. The arithmetic unit 60 is mounted on the SoC 11. The calculation for obtaining the difference between the measured current value X and the reference current value Y and the calculation as to whether or not the difference between the respective current values is equal to or smaller than the allowable error value are executed by the calculator 60. The data is input from the arithmetic unit 60 to the CPU 22.

このように本実施の形態に係るホスト装置2(情報処理装置)によれば、真贋判定部50は、メモリコントローラ31(第1の処理回路)が動作する第1の期間P12において電流値測定回路13(電流測定部)によって測定された第1の実測電流値と、当該第1の期間P12に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、メモリコア32(第2の処理回路)が動作する第2の期間P13において電流値測定回路13によって測定された第2の実測電流値と、当該第2の期間P13に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、メモリ装置3(被判定装置)が正規品であるか非正規品であるかを判定する。従って、正規品の全てのファンクションを完全にコピーした非正規品が製造された場合であっても、デバイス構造や製造プロセスの相違等に起因して正規品と非正規品とでは消費電力特性が相違するため、非正規品(又は正規品)の実測電流値は正規品(又は非正規品)の基準電流値に一致しない。従って、真贋判定部50によってメモリ装置3の真贋判定を容易に実行することが可能となる。しかも、機能が異なるメモリコントローラ31及びメモリコア32の双方の消費電流特性に基づいて真贋判定を行うため、真贋判定部50によってメモリ装置3の真贋判定をより高精度に実行することが可能となる。   As described above, according to the host device 2 (information processing device) according to the present embodiment, the authenticity determination unit 50 controls the current value measurement circuit in the first period P12 during which the memory controller 31 (first processing circuit) operates. 13 (a current measuring unit) and a first comparison of a first reference current value previously obtained for a genuine product or a non-genuine product in the first period P12. The result, the second actually measured current value measured by the current value measurement circuit 13 in the second period P13 in which the memory core 32 (the second processing circuit) operates, and a genuine product or a non-genuine product in the second period P13. It is determined whether the memory device 3 (determined device) is a genuine product or a non-genuine product based on a second comparison result with a second reference current value obtained in advance for a genuine product. I do. Therefore, even if a non-genuine product in which all functions of the genuine product are completely copied is manufactured, the power consumption characteristics of the genuine product and the non-genuine product are different due to differences in the device structure and manufacturing process. Because of the difference, the measured current value of the non-genuine product (or genuine product) does not match the reference current value of the genuine product (or non-genuine product). Therefore, the authenticity judgment unit 50 can easily execute the authenticity judgment of the memory device 3. Moreover, since the authenticity determination is performed based on the current consumption characteristics of both the memory controller 31 and the memory core 32 having different functions, the authenticity determination unit 50 can perform the authentication of the memory device 3 with higher accuracy. .

また、本実施の形態に係るホスト装置2によれば、真贋判定部50は、実測電流値パターンと基準電流値パターンとの比較結果に基づいて、メモリ装置3が正規品であるか非正規品であるかを判定する。非正規品は粗悪品であることが多いため、非正規品の消費電流の絶対値は正規品のそれより大きい場合が多い。本実施の形態に係るホスト装置2によれば、真贋判定部50は、消費電流の変化率パターンではなく実測電流値パターンと基準電流値パターンとを比較するため、たとえ正規品と非正規品とで消費電流の変化率パターンが近似している場合であっても、メモリ装置3の真贋判定を高精度に実行することが可能となる。   Further, according to the host device 2 according to the present embodiment, the authenticity determination unit 50 determines whether the memory device 3 is a genuine or non-genuine product based on the comparison result between the actually measured current value pattern and the reference current value pattern. Is determined. Since non-genuine products are often inferior products, the absolute value of the current consumption of the non-genuine product is often larger than that of the genuine product. According to the host device 2 according to the present embodiment, the authenticity determination unit 50 compares the measured current value pattern with the reference current value pattern instead of the current consumption change rate pattern. Thus, even if the current consumption change rate patterns are similar, the authenticity determination of the memory device 3 can be performed with high accuracy.

また、本実施の形態に係るホスト装置2によれば、真贋判定部50は、全ての実測電流値が、対応する基準電流値と一致しているか否かによって、メモリ装置3が正規品であるか非正規品であるかを判定する。従って、非正規品(又は正規品)の実測電流値パターンの一部のみが正規品(又は非正規品)の基準電流値パターンと異なる場合であっても、メモリ装置3の真贋判定を高精度に実行することが可能となる。   According to the host device 2 according to the present embodiment, the authenticity determination unit 50 determines that the memory device 3 is a genuine product based on whether or not all measured current values match the corresponding reference current values. Or non-genuine product. Therefore, even if only a part of the measured current value pattern of the non-genuine product (or the genuine product) is different from the reference current value pattern of the genuine product (or the non-genuine product), the authenticity determination of the memory device 3 can be performed with high accuracy. It becomes possible to execute.

また、本実施の形態に係るホスト装置2によれば、期間設定部51は、第1及び第2の判定対象期間を可変に設定する。従って、メモリ装置3の真贋判定を実行する対象となる第1及び第2の判定対象期間を期間設定部51によって静的又は動的に変更できるため、第三者による判定アルゴリズムの解析をより困難化することが可能となる。   Further, according to host device 2 according to the present embodiment, period setting unit 51 variably sets the first and second determination target periods. Therefore, the first and second determination target periods for which the memory device 3 is to be authenticated can be statically or dynamically changed by the period setting unit 51, which makes it more difficult for a third party to analyze the determination algorithm. Can be realized.

また、本実施の形態に係るホスト装置2によれば、期待値データ201は、メモリ装置3のメモリコア32に記憶されている。メモリ装置3の期待値データ201は、デバイスの構造や製造プロセス等に依存するため、デバイス毎に異なる。従って、あるメモリ装置3に関して求めた期待値データ201を、そのメモリ装置3のメモリコア32に記憶しておくことにより、デバイス毎に異なる期待値データ201を簡易に管理することが可能となる。   Further, according to the host device 2 according to the present embodiment, the expected value data 201 is stored in the memory core 32 of the memory device 3. The expected value data 201 of the memory device 3 differs for each device because it depends on the structure of the device, the manufacturing process, and the like. Therefore, by storing the expected value data 201 obtained for a certain memory device 3 in the memory core 32 of the memory device 3, it is possible to easily manage the expected value data 201 that differs for each device.

以下、上記実施の形態1に対する様々な変形例について説明する。以下に述べる変形例は、変形例同士を任意に組み合わせて適用することが可能であり、また、後述する実施の形態2〜4と任意に組み合わせて適用することが可能である。   Hereinafter, various modifications of the first embodiment will be described. The modifications described below can be applied by arbitrarily combining the modifications, and can be applied by being arbitrarily combined with Embodiments 2 to 4 described later.

<変形例1>
上記実施の形態1では、真贋判定部50は、各期間P12,P13に関する全ての実測電流値Xが、対応する基準電流値Yと完全一致している場合に、メモリ装置3が正規品であると判定した。
<Modification 1>
In the first embodiment, the authenticity determination unit 50 determines that the memory device 3 is genuine if all the measured current values X for each of the periods P12 and P13 completely match the corresponding reference current value Y. It was determined.

これに対して本変形例に係る真贋判定部50は、期間P12,P13の双方において、全ての実測電流値Xのうち、対応する基準電流値Yと一致する実測電流値Xの割合が第1のしきい値以上である場合に、メモリ装置3が正規品であると判定し、一方、期間P12,P13の少なくとも一方において、当該割合が第1のしきい値未満である場合に、メモリ装置3が非正規品であると判定する。第1のしきい値は、要求される判定精度等に応じて最適値がステップSP101において併せて設定され、少なくとも51%以上の値に設定される。   On the other hand, the authenticity determination unit 50 according to the present modification determines that the ratio of the measured current value X that matches the corresponding reference current value Y among all the measured current values X is the first in both the periods P12 and P13. If the ratio is less than the first threshold in at least one of the periods P12 and P13, the memory device 3 is determined to be genuine. 3 is determined to be a non-genuine product. An optimal value of the first threshold value is also set in step SP101 according to the required determination accuracy and the like, and is set to a value of at least 51% or more.

本変形例に係るホスト装置2によれば、真贋判定部50は、各期間P12,P13に関する全ての実測電流値Xのうち、対応する基準電流値Yと一致する実測電流値Xの割合が第1のしきい値以上であるか否かによって、メモリ装置3が正規品であるか非正規品であるかを判定する。従って例えば、突発的なノイズ等に起因して正規品の実測電流値Xが瞬間的に増減した場合であっても、正規品が誤って非正規品と判定される事態を回避することが可能となる。   According to the host device 2 according to the present modification, the authenticity determination unit 50 determines that the ratio of the measured current value X that matches the corresponding reference current value Y among all the measured current values X for each of the periods P12 and P13. Whether the memory device 3 is a genuine product or a non-genuine product is determined based on whether or not the memory device 3 is equal to or more than the threshold value of 1. Therefore, for example, even when the measured current value X of the genuine product instantaneously increases or decreases due to sudden noise or the like, it is possible to avoid a situation where the genuine product is erroneously determined to be a non-genuine product. Becomes

<変形例2>
上記実施の形態1では、各期間P12,P13において、パターン作成部53は実測電流値パターンを一回だけ作成し、パターン比較部54は実測電流値パターンと基準電流値パターンとを一回だけ比較し、真贋判定部50はパターン比較部54による一回だけの比較結果に基づいてメモリ装置3の真贋判定を行った。
<Modification 2>
In the first embodiment, in each of the periods P12 and P13, the pattern creating unit 53 creates the measured current value pattern only once, and the pattern comparing unit 54 compares the measured current value pattern with the reference current value pattern only once. Then, the authenticity judging section 50 judges the authenticity of the memory device 3 based on the result of the single comparison by the pattern comparing section 54.

これに対して本変形例に係る真贋判定部50は、パターン比較部54による複数回の比較結果に基づいてメモリ装置3の真贋判定を行う。   On the other hand, the authenticity determining unit 50 according to the present modification performs the authenticity determination of the memory device 3 based on a plurality of comparison results by the pattern comparing unit 54.

図10は、ホスト装置2によるメモリ装置3の真贋判定処理の流れを示すフローチャートである。ステップSP106に引き続き、ステップSP201において真贋判定部50は、パターン比較部54による実測電流値パターンと基準電流値パターンとの比較処理が、各期間P12,P13に関して所定のN回(Nは複数)実行されたか否かを判定する。   FIG. 10 is a flowchart illustrating a flow of the authenticity determination processing of the memory device 3 by the host device 2. Subsequent to step SP106, in step SP201, the authenticity determination unit 50 executes the comparison process between the actually measured current value pattern and the reference current value pattern by the pattern comparing unit 54 a predetermined number of N times (where N is a plurality) for each of the periods P12 and P13. It is determined whether or not it has been performed.

各期間P12,P13に関してN回の比較処理が実行されていない場合には、CPU22は、ステップSP103〜SP106の処理を再度実行する。一方、各期間P12,P13に関してN回の比較処理が実行された場合には、CPU22は、ステップSP107の処理に移行する。   If the comparison process has not been performed N times for each of the periods P12 and P13, the CPU 22 executes the processes of steps SP103 to SP106 again. On the other hand, when the comparison process has been performed N times for each of the periods P12 and P13, the CPU 22 proceeds to the process of step SP107.

ステップSP107において真贋判定部50は、期間P12,P13の双方において、パターン比較部54によるN回の比較処理のうち、実測電流値パターンが基準電流値パターンに一致していると判定された割合が第2のしきい値以上である場合に、メモリ装置3が正規品であると判定し、一方、期間P12,P13の少なくとも一方において、当該割合が第2のしきい値未満である場合に、メモリ装置3が非正規品であると判定する。所定回数Nの値は、要求される判定精度等に応じて最適値がステップSP101において併せて設定される。また、第2のしきい値は、要求される判定精度等に応じて最適値がステップSP101において併せて設定され、少なくとも51%以上の値に設定される。   In step SP107, the authenticity determination unit 50 determines, in both of the periods P12 and P13, the percentage of the N times of comparison processing performed by the pattern comparison unit 54 that the measured current value pattern is determined to match the reference current value pattern. When the ratio is equal to or more than the second threshold, the memory device 3 is determined to be a genuine product. On the other hand, when the ratio is less than the second threshold in at least one of the periods P12 and P13, It is determined that the memory device 3 is an unauthorized product. As the value of the predetermined number N, an optimum value is also set in step SP101 according to the required determination accuracy or the like. The second threshold value is also set to an optimum value in step SP101 according to the required determination accuracy and the like, and is set to a value of at least 51% or more.

本変形例に係るホスト装置2によれば、真贋判定部50は、パターン作成部53による実測電流値パターンの作成処理、及び、パターン比較部54による実測電流値パターンと基準電流値パターンとの比較処理を、各期間P12,P13に関して複数N回実行する。そして、パターン比較部54によるN回の比較処理のうち、実測電流値パターンが基準電流値パターンに一致していると判定された割合が第2のしきい値以上であるか否かによって、メモリ装置3が正規品であるか非正規品であるかを判定する。このように、パターン作成部53及びパターン比較部54による一連の処理を各期間P12,P13に関して複数N回繰り返して実行し、パターン比較部54によるN回の比較結果に基づいてメモリ装置3の真贋判定を行うことにより、判定精度を向上することが可能となる。   According to the host device 2 according to this modification, the authenticity determination unit 50 performs the process of creating the actually measured current value pattern by the pattern creating unit 53, and compares the actually measured current value pattern with the reference current value pattern by the pattern comparing unit 54. The process is executed a plurality of N times for each of the periods P12 and P13. Then, of the N comparison processes performed by the pattern comparison unit 54, the memory determines whether the rate at which the actually measured current value pattern matches the reference current value pattern is equal to or greater than the second threshold value. It is determined whether the device 3 is genuine or non-genuine. In this manner, a series of processes by the pattern creation unit 53 and the pattern comparison unit 54 are repeatedly executed a plurality of N times for each of the periods P12 and P13, and the authenticity of the memory device 3 is determined based on the comparison results of the N times by the pattern comparison unit 54. By performing the determination, the determination accuracy can be improved.

<変形例3>
上記実施の形態1では、真贋判定部50は、各期間P12,13に関して、実測電流値パターンと基準電流値パターンとの比較結果に基づいて、メモリ装置3の真贋判定を行った。
<Modification 3>
In the first embodiment, the authenticity determination unit 50 determines the authenticity of the memory device 3 for each of the periods P12 and P13 based on the comparison result between the actually measured current value pattern and the reference current value pattern.

これに対して本変形例に係る真贋判定部50は、各期間P12,P13に関して、実測電流値パターンと基準電流値パターンとの比較結果に代えて、実測代表値と基準代表値との比較結果に基づいて、メモリ装置3の真贋判定を行う。上記実施の形態1で説明した通り、期間P12,P13の各々に関する消費電流値の最大値、最小値、及び平均値(基準代表値)が、期待値データ201の一部としてメモリコア32に格納されている。   On the other hand, the authenticity determination unit 50 according to the present modification uses the comparison result of the measured representative value and the reference representative value instead of the comparison result of the measured current value pattern and the reference current value pattern for each of the periods P12 and P13. , The authenticity of the memory device 3 is determined. As described in the first embodiment, the maximum value, the minimum value, and the average value (reference representative value) of the current consumption values for each of the periods P12 and P13 are stored in the memory core 32 as a part of the expected value data 201. Have been.

図11は、図2に示したプログラム101をCPU22が実行することによって実現される機能を示す図である。図11に示すように真贋判定部50は、期間設定部51、電流値取得部52、代表値算出部55、及び代表値比較部56として機能する。   FIG. 11 is a diagram showing functions realized by the CPU 22 executing the program 101 shown in FIG. As shown in FIG. 11, the authenticity determination unit 50 functions as a period setting unit 51, a current value acquisition unit 52, a representative value calculation unit 55, and a representative value comparison unit 56.

本変形例に係る真贋判定部50は、メモリコントローラ31が単独で動作する期間P12において電流値測定回路13によって測定された第1の実測代表値と、期間P12に関して予め求められた第1の基準代表値とを比較する。また、真贋判定部50は、メモリコア32が単独で動作する期間P13において電流値測定回路13によって測定された第2の実測代表値と、当該期間P13に関して予め求められた第2の基準代表値とを比較する。そして、真贋判定部50は、これらの比較結果に基づいて、メモリ装置3が正規品であるか非正規品であるかを判定する。   The authenticity determination unit 50 according to the present modification includes a first actually measured representative value measured by the current value measurement circuit 13 during a period P12 in which the memory controller 31 operates alone, and a first reference determined in advance for the period P12. Compare with the representative value. In addition, the authenticity judgment unit 50 calculates the second measured representative value measured by the current value measurement circuit 13 during the period P13 in which the memory core 32 operates alone, and the second reference representative value obtained in advance for the period P13. Compare with Then, the authenticity determination unit 50 determines whether the memory device 3 is a genuine product or a non-genuine product based on these comparison results.

図12は、メモリ装置3の消費電流特性の一例を示す図である。上記実施の形態1と同様に、ステップSP101において期間設定部51は、期間P12,P13を判定対象期間として設定する。また、ステップSP101において期間設定部51は、「最大値、最小値、及び平均値同士の比較処理」を、各期間P12,P13において実行する真贋判定の処理内容として設定する。   FIG. 12 is a diagram illustrating an example of current consumption characteristics of the memory device 3. As in the first embodiment, in step SP101, the period setting unit 51 sets the periods P12 and P13 as the determination target periods. In step SP101, the period setting unit 51 sets “comparison processing between the maximum value, the minimum value, and the average value” as the content of the authenticity determination process performed in each of the periods P12 and P13.

図13は、ホスト装置2によるメモリ装置3の真贋判定処理の流れを示すフローチャートである。ステップSP102では、各期間P12,P13に関する基準代表値(基準最大値、基準最小値、及び基準平均値)と、それらに対応する所定の許容誤差値を示すデータとが、所望の期待値データ201としてメモリコア32から読み出される。これらの情報は、メモリ装置3からホスト装置2に送信され、復号器23によって復号化された後、期待値格納メモリ24に格納される。   FIG. 13 is a flowchart showing the flow of the authenticity determination processing of the memory device 3 by the host device 2. In step SP102, the reference representative values (the reference maximum value, the reference minimum value, and the reference average value) for each of the periods P12 and P13 and the data indicating the predetermined allowable error value corresponding to the reference representative values are obtained as desired expected value data 201. From the memory core 32. These pieces of information are transmitted from the memory device 3 to the host device 2, decoded by the decoder 23, and stored in the expected value storage memory 24.

ステップSP301において代表値算出部55は、各期間P12,P13に関して、電流値取得部52によって取得された実測電流値Xに基づいて、実測最大値、実測最小値、及び実測平均値を求める。   In step SP301, the representative value calculation unit 55 obtains an actually measured maximum value, an actually measured minimum value, and an actually measured average value for each of the periods P12 and P13 based on the actually measured current value X acquired by the current value acquiring unit 52.

ステップSP302において代表値比較部56は、各期間P12,P13に関する基準代表値を、期待値格納メモリ24から取得する。   In step SP302, the representative value comparison unit 56 acquires the reference representative values for each of the periods P12 and P13 from the expected value storage memory 24.

ステップSP303において代表値比較部56は、各期間P12,P13に関して、実測最大値と基準最大値との差が許容誤差値以下であるか否か、実測最小値と基準最小値との差が許容誤差値以下であるか否か、及び、実測平均値と基準平均値との差が許容誤差値以下であるか否か、を判定する。   In step SP303, the representative value comparison unit 56 determines whether the difference between the actually measured maximum value and the reference maximum value is equal to or less than an allowable error value for each of the periods P12 and P13, and determines whether the difference between the actually measured minimum value and the reference minimum value is acceptable. It is determined whether or not the difference is equal to or less than the error value, and whether or not the difference between the actually measured average value and the reference average value is equal to or less than the allowable error value.

真贋判定部50は、期間P12,P13の双方に関して、上記3つの代表値の差がいずれも許容誤差値以下である場合に、メモリ装置3が正規品であると判定する。一方、期間P12,P13の少なくとも一方に関して、いずれかの代表値の差が許容誤差値を超える場合に、メモリ装置3が非正規品であると判定する。   The authenticity determination unit 50 determines that the memory device 3 is genuine if the difference between the three representative values is equal to or less than the allowable error value for both the periods P12 and P13. On the other hand, if at least one of the periods P12 and P13 has a difference between any of the representative values exceeding the allowable error value, the memory device 3 is determined to be a non-genuine product.

なお、実測代表値を求める演算、実測代表値と基準代表値との差を求める演算、及び、実測代表値と基準代表値との差が許容誤差値以下であるか否かの演算は、図9に示した演算器60によって実行しても良い。また、3つの実測代表値(最大値、最小値、及び平均値)の全てを使用するのではなく、一部の実測代表値を使用しても良い。   The calculation for obtaining the measured representative value, the calculation for determining the difference between the measured representative value and the reference representative value, and the calculation for determining whether the difference between the measured representative value and the reference representative value are equal to or smaller than the allowable error value are shown in FIG. 9 may be executed by the arithmetic unit 60 shown in FIG. Instead of using all three measured representative values (the maximum value, the minimum value, and the average value), a part of the measured representative values may be used.

このように本変形例に係るホスト装置2によれば、真贋判定部50は、各期間P12,P13に関して、代表値比較部56による実測代表値と基準代表値との比較結果に基づいて、メモリ装置3が正規品であるか非正規品であるかを判定する。このように、実測電流値パターンと基準電流値パターンとの比較に代えて、実測代表値と基準代表値との比較を行うことにより、実測電流値パターンを作成する必要がなく、また、基準電流値パターンを保持しておく必要もないため、メモリ装置3の真贋判定を簡易に実行することが可能となる。   As described above, according to the host device 2 according to the present modification, the authenticity determination unit 50 determines the memory based on the comparison result between the measured representative value and the reference representative value by the representative value comparison unit 56 for each of the periods P12 and P13. It is determined whether the device 3 is genuine or non-genuine. Thus, by comparing the measured representative value with the reference representative value instead of comparing the measured current value pattern with the reference current value pattern, there is no need to create the measured current value pattern. Since it is not necessary to hold the value pattern, the authenticity of the memory device 3 can be easily determined.

また、本変形例に係るホスト装置2によれば、代表値算出部55は、実測代表値として、平均値、最大値、及び最小値の少なくとも一つを算出する。このように、平均値、最大値、及び最小値の少なくとも一つを実測代表値として使用することにより、実測代表値を簡易に算出することが可能となる。   Further, according to the host device 2 according to the present modification, the representative value calculating unit 55 calculates at least one of the average value, the maximum value, and the minimum value as the measured representative value. In this way, by using at least one of the average value, the maximum value, and the minimum value as the measured representative value, the measured representative value can be easily calculated.

<実施の形態2>
本実施の形態では、ホスト装置2の真贋判定をメモリ装置3が実行する態様、つまり、メモリ装置3等の第2の情報処理装置が判定装置であり、ホスト装置2等の第1の情報処理装置が被判定装置である態様について説明する。
<Embodiment 2>
In the present embodiment, an aspect in which the memory device 3 performs the authenticity determination of the host device 2, that is, the second information processing device such as the memory device 3 is the determination device, and the first information processing device such as the host device 2 is used. An aspect in which the device is a device to be determined will be described.

図14は、ホスト装置2の構成を簡略化して示す図である。図14に示すようにホスト装置2は、機能が互いに異なるSoC11とメモリインタフェース12とを備えて構成されている。SoC11には、不揮発性の記憶部15が接続されている。記憶部15には、期待値データ202が格納されている。   FIG. 14 is a diagram showing a simplified configuration of the host device 2. As shown in FIG. 14, the host device 2 includes an SoC 11 and a memory interface 12 having different functions. The SoC 11 is connected to a nonvolatile storage unit 15. The storage unit 15 stores expected value data 202.

SoC11は、バス21を介して相互に接続された、CPU22、コマンドバッファ27、及びデータバッファ28を備えて構成されている。SoC11及びメモリインタフェース14には、電源VCC2(電源供給部)から抵抗素子Rを介して駆動電源が供給される。   The SoC 11 includes a CPU 22, a command buffer 27, and a data buffer 28, which are mutually connected via a bus 21. The SoC 11 and the memory interface 14 are supplied with drive power from a power supply VCC2 (power supply unit) via a resistance element R.

図15は、メモリ装置3の構成を簡略化して示す図である。図15に示すようにメモリ装置3は、メモリコントローラ31、メモリコア32、電流値測定回路33、及び認証制御回路34を備えて構成されている。メモリコントローラ31は、ホストインタフェース41、デコーダ42、及びメモリコアインタフェース43を備えて構成されている。電流値測定回路33は、ホスト装置2の抵抗素子Rの両端電圧を測定することにより、電源VCC2からSoC211及びメモリインタフェース14に流れる電流の電流値を測定する。   FIG. 15 is a diagram showing a simplified configuration of the memory device 3. As shown in FIG. 15, the memory device 3 includes a memory controller 31, a memory core 32, a current value measurement circuit 33, and an authentication control circuit 34. The memory controller 31 includes a host interface 41, a decoder 42, and a memory core interface 43. The current value measurement circuit 33 measures the current value of the current flowing from the power supply VCC2 to the SoC 211 and the memory interface 14 by measuring the voltage across the resistance element R of the host device 2.

図16は、認証制御回路34の構成を示す図である。図16の接続関係で示すように、認証制御回路34は、バス71を介して相互に接続された、CPU72、復号器73、期待値格納メモリ74、GPIO75、電源制御部76、ADC77、及び、ROM又はRAM等の記憶部78を備えて構成されている。記憶部78には、プログラム102が格納されている。   FIG. 16 is a diagram showing a configuration of the authentication control circuit 34. 16, the authentication control circuit 34 includes a CPU 72, a decoder 73, an expected value storage memory 74, a GPIO 75, a power supply control unit 76, an ADC 77, and a CPU 72, which are mutually connected via a bus 71. It comprises a storage unit 78 such as a ROM or a RAM. The storage unit 78 stores a program 102.

記憶部78から読み出したプログラム102をCPU72が実行することによって、図4に示すようにCPU72は、ホスト装置2が正規品であるか非正規品であるかを判定する真贋判定部50として機能する。換言すれば、プログラム102は、第2の情報処理装置としてのメモリ装置3に搭載されるコンピュータを、真贋判定部50として機能させるためのプログラムである。   By executing the program 102 read from the storage unit 78 by the CPU 72, the CPU 72 functions as an authenticity determination unit 50 that determines whether the host device 2 is a genuine product or a non-genuine product, as shown in FIG. . In other words, the program 102 is a program for causing a computer mounted on the memory device 3 as the second information processing device to function as the authenticity determination unit 50.

本実施の形態に係る真贋判定部50は、SoC11が単独で動作する第1の判定対象期間において電流値測定回路33によって測定された第1の実測電流値パターンと、当該第1の判定対象期間に関して予め求められた第1の基準電流値パターンとを比較する。また、真贋判定部50は、メモリインタフェース14が単独で動作する第2の判定対象期間において電流値測定回路33によって測定された第2の実測電流値パターンと、当該第2の判定対象期間に関して予め求められた第2の基準電流値パターンとを比較する。そして、真贋判定部50は、これらの比較結果に基づいて、ホスト装置2が正規品であるか非正規品であるかを判定する。   The authenticity determination unit 50 according to the present embodiment includes: a first actually measured current value pattern measured by the current value measurement circuit 33 in a first determination target period in which the SoC 11 operates alone; Is compared with a first reference current value pattern obtained in advance. In addition, the authenticity determination unit 50 determines in advance the second actually measured current value pattern measured by the current value measurement circuit 33 in the second determination target period in which the memory interface 14 operates alone and the second determination target period. The obtained second reference current value pattern is compared with the obtained second reference current value pattern. Then, the authenticity determination unit 50 determines whether the host device 2 is a genuine product or a non-genuine product based on the comparison results.

図6を参照して、メモリ装置3がホスト装置2に接続されると、まずステップSP101においてCPU72(期間設定部51)は、真贋判定の実行対象となる複数の判定対象期間を設定する。本実施の形態の例では、SoC11が単独で動作している期間が第1の判定対象期間として設定され、メモリインタフェース14が単独で動作している期間が第2の判定対象期間として設定される。また、期間設定部51は、第1及び第2の判定対象期間に対してそれぞれ実行する真贋判定の処理内容を設定する。本実施の形態の例では、第1及び第2の判定対象期間の双方に対して、「電流値パターン同士の比較処理」が真贋判定の処理内容として設定される。   Referring to FIG. 6, when memory device 3 is connected to host device 2, first, in step SP101, CPU 72 (period setting unit 51) sets a plurality of determination target periods for which authentication is to be performed. In the example of the present embodiment, a period in which the SoC 11 operates alone is set as the first determination target period, and a period in which the memory interface 14 operates alone is set as the second determination target period. . In addition, the period setting unit 51 sets the content of the authenticity determination process to be performed for each of the first and second determination target periods. In the example of the present embodiment, “comparison processing between current value patterns” is set as the processing content of the authenticity determination for both the first and second determination target periods.

次にステップSP102においてCPU72は、所望の期待値データ202を記憶部15から読み出し、その期待値データ202を期待値格納メモリ74に格納する。本実施の形態の例では、真贋判定の処理内容が「第1及び第2の判定対象期間を対象とする電流値パターン同士の比較処理」に設定されているため、第1及び第2の判定対象期間に関する基準電流値パターンと、それぞれに対応する所定の許容誤差値を示すデータとが、所望の期待値データ202として記憶部15から読み出され、期待値格納メモリ74に格納される。   Next, in step SP102, the CPU 72 reads the desired expected value data 202 from the storage unit 15, and stores the expected value data 202 in the expected value storage memory 74. In the example of the present embodiment, since the processing content of the authenticity determination is set to “comparison processing between current value patterns for the first and second determination target periods”, the first and second determinations are performed. The reference current value pattern relating to the target period and data indicating a predetermined permissible error value corresponding to each are read from the storage unit 15 as desired expected value data 202 and stored in the expected value storage memory 74.

次にステップSP103においてCPU72は、ADC77を駆動するとともに、第1の判定対象期間においてSoC11を単独で動作させる。第1の判定対象期間においては、電源VCC2から抵抗素子Rを介してSoC11に電源が供給される。電源VCC2からSoC11へ電源が供給されたことにより、抵抗素子Rに電流が流れる。電流値測定回路33は、抵抗素子Rの両端電圧を所定のサンプリング周波数でサンプリングすることによって、電源VCC2からSoC11へ流れる電流の電流値を実測する。   Next, in step SP103, the CPU 72 drives the ADC 77 and operates the SoC 11 alone in the first determination target period. In the first determination target period, power is supplied from the power supply VCC2 to the SoC 11 via the resistance element R. When power is supplied from the power supply VCC2 to the SoC 11, a current flows through the resistance element R. The current value measurement circuit 33 measures the current value of the current flowing from the power supply VCC2 to the SoC 11 by sampling the voltage across the resistance element R at a predetermined sampling frequency.

また、CPU72は、第2の判定対象期間においてメモリインタフェース14を単独で動作させる。第2の判定対象期間においては、電源VCC2から抵抗素子Rを介してメモリインタフェース14に電源が供給される。電源VCC2からメモリインタフェース14へ電源が供給されたことにより、抵抗素子Rに電流が流れる。電流値測定回路33は、抵抗素子Rの両端電圧を所定のサンプリング周波数でサンプリングすることによって、電源VCC2からメモリインタフェース14へ流れる電流の電流値を実測する。   Further, the CPU 72 operates the memory interface 14 alone during the second determination target period. In the second determination target period, power is supplied from the power supply VCC2 to the memory interface 14 via the resistance element R. When power is supplied from the power supply VCC2 to the memory interface 14, a current flows through the resistance element R. The current value measurement circuit 33 measures the current value of the current flowing from the power supply VCC2 to the memory interface 14 by sampling the voltage across the resistance element R at a predetermined sampling frequency.

次にステップSP104においてCPU72(パターン作成部53)は、電流値取得部52によって順次取得された複数の実測電流値を時系列順に配列することによって、第1の判定対象期間に関するSoC11の実測電流値パターンと、第2の判定対象期間に関するメモリインタフェース14の実測電流値パターンとを作成する。   Next, in step SP104, the CPU 72 (pattern creating unit 53) arranges the plurality of actually measured current values sequentially acquired by the current value acquiring unit 52 in chronological order, so that the actually measured current value of the SoC 11 for the first determination target period. A pattern and an actually measured current value pattern of the memory interface 14 for the second determination target period are created.

次にステップSP105においてCPU72(パターン比較部54)は、第1及び第2の判定対象期間の各々に関して、基準電流値パターンと許容誤差値を示すデータとを期待値格納メモリ74から読み出して取得する。   Next, in step SP105, the CPU 72 (pattern comparison unit 54) reads and acquires the reference current value pattern and the data indicating the allowable error value from the expected value storage memory 74 for each of the first and second determination target periods. .

次にステップSP106においてCPU72(パターン比較部54)は、第1及び第2の判定対象期間の各々に関して、パターン作成部53によって作成された実測電流値パターンと、期待値格納メモリ74から読み出した基準電流値パターンとを比較する。   Next, in step SP106, the CPU 72 (pattern comparison unit 54) determines the measured current value pattern created by the pattern creation unit 53 and the reference read from the expected value storage memory 74 for each of the first and second determination target periods. Compare with the current value pattern.

次にステップSP107においてCPU72(真贋判定部50)は、第1及び第2の判定対象期間の各々に関して、実測電流値Xと基準電流値Yとの差の全てが許容誤差値以下であるか否かを判定する。そして真贋判定部50は、第1及び第2の判定対象期間の双方に関して、実測電流値Xと基準電流値Yとの差の全てが許容誤差値以下である場合(つまり完全一致する場合)には、ホスト装置2は正規品であると判定して、真贋判定処理を終了する。   Next, in step SP107, the CPU 72 (authentication unit 50) determines whether or not all of the differences between the actually measured current value X and the reference current value Y are equal to or less than the allowable error value for each of the first and second determination target periods. Is determined. Then, the authenticity determination unit 50 determines whether the difference between the actually measured current value X and the reference current value Y is equal to or less than the allowable error value (that is, when they completely match) in both the first and second determination target periods. The host device 2 determines that the device is genuine and ends the authenticity determination process.

一方、第1及び第2の判定対象期間の各々に関して、少なくとも一つの差が許容誤差値を超える場合(つまり完全一致しない場合)には、真贋判定部50は、ホスト装置2は非正規品であると判定して、メモリシステム1の動作を停止するための処理を開始する。例えば、電源制御部76に電源供給を停止させるための制御コマンドをGPIO75にセットすることにより、メモリコントローラ31への電源供給を停止する。   On the other hand, if at least one difference exceeds the permissible error value (that is, does not completely match) for each of the first and second determination target periods, the authenticity determination unit 50 determines that the host device 2 is an unauthorized product. It is determined that there is, and processing for stopping the operation of the memory system 1 is started. For example, the power supply to the memory controller 31 is stopped by setting a control command for stopping the power supply to the power control unit 76 in the GPIO 75.

このように本実施の形態に係るメモリ装置3(情報処理装置)によれば、真贋判定部50は、SoC11(第1の処理回路)が動作する第1の判定対象期間において電流値測定回路33(電流測定部)によって測定された第1の実測電流値と、当該第1の判定対象期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、メモリインタフェース14(第2の処理回路)が動作する第2の判定対象期間において電流値測定回路33によって測定された第2の実測電流値と、当該第2の判定対象期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、ホスト装置2(被判定装置)が正規品であるか非正規品であるかを判定する。従って、正規品の全てのファンクションを完全にコピーした非正規品が製造された場合であっても、デバイス構造や製造プロセスの相違等に起因して正規品と非正規品とでは消費電力特性が相違するため、非正規品(又は正規品)の実測電流値は正規品(又は非正規品)の基準電流値に一致しない。従って、真贋判定部50によってホスト装置2の真贋判定を容易に実行することが可能となる。しかも、機能が異なるSoC11及びメモリインタフェース14の双方の消費電流特性に基づいて真贋判定を行うため、真贋判定部50によってホスト装置2の真贋判定をより高精度に実行することが可能となる。   As described above, according to the memory device 3 (information processing device) according to the present embodiment, the authenticity determination unit 50 performs the current value measurement circuit 33 in the first determination target period in which the SoC 11 (first processing circuit) operates. (1st comparison of the first measured current value measured by the (current measuring unit) with the first reference current value previously obtained for the genuine product or the non-genuine product in the first determination target period. The result, the second actually measured current value measured by the current value measurement circuit 33 in the second determination target period in which the memory interface 14 (second processing circuit) operates, and a genuine product for the second determination target period Alternatively, based on a second comparison result with a second reference current value obtained in advance for the non-genuine product, whether the host device 2 (determined device) is a genuine product or a non-genuine product Is determined. Therefore, even if a non-genuine product in which all functions of the genuine product are completely copied is manufactured, the power consumption characteristics of the genuine product and the non-genuine product are different due to differences in the device structure and manufacturing process. Because of the difference, the measured current value of the non-genuine product (or genuine product) does not match the reference current value of the genuine product (or non-genuine product). Therefore, the authenticity determination unit 50 can easily perform the authenticity determination of the host device 2. Moreover, since the authenticity judgment is performed based on the current consumption characteristics of both the SoC 11 and the memory interface 14 having different functions, the authenticity judgment unit 50 can execute the authenticity judgment of the host device 2 with higher accuracy.

<実施の形態3>
本実施の形態では、ホスト装置2の真贋判定をホスト装置2自身が実行する態様、つまり、ホスト装置2等の第1の情報処理装置が判定装置かつ被判定装置である態様について説明する。
<Embodiment 3>
In the present embodiment, a mode in which the host device 2 itself performs the authenticity determination of the host device 2, that is, a mode in which the first information processing device such as the host device 2 is the determination device and the device to be determined will be described.

図17は、ホスト装置2の構成を簡略化して示す図である。図17に示すようにホスト装置2は、SoC11、電源制御部12、電流値測定回路16、メモリインタフェース14、及び不揮発性の記憶部15を備えて構成されている。記憶部15には、期待値データ203が格納されている。   FIG. 17 is a diagram showing a simplified configuration of the host device 2. As shown in FIG. 17, the host device 2 includes an SoC 11, a power supply control unit 12, a current value measurement circuit 16, a memory interface 14, and a nonvolatile storage unit 15. The storage unit 15 stores expected value data 203.

SoC11は、バス21を介して相互に接続された、CPU22、復号器23、期待値格納メモリ24、GPIO25、ADC26、コマンドバッファ27、データバッファ28、及び、ROM又はRAM等の記憶部29を備えて構成されている。記憶部29には、プログラム103が格納されている。SoC11及びメモリインタフェース14には、電源VCC3(電源供給部)から抵抗素子Rを介して駆動電源が供給される。電流値測定回路16は、抵抗素子Rの両端電圧を測定することにより、電源VCC3からSoC211及びメモリインタフェース14に流れる電流の電流値を測定する。   The SoC 11 includes a CPU 22, a decoder 23, an expected value storage memory 24, a GPIO 25, an ADC 26, a command buffer 27, a data buffer 28, and a storage unit 29 such as a ROM or a RAM, which are interconnected via a bus 21. It is configured. The storage unit 29 stores a program 103. Driving power is supplied to the SoC 11 and the memory interface 14 from the power supply VCC3 (power supply unit) via the resistance element R. The current value measuring circuit 16 measures the current value of the current flowing from the power supply VCC3 to the SoC 211 and the memory interface 14 by measuring the voltage across the resistance element R.

記憶部29から読み出したプログラム103をCPU22が実行することによって、図4に示すようにCPU22は、ホスト装置2が正規品であるか非正規品であるかを判定する真贋判定部50として機能する。換言すれば、プログラム103は、第1の情報処理装置としてのホスト装置2に搭載されるコンピュータを、真贋判定部50として機能させるためのプログラムである。   By executing the program 103 read from the storage unit 29 by the CPU 22, the CPU 22 functions as an authenticity determination unit 50 that determines whether the host device 2 is a genuine product or an unauthorized product, as shown in FIG. . In other words, the program 103 is a program for causing a computer mounted on the host device 2 as the first information processing device to function as the authentication unit 50.

本実施の形態に係る真贋判定部50は、SoC11が単独で動作する第1の判定対象期間において電流値測定回路16によって測定された第1の実測電流値パターンと、当該第1の判定対象期間に関して予め求められた第1の基準電流値パターンとを比較する。また、真贋判定部50は、メモリインタフェース14が単独で動作する第2の判定対象期間において電流値測定回路16によって測定された第2の実測電流値パターンと、当該第2の判定対象期間に関して予め求められた第2の基準電流値パターンとを比較する。そして、真贋判定部50は、これらの比較結果に基づいて、ホスト装置2が正規品であるか非正規品であるかを判定する。   The authenticity determination unit 50 according to the present embodiment includes: a first actually measured current value pattern measured by the current value measurement circuit 16 in a first determination target period in which the SoC 11 operates alone; Is compared with a first reference current value pattern obtained in advance. In addition, the authenticity determination unit 50 determines in advance the second actually measured current value pattern measured by the current value measurement circuit 16 in the second determination target period in which the memory interface 14 operates alone, and the second determination target period. The obtained second reference current value pattern is compared with the obtained second reference current value pattern. Then, the authenticity determination unit 50 determines whether the host device 2 is a genuine product or a non-genuine product based on the comparison results.

図6を参照して、メモリ装置3がホスト装置2に接続されると、まずステップSP101においてCPU22(期間設定部51)は、真贋判定の実行対象となる複数の判定対象期間を設定する。本実施の形態の例では、SoC11が単独で動作している期間が第1の判定対象期間として設定され、メモリインタフェース14が単独で動作している期間が第2の判定対象期間として設定される。また、期間設定部51は、第1及び第2の判定対象期間に対してそれぞれ実行する真贋判定の処理内容を設定する。本実施の形態の例では、第1及び第2の判定対象期間の双方に対して、「電流値パターン同士の比較処理」が真贋判定の処理内容として設定される。   Referring to FIG. 6, when memory device 3 is connected to host device 2, first, in step SP101, CPU 22 (period setting unit 51) sets a plurality of determination target periods in which authentication is to be performed. In the example of the present embodiment, a period in which the SoC 11 operates alone is set as the first determination target period, and a period in which the memory interface 14 operates alone is set as the second determination target period. . In addition, the period setting unit 51 sets the content of the authenticity determination process to be performed for each of the first and second determination target periods. In the example of the present embodiment, “comparison processing between current value patterns” is set as the processing content of the authenticity determination for both the first and second determination target periods.

次にステップSP102においてCPU22は、所望の期待値データ203を記憶部15から読み出し、その期待値データ202を期待値格納メモリ24に格納する。本実施の形態の例では、真贋判定の処理内容が「第1及び第2の判定対象期間を対象とする電流値パターン同士の比較処理」に設定されているため、第1及び第2の判定対象期間に関する基準電流値パターンと、それぞれに対応する所定の許容誤差値を示すデータとが、所望の期待値データ203として記憶部15から読み出され、期待値格納メモリ24に格納される。   Next, in step SP102, the CPU 22 reads the desired expected value data 203 from the storage unit 15, and stores the expected value data 202 in the expected value storage memory 24. In the example of the present embodiment, since the processing content of the authenticity determination is set to “comparison processing between current value patterns for the first and second determination target periods”, the first and second determinations are performed. The reference current value pattern for the target period and data indicating a predetermined allowable error value corresponding to each are read from the storage unit 15 as desired expected value data 203 and stored in the expected value storage memory 24.

次にステップSP103においてCPU22は、ADC26を駆動するとともに、第1の判定対象期間においてSoC11を単独で動作させる。第1の判定対象期間においては、電源VCC3から抵抗素子Rを介してSoC11に電源が供給される。電源VCC3からSoC11へ電源が供給されたことにより、抵抗素子Rに電流が流れる。電流値測定回路16は、抵抗素子Rの両端電圧を所定のサンプリング周波数でサンプリングすることによって、電源VCC3からSoC11へ流れる電流の電流値を実測する。   Next, in step SP103, the CPU 22 drives the ADC 26 and operates the SoC 11 alone in the first determination target period. In the first determination target period, power is supplied from the power supply VCC3 to the SoC 11 via the resistance element R. When power is supplied from the power supply VCC3 to the SoC 11, a current flows through the resistance element R. The current value measurement circuit 16 actually measures the current value of the current flowing from the power supply VCC3 to the SoC 11 by sampling the voltage across the resistance element R at a predetermined sampling frequency.

また、CPU22は、第2の判定対象期間においてメモリインタフェース14を単独で動作させる。第2の判定対象期間においては、電源VCC3から抵抗素子Rを介してメモリインタフェース14に電源が供給される。電源VCC3からメモリインタフェース14へ電源が供給されたことにより、抵抗素子Rに電流が流れる。電流値測定回路16は、抵抗素子Rの両端電圧を所定のサンプリング周波数でサンプリングすることによって、電源VCC3からメモリインタフェース14へ流れる電流の電流値を実測する。   Further, the CPU 22 operates the memory interface 14 alone in the second determination target period. In the second determination target period, power is supplied from the power supply VCC3 to the memory interface 14 via the resistance element R. When power is supplied from the power supply VCC3 to the memory interface 14, a current flows through the resistance element R. The current value measurement circuit 16 actually measures the current value of the current flowing from the power supply VCC3 to the memory interface 14 by sampling the voltage between both ends of the resistance element R at a predetermined sampling frequency.

次にステップSP104においてCPU22(パターン作成部53)は、電流値取得部52によって順次取得された複数の実測電流値を時系列順に配列することによって、第1の判定対象期間に関するSoC11の実測電流値パターンと、第2の判定対象期間に関するメモリインタフェース14の実測電流値パターンとを作成する。   Next, in step SP104, the CPU 22 (pattern creating unit 53) arranges the plurality of actually measured current values sequentially acquired by the current value acquiring unit 52 in chronological order, so that the actually measured current value of the SoC 11 for the first determination target period. A pattern and an actually measured current value pattern of the memory interface 14 for the second determination target period are created.

次にステップSP105においてCPU22(パターン比較部54)は、第1及び第2の判定対象期間の各々に関して、基準電流値パターンと許容誤差値を示すデータとを期待値格納メモリ24から読み出して取得する。   Next, in step SP105, the CPU 22 (pattern comparison unit 54) reads and acquires the reference current value pattern and the data indicating the allowable error value from the expected value storage memory 24 for each of the first and second determination target periods. .

次にステップSP106においてCPU22(パターン比較部54)は、第1及び第2の判定対象期間の各々に関して、パターン作成部53によって作成された実測電流値パターンと、期待値格納メモリ24から読み出した基準電流値パターンとを比較する。   Next, in step SP106, the CPU 22 (pattern comparison unit 54) compares the actually measured current value pattern created by the pattern creation unit 53 with the reference value read from the expected value storage memory 24 for each of the first and second determination target periods. Compare with the current value pattern.

次にステップSP107においてCPU22(真贋判定部50)は、第1及び第2の判定対象期間の各々に関して、実測電流値Xと基準電流値Yとの差の全てが許容誤差値以下であるか否かを判定する。そして真贋判定部50は、第1及び第2の判定対象期間の双方に関して、実測電流値Xと基準電流値Yとの差の全てが許容誤差値以下である場合(つまり完全一致する場合)には、ホスト装置2は正規品であると判定して、真贋判定処理を終了する。   Next, in step SP107, the CPU 22 (authentication unit 50) determines whether or not all the differences between the measured current value X and the reference current value Y are equal to or smaller than the allowable error value for each of the first and second determination target periods. Is determined. Then, the authenticity determination unit 50 determines whether the difference between the actually measured current value X and the reference current value Y is equal to or less than the allowable error value (that is, when they completely match) in both the first and second determination target periods. The host device 2 determines that the device is genuine and ends the authenticity determination process.

一方、第1及び第2の判定対象期間の各々に関して、少なくとも一つの差が許容誤差値を超える場合(つまり完全一致しない場合)には、真贋判定部50は、ホスト装置2は非正規品であると判定して、メモリシステム1の動作を停止するための処理を開始する。例えば、電源制御部12に電源供給を停止させるための制御コマンドをGPIO25にセットすることにより、メモリ装置3への電源供給を停止する。   On the other hand, if at least one difference exceeds the permissible error value (that is, does not completely match) for each of the first and second determination target periods, the authenticity determination unit 50 determines that the host device 2 is an unauthorized product. It is determined that there is, and processing for stopping the operation of the memory system 1 is started. For example, the power supply to the memory device 3 is stopped by setting a control command for stopping the power supply to the power control unit 12 in the GPIO 25.

このように本実施の形態に係るホスト装置2(情報処理装置)によれば、真贋判定部50は、SoC11(第1の処理回路)が動作する第1の判定対象期間において電流値測定回路16(電流測定部)によって測定された第1の実測電流値と、当該第1の判定対象期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、メモリインタフェース14(第2の処理回路)が動作する第2の判定対象期間において電流値測定回路16によって測定された第2の実測電流値と、当該第2の判定対象期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、ホスト装置2(被判定装置)が正規品であるか非正規品であるかを判定する。従って、正規品の全てのファンクションを完全にコピーした非正規品が製造された場合であっても、デバイス構造や製造プロセスの相違等に起因して正規品と非正規品とでは消費電力特性が相違するため、非正規品(又は正規品)の実測電流値は正規品(又は非正規品)の基準電流値に一致しない。従って、真贋判定部50によってホスト装置2の真贋判定を容易に実行することが可能となる。しかも、機能が異なるSoC11及びメモリインタフェース14の双方の消費電流特性に基づいて真贋判定を行うため、真贋判定部50によってホスト装置2の真贋判定をより高精度に実行することが可能となる。   As described above, according to the host device 2 (information processing device) according to the present embodiment, the authenticity determination unit 50 controls the current value measurement circuit 16 in the first determination target period in which the SoC 11 (first processing circuit) operates. (1st comparison of the first measured current value measured by the (current measuring unit) with the first reference current value previously obtained for the genuine product or the non-genuine product in the first determination target period. The result, the second actually measured current value measured by the current value measurement circuit 16 in the second determination target period in which the memory interface 14 (the second processing circuit) operates, and the genuine product for the second determination target period Alternatively, based on a second comparison result with a second reference current value obtained in advance for a non-genuine product, whether the host device 2 (determined device) is a genuine product or a non-genuine product Is determined. Therefore, even if a non-genuine product in which all functions of the genuine product are completely copied is manufactured, the power consumption characteristics of the genuine product and the non-genuine product are different due to differences in the device structure and manufacturing process. Because of the difference, the measured current value of the non-genuine product (or genuine product) does not match the reference current value of the genuine product (or non-genuine product). Therefore, the authenticity determination unit 50 can easily perform the authenticity determination of the host device 2. Moreover, since the authenticity judgment is performed based on the current consumption characteristics of both the SoC 11 and the memory interface 14 having different functions, the authenticity judgment unit 50 can execute the authenticity judgment of the host device 2 with higher accuracy.

<実施の形態4>
本実施の形態では、メモリ装置3の真贋判定をメモリ装置3自身が実行する態様、つまり、メモリ装置3等の第2の情報処理装置が判定装置かつ被判定装置である態様について説明する。
<Embodiment 4>
In the present embodiment, a mode in which the memory device 3 performs the authenticity determination of the memory device 3 itself, that is, a mode in which the second information processing device such as the memory device 3 is the determination device and the device to be determined will be described.

図18は、メモリ装置3の構成を簡略化して示す図である。図18に示すようにメモリ装置3は、メモリコントローラ31、メモリコア32、電流値測定回路33、及び認証制御回路34を備えて構成されている。メモリコントローラ31及びメモリコア32には、電源VCC4(電源供給部)から抵抗素子Rを介して駆動電源が供給される。電流値測定回路33は、抵抗素子Rの両端電圧を測定することにより、電源VCC4からメモリコントローラ31及びメモリコア32に流れる電流の電流値を測定する。メモリコア32には、期待値データ204が格納されている。   FIG. 18 is a diagram showing the configuration of the memory device 3 in a simplified manner. As shown in FIG. 18, the memory device 3 includes a memory controller 31, a memory core 32, a current value measurement circuit 33, and an authentication control circuit 34. Drive power is supplied to the memory controller 31 and the memory core 32 from the power supply VCC4 (power supply unit) via the resistance element R. The current value measuring circuit 33 measures the current value of the current flowing from the power supply VCC4 to the memory controller 31 and the memory core 32 by measuring the voltage across the resistance element R. The memory core 32 stores expected value data 204.

図19は、認証制御回路34の構成を示す図である。図19の接続関係で示すように、認証制御回路34は、バス71を介して相互に接続された、CPU72、復号器73、期待値格納メモリ74、GPIO75、電源制御部76、ADC77、及び、ROM又はRAM等の記憶部78を備えて構成されている。記憶部78には、プログラム104が格納されている。   FIG. 19 is a diagram showing a configuration of the authentication control circuit 34. 19, the authentication control circuit 34 includes a CPU 72, a decoder 73, an expected value storage memory 74, a GPIO 75, a power control unit 76, an ADC 77, and a CPU 72, which are mutually connected via a bus 71. It comprises a storage unit 78 such as a ROM or a RAM. The storage unit 78 stores a program 104.

記憶部78から読み出したプログラム104をCPU72が実行することによって、図4に示すようにCPU72は、メモリ装置3が正規品であるか非正規品であるかを判定する真贋判定部50として機能する。換言すれば、プログラム104は、第2の情報処理装置としてのメモリ装置3に搭載されるコンピュータを、真贋判定部50として機能させるためのプログラムである。   By executing the program 104 read from the storage unit 78 by the CPU 72, the CPU 72 functions as an authenticity determination unit 50 that determines whether the memory device 3 is a genuine product or a non-genuine product, as shown in FIG. . In other words, the program 104 is a program for causing a computer mounted on the memory device 3 as the second information processing device to function as the authenticity determination unit 50.

本実施の形態に係る真贋判定部50は、メモリコントローラ31が単独で動作する第1の判定対象期間において電流値測定回路33によって測定された第1の実測電流値パターンと、当該第1の判定対象期間に関して予め求められた第1の基準電流値パターンとを比較する。また、真贋判定部50は、メモリコア32が単独で動作する第2の判定対象期間において電流値測定回路33によって測定された第2の実測電流値パターンと、当該第2の判定対象期間に関して予め求められた第2の基準電流値パターンとを比較する。そして、真贋判定部50は、これらの比較結果に基づいて、メモリ装置3が正規品であるか非正規品であるかを判定する。   The authenticity determination unit 50 according to the present embodiment includes the first measured current value pattern measured by the current value measurement circuit 33 during the first determination target period in which the memory controller 31 operates alone, and the first determination A first reference current value pattern obtained in advance for the target period is compared. In addition, the authenticity determination unit 50 determines in advance the second actually measured current value pattern measured by the current value measurement circuit 33 in the second determination target period in which the memory core 32 operates alone and the second determination target period. The obtained second reference current value pattern is compared with the obtained second reference current value pattern. Then, the authenticity determination unit 50 determines whether the memory device 3 is a genuine product or a non-genuine product based on these comparison results.

図6を参照して、メモリ装置3がホスト装置2に接続されると、まずステップSP101においてCPU72(期間設定部51)は、真贋判定の実行対象となる複数の判定対象期間を設定する。本実施の形態の例では、メモリコントローラ31が単独で動作している期間が第1の判定対象期間として設定され、メモリコア32が単独で動作している期間が第2の判定対象期間として設定される。また、期間設定部51は、第1及び第2の判定対象期間に対してそれぞれ実行する真贋判定の処理内容を設定する。本実施の形態の例では、第1及び第2の判定対象期間の双方に対して、「電流値パターン同士の比較処理」が真贋判定の処理内容として設定される。   Referring to FIG. 6, when memory device 3 is connected to host device 2, first, in step SP101, CPU 72 (period setting unit 51) sets a plurality of determination target periods for which authentication is to be performed. In the example of the present embodiment, a period in which the memory controller 31 operates alone is set as the first determination target period, and a period in which the memory core 32 operates alone is set as the second determination target period. Is done. In addition, the period setting unit 51 sets the content of the authenticity determination process to be performed for each of the first and second determination target periods. In the example of the present embodiment, “comparison processing between current value patterns” is set as the processing content of the authenticity determination for both the first and second determination target periods.

次にステップSP102においてCPU72は、所望の期待値データ204をメモリコア32から読み出し、その期待値データ204を期待値格納メモリ74に格納する。本実施の形態の例では、真贋判定の処理内容が「第1及び第2の判定対象期間を対象とする電流値パターン同士の比較処理」に設定されているため、第1及び第2の判定対象期間に関する基準電流値パターンと、それぞれに対応する所定の許容誤差値を示すデータとが、所望の期待値データ204としてメモリコア32から読み出され、期待値格納メモリ74に格納される。   Next, in step SP102, the CPU 72 reads the desired expected value data 204 from the memory core 32, and stores the expected value data 204 in the expected value storage memory 74. In the example of the present embodiment, since the processing content of the authenticity determination is set to “comparison processing between current value patterns for the first and second determination target periods”, the first and second determinations are performed. The reference current value pattern relating to the target period and data indicating a predetermined permissible error value corresponding to each are read out from the memory core 32 as desired expected value data 204 and stored in the expected value storage memory 74.

次にステップSP103においてCPU72は、ADC77を駆動するとともに、第1の判定対象期間においてメモリコントローラ31を単独で動作させる。第1の判定対象期間においては、電源VCC4から抵抗素子Rを介してメモリコントローラ31に電源が供給される。電源VCC4からメモリコントローラ31へ電源が供給されたことにより、抵抗素子Rに電流が流れる。電流値測定回路33は、抵抗素子Rの両端電圧を所定のサンプリング周波数でサンプリングすることによって、電源VCC4からメモリコントローラ31へ流れる電流の電流値を実測する。   Next, in step SP103, the CPU 72 drives the ADC 77 and operates the memory controller 31 alone during the first determination target period. In the first determination target period, power is supplied from the power supply VCC4 to the memory controller 31 via the resistance element R. When power is supplied from the power supply VCC4 to the memory controller 31, a current flows through the resistance element R. The current value measuring circuit 33 actually measures the current value of the current flowing from the power supply VCC4 to the memory controller 31 by sampling the voltage across the resistance element R at a predetermined sampling frequency.

また、CPU72は、第2の判定対象期間においてメモリコア32を単独で動作させる。第2の判定対象期間においては、電源VCC4から抵抗素子Rを介してメモリコア32に電源が供給される。電源VCC4からメモリコア32へ電源が供給されたことにより、抵抗素子Rに電流が流れる。電流値測定回路33は、抵抗素子Rの両端電圧を所定のサンプリング周波数でサンプリングすることによって、電源VCC4からメモリコア32へ流れる電流の電流値を実測する。   The CPU 72 operates the memory core 32 alone during the second determination target period. In the second determination target period, power is supplied from the power supply VCC4 to the memory core 32 via the resistance element R. When power is supplied from the power supply VCC4 to the memory core 32, a current flows through the resistance element R. The current value measuring circuit 33 actually measures the current value of the current flowing from the power supply VCC4 to the memory core 32 by sampling the voltage across the resistance element R at a predetermined sampling frequency.

次にステップSP104においてCPU72(パターン作成部53)は、電流値取得部52によって順次取得された複数の実測電流値を時系列順に配列することによって、第1の判定対象期間に関するメモリコントローラ31の実測電流値パターンと、第2の判定対象期間に関するメモリコア32の実測電流値パターンとを作成する。   Next, in step SP104, the CPU 72 (pattern creating unit 53) arranges the plurality of actually measured current values sequentially acquired by the current value acquiring unit 52 in chronological order, thereby performing the actual measurement of the memory controller 31 for the first determination target period. A current value pattern and an actually measured current value pattern of the memory core 32 for the second determination target period are created.

次にステップSP105においてCPU72(パターン比較部54)は、第1及び第2の判定対象期間の各々に関して、基準電流値パターンと許容誤差値を示すデータとを期待値格納メモリ74から読み出して取得する。   Next, in step SP105, the CPU 72 (pattern comparison unit 54) reads and acquires the reference current value pattern and the data indicating the allowable error value from the expected value storage memory 74 for each of the first and second determination target periods. .

次にステップSP106においてCPU72(パターン比較部54)は、第1及び第2の判定対象期間の各々に関して、パターン作成部53によって作成された実測電流値パターンと、期待値格納メモリ74から読み出した基準電流値パターンとを比較する。   Next, in step SP106, the CPU 72 (pattern comparison unit 54) determines the measured current value pattern created by the pattern creation unit 53 and the reference read from the expected value storage memory 74 for each of the first and second determination target periods. Compare with the current value pattern.

次にステップSP107においてCPU72(真贋判定部50)は、第1及び第2の判定対象期間の各々に関して、実測電流値Xと基準電流値Yとの差の全てが許容誤差値以下であるか否かを判定する。そして真贋判定部50は、第1及び第2の判定対象期間の双方に関して、実測電流値Xと基準電流値Yとの差の全てが許容誤差値以下である場合(つまり完全一致する場合)には、メモリ装置3は正規品であると判定して、真贋判定処理を終了する。   Next, in step SP107, the CPU 72 (authentication unit 50) determines whether or not all of the differences between the actually measured current value X and the reference current value Y are equal to or less than the allowable error value for each of the first and second determination target periods. Is determined. Then, the authenticity determination unit 50 determines whether the difference between the actually measured current value X and the reference current value Y is equal to or less than the allowable error value (that is, when they completely match) in both the first and second determination target periods. Determines that the memory device 3 is genuine, and ends the authenticity determination process.

一方、第1及び第2の判定対象期間の各々に関して、少なくとも一つの差が許容誤差値を超える場合(つまり完全一致しない場合)には、真贋判定部50は、メモリ装置3は非正規品であると判定して、メモリシステム1の動作を停止するための処理を開始する。例えば、電源制御部76に電源供給を停止させるための制御コマンドをGPIO75にセットすることにより、メモリコントローラ31への電源供給を停止する。   On the other hand, if at least one difference exceeds the permissible error value (that is, does not completely match) for each of the first and second determination target periods, the authenticity determination unit 50 determines that the memory device 3 is an unauthorized product. It is determined that there is, and processing for stopping the operation of the memory system 1 is started. For example, the power supply to the memory controller 31 is stopped by setting a control command for stopping the power supply to the power control unit 76 in the GPIO 75.

このように本実施の形態に係るメモリ装置3(情報処理装置)によれば、真贋判定部50は、メモリコントローラ31(第1の処理回路)が動作する第1の判定対象期間において電流値測定回路33(電流測定部)によって測定された第1の実測電流値と、当該第1の判定対象期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、メモリコア32(第2の処理回路)が動作する第2の判定対象期間において電流値測定回路33によって測定された第2の実測電流値と、当該第2の判定対象期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、に基づいて、メモリ装置3(被判定装置)が正規品であるか非正規品であるかを判定する。従って、正規品の全てのファンクションを完全にコピーした非正規品が製造された場合であっても、デバイス構造や製造プロセスの相違等に起因して正規品と非正規品とでは消費電力特性が相違するため、非正規品(又は正規品)の実測電流値は正規品(又は非正規品)の基準電流値に一致しない。従って、真贋判定部50によってメモリ装置3の真贋判定を容易に実行することが可能となる。しかも、機能が異なるメモリコントローラ31及びメモリコア32の双方の消費電流特性に基づいて真贋判定を行うため、真贋判定部50によってメモリ装置3の真贋判定をより高精度に実行することが可能となる。   As described above, according to the memory device 3 (information processing device) according to the present embodiment, the authenticity determination unit 50 performs the current value measurement in the first determination target period in which the memory controller 31 (first processing circuit) operates. The first value of the first actually measured current value measured by the circuit 33 (current measuring unit) and the first reference current value obtained in advance for the genuine product or the non-genuine product in the first determination target period. , The second measured current value measured by the current value measurement circuit 33 in the second determination target period in which the memory core 32 (the second processing circuit) operates, and the second determination target period. Whether the memory device 3 (determined device) is a genuine product or a non-genuine product based on a second comparison result with a second reference current value obtained in advance for a genuine product or a non-genuine product. It is determined whether there is. Therefore, even if a non-genuine product in which all functions of the genuine product are completely copied is manufactured, the power consumption characteristics of the genuine product and the non-genuine product are different due to differences in the device structure and manufacturing process. Because of the difference, the measured current value of the non-genuine product (or genuine product) does not match the reference current value of the genuine product (or non-genuine product). Therefore, the authenticity judgment unit 50 can easily execute the authenticity judgment of the memory device 3. Moreover, since the authenticity determination is performed based on the current consumption characteristics of both the memory controller 31 and the memory core 32 having different functions, the authenticity determination unit 50 can perform the authentication of the memory device 3 with higher accuracy. .

2 ホスト装置
3 メモリ装置
11 SoC
12 電源制御部
13,33 電流値測定回路
14 メモリインタフェース
22,72 CPU
31 メモリコントローラ
32 メモリコア
34 認証制御回路
50 真贋判定部
51 期間設定部
52 電流値取得部
53 パターン作成部
54 パターン比較部
55 代表値算出部
56 代表値比較部
101〜104 プログラム
201〜204 期待データ
2 Host device 3 Memory device 11 SoC
12 Power supply control unit 13, 33 Current value measurement circuit 14 Memory interface 22, 72 CPU
Reference Signs List 31 memory controller 32 memory core 34 authentication control circuit 50 authentication unit 51 period setting unit 52 current value acquisition unit 53 pattern creation unit 54 pattern comparison unit 55 representative value calculation unit 56 representative value comparison unit 101 to 104 program 201 to 204 expected data

Claims (17)

機能が異なる第1の処理回路及び第2の処理回路を有する被判定装置の真贋判定機能を備える、情報処理装置であって、
前記第1の処理回路及び前記第2の処理回路に電源を供給する電源供給部と、
前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部と、
前記被判定装置が正規品であるか非正規品であるかを判定する判定部と、
を備え、
前記判定部は、
前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、
前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、
に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定する、情報処理装置。
An information processing apparatus having an authenticity determination function of a device to be determined having a first processing circuit and a second processing circuit having different functions,
A power supply unit for supplying power to the first processing circuit and the second processing circuit;
A current measuring unit that measures a current flowing from the power supply unit to the first processing circuit and the second processing circuit;
A determination unit that determines whether the device to be determined is a genuine product or a non-genuine product,
With
The determination unit includes:
A first actually measured current value measured by the current measuring unit in a first period in which the first processing circuit operates, and a first current value obtained in advance for a genuine or non-genuine product in the first period. A first comparison result with a reference current value of 1;
A second actually measured current value measured by the current measuring unit during a second period in which the second processing circuit operates, and a second measured current value obtained in advance for a genuine or non-genuine product in the second period. A second comparison result with a reference current value of 2;
An information processing apparatus that determines whether the device to be determined is a genuine product or a non-genuine product based on the information.
機能が異なる第1の処理回路及び第2の処理回路と、前記第1の処理回路及び前記第2の処理回路に電源を供給する電源供給部とを有する被判定装置の真贋判定機能を備える、情報処理装置であって、
前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部と、
前記被判定装置が正規品であるか非正規品であるかを判定する判定部と、
を備え、
前記判定部は、
前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、
前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、
に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定する、情報処理装置。
A first processing circuit and a second processing circuit having different functions, and an authenticity determining function of a device to be determined having a power supply unit that supplies power to the first processing circuit and the second processing circuit; An information processing device,
A current measuring unit that measures a current flowing from the power supply unit to the first processing circuit and the second processing circuit;
A determination unit that determines whether the device to be determined is a genuine product or a non-genuine product,
With
The determination unit includes:
A first actually measured current value measured by the current measuring unit in a first period in which the first processing circuit operates, and a first current value obtained in advance for a genuine or non-genuine product in the first period. A first comparison result with a reference current value of 1;
A second actually measured current value measured by the current measuring unit during a second period in which the second processing circuit operates, and a second measured current value obtained in advance for a genuine or non-genuine product in the second period. A second comparison result with a reference current value of 2;
An information processing apparatus that determines whether the device to be determined is a genuine product or a non-genuine product based on the information.
自身を被判定装置とする真贋判定機能を備える、情報処理装置であって、
機能が異なる第1の処理回路及び第2の処理回路と、
前記第1の処理回路及び前記第2の処理回路に電源を供給する電源供給部と、
前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部と、
前記被判定装置が正規品であるか非正規品であるかを判定する判定部と、
を備え、
前記判定部は、
前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、
前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、
に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定する、情報処理装置。
An information processing device having an authenticity determination function that uses itself as a device to be determined,
A first processing circuit and a second processing circuit having different functions,
A power supply unit for supplying power to the first processing circuit and the second processing circuit;
A current measuring unit that measures a current flowing from the power supply unit to the first processing circuit and the second processing circuit;
A determination unit that determines whether the device to be determined is a genuine product or a non-genuine product,
With
The determination unit includes:
A first actually measured current value measured by the current measurement unit during a first period in which the first processing circuit operates, and a first current value obtained in advance for a genuine or non-genuine product in the first period. A first comparison result with a reference current value of 1;
A second actually measured current value measured by the current measuring unit during a second period in which the second processing circuit operates, and a second measured current value obtained in advance for the genuine or non-genuine product in the second period. A second comparison result with a reference current value of 2;
An information processing apparatus that determines whether the device to be determined is a genuine product or a non-genuine product based on the information.
前記判定部は、
複数の測定タイミングで前記電流測定部によって測定された複数の実測電流値を、前記電流測定部から取得する電流値取得部と、
前記電流値取得部によって取得された複数の実測電流値を時系列順に配列することによって、実測電流値パターンを作成するパターン作成部と、
前記パターン作成部によって作成された実測電流値パターンと、正規品又は非正規品に関して予め求められた基準電流値のパターンである基準電流値パターンとを比較するパターン比較部と、
を有する、請求項1〜3のいずれか一つに記載の情報処理装置。
The determination unit includes:
A plurality of actually measured current values measured by the current measurement unit at a plurality of measurement timings, a current value acquisition unit that acquires from the current measurement unit,
By arranging a plurality of measured current values acquired by the current value acquisition unit in chronological order, a pattern creation unit that creates an actually measured current value pattern,
A measured current value pattern created by the pattern creating unit, and a pattern comparing unit that compares a reference current value pattern that is a pattern of a reference current value obtained in advance for a genuine or non-genuine product,
The information processing apparatus according to claim 1, further comprising:
前記パターン比較部は、実測電流値パターンを構成する複数の実測電流値と、基準電流値パターンを構成する複数の基準電流値とをそれぞれ比較し、
前記判定部は、全ての実測電流値が、対応する基準電流値と一致しているか否かによって、前記被判定装置が正規品であるか非正規品であるかを判定する、請求項4に記載の情報処理装置。
The pattern comparing unit compares a plurality of measured current values forming the measured current value pattern with a plurality of reference current values forming the reference current value pattern,
5. The determination unit according to claim 4, wherein the determination unit determines whether the device to be determined is a genuine product or a non-genuine product by determining whether all measured current values match a corresponding reference current value. An information processing apparatus according to claim 1.
前記パターン比較部は、実測電流値パターンを構成する複数の実測電流値と、基準電流値パターンを構成する複数の基準電流値とをそれぞれ比較し、
前記判定部は、全ての実測電流値のうち、対応する基準電流値と一致する実測電流値の割合が第1のしきい値以上であるか否かによって、前記被判定装置が正規品であるか非正規品であるかを判定する、請求項4に記載の情報処理装置。
The pattern comparing unit compares a plurality of measured current values forming the measured current value pattern with a plurality of reference current values forming the reference current value pattern,
The determination unit determines that the device to be determined is a genuine product based on whether or not the ratio of the measured current value that matches the corresponding reference current value among all the measured current values is equal to or greater than a first threshold value. The information processing device according to claim 4, wherein the information processing device determines whether the product is an unauthorized product.
前記判定部は、
前記パターン作成部による実測電流値パターンの作成処理、及び、前記パターン比較部による実測電流値パターンと基準電流値パターンとの比較処理をN回(Nは複数)実行し、
前記パターン比較部によるN回の比較処理のうち、実測電流値パターンが基準電流値パターンに一致していると判定された割合が第2のしきい値以上であるか否かによって、前記被判定装置が正規品であるか非正規品であるかを判定する、請求項4〜6のいずれか一つに記載の情報処理装置。
The determination unit includes:
Executing a process of creating an actually measured current value pattern by the pattern creating unit and a process of comparing the actually measured current value pattern with the reference current value pattern by the pattern comparing unit N times (where N is a plurality);
In the N times of comparison processing by the pattern comparing unit, the determination is made based on whether or not the ratio of the measured current value pattern matching the reference current value pattern is equal to or greater than a second threshold value. The information processing apparatus according to claim 4, wherein the information processing apparatus determines whether the apparatus is a genuine product or a non-genuine product.
前記判定部は、
複数の測定タイミングで前記電流測定部によって測定された複数の実測電流値を、前記電流測定部から取得する電流値取得部と、
前記電流値取得部によって取得された複数の実測電流値に基づいて、所定の実測代表値を算出する代表値算出部と、
前記代表値算出部によって算出された実測代表値と、正規品又は非正規品に関して予め求められた代表値である基準代表値とを比較する代表値比較部と、
を有する、請求項1〜3のいずれか一つに記載の情報処理装置。
The determination unit includes:
A plurality of actually measured current values measured by the current measurement unit at a plurality of measurement timings, a current value acquisition unit that acquires from the current measurement unit,
Based on a plurality of measured current values acquired by the current value acquisition unit, a representative value calculation unit that calculates a predetermined measured representative value,
A representative value comparison unit that compares a measured representative value calculated by the representative value calculation unit with a reference representative value that is a representative value obtained in advance for a genuine product or a non-genuine product.
The information processing apparatus according to claim 1, further comprising:
前記代表値算出部は、実測代表値として、平均値、最大値、及び最小値の少なくとも一つを算出する、請求項8に記載の情報処理装置。   The information processing apparatus according to claim 8, wherein the representative value calculation unit calculates at least one of an average value, a maximum value, and a minimum value as the measured representative value. 前記判定部は、前記第1の期間及び前記第2の期間を可変に設定する期間設定部をさらに有する、請求項1〜9のいずれか一つに記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the determination unit further includes a period setting unit that variably sets the first period and the second period. 前記被判定装置は、前記第1の基準電流値及び前記第2の基準電流値を記憶する記憶部をさらに有し、
前記判定部は、当該記憶部から前記第1の基準電流値及び前記第2の基準電流値を読み出す、請求項1〜10のいずれか一つに記載の情報処理装置。
The device to be determined further includes a storage unit that stores the first reference current value and the second reference current value,
The information processing apparatus according to claim 1, wherein the determination unit reads the first reference current value and the second reference current value from the storage unit.
被判定装置が有する機能が異なる第1の処理回路及び第2の処理回路に電源を供給する電源供給部と、前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部と、を備える情報処理装置に搭載されるコンピュータを、前記被判定装置が正規品であるか非正規品であるかを判定する判定手段として機能させるためのプログラムであって、
前記判定手段は、
前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、
前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、
に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定する、プログラム。
A power supply unit for supplying power to the first processing circuit and the second processing circuit having different functions of the device to be determined, and a current flowing from the power supply unit to the first processing circuit and the second processing circuit And a current measurement unit for measuring the information processing device, a program for causing a computer mounted on the information processing device to function as a determination unit for determining whether the device to be determined is a genuine product or an unauthorized product. ,
The determining means includes:
A first actually measured current value measured by the current measuring unit in a first period in which the first processing circuit operates, and a first current value obtained in advance for a genuine or non-genuine product in the first period. A first comparison result with a reference current value of 1;
A second actually measured current value measured by the current measuring unit during a second period in which the second processing circuit operates, and a second measured current value obtained in advance for a genuine or non-genuine product in the second period. A second comparison result with a reference current value of 2;
A program that determines whether the device to be determined is a genuine product or a non-genuine product based on the program.
機能が異なる第1の処理回路及び第2の処理回路と、前記第1の処理回路及び前記第2の処理回路に電源を供給する電源供給部とを有する被判定装置の真贋判定機能を備え、前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部を備える情報処理装置に搭載されるコンピュータを、前記被判定装置が正規品であるか非正規品であるかを判定する判定手段として機能させるためのプログラムであって、
前記判定手段は、
前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、
前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、
に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定する、プログラム。
A first processing circuit and a second processing circuit having different functions, and an authenticity determining function of a device to be determined including a power supply unit that supplies power to the first processing circuit and the second processing circuit; A computer mounted on an information processing apparatus including a current measuring unit for measuring a current flowing from the power supply unit to the first processing circuit and the second processing circuit is determined by determining whether the device to be determined is a genuine product. A program for functioning as determination means for determining whether the product is genuine,
The determining means includes:
A first actually measured current value measured by the current measuring unit in a first period in which the first processing circuit operates, and a first current value obtained in advance for a genuine or non-genuine product in the first period. A first comparison result with a reference current value of 1;
A second actually measured current value measured by the current measuring unit during a second period in which the second processing circuit operates, and a second measured current value obtained in advance for the genuine or non-genuine product in the second period. A second comparison result with a reference current value of 2;
A program that determines whether the device to be determined is a genuine product or a non-genuine product based on the program.
自身を被判定装置とする真贋判定機能を備え、機能が異なる第1の処理回路及び第2の処理回路と、前記第1の処理回路及び前記第2の処理回路に電源を供給する電源供給部と、前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部と、を備える情報処理装置に搭載されるコンピュータを、前記被判定装置が正規品であるか非正規品であるかを判定する判定手段として機能させるためのプログラムであって、
前記判定手段は、
前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、
前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、
に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定する、プログラム。
A first processing circuit and a second processing circuit having different functions, each of which has an authenticity determination function using itself as a device to be determined, and a power supply unit for supplying power to the first processing circuit and the second processing circuit A computer mounted on an information processing apparatus comprising: a current measuring unit configured to measure a current flowing from the power supply unit to the first processing circuit and the second processing circuit. A program for functioning as a determination means for determining whether the
The determining means includes:
A first actually measured current value measured by the current measuring unit in a first period in which the first processing circuit operates, and a first current value obtained in advance for a genuine or non-genuine product in the first period. A first comparison result with a reference current value of 1;
A second actually measured current value measured by the current measuring unit during a second period in which the second processing circuit operates, and a second measured current value obtained in advance for a genuine or non-genuine product in the second period. A second comparison result with a reference current value of 2;
A program that determines whether the device to be determined is a genuine product or a non-genuine product based on the program.
被判定装置が有する機能が異なる第1の処理回路及び第2の処理回路に電源を供給する電源供給部と、前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部と、を備える情報処理装置において、前記被判定装置が正規品であるか非正規品であるかを判定する、被判定装置の真贋判定方法であって、
前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、
前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、
に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定するステップを備える、被判定装置の真贋判定方法。
A power supply unit for supplying power to the first processing circuit and the second processing circuit having different functions of the device to be determined, and a current flowing from the power supply unit to the first processing circuit and the second processing circuit And a current measuring unit for measuring the device, in the information processing device comprising: determining whether the device to be determined is a genuine product or an unauthorized product, a method for determining the authenticity of the device to be determined,
A first actually measured current value measured by the current measuring unit in a first period in which the first processing circuit operates, and a first current value obtained in advance for a genuine or non-genuine product in the first period. A first comparison result with a reference current value of 1;
A second actually measured current value measured by the current measuring unit during a second period in which the second processing circuit operates, and a second measured current value obtained in advance for the genuine or non-genuine product in the second period. A second comparison result with a reference current value of 2;
A method of determining whether the device to be determined is a genuine product or a non-genuine product based on the above.
機能が異なる第1の処理回路及び第2の処理回路と、前記第1の処理回路及び前記第2の処理回路に電源を供給する電源供給部とを有する被判定装置の真贋判定機能を備え、前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部を備える情報処理装置において、前記被判定装置が正規品であるか非正規品であるかを判定する、被判定装置の真贋判定方法であって、
前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、
前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、
に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定するステップを備える、被判定装置の真贋判定方法。
A first processing circuit and a second processing circuit having different functions, and an authenticity determining function of a device to be determined including a power supply unit that supplies power to the first processing circuit and the second processing circuit; In an information processing apparatus including a current measuring unit that measures a current flowing from the power supply unit to the first processing circuit and the second processing circuit, whether the device to be determined is a genuine product or a non-genuine product Is a method of determining the authenticity of the device to be determined,
A first actually measured current value measured by the current measuring unit in a first period in which the first processing circuit operates, and a first current value obtained in advance for a genuine or non-genuine product in the first period. A first comparison result with a reference current value of 1;
A second actually measured current value measured by the current measuring unit during a second period in which the second processing circuit operates, and a second measured current value obtained in advance for a genuine or non-genuine product in the second period. A second comparison result with a reference current value of 2;
A method of determining whether the device to be determined is a genuine product or a non-genuine product based on the above.
自身を被判定装置とする真贋判定機能を備え、機能が異なる第1の処理回路及び第2の処理回路と、前記第1の処理回路及び前記第2の処理回路に電源を供給する電源供給部と、前記電源供給部から前記第1の処理回路及び前記第2の処理回路に流れる電流を測定する電流測定部と、を備える情報処理装置において、前記被判定装置が正規品であるか非正規品であるかを判定する、被判定装置の真贋判定方法であって、
前記第1の処理回路が動作する第1の期間において前記電流測定部によって測定された第1の実測電流値と、当該第1の期間に関して正規品又は非正規品を対象として予め求められた第1の基準電流値との第1の比較結果と、
前記第2の処理回路が動作する第2の期間において前記電流測定部によって測定された第2の実測電流値と、当該第2の期間に関して正規品又は非正規品を対象として予め求められた第2の基準電流値との第2の比較結果と、
に基づいて、前記被判定装置が正規品であるか非正規品であるかを判定するステップを備える、被判定装置の真贋判定方法。
A first processing circuit and a second processing circuit having different functions, each of which has an authenticity determination function using itself as a device to be determined, and a power supply unit for supplying power to the first processing circuit and the second processing circuit And a current measuring unit that measures a current flowing from the power supply unit to the first processing circuit and the second processing circuit, wherein the device to be determined is a genuine product or an unauthorized product. Determining whether the device is an article, an authenticity determination method for the device to be determined,
A first actually measured current value measured by the current measuring unit in a first period in which the first processing circuit operates, and a first current value obtained in advance for a genuine or non-genuine product in the first period. A first comparison result with a reference current value of 1;
A second actually measured current value measured by the current measuring unit during a second period in which the second processing circuit operates, and a second measured current value obtained in advance for a genuine or non-genuine product in the second period. A second comparison result with a reference current value of 2;
A method of determining whether the device to be determined is a genuine product or a non-genuine product based on the above.
JP2019059524A 2019-03-26 2019-03-26 Information processing device, program, and method of determining authenticity of device to be determined Active JP6675024B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019059524A JP6675024B1 (en) 2019-03-26 2019-03-26 Information processing device, program, and method of determining authenticity of device to be determined

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019059524A JP6675024B1 (en) 2019-03-26 2019-03-26 Information processing device, program, and method of determining authenticity of device to be determined

Publications (2)

Publication Number Publication Date
JP6675024B1 true JP6675024B1 (en) 2020-04-01
JP2020160801A JP2020160801A (en) 2020-10-01

Family

ID=70000972

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019059524A Active JP6675024B1 (en) 2019-03-26 2019-03-26 Information processing device, program, and method of determining authenticity of device to be determined

Country Status (1)

Country Link
JP (1) JP6675024B1 (en)

Also Published As

Publication number Publication date
JP2020160801A (en) 2020-10-01

Similar Documents

Publication Publication Date Title
US11218330B2 (en) Generating an identity for a computing device using a physical unclonable function
US20060080537A1 (en) Illegal analysis / falsification preventing system
US11074370B2 (en) Information processing system, information processing device, and method for controlling information processing device
JP2009230717A (en) Processing apparatus, obfuscation device, program, and integrated circuit
JP6543324B2 (en) Information processing system, program, and method for determining authenticity of attached device
US7500110B2 (en) Method and arrangement for increasing the security of circuits against unauthorized access
WO2008013083A1 (en) Pseudo random number generator, stream encrypting device, and program
US20140230014A1 (en) Information processing device and information processing method
JP6675024B1 (en) Information processing device, program, and method of determining authenticity of device to be determined
JP4845152B2 (en) Master device and data processing system
KR20100067584A (en) Device and method for offering integrated security
JP6653742B1 (en) Attached device, program, and method of determining authenticity of information processing device
JP6511122B1 (en) Information processing apparatus, program, and method for determining authenticity of attached device
JP6651597B1 (en) Information processing device, program, and method of determining authenticity of device to be determined
JP6624618B1 (en) Information processing device, program, and method of determining authenticity of device to be determined
JP6653741B1 (en) Information processing device, attached device, program, method for determining authenticity of information processing device, and method for determining authenticity of attached device
JP6651596B1 (en) Information processing device, program, and method of determining authenticity of device to be determined
JP6697599B1 (en) Information processing device, accessory device, program, information processing device authenticity determination method, and accessory device authenticity determination method
JP6993365B2 (en) Information processing system, information processing device, and control method of information processing device
JP6719010B1 (en) Information processing apparatus and authenticity determination method for device to be determined
CN110932853B (en) Key management device and key management method based on trusted module
JP6506828B1 (en) Information processing apparatus, program, and method for determining authenticity of attached device
JP2020166463A (en) Authenticity determination device, program, and authenticity determination method of authenticity determination device
US20230409695A1 (en) Authentication using magnetic field based on current drawn by security device
JP5356583B2 (en) Semiconductor memory device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190328

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20191029

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200217

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200309

R150 Certificate of patent or registration of utility model

Ref document number: 6675024

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250