CN102479333A - Non-contact IC card instruction test system and method - Google Patents
Non-contact IC card instruction test system and method Download PDFInfo
- Publication number
- CN102479333A CN102479333A CN2010105588806A CN201010558880A CN102479333A CN 102479333 A CN102479333 A CN 102479333A CN 2010105588806 A CN2010105588806 A CN 2010105588806A CN 201010558880 A CN201010558880 A CN 201010558880A CN 102479333 A CN102479333 A CN 102479333A
- Authority
- CN
- China
- Prior art keywords
- test
- card
- contact
- protos
- instruction
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 127
- 238000000034 method Methods 0.000 title claims description 14
- 230000004044 response Effects 0.000 claims abstract description 12
- 238000004891 communication Methods 0.000 claims abstract description 7
- XXUZFRDUEGQHOV-UHFFFAOYSA-J strontium ranelate Chemical compound [Sr+2].[Sr+2].[O-]C(=O)CN(CC([O-])=O)C=1SC(C([O-])=O)=C(CC([O-])=O)C=1C#N XXUZFRDUEGQHOV-UHFFFAOYSA-J 0.000 claims description 28
- 238000009434 installation Methods 0.000 claims description 21
- 238000013461 design Methods 0.000 claims description 12
- 230000008569 process Effects 0.000 claims description 7
- 230000005540 biological transmission Effects 0.000 claims description 5
- 230000003993 interaction Effects 0.000 abstract description 6
- 230000008878 coupling Effects 0.000 abstract description 2
- 238000010168 coupling process Methods 0.000 abstract description 2
- 238000005859 coupling reaction Methods 0.000 abstract description 2
- 238000012545 processing Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 241000700159 Rattus Species 0.000 description 1
- 238000013142 basic testing Methods 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000007943 implant Substances 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000011031 large-scale manufacturing process Methods 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
Images
Landscapes
- Tests Of Electronic Circuits (AREA)
- Credit Cards Or The Like (AREA)
Abstract
The invention provides a non-contact IC card instruction testing system and a non-contact IC card instruction testing method. The test system is composed of a non-contact protocol instruction test suite, an upper computer test platform and a non-contact IC card protocol instruction test device. The test suite runs the test script through the upper computer test platform, and the test card and the test device select the execution script after normal communication. Protocol test instructions in the script are transmitted to a test device through an I/O interface through upper computer test platform software, a microcontroller in the test device transmits the instructions to a card reader chip according to configured parameters and context, the card reader chip completes data interaction with a non-contact IC card through antenna coupling, and response data of the non-contact IC card are transmitted back to the microcontroller in the test device. And the microcontroller returns the result to the upper computer test platform software, and the test executor analyzes the response data according to the test response of the protocol instruction to obtain a test result and generate a test report.
Description
Technical field
The present invention relates to the instruction testing system, relate in particular to a kind of non-contact IC card instruction testing system and method.
Background technology
Along with the development of integrated circuit technique, the application of non-contact IC card is more and more universal.How to ensure in application that IC-card sheet and CR (or card reader) carry out data interaction according to the protocol instructions of specific criteria (international standard/domestic standard/industry standard etc.) definition; The accuracy and the security that guarantee data trade in the application process are more and more important, especially the test phase before large-scale production.
Test to radio frequency protocol in the non-contact IC card communication can be divided into test of RF radio frequency waveform and protocol instructions test.The test of RF radio frequency waveform relates to passive extracting RF radio frequency waveform and analyzes, and initiatively generates expectation RF radio frequency waveform etc.Its measuring technology threshold is higher, radio frequency testing that offshore company of a few family can provide complete professional radio frequency testing opertaing device or research and development is only arranged in the market with FPGA (field programmable gate array) integrated circuit board.The protocol instructions test is primarily aimed at the protocol instructions degree of conformity and tests, and current external mechanism for testing has also been set up the advantage to protocol instructions test aspect according to the advantage of above-mentioned radio frequency testing equipment, has set up the protos test suite PROTOS that meets respective standard.The difficulty that the protocol instructions test platform is built by general producer is that the protocol layer of commercial CR (also can claim card reader) has been encapsulated as automatic the processing; Even the open protocol processing layer realizes that the controlled CR of protocol layer can not satisfy the test request of current how contactless standard.
How to set up low-cost and the reproducible device that satisfies the basic test demand; Can simplify simultaneously the interaction characteristic between non-contact IC card and CR interface again; Strengthen the protocol instructions testing process, the cost that reduces proving installation becomes the technical matters that the present invention will solve.
Summary of the invention
The object of the invention provides a kind of non-contact IC card instruction testing system and method, is applied to the test of non-contact radio-frequency IC-card.Adopt test macro provided by the invention and method, can simplify the radio frequency interface interaction feature between non-contact IC card and CR, strengthen protocol instructions test and flow process, can reduce test macro and testing cost simultaneously, satisfy application demand.
A kind of non-contact IC card instruction testing system comprises contactless protocol instructions protos test suite PROTOS, host computer test platform and non-contact IC card protocol instructions proving installation.Wherein non-contact IC card protocol instructions proving installation is made up of MCU microcontroller, card reader chip, antenna transmission module and antenna receiver module.
Contactless protocol instructions protos test suite PROTOS makes up based on the international non-contact testing standard of ISO/IEC 10373-6, comprises in ISO/IEC 14443 standards parameter scanning and fault simultaneously and implants unusual use-case external member.
The present invention also provides a kind of non-contact IC card instruction testing method, comprises following content:
(1) protos test suite PROTOS operation REQB instruction testing script;
(2) host computer test platform software resolve the REQB instruction and under pass to proving installation;
(3) proving installation sends and instructs REQB and non-contact IC card to carry out communication;
(4) response data ATQB is back to software test platform;
(5) analyzing responding ATQB test data generates test report.
REQB seeks card for request and instructs, and ATQB seeks card and replys for replying.Protos test suite PROTOS is through moving test script on host computer test platform software, test execution person at first configuration testing device carries out pretest, begins to select all or part of script behind test card and the proving installation normal communication, single step or execution at full speed.Protocol test instruction in the script is transferred to proving installation through host computer test platform software through the I/O interface; Microcontroller is transferred to card reader chip according to the parameter and the context of co-text of configuration with instruction in the proving installation; Card reader chip is passed through the data interaction of antenna coupling completion and non-contact IC card, and
The non-contact IC card response data is back to the microcontroller in the proving installation.Microcontroller returns the result to host computer test platform software, and test execution person obtains test result according to the test response of protocol instructions to response data analysis, writes test report automatically.
The host computer test platform designs based on proving installation and protos test suite PROTOS, and test process is recorded in the test log, carries out and finishes to generate automatically test report.
Adopt non-contact IC card instruction testing system and method provided by the present invention; Can effectively simplify the radio frequency interface interaction feature between non-contact IC card and CR; Strengthen protocol instructions test and flow process; Simultaneously can reduce cost of testing system and testing cost, satisfy contactless product demand in Test Application.
Description of drawings
Fig. 1 non-contact IC card instruction testing system architecture diagram
Fig. 2 non-contact IC card instruction testing method synoptic diagram.
Specific embodiments
Below in conjunction with each accompanying drawing, the summary of the invention that the present invention is proposed carries out detailed description:
Fig. 1 is the structured flowchart of a kind of non-contact IC card instruction testing provided by the invention system, has wherein comprised contactless protocol instructions protos test suite PROTOS, host computer test platform, non-contact IC card protocol instructions proving installation and has carried out the non-contact IC card of data communication with this system.Wherein, comprise MCU microcontroller, card reader chip, antenna transmission module and several parts of antenna receiver module in the non-contact IC card protocol instructions proving installation.Carrying out agreement REQB (seeking the card instruction) test with the non-contact IC card that adopts ISO/IEC 14443TypeB international standard below is example, carries out detailed explanation:
Make up non-contact IC card protocol instructions proving installation, comprise card reader chip type selecting, pcb board design and three major part modules of microcontroller firmware design.Wherein card reader chip is selected RC632, is the product of NXP company, can support ISO/IEC 14443TypeA also can support the card reader chip of ISO/IEC 14443TypeB.Have 32 pins, relate to address bus, data bus, Reset input, crystal oscillator output, modulation system selection, collision detection output, serial data input, receive serial digital output terminal behind the signal decoding, digital baseband signal sends output terminal, baseband demodulation digital signal input end, RF enable signal output terminal, interrupt output, sheet selects input end etc.Pcb board design comprises the serial ports design, with the Interface design of card reader chip, with the radio-frequency antenna Interface design, with the design of MCU microcontroller interface, with the Interface design of clock chip, with the Interface design of feed circuit etc.Whole testing device has comprised proving installation veneer, MCU microcontroller, card reader chip, antenna transmission module and receiver module etc.The MCU microcontroller is realized interfaces processing such as reading card machine chip, serial ports.Microcontroller firmware function comprises: with the upper machine communication function, read the card reader chip register, write Card Reader machine chip register, send instruction, receive response etc.
Structure is based on the non-contact testing standard agreement instruction testing external member of ISO/IEC 10373-6 standard.The protocol instructions of Type category-A type comprises: REQA, Select, RATS, PPS, I_Block, R (ACK), R (NAK), S (DeSelect), S (WTX) etc.; The protocol instructions of Type category-B type comprises REQB, SLOT_MARKER, ATTRIB, I_Block, R (ACK), R (NAK), S (DeSelect), S (WTX) etc.Test case comes from the concrete design in the testing standard ISO/IEC 10373-6 standard.
Execution is loaded into the protocol instructions protos test suite PROTOS in the host computer test platform software, generates test report.After accomplishing the preparation of proving installation and protos test suite PROTOS, connect proving installation placement testing contactless IC-card and build test environment, operation host computer test platform software; Carry out the test case script under the protos test suite PROTOS; Seek card instruction REQB like test protocol, instruction word is " REQB ", and resolving the back at test platform is " 050000 "; Test platform software is given the MCU microcontroller through the RS232 serial ports with data down transmission; The MCU microcontroller imports data into card reader chip, and card reader chip is through the mutual of exterior antenna completion and non-contact IC card and return the IC response data, and the MCU microcontroller returns response data to host computer test platform software.This moment, test execution person obtained the value of the response ATQB of REQB, and other protocol instructions tests are according to similar process flow operation.
Claims (5)
1. a non-contact IC card instruction testing system is characterized in that said test macro comprises contactless protocol instructions protos test suite PROTOS, host computer test platform and non-contact IC card protocol instructions proving installation.
2. a kind of non-contact IC card instruction testing as claimed in claim 1 system is characterized in that said non-contact IC card protocol instructions proving installation comprises MCU microcontroller, card reader chip, antenna transmission module and antenna receiver module.
3. non-contact IC card instruction testing method is characterized in that comprising following content:
(1) protos test suite PROTOS operation REQB instruction testing script;
(2) host computer test platform software resolve the REQB instruction and under pass to proving installation;
(3) proving installation sends and instructs REQB and non-contact IC card to carry out communication;
(4) response data ATQB is back to software test platform;
(5) analyzing responding ATQB instruction testing data generate test report.
4. a kind of non-contact IC card instruction testing method as claimed in claim 3 is characterized in that the international non-contact testing standard of the structure of said contactless protocol instructions protos test suite PROTOS based on ISO/IEC 10373-6.
5. a kind of non-contact IC card instruction testing method as claimed in claim 3 is characterized in that said host computer test platform designs based on proving installation and protos test suite PROTOS, and test process is recorded in the test log, carries out and finishes to generate automatically test report.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010105588806A CN102479333A (en) | 2010-11-25 | 2010-11-25 | Non-contact IC card instruction test system and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010105588806A CN102479333A (en) | 2010-11-25 | 2010-11-25 | Non-contact IC card instruction test system and method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN102479333A true CN102479333A (en) | 2012-05-30 |
Family
ID=46091970
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2010105588806A Pending CN102479333A (en) | 2010-11-25 | 2010-11-25 | Non-contact IC card instruction test system and method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102479333A (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104748781A (en) * | 2015-04-22 | 2015-07-01 | 航天科技控股集团股份有限公司 | Car instrument testing platform test parameter setting method |
| CN105676106A (en) * | 2015-12-31 | 2016-06-15 | 东信和平科技股份有限公司 | Non-contact intelligent card chip model automatic detection system and method |
| CN107632248A (en) * | 2016-07-19 | 2018-01-26 | 上海华虹集成电路有限责任公司 | Contact type intelligent card the whole series compatibility test system |
| CN108182061A (en) * | 2017-12-29 | 2018-06-19 | 新开普电子股份有限公司 | All-purpose card card script tests system |
| CN110197089A (en) * | 2019-05-23 | 2019-09-03 | 深圳市创自技术有限公司 | Reader detection method, equipment and computer readable storage medium |
| CN110969031A (en) * | 2019-12-04 | 2020-04-07 | 楚天龙股份有限公司 | A test system for non-contact smart IC card |
| CN111579959A (en) * | 2019-02-15 | 2020-08-25 | 深圳市汇顶科技股份有限公司 | Chip verification method, device and storage medium |
| CN112183124A (en) * | 2020-09-17 | 2021-01-05 | 深圳市银通商智能卡有限公司 | Contactless IC card radio frequency protocol and application test method |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060276989A1 (en) * | 2005-05-19 | 2006-12-07 | Ludwig Clifford V | System for testing smart cards and method for same |
| CN101126793A (en) * | 2007-09-18 | 2008-02-20 | 东信和平智能卡股份有限公司 | Intelligent card test system and method |
| CN101661552A (en) * | 2009-09-03 | 2010-03-03 | 公安部第一研究所 | Non-contact IC card radio frequency protocol and application testing method |
| CN201623819U (en) * | 2010-03-30 | 2010-11-03 | 福建新大陆通信科技股份有限公司 | Simulated smart card for detecting conditional access smart card slot in set-top box |
-
2010
- 2010-11-25 CN CN2010105588806A patent/CN102479333A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060276989A1 (en) * | 2005-05-19 | 2006-12-07 | Ludwig Clifford V | System for testing smart cards and method for same |
| CN101126793A (en) * | 2007-09-18 | 2008-02-20 | 东信和平智能卡股份有限公司 | Intelligent card test system and method |
| CN101661552A (en) * | 2009-09-03 | 2010-03-03 | 公安部第一研究所 | Non-contact IC card radio frequency protocol and application testing method |
| CN201623819U (en) * | 2010-03-30 | 2010-11-03 | 福建新大陆通信科技股份有限公司 | Simulated smart card for detecting conditional access smart card slot in set-top box |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104748781A (en) * | 2015-04-22 | 2015-07-01 | 航天科技控股集团股份有限公司 | Car instrument testing platform test parameter setting method |
| CN105676106A (en) * | 2015-12-31 | 2016-06-15 | 东信和平科技股份有限公司 | Non-contact intelligent card chip model automatic detection system and method |
| CN107632248A (en) * | 2016-07-19 | 2018-01-26 | 上海华虹集成电路有限责任公司 | Contact type intelligent card the whole series compatibility test system |
| CN108182061A (en) * | 2017-12-29 | 2018-06-19 | 新开普电子股份有限公司 | All-purpose card card script tests system |
| CN111579959A (en) * | 2019-02-15 | 2020-08-25 | 深圳市汇顶科技股份有限公司 | Chip verification method, device and storage medium |
| CN110197089A (en) * | 2019-05-23 | 2019-09-03 | 深圳市创自技术有限公司 | Reader detection method, equipment and computer readable storage medium |
| CN110969031A (en) * | 2019-12-04 | 2020-04-07 | 楚天龙股份有限公司 | A test system for non-contact smart IC card |
| CN112183124A (en) * | 2020-09-17 | 2021-01-05 | 深圳市银通商智能卡有限公司 | Contactless IC card radio frequency protocol and application test method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102479333A (en) | Non-contact IC card instruction test system and method | |
| CN106059582B (en) | A kind of Testing of mixed signal chipset system and method | |
| CN102539970A (en) | RFID equipment testing method and system | |
| CN106019125A (en) | 32-channel low-frequency RFID wafer test system and method | |
| US9928388B1 (en) | Sequential encoding for RFID tags | |
| CN103810521B (en) | Digital baseband processor for passive RFID (radio frequency identification) electronic tag | |
| CN103743453B (en) | A kind of control method of radar level gauge system | |
| CN201654818U (en) | A radio frequency identification detection system | |
| CN106952838A (en) | Dedicated RFID parallel wafer test system and verification method | |
| CN202513936U (en) | Test equipment for radio frequency tags | |
| CN101363899A (en) | Electronic label testing system and its testing method | |
| CN102664043A (en) | Device and method for test of smart SD card realizing mobile payment | |
| CN103823785B (en) | Multi-way ARINC429 data transmit-receive circuit structure based on development of DSP and CPLD | |
| CN104360199A (en) | Ultrahigh-frequency-band RFID testing system | |
| CN103235961A (en) | Base band control chip and ultrahigh frequency radio-frequency identification read-write device | |
| WO2021143094A1 (en) | Radio frequency identification chip supporting digital communication interface, and application method thereof | |
| CN107589362A (en) | A kind of RF tag test device based on FPGA | |
| CN102999742A (en) | Central processing unit (CPU) card reader | |
| CN102256018B (en) | Mobile phone with integrated RFID (Radio Frequency Identification) function and communication method thereof | |
| CN206038850U (en) | RFID electronic tags surveys resonant frequency testing arrangement | |
| CN105738732B (en) | RFID label tag Performance Test System | |
| CN204288237U (en) | A kind of Network Smart Card Reader-Writer | |
| CN101783753B (en) | Method and system for analyzing wireless local area network authentication and privacy infrastructure protocol | |
| CN105510800B (en) | A kind of the electronic tag test device and implementation method of simplified PAD design | |
| CN209560575U (en) | Library intelligent seat detection system based on RFID technology |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120530 |