WO2018157679A1 - Sounding control method and electronic device - Google Patents

Sounding control method and electronic device Download PDF

Info

Publication number
WO2018157679A1
WO2018157679A1 PCT/CN2018/073988 CN2018073988W WO2018157679A1 WO 2018157679 A1 WO2018157679 A1 WO 2018157679A1 CN 2018073988 W CN2018073988 W CN 2018073988W WO 2018157679 A1 WO2018157679 A1 WO 2018157679A1
Authority
WO
WIPO (PCT)
Prior art keywords
sound
electronic device
electroacoustic
sound hole
electroacoustic element
Prior art date
Application number
PCT/CN2018/073988
Other languages
French (fr)
Chinese (zh)
Inventor
欧阳灵
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2018157679A1 publication Critical patent/WO2018157679A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers

Definitions

  • the present invention relates to the field of audio, and in particular to an acoustic control method and an electronic device.
  • the sound hole of the mobile phone easily adheres to dust and the like during use, causing clogging, resulting in a small sound volume of the mobile phone.
  • Embodiments of the present invention provide an acoustic control method and an electronic device.
  • An acoustic control method for controlling an electronic device comprising a housing, a first electroacoustic component and a second electroacoustic component, the housing forming and the first electrical a first sound hole opposite to the sound element and a second sound hole opposite to the second sound element, the sound control method comprising the following steps:
  • An electronic device including an embodiment of a first acoustic hole and a second acoustic acoustic component a second sound hole opposite to the second electroacoustic element, the first electroacoustic element and the second electroacoustic element simultaneously sounding when the first sound hole is blocked to utilize the first sound hole And the second sound hole sounds.
  • An electronic device includes: a housing, a first electroacoustic element, and a second electroacoustic element, the housing forming a first sound hole and a portion opposite to the first electroacoustic element a second sound hole opposite to the second electroacoustic element; the electronic device further comprising a circuit board, a processor, a memory and a power supply circuit, the circuit board being disposed inside the space enclosed by the housing, the processing And a memory disposed on the circuit board, the power circuit for powering respective circuits or devices of the electronic device, the memory for storing executable program code, the processor The executable program code stored in the memory is to execute a program corresponding to the executable code for executing the sound emission control method.
  • the sound emission control method and the electronic device use the first electroacoustic element and the second electroacoustic element to simultaneously emit sound to increase the sound volume of the electronic device, thereby preventing the volume from being too small due to blockage of the first sound hole. problem.
  • FIG. 1 is a schematic flow chart of a sound emission control method according to an embodiment of the present invention.
  • FIG. 2 is a schematic plan view of an electronic device according to an embodiment of the present invention.
  • FIG. 3 is a bottom view of an electronic device according to an embodiment of the present invention.
  • FIG. 4 is a partial schematic structural view of an electronic device according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural view of another part of an electronic device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural view of still another part of an electronic device according to an embodiment of the present invention.
  • FIG. 7 is another schematic plan view of an electronic device according to an embodiment of the present invention.
  • FIG 8 is another schematic plan view of an electronic device according to an embodiment of the present invention.
  • FIG. 9 is still another schematic flowchart of the sound emission control method according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of functional blocks of an electronic device according to an embodiment of the present invention.
  • the electronic device 100 The electronic device 100, the housing 20, the first sound hole 22, the second sound hole 24, the sound chamber 26, the first electroacoustic element 30, the diaphragm 32, the second electroacoustic element 40, the air pressure sensor 51, and the temperature sensor 52.
  • Distance sensor 53 acoustic and electrical component 54, drive circuit 55, detection circuit 56, circuit board 60, processor 70, memory 80, and power supply circuit 90.
  • the sound emission control method of the embodiment of the present invention can be used to control the electronic device 100.
  • the electronic device 100 includes a housing 20, a first electroacoustic component 30, and a second electroacoustic component 40.
  • the housing 20 forms a first sound hole 22 opposite to the first electroacoustic element 30 and a second sound hole 24 opposite to the second electroacoustic element 40.
  • the sound control method includes the following steps:
  • S16 Control the first electroacoustic element 30 and the second electroacoustic element 40 to simultaneously sound when the first sound hole 22 is blocked, so that the electronic device 100 makes a sound by using the first sound hole 22 and the second sound hole 24.
  • the electronic device 100 of the embodiment of the present invention includes a housing 20, a first electroacoustic component 30, and a second electroacoustic component 40.
  • the housing 20 forms a first sound hole 22 opposite to the first electroacoustic element 30 and a second sound hole 24 opposite to the second electroacoustic element 40.
  • the first electroacoustic element 30 and the second electroacoustic element 40 simultaneously sound when the first sound hole 22 is blocked to sound with the first sound hole 22 and the second sound hole 24.
  • the sound emission control method of the embodiment of the present invention can be implemented by the electronic device 100 of the embodiment of the present invention, or the control method of the embodiment of the present invention can be applied to the electronic device 100 of the embodiment of the present invention.
  • the sound emission control method and the electronic device 100 of the embodiment of the present invention use the first electroacoustic element 30 and the second electroacoustic element 40 to simultaneously emit sound to increase the sound volume of the electronic device 100, thereby avoiding the blockage of the first sound hole 22. Causes the volume to be too small.
  • the electronic device 100 includes a mobile phone, a tablet, a smart watch, a notebook computer, a smart bracelet, a smart helmet, and the like. In an embodiment of the invention, the electronic device 100 is a mobile phone.
  • the first electroacoustic component 30 includes a device such as a speaker or a speaker that can convert an electrical signal into an acoustic signal, and can be disposed, for example, at the bottom end of the electronic device 100.
  • the first electroacoustic component 30 is a moving coil speaker.
  • the first electroacoustic component 30 can also be disposed at other suitable locations of the electronic device 100.
  • the first electroacoustic component 30 may include a plurality of adjacently disposed or separately disposed at different positions of the electronic device 100.
  • the second electroacoustic component 40 includes a device capable of converting an electrical signal into an acoustic signal, such as a receiver or an earpiece, and can be disposed, for example, on top of the electronic device 100.
  • the second electroacoustic element 40 is a receiver.
  • the second electroacoustic component 40 can also be disposed at other suitable locations of the electronic device 100.
  • the second electroacoustic component 40 may include a plurality of adjacently disposed or separately disposed at different positions of the electronic device 100.
  • the second electroacoustic element 40 sounds and propagates through the second sound hole 24 to avoid the problem that the volume of the electronic device 100 is too small.
  • the audio file of the second electroacoustic element 40 and the first electroacoustic element 30 can be controlled to be the same, and the first electroacoustic element 30 and the second electroacoustic element 40 are synchronously played, which can better improve. Play volume and audible effects.
  • the second sound hole 24 can be disposed at a position on the electronic device 100 away from the first sound hole 22. In this way, the first sound hole 22 and the second sound hole 24 can be prevented from being blocked at the same time. For example, when the electronic device 100 is placed on the sofa, the first sound hole 22 and the second sound hole 24 are simultaneously blocked by the sofa.
  • the detection signal based on the state of the first sound hole 22 is a signal that changes due to whether the first sound hole 22 is blocked.
  • the detection signal includes one or more values that can be read. Whether the first sound hole 22 is blocked is determined by comparing the value with the set value.
  • the housing 20 forms a sound chamber 26, and the electronic device 100 includes an air pressure sensor 51 disposed within the sound chamber 26.
  • the detection signal includes a gas pressure value obtained by the air pressure sensor 51 when the first electroacoustic element 30 sounds.
  • the first sound hole 22 communicates with the outside, and the air pressure value obtained from the air pressure sensor 51 is substantially the same as the external air pressure value (such as the atmospheric pressure value), and the first power is
  • the acoustic element 30 sounds, the sound output from the first electroacoustic element 30 is unblocked, and the air pressure value obtained from the air pressure sensor 51 remains substantially unchanged; when the first sound hole 22 is blocked and the first electroacoustic element 30 sounds, The diaphragm of an electroacoustic element 30 exerts a force on the air in the sound chamber 26. Since the first sound hole 22 is clogged, the air is affected by the force generated by the diaphragm, thereby changing the air pressure value.
  • the air pressure value acquired by the processing air pressure sensor 51 when the first electroacoustic element 30 sounds is compared by setting the air pressure value and the set air pressure threshold (such as the atmospheric pressure value), and determining that the air pressure value is greater than the set air pressure threshold.
  • the sound hole 22 is blocked, and the first sound hole 22 is judged to be unblocked when the air pressure value is less than or equal to the set air pressure threshold.
  • the housing 20 forms a sound chamber 26, and the electronic device 100 includes a temperature sensor 52 disposed within the sound chamber 26, the detection signal including the temperature sensor 52 when the first acoustic element 30 sounds The temperature value obtained.
  • the sound chamber 26 communicates with the outside, and when the first electroacoustic element 30 sounds, the heat generated by the first electroacoustic element 30 is easily conducted to the outside, and thus the temperature sensor 52 The acquired temperature value is lower and the change is slower and less than or equal to the set temperature threshold; when the first sound hole 22 is blocked and the first electroacoustic element 30 sounds, since the first sound hole 22 is clogged, the sound chamber 26 is The heat exchange of the outside is reduced, and the heat generated by the first electroacoustic element 30 is relatively slow, so that the temperature value obtained by the temperature sensor 52 is higher and changes faster, and is easily greater than the set temperature threshold.
  • the temperature value obtained by the processing temperature sensor 52 when the first electroacoustic element 30 sounds is compared, and the first sound hole 22 is determined to be blocked when the temperature value is greater than the set temperature threshold by comparing the temperature value with the set temperature threshold.
  • the temperature value is less than or equal to the set temperature threshold, it is determined that the first sound hole 22 is unblocked.
  • the housing 20 forms a sound chamber 26
  • the first electroacoustic component 30 includes a diaphragm 32
  • the electronic device 100 includes a distance sensor 53 disposed within the sound chamber 26, the distance sensor 53 and The diaphragm 32 is opposed to each other, and the detection signal includes a distance value obtained by the distance sensor 53 when the first electroacoustic element 30 sounds.
  • the first sound hole 22 communicates with the outside.
  • the first electroacoustic element 30 sounds, the air pressure in the sound chamber 26 does not change much, so the diaphragm is not easy to be
  • the vibration of 32 generates a force, and the vibration amplitude of the diaphragm 32 is large, so that it is easy to be larger than the set distance threshold; when the first sound hole 22 is blocked and the first electroacoustic element 30 sounds, the vibration of the diaphragm 32 is opposite to the sound chamber.
  • the air in the 26 generates a force.
  • the air pressure value becomes large, thereby impeding the vibration of the diaphragm 32, resulting in a small vibration amplitude of the diaphragm, so the diaphragm detected by the distance sensor 53 is detected.
  • the change in the distance value between 32 and the distance sensor 53 is generally less than the set distance threshold.
  • the distance value acquired by the distance sensor 53 when the first electroacoustic element 30 sounds is compared, and the first sound hole 22 is determined when the distance value is greater than or equal to the set distance threshold by comparing the distance value with the set distance threshold. Unblocked, it is determined that the first sound hole 22 is clogged when the distance value is less than the set distance threshold.
  • the electronic device 100 includes an acoustical component 54 that includes the loudness of the audio signal that the acoustical component 54 acquires when the first acoustic component 30 is audible.
  • the sound chamber 26 communicates with the outside, and when the first electroacoustic element 30 sounds, the sound emitted by the first electroacoustic element 30 is not hindered, and can be normally transmitted to The outside is received by the acoustic element 54, so that the loudness of the audio signal received from the acoustic element 54 is greater than the set loudness threshold; when the first sound hole 22 is blocked, the sound of the first acoustic element 30 is blocked.
  • the effect of the object causes the loudness of the audio signal received by the acoustic element 54 to be less than the set loudness threshold.
  • the loudness of the audio signal acquired by the acoustic element 54 when the first electroacoustic element 30 is uttered is processed, and the first sound hole is determined when the loudness is greater than or equal to the set loudness threshold by comparing the loudness with the set loudness threshold. 22 is unblocked, and it is determined that the first sound hole 22 is blocked when the loudness is less than the set loudness threshold.
  • the electronic device 100 includes a driving circuit 55 and a detecting circuit 56 .
  • the detection signal includes the impedance of the drive circuit 55 detected by the detection circuit 56.
  • the moving coil speaker sounds through the voice coil to drive the diaphragm, and the voice coil cuts the magnetic induction line in the speaker when the speaker sounds, thereby generating an opposite to the current time audio signal. electric signal.
  • the impedance of the drive circuit 55 detected by the detecting circuit 56 is approximately equal to a predetermined impedance threshold; when the first sound hole 22 is blocked, the diaphragm Obstructed by the force generated by the air in the sound chamber 26, the vibration amplitude becomes small, so that the reverse electric signal generated by the voice coil cutting magnetic line becomes small, and the impedance of the driving circuit 55 detected by the detecting circuit 56 becomes smaller and smaller.
  • the impedance threshold is predetermined.
  • the impedance of the driving circuit 55 acquired by the processing detecting circuit 56 when the first electroacoustic element 30 sounds is compared, and by comparing the impedance with the set impedance threshold, it is determined that the first sound hole 22 is clogged when the impedance is less than the set impedance threshold.
  • the first sound hole 22 is judged to be unblocked when the impedance is greater than or equal to the set impedance threshold.
  • the sound emission control method includes the following steps:
  • the second electroacoustic element 40 can be turned off when the first sound hole 22 is not blocked to avoid unnecessary power consumption and consumption of hardware resources.
  • the first electroacoustic element 30 can normally sound and ensure that the sound volume of the electronic device 100 is sufficient, so that the second electroacoustic element 40 is not required to sound, so the second power is turned off.
  • the acoustic element 40 does not affect the amount of sound and can reduce power consumption.
  • the electronic device 100 of the embodiment of the present invention further includes a circuit board 60, a processor 70, a memory 80, and a power supply circuit 90.
  • the circuit board 60 is disposed inside the space enclosed by the housing 20, and the processor 70 and the memory 80 are disposed on the circuit board 60.
  • the power circuit 90 is used to supply power to the various circuits or devices of the electronic device 100.
  • the memory 80 is for storing executable program code.
  • the processor 70 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 80 for executing the sound emission control method of the above embodiment.
  • the processor 70 is configured to perform the following steps:
  • the first electroacoustic element 30 and the second electroacoustic element 40 are controlled to simultaneously emit sound to cause the electronic device 100 to sound by using the first sound hole 22 and the second sound hole 24.
  • first and second are used for descriptive purposes only, and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” or “second” may include one or more of the described features either explicitly or implicitly.
  • the meaning of "a plurality" is two or more unless specifically defined otherwise.
  • the terms “installation”, “connected”, and “connected” should be understood broadly, and may be a fixed connection, for example, or They are detachable or integrally connected; they can be mechanically connected, they can be electrically connected or can communicate with each other; they can be connected directly or indirectly through an intermediate medium, which can be internal or two components of two components. Interaction relationship.
  • an intermediate medium which can be internal or two components of two components. Interaction relationship.
  • a "computer-readable medium” can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
  • portions of the embodiments of the invention may be implemented in hardware, software, firmware or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Details Of Audible-Bandwidth Transducers (AREA)

Abstract

Disclosed in the present invention is a sounding control method. The sounding control method comprises the following steps: (S12) controlling a first electroacoustic element (30) to sound; (S13) acquiring a detection signal based on the status of a first sound outlet hole (22) when the first electroacoustic element (30) sounds; (S14) determining, according to the detection signal, whether the first sound outlet hole (22) is blocked; and (S16) when the first sound outlet hole (22) is blocked, controlling the first electroacoustic element (30) and a second electroacoustic element (40) to sound simultaneously, so that an electronic device (100) can sound by using the first sound outlet hole (22) and a second sound outlet hole (24). Further disclosed in the present invention is the electronic device (100).

Description

出声控制方法和电子装置Sound control method and electronic device
优先权信息Priority information
本申请请求2017年03月03日向中国国家知识产权局提交的、专利申请号为201710124119.3的专利申请的优先权和权益,并且通过参照将其全文并入此处。The present application claims priority to and the benefit of the patent application Serial No. PCT Application No.
技术领域Technical field
本发明涉及音频领域,特别涉及一种出声控制方法和电子装置。The present invention relates to the field of audio, and in particular to an acoustic control method and an electronic device.
背景技术Background technique
在相关技术中,手机的出声孔在使用过程中容易粘附灰尘等杂物,造成堵塞,导致手机的出声音量变小。In the related art, the sound hole of the mobile phone easily adheres to dust and the like during use, causing clogging, resulting in a small sound volume of the mobile phone.
发明内容Summary of the invention
本发明的实施方式提供了一种出声控制方法和电子装置。Embodiments of the present invention provide an acoustic control method and an electronic device.
本发明的实施方式的一种出声控制方法,用于控制电子装置,所述电子装置包括壳体、第一电声元件和第二电声元件,所述壳体形成与所述第一电声元件相对的第一出声孔和与所述第二电声元件相对的第二出声孔,所述出声控制方法包括以下步骤:An acoustic control method for controlling an electronic device, the electronic device comprising a housing, a first electroacoustic component and a second electroacoustic component, the housing forming and the first electrical a first sound hole opposite to the sound element and a second sound hole opposite to the second sound element, the sound control method comprising the following steps:
控制所述第一电声元件发声;Controlling the first electroacoustic element to sound;
获取在所述第一电声元件发声时基于所述第一出声孔状态的检测信号;Obtaining a detection signal based on a state of the first sound hole when the first electroacoustic element emits sound;
根据所述检测信号判断所述第一出声孔是否堵塞;和Determining, according to the detection signal, whether the first sound hole is blocked; and
在所述第一出声孔堵塞时控制所述第一电声元件和所述第二电声元件同时发声以使所述电子装置利用所述第一出声孔和所述第二出声孔出声。Controlling the first electroacoustic element and the second electroacoustic element to simultaneously sound when the first sound hole is blocked, so that the electronic device utilizes the first sound hole and the second sound hole Out of voice.
本发明的实施方式的一种电子装置,包括壳体、第一电声元件和第二电声元件,所述壳体形成与所述第一电声元件相对的第一出声孔和与所述第二电声元件相对的第二出声孔,所述第一电声元件和所述第二电声元件在所述第一出声孔堵塞时同时发声以利用所述第一出声孔和所述第二出声孔出声。An electronic device including an embodiment of a first acoustic hole and a second acoustic acoustic component a second sound hole opposite to the second electroacoustic element, the first electroacoustic element and the second electroacoustic element simultaneously sounding when the first sound hole is blocked to utilize the first sound hole And the second sound hole sounds.
本发明的实施方式的一种电子装置包括:壳体、第一电声元件和第二电声元件,所述壳体形成与所述第一电声元件相对的第一出声孔和与所述第二电声元件相对的第二出声孔;所述电子装置还包括电路板、处理器、存储器和电源电路,所述电路板安置在所述壳体围成的空间内部,所述处理器和所述存储器设置在所述电路板上,所述电源电路用于为所述电子装置的各个电路或器件供电,所述存储器用于存储可执行程序代码,所述处理器 通过读取所述存储器中存储的所述可执行程序代码来运行与所述可执行代码对应的程序,以用于执行所述出声控制方法。An electronic device according to an embodiment of the present invention includes: a housing, a first electroacoustic element, and a second electroacoustic element, the housing forming a first sound hole and a portion opposite to the first electroacoustic element a second sound hole opposite to the second electroacoustic element; the electronic device further comprising a circuit board, a processor, a memory and a power supply circuit, the circuit board being disposed inside the space enclosed by the housing, the processing And a memory disposed on the circuit board, the power circuit for powering respective circuits or devices of the electronic device, the memory for storing executable program code, the processor The executable program code stored in the memory is to execute a program corresponding to the executable code for executing the sound emission control method.
本发明实施方式的出声控制方法和电子装置利用第一电声元件和第二电声元件同时发声来提高电子装置的出声音量,进而避免因第一出声孔堵塞而造成音量过小的问题。The sound emission control method and the electronic device according to the embodiment of the present invention use the first electroacoustic element and the second electroacoustic element to simultaneously emit sound to increase the sound volume of the electronic device, thereby preventing the volume from being too small due to blockage of the first sound hole. problem.
本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。The additional aspects and advantages of the invention will be set forth in part in the description which follows.
附图说明DRAWINGS
本发明的上述和/或附加的方面和优点从结合下面附图对实施方式的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from
图1是本发明实施方式的出声控制方法的流程示意图;1 is a schematic flow chart of a sound emission control method according to an embodiment of the present invention;
图2是本发明实施方式的电子装置的平面示意图;2 is a schematic plan view of an electronic device according to an embodiment of the present invention;
图3是本发明实施方式的电子装置的仰视示意图;3 is a bottom view of an electronic device according to an embodiment of the present invention;
图4是本发明实施方式的电子装置的部分结构示意图;4 is a partial schematic structural view of an electronic device according to an embodiment of the present invention;
图5是本发明实施方式的电子装置的另一个部分结构示意图;5 is a schematic structural view of another part of an electronic device according to an embodiment of the present invention;
图6是本发明实施方式的电子装置的再一个部分结构示意图;6 is a schematic structural view of still another part of an electronic device according to an embodiment of the present invention;
图7是本发明实施方式的电子装置的另一个平面示意图;7 is another schematic plan view of an electronic device according to an embodiment of the present invention;
图8是本发明实施方式的电子装置的再一个平面示意图;8 is another schematic plan view of an electronic device according to an embodiment of the present invention;
图9是本发明实施方式的出声控制方法的又一个流程示意图;FIG. 9 is still another schematic flowchart of the sound emission control method according to an embodiment of the present invention; FIG.
图10是本发明实施方式的电子装置的功能模块示意图。FIG. 10 is a schematic diagram of functional blocks of an electronic device according to an embodiment of the present invention.
主要元件符号说明:The main component symbol description:
电子装置100、壳体20、第一出声孔22、第二出声孔24、音腔26、第一电声元件30、振膜32、第二电声元件40、气压传感器51、温度传感器52、距离传感器53、声电元件54、驱动电路55、检测电路56、电路板60、处理器70、存储器80、电源电路90。The electronic device 100, the housing 20, the first sound hole 22, the second sound hole 24, the sound chamber 26, the first electroacoustic element 30, the diaphragm 32, the second electroacoustic element 40, the air pressure sensor 51, and the temperature sensor 52. Distance sensor 53, acoustic and electrical component 54, drive circuit 55, detection circuit 56, circuit board 60, processor 70, memory 80, and power supply circuit 90.
具体实施方式detailed description
下面详细描述本发明的实施方式,所述实施方式的实施方式在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。The embodiments of the present invention are described in detail below, and the embodiments of the embodiments are illustrated in the drawings, wherein the same or similar reference numerals indicate the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the drawings are intended to be illustrative of the invention and are not to be construed as limiting.
请一并参阅图1-3,本发明实施方式的出声控制方法可以用于控制电子装置100。电子装置100包括壳体20、第一电声元件30和第二电声元件40。壳体20形成与第一电声元件30相对的第一出声孔22和与第二电声元件40相对的第二出声孔24。出声控制方法包括以下步骤:Referring to FIG. 1-3 together, the sound emission control method of the embodiment of the present invention can be used to control the electronic device 100. The electronic device 100 includes a housing 20, a first electroacoustic component 30, and a second electroacoustic component 40. The housing 20 forms a first sound hole 22 opposite to the first electroacoustic element 30 and a second sound hole 24 opposite to the second electroacoustic element 40. The sound control method includes the following steps:
S12:控制第一电声元件30发声;S12: controlling the first electroacoustic component 30 to sound;
S13:获取第一电声元件30发声时基于第一出声孔22状态的检测信号;S13: Acquire a detection signal based on a state of the first sound hole 22 when the first electroacoustic element 30 emits sound;
S14:根据检测信号判断第一出声孔22是否堵塞;和S14: determining, according to the detection signal, whether the first sound hole 22 is blocked; and
S16:在第一出声孔22堵塞时控制第一电声元件30和第二电声元件40同时发声以使电子装置100利用第一出声孔22和第二出声孔24出声。S16: Control the first electroacoustic element 30 and the second electroacoustic element 40 to simultaneously sound when the first sound hole 22 is blocked, so that the electronic device 100 makes a sound by using the first sound hole 22 and the second sound hole 24.
本发明实施方式的电子装置100包括壳体20、第一电声元件30和第二电声元件40。壳体20形成与第一电声元件30相对的第一出声孔22和与第二电声元件40相对的第二出声孔24。第一电声元件30和第二电声元件40在第一出声孔22堵塞时同时发声以利用第一出声孔22和第二出声孔24出声。The electronic device 100 of the embodiment of the present invention includes a housing 20, a first electroacoustic component 30, and a second electroacoustic component 40. The housing 20 forms a first sound hole 22 opposite to the first electroacoustic element 30 and a second sound hole 24 opposite to the second electroacoustic element 40. The first electroacoustic element 30 and the second electroacoustic element 40 simultaneously sound when the first sound hole 22 is blocked to sound with the first sound hole 22 and the second sound hole 24.
也即是说,本发明实施方式的出声控制方法可以由本发明实施方式的电子装置100实现,或者说,本发明实施方式的控制方法可以应用于本发明实施方式的电子装置100。That is to say, the sound emission control method of the embodiment of the present invention can be implemented by the electronic device 100 of the embodiment of the present invention, or the control method of the embodiment of the present invention can be applied to the electronic device 100 of the embodiment of the present invention.
本发明实施方式的出声控制方法和电子装置100利用第一电声元件30和第二电声元件40同时发声来提高电子装置100的出声音量,进而避免因第一出声孔22堵塞而造成音量过小的问题。The sound emission control method and the electronic device 100 of the embodiment of the present invention use the first electroacoustic element 30 and the second electroacoustic element 40 to simultaneously emit sound to increase the sound volume of the electronic device 100, thereby avoiding the blockage of the first sound hole 22. Causes the volume to be too small.
在某些实施方式中,电子装置100包括手机、平板电脑、智能手表、笔记本电脑、智能手环或智能头盔等。在本发明实施方式中,电子装置100是手机。In some embodiments, the electronic device 100 includes a mobile phone, a tablet, a smart watch, a notebook computer, a smart bracelet, a smart helmet, and the like. In an embodiment of the invention, the electronic device 100 is a mobile phone.
在某些实施方式中,第一电声元件30包括喇叭或扬声器等能够将电信号转换成声信号的器件,并例如可设置在电子装置100底端。在本发明实施方式中,第一电声元件30是动圈式扬声器。在其他实施方式中,第一电声元件30也可以设置在电子装置100的其他合适位置。甚至,第一电声元件30可以包括多个,相邻设置或者分别设置在电子装置100的不同位置。In some embodiments, the first electroacoustic component 30 includes a device such as a speaker or a speaker that can convert an electrical signal into an acoustic signal, and can be disposed, for example, at the bottom end of the electronic device 100. In an embodiment of the invention, the first electroacoustic component 30 is a moving coil speaker. In other embodiments, the first electroacoustic component 30 can also be disposed at other suitable locations of the electronic device 100. Even, the first electroacoustic component 30 may include a plurality of adjacently disposed or separately disposed at different positions of the electronic device 100.
在某些实施方式中,第二电声元件40包括受话器或听筒等能够将电信号转换成声信号的器件,并例如可设置在电子装置100顶部。在本发明实施方式中,第二电声元件40是受话器。在其他实施方式中,第二电声元件40也可以设置在电子装置100的其他合适位置。甚至,第二电声元件40可以包括多个,相邻设置或者分别设置在电子装置100的不同位置。In some embodiments, the second electroacoustic component 40 includes a device capable of converting an electrical signal into an acoustic signal, such as a receiver or an earpiece, and can be disposed, for example, on top of the electronic device 100. In an embodiment of the invention, the second electroacoustic element 40 is a receiver. In other embodiments, the second electroacoustic component 40 can also be disposed at other suitable locations of the electronic device 100. In even, the second electroacoustic component 40 may include a plurality of adjacently disposed or separately disposed at different positions of the electronic device 100.
可以理解,在第一电声元件30相对的第一出声孔22堵塞时,第二电声元件40发声并通过第二出声孔24传播出去以避免电子装置100的音量过小的问题。需要说明的 是,可控制第二电声元件40与第一电声元件30发声的音频文件是相同的并且第一电声元件30和第二电声元件40同步播放,如此能更好地提高播放音量和听觉效果。It can be understood that when the first sound hole 22 opposite to the first electroacoustic element 30 is blocked, the second electroacoustic element 40 sounds and propagates through the second sound hole 24 to avoid the problem that the volume of the electronic device 100 is too small. It should be noted that the audio file of the second electroacoustic element 40 and the first electroacoustic element 30 can be controlled to be the same, and the first electroacoustic element 30 and the second electroacoustic element 40 are synchronously played, which can better improve. Play volume and audible effects.
在某些实施方式中,第二出声孔24可设置在电子装置100上远离第一出声孔22的位置。如此,可以避免第一出声孔22和第二出声孔24同时堵塞。比如,电子装置100放置在沙发上时,第一出声孔22和第二出声孔24同时被沙发堵住。In some embodiments, the second sound hole 24 can be disposed at a position on the electronic device 100 away from the first sound hole 22. In this way, the first sound hole 22 and the second sound hole 24 can be prevented from being blocked at the same time. For example, when the electronic device 100 is placed on the sofa, the first sound hole 22 and the second sound hole 24 are simultaneously blocked by the sofa.
需要指出的是,基于第一出声孔22状态的检测信号,是会因第一出声孔22是否堵塞的状态而变化的信号,例如,检测信号包括一个或多个可被读取的值,通过对值与设定值的比较来判断第一出声孔22是否堵塞。It should be noted that the detection signal based on the state of the first sound hole 22 is a signal that changes due to whether the first sound hole 22 is blocked. For example, the detection signal includes one or more values that can be read. Whether the first sound hole 22 is blocked is determined by comparing the value with the set value.
请参阅图4,在某些实施方式中,壳体20形成音腔26,电子装置100包括设置在音腔26内的气压传感器51。检测信号包括气压传感器51在第一电声元件30发声时获取的气压值。Referring to FIG. 4, in some embodiments, the housing 20 forms a sound chamber 26, and the electronic device 100 includes an air pressure sensor 51 disposed within the sound chamber 26. The detection signal includes a gas pressure value obtained by the air pressure sensor 51 when the first electroacoustic element 30 sounds.
如此,可以通过气压传感器51的气压值来判断第一出声孔22是否堵塞。In this manner, whether or not the first sound hole 22 is blocked can be determined by the air pressure value of the air pressure sensor 51.
具体地,在第一出声孔22不堵塞时,第一出声孔22与外界连通,从气压传感器51获取的气压值与外界气压值(如大气压的气压值)基本一样,在第一电声元件30发声时,第一电声元件30发出的声音输出畅通,从气压传感器51获取的气压值基本保持不变;在第一出声孔22堵塞并且第一电声元件30发声时,第一电声元件30的振膜会对音腔26内的空气产生作用力,由于第一出声孔22堵塞,空气受到振膜产生的作用力影响,从而改变气压值。Specifically, when the first sound hole 22 is not blocked, the first sound hole 22 communicates with the outside, and the air pressure value obtained from the air pressure sensor 51 is substantially the same as the external air pressure value (such as the atmospheric pressure value), and the first power is When the acoustic element 30 sounds, the sound output from the first electroacoustic element 30 is unblocked, and the air pressure value obtained from the air pressure sensor 51 remains substantially unchanged; when the first sound hole 22 is blocked and the first electroacoustic element 30 sounds, The diaphragm of an electroacoustic element 30 exerts a force on the air in the sound chamber 26. Since the first sound hole 22 is clogged, the air is affected by the force generated by the diaphragm, thereby changing the air pressure value.
因此,处理气压传感器51在第一电声元件30发声时获取的气压值,通过将气压值和设定气压阈值(如大气压的气压值)进行比较,在气压值大于设定气压阈值时判断第一出声孔22堵塞,在气压值小于或等于设定气压阈值时判断第一出声孔22畅通。Therefore, the air pressure value acquired by the processing air pressure sensor 51 when the first electroacoustic element 30 sounds is compared by setting the air pressure value and the set air pressure threshold (such as the atmospheric pressure value), and determining that the air pressure value is greater than the set air pressure threshold. The sound hole 22 is blocked, and the first sound hole 22 is judged to be unblocked when the air pressure value is less than or equal to the set air pressure threshold.
请参阅图5,在某些实施方式中,壳体20形成音腔26,电子装置100包括设置在音腔26内的温度传感器52,检测信号包括温度传感器52在第一电声元件30发声时获取的温度值。Referring to FIG. 5, in some embodiments, the housing 20 forms a sound chamber 26, and the electronic device 100 includes a temperature sensor 52 disposed within the sound chamber 26, the detection signal including the temperature sensor 52 when the first acoustic element 30 sounds The temperature value obtained.
如此,可以通过温度传感器52的温度值来判断第一出声孔22是否堵塞。In this manner, whether or not the first sound hole 22 is blocked can be determined by the temperature value of the temperature sensor 52.
具体地,在第一出声孔22不堵塞时,音腔26与外界连通,在第一电声元件30发声时,第一电声元件30产生的热量容易传导至外界,因此从温度传感器52获取的温度值较低并且变化较慢且小于或等于设定温度阈值;在第一出声孔22堵塞并且第一电声元件30发声时,由于第一出声孔22堵塞,音腔26与外界的热交换降低,第一电声元件30产生的热量散发较慢,导致温度传感器52获取的温度值较高并且变化较快,容易大于设定温度阈值。Specifically, when the first sound hole 22 is not blocked, the sound chamber 26 communicates with the outside, and when the first electroacoustic element 30 sounds, the heat generated by the first electroacoustic element 30 is easily conducted to the outside, and thus the temperature sensor 52 The acquired temperature value is lower and the change is slower and less than or equal to the set temperature threshold; when the first sound hole 22 is blocked and the first electroacoustic element 30 sounds, since the first sound hole 22 is clogged, the sound chamber 26 is The heat exchange of the outside is reduced, and the heat generated by the first electroacoustic element 30 is relatively slow, so that the temperature value obtained by the temperature sensor 52 is higher and changes faster, and is easily greater than the set temperature threshold.
因此,处理温度传感器52在第一电声元件30发声时获取的温度值,通过将温度 值和设定温度阈值进行比较,在温度值大于设定温度阈值时判断第一出声孔22堵塞,在温度值小于或等于设定温度阈值时判断第一出声孔22畅通。Therefore, the temperature value obtained by the processing temperature sensor 52 when the first electroacoustic element 30 sounds is compared, and the first sound hole 22 is determined to be blocked when the temperature value is greater than the set temperature threshold by comparing the temperature value with the set temperature threshold. When the temperature value is less than or equal to the set temperature threshold, it is determined that the first sound hole 22 is unblocked.
请参阅图6,在某些实施方式中,壳体20形成音腔26,第一电声元件30包括振膜32,电子装置100包括设置在音腔26内的距离传感器53,距离传感器53与振膜32相对,检测信号包括距离传感器53在第一电声元件30发声时获取的距离值。Referring to FIG. 6, in some embodiments, the housing 20 forms a sound chamber 26, the first electroacoustic component 30 includes a diaphragm 32, and the electronic device 100 includes a distance sensor 53 disposed within the sound chamber 26, the distance sensor 53 and The diaphragm 32 is opposed to each other, and the detection signal includes a distance value obtained by the distance sensor 53 when the first electroacoustic element 30 sounds.
如此,可以通过距离传感器53的距离值来判断第一出声孔22是否堵塞。In this manner, whether or not the first sound hole 22 is blocked can be determined by the distance value of the distance sensor 53.
具体地,在第一出声孔22不堵塞时,第一出声孔22与外界连通,在第一电声元件30发声时,音腔26内的气压变化不大,所以不容易对振膜32的振动产生作用力,振膜32的振动幅度较大,从而容易大于设定距离阈值;在第一出声孔22堵塞并且第一电声元件30发声时,振膜32的振动对音腔26内的空气产生作用力,由于第一出声孔22堵塞,空气气压值变大,从而阻碍了振膜32的振动,导致振膜的振动幅度较小,所以距离传感器53检测到的振膜32和距离传感器53之间的距离值变化一般小于设定距离阈值。Specifically, when the first sound hole 22 is not blocked, the first sound hole 22 communicates with the outside. When the first electroacoustic element 30 sounds, the air pressure in the sound chamber 26 does not change much, so the diaphragm is not easy to be The vibration of 32 generates a force, and the vibration amplitude of the diaphragm 32 is large, so that it is easy to be larger than the set distance threshold; when the first sound hole 22 is blocked and the first electroacoustic element 30 sounds, the vibration of the diaphragm 32 is opposite to the sound chamber. The air in the 26 generates a force. Since the first sound hole 22 is clogged, the air pressure value becomes large, thereby impeding the vibration of the diaphragm 32, resulting in a small vibration amplitude of the diaphragm, so the diaphragm detected by the distance sensor 53 is detected. The change in the distance value between 32 and the distance sensor 53 is generally less than the set distance threshold.
因此,处理距离传感器53在第一电声元件30发声时获取的距离值,通过将距离值和设定距离阈值进行比较,在距离值大于或等于设定距离阈值时判断第一出声孔22畅通,在距离值小于设定距离阈值时判断第一出声孔22堵塞。Therefore, the distance value acquired by the distance sensor 53 when the first electroacoustic element 30 sounds is compared, and the first sound hole 22 is determined when the distance value is greater than or equal to the set distance threshold by comparing the distance value with the set distance threshold. Unblocked, it is determined that the first sound hole 22 is clogged when the distance value is less than the set distance threshold.
请参阅图7,在某些实施方式中,电子装置100包括声电元件54,检测信号包括声电元件54在第一电声元件30发声时获取的音频信号的响度。Referring to FIG. 7, in some embodiments, the electronic device 100 includes an acoustical component 54 that includes the loudness of the audio signal that the acoustical component 54 acquires when the first acoustic component 30 is audible.
如此,可以通过声电元件54获取的音频信号的响度来判断第一出声孔22是否堵塞。In this manner, whether the first sound hole 22 is blocked can be determined by the loudness of the audio signal acquired by the acoustic element 54.
具体地,在第一出声孔22不堵塞时,音腔26与外界连通,在第一电声元件30发声时,第一电声元件30发出的声音不会受到阻碍,能够正常地传达到外界以被声电元件54接收到,因此从声电元件54接收到的音频信号的响度大于设定响度阈值;在第一出声孔22堵塞时,第一电声元件30发出的声音受到堵塞物的影响,导致声电元件54接收到的音频信号的响度小于设定响度阈值。Specifically, when the first sound hole 22 is not blocked, the sound chamber 26 communicates with the outside, and when the first electroacoustic element 30 sounds, the sound emitted by the first electroacoustic element 30 is not hindered, and can be normally transmitted to The outside is received by the acoustic element 54, so that the loudness of the audio signal received from the acoustic element 54 is greater than the set loudness threshold; when the first sound hole 22 is blocked, the sound of the first acoustic element 30 is blocked. The effect of the object causes the loudness of the audio signal received by the acoustic element 54 to be less than the set loudness threshold.
因此,处理声电元件54在第一电声元件30发声时获取的音频信号的响度,通过将响度和设定响度阈值进行比较,在响度大于或等于设定响度阈值时判断第一出声孔22畅通,在响度小于设定响度阈值时判断第一出声孔22堵塞。Therefore, the loudness of the audio signal acquired by the acoustic element 54 when the first electroacoustic element 30 is uttered is processed, and the first sound hole is determined when the loudness is greater than or equal to the set loudness threshold by comparing the loudness with the set loudness threshold. 22 is unblocked, and it is determined that the first sound hole 22 is blocked when the loudness is less than the set loudness threshold.
请参阅图8,在某些实施方式中,电子装置100包括驱动电路55和检测电路56。检测信号包括检测电路56检测到的驱动电路55的阻抗。Referring to FIG. 8 , in some embodiments, the electronic device 100 includes a driving circuit 55 and a detecting circuit 56 . The detection signal includes the impedance of the drive circuit 55 detected by the detection circuit 56.
如此,可以通过检测电路56检测驱动电路55的阻抗来判断第一出声孔22是否堵塞。In this manner, it is possible to determine whether the first sound hole 22 is clogged by the detection circuit 56 detecting the impedance of the drive circuit 55.
具体地,以动圈式扬声器为例,动圈式扬声器通过音圈带动振膜的方式发声,音圈在扬声器发声时会切割扬声器内的磁感线,从而产生一个与当前时刻音频信号相反的电信号。在第一出声孔22不堵塞时,第一电声元件30正常工作,检测电路56检测到的驱动电路55的阻抗与预定阻抗阈值近似相等;在第一出声孔22堵塞时,振膜受到音腔26中空气产生的作用力的阻碍,振动幅度变小,从而导致音圈切割磁感线产生的反向电信号变小,检测电路56检测到的驱动电路55的阻抗变小且小于预定阻抗阈值。Specifically, taking a moving coil speaker as an example, the moving coil speaker sounds through the voice coil to drive the diaphragm, and the voice coil cuts the magnetic induction line in the speaker when the speaker sounds, thereby generating an opposite to the current time audio signal. electric signal. When the first sound hole 22 is not blocked, the first electroacoustic element 30 operates normally, and the impedance of the drive circuit 55 detected by the detecting circuit 56 is approximately equal to a predetermined impedance threshold; when the first sound hole 22 is blocked, the diaphragm Obstructed by the force generated by the air in the sound chamber 26, the vibration amplitude becomes small, so that the reverse electric signal generated by the voice coil cutting magnetic line becomes small, and the impedance of the driving circuit 55 detected by the detecting circuit 56 becomes smaller and smaller. The impedance threshold is predetermined.
因此,处理检测电路56在第一电声元件30发声时获取的驱动电路55的阻抗,通过将阻抗和设定阻抗阈值进行比较,在阻抗小于设定阻抗阈值时判断第一出声孔22堵塞,在阻抗大于或等于设定阻抗阈值时判断第一出声孔22畅通。Therefore, the impedance of the driving circuit 55 acquired by the processing detecting circuit 56 when the first electroacoustic element 30 sounds is compared, and by comparing the impedance with the set impedance threshold, it is determined that the first sound hole 22 is clogged when the impedance is less than the set impedance threshold. The first sound hole 22 is judged to be unblocked when the impedance is greater than or equal to the set impedance threshold.
请参阅图9,在某些实施方式中,出声控制方法包括以下步骤:Referring to FIG. 9, in some embodiments, the sound emission control method includes the following steps:
S18:在第一出声孔22未堵塞时控制第二电声元件40关闭。S18: Controlling the second electroacoustic element 40 to be turned off when the first sound hole 22 is not blocked.
如此,可以在第一出声孔22未堵塞时关闭第二电声元件40以避免不必要的电量以及硬件资源的消耗。In this way, the second electroacoustic element 40 can be turned off when the first sound hole 22 is not blocked to avoid unnecessary power consumption and consumption of hardware resources.
可以理解,在第一出声孔22未堵塞时,第一电声元件30能够正常发声并保证电子装置100的出声音量足够,因此不需要第二电声元件40发声,所以关闭第二电声元件40不会影响出声音量并且能够减少电量消耗。It can be understood that when the first sound hole 22 is not blocked, the first electroacoustic element 30 can normally sound and ensure that the sound volume of the electronic device 100 is sufficient, so that the second electroacoustic element 40 is not required to sound, so the second power is turned off. The acoustic element 40 does not affect the amount of sound and can reduce power consumption.
请参阅图10,本发明实施方式的电子装置100还包括电路板60、处理器70、存储器80和电源电路90。其中,电路板60安置在壳体20围成的空间内部,处理器70和存储器80设置在电路板60上,电源电路90用于为电子装置100的各个电路或器件供电。Referring to FIG. 10, the electronic device 100 of the embodiment of the present invention further includes a circuit board 60, a processor 70, a memory 80, and a power supply circuit 90. The circuit board 60 is disposed inside the space enclosed by the housing 20, and the processor 70 and the memory 80 are disposed on the circuit board 60. The power circuit 90 is used to supply power to the various circuits or devices of the electronic device 100.
存储器80用于存储可执行程序代码。处理器70通过读取存储器80中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于执行上述实施方式的出声控制方法。处理器70用于执行以下步骤:The memory 80 is for storing executable program code. The processor 70 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 80 for executing the sound emission control method of the above embodiment. The processor 70 is configured to perform the following steps:
控制第一电声元件30发声;Controlling the sound of the first electroacoustic component 30;
获取第一电声元件30发声时基于第一出声孔22状态的检测信号;Obtaining a detection signal based on a state of the first sound hole 22 when the first electroacoustic element 30 emits sound;
根据检测信号判断第一出声孔22是否堵塞;和Determining whether the first sound hole 22 is blocked according to the detection signal; and
在第一出声孔22堵塞时控制第一电声元件30和第二电声元件40同时发声以使电子装置100利用第一出声孔22和第二出声孔24出声。When the first sound hole 22 is blocked, the first electroacoustic element 30 and the second electroacoustic element 40 are controlled to simultaneously emit sound to cause the electronic device 100 to sound by using the first sound hole 22 and the second sound hole 24.
需要说明的是,前述对出声控制方法的解释说明也适用于本发明实施方式的电子装置100,在此不再赘述。It should be noted that the foregoing explanation of the sound emission control method is also applicable to the electronic device 100 of the embodiment of the present invention, and details are not described herein again.
在本发明的实施方式的描述中,术语“第一”、“第二”仅用于描述目的,而不能理解 为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本发明的实施方式的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In the description of the embodiments of the present invention, the terms "first" and "second" are used for descriptive purposes only, and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining "first" or "second" may include one or more of the described features either explicitly or implicitly. In the description of the embodiments of the present invention, the meaning of "a plurality" is two or more unless specifically defined otherwise.
在本发明的实施方式的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接或可以相互通讯;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明的实施方式中的具体含义。In the description of the embodiments of the present invention, it should be noted that the terms "installation", "connected", and "connected" should be understood broadly, and may be a fixed connection, for example, or They are detachable or integrally connected; they can be mechanically connected, they can be electrically connected or can communicate with each other; they can be connected directly or indirectly through an intermediate medium, which can be internal or two components of two components. Interaction relationship. For those skilled in the art, the specific meanings of the above terms in the embodiments of the present invention can be understood on a case-by-case basis.
在本说明书的描述中,参考术语“一个实施方式”、“一些实施方式”、“示意性实施方式”、“示例”、“具体示例”或“一些示例”等的描述意指结合所述实施方式或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施方式或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施方式或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施方式或示例中以合适的方式结合。In the description of the present specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiment", "example", "specific example" or "some examples", etc. Particular features, structures, materials or features described in the manner or examples are included in at least one embodiment or example of the invention. In the present specification, the schematic representation of the above terms does not necessarily mean the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method description in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a particular logical function or process. And the scope of the preferred embodiments of the invention includes additional implementations, in which the functions may be performed in a substantially simultaneous manner or in an opposite order depending on the functions involved, in the order shown or discussed. It will be understood by those skilled in the art to which the embodiments of the present invention pertain.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理模块的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方 式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer readable medium, Used in conjunction with, or in conjunction with, an instruction execution system, apparatus, or device (eg, a computer-based system, a system including a processing module, or other system that can fetch instructions and execute instructions from an instruction execution system, apparatus, or device) Or use with equipment. For the purposes of this specification, a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM). In addition, the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
应当理解,本发明的实施方式的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that portions of the embodiments of the invention may be implemented in hardware, software, firmware or a combination thereof. In the above-described embodiments, multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art can understand that all or part of the steps carried by the method of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, one or a combination of the steps of the method embodiments is included.
此外,在本发明的各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。The above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施方式进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described, it is understood that the above-described embodiments are illustrative and are not to be construed as limiting the scope of the invention. The embodiments are subject to changes, modifications, substitutions and variations.

Claims (20)

  1. 一种出声控制方法,用于控制电子装置,其特征在于,所述电子装置包括壳体、第一电声元件和第二电声元件,所述壳体形成与所述第一电声元件相对的第一出声孔和与所述第二电声元件相对的第二出声孔,所述出声控制方法包括以下步骤:An audible control method for controlling an electronic device, characterized in that the electronic device comprises a housing, a first electroacoustic element and a second electroacoustic element, and the housing is formed with the first electroacoustic element And an opposite first sound hole and a second sound hole opposite to the second electroacoustic element, the sound control method comprises the following steps:
    控制所述第一电声元件发声;Controlling the first electroacoustic element to sound;
    获取在所述第一电声元件发声时基于所述第一出声孔状态的检测信号;Obtaining a detection signal based on a state of the first sound hole when the first electroacoustic element emits sound;
    根据所述检测信号判断所述第一出声孔是否堵塞;和Determining, according to the detection signal, whether the first sound hole is blocked; and
    在所述第一出声孔堵塞时控制所述第一电声元件和所述第二电声元件同时发声以使所述电子装置利用所述第一出声孔和所述第二出声孔出声。Controlling the first electroacoustic element and the second electroacoustic element to simultaneously sound when the first sound hole is blocked, so that the electronic device utilizes the first sound hole and the second sound hole Out of voice.
  2. 如权利要求1所述的出声控制方法,其特征在于,所述壳体形成音腔,所述电子装置包括设置在所述音腔内的气压传感器,所述检测信号包括所述气压传感器在所述第一电声元件发声时获取的气压值。The sound emission control method according to claim 1, wherein said housing forms a sound chamber, said electronic device includes an air pressure sensor disposed in said sound chamber, and said detection signal includes said air pressure sensor The air pressure value obtained when the first electroacoustic element sounds.
  3. 如权利要求1所述的出声控制方法,其特征在于,所述壳体形成音腔,所述电子装置包括设置在所述音腔内的温度传感器,所述检测信号包括所述温度传感器在所述第一电声元件发声时获取的温度值。The sound emission control method according to claim 1, wherein said housing forms a sound chamber, said electronic device includes a temperature sensor disposed in said sound chamber, and said detection signal includes said temperature sensor a temperature value obtained when the first electroacoustic element emits sound.
  4. 如权利要求1所述的出声控制方法,其特征在于,所述壳体形成音腔,所述第一电声元件包括振膜,所述电子装置包括设置在所述音腔内的距离传感器,所述距离传感器与所述振膜相对,所述检测信号包括所述距离传感器在所述第一电声元件发声时获取的距离值。The sound emission control method according to claim 1, wherein said housing forms a sound chamber, said first electroacoustic element comprises a diaphragm, and said electronic device comprises a distance sensor disposed in said sound chamber The distance sensor is opposite to the diaphragm, and the detection signal includes a distance value obtained by the distance sensor when the first electroacoustic element emits sound.
  5. 如权利要求1所述的出声控制方法,其特征在于,所述电子装置包括声电元件,所述检测信号包括所述声电元件在所述第一电声元件发声时获取的音频信号的响度;或所述电子装置包括驱动电路和检测电路,所述检测信号包括所述检测电路检测到的所述驱动电路的阻抗。The sound emission control method according to claim 1, wherein said electronic device comprises an acoustic component, and said detection signal comprises an audio signal obtained by said acoustic component when said first electroacoustic component emits sound Loudness; or the electronic device includes a drive circuit and a detection circuit, the detection signal including an impedance of the drive circuit detected by the detection circuit.
  6. 如权利要求1所述的出声控制方法,其特征在于,所述出声控制方法包括以下步骤:The sound emission control method according to claim 1, wherein the sound emission control method comprises the following steps:
    在所述第一出声孔未堵塞时控制所述第二电声元件关闭。The second electroacoustic element is controlled to be turned off when the first sound hole is not blocked.
  7. 如权利要求1所述的出声控制方法,其特征在于,所述第一电声元件包括扬声器, 所述第二电声元件包括受话器;或所述第一电声元件包括受话器,所述第二电声元件包括扬声器。The sound emission control method according to claim 1, wherein said first electroacoustic element comprises a speaker, said second electroacoustic element comprises a receiver; or said first electroacoustic element comprises a receiver, said The second electroacoustic component includes a speaker.
  8. 如权利要求1所述的出声控制方法,其特征在于,所述第一电声元件设置在所述电子装置的底端,所述第二电声元件设置在所述电子装置的顶部。The sound emission control method according to claim 1, wherein said first electroacoustic element is disposed at a bottom end of said electronic device, and said second electroacoustic element is disposed at a top of said electronic device.
  9. 如权利要求1所述的出声控制方法,其特征在于,所述第二出声孔设置在所述电子装置上远离所述第一出声孔的位置。The sound emission control method according to claim 1, wherein the second sound hole is disposed at a position away from the first sound hole on the electronic device.
  10. 如权利要求1所述的出声控制方法,其特征在于,所述第二电声元件与所述第一电声元件发声的音频文件是相同的并且所述第一电声元件和所述第二电声元件同步播放。The sound emission control method according to claim 1, wherein said second electroacoustic element is identical to an audio file uttered by said first electroacoustic element, and said first electroacoustic element and said first The second electro-acoustic component is played synchronously.
  11. 一种电子装置,其特征在于,包括壳体、第一电声元件和第二电声元件,所述壳体形成与所述第一电声元件相对的第一出声孔和与所述第二电声元件相对的第二出声孔,所述第一电声元件和所述第二电声元件在所述第一出声孔堵塞时同时发声以利用所述第一出声孔和所述第二出声孔出声。An electronic device including a housing, a first electroacoustic component, and a second electroacoustic component, the housing forming a first sound hole opposite to the first electroacoustic component and a second sound hole opposite to the second electroacoustic element, the first electroacoustic element and the second electroacoustic element simultaneously sounding when the first sound hole is blocked to utilize the first sound hole and the The second sound hole is sounded.
  12. 如权利要求11所述的电子装置,其特征在于,所述电子装置包括气压传感器,所述气压传感器用于判断所述第一出声孔是否堵塞。The electronic device according to claim 11, wherein said electronic device comprises an air pressure sensor, and said air pressure sensor is configured to determine whether said first sound hole is blocked.
  13. 如权利要求11所述的电子装置,其特征在于,所述电子装置包括温度传感器,所述温度传感器用于判断所述第一出声孔是否堵塞。The electronic device according to claim 11, wherein said electronic device comprises a temperature sensor for determining whether said first sound hole is blocked.
  14. 如权利要求11所述的电子装置,其特征在于,所述电子装置包括距离传感器,所述距离传感器用于判断所述第一出声孔是否堵塞。The electronic device according to claim 11, wherein the electronic device comprises a distance sensor, and the distance sensor is configured to determine whether the first sound hole is blocked.
  15. 如权利要求11所述的电子装置,其特征在于,所述电子装置包括声电元件,所述声电元件用于判断所述第一出声孔是否堵塞;或所述电子装置包括驱动电路及检测电路,所述驱动电路及所述检测电路用于判断所述第一出声孔是否堵塞。The electronic device according to claim 11, wherein the electronic device comprises an acoustic component, wherein the acoustic component is used to determine whether the first sound hole is blocked; or the electronic device comprises a driving circuit and a detecting circuit, wherein the driving circuit and the detecting circuit are configured to determine whether the first sound emitting hole is blocked.
  16. 如权利要求11所述的电子装置,其特征在于,所述第二电声元件在所述第一出声孔未堵塞时关闭。The electronic device according to claim 11, wherein said second electroacoustic element is turned off when said first sound hole is not blocked.
  17. 如权利要求11所述的电子装置,其特征在于,所述第一电声元件设置在所述电子装置的底端,所述第二电声元件设置在所述电子装置的顶部。The electronic device according to claim 11, wherein said first electroacoustic element is disposed at a bottom end of said electronic device, and said second electroacoustic element is disposed at a top of said electronic device.
  18. 如权利要求11所述的电子装置,其特征在于,所述第二出声孔设置在所述电子装置上远离所述第一出声孔的位置。The electronic device according to claim 11, wherein said second sound hole is disposed at a position on said electronic device that is away from said first sound hole.
  19. 如权利要求11所述的电子装置,其特征在于,所述第二电声元件与所述第一电声元件发声的音频文件是相同的并且所述第一电声元件和所述第二电声元件同步播放。The electronic device according to claim 11, wherein said second electroacoustic element is identical to an audio file uttered by said first electroacoustic element and said first electroacoustic element and said second electric The sound components are played synchronously.
  20. 一种电子装置,其特征在于,包括:壳体、第一电声元件和第二电声元件,所述壳体形成与所述第一电声元件相对的第一出声孔和与所述第二电声元件相对的第二出声孔;所述电子装置还包括电路板、处理器、存储器和电源电路,所述电路板安置在所述壳体围成的空间内部,所述处理器和所述存储器设置在所述电路板上,所述电源电路用于为所述电子装置的各个电路或器件供电,所述存储器用于存储可执行程序代码,所述处理器通过读取所述存储器中存储的所述可执行程序代码来运行与所述可执行代码对应的程序,以用于执行权利要求1-10任意一项所述的出声控制方法。An electronic device, comprising: a housing, a first electroacoustic component, and a second electroacoustic component, the housing forming a first sound hole opposite to the first electroacoustic component and a second sound hole opposite to the second electroacoustic element; the electronic device further comprising a circuit board, a processor, a memory and a power supply circuit, the circuit board being disposed inside the space enclosed by the housing, the processor And the memory is disposed on the circuit board, the power circuit is configured to supply power to respective circuits or devices of the electronic device, the memory is configured to store executable program code, and the processor reads the The executable program code stored in the memory to execute a program corresponding to the executable code for performing the sound emission control method according to any one of claims 1-10.
PCT/CN2018/073988 2017-03-03 2018-01-24 Sounding control method and electronic device WO2018157679A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710124119.3A CN106878910A (en) 2017-03-03 2017-03-03 Control method of speaking and electronic installation
CN201710124119.3 2017-03-03

Publications (1)

Publication Number Publication Date
WO2018157679A1 true WO2018157679A1 (en) 2018-09-07

Family

ID=59171019

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/073988 WO2018157679A1 (en) 2017-03-03 2018-01-24 Sounding control method and electronic device

Country Status (2)

Country Link
CN (1) CN106878910A (en)
WO (1) WO2018157679A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878910A (en) * 2017-03-03 2017-06-20 广东欧珀移动通信有限公司 Control method of speaking and electronic installation
CN107147980A (en) * 2017-06-27 2017-09-08 广东欧珀移动通信有限公司 Mobile terminal
CN107391078A (en) * 2017-07-14 2017-11-24 维沃移动通信有限公司 A kind of sound adjusting method and mobile terminal
CN107290750A (en) * 2017-07-17 2017-10-24 青岛海信移动通信技术股份有限公司 Method and terminal that audio hole is blocked are detected in a kind of terminal
CN109121060B (en) * 2018-07-26 2020-12-01 Oppo广东移动通信有限公司 Microphone hole blockage detection method and related product
CN109151696A (en) * 2018-07-26 2019-01-04 Oppo广东移动通信有限公司 Plug-hole detection method and Related product
CN109121059A (en) * 2018-07-26 2019-01-01 Oppo广东移动通信有限公司 Loudspeaker plug-hole detection method and Related product
CN111669456B (en) * 2019-03-08 2021-07-20 Oppo广东移动通信有限公司 Audio adjusting method, storage medium and electronic equipment
CN109996161B (en) * 2019-04-23 2021-04-27 Oppo广东移动通信有限公司 Mobile terminal, voice control method thereof and device with storage function
CN112333619A (en) * 2020-11-03 2021-02-05 珠海格力电器股份有限公司 Method, device and system for detecting receiver performance
CN113766053A (en) * 2021-09-06 2021-12-07 Oppo广东移动通信有限公司 Speaker module, electronic device and control method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2429155A1 (en) * 2010-09-13 2012-03-14 HTC Corporation Mobile electronic device and sound playback method thereof
CN103501375A (en) * 2013-09-16 2014-01-08 华为终端有限公司 Method and device for controlling sound effect
CN103929707A (en) * 2014-04-08 2014-07-16 深圳市中兴移动通信有限公司 Method for detecting conditions of microphone voice-grade channels and terminal
US20150312691A1 (en) * 2012-09-10 2015-10-29 Jussi Virolainen Automatic microphone switching
CN105915718A (en) * 2016-05-30 2016-08-31 努比亚技术有限公司 Device and method for voice playing
CN106878910A (en) * 2017-03-03 2017-06-20 广东欧珀移动通信有限公司 Control method of speaking and electronic installation

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203761563U (en) * 2014-03-17 2014-08-06 富祐鸿科技股份有限公司 Sounding device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2429155A1 (en) * 2010-09-13 2012-03-14 HTC Corporation Mobile electronic device and sound playback method thereof
US20150312691A1 (en) * 2012-09-10 2015-10-29 Jussi Virolainen Automatic microphone switching
CN103501375A (en) * 2013-09-16 2014-01-08 华为终端有限公司 Method and device for controlling sound effect
CN103929707A (en) * 2014-04-08 2014-07-16 深圳市中兴移动通信有限公司 Method for detecting conditions of microphone voice-grade channels and terminal
CN105915718A (en) * 2016-05-30 2016-08-31 努比亚技术有限公司 Device and method for voice playing
CN106878910A (en) * 2017-03-03 2017-06-20 广东欧珀移动通信有限公司 Control method of speaking and electronic installation

Also Published As

Publication number Publication date
CN106878910A (en) 2017-06-20

Similar Documents

Publication Publication Date Title
WO2018157679A1 (en) Sounding control method and electronic device
WO2018157688A1 (en) Electronic device and loudness-based detection method
TWI680678B (en) Method and device of cleaning speaker hole of a speaker and related terminal
JP5290949B2 (en) Sound processing apparatus and method
WO2018157708A1 (en) Method and apparatus for dealing with blockage of ventilation holes of loudspeaker, and terminal device
US10820096B2 (en) Audio circuitry
US20190208311A1 (en) Earphone, earphone control method and device
CN106878885B (en) Electronic device and air pressure-based detection method
JP2006258442A (en) Position detection system, speaker system, and user terminal device
KR100532452B1 (en) System and method for reproducing audio signals
CN106878865B (en) Control method and control device for electroacoustic element
TWI773382B (en) Headphone and headphone status detection method
JP2009151705A (en) Information processor and control method therefor
WO2024037183A1 (en) Audio output method, electronic device and computer-readable storage medium
KR100999647B1 (en) System and method for automatically controlling volume
CN106961652A (en) Electronic installation and the detection method based on distance
CN115412817A (en) Electronic device, control method, and computer-readable storage medium
KR100678020B1 (en) Apparatus and method for improved playing sound source
CN107046669B (en) Electronic device and temperature-based detection method
JP5199915B2 (en) Sound field correction method and sound field correction apparatus
JP6360195B2 (en) Selective acoustic storage
JP2012217083A (en) Volume control apparatus and volume control method
US20230379625A1 (en) Adaptive resonance-controlled audio systems and methods
CN112514415B (en) Audio distortion compensation
US20230379626A1 (en) Adaptive resonance-controlled audio systems and methods

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: 18760997

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: 18760997

Country of ref document: EP

Kind code of ref document: A1