WO2018171723A1 - Near field communication front-end hardware circuit, terminal, reader/writer, system and method - Google Patents

Near field communication front-end hardware circuit, terminal, reader/writer, system and method Download PDF

Info

Publication number
WO2018171723A1
WO2018171723A1 PCT/CN2018/080227 CN2018080227W WO2018171723A1 WO 2018171723 A1 WO2018171723 A1 WO 2018171723A1 CN 2018080227 W CN2018080227 W CN 2018080227W WO 2018171723 A1 WO2018171723 A1 WO 2018171723A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
near field
field communication
modulated signal
signal
Prior art date
Application number
PCT/CN2018/080227
Other languages
French (fr)
Chinese (zh)
Inventor
陈柳章
Original Assignee
深圳市文鼎创数据科技有限公司
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
Priority claimed from CN201710184295.6A external-priority patent/CN107094037B/en
Priority claimed from CN201710184291.8A external-priority patent/CN106909865B/en
Application filed by 深圳市文鼎创数据科技有限公司 filed Critical 深圳市文鼎创数据科技有限公司
Publication of WO2018171723A1 publication Critical patent/WO2018171723A1/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Near-Field Transmission Systems (AREA)

Abstract

The present application is applicable to the technical field of communications. Provided are a near field communication front-end hardware circuit, terminal, reader/writer, system and method. The near field communication front-end hardware circuit comprises: a near field communication antenna, a wave detection unit and a communication interface pin unit; the near field communication antenna comprises a near field coil and a matching circuit, the frequency of the near field coil matches a selected carrier frequency; the wave detection unit is used for filtering out a carrier in a received modulation signal to obtain the original modulation signal, and the wave detection unit is connected to the near field coil; the communication interface pin unit is used for outputting the original modulation signal to a micro-control unit, and the communication interface pin unit is connected between the wave detection unit and the micro-control unit. The above-mentioned circuit enables power consumption to be significantly reduced.

Description

