[go: up one dir, main page]

CN106210951A - Adaptation method, device and terminal of a bluetooth headset - Google Patents

Adaptation method, device and terminal of a bluetooth headset Download PDF

Info

Publication number
CN106210951A
CN106210951A CN201610669018.XA CN201610669018A CN106210951A CN 106210951 A CN106210951 A CN 106210951A CN 201610669018 A CN201610669018 A CN 201610669018A CN 106210951 A CN106210951 A CN 106210951A
Authority
CN
China
Prior art keywords
sensitivity
bluetooth headset
terminal
sensitivity type
uplink communication
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
Application number
CN201610669018.XA
Other languages
Chinese (zh)
Inventor
朱镇和
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610669018.XA priority Critical patent/CN106210951A/en
Publication of CN106210951A publication Critical patent/CN106210951A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/05Detection of connection of loudspeakers or headphones to amplifiers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses an adaptation method, an adaptation device and a terminal of a Bluetooth headset. The method comprises the following steps: when the connection between the current terminal and the Bluetooth headset is detected, determining the sensitivity type of the Bluetooth headset according to a set rule; adjusting the uplink communication gain according to the sensitivity type; and receiving uplink data sent by the Bluetooth headset according to the adjusted uplink communication gain. According to the technical scheme provided by the embodiment of the invention, after the terminal is connected with the Bluetooth headset, the sensitivity type of the Bluetooth headset is firstly determined so as to adjust the uplink communication gain according to the sensitivity type, the uplink data sent by the Bluetooth headset is received according to the adjusted uplink communication gain, and the terminal can adaptively adjust the uplink communication gain according to the connected Bluetooth headsets with different sensitivity types to carry out uplink data communication, so that the terminal can adaptively adapt to the Bluetooth headsets with different sensitivity types.

Description

一种蓝牙耳机的适配方法、装置和终端Adaptation method, device and terminal of a bluetooth headset

技术领域technical field

本发明实施例涉及无线通信技术领域,尤其涉及一种蓝牙耳机的适配方法、装置和终端。The embodiments of the present invention relate to the technical field of wireless communication, and in particular to a Bluetooth headset adaptation method, device and terminal.

背景技术Background technique

随着蓝牙技术的发展,蓝牙耳机的使用场景越来越普遍,蓝牙耳机的类型从声道数上看,有单耳单声道的蓝牙耳机和双耳双声道的蓝牙耳机,从入耳类型来看,有耳塞式蓝牙耳机和入耳式蓝牙耳机。但是各个品牌的蓝牙耳机的结构腔体不同,集成电路((Integrated Circuit,IC)器件用料不同,设计上的差异也较大,造成各种蓝牙耳机的灵敏度都不一样。给用户造成的直观感受就是当使用与终端标配的蓝牙耳机通话时效果很好,但是换了一款蓝牙耳机就会出现通话时有杂音,音量小等问题。With the development of Bluetooth technology, the use of Bluetooth headsets is becoming more and more common. From the perspective of the number of channels, the types of Bluetooth headsets include single-ear monophonic Bluetooth headsets and binaural dual-channel Bluetooth headsets. Look, there are earbud Bluetooth headsets and in-ear Bluetooth headsets. However, the structures and cavities of Bluetooth headsets of various brands are different, the materials used for integrated circuit (IC) devices are different, and the design differences are also large, resulting in different sensitivities of various Bluetooth headsets. The feeling is that when using the Bluetooth headset that is standard with the terminal, the effect is very good, but if you change to a Bluetooth headset, there will be noise during the call, and the volume is low.

图1给出了现有技术中蓝牙耳机与终端的上行通信信号的波形图,如图1所示,蓝牙耳机通过麦克风接收到用户的语音后,将声音信号转换为电通信信号发送给终端。当终端连接了标配的蓝牙耳机时,蓝牙耳机向终端发送的通信信号A适中,通话效果最佳;当终端连接了高灵敏度的蓝牙耳机时,蓝牙耳机向终端发送的通信信号B过大造成削顶失真;当终端连接了低灵敏度的蓝牙耳机时,蓝牙耳机向终端发送的通信信号C偏小,导致音量较小。现有技术中的终端只适配一种蓝牙耳机,当终端连接非标配的蓝牙耳机时,无法进行正常通话,严重影响用户体验。Fig. 1 shows the waveform diagram of the uplink communication signal between the Bluetooth headset and the terminal in the prior art. As shown in Fig. 1, after the Bluetooth headset receives the user's voice through the microphone, the audio signal is converted into an electrical communication signal and sent to the terminal. When the terminal is connected to a standard Bluetooth headset, the communication signal A sent by the Bluetooth headset to the terminal is moderate, and the call effect is the best; when the terminal is connected to a high-sensitivity Bluetooth headset, the communication signal B sent by the Bluetooth headset to the terminal is too large to cause Clipping distortion; when the terminal is connected to a low-sensitivity Bluetooth headset, the communication signal C sent by the Bluetooth headset to the terminal is too small, resulting in a low volume. Terminals in the prior art are only compatible with one type of Bluetooth headset. When a terminal is connected to a non-standard Bluetooth headset, normal calls cannot be made, which seriously affects user experience.

发明内容Contents of the invention

本发明实施例提供一种蓝牙耳机的适配方法、装置和终端,以自适应适配终端所连接的蓝牙耳机。Embodiments of the present invention provide a Bluetooth headset adaptation method, device, and terminal to adaptively adapt the Bluetooth headset connected to the terminal.

在第一方面,本发明实施例提供了一种蓝牙耳机的适配方法,包括:In a first aspect, an embodiment of the present invention provides a Bluetooth headset adaptation method, including:

在检测到当前终端与蓝牙耳机连接时,按照设定规则确定所述蓝牙耳机的灵敏度类型;When detecting that the current terminal is connected to the Bluetooth headset, determine the sensitivity type of the Bluetooth headset according to a set rule;

根据所述灵敏度类型调整上行通信增益;adjusting the uplink communication gain according to the sensitivity type;

根据调整后的上行通信增益接收所述蓝牙耳机发送的上行数据。The uplink data sent by the Bluetooth headset is received according to the adjusted uplink communication gain.

在第二方面,本发明实施例提供了一种蓝牙耳机的适配装置,包括:In a second aspect, an embodiment of the present invention provides an adapter device for a Bluetooth headset, including:

灵敏度类型确定模块,用于在检测到当前终端与蓝牙耳机连接时,按照设定规则确定所述蓝牙耳机的灵敏度类型;The sensitivity type determination module is used to determine the sensitivity type of the Bluetooth headset according to the set rules when it is detected that the current terminal is connected to the Bluetooth headset;

第一上行通信增益调整模块,用于根据所述灵敏度类型调整上行通信增益;A first uplink communication gain adjustment module, configured to adjust uplink communication gain according to the sensitivity type;

上行数据发送模块,用于根据调整后的上行通信增益接收所述蓝牙耳机发送的上行数据。The uplink data sending module is configured to receive the uplink data sent by the Bluetooth headset according to the adjusted uplink communication gain.

在第三方面,本发明实施例提供了一种终端,所述终端集成了如第二方面所提供的装置。In a third aspect, an embodiment of the present invention provides a terminal, where the terminal integrates the apparatus provided in the second aspect.

本发明实施例通过终端在与蓝牙耳机连接后,先确定所述蓝牙耳机的灵敏度类型,以根据所述灵敏度类型调整上行通信增益,根据调整后的上行通信增益接收所述蓝牙耳机发送的上行数据,终端可以根据连接的不同灵敏度类型的蓝牙耳机自适应的调整上行通信增益进行上行数据的通信,使终端可以自适应的适配不同灵敏度类型的蓝牙耳机。In the embodiment of the present invention, after the terminal is connected to the Bluetooth headset, firstly determine the sensitivity type of the Bluetooth headset, adjust the uplink communication gain according to the sensitivity type, and receive the uplink data sent by the Bluetooth headset according to the adjusted uplink communication gain The terminal can adaptively adjust the uplink communication gain for uplink data communication according to the connected Bluetooth headsets of different sensitivities, so that the terminal can adaptively adapt to the Bluetooth headsets of different sensitivities.

附图说明Description of drawings

图1是现有技术中蓝牙耳机与终端的上行通信信号的波形图;FIG. 1 is a waveform diagram of an uplink communication signal between a Bluetooth headset and a terminal in the prior art;

图2是本发明实施例一提供的蓝牙耳机的适配方法的流程图;FIG. 2 is a flowchart of a Bluetooth headset adaptation method provided by Embodiment 1 of the present invention;

图3是本发明实施例一提供的终端A与终端B之间通信的结构示意图;FIG. 3 is a schematic structural diagram of communication between terminal A and terminal B provided by Embodiment 1 of the present invention;

图4是本发明实施例二提供的蓝牙耳机的适配方法的流程图;FIG. 4 is a flow chart of a Bluetooth headset adaptation method provided by Embodiment 2 of the present invention;

图5是本发明实施例三提供的蓝牙耳机的适配方法的流程图;FIG. 5 is a flowchart of a Bluetooth headset adaptation method provided by Embodiment 3 of the present invention;

图6是本发明实施例四提供的蓝牙耳机的适配装置的结构示意图;FIG. 6 is a schematic structural diagram of an adapter device for a Bluetooth headset provided in Embodiment 4 of the present invention;

图7是本发明实施例五提供的终端的结构示意图。FIG. 7 is a schematic structural diagram of a terminal provided in Embodiment 5 of the present invention.

具体实施方式detailed description

为了使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明具体实施例作进一步的详细描述。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部内容。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。In order to make the object, technical solution and advantages of the present invention clearer, specific embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only parts related to the present invention are shown in the drawings but not all content. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe various operations (or steps) as sequential processing, many of the operations may be performed in parallel, concurrently, or simultaneously. In addition, the order of operations can be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

实施例一Embodiment one

图2给出了本发明实施例一提供的蓝牙耳机的适配方法的流程图,本实施例的方法可以由蓝牙耳机的适配装置来执行,该装置可通过硬件和/或软件的方式实现,所述装置可作为终端的一部分设置在所述终端内部。Figure 2 shows a flow chart of the Bluetooth headset adaptation method provided by Embodiment 1 of the present invention. The method of this embodiment can be executed by the Bluetooth headset adaptation device, which can be implemented by means of hardware and/or software , the device may be set inside the terminal as a part of the terminal.

如图2所示,本实施例提供的蓝牙耳机的适配方法具体包括以下步骤:As shown in Figure 2, the adaptation method of the Bluetooth headset provided in this embodiment specifically includes the following steps:

步骤101、在检测到当前终端与蓝牙耳机连接时,按照设定规则确定所述蓝牙耳机的灵敏度类型。Step 101, when it is detected that the current terminal is connected to the Bluetooth headset, determine the sensitivity type of the Bluetooth headset according to a set rule.

本实施例中所述的终端包括但不限定于手机、笔记本、平板电脑等配置有蓝牙通信模块的设备。The terminals described in this embodiment include but are not limited to mobile phones, notebooks, tablet computers and other devices equipped with Bluetooth communication modules.

其中,所述蓝牙耳机的灵敏度是指蓝牙耳机通过蓝牙耳机的麦克风获取到用户的1分贝单位声音所能转换成的毫瓦功率的电信号。Wherein, the sensitivity of the bluetooth earphone refers to the electric signal of the milliwatt power that the bluetooth earphone can obtain from the user's 1 decibel unit sound through the microphone of the bluetooth earphone.

其中,所述蓝牙耳机的灵敏度类型包括标准适配灵敏度、高灵敏度和低灵敏度。所述标准适配灵敏度是指与当前终端标准适配的蓝牙耳机的灵敏度,所述高灵敏度大于终端的标准适配灵敏度,所述低灵敏度小于终端的标准适配灵敏度。Wherein, the sensitivity types of the Bluetooth headset include standard adaptation sensitivity, high sensitivity and low sensitivity. The standard adaptation sensitivity refers to the sensitivity of the Bluetooth headset adapted to the current terminal standard, the high sensitivity is greater than the standard adaptation sensitivity of the terminal, and the low sensitivity is less than the standard adaptation sensitivity of the terminal.

该步骤中所述按照设定规则确定所述蓝牙耳机的灵敏度类型具体可以包括:接收用户的灵敏度类型选择指令,根据所述灵敏度类型选择指令确定所述蓝牙耳机的灵敏度类型;或者,检测所述蓝牙耳机的灵敏度类型,并根据检测结果确定所述蓝牙耳机的灵敏度类型。In this step, determining the sensitivity type of the Bluetooth headset according to the setting rules may specifically include: receiving a sensitivity type selection instruction from the user, and determining the sensitivity type of the Bluetooth headset according to the sensitivity type selection instruction; or detecting the sensitivity type of the Bluetooth headset. the sensitivity type of the bluetooth headset, and determine the sensitivity type of the bluetooth headset according to the detection result.

其中,在接收用户的灵敏度类型选择指令之前,还可以包括以下步骤:提示用户选择蓝牙耳机的灵敏度类型。具体可以通过弹出包含蓝牙耳机灵敏度类型选项的窗口或页面供用户选择。Wherein, before receiving the user's sensitivity type selection instruction, the following step may also be included: Prompting the user to select the sensitivity type of the Bluetooth headset. Specifically, a window or a page containing Bluetooth headset sensitivity type options may be popped up for the user to choose.

一般情况下,用户会事先了解与当前终端连接的蓝牙耳机的灵敏度类型,通过用户的选择指令,可以较准确的确定所述蓝牙耳机的灵敏度类型。当然,终端也可以在与蓝牙耳机连接后,获取蓝牙耳机的属性信息,根据所述属性信息直接确定所述蓝牙耳机的灵敏度类型。Generally, the user will know the sensitivity type of the Bluetooth headset connected to the current terminal in advance, and the sensitivity type of the Bluetooth headset can be determined more accurately through the user's selection instruction. Certainly, the terminal may also obtain attribute information of the Bluetooth headset after being connected to the Bluetooth headset, and directly determine the sensitivity type of the Bluetooth headset according to the attribute information.

步骤102、根据所述灵敏度类型调整上行通信增益。Step 102. Adjust the uplink communication gain according to the sensitivity type.

图3给出了本发明实施例一提供的终端A与终端B之间通信的结构示意图。如图3所示,终端A与终端B进行通话,且终端A与蓝牙耳机L连接。在蓝牙耳机L的麦克风获取到用户A的声音信号后,将声音信号转换为电信号S1,并将所述电信号S1发送到终端A,终端A接收到所述电信号S1后,将所述电信号S1发送给基站G,基站G将电信号S1发送给终端B,至此完成终端A通过蓝牙耳机L向终端B发送通信信号。其中,对于终端A来说,蓝牙耳机L将电信号S1发送到终端A的通信过程称为上行通信。FIG. 3 shows a schematic structural diagram of communication between terminal A and terminal B provided by Embodiment 1 of the present invention. As shown in FIG. 3 , terminal A is talking with terminal B, and terminal A is connected with Bluetooth headset L. After the microphone of the Bluetooth headset L acquires the sound signal of user A, it converts the sound signal into an electrical signal S1, and sends the electrical signal S1 to terminal A, and after receiving the electrical signal S1, terminal A transmits the electrical signal S1 The electrical signal S1 is sent to the base station G, and the base station G sends the electrical signal S1 to the terminal B. So far, the terminal A sends the communication signal to the terminal B through the Bluetooth headset L. Wherein, for the terminal A, the communication process in which the Bluetooth headset L sends the electrical signal S1 to the terminal A is called uplink communication.

相应的,终端B在获取到用户B的声音数据并转换为电信号S2后,将所述电信号S2发送给基站G,基站G将电信号S2发送给终端A,终端A将所述电信号S2发送到蓝牙耳机L,蓝牙耳机L将所述电信号S2转为声音信号并通过蓝牙耳机的扬声器播放给用户A,至此完成终端A通过蓝牙耳机L接收终端B发送的通信信号。其中,对于终端A来说,终端A将电信号S2发送到蓝牙耳机L的通信过程称为下行通信。Correspondingly, after obtaining the voice data of user B and converting it into an electrical signal S2, the terminal B sends the electrical signal S2 to the base station G, and the base station G sends the electrical signal S2 to the terminal A, and the terminal A transmits the electrical signal S2 S2 is sent to the Bluetooth headset L, and the Bluetooth headset L converts the electrical signal S2 into a sound signal and plays it to the user A through the speaker of the Bluetooth headset. So far, the terminal A receives the communication signal sent by the terminal B through the Bluetooth headset L. Wherein, for the terminal A, the communication process in which the terminal A sends the electrical signal S2 to the Bluetooth headset L is called downlink communication.

需要说明的是,在终端A与终端B通过基站G通信的过程中,所产生的电信号S1和S2可能还需要通过终端A或终端B或基站进行一系列的处理操作,本实施例对此并不进行限制。It should be noted that during the communication process between terminal A and terminal B through base station G, the generated electrical signals S1 and S2 may also need to be processed by terminal A or terminal B or the base station. No limitation is imposed.

一般情况下,示例性的以终端A为例,在现有技术中,下行通信中的下行数据可以调整,但上行通信中的上行数据是不可调整的,例如,终端A可以调整通话过程中终端B说话的音量,但是终端A却无法调整终端A通过蓝牙耳机说的话发送到终端B的音量,所以会导致当终端A所连接的蓝牙耳机L的灵敏度与终端A不是标准适配灵敏度时,产生上行通信信号削顶失真或者发送到终端B后音量过小的问题。该步骤通过根据蓝牙耳机的灵敏度类型调整上行通信增益,可以自适应的适配终端当前连接的蓝牙耳机,提升终端之间的通信质量。In general, take terminal A as an example. In the prior art, the downlink data in downlink communication can be adjusted, but the uplink data in uplink communication cannot be adjusted. For example, terminal A can adjust the The volume of B's speech, but terminal A cannot adjust the volume of what terminal A said through the Bluetooth headset to terminal B, so when the sensitivity of the Bluetooth headset L connected to terminal A is not the standard adaptation sensitivity of terminal A, a The uplink communication signal is clipped and distorted or the volume is too low after being sent to terminal B. In this step, by adjusting the uplink communication gain according to the sensitivity type of the Bluetooth headset, the Bluetooth headset currently connected to the terminal can be adaptively adapted to improve the communication quality between the terminals.

步骤103、根据调整后的上行通信增益接收所述蓝牙耳机发送的上行数据。Step 103: Receive the uplink data sent by the Bluetooth headset according to the adjusted uplink communication gain.

其中,所述上行数据即蓝牙耳机将通过麦克风获取到的用户的声音信号转换成的电信号。Wherein, the uplink data is the electrical signal converted by the Bluetooth earphone from the user's voice signal obtained through the microphone.

本实施例提供的蓝牙耳机的适配方法,通过终端在与蓝牙耳机连接后,先确定所述蓝牙耳机的灵敏度类型,以根据所述灵敏度类型调整上行通信增益,根据调整后的上行通信增益接收所述蓝牙耳机发送的上行数据,终端可以根据连接的不同灵敏度类型的蓝牙耳机自适应的调整上行通信增益进行上行数据的通信,使终端可以自适应的适配不同灵敏度类型的蓝牙耳机,也提升了终端之间的通信质量。In the adaptation method of the Bluetooth headset provided in this embodiment, after the terminal is connected to the Bluetooth headset, the sensitivity type of the Bluetooth headset is determined first, so as to adjust the uplink communication gain according to the sensitivity type, and receive the Bluetooth headset according to the adjusted uplink communication gain. For the uplink data sent by the Bluetooth headset, the terminal can adaptively adjust the uplink communication gain to communicate the uplink data according to the connected Bluetooth headsets of different sensitivity types, so that the terminal can adaptively adapt to Bluetooth headsets of different sensitivity types, and also improve improve the communication quality between terminals.

实施例二Embodiment two

图4给出了本发明实施例二提供的蓝牙耳机的适配方法的流程图。本实施例以上述实施例一为基础进行优化。在本实施例中,将“根据所述灵敏度类型调整上行通信增益”具体优化为:若所述灵敏度类型为高灵敏度,则调小上行通信增益;若所述灵敏度类型为标准适配灵敏度,则保持默认的上行通信增益;若所述灵敏度类型为低灵敏度,则调大上行通信增益;其中,所述高灵敏度为大于终端的标准适配灵敏度的灵敏度类型,所述低灵敏度为小于终端的标准适配灵敏度的灵敏度类型。FIG. 4 shows a flow chart of a Bluetooth headset adaptation method provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the first embodiment above. In this embodiment, the specific optimization of "adjusting the uplink communication gain according to the sensitivity type" is as follows: if the sensitivity type is high sensitivity, reduce the uplink communication gain; if the sensitivity type is standard adaptation sensitivity, then Keep the default uplink communication gain; if the sensitivity type is low sensitivity, increase the uplink communication gain; wherein, the high sensitivity is a sensitivity type greater than the standard adaptation sensitivity of the terminal, and the low sensitivity is less than the standard adaptation sensitivity of the terminal Sensitivity type for adaptation sensitivity.

相应的,如图4所示,本实施例提供的方法包括以下步骤:Correspondingly, as shown in Figure 4, the method provided in this embodiment includes the following steps:

步骤201、在检测到当前终端与蓝牙耳机连接时,按照设定规则确定所述蓝牙耳机的灵敏度类型。Step 201, when it is detected that the current terminal is connected to the Bluetooth headset, determine the sensitivity type of the Bluetooth headset according to the set rules.

步骤202、判断所述蓝牙耳机的灵敏度类型,若为高灵敏度,则执行步骤203,若为标准适配灵敏度,则执行步骤204,若为低灵敏度,则执行步骤205。Step 202. Determine the sensitivity type of the bluetooth headset. If it is high sensitivity, execute step 203; if it is standard adaptation sensitivity, execute step 204; if it is low sensitivity, execute step 205.

步骤203、调小上行通信增益。Step 203, reducing the uplink communication gain.

通过调小上行通信增益,可以防止高灵敏的蓝牙耳机在发送上行数据时信号波形过大导致产生削顶失真,影响正常通话。其中,所述调小的幅度可以根据当前高灵敏度与标准适配灵敏度之间的差值来确定。By reducing the uplink communication gain, it is possible to prevent high-sensitivity Bluetooth headsets from causing clipping distortion due to excessive signal waveforms when sending uplink data, which affects normal calls. Wherein, the reduction range may be determined according to the difference between the current high sensitivity and the standard adaptation sensitivity.

步骤204、保持默认的上行通信增益。Step 204, keep the default uplink communication gain.

步骤205、调大上行通信增益。Step 205, increase the uplink communication gain.

通过调大上行通信增益,可以防止低灵敏度的蓝牙耳机在发送上行数据时信号过小,影响正常通话。其中,所述调大的幅度可以根据标准适配灵敏度与当前低灵敏度之间的差值来确定。By increasing the uplink communication gain, it can prevent the low-sensitivity Bluetooth headset from being too small when sending uplink data, which will affect the normal call. Wherein, the magnitude of the increase may be determined according to the difference between the standard adaptation sensitivity and the current low sensitivity.

步骤206、根据调整后的上行通信增益接收所述蓝牙耳机发送的上行数据。Step 206: Receive the uplink data sent by the Bluetooth headset according to the adjusted uplink communication gain.

本实施例提供的方法,通过终端在与蓝牙耳机连接后,根据蓝牙耳机的灵敏度类型调整调整上行通信增益,若所述灵敏度类型为高灵敏度,则调小上行通信增益,若所述灵敏度类型为标准适配灵敏度,则保持默认的上行通信增益,若所述灵敏度类型为低灵敏度,则调大上行通信增益,终端可以根据连接的不同灵敏度类型的蓝牙耳机自适应的调整上行通信增益进行上行数据的通信,使终端可以自适应的适配不同灵敏度类型的蓝牙耳机,也提升了终端之间的通信质量。In the method provided in this embodiment, after the terminal is connected to the Bluetooth headset, the uplink communication gain is adjusted according to the sensitivity type of the Bluetooth headset. If the sensitivity type is high sensitivity, the uplink communication gain is adjusted down. If the sensitivity type is Standard adaptation sensitivity, then keep the default uplink communication gain, if the sensitivity type is low sensitivity, then increase the uplink communication gain, the terminal can adaptively adjust the uplink communication gain according to the connected Bluetooth headsets of different sensitivity types for uplink data Communication, so that the terminal can adaptively adapt to Bluetooth headsets of different sensitivities, and also improves the communication quality between terminals.

实施例三Embodiment three

图5给出了本发明实施例三提供的蓝牙耳机的适配方法的流程图。本实施例以上述各实施例为基础进行优化,提供一种优选的实施例,未在本实施例中详尽描述的细节可参见上述各实施例。如图5所示,本实施例提供的方法包括以下步骤:FIG. 5 shows a flow chart of a Bluetooth headset adaptation method provided by Embodiment 3 of the present invention. This embodiment is optimized based on the foregoing embodiments, and a preferred embodiment is provided. For details not described in detail in this embodiment, reference may be made to the foregoing embodiments. As shown in Figure 5, the method provided in this embodiment includes the following steps:

步骤301、在检测到当前终端与蓝牙耳机连接且所述终端进入通话状态时,提示用户选择蓝牙耳机灵敏度类型。Step 301. When it is detected that the current terminal is connected to the Bluetooth headset and the terminal is in a call state, prompt the user to select a sensitivity type of the Bluetooth headset.

步骤302、接收用户的灵敏度选择指令。Step 302, receiving a user's sensitivity selection instruction.

步骤303、根据所述灵敏度选择指令判断用户选择的灵敏度类型,若为高灵敏度,则执行步骤304,若为标准适配灵敏度,则执行步骤305,若为低灵敏度,则执行步骤306,否则,执行步骤307。Step 303. Determine the sensitivity type selected by the user according to the sensitivity selection instruction. If it is high sensitivity, execute step 304. If it is standard adaptation sensitivity, execute step 305. If it is low sensitivity, execute step 306. Otherwise, Execute step 307.

步骤304、调小上行通信增益。Step 304, reducing the uplink communication gain.

步骤305、保持默认的上行通信增益。Step 305. Keep the default uplink communication gain.

步骤306、调大上行通信增益。Step 306, increase the uplink communication gain.

步骤307、接收用户的调整指令,根据所述调整指令调整上行通信增益。Step 307: Receive an adjustment instruction from the user, and adjust the uplink communication gain according to the adjustment instruction.

在用户选择的灵敏度类型为其他时,可以进入“其他”设置选项,用户可以个性化的配置调整上行通信增益,例如,可以根据当前的环境情况调整上行通信增益,在当前环境较为嘈杂时,可以配置相对大一些的上行通信增益,在当前环境较为安静时,则可以配置相对较为小一些的上行通信增益。When the sensitivity type selected by the user is Other, you can enter the "Other" setting option, and the user can adjust the uplink communication gain in a personalized configuration. For example, you can adjust the uplink communication gain according to the current environment. When the current environment is noisy, you can A relatively larger uplink communication gain may be configured, and a relatively smaller uplink communication gain may be configured when the current environment is relatively quiet.

步骤308、根据调整后的上行通信增益接收所述蓝牙耳机发送的上行数据。Step 308: Receive the uplink data sent by the Bluetooth headset according to the adjusted uplink communication gain.

本实施例提供的方法,可以根据用户选择的灵敏度类型对上行通信增益进行调整,并且可以根据用户的需求个性化的配置上行通信增益,使终端可以自适应的适配不同灵敏度类型的蓝牙耳机,也更加贴合用户的实际需求。The method provided in this embodiment can adjust the uplink communication gain according to the sensitivity type selected by the user, and can configure the uplink communication gain individually according to the user's needs, so that the terminal can adaptively adapt to Bluetooth headsets of different sensitivity types, It is also more in line with the actual needs of users.

实施例四Embodiment Four

图6为本发明实施例四提供的蓝牙耳机的适配装置的结构框图,该装置可由软件和/或硬件实现,一般集成在终端中,可通过执行蓝牙耳机的适配方法来自适应的适配不同类型的蓝牙耳机。如图6所示,该装置包括灵敏度类型确定模块61、第一上行通信增益调整模块62和上行数据发送模块63。Fig. 6 is a structural block diagram of a Bluetooth headset adaptation device provided in Embodiment 4 of the present invention. The device can be implemented by software and/or hardware, and is generally integrated in a terminal, and can be self-adapted by executing a Bluetooth headset adaptation method Different types of bluetooth headsets. As shown in FIG. 6 , the device includes a sensitivity type determination module 61 , a first uplink communication gain adjustment module 62 and an uplink data sending module 63 .

所述灵敏度类型确定模块61,用于在检测到当前终端与蓝牙耳机连接时,按照设定规则确定所述蓝牙耳机的灵敏度类型;The sensitivity type determination module 61 is used to determine the sensitivity type of the Bluetooth headset according to the set rules when it is detected that the current terminal is connected to the Bluetooth headset;

第一上行通信增益调整模块62,用于根据所述灵敏度类型调整上行通信增益;A first uplink communication gain adjustment module 62, configured to adjust uplink communication gain according to the sensitivity type;

上行数据发送模块63,用于根据调整后的上行通信增益接收所述蓝牙耳机发送的上行数据。The uplink data sending module 63 is configured to receive the uplink data sent by the Bluetooth headset according to the adjusted uplink communication gain.

本实施例提供的技术方案,通过终端在与蓝牙耳机连接后,先确定所述蓝牙耳机的灵敏度类型,以根据所述灵敏度类型调整上行通信增益,根据调整后的上行通信增益接收所述蓝牙耳机发送的上行数据,终端可以根据连接的不同灵敏度类型的蓝牙耳机自适应的调整上行通信增益进行上行数据的通信,使终端可以自适应的适配不同灵敏度类型的蓝牙耳机。In the technical solution provided by this embodiment, after the terminal is connected to the Bluetooth headset, first determine the sensitivity type of the Bluetooth headset, adjust the uplink communication gain according to the sensitivity type, and receive the Bluetooth headset according to the adjusted uplink communication gain For the uplink data sent, the terminal can adaptively adjust the uplink communication gain for uplink data communication according to the connected Bluetooth headsets of different sensitivities, so that the terminal can adaptively adapt to Bluetooth headsets of different sensitivities.

在上述各实施例的基础上,所述灵敏度类型确定模块按照设定规则确定所述蓝牙耳机的灵敏度类型具体包括:On the basis of the above-mentioned embodiments, the sensitivity type determination module determines the sensitivity type of the Bluetooth headset according to the setting rules, specifically including:

接收用户的灵敏度类型选择指令,根据所述灵敏度类型选择指令确定所述蓝牙耳机的灵敏度类型;或者,Receive a user's sensitivity type selection instruction, and determine the sensitivity type of the Bluetooth headset according to the sensitivity type selection instruction; or,

检测所述蓝牙耳机的灵敏度类型,并根据检测结果确定所述蓝牙耳机的灵敏度类型。Detecting the sensitivity type of the Bluetooth headset, and determining the sensitivity type of the Bluetooth headset according to the detection result.

在上述各实施例的基础上,所述上行通信增益调整模块具体用于:On the basis of the above-mentioned embodiments, the uplink communication gain adjustment module is specifically used for:

若所述灵敏度类型为高灵敏度,则调小上行通信增益;If the sensitivity type is high sensitivity, reduce the uplink communication gain;

若所述灵敏度类型为标准适配灵敏度,则保持默认的上行通信增益;If the sensitivity type is standard adaptation sensitivity, then keep the default uplink communication gain;

若所述灵敏度类型为低灵敏度,则调大上行通信增益;If the sensitivity type is low sensitivity, increase the uplink communication gain;

其中,所述高灵敏度为大于终端的标准适配灵敏度的灵敏度类型,所述低灵敏度为小于终端的标准适配灵敏度的灵敏度类型。Wherein, the high sensitivity is a sensitivity type greater than the standard adaptation sensitivity of the terminal, and the low sensitivity is a sensitivity type smaller than the standard adaptation sensitivity of the terminal.

在上述各实施例的基础上,所述装置还包括:On the basis of the above-mentioned embodiments, the device also includes:

第二上行通信增益调整模块,用于接收用户的调整指令,根据所述调整指令调整上行通信增益。The second uplink communication gain adjustment module is configured to receive an adjustment instruction from a user, and adjust the uplink communication gain according to the adjustment instruction.

在上述各实施例的基础上,所述装置还包括:On the basis of the above-mentioned embodiments, the device also includes:

选择提示模块,用于在接收用户的灵敏度类型选择指令之前,提示用户选择蓝牙耳机的灵敏度类型。The selection prompt module is used to prompt the user to select the sensitivity type of the Bluetooth headset before receiving the user's sensitivity type selection instruction.

本发明实施例提供的蓝牙耳机的适配装置可执行本发明任意实施例提供的蓝牙耳机的适配方法,具备执行方法相应的功能模块和有益效果。The Bluetooth headset adaptation device provided in the embodiments of the present invention can execute the Bluetooth headset adaptation method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.

实施例五Embodiment five

图7为本发明实施例五提供的终端的结构示意图,所述终端包括实施例四所提供的蓝牙耳机的适配装置的结构。在一种实现方式中终端可以为手机、平板电脑、笔记本等。所述终端7可以包括通信单元71、包括有至少一个计算机可读存储介质的存储器72、输入单元73、显示单元74、传感器77、音频电路76、WIFI(Wireless Fidelity,无线保真)模块77、包括有至少一个处理核心的处理器78、以及电源79等部件。本领域技术人员可以理解,图中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。具体的:FIG. 7 is a schematic structural diagram of a terminal provided in Embodiment 5 of the present invention, and the terminal includes the structure of the Bluetooth headset adapter device provided in Embodiment 4. FIG. In an implementation manner, the terminal may be a mobile phone, a tablet computer, a notebook, and the like. The terminal 7 may include a communication unit 71, a memory 72 including at least one computer-readable storage medium, an input unit 73, a display unit 74, a sensor 77, an audio circuit 76, a WIFI (Wireless Fidelity, wireless fidelity) module 77, It includes a processor 78 with at least one processing core, a power supply 79 and other components. Those skilled in the art can understand that the terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than those shown in the figure, or combine some components, or arrange different components. specific:

通信单元71可用于收发信息或通话过程中,信号的接收和发送,所述通信单元可以为上述实施例中与蓝牙耳机通信的蓝牙通信单元,该通信单元71可以为RF(RadioFrequency,射频)电路、路由器、调制解调器、等网络通信设备。特别地,当通信单元71为RF电路时,RF电路接收并发送RF信号,RF信号也称为电磁信号,RF电路将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。通常,作为通信单元的RF电路包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,通信单元71还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobilecommunication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband CodeDivision Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。The communication unit 71 can be used for sending and receiving information or during a call, receiving and sending signals, and the communication unit can be the Bluetooth communication unit communicating with the Bluetooth headset in the above-mentioned embodiment, and the communication unit 71 can be an RF (Radio Frequency, radio frequency) circuit , routers, modems, and other network communication equipment. In particular, when the communication unit 71 is an RF circuit, the RF circuit receives and transmits an RF signal, which is also called an electromagnetic signal, and the RF circuit converts an electrical signal into an electromagnetic signal or converts an electromagnetic signal into an electrical signal, and through the electromagnetic Signals communicate with communication networks and other devices. Typically, an RF circuit as a communication unit includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier, Low noise amplifier), duplexer, etc. In addition, the communication unit 71 can also communicate with a network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, Global System for Mobile Communication), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access), LTE (Long Term Evolution, Long Term Evolution), email, SMS (Short Messaging Service, Short Message Service), etc.

