CN117408267A - Card reader for canteen meal card and NFC identification - Google Patents

Card reader for canteen meal card and NFC identification Download PDF

Info

Publication number
CN117408267A
CN117408267A CN202311176569.9A CN202311176569A CN117408267A CN 117408267 A CN117408267 A CN 117408267A CN 202311176569 A CN202311176569 A CN 202311176569A CN 117408267 A CN117408267 A CN 117408267A
Authority
CN
China
Prior art keywords
module
nfc
card
card reader
tag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311176569.9A
Other languages
Chinese (zh)
Inventor
强东红
陈�光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Qiangshi Technology Co ltd
Original Assignee
Guangzhou Qiangshi 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 Guangzhou Qiangshi Technology Co ltd filed Critical Guangzhou Qiangshi Technology Co ltd
Priority to CN202311176569.9A priority Critical patent/CN117408267A/en
Publication of CN117408267A publication Critical patent/CN117408267A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10158Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves methods and means used by the interrogation device for reliably powering the wireless record carriers using an electromagnetic interrogation field
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • G06Q20/38215Use of certificates or encrypted proofs of transaction rights

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

A card reader for canteen meal card and NFC identification comprises a radio frequency card module, an NFC module, a security authentication module, a processor module and a communication module; the communication module is connected with the processor module through a serial interface and is used for providing communication support, and the communication module is externally connected with the upper computer and the server; the NFC module is connected with the processor module and the radio frequency card module through serial interfaces and is used for receiving an initialization signal of the radio frequency card module and transmitting the initialization signal to the NFC tag, and waking up the NFC tag to enter a working state; the radio frequency card module is connected with the processor module through a serial interface and is used for establishing communication connection between the card reader and the NFC tag. According to the invention, the safety verification is carried out through the safety authentication module, so that the safety in the payment process can be improved, the phenomenon of theft and brushing caused by modifying NFC label information by a user is avoided, meanwhile, the communication module can be used for conveniently connecting a WiFi network to a card reader, and the use flexibility of the card reader is improved.

Description

Card reader for canteen meal card and NFC identification
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a card reader for identifying canteen meal cards and NFC.
Background
NFC is a short-range high-frequency radio technology that allows contactless point-to-point data transfer between electronic devices. Since NFC technology has extremely high security and good transmission distance, it is more important that the cost is low. So it is now used in a large amount at the mobile phone end.
With the wide popularization and application of the mobile payment mode, many universities in China strengthen the construction of virtual campus cards, and basically realize' one card is on hand, and the universities walk through. Campus card systems with NFC function have been widely deployed in universities. Therefore, the card reader for reading the campus card is widely used, but the current card reader with the NFC function has no safety authentication function, so that the situation of modifying the data of the campus card to be stolen and brushed easily occurs, and the current card reader is inconvenient to connect and is not connected with WiFi.
Disclosure of Invention
The embodiment of the invention provides a card reader for canteen meal card and NFC identification, which can improve the safety in the payment process by carrying out safety verification through a safety authentication module, so that the phenomenon of theft and brushing caused by modifying NFC label information by a user is avoided, and meanwhile, the card reader can be conveniently connected with a WiFi network through a communication module, and the use flexibility of the card reader is improved.
In order to achieve the above-mentioned idea, the present invention provides a card reader, including a radio frequency card module, an NFC module, a security authentication module, a processor module, and a communication module;
the communication module is connected with the processor module through a serial interface and is used for providing communication support, and the communication module is externally connected with the upper computer and the server;
the NFC module is connected with the processor module and the radio frequency card module through serial interfaces and is used for receiving an initialization signal of the radio frequency card module and transmitting the initialization signal to the NFC tag, and waking up the NFC tag to enter a working state;
the radio frequency card module is connected with the processor module through a serial interface and is used for establishing communication connection between the card reader and the NFC tag, the card reader can send a request containing equipment information, the tag replies a response containing self information after receiving the request and is used for data exchange, the card reader sends an instruction to the NFC tag, the NFC tag executes corresponding operation after receiving the instruction, and a result is returned to the card reader;
the security authentication module is connected with the processor module through a serial interface and is used for performing security verification in the data exchange process, and identity verification is performed between the card reader and the NFC tag so as to ensure that an NFC tag authorizer accesses data;
the processor module is used for processing the NFC module initialization signal, establishing communication label and data exchange between the radio frequency card module and the NFC label, and judging the verification result of the security authentication module.
Further, the radio frequency card module consists of a radio frequency card chip, a resonant circuit and an antenna coil.
Further, the method for exchanging data includes:
placing the NFC tag in an antenna coil area of a radio frequency card module, inducing an alternating electric signal by a resonant circuit of the radio frequency card module and the NFC tag, and carrying out internal rectification and voltage stabilization on the alternating electric signal through a radio frequency card chip so as to enable the radio frequency card chip to work normally;
the radio frequency card chip sends an instruction to the NFC tag, demodulates and processes the digital signal fed back by the NFC tag, separates out an effective digital signal and judges and processes the effective digital signal;
the radio frequency card chip modulates the processing result and then sends the processing result to the processor module through the antenna coil;
and the processor module receives the data signal of the feedback processing NFC label to finish one-time data exchange.
Further, the method for performing security verification in the data exchange process by the security authentication module comprises the following steps:
the security authentication module selects a random number as a card reading private key on a finite field, calculates a corresponding card reading public key, the card reader sends request information to the NFC tag,
after receiving the request information sent by the card reader, the NFC tag selects a random number as a tag private key, calculates a corresponding tag public key, a message authentication amount, a signature amount and a common secret key, and feeds back the tag public key, the message authentication amount, the signature amount and the common secret key to the card reader;
the card reader transmits the tag public key, the message authentication quantity, the signature quantity and the common secret key to the upper computer and the server through the communication module;
performing NFC tag verification, searching whether another identical tag public key exists in the server through the tag public key, and if so, preliminarily considering the communication NFC tag as a legal NFC tag in the server;
searching whether another same signature quantity exists in the server through the signature quantity, if so, the communication NFC tag is a legal NFC tag in the server, and generating a common secret key;
transmitting the message authentication quantity to the NFC tag through the card reader;
and after receiving the message authentication quantity forwarded by the card reader, the NFC tag performs common secret key verification, generates a message authentication quantity through the tag public key and the card reading public key, judges whether the message authentication quantity is equal to the message authentication quantity, and if so, the common secret key verification is successful.
Further, the communication module is connected with the upper computer and the server through WiFi or a wired network mode.
Further, the method for connecting the communication module with the upper computer and the server through WiFi comprises the following steps:
the method comprises the steps that interaction is carried out between a mobile phone with an NFC function and an NFC module, and basic information of card reader equipment and WiFi information connected with the mobile phone are obtained;
the mobile phone with the NFC function sends out a modulated 13.56MHz signal to be communicated with the NFC module, wiFi information is written into the NFC module, the NFC module is interrupted to output a signal to trigger the processor module of the card reader, the communication module is controlled to acquire the WiFi information from the NFC module, and networking is completed.
The technical scheme provided by the embodiment of the invention has the beneficial effects that at least:
according to the invention, the safety verification is carried out through the safety authentication module, so that the safety in the payment process can be improved, and the phenomenon of theft and brushing caused by modifying NFC label information by a user is avoided.
The WiFi network can be conveniently connected with the card reader through the communication module, and the flexibility of the card reader in use is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a block diagram of a card reader according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a card reader according to an embodiment of the invention.
Detailed Description
For a clearer understanding of the present invention, the present invention will be described in detail with reference to the accompanying drawings and practical examples:
referring to fig. 1, an embodiment of a first aspect of the present application provides a card reader for identifying a canteen meal card and NFC, including a radio frequency card module, an NFC module, a security authentication module, a processor module, and a communication module;
the communication module is connected with the processor module through a serial interface and is used for providing communication support, and the communication module is externally connected with the upper computer and the server;
the communication module is connected with the upper computer and the server through WiFi or wired network modes;
the NFC module is connected with the processor module and the radio frequency card module through serial interfaces and is used for receiving an initialization signal of the radio frequency card module and transmitting the initialization signal to the NFC tag, and waking up the NFC tag to enter a working state;
the radio frequency card module is connected with the processor module through a serial interface and is used for establishing communication connection between the card reader and the NFC tag, the card reader can send a request containing equipment information, the tag replies a response containing self information after receiving the request and is used for carrying out data exchange, the card reader sends an instruction to the NFC tag, the NFC tag executes corresponding operation after receiving the instruction and returns a result to the card reader;
the radio frequency card module consists of a radio frequency card chip, a resonant circuit and an antenna coil;
the safety authentication module is connected with the processor module through a serial interface and is used for carrying out safety verification in the data exchange process, and identity verification is carried out between the card reader and the NFC tag so as to ensure that an NFC tag authorizer accesses data;
the processor module is used for processing the NFC module initialization signal, establishing communication label and data exchange between the radio frequency card module and the NFC label, and judging the verification result of the security authentication module.
As shown in fig. 2, in the embodiment of the present application, when a canteen meal card with an NFC tag performs card swiping, initialization, that is, state wakeup, is performed first, an NFC module receives an initialization signal of a radio frequency card module and transmits the initialization signal to the NFC tag, and wakes up the NFC tag to enter a working state;
placing a canteen meal card with an NFC tag into an antenna coil area of a radio frequency card module, inducing an alternating electric signal by a resonant circuit of the radio frequency card module and the NFC tag, rectifying and stabilizing the alternating electric signal through a radio frequency card chip, enabling the radio frequency card chip to normally electrify, and waking up the NFC tag to acquire an NFC tag ID and other information, namely the name, the school number, the sex, the balance and the like of a student;
then, carrying out security authentication, wherein in the payment process, the security authentication module selects a random number as a card reading private key on a finite field, calculates a corresponding card reading public key, the card reader sends request information to the NFC tag, and after receiving the request information sent by the card reader, the NFC tag selects the random number as a tag private key, calculates a corresponding tag public key, a message authentication amount, a signature amount and a common secret key and feeds back the tag public key, the message authentication amount, the signature amount and the common secret key to the card reader; the card reader transmits the tag public key, the message authentication quantity, the signature quantity and the common secret key to the upper computer and the server through the communication module; performing NFC tag verification, searching whether another identical tag public key exists in the server through the tag public key, and if so, preliminarily considering the communication NFC tag as a legal NFC tag in the server; searching whether another same signature quantity exists in the server through the signature quantity, if so, the communication NFC tag is a legal NFC tag in the server, and generating a common secret key; transmitting the message authentication quantity to the NFC tag through the card reader; and after receiving the message authentication quantity forwarded by the card reader, the NFC tag performs common secret key verification, generates a message authentication quantity through the tag public key and the card reading public key, judges whether the message authentication quantity is equal to the message authentication quantity, and if so, the common secret key verification is successful, and the NFC tag identity verification can be completed to pay.
Finally, the radio frequency card chip sends a payment instruction to the NFC tag, demodulates and processes the digital signal fed back by the NFC tag, separates out an effective digital signal and judges and processes the effective digital signal; the radio frequency card chip modulates the processing result and then sends the processing result to the processor module through the antenna coil; and the processor module receives the data signal of the feedback processing NFC label, completes one data exchange, deducts the transaction amount of the student and increases the balance of the meal card.
The canteen meal card with the NFC tag can also be bound on a mobile phone with the NFC function for use.
When the card reader is used, as most of the existing mobile phones have NFC functions, in order to facilitate the quick link WiFi use of the card reader, the mobile phones with the NFC functions interact with the NFC module to acquire basic information of card reader equipment and WiFi information connected with the mobile phones;
the mobile phone with the NFC function sends out a modulated 13.56MHz signal to be communicated with the NFC module, wiFi information is written into the NFC module, the NFC module is interrupted to output a signal to trigger the processor module of the card reader, the communication module is controlled to acquire the WiFi information from the NFC module, and networking is completed.

Claims (6)

1. A card reader for dining room meal card and NFC discernment, its characterized in that: the NFC device comprises a radio frequency card module, an NFC module, a security authentication module, a processor module and a communication module;
the communication module is connected with the processor module through a serial interface and is used for providing communication support, and the communication module is externally connected with the upper computer and the server;
the NFC module is connected with the processor module and the radio frequency card module through serial interfaces and is used for receiving an initialization signal of the radio frequency card module and transmitting the initialization signal to the NFC tag, and waking up the NFC tag to enter a working state;
the radio frequency card module is connected with the processor module through a serial interface and is used for establishing communication connection between the card reader and the NFC tag, the card reader can send a request containing equipment information, the tag replies a response containing self information after receiving the request and is used for data exchange, the card reader sends an instruction to the NFC tag, the NFC tag executes corresponding operation after receiving the instruction, and a result is returned to the card reader;
the security authentication module is connected with the processor module through a serial interface and is used for performing security verification in the data exchange process, and identity verification is performed between the card reader and the NFC tag so as to ensure that an NFC tag authorizer accesses data;
the processor module is used for processing the NFC module initialization signal, establishing communication label and data exchange between the radio frequency card module and the NFC label, and judging the verification result of the security authentication module.
2. A card reader for canteen meal card and NFC identification as claimed in claim 1, characterized in that: the radio frequency card module consists of a radio frequency card chip, a resonant circuit and an antenna coil.
3. A card reader for canteen meal card and NFC identification as claimed in claim 1 or 2, characterized in that: said and used for exchanging data, comprising:
placing the NFC tag in an antenna coil area of a radio frequency card module, inducing an alternating electric signal by a resonant circuit of the radio frequency card module and the NFC tag, and carrying out internal rectification and voltage stabilization on the alternating electric signal through a radio frequency card chip so as to enable the radio frequency card chip to work normally;
the radio frequency card chip sends an instruction to the NFC tag, demodulates and processes the digital signal fed back by the NFC tag, separates out an effective digital signal and judges and processes the effective digital signal;
the radio frequency card chip modulates the processing result and then sends the processing result to the processor module through the antenna coil;
and the processor module receives the data signal of the feedback processing NFC label to finish one-time data exchange.
4. A card reader for canteen meal card and NFC identification as claimed in claim 1, characterized in that: the method for carrying out security verification in the data exchange process by the security authentication module comprises the following steps:
the security authentication module selects a random number as a card reading private key on a finite field, calculates a corresponding card reading public key, the card reader sends request information to the NFC tag,
after receiving the request information sent by the card reader, the NFC tag selects a random number as a tag private key, calculates a corresponding tag public key, a message authentication amount, a signature amount and a common secret key, and feeds back the tag public key, the message authentication amount, the signature amount and the common secret key to the card reader;
the card reader transmits the tag public key, the message authentication quantity, the signature quantity and the common secret key to the upper computer and the server through the communication module;
performing NFC tag verification, searching whether another identical tag public key exists in the server through the tag public key, and if so, preliminarily considering the communication NFC tag as a legal NFC tag in the server;
searching whether another same signature quantity exists in the server through the signature quantity, if so, the communication NFC tag is a legal NFC tag in the server, and generating a common secret key;
transmitting the message authentication quantity to the NFC tag through the card reader;
and after receiving the message authentication quantity forwarded by the card reader, the NFC tag performs common secret key verification, generates a message authentication quantity through the tag public key and the card reading public key, judges whether the message authentication quantity is equal to the message authentication quantity, and if so, the common secret key verification is successful.
5. A card reader for canteen meal card and NFC identification as claimed in claim 1, characterized in that: and the communication module is connected with the upper computer and the server through WiFi or wired network modes.
6. A card reader for canteen meal card and NFC identification as claimed in claim 1, characterized in that: the method for connecting the communication module with the upper computer and the server through WiFi comprises the following steps:
the method comprises the steps that interaction is carried out between a mobile phone with an NFC function and an NFC module, and basic information of card reader equipment and WiFi information connected with the mobile phone are obtained;
the mobile phone with the NFC function sends out a modulated 13.56MHz signal to be communicated with the NFC module, wiFi information is written into the NFC module, the NFC module is interrupted to output a signal to trigger the processor module of the card reader, the communication module is controlled to acquire the WiFi information from the NFC module, and networking is completed.
CN202311176569.9A 2023-09-12 2023-09-12 Card reader for canteen meal card and NFC identification Pending CN117408267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311176569.9A CN117408267A (en) 2023-09-12 2023-09-12 Card reader for canteen meal card and NFC identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311176569.9A CN117408267A (en) 2023-09-12 2023-09-12 Card reader for canteen meal card and NFC identification

Publications (1)

Publication Number Publication Date
CN117408267A true CN117408267A (en) 2024-01-16

Family

ID=89493366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311176569.9A Pending CN117408267A (en) 2023-09-12 2023-09-12 Card reader for canteen meal card and NFC identification

Country Status (1)

Country Link
CN (1) CN117408267A (en)

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
洪家平;: "AT88RF020在学校就餐管理***中的应用", 单片机与嵌入式***应用, no. 01, 1 January 2006 (2006-01-01), pages 51 - 54 *
韦永霜;陈建华;韦永美;: "基于椭圆曲线密码的RFID/NFC安全认证协议", 信息网络安全, no. 12, 10 December 2019 (2019-12-10), pages 64 - 71 *
高员;李琳;肖静;赵成志;: "代理计算签名及其在RFID认证中的应用", 电子产品可靠性与环境试验, no. 01, 20 February 2015 (2015-02-20), pages 24 - 28 *

Similar Documents

Publication Publication Date Title
US11063924B2 (en) Communication system and method, information processing terminal and method, and information processing device and method
US9913077B2 (en) Switching between multiple coupling modes
US7053771B2 (en) Apparatus, method and system for authentication
US8205073B2 (en) Access point, terminal, encryption key configuration system, encryption key configuration method, and program
US20090144456A1 (en) Interface Device for Securely Extending Computer Functionality
US20070055633A1 (en) Secure NFC apparatus and method supporting various security modules in plug-in fashion
WO2013071711A1 (en) Method for processing payment business and terminal
KR20130138355A (en) Near field communication application identification routing in card emulation
CN102802156B (en) A kind of method for authenticating and relevant device
CN105488555A (en) Managing power and timing in a smart card device
KR101157541B1 (en) The system of issuing a p2p coupon and method thereof
Jain et al. Nfc?: Advantages, limits and future scope
CN102402744A (en) Data processing method and system for mobile equipment and mobile equipment
CN101515814A (en) Enhanced near field communication device and realization method thereof
US20150339658A1 (en) Method of authentication between a mobile terminal and a processing terminal
JPWO2014021053A1 (en) Information processing system and information processing method
US20170026781A1 (en) Mobile communication device and cloud-based computer system
EP2355368B1 (en) Telecommunication component and wireless communication system for coupling a cellular mobile telecommunication device to an NFC terminal
Kolev Designing a NFC system
KR101246343B1 (en) A Mobile Phone Equipped with RFID Tag and Thereof Method for Controlling Access of RFID Reader
CN117408267A (en) Card reader for canteen meal card and NFC identification
US10728728B2 (en) Method and a device for managing contactless applications
EP1429526A2 (en) Data processing apparatus
CN203870587U (en) Electronic touch device
KR20120106448A (en) System and method for providing payment service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination