CN108038520A - A kind of reader of safety chip - Google Patents

A kind of reader of safety chip Download PDF

Info

Publication number
CN108038520A
CN108038520A CN201711133893.7A CN201711133893A CN108038520A CN 108038520 A CN108038520 A CN 108038520A CN 201711133893 A CN201711133893 A CN 201711133893A CN 108038520 A CN108038520 A CN 108038520A
Authority
CN
China
Prior art keywords
chip
reader
main control
control chip
security module
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.)
Pending
Application number
CN201711133893.7A
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.)
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Beijing Smartchip Microelectronics Technology Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Beijing Smartchip Microelectronics 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 State Grid Corp of China SGCC, State Grid Information and Telecommunication Co Ltd, Beijing Smartchip Microelectronics Technology Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201711133893.7A priority Critical patent/CN108038520A/en
Publication of CN108038520A publication Critical patent/CN108038520A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention relates to a kind of reader of safety chip, including:Main control chip, reader chip, security module and communication module;Main control chip is used for the instruction for receiving host computer transmission, docks received instruction and is parsed, by the data sending after parsing to security module;The data that security module docks after received parsing are encrypted, and by encrypted data transfer to main control chip;The instruction that encrypted data and host computer are sent is transmitted to reader chip by main control chip;The instruction that reader chip is sent according to encrypted data and host computer, generation read or write instruction, and read or write is sent to safety chip by communication module and is instructed.The reader of safety chip provided by the invention, it is possible to achieve the encryption to operational order, to improve the security performance of safety chip.

Description

A kind of reader of safety chip
Technical field
The present invention relates to field of communication technology, more particularly to a kind of reader of safety chip.
Background technology
At present, safety chip becomes increasingly prevalent in people's lives.Mobile phone card, bank card, water card, electric card, society Protect card, access card even identity card is all application of the smart card in different industries.As what safety chip used increases, safety Data in chip are also more and more important.
The reader of existing safety chip, can only realize the read or write function to safety chip.
But based on this, it was found by the inventors of the present invention that operating process of the reader of the prior art to safety chip Middle security is relatively low, can not meet the storage demand of significant data.
The information for being disclosed in the background section is merely intended to understanding of the increase to the general background of the present invention, without answering It has been the prior art well known to persons skilled in the art when being considered as recognizing or implying the information structure in any form.
The content of the invention
Technical problem
In view of this, how the technical problem to be solved in the present invention is provide a kind of reader of safety chip, to solve The problem of existing reader security is not high.
Solution
To solve above technical problem, the present invention provides a kind of reader of safety chip, including:Main control chip, read-write Device chip, security module and communication module;The main control chip is connected with host computer and the security module respectively, uses In the instruction for receiving the host computer transmission, dock received instruction and parsed, by the data sending after parsing to the peace Full module;The data that the security module docks after received parsing are encrypted, and by encrypted data transfer to described Main control chip;The instruction that the encrypted data of security module and host computer are sent is transmitted to reader core by the main control chip Piece;The reader chip is connected with the main control chip, the instruction sent according to encrypted data and host computer, raw Instructed into read or write, and the read or write is sent to the safety chip by the communication module and is instructed.
In a kind of possible implementation, the communication module is additionally operable to receive the response data of safety chip, and will The response data is sent to the reader chip;The reader chip is used to receive the response data, by the sound Data sending is answered to the main control chip;The response data is transmitted to the security module, the peace by the main control chip The response data that full module transmits the main control chip is decrypted, and the response data after decryption is transmitted to the master control core Piece;The response data that the main control chip docks after received decryption is handled, by the data transfer after processing to host computer.
In a kind of possible implementation, the communication module is radio-frequency antenna.
In a kind of possible implementation, the security module is the point of sales terminal safety based on SM7 security algorithms Access module PSAM.
In a kind of possible implementation, the PSAM is connected with the main control chip by 7816 interfaces.
In a kind of possible implementation, the main control chip is STM32F103CB chips.
In a kind of possible implementation, the main control chip is connected by USB interface with the host computer.
In a kind of possible implementation, the reader chip is the THM3070 chips based on ISO15693 agreements.
In a kind of possible implementation, the THM3070 chips are connected with the main control chip by SPI interface Connect.
Beneficial effect
The reader of safety chip provided by the invention, instruction and the parsing that host computer is sent are received by main control chip, The data that security module docks after received parsing are encrypted, and main control chip is by encrypted data of security module and upper The instruction that machine is sent is transmitted to reader chip, the instruction that reader chip is sent according to encrypted data and host computer, Read or write instruction is generated, and read or write is sent to safety chip by communication module and is instructed, it is possible to achieve to operation The encryption of instruction, to improve the security performance of safety chip.
According to below with reference to the accompanying drawings becoming to detailed description of illustrative embodiments, further feature of the invention and aspect It is clear.
Brief description of the drawings
Comprising in the description and the attached drawing of a part for constitution instruction and specification together illustrate the present invention's Exemplary embodiment, feature and aspect, and for explaining the principle of the present invention.
Fig. 1 shows the structure diagram of the reader for the safety chip that the embodiment of the present invention one provides;
Fig. 2 shows the structure diagram of the reader of safety chip provided by Embodiment 2 of the present invention.
Embodiment
Below in conjunction with the accompanying drawings, the embodiment of the present invention is described in detail, it is to be understood that the guarantor of the present invention Protect scope and from the limitation of embodiment.
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art All other embodiments obtained without creative efforts, belong to the scope of protection of the invention.Unless Separately have it is other explicitly indicate that, otherwise in entire disclosure and claims, term " comprising " or its conversion such as "comprising" or " including " etc. will be understood to comprise stated element or part, and not exclude other elements or other compositions Part.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary " Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the present invention, numerous details is given in embodiment below. It will be appreciated by those skilled in the art that without some details, the present invention can equally be implemented.In some instances, for Method well known to those skilled in the art, means, element are not described in detail, in order to highlight the purport of the present invention.
Embodiment one
Fig. 1 shows the structure diagram of the reader for the safety chip that the embodiment of the present invention one provides, as shown in Figure 1, this In embodiment, the reader of safety chip, including:Main control chip 1, reader chip 2, security module 3 and communication module 4.
The main control chip 1 is connected with host computer 5 and the security module 3 respectively, for receiving the host computer 5 The instruction of transmission, docks received instruction and is parsed, by the data sending after parsing to the security module 3.
The data that the security module 3 is docked after received parsing are encrypted, and by encrypted data transfer to institute State main control chip 1.
The instruction that 3 encrypted data of security module and host computer 5 are sent is transmitted to reader by the main control chip 1 Chip 2.
The reader chip 2 is connected with the main control chip 1, is sent according to encrypted data and host computer 5 Instruction, generation read or write instruction, and the read or write is sent to the safety chip by the communication module 4 Instruction.
Wherein, read or write instruction includes command identification and encrypted data.
Specifically, communication module 4 is wireless communication module.Correspondingly, be also equipped with safety chip communication module and The security module to match with security module 3, to realize the decryption to receiving instruction.
Thus, the reader of safety chip provided in this embodiment, the finger of the transmission of host computer 5 is received by main control chip 1 Make and parse, the data that security module 3 docks after received parsing are encrypted, and main control chip 1 is encrypted by security module The instruction that data and host computer 5 are sent is transmitted to reader chip 2, reader chip 2 according to encrypted data and on The instruction that position machine 5 is sent, generation read or write instruction, and read or write is sent to safety chip by communication module 4 and is referred to Order, it is possible to achieve the encryption to operational order, to improve the security performance of safety chip.
In a kind of possible implementation, the communication module 4 is additionally operable to receive the response data of safety chip, and will The response data is sent to the reader chip 2.
Specifically, communication module and the security module to match with security module 3 are provided with safety chip, to realize Encryption to corresponding data.
The reader chip 2 is additionally operable to receive the response data, and the response data is sent to the master control core Piece 1.
The main control chip 1 is additionally operable to the response data being transmitted to the security module 3, and the security module 3 is right The response data that the main control chip 1 transmits is decrypted, and the response data after decryption is transmitted to the main control chip 1.
The response data that the main control chip 1 is additionally operable to dock after received decryption is handled, by the data after processing It is transmitted to host computer 5.
Thus, the reader of safety chip provided in this embodiment, communication module 4 are additionally operable to receive the response of safety chip Data, and response data is sent to reader chip 2, reader chip 2 is additionally operable to receive response data, and response data is sent out Send to main control chip 1, main control chip 1 is additionally operable to response data being transmitted to security module 3, and security module 3 passes main control chip 1 Defeated response data is decrypted, and the response data after decryption is transmitted to main control chip 1, main control chip 1 docks received solution Response data after close is handled, by the data transfer after processing to host computer 5, it is possible to achieve the decryption to response data, To improve the security performance of safety chip.
Embodiment two
The present embodiment further limits the structure of reader on the basis of embodiment one.Fig. 2 shows the present invention The structure diagram of the reader for the safety chip that embodiment two provides, as shown in Fig. 2, in the present embodiment, the communication module 4 For radio-frequency antenna.
In a kind of possible implementation, the security module 3 is based on the close SM7 algorithms of state The point of sales terminal secure access module PSAM cards of (SM7cryptographic algorithm).Wherein, the PSAM cards with The main control chip 1 is connected by 7816 interfaces.
In a kind of possible implementation, the main control chip 1 is STM32F103CB chips.Wherein, the master control core Piece 1 is connected by USB interface with the host computer 5, and host computer uses the safety chip card reader journey for supporting PC/SC agreements Sequence, can improve the processing speed of reader.
Specifically, STM32F103CB chip programs and data sharing 128KB FLASH memory blocks, STM32F103CB chips It is provided with hardware SPI interface, 7816 and USB interface.The APDU that STM32F103CB receives host computer transmission by USB interface is ordered Order, is communicated with THM3070 by SPI interface, is communicated by 7816 interfaces with PSAM cards.
In a kind of possible implementation, the reader chip 2 is the THM3070 cores based on ISO15693 agreements Piece.The THM3070 chips are connected with the main control chip 1 by SPI interface.Wherein, safety chip is support The safety chip of ISO15693 agreements.
Correspondingly, in the present embodiment, reader can also include power supply chip LDO, for the 5V power supplys for providing USB 3.3V is depressured to power to System on Chip/SoC.
The execution flow of reader is in the present embodiment:By the way that the basic read write command of ISO15693 agreements is packaged into 7816 Communicate APDU instructions, and STM32F103CB is parsed first by receiving the APUD orders for including ISO15693 from host computer and instructing ISO15693 communication datas, are sent to PSAM cards by the communication data after parsing and are encrypted, then send out encrypted data THM3070 is given, THM3070 sends ISO15693 and instructs and receive to the response data of safety chip.THM3070 will afterwards Response data returns to STM32F103CB, and STM32F103CB transfers data to PSAM cards and is decrypted, finally by USB Data after decryption are returned to PC host computer procedures by CCID protocol.
Thus, it is the PSAM cards based on SM7 security algorithms by the security module 3.It can realize based on SM7 algorithms Data flow encryption and decryption;It is connected by the PSAM cards with the main control chip 1 by 7816 interfaces, the THM3070 chips Being connected with the main control chip 1 by SPI interface can realize while support two ways interface communication, card reader compatibility Can be good, being capable of compatible multiclass safety chip at the same time.
It is foregoing to the present invention specific exemplary embodiment description be in order to illustrate and illustration purpose.These descriptions It is not wishing to limit the invention to disclosed precise forms, and it will be apparent that according to the above instruction, can be much changed And change.The purpose of selecting and describing the exemplary embodiment is that explain that the certain principles of the present invention and its reality should With so that those skilled in the art can realize and utilize the present invention a variety of exemplaries and Various chooses and changes.The scope of the present invention is intended to be limited by claims and its equivalents.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can To be or may not be physically separate, physics list is may or may not be as the component that unit is shown Member, you can with positioned at a place, or can also be distributed in multiple network unit.It can be selected according to the actual needs In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, you can to understand and implement.

Claims (9)

  1. A kind of 1. reader of safety chip, it is characterised in that including:Main control chip, reader chip, security module and logical Believe module;
    The main control chip is connected with host computer and the security module respectively, the finger sent for receiving the host computer Order, docks received instruction and is parsed, by the data sending after parsing to the security module;
    The data that the security module docks after received parsing are encrypted, and by encrypted data transfer to the master control Chip;
    The instruction that the encrypted data of security module and host computer are sent is transmitted to reader chip by the main control chip;
    The reader chip is connected with the main control chip, the instruction sent according to encrypted data and host computer, Read or write instruction is generated, and the read or write is sent to the safety chip by the communication module and is instructed.
  2. 2. the reader of safety chip according to claim 1, it is characterised in that
    The communication module is additionally operable to receive the response data of safety chip, and the response data is sent to the reader Chip;
    The reader chip is used to receive the response data, and the response data is sent to the main control chip;
    The response data is transmitted to the security module by the main control chip, and the security module passes the main control chip Defeated response data is decrypted, and the response data after decryption is transmitted to the main control chip;
    The response data that the main control chip docks after received decryption is handled, by the data transfer after processing to upper Machine.
  3. 3. the reader of safety chip according to claim 1 or 2, it is characterised in that the communication module is radio frequency day Line.
  4. 4. the reader of safety chip according to claim 1 or 2, it is characterised in that
    The security module is the point of sales terminal secure access module PSAM based on the close SM7 algorithms of state.
  5. 5. the reader of safety chip according to claim 4, it is characterised in that
    The PSAM is connected with the main control chip by 7816 interfaces.
  6. 6. the reader of safety chip according to claim 1 or 2, it is characterised in that the main control chip is STM32F103CB chips.
  7. 7. the reader of safety chip according to claim 6, it is characterised in that the main control chip passes through USB interface It is connected with the host computer.
  8. 8. the reader of safety chip according to claim 1 or 2, it is characterised in that the reader chip be based on The THM3070 chips of ISO15693 agreements.
  9. 9. the reader of safety chip according to claim 8, it is characterised in that
    The THM3070 chips are connected with the main control chip by SPI interface.
