CN206041170U - Adapter and quick -witted communication system of card - Google Patents

Adapter and quick -witted communication system of card Download PDF

Info

Publication number
CN206041170U
CN206041170U CN201621031524.8U CN201621031524U CN206041170U CN 206041170 U CN206041170 U CN 206041170U CN 201621031524 U CN201621031524 U CN 201621031524U CN 206041170 U CN206041170 U CN 206041170U
Authority
CN
China
Prior art keywords
card
adapter
contact
conductive
interface
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.)
Active
Application number
CN201621031524.8U
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.)
Beijing WatchData System Co Ltd
Beijing WatchSmart Technologies Co Ltd
Original Assignee
Beijing WatchSmart Technologies 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 Beijing WatchSmart Technologies Co Ltd filed Critical Beijing WatchSmart Technologies Co Ltd
Priority to CN201621031524.8U priority Critical patent/CN206041170U/en
Application granted granted Critical
Publication of CN206041170U publication Critical patent/CN206041170U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model discloses an adapter and quick -witted communication system of card, the adapter includes that main control chip reads card contact with being used for with the IC card contact of IC -card is connected, a last communication interface and the USB interface of being equipped with of main control chip, a communication interface with read card contact and be connected, the adapter is still including being used for making main control chip to judge the card detection structure of reading card contact and whether being connected with IC card contact according to level fluctuation, the card detects structure and main control chip's GPIO pin connection, a communication interface is SPI interface and/or UART interface. Adopt the utility model provides an adapter and quick -witted communication system of card can effectively solve current switching equipment, extracts the back at the IC -card, still shows the problem of IC -card relevant information at the primary device end, has effectively improved user experience.

Description

A kind of adapter and card machine communication system
Technical field
This utility model is related to IC-card communication technical field, and in particular to a kind of adapter and card machine communication system.
Background technology
With developing rapidly for electronic communication, the function of intellective IC card is also more and more, as intelligent outward appearance is similar to Ordinary financial IC-card, can be placed in wallet or pocket, is convenient for carrying, and the user of intellective IC card is also more and more.
In order to meet the needs of network bank business, can realize that the IC-card of Net silver KEY functions has also occurred, for example, cassette Bluetooth equipment, its outward appearance equally similar and financial IC card, includes safety chip, bluetooth module, liquid crystal display, power supply mould Block and user key-press etc., user can realize the communication of bluetooth card-type device and PC by USB patchcords, complete USB piece Act process, completes the functions such as network bank business.But what in actual use, some users were accustomed to does not extract after transaction is completed The USB patchcords of PC end insertion, PC end still can be by card apparatus presentation of information the setting at PC end for enumerating out In standby list or Net silver client still can show card apparatus information, and now tabulating equipment has been extracted, and this causes and reality Border situation does not meet, and affects Consumer's Experience.
Utility model content
For drawbacks described above present in prior art and the needs of practical application, the purpose of this utility model is to provide A kind of adapter, card machine communication system and method, can greatly improve user by the adapter and card machine communication system method Experience.
For achieving the above object, the technical scheme adopted by this utility model is as follows:
A kind of adapter, including main control chip and for the Card Reader contact with the IC-card contact portion of IC-card, the master control Chip is provided with the first communication interface and USB interface, first communication interface and Card Reader contact portion;The adapter is also wrapped Include for making main control chip judge that structure is detected with the card of IC-card contact portion in Card Reader contact whether according to level change, it is described Card detection structure is connected with the GPIO pins of main control chip;First communication interface is SPI interface and/or UART interface.
Further, adapter as above, the card detection structure include first be connected with the GPIO pins Conductive structure, first conductive structure are connected with pull-up power supply interface by pull-up resistor, and the IC-card is provided with second and leads Electric structure, the second conductive structure are connected with the ground of the pcb board of IC-card, and when IC-card contact is with the Card Reader contact portion, first leads Electric structure is connected with the second conductive structure.
Further, adapter as above, first conductive structure are the first contact, and second conductive structure is Second contact;Or, first conductive structure is the first conducting magnetic iron, and the second conductive structure is the first iron plate.
Further, adapter as above, card detection structure include the second conducting magnetic iron and with GPIO pins 3rd conducting magnetic iron of connection, the 3rd conducting magnetic iron are connected with the second pull-up power supply interface by the second pull-up resistor;Institute The second iron plate and the 3rd iron plate that IC-card is provided with electrical connection is stated, when IC-card contact is with the Card Reader contact portion, second is conductive Magnet is connected with the second iron plate, and the 3rd conducting magnetic iron is connected with the 3rd iron plate;The second pull-up power supply interface is USB interface The power interface of power interface or main control chip.
Further, the shape of adapter as above, second conducting magnetic iron and the 3rd conducting magnetic iron is different.
Further, adapter as above, the USB interface are connected with PC.
This utility model additionally provides a kind of card machine communication system, including IC-card and PC, also including the adapter, turns The first communication interface for connecing device passes through the IC-card contact portion of Card Reader contact and the IC-card, and USB interface is connected with PC.
The beneficial effects of the utility model are:Adapter provided by the utility model and card machine communication system, in IC When card is as adapter is passed through with usb communication main equipment from equipment, by adapter first by judging whether IC-card has connected USB enumeration is carried out to trigger usb communication main equipment and whether communicate with IC-card, the just meeting only when IC-card has been coupled to adapter At main equipment end, triggering enumeration process, still can show that IC-card is related in the existing interconnecting device of effectively solving, after IC-card is extracted The problem of information, effectively increases Consumer's Experience.
Description of the drawings
A kind of structural representation of adapters of the Fig. 1 for providing in this utility model specific embodiment;
Fig. 2 is a kind of structural representation of card detection structure in this utility model specific embodiment;
Fig. 3 is the part-structure schematic diagram of IC-card corresponding with card detection structure in Fig. 2;
Fig. 4 is a kind of structural representation of the first conductive structure in this utility model specific embodiment;
Fig. 5 is a kind of structural representation of the second conductive structure corresponding with the first conductive structure in Fig. 4;
Fig. 6 is the another kind structural representation of the first conductive structure in this utility model specific embodiment;
Fig. 7 is a kind of structural representation of the second conductive structure corresponding with the first conductive structure in Fig. 6;
Fig. 8 is another kind of structural representation of card detection structure in this utility model specific embodiment;
Fig. 9 is the part-structure schematic diagram of IC-card corresponding with card detection structure in Fig. 8;
Figure 10 is a kind of structural representation of card machine communication system in this utility model specific embodiment.
Specific embodiment
This utility model is described in further detail with specific embodiment with reference to Figure of description.
A kind of structural representation of adapter that Fig. 1 is provided in showing this utility model specific embodiment, by figure As can be seen that the adapter includes main control chip MCU 10 and for the Card Reader contact 20 with the IC-card contact portion of IC-card 40, On the main control chip, 10 are provided with the first communication interface 11 and usb 12, first communication interface 11 and Card Reader contact 20 Connection;The adapter also include for make main control chip 10 according to level change judge Card Reader contact 20 whether with IC-card contact Universal input/output GPIO the pins 13 of the card detection structure 30 of connection, the card detection structure 30 and main control chip 10 Connection.
In present embodiment, first communication interface 11 include but is not limited to SPI interface and/or UART interface and/or IIC interfaces and/or SWD interfaces, it is contemplated that the stability of communication, it may be preferred to SPI interface.For different communication interface shapes Formula, due to can be with common contact under different communication mode, the Card Reader contact 20 can only need to six contacts, such as institute in Fig. 1 The contact for showing 1.~6., function of each contact under different communication mode can carry out self-defined as needed.
In present embodiment, Card Reader contact 20 includes but is not limited to Magnetic suction thread form or card with the connected mode of IC-card contact Grafting form of the A seating with shell fragment.IC-card 40 includes the card-type device with IC-card contact of multi-form, for example, with bluetooth The cassette bluetooth equipment and the financial IC card of other forms of main control chip and safety chip.
By card, adapter described in present embodiment, its main control chip 10 detect that structure 30 is realized to whether by IC-card The judgement of access, using the adapter, when USB main equipment (such as PC) is connected with adapter by usb communication mode, switching Device can be by judging whether, by accessing as the IC-card from equipment, to trigger whether main equipment carries out the process of USB enumeration, i.e., When adapter is judged to have IC-card to access, just trigger USB enumeration process, so as to solve when communication is completed, from equipment with The problem that card apparatus information is still shown at main equipment end when adapter is disconnected but adapter is not disconnected with main equipment.
Fig. 2 shows that card described in one embodiment of this utility model detects the structural representation of structure 30, and Fig. 3 shows The part-structure schematic diagram of 31 corresponding IC-card of structure is detected with card described in Fig. 2, in the embodiment, the card detection knot Structure 30 includes the first conductive structure 31 being connected with the GPIO pins 13, and first conductive structure 31 is by the first pull-up electricity Resistance 32 is connected with the first pull-up power supply interface 33, and now, the IC-card 40 is provided with the second conductive structure 41, the second conductive structure 41 are connected with the ground 42 of the pcb board of IC-card 40, when IC-card contact is connected with the Card Reader contact 20, the first conductive structure 31 and Two conductive structures 41 connect;Power interface or master control core of the first pull-up power supply interface 33 for the usb 12 of adapter The power interface of piece 10.
Wherein, the concrete form of first conductive structure 31 can be configured according to actual needs, such as Fig. 4 and Fig. 6 For the structural representation of two kind of first conductive structure 31 provided in present embodiment, Fig. 5 and Fig. 7 for respectively with Fig. 4 and Fig. 6 In corresponding second conductive structure of the first conductive structure schematic diagram.In Fig. 4, first conductive structure 31 can be touched for first Point 311, corresponding, second conductive structure 41 of IC-card 40 is the second contact 411, as shown in Figure 5;In Fig. 6, described first Conductive structure 31 is the first conducting magnetic iron 312, corresponding, and the second conductive structure 41 is the first iron plate 412, as shown in Figure 7.
From being described above, when communicating with IC-card, Card Reader contact 20 meets requirement by only needing to six to adapter, Therefore, for the employing contact shown in Fig. 2 and Fig. 4 is used as the scheme of the first conductive structure, can directly with reserved on IC-card One of contact as the second contact 411, on adapter it is corresponding setting the first contact 311.Described first is conductive The shape of Magnet 312 and the first iron plate 412 is including but not limited to oval, circular, square or semicircle etc..
Using the card detection structure 30 shown in Fig. 2, when IC-card 40 is not connected with adapter, the first conductive structure 31 In high level, when IC-card 40 is connected with adapter, the first conductive structure 32 is in low level, therefore, main control chip 10 can It is that high level or low level realize the judgement whether accessed to IC to pass through its GPIO pin 13.
It should be noted that the high level and low level are relative low and high level, low level ground connection is theoretically 0, High level is determined by the magnitude of voltage of the first pull-up power supply interface 33.
Fig. 8 show card described in another embodiment of this utility model detect structure 30 structural representation, Fig. 9 be with Card described in Fig. 8 detects the part-structure schematic diagram of 30 corresponding IC-card of structure, and in the embodiment, the card detects structure 30 the 3rd conducting magnetic irons 35 for including the second conducting magnetic iron 34 and being connected with GPIO pins 13, the 3rd conducting magnetic iron 34 are passed through Second pull-up resistor 36 is connected with the second pull-up power supply interface 37, and now, the IC-card 40 is provided with the second iron plate of electrical connection 42 and the 3rd iron plate 43, when IC-card contact is connected with the Card Reader contact 20, the second conducting magnetic iron 34 is connected with the second iron plate 42, 3rd conducting magnetic iron 35 is connected with the 3rd iron plate 43;The second pull-up power supply interface 37 for usb 12 power interface or The power interface of main control chip 10.
In actual applications, obscuring in order to avoid the second conducting magnetic iron 34 and the 3rd conducting magnetic iron 35, the second conductive magnetism Ferrum 42 and the 3rd conducting magnetic iron 43 can select different shapes.What the second iron plate 42 and the 3rd iron plate 43 were electrically connected implements The two ends of the paster for example, it may be directly adopting an iron plate, can be connected respectively to the second ferrum by structure in different ways On piece 42 and the 3rd iron plate 43, naturally it is also possible to which the second iron plate 42 and the 3rd iron plate 43 are directly made the overall knot of a UNICOM Structure.
Using the card detection structure 30 shown in Fig. 8, when IC-card 40 is not connected with adapter, the 3rd conducting magnetic iron 35 In high level, when IC-card 40 is connected with adapter, the second conducting magnetic iron 34 is connected with the 3rd conducting magnetic iron 35, and the 3rd is conductive Magnet 35 is in low level, therefore, main control chip 10 can be high level by its GPIO pin 13 or low level realize it is right The judgement whether IC accesses.
Likewise, the high level and low level are relative low and high level, low level ground connection is theoretically 0, high level Determined by the magnitude of voltage of the second pull-up power supply interface 37.
In present embodiment, first iron plate, the second iron plate, the 3rd iron plate are antioxidation iron plate, prevent exposed Air in get rusty.
It should be noted that in Fig. 4-Fig. 9, the pattern of card detection structure 30 is not unique, example in present embodiment Such as, for the set location of the first conducting magnetic iron 312 and the first iron plate 412 shown in Fig. 6 and Fig. 7 can be selected as needed Select, as long as ensureing when adapter is connected with IC, on the premise of Card Reader contact is connected one to one with IC-card contact, first is conductive Magnet 312 corresponding can be connected with the first iron plate 412.
This utility model additionally provides a kind of machine cartoon letters system, and as shown in Figure 10, the communication system includes 40 He of IC-card PC 50, also including the adapter, the first communication interface 11 of adapter passes through the IC of Card Reader contact 20 and the IC-card 40 Card contact portion, usb 10 are connected with PC 50.
In the communication system, adapter is responsible for connecting the IC-card and PC, and PC is responsible for the connection with adapter, when When IC-card is connected on adapter, effect one is that PC carries out data interaction by adapter and IC-card, and two is by USB Interface is the USB voltages that adapter can provide 5V.
Based on described card base communication system, a kind of card machine communication means, the method bag in present embodiment, is additionally provided Include following steps:
The USB interface of adapter is connected with PC;
The main control chip of adapter judges whether its Card Reader contact is connected with IC-card, and if so, then main control chip controls its USB The correction data line D+ pull-up of interface enables the USB enumeration process that triggering PC and IC-card complete IC-card by adapter.
In present embodiment, the main control chip of adapter judges a kind of mode whether its Card Reader contact is connected with IC-card For:
Main control chip sends setting command information by the first communication interface and Card Reader, judges whether to connect in setting time Response message corresponding with the setting command information is received, if so, then Card Reader contact is connected with IC-card, if it is not, being then not connected with.
The main control chip of adapter judges whether the another way being connected with IC-card is for its Card Reader contact:
Main control chip monitors the voltage that its card detects structure, if voltage is high voltage, Card Reader contact is connected with IC-card position Connect, if voltage is low-voltage, Card Reader contact is connected with IC-card;The high voltage and low-voltage are relative high voltage and low electricity Pressure.
Above-mentioned card machine communication means provided in present embodiment, adapter is by judging whether IC-card is connected with which Connect, trigger whether PC carries out USB enumeration process, specifically, when adapter judges that IC-card is connected with adapter, its Main control chip is enabled by the USB_D+ pull-up of controller USB interface, so that having one on the USB_D+ of the USB interface at PC end Individual high level, PC end have then been taken as equipment and have inserted, and triggering PC carries out data interaction by adapter and IC-card, completes The enumeration process of USB interface.The card machine communication means in the present embodiment, as USB enumeration process is triggering by adapter Complete, if no IC-card is accessed or IC-card is extracted, adapter just will not trigger enumeration process, just will not show on PC end Show correlation IC-card in information, therefore, even if user is after communication process is completed, by IC-card extract from adapter disconnect But adapter is not extracted from PC, PC end also will not continue to the information in display IC-card.
For different types of IC-card, USB enumeration process is also different in the enumerations information that PC end shows, for example, For Net silver IC-card, in USB enumeration, PC read from IC-card except IC-card facility information (device name, software version number Deng the information that PC can be recognized, for guiding distinct program) outward, will also include the built-in Flash storages of the MCU from card The Net silver visitor of the Net silver client installation kit of each bank read in module or external Flash memory modules and/or each bank Family end installation kit downloads web page index information etc..
Obviously, those skilled in the art can carry out various changes and modification without deviating from this practicality to this utility model New spirit and scope.So, if it is of the present utility model these modification and modification belong to this utility model claim and Within the scope of its equivalent technology, then this utility model is also intended to comprising these changes and modification.

Claims (7)

1. a kind of adapter, it is characterised in that:Including main control chip (10) and for the IC-card contact portion of IC-card (40) Card Reader contact (20), main control chip (10) are provided with the first communication interface (11) and USB interface (12), first communication Interface (11) is connected with Card Reader contact (20);The adapter is also included for making main control chip (10) be judged according to level change Card Reader contact (20) whether with IC-card contact portion card detection structure (30), card detection structure (30) and master control core GPIO pins (13) connection of piece (10).
2. a kind of adapter according to claim 1, it is characterised in that:Card detection structure (30) include with it is described The first conductive structure (31) that GPIO pins (13) connect, described first conductive structure (31) are by pull-up resistor (32) and pull-up Power interface (33) connects, and the IC-card is provided with the pcb board of the second conductive structure (41), the second conductive structure (41) and IC-card (42) ground connection, when IC-card contact be connected with Card Reader contact (20), the first conductive structure (31) and the second conductive structure (41) connect;The power interface of described pull-up power supply interface (33) for the power interface or main control chip (10) of USB interface (12).
3. a kind of adapter according to claim 2, it is characterised in that:Described first conductive structure (31) are the first contact (311), described second conductive structure (41) are the second contact (411);Or, described first conductive structure (31) are first conductive Magnet (312), the second conductive structure (41) are the first iron plate (412).
4. a kind of adapter according to claim 1, it is characterised in that:Card detection structure (30) is led including second Electric magnet (34) and the 3rd conducting magnetic iron (35) being connected with GPIO pins (13), the 3rd conducting magnetic iron (35) pass through second Pull-up resistor (36) is connected with the second pull-up power supply interface (37);IC-card (40) are provided with second iron plate (42) of electrical connection With the 3rd iron plate (43), when IC-card contact is connected with Card Reader contact (20), the second conducting magnetic iron (34) and the second iron plate (42) connect, the 3rd conducting magnetic iron (35) is connected with the 3rd iron plate (43);Described second pull-up power supply interface (37) are USB interface (12) power interface or the power interface of main control chip (10).
5. a kind of adapter according to claim 4, it is characterised in that:It is second conducting magnetic iron (34) and the 3rd conductive The shape of Magnet (35) is different.
6. a kind of adapter according to one of claim 1 to 5, it is characterised in that:USB interface (12) are connected with PC Connect.
7. a kind of card machine communication system based on the adapter described in one of claim 1 to 6, including IC-card (40) and PC (50), it is characterised in that:Also include the adapter, first communication interface (11) of adapter passes through Card Reader contact (20) and institute The IC-card contact portion of IC-card (40) is stated, USB interface (12) is connected with PC (50).
CN201621031524.8U 2016-08-31 2016-08-31 Adapter and quick -witted communication system of card Active CN206041170U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201621031524.8U CN206041170U (en) 2016-08-31 2016-08-31 Adapter and quick -witted communication system of card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201621031524.8U CN206041170U (en) 2016-08-31 2016-08-31 Adapter and quick -witted communication system of card

Publications (1)

Publication Number Publication Date
CN206041170U true CN206041170U (en) 2017-03-22

Family

ID=58299237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201621031524.8U Active CN206041170U (en) 2016-08-31 2016-08-31 Adapter and quick -witted communication system of card

Country Status (1)

Country Link
CN (1) CN206041170U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106229767A (en) * 2016-08-31 2016-12-14 北京握奇智能科技有限公司 A kind of adapter, card machine communication system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106229767A (en) * 2016-08-31 2016-12-14 北京握奇智能科技有限公司 A kind of adapter, card machine communication system and method
CN106229767B (en) * 2016-08-31 2018-09-04 北京握奇智能科技有限公司 A kind of adapter, card machine communication system and method

Similar Documents

Publication Publication Date Title
CN201387639Y (en) Card reader and mobile payment terminal
CN104063348B (en) Realize the device and method of compatible USB communications and voice communication
CN107453428A (en) A kind of method of automatic identification apple and Android device
CN206041170U (en) Adapter and quick -witted communication system of card
CN204028959U (en) A kind of portable IC card supplements read write line with money
CN204925691U (en) Safety control module detection device
CN106229767B (en) A kind of adapter, card machine communication system and method
CN106358179B (en) Switching circuit and switching method for Subscriber Identity Module (SIM) card
CN105677596A (en) Control method and electronic equipment
CN104102935A (en) Method and auxiliary device used for assisting mobile host in realizing feature information interaction
CN205486138U (en) Card circuit is read to SIM card
CN207302113U (en) Chargeable smart card charging system, smart card and card reader
CN203941532U (en) A kind of portable IC card read-write equipment
CN207677833U (en) A kind of Portable acquiring equipment SIM card detection device
CN111049226A (en) One-to-many quick-charging wire and quick-charging method
CN205028316U (en) RFID read write line based on intelligent terminal
CN206039701U (en) Data communication system of IC -card table
CN204390244U (en) Identity card reading device
CN206870877U (en) A kind of electric automobile charging pile intelligent management system based on DSP technologies
CN204155357U (en) The self-service usb data interchanger of checking meter of the hot intelligent meter of a kind of electricity-water-gas
TWI291660B (en) Fast IC card inspection system of smart type and portable type
CN202142070U (en) Multi-functional card reader
CN201387640Y (en) Mobile payment terminal
CN201732437U (en) Radio-frequency intelligent card-swiping device for on-site payment
CN206741499U (en) A kind of IC-card card reader

Legal Events

Date Code Title Description
GR01 Patent grant
C14 Grant of patent or utility model