CN201698463U - IC card read-write device - Google Patents

IC card read-write device Download PDF

Info

Publication number
CN201698463U
CN201698463U CN2010202396250U CN201020239625U CN201698463U CN 201698463 U CN201698463 U CN 201698463U CN 2010202396250 U CN2010202396250 U CN 2010202396250U CN 201020239625 U CN201020239625 U CN 201020239625U CN 201698463 U CN201698463 U CN 201698463U
Authority
CN
China
Prior art keywords
card
contact
mcu
interface
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
CN2010202396250U
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.)
Shenzhen Mingte Technology Co., Ltd.
Original Assignee
SHENZHEN MINGTE TECHNOLOGY 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 SHENZHEN MINGTE TECHNOLOGY Co Ltd filed Critical SHENZHEN MINGTE TECHNOLOGY Co Ltd
Priority to CN2010202396250U priority Critical patent/CN201698463U/en
Application granted granted Critical
Publication of CN201698463U publication Critical patent/CN201698463U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The utility model provides an IC card read-write device which comprises an MCU, a contact-type IC card adapter circuit connected with the MCU, and a non-contact IC card adapter circuit connected with the MCU, wherein the contact-type IC card adapter circuit adopts an ISO 7816-1/2/3 protocol to be connected with the MCU and the non-contact IC card adapter circuit adopts an ISO 14443 protocol to be connected with the MCU. The IC card read-write device further comprises a communication adapter circuit connected with the MCU for being connected with host computer equipment, and the communication adapter circuit adopts the ISO 7816-1/2/3 protocol. The MCU simulates the data communication between contact-type and non-contact IC card and the host computer into the data transmission communication between the contact-type IC card and the host computer. Competed with the prior art, the utility model has the advantage that the electrical connection interface of the contact-type IC card reader is utilized to simply realize the reading to the non-contact IC card of the host computer.

Description

A kind of IC-card read-write equipment
Technical field
The utility model relates to a kind of IC-card read-write equipment.
Background technology
Now, along with the high speed development of infotech, the application of Contact Type Ic Card more and more widely simultaneously, is also improving constantly the requirement of its reliability and stability.Be applied to all kinds of card read-write equipments of outdoor occasion at present, influenced by ambient dust and produce the bad phenomenon of read-write.Such as: outdoor IC-card public telephone, IC-card fuel charger, IC-card ATM etc.Dirt on the subscriber card is added in passing in time, causes that easily the contact of card contacts with the bad of read-write equipment contact, causes reading and writing the damage of mistake or read-write equipment and card.
Along with the continuous application of RFID technology, non-contact IC card reliability, convenience advantage are given prominence to, and some industries have adopted non-contact IC card or double-interface IC card to replace original Contact Type Ic Card in order to promote the service level of self.But the original equipment of industry does not have the function of non-contact IC card, need to increase contactless IC card Card Reader circuit and application software thereof, the general circuit interface of also not reserving non-contact IC card, can only be by changing main control board, increase contactless IC card circuit and application software thereof, this transformation and upgrade cost height, difficulty be big, it is wider to involve scope.
The utility model content
Technical problem to be solved in the utility model is on a kind of software and hardware basis of the IC-card card-reading apparatus in existing contact, the equipment that can simultaneously compatible contactless IC-card reads, and require its simple in structure and low in cost.
To this, the utility model provides a kind of IC-card read-write equipment, comprising: MCU, the Contact Type Ic Card adapter circuit that is connected with described MCU, and, be connected with described MUC, with the communication adapter circuit that is used for being connected with host computer equipment; Also comprise: the non-contact IC card adapter circuit that is connected with described MCU; Described Contact Type Ic Card adapter circuit adopts the ISO7816-1/2/3 agreement to be connected with described MCU; Described non-contact IC card adapter circuit adopts the ISO14443 agreement to be connected with described MCU.
In the technique scheme, MCU (Micro Controller Unit, micro-control unit) is the processing unit of core, microprocessor and interface circuit thereof by itself carry out read-write operation to Contact Type Ic Card and non-contact IC card, the emulation Contact Type Ic Card is communicated by letter with the data transmission of carrying out of host computer, can make full use of the signal wire of Contact Type Ic Card read-write equipment in the existing equipment, original Contact Type Ic Card reader device is expanded to the reader device with non-contact IC card read-write card function, and original main control board does not need to change, thereby can reduce the upgrade cost of original equipment.
Preferably, described communication adapter circuit comprises: signal isolation circuit and level adapted circuit; The Vcc interface of described host computer equipment, CLK interface and RST interface are connected respectively to CHK-V interface, CHK-C interface and the CHK-R interface of described level adapted circuit; The I/O interface of described host computer equipment is connected with described signal isolation circuit is two-way, and described signal isolation circuit outputs to the Rx interface of described level adapted circuit, and described signal isolation circuit receives the output of the Rx interface of described level adapted circuit.
Preferably, described communication adapter circuit adopts the ISO7816-3 agreement to be connected with upper computer outside.
Preferably, described MCU is connected with resetting with power supply and crystal oscillator respectively.
Compared with prior art, advantage of the present utility model is, on the basis of the material conditions of the IC-card card-reading apparatus that makes full use of existing contact, and the equipment that can simultaneously compatible contactless IC-card reads, and its simple in structure and low in cost.
Description of drawings
Fig. 1 is the structural representation of a kind of embodiment of the present utility model;
Fig. 2 is a part concrete structure synoptic diagram embodiment illustrated in fig. 1;
Fig. 3 is a kind of workflow synoptic diagram embodiment illustrated in fig. 1;
Fig. 4 is a kind of workflow synoptic diagram embodiment illustrated in fig. 1;
Fig. 5 is a kind of workflow synoptic diagram embodiment illustrated in fig. 1.
Embodiment
Below in conjunction with accompanying drawing, more excellent embodiment of the present utility model is described in further detail:
As shown in Figure 1, a kind of IC-card read-write equipment comprises: MCU, the Contact Type Ic Card adapter circuit that is connected with described MCU, and, be connected with described MUC, with the communication adapter circuit that is used for being connected with host computer equipment.This IC-card read-write equipment also comprises: the non-contact IC card adapter circuit that is connected with described MCU; Described Contact Type Ic Card adapter circuit adopts the ISO7816-1/2/3 agreement to be connected with described MCU; Described non-contact IC card adapter circuit adopts the ISO14443 agreement to be connected with described MCU.
Described MCU is connected with resetting with power supply and crystal oscillator respectively.
As shown in Figure 2, described communication adapter circuit comprises: signal isolation circuit and level adapted circuit; The Vcc interface of described host computer equipment, CLK interface and RST interface are connected respectively to CHK-V interface, CHK-C interface and the CHK-R interface of described level adapted circuit; The I/O interface of described host computer equipment is connected with described signal isolation circuit is two-way, and described signal isolation circuit outputs to the Rx interface of described level adapted circuit, and described signal isolation circuit receives the output of the Rx interface of described level adapted circuit.
Wherein, wherein, Vcc is that the output of host computer power supply, I/O are that I/O serial data, RST are that host computer sends reset signal, CLK is that host computer clock signal, GND are that host computer digitally inserts state with the CardIn card, and the electric signal view is followed ISO7816-3.And the status signal that Vcc, RST, CLK arrive as host computer detects for described MCU; I/O is as asynchronous serial communication input/output signal line, and output comprises the information of CardIn card insertion state etc.; The public ground of GND, CardIn is that high level represents that IC-card inserts or non-contact IC activates, low level represents that IC-card does not insert or do not activate.
Described communication adapter circuit adopts the ISO7816-3 agreement to be connected with upper computer outside.
Vcc, RST, CLK pass through level shifting circuit, signal is converted into status signal CHK-V, CHK-RST, the CHK-CLK of host computer, detect for MCU, I/O is connected input/output signal respectively the asynchronous serial communication UART of MCU by level conversion and Signal Spacing signal receives Rx/ signal output pin, and MCU carries out data transmission by asynchronous serial communication interface and host computer.
By detecting the clock frequency f0 of CHK-CLK signal, determine the initial baud rate (baud rate equals f0/372) of system asynchronous communication.
Data layout is followed the direct convention of 7816-3 standard original character TS structure.
The reset answer data definition for character-oriented data transmission T=0, is defined as TS, T0, TA1, TB1, TD1, TC2, equals 16 system 3B, B0,11,00,40,10 respectively; Above data also can define according to the demand of application system voluntarily for the default reset answer data of suggestion.For towards blocks of data transmission T=1, can define voluntarily according to the 7816-3 standard, this paper will not describe.
Principle of work is as follows:
1) reset answer (ATR), after IC-card insertion or non-contact IC card activation, put CardIn and be high level to host computer represent that IC-card inserts or or non-contact IC activate, after host computer is checked through CardIn and is high level, according to the ISO7816-3 requirement, sending reset answer signal (ATR signal) by the contact signal line responds, this equipment judges whether the reset answer signal of host computer satisfies the ISO7816-3 requirement, if satisfy condition, this device sends reset answer to host computer, and system is set to the data transmission sign; If do not satisfy condition, withdraw from unusually.The process flow diagram of reset answer is referring to Fig. 3.
2) Data Transport Protocol, after reset answer was finished, host computer was according to ISO7816-3, and T=0 agreement and host computer carry out data transmission.For towards blocks of data transmission T=1, can define voluntarily according to the 7816-3 standard, this paper will not describe.
Referring to Fig. 4 is the data transmission flow process figure of T=0.
Receive command message: message comprises the header of five bytes, and the message that has also has data.Host computer sends the order header (for CLA, INS, P1, P2, P3) of five bytes continuously, after this device is received, judge whether P3 equals 0, if being not equal to 0 expression, P3 have follow-up data etc. to be transmitted, loopback process byte INS, after host computer is received INS, 1 remaining data are all given, header and data are referred to as message.Judged whether to return numeral,, started timer 1 if having.
Message is transmitted to IC-card: after receiving message, be transferred to IC-card together with header according to ISO7816-3.After this device is sent completely to IC-card, wait for IC-card response return data;
Loopback IC-card return data: after this device is received the IC-card return data, send the SW1SW2 status word to host computer, SW1SW2==6CXX, XX represent return data length, after host computer is received 6CXX, send C0, and this device sends the IC-card return data continuously.So far data transmission is finished.
Above content be in conjunction with concrete preferred implementation to further describing that the utility model is done, can not assert that concrete enforcement of the present utility model is confined to these explanations.For the utility model person of an ordinary skill in the technical field, under the prerequisite that does not break away from the utility model design, can also make some simple deduction or replace, all should be considered as belonging to protection domain of the present utility model.

Claims (3)

1. IC-card read-write equipment comprises: MCU, the Contact Type Ic Card adapter circuit that is connected with described MCU, and, the non-contact IC card adapter circuit that is connected with described MCU; Described Contact Type Ic Card adapter circuit adopts the ISO7816-1/2/3 agreement to be connected with described MCU; Described non-contact IC card adapter circuit adopts the ISO14443 agreement to be connected with described MCU; It is characterized in that, also comprise: be connected with described MUC, be used for the communication adapter circuit that is connected with host computer equipment, described communication adapter circuit adopts the ISO7816-1/2/3 agreement.
2. IC-card read-write equipment as claimed in claim 1 is characterized in that, described communication adapter circuit comprises: signal isolation circuit and level adapted circuit; The Vcc interface of described host computer equipment, CLK interface and RST interface are connected respectively to CHK-V interface, CHK-C interface and the CHK-R interface of described level adapted circuit; The I/O interface of described host computer equipment is connected with described signal isolation circuit is two-way, and described signal isolation circuit outputs to the Rx interface of described level adapted circuit, and described signal isolation circuit receives the output of the Rx interface of described level adapted circuit.
3. IC-card read-write equipment as claimed in claim 1 or 2 is characterized in that, described communication adapter circuit adopts the ISO7816-3 agreement to be connected with upper computer outside.
CN2010202396250U 2010-06-28 2010-06-28 IC card read-write device Expired - Lifetime CN201698463U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010202396250U CN201698463U (en) 2010-06-28 2010-06-28 IC card read-write device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010202396250U CN201698463U (en) 2010-06-28 2010-06-28 IC card read-write device

Publications (1)

Publication Number Publication Date
CN201698463U true CN201698463U (en) 2011-01-05

Family

ID=43399710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010202396250U Expired - Lifetime CN201698463U (en) 2010-06-28 2010-06-28 IC card read-write device

Country Status (1)

Country Link
CN (1) CN201698463U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104992203A (en) * 2015-07-30 2015-10-21 深圳市铭特科技有限公司 IC card reading-writing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104992203A (en) * 2015-07-30 2015-10-21 深圳市铭特科技有限公司 IC card reading-writing apparatus
CN104992203B (en) * 2015-07-30 2018-01-30 深圳市铭特科技有限公司 A kind of IC-card read-write equipment

Similar Documents

Publication Publication Date Title
US20150156089A1 (en) Data communication interface
CN101101638A (en) Smart card including a plurality of different interfaces
CN101908157B (en) NFC-SIM (Near Field Communication-Subscriber Identity Module) chip
CN106358179B (en) Switching circuit and switching method for Subscriber Identity Module (SIM) card
WO2006137363A1 (en) Data communication system, device for executing ic card function, control method for the device, and information processing terminal
TWI449356B (en) Detachable wireless communication module and method for using the same
CN201583984U (en) Separable non-contact card device
CN101086763B (en) A collaborative working method between RFID reader
CN202102425U (en) Port conversion device
CN201698463U (en) IC card read-write device
CN102148631A (en) Dismountable wireless communication module and startup method thereof
CN201820218U (en) Host system and data transmission circuit
CN201408439Y (en) External smart card
US9852411B2 (en) Card payment apparatus
CN101882231B (en) RFID (Radio Frequency Identification Devices) reader-writer and data transmission method thereof
CN104102935A (en) Method and auxiliary device used for assisting mobile host in realizing feature information interaction
CN201004233Y (en) A RF card reading device with RS485 interface
CN209044798U (en) Recharging device based on near-field communication
CN208077203U (en) Multifunction IC card recognizes machine
CN203054881U (en) Radio-frequency card reader writer based on single-chip microcomputer
CN202189372U (en) Passive RFID (radio frequency identification) reader
CN204390244U (en) Identity card reading device
CN201638223U (en) IC (Integrated Circuit) card reader meeting PC/SC (Personal Computer/Smart Card) and CCID (USB Chip/Smart Card Interface Devices) intelligent card interface protocol
CN112866968B (en) NFC technology-based non-contact cabinet opening method
CN201465148U (en) Radio-frequency card read/write device

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 518057, Guangdong, Shenzhen hi tech Industrial Park North District, micro motor building, 4 floor (South)

Patentee after: SHENZHEN MINGTE TECH CO., LTD.

Address before: 518057, Guangdong, Shenzhen hi tech Industrial Park North District, micro motor building, 4 floor (South)

Patentee before: Shenzhen Mingte Technology Co., Ltd.

Address after: 518057, Guangdong, Shenzhen hi tech Industrial Park North District, micro motor building, 4 floor (South)

Patentee after: SHENZHEN MINGTE TECH CO., LTD.

Address before: 518057, Guangdong, Shenzhen hi tech Industrial Park North District, micro motor building, 4 floor (South)

Patentee before: Shenzhen Mingte Technology Co., Ltd.

CP01 Change in the name or title of a patent holder

Address after: 518057, Guangdong, Shenzhen hi tech Industrial Park North District, micro motor building, 4 floor (South)

Patentee after: Shenzhen Mingte Technology Co., Ltd.

Address before: 518057, Guangdong, Shenzhen hi tech Industrial Park North District, micro motor building, 4 floor (South)

Patentee before: SHENZHEN MINGTE TECH CO., LTD.

Address after: 518057, Guangdong, Shenzhen hi tech Industrial Park North District, micro motor building, 4 floor (South)

Patentee after: Shenzhen Mingte Technology Co., Ltd.

Address before: 518057, Guangdong, Shenzhen hi tech Industrial Park North District, micro motor building, 4 floor (South)

Patentee before: SHENZHEN MINGTE TECH CO., LTD.

CP01 Change in the name or title of a patent holder
CX01 Expiry of patent term

Granted publication date: 20110105

CX01 Expiry of patent term