CN201711133893.7A 2017-11-16 2017-11-16 A kind of reader of safety chip Pending CN108038520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711133893.7A CN108038520A (en) 2017-11-16 2017-11-16 A kind of reader of safety chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711133893.7A CN108038520A (en) 2017-11-16 2017-11-16 A kind of reader of safety chip

Publications (1)

Publication Number Publication Date
CN108038520A true CN108038520A (en) 2018-05-15

Family

ID=62093313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711133893.7A Pending CN108038520A (en) 2017-11-16 2017-11-16 A kind of reader of safety chip

Country Status (1)

Country Link
CN (1) CN108038520A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976230A (en) * 2019-04-22 2019-07-05 东信和平科技股份有限公司 A kind of Internet of Things smart machine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007150850A (en) * 2005-11-29 2007-06-14 Hitachi Ltd Electronic tag system and data processing method performed by electronic tag system
CN101923654A (en) * 2009-06-09 2010-12-22 上海坤锐电子科技有限公司 Ultrahigh frequency reader-writer suitable for remote security control by different users
CN202870860U (en) * 2012-09-11 2013-04-10 广东华大集成技术有限责任公司 A reading and writing device of an encrypted electronic label
CN204480283U (en) * 2015-03-03 2015-07-15 南京中科微电子有限公司 A kind of safe read-write device based on RFID technique

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007150850A (en) * 2005-11-29 2007-06-14 Hitachi Ltd Electronic tag system and data processing method performed by electronic tag system
CN101923654A (en) * 2009-06-09 2010-12-22 上海坤锐电子科技有限公司 Ultrahigh frequency reader-writer suitable for remote security control by different users
CN202870860U (en) * 2012-09-11 2013-04-10 广东华大集成技术有限责任公司 A reading and writing device of an encrypted electronic label
CN204480283U (en) * 2015-03-03 2015-07-15 南京中科微电子有限公司 A kind of safe read-write device based on RFID technique

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976230A (en) * 2019-04-22 2019-07-05 东信和平科技股份有限公司 A kind of Internet of Things smart machine

Similar Documents

Publication Publication Date Title
TWI474645B (en) Systems and methods for providing nfc secure application support in battery-off mode when no nonvolatile memory write access is available
CN107078761B (en) Mobile equipment with short-distance wireless communication function
EP2570972B1 (en) Information transmission implementation method and system, main control device and intelligent card
KR101724840B1 (en) Radio communication devices and methods for controlling a radio communication device
CN101771754A (en) Mobile terminal and method for near-field communication thereof
WO2014130294A1 (en) Data protection in near field communications (nfc) transactions
CN101520854A (en) Smart memory card, data safety control system and method thereof
KR100782113B1 (en) Memory card system and method transmitting host identification information thereof
CN111191252A (en) Encryption and decryption method and device for smart card operating system and storage medium
CN111160508A (en) Double-chip safety SIM card
JP2015023450A (en) Method and electronic apparatus for short distance radio communication
CN104143996A (en) Radio communication devices and methods for controlling a radio communication device
CN108038520A (en) A kind of reader of safety chip
CN105490708B (en) A kind of method and device for reading and writing smart card
US8276188B2 (en) Systems and methods for managing storage devices
CN102223227B (en) Safe and intelligent code memory chip and automatic communication file reestablishing method thereof
CN204595898U (en) A kind of wireless ID card reader equipment
CN204442376U (en) Near-field communication device
CN207637197U (en) A kind of general mobile phone NFC payment equipment
CN104598854A (en) Identification card concentrated decoding system
CN204406403U (en) A kind of authenticate device
CN204990312U (en) USB interface fingerprint equipment and encryption and decryption system
CN105320215A (en) Split-body or integrated host framework integrated with card-stamping function
US9277409B2 (en) Security chip of a communication device
EP2942734A1 (en) Data processing apparatus for ic card issuing, ic card issuing apparatus, ic card issuing system, data processing program for ic card issuing, ic card issuing program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180515