WO2014089885A1 - 一种对讲机音频采集控制方法以及对讲机 - Google Patents

一种对讲机音频采集控制方法以及对讲机 Download PDF

Info

Publication number
WO2014089885A1
WO2014089885A1 PCT/CN2012/087697 CN2012087697W WO2014089885A1 WO 2014089885 A1 WO2014089885 A1 WO 2014089885A1 CN 2012087697 W CN2012087697 W CN 2012087697W WO 2014089885 A1 WO2014089885 A1 WO 2014089885A1
Authority
WO
WIPO (PCT)
Prior art keywords
microphone
walkie
talkie
intercom
target
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.)
Ceased
Application number
PCT/CN2012/087697
Other languages
English (en)
French (fr)
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.)
Hytera Communications Corp Ltd
Original Assignee
Hytera Communications 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 Hytera Communications Corp Ltd filed Critical Hytera Communications Corp Ltd
Publication of WO2014089885A1 publication Critical patent/WO2014089885A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q5/00Selecting arrangements wherein two or more subscriber stations are connected by the same line to the exchange
    • H04Q5/24Selecting arrangements wherein two or more subscriber stations are connected by the same line to the exchange for two-party-line systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13034A/D conversion, code compression/expansion

Definitions

  • the embodiments of the present invention relate to the field of data processing, and in particular, to a walkie-talkie audio collection and control method and a walkie-talkie.
  • the walkie-talkie has been widely used in various industries due to its own communication convenience.
  • the structure of the walkie-talkie in the prior art mainly includes: communication components, processors, speakers and microphones.
  • an existing walkie-talkie only includes a microphone on the front side through which the user makes calls and recordings.
  • the quality of the audio collection will be affected by the blocking of the microphone, which will adversely affect the quality of the call and the quality of the recording.
  • the embodiment of the invention provides a walkie-talkie audio collection and control method and a walkie-talkie, which can effectively improve the call quality and the recording quality of the walkie-talkie.
  • the audio capture control method of the walkie-talkie provided by the embodiment of the present invention, the walkie-talkie has at least two microphones, and the method includes:
  • the walkie-talkie obtains the microphone indication information
  • the walkie-talkie selects a corresponding target microphone according to the microphone indication information
  • the walkie-talkie uses the target microphone for audio acquisition.
  • the obtaining, by the interphone, the microphone indication information includes:
  • the intercom receives the selection information input by the user, and uses the selection information as the microphone indication information, where the selection information includes an identifier of a microphone that the user currently wishes to use.
  • the interphone selects a corresponding target microphone according to the microphone indication information, including:
  • the walkie-talkie uses the microphone that the user currently wishes to use as the target microphone.
  • the obtaining, by the interphone, the microphone indication information includes:
  • the walkie-talkie detects the position of itself
  • the walkie-talkie uses the result of the orientation detection as the microphone indication information, and the result of the orientation detection is used to indicate the orientation and position of the walkie-talkie.
  • performing the orientation detection on the walkie-talkie includes:
  • the walkie-talkie uses a gravity sensor to perform gravity sensing on itself.
  • the interphone selects a corresponding target microphone according to the microphone indication information, including:
  • the walkie-talkie uses a horizontally upward microphone as the target microphone.
  • the interphone selects a corresponding target microphone according to the microphone indication information, including:
  • the walkie-talkie selects a microphone whose sound source signal strength is higher than a preset threshold as a target microphone according to the result of the attempted acquisition.
  • performing the orientation detection on the walkie-talkie includes:
  • the walkie-talkie uses a distance sensor to detect the distance between itself and the obstacle.
  • the interphone selects a corresponding target microphone according to the microphone indication information, including:
  • the walkie-talkie uses the microphone facing away from the face of the obstacle as the target microphone.
  • the walkie-talkie has at least two microphones, and the walkie-talkie further includes:
  • An obtaining unit configured to obtain microphone indication information
  • a selecting unit configured to select a corresponding target microphone according to the microphone indication information
  • a control unit configured to perform audio collection by using the target microphone
  • the acquiring unit is specifically configured to receive the selection information input by the user, and use the selection information as the microphone indication information, where the selection information includes the current user that the user currently wishes to use. The identity of the microphone.
  • the selecting unit is specifically configured to use a microphone that the user currently wishes to use as the target microphone.
  • the walkie-talkie further includes an orientation detecting unit
  • the orientation detecting unit is configured to perform orientation detection on the walkie-talkie
  • the acquiring unit is specifically configured to use the result of the orientation detection as the microphone indication information, and the result of the orientation detection is used to indicate the orientation and position of the walkie-talkie.
  • the orientation detecting unit is a gravity sensor
  • the selecting unit is specifically configured to use a microphone with a horizontal upward as a target microphone when the result of the gravity sensing detection by the gravity sensor indicates that the walkie-talkie is horizontally placed.
  • the orientation detecting unit is a gravity sensor
  • the walkie-talkie further includes a test unit
  • the test unit is configured to perform an attempt to acquire by using each microphone when the result of the gravity sensing detection by the gravity sensor indicates that the walkie-talkie is placed laterally;
  • the selecting unit is specifically configured to select, as the target microphone, a microphone whose sound source signal strength is higher than a preset threshold according to a result of the attempted acquisition by the testing unit.
  • the orientation detecting unit is a distance sensor
  • the selecting unit is specifically configured to: when a distance sensing result of the distance sensor indicates that the distance between the walkie-talkie and the obstacle is less than a preset value, target a microphone facing away from the obstacle microphone.
  • the walkie-talkie has at least two microphones, and the walkie-talkie further includes:
  • Each microphone is electrically connected to the codec through a different electrical path
  • a voice channel for transmitting a voice signal and a control channel for transmitting a control signal are disposed between the microprocessor and the codec;
  • the microprocessor transmits a control command to the codec through the control channel to select a target microphone from each of the microphones, such that the codec uses the target microphone for audio acquisition.
  • the walkie-talkie further includes: an orientation detector;
  • the orientation detector is electrically coupled to the microprocessor for providing a result of the orientation detection to the microprocessor.
  • the orientation detector is a gravity sensor or a distance sensor.
  • the embodiments of the present invention have the following advantages:
  • the interphone can have at least two microphones, and can select a corresponding target microphone according to the microphone indication information, so that the target microphone is used for audio collection, so in practical applications, the interphone can select each microphone according to actual needs.
  • the target microphone in the audio capture so it can provide users with more choices;
  • the microphone that is not facing the obstacle side can be selected for audio collection, so the call quality and the recording quality can be effectively improved.
  • FIG. 1 is a schematic diagram of an embodiment of an audio collection control method for a walkie-talkie of the present invention
  • FIG. 2 is a schematic diagram of another embodiment of an audio collection control method for a walkie-talkie of the present invention.
  • FIG. 3 is a schematic diagram of another embodiment of an audio collection control method for a walkie-talkie of the present invention.
  • FIG. 4 is a schematic diagram of another embodiment of an audio collection control method for a walkie-talkie of the present invention.
  • FIG. 5 is a schematic diagram of another embodiment of an audio collection control method for a walkie-talkie according to the present invention.
  • FIG. 6 is a schematic diagram of an embodiment of a walkie-talkie of the present invention.
  • FIG. 7 is a schematic view of another embodiment of the walkie-talkie of the present invention.
  • FIG. 8 is a schematic diagram of another embodiment of the walkie-talkie of the present invention.
  • the embodiment of the invention provides a walkie-talkie audio collection and control method and a walkie-talkie, which can effectively improve the call quality and the recording quality of the walkie-talkie.
  • an embodiment of an audio collection control method for a walkie-talkie of the present invention includes:
  • the walkie-talkie obtains the microphone indication information
  • the interphone can obtain the microphone indication information, and the microphone indication information is used to indicate which microphone the interphone should use for audio collection.
  • the microphone indication information may have multiple representations in practical applications, and will be described in detail in the following embodiments. 102.
  • the walkie-talkie selects a corresponding target microphone according to the microphone indication information.
  • the target microphone corresponding to the microphone indication information may be selected according to the microphone indication information.
  • the walkie-talkie uses the target microphone for audio collection.
  • the target microphone can be used for audio acquisition.
  • the interphone can have at least two microphones, and can select a corresponding target microphone according to the microphone indication information, so that the target microphone is used for audio collection, so in practical applications, the interphone can select each microphone according to actual needs.
  • the target microphone is used for audio collection, so it can provide users with more choices;
  • the microphone that is not facing the obstacle side can be selected for audio collection, so the call quality and the recording quality can be effectively improved.
  • the microphone indication information obtained by the walkie-talkie can have multiple manifestations, which are described below:
  • the microphone indication information is the selection information input by the user:
  • the walkie-talkie can use the selection information input by the user as the microphone indication information, so the user can choose which microphone to use for the call and the recording.
  • FIG. 2 another embodiment of the audio collection control method of the walkie-talkie of the present invention. Includes:
  • the walkie-talkie displays a microphone selection interface to the user
  • the walkie-talkie can display the microphone selection interface to the user through the display screen, for example, the user can display [using the front microphone] and [using the rear microphone] for the user to select.
  • step 201 is not a mandatory step.
  • the walkie-talkie may not display the microphone selection interface on the display screen, but directly set the [use front microphone] and [use the rear microphone] at the keyboard. ⁇ button, the user can select by pressing the button.
  • the walkie-talkie can also be set in the built-in software program so that the user can select a microphone when inputting a specific command through the keyboard. For example, when the user inputs *#back#, the rear microphone can be selected. There is no limit here.
  • the walkie-talkie receives the selection information input by the user; After the user inputs the selection information, the walkie-talkie can receive the selection information sent by the user, and the selection information is used as the microphone indication information, and the selection information includes the identifier of the microphone that the user currently wishes to use.
  • the walkie-talkie can know that the microphone that the user currently wants to use is only "back".
  • the walkie-talkie uses the microphone that the user currently wants to use as the target microphone
  • the microphone that the user wishes to use can be queried according to the identifier.
  • the walkie-talkie learns that the identifier of the microphone that the user currently wants to use is "back", it can be queried that the microphone that the user currently wants to use is a rear microphone, and the walkie-talkie can use the rear microphone as the target microphone.
  • a microphone can be disposed on the front and the back of the walkie-talkie, which are a front microphone and a rear microphone respectively. It can be understood that, in practical applications, the walkie-talkie can also have more microphones. , not limited to two, and the microphone that the user selects to use currently is not limited to one of them.
  • the walkie-talkie can be set with four microphones, which are located at the top and bottom of the front, and the top and bottom of the back.
  • the walkie-talkie can select the microphone at the top of the front and the microphone at the top of the back. Target microphone.
  • the number of specific microphones and the selection method are similar, and are not limited here. 204.
  • the walkie-talkie uses the target microphone for audio collection.
  • the target microphone can be used for audio collection.
  • the walkie-talkie may specifically include a microprocessor (MPU, Micro Processing Unit) and a codec (CODEC).
  • MPU Microprocessor
  • CODEC codec
  • the MPU and the CODEC are connected through a control channel and a voice channel, and each microphone is electrically connected to the CODEC.
  • the MPU can control the CODEC to turn on the electrical path of the target microphone through the analog switch, and temporarily turn off the electrical path of the other microphones, thereby achieving audio acquisition using the target microphone.
  • the MPU can control the CODEC to use the rear microphone for audio acquisition in a mono mode.
  • the walkie-talkie is equipped with multiple microphones and the target microphone is also multiple microphones, for example, the walkie-talkie is provided with four microphones, which are located at the top and bottom of the front, and the top and bottom of the back, the target microphone is the microphone at the top of the front and the top of the back.
  • the MPU can control the CODEC to stereoly use the microphone on the top of the front and the microphone on the top of the back for audio capture.
  • the walkie-talkie can have at least two microphones, and can select a corresponding target microphone according to the microphone that the user currently wishes to use, thereby using the target microphone for audio collection, so in practical applications, the walkie-talkie can be selected according to user requirements.
  • the target microphone in each microphone performs audio acquisition, thus providing the user with more choices.
  • the microphone indication information is the orientation detection information:
  • the intercom can use the result of the azimuth detection as the microphone indication information, so the user does not need to actively select, but the result of the orientation detection by the intercom itself can determine which microphone to use for the call and recording, and the specific orientation detection mode. It can be divided into the following situations: (1), using the gravity sensor for orientation detection:
  • the gravity sensor of the walkie-talkie can be used for azimuth detection, and according to the detection result, which microphone is used for talking and recording.
  • the gravity sensor can detect the multi-directional state.
  • the following is a description of the situation:
  • another embodiment of the audio capture control method of the walkie-talkie of the present invention includes:
  • the walkie-talkie uses a gravity sensor to perform gravity sensing on itself;
  • a gravity sensor may be disposed in the walkie-talkie, and the walkie-talkie may perform gravity sensing detection using the gravity sensor itself to determine its orientation and position.
  • the walkie-talkie uses the result of the gravity sensing detection as the microphone indication information
  • the result of gravity sensing can be used as The microphone indicates the information.
  • the walkie-talkie uses the microphone with the horizontal upward as the target microphone;
  • a microphone can be disposed on the front and the back of the walkie-talkie, which are a front microphone and a rear microphone respectively.
  • the walkie-talkie can use the microphone with the horizontal upward as the target microphone.
  • the front microphone can be selected as the target microphone.
  • the rear microphone can be used as the target microphone.
  • the walkie-talkie can also have more microphones, and is not limited to two, and the target microphone is not limited to one of them.
  • the walkie-talkie can be set up with four microphones, located at the top and bottom of the front, and the top and bottom of the back.
  • the microphone at the top of the back and the microphone at the bottom of the back can be used as the target microphone.
  • the walkie-talkie uses the target microphone for audio collection.
  • the target microphone can be used for audio collection.
  • the walkie-talkie may specifically include an MPU and a CODEC, and the MPU and the CODEC are connected through a control channel and a voice channel, and each microphone is electrically connected to the CODEC.
  • the MPU can control the CODEC to turn on the electrical path of the target microphone through the analog switch, and temporarily turn off the electrical path of the other microphones, thereby achieving audio acquisition using the target microphone.
  • the MPU can control the CODEC to use the rear microphone for audio acquisition in a mono mode.
  • the walkie-talkie is equipped with multiple microphones and the target microphone is also multiple microphones, for example, the walkie-talkie is provided with four microphones, which are located at the top and bottom of the front, and at the top and bottom of the back.
  • the target microphone is the microphone at the top of the front and the bottom of the front.
  • the MPU can control
  • the CODEC uses the microphone at the top of the front and the microphone at the bottom of the front for audio capture in stereo.
  • the interphone can have at least two microphones, and when the interphone is horizontally placed, the horizontally upward microphone can be selected as the corresponding target microphone according to the result of the gravity detection, thereby using the target microphone for audio collection, so that Can effectively avoid the impact of obstacles, thereby improving the quality of calls and recordings.
  • the corresponding target microphone can be selected according to the magnitude of the microphone sound source.
  • FIG. 4 another embodiment of the walkie-talkie audio collection control method of the present invention includes:
  • the walkie-talkie uses a gravity sensor to perform gravity sensing on itself;
  • a gravity sensor may be disposed in the walkie-talkie, and the walkie-talkie may perform gravity sensing detection using the gravity sensor itself to determine its orientation and position.
  • the walkie-talkie uses the result of the gravity sensing detection as the microphone indication information
  • the result of gravity sensing can be used as the microphone indication information.
  • each microphone can be used to attempt to collect the current sound source.
  • the walkie-talkie selects a microphone whose sound source signal strength is higher than a preset threshold as a target microphone according to the result of the attempted acquisition;
  • the walkie-talkie may specifically include an MPU and a CODEC.
  • the MPU and the CODEC are connected through a control channel and a voice channel, and each microphone is electrically connected to the CODEC.
  • the CODEC can know the signal strength of each microphone. Therefore, a microphone whose sound source signal strength is higher than a preset threshold can be selected as the target microphone.
  • the walkie-talkie is provided with two microphones, the one with the higher sound source signal strength can be selected as the target microphone.
  • the walkie-talkie can also have more microphones, not limited to two, then the target wheat The wind is not limited to one of them.
  • the microphone with the highest signal strength can be selected as the target microphone, or two or three microphones with high sound source signal strength can be selected as the target microphone, which is not limited herein.
  • the walkie-talkie uses the target microphone for audio collection.
  • the target microphone can be used for audio collection.
  • the MPU can control the CODEC to turn on the electrical path of the target microphone through the analog switch, and temporarily turn off the electrical path of the other microphones, thereby realizing audio collection using the target microphone.
  • the MPU can control the CODEC to use the rear microphone for audio acquisition in a mono mode.
  • the walkie-talkie is equipped with multiple microphones and the target microphone is also multiple microphones, for example, the walkie-talkie is provided with four microphones, which are located at the top and bottom of the front, and at the top and bottom of the back.
  • the target microphone is the microphone at the top of the front and the bottom of the front.
  • the MPU can control the CODEC to stereoly use the microphone on the top of the front and the microphone on the bottom of the front for audio capture.
  • the interphone can have at least two microphones, and when the interphone is placed laterally, the microphone with the audio signal strength higher than the preset threshold can be selected as the corresponding target microphone according to the result of the attempted acquisition, thereby using the microphone.
  • the target microphone is used for audio collection, which can improve the quality of calls and recordings.
  • the distance sensor of the walkie-talkie can be used for the position detection, and the microphone is used for the call and the recording according to the distance.
  • the audio collection control method of the present invention includes
  • the walkie-talkie uses a distance sensor to perform distance sensing between itself and an obstacle.
  • a distance sensor may be disposed in the walkie-talkie, and the walkie-talkie may use the distance sensor to perform distance sensing between the obstacle and the obstacle. Detecting to determine the distance between itself and the obstacle Leaving.
  • the walkie-talkie uses the result of the distance sensing detection as the microphone indication information
  • the result of the distance sensing detection can be used as the microphone indication information.
  • the walkie-talkie uses the microphone facing the obstacle surface as the target microphone;
  • the walkie-talkie can detect the distance between itself and the obstacle through the distance sensor.
  • the distance sensing result indicates that the distance between the walkie-talkie and the obstacle is less than a preset value
  • the walk-off obstacle can be turned off.
  • the microphone on the face serves as the target microphone.
  • a microphone can be disposed on the front and the back of the walkie-talkie, which are a front microphone and a rear microphone respectively.
  • the walkie-talkie can Use the rear microphone on the back as the target microphone.
  • the walkie-talkie can also have more microphones, and is not limited to two, and the target microphone is not limited to one of them.
  • the walkie-talkie can be equipped with four microphones, which are located at the top and bottom of the front, and at the top and bottom of the back.
  • the distance sensing result indicates that the distance between the front of the walkie-talkie and the obstacle is too small, you can select the microphone at the top of the back.
  • the microphone at the bottom of the back is used as the target microphone.
  • the walkie-talkie uses the target microphone for audio collection.
  • the target microphone can be used for audio collection.
  • the walkie-talkie may specifically include an MPU and a CODEC.
  • the MPU and the CODEC are connected through a control channel and a voice channel, and each microphone is electrically connected to the CODEC.
  • the MPU may be controlled by an analog switch.
  • the CODEC turns on the electrical path of the target microphone and temporarily turns off the electrical path of the other microphones, thereby enabling audio acquisition using the target microphone.
  • the MPU can control the CODEC to use the rear microphone for audio acquisition in a mono mode.
  • the walkie-talkie is equipped with multiple microphones and the target microphone is also multiple microphones, for example, intercom
  • the machine is equipped with four microphones, which are located at the top and bottom of the front, and the top and bottom of the back.
  • the target microphone is the microphone at the top of the front and the microphone at the bottom of the front.
  • the MPU can control the CODEC to use the microphone at the top of the front in stereo mode. And the microphone at the bottom of the front for audio capture.
  • the walkie-talkie may have at least two microphones, and when the distance sensor determines the distance between the walkie-talkie and the obstacle, the microphone on the face facing the obstacle may be selected as the target microphone, and The target microphone is used for audio collection, which can avoid the influence of obstacles on the microphone for audio collection, thereby effectively improving the quality of the call and recording.
  • the orientation of the walkie-talkie can be detected by the gravity sensor and the distance sensor. It can be understood that, in practical applications, in addition to the gravity sensor and the distance sensor, the orientation of the walkie-talkie can be used in other manners.
  • the detection is performed, for example, a light sensor, a gyroscope, a compass, etc., and the specific manner is similar, and is not limited herein.
  • an embodiment of the walkie-talkie of the present invention includes:
  • the obtaining unit 602 is configured to acquire microphone indication information.
  • the selecting unit 603 is configured to select a corresponding target microphone according to the microphone indication information, and the control unit 604 is configured to perform audio collection using the target microphone.
  • the walkie-talkie can have at least two microphones 601, and the selection unit 603 can select a corresponding target microphone according to the microphone indication information, so that the control unit 604 can use the target microphone for audio collection, so in practical applications, the walkie-talkie can According to actual needs, the target microphone in each microphone is selected for audio collection, so that the user can be provided with more choice space;
  • the microphone that is not facing the obstacle side can be selected for audio collection, so the call quality and the recording quality can be effectively improved.
  • FIG. 7 another embodiment of the walkie-talkie of the present invention includes:
  • the obtaining unit 702 is configured to acquire microphone indication information.
  • the walkie-talkie in this embodiment can be adapted to various scenarios and requirements, and can also have corresponding units and component structures, specifically:
  • the obtaining unit 702 in this embodiment is specifically configured to receive the selection information input by the user, and use the selection information as the microphone indication information, where the selection information includes the identifier of the microphone that the user currently wants to use, and then, the selection unit 703 is specifically used to use a microphone that the user currently wants to use as the target microphone.
  • the walkie-talkie in this embodiment may further include: an orientation detecting unit 705;
  • the orientation detecting unit 705 is configured to perform orientation detection on the walkie-talkie;
  • the obtaining unit 702 is specifically configured to use the result of the azimuth detection as the microphone indication information, and the result of the detection of the position is used to indicate the orientation and position of the intercom.
  • the orientation detecting unit 705 in this embodiment may specifically be a gravity sensor 7052 or a distance sensor 7051.
  • the selecting unit 703 is specifically configured to use the horizontally facing microphone as the target microphone when the result of the gravity sensing detection by the gravity sensor 7052 indicates that the radio is horizontally placed.
  • the walkie-talkie in this embodiment may further include a testing unit 706;
  • the test unit 706 is configured to perform an attempt to acquire through each microphone when the result of the gravity sensing detection by the gravity sensor 7052 indicates that the walkie-talkie is placed laterally;
  • the selecting unit 703 is specifically configured to select, as the target microphone, a microphone whose sound source signal strength is higher than a preset threshold according to the result of the attempted acquisition by the testing unit 706.
  • the selecting unit 703 is specifically configured to: when the distance sensor 7051 performs distance sensing detection, indicating that the distance between the transceiver and the obstacle is less than a preset value, The microphone on the face of the obstacle serves as the target microphone.
  • the walkie-talkie may have at least two microphones 701, and the selection unit 703 can select a corresponding target microphone according to the microphone indication information, so that the control unit 704 can use the
  • the target microphone performs audio collection, so in practical applications, the walkie-talkie can select the target microphone in each microphone for audio collection according to actual needs, thereby providing the user with more choice space;
  • the microphone that is not facing the obstacle side can be selected for audio collection, so the call quality and the recording quality can be effectively improved.
  • FIG. 8 another embodiment of the walkie-talkie of the present invention includes:
  • At least two microphones At least two microphones, and
  • Each microphone is electrically connected to the codec through a different electrical path
  • a voice channel for transmitting a voice signal and a control channel for transmitting a control signal are disposed between the microprocessor and the codec;
  • the microprocessor sends control commands to the codec through the control channel to select a target microphone from each of the microphones, such that the codec uses the target microphone for audio acquisition.
  • the walkie-talkie in this embodiment may further include: an orientation detector;
  • the orientation detector is electrically coupled to the microprocessor for providing the microprocessor with results of orientation detection.
  • the orientation detector in this embodiment may be a gravity sensor or a distance sensor.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • the units described as separate components may or may not be physically separated as The components displayed by the unit may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

一种对讲机音频采集控制方法以及对讲机,用于提高通话质量以及录音质量。其中,对讲机音频采集控制方法包括:对讲机获取麦克风指示信息,所述对讲机至少具有两个麦克风;对讲机根据所述麦克风指示信息选择对应的目标麦克风;对讲机使用所述目标麦克风进行音频采集。此外,还提供了一种对讲机。

Description

一种对讲机音频采集控制方法以及对讲机
本申请要求于 2012 年 12 月 11 日提交中国专利局、 申请号为 201210530198.5、 发明名称为 "一种对讲机音频采集控制方法以及对讲机" 的 中国专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及数据处理领域,尤其涉及一种对讲机音频采集控制方法 以及对讲机。
背景技术
对讲机凭着其自身的通信便捷性, 已在多种行业中得到了广泛的应用,现 有技术中的对讲机的结构主要包括: 通信组件、 处理器、 扬声器以及麦克风。
一般来说,现有的对讲机只包含正面的一个麦克风, 用户通过该麦克风进 行通话和录音。
但是, 在某些场景下, 当对讲机正面的麦克风朝向障碍物时, 则会由于麦 克风受到了阻挡而影响音频采集的质量,因此会对通话质量和录音质量造成不 良影响。
发明内容
本发明实施例提供了一种对讲机音频采集控制方法以及对讲机,能够有效 提高对讲机的通话质量和录音质量。
本发明实施例提供的对讲机音频采集控制方法,所述对讲机至少具有两个 麦克风, 所述方法包括:
对讲机获取麦克风指示信息;
对讲机根据所述麦克风指示信息选择对应的目标麦克风;
对讲机使用所述目标麦克风进行音频采集。
可选地, 所述对讲机获取麦克风指示信息包括:
对讲机接收用户输入的选择信息,将所述选择信息作为所述麦克风指示信 息, 所述选择信息中包含所述用户当前希望使用的麦克风的标识。
可选地, 所述对讲机根据所述麦克风指示信息选择对应的目标麦克风包 括:
所述对讲机将用户当前希望使用的麦克风作为所述目标麦克风。 可选地, 所述对讲机获取麦克风指示信息包括:
对讲机对自身进行方位检测;
对讲机将方位检测的结果作为所述麦克风指示信息,所述方位检测的结果 用以指示所述对讲机的朝向和位置。
可选地, 所述对讲机对自身进行方位检测包括:
对讲机使用重力感应器对自身进行重力感应检测。
可选地, 所述对讲机根据所述麦克风指示信息选择对应的目标麦克风包 括:
当所述重力感应检测的结果指示所述对讲机水平放置时,所述对讲机将水 平朝上的麦克风作为目标麦克风。
可选地, 所述对讲机根据所述麦克风指示信息选择对应的目标麦克风包 括:
当所述重力感应检测的结果指示所述对讲机侧向放置时,所述对讲机通过 各麦克风进行尝试采集;
所述对讲机根据尝试采集的结果选择音源信号强度高于预置门限的麦克 风作为目标麦克风。
可选地, 所述对讲机对自身进行方位检测包括:
对讲机使用距离感应器对自身与障碍物之间进行距离感应检测。
可选地, 所述对讲机根据所述麦克风指示信息选择对应的目标麦克风包 括:
当所述距离感应检测的结果指示所述对讲机与障碍物之间的距离小于预 置数值时, 所述对讲机将背向所述障碍物的面上的麦克风作为目标麦克风。
本发明实施例提供的对讲机, 所述对讲机至少具有两个麦克风, 所述对讲 机还包括:
获取单元, 用于获取麦克风指示信息;
选择单元, 用于根据所述麦克风指示信息选择对应的目标麦克风; 控制单元, 用于使用所述目标麦克风进行音频采集。
可选地, 所述获取单元具体用于接收用户输入的选择信息, 并将所述选择 信息作为所述麦克风指示信息,所述选择信息中包含所述用户当前希望使用的 麦克风的标识。
可选地,所述选择单元具体用于将用户当前希望使用的麦克风作为所述目 标麦克风。
可选地, 所述对讲机还包括方位检测单元;
所述方位检测单元用于对对讲机进行方位检测;
所述获取单元具体用于将方位检测的结果作为所述麦克风指示信息,所述 方位检测的结果用以指示所述对讲机的朝向和位置。
可选地, 所述方位检测单元为重力感应器;
所述选择单元具体用于当所述重力感应器进行重力感应检测的结果指示 所述对讲机水平放置时, 将水平朝上的麦克风作为目标麦克风。
可选地, 所述方位检测单元为重力感应器;
所述对讲机还包括测试单元;
所述测试单元用于当所述重力感应器进行重力感应检测的结果指示所述 对讲机侧向放置时, 通过各麦克风进行尝试采集;
所述选择单元具体用于根据所述测试单元进行尝试采集的结果选择音源 信号强度高于预置门限的麦克风作为目标麦克风。
可选地, 所述方位检测单元为距离感应器;
所述选择单元具体用于当所述距离感应器进行距离感应检测的结果指示 所述对讲机与障碍物之间的距离小于预置数值时,将背向所述障碍物的面上的 麦克风作为目标麦克风。
本发明实施例提供的对讲机, 所述对讲机至少具有两个麦克风, 所述对讲 机还包括:
微处理器以及编解码器;
各麦克风分别通过不同的电通路与所述编解码器电连接;
所述微处理器与编解码器之间设置有用于传输语音信号的语音通道以及 用于传输控制信号的控制通道;
所述微处理器通过所述控制通道向所述编解码器发送控制指令以从各麦 克风中选择目标麦克风, 使得所述编解码器使用所述目标麦克风进行音频采 集。 可选地, 所述对讲机还包括: 方位检测器;
所述方位检测器与所述微处理器电连接,用以向所述微处理器提供方位检 测的结果。
可选地, 所述方位检测器为重力感应器或距离感应器。
从以上技术方案可以看出, 本发明实施例具有以下优点:
本发明实施例中,对讲机可以具有至少两个麦克风, 并且能够根据麦克风 指示信息选择对应的目标麦克风,从而使用该目标麦克风进行音频采集, 所以 在实际应用中,对讲机可以根据实际的需求选择各麦克风中的目标麦克风进行 音频采集, 因此能够给用户提供更多的选择空间;
此外, 当某一麦克风朝向障碍物时, 可以选择未朝向障碍物一面的麦克风 进行音频采集, 所以能够有效提高通话质量和录音质量。
附图说明
图 1为本发明对讲机音频采集控制方法一个实施例示意图;
图 2为本发明对讲机音频采集控制方法另一实施例示意图;
图 3为本发明对讲机音频采集控制方法另一实施例示意图;
图 4为本发明对讲机音频采集控制方法另一实施例示意图;
图 5为本发明对讲机音频采集控制方法另一实施例示意图;
图 6为本发明对讲机一个实施例示意图;
图 7为本发明对讲机另一实施例示意图;
图 8为本发明对讲机另一实施例示意图。
具体实施方式
本发明实施例提供了一种对讲机音频采集控制方法以及对讲机,能够有效 提高对讲机的通话质量和录音质量。
请参阅图 1 , 本发明对讲机音频采集控制方法一个实施例包括:
101、 对讲机获取麦克风指示信息;
本实施例中,对讲机可以获取到麦克风指示信息, 该麦克风指示信息用以 指示该对讲机应当使用哪一个麦克风进行音频采集。
该麦克风指示信息在实际应用中可以有多种表现形式,具体将在后续实施 例中逐一进行详细描述。 102、 对讲机根据麦克风指示信息选择对应的目标麦克风;
对讲机获取到麦克风指示信息之后,可以根据该麦克风指示信息选择与该 麦克风指示信息对应的目标麦克风。
103、 对讲机使用该目标麦克风进行音频采集。
当对讲机选择到了对应的目标麦克风之后,即可使用该目标麦克风进行音 频采集。
本实施例中,对讲机可以具有至少两个麦克风, 并且能够根据麦克风指示 信息选择对应的目标麦克风,从而使用该目标麦克风进行音频采集, 所以在实 际应用中,对讲机可以根据实际的需求选择各麦克风中的目标麦克风进行音频 采集, 因此能够给用户提供更多的选择空间;
此外, 当某一麦克风朝向障碍物时, 可以选择未朝向障碍物一面的麦克风 进行音频采集, 所以能够有效提高通话质量和录音质量。
在实际应用中,对讲机获取到的麦克风指示信息可以有多种表现形式, 下 面分别进行说明:
一、 麦克风指示信息为用户输入的选择信息:
在本实施例中, 对讲机可以将用户输入的选择信息作为麦克风指示信息, 所以用户可以自主选择使用哪一个麦克风进行通话和录音, 具体请参阅图 2, 本发明对讲机音频采集控制方法另一实施例包括:
201、 对讲机向用户展示麦克风选择界面;
本实施例中,对讲机可以通过显示屏向用户展示麦克风选择界面, 例如可 以向用户展示 【使用前置麦克风】 以及【使用后置麦克风】, 以供用户进行选 择。
需要说明的是, 上述步骤 201并非为必选的步骤, 在实际应用中, 对讲机 也可以不在显示屏上显示麦克风选择界面, 而直接在键盘处设置【使用前置麦 克风】 以及【使用后置麦克风】 的按钮, 用户通过按下按钮就可进行选择。
或者,对讲机也可以在内置软件程序中进行一定的设置,使得用户通过键 盘输入某个特定的指令时即可选择麦克风, 例如用户输入 *#back#时, 即可选 择后置麦克风, 具体实现方式此处不做限定。
202、 对讲机接收用户输入的选择信息; 用户输入了选择信息之后,对讲机即可接收到用户发送的选择信息, 并将 该选择信息作为麦克风指示信息,该选择信息中包含用户当前希望使用的麦克 风的标识。
例如用户输入了 *#back#, 则对讲机可以获知用户当前希望使用的麦克风 的标只为 "back"。
203、 对讲机将用户当前希望使用的麦克风作为目标麦克风;
本实施例中, 当对讲机确定了用户当前希望使用的麦克风的标识时, 即可 以根据该标识查询到用户希望使用的麦克风。
例如对讲机获知用户当前希望使用的麦克风的标识为 "back"之后, 可以 查询到用户当前希望使用的麦克风为后置麦克风,则对讲机可以将该后置麦克 风作为目标麦克风。
需要说明的是, 本实施例中,对讲机的正面和背面都可以设置有一个麦克 风, 分别为前置麦克风和后置麦克风, 可以理解的是, 在实际应用中, 对讲机 也可以有更多的麦克风, 并不限于两个, 而且用户选择的当前希望使用的麦克 风也不限于其中的某一个。
例如, 对讲机可以设置有四个麦克风, 分别位于正面顶部和底部, 以及背 面顶部和底部,用户输入选择信息时可以输入 *#frontl &backl# ,则对讲机可以 选择正面顶部的麦克风以及背面顶部的麦克风作为目标麦克风。
具体的麦克风数量以及选择方式还有^艮多的类似情况, 此处不做限定。 204、 对讲机使用目标麦克风进行音频采集。
当对讲机将用户当前希望使用的麦克风作为目标麦克风之后,即可使用该 目标麦克风进行音频采集。
具体的, 对讲机中具体可以包括微处理器( MPU , Micro Processing Unit ) 以及编解码器( CODEC ) , 该 MPU和 CODEC通过控制信道以及语音信道连 接, 各麦克风均电连接至 CODEC。
当确定了目标麦克风之后, MPU可以通过模拟开关控制 CODEC接通目 标麦克风的电通路, 而暂时关闭其他麦克风的电通路,从而实现使用目标麦克 风进行音频采集。
需要说明的是, 若对讲机设置有两个麦克风,确定目标麦克风为后置麦克 风之后, 则 MPU可以控制 CODEC以单声道的方式使用该后置麦克风进行音 频采集。
若对讲机设置有多个麦克风, 且目标麦克风也为多个麦克风时, 例如对讲 机设置有四个麦克风, 分别位于正面顶部和底部, 以及背面顶部和底部, 目标 麦克风为正面顶部的麦克风以及背面顶部的麦克风, 则此时 MPU 可以控制 CODEC以立体声的方式使用该正面顶部的麦克风以及背面顶部的麦克风进行 音频采集。
本实施例中,对讲机可以具有至少两个麦克风, 并且能够根据用户当前希 望使用的麦克风选择对应的目标麦克风, 从而使用该目标麦克风进行音频采 集, 所以在实际应用中,对讲机可以根据用户的需求选择各麦克风中的目标麦 克风进行音频采集, 因此能够给用户提供更多的选择空间。
二、 麦克风指示信息为方位检测信息:
在本实施例中,对讲机可以将方位检测的结果作为麦克风指示信息, 所以 无需用户进行主动选择,而可以由对讲机自身进行方位检测的结果决定使用哪 一个麦克风进行通话和录音, 具体的方位检测方式可以分为如下几种情况: ( 1 )、 使用重力感应器进行方位检测:
本实施例中, 可以采用对讲机自身的重力感应器进行方位检测, 并根据检 测结果决定使用哪一个麦克风进行通话和录音。
在实际应用中, 重力感应器可以检测到多方向的状态, 下面分情况进行说 明:
( 1.1 )、 对讲机水平放置时:
本实施例中, 当重力感应器检测到对讲机水平放置时, 可以根据对讲机的 朝向选择对应的目标麦克风, 具体请参阅图 3, 本发明对讲机音频采集控制方 法另一实施例包括:
301、 对讲机使用重力感应器对自身进行重力感应检测;
本实施例中,对讲机中可以设置有重力感应器, 该对讲机可以使用重力感 应器自身进行重力感应检测, 从而确定自身的朝向和位置。
302、 对讲机将重力感应检测的结果作为麦克风指示信息;
当对讲机对自身进行重力感应检测之后,即可将重力感应检测的结果作为 麦克风指示信息。
303、 当重力感应检测的结果指示对讲机水平放置时, 对讲机将水平朝上 的麦克风作为目标麦克风;
本实施例中,对讲机的正面和背面都可以设置有一个麦克风, 分别为前置 麦克风和后置麦克风, 当重力感应检测的结果指示对讲机水平放置时, 则说明 有一个麦克风朝下, 另一个麦克风朝上, 则此时, 对讲机可以将水平朝上的麦 克风作为目标麦克风。
例如, 当对讲机正面朝上时, 则可以选择前置麦克风作为目标麦克风, 当 对讲机背面朝上时, 则可以后置麦克风作为目标麦克风。
可以理解的是, 在实际应用中, 对讲机也可以有更多的麦克风, 并不限于 两个, 则目标麦克风也不限于其中的某一个。
例如, 对讲机可以设置有四个麦克风, 分别位于正面顶部和底部, 以及背 面顶部和底部, 当对讲机正面朝上时, 则可以选择正面顶部的麦克风和正面底 部的麦克风作为目标麦克风, 当对讲机背面朝上时, 则可以背面顶部的麦克风 和背面底部的麦克风作为目标麦克风。
304、 对讲机使用目标麦克风进行音频采集。
本实施例中, 当对讲机确定了将水平朝上的麦克风作为目标麦克风之后, 则可以使用目标麦克风进行音频采集。
具体的, 对讲机中具体可以包括 MPU以及 CODEC , 该 MPU和 CODEC 通过控制信道以及语音信道连接, 各麦克风均电连接至 CODEC。
当确定了目标麦克风之后, MPU可以通过模拟开关控制 CODEC接通目 标麦克风的电通路, 而暂时关闭其他麦克风的电通路,从而实现使用目标麦克 风进行音频采集。
需要说明的是, 若对讲机设置有两个麦克风,确定目标麦克风为后置麦克 风之后, 则 MPU可以控制 CODEC以单声道的方式使用该后置麦克风进行音 频采集。
若对讲机设置有多个麦克风,且目标麦克风也为多个麦克风时, 例如对讲 机设置有四个麦克风, 分别位于正面顶部和底部, 以及背面顶部和底部, 目标 麦克风为正面顶部的麦克风以及正面底部的麦克风, 则此时 MPU 可以控制 CODEC以立体声的方式使用该正面顶部的麦克风以及正面底部的麦克风进行 音频采集。
本实施例中,对讲机可以具有至少两个麦克风, 并且当该对讲机水平放置 时, 能够 ^据重力检测的结果选择水平朝上的麦克风作为对应的目标麦克风, 从而使用该目标麦克风进行音频采集, 这样可以有效避免障碍物的影响,从而 提高通话和录音质量。
( 1.2 )、 对讲机侧向放置时:
本实施例中, 当重力感应器检测到对讲机侧向放置时, 可以根据麦克风音 源强度的大小选择对应的目标麦克风, 具体请参阅图 4, 本发明对讲机音频采 集控制方法另一实施例包括:
401、 对讲机使用重力感应器对自身进行重力感应检测;
本实施例中,对讲机中可以设置有重力感应器, 该对讲机可以使用重力感 应器自身进行重力感应检测, 从而确定自身的朝向和位置。
402、 对讲机将重力感应检测的结果作为麦克风指示信息;
当对讲机对自身进行重力感应检测之后,即可将重力感应检测的结果作为 麦克风指示信息。
403、 当重力感应检测的结果指示对讲机侧向放置时, 对讲机通过各麦克 风进行尝试采集;
本实施例中, 当对讲机通过重力感应器确定对讲机侧向放置时, 则可以使 用各麦克风对当前的音源进行尝试采集。
404、 对讲机根据尝试采集的结果选择音源信号强度高于预置门限的麦克 风作为目标麦克风;
本实施例中, 对讲机中具体可以包括 MPU 以及 CODEC, 该 MPU 和 CODEC通过控制信道以及语音信道连接, 各麦克风均电连接至 CODEC, 当 尝试采集完成之后, CODEC可以获知各麦克风的音源信号强度, 从而可以选 择音源信号强度高于预置门限的麦克风作为目标麦克风。
需要说明的是, 在实际应用中, 若对讲机设置有两个麦克风, 则可以选择 音源信号强度较高的那一个麦克风作为目标麦克风。
可以理解的是, 对讲机也可以有更多的麦克风, 并不限于两个, 则目标麦 克风也不限于其中的某一个。
例如对讲机有四个麦克风,则可以选择音源信号强度最高的麦克风作为目 标麦克风,或者也可以选择音源信号强度较高的两个或三个麦克风作为目标麦 克风, 具体此处不做限定。
405、 对讲机使用目标麦克风进行音频采集。
本实施例中,当对讲机确定了音源信号强度高于预置门限的麦克风作为目 标麦克风之后, 则可以使用目标麦克风进行音频采集。
具体的, 当确定了目标麦克风之后, MPU可以通过模拟开关控制 CODEC 接通目标麦克风的电通路, 而暂时关闭其他麦克风的电通路,从而实现使用目 标麦克风进行音频采集。
需要说明的是, 若对讲机设置有两个麦克风,确定目标麦克风为后置麦克 风之后, 则 MPU可以控制 CODEC以单声道的方式使用该后置麦克风进行音 频采集。
若对讲机设置有多个麦克风, 且目标麦克风也为多个麦克风时, 例如对讲 机设置有四个麦克风, 分别位于正面顶部和底部, 以及背面顶部和底部, 目标 麦克风为正面顶部的麦克风以及正面底部的麦克风, 则此时 MPU 可以控制 CODEC以立体声的方式使用该正面顶部的麦克风以及正面底部的麦克风进行 音频采集。
本实施例中,对讲机可以具有至少两个麦克风, 并且当该对讲机侧向放置 时,能够根据尝试采集的结果选择音频信号强度高于预置门限值的麦克风作为 对应的目标麦克风,从而使用该目标麦克风进行音频采集, 这样可以有效提高 通话和录音质量。
( 2 )、 使用距离感应器进行方位检测:
本实施例中, 可以采用对讲机自身的距离感应器进行方位检测, 并根据距 离结果决定使用哪一个麦克风进行通话和录音, 具体请参阅图 5, 本发明对讲 机音频采集控制方法另一实施例包括
501、 对讲机使用距离感应器对自身与障碍物之间进行距离感应检测; 本实施例中,对讲机中可以设置有距离感应器, 该对讲机可以使用该距离 感应器自身与障碍物之间进行距离感应检测,从而确定自身与障碍物之间的距 离。
502、 对讲机将距离感应检测的结果作为麦克风指示信息;
当对讲机对自身与障碍物之间进行距离感应检测之后,即可将距离感应检 测的结果作为麦克风指示信息。
503、 当距离感应检测的结果指示对讲机与障碍物之间的距离小于预置数 值时, 对讲机将背向障碍物的面上的麦克风作为目标麦克风;
本实施例中, 对讲机通过距离感应器可以检测到自身与障碍物之间的距 离, 当距离感应检测的结果指示对讲机与障碍物之间的距离小于预置数值时, 则可以将背向障碍物的面上的麦克风作为目标麦克风。
本实施例中,对讲机的正面和背面都可以设置有一个麦克风, 分别为前置 麦克风和后置麦克风,当距离感应检测的结果指示对讲机的正面与障碍物之间 的距离过小时, 则对讲机可以将背面的后置麦克风作为目标麦克风。
可以理解的是, 在实际应用中, 对讲机也可以有更多的麦克风, 并不限于 两个, 则目标麦克风也不限于其中的某一个。
例如, 对讲机可以设置有四个麦克风, 分别位于正面顶部和底部, 以及背 面顶部和底部,当距离感应检测的结果指示对讲机的正面与障碍物之间的距离 过小时, 则可以选择背面顶部的麦克风和背面底部的麦克风作为目标麦克风。
504、 对讲机使用目标麦克风进行音频采集。
本实施例中,当对讲机确定了背向障碍物的面上的麦克风作为目标麦克风 之后, 则可以使用目标麦克风进行音频采集。
具体的,本实施例中,对讲机中具体可以包括 MPU以及 CODEC,该 MPU 和 CODEC通过控制信道以及语音信道连接, 各麦克风均电连接至 CODEC, 当确定了目标麦克风之后, MPU可以通过模拟开关控制 CODEC接通目标麦 克风的电通路, 而暂时关闭其他麦克风的电通路,从而实现使用目标麦克风进 行音频采集。
需要说明的是, 若对讲机设置有两个麦克风,确定目标麦克风为后置麦克 风之后, 则 MPU可以控制 CODEC以单声道的方式使用该后置麦克风进行音 频采集。
若对讲机设置有多个麦克风, 且目标麦克风也为多个麦克风时, 例如对讲 机设置有四个麦克风, 分别位于正面顶部和底部, 以及背面顶部和底部, 目标 麦克风为正面顶部的麦克风以及正面底部的麦克风, 则此时 MPU 可以控制 CODEC以立体声的方式使用该正面顶部的麦克风以及正面底部的麦克风进行 音频采集。
本实施例中,对讲机可以具有至少两个麦克风, 并且当距离感应器确定该 对讲机与障碍物之间的距离小雨预置数值时,可以选择背向障碍物的面上的麦 克风作为目标麦克风, 并使用该目标麦克风进行音频采集, 这样可以避免障碍 物对麦克风进行音频采集的影响, 从而有效提高通话和录音质量。
上述方案中通过重力感应器和距离感应器可以对对讲机的方位进行检测, 可以理解的是, 在实际应用中, 除了重力感应器和距离感应器之外, 还可以使 用其他的方式对对讲机的方位进行检测,例如光线感应器、陀螺仪、罗盘仪等, 具体方式类似, 此处不做限定。
上面对本发明对讲机音频采集控制方法进行了描述,下面对本发明对讲机 实施例进行描述, 请参阅图 6, 本发明对讲机一个实施例包括:
至少两个麦克风 601 , 以及
获取单元 602, 用于获取麦克风指示信息;
选择单元 603 , 用于根据该麦克风指示信息选择对应的目标麦克风; 控制单元 604, 用于使用该目标麦克风进行音频采集。
本实施例中, 对讲机可以具有至少两个麦克风 601 , 并且选择单元 603能 够根据麦克风指示信息选择对应的目标麦克风,从而控制单元 604可以使用该 目标麦克风进行音频采集, 所以在实际应用中,对讲机可以根据实际的需求选 择各麦克风中的目标麦克风进行音频采集,因此能够给用户提供更多的选择空 间;
此外, 当某一麦克风朝向障碍物时, 可以选择未朝向障碍物一面的麦克风 进行音频采集, 所以能够有效提高通话质量和录音质量。
为便于理解, 下面以一详细实施例对本发明实施例中的对讲机进行描述, 请参阅图 7, 本发明对讲机另一实施例包括:
至少两个麦克风 701 , 以及
获取单元 702, 用于获取麦克风指示信息; 选择单元 703 , 用于根据该麦克风指示信息选择对应的目标麦克风; 控制单元 704, 用于使用该目标麦克风进行音频采集;
与前面方法实施例中所描述的内容相应的是,本实施例中的对讲机为适应 各种场景和需求, 同样可以具有相应的单元和组成结构, 具体的:
本实施例中的获取单元 702具体用于接收用户输入的选择信息,并将该选 择信息作为该麦克风指示信息,该选择信息中包含该用户当前希望使用的麦克 风的标识, 则此时,选择单元 703具体用于将用户当前希望使用的麦克风作为 该目标麦克风。
本实施例中的对讲机还可以进一步包括: 方位检测单元 705;
该方位检测单元 705用于对对讲机进行方位检测;
该获取单元 702具体用于将方位检测的结果作为该麦克风指示信息,该方 位检测的结果用以指示该对讲机的朝向和位置。
本实施例中的方位检测单元 705具体可以为重力感应器 7052或距离感应 器 7051。
方位检测单元 705为重力感应器 7052时, 选择单元 703具体用于当该重 力感应器 7052进行重力感应检测的结果指示该对讲机水平放置时, 将水平朝 上的麦克风作为目标麦克风。
或者,
方位检测单元 705为重力感应器 7052时, 本实施例中的对讲机还可以进 一步包括测试单元 706;
测试单元 706用于当该重力感应器 7052进行重力感应检测的结果指示该 对讲机侧向放置时, 通过各麦克风进行尝试采集;
选择单元 703具体用于根据该测试单元 706进行尝试采集的结果选择音源 信号强度高于预置门限的麦克风作为目标麦克风。
当方位检测单元 705为距离感应器 7051时, 选择单元 703具体用于当该 距离感应器 7051进行距离感应检测的结果指示该对讲机与障碍物之间的距离 小于预置数值时, 将背向该障碍物的面上的麦克风作为目标麦克风。
本实施例中, 对讲机可以具有至少两个麦克风 701 , 并且选择单元 703能 够根据麦克风指示信息选择对应的目标麦克风,从而控制单元 704可以使用该 目标麦克风进行音频采集, 所以在实际应用中,对讲机可以根据实际的需求选 择各麦克风中的目标麦克风进行音频采集,因此能够给用户提供更多的选择空 间;
此外, 当某一麦克风朝向障碍物时, 可以选择未朝向障碍物一面的麦克风 进行音频采集, 所以能够有效提高通话质量和录音质量。
为便于理解, 下面从实体结构的角度对本发明对讲机进行描述,请参阅图 8, 本发明对讲机另一实施例包括:
至少两个麦克风, 以及
微处理器以及编解码器;
各麦克风分别通过不同的电通路与该编解码器电连接;
该微处理器与编解码器之间设置有用于传输语音信号的语音通道以及用 于传输控制信号的控制通道;
该微处理器通过该控制通道向该编解码器发送控制指令以从各麦克风中 选择目标麦克风, 使得该编解码器使用该目标麦克风进行音频采集。
本实施例中的对讲机还可以进一步包括: 方位检测器;
该方位检测器与该微处理器电连接,用以向该微处理器提供方位检测的结 果。
本实施例中的方位检测器可以为重力感应器或距离感应器。
所属领域的技术人员可以清楚地了解到, 为描述的方便和筒洁, 上述描述 的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程, 在此不再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置和方 法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示意性 的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可以有另 外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个系统, 或 一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合或直 接耦合或通信连接可以是通过一些接口, 装置或单元的间接耦合或通信连接, 可以是电性, 机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为 单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者 也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部 单元来实现本实施例方案的目的。
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元 中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的 形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售 或使用时, 可以存储在一个计算机可读取存储介质中。基于这样的理解, 本发 明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全 部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储 介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。 而前述 的存储介质包括: U盘、 移动硬盘、 只读存储器(ROM, Read-Only Memory ), 随机存取存储器(RAM, Random Access Memory ), 磁碟或者光盘等各种可以 存储程序代码的介质。
以上所述, 以上实施例仅用以说明本发明的技术方案, 而非对其限制; 尽 管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理 解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分 技术特征进行等同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱 离本发明各实施例技术方案的精神和范围。

Claims

权 利 要 求
1、 一种对讲机音频采集控制方法, 其特征在于, 所述对讲机至少具有两 个麦克风, 所述方法包括:
对讲机获取麦克风指示信息;
对讲机根据所述麦克风指示信息选择对应的目标麦克风;
对讲机使用所述目标麦克风进行音频采集。
2、 根据权利要求 1所述的方法, 其特征在于, 所述对讲机获取麦克风指 示信息包括:
对讲机接收用户输入的选择信息,将所述选择信息作为所述麦克风指示信 息, 所述选择信息中包含所述用户当前希望使用的麦克风的标识。
3、 根据权利要求 2所述的方法, 其特征在于, 所述对讲机根据所述麦克 风指示信息选择对应的目标麦克风包括:
所述对讲机将用户当前希望使用的麦克风作为所述目标麦克风。
4、 根据权利要求 1所述的方法, 其特征在于, 所述对讲机获取麦克风指 示信息包括:
对讲机对自身进行方位检测;
对讲机将方位检测的结果作为所述麦克风指示信息,所述方位检测的结果 用以指示所述对讲机的朝向和位置。
5、 根据权利要求 4所述的方法, 其特征在于, 所述对讲机对自身进行方 位检测包括:
对讲机使用重力感应器对自身进行重力感应检测。
6、 根据权利要求 5所述的方法, 其特征在于, 所述对讲机根据所述麦克 风指示信息选择对应的目标麦克风包括:
当所述重力感应检测的结果指示所述对讲机水平放置时,所述对讲机将水 平朝上的麦克风作为目标麦克风。
7、 根据权利要求 5所述的方法, 其特征在于, 所述对讲机根据所述麦克 风指示信息选择对应的目标麦克风包括:
当所述重力感应检测的结果指示所述对讲机侧向放置时,所述对讲机通过 各麦克风进行尝试采集; 所述对讲机根据尝试采集的结果选择音源信号强度高于预置门限的麦克 风作为目标麦克风。
8、 根据权利要求 4所述的方法, 其特征在于, 所述对讲机对自身进行方 位检测包括:
对讲机使用距离感应器对自身与障碍物之间进行距离感应检测。
9、 根据权利要求 8所述的方法, 其特征在于, 所述对讲机根据所述麦克 风指示信息选择对应的目标麦克风包括:
当所述距离感应检测的结果指示所述对讲机与障碍物之间的距离小于预 置数值时, 所述对讲机将背向所述障碍物的面上的麦克风作为目标麦克风。
10、 一种对讲机, 其特征在于, 所述对讲机至少具有两个麦克风, 所述对 讲机还包括:
获取单元, 用于获取麦克风指示信息;
选择单元, 用于根据所述麦克风指示信息选择对应的目标麦克风; 控制单元, 用于使用所述目标麦克风进行音频采集。
11、 根据权利要求 10所述的对讲机, 其特征在于, 所述获取单元具体用 于接收用户输入的选择信息, 并将所述选择信息作为所述麦克风指示信息, 所 述选择信息中包含所述用户当前希望使用的麦克风的标识。
12、 根据权利要求 11所述的对讲机, 其特征在于, 所述选择单元具体用 于将用户当前希望使用的麦克风作为所述目标麦克风。
13、 根据权利要求 10所述的对讲机, 其特征在于, 所述对讲机还包括方 位检测单元;
所述方位检测单元用于对对讲机进行方位检测;
所述获取单元具体用于将方位检测的结果作为所述麦克风指示信息,所述 方位检测的结果用以指示所述对讲机的朝向和位置。
14、 根据权利要求 13所述的对讲机, 其特征在于, 所述方位检测单元为 重力感应器;
所述选择单元具体用于当所述重力感应器进行重力感应检测的结果指示 所述对讲机水平放置时, 将水平朝上的麦克风作为目标麦克风。
15、 根据权利要求 13所述的对讲机, 其特征在于, 所述方位检测单元为 重力感应器;
所述对讲机还包括测试单元;
所述测试单元用于当所述重力感应器进行重力感应检测的结果指示所述 对讲机侧向放置时, 通过各麦克风进行尝试采集;
所述选择单元具体用于根据所述测试单元进行尝试采集的结果选择音源 信号强度高于预置门限的麦克风作为目标麦克风。
16、 根据权利要求 13所述的对讲机, 其特征在于, 所述方位检测单元为 距离感应器;
所述选择单元具体用于当所述距离感应器进行距离感应检测的结果指示 所述对讲机与障碍物之间的距离小于预置数值时,将背向所述障碍物的面上的 麦克风作为目标麦克风。
17、 一种对讲机, 其特征在于, 所述对讲机至少具有两个麦克风, 所述对 讲机还包括:
微处理器以及编解码器;
各麦克风分别通过不同的电通路与所述编解码器电连接;
所述微处理器与编解码器之间设置有用于传输语音信号的语音通道以及 用于传输控制信号的控制通道;
所述微处理器通过所述控制通道向所述编解码器发送控制指令以从各麦 克风中选择目标麦克风, 使得所述编解码器使用所述目标麦克风进行音频采 集。
18、 根据权利要求 17所述的对讲机, 其特征在于, 所述对讲机还包括: 方位检测器;
所述方位检测器与所述微处理器电连接,用以向所述微处理器提供方位检 测的结果。
19、 根据权利要求 18所述的对讲机, 其特征在于, 所述方位检测器为重 力感应器或距离感应器。
PCT/CN2012/087697 2012-12-11 2012-12-27 一种对讲机音频采集控制方法以及对讲机 Ceased WO2014089885A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210530198.5A CN103067794B (zh) 2012-12-11 2012-12-11 一种对讲机音频采集控制方法以及对讲机
CN201210530198.5 2012-12-11

Publications (1)

Publication Number Publication Date
WO2014089885A1 true WO2014089885A1 (zh) 2014-06-19

Family

ID=48110226

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/087697 Ceased WO2014089885A1 (zh) 2012-12-11 2012-12-27 一种对讲机音频采集控制方法以及对讲机

Country Status (2)

Country Link
CN (1) CN103067794B (zh)
WO (1) WO2014089885A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108735218A (zh) * 2018-06-25 2018-11-02 北京小米移动软件有限公司 语音唤醒方法、装置、终端及存储介质
CN110400566B (zh) * 2019-06-27 2022-05-31 联想(北京)有限公司 识别方法和电子设备
CN111866664A (zh) * 2020-07-20 2020-10-30 深圳市康冠商用科技有限公司 一种音频处理方法、装置、设备及计算机可读存储介质
CN115412804A (zh) * 2021-05-27 2022-11-29 海能达通信股份有限公司 一种语音通路切换电路、方法及通信系统
CN113473062B (zh) * 2021-06-23 2024-03-22 力声通信股份有限公司 一种具有可视功能的对讲系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055506A (zh) * 2006-04-10 2007-10-17 明基电通股份有限公司 鼠标
CN102316188A (zh) * 2010-07-09 2012-01-11 厦门青年网络通讯股份有限公司 一种无方向性无线电话听筒
CN102695303A (zh) * 2012-05-03 2012-09-26 苏州佳世达电通有限公司 通信终端及其通信方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055506A (zh) * 2006-04-10 2007-10-17 明基电通股份有限公司 鼠标
CN102316188A (zh) * 2010-07-09 2012-01-11 厦门青年网络通讯股份有限公司 一种无方向性无线电话听筒
CN102695303A (zh) * 2012-05-03 2012-09-26 苏州佳世达电通有限公司 通信终端及其通信方法

Also Published As

Publication number Publication date
CN103067794B (zh) 2016-06-15
CN103067794A (zh) 2013-04-24

Similar Documents

Publication Publication Date Title
CN107026934B (zh) 一种声源定位方法和装置
JP6254176B2 (ja) 複数のコンピュータでコンピュータ入力デバイスを利用するための技法
US9967690B2 (en) Acoustic control apparatus and acoustic control method
US9491553B2 (en) Method of audio signal processing and hearing aid system for implementing the same
RU2643460C2 (ru) Способ и устройство для реализации сенсорной кнопки и идентификации отпечатка пальца, а также терминальное устройство
KR101967917B1 (ko) 음성을 인식하는 전자 장치 및 방법
KR102051908B1 (ko) 정보를 디스플레이하는 모바일 장치 및 방법
WO2020000427A1 (zh) 一种语音控制方法、可穿戴设备及终端
US9392088B2 (en) Intelligent muting of a mobile device
CN108287611B (zh) 屏幕触控响应方法、终端和计算机存储介质
KR20170013264A (ko) 방향성 인터페이스를 갖는 핸즈 프리 디바이스
KR102109739B1 (ko) 위치 기반 소리 출력 방법 및 장치
WO2014146547A1 (zh) 声音信号处理方法及设备
WO2014089885A1 (zh) 一种对讲机音频采集控制方法以及对讲机
KR20140125078A (ko) 전자 장치 및 전자 장치에서 잠금 해제 방법
WO2020156251A1 (zh) 音频的播放采集方法、装置、设备及可读存储介质
WO2018126632A1 (zh) 一种扬声器控制方法及移动终端
CN106792341A (zh) 一种音频输出方法、装置及终端设备
CN107807772A (zh) 图像数据处理方法、装置及移动终端
WO2019218843A1 (zh) 按键配置方法、装置、移动终端及存储介质
WO2014183529A1 (zh) 切换移动终端通话模式的方法、装置及存储介质
CN108966198A (zh) 网络连接方法、装置、智能眼镜及存储介质
JP6514475B2 (ja) 対話装置および対話方法
CN103778927A (zh) 一种播放模式控制方法、装置及移动终端
WO2016201767A1 (zh) 一种语音控制方法、装置及计算机存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12889787

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12889787

Country of ref document: EP

Kind code of ref document: A1