[go: up one dir, main page]

CN114466283A - Audio collection method, device, electronic device and peripheral component method - Google Patents

Audio collection method, device, electronic device and peripheral component method Download PDF

Info

Publication number
CN114466283A
CN114466283A CN202210117882.4A CN202210117882A CN114466283A CN 114466283 A CN114466283 A CN 114466283A CN 202210117882 A CN202210117882 A CN 202210117882A CN 114466283 A CN114466283 A CN 114466283A
Authority
CN
China
Prior art keywords
microphone
electronic device
audio collection
bluetooth
external device
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.)
Granted
Application number
CN202210117882.4A
Other languages
Chinese (zh)
Other versions
CN114466283B (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210117882.4A priority Critical patent/CN114466283B/en
Publication of CN114466283A publication Critical patent/CN114466283A/en
Priority to PCT/CN2023/074516 priority patent/WO2023151526A1/en
Application granted granted Critical
Publication of CN114466283B publication Critical patent/CN114466283B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services 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)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses an audio acquisition method, an audio acquisition device, electronic equipment and a peripheral component, and belongs to the technical field of communication. The audio acquisition method is applied to electronic equipment, wherein a first microphone is arranged on the electronic equipment, and the method comprises the following steps: when the electronic equipment is in an audio acquisition mode, detecting at least one piece of external equipment which is in communication connection with the electronic equipment, wherein each piece of external equipment is provided with a microphone; audio capture is performed by the first microphone and/or a microphone on the external device.

Description

音频采集方法、装置、电子设备及外设组件方法Audio collection method, device, electronic device and peripheral component method

技术领域technical field

本申请属于通信技术领域,具体涉及一种音频采集方法、装置、电子设备及外设组件。The present application belongs to the field of communication technologies, and in particular relates to an audio collection method, device, electronic equipment and peripheral components.

背景技术Background technique

现有技术中,用户在佩戴耳机、蓝牙麦克风等外部设备时,只会通过耳机上的麦克风或蓝牙麦克风进行音频采集,而手机上的麦克风是不工作的,存在电子设备与外部设备之间无法协同工作的问题。在一些场景中,由于电子设备与外部设备之间无法协同工作,容易导致无法清晰的接收到用户说话的声音的现象。例如,在大人用手机拍摄小孩的场景中,小孩带着蓝牙麦克风,大人和小孩之间有些互动,因此希望小孩和大人的声音都要比较清晰。但是由于拍摄者和被拍摄者距离比较远,此时只有被拍摄者衣领处夹着蓝牙麦克风,被拍摄者录入的声音比较清晰;而拍摄者距离蓝牙麦克风较远,拍摄者录入的声音会比较小、模糊不清。In the prior art, when a user wears an external device such as a headset or a Bluetooth microphone, audio can only be collected through the microphone on the headset or the Bluetooth microphone, while the microphone on the mobile phone does not work, and there is no connection between the electronic device and the external device. problem of collaborative work. In some scenarios, since the electronic device and the external device cannot work together, it is easy to cause the phenomenon that the voice of the user cannot be clearly received. For example, in a scene where an adult shoots a child with a mobile phone, the child has a Bluetooth microphone, and there is some interaction between the adult and the child, so it is hoped that the voice of the child and the adult should be clearer. However, because the distance between the photographer and the subject is relatively far, only the subject's collar is clipped with a Bluetooth microphone, and the voice recorded by the subject is relatively clear; and the photographer is far away from the Bluetooth microphone, the voice recorded by the photographer will be Small and vague.

发明内容SUMMARY OF THE INVENTION

本申请实施例的目的是提供一种音频采集方法、装置、电子设备及外设组件,能够解决现有技术中存在电子设备与外部设备之间无法协同工作,易导致无法清晰拾取用户声音的问题。The purpose of the embodiments of the present application is to provide an audio collection method, device, electronic device and peripheral component, which can solve the problem in the prior art that the electronic device and the external device cannot work together, which easily leads to the inability to clearly pick up the user's voice. .

第一方面,本申请实施例提供了一种音频采集方法,应用于电子设备,所述电子设备上设置有第一麦克风,所述方法包括:In a first aspect, an embodiment of the present application provides an audio collection method, which is applied to an electronic device, where the electronic device is provided with a first microphone, and the method includes:

在所述电子设备处于音频采集模式时,检测与所述电子设备建立通信连接的至少一个外部设备,每个所述外部设备上均设置有麦克风;When the electronic device is in the audio collection mode, detecting at least one external device that establishes a communication connection with the electronic device, and each of the external devices is provided with a microphone;

通过所述第一麦克风和/或所述外部设备上的麦克风进行音频采集。Audio collection is performed through the first microphone and/or the microphone on the external device.

第二方面,本申请实施例提供了一种音频采集装置,应用于电子设备,所述电子设备上设置有第一麦克风,所述装置包括:In a second aspect, an embodiment of the present application provides an audio collection device, which is applied to an electronic device. The electronic device is provided with a first microphone, and the device includes:

检测模块,用于在所述电子设备处于音频采集模式时,检测与所述电子设备建立通信连接的至少一个外部设备,每个所述外部设备上均设置有麦克风;a detection module, configured to detect at least one external device that establishes a communication connection with the electronic device when the electronic device is in the audio collection mode, and each of the external devices is provided with a microphone;

处理模块,用于通过所述第一麦克风和/或所述外部设备上的麦克风进行音频采集。A processing module, configured to collect audio through the first microphone and/or the microphone on the external device.

第三方面,本申请实施例提供了一种外设组件,包括:In a third aspect, an embodiment of the present application provides a peripheral component, including:

壳体,所述壳体上设置有第一置放空间和第二置放空间;a housing, the housing is provided with a first placement space and a second placement space;

第一外部设备,设置于所述第一置放空间内,所述第一外部设备设置有麦克风和第一无线传输模块;a first external device, arranged in the first placement space, and the first external device is provided with a microphone and a first wireless transmission module;

第二外部设备,设置于所述第二置放空间内,所述第二外部设备设置有麦克风和第二无线传输模块;A second external device is arranged in the second placement space, and the second external device is provided with a microphone and a second wireless transmission module;

其中,所述第一外部设备可通过所述第一无线传输模块与电子设备建立通信连接,所述第二外部设备可通过所述第二无线传输模块与电子设备建立通信连接。Wherein, the first external device can establish a communication connection with the electronic device through the first wireless transmission module, and the second external device can establish a communication connection with the electronic device through the second wireless transmission module.

第四方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor and a memory, the memory stores a program or an instruction that can be executed on the processor, and the program or instruction is processed by the processor The steps of the method as described in the first aspect are implemented when the device is executed.

第五方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fifth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .

第六方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the first aspect the method described.

第七方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a seventh aspect, an embodiment of the present application provides a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method according to the first aspect.

在本申请实施例中,在所述电子设备处于音频采集模式时,检测与所述电子设备建立通信连接的至少一个外部设备,每个所述外部设备上均设置有麦克风;通过电子设备上设置有第一麦克风所述第一麦克风和/或所述外部设备上的麦克风进行音频采集。这样,能够选择电子设备和/或外部设备进行音频采集,实现电子设备与外部设备之间协同工作,避免无法清晰的接收到用户说话的声音的问题。In the embodiment of the present application, when the electronic device is in the audio collection mode, at least one external device that establishes a communication connection with the electronic device is detected, and each external device is provided with a microphone; There is a first microphone, the first microphone and/or the microphone on the external device for audio collection. In this way, the electronic device and/or the external device can be selected for audio collection, so as to realize the cooperative work between the electronic device and the external device, and avoid the problem that the voice of the user cannot be clearly received.

附图说明Description of drawings

图1是本申请实施例的音频采集方法的流程图之一;Fig. 1 is one of the flow charts of the audio collection method of the embodiment of the present application;

图2是本申请实施例的外设组件的结构示意图之一;FIG. 2 is one of the schematic structural diagrams of the peripheral components according to the embodiment of the present application;

图3是本申请实施例的音频采集方法的流程图之二;3 is the second flow chart of the audio collection method according to the embodiment of the present application;

图4是本申请实施例的外设组件的结构示意图之二;FIG. 4 is a second schematic structural diagram of a peripheral component according to an embodiment of the present application;

图5是本申请实施例的音频采集方法的流程图之三;5 is the third flowchart of the audio collection method according to the embodiment of the present application;

图6是本申请实施例的音频采集装置的结构框图;6 is a structural block diagram of an audio collection device according to an embodiment of the present application;

图7是本申请实施例的电子设备的结构框图;7 is a structural block diagram of an electronic device according to an embodiment of the present application;

图8是本申请实施例的电子设备的硬件结构框图。FIG. 8 is a block diagram of a hardware structure of an electronic device according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the protection scope of this application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的音频采集方法进行详细地说明。The audio collection method provided by the embodiment of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.

参见图1,本申请实施例提供一种音频采集方法,应用于电子设备,所述电子设备上设置有第一麦克风,方法包括以下步骤:Referring to FIG. 1, an embodiment of the present application provides an audio collection method, which is applied to an electronic device. The electronic device is provided with a first microphone, and the method includes the following steps:

步骤101,在所述电子设备处于音频采集模式时,检测与所述电子设备建立通信连接的至少一个外部设备,每个所述外部设备上均设置有麦克风;Step 101, when the electronic device is in the audio collection mode, detect at least one external device that establishes a communication connection with the electronic device, and each of the external devices is provided with a microphone;

示例性的,外部设备可以包括:耳机、麦克风等。Exemplarily, the external devices may include: earphones, microphones, and the like.

可选地,外部设备与电子设备通过近场通信建立连接关系,如蓝牙、WIFI等。Optionally, a connection relationship between the external device and the electronic device is established through near field communication, such as Bluetooth, WIFI, and the like.

步骤102,通过所述第一麦克风和/或所述外部设备上的麦克风进行音频采集。Step 102: Perform audio collection through the first microphone and/or the microphone on the external device.

也就是说,根据实际情况可以单独用第一麦克风进行音频采集,可以单独用第二麦克风进程音频采集,还可以同时使用第一麦克风、第二麦克风进行音频采集。That is to say, according to the actual situation, the first microphone may be used alone for audio collection, the second microphone may be used alone for audio collection, and the first microphone and the second microphone may be used for audio collection at the same time.

该步骤中,可具体根据电子设备的音频采集模式,选择合适的麦克风进行音频采集,其中,音频采集模式包括但不限于:通话模式、录音模式、视频拍摄模式等。In this step, a suitable microphone may be selected for audio collection according to the audio collection mode of the electronic device, wherein the audio collection mode includes but is not limited to: a call mode, a recording mode, a video shooting mode, and the like.

该实施例中,通过所述第一麦克风和/或所述外部设备上的麦克风进行音频采集,实现能够选择适合的收音装置进行收音,避免无法清晰拾取用户声音的问题。In this embodiment, audio collection is performed by the first microphone and/or the microphone on the external device, so that a suitable sound pickup device can be selected for sound pickup, thereby avoiding the problem that the user's voice cannot be clearly picked up.

在一实施例中,所述外部设备为蓝牙麦克风,所述蓝牙麦克风上设置有第二麦克风;上述步骤102包括以下两种情况:In one embodiment, the external device is a Bluetooth microphone, and the Bluetooth microphone is provided with a second microphone; the above step 102 includes the following two situations:

情况一:Case 1:

在所述电子设备处于免提通话或录音状态时,通过所述第二麦克风进行音频采集,所述第一麦克风不工作;When the electronic device is in a hands-free call or recording state, audio collection is performed through the second microphone, and the first microphone does not work;

示例性地,以电子设备为手机为例,手机上的麦克风与扬声器距离较近,容易出现回声问题,且一般免提状态或录音状态下用户可能把手机放在距离用户较远的位置,手机上的麦克风无法清晰的拾取用户的声音,容易导致发送的语音不清晰,由于蓝牙麦克风一般佩戴在用户的衣领上,距离用户较近,通过蓝牙麦克风上的第二麦克风件音频采集,能够保证清晰的拾取用户的声音。Illustratively, taking the electronic device as a mobile phone as an example, the microphone on the mobile phone is relatively close to the speaker, which is prone to echo problems. The microphone on the Bluetooth microphone cannot clearly pick up the user's voice, which may easily lead to unclear sent speech. Since the Bluetooth microphone is generally worn on the user's collar and is relatively close to the user, the second microphone on the Bluetooth microphone is used to collect audio. Clearly pick up the user's voice.

此外,若所述电子设备处于手持通话状态,则通过所述电子设备上的麦克风进行音频采集;若所述电子设备处于有线耳机通话状态,则通过所述有线耳机进行音频采集。In addition, if the electronic device is in a handheld call state, audio collection is performed through a microphone on the electronic device; if the electronic device is in a wired headset call state, audio collection is performed through the wired headset.

情况二:Case two:

在所述电子设备处于视频拍摄状态时,通过所述第一麦克风和所述第二麦克风进行音频采集。When the electronic device is in a video shooting state, audio collection is performed through the first microphone and the second microphone.

在一示例性应用场景中,如小孩上台表演唱歌、在户外玩耍等场景中,用户手机连接蓝牙麦克风(MIC),并把蓝牙麦克风夹在小孩的衣领上,打开手机的录像功能,记录小孩的声音和影像,此时将手机上的麦克风和蓝牙麦克风同时开启;这样,手机上的麦克风记录摄像者的声音,蓝牙麦克风记录孩子的声音。这样,能够实现双通道录音,生成的视频文件可以清晰的记录小孩和摄像者的声音。In an exemplary application scenario, such as a child performing singing on stage, playing outdoors, etc., the user's mobile phone is connected to a Bluetooth microphone (MIC), and the Bluetooth microphone is clipped on the child's collar, the video function of the mobile phone is turned on, and the child is recorded. At this time, the microphone on the mobile phone and the Bluetooth microphone are turned on at the same time; in this way, the microphone on the mobile phone records the cameraman's voice, and the Bluetooth microphone records the child's voice. In this way, dual-channel recording can be achieved, and the generated video file can clearly record the voices of the child and the cameraman.

在一实施例中,所述外部设备为蓝牙麦克风和蓝牙耳机,所述蓝牙麦克风上设置第三麦克风,所述蓝牙耳机上设置有第四麦克风;在用户同时佩戴了蓝牙麦克风和蓝牙耳机的情况下,上述步骤102包括以下三种情况:In one embodiment, the external device is a Bluetooth microphone and a Bluetooth headset, the Bluetooth microphone is provided with a third microphone, and the Bluetooth headset is provided with a fourth microphone; when the user wears the Bluetooth microphone and the Bluetooth headset at the same time Next, the above step 102 includes the following three situations:

情况一:Case 1:

所述电子设备处于蓝牙通话状态时,通过所述第三麦克风进行音频采集,所述第一麦克风和所述第四麦克风不工作;When the electronic device is in a Bluetooth call state, audio collection is performed through the third microphone, and the first microphone and the fourth microphone do not work;

在一示例性场景中,在电子设备与TWS耳机和蓝牙MIC连接的情景下,检测到用户处于蓝牙通话,且处于免提模式,则下行利用TWS耳机播放,TWS耳机上的麦克风不工作,上行利用蓝牙MIC进行音频发送。这样,语音通话可以获得更佳的发送效果,对方听到的声音更加清晰,且不存在回音。解决由于TWS耳机上麦克风距离TWS耳机上的喇叭较近,很容易出现回声,以及TWS耳机上麦克风距离用户嘴巴较远,通话发送效果较差的问题。In an exemplary scenario, in the scenario where the electronic device is connected to the TWS headset and the Bluetooth MIC, it is detected that the user is in a Bluetooth call and is in the hands-free mode, the downlink is played using the TWS headset, the microphone on the TWS headset does not work, and the uplink is played. Use Bluetooth MIC for audio transmission. In this way, the voice call can get better sending effect, the other party can hear the voice more clearly, and there is no echo. Solve the problem that echoes are prone to occur because the microphone on the TWS headset is close to the speaker on the TWS headset, and the microphone on the TWS headset is far away from the user's mouth, resulting in poor call sending effect.

情况二:Case two:

在所述电子设备处于录音状态时,通过所述第三麦克风和所述第四麦克风进行音频采集,所述第一麦克风不工作;When the electronic device is in a recording state, audio collection is performed through the third microphone and the fourth microphone, and the first microphone does not work;

在一示例性应用场景中,用户A的手机无线连接蓝牙麦克风(MIC)和TWS耳机。其中,蓝牙MIC和两个TWS耳机可以分别佩戴在三个人身上,同时开启TWS耳机和蓝牙MIC上的麦克风,采集三个人的声音。这样,通过多通道录音,能够使生成的语音文件清晰的记录参与者的声音。In an exemplary application scenario, user A's mobile phone is wirelessly connected to a Bluetooth microphone (MIC) and a TWS headset. Among them, the Bluetooth MIC and two TWS headsets can be worn on three people respectively, and the microphones on the TWS headset and the Bluetooth MIC are turned on at the same time to collect the voices of the three people. In this way, through the multi-channel recording, the generated voice file can clearly record the voice of the participant.

情况三:Case three:

在所述电子设备处于视频拍摄状态(如录像、直播等)时,通过所述第一麦克风、所述第三麦克风和所述第四麦克风进行音频采集。When the electronic device is in a video shooting state (eg, video recording, live broadcast, etc.), audio collection is performed through the first microphone, the third microphone, and the fourth microphone.

在一示例性应用场景中,A、B、C、D四个人出去游玩录制视频时,用户A的手机连接蓝牙麦克风(MIC)和TWS耳机,蓝牙MIC夹在B的衣领上,C和D分别佩戴一个TWS耳机,由A进行拍摄,拍摄过程中同时打开手机上的麦克风、耳机上的麦克风和蓝牙MIC进行音频采集。这样,通过多通道录音,能够使生成的视频可以清晰的记录四个人的声音。In an exemplary application scenario, when four people A, B, C, and D go out to play and record videos, user A's mobile phone is connected to a Bluetooth microphone (MIC) and a TWS headset, the Bluetooth MIC is clipped on B's collar, and C and D Wear a TWS headset respectively, and A shoots. During the shooting process, the microphone on the mobile phone, the microphone on the headset, and the Bluetooth MIC are simultaneously turned on to collect audio. In this way, through multi-channel recording, the generated video can clearly record the voices of four people.

如图2和图4所示,本申请实施例还提供一种外设组件,包括:As shown in FIG. 2 and FIG. 4 , an embodiment of the present application further provides a peripheral component, including:

壳体3,所述壳体3上设置有第一置放空间和第二置放空间;a housing 3, the housing 3 is provided with a first placement space and a second placement space;

第一外部设备1,设置于所述第一置放空间内,所述第一外部设备设置有麦克风和第一无线传输模块;The first external device 1 is arranged in the first placement space, and the first external device is provided with a microphone and a first wireless transmission module;

第二外部设备2,设置于所述第二置放空间内,所述第二外部设备设置有麦克风和第二无线传输模块;The second external device 2 is arranged in the second placement space, and the second external device is provided with a microphone and a second wireless transmission module;

其中,所述第一外部设备1可通过所述第一无线传输模块与电子设备建立通信连接,所述第二外部设备2可通过所述第二无线传输模块与电子设备建立通信连接。The first external device 1 can establish a communication connection with the electronic device through the first wireless transmission module, and the second external device 2 can establish a communication connection with the electronic device through the second wireless transmission module.

具体的,所述第一外部设备1为麦克风设备,所述第二外部设备2为耳机。Specifically, the first external device 1 is a microphone device, and the second external device 2 is an earphone.

可选地,在用户从壳体3中取出第一外部设备1的情况下,第一外部设备1通过所述第一无线传输模块与电子设备建立通信连接;在用户从壳体3中取出第二外部设备2的情况下,第二外部设备2通过所述第二无线传输模块与电子设备建立通信连。Optionally, when the user takes out the first external device 1 from the housing 3, the first external device 1 establishes a communication connection with the electronic device through the first wireless transmission module; In the case of two external devices 2, the second external device 2 establishes a communication connection with the electronic device through the second wireless transmission module.

下面结合该外设组件,针对第一外部设备1为麦克风MIC,第二外部设备2为TWS耳机的场景,对本申请的音频采集方法进行具体介绍。With reference to the peripheral components, the audio collection method of the present application will be specifically introduced for a scenario in which the first external device 1 is a microphone MIC and the second external device 2 is a TWS headset.

示例一:Example one:

如图3所示,在用户仅取出蓝牙MIC,未取出TWS耳机的场景中,音频采集方法可以包括:As shown in Figure 3, in the scenario where the user only takes out the Bluetooth MIC and does not take out the TWS headset, the audio collection method may include:

1、通话场景1. The call scene

在免提通话状态下,利用蓝牙MIC进行音频采集,手机上的麦克风不工作,能够提升语音发送的清晰度、解决通话回声问题。In the hands-free call state, using the Bluetooth MIC for audio collection, the microphone on the mobile phone does not work, which can improve the clarity of voice transmission and solve the problem of call echo.

在手持通话状态,蓝牙MIC不工作,利用手机上的麦克风进行。In the hand-held call state, the Bluetooth MIC does not work, and the microphone on the mobile phone is used.

在有线耳机的通话模式下,蓝牙MIC不工作,利用有线耳机上的麦克风进行音频采集。In the call mode of the wired headset, the Bluetooth MIC does not work, and the microphone on the wired headset is used for audio collection.

2、录音场景下(不开启摄像头),利用蓝牙MIC进行音频采集,手机上的麦克风不工作。2. In the recording scene (the camera is not turned on), the Bluetooth MIC is used for audio collection, and the microphone on the mobile phone does not work.

3、视频拍摄(如录像、直播等)场景下,手机上的麦克风和蓝牙麦克风同时进行音频采集,实现多通道录音。3. In the case of video shooting (such as video recording, live broadcast, etc.), the microphone on the mobile phone and the Bluetooth microphone simultaneously collect audio to realize multi-channel recording.

示例二:Example two:

如图4所示,在用户同时取出了蓝牙MIC和TWS耳机的场景中,音频采集方法可以包括:As shown in Figure 4, in the scenario where the user takes out the Bluetooth MIC and the TWS headset at the same time, the audio collection method may include:

1、通话场景1. The call scene

在蓝牙通话状态下,利于蓝牙MIC进行音频采集,能够提升语音发送的清晰度、解决通话回声问题。In the Bluetooth call state, it is beneficial to the Bluetooth MIC for audio collection, which can improve the clarity of voice transmission and solve the problem of call echo.

2、录音场景下(不开启摄像头),利用蓝牙MIC和TWS耳上的麦克风同时进行音频采集,手机上的麦克风不工作,进行多通道录音。2. In the recording scene (the camera is not turned on), the Bluetooth MIC and the microphone on the TWS ear are used to collect audio at the same time, and the microphone on the mobile phone does not work, and multi-channel recording is performed.

3、视频拍摄(如录像、直播等)场景下,TWS耳上的麦克风、手机上的麦克风和蓝牙麦克风同时工作,进行多通道音频采集。3. In the case of video shooting (such as video recording, live broadcast, etc.), the microphone on the TWS ear, the microphone on the mobile phone, and the Bluetooth microphone work at the same time to collect multi-channel audio.

需要指出的是,蓝牙MIC也可以是独立的产品,自带充电接口、或者单独使用一个充电仓、或者插入智能终端上设计的凹槽内进行充电。It should be pointed out that the Bluetooth MIC can also be an independent product with its own charging interface, or use a charging compartment alone, or insert it into the groove designed on the smart terminal for charging.

上述方案中,根据用户的使用场景(即音频采集模式),利用手机或TWS耳机上的麦克风与蓝牙MIC做配合,既能提升通话场景的语音发送效果,又可以满足摄像场景的多通道录音需求,实现蓝牙MIC与智能终端(手机/平板、TWS耳机等)的交互,极大提升用户通话与录音的使用体验。In the above solution, according to the user's usage scenario (that is, the audio collection mode), the microphone on the mobile phone or TWS headset is used to cooperate with the Bluetooth MIC, which can not only improve the voice transmission effect of the call scene, but also meet the multi-channel recording requirements of the camera scene. , to realize the interaction between the Bluetooth MIC and the smart terminal (mobile phone/tablet, TWS headset, etc.), greatly improving the user experience of calling and recording.

本申请实施例提供的音频采集方法,执行主体可以为音频采集装置。本申请实施例中以音频采集装置执行音频采集的方法为例,说明本申请实施例提供的音频采集装置。In the audio collection method provided by the embodiment of the present application, the execution body may be an audio collection device. In this embodiment of the present application, a method for performing audio collection by an audio collection apparatus is used as an example to describe the audio collection apparatus provided by the embodiment of the present application.

如图6所示,本申请实施例提供一种音频采集装置600,应用于电子设备,所述电子设备上设置有第一麦克风,所述装置600包括:As shown in FIG. 6 , an embodiment of the present application provides an audio collection apparatus 600, which is applied to electronic equipment, where a first microphone is provided on the electronic equipment, and the apparatus 600 includes:

检测模块601,用于在所述电子设备处于音频采集模式时,检测与所述电子设备建立通信连接的至少一个外部设备,每个所述外部设备上均设置有麦克风;A detection module 601, configured to detect at least one external device that establishes a communication connection with the electronic device when the electronic device is in an audio collection mode, and each of the external devices is provided with a microphone;

处理模块602,用于通过所述第一麦克风和/或所述外部设备上的麦克风进行音频采集。The processing module 602 is configured to collect audio through the first microphone and/or the microphone on the external device.

可选地,所述外部设备为蓝牙麦克风,所述蓝牙麦克风上设置有第二麦克风;所述处理模块602包括:Optionally, the external device is a Bluetooth microphone, and the Bluetooth microphone is provided with a second microphone; the processing module 602 includes:

第一处理单元,用于在所述电子设备处于免提通话或录音状态时,通过所述第二麦克风进行音频采集,所述第一麦克风不工作;a first processing unit, configured to collect audio through the second microphone when the electronic device is in a hands-free call or recording state, and the first microphone does not work;

第二处理单元,用于在所述电子设备处于视频拍摄状态时,通过所述第一麦克风和所述第二麦克风进行音频采集。The second processing unit is configured to collect audio through the first microphone and the second microphone when the electronic device is in a video shooting state.

可选地,所述外部设备为蓝牙麦克风和蓝牙耳机,所述蓝牙麦克风上设置第三麦克风,所述蓝牙耳机上设置有第四麦克风;所述处理模块602包括:Optionally, the external device is a Bluetooth microphone and a Bluetooth headset, the Bluetooth microphone is provided with a third microphone, and the Bluetooth headset is provided with a fourth microphone; the processing module 602 includes:

第三处理单元,用于在所述电子设备处于蓝牙通话状态时,通过所述第三麦克风进行音频采集,所述第一麦克风和所述第四麦克风不工作;a third processing unit, configured to collect audio through the third microphone when the electronic device is in a Bluetooth call state, and the first microphone and the fourth microphone do not work;

第四处理单元,用于在所述电子设备处于录音状态时,通过所述第三麦克风和所述第四麦克风进行音频采集,所述第一麦克风不工作;a fourth processing unit, configured to collect audio through the third microphone and the fourth microphone when the electronic device is in a recording state, and the first microphone does not work;

第五处理单元,用于在所述电子设备处于视频拍摄状态时,通过所述第一麦克风、所述第三麦克风和所述第四麦克风进行音频采集。A fifth processing unit, configured to perform audio collection through the first microphone, the third microphone and the fourth microphone when the electronic device is in a video shooting state.

本申请实施例中的音频采集装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtualreality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personalcomputer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personalcomputer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The audio collection apparatus in this embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices other than the terminal. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted electronic device, a Mobile Internet Device (MID), an augmented reality (AR)/virtual reality (VR) Devices, robots, wearable devices, ultra-mobile personal computers (UMPCs), netbooks or personal digital assistants (PDAs), etc., and can also be servers, network attached storages (NAS) , a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiments of the present application.

本申请实施例中的音频采集装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The audio collection device in this embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

本申请实施例提供的音频采集装置能够实现图1至图5的方法实施例实现的各个过程,为避免重复,这里不再赘述。The audio collection apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 5 , and to avoid repetition, details are not described here.

可选地,如图7所示,本申请实施例还提供一种电子设备700,包括处理器701和存储器702,存储器702上存储有可在所述处理器701上运行的程序或指令,该程序或指令被处理器701执行时实现上述音频采集方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 7 , an embodiment of the present application further provides an electronic device 700, including a processor 701 and a memory 702. The memory 702 stores programs or instructions that can run on the processor 701. When the program or the instruction is executed by the processor 701, each step of the above-mentioned embodiment of the audio collection method is implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.

需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.

图8为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.

该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、以及处理器810等部件。The electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810, etc. part.

本领域技术人员可以理解,电子设备800还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 800 may also include a power supply (such as a battery) for supplying power to various components, and the power supply may be logically connected to the processor 810 through a power management system, so that the power management system can manage charging, discharging, and power management. consumption management and other functions. The structure of the electronic device shown in FIG. 8 does not constitute a limitation on the electronic device. The electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .

其中,所述电子设备上设置有第一麦克风,处理器810,用于在所述电子设备处于音频采集模式时,检测与所述电子设备建立通信连接的至少一个外部设备,每个所述外部设备上均设置有麦克风;通过所述第一麦克风和/或所述外部设备上的麦克风进行音频采集。The electronic device is provided with a first microphone, and the processor 810 is configured to detect at least one external device that establishes a communication connection with the electronic device when the electronic device is in the audio collection mode. All devices are provided with microphones; audio collection is performed through the first microphone and/or the microphone on the external device.

可选地,所述外部设备为蓝牙麦克风,所述蓝牙麦克风上设置有第二麦克风;处理器810,具体用于在所述电子设备处于免提通话或录音状态时,通过所述第二麦克风进行音频采集,所述第一麦克风不工作;在所述电子设备处于视频拍摄状态时,通过所述第一麦克风和所述第二麦克风进行音频采集。Optionally, the external device is a Bluetooth microphone, and the Bluetooth microphone is provided with a second microphone; the processor 810 is specifically configured to pass the second microphone when the electronic device is in a hands-free call or recording state When audio collection is performed, the first microphone does not work; when the electronic device is in a video shooting state, audio collection is performed through the first microphone and the second microphone.

可选地,所述外部设备为蓝牙麦克风和蓝牙耳机,所述蓝牙麦克风上设置第三麦克风,所述蓝牙耳机上设置有第四麦克风;处理器810,具体用于在所述电子设备处于蓝牙通话状态时,通过所述第三麦克风进行音频采集,所述第一麦克风和所述第四麦克风不工作;在所述电子设备处于录音状态时,通过所述第三麦克风和所述第四麦克风进行音频采集,所述第一麦克风不工作;在所述电子设备处于视频拍摄状态时,通过所述第一麦克风、所述第三麦克风和所述第四麦克风进行音频采集。Optionally, the external device is a Bluetooth microphone and a Bluetooth headset, the Bluetooth microphone is provided with a third microphone, and the Bluetooth headset is provided with a fourth microphone; the processor 810 is specifically used for when the electronic device is in a Bluetooth state. In the call state, audio is collected through the third microphone, and the first microphone and the fourth microphone do not work; when the electronic device is in the recording state, the third microphone and the fourth microphone are used. When audio collection is performed, the first microphone does not work; when the electronic device is in a video shooting state, audio collection is performed through the first microphone, the third microphone and the fourth microphone.

应理解的是,本申请实施例中,输入单元804可以包括图形处理器(GraphicsProcessing Unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元806可包括显示面板8061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板8061。用户输入单元807包括触控面板8071以及其他输入设备8072中的至少一种。触控面板8071,也称为触摸屏。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that, in this embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042. camera) to process the image data of still pictures or videos. The display unit 806 may include a display panel 8061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes at least one of a touch panel 8071 and other input devices 8072 . The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts, a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again.

存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器809可以包括易失性存储器或非易失性存储器,或者,存储器809可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器809包括但不限于这些和任意其它适合类型的存储器。The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, image playback function, etc.), etc. Additionally, memory 809 may include volatile memory or non-volatile memory, or memory 809 may include both volatile and non-volatile memory. Wherein, the non-volatile memory may be Read-Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (Erasable PROM, EPROM), Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous random access memory) DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). The memory 809 in this embodiment of the present application includes, but is not limited to, these and any other suitable types of memory.

处理器810可包括一个或多个处理单元;可选的,处理器810集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, wherein the application processor mainly processes operations involving an operating system, a user interface, and an application program, etc. Modem processors mainly deal with wireless communication signals, such as baseband processors. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 810.

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述音频采集方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, each process of the above-mentioned audio collection method embodiment can be achieved, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here.

其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, and the like.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述音频采集方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above audio collection method embodiment. Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述音频采集方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application provide a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the various processes in the above-mentioned audio acquisition method embodiments, and can achieve the same technical effect , in order to avoid repetition, it will not be repeated here.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present application can be embodied in the form of computer software products that are essentially or contribute to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk , CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) execute the methods described in the various embodiments of the present application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (9)

1.一种音频采集方法,其特征在于,应用于电子设备,所述电子设备上设置有第一麦克风,所述方法包括:1. an audio collection method, is characterized in that, is applied to electronic equipment, is provided with the first microphone on described electronic equipment, and described method comprises: 在所述电子设备处于音频采集模式时,检测与所述电子设备建立通信连接的至少一个外部设备,每个所述外部设备上均设置有麦克风;When the electronic device is in the audio collection mode, detecting at least one external device that establishes a communication connection with the electronic device, and each of the external devices is provided with a microphone; 通过所述第一麦克风和/或所述外部设备上的麦克风进行音频采集。Audio collection is performed through the first microphone and/or the microphone on the external device. 2.根据权利要求1所述的音频采集方法,其特征在于,所述外部设备为蓝牙麦克风,所述蓝牙麦克风上设置有第二麦克风;所述通过所述第一麦克风和/或所述外部设备上的麦克风进行音频采集,包括:2. The audio collection method according to claim 1, wherein the external device is a Bluetooth microphone, and a second microphone is provided on the Bluetooth microphone; On-device microphones for audio capture, including: 在所述电子设备处于免提通话或录音状态时,通过所述第二麦克风进行音频采集,所述第一麦克风不工作;When the electronic device is in a hands-free call or recording state, audio collection is performed through the second microphone, and the first microphone does not work; 在所述电子设备处于视频拍摄状态时,通过所述第一麦克风和所述第二麦克风进行音频采集。When the electronic device is in a video shooting state, audio collection is performed through the first microphone and the second microphone. 3.根据权利要求1所述的音频采集方法,其特征在于,所述外部设备为蓝牙麦克风和蓝牙耳机,所述蓝牙麦克风上设置第三麦克风,所述蓝牙耳机上设置有第四麦克风;所述通过所述第一麦克风和/或所述外部设备上的麦克风进行音频采集,包括:3. The audio collection method according to claim 1, wherein the external device is a bluetooth microphone and a bluetooth headset, the bluetooth microphone is provided with a third microphone, and the bluetooth headset is provided with a fourth microphone; The audio collection through the first microphone and/or the microphone on the external device includes: 在所述电子设备处于蓝牙通话状态时,通过所述第三麦克风进行音频采集,所述第一麦克风和所述第四麦克风不工作;When the electronic device is in a Bluetooth call state, audio collection is performed through the third microphone, and the first microphone and the fourth microphone do not work; 在所述电子设备处于录音状态时,通过所述第三麦克风和所述第四麦克风进行音频采集,所述第一麦克风不工作;When the electronic device is in a recording state, audio collection is performed through the third microphone and the fourth microphone, and the first microphone does not work; 在所述电子设备处于视频拍摄状态时,通过所述第一麦克风、所述第三麦克风和所述第四麦克风进行音频采集。When the electronic device is in a video shooting state, audio collection is performed through the first microphone, the third microphone and the fourth microphone. 4.一种音频采集装置,其特征在于,应用于电子设备,所述电子设备上设置有第一麦克风,所述装置包括:4. An audio collection device, characterized in that it is applied to electronic equipment, the electronic equipment is provided with a first microphone, and the device comprises: 检测模块,用于在所述电子设备处于音频采集模式时,检测与所述电子设备建立通信连接的至少一个外部设备,每个所述外部设备上均设置有麦克风;a detection module, configured to detect at least one external device that establishes a communication connection with the electronic device when the electronic device is in the audio collection mode, and each of the external devices is provided with a microphone; 处理模块,用于通过所述第一麦克风和/或所述外部设备上的麦克风进行音频采集。A processing module, configured to collect audio through the first microphone and/or the microphone on the external device. 5.根据权利要求4所述的音频采集装置,其特征在于,所述外部设备为蓝牙麦克风,所述蓝牙麦克风上设置有第二麦克风;所述处理模块包括:5. The audio collection device according to claim 4, wherein the external device is a Bluetooth microphone, and the Bluetooth microphone is provided with a second microphone; the processing module comprises: 第一处理单元,用于在所述电子设备处于免提通话或录音状态时,通过所述第二麦克风进行音频采集,所述第一麦克风不工作;a first processing unit, configured to collect audio through the second microphone when the electronic device is in a hands-free call or recording state, and the first microphone does not work; 第二处理单元,用于在所述电子设备处于视频拍摄状态时,通过所述第一麦克风和所述第二麦克风进行音频采集。The second processing unit is configured to collect audio through the first microphone and the second microphone when the electronic device is in a video shooting state. 6.根据权利要求4所述的音频采集装置,其特征在于,所述外部设备为蓝牙麦克风和蓝牙耳机,所述蓝牙麦克风上设置第三麦克风,所述蓝牙耳机上设置有第四麦克风;所述处理模块包括:6. The audio collection device according to claim 4, wherein the external device is a Bluetooth microphone and a Bluetooth headset, a third microphone is provided on the Bluetooth microphone, and a fourth microphone is provided on the Bluetooth headset; The processing modules described above include: 第三处理单元,用于在所述电子设备处于蓝牙通话状态时,通过所述第三麦克风进行音频采集,所述第一麦克风和所述第四麦克风不工作;a third processing unit, configured to collect audio through the third microphone when the electronic device is in a Bluetooth call state, and the first microphone and the fourth microphone do not work; 第四处理单元,用于在所述电子设备处于录音状态时,通过所述第三麦克风和所述第四麦克风进行音频采集,所述第一麦克风不工作;a fourth processing unit, configured to collect audio through the third microphone and the fourth microphone when the electronic device is in a recording state, and the first microphone does not work; 第五处理单元,用于在所述电子设备处于视频拍摄状态时,通过所述第一麦克风、所述第三麦克风和所述第四麦克风进行音频采集。A fifth processing unit, configured to perform audio collection through the first microphone, the third microphone and the fourth microphone when the electronic device is in a video shooting state. 7.一种外部组件,其特征在于,包括:7. An external component, characterized in that, comprising: 壳体,所述壳体上设置有第一置放空间和第二置放空间;a housing, the housing is provided with a first placement space and a second placement space; 第一外部设备,设置于所述第一置放空间内,所述第一外部设备设置有麦克风和第一无线传输模块;a first external device, arranged in the first placement space, and the first external device is provided with a microphone and a first wireless transmission module; 第二外部设备,设置于所述第二置放空间内,所述第二外部设备设置有麦克风和第二无线传输模块;A second external device is arranged in the second placement space, and the second external device is provided with a microphone and a second wireless transmission module; 其中,所述第一外部设备可通过所述第一无线传输模块与电子设备建立通信连接,所述第二外部设备可通过所述第二无线传输模块与电子设备建立通信连接。Wherein, the first external device can establish a communication connection with the electronic device through the first wireless transmission module, and the second external device can establish a communication connection with the electronic device through the second wireless transmission module. 8.一种电子设备,其特征在于,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-3任一项所述的音频采集方法的步骤。8. An electronic device, characterized in that it comprises a processor and a memory, wherein the memory stores a program or an instruction that can be run on the processor, and when the program or instruction is executed by the processor, the implementation as claimed in the claims Steps of the audio collection method described in any one of 1-3. 9.一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-3任一项所述的音频采集方法的步骤。9. A readable storage medium, characterized in that, a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the audio collection according to any one of claims 1-3 is realized steps of the method.
CN202210117882.4A 2022-02-08 2022-02-08 Audio acquisition method, device, electronic device and peripheral component method Active CN114466283B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210117882.4A CN114466283B (en) 2022-02-08 2022-02-08 Audio acquisition method, device, electronic device and peripheral component method
PCT/CN2023/074516 WO2023151526A1 (en) 2022-02-08 2023-02-06 Audio acquisition method and apparatus, electronic device and peripheral component

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210117882.4A CN114466283B (en) 2022-02-08 2022-02-08 Audio acquisition method, device, electronic device and peripheral component method

Publications (2)

Publication Number Publication Date
CN114466283A true CN114466283A (en) 2022-05-10
CN114466283B CN114466283B (en) 2025-02-18

Family

ID=81412731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210117882.4A Active CN114466283B (en) 2022-02-08 2022-02-08 Audio acquisition method, device, electronic device and peripheral component method

Country Status (2)

Country Link
CN (1) CN114466283B (en)
WO (1) WO2023151526A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114913882A (en) * 2022-05-25 2022-08-16 维沃移动通信有限公司 Recording method and recording device
CN115988370A (en) * 2022-12-27 2023-04-18 深圳开鸿数字产业发展有限公司 Audio transmission method, device, equipment and storage medium
WO2023151526A1 (en) * 2022-02-08 2023-08-17 维沃移动通信有限公司 Audio acquisition method and apparatus, electronic device and peripheral component

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060056638A (en) * 2004-11-22 2006-05-25 주식회사 팬택 Voice recording method and device in mobile communication terminal
CN111370012A (en) * 2020-05-27 2020-07-03 北京小米移动软件有限公司 Bluetooth voice audio acquisition method and system
CN111770404A (en) * 2020-06-09 2020-10-13 维沃移动通信有限公司 Recording method, device, electronic device and readable storage medium
CN212034334U (en) * 2020-04-03 2020-11-27 南京西觉硕信息科技有限公司 Audio equipment
CN112291678A (en) * 2020-04-03 2021-01-29 南京西觉硕信息科技有限公司 Audio equipment
CN112913321A (en) * 2018-12-07 2021-06-04 华为技术有限公司 A method, device and system for making calls using a bluetooth headset
US20210219041A1 (en) * 2018-06-06 2021-07-15 Goertek Technology Co., Ltd. Voice data transmission method, wireless earphone and tws earphone
CN113794797A (en) * 2021-06-16 2021-12-14 荣耀终端有限公司 Method and terminal device for terminal device to pick up sound through Bluetooth peripheral device
CN113810589A (en) * 2020-06-11 2021-12-17 华为技术有限公司 Electronic device, video shooting method and medium thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM285158U (en) * 2005-07-29 2006-01-01 Lin Tai Jiang Storage structure of wireless microphones
CN106027743A (en) * 2016-06-27 2016-10-12 安徽声讯信息技术有限公司 Split-type mobile terminal long-distance voice receiving and expanding device
WO2018120487A1 (en) * 2016-12-29 2018-07-05 华为技术有限公司 Call mode switching method and terminal
CN207117870U (en) * 2017-05-17 2018-03-16 宁波桑德纳电子科技有限公司 A kind of long-range directional microphone array sound collector
CN108111952B (en) * 2017-12-26 2020-07-31 上海展扬通信技术有限公司 Recording method, device, terminal and computer readable storage medium
CN114466283B (en) * 2022-02-08 2025-02-18 维沃移动通信有限公司 Audio acquisition method, device, electronic device and peripheral component method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060056638A (en) * 2004-11-22 2006-05-25 주식회사 팬택 Voice recording method and device in mobile communication terminal
US20210219041A1 (en) * 2018-06-06 2021-07-15 Goertek Technology Co., Ltd. Voice data transmission method, wireless earphone and tws earphone
CN112913321A (en) * 2018-12-07 2021-06-04 华为技术有限公司 A method, device and system for making calls using a bluetooth headset
CN212034334U (en) * 2020-04-03 2020-11-27 南京西觉硕信息科技有限公司 Audio equipment
CN112291678A (en) * 2020-04-03 2021-01-29 南京西觉硕信息科技有限公司 Audio equipment
CN111370012A (en) * 2020-05-27 2020-07-03 北京小米移动软件有限公司 Bluetooth voice audio acquisition method and system
CN111770404A (en) * 2020-06-09 2020-10-13 维沃移动通信有限公司 Recording method, device, electronic device and readable storage medium
CN113810589A (en) * 2020-06-11 2021-12-17 华为技术有限公司 Electronic device, video shooting method and medium thereof
CN113794797A (en) * 2021-06-16 2021-12-14 荣耀终端有限公司 Method and terminal device for terminal device to pick up sound through Bluetooth peripheral device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BAI, MSR等: "Acoustical Design of a Bluetooth Earphone Using Simulated Annealing Optimization", JOURNAL OF THE AUDIO ENGINEERING SOCIETY, 1 July 2010 (2010-07-01) *
丁浩;王唯一;: "时分复用的麦克风阵列音频数据采集系统", 工业控制计算机, no. 02, 25 February 2011 (2011-02-25) *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023151526A1 (en) * 2022-02-08 2023-08-17 维沃移动通信有限公司 Audio acquisition method and apparatus, electronic device and peripheral component
CN114913882A (en) * 2022-05-25 2022-08-16 维沃移动通信有限公司 Recording method and recording device
CN115988370A (en) * 2022-12-27 2023-04-18 深圳开鸿数字产业发展有限公司 Audio transmission method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN114466283B (en) 2025-02-18
WO2023151526A1 (en) 2023-08-17

Similar Documents

Publication Publication Date Title
CN110557566B (en) Video shooting method and electronic equipment
CN109413563B (en) Video sound effect processing method and related products
CN114466283A (en) Audio collection method, device, electronic device and peripheral component method
WO2021057673A1 (en) Image display method and electronic device
CN106982286B (en) A recording method, device and computer-readable storage medium
CN110177296A (en) A kind of video broadcasting method and mobile terminal
CN107730460B (en) Image processing method and mobile terminal
CN111508531B (en) Audio processing method and device
CN107483735A (en) Volume control method, device and storage medium of mobile terminal and mobile terminal
US9444927B2 (en) Methods for voice management, and related devices
CN110769174B (en) Video viewing method and electronic equipment
CN114449391A (en) Recording method and device and electronic equipment
CN110650294A (en) Video shooting method, mobile terminal and readable storage medium
CN110855921B (en) Video recording control method and electronic equipment
CN108549529A (en) Control the method and device of audio output
CN110058837B (en) Audio output method and terminal
CN109819188B (en) Video processing method and terminal equipment
CN109325219B (en) Method, device and system for generating record document
CN112394771A (en) Communication method, communication device, wearable device and readable storage medium
CN108989560B (en) Screen switching control method in shooting mode, terminal device and storage medium
JP6930280B2 (en) Media capture / processing system
CN111930339B (en) Device control method, device, storage medium and electronic device
CN109922256A (en) Image pickup method and terminal device
CN111314621B (en) A kind of photographing method and electronic equipment
CN111176777B (en) Call information processing method and electronic device

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
GR01 Patent grant
GR01 Patent grant