WO2012155788A1 - Near field communication terminal having power-saving function - Google Patents

Near field communication terminal having power-saving function Download PDF

Info

Publication number
WO2012155788A1
WO2012155788A1 PCT/CN2012/074991 CN2012074991W WO2012155788A1 WO 2012155788 A1 WO2012155788 A1 WO 2012155788A1 CN 2012074991 W CN2012074991 W CN 2012074991W WO 2012155788 A1 WO2012155788 A1 WO 2012155788A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication terminal
short
range communication
distance sensor
distance
Prior art date
Application number
PCT/CN2012/074991
Other languages
French (fr)
Chinese (zh)
Inventor
王晓君
张帆
Original Assignee
惠州Tcl移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 惠州Tcl移动通信有限公司 filed Critical 惠州Tcl移动通信有限公司
Publication of WO2012155788A1 publication Critical patent/WO2012155788A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • 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

Definitions

  • the present invention relates to a short-range wireless communication terminal, and more particularly to a short-range communication terminal having a power saving function.
  • NFC Near Field Communication, short-range wireless communication technology has been compatible with existing contactless smart card technology, and has the characteristics of close distance, high bandwidth and low energy consumption. NFC provides easy, secure, fast and automatic communication between various devices, and is widely used in access control, public transportation, mobile payment and other fields.
  • NFC-enabled terminals With the convenience of mobile payment, there are more and more NFC-enabled terminals.
  • the NFC terminal When the NFC terminal is in the master mode, its NFC module is always in the active transmit state, resulting in additional power consumption, which additionally consumes battery power.
  • a short-range communication terminal having a power saving function including:
  • a distance sensor for detecting whether an NFC device is in close proximity to the short-range communication terminal, and detecting that an NFC device is in proximity to the short-range communication terminal, and detecting the NFC device communicating with the short-range communication Output an interrupt signal when the distance of the terminal reaches the threshold;
  • a baseband processor for activating the NFC module in the short-range communication terminal via an SPI bus or an I2C bus in response to the interrupt signal
  • the distance sensor and the NFC module are respectively connected to the baseband processor.
  • the distance sensor is provided with:
  • An anti-shake register configured to control the distance sensor to output an effective interrupt signal to the distance sensor when the distance sensor detects that the distance between the NFC device and the short-range communication terminal is within a threshold value Baseband processor.
  • the anti-shake register continuously detects that the distance between the NFC device and the short-range communication terminal is within a threshold value depends on the anti-shake
  • the anti-shake time of the register and the sampling interval of the analog-to-digital converter inside the distance sensor is 50 milliseconds.
  • the baseband processor is provided with:
  • the baseband processor is further configured to: after the timer reaches a timing time, read a current distance between the NFC device and the short-range communication terminal, and when the current distance is within a threshold value, The NFC module of the short-range communication terminal is activated.
  • the timing time is 100 milliseconds.
  • the threshold value is 10 cm.
  • a short-range communication terminal having a power saving function including:
  • a distance sensor for detecting whether an NFC device is close to the short-range communication terminal, and outputting an interrupt signal when detecting that a distance between the NFC device and the short-range communication terminal reaches a threshold value
  • a baseband processor for activating an NFC module in the short-range communication terminal in response to the interrupt signal
  • the distance sensor and the NFC module are respectively connected to the baseband processor.
  • the distance sensor is provided with an anti-shake register for detecting the NFC device and the short-range communication terminal repeatedly for the distance sensor When the distance is within the threshold value, the distance sensor is controlled to output an effective interrupt signal to the baseband processor.
  • the anti-shake register continuously detects that the distance between the NFC device and the short-range communication terminal is within a threshold value depends on the anti-shake register
  • the anti-shake time and the sampling interval of the analog-to-digital converter inside the distance sensor, the anti-shake time is 50 milliseconds.
  • the baseband processor is provided with a timer for timing when the baseband processor receives the interrupt signal output by the distance sensor;
  • the baseband processor is further configured to: after the timer reaches a timing time, read a current distance between the NFC device and the short-range communication terminal, and when the current distance is within a threshold value, The NFC module of the short-range communication terminal is activated.
  • the timing time is 100 milliseconds.
  • the threshold value is 10 cm.
  • the short-range communication terminal having the power-saving function provided by the embodiment of the present invention detects whether there is an NFC device paired with the short-range communication terminal by the distance sensor, and when the distance between the NFC device and the short-range communication terminal reaches a threshold value, The interrupt signal is output to the baseband processor, and the baseband processor activates the NFC module in the short-range communication terminal to implement the NFC function of the terminal after receiving the interrupt signal. However, when the baseband processor does not receive the interrupt signal, the NFC module processes power saving. The state saves battery power and extends battery life.
  • the short-distance communication terminal with the power-saving function provided by the embodiment of the invention prevents the baseband processor from being triggered by the anti-shake mechanism, and further improves the power-saving effect of the short-range communication terminal.
  • FIG. 1 is a structural block diagram of a preferred embodiment of a short-range communication terminal having a power saving function according to the present invention.
  • FIG. 2 is a structural block diagram of a short-range communication terminal according to a first preferred embodiment of the present invention.
  • FIG. 3 is a structural block diagram of a short-range communication terminal according to a second preferred embodiment of the present invention.
  • the present invention provides a short-range communication terminal having a power-saving function.
  • the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
  • a short-range communication terminal having a power-saving function has an NFC module capable of implementing a mobile payment function, and includes a distance sensor and a baseband processor, and the distance sensor is connected to a baseband processor.
  • the distance sensor is configured to detect in real time whether there is an NFC device paired with the short-range communication terminal, and output an interrupt signal to the baseband processor when the distance between the NFC device and the short-range communication terminal reaches a threshold.
  • the baseband processor is configured to activate an NFC function of the short-range communication terminal to perform an NFC function in response to the interrupt signal.
  • the distance sensor and the NFC module are respectively connected to the baseband processor.
  • the NFC module is set to a power-saving state, and the NFC module is activated only when the paired NFC device is close to the NFC terminal, thereby reducing the extra power consumption of the battery and achieving the purpose of power saving.
  • the threshold value of the distance sensor can be set by software, and the size thereof depends on the transmit power of the sender and the receiving sensitivity of the receiver. According to the actual situation of the NFC terminal, the present invention sets the threshold value of the distance sensor to be 10 CM.
  • the present invention provides an interrupt anti-shake mechanism to prevent false triggering of the baseband processor.
  • FIG. 2 is a structural block diagram of a first preferred embodiment of the present invention.
  • An anti-shake register is disposed in the distance sensor, and the anti-shake register is configured to control the distance sensor to output an effective interrupt signal when the distance sensor detects that the distance between the NFC device and the short-range communication terminal is within a threshold range.
  • the FNC module is actually activated when the baseband processor receives a valid interrupt signal from the proximity sensor.
  • the present invention also provides a second preferred embodiment when there is no built-in anti-shake register in the distance sensor.
  • FIG. 3 is a structural block diagram of a second preferred embodiment of the present invention.
  • the baseband processor is provided with a timer for timing when the baseband processor receives the interrupt signal output by the distance sensor; the baseband processor is further configured to read the NFC device after the timer reaches the timing time
  • the NFC module is activated when the current distance from the short-range communication terminal is within the threshold value range.
  • the timer timing is 100ms, and the timing time only needs to be able to shield the invalid interrupt signal, and the NFC device pairing time is too long.
  • the baseband processor when the baseband processor receives the interrupt signal from the distance sensor (the interrupt is not subjected to anti-shake processing, it may be triggered by an error), the internal timer is turned on, and the timing starts. When the time is up, The baseband processor reads the current distance obtained by the distance sensor from the distance sensor through the SPI bus or the I2C bus. If the current distance is less than the threshold value, the current distance is considered to be less than the threshold value, and the baseband processor is at this time.
  • the NFC module is activated by the SPI bus or the I2C bus to implement the NFC function of the short-range communication terminal.
  • the setting of the distance sensor anti-shake time is determined by the internal ADC sampling interval INTERVAL and the software-set anti-shake number N, so no additional timer is needed.
  • the present invention is suitable for using the second preferred embodiment, and the anti-shake function is implemented by using a timer provided by the baseband processor.
  • the short-distance communication terminal with power saving function detects whether there is an NFC device paired with the short-range communication terminal by using the distance sensor, and the distance between the NFC device and the short-range communication terminal is reached.
  • the interrupt signal is output to the baseband processor, and after receiving the interrupt signal, the baseband processor activates the NFC module in the short-range communication terminal to implement the NFC function of the terminal, but when the baseband processor does not receive the interrupt signal, the NFC The modules all handle the power saving state, which saves battery power and extends battery life.
  • the short-distance communication terminal with the power-saving function provided by the embodiment of the invention prevents the baseband processor from being triggered by the anti-shake mechanism, and further improves the power-saving effect of the short-range communication terminal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed is a near field communication (NFC) terminal having a power-saving function, comprising: a proximity sensor, configured to detect whether NFC equipment approaches the NFC terminal, and output an interruption signal when a distance between the NFC equipment and the NFC terminal reaches a threshold; and a base band processor, configured to respond to the interruption signal, and activate an NFC module in the NFC terminal. The present invention saves power of a battery of the NFC module in the NFC terminal.

Description

具有省电功能的近距离通信终端  Short-distance communication terminal with power saving function 技术领域Technical field
本发明涉及近距离无线通信终端,特别涉及一种具有省电功能的近距离通信终端。The present invention relates to a short-range wireless communication terminal, and more particularly to a short-range communication terminal having a power saving function.
背景技术Background technique
NFC(Near Field Communication,近距离无线通讯技术)技术已与现有非接触智能卡技术兼容,其具有距离近、带宽高、能耗低等特点。NFC可提供各种设备间轻松、安全、迅速而自动的通信,广泛应用于门禁、公交、手机支付等领域。NFC (Near Field Communication, short-range wireless communication technology has been compatible with existing contactless smart card technology, and has the characteristics of close distance, high bandwidth and low energy consumption. NFC provides easy, secure, fast and automatic communication between various devices, and is widely used in access control, public transportation, mobile payment and other fields.
随着移动支付给人们带来的便利,具有NFC功能的终端也越来越多。当NFC终端处于主模式时,其NFC模块一直处于激活发射状态,导致额外的功耗,额外消耗了电池的电量。With the convenience of mobile payment, there are more and more NFC-enabled terminals. When the NFC terminal is in the master mode, its NFC module is always in the active transmit state, resulting in additional power consumption, which additionally consumes battery power.
技术问题technical problem
鉴于上述现有技术的不足之处,本发明的目的在于提供一种具有省电功能的近距离通信终端,只在需要使用NFC功能时激活NFC模块,能节电NFC的电量。In view of the above-mentioned deficiencies of the prior art, it is an object of the present invention to provide a short-range communication terminal having a power-saving function, which can activate the NFC module only when the NFC function is required, and can save power of the NFC.
技术解决方案Technical solution
为了达到上述目的,本发明采取了以下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:
一种具有省电功能的近距离通信终端,其中包括: A short-range communication terminal having a power saving function, including:
距离传感器,其用于检测是否有NFC设备与所述近距离通信终端靠近,并在检测到有NFC设备与所述近距离通信终端靠近,且检测到的所述NFC设备与所述近距离通信终端的距离达到门限值时输出中断信号;a distance sensor for detecting whether an NFC device is in close proximity to the short-range communication terminal, and detecting that an NFC device is in proximity to the short-range communication terminal, and detecting the NFC device communicating with the short-range communication Output an interrupt signal when the distance of the terminal reaches the threshold;
基带处理器,其用于响应所述中断信号,通过SPI总线或者I2C总线来激活所述近距离通信终端中的NFC模块;a baseband processor for activating the NFC module in the short-range communication terminal via an SPI bus or an I2C bus in response to the interrupt signal;
所述距离传感器、所述NFC模块分别与所述基带处理器连接。The distance sensor and the NFC module are respectively connected to the baseband processor.
本发明的具有省电功能的近距离通信终端中,其中所述距离传感器内设置有:In the short-range communication terminal with power saving function of the present invention, wherein the distance sensor is provided with:
防抖寄存器,其用于在所述距离传感器连续多次检测到所述NFC设备与所述近距离通信终端的距离在门限值范围内时,控制所述距离传感器输出有效中断信号给所述基带处理器。An anti-shake register, configured to control the distance sensor to output an effective interrupt signal to the distance sensor when the distance sensor detects that the distance between the NFC device and the short-range communication terminal is within a threshold value Baseband processor.
本发明的具有省电功能的近距离通信终端中,其中所述防抖寄存器连续检测到所述NFC设备与所述近距离通信终端的距离在门限值范围内的次数取决于所述防抖寄存器的防抖时间和所述距离传感器内部的模数转换器的采样间隔,所述防抖时间为50毫秒。In the short-range communication terminal with power saving function of the present invention, wherein the anti-shake register continuously detects that the distance between the NFC device and the short-range communication terminal is within a threshold value depends on the anti-shake The anti-shake time of the register and the sampling interval of the analog-to-digital converter inside the distance sensor, the anti-shake time is 50 milliseconds.
本发明的具有省电功能的近距离通信终端中,其中所述基带处理器内设置有:In the short-range communication terminal with power saving function of the present invention, wherein the baseband processor is provided with:
定时器,其用于在所述基带处理器收到所述距离传感器输出的中断信号时进行定时;a timer for timing when the baseband processor receives an interrupt signal output by the distance sensor;
所述基带处理器,还用于在所述定时器达到定时时间后,读取所述NFC设备与所述近距离通信终端的当前距离,以及当所述当前距离在门限值范围内时,激活所述近距离通信终端的NFC模块。The baseband processor is further configured to: after the timer reaches a timing time, read a current distance between the NFC device and the short-range communication terminal, and when the current distance is within a threshold value, The NFC module of the short-range communication terminal is activated.
本发明的具有省电功能的近距离通信终端中,其中所述定时时间为100毫秒。In the short-range communication terminal having the power saving function of the present invention, the timing time is 100 milliseconds.
本发明的具有省电功能的近距离通信终端中,其中所述门限值为10厘米。In the short-range communication terminal having the power saving function of the present invention, the threshold value is 10 cm.
一种具有省电功能的近距离通信终端,其中包括:A short-range communication terminal having a power saving function, including:
用于检测是否有NFC设备与所述近距离通信终端靠近,并在检测到NFC设备与所述近距离通信终端的距离达到门限值时输出中断信号的距离传感器;a distance sensor for detecting whether an NFC device is close to the short-range communication terminal, and outputting an interrupt signal when detecting that a distance between the NFC device and the short-range communication terminal reaches a threshold value;
用于响应所述中断信号,激活所述近距离通信终端中的NFC模块的基带处理器;A baseband processor for activating an NFC module in the short-range communication terminal in response to the interrupt signal;
所述距离传感器、所述NFC模块分别与所述基带处理器连接。The distance sensor and the NFC module are respectively connected to the baseband processor.
本发明的具有省电功能的近距离通信终端中,其中所述距离传感器内设置有防抖寄存器,用于在所述距离传感器连续多次检测到所述NFC设备与所述近距离通信终端的距离在门限值范围内时,控制所述距离传感器输出有效中断信号给所述基带处理器。In the short-range communication terminal with power saving function of the present invention, wherein the distance sensor is provided with an anti-shake register for detecting the NFC device and the short-range communication terminal repeatedly for the distance sensor When the distance is within the threshold value, the distance sensor is controlled to output an effective interrupt signal to the baseband processor.
本发明的具有省电功能的近距离通信终端中,所述防抖寄存器连续检测到所述NFC设备与所述近距离通信终端的距离在门限值范围内的次数取决于所述防抖寄存器的防抖时间和所述距离传感器内部的模数转换器的采样间隔,所述防抖时间为50毫秒。In the short-range communication terminal with power saving function of the present invention, the anti-shake register continuously detects that the distance between the NFC device and the short-range communication terminal is within a threshold value depends on the anti-shake register The anti-shake time and the sampling interval of the analog-to-digital converter inside the distance sensor, the anti-shake time is 50 milliseconds.
本发明的具有省电功能的近距离通信终端中,其中所述基带处理器内设置有定时器,用于在所述基带处理器收到所述距离传感器输出的中断信号时进行定时;In the short-range communication terminal with power saving function of the present invention, the baseband processor is provided with a timer for timing when the baseband processor receives the interrupt signal output by the distance sensor;
所述基带处理器,还用于在所述定时器达到定时时间后,读取所述NFC设备与所述近距离通信终端的当前距离,并当所述当前距离在门限值范围内时,激活所述近距离通信终端的NFC模块。The baseband processor is further configured to: after the timer reaches a timing time, read a current distance between the NFC device and the short-range communication terminal, and when the current distance is within a threshold value, The NFC module of the short-range communication terminal is activated.
本发明的具有省电功能的近距离通信终端中,其中所述定时时间为100毫秒。In the short-range communication terminal having the power saving function of the present invention, the timing time is 100 milliseconds.
本发明的具有省电功能的近距离通信终端中,其中所述门限值为10厘米。In the short-range communication terminal having the power saving function of the present invention, the threshold value is 10 cm.
本发明实施例提供的具有省电功能的近距离通信终端,通过距离传感器检测是否有与近距离通信终端配对的NFC设备靠近,并且在NFC设备与近距离通信终端的距离达到门限值时,向基带处理器输出中断信号,基带处理器接到中断信号后,激活近距离通信终端中的NFC模块实现终端的NFC功能,然而在基带处理器没有收到中断信号时,NFC模块均处理省电状态,从而节省了电池的电量,而且还延长了电池的使用寿命。The short-range communication terminal having the power-saving function provided by the embodiment of the present invention detects whether there is an NFC device paired with the short-range communication terminal by the distance sensor, and when the distance between the NFC device and the short-range communication terminal reaches a threshold value, The interrupt signal is output to the baseband processor, and the baseband processor activates the NFC module in the short-range communication terminal to implement the NFC function of the terminal after receiving the interrupt signal. However, when the baseband processor does not receive the interrupt signal, the NFC module processes power saving. The state saves battery power and extends battery life.
有益效果 Beneficial effect
本发明实施例提供的具有省电功能的近距离通信终端通过防抖机制,来防止基带处理器误触发,进一步提高了近距离通信终端的省电效果。The short-distance communication terminal with the power-saving function provided by the embodiment of the invention prevents the baseband processor from being triggered by the anti-shake mechanism, and further improves the power-saving effect of the short-range communication terminal.
附图说明DRAWINGS
图1为本发明具有省电功能的近距离通信终端较佳实施例的结构框图。1 is a structural block diagram of a preferred embodiment of a short-range communication terminal having a power saving function according to the present invention.
图2为本发明第一较佳实施例提供的近距离通信终端结构框图。2 is a structural block diagram of a short-range communication terminal according to a first preferred embodiment of the present invention.
图3为本发明第二较佳实施例提供的近距离通信终端结构框图。FIG. 3 is a structural block diagram of a short-range communication terminal according to a second preferred embodiment of the present invention.
本发明的最佳实施方式BEST MODE FOR CARRYING OUT THE INVENTION
本发明提供一种具有省电功能的近距离通信终端,为使本发明的目的、技术方案及效果更加清楚、明确,以下参照附图并举实例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。The present invention provides a short-range communication terminal having a power-saving function. The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
请参阅图1,本发明实施例提供的具有省电功能的近距离通信终端具有NFC模块能实现移动支付功能,其包括距离传感器和基带处理器,所述距离传感器与基带处理器连接。Referring to FIG. 1 , a short-range communication terminal having a power-saving function according to an embodiment of the present invention has an NFC module capable of implementing a mobile payment function, and includes a distance sensor and a baseband processor, and the distance sensor is connected to a baseband processor.
所述距离传感器用于实时检测是否有与近距离通信终端配对的NFC设备靠近,并在NFC设备与近距离通信终端的距离达到门限值时向基带处理器输出中断信号。The distance sensor is configured to detect in real time whether there is an NFC device paired with the short-range communication terminal, and output an interrupt signal to the baseband processor when the distance between the NFC device and the short-range communication terminal reaches a threshold.
所述基带处理器用于响应所述中断信号,激活近距离通信终端的NFC模块执行NFC功能。所述距离传感器、NFC模块分别与基带处理器连接。在具体实施时,本发明实施例将NFC模块设置为省电状态,只有在有配对的NFC设备靠近NFC终端时才激活NFC模块,从而减小了电池额外耗电,达到了省电的目的。The baseband processor is configured to activate an NFC function of the short-range communication terminal to perform an NFC function in response to the interrupt signal. The distance sensor and the NFC module are respectively connected to the baseband processor. In a specific implementation, the NFC module is set to a power-saving state, and the NFC module is activated only when the paired NFC device is close to the NFC terminal, thereby reducing the extra power consumption of the battery and achieving the purpose of power saving.
其中,距离传感器的门限值可通过软件设定,其大小取决于发送方的发射功率大小和接收方的接收灵敏度大小。本发明根据NFC终端的实际情况,设定距离传感器的门限值为10CM。The threshold value of the distance sensor can be set by software, and the size thereof depends on the transmit power of the sender and the receiving sensitivity of the receiver. According to the actual situation of the NFC terminal, the present invention sets the threshold value of the distance sensor to be 10 CM.
在进一步的实施例中,本发明设置了中断防抖动机制来防止基带处理器误触发,请参阅图2,其为本发明第一较佳实施例的结构框图。In a further embodiment, the present invention provides an interrupt anti-shake mechanism to prevent false triggering of the baseband processor. Please refer to FIG. 2, which is a structural block diagram of a first preferred embodiment of the present invention.
在所述距离传感器内设置有防抖寄存器,该防抖寄存器用于在距离传感器连续多次检测到NFC设备与近距离通信终端的距离在门限值范围内时,控制距离传感器输出有效中断信号给基带处理器。当基带处理器接收到距离传感器发出的有效中断信号后,才真正激活FNC模块。An anti-shake register is disposed in the distance sensor, and the anti-shake register is configured to control the distance sensor to output an effective interrupt signal when the distance sensor detects that the distance between the NFC device and the short-range communication terminal is within a threshold range. Give the baseband processor. The FNC module is actually activated when the baseband processor receives a valid interrupt signal from the proximity sensor.
本实施例中,防抖寄存器连续检测到NFC设备与近距离通信终端的距离在门限值范围内的次数可由软件设定,其具体次数取决于防抖时间T和距离传感器内部的ADC(Analog-to-Digital Converter,模/数转换器)采样间隔Interval,即T=N*INTERNVAL,其中防抖时间T可以设置有50ms,其大小只需能屏蔽无效中断信号,又不会造成NFC设备配对时间过长即可。In this embodiment, the number of times that the anti-shake register continuously detects that the distance between the NFC device and the short-range communication terminal is within the threshold range may be set by software, and the specific number depends on the anti-shake time T and the ADC inside the distance sensor (Analog) -to-Digital Converter, A/D converter) Interval interval Interval, ie T=N*INTERNVAL, where the anti-shake time T can be set to 50ms, its size only needs to be able to shield the invalid interrupt signal, and it will not cause the NFC device to be paired for too long. can.
当距离传感器中没有内置的防抖寄存器时,本发明还提供了第二较佳实施例。请参阅图3,其为本发明提供的第二较佳实施例的结构框图。所述基带处理器内设置有定时器,用于在基带处理器收到距离传感器输出的中断信号时进行定时;所述基带处理器,还用于在定时器达到定时时间后,读取NFC设备与近距离通信终端的当前距离,并当所述当前距离在门限值范围内时,激活所述NFC模块。其中,定时器定时的时间为100ms,其定时时间只需能屏蔽无效中断信号,又不会造成NFC设备配对时间过长即可。The present invention also provides a second preferred embodiment when there is no built-in anti-shake register in the distance sensor. Please refer to FIG. 3, which is a structural block diagram of a second preferred embodiment of the present invention. The baseband processor is provided with a timer for timing when the baseband processor receives the interrupt signal output by the distance sensor; the baseband processor is further configured to read the NFC device after the timer reaches the timing time The NFC module is activated when the current distance from the short-range communication terminal is within the threshold value range. Among them, the timer timing is 100ms, and the timing time only needs to be able to shield the invalid interrupt signal, and the NFC device pairing time is too long.
在具体实施时,当基带处理器收到距离传感器发出的中断信号后(该中断没有经过防抖处理,可能是误触发中断),开启其内部的定时器,并开始计时,当定时时间到达后,基带处理器通过SPI总线或者I2C总线从距离传感器处读取距离传感器获取的当前距离,如果该当前距离小于门限值,则认为当前距离一直处于小于门限值的状态,此时基带处理器通过SPI总线或者I2C总线来激活NFC模块实现近距离通信终端的NFC功能。In the specific implementation, when the baseband processor receives the interrupt signal from the distance sensor (the interrupt is not subjected to anti-shake processing, it may be triggered by an error), the internal timer is turned on, and the timing starts. When the time is up, The baseband processor reads the current distance obtained by the distance sensor from the distance sensor through the SPI bus or the I2C bus. If the current distance is less than the threshold value, the current distance is considered to be less than the threshold value, and the baseband processor is at this time. The NFC module is activated by the SPI bus or the I2C bus to implement the NFC function of the short-range communication terminal.
应当说明的是:在第一较佳实施例中,距离传感器防抖时间的设定时通过其内部的ADC采样间隔INTERVAL和软件设定的防抖次数N共同决定,所以不需要额外的定时器,而当距离传感器内部不具备防抖寄存器时,本发明适合使用第二较佳实施例,利用基带处理器自带的定时器实现防抖功能。It should be noted that, in the first preferred embodiment, the setting of the distance sensor anti-shake time is determined by the internal ADC sampling interval INTERVAL and the software-set anti-shake number N, so no additional timer is needed. When the distance sensor does not have an anti-shake register inside, the present invention is suitable for using the second preferred embodiment, and the anti-shake function is implemented by using a timer provided by the baseband processor.
综上所述,本发明实施例提供的具有省电功能的近距离通信终端,通过距离传感器检测是否有与近距离通信终端配对的NFC设备靠近,并且在NFC设备与近距离通信终端的距离达到门限值时,向基带处理器输出中断信号,基带处理器接到中断信号后,激活近距离通信终端中的NFC模块实现终端的NFC功能,然而在基带处理器没有收到中断信号时,NFC模块均处理省电状态,从而节省了电池的电量,而且还延长了电池的使用寿命。In summary, the short-distance communication terminal with power saving function provided by the embodiment of the present invention detects whether there is an NFC device paired with the short-range communication terminal by using the distance sensor, and the distance between the NFC device and the short-range communication terminal is reached. At the threshold value, the interrupt signal is output to the baseband processor, and after receiving the interrupt signal, the baseband processor activates the NFC module in the short-range communication terminal to implement the NFC function of the terminal, but when the baseband processor does not receive the interrupt signal, the NFC The modules all handle the power saving state, which saves battery power and extends battery life.
本发明实施例提供的具有省电功能的近距离通信终端通过防抖机制,来防止基带处理器误触发,进一步提高了近距离通信终端的省电效果。The short-distance communication terminal with the power-saving function provided by the embodiment of the invention prevents the baseband processor from being triggered by the anti-shake mechanism, and further improves the power-saving effect of the short-range communication terminal.
可以理解的是,对本领域普通技术人员来说,可以根据本发明的技术方案及其发明构思加以等同替换或改变,而所有这些改变或替换都应属于本发明所附的权利要求的保护范围。 It is to be understood that those skilled in the art can make equivalent substitutions or changes to the inventions and the inventions of the present invention, and all such changes or substitutions fall within the scope of the appended claims.
本发明的实施方式Embodiments of the invention
工业实用性Industrial applicability
序列表自由内容Sequence table free content

Claims (12)

  1. 一种具有省电功能的近距离通信终端,其中包括:A short-range communication terminal having a power saving function, including:
    距离传感器,其用于检测是否有NFC设备与所述近距离通信终端靠近,并在检测到有NFC设备与所述近距离通信终端靠近,且检测到的所述NFC设备与所述近距离通信终端的距离达到门限值时输出中断信号;a distance sensor for detecting whether an NFC device is in close proximity to the short-range communication terminal, and detecting that an NFC device is in proximity to the short-range communication terminal, and detecting the NFC device communicating with the short-range communication Output an interrupt signal when the distance of the terminal reaches the threshold;
    基带处理器,其用于响应所述中断信号,通过SPI总线或者I2C总线来激活所述近距离通信终端中的NFC模块;a baseband processor for activating the NFC module in the short-range communication terminal via an SPI bus or an I2C bus in response to the interrupt signal;
    所述距离传感器、所述NFC模块分别与所述基带处理器连接。The distance sensor and the NFC module are respectively connected to the baseband processor.
  2. 根据权利要求1所述的具有省电功能的近距离通信终端,其中所述距离传感器内设置有:The short-range communication terminal with power saving function according to claim 1, wherein the distance sensor is provided with:
    防抖寄存器,其用于在所述距离传感器连续多次检测到所述NFC设备与所述近距离通信终端的距离在门限值范围内时,控制所述距离传感器输出有效中断信号给所述基带处理器。An anti-shake register, configured to control the distance sensor to output an effective interrupt signal to the distance sensor when the distance sensor detects that the distance between the NFC device and the short-range communication terminal is within a threshold value Baseband processor.
  3. 根据权利要求2所述的具有省电功能的近距离通信终端,其中所述防抖寄存器连续检测到所述NFC设备与所述近距离通信终端的距离在门限值范围内的次数取决于所述防抖寄存器的防抖时间和所述距离传感器内部的模数转换器的采样间隔,所述防抖时间为50毫秒。 A short-range communication terminal having a power saving function according to claim 2, wherein said anti-shake register continuously detects that the distance between said NFC device and said short-range communication terminal is within a threshold value depends on The anti-shake time of the anti-shake register and the sampling interval of the analog-to-digital converter inside the distance sensor are 50 ms.
  4. 根据权利要求1所述的具有省电功能的近距离通信终端,其中所述基带处理器内设置有: The short-range communication terminal with power saving function according to claim 1, wherein the baseband processor is provided with:
    定时器,其用于在所述基带处理器收到所述距离传感器输出的中断信号时进行定时;a timer for timing when the baseband processor receives an interrupt signal output by the distance sensor;
    所述基带处理器,还用于在所述定时器达到定时时间后,读取所述NFC设备与所述近距离通信终端的当前距离,以及当所述当前距离在门限值范围内时,激活所述近距离通信终端的NFC模块。The baseband processor is further configured to: after the timer reaches a timing time, read a current distance between the NFC device and the short-range communication terminal, and when the current distance is within a threshold value, The NFC module of the short-range communication terminal is activated.
  5. 根据权利要求4所述的具有省电功能的近距离通信终端,其中所述定时时间为100毫秒。 A short-range communication terminal having a power saving function according to claim 4, wherein said timing time is 100 milliseconds.
  6. 根据权利要求1所述的具有省电功能的近距离通信终端,其中所述门限值为10厘米。 A short-range communication terminal having a power saving function according to claim 1, wherein said threshold value is 10 cm.
  7. 一种具有省电功能的近距离通信终端,其中包括:A short-range communication terminal having a power saving function, including:
    用于检测是否有NFC设备与所述近距离通信终端靠近,并在检测到NFC设备与所述近距离通信终端的距离达到门限值时输出中断信号的距离传感器;a distance sensor for detecting whether an NFC device is close to the short-range communication terminal, and outputting an interrupt signal when detecting that a distance between the NFC device and the short-range communication terminal reaches a threshold value;
    用于响应所述中断信号,激活所述近距离通信终端中的NFC模块的基带处理器;A baseband processor for activating an NFC module in the short-range communication terminal in response to the interrupt signal;
    所述距离传感器、所述NFC模块分别与所述基带处理器连接。The distance sensor and the NFC module are respectively connected to the baseband processor.
  8. 根据权利要求7所述的具有省电功能的近距离通信终端,其中所述距离传感器内设置有防抖寄存器,用于在所述距离传感器连续多次检测到所述NFC设备与所述近距离通信终端的距离在门限值范围内时,控制所述距离传感器输出有效中断信号给所述基带处理器。The short-range communication terminal with power saving function according to claim 7, wherein an anti-shake register is disposed in the distance sensor for detecting the NFC device and the close-range continuously for the distance sensor When the distance of the communication terminal is within the threshold value, the distance sensor is controlled to output an effective interrupt signal to the baseband processor.
  9. 根据权利要求8所述的具有省电功能的近距离通信终端,其中,所述防抖寄存器连续检测到所述NFC设备与所述近距离通信终端的距离在门限值范围内的次数取决于所述防抖寄存器的防抖时间和所述距离传感器内部的模数转换器的采样间隔,所述防抖时间为50毫秒。The short-range communication terminal with power saving function according to claim 8, wherein the number of times that the anti-shake register continuously detects that the distance between the NFC device and the short-range communication terminal is within a threshold value depends on The anti-shake time of the anti-shake register and the sampling interval of the analog-to-digital converter inside the distance sensor, the anti-shake time is 50 milliseconds.
  10. 根据权利要求7所述的具有省电功能的近距离通信终端,其中所述基带处理器内设置有定时器,用于在所述基带处理器收到所述距离传感器输出的中断信号时进行定时;A short-range communication terminal having a power saving function according to claim 7, wherein said baseband processor is provided with a timer for timing when said baseband processor receives an interrupt signal output from said distance sensor ;
    所述基带处理器,还用于在所述定时器达到定时时间后,读取所述NFC设备与所述近距离通信终端的当前距离,并当所述当前距离在门限值范围内时,激活所述近距离通信终端的NFC模块。The baseband processor is further configured to: after the timer reaches a timing time, read a current distance between the NFC device and the short-range communication terminal, and when the current distance is within a threshold value, The NFC module of the short-range communication terminal is activated.
  11. 根据权利要求10所述的具有省电功能的近距离通信终端,其中所述定时时间为100毫秒。A short-range communication terminal having a power saving function according to claim 10, wherein said timing time is 100 milliseconds.
  12. 根据权利要求7所述的具有省电功能的近距离通信终端,其中所述门限值为10厘米。A short-range communication terminal having a power saving function according to claim 7, wherein said threshold value is 10 cm.
PCT/CN2012/074991 2011-05-19 2012-05-02 Near field communication terminal having power-saving function WO2012155788A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110130549.9A CN102195689B (en) 2011-05-19 2011-05-19 Near field communication terminal with power-saving function
CN201110130549.9 2011-05-19

Publications (1)

Publication Number Publication Date
WO2012155788A1 true WO2012155788A1 (en) 2012-11-22

Family

ID=44603137

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/074991 WO2012155788A1 (en) 2011-05-19 2012-05-02 Near field communication terminal having power-saving function

Country Status (2)

Country Link
CN (1) CN102195689B (en)
WO (1) WO2012155788A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015043842A2 (en) * 2013-09-30 2015-04-02 Huf Hülsbeck & Fürst Gmbh & Co. Kg Electronic component for an id transmitter of a vehicle
CN106941378A (en) * 2017-04-17 2017-07-11 胡燕红 A kind of closely data sink and the means of communication

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195689B (en) * 2011-05-19 2014-07-30 惠州Tcl移动通信有限公司 Near field communication terminal with power-saving function
CN102591269A (en) * 2011-12-27 2012-07-18 珠海派诺科技股份有限公司 Equipment recognizing method, as well as master equipment module and slave equipment module
CN102752681A (en) * 2012-06-18 2012-10-24 歌尔声学股份有限公司 NFC (near field communication)-based Bluetooth headset and NFC-based Bluetooth communication method
CN103873101A (en) * 2012-12-17 2014-06-18 鸿富锦精密工业(深圳)有限公司 Near field communication terminal with power-saving function and power-saving method for near field communication terminal
CN104009780A (en) * 2013-02-26 2014-08-27 原相科技股份有限公司 Communication protocol system and automatic execution method for on-line switching
CN104469905B (en) * 2014-11-14 2018-07-13 惠州Tcl移动通信有限公司 Reduce the method and system of power consumption when NFC chip is left unused
CN105825099A (en) * 2016-03-23 2016-08-03 惠州Tcl移动通信有限公司 Inductive unlocking method and system and mobile terminal
CN105743546A (en) * 2016-04-26 2016-07-06 席国栋 Short range communication method and system
CN110190874B (en) * 2019-05-13 2021-06-22 惠州Tcl移动通信有限公司 NFC detection control method of mobile terminal, mobile terminal and storage medium
CN117749936A (en) * 2024-02-19 2024-03-22 花瓣支付(深圳)有限公司 Display method, electronic device and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008242705A (en) * 2007-03-27 2008-10-09 Matsushita Electric Works Ltd Radio mouse device
CN101951444A (en) * 2010-09-29 2011-01-19 中兴通讯股份有限公司 Method for realizing screen locking and unlocking of mobile terminal and mobile terminal
CN102195689A (en) * 2011-05-19 2011-09-21 惠州Tcl移动通信有限公司 Near field communication terminal with power-saving function

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6307471B1 (en) * 1999-12-01 2001-10-23 Ensure Technologies, Inc. Radio based proximity token with multiple antennas
US9020430B2 (en) * 2004-10-12 2015-04-28 Nokia Corporation Methods, apparatus, systems and computer program products for energy management of short-range communication modules in mobile terminal devices
CN101237256B (en) * 2007-02-01 2012-04-11 联想移动通信科技有限公司 Electronic device and NFC-control method based on other electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008242705A (en) * 2007-03-27 2008-10-09 Matsushita Electric Works Ltd Radio mouse device
CN101951444A (en) * 2010-09-29 2011-01-19 中兴通讯股份有限公司 Method for realizing screen locking and unlocking of mobile terminal and mobile terminal
CN102195689A (en) * 2011-05-19 2011-09-21 惠州Tcl移动通信有限公司 Near field communication terminal with power-saving function

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015043842A2 (en) * 2013-09-30 2015-04-02 Huf Hülsbeck & Fürst Gmbh & Co. Kg Electronic component for an id transmitter of a vehicle
WO2015043842A3 (en) * 2013-09-30 2015-05-21 Huf Hülsbeck & Fürst Gmbh & Co. Kg Electronic component for an id transmitter of a vehicle
CN106941378A (en) * 2017-04-17 2017-07-11 胡燕红 A kind of closely data sink and the means of communication

