CN101105762B - Contact intelligent card emulator - Google Patents
Contact intelligent card emulator Download PDFInfo
- Publication number
- CN101105762B CN101105762B CN200610028857XA CN200610028857A CN101105762B CN 101105762 B CN101105762 B CN 101105762B CN 200610028857X A CN200610028857X A CN 200610028857XA CN 200610028857 A CN200610028857 A CN 200610028857A CN 101105762 B CN101105762 B CN 101105762B
- Authority
- CN
- China
- Prior art keywords
- card reader
- emulator
- power
- emulation chip
- power supply
- 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 - Fee Related
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
The invention discloses a simulator of contact intelligent card, comprising a simulating chip, a power module and as well an external power source interface and a supervising module as the invention's special feature. The external power source interface, internally, is connected with the supervising terminal of the supervising module and one end of a first switch which is controlled by the supervising module. The other end of the first switch is connected with the power source end of the simulating chip. The power module is connected with one end of a second switch controlled by the supervising module and the other end of the second switch is connected with the power source end of the simulating chip, which is also connected with the ground by energy storage components. The simulator of the invention can make use of the power source of the card reader at work, so it is automatically compatible with 3.3 V and 5 V card readers without human intervention; at the same time, the invention can simulate really the cooperating work of card and card reader when the power source of card reader fluctuates.
Description
Technical field
The present invention relates to a kind of contact smart card emulator.
Background technology
Employing meets the contact intelligent card of ISO 7816 standard interfaces when work, all is that the VCC power pins from 7816 interfaces of card reader and card connection is obtained power supply, blocks corresponding with the voltage of card reader IO and RST signal level and VCC.As shown in Figure 1, ISO 7816 interfaces that contact intelligent card 1 passes through standard are connected with card reader 2 and communicate by letter, and connect signal and comprise the power supply VCC of card reader 2 to card 1, communication port IO, earth signal GND and card reader 2 send to the reset signal RST of card 1.RST signal level from card reader 2 is consistent with the IO signal, and this signal is an one way signal, and its direction is to card 1 from card reader 2.Along with deepening continuously and the continuous refinement of product classification of contact intelligent card product technology, most of contact type smart card chip all can compatible 5V and two kinds of operating voltage of 3.3V and signal level.Require increasingly extensive today in low-power consumption, except the contact card reader (VCC of 7816 interfaces goes up and provides 5V voltage to card) of traditional 5V, the contact card reader of 3.3V (VCC of 7816 interfaces goes up and provides 3.3V voltage to card) is also increasing.Because card is directly to obtain power supply from card reader, therefore only need the chip in the card can compatible 5V and the voltage of 3.3V, block last 7816 IO mouth and RST signal will be automatically and the signal level of card reader be complementary.
In contact smart card emulator, because except emulation chip, realize a lot of other devices of copying in the emulator in addition, the power supply capacity of card reader is limited, therefore emulator can not directly obtain power supply from card reader, needs oneself independently power supply.Can compatible 5V and during the contact type smart card chip of 3.3V in emulation, usually need two groups of power supplys of 5V and 3.3V in the emulator, when the card reader work that cooperates 5V, in order to make IO on emulation chip 7816 interfaces and RST signal level and card reader coupling be 5V, must power to emulation chip with the 5V power supply.And when the card reader work that cooperates 3.3V, be 3.3V in order to make IO and RST signal level on emulation chip 7816 interfaces with the card reader coupling, must power to emulation chip with the 3.3V power supply.Therefore, when changing use 5V or 3.3V card reader, in order to guarantee the coupling of card reader and emulator IO and RST signal level, must be synchronously artificially according to the power supply that connects which kind of card reader switching emulation chip, not only very inconvenient, and mistake takes place easily.For example, when mistake be emulation chip power supply with 5V, when but connecting the 3.3V card reader,, easily cause the damage of 3.3V card reader and because the communication issue that signal level does not match and causes because the IO level of emulation chip still is 5V; When mistake be emulation chip power supply with 3.3V, when but connecting the 5V card reader,, cause communication issue because the IO level of emulation chip still is that 3.3V easily causes the nonrecognition of 5V card reader to the IO signal.And, generally only provide 3.3V and two kinds of power supplys of 5V to emulation chip in the emulator, and card reader has the fluctuation of power supply voltage, fluctuation in this certain limit is permission and exists, when connecting the product card, because card is the power supply that obtains from card reader fully, the voltage fluctuation of card reader power supply signal all is truly visible to the operation of card internal program, the influence of chip operation.If but have only fixing 3.3V or 5V in the emulator supply voltage of emulation chip; even when fluctuation takes place in the card reader supply voltage; because the power supply of emulation chip and the supply independent that card reader provides; user program in emulation chip and the emulation chip still can operate as normal; signal on the IO mouth also can with the card reader proper communication; the working condition of this and actual products card is inconsistent; there is not real simulation to go out the working condition of product card; be unfavorable for finding the problem of chip and adaptability aspect, the dynamo-electric source of user program reading card; and normal or improper fluctuation when taking place in the card reader supply voltage; the working condition of card and user program is an important content of examination to card.
Therefore, need to propose a kind of from the intelligent card emluator of card reader signal level movingly, both can well automatic compatible 3.3V and the card reader of 5V, need not human intervention, can real simulated go out when fluctuation takes place the card reader power supply again, the product card cooperates the working condition of card reader.
Summary of the invention
Technical matters to be solved by this invention provides a kind of contact smart card emulator, need not human intervention just can automatic compatible 3.3V and the card reader of 5V, simultaneously can real simulation when fluctuation takes place in the card reader power supply, card cooperates the working condition of card reader.
For solving the problems of the technologies described above, the technical scheme of contact smart card emulator of the present invention is, comprise emulation chip, power module, also comprise an external power source interface and a monitoring module, described external power source interface internally is connected to test side and end by first switch of described monitoring module control of described monitoring module respectively, and the other end of described first switch is connected to the power end of described emulation chip; Described power module is connected to an end by the second switch of described monitoring module control, and the other end of described second switch is connected to the power end of described emulation chip; Also be connected with energy-storage travelling wave tube between the power end of described emulation chip and the ground, described monitoring module determines whether power supply from card reader by detecting the external power source interface all the time, not from the power supply of card reader the time, monitoring module is with the disconnection of first switch and with the second switch closure, emulator uses inner power module to power as emulation chip, can operate as normal to guarantee emulation chip and emulator; After the monitoring module of emulator has been found power supply from card reader, the monitoring module of emulator switches to power supply from card reader to the power supply of emulation chip, being about to second switch disconnects afterwards at once with first switch closure, the monitoring module of emulator continues to detect the power supply that whether has from card reader simultaneously, because emulation chip uses is power supply from card reader, IO and the RST signal level conversion that need not do any level of emulation chip on 7816 interfaces just can be mated fully with the IO and the RST signal level of card reader, and the duty of this duty and product card is in full accord, when fluctuation takes place in card reader power supply voltage, the also fluctuation thereupon of the supply voltage of emulation chip and IO and RST signal level is in full accord with the working condition of chip and user program in the true card in the emulator; When the external power source interface of emulator and card reader disconnect, when perhaps the card reader power supply disappears, the monitoring module of emulator is found to disappear from the power supply of card reader, disconnects first switch closed second switch simultaneously immediately, and reusing inner power module is the emulation chip power supply.
The present invention makes contact smart card emulator use the power supply of card reader when work, need not human intervention just can automatic compatible 3.3V and the card reader of 5V, simultaneously can real simulation when fluctuation takes place in the card reader power supply, card cooperates the working condition of card reader.
Description of drawings
Below in conjunction with drawings and Examples the present invention is further described:
Fig. 1 is the synoptic diagram of card reader and card connection;
Fig. 2 is connected with the structural representation of card reader for contact smart card emulator of the present invention.
Reference numeral is among the figure: 1. block; 2. card reader; 3. emulator; 4. emulation chip; 5. power module; 6. external power source interface; 7. monitoring module; 8. first switch; 9. second switch; 10. storage capacitor; 11. diode; 12. diode.
Embodiment
The structure of contact smart card emulator of the present invention can be as shown in Figure 2, comprise emulation chip 4, power module 5, also comprise an external power source interface 6 and a monitoring module 7, be connected to test side and the end by first switch 8 of described monitoring module 7 controls of described monitoring module 7 in the 6 pairs described external power source interfaces respectively, the other end of described first switch 8 is connected to the power end of described emulation chip 4; Described power module 5 is connected to an end by the second switch 9 of described monitoring module 7 controls, and the other end of described second switch 9 is connected to the power end of described emulation chip 4; Also be connected with energy-storage travelling wave tube between the power end of described emulation chip 4 and the ground, this energy-storage travelling wave tube can be storage capacitor, also can be battery.
Because the power supply that card reader 2 provides only is emulation chip 4 power supplies, the power consumption and the product chips of emulation chip 4 are approaching, and therefore, card reader 2 has the ability of the load of bearing emulation chip 4 fully.In the process that the power supply of emulation chip 4 switches, can use energy-storage travelling wave tube is its power supply, with guarantee power supply switch in the operate as normal of emulation chip 4 and user program.
Owing to adopt said method, only need to keep a kind of power supply in the contact smart card emulator of the present invention, the complexity and the cost of emulator have been reduced, simultaneously, emulator both can well automatic compatible 3.3V and the card reader of 5V, need not human intervention, convenient for users to use, avoided contingent supply voltage to select mistake, and the damage of the card reader that may cause thus and the mistake of communicating by letter, real simulated goes out when fluctuation takes place the card reader power supply fully, and intelligent card chip and user program cooperate the working condition of card reader, help to find, judge the problem of intelligent card chip, and debug user programs.
Claims (6)
1. contact smart card emulator, comprise emulation chip, power module, it is characterized in that, also comprise an external power source interface and a monitoring module, described external power source interface internally is connected to test side and end by first switch of described monitoring module control of described monitoring module respectively, and the other end of described first switch is connected to the power end of described emulation chip; Described power module is connected to an end by the second switch of described monitoring module control, and the other end of described second switch is connected to the power end of described emulation chip; Also be connected with energy-storage travelling wave tube between the power end of described emulation chip and the ground, described monitoring module determines whether power supply from card reader by detecting the external power source interface all the time, not from the power supply of card reader the time, monitoring module is with the disconnection of first switch and with the second switch closure, emulator uses inner power module to power as emulation chip, can operate as normal to guarantee emulation chip and emulator; After the monitoring module of emulator has been found power supply from card reader, the monitoring module of emulator switches to power supply from card reader to the power supply of emulation chip, being about to second switch disconnects afterwards at once with first switch closure, the monitoring module of emulator continues to detect the power supply that whether has from card reader simultaneously, because emulation chip uses is power supply from card reader, IO and the RST signal level conversion that need not do any level of emulation chip on 7816 interfaces just can be mated fully with the IO and the RST signal level of card reader, and the duty of this duty and product card is in full accord, when fluctuation takes place in card reader power supply voltage, the also fluctuation thereupon of the supply voltage of emulation chip and IO and RST signal level is in full accord with the working condition of chip and user program in the true card in the emulator; When the external power source interface of emulator and card reader disconnect, when perhaps the card reader power supply disappears, the monitoring module of emulator is found to disappear from the power supply of card reader, disconnects first switch closed second switch simultaneously immediately, and reusing inner power module is the emulation chip power supply.
2. contact smart card emulator according to claim 1 is characterized in that, described energy-storage travelling wave tube is a storage capacitor.
3. contact smart card emulator according to claim 1 is characterized in that, described energy-storage travelling wave tube is a battery.
4. contact smart card emulator according to claim 1 is characterized in that described external power source interface externally is connected to the power end of card reader.
5. contact smart card emulator according to claim 1 is characterized in that, is connected with direction by the diode of described external power source interface to the power end of described emulation chip between the power end of described external power source interface and described emulation chip.
6. contact smart card emulator according to claim 1 is characterized in that, is connected with direction by the diode of described power module to the power end of described emulation chip between the power end of described power module and described emulation chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610028857XA CN101105762B (en) | 2006-07-12 | 2006-07-12 | Contact intelligent card emulator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610028857XA CN101105762B (en) | 2006-07-12 | 2006-07-12 | Contact intelligent card emulator |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101105762A CN101105762A (en) | 2008-01-16 |
CN101105762B true CN101105762B (en) | 2011-05-18 |
Family
ID=38999668
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200610028857XA Expired - Fee Related CN101105762B (en) | 2006-07-12 | 2006-07-12 | Contact intelligent card emulator |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101105762B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346208B (en) * | 2013-07-31 | 2017-09-15 | 上海华虹集成电路有限责任公司 | Emulator systems and emulation chip |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2453488Y (en) * | 2000-10-19 | 2001-10-10 | 福建省计量科学技术研究所 | IC simulation card |
CN1632762A (en) * | 2003-12-24 | 2005-06-29 | 上海华虹集成电路有限责任公司 | A smart card simulating card |
-
2006
- 2006-07-12 CN CN200610028857XA patent/CN101105762B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2453488Y (en) * | 2000-10-19 | 2001-10-10 | 福建省计量科学技术研究所 | IC simulation card |
CN1632762A (en) * | 2003-12-24 | 2005-06-29 | 上海华虹集成电路有限责任公司 | A smart card simulating card |
Also Published As
Publication number | Publication date |
---|---|
CN101105762A (en) | 2008-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103019991B (en) | Interface system and changing method, USB key and UART terminal | |
US20110314201A1 (en) | Method and device for identifying universal serial bus (usb) insertion or charger insertion of mobile terminal | |
CN103699201B (en) | Multifunctional power-on circuit and Bluetooth product | |
CN103530265B (en) | Realize the device and method of the CF card safe hot plug of electronics | |
CN105468127A (en) | Real-time data acquisition system and power failure data saving circuit and method thereof | |
CN203982116U (en) | A kind of switching on and shutting down control circuit of electronic equipment | |
CN106921192A (en) | Terminal and electricity sharing method | |
CN202693709U (en) | Test tool and test system of electric equipment | |
CN101105762B (en) | Contact intelligent card emulator | |
CN105071489A (en) | Charging method and apparatus of terminal having data exchange function | |
CN101131666B (en) | Contact smart card simulation card | |
CN100465904C (en) | Emulator of contact type intelligent card with USB interface | |
CN102436413B (en) | Debugging system and debugging method of board power supply | |
CN102420899B (en) | Device and method for automatically switching working state of Bluetooth terminal equipment according to working state of mainframe | |
CN116662232A (en) | Electronic equipment and detection method | |
CN102209333B (en) | Power supply control method and equipment | |
WO2016173081A1 (en) | Method and device for implementing connection control | |
CN206595773U (en) | A kind of isolation switch position remote monitoring device | |
CN205319804U (en) | On -off system and electronic equipment | |
CN104950240A (en) | Working voltage segment testing system and testing method for smart card | |
CN204537701U (en) | EEPROM on-line/off-line burning instrument | |
CN209372947U (en) | A kind of power-fail detection circuit | |
CN112467863A (en) | Dual-power switching communication device and method for glucometer | |
CN207663327U (en) | Realize the circuit of DC charging and USB port communication function | |
CN203241993U (en) | Interface system, USB key and UART terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110518 Termination date: 20190712 |
|
CF01 | Termination of patent right due to non-payment of annual fee |