The application embodiment provides a connection request processing method, a Bluetooth headset, a wearable device and a system. In the embodiment of the present application, it is determined whether the Bluetooth headset needs to maintain an A2DP connection with the terminal device upon receipt of the A2DP connection request sent by the terminal device, and when not, the category of the terminal device is identified according to other connection requests sent by the terminal device prior to receipt of the A2DP connection request; and A2DP connection requests are processed in a manner that matches the category of the terminal device so that the Bluetooth headset and the terminal device remain in a non-A2DP connection state. The embodiment of the present application adopts a method adapted to the terminal device to process the A2DP connection request, which can avoid the terminal device displaying error message or the condition of continuous backlinking, and can make the Bluetooth headset in a non-A2DP connection state without maintaining the A2DP connection with the terminal device, thereby saving the power consumption of the Bluetooth headset.
【技术实现步骤摘要】
连接请求处理方法、蓝牙耳机、穿戴设备及系统
本申请涉及无线通信
,尤其涉及一种连接请求处理方法、蓝牙耳机、穿戴设备及系统。
技术介绍
随着蓝牙技术的发展,蓝牙设备逐渐进入人们的日常生活,给人们的生活带来极大的便利。尤其是蓝牙耳机,将蓝牙技术应用在免持耳机上,让使用者可以免除恼人电线的牵绊,自在地以各种方式轻松通话或聆听音乐。在现有技术中,终端设备通过免提模型(Hands-freeProfile,HFP)协议和蓝牙音频传输模型(AdvancedAudioDistributionProfile,A2DP)协议分别与蓝牙耳机进行蓝牙连接。其中,基于HFP连接,蓝牙耳机可以控制终端设备上的电话事务,如接听、挂断、拒接、语音拨号等;基于A2DP连接,蓝牙耳机可以接收终端设备传输的高品质的音视频数据。但是,现有这种蓝牙连接方式使得蓝牙耳机功耗较大。
技术实现思路
本申请的多个方面提供一种连接处理方法、蓝牙耳机、穿戴设备及系统,用以节省蓝牙耳机功耗。本申请实施例提供连接请求处理方法,适用于蓝牙耳机,该方法包括:在接收到终端设备发送的A2DP连接请求时,根据所述蓝牙耳机当前的状态信息,确定不需要与所述终端设备保持A2DP连接;根据在所述A2DP连接请求之前接收所述终端设备发送的其它连接请求的情况,识别所述终端设备的类别;采用与所述终端设备的类别相适配的方式处理所述A2DP连接请求,以与所述终端设备保持非A2DP连接状态。本申请实施例还提供一种蓝牙耳机,包括:存储器、处理器和通信组件;所述存储器,用于存储计算机程序;所述通信组件,用于接收终端设备发送的A2DP连接请求和其 ...
【技术保护点】
1.一种连接请求处理方法,适用于蓝牙耳机,其特征在于,所述方法包括:在接收到终端设备发送的A2DP连接请求时,根据所述蓝牙耳机当前的状态信息,确定不需要与所述终端设备保持A2DP连接;根据在接收到所述A2DP连接请求之前接收所述终端设备发送的其它连接请求的情况,识别所述终端设备的类别;采用与所述终端设备的类别相适配的方式处理所述A2DP连接请求,以与所述终端设备保持非A2DP连接状态。
【技术特征摘要】
1.一种连接请求处理方法,适用于蓝牙耳机,其特征在于,所述方法包括:在接收到终端设备发送的A2DP连接请求时,根据所述蓝牙耳机当前的状态信息,确定不需要与所述终端设备保持A2DP连接;根据在接收到所述A2DP连接请求之前接收所述终端设备发送的其它连接请求的情况,识别所述终端设备的类别;采用与所述终端设备的类别相适配的方式处理所述A2DP连接请求,以与所述终端设备保持非A2DP连接状态。2.根据权利要求1所述的方法,其特征在于,所述根据所述蓝牙耳机当前的状态信息,确定不需要与所述终端设备保持A2DP连接,包括:根据所述蓝牙耳机当前的位置状态和/或充电状态,确定不需要与所述终端设备保持A2DP连接。3.根据权利要求2所述的方法,其特征在于,根据所述蓝牙耳机当前的位置状态,确定不需要与所述终端设备保持A2DP连接,包括:根据所述蓝牙耳机上的位置传感器采集到的位置数据,确定所述蓝牙耳机脱离对应用户的耳部;当所述蓝牙耳机脱离所述用户的耳部的时长超过第一预设时长阈值时,确定不需要与所述终端设备保持A2DP连接;和/或根据所述蓝牙耳机上的位置传感器采集到的位置数据,判断所述蓝牙耳机是否脱离所述蓝牙耳机依附的穿戴设备,当判断结果为否时,确定不需要与所述终端设备保持A2DP连接。4.根据权利要求2所述的方法,其特征在于,所述根据所述蓝牙耳机当前的充电状态,确定不需要与所述终端设备保持A2DP连接,包括:判断所述蓝牙设备的外接电源端口是否有外接电源存在,当判断结果为存在时,确定不需要与所述终端设备保持A2DP连接。5.根据权利要求1所述的方法,其特征在于,所述根据在接收到所述A2DP连接请求之前接收所述终端设备发送的其它连接请求的情况,识别所述终端设备的类别,包括:若在接收到所述终端设备发送的A2DP连接请求之前未接收到所述终端设备发送的HFP连接请求,确定所述终端设备为IOS设备;若在接收到所述终端设备发送的A2DP连接请求之前接收到所述终端设备发送的iPod附件协议连接请求,确定所述终端设备为IOS设备;若在接收到所述终端设备发送的A2DP连接请求之前接收到所述终端设备发送的HFP连接请求,确定...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。