CN111488132A - Method and device for controlling receiver, storage medium and electronic equipment - Google Patents

Method and device for controlling receiver, storage medium and electronic equipment Download PDF

Info

Publication number
CN111488132A
CN111488132A CN201910087971.7A CN201910087971A CN111488132A CN 111488132 A CN111488132 A CN 111488132A CN 201910087971 A CN201910087971 A CN 201910087971A CN 111488132 A CN111488132 A CN 111488132A
Authority
CN
China
Prior art keywords
sound outlet
receiver
judgment result
blocked
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910087971.7A
Other languages
Chinese (zh)
Inventor
孙禄
李应伟
严笔祥
欧阳灵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910087971.7A priority Critical patent/CN111488132A/en
Publication of CN111488132A publication Critical patent/CN111488132A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Set Structure (AREA)

Abstract

The embodiment of the application provides a method and a device for controlling a telephone receiver, a storage medium and an electronic device, wherein the method for controlling the telephone receiver comprises the following steps: judging whether the first sound outlet is shielded or not to obtain a first judgment result; judging whether the second sound outlet is shielded or not to obtain a second judgment result; and controlling the working states of the first telephone receiver and the second telephone receiver according to the first judgment result and the second judgment result. In the method for controlling the telephone receiver provided by the embodiment of the application, the electronic device can control the working states of the first telephone receiver and the second telephone receiver according to whether the first sound outlet is blocked and whether the second sound outlet is blocked, so that the sound signal emitted by the electronic device can be transmitted to the ear of a user, and the stability of the sound signal output by the electronic device can be improved.

Description

Method and device for controlling receiver, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a method and an apparatus for controlling a receiver, a storage medium, and an electronic device.
Background
Generally, electronic devices such as smart phones are provided with a receiver. The electronic device outputs a sound signal to the outside through the receiver, so that the user can listen to the voice or audio output by the electronic device.
When a user listens to voice or audio output by the electronic device, the user needs to put his ear close to the receiver of the electronic device, so that the sound outlet of the receiver is easily blocked, which results in the stability of the output sound signal of the electronic device being reduced.
Disclosure of Invention
The embodiment of the application provides a method and a device for controlling a receiver, a storage medium and an electronic device, which can improve the stability of the electronic device for outputting a sound signal.
The embodiment of the application provides a control method of a telephone receiver, is applied to electronic equipment, electronic equipment includes first telephone receiver, second telephone receiver and retractable camera subassembly, the interval is provided with first sound outlet and second sound outlet on the electronic equipment, first telephone receiver with first sound outlet intercommunication, the second telephone receiver with second sound outlet intercommunication, retractable camera subassembly at least part is located first sound outlet with between the second sound outlet, retractable camera subassembly can stretch out to the electronic equipment is outside or shrink to inside the electronic equipment, the control method of telephone receiver includes:
judging whether the first sound outlet is shielded or not to obtain a first judgment result;
judging whether the second sound outlet is shielded or not to obtain a second judgment result;
and controlling the working states of the first telephone receiver and the second telephone receiver according to the first judgment result and the second judgment result.
The embodiment of the present application still provides a controlling means of receiver, is applied to electronic equipment, electronic equipment includes first receiver, second receiver and retractable camera subassembly, the interval is provided with first sound outlet and second sound outlet on the electronic equipment, first receiver with first sound outlet intercommunication, the second receiver with second sound outlet intercommunication, retractable camera subassembly at least part is located first sound outlet with between the second sound outlet, retractable camera subassembly can stretch out extremely electronic equipment is outside or shrink extremely inside the electronic equipment, the controlling means of receiver includes:
the first judgment module is used for judging whether the first sound outlet is blocked or not to obtain a first judgment result;
the second judgment module is used for judging whether the second sound outlet is blocked or not to obtain a second judgment result;
and the control module is used for controlling the working states of the first telephone receiver and the second telephone receiver according to the first judgment result and the second judgment result.
The embodiment of the application also provides a storage medium, wherein a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer is enabled to execute the control method of the telephone receiver.
The embodiment of the application further provides electronic equipment, which comprises a first telephone receiver, a second telephone receiver and a retractable camera component, wherein a first sound outlet and a second sound outlet are arranged on the electronic equipment at intervals, the first telephone receiver is communicated with the first sound outlet, the second telephone receiver is communicated with the second sound outlet, at least part of the retractable camera component is positioned between the first sound outlet and the second sound outlet, and the retractable camera component can extend out of the electronic equipment or retract into the electronic equipment;
the electronic device further comprises a processor configured to:
judging whether the first sound outlet is shielded or not to obtain a first judgment result;
judging whether the second sound outlet is shielded or not to obtain a second judgment result;
and controlling the working states of the first telephone receiver and the second telephone receiver according to the first judgment result and the second judgment result.
The method for controlling the telephone receiver provided by the embodiment of the application comprises the following steps: judging whether the first sound outlet is shielded or not to obtain a first judgment result; judging whether the second sound outlet is shielded or not to obtain a second judgment result; and controlling the working states of the first telephone receiver and the second telephone receiver according to the first judgment result and the second judgment result. In the method for controlling the telephone receiver, the electronic device can control the working states of the first telephone receiver and the second telephone receiver according to whether the first sound outlet is blocked and whether the second sound outlet is blocked, so that the sound signal emitted by the electronic device can be transmitted to the ear of a user, and the stability of the sound signal output by the electronic device can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a first structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is a cross-sectional view of the electronic device shown in fig. 1 taken along the direction P-P.
Fig. 3 is a second structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a middle frame of the electronic device shown in fig. 3.
Fig. 5 is a partially enlarged schematic view of the area of the middle frame a shown in fig. 4.
Fig. 6 is another schematic structural diagram of a middle frame of the electronic device shown in fig. 3.
Fig. 7 is a third schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 8 is a top view of the electronic device shown in fig. 7.
Fig. 9 is a schematic view of the electronic device shown in fig. 7 in a state where the camera head assembly is extended.
Fig. 10 is a fourth structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 11 is a schematic structural diagram of a cover plate of the electronic device shown in fig. 10.
Fig. 12 is an enlarged partial view of the area B of the cover shown in fig. 11.
Fig. 13 is a schematic structural diagram of a middle frame of the electronic device shown in fig. 10.
Fig. 14 is a partially enlarged view of the area of the middle frame C shown in fig. 13.
Fig. 15 is a fifth structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 16 is a first flowchart of a method for controlling a receiver according to an embodiment of the present application.
Fig. 17 is a second flowchart of a method for controlling a receiver according to an embodiment of the present application.
Fig. 18 is a third flowchart illustrating a method for controlling a receiver according to an embodiment of the present application.
Fig. 19 is a fourth flowchart illustrating a method for controlling a receiver according to an embodiment of the present application.
Fig. 20 is a schematic structural diagram of a control device of a receiver according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides electronic equipment. The electronic device may be a smart phone, a tablet computer, or other devices, and may also be a game device, an AR (Augmented Reality) device, an automobile device, a data storage device, an audio playing device, a video playing device, a notebook computer, a desktop computing device, or other devices.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic diagram of a first structure of an electronic device 100 according to an embodiment of the present disclosure, and fig. 2 is a cross-sectional view of the electronic device 100 shown in fig. 1 along a P-P direction. The electronic device 100 includes a display 11, a cover plate 12, a center frame 13, a circuit board 14, a battery 15, and a rear cover 16.
The display screen 11 serves as a front case of the electronic device 100 and forms a housing of the electronic device 100 together with the rear cover 16 to accommodate other electronic elements or functional components of the electronic device 100. meanwhile, the display screen 11 forms a display surface of the electronic device 100 to display information such as images and texts.the display screen 11 may be a liquid crystal display screen (L acquired CrystalDisplay, &lttttranslation = L &"-gtl &/t &gttcd) or an Organic light Emitting Diode display screen (Organic L light-Emitting Diode, O L ED).
In some embodiments, the display screen 11 may include a display area as well as a non-display area. Wherein the display area performs the display function of the display screen 11 for displaying information such as images, text, etc. The non-display area does not display information. The non-display area can be used for arranging functional components such as a camera and a display screen touch electrode.
In some embodiments, the display screen 11 may be a full-face screen. At this time, the display screen 11 may display information in a full screen, so that the electronic apparatus 100 has a large screen occupation ratio. The display screen 11 includes only a display region and does not include a non-display region, or the non-display region has a small area for the user. At this time, functional components such as a camera and a proximity sensor in the electronic device 100 may be hidden under the display screen 11, and the fingerprint recognition module of the electronic device 100 may be disposed on the back of the electronic device 100.
A cover plate 12 may be mounted on the middle frame 13, and the cover plate 12 covers the display screen 11 to protect the display screen 11 from being scratched or damaged by water. The cover 12 may be a transparent glass cover, so that a user can see the contents displayed on the display screen 11 through the cover 12. In some embodiments, the cover plate 12 may be a glass cover plate of sapphire material.
The middle frame 13 may have a thin plate-like or sheet-like structure, or may have a hollow frame structure. The middle frame 13 is used for providing a supporting function for the electronic elements or functional components in the electronic device 100, so as to mount the electronic elements or functional components in the electronic device together. For example, functional components such as a camera, a receiver, a circuit board, and a battery in the electronic apparatus may be mounted on the center frame 13 to be fixed. In some embodiments, the material of the middle frame 13 may include metal or plastic.
The circuit board 14 may be mounted on the middle frame 13. The circuit board 14 may be a motherboard of the electronic device 100. A ground point is provided on the circuit board 14 to ground the circuit board 14. One, two or more functional components such as a microphone, a speaker, a receiver, an earphone interface, a universal serial bus interface (USB interface), a camera, a distance sensor, an ambient light sensor, a gyroscope, and a processor may be integrated on the circuit board 14. Meanwhile, the display screen 11 may be electrically connected to the circuit board 14.
In some embodiments, display control circuitry is provided on the circuit board 14. The display control circuit outputs an electric signal to the display screen 11 to control the display screen 11 to display information.
The battery 15 may be mounted on the middle frame 13. Meanwhile, the battery 15 is electrically connected to the circuit board 14 to enable the battery 15 to power the electronic device 100. The circuit board 14 may be provided thereon with a power management circuit. The power management circuit is used to distribute the voltage provided by the battery 15 to the various electronic components in the electronic device 100.
The rear cover 16 is used to form the outer contour of the electronic device 100. The rear cover 16 may be integrally formed. In the forming process of the rear cover 16, structures such as a rear camera hole and a fingerprint identification module mounting hole can be formed on the rear cover 16.
In some embodiments, the rear cover 16 may be a metal housing, such as a metal such as magnesium alloy, stainless steel, or the like. Note that the material of the rear cover 16 according to the embodiment of the present application is not limited to this, and other methods may be employed. For example, the rear cover 16 may be a plastic housing. As another example, the rear cover 16 may be a ceramic housing. For another example, the rear cover 16 may include a plastic portion and a metal portion, and the rear cover 16 may be a housing structure with the metal and the plastic cooperating with each other. Specifically, the metal part may be formed first, for example, a magnesium alloy substrate is formed by injection molding, and then plastic is injected on the magnesium alloy substrate to form a plastic substrate, so as to form a complete housing structure.
In some embodiments, referring to fig. 3, fig. 3 is a schematic diagram of a second structure of the electronic device 100 according to an embodiment of the present disclosure. The electronic device 100 further includes a first receiver 21 and a second receiver 22. The first receiver 21 and the second receiver 22 are disposed at one end of the electronic device 100 at intervals, for example, at the top end of the electronic device 100 at intervals. Wherein, the top end is the end where the top of the electronic device 100 is located when displaying information. The first receiver 21 is installed inside the electronic device 100, and the second receiver 22 is also installed inside the electronic device 100.
For example, in some embodiments, the first receiver 21 may be mounted on the middle frame 13, so that the first receiver 21 is fixed by the middle frame 13. The second receiver 22 can also be mounted on the middle frame 13, so that the second receiver 22 can be fixed by the middle frame 13.
For another example, in some embodiments, the first receiver 21 can also be mounted on the circuit board 14 and fixed to the middle frame 13 through the circuit board 14. The second receiver 22 can also be mounted on the circuit board 14 and fixed to the middle frame 13 through the circuit board 14.
The first receiver 21 and the second receiver 22 can generate sound signals through vibration, so that the electronic device 100 can transmit the sound signals to the outside. For example, the electronic device 100 can play the received voice information or play an audio file through the first receiver 21 and the second receiver 22.
The first receiver 21 and the second receiver 22 may cooperate with each other at the same time, or may operate independently of each other. For example, when the first receiver 21 is jammed or malfunctions, the electronic apparatus 100 may generate a sound signal through the second receiver 22.
It is to be understood that in the description of the present application, the terms "first", "second", etc. are used merely for distinguishing between similar elements and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated.
Referring to fig. 4 and fig. 5 together, wherein fig. 4 is a schematic structural diagram of the middle frame 13 of the electronic device 100 shown in fig. 3, and fig. 5 is a schematic partial enlarged view of a region a in fig. 4.
Wherein the middle frame 13 includes an end portion 130. In some embodiments, the middle frame 13 may have a rectangular shape or a rounded rectangular shape, in which case the middle frame 13 includes long sides and short sides, and the end 130 is the end where the short sides of the middle frame 13 are located. For example, the end 130 may be the top end of the middle frame 13 when the middle frame 13 is vertically placed.
The end portion 130 is provided with a first sound outlet 132 and a second sound outlet 133 at an interval. The first sound outlet 132 and the second sound outlet 133 may be through holes disposed at the end 130 of the middle frame 13. The first sound outlet 132 and the second sound outlet 133 are used for transmitting sound signals generated in the electronic device 100 to the outside.
The first sound outlet 132 and the second sound outlet 133 may be through holes with shapes of round holes or square holes. In some embodiments, the first sound outlet 132 and the second sound outlet 133 are both circular holes, so that the sound signals transmitted to the outside by the electronic device 100 are more balanced.
The first receiver 21 is communicated with the first sound outlet 132, so that the first sound outlet 132 can transmit the sound signal generated by the first receiver 21 to the outside. The second receiver 22 is communicated with the second sound outlet 133, so that the second sound outlet 133 can transmit the sound signal generated by the second receiver 22 to the outside.
In the embodiment of the present application, since two receivers are disposed in the electronic device 100, each receiver is respectively communicated with one sound outlet, and each sound outlet can transmit a sound signal generated by one receiver to the outside. When one sound outlet is blocked, the electronic device 100 can also transmit a sound signal to the outside through the other sound outlet, so as to prevent the electronic device 100 from being unable to output sound to the outside. Furthermore, the two sound outlets are spaced from each other, so that the probability of both sound outlets being blocked simultaneously is small. Therefore, the situation that the electronic device 100 cannot output sound to the outside due to the blockage of the receiver can be reduced, and the stability of the sound signal output by the electronic device 100 can be improved.
In some embodiments, with continued reference to fig. 4 and 5, the end 130 of the middle frame 13 includes a first sidewall 131. Wherein the first sidewall 131 may be an outer sidewall of the end portion 130. The first sound outlet 132 may be formed on the first sidewall 131, and the second sound outlet 133 may also be formed on the first sidewall 131. For example, the first sound outlet 132 and the second sound outlet 133 may be formed on the first sidewall 131 by drilling.
In some embodiments, refer to fig. 6, where fig. 6 is another structural schematic diagram of the middle frame 13 of the electronic device 100 shown in fig. 3.
Wherein the end 130 of the middle frame 13 comprises a second side wall 134 and a third side wall 135 arranged opposite to the second side wall 134.
For example, the second sidewall 134 may be a front surface of the middle frame 13, and the third sidewall 135 may be a rear surface of the middle frame 13, as shown in fig. 6. The front side is a side where a display screen of the electronic device 100 is located, and the back side is a side where a back cover of the electronic device 100 is located.
For another example, the second sidewall 134 can be a left side of the middle frame 13, and the third sidewall 135 can be a right side of the middle frame 13. The left side surface and the right side surface are planes where the left side surface and the right side surface of the display screen of the electronic device 100 are located.
Wherein the first sound outlet 132 is formed on the second sidewall 134, and the second sound outlet 133 is formed on the third sidewall 135.
Thus, the electronic apparatus 100 can simultaneously produce sound through the receivers located on both sides. For example, the electronic device 100 may sound through both the front and back sides simultaneously. Therefore, when a user answers a call, even if the electronic equipment is held reversely, namely, the surface where the rear cover is located is close to the ear, the user can also hear the sound.
In some embodiments, referring to fig. 7, fig. 7 is a schematic structural diagram of a third electronic device 100 provided in the embodiments of the present application.
The electronic device 100 is further provided with a first sound guiding element 23 and a second sound guiding element 24. The first sound guiding element 23 and the second sound guiding element 24 may be disposed on the middle frame 13, so that the first sound guiding element 23 and the second sound guiding element 24 are fixed by the middle frame 13.
The first receiver 21 is communicated with the first sound outlet 132 through the first sound guiding element 23, so that the sound signal generated by the first receiver 21 is guided out to the first sound outlet 132 through the first sound guiding element 23, and is transmitted to the outside through the first sound outlet 132.
The second receiver 22 is communicated with the second sound outlet 133 through the second sound guiding element 24, so that the sound signal generated by the second receiver 22 is guided out to the second sound outlet 133 through the second sound guiding element 24, and is transmitted to the outside through the second sound outlet 133.
In some embodiments, the first sound guiding element 23 and the second sound guiding element 24 may be a sound guiding tube, a sound guiding cavity, or the like. For example, the first sound guiding element 23 and the second sound guiding element 24 may be sound guiding tubes made of metal or plastic.
In some embodiments, fig. 7, fig. 8 and fig. 9 are simultaneously referred to, where fig. 8 is a top view of the electronic device 100 shown in fig. 7, and fig. 9 is a schematic diagram of a state when the camera assembly is extended in the electronic device 100 shown in fig. 7.
The electronic device 100 further includes a camera assembly 31. The camera head assembly 31 may be mounted on the middle frame 13, and the camera head assembly 31 is at least partially located between the first sound outlet 132 and the second sound outlet 133. For example, in some embodiments, the camera head assembly 31 is disposed on the first sidewall 131 of the middle frame 13, and the camera head assembly 31 is located between the first sound outlet 132 and the second sound outlet 133. For example, the camera assembly 31 may be disposed at a middle portion of the first sidewall 131 of the middle frame 13.
In some embodiments, the camera assembly 31 is a retractable camera assembly. The camera assembly 31 can extend out of the first sidewall 131 or retract into the first sidewall 131. That is, the camera assembly 31 may be extended to the outside of the electronic apparatus 100 or retracted to the inside of the electronic apparatus 100. Fig. 7 shows a state diagram when the camera head assembly 31 is retracted into the first sidewall 131, and fig. 9 shows a state diagram when the camera head assembly 31 is extended out of the first sidewall 131.
In some embodiments, the camera assembly 31 may include one or more cameras and may further include a flash or other functional element. For example, camera assembly 31 may include a camera and a flash disposed adjacent to the camera.
In some embodiments, with continued reference to fig. 7, 8, and 9, the electronic device 100 further includes a motor 32. The motor 32 may be mounted on the middle frame 13. The motor 32 is connected to the camera head assembly 31. The motor 32 is used for driving the camera head assembly 31 to extend out of the first side wall 131 or retract into the first side wall 131. In some embodiments, the motor 32 may also be mounted to the circuit board 14 and to the center frame 13 via the circuit board 14.
In some embodiments, the motor 32 may be a dc motor.
In some embodiments, referring to fig. 10, fig. 10 is a fourth structural diagram of an electronic device 100 provided in the embodiments of the present application. The differences between the electronic device 100 shown in fig. 10 and the electronic device 100 shown in fig. 7 are described below, and the parts of the electronic device 100 shown in fig. 10 that are the same as those of the electronic device 100 shown in fig. 7 are not repeated herein.
Wherein, the first sound outlet 132 and the second sound outlet 133 provided on the middle frame 13 are formed on the front surface of the middle frame 13. The front surface is the surface of the middle frame 13 on which the display surface of the display screen 11 is located. Therefore, the sound signals generated by the first receiver 21 and the second receiver 22 in the electronic device 100 can be transmitted to the outside through the sound outlet on the front surface of the middle frame 13.
Referring to fig. 11 to 14, fig. 11 is a schematic structural diagram of the cover 12 of the electronic device 100 shown in fig. 10, fig. 12 is a schematic partial enlarged view of a B region of the cover 12 shown in fig. 11, fig. 13 is a schematic structural diagram of the middle frame 13 of the electronic device 100 shown in fig. 10, and fig. 14 is a schematic partial enlarged view of a C region of the middle frame 13 shown in fig. 13.
Wherein the cover plate 12 includes a fourth sidewall 121. The fourth side wall 121 is located at one end of the cap plate 12. The middle frame 13 includes a fifth sidewall 136. The fifth side wall 136 is an inner side wall of the middle frame 13. When the cover plate 12 is mounted to the middle frame 13, the fourth sidewall 121 of the cover plate 12 is connected to the fifth sidewall 136 of the middle frame 13. That is, when the cover plate 12 is mounted to the middle frame 13, the fourth sidewall 121 of the cover plate 12 contacts the fifth sidewall 136 of the middle frame 13 or has a small gap therebetween.
Wherein the first sound outlet 132 is formed between the fourth sidewall 121 of the cover plate 12 and the fifth sidewall 136 of the middle frame 13. The second sound outlet 133 is also formed between the fourth sidewall 121 of the cover plate 12 and the fifth sidewall 136 of the middle frame 13.
In some embodiments, as shown in fig. 13 and 14, the fifth sidewall 136 of the middle frame 13 is formed with a first notch 137 and a second notch 138 at intervals. The first and second notches 137 and 138 may be semi-circular, rectangular, etc. The first notch 137 may penetrate the middle frame 13 in the thickness direction of the middle frame 13. The second notch 138 may also penetrate the middle frame 13 in the thickness direction of the middle frame 13. The extending directions of the first notch 137 and the second notch 138 are both parallel to the side edge of the cover plate in the electronic device 100, so that the first notch 137 and the second notch 138 can form a gap on the electronic device 100.
Wherein the first sound outlet 132 includes the first notch 137. The second sound outlet 133 includes the second notch 138. That is, the first sound outlet 132 may be formed by the first notch 137 of the middle frame 13, and the second sound outlet 133 may be formed by the second notch 138 of the middle frame 13.
In some embodiments, as shown in fig. 11 and 12, a third notch 122 and a fourth notch 123 are formed on the fourth sidewall 121 of the cover plate 12 at intervals. The third and fourth notches 122 and 123 may also be semicircular, rectangular, etc. The third notch 122 may penetrate the cover plate 12 in the thickness direction of the cover plate 12. The fourth notch 123 may penetrate the cover plate 12 in the thickness direction of the cover plate 12. The extending directions of the third notch 122 and the fourth notch 123 are both parallel to the side of the cover plate in the electronic device 100, so that the third notch 122 and the fourth notch 123 may form a gap on the electronic device 100.
Wherein the first sound outlet 132 includes the third gap 122. The second sound outlet 133 includes the fourth notch 123. That is, the first sound outlet 132 may be formed by the third notch 122 of the cover plate 12, and the second sound outlet 133 may be formed by the fourth notch 123 of the cover plate 12.
In some embodiments, two notches, namely a fifth notch and a sixth notch, can be formed at intervals on the fifth side wall 136 of the middle frame 13. Meanwhile, two notches, i.e., a seventh notch and an eighth notch, may be formed at an interval on the fourth sidewall 121 of the cover plate 12. The seventh notch on the cover plate 12 is opposite to the fifth notch on the middle frame 13. The eighth notch on the cover plate 12 is opposite to the sixth notch on the middle frame 13. The extending directions of the fifth notch, the sixth notch, the seventh notch and the eighth notch are all parallel to the side edge of the cover plate in the electronic device 100, so that a gap can be formed on the electronic device 100.
Wherein the first sound outlet 132 includes the fifth notch and the seventh notch. That is, the first sound outlet 132 may be formed by the fifth notch of the middle frame 13 and the seventh notch of the cover plate 12. The second sound outlet 133 includes the sixth notch and the eighth notch. That is, the second sound outlet 133 may be formed by the sixth notch of the middle frame 13 and the eighth notch of the cover plate 12.
In some embodiments, referring to fig. 15, fig. 15 is a schematic diagram of a fifth structure of an electronic device 100 according to an embodiment of the present disclosure.
Wherein, the display screen 11 is provided with a function hole 110. The functional hole 110 is disposed on a side of the display screen 11 where information is displayed. The functional holes 110 may penetrate through the display screen 11 along the thickness direction of the display screen 11, that is, they are through holes. The functional hole 110 may be a circular hole, a rectangular hole, or the like.
The electronic apparatus 100 includes a camera assembly 31. Wherein the contour shape of the camera assembly 31 is adapted to the shape of the functional hole 110 on the display screen 11. The camera assembly 31 is mounted on the middle frame 13 through the functional hole 110 on the display screen 11, so that the camera assembly is fixed through the middle frame 13. Wherein the camera head assembly 31 is located between the first sound outlet 132 and the second sound outlet 133.
The embodiment of the application also provides a control method of the telephone receiver. The method for controlling the receiver can be applied to the electronic device 100 described in any of the above embodiments. The electronic equipment is provided with a processor, and the processor is used for executing each step in the control method of the telephone receiver.
Referring to fig. 16, fig. 16 is a first flowchart illustrating a method for controlling a receiver according to an embodiment of the present application. The control method of the telephone receiver comprises the following steps:
210, judging whether the first sound outlet is blocked or not to obtain a first judgment result;
220, judging whether the second sound outlet is blocked or not to obtain a second judgment result;
and 230, controlling the working states of the first telephone receiver and the second telephone receiver according to the first judgment result and the second judgment result.
The electronic equipment comprises a first telephone receiver and a second telephone receiver. The electronic equipment is provided with a first sound outlet and a second sound outlet at intervals. The first telephone receiver is communicated with the first sound outlet, and the second telephone receiver is communicated with the second sound outlet.
The electronic device can judge whether the first sound outlet is blocked or not to obtain a first judgment result. Wherein the first judgment result comprises that the first sound outlet is shielded and the first sound outlet is not shielded. When the first sound outlet is blocked, for example, the first sound outlet may be blocked by the face or ear of the user, or blocked by another object.
When the first sound outlet is blocked, the sound signal generated by the first receiver and emitted through the first sound outlet cannot be transmitted to the ear of the user, or only a small part of the sound signal emitted by the first sound outlet can be transmitted to the ear of the user. When the first sound outlet is not blocked, the sound signal generated by the first receiver and emitted through the first sound outlet can be normally transmitted to the ear of the user.
The electronic device can also judge whether the second sound outlet is blocked or not to obtain a second judgment result. Wherein the second judgment result includes that the second sound outlet is shielded and the second sound outlet is not shielded. When the second sound outlet is blocked, for example, the second sound outlet may be blocked by the face or ear of the user, or blocked by another object.
When the second sound outlet is blocked, the sound signal generated by the second receiver and emitted through the second sound outlet cannot be transmitted to the ear of the user, or only a small part of the sound signal emitted by the second sound outlet can be transmitted to the ear of the user. When the second sound outlet is not blocked, the sound signal generated by the second receiver and emitted through the second sound outlet can be normally transmitted to the ear of the user.
The electronic device can control the working states of the first telephone receiver and the second telephone receiver according to the first judgment result and the second judgment result, so that the electronic device transmits a sound signal to the outside. For example, the electronic device may control the receivers connected to the unobstructed sound outlet to be turned on, or may also increase the power of the receivers connected to the unobstructed sound outlet, so that the sound signals generated by the receivers can be normally transmitted to the ears of the user.
In some embodiments, a first distance sensor is disposed at the first sound outlet. The first distance sensor may be, for example, a distance sensor of the infrared sensor, ultrasonic sensor or the like type. The first distance sensor is used for detecting the distance between the first sound outlet and an external object (such as the face of a user).
The electronic device can obtain a first detection result of the first distance sensor, and judge whether the first sound outlet is blocked according to the first detection result to obtain a first judgment result.
Wherein, a distance threshold value can be preset in the electronic equipment. For example, the distance threshold may be 3mm (millimeters). When the distance detected by the first distance sensor is smaller than the distance threshold, for example, 2mm, the electronic device may determine that the first sound outlet is blocked. When the distance detected by the first distance sensor is not less than the distance threshold, for example, 5mm, the electronic device may determine that the first sound outlet is not blocked.
In some embodiments, a second distance sensor is disposed at the second sound outlet. The second distance sensor may be, for example, a distance sensor of the infrared sensor, ultrasonic sensor or the like type. The second distance sensor is used for detecting the distance between the second sound outlet and an external object (such as the face of a user).
The electronic device may obtain a second detection result of the second distance sensor, and determine whether the second sound outlet is blocked according to the second detection result, so as to obtain a second determination result.
When the distance detected by the second distance sensor is smaller than the distance threshold, for example, 2mm, the electronic device may determine that the second sound outlet is blocked. When the distance detected by the second distance sensor is not less than the distance threshold, for example, 5mm, the electronic device may determine that the second sound outlet is not blocked.
In some embodiments, referring to fig. 17, fig. 17 is a second flowchart illustrating a method for controlling a receiver according to an embodiment of the present application.
Step 230, controlling the working states of the first telephone receiver and the second telephone receiver according to the first judgment result and the second judgment result, including the following steps:
231, when the first judgment result indicates that the first sound outlet is blocked and the second judgment result indicates that the second sound outlet is not blocked, controlling the first telephone receiver to be closed and controlling the second telephone receiver to be opened;
232, when the first determination result indicates that the first sound outlet is not blocked and the second determination result indicates that the second sound outlet is blocked, controlling the first receiver to be opened and controlling the second receiver to be closed.
When the first judgment result shows that the first sound outlet is blocked and the second judgment result shows that the second sound outlet is not blocked, it indicates that the sound signal emitted by the first sound outlet cannot be normally transmitted to the ear of the user at the moment, and the sound signal emitted by the second sound outlet can be normally transmitted to the ear of the user. At this time, the electronic device controls the first telephone receiver to be closed and controls the second telephone receiver to be opened, so that the sound signal generated by the second telephone receiver can be transmitted to the ear of the user through the second sound outlet, and the electronic device can normally transmit the sound signal to the outside.
When the first judgment result indicates that the first sound outlet is not blocked and the second judgment result indicates that the second sound outlet is blocked, it indicates that the sound signal emitted by the first sound outlet can be normally transmitted to the ear of the user at the moment, and the sound signal emitted by the second sound outlet cannot be normally transmitted to the ear of the user. At this time, the electronic device controls the first telephone receiver to be opened and controls the second telephone receiver to be closed, so that the sound signal generated by the first telephone receiver can be transmitted to the ear of the user through the first sound outlet, and the electronic device can normally transmit the sound signal to the outside.
In some embodiments, referring to fig. 18, fig. 18 is a third flowchart illustrating a method for controlling a receiver according to an embodiment of the present application.
In step 231, after controlling the first receiver to be turned off and the second receiver to be turned on, the method further includes the following steps:
233, increasing the power of the second receiver;
step 232, after controlling the first telephone receiver to be turned on and controlling the second telephone receiver to be turned off, further comprising the following steps:
and 234, increasing the power of the first receiver.
The electronic device controls the first receiver to be closed and controls the second receiver to be opened, and then the power of the second receiver can be further increased to increase the volume of the sound signal generated by the second receiver, so that the sound signal generated by the second receiver can be transmitted to the ear of a user more clearly.
Similarly, after the electronic device controls the first receiver to be turned on and controls the second receiver to be turned off, the power of the first receiver can be further increased to increase the volume of the sound signal generated by the first receiver, so that the sound signal generated by the first receiver can be transmitted to the ear of the user more clearly.
In some embodiments, referring to fig. 19, fig. 19 is a fourth flowchart illustrating a method for controlling a receiver according to an embodiment of the present application.
Step 230, controlling the working states of the first telephone receiver and the second telephone receiver according to the first judgment result and the second judgment result, including the following steps:
235, when the first determination result indicates that the first sound outlet is blocked and the second determination result indicates that the second sound outlet is blocked, simultaneously turning on the first receiver and the second receiver, and increasing the power of the first receiver and the power of the second receiver.
When the first sound outlet is blocked, only a small part of the sound signal generated by the first receiver and emitted through the first sound outlet can be transmitted to the ear of the user. The user cannot clearly hear the sound emitted by the electronic equipment according to the small part of the sound signal.
Likewise, when the second sound outlet is blocked, only a small portion of the sound signal generated by the second receiver and emitted through the second sound outlet may be transmitted to the user's ear. The user cannot clearly hear the sound emitted by the electronic device according to the small part of the sound signal.
At this time, the electronic device may simultaneously turn on the first receiver and the second receiver, and increase the power of the first receiver and the power of the second receiver. Therefore, the volume of the sound signal generated by the first receiver and the volume of the sound signal generated by the second receiver can be increased, so that more sound signals can be transmitted to the ears of the user, and the user can clearly hear the sound emitted by the electronic equipment.
As can be seen from the above, the method for controlling a receiver provided in the embodiment of the present application includes: judging whether the first sound outlet is shielded or not to obtain a first judgment result; judging whether the second sound outlet is shielded or not to obtain a second judgment result; and controlling the working states of the first telephone receiver and the second telephone receiver according to the first judgment result and the second judgment result. In the method for controlling the telephone receiver, the electronic device can control the working states of the first telephone receiver and the second telephone receiver according to whether the first sound outlet is blocked and whether the second sound outlet is blocked, so that the sound signal emitted by the electronic device can be transmitted to the ear of a user, and the stability of the sound signal output by the electronic device can be improved.
The embodiment of the present application further provides a control device of a receiver, where the control device of the receiver can be applied to the electronic device 100 in any of the above embodiments.
Referring to fig. 20, fig. 20 is a schematic structural diagram of a control device 300 of a receiver according to an embodiment of the present application. Wherein, receiver 300 includes: a first judging module 301, a second judging module 302 and a control module 303.
The first judging module 301 is configured to judge whether the first sound outlet is blocked, so as to obtain a first judgment result;
the second judging module 302 is configured to judge whether the second sound outlet is blocked, so as to obtain a second judgment result;
and the control module 303 is configured to control working states of the first telephone receiver and the second telephone receiver according to the first determination result and the second determination result.
In some embodiments, a first distance sensor is disposed at the first sound outlet. The first distance sensor is used for detecting the distance between the first sound outlet and an external object (such as the face of a user).
The first determining module 301 may obtain a first detection result of the first distance sensor, and determine whether the first sound outlet is blocked according to the first detection result, so as to obtain a first determination result.
In some embodiments, a second distance sensor is disposed at the second sound outlet. The second distance sensor is used for detecting the distance between the second sound outlet and an external object (such as the face of a user).
The second determining module 302 may obtain a second detection result of the second distance sensor, and determine whether the second sound outlet is blocked according to the second detection result, so as to obtain a second determination result.
In some embodiments, the control module 303 is configured to perform the following steps:
when the first judgment result shows that the first sound outlet is blocked and the second judgment result shows that the second sound outlet is not blocked, controlling the first telephone receiver to be closed and controlling the second telephone receiver to be opened;
and when the first judgment result shows that the first sound outlet is not blocked and the second judgment result shows that the second sound outlet is blocked, controlling the first telephone receiver to be opened and controlling the second telephone receiver to be closed.
In some embodiments, after controlling the first receiver to be turned off and controlling the second receiver to be turned on, the control module 303 is further configured to perform the following steps:
increasing the power of the second receiver;
after controlling the first receiver to be turned on and controlling the second receiver to be turned off, the control module 303 is further configured to execute the following steps:
increasing the power of the first receiver.
In some embodiments, the control module 303 is configured to perform the following steps:
and when the first judgment result shows that the first sound outlet is blocked and the second judgment result shows that the second sound outlet is blocked, simultaneously starting the first receiver and the second receiver and increasing the power of the first receiver and the power of the second receiver.
In the control apparatus for a receiver provided in the embodiment of the present application, the electronic device can control the operating states of the first receiver and the second receiver according to whether the first sound outlet is blocked and whether the second sound outlet is blocked, so as to ensure that a sound signal emitted by the electronic device can be transmitted to an ear of a user, and thus, the stability of the sound signal output by the electronic device can be improved.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the method for controlling a receiver according to any of the above embodiments.
It should be noted that, all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, which may include, but is not limited to: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The method, the apparatus, the storage medium, and the electronic device for controlling a receiver according to the embodiments of the present application are described in detail above. The principles and implementations of the present application are described herein using specific examples, which are presented only to aid in understanding the present application. Meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. A control method of a telephone receiver is applied to electronic equipment and is characterized in that the electronic equipment comprises a first telephone receiver, a second telephone receiver and a telescopic camera component, a first sound outlet and a second sound outlet are arranged on the electronic equipment at intervals, the first telephone receiver is communicated with the first sound outlet, the second telephone receiver is communicated with the second sound outlet, the telescopic camera component is at least partially positioned between the first sound outlet and the second sound outlet, the telescopic camera component can extend out of the electronic equipment or retract into the electronic equipment, and the control method of the telephone receiver comprises the following steps:
judging whether the first sound outlet is shielded or not to obtain a first judgment result;
judging whether the second sound outlet is shielded or not to obtain a second judgment result;
and controlling the working states of the first telephone receiver and the second telephone receiver according to the first judgment result and the second judgment result.
2. The method of claim 1, wherein the step of controlling the operating states of the first receiver and the second receiver according to the first determination result and the second determination result comprises:
when the first judgment result shows that the first sound outlet is blocked and the second judgment result shows that the second sound outlet is not blocked, controlling the first telephone receiver to be closed and controlling the second telephone receiver to be opened;
and when the first judgment result shows that the first sound outlet is not blocked and the second judgment result shows that the second sound outlet is blocked, controlling the first telephone receiver to be opened and controlling the second telephone receiver to be closed.
3. The method of claim 2, wherein after controlling the first receiver to be turned off and controlling the second receiver to be turned on, the method further comprises:
increasing the power of the second receiver;
after controlling the first telephone receiver to be opened and controlling the second telephone receiver to be closed, the method further comprises the following steps:
increasing the power of the first receiver.
4. The method of claim 1, wherein the step of controlling the operating states of the first receiver and the second receiver according to the first determination result and the second determination result comprises:
and when the first judgment result shows that the first sound outlet is blocked and the second judgment result shows that the second sound outlet is blocked, simultaneously starting the first receiver and the second receiver and increasing the power of the first receiver and the power of the second receiver.
5. The method of claim 1, wherein a first distance sensor is disposed at the first sound outlet, and determining whether the first sound outlet is blocked to obtain a first determination result includes:
acquiring a first detection result of the first distance sensor;
and judging whether the first sound outlet is blocked according to the first detection result to obtain a first judgment result.
6. The method of claim 1, wherein a second distance sensor is disposed at the second sound outlet, and the determining whether the second sound outlet is blocked obtains a second determination result, including:
acquiring a second detection result of the second distance sensor;
and judging whether the second sound outlet is blocked according to the second detection result to obtain a second judgment result.
7. The utility model provides a controlling means of receiver, is applied to electronic equipment, a serial communication port, electronic equipment includes first receiver, second receiver and retractable camera subassembly, the interval is provided with first sound outlet and second sound outlet on the electronic equipment, first receiver with first sound outlet intercommunication, the second receiver with second sound outlet intercommunication, retractable camera subassembly at least part is located first sound outlet with between the second sound outlet, retractable camera subassembly can stretch out to electronic equipment outside or shrink extremely inside the electronic equipment, the controlling means of receiver includes:
the first judgment module is used for judging whether the first sound outlet is blocked or not to obtain a first judgment result;
the second judgment module is used for judging whether the second sound outlet is blocked or not to obtain a second judgment result;
and the control module is used for controlling the working states of the first telephone receiver and the second telephone receiver according to the first judgment result and the second judgment result.
8. A storage medium, characterized in that a computer program is stored therein, which, when run on a computer, causes the computer to execute the method of controlling a telephone receiver of any one of claims 1 to 6.
9. An electronic device is characterized by comprising a first telephone receiver, a second telephone receiver and a telescopic camera component, wherein a first sound outlet and a second sound outlet are arranged on the electronic device at intervals, the first telephone receiver is communicated with the first sound outlet, the second telephone receiver is communicated with the second sound outlet, at least part of the telescopic camera component is positioned between the first sound outlet and the second sound outlet, and the telescopic camera component can extend out of the electronic device or retract into the electronic device;
the electronic device further comprises a processor configured to:
judging whether the first sound outlet is shielded or not to obtain a first judgment result;
judging whether the second sound outlet is shielded or not to obtain a second judgment result;
and controlling the working states of the first telephone receiver and the second telephone receiver according to the first judgment result and the second judgment result.
10. The electronic device according to claim 9, further comprising a first distance sensor, the first distance sensor being disposed at the first sound outlet, and being configured to determine whether the first sound outlet is blocked, and when a first determination result is obtained, the processor is configured to:
acquiring a first detection result of the first distance sensor;
and judging whether the first sound outlet is blocked according to the first detection result to obtain a first judgment result.
11. The electronic device according to claim 9, further comprising a second distance sensor, the second distance sensor being disposed at the second sound outlet, and being configured to determine whether the second sound outlet is blocked, and when a second determination result is obtained, the processor is configured to:
acquiring a second detection result of the second distance sensor;
and judging whether the second sound outlet is blocked according to the second detection result to obtain a second judgment result.
CN201910087971.7A 2019-01-29 2019-01-29 Method and device for controlling receiver, storage medium and electronic equipment Pending CN111488132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910087971.7A CN111488132A (en) 2019-01-29 2019-01-29 Method and device for controlling receiver, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910087971.7A CN111488132A (en) 2019-01-29 2019-01-29 Method and device for controlling receiver, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN111488132A true CN111488132A (en) 2020-08-04

Family

ID=71811487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910087971.7A Pending CN111488132A (en) 2019-01-29 2019-01-29 Method and device for controlling receiver, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111488132A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013239965A (en) * 2012-05-16 2013-11-28 Nec Casio Mobile Communications Ltd Terminal device, sound output control method, and program
CN105357365A (en) * 2015-09-28 2016-02-24 联想(北京)有限公司 Information processing method and electronic equipment
CN106850966A (en) * 2016-12-28 2017-06-13 努比亚技术有限公司 A kind of method for realizing volume control, device and mobile terminal
CN108924715A (en) * 2018-09-12 2018-11-30 歌尔股份有限公司 Electric terminal
CN208190697U (en) * 2018-02-09 2018-12-04 Oppo广东移动通信有限公司 Mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013239965A (en) * 2012-05-16 2013-11-28 Nec Casio Mobile Communications Ltd Terminal device, sound output control method, and program
CN105357365A (en) * 2015-09-28 2016-02-24 联想(北京)有限公司 Information processing method and electronic equipment
CN106850966A (en) * 2016-12-28 2017-06-13 努比亚技术有限公司 A kind of method for realizing volume control, device and mobile terminal
CN208190697U (en) * 2018-02-09 2018-12-04 Oppo广东移动通信有限公司 Mobile terminal
CN108924715A (en) * 2018-09-12 2018-11-30 歌尔股份有限公司 Electric terminal

Similar Documents

Publication Publication Date Title
US11917347B2 (en) Electronic device including acoustic module
US10764414B2 (en) Display screen component and electronic device
CN110213416B (en) Ultrasonic sensor module, display screen module and electronic equipment
CN109413246B (en) Shell assembly and electronic equipment
CN108881539B (en) Display screen assembly and electronic equipment
CN106878563B (en) Mobile terminal
KR20190066433A (en) Electronic device including light blocking member having micro-hall
CN107977048B (en) Display device and electronic apparatus
CN108600455B (en) Electronic device
CN110297521B (en) Working mode switching method and device, storage medium and electronic equipment
CN109769052B (en) Electronic device
CN111652100B (en) Fingerprint identification module, electronic equipment, control method and control device thereof
WO2020020060A1 (en) Fill-light module, fingerprint identification method, and terminal device
CN108493587B (en) Shell assembly, antenna assembly and electronic equipment
CN107623761B (en) Middle frame, antenna assembly and electronic equipment
CN108682937B (en) Shell assembly, antenna assembly and electronic equipment
CN108540616B (en) Display screen assembly and electronic equipment
CN109144221B (en) Information prompting method, storage medium and electronic equipment
CN110557704A (en) Telephone receiver, telephone receiver assembly and electronic equipment
CN110602902B (en) Electronic device
CN110797811B (en) Coaxial line fixing structure and electronic equipment
CN111541804A (en) Electronic equipment, control method and control device
WO2020156207A1 (en) Electronic apparatus
CN112398985A (en) Electronic device
CN109195206B (en) Control method of display screen state, storage medium and electronic equipment

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