近场通信前端硬件电路、终端、读写器、系统以及方法Near field communication front end hardware circuit, terminal, reader/writer, system and method 技术领域Technical field
本申请属于通信技术领域This application belongs to the field of communication technology
背景技术Background technique
近场通信技术是由非接触式射频识别(Radio Frequency Identification,RFID)及互联互通技术整合演变而来,在单一芯片上结合感应式读写器、感应式卡片和点对点的功能,能在短距离内与兼容设备进行识别和数据交换。目前这项技术被广泛应用,如银行双界面卡,新型可视银行卡、动态令牌(One-time Password,OTP)卡等。Near field communication technology is evolved from the integration of non-contact radio frequency identification (RFID) and interoperability technologies. It combines inductive readers, inductive cards and point-to-point functions on a single chip. Identification and data exchange with compatible devices. This technology is currently widely used, such as bank dual interface cards, new visual bank cards, dynamic tokens (One-time) Password, OTP) card, etc.
目前大多数方案都是使用近场通讯(Near Field Communication,NFC)芯片进行通信,成本较高,控制芯片和外部读写器A交互复杂,功耗较高。At present, most of the solutions use Near Field Communication (NFC) chips for communication, and the cost is high. The control chip and the external reader A have complex interactions and high power consumption.
技术问题technical problem
本发明实施例提供了一种近场通信前端硬件电路、终端、读写器、系统以及方法,以解决现有技术中使用NFC芯片通信时,成本较高,且交互复杂,功耗较高的问题。The embodiment of the invention provides a near-field communication front-end hardware circuit, a terminal, a reader/writer, a system and a method, so as to solve the problem of high cost, complicated interaction and high power consumption when using NFC chip communication in the prior art. problem.
技术解决方案Technical solution
本发明实施例的第一方面,提供了一种近场通信前端硬件电路,所述近场通信前端硬件电路包括:A first aspect of the embodiments of the present invention provides a near field communication front end hardware circuit, where the near field communication front end hardware circuit includes:
近场通信天线、检波单元和通信接口引脚单元;Near field communication antenna, detection unit and communication interface pin unit;
所述近场通信天线包括近场线圈和匹配电容,所述近场线圈的频率与选取的载波频率匹配;The near field communication antenna includes a near field coil and a matching capacitor, and a frequency of the near field coil matches a selected carrier frequency;
所述检波单元,用于滤除接收的调制信号中的载波,得到原调制信号,所述检波单元与所述近场线圈连接;The detecting unit is configured to filter a carrier in the received modulated signal to obtain an original modulated signal, and the detecting unit is connected to the near field coil;
所述通信接口引脚单元,用于将所述原调制信号输出至微控制单元,所述通信接口引脚单元连接于所述检波单元与所述微控制单元之间。The communication interface pin unit is configured to output the original modulation signal to a micro control unit, and the communication interface pin unit is connected between the detection unit and the micro control unit.
结合第一方面,在第一方面的第一种可能实现方式中,所述检波单元用于滤除接收的种子或生产配置数据中的载波,得到原调制信号,对应地,所述通信接口引脚单元,用于将所述原调制信号输出至微控制单元,所述通信接口引脚单元连接于所述检波单元的输出端与所述微控制单元的输入输出引脚之间。With reference to the first aspect, in a first possible implementation manner of the first aspect, the detecting unit is configured to filter the received seed or the carrier in the production configuration data to obtain an original modulated signal, and correspondingly, the communication interface is a foot unit for outputting the original modulated signal to a micro control unit, the communication interface pin unit being connected between an output end of the detecting unit and an input/output pin of the micro control unit.
结合第一方面或第一方面的第一种可能实现方式,在第一方面的第二种可能实现方式中,所述近场通信前端硬件电路还包括:With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the near field communication front end hardware circuit further includes:
后端匹配单元,用于将所述原调制信号进行判决匹配,并将匹配后的信号通过所述通信接口引脚单元输出至所述微控制单元,所述后端匹配单元连接于所述检波单元与所述通信接口引脚单元之间。a back-end matching unit, configured to perform a decision matching on the original modulated signal, and output the matched signal to the micro-control unit through the communication interface pin unit, where the back-end matching unit is connected to the detection Between the unit and the communication interface pin unit.
结合第一方面的第二种可能实现方式,在第一方面的第三种可能实现方式中,所述后端匹配单元包括:In conjunction with the second possible implementation of the first aspect, in a third possible implementation of the first aspect, the backend matching unit includes:
所述后端匹配单元为比较判别单元或AD采样单元。The backend matching unit is a comparison discriminating unit or an AD sampling unit.
结合第一方面的第三种可能实现方式,在第一方面的第四种可能实现方式中,所述比较判别单元包括:In conjunction with the third possible implementation of the first aspect, in a fourth possible implementation manner of the first aspect, the comparison determining unit includes:
比较器和电阻R2、电阻R3;Comparator and resistor R2, resistor R3;
所述比较器的正向输入端与所述滤波单元的输出端连接,所述比较器的反向输入端通过所述电阻R2接地,所述比较器的反向输入端还通过所述电阻R3与所述微控制单元的输入输出接口连接,所述比较器的输出端与所述微控制单元的接收信号端连接;a forward input end of the comparator is connected to an output end of the filter unit, an inverting input end of the comparator is grounded through the resistor R2, and an inverting input end of the comparator further passes through the resistor R3 Connected to an input/output interface of the micro control unit, and an output end of the comparator is connected to a receiving signal end of the micro control unit;
所述AD采样单元为模数转换器。The AD sampling unit is an analog to digital converter.
结合第一方面,或结合第一方面的第二种可能实现方式,或结合第一方面的第三种的可能实现方式,在第一方面的第五种可能实现方式中,所述近场通信前端硬件电路还包括负载调制单元;In conjunction with the first aspect, or in combination with the second possible implementation of the first aspect, or in combination with the third possible implementation of the first aspect, in a fifth possible implementation of the first aspect, the near field communication The front end hardware circuit further includes a load modulation unit;
所述负载调制单元,用于通过控制所述近场线圈的负载变化进行负载调制并发送调制信号,所述负载调制单元与所述检波单元连接。The load modulation unit is configured to perform load modulation and transmit a modulation signal by controlling a load change of the near field coil, and the load modulation unit is connected to the detection unit.
结合第一方面的第五种可能实现方式,在第一方面的第六种可能实现方式中,所述负载调制单元包括:In conjunction with the fifth possible implementation of the first aspect, in a sixth possible implementation manner of the first aspect, the load modulation unit includes:
开关电路模块和负载控制模块;a switch circuit module and a load control module;
所述负载控制模块的第一端与所述检波单元连接,所述负载控制模块的第二端与所述开关电路模块的电流输入端连接,所述开关电路模块的电流输出端接地,所述开关电路模块的第一控制端、第二控制端分别通过所述通信接口引脚单元与所述微控制单元的输入输出接口、发送信号端连接。a first end of the load control module is connected to the detecting unit, a second end of the load control module is connected to a current input end of the switch circuit module, and a current output end of the switch circuit module is grounded, The first control end and the second control end of the switch circuit module are respectively connected to the input/output interface and the transmit signal end of the micro control unit through the communication interface pin unit.
结合第一方面的第一种可能实现方式,在第一方面的第七种可能实现方式中,所述检波单元包括单向导通单元和滤波单元;With reference to the first possible implementation manner of the first aspect, in a seventh possible implementation manner of the first aspect, the detecting unit includes a unidirectional conduction unit and a filtering unit;
所述单向导通单元为二极管、三极管或MOS管;The one-way conduction unit is a diode, a triode or a MOS tube;
所述滤波单元包括:The filtering unit includes:
电阻R2和电容C2;Resistor R2 and capacitor C2;
所述电阻R2的一端为所述滤波单元的输入端与所述单向导通单元的输出端连接,所述单向导通单元的输入端与所述近场线圈连接,所述电阻R2的一端同时为所述滤波单元的输出端与所述电容C2的一端连接,所述电容C2的一端为所述滤波单元的输出端与所述通信接口引脚单元连接,所述电阻R2的另一端与所述电容C2的另一端同时接地;One end of the resistor R2 is connected to an input end of the filtering unit and an output end of the unidirectional conduction unit, and an input end of the unidirectional conduction unit is connected to the near field coil, and one end of the resistor R2 is simultaneously An output end of the filtering unit is connected to one end of the capacitor C2, and one end of the capacitor C2 is connected to an output end of the filtering unit and the communication interface pin unit, and the other end of the resistor R2 is The other end of the capacitor C2 is grounded at the same time;
或,所述滤波单元包括:Or, the filtering unit includes:
电阻R5、电容C4和电感L1;Resistor R5, capacitor C4 and inductor L1;
所述电容C4的一端为所述滤波单元的输入端与所述近场线圈连接,所述电容C4的另一端为所述滤波单元的输出端与所述单向导通单元的输入端连接,所述单向导通单元的输出端与所述通信接口引脚单元连接,所述电容C4的另一端还通过所述电阻R5接地,所述电感L1与所述电容C4并联。One end of the capacitor C4 is connected to the input end of the filtering unit, and the other end of the capacitor C4 is connected to the input end of the single-conducting unit. The output end of the unidirectional conduction unit is connected to the communication interface pin unit, and the other end of the capacitor C4 is also grounded through the resistor R5, and the inductor L1 is connected in parallel with the capacitor C4.
结合第一方面的第七种可能实现方式,在第一方面的第八种可能实现方式中,所述近场通信前端硬件电路还包括负载调制单元;With reference to the seventh possible implementation of the first aspect, in an eighth possible implementation manner of the first aspect, the near field communication front end hardware circuit further includes a load modulation unit;
所述负载调制单元,用于通过控制所述近场线圈的负载变化进行负载调制并发送完成授种或生产配置的调制信号,所述负载调制单元与所述检波单元连接。The load modulation unit is configured to perform load modulation by controlling a load change of the near field coil and transmit a modulation signal that completes a seeding or production configuration, and the load modulation unit is connected to the detection unit.
结合第一方面的第八种可能实现方式,在第一方面的第九种可能实现方式中,所述负载调制单元包括:In conjunction with the eighth possible implementation of the first aspect, in a ninth possible implementation manner of the first aspect, the load modulation unit includes:
开关电路模块和负载控制模块;a switch circuit module and a load control module;
所述负载控制模块的第一端与所述单向导通单元的输出端连接,所述负载控制模块的第二端与所述开关电路模块的电流输入端连接,所述开关电路模块的电流输出端接地,所述开关电路模块的第一控制端、第二控制端分别通过通信接口引脚单元与所述微控制单元的输入输出接口、发送信号端连接。a first end of the load control module is connected to an output end of the single-conducting unit, a second end of the load control module is connected to a current input end of the switch circuit module, and a current output of the switch circuit module The first control end and the second control end of the switch circuit module are respectively connected to the input/output interface and the transmit signal end of the micro control unit through a communication interface pin unit.
本发明实施例的第二方面,提供了一种近场通信终端,所述近场通信终端的前端硬件电路包括第一方面或第一方面的第二种可能实现方式,或第一方面的第三种可能实现方式,或第一方面的第五种可能实现方式,或第一方面的第六种可能实现方式所述的近场通信前端硬件电路。A second aspect of the embodiments of the present invention provides a near field communication terminal, where the front end hardware circuit of the near field communication terminal includes the first aspect or the second possible implementation manner of the first aspect, or the first aspect Three possible implementations, or a fifth possible implementation of the first aspect, or a near field communication front end hardware circuit as described in the sixth possible implementation of the first aspect.
本发明实施例的第三方面,提供了一种读写器,所述读写器的前端硬件电路包括第一方面或第一方面的第二种可能实现方式,或第一方面的第三种可能实现方式所述的近场通信前端硬件电路。A third aspect of the embodiments of the present invention provides a reader/writer, the front end hardware circuit of the reader/writer includes the first aspect or the second possible implementation manner of the first aspect, or the third aspect of the first aspect A near field communication front end hardware circuit as described in the possible implementation.
本发明实施例的第四方面,提供了一种近场无线通信系统,所述近场无线通信系统包括第二方面所述的近场通信终端和第三方面所述的读写器。According to a fourth aspect of the present invention, a near field wireless communication system is provided, the near field wireless communication system comprising the near field communication terminal of the second aspect and the reader/writer of the third aspect.
本发明实施例的第五方面,提供了一种动态令牌,所述动态令牌包括第一方面的第一种可能实现方式,或第一方面的第二种可能实现方式,或第一方面的第四种可能实现方式,或第一方面的第七种可能实现方式,或第一方面的第八种可能实现方式,或第一方面的第九种可能实现方式所述的近场通信前端硬件电路。A fifth aspect of the embodiments of the present invention provides a dynamic token, where the dynamic token includes a first possible implementation manner of the first aspect, or a second possible implementation manner of the first aspect, or the first aspect The fourth possible implementation manner, or the seventh possible implementation manner of the first aspect, or the eighth possible implementation manner of the first aspect, or the near field communication front end described in the ninth possible implementation manner of the first aspect Hardware circuit.
本发明实施例的第六方面,提供了一种读卡器,所述读卡器的前端硬件电路包括第一方面的第一种可能实现方式,或第一方面的第二种可能实现方式,或第一方面的第四种可能实现方式或第一方面的第七种可能实现方式所述的近场通信前端硬件电路。A sixth aspect of the embodiments of the present invention provides a card reader, where the front end hardware circuit of the card reader includes a first possible implementation manner of the first aspect, or a second possible implementation manner of the first aspect, Or the near field communication front end hardware circuit of the fourth possible implementation manner of the first aspect or the seventh possible implementation manner of the first aspect.
本发明实施例的第七方面,提供了一种OTP近场通信系统,所述系统包括第五方面所述的动态令牌和第六方面所述的读卡器。A seventh aspect of the embodiments of the present invention provides an OTP near field communication system, the system comprising the dynamic token of the fifth aspect and the card reader of the sixth aspect.
本发明实施例的第八方面,提供了一种动态令牌的授种子或生产配置的方法,所述方法基于如第五方面所述的动态令牌,所述方法包括:An eighth aspect of the embodiments of the present invention provides a method for seeding or producing a dynamic token, the method being based on the dynamic token according to the fifth aspect, the method comprising:
接收读写器发送的种子或生产配置数据;Receiving seed or production configuration data sent by the reader/writer;
通过检波单元滤掉所述种子或生产配置数据中的载波信号,得到原调制信号;Filtering off the seed signal in the seed or production configuration data by the detecting unit to obtain an original modulated signal;
将所述原调制信号通过通信接口引脚单元输出至微控制单元;Outputting the original modulated signal to the micro control unit through the communication interface pin unit;
向读写器告知完成授种或生产配置。Tell the reader that the seeding or production configuration is complete.
结合第八方面,在第八方面的第一种可能实现方式中,所述将所述原调制信号通过通信接口引脚单元输出至微控制单元的步骤具体为:With reference to the eighth aspect, in a first possible implementation manner of the eighth aspect, the step of outputting the original modulated signal to a micro control unit by using a communication interface pin unit is specifically:
将所述原调制信号输出至后端匹配单元进行判决匹配;Outputting the original modulated signal to a backend matching unit for decision matching;
将匹配后的信号通过通信接口引脚单元输出至微控制单元。The matched signal is output to the micro control unit through the communication interface pin unit.
结合第八方面的第一种可能实现方式,在第八方面的第二种可能实现方式中,根据幅度阈值对所述原调制信号进行判决转换实现判决匹配;或With reference to the first possible implementation manner of the eighth aspect, in a second possible implementation manner of the eighth aspect, the original modulation signal is subjected to decision conversion according to the amplitude threshold to implement a decision matching; or
通过对所述原调制信号进行AD采样,并根据采样读出的电压幅度值生成采样值实现判决匹配。The decision matching is performed by performing AD sampling on the original modulated signal and generating a sample value according to the voltage amplitude value read out by the sampling.
结合第八方面的第一种可能实现方式,在第八方面的第三种可能实现方式中,所述向读写器告知完成授种或生产配置的步骤具体为:In conjunction with the first possible implementation of the eighth aspect, in a third possible implementation manner of the eighth aspect, the step of notifying the reader to complete the seeding or production configuration is specifically:
在所述微控制单元对所述原调制信号进行响应,产生响应信号后,根据所述响应信号控制负载调制单元,通过所述负载调制单元控制所述近场线圈的负载变化进行负载调制;After the micro control unit responds to the original modulated signal to generate a response signal, the load modulation unit is controlled according to the response signal, and the load modulation unit controls the load change of the near field coil to perform load modulation;
将调制后的响应信号发送至所述读写器。The modulated response signal is sent to the reader/writer.
本发明实施例的第九方面,提供了一种读卡器向动态令牌授种子或写入生产配置的方法,所述方法基于第六方面所述的读卡器,所述方法包括:A ninth aspect of the embodiments of the present invention provides a method for a card reader to seed or write a production configuration to a dynamic token, the method being based on the card reader of the sixth aspect, the method comprising:
对种子或生产配置数据通过载波进行调制,生成发送信息,所述发送信息包括:标准接口信号或自定义的低速的调频或调幅的调制形式的信号;The seed or production configuration data is modulated by a carrier to generate transmission information, where the transmission information includes: a standard interface signal or a customized low-speed modulation or amplitude modulation modulation signal;
将所述发送信息通过通信接口引脚单元发送给动态令牌,以使所述动态令牌完成授种子或生产配置;Transmitting the sending information to the dynamic token through the communication interface pin unit, so that the dynamic token completes seeding or production configuration;
接收并解调所述动态令牌发送的完成授种或生产配置的告知信号。Receiving and demodulating the notification signal of the completed seeding or production configuration of the dynamic token transmission.
本发明实施例的第十方面,提供了一种基于近场通信前端硬件电路的近场无线通信方法,包括:A tenth aspect of the embodiments of the present invention provides a near field wireless communication method based on a near field communication front end hardware circuit, including:
通过近场通信天线接收读写器发送的调制信号,所述近场通信天线包括近场线圈和匹配电容;Receiving a modulated signal transmitted by a reader/writer through a near field communication antenna, the near field communication antenna including a near field coil and a matching capacitor;
通过检波单元滤除所述调制信号的载波,得到原调制信号;Filtering the carrier of the modulated signal by the detecting unit to obtain an original modulated signal;
将所述原调制信号通过通信接口引脚单元输出至微控制单元。The original modulated signal is output to the micro control unit through the communication interface pin unit.
结合第十方面,在第十方面的第一种可能实现方式中,所述将所述原调制信号通过第一通信接口引脚输出至所述MCU电路,包括:In conjunction with the tenth aspect, in a first possible implementation of the tenth aspect, the outputting the original modulated signal to the MCU circuit by using a first communication interface pin includes:
将所述原调制信号输出至后端匹配单元匹配;Outputting the original modulated signal to a backend matching unit for matching;
将所述后端匹配单元匹配后的信号通过所述通信接口引脚单元输出至所述微控制单元。And matching the signal matched by the backend matching unit to the micro control unit through the communication interface pin unit.
结合第十方面,在第十方面的第二种可能实现方式中,在所述将所述原调制信号通过通信接口引脚单元输出至微控制单元之后,包括:With the tenth aspect, in a second possible implementation manner of the tenth aspect, after the outputting the original modulated signal to the micro control unit by using the communication interface pin unit, the method includes:
在所述微控制单元对所述原调制信号进行响应,产生响应信号后,根据所述响应信号控制负载调制单元,通过所述负载调制单元控制所述近场线圈的负载变化进行负载调制;After the micro control unit responds to the original modulated signal to generate a response signal, the load modulation unit is controlled according to the response signal, and the load modulation unit controls the load change of the near field coil to perform load modulation;
将调制后的响应信号发送至所述读写器。The modulated response signal is sent to the reader/writer.
结合第十方面,在第十方面的第三种可能实现方式中,所述负载调制单元包括开关电路模块,在所述通过近场通信天线接收读写器发送的调制信号时,包括:In conjunction with the tenth aspect, in a third possible implementation of the tenth aspect, the load modulation unit includes a switch circuit module, and when the modulated signal sent by the reader/writer is received by the near field communication antenna, the method includes:
控制所述开关电路模块处于关断状态,以使通过所述近场通信天线的电流较少。The switch circuit module is controlled to be in an off state such that less current is passed through the near field communication antenna.
结合第十方面的第一种可能实现方式,在第十方面的第四种可能实现方式中,所述后端匹配单元为比较判别单元,此时,所述将所述原调制信号输出至后端匹配单元匹配,包括:With reference to the first possible implementation manner of the tenth aspect, in a fourth possible implementation manner of the tenth aspect, the back end matching unit is a comparison determining unit, and the outputting the original modulated signal to the End matching unit matching, including:
将所述原调制信号输出至所述比较判别单元,若所述原调制信号的幅值超过预设幅度阈值,则所述比较判别单元输出高电平,否则,输出低电平;Outputting the original modulated signal to the comparison determining unit, if the amplitude of the original modulated signal exceeds a preset amplitude threshold, the comparison determining unit outputs a high level; otherwise, outputs a low level;
或者,or,
所述后端匹配单元为AD采样单元,此时,所述将所述原调制信号输出至后端匹配单元匹配,包括:The back-end matching unit is an AD sampling unit. In this case, the outputting the original modulated signal to the back-end matching unit, including:
将所述原调制信号输出至AD采样单元,所述AD采样单元确定所述原调制信号的电压幅度值,若所述电压幅度值超出预设的电压幅度阈值,则输出1,否则,输出0。Outputting the original modulated signal to an AD sampling unit, where the AD sampling unit determines a voltage amplitude value of the original modulated signal, and if the voltage amplitude value exceeds a preset voltage amplitude threshold, outputs 1; otherwise, outputs 0. .
本发明实施例的第十一方面,提供了一种基于近场通信前端硬件电路的近场无线通信方法,包括:According to an eleventh aspect of the embodiments of the present invention, a near field wireless communication method based on a near field communication front end hardware circuit is provided, including:
根据发送的信息对载波进行调制,得到调制信号;Modulating the carrier according to the transmitted information to obtain a modulated signal;
将所述调制信号通过通信接口引脚单元发送至近场通信终端,以使所述近场通信终端通过近场通信天线接收所述调制信号。The modulated signal is transmitted to the near field communication terminal through the communication interface pin unit to cause the near field communication terminal to receive the modulated signal through the near field communication antenna.
结合第十一方面,在第十一方面的第一种可能实现方式中,在所述将所述调制信号通过通信接口引脚单元发送至近场通信终端,以使所述近场通信终端通过近场通信天线接收所述调制信号之后,包括:In conjunction with the eleventh aspect, in a first possible implementation of the eleventh aspect, the modulating signal is transmitted to the near field communication terminal through the communication interface pin unit to enable the near field communication terminal to pass through After receiving the modulated signal, the field communication antenna includes:
通过近场通信天线接收所述近场通信终端发送的调制后的响应信号,所述响应信号为所述近场通信终端的微控制单元对接收的原调制信号进行响应产生得到;Receiving, by the near field communication antenna, the modulated response signal sent by the near field communication terminal, where the response signal is generated by the micro control unit of the near field communication terminal responding to the received original modulated signal;
通过检波单元滤除所述近场通信终端发送的调制后的响应的载波;Filtering, by the detecting unit, a carrier of the modulated response sent by the near field communication terminal;
将滤除载波后的信号通过通信接口引脚单元输出至微控制单元。The signal after filtering the carrier is output to the micro control unit through the communication interface pin unit.
有益效果Beneficial effect
由于能够滤除接收的调制信号中的载波,得到原调制信号,并将该原调制信号发送至微控制单元,因此,无需采用已有的NFC芯片就能实现近场通信的目的,从而降低成本,且由于只通过近场通信天线、检波单元和通信接口引脚单元就能实现相应的功能,因此,其与读写器的通信交互简单,从而能够有效降低功耗。Since the carrier in the received modulated signal can be filtered out, the original modulated signal is obtained, and the original modulated signal is sent to the micro control unit, thereby reducing the cost by using the existing NFC chip to achieve near field communication. Since the corresponding functions can be realized only by the near field communication antenna, the detecting unit and the communication interface pin unit, the communication interaction with the reader/writer is simple, thereby effectively reducing power consumption.
附图说明DRAWINGS
图1是本发明实施例1提供的第一种近场通信前端硬件电路的示例电路;1 is a circuit diagram showing an example circuit of a first type of near field communication front end hardware circuit according to Embodiment 1 of the present invention;
图2是本发明实施例1提供的近场通信前端硬件电路中后端匹配单元的示例电路;2 is an example circuit of a backend matching unit in a near field communication front end hardware circuit according to Embodiment 1 of the present invention;
图3是本发明实施例1提供的第二种近场通信前端硬件电路的示例电路;3 is a schematic circuit diagram of a second near field communication front end hardware circuit according to Embodiment 1 of the present invention;
图4是本发明实施例1提供的第三种近场通信前端硬件电路的示例电路;4 is a schematic circuit diagram of a third near field communication front end hardware circuit according to Embodiment 1 of the present invention;
图5是本发明实施例1提供的第一种基于近场通信前端硬件电路的近场无线通信方法的流程图;5 is a flowchart of a first field wireless communication method based on a near field communication front end hardware circuit according to Embodiment 1 of the present invention;
图6是本发明实施例1提供的第二种基于近场通信前端硬件电路的近场无线通信方法的流程图;6 is a flowchart of a second field wireless communication method based on a near field communication front end hardware circuit according to Embodiment 1 of the present invention;
图7是本发明实施例2提供的第四种近场通信前端硬件电路的示例电路;7 is a circuit diagram showing an example circuit of a fourth near field communication front end hardware circuit according to Embodiment 2 of the present invention;
图8是本发明实施例2提供的动态令牌的授种子或生产配置的方法的流程结构图。FIG. 8 is a flow chart showing a method for seeding or production configuration of a dynamic token according to Embodiment 2 of the present invention.
本发明的实施方式Embodiments of the invention
实施例1Example 1
图1示出了本发明实施例提供的第一种近场通信前端硬件电路的示例电路,在图1中,所述近场通信前端硬件电路包括:1 shows an example circuit of a first type of near field communication front end hardware circuit provided by an embodiment of the present invention. In FIG. 1, the near field communication front end hardware circuit includes:
近场通信天线、检波单元100和通信接口引脚单元13;Near field communication antenna, detection unit 100 and communication interface pin unit 13;
所述近场通信天线包括近场线圈2和匹配电容C1,所述近场线圈2的频率与选取的载波频率匹配;The near field communication antenna includes a near field coil 2 and a matching capacitor C1, the frequency of the near field coil 2 matching the selected carrier frequency;
所述检波单元100包括单向导通单元11和滤波单元12,用于滤除接收的调制信号中的载波,得到原调制信号,所述检波单元100与所述近场线圈2连接;The detecting unit 100 includes a unidirectional conduction unit 11 and a filtering unit 12 for filtering a carrier in the received modulated signal to obtain an original modulated signal, and the detecting unit 100 is connected to the near field coil 2;
值得说明的是,检波单元100也可以只包括滤波单元12,在滤波单元12需要单向信号时,可以在检波单元100中设置单向导通单元11,使信号先通过单向导通单元11输出单向信号后给到滤波单元12。It should be noted that the detecting unit 100 may also include only the filtering unit 12. When the filtering unit 12 requires a unidirectional signal, the unidirectionally-passing unit 11 may be disposed in the detecting unit 100, so that the signal is output through the unidirectional conduction unit 11 first. The signal is supplied to the filtering unit 12.
当然,也可以采用本身即含有单向导通功能的滤波单元12,此时检波单元100中可以不包括单向导通单元11。Of course, it is also possible to use the filtering unit 12 which itself has the unidirectional conduction function. In this case, the unidirectional conduction unit 11 may not be included in the detection unit 100.
或者,滤波单元12的实现是不需要限定极性的,此时,检波单元100中也可以不设置单向导通单元11。Alternatively, the implementation of the filtering unit 12 does not need to define a polarity. In this case, the unidirectional conduction unit 11 may not be provided in the detecting unit 100.
在不设置单向导通单元11时,滤波单元12滤波后的波形若有正负部分,可以通过后端匹配单元或者MCU的接口处理正负极性或通过差分输入的方式匹配接收。When the unidirectional conduction unit 11 is not provided, if the filtered waveform of the filtering unit 12 has positive and negative portions, the positive or negative polarity can be processed through the interface of the back end matching unit or the MCU or the reception can be matched by differential input.
所述通信接口引脚单元13,用于将所述原调制信号输出至微控制单元MCU,所述通信接口引脚单元13连接于所述检波单元100与所述MCU之间。The communication interface pin unit 13 is configured to output the original modulation signal to the micro control unit MCU, and the communication interface pin unit 13 is connected between the detection unit 100 and the MCU.
在本发明实施例中,近场通信天线接收读写器发送的调制信号,并滤除所述调制信号的载波,得到原调制信号,再将得到的原调制信号发送至MCU。由于能够滤除接收的调制信号中的载波,得到原调制信号,并将该原调制信号发送至微控制单元,因此,无需采用已有的NFC芯片就能实现近场通信的目的,从而降低成本,且由于只通过近场通信天线、检波单元和通信接口引脚单元就能实现相应的功能,因此,其与读写器的通信交互简单,从而能够有效降低功耗。In the embodiment of the present invention, the near field communication antenna receives the modulated signal sent by the reader/writer, filters out the carrier of the modulated signal, obtains the original modulated signal, and sends the obtained original modulated signal to the MCU. Since the carrier in the received modulated signal can be filtered out, the original modulated signal is obtained, and the original modulated signal is sent to the micro control unit, thereby reducing the cost by using the existing NFC chip to achieve near field communication. Since the corresponding functions can be realized only by the near field communication antenna, the detecting unit and the communication interface pin unit, the communication interaction with the reader/writer is simple, thereby effectively reducing power consumption.
图2示出了本发明实施例提供的近场通信前端硬件电路中后端匹配单元的示例电路,为了便于说明,仅示出了与本发明相关的部分。FIG. 2 shows an example circuit of a back-end matching unit in the near-field communication front-end hardware circuit provided by the embodiment of the present invention. For convenience of description, only parts related to the present invention are shown.
可选地,所述近场通信前端硬件电路还包括:Optionally, the near field communication front end hardware circuit further includes:
后端匹配单元14,用于将所述原调制信号进行判决匹配,并将匹配后的信号通过所述通信接口引脚单元13输出至所述微控制单元,所述后端匹配单元14连接于所述检波单元100与所述通信接口引脚单元13之间。a back-end matching unit 14 configured to perform a decision matching on the original modulated signal, and output the matched signal to the micro-control unit through the communication interface pin unit 13, the back-end matching unit 14 is connected to The detecting unit 100 is connected to the communication interface pin unit 13.
可选地,所述后端匹配单元14为比较判别单元或AD采样单元;Optionally, the backend matching unit 14 is a comparison determining unit or an AD sampling unit;
所述比较判别单元包括:The comparison discriminating unit includes:
比较器U1和电阻R2、电阻R3;Comparator U1 and resistor R2, resistor R3;
所述比较器U1的正向输入端与所述滤波单元12的输出端连接,所述比较器U1的反向输入端通过所述电阻R2接地,所述比较器U1的反向输入端还通过所述电阻R3与所述微控制单元的输入输出接口连接,所述比较器U1的输出端与所述微控制单元的接收信号端连接;The forward input of the comparator U1 is connected to the output of the filter unit 12, the inverting input of the comparator U1 is grounded through the resistor R2, and the reverse input of the comparator U1 is also passed. The resistor R3 is connected to an input and output interface of the micro control unit, and an output end of the comparator U1 is connected to a receiving signal end of the micro control unit;
值得说明的是,比较器的正向输入端和反向输入端的连接可以调换,在调换时输入信号的相位相反,亦或可以采用差分输入。It is worth noting that the connection between the forward input and the reverse input of the comparator can be reversed. The phase of the input signal is reversed during the exchange, or a differential input can be used.
在本发明实施例中,通过比较判别单元对有效数据进行判别,可以通过电阻R2、电阻R3设置幅度阈值,比较器U1将当前输入值与幅度阈值比较,若输入值大于幅度阈值,则比较器U1输出高电平信号,若输入值小于幅度阈值,则比较器U1输出低电平信号,并将输出的高低电平信号发送给处理芯片进行后端处理。In the embodiment of the present invention, by comparing the discriminating unit to discriminate the valid data, the amplitude threshold may be set by the resistor R2 and the resistor R3, and the comparator U1 compares the current input value with the amplitude threshold. If the input value is greater than the amplitude threshold, the comparator U1 outputs a high level signal. If the input value is less than the amplitude threshold, the comparator U1 outputs a low level signal, and sends the output high and low level signals to the processing chip for back end processing.
当然,还可以采用模数转换器作为AD采样单元连接于检波单元100与通信接口引脚单元13之间。Of course, an analog-to-digital converter can also be used as the AD sampling unit connected between the detecting unit 100 and the communication interface pin unit 13.
在本发明实施例中,通过AD采样读出电压幅度值,电压幅度值达到或超过限定阈值时,采样单元输出高电平,电压幅度值低于限定阈值时,采样单元输出低电平,AD采样时,调制方式不限于OOK,提取出原调制信息的波形,还可以使用ASK等其他调制方法。In the embodiment of the present invention, the voltage amplitude value is read out by the AD sampling, and when the voltage amplitude value reaches or exceeds the threshold value, the sampling unit outputs a high level, and when the voltage amplitude value is lower than the limit threshold, the sampling unit outputs a low level, AD When sampling, the modulation method is not limited to OOK, the waveform of the original modulation information is extracted, and other modulation methods such as ASK can also be used.
图3示出了本发明实施例提供的第二种近场通信前端硬件电路的电路示例,所述近场通信前端硬件电路还包括负载调制单元15。FIG. 3 is a circuit diagram showing a second near field communication front end hardware circuit according to an embodiment of the present invention. The near field communication front end hardware circuit further includes a load modulation unit 15.
所述负载调制单元15,用于通过控制所述近场线圈的负载变化进行负载调制并发送调制信号,所述负载调制单元15与所述检波单元100连接。The load modulation unit 15 is configured to perform load modulation and transmit a modulation signal by controlling a load change of the near field coil, and the load modulation unit 15 is connected to the detection unit 100.
图4示出了本发明实施例提供的第三种近场通信前端硬件电路的电路示例,在图4中,所述负载调制单元15包括:FIG. 4 is a circuit diagram showing a third type of near field communication front end hardware circuit provided by an embodiment of the present invention. In FIG. 4, the load modulation unit 15 includes:
开关电路模块151和负载控制模块152;Switch circuit module 151 and load control module 152;
所述负载控制模块152的第一端与所述检波单元100连接,所述负载控制模块152的第二端与所述开关电路模块151的电流输入端连接,所述开关电路模块151的电流输出端接地,所述开关电路模块151的第一控制端GPIO、第二控制端TX分别通过所述通信接口引脚单元13与所述微控制单元的输入输出接口GPIO、发送信号端TX连接。The first end of the load control module 152 is connected to the detecting unit 100, the second end of the load control module 152 is connected to the current input end of the switch circuit module 151, and the current output of the switch circuit module 151 The first control terminal GPIO and the second control terminal TX of the switch circuit module 151 are respectively connected to the input/output interface GPIO and the transmit signal terminal TX of the micro control unit through the communication interface pin unit 13.
优选地,开关电路模块151包括:Preferably, the switch circuit module 151 includes:
第二开关管Q2和第三开关管Q3;a second switch tube Q2 and a third switch tube Q3;
第二开关管Q2的电流输入端为开关电路模块151的电流输入端,第二开关管Q2的电流输出端为开关电路模块151的电流输出端,第二开关管Q2的控制端与第三开关管Q3的电流输出端连接,第三开关管Q3的电流输入端为开关电路模块151的第一控制端,第三开关管Q3的控制端为开关电路模块151的第二控制端。The current input end of the second switch tube Q2 is the current input end of the switch circuit module 151, the current output end of the second switch tube Q2 is the current output end of the switch circuit module 151, and the control end and the third switch of the second switch tube Q2. The current output end of the tube Q3 is connected, the current input end of the third switch tube Q3 is the first control end of the switch circuit module 151, and the control end of the third switch tube Q3 is the second control end of the switch circuit module 151.
在本发明实施例中,第二开关管Q2和第三开关管Q3构成开关电路,通过MOS管的开关切换可以改变线圈的负载,线圈负载变化会耦合到读写器端的发送线圈,读写器通过的发送线圈负载变化可以解调出调制信息。In the embodiment of the present invention, the second switching transistor Q2 and the third switching transistor Q3 constitute a switching circuit, and the switching of the MOS tube can change the load of the coil, and the coil load change is coupled to the transmitting coil of the reader/writer end, and the reader/writer Modulation information can be demodulated by the transmitted coil load change.
为了防止误触发,由TX和总线扩展器(General Purpose Input Output,GPIO)同时控制负载开关。In order to prevent false triggering, by TX and bus expander (General Purpose Input Output, GPIO) Controls the load switch at the same time.
当然,开关电路模块151也可以通过一个开关管实现,亦或采用一个开关管和串接在开关管控制端的电阻实现。Of course, the switch circuit module 151 can also be realized by a switch tube, or by using a switch tube and a resistor connected in series at the control end of the switch tube.
在本发明实施例中,开关电路模块151起到负载调制作用,可以是只有两个开关状态,或者一个范围的负载调制,In the embodiment of the present invention, the switch circuit module 151 functions as a load modulation, and may have only two switch states, or a range of load modulation.
负载控制模块152包括:The load control module 152 includes:
电阻R4;Resistor R4;
电阻R4的两端分别为负载控制模块152的第一端和第二端。Both ends of the resistor R4 are the first end and the second end of the load control module 152, respectively.
可选地,该电阻R4还可以并联一个电容,组成负载控制模块152。Optionally, the resistor R4 can also be connected in parallel with a capacitor to form the load control module 152.
通信接口引脚单元13由RX、TX引脚构成,RX/TX可以直接连接到微控制单元MCU等芯片,或者经过后端匹配单元再连接到微控制单元MCU等芯片。The communication interface pin unit 13 is composed of RX and TX pins, and the RX/TX can be directly connected to a chip such as a micro control unit MCU, or connected to a chip such as a micro control unit MCU through a back end matching unit.
本发明实施例还提供了一种近场通信终端,所述近场通信终端的前端硬件电路包括图1至图4的近场通信前端硬件电路。The embodiment of the present invention further provides a near field communication terminal, and the front end hardware circuit of the near field communication terminal includes the near field communication front end hardware circuit of FIG. 1 to FIG.
本发明实施例还提供了一种读写器,所述读写器的前端硬件电路包括图1、图3、图4的近场通信前端硬件电路。The embodiment of the present invention further provides a reader/writer, and the front end hardware circuit of the reader/writer includes the near field communication front end hardware circuit of FIG. 1, FIG. 3 and FIG.
本发明实施例还提供了一种近场无线通信系统,所述近场无线通信系统包括上述的近场通信终端和读写器。Embodiments of the present invention also provide a near field wireless communication system including the near field communication terminal and the reader/writer described above.
图5示出了本发明实施例提供的第一种基于近场通信前端硬件电路的近场无线通信方法的流程图,该图5主要从近场通信终端这一侧描述该近场通信终端(该读写器与近场通信终端配套)与读写器以被动近场通信模式的数据交互方法,包括:FIG. 5 is a flowchart of a first field wireless communication method based on a near field communication front end hardware circuit according to an embodiment of the present invention. FIG. 5 mainly describes the near field communication terminal from the side of the near field communication terminal ( The reader interacts with the near field communication terminal and the data interaction method of the reader with the passive near field communication mode, including:
步骤S51,通过近场通信天线接收读写器发送的调制信号,所述近场通信天线包括近场线圈和匹配电容。Step S51: Receive a modulated signal sent by the reader/writer through a near field communication antenna, where the near field communication antenna includes a near field coil and a matching capacitor.
其中,该调制信号可以是已有的标准接口信号,如UART,IIC,SPI,单线传输协议等,也可以是自定义的低速的调频、调幅等调制形式的信号,信号的波形可以是矩形波、正弦波、三角波或自定义波形。The modulated signal may be an existing standard interface signal, such as UART, IIC, SPI, single-wire transmission protocol, etc., or may be a customized low-speed modulation, amplitude modulation, etc., and the waveform of the signal may be a rectangular wave. , sine wave, triangle wave or custom waveform.
步骤S52,通过检波单元滤除所述调制信号的载波,得到原调制信号。Step S52, filtering the carrier of the modulated signal by the detecting unit to obtain an original modulated signal.
具体地,通过自定义的检波单元滤除调制信号的载波,交互方式简单。Specifically, the carrier of the modulated signal is filtered by the customized detection unit, and the interaction mode is simple.
步骤S53,将所述原调制信号通过通信接口引脚单元输出至微控制单元。Step S53, outputting the original modulated signal to the micro control unit through the communication interface pin unit.
可选地,为了输出目标信号,则所述步骤S53包括:Optionally, in order to output the target signal, the step S53 includes:
A1、将所述原调制信号输出至后端匹配单元匹配。其中,后端匹配单元为比较判别单元或AD采样单元。A1. Output the original modulated signal to the backend matching unit for matching. The backend matching unit is a comparison discriminating unit or an AD sampling unit.
A2、将所述后端匹配单元匹配后的信号通过所述通信接口引脚单元输出至所述微控制单元。A2. The signal matched by the backend matching unit is output to the micro control unit through the communication interface pin unit.
由于输出至MCU电路的信号为经过匹配电路匹配的,因此,能够输出符合要求的目标信号。Since the signal output to the MCU circuit is matched by the matching circuit, it is possible to output a target signal that meets the requirements.
可选地,近场通信终端需要对接收的原调制信号进行响应,并将响应信号传回至读写器,则在所述步骤S53之后,包括:Optionally, the near field communication terminal needs to respond to the received original modulated signal, and the response signal is sent back to the reader/writer. After the step S53, the method includes:
B1、在所述微控制单元对所述原调制信号进行响应,产生响应信号后,根据所述响应信号控制负载调制单元,通过所述负载调制单元控制所述近场线圈的负载变化进行负载调制。B1, after the micro control unit responds to the original modulated signal, generates a response signal, controls a load modulation unit according to the response signal, and controls load variation of the near field coil by the load modulation unit to perform load modulation. .
B2、将调制后的响应信号发送至所述读写器。B2. Send the modulated response signal to the reader/writer.
具体地,以发送的响应信号为依据,通过ASK(幅移键控调制)或OOK(开关键控)对近场线圈等效负载进行调制。近场通信终端(如射频卡)的天线(或线圈)是读写器发射天线(或线圈)的负载,射频卡通过改变近场通信天线回路的参数(比如谐振和失谐),使读写器端被调制,从而实现了以微弱的能量从射频卡到读写器的数据传输,进而减少了功耗。Specifically, the near field coil equivalent load is modulated by ASK (Amplitude Shift Keying Modulation) or OOK (On Key Control) based on the transmitted response signal. The antenna (or coil) of the near field communication terminal (such as a radio frequency card) is the load of the reader antenna (or coil), and the radio frequency card is read and written by changing the parameters of the near field communication antenna loop (such as resonance and detuning). The terminal is modulated to achieve data transmission from the RF card to the reader with weak energy, which reduces power consumption.
可选地,所述负载调制单元包括开关电路模块,为了降低近场通信终端在接收状态时对其他通信线圈的影响,在所述通过近场通信天线接收读写器发送的调制信号时,包括:Optionally, the load modulation unit includes a switch circuit module, in order to reduce the influence of the near field communication terminal on other communication coils when receiving the state, when the modulated signal sent by the reader/writer is received by the near field communication antenna, :
控制所述开关电路模块处于关断状态,以使通过所述近场通信天线的电流较少。The switch circuit module is controlled to be in an off state such that less current is passed through the near field communication antenna.
当近场通信终端在接收状态时,开关电路或开关器件处于关断状态,此时,该近场通信终端的近场通信天线等效阻抗很大,通过的电流很小,保持低功耗状态,几乎不消耗射频能量,即使在同一个电路板上有多种近场线圈时,该近场通信终端也几乎不消耗射频能量,避免了对其他通信线圈的影响。When the near field communication terminal is in the receiving state, the switching circuit or the switching device is in an off state. At this time, the near field communication antenna of the near field communication terminal has a large equivalent impedance, and the passing current is small, and the low power consumption state is maintained. The RF energy is hardly consumed, and even when there are a plurality of near-field coils on the same circuit board, the near-field communication terminal consumes almost no RF energy, thereby avoiding the influence on other communication coils.
可选地,所述后端匹配单元为比较判别单元,此时,所述将所述原调制信号输出至后端匹配单元匹配,包括:Optionally, the back-end matching unit is a comparison determining unit, and at this time, the outputting the original modulated signal to the back-end matching unit, including:
将所述原调制信号输出至所述比较判别单元,若所述原调制信号的幅值超过预设幅度阈值,则所述比较判别单元输出高电平,否则,输出低电平。And outputting the original modulated signal to the comparison determining unit, if the amplitude of the original modulated signal exceeds a preset amplitude threshold, the comparison determining unit outputs a high level; otherwise, outputs a low level.
或者,or,
所述后端匹配单元为AD采样单元,此时,所述将所述原调制信号输出至后端匹配单元匹配,包括:The back-end matching unit is an AD sampling unit. In this case, the outputting the original modulated signal to the back-end matching unit, including:
将所述原调制信号输出至AD采样单元,所述AD采样单元确定所述原调制信号的电压幅度值,若所述电压幅度值超出预设的电压幅度阈值,则输出1,否则,输出0。Outputting the original modulated signal to an AD sampling unit, where the AD sampling unit determines a voltage amplitude value of the original modulated signal, and if the voltage amplitude value exceeds a preset voltage amplitude threshold, outputs 1; otherwise, outputs 0. .
本发明实施例中,由于近场通信终端与读写器的通信是通过对近场线圈等效负载进行调制实现,比如,近场通信终端的天线(或线圈)是读写器发射天线(或线圈)的负载,近场通信终端通过改变近场通信天线回路的参数(比如谐振和失谐)使读写器端被调制,从而实现了以微弱的能量从近场通信终端到读写器的数据传输,操作简单,进而减少了功耗。并且,无需采用已有的NFC芯片就能实现近场通信的目的,从而降低成本。In the embodiment of the present invention, since the communication between the near field communication terminal and the reader/writer is realized by modulating the equivalent load of the near field coil, for example, the antenna (or coil) of the near field communication terminal is the reader antenna (or The load of the coil), the near field communication terminal modulates the reader/writer end by changing parameters of the near field communication antenna loop (such as resonance and detuning), thereby realizing weak energy from the near field communication terminal to the reader/writer. Data transfer, simple operation, and reduced power consumption. Moreover, the purpose of near field communication can be achieved without using an existing NFC chip, thereby reducing costs.
图6示出了本发明实施例提供的第二种基于近场通信前端硬件电路的近场无线通信方法的流程图,该图6主要从读写器这一侧描述该读写器(该读写器与近场通信终端配套)与近场通信终端以被动近场通信模式的数据交互方法,包括:FIG. 6 is a flowchart of a second-field wireless communication method based on a near-field communication front-end hardware circuit according to an embodiment of the present invention. FIG. 6 mainly describes the reader from the reader side (the read) The data interaction method between the writer and the near field communication terminal and the near field communication terminal in the passive near field communication mode includes:
步骤S61,根据发送的信息对载波进行调制,得到调制信号。Step S61, modulating the carrier according to the transmitted information to obtain a modulated signal.
在读写器往近场通信终端写信息时:读写器提供载波信号。该读写器以发送信息为依据,通过ASK(幅移键控调制)或OOK(开关键控)对载波信号进行调制,当然,该读写器也可以通过调整载波频率,通过偏离线圈的匹配频率,间接达到幅度调制的等效效果。其中,发送的信息可以是已有的标准接口信号,如UART,IIC,SPI,单线传输协议等,也可以是自定义的低速的调频、调幅等调制形式的信号,信号的波形可以是矩形波、正弦波、三角波或自定义波形。When the reader writes information to the near field communication terminal: the reader provides a carrier signal. The reader/writer modulates the carrier signal by ASK (Amplitude Shift Keying Modulation) or OOK (Open Key Control) based on the transmitted information. Of course, the reader can also adjust the carrier frequency by offsetting the coil. The frequency, indirectly, achieves the equivalent effect of amplitude modulation. The transmitted information may be an existing standard interface signal, such as UART, IIC, SPI, single-line transmission protocol, etc., or may be a customized low-speed modulation, amplitude modulation, etc., and the waveform of the signal may be a rectangular wave. , sine wave, triangle wave or custom waveform.
步骤S62,将所述调制信号通过通信接口引脚单元发送至近场通信终端,以使所述近场通信终端通过近场通信天线接收所述调制信号。Step S62, transmitting the modulation signal to the near field communication terminal through the communication interface pin unit, so that the near field communication terminal receives the modulation signal through the near field communication antenna.
可选地,当读写器从近场通信终端读信息时,即在所述步骤S62之后,包括:Optionally, when the reader reads the information from the near field communication terminal, that is, after the step S62, the method includes:
C1、通过近场通信天线接收所述近场通信终端发送的调制后的响应信号,所述响应信号为所述近场通信终端的微控制单元对接收的原调制信号进行响应产生得到。And receiving, by the near field communication antenna, the modulated response signal sent by the near field communication terminal, where the response signal is generated by the micro control unit of the near field communication terminal responding to the received original modulated signal.
C2、通过检波单元滤除所述近场通信终端发送的调制后的响应的载波。C2: Filtering, by the detecting unit, a carrier of the modulated response sent by the near field communication terminal.
C3、将滤除载波后的信号通过通信接口引脚单元输出至微控制单元。C3. The signal after filtering the carrier is output to the micro control unit through the communication interface pin unit.
本发明实施例中,由于读写器与近场通信终端的通信是通过对近场线圈等效负载进行调制实现,因此实现了以微弱的能量从近场通信终端到读写器的数据传输,操作简单,进而减少了功耗。并且,无需采用已有的NFC芯片就能实现近场通信的目的,从而降低成本。In the embodiment of the present invention, since the communication between the reader/writer and the near field communication terminal is realized by modulating the equivalent load of the near field coil, data transmission from the near field communication terminal to the reader/writer is realized with weak energy, Simple operation, which reduces power consumption. Moreover, the purpose of near field communication can be achieved without using an existing NFC chip, thereby reducing costs.
实施例2Example 2
除了实施例1的情况,近场通信前端硬件电路还可以包括以下器件,具体参考图1、图2、图3:In addition to the case of Embodiment 1, the near field communication front end hardware circuit may further include the following devices, with specific reference to FIG. 1, FIG. 2, and FIG. 3:
近场通信天线、检波单元100和通信接口引脚单元13;Near field communication antenna, detection unit 100 and communication interface pin unit 13;
近场通信天线包括近场线圈2和匹配电容C1,近场线圈2的频率与选取的载波频率匹配;The near field communication antenna includes a near field coil 2 and a matching capacitor C1, and the frequency of the near field coil 2 matches the selected carrier frequency;
检波单元100包括单向导通单元11和滤波单元12,用于滤除接收的种子或生产配置数据中的载波,得到原调制信号,检波单元100与近场线圈2连接;The detecting unit 100 includes a unidirectional conduction unit 11 and a filtering unit 12 for filtering the received seed or the carrier in the production configuration data to obtain an original modulated signal, and the detecting unit 100 is connected to the near field coil 2;
通信接口引脚单元13,用于将原调制信号输出至微控制单元MCU,通信接口引脚单元13连接于检波单元与微控制单元MCU之间。The communication interface pin unit 13 is configured to output the original modulation signal to the micro control unit MCU, and the communication interface pin unit 13 is connected between the detection unit and the micro control unit MCU.
在本发明实施例中,近场通信天线接收读写器发送的种子或生产配置数据,将种子或生产配置数据通过检波单元100滤掉调制信号的载波信号,得到原调制信号,并将原调制信号通过通信接口引脚单元13输出至微控制单元MCU,并向读写器告知完成授种或生产配置。In the embodiment of the present invention, the near field communication antenna receives the seed or production configuration data sent by the reader/writer, filters the seed or production configuration data through the detection unit 100 to filter the carrier signal of the modulated signal, obtains the original modulated signal, and modulates the original modulation. The signal is output to the micro control unit MCU through the communication interface pin unit 13 and informs the reader that the seeding or production configuration is completed.
本发明实施例通过基于分立器件搭建的近场通信前端硬件电路实现授种子或者生产配置,该方案无需在OTP卡中设置触点,不需要二次封装,仅通过无线通信即可实现(现有方法在生产OTP卡时,一般使用接触式触点传输数据,在做生产配置以及在客户端在OTP授种子时,都需要在结构上预留触点,导致产品无法完全封装,需要在授种子后进行二次封装),从而避免了现有OTP卡由二次封装导致的工艺步骤复杂,产品周期长以及成本高的问题。The embodiment of the invention realizes the seed or production configuration by using the near field communication front end hardware circuit built on the discrete device, and the solution does not need to set the contact in the OTP card, does not need the secondary packaging, and can be realized only by wireless communication (existing In the production of OTP cards, contact contacts are generally used to transmit data. In the production configuration and when the OTP is seeded at the client, the contacts need to be reserved in the structure, resulting in the product not being fully packaged. After the secondary encapsulation), the problem of complicated process steps, long product cycle and high cost caused by the secondary packaging of the existing OTP card is avoided.
作为本发明一实施例,图4中的检波单元100包括单向导通单元11和滤波单元12;As an embodiment of the present invention, the detecting unit 100 in FIG. 4 includes a unidirectional conduction unit 11 and a filtering unit 12;
单向导通单元11可以采用二极管、三极管或MOS管实现,优选采用二极管D1,该二极管D1的阳极为单向导通单元11的输入端与近场线圈2连接,二极管D1的阴极为单向导通单元11的输出端与滤波单元12连接。The single-conducting unit 11 can be implemented by a diode, a triode or a MOS tube. Preferably, the diode D1 is used. The anode of the diode D1 is connected to the near-field coil 2 at the input end of the unidirectional conduction unit 11, and the cathode of the diode D1 is a unidirectional conduction unit. The output of 11 is connected to the filtering unit 12.
滤波单元12包括:The filtering unit 12 includes:
电阻R2和电容C2;Resistor R2 and capacitor C2;
电阻R2的一端为滤波单元12的输入端与单向导通单元11的输出端连接,电阻R2的一端同时为滤波单元12的输出端与电容C2的一端连接,电容C2的一端为滤波单元12的输出端与通信接口引脚单元13连接,电阻R2的另一端与电容C2的另一端同时接地。One end of the resistor R2 is connected to the output end of the filter unit 12 and the output end of the one-way conduction unit 11. One end of the resistor R2 is simultaneously connected to the output end of the filter unit 12 and one end of the capacitor C2, and one end of the capacitor C2 is the filter unit 12 The output terminal is connected to the communication interface pin unit 13, and the other end of the resistor R2 is grounded at the same time as the other end of the capacitor C2.
上述滤波单元12还可以由其它等效的器件或电路替代,并且滤波单元12还可以与单向导通单元11反向连接,即滤波单元12的输入端与近场线圈2连接,滤波单元12的输出端与单向导通单元11的输入端连接,单向导通单元11的输出端连接通信接口引脚单元13,如图7所示,滤波单元12还可以包括:The filtering unit 12 can also be replaced by other equivalent devices or circuits, and the filtering unit 12 can also be connected in reverse connection with the unidirectional conduction unit 11, that is, the input end of the filtering unit 12 is connected to the near field coil 2, and the filtering unit 12 is The output end is connected to the input end of the one-way communication unit 11, and the output end of the one-way communication unit 11 is connected to the communication interface pin unit 13. As shown in FIG. 7, the filtering unit 12 may further include:
电阻R5、电容C4和电感L1;Resistor R5, capacitor C4 and inductor L1;
电容C4的一端为滤波单元12的输入端,电容C4的另一端为滤波单元12的输出端连接,电容C4的另一端还通过电阻R5接地,电感L1与电容C4并联。One end of the capacitor C4 is the input end of the filter unit 12, the other end of the capacitor C4 is connected to the output end of the filter unit 12, and the other end of the capacitor C4 is also grounded through the resistor R5, and the inductor L1 is connected in parallel with the capacitor C4.
优选地,在单向导通单元11的输出端与滤波单元12的输入端之间还可以串联电阻R3用于进行负载控制。Preferably, a resistor R3 can be connected in series between the output of the one-way conduction unit 11 and the input of the filter unit 12 for load control.
作为本发明一实施例,该近场通信前端硬件电路还可以包括:As an embodiment of the present invention, the near field communication front end hardware circuit may further include:
负载调制单元15,用于通过控制近场线圈2的负载变化进行负载调制并发送完成授种或生产配置的调制信号,负载调制单元15与检波单元100连接。The load modulation unit 15 is configured to perform load modulation by controlling a load change of the near field coil 2 and transmit a modulation signal that completes the seeding or production configuration, and the load modulation unit 15 is connected to the detection unit 100.
作为本发明一实施例,负载调制单元15包括:As an embodiment of the invention, the load modulation unit 15 includes:
开关电路模块151和负载控制模块152;Switch circuit module 151 and load control module 152;
负载控制模块152的第一端与单向导通单元11的输出端连接,负载控制模块152的第二端与开关电路模块151的电流输入端连接,开关电路模块151的电流输出端接地,开关电路模块151的第一控制端GPIO、第二控制端TX分别通过通信接口引脚单元13与微控制单元MCU的输入输出接口GPIO、发送信号端TX连接。The first end of the load control module 152 is connected to the output end of the one-way conduction unit 11, the second end of the load control module 152 is connected to the current input end of the switch circuit module 151, and the current output end of the switch circuit module 151 is grounded, and the switch circuit The first control terminal GPIO and the second control terminal TX of the module 151 are respectively connected to the input/output interface GPIO and the transmission signal terminal TX of the micro control unit MCU through the communication interface pin unit 13.
优选地,开关电路模块151包括:Preferably, the switch circuit module 151 includes:
第二开关管Q2和第三开关管Q3;a second switch tube Q2 and a third switch tube Q3;
第二开关管Q2的电流输入端为开关电路模块151的电流输入端,第二开关管Q2的电流输出端为开关电路模块151的电流输出端,第二开关管Q2的控制端与第三开关管Q3的电流输出端连接,第三开关管Q3的电流输入端为开关电路模块151的第一控制端,第三开关管Q3的控制端为开关电路模块151的第二控制端。The current input end of the second switch tube Q2 is the current input end of the switch circuit module 151, the current output end of the second switch tube Q2 is the current output end of the switch circuit module 151, and the control end and the third switch of the second switch tube Q2. The current output end of the tube Q3 is connected, the current input end of the third switch tube Q3 is the first control end of the switch circuit module 151, and the control end of the third switch tube Q3 is the second control end of the switch circuit module 151.
在本发明实施例中,第二开关管Q2和第三开关管Q3构成开关电路,通过MOS管的开关切换可以改变线圈的负载,线圈负载变化会耦合到读写器端的发送线圈,读写器通过的发送线圈负载变化可以解调出调制信息。In the embodiment of the present invention, the second switching transistor Q2 and the third switching transistor Q3 constitute a switching circuit, and the switching of the MOS tube can change the load of the coil, and the coil load change is coupled to the transmitting coil of the reader/writer end, and the reader/writer Modulation information can be demodulated by the transmitted coil load change.
为了防止误触发,由TX和总线扩展器(General Purpose Input Output,GPIO)同时控制负载开关。In order to prevent false triggering, by TX and bus expander (General Purpose Input Output, GPIO) Controls the load switch at the same time.
当然,开关电路模块151也可以通过一个开关管实现,亦或采用一个开关管和串接在开关管控制端的电阻实现。Of course, the switch circuit module 151 can also be realized by a switch tube, or by using a switch tube and a resistor connected in series at the control end of the switch tube.
在本发明实施例中,开关电路模块151起到负载调制作用,可以是只有两个开关状态,或者一个范围的负载调制,In the embodiment of the present invention, the switch circuit module 151 functions as a load modulation, and may have only two switch states, or a range of load modulation.
负载控制模块152包括:The load control module 152 includes:
电阻R4;Resistor R4;
电阻R4的两端分别为负载控制模块152的第一端和第二端。Both ends of the resistor R4 are the first end and the second end of the load control module 152, respectively.
可选地,该电阻R4还可以并联一个电容,组成负载控制模块152。Optionally, the resistor R4 can also be connected in parallel with a capacitor to form the load control module 152.
通信接口引脚单元13由RX、TX引脚构成,RX/TX可以直接连接到微控制单元MCU等芯片,或者经过后端匹配单元再连接到微控制单元MCU等芯片。The communication interface pin unit 13 is composed of RX and TX pins, and the RX/TX can be directly connected to a chip such as a micro control unit MCU, or connected to a chip such as a micro control unit MCU through a back end matching unit.
参考图2,作为本发明一实施例,该近场通信前端硬件电路还包括:Referring to FIG. 2, as an embodiment of the present invention, the near field communication front end hardware circuit further includes:
后端匹配单元14,用于将原调制信号进行判决匹配,并将匹配后的信号通过通信接口引脚单元13输出至微控制单元MCU,后端匹配单元14连接于检波单元100与通信接口引脚单元13之间。The back-end matching unit 14 is configured to perform decision matching on the original modulated signal, and output the matched signal to the micro-control unit MCU through the communication interface pin unit 13, and the back-end matching unit 14 is connected to the detecting unit 100 and the communication interface. Between the foot units 13.
后端匹配单元14可以采用比较判别单元或AD采样单元实现。The backend matching unit 14 can be implemented by using a comparison discriminating unit or an AD sampling unit.
具体地,比较判别单元包括:Specifically, the comparison discriminating unit includes:
比较器U1和电阻R2、电阻R3;Comparator U1 and resistor R2, resistor R3;
比较器U1的正向输入端与滤波单元12的输出端连接,比较器U1的反向输入端通过电阻R2接地,比较器U1的反向输入端还通过电阻R3与微控制单元MCU的输入输出接口连接,比较器U1的输出端与微控制单元MCU的接收信号端连接。The forward input terminal of the comparator U1 is connected to the output terminal of the filter unit 12, the inverting input terminal of the comparator U1 is grounded through the resistor R2, and the inverting input terminal of the comparator U1 is also connected to the input and output of the micro control unit MCU through the resistor R3. The interface is connected, and the output of the comparator U1 is connected to the receiving signal end of the micro control unit MCU.
在本发明实施例中,通过比较判别单元对有效数据进行判别,可以通过电阻R2、电阻R3设置幅度阈值,比较器U1将当前输入值与幅度阈值比较,若输入值大于幅度阈值,则比较器U1输出高电平信号,若输入值小于幅度阈值,则比较器U1输出低电平信号,并将输出的高低电平信号发送给处理芯片进行后端处理。In the embodiment of the present invention, by comparing the discriminating unit to discriminate the valid data, the amplitude threshold may be set by the resistor R2 and the resistor R3, and the comparator U1 compares the current input value with the amplitude threshold. If the input value is greater than the amplitude threshold, the comparator U1 outputs a high level signal. If the input value is less than the amplitude threshold, the comparator U1 outputs a low level signal, and sends the output high and low level signals to the processing chip for back end processing.
当然,还可以采用模数转换器作为AD采样单元连接于检波单元100与通信接口引脚单元13之间。Of course, an analog-to-digital converter can also be used as the AD sampling unit connected between the detecting unit 100 and the communication interface pin unit 13.
在本发明实施例中,通过AD采样读出电压幅度值,电压幅度值达到或超过限定阈值时,采样单元输出高电平,电压幅度值低于限定阈值时,采样单元输出低电平,AD采样时,调制方式不限于OOK,提取出原调制信息的波形,还可以使用ASK等其他调制方法。In the embodiment of the present invention, the voltage amplitude value is read out by the AD sampling, and when the voltage amplitude value reaches or exceeds the threshold value, the sampling unit outputs a high level, and when the voltage amplitude value is lower than the limit threshold, the sampling unit outputs a low level, AD When sampling, the modulation method is not limited to OOK, the waveform of the original modulation information is extracted, and other modulation methods such as ASK can also be used.
本发明实施例通过基于分立器件搭建的近场通信前端硬件电路实现授种子或者生产配置,该方案无需在OTP卡中设置触点,不需要二次封装,仅通过无线通信即可实现,从而避免了现有OTP卡由二次封装导致的工艺步骤复杂,产品周期长以及成本高的问题。The embodiment of the invention realizes seed or production configuration by using a near-field communication front-end hardware circuit built on a discrete device, which does not need to set a contact in the OTP card, does not require secondary packaging, and can be realized only by wireless communication, thereby avoiding The existing OTP card has a complicated process step caused by secondary packaging, a long product cycle and a high cost.
图8为本发明实施例提供的动态令牌的授种子或生产配置的方法的流程结构,为了便于说明,仅示出了与本发明相关的部分。FIG. 8 is a schematic structural diagram of a method for granting seed or production configuration of a dynamic token according to an embodiment of the present invention. For convenience of description, only parts related to the present invention are shown.
该动态令牌的授种子或生产配置的方法基于上述实施例中的近场通信前端硬件电路实现,包括下述步骤:The method for granting seed or production configuration of the dynamic token is based on the near field communication front end hardware circuit implementation in the above embodiment, and includes the following steps:
步骤S101,接收读写器发送的种子或生产配置数据;Step S101, receiving seed or production configuration data sent by the reader/writer;
在读写器往OTP卡发送的种子或生产配置数据时,读写器提供载波信号。该读写器根据发送信息通过ASK(幅移键控调制)或OOK(开关键控)对载波信号进行调制,当然,该读写器也可以通过调整载波频率,通过偏离线圈的匹配频率,间接达到幅度调制的等效效果。需要指出的是发送的信息可以是已有的标准接口信号,如UART,IIC,SPI,单线传输协议等,也可以是自定义的低速的调频、调幅等调制形式的信号,信号的波形可以是矩形波、正弦波、三角波或自定义波形。The reader provides a carrier signal when the reader sends seed or production configuration data to the OTP card. The reader/writer modulates the carrier signal by ASK (Amplitude Shift Keying Modulation) or OOK (Open Key Control) according to the transmission information. Of course, the reader can also adjust the carrier frequency by indirect deviation from the matching frequency of the coil. Achieve the equivalent effect of amplitude modulation. It should be pointed out that the transmitted information may be an existing standard interface signal, such as UART, IIC, SPI, single-line transmission protocol, etc., or may be a customized low-speed modulation, amplitude modulation, etc., and the waveform of the signal may be Rectangular, sine, triangle, or custom waveforms.
步骤S102,将种子或生产配置数据通过检波单元滤掉调制信号的载波信号,得到原调制信号,并将原调制信号通过通信接口引脚单元输出至微控制单元;Step S102, filtering the seed or production configuration data through the detection unit to filter the carrier signal of the modulated signal, to obtain the original modulated signal, and outputting the original modulated signal to the micro control unit through the communication interface pin unit;
其中,通信接口引脚单元包括RX引脚。假设标准接口信号为UART信号,则通过RX引脚、UART接口输出至微控制单元MCU。由于无需对接收的调制信号进行处理,因此,大大简化了后端接收处理过程,达到透传的效果。Among them, the communication interface pin unit includes an RX pin. Assuming that the standard interface signal is a UART signal, it is output to the micro control unit MCU through the RX pin and the UART interface. Since the received modulated signal does not need to be processed, the back-end reception processing process is greatly simplified, and the transparent transmission effect is achieved.
步骤S103,向读写器告知完成授种或生产配置。In step S103, the reader/writer is informed of the completion of the seeding or production configuration.
作为本发明一优选实施例,还可以对种子或生产配置数据加密,具体为,在步骤S101之前:预设与读写器协商的动态加密口令;As a preferred embodiment of the present invention, the seed or the production configuration data may be encrypted. Specifically, before step S101: preset a dynamic encryption password negotiated with the reader/writer;
在步骤S101之后:验证种子或生产配置数据中携带的动态加密口令是否与预设的动态加密口令一致;After step S101: verifying whether the dynamic encryption password carried in the seed or production configuration data is consistent with the preset dynamic encryption password;
若是,则执行步骤S102;If yes, proceed to step S102;
若否,则不操作或发出错误提示。If no, no action or error message is given.
在本发明实施例中,为了更安全,在通信前,动态令牌与读写器先进行单向或双向的认证,认证通过后,再进行通信。In the embodiment of the present invention, in order to be more secure, before the communication, the dynamic token and the reader/writer first perform one-way or two-way authentication, and then perform communication after the authentication is passed.
作为本发明一优选实施例,在步骤S103中,将原调制信号通过通信接口引脚单元输出至微控制单元的步骤可以具体为:As a preferred embodiment of the present invention, in step S103, the step of outputting the original modulated signal to the micro control unit through the communication interface pin unit may be specifically as follows:
步骤S1031,将原调制信号输出至后端匹配单元进行判决匹配;Step S1031: output the original modulated signal to the backend matching unit for decision matching;
步骤S1032,将匹配后的信号通过通信接口引脚单元输出至微控制单元。In step S1032, the matched signal is output to the micro control unit through the communication interface pin unit.
可选地,在步骤S1031中,可以根据幅度阈值对原调制信号进行判决转换实现判决匹配;Optionally, in step S1031, the original modulation signal may be subjected to decision conversion according to the amplitude threshold to implement a decision matching;
也可以通过对原调制信号进行AD采样,并根据采样读出的电压幅度值生成采样值实现判决匹配。It is also possible to perform the decision matching by performing AD sampling on the original modulated signal and generating a sample value according to the voltage amplitude value read out by the sampling.
作为本发明一优选实施例,步骤S103可以通过通信接口引脚单元直接从微控制单元获取完成授种或生产配置的信号发送至读写器实现:As a preferred embodiment of the present invention, step S103 can directly obtain a signal for completing the seeding or production configuration from the micro control unit to the reader through the communication interface pin unit:
步骤S103也可以通过通信接口引脚单元直接从微控制单元获取完成授种或生产配置的信号,并进行负载调制后向读写器发送完成授种或生产配置的调制信号实现。Step S103 can also obtain the signal for completing the seeding or production configuration directly from the micro control unit through the communication interface pin unit, and perform load modulation to transmit the modulation signal for completing the seeding or production configuration to the reader/writer.
在本发明实施例中,可以由微控制单元通过开关信号控制负载调制单元中的开关电路模块处于关断状态,以使通过近场线圈与匹配电容组成的近场通信天线的电流较少,当非接前端B在接收状态时,开关电路模块或开关器件处于关断状态,此时,近场通信天线等效阻抗很大,通过的电流很小,保持低功耗状态,几乎不消耗射频能量,在同一个电路板上有多种近场线圈时,OTP卡也几乎不消耗射频能量,避免了对其他通信线圈影响。In the embodiment of the present invention, the micro switch unit can control the switch circuit module in the load modulation unit to be in an off state by the switch signal, so that the current of the near field communication antenna formed by the near field coil and the matching capacitor is less. When the non-connected front end B is in the receiving state, the switching circuit module or the switching device is in the off state. At this time, the near field communication antenna has a large equivalent impedance, the passing current is small, the low power consumption state is maintained, and the radio frequency energy is hardly consumed. When there are multiple near-field coils on the same circuit board, the OTP card consumes almost no RF energy, which avoids the influence on other communication coils.
作为本发明一实施例,在读卡器一端,基于读卡器的读卡器向动态令牌授种子或写入生产配置的方法包括:As an embodiment of the present invention, at a reader side, a card reader-based card reader or a write-to-production configuration of a dynamic token includes:
步骤S201,对种子或生产配置数据通过载波进行调制,生成发送信息,发送信息包括:标准接口信号或自定义的低速的调频或调幅的调制形式的信号;Step S201, modulating the seed or production configuration data by using a carrier to generate transmission information, where the transmission information includes: a standard interface signal or a customized low-speed modulation or amplitude modulation modulation signal;
步骤S202,将发送信息通过通信接口引脚单元发送给动态令牌,以使动态令牌完成授种子或生产配置;Step S202: Send the sending information to the dynamic token through the communication interface pin unit, so that the dynamic token completes the seeding or production configuration.
步骤S203,接收并解调动态令牌发送的完成授种或生产配置的告知信号。Step S203, receiving and demodulating the notification signal of the completion seeding or production configuration of the dynamic token transmission.
本发明实施例通过基于分立器件搭建的近场通信前端硬件电路实现授种子或者生产配置,该方案无需在OTP卡中设置触点,不需要二次封装,仅通过无线通信即可实现,从而避免了现有OTP卡由二次封装导致的工艺步骤复杂,产品周期长以及成本高的问题。The embodiment of the invention realizes seed or production configuration by using a near-field communication front-end hardware circuit built on a discrete device, which does not need to set a contact in the OTP card, does not require secondary packaging, and can be realized only by wireless communication, thereby avoiding The existing OTP card has a complicated process step caused by secondary packaging, a long product cycle and a high cost.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the size of the sequence of the steps in the above embodiments does not imply a sequence of executions, and the order of execution of the processes should be determined by its function and internal logic, and should not be construed as limiting the implementation of the embodiments of the present invention.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。It will be apparent to those skilled in the art that, for convenience and brevity of description, only the division of each functional unit and module described above is exemplified. In practical applications, the above functions may be assigned to different functional units as needed. The module is completed by dividing the internal structure of the device into different functional units or modules to perform all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit, and the integrated unit may be hardware. Formal implementation can also be implemented in the form of software functional units. In addition, the specific names of the respective functional units and modules are only for the purpose of facilitating mutual differentiation, and are not intended to limit the scope of protection of the present application. For the specific working process of the unit and the module in the foregoing system, reference may be made to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not detailed or described in a certain embodiment can be referred to the related descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
在本发明所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the system embodiment described above is merely illustrative. For example, the division of the module or unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明实施例各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage. The medium includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), and a random access memory (RAM, Random Access). A variety of media that can store program code, such as a memory, a disk, or an optical disk.
以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The embodiments described above are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that The technical solutions described in the examples are modified, or some of the technical features are equivalently replaced; and the modifications or substitutions do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in Within the scope of protection of the present invention.

Claims (28)

  1. 一种近场通信前端硬件电路,其特征在于,所述近场通信前端硬件电路包括:A near field communication front end hardware circuit, wherein the near field communication front end hardware circuit comprises:
    近场通信天线、检波单元和通信接口引脚单元;Near field communication antenna, detection unit and communication interface pin unit;
    所述近场通信天线包括近场线圈和匹配电容,所述近场线圈的频率与选取的载波频率匹配;The near field communication antenna includes a near field coil and a matching capacitor, and a frequency of the near field coil matches a selected carrier frequency;
    所述检波单元,用于滤除接收的调制信号中的载波,得到原调制信号,所述检波单元与所述近场线圈连接;The detecting unit is configured to filter a carrier in the received modulated signal to obtain an original modulated signal, and the detecting unit is connected to the near field coil;
    所述通信接口引脚单元,用于将所述原调制信号输出至微控制单元,所述通信接口引脚单元连接于所述检波单元与所述微控制单元之间。The communication interface pin unit is configured to output the original modulation signal to a micro control unit, and the communication interface pin unit is connected between the detection unit and the micro control unit.
  2. 如权利要求1所述的近场通信前端硬件电路,其特征在于,所述检波单元用于滤除接收的种子或生产配置数据中的载波,得到原调制信号,对应地,所述通信接口引脚单元,用于将所述原调制信号输出至微控制单元,所述通信接口引脚单元连接于所述检波单元的输出端与所述微控制单元的输入输出引脚之间。The near field communication front end hardware circuit according to claim 1, wherein the detecting unit is configured to filter the received seed or the carrier in the production configuration data to obtain an original modulated signal, and correspondingly, the communication interface is cited. a foot unit for outputting the original modulated signal to a micro control unit, the communication interface pin unit being connected between an output end of the detecting unit and an input/output pin of the micro control unit.
  3. 如权利要求1或2所述的近场通信前端硬件电路,其特征在于,所述近场通信前端硬件电路还包括:The near field communication front end hardware circuit according to claim 1 or 2, wherein the near field communication front end hardware circuit further comprises:
    后端匹配单元,用于将所述原调制信号进行判决匹配,并将匹配后的信号通过所述通信接口引脚单元输出至所述微控制单元,所述后端匹配单元连接于所述检波单元与所述通信接口引脚单元之间。a back-end matching unit, configured to perform a decision matching on the original modulated signal, and output the matched signal to the micro-control unit through the communication interface pin unit, where the back-end matching unit is connected to the detection Between the unit and the communication interface pin unit.
  4. 如权利要求3所述的近场通信前端硬件电路,其特征在于,所述后端匹配单元包括:The near field communication front end hardware circuit according to claim 3, wherein the back end matching unit comprises:
    所述后端匹配单元为比较判别单元或AD采样单元。The backend matching unit is a comparison discriminating unit or an AD sampling unit.
  5. 如权利要求4所述的近场通信前端硬件电路,其特征在于,所述比较判别单元包括:The near field communication front end hardware circuit according to claim 4, wherein the comparison determining unit comprises:
    比较器和电阻R2、电阻R3;Comparator and resistor R2, resistor R3;
    所述比较器的正向输入端与所述滤波单元的输出端连接,所述比较器的反向输入端通过所述电阻R2接地,所述比较器的反向输入端还通过所述电阻R3与所述微控制单元的输入输出接口连接,所述比较器的输出端与所述微控制单元的接收信号端连接;a forward input end of the comparator is connected to an output end of the filter unit, an inverting input end of the comparator is grounded through the resistor R2, and an inverting input end of the comparator further passes through the resistor R3 Connected to an input/output interface of the micro control unit, and an output end of the comparator is connected to a receiving signal end of the micro control unit;
    所述AD采样单元为模数转换器。The AD sampling unit is an analog to digital converter.
  6. 如权利要求1或3或4任一项所述的近场通信前端硬件电路,其特征在于,所述近场通信前端硬件电路还包括负载调制单元;The near field communication front end hardware circuit according to any one of claims 1 to 3 or 4, wherein the near field communication front end hardware circuit further comprises a load modulation unit;
    所述负载调制单元,用于通过控制所述近场线圈的负载变化进行负载调制并发送调制信号,所述负载调制单元与所述检波单元连接。The load modulation unit is configured to perform load modulation and transmit a modulation signal by controlling a load change of the near field coil, and the load modulation unit is connected to the detection unit.
  7. 如权利要求6所述的近场通信前端硬件电路,其特征在于,所述负载调制单元包括:The near field communication front end hardware circuit according to claim 6, wherein the load modulation unit comprises:
    开关电路模块和负载控制模块;a switch circuit module and a load control module;
    所述负载控制模块的第一端与所述检波单元连接,所述负载控制模块的第二端与所述开关电路模块的电流输入端连接,所述开关电路模块的电流输出端接地,所述开关电路模块的第一控制端、第二控制端分别通过所述通信接口引脚单元与所述微控制单元的输入输出接口、发送信号端连接。a first end of the load control module is connected to the detecting unit, a second end of the load control module is connected to a current input end of the switch circuit module, and a current output end of the switch circuit module is grounded, The first control end and the second control end of the switch circuit module are respectively connected to the input/output interface and the transmit signal end of the micro control unit through the communication interface pin unit.
  8. 如权利要求2所述的近场通信前端硬件电路,其特征在于,所述检波单元包括单向导通单元和滤波单元;The near field communication front end hardware circuit according to claim 2, wherein the detecting unit comprises a unidirectional conduction unit and a filtering unit;
    所述单向导通单元为二极管、三极管或MOS管;The one-way conduction unit is a diode, a triode or a MOS tube;
    所述滤波单元包括:The filtering unit includes:
    电阻R2和电容C2;Resistor R2 and capacitor C2;
    所述电阻R2的一端为所述滤波单元的输入端与所述单向导通单元的输出端连接,所述单向导通单元的输入端与所述近场线圈连接,所述电阻R2的一端同时为所述滤波单元的输出端与所述电容C2的一端连接,所述电容C2的一端为所述滤波单元的输出端与所述通信接口引脚单元连接,所述电阻R2的另一端与所述电容C2的另一端同时接地;One end of the resistor R2 is connected to an input end of the filtering unit and an output end of the unidirectional conduction unit, and an input end of the unidirectional conduction unit is connected to the near field coil, and one end of the resistor R2 is simultaneously An output end of the filtering unit is connected to one end of the capacitor C2, and one end of the capacitor C2 is connected to an output end of the filtering unit and the communication interface pin unit, and the other end of the resistor R2 is The other end of the capacitor C2 is grounded at the same time;
    或,所述滤波单元包括:Or, the filtering unit includes:
    电阻R5、电容C4和电感L1;Resistor R5, capacitor C4 and inductor L1;
    所述电容C4的一端为所述滤波单元的输入端与所述近场线圈连接,所述电容C4的另一端为所述滤波单元的输出端与所述单向导通单元的输入端连接,所述单向导通单元的输出端与所述通信接口引脚单元连接,所述电容C4的另一端还通过所述电阻R5接地,所述电感L1与所述电容C4并联。One end of the capacitor C4 is connected to the input end of the filtering unit, and the other end of the capacitor C4 is connected to the input end of the single-conducting unit. The output end of the unidirectional conduction unit is connected to the communication interface pin unit, and the other end of the capacitor C4 is also grounded through the resistor R5, and the inductor L1 is connected in parallel with the capacitor C4.
  9. 如权利要求8所述的近场通信前端硬件电路,其特征在于,所述近场通信前端硬件电路还包括负载调制单元;The near field communication front end hardware circuit according to claim 8, wherein the near field communication front end hardware circuit further comprises a load modulation unit;
    所述负载调制单元,用于通过控制所述近场线圈的负载变化进行负载调制并发送完成授种或生产配置的调制信号,所述负载调制单元与所述检波单元连接。The load modulation unit is configured to perform load modulation by controlling a load change of the near field coil and transmit a modulation signal that completes a seeding or production configuration, and the load modulation unit is connected to the detection unit.
  10. 如权利要求9所述的近场通信前端硬件电路,其特征在于,所述负载调制单元包括:The near field communication front end hardware circuit according to claim 9, wherein the load modulation unit comprises:
    开关电路模块和负载控制模块;a switch circuit module and a load control module;
    所述负载控制模块的第一端与所述单向导通单元的输出端连接,所述负载控制模块的第二端与所述开关电路模块的电流输入端连接,所述开关电路模块的电流输出端接地,所述开关电路模块的第一控制端、第二控制端分别通过通信接口引脚单元与所述微控制单元的输入输出接口、发送信号端连接。a first end of the load control module is connected to an output end of the single-conducting unit, a second end of the load control module is connected to a current input end of the switch circuit module, and a current output of the switch circuit module The first control end and the second control end of the switch circuit module are respectively connected to the input/output interface and the transmit signal end of the micro control unit through a communication interface pin unit.
  11. 一种近场通信终端,其特征在于,所述近场通信终端的前端硬件电路包括如权利要求1或3或4或6或7任一项所述的近场通信前端硬件电路。A near field communication terminal, characterized in that the front end hardware circuit of the near field communication terminal comprises the near field communication front end hardware circuit according to any one of claims 1 or 3 or 4 or 6 or 7.
  12. 一种读写器,其特征在于,所述读写器的前端硬件电路包括如权利要求1或3或4所述的近场通信前端硬件电路。A reader/writer, characterized in that the front end hardware circuit of the reader/writer includes the near field communication front end hardware circuit according to claim 1 or 3 or 4.
  13. 一种近场无线通信系统,其特征在于,所述近场无线通信系统包括权利要求11所述的近场通信终端和权利要求12所述的读写器。A near field wireless communication system, characterized in that the near field wireless communication system comprises the near field communication terminal according to claim 11 and the reader/writer according to claim 12.
  14. 一种动态令牌,其特征在于,所述动态令牌包括或者,所述动态令牌包括如权利要求2或3或5或8或9或10任一项所述的近场通信前端硬件电路。A dynamic token, characterized in that the dynamic token comprises or the dynamic token comprises a near field communication front end hardware circuit according to any one of claims 2 or 3 or 5 or 8 or 9 or 10 .
  15. 一种读卡器,其特征在于,所述读卡器的前端硬件电路包括如权利要求2或3或5或8任一项所述的近场通信前端硬件电路。A card reader, characterized in that the front end hardware circuit of the card reader comprises the near field communication front end hardware circuit according to any one of claims 2 or 3 or 5 or 8.
  16. 一种OTP近场通信系统,其特征在于,所述系统包括如权利要求14所述的动态令牌和如权利要求15所述的读卡器。An OTP near field communication system, characterized in that the system comprises the dynamic token of claim 14 and the card reader of claim 15.
  17. 一种动态令牌的授种子或生产配置的方法,其特征在于,所述方法基于如权利要求14所述的动态令牌,所述方法包括:A method for seed or production configuration of a dynamic token, the method being based on the dynamic token of claim 14, the method comprising:
    接收读写器发送的种子或生产配置数据;Receiving seed or production configuration data sent by the reader/writer;
    通过检波单元滤掉所述种子或生产配置数据中的载波信号,得到原调制信号;Filtering off the seed signal in the seed or production configuration data by the detecting unit to obtain an original modulated signal;
    将所述原调制信号通过通信接口引脚单元输出至微控制单元;Outputting the original modulated signal to the micro control unit through the communication interface pin unit;
    向读写器告知完成授种或生产配置。Tell the reader that the seeding or production configuration is complete.
  18. 如权利要求17所述的方法,其特征在于,所述将所述原调制信号通过通信接口引脚单元输出至微控制单元的步骤具体为:The method according to claim 17, wherein the step of outputting the original modulated signal to the micro control unit through the communication interface pin unit is specifically:
    将所述原调制信号输出至后端匹配单元进行判决匹配;Outputting the original modulated signal to a backend matching unit for decision matching;
    将匹配后的信号通过通信接口引脚单元输出至微控制单元。The matched signal is output to the micro control unit through the communication interface pin unit.
  19. 如权利要求18所述的方法,其特征在于,根据幅度阈值对所述原调制信号进行判决转换实现判决匹配;或The method of claim 18, wherein the decision is performed by performing a decision conversion on the original modulated signal according to an amplitude threshold; or
    通过对所述原调制信号进行AD采样,并根据采样读出的电压幅度值生成采样值实现判决匹配。The decision matching is performed by performing AD sampling on the original modulated signal and generating a sample value according to the voltage amplitude value read out by the sampling.
  20. 如权利要求17所述的方法,其特征在于,所述向读写器告知完成授种或生产配置的步骤具体为:The method of claim 17, wherein the step of notifying the reader that the seeding or production configuration is completed is:
    在所述微控制单元对所述原调制信号进行响应,产生响应信号后,根据所述响应信号控制负载调制单元,通过所述负载调制单元控制所述近场线圈的负载变化进行负载调制;After the micro control unit responds to the original modulated signal to generate a response signal, the load modulation unit is controlled according to the response signal, and the load modulation unit controls the load change of the near field coil to perform load modulation;
    将调制后的响应信号发送至所述读写器。The modulated response signal is sent to the reader/writer.
  21. 一种读卡器向动态令牌授种子或写入生产配置的方法,其特征在于,所述方法基于如权利要求15所述的读卡器,所述方法包括:A method for a card reader to seed or write a production configuration to a dynamic token, the method being based on the card reader of claim 15, the method comprising:
    对种子或生产配置数据通过载波进行调制,生成发送信息,所述发送信息包括:标准接口信号或自定义的低速的调频或调幅的调制形式的信号;The seed or production configuration data is modulated by a carrier to generate transmission information, where the transmission information includes: a standard interface signal or a customized low-speed modulation or amplitude modulation modulation signal;
    将所述发送信息通过通信接口引脚单元发送给动态令牌,以使所述动态令牌完成授种子或生产配置;Transmitting the sending information to the dynamic token through the communication interface pin unit, so that the dynamic token completes seeding or production configuration;
    接收并解调所述动态令牌发送的完成授种或生产配置的告知信号。Receiving and demodulating the notification signal of the completed seeding or production configuration of the dynamic token transmission.
  22. 一种基于近场通信前端硬件电路的近场无线通信方法,其特征在于,包括:A near field wireless communication method based on a near field communication front end hardware circuit, comprising:
    通过近场通信天线接收读写器发送的调制信号,所述近场通信天线包括近场线圈和匹配电容;Receiving a modulated signal transmitted by a reader/writer through a near field communication antenna, the near field communication antenna including a near field coil and a matching capacitor;
    通过检波单元滤除所述调制信号的载波,得到原调制信号;Filtering the carrier of the modulated signal by the detecting unit to obtain an original modulated signal;
    将所述原调制信号通过通信接口引脚单元输出至微控制单元。The original modulated signal is output to the micro control unit through the communication interface pin unit.
  23. 如权利要求22所述的近场无线通信方法,其特征在于,所述将所述原调制信号通过第一通信接口引脚输出至所述MCU电路,包括:The near field wireless communication method according to claim 22, wherein the outputting the original modulated signal to the MCU circuit through a first communication interface pin comprises:
    将所述原调制信号输出至后端匹配单元匹配;Outputting the original modulated signal to a backend matching unit for matching;
    将所述后端匹配单元匹配后的信号通过所述通信接口引脚单元输出至所述微控制单元。And matching the signal matched by the backend matching unit to the micro control unit through the communication interface pin unit.
  24. 如权利要求22所述的近场无线通信方法,其特征在于,在所述将所述原调制信号通过通信接口引脚单元输出至微控制单元之后,包括:The near field wireless communication method according to claim 22, after the outputting the original modulated signal to the micro control unit through the communication interface pin unit, comprising:
    在所述微控制单元对所述原调制信号进行响应,产生响应信号后,根据所述响应信号控制负载调制单元,通过所述负载调制单元控制所述近场线圈的负载变化进行负载调制;After the micro control unit responds to the original modulated signal to generate a response signal, the load modulation unit is controlled according to the response signal, and the load modulation unit controls the load change of the near field coil to perform load modulation;
    将调制后的响应信号发送至所述读写器。The modulated response signal is sent to the reader/writer.
  25. 如权利要求22所述的近场无线通信方法,其特征在于,所述负载调制单元包括开关电路模块,在所述通过近场通信天线接收读写器发送的调制信号时,包括:The near field wireless communication method according to claim 22, wherein the load modulation unit comprises a switch circuit module, and when the modulated signal transmitted by the reader/writer is received by the near field communication antenna, the method includes:
    控制所述开关电路模块处于关断状态,以使通过所述近场通信天线的电流较少。The switch circuit module is controlled to be in an off state such that less current is passed through the near field communication antenna.
  26. 如权利要求23所述的近场无线通信方法,其特征在于,所述后端匹配单元为比较判别单元,此时,所述将所述原调制信号输出至后端匹配单元匹配,包括:The near-field wireless communication method according to claim 23, wherein the back-end matching unit is a comparison determining unit, and the outputting the original modulated signal to the back-end matching unit for matching comprises:
    将所述原调制信号输出至所述比较判别单元,若所述原调制信号的幅值超过预设幅度阈值,则所述比较判别单元输出高电平,否则,输出低电平;Outputting the original modulated signal to the comparison determining unit, if the amplitude of the original modulated signal exceeds a preset amplitude threshold, the comparison determining unit outputs a high level; otherwise, outputs a low level;
    或者,or,
    所述后端匹配单元为AD采样单元,此时,所述将所述原调制信号输出至后端匹配单元匹配,包括:The back-end matching unit is an AD sampling unit. In this case, the outputting the original modulated signal to the back-end matching unit, including:
    将所述原调制信号输出至AD采样单元,所述AD采样单元确定所述原调制信号的电压幅度值,若所述电压幅度值超出预设的电压幅度阈值,则输出1,否则,输出0。Outputting the original modulated signal to an AD sampling unit, where the AD sampling unit determines a voltage amplitude value of the original modulated signal, and if the voltage amplitude value exceeds a preset voltage amplitude threshold, outputs 1; otherwise, outputs 0. .
  27. 一种基于近场通信前端硬件电路的近场无线通信方法,其特征在于,包括:A near field wireless communication method based on a near field communication front end hardware circuit, comprising:
    根据发送的信息对载波进行调制,得到调制信号;Modulating the carrier according to the transmitted information to obtain a modulated signal;
    将所述调制信号通过通信接口引脚单元发送至近场通信终端,以使所述近场通信终端通过近场通信天线接收所述调制信号。The modulated signal is transmitted to the near field communication terminal through the communication interface pin unit to cause the near field communication terminal to receive the modulated signal through the near field communication antenna.
  28. 如权利要求27所述的近场无线通信方法,其特征在于,在所述将所述调制信号通过通信接口引脚单元发送至近场通信终端,以使所述近场通信终端通过近场通信天线接收所述调制信号之后,包括:The near field wireless communication method according to claim 27, wherein said modulating signal is transmitted to a near field communication terminal through a communication interface pin unit to cause said near field communication terminal to pass a near field communication antenna After receiving the modulated signal, the method includes:
    通过近场通信天线接收所述近场通信终端发送的调制后的响应信号,所述响应信号为所述近场通信终端的微控制单元对接收的原调制信号进行响应产生得到;Receiving, by the near field communication antenna, the modulated response signal sent by the near field communication terminal, where the response signal is generated by the micro control unit of the near field communication terminal responding to the received original modulated signal;
    通过检波单元滤除所述近场通信终端发送的调制后的响应的载波;Filtering, by the detecting unit, a carrier of the modulated response sent by the near field communication terminal;
    将滤除载波后的信号通过通信接口引脚单元输出至微控制单元。The signal after filtering the carrier is output to the micro control unit through the communication interface pin unit.
PCT/CN2018/080227 2017-03-24 2018-03-23 Near field communication front-end hardware circuit, terminal, reader/writer, system and method WO2018171723A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201710184295.6A CN107094037B (en) 2017-03-24 2017-03-24 The front end hardware circuit of dynamic token and its method for awarding seed or production configuration
CN201710184291.8 2017-03-24
CN201710184295.6 2017-03-24
CN201710184291.8A CN106909865B (en) 2017-03-24 2017-03-24 Near-field communication front end hardware circuit, terminal, reader, system and method

Publications (1)

Publication Number Publication Date
WO2018171723A1 true WO2018171723A1 (en) 2018-09-27

Family

ID=63586269

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/080227 WO2018171723A1 (en) 2017-03-24 2018-03-23 Near field communication front-end hardware circuit, terminal, reader/writer, system and method

Country Status (1)

Country Link
WO (1) WO2018171723A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150244427A1 (en) * 2011-05-17 2015-08-27 Samsung Electronics Co., Ltd. Apparatus and method for using near field communication and wireless power transmission
CN204993318U (en) * 2015-07-23 2016-01-20 中兴通讯股份有限公司 Near field communications received circuit
CN106252828A (en) * 2015-06-12 2016-12-21 三星电子株式会社 Near-field communication aerial and there is near field communication means and the mobile system of this antenna
CN206038179U (en) * 2016-08-11 2017-03-22 四川坦普瑞尔科技有限公司 High accuracy low -power consumption real -time temperature takes notes appearance based on near field communication
CN106909865A (en) * 2017-03-24 2017-06-30 深圳市文鼎创数据科技有限公司 Near-field communication front end hardware circuit, terminal, read write line, system and method
CN107094037A (en) * 2017-03-24 2017-08-25 深圳市文鼎创数据科技有限公司 The front end hardware circuit of dynamic token and its method for awarding seed or production configuration

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150244427A1 (en) * 2011-05-17 2015-08-27 Samsung Electronics Co., Ltd. Apparatus and method for using near field communication and wireless power transmission
CN106252828A (en) * 2015-06-12 2016-12-21 三星电子株式会社 Near-field communication aerial and there is near field communication means and the mobile system of this antenna
CN204993318U (en) * 2015-07-23 2016-01-20 中兴通讯股份有限公司 Near field communications received circuit
CN206038179U (en) * 2016-08-11 2017-03-22 四川坦普瑞尔科技有限公司 High accuracy low -power consumption real -time temperature takes notes appearance based on near field communication
CN106909865A (en) * 2017-03-24 2017-06-30 深圳市文鼎创数据科技有限公司 Near-field communication front end hardware circuit, terminal, read write line, system and method
CN107094037A (en) * 2017-03-24 2017-08-25 深圳市文鼎创数据科技有限公司 The front end hardware circuit of dynamic token and its method for awarding seed or production configuration

