CN104992134A - Label fast processing method - Google Patents

Label fast processing method Download PDF

Info

Publication number
CN104992134A
CN104992134A CN201510478395.0A CN201510478395A CN104992134A CN 104992134 A CN104992134 A CN 104992134A CN 201510478395 A CN201510478395 A CN 201510478395A CN 104992134 A CN104992134 A CN 104992134A
Authority
CN
China
Prior art keywords
nfc
infrared
mobile terminal
label
smart card
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.)
Granted
Application number
CN201510478395.0A
Other languages
Chinese (zh)
Other versions
CN104992134B (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.)
Shenzhen mingwah Aohan Smart Card Co. Ltd.
Original Assignee
CHENGDU DINGZHIHUI SCIENCE AND 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 CHENGDU DINGZHIHUI SCIENCE AND TECHNOLOGY Co Ltd filed Critical CHENGDU DINGZHIHUI SCIENCE AND TECHNOLOGY Co Ltd
Priority to CN201510478395.0A priority Critical patent/CN104992134B/en
Publication of CN104992134A publication Critical patent/CN104992134A/en
Application granted granted Critical
Publication of CN104992134B publication Critical patent/CN104992134B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a label fast processing method, comprising steps of utilizing an NFC function module to perform scanning on a plurality of intelligent cards, performing communication with a mobile terminal through an infrared NEC protocol, and storing scanned information in the mobile terminal, wherein when the mobile terminal uses the intelligent card, the identification is carried on through a matching algorithm to activate the appointed intelligent card. The invention provides a label fast processing method, which performs fast scanning on the intelligent cards and stores inside the mobile terminal. The label fast processing method does not need to perform replacement on the current infrastructure of the radio frequency identification, saves substantial labor and device costs, realizes comprehensive management of personal intelligent cards, and provides convenience to daily life, fast intelligent card application and quality experience.

Description

Label immediate processing method
Technical field
The present invention relates to smart card, particularly a kind of label immediate processing method.
Background technology
Along with the fast development of mobile Internet, support the mobile terminal of NFC function, especially Android mobile terminal etc., also in explosive growth.NFC technique is mainly used in the systems such as mobile payment, identity authentication, gate inhibition because of the security of its uniqueness.On the other hand, the smart card kind based on internet and the emerging communication technology gets more and more, and as transportation card, access card, bank card etc., the single quantity holding smart card significantly increases carrying and using and bring very large inconvenience to consumer.
Summary of the invention
For solving the problem existing for above-mentioned prior art, the present invention proposes a kind of label immediate processing method, comprising:
NFC functional module is utilized to scan multiple smart card, communicated by infrared NEC agreement and mobile terminal, and scanning information is stored in the terminal, identified, to activate the smart card of specifying by pairing algorithm when mobile terminal uses smart card.
Preferably, described NFC functional module comprises NFC chip, micro-control unit, infrared module and auxiliary circuit and power supply, wherein, described NFC chip and infrared module carry out information transmission by SPI interface, and mobile terminal installs corresponding driving and library file in advance;
Micro-control unit is used for conversion and the transferring order of data layout, and by the functional authorization of this hardware kit, realize the automatic matching between infrared module, the automatic matching process of described infrared module comprises further:
1) first the infrared module in NFC functional module is arranged pass code;
2) in the application of mobile terminal, when infrared opening, infrared module is registered as receiver, makes it be in wait-for-response state;
3) when the infrared module of mobile terminal receives broadcast, pass code infrared in NFC functional module is set in infrared module;
4) the related function method such as infrared pairing, binding state verification is realized.So just achieve infrared automatic matching.
Preferably, described when mobile terminal use smart card time by match algorithm identify, to activate the smart card of specifying, comprise further:
The support of NFC and api interface are encapsulated in android.nfc and android.nfc.tech two bag of android system, in android.nfc, definition detects and finds the method for NFC object, a corresponding NFC adapter of NFC chip, wherein said detection and discovery procedure are:
1) constructing a NFC manager object during NFC initialization, by calling the control of getDefaultAdapater method acquisition to NFC chip, completing the initial work to NFC chip simultaneously.
2) NFC adapter automatically creates an Intent comprising NFC label by message distributing system and broadcasts, and the NFC label in communication field is replied after receiving this broadcast, if reply successfully, completes the discovery procedure of label;
The Intent of definition different priorities, NFC adapter establishes a communications link according to described priority and this Intent, the correlation technique of digital independent is defined in android.nfc.tech, label data is packaged into the packet of NFC data Interchange Format by NFC adapter, carry out reading and the transmission of data afterwards, finally all data messages of smart card are converted to the form of specifying and store.
The present invention compared to existing technology, has the following advantages:
The present invention proposes a kind of label immediate processing method, by simple and quick for smart card scanning, and store in the terminal, do not need to change the infrastructure of existing radio-frequency (RF) identification class, a large amount of artificial and equipment costs can be saved, achieve the integrated management of individual smart card, for daily life bring convenience, the experience of application of IC cards efficiently and high-quality.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the label immediate processing method according to the embodiment of the present invention.
Embodiment
Detailed description to one or more embodiment of the present invention is hereafter provided together with the accompanying drawing of the diagram principle of the invention.Describe the present invention in conjunction with such embodiment, but the invention is not restricted to any embodiment.Scope of the present invention is only defined by the claims, and the present invention contain many substitute, amendment and equivalent.Set forth many details in the following description to provide thorough understanding of the present invention.These details are provided for exemplary purposes, and also can realize the present invention according to claims without some in these details or all details.
Fig. 1 is the label immediate processing method process flow diagram according to the embodiment of the present invention.The present invention proposes a kind of smart card integrated system model, in conjunction with existing mobile terminal and NFC technique, by simple and quick for various smart card scanning, and stores in the terminal, carries out Intelligent Recognition also activate the smart card of specifying during use by pairing algorithm.
NFC functional module is by NFC chip, micro-control unit, infrared module and other auxiliary circuits and electric power generating composition, and wherein, NFC chip and infrared module carry out standardized information transmission by SPI interface.The present invention by NFC functional module by infrared NEC agreement with do not support that the terminal device of NFC function communicates, realize the mutual and transmission of order and data; After corresponding driving and library file are installed, do not support that the terminal device of NFC has just possessed NFC function.Such equipment can carry out NFC communication by the NFC functional module of expansion and other NFC device or label, realizes the operation such as access to content and reading and writing data fast.
The conversion of micro-control unit primary responsibility data layout and transferring order.Invention has been the functional authorization of this hardware kit, achieve the automatic matching link between infrared module, do not need manual input pass code to carry out authentication and successfully can match connection, and the conversion that can realize infrared data form and NFC data form with the basic function such as to communicate.
Here is the implementation procedure of infrared module without input automatic matching function:
1) first the infrared module in NFC functional module is arranged pass code, such as 0000.
2) when infrared opening, infrared module is registered as receiver in mobile terminal application, makes it be in wait-for-response state.
3) when mobile terminal infrared module receives broadcast, pass code infrared in NFC functional module is set in infrared module.
4) the related function method such as infrared pairing, binding state verification is realized.So just achieve infrared automatic matching.
In the Software for Design of mobile terminal, based on Android platform exploitation, realized the concrete function of the parts such as smartcard identification, data scanning and reading, card storage and smart card simulation activate by identifying processing and simulation activation two subsystems.
The function that identifying processing subsystem realizes mainly comprises the parts such as card identification, information reading and information storage.To the support of NFC and api interface predominant package in android.nfc and android.nfc.tech two bag of android system.Wherein, detect in this subsystem and find that the method for NFC object defines in android.nfc, a corresponding NFC adapter of NFC chip.Detection of the present invention and discovery procedure are:
1) constructing a NFC manager object during NFC initialization, by calling the control of getDefaultAdapater method acquisition to NFC chip, completing the initial work to hardware such as NFC chip simultaneously.
2) NFC adapter is broadcasted by the automatic establishment of message distributing system (label DSPIatchSystem) Intent comprising NFC label, NFC label in communication field is replied after receiving this broadcast, replys the discovery procedure successfully then completing label.
The Intent of definition 3 kinds of different priorities, priority is higher, then NFC adapter is more preferential establishes a communications link with this Intent.The correlation technique of digital independent defines in android.nfc.tech, label data is packaged into the packet of NFC data Interchange Format by NFC adapter, reading and the transmission of data can be carried out afterwards, finally all data messages of a sheet smart card are converted to the form of specifying and store.
By scanning smart card getter information, and data information being converted to specific format are stored in mobile phone, this completes the integrated of a sheet smart card; As long as multiple smart cards scan one by one, just multiple smart cards can be integrated in smart machine and suffer.
Simulation activates subsystem and is embodied as the smart card reader equipment of specifying and finds the corresponding NFC its data of pairing, simulates smart card and carries out swiping the card and operate and carry out the function of corresponding operation log recording.
The pairing of smart card NFC its data, information contrast table can be set up by information such as UID, SAK, HASH and the RFTechnology with relative entity smart card, selected by certain pairing algorithm, realize the Weigh sensor to smart card reader equipment.For the situation being paired to multiple NFC its data, also can carry out secondary pairing by error calculation and poll, improve the efficient and success ratio of pairing algorithm.
At present, the pairing algorithm that smart card integrated system adopts can be expressed as simply: if the acquisition of NFC target card reader discoverys → radio type → according to all records in radio-frequency queries card data → have SAK data, then carry out according to SAK value card data record → poll that filtering query arrives to activate and attempt and NFC card reader communication → smart card confirmation, these card data are added the UID mark of this card reader, and upgrade HASH → set up communication linkage and exchange data.
The bottom layer driving of NFC chip has supported the function being simulated passive label by NFC, by carrying out Function Extension to nfclib class libraries, and writes corresponding java class and is supplied to android system as middleware and calls, achieve the card analog functuion of NFC equally.The method of current employing software simulation, is namely that NFC chip divides resource by the processor of mobile terminal, and provides the function of information processing, communication response and part SE safe unit.This scheme need not increase special hardware, and it is relatively convenient to implement, and also substantially increases the applicability of this solution simultaneously.
In sum, the present invention proposes a kind of label immediate processing method, by simple and quick for smart card scanning, and store in the terminal, do not need to change the infrastructure of existing radio-frequency (RF) identification class, a large amount of artificial and equipment cost can be saved, achieve the integrated management of individual smart card, for daily life bring convenience, the experience of application of IC cards efficiently and high-quality.
Obviously, it should be appreciated by those skilled in the art, above-mentioned of the present invention each module or each step can realize with general computing system, they can concentrate on single computing system, or be distributed on network that multiple computing system forms, alternatively, they can realize with the executable program code of computing system, thus, they can be stored and be performed by computing system within the storage system.Like this, the present invention is not restricted to any specific hardware and software combination.
Should be understood that, above-mentioned embodiment of the present invention only for exemplary illustration or explain principle of the present invention, and is not construed as limiting the invention.Therefore, any amendment made when without departing from the spirit and scope of the present invention, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.In addition, claims of the present invention be intended to contain fall into claims scope and border or this scope and border equivalents in whole change and modification.

Claims (3)

1. a label immediate processing method, is characterized in that, comprising:
NFC functional module is utilized to scan multiple smart card, communicated by infrared NEC agreement and mobile terminal, and scanning information is stored in the terminal, identified, to activate the smart card of specifying by pairing algorithm when mobile terminal uses smart card.
2. method according to claim 1, it is characterized in that, described NFC functional module comprises NFC chip, micro-control unit, infrared module and auxiliary circuit and power supply, wherein, described NFC chip and infrared module carry out information transmission by SPI interface, and mobile terminal installs corresponding driving and library file in advance;
Micro-control unit is used for conversion and the transferring order of data layout, and by the functional authorization of this hardware kit, realize the automatic matching between infrared module, the automatic matching process of described infrared module comprises further:
1) first the infrared module in NFC functional module is arranged pass code;
2) in the application of mobile terminal, when infrared opening, infrared module is registered as receiver, makes it be in wait-for-response state;
3) when the infrared module of mobile terminal receives broadcast, pass code infrared in NFC functional module is set in infrared module;
4) the related function method such as infrared pairing, binding state verification is realized.So just achieve infrared automatic matching.
3. method according to claim 2, is characterized in that, described when mobile terminal use smart card time by match algorithm identify, to activate the smart card of specifying, comprise further:
The support of NFC and api interface are encapsulated in android.nfc and android.nfc.tech two bag of android system, in android.nfc, definition detects and finds the method for NFC object, a corresponding NFC adapter of NFC chip, wherein said detection and discovery procedure are:
1) constructing a NFC manager object during NFC initialization, by calling the control of getDefaultAdapater method acquisition to NFC chip, completing the initial work to NFC chip simultaneously.
2) NFC adapter automatically creates an Intent comprising NFC label by message distributing system and broadcasts, and the NFC label in communication field is replied after receiving this broadcast, if reply successfully, completes the discovery procedure of label;
The Intent of definition different priorities, NFC adapter establishes a communications link according to described priority and this Intent, the correlation technique of digital independent is defined in android.nfc.tech, label data is packaged into the packet of NFC data Interchange Format by NFC adapter, carry out reading and the transmission of data afterwards, finally all data messages of smart card are converted to the form of specifying and store.
CN201510478395.0A 2015-08-06 2015-08-06 Label immediate processing method Active CN104992134B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510478395.0A CN104992134B (en) 2015-08-06 2015-08-06 Label immediate processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510478395.0A CN104992134B (en) 2015-08-06 2015-08-06 Label immediate processing method

Publications (2)

Publication Number Publication Date
CN104992134A true CN104992134A (en) 2015-10-21
CN104992134B CN104992134B (en) 2018-05-11

Family

ID=54303947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510478395.0A Active CN104992134B (en) 2015-08-06 2015-08-06 Label immediate processing method

Country Status (1)

Country Link
CN (1) CN104992134B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111904042A (en) * 2019-05-08 2020-11-10 常州市派腾电子技术服务有限公司 Control method and device of electronic cigarette
CN112423407A (en) * 2020-10-27 2021-02-26 广州市华用智能科技有限公司 Terminal equipment scanning connection control method based on RDM bidirectional communication

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1980073A (en) * 2005-12-09 2007-06-13 三星电子株式会社 Mobile terminal having a rfid function
CN103942513A (en) * 2014-03-24 2014-07-23 爱康普科技(大连)有限公司 Mobile reader
CN104301384A (en) * 2014-09-05 2015-01-21 北京奇虎科技有限公司 Data acquisition method, device and system
CN104574099A (en) * 2013-10-29 2015-04-29 株式会社日立制作所 Portable terminal application transaction systems and methods
CN104778485A (en) * 2015-04-28 2015-07-15 百度在线网络技术(北京)有限公司 Object monitoring system and method and intelligent case

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1980073A (en) * 2005-12-09 2007-06-13 三星电子株式会社 Mobile terminal having a rfid function
CN104574099A (en) * 2013-10-29 2015-04-29 株式会社日立制作所 Portable terminal application transaction systems and methods
CN103942513A (en) * 2014-03-24 2014-07-23 爱康普科技(大连)有限公司 Mobile reader
CN104301384A (en) * 2014-09-05 2015-01-21 北京奇虎科技有限公司 Data acquisition method, device and system
CN104778485A (en) * 2015-04-28 2015-07-15 百度在线网络技术(北京)有限公司 Object monitoring system and method and intelligent case

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111904042A (en) * 2019-05-08 2020-11-10 常州市派腾电子技术服务有限公司 Control method and device of electronic cigarette
CN112423407A (en) * 2020-10-27 2021-02-26 广州市华用智能科技有限公司 Terminal equipment scanning connection control method based on RDM bidirectional communication

Also Published As

Publication number Publication date
CN104992134B (en) 2018-05-11

Similar Documents

Publication Publication Date Title
CN205407821U (en) A near field communication device
CN100386777C (en) Semiconductor integrated circuit, mobile module, and message communication method
CN101729502B (en) Method and system for distributing key
US9122903B2 (en) Method of managing communications with a NFC controller
US11039293B2 (en) Method and devices for transmitting a secured data package to a communication device
US20120034868A1 (en) Method of preselecting at least one application in a mobile communication device comprising an nfc system
US20160299754A1 (en) Method for Updating Application Program, and Terminal
CN103118356B (en) Embedded smart card eUICC Activiation method, system, terminal and platform
CN104428796B (en) Communication equipment, control method, program and front end
CN105074745A (en) Method for controlling payment device for selecting payment means
CN101866463A (en) eNFC terminal, eNFC intelligent card and communication method thereof
CN105554037A (en) Identity identification processing method and service platform
CN102802156B (en) A kind of method for authenticating and relevant device
CN101739756B (en) Method for generating secrete key of smart card
CN101765830A (en) Method for processing application commands from physical channels using a portable electronic device and corresponding device and system
CN103366140A (en) Card writing method and card writing device based on NFC (Near Field Communication)
CN101729503A (en) Method and system for distributing key
CN102194085B (en) The method of issued transaction is carried out by NFC device
CN101800987B (en) Intelligent card authentication device and method
CN111479259A (en) SIM card configuration distribution method and system
EP3387581A1 (en) Systems and methods for a cloud connected transponder
CN103544114A (en) Multiple M1 card control system based on single CPU card and control method thereof
CN103914713A (en) Method of modifying application type of smart card, smart terminal, service platform and system
CN103781072A (en) Terminal smart card implementing method and chip
CN101866514B (en) Non-contact payment application installation method, intelligent card and mobile 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
CB03 Change of inventor or designer information

Inventor after: Li Xiang

Inventor after: Tong Xiaohua

Inventor after: You Jianhua

Inventor after: Wu Xiaoming

Inventor before: Xiao Hui

CB03 Change of inventor or designer information
TA01 Transfer of patent application right

Effective date of registration: 20180413

Address after: 518000 Shenzhen, Baoan District, Guangdong Shiyan Street Shixin community Hongfa Industrial Park (Hongfa electronics factory) 10 buildings on the west side of the third floor

Applicant after: Shenzhen mingwah Aohan Smart Card Co. Ltd.

Address before: The middle Tianfu Avenue in Chengdu city Sichuan province 610000 No. 1388 1 7 storey building No. 772

Applicant before: CHENGDU DINGZHIHUI SCIENCE AND TECHNOLOGY CO., LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant