CN110691290B - Sound pickup control method and apparatus, electronic device, and medium - Google Patents

Sound pickup control method and apparatus, electronic device, and medium Download PDF

Info

Publication number
CN110691290B
CN110691290B CN201910931494.8A CN201910931494A CN110691290B CN 110691290 B CN110691290 B CN 110691290B CN 201910931494 A CN201910931494 A CN 201910931494A CN 110691290 B CN110691290 B CN 110691290B
Authority
CN
China
Prior art keywords
mode
angle
sound pickup
current
electronic equipment
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.)
Active
Application number
CN201910931494.8A
Other languages
Chinese (zh)
Other versions
CN110691290A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201910931494.8A priority Critical patent/CN110691290B/en
Publication of CN110691290A publication Critical patent/CN110691290A/en
Application granted granted Critical
Publication of CN110691290B publication Critical patent/CN110691290B/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
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/08Mouthpieces; Microphones; Attachments therefor
    • H04R1/083Special constructions of mouthpieces
    • 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

Landscapes

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

Abstract

The present disclosure provides a sound pickup control method, which is applied to an electronic device with a sound pickup apparatus, wherein the working mode of the electronic device comprises a first mode and a second mode, and the method comprises the following steps: determining a current working mode of the electronic equipment; if the current working mode of the electronic equipment is a first mode, controlling a sound pickup device to pick up sound by using a first sound pickup angle, wherein the first mode corresponds to a first state of the electronic equipment; and if the current working mode of the electronic equipment is a second mode, controlling the sound pickup device to pick up sound by using a second sound pickup angle, wherein the second mode corresponds to a second state of the electronic equipment, and the second sound pickup angle is larger than the first sound pickup angle. The disclosure also provides a pickup control apparatus, an electronic device, and a computer-readable storage medium.

Description

Sound pickup control method and apparatus, electronic device, and medium
Technical Field
The present disclosure relates to a sound pickup control method and apparatus, an electronic device, and a medium.
Background
In order to meet the use requirements of a single application scene and a multi-person application scene, a notebook computer which supports a personal mode and a conference mode at the same time is available on the market, but the microphone of the notebook computer has a good sound pickup effect in the personal mode as shown in fig. 1A, and in the conference mode as shown in fig. 1B, the sound of a participant can only enter the microphone through sound wave reflection, and the sound is relatively small.
Disclosure of Invention
An aspect of the embodiments of the present disclosure provides a sound pickup control method, applied to an electronic device having a sound pickup apparatus, where an operating mode of the electronic device includes a first mode and a second mode, and the method includes: determining the current working mode of the electronic equipment; if the current working mode of the electronic equipment is the first mode, controlling the sound pickup device to pick up sound by using a first sound pickup angle, wherein the first mode corresponds to a first state of the electronic equipment; and controlling the sound pickup device to pick up sound by using a second sound pickup angle if the current working mode of the electronic equipment is the second mode, wherein the second mode corresponds to a second state of the electronic equipment, and the second sound pickup angle is larger than the first sound pickup angle.
Optionally, the method further includes: determining whether the current working mode of the electronic equipment is switched; if the current working mode of the electronic equipment is switched from the first mode to the second mode, controlling the sound pickup angle of the sound pickup device to be switched from the first sound pickup angle to the second sound pickup angle; and controlling the sound collecting angle of the sound collecting device to be switched from the second sound collecting angle to the first sound collecting angle if the current working mode of the electronic equipment is switched from the second mode to the first mode.
Optionally, the electronic device includes a first body and a second body; and the determining the current operating mode of the electronic device comprises: determining the angle of the current included angle formed by the first body and the second body; and determining the current working mode of the electronic equipment at least according to the angle of the current included angle.
Optionally, the determining a current operating mode of the electronic device according to at least the angle of the current included angle includes: determining that the electronic device is currently operating in the first mode if the angle of the currently included angle is between 0 ° and 135 °; and determining that the electronic device is currently operating in the second mode if the angle of the currently included angle is between 135 ° and 180 °.
Optionally, the method further includes: determining a current use mode of the electronic equipment, wherein the use mode comprises a first use mode and a second use mode; the determining a current operating mode of the electronic device according to at least the angle of the current included angle includes: if the angle of the current included angle is 180 degrees to 315 degrees and the current using mode of the electronic equipment is the first using mode, determining that the electronic equipment is currently operated in the first mode; and if the angle of the current included angle is 315 degrees to 360 degrees and the current using mode of the electronic equipment is the first using mode, determining that the electronic equipment is currently operated in the second mode.
Optionally, if the angle of the current included angle is 180 ° to 270 ° and the current usage mode of the electronic device is the second usage mode, determining that the electronic device is currently operating in the second mode; and if the angle of the current included angle is 270 degrees to 360 degrees and the current use mode of the electronic equipment is the second use mode, determining that the electronic equipment is currently operated in the first mode.
Optionally, the angle of the first sound-collecting angle is between 60 ° and 80 °; and/or the angle of the second sound-collecting angle is a full angle.
Another aspect of the embodiments of the present disclosure provides a sound pickup control apparatus, which is applied to an electronic device having a sound pickup apparatus, wherein an operation mode of the electronic device includes a first mode and a second mode, and the apparatus includes: the first determining module is used for determining the current working mode of the electronic equipment; a first control module, configured to control the sound pickup apparatus to perform sound pickup using a first sound pickup angle when a current operating mode of the electronic device is the first mode, where the first mode corresponds to a first state of the electronic device; and a second control module, configured to control the sound pickup apparatus to perform sound pickup using a second sound pickup angle when a current operating mode of the electronic device is the second mode, where the second mode corresponds to a second state of the electronic device, and the second sound pickup angle is greater than the first sound pickup angle.
Another aspect of an embodiment of the present disclosure provides an electronic device, including: one or more processors; a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the methods of embodiments of the present disclosure.
Another aspect of the disclosed embodiments provides a computer-readable storage medium storing computer-executable instructions that, when executed, implement a method of the disclosed embodiments.
Another aspect of the disclosed embodiments provides a computer program comprising computer executable instructions that when executed perform the method of the disclosed embodiments.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
FIG. 1A schematically illustrates a personal mode application scenario in accordance with an embodiment of the present disclosure;
FIG. 1B schematically illustrates a conference mode application scenario in accordance with an embodiment of the present disclosure;
fig. 2 schematically shows a flowchart of a sound pickup control method according to an embodiment of the present disclosure;
FIG. 3A schematically illustrates a notebook-like application scenario in accordance with an embodiment of the present disclosure;
fig. 3B schematically illustrates a tent mode application scenario in accordance with an embodiment of the disclosure;
FIG. 4 schematically shows a block diagram of an electronic device according to an embodiment of the disclosure; and
fig. 5 schematically shows a block diagram of an electronic device according to another embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B, and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B, and C" would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and/or A, B, and C together, etc.). Where a convention analogous to "at least one of A, B, or C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B, or C" would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and/or A, B, and C together, etc.).
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks. The techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable storage medium having instructions stored thereon for use by or in connection with an instruction execution system.
Embodiments of the present disclosure provide a sound pickup control method capable of improving a sound pickup effect and a sound pickup control apparatus capable of applying the method. The method is applied to the electronic equipment with the sound pickup device, the working mode of the electronic equipment comprises a first mode and a second mode, and the method comprises the following steps: the current operating mode of the electronic device is determined. If the current working mode of the electronic equipment is the first mode, the sound pickup device is controlled to pick up sound by using a first sound pickup angle, wherein the first mode corresponds to a first state of the electronic equipment. And if the current working mode of the electronic equipment is the second mode, controlling the sound pickup device to pick up sound by using a second sound pickup angle, wherein the second mode corresponds to a second state of the electronic equipment, and the second sound pickup angle is larger than the first sound pickup angle.
Fig. 1A schematically illustrates a personal mode application scenario in accordance with an embodiment of the present disclosure. Fig. 1B schematically illustrates a conference mode application scenario according to an embodiment of the present disclosure. It should be noted that fig. 1A and 1B are only examples of scenarios in which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, but do not mean that the embodiments of the present disclosure may not be used in other devices, systems, environments or scenarios.
The existing notebook computer generally has a good sound pickup effect if it works in the personal mode as shown in fig. 1A. While if operating in the conference mode as shown in fig. 1B, it is generally less effective at picking up sound. In implementing the embodiments of the present disclosure, the inventor has found that the main reason for the above problems is that the sound pickup angle of the sound pickup device, such as a microphone, of the existing notebook computer is generally fixed and set mainly for the personal mode.
In order to overcome the above problems in the prior art, embodiments of the present disclosure provide an improved sound pickup control method, which may control a sound pickup device to activate different sound pickup angles for sound pickup, for example, in response to different operating modes of an electronic device. By using the improved pickup control method, better pickup effect can be ensured under different working modes.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with specific embodiments.
Fig. 2 schematically shows a flowchart of a sound pickup control method according to an embodiment of the present disclosure.
As shown in fig. 2, the method may include operations S210 to S230, for example.
It should be noted that, in the embodiment of the present disclosure, the method may be applied to, for example, an electronic device having a sound pickup apparatus, and the operation mode of the electronic device may include, for example, a first mode (e.g., a personal mode) and a second mode (e.g., a conference mode).
It will be appreciated that the sound pick-up means of an electronic device may for example comprise one or more microphones, or may comprise an array of microphones.
In operation S210, a current operation mode of the electronic device is determined.
It should be noted that, in the embodiment of the present disclosure, different operation modes of an electronic device correspond to different states of the electronic device. Specifically, the operating state of the electronic device may include, for example, a first state as shown in fig. 1A and a second state as shown in fig. 1B. Wherein the first mode corresponds to a first state of the electronic device and the second mode corresponds to a second state of the electronic device.
Thus, for example, the current operating mode of the electronic device may be determined based on the current state of the electronic device. Here, the state of the electronic device may include, for example, a state between the bodies in the electronic device, and a placement manner of the electronic device as a whole when used (this embodiment of the present disclosure is referred to as a use mode).
In addition, for example, the current operating mode of the electronic device may be determined according to the configuration of the operating mode of the electronic device by the user. In particular, a user may manually configure an electronic device in a first mode or a second mode or other modes.
As an alternative embodiment, an electronic device may include, for example, a first body and a second body. Taking a notebook computer as an example, the notebook computer may include a first body (e.g., a body including a display) for outputting information and a second body (e.g., a body including a keyboard) for inputting information.
Correspondingly, the operation S210 of determining the current operating mode of the electronic device may include the following operations, for example.
And determining the angle of the included angle formed by the first body and the second body currently.
And determining the current working mode of the electronic equipment at least according to the angle of the current included angle.
Continuing with the notebook computer as an example, for example, the angle of the included angle between the two bodies can be determined in real time by using the gravity sensor, and the current working mode of the notebook computer can be further determined according to the determined angle. In addition, the current working mode of the notebook computer can be further determined by combining the current using mode of the notebook computer on the basis of the determined angle.
Specifically, if the angle of the included angle between the two bodies of the notebook computer is between 0 ° and 180 °, the operating mode of the notebook computer can be determined using only the angle of the included angle. If the included angle between the two bodies of the notebook computer is between 180 degrees and 360 degrees, the working mode of the notebook computer can be further determined by combining the using mode of the notebook computer.
Through the embodiment of the disclosure, since the state of the electronic device and the operating mode thereof are correlated, the current operating mode thereof can be simply determined through the state of the electronic device.
It should be noted that, in the embodiment of the present disclosure, configuration information of an operating mode of the electronic device may also be modified in real time according to an included angle between two bodies of the electronic device, and then the current operating mode of the electronic device is determined by querying the configuration information.
Further, as an alternative embodiment, determining the current operating mode of the electronic device according to at least the angle of the current included angle may include, for example, the following operations.
And if the angle of the current included angle is between 0 DEG and 135 DEG, determining that the electronic equipment is currently operated in the first mode.
And if the angle of the current included angle is between 135 degrees and 180 degrees, determining that the electronic equipment is currently operated in the second mode.
Continuing with the notebook computer as an example, since most users have a common usage habit of maintaining the opening between the two bodies at 0 ° to 135 ° in the personal mode and at 135 ° to 180 ° in the conference mode. Therefore, if the opening degrees of the two bodies are between 0 ° and 135 °, it can be considered that the electronic apparatus is currently operating in the personal mode. If the opening degree of the two bodies is between 135 ° and 180 °, the electronic device may be considered to be currently operating in the conference mode.
Through the embodiment of the disclosure, the working mode of the electronic equipment can be matched with the common use habit of most users.
In addition, as another alternative embodiment, the method may further include the following operations, for example. The current usage mode of the electronic device is determined. The usage mode may include, for example, a first usage mode (e.g., a non-tent mode) and a second usage mode (e.g., a tent mode).
Continuing with the example of a notebook computer, the usage mode shown in fig. 3A is a non-tent mode, and the usage mode shown in fig. 3B is a tent mode.
Correspondingly, determining the current operating mode of the electronic device at least according to the angle of the current included angle may include, for example, the following operations.
And if the angle of the current included angle is between 180 and 315 degrees and the current use mode of the electronic equipment is the first use mode, determining that the electronic equipment is currently operated in the first mode.
And if the angle of the current included angle is 315-360 degrees and the current use mode of the electronic equipment is the first use mode, determining that the electronic equipment is currently operated in the second mode.
Further, as an alternative embodiment, the determining of the current operating mode of the electronic device may further include the following operations, for example.
And if the angle of the current included angle is 180-270 degrees and the current use mode of the electronic equipment is the second use mode, determining that the electronic equipment is currently operated in the second mode.
And if the angle of the current included angle is 270-360 degrees and the current use mode of the electronic equipment is the second use mode, determining that the electronic equipment is currently operated in the first mode.
Continuing with the example of the notebook computer, for example, the use mode of the notebook computer and the angle of the included angle between the two bodies can be determined in real time by using the gravity sensor, and the current working mode of the notebook computer can be further determined according to the determined angle and the use mode. For example, if used in the non-tent mode, the notebook computer is considered to be operated in the first mode when the opening degrees of the two bodies are between 180 ° and 315 °, and the notebook computer is considered to be operated in the second mode when the opening degrees of the two bodies are between 315 ° and 360 °.
In addition, for example, the current usage mode of the electronic device may be determined according to the configuration of the usage mode of the electronic device by the user. In particular, a user may manually configure an electronic device to a first or second or other usage mode.
In operation S220, if the current operation mode of the electronic apparatus is the first mode, the sound pickup apparatus is controlled to perform sound pickup using the first sound pickup angle.
In operation S230, if the current operation mode of the electronic apparatus is the second mode, the sound pickup apparatus is controlled to perform sound pickup using the second sound pickup angle. Wherein the second pickup angle is larger than the first pickup angle.
It should be noted that, in the embodiment of the present disclosure, if the first mode, such as the sound pickup angle of the personal mode, is set too large, it is likely that the sound of another person is picked up at the same time when the sound is picked up for the individual, so that the picked-up sound is not accurate enough due to the mixed noise, and the sound pickup effect is affected. If the sound pickup angle of the second mode, such as the conference mode, is set too small, it is likely that only part of the voices of the participants or only the voices of the participants reflected for many times are picked up as in the prior art when a plurality of persons are picked up, so that the picked-up voices are incomplete or too small, and the sound pickup effect is affected.
Therefore, in the embodiment of the present disclosure, different sound pickup angles corresponding to different operation modes are configured for different operation modes. Specifically, a smaller sound-collecting angle is configured for the first mode, and a larger sound-collecting angle is configured for the second mode.
As an alternative embodiment, the angle of the first pick-up angle may be set, for example, between 60 ° and 80 °; and/or the angle of the second pick-up angle is set to a full angle, for example 360 °.
Through the embodiment of the disclosure, more noises can be prevented from being mixed in the first mode, and meanwhile, the sound of each participant can be picked up in an all-around manner in the second mode.
Compared with the prior art that the same pickup angle is used for pickup for different working mode pickup devices to result in that pickup effects of multiple modes cannot be considered, in the embodiment of the present disclosure, different pickup angles can be used for pickup for different working mode pickup devices, so that pickup effects of multiple modes can be considered.
Further, as an alternative embodiment, the method may further include the following operations, for example.
And determining whether the current working mode of the electronic equipment is switched.
If the current working mode of the electronic equipment is switched from the first mode to the second mode, the sound pickup angle of the sound pickup device is controlled to be switched from the first sound pickup angle to the second sound pickup angle.
And if the current working mode of the electronic equipment is switched from the second mode to the first mode, controlling the sound pickup angle of the sound pickup device to be switched from the second sound pickup angle to the first sound pickup angle.
The user may switch the operation mode of the electronic device back and forth when using the electronic device. Continuing with the notebook computer as an example, during normal work, the user may use the personal mode of the computer, while in a meeting, the user may switch the personal mode to the conference mode, and after the meeting is finished, the user may switch the conference mode back to the personal mode again.
Therefore, in order to constantly ensure the sound pickup effect of the electronic apparatus, for example, the sound pickup angle of the sound pickup device may be controlled to be switched in accordance with the switching of the operation mode of the electronic apparatus.
Through the embodiment of the disclosure, after the working mode of the electronic equipment is switched, the pickup angle of the pickup device is controlled to be dynamically switched, so that the electronic equipment can always keep a better pickup effect.
Fig. 4 schematically shows a block diagram of an electronic device according to an embodiment of the disclosure.
As shown in fig. 4, the sound pickup control apparatus 410 (e.g., a processor) is applied to an electronic device 400 having a sound pickup apparatus 420, the operation mode of the electronic device 400 may include, for example, a first mode (e.g., a personal mode) and a second mode (e.g., a conference mode), and the sound pickup control apparatus 410 may include, for example, a first determination module 411, a first control module 412, and a second control module 413.
Specifically, the first determining module 411 is used for determining a current operating mode of the electronic device.
The first control module 412 is configured to control the sound pickup apparatus to perform sound pickup by using a first sound pickup angle when a current operating mode of the electronic device is a first mode, where the first mode corresponds to a first state of the electronic device.
The second control module 413 is configured to control the sound pickup apparatus to perform sound pickup by using a second sound pickup angle when the current working mode of the electronic device is a second mode, where the second mode corresponds to a second state of the electronic device, and the second sound pickup angle is greater than the first sound pickup angle.
It should be noted that the apparatus portion of the embodiment of the present disclosure corresponds to or is similar to the method portion of the embodiment of the present disclosure, and the description of the apparatus portion may specifically refer to the description of the method portion, which is not repeated herein.
Any of the modules according to embodiments of the present disclosure, or at least part of the functionality of any of them, may be implemented in one module. Any one or more of the modules according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules according to the embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging the circuit, or in any one of three implementations, or in any suitable combination of any of the software, hardware, and firmware. Alternatively, one or more of the modules according to embodiments of the disclosure may be implemented at least partly as computer program modules which, when executed, may perform corresponding functions.
For example, any plurality of the first determination module 411, the first control module 412, and the second control module 413 may be combined and implemented in one module, or any one of them may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the first determining module 411, the first controlling module 412, and the second controlling module 413 may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or in any one of three implementations of software, hardware, and firmware, or in any suitable combination of any of them. Alternatively, at least one of the first determining module 411, the first controlling module 412 and the second controlling module 413 may be at least partially implemented as a computer program module, which when executed may perform a corresponding function.
Fig. 5 schematically shows a block diagram of an electronic device adapted to implement the above described method according to an embodiment of the present disclosure. The computer system illustrated in FIG. 5 is only one example and should not impose any limitations on the scope of use or functionality of embodiments of the disclosure.
As shown in fig. 5, the electronic device 500 includes a processor 510, a computer-readable storage medium 520, and a sound pickup apparatus 530. The electronic device 500 may perform a method according to an embodiment of the present disclosure.
In particular, processor 510 may include, for example, a general purpose microprocessor, an instruction set processor and/or related chip set and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), and/or the like. The processor 510 may also include on-board memory for caching purposes. Processor 510 may be a single processing unit or a plurality of processing units for performing different actions of a method flow according to embodiments of the disclosure.
Computer-readable storage media 520, for example, may be non-volatile computer-readable storage media, specific examples including, but not limited to: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and so on.
The computer-readable storage medium 520 may include a computer program 521, which computer program 521 may include code/computer-executable instructions that, when executed by the processor 510, cause the processor 510 to perform a method according to an embodiment of the disclosure, or any variation thereof.
The computer program 521 may be configured with, for example, computer program code comprising computer program modules. For example, in an example embodiment, code in computer program 521 may include one or more program modules, including for example 521A, modules 521B, \8230. It should be noted that the division and number of modules are not fixed, and those skilled in the art may use suitable program modules or program module combinations according to actual situations, and when these program modules are executed by the processor 510, the processor 510 may execute the method according to the embodiment of the present disclosure or any variation thereof.
According to an embodiment of the present disclosure, at least one of the first determining module 411, the first controlling module 412 and the second controlling module 413 may be implemented as a computer program module described with reference to fig. 5, which, when executed by the processor 510, may implement the respective operations described above.
The present disclosure also provides a computer-readable storage medium, which may be embodied in the device/apparatus/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement a method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It will be appreciated by those skilled in the art that various combinations and/or combinations of the features recited in the various embodiments of the disclosure and/or the claims may be made even if such combinations or combinations are not explicitly recited in the disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
While the disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.

Claims (8)

1. A sound pickup control method is applied to an electronic device with a sound pickup device, wherein the electronic device comprises a first body and a second body, the working mode of the electronic device comprises a first mode and a second mode, the sound pickup device comprises a plurality of microphones or a microphone array, and the method comprises the following steps:
determining a current operating mode of the electronic device, wherein the determining the current operating mode of the electronic device comprises: determining the angle of the current included angle formed by the first body and the second body; determining the current working mode of the electronic equipment at least according to the angle of the current included angle;
if the current working mode of the electronic equipment is the first mode, controlling the sound pickup device to pick up sound by using a first sound pickup angle, wherein the first mode corresponds to a first state of the electronic equipment; and
if the current working mode of the electronic equipment is the second mode, controlling the sound pickup device to pick up sound by using a second sound pickup angle, wherein the second mode corresponds to a second state of the electronic equipment, and the second sound pickup angle is larger than the first sound pickup angle;
determining whether the current working mode of the electronic equipment is switched;
if the current working mode of the electronic equipment is switched from the first mode to the second mode, controlling the sound pickup angle of the sound pickup device to be switched from the first sound pickup angle to the second sound pickup angle; and
and if the current working mode of the electronic equipment is switched from the second mode to the first mode, controlling the sound pickup angle of the sound pickup device to be switched from the second sound pickup angle to the first sound pickup angle.
2. The method of claim 1, wherein said determining a current operating mode of the electronic device based on at least the angle of the current included angle comprises:
determining that the electronic device is currently operating in the first mode if the angle of the currently included angle is between 0 ° and 135 °; and
determining that the electronic device is currently operating in the second mode if the angle of the current included angle is between 135 ° and 180 °.
3. The method of claim 1, wherein,
the method further comprises the following steps: determining a current usage mode of the electronic equipment, wherein the usage mode comprises a first usage mode and a second usage mode;
the determining the current working mode of the electronic device at least according to the angle of the current included angle includes:
if the angle of the current included angle is 180-315 degrees and the current use mode of the electronic equipment is the first use mode, determining that the electronic equipment is currently operated in the first mode; and
and if the angle of the current included angle is 315-360 degrees and the current use mode of the electronic equipment is the first use mode, determining that the electronic equipment is currently operated in the second mode.
4. The method of claim 3, wherein,
if the angle of the current included angle is 180-270 degrees and the current using mode of the electronic equipment is the second using mode, determining that the electronic equipment is currently operated in the second mode; and
and if the angle of the current included angle is 270-360 degrees and the current use mode of the electronic equipment is the second use mode, determining that the electronic equipment is currently operated in the first mode.
5. The method of claim 1, wherein:
the first pick-up angle has an angle of between 60 ° and 80 °; and/or
The angle of the second sound-collecting angle is a full angle.
6. A sound pickup control apparatus applied to an electronic device having a sound pickup apparatus, wherein the electronic device includes a first body and a second body, an operation mode of the electronic device includes a first mode and a second mode, the sound pickup apparatus includes a plurality of microphones or a microphone array, and the sound pickup control apparatus includes:
the first determining module is used for determining the current working mode of the electronic equipment; wherein the determining the current operating mode of the electronic device comprises: determining the angle of the current included angle formed by the first body and the second body; determining the current working mode of the electronic equipment at least according to the angle of the current included angle;
the first control module is used for controlling the sound pickup device to pick up sound by using a first sound pickup angle under the condition that the current working mode of the electronic equipment is the first mode, wherein the first mode corresponds to a first state of the electronic equipment; and
a second control module, configured to control the sound pickup apparatus to pick up sound using a second sound pickup angle when a current operating mode of the electronic device is the second mode, where the second mode corresponds to a second state of the electronic device, and the second sound pickup angle is greater than the first sound pickup angle;
the pickup control device is also used for determining whether the current working mode of the electronic equipment is switched or not; if the current working mode of the electronic equipment is switched from the first mode to the second mode, controlling the sound pickup angle of the sound pickup device to be switched from the first sound pickup angle to the second sound pickup angle; and a module for controlling the sound pickup angle of the sound pickup device to be switched from the second sound pickup angle to the first sound pickup angle if the current working mode of the electronic equipment is switched from the second mode to the first mode.
7. An electronic device, comprising:
a sound pickup device;
the processor is connected with the sound pickup device; and
a memory connected to the processor for storing one or more programs, wherein the one or more programs, when executed by the processor, cause the processor to implement the pickup control method of any one of claims 1 to 5.
8. A computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to implement the pickup control method of any one of claims 1 to 5.
CN201910931494.8A 2019-09-27 2019-09-27 Sound pickup control method and apparatus, electronic device, and medium Active CN110691290B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910931494.8A CN110691290B (en) 2019-09-27 2019-09-27 Sound pickup control method and apparatus, electronic device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910931494.8A CN110691290B (en) 2019-09-27 2019-09-27 Sound pickup control method and apparatus, electronic device, and medium

