Method for recording voice and electronic device

一种录入语音的方法及电子设备

Abstract

本发明公开了一种录入语音的方法,所述方法包括:获得第一触发指令,所述第一触发指令用于指示移动终端启动语音录入功能进行语音采集;基于所述第一触发指令判断所述移动终端是否通过蓝牙通信协议连接另一电子设备;当所述移动终端通过蓝牙通信协议连接另一电子设备时,所述移动终端在启动所述语音录入功能的过程中断开通过蓝牙通信协议与另一电子设备的连接,以确保所述移动终端在启动所述语音录入功能之后基于所述移动终端自身的麦克风采集语音数据。同时,本发明还公开了一种电子设备。采用本发明的技术方案,能根据移动终端当前的工作状态自动实现移动终端蓝牙与车载蓝牙的连接与断开,提升了用户的使用体验。
The invention discloses a method for recording voice. The method comprises the steps of acquiring a first triggering command which is used for instructing a mobile terminal to enable a voice recording function to collect voice; based on the first triggering command, judging that whether the mobile terminal is connected with the other electronic device via a Bluetooth communication protocol; and when the mobile terminal is connected with the other electronic device via the Bluetooth communication protocol, disconnecting the connection with the other electronic device established via the Bluetooth communication protocol during a process that the mobile terminal enables the voice recording function, thus ensuring that the mobile terminal collects voice data based an own microphone of the mobile terminal after enabling the voice recording function. Meanwhile, the invention also discloses an electronic device. By using the method and electronic devices, connection and disconnection between the mobile terminal Bluetooth and vehicle-mounted Bluetooth can be automatically achieved according to the current working condition of the mobile terminal, and the user experience is enhanced.

Claims

Description

Topics

Download Full PDF Version (Non-Commercial Use)

Patent Citations (0)

    Publication numberPublication dateAssigneeTitle

NO-Patent Citations (0)

    Title

Cited By (0)

    Publication numberPublication dateAssigneeTitle