Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberCN1315054 C
Publication typeGrant
Application numberCN 200310122681
Publication date9 May 2007
Filing date24 Dec 2003
Priority date24 Dec 2003
Also published asCN1632762A
Publication number200310122681.0, CN 1315054 C, CN 1315054C, CN 200310122681, CN-C-1315054, CN1315054 C, CN1315054C, CN200310122681, CN200310122681.0
Inventors许国泰
Applicant上海华虹集成电路有限责任公司
Export CitationBiBTeX, EndNote, RefMan
External Links: SIPO, Espacenet
A smart card simulating card
CN 1315054 C
Abstract  translated from Chinese
本发明公开了一种智能卡仿真卡,旨在提供一种用于智能卡程序的测试和认证过程的智能卡仿真卡。 The present invention discloses a smart card emulation card, smart card emulation card is designed to provide a smart card program for testing and certification process. 本发明智能卡仿真卡包括替代目标芯片的仿真芯片、替代目标芯片内掩膜存储器的EPROM、时钟配置跳线结构、电源配置跳线结构、以及时钟输入接口结构和电源输入接口结构。 Smart card emulation card present invention includes an alternative target chip emulation chip, replacing EPROM chip mask ROM memory of the target, the clock configuration jumper structure, the power structure of the configuration jumpers, and a clock input interface structure and power input interface structure. 通过跳线的设置和输入接口的使用而用于智能卡程序的测试、认证过程和ISO7816协议规定下的拉偏测试过程。 By setting and input interface using jumpers and pull side testing process for testing smart card program and ISO7816 certification process under the agreement. 使用其进行测试后,可以保证最终的智能卡产品对各型号读写机具有良好的兼容性。 After using it for testing, you can ensure that the final product of each type of smart card reader machine has good compatibility.
Claims(5)  translated from Chinese
1.一种智能卡仿真卡,与外部时钟发生设备和外部电源输出设备相连或与读写机具相连,其特征是,包括仿真芯片、EPROM、时钟配置跳线结构、电源配置跳线结构、时钟输入接口结构、电源输入接口结构,其中,所述的时钟输入接口结构将外部时钟发生设备输出的时钟信号传输至所述的时钟配置跳线结构;所述的电源输入接口结构将传输外部电源输出设备输出的电源信号传输至所述的电源配置跳线结构;所述的时钟配置跳线结构将接受的外部时钟发生设备输出的时钟信号或读写机具发出的时钟信号传输至所述的仿真芯片;所述的电源配置跳线结构将接受的外部电源输出设备输出的电源信号或读写机具提供的电源信号传输至所述的仿真芯片;所述的EPROM中存放用户程序作为程序存储器使用,所述的仿真芯片通过数据、地址总线和EPROM连接,所述的仿真芯片在工作时通过数据、地址总线从所述的EPROM读取用户程序。 A smart card emulation card, and external clock generation devices and output devices connected to an external power source or connected with reading and writing machines, which is characterized by including simulation chip, EPROM, clock configuration jumpers structure, the power structure of the configuration jumpers, the clock input interface structure, the power input interface structure, wherein said clock input to the clock signal transmission interface structure external clock generating device outputs the clock to the structure of the configuration jumpers; said power input output structure of the external power transfer device Power transmission output signal to said power supply configuration jumper structure; clock signal transfer clock configuration jumpers structure will accept external clock output clock signal generating device or reader equipment issued to the emulation chip; power signal transmission structure of the power supply configuration jumpers will accept an external power supply output device or reader equipment power signal supplied to the emulation chip; according to the user program stored in EPROM as a program memory used, the The emulation chip through data, address bus and EPROM connected, the emulation chip at work through the data and address bus to read the user program from the EPROM described.
2.如权利要求1所述的智能卡仿真卡,其特征是,所述的时钟输入接口结构包括一个外部时钟发生设备输出的时钟信号接口和一个地信号接口。 2. The smart card emulation card according to claim 1, characterized in that said structure comprises a clock input interface an interface clock signal output from the external clock generating apparatus and a ground signal interface.
3.如权利要求1所述的智能卡仿真卡,其特征是,所述的电源输入接口结构包括一个外部电源输出设备输出的电源信号接口和一个地信号接口。 Smart card emulation card according to claim, wherein said power input connector structure comprises a power supply external power signal interface and an output device to output signal interface.
4.如权利要求1所述的智能卡仿真卡,其特征是,所述的时钟配置跳线结构包括仿真卡所使用的两个时钟信号输出接口、一个外部时钟发生设备输出的时钟信号输入接口和一个读写机具发出的时钟信号输入接口。 The smart card emulation card according to claim 1, characterized in that said clock configuration jumpers structure comprises two clock signals output interface emulation card used, an external clock generating device outputs the clock signal input and a write clock signal input interface equipment issued.
5.如权利要求1所述的智能卡仿真卡,其特征是,所述的电源配置跳线结构包括仿真卡所使用的两个电源输出接口、一个外部电源输出设备输出的电源信号输入接口和一个读写机具提供的电源信号输入接口。 5. The smart card emulation card according to claim 1, characterized in that said structure comprises two power supply configuration jumper power output port emulation card used, a signal input and a power supply external power output device of reader equipment supplied power signal input interface.
Description  translated from Chinese
一种智能卡仿真卡 An intelligent card emulation card

技术领域 FIELD

本发明涉及一种智能卡仿真卡,更具体地说,它涉及一种用于智能卡程序的测试和认证过程的智能卡仿真卡。 The present invention relates to a smart card emulation card, and more particularly, it relates to a smart card emulation card for a smart card program testing and certification process.

背景技术 BACKGROUND

智能卡内MCU的主程序部分即片上操作系统(以下简称COS)通常都是在芯片生产时就掩膜在内了,生产完成后一般无法再对COS程序进行修改,因此出于降低生产风险的考虑,COS程序在进行掩膜之前必须经过严格的测试和认证,确保其正确性。 Main part of the smart card MCU, that operating system-on-chip (hereinafter referred to as COS) are usually on during chip production, including a mask, after production of the COS program generally can not be modified, so consider for reducing the risk of production must undergo rigorous testing and certification program to ensure that it is correct before making a mask COS.

在COS程序的编写和调试中,所使用的工具一般是智能卡仿真器配合读写机具,但是智能卡仿真器本身作为一个系统产品,即使做得再完美,仿真COS程序的过程与真实智能卡运行COS程序的过程还是存在差别的,为了能最大限度的提高COS程序在掩膜前测试、认证过程的可信度,必须屏蔽智能卡仿真器可能存在的影响来进行各项测试、认证。 In the COS program writing and debugging, the tools used are generally smart card emulator with reading and writing machines, but itself as a system product, even if doing another perfect smart card emulator, process simulation COS program with real smart cards running COS program The process still exists differences, in order to maximize the COS program before the mask test credibility of the certification process, must be shielded smartcard emulator influence may exist for the testing and certification.

发明内容 SUMMARY

本发明的目的在于提出一种智能卡仿真卡,使其既可以以最接近真实卡片的状态工作,也可以拉偏工作在符合IS07816协议规定的范围内的不同时钟、电源特征参数下,以满足对COS程序测试、认证过程的需求,从而保证最终的智能卡产品对各型号读写机具有良好的兼容性。 The purpose of the present invention is to propose a smart card emulation card so that both can work closest to the real state of the cards, you can also pull in partial compliance with different clock, power characteristic parameters within the range of IS07816 agreement, in order to meet the COS program testing, requirements of the certification process to ensure the final product of each type of smart card reader machine has good compatibility.