Similar Documents

Publication Publication Date Title
JP4239988B2 (en) Communication system, communication apparatus, wired communication apparatus, and communication method
TWI474645B (en) Systems and methods for providing nfc secure application support in battery-off mode when no nonvolatile memory write access is available
US8150321B2 (en) Near field RF communicators and near field communications enabled devices
US9031503B2 (en) Wireless data communications
US20100311326A1 (en) Switching between multiple coupling modes
CN103560886B (en) Authentication method for electronic signature equipment
US20130130743A1 (en) Audio Jack Magnetic Card Reader
US20110068901A1 (en) Radio frequency identification tag
HUE028488T2 (en) Smartcard performance enhancement circuits and systems
CN103679239A (en) Radio frequency reader-writer and radio frequency identification system
CN103929526A (en) Mobile phone, method and system for radio frequency identification
CN101908157B (en) NFC-SIM (Near Field Communication-Subscriber Identity Module) chip
JP2010118051A5 (en)
WO2014029530A1 (en) Detection of load-modulated signals in nfc
CN103390303B (en) Based on financial key and the control method thereof of audio frequency and USB data transmission
CN203759722U (en) Radio frequency reader/writer and radio frequency identification system
WO2018198813A1 (en) Communication device and method
CN104081679B (en) Near field communication method and near-field communication equipment
CN104022768A (en) Passive magnetic induction button device
WO2018171723A1 (en) Near field communication front-end hardware circuit, terminal, reader/writer, system and method
JP2015104040A (en) Portable terminal
CN106909865B (en) Near-field communication front end hardware circuit, terminal, reader, system and method
CN204117179U (en) Band is stable triggers output function NFC label and electronic equipment
CN112118004B (en) SWP interface circuit and terminal
CN107094037B (en) The front end hardware circuit of dynamic token and its method for awarding seed or production configuration

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18770745

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18770745

Country of ref document: EP

Kind code of ref document: A1