存储器72可用于存储软件程序以及模块,处理器78通过运行存储在存储器72的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器72可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器72可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器72还可以包括存储器控制器,以提供处理器78和输入单元73对存储器72的访问。The memory 72 can be used to store software programs and modules, and the processor 78 executes various functional applications and data processing by running the software programs and modules stored in the memory 72 . The memory 72 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one function required application program (such as a sound playback function, an image playback function, etc.) etc.; Data created by the use of the terminal (such as audio data, phonebook, etc.) and the like. In addition, the memory 72 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 72 may also include a memory controller to provide access to the memory 72 by the processor 78 and the input unit 73 .

输入单元73可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。优选地,输入单元73可包括触敏表面731以及其他输入设备732。触敏表面731,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面731上或在触敏表面731附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面731可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器78,并能接收处理器78发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面731。除了触敏表面731,输入单元73还可以包括其他输入设备732。优选地,其他输入设备732可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 73 can be used to receive input numbers or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Preferably, the input unit 73 may include a touch-sensitive surface 731 and other input devices 732 . The touch-sensitive surface 731, also referred to as a touch screen or a touchpad, can collect user touch operations on or near it (for example, the user uses any suitable object or accessory such as a finger, a stylus, etc. on the touch-sensitive surface 731 or on the operation near the touch-sensitive surface 731), and drive the corresponding connection device according to the preset program. Optionally, the touch-sensitive surface 731 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 78, and can receive and execute commands sent by the processor 78. In addition, the touch-sensitive surface 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface 731 , the input unit 73 may also include other input devices 732 . Preferably, other input devices 732 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元74可用于显示由用户输入的信息或提供给用户的信息以及终端的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元74可包括显示面板741,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板741。进一步的,触敏表面731可覆盖显示面板741,当触敏表面731检测到在其上或附近的触摸操作后,传送给处理器78以确定触摸事件的类型,随后处理器78根据触摸事件的类型在显示面板741上提供相应的视觉输出。虽然在图7中,触敏表面731与显示面板741是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面731与显示面板741集成而实现输入和输出功能。The display unit 74 can be used to display information input by or provided to the user and various graphical user interfaces of the terminal. These graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. The display unit 74 may include a display panel 741. Optionally, the display panel 741 may be configured in the form of an LCD (Liquid Crystal Display, liquid crystal display), an OLED (Organic Light-Emitting Diode, organic light emitting diode), or the like. Further, the touch-sensitive surface 731 may cover the display panel 741. When the touch-sensitive surface 731 detects a touch operation on or near it, it is sent to the processor 78 to determine the type of the touch event, and then the processor 78 determines the type of the touch event according to the touch operation. The type provides a corresponding visual output on the display panel 741 . Although in FIG. 7, the touch-sensitive surface 731 and the display panel 741 are used as two independent components to realize input and input functions, in some embodiments, the touch-sensitive surface 731 and the display panel 741 can be integrated to realize input. and output functions.

所述终端还可包括至少一种传感器77,比如光传感器、运动传感器以及其他传感器。光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板741的亮度,接近传感器可在终端移动到耳边时,关闭显示面板741和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;终端还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The terminal may also include at least one sensor 77, such as a light sensor, a motion sensor, and other sensors. The light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 741 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 741 and/or the backlight when the terminal moves to the ear. As a kind of motion sensor, the gravitational acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize the attitude of mobile phones (such as horizontal and vertical screen switching, related Gaming, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; the terminal can also be configured with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc., which will not be described here .

音频电路76、扬声器761,传声器762可提供用户与终端之间的音频接口。音频电路76可将接收到的音频数据转换后的电信号,传输到扬声器761,由扬声器761转换为声音信号输出;另一方面,传声器762将收集的声音信号转换为电信号,由音频电路76接收后转换为音频数据,再将音频数据输出处理器78处理后,经RF电路71以发送给比如另一终端,或者将音频数据输出至存储器72以便进一步处理。音频电路76还可能包括耳塞插孔,以提供外设耳机与终端的通信。The audio circuit 76, the speaker 761, and the microphone 762 can provide an audio interface between the user and the terminal. The audio circuit 76 can transmit the electrical signal converted from the received audio data to the loudspeaker 761, and the loudspeaker 761 converts it into a sound signal output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 78, and then sent to another terminal through the RF circuit 71, or the audio data is output to the memory 72 for further processing. The audio circuit 76 may also include an earplug jack to provide communication between an external earphone and the terminal.

为了实现无线通信,该第一终端上可以配置有无线通信单元77,该无线通信单元77可以为WIFI模块。WIFI属于短距离无线传输技术,终端通过无线通信单元77可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。In order to realize wireless communication, a wireless communication unit 77 may be configured on the first terminal, and the wireless communication unit 77 may be a WIFI module. WIFI is a short-distance wireless transmission technology. The terminal can help users send and receive emails, browse web pages, and access streaming media through the wireless communication unit 77. It provides users with wireless broadband Internet access.

处理器78可利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器72内的软件程序和/或模块,以及调用存储在存储器72内的数据,执行终端的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器78可包括一个或多个处理核心;优选的,处理器78可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器78中。The processor 78 can utilize various interfaces and lines to connect various parts of the entire mobile phone, and execute various functions of the terminal by running or executing software programs and/or modules stored in the memory 72, and calling data stored in the memory 72 And processing data, so as to monitor the mobile phone as a whole. Optionally, the processor 78 may include one or more processing cores; preferably, the processor 78 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the modem processor may not be integrated into the processor 78 .

终端还包括给各个部件供电的电源79(比如电池),优选的,电源可以通过电源管理系统与处理器78逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源79还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The terminal also includes a power supply 79 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 78 through the power management system, so that functions such as charging, discharging, and power consumption management can be realized through the power management system. The power supply 79 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

需要说明的是,终端还可以包括摄像头等,在此不再赘述。It should be noted that the terminal may also include a camera, etc., which will not be described in detail here.

在本实施例中,处理器78具有下述功能:In this embodiment, the processor 78 has the following functions:

在检测到当前终端与蓝牙耳机连接时,按照设定规则确定所述蓝牙耳机的灵敏度类型;When detecting that the current terminal is connected to the Bluetooth headset, determine the sensitivity type of the Bluetooth headset according to a set rule;

根据所述灵敏度类型调整上行通信增益;adjusting the uplink communication gain according to the sensitivity type;

根据调整后的上行通信增益接收所述蓝牙耳机发送的上行数据。The uplink data sent by the Bluetooth headset is received according to the adjusted uplink communication gain.

上述终端可执行本发明任意实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的蓝牙耳机的适配方法。The above-mentioned terminal can execute the method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. For technical details not exhaustively described in the foregoing embodiments, reference may be made to the adaptation method for a Bluetooth headset provided in any embodiment of the present invention.

上述仅为本发明的较佳实施例及所运用的技术原理。本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行的各种明显变化、重新调整及替代均不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由权利要求的范围决定。The foregoing are only preferred embodiments of the present invention and the applied technical principles. The present invention is not limited to the specific embodiments described here, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not depart from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the claims.

Claims (11)

1. An adaptation method of a bluetooth headset, comprising:
when the connection between the current terminal and the Bluetooth headset is detected, determining the sensitivity type of the Bluetooth headset according to a set rule;
adjusting the uplink communication gain according to the sensitivity type;
and receiving uplink data sent by the Bluetooth headset according to the adjusted uplink communication gain.
2. The method of claim 1, wherein the determining the sensitivity type of the bluetooth headset according to the set rule comprises:
receiving a sensitivity type selection instruction of a user, and determining the sensitivity type of the Bluetooth headset according to the sensitivity type selection instruction; or,
and detecting the sensitivity type of the Bluetooth headset, and determining the sensitivity type of the Bluetooth headset according to the detection result.
3. The method of claim 1, wherein the adjusting the uplink communication gain according to the sensitivity type comprises:
if the sensitivity type is high sensitivity, reducing the uplink communication gain;
if the sensitivity type is standard adaptive sensitivity, keeping default uplink communication gain;
if the sensitivity type is low sensitivity, increasing the uplink communication gain;
the high sensitivity is a sensitivity type larger than the standard adaptation sensitivity of the terminal, and the low sensitivity is a sensitivity type smaller than the standard adaptation sensitivity of the terminal.
4. The method of claim 1, further comprising:
and receiving an adjusting instruction of a user, and adjusting the uplink communication gain according to the adjusting instruction.
5. The method of claim 2, prior to receiving a user sensitivity type selection instruction, further comprising:
the user is prompted to select the sensitivity type of the bluetooth headset.
6. An adapting device of a bluetooth headset, comprising:
the terminal comprises a sensitivity type determining module, a sensitivity type determining module and a control module, wherein the sensitivity type determining module is used for determining the sensitivity type of the Bluetooth earphone according to a set rule when detecting that the current terminal is connected with the Bluetooth earphone;
the first uplink communication gain adjusting module is used for adjusting the uplink communication gain according to the sensitivity type;
and the uplink data sending module is used for receiving the uplink data sent by the Bluetooth headset according to the adjusted uplink communication gain.
7. The apparatus of claim 6, wherein the determining the sensitivity type of the bluetooth headset according to the set rule by the sensitivity type determining module specifically comprises:
receiving a sensitivity type selection instruction of a user, and determining the sensitivity type of the Bluetooth headset according to the sensitivity type selection instruction; or,
and detecting the sensitivity type of the Bluetooth headset, and determining the sensitivity type of the Bluetooth headset according to the detection result.
8. The apparatus of claim 6, wherein the uplink communication gain adjustment module is specifically configured to:
if the sensitivity type is high sensitivity, reducing the uplink communication gain;
if the sensitivity type is standard adaptive sensitivity, keeping default uplink communication gain;
if the sensitivity type is low sensitivity, increasing the uplink communication gain;
the high sensitivity is a sensitivity type larger than the standard adaptation sensitivity of the terminal, and the low sensitivity is a sensitivity type smaller than the standard adaptation sensitivity of the terminal.
9. The apparatus of claim 6, further comprising:
and the second uplink communication gain adjusting module is used for receiving an adjusting instruction of a user and adjusting the uplink communication gain according to the adjusting instruction.
10. The apparatus of claim 7, further comprising:
and the selection prompting module is used for prompting the user to select the sensitivity type of the Bluetooth headset before receiving a sensitivity type selection instruction of the user.
11. A terminal, characterized in that it integrates the device according to any of claims 6-10.
CN201610669018.XA 2016-08-15 2016-08-15 Adaptation method, device and terminal of a bluetooth headset Pending CN106210951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610669018.XA CN106210951A (en) 2016-08-15 2016-08-15 Adaptation method, device and terminal of a bluetooth headset

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610669018.XA CN106210951A (en) 2016-08-15 2016-08-15 Adaptation method, device and terminal of a bluetooth headset

Publications (1)

Publication Number Publication Date
CN106210951A true CN106210951A (en) 2016-12-07

Family

ID=57521852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610669018.XA Pending CN106210951A (en) 2016-08-15 2016-08-15 Adaptation method, device and terminal of a bluetooth headset

Country Status (1)

Country Link
CN (1) CN106210951A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108566584A (en) * 2018-05-30 2018-09-21 广东思派康电子科技有限公司 Touch calibration method and TWS earphone with touch function
CN112153534A (en) * 2020-09-11 2020-12-29 Oppo(重庆)智能科技有限公司 Call quality adjusting method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348144A (en) * 2010-06-15 2012-02-08 索尼公司 Reproduction device and reproduction method
WO2013020588A1 (en) * 2011-08-09 2013-02-14 Phonak Ag Wireless sound transmission system and method
CN203563181U (en) * 2013-10-14 2014-04-23 深圳酷比通信设备有限公司 Mobile terminal having KTS sound effect
CN104270499A (en) * 2014-09-01 2015-01-07 广东欧珀移动通信有限公司 State monitoring method and device for Bluetooth earphone and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348144A (en) * 2010-06-15 2012-02-08 索尼公司 Reproduction device and reproduction method
WO2013020588A1 (en) * 2011-08-09 2013-02-14 Phonak Ag Wireless sound transmission system and method
CN203563181U (en) * 2013-10-14 2014-04-23 深圳酷比通信设备有限公司 Mobile terminal having KTS sound effect
CN104270499A (en) * 2014-09-01 2015-01-07 广东欧珀移动通信有限公司 State monitoring method and device for Bluetooth earphone and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108566584A (en) * 2018-05-30 2018-09-21 广东思派康电子科技有限公司 Touch calibration method and TWS earphone with touch function
CN112153534A (en) * 2020-09-11 2020-12-29 Oppo(重庆)智能科技有限公司 Call quality adjusting method and device, computer equipment and storage medium
CN112153534B (en) * 2020-09-11 2022-03-15 Oppo(重庆)智能科技有限公司 Call quality adjusting method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103414982B (en) A kind of method and apparatus that sound is provided
CN104243671B (en) Volume adjusting method, device and electronic equipment
US10805708B2 (en) Headset sound channel control method and system, and related device
RU2608328C2 (en) Connecting element for earphones jack plug, earphones and terminal device
WO2021184920A1 (en) Method and apparatus for masking sound, and terminal device
CN103227855B (en) The vibration control method of mobile terminal and mobile terminal
CN103634717B (en) A kind of method, device and the terminal device of the control of utilization earphone
CN108900231B (en) Dynamic antenna adjustment method and related products
CN103618514A (en) Volume adjustment method, device and electronic equipment
CN108540900A (en) Volume adjusting method and related product
CN112997471B (en) Audio channel switching method and device, readable storage medium and electronic equipment
CN106936516B (en) Display state control method, storage medium and terminal
CN106101776B (en) Volume adjusting method, intelligent device and sound box
CN106131930A (en) A WiFi network access control method, device and terminal
WO2019011231A1 (en) Method for reducing sar value of mobile terminal, storage medium and mobile terminal
CN107147767B (en) Call volume control method and device, storage medium and terminal
CN108432220B (en) Method and terminal for switching call mode
WO2021197311A1 (en) Volume adjustment display method and electronic apparatus
CN105357657B (en) Mesh Network Establishment Method and Device
CN105786439A (en) Method and device for controlling sound in terminal
WO2023160250A1 (en) Display brightness control method, apparatus, electronic device, and storage medium
CN106126170A (en) A terminal sound effect setting method and terminal
CN106874045A (en) A kind of startup method of application program, device and mobile terminal
CN106374988B (en) Method, device and terminal for configuring inter-downlink-band carrier aggregation
CN106210951A (en) Adaptation method, device and terminal of a bluetooth headset

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161207