一种蓝牙连接的方法及终端技术

技术编号:20500700 阅读:99 留言:0更新日期:2019-03-03 04:28
本发明专利技术实施例提出一种蓝牙连接方法,包括:第一终端发送蓝牙低功耗BLE广播消息,所述BLE广播消息包括设备信息;第二终端接收所述BLE广播消息;所述第二终端获取所述设备信息;所述第二终端将所述设备信息与预存的设备信息匹配;若所述设备信息与预存的设备信息匹配成功,所述第二终端向所述第一终端发起经典蓝牙连接请求;所述第一终端与所述第二终端建立经典蓝牙连接。BLE的功率损耗低,该方案中,第一终端与第二终端的上一次经典蓝牙连接断开后,第一终端可以持续性地发送BLE广播或进行扫描,以便于让第二终端及时发现第一终端的存在及连接状态,在低功耗的状态实现实时的经典蓝牙自动重连。

A Bluetooth Connection Method and Terminal

The embodiment of the invention provides a Bluetooth connection method, which includes: the first terminal sends Bluetooth low-power BLE broadcast message, the BLE broadcast message includes device information; the second terminal receives the BLE broadcast message; the second terminal obtains the device information; the second terminal matches the device information with the saved device information; and if the device information matches the saved device information, the second terminal receives the BLE broadcast message. The standby information matches successfully, and the second terminal initiates a classical Bluetooth connection request to the first terminal, and the first terminal establishes a classical Bluetooth connection with the second terminal. The power loss of BLE is low. In this scheme, the first terminal can send BLE broadcasting or scan continuously after the last classical Bluetooth connection between the first terminal and the second terminal is disconnected, so that the second terminal can find the existence and connection status of the first terminal in time, and realize the real-time automatic reconnection of classical Bluetooth in the low power state.

【技术实现步骤摘要】
【国外来华专利技术】PCT国内申请,说明书已公开。

【技术保护点】
PCT国内申请,权利要求书已公开。

【技术特征摘要】
【国外来华专利技术】PCT国内申请,...

【专利技术属性】
技术研发人员:李家欣赵朋陈风孙渊磊周喜渝陈健杨俊章亚杜丙坚
申请(专利权)人:华为技术有限公司
类型:发明
国别省市:广东,44

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1