为了解决上述技术问题,本发明的智能卡仿真卡与外部时钟发生设备和外部电源输出设备相连或与读写机具相连,通过跳线的设置和输入接口的使用而用于智能卡程序的测试、认证过程和拉偏测试过程;它包括仿真芯片(简称EV-CHIP)、EPROM、时钟配置跳线结构、电源配置跳线结构、时钟输入接口结构、电源输入接口结构,其中,所述的时钟输入接口结构将外部时钟发生设备输出的时钟信号传输至所述的时钟配置跳线结构;所述的电源输入接口结构将传输外部电源输出设备输出的电源信号传输至所述的电源配置跳线结构;所述的时钟配置跳线结构将接受的外部时钟发生设备输出的时钟信号或读写机具发出的时钟信号传输至所述的仿真芯片;所述的电源配置跳线结构将接受的外部电源输出设备输出的电源信号或读写机具提供的电源信号传输至所述的仿真芯片;所述的EPROM中存放用户程序作为程序存储器使用,所述的仿真芯片通过数据、地址总线和EPROM连接,所述的仿真芯片在工作时通过数据、地址总线从所述的EPROM读取用户程序。 To solve the above problems, the smart card emulation card and the external clock generating apparatus of the present invention and an external power source is connected to the output device or equipment connected with the reader, and the input interface by setting jumpers and used for testing a smart card application, the authentication process and pull side testing process; it includes emulation chip (called EV-CHIP), EPROM, clock configuration jumpers structure, power configuration jumpers structure, the structure of the clock input interface, power input interface structure, wherein the clock input interface structure The external clock signal transmission clock generation device output to the clock configuration jumpers structure; the structure of the power input connector to transmit power signal transmission external power output device to said power supply configuration jumper structure; the clock configuration jumpers structure will accept external clock signal transmission clock output clock signal generating device or reader equipment issued to the emulation chip; the power supply configuration jumper structure will accept an external power supply output device output Power supply signal or write signal transmission equipment provided to the simulation chip; the user program stored in EPROM program memory is used as a simulation of the chip through the data and address bus and EPROM connect the emulation chip When working through the data and address bus to read the user program from the EPROM described.

本发明还可以是:所述的时钟输入接口结构包括一个外部时钟发设备输出的时钟信号接口和一个地信号接口;所述的电源输入接口结构包括一个外部电源输出设备输出的电源信号接口和一个地信号接口;所述的时钟配置跳线结构包括仿真卡所使用的两个时钟信号输出接口、一个外部时钟发生设备输出的时钟信号输入接口和一个读写机具发出的时钟信号输接口;所述的电源配置跳线结构包括仿真卡所使用的两个电源输出接口、一个外部电源输出设备输出的电源信号输入接口和一个读写机具提供的源信号输入接口。 The present invention may also be: a clock input of said interface structure comprises an external interface clock to a clock signal sent by one device and the signal output interface; said power input connector structure comprises a power supply external power signal interface and an output device to signal interface; the clock signal from the clock configuration jumper structure comprises two clock signal output interface emulation card used, an external clock generation device output clock signal inputs and outputs of a reader equipment issued interface; the The power configuration jumpers structure includes two power output interface emulation card used, an external power supply output device signal input interface and a read-write equipment provided source signal input interface.

与现有技术相比,本发明的有益效果是:本发明通过在仿真卡上几组跳线的配置、输入接口的使用,就可以使同一仿真卡既可以以最接近真实卡的状态进行测试、认证,也可以在符合IS07816协议规定的范围内不同的时钟、电源特性下进行拉偏测试。 Compared with the prior art, the beneficial effects of the present invention are: The invention in a few jumpers on the card emulation configuration, the input interface to use, you can make the same emulation card either in the state closest to the real test card , certification, can also be subject to the agreement within the scope of IS07816 different clock, power characteristics pull side test. 因此,本仿真卡将会给测试工作带来非常大的便利,也能使测试、认证过程具有较佳的可信度,保证最终的智能卡产品对各型号读写机具有良好的兼容性。 Therefore, the emulation card will bring great convenience to the test work, but also make testing and certification process has better reliability, ensure that the final product of each type of smart card reader machine has good compatibility.

附图说明 Brief Description

图1是仿真卡实现时钟、电源配置的结构框图;图2是仿真卡和真实智能卡的使用状态示意图;图3是本发明的时钟配置跳线结构示意图:图4是本发明的电源配置跳线结构示意图;图5是本发明的时钟输入接口结构示意图;图6是本发明的电源输入接口结构示意图;图7是本发明仿真卡片模拟真实卡片工作情况时的设置、连接;图8是本发明仿真卡片拉偏时钟、电源测试时的设置、连接。 Figure 1 is a block diagram of the card for simulation clock, power configuration; Figure 2 is a state simulation using real cards and smart cards schematic; Figure 3 is a clock of the invention configuration jumper structure diagram: Figure 4 is a power supply configuration jumper present invention schematic structural view; FIG. 5 is a schematic structural view of the clock input interface of the present invention; FIG. 6 is a schematic structural view of the power input connector of the present invention; Figure 7 is a simulation card of the present invention to simulate real operation of the card when the setting, the connection; FIG. 8 is the present invention Simulation card pull side clock, set the power test, the connection.

其中,1为时钟输入接口结构;2为电源输入接口结构;3为时钟配置跳线结构;4为电源跳线结构;5为仿真芯片(EV-CHIP);6为EPROM;7为外部时钟发生设备;8为外部电源输出设备;9为读写机具;10为真实智能卡;CLK为仿真卡所使用的时钟信号;CLK1为外部时钟发生设备输出的时钟信号;CLK2为读写机具发出的时钟信号;Vp为仿真卡所使用的电源;V1为外部电源输出设备输出的电源信号;V2为读写机具提供的电源信号;GND:地信号。 Among them, a clock input interface structure; two for power input interface structure; 3 clock configuration jumpers structure; 4 for the power jumper structure; 5 emulation chip (EV-CHIP); 6 for EPROM; 7 external clock generation equipment; 8 external power supply output device; 9 for reading and writing equipment; 10 for real smart card; CLK is a clock signal simulation card used; CLK1 is a clock signal output from the external clock generating apparatus; clock signal CLK2 is issued reader equipment ; Vp for the power emulation card used; V1 of the external power supply output device power signal; V2 reader equipment to provide power for the signal; GND: ground signal.

具体实施方式 DETAILED DESCRIPTION

下面结合附图和实施例对本发明作进一步描述。 Below in connection with the accompanying drawings and the embodiment of the present invention will be further described.

如图1所示,本发明的智能卡仿真卡包括仿真芯片5、EPROM 6、时钟配置跳线结构3、电源配置跳线结构4、时钟输入接口结构1、电源输入接口结构2。 As shown in Figure 1, the smart card emulation card present invention includes emulation chip 5, EPROM 6, clock configuration jumpers structure 3, the power structure of the configuration jumpers 4, a clock input interface structure, power input interface structure 2. 其中,时钟输入接口结构1将外部时钟发生设备7输出的时钟信号CLK1传输至时钟配置跳线结构3;电源输入接口结构2将外部电源输出设备8输出的电源信号传输V1传输至电源配置跳线结构4。 Among them, the clock input interface structure an external clock generation device 7 output clock signal is transmitted to the clock CLK1 configuration jumper structure 3; V1 transmission power signal transmission power input interface structure 2 external power supply output device 8 to output power configuration jumpers Structure 4. 时钟配置跳线结构3将接受的外部时钟发生设备输出的时钟信号CLK1或读写机具9发出的时钟信号CLK2传输至仿真芯片5;电源配置跳线结构4将接受的外部电源输出设备输出的电源信号V1或读写机具9提供的电源信号V2传输至仿真芯片5。 Clock signal transmission clock signal CLK2 clock configuration jumper structure 3 will accept an external clock CLK1 output device or reader equipment issued to emulation chip 9 5; 4 power supply configuration jumper structure will accept an external power supply's output device power signal transmission signal V1 or V2 reader equipment supplied to simulation chip 9 5. 它与外部时钟发生设备7和外部电源输出设备8相连或与读写机具9相连,通过跳线的设置和输入接口的使用而用于智能卡程序的测试、认证过程和拉偏测试过程。 It happened with the external clock device 7 and 8 output device connected to an external power source is connected to the reading and writing machines or 9, and the input interface by setting jumpers and used to test the use of a smart card program, the certification process and the pull side testing process. 在模拟真实卡片工作情况的测试、认证过程中,CLK和Vp选择读写机具提供的CLK2和V2。 Card work in a simulated real test, certification process, CLK and Vp Select reader equipment provided CLK2 and V2. 拉偏测试过程中,CLK和Vp选择外部发生设备提供的CLK1和V1,且CLK1和V1的特征参数可以按照要求进行调整。 Pull side testing process, CLK and Vp to select the external device which is supplying the CLK1 and V1, V1 and CLK1 and characteristic parameters can be adjusted as required.

图2所示为仿真卡和真实智能卡的使用状态,从图中可以发现,仿真卡的仿真芯片5替代了真实智能卡10的目标芯片,EPROM 6替代了目标芯片内掩膜存储器。 Figure 2 shows the state of the simulation using real cards and smart cards can be found from the figure, emulation card emulation chip 5 instead of the real goal of smart card chip 10, EPROM 6 replaces the target chip mask ROM memory. 与真实智能卡使用状态相比,仿真卡在结构、配置、功能以及使用方式等方面与真实卡都非常接近,所不同的仅是以EV-CHIP 5替代封装在智能卡内的目标芯片,以EPROM 6替代掩膜存储器,已经最大限度的接近了真实卡片的工作状态,而且它的工作过程是完全脱离智能卡仿真器的。 Compared with the real smart card state, card emulation in the structure, configuration, function, and use the methods are very close to the real cards, the only difference is the EV-CHIP 5 encapsulated within the smart card replacement target chip, EPROM 6 Alternative mask memory, already close to the maximum working state real card, and it's working process is completely out of the smart card emulator.

所述的EPROM 6中存放用户程序作为程序存储器使用,所述的仿真芯片5通过数据、地址总线和EPROM 6连接,仿真芯片5在工作时通过数据、地址总线从EPROM 6读取用户程序。 EPROM 6, wherein the user program stored in the program memory is used as a simulation of chip 5 is connected via a data and address bus and EPROM 6, emulation chip 5 at work data, the address bus to read the user program from the EPROM 6 through.

图3~图6是本发明具体实施例中时钟配置跳线结构3、电源配置跳线结构4、时钟输入接口1、电源输入接口2的结构示意图。 Figures 3 to 6 is the clock configuration jumper structure 3, the power structure of the configuration jumpers 4, a clock input interface, power input interface structure diagram of two specific embodiments of the invention. 从图可以看出,本发明的时钟配置跳线结构3包括两个仿真卡所使用的时钟信号CLK输出接口、一个外部时钟发生设备输出的时钟信号CLK1输入接口和一个读写机具发出的时钟信号CLK2输入接口。 As can be seen from the figure, the clock configuration jumper structure of the present invention includes a clock signal CLK 3 two simulation output interface card used, an external clock signal generating device output clock CLK1 input interface and a write clock signal emitted by machinery CLK2 input. 电源配置跳线结构4包括两个仿真卡所使用的电源Vp输出接口、一个外部电源输出设备输出的电源信号V1输入接口和一个读写机具提供的电源信号V2输入接口。 Power supply configuration jumper structure 4 includes two simulation Vp output interface card used, an external power supply signal V1 output device input interface and a reader equipment supplied input power signal V2 interface. 时钟输入接口结构1包括一个外部时钟发生设备输出的时钟信号CLK1接口和一个地信号GND接口;电源输入接口结构2包括一个外部电源输出设备输出的电源信号V1接口和一个地信号GND接口。 Clock input interface structure 1 comprises an external clock generating device outputs the clock signal CLK1 and a ground signal GND connector interface; power input connector structure 2 comprises a power supply output device is an external power supply signal V1 and a ground signal GND connector interface.

