WO2021017156A1 - 一种遥控设备与主机的连接方法 - Google Patents

一种遥控设备与主机的连接方法 Download PDF

Info

Publication number
WO2021017156A1
WO2021017156A1 PCT/CN2019/109270 CN2019109270W WO2021017156A1 WO 2021017156 A1 WO2021017156 A1 WO 2021017156A1 CN 2019109270 W CN2019109270 W CN 2019109270W WO 2021017156 A1 WO2021017156 A1 WO 2021017156A1
Authority
WO
WIPO (PCT)
Prior art keywords
host
remote control
control device
connection
bluetooth
Prior art date
Application number
PCT/CN2019/109270
Other languages
English (en)
French (fr)
Inventor
张金金
徐增国
Original Assignee
歌尔股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 歌尔股份有限公司 filed Critical 歌尔股份有限公司
Publication of WO2021017156A1 publication Critical patent/WO2021017156A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42221Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/70Device selection

Definitions

  • the invention belongs to the technical field of remote control, and specifically relates to a method for connecting a remote control device and a host.
  • remote control devices such as Bluetooth and infrared remote control signals to control the host.
  • remote control devices that use Bluetooth remote control signals (such as Bluetooth remote controls, Bluetooth-enabled mobile phones, bracelets and other electronic products)
  • Bluetooth Low Energy Bluetooth Low Energy, or Bluetooth, LE, BLE
  • the button is transmitted through the HID protocol in BLE, so that the air conditioner, speaker, camera, set-top box, TV and other hosts can be realized when the button is pressed. control.
  • Bluetooth remote control first complete the pairing of the Bluetooth remote control device with a certain host.
  • the Bluetooth remote control device uses the whitelist broadcast mechanism, and other hosts cannot search for and connect to the Bluetooth remote control device. If the host is searched, the connection cannot be realized, that is, the one-to-one binding between the Bluetooth remote control device and the host is realized.
  • the general remote control will provide a combination button or some Bluetooth remote control devices do not support the function of switching the host at all, and if supported, once the combination button is pressed, The originally connected host can no longer be controlled, resulting in a single host controlled by the Bluetooth remote control device, which reduces the versatility of the Bluetooth remote control device.
  • the present invention provides a connection method between a remote control device and a host, which is used to solve the problem of single host controlled by the remote control device and low versatility in the prior art, realize the switch connection between the remote control device and multiple hosts, and improve the generality of the remote control device And improve user experience.
  • the present invention proposes the following technical solutions to solve them:
  • a method for connecting a remote control device and a host, wherein the number of the host is at least two and can establish a communication connection with the remote control device, and the method for connecting the remote control device and the host includes the following steps: The device is communicatively connected to the first host; the remote control device receives a first control instruction to switch the first host to the second host; if the switch is confirmed, the remote control device receives the first control instruction to be connected to the second host Two control instructions, and the remote control device sends a directional broadcast containing the device identification corresponding to the second host; if the remote control device establishes a connection with the second host within a predetermined period of time, confirm that the first host is switched To the second host.
  • the method further includes: asking whether to start the host switching mode, if yes, then The remote control device receives a second control instruction to be connected to the second host; if not, the remote control device reconnects to the first host through whitelist broadcasting.
  • the remote control device when the remote control device sends a directional broadcast containing the device identification corresponding to the second host, if the connection is established within the predetermined time period, the first host switches To the second host; if the connection is not established within the predetermined period of time, ask whether to continue to connect to the second host, if yes, the remote control device resends the device containing the second host The identified directional broadcast; if not, the remote control device re-establishes a connection with the first host through whitelist broadcast.
  • the method for connecting the remote control device and the host as described above further includes the following step: when the remote control device establishes a connection with the second host to be connected, the whitelist is updated to the information of the second host.
  • the device identification of each host is pre-stored in the memory.
  • the device identifier of each host is the MAC address corresponding to each host.
  • the first control command and/or the second control command are a single button, a combined button, a voice command, a gesture command or a fingerprint command.
  • the host includes an air conditioner, a television, a refrigerator, a speaker, or a camera capable of receiving communication signals of the remote control device.
  • the remote control device includes a remote control, a mobile phone or a bracelet with communication functions.
  • the remote control device sends a directional broadcast to the host through the device identifier corresponding to the host, and the remote control device is switched and connected to each host through the remote control device for the remote control.
  • the device realizes independent remote control of each host, improves the use range of the remote control device, and enhances its versatility, and since the remote control device can be used to flexibly switch between the hosts, the user experience is improved.
  • Fig. 1 is a flowchart of an embodiment of a method for connecting a remote control device and a host according to the present invention.
  • Existing remote control devices send white messages to a single host (such as refrigerators, air conditioners, TVs, set-top boxes, speakers, cameras and other smart home products) that can receive remote control signals.
  • a single host such as refrigerators, air conditioners, TVs, set-top boxes, speakers, cameras and other smart home products
  • the remote control device cannot search for the remote control device, and the remote control device cannot switch to control other hosts, so that a single remote control device is bound to a single host one by one.
  • a host needs to be equipped with a remote control device, it will not only cause a waste of resources, but also users will confuse the various remote control devices, and the large number can easily lead to confusion or loss.
  • the present invention provides a method for connecting a remote control device and a host, which switches a single remote control device and multiple hosts to realize the versatility of the remote control device, and avoids the user from using multiple remote control devices to control each host separately, improving user experience .
  • the number of hosts is at least two and can establish a communication connection with the remote control device.
  • the method for connecting the remote control device and the host in this embodiment includes the following steps: the remote control device is connected to the first host; The remote control device receives the first control instruction to switch the first host to the second host. If the switch is confirmed, the remote control device receives the second control instruction to be connected to the second host.
  • the remote control device analyzes the second control instruction to obtain the second control instruction. Control the second host corresponding to the instruction, and obtain the device identification corresponding to the second host, the remote control device sends a directed broadcast containing the device identification corresponding to the second host, and when the remote control device establishes a connection with the second host within a predetermined period of time, confirm the first A host successfully switches to the second host.
  • first and second are only used for descriptive purposes, “first host” means one host among multiple hosts, and “second host” means Another host among multiple hosts, and “first” and “second” cannot be understood as indicating or implying relative importance.
  • the remote control device is a Bluetooth remote control as an example for description.
  • the remote control device may also be a device that establishes a communication connection with the host through other communication methods, which is not limited here.
  • FIG. 1 it shows a flowchart of a method for connecting a remote control device and a host in this embodiment.
  • the host in this embodiment may include smart home products such as refrigerators, speakers, air conditioners, televisions, and set-top boxes that can receive remote control signals of remote control devices.
  • the remote control device is connected to the first host.
  • the remote control device is a Bluetooth remote control and the first host is an air conditioner as an example for description.
  • the Bluetooth remote control is currently connected to the air conditioner Bluetooth.
  • the Bluetooth remote control When the user needs to use the Bluetooth remote control to control the TV, he needs to switch from the air conditioner to the TV through the Bluetooth remote control.
  • the information of the air conditioner connected to the Bluetooth remote control Located in the white list of the bluetooth remote control, the bluetooth remote control connects with the air conditioner through the white list broadcast via Bluetooth.
  • the specific whitelist contains the device identification of the air conditioner, which can be specifically MAC (Media Access Control or Medium Access Control, translated as media access control or called physical address, hardware address) address, which is used to define the location of the network device.
  • the device identifiers of all hosts to be connected can be pre-stored in the memory.
  • the memory can be located in the Bluetooth remote control or in other devices such as routers.
  • the remote control can read the corresponding device identification from the memory according to the host to be connected.
  • the remote control device receives the first control instruction for switching the first host to the second host.
  • step S2 in order to facilitate understanding and description, the second host is a television as an example for description.
  • the Bluetooth remote control receives the first control instruction to turn on the host switching mode.
  • the first control instruction in this embodiment can be a single button, a combination button, a voice command, a gesture command, a fingerprint command, a single button click, a double click single button, etc., here Without limitation, when the Bluetooth remote controller detects the first control instruction, step S201 is entered.
  • S201 Ask the user whether to activate the host switching mode to prevent the user from accidentally triggering the operation.
  • the user enters a third control command to confirm the activation of the host switching mode or not to start the host switching mode.
  • the third control command is a single button, a combination of buttons, and a voice command , Gesture instructions, fingerprint instructions, single-click single button, double-click single button, etc.
  • the third control instruction is preferably a single button set by clicking.
  • step S3 If it is confirmed to start the host switching mode, go to step S301.
  • the remote control device is a Bluetooth remote control
  • the first host is an air conditioner
  • the second host is a TV set as an example.
  • the Bluetooth remote control device receives the second control instruction to be connected to the second host, the processor parses according to the second control instruction to obtain the second host corresponding to the second control instruction, and reads the device identification corresponding to the second host from the memory ,
  • the processor can be set in the remote control device, or in other devices such as routers. In this embodiment, the processor is provided in the remote control device. After the device identification corresponding to the second host is read, step S302 is entered.
  • the Bluetooth remote control device sends a directional broadcast containing the device identifier corresponding to the second host.
  • step S303 is entered.
  • the Bluetooth remote control device sends a whitelist broadcast to realize that the Bluetooth remote control is still connected to the first host and used normally
  • the whitelist may only have the device identification of the currently connected host, which is the MAC address of the air conditioner in this embodiment, so that in case of accidental touch, the reconnection to the first host can be quickly established; if the user If switching is required, the Bluetooth remote control receives a second control instruction.
  • the second control instruction can be a single button, a combination of buttons, a voice instruction, a gesture instruction or a fingerprint instruction, etc.
  • the second host corresponding to the second control instruction is obtained by analyzing the second control instruction according to the second control instruction, and the device identification corresponding to the second host is read from the memory, and the Bluetooth remote control is first disconnected from the air conditioner , And then send a directional broadcast containing the device table identifier corresponding to the TV.
  • the Bluetooth remote control cannot be found by hosts other than the TV.
  • Directional broadcast conforms to the BLE protocol and is mainly used to achieve continuous connection between mobile smart terminals and peripheral accessories. It is a short-range wireless communication technology with extremely low power consumption, and the effective transmission distance has been increased to more than 100 meters.
  • the broadcast frequency of the directional broadcast is greater than the broadcast frequency of the whitelist broadcast, that is to say, the number of directional broadcast transmissions per unit time is more than the number of whitelist broadcast transmissions.
  • the efficiency of receiving directed broadcasts is higher than the efficiency of receiving whitelisted broadcasts. Therefore, when the Bluetooth remote control is switched to the second host, by sending a directional broadcast including the MAC address, a fast and accurate connection between the Bluetooth remote control and the second host can be realized, and the connection efficiency can be improved.
  • the remote control device When the remote control device establishes a connection with the second host within the preset time period, confirm that the first host is switched to the second host.
  • the remote control device is a Bluetooth remote control and the second host is a TV set as an example.
  • the device identification in the white list is updated to the device identification information of the TV, that is, to the MAC address of the TV.
  • step S401 is entered.
  • step S401 Ask the user whether to continue to connect with the TV, and the user inputs a fourth control instruction to confirm whether to continue to establish a connection with the TV or not to continue to establish a connection with the TV.
  • the fourth control instruction can be a single button, a combination of buttons, or a voice command , Gesture instructions, fingerprint instructions, etc.
  • the fourth control instruction is preferably to click a single preset button. If the connection with the TV continues to be established, step S302 is entered, and the Bluetooth remote controller resends the directional broadcast containing the MAC address corresponding to the TV to connect to the TV again. If it does not reconnect, step S303 is entered, and the Bluetooth remote control reconnects to the air conditioner through the whitelist broadcast.
  • connection time between the Bluetooth remote control and the TV you can set the connection time between the Bluetooth remote control and the TV. If the connection fails within a preset period of time (for example, 30 seconds), the user will be asked if the connection needs to be established. If the connection is established, the Bluetooth remote control will resend Contains the directional broadcast of the MAC address corresponding to the TV to continue the connection with the TV. If the connection is not continued, the Bluetooth remote control sends a whitelist broadcast to reconnect with the air conditioner.
  • a preset period of time for example, 30 seconds
  • the process and principle of the Bluetooth remote control disconnected from the TV and connected to the speaker is similar to the disconnection of the Bluetooth remote control from the air conditioner and connected to the TV. The connection is not repeated here.
  • the Bluetooth remote control has been connected to multiple hosts, and the device information of multiple hosts is saved in the whitelist, such as MAC address, when the Bluetooth remote control sends a broadcast, any host that has been connected to this device can be used for this device The connection is initiated and the connection is successful.
  • the actual application of the remote control generally only controls one host, only the MAC address of the host needs to be saved, and other devices should not initiate a connection to this remote when the Bluetooth remote is broadcasting.
  • the Bluetooth remote control will clear the MAC address of the air conditioner in the previous whitelist and add the MAC address of the TV to the whitelist, so that when switching the host, the remote control still sends a directional broadcast to achieve Bluetooth Quick connection between remote control and host.
  • the Bluetooth remote control does not clear the MAC address of the air conditioner in the previous white list but also adds the MAC address of the TV to the white list.
  • the air conditioner and the TV The MAC address of the air conditioner is in the white list, so when switching back to the air conditioner, the white list broadcast is sent through the air conditioner's MAC address to connect.
  • the MAC address of each host is pre-stored in the Bluetooth remote control device.
  • the Bluetooth remote control device sends a directional broadcast to the host through the MAC address corresponding to the host.
  • the transmission frequency of the directional broadcast is high, which shortens the Bluetooth.
  • the time required to establish a connection between the remote control and the host improves the efficiency of the connection between the two; because the MAC address of each host is pre-stored in the Bluetooth remote control device, the host is connected through the Bluetooth remote control device by sending a directional broadcast, and the device is remotely controlled via Bluetooth It can switch between hosts flexibly, increase the range of use of Bluetooth remote control devices, enhance its versatility, avoid the trouble caused by multiple hosts using multiple Bluetooth remote control devices, and improve user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)

Abstract

一种遥控设备与主机的连接方法,主机的数量为至少两个且能够与遥控设备建立通讯连接,连接方法包括如下步骤:遥控设备连接至第一主机(S1);接收将第一主机切换至第二主机的第一控制指令(S2),如果确认切换,接收拟连接至第二主机的第二控制指令(S301),发送包含第二主机的设备标识的定向广播(S302),如果在预定时间段内遥控设备与第二主机建立连接,确认第一主机切换至第二主机(S4)。解决了现有技术中遥控设备控制的主机单一、通用性低的问题,提供一种遥控设备与多个主机之间切换连接的方法,提高遥控设备通用性,且提升用户体验。

Description

一种遥控设备与主机的连接方法
本申请要求于2019年7月31日提交中国专利局、申请号为201910702605.8、发明名称为“一种遥控设备与主机的连接方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明属于遥控技术领域,具体涉及一种遥控设备与主机的连接方法。
背景技术
现有市面上,利用蓝牙、红外等遥控信号的遥控设备来控制主机已是成熟技术,例如利用蓝牙遥控信号的遥控设备(例如蓝牙遥控器、支持蓝牙功能的手机、手环等电子产品)的使用都是基于蓝牙低功耗(Bluetooth Low Energy,或称Bluetooth、LE、BLE)技术,通过BLE中HID协议来进行按键的传输,实现按键时对空调、音箱、摄像头、机顶盒、电视机等主机控制。举例说明,在蓝牙遥控器的使用过程中,首先将蓝牙遥控设备与某一主机完成配对,一旦配对之后,蓝牙遥控设备使用白名单广播机制,其他主机无法搜索并连接到该蓝牙遥控设备,即使搜索到该主机也无法实现连接,即实现蓝牙遥控设备与主机的一对一绑定。在用户想要利用此蓝牙遥控设备控制其他主机时,一般遥控器会提供一个组合按键或者有的蓝牙遥控设备根本不支持切换主机的功能,并且在支持的情况下,一旦组合按键被按下,最初连接的主机不可能再被控制,导致蓝牙遥控设备控制的主机单一,降低了蓝牙遥控设备的通用性。
本背景技术所公开的上述信息仅仅用于增加对本申请背景技术的理解,因此,其可能包括不构成本领域普通技术人员已知的现有技术。
发明内容
本发明提供一种遥控设备与主机的连接方法,用于解决现有技术中遥控设备控制的主机单一,通用性低的问题,实现遥控设备与多个主机之间切换连接,提升遥控设备的通用性,且提升用户体验。
为了解决上述技术问题,本发明所提出如下技术方案予以解决:
一种遥控设备与主机的连接方法,其特征在于,所述主机的数量为至少两个且能够与所述遥控设备建立通讯连接,所述遥控设备与主机的连接方法包括如下步骤:所述遥控设备通讯连接至第一主机;所述遥控设备上接收将所述第一主机切换至第二主机的第一控制指令;如果确认切换,所述遥控设备接收拟连接至所述第二主机的第二控制指令,且所述遥控设备发送包含所述第二主机对应的设备标识的定向广播;如果在预定时间段内所述遥控设备与所述第二主机建立连接,确认所述第一主机切换至所述第二主机。
如上所述的遥控设备与主机的连接方法,所述遥控设备接收将所述第一主机切换至第二主机的第一控制指令之后,还包括:询问是否启动主机切换模式,如果为是,则所述遥控设备接收拟连接至所述第二主机的第二控制指令;如果为否,则所述遥控设备通过白名单广播重新连接至所述第一主机。
如上所述的遥控设备与主机的连接方法,在所述遥控设备发送包含所述第二主机对应的设备标识的定向广播时,如果在所述预定时间段内建立连接,所述第一主机切换至所述第二主机;如果在所述预定时间段内没有建立连接,则询问是否继续连接所述第二主机,如果为是,则所述遥控设备重新发送包含所述第二主机对应的设备标识的定向广播;如果为否,则所述遥控设备通过白名单广播与所述第一主机重新建立连接。
如上所述的遥控设备与主机的连接方法还包括如下步骤:在所述遥控设备与拟连接的第二主机建立连接时,将所述白名单更新为所述第二主机的信息。
如上所述的遥控设备与主机的连接方法,各主机的设备标识预存在存储器中。
如上所述的遥控设备与主机的连接方法,所述各主机的设备标识为各主机对应的MAC地址。
如上所述的遥控设备与主机的连接方法,所述第一控制命令和/或第二控制命令为单一按键、组合按键、语音指令、手势指令或指纹指令。
如上所述的遥控设备与主机的连接方法,所述主机包括能够接收所述遥控设备的通讯信号的空调器、电视机、冰箱、音箱或摄像头。
如上所述的遥控设备与主机的连接方法,所述遥控设备包括具有通讯功能的遥控器、手机或手环。
与现有技术相比,本发明的优点和有益效果是:遥控设备通过主机对应的设备标识向主机发送定向广播,通过遥控设备将该遥控设备与各主机之间进行切换连接,用于该遥控设备实现对各主机独立遥控控制,提高遥控设备的使用范围,提升其通用性,且由于可使用遥控设备在各主机之间灵活切换,提升用户使用体验。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对本发明实施例或现有技术描述中所需要使用的附图作一简要介绍,显而易见地,下面描述的附图是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他附图。
图1为本发明的遥控设备与主机的连接方法一个实施例的流程图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
现有遥控设备(例如遥控器、具有功能的手机或手环等智能设备)对能够接收遥控信号的单一主机(例如冰箱、空调器、电视机、机顶盒、音箱、摄像头等智能家居产品)发送白名单广播,在遥控设备与该主机断开时,其他主机也搜索不到该遥控设备,并且遥控设备也不能切换控制其他主机,使得单个遥控设备与单个主机一一绑定。随着家用智能家居产品数量的增加,如果一个主机需要配备一个遥控设备,不仅造成资源上的浪费,而且用户会 混淆各遥控设备,数量多也容易导致混乱或丢失。
为此,本发明提供一种遥控设备与主机的连接方法,将单个遥控设备与多个主机切换连接,实现遥控设备的通用性,且避免用户使用多个遥控设备分别控制各个主机,提升用户体验。在本实施例遥控设备与主机的连接方法中主机的数量为至少两个且能够与遥控设备建立通讯连接,本实施例遥控设备与主机的连接方法包括如下步骤:遥控设备连接至第一主机;遥控设备接收将第一主机切换至第二主机的第一控制指令,如果确认切换,遥控设备接收拟连接至第二主机的第二控制指令,遥控设备根据接收的第二控制指令解析得到第二控制指令对应的第二主机,并得到第二主机对应的设备标识,遥控设备发送包含第二主机对应的设备标识的定向广播,在预定时间段内遥控设备与第二主机建立连接时,确认第一主机成功切换至所述第二主机。需要说明的是,在本发明的描述中,术语“第一”、“第二”仅用于描述目的,“第一主机”意指多个主机中的一个主机,“第二主机”意指多个主机中的另一个主机,且“第一”和“第二”不能理解为指示或暗示相对重要性。
具体地,在本实施例中,以遥控设备为蓝牙遥控器为例进行说明,当然,遥控设备也可以是通过其他通讯方式与主机建立通讯连接的设备,在此不做限定。如图1所示,其示出了本实施例中一种遥控设备与主机的连接方法的流程图。本实施例中的主机可以包括冰箱、音箱、空调器、电视机、机顶盒等能够接收遥控设备的遥控信号的智能家居产品。
S1:遥控设备连接至第一主机。
在步骤S1中,为了便于理解及说明,以遥控设备为蓝牙遥控器且第一主机为空调器为例进行描述。蓝牙遥控器当前正与空调器蓝牙连接,在用户需要用蓝牙遥控器控制电视机时,需要通过蓝牙遥控器从空调器切换至电视机,在切换之前,与蓝牙遥控器连接的空调器的信息位于蓝牙遥控器的白名单中,蓝牙遥控器通过白名单广播与空调器蓝牙连接。具体白名单中存有空调器的设备标识,具体可以为MAC(Media Access Control或者Medium Access Control,译为媒体访问控制或称为物理地址、硬件地址)地址,其用来定义网络设备的位置。可以将拟连接的所有主机的设备标识(本实施例中具体为 对应主机的MAC地址)预存在存储器中,该存储器可以位于蓝牙遥控器中,也可以设置在如路由器等的其他装置中,蓝牙遥控器可以根据拟连接的主机从存储器中读取对应的设备标识。
S2:遥控设备接收将第一主机切换至第二主机的第一控制指令。
在步骤S2中,为了便于理解及说明,以第二主机为电视机为例进行描述。
蓝牙遥控器接收第一控制指令以开启主机切换模式,本实施例第一控制指令可以为单个按键、组合按键、语音指令、手势指令、指纹指令、单击单个按键、双击单个按键等,在此不做限制,在蓝牙遥控器检测到第一控制指令时,进入步骤S201。
S201:向用户询问是否启动主机切换模式,以防止用户的误触发操作,用户输入第三控制指令确认启动主机切换模式或不启动主机切换模式,第三控制指令为单个按键、组合按键、语音指令、手势指令、指纹指令、单击单个按键、双击单个按键等。在本实施例中,第三控制指令优选为单击设定的单个按键。
S3:如果确认启动主机切换模式,则进入步骤S301。在步骤S3中,为了便于理解及说明,以遥控设备为蓝牙遥控器、第一主机为空调器、且第二主机为电视机为例进行说明。
S301:蓝牙遥控设备接收拟连接至第二主机的第二控制指令,处理器根据第二控制指令解析得到第二控制指令对应的第二主机,并从存储器中读取第二主机对应的设备标识,其中处理器可以设置在遥控设备中,也可以设置在如路由器等的其他装置中。在本实施例中,处理器设置在遥控设备中。在读取到第二主机对应的设备标识后,则进入步骤S302。
S302:蓝牙遥控设备发送包含第二主机对应的设备标识的定向广播。
如果用户输入第三控制指令为不需要启动主机切换模式,则进入步骤S303。
S303:蓝牙遥控设备通过白名单广播重新连接至空调器。
具体地,询问用户是否启动主机切换模式,用户例如输入输入第三控制 指令确认不需要启动主机切换模式时,蓝牙遥控设备发送白名单广播,实现蓝牙遥控器仍与第一主机的连接并正常使用,此时白名单中可以只有当前连接的主机的设备标识,在本实施例中为空调器的MAC地址,这样可以实现在误触的情况下,快速建立与第一主机的重新连接;如果用户需要切换,则蓝牙遥控器接收第二控制指令,第二控制指令可以是单个按键、组合按键、语音指令、手势指令或指纹指令等,在本实施例中,优选为语音指令,在蓝牙遥控器检测到第二控制指令时,根据第二控制指令解析得到第二控制指令对应的第二主机,并从存储器中读取第二主机对应的设备标识,蓝牙遥控器首先断开与空调器的连接,然后发送包含电视机对应的设备表标识的定向广播,在定向广播的情况下,除了电视机其他主机无法搜索到该蓝牙遥控器。
定向广播符合BLE协议,主要用于实现移动智能终端与周边配件之间的持续连接,是功耗极低的短距离无线通信技术,并且有效传输距离被提升到了100米以上。在蓝牙遥控器与第二主机的连接过程中,定向广播的广播频率大于白名单广播的广播频率,也就是说在单位时间内定向广播发送的次数多于白名单广播发送的次数,因此,对拟连接的第二主机来说,接收定向广播的效率要高于接收白名单广播的效率。因此,在蓝牙遥控器切换至第二主机时,通过发送包含有MAC地址的定向广播,能够实现蓝牙遥控器与第二主机之间快速准确的连接,提升连接效率。
S4:在预设时间段内遥控设备与第二主机建立连接时,确认第一主机切换至第二主机。在本实施例中,遥控设备以蓝牙遥控器且第二主机以电视机为例进行说明。
在本实施例中,当蓝牙遥控设备与电视机连接成功时,白名单中的设备标识更新为电视机的设备标识信息,即更新为电视机的MAC地址。
在蓝牙遥控器与电视机连接不成功时,进入步骤S401。
S401:向用户询问是否需要继续与电视机进行连接,用户输入第四控制指令确认继续与电视机建立连接或不继续与电视机建立连接,第四控制指令可以为单个按键、组合按键、语音指令,手势指令,指纹指令等,在本实施例中,第四控制指令优选为单击预设的单个按键。如果继续与电视机建立连接,则进入步骤S302,蓝牙遥控器重新发送包含电视机对应的MAC地址的定向广播,以与电视机进行再次连接。如果不重新连接,则进入步骤S303,蓝 牙遥控器通过白名单广播重新连接至空调器。
具体地,可以设定蓝牙遥控器与电视机的连接时间,如果在预设时间段(例如30秒)内连接失败,会询问用户是否需要继续建立连接,如果继续建立连接,蓝牙遥控器重新发送包含电视机对应的MAC地址的定向广播,以与电视机进行继续连接,如果不继续连接,蓝牙遥控器发送白名单广播,重新与空调器进行连接。
根据如上所述,当用户电视机切换至第三主机,例如音箱时,蓝牙遥控器与电视机断开且与音箱连接的过程及原理类似于蓝牙遥控器与空调器的断开且与电视机的连接,在此不做赘述。
如果蓝牙遥控器和多个主机进行过连接,并在白名单中保存了多个主机的设备信息,例如MAC地址,蓝牙遥控器在发送广播时,任意一个曾经连接过的主机都可以对此设备发起连接并连接成功。但是,遥控器的实际应用中一般只会控制一个主机,只需要保存一个主机的MAC地址,蓝牙遥控器在广播时其他设备也不应对此遥控器发起连接,因此,一旦蓝牙遥控器与电视机连接成功后,蓝牙遥控器将清除之前白名单中的空调器的MAC地址而将电视机的MAC地址添加至白名单中,以便在切换主机时,在遥控器端仍通过发送定向广播,实现蓝牙遥控器与主机的快速连接。
当然,也可以在蓝牙遥控器与电视机连接成功后,蓝牙遥控器不清除之前白名单中的空调器的MAC地址而将电视机的MAC地址也添加至白名单中,此时空调器和电视机的MAC地址均在白名单中,因此在切换返回空调器时,通过空调器的MAC地址发送白名单广播进行连接。
本实施例的蓝牙遥控设备与主机的连接方法,在蓝牙遥控设备内预存有各主机的MAC地址,蓝牙遥控设备通过主机对应的MAC地址向主机发送定向广播,定向广播的发送频率高,缩短蓝牙遥控器与主机建立连接时需要的时间,提升两者连接效率;由于蓝牙遥控设备内预存有各主机的MAC地址,通过发送定向广播,将各主机通过蓝牙遥控设备联系在一起,通过蓝牙遥控设备可灵活切换各主机,提高蓝牙遥控设备的使用范围,提升其通用性,避免多个主机使用多个蓝牙遥控设备所带来的麻烦,提升用户使用体验。
在此说明一下,本专利技术可以应用于蓝牙领域,也可以应用于其他通讯连接的领域。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (9)

  1. 一种遥控设备与主机的连接方法,其特征在于,所述主机的数量为至少两个且能够与所述遥控设备建立通讯连接,所述遥控设备与主机的连接方法包括如下步骤:
    所述遥控设备通讯连接至第一主机;
    所述遥控设备上接收将所述第一主机切换至第二主机的第一控制指令;
    如果确认切换,所述遥控设备接收拟连接至所述第二主机的第二控制指令,且所述遥控设备发送包含所述第二主机对应的设备标识的定向广播;
    如果在预定时间段内所述遥控设备与所述第二主机建立连接,确认所述第一主机切换至所述第二主机。
  2. 根据权利要求1所述的遥控设备与主机的连接方法,其特征在于,所述遥控设备接收将所述第一主机切换至第二主机的第一控制指令之后,还包括:
    询问是否启动主机切换模式,如果为是,则所述遥控设备接收拟连接至所述第二主机的第二控制指令;
    如果为否,则所述遥控设备通过白名单广播重新连接至所述第一主机。
  3. 根据权利要求1所述的遥控设备与主机的连接方法,其特征在于,在所述遥控设备发送包含所述第二主机对应的设备标识的定向广播时,如果在所述预定时间段内建立连接,所述第一主机切换至所述第二主机;
    如果在所述预定时间段内没有建立连接,则询问是否继续连接所述第二主机,如果为是,则所述遥控设备重新发送包含所述第二主机对应的设备标识的定向广播;
    如果为否,则所述遥控设备通过白名单广播与所述第一主机重新建立连接。
  4. 根据权利要求1至3中任一项所述的遥控设备与主机的连接方法,其特征在于,还包括如下步骤:在所述遥控设备与拟连接的第二主机建立连接时,将所述白名单更新为所述第二主机的信息。
  5. 根据权利要求1至3中任一项所述的遥控设备与主机的连接方法,其特征在于,各主机的设备标识预存在存储器中。
  6. 根据权利要求1至3中任一项所述的遥控设备与主机的连接方法,其特征在于,所述各主机的设备标识为各主机对应的MAC地址。
  7. 根据权利要求1至3中任一项所述的遥控设备与主机的连接方法,其特征在于,所述第一控制命令和/或第二控制命令为单一按键、组合按键、语音指令、手势指令或指纹指令。
  8. 根据权利要求1至3中任一项所述的遥控设备与主机的连接方法,其特征在于,所述主机包括能够接收所述遥控设备的通讯信号的空调器、电视机、冰箱、音箱或摄像头。
  9. 根据权利要求1至3中任一项所述的遥控设备与主机的连接方法,其特征在于,所述遥控设备包括具有通讯功能的遥控器、手机或手环。
PCT/CN2019/109270 2019-07-31 2019-09-30 一种遥控设备与主机的连接方法 WO2021017156A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910702605.8A CN110288820A (zh) 2019-07-31 2019-07-31 一种遥控设备与主机的连接方法
CN201910702605.8 2019-07-31

Publications (1)

Publication Number Publication Date
WO2021017156A1 true WO2021017156A1 (zh) 2021-02-04

Family

ID=68024470

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/109270 WO2021017156A1 (zh) 2019-07-31 2019-09-30 一种遥控设备与主机的连接方法

Country Status (2)

Country Link
CN (1) CN110288820A (zh)
WO (1) WO2021017156A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110288820A (zh) * 2019-07-31 2019-09-27 歌尔股份有限公司 一种遥控设备与主机的连接方法
CN111698671B (zh) * 2020-05-26 2023-07-21 昆山海菲曼科技集团股份有限公司 一种蓝牙遥控器
CN113490218B (zh) * 2021-06-08 2024-03-12 深圳Tcl新技术有限公司 配对方法、配对装置、蓝牙遥控器、智能设备和存储介质
CN113873589A (zh) * 2021-09-18 2021-12-31 深圳市爱都科技有限公司 一种蓝牙连接切换方法、蓝牙耳机及计算机可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127155A (zh) * 2006-08-15 2008-02-20 何进 选择性智能遥控系统及方法
CN104065993A (zh) * 2014-07-09 2014-09-24 陈玮君 遥控方法和遥控系统
CN104751617A (zh) * 2015-04-08 2015-07-01 江苏惠通集团有限责任公司 一种遥控器与主机的连接方法及遥控装置
JP2016096366A (ja) * 2014-11-12 2016-05-26 株式会社ビデオリサーチ 調査用リモコン装置及びシステム及び方法及びプログラム、接触状況調査システム
CN110288820A (zh) * 2019-07-31 2019-09-27 歌尔股份有限公司 一种遥控设备与主机的连接方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101738995A (zh) * 2008-11-12 2010-06-16 Tcl集团股份有限公司 一种自动选择控制对象的智能遥控器及其控制方法
CN201345160Y (zh) * 2008-12-29 2009-11-11 深圳创维-Rgb电子有限公司 基于Zigbee协议的遥控系统
CN105611358B (zh) * 2015-12-26 2018-12-18 小米科技有限责任公司 智能设备的控制方法及装置
CN106341606A (zh) * 2016-09-29 2017-01-18 努比亚技术有限公司 一种设备控制方法及移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127155A (zh) * 2006-08-15 2008-02-20 何进 选择性智能遥控系统及方法
CN104065993A (zh) * 2014-07-09 2014-09-24 陈玮君 遥控方法和遥控系统
JP2016096366A (ja) * 2014-11-12 2016-05-26 株式会社ビデオリサーチ 調査用リモコン装置及びシステム及び方法及びプログラム、接触状況調査システム
CN104751617A (zh) * 2015-04-08 2015-07-01 江苏惠通集团有限责任公司 一种遥控器与主机的连接方法及遥控装置
CN110288820A (zh) * 2019-07-31 2019-09-27 歌尔股份有限公司 一种遥控设备与主机的连接方法

Also Published As

Publication number Publication date
CN110288820A (zh) 2019-09-27

Similar Documents

Publication Publication Date Title
WO2021017156A1 (zh) 一种遥控设备与主机的连接方法
AU2018203216B2 (en) A Method of Pairing Wireless Devices
CN107911871B (zh) 蓝牙连接的控制方法、装置以及控制设备、存储介质
CN110113739B (zh) 信息处理方法及电子设备
US10992978B2 (en) Method and system for controlling smart television
US20080182518A1 (en) Multimedia switching system
CN105338402A (zh) 一种进行蓝牙连接的方法及装置
CN105100848A (zh) 智能设备、智能设备控制系统及其实现方法
CN103908778A (zh) 一种游戏控制方法及相关终端
KR102357597B1 (ko) IPTV(Internet Protocol Television) 셋톱박스와 Bluetooth 리모트 컨트롤러(Remote Controller)간의 자동 페어링 방법 및 그 시스템
CN105763936A (zh) 播放音频的方法及装置
US20160205148A1 (en) Method and device for performing audio/video streaming in wireless communication system
CN105187871A (zh) 一种基于nfc的移动终端数据传输电视终端的方法及系统
CN105812906A (zh) 一种播放设备的通信控制方法和装置
CN112261766A (zh) 基于WiFi和蓝牙双协议的灯具控制装置、系统及方法
CN105430436A (zh) 一种移动终端共享电视音频的方法及装置
CN105812185A (zh) 一种播放设备的通信连接方法
CN103376975A (zh) 一种控制方法及装置、移动通信终端
CN105307288A (zh) 断开连接的方法和装置
CN102571510B (zh) 基于便携移动终端的通讯系统及通讯方法
JP2002171580A (ja) 機器制御システム
CN109712380A (zh) 寻找遥控设备的方法及装置、存储介质、终端设备、遥控设备
CN105682002A (zh) 通讯连接建立方法、数据通讯方法及系统
CN105792237A (zh) 一种终端状态监控方法及装置
CN103442303A (zh) 一种手机遥控机顶盒的方法

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

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

Country of ref document: EP

Kind code of ref document: A1