Also Published As

Publication number Publication date
CN102195689B (en) 2014-07-30
CN102195689A (en) 2011-09-21

Similar Documents

Publication Publication Date Title
WO2012155788A1 (en) Near field communication terminal having power-saving function
US11757484B2 (en) Radio frequency front-end circuit and mobile terminal
CN109802716B (en) Antenna switching method and device
US20150188220A1 (en) Antenna switching system and wireless communication device using the antenna switching system
US20140315497A1 (en) Wireless communication apparatus and antenna switching method thereof
US9947990B2 (en) Coil apparatus of mobile terminal
WO2021029532A1 (en) Electronic device for backing off transmission power based on sar and operation method thereof
CN107918596B (en) SOC chip and radio frequency signal processing method
US20100022188A1 (en) Communication apparatus and communication control method
EP3518425A1 (en) Method and system for reducing mobile terminal radiation damage
CN103428314A (en) Method for adjusting radiation direction of mobile terminal, and mobile terminal
CN106773625B (en) Smart watch and antenna signal processing circuit and method thereof
US10506656B2 (en) Electronic device and method for performing antenna tuning
US9762076B2 (en) Electronic device, method of transmitting electric power, and electric power transmission system
CN207489012U (en) A kind of SOC chip
WO2020116931A1 (en) Method for controlling antenna characteristics and an electronic device thereof
MX2021013041A (en) Control device having a secondary radio for waking up a primary radio.
WO2022085977A1 (en) Electronic device for operating transmission path and control method therefor
US20170215151A1 (en) Communication device
TWI474631B (en) Wireless communication circuit and wireless communication method
US11546014B2 (en) Electronic device and method for supporting heterogeneous communication techniques sharing frequency band
WO2021033876A1 (en) Electronic device and cellular communication quality measurement interval adjustment method thereof
US20230007836A1 (en) Wireless communication device including radio frequency integrated circuit and method of controlling the same
US20230123227A1 (en) Battery pack and method of controlling charging of the same
US20230353172A1 (en) Electronic device and method for controlling transmission power of communication module

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: 12785717

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: 12785717

Country of ref document: EP

Kind code of ref document: A1