图7是本发明具体实施例中仿真卡模拟真实卡工作情况时的设置、连接。 Figure 7 is a specific example embodiment of the present invention provided the card emulation card simulate real work situations, the connection. 在模拟真实卡工作情况的测试、认证过程中,CLK和Vp选择读写机具提供的CLK2和V2,即仿真卡片使用的就是来自读写机具的时钟信号CLK2和电源V2。 Card work in a simulated real testing, certification process, CLK2 and V2 CLK and Vp Select reader equipment provided that the simulation is to use a card reader equipment from the clock signal CLK2 and power V2. 时钟配置跳线结构3选择跳线连接CLK输出接口和CLK2输入接口,电源配置跳线结构4选择跳线连接Vp输出接口和V2输入接口。 Clock Configuration Jumper Jumper 3 Select CLK output interface and CLK2 input interface, power supply configuration jumper jumpers Vp structure 4. Select the output interface and V2 inputs. 该状态与真实IC卡的使用状态一致。 Use state of the IC card with the real state of the same.

图8是本发明具体实施例中仿真卡拉偏时钟、电源测试时的设置、连接。 FIG. 8 is a specific embodiment of the invention in partial simulation karaoke clock, set the power test of the connection. 拉偏测试过程中,CLK和Vp选择外部发生设备提供的CLK1和V1,仿真卡使用的就是来自外部时钟发生设备的时钟信号CLK1和来自外部电源输出设备的电源V1。 Pull side testing process, CLK and Vp occurs CLK1 and select the external device provides V1, simulation card is an external clock signal from the clock CLK1 and power generating apparatus V1 output device from an external power source. 外部时钟发生设备输出的时钟信号CLK1连接到仿真卡上的时钟输入接口结构1,外部电源输出设备输出的电源信号V1连接到仿真卡上的电源输入接口结构2,时钟配置跳线结构3选择跳线连接CLK输出接口和CLK1输入接口,电源配置跳线结构选择跳线连接Vp输出接口和V1输入接口。 External clock signal CLK1 clock generation device is connected to the output of the clock input card emulation interface structure 1 V1 external power supply signal output device is connected to the power input connector on the card two structural simulation, clock configuration jumpers structure 3 Select jump CLK output interface cable and CLK1 input interface, power select jumper connector configuration jumpers structure Vp output interface and V1 input. CLK1和V1的特征参数可以按照要求进行调整,通过调整外部时钟发生设备7和外部电源输出设备8输出的时钟和电源的特征参数,即可实现拉偏仿真卡工作时钟或电源特征参数,测试、认证COS程序的目的了。 CLK1 and V1 characteristic parameters can be adjusted as required by adjusting the parameters of the external clock generation device 7 and 8 external power output device and the power output of the clock, you can pull up partial emulation card operating clock or power characteristic parameters, test, COS certification program purpose.

综上所述,本发明在仿真卡上通过几组跳线的配置、输入接口的使用,使同一仿真卡既可以以最接近真实卡片的状态进行测试、认证,也可以在符合IS07816协议规定的范围内不同的时钟、电源特性下进行拉偏测试。 In summary, the present invention is the emulation card by several groups of jumper configuration, the use of the input interface, so that the same card emulation card either in a state closest to the real test, certification, and to be consistent with IS07816 agreement within the range of different clock, pull the power characteristics of partial test.

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
US4908502 *8 Feb 198813 Mar 1990Pitney Bowes Inc.Fault tolerant smart card
US6138029 *20 Jan 199924 Oct 2000U.S. Philips CorporationSmart card reader with a clock switch
Classifications
International ClassificationG06F11/36
Legal Events
DateCodeEventDescription
29 Jun 2005C06Publication
24 Aug 2005C10Request of examination as to substance
9 May 2007C14Granted