CN107066911A - RFID card and card writing method - Google Patents

RFID card and card writing method Download PDF

Info

Publication number
CN107066911A
CN107066911A CN201710236907.1A CN201710236907A CN107066911A CN 107066911 A CN107066911 A CN 107066911A CN 201710236907 A CN201710236907 A CN 201710236907A CN 107066911 A CN107066911 A CN 107066911A
Authority
CN
China
Prior art keywords
card
bytes
rfid
order
software
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
CN201710236907.1A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201710236907.1A priority Critical patent/CN107066911A/en
Publication of CN107066911A publication Critical patent/CN107066911A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10118Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the sensing being preceded by at least one preliminary step
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10257Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for protecting the interrogation against piracy attacks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10297Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092

Landscapes

  • Engineering & Computer Science (AREA)
  • Toxicology (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a kind of RFID card, including card body, internal coil is provided with the card body and the chip of integrated circuit is provided with, the chip internal is provided with CPU module and MI modules, the invention also discloses a kind of RFID card card writing method, the present invention by EEPROM user's spaces by being set to 8K bytes, the ROM program spaces are set to 64K bytes, COS software is set to 56K bytes, card/Card Reader mould is write using 7+1, RFID card is set to possess the function of two kinds of cards of M1 cards and CPU card, the stable distance that makes to swipe the card is good, reaction time of swiping the card is short, the accuracy rate of Card Reader is 99.98%.

Description

RFID card and card writing method
Technical field
The invention belongs to the technical field of the method or apparatus of read-out recording carrier, it is specifically related to RFID card and writes card side Method.
Background technology
Radio frequency discrimination RFID is a kind of non-contact automatic identification technology, and it passes through radiofrequency signal automatic identification destination object And related data is obtained, and identification work is operable with various environment without manual intervention, otherwise existing REID is just Brush CPU card, otherwise just only brush M1 cards, swipe the card apart from short, reaction speed is slower.
The content of the invention
In view of this, it is an object of the invention to provide RFID card and card writing method, the RFID card and card writing method pass through EEPROM user's spaces are set to 8K bytes, the ROM program spaces are set to 64K bytes, and COS software is set to 56K bytes, adopted Card/Card Reader mould is write with 7+1, RFID card is possessed the function of M1 cards and two kinds of CPU card card, the stable distance that makes to swipe the card is good, swipes the card Reaction time is short, and the accuracy rate of Card Reader is 99.98%.
In order to achieve the above object, it is provided with RFID card and card writing method of the present invention, including card body, the card body built-in Coil and the chip for being provided with integrated circuit, the chip internal are provided with CPU module and MI modules.
Further, the internal coil size is that length and width is respectively 70.20mm and 40.75mm, and the coil is set It is set to coiling 6 to enclose, winding diameter is set to 0.22mm.
The invention also discloses the card writing method of RFID card, its step is as follows:
1) EEPROM user's spaces are set to 8K bytes, the ROM program spaces are set to 64K bytes, and COS software is set to 56K bytes, operational order is instructed using 32 bit encryption operations, and operational order, Card Reader instruct and write card and instruct all bytes positions Differ;
2) CPU card card reader is connected, connection is opened software, initialized;
3) before card is write, card data preparation is stored in txt documents;
4) data display in txt documents is stored on software;
5) card structure is set up, sequence number is set up in card;
6) every RFID card carries out mono-recordable card sequence after setting up card structure.
The beneficial effects of the present invention are:
1st, RFID card and card writing method of the present invention by EEPROM user's spaces by being set to 8K bytes, the ROM program spaces 64K bytes are set to, COS software is set to 56K bytes, card/Card Reader mould is write using 7+1, RFID card is possessed M1 cards and CPU The functions of two kinds of cards of card, making to swipe the card, stable distance is good, and the reaction time of swiping the card is short, and the accuracy rate of Card Reader is 99.98%.
2nd, RFID card and card writing method of the present invention can use newest AES, and produce one very after Card Reader every time Random number, three re-encryptions, the use of AES, identified according to TK high two determine that data security is intact in card,
3rd, RFID card and card writing method of the present invention can be applicable to public transport, subway, water-gas, movie film, amusement and gate inhibition etc..
4th, RFID card of the present invention is set to as passive card, and the work of chip employs the work of super low-power consumption pattern, work electricity Flow for 0.08uA, when card works required electric energy by card internal coil and the close POS antenna when produce;When card and brush The machine distance of card will be in power-down mode dormancy more than 60mm, chip, and card is close to POS antenna to certain distance, chip Work, and chip data is issued into signal receiving end by encryption;Reception signal terminal receives signal, end-of-job, card POS 60mm is left, the core of the card piece enters resting state.
5th, RFID card of the present invention not only supports ISO/IEC, and 1443A contactless communication agreements can also support 7816T=0 Contact communication protocol, our RFID card supports RSA2048 security algorithms, SSF33 safety using 328 coprocessors Algorithm, SHAI security algorithms, SM1 algorithms and SM2 algorithms, support hardware CRC, and the M1 cards of common standard only support ISO/ 1443A contactless communication agreements, the CPU card of standard supports ISO/IEC, 1443A contactless communication agreements.
6th, RFID card of the present invention carries out experimental implementation test by contactless card reader to it:Its testing time data is such as Under:Request takes 0.34ms, and AnticoLLision takes 0.7ms, and RATS takes 3.77ms, and Select takes 1.13ms, Catalogue 4.938ms is selected, the reading data block used time is 1.98ms, writes data block used time (0.49+4.84) ms, M1 partial sector certification Used time (0.8+1.16) ms, reads the log file used time 5.8ms of 32 bytes, reads the log file used time 9.2ms of 64 bytes, writes 32 The log file used time 27.81ms of byte, writes log file used time 32.56ms, the PBOC standard consumer transaction used time of 64 bytes 148.43ms。
Embodiment
RFID card and card writing method of the present invention include being provided with internal coil in card body, the card body and are provided with integrated electricity The chip on road, the chip internal is provided with CPU module and MI modules.
Further, the internal coil size is that length and width is respectively 70.20mm and 40.75mm, and the coil is set Be set to coiling 6 to enclose, winding diameter is set to 0.22mm, the present embodiment in order to realize the perfect adaptation of CPU card and standard M1 cards, The coil of card uses long 70.20mm, and wide 40.75mm rectangular matrix, the M1 card loop lengths than standard add 0.20mm, Width adds 0.75mm, and coil-winding uses a diameter of 0.22mm enamel-covered wire;So that the Card Reader effect and anti-interference of card Ability is substantially strengthened, swipe the card distance be improved significantly, the accuracy rate of data transfer is significantly improved.
The invention also discloses the card writing method of RFID card, its step is as follows:
1) EEPROM user's spaces are set to 8K bytes, the ROM program spaces are set to 64K bytes, and COS software is set to 56K bytes, operational order is instructed using 32 bit encryption operations, and operational order, Card Reader instruct and write card and instruct all bytes positions Differ;
2) CPU card card reader is connected, connection is opened software, initialized;
3) before card is write, card data preparation is stored in txt documents;
4) data display in txt documents is stored on software;
5) card structure is set up, sequence number is set up in card;
6) every RFID card carries out mono-recordable card sequence after setting up card structure.
The basic operation instruction of RFID card of the present invention is as follows:
1) (APPLICATION BLOCK) order makes the application failure currently selected:As APPLICATION BLOCK Order is successfully completed using after temporary locking, with the application of SELECT command selections temporary locking, by loopback conditional code " no Support this function " (SW1SW2=' 6A81 ');(card for T=0 with GET RESPONSE, it is necessary to be instructed by loopback FCI simultaneously Fetch), after APPLICATION BLOCK orders complete application permanent locking, hereafter perform all orders, card is by loopback shape State code " applying permanent locking " (SW1SW2=' 9303 ').
2) (APPLICATION UNBLOCK) order is used to recover current application:As APPLICATION UNBLOCK The limitation to application command response that order is produced will be cancelled.
3) (CARD BLOCK) order makes all application permanent failures in card:After CARD BLOCK are successfully completed, All subsequent commands are not all by loopback conditional code " 6A81 " (supporting this function), and do not perform any other operation.
4) (EXTERNAL AUTHENTICATION) order is used for secrecy mould in the application verification interface equipment in IC-card The validity of block, so that interface equipment obtains certain mandate.Certification read transmission key (CTK) in the case of three kinds below:
When only registering MF, MF is not created;MF is created, but during without creating KEY files under MF;Create MF Under KEY files, but without create master control key when;
Certification DF transmits key in the case of two kinds below:DF is created, but without KEY files under establishment DF;Wound KEY files under DF have been built, but without establishment master control key.
5) (GET CHALLENGE) command request one is used for the random of safety-related process (such as safe packet) Number.
6) (GET RESPONSE) when APDU can not be used existing agreement transmission, " GET RESPONSE " orders are provided A kind of transmission method that APDU (or APDU part) is transmitted from card to interface equipment.
7) (INTERNAL AUTHENTICATION) order is there is provided the random number sent using interface equipment and itself The association key of storage carries out the function of data discriminating:When relevant key is located at MF layers, the order can be whole for differentiating Individual card;When relevant key is located at DF layers, the order can be for differentiating this DF.
8) (PIN CHANGE/UNBLOCK) order allows card issuer to unlock personal identification number and (that is, resets personal identification number to attempt The value of counter is the maximum times of application settings), or the transmission of personal identification number in personal identification number, order is all changed using encryption Mode.
9) all or part of data are read in (READ BINARY) order from transparent file:As order includes effective base This document identifier, the file corresponding to it is to be arranged to current file, and the order is only operated to current file, only In the case where meeting the authority of current file read operation, the order can be just performed.
10) record or one that some specify are read in (READ RECORD) order from the constituent instruments of interrecord structure The data of record start part.
11) (SELECT) order selects MF, DF or EF in IC-card by filename or application identifier:The order Current file is set, and after this order is performed, back to back all orders are all impliedly operated to file.It is special for one The private file is set to current file by the selection of file (DF), and the file that hereafter can be included to it carries out further Selection.After reset answer, master control file (MF) is defaulted as current file.
12) all or part of data of (UPDATE BINARY) order write-in or modification transparent file:Use condition: Order includes effective constituent instruments identifier, and the file corresponding to it is to be arranged to current file.Order is only to currently selected The file (i.e. current file) selected is operated.Only when meeting the safety requirements of write-in or modification current file, the order It can just be performed.The security attribute of current file defines the mode of secret communication, and only security classification is not less than this mode Communication mode order can just be received.
13) (UPDATE RECORD) order is with the data more fixed record of new record file middle finger provided in order Content:Use condition:Order includes effective constituent instruments short identifier, and the file corresponding to it is to be arranged to current file, Current record pointer is resetted simultaneously.The order is only operated to currently selected file, is only meeting modification currently During the jurisdictions mandate of file, the order can be just performed.If the operational mode of current file defines the mode of secret communication, The communication mode order for being then only not less than this mode with security classification can just be received.For linear structure file, work as finger When fixed recording mechanism is not present, it can add and record by the order of recording mechanism.When being not present by record identifier access record, also should It is considered as the constituent instruments of addition new record, fixed length or loop configuration, institute is true when record length used must be with creating in name Fixed record length is consistent, and otherwise name will be rejected execution, and the order opposes that the file of interrecord structure is effective.
14) (VERIFY) order is used to examine the correctness of the personal identification number in order data domain or return to allow to continue Attempt the number of times examined:Locked personal identification number is verified, no matter how result does not affect error Counter Value, and PIN is locked, the operation that could perform after inspection PIN in need can not perform.
Finally illustrate, preferred embodiment above is merely illustrative of the technical solution of the present invention and unrestricted, although logical Cross above preferred embodiment the present invention is described in detail, it is to be understood by those skilled in the art that can be Various changes are made to it in form and in details, without departing from claims of the present invention limited range.

Claims (3)

1. a kind of RFID card, it is characterised in that:Including card body, internal coil is provided with the card body and integrated circuit is provided with Chip, the chip internal is provided with CPU module and MI modules.
2. a kind of RFID card according to claim 1, it is characterised in that:The internal coil size is length and width point Not Wei 70.20mm and 40.75mm, the coil is set to coiling 6 and encloses, and winding diameter is set to 0.22mm.
3. a kind of a kind of card writing method of RFID card according to claim 1 or 2, it is characterised in that:Its step is as follows:
1) EEPROM user's spaces are set to 8K bytes, the ROM program spaces are set to 64K bytes, and COS software is set to 56K Byte, operational order is instructed using 32 bit encryption operations, operational order, Card Reader instruction and is write card and is instructed all bytes not phase Together;
2) CPU card card reader is connected, connection is opened software, initialized;
3) before card is write, card data preparation is stored in txt documents;
4) data display in txt documents is stored on software;
5) card structure is set up, sequence number is set up in card;
6) every RFID card carries out mono-recordable card sequence after setting up card structure.
CN201710236907.1A 2017-04-12 2017-04-12 RFID card and card writing method Pending CN107066911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710236907.1A CN107066911A (en) 2017-04-12 2017-04-12 RFID card and card writing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710236907.1A CN107066911A (en) 2017-04-12 2017-04-12 RFID card and card writing method

Publications (1)

Publication Number Publication Date
CN107066911A true CN107066911A (en) 2017-08-18

Family

ID=59602097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710236907.1A Pending CN107066911A (en) 2017-04-12 2017-04-12 RFID card and card writing method

Country Status (1)

Country Link
CN (1) CN107066911A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402704A (en) * 2011-12-22 2012-04-04 四川久远新方向智能科技有限公司 Compound multifunctional IC card reader-writer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402704A (en) * 2011-12-22 2012-04-04 四川久远新方向智能科技有限公司 Compound multifunctional IC card reader-writer

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
袁乐民: "基于STM32的RFID读卡器设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Similar Documents

Publication Publication Date Title
US8789146B2 (en) Dual interface device for access control and a method therefor
CN105657637B (en) Data access in mobile device with NFC
CN1863049B (en) Radio communication system, reader/writer apparatus, key managing method, and computer program
CN100438409C (en) Intelligent card with financial-transaction message processing ability and its method
JP2007532984A (en) Semiconductor memory
CN105205508A (en) Self-service card issuing machine for intelligent card
TW200945211A (en) RFID tag, operating method of RFID tag, and operating method between RFID tag and RFID reader
CN102339498B (en) There is the management method of the electronic installation as integrated circuit type that personal authentication's key inside generates
US12041172B2 (en) Cryptographic authentication to control access to storage devices
JP2023521997A (en) Determination of specific conditions for contactless card activation
JP2008059013A (en) Ic memory and access device for ic memory, and validity verification method
CN103902402A (en) Radio frequency tag safety chip device and data processing method thereof
CN104410968A (en) Portable universal integrated circuit card (UICC) subscriber terminal equipment and identity authentication system thereof
CN100545861C (en) A kind of transmission method with the radio-frequency (RF) tag storage organization that transmits the control of encryption and access rights
CN106056726B (en) It is a kind of can two-way authentication CPU card access-control card reader safety certifying method
CN107066911A (en) RFID card and card writing method
Chirico Smart card programming
CA3204039A1 (en) Secure generation of one-time passcodes using a contactless card
CN113873488A (en) Anti-counterfeiting method based on NFC
KR20130047037A (en) Ic chip and method for verifying data therein
JP2011060136A (en) Portable electronic apparatus, and data management method in the same
Yang et al. RFID/NFC Security
CN201266495Y (en) Mobile memory with encipher function
Yuan et al. A fast and simple method for obtaining microcircuit card information
CN211827307U (en) Double-encryption electronic tag

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

Application publication date: 20170818

RJ01 Rejection of invention patent application after publication