[go: up one dir, main page]

CN201111122Y - Connection device between double data interface subscriber identification card and non-contact front-end chip - Google Patents

Connection device between double data interface subscriber identification card and non-contact front-end chip Download PDF

Info

Publication number
CN201111122Y
CN201111122Y CNU2007200766425U CN200720076642U CN201111122Y CN 201111122 Y CN201111122 Y CN 201111122Y CN U2007200766425 U CNU2007200766425 U CN U2007200766425U CN 200720076642 U CN200720076642 U CN 200720076642U CN 201111122 Y CN201111122 Y CN 201111122Y
Authority
CN
China
Prior art keywords
interface
identification card
subscriber identification
chip
circuit
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.)
Expired - Lifetime
Application number
CNU2007200766425U
Other languages
Chinese (zh)
Inventor
李蔚
陈安新
石亦欣
宋莉莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Fudan Microelectronics Group Co Ltd
Original Assignee
Shanghai Fudan Microelectronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Fudan Microelectronics Co Ltd filed Critical Shanghai Fudan Microelectronics Co Ltd
Priority to CNU2007200766425U priority Critical patent/CN201111122Y/en
Application granted granted Critical
Publication of CN201111122Y publication Critical patent/CN201111122Y/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

本实用新型涉及一种双数据接口用户识别卡与非接触前端芯片的连接装置,其包含相互连接的基带芯片、用户识别卡、非接触前端芯片,特点是所述用户识别卡包含第二数据接口;所述非接触前端芯片包含主控制电路、控制模块和电源模块;所述非接触前端芯片与所述用户识别卡的第二数据接口连接。该装置实现简单,可支持的用户识别卡范围扩大,降低了技术成本,有利于移动非接触应用的整体推广;同时装置的噪声容限有明显提高,通讯稳定可靠。

Figure 200720076642

The utility model relates to a connection device between a double data interface user identification card and a non-contact front-end chip, which includes a baseband chip, a user identification card, and a non-contact front-end chip connected to each other, and is characterized in that the user identification card includes a second data interface The non-contact front-end chip includes a main control circuit, a control module and a power module; the non-contact front-end chip is connected to the second data interface of the subscriber identification card. The device is simple to implement, the range of user identification cards that can be supported is expanded, the technical cost is reduced, and it is beneficial to the overall promotion of mobile non-contact applications; at the same time, the noise tolerance of the device is significantly improved, and the communication is stable and reliable.

Figure 200720076642

Description

双数据接口用户识别卡与非接触前端芯片的连接装置 Connection device between double data interface subscriber identification card and non-contact front-end chip

技术领域technical field

本实用新型涉及一种近场通信NFC终端连接装置,具体涉及一种双数据接口用户识别卡与非接触前端芯片的连接装置。The utility model relates to a near-field communication NFC terminal connection device, in particular to a connection device between a double data interface user identification card and a non-contact front-end chip.

背景技术Background technique

近年来,电子支付业务已经深入了我们的生活,给我们带来了诸多的便利,特别是在固定营业场所,基于集成IC卡的电子支付业务形成了成熟的技术和稳定的市场。从2006年开始,随着近场通信NFC技术推广,基于手机和移动通信平台的移动支付业务成为了目前的热点。近场通信NFC这一新兴市场已经开始启动,各种解决方案层出不穷。In recent years, the electronic payment business has penetrated into our lives and brought us a lot of convenience, especially in fixed business locations, the electronic payment business based on integrated IC cards has formed a mature technology and a stable market. Since 2006, with the popularization of near-field communication (NFC) technology, mobile payment services based on mobile phones and mobile communication platforms have become a hot topic. The emerging market of near-field communication (NFC) has started, and various solutions emerge in an endless stream.

图1所示是一种现有技术的近场通信NFC终端连接装置,包含非接触模拟前端芯片、安全模块、基带芯片以及用户识别卡;所述非接触模拟前端芯片是NXP公司生产的非接触模拟前端芯片PN511;所述安全模块是NXP公司生产的安全模块SmartMX,其以信号输入输出接口S2C方式与所述非接触模拟前端芯片连接;所述基带芯片通过线路与所述非接触模拟前端芯片的上位接口连接;所述用户识别卡通过ISO7816接口与所述基带芯片连接。安全芯片处理非接触应用的数据保存和安全管理;非接触模拟前端芯片完成S2C信号与外界非接触信号的接口转换工作,并与基带芯片进行应用的数据和指令交换。这种装置的近场通信功能由非接触模拟前端芯片和安全模块构成的近场通信模块实现,实现非接触卡片模拟、非接触阅读器和点对点通讯的功能,这就需要独立运营安全芯片的运营商。这个运营商的出现将打破现有的移动通讯营运格局,遭到移动运营商的一致反对,因此这种近场通信NFC终端连接装置不能满足现实商务要求。Shown in Fig. 1 is a kind of near-field communication NFC terminal connection device of prior art, comprises non-contact analog front-end chip, safety module, baseband chip and user identification card; Described non-contact analog front-end chip is the contactless that NXP company produces Analog front-end chip PN511; described safety module is the safety module SmartMX that NXP Company produces, and it is connected with described non-contact analog front-end chip with signal input and output interface S2C mode; Described baseband chip is connected with described non-contact analog front-end chip by line connected to the host interface; the subscriber identification card is connected to the baseband chip through the ISO7816 interface. The security chip handles data storage and security management of non-contact applications; the non-contact analog front-end chip completes the interface conversion between S2C signals and external non-contact signals, and exchanges application data and instructions with the baseband chip. The near-field communication function of this device is realized by a near-field communication module composed of a non-contact analog front-end chip and a security module, which realizes the functions of non-contact card simulation, non-contact reader and point-to-point communication, which requires independent operation of the operation of the security chip business. The emergence of this operator will break the existing mobile communication operation pattern, and has been unanimously opposed by mobile operators. Therefore, this near-field communication NFC terminal connection device cannot meet the actual business requirements.

另一种现有技术是单线协议SWP连接装置,该装置集成用户识别卡和安全模块,利用用户识别卡的C6接口通过单线协议与非接触模拟前端芯片连接。Another existing technology is a single-wire protocol SWP connection device, which integrates a subscriber identification card and a security module, and uses the C6 interface of the subscriber identification card to connect to a non-contact analog front-end chip through a single-wire protocol.

单线协议SWP连接装置有效地解决了用户识别卡与非接触模拟前端芯片的连接问题,并且和现存的用户识别卡标准如ISO7816、TS 102 221、TS102600等保持兼容,是一种受到多数厂商支持的方案。但这种装置存在以下缺点:The single-wire protocol SWP connection device effectively solves the connection problem between the subscriber identification card and the non-contact analog front-end chip, and is compatible with the existing subscriber identification card standards such as ISO7816, TS 102 221, TS102600, etc., and is supported by most manufacturers. plan. But this device has the following disadvantages:

1.由于用户识别卡的C6接口定义为单线传输线,是一种双全工传输方式,为实现数据传输用户识别卡必须增加比较复杂的调制解调电路,因此对用户识别卡的硬件和软件设计要求高,装置实现复杂,成本较高;1. Since the C6 interface of the subscriber identification card is defined as a single-wire transmission line, which is a duplex transmission mode, in order to realize data transmission, the subscriber identification card must add a relatively complicated modulation and demodulation circuit, so the hardware and software design requirements for the subscriber identification card High, the device is complicated to realize, and the cost is high;

2.单线协议SWP连接装置要求用户识别卡、非接触模拟芯片和移动终端同时进行改造,对产业链的影响较大,推广和协调难度较高;2. The single-wire protocol SWP connection device requires the user identification card, non-contact analog chip and mobile terminal to be transformed at the same time, which has a great impact on the industrial chain and is difficult to promote and coordinate;

3.由于用户识别卡的C6接口采用的是负载调制方式进行双向通讯,意味着这个接口的信号是准数字信号,用户识别卡向非接触模拟前端芯片发送的负载调制信号会将单线协议SWP信号的噪声容限降低,信号容易受到干扰而影响通讯的稳定性,在移动终端这类元器件密度非常高的产品上,硬件设计(印刷电路板)有困难。3. Since the C6 interface of the subscriber identification card uses load modulation for two-way communication, it means that the signal of this interface is a quasi-digital signal, and the load modulation signal sent by the subscriber identification card to the non-contact analog front-end chip will convert the single-wire protocol SWP signal The noise margin is reduced, the signal is easily interfered and affects the stability of the communication, and the hardware design (printed circuit board) is difficult for products with very high component density such as mobile terminals.

实用新型内容Utility model content

本实用新型的目的是提供一种双数据接口用户识别卡与非接触前端芯片的连接装置,它能使用户识别卡电路设计简化,降低制造成本,软件实现简单;它不用对用户识别卡、非接触模拟芯片和移动终端同时进行改造,从而有利于移动非接触应用的整体推广;它能明显提高噪声容限,从而提高通讯的稳定性。The purpose of this utility model is to provide a connection device between a user identification card with a double data interface and a non-contact front-end chip, which can simplify the circuit design of the user identification card, reduce manufacturing costs, and realize simple software; The contact analog chip and the mobile terminal are transformed at the same time, which is beneficial to the overall promotion of mobile non-contact applications; it can significantly improve the noise tolerance, thereby improving the stability of communication.

为了达到上述目的,本实用新型的技术方案是:一种双数据接口用户识别卡与非接触前端芯片的连接装置,包含基带芯片、以ISO7816接口方式与基带芯片连接的用户识别卡以及通过ISO7816接口分别与所述基带芯片、用户识别卡连接的非接触前端芯片,所述基带芯片和用户识别卡包含电源接口、复位接口、时钟接口、地接口和数据接口,其特点是:所述用户识别卡增设第二数据接口;In order to achieve the above object, the technical solution of the present utility model is: a connection device between a dual-data interface subscriber identification card and a non-contact front-end chip, including a baseband chip, a subscriber identification card connected to the baseband chip in the form of an ISO7816 interface, and an ISO7816 interface A non-contact front-end chip connected to the baseband chip and the subscriber identification card respectively. The baseband chip and the subscriber identification card include a power interface, a reset interface, a clock interface, a ground interface and a data interface. It is characterized in that: the subscriber identification card Add a second data interface;

所述非接触前端芯片包含主控制电路、控制模块和电源模块;The non-contact front-end chip includes a main control circuit, a control module and a power module;

所述主控制电路通过总线分别与所述控制模块和电源模块连接;The main control circuit is respectively connected to the control module and the power module through a bus;

所述控制模块的输入端通过信号线分别与所述基带芯片的复位接口、时钟接口以及数据接口连接,其输出端通过信号线分别与所述用户识别卡的复位接口、时钟接口以及第二数据接口连接;The input terminal of the control module is respectively connected with the reset interface, the clock interface and the data interface of the baseband chip through the signal line, and its output terminal is respectively connected with the reset interface, the clock interface and the second data interface of the subscriber identification card through the signal line. interface connection;

所述电源模块的输入端通过电源线与所述基带芯片的电源接口连接,其输出端通过电源线与所述用户识别卡的电源接口连接。The input end of the power module is connected to the power interface of the baseband chip through a power line, and the output end is connected to the power interface of the subscriber identification card through a power line.

上述双数据接口用户识别卡与非接触前端芯片的连接装置,其中,所述用户识别卡的数据接口和第二数据接口是纯数字数据接口,为半双工通讯。The above-mentioned double data interface subscriber identification card and non-contact front-end chip connection device, wherein, the data interface and the second data interface of the subscriber identification card are pure digital data interfaces for half-duplex communication.

上述双数据接口用户识别卡与非接触前端芯片的连接装置,其中,所述控制模块包含时钟切换控制电路、复位切换控制电路、基带监控电路、卡片模拟模式控制电路和用户识别卡接口电路;The connection device between the above-mentioned dual data interface subscriber identification card and the non-contact front-end chip, wherein the control module includes a clock switching control circuit, a reset switching control circuit, a baseband monitoring circuit, a card simulation mode control circuit and a subscriber identification card interface circuit;

所述时钟切换控制电路的输入端与基带芯片的时钟接口连接,接收基带时钟信号和非接触时钟信号,其输出端与用户识别卡的时钟接口连接,发送用户识别卡时钟信号;The input end of the clock switching control circuit is connected with the clock interface of the baseband chip, receives the baseband clock signal and the contactless clock signal, and its output end is connected with the clock interface of the subscriber identification card, and sends the subscriber identification card clock signal;

所述复位切换控制电路的输入端与基带芯片的复位接口连接,接收基带复位信号和非接触复位信号,其输出端与用户识别卡的复位接口连接,发送用户识别卡复位信号;The input end of the reset switching control circuit is connected with the reset interface of the baseband chip, receives the baseband reset signal and the non-contact reset signal, and its output end is connected with the reset interface of the user identification card, and sends the user identification card reset signal;

所述基带监控电路通过信号线分别与基带芯片的时钟接口、复位接口以及数据接口连接,可单独或同时监控上述三个信号,产生基带芯片ISO7816接口状态的判断信号;The baseband monitoring circuit is respectively connected with the clock interface, the reset interface and the data interface of the baseband chip through signal lines, and can monitor the above-mentioned three signals separately or simultaneously, and generates a judgment signal of the ISO7816 interface state of the baseband chip;

所述卡片模拟模式控制电路通过信号线分别与时钟切换控制电路的控制接口和复位切换控制电路的控制接口连接,产生控制信号;The card simulation mode control circuit is respectively connected to the control interface of the clock switching control circuit and the control interface of the reset switching control circuit through signal lines to generate control signals;

所述用户识别卡接口电路通过信号线与用户识别卡的第二数据接口连接,传输数据信号。The subscriber identification card interface circuit is connected to the second data interface of the subscriber identification card through a signal line to transmit data signals.

上述双数据接口用户识别卡与非接触前端芯片的连接装置,其中,所述电源模块包含用户识别卡类型检测电路和含开关的用户识别卡电源输出电路;The connection device between the above-mentioned dual data interface subscriber identification card and the non-contact front-end chip, wherein the power module includes a subscriber identification card type detection circuit and a subscriber identification card power output circuit including a switch;

所述用户识别卡类型检测电路的输入端与基带芯片的电源接口连接,其输出端与所述用户识别卡电源输出电路的输出选择控制端连接;The input terminal of the subscriber identification card type detection circuit is connected to the power interface of the baseband chip, and its output terminal is connected to the output selection control terminal of the subscriber identification card power output circuit;

所述用户识别卡电源输出电路的开关与基带芯片的电源接口连接,其输出选择控制端与用户识别卡的电源接口连接。The switch of the power output circuit of the subscriber identification card is connected to the power interface of the baseband chip, and its output selection control terminal is connected to the power interface of the subscriber identification card.

本实用新型双数据接口用户识别卡与非接触前端芯片的连接装置由于采用上述技术方案,使之与现有技术相比,具有以下优点和积极效果:Compared with the prior art, the connection device between the dual data interface user identification card and the non-contact front-end chip of the utility model has the following advantages and positive effects:

1.由于用户识别卡增设的第二数据接口定义为半双工通讯,因此用户识别卡不需要增加比较复杂的调制解调电路,装置实现简单,软件实现简单,同时也降低了成本;1. Since the second data interface added by the subscriber identity card is defined as half-duplex communication, the subscriber identity card does not need to add a more complicated modulation and demodulation circuit, the device is simple to implement, the software is simple to implement, and the cost is also reduced;

2.部分市场上的用户识别卡已具有额外的数据接口,选择这类芯片可以仅仅通过软件升级的方式支持本发明提出的非接触应用连接装置,从而有利于移动非接触应用的整体推广;2. Subscriber identification cards on some markets already have additional data interfaces. Selecting such chips can only support the non-contact application connection device proposed by the present invention through software upgrades, thereby facilitating the overall promotion of mobile non-contact applications;

3.用户识别卡增设的第二数据接口是纯数字数据接口,噪声容限高,通讯稳定可靠。3. The second data interface added by the subscriber identification card is a pure digital data interface with high noise tolerance and stable and reliable communication.

附图说明Description of drawings

图1是现有技术的近场通信NFC终端连接装置的框图;Fig. 1 is the block diagram of the near field communication NFC terminal connection device of prior art;

图2是本实用新型的双数据接口用户识别卡与非接触前端芯片连接装置的框图;Fig. 2 is a block diagram of the dual data interface subscriber identification card and the non-contact front-end chip connection device of the present invention;

图3是本实用新型的双数据接口用户识别卡与非接触前端芯片连接装置的原理图;Fig. 3 is a schematic diagram of the dual data interface subscriber identification card and the non-contact front-end chip connection device of the present invention;

具体实施方式Detailed ways

以下根据图2和图3进一步说明本实用新型的一种较佳实施方式:Further illustrate a kind of preferred embodiment of the present utility model according to Fig. 2 and Fig. 3 below:

