A method, device, electronic device and storage medium for speaker adjustment
By setting up a pop-up camera module in the electronic device to communicate with the rear cavity of the speaker, enlarge the rear cavity space, and adjusting the audio parameters in combination with the control unit, the problem of poor audio low frequency effect caused by insufficient rear cavity space of the speaker is solved, and sound quality improvement and cost reduction are achieved.
Patent Information
- Application Number
- CN202011028792.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-25
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2040-09-25
AI Technical Summary
With the thinning of electronic devices, the rear cavity space of the speaker is reduced, resulting in poor audio low frequency effect. The existing technology such as adding bass powder or passive vibration backplane increases production costs and affects user experience.
By setting up a pop-up camera module and speakers in the electronic device, the space reserved when the camera module pops up is used to communicate with the speaker's rear cavity body, enlarge the rear cavity space, adjust the audio playback parameters in combination with the control unit to optimize the audio playback effect.
It improves the low frequency effect of the speaker, improves the audio quality, meets user needs, and reduces production costs.
Smart Images

Figure CN114257673B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of speakers, and in particular, to a method and device for adjusting a speaker, an electronic device, and a storage medium. Background Art
[0002] With the progress of society, electronic devices such as mobile phones are constantly innovating. Many manufacturers pay more and more attention to the thinness and lightness of the body, making the internal space layout of electronic devices more and more compact, which affects the efficacy of each component inside the electronic device.
[0003] For example, the audio playback device in an electronic device such as a mobile phone. Due to the limitation of the internal structure of the electronic device, the available space left for the audio playback device is getting smaller and smaller, making the audio quality of the current electronic device unable to meet the needs of users. Therefore, how to improve the space utilization rate inside the electronic device and improve the audio playback effect of the electronic device has become an urgent problem to be solved. Summary of the Invention
[0004] To overcome the problems existing in the related art, the present disclosure provides a method and device for adjusting a speaker, an electronic device, and a storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, an electronic device is provided, including a pop-up camera module and a speaker. The speaker includes a rear cavity body. The electronic device further includes an adjustment cavity for accommodating the camera module. When the camera module pops out to the outside of the electronic device, the rear cavity body communicates with the adjustment cavity to jointly form the rear cavity of the speaker in a preset state.
[0006] Optionally, the electronic device further includes an adjustment component, which includes a moving part and a driving part. The driving part is connected to the moving part and outputs a driving force. The moving part is connected to the camera module. Under the action of the driving force, the moving part drives the camera module to extend out of the electronic device or retract into the electronic device.
[0007] Optionally, the electronic device further includes a control unit, which is electrically connected to the speaker and the driving part respectively;
[0008] The control unit is configured to output a first control driving signal to the driving part and simultaneously output a first state parameter to the speaker when outputting a first control driving signal to the driving part; and output a second control driving signal to the driving part and simultaneously output a second state parameter to the speaker when outputting a second control driving signal to the driving part.
[0009] Optionally, the speaker includes a power amplifier unit and a playback unit, and the control unit is electrically connected to the playback unit through the power amplifier unit.
[0010] Optionally, the moving part includes a driving shaft and a connecting unit. The connecting unit is slidably connected to the driving shaft and is electrically connected to the driving part;
[0011] The connecting unit is fixedly connected to the camera module. Under the driving force output by the driving part, the connecting unit slides along the driving shaft.
[0012] According to a second aspect of the embodiments of the present disclosure, a speaker adjustment method is provided, which is applied to an electronic device with a pop-up camera module. The method includes:
[0013] Based on the received audio playback instruction, determine the status information of the adjustment cavity, where the status information is used to indicate whether the camera module is accommodated in the adjustment cavity;
[0014] According to the status information, determine the audio playback parameters corresponding to the status information;
[0015] Play the audio information according to the audio playback parameters.
[0016] Optionally, the determining the status information of the adjustment cavity based on the received audio playback instruction includes:
[0017] Based on the received audio playback instruction, obtain the displacement information of the camera module;
[0018] According to the displacement information, determine the status information of the adjustment cavity.
[0019] Optionally, the determining the audio playback parameters corresponding to the status information according to the status information includes:
[0020] When the status information is that the camera module is accommodated in the adjustment cavity, determine the first status parameter as the audio playback parameter;
[0021] When the status information is that the camera module is not accommodated in the adjustment cavity, determine the second status parameter as the audio playback parameter.
[0022] Optionally, the playing the audio information according to the audio playback parameters includes:
[0023] According to the audio playback parameters, determine the playback power;
[0024] Play the audio information according to the playback power.
[0025] According to a third aspect of the embodiments of the present disclosure, a speaker adjustment device is provided, which is applied to an electronic device with a pop-up camera module. The adjustment device includes:
[0026] A determination module, configured to determine status information of an adjustment cavity based on a received audio playback instruction, where the status information is used to indicate whether the camera module is accommodated in the adjustment cavity;
[0027] The determination module is further configured to determine audio playback parameters corresponding to the status information according to the status information;
[0028] A playback module, configured to play audio information according to the audio playback parameters.
[0029] According to a fourth aspect of the embodiments of the present disclosure, an electronic device is provided, including:
[0030] A processor and a memory for storing executable instructions of the processor;
[0031] Wherein, the processor is configured to execute the adjustment method as described above.
[0032] According to a fifth aspect of the embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the adjustment method as described above.
[0033] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: By connecting the adjustment cavity for accommodating the camera module with the rear cavity body, the size of the rear cavity space of the electronic device is increased, the low-frequency effect of the audio is improved, the audio quality is enhanced, and the user's demand for audio quality is met. At the same time, by using the adjustment cavity reserved after the camera module pops out to the outside of the electronic device, the rear cavity of the speaker is enlarged, and the production cost of the speaker is reduced.
[0034] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present invention and used together with the specification to explain the principles of the present invention.
[0036] Figure 1 is a schematic diagram of an electronic device shown according to an exemplary embodiment.
[0037] Figure 2 is a schematic diagram of an electronic device shown according to an exemplary embodiment.
[0038] Figure 3 is a block diagram of an electronic device shown according to an exemplary embodiment.
[0039] Figure 4It is a flowchart of a method shown according to an exemplary embodiment.
[0040] Figure 5 It is a flowchart of a method shown according to an exemplary embodiment.
[0041] Figure 6 It is a flowchart of a method shown according to an exemplary embodiment.
[0042] Figure 7 It is a block diagram of a device shown according to an exemplary embodiment.
[0043] Figure 8 It is a block diagram of an electronic device shown according to an exemplary embodiment. Detailed implementation
[0044] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0045] In the related art, the audible frequency range that the human ear can accept is 20HZ - 20KHZ, while the frequency of the speaker of electronic devices such as mobile phones for playing audio is usually above 500HZ. When the speaker of an electronic device such as a mobile phone is working, the sensitivity of the high-frequency band of the audio is relatively higher than that of other bands. Without the low-frequency band, too much high-frequency band is just a kind of noise when the electronic device such as a mobile phone plays audio. And the size of the rear cavity space of the speaker directly determines the sound quality effect of the low-frequency part of the audio. The larger the rear cavity space, the smaller the acoustic resistance, the better the low-frequency effect, the higher the reduction degree of the audio, and the more pleasant the audio played by the speaker. On the contrary, the smaller the rear cavity space, the worse the low-frequency effect, the greater the acoustic resistance, and the more noisy the audio played by the speaker.
[0046] However, due to the thinning process of electronic devices such as mobile phones, the available space left for the rear cavity of the speaker is getting smaller and smaller, affecting the sound quality of the audio bass.
[0047] In one example, bass powder is added in the rear cavity space of the electronic device to virtually increase the rear cavity space to improve the low-frequency effect of the speaker. However, the bass powder is expensive, increasing the production cost of the speaker.
[0048] In another example, a passive vibration backplane is added to the rear cavity space of the electronic device to improve the low-frequency effect of the speaker. However, the vibration backplane will not only increase the production cost of the speaker, but also increase the vibration amount of the back cover of the electronic device, affecting the user experience when holding the device.
[0049] The present disclosure provides an electronic device, which can be, for example, a mobile phone, a tablet computer, etc. The electronic device includes a pop-up camera module and a speaker. The pop-up camera module and the speaker are arranged adjacent to each other, so that the speaker can utilize the space reserved after the pop-up camera module extends out of the electronic device to increase the volume of the space of the rear cavity and improve the low-frequency effect of the speaker. Among them, the speaker includes a rear cavity body, and the electronic device includes an adjustment cavity for accommodating the camera module. When the camera module pops out of the electronic device, the rear cavity body communicates with the adjustment cavity to jointly form the rear cavity of the speaker in a preset state. The communication between the rear cavity body and the adjustment cavity increases the volume of the space of the rear cavity of the speaker, improves the low-frequency effect of the speaker, improves the audio sound quality, and meets the user's requirements for sound quality.
[0050] In an exemplary embodiment, as Figures 1-3 shown, an electronic device includes a pop-up camera module 1 and a speaker. The pop-up camera module 1 and the speaker are arranged adjacent to each other. The speaker includes a rear cavity body 2, and the electronic device further includes an adjustment cavity 3 for accommodating the camera module 1. When the camera module 1 is accommodated in the adjustment cavity 3, the rear cavity body 2 is the rear cavity of the speaker. When the camera module 1 pops out of the electronic device, the rear cavity body 2 communicates with the adjustment cavity 3 to jointly form the rear cavity of the speaker in a preset state. Among them, the preset state is the pop-up state of the camera module 1. By utilizing the adjustment cavity 3 vacated when the camera module 1 pops out of the electronic device, the volume of the overall space of the rear cavity of the speaker is increased, the low-frequency effect of the speaker is improved, and the user's requirements for audio sound quality are met.
[0051] In this embodiment, still referring to Figures 1-3 shown, the electronic device further includes an adjustment component, and the adjustment component includes a moving part 4 and a driving part 6. The driving part 6 can be, for example, a pneumatic unit or a hydraulic unit, etc. The driving part 6 is connected to the moving part 4 and outputs a driving force to drive the moving part 4 to move. The moving part 4 is connected to the camera module 1. Under the action of the driving force, the camera module 1 is driven by the movement of the moving part 4 to extend out of the electronic device or retract into the interior of the electronic device to adjust the volume of the rear cavity space of the speaker and improve the sound quality of the speaker.
[0052] Among them, the moving part 4 includes a driving shaft 41 and a connecting unit 42. The connecting unit 42 is slidably connected to the driving shaft 41, and the connecting unit 42 is electrically connected to the driving part 6. The connecting unit 42 is fixedly connected to the camera module 1. The connecting unit 42 can be, for example, a frame structure, and the camera module 1 is fitted into the frame structure, so that the camera module 1 and the moving part 41 in the form of a frame structure form an integral body. Under the action of the driving force output by the driving part 6, the connecting unit 42 slides along the driving shaft 41. For example, if the user needs to play music with a heavy bass effect, then under the action of the driving force output by the driving part 6, the connecting unit 42 slides along the driving shaft 41, and the connecting unit 42 drives the camera module 1 to extend out of the electronic device, increasing the space of the rear cavity of the speaker. The rear cavity of the speaker includes a rear cavity body 2 and an adjustment cavity 3, improving the low-frequency effect of the speaker. Or, if the user does not overly require improving the low-frequency effect when watching a video, under the action of the driving force output by the driving part 6, the connecting unit 42 slides along the driving shaft 41, and the connecting unit 42 drives the camera module 1 to retract into the electronic device, avoiding the pop-up camera module from extending out of the electronic device for a long time and being damaged by being touched.
[0053] In addition, the electronic device may also include a moving channel (not shown in the figure) that communicates the adjustment cavity 3 and the outside of the electronic device. The camera module 1 can be moved to the inside or the outside of the electronic device through the moving channel.
[0054] In this embodiment, referring to Figure 3 As shown, the electronic device further includes a control unit 5. The control unit 5 is electrically connected to the speaker and the driving part 6 respectively. When the control unit 5 outputs a first control driving signal to the driving part 6, it simultaneously outputs a first state parameter to the speaker, that is, when the control unit 5 controls the driving part 6 to accommodate the camera module 1 in the adjustment cavity 3, it outputs the first state parameter corresponding to the current state to the speaker, so that the speaker uses the first state parameter as the audio playback parameter for audio playback. Or, when the control unit 5 outputs a second control driving signal to the driving part 6, it simultaneously outputs a second state parameter to the speaker, that is, when the control unit 5 controls the driving part 6 not to accommodate the camera module 1 in the adjustment cavity 3, it outputs the second state parameter corresponding to the current state to the speaker, so that the speaker uses the second state parameter as the audio playback parameter for audio playback. Among them, both the first state parameter and the second state parameter contain the parameter information when the speaker plays, but the parameter values in the two states are different.
[0055] In this embodiment, referring to Figure 3 As shown, the speaker further includes a power amplifier unit 7 and a playback unit 8. The control unit 5 is electrically connected to the playback unit 8 through the power amplifier unit 7. The power amplifier unit 7 is used to amplify the sound source signal output by the control unit and drive the playback unit 8 to emit sound. The playback unit 8 is, for example, a speaker monomer for playing sound.
[0056] In an exemplary embodiment, the present embodiment provides a method for adjusting a speaker. The method in this embodiment is applied to an electronic device having a pop-up camera module 1 and a speaker as shown in Figures 1-3 . The speaker includes a rear cavity body 2, and the electronic device includes an adjustment cavity 3 communicating with the rear cavity body 2. The adjustment cavity 3 is used to accommodate the camera module 1. The electronic device further includes an adjustment component and a control unit 5 electrically connected to the speaker. The adjustment component includes a moving part 4 and a driving part 6. The moving part 4 includes a driving shaft 41 and a connecting unit 42. The connecting unit 42 is connected to the driving shaft 41, and the connecting unit 42 is electrically connected to the driving part 6. The connecting unit 42 is fixedly connected to the camera module 1. The driving part 6 outputs a driving force through the control unit 5, so that the connecting unit 42 slides along the driving shaft 41 under the action of the driving force output by the driving part 6, and the camera module 1 extends out of the electronic device or retracts into the interior of the electronic device. The speaker further includes a power amplifier unit 7 and a playback unit 8. The control unit 5 is electrically connected to the playback unit 8 through the power amplifier unit 7.
[0057] As shown in Figure 4 , the adjustment method in this embodiment includes:
[0058] S110. Based on the received audio playback instruction, determine the status information of the adjustment cavity, where the status information is used to characterize whether the camera module is accommodated in the adjustment cavity.
[0059] In this step, when the control unit receives the action instruction for the user to play audio, the control unit determines whether the camera module is accommodated in the adjustment cavity to determine the volume of the space of the rear cavity of the speaker.
[0060] In one example, the control unit determines whether the camera module is accommodated in the adjustment cavity. For example, it can determine the position of the camera module by determining the covered area in the adjustment cavity. If the covered area in the adjustment cavity is greater than or equal to the preset area, it indicates that the camera module is accommodated in the adjustment cavity and is located inside the electronic device. Conversely, if the covered area in the adjustment cavity is less than the preset area, it indicates that the camera module is not accommodated in the adjustment cavity and is located outside the electronic device.
[0061] In another example, the control unit determines whether the camera module is accommodated in the adjustment cavity. For example, it can also determine the position of the camera module by determining the exposed length of the driving shaft. If the exposed length of the driving shaft is greater than or equal to the preset length, it indicates that the camera module is not accommodated in the adjustment cavity and is located outside the electronic device. Conversely, if the exposed length of the driving shaft is less than the preset length, it indicates that the camera module is accommodated in the adjustment cavity and is located inside the electronic device.
[0062] In another example, the control unit determines whether the camera module is accommodated in the adjustment cavity. For example, the position of the connection unit can also be determined to determine the position of the camera module. If the current position of the connection unit deviates from the preset position, it indicates that the camera module is not accommodated in the adjustment cavity and is located outside the electronic device. On the contrary, if the current position of the connection unit is the preset position, it indicates that the camera module is accommodated in the adjustment cavity and is located inside the electronic device.
[0063] S120. Determine the audio playback parameters corresponding to the status information according to the status information.
[0064] In this step, the control unit determines the actual volume of the rear cavity space forming the speaker by determining whether the camera module is accommodated in the adjustment cavity. When playing audio, the control unit determines the corresponding audio playback parameters according to the volume of the current rear cavity of the speaker. Among them, the audio playback parameters are the digital signal information of the sound source, and the digital signal information is, for example, 0, 1.
[0065] In one example, when the status information is that the camera module is accommodated in the adjustment cavity, it is determined that the first status parameter is the audio playback parameter. Among them, the first status parameter is the status parameter when the camera module is accommodated in the adjustment cavity, that is, the adjustment cavity is occupied. At this time, the volume of the rear cavity body is the volume of the rear cavity space. For example, at this time, the volume of the rear cavity space is 1 cc, and the audio playback parameter corresponding to the first status parameter is 0. At this time, the volume of the rear cavity space is small and the noise reduction ability is low. The control unit issues the corresponding audio playback parameters according to the current volume of the rear cavity space.
[0066] In another example, when the status information is that the camera module is not accommodated in the adjustment cavity, it is determined that the second status parameter is the audio playback parameter. Among them, the second status parameter is the status parameter when the camera module is not accommodated in the adjustment cavity, that is, the adjustment cavity is vacant. At this time, the rear cavity body and the adjustment cavity together form the rear cavity space. For example, at this time, the volume of the rear cavity space is 3 cc, and the audio playback parameter corresponding to the second status parameter is 1. At this time, the volume of the rear cavity space is large enough and the noise reduction ability is high. The control unit issues the corresponding audio playback parameters according to the current volume of the rear cavity space.
[0067] Here, it should be noted that the above limitations on specific values are only used to illustrate this embodiment by way of example and do not constitute a limitation to this application.
[0068] S130. Play the audio information according to the audio playback parameters.
[0069] In this step, the control unit adjusts the low-frequency frequency response through the power amplifier unit according to the audio playback parameters, so that the playback unit plays the corresponding audio information, making the audio more in line with the listening experience.
[0070] In the method of this embodiment, by determining the volume of the rear cavity space of the speaker, the audio playback parameters are adjusted to play more suitable audio information, meeting the user's requirements for sound quality and enhancing the user's listening experience.
[0071] In an exemplary embodiment, this embodiment provides a speaker adjustment method, and the method in this embodiment is applied to an electronic device having a pop-up camera module 1 and a speaker as Figures 1-3 shown. The speaker includes a rear cavity body 2, and the electronic device includes an adjustment cavity 3 communicating with the rear cavity body 2, and the adjustment cavity 3 is used to accommodate the camera module 1. The electronic device further includes an adjustment component and a control unit 5 electrically connected to the speaker. The adjustment component includes a moving part 4 and a driving part 6. The moving part 4 includes a driving shaft 41 and a connecting unit 42. The connecting unit 42 is connected to the driving shaft 41, and the connecting unit 42 is electrically connected to the driving part 6. The connecting unit 42 is fixedly connected to the camera module 1, and the driving part 6 outputs a driving force through the control unit 5, so that the connecting unit 42 slides along the driving shaft 41 under the action of the driving force output by the driving part 6, and the camera module 1 extends to the outside of the electronic device or retracts into the inside of the electronic device. The speaker further includes a power amplifier unit 7 and a playback unit 8, and the control unit 5 is electrically connected to the playback unit 8 through the power amplifier unit 7.
[0072] As Figure 5 shown, the adjustment method in this embodiment includes:
[0073] S210. Based on the received audio playback instruction, obtain the displacement information of the camera module.
[0074] In this step, when the control unit receives the action instruction for the user to play audio, the control unit obtains the displacement information of the camera module.
[0075] In an example, an infrared distance sensor is built into the adjustment cavity. The infrared distance sensor is used to obtain the displacement information of the camera module, and the infrared distance sensor establishes a signal connection with the control unit. When the infrared distance sensor is accommodated in the adjustment cavity, the emitter of the infrared distance sensor emits infrared rays, the infrared rays are reflected by the camera module, and the receiver of the infrared distance sensor receives the reflected infrared rays. The infrared distance sensor realizes the distance measurement of the camera module according to the relevant physical information of emitting and receiving infrared rays, so as to determine whether the camera module is currently accommodated in the adjustment cavity or not accommodated in the adjustment cavity, and transmits and feeds back the detection result to the control unit.
[0076] S220. Determine the state information of the adjustment cavity according to the displacement information.
[0077] In step S210, the control unit determines the information of the state of the adjustment cavity according to the received displacement information.
[0078] Among them, displacement information, for example, the position where the camera module is placed in the adjustment cavity, is marked as the initial position of the camera module, and the displacement information of the initial position is marked as 0 mm. Therefore, if the obtained displacement information is greater than 0 mm, it indicates that the position of the camera module has changed, the camera module is not placed in the adjustment cavity, and the adjustment cavity is in an empty state.
[0079] Of course, the initial displacement information can also be any other value, which is only used to explain the method of this embodiment here. As long as it is determined that the value has changed, it can be determined that the camera module is not placed in the adjustment cavity.
[0080] S230. Determine the audio playback parameters corresponding to the status information according to the status information.
[0081] S240. Play the audio information according to the audio playback parameters.
[0082] In the method of this embodiment, by determining the displacement information, it is determined whether the camera module is placed in the adjustment cavity or not, so as to determine whether the adjustment cavity is in an empty state or a used state. According to the status information of the adjustment cavity, the volume of the rear cavity space is determined, and the matching audio information is played to meet the user's auditory experience.
[0083] In an exemplary embodiment, this embodiment provides a speaker adjustment method, and the method in this embodiment is applied to an electronic device such as Figures 1-3 shown, which has a pop-up camera module 1 and a speaker. The speaker includes a rear cavity body 2, and the electronic device includes an adjustment cavity 3 communicated with the rear cavity body 2, and the adjustment cavity 3 is used to accommodate the camera module 1. The electronic device further includes an adjustment component and a control unit 5 electrically connected to the speaker. The adjustment component includes a moving part 4 and a driving part 6. The moving part 4 includes a driving shaft 41 and a connecting unit 42. The connecting unit 42 is connected to the driving shaft 41, and the connecting unit 42 is electrically connected to the driving part 6. The connecting unit 42 is fixedly connected to the camera module 1, and the driving part 6 outputs a driving force through the control unit 5, so that the connecting unit 42 slides along the driving shaft 41 under the action of the driving force output by the driving part 6, and the camera module 1 extends out of the electronic device or retracts into the electronic device. The speaker further includes a power amplifier unit 7 and a playback unit 8, and the control unit 5 is electrically connected to the playback unit 8 through the power amplifier unit 7.
[0084] As Figure 6 shown, the adjustment method in this embodiment includes:
[0085] S310. Based on the received audio playback instruction, determine the status information of the adjustment cavity, where the status information is used to characterize whether the camera module is placed in the adjustment cavity.
[0086] S320. Determine the audio playback parameters corresponding to the status information according to the status information.
[0087] S330. Determine the playback power according to the audio playback parameters.
[0088] In this step, the control unit determines the playback power by determining the audio playback parameters.
[0089] In one example, when the audio playback parameters correspond to the first status parameter, the playback power corresponding to the current audio playback parameters is determined by the power amplifier unit and adjusted to the corresponding power. The playback power is, for example, 68W. When the audio playback parameters correspond to the second status parameter, the playback power corresponding to the current audio playback parameters is determined by the power amplifier unit and adjusted to the corresponding power. The playback power is, for example, 300W.
[0090] In another example, the playback power can also be an interval value. For example, when the audio playback parameters correspond to the first status parameter, the corresponding playback power is 0W - 100W; when the audio playback parameters correspond to the second status parameter, the corresponding playback power is 100W - 500W.
[0091] Here, it should be noted that the specific values of the above playback power are only used to explain the method of this embodiment and do not limit this application.
[0092] S340. Play the audio information according to the playback power.
[0093] In step S330, through the conversion of the power amplifier unit, the audio playback parameters of the sound source are converted into audio information, and the power amplifier unit drives the playback unit to emit sound. Among them, the audio information is low-frequency information.
[0094] In one example, when the camera module is not placed in the adjustment cavity, the space of the rear cavity of the speaker is jointly formed by the adjustment cavity and the rear cavity body. At this time, the volume of the rear cavity space is sufficient, and the power amplifier unit can convert the audio playback parameters into corresponding audio analog signals, increase the playback power, and drive the playback unit to emit sound in response to the current playback power, playing the corresponding low-frequency information. The low-frequency information is, for example, audio with a frequency lower than 150HZ.
[0095] In another example, when the camera module is placed in the adjustment cavity, the space of the rear cavity of the speaker is formed by the rear cavity body. At this time, the volume of the rear cavity space is relatively small, and the power amplifier unit can convert the audio playback parameters into corresponding audio analog signals, decrease the playback power, and drive the playback unit to emit sound in response to the current playback power, playing the corresponding low-frequency information. The low-frequency information is, for example, audio with a frequency lower than 500HZ.
[0096] In the method of this embodiment, the over - power for playback is determined according to the volume of the rear cavity space, and the low - frequency information is determined to play more pleasant audio information, meeting the needs of users and enhancing the user experience.
[0097] As Figure 7 shown, in an exemplary embodiment, the device in this embodiment is applied to an electronic device with a pop - up camera module. The adjustment device in this embodiment includes: a determination module 110 and a playback module 120. The device in this embodiment is used to implement the method as Figure 4 shown. In the implementation process, the determination module 110 is used to determine the status information of the adjustment cavity based on the received audio playback instruction, where the status information is used to characterize whether the camera module is accommodated in the adjustment cavity. The determination module 110 is also used to determine the audio playback parameters corresponding to the status information according to the status information. The playback module 120 is used to play the audio information according to the audio playback parameters. Specifically, the determination module 110 is used to: when the status information is that the camera module is accommodated in the adjustment cavity, determine the first status parameter as the audio playback parameter; when the status information is that the camera module is not accommodated in the adjustment cavity, determine the second status parameter as the audio playback parameter.
[0098] As Figure 7 shown, in an exemplary embodiment, the device in this embodiment is applied to an electronic device with a pop - up camera module. The adjustment device in this embodiment includes: a determination module 110 and a playback module 120. The device in this embodiment is used to implement the method as Figure 5 shown. In the implementation process, the determination module 110 is specifically used to: based on the received audio playback instruction, obtain the displacement information of the camera module; determine the status information of the adjustment cavity according to the displacement information.
[0099] As Figure 7 shown, in an exemplary embodiment, the device in this embodiment is applied to an electronic device with a pop - up camera module. The adjustment device in this embodiment includes: a determination module 110 and a playback module 120. The device in this embodiment is used to implement the method as Figure 6 shown. In the implementation process, the playback module 120 is specifically used to: determine the playback power according to the audio playback parameters; play the audio information according to the playback power.
[0100] As Figure 8 shown is a block diagram of an electronic device. The present disclosure also provides an electronic device, including a processor and a memory for storing the executable instructions of the processor. Among them, the processor is configured to execute the speaker adjustment method as Figures 4 to 6 shown.
[0101] The electronic device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input / output (I / O) interface 714, a sensor component 714, and a communication component 716.
[0102] The processing component 702 generally controls the overall operation of the electronic device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above-described methods. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.
[0103] The memory 704 is configured to store various types of data to support the operation of the electronic device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phone book data, messages, pictures, videos, and the like. The memory 704 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.
[0104] The power component 706 provides power to the various components of the electronic device 700. The power component 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 700.
[0105] The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
[0106] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC) that is configured to receive external audio signals when the electronic device 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 further includes a speaker for outputting audio signals.
[0107] The I / O interface 714 provides an interface between the processing component 702 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include, but are not limited to: a home button, a volume button, a power button, and a lock button.
[0108] The sensor component 714 includes one or more sensors for providing status assessments of various aspects of the electronic device 700. For example, the sensor component 714 can detect the on / off state of the electronic device 700, the relative positioning of components, such as the display and keypad of the electronic device 700. The sensor component 714 can also detect a change in the position of the electronic device 700 or a component of the electronic device 700, the presence or absence of user contact with the electronic device 700, the orientation or acceleration / deceleration of the electronic device 700, and the temperature change of the device 700. The sensor component 714 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 714 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 714 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0109] The communication component 716 is configured to facilitate communication between the electronic device 700 and other devices in a wired or wireless manner. The electronic device 700 can access a communication standard-based wireless network, such as WiFi, 2G, or 5G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0110] In an exemplary embodiment, the electronic device 700 can be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.
[0111] A non-transitory computer-readable storage medium provided in an exemplary embodiment of the present disclosure, such as a memory 704 including instructions, the above instructions can be executed by a processor 720 of the electronic device 700 to complete the above method. For example, the computer-readable storage medium can be a ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc. When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is enabled to execute the above Figures 4 to 6 shown method.
[0112] Those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention, which follow the general principles of the present invention and include common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only to be considered exemplary, and the true scope and spirit of the present invention are pointed out by the following claims.
[0113] It should be understood that the present invention is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.
Claims
1. An electronic device, comprising a pop-up camera module and a speaker, characterized in that, The electronic device includes a control unit. The speaker includes a rear cavity body. The electronic device further includes an adjustment cavity for accommodating the camera module. The camera module is disposed adjacent to the speaker. When the camera module pops out to the outside of the electronic device, the rear cavity body communicates with the adjustment cavity to jointly form the rear cavity of the speaker in a preset state. The control unit outputs a second state parameter to the speaker so that the speaker plays audio according to the second state parameter as an audio playback parameter.
2. The electronic device according to claim 1, wherein The electronic device further includes an adjustment component. The adjustment component includes a moving part and a driving part. The driving part is connected to the moving part and outputs a driving force. The moving part is connected to the camera module. Under the action of the driving force, the moving part drives the camera module to extend to the outside of the electronic device or retract to the inside of the electronic device.
3. The electronic device according to claim 2, characterized in that, The control unit is electrically connected to the speaker and the driving part respectively; The control unit is configured to output a first state parameter to the speaker while outputting a first control driving signal to the driving part; and output a second state parameter to the speaker while outputting a second control driving signal to the driving part.
4. The electronic device according to claim 3, characterized in that, The speaker includes a power amplifier unit and a playback unit. The control unit is electrically connected to the playback unit through the power amplifier unit.
5. The electronic device according to claim 2, characterized in that, The moving part includes a driving shaft and a connecting unit. The connecting unit is slidably connected to the driving shaft. The connecting unit is electrically connected to the driving part; The connecting unit is fixedly connected to the camera module. The connecting unit slides along the driving shaft under the action of the driving force output by the driving part.
6. A loudspeaker adjustment method, which is applied to an electronic device having a pop-up camera module and a loudspeaker as described in claims 1-5, wherein the camera module is disposed adjacent to the loudspeaker, and is characterized in that, The electronic device includes a control unit. The method includes: Based on the received audio playback instruction, determining the status information of the adjustment cavity, where the status information is used to indicate whether the camera module is accommodated in the adjustment cavity; According to the status information, determining the audio playback parameter corresponding to the status information; Playing the audio information according to the audio playback parameter; Wherein, according to the status information, determining the audio playback parameter corresponding to the status information includes: When the status information is that the camera module is not accommodated in the adjustment cavity, determining the second state parameter as the audio playback parameter.
7. The adjustment method according to claim 6, characterized in that The determining the status information of the adjustment cavity based on the received audio playback instruction includes: Based on the received audio playback instruction, obtaining the displacement information of the camera module; According to the displacement information, determining the status information of the adjustment cavity.
8. The adjustment method according to claim 6, wherein According to the status information, determining the audio playback parameter corresponding to the status information further includes: When the status information is that the camera module is accommodated in the adjustment cavity, determining the first state parameter as the audio playback parameter.
9. The adjustment method according to claim 6, wherein Playing the audio information according to the audio playback parameter includes: Determining the playback power according to the audio playback parameter; Playing the audio information according to the playback power.
10. A speaker adjustment device is applied to an electronic device having a pop-up camera module and a speaker as described in claims 1-5, wherein the camera module is disposed adjacent to the speaker, and is characterized in that, The electronic device includes a control unit. The adjustment device includes: A determination module, configured to determine status information of an adjustment cavity based on a received audio playback instruction, where the status information is used to indicate whether the camera module is accommodated in the adjustment cavity; The determination module is further configured to determine audio playback parameters corresponding to the status information according to the status information; A playback module, configured to play audio information according to the audio playback parameters; Wherein, determining audio playback parameters corresponding to the status information according to the status information includes: When the status information indicates that the camera module is not accommodated in the adjustment cavity, determining a second status parameter as the audio playback parameter.
11. An electronic device, characterized in that, Including: A processor and a memory for storing executable instructions of the processor; Wherein, the processor is configured to execute the adjustment method according to any one of claims 6-9.
12. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the adjustment method according to any one of claims 6-9.
Citation Information
Patent Citations
Device for regulating tone quality and terminal equipment
CN103596102A
Electronic equipment
CN212305403U