Electronic device and control method, device and storage medium thereof
The controller of the smart speaker adjusts the position of the speaker based on the screen and speaker information, solving the problem of frequency response curve changes caused by rotating screen occlusion, and achieving better sound quality consistency and user experience.
Patent Information
- Application Number
- CN202211159825.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-22
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2042-09-22
AI Technical Summary
The rotating screen of the smart speaker will block the speaker's sound output path, resulting in the performance of the medium and high frequency, and the frequency response curve of the entire machine will change, affecting the user experience.
The controller adjusts the position of the speaker according to the position information of the screen and/or the sound wave information of the speaker, changes the sound direction of the speaker, and maintains the consistency of the frequency response curve.
It reduces the frequency response curve changes caused by screen occlusion, improves the consistency of sound quality, and provides a better listening experience.
Smart Images

Figure CN115426597B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the technical field of terminal equipment, and in particular to an electronic device and a control method, device, and storage medium thereof. Background Art
[0002] Currently, some smart speakers have rotating screens. However, as the screen rotates, it will block part of the speaker's sound output position. This situation has little impact on low-frequency performance, but has a greater impact on mid- and high-frequency performance, causing the frequency response curve of the entire device to change. For the same product, different frequency response curves will cause discomfort in the actual experience and make users think that the product has poor performance. Summary of the invention
[0003] The purpose of the embodiments of the present invention is to provide an electronic device and a control method, device, and storage medium thereof, aiming to adjust the overall frequency response curve of a smart speaker with a rotating screen so that the frequency response curve can remain consistent or basically consistent when the speaker sound output path is blocked, so as to obtain a better listening experience.
[0004] In a first aspect, an embodiment of the present invention provides an electronic device, including:
[0005] A speaker box, the speaker box comprising a speaker and a speaker driving device, the speaker being connected to the speaker driving device by power coupling, and being used to drive the speaker through the speaker driving device;
[0006] a screen, wherein the screen can be movably and adjustably arranged on the sound box; and
[0007] A controller, the controller being electrically connected to the speaker driving device so as to adjust the position and posture of the speaker by controlling the speaker driving device;
[0008] In which, the electronic device also includes a posture sensor and / or an acoustic wave sensor electrically connected to the controller, the posture sensor is used to collect screen posture information of the screen, and the acoustic wave sensor is used to collect acoustic wave information of the speaker; the controller is used to adjust the posture of the speaker according to the screen posture information of the screen and / or the acoustic wave information of the speaker.
[0009] In the technical solution provided by the embodiment of the present invention, the controller can adjust the position of the speaker by controlling the speaker driving device according to the screen position information of the screen and / or the sound wave information of the speaker, change the sound output direction of the speaker, reduce the change in the frequency response curve of the whole machine caused by screen obstruction, and solve the problem of inconsistent sound quality when the screen obstructs the speaker sound output path to different degrees.
[0010] Optionally, the speaker is a tweeter.
[0011] Optionally, the speaker driving device is used to drive the speaker to move along the height direction of the sound box.
[0012] Optionally, the posture sensor is a gravity sensor arranged on the screen.
[0013] Optionally, the sound wave sensor is a microphone.
[0014] Optionally, the sound wave sensor is arranged on the screen facing the speaker.
[0015] In a second aspect, an embodiment of the present invention provides a method for controlling an electronic device, comprising:
[0016] Get the screen posture information of the screen;
[0017] The position and posture of the speaker are adjusted according to the screen position and posture information.
[0018] Optionally, after adjusting the position and posture of the speaker according to the screen position and posture information, the method further includes:
[0019] Acquiring sound wave information of the speaker;
[0020] Determining whether the sound wave information meets a preset condition;
[0021] If not, the position of the speaker is adjusted according to the sound wave information.
[0022] In a third aspect, an embodiment of the present invention provides a method for controlling an electronic device, comprising:
[0023] Get the speaker sound wave information;
[0024] The position and posture of the speaker are adjusted according to the sound wave information.
[0025] In a fourth aspect, an embodiment of the present invention provides a control device for an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in any possible implementation of the second aspect or any possible implementation of the third aspect is implemented.
[0026] In a fifth aspect, an embodiment of the present invention provides a control device for an electronic device, comprising all or part of the functional modules in the method described in any possible implementation manner of the second aspect or any possible implementation manner of the third aspect.
[0027] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any possible implementation of the second aspect, or a method described in any possible implementation of the third aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0029] Figure 1 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;
[0030] Figure 2 for Figure 1 Schematic diagram of the internal structure of the electronic equipment;
[0031] Figure 3 for Figure 1 Schematic diagram of the electronic device in the figure;
[0032] Figure 4 This is the frequency response curve of the whole machine when the screen is in different positions;
[0033] Figure 5 A schematic diagram of a flow chart of a control method of an electronic device provided by an embodiment of the present invention;
[0034] Figure 6 A schematic flow chart of another method for controlling an electronic device provided by an embodiment of the present invention;
[0035] Figure 7 A schematic flow chart of another method for controlling an electronic device provided by an embodiment of the present invention;
[0036] Figure 8a A schematic diagram of the structure of a control device of an electronic device provided by an embodiment of the present invention;
[0037] Figure 8b A schematic diagram of the structure of another control device of an electronic device provided by an embodiment of the present invention;
[0038] Figure 9a A schematic diagram of the structure of another control device of an electronic device provided by an embodiment of the present invention;
[0039] Figure 9b A schematic structural diagram of a control device of another electronic device provided by an embodiment of the present invention.
[0040] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0043] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0044] See also Figures 1 to 3 , Figures 1 to 3 The electronic device 1000 provided in an embodiment of the present invention may be a smart speaker, etc., and the following description will be made by taking the case where the electronic device 1000 is a smart speaker as an example. The electronic device 1000 includes a speaker 100, a screen 200, and a controller 300.
[0045] See also Figures 1 to 3 The speaker box 100 includes a speaker 110 and a speaker driving device 120 , and the speaker 110 is power-coupled with the speaker driving device 120 to drive the speaker 110 through the speaker driving device 120 .
[0046] Specifically, the speaker 100 generally also includes a speaker shell 130 , the speaker 110 can be movably disposed in the speaker shell 130 , and the speaker driving device 120 is also disposed in the speaker shell 130 , and the speaker driving device 120 can drive the speaker 110 to move in the speaker shell 130 , thereby changing the position of the speaker 110 relative to the speaker shell 130 .
[0047] The speaker 110 is driven by the speaker driving device 120, so as to achieve the purpose of changing the position and posture of the speaker 110. Taking the height direction of the sound box 100 as the up-down direction, the activity mode of the speaker 110 can include at least one of up-down movement, horizontal movement, up-down swing, horizontal swing, etc. If the activity mode of the speaker 110 includes up-down movement and / or horizontal movement, the speaker 110 can be driven to move by the speaker driving device 120 to change the position of the speaker 110; if the activity mode of the speaker 110 includes up-down swing and / or horizontal swing, the speaker 110 can be driven to swing by the speaker driving device 120 to change the direction of the sound output end of the speaker 110 and change the posture of the speaker 110.
[0048] Optionally, see Figures 1 to 3 In this embodiment, the speaker driving device 120 is used to drive the speaker 110 to move along the height direction of the speaker 100. The speaker 110 is arranged in the speaker shell 130 so as to be movable up and down. The speaker driving device 120 can drive the speaker 110 to move upward or downward in the speaker shell 130 to change the position of the speaker 110. The following will take the movable mode of the speaker 110 being the upward and downward movement as an example for description. Among them, the speaker driving device 120 can be a motor or the like.
[0049] The speaker box 100 may be provided with a plurality of speakers 110, and the number of speaker driving devices 120 may be the same as the number of speakers 110, that is, the speaker driving devices 120 are provided one-to-one with the speakers 110, and each speaker driving device 120 is used to drive a corresponding speaker 110. The number of speaker driving devices 120 may also be less than the number of speakers 110, so that at least two speakers 110 share one speaker driving device 120, for example, there is only one speaker driving device 120, and all speakers 110 share one speaker driving device 120; for another example, the number of speaker driving devices 120 is half of the number of speakers 110, and two speakers 110 share one speaker driving device 120.
[0050] The speaker 110 can generally be a full-range speaker or a tweeter, for example, the speaker 110 can be a speaker with a built-in horn and a separate back cavity, and the speaker 110 uses a high-frequency speaker with a waveguide. The following will take the speaker 110 as an example of a tweeter. Figures 1 to 3 In the present embodiment, a woofer is fixedly installed in the speaker shell 130. Since the sound output position of the speaker 100 is blocked and has little influence on the low-frequency performance of the woofer, after the electronic device 1000 is assembled, the position of the woofer in the speaker shell 130 usually does not need to be adjusted.
[0051] See also Figures 1 to 3The screen 200 can be movably and adjustably arranged on the sound box 100.
[0052] Specifically, the screen 200 generally includes a screen shell 210 and a display module 220. The screen shell 210 is connected to the speaker shell 130 of the speaker 100 through a movable adjustment mechanism 230. The display module 220 is arranged at the end of the screen shell 210 away from the speaker 100. The screen 200 can be movably adjusted relative to the speaker 100, so that the position of the screen 200 relative to the speaker 100 can be changed. The way in which the screen 200 can be movably adjusted is not particularly limited. Optionally, see Figures 1 to 3 In this embodiment, the screen 200 can be flipped upside down, and the screen 200 can be rotated along an axis perpendicular to the display surface. Flipping the screen 200 upside down can adjust the orientation of the display surface of the screen 200, and rotating the screen 200 can switch the screen 200 between a portrait state and a landscape state.
[0053] Since the orientation of the screen 200 and the orientation of the sound output position of the speaker 100 are usually the same, the screen 200 may block the sound output channel of the speaker 110. When the screen 200 is in different positions, the degree of blocking of the sound output channel of the speaker 110 by the screen 200 in different positions will also be different, resulting in different frequency response curves of the whole machine. For example, see Figure 4 , when the position of the speaker 110 of the sound box 100 remains unchanged, the frequency response curves will be different when the screen 200 is switched to the vertical screen state and the horizontal screen state respectively, which will cause inconsistent user experience, and users who are unaware of the truth will think that the speaker quality control is not good. Since the position of the speaker 110 of the sound box 100 can be adjusted, in order to eliminate this misunderstanding, different speaker angles can be used in different screen states to achieve similar effects, thereby dispelling user concerns.
[0054] See also Figures 1 to 3 The controller 300 is electrically connected to the speaker driving device 120 to adjust the position of the speaker 110 by controlling the speaker driving device 120 .
[0055] Specifically, the controller 300 may be disposed on the speaker 100 or the screen 200. When the position of the screen 200 changes, the controller 300 can drive the speaker 110 through the speaker driving device 120 to adjust the position of the speaker 110, so that the frequency response curve of the whole machine can remain consistent or substantially consistent before and after the position of the screen 200 changes.
[0056] There are many specific implementations of the controller 300 adjusting the position of the speaker 110 in response to the position change of the screen 200. Three specific implementations are described below:
[0057] Method 1: The electronic device 1000 includes a posture sensor 240 electrically connected to the controller 300, and the posture sensor 240 is used to collect screen posture information of the screen 200; the controller 300 is used to adjust the posture of the speaker 110 according to the screen posture information of the screen 200.
[0058] Specifically, as the activity of the screen 200 is adjusted, the posture sensor 240 will collect the screen posture information of the screen 200, and the posture sensor 240 will send the collected screen posture information to the controller 300. The controller 300 can drive the speaker driving device 120 according to the screen posture information to adjust the posture of the speaker 110 corresponding to the screen posture information, so that the angle of the speaker 110 is at the best position for sound effect.
[0059] Optionally, in this embodiment, the posture sensor 240 can collect screen posture information of the screen 200 in real time, and send the screen posture information to the controller 300 , and the controller 300 can drive the speaker driving device 120 to adjust the posture of the speaker 110 in real time.
[0060] The specific style of the posture sensor 240 may not be particularly limited. For example, in this embodiment, the posture sensor 240 may be a gravity sensor disposed on the screen 200 , and the gravity sensor can sense the posture of the screen 200 .
[0061] Method 2: The electronic device 1000 includes a sound wave sensor 250 electrically connected to the controller 300 , and the sound wave sensor 250 is used to collect sound wave information of the speaker 110 ; the controller 300 is used to adjust the position of the speaker 110 according to the sound wave information of the speaker 110 .
[0062] Specifically, the sound wave sensor 250 can collect the sound broadcast by the speaker 110, obtain the sound wave information of the speaker 110, and send the sound wave information of the speaker 110 to the controller 300. When the speaker 110 is stationary, when the position of the screen 200 changes, the sound wave information of the speaker 110 collected by the sound wave sensor 250 will also change, and the controller 300 can drive the speaker driving device 120 according to the sound wave information of the speaker 110 to adjust the position of the speaker 110 according to the sound wave information, so that the angle of the speaker 110 is at the best position for sound effect.
[0063] Optionally, in this embodiment, the sound wave sensor 250 can collect the sound wave information of the speaker 110 in real time, and send the sound wave information of the speaker 110 to the controller 300 , and the controller 300 can drive the speaker driving device 120 to adjust the position of the speaker 110 in real time.
[0064] The specific style of the sound wave sensor 250 may not be particularly limited. For example, in this embodiment, the sound wave sensor 250 is a microphone.
[0065] Optionally, see Figure 1 In this embodiment, the sound wave sensor 250 is disposed on the screen 200 toward the speaker 100 . For example, the sound wave sensor 250 is disposed at the bottom of the back side of the screen 200 .
[0066] Method three: the electronic device 1000 includes the above-mentioned posture sensor 240 and sound wave sensor 250; the controller 300 is used to adjust the posture of the speaker 110 according to the screen posture information of the screen 200 and the sound wave information of the speaker 110.
[0067] Specifically, the controller 300 first adjusts the position of the speaker 110 according to the screen position information collected by the position sensor 240, and then collects the sound wave information of the adjusted speaker 110 through the sound wave sensor 250, and the controller 300 can determine whether the speaker 110 is in the best sound effect position according to the sound wave information of the adjusted speaker 110. If it is determined that the speaker 110 is in the best sound effect position, the position adjustment of the speaker 110 is terminated; if not, the controller 300 continues to adjust the position of the speaker 110 according to the sound wave information of the speaker 110.
[0068] Optionally, in this embodiment, the sound wave information determines that the speaker 110 collects the sound wave information of the speaker 110 in real time, which is used to reconfirm whether the speaker 110 is in the best position for sound effect after adjusting the speaker 110 according to the screen posture information, and at the same time form feedback to the speaker driving device 120.
[0069] After switching, the screen 200 will block part of the sound output channel, and the high-frequency energy will gather behind the screen 200 and cannot be radiated, resulting in changes in the output of some frequency bands. However, the change in the angle of the speaker 110 after switching will compensate for the output loss due to the blocking of the screen 200. Therefore, the audio performance will hardly change after switching, and will not cause differences in the user's audio-visual experience, thereby optimizing the user experience. The user can also choose whether to change the angle of the speaker 110 through the system settings, which can also enrich user choices.
[0070] In the technical solution provided by the embodiment of the present invention, the controller 300 can adjust the position of the speaker 110 by controlling the speaker driving device 120 according to the screen position information of the screen 200 and / or the sound wave information of the speaker 110, change the sound output direction of the sound box 100, reduce the change in the frequency response curve of the whole machine caused by the obstruction of the screen 200, and solve the problem of inconsistent sound quality when the screen 200 obstructs the sound output path of the speaker 110 to different degrees.
[0071] See also Figure 5 , Figure 5 A control method of an electronic device provided in an embodiment of the present application is implemented based on the electronic device 1000 as described above. The method includes but is not limited to the following steps:
[0072] Step S510: Acquire screen posture information of the screen.
[0073] Specifically, the screen posture information of the screen 200 is collected by the posture sensor 240 , and the posture sensor 240 can transmit the collected screen posture information to the controller 300 .
[0074] Optionally, in this embodiment, the posture sensor 240 collects screen posture information of the screen 200 in real time, and when the screen posture information changes, the posture sensor 240 transmits the collected screen posture information to the controller 300 .
[0075] Step S520: adjusting the position of the speaker according to the screen position information.
[0076] Specifically, when the controller 300 obtains the current screen posture information, the controller 300 can drive the activity adjustment mechanism 230 according to the current screen posture information to adjust the position corresponding to the current screen posture information.
[0077] Optionally, adjusting the position of the speaker 110 according to the current screen position information can be achieved by the following steps:
[0078] Step S521: Determine the target speaker posture information according to the preset corresponding relationship and the current screen posture information.
[0079] Specifically, the preset correspondence is the correspondence between the screen posture information and the speaker posture information. Under the premise of ensuring that the frequency response curve of the whole machine is consistent or roughly consistent, the speaker posture information of the speaker 110 corresponding to the screen 200 in different posture states is obtained, so as to obtain the correspondence between the screen posture information and the speaker posture information, that is, the preset correspondence.
[0080] When the controller 300 obtains the current screen posture information, the controller 300 can determine the target speaker posture information according to the preset corresponding relationship and the current screen posture information.
[0081] Step S522: adjusting the position and posture of the speaker 110 based on the target speaker position and posture information.
[0082] Specifically, the controller 300 can drive the speaker driving device 120 based on the target speaker position information to adjust the speaker 110 to a target position corresponding to the target speaker position information, and the target position is also the best sound effect position.
[0083] See also Figure 6 , Figure 6A control method of an electronic device provided in an embodiment of the present application is implemented based on the electronic device 1000 as described above. The method includes but is not limited to the following steps:
[0084] Step S610: Acquire screen posture information of the screen.
[0085] Step S620: adjusting the position of the speaker according to the screen position information.
[0086] Step S630: Acquire the sound wave information of the speaker.
[0087] Step S640: Determine whether the sound wave information meets a preset condition.
[0088] Step S650: If not, adjusting the position of the speaker according to the sound wave information.
[0089] Specifically, after the adjustment is completed based on the screen posture information, the sound wave sensor 250 will collect the sound wave information of the speaker 110. The controller 300 will determine whether the sound wave information meets the preset conditions. If the sound wave information meets the preset conditions, it is determined that the speaker 110 has been adjusted to the best position for sound effect, and the process ends; if the sound wave information does not meet the preset conditions, it is determined that the speaker 110 has not been adjusted to the best position for sound effect, then the posture of the speaker 110 is adjusted according to the sound wave information, and steps S630-S650 are executed repeatedly until the speaker 110 meets the preset conditions, that is, the speaker 110 is adjusted to the best position for sound effect.
[0090] Optionally, in this embodiment, the preset condition refers to that the similarity between the sound wave information of the speaker 110 and the reference sound wave information is greater than a preset threshold. The reference sound wave information refers to the sound wave information collected by the sound wave sensor 250 when the screen 200 is in a preset posture state, for example, the reference sound wave information refers to the sound wave information collected by the sound wave sensor 250 when the screen 200 is in a horizontal screen state.
[0091] See also Figure 7 , Figure 7 A control method of an electronic device provided in an embodiment of the present application is implemented based on the electronic device 1000 as described above. The method includes but is not limited to the following steps:
[0092] Step S710: Acquire the sound wave information of the speaker;
[0093] Step S720: Adjust the position of the speaker according to the sound wave information.
[0094] Specifically, the sound wave sensor 250 can collect the sound broadcast by the speaker 110, obtain the sound wave information of the speaker 110, and send the sound wave information of the speaker 110 to the controller 300. When the speaker 110 is stationary, when the position of the screen 200 changes, the sound wave information of the speaker 110 collected by the sound wave sensor 250 will also change, and the controller 300 can drive the speaker driving device 120 according to the sound wave information of the speaker 110 to adjust the position of the speaker 110 according to the sound wave information, so that the angle of the speaker 110 is at the best position for sound effect.
[0095] See also Figure 8a , Figure 8a The control device 80a of the electronic device is provided in an embodiment of the present application. The control device 80a of the electronic device may be the controller 300 or a partial structure of the controller 300 as described above. The control device 80a of the electronic device includes a first acquisition module 810 and a first adjustment module 820. The detailed description of each unit of the control device 80a of the electronic device is as follows:
[0096] A first acquisition module 810 is used to acquire screen posture information of the screen;
[0097] The first adjustment module 820 is used to adjust the position and posture of the speaker according to the screen position and posture information.
[0098] Optionally, the control device 80a of the electronic device also includes a second adjustment module, and the first adjustment module is used to obtain sound wave information of the speaker after adjusting the position of the speaker according to the screen position information; determine whether the sound wave information meets a preset condition; if not, adjust the position of the speaker according to the sound wave information.
[0099] See also Figure 8b , Figure 8b It is a control device of an electronic device provided in an embodiment of the present application. The control device 80b of the electronic device may be the controller 300 or a partial structure of the controller 300 as described above. The control device 80b of the electronic device includes a second acquisition module 830 and a third adjustment module 840. The detailed description of each unit of the control device 80b of the electronic device is as follows:
[0100] The second acquisition module 830 is used to acquire speaker sound wave information;
[0101] The third adjustment module 840 is used to adjust the position of the speaker according to the sound wave information.
[0102] See also Figure 9a , Figure 9aIt is a control device of an electronic device provided in an embodiment of the present application. The control device 90a of the electronic device can be the controller 300 as described above or a partial structure of the controller 300. The control device 90a of the electronic device includes a processor 911, a memory 912 and a communication interface 913. The processor 911, the memory 912 and the communication interface 913 are interconnected via a bus 914.
[0103] The memory 912 includes, but is not limited to, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or a portable read-only memory (CD-ROM), and the memory 912 is used for related computer programs and data. The communication interface 913 is used to receive and send data.
[0104] The processor 911 may be one or more central processing units (CPUs). When the processor 911 is a CPU, the CPU may be a single-core CPU or a multi-core CPU.
[0105] The processor 911 in the control device 90a of the electronic device is used to read the computer program code stored in the memory 912 and perform the following operations:
[0106] Get the screen posture information of the screen;
[0107] The position and posture of the speaker are adjusted according to the screen position and posture information.
[0108] Optionally, after adjusting the position and posture of the speaker according to the screen position and posture information, the following steps are further performed:
[0109] Acquiring sound wave information of the speaker;
[0110] Determining whether the sound wave information meets a preset condition;
[0111] If not, the position of the speaker is adjusted according to the sound wave information.
[0112] See also Figure 9b , Figure 9bIt is a control device of an electronic device provided in an embodiment of the present application. The control device 90b of the electronic device can be the controller 300 as described above or a partial structure of the controller 300. The control device 90b of the electronic device includes a processor 921, a memory 922 and a communication interface 923. The processor 921, the memory 922 and the communication interface 923 are interconnected via a bus 924.
[0113] The memory 922 includes, but is not limited to, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or a portable read-only memory (CD-ROM), and the memory 922 is used for related computer programs and data. The communication interface 923 is used to receive and send data.
[0114] The processor 921 may be one or more central processing units (CPUs). When the processor 921 is a CPU, the CPU may be a single-core CPU or a multi-core CPU.
[0115] The processor 921 in the control device 90b of the electronic device is used to read the computer program code stored in the memory 922 and perform the following operations:
[0116] Get the speaker sound wave information;
[0117] The position and posture of the speaker are adjusted according to the sound wave information.
[0118] The embodiment of the present invention further provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the above method embodiment is implemented.
[0119] A person skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by a computer program or hardware related to the computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned method embodiments. The aforementioned storage medium includes: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store computer program codes.
[0120] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings, or directly / indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.
Claims
1. An electronic device, characterized in that: include: A speaker box, the speaker box comprising a speaker and a speaker driving device, the speaker being connected to the speaker driving device by power coupling, and being used to drive the speaker through the speaker driving device; A screen, wherein the screen can be movably and adjustably arranged on the sound box; as well as, A controller, the controller being electrically connected to the speaker driving device so as to adjust the position and posture of the speaker by controlling the speaker driving device; The electronic device further comprises a posture sensor and an acoustic wave sensor electrically connected to the controller, the posture sensor is used to collect screen posture information of the screen, and the acoustic wave sensor is used to collect acoustic wave information of the speaker; the controller is used to adjust the posture of the speaker according to the screen posture information of the screen and the acoustic wave information of the speaker, so that the frequency response curve of the electronic device remains basically consistent before and after the posture of the screen changes; The sound box further comprises a sound box shell, the speaker can be movably arranged in the sound box shell, the speaker is a tweeter, and a woofer is fixedly arranged in the sound box shell.
2. The electronic device according to claim 1, wherein: The speaker driving device is used to drive the speaker to move along the height direction of the sound box.
3. The electronic device according to claim 1, wherein: The posture sensor is a gravity sensor arranged on the screen.
4. The electronic device according to claim 1, wherein: The acoustic wave sensor is a microphone; and / or, The sound wave sensor is arranged on the screen toward the sound box.
5. A method for controlling an electronic device, characterized in that: The electronic device according to any one of claims 1 to 4 is implemented, comprising: Get the screen posture information of the screen; Adjusting the position of the speaker according to the screen position information; After adjusting the position and posture of the speaker according to the screen position and posture information, the method further includes: Acquiring sound wave information of the speaker; Determining whether the sound wave information meets a preset condition; If not, the position of the speaker is adjusted according to the sound wave information.
6. A control device for an electronic device, characterized in that: The electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the control method of the electronic device as claimed in claim 5 when executing the program.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the control method of the electronic device according to claim 5 is implemented.
Citation Information
Patent Citations
Control method, device and electronic equipment
CN105224280A
Loudspeaker assembly, mobile terminal and sound outlet direction control method of mobile terminal
CN106790806A
Smart speaker with rotatable screen
CN306637676S