CN104992134B - Label immediate processing method - Google Patents

Label immediate processing method Download PDF

Info

Publication number
CN104992134B
CN104992134B CN201510478395.0A CN201510478395A CN104992134B CN 104992134 B CN104992134 B CN 104992134B CN 201510478395 A CN201510478395 A CN 201510478395A CN 104992134 B CN104992134 B CN 104992134B
Authority
CN
China
Prior art keywords
nfc
infrared
smart card
mobile terminal
label
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
CN201510478395.0A
Other languages
Chinese (zh)
Other versions
CN104992134A (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
Shenzhen Mingwah Aohan Smart Card 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 Shenzhen Mingwah Aohan Smart Card Co Ltd filed Critical Shenzhen Mingwah Aohan Smart Card 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

Abstract

The present invention provides a kind of label immediate processing method, this method includes:Multiple smart cards are scanned using NFC function module, communicated by infrared NEC agreements with mobile terminal, and by scanning information storage in the terminal, be identified when mobile terminal is using smart card by matching algorithm, to activate the smart card specified.The present invention proposes a kind of label immediate processing method, by the simple and quick scanning of smart card, and store in the terminal, the infrastructure of existing radio frequency identification class need not be replaced, substantial amounts of artificial and equipment cost can be saved, the integrated management of personal smart card is realized, is brought convenience for daily life, efficiently application of IC cards and good experience.

Description

Label immediate processing method
Technical field
The present invention relates to smart card, more particularly to a kind of label immediate processing method.
Background technology
With the fast development of mobile Internet, the mobile terminal of NFC function, especially Android mobile terminal are supported Deng also in explosive growth.NFC technique is because its unique security is primarily used to mobile payment, identity authentication, gate inhibition etc. In system.On the other hand, the smart card species based on internet and the emerging communication technology is more and more, such as transportation card, access card, silver Row card etc., the quantity that one holds smart card is significantly increased and brings big inconvenience to the carrying and use of consumer.
The content of the invention
To solve the problems of above-mentioned prior art, the present invention proposes a kind of label immediate processing method, including:
Multiple smart cards are scanned using NFC function module, are communicated by infrared NEC agreements with mobile terminal Letter, and by scanning information storage in the terminal, be identified when mobile terminal is using smart card by matching algorithm, with Activate the smart card specified.
Preferably, the NFC function module includes NFC chip, micro-control unit, infrared module and auxiliary circuit and electricity Source, wherein, the NFC chip and infrared module are by SPI interface into row information transmission, and installation is corresponding in advance for mobile terminal Driving and library file;
Micro-control unit is used for the conversion and order forwarding of data format, real by the functional authorization of the hardware kit Automatic matching between existing infrared module, the automatic matching process of the infrared module further comprise:
1) infrared module in NFC function module is set into pass code first;
2) infrared module is registered as into receiver in infrared opening in the application of mobile terminal, is at waiting and rings Answer state;
3) when the infrared module of mobile terminal receives broadcast, pass code infrared in NFC function module is set to red In outer mold piece;
4) the correlation function methods such as infrared pairing, binding state verification are realized.Thereby realize infrared automatic matching.
Preferably, it is described to be identified when mobile terminal is using smart card by matching algorithm, to activate the intelligence specified It can block, further comprise:
The support of NFC and api interface are encapsulated in the android.nfc and android.nfc.tech of android system In two bags, detected defined in android.nfc and the method for discovery NFC objects, a NFC chip correspond to a NFC and fit Orchestration, wherein the detection and discovery procedure are:
1) a NFC manager object is constructed when NFC is initialized, by calling getDefaultAdapater methods to obtain To the control of NFC chip, while complete the initial work to NFC chip.
2) NFC adapters automatically create an Intent comprising NFC label by message distributing system and are broadcasted, and lead to NFC label in news field carries out response after receiving the broadcast, and the discovery procedure of label is completed if response success;
The Intent of different priorities is defined, NFC adapters establish communication connection according to the priority and the Intent, Label data is packaged into NFC data and handed over by the correlation technique of the digital independent defined in android.nfc.tech, NFC adapters The data packet of form is changed, the reading and transmission of data is carried out afterwards, is finally converted to all data messages of smart card specified Form stored.
The present invention compared with prior art, has the following advantages:
The present invention proposes a kind of label immediate processing method, by the simple and quick scanning of smart card, and is stored in mobile whole In end, it is not necessary to the infrastructure of existing radio frequency identification class is replaced, substantial amounts of artificial and equipment cost can be saved, The integrated management of personal smart card is realized, is brought convenience for daily life, efficiently application of IC cards and good experience.
Brief description of the drawings
Fig. 1 is the flow chart of label immediate processing method according to embodiments of the present invention.
Embodiment
Retouching in detail to one or more embodiment of the invention is hereafter provided together with the attached drawing for illustrating the principle of the invention State.The present invention is described with reference to such embodiment, but the invention is not restricted to any embodiment.The scope of the present invention is only by right Claim limits, and the present invention covers many replacements, modification and equivalent.Illustrate in the following description many details with Just provide a thorough understanding of the present invention.These details are provided for exemplary purposes, and without in these details Some or all details can also realize the present invention according to claims.
Fig. 1 is label immediate processing method flow chart according to embodiments of the present invention.The present invention proposes a kind of smart card collection Into system model, with reference to existing mobile terminal and NFC technique, by the simple and quick scanning of various smart cards, and it is stored in mobile whole In end, intelligent recognition can be carried out by matching algorithm during use and activate the smart card specified.
NFC function module by NFC chip, micro-control unit, infrared module and other auxiliary circuits and electric power generating composition, its In, NFC chip and infrared module are standardized information transmission by SPI interface.The present invention passes through NFC function module infrared NEC agreements with do not support the terminal device of NFC function to communicate, realize order and data interaction and transmission;Phase is installed After the driving answered and library file, possesses NFC function not the terminal device for supporting NFC.So equipment can pass through extension NFC function module carries out NFC communication with other NFC devices or label, realizes that quick access to content and reading and writing data etc. are grasped Make.
Micro-control unit is mainly responsible for the conversion and order forwarding of data format.The present invention has carried out the work(of the hardware kit Energy property verification, realizes the automatic matching link between infrared module, is not required to manually enter pass code progress authentication Connection is matched in success, and can realize the basic functions such as conversion and the communication of infrared data form and NFC data form.
Here is that infrared module realizes process without input automatic matching function:
1) infrared module in NFC function module is set into pass code, such as 0000 first.
2) infrared module is registered as into receiver in infrared opening in mobile terminal application, is at wait-for-response shape State.
3) when mobile terminal infrared module receives broadcast, pass code infrared in NFC function module is set to infrared In module.
4) the correlation function methods such as infrared pairing, binding state verification are realized.Thereby realize infrared automatic matching.
In the Software for Design of mobile terminal, developed based on Android platform, pass through identifying processing and simulation activation two Subsystem realizes the concrete function of the parts such as smartcard identification, data scanning and reading, card storage and smart card simulation activation.
The function that identifying processing subsystem is realized mainly includes the parts such as card identification, information reading and information storage.To NFC Support and api interface predominant package in the bag of android.nfc and android.nfc.tech two of android system. Wherein, detected in the subsystem and find the methods of NFC objects defined in android.nfc, a NFC chip corresponds to one NFC adapters.The present invention detection and discovery procedure be:
1) a NFC manager object is constructed when NFC is initialized, by calling getDefaultAdapater methods to obtain To the control of NFC chip, while complete the initial work to hardware such as NFC chips.
2) NFC adapters automatically create one by message distributing system (label DSPIatchSystem) and are marked comprising NFC The Intent of label is broadcasted, and is communicated after the NFC label in field receives the broadcast and is carried out response, response success then completes label Discovery procedure.
The Intent of 3 kinds of different priorities is defined, priority is higher, then NFC adapters are more preferential and the Intent is established Communication connection.Defined in android.nfc.tech, label data is packaged into the correlation technique of digital independent by NFC adapters The data packet of NFC data exchange format, can carry out the reading and transmission of data afterwards, finally by all of a sheet smart card Data message is converted to the form specified and is stored.
By scanning smart card getter information, and the data for converting information into specific format are stored in mobile phone, this Just complete the integrated of a sheet smart card;As long as more sheet smart cards are scanned one by one, it is possible to are integrated in more sheet smart cards Smart machine suffers.
The smart card reader equipment that simulation activation subsystem is embodied as specifying, which is found, matches corresponding NFC its datas, Smart card is simulated to carry out swiping card and carry out the function of corresponding operation log recording.
The pairing of smart card NFC its datas, can by UID, SAK, HASH with opposite entity smart card and The information such as RFTechnology establish information contrast table, are made choice, are realized to smart card reader by certain pairing algorithm The Weigh sensor of equipment.In the case of multiple NFC its datas are paired to, can also by error calculation and poll come Secondary pairing is carried out, improves the effective percentage and success rate of pairing algorithm.
At present, the pairing algorithm that smart card integrated system uses can be simply expressed as:The discovery of NFC targets card reader → If radio type, which obtains → according to all records in radio-frequency queries card data →, to be had SAK data, is filtered according to SAK values The card data record inquired → poll activation is attempted and NFC card readers communication → smart card confirms, should by card data addition The UID marks of card reader, and update HASH → establish communication linkage and exchange data.
The bottom layer driving of NFC chip has been supported to simulate the function of passive label by NFC, by nfclib class libraries Function Extension is carried out, and writes corresponding java class and is supplied to android system to call as middleware, equally realizes NFC Card analog functuion.At present using the method for software simulation, i.e., resource is divided for NFC chip by the processor of mobile terminal, And provide the function of information processing, communication response and part SE safe units.This scheme is increased without special hardware, realizes It is relatively convenient to get up, while also substantially increases the applicability of the solution.
In conclusion the present invention proposes a kind of label immediate processing method, by the simple and quick scanning of smart card, and store In the terminal, it is not necessary to the infrastructure of existing radio frequency identification class is replaced, can save it is substantial amounts of manually and Equipment cost, realizes the integrated management of personal smart card, brings convenience for daily life, efficiently application of IC cards and high-quality Experience.
Obviously, can be with general it should be appreciated by those skilled in the art, above-mentioned each module of the invention or each step Computing system realize that they can be concentrated in single computing system, or be distributed in multiple computing systems and formed Network on, alternatively, they can be realized with the program code that computing system can perform, it is thus possible to which they are stored Performed within the storage system by computing system.Combined in this way, the present invention is not restricted to any specific hardware and software.
It should be appreciated that the above-mentioned embodiment of the present invention is used only for exemplary illustration or explains the present invention's Principle, without being construed as limiting the invention.Therefore, that is done without departing from the spirit and scope of the present invention is any Modification, equivalent substitution, improvement etc., should all be included in the protection scope of the present invention.In addition, appended claims purport of the present invention Covering the whole changes fallen into scope and border or this scope and the equivalents on border and repairing Change example.

Claims (1)

  1. A kind of 1. label immediate processing method, it is characterised in that including:
    Mobile terminal is communicated by infrared NEC agreements with NFC function module, and mobile terminal installation in advance is corresponding to drive Dynamic and library file;
    Multiple smart cards are scanned using NFC function module, by scanning information storage in the terminal;
    When mobile terminal uses smart card, it is identified by matching algorithm, to activate the smart card specified;
    The NFC function module includes NFC chip, micro-control unit, infrared module and auxiliary circuit and power supply, wherein, it is described NFC chip and infrared module are by SPI interface into row information transmission;
    Micro-control unit is used for the conversion and order forwarding of data format, by the functional authorization of the NFC function module, realizes Automatic matching between infrared module, the automatic matching process of the infrared module further comprise:
    1) infrared module in NFC function module is set into pass code first;
    2) infrared module is registered as into receiver in infrared opening in the application of mobile terminal, is at wait-for-response shape State;
    3) when the infrared module of mobile terminal receives broadcast, pass code infrared in NFC function module is set to infrared mould In block;
    4) the correlation function methods such as infrared pairing, binding state verification are realized;Thereby realize infrared automatic matching;
    It is described to be identified when mobile terminal is using smart card by matching algorithm, to activate the smart card specified, further Including:The support of NFC and api interface are encapsulated in the android.nfc and android.nfc.tech two of android system Bao Zhong, the method for being detected defined in android.nfc and finding NFC objects, a NFC chip correspond to a NFC adapter, Wherein described detection and discovery procedure are:
    1) a NFC manager object is constructed when NFC is initialized, by calling the acquisition pair of getDefaultAdapater methods The control of NFC chip, while complete the initial work to NFC chip;
    2) NFC adapters automatically create an Intent comprising NFC label by message distributing system and are broadcasted, and communicate field In NFC label receive the broadcast after carry out response, if response success if complete label discovery procedure;
    The Intent of different priorities is defined, NFC adapters establish communication connection according to the priority and the Intent, Label data is packaged into NFC data and exchanged by the correlation technique of digital independent defined in android.nfc.tech, NFC adapters The data packet of form, carries out the reading and transmission of data, all data messages of smart card finally is converted to what is specified afterwards Form is stored.
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 CN104992134A (en) 2015-10-21
CN104992134B true 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)

Families Citing this family (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

Also Published As

Publication number Publication date
CN104992134A (en) 2015-10-21

Similar Documents

Publication Publication Date Title
JP5349681B2 (en) Enhanced near field communication terminal, smart card and communication method thereof
CN205407821U (en) A near field communication device
US11039293B2 (en) Method and devices for transmitting a secured data package to a communication device
CN104853309A (en) Method and system for managing multiple applications in near field communication
CN111479259B (en) SIM card configuration distribution method and system
CN103366140A (en) Card writing method and card writing device based on NFC (Near Field Communication)
CN101800987B (en) Intelligent card authentication device and method
CN102194085B (en) The method of issued transaction is carried out by NFC device
US20130179499A1 (en) Method, apparatus and system for displaying radio frequency identification application information
CN104992134B (en) Label immediate processing method
CN102510391B (en) Application management method and device and smart card
CN101866514B (en) Non-contact payment application installation method, intelligent card and mobile terminal
CN103544114A (en) Multiple M1 card control system based on single CPU card and control method thereof
CN103781072A (en) Terminal smart card implementing method and chip
US9883398B2 (en) Contactless programming of subscriber identity modules
CN105490708B (en) A kind of method and device for reading and writing smart card
CN103902496A (en) Device and method for USB KEY protocol conversion
EP2753107B1 (en) Method and System for Processing a Data Transfer Related to a Data-Storing Card
WO2018153225A1 (en) Authentication apparatus with built-in electronic identity information
CN108668271B (en) Intelligent card number transfer method and device
CN103067850B (en) Mobile communication service cost inquiry method and device and system
CN105592032A (en) Internet-based security information interaction method
CN111222864A (en) Internet of vehicles safety payment method, system, storage medium and vehicle machine
CN108664820B (en) Electronization method of non-contact IC card, related equipment and system
WO2020052753A1 (en) Intermediary system for faciliting communication between virtual smart cards and a smart card interface

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