[go: up one dir, main page]

CN105635873A - NFC bluetooth earphone and system, and control method thereof - Google Patents

NFC bluetooth earphone and system, and control method thereof Download PDF

Info

Publication number
CN105635873A
CN105635873A CN201410607972.7A CN201410607972A CN105635873A CN 105635873 A CN105635873 A CN 105635873A CN 201410607972 A CN201410607972 A CN 201410607972A CN 105635873 A CN105635873 A CN 105635873A
Authority
CN
China
Prior art keywords
nfc
chip
bluetooth
smart terminal
bluetooth headset
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.)
Granted
Application number
CN201410607972.7A
Other languages
Chinese (zh)
Other versions
CN105635873B (en
Inventor
赵国梁
李蔚
王元彪
石亦欣
沈磊
李清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Fudan Microelectronics Group Co Ltd
Original Assignee
Shanghai Fudan Microelectronics Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Fudan Microelectronics Group Co Ltd filed Critical Shanghai Fudan Microelectronics Group Co Ltd
Priority to CN201410607972.7A priority Critical patent/CN105635873B/en
Publication of CN105635873A publication Critical patent/CN105635873A/en
Application granted granted Critical
Publication of CN105635873B publication Critical patent/CN105635873B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

一种NFC蓝牙耳机、系统及其控制方法,所述NFC蓝牙耳机包括:蓝牙芯片;与所述蓝牙芯片耦接的NFC芯片,其中:所述蓝牙芯片,适于接收所述智能终端发送的控制指令并转发至所述NFC芯片,接收所述NFC芯片发送的应答信号并转发至所述智能终端,以及接收所述智能终端发送的操作指令并转发至所述NFC芯片;所述NFC芯片,适于在接收所述蓝牙芯片转发的控制指令时,根据所述控制指令切换成对应的工作模式,并向所述蓝牙芯片发送应答信号,以及接收所述蓝牙芯片转发的来自智能终端的操作指令,根据所述操作指令执行对应的操作。采用所述NFC蓝牙耳机、系统及其控制方法,可以使NFC蓝牙耳机的功能多样化。

An NFC bluetooth headset, system and control method thereof, the NFC bluetooth headset includes: a bluetooth chip; an NFC chip coupled to the bluetooth chip, wherein: the bluetooth chip is adapted to receive control sent by the smart terminal The instruction is forwarded to the NFC chip, the response signal sent by the NFC chip is received and forwarded to the smart terminal, and the operation command sent by the smart terminal is received and forwarded to the NFC chip; the NFC chip is adapted to When receiving the control command forwarded by the Bluetooth chip, switch to the corresponding working mode according to the control command, send a response signal to the Bluetooth chip, and receive the operation command from the smart terminal forwarded by the Bluetooth chip, A corresponding operation is performed according to the operation instruction. By adopting the NFC bluetooth earphone, the system and the control method thereof, the functions of the NFC bluetooth earphone can be diversified.

Description

NFC蓝牙耳机、系统及其控制方法NFC bluetooth headset, system and control method thereof

技术领域technical field

本发明涉及无线通信领域,尤其涉及一种NFC蓝牙耳机、系统及其控制方法。The invention relates to the field of wireless communication, in particular to an NFC bluetooth headset, a system and a control method thereof.

背景技术Background technique

随着电子技术的发展,移动终端越来越智能化,近场无线通信(NearFieldCommunication,NFC)技术和蓝牙技术已经广泛应用于现有的智能终端上,NFC技术在蓝牙耳机上的应用也日益广泛。With the development of electronic technology, mobile terminals are becoming more and more intelligent. Near Field Communication (NFC) technology and Bluetooth technology have been widely used in existing smart terminals. The application of NFC technology in Bluetooth headsets is also becoming more and more extensive. .

现有的NFC蓝牙耳机主要包括NFC标签以及蓝牙芯片等,蓝牙芯片的地址存储在NFC标签内。当主设备(如包括蓝牙功能和NFC功能的手机)靠近蓝牙耳机的NFC标签时,主设备的NFC模块从蓝牙耳机的NFC标签中读取蓝牙芯片的地址,然后通知主设备上的蓝牙模块与耳机的蓝牙芯片进行配对,从而实现蓝牙耳机的匹配。Existing NFC Bluetooth earphones mainly include an NFC tag and a Bluetooth chip, etc., and the address of the Bluetooth chip is stored in the NFC tag. When the master device (such as a mobile phone including Bluetooth function and NFC function) is close to the NFC tag of the Bluetooth headset, the NFC module of the master device reads the address of the Bluetooth chip from the NFC tag of the Bluetooth headset, and then notifies the Bluetooth module on the master device and the headset Bluetooth chip for pairing, so as to achieve the matching of Bluetooth headsets.

但是,现有的带有NFC功能的蓝牙耳机只能实现与蓝牙配对的功能,功能较为单一。However, the existing bluetooth earphones with NFC function can only realize the function of pairing with bluetooth, and the function is relatively single.

发明内容Contents of the invention

本发明实施例解决的问题是如何使NFC蓝牙耳机的功能多样化。The problem solved by the embodiments of the present invention is how to diversify the functions of the NFC Bluetooth headset.

为解决上述问题,本发明实施例提供一种NFC蓝牙耳机,适于与智能终端进行通信,包括:蓝牙芯片;与所述蓝牙芯片耦接的NFC芯片,其中:In order to solve the above problems, an embodiment of the present invention provides an NFC Bluetooth headset, which is suitable for communicating with an intelligent terminal, including: a Bluetooth chip; an NFC chip coupled to the Bluetooth chip, wherein:

所述蓝牙芯片,适于接收所述智能终端发送的控制指令并转发至所述NFC芯片,接收所述NFC芯片发送的应答信号并转发至所述智能终端,以及接收所述智能终端发送的操作指令并转发至所述NFC芯片;The Bluetooth chip is adapted to receive a control command sent by the smart terminal and forward it to the NFC chip, receive a response signal sent by the NFC chip and forward it to the smart terminal, and receive an operation sent by the smart terminal Instructions are forwarded to the NFC chip;

所述NFC芯片,适于在接收所述蓝牙芯片转发的控制指令时,根据所述控制指令切换成对应的工作模式,并向所述蓝牙芯片发送应答信号,以及接收所述蓝牙芯片转发的来自智能终端的操作指令,根据所述操作指令执行对应的操作。The NFC chip is adapted to switch to a corresponding working mode according to the control command when receiving the control command forwarded by the Bluetooth chip, and send a response signal to the Bluetooth chip, and receive a message from the Bluetooth chip forwarded by the Bluetooth chip. An operation instruction of the smart terminal, and a corresponding operation is performed according to the operation instruction.

可选的,所述应答信号为:所述NFC芯片在完成工作模式切换后,通过对应的GPIO端口发送的中断信号。Optionally, the response signal is: an interrupt signal sent by the NFC chip through a corresponding GPIO port after the switching of the working mode is completed.

可选的,所述蓝牙芯片与所述NFC芯片通过以下任一种通信协议进行通信:ISO7816、SPI以及I2C。Optionally, the Bluetooth chip communicates with the NFC chip through any of the following communication protocols: ISO7816, SPI, and I2C.

可选的,所述NFC蓝牙耳机还包括:麦克风以及耳机状态指示灯。Optionally, the NFC Bluetooth headset further includes: a microphone and a headset status indicator light.

为解决上述问题,本发明实施例提供了一种NFC蓝牙耳机系统,包括:智能终端以及NFC蓝牙耳机,其中:In order to solve the above problems, an embodiment of the present invention provides an NFC Bluetooth headset system, including: an intelligent terminal and an NFC Bluetooth headset, wherein:

所述智能终端适于向所述NFC蓝牙耳机发送控制指令,控制所述NFC蓝牙耳机中的NFC芯片切换至对应的工作模式,接收所述NFC蓝牙耳机发送的应答信号,以及向所述NFC蓝牙耳机发送操作指令;The intelligent terminal is adapted to send a control command to the NFC Bluetooth headset, control the NFC chip in the NFC Bluetooth headset to switch to a corresponding working mode, receive a response signal sent by the NFC Bluetooth headset, and send a message to the NFC Bluetooth headset. The earphone sends operation instructions;

所述NFC蓝牙耳机适于在接收到所述智能终端发送的控制指令时,向所述智能终端发送应答信号,以及在接收到所述智能终端发送的操作指令时,执行相应的操作。The NFC Bluetooth headset is adapted to send a response signal to the smart terminal when receiving a control command sent by the smart terminal, and perform a corresponding operation when receiving an operation command sent by the smart terminal.

可选的,所述应答信号为所述NFC芯片在完成工作模式切换后,通过对应的GPIO端口发送的中断信号。Optionally, the response signal is an interrupt signal sent by the NFC chip through the corresponding GPIO port after the switching of the working mode is completed.

为解决上述问题,本发明实施例提供了一种NFC蓝牙耳机控制方法,包括:In order to solve the above problems, an embodiment of the present invention provides a method for controlling an NFC Bluetooth headset, including:

向所述NFC蓝牙耳机发送控制指令,控制所述NFC蓝牙耳机中的NFC芯片切换至对应的工作模式;Send a control command to the NFC bluetooth earphone to control the NFC chip in the NFC bluetooth earphone to switch to the corresponding working mode;

接收到所述NFC蓝牙耳机发送的应答信号时,向所述NFC蓝牙耳机发送操作指令,使得所述NFC蓝牙耳机中的NFC芯片执行对应的操作。When receiving the response signal sent by the NFC Bluetooth headset, send an operation instruction to the NFC Bluetooth headset, so that the NFC chip in the NFC Bluetooth headset performs a corresponding operation.

可选的,所述应答信号为所述NFC芯片在完成工作模式切换后,通过对应的GPIO端口发送的中断信号。Optionally, the response signal is an interrupt signal sent by the NFC chip through the corresponding GPIO port after the switching of the working mode is completed.

可选的,所述控制指令对应的工作模式包括以下至少一种:卡片模式、点对点通讯模式以及读写器模式。Optionally, the working modes corresponding to the control instructions include at least one of the following: card mode, point-to-point communication mode, and reader-writer mode.

为解决上述问题,本发明实施例还提供了另一种NFC蓝牙耳机控制方法,包括:蓝牙芯片接收到所述智能智能终端发送的控制指令时,将所述控制指令转发至所述NFC芯片;所述NFC芯片接收所述控制指令,根据所述控制指令切换成对应的工作模式,并向所述蓝牙芯片发送应答信号;所述蓝牙芯片将所述应答信号转发至所述智能终端;所述蓝牙芯片接收到所述智能终端发送的操作指令时,将所述操作指令转发至所述NFC芯片;所述NFC芯片接收所述蓝牙芯片转发的来自智能终端的操作指令,根据所述操作指令执行对应的操作。In order to solve the above problems, the embodiment of the present invention also provides another NFC Bluetooth headset control method, including: when the Bluetooth chip receives the control command sent by the smart smart terminal, forwards the control command to the NFC chip; The NFC chip receives the control command, switches to a corresponding working mode according to the control command, and sends a response signal to the Bluetooth chip; the Bluetooth chip forwards the response signal to the smart terminal; the When the Bluetooth chip receives the operation instruction sent by the smart terminal, it forwards the operation instruction to the NFC chip; the NFC chip receives the operation instruction from the smart terminal forwarded by the Bluetooth chip, and executes the operation instruction according to the operation instruction. corresponding operation.

可选的,所述应答信号为:所述NFC芯片在完成工作模式切换后,通过对应的GPIO端口发送的中断信号。Optionally, the response signal is: an interrupt signal sent by the NFC chip through a corresponding GPIO port after the switching of the working mode is completed.

与现有技术相比,本发明实施例的技术方案具有以下优点:Compared with the prior art, the technical solutions of the embodiments of the present invention have the following advantages:

NFC蓝牙耳机中包括能够切换工作模式的NFC芯片以及蓝牙芯片,在接收到智能终端发送的控制指令时,NFC芯片可以根据控制指令切换成对应的工作模式,实现不同的功能,从而可以使得NFC蓝牙耳机能够实现不同的功能。The NFC Bluetooth headset includes an NFC chip and a Bluetooth chip that can switch working modes. When receiving the control command sent by the smart terminal, the NFC chip can switch to the corresponding working mode according to the control command to achieve different functions, so that the NFC Bluetooth Headphones are capable of different functions.

附图说明Description of drawings

图1是本发明实施例中的一种NFC蓝牙耳机结构示意图;Fig. 1 is a kind of NFC bluetooth earphone structure schematic diagram in the embodiment of the present invention;

图2是本发明实施例中的一种NFC蓝牙耳机系统结构示意图;Fig. 2 is a kind of NFC bluetooth earphone system structure schematic diagram in the embodiment of the present invention;

图3是本发明实施例中的一种NFC蓝牙耳机控制方法流程图;Fig. 3 is a kind of NFC bluetooth earphone control method flowchart in the embodiment of the present invention;

图4是本发明实施例中的另一种NFC蓝牙耳机控制方法流程图。Fig. 4 is a flow chart of another NFC Bluetooth headset control method in an embodiment of the present invention.

具体实施方式detailed description

现有的NFC蓝牙耳机主要包括NFC标签以及蓝牙芯片等,蓝牙芯片的地址存储在NFC标签内。当主设备(如包括蓝牙功能和NFC功能的手机)靠近蓝牙耳机的NFC标签时,主设备的NFC模块从蓝牙耳机的NFC标签中读取蓝牙芯片的地址,然后通知主设备上的蓝牙模块与耳机的蓝牙芯片进行配对,从而实现蓝牙耳机的匹配。但是,现有的带有NFC功能的蓝牙耳机只能实现与蓝牙配对的功能,功能较为单一。Existing NFC Bluetooth earphones mainly include an NFC tag and a Bluetooth chip, etc., and the address of the Bluetooth chip is stored in the NFC tag. When the master device (such as a mobile phone including Bluetooth function and NFC function) is close to the NFC tag of the Bluetooth headset, the NFC module of the master device reads the address of the Bluetooth chip from the NFC tag of the Bluetooth headset, and then notifies the Bluetooth module on the master device and the headset Bluetooth chip for pairing, so as to achieve the matching of Bluetooth headsets. However, the existing bluetooth earphones with NFC function can only realize the function of pairing with bluetooth, and the function is relatively single.

在本发明实施例中,NFC蓝牙耳机中包括能够切换工作模式的NFC芯片以及蓝牙芯片,在接收到智能终端发送的控制指令时,NFC芯片可以根据控制指令切换成对应的工作模式,实现不同的功能,从而可以使得NFC蓝牙耳机能够实现不同的功能。In the embodiment of the present invention, the NFC bluetooth headset includes an NFC chip and a bluetooth chip capable of switching working modes. function, so that the NFC Bluetooth headset can realize different functions.

为使本发明实施例的上述目的、特征和优点能够更为明显易懂,下面结合附图对本发明的具体实施例做详细的说明。In order to make the above objects, features and advantages of the embodiments of the present invention more comprehensible, specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

参照图1,本发明实施例给出了一种NFC蓝牙耳机结构示意图,包括:蓝牙芯片101以及与蓝牙芯片101耦接的NFC芯片102,其中:Referring to Fig. 1, the embodiment of the present invention provides a schematic structural diagram of an NFC Bluetooth headset, including: a Bluetooth chip 101 and an NFC chip 102 coupled with the Bluetooth chip 101, wherein:

所述蓝牙芯片101,适于接收智能终端发送的控制指令,并将控制指令转发至所述NFC芯片102;接收所述NFC芯片102发送的应答信号并转发至智能终端;以及接收智能终端发送的操作指令,并将操作指令转发至所述NFC芯片102。The bluetooth chip 101 is adapted to receive the control instruction sent by the smart terminal, and forward the control instruction to the NFC chip 102; receive the response signal sent by the NFC chip 102 and forward it to the smart terminal; and receive the response signal sent by the smart terminal. An operation instruction is forwarded to the NFC chip 102.

所述NFC芯片102,适于在接收到所述蓝牙芯片101转发的控制指令时,根据所述控制指令,切换成与所述控制指令相对应的工作模式,当工作模式切换完成后,所述NFC芯片102向所述蓝牙芯片101发送应答信号;以及接收所述蓝牙芯片101转发的来自智能终端的操作指令,根据所述操作指令执行对应的操作。The NFC chip 102 is adapted to switch to a working mode corresponding to the control command according to the control command when receiving the control command forwarded by the Bluetooth chip 101, and when the switching of the working mode is completed, the The NFC chip 102 sends a response signal to the Bluetooth chip 101; and receives an operation instruction from the smart terminal forwarded by the Bluetooth chip 101, and executes a corresponding operation according to the operation instruction.

在具体实施中,NFC芯片102上可以与NFC天线1021耦接,通过NFC天线1021接收或发送NFC信号。In a specific implementation, the NFC chip 102 may be coupled with the NFC antenna 1021 , and receive or send NFC signals through the NFC antenna 1021 .

在本发明一实施例中,可以将NFC芯片102在完成工作模式切换后产生的中断信号作为应答信号。中断信号可以经过NFC芯片102上的通用输入输出(GeneralPurposeInputOutput,GPIO)接口发送至蓝牙芯片101,蓝牙芯片101将接收到的中断信号转发至智能终端。In an embodiment of the present invention, the interrupt signal generated by the NFC chip 102 after switching the working mode can be used as the response signal. The interrupt signal can be sent to the Bluetooth chip 101 through a General Purpose Input Output (GPIO) interface on the NFC chip 102, and the Bluetooth chip 101 forwards the received interrupt signal to the smart terminal.

在实际应用中,NFC芯片的工作模式可以包括以下模式中的至少一种:卡片模式,读写器模式,点对点通讯模式三种模式。其中卡片模式用于非接触移动支付,例如:金融小额支付和公共交通支付等应用,只需要靠近非接触读写器既可以完成交易。读写器模式是指可以通过NFC芯片对NFC标签进行读写和擦除的操作,作为13.56MHz卡片和标签的读写器。点对点通讯模式是指可以通过NFC芯片的13.56MHz的数据通道实现无线数据交换,将两个具备NFC功能的设备实现数据链接,实现数据传输功能。In practical applications, the working mode of the NFC chip may include at least one of the following modes: card mode, reader-writer mode, and point-to-point communication mode. Among them, the card mode is used for non-contact mobile payment, such as: financial micropayment and public transportation payment applications, and only needs to be close to the non-contact reader to complete the transaction. Reader mode refers to the operation of reading, writing and erasing NFC tags through the NFC chip, as a reader for 13.56MHz cards and tags. The point-to-point communication mode means that wireless data exchange can be realized through the 13.56MHz data channel of the NFC chip, and two devices with NFC function can realize data link and realize data transmission function.

在本发明实施例中,蓝牙芯片101与NFC芯片102可以通过以下任一种通信协议进行通信:智能卡标准(ISO7816)协议、串行外设接口(SPI)协议以及两线式串行总线(I2C)协议。例如,蓝牙芯片101与NFC芯片102通过SPI通信协议进行通信。又如,蓝牙芯片101与NFC芯片102通过I2C通信协议进行通信。可以理解的是,蓝牙芯片101与NFC芯片102之间的通信还可以通过其他的通信协议进行,此处不再赘述。In the embodiment of the present invention, the Bluetooth chip 101 and the NFC chip 102 can communicate through any of the following communication protocols: smart card standard (ISO7816) protocol, serial peripheral interface (SPI) protocol and two-wire serial bus (I2C )protocol. For example, the Bluetooth chip 101 communicates with the NFC chip 102 through the SPI communication protocol. In another example, the Bluetooth chip 101 communicates with the NFC chip 102 through the I2C communication protocol. It can be understood that the communication between the Bluetooth chip 101 and the NFC chip 102 can also be performed through other communication protocols, which will not be repeated here.

除去蓝牙芯片101和NFC芯片102外,在本发明实施例中,NFC蓝牙耳机还可以包括麦克风、耳机状态指示灯等装置。In addition to the Bluetooth chip 101 and the NFC chip 102, in the embodiment of the present invention, the NFC Bluetooth headset may also include devices such as a microphone and a headset status indicator light.

下面对本发明实施例中提供的NFC蓝牙耳机的工作流程进行详细说明。The working process of the NFC Bluetooth headset provided in the embodiment of the present invention will be described in detail below.

智能终端首先可以通过蓝牙模块与NFC蓝牙耳机10建立连接。当智能终端的蓝牙模块与NFC蓝牙耳机10建立连接后,智能终端通过蓝牙2.4GHz数据通道,向NFC蓝牙耳机10发送控制指令。在本发明一实施例中,智能终端发送的控制指令是控制NFC芯片102切换工作模式的指令。The smart terminal can first establish a connection with the NFC Bluetooth headset 10 through the Bluetooth module. After the Bluetooth module of the smart terminal establishes a connection with the NFC Bluetooth headset 10, the smart terminal sends a control command to the NFC Bluetooth headset 10 through the Bluetooth 2.4GHz data channel. In an embodiment of the present invention, the control instruction sent by the smart terminal is an instruction for controlling the NFC chip 102 to switch working modes.

NFC蓝牙耳机10中的蓝牙芯片101在接收到智能终端发送的控制指令后,将控制指令转发至与其耦接的NFC芯片102。NFC芯片102在接收到控制指令时,执行初始化的操作,并根据控制指令切换成对应的工作模式。例如,控制指令所对应的工作模式为卡片模式,则NFC芯片102在接收到控制指令后,工作模式切换成卡片模式。After receiving the control command sent by the smart terminal, the Bluetooth chip 101 in the NFC Bluetooth headset 10 forwards the control command to the NFC chip 102 coupled thereto. When receiving the control instruction, the NFC chip 102 performs an initialization operation, and switches to a corresponding working mode according to the control instruction. For example, if the working mode corresponding to the control command is the card mode, the NFC chip 102 switches the working mode to the card mode after receiving the control command.

NFC芯片102在完成工作模式切换后,生成中断信号,并通过NFC芯片上102的GPIO端口将生成的中断信号发送至蓝牙芯片101。蓝牙芯片101在接收到NFC芯片102发送的中断信号后,将中断信号转发至智能终端。智能终端在接收到中断信号后,即可判定NFC芯片102已经完成工作模式切换,向NFC蓝牙耳机10发送操作指令,以对NFC芯片102进行控制。After switching the working mode, the NFC chip 102 generates an interrupt signal, and sends the generated interrupt signal to the Bluetooth chip 101 through the GPIO port of the NFC chip 102 . After receiving the interrupt signal sent by the NFC chip 102, the Bluetooth chip 101 forwards the interrupt signal to the smart terminal. After receiving the interrupt signal, the smart terminal can determine that the NFC chip 102 has completed switching the working mode, and send an operation instruction to the NFC Bluetooth headset 10 to control the NFC chip 102 .

NFC蓝牙耳机10的蓝牙芯片101在接收到智能终端发送的操作指令后,将操作指令发送至与其耦接的NFC芯片102。NFC芯片102根据接收到的控制指令,执行相应的操作。例如,NFC芯片102接收到的操作指令是写入蓝牙芯片101地址的指令,则将蓝牙地址写入到NFC芯片102中。After receiving the operation instruction sent by the smart terminal, the Bluetooth chip 101 of the NFC Bluetooth headset 10 sends the operation instruction to the NFC chip 102 coupled thereto. The NFC chip 102 performs corresponding operations according to the received control instructions. For example, if the operation instruction received by the NFC chip 102 is an instruction to write the address of the Bluetooth chip 101 , then the Bluetooth address is written into the NFC chip 102 .

下面通过举例,对本发明实施例中提供的NFC蓝牙耳机的工作流程进行说明。The working process of the NFC Bluetooth headset provided in the embodiment of the present invention will be described below by way of example.

智能终端预先通过蓝牙模块与NFC蓝牙耳机中的蓝牙芯片配对连接。当智能终端与蓝牙芯片建立连接后,通过蓝牙2.4GHz通道向NFC芯片发送控制NFC芯片切换成卡片模式的指令。NFC芯片接收到控制指令后,进行初始化操作,并切换成卡片模式。当NFC芯片切换成卡片模式后,生成中断信号,并通过芯片上的GPIO端口将中断信号发送至蓝牙芯片,蓝牙芯片将中断信号转发至智能终端。The smart terminal is pre-paired and connected with the Bluetooth chip in the NFC Bluetooth headset through the Bluetooth module. After the smart terminal establishes a connection with the Bluetooth chip, it sends an instruction to control the NFC chip to switch to the card mode through the Bluetooth 2.4GHz channel to the NFC chip. After the NFC chip receives the control command, it performs an initialization operation and switches to the card mode. When the NFC chip switches to the card mode, an interrupt signal is generated, and the interrupt signal is sent to the Bluetooth chip through the GPIO port on the chip, and the Bluetooth chip forwards the interrupt signal to the smart terminal.

智能终端在接收到蓝牙芯片转发的中断信号后,即可判定NFC芯片当前已经处于卡片模式,将蓝牙芯片的地址写入到NFC芯片中,即完成了对NFC芯片的操作。After receiving the interrupt signal forwarded by the Bluetooth chip, the smart terminal can determine that the NFC chip is currently in the card mode, write the address of the Bluetooth chip into the NFC chip, and complete the operation on the NFC chip.

由此可见,NFC蓝牙耳机中包括能够切换工作模式的NFC芯片以及蓝牙芯片,在接收到智能终端发送的控制指令时,NFC芯片可以根据控制指令切换成对应的工作模式,实现不同的功能,从而可以使得NFC蓝牙耳机能够实现不同的功能。It can be seen that the NFC Bluetooth headset includes an NFC chip and a Bluetooth chip that can switch working modes. When receiving the control command sent by the smart terminal, the NFC chip can switch to the corresponding working mode according to the control command to achieve different functions. It is possible to enable the NFC Bluetooth headset to realize different functions.

参照图2,本发明实施例提供了一种NFC蓝牙耳机系统,包括:智能终端201和NFC蓝牙耳机202,其中:With reference to Fig. 2, the embodiment of the present invention provides a kind of NFC bluetooth earphone system, comprises: intelligent terminal 201 and NFC bluetooth earphone 202, wherein:

所述智能终端201适于向所述NFC蓝牙耳机202发送控制指令,控制所述NFC蓝牙耳机202中的NFC芯片2021切换至对应的工作模式,接收所述NFC蓝牙耳机202发送的应答信号,以及向所述NFC蓝牙耳机202发送操作指令;The smart terminal 201 is adapted to send a control command to the NFC Bluetooth headset 202, control the NFC chip 2021 in the NFC Bluetooth headset 202 to switch to a corresponding working mode, receive the response signal sent by the NFC Bluetooth headset 202, and Send an operation instruction to the NFC Bluetooth headset 202;

所述NFC蓝牙耳机202包括蓝牙芯片2021以及NFC芯片2022,适于在接收到所述智能终端201发送的控制指令时,向所述智能终端201发送应答信号,以及在接收到所述智能终端201发送的操作指令时,执行对应的操作。The NFC bluetooth headset 202 includes a bluetooth chip 2021 and an NFC chip 2022, adapted to send a response signal to the smart terminal 201 when receiving the control instruction sent by the smart terminal 201, and when receiving the control command sent by the smart terminal 201 When the operation instruction is sent, perform the corresponding operation.

在本发明实施例中,在NFC蓝牙耳机接收到智能终端201发送的控制指令时,可以通过蓝牙芯片2021将控制指令转发至NFC芯片2022。NFC芯片2022在接收到控制指令后,进行初始化操作,并切换成与控制指令相对应的工作模式,在完成工作模式切换后,生成中断信号,并通过芯片上的GPIO端口将中断信号发送至蓝牙芯片2021。In the embodiment of the present invention, when the NFC Bluetooth earphone receives the control command sent by the smart terminal 201 , the control command can be forwarded to the NFC chip 2022 through the Bluetooth chip 2021 . After the NFC chip 2022 receives the control command, it performs an initialization operation and switches to a working mode corresponding to the control command. After completing the switching of the working mode, it generates an interrupt signal and sends the interrupt signal to the Bluetooth via the GPIO port on the chip. Chip 2021.

蓝牙芯片2021将中断信号转发至智能终端201,智能终端201在接收到中断信号后,即可判定当前NFC芯片2022完成工作模式切换,即NFC芯片可以执行相对应的操作,因此可以向NFC蓝牙耳机202发送操作指令,控制NFC蓝牙耳机执行相应的操作。The Bluetooth chip 2021 forwards the interrupt signal to the smart terminal 201. After receiving the interrupt signal, the smart terminal 201 can determine that the current NFC chip 2022 has completed the work mode switch, that is, the NFC chip can perform the corresponding operation, so it can send the NFC Bluetooth headset 202 sends an operation command to control the NFC Bluetooth headset to perform corresponding operations.

本发明实施例还提供了一种NFC蓝牙耳机的控制方法,参照图3,以下通过具体步骤进行详细说明。The embodiment of the present invention also provides a control method of an NFC bluetooth earphone, referring to FIG. 3 , which will be described in detail through specific steps below.

步骤S301,向所述NFC蓝牙耳机发送控制指令,控制所述NFC蓝牙耳机中的NFC芯片切换至对应的工作模式;Step S301, sending a control command to the NFC Bluetooth headset to control the NFC chip in the NFC Bluetooth headset to switch to a corresponding working mode;

在本发明实施例中,NFC芯片的工作模式可以包括卡片模式、点对点通讯模式以及读写器模式。NFC芯片的工作模式还可以包括其他的模式,此处不做赘述。In the embodiment of the present invention, the working modes of the NFC chip may include a card mode, a peer-to-peer communication mode, and a reader-writer mode. The working mode of the NFC chip may also include other modes, which will not be described here.

步骤S302,接收到所述NFC蓝牙耳机发送的应答信号时,向所述NFC蓝牙耳机发送操作指令,使得所述NFC蓝牙耳机中的NFC芯片执行对应的操作。Step S302, when receiving the response signal sent by the NFC Bluetooth headset, send an operation instruction to the NFC Bluetooth headset, so that the NFC chip in the NFC Bluetooth headset performs a corresponding operation.

在本发明实施例中,应答信号可以为NFC芯片在完成工作模式切换后,通过对应的GPIO端口发送的中断信号。In the embodiment of the present invention, the response signal may be an interrupt signal sent by the NFC chip through the corresponding GPIO port after the switching of the working mode is completed.

本发明实施例还提供了另一种NFC蓝牙耳机的控制方法,参照图4,以下通过具体步骤进行详细说明。The embodiment of the present invention also provides another method for controlling an NFC Bluetooth headset. Referring to FIG. 4 , the specific steps will be described in detail below.

步骤S401,蓝牙芯片接收到所述智能终端发送的控制指令时,将所述控制指令转发至所述NFC芯片;Step S401, when the Bluetooth chip receives the control command sent by the smart terminal, forward the control command to the NFC chip;

步骤S402,所述NFC芯片接收所述控制指令,根据所述控制指令切换成对应的工作模式,并向所述蓝牙芯片发送应答信号;Step S402, the NFC chip receives the control instruction, switches to a corresponding working mode according to the control instruction, and sends a response signal to the Bluetooth chip;

步骤S403,所述蓝牙芯片将所述应答信号转发至所述智能终端;Step S403, the bluetooth chip forwards the response signal to the smart terminal;

步骤S404,所述蓝牙芯片接收到所述智能终端发送的操作指令时,将所述操作指令转发至所述NFC芯片;Step S404, when the Bluetooth chip receives the operation instruction sent by the smart terminal, forward the operation instruction to the NFC chip;

步骤S405,所述NFC芯片接收所述蓝牙芯片转发的来自智能终端的操作指令,根据所述操作指令执行对应的操作。Step S405, the NFC chip receives an operation instruction from the smart terminal forwarded by the Bluetooth chip, and performs a corresponding operation according to the operation instruction.

在本发明实施例中,应答信号可以为NFC芯片在完成工作模式切换后,通过对应的GPIO端口发送的中断信号。In the embodiment of the present invention, the response signal may be an interrupt signal sent by the NFC chip through the corresponding GPIO port after the switching of the working mode is completed.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:ROM、RAM、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: ROM, RAM, disk or CD, etc.

虽然本发明披露如上,但本发明并非限定于此。任何本领域技术人员,在不脱离本发明的精神和范围内,均可作各种更动与修改,因此本发明的保护范围应当以权利要求所限定的范围为准。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, so the protection scope of the present invention should be based on the scope defined in the claims.

Claims (11)

1.一种NFC蓝牙耳机,适于与智能终端进行通信,其特征在于,包括:1. A kind of NFC bluetooth earphone, is suitable for communicating with intelligent terminal, is characterized in that, comprises: 蓝牙芯片;Bluetooth chip; 与所述蓝牙芯片耦接的NFC芯片,其中:The NFC chip coupled with the bluetooth chip, wherein: 所述蓝牙芯片,适于接收所述智能终端发送的控制指令并转发至所述NFC芯片,接收所述NFC芯片发送的应答信号并转发至所述智能终端,以及接收所述智能终端发送的操作指令并转发至所述NFC芯片;The Bluetooth chip is adapted to receive a control command sent by the smart terminal and forward it to the NFC chip, receive a response signal sent by the NFC chip and forward it to the smart terminal, and receive an operation sent by the smart terminal Instructions are forwarded to the NFC chip; 所述NFC芯片,适于在接收所述蓝牙芯片转发的控制指令时,根据所述控制指令切换成对应的工作模式,并向所述蓝牙芯片发送应答信号,以及接收所述蓝牙芯片转发的来自智能终端的操作指令,根据所述操作指令执行对应的操作。The NFC chip is adapted to switch to a corresponding working mode according to the control command when receiving the control command forwarded by the Bluetooth chip, and send a response signal to the Bluetooth chip, and receive a message from the Bluetooth chip forwarded by the Bluetooth chip. An operation instruction of the smart terminal, and a corresponding operation is performed according to the operation instruction. 2.如权利要求1所述的NFC蓝牙耳机,其特征在于,所述应答信号为:所述NFC芯片在完成工作模式切换后,通过对应的GPIO端口发送的中断信号。2. The NFC Bluetooth headset according to claim 1, wherein the response signal is an interrupt signal sent by the corresponding GPIO port after the NFC chip completes the switching of the working mode. 3.如权利要求1所述的NFC蓝牙耳机,其特征在于,所述蓝牙芯片与所述NFC芯片通过以下任一种通信协议进行通信:ISO7816、SPI以及I2C。3. The NFC Bluetooth headset according to claim 1, wherein the Bluetooth chip communicates with the NFC chip through any of the following communication protocols: ISO7816, SPI and I2C. 4.如权利要求1所述的NFC蓝牙耳机,其特征在于,所述NFC蓝牙耳机还包括:麦克风以及耳机状态指示灯。4. The NFC Bluetooth headset according to claim 1, wherein the NFC Bluetooth headset further comprises: a microphone and a headset status indicator light. 5.一种NFC蓝牙耳机系统,其特征在于,包括:智能终端以及NFC蓝牙耳机,其中:5. A NFC bluetooth earphone system, characterized in that it comprises: an intelligent terminal and an NFC bluetooth earphone, wherein: 所述智能终端适于向所述NFC蓝牙耳机发送控制指令,控制所述NFC蓝牙耳机中的NFC芯片切换至对应的工作模式,接收所述NFC蓝牙耳机发送的应答信号,以及向所述NFC蓝牙耳机发送操作指令;The intelligent terminal is adapted to send a control command to the NFC Bluetooth headset, control the NFC chip in the NFC Bluetooth headset to switch to a corresponding working mode, receive a response signal sent by the NFC Bluetooth headset, and send a message to the NFC Bluetooth headset. The earphone sends operation instructions; 所述NFC蓝牙耳机适于在接收到所述智能终端发送的控制指令时,向所述智能终端发送应答信号,以及在接收到所述智能终端发送的操作指令时,执行相应的操作。The NFC Bluetooth headset is adapted to send a response signal to the smart terminal when receiving a control command sent by the smart terminal, and perform a corresponding operation when receiving an operation command sent by the smart terminal. 6.如权利要求5所述的NFC蓝牙耳机系统,其特征在于,所述应答信号为所述NFC芯片在完成工作模式切换后,通过对应的GPIO端口发送的中断信号。6. The NFC bluetooth earphone system according to claim 5, wherein the response signal is an interrupt signal sent by the corresponding GPIO port after the NFC chip finishes switching the working mode. 7.一种NFC蓝牙耳机控制方法,其特征在于,包括:7. A method for controlling an NFC bluetooth headset, comprising: 向所述NFC蓝牙耳机发送控制指令,控制所述NFC蓝牙耳机中的NFC芯片切换至对应的工作模式;Send a control command to the NFC bluetooth earphone to control the NFC chip in the NFC bluetooth earphone to switch to the corresponding working mode; 接收到所述NFC蓝牙耳机发送的应答信号时,向所述NFC蓝牙耳机发送操作指令,使得所述NFC蓝牙耳机中的NFC芯片执行对应的操作。When receiving the response signal sent by the NFC Bluetooth headset, send an operation instruction to the NFC Bluetooth headset, so that the NFC chip in the NFC Bluetooth headset performs a corresponding operation. 8.如权利要求7所述的NFC蓝牙耳机控制方法,其特征在于,所述应答信号为所述NFC芯片在完成工作模式切换后,通过对应的GPIO端口发送的中断信号。8. The NFC Bluetooth headset control method according to claim 7, wherein the response signal is an interrupt signal sent by the corresponding GPIO port after the NFC chip completes the switching of the working mode. 9.如权利要求7所述的NFC蓝牙耳机控制方法,其特征在于,所述控制指令对应的工作模式包括以下至少一种:卡片模式、点对点通讯模式以及读写器模式。9 . The NFC Bluetooth headset control method according to claim 7 , wherein the operating modes corresponding to the control commands include at least one of the following: card mode, point-to-point communication mode, and reader-writer mode. 10.一种NFC蓝牙耳机控制方法,其特征在于,包括:10. A method for controlling an NFC bluetooth headset, comprising: 蓝牙芯片接收到所述智能智能终端发送的控制指令时,将所述控制指令转发至所述NFC芯片;When the bluetooth chip receives the control instruction sent by the intelligent smart terminal, it forwards the control instruction to the NFC chip; 所述NFC芯片接收所述控制指令,根据所述控制指令切换成对应的工作模式,并向所述蓝牙芯片发送应答信号;The NFC chip receives the control instruction, switches to a corresponding working mode according to the control instruction, and sends a response signal to the Bluetooth chip; 所述蓝牙芯片将所述应答信号转发至所述智能终端;The bluetooth chip forwards the response signal to the smart terminal; 所述蓝牙芯片接收到所述智能终端发送的操作指令时,将所述操作指令转发至所述NFC芯片;When the Bluetooth chip receives the operation instruction sent by the smart terminal, it forwards the operation instruction to the NFC chip; 所述NFC芯片接收所述蓝牙芯片转发的来自智能终端的操作指令,根据所述操作指令执行对应的操作。The NFC chip receives an operation instruction from the smart terminal forwarded by the Bluetooth chip, and performs a corresponding operation according to the operation instruction. 11.如权利要求10所述的NFC蓝牙耳机控制方法,其特征在于,所述应答信号为:所述NFC芯片在完成工作模式切换后,通过对应的GPIO端口发送的中断信号。11. The NFC Bluetooth headset control method according to claim 10, wherein the response signal is an interrupt signal sent by the corresponding GPIO port after the NFC chip completes the switching of the working mode.
CN201410607972.7A 2014-10-31 2014-10-31 NFC bluetooth headset, system and control method thereof Active CN105635873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410607972.7A CN105635873B (en) 2014-10-31 2014-10-31 NFC bluetooth headset, system and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410607972.7A CN105635873B (en) 2014-10-31 2014-10-31 NFC bluetooth headset, system and control method thereof

Publications (2)

Publication Number Publication Date
CN105635873A true CN105635873A (en) 2016-06-01
CN105635873B CN105635873B (en) 2019-12-24

Family

ID=56050290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410607972.7A Active CN105635873B (en) 2014-10-31 2014-10-31 NFC bluetooth headset, system and control method thereof

Country Status (1)

Country Link
CN (1) CN105635873B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911986A (en) * 2017-03-21 2017-06-30 青岛中云时代信息技术有限公司 A kind of mode selection circuit and bluetooth earphone for bluetooth earphone
CN110769343A (en) * 2019-10-31 2020-02-07 歌尔股份有限公司 Method for communication between wireless headset and charging box, TWS headset and system
CN113092686A (en) * 2021-04-09 2021-07-09 华中科技大学 Signal sampling system suitable for multi-unit gas sensor array
CN114549623A (en) * 2022-01-26 2022-05-27 摩拜(北京)信息技术有限公司 A kind of use control method, device and electric bicycle of electric bicycle

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201417458Y (en) * 2009-05-11 2010-03-03 深圳市江波龙电子有限公司 External NFC device
CN102769811A (en) * 2012-08-08 2012-11-07 北京鑫泰亿联视讯科技有限公司 Bluetooth headset integrating NFC (Near Field Communication) reading and writing functions
CN203352761U (en) * 2013-06-25 2013-12-18 广州市立伟电子有限公司 Bluetooth headset having NFC function
CN103561166A (en) * 2013-10-21 2014-02-05 东莞宇龙通信科技有限公司 A kind of earphone, terminal and touch method thereof based on near-field communication technology
CN204119454U (en) * 2014-10-31 2015-01-21 上海复旦微电子集团股份有限公司 NFC Bluetooth headset and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201417458Y (en) * 2009-05-11 2010-03-03 深圳市江波龙电子有限公司 External NFC device
CN102769811A (en) * 2012-08-08 2012-11-07 北京鑫泰亿联视讯科技有限公司 Bluetooth headset integrating NFC (Near Field Communication) reading and writing functions
CN203352761U (en) * 2013-06-25 2013-12-18 广州市立伟电子有限公司 Bluetooth headset having NFC function
CN103561166A (en) * 2013-10-21 2014-02-05 东莞宇龙通信科技有限公司 A kind of earphone, terminal and touch method thereof based on near-field communication technology
CN204119454U (en) * 2014-10-31 2015-01-21 上海复旦微电子集团股份有限公司 NFC Bluetooth headset and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911986A (en) * 2017-03-21 2017-06-30 青岛中云时代信息技术有限公司 A kind of mode selection circuit and bluetooth earphone for bluetooth earphone
CN106911986B (en) * 2017-03-21 2022-07-12 青岛中云时代信息技术有限公司 A mode selection circuit and bluetooth headset for bluetooth headset
CN110769343A (en) * 2019-10-31 2020-02-07 歌尔股份有限公司 Method for communication between wireless headset and charging box, TWS headset and system
WO2021082263A1 (en) * 2019-10-31 2021-05-06 歌尔股份有限公司 Method for communication between wireless earphone and charging case, charging case, tws earphone, and system
US12133117B2 (en) 2019-10-31 2024-10-29 Goertek Inc. Method for communication between wireless earphone and charging case, charging case, TWS earphone, and system
CN113092686A (en) * 2021-04-09 2021-07-09 华中科技大学 Signal sampling system suitable for multi-unit gas sensor array
CN114549623A (en) * 2022-01-26 2022-05-27 摩拜(北京)信息技术有限公司 A kind of use control method, device and electric bicycle of electric bicycle

Also Published As

Publication number Publication date
CN105635873B (en) 2019-12-24

Similar Documents

Publication Publication Date Title
CN102422553B (en) Near-field communication equipment
KR102480875B1 (en) Method for reconnecting bluetooth communication and apparatus using the same
CN114208234B (en) Method and electronic device for supporting multi-link in Bluetooth network environment
US10708744B2 (en) NFC-based communication method and apparatus
KR102482670B1 (en) An electronic device for transmitting and receiving data in a wireless communication system and a method thereof
CN102832976A (en) NFC (Near Field Communication) communication method and device
JP2016508677A (en) Method for realizing selection of secure element in short-range wireless communication, mobile terminal, and POS machine
CN103178880B (en) A kind of NFC bluetooth equipment and matching method thereof and manufacture method
CN105635873B (en) NFC bluetooth headset, system and control method thereof
JP2017532631A (en) Mobile payment method and apparatus, and short-range wireless communication device
CN105592403A (en) Communication device and communication method based on NFC
CN204374997U (en) Sim card and mobile terminal
JP2016524880A (en) NFC radio frequency communication control method, apparatus, and system
US11398849B2 (en) Continuous communication method and apparatus of contactless communication device
CN107636982B (en) Data frame routing processing method, near field communication controller and terminal
CN102447763B (en) Bluetooth earphone for mobile phone
CN204119454U (en) NFC Bluetooth headset and system
CN105745947A (en) Systems and methods for reporting a user interface status
CN103987129A (en) Information push method, apparatus and system
CN103546624B (en) A kind of system and method for SIM card deal with data
CN104616407A (en) Method for communicating POS machine with remote server, POS machine and mobile terminal
CN203243351U (en) Router possessing near field communication function and near field communication system
WO2024250896A1 (en) Near field communication method and electronic device
CN106210122A (en) Device and method for wireless data exchange between computer and smart phone terminal
CN120636033A (en) Card management method and related equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant