CN103021081B - Method for realizing communication and interaction between non-contact integrated circuit (IC) cards and card reading terminal on basis of multi-card fusion application - Google Patents

Method for realizing communication and interaction between non-contact integrated circuit (IC) cards and card reading terminal on basis of multi-card fusion application Download PDF

Info

Publication number
CN103021081B
CN103021081B CN201210474416.8A CN201210474416A CN103021081B CN 103021081 B CN103021081 B CN 103021081B CN 201210474416 A CN201210474416 A CN 201210474416A CN 103021081 B CN103021081 B CN 103021081B
Authority
CN
China
Prior art keywords
card
contactless
mode
contact
reading terminal
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
CN201210474416.8A
Other languages
Chinese (zh)
Other versions
CN103021081A (en
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.)
CLP Hongxin Information Technology Co.,Ltd.
Original Assignee
JIANGSU HONGXIN SYSTEM INTEGRATION 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 JIANGSU HONGXIN SYSTEM INTEGRATION CO Ltd filed Critical JIANGSU HONGXIN SYSTEM INTEGRATION CO Ltd
Priority to CN201210474416.8A priority Critical patent/CN103021081B/en
Publication of CN103021081A publication Critical patent/CN103021081A/en
Application granted granted Critical
Publication of CN103021081B publication Critical patent/CN103021081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Credit Cards Or The Like (AREA)

Abstract

The invention relates to a method for realizing communication and interaction between non-contact integrated circuit (IC) cards and a card reading terminal on basis of multi-card fusion application. The non-contact IC cards comprise a non-contact logic encryption card and a non-contact central processing unit (CPU) card. The communication and interaction method comprises the following steps: connecting the non-contact IC cards with the card reading terminal in an induction mode; and acquiring the types of the cards and performing reading and writing operation. By the method, multi-card fusion can be realized and multiple cards can be identified. The non-contact cards supported at present comprise all Phillips S50 M1 cards and the CPU cards of multiple card manufacturers. The section distribution of M1 can be flexibly adjusted and the sections and the catalogues of the CPU cards can be increased or decreased according to the requirements of customers.

Description

Realize the method for carrying out communication interaction between the non-contact IC card of many cards fusion application and card-reading terminal
Technical field
The present invention relates to a kind of card system and method for many cards fusion application, many cards comprise the contactless logic encryption card of multiple producer and contactless CPU card, especially can carry out the mixed of multi-card in same system, specifically a kind ofly realize the method for carrying out communication interaction between the non-contact IC card of many cards fusion application and card-reading terminal.
Background technology
At present, domestic card vendor gets more and more, and gets more and more to the personalization of card operation, and each local card vendor adopted also is not quite similar simultaneously.
Contactless logic encryption card and Mifare(M1 card) be the EEPROM with certain capacity, be generally 16 sectors, also have 64 sectors etc., each sector is 4 pieces, every block 16 bytes, take block as access unit, there are independently one group of password and access control in each sector, and the block 0 of each sector, block 1, block 2 are data block, can be used for stored data, the block 3 of each sector is controll block, includes password A, access control, password B.
Contactless CPU card, also claims smart card, with microprocessor CPU, memory cell (comprising random access memory ram, program memory ROM (FLASH), user data memory EEPROM) and chip operating system COS in the integrated circuit in card.The CPU card that COS is housed is equivalent to a microcomputer, not only has data storage function, has the function such as command process and data security protecting simultaneously.The mechanism of two kinds of cards is different with principle, and mode of operation and instruction are also different, for different producers, and instruction also some difference of CPU card.
Along with information-intensive society development, Citizen Card Item application in various places more and more comes more sound, and a lot of enterprise and school wish enterprise's all-purpose card or school's all-purpose card to combine with Citizen Card Item one after another, increases convenience.And the Card Type that the Citizen Card Item of various places adopts is different, and enterprise, school the demand to card also different, how to merge various types of card, complete the various functions such as consumption, work attendance, gate inhibition, become the research point that card system in industry is new.
In the application of reality except type of card is different with card provider, the occupation mode of card is also different, such as M1 card, removing common application, sector number and the sector number of leaving enterprise or all-in-one campus card use for are different, this just needs software can adjust hair fastener sector number flexibly, and sector distribution.CPU card uses document form, and for different local, spendable file may be different, need software hair fastener to be to use alternative document catalogue.
All-purpose card software in the market normally to the operation of single type card, not many cards fusion application substantially.
Summary of the invention
The object of the invention is for the problems referred to above, propose a kind of method realizing carrying out between the non-contact IC card of many cards fusion application and card-reading terminal communication interaction.Multi-card identification has been merged in the present invention, and the contactless card supported at present comprises all Philip S50 M1 cards, and the CPU card of many card vendors, the later stage can access increasing card.The sector distribution of M1 can be adjusted neatly, increase and decrease the catalogue of sector and CPU card according to the demand of client simultaneously.
Technical scheme of the present invention is:
Realize a method of carrying out communication interaction between the non-contact IC card of many cards fusion application and card-reading terminal, described contactless IC card comprises contactless logic encryption card and contactless CPU card, and the method for described communication interaction comprises the following steps:
Step one, described non-contact IC card are responded to described card-reading terminal and are connected, the repositioning information in card-reading terminal reading non-contact type IC card, and process repositioning information according to the order of initial setting up,
Step 2, elder generation process according to contactless logic encryption card mode: if success, be then judged as contactless logic encryption card, carry out the read-write process of card according to contactless logic encryption card mode;
If unsuccessful, then carry out processing according to the mode of contactless CPU card, if success, be then judged as contactless CPU card, carry out the read-write process of card according to contactless CPU card mode, if unsuccessful, return results and can not identify;
Step 2 or be: first process according to the mode of contactless CPU card, if success, is then judged as contactless CPU card, carries out the read-write process of card according to contactless CPU card mode;
If unsuccessful, then process according to contactless logic encryption card mode, if success, be then judged as contactless logic encryption card, carry out the read-write process of card according to contactless logic encryption card mode, if unsuccessful, return results and can not identify;
Step 3, described card-reading terminal, according to the flag bit of read repositioning information, read corresponding service request, carry out Business Processing according to the aforementioned contactless logic encryption card determined or contactless CPU card.
Non-contact IC card of the present invention and described card-reading terminal complete read-write operation by ISO/IEC14443 specification.
Of the present inventionly carry out process according to contactless logic encryption card mode and refer to: take the mode reading sector to judge whether this card is contactless logic encryption card, if card returns success response, it is then contactless logic encryption card, otherwise carry out reading file process according to the mode of contactless CPU card, if card returns success response, be then non-contact type CPU card;
The described mode according to contactless CPU card is carried out process and is referred to: whether this card is contactless CPU card to take the mode reading file process to judge, if card returns success response, it is then non-contact type CPU card, otherwise carry out reading sectors process according to the mode of contactless logic encryption card, if card returns success response, be then contactless logic encryption card.
Contactless logic encryption card of the present invention and M1 card arrange number of sectors according to the demand of user.
Number of sectors of the present invention is 6-12.
Card-reading terminal of the present invention comprise in read write line, charge machine, attendance recorder and door access machine one or more.
Beneficial effect of the present invention:
The present invention is non-contact IC card and the all-purpose card product of many card fusions, and non-contact IC card product Card Type is in the market more single, seldom accomplishes merge more.And along with the rise of various places Citizen Card Item, school of a lot of enterprise wishes enterprise's all-in-one campus card and common application to combine, and this just needs multi-card to be fused together.Present various places enterprise and school are a lot, all in implementation informatization, very large to the demand of non-contact IC card.
Mobile phone card and non-contact IC card can merge by the present invention simultaneously, along with the increase of all-purpose card demand, can pull the development of telecommunication terminal.
Accompanying drawing explanation
Fig. 1 is system architecture diagram of the present invention
Fig. 2 is platform and integrally flow chart of the present invention
Fig. 3 is that card operating process mended by card-reading terminal hair fastener of the present invention
Fig. 4 is that card-reading terminal Card Reader of the present invention selects operating process
Fig. 5 is card-reading terminal operating process of the present invention
Detailed description of the invention
Below in conjunction with drawings and Examples, invention is further described.
As shown in the figure, in interface processing and card-reading terminal processing method, certain amendment has mainly been carried out to make polytype card compatible:
1. interface processing is divided into two parts:
First: card is arranged.
Contactless logic encryption card: sector distribution can be adjusted flexibly according to customer demand, delete sector.Minimum needs 6 sectors, complete hair fastener needs 12 sectors, can select sector according to the situation of card.Be conducive to like this meeting more customer demands, for some enterprise and school's card more occupied sectors, can avoid by the sector used, ensure that all-purpose card application and user's other application original are simultaneously used on a card, save user cost, improve facility.
Contactless CPU card: hair fastener catalogue and transmission security key can be selected according to the demand of client.CPU card generally has multiple application, in order to security, the transmission security key oneself defined during customization card, may be used, and catalogue may be taken by other application, just need to revise the hair fastener directory name that is and transmission security key.
Second: card operation is selected.
Philip S50 M1 card, many card vendor's CPU card etc. have been docked at present in system.M1 card and CPU card operation are almost completely different, also have some difference between the CPU card operation of different vendor.The unified card operation-interface of system definition, adopts the mode inherited to encapsulate different card operation-interfaces.Can selection card type during hair fastener, and preserve database.For the operation such as supplementing with money, then without the need to user's input card type, first carry out Card Reader information, software will first carry out the judgement of Card Type.Card Reader order can be arranged, and as first read M1 application during Card Reader, after the failure of M1 application Card Reader, judges it is which kind of CPU again.User can arrange according to system card situation and first read M1 card and still first read CPU card, improves Card Reader speed.
2. card-reading terminal processing method part:
Because the same card achieves a lot of application, card not only as M1 card but also as CPU card, can make Card Type mark inefficacy on card like this.So revise in card-reading terminal, carrying out order and judge, making card-reading terminal call the Card Type card reading interface of another kind of card again when reading a kind of Card Type failure.The Card Type that card-reading terminal preferentially reads can be set simultaneously on software.
The present invention mainly comprises client, service end and consumption end.Client mainly comprises Ka Wu center, maintenance centre, Help Center, work attendance center and gate inhibition center, and responsible interface presents and operating process.Service end mainly comprises specific implementation and data processing.Connected by tcp between client and service end and communicate.Consumption end primary responsibility charge machine is arranged, transceiving data etc., and adopts webservice to communicate between service end.Simply easy for installation, the IP address of service end is set after installation, the IP address that client and consumption are held is arranged to the IP address of service end simultaneously.As long as after all cards first initialize (initializers are in client), at platform hair fastener, subsequent operation can be carried out.
The part that the present invention does not relate to prior art that maybe can adopt all same as the prior art is realized.

Claims (6)

1. one kind realizes the method for carrying out communication interaction between the non-contact IC card of many cards fusion application and card-reading terminal, described contactless IC card comprises contactless logic encryption card and contactless CPU card, it is characterized in that the method for described communication interaction comprises the following steps:
Step one, described non-contact IC card are responded to described card-reading terminal and are connected, the repositioning information in card-reading terminal reading non-contact type IC card, and process repositioning information according to the order of initial setting up,
Step 2, elder generation process according to contactless logic encryption card mode: if success, be then judged as contactless logic encryption card, carry out the read-write process of card according to contactless logic encryption card mode;
If unsuccessful, then process according to the mode of contactless CPU card, if success, be then judged as contactless CPU card, carry out the read-write process of card according to contactless CPU card mode, if unsuccessful, return results and can not identify;
Step 2 or be: first process according to the mode of contactless CPU card, if success, is then judged as contactless CPU card, carries out the read-write process of card according to contactless CPU card mode;
If unsuccessful, then process according to contactless logic encryption card mode, if success, be then judged as contactless logic encryption card, carry out the read-write process of card according to contactless logic encryption card mode, if unsuccessful, return results and can not identify;
Step 3, described card-reading terminal, according to the flag bit of read repositioning information, read corresponding service request, carry out Business Processing according to the aforementioned contactless logic encryption card determined or contactless CPU card.
2. according to claim 1ly realize the method for carrying out communication interaction between the non-contact IC card of many cards fusion application and card-reading terminal, it is characterized in that described non-contact IC card and described card-reading terminal complete read-write operation by ISO/IEC14443 specification.
3. according to claim 1ly realize the method for carrying out communication interaction between the non-contact IC card of many cards fusion application and card-reading terminal, carry out process according to contactless logic encryption card mode described in it is characterized in that to refer to: take the mode reading sector to judge whether this card is contactless logic encryption card, if card returns success response, it is then contactless logic encryption card, otherwise carry out reading file process according to the mode of contactless CPU card, if card returns success response, be then non-contact type CPU card;
The described mode according to contactless CPU card is carried out process and is referred to: whether this card is contactless CPU card to take the mode reading file process to judge, if card returns success response, it is then non-contact type CPU card, otherwise carry out reading sectors process according to the mode of contactless logic encryption card, if card returns success response, be then contactless logic encryption card.
4. according to claim 1ly realize the method for carrying out communication interaction between the non-contact IC card of many cards fusion application and card-reading terminal, it is characterized in that described contactless logic encryption card and M1 card arrange number of sectors according to the demand of user.
5. according to claim 4ly realize the method for carrying out communication interaction between the non-contact IC card of many cards fusion application and card-reading terminal, it is characterized in that described number of sectors is 6-12.
6. according to claim 1ly realize the method for carrying out communication interaction between the non-contact IC card of many cards fusion application and card-reading terminal, it is characterized in that described card-reading terminal comprises in read write line, charge machine, attendance recorder and door access machine one or more.
CN201210474416.8A 2012-11-21 2012-11-21 Method for realizing communication and interaction between non-contact integrated circuit (IC) cards and card reading terminal on basis of multi-card fusion application Active CN103021081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210474416.8A CN103021081B (en) 2012-11-21 2012-11-21 Method for realizing communication and interaction between non-contact integrated circuit (IC) cards and card reading terminal on basis of multi-card fusion application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210474416.8A CN103021081B (en) 2012-11-21 2012-11-21 Method for realizing communication and interaction between non-contact integrated circuit (IC) cards and card reading terminal on basis of multi-card fusion application

Publications (2)

Publication Number Publication Date
CN103021081A CN103021081A (en) 2013-04-03
CN103021081B true CN103021081B (en) 2015-04-29

Family

ID=47969641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210474416.8A Active CN103021081B (en) 2012-11-21 2012-11-21 Method for realizing communication and interaction between non-contact integrated circuit (IC) cards and card reading terminal on basis of multi-card fusion application

Country Status (1)

Country Link
CN (1) CN103021081B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104299316B (en) * 2014-09-28 2017-05-03 飞天诚信科技股份有限公司 Method for automatically detecting card types through financial terminal
CN105787408B (en) * 2016-02-03 2018-04-03 飞天诚信科技股份有限公司 A kind of card reader and its method of work for supporting high-speed data communications
CN107944532A (en) * 2017-11-28 2018-04-20 恒宝股份有限公司 A kind of smart card and the method and terminal for reading and writing smart card
CN108021832A (en) * 2017-12-18 2018-05-11 宁波三星医疗电气股份有限公司 A kind of electric energy meter of compatible more card operations knows chucking method
CN108038403B (en) * 2017-12-21 2021-04-16 东信和平科技股份有限公司 Card reading method based on NFC technology and client
CN111932237B (en) * 2020-07-31 2022-11-29 武汉阿迪克电子股份有限公司 Cloud-based one-card transaction method and system
CN114218968A (en) * 2021-11-23 2022-03-22 深圳市科脉技术股份有限公司 Non-contact IC card data processing method, non-contact IC card data processing device, computer equipment and medium
CN115497234A (en) * 2022-09-04 2022-12-20 安徽银通物联有限公司 Campus POS machine based on third-generation social security card and payment method thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3625113B2 (en) * 1996-10-15 2005-03-02 オムロン株式会社 Card processing device
CN101097642A (en) * 2006-06-29 2008-01-02 飞力凯网路股份有限公司 Financial card system, communications device, authentication terminal, authentication method, and program
CN201408458Y (en) * 2009-05-08 2010-02-17 上海孚恩电子科技有限公司 RFID wireless hand-held POS terminal
CN201628968U (en) * 2010-04-09 2010-11-10 深圳市数智国兴信息科技有限公司 Combined structure for mobile RFID-SIM card and non-contact type IC card reading
CN201662849U (en) * 2010-03-12 2010-12-01 张永建 Multifunctional pos integrated machine with multiple transmission modes
CN201845341U (en) * 2010-10-22 2011-05-25 重庆英黎科技有限公司 General card reader
CN102136081A (en) * 2011-03-24 2011-07-27 北京握奇数据系统有限公司 Integrated circuit (IC) card and data updating method thereof
CN202373005U (en) * 2011-12-22 2012-08-08 四川久远新方向智能科技有限公司 Compound multifunctional integrated circuit (IC) card reader-writer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4262914B2 (en) * 2001-11-07 2009-05-13 富士電機リテイルシステムズ株式会社 Vending machine display

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3625113B2 (en) * 1996-10-15 2005-03-02 オムロン株式会社 Card processing device
CN101097642A (en) * 2006-06-29 2008-01-02 飞力凯网路股份有限公司 Financial card system, communications device, authentication terminal, authentication method, and program
CN201408458Y (en) * 2009-05-08 2010-02-17 上海孚恩电子科技有限公司 RFID wireless hand-held POS terminal
CN201662849U (en) * 2010-03-12 2010-12-01 张永建 Multifunctional pos integrated machine with multiple transmission modes
CN201628968U (en) * 2010-04-09 2010-11-10 深圳市数智国兴信息科技有限公司 Combined structure for mobile RFID-SIM card and non-contact type IC card reading
CN201845341U (en) * 2010-10-22 2011-05-25 重庆英黎科技有限公司 General card reader
CN102136081A (en) * 2011-03-24 2011-07-27 北京握奇数据系统有限公司 Integrated circuit (IC) card and data updating method thereof
CN202373005U (en) * 2011-12-22 2012-08-08 四川久远新方向智能科技有限公司 Compound multifunctional integrated circuit (IC) card reader-writer

Also Published As

Publication number Publication date
CN103021081A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN103021081B (en) Method for realizing communication and interaction between non-contact integrated circuit (IC) cards and card reading terminal on basis of multi-card fusion application
US8244762B2 (en) Method for configuring an IC card in order to receive personalization commands
US10007873B2 (en) Multifunction smart card
CN102375997B (en) Information sending method and system based on user card
CN102087715B (en) Information processing device, information processing method and program
CN106453730B (en) A kind of smart card and terminal device
US20100029202A1 (en) Performing contactless applications in battery off mode
CN101351813A (en) Nested memory system with near field communications capability
CN101147161A (en) Loading internal applications on a smartcard
CN107437297A (en) Message processing device and method, IC chip and computer-readable recording medium
CN102376134A (en) Point of sale (POS) machine, POS machine card-punching system and card-punching transaction method thereof
US20180211242A1 (en) System and method for identifying multiple types of electronic money and apparatus employing the same
KR20060086724A (en) Internet connecting system and method thereof using rfid
US8533747B2 (en) Method and system for selecting one or more integrated circuit card interface devices
US8604902B2 (en) Communication system, information processing method, and program product
CN102184317A (en) Resident medical data mobile storage device and implementation method thereof
US10509636B2 (en) System, method and personalizable portable device in which application code libraries are distributed in a compressed form
KR101103583B1 (en) Traffic card having a function of whole country compatibillity
CN101266538A (en) Intelligent memory card interface access control method
CN103413155A (en) Electronic anti-counterfeiting tracing tag design compatible with high-frequency RFID and NFC system
CN108683429A (en) A kind of mobile terminal for supporting PSAM cards
CN103678427A (en) Method and system for retrieving and using application arranged in smart card
CN102063465A (en) Method and device for customizing card personalization template
CN112613872A (en) Type 4NFC tag as protocol interface
US20030150913A1 (en) IC card terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 210029 No. 268, Hanzhoung Road, Nanjing, Jiangsu

Patentee after: CLP Hongxin Information Technology Co.,Ltd.

Address before: 210029 No. 268, Hanzhoung Road, Nanjing, Jiangsu

Patentee before: JIANGSU HONGXIN SYSTEM INTEGRATION Co.,Ltd.