Publications (2)

Publication Number Publication Date
CN110691290A CN110691290A (en) 2020-01-14
CN110691290B true CN110691290B (en) 2022-10-25

Family

ID=69110945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910931494.8A Active CN110691290B (en) 2019-09-27 2019-09-27 Sound pickup control method and apparatus, electronic device, and medium

Country Status (1)

Country Link
CN (1) CN110691290B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111918170A (en) * 2020-07-10 2020-11-10 北京搜狗科技发展有限公司 Sound pickup mode switching method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101676861A (en) * 2008-09-16 2010-03-24 联想(新加坡)私人有限公司 Tablet computer equipped with microphones
JP2012119909A (en) * 2010-11-30 2012-06-21 Brother Ind Ltd Terminal apparatus, echo reduction system, and control program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5228407B2 (en) * 2007-09-04 2013-07-03 ヤマハ株式会社 Sound emission and collection device
CN103780765A (en) * 2014-02-28 2014-05-07 联想(北京)有限公司 Switching method and device as well as electronic device
CN106899913B (en) * 2015-12-18 2020-11-20 联想(北京)有限公司 Method for controlling electronic equipment and electronic equipment
CN207164544U (en) * 2017-09-08 2018-03-30 董维冷 A kind of speech control system for being applied to Karaoke
CN107566660B (en) * 2017-10-24 2020-06-09 Oppo广东移动通信有限公司 Call noise reduction method and device and terminal
CN108243361A (en) * 2018-01-02 2018-07-03 联想(北京)有限公司 A kind of voice collection device and electronic equipment
TWI715910B (en) * 2018-01-08 2021-01-11 仁寶電腦工業股份有限公司 Communication device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101676861A (en) * 2008-09-16 2010-03-24 联想(新加坡)私人有限公司 Tablet computer equipped with microphones
JP2012119909A (en) * 2010-11-30 2012-06-21 Brother Ind Ltd Terminal apparatus, echo reduction system, and control program

Also Published As

Publication number Publication date
CN110691290A (en) 2020-01-14

Similar Documents

Publication Publication Date Title
EP3742255B1 (en) Methods and apparatus to operate closed-lid portable computers
CN110785996B (en) Dynamic control of camera resources in a device with multiple displays
US9258524B2 (en) Streaming playback within a live video conference
US9761116B2 (en) Low power voice trigger for finding mobile devices
US10681308B2 (en) Electronic apparatus and method for controlling thereof
US11388333B2 (en) Audio guided image capture method and device
WO2019127114A1 (en) Audio playback method for virtual machine and device thereof, and mobile terminal
US20210201935A1 (en) Systems and methods to determine whether to unmute microphone based on camera input
KR101961241B1 (en) Method and system for providing game based on video call and object recognition
KR20130100306A (en) Mobile telephone hosted meeting controls
CN110691290B (en) Sound pickup control method and apparatus, electronic device, and medium
US20180060028A1 (en) Controlling navigation of a visual aid during a presentation
WO2021103609A1 (en) Method and apparatus for driving interaction object, electronic device and storage medium
US20140015952A1 (en) Automatic Un-Muting of a Telephone Call
US10375619B2 (en) Methods and systems for managing mobile devices with reference points
CN113853529A (en) Apparatus, and associated method, for spatial audio capture
KR102094392B1 (en) User device having a plurality of microphones and operating method thereof
JP5717899B2 (en) Audio device for portable device
US10386933B2 (en) Controlling navigation of a visual aid during a presentation
US11232366B2 (en) System and method for managing information handling systems
CN110995930A (en) Audio device control method and device and electronic device
US10136235B2 (en) Method and system for audio quality enhancement
CN109064551B (en) Information processing method and device for electronic equipment
CN112261236A (en) Method and equipment for mute processing in multi-person voice
CN109189321B (en) Electronic equipment information processing method, device, system and medium

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