CN106604209A - Function setting method and device based on Bluetooth protocol - Google Patents
Function setting method and device based on Bluetooth protocol Download PDFInfo
- Publication number
- CN106604209A CN106604209A CN201611155542.1A CN201611155542A CN106604209A CN 106604209 A CN106604209 A CN 106604209A CN 201611155542 A CN201611155542 A CN 201611155542A CN 106604209 A CN106604209 A CN 106604209A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- noise reduction
- bluetooth equipment
- function
- reduction process
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72412—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M9/00—Arrangements for interconnection not involving centralised switching
- H04M9/08—Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Quality & Reliability (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信技术领域,特别涉及一种基于蓝牙协议的功能设置方法及装置。The invention relates to the field of communication technology, in particular to a function setting method and device based on the bluetooth protocol.
背景技术Background technique
目前大部分移动终端平台比如国际标准化组织(International Organizationfor Standardization,ISO)平台或者安卓平台等都可以连接蓝牙耳机或车载蓝牙设备,在连接上蓝牙耳机或车载蓝牙设备后,如果移动终端平台有电话进行,则对端的通话声会通过蓝牙连接传递给蓝牙耳机或车载蓝牙设备进行播放,而本地的声音输入则使用蓝牙耳机或车载蓝牙设备的麦克风输入。At present, most mobile terminal platforms such as the International Organization for Standardization (ISO) platform or the Android platform can be connected to Bluetooth headsets or car Bluetooth devices. After connecting the Bluetooth headset or car Bluetooth devices, if the mobile terminal platform has a phone , the call sound of the opposite end will be transmitted to the Bluetooth headset or the car Bluetooth device for playback through the Bluetooth connection, and the local sound input is input by the microphone of the Bluetooth headset or the car Bluetooth device.
一般情况下,蓝牙耳机或车载蓝牙设备在录入本地声音后,会对录入的本地声音进行回声消除和降噪处理,如果蓝牙耳机或车载蓝牙设备没有回声消除和降噪处理能力,则移动终端平台也可以对从蓝牙耳机或车载蓝牙设备接收的本地声音进行回声消除和降噪处理。大多数蓝牙耳机/车载蓝牙设备具有回声消除和降噪功能,这样在实际通话过程中,会出现蓝牙耳机或车载蓝牙设备对本地声音进行了回声消除和降噪处理之后,移动终端平台又对本地声音进行第二次回声消除和降噪处理,这样会引起本地声音有杂音、音量小等,表现为对端听到本地声音有杂音、音量小。Under normal circumstances, after the Bluetooth headset or car Bluetooth device records local sound, it will perform echo cancellation and noise reduction processing on the recorded local sound. If the Bluetooth headset or car Bluetooth device does not have echo cancellation and noise reduction processing capabilities, the mobile terminal platform Echo cancellation and noise reduction can also be performed on local sounds received from Bluetooth headsets or car Bluetooth devices. Most Bluetooth headsets/vehicle Bluetooth devices have echo cancellation and noise reduction functions. In this way, during the actual call, after the Bluetooth headset or car Bluetooth device has performed echo cancellation and noise reduction processing on the local sound, the mobile terminal platform will not respond to the local sound. The sound undergoes the second echo cancellation and noise reduction processing, which will cause noise and low volume of the local voice, which means that the peer end hears the local voice with noise and low volume.
发明内容Contents of the invention
本发明实施例提供一种基于蓝牙协议的功能设置方法及装置,实现了根据第二蓝牙设备的功能确定是否开启第一蓝牙设备的回声消除和降噪处理功能。Embodiments of the present invention provide a function setting method and device based on the Bluetooth protocol, which realizes determining whether to enable the echo cancellation and noise reduction processing functions of the first Bluetooth device according to the functions of the second Bluetooth device.
本发明实施例提供一种基于蓝牙协议的功能设置方法,包括:The embodiment of the present invention provides a function setting method based on the Bluetooth protocol, including:
第一蓝牙设备接收第二蓝牙设备发送的基于蓝牙通信的特征信息,所述特征信息中包括所述第二蓝牙设备是否具有回声消除和降噪处理功能的信息;The first bluetooth device receives the feature information based on bluetooth communication sent by the second bluetooth device, wherein the feature information includes whether the second bluetooth device has echo cancellation and noise reduction processing functions;
如果所述第二蓝牙设备具有回声消除和降噪处理功能,禁止所述第一蓝牙设备的回声消除和降噪处理功能;If the second Bluetooth device has echo cancellation and noise reduction processing functions, prohibit the echo cancellation and noise reduction processing functions of the first Bluetooth device;
如果所述第二蓝牙设备不具有回声消除和降噪处理功能,开启所述第一蓝牙设备的回声消除和降噪处理功能;If the second Bluetooth device does not have echo cancellation and noise reduction processing functions, enable the echo cancellation and noise reduction processing functions of the first Bluetooth device;
其中,所述回声消除和降噪处理功能是对所述第二蓝牙设备录入的声音数据的处理功能。Wherein, the echo cancellation and noise reduction processing functions are processing functions for the sound data recorded by the second Bluetooth device.
本发明实施例提供一种基于蓝牙协议的功能设置装置,包括:The embodiment of the present invention provides a function setting device based on the Bluetooth protocol, including:
特征接收模块,用于接收第二蓝牙设备发送的基于蓝牙通信的特征信息,所述特征信息中包括所述第二蓝牙设备是否具有回声消除和降噪处理功能的信息;A feature receiving module, configured to receive feature information based on Bluetooth communication sent by the second Bluetooth device, wherein the feature information includes information about whether the second Bluetooth device has echo cancellation and noise reduction processing functions;
功能禁止模块,用于如果所述第二蓝牙设备具有回声消除和降噪处理功能,禁止所述基于蓝牙协议的功能设置装置的回声消除和降噪处理功能;A function prohibition module, configured to prohibit the echo cancellation and noise reduction processing functions of the Bluetooth protocol-based function setting device if the second Bluetooth device has echo cancellation and noise reduction processing functions;
功能开启模块,用于如果所述第二蓝牙设备不具有回声消除和降噪处理功能,开启所述基于蓝牙协议的功能设置装置的回声消除和降噪处理功能;A function enabling module, configured to enable the echo cancellation and noise reduction processing functions of the Bluetooth protocol-based function setting device if the second Bluetooth device does not have echo cancellation and noise reduction processing functions;
其中,所述回声消除和降噪处理功能是对所述第二蓝牙设备录入的声音数据的处理功能。Wherein, the echo cancellation and noise reduction processing functions are processing functions for the sound data recorded by the second Bluetooth device.
可见,在本实施例的方法中,当第一蓝牙设备在建立与第二蓝牙设备之间的蓝牙通信连接的过程中,会接收第二蓝牙设备的基于蓝牙通信的特征信息,在该特征信息中包括第二蓝牙设备是否具有回声消除和降噪处理功能的信息,这样第一蓝牙设备就会根据该特征信息决定禁止或开启第一蓝牙设备的回声消除和降噪处理功能。如果第一蓝牙设备具有回声消除和降噪处理功能,则第一蓝牙设备会禁止回声消除和降噪处理功能,从而防止第一蓝牙设备重复对第二蓝牙设备录入的声音数据的重复回声消除和降噪处理,进而使得第一蓝牙设备的通话对端接收的本地声音的杂音减少,音量增加。It can be seen that in the method of this embodiment, when the first Bluetooth device is in the process of establishing a Bluetooth communication connection with the second Bluetooth device, it will receive the feature information based on Bluetooth communication of the second Bluetooth device, and the feature information Include the information of whether the second Bluetooth device has echo cancellation and noise reduction processing functions, so that the first Bluetooth device will decide to disable or enable the echo cancellation and noise reduction processing functions of the first Bluetooth device according to the characteristic information. If the first bluetooth device has echo cancellation and noise reduction processing functions, then the first bluetooth device will disable the echo cancellation and noise reduction processing functions, thereby preventing the first bluetooth device from repeating the repeated echo cancellation and The noise reduction processing further reduces the noise of the local voice received by the call peer of the first Bluetooth device, and increases the volume.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1是本发明实施例提供的一种基于蓝牙协议的功能设置方法的流程图;Fig. 1 is a flow chart of a function setting method based on the Bluetooth protocol provided by an embodiment of the present invention;
图2是本发明实施例提供的一种基于蓝牙协议的功能设置装置的结构示意图;2 is a schematic structural diagram of a function setting device based on the Bluetooth protocol provided by an embodiment of the present invention;
图3是本发明实施例提供的一种终端设备平台的结构示意图。Fig. 3 is a schematic structural diagram of a terminal device platform provided by an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排它的包含,例如,包含了一系列步骤或模块的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或模块,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或模块。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects and not necessarily Describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of practice in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or modules need not be limited to the expressly listed Instead, other steps or modules not expressly listed or inherent to the process, method, product or apparatus may be included.
本发明实施例提供一种基于蓝牙协议的功能设置方法,主要可以应用于某些支持蓝牙协议的通话终端(以下称为第一蓝牙设备)中,比如终端设备平台等功能较强的设备,方法流程图如图1所示,包括:The embodiment of the present invention provides a function setting method based on the Bluetooth protocol, which can be mainly applied to some communication terminals (hereinafter referred to as the first Bluetooth device) supporting the Bluetooth protocol, such as devices with strong functions such as terminal device platforms. The method The flowchart is shown in Figure 1, including:
步骤101,第一蓝牙设备接收第二蓝牙设备发送的基于蓝牙通信的特征信息,在特征信息中包括第二蓝牙设备是否具有回声消除和降噪处理功能的信息。其中,第二蓝牙设备可以是车载蓝牙设备或蓝牙耳机等设备。Step 101 , the first Bluetooth device receives characteristic information based on Bluetooth communication sent by the second Bluetooth device, and the characteristic information includes information about whether the second Bluetooth device has echo cancellation and noise reduction processing functions. Wherein, the second bluetooth device may be a car bluetooth device or a bluetooth headset and other devices.
可以理解,第一蓝牙设备在建立与第二蓝牙设备之间的蓝牙通信连接的过程中,可以与第二蓝牙设备之间交互各自的基于蓝牙通信的特征信息,在本实施例中,第二蓝牙设备发送给第一蓝牙设备的特征信息包括第二蓝牙设备是否具有回声消除和降噪处理功能的信息。It can be understood that, in the process of establishing a Bluetooth communication connection with the second Bluetooth device, the first Bluetooth device can exchange respective characteristic information based on Bluetooth communication with the second Bluetooth device. In this embodiment, the second Bluetooth device The feature information sent by the bluetooth device to the first bluetooth device includes information about whether the second bluetooth device has echo cancellation and noise reduction processing functions.
具体地,在第二蓝牙设备基于蓝牙通信的特征信息可以包括多个字段,其中每个字段指示第二蓝牙设备的一个特征的特征值,在这多个字段中包括第一字段,该第一字段用于指示第二蓝牙设备基于回声消除和降噪处理功能的特征值。例如,当该第一字段的特征值为真(ture),则指示第二蓝牙设备具有回声消除和降噪处理功能,当第一字段的特征值为假(false),则指示第二蓝牙设备不具有回声消除和降噪处理功能。Specifically, the feature information of the second Bluetooth device based on Bluetooth communication may include multiple fields, wherein each field indicates a feature value of a feature of the second Bluetooth device, and the multiple fields include the first field, the first The field is used to indicate the characteristic value of the second Bluetooth device based on echo cancellation and noise reduction processing functions. For example, when the characteristic value of the first field is true (true), it indicates that the second Bluetooth device has echo cancellation and noise reduction processing functions; when the characteristic value of the first field is false (false), it indicates that the second Bluetooth device Does not have echo cancellation and noise reduction processing functions.
在第一蓝牙设备建立与第二蓝牙设备之间的蓝牙通信连接后,第二蓝牙设备可以通过该蓝牙通信连接控制第一蓝牙设备的通话,比如接听,挂断,拒接或是语音拨号等,其中,在第一蓝牙设备与对端的通话过程中,第一蓝牙设备可以将接收的对端声音数据通过该蓝牙通信连接传输给第二蓝牙设备进行播放,而第二蓝牙设备将本地的声音数据通过该蓝牙通信连接传输给第一蓝牙设备以发送到对端。则第一蓝牙设备与第二蓝牙设备之间的蓝牙通信连接可以是耳机(Headset)协议或是免提协议(Hands-free Profile,HFP)的连接,上述基于蓝牙通信的特征信息为Headset协议或HFP协议的特征信息。After the first Bluetooth device establishes a Bluetooth communication connection with the second Bluetooth device, the second Bluetooth device can control the call of the first Bluetooth device through the Bluetooth communication connection, such as answering, hanging up, rejecting or voice dialing, etc. , wherein, during the conversation between the first bluetooth device and the opposite end, the first bluetooth device can transmit the received sound data of the opposite end to the second bluetooth device through the bluetooth communication connection for playback, and the second bluetooth device transmits the local sound data The data is transmitted to the first Bluetooth device through the Bluetooth communication connection for sending to the opposite end. Then the bluetooth communication connection between the first bluetooth device and the second bluetooth device may be the connection of the headset (Headset) protocol or the hands-free protocol (Hands-free Profile, HFP), and the above-mentioned feature information based on bluetooth communication is the Headset protocol or Feature information of the HFP protocol.
步骤102,根据步骤101接收的特征信息,如果第二蓝牙设备具有回声消除和降噪处理功能,禁止第一蓝牙设备的回声消除和降噪处理功能,这样,在第二蓝牙设备控制第一蓝牙设备的通话过程中,由第二蓝牙设备对录入的本地声音数据进行回声消除和降噪处理。这里回声消除和降噪处理功能是对第二蓝牙设备录入的声音数据的处理功能。Step 102, according to the feature information received in step 101, if the second bluetooth device has echo cancellation and noise reduction processing functions, prohibit the echo cancellation and noise reduction processing functions of the first bluetooth device, so that when the second bluetooth device controls the first bluetooth During the call of the device, the second Bluetooth device performs echo cancellation and noise reduction processing on the recorded local sound data. Here, the echo cancellation and noise reduction processing functions are processing functions for the sound data recorded by the second bluetooth device.
步骤103,根据步骤101接收的特征信息,如果第二蓝牙设备不具有回声消除和降噪处理功能,开启第一蓝牙设备的回声消除和降噪处理功能,这样,在第二蓝牙设备控制第一蓝牙设备的通话过程中,由第一蓝牙设备对第二蓝牙设备发送的本地声音数据进行回声消除和降噪处理。Step 103, according to the feature information received in step 101, if the second bluetooth device does not have echo cancellation and noise reduction processing functions, turn on the echo cancellation and noise reduction processing functions of the first bluetooth device, so that when the second bluetooth device controls the first During the call of the Bluetooth device, the first Bluetooth device performs echo cancellation and noise reduction processing on the local sound data sent by the second Bluetooth device.
需要说明的是,一般情况下,如果第二蓝牙设备具有回声消除和降噪处理功能时,在与第一蓝牙设备进行交互的过程中,第一蓝牙设备会默认开启回声消除和降噪处理功能,则需要第二蓝牙设备发送禁止第一蓝牙设备的回声消除和降噪处理功能的命令给第一蓝牙设备,由第二蓝牙设备对录入的声音数据进行回声消除和降噪处理。但是有些第二蓝牙设备不会发送禁止第一蓝牙设备的回声消除和降噪处理功能的命令,为了防止对第二蓝牙设备录入的声音数据的重复回声消除和降噪处理,本实施例中,第一蓝牙设备可以根据第二蓝牙设备是否具有回声消除和降噪处理的功能,决定禁止或开启第一蓝牙设备的回声消除和降噪处理功能。It should be noted that, in general, if the second Bluetooth device has echo cancellation and noise reduction processing functions, the first Bluetooth device will enable the echo cancellation and noise reduction processing functions by default during the interaction with the first Bluetooth device , then the second bluetooth device needs to send a command to disable the echo cancellation and noise reduction processing functions of the first bluetooth device to the first bluetooth device, and the second bluetooth device performs echo cancellation and noise reduction processing on the recorded sound data. However, some second bluetooth devices will not send commands to disable the echo cancellation and noise reduction processing functions of the first bluetooth device. In order to prevent repeated echo cancellation and noise reduction processing of the sound data entered by the second bluetooth device, in this embodiment, The first Bluetooth device may decide to disable or enable the echo cancellation and noise reduction processing functions of the first Bluetooth device according to whether the second Bluetooth device has the echo cancellation and noise reduction processing functions.
可见,在本实施例的方法中,当第一蓝牙设备在建立与第二蓝牙设备之间的蓝牙通信连接的过程中,会接收第二蓝牙设备的基于蓝牙通信的特征信息,在该特征信息中包括第二蓝牙设备是否具有回声消除和降噪处理功能的信息,这样第一蓝牙设备就会根据该特征信息决定禁止或开启第一蓝牙设备的回声消除和降噪处理功能。如果第一蓝牙设备具有回声消除和降噪处理功能,则第一蓝牙设备会禁止回声消除和降噪处理功能,从而防止第一蓝牙设备重复对第二蓝牙设备录入的声音数据的重复回声消除和降噪处理,进而使得第一蓝牙设备的通话对端接收的本地声音的杂音减少,音量增加。It can be seen that in the method of this embodiment, when the first Bluetooth device is in the process of establishing a Bluetooth communication connection with the second Bluetooth device, it will receive the feature information based on Bluetooth communication of the second Bluetooth device, and the feature information Include the information of whether the second Bluetooth device has echo cancellation and noise reduction processing functions, so that the first Bluetooth device will decide to disable or enable the echo cancellation and noise reduction processing functions of the first Bluetooth device according to the feature information. If the first bluetooth device has echo cancellation and noise reduction processing functions, then the first bluetooth device will disable the echo cancellation and noise reduction processing functions, thereby preventing the first bluetooth device from repeating the repeated echo cancellation and The noise reduction processing further reduces the noise of the local voice received by the call peer of the first Bluetooth device, and increases the volume.
在具体的实施例中,在第一蓝牙设备根据上述步骤101到103设置了第一蓝设备的回声消除和降噪处理功能后,对于有些第二蓝牙设备,在通过与第一蓝牙设备之间的蓝牙通信连接控制第一蓝牙设备的过程中,还是会根据实际情况,发送禁止或开启第一蓝牙设备的回声消除和降噪处理功能的命令给第一蓝牙设备。具体地:In a specific embodiment, after the first bluetooth device has set the echo cancellation and noise reduction processing functions of the first bluetooth device according to the above steps 101 to 103, for some second bluetooth devices, between passing through and the first bluetooth device In the process of controlling the first bluetooth device through the bluetooth communication connection, a command to disable or enable the echo cancellation and noise reduction processing functions of the first bluetooth device will be sent to the first bluetooth device according to the actual situation. specifically:
在第二蓝牙设备控制第一蓝牙设备的通话过程中,第一蓝牙设备接收第二蓝牙设备发送的禁止第一蓝牙设备的回声消除和降噪处理功能的第一命令,如果第一蓝牙设备当前已开启了回声消除和降噪处理功能,则第一蓝牙设备会根据第一命令禁止第一蓝牙设备的回声消除和降噪处理功能。During the conversation of the first Bluetooth device controlled by the second Bluetooth device, the first Bluetooth device receives the first command for prohibiting the echo cancellation and noise reduction processing functions of the first Bluetooth device sent by the second Bluetooth device, if the first Bluetooth device is currently If the echo cancellation and noise reduction processing functions have been turned on, the first Bluetooth device disables the echo cancellation and noise reduction processing functions of the first Bluetooth device according to the first command.
在第二蓝牙设备控制所述第一蓝牙设备的通话过程中,第一蓝牙设备接收第二蓝牙设备发送的开启第一蓝牙设备的回声消除和降噪处理功能的第二命令,如果第一蓝牙设备当前未开启回声消除和降噪处理功能,则第一蓝牙设备会根据第二命令开启第一蓝牙设备的回声消除和降噪处理功能。During the call in which the second Bluetooth device controls the first Bluetooth device, the first Bluetooth device receives the second command sent by the second Bluetooth device to enable the echo cancellation and noise reduction processing functions of the first Bluetooth device, if the first Bluetooth device If the echo cancellation and noise reduction processing functions of the device are not currently enabled, the first Bluetooth device will enable the echo cancellation and noise reduction processing functions of the first Bluetooth device according to the second command.
本发明实施例还提供一种基于蓝牙协议的功能设置装置,即上述的第一蓝牙设备,其结构示意图如图2所示,具体可以包括:The embodiment of the present invention also provides a function setting device based on the Bluetooth protocol, that is, the above-mentioned first Bluetooth device, its structural diagram is shown in Figure 2, and may specifically include:
特征接收模块10,用于接收第二蓝牙设备发送的基于蓝牙通信的特征信息,所述特征信息中包括所述第二蓝牙设备是否具有回声消除和降噪处理功能的信息。The feature receiving module 10 is configured to receive feature information based on Bluetooth communication sent by the second Bluetooth device, the feature information including whether the second Bluetooth device has echo cancellation and noise reduction processing functions.
具体地,所述特征接收模块10接收的基于蓝牙通信的特征信息包括多个字段,其中,任一字段指示所述第二蓝牙设备的一个特征的特征值,所述多个字段中包括第一字段,所述第一字段用于指示所述第二蓝牙设备基于回声消除和降噪处理功能的特征值。Specifically, the feature information based on Bluetooth communication received by the feature receiving module 10 includes multiple fields, wherein any field indicates a feature value of a feature of the second Bluetooth device, and the multiple fields include the first field, and the first field is used to indicate the characteristic value of the second Bluetooth device based on echo cancellation and noise reduction processing functions.
功能禁止模块11,用于根据特征接收模块10接收的特征信息,如果所述第二蓝牙设备具有回声消除和降噪处理功能,禁止所述基于蓝牙协议的功能设置装置的回声消除和降噪处理功能。The function prohibition module 11 is used to prohibit the echo cancellation and noise reduction processing of the function setting device based on the Bluetooth protocol if the second Bluetooth device has echo cancellation and noise reduction processing functions according to the feature information received by the feature receiving module 10 Function.
功能开启模块12,用于根据特征接收模块10接收的特征信息,如果所述第二蓝牙设备不具有回声消除和降噪处理功能,开启所述基于蓝牙协议的功能设置装置的回声消除和降噪处理功能;其中,所述回声消除和降噪处理功能是对所述第二蓝牙设备录入的声音数据的处理功能。Function opening module 12, for according to the feature information received by feature receiving module 10, if the second bluetooth device does not have echo cancellation and noise reduction processing function, open the echo cancellation and noise reduction of the function setting device based on bluetooth protocol Processing function; wherein, the echo cancellation and noise reduction processing function is a processing function for the sound data recorded by the second Bluetooth device.
在具体的实施例中,所述功能禁止模块11,还用于在所述第二蓝牙设备控制所述基于蓝牙协议的功能设置装置的通话过程中,接收第二蓝牙设备发送的禁止所述基于蓝牙协议的功能设置装置的回声消除和降噪处理功能的第一命令,如果所述基于蓝牙协议的功能设置装置当前已开启了回声消除和降噪处理功能,则根据所述第一命令禁止所述基于蓝牙协议的功能设置装置的回声消除和降噪处理功能。In a specific embodiment, the function disabling module 11 is further configured to receive a message from the second bluetooth device to prohibit the The first command of the echo cancellation and noise reduction processing function of the function setting device of the Bluetooth protocol, if the function setting device based on the Bluetooth protocol has currently opened the echo cancellation and noise reduction processing functions, then according to the first command prohibit all The echo cancellation and noise reduction processing functions of the function setting device based on the Bluetooth protocol are described.
所述功能开启模块12,还用于在所述第二蓝牙设备控制所述基于蓝牙协议的功能设置装置的通话过程中,接收第二蓝牙设备发送的开启所述基于蓝牙协议的功能设置装置的回声消除和降噪处理功能的第二命令,如果所述基于蓝牙协议的功能设置装置当前未开启回声消除和降噪处理功能,则根据所述第二命令开启所述基于蓝牙协议的功能设置装置的回声消除和降噪处理功能。The function enabling module 12 is also used to receive the information sent by the second Bluetooth device to enable the function setting device based on the Bluetooth protocol during the call process of the second Bluetooth device controlling the function setting device based on the Bluetooth protocol. The second command of the echo cancellation and noise reduction processing function, if the function setting device based on the Bluetooth protocol does not currently enable the echo cancellation and noise reduction processing function, then start the function setting device based on the Bluetooth protocol according to the second command Echo cancellation and noise reduction processing functions.
需要说明的是,本实施例的基于蓝牙协议的功能设置装置可以为通话终端,所述第二蓝牙设备为蓝牙耳机或车载蓝牙设备;所述基于蓝牙通信的特征信息为耳机协议或免提协议的特征信息。It should be noted that the function setting device based on the Bluetooth protocol in this embodiment can be a call terminal, the second Bluetooth device is a Bluetooth headset or a vehicle-mounted Bluetooth device; the feature information based on Bluetooth communication is a headset protocol or a hands-free protocol feature information.
可见,在本实施例的方法中,当第一蓝牙设备在建立与第二蓝牙设备之间的蓝牙通信连接的过程中,会接收第二蓝牙设备的基于蓝牙通信的特征信息,在该特征信息中包括第二蓝牙设备是否具有回声消除和降噪处理功能的信息,这样第一蓝牙设备就会根据该特征信息决定禁止或开启第一蓝牙设备的回声消除和降噪处理功能。如果第一蓝牙设备具有回声消除和降噪处理功能,则第一蓝牙设备会禁止回声消除和降噪处理功能,从而防止第一蓝牙设备重复对第二蓝牙设备录入的声音数据的重复回声消除和降噪处理,进而使得第一蓝牙设备的通话对端接收的本地声音的杂音减少,音量增加。It can be seen that in the method of this embodiment, when the first Bluetooth device is in the process of establishing a Bluetooth communication connection with the second Bluetooth device, it will receive the feature information based on Bluetooth communication of the second Bluetooth device, and the feature information Include the information of whether the second Bluetooth device has echo cancellation and noise reduction processing functions, so that the first Bluetooth device will decide to disable or enable the echo cancellation and noise reduction processing functions of the first Bluetooth device according to the characteristic information. If the first bluetooth device has echo cancellation and noise reduction processing functions, then the first bluetooth device will disable the echo cancellation and noise reduction processing functions, thereby preventing the first bluetooth device from repeating the repeated echo cancellation and The noise reduction processing further reduces the noise of the local voice received by the call peer of the first Bluetooth device, and increases the volume.
本发明实施例还提供一种终端设备平台,其结构示意图如图3所示,该终端设备平台可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units,CPU)20(例如,一个或一个以上处理器)和存储器21,一个或一个以上存储应用程序221或数据222的存储介质22(例如一个或一个以上海量存储设备)。其中,存储器21和存储介质22可以是短暂存储或持久存储。存储在存储介质22的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对终端设备平台中的一系列指令操作。更进一步地,中央处理器20可以设置为与存储介质22通信,在终端设备平台上执行存储介质22中的一系列指令操作。The embodiment of the present invention also provides a terminal equipment platform, the structural diagram of which is shown in Figure 3, the terminal equipment platform may have relatively large differences due to different configurations or performances, and may include one or more central processing units (central processing units). units, CPU) 20 (for example, one or more processors) and memory 21, and one or more storage media 22 for storing application programs 221 or data 222 (for example, one or more mass storage devices). Wherein, the memory 21 and the storage medium 22 may be temporary storage or persistent storage. The program stored in the storage medium 22 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the terminal device platform. Furthermore, the central processing unit 20 may be configured to communicate with the storage medium 22, and execute a series of instruction operations in the storage medium 22 on the terminal device platform.
具体地,在存储介质22中储存的应用程序221包括基于蓝牙协议的功能设置的应用程序,且该程序可以包括上述基于蓝牙协议的功能设置装置中的特征接收模块10,功能禁止模块11和功能开启模块12,在此不进行赘述。更进一步地,中央处理器20可以设置为与存储介质22通信,在终端设备平台上执行存储介质22中储存的基于蓝牙协议的功能设置的应用程序对应的一系列操作。Specifically, the application program 221 stored in the storage medium 22 includes an application program based on the function setting of the Bluetooth protocol, and the program may include the feature receiving module 10 in the above-mentioned function setting device based on the Bluetooth protocol, the function prohibiting module 11 and the function Turn on the module 12, which will not be described in detail here. Furthermore, the central processing unit 20 can be configured to communicate with the storage medium 22, and execute a series of operations corresponding to the application program based on the Bluetooth protocol function setting stored in the storage medium 22 on the terminal device platform.
终端设备平台还可以包括一个或一个以上电源23,一个或一个以上有线或无线网络接口24,一个或一个以上输入输出接口25,和/或,一个或一个以上操作系统223,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。The terminal equipment platform can also include one or more power supplies 23, one or more wired or wireless network interfaces 24, one or more input and output interfaces 25, and/or, one or more operating systems 223, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
上述方法实施例中所述的由第一蓝牙设备所执行的步骤可以基于该图3所示的终端设备平台的结构。The steps performed by the first Bluetooth device in the foregoing method embodiments may be based on the structure of the terminal device platform shown in FIG. 3 .
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(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: Read Only Memory (ROM), Random Access Memory (RAM), Magnetic Disk or Optical Disk, etc.
以上对本发明实施例所提供的基于蓝牙协议的功能设置方法及装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The function setting method and device based on the Bluetooth protocol provided by the embodiment of the present invention have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiment is only for helping understanding The method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be construed as a limitation of the invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611155542.1A CN106604209A (en) | 2016-12-14 | 2016-12-14 | Function setting method and device based on Bluetooth protocol |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611155542.1A CN106604209A (en) | 2016-12-14 | 2016-12-14 | Function setting method and device based on Bluetooth protocol |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106604209A true CN106604209A (en) | 2017-04-26 |
Family
ID=58801296
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611155542.1A Pending CN106604209A (en) | 2016-12-14 | 2016-12-14 | Function setting method and device based on Bluetooth protocol |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106604209A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107799123A (en) * | 2017-12-14 | 2018-03-13 | 南京地平线机器人技术有限公司 | The method of control echo arrester and the device with echo cancellation performance |
| CN109087660A (en) * | 2018-09-29 | 2018-12-25 | 百度在线网络技术(北京)有限公司 | Method, apparatus, equipment and computer readable storage medium for echo cancellor |
| CN113838473A (en) * | 2021-09-26 | 2021-12-24 | 科大讯飞股份有限公司 | Voice processing method and device of equipment and equipment |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101170827A (en) * | 2007-11-23 | 2008-04-30 | 中兴通讯股份有限公司 | How to configure the voice enhancement function |
| CN101741430A (en) * | 2009-12-14 | 2010-06-16 | 中兴通讯股份有限公司 | Method for switching audio channels and media play system |
| CN104581535A (en) * | 2015-01-26 | 2015-04-29 | 深圳市冠旭电子有限公司 | Headset noise reduction method and device |
| CN105141729A (en) * | 2015-08-18 | 2015-12-09 | 北京恒华伟业科技股份有限公司 | Noise reduction method, noise reduction device and mobile phone |
| CN105340011A (en) * | 2013-06-28 | 2016-02-17 | 哈曼国际工业有限公司 | Wireless control of linked devices |
| CN205408099U (en) * | 2016-02-17 | 2016-07-27 | 深圳市全智达科技有限公司 | Mobile terminal with function of making an uproar is fallen |
-
2016
- 2016-12-14 CN CN201611155542.1A patent/CN106604209A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101170827A (en) * | 2007-11-23 | 2008-04-30 | 中兴通讯股份有限公司 | How to configure the voice enhancement function |
| CN101741430A (en) * | 2009-12-14 | 2010-06-16 | 中兴通讯股份有限公司 | Method for switching audio channels and media play system |
| CN105340011A (en) * | 2013-06-28 | 2016-02-17 | 哈曼国际工业有限公司 | Wireless control of linked devices |
| CN104581535A (en) * | 2015-01-26 | 2015-04-29 | 深圳市冠旭电子有限公司 | Headset noise reduction method and device |
| CN105141729A (en) * | 2015-08-18 | 2015-12-09 | 北京恒华伟业科技股份有限公司 | Noise reduction method, noise reduction device and mobile phone |
| CN205408099U (en) * | 2016-02-17 | 2016-07-27 | 深圳市全智达科技有限公司 | Mobile terminal with function of making an uproar is fallen |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107799123A (en) * | 2017-12-14 | 2018-03-13 | 南京地平线机器人技术有限公司 | The method of control echo arrester and the device with echo cancellation performance |
| CN107799123B (en) * | 2017-12-14 | 2021-07-23 | 南京地平线机器人技术有限公司 | Method for controlling echo eliminator and device with echo eliminating function |
| CN109087660A (en) * | 2018-09-29 | 2018-12-25 | 百度在线网络技术(北京)有限公司 | Method, apparatus, equipment and computer readable storage medium for echo cancellor |
| CN113838473A (en) * | 2021-09-26 | 2021-12-24 | 科大讯飞股份有限公司 | Voice processing method and device of equipment and equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11812485B2 (en) | Bluetooth communication method and terminal | |
| US7187953B2 (en) | System for controlling wireless communications from a moving vehicle | |
| US20140170979A1 (en) | Contextual power saving in bluetooth audio | |
| US10182138B2 (en) | Smart way of controlling car audio system | |
| CN106303933B (en) | Bluetooth power adjustment method and device | |
| EP1536660A2 (en) | Communication system, communication units, and method of ambience listening thereto | |
| US20180176713A1 (en) | Systems and methods for muting a wireless communication device | |
| CN106452512A (en) | A method and device for role switching based on Bluetooth connection | |
| KR101511238B1 (en) | METHOD AND APPARATUS FOR INTEGRATING A SOFT MOBILE VoIP CLIENT IN A CELLULAR PC CARD | |
| US10827455B1 (en) | Method and apparatus for sending a notification to a short-range wireless communication audio output device | |
| WO2013127302A1 (en) | Method and terminal for preventing voice crosstalk between external loudspeaker and microphone | |
| EP3192323B1 (en) | Extending communication services to a consumption device using a proxy device | |
| CN106412326B (en) | A kind of parameter adjustment method of terminal equipment and terminal equipment | |
| JPWO2014010054A1 (en) | Electronics | |
| EP3240269B2 (en) | A headset adapter and a headset system | |
| WO2021239032A1 (en) | Bluetooth protocol connection method and apparatus, storage medium, and related device | |
| CN106604209A (en) | Function setting method and device based on Bluetooth protocol | |
| CN102917102B (en) | A kind of method received calls in on-board telephone system and car | |
| CN107835518B (en) | Control method for selectively connecting and searching Bluetooth, mobile terminal and storage medium | |
| CN106791243B (en) | A kind of function setting method and device based on bluetooth protocol | |
| CN110933710B (en) | Voice communication control method and system | |
| US20120094602A1 (en) | Bluetooth headset for mobile phone | |
| US8238827B2 (en) | Information processing apparatus | |
| US20080161067A1 (en) | Method and apparatus for wireless dialing | |
| US11056106B2 (en) | Voice interaction system and information processing apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
| CB02 | Change of applicant information | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170426 |
|
| RJ01 | Rejection of invention patent application after publication |