如图2所示,双数据接口用户识别卡与非接触前端芯片的连接装置,包含基带芯片1、用户识别卡2和非接触前端芯片3;在本实施例中,基带芯片1是Infineon公司生产的E-GOLD PMB7880型号的基带芯片,用户识别卡2是Microchip公司开发的NC128型号的用户识别卡,非接触前端芯片3是上海复旦微电子股份有限公司开发的具有双数据线协议DWP接口的非接触前端芯片FM1920。As shown in Figure 2, the connection device between the dual data interface subscriber identification card and the contactless front-end chip includes a baseband chip 1, a subscriber identification card 2 and a contactless front-end chip 3; in this embodiment, the baseband chip 1 is produced by Infineon The E-GOLD PMB7880 baseband chip, the subscriber identification card 2 is a NC128 subscriber identification card developed by Microchip, and the non-contact front-end chip 3 is a non-contact front-end chip with a dual data line protocol DWP interface developed by Shanghai Fudan Microelectronics Co., Ltd. Contact the front-end chip FM1920.

所述基带芯片1包含电源接口101、复位接口102、时钟接口103、地接口105和数据接口107,这5个接口都符合ISO7816标准。The baseband chip 1 includes a power interface 101 , a reset interface 102 , a clock interface 103 , a ground interface 105 and a data interface 107 , and these five interfaces all conform to the ISO7816 standard.

所述用户识别卡2包含符合ISO7816标准的电源接口201、复位接口202、时钟接口203、第一保留接口204、地接口205、数据接口207、第二保留接口208和符合双数据线协议DWP的第二数据接口206。(根据TS 102 600标准,第一保留接口204和第二保留接口208被定义为用户识别卡高速接口USB的VP和VM信号端。)The subscriber identification card 2 includes a power interface 201, a reset interface 202, a clock interface 203, a first reserved interface 204, a ground interface 205, a data interface 207, a second reserved interface 208 and a dual data wire protocol DWP conforming to the ISO7816 standard. The second data interface 206 . (according to the TS 102 600 standard, the first reserved interface 204 and the second reserved interface 208 are defined as the VP and VM signal ends of the subscriber identity card high-speed interface USB.)

所述数据接口207和第二数据接口206都是纯数字数据接口,同定义为半双工通讯,而且功能指标一致。Both the data interface 207 and the second data interface 206 are pure digital data interfaces, which are defined as half-duplex communication, and have the same function indicators.

所述用户识别卡2的所有接口都遵循ISO/IEC 7816和TS 102 221标准,同时与TS 102 600规范的引脚规定不冲突。All interfaces of the subscriber identification card 2 follow the ISO/IEC 7816 and TS 102 221 standards, and do not conflict with the pin provisions of the TS 102 600 specification.

所述用户识别卡2的数据接口207与所述基带芯片1的数据接口107连接,传输数据信号。The data interface 207 of the subscriber identification card 2 is connected to the data interface 107 of the baseband chip 1 to transmit data signals.

所述非接触前端芯片3包含主控制电路31、控制模块32和电源模块33。The non-contact front-end chip 3 includes a main control circuit 31 , a control module 32 and a power module 33 .

如图3所示,所述主控制电路31通过总线分别与所述控制模块32和电源模块33连接。As shown in FIG. 3 , the main control circuit 31 is respectively connected to the control module 32 and the power module 33 through a bus.

所述控制模块包含时钟切换控制电路321、复位切换控制电路322、基带监控电路323、卡片模拟模式控制电路324以及用户识别卡接口电路325。The control module includes a clock switching control circuit 321 , a reset switching control circuit 322 , a baseband monitoring circuit 323 , a card simulation mode control circuit 324 and a user identification card interface circuit 325 .

所述时钟切换控制电路321是用2选1逻辑电路实现的,在图3中用标准的2选1电路符号表示。在2选1符号中,两路水平信号表示待选信号,一路垂直信号表示选择控制信号:时钟切换控制电路321输入端的L接口与基带芯片1的时钟接口103连接,接收基带芯片1输入的时钟信号(第一路水平信号);时钟切换控制电路321输入端的1接口与非接触前端芯片3的时钟电路(图中未显示)连接,接收非接触前端时钟信号(第二路水平信号);时钟切换控制电路321的输出端与用户识别卡2的时钟接口203连接,发送给用户识别卡2时钟信号;时钟切换控制电路321的控制接口M与卡片模拟模式控制电路324连接,接收卡片模拟模式控制电路324产生的时钟控制信号(垂直信号)。The clock switching control circuit 321 is realized by a 2-to-1 logic circuit, which is represented by a standard 2-to-1 circuit symbol in FIG. 3 . In the 2-to-1 symbol, two horizontal signals represent signals to be selected, and one vertical signal represents a selection control signal: the L interface at the input end of the clock switching control circuit 321 is connected to the clock interface 103 of the baseband chip 1 to receive the clock input from the baseband chip 1 Signal (the first road horizontal signal); the 1 interface of the clock switching control circuit 321 input terminal is connected with the clock circuit (not shown in the figure) of the non-contact front-end chip 3, and receives the non-contact front-end clock signal (the second road horizontal signal); the clock The output terminal of the switching control circuit 321 is connected with the clock interface 203 of the subscriber identification card 2, and sends to the clock signal of the subscriber identification card 2; the control interface M of the clock switching control circuit 321 is connected with the card simulation mode control circuit 324, and receives the card simulation mode control The clock control signal (vertical signal) generated by the circuit 324.

所述复位切换控制电路322也是用2选1逻辑电路实现的。复位切换控制电路322输入端的R接口与基带芯片1的复位接口102连接,接收基带复位信号(第一路水平信号);复位切换控制电路322输入端的r接口与非接触前端芯片3的复位电路(图中未显示)连接,接收非接触前端复位信号(第二路水平信号);复位切换控制电路322输出端与用户识别卡2的复位接口202连接,发送给用户识别卡2复位信号;复位切换控制电路322的控制接口m与卡片模拟模式控制电路324连接,接收卡片模拟模式控制电路324产生的复位控制信号(垂直信号)。The reset switching control circuit 322 is also realized by a 2-to-1 logic circuit. The R interface of the reset switching control circuit 322 input terminal is connected with the reset interface 102 of the baseband chip 1, and receives the baseband reset signal (the first road level signal); the r interface of the reset switching control circuit 322 input terminal is connected with the reset circuit of the non-contact front-end chip 3 ( Not shown in the figure) connection, receive the non-contact front-end reset signal (the second road level signal); reset switch control circuit 322 output end is connected with the reset interface 202 of user identification card 2, send to user identification card 2 reset signal; reset switch The control interface m of the control circuit 322 is connected to the card simulation mode control circuit 324 and receives the reset control signal (vertical signal) generated by the card simulation mode control circuit 324 .

在本实施例中,所述时钟切换控制电路321、复位切换控制电路322由与或非逻辑门实现;所述时钟切换控制电路321、复位切换控制电路322还可以由MOS或CMOS传输门实现。In this embodiment, the clock switching control circuit 321 and the reset switching control circuit 322 are realized by AND or NOR logic gates; the clock switching control circuit 321 and the reset switching control circuit 322 can also be realized by MOS or CMOS transmission gates.

所述基带监控电路323分别与基带芯片1的时钟接口103、复位接口102、数据接口107连接,根据上述接口的信号状态产生基带芯片1ISO7816接口状态判断信号;基带监控电路323可以仅仅通过监控基带芯片1的时钟接口103来判断基带芯片1的ISO7816接口处于工作状态还是休眠状态,也可以通过监控基带芯片1的时钟接口103、复位接口102和数据接口107的组合判断基带芯片1ISO7816接口的状态,并可以记录基带芯片1与用户识别卡2在复位应答过程中传递的通讯协议参数等内容,用以通知非接触前端芯片3的主控电路31以合适的参数类型与用户识别卡2进行通讯。The baseband monitoring circuit 323 is connected with the clock interface 103, the reset interface 102, and the data interface 107 of the baseband chip 1 respectively, and generates the baseband chip 1ISO7816 interface state judgment signal according to the signal state of the above-mentioned interface; the baseband monitoring circuit 323 can only monitor the baseband chip 1 clock interface 103 to judge whether the ISO7816 interface of the baseband chip 1 is in a working state or a dormant state, and can also judge the state of the baseband chip 1ISO7816 interface by monitoring the combination of the clock interface 103, reset interface 102 and data interface 107 of the baseband chip 1, and It can record the communication protocol parameters transmitted between the baseband chip 1 and the SIM card 2 during the reset response process, so as to notify the main control circuit 31 of the non-contact front-end chip 3 to communicate with the SIM card 2 with appropriate parameter types.

所述用户识别卡接口电路325与用户识别卡2的第二数据接口206连接,传输用户识别卡双数据线协议输入/输出信号。The subscriber identification card interface circuit 325 is connected to the second data interface 206 of the subscriber identification card 2, and transmits the input/output signal of the subscriber identification card dual data line protocol.

在正常工作模式下(指终端处于开机的常规工作模式),卡片模拟模式控制电路324输出时钟控制信号(时钟切换控制信号),控制时钟切换控制电路321选择以基带时钟信号输出,保持基带芯片1和用户识别卡2处于直通状态;当非接触应用发生时,基带监控电路323判断基带芯片1是否和用户识别卡2正常通讯,如果基带芯片1正在通讯,卡片模拟模式控制电路324控制信号保持选择基带时钟信号输出至用户识别卡2,否则切换非接触前端时钟信号输出。为了保持基带芯片1和用户识别卡2的正常通讯,基带时钟信号较非接触前端时钟信号优先级高,只要基带芯片1的时钟有信号,则卡片模拟模式控制电路324优先选择基带时钟信号。In the normal working mode (referring to the normal working mode in which the terminal is turned on), the card simulation mode control circuit 324 outputs a clock control signal (clock switching control signal), and controls the clock switching control circuit 321 to select the baseband clock signal output to keep the baseband chip 1 It is in a straight-through state with the subscriber identification card 2; when a non-contact application occurs, the baseband monitoring circuit 323 judges whether the baseband chip 1 communicates normally with the subscriber identification card 2, and if the baseband chip 1 is communicating, the card simulation mode control circuit 324 controls the signal to keep selecting The baseband clock signal is output to the subscriber identification card 2, otherwise the clock signal output of the non-contact front end is switched. In order to maintain normal communication between the baseband chip 1 and the SIM card 2, the baseband clock signal has a higher priority than the non-contact front-end clock signal. As long as the clock signal of the baseband chip 1 has a signal, the card emulation mode control circuit 324 preferentially selects the baseband clock signal.

在掉电模式下(终端关机但要求仍然支持非接触应用的工作模式),此时基带芯片1不工作,卡片模拟模式控制电路324将切换至用户识别卡2和非接触前端芯片3连通,传输非接触前端时钟信号。In the power-down mode (the terminal is shut down but requires still supporting the working mode of contactless application), the baseband chip 1 does not work at this time, and the card simulation mode control circuit 324 will switch to the communication between the subscriber identification card 2 and the contactless front-end chip 3, and transmit Contactless front-end clock signal.

用户识别卡复位信号是在上电过程和出现异常情况下有效,由于用户识别卡2的接口是与非接触前端芯片3连接的,用户识别卡2的上电要受到非接触前端芯片3的控制,所以在非接触前端芯片3上电过程中,用户识别卡2的复位信号要受到非接触前端芯片3的控制,上电完成后,复位信号与时钟信号可以同样处理。为了保持用户识别卡2从非接触应用模式退出至基带通讯模式,用户识别卡2的内部状态保持不变,在没有异常操作发生时,非接触应用下的用户识别卡复位信号可以保持不动作。The subscriber identification card reset signal is valid during the power-on process and abnormal conditions. Since the interface of the subscriber identification card 2 is connected with the non-contact front-end chip 3, the power-on of the subscriber identification card 2 is controlled by the non-contact front-end chip 3. , so during the power-on process of the non-contact front-end chip 3, the reset signal of the subscriber identification card 2 is controlled by the non-contact front-end chip 3, and after power-on is completed, the reset signal and the clock signal can be processed in the same way. In order to keep the SIM card 2 from the non-contact application mode to the baseband communication mode, the internal state of the SIM card 2 remains unchanged. When no abnormal operation occurs, the SIM card reset signal under the non-contact application can remain inactive.

用户识别卡接口电路325负责与用户识别卡2进行非接触应用通讯,工作流程简述如下:上电后非接触前端芯片3缺省设置用户识别卡接口电路325的用户识别卡双数据线协议输入/输出信号处于上拉状态,用户识别卡2设置用户识别卡双数据线协议输入/输出信号为输入态;在上电过程中用户识别卡双数据线协议不激活,非接触前端芯片3要求基带芯片1与用户识别卡2通讯前完成上电过程,保持电源、时钟和复位信号处于直通状态;当非接触前端芯片3检测到用户识别卡2进入空闲状态,则启动一次用户识别卡双数据线协议通讯,用户识别卡接口电路325通过用户识别卡双数据线协议输入/输出信号向用户识别卡2发送初始化命令,根据用户识别卡2的应答判断用户识别卡2是否支持用户识别卡双数据线协议,如果支持则建立相应参数;完成非接触应用流程后,用户识别卡接口电路325通过用户识别卡双数据线协议输入/输出信号向用户识别卡2发送退出命令退出。上述的双数据线协议的建立过程也可以不必等待用户识别卡2进入空闲状态就进行,要求用户识别卡2的主控微处理器CPU具有良好的多任务处理能力。The user identification card interface circuit 325 is responsible for contactless application communication with the user identification card 2, and the workflow is briefly described as follows: After power-on, the non-contact front-end chip 3 defaults to the user identification card interface circuit 325. The user identification card double data line protocol input The /output signal is in the pull-up state, and the user identification card 2 sets the input/output signal of the dual data line protocol of the user identification card to the input state; during the power-on process, the dual data line protocol of the user identification card is not activated, and the non-contact front-end chip 3 requires the baseband The chip 1 completes the power-on process before communicating with the SIM card 2, and keeps the power supply, clock and reset signals in a straight-through state; when the non-contact front-end chip 3 detects that the SIM card 2 enters an idle state, it starts the dual data line of the SIM card once. Protocol communication, the SIM card interface circuit 325 sends an initialization command to the SIM card 2 through the SIM dual data line protocol input/output signal, and judges whether the SIM card 2 supports the SIM dual data line according to the response of the SIM card 2 If the protocol is supported, corresponding parameters are established; after the non-contact application process is completed, the SIM interface circuit 325 sends an exit command to the SIM card 2 through the SIM dual data line protocol input/output signal to exit. The establishment process of the above-mentioned dual data line protocol can also be carried out without waiting for the SIM card 2 to enter the idle state, and the main control microprocessor CPU of the SIM card 2 is required to have good multi-tasking processing capability.

所述电源模块33包含用户识别卡类型检测电路331和含三个开关的用户识别卡电源输出电路332。用户识别卡电源输出电路332根据实际情况可以选择含两个开关、三个开关或多个开关,在本实施例中,用户识别卡电源输出电路332含三个开关。所述用户识别卡类型检测电路331的输入端与基带芯片1的电源接口101连接,其输出端与所述用户识别卡电源输出电路332的三路开关输出选择控制端连接;所述用户识别卡电源输出电路332的第一开关s与基带芯片1电源接口107连接,其输出端与用户识别卡2的电源接口201连接所述用户识别卡电源输出电路332还包含B类卡电源电路及其开关b,C类卡电源电路及其开关c,所述B类卡电源电路和C类卡电源电路分别用以产生3v和1.8v电压。The power module 33 includes a user identification card type detection circuit 331 and a user identification card power output circuit 332 with three switches. The subscriber identification card power output circuit 332 can optionally include two switches, three switches or multiple switches according to the actual situation. In this embodiment, the subscriber identification card power output circuit 332 includes three switches. The input terminal of the subscriber identification card type detection circuit 331 is connected with the power interface 101 of the baseband chip 1, and its output terminal is connected with the three-way switch output selection control terminal of the subscriber identification card power supply output circuit 332; The first switch s of the power supply output circuit 332 is connected to the power supply interface 107 of the baseband chip 1, and its output terminal is connected to the power supply interface 201 of the subscriber identification card 2. The subscriber identification card power supply output circuit 332 also includes a class B card power supply circuit and its switch b, type C card power supply circuit and its switch c, the type B card power supply circuit and the type C card power supply circuit are used to generate 3v and 1.8v voltage respectively.

根据用户识别卡2的标准,用户识别卡卡片类型分为A、B、C三类(A类对应5V电源,B类对应3V电源,C类对应1.8V电源),本实施例以B类和C类两类卡的电源切换为例,具体说明电源模块工作流程:在正常工作模式下,基带芯片1的电源接口101输出电源电压信号,用户识别卡类型检测电路331直接产生三路开关控制信号,选择接通第一开关s,由基带芯片1和用户识别卡2直接进行卡片类型的检测流程,也就是说,在正常工作模式下用户识别卡2的工作电压由基带芯片1决定;与此同时,用户识别卡类型检测电路331配合基带监控电路323记录最终确定的用户识别卡2的类型,以备掉电模式应用。在掉电模式下,基带芯片1已不再工作,这时用户识别卡电源输出电路332在主控制电路31的控制下,根据记录的用户识别卡2的类型,选择与B类卡电源电路的开关b接通,输出3V电源或选择与C类卡电源电路的开关c接通,输出1.8V电源。其它电源类型可以参照本实施例方法扩充。According to the standard of subscriber identification card 2, subscriber identification card card type is divided into A, B, C three kinds (A class corresponds to 5V power supply, B class corresponds to 3V power supply, and C class corresponds to 1.8V power supply). The power supply switching of the two types of cards of the C type is taken as an example, and the working process of the power module is explained in detail: in the normal working mode, the power interface 101 of the baseband chip 1 outputs a power supply voltage signal, and the user identification card type detection circuit 331 directly generates three switch control signals , choose to turn on the first switch s, the detection process of the card type is directly carried out by the baseband chip 1 and the subscriber identification card 2, that is to say, the operating voltage of the subscriber identification card 2 is determined by the baseband chip 1 in the normal working mode; At the same time, the subscriber identification card type detection circuit 331 cooperates with the baseband monitoring circuit 323 to record the finally determined type of the subscriber identification card 2 for the application of the power-down mode. In the power-down mode, the baseband chip 1 is no longer working. At this time, the subscriber identification card power supply output circuit 332 is under the control of the main control circuit 31. When switch b is turned on, a 3V power supply is output, or switch c of the power supply circuit of the Class C card is selected to be turned on, and a 1.8V power supply is output. Other power supply types can be expanded with reference to the method of this embodiment.

在本实施例中用户识别卡2的CPU具有多任务处理能力,能同时处理用户识别卡双数据线协议界面和7816界面的数据。In this embodiment, the CPU of the SIM card 2 has multi-tasking processing capability, and can simultaneously process the data of the dual data line protocol interface and the 7816 interface of the SIM card.

所述主控制电路31是微处理器,嵌入式微处理器由很多选择,本实施例中选用的是Turbo 8051微处理器内核。Described main control circuit 31 is microprocessor, and embedded microprocessor has many choices, and what select for use in the present embodiment is Turbo 8051 microprocessor core.

所述基带芯片1、用户识别卡2和非接触前端芯片3共地。The baseband chip 1 , the subscriber identification card 2 and the non-contact front-end chip 3 share a common ground.

本实用新型双数据接口用户识别卡与非接触前端芯片的连接装置实现简单,可支持的用户识别卡范围扩大,降低了技术成本,有利于移动非接触应用的整体推广;同时装置的噪声容限有明显提高,通讯稳定可靠。The connection device of the utility model with double data interface user identification card and non-contact front-end chip is simple to implement, the range of supported user identification cards is expanded, the technical cost is reduced, and it is beneficial to the overall promotion of mobile non-contact applications; at the same time, the noise tolerance of the device Significantly improved, the communication is stable and reliable.

Claims (4)

1.一种双数据接口用户识别卡与非接触前端芯片的连接装置,包含基带芯片、以ISO7816接口方式与基带芯片连接的用户识别卡以及通过ISO7816接口分别与所述基带芯片、用户识别卡连接的非接触前端芯片,所述基带芯片和用户识别卡包含电源接口、复位接口、时钟接口、地接口和数据接口,其特征在于:所述用户识别卡增设第二数据接口;1. A connection device for a double data interface subscriber identification card and a non-contact front-end chip, comprising a baseband chip, a subscriber identification card connected with the baseband chip in an ISO7816 interface mode and being connected with the baseband chip and the subscriber identification card respectively by an ISO7816 interface The non-contact front-end chip, the baseband chip and the subscriber identification card include a power interface, a reset interface, a clock interface, a ground interface and a data interface, and it is characterized in that: a second data interface is added to the subscriber identification card; 所述非接触前端芯片包含主控制电路、控制模块和电源模块;The non-contact front-end chip includes a main control circuit, a control module and a power module; 所述主控制电路通过总线分别与所述控制模块和电源模块连接;The main control circuit is respectively connected to the control module and the power module through a bus; 所述控制模块的输入端通过信号线分别与所述基带芯片的复位接口、时钟接口以及数据接口连接,其输出端通过信号线分别与所述用户识别卡的复位接口、时钟接口以及第二数据接口连接;The input terminal of the control module is respectively connected with the reset interface, the clock interface and the data interface of the baseband chip through the signal line, and its output terminal is respectively connected with the reset interface, the clock interface and the second data interface of the subscriber identification card through the signal line. interface connection; 所述电源模块的输入端通过电源线与所述基带芯片的电源接口连接,其输出端通过电源线与所述用户识别卡的电源接口连接。The input end of the power module is connected to the power interface of the baseband chip through a power line, and the output end is connected to the power interface of the subscriber identification card through a power line. 2.如权利要求1所述的双数据接口用户识别卡与非接触前端芯片的连接装置,其特征在于:所述用户识别卡的数据接口和第二数据接口是纯数字数据接口,为半双工通讯。2. The connecting device of double data interface subscriber identification card and non-contact front-end chip as claimed in claim 1, it is characterized in that: the data interface of described subscriber identification card and the second data interface are pure digital data interface, are semi-double communication. 3.如权利要求1所述的双数据接口用户识别卡与非接触前端芯片的连接装置,其特征在于:所述控制模块包含时钟切换控制电路、复位切换控制电路、基带监控电路、卡片模拟模式控制电路和用户识别卡接口电路;3. The connecting device of double data interface subscriber identification card and non-contact front-end chip as claimed in claim 1, it is characterized in that: described control module comprises clock switching control circuit, reset switching control circuit, baseband monitoring circuit, card emulation mode Control circuit and user identification card interface circuit; 所述时钟切换控制电路的输入端与基带芯片的时钟接口连接,接收基带时钟信号和非接触时钟信号,其输出端与用户识别卡的时钟接口连接,发送给用户识别卡时钟信号;The input end of the clock switching control circuit is connected with the clock interface of the baseband chip, receives the baseband clock signal and the contactless clock signal, and its output end is connected with the clock interface of the subscriber identification card, and sends the clock signal to the subscriber identification card; 所述复位切换控制电路的输入端与基带芯片的复位接口连接,接收基带复位信号和非接触复位信号,其输出端与用户识别卡的复位接口连接,发送给用户识别卡复位信号;The input end of the reset switching control circuit is connected with the reset interface of the baseband chip, receives the baseband reset signal and the non-contact reset signal, and its output end is connected with the reset interface of the user identification card, and sends the reset signal to the user identification card; 所述基带监控电路通过信号线分别与基带芯片的时钟接口、复位接口和数据接口连接,该电路可单独或同时监控上述三个信号,产生基带芯片ISO7816接口状态的判断信号;The baseband monitoring circuit is respectively connected with the clock interface, the reset interface and the data interface of the baseband chip through a signal line, and the circuit can monitor the above-mentioned three signals separately or simultaneously to generate a judgment signal of the ISO7816 interface state of the baseband chip; 所述卡片模拟模式控制电路通过信号线分别与时钟切换控制电路的控制接口和复位切换控制电路的控制接口连接,产生控制信号;The card simulation mode control circuit is respectively connected to the control interface of the clock switching control circuit and the control interface of the reset switching control circuit through signal lines to generate control signals; 所述用户识别卡接口电路通过信号线与用户识别卡的第二数据接口连接,传输数据信号。The subscriber identification card interface circuit is connected to the second data interface of the subscriber identification card through a signal line to transmit data signals. 4.如权利要求1所述的双数据接口用户识别卡与非接触前端芯片的连接装置,其特征在于:所述电源模块包含用户识别卡类型检测电路和含开关的用户识别卡电源输出电路;4. The connecting device of double data interface subscriber identification card and non-contact front-end chip as claimed in claim 1, it is characterized in that: described power supply module comprises subscriber identification card type detection circuit and the subscriber identification card power supply output circuit that contains switch; 所述用户识别卡类型检测电路的输入端与基带芯片的电源接口连接,其输出端与所述用户识别卡电源输出电路的输出选择控制端连接;The input terminal of the subscriber identification card type detection circuit is connected to the power interface of the baseband chip, and its output terminal is connected to the output selection control terminal of the subscriber identification card power output circuit; 所述用户识别卡电源输出电路的开关与基带芯片的电源接口连接,其输出选择控制端与用户识别卡的电源接口连接。The switch of the power output circuit of the subscriber identification card is connected to the power interface of the baseband chip, and its output selection control terminal is connected to the power interface of the subscriber identification card.
CNU2007200766425U 2007-10-25 2007-10-25 Connection device between double data interface subscriber identification card and non-contact front-end chip Expired - Lifetime CN201111122Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNU2007200766425U CN201111122Y (en) 2007-10-25 2007-10-25 Connection device between double data interface subscriber identification card and non-contact front-end chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU2007200766425U CN201111122Y (en) 2007-10-25 2007-10-25 Connection device between double data interface subscriber identification card and non-contact front-end chip

Publications (1)

Publication Number Publication Date
CN201111122Y true CN201111122Y (en) 2008-09-03

Family

ID=39895660

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU2007200766425U Expired - Lifetime CN201111122Y (en) 2007-10-25 2007-10-25 Connection device between double data interface subscriber identification card and non-contact front-end chip

Country Status (1)

Country Link
CN (1) CN201111122Y (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105392129A (en) * 2015-11-03 2016-03-09 Tcl移动通信科技(宁波)有限公司 SIM card quick detection method and mobile terminal
CN107004105A (en) * 2015-09-16 2017-08-01 华为技术有限公司 A kind of release identification circuit and terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107004105A (en) * 2015-09-16 2017-08-01 华为技术有限公司 A kind of release identification circuit and terminal
CN107004105B (en) * 2015-09-16 2019-10-25 华为技术有限公司 An information card identification circuit and terminal
CN105392129A (en) * 2015-11-03 2016-03-09 Tcl移动通信科技(宁波)有限公司 SIM card quick detection method and mobile terminal
CN105392129B (en) * 2015-11-03 2019-02-26 Tcl移动通信科技(宁波)有限公司 A kind of SIM card rapid detection method and mobile terminal

Similar Documents

Publication Publication Date Title
CN101136078A (en) Circuit for SIM card connection non-contact front-end chip to realize mobile non-contact
JP5367847B2 (en) Terminal supporting enhancement type short-range wireless communication and processing method thereof
CN100550034C (en) Reduce method and double-interface card reader that the double-interface card reader internal radio frequency is disturbed
CN101772215B (en) Support mobile terminal and the near field communication method thereof of near-field communication
KR101725536B1 (en) Device, method and system for operation of a low power phy with a pcie protocol stack
JP2008522466A (en) Shared IC card and wireless transceiver module for mobile communication equipment
WO2011124078A1 (en) Contactless communication device
ATE518204T1 (en) MEMORY CARDS WITH STANDARD SECURITY FUNCTION
JP2008016032A (en) Smart card, smart card data communication method and system
CN101527007A (en) Movable non-contact circuit for interconnecting SIM card and non-contact front-end chip
CN101729676A (en) Mobile phone with near field communication function
CN101916950B (en) Safety chip concentrator
CN101515814A (en) Enhanced near field communication device and realization method thereof
CN101281610A (en) Double-interface smart card and method for starting non-contact application
CN101770594A (en) Multi-chip intelligent card and data processing method
CN101730295A (en) Coordination processing method for application collision of radio frequency SIM card interface
CN201111122Y (en) Connection device between double data interface subscriber identification card and non-contact front-end chip
CN101136077A (en) Connection circuit between double data interface subscriber identification card and non-contact front-end chip
WO2014023247A1 (en) Embedded device and method for control data communication based on the device
CN101561894B (en) Smart card and method for determining communication speed of second controller
EP2620899B1 (en) Smart chip and method for smart chip data communications
US7281246B1 (en) Method for loading user interface software
CN209044619U (en) RFID scanner with multi-channel communication circuitry
CN201111121Y (en) The SIM card is connected to the non-contact front-end chip to realize the mobile non-contact device
CN110188060A (en) Mode switching system and the mode switching method for applying it

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
AV01 Patent right actively abandoned

Effective date of abandoning: 20071025

C25 Abandonment of patent right or utility model to avoid double patenting