Control method and device of electronic equipment and electronic equipment

By setting air holes on the speaker unit and driving the vibration system to vibrate, the problem of speaker heating is solved, effective heat dissipation and temperature reduction are achieved, and the reliability and life of the speaker are improved.

CN119511831APending Publication Date: 2025-02-25GOERTEK INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411550879.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

The speakers are prone to heat and damage after working for a period of time, and it is difficult for the prior art to effectively dissipate heat.

Method used

A pore is provided on the speaker unit, which connects the rear cavity of the speaker unit and the internal space of the electronic device. By detecting the temperature, when the temperature reaches a certain threshold, the vibration system of the speaker is driven to vibrate, speed up the gas flow rate, thereby reducing the temperature.

Benefits of technology

By accelerating the gas flow rate in electronic equipment, the temperature of speaker single and electronic equipment is effectively reduced, and the reliability and device life of speaker single are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119511831A_ABST
    Figure CN119511831A_ABST
Patent Text Reader

Abstract

The invention provides a control method and device of electronic equipment and the electronic equipment, an air hole is formed in a loudspeaker single body in the electronic equipment, the air hole is communicated with a rear cavity of the loudspeaker single body and the internal space of the electronic equipment, and the method comprises the steps that the first temperature of the electronic equipment is detected; and under the condition that the first temperature is greater than or equal to a first threshold value, driving a vibration system of the loudspeaker monomer to vibrate according to a set driving signal, so that the flow rate of gas in the electronic equipment is accelerated to reduce the temperature of the electronic equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the technical field of speakers, and more specifically, to a control method and device for an electronic device and the electronic device. Background Art

[0002] Currently, electronic devices with speakers have been used more and more widely, such as mobile phones and smart watches.

[0003] After the speaker works for a certain period of time, it will become hot and may be easily damaged. Summary of the invention

[0004] An object of the embodiments of the present disclosure is to provide a method and device for controlling an electronic device, and the electronic device.

[0005] According to a first aspect of an embodiment of the present disclosure, a control method of an electronic device is provided, wherein an air hole is provided on a speaker unit in the electronic device, and the air hole connects a rear cavity of the speaker unit with an internal space of the electronic device, and the method comprises:

[0006] detecting a first temperature of the electronic device;

[0007] When the first temperature is greater than or equal to a first threshold, the vibration system of the speaker unit is driven to vibrate according to a set driving signal, so that the gas flow rate in the electronic device is accelerated to reduce the temperature of the electronic device.

[0008] Optionally, after driving the vibration system of the speaker unit to vibrate according to the set driving signal, the method further includes:

[0009] detecting a second temperature of the speaker unit;

[0010] When the second temperature is less than or equal to a second threshold, stopping driving the vibration system to vibrate according to the set driving signal; wherein the second threshold is less than or equal to the first threshold.

[0011] Optionally, the setting driving signal makes the amplitude of the vibration system in the direction toward the air hole compared to the equilibrium position greater than the amplitude of the vibration system in the direction away from the air hole compared to the equilibrium position.

[0012] Optionally, the method further includes:

[0013] Acquire a target displacement waveform of the vibration system, wherein an amplitude of the target displacement waveform in a first direction is greater than an amplitude of the target displacement waveform in a second direction;

[0014] The set driving signal is obtained according to the target displacement waveform.

[0015] Optionally, obtaining a target displacement waveform of the vibration system includes:

[0016] Get the fundamental wave of the set frequency;

[0017] The target displacement waveform is obtained by superimposing a set harmonic component on the fundamental wave.

[0018] Optionally, the first direction is a direction in which the vibration system is directed toward the air hole compared to the equilibrium position, and the second direction is a direction in which the vibration system is directed away from the air hole compared to the equilibrium position.

[0019] Optionally, the set frequency is 200 Hz.

[0020] According to a second aspect of the present disclosure, a control device for an electronic device is provided, wherein a speaker unit in the electronic device is provided with an air hole, wherein the air hole connects a rear cavity of the speaker unit with an internal space of the electronic device, and the device comprises:

[0021] A first detection module, used to detect a first temperature of the electronic device;

[0022] The vibration driving module is used to drive the vibration system of the speaker unit to vibrate according to a set driving signal when the first temperature is greater than or equal to a first threshold, so as to accelerate the gas flow rate in the electronic device to reduce the temperature of the electronic device.

[0023] According to a third aspect of the present disclosure, an electronic device is provided, comprising a speaker unit, a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to execute the method according to the first aspect of the present disclosure under the control of the computer program;

[0024] The speaker unit is provided with an air hole, and the air hole enables the rear cavity of the speaker unit to communicate with the internal space of the electronic device.

[0025] Optionally, the speaker unit includes a yoke, and the air holes are arranged on the yoke to increase air circulation of the speaker unit in the vibration direction of the vibration system.

[0026] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method described in the first aspect of the present disclosure is implemented.

[0027] Through the embodiments of the present disclosure, when the first temperature of the speaker unit is greater than or equal to the first threshold value, the vibration system of the speaker unit is driven to vibrate according to the set driving signal, so that the gas in the speaker unit is discharged through the air hole, which can speed up the flow rate of the gas in the electronic device, reduce the temperature of the speaker unit and the electronic device, effectively dissipate the heat of the speaker unit, and improve the reliability of the speaker unit and the life of the device. In addition, the gas discharged from the speaker unit can be discharged again through the sound outlet on the electronic device, which can further reduce the temperature of the electronic device. Other features and advantages of the present invention will become clear through the following detailed description of exemplary embodiments of the present invention with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

[0029] Figure 1 is a cross-sectional view of a speaker unit according to an embodiment of the present disclosure;

[0030] Figure 2 is a bottom view of a speaker unit according to an embodiment of the present disclosure;

[0031] Figure 3 is a cross-sectional view of an electronic device according to an embodiment of the present disclosure;

[0032] Figure 4 is a flowchart of a method for controlling an electronic device according to an embodiment of the present disclosure;

[0033] Figure 5 is a schematic diagram of a target displacement waveform of a loudspeaker unit according to an embodiment of the present disclosure;

[0034] Figure 6 is a schematic diagram of a waveform of a driving signal according to an embodiment of the present disclosure;

[0035] Figure 7 is a block diagram of a control device of an electronic device according to an embodiment of the present disclosure;

[0036] Figure 8 is a block diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0037] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.

[0038] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0039] Technologies, methods and equipment known to persons of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods and equipment should be considered part of the specification.

[0040] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0041] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0042] <Speaker Unit Embodiment>

[0043] This embodiment provides a speaker unit, such as Figure 1 and Figure 2 As shown, the speaker unit 100 is provided with an air hole 111, and the air hole 111 connects the back cavity of the speaker unit 100 with the internal space of the electronic device; optionally, the speaker unit 100 includes a yoke 110 and a vibration system 120, and the yoke 110 is provided with an air hole 111, and the air hole 111 connects the back cavity of the speaker unit 100 with the outside of the speaker unit 100 to increase the air circulation of the speaker unit 100 in the vibration direction of the vibration system 120.

[0044] In this embodiment, the air holes 111 arranged on the bottom plate of the yoke 110 enable the rear cavity of the speaker unit 100 to be connected with the outside of the speaker unit 100. During the operation of the speaker unit 100, as the vibration system 120 vibrates, the high-temperature gas in the rear cavity can be discharged from the air holes 111, thereby enhancing the air circulation of the speaker unit 100 in the vibration direction of the vibration system 120, thereby reducing the temperature inside the speaker unit 100, effectively dissipating the heat of the speaker unit 100, and improving the reliability and device life of the speaker unit 100.

[0045] In this embodiment, the vibration direction of the vibration system in the vibration system 120 can be as follows: Figure 1 The direction of the double-headed arrow is shown in the figure.

[0046] In one embodiment of the present disclosure, Figure 2 As shown, a plurality of target areas 112 are arranged on the bottom plate of the yoke 110 , and the air holes 111 are arranged in the target areas 112 .

[0047] In one embodiment of the present disclosure, Figure 2 As shown, the pores 111 are evenly distributed within the target area 112 .

[0048] In one embodiment of the present disclosure, Figure 2 As shown, the bottom plate of the yoke 110 is rectangular, and the target areas 112 are distributed at the corners of the bottom plate.

[0049] In one embodiment of the present disclosure, Figure 2 As shown, the target area 112 is a triangular structure.

[0050] By setting the target area and the air holes on the bottom plate of the yoke in this embodiment, the air permeability of the speaker unit can be improved, the exposure of the magnetic circuit design inside the speaker unit can be avoided, and the design safety of the speaker unit can be guaranteed.

[0051] <Electronic Equipment Embodiment>

[0052] The present disclosure provides an electronic device, which may include the speaker unit 100 described in any of the aforementioned embodiments.

[0053] In one embodiment of the present disclosure, Figure 3 As shown, the speaker unit 100 is disposed in the electronic device so that the rear cavity 130 of the speaker unit is in communication with the internal space 310 of the electronic device.

[0054] <Method Example>

[0055] This embodiment provides a control method of an electronic device. The control method of the electronic device of this embodiment can be implemented by an electronic device, in which a speaker unit is provided with an air hole, and the air hole enables the rear cavity of the speaker unit to communicate with the outside of the speaker unit. In one example, the electronic device can be the electronic device in the above embodiment. Figure 4 As shown, the control method of the electronic device includes the following steps:

[0056] Step S4100: detecting a first temperature of the electronic device.

[0057] In one embodiment of the present disclosure, the first temperature of the electronic device may be the first temperature of a speaker unit, may be the first temperature of a back cavity of the electronic device, or may be the first temperature at any position in the electronic device.

[0058] In this embodiment, the first temperature may be detected by a temperature sensor or a thermistor.

[0059] In this embodiment, the first temperature of the speaker unit may be the first temperature of the coil of the speaker unit, or may be the first temperature of any exposed position (such as a yoke, etc.) of the speaker unit.

[0060] In the embodiment where the first temperature of the speaker unit is the first temperature of any exposed position of the speaker unit (such as a yoke, etc.), it can be detected by a temperature sensor. The first temperature can be the temperature most recently detected by the temperature sensor, or it can be a statistical value of the temperature detected by the temperature sensor within a first set time. The statistical value can be any one of an average value, a median, a maximum value, and a minimum value.

[0061] It is understandable that the first set time may be pre-set according to an application scenario or specific requirements. For example, the first set time may be 1 second.

[0062] In an embodiment where the first temperature of the speaker unit is the first temperature of the coil of the speaker unit, a first current flowing through the coil and a first voltage across the coil may be detected, and the first temperature may be determined based on the first current and the first voltage.

[0063] In this embodiment, the first current flowing through the coil may be detected by a current detection circuit, and the first voltage across the coil may be detected by a voltage detection circuit.

[0064] In this embodiment, the first impedance of the coil at the moment may be obtained based on the first current flowing through the coil and the first voltage across the coil at the same moment; and the temperature of the coil may be determined based on the first impedance.

[0065] It is understandable that the temperature of the coil may be a temperature obtained according to the latest first impedance, or may be a statistical value of the temperature corresponding to the first impedance of the coil at multiple moments in the first set period of time. The statistical value may be any one of an average value, a median, a maximum value, and a minimum value.

[0066] In this embodiment, mapping data reflecting the mapping relationship between impedance and temperature may be preset; based on the first impedance and the mapping data, a temperature corresponding to the first impedance is obtained as the temperature of the coil.

[0067] The mapping data may be a mapping function or a comparison table, etc., which is not limited here.

[0068] For the mapping function, the dependent variable of the mapping function is temperature, and the independent variable is impedance. Thus, by substituting the first impedance into the mapping function, the temperature corresponding to the first impedance can be obtained.

[0069] For the comparison table, the temperature corresponding to the first impedance can be found in the comparison table. If the first impedance cannot be directly found in the comparison table, two values ​​adjacent to the first impedance can be found, and the temperature corresponding to the first impedance can be obtained by interpolation according to the two values ​​and the temperatures corresponding to the two values.

[0070] Step S4200, when the first temperature is greater than or equal to the first threshold, driving the vibration system of the speaker unit to vibrate according to the set driving signal, so that the gas flow rate in the electronic device is accelerated to reduce the temperature of the electronic device.

[0071] When the first temperature is greater than or equal to the first threshold, it indicates that the temperature of the gas in the electronic device is too high, which may damage the performance of the electronic device or the life of the components in the electronic device. Therefore, the vibration system of the speaker unit is driven to vibrate according to the set driving signal, so that the gas in the speaker unit is discharged through the pores, which can speed up the flow rate of the gas in the electronic device, reduce the temperature of the speaker unit and the electronic device, effectively dissipate the heat of the speaker unit, and improve the reliability of the speaker unit and the life of the components. In addition, the gas discharged from the speaker unit can be discharged again through the sound outlet on the electronic device, which can further reduce the temperature of the electronic device.

[0072] In one embodiment of the present disclosure, the frequency of the driving signal may be set to a frequency that is imperceptible to human ears.

[0073] Select a suitable frequency as the fundamental frequency of the target displacement (or acceleration) waveform of the vibration system of the speaker unit. Specifically, the lower the fundamental frequency, the longer the duration of a single cycle of the target displacement (or acceleration) waveform of the vibration system, the longer the duration of the vibration system close to the opening of the shell and subject to a large driving force, and the greater the possibility of high-temperature gas discharge. However, if the fundamental frequency is too low, the driving voltage and power consumption required to produce the same amplitude will be too large, exceeding the speaker hardware tolerance limit. Therefore, a suitable frequency can be selected as the fundamental frequency, such as 200Hz.

[0074] In one embodiment of the present disclosure, the method may further include: obtaining a target displacement waveform of the vibration system, wherein the amplitude of the target displacement waveform in a first direction is greater than the amplitude of the target displacement waveform in a second direction; and obtaining a set drive signal according to the target displacement waveform.

[0075] In this embodiment, the first direction is the direction in which the vibration system faces the air hole compared to the equilibrium position, and the second direction is the direction in which the vibration system faces away from the air hole compared to the equilibrium position. For example, the first direction is a positive direction, and the second direction is a negative direction.

[0076] In one embodiment of the present disclosure, obtaining a target displacement waveform of a vibration system includes: obtaining a fundamental wave of a set frequency; and superimposing a set harmonic component on the fundamental wave to obtain a target displacement waveform.

[0077] In this embodiment, the target displacement waveform presents certain positive and negative amplitude asymmetry characteristics, such as Figure 5As shown. Among them, the direction indicated by the area with a larger amplitude in the asymmetric waveform corresponds to the direction in which the vibration system deviates from the equilibrium position toward the pore.

[0078] According to the target displacement waveform and the model parameters of the speaker unit, the driving voltage waveform required to achieve the target displacement waveform can be solved, that is, the waveform of the set driving signal, such as Figure 6 shown.

[0079] On this basis, continuously applying the set driving signal to drive the speaker unit can increase the probability of rapid discharge of the heated gas, effectively dissipate the heat of the speaker unit, and improve the reliability and device life of the speaker unit.

[0080] In one embodiment of the present disclosure, the driving signal is set so that the amplitude of the vibration system toward the air hole compared to the equilibrium position is greater than the amplitude of the vibration system toward the air hole compared to the equilibrium position.

[0081] Through the embodiments of the present disclosure, when the first temperature of the speaker unit is greater than or equal to the first threshold, the vibration system of the speaker unit is driven to vibrate according to the set driving signal, so that the gas in the speaker unit is discharged through the air hole, which can speed up the flow rate of the gas in the electronic device, reduce the temperature of the speaker unit and the electronic device, effectively dissipate the heat of the speaker unit, and improve the reliability and device life of the speaker unit. In addition, the gas discharged from the speaker unit can be discharged again through the sound outlet on the electronic device, which can further reduce the temperature of the electronic device.

[0082] In one embodiment of the present disclosure, after driving the vibration system of the speaker unit to vibrate according to the set driving signal, the method further includes: detecting a second temperature of the speaker unit; when the second temperature is less than or equal to a second threshold, stopping driving the vibration system to vibrate according to the set driving signal; wherein the second threshold is less than or equal to the first threshold.

[0083] In this embodiment, the method for obtaining the second temperature can refer to the method for obtaining the first temperature mentioned above. The second temperature is the temperature obtained in the process of driving the vibration system of the speaker unit to vibrate according to the set driving signal, and the first temperature is the temperature obtained when the vibration system of the speaker unit is not driven to vibrate according to the set driving signal.

[0084] When the second temperature is less than or equal to the second threshold, it means that the temperature of the gas in the speaker unit will not cause damage to the performance or life of the speaker unit. Therefore, stopping driving the vibration system to vibrate according to the set driving signal can reduce the power consumption of the speaker unit while ensuring the reliability and life of the speaker unit.

[0085] <Device Embodiment>

[0086] This embodiment also provides a control device for an electronic device. The control method for an electronic device of this embodiment can be implemented by an electronic device, wherein a speaker unit in the electronic device is provided with an air hole, and the air hole enables the rear cavity of the speaker unit to communicate with the outside of the speaker unit. Figure 7 As shown, the control device 7000 of the electronic device includes a first detection module 7100 and a vibration driving module 7200 .

[0087] The first detection module 7100 is used to detect a first temperature of the electronic device.

[0088] The vibration driving module 7200 is used to drive the vibration system of the speaker unit to vibrate according to a set driving signal when the first temperature is greater than or equal to a first threshold, so as to accelerate the gas flow rate in the electronic device to reduce the temperature of the electronic device.

[0089] In one embodiment of the present disclosure, the control device 7000 of the electronic device further includes:

[0090] A second detection module, used to detect a second temperature of the speaker unit;

[0091] The vibration driving module 7200 is used to stop driving the vibration system to vibrate according to the set driving signal when the second temperature is less than or equal to a second threshold; wherein the second threshold is less than or equal to the first threshold.

[0092] In one embodiment of the present disclosure, the setting driving signal makes the amplitude of the vibration system in the direction toward the air hole compared to the equilibrium position greater than the amplitude of the vibration system in the direction away from the air hole compared to the equilibrium position.

[0093] In one embodiment of the present disclosure, the control device 7000 of the electronic device further includes:

[0094] a module for acquiring a target displacement waveform of the vibration system, wherein an amplitude of the target displacement waveform in a first direction is greater than an amplitude of the target displacement waveform in a second direction;

[0095] A module for obtaining the set driving signal according to the target displacement waveform.

[0096] In one embodiment of the present disclosure, the step of obtaining a target displacement waveform of the vibration system includes:

[0097] Get the fundamental wave of the set frequency;

[0098] The target displacement waveform is obtained by superimposing a set harmonic component on the fundamental wave.

[0099] In one embodiment of the present disclosure, the first direction is a direction in which the vibration system is directed toward the air hole compared to the equilibrium position, and the second direction is a direction in which the vibration system is directed away from the air hole compared to the equilibrium position.

[0100] In one embodiment of the present disclosure, the set frequency is 200 Hz.

[0101] <Electronic Equipment Embodiment>

[0102] This embodiment also provides an electronic device 8000, such as Figure 8 As shown, the electronic device 8000 includes a speaker unit 8100, a processor 8200 and a memory 8300, wherein the memory 8300 is used to store a computer program, and the processor 8200 is used to execute a method in any method embodiment of the present disclosure under the control of the computer program;

[0103] The speaker unit 8100 is provided with air holes, and the air holes enable the rear cavity of the speaker unit to communicate with the outside of the speaker unit.

[0104] In one embodiment of the present disclosure, the speaker unit 8100 is disposed in the electronic device at a position such that the air hole is in communication with an internal space of the electronic device.

[0105] In one embodiment of the present disclosure, the speaker unit 8100 includes a yoke, and air holes are provided on the yoke to increase air circulation of the speaker unit in the vibration direction of the vibration system.

[0106] <Readable Storage Medium Embodiment>

[0107] This embodiment provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method described in any method embodiment of the present disclosure is executed.

[0108] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0109] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0110] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0111] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.

[0112] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.

[0113] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0114] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0115] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0116] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.

Claims

1. A control method for an electronic device, characterized in that: The speaker unit in the electronic device is provided with an air hole, and the air hole connects the rear cavity of the speaker unit with the internal space of the electronic device, and the method includes: detecting a first temperature of the electronic device; When the first temperature is greater than or equal to a first threshold, the vibration system of the speaker unit is driven to vibrate according to a set driving signal, so that the gas flow rate in the electronic device is accelerated to reduce the temperature of the electronic device.

2. The method according to claim 1, characterized in that After driving the vibration system of the speaker unit to vibrate according to the set driving signal, the method further includes: detecting a second temperature of the electronic device; When the second temperature is less than or equal to a second threshold, stopping driving the vibration system to vibrate according to the set driving signal; wherein the second threshold is less than or equal to the first threshold.

3. The method according to claim 1, characterized in that The setting driving signal makes the amplitude of the vibration system in a direction toward the air hole compared to the equilibrium position greater than the amplitude of the vibration system in a direction away from the air hole compared to the equilibrium position.

4. The method according to claim 3, characterized in that The method further comprises: Acquire a target displacement waveform of the vibration system, wherein an amplitude of the target displacement waveform in a first direction is greater than an amplitude of the target displacement waveform in a second direction; The set driving signal is obtained according to the target displacement waveform.

5. The method according to claim 4, characterized in that The step of obtaining a target displacement waveform of the vibration system includes: Get the fundamental wave of the set frequency; The target displacement waveform is obtained by superimposing a set harmonic component on the fundamental wave.

6. The method according to claim 4, characterized in that The first direction is a direction in which the vibration system is directed toward the air hole compared to the equilibrium position, and the second direction is a direction in which the vibration system is directed away from the air hole compared to the equilibrium position.

7. The method according to claim 4, characterized in that The set frequency is 200 Hz.

8. A control device for an electronic device, characterized in that: The speaker unit in the electronic device is provided with an air hole, and the air hole connects the rear cavity of the speaker unit with the internal space of the electronic device, and the device includes: A first detection module, used to detect a first temperature of the electronic device; The vibration driving module is used to drive the vibration system of the speaker unit to vibrate according to a set driving signal when the first temperature is greater than or equal to a first threshold, so as to accelerate the gas flow rate in the electronic device to reduce the temperature of the electronic device.

9. An electronic device, characterized in that: The device comprises a speaker unit, a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to execute the method according to any one of claims 1 to 7 under the control of the computer program; The speaker unit is provided with an air hole, and the air hole enables the rear cavity of the speaker unit to communicate with the internal space of the electronic device.

10. The electronic device according to claim 9, characterized in that: The speaker unit includes a yoke, and the air hole is arranged on the yoke to increase air circulation of the speaker unit in the vibration direction of the vibration system.