Electronic device and control method and control device thereof
By designing sound guide channels and sealing mechanisms in electronic devices, the state switching of sound output holes is solved, and the user experience and sound effect are improved.
Patent Information
- Application Number
- CN202011589375.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-28
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2040-12-28
AI Technical Summary
The sound output hole in electronic devices is easily blocked by the user's hands, which affects the user experience.
An electronic device is designed to use a sound guide channel to connect two sound outlets, and to switch the use of sound outlets in different states through a sealing mechanism to ensure that the sound can be emitted from the unsealed sound outlet.
It effectively solves the problem that the single sound output hole is easily blocked, and improves the user experience and the sound effect of the sound device.
Smart Images

Figure CN114697436B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication equipment, and in particular to an electronic device and a control method and a control device thereof. Background Art
[0002] With the development of technology, the development of electronic devices is also getting faster and faster. At the same time, users' requirements for electronic devices are getting higher and higher. Sound-generating devices are essential components in electronic devices, which are used to convert electrical signals in electronic devices into sound signals and emit them.
[0003] In current electronic devices, the sound produced by the sound-emitting device is emitted through the sound outlet hole on the housing of the electronic device. The position of the sound-emitting device is fixed. Taking the speaker of a mobile phone as an example, the speaker is generally fixed at the bottom of the mobile phone, and the sound outlet hole is opened at the bottom of the housing of the electronic device. However, when the user plays games on the mobile phone, especially when the user likes to play games in landscape mode, the sound outlet hole of the speaker is more likely to be blocked by the user's hand, which will affect the normal sound, resulting in a poor gaming experience for the user, and then a poor user experience of the entire mobile phone. Summary of the invention
[0004] The present application discloses an electronic device to solve the problem that the sound outlet of current electronic devices is single and easily blocked, thus affecting the user experience.
[0005] In order to solve the above problems, this application adopts the following technical solutions:
[0006] In a first aspect, an embodiment of the present application provides an electronic device, including a device housing, a sound-emitting device, a first blocking mechanism, and a second blocking mechanism, wherein the sound-emitting device is disposed within the device housing, and the device housing is provided with a first sound outlet hole, a second sound outlet hole, and a sound guide channel, wherein the sound guide channel communicates with the first sound outlet hole and the second sound outlet hole, the first sound outlet hole and the second sound outlet hole are arranged at intervals, and the sound-emitting device is connected with at least one of the first sound outlet hole and the second sound outlet hole through the sound guide channel;
[0007] The first blocking mechanism and the second blocking mechanism are both arranged on the device housing, and the first blocking mechanism is distributed corresponding to the first sound outlet hole, and the second blocking mechanism is distributed corresponding to the second sound outlet hole, the first blocking mechanism has a first blocking state for blocking the first sound outlet hole, and a first avoidance state for avoiding the first sound outlet hole, and the second blocking mechanism has a second blocking state for blocking the second sound outlet hole, and a second avoidance state for avoiding the second sound outlet hole;
[0008] When the electronic device is in the first state, the first blocking mechanism is in the first blocking state, the second blocking mechanism is in the second avoiding state, and the sound-generating device is in communication with the second sound outlet hole;
[0009] When the electronic device is in the second state, the first blocking mechanism is in the first avoidance state, the second blocking mechanism is in the second blocking state, and the sound-emitting device is in communication with the first sound outlet.
[0010] Optionally, in the above electronic device, when the electronic device is in the third state, the first blocking mechanism is in the first blocking state, and the second blocking mechanism is in the second blocking state.
[0011] Optionally, in the above electronic device, when the electronic device is in the fourth state, the first blocking mechanism is in the first avoidance state, and the second blocking mechanism is in the second avoidance state.
[0012] Optionally, in the above electronic device, the first blocking mechanism is an electrodeformable structure, and when the electrodeformable structure is powered on, at least part of the electrodeformable structure is deformed to a position for blocking the first sound outlet, and when the electrodeformable structure is powered off, the electrodeformable structure avoids the first sound outlet; and / or,
[0013] The second blocking mechanism is an electrodeformable structure. When the electrodeformable structure is in a powered-on state, at least a portion of the electrodeformable structure is deformed to a position for blocking the second sound outlet hole. When the electrodeformable structure is in a powered-off state, the electrodeformable structure avoids the second sound outlet hole.
[0014] Optionally, in the above electronic device, the electrodeformable structure includes an ion-conducting driving sheet, which includes an ion exchange resin layer and a first electrode layer and a second electrode layer respectively arranged on two opposite surfaces of the ion exchange resin layer, and the ion exchange resin layer contains a polymer electrolyte.
[0015] Optionally, in the above-mentioned electronic device, there is one ion-conducting driving sheet, and when the voltage applied to the ion-conducting driving sheet is a first voltage, the ion-conducting driving sheet moves along a first direction to a position cooperating with the first sound outlet hole for blocking, and when the voltage applied to the ion-conducting driving sheet is a second voltage, the ion-conducting driving sheet moves along a second direction to a position avoiding the first sound outlet hole, wherein the first voltage and the second voltage have opposite polarities, and the first direction is opposite to the second direction; and / or,
[0016] The ion-conducting driving plate is one, and when the voltage applied to the ion-conducting driving plate is a first voltage, the ion-conducting driving plate moves along a first direction to a position cooperating with the second sound outlet hole for blocking, and when the voltage applied to the ion-conducting driving plate is a second voltage, the ion-conducting driving plate moves along a second direction to a position avoiding the second sound outlet hole (120), wherein the polarity of the first voltage is opposite to that of the second voltage, and the first direction is opposite to the second direction.
[0017] Optionally, in the above-mentioned electronic device, there is one ion-conducting driving sheet, and when the voltage applied to the ion-conducting driving sheet is a first voltage, the ion-conducting driving sheet moves along the first direction at a first rate to a position that cooperates with the first sound outlet hole for blocking, and when the voltage applied to the ion-conducting driving sheet is a third voltage, the ion-conducting driving sheet moves along the first direction at a second rate to a position that avoids the first sound outlet hole, wherein the first voltage and the third voltage have the same polarity, and the third voltage is greater than the first voltage, and the first rate is less than the second rate; and / or,
[0018] There is one ion-conducting driving plate. When the voltage applied to the ion-conducting driving plate is a first voltage, the ion-conducting driving plate moves along a first direction at a first speed to a position cooperating with the second sound outlet hole for blocking. When the voltage applied to the ion-conducting driving plate is a third voltage, the ion-conducting driving plate moves along a first direction at a second speed to a position avoiding the second sound outlet hole, wherein the first voltage and the third voltage have the same polarity, and the third voltage is greater than the first voltage, and the first speed is less than the second speed.
[0019] Optionally, in the above-mentioned electronic device, there are two ion-conducting driving sheets, and the two ion-conducting driving sheets form a conical cylindrical member, the opening area of the first port of the conical cylindrical member is larger than the opening area of the second port of the conical cylindrical member, the first port is connected to the first sound outlet, and when the first blocking mechanism is in the first blocking state, the second port is closed, and when the first blocking mechanism is in the first avoidance state, the second port is opened; and / or,
[0020] There are two ion-conducting driving plates, and the two ion-conducting driving plates form a conical cylindrical member. The opening area of the first port of the conical cylindrical member is larger than the opening area of the second port of the conical cylindrical member. The first port is connected to the second sound outlet hole. When the second blocking mechanism is in the second blocking state, the second port is closed. When the second blocking mechanism is in the second avoidance state, the second port is open.
[0021] Optionally, in the above-mentioned electronic device, there are two ion-conducting driving sheets, and when the first blocking mechanism is in the first blocking state, the two ion-conducting driving sheets are deformed to a fitting state, and the two ion-conducting driving sheets form a whole to block the first sound outlet hole; when the first blocking mechanism is in the first avoidance state, the local opposite areas of the two ion-conducting driving sheets are away from each other, and the two ion-conducting driving sheets form a cylindrical structure connected to the first sound outlet hole; and / or,
[0022] There are two ion-conducting driving plates. When the second blocking mechanism is in the second blocking state, the two ion-conducting driving plates are deformed to be in contact with each other, and the two ion-conducting driving plates form an integral blockage of the second sound outlet hole. When the second blocking mechanism is in the second avoidance state, the local opposite areas of the two ion-conducting driving plates are away from each other, and the two ion-conducting driving plates form a cylindrical structure connected to the second sound outlet hole.
[0023] Optionally, in the above electronic device, the device housing includes a middle frame, and the sound guide channel, the first sound outlet hole and the second sound outlet hole are all opened on the middle frame.
[0024] Optionally, in the above electronic device, the middle frame has a first frame extending along the length direction of the electronic device and a second frame extending along the width direction of the electronic device, the first sound hole is opened in the first frame, and the second sound hole is opened in the second frame.
[0025] In a second aspect, an embodiment of the present application discloses a control method of an electronic device, the electronic device comprising a device housing, a sound-emitting device, a first blocking mechanism, and a second blocking mechanism, the sound-emitting device being disposed within the device housing, the device housing being provided with a first sound outlet hole, a second sound outlet hole, and a sound guide channel, the sound guide channel being connected to the first sound outlet hole and the second sound outlet hole, the first sound outlet hole and the second sound outlet hole being spaced apart, the sound-emitting device being connected to at least one of the first sound outlet hole and the second sound outlet hole through the sound guide channel;
[0026] The first blocking mechanism and the second blocking mechanism are both arranged on the device housing, and the first blocking mechanism is distributed corresponding to the first sound outlet hole, and the second blocking mechanism is distributed corresponding to the second sound outlet hole, the first blocking mechanism has a first blocking state for blocking the first sound outlet hole, and a first avoidance state for avoiding the first sound outlet hole, and the second blocking mechanism has a second blocking state for blocking the second sound outlet hole, and a second avoidance state for avoiding the second sound outlet hole; the control method includes:
[0027] Detecting the status of electronic devices;
[0028] When the electronic device is in the first state, controlling the first blocking mechanism to be in the first blocking state and the second blocking mechanism to be in the second avoiding state, so that the sound-generating device is connected to the second sound outlet hole;
[0029] When the electronic device is in the second state, the first blocking mechanism is controlled to be in the first avoidance state and the second blocking mechanism is controlled to be in the second blocking state, so that the sound-emitting device is connected to the first sound outlet hole.
[0030] Optionally, the control method further includes:
[0031] When the electronic device is in the third state, the first blocking mechanism is controlled to be in the first blocking state and the second blocking mechanism is controlled to be in the second blocking state. The third state is that the electronic device is in a silent state or a standby state.
[0032] Optionally, the control method further includes:
[0033] Detecting the file type currently running on the electronic device;
[0034] In a case where the file type includes an audio file, the current state of the electronic device is determined to be the first state or the second state.
[0035] Optionally, detecting the state of the electronic device includes:
[0036] Detecting the states of the first sound outlet hole and the second sound outlet hole;
[0037] When the first sound outlet hole is covered by a finger and the second sound outlet hole is not covered by a finger, determining the state of the electronic device as a first state;
[0038] When the first sound outlet hole is not covered by a finger and the second sound outlet hole is covered by a finger, the state of the electronic device is determined to be a second state.
[0039] Optionally, the control method includes:
[0040] Detecting the state of the sound-generating device;
[0041] When the sound-emitting device is in an external sounding state, the first blocking mechanism is controlled to be in a first avoidance state and the second blocking mechanism is controlled to be in a second avoidance state.
[0042] Optionally, the control method includes:
[0043] Detecting the state of the sound-generating device;
[0044] When the sound-emitting device is in an external sounding state, the first blocking mechanism or the second blocking mechanism is controlled to be transformed into a conical cylindrical member, the opening area of the first port of the conical cylindrical member is larger than the opening area of the second port of the conical cylindrical member, and the first port is connected to the first sound outlet hole or the second sound outlet hole.
[0045] In a third aspect, an embodiment of the present application discloses a control device of an electronic device, the electronic device comprising a device housing, a sound-emitting device, a first blocking mechanism, and a second blocking mechanism, the sound-emitting device is disposed in the device housing, the device housing is provided with a first sound outlet hole, a second sound outlet hole, and a sound guide channel, the sound guide channel connects the first sound outlet hole and the second sound outlet hole, the first sound outlet hole and the second sound outlet hole are arranged at intervals, and the sound-emitting device is connected to at least one of the first sound outlet hole and the second sound outlet hole through the sound guide channel;
[0046] The first blocking mechanism and the second blocking mechanism are both arranged on the device housing, and the first blocking mechanism is distributed corresponding to the first sound outlet hole, and the second blocking mechanism is distributed corresponding to the second sound outlet hole, the first blocking mechanism has a first blocking state for blocking the first sound outlet hole, and a first avoidance state for avoiding the first sound outlet hole, and the second blocking mechanism has a second blocking state for blocking the second sound outlet hole, and a second avoidance state for avoiding the second sound outlet hole; the control device includes:
[0047] A first detection module, used to detect the state of the electronic device;
[0048] a first control module, configured to control the first blocking mechanism to be in the first blocking state and the second blocking mechanism to be in the second avoiding state when the electronic device is in the first state, so that the sound-generating device is connected to the second sound outlet hole;
[0049] The second control module is used to control the first blocking mechanism to be in the first avoidance state and the second blocking mechanism to be in the second blocking state when the electronic device is in the second state, so that the sound-emitting device is connected to the first sound outlet.
[0050] Optionally, the control device further includes:
[0051] The third control module is used to control the first blocking mechanism to be in the first blocking state and the second blocking mechanism to be in the second blocking state when the electronic device is in the third state, and the third state is that the electronic device is in the silent state or the standby state.
[0052] Optionally, the control device further includes:
[0053] A second detection module, used to detect the type of file currently running on the electronic device;
[0054] The first determining module is used to determine the current state of the electronic device as the first state or the second state when the file type includes an audio file.
[0055] Optionally, the first detection module includes:
[0056] A third detection module, used to detect the states of the first sound outlet hole and the second sound outlet hole;
[0057] a second determining module, configured to determine the state of the electronic device as a first state when the first sound outlet hole is covered by a finger and the second sound outlet hole is not covered by a finger;
[0058] The third determining module is configured to determine the state of the electronic device as a second state when the first sound outlet hole is not covered by a finger and the second sound outlet hole is covered by a finger.
[0059] Optionally, the control device comprises:
[0060] A fourth detection module, used to detect the state of the sound-generating device;
[0061] The fourth control module is used to control the first blocking mechanism to be in a first avoidance state and the second blocking mechanism to be in a second avoidance state when the sound-emitting device is in an external sounding state.
[0062] Optionally, the control device comprises:
[0063] A fourth detection module, used to detect the state of the sound-generating device;
[0064] The fifth control module controls the first blocking mechanism or the second blocking mechanism to be transformed into a conical cylindrical member when the sound-emitting device is in an external-sounding state, wherein the opening area of the first port of the conical cylindrical member is larger than the opening area of the second port of the conical cylindrical member, and the first port is connected to the first sound outlet hole or the second sound outlet hole.
[0065] In a fourth aspect, an embodiment of the present application discloses a terminal device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or the instruction implements the steps of the above-mentioned control method when executed by the processor.
[0066] In a fifth aspect, an embodiment of the present application discloses a readable storage medium, on which a program or instruction is stored. When the program or the instruction is executed by a processor, the steps of the control method described above are implemented.
[0067] In a sixth aspect, an embodiment of the present application discloses a computer program product, which is stored in a non-volatile storage medium and is configured to be executed by at least one processor to implement the steps of the control method described above.
[0068] In a seventh aspect, an embodiment of the present application discloses a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the control method described above.
[0069] The technical solution adopted in this application can achieve the following beneficial effects:
[0070] The electronic device disclosed in the embodiment of the present application improves the structure of the electronic device in the background technology so that the sound guide channel is connected to the first sound outlet hole and the second sound outlet hole, and the first sound outlet hole and the second sound outlet hole are arranged at intervals, that is, the sound guide channel is connected to both the first sound outlet hole and the second sound outlet hole, and the sound-emitting device is connected to the first sound outlet hole and the second sound outlet hole through the sound guide channel, so the sound-emitting device can emit sound through at least one of the first sound outlet hole and the second sound outlet hole. In addition, the first blocking mechanism is distributed correspondingly to the first sound outlet hole, and the second blocking mechanism is distributed correspondingly to the second sound outlet hole. The first blocking mechanism has a first avoidance state and a first blocking state, and the second blocking mechanism has a second avoidance state and a second blocking state. Under the action of the first blocking mechanism and the second blocking mechanism, one of the first sound outlet hole and the second sound outlet hole can be in a closed state and the other can be in an open state, thereby realizing the switching of the sound outlet position of the sound-emitting device in the electronic device, so that the sound can be emitted from the unblocked first sound outlet hole or the second sound outlet hole, thereby solving the problem that the sound outlet hole in the current electronic device is single and easy to be blocked, which affects the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0072] Figure 1 An internal cross-sectional view of an electronic device disclosed in an embodiment of the present application;
[0073] Figure 2 A schematic plan view of the positional relationship between the first blocking mechanism and the first sound outlet of the electronic device disclosed in the embodiment of the present application;
[0074] Figure 3 A schematic diagram of a structure in which a first blocking mechanism in an electronic device disclosed in an embodiment of the present application is deformed;
[0075] Figure 4 A three-dimensional schematic diagram of the positional relationship between the first blocking mechanism and the first sound outlet of the electronic device disclosed in the embodiment of the present application;
[0076] Figure 5 An internal cross-sectional view of the electronic device disclosed in the embodiment of the present application when in a first state;
[0077] Figure 6 A schematic diagram of the hardware structure of an electronic device.
[0078] Description of reference numerals:
[0079] 100-device housing, 110-first sound outlet, 120-second sound outlet, 130-sound guide channel;
[0080] 200-sounding device, 300-first blocking mechanism, 400-second blocking mechanism;
[0081] 1200-electronic device, 1201-radio frequency unit, 1202-network module, 1203-audio output unit, 1204-input unit, 12041-graphics processor, 12042-microphone, 1205-sensor, 1206-display unit, 12061-display panel, 1207-user input unit, 12071-touch panel, 12072-other input devices, 1208-interface unit, 1209-memory, 1210-processor, 1211-power supply. DETAILED DESCRIPTION
[0082] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0083] The technical solutions disclosed in various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0084] like Figure 1-Figure 5 As shown, the embodiment of the present application discloses an electronic device, and the disclosed electronic device includes a device housing 100, a sound-generating device 200, a first blocking mechanism 300, and a second blocking mechanism 400. The device housing 100 is a basic component of the electronic device, and the device housing 100 can provide a mounting base for some other components in the electronic device, and can also provide protection for these components to prevent these components from being damaged.
[0085] The sound device 200 is a component in an electronic device that converts an electrical signal into a sound signal and then emits the sound signal. The sound device 200 is disposed in the device housing 100. The device housing 100 can provide a layer of protection for the sound device 200 to prevent the sound device 200 from being damaged. The sound device 200 can be a speaker or a receiver.
[0086] The device housing 100 is provided with a first sound outlet hole 110, a second sound outlet hole 120 and a sound guide channel 130. The sound guide channel 130 connects the first sound outlet hole 110 and the second sound outlet hole 120. The sound-emitting device 200 can be connected with at least one of the first sound outlet hole 110 and the second sound outlet hole 120 through the sound guide channel 130. That is, the sound-emitting device 200 can emit sound through at least one of the first sound outlet hole 110 and the second sound outlet hole 120.
[0087] In the embodiment of the present application, the sound-emitting device 200 may be located between the first sound-emitting hole 110 and the second sound-emitting hole 120, and the sound-emitting device 200 may be respectively connected to the first sound-emitting hole 110 and the second sound-emitting hole 120 through the sound-guiding channel 130. Of course, it is also possible that the sound-emitting device 200 is arranged opposite to and directly connected to one of the first sound-emitting hole 110 and the second sound-emitting hole 120, and the sound-emitting device 200 may be connected to one of the first sound-emitting hole 110 and the second sound-emitting hole 120 through the sound-guiding channel 130.
[0088] The first sound hole 110 and the second sound hole 120 are arranged at intervals. When a user uses the electronic device, the sound hole of the electronic device is not easily blocked by the user's hand, and the sound device 200 can make a sound through at least one of the first sound hole 110 and the second sound hole 120 .
[0089] The first sealing mechanism 300 and the second sealing mechanism 400 are both arranged in the device housing 100, and the first sealing mechanism 300 is distributed corresponding to the first sound outlet hole 110, and the second sealing mechanism 400 is distributed corresponding to the second sound outlet hole 120. The device housing 100 can provide an installation position for the first sealing mechanism 300 and the second sealing mechanism 400 and prevent the first sealing mechanism 300 and the second sealing mechanism 400 from being damaged.
[0090] In addition, the first blocking mechanism 300 has a first blocking state for blocking the first sound outlet hole 110 and a first avoiding state for avoiding the first sound outlet hole 110 , and the second blocking mechanism 400 has a second blocking state for blocking the second sound outlet hole 120 and a second avoiding state for avoiding the second sound outlet hole 120 .
[0091] When the first blocking mechanism 300 is in the first blocking state, the first blocking mechanism 300 blocks the first sound outlet hole 110. When the first blocking mechanism 300 is in the first avoiding state, the first blocking mechanism 300 avoids the first sound outlet hole 110. In this case, the first sound outlet hole 110 is not blocked.
[0092] When the second blocking mechanism 400 is in the second blocking state, the second blocking mechanism 400 blocks the second sound outlet hole 120 . When the second blocking mechanism 400 is in the second avoiding state, the second blocking mechanism 400 avoids the second sound outlet hole 120 . In this case, the second sound outlet hole 120 is not blocked.
[0093] According to different states of the electronic device, the working states of the first blocking mechanism 300 and the second blocking mechanism 400 are also different.
[0094] The electronic device may have multiple states, for example, the electronic device may have a holding state, in which the first sound outlet 110 and the second sound outlet 120 may be blocked differently. For example, when the electronic device is in the holding state, the user may use the electronic device to make a call or play a game, and at this time, the user may block one of the first sound outlet 110 and the second sound outlet 120, and the sound device 200 may output sound through the other unblocked hole.
[0095] For another example, the electronic device may have a screen display state. When the electronic device is in the screen display state, the user may use the electronic device to watch videos. At this time, the first sound hole 110 and the second sound hole 120 are not blocked, and the sound device 200 may output sound through the first sound hole 110 and the second sound hole 120 at the same time.
[0096] Specifically, when the electronic device is in the first state, the first blocking mechanism 300 is in the first blocking state, and the second blocking mechanism 400 is in the second avoidance state. At this time, the first blocking mechanism 300 blocks the first sound outlet 110, the second blocking mechanism 400 avoids the second sound outlet 120, and the sound-emitting device 200 is connected to the second sound outlet 120 through the sound guide channel 130. In this case, when the sound-emitting device 200 is working, it is connected to the second sound outlet 120 through the sound guide channel 130, and the sound emitted by the sound-emitting device 200 can be transmitted to the outside of the electronic device through the second sound outlet 120. For example, the first state can be a first gripping state, in which the user's hand blocks the first sound outlet 110, but the user's hand does not block the second sound outlet 120. Optionally, the first gripping state is a vertical screen gripping state.
[0097] When the electronic device is in the second state, the first blocking mechanism 300 is in the first avoidance state, and the second blocking mechanism 400 is in the second blocking state. At this time, the first blocking mechanism 300 avoids the first sound outlet hole 110, the second blocking mechanism 400 blocks the second sound outlet hole 120, and the sound device 200 is connected to the first sound outlet hole 110. In this case, the sound emitted by the sound device 200 when working can be directly transmitted to the outside of the electronic device through the first sound outlet hole 110. For example, the second state can be a second gripping state, in which the user's hand blocks the second sound outlet hole 120, but the user's hand does not block the first sound outlet hole 110. Optionally, the second gripping state is a horizontal screen gripping state.
[0098] The electronic device disclosed in the embodiment of the present application improves the structure of the electronic device in the background technology so that the sound guide channel 130 is connected to the first sound output hole 110 and the second sound output hole 120, and the first sound output hole 110 and the second sound output hole 120 are arranged at intervals. That is, the sound guide channel 130 is connected to both the first sound output hole 110 and the second sound output hole 120, and the sound-emitting device 200 is connected to the first sound output hole 110 and the second sound output hole 120 through the sound guide channel 130, so that the sound-emitting device 200 can emit sound through at least one of the first sound output hole 110 and the second sound output hole 120. In addition, the first blocking mechanism 300 is distributed corresponding to the first sound hole 110, and the second blocking mechanism 400 is distributed corresponding to the second sound hole 120. The first blocking mechanism 300 has a first avoidance state and a first blocking state, and the second blocking mechanism 400 has a second avoidance state and a second blocking state. Under the action of the first blocking mechanism 300 and the second blocking mechanism 400, one of the first sound hole 110 and the second sound hole 120 can be in a closed state and the other can be in an open state, thereby realizing the switching of the sound output position of the sound-emitting device 200 in the electronic device, so that the sound can be emitted from the unblocked first sound hole 110 or the second sound hole 120, thereby solving the problem that the sound holes in current electronic devices are single and easily blocked, thus affecting the user experience.
[0099] As described above, the electronic device can be in different states, and different states make the use states of the first blocking mechanism 300 and the second blocking mechanism 400 different. Of course, the electronic device is not limited to the first state and the second state. In an optional scheme, when the electronic device is in the third state, that is, the sound device 200 is in a non-working state, the first blocking mechanism 300 is in a first blocking state, and the second blocking mechanism 400 is in a second blocking state, that is, the first blocking mechanism 300 blocks the first sound outlet 110, and the second blocking mechanism 400 blocks the second sound outlet 120. In this case, since the sound device 200 is not working, the first sound outlet 110 and the second sound outlet 120 can be blocked. It can be seen that the first blocking mechanism 300 and the second blocking mechanism 400 respectively block the first sound outlet 110 and the second sound outlet 120, thereby preventing foreign matter such as dust and water in the environment from entering the interior of the electronic device through the first sound outlet 110 or the second sound outlet 120, thereby achieving a better waterproof and dustproof purpose.
[0100] In another optional solution, when the electronic device is in the fourth state, the first blocking mechanism 300 is in the first avoidance state, and the second blocking mechanism 400 is in the second avoidance state, that is, the first blocking mechanism 300 avoids the first sound outlet 110, and the second blocking mechanism 400 avoids the second sound outlet 120. In this case, the first sound outlet 110 and the second sound outlet 120 are both in an open state. In the specific working process, the sound-emitting device 200 can directly emit sound through the first sound outlet 110, and transmit the sound to the second sound outlet 120 through the sound guide channel 130 and emit sound through the second sound outlet 120. In this way, the sound-emitting device 200 can emit sound through the first sound outlet 110 and the second sound outlet 120 at the same time, thereby achieving multi-directional sound emission and achieving a stereo effect. For example, the fourth state can be the third gripping state, in which the user's hand does not block the first sound outlet 110 and the second sound outlet 120.
[0101] In the embodiment of the present application, there may be many types of the first blocking mechanism 300 and the second blocking mechanism 400. For example, the first blocking mechanism 300 and the second blocking mechanism 400 may both include a driving mechanism and a blocking plate, and the driving mechanism drives the blocking plate to move, so that the blocking plate switches between the first position and the second position. Specifically, in the first position, the blocking plate covers the first sound outlet hole 110 or the second sound outlet hole 120, so that the first sound outlet hole 110 or the second sound outlet hole 120 is blocked; in the second position, the blocking plate avoids the first sound outlet hole 110 or the second sound outlet hole 120, so that the first sound outlet hole 110 or the second sound outlet hole 120 is in an unblocked state.
[0102] Of course, the first blocking mechanism 300 and the second blocking mechanism 400 can also be other structures. In an optional solution, the first blocking mechanism 300 can be an electro-deformable structure, through which the first blocking mechanism 300 can achieve blocking or avoiding the first sound outlet 110 through its own deformation. Specifically, when the electro-deformable structure is in a powered-on state, part of the electro-deformable structure is deformed to a position that blocks the first sound outlet 110, thereby blocking the first sound outlet 110. When the electro-deformable structure is in a powered-off state, the electro-deformable structure avoids the first sound outlet 110, and the sound-emitting device 200 can emit sound through the first sound outlet 110.
[0103] In addition, the second blocking mechanism 400 may also be an electrodeformable structure, through which the second blocking mechanism 400 can block or avoid the second sound outlet hole 120 by its own deformation. Specifically, when the electrodeformable structure is in a powered-on state, at least part of the electrodeformable structure is deformed to a position that blocks and cooperates with the second sound outlet hole 120, thereby blocking the second sound outlet hole 120. When the electrodeformable structure is in a powered-off state, the electrodeformable structure avoids the second sound outlet hole 120, and the sound-emitting device 200 can emit sound through the second sound outlet hole 120.
[0104] There are many materials for the first blocking mechanism 300 and the second blocking mechanism 400. In an optional solution, at least one of the first blocking mechanism 300 and the second blocking mechanism 400 is an IPMC (Ion-exchange Polymer Metal Composite) material structure. In a specific working process, when the IPMC material structure is in a powered-on state, part of the IPMC material structure is deformed to a position relative to the first sound outlet 110 or the second sound outlet 120, thereby blocking the first sound outlet 110 or the second sound outlet 120. When the IPMC material structure is in a powered-off state, the IPMC material structure does not deform, and the first sound outlet 110 or the second sound outlet 120 is not blocked. At this time, the sound of the sound-emitting device 200 can be transmitted to the outside of the electronic device through the first sound outlet 110 or the second sound outlet 120. Of course, the electrodeformable structure can also be a shape memory alloy part, and the embodiment of the present application does not limit the specific material of the electrodeformable structure.
[0105] In a further technical solution, the electrodeformable structure may include an ion-conducting driving sheet, the ion-conducting driving sheet includes an ion-exchange resin layer and a first electrode layer and a second electrode layer respectively disposed on two opposite surfaces of the ion-exchange resin layer, and the ion-exchange resin layer contains a polymer electrolyte. In a specific working process, when the first electrode layer and the second electrode layer are electrically connected, the ion-exchange resin layer will deform under the action of the electric field formed by the first electrode layer and the second electrode layer, thereby causing the entire ion-conducting driving sheet to deform.
[0106] In an optional scheme, the ion conduction driving plate can be one. When the voltage applied to the ion conduction driving plate is a first voltage, the ion conduction driving plate moves along the first direction to a position that cooperates with the first sound outlet hole 110 for blocking. At this time, when the voltage applied to the ion conduction driving plate is a second voltage, the ion conduction driving plate moves along the second direction to a position that avoids the first sound outlet hole 110, wherein the polarity of the first voltage is opposite to that of the second voltage, and the first direction is opposite to the second direction.
[0107] By controlling the voltage of the ion conduction driving plate to switch between the first voltage and the second voltage, the ion conduction driving plate can be made to reciprocate between the first direction and the second direction, and the ion conduction driving plate can be switched between a position that cooperates with the first sound outlet hole 110 and a position that avoids the first sound outlet hole 110, so that the sound-emitting device 200 can emit sound through the first sound outlet hole 110 when the ion conduction driving plate moves to the position that avoids the first sound outlet hole 110.
[0108] It should be noted that, when a first voltage is applied to the ion-conducting driving plate, the ion-conducting driving plate moves along the first direction to a position where it is sealed and matched with the first sound outlet hole 110; when no power is applied to the ion-conducting driving plate, the ion-conducting driving plate gradually returns to its original shape. At this time, there is a certain distance between the ion-conducting driving plate and the first sound outlet hole 110, and the sound-emitting device 200 can emit sound through the first sound outlet hole 110; when a second voltage with a polarity opposite to that of the first voltage is applied to the ion-conducting driving plate, the ion-conducting driving plate moves along the second direction to a position farther from the first sound outlet hole 110, and the sound-emitting device 200 can emit sound through the first sound outlet hole 110.
[0109] In another optional scheme, the ion conduction driving plate can be one. When the voltage applied to the ion conduction driving plate is a first voltage, the ion conduction driving plate can move along the first direction to a position that cooperates with the second sound outlet hole 120 for blocking. When the voltage applied to the ion conduction driving plate is a second voltage, the ion conduction driving plate can move along the second direction to a position that avoids the second sound outlet hole 120, wherein the polarity of the first voltage is opposite to that of the second voltage, and the first direction is opposite to the second direction.
[0110] Similarly, by controlling the voltage of the ion-conducting driving plate to switch between the first voltage and the second voltage, the ion-conducting driving plate can be moved between the first direction and the second direction, so that the ion-conducting driving plate can block the second sound outlet 120 or avoid the second sound outlet 120 .
[0111] It should be noted that, when a first voltage is applied to the ion conduction drive plate, the ion conduction drive plate moves along the first direction to a position where it is sealed and matched with the second sound outlet hole 120; when no power is applied to the ion conduction drive plate, the ion conduction drive plate gradually returns to its original shape. At this time, there is a certain distance between the ion conduction drive plate and the second sound outlet hole 120, and the sound-emitting device 200 can emit sound through the second sound outlet hole 120; when a second voltage with a polarity opposite to that of the first voltage is applied to the ion conduction drive plate, the ion conduction drive plate moves along the second direction to a position farther from the second sound outlet hole 120, and the sound-emitting device 200 can emit sound through the second sound outlet hole 120.
[0112] In one achievable manner, the ion-conducting driving plate may be one, and when the voltage applied to the ion-conducting driving plate is a first voltage, the ion-conducting driving plate moves along the first direction at a first rate to a position that matches the first sound outlet hole 110 for blocking. When the voltage applied to the ion-conducting driving plate is the first voltage, the ion-conducting driving plate moves along the first direction at a first rate to a position that matches the first sound outlet hole 110 for blocking. At this time, the ion-conducting driving plate just moves to the position that blocks the first sound outlet hole 110. When the voltage applied to the ion-conducting driving plate is a third voltage, the ion-conducting driving plate moves along the first direction at a second rate to a position that avoids the first sound outlet hole 110, wherein the first voltage and the third voltage have the same polarity, and the third voltage is greater than the first voltage, and the first rate is less than the second rate. At this time, when the sound-emitting device 200 needs to emit sound through the first sound outlet hole 110, the third voltage is applied to the ion-conducting driving plate, and the ion-conducting driving plate will move from the position that blocks the first sound outlet hole 110 to the position that avoids the first sound outlet hole 110 at a faster second rate. That is to say, by applying voltages of the same polarity but different magnitudes to the ion-conducting driving plate, the ion-conducting driving plate will deform at different rates, thereby making it relatively simple to block or avoid the first sound outlet hole 110 .
[0113] In another optional solution, the ion-conducting driving sheet can be one, and when the voltage applied to the ion-conducting driving sheet is a first voltage, the ion-conducting driving sheet can move along the first direction at a first rate to a position that matches the second sound outlet hole 120 for blocking, and when the voltage applied to the ion-conducting driving sheet is a third voltage, the ion-conducting driving sheet can move along the first direction at a second rate to a position that avoids the second sound outlet hole 120, wherein the first voltage and the third voltage have the same polarity, the third voltage is greater than the first voltage, and the first rate is less than the second rate. In this way, different voltages can be applied to the ion-conducting driving sheet, so that the deformation rate of the ion-conducting driving sheet is different, and the switching between avoiding and blocking the sound outlet hole is realized, so that the sound-emitting device 200 can selectively emit sound through the first sound outlet hole 110 and / or the second sound outlet hole 120.
[0114] In an optional solution, there may be two ion-conducting drive sheets. When no voltage is applied to the ion-conducting drive sheets, the two ion-conducting drive sheets do not change. When voltage is applied to the two ion-conducting drive sheets, the two ion-conducting drive sheets may be surrounded by a conical cylindrical member. The opening area of the first port of the conical cylindrical member is greater than the opening area of the second port of the conical cylindrical member. The first port is connected to the first sound outlet 110. The sound-generating device 200 may emit sound through the first port of the conical cylindrical member and the first sound outlet 110. The structural design of the conical cylindrical member is similar to the cone of a speaker, so that the fidelity of the sound emitted is high, which helps to improve the sound effect of the sound-generating device 200. When the first blocking mechanism 300 is in the first blocking state, the second port is closed. When the first blocking mechanism 300 is in the first avoidance state, the second port is open.
[0115] In another optional solution, there may be two ion-conducting drive sheets. When no voltage is applied to the ion-conducting drive sheets, the two ion-conducting drive sheets do not change. When voltage is applied to the two ion-conducting drive sheets, the two ion-conducting drive sheets may form a conical cylindrical member. The opening area of the first port of the conical cylindrical member is greater than the opening area of the second port of the conical cylindrical member. The first port is connected to the second sound outlet hole 120. The sound-generating device 200 may emit sound through the first port and the second sound outlet hole 120 of the conical cylindrical member. The structural design of the conical cylindrical member is similar to the cone of a speaker, so that the fidelity of the sound emitted is high, which helps to improve the sound effect of the sound-generating device 200. When the second blocking mechanism 400 is in the second blocking state, the second port is closed. When the second blocking mechanism 400 is in the second avoidance state, the second port is open.
[0116] In another optional scheme, there may be two ion-conducting driving plates. When the first blocking mechanism 300 is in the first blocking state, the two ion-conducting driving plates are deformed to be in contact with each other, and the two ion-conducting driving plates form an overall blockage of the first sound outlet hole 110. When the first blocking mechanism 300 is in the first avoidance state, the local relative areas of the two ion-conducting driving plates are away from each other, and the two ion-conducting driving plates form a cylindrical structure connected to the first sound outlet hole 110, so that the sound-emitting device 200 can emit sound through the first sound outlet hole 110.
[0117] In another optional scheme, there may be two ion-conducting driving plates. When the second blocking mechanism 400 is in the second blocking state, the two ion-conducting driving plates are deformed to be in contact with each other, and the two ion-conducting driving plates form an overall blocking of the second sound outlet hole 120. When the second blocking mechanism 400 is in the second avoidance state, the local relative areas of the two ion-conducting driving plates are away from each other, and the two ion-conducting driving plates form a cylindrical structure connected to the second sound outlet hole 120, so that the sound-emitting device 200 can emit sound through the second sound outlet hole 120.
[0118] In the above optional scheme, the change of the state of the first blocking mechanism 300 or the second blocking mechanism 400 is achieved by deformation of the two ion-conducting driving plates. The deformation of the two ion-conducting driving plates cooperates with each other, which can undoubtedly improve the efficiency of the state switching of the first blocking mechanism 300 or the second blocking mechanism 400.
[0119] We know that the device housing 100 is a basic component of the electronic device, and the device housing 100 may include a middle frame. In an optional solution, the sound guide channel 130, the first sound outlet hole 110, and the second sound outlet hole 120 may all be opened on the middle frame. The middle frame is usually not facing the user, so opening the first sound outlet hole 110 and the second sound outlet hole 120 in the middle frame can avoid the first sound outlet hole 110 and the second sound outlet hole 120 facing the user, thereby improving the user's visual experience. Since the first sound outlet hole 110 and the second sound outlet hole 120 are connected through the sound guide channel 130, part of the structure of the middle frame is a hollow structure. This arrangement can make full use of the structure of the device housing 100 without the need for additional components to form the first sound outlet hole 110, the second sound outlet hole 120, and the sound guide channel 130. In other words, this arrangement does not involve the problem of additional space occupation.
[0120] Specifically, the middle frame may have a first frame extending along the length direction of the electronic device and a second frame extending along the width direction of the electronic device, the first sound hole 110 is opened in the first frame, and the second sound hole 120 is opened in the second frame. In this case, the first sound hole 110 and the second sound hole 120 are respectively opened on frames extending in different directions, which can undoubtedly further alleviate the problem that the sound holes are easily blocked.
[0121] Based on the electronic device disclosed in the embodiment of the present application, the embodiment of the present application discloses a control method of the electronic device, wherein the electronic device involved includes a device housing 100, a sound-emitting device 200, a first blocking mechanism 300 and a second blocking mechanism 400, the sound-emitting device 200 is arranged in the device housing 100, the device housing 100 is provided with a first sound outlet hole 110, a second sound outlet hole 120 and a sound guide channel 130, the sound guide channel 130 connects the first sound outlet hole 110 and the second sound outlet hole 120, the first sound outlet hole 110 and the second sound outlet hole 120 are arranged at intervals, and the sound-emitting device 200 is connected to at least one of the first sound outlet hole 110 and the second sound outlet hole 120 through the sound guide channel 130;
[0122] The first blocking mechanism 300 and the second blocking mechanism 400 are both arranged on the device housing 100, and the first blocking mechanism 300 is distributed corresponding to the first sound outlet hole 110, and the second blocking mechanism 400 is distributed corresponding to the second sound outlet hole 120. The first blocking mechanism 300 has a first blocking state for blocking the first sound outlet hole 110, and a first avoidance state for avoiding the first sound outlet hole 110, and the second blocking mechanism 400 has a second blocking state for blocking the second sound outlet hole 120, and a second avoidance state for avoiding the second sound outlet hole 120.
[0123] The disclosed control method includes:
[0124] Step 101: Detect the status of the electronic device.
[0125] The electronic device may have multiple states, for example, the electronic device may have a holding state, in which the first sound outlet 110 and the second sound outlet 120 may be blocked differently. For example, when the electronic device is in the holding state, the user may use the electronic device to make a call or play a game, and at this time, the user may block one of the first sound outlet 110 and the second sound outlet 120, and the sound device 200 may output sound through the other unblocked hole.
[0126] For another example, the electronic device may have a screen display state. When the electronic device is in the screen display state, the user may use the electronic device to watch videos. At this time, the first sound hole 110 and the second sound hole 120 are not blocked, and the sound device 200 may output sound through the first sound hole 110 and the second sound hole 120 at the same time.
[0127] Step 102 : When the electronic device is in the first state, control the first blocking mechanism 300 to be in the first blocking state and the second blocking mechanism 400 to be in the second avoiding state, so that the sound-emitting device 200 is connected to the second sound outlet 120 .
[0128] At this time, the first blocking mechanism 300 is controlled to block the first sound hole 110 and the second blocking mechanism 400 is controlled to avoid the second sound hole 120, so that the sound-emitting device 200 can be connected with the second sound hole 120 through the sound guide channel 130, and then the sound emitted by the sound-emitting device 200 can be transmitted to the second sound hole 120 through the sound guide channel 130 and then transmitted to the user's ear. In this case, the problem of users blocking the sound holes with both hands while using electronic devices, thereby affecting the user experience, is avoided.
[0129] Step 103 : When the electronic device is in the second state, control the first blocking mechanism 300 to be in the first avoidance state and the second blocking mechanism 400 to be in the second blocking state, so that the sound-emitting device 200 is connected to the first sound outlet 110 .
[0130] At this time, the first blocking mechanism 300 avoids the first sound outlet hole 110, and the second blocking mechanism 400 blocks the second sound outlet hole 120, so that the sound device 200 is connected to the first sound outlet hole 110. In this case, the sound generated by the sound device 200 is directly transmitted to the user's ear through the first sound outlet hole 110.
[0131] For example, the first state may be a first gripping state, in which the user's hand blocks the first sound outlet hole 110, but the user's hand does not block the second sound outlet hole 120. Optionally, the first gripping state is a vertical screen gripping state.
[0132] For example, the second state may be a second gripping state, in which the user's hand blocks the second sound outlet 120, but the user's hand does not block the first sound outlet 110. Optionally, the second gripping state is a horizontal screen gripping state.
[0133] By detecting different states of the electronic device, the first blocking mechanism 300 and the second blocking mechanism 400 can be controlled to perform different operations, so that the sound generated by the sound device 200 is transmitted to the user's ears from different sound outlet holes, satisfying the user's usage experience when the electronic device is in different states.
[0134] In one implementation, the control method of the electronic device disclosed in the embodiment of the present application may further include:
[0135] Step 104: When the electronic device is in the third state, control the first blocking mechanism 300 to be in the first blocking state and the second blocking mechanism 400 to be in the second blocking state. The third state may be that the electronic device is in a silent state or a standby state.
[0136] At this time, when the electronic device is in a silent state or a standby state, the sound-emitting device 200 is not required to emit sound, and the first sound outlet hole 110 and the second sound outlet hole 120 are controlled to be blocked.
[0137] In one implementation, the control method of the electronic device disclosed in the embodiment of the present application may further include:
[0138] Step 201: Detect the file type currently running on the electronic device. The working state of the electronic device is different according to the different file types being run.
[0139] Step 202 : When the file type includes an audio file, the current state of the electronic device is determined to be the first state or the second state, and the sound-emitting device 200 can emit sound through the first sound outlet 110 or the second sound outlet 120 .
[0140] In an optional solution, step 101 may include:
[0141] Step 301 : Detect the status of the first sound outlet hole 110 and the second sound outlet hole 120 .
[0142] In this step, an infrared detector may be used to detect whether there are fingers at the first sound outlet hole 110 and the second sound outlet hole 120, thereby determining the status of the first sound outlet hole 110 and the second sound outlet hole 120. Of course, an optical device may also be used to determine whether the first sound outlet hole 110 and the second sound outlet hole 120 are covered.
[0143] Step 302: When the first sound outlet 110 is covered by a finger and the second sound outlet 120 is not covered by a finger, determine the state of the electronic device as a first state.
[0144] Step 303: When the first sound outlet hole 110 is not covered by a finger and the second sound outlet hole 120 is covered by a finger, determine the state of the electronic device as the second state.
[0145] In another optional solution, the control method of the electronic device disclosed in the embodiment of the present application includes:
[0146] Step 401 : Detect the state of the sound-generating device 200 .
[0147] Step 402 , when the sound-emitting device 200 is in the external sound state, control the first blocking mechanism 300 to be in the first avoidance state and the second blocking mechanism 400 to be in the second avoidance state. At this time, the sound-emitting device 200 can output sound through the first sound outlet 110 and the second sound outlet 120 .
[0148] In a further technical solution, the control method of the electronic device disclosed in the embodiment of the present application may include:
[0149] Step 501 : Detect the state of the sound-generating device 200 .
[0150] Step 502: When the sound-generating device 200 is in the external sounding state, the first blocking mechanism 300 or the second blocking mechanism 400 is controlled to be transformed into a conical cylindrical member, the opening area of the first port of the conical cylindrical member is larger than the opening area of the second port of the conical cylindrical member, and the first port is connected to the first sound outlet hole 110 or the second sound outlet hole 120. The sound-generating device 200 can output sound from the first sound outlet hole 110 or the second sound outlet hole 120 through the conical cylindrical member.
[0151] Based on the electronic device and control method disclosed in the embodiments of the present application, the embodiments of the present application disclose a control device of an electronic device, which can control the devices in the electronic device to work. The electronic device includes a device housing 100, a sound-emitting device 200, a first blocking mechanism 300 and a second blocking mechanism 400. The sound-emitting device 200 is arranged in the device housing 100. The device housing 100 is provided with a first sound outlet hole 110, a second sound outlet hole 120 and a sound guide channel 130. The sound guide channel 130 connects the first sound outlet hole 110 and the second sound outlet hole 120. The first sound outlet hole 110 and the second sound outlet hole 120 are arranged at intervals. The sound-emitting device 200 is connected to at least one of the first sound outlet hole 110 and the second sound outlet hole 120 through the sound guide channel 130.
[0152] The first blocking mechanism 300 and the second blocking mechanism 400 are both arranged on the device housing 100, and the first blocking mechanism 300 is distributed corresponding to the first sound outlet hole 110, and the second blocking mechanism 400 is distributed corresponding to the second sound outlet hole 120. The first blocking mechanism 300 has a first blocking state for blocking the first sound outlet hole 110, and a first avoidance state for avoiding the first sound outlet hole 110, and the second blocking mechanism 400 has a second blocking state for blocking the second sound outlet hole 120, and a second avoidance state for avoiding the second sound outlet hole 120.
[0153] The disclosed control device comprises:
[0154] The first detection module is used to detect the state of the electronic device.
[0155] The electronic device may have multiple states, for example, the electronic device may have a holding state, in which the first sound outlet 110 and the second sound outlet 120 may be blocked differently. For example, when the electronic device is in the holding state, the user may use the electronic device to make a call or play a game, and at this time, the user may block one of the first sound outlet 110 and the second sound outlet 120, and the sound device 200 may output sound through the other unblocked hole.
[0156] For another example, the electronic device may have a screen display state. When the electronic device is in the screen display state, the user may use the electronic device to watch videos. At this time, the first sound hole 110 and the second sound hole 120 are not blocked, and the sound device 200 may output sound through the first sound hole 110 and the second sound hole 120 at the same time.
[0157] The first control module is used to control the first blocking mechanism 300 to be in the first blocking state and the second blocking mechanism 400 to be in the second avoiding state when the electronic device is in the first state, so that the sound device 200 is connected with the second sound outlet 120.
[0158] Specifically, the first control module can use a driving circuit to control the operation of the first blocking mechanism 300 and the second blocking mechanism 400. Through a dedicated driving chip, the driving circuit can control the output of different voltages, thereby controlling the first blocking mechanism 300 to block the first sound outlet 110 and controlling the second blocking mechanism 400 to avoid the second sound outlet 120, so that the sound-emitting device 200 transmits the sound to the second sound outlet 120 through the sound guide channel 130, and then transmits it to the user's ear. In this case, the problem of users blocking the sound outlet holes with both hands while using electronic devices, thereby affecting the user's experience, is avoided.
[0159] The second control module is used to control the first blocking mechanism 300 to be in the first avoidance state and the second blocking mechanism 400 to be in the second blocking state when the electronic device is in the second state, so that the sound device 200 is connected to the first sound outlet 110.
[0160] At this time, the first blocking mechanism 300 avoids the first sound outlet hole 110, and the second blocking mechanism 400 blocks the second sound outlet hole 120, so that the sound device 200 is connected to the first sound outlet hole 110. In this case, the sound generated by the sound device 200 is directly transmitted to the user's ear through the first sound outlet hole 110.
[0161] For example, the first state may be a first gripping state, in which the user's hand blocks the first sound outlet hole 110, but the user's hand does not block the second sound outlet hole 120. Optionally, the first gripping state is a vertical screen gripping state.
[0162] For example, the second state may be a second gripping state, in which the user's hand blocks the second sound outlet 120, but the user's hand does not block the first sound outlet 110. Optionally, the second gripping state is a horizontal screen gripping state.
[0163] By detecting different states of the electronic device, the first blocking mechanism 300 and the second blocking mechanism 400 can be controlled to perform different operations, so that the sound generated by the sound device 200 is transmitted to the user's ears from different sound outlet holes, satisfying the user's usage experience when the electronic device is in different states.
[0164] In one achievable manner, the control device further includes: a third control module, for controlling the first blocking mechanism 300 to be in the first blocking state and the second blocking mechanism 400 to be in the second blocking state when the electronic device is in a third state, wherein the third state is that the electronic device is in a silent state or a standby state.
[0165] At this time, when the electronic device is in a silent state or a standby state, the sound-emitting device 200 is not required to emit sound, and the first sound outlet hole 110 and the second sound outlet hole 120 are controlled to be blocked.
[0166] In one implementation, the control device further includes: a second detection module, configured to detect the type of file currently running on the electronic device.
[0167] The first determination module is used to determine the current state of the electronic device as the first state or the second state when the file type includes an audio file. At this time, the sound device 200 can emit sound through the first sound outlet 110 or the second sound outlet 120.
[0168] In one implementation, the first detection module may include:
[0169] The third detection module is used to detect the status of the first sound outlet hole 110 and the second sound outlet hole 120 .
[0170] Specifically, an infrared detector can be used to detect whether there are fingers at the first sound outlet hole 110 and the second sound outlet hole 120, thereby determining the state of the first sound outlet hole 110 and the second sound outlet hole 120. Of course, an optical device can also be used to determine whether the first sound outlet hole 110 and the second sound outlet hole 120 are covered.
[0171] The second determining module is used to determine the state of the electronic device as the first state when the first sound outlet hole 110 is covered by a finger and the second sound outlet hole 120 is not covered by a finger.
[0172] The third determination module is used to determine the state of the electronic device as the second state when the first sound outlet hole 110 is not covered by a finger and the second sound outlet hole 120 is covered by a finger.
[0173] In one achievable manner, the control device may include: a fourth detection module, configured to detect a state of the sound-generating device 200 .
[0174] The fourth control module is used to control the first blocking mechanism 300 to be in the first avoidance state and the second blocking mechanism 400 to be in the second avoidance state when the sound-emitting device 200 is in the external sound state. At this time, the sound-emitting device 200 can output sound through the first sound outlet 110 and the second sound outlet 120.
[0175] In addition, in another optional solution, the control device may include: a fourth detection module, used to detect the state of the sound-emitting device 200 .
[0176] The fifth control module controls the first blocking mechanism 300 or the second blocking mechanism 400 to transform into a conical cylindrical member when the sound-emitting device 200 is in the external sound state, the opening area of the first port of the conical cylindrical member is larger than the opening area of the second port of the conical cylindrical member, and the first port is connected to the first sound outlet hole 110 or the second sound outlet hole 120. The sound-emitting device 200 can output sound from the first sound outlet hole 110 or the second sound outlet hole 120 through the conical cylindrical member.
[0177] Figure 6 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present application.
[0178] The electronic device 1200 includes but is not limited to: a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, a processor 1210, and a power supply 1211. Those skilled in the art will appreciate that Figure 6 The structure of the electronic device 1200 shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiment of the present application, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.
[0179] The sensor 1205 is used to detect the state of the electronic device. When the electronic device is in the first state, the processor 1210 controls the first blocking mechanism 300 to block the first sound outlet hole 110 and controls the second blocking mechanism 400 to avoid the second sound outlet hole 120, so that the sound device 200 is connected to the second sound outlet hole 120 through the sound guide channel 130; when the electronic device is in the second state, the processor 1210 controls the first blocking mechanism 300 to avoid the first sound outlet hole 110 and controls the second blocking mechanism 400 to block the second sound outlet hole 120, so that the sound device 200 is connected to the first sound outlet hole 110.
[0180] By detecting the state of the electronic device, the first blocking mechanism 300 and the second blocking mechanism 400 are controlled to operate, thereby controlling the opening and closing of the first sound hole 110 or the second sound hole 120. Since the first sound hole 110 and the second sound hole 120 are arranged at an interval, the interval arrangement makes it difficult for the sound holes in the electronic device to be blocked by the user's hands. At the same time, under the action of the first blocking mechanism 300 and the second blocking mechanism 400, one of the first sound hole 110 and the second sound hole 120 can be in a closed state and the other can be in an open state, thereby controlling the sound to be emitted from the unblocked position.
[0181] It should be understood that in the embodiment of the present application, the radio frequency unit 1201 can be used for receiving and sending signals during information transmission or calls. Specifically, after receiving downlink data from the base station, it is sent to the processor 1210 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 1201 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 1201 can also communicate with the network and other devices through a wireless communication system.
[0182] The electronic device provides users with wireless broadband Internet access through the network module 1202, such as helping users to send and receive emails, browse web pages, and access streaming media.
[0183] The audio output unit 1203 can convert the audio data received by the RF unit 1201 or the network module 1202 or stored in the memory 1209 into an audio signal and output it as sound. Moreover, the audio output unit 1203 can also provide audio output related to a specific function performed by the electronic device 1200 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 1203 includes a speaker, a buzzer, a receiver, etc.
[0184] The input unit 1204 is used to receive audio or video signals. The input unit 1204 may include a graphics processor (GPU) 12041 and a microphone 12042. The graphics processor 12041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 1206. The image frame processed by the graphics processor 12041 can be stored in the memory 1209 (or other storage medium) or sent via the radio frequency unit 1201 or the network module 1202. The microphone 12042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 1201 in the case of a telephone call mode.
[0185] The electronic device 1200 also includes at least one sensor 1205, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 12061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 12061 and / or the backlight when the electronic device 1200 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 1205 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.
[0186] The display unit 1206 is used to display information input by the user or information provided to the user. The display unit 1206 may include a display panel 12061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0187] The user input unit 1207 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by users using fingers, styluses, or any other suitable objects or accessories on or near the touch panel 12071). The touch panel 12071 may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact point coordinates, and then sends it to the processor 1210, receives the command sent by the processor 1210 and executes it. In addition, the touch panel 12071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 12071, the user input unit 1207 may also include other input devices 12072. Specifically, other input devices 12072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
[0188] Furthermore, the touch panel 12071 may be overlaid on the display panel 12061. When the touch panel 12071 detects a touch operation on or near it, it is transmitted to the processor 1210 to determine the type of touch event. Then, the processor 1210 provides corresponding visual output on the display panel 12061 according to the type of touch event. Figure 6 In the figure, the touch panel 12071 and the display panel 12061 are two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 12071 and the display panel 12061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.
[0189] The interface unit 1208 is an interface for connecting an external device to the electronic device 1200. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 1208 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 1200 or may be used to transmit data between the electronic device 1200 and an external device.
[0190] The memory 1209 can be used to store software programs and various data. The memory 1209 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the memory 1209 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0191] The processor 1210 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 1209 and calling data stored in the memory 1209, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 1210 may include one or more processing units; optionally, the processor 1210 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1210.
[0192] The electronic device 1200 may also include a power supply 1211 (such as a battery) for supplying power to each component. Optionally, the power supply 1211 may be logically connected to the processor 1210 via a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system.
[0193] In addition, the electronic device 1200 includes some functional modules not shown, which will not be described here.
[0194] Optionally, an embodiment of the present application also discloses a terminal device, including a processor 1210, a memory 1209, and a program or instruction stored in the memory 1209 and executable on the processor 1210. When the program or instruction is executed by the processor 1210, each process of any of the above-mentioned method embodiments is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0195] The embodiment of the present application also discloses a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by the processor 1210, each process of any of the above-mentioned method embodiments is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0196] An embodiment of the present application discloses a computer program product. The computer program product is stored in a non-volatile storage medium. The program product is configured to be executed by at least one processor to implement the steps of the control method described above.
[0197] An embodiment of the present application discloses a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the control method described above.
[0198] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0199] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0200] The above embodiments of the present application focus on describing the differences between the various embodiments. As long as the different optimization features between the various embodiments are not contradictory, they can be combined to form a better embodiment. Considering the simplicity of the text, they will not be repeated here.
[0201] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. An electronic device, characterized in that: The invention comprises a device housing (100), a sound-generating device (200), a first blocking mechanism (300) and a second blocking mechanism (400), wherein the sound-generating device (200) is arranged inside the device housing (100), the device housing (100) is provided with a first sound outlet hole (110), a second sound outlet hole (120) and a sound guide channel (130), the sound guide channel (130) is connected with the first sound outlet hole (110) and the second sound outlet hole (120), the first sound outlet hole (110) and the second sound outlet hole (120) are arranged at intervals, and the sound-generating device (200) is connected with at least one of the first sound outlet hole (110) and the second sound outlet hole (120) through the sound guide channel (130); The first blocking mechanism (300) and the second blocking mechanism (400) are both arranged on the device housing (100), and the first blocking mechanism (300) is distributed corresponding to the first sound outlet hole (110), and the second blocking mechanism (400) is distributed corresponding to the second sound outlet hole (120), the first blocking mechanism (300) has a first blocking state for blocking the first sound outlet hole (110), and a first avoidance state for avoiding the first sound outlet hole (110), and the second blocking mechanism (400) has a second blocking state for blocking the second sound outlet hole (120), and a second avoidance state for avoiding the second sound outlet hole (120); When the electronic device is in the first state, the first blocking mechanism (300) is in the first blocking state, the second blocking mechanism (400) is in the second avoidance state, and the sound-generating device (200) is in communication with the second sound outlet (120); When the electronic device is in the second state, the first blocking mechanism (300) is in the first avoidance state, the second blocking mechanism (400) is in the second blocking state, and the sound-generating device (200) is in communication with the first sound outlet (110).
2. The electronic device according to claim 1, characterized in that: When the electronic device is in the third state, the first blocking mechanism (300) is in the first blocking state, and the second blocking mechanism (400) is in the second blocking state.
3. The electronic device according to claim 1, characterized in that: When the electronic device is in the fourth state, the first blocking mechanism (300) is in the first avoidance state, and the second blocking mechanism (400) is in the second avoidance state.
4. The electronic device according to claim 1, characterized in that: The first blocking mechanism (300) is an electrodeformable structure, and when the electrodeformable structure is in an energized state, at least a portion of the electrodeformable structure is deformed to a position for blocking the first sound outlet (110), and when the electrodeformable structure is in an energized state, the electrodeformable structure avoids the first sound outlet (110); and / or, The second blocking mechanism (400) is an electrodeformable structure. When the electrodeformable structure is in an energized state, at least a portion of the electrodeformable structure is deformed to a position for blocking the second sound outlet (120). When the electrodeformable structure is in an energized state, the electrodeformable structure avoids the second sound outlet (120).
5. The electronic device according to claim 4, characterized in that: The electrodeformable structure includes an ion-conducting driving sheet, which includes an ion-exchange resin layer and a first electrode layer and a second electrode layer respectively disposed on two opposite surfaces of the ion-exchange resin layer, wherein the ion-exchange resin layer contains a polymer electrolyte.
6. The electronic device according to claim 5, characterized in that: There is one ion-conducting driving plate. When the voltage applied to the ion-conducting driving plate is a first voltage, the ion-conducting driving plate moves along a first direction to a position that blocks and cooperates with the first sound outlet (110). When the voltage applied to the ion-conducting driving plate is a second voltage, the ion-conducting driving plate moves along a second direction to a position that avoids the first sound outlet (110), wherein the first voltage and the second voltage have opposite polarities, and the first direction and the second direction are opposite; and / or, There is one ion-conducting driving plate. When the voltage applied to the ion-conducting driving plate is a first voltage, the ion-conducting driving plate moves along a first direction to a position that cooperates with the second sound outlet hole (120) for sealing. When the voltage applied to the ion-conducting driving plate is a second voltage, the ion-conducting driving plate moves along a second direction to a position that avoids the second sound outlet hole (120), wherein the polarity of the first voltage is opposite to that of the second voltage, and the first direction is opposite to the second direction.
7. The electronic device according to claim 6, characterized in that: There is one ion-conducting driving plate. When the voltage applied to the ion-conducting driving plate is a first voltage, the ion-conducting driving plate moves along a first direction at a first speed to a position that matches with the first sound outlet (110) for blocking. When the voltage applied to the ion-conducting driving plate is a third voltage, the ion-conducting driving plate moves along a first direction at a second speed to a position that avoids the first sound outlet (110), wherein the first voltage and the third voltage have the same polarity, the third voltage is greater than the first voltage, and the first speed is less than the second speed; and / or, The ion-conducting driving plate is one, and when the voltage applied to the ion-conducting driving plate is a first voltage, the ion-conducting driving plate moves along a first direction at a first speed to a position that cooperates with the second sound outlet hole (120) for sealing, and when the voltage applied to the ion-conducting driving plate is a third voltage, the ion-conducting driving plate moves along a first direction at a second speed to a position that avoids the second sound outlet hole (120), wherein the first voltage and the third voltage have the same polarity, and the third voltage is greater than the first voltage, and the first speed is less than the second speed.
8. The electronic device according to claim 5, characterized in that: There are two ion-conducting driving sheets, and the two ion-conducting driving sheets form a conical cylindrical member, the opening area of the first port of the conical cylindrical member is larger than the opening area of the second port of the conical cylindrical member, the first port is connected to the first sound outlet (110), when the first blocking mechanism (300) is in the first blocking state, the second port is closed, and when the first blocking mechanism (300) is in the first avoidance state, the second port is open; and / or, There are two ion-conducting driving plates, and the two ion-conducting driving plates form a conical cylindrical member. The opening area of the first port of the conical cylindrical member is larger than the opening area of the second port of the conical cylindrical member. The first port is connected to the second sound outlet (120). When the second blocking mechanism (400) is in the second blocking state, the second port is closed. When the second blocking mechanism (400) is in the second avoidance state, the second port is opened.
9. The electronic device according to claim 5, characterized in that: There are two ion-conducting drive sheets, and when the first blocking mechanism (300) is in the first blocking state, the two ion-conducting drive sheets are deformed to a state of being in contact with each other, and the two ion-conducting drive sheets form a whole that blocks the first sound outlet (110); when the first blocking mechanism (300) is in the first avoidance state, the local opposing areas of the two ion-conducting drive sheets are away from each other, and the two ion-conducting drive sheets form a cylindrical structure connected to the first sound outlet (110); and / or, There are two ion-conducting driving plates. When the second blocking mechanism (400) is in the second blocking state, the two ion-conducting driving plates are deformed to a state of being in contact with each other, and the two ion-conducting driving plates form an integral blockage of the second sound outlet hole (120); when the second blocking mechanism (400) is in the second avoidance state, the local opposing areas of the two ion-conducting driving plates are away from each other, and the two ion-conducting driving plates form a tubular structure connected to the second sound outlet hole (120).
10. The electronic device according to claim 1, characterized in that: The device housing (100) comprises a middle frame, and the sound guide channel (130), the first sound outlet hole (110) and the second sound outlet hole (120) are all opened on the middle frame.
11. The electronic device according to claim 10, characterized in that: The middle frame comprises a first frame extending along the length direction of the electronic device and a second frame extending along the width direction of the electronic device, the first sound outlet hole (110) is provided in the first frame, and the second sound outlet hole (120) is provided in the second frame.
12. A method for controlling an electronic device, characterized in that: The invention comprises a device housing (100), a sound-generating device (200), a first blocking mechanism (300) and a second blocking mechanism (400), wherein the sound-generating device (200) is arranged inside the device housing (100), the device housing (100) is provided with a first sound outlet hole (110), a second sound outlet hole (120) and a sound guide channel (130), the sound guide channel (130) is connected with the first sound outlet hole (110) and the second sound outlet hole (120), the first sound outlet hole (110) and the second sound outlet hole (120) are arranged at intervals, and the sound-generating device (200) is connected with at least one of the first sound outlet hole (110) and the second sound outlet hole (120) through the sound guide channel (130); The first blocking mechanism (300) and the second blocking mechanism (400) are both arranged on the device housing (100), and the first blocking mechanism (300) is distributed corresponding to the first sound outlet hole (110), and the second blocking mechanism (400) is distributed corresponding to the second sound outlet hole (120), the first blocking mechanism (300) has a first blocking state for blocking the first sound outlet hole (110), and a first avoidance state for avoiding the first sound outlet hole (110), and the second blocking mechanism (400) has a second blocking state for blocking the second sound outlet hole (120), and a second avoidance state for avoiding the second sound outlet hole (120); the control method comprises: Detecting the status of electronic devices; When the electronic device is in the first state, controlling the first blocking mechanism (300) to be in the first blocking state and the second blocking mechanism (400) to be in the second avoidance state, so that the sound-generating device (200) is in communication with the second sound outlet (120); When the electronic device is in the second state, the first blocking mechanism (300) is controlled to be in the first avoidance state and the second blocking mechanism (400) is controlled to be in the second blocking state, so that the sound-generating device (200) is connected to the first sound outlet (110).
13. The control method according to claim 12, characterized in that: The control method further comprises: When the electronic device is in a third state, the first blocking mechanism (300) is controlled to be in a first blocking state and the second blocking mechanism (400) is controlled to be in a second blocking state, and the third state is that the electronic device is in a silent state or a standby state.
14. The control method according to claim 12, characterized in that: The control method further comprises: Detecting the file type currently running on the electronic device; In a case where the file type includes an audio file, the current state of the electronic device is determined to be the first state or the second state.
15. The control method according to claim 12, characterized in that: The detecting the state of the electronic device comprises: Detecting the states of the first sound outlet hole (110) and the second sound outlet hole (120); When the first sound outlet hole (110) is covered by a finger and the second sound outlet hole (120) is not covered by a finger, determining the state of the electronic device to be a first state; When the first sound outlet hole (110) is not covered by a finger and the second sound outlet hole (120) is covered by a finger, the state of the electronic device is determined to be a second state.
16. The control method according to claim 12, characterized in that: The control method comprises: Detecting the state of the sound-generating device (200); When the sound-generating device (200) is in an external sounding state, the first blocking mechanism (300) is controlled to be in a first avoidance state and the second blocking mechanism (400) is controlled to be in a second avoidance state.
17. The control method according to claim 16, characterized in that: The control method comprises: Detecting the state of the sound-generating device (200); When the sound-emitting device (200) is in an external sounding state, the first blocking mechanism (300) or the second blocking mechanism (400) is controlled to be transformed into a conical cylindrical member, the opening area of the first port of the conical cylindrical member is larger than the opening area of the second port of the conical cylindrical member, and the first port is connected to the first sound outlet hole (110) or the second sound outlet hole (120).
18. A control device for an electronic device, characterized in that: The invention comprises a device housing (100), a sound-generating device (200), a first blocking mechanism (300) and a second blocking mechanism (400), wherein the sound-generating device (200) is arranged inside the device housing (100), the device housing (100) is provided with a first sound outlet hole (110), a second sound outlet hole (120) and a sound guide channel (130), the sound guide channel (130) is connected with the first sound outlet hole (110) and the second sound outlet hole (120), the first sound outlet hole (110) and the second sound outlet hole (120) are arranged at intervals, and the sound-generating device (200) is connected with at least one of the first sound outlet hole (110) and the second sound outlet hole (120) through the sound guide channel (130); The first blocking mechanism (300) and the second blocking mechanism (400) are both arranged on the device housing (100), and the first blocking mechanism (300) is distributed corresponding to the first sound outlet hole (110), and the second blocking mechanism (400) is distributed corresponding to the second sound outlet hole (120), the first blocking mechanism (300) has a first blocking state for blocking the first sound outlet hole (110), and a first avoidance state for avoiding the first sound outlet hole (110), and the second blocking mechanism (400) has a second blocking state for blocking the second sound outlet hole (120), and a second avoidance state for avoiding the second sound outlet hole (120); the control device comprises: A first detection module, used to detect the state of the electronic device; A first control module, used for controlling the first blocking mechanism (300) to be in the first blocking state and the second blocking mechanism (400) to be in the second avoidance state when the electronic device is in the first state, so that the sound-generating device (200) is in communication with the second sound outlet (120); A second control module is used to control the first blocking mechanism (300) to be in the first avoidance state and the second blocking mechanism (400) to be in the second blocking state when the electronic device is in the second state, so that the sound-generating device (200) is connected to the first sound outlet (110).
19. The control device according to claim 18, characterized in that: The control device also includes: The third control module is used to control the first blocking mechanism (300) to be in a first blocking state and the second blocking mechanism (400) to be in a second blocking state when the electronic device is in a third state, wherein the third state is when the electronic device is in a silent state or a standby state.
20. The control device according to claim 18, characterized in that The control device also includes: A second detection module, used to detect the type of file currently running on the electronic device; The first determining module is used to determine the current state of the electronic device as the first state or the second state when the file type includes an audio file.
21. The control device according to claim 18, characterized in that The first detection module comprises: A third detection module, used for detecting the states of the first sound outlet hole (110) and the second sound outlet hole (120); a second determination module, configured to determine the state of the electronic device as a first state when the first sound outlet hole (110) is covered by a finger and the second sound outlet hole (120) is not covered by a finger; The third determination module is used to determine the state of the electronic device as a second state when the first sound outlet hole (110) is not covered by a finger and the second sound outlet hole (120) is covered by a finger.
22. The control device according to claim 18, characterized in that The control device comprises: A fourth detection module, used for detecting the state of the sound-generating device (200); The fourth control module is used to control the first blocking mechanism (300) to be in a first avoidance state and the second blocking mechanism (400) to be in a second avoidance state when the sound-generating device (200) is in an external sounding state.
23. The control device according to claim 22, characterized in that: The control device comprises: A fourth detection module, used for detecting the state of the sound-generating device (200); The fifth control module controls the first blocking mechanism (300) or the second blocking mechanism (400) to transform into a conical cylindrical member when the sound-emitting device (200) is in an external sounding state, wherein the opening area of the first port of the conical cylindrical member is larger than the opening area of the second port of the conical cylindrical member, and the first port is connected to the first sound outlet hole (110) or the second sound outlet hole (120).
24. A terminal device, characterized in that: It comprises a processor (1210), a memory (1209), and a program or instruction stored in the memory (1209) and executable on the processor (1210); when the program or instruction is executed by the processor (1210), the steps of the control method described in any one of claims 12 to 17 are implemented.
25. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor (1210), the steps of the control method described in any one of claims 12 to 17 are implemented.
