NFC device output signal control method, terminal device, medium and electronic device

文档序号:1101250 发布日期:2020-09-25 浏览:8次 中文

阅读说明:本技术 Nfc装置输出信号控制方法及终端设备、介质和电子设备 (NFC device output signal control method, terminal device, medium and electronic device ) 是由 冯斌 于 2020-06-28 设计创作,主要内容包括:本公开提供一种NFC装置输出信号的控制方法、终端设备、计算机可读介质和电子设备,涉及数据处理技术领域。该方法包括:在NFC装置处于被监听状态时,提取NFC装置对应的监听设备的第一时钟信号;控制NFC装置基于第一时钟信号生成输出信号,以使输出信号与监听设备的输出信号频率一致。本公开可以根据监听设备的第一时钟信号进行同步,进而生成与监听设备频率适配的输出信号,提高了NFC装置的兼容性,同时避免了由于频率不适配造成的近场通信失败的问题。(The disclosure provides a control method of an output signal of an NFC device, terminal equipment, a computer readable medium and electronic equipment, and relates to the technical field of data processing. The method comprises the following steps: when the NFC device is in a monitored state, extracting a first clock signal of monitoring equipment corresponding to the NFC device; and controlling the NFC device to generate an output signal based on the first clock signal so that the output signal is consistent with the output signal frequency of the monitoring equipment. The NFC device can synchronize according to the first clock signal of the monitoring equipment, and then generates an output signal adaptive to the frequency of the monitoring equipment, so that the compatibility of the NFC device is improved, and meanwhile, the problem of near field communication failure caused by the fact that the frequency is not adaptive is solved.)

1. A method for controlling output signals of an NFC device, the method comprising:

when the NFC device is in a monitored state, extracting a first clock signal of monitoring equipment corresponding to the NFC device;

controlling the NFC device to generate an output signal based on the first clock signal so that the output signal is consistent with the output signal frequency of the listening device.

2. The method of claim 1, wherein the listened-to state comprises at least one of a card emulation mode and a point-to-point passive mode.

3. The method of claim 1, wherein the NFC device is disposed in a terminal device, and wherein the method further comprises:

when the NFC device is in an active radiation state, acquiring a second clock signal of the terminal equipment;

controlling the NFC device to generate an output signal based on the second clock signal.

4. The method of claim 3, wherein controlling the NFC device to generate an output signal based on the second clock signal comprises:

and controlling the NFC device to perform preset frequency division or preset frequency multiplication processing by taking the second clock signal as a reference clock to generate an output signal.

5. The method of claim 3, wherein the active radiation state comprises at least one of a reader mode and a point-to-point active mode.

6. The method according to claim 1, wherein when the NFC device is disposed in a terminal device, and the terminal device includes a display device, the method further comprises:

acquiring the current display state of the display device;

and when the display state is the closing state, sending a passive state instruction to the NFC device so as to enable the NFC device to be switched to the monitored state.

7. The method according to claim 1, wherein the NFC apparatus is provided in a terminal device, and before the terminal device is powered off, the method further comprises:

and responding to the terminal equipment receiving a power-off instruction, and sending a passive state instruction to the NFC device so as to enable the NFC device to be switched to a monitored state.

8. The method of claim 1, wherein controlling the NFC device to generate an output signal based on the first clock signal comprises:

and controlling the NFC device to perform preset frequency division or preset frequency multiplication processing by taking the first clock signal as a reference clock to generate an output signal.

9. A terminal device, characterized in that the terminal device comprises:

the first clock module is used for extracting a first clock signal of the monitoring equipment corresponding to the NFC device;

the NFC device is used for generating an output signal based on the first clock signal so that the output signal is consistent with the output signal frequency of the monitoring equipment;

and the state processor is used for controlling the first clock module to extract the first clock signal and controlling the NFC device to generate an output signal based on the first clock signal when the NFC device is in a monitored state.

10. The terminal device according to claim 9, wherein the terminal device further comprises:

the second clock module is used for providing a second clock signal corresponding to the terminal equipment;

wherein the NFC device is further to generate an output signal based on the second clock signal; the state processor is further configured to control the second clock module to provide a second clock signal corresponding to the terminal device when the NFC apparatus is in an active radiation state, and control the NFC apparatus to generate an output signal based on the second clock signal.

11. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 8.

12. An electronic device, comprising:

a processor; and

a memory for storing executable instructions of the processor;

wherein the processor is configured to perform the method of any of claims 1 to 8 via execution of the executable instructions.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:基于位置信息的Massive MIMO用户选择方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!