CN101303885A - Multi-chip package memory module - Google Patents
Multi-chip package memory module Download PDFInfo
- Publication number
- CN101303885A CN101303885A CNA2008101160093A CN200810116009A CN101303885A CN 101303885 A CN101303885 A CN 101303885A CN A2008101160093 A CNA2008101160093 A CN A2008101160093A CN 200810116009 A CN200810116009 A CN 200810116009A CN 101303885 A CN101303885 A CN 101303885A
- Authority
- CN
- China
- Prior art keywords
- smart card
- interface
- external
- storage module
- memory
- 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.)
- Pending
Links
- 230000015654 memory Effects 0.000 title claims abstract description 89
- 238000006243 chemical reaction Methods 0.000 claims abstract description 114
- 238000004891 communication Methods 0.000 claims description 57
- 230000003993 interaction Effects 0.000 claims description 7
- 230000003068 static effect Effects 0.000 claims description 4
- 230000001360 synchronised effect Effects 0.000 claims description 3
- 230000006870 function Effects 0.000 abstract description 8
- 238000000034 method Methods 0.000 description 56
- 230000008569 process Effects 0.000 description 42
- 238000010586 diagram Methods 0.000 description 11
- 230000005540 biological transmission Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012858 packaging process Methods 0.000 description 1
Images
Landscapes
- Storage Device Security (AREA)
Abstract
本发明公开了一种多芯片封装(MCP)存储模块。本发明中的MCP存储模块中不但封装有用于存储的若干类型的存储器,还封装有接口转换控制器和智能卡芯片,其中,智能卡芯片能够实现智能卡安全相关业务,而接口转换控制器则能够实现外部通过对外接口与若干类型的存储器以及智能卡芯片交互时的接口规范转换,使得MCP存储模块不仅限于存储功能,实现了功能扩展。而且,由于接口转换控制器能够实现接口规范转换,因此,本发明中的MCP存储模块所具有的对外接口可以与若干类型的存储器以及智能卡芯片一一对应,较佳地也可仅具有较少的对外接口,比如一个或者两个,从而可以减少MCP存储模块的对外接口管脚数量。
The invention discloses a multi-chip package (MCP) storage module. The MCP storage module in the present invention is not only packaged with several types of memory for storage, but also packaged with an interface conversion controller and a smart card chip, wherein the smart card chip can realize smart card security-related services, while the interface conversion controller can realize external Through the conversion of the interface specification when the external interface interacts with several types of memories and smart card chips, the MCP storage module is not limited to the storage function, and the function expansion is realized. Moreover, since the interface conversion controller can realize interface specification conversion, the external interface of the MCP storage module in the present invention can correspond to several types of memory and smart card chips one by one, and preferably only has fewer External interfaces, such as one or two, can reduce the number of external interface pins of the MCP memory module.
Description
技术领域 technical field
本发明涉及接口访问技术,特别涉及一种多芯片封装(Multi-ChipPackage,MCP)存储模块。The invention relates to an interface access technology, in particular to a multi-chip package (Multi-Chip Package, MCP) storage module.
背景技术 Background technique
MCP是一种先进的集成电路封装工艺,利用MCP技术将各种类型的存储器管芯(通常也称为裸片)封装在一起,即构成了MCP存储模块。且MCP存储模块对应每一类型的存储器管芯分别具有一一对应的对外接口。MCP is an advanced integrated circuit packaging process, which uses MCP technology to package various types of memory dies (usually also called bare chips) together to form an MCP memory module. In addition, the MCP memory module has a one-to-one corresponding external interface corresponding to each type of memory die.
如图1所示,现有MCP存储模块中封装的各种类型的存储器(为了便于表述,本文后续表述均省略“管芯”二字,而在图1中则用“die”表示管芯)可以包括:静态存储器(SRAM)和与非闪存(NAND Flash),且该MCP存储模块分别具有对应SRAM且与其相连的SRAM总线对外接口、以及对应NAND Flash且与其相连的NAND Flash总线对外接口。As shown in Figure 1, various types of memories packaged in existing MCP memory modules (for ease of expression, the word "die" is omitted in the subsequent expressions of this article, and "die" is used to represent the die in Figure 1) Can include: static memory (SRAM) and non-flash memory (NAND Flash), and this MCP storage module has the SRAM bus external interface corresponding to SRAM and being connected with it respectively, and the NAND Flash bus external interface corresponding to NAND Flash and being connected with it.
这样,外部主机即可通过不同的总线接口访问到对应类型的存储器。In this way, the external host can access the corresponding type of memory through different bus interfaces.
由于MCP存储模块比各个存储器单独封装占用的面积小,因此它在例如手机等移动设备中得到了广泛应用。MCP memory modules are widely used in mobile devices such as mobile phones because they occupy a smaller area than individual memories packaged individually.
然而,现有MCP存储模块仅限于存储功能,无法实现功能扩展。However, the existing MCP storage module is limited to the storage function and cannot realize function expansion.
发明内容 Contents of the invention
有鉴于此,本发明提供了一种MCP存储模块,能够实现智能卡安全相关业务。In view of this, the present invention provides an MCP storage module, which can realize smart card security-related services.
本发明提供的一种MCP存储模块,封装有若干类型的存储器并具有用于外部主机访问的对外接口,An MCP storage module provided by the present invention is packaged with several types of memory and has an external interface for external host access,
所述MCP存储模块中还封装有接口转换控制器和智能卡芯片,其中,An interface conversion controller and a smart card chip are also encapsulated in the MCP storage module, wherein,
若干类型的存储器分别通过各自对应的总线连接至接口转换控制器;Several types of memories are respectively connected to the interface conversion controller through respective corresponding buses;
智能卡芯片通过智能卡芯片总线连接至接口转换控制器;The smart card chip is connected to the interface conversion controller through the smart card chip bus;
接口转换控制器则通过对外接口所对应的总线与对外接口相连,用于在外部主机通过对外接口访问对应类型的存储器或智能卡芯片时,建立外部主机与对应类型的存储器或智能卡芯片的通信。The interface conversion controller is connected to the external interface through the bus corresponding to the external interface, and is used to establish communication between the external host and the corresponding type of memory or smart card chip when the external host accesses the corresponding type of memory or smart card chip through the external interface.
所述外部接口的数量小于等于若干类型的存储器总数与智能卡芯片数量之和。The number of the external interfaces is less than or equal to the sum of the total number of several types of memories and the number of smart card chips.
所述MCP存储模块仅具有一个外部接口。The MCP storage module has only one external interface.
所述一个外部接口为静态随机存储器SRAM总线接口、或动态随机存储器DRAM、同步动态随机存储器SDRAM总线接口、或与非闪存NANDFlash总线接口。The one external interface is a static random access memory SRAM bus interface, or a dynamic random access memory DRAM, a synchronous dynamic random access memory SDRAM bus interface, or a non-flash NAND Flash bus interface.
所述多个外部接口分别与若干类型的存储器以及智能卡芯片一一对应。The multiple external interfaces correspond to several types of memories and smart card chips respectively.
所述若干类型的存储器包括:随机存储器RAM、SRAM、DRAM、SDRAM、只读存储器ROM、非易失性只读存储器E2PROM、或非闪存NORFLASH、与非闪存NAND FLASH。The several types of memory include: random access memory RAM, SRAM, DRAM, SDRAM, read-only memory ROM, non-volatile read-only memory E 2 PROM, or non-flash NORFLASH, and non-flash NAND FLASH.
接口转换控制器在建立外部主机与对应类型的存储器的通信之前,进一步建立外部主机与智能卡芯片通信,以实现外部主机与智能卡芯片的认证交互Before the interface conversion controller establishes the communication between the external host and the corresponding type of memory, it further establishes the communication between the external host and the smart card chip, so as to realize the authentication interaction between the external host and the smart card chip
由上述技术方案可见,本发明中的MCP存储模块中不但封装有用于存储的若干类型的存储器,还封装有接口转换控制器和智能卡芯片,其中,智能卡芯片能够实现智能卡安全相关业务,而接口转换控制器则能够实现外部通过对外接口与若干类型的存储器以及智能卡芯片交互时的接口规范转换,使得MCP存储模块不仅限于存储功能,实现了功能扩展。It can be seen from the above technical solution that the MCP storage module in the present invention is not only packaged with several types of memory for storage, but also packaged with an interface conversion controller and a smart card chip, wherein the smart card chip can realize smart card security-related services, and the interface conversion The controller can realize the interface specification conversion when interacting with several types of memory and smart card chips through the external interface, so that the MCP storage module is not limited to the storage function, and realizes the function expansion.
而且,由于接口转换控制器能够实现接口规范转换,因此,本发明中的MCP存储模块所具有的对外接口可以不与若干类型的存储器以及智能卡芯片一一对应,较佳地可仅具有一个对外接口,从而可以减少MCP存储模块的对外接口管脚数量。And, because the interface conversion controller can realize the interface specification conversion, therefore, the external interface that the MCP storage module among the present invention has can not be one-to-one correspondence with several types of memory and smart card chip, preferably can only have one external interface , so that the number of external interface pins of the MCP memory module can be reduced.
进一步地,如果MCP存储模块仅具有一个对外接口,则可以采用SRAM或SDRAM总线接口等传输速度较快的接口,以便提高外部对MCP存储模块的访问效率。Furthermore, if the MCP storage module has only one external interface, an interface with a faster transmission speed such as a SRAM or SDRAM bus interface can be used to improve the efficiency of external access to the MCP storage module.
再进一步地,为了提高对MCP存储模块访问的安全性,还可以由智能卡芯片对所有外部访问进行认证。Still further, in order to improve the security of access to the MCP storage module, all external access can also be authenticated by the smart card chip.
附图说明 Description of drawings
图1为现有一种MCP存储模块的结构示意图。FIG. 1 is a schematic structural diagram of an existing MCP storage module.
图2为本发明中MCP存储模块的示例性结构图。Fig. 2 is an exemplary structure diagram of the MCP storage module in the present invention.
图3为本发明实施例一中MCP存储模块的结构示意图。FIG. 3 is a schematic structural diagram of an MCP storage module in Embodiment 1 of the present invention.
图4为本发明实施例一中MCP存储模块的访问方式1的流程示意图。FIG. 4 is a schematic flowchart of access mode 1 of the MCP storage module in Embodiment 1 of the present invention.
图5为本发明实施例一中MCP存储模块的访问方式2的流程示意图。FIG. 5 is a schematic flowchart of the access method 2 of the MCP storage module in Embodiment 1 of the present invention.
图6为本发明实施例二中MCP存储模块的结构示意图。FIG. 6 is a schematic structural diagram of an MCP storage module in Embodiment 2 of the present invention.
图7为本发明实施例二中MCP存储模块的访问方式1的流程示意图。FIG. 7 is a schematic flowchart of access mode 1 of the MCP storage module in Embodiment 2 of the present invention.
图8为本发明实施例二中MCP存储模块的访问方式2的流程示意图。FIG. 8 is a schematic flowchart of access mode 2 of the MCP storage module in Embodiment 2 of the present invention.
图9为本发明实施例三中MCP存储模块的结构示意图。FIG. 9 is a schematic structural diagram of an MCP storage module in Embodiment 3 of the present invention.
图10为本发明实施例三中MCP存储模块的访问方式1的流程示意图。FIG. 10 is a schematic flowchart of access mode 1 of the MCP storage module in Embodiment 3 of the present invention.
图11为本发明实施例三中MCP存储模块的访问方式2的流程示意图。FIG. 11 is a schematic flowchart of access mode 2 of the MCP storage module in Embodiment 3 of the present invention.
图12为本发明实施例四中MCP存储模块的结构示意图。FIG. 12 is a schematic structural diagram of an MCP storage module in Embodiment 4 of the present invention.
图13为本发明实施例四中MCP存储模块的访问方式1的流程示意图。FIG. 13 is a schematic flowchart of access mode 1 of the MCP storage module in Embodiment 4 of the present invention.
图14为本发明实施例四中MCP存储模块的访问方式2的流程示意图。FIG. 14 is a schematic flowchart of access mode 2 of the MCP storage module in Embodiment 4 of the present invention.
具体实施方式 Detailed ways
为使本发明的目的、技术方案及优点更加清楚明白,以下参照附图并举实施例,对本发明进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.
图2为本发明中MCP存储模块的示例性结构图。如图2所示(图2中的“die”表示管芯),本发明中的MCP存储模块中封装有n种类型的存储器(n为自然数),且具有用于外部主机访问的对外接口。Fig. 2 is an exemplary structure diagram of the MCP storage module in the present invention. As shown in Figure 2 ("die" in Figure 2 represents the die), the MCP memory module in the present invention is packaged with n types of memory (n is a natural number), and has an external interface for external host access.
相比于现有的MCP存储模块,如图2所示的MCP存储模块中还封装有接口转换控制器和智能卡芯片。需要说明的是,由于封装在MCP内部的各种元器件均为管芯,因此,此处所述以及下文所述的接口转换控制器和智能卡芯片分别指接口转换控制器管芯和智能卡芯片管芯。Compared with the existing MCP storage module, the MCP storage module shown in FIG. 2 is further packaged with an interface conversion controller and a smart card chip. It should be noted that since the various components packaged inside the MCP are dies, the interface conversion controller and the smart card chip described here and below refer to the interface conversion controller die and the smart card chip respectively. core.
n种类型的存储器分别通过各自对应的总线连接至接口转换控制器。例如,假设图2中的存储器1为同步动态随机存储器(SDRAM),则存储器1通过SDRAM总线连接至接口转换控制器。The n types of memories are respectively connected to the interface conversion controller through their corresponding buses. For example, assuming that the memory 1 in FIG. 2 is a synchronous dynamic random access memory (SDRAM), the memory 1 is connected to the interface conversion controller through the SDRAM bus.
智能卡芯片则通过智能卡芯片总线连接至接口转换控制器,用于实现智能卡安全相关业务。The smart card chip is connected to the interface conversion controller through the smart card chip bus to realize smart card security-related services.
接口转换控制器通过对外接口所对应的总线与对外接口相连,用于在外部主机通过对外接口访问对应类型的存储器或智能卡芯片时,建立外部主机与对应类型的存储器或智能卡芯片的通信,并对该通信进行接口规范的转换。The interface conversion controller is connected to the external interface through the bus corresponding to the external interface, and is used to establish communication between the external host and the corresponding type of memory or smart card chip when the external host accesses the corresponding type of memory or smart card chip through the external interface, and This communication performs conversion of the interface specification.
其中,如上所述的建立通信,是指导通外部主机与对应类型的存储器或智能卡芯片之间的逻辑连接,该过程可以通过现有方式来实现,在此不再赘述。Wherein, establishing the communication as mentioned above is to guide the logical connection between the external host and the corresponding type of memory or smart card chip, and this process can be realized by existing methods, and will not be repeated here.
由此可见,如图2所示的MCP存储模块中不但封装有用于存储的若干类型的存储器,还封装有接口转换控制器和智能卡芯片,其中,智能卡芯片能够实现智能卡安全相关业务,而接口转换控制器则能够实现外部通过对外接口与若干类型的存储器以及智能卡芯片交互时的接口规范转换,使得MCP存储模块不仅限于存储功能,实现了功能扩展。It can be seen that the MCP storage module shown in Figure 2 is not only packaged with several types of memory for storage, but also packaged with an interface conversion controller and a smart card chip, wherein the smart card chip can realize smart card security-related services, and the interface conversion The controller can realize the interface specification conversion when interacting with several types of memory and smart card chips through the external interface, so that the MCP storage module is not limited to the storage function, and realizes the function expansion.
在如图2所示的MCP存储模块中,对外接口可以是多个、且与n种类型的存储器以及智能卡芯片一一对应,对外接口也可以不与n种类型的存储器以及智能卡芯片一一对应、甚至可以只有一个。In the MCP storage module as shown in Figure 2, there can be multiple external interfaces, and one-to-one correspondence with n types of memory and smart card chips, and the external interface may not be one-to-one corresponding with n types of memory and smart card chips , or even only one.
对于不同数量的对外接口,MCP存储模块中的接口转换控制器的工作方式也不相同,对于对外接口与MCP中的存储器和智能卡芯片未能一一对应的情况,在建立外部主机与存储器或智能卡芯片的通讯后,还需要对建立的通讯进行接口规范转换。For different numbers of external interfaces, the interface conversion controller in the MCP storage module works differently. For the situation that the external interface and the memory and smart card chip in the MCP are not in one-to-one correspondence, when establishing the external host and memory or smart card After the communication of the chip, it is also necessary to convert the interface specification for the established communication.
其中,接口规范转换是指,不同接口对于每次读/写数据的位宽转换、以及读/写控制方式的转换,该过程可以通过现有方式来实现,在此也不再赘述。Among them, the interface specification conversion refers to the conversion of the bit width of different interfaces for each read/write data and the conversion of the read/write control mode. This process can be realized by existing methods, and will not be repeated here.
以下,结合几个实施例具体说明。Hereinafter, it will be described in detail in conjunction with several embodiments.
实施例一Embodiment one
图3为本发明实施例一中MCP存储模块的结构示意图。如图3所示,以SDRAM和NAND Flash两种类型的存储器为例,在图3中(图3中的“die”表示管芯),MCP存储模块中的SDRAM和NAND Flash分别通过SDRAM总线和NAND Flash总线连接至接口转换控制器,智能卡芯片则通过智能卡芯片总线连接至接口转换控制器。FIG. 3 is a schematic structural diagram of an MCP storage module in Embodiment 1 of the present invention. As shown in Figure 3, taking SDRAM and NAND Flash as an example, in Figure 3 ("die" in Figure 3 indicates the die), SDRAM and NAND Flash in the MCP memory module pass through the SDRAM bus and The NAND Flash bus is connected to the interface conversion controller, and the smart card chip is connected to the interface conversion controller through the smart card chip bus.
如图3所示的MCP存储模块具有3个与SDRAM、NAND Flash、以及智能卡芯片一一对应的对外接口,即与SDRAM对应的SDRAM总线对外接口、与NAND Flash对应的NAND Flash总线对外接口、以及与智能卡芯片对应的智能卡芯片总线对外接口。The MCP storage module shown in Figure 3 has three external interfaces corresponding to SDRAM, NAND Flash, and smart card chips one by one, namely the SDRAM bus external interface corresponding to SDRAM, the NAND Flash bus external interface corresponding to NAND Flash, and The smart card chip bus external interface corresponding to the smart card chip.
这样,接口转换控制器通过SDRAM总线、NAND Flash总线以及智能卡芯片总线,分别与SDRAM总线对外接口、NAND Flash总线对外接口、以及智能卡芯片总线对外接口相连,用于在外部主机通过对外接口访问对应类型的存储器或智能卡芯片时,建立外部主机与对应类型的存储器或智能卡芯片的通信。In this way, the interface conversion controller is connected to the external interface of the SDRAM bus, the external interface of the NAND Flash bus, and the external interface of the smart card chip bus through the SDRAM bus, the NAND Flash bus, and the smart card chip bus, and is used for accessing the corresponding type through the external interface on the external host. When the memory or smart card chip of the corresponding type is established, the communication between the external host and the corresponding type of memory or smart card chip is established.
在本实施例中,接口转换控制器可以依据外部主机通过哪一个对外接口发送访问指令,来判断主机访问的是哪一种类型的存储器或智能卡芯片。接口转换控制器可以在接收到访问指令后,直接进行判断,然后建立外部主机与其访问的存储器或智能卡芯片的通信,该方式称之为访问方式1;接口转换控制器也可以在接收到访问指令后,先与智能卡芯片进行认证交互以判断发送该访问指令的主机是否有权限访问MCP存储模块中的NAND Flash,并在认证通过后再进行判断,然后建立外部主机与其访问的存储器或智能卡芯片的通信,该方式称之为访问方式2。In this embodiment, the interface conversion controller can determine which type of memory or smart card chip the host accesses according to which external interface the external host sends the access command. The interface conversion controller can directly judge after receiving the access instruction, and then establish communication between the external host and the memory or smart card chip accessed by it. This method is called access mode 1; the interface conversion controller can also receive the access instruction Afterwards, it first interacts with the smart card chip to determine whether the host that sends the access command has the right to access the NAND Flash in the MCP storage module, and then judges after the authentication is passed, and then establishes the relationship between the external host and the memory or smart card chip it accesses. Communication, this way is called access mode 2.
需要说明的是,由于SDRAM等随机存储器中通常仅会存储一些中间数据、且经常会被访问,因此,对于访问方式2所涉及的认证交互,通常都不针对例如SDRAM、静态随机存储器(SRAM)、RAM。It should be noted that, since SDRAM and other random access memories usually only store some intermediate data and are often accessed, the authentication interaction involved in access mode 2 is usually not for SDRAM, static random access memory (SRAM) , RAM.
图4为本发明实施例一中MCP存储模块的访问方式1的流程示意图。如图4所示,本实施例中访问方式1的具体处理流程包括如下步骤:FIG. 4 is a schematic flowchart of access mode 1 of the MCP storage module in Embodiment 1 of the present invention. As shown in Figure 4, the specific processing flow of access mode 1 in this embodiment includes the following steps:
步骤401,接口转换控制器接收外部主机发送的访问指令。如果本实施例中的MCP存储模块应用于终端等移动设备中,则这里所述的主机可以为该移动设备的CPU。In
步骤402,接口转换控制器判断接收到的访问指令是否来自SDRAM总线对外接口,如果是,则执行步骤403,否则,执行步骤404。
步骤403,接口转换控制器建立外部主机与SDRAM的通信,以保证外部主机对SDRAM的读/写操作,并结束本流程。In
步骤404,接口转换控制器判断接收到的访问指令是否来自NAND Flash总线对外接口,如果是,则执行步骤405,否则,执行步骤406。
步骤405,接口转换控制器建立外部主机与NAND Flash的通信,以保证外部主机对NAND Flash的读/写操作,并结束本流程。
步骤406,接口转换控制器判断接收到的访问指令是否来自智能卡芯片总线对外接口,如果是,则执行步骤407,否则,返回步骤401继续接收外部主机发送的访问指令或结束本流程。
步骤407,接口转换控制器建立外部主机与智能卡芯片的通信,以保证外部主机基于与智能卡芯片实现智能卡安全相关业务,并结束本流程。In
上述流程中,对于对外接口的判断顺序是SDRAM总线对外接口、NANDFlash总线对外接口、智能卡芯片总线对外接口,实际应用中,也可以根据需要任意调整上述判断顺序。In the above process, the order of judging the external interfaces is the SDRAM bus external interface, the NAND Flash bus external interface, and the smart card chip bus external interface. In practical applications, the above judgment order can also be adjusted arbitrarily as required.
图5为本发明实施例一中MCP存储模块的访问方式2的流程示意图。如图5所示,本实施例中访问方式2的具体处理流程包括如下步骤:FIG. 5 is a schematic flowchart of the access method 2 of the MCP storage module in Embodiment 1 of the present invention. As shown in Figure 5, the specific processing flow of access mode 2 in this embodiment includes the following steps:
步骤501,接口转换控制器接收外部主机发送的访问指令。如果本实施例中的MCP存储模块应用于终端等移动设备中,则这里所述的主机可以为该移动设备的CPU。
步骤502,接口转换控制器判断接收到的访问指令是否来自SDRAM总线对外接口,如果是,则执行步骤503,否则,执行步骤504。
步骤503,接口转换控制器建立外部主机与SDRAM的通信,以保证外部主机对SDRAM的读/写操作,并结束本流程。
步骤504,接口转换控制器判断接收到的访问指令是否来自NAND Flash总线对外接口,如果是,则执行步骤505,否则,执行步骤508。
步骤505,接口转换控制器建立外部与智能卡芯片之间的通信,并执行步骤506。
步骤506,由智能卡芯片与外部主机进行认证交互,判断对该外部主机进行身份认证,如果认证通过,则表示该外部主机有权限访问MCP存储模块,并执行步骤507,如果认证未通过,则表示该外部主机没有权限访问MCP存储模块中的NAND Flash,结束本流程或返回步骤501继续接收外部主机发送的访问指令。In
本步骤中,智能卡芯片与外部主机的认证交互过程,可以采用现有任意一种认证方式来实现,在此不再赘述。In this step, the authentication interaction process between the smart card chip and the external host can be realized by using any existing authentication method, which will not be repeated here.
步骤507,接口转换控制器建立外部主机与NAND Flash的通信,以保证外部主机对NAND Flash的读/写操作,并结束本流程。
步骤508,接口转换控制器判断接收到的访问指令是否来自智能卡芯片总线对外接口,如果是,则执行步骤509,否则,返回步骤501继续接收外部主机发送的访问指令或结束本流程。
步骤509,接口转换控制器建立外部主机与智能卡芯片的通信,对建立的通信进行接口规范转换,以保证外部主机基于与智能卡芯片实现智能卡安全相关业务,并结束本流程。
上述流程中,对于对外接口的判断顺序是先SDRAM总线对外接口、后NAND Flash总线对外接口,实际应用中,也可以根据需要任意调整上述判断顺序,但外部主机对NAND Flash的访问仍需要通过认证。In the above process, the order of judging the external interface is first the external interface of the SDRAM bus, and then the external interface of the NAND Flash bus. In practical applications, the above judgment order can also be adjusted arbitrarily as needed, but the access of the external host to the NAND Flash still needs to pass the authentication. .
实施例二Embodiment two
图6为本发明实施例二中MCP存储模块的结构示意图。如图6所示,仍以SDRAM和NAND Flash两种类型的存储器为例,在图6中(图6中的“die”表示管芯),MCP存储模块中的SDRAM和NAND Flash分别通过SDRAM总线和NAND Flash总线连接至接口转换控制器,智能卡芯片则通过智能卡芯片总线连接至接口转换控制器。FIG. 6 is a schematic structural diagram of an MCP storage module in Embodiment 2 of the present invention. As shown in Figure 6, still taking SDRAM and NAND Flash as an example, in Figure 6 ("die" in Figure 6 indicates the die), SDRAM and NAND Flash in the MCP storage module pass through the SDRAM bus The NAND Flash bus is connected to the interface conversion controller, and the smart card chip is connected to the interface conversion controller through the smart card chip bus.
如图6所示的MCP存储模块仅具有1个对外接口,当然,MCP存储模块也可以具有多于1个对外接口、但不与SDRAM、NAND Flash、以及智能卡芯片一一对应。较佳地,由于SDRAM总线传输速率较快,因此,为了提高外部主机对MCP存储模块的访问效率,本实施例中的1个对外接口采用SDRAM总线对外接口。The MCP storage module shown in Figure 6 has only one external interface. Of course, the MCP storage module can also have more than one external interface, but it does not correspond to SDRAM, NAND Flash, and smart card chips one by one. Preferably, since the transmission rate of the SDRAM bus is relatively fast, in order to improve the access efficiency of the external host to the MCP storage module, one external interface in this embodiment adopts the SDRAM bus external interface.
这样,接口转换控制器通过SDRAM总线与SDRAM总线对外接口相连,用于在外部主机通过对外接口访问对应类型的存储器或智能卡芯片时,建立外部主机与对应类型的存储器或智能卡芯片的通信,并对该通信进行接口规范的转换。In this way, the interface conversion controller is connected to the external interface of the SDRAM bus through the SDRAM bus, and is used to establish the communication between the external host and the corresponding type of memory or smart card chip when the external host accesses the corresponding type of memory or smart card chip through the external interface, and This communication performs conversion of the interface specification.
在本实施例中,主机发送的访问指令中可以携带访问对象标识,例如“1”表示SDRAM、“2”表示NAND Flash、“3”表示智能卡芯片。实际应用中,访问对象标识可以由外部主机的上层应用程序发送,也可以由外部主机通过在对应对外接口的控制信号线发送的高低电平信号来表示,当然还有其他多种方式,在此不再一一赘述。In this embodiment, the access instruction sent by the host may carry an access object identifier, for example, "1" indicates SDRAM, "2" indicates NAND Flash, and "3" indicates a smart card chip. In practical applications, the access object identifier can be sent by the upper layer application program of the external host, or can be represented by the high and low level signals sent by the external host through the control signal line corresponding to the external interface. Of course, there are many other ways, here I won't repeat them one by one.
这样,接口转换控制器可以依据外部主机发送的访问指令中的访问对象标识,来判断主机访问的是哪一种类型的存储器或智能卡芯片。接口转换控制器可以在接收到访问指令后,直接进行判断,然后建立外部主机与其访问的存储器或智能卡芯片的通信,该方式称之为访问方式1;接口转换控制器也可以在接收到访问指令后,先与智能卡芯片进行认证交互以判断发送该访问指令的主机是否有权限访问MCP存储模块中的NAND Flash,并在认证通过后再进行判断,然后建立外部主机与其访问的存储器或智能卡芯片的通信,该方式称之为访问方式2。In this way, the interface conversion controller can determine which type of memory or smart card chip the host is accessing according to the access object identifier in the access command sent by the external host. The interface conversion controller can directly judge after receiving the access instruction, and then establish communication between the external host and the memory or smart card chip accessed by it. This method is called access mode 1; the interface conversion controller can also receive the access instruction Afterwards, it first interacts with the smart card chip to determine whether the host that sends the access command has the right to access the NAND Flash in the MCP storage module, and then judges after the authentication is passed, and then establishes the relationship between the external host and the memory or smart card chip it accesses. Communication, this way is called access mode 2.
当然,本实施例中还可以为SDRAM、NAND Flash和智能卡芯片分配不同的地址,这样,接口转换控制器可以依据外部主机发送的访问指令的访问地址来判断主机访问的是哪一种类型的存储器或智能卡芯片。Of course, different addresses can also be allocated for SDRAM, NAND Flash and smart card chips in the present embodiment, and like this, the interface conversion controller can judge which type of memory the host accesses according to the access address of the access command sent by the external host or smart card chips.
图7为本发明实施例二中MCP存储模块的访问方式1的流程示意图。如图7所示,以依据访问对象标识来判断主机访问哪一种类型的存储器或智能卡芯片为例,本实施例中访问方式1的具体处理流程包括如下步骤:FIG. 7 is a schematic flowchart of access mode 1 of the MCP storage module in Embodiment 2 of the present invention. As shown in FIG. 7 , taking judging which type of memory or smart card chip the host accesses based on the access object identifier as an example, the specific processing flow of access mode 1 in this embodiment includes the following steps:
步骤701,接口转换控制器接收外部主机发送的访问指令。如果本实施例中的MCP存储模块应用于终端等移动设备中,则这里所述的主机可以为该移动设备的CPU。
步骤702,接口转换控制器判断接收到的访问指令中的访问对象标识是否表示SDRAM,如果是,则执行步骤703,否则,执行步骤704。
步骤703,接口转换控制器建立外部主机与SDRAM的通信,以保证外部主机对SDRAM的读/写操作,并结束本流程。
步骤704,接口转换控制器判断接收到的访问指令中的访问对象标识是否表示NAND Flash,如果是,则执行步骤705,否则,执行步骤706。
步骤705,接口转换控制器建立外部主机与NAND Flash的通信,对建立的通信进行接口规范转换,以保证外部主机对NAND Flash的读/写操作,并结束本流程。
步骤706,接口转换控制器判断接收到的访问指令中的访问对象标识是否表示智能卡芯片,如果是,则执行步骤707,否则,返回步骤701继续接收外部主机发送的访问指令或结束本流程。
步骤707,接口转换控制器建立外部主机与智能卡芯片的通信,对建立的通信进行接口规范转换,以保证外部主机基于与智能卡芯片实现智能卡安全相关业务,并结束本流程。Step 707: The interface conversion controller establishes communication between the external host and the smart card chip, and converts the interface specifications for the established communication to ensure that the external host implements smart card security-related services based on the smart card chip, and ends the process.
上述流程中,对于对外接口的判断顺序是SDRAM总线对外接口、NANDFlash总线对外接口、智能卡芯片总线对外接口,实际应用中,也可以根据需要任意调整上述判断顺序。In the above process, the order of judging the external interfaces is the SDRAM bus external interface, the NAND Flash bus external interface, and the smart card chip bus external interface. In practical applications, the above judgment order can also be adjusted arbitrarily as required.
图8为本发明实施例二中MCP存储模块的访问方式2的流程示意图。如图8所示,以依据访问对象标识来判断主机访问哪一种类型的存储器或智能卡芯片为例,本实施例中访问方式2的具体处理流程包括如下步骤:FIG. 8 is a schematic flowchart of access mode 2 of the MCP storage module in Embodiment 2 of the present invention. As shown in FIG. 8 , taking judging which type of memory or smart card chip the host accesses based on the access object identifier as an example, the specific processing flow of access mode 2 in this embodiment includes the following steps:
步骤801,接口转换控制器接收外部主机发送的访问指令。如果本实施例中的MCP存储模块应用于终端等移动设备中,则这里所述的主机可以为该移动设备的CPU。
本步骤中,智能卡芯片与外部主机的认证交互过程,可以采用现有任意一种认证方式来实现,在此不再赘述。In this step, the authentication interaction process between the smart card chip and the external host can be realized by using any existing authentication method, which will not be repeated here.
步骤802,接口转换控制器判断接收到的访问指令中的访问对象标识是否表示SDRAM,如果是,则执行步骤803,否则,执行步骤804。
步骤803,接口转换控制器建立外部主机与SDRAM的通信,以保证外部主机对SDRAM的读/写操作,并结束本流程。In
步骤804,接口转换控制器判断接收到的访问指令中的访问对象标识是否表示NAND Flash,如果是,则执行步骤805,否则,执行步骤808。
步骤805,接口转换控制器建立外部与智能卡芯片之间的通信,对建立的通信进行接口规范转换,并执行步骤806。In
步骤806,由智能卡芯片与外部主机进行认证交互,判断对该外部主机进行身份认证,如果认证通过,则表示该外部主机有权限访问MCP存储模块中的NAND Flash,并执行步骤807,如果认证未通过,则表示该外部主机没有权限访问MCP存储模块中的NAND Flash,结束本流程或返回步骤801继续接收外部主机发送的访问指令。
步骤807,接口转换控制器建立外部主机与NAND Flash的通信,对建立的通信进行接口规范转换,以保证外部主机对NAND Flash的读/写操作,并结束本流程。
步骤808,接口转换控制器判断接收到的访问指令中的访问对象标识是否表示智能卡芯片,如果是,则执行步骤809,否则,返回步骤501继续接收外部主机发送的访问指令或结束本流程。
步骤809,接口转换控制器建立外部主机与智能卡芯片的通信,对建立的通信进行接口规范转换,以保证外部主机基于与智能卡芯片实现智能卡安全相关业务,并结束本流程。
上述流程中,对于对外接口的判断顺序是先SDRAM总线对外接口、后NAND Flash总线对外接口,实际应用中,也可以根据需要任意调整上述判断顺序,但外部主机对NAND Flash的访问仍需要通过认证。In the above process, the order of judging the external interface is first the external interface of the SDRAM bus, and then the external interface of the NAND Flash bus. In practical applications, the above judgment order can also be adjusted arbitrarily as needed, but the access of the external host to the NAND Flash still needs to pass the authentication. .
实施例三Embodiment Three
图9为本发明实施例三中MCP存储模块的结构示意图。如图9所示,仍以SDRAM和NAND Flash两种类型的存储器为例,在图9中(图3中的“die”表示管芯),MCP存储模块中的SDRAM和NAND Flash分别通过SDRAM总线和NAND Flash总线连接至接口转换控制器,智能卡芯片则通过智能卡芯片总线连接至接口转换控制器。FIG. 9 is a schematic structural diagram of an MCP storage module in Embodiment 3 of the present invention. As shown in Figure 9, still taking SDRAM and NAND Flash as an example, in Figure 9 ("die" in Figure 3 indicates the die), SDRAM and NAND Flash in the MCP memory module pass through the SDRAM bus The NAND Flash bus is connected to the interface conversion controller, and the smart card chip is connected to the interface conversion controller through the smart card chip bus.
如图9所示的MCP存储模块具有2个对外接口,即SDRAM总线接口和NAND Flash总线接口。接口转换控制器通过SDRAM总线与SDRAM总线对外接口相连,用于在外部主机通过对外接口访问对应类型的存储器或智能卡芯片时,建立外部主机与对应类型的存储器或智能卡芯片的通信,并对该通信进行接口规范的转换。The MCP storage module shown in Figure 9 has two external interfaces, namely SDRAM bus interface and NAND Flash bus interface. The interface conversion controller is connected to the external interface of the SDRAM bus through the SDRAM bus, and is used to establish the communication between the external host and the corresponding type of memory or smart card chip when the external host accesses the corresponding type of memory or smart card chip through the external interface, and communicate with the corresponding type of memory or smart card chip. Convert the interface specification.
由于如图9所示的MCP存储模块中还封装有智能卡芯片,因此,2个对外接口无法与SDRAM、NAND Flash、以及智能卡芯片一一对应。Since the MCP storage module shown in Figure 9 is also packaged with a smart card chip, the two external interfaces cannot correspond to SDRAM, NAND Flash, and the smart card chip one by one.
在本实施例中,主机发送的访问指令中可以携带访问对象标识,例如“1”表示SDRAM、“2”表示NAND Flash、“3”表示智能卡芯片。实际应用中,访问对象标识可以由外部主机的上层应用程序发送,也可以由外部主机通过在对应对外接口的控制信号线发送的高低电平信号来表示,当然还有其他多种方式,在此不再一一赘述。In this embodiment, the access instruction sent by the host may carry an access object identifier, for example, "1" indicates SDRAM, "2" indicates NAND Flash, and "3" indicates a smart card chip. In practical applications, the access object identifier can be sent by the upper layer application program of the external host, or can be represented by the high and low level signals sent by the external host through the control signal line corresponding to the external interface. Of course, there are many other ways, here I won't repeat them one by one.
这样,虽然2个对外接口无法与SDRAM、NAND Flash、以及智能卡芯片一一对应,但接口转换控制器可以依据外部主机发送的访问指令中的访问对象标识,来判断主机访问的是哪一种类型的存储器或智能卡芯片。接口转换控制器可以在接收到访问指令后,直接进行判断,然后接建立外部主机与其访问的存储器或智能卡芯片的通信,该方式称之为访问方式1;接口转换控制器也可以在接收到访问指令后,先与智能卡芯片进行认证交互以判断发送该访问指令的主机是否有权限访问MCP存储模块中的NAND Flash,并在认证通过后再进行判断,然后建立外部主机与其访问的存储器或智能卡芯片的通信,该方式称之为访问方式2。In this way, although the two external interfaces cannot correspond to SDRAM, NAND Flash, and smart card chips one by one, the interface conversion controller can determine which type the host is accessing based on the access object identifier in the access command sent by the external host memory or smart card chip. The interface conversion controller can directly judge after receiving the access instruction, and then establish communication between the external host and the memory or smart card chip accessed by it. This method is called access mode 1; the interface conversion controller can also receive the access instruction After the command, it first interacts with the smart card chip to determine whether the host that sends the access command has the right to access the NAND Flash in the MCP storage module, and then judges after the authentication is passed, and then establishes the memory or smart card chip that the external host and its access communication, this method is called access mode 2.
当然,本实施例中还可以为SDRAM、NAND Flash和智能卡芯片分配不同的地址,这样,接口转换控制器可以依据外部主机发送的访问指令的访问地址来判断主机访问的是哪一种类型的存储器或智能卡芯片。Of course, different addresses can also be allocated for SDRAM, NAND Flash and smart card chips in the present embodiment, and like this, the interface conversion controller can judge which type of memory the host accesses according to the access address of the access command sent by the external host or smart card chips.
图10为本发明实施例三中MCP存储模块的访问方式1的流程示意图。如图10所示的流程与实施例二中如图7所示的流程处理过程相同,在此不再赘述。FIG. 10 is a schematic flowchart of access mode 1 of the MCP storage module in Embodiment 3 of the present invention. The process shown in FIG. 10 is the same as the process shown in FIG. 7 in the second embodiment, and will not be repeated here.
图11为本发明实施例三中MCP存储模块的访问方式2的流程示意图。如图11所示的流程与实施例二中如图8所示的流程处理过程相同,在此不再赘述。FIG. 11 is a schematic flowchart of access mode 2 of the MCP storage module in Embodiment 3 of the present invention. The process shown in FIG. 11 is the same as the process shown in FIG. 8 in the second embodiment, and will not be repeated here.
上述三个实施例中仅仅是以SDRAM和NAND Flash两种类型的存储器为例,实际应用中,封装于MCP存储模块中的存储器至少可以包括下述之一或任意组合:随机存储器(RAM)、SRAM、动态随机存储器(DRAM)SDRAM、只读存储器(ROM)、非易失性只读存储器(E2PROM)、NORFLASH、NAND FLASH。In the above-mentioned three embodiments, only SDRAM and NAND Flash two types of memory are used as examples. In practical applications, the memory packaged in the MCP storage module can at least include one of the following or any combination: random access memory (RAM), SRAM, dynamic random access memory (DRAM) SDRAM, read-only memory (ROM), non-volatile read-only memory (E 2 PROM), NORFLASH, NAND FLASH.
实施例四Embodiment four
图12为本发明实施例四中MCP存储模块的结构示意图。如图12所示,以SRAM和NOR Flash两种类型的存储器为例,在图12中,MCP存储模块中的SRAM和NOR Flash分别通过SRAM总线和NOR Flash总线连接至接口转换控制器,智能卡芯片则通过智能卡芯片总线连接至接口转换控制器。FIG. 12 is a schematic structural diagram of an MCP storage module in Embodiment 4 of the present invention. As shown in Figure 12, taking SRAM and NOR Flash as examples, in Figure 12, the SRAM and NOR Flash in the MCP storage module are connected to the interface conversion controller through the SRAM bus and the NOR Flash bus respectively, and the smart card chip Then connect to the interface conversion controller through the smart card chip bus.
如图12所示的MCP存储模块仅具有1个对外接口,当然,MCP存储模块也可以具有多于1个对外接口、但不与SRAM、NOR Flash、以及智能卡芯片一一对应。较佳地,由于SRAM总线传输速率较快,因此,为了提高外部主机对MCP存储模块的访问效率,本实施例中的1个对外接口采用SRAM总线对外接口。The MCP storage module shown in Figure 12 has only one external interface. Of course, the MCP storage module can also have more than one external interface, but it does not correspond to SRAM, NOR Flash, and smart card chips one by one. Preferably, since the transmission rate of the SRAM bus is relatively fast, in order to improve the access efficiency of the external host to the MCP storage module, one external interface in this embodiment adopts the SRAM bus external interface.
这样,接口转换控制器通过SRAM总线与SRAM总线对外接口相连,用于在外部主机通过对外接口访问对应类型的存储器或智能卡芯片时,建立外部主机与对应类型的存储器或智能卡芯片的通信,并对该通信进行接口规范的转换。In this way, the interface conversion controller is connected to the external interface of the SRAM bus through the SRAM bus, and is used to establish the communication between the external host and the corresponding type of memory or smart card chip when the external host accesses the corresponding type of memory or smart card chip through the external interface, and This communication performs conversion of the interface specification.
在本实施例中,主机发送的访问指令中可以携带访问对象标识,例如“4”表示SRAM、“5”表示NOR Flash、“3”表示智能卡芯片。实际应用中,访问对象标识可以由外部主机的上层应用程序发送,也可以由外部主机通过在对应对外接口的控制信号线发送的高低电平信号来表示,当然还有其他多种方式,在此不再一一赘述。In this embodiment, the access instruction sent by the host may carry the access object identifier, for example, "4" indicates SRAM, "5" indicates NOR Flash, and "3" indicates a smart card chip. In practical applications, the access object identifier can be sent by the upper layer application program of the external host, or can be represented by the high and low level signals sent by the external host through the control signal line corresponding to the external interface. Of course, there are many other ways, here I won't repeat them one by one.
这样,接口转换控制器可以依据外部主机发送的访问指令中的访问对象标识,来判断主机访问的是哪一种类型的存储器或智能卡芯片。接口转换控制器可以在接收到访问指令后,直接进行判断,然后接建立外部主机与其访问的存储器或智能卡芯片的通信,该方式称之为访问方式1;接口转换控制器也可以在接收到访问指令后,先与智能卡芯片进行认证交互以判断发送该访问指令的主机是否有权限访问MCP存储模块中的NOR Flash,并在认证通过后再进行判断,然后建立外部主机与其访问的存储器或智能卡芯片的通信,该方式称之为访问方式2。In this way, the interface conversion controller can determine which type of memory or smart card chip the host is accessing according to the access object identifier in the access command sent by the external host. The interface conversion controller can directly judge after receiving the access instruction, and then establish communication between the external host and the memory or smart card chip accessed by it. This method is called access mode 1; the interface conversion controller can also receive the access instruction After the command, it first interacts with the smart card chip to determine whether the host that sends the access command has the right to access the NOR Flash in the MCP storage module, and then judges after the authentication is passed, and then establishes the memory or smart card chip that the external host and its access communication, this method is called access mode 2.
当然,本实施例中还可以为SRAM、NOR Flash和智能卡芯片分配不同的地址,这样,接口转换控制器可以依据外部主机发送的访问指令的访问地址来判断主机访问的是哪一种类型的存储器或智能卡芯片。Certainly, different addresses can also be allocated for SRAM, NOR Flash and the smart card chip in the present embodiment, like this, the interface conversion controller can judge which type of memory that the host accesses according to the access address of the access instruction sent by the external host or smart card chips.
图13为本发明实施例四中MCP存储模块的访问方式1的流程示意图。如图13所示,以依据访问对象标识来判断主机访问哪一种类型的存储器或智能卡芯片为例,本实施例中访问方式1的具体处理流程包括如下步骤:FIG. 13 is a schematic flowchart of access mode 1 of the MCP storage module in Embodiment 4 of the present invention. As shown in FIG. 13 , taking judging which type of memory or smart card chip the host accesses based on the access object identifier as an example, the specific processing flow of access mode 1 in this embodiment includes the following steps:
步骤1301,接口转换控制器接收外部主机发送的访问指令。如果本实施例中的MCP存储模块应用于终端等移动设备中,则这里所述的主机可以为该移动设备的CPU。
步骤1302,接口转换控制器判断接收到的访问指令中的访问对象标识是否表示SRAM,如果是,则执行步骤1303,否则,执行步骤1304。
步骤1303,接口转换控制器建立外部主机与SRAM的通信,以保证外部主机对SRAM的读/写操作,并结束本流程。
步骤1304,接口转换控制器判断接收到的访问指令中的访问对象标识是否表示NOR Flash,如果是,则执行步骤1305,否则,执行步骤1306。
步骤1305,接口转换控制器建立外部主机与NOR Flash的通信,对建立的通信进行接口规范转换,以保证外部主机对NOR Flash的读/写操作,并结束本流程。
步骤1306,接口转换控制器判断接收到的访问指令中的访问对象标识是否表示智能卡芯片,如果是,则执行步骤1307,否则,返回步骤1301继续接收外部主机发送的访问指令或结束本流程。
步骤1307,接口转换控制器建立外部主机与智能卡芯片的通信,对建立的通信进行接口规范转换,以保证外部主机基于与智能卡芯片实现智能卡安全相关业务,并结束本流程。
上述流程中,对于对外接口的判断顺序是SRAM总线对外接口、NORFlash总线对外接口、智能卡芯片总线对外接口,实际应用中,也可以根据需要任意调整上述判断顺序。In the above process, the order of judging the external interfaces is the external interface of the SRAM bus, the external interface of the NORFlash bus, and the external interface of the smart card chip bus.
图14为本发明实施例四中MCP存储模块的访问方式2的流程示意图。如图14所示,以依据访问对象标识来判断主机访问哪一种类型的存储器或智能卡芯片为例,本实施例中访问方式2的具体处理流程包括如下步骤:FIG. 14 is a schematic flowchart of the access mode 2 of the MCP storage module in Embodiment 4 of the present invention. As shown in Figure 14, taking the example of judging which type of memory or smart card chip the host accesses based on the access object identifier, the specific processing flow of access mode 2 in this embodiment includes the following steps:
步骤1401,接口转换控制器接收外部主机发送的访问指令。如果本实施例中的MCP存储模块应用于终端等移动设备中,则这里所述的主机可以为该移动设备的CPU。
步骤1402,接口转换控制器判断接收到的访问指令中的访问对象标识是否表示SRAM,如果是,则执行步骤1403,否则,执行步骤1404。
步骤1403,接口转换控制器建立外部主机与SRAM的通信,以保证外部主机对SRAM的读/写操作,并结束本流程。
步骤1404,接口转换控制器判断接收到的访问指令中的访问对象标识是否表示NOR Flash,如果是,则执行步骤1405,否则,执行步骤1408。
步骤1405,接口转换控制器建立外部与智能卡芯片之间的通信,对建立的通信进行接口规范转换,并执行步骤1406。In
步骤1406,由智能卡芯片与外部主机进行认证交互,判断对该外部主机进行身份认证,如果认证通过,则表示该外部主机有权限访问MCP存储模块中的NOR Flash,并执行步骤1407,如果认证未通过,则表示该外部主机没有权限访问MCP存储模块中的NOR Flash,结束本流程或返回步骤1401继续接收外部主机发送的访问指令。
本步骤中,智能卡芯片与外部主机的认证交互过程,可以采用现有任意一种认证方式来实现,在此不再赘述。In this step, the authentication interaction process between the smart card chip and the external host can be realized by using any existing authentication method, which will not be repeated here.
步骤1407,接口转换控制器建立外部主机与NOR Flash的通信,对建立的通信进行接口规范转换,以保证外部主机对NOR Flash的读/写操作,并结束本流程。
步骤1408,接口转换控制器判断接收到的访问指令中的访问对象标识是否表示智能卡芯片,如果是,则执行步骤809,否则,返回步骤501继续接收外部主机发送的访问指令或结束本流程。
步骤1409,接口转换控制器建立外部主机与智能卡芯片的通信,对建立的通信进行接口规范转换,以保证外部主机基于与智能卡芯片实现智能卡安全相关业务,并结束本流程。
上述流程中,对于对外接口的判断顺序是先SRAM总线对外接口、后NOR Flash总线对外接口,实际应用中,也可以根据需要任意调整上述判断顺序,但外部主机对NOR Flash的访问仍需要通过认证。In the above process, the order of judging the external interface is first the external interface of the SRAM bus, and then the external interface of the NOR Flash bus. In practical applications, the above judgment order can also be adjusted arbitrarily as needed, but the access of the external host to the NOR Flash still needs to pass the authentication .
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换以及改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008101160093A CN101303885A (en) | 2008-07-01 | 2008-07-01 | Multi-chip package memory module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008101160093A CN101303885A (en) | 2008-07-01 | 2008-07-01 | Multi-chip package memory module |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101303885A true CN101303885A (en) | 2008-11-12 |
Family
ID=40113752
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2008101160093A Pending CN101303885A (en) | 2008-07-01 | 2008-07-01 | Multi-chip package memory module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101303885A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105493061A (en) * | 2013-09-03 | 2016-04-13 | 高通股份有限公司 | Unified memory controller for heterogeneous memory on a multi-chip package |
CN111221583A (en) * | 2020-01-03 | 2020-06-02 | 广东岭南通股份有限公司 | Multi-smart-card starting management device and system |
CN111737769A (en) * | 2019-03-25 | 2020-10-02 | 美光科技公司 | Multi-chip package and method for secure communication between connected dies |
CN112383490A (en) * | 2016-03-18 | 2021-02-19 | 华为技术有限公司 | Chip and transmission scheduling method |
-
2008
- 2008-07-01 CN CNA2008101160093A patent/CN101303885A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105493061A (en) * | 2013-09-03 | 2016-04-13 | 高通股份有限公司 | Unified memory controller for heterogeneous memory on a multi-chip package |
US10185515B2 (en) | 2013-09-03 | 2019-01-22 | Qualcomm Incorporated | Unified memory controller for heterogeneous memory on a multi-chip package |
CN105493061B (en) * | 2013-09-03 | 2020-11-03 | 高通股份有限公司 | Unified memory controller for heterogeneous memory on multi-chip package |
CN112383490A (en) * | 2016-03-18 | 2021-02-19 | 华为技术有限公司 | Chip and transmission scheduling method |
CN111737769A (en) * | 2019-03-25 | 2020-10-02 | 美光科技公司 | Multi-chip package and method for secure communication between connected dies |
US11899804B2 (en) | 2019-03-25 | 2024-02-13 | Micron Technology, Inc. | Secure communications amongst connected dice |
CN111737769B (en) * | 2019-03-25 | 2024-05-28 | 美光科技公司 | Multi-chip package and method for secure communication between connected die |
CN111221583A (en) * | 2020-01-03 | 2020-06-02 | 广东岭南通股份有限公司 | Multi-smart-card starting management device and system |
CN111221583B (en) * | 2020-01-03 | 2022-02-25 | 广东岭南通股份有限公司 | Multi-smart-card starting management device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11769534B2 (en) | Flexible memory system with a controller and a stack of memory | |
CN101410814B (en) | Daisy chain arrangement of non-volatile memories | |
US7830692B2 (en) | Multi-chip memory device with stacked memory chips, method of stacking memory chips, and method of controlling operation of multi-chip package memory | |
CN102210022B (en) | Solid state drive or other storage apparatus that includes a plurality of encapsulated semiconductor chips | |
US9245590B2 (en) | Stacked die flash memory device with serial peripheral interface | |
US10762012B2 (en) | Memory system for sharing a plurality of memories through a shared channel | |
US9728520B2 (en) | Enhanced flash chip and method for packaging chip | |
US10067879B2 (en) | Apparatus and method to support a storage mode over a cache-line memory interface to a non-volatile memory dual in line memory module | |
CN101303885A (en) | Multi-chip package memory module | |
JP7648275B2 (en) | Dynamic Proximity-Based On-Die Termination Technology | |
US9959184B2 (en) | Input/output (I/O) line test device and method for controlling the same | |
EP3049942B1 (en) | Mapping memory controller connectors to memory connectors | |
JP2021099892A5 (en) | ||
US9396798B2 (en) | Enhanced flash chip and method for packaging chip | |
US11416425B2 (en) | Memory | |
US9600424B2 (en) | Semiconductor chips, semiconductor chip packages including the same, and semiconductor systems including the same | |
CN112582286B (en) | Packaging method, device, equipment and medium | |
KR102806776B1 (en) | Multi-cycle command processing in memory devices and related methods, devices and systems | |
CN103247611B (en) | A kind of enhancement mode FLASH chip and a kind of chip packaging method | |
CN105632545B (en) | A kind of 3D memory chips | |
CN113448895A (en) | Storage integrated chip and communication method, packaging structure and packaging method thereof | |
CN108628776B (en) | Data read-write access control method and device | |
US20240088084A1 (en) | Tightly-coupled random access memory interface shim die | |
TW202044265A (en) | Soc capable of checking correctness of memory data | |
Raghavan | Five emerging DRAM interfaces you should know for your next design |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20081112 |