CN114548129A - NFC accurate alignment method, terminal, tag, device and storage medium - Google Patents
NFC accurate alignment method, terminal, tag, device and storage medium Download PDFInfo
- Publication number
- CN114548129A CN114548129A CN202011339871.8A CN202011339871A CN114548129A CN 114548129 A CN114548129 A CN 114548129A CN 202011339871 A CN202011339871 A CN 202011339871A CN 114548129 A CN114548129 A CN 114548129A
- Authority
- CN
- China
- Prior art keywords
- nfc
- terminal
- nfc tag
- tag
- electromagnetic field
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10009—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
- G06K7/10297—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Toxicology (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Electromagnetism (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本发明涉及近场通信技术领域,尤其涉及一种NFC精准对位的方法、终端、标签、装置及存储介质。The present invention relates to the technical field of near field communication, and in particular, to a method, terminal, label, device and storage medium for precise alignment of NFC.
背景技术Background technique
近场通信(Near Field Communication,NFC)是在非接触式射频识别技术的基础上结合无线互连技术研发而成一种新兴的技术,它为人们日常生活中越来越普及的各种电子产品提供了一种十分安全快捷的通信方式。Near Field Communication (NFC) is an emerging technology developed on the basis of non-contact radio frequency identification technology combined with wireless interconnection technology. A very safe and fast way of communication.
尤其是基于NFC通信的无源标签,不但不需要外部供电,而且还可以收集NFC终端发出的电磁场的能量用于驱动各种无源设备。例如,NFC无源电子锁具和NFC无源驱动墨水屏都是靠收集带NFC功能的智能手机发出的电磁场的能量来驱动电机马达或墨水屏,以完成开锁或刷新墨水屏的显示内容。In particular, passive tags based on NFC communication not only require no external power supply, but also can collect the energy of the electromagnetic field emitted by the NFC terminal to drive various passive devices. For example, NFC passive electronic locks and NFC passive drive ink screens both rely on collecting the energy of the electromagnetic field emitted by the NFC-enabled smartphone to drive the motor motor or ink screen to complete unlocking or refresh the display content of the ink screen.
然而,由于驱动电子锁具开锁或驱动墨水屏刷新显示内容都需要较大的功率,而NFC手机发出的场能量有限,并且不同NFC手机的发射功率也有所差异,因此,为了达到开锁或刷屏的目的,需要把手机的NFC天线位置与锁具或墨水屏上的标签天线位置进行精确对位,以使标签取得较大的场能量。However, since a large amount of power is required to drive an electronic lock to unlock or drive an ink screen to refresh the displayed content, the field energy emitted by an NFC mobile phone is limited, and the transmission power of different NFC mobile phones is also different. For this purpose, it is necessary to precisely align the position of the NFC antenna of the mobile phone with the position of the tag antenna on the lock or ink screen, so that the tag can obtain greater field energy.
目前,不同手机的NFC天线位置有所不同,这就导致在实际使用过程中难以找准天线的位置以获取到较大的场能量来完成所需的操作。此外,NFC天线发出的高频信号在空间的分布并不均匀,即使手机的NFC天线与标签的NFC天线的位置正对并且距离较近也不一定可以让标签获取到较大的场能量。At present, the positions of the NFC antennas of different mobile phones are different, which makes it difficult to find the position of the antenna in actual use in order to obtain a large field energy to complete the required operation. In addition, the spatial distribution of the high-frequency signals emitted by the NFC antenna is not uniform. Even if the NFC antenna of the mobile phone and the NFC antenna of the tag are positioned directly and are relatively close, the tag may not necessarily obtain greater field energy.
发明内容SUMMARY OF THE INVENTION
本发明的实施例的目的在于,提供一种NFC精准对位的方法、终端、标签、装置及存储介质。The purpose of the embodiments of the present invention is to provide a method, terminal, tag, device and storage medium for precise alignment of NFC.
本发明的实施例提供的一种NFC精准对位的方法,可应用于NFC终端,该方法包括:S101,向NFC标签发送电磁场并且与其建立近场通信连接;S102向NFC标签发送场强检测指令;S103,接收NFC标签基于场强检测指令返回的场强信息,场强信息包括NFC标签从NFC终端接收到的电磁场的当前磁场强度;S104,判断当前磁场强度是否达到阈值,若是,则确认NFC终端与NFC标签精准对位,若否,则返回步骤S102或步骤S103。An NFC precise alignment method provided by an embodiment of the present invention can be applied to an NFC terminal. The method includes: S101, sending an electromagnetic field to an NFC tag and establishing a near-field communication connection therewith; S102 sending a field strength detection instruction to the NFC tag S103, receive the field strength information returned by the NFC tag based on the field strength detection instruction, and the field strength information includes the current magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal; S104, determine whether the current magnetic field strength reaches a threshold, and if so, confirm the NFC The terminal and the NFC tag are precisely aligned, if not, return to step S102 or step S103.
可选地,返回步骤S102或步骤S103包括:检测第一动作并且响应于第一动作而返回步骤S102或步骤S103。Optionally, returning to step S102 or step S103 includes detecting the first action and returning to step S102 or step S103 in response to the first action.
可选地,响应于第一动作而返回步骤S102或步骤S103包括:响应于第一动作而提供相应的提示信息;检测第二动作并且响应于第二动作而返回步骤S102或步骤S103;其中,第二动作基于提示信息而产生。Optionally, returning to step S102 or step S103 in response to the first action includes: providing corresponding prompt information in response to the first action; detecting the second action and returning to step S102 or step S103 in response to the second action; wherein, The second action is generated based on the prompt information.
可选地,提示信息基于执行第一动作时NFC标签接收到的电磁场的当前磁场强度的变化产生。Optionally, the prompt information is generated based on a change in the current magnetic field strength of the electromagnetic field received by the NFC tag when the first action is performed.
可选地,提示信息包括显示于NFC终端的用户界面的方向标识、数字标识、和/或颜色标识。Optionally, the prompt information includes a direction identification, a digital identification, and/or a color identification displayed on the user interface of the NFC terminal.
可选地,确认NFC终端与NFC标签精准对位之后包括:向NFC标签发送执行指令,以使NFC标签基于精准对位时接收到的电磁场的能量执行相应的驱动操作;其中,NFC标签基于精准对位时接收到的电磁场的能量至少部分地作为驱动能量用于驱动相应的操作。Optionally, confirming the precise alignment of the NFC terminal and the NFC tag includes: sending an execution instruction to the NFC tag, so that the NFC tag performs a corresponding driving operation based on the energy of the electromagnetic field received during the precise alignment; wherein, the NFC tag is based on the precise alignment. The energy of the electromagnetic field received during the alignment is at least partially used as driving energy to drive the corresponding operation.
可选地,NFC标签集成于NFC无源电子锁具或NFC无源电子墨水屏中,执行指令包括NFC无源电子锁具的开锁指令、或NFC无源电子墨水屏的刷新指令。Optionally, the NFC tag is integrated in the NFC passive electronic lock or the NFC passive electronic ink screen, and the execution instruction includes an unlock instruction of the NFC passive electronic lock or a refresh instruction of the NFC passive electronic ink screen.
可选地,阈值为NFC标签从NFC终端接收到的、能够为执行相应的驱动操作提供足够的驱动能量的电磁场所对应的最小磁场强度。Optionally, the threshold value is the minimum magnetic field strength corresponding to the electromagnetic field received by the NFC tag from the NFC terminal and capable of providing sufficient driving energy for performing the corresponding driving operation.
本发明的实施例提供的一种NFC精准对位的方法,可应用于NFC标签,该方法包括:S201,接收NFC终端发送的电磁场并且与其建立近场通信连接;S202,接收NFC终端发送的场强检测指令;S203,获取从NFC终端接收到的电磁场的当前磁场强度;S204,向NFC终端发送包含当前磁场强度的场强信息,以通过NFC终端判断当前磁场强度是否达到阈值,在达到阈值时NFC终端与NFC标签精准对位。An NFC precise alignment method provided by an embodiment of the present invention can be applied to an NFC tag. The method includes: S201, receiving an electromagnetic field sent by an NFC terminal and establishing a near-field communication connection therewith; S202, receiving a field sent by the NFC terminal Strong detection instruction; S203, obtain the current magnetic field strength of the electromagnetic field received from the NFC terminal; S204, send field strength information including the current magnetic field strength to the NFC terminal, so as to judge whether the current magnetic field strength reaches the threshold through the NFC terminal, and when the threshold is reached The NFC terminal and the NFC tag are precisely aligned.
可选地,NFC标签适于将接收到的电磁场的能量输送至其过压保护电路或整流电路;当前磁场强度基于过压保护电路的电流或整流电路的电压而得到。Optionally, the NFC tag is adapted to deliver the energy of the received electromagnetic field to its overvoltage protection circuit or rectifier circuit; the current magnetic field strength is obtained based on the current of the overvoltage protection circuit or the voltage of the rectifier circuit.
可选地,该方法包括:接收NFC终端发送执行指令;基于精准对位时接收到的电磁场的能量执行相应的驱动操作;其中,基于精准对位时接收到的电磁场的能量至少部分地作为驱动能量用于驱动相应的操作。Optionally, the method includes: receiving an execution instruction sent by the NFC terminal; performing a corresponding driving operation based on the energy of the electromagnetic field received during the precise alignment; wherein, the energy of the electromagnetic field received during the precise alignment is at least partially used as the driving force. Energy is used to drive the corresponding operations.
可选地,NFC标签集成于NFC无源电子锁具或NFC无源电子墨水屏中,驱动操作包括驱动NFC无源电子锁具的开锁操作、或驱动NFC无源电子墨水屏的刷新操作。Optionally, the NFC tag is integrated into the NFC passive electronic lock or the NFC passive electronic ink screen, and the driving operation includes driving the unlocking operation of the NFC passive electronic lock, or driving the refresh operation of the NFC passive electronic ink screen.
本发明的实施例提供的一种NFC精准对位的装置,包括存储器和处理器,存储器上保存有可在处理器上运行的计算机指令,处理器运行计算机指令时执行本发明的实施例提供的上述NFC精准对位的方法的步骤。An apparatus for precise alignment of NFC provided by an embodiment of the present invention includes a memory and a processor. The memory stores computer instructions that can be run on the processor, and the processor executes the computer instructions provided by the embodiments of the present invention when running the computer instructions. The steps of the above-mentioned method for precise alignment of NFC.
本发明的实施例提供的一种存储介质,其上保存有计算机指令,计算机指令运行时执行本发明的实施例提供的上述NFC精准对位的方法的步骤。An embodiment of the present invention provides a storage medium on which computer instructions are stored, and when the computer instructions are run, the steps of the above-mentioned method for precise alignment of NFC provided by the embodiment of the present invention are executed.
本发明的实施例提供的一种NFC终端包括:第一NFC天线,适于向NFC标签发送电磁场;第一通信模块,适于与NFC标签建立近场通信连接、向NFC标签发送场强检测指令、以及接收NFC标签返回的场强信息,场强信息包括NFC标签从NFC终端接收到的电磁场的当前磁场强度;第一处理模块,适于判断当前磁场强度是否达到阈值,并且在达到时确认NFC终端与NFC标签精准对位。An NFC terminal provided by an embodiment of the present invention includes: a first NFC antenna, adapted to send an electromagnetic field to an NFC tag; a first communication module, adapted to establish a near-field communication connection with the NFC tag and send a field strength detection instruction to the NFC tag , and receive the field strength information returned by the NFC tag, the field strength information includes the current magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal; the first processing module is suitable for judging whether the current magnetic field strength reaches a threshold, and confirms the NFC when it is reached. The terminal and the NFC tag are precisely aligned.
可选地,该NFC终端包括动作检测模块,适于检测NFC终端执行的第一动作;第一通信模块适于响应于第一动作而向NFC标签发送场强检测指令以及接收NFC标签返回的场强信息。Optionally, the NFC terminal includes an action detection module adapted to detect the first action performed by the NFC terminal; the first communication module is adapted to send a field strength detection instruction to the NFC tag in response to the first action and receive the field returned by the NFC tag. strong information.
可选地,该NFC终端包括提示模块,适于响应于第一动作而提供相应的提示信息;动作检测模块适于检测NFC终端执行的第二动作,第二动作基于提示信息而产生;第一通信模块适于响应于第二动作而向NFC标签发送场强检测指令以及接收NFC标签返回的场强信息。Optionally, the NFC terminal includes a prompt module, adapted to provide corresponding prompt information in response to the first action; the action detection module is adapted to detect a second action performed by the NFC terminal, and the second action is generated based on the prompt information; the first action is The communication module is adapted to send a field strength detection instruction to the NFC tag and receive field strength information returned by the NFC tag in response to the second action.
可选地,提示模块适于基于执行第一动作时接收到的电磁场的当前磁场强度的变化产生提示信息。Optionally, the prompt module is adapted to generate prompt information based on a change in the current magnetic field strength of the electromagnetic field received when the first action is performed.
可选地,第一通信模块适于在确认NFC终端与NFC标签精准对位时向NFC标签发送执行指令,以使NFC标签基于精准对位时接收到的电磁场的能量执行相应的驱动操作;其中,NFC标签基于精准对位时接收到的电磁场的能量至少部分地作为驱动能量用于驱动相应的操作。Optionally, the first communication module is adapted to send an execution instruction to the NFC tag when the precise alignment of the NFC terminal and the NFC tag is confirmed, so that the NFC tag performs a corresponding driving operation based on the energy of the electromagnetic field received during the precise alignment; wherein , the energy of the electromagnetic field received by the NFC tag during precise alignment is at least partially used as driving energy for driving corresponding operations.
本发明的实施例提供的一种NFC标签包括:第二NFC天线,适于接收NFC终端发送的电磁场;场强检测模块,适于检测所述电磁场的当前磁场强度;第二通信模块,适于接收NFC终端发送的场强检测指令、以及向NFC终端发送包含当前磁场强度的场强信息,以通过NFC终端判断当前磁场强度是否达到阈值,在达到阈值时NFC终端与NFC标签精准对位。An NFC tag provided by an embodiment of the present invention includes: a second NFC antenna, suitable for receiving an electromagnetic field sent by an NFC terminal; a field strength detection module, suitable for detecting the current magnetic field strength of the electromagnetic field; and a second communication module, suitable for Receive the field strength detection instruction sent by the NFC terminal, and send the field strength information including the current magnetic field strength to the NFC terminal, so as to determine whether the current magnetic field strength reaches the threshold through the NFC terminal, and when the threshold is reached, the NFC terminal and the NFC tag are precisely aligned.
可选地,该NFC标签包括适于接收电磁场的能量的过压保护电路或整流电路;场强检测模块适于采集过压保护电路的电流或整流电路的电压、以及基于电流或电压得到当前磁场强度。Optionally, the NFC tag includes an overvoltage protection circuit or a rectifier circuit suitable for receiving the energy of the electromagnetic field; the field strength detection module is adapted to collect the current of the overvoltage protection circuit or the voltage of the rectifier circuit, and obtain the current magnetic field based on the current or voltage. strength.
可选地,该NFC标签包括与过压保护电路或整流电路连接的储能模块,适于接收并且储存过压保护电路或整流电路输送的来自于电磁场的能量。Optionally, the NFC tag includes an energy storage module connected to the overvoltage protection circuit or the rectifier circuit, and is adapted to receive and store the energy from the electromagnetic field transmitted by the overvoltage protection circuit or the rectifier circuit.
可选地,第二通信模块适于接收NFC终端发送执行指令;该NFC标签包括驱动模块,适于基于精准对位时接收到的电磁场的能量执行相应的驱动操作;其中,NFC标签基于精准对位时接收到的电磁场的能量储存于储能模块中并且至少部分地作为驱动能量用于驱动相应的操作。Optionally, the second communication module is adapted to receive an execution instruction sent by the NFC terminal; the NFC tag includes a driving module adapted to perform a corresponding driving operation based on the energy of the electromagnetic field received during precise alignment; wherein the NFC tag is based on precise alignment. The energy of the received electromagnetic field is stored in the energy storage module and is used, at least in part, as driving energy to drive the corresponding operation.
与现有技术相比,本发明实施例的技术方案具有有益效果。例如,采用本发明的实施例提供的技术方案能够使NFC终端与NFC标签实现精准对位。Compared with the prior art, the technical solutions of the embodiments of the present invention have beneficial effects. For example, using the technical solutions provided by the embodiments of the present invention can achieve precise alignment between the NFC terminal and the NFC tag.
又例如,由于在NFC终端与NFC标签精准对位时,NFC标签从NFC终端接收到的电磁场的能量较大,使得NFC标签可以利用该较大的能量驱动相应的无源设备工作,例如,可以驱动无源电子锁具开锁或驱动无源电子墨水屏刷新显示内容等。For another example, when the NFC terminal and the NFC tag are precisely aligned, the energy of the electromagnetic field received by the NFC tag from the NFC terminal is relatively large, so that the NFC tag can use the relatively large energy to drive the corresponding passive device to work. Drive passive electronic locks to unlock or drive passive electronic ink screens to refresh display content, etc.
又例如,可以基于NFC标签中过压保护电路的电流或整流电路的电压计算得到NFC标签从NFC终端接收到的电磁场的磁场强度,从而使磁场强度量化,并基于量化的磁场强度可以更加精准地实现NFC终端与NFC标签的对位,从而使NFC标签可以接收到较多或最多的电磁场能量以用于驱动无源设备工作。For another example, the magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal can be calculated based on the current of the overvoltage protection circuit in the NFC tag or the voltage of the rectifier circuit, so that the magnetic field strength can be quantified, and based on the quantified magnetic field strength, the The alignment of the NFC terminal and the NFC tag is realized, so that the NFC tag can receive more or most electromagnetic field energy for driving the passive device to work.
附图说明Description of drawings
图1是本发明的实施例中可应用于NFC终端的NFC精准对位的方法的一种流程示意图;FIG. 1 is a schematic flowchart of a method for NFC precise alignment that can be applied to an NFC terminal in an embodiment of the present invention;
图2是本发明的实施例中可应用于NFC终端的NFC精准对位的方法的另一种流程示意图;FIG. 2 is another schematic flow chart of the method for NFC precise alignment that can be applied to an NFC terminal in an embodiment of the present invention;
图3是本发明的实施例中可应用于NFC标签的NFC精准对位的方法的一种流程示意图;3 is a schematic flowchart of a method for NFC precise alignment of NFC tags in an embodiment of the present invention;
图4是本发明的实施例中NFC终端的原理框图;4 is a schematic block diagram of an NFC terminal in an embodiment of the present invention;
图5是本发明的实施例中NFC标签的原理框图;5 is a schematic block diagram of an NFC tag in an embodiment of the present invention;
图6是本发明的实施例中NFC终端与NFC标签交互的原理框图。FIG. 6 is a principle block diagram of the interaction between an NFC terminal and an NFC tag in an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、特征和有益效果能够更为明显易懂,下面结合附图对本发明的具体实施例进行详细说明。In order to make the objectives, features and beneficial effects of the embodiments of the present invention more obvious and easy to understand, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
参照图1和图2,本发明的实施例提供的一种可应用于NFC终端的NFC精准对位的方法100包括:Referring to FIG. 1 and FIG. 2 , a
S101,向NFC标签发送电磁场并且与其建立近场通信连接;S101, sending an electromagnetic field to an NFC tag and establishing a near-field communication connection therewith;
S102,向NFC标签发送场强检测指令;S102, sending a field strength detection instruction to the NFC tag;
S103,接收NFC标签基于场强检测指令返回的场强信息,场强信息包括NFC标签从NFC终端接收到的电磁场的当前磁场强度;S103, receiving the field strength information returned by the NFC tag based on the field strength detection instruction, where the field strength information includes the current magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal;
S104,判断当前磁场强度是否达到阈值,若是,则执行步骤S105,若否,则返回步骤S102或步骤S103;S104, determine whether the current magnetic field strength reaches the threshold, if so, execute step S105, if not, return to step S102 or step S103;
S105,确认NFC终端与NFC标签精准对位。S105, confirming that the NFC terminal and the NFC tag are precisely aligned.
NFC通常具有三种工作模式,包括读卡器模式(Reader/writer mode)、仿真卡模式(Card Emulation Mode)和点对点模式(P2P mode)。其中,对于读卡器模式,本质上就是通过支持NFC的终端从NFC标签中读写信息。通常,NFC标签是不需要外部供电的。当NFC终端向NFC标签读写数据时,会向NFC标签发送电磁场并且通过电磁场的能量向NFC标签供电,以实现NFC终端和NFC标签二者之间的近场通信连接。NFC usually has three working modes, including card reader mode (Reader/writer mode), emulation card mode (Card Emulation Mode) and peer-to-peer mode (P2P mode). Among them, for the card reader mode, it is essentially to read and write information from the NFC tag through a terminal that supports NFC. Usually, NFC tags do not need external power supply. When the NFC terminal reads and writes data to the NFC tag, it sends an electromagnetic field to the NFC tag and supplies power to the NFC tag through the energy of the electromagnetic field, so as to realize the near field communication connection between the NFC terminal and the NFC tag.
在一些实施例中,NFC终端可以是集成了NFC读卡器模式的智能手机、智能手环等智能终端设备。In some embodiments, the NFC terminal may be a smart terminal device such as a smart phone and a smart bracelet integrated with an NFC card reader mode.
在一些实施例中,NFC标签可以集成于无源设备中,例如,集成于无源电子锁具、或无源电子墨水屏中。In some embodiments, NFC tags may be integrated into passive devices, eg, passive electronic locks, or passive e-ink screens.
在另一些实施例中,NFC标签也可以作为独立的设备使用。In other embodiments, the NFC tag can also be used as a stand-alone device.
在具体实施中,NFC终端可以靠近NFC标签并且发出电磁场,当NFC终端与NFC标签之间的距离不大于NFC的感应距离时,NFC标签能够接收到NFC终端发出的电磁场并且与NFC终端建立近场通信连接。In a specific implementation, the NFC terminal can approach the NFC tag and emit an electromagnetic field. When the distance between the NFC terminal and the NFC tag is not greater than the sensing distance of the NFC, the NFC tag can receive the electromagnetic field sent by the NFC terminal and establish a near field with the NFC terminal. communication connection.
在一些实施例中,NFC终端还可以发出寻卡指令,NFC标签在与NFC终端建立近场通信连接后可以接收到该寻卡指令,并且向NFC终端返回响应信息,以提示NFC终端其已与NFC标签建立近场通信连接。In some embodiments, the NFC terminal may also issue a card finding instruction, and the NFC tag may receive the card finding instruction after establishing a near field communication connection with the NFC terminal, and return response information to the NFC terminal to prompt the NFC terminal that it has contacted the NFC terminal. NFC tags establish a near field communication connection.
在另一些实施例中,当NFC终端发出寻卡指令后,在一定时间内都接收不到任何响应信息,这可能是由于NFC终端与NFC标签之间的距离较远并且大于NFC的感应距离导致的。在此情形下,可以适当地移动NFC终端使其进一步靠近NFC标签,进而使得NFC终端和NFC标签之间的距离位于NFC的感应距离范围内,从而使得NFC终端和NFC标签之间可以建立近场通信连接。In other embodiments, after the NFC terminal sends out a card search command, no response information is received within a certain period of time, which may be due to the long distance between the NFC terminal and the NFC tag and greater than the sensing distance of the NFC. of. In this case, the NFC terminal can be appropriately moved closer to the NFC tag, so that the distance between the NFC terminal and the NFC tag is within the sensing distance of the NFC, so that a near field can be established between the NFC terminal and the NFC tag communication connection.
NFC终端在与NFC标签建立近场通信连接后,可以向NFC标签发送场强检测指令;NFC标签在接收到场强检测指令后会向NFC终端返回场强信息,场强信息包括NFC标签从NFC终端接收到的电磁场的当前磁场强度;NFC终端在接收到场强信息后,判断当前磁场强度是否达到阈值。After the NFC terminal establishes a near-field communication connection with the NFC tag, it can send a field strength detection instruction to the NFC tag; after receiving the field strength detection instruction, the NFC tag will return the field strength information to the NFC terminal. The field strength information includes the NFC tag from the NFC tag. The current magnetic field strength of the electromagnetic field received by the terminal; after receiving the field strength information, the NFC terminal determines whether the current magnetic field strength reaches the threshold.
在本发明的实施例中,NFC终端与NFC标签之间的相对位置关系是可以变化的。In the embodiment of the present invention, the relative positional relationship between the NFC terminal and the NFC tag can be changed.
在一些实施例中,NFC标签,尤其是集成于无源设备中的NFC标签,可以固定于某一位置不变;而由用户持有的NFC终端可以随时变化其位置,并且由此导致NFC终端与NFC标签之间的相对位置关系发生变化。In some embodiments, NFC tags, especially NFC tags integrated in passive devices, can be fixed in a certain position; while an NFC terminal held by a user can change its position at any time, and thus cause an NFC terminal The relative positional relationship with the NFC tag changes.
由于,在NFC终端与NFC标签之间的相对位置关系发生变化时,NFC标签从NFC终端接收到的电磁场的磁场强度会随着二者之间的相对位置关系发生变化。因此,NFC标签向NFC终端发送的场强信息中包括的当前磁场强度为NFC标签基于当前与NFC终端的相对位置关系而接收到的电磁场的磁场强度,该磁场强度会随着NFC终端与NFC标签之间的相对位置关系的变化而变化。Because, when the relative positional relationship between the NFC terminal and the NFC tag changes, the magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal will change with the relative positional relationship between the two. Therefore, the current magnetic field strength included in the field strength information sent by the NFC tag to the NFC terminal is the magnetic field strength of the electromagnetic field received by the NFC tag based on the current relative positional relationship with the NFC terminal. The relative positional relationship between them varies.
在当前磁场强度达到阈值时,可以确认NFC终端与NFC标签精准对位。此时,NFC标签从NFC终端接收到的电磁场的能量较强。When the current magnetic field strength reaches the threshold, it can be confirmed that the NFC terminal and the NFC tag are precisely aligned. At this time, the energy of the electromagnetic field received by the NFC tag from the NFC terminal is strong.
在一些实施例中,当确认NFC终端与NFC标签精准对位时,可以通过NFC终端的用户界面提供相应的确认信息,以提醒持有该NFC终端的用户,此时NFC终端与NFC标签已精准对位。In some embodiments, when it is confirmed that the NFC terminal and the NFC tag are precisely aligned, corresponding confirmation information can be provided through the user interface of the NFC terminal to remind the user holding the NFC terminal that the NFC terminal and the NFC tag are accurately aligned at this time. Counterpoint.
在一些实施例中,在当前磁场强度没有达到阈值时,即NFC终端与NFC标签没有精准对位时,也可以通过NFC终端的用户界面提供相应的提示信息,以提醒持有该NFC终端的用户,此时NFC终端与NFC标签没有精准对位。In some embodiments, when the current magnetic field strength does not reach the threshold, that is, when the NFC terminal and the NFC tag are not accurately aligned, corresponding prompt information can also be provided through the user interface of the NFC terminal to remind the user holding the NFC terminal. , at this time, the NFC terminal and the NFC tag are not precisely aligned.
在本发明的实施例中,若当前磁场强度没有达到阈值,可以返回执行步骤S102或步骤S103。In the embodiment of the present invention, if the current magnetic field strength does not reach the threshold value, it is possible to return to step S102 or step S103.
在一些实施例中,NFC终端可以持续向NFC标签发送场强检测指令,此种情形下,若当前磁场强度没有达到阈值,可以返回执行步骤S103,即再次接收NFC标签基于场强检测指令返回的场强信息。NFC终端再次接收到场强信息后,继续执行S104,即再次判断当前磁场强度是否达到阈值。如此,反复循环步骤S103和步骤S104,直至当前磁场强度达到阈值时确认NFC终端与NFC标签精准对位。In some embodiments, the NFC terminal can continue to send the field strength detection instruction to the NFC tag. In this case, if the current magnetic field strength does not reach the threshold, it can return to step S103, that is, receive the NFC tag again based on the field strength detection instruction. Field strength information. After the NFC terminal receives the field strength information again, it continues to execute S104, that is, it is judged again whether the current magnetic field strength reaches the threshold value. In this way, steps S103 and S104 are repeated repeatedly until the current magnetic field strength reaches the threshold, and it is confirmed that the NFC terminal and the NFC tag are precisely aligned.
在另一些实施例中,NFC终端不会持续向NFC标签发送场强检测指令,并且NFC标签在接收到NFC终端发送的场强检测指令时才会向NFC终端返回场强信息,此种情形下,若当前磁场强度没有达到阈值,可以返回执行步骤S102,即NFC终端再次向NFC标签发送场强检测指令。NFC标签在接收到NFC终端再次发送的场强检测指令时再向NFC终端返回场强信息。NFC终端再次接收到场强信息(即步骤S103)后,继续执行S104,即再次判断当前磁场强度是否达到阈值。如此,反复循环步骤S102至步骤S104,直至当前磁场强度达到阈值时确认NFC终端与NFC标签精准对位。In other embodiments, the NFC terminal will not continuously send the field strength detection command to the NFC tag, and the NFC tag will only return the field strength information to the NFC terminal when it receives the field strength detection command sent by the NFC terminal. , if the current magnetic field strength does not reach the threshold, the process may return to step S102, that is, the NFC terminal sends a field strength detection instruction to the NFC tag again. The NFC tag returns the field strength information to the NFC terminal when it receives the field strength detection instruction sent again by the NFC terminal. After the NFC terminal receives the field strength information again (ie, step S103 ), it continues to execute S104 , that is, it is judged again whether the current magnetic field strength reaches the threshold value. In this way, steps S102 to S104 are repeated repeatedly until the current magnetic field strength reaches the threshold, and it is confirmed that the NFC terminal and the NFC tag are precisely aligned.
在本发明的实施例中,当NFC终端与NFC标签的相对位置关系不变时,NFC标签从NFC终端接收的电磁场的磁场强度是不变的,只有NFC终端与NFC标签之间的相对位置关系发生变化,NFC标签从NFC终端接收的电磁场的磁场强度才会变化。In the embodiment of the present invention, when the relative positional relationship between the NFC terminal and the NFC tag is unchanged, the magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal is unchanged, and only the relative positional relationship between the NFC terminal and the NFC tag is the same. The magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal changes only when the change occurs.
在一些较优的实施例中,NFC标签,尤其是集成于无源电子锁具或无源电子墨水屏中的NFC标签,其位置可能是固定不变的。此时,可以通过检测NFC终端的位置变化来判断NFC终端与NFC标签之间的相对位置关系是否发送变化。具体而言,可以通过检测NFC终端是否执行了一定的动作来判断其位置是否发生变化。In some preferred embodiments, the position of the NFC tag, especially the NFC tag integrated in a passive electronic lock or passive electronic ink screen, may be fixed. At this time, it can be determined whether the relative positional relationship between the NFC terminal and the NFC tag changes by detecting the position change of the NFC terminal. Specifically, it can be determined whether the position of the NFC terminal has changed by detecting whether the NFC terminal performs a certain action.
在本发明的实施例中,步骤S104中所述返回步骤S102或步骤S103可以具体包括:In the embodiment of the present invention, the returning to step S102 or step S103 in step S104 may specifically include:
S106,检测第一动作;S106, detecting the first action;
S107,响应于第一动作而返回步骤S102或步骤S103。S107, returning to step S102 or step S103 in response to the first action.
在具体实施中,NFC终端中可以设置有位置传感器等感测器件,用于检测NFC终端是否发生了位置变化。当NFC终端的位置发生变化时,其必然由于执行了一定的动作而导致位置的变化。因此,可以通过检测NFC终端的位置变化来检测NFC终端是否执行了一定的动作。In a specific implementation, a sensing device such as a position sensor may be provided in the NFC terminal to detect whether the position of the NFC terminal changes. When the location of the NFC terminal changes, the location must change due to certain actions being performed. Therefore, it can be detected whether the NFC terminal performs a certain action by detecting the position change of the NFC terminal.
在本发明的实施例中,该动作在当前磁场强度没有达到阈值,即NFC终端与NFC标签没有精准对位时产生。为了便于描述,可以将该动作称为第一动作。In the embodiment of the present invention, the action is generated when the current magnetic field strength does not reach the threshold, that is, when the NFC terminal and the NFC tag are not accurately aligned. For convenience of description, this action may be referred to as a first action.
具体而言,第一动作可以是持有NFC终端的用户在NFC终端与NFC标签没有精准对位时,通过操作NFC终端移动而使NFC终端执行的动作。例如,用户可以操作NFC终端而使其执行向右移动的动作。Specifically, the first action may be an action performed by the user holding the NFC terminal by operating the NFC terminal to move when the NFC terminal and the NFC tag are not precisely aligned. For example, the user may operate the NFC terminal to perform a rightward movement.
在具体实施中,可以通过检测NFC终端是否执行了第一动作,并且在检测到第一动作时响应于第一动作而返回执行步骤S102或步骤103。In a specific implementation, it is possible to detect whether the NFC terminal performs the first action, and when the first action is detected, return to step S102 or step 103 in response to the first action.
具体而言,当检测到NFC终端执行了第一动作时,表示NFC终端的位置发生了变化,NFC终端与NFC标签之间的相对位置关系也发生了变化,此时,NFC标签从NFC终端接收到的电磁场的磁场强度也发生了变化,需要重新获取NFC标签从NFC终端接收到的电磁场的当前磁场强度。因此,可以响应于第一动作而返回执行步骤S102或步骤103。Specifically, when it is detected that the NFC terminal performs the first action, it means that the position of the NFC terminal has changed, and the relative positional relationship between the NFC terminal and the NFC tag has also changed. The magnetic field strength of the received electromagnetic field also changes, and it is necessary to re-acquire the current magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal. Therefore, the execution of step S102 or step 103 may be returned to in response to the first action.
在具体实施中,虽然NFC终端因执行第一动作而导致其与NFC标签之间的相对位置关系发生变化,但此时,NFC标签从NFC终端接收到的电磁场的磁场强度并不一定达到阈值。在此情形下,NFC终端与NFC标签之间仍然没有精准对位。In a specific implementation, although the relative positional relationship between the NFC terminal and the NFC tag changes due to the execution of the first action, at this time, the magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal does not necessarily reach a threshold. In this case, there is still no precise alignment between the NFC terminal and the NFC tag.
在本发明的实施例中,步骤S107中响应于第一动作而返回步骤S102或步骤S103可以包括:In this embodiment of the present invention, returning to step S102 or step S103 in response to the first action in step S107 may include:
S108,响应于第一动作而提供相应的提示信息;S108, providing corresponding prompt information in response to the first action;
S109,检测第二动作;S109, detect the second action;
S110,响应于第二动作而返回步骤S102或步骤S103。S110, returning to step S102 or step S103 in response to the second action.
在具体实施中,用户操作NFC终端移动而使其执行的第一动作通常为短时间内的连续动作。例如,当用户操作NFC终端而使其执行向右移动的动作时,NFC终端会执行一段距离的向右移动。In a specific implementation, the first action performed by the user by operating the NFC terminal to move is usually a short-term continuous action. For example, when the user operates the NFC terminal to make it move to the right, the NFC terminal will move to the right for a certain distance.
由此,NFC终端在执行第一动作(例如,向右移动)的过程中,其位置会发生连续的变化,其与NFC标签之间的相对位置关系也会连接变化。相应地,NFC标签从NFC终端接收到的电磁场的当前磁场强度也会连续变化。Therefore, during the process of performing the first action (for example, moving to the right), the position of the NFC terminal will change continuously, and the relative positional relationship between the NFC terminal and the NFC tag will also change continuously. Accordingly, the current magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal also changes continuously.
在具体实施中,NFC终端可以响应于第一动作而提供相应的提示信息。由于,NFC终端在执行第一动作(例如,向右移动)的过程中,NFC标签从NFC终端接收到的电磁场的当前磁场强度会连续变化,因此,该提示信息可以基于执行第一动作时NFC标签接收到的电磁场的当前磁场强度的变化产生。In a specific implementation, the NFC terminal may provide corresponding prompt information in response to the first action. Since the current magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal will change continuously during the process of the NFC terminal performing the first action (for example, moving to the right), the prompt information can be based on the NFC when the first action is performed. A change in the current magnetic field strength of the electromagnetic field received by the tag results.
例如,当用户操作NFC终端而使其执行向右移动的动作时,若在此过程中NFC标签从NFC终端接收到的电磁场的当前磁场强度逐渐增大,则可以提供继续向右移动的提示信息,若在此过程中NFC标签从NFC终端接收到的电磁场的当前磁场强度逐渐减小,则可以提供向左移动(即与当前动作相反的方向)的提示信息。For example, when the user operates the NFC terminal to make it move to the right, if the current magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal gradually increases during this process, a prompt message for continuing to move to the right can be provided. , if the current magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal gradually decreases during this process, prompt information for moving to the left (ie, in the opposite direction to the current action) can be provided.
具体而言,该提示信息可以包括显示于NFC终端的用户界面的方向标识、数字标识、和/或颜色标识等。其中,方向标识可以包括用于指示具体方向的箭头标识等;数字标识可以直接显示当前磁场强度的具体数值;颜色标识可以包括颜色逐渐变化的色带标识,例如,从浅绿色向深绿色逐渐变化的绿色色带,当用户操作NFC终端而使其执行向右移动的动作时,若NFC标签从NFC终端接收到的电磁场的当前磁场强度逐渐增大,绿色色带的颜色可以逐渐变深,若NFC标签从NFC终端接收到的电磁场的当前磁场强度逐渐减小,绿色色带的颜色可以逐渐变浅。Specifically, the prompt information may include a direction identification, a digital identification, and/or a color identification, etc. displayed on the user interface of the NFC terminal. Wherein, the direction identification may include an arrow identification for indicating a specific direction, etc.; the digital identification may directly display the specific value of the current magnetic field strength; When the user operates the NFC terminal to move to the right, if the current magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal gradually increases, the color of the green ribbon can gradually become darker. The current magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal gradually decreases, and the color of the green ribbon can gradually become lighter.
在具体实施中,第二动作基于提示信息而产生。具体而言,当持有NFC终端的用户看到显示于用户界面上的提示信息后,可以基于该提示信息操作NFC终端移动而使其执行第二动作。In a specific implementation, the second action is generated based on the prompt information. Specifically, when the user holding the NFC terminal sees the prompt information displayed on the user interface, he can operate the NFC terminal to move based on the prompt information to make it perform the second action.
当NFC终端基于提示信息执行第二动作时,NFC终端的位置会发生变化,NFC终端与NFC标签之间的相对位置关系也会发生变化。相应地,NFC标签从NFC终端接收到的电磁场的当前磁场强度也在变化,而且当前磁场强度会朝着阈值靠近,以使NFC终端与NFC标签能够尽快精准对位。When the NFC terminal performs the second action based on the prompt information, the position of the NFC terminal will change, and the relative positional relationship between the NFC terminal and the NFC tag will also change. Correspondingly, the current magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal is also changing, and the current magnetic field strength will approach the threshold, so that the NFC terminal and the NFC tag can be accurately aligned as soon as possible.
在本发明的实施例中,步骤S105之后,即确认NFC终端与NFC标签精准对位之后可以包括:In the embodiment of the present invention, after step S105, that is, after confirming the precise alignment of the NFC terminal and the NFC tag, the following steps may be included:
S111,向NFC标签发送执行指令,以使NFC标签基于精准对位时接收到的电磁场的能量执行相应的驱动操作。S111 , sending an execution instruction to the NFC tag, so that the NFC tag performs a corresponding driving operation based on the energy of the electromagnetic field received during precise alignment.
在具体实施中,阈值为NFC标签从NFC终端接收到的、能够为执行相应的驱动操作提供足够的驱动能量的电磁场所对应的最小磁场强度。In a specific implementation, the threshold value is the minimum magnetic field strength corresponding to the electromagnetic field received by the NFC tag from the NFC terminal and capable of providing sufficient driving energy for performing the corresponding driving operation.
在具体实施中,NFC标签基于精准对位时接收到的电磁场的能量可以至少部分地作为驱动能量用于驱动相应的操作。In a specific implementation, the energy of the electromagnetic field received by the NFC tag based on the precise alignment can be at least partially used as driving energy for driving corresponding operations.
具体而言,当NFC标签集成于NFC无源电子锁具或NFC无源电子墨水屏中时,执行指令包括NFC无源电子锁具的开锁指令、或NFC无源电子墨水屏的刷新指令。NFC标签基于精准对位时接收到的电磁场的能量可以至少部分地作为驱动能量用于驱动NFC无源电子锁具开锁、或驱动NFC无源电子墨水屏刷新显示内容。Specifically, when the NFC tag is integrated into the NFC passive electronic lock or the NFC passive electronic ink screen, the execution instruction includes an unlock instruction of the NFC passive electronic lock or a refresh instruction of the NFC passive electronic ink screen. The energy of the electromagnetic field received by the NFC tag based on precise alignment can be at least partially used as driving energy to drive the NFC passive electronic lock to unlock, or to drive the NFC passive electronic ink screen to refresh the display content.
参照图3,本发明的实施例提供的一种可应用于NFC标签的NFC精准对位的方法200包括:Referring to FIG. 3 , a
S201,接收NFC终端发送的电磁场并且与其建立近场通信连接;S201, receiving the electromagnetic field sent by the NFC terminal and establishing a near-field communication connection with it;
S202,接收NFC终端发送的场强检测指令;S202, receiving the field strength detection instruction sent by the NFC terminal;
S203,获取从NFC终端接收到的电磁场的当前磁场强度;S203, obtaining the current magnetic field intensity of the electromagnetic field received from the NFC terminal;
S204,向NFC终端发送包含当前磁场强度的场强信息,以通过NFC终端判断当前磁场强度是否达到阈值,在达到阈值时NFC终端与NFC标签精准对位。S204: Send field strength information including the current magnetic field strength to the NFC terminal, so as to determine whether the current magnetic field strength reaches a threshold through the NFC terminal, and when the threshold is reached, the NFC terminal and the NFC tag are precisely aligned.
在具体实施中,NFC终端可以靠近NFC标签并且发出电磁场,当NFC终端与NFC标签之间的距离不大于NFC的感应距离时,NFC标签能够接收到NFC终端发出的电磁场并且与NFC终端建立近场通信连接。In a specific implementation, the NFC terminal can approach the NFC tag and emit an electromagnetic field. When the distance between the NFC terminal and the NFC tag is not greater than the sensing distance of the NFC, the NFC tag can receive the electromagnetic field sent by the NFC terminal and establish a near field with the NFC terminal. communication connection.
当NFC终端与NFC标签建立近场通信连接后,NFC终端向NFC标签发送场强检测指令;NFC标签在接收到场强检测指令后,获取从NFC终端接收到的电磁场的当前磁场强度,并且将包括当前磁场强度的场强信息返回给NFC终端,以通过NFC终端判断当前磁场强度是否达到阈值,在达到阈值时NFC终端与NFC标签精准对位。After the NFC terminal establishes a near-field communication connection with the NFC tag, the NFC terminal sends a field strength detection instruction to the NFC tag; after receiving the field strength detection instruction, the NFC tag obtains the current magnetic field strength of the electromagnetic field received from the NFC terminal, and sends the The field strength information including the current magnetic field strength is returned to the NFC terminal, so that the NFC terminal can judge whether the current magnetic field strength reaches the threshold value, and when the threshold value is reached, the NFC terminal and the NFC tag are precisely aligned.
在没有达到阈值时,NFC标签会持续或再次接收到NFC终端发送的场强检测指令。当持续或再次接收到场强检测指令后,NFC标签会再次获取从NFC终端接收到的电磁场的当前磁场强度,并且返回给NFC终端,直至NFC终端与NFC标签精准对位。When the threshold is not reached, the NFC tag will continue or receive the field strength detection command sent by the NFC terminal again. When the field strength detection command is received continuously or again, the NFC tag will obtain the current magnetic field strength of the electromagnetic field received from the NFC terminal again, and return it to the NFC terminal until the NFC terminal and the NFC tag are precisely aligned.
在本发明的实施例中,NFC标签设置有过压保护电路(例如,可以是钳位电路)和整流电路。NFC标签可以将其从NFC终端接收到的电磁场的能量直接输送至过压保护电路或整流电路中。In the embodiment of the present invention, the NFC tag is provided with an overvoltage protection circuit (for example, a clamping circuit) and a rectification circuit. The NFC tag can directly transmit the energy of the electromagnetic field it receives from the NFC terminal to the overvoltage protection circuit or the rectification circuit.
在一些实施例中,可以通过检测过压保护电路中的电流,并且基于该电流得到NFC标签从NFC终端接收到的电磁场的当前磁场强度。具体而言,所述电流为过压保护电路中的输入电流。In some embodiments, the current in the overvoltage protection circuit can be detected, and the current magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal can be obtained based on the current. Specifically, the current is the input current in the overvoltage protection circuit.
在另一些实施例中,可以通过检测整流电路中的电压,并且基于该电压得到NFC标签从NFC终端接收到的电磁场的当前磁场强度。具体而言,所述电压为整流电路中的输出电压。In other embodiments, the current magnetic field strength of the electromagnetic field received by the NFC tag from the NFC terminal can be obtained by detecting the voltage in the rectifier circuit and based on the voltage. Specifically, the voltage is the output voltage in the rectifier circuit.
在具体实施中,可以预先标定过压保护电路中的输入电流或整流电路中的输出电压与磁场强度的对应关系,并且基于相应的对应关系以及检测得到的电流或电压换算出与该电流或电压所对应的当前磁场强度。In a specific implementation, the input current in the overvoltage protection circuit or the corresponding relationship between the output voltage in the rectifier circuit and the magnetic field strength can be pre-calibrated, and based on the corresponding corresponding relationship and the detected current or voltage, the current or voltage can be converted to the corresponding relationship with the current or voltage. The corresponding current magnetic field strength.
对于过压保护电路中的电流或整流电路中的电压与磁场强度的对应关系的标定,可以采用本领域中的常规技术手段实现,此处不再赘述。The calibration of the corresponding relationship between the current in the overvoltage protection circuit or the voltage in the rectifier circuit and the magnetic field strength can be achieved by using conventional technical means in the art, and details are not described here.
在本发明的实施例中,当NFC终端确认其与NFC标签精准对位时,可以向NFC标签发送相应的执行指令,以使NFC标签基于该执行指令完成相应的执行操作。尤其是,当NFC标签集成于无源设备(例如,无源电子锁具或无源电子墨水屏)中时,可以使NFC标签执行驱动无源设备的操作。In the embodiment of the present invention, when the NFC terminal confirms that it is precisely aligned with the NFC tag, it can send a corresponding execution instruction to the NFC tag, so that the NFC tag completes the corresponding execution operation based on the execution instruction. In particular, when the NFC tag is integrated in a passive device (eg, a passive electronic lock or a passive e-ink screen), the NFC tag can be made to perform the operation of driving the passive device.
具体而言,该可应用于NFC标签的NFC精准对位的方法200还可以包括:Specifically, the
S205,接收NFC终端发送执行指令;S205, receiving the execution instruction sent by the NFC terminal;
S206,基于精准对位时接收到的电磁场的能量执行相应的驱动操作。S206, a corresponding driving operation is performed based on the energy of the electromagnetic field received during the precise alignment.
在具体实施中,NFC标签基于精准对位时接收到的电磁场的能量可以至少部分地作为驱动能量用于驱动相应的操作。In a specific implementation, the energy of the electromagnetic field received by the NFC tag based on the precise alignment can be at least partially used as driving energy for driving corresponding operations.
在一些实施例中,NFC标签可以与无源设备连接。例如,NFC标签可以与无源电子锁具或无源电子墨水屏连接。In some embodiments, the NFC tag can be connected to a passive device. For example, NFC tags can be connected to passive electronic locks or passive e-ink screens.
在另一些实施例中,NFC标签可以集成于无源设备中。例如,NFC标签可以集成于NFC无源电子锁具或NFC无源电子墨水屏中。In other embodiments, the NFC tag may be integrated into a passive device. For example, NFC tags can be integrated into NFC passive electronic locks or NFC passive electronic ink screens.
进一步地,NFC标签可以利用其获得的驱动能量驱动无源设备工作。例如,驱动NFC无源电子锁具的开锁、或驱动NFC无源电子墨水屏的刷新显示内容。Further, the NFC tag can use the driving energy obtained by the NFC tag to drive the passive device to work. For example, driving the unlocking of NFC passive electronic locks, or driving the refresh display content of NFC passive electronic ink screens.
在具体实施中,NFC标签所获得的驱动能量可以先转化为电能,并且通过该电能作为无源设备的动力,以驱动相应的操作。In a specific implementation, the driving energy obtained by the NFC tag can be converted into electrical energy first, and the electrical energy is used as the power of the passive device to drive the corresponding operation.
本发明的实施例还提供一种NFC精准对位的装置,其包括存储器和处理器,存储器上保存有可在处理器上运行的计算机指令,处理器运行计算机指令时执行本发明的实施例提供的上述可应用于NFC终端或NFC标签的NFC精准对位的方法的步骤。An embodiment of the present invention also provides an NFC precise alignment device, which includes a memory and a processor, wherein the memory stores computer instructions that can be run on the processor, and the processor executes the computer instructions provided by the embodiments of the present invention when running the computer instructions. The above steps can be applied to the NFC accurate alignment method of an NFC terminal or an NFC tag.
本发明的实施例还提供一种存储介质,其上保存有计算机指令,计算机指令运行时执行本发明的实施例提供的上述可应用于NFC终端或NFC标签的NFC精准对位的方法的步骤。Embodiments of the present invention further provide a storage medium on which computer instructions are stored, and when the computer instructions run, the steps of the above-mentioned NFC accurate alignment method applicable to NFC terminals or NFC tags provided by the embodiments of the present invention are executed.
参照图4,本发明的实施例提供的一种NFC终端300包括第一NFC天线310、第一通信模块320和第一处理模块330。4 , an
在具体实施中,第一NFC天线310适于向NFC标签发送电磁场;第一通信模块320与第一NFC天线310连接,并且适于与NFC标签建立近场通信连接、向NFC标签发送场强检测指令、以及接收NFC标签返回的场强信息,场强信息包括NFC标签从NFC终端接收到的电磁场的当前磁场强度;第一处理模块330与第一通信模块320连接,并且适于判断当前磁场强度是否达到阈值,并且在达到时确认NFC终端与NFC标签精准对位。In a specific implementation, the
进一步地,NFC终端300还包括动作检测模块。检测模块动作适于检测NFC终端执行的第一动作;第一通信模块320与动作检测模块连接,并且适于响应于第一动作而向NFC标签发送场强检测指令以及接收NFC标签返回的场强信息。Further, the
在一些实施例中,动作检测模块可以包括位置传感器,并且通过位置传感器感测NFC终端所执行的第一动作。In some embodiments, the motion detection module may include a position sensor, and the first motion performed by the NFC terminal is sensed by the position sensor.
进一步地,NFC终端300还包括提示模块。提示模块与动作检测模块连接,并且适于响应于第一动作而提供相应的提示信息;动作检测模块还适于检测NFC终端执行的第二动作,第二动作基于提示信息而产生;第一通信模块320还适于响应于第二动作而向NFC标签发送场强检测指令以及接收NFC标签返回的场强信息。Further, the
在一些实施例中,提示模块适于基于执行第一动作时接收到的电磁场的当前磁场强度的变化而产生提示信息。In some embodiments, the prompt module is adapted to generate prompt information based on a change in the current magnetic field strength of the electromagnetic field received when the first action is performed.
进一步地,NFC终端300还包括用户界面。提示信息可以包括显示于NFC终端的用户界面的方向标识、数字标识、和/或颜色标识等。Further, the
进一步地,第一通信模块320还适于在确认NFC终端与NFC标签精准对位时向NFC标签发送执行指令,以使NFC标签基于精准对位时接收到的电磁场的能量执行相应的驱动操作;其中,NFC标签基于精准对位时接收到的电磁场的能量至少部分地作为驱动能量用于驱动相应的操作。Further, the first communication module 320 is also adapted to send an execution instruction to the NFC tag when the precise alignment of the NFC terminal and the NFC tag is confirmed, so that the NFC tag performs a corresponding driving operation based on the energy of the electromagnetic field received during the precise alignment; Wherein, the energy of the electromagnetic field received by the NFC tag based on the precise alignment is at least partially used as driving energy for driving corresponding operations.
参照图5,本发明的实施例提供的一种NFC标签400包括第二NFC天线410、第二通信模块420和场强检测模块430。5 , an
在具体实施中,第二NFC天线410适于接收NFC终端发送的电磁场;场强检测模块430适于检测接收到的电磁场的当前磁场强度;第二通信模块420分别与第二NFC天线410、场强检测模块430连接,并且适于接收NFC终端发送的场强检测指令、以及向NFC终端发送包含当前磁场强度的场强信息,以通过NFC终端判断当前磁场强度是否达到阈值,在达到阈值时NFC终端与NFC标签精准对位。In a specific implementation, the
参照图6,NFC标签400还包括过压保护电路440和整流电路450。Referring to FIG. 6 , the
在具体实施中,第二NFC天线410可以将其接收到的、来自于NFC终端300的电磁场的能量直接输送至过压保护电路440或整流电路450中。在一些实施例中,第二NFC天线410可以依次与过压保护电路440、整流电路450连接。在另一些实施例中,第二NFC天线410也可以依次与整流电路450、过压保护电路440连接。In a specific implementation, the
在本发明的实施例中,过压保护电路440用于释放NFC标签400接收到的、多余的电磁场能量,以避免损伤NFC标签400的电路。整流电路450用于对NFC标签400接收到的电磁场能量进行整流和稳压处理。In the embodiment of the present invention, the overvoltage protection circuit 440 is used to release the excess electromagnetic field energy received by the
在本发明的实施例中,场强检测模块430可以用于采集过压保护电路440的电流或整流电路450的电压、以及基于采集到的电流或电压得到当前磁场强度。In the embodiment of the present invention, the field strength detection module 430 may be used to collect the current of the overvoltage protection circuit 440 or the voltage of the rectifier circuit 450, and obtain the current magnetic field strength based on the collected current or voltage.
在具体实施中,可以预先标定过压保护电路440中的电流或整流电路450中的电压与磁场强度的对应关系并预存于NFC标签中。In a specific implementation, the current in the overvoltage protection circuit 440 or the corresponding relationship between the voltage in the rectifier circuit 450 and the magnetic field strength can be pre-calibrated and pre-stored in the NFC tag.
在一些较优的具体示例中,所述电流可以是过压保护电路440中的输入电路,所述电压可以是整理电路450中的输出电压。In some preferred specific examples, the current may be an input circuit in the overvoltage protection circuit 440 , and the voltage may be an output voltage in the sorting circuit 450 .
在具体实施中,场强检测模块430可以基于相应的对应关系以及采集到的输入电流或输出电压换算出与输入电流或输出电压对应的当前磁场强度。In a specific implementation, the field strength detection module 430 may convert the current magnetic field strength corresponding to the input current or output voltage based on the corresponding correspondence and the collected input current or output voltage.
对于标定过压保护电路中的电流或整流电路中的电压与磁场强度的对应关系,可以采用本领域中的常规技术手段实现,此处不再赘述。The calibration of the current in the overvoltage protection circuit or the corresponding relationship between the voltage in the rectifier circuit and the magnetic field strength can be achieved by using conventional technical means in the field, and details are not described herein again.
在一些实施例中,NFC标签400还包括第二处理模块460,其适于从场强检测模块430中获取当前磁场强度,并将当前磁场强度形成于场强信息中输出至第二通信模块420。In some embodiments, the
NFC标签400还包括与过压保护电路440或整流电路450连接的储能模块470。储能模块470用于接收并且储存过压保护电路440或整流电路450输送的、来自于电磁场的能量。具体而言,储能模块470可以是储能电容。The
在本发明的实施例中,第二通信模块420还适于接收NFC终端300发送执行指令。In the embodiment of the present invention, the second communication module 420 is further adapted to receive an execution instruction sent by the
在具体实施中,NFC标签400还可以包括与储能模块470连接的驱动模块480。驱动模块480用于基于精准对位时接收到的电磁场的能量执行相应的驱动操作。In a specific implementation, the
在具体实施中,NFC标签400基于精准对位时接收到的电磁场的能量可以储存于储能模块470中并且至少部分地作为驱动能量用于驱动相应的操作。In a specific implementation, the energy of the electromagnetic field received by the
在一些实施例中,NFC标签400可以与无源设备连接。例如,NFC标签400可以与无源电子锁具或无源电子墨水屏连接。In some embodiments, the
在另一些实施例中,NFC标签400可以集成于无源设备中。例如,NFC标签400可以集成于NFC无源电子锁具或NFC无源电子墨水屏中。In other embodiments, the
在具体实施中,驱动模块480可以利用储存于储能模块470中的驱动能量驱动无源设备工作。例如,驱动NFC无源电子锁具的开锁、或驱动NFC无源电子墨水屏的刷新显示的内容。In a specific implementation, the
在本发明的实施例中,NFC标签400从NFC终端300接收到的电磁场的能量除了可以用于驱动无源设备工作外,还可以驱动NFC标签400中的其他模块工作。例如,可以驱动第二通信模块420、第二处理模块460等工作。In the embodiment of the present invention, the energy of the electromagnetic field received by the
由于,NFC标签400中的其他模块工作所需的电压不同,因此,NFC标签400还包括电源管理模块490,其用于为NFC标签400中的其他模块分配相应的工作电压。Since other modules in the
当NFC标签400集成或连接于无源设备,并且用于为无源设备执行驱动操作时,NFC标签400还可以包括权限管理模块500。权限管理模块500适于在NFC标签400接收到执行指令时对相应的无源设备的身份进行认证,以确认该无源设备是否具备驱动权限。When the
具体而言,NFC标签400在接收到执行指令时,可以向相应的无源设备发送请求认证指令,以从该无源设备获取其身份信息。当NFC标签400接收到无源设备的身份信息时,可以通过权限管理模块500对其身份进行认证,以确认该无源设备是否具备驱动权限。Specifically, when receiving the execution instruction, the
在具体实施中,NFC标签400中可以预设具有驱动权限的无源设备的有效身份信息,在接收到无源设备发送的身份信息时,可以通过权限管理模块500将该身份信息与其中预设的有效身份信息进行比对,以确定该无源设备是否具备驱动权限。当比对一致时,确认该无源设备具备驱动权限,当比对一致时,确认该无源设备不具备驱动权限。当确认该无源设备不具备驱动权限时,NFC标签400不执行驱动操作。In a specific implementation, the
进一步地,NFC标签400还可以包括非易失性存储器510,其适于存储NFC标签400的ID信息、无源设备的有效身份信息、以及过压保护电路440中的输入电流或整流电路450中的输出电压与磁场强度的对应关系等。Further, the
尽管上文已经描述了具体实施方案,但这些实施方案并非要限制本发明公开的范围,即使仅相对于特定特征描述单个实施方案的情况下也是如此。本发明公开中提供的特征示例意在进行例示,而非限制,除非做出不同表述。在具体实施中,可根据实际需求,在技术上可行的情况下,将一项或者多项从属权利要求的技术特征与独立权利要求的技术特征进行组合,并可通过任何适当的方式而不是仅通过权利要求书中所列举的特定组合来组合来自相应独立权利要求的技术特征。Although specific embodiments have been described above, these embodiments are not intended to limit the scope of the present disclosure, even if only a single embodiment is described with respect to specific features. The examples of features provided in this disclosure are intended to be illustrative, not restrictive, unless stated otherwise. In the specific implementation, the technical features of one or more dependent claims and the technical features of the independent claims can be combined according to actual needs and technically feasible, and can be used in any appropriate way instead of only Features from the respective independent claims are combined by means of the specific combinations recited in the claims.
虽然本发明披露如上,但本发明并非限定于此。任何本领域技术人员,在不脱离本发明的精神和范围内,均可作各种更动与修改,因此本发明的保护范围应当以权利要求所限定的范围为准。Although the present invention is disclosed above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be based on the scope defined by the claims.
Claims (23)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011339871.8A CN114548129A (en) | 2020-11-25 | 2020-11-25 | NFC accurate alignment method, terminal, tag, device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011339871.8A CN114548129A (en) | 2020-11-25 | 2020-11-25 | NFC accurate alignment method, terminal, tag, device and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114548129A true CN114548129A (en) | 2022-05-27 |
Family
ID=81659493
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011339871.8A Withdrawn CN114548129A (en) | 2020-11-25 | 2020-11-25 | NFC accurate alignment method, terminal, tag, device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114548129A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115273760A (en) * | 2022-07-29 | 2022-11-01 | 京东方科技集团股份有限公司 | Screen refreshing method, device and equipment of electronic ink screen and storage medium |
| CN116647808A (en) * | 2023-06-26 | 2023-08-25 | 深圳市每开创新科技有限公司 | NFC alignment method, NFC control terminal and storage medium |
| WO2026010509A1 (en) * | 2024-07-04 | 2026-01-08 | One2Lock As | A locking system and a method for establishing connection between a mobile phone and a locking system |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101855781A (en) * | 2007-10-11 | 2010-10-06 | 3M创新有限公司 | RFID tag with modified dipole antenna |
| CN102039048A (en) * | 2009-10-16 | 2011-05-04 | Igt公司 | Shape control of magnetic fields for table games |
| CN102769483A (en) * | 2011-05-03 | 2012-11-07 | 国民技术股份有限公司 | Communication system and method |
| CN202523081U (en) * | 2011-12-29 | 2012-11-07 | 海能达通信股份有限公司 | RFID system, night patrol system, night patrol machine and label device |
| US20130084801A1 (en) * | 2011-09-30 | 2013-04-04 | Broadcom Corporation | Positioning Guidance for Increasing Reliability of Near-Field Communications |
| CN104137116A (en) * | 2012-02-27 | 2014-11-05 | 德国弗劳恩霍夫应用研究促进协会 | Apparatus and methods for powering transceiver tags |
| US20150278803A1 (en) * | 2014-03-28 | 2015-10-01 | Google Inc. | Near field communication field detection |
| CN106446739A (en) * | 2016-09-22 | 2017-02-22 | 飞天诚信科技股份有限公司 | Method and apparatus for self-adaptive gain adjustment |
| CN107111735A (en) * | 2015-01-08 | 2017-08-29 | Nec显示器解决方案株式会社 | Portable terminal, data communication system, data communications method and program |
| WO2017166366A1 (en) * | 2016-04-01 | 2017-10-05 | 王清斌 | Nfc communication system and method for optimizing energy acquisition and realizing small-size antenna |
| US20170337403A1 (en) * | 2014-10-29 | 2017-11-23 | Sharp Kabushiki Kaisha | Display apparatus, control program, image display system, information providing server, and information providing method |
-
2020
- 2020-11-25 CN CN202011339871.8A patent/CN114548129A/en not_active Withdrawn
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101855781A (en) * | 2007-10-11 | 2010-10-06 | 3M创新有限公司 | RFID tag with modified dipole antenna |
| CN102039048A (en) * | 2009-10-16 | 2011-05-04 | Igt公司 | Shape control of magnetic fields for table games |
| CN102769483A (en) * | 2011-05-03 | 2012-11-07 | 国民技术股份有限公司 | Communication system and method |
| US20130084801A1 (en) * | 2011-09-30 | 2013-04-04 | Broadcom Corporation | Positioning Guidance for Increasing Reliability of Near-Field Communications |
| CN202523081U (en) * | 2011-12-29 | 2012-11-07 | 海能达通信股份有限公司 | RFID system, night patrol system, night patrol machine and label device |
| CN104137116A (en) * | 2012-02-27 | 2014-11-05 | 德国弗劳恩霍夫应用研究促进协会 | Apparatus and methods for powering transceiver tags |
| US20150278803A1 (en) * | 2014-03-28 | 2015-10-01 | Google Inc. | Near field communication field detection |
| US20170337403A1 (en) * | 2014-10-29 | 2017-11-23 | Sharp Kabushiki Kaisha | Display apparatus, control program, image display system, information providing server, and information providing method |
| CN107111735A (en) * | 2015-01-08 | 2017-08-29 | Nec显示器解决方案株式会社 | Portable terminal, data communication system, data communications method and program |
| WO2017166366A1 (en) * | 2016-04-01 | 2017-10-05 | 王清斌 | Nfc communication system and method for optimizing energy acquisition and realizing small-size antenna |
| CN106446739A (en) * | 2016-09-22 | 2017-02-22 | 飞天诚信科技股份有限公司 | Method and apparatus for self-adaptive gain adjustment |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115273760A (en) * | 2022-07-29 | 2022-11-01 | 京东方科技集团股份有限公司 | Screen refreshing method, device and equipment of electronic ink screen and storage medium |
| CN116647808A (en) * | 2023-06-26 | 2023-08-25 | 深圳市每开创新科技有限公司 | NFC alignment method, NFC control terminal and storage medium |
| WO2026010509A1 (en) * | 2024-07-04 | 2026-01-08 | One2Lock As | A locking system and a method for establishing connection between a mobile phone and a locking system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8909138B2 (en) | Method for application selection in a wireless mobile communication device in an NFC system and a corresponding wireless mobile communication device | |
| US7471200B2 (en) | RFID optimized capability negotiation | |
| CN101799880B (en) | Information processing apparatus, information processing method, and information processing system | |
| CN114548129A (en) | NFC accurate alignment method, terminal, tag, device and storage medium | |
| KR20190054416A (en) | Wireless power transmission apparatus | |
| KR20130038553A (en) | Apparatus and method for recognizing location of object in location recognition system | |
| US11470222B2 (en) | Communication apparatus and control method for communication apparatus | |
| CN105592524A (en) | Method of connecting wireless access point by terminal, and corresponding terminal and corresponding wireless access point | |
| US20100240318A1 (en) | Mobile electronic device and control method of mobile electronic device | |
| KR101993959B1 (en) | Unificated Near Field Communication system using mobile, and the method therefor | |
| US9319883B2 (en) | Card device | |
| US10931519B2 (en) | Configuration of NFC routers for P2P communication | |
| US12282374B2 (en) | Electronic card | |
| KR101621127B1 (en) | Ic card, portable electronic device and reader/writer | |
| CN110969820B (en) | Measuring device, corresponding method and system | |
| JP2009080687A (en) | Contactless ic card measurement apparatus, contactless ic card measurement method and contactless ic card measurement program | |
| WO2018192820A1 (en) | Start and access system and related method | |
| KR20180106459A (en) | Smart card and method for activating card function | |
| US20260030473A1 (en) | Near-field communication method and device | |
| JP5062154B2 (en) | Portable terminal device and reader / writer device | |
| US20160072555A1 (en) | Mobile proximity coupling device | |
| CN118798223A (en) | RFID sensor chip sensing method and sensing control circuit | |
| KR20060062886A (en) | History management system of mobile communication terminal using RFID | |
| CN119906459A (en) | Near field communication method, near field communication circuit and electronic device | |
| KR20260010336A (en) | NFC Tag combination Reader and Communication method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WW01 | Invention patent application withdrawn after publication |
Application publication date: 20220527 |
|
| WW01 | Invention patent application withdrawn after publication |