CN211979664U - Intelligent key device supporting card reading - Google Patents

Intelligent key device supporting card reading Download PDF

Info

Publication number
CN211979664U
CN211979664U CN202020368050.6U CN202020368050U CN211979664U CN 211979664 U CN211979664 U CN 211979664U CN 202020368050 U CN202020368050 U CN 202020368050U CN 211979664 U CN211979664 U CN 211979664U
Authority
CN
China
Prior art keywords
pin
switch
mcu
module
usb
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
CN202020368050.6U
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.)
Tendyron Corp
Original Assignee
Tendyron Corp
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 Tendyron Corp filed Critical Tendyron Corp
Priority to CN202020368050.6U priority Critical patent/CN211979664U/en
Application granted granted Critical
Publication of CN211979664U publication Critical patent/CN211979664U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Set Structure (AREA)

Abstract

The utility model provides a support intelligent key equipment of reading card, include: intelligent secret key equipment body and adapter, intelligent secret key equipment body includes: the device comprises an MCU, a battery, a first switch, a Bluetooth module and a USB socket; the adapter includes: the USB plug, the second switch, the NFC module and the sound code module; through the embodiment of the utility model provides a support intelligent key equipment of reading card can increase the function of reading card under the prerequisite that does not change form, structure and the function of original intelligent key equipment, has expanded intelligent key equipment's function.

Description

Intelligent key device supporting card reading
Technical Field
The utility model relates to the field of electronic technology, especially, relate to a support intelligent key equipment of reading card.
Background
The intelligent Key equipment is also called as USB-Key, is equipment supporting the security operation of the online banking, can provide functions such as electronic signature and the like, and can be called as U shield in an industrial and commercial bank and called as K treasure in an agricultural bank.
The existing intelligent key equipment generally comprises an equipment body and an adapter, an MCU (micro controller Unit) is arranged in the equipment body, authentication can be executed, functions such as electronic signature and the like are realized, a USB (Universal Serial Bus) socket is generally arranged on the intelligent key equipment, the adapter generally comprises a USB plug matched with the intelligent key equipment body, and a USB plug matched with a computer USB interface and/or a sound code interface (namely an earphone connector) matched with a mobile phone earphone socket, the intelligent key equipment can be connected with the USB interface of a computer or the earphone interface of a mobile phone through the adapter, and the safety of app related operations of an online bank or a mobile phone bank is guaranteed.
However, as banks increasingly require card reading services, such as reading identity cards or reading bank card information, how to extend the card reading services on the existing smart key device without changing the form and function of the existing smart key device becomes an urgent issue to be solved.
SUMMERY OF THE UTILITY MODEL
The present invention aims to solve one of the above problems.
A primary object of the present invention is to provide an intelligent key device supporting card reading.
In order to achieve the above object, the technical solution of the present invention is specifically realized as follows:
an aspect of the utility model provides a support intelligent key equipment of reading card, include: intelligent secret key equipment body and adapter, wherein: the intelligent key device body comprises: the device comprises an MCU, a battery, a first switch, a Bluetooth module and a USB socket; a first IO pin of the MCU is connected with a first data line D + pin of the USB socket, a third IO pin of the MCU is connected with a second data line D-pin of the USB socket, and a second IO pin of the MCU is connected with a state ID pin of the USB socket; the first end of the first switch is connected with the anode of the battery, the second end of the first switch is connected with a VCC (voltage converter) pin of the USB socket, the control end of the first switch is connected with the fourth IO pin of the MCU, and the first switch is connected or disconnected between the first end of the first switch and the second end of the first switch through a first control signal received by the control end of the first switch; the Bluetooth module is electrically connected with the MCU; the adapter includes: the USB plug, the second switch, the NFC module and the sound code module; the first pin of the first end of the second switch is connected with a first data line D + pin of the USB plug, the second pin of the first end of the second switch is connected with a second data line D-pin of the USB plug, the first pin of the second end of the second switch is connected with an SCL pin of the NFC module, the second pin of the second end of the second switch is connected with an SDA pin of the NFC module, the first pin of the third end of the second switch is connected with an IN pin of the sound code module, the second pin of the third end of the second switch is connected with an OUT pin of the sound code module, the control end of the second switch is connected with a state ID pin of the USB plug, and the second switch is communicated with the connection between the first end of the second switch and the second end of the second switch or the connection between one end of the second switch and the second end of the second switch through a second control signal received by the control end of the second switch.
The detection end of the sound code module is also connected with a state ID pin of the USB plug, and a detection audio interface access instruction is sent to the MCU through the state ID pin of the USB plug.
By the foregoing the technical scheme the utility model provides a can see out, through the embodiment of the utility model provides a support the intelligent key equipment of reading the card, can increase the function of reading the card under the prerequisite that does not change form, structure and the function of original intelligent key equipment, expanded intelligent key equipment's function.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of a smart key device supporting card reading according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention are clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiment of the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are used merely for convenience of description and for simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or quantity or location.
In the description of the present invention, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
The core of the utility model lies in: an NFC module is arranged in an adapter of the intelligent key device to realize a card reading function, and I2C (Inter-Integrated Circuit) data transmission is realized through a USB interface, so that the card reading function is realized on the existing intelligent key device, and the form and the function of the existing intelligent key device are not required to be changed.
Fig. 1 shows the schematic diagram of the intelligent key device supporting card reading provided by the embodiment of the present invention, referring to fig. 1, the embodiment of the present invention provides an intelligent key device supporting card reading, including: intelligent secret key equipment body and adapter, wherein:
the intelligent key device body comprises: the device comprises an MCU, a battery, a first switch, a Bluetooth module and a USB socket;
a first IO pin of the MCU is connected with a first data line D + pin of the USB socket, a third IO pin of the MCU is connected with a second data line D-pin of the USB socket, and a second IO pin of the MCU is connected with a state ID pin of the USB socket;
the first end of the first switch is connected with the anode of the battery, the second end of the first switch is connected with a VCC (voltage converter) pin of the USB socket, the control end of the first switch is connected with the fourth IO pin of the MCU, and the first switch is connected or disconnected between the first end of the first switch and the second end of the first switch through a first control signal received by the control end of the first switch;
the Bluetooth module is electrically connected with the MCU;
the adapter includes: the USB plug, the second switch, the NFC module and the sound code module;
a first pin of a first end of a second switch is connected with a D + pin of a first data line of the USB plug, a second pin of the first end of the second switch is connected with a D-pin of a second data line of the USB plug, a first pin of a second end of the second switch is connected with an SCL pin of the NFC module, a second pin of the second end of the second switch is connected with an SDA pin of the NFC module, a first pin of a third end of the second switch is connected with an IN pin of the sound code module, a second pin of the third end of the second switch is connected with an OUT pin of the sound code module, a control end of the second switch is connected with a state ID pin of the USB plug, and the second switch is communicated with the connection between the first end of the second switch and the second end of the second switch or the connection between one end of the second switch and the second end of the second switch through a second control signal received by the control end of the second switch;
MCU for establish the bluetooth through bluetooth module and be connected with the bluetooth at terminal, acquire the instruction of getting into the card of reading through bluetooth module, send the intercommunication instruction through fourth IO pin, control the first end of first switch and the second end intercommunication of first switch, supply power for the NFC module through the battery, send control instruction through second IO pin, control the first end of second switch and the second end intercommunication of second switch, carry out the card flow of reading through the NFC module, utilize I2C communication protocol to read data from the register of NFC module through first IO pin and third IO pin, obtain the card information of reading, will read the card information transmission to terminal through bluetooth module.
Specifically, the embodiment of the utility model provides an intelligent secret key equipment body has USB socket, and this USB socket generally adopts the USB interface of B-5pin type, can reduce intelligent secret key equipment's volume, when needs are connected with computer or cell-phone, and intelligent secret key equipment body is connected through the adapter, has the USB plug that matches with the USB socket of intelligent secret key equipment body on the adapter, and has the USB plug that matches with USB socket on the computer, has the headphone plug who matches with cell-phone headphone socket, simultaneously, the utility model provides an embodiment still sets up bluetooth module in the intelligent secret key equipment body, this bluetooth module can with MCU integration in a chip, also can set up alone, this is in the utility model discloses do not do specific restriction. The intelligent key equipment body can also be connected with the mobile phone bank app through the Bluetooth module to realize the functions of the intelligent key equipment body.
In order to expand the function of intelligent secret key equipment, the utility model discloses in, built-in NFC (Near Field Communication) module in the adapter, wherein the NFC module can include coil and chip, and the chip can adopt reading head chip NZ3801 to realize, and this is in the utility model discloses in do not do specific restriction, as long as can realize reading the chip of card function and accessory and all should belong to the utility model discloses a protection range can utilize the NFC module to realize reading the card function from this.
In addition, because the intelligent key device body only has a USB socket, data communication of various functions provided on the adapter should be realized through the USB interface, that is, no matter audio data or USB data or card reading data, transmission is performed through the USB interface, that is, the USB interface can transmit data of an audio protocol, data of an I2C protocol, and data of a USB protocol.
Set up first switch in intelligent key equipment body, MCU can control the battery and supply power for the adapter through the USB interface through the intercommunication and the disconnection of control first switch. During normal use, the use of sound code module and NFC module all need utilize the battery power supply, at this moment, can control through MCU. The first switch may be implemented by an LDO (low dropout regulator), and the MCU may send a control signal to a control end of the first switch through the fourth IO pin to control connection and disconnection of the first switch.
In addition, the MCU is respectively connected with a first data line D + pin and a second data line D-pin of the USB socket through the first IO pin and the second IO pin, so that data transmission and reception are performed by using the first IO pin and the second IO pin.
The MCU is connected with the state ID pin of the USB socket through the second IO pin, the second switch of the adapter can be controlled, and the MCU sends a control signal to the state ID pin of the USB socket to control the second switch to be connected to the NFC module or the sound code module. When the second switch is connected to the NFC module, the NFC module is connected with a first data line D + pin through an SCL pin, the NFC module is connected with a second data line D-pin through an SDA pin, when the second switch is connected to the sound code module, the sound code module is connected with the first data line D + pin through an IN pin, and the sound code module is connected with the second data line D-pin through an OUT pin, so that data sending and receiving are carried OUT. The second switch can adopt the switch chip to realize, and the switch chip passes through MCU and sends high level signal or low level signal through USB socket's state ID pin and realizes the control to the second switch, is worth explaining, and is different according to the type of switch chip, can design different peripheral circuit and realize the control to the second switch, and this is in the utility model discloses in do not do specific restriction.
As an optional implementation manner of the embodiment of the present invention, not shown in the figure, the detection end of the sound code module is further connected to the state ID pin of the USB plug, and sends a detection audio interface access instruction to the MCU through the state ID pin of the USB plug; and the MCU is also used for sending an audio connection instruction through the second IO pin, controlling the first end of the second switch to be communicated with the third end of the second switch and executing a data communication process through the audio code module. The detection end through the sound code module can send a detection signal to the state ID pin of the USB plug, so that the MCU knows that the audio plug is inserted into the mobile phone, the second switch can be controlled to communicate the first end and the third end, and the adapter uses a sound code function.
Specifically when reading the card, the utility model discloses can realize reading the acquirement of card information through following mode:
1. the MCU establishes Bluetooth connection with the terminal through the Bluetooth module and acquires a card reading entering instruction through the Bluetooth module;
specifically, the intelligent key device body in the utility model can be connected through the mobile phone APP Bluetooth, at this time, the MCU in the intelligent key device body acquires the card reading instruction sent by the mobile phone APP through the Bluetooth module, so that the intelligent key device can enter the card reading mode;
2. the MCU controls the first end of the first switch to be communicated with the second end of the first switch, and the NFC module is powered by the battery;
specifically, after the MCU enters the card reading mode, a communicating instruction is sent through the fourth IO pin, and the first end of the first switch and the second end of the first switch are controlled to be communicated, so that the intelligent key device body can supply power to the NFC module in the adapter through the battery.
3. The MCU sends a control instruction through the second IO pin, controls the first end of the second switch to be communicated with the second end of the second switch, and executes a card reading process through the NFC module;
specifically, the MCU sends a control instruction through the second IO pin to control the first end of the second switch to communicate with the second end of the second switch, that is, the first data line D + pin and the second data line D-pin are respectively connected to the SCL pin and the SDA pin of the NFC module, and the NFC module may perform a card reading operation, for example, the CAN4E reader chip opens the field to read the card, so that the card reading information CAN be acquired and stored in the register of the reader chip.
4. The MCU reads data from a register of the NFC module through the first IO pin and the third IO pin by utilizing an I2C communication protocol to obtain card reading information;
specifically, the MCU reads data from the register of the NFC module through the first IO pin and the third IO pin by using the I2C communication protocol, so as to obtain card reading information. Because the communication protocol who reads the card chip is I2C communication protocol, consequently, the utility model discloses in the card data of reading of passing through the USB interface transmission I2C agreement between intelligent key equipment body and the adapter.
5. The MCU sends the card reading information to the terminal through the Bluetooth module;
specifically, the MCU sends the card reading information to the mobile phone APP terminal through the Bluetooth module to be displayed.
Wherein, above card reading information can be for reading the identity card information of identity card, also can be for reading the card information of bank card, or the information of other cards, this is in the utility model discloses in do not do specific restriction.
Therefore, through the embodiment of the utility model provides a support the intelligent key device who reads the card, can increase the function of reading the card under the prerequisite that does not change form, structure and the function of original intelligent key device, expanded intelligent key device's function.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present invention includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described, it is to be understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that changes, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art without departing from the principles and spirit of the present invention. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (2)

1. A card-reading enabled smart key device, comprising: intelligent secret key equipment body and adapter, wherein:
the intelligent key device body comprises: the device comprises an MCU, a battery, a first switch, a Bluetooth module and a USB socket;
a first IO pin of the MCU is connected with a first data line D + pin of the USB socket, a third IO pin of the MCU is connected with a second data line D-pin of the USB socket, and the second IO pin of the MCU is connected with a state ID pin of the USB socket;
a first end of the first switch is connected with the anode of the battery, a second end of the first switch is connected with a VCC pin of the USB socket, a control end of the first switch is connected with a fourth IO pin of the MCU, and the first switch is connected or disconnected between the first end of the first switch and the second end of the first switch through a first control signal received by the control end of the first switch;
the Bluetooth module is electrically connected with the MCU;
the adapter includes: the USB plug, the second switch, the NFC module and the sound code module;
a first pin at the first end of the second switch is connected with a first data line D + pin of the USB plug, a second pin of the first end of the second switch is connected with a second data line D-pin of the USB plug, a first pin of a second end of the second switch is connected with an SCL pin of the NFC module, a second pin of the second end of the second switch is connected with an SDA pin of the NFC module, a first pin at the third end of the second switch is connected with an IN pin of the audio code module, a second pin at the third end of the second switch is connected with an OUT pin of the audio code module, and the control end of the second switch is connected with the state ID pin of the USB plug, and the second switch is communicated with the connection between the first end of the second switch and the second end of the second switch or communicated with the connection between one end of the second switch and the third end of the second switch through a second control signal received by the control end of the second switch.
2. The smart key device of claim 1,
and the detection end of the sound code module is also connected with a state ID pin of the USB plug, and a detection audio interface access instruction is sent to the MCU through the state ID pin of the USB plug.
CN202020368050.6U 2020-03-20 2020-03-20 Intelligent key device supporting card reading Active CN211979664U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202020368050.6U CN211979664U (en) 2020-03-20 2020-03-20 Intelligent key device supporting card reading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202020368050.6U CN211979664U (en) 2020-03-20 2020-03-20 Intelligent key device supporting card reading

Publications (1)

Publication Number Publication Date
CN211979664U true CN211979664U (en) 2020-11-20

Family

ID=73381004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202020368050.6U Active CN211979664U (en) 2020-03-20 2020-03-20 Intelligent key device supporting card reading

Country Status (1)

Country Link
CN (1) CN211979664U (en)

Similar Documents

Publication Publication Date Title
US8417292B2 (en) Device-adaptive connection establishing method and system for a mobile terminal
EP2069880B1 (en) Method and device for activating functions of a powered-off device via a serial data bus interface
EP2251986A1 (en) A near field communication device
US20070239924A1 (en) Electronic device transmitting audio-and-video signals with USB connector
CN202167034U (en) Peripheral application device and mobile terminal system
CN101583935A (en) Enhanced communication via a serial interface
US20120270602A1 (en) Multiple subscriber identity module controller
CN107453428A (en) A kind of method of automatic identification apple and Android device
CN110829523A (en) Electronic equipment and reverse charging method
CN102779283A (en) Device, system and method for realization of reading and writing of SIM (subscriber identity module) card
CN104063348A (en) Device and method for realizing compatible USB (Universal Serial Bus) communication and audio communication
US20230273662A1 (en) Information reading method, device, cable, charging system, and computer storage medium
EP2355460B1 (en) Detachable wireless communication module and method for activating the same
CN101573676A (en) Power control for serial bus peripheral device
CN211979664U (en) Intelligent key device supporting card reading
CN102148631B (en) Dismountable wireless communication module and its method started
CN103036276B (en) Charger, terminal, controller, system and charger recognition method
US20140274220A1 (en) Mobile power supply device with expanding function
CN111428227B (en) Intelligent key device supporting card reading
CN102647710B (en) Wireless communication apparatus
CN102932036A (en) Near field communication (NFC) device and NFC method
CN111886585B (en) Terminal device, debugging card and debugging method
CN112821156B (en) Electronic tags chip and TYPE-C data line
CN210629486U (en) Data storage device and data storage system
CN203151171U (en) Mobile power supply device with expansion function

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant