CN1227595C - Portable electronic medium - Google Patents

Portable electronic medium Download PDF

Info

Publication number
CN1227595C
CN1227595C CN 00819883 CN00819883A CN1227595C CN 1227595 C CN1227595 C CN 1227595C CN 00819883 CN00819883 CN 00819883 CN 00819883 A CN00819883 A CN 00819883A CN 1227595 C CN1227595 C CN 1227595C
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
memory
information
recording
recorded
data
Prior art date
Application number
CN 00819883
Other languages
Chinese (zh)
Other versions
CN1454350A (en )
Inventor
池田英贵
Original Assignee
株式会社东芝
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
Grant date

Links

Abstract

一种便携式电子介质,包括:施加有配线的基板(2);焊接到基板(2)存储数据与认证密钥的存储器(4);以及包括包含存储数据与认证密钥的内部存储器(3b),和控制向存储器(4)进行数据记录或者从存储器(4)的数据再现的控制单元(3a)的由裸芯片所构成,且安装在基板(2)上,用封装树脂进行封装并通过金丝键合连接到基板(2)的存储器控制用LSI。 A portable electronic medium comprising: a wiring substrate (2) is applied; welded to the substrate (2) stores authentication key data memory (4); and comprising an internal memory for storing data comprising the authentication key (3b ), and controls the data recording to the memory (4) or the control unit (3a) reproducing the data memory (4) from being composed of a bare chip, and is mounted on the substrate (2), encapsulated with an encapsulating resin by gold wire bonding connection to the substrate (2) memory control LSI. 上述控制单元(3a),通过匹配记录在上述存储器(4)中的认证密钥和记录在上述内部存储器(3b)中的认证密钥,来判断上述存储器(4)是否正确。 Said control unit (. 3A), recorded in the memory by matching the authentication key and the authentication key recorded in said internal memory (3b) in (4) to determine the memory (4) is correct.

Description

便携式电子介质的认证方法 The authentication method of portable electronic media

技术领域 FIELD

本发明涉及作为分别将记录数据的存储器和控制此存储器的控制电路安装在一个卡上的存储卡的便携式电子介质。 The present invention relates to a data record, respectively, and a memory control circuit for controlling the memory of this portable electronic medium mounted on a memory card card.

背景技术 Background technique

一般,在分别将记录数据的存储器和控制此存储器的控制电路(控制用LSI)安装在一个卡(基板)上的情况下,存储器和控制用LSI分别对应于基板通过焊料来进行连接。 In general, each data memory and the recording control circuit for controlling this memory (control LSI) mounted on a card case (substrate), and the control memory corresponding to the LSI substrate respectively connected by solder.

因此,在能够容易地更换存储器的同时,拆下控制用LSI来进行解析就成为可能。 Thus, while the memory can be easily exchanged, detached control LSI for resolution becomes possible.

由此,仅更换存储器来进行使用,或者增加存储器容量的伪造就成为可能。 Thus, only the memory to replace the use, or increase the memory capacity of forgery becomes possible.

发明内容 SUMMARY

本发明考虑到上述的情况,目的是通过禁止与控制电路有对应关系的存储器以外的存储器的安装,来防止利用安装不同的存储器所进行的伪造。 The present invention contemplates the above situation, the purpose of the memory is installed outside the correspondence relationship memory and by prohibiting the control circuit to prevent the use of different memory installed performed forgery.

本发明目的是能够使对控制存储器的控制电路的解析变得困难。 Object of the present invention is the ability to parse the memory of the control circuit becomes difficult.

为了达到上述目的,本发明提供一种便携式电子介质,包括:施加有配线的基板;安装在此基板上,记录数据并记录有认证密钥的第一存储器;以及包括记录数据并记录有认证密钥的第二存储器,和控制向上述第一存储器进行数据的记录、或者控制对记录在上述第一存储器中的数据进行再现的控制单元,由芯片所构成,且安装在上述基板上并连接到上述基板的控制电路;上述控制单元,根据记录在上述第一存储器中的认证密钥与记录在上述第二存储器中的认证密钥是否一致,来判断上述第一存储器是否正确。 To achieve the above object, the present invention provides a portable electronic medium comprising: a wiring board is applied; mounted on this substrate, a first recording data and records an authentication key memory; and a recording data and recorded with the authentication a second memory of the key, and recording control data to the first memory, or control of the data recorded in the first memory control unit for reproduction, is composed of a chip and mounted on the substrate and connected to to the control circuit board; wherein the control means, are the same in accordance with the authentication key recording in the first memory authentication key in the second memory, the first memory to determine whether correct.

为此,本发明还提供一种便携式电子介质,包括:施加有配线的基板;安装在此基板上,记录数据的第一存储器;以及包括记录数据并记录着上述第一存储器的状态信息的第二存储器,和控制向上述第一存储器进行数据的记录、或者控制对记录在上述第一存储器中的数据进行再现的控制单元的,由芯片所构成,安装在上述基板上并连接到上述基板的控制电路;上述控制单元,根据上述第一存储器的状态是否与记录在上述第二存储器中上述第一存储器的状态信息一致,来判断上述第一存储器是否正确。 To this end, the present invention also provides a portable electronic medium comprising: a wiring board is applied; mounted on this substrate, the recording data of the first memory; and a recording data and recorded state of the first information memory a second memory, and control the recording data to said first memory, or control of the data recorded in the first memory control unit for reproduction, constituted by chip mounted on the substrate and connected to the substrate a control circuit; said control means, whether the status of the first memory in accordance with a consistent state of the first memory is recorded in the second memory with the information, determines whether the first memory correctly.

为此,本发明进而提供一种便携式电子介质,包括:施加有配线的基板;安装在此基板上,记录数据并记录有对认证密钥进行加密后的加密数据的第一存储器;以及包括记录数据并记录有认证密钥、加密密钥以及解码程序的第二存储器,和控制向上述第一存储器进行数据的记录、或者控制对记录在上述第一存储器中的数据进行再现的控制单元,由芯片所构成,且安装在上述基板上并连接到上述基板的控制电路;上述控制单元,通过记录在上述第二存储器中的加密密钥和解码程序将记录在上述第一存储器中的加密数据解码成认证密钥,根据此认证密钥与记录在上述第二存储器中的认证密钥是否一致,来判断上述第一存储器是否正确。 To this end, the present invention further provides a portable electronic medium comprising: a wiring board is applied; mounted on this substrate, and the recording data is recorded on the first memory authentication key encrypted data encrypted; and comprises recording data and recorded with the authentication key, encryption key, and a second memory decoding program, and a recording control data to the first memory, or control of the data recorded in the first memory control unit for reproducing, constituted by the chip, and is mounted on the substrate and connected to the control circuit of the substrate; wherein the control means by the recording encryption key and decoding program in the second memory will be recorded in the first memory of the encrypted data decoded into the authentication key, the authentication key based on this authentication key is consistent with the recording in the second memory, the first memory to determine whether correct.

附图说明 BRIEF DESCRIPTION

图1是表示本发明存储卡的内部结构的图。 FIG 1 shows an internal configuration of the memory card of the present invention.

图2是表示存储卡的内部结构的图。 FIG 2 is a diagram showing the internal structure of the memory card.

图3是表示存储卡的内部的断面结构的图。 FIG 3 shows a cross-sectional configuration of the inside of the memory card.

图4是表示存储卡的内部结构的图。 FIG. 4 shows an internal structure of the memory card.

图5是表示存储卡的控制块的图。 FIG 5 is a diagram showing a control block of the memory card.

图6、8是用于说明第一实施形式中的认证密钥的记录例的图。 FIG recording 6,8 is an example of an authentication key used in the first embodiment in FIG.

图7是用于说明第一实施形式中的存储卡的启动时的处理或者电源电压供给时的处理的流程图。 FIG 7 is a flowchart of a process when the power supply voltage or the start time of a first form of embodiment for explaining a memory card.

图9是用于说明第二实施形式中的存储器的状态信息的记录例的图。 9 is a diagram of the embodiment of the recording state information in the form of a second embodiment for explaining a memory.

图10是用于说明第二实施形式中的认证处理的流程图。 10 is a flowchart of the authentication process for the second embodiment forms described.

图11是表示第二实施形式中的存储卡的存储器中的上次处理的最后的音乐信息的记录状态的图。 FIG 11 is a view showing a state of the last recording music information of the last process in the form of a memory of a second embodiment of the memory card.

图12是用于说明第二实施形式中的存储器状态信息的记录处理和认证处理的流程图。 12 is a flowchart of the recording process and the authentication processing memory state information for the second embodiment forms described.

图13是表示第二实施形式中的内部存储器的存储器状态信息的记录例的图。 FIG 13 is a diagram illustrating a recording example of a memory state of an internal memory in the form of a second embodiment of the information.

图14、16是用于说明第三实施形式中的加密数据、认证密钥、加密密钥和解码程序的记录例的图。 FIG 14 and 16 is an example of recording the encrypted data in the third embodiment, the authentication key, and an encryption key for decoding program instructions.

图15是用于说明第三实施形式中的认证处理的流程图。 FIG 15 is a flowchart showing authentication processing in the third embodiment. FIG.

图17、19是用于说明第四实施形式中的加密数据、认证密钥、加密密钥、解码程序和加密程序的记录例的图。 FIG 17 and 19 is an example of recording the encrypted data in the fourth embodiment, the authentication key, encryption key, decoding the encrypted program and a program for FIG.

图18是用于说明第四实施形式中的认证处理的流程图。 FIG 18 is a flowchart showing authentication processing in the fourth embodiment for explaining.

图20是表示第五实施形式中的因特网连接系统的整体结构的图。 FIG 20 shows an overall configuration of an Internet connection system of the fifth embodiment.

图21是用于说明向第五实施形式中的因特网连接系统中的批发销售店中的存储卡的因特网连接信息登录服务的图。 21 is a diagram for explaining the connection information log on to Internet services in the form of a fifth embodiment of an Internet connection system wholesale store of memory card.

具体实施方式 detailed description

下面,对本发明的实施形式进行说明。 Next, embodiments of the present invention will be described.

首先,从图1到图3表示作为便携式电子介质的存储卡(SD卡)M的结构。 First, from FIG. 1 to FIG. 3 shows the configuration of the portable electronic medium is a memory card (SD card) M's. 图1是表示本发明存储卡M的内部结构的图,图2是表示存储卡M的内部结构的图,图3是表示存储卡M的内部的断面结构的图。 FIG 1 shows an internal configuration of the memory card M in the present invention, FIG. 2 shows the internal structure of the memory card M, and FIG. 3 is a sectional view showing the internal configuration of the memory card M.

即,存储卡M,在持有外部连接端子1的基板2上安装存储器控制用LSI(控制电路、控制器)3、存储器(外部存储器、第一存储器)4、芯片部件5和其他的IC6,并且如图4所示那样,收纳在外壳7内。 That is, the memory card M, the external connection is mounted in holding memory control LSI (a control circuit, a controller) 3, 4, 5 and other chip parts IC6 memory (external memory, first memory) on the substrate 2 of the terminal 1, as shown in FIG. 4 and housed in the housing 7.

上述基板2的外部连接端子1,为了提高接触持久性而采用硬质镀金。 An external connection terminal 2 of the substrate 1, in order to improve the persistence of the contact with a hard gold plating.

在上述基本2的具有外部连接端子1的面的相反侧的面2a中,施加适用于金丝键合的软质镀金。 In the surface 2a opposite to the surface of the external connection terminal 1 having the above-described basic 2, a gold wire bonding is applied to a suitable soft gold plating.

在此面2a中,管芯键合作为裸芯片的存储器控制用芯片的上述存储器控制用LSI3,金丝键合连接基板2和裸芯片(存储器控制用LSI3),并用封装树脂8来封装。 In 2a, die die bond cooperation with the memory control LSI3, gold wire bonding connection substrate 2 and the bare chip (the memory control LSI3), and encapsulated with a sealing resin 8 with said memory chip control in this plane. 然后,焊接安装TSOP类型的存储器4、芯片部件5和其他的IC6。 Then, solder mounting TSOP type memory 4, and other chip parts 5 IC6.

这样,通过对基板2裸芯片地安装上述存储器控制用LSI3,就会有使密钥数据的解析困难的效果。 Thus, by mounting the memory of bare chip substrate 2 by LSI 3 controlled, there will be difficulties in that the key data analysis results.

接着,对上述存储卡M的控制电路,使用图5进行说明。 Next, the control circuit of the memory card M and 5 will be described with reference to FIG.

此存储卡M,如图5所示那样,包括作为进行与外部装置(没有图示)的数据交换的联系单元的外部连接端子1、连接到此外部连接端子1的接口单元9、连接到此接口单元9的存储器控制用LSI3和控制连接到此存储器控制用LSI3的数据的记录再现的存储器4。 This memory card M, as shown in FIG. 5, includes a device with an external (not shown) of contact data exchange unit external connection terminal 1 is connected to this external connection terminal interface unit 9 is connected to this the memory interface unit 9 controls the control memory LSI3 this memory recording data reproduction 4 and connected LSI3 control. 上述接口单元9由芯片部件5和其他的IC6构成。 9 is constituted by said interface unit and other components of the chip 5 IC6.

存储器控制用LSI3,包括对整体进行控制的控制单元3a,和记录此控制单元3a用的控制程序并记录数据的内部存储器(第二存储器)3b。 The memory control LSI 3, comprising a control unit for controlling the whole of 3a, this program and the recording control by the control unit 3a and the internal memory data record (second memory) 3b.

上述存储卡M,在与外部装置(没有图示)的连接时被供给电源电压。 The memory card M, when the power supply voltage is connected to an external device (not shown).

[第一实施形式]接着,对在上述这样的结构中,使用在对上述内部存储器3b、上述存储器4不能改写的状态下所记录的认证密钥,来进行上述存储器4的认证的实施形式进行说明。 [First embodiment] Next, in such a configuration described above, the use of the above-described internal memory 3B, the state of the memory can not be rewritten four recorded authentication key to authenticate the form of embodiment of the memory 4 instructions.

在此情况下,在上述内部存储器3b中,如图6所示那样,预先记录作为认证密钥的唯一值,而且是不能改写地进行记录。 In this case, in the internal memory. 3b, as shown in FIG 6, a unique value recorded in advance as the authentication key, and is not rewritable recording.

另外,在上述存储器4中,也如图6所示那样,不能改写地记录与在上述内部存储器3b中所记录的认证密钥相同的认证密钥。 Further, in the memory 4, and as shown in FIG 6, the same can not be rewritten with the authentication key recorded in the inner memory 3b recorded in the authentication key.

上述存储器4和内部存储器3b,由不可改写的ROM单元和可改写的ROM单元组成,在此不可改写的ROM单元中记录有上述认证密钥。 An internal memory 4 and the memory 3B, the ROM unit can not be rewritten and a rewritable ROM cell composition, in this non-rewritable ROM unit recorded in the authentication key.

接着,对在上述这样的结构中,上述存储卡M启动时或者来自上述外部装置的电源电压供给时的处理,参照图7所示的流程图进行说明。 Next, in such a configuration described above, the memory card M when the process starts, or when the power supply voltage from the external apparatus, with reference to the flowchart shown in FIG. 7 will be described.

即,在存储卡启动时或者来自上述外部装置的电源电压供给时,控制单元3a进行自诊断(ST1)。 That is, when the memory card or the power supply voltage starting from the external apparatus, the control unit 3a performs the self-diagnosis (ST1). 此自诊断的结果,控制单元3a在诊断结果为确认的情况下(ST2),读出记录在存储器4中的认证密钥(ST3),读出记录在内部存储器3中的认证密钥(ST4),比较它们是否一致(ST5)。 This result of self-diagnosis, the diagnosis control unit 3a in the case where the result of confirmation (ST2), recorded in the memory is read out of the authentication key 4 (ST3,), reads out the authentication key recorded (ST4 in the internal memory 3 ), compare them are the same (ST5).

控制单元3a在此比较的结果为两者的认证密钥相一致时,进行称为存储器4为正确的认证(认证确认)(ST6),并成为待机状态(ST7)。 The control unit 3a of the comparison result is consistent with both the authentication key, referred to as memory 4 for correct authentication (authentication confirmation) (ST6), and the standby state (ST7).

另外,在上述步骤2中诊断为NG的情况下,或者在通过上述步骤6的认证为NG的情况下,控制单元3a中止处理(ST8)。 Further, the above step 2 in the diagnostic is NG, or when the authentication is NG by the above step 6, the control unit 3a halting processing (ST8).

通过上述步骤6的认证为NG的情况是说,上述步骤5的比较结果为,由于认证密钥为不一致而存储器4为不正确的情况。 Certified step 6 above case of NG is to say the comparison result in step 5 is, since the authentication key and the memory 4 as inconsistent is not correct.

尽管上述例子中,对在存储卡启动时或者来自上述外部装置的电源电压供给时,进行存储器4的认证的情况进行了说明,但在每当进行存储器4的访问就进行存储器4的认证的情况下也可以与上述同样地进行实施。 While the foregoing example, at the start of the memory card or the power supply voltage supplied from the external device performs the authentication of the memory 4 has been described, but each time it accesses the memory 4 of authenticating the memory 4 under the above-described embodiment may be performed in the same manner.

作为向上述存储器4进行的访问处理,在进行从外部供给的音乐信息或程序的记录,或者进行所记录的音乐信息或程序的再现时执行。 As the access processing to the memory 4, music information or performed during the recording of the program supplied from the outside, or the music information or reproducing the recorded program when.

另外,也可以将为了用于与存储器4进行认证而记录在内部存储器3b中的认证密钥用于外部装置和卡M间的认证。 Further, may be used to authenticate the authentication with the memory 4 is recorded in the internal memory 3b is a key for authentication between the external device and the card M. 进而,如图8所示那样,也可以在卡M的内部存储器3b中,存储用于与存储器4进行认证的内部认证密钥K1,和用于与外部装置进行认证的外部认证密钥K2。 Further, as shown in FIG. 8, it may be an internal memory card M 3b, a memory 4 for storing authentication key internal authentication K1, K2, and the external authentication key for performing authentication with an external device.

[第二实施形式] [Second embodiment]

接着,对在上述这样的结构中,上述存储器控制用LSI3记录上次的上述存储器4的状态(处理的形态)信息,并在下回进行存储器4的访问时,通过与记录有存储器4的状态的存储器4的状态信息是否相同,来进行上述存储器4的认证的实施形式进行说明。 Next, when such a configuration above, the memory control state (morphology processing) the information of the last memory 4 with LSI3 recorded and next time the memory 4 is accessed by the recording state in the memory 4 status information is identical to the memory 4, to authenticate the embodiment of the memory 4 will be described.

在此情况下,控制单元3a,在上述存储卡M中的处理结束时,如图9所示那样,在内部存储器3b中记录上述存储器4的状态信息。 In this case, the control unit 3a, at the end of the processing in the memory card M, as shown in FIG 9, the recording status information of the memory 4 in the internal memory 3b. 上述存储器4的状态信息是,上次处理时所利用的区域(FAT:文件分配表)、上述存储器4的整体的校验和(验算值)、在上次处理结束时在存储器4中所记录的内容的校验和(验算值)等。 Information of the status memory 4, the last time process utilized area (FAT: File Allocation Table), the memory checksum overall (checking value) 4, at the end of processing the last recorded in the memory 4 checksum (checking value) of the content and the like. 由此,在内部存储器3b中,就记录上次处理时所利用的区域(FAT:文件分配表),或者上述存储器4的整体的校验和,或者在上次处理的最后在存储器4中所记录的内容的校验和等。 Accordingly, in the internal memory 3b, the area on the recording time of the last process utilized (FAT: File Allocation Table), or the entire check and the memory 4, or the last in the previous process in the memory 4 and the like check the recorded content.

另外,上述存储器4,由非易失性的存储器所构成,保持上次已处理的存储器的状态。 Further, the memory 4, constituted by a nonvolatile memory, the memory holding state last processed. 上述内部存储器3b,由非易失性的存储器所构成,保持存储器4的状态信息。 3B of the internal memory, is composed of a non-volatile memory, to maintain state information memory 4.

接着,对在上述这样的结构中,进行向上述存储器4的访问处理时的认证处理,参照图10所示的流程图进行说明。 Next, in such a configuration described above, the authentication process when the memory access process to 4, with reference to the flowchart shown in FIG. 10 will be described.

向上述存储器4进行的访问处理是,对从外部供给的音乐信息或程序进行记录,或者对所记录的音乐信息或程序进行再现等。 Access processing to said memory 4, music information or the program supplied from the outside is recorded, or the music information or reproducing the recorded program and the like.

即,控制单元3a在向存储器4进行访问时,确认存储器4的记录状态(ST11),并判断上次处理时所利用的区域(FAT)(ST12)。 That is, the control unit 3a when access to the memory 4, to confirm the recording state (ST11) memory 4, and the processing time of the last determination area utilized (FAT) (ST12). 接着,控制单元3a对此所判断出的上次处理时所利用的区域(FAT)与记录在上述内部存储器3b中的上次处理时所利用的区域(FAT)是否一致(ST13)进行比较。 Then, the determined control region during this last process utilized (FAT) units 3a coincides with said internal memory 3b in the region (FAT) process utilized when the last recorded (ST13) are compared.

控制单元3a在此比较的结果为两者相一致时,进行称为存储器4为正确的认证(认证确认)(ST14),并执行向上述存储器4的访问处理(ST15)。 Results control unit 3a in this comparison is a match, it referred to the memory 4 for the correct authentication (authentication confirmation) (ST14), and performs access processing to said memory (ST15) of 4. 作为此访问处理,例如,进行数据的记录(写入),或者所记录的数据的再现(读出)。 Reproducing (read) as this access processing, for example, data recording (writing), or the recorded data.

在执行此访问处理后,控制单元3a将由此访问处理所利用的区域(FAT)记录到(重写)上述内部存储器3b(ST16)。 After performing this access processing, the control unit 3a thus access process utilized area (FAT) to recording (overwriting) of the internal memory 3b (ST16).

另外,控制单元3a在通过上述步骤13的比较的结果为两者不一致时,设认证为NG并中止访问处理(ST17)。 Further, the control unit 3a in the result of the comparison by the above-described step 13 is inconsistent both set and abort the authentication is NG access processing (ST17).

尽管在上述例子中,作为存储器4的状态信息,以FAT为例进行了说明,但在上述存储器4的整体的校验和(验算值)、或者在上次处理的最后在存储器4中所记录的内容的校验和(验算值)等的情况下也可以同样地进行实施。 Although in the above example, as the status information memory 4 to FAT described as an example, but the checksum in the memory, and the entire (checking value) 4, or the last recorded in the last process in the memory 4 It may be carried out in the same manner in the case the checksum (checking value) of the content and the like.

对在上述上次处理的最后,如图11所示那样,将音乐信息“A”以长度“BB”记录到存储器4的地址“AAAA”的情况中的存储器状态信息的记录处理和认证处理,参照图12所示的流程图进行说明。 Of the last, as shown in FIG. 11, the music information "A" record length "BB" to the recording processing and the authentication processing memory state information memory 4 addresses the case of "AAAA" in the last process, Referring to the flowchart shown in FIG. 12 will be described.

即,控制单元3a,计算出对于上述音乐信息“A”的校验和(验算值)“CC”(ST21)。 That is, the control unit 3a, calculated for the music information "A" checksum (checking value) "CC" (ST21).

接着,控制单元3a,通过将上述存储器4的记录开始地址“AAAA”、记录信息的长度“BB”和上述所计算出的校验和(验算值)“CC”附加给预先赋予上述音乐信息“A”的信息ID,生成存储器状态信息(ST22),如图13所示那样,记录在内部存储器3b中(ST23)。 Next, the control unit 3a, by the memory 4 of the recording start address "AAAA", the recording information length of "BB" and the calculated checksum and the above-mentioned (checking value) "the CC" appended to the music information given in advance " a "message ID, generate memory status information (ST22), as shown in FIG. 13, 3b, recorded in the internal memory (ST23).

然后,控制单元3a接着在向存储器4进行访问时(ST24),确认存储器4的记录状态(ST25),判断在上次处理的最后从存储器4的地址“AAAA”记录了长度为“BB”的信息(ST26)。 Then, when the control unit 3a accesses the next memory 4 (ST24), to confirm the recording state (ST25) memory 4, the last process is determined from the last recorded address memory 4 "AAAA" length "BB" in information (ST26).

接着,控制单元3a计算对于从存储器4的地址“AAAA”得到的长度“BB”的信息的校验和(验算值)“CC”(ST27)。 Next, the control unit 3a calculates the length obtained from the memory address "AAAA" 4 to "BB" checksum (checking value) information "CC" (ST27).

然后,控制单元3a通过上述所判断的地址“AAAA”、长度“BB”和所计算出的校验和(验算值)“CC”判断为存储器状态信息(ST28),比较此存储器状态信息与从内部存储器3b读出的上次处理时的存储器状态信息是否一致(ST29)。 Then, by the address of the control unit 3a judged "AAAA", the length of "BB" and the calculated checksum (checking value) "CC" memory state information is determined (ST28), and comparing this status information from the memory whether the memory state of the last reading processing information consistent with an internal memory 3b (ST29).

控制单元3a在此比较的结果为两者相一致时,进行称为存储器4为正确的认证(认证确认)(ST30),并执行向上述存储器4的访问处理(ST31)。 Results control unit 3a in this comparison is a match, it referred to the memory 4 for the correct authentication (authentication confirmation) (ST30), and performs access processing to said memory (ST31) of 4.

另外,控制单元3a在通过上述步骤29的比较结果为两者不一致时,设认证为NG并中止访问处理(ST32)。 Further, when the control unit 3a do not coincide by comparing the result of the above step is 29, set the authentication is NG and abort access processing (ST32).

[第三实施形式]接着,对在上述这样的结构中,使用在不可改写的状态下记录到上述存储器4中的认证密钥的加密数据,和在不可改写的状态下记录到上述内部存储器3b中的认证密钥部、解码程序和加密密钥,来进行上述存储器4的认证的实施形式进行说明。 [Third embodiment] Next, in such a configuration described above, the encrypted data using the authentication key recorded in the memory 4, and said internal memory 3b recorded in a non-rewritable state in a non-rewritable state authentication key unit, the decoding program and the encryption key to authenticate the embodiment of the memory 4 will be described.

在此情况下,在上述存储器4中,如图14所示那样,预先记录用唯一的加密密钥对认证密钥进行加密后的加密数据,而且是不能改写地进行记录。 In this case, in the memory 4, as shown in FIG 14, the authentication key is pre-recorded encrypted data encrypted with a unique encryption key, and recording can not be rewritten.

另外,在上述内部存储器3b中,如图14所示那样,不能改写地记录与在上述存储器4中所记录的加密数据的加密前的认证密钥相同的认证密钥,对在上述存储器4中所记录的加密数据进行解码的解码程序,以及在由此解码程序对加密数据进行解码时的加密密钥。 Further, in the internal memory 3b, as shown in FIG. 14, the same can not be rewritten before encryption authentication key recorded in the encrypted data recorded in the memory 4 authentication key, in the memory 4 encrypted data decoder for decoding the recorded program, whereby the decoding program and the encrypted data encryption key for decoding.

上述存储器4和内部存储器3b,由不可改写的ROM单元和可改写的ROM单元组成,在此不可改写的ROM单元中记录有上述认证密钥。 An internal memory 4 and the memory 3B, the ROM unit can not be rewritten and a rewritable ROM cell composition, in this non-rewritable ROM unit recorded in the authentication key.

接着,对在上述这样的结构中,上述存储器4的认证处理,参照图15所示的流程图进行说明。 Next, in such a configuration described above, the memory 4 of the authentication process, with reference to the flowchart shown in FIG. 15 will be described.

即,控制单元3a读出记录在存储器4中的加密数据(ST41)。 That is, the control unit 3a reads the encrypted data (ST41) is recorded in the memory 4. 接着,控制单元3a通过基于记录在内部存储器3b中的解码程序,用记录在内部存储器3b中的加密密钥对上述所读出的加密数据进行解码,得到认证密钥(ST42)。 Next, the control unit 3a-based decoding program recorded in the internal memory. 3b, decoding encrypted data read out from the encryption key recorded in the internal memory. 3b, to obtain an authentication key (ST42). 进而,控制单元3a比较此所得到的认证密钥与记录在内部存储器3b中的认证密钥是否一致(ST43)。 Further, the recording control unit 3a and the authentication key obtained here whether the comparison authentication key in the internal memory 3b is consistent (ST43).

控制单元3a在此比较的结果为两者的认证密钥相一致时,进行称为存储器4为正确的认证(认证确认)(ST44)。 Results In the control unit 3a when this comparison authentication key both coincide, the memory 4 is referred to for the correct authentication (authentication confirmation) (ST44).

另外,控制单元3a在通过上述步骤43的比较的结果为两者不一致时,设认证为NG(ST45)。 Further, when the control unit 3a through the above steps do not coincide with the result of the comparison is 43, set the authentication is NG (ST45).

另外,也可以将为了用于与存储器4进行认证而记录在内部存储器3b中的认证密钥用于外部装置和存储卡M间的认证。 Further, may be used to authenticate the authentication with the memory 4 is recorded in the internal memory 3b is a key for authentication between the external apparatus and the memory card M. 进而,如图16所示那样,也可以在存储卡M的内部存储器3b中,存储用于与存储器4的认证的内部认证密钥K1,和用于与外部装置的认证的外部认证密钥K2。 Further, as shown in Figure 16, it may be an internal memory 3b of the memory card M, stores authentication and internal authentication key K1 memory 4, and the external authentication key K2 for authentication of an external device .

[第四实施形式]接着,对在上述这样的结构中,在对来自外部装置的接收数据进行加密并记录到上述存储器4时,使用通过上述第三实施形式的认证处理(步骤41~45),和通过上述第二实施形式的认证处理(步骤11~14),来进行上述存储器4的认证的实施形式进行说明。 [Fourth embodiment] Next, in such a configuration above, the data received from the external device is encrypted and recorded to the memory 4, by using the above-described third embodiment in the form of an authentication process (steps 41 to 45) , and to authenticate the memory 4 through the above-described embodiment of the second embodiment of the authentication process (steps 11 to 14) will be described.

在此情况下,在上述存储器4中,如图17所示那样,预先记录用唯一的加密密钥对认证密钥进行了加密的加密数据,而且是不能改写地进行记录。 In this case, in the memory 4, as shown in FIG. 17, the pre-recorded with a unique key encryption key encrypted authentication data encrypted and recorded can not be rewritten.

另外,在上述内部存储器3b中,如图17所示那样,不能改写地记录与在上述存储器4中所记录的加密数据的加密前的认证密钥相同的认证密钥,对来自上述外部装置的接收数据进行加密的加密程序,对在上述存储器4中所记录的加密数据进行解码的解码程序,以及在由上述加密码程序对接收数据进行加密时和在由上述解码程序对加密数据进行解码时的加密密钥。 Further, in the internal memory 3b, as shown in FIG. 17, the recording can not be rewritten to the same authentication key before encryption in the encrypted data recorded in the memory 4 of the authentication key, from the external apparatus receiving data encrypted encryption program, the encrypted data stored in the memory 4 the recording of a decoder for decoding program, and when encrypting the received data by the encrypted program, and when the decoding of the encrypted data by the decoding program encryption key.

另外,在内部存储器3b中,如图17所示那样,记录上次处理时所利用的区域(FAT:文件分配表),或者上述存储器4的整体的校验和,或者在上次处理的最后在存储器4中所记录的内容的校验和等。 Further, in the internal memory 3b, as shown in FIG. 17, the recording time of the last processing region utilized (FAT: File Allocation Table), or the memory 4, and check the entire, or at the end of the last treatment 4 and the like check recorded in the memory contents.

上述存储器4和内部存储器3b,由不可改写的ROM单元和可改写的ROM单元组成,在此不可改写的ROM单元中记录有上述认证密钥。 An internal memory 4 and the memory 3B, the ROM unit can not be rewritten and a rewritable ROM cell composition, in this non-rewritable ROM unit recorded in the authentication key. 可改写的ROM单元,由非易失性的存储器所构成,保持上次已处理的存储器的状态。 A rewritable ROM unit, is constituted by a nonvolatile memory, the memory holding state last processed.

接着,对在上述这样的结构中,来自上述外部装置的数据接收时的认证处理,参照图18所示的流程图进行说明。 Next, the authentication processing in such a configuration described above, the data received from the external apparatus, will be described with reference to the flowchart shown in FIG. 18.

即,控制单元3a在从外部装置接收到数据时(ST51),进行通过上述第三实施形式的认证处理(ST52),进而进行通过上述第二实施形式的认证处理(ST53)。 That is, the control unit 3a when receiving data from an external device (ST51), the above-described third embodiment is performed by an authentication process (ST52), and further by the above-described second embodiment of the authentication process (ST53).

控制单元3a在此结果为各认证处理是确认时(ST54),基于记录在内部存储器3b中的加密程序,用记录在内部存储器3b中的加密密钥对上述所接收的数据进行加密(ST55)。 When (ST54) to confirm, based on the encryption program is recorded in the internal memory. 3b, encrypt data received in the control unit 3a for the results of this encryption key authentication process is recorded in the internal memory. 3b (ST55) .

接着,控制单元3a将此所加密的数据记录到存储器4(ST56)。 Next, the control of this unit 3a encrypted data recorded in the memory 4 (ST56).

在此记录结束后,控制单元3a将存储器4的状态记录到(重写)上述内部存储器3b(ST57)。 At the end of the recording, the control unit 3a of the state of the memory 4 to the recording (overwriting) of the internal memory 3b (ST57).

另外,控制单元3a在任一个的认证处理是NG时,中止处理(ST58)。 Further, the control unit 3a when any one of the authentication process is NG, aborts the processing (ST58).

此外,在对记录在上述存储器4中的被加密的数据进行解码再现的情况下也与上述同样地进行动作。 Further, also similarly to the above operation in the case where the recording in the memory 4 for decoding encrypted data reproduction.

作为向上述存储器4所记录的数据,可以是音乐信息或程序等。 As the recorded data to the memory 4, and may be other programs or music information.

另外,也可以将为了用于与存储器4进行认证而记录在内部存储器3b中的认证密钥用于外部装置和存储卡M间的认证。 Further, may be used to authenticate the authentication with the memory 4 is recorded in the internal memory 3b is a key for authentication between the external apparatus and the memory card M. 进而,如图19所示那样,也可以在存储卡M的内部存储器3b中,存储用于与存储器4的认证的内部认证密钥K1,和用于与外部装置的认证的外部认证密钥K2。 Further, as shown in Figure 19, it may be in the internal memory M of the memory card 3b, storing the authentication key K1 internal memory 4 of the authentication, and authentication with an external device for the external authentication key K2 .

[第五实施形式]接着,说明具有上述认证功能的存储卡M的利用例。 [Fifth embodiment] Next, the memory card having the above-described embodiments use an authentication function of M.

参照图20、图21来说明,例如将存储卡M使用于因特网连接系统的情况的例子。 Referring to FIG 20, FIG 21 will be described, for example, the memory card M in the case of using an example of an Internet connection system.

即,图20是表示利用了具有上述内置的存储器确认用的认证功能的存储卡M的因特网连接系统的整体结构的图。 That is, FIG. 20 is a diagram showing an overall configuration of an Internet connection system, a memory card M having the above built-confirmation authentication functions.

在该图中,PC(个人计算机)11、作为移动电话的例如便携电话12、电子照相机13以及TV装置(电视装置)14的各电子设备,不管怎样都备有可以安装预定的可移式记录介质,例如具有不能从外部直接访问被隐藏的存储区域的邮票大小的存储卡M的卡槽,和对向因特网15等进行连接所必要的调制解调器等的通信接口(没有图示)。 In the figure, PC (Personal Computer) 11, a mobile telephone 12 such as a portable phone, an electronic camera 13 and the TV set in each electronic apparatus (TV apparatus) 14, are in any case displaceable with a predetermined recording can be installed medium such as a memory card slot M stamp having a size that can not be hidden from the outside direct access storage area, and a connection to the Internet 15 or the like to the necessary modem communication interface (not shown).

在本实施形式中,在存储卡M的存储器4中,为了可以从该存储卡M(在卡槽中)所安装的电子设备(通过因特网供应商的服务器,也就是通过供应商方)连接到因特网15,登录有用户ID、用户密码、邮件帐户、邮件密码、DNS(DNS服务器地址)、访问接口(连接对象的电话号码)等组成的因特网连接信息150。 In the present embodiment, in the memory card M in the memory 4, to be connected from the memory card M (the slot) mounted electronic device (via the Internet provider's server, i.e. by the supplier side) to Internet 15, are registered user ID, password, e-mail accounts, mail password, DNS (DNS server address), access interface (phone number connected objects) and other components of the Internet connection information 150. 在此存储卡M的存储器4中所登录的因特网连接信息150的数据格式,统一成与上述PC11、便携电话12、电子照相机13以及TV装置等各种电子设备(装置)无关的预定格式。 This memory card M in the memory 4 the data format of log information Internet connection 150 unified into a predetermined format independent of a variety of electronic devices (equipment) PC11 above, the portable telephone 12, an electronic camera 13 and TV devices.

另外,在PC11中搭载有记录了用于在存储卡M安装在自身的卡槽时自动地启动,从该存储卡M的存储器4读出预定格式的因特网连接信息150并自动连接到因特网15的特定的应用程序(因特网连接设定应用程序)110的(可计算机读取的)上述存储器4。 Further, in the mounted PC11 recorded for mounting slot at its start automatically in the memory card M,. 4 reads out a predetermined format from the memory of the memory card M Internet connection information 150 and automatically connects to the Internet 15 particular application (Internet connection setting application) 110 (which may be read by a computer) the memory 4. 在此进行存储卡M的启动时,进行利用上述第一、第二、第三实施形式的内置的存储器确认用的认证处理。 Be started when this memory card M is performed by the first, second, third form of embodiment of the built-in memory of the authentication confirmation process. 另外,在存储器的认证为确认的情况下,进而可以使用存储在存储卡M内的内部存储器3b的认证密钥在与作为外部装置的PC11之间进行识别。 Further, for the case where the acknowledgment, in turn, can use the internal memory 3b authentication key stored in the memory card M is identified in the authentication between the memory and an external device PC11. 然后,在这些认证为确认时,启动上述特定的应用程序。 Then, these certifications is confirmed, start the specific application.

另外,在便携电话12、电子照相机13以及TV装置14等其他种类的电子设备中也搭载有记录了因特网连接设定应用程序(下面,称为应用)110的记录介质。 Further, other types of electronic devices in the portable telephone 12, an electronic camera 13 and the TV set 14 or the like are also equipped with a recording medium connected to the Internet application settings (hereinafter, referred to as application) 110. 此记录介质是ROM、磁盘装置、闪存等。 This recording medium is a ROM, a magnetic disk device, a flash memory. 此外,应用110也可以通过通信线路来进行下载。 In addition, application 110 may be downloaded through a communication line.

这样,通过设为在PC11、便携电话12、电子照相机13以及TV装置14等电子设备中搭载应用(因特网连接设定应用)110的结构,用户仅通过携带在存储器4中登录有因特网连接信息150的存储卡M,并将该存储卡M适宜地安装到上述电子设备(PC11、便携电话12、电子照相机13以及TV装置14等电子设备)的卡槽,就能够简单地从该设备连接到因特网15。 Thus, the mounting structure is set by application (application an Internet connection setting) in PC11 110, the mobile phone 12, an electronic camera 13 and the TV set 14 or the like electronic device, the user merely by carrying the log in the memory 4 has an Internet connection information 150 the memory card M, the card M and suitably attached to the electronic device (PC11, the mobile phone 12, an electronic camera 13 and the electronic device such as a TV set 14) of the slot, it is possible to simply connect the device to the Internet from 15. 在这里,由于并不依存于使用的电子设备,故用户通过交替使用一张存储卡M,也能够从任何的设备连接到因特网15。 Here, since the electronic apparatus does not depend on the use, so the user by alternately using a memory card M, can also be connected to the Internet from any device 15.

于是在本实施形式中,就存在向存储卡M的存储器4进行因特网连接信息150的登录服务的商店。 Therefore, in this embodiment, there is an Internet connection for the store information registration service 150 to the memory card M in the memory 4. 顾客将存储卡M带到此种商店,或者在该商店购买存储卡M,在该商店向此存储卡M的存储器4进行因特网连接信息150的登录。 Customers will be brought to such a memory card M store, or buy a memory card M in the store, the Internet to carry out this memory card M 4 in the store connection information to log 150. 在图20中,是在批发销售店16和便利店17中进行因特网连接信息登录服务的。 In Figure 20, the Internet is in the wholesale stores and 16 convenience stores, 17 are connected to log information services. 为此,在批发销售店16中,就准备有搭载着记录了因特网连接信息登录用的应用(因特网连接信息登录应用程序)180的(可计算机读取的)存储介质的PC160。 To this end, the wholesale dealer 16, is ready to have (can be read by a computer) PC160 carrying the recorded information logon application with Internet connection (Internet connection information registration application) 180 of the storage medium. 另外,在便利店17中,准备有搭载着不仅记录了向存储卡M的存储器4进行因特网连接信息登录用的应用(因特网连接信息登录应用)180,还记录了向存储卡M、MD(微型磁盘)等进行数字内容下载用的应用的(可计算机读取的)存储介质的信息写入终端170。 Further, in a convenience store 17, are prepared carrying the only recorded for use of the Internet connection information registration with (Internet connection information registration application) 180 to the memory card M is 4, is also recorded to the memory card M, the MD (mini disk) or the like for downloading of digital content applications (which may be a computer-readable) storage medium to write information terminal 170.

在批发销售店16、便利店17等的因特网连接信息登录服务店中的登录服务的结果,与因特网供应商(下面,略称为供应商)18签约的用户数(入会者数),可以按不同该供应商18并且按每个因特网连接信息登录服务店进行统计。 16 wholesale stores in the results, 17 convenience stores and other Internet connection information registration service shop login service and Internet provider (below, abbreviated as suppliers) 18 the number of users signed (the number of enrollees), may be different the supplier 18 and the connection information registration service store statistics for each Internet. 于是各供应商18,以预定的期间为单位,例如以月为单位,对本系统(可移式记录介质用因特网连接系统)的提供公司,因特网连接信息登录服务店(批发销售店16、便利店17等)进行现金返还19。 So the suppliers 18, a predetermined period as a unit, for example, on a monthly basis, this system (removable recording medium with an Internet connection system) provides companies, Internet connection information registration service shop (wholesale sales shop 16, convenience store 17, etc.) 19 cash back.

接着,参照图21对向图20的系统中的因特网连接信息登录服务店、例如批发销售店16中的存储卡M的存储器4进行因特网连接信息登录(写入)的服务进行说明。 Next, with reference to FIG. 21 connected to the system of FIG 20 stores an Internet service login information, e.g. wholesale dealer 16 in the memory card M is connected to the Internet 4 serving login information (write) will be described.

首先,当在PC160的卡槽中,如箭头a所示那样安装用户的存储卡M后,因特网连接信息登录应用180就启动。 First, when the card slot PC160, installed as a user's memory card M as shown by arrow a, Internet connection information registration application 180 is started. 于是,就在PC160的显示器上(与提供图20的系统的公司缔结有合同)显示供应商的一览画面(供应商一览画面)201。 Thus, in a display on the PC160 (Fig. 20 and the system providing company has concluded a contract) list screen displays supplier (supplier list screen) 201.

当用户在供应商一览画面上选择所希望的供应商后,或者当批发销售店16的店员选择用户要求的供应商后,PC160就按照应用180显示表示与此所选择的供应商间的会员合同内容的画面202。 When the user selects a desired on the vendor list screen supplier, or when the wholesale store clerk 16 select user requirements of suppliers, PC160 would follow application 180 displaying a representation of members of the contract between this selected suppliers 202 picture content. 在此画面202上设置有确认按钮202a,当按下(选择)该确认按钮202a后,就切换到支付方法的选择画面203。 Is provided on this screen 202 has a confirmation button 202a, when pressed (selected) After 202a, switches to a payment method selection screen 203 of the confirmation button. 这里当选择支付方法后,就切换到邮件帐户生成画面204。 When you select this payment method, you switch to a mail account generation screen 204. 这里,当设定用户希望的邮件帐户的候补后,PC160通过与用户所指定的供应商服务器210进行线路(因特网)连接,将用户所指定的支付方法、邮件帐户发送给该服务器210,就如箭头b所示那样委托确认,并切换到正在在线确认的画面205。 Here, when the user wishes to set the candidate mail account, PC160 connection line (Internet) specified by the user by vendor server 210, the method of payment designated by the user, the message sent to the account server 210, as as shown by arrow delegate confirmation b, and 205 are switched to the screen of the online confirmation.

用户指定的供应商的服务器210,对用户所希望的邮件帐户从第一候补依次检查是否已经给予其他用户,如果没有给予就决定将该帐户给予用户。 User-specified vendor server 210, the user desired email account from the first candidate in order to check whether other users have been given, if not given the decision to give the user account. 如果所有的候补都给予完时,就在批发销售店16的PC160从服务器210请求再次生成邮件帐户。 If all the candidates are given complete, PC160 wholesale dealer in 16 requests from the server 210 to generate e-mail account again.

当决定用户所希望的邮件帐户的给予后,服务器210进而决定给予该用户的用户ID、用户密码、邮件密码,并将包含这些信息和DNS、访问接点,对因特网的连接所必要的信息发送给批发销售店16的PC160。 When the user decides to give the desired e-mail account, the server 210 and then decided to give the user's user ID, user password, mail password, and will contain such information and DNS, access points, connect to the Internet to send information necessary to wholesale dealer of PC160 16.

于是批发销售店16的PC160,基于从供应商的服务器210发送的信息,生成包含用户ID、用户密码、邮件密码、DNS、访问接点的预定格式的因特网连接信息150,按照预定的算法用后面说明的介质密钥Km对该因特网连接信息150进行加密,开始向安装在该PC160的卡槽的存储卡M的存储器4进行写入的动作,并切换到正在信息写入的画面206。 Thus wholesale dealer PC160 16 based on the information 210 transmitted from the provider's server, generates a user ID, an Internet user password, mail password, DNS, a predetermined format, access point connection information 150, in accordance with a predetermined algorithm described later the media key Km is encrypted Internet connection information 150, to start operation of the memory card installed in the slot M PC160 memory 4 for writing, and the writing is switched to the screen information 206.

在向上述的存储卡M的存储器4进行写入操作时,进行上述第四实施形式的认证处理。 When the write operation to the memory card M in the memory 4, the above-described fourth embodiment of the authentication process. 另外,在存储器的认证为确认的情况下进而可以使用存储在存储卡M内的内部存储器3b中的认证密钥在与作为外部装置的PC11之间进行认证。 Further, in the case of addition may be used to confirm the authentication of the memory of the internal memory 3b authentication key stored in the memory card M in the authentication between an external device and PC11. 然后,在这些认证为确认时,就开始写入动作。 Then, when these certifications confirm that, to begin the write operation.

当PC160结束向存储卡M的存储器4进行的因特网连接信息150的写入后,就切换到向用户询问是否用密码保护存储卡M的信息的询问画面207。 After writing the information 150 for the Internet when the end of PC160 memory card M to the memory 4 is connected, the screen switches to a query asking whether the information with a password protected memory card 207 of the user M.

如果在请求用密码进行保护的情况下,PC160就使用户指定密码。 If the request in a case where the password-protected, PC160 allowing users to specify a password. PC160按照预定的算法对用户指定的密码进行加密并作为密码写入到存储卡M。 PC160 encrypted according to a predetermined algorithm and a user-specified password as the password written to the memory card M. 该所加密的密码,就成为用于从存储卡M取出介质密钥的密钥。 The encrypted password, has become a key for removing the memory card from the media key of the M. 当PC160将密码311写入存储卡15后,就完成一系列的因特网连接信息写入处理,也就是用户登录处理。 When PC160 password 311 written to the card 15 to complete a series of Internet connection information writing process, which is the user login process. 在此情况下,PC160在切换到表示用户登录完毕的画面208的同时,例如经由因特网如箭头c所示那样将用户登录完毕,通知给开发本系统的公司(系统提供公司)所有的合同计数服务器211。 In this case, switching to the PC160 indicates user registration completion screen 208 simultaneously, such as the Internet as an arrow c as shown via the user login is completed, notifies the system development company (company providing system) server counts all contracts 211. 另一方面,在没有请求用密码进行包含的情况下,PC160在直接切换到用户登录完毕画面208的同时,如箭头c所示那样将用户登录完毕通知给合同计数服务器211。 On the other hand, in the absence of a request comprising a password, PC160 switching directly to the user registration completion screen 208, while the arrow c, as a user registration completion notification to the server 211 shown in the contract count. 在此用户登录完毕通知中,包含有用户所签约的供应商的信息。 In this user registration completion notification contains information provider contracted by the user.

合同计数服务器211,按各供应商并且按每个批发销售店16等的因特网连接信息登录服务店来计数(统计)与各供应商签约的用户数(入会者数)。 Contract count server 211, according to the suppliers and the connection information registration service shop wholesale sales per store and other Internet 16 to count (count) and the number of users each supplier contract (the number of enrollees). 于是,当从批发销售店16的PC160通知用户登录完毕后,合同计数服务器211,就使所通知的供应商的入会者数计数加1,使进行连接到该供应商用的因特网连接信息的登录服务的商店(批发销售店16)所接待的入会者数计数加1。 Then, when the registration completion notification from the wholesale dealer PC160 user 16, the contract server 211 counts, count the number of enrollees suppliers notified by one, leaving to connect to the Internet connection of the supply of commercial services login information shop (wholesale dealer 16) of the enrollees received a number count is incremented.

如上述那样,作为防止伪造存储卡的技术向存储器的某区域写入成为密钥的数据,在存储器控制用LSI中对该密钥数据进行认证,仅在一致的情况下进行向存储器的访问就成为可能。 As described above, as a technology to prevent counterfeiting writing to the memory card becomes a key area in the memory data, the memory control LSI in the authentication key data, the memory is accessed only in the case of agreement on become possible.

为此,例如既便替换成存储器容量大的存储器,由于存储器控制用LSI的认证不一致故也不能对存储器进行访问。 For this purpose, for example, both would replace the memory capacity of the memory, it is also inconsistent with the memory can not be accessed since the memory control LSI authentication.

同样,既便欲对于一个存储器控制用LSI,使用好几个存储器,由于认证不一致故也不能对存储器进行访问。 Similarly, only one memory Bianyu for controlling the LSI, the use of several memory, since it is not inconsistent with the authentication access to the memory.

另外,对密钥数据进行加密以使不能解析存储器内的密钥数据也是有效的。 Further, key data to encrypt the data so that the key can not be resolved in the memory is also effective.

本发明,提供一种由包括记录数据的存储器,控制向此存储器进行数据的记录或者控制在上述存储器中所记录的数据的再现的控制单元,此控制单元所使用的内置内部存储器的存储器控制用LSI所构成的存储卡,上述控制单元,根据记录在上述存储器中的认证密钥与记录在上述内部存储器中的认证密钥是否一致,来判断上述存储器是否正确。 The present invention provides a memory comprising a data recording, the recording control data to the control unit for controlling this memory or in the memory of the reproduction of the recorded data, the built-in memory in the internal memory used by this control unit controlling LSI constituted by the memory card, the control means, are the same in accordance with the authentication key recording in the memory of the authentication key in said internal memory, determines whether the memory correctly.

Claims (3)

  1. 1.一种便携式电子介质的认证方法, 该便携式电子介质由以下部分构成:通过软质镀金被实施布线的基板;通过焊料安装在该基板上,记录数据的第一存储器;由一个裸芯片构成,用封装树脂覆盖每个裸芯片而安装在上述基板上,并通过金丝键合与上述基板连接的控制电路,该裸芯片内置了以下部分:在记录数据的同时,记录作为上述第一存储器的状态信息在上次处理时使用了的上述第一存储器的记录开始地址、记录信息的长度、从记录开始地址的对记录信息的长度的信息的校验和的第二存储器;控制向上述第一存储器记录数据,或控制重放记录在上述第一存储器中的数据的控制部件,其中上述第一存储器和第二存储器的一部分为非易失性存储器,该便携式电子介质的认证方法的特征在于:上述控制部件在对上述第一存储器进行访问时,判断上述 A portable electronic medium authentication method of the portable electronic medium is composed of the following parts: a wiring substrate implemented by the soft gold plating; mounted by solder on the substrate, the first memory data record; by one bare chips covered with a sealing resin each die mounted on the substrate, and a control circuit connected to the substrate by gold wire bonding, the die built in the following sections: while recording data, recorded as the first memory status information used at the time of the previous processing history of said first memory start address, the length of the recording information, the record information from the second memory and check information start address record length; control to the first a memory for recording data, the recording control or playback control means in said first data memory, wherein said first and second memories is a portion of a nonvolatile memory, the authentication method of the portable electronic medium comprising : said control member when said first memory is accessed, determining whether the 第一存储器的上次处理时使用了的记录开始地址和记录信息的长度,从该判断出的记录开始地址开始计算对记录信息的长度的信息的校验和,根据上述判断出的记录开始地址、记录信息的长度、计算出的校验和与记录在上述第二存储器中的上次处理时使用了的上述第一存储器的记录开始地址、记录信息的长度、校验和是否一致,判断上述第一存储器是否正确。 Using a first memory address of the last length of the process and the start of recording the record information, counting the length of the check information and the record information, the record start address in accordance with the determination from the recording start address is judged , the length of the record information, the record start address used in the calculation of the checksum of the last process in the second record in the memory of the first memory, the record length, and checksum information are the same, determining whether the The first memory is correct.
  2. 2.根据权利要求1所述的便携式电子介质的认证方法,其特征在于:第二存储器的非易失性的存储器中记录着上述第一存储器的状态信息。 The authentication method of the portable electronic medium according to claim, wherein: non-volatile memory is recorded in a second memory state information of the first memory.
  3. 3.根据权利要求1所述的便携式电子介质的认证方法,其特征在于:在上述第二存储器中记录有上述控制部件的控制程序。 3. The authentication method of the portable electronic medium according to claim, wherein: in the second control program recorded in the memory of the control member.
CN 00819883 2000-09-18 2000-09-18 Portable electronic medium CN1227595C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2000/006348 WO2002023349A1 (en) 2000-09-18 2000-09-18 Portable electronic medium

Publications (2)

Publication Number Publication Date
CN1454350A true CN1454350A (en) 2003-11-05
CN1227595C true CN1227595C (en) 2005-11-16

Family

ID=34141195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 00819883 CN1227595C (en) 2000-09-18 2000-09-18 Portable electronic medium

Country Status (3)

Country Link
JP (1) JPWO2002023349A1 (en)
KR (1) KR100550367B1 (en)
CN (1) CN1227595C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100464313C (en) 2005-05-20 2009-02-25 联想(北京)有限公司 Mobile memory device and method for accessing encrypted data in mobile memory device
JP4568196B2 (en) 2005-09-01 2010-10-27 株式会社東芝 Processor, computer systems and authentication methods

Also Published As

Publication number Publication date Type
KR20030030009A (en) 2003-04-16 application
KR100550367B1 (en) 2006-02-09 grant
CN1454350A (en) 2003-11-05 application
JPWO2002023349A1 (en) 2004-01-22 application

Similar Documents

Publication Publication Date Title
US6501163B1 (en) Semiconductor memory card
US7227952B2 (en) System, method, and device for playing back recorded audio, video or other content from non-volatile memory cards, compact disks or other media
US20030220841A1 (en) Method and system for merchant-to-merchant referrals and item brokering
US6993567B1 (en) Recording/reproducing apparatus, data reproducing method, and data recording/reproducing method
US7729925B2 (en) System and method for facilitating real time transactions between a user and multiple entities
US20050091679A1 (en) Content distribution method, content obtaining device and method, and program
US20040235521A1 (en) Method and system for exchanging digital media
US20030221103A1 (en) Semiconductor memory card, data reading apparatus, and data reading/reproducing apparatus
US6779115B1 (en) Portable device using a smart card to receive and decrypt digital data
US6278984B1 (en) Software processing apparatus writing software to a medium only if identification information in the software corresponds to identification information in the medium
US7526657B2 (en) Information processing apparatus, information processing method, and program storage medium
US20040068483A1 (en) Information processor for setting time limit on check out of content
US20050141367A1 (en) Communication system and its method and communication apparatus and its method
US20030028699A1 (en) Removable computer with mass storage
US20080247731A1 (en) Contents Reproduction Device, Contents Reproduction Control Method, Program
US20020032747A1 (en) System, method, device, and program for distributing data, and data reproduction device
WO2001052212A1 (en) Secure electronic commerce system
JP2003233795A (en) Semiconductor memory card and reading device
JP2002358241A (en) Copy management method for content, recording/ reproducing unit and reproducing unit
US7917531B2 (en) Information processing apparatus
US20060294017A1 (en) Information server, information device, information processing system, information processing method, and informaiton processing program
US7141733B2 (en) Karaoke apparatus, content reproducing apparatus, method of managing music piece data for a karaoke apparatus, and method of managing content data for content reproducing apparatus
US20020025141A1 (en) Distribution system
JP2000306314A (en) Program recording and reproducing system
US20040210593A1 (en) Recording apparatus server apparatus recording method program and storage medium

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted
C17 Cessation of patent right