Method and apparatus for controlling a soundbar, soundbar, electronic device, and storage medium

CN115866490BActive Publication Date: 2026-10-27GEER TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111545737.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-16
Publication Date
2026-10-27
Estimated Expiration
2041-12-16

AI Technical Summary

Technical Problem

通常情况下,为了达到更好的声学效果,需要根据房屋空间以及预设收听位置具体安装一个或多个音箱,在这种情况下,如果用户离开预设收听位置,则无法保证收听效果

Benefits of technology

[0019]本公开实施例的一个有益效果在于,根据音箱系统的声学模式确定音箱的目标位置,控制音箱进行移动以到达该目标位置,该目标位置为以预设对象为参照物的相对位置,因此,当预设对象处于同一空间中的不同位置时,音箱系统中的音箱都能够按照该声学模式适配预设对象的位置进行重新分布,使得用户依然可以享受到良好的声学体验。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115866490B_ABST
    Figure CN115866490B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method and apparatus for controlling a sound box, a sound box, an electronic device and a storage medium. The method for controlling the sound box comprises: obtaining a target position of the sound box, wherein the target position of the sound box is a relative position with respect to a preset object, and the target position of the sound box is determined according to an acoustic mode of a sound box system to which the sound box belongs. The sound box is controlled to move to the target position. Based on the method, when the preset object is at different positions in the same space, the sound boxes in the sound box system can all be redistributed according to the acoustic mode to adapt to the positions of the preset object, so that the user can still enjoy a good acoustic experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to acoustic technology, and more particularly to methods and apparatus for controlling speakers, speakers, electronic devices, and storage media. Background Technology

[0002] Currently, speakers have become common items in people's daily lives, and users are paying more and more attention to auditory enjoyment. Typically, to achieve better acoustic effects, one or more speakers need to be installed based on the room space and the intended listening position. In this case, if the user leaves the intended listening position, the listening effect cannot be guaranteed. Summary of the Invention

[0003] This disclosure provides methods and apparatus for controlling speakers, speakers, electronic devices, and storage media, enabling users to obtain good listening effects from different locations in the same space.

[0004] In a first aspect, embodiments of this application provide a method for controlling a speaker, characterized in that it includes: obtaining a target position of the speaker, wherein the target position of the speaker is a relative position with respect to a preset object, and the target position of the speaker is determined according to the acoustic mode of the speaker system to which the speaker belongs; and controlling the speaker to move to reach the target position of the speaker.

[0005] Optionally, determining the target position of the speaker based on the acoustic mode of the speaker system to which the speaker belongs includes: determining the target distribution state of the speaker system based on the acoustic mode of the speaker system, wherein the target distribution state of the speaker system represents the overall distribution state of all speakers in the speaker system with a preset object as a reference; and determining the target position of each speaker in the speaker system based on the target distribution state of the speaker system.

[0006] Optionally, determining the target position of each speaker in the speaker system based on the target distribution state of the speaker system includes: obtaining the actual position of each speaker in the speaker system, wherein the actual position of the speaker is the relative position with the user as a reference; and determining the target position of each speaker in the speaker system based on the target distribution state of the speaker system and the actual position of each speaker in the speaker system, with the principle of minimizing the total displacement of all speakers.

[0007] Optionally, controlling the speaker to move to reach the target position includes: obtaining the actual position of the speaker, wherein the actual position of the speaker is a relative position with reference to a preset object; planning a movement route from the actual position of the speaker to the target position of the speaker; and controlling the speaker to move according to the movement route.

[0008] Optionally, the speaker is equipped with a UWB positioning module, and the speaker system further includes a UWB device. Obtaining the actual position of the speaker includes: receiving a UWB signal emitted by the UWB device through the UWB positioning module, and determining the actual position of the speaker based on the received UWB signal.

[0009] Optionally, after controlling the speaker to reach its target position, the method further includes: obtaining the moving direction and moving speed of a preset object; and controlling the speaker to move synchronously according to the moving direction and moving speed of the preset object.

[0010] Optionally, the speaker is equipped with at least one sensor for detecting obstacles; the speaker avoids obstacles based on the sensor data output by the sensor during movement.

[0011] Optionally, before obtaining the target location of the speaker, the method further includes: obtaining target information, wherein the target information includes at least one of environmental information, user information, and time information; selecting an acoustic mode from a variety of preset acoustic modes based on the target information; controlling a target number of speakers to form the speaker system, wherein the target number is the number of speakers corresponding to the selected acoustic mode; setting the acoustic mode of the speaker system according to the selected acoustic mode; and determining the target location of the speaker based on the acoustic mode of the speaker system.

[0012] Optionally, the speaker is equipped with at least one sensor; the sensor is used to detect the surrounding environment; the acquisition of target information includes: determining the environmental information through the sensing data output by the sensor.

[0013] Secondly, embodiments of this application provide a speaker control device, characterized in that it includes a processor and a memory, wherein the memory stores computer instructions, and when the computer instructions are executed by the processor, they implement the steps of the method described in any one of claims 1-9.

[0014] Optionally, the device is mounted in the speaker.

[0015] Thirdly, embodiments of this application provide a speaker, characterized in that it has a processor and a memory, wherein the memory stores computer instructions, and when the computer instructions are executed by the processor, they implement the steps of the method described in any one of claims 1-9.

[0016] Optionally, the speaker is a polyhedral spherical structure, with a directional speaker on each face of the speaker; a motor is installed inside the speaker, and the speaker rolls under the drive of the motor.

[0017] Fourthly, embodiments of this application provide an electronic device, characterized in that it has a processor and a memory, wherein the memory stores computer instructions, and when the computer instructions are executed by the processor, the following steps are implemented: sending first information to a speaker, wherein the first information is used to control the speaker to perform the steps of the method described in any one of claims 1-9.

[0018] Fifthly, embodiments of this application provide a storage medium characterized in that it stores computer instructions thereon, which, when executed by a processor, implement the steps of the method described in any one of claims 1-9.

[0019] One beneficial effect of this disclosure is that the target position of the speaker is determined according to the acoustic mode of the speaker system, and the speaker is controlled to move to reach the target position. The target position is the relative position with respect to the preset object. Therefore, when the preset object is in different positions in the same space, the speakers in the speaker system can be redistributed according to the acoustic mode to adapt to the position of the preset object, so that the user can still enjoy a good acoustic experience.

[0020] Other features and advantages of the embodiments of this disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description

[0021] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments of the present disclosure and, together with their description, serve to explain the principles of the embodiments of the present disclosure.

[0022] Figure 1 A flowchart illustrating a method for controlling a speaker according to an embodiment of the present disclosure is shown.

[0023] Figure 2-8 A schematic diagram showing an example of a control speaker according to an embodiment of the present disclosure is provided.

[0024] Figure 9 A block diagram showing a device for controlling a speaker according to an embodiment of the present disclosure is provided.

[0025] Figure 10 A block diagram of a speaker according to an embodiment of the present disclosure is shown.

[0026] Figure 11 A block diagram of an electronic device according to an embodiment of the present disclosure is shown. Detailed Implementation

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

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

[0029] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.

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

[0031] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.

[0032] <Method>

[0033] First, the applicable scenarios of the speaker control method according to an embodiment of the present disclosure will be explained.

[0034] In this embodiment of the disclosure, the speaker has a movable function. For example, the speaker has a motor inside, and the speaker can move under the drive of the motor. For example, the speaker is spherical, and the speaker has a motor inside, and the speaker can move in a rolling manner under the drive of the motor.

[0035] In one example, the speaker can be a polyhedral spherical structure with directional speakers on each face of the speaker, and a motor inside the speaker that can roll under the drive of the motor.

[0036] The speaker can be equipped with a wireless positioning module, such as a UWB positioning module, Bluetooth positioning, or other wireless positioning module.

[0037] The default user can be a user carrying a device corresponding to the speaker's wireless positioning module. In one example, the speaker is equipped with a UWB (Ultra Wide Band) positioning module, and the user carries a UWB device. Specifically, the UWB device can be an electronic device with a UWB communication module, such as a mobile phone. The UWB device can transmit UWB signals.

[0038] By using the wireless positioning module on the speaker and the corresponding device carried on the preset object, the two can communicate. Based on the wireless positioning technology, the positional relationship between the speaker and the preset object can be determined, which may include the angle and distance between the two.

[0039] The speaker control method of this disclosure is executed by a control device. This control device can be a terminal (e.g., a mobile phone). The control device can be integrated into the speaker, for example, it can be the main control chip within the speaker. After the speaker system is networked, one speaker becomes the master speaker, and the others become slave speakers. The control device can be the master speaker in the speaker system network. Steps such as obtaining the actual position of the speaker and controlling the speaker to move from the actual position to the target position can be performed by each speaker itself.

[0040] Figure 1 A flowchart of a method for controlling a speaker according to an embodiment of the present disclosure is shown, as follows: Figure 1 As shown, the method includes steps S11 to S12.

[0041] Step S11: Obtain the target position of the speaker. The target position of the speaker is the relative position with respect to a preset object. The target position of the speaker is determined according to the acoustic mode of the speaker system to which the speaker belongs.

[0042] The speaker system may include at least one speaker. The acoustic mode of the speaker system may be preset at the factory or customized or selected by the user during use.

[0043] The acoustic modes of a speaker system can include surround sound mode, directional sound mode, stereo sound mode, etc. The target position of a speaker can be the position where the speaker provides the best acoustic effect to a preset object in the acoustic mode of its system, and the target position is the relative position with the preset object as a reference.

[0044] In one example of this embodiment, determining the target position of the speaker based on the acoustic mode of the speaker system to which the speaker belongs further includes: determining the target distribution state of the speaker system based on the acoustic mode of the speaker system, wherein the target distribution state of the speaker system represents the overall distribution state of all speakers in the speaker system with a preset object as a reference; and determining the target position of each speaker in the speaker system based on the target distribution state of the speaker system.

[0045] As another example of this embodiment, the acoustic mode of the speaker system may include a surround sound mode. In this example, a surround sound mode requires six speakers. Figure 2As shown, the speaker system includes six speakers. The optimal acoustic listening distance between the speakers can be 2.5m to 3m. The dashed circles in the diagram represent areas with a distance of 2.5m from the preset target. The target distribution of the speaker system can be such that the six speakers correspond to target positions 1-6 respectively. Specifically, target position 4 is located 2.5m directly in front of the user, target position 3 is located 2.5m to the left of the user at a 30-degree angle, target position 5 is located 2.5m to the right of the user at a 30-degree angle, target position 1 is located 3m directly behind the user, target position 2 is located 2.5m to the left of the user at a 45-degree angle, and target position 6 is located 2.5m to the right of the user at a 45-degree angle.

[0046] As another example of this embodiment, the acoustic mode of the speaker system may also include a directional acoustic mode. In this example, a directional acoustic mode requires at least one speaker enclosure with a directional speaker to implement. Figure 3 As shown, the speaker system includes one speaker, which can be a polyhedral spherical structure, with directional speakers mounted on each face of the sphere. The optimal acoustic listening distance for the speaker system is 2.5m to 3m. The target distribution of the speaker system is that one speaker is located 2.5m directly in front of the user, and this speaker should only emit sound from the directional speakers facing the user, so that the user can hear the sound emitted by the speaker clearly, while the sound heard from other locations is relatively faint.

[0047] As an example of this embodiment, the acoustic mode of the speaker system may also include a stereo mode. In this example, the stereo mode requires two speakers. Figure 4 As shown, the speaker system includes two speakers. The optimal acoustic listening distance of the speaker system can be 2.5m to 3m. The target distribution of the speaker system can be that the two speakers correspond to target position 1 and target position 2 respectively. Specifically, target position 1 is located 2.5m to the left of the user, and target position 2 is located 2.5m to the right of the user.

[0048] As can be seen from the examples above, the number of speakers required for different acoustic modes may vary. The specific number of speakers required for different acoustic modes can be flexibly set according to the actual situation and needs.

[0049] In one example of this embodiment, determining the target position of each speaker in the speaker system based on the target distribution state of the speaker system further includes obtaining the actual position of each speaker in the speaker system, wherein the actual position of the speaker is its relative position with the user as a reference. Based on the target distribution state of the speaker system and the actual position of each speaker in the speaker system, the target position of each speaker in the speaker system is determined with the principle of minimizing the total displacement of all speakers.

[0050] Specifically, the actual position of each speaker in the speaker system can be determined by the UWB positioning module set in the speaker and the UWB device carried by the user. The UWB positioning module in the speaker determines the actual position of the speaker relative to the user by receiving the UWB signal emitted by the UWB device carried by the user.

[0051] In one example of this embodiment, the speaker system operates in stereo acoustic mode. The system includes two polyhedral spherical speaker enclosures, each containing a motor that allows the enclosures to rotate under the motor's drive. The actual positions of speaker 1 and speaker 2 in the speaker system are as follows: Figure 5 As shown, based on the principle of minimizing the total displacement of all speakers, the target position of speaker 1 is determined to be target position 1, which is closer to speaker 1. The target position of speaker 2 is determined to be target position 2, which is further away from speaker 2.

[0052] Step S12: Control the speaker to move to the target position.

[0053] In one example of this embodiment, controlling the speaker to move to reach the speaker's target position includes obtaining the speaker's actual position, wherein the speaker's actual position is a relative position with a preset object as a reference, planning a movement route from the speaker's actual position to the speaker's target position, and controlling the speaker to move according to the movement route.

[0054] Specifically, as an example of this embodiment, the speaker system uses a stereo acoustic mode. The system includes two polyhedral spherical speaker enclosures, each containing a motor that allows the enclosures to roll under the motor's drive. The actual positions of speaker 1 and speaker 2 are as follows: Figure 5 As shown, based on the principle of minimizing the total displacement of all speakers, the target position of speaker 1 is determined as target position 1 in the diagram, and the target position of speaker 2 is determined as target position 2 in the diagram. The routes for each speaker from its actual position to its target position are planned, as shown by the arrows in the diagram, and speaker 1 is controlled to move to target position 1, and speaker 2 is controlled to move to target position 2.

[0055] In this example, when the speaker is activated, its target position can be determined based on the acoustic mode of the speaker system. The speaker can then be moved to reach that target position, which is a relative position with respect to a preset object. Using this method, when the preset object is in different locations within the same space, the speakers in the system can be redistributed according to the acoustic mode to adapt to the object's position, ensuring that the user still enjoys a good acoustic experience.

[0056] In one example of this embodiment, after the speaker reaches the target position, the method further includes obtaining the moving direction and moving speed of a preset object, and controlling the speaker to move synchronously according to the moving direction and moving speed of the preset object.

[0057] Specifically, for example, the acoustic mode of a speaker system can be a surround sound mode, and the target distribution state of the speaker system can be as follows: Figure 2 As shown, the speakers in the control speaker system achieve... Figure 2 After identifying the target location, the positional relationship between the speaker and the target object can be determined using the UWB signal sent by the UWB device on the target object, such as the angle and distance. For example... Figure 6 As shown, the preset object moves from position A to position B, and its orientation also changes. The moving direction and speed of the preset object are obtained. When the preset object moves from position A to position B, the speaker system is controlled to move synchronously based on the moving direction and speed. Because the orientation of the preset object has changed, that is, the preset object has rotated by a certain angle in a certain direction, the speaker system follows the preset object and rotates as a whole, and the direction and angle of the speaker system's overall rotation are the same as the rotation direction and angle of the preset object. For example, see... Figure 6 As shown in the right figure, if the preset object is rotated 30 degrees counterclockwise, the entire speaker system will also be rotated 30 degrees counterclockwise. With the user as the reference object, the overall distribution of the speaker system has not changed.

[0058] In this example, after the speaker reaches its target position, the preset direction and speed of the object's movement can be obtained and synchronized. This method allows the user to keep the speaker in the optimal acoustic position while moving or turning, providing a better acoustic experience.

[0059] In another example of this embodiment, the speaker is equipped with at least one sensor, which may be a camera, a laser sensor, an infrared sensor, or other sensors.

[0060] Using sensors on the speaker, obstacles around the speaker can be detected, and the speaker can avoid obstacles based on the sensor data output during movement. For example, a laser sensor can identify obstacles around the speaker by emitting lasers in multiple directions and measuring the distance based on the lasers reflected back from each direction. Alternatively, obstacles around the speaker can be identified based on images captured by a camera.

[0061] As an example of this embodiment, the speaker system uses a stereo acoustic mode. The system includes two polyhedral spherical speaker enclosures, each housing a motor and a laser sensor. The actual positions of speaker 1 and speaker 2 are as follows: Figure 7 As shown, the target position of speaker 1 is target position 1 in the figure, and the target position of speaker 2 is target position 2 in the figure. Based on the sensor data detected by the laser sensor, the position of the obstacle is determined, and when planning the route of each speaker from its actual position to the target position, the obstacle is bypassed. Specifically, as shown by the arrow in the figure, speaker 1 is controlled to move to target position 1 according to the route, and speaker 2 moves to target position 2.

[0062] In this example, sensors can detect obstacles around the speaker, and the speaker's movement path can be planned based on the sensor data. This method allows the speaker to navigate around obstacles during actual use, providing a better auditory experience and enhancing the user experience.

[0063] In another example of this embodiment, before obtaining the target location of the speakers, the method further includes: obtaining target information, wherein the target information includes at least one of environmental information, user information, and time information; selecting an acoustic mode from a variety of preset acoustic modes based on the target information; controlling a target number of speakers to form a speaker system, wherein the target number is the number of speakers corresponding to the selected acoustic mode; setting the acoustic mode of the speaker system according to the selected acoustic mode; and determining the target location of the speakers based on the acoustic mode of the speaker system.

[0064] In one example of this embodiment, environmental information can also be acquired using the speaker's sensors. For instance, a laser sensor can acquire environmental information by emitting lasers in multiple directions and measuring the distance based on the lasers reflected back from each direction. Environmental information can also be acquired based on images captured by a camera.

[0065] like Figure 8As shown, the user is in a small environment, such as a kitchen. The speaker uses a laser sensor to obtain environmental information indicating that it is in a long and narrow room. Based on this environmental information, a suitable acoustic mode is selected from several preset acoustic modes. In this example, due to the long and narrow room, the acoustic mode can be a directional acoustic mode, corresponding to one speaker. This controls one speaker to form an acoustic system, sets the acoustic mode of the speaker system to directional acoustic mode, and determines the target position of the speaker.

[0066] In another example of this embodiment, the target information may also include user information, which may include the user's identity and the user's preferences, etc.

[0067] As an example of this embodiment, the user is identified as User A, and User A's preferences are obtained as user information. For example, the user's identity is determined based on the identifier of the UWB device carried by the user. For example, User A prefers a surround sound mode. Based on the user information, a surround sound mode is selected from a variety of preset acoustic modes, and the number of speakers corresponding to the surround sound mode is 6. The 6 speakers are controlled to form a speaker system. Based on the selected acoustic mode, the acoustic mode of the speaker system is determined to be surround sound, and the position of each speaker in the speaker system is determined based on the acoustic mode of the speaker system.

[0068] In another example of this embodiment, the user information may also include time information. Specifically, the time information acquired by the speaker can be the current time, such as 10 PM. Based on the time information, a directional acoustic mode is selected from multiple preset acoustic modes, and the number of speakers corresponding to the directional acoustic mode is one. One speaker is controlled as a speaker system. Based on the selected acoustic mode, the acoustic mode of the speaker system is determined to be the specified acoustic mode, and the position of the speaker in the speaker system is determined based on the acoustic mode of the speaker system.

[0069] In this example, before determining the target location of the speakers, target information, including at least one of environmental information, user information, and time information, can be obtained. Based on the determined number of speakers and acoustic mode of the speaker system, the target location of the speakers is determined according to the acoustic mode of the speaker system. This method allows users to automatically select the most suitable acoustic mode during use, improving the user experience.

[0070] <device>

[0071] like Figure 9As shown, this application embodiment also provides a speaker control device 20, including a processor 21 and a memory 22. The memory 22 stores a program or instructions that can run on the processor 21. When the program or instructions are executed by the processor 21, they implement the various steps of the speaker control method embodiment described above and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0072] In one example of this embodiment, the speaker control device can be mounted inside the speaker. The speaker control device can be a terminal device, such as a mobile phone.

[0073] like Figure 10 As shown, the application embodiment also provides a speaker 30, including a processor 31 and a memory 32. The memory 32 stores a program or instructions that can run on the processor 31. When the program or instructions are executed by the processor 31, they implement the various steps of the above-described speaker control method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0074] In one example of this embodiment, the speaker is a polyhedral spherical structure, with directional speakers provided on each face of the speaker; a motor is provided inside the speaker, and the speaker rolls under the drive of the motor.

[0075] like Figure 11 As shown, this application embodiment also provides an electronic device 40, including a processor 41 and a memory 42. The memory 42 stores a program or instructions that can run on the processor 41. When the program or instructions are executed by the processor 41, they implement the various steps of the above-described speaker control method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0076] For example, a first message is sent to the speaker, which instructs the speaker to enter follow mode, in which the speaker performs the steps in the method embodiment.

[0077] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described speaker control method embodiment and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0078] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0079] The various embodiments in this disclosure are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and apparatus embodiments are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0080] The foregoing has described specific embodiments of this disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0081] Embodiments of this disclosure may be systems, methods, and / or computer program products. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of the embodiments of this disclosure.

[0082] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination thereof. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

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

[0084] Computer program instructions used to perform the operations of embodiments of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent 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 the "C" language or similar programming languages. The computer-readable program instructions may execute entirely on a user's computer, partially on a user's computer, as a standalone software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving 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., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing state information from the computer-readable program instructions. This electronic circuitry can execute the computer-readable program instructions to implement various aspects of embodiments of this disclosure.

[0085] Various aspects of embodiments of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0086] 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 apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0087] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be 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 perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0088] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions. It will be known to those skilled in the art that implementation in hardware, implementation in software, and implementation in a combination of software and hardware are equivalent.

[0089] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, and are not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A method for controlling a speaker, characterized in that, include: The target position of the speaker is obtained, wherein the target position of the speaker is the relative position with reference to a preset object, and the target position of the speaker is determined according to the acoustic mode of the speaker system to which the speaker belongs. The speaker system includes at least two speakers, and the acoustic mode of the speaker system includes at least a surround sound mode, a directional sound mode, and a stereo sound mode. Control the speaker to move to the target position of the speaker; Get the rotation direction and rotation angle of the preset object; The direction and angle of the overall rotation of the speaker system are controlled to be the same as the rotation direction and angle of the preset object, so that the overall distribution state of the speaker system does not change.

2. The method according to claim 1, characterized in that, Determining the target location of the speaker based on the acoustic mode of the speaker system to which the speaker belongs includes: Based on the acoustic mode of the speaker system, the target distribution state of the speaker system is determined, wherein the target distribution state of the speaker system represents the overall distribution state of all speakers in the speaker system with a preset object as a reference. The target position of each speaker in the speaker system is determined based on the target distribution state of the speaker system.

3. The method according to claim 2, characterized in that, Determining the target position of each speaker in the speaker system based on the target distribution state of the speaker system includes: Obtain the actual position of each speaker in the speaker system, wherein the actual position of the speaker is the relative position with the user as the reference point; Based on the target distribution state of the speaker system and the actual position of each speaker in the speaker system, the target position of each speaker in the speaker system is determined with the principle of minimizing the total displacement of all speakers.

4. The method according to claim 1, characterized in that, The control of moving the speaker to reach the target position of the speaker includes: Obtain the actual position of the speaker, wherein the actual position of the speaker is relative to a preset object; Plan the movement route from the actual position of the speaker to the target position of the speaker; Control the speaker to move according to the specified movement path.

5. The method according to claim 3 or 4, characterized in that, The speaker is equipped with a UWB positioning module, and the speaker system also includes a UWB device. Obtaining the actual position of the speaker includes: The UWB positioning module receives the UWB signal emitted by the UWB device and determines the actual location of the speaker based on the received UWB signal.

6. The method according to claim 1, characterized in that, The speaker is equipped with at least one sensor, which is used to detect obstacles; The speaker avoids obstacles based on the sensor data output by the sensor during movement.

7. The method according to claim 1, characterized in that, Before obtaining the target location of the speaker, the method further includes: Acquire target information, wherein the target information includes at least one of environmental information, user information, and time information; Based on the target information, select one acoustic mode from a variety of preset acoustic modes; The speaker system comprises a target number of speakers, wherein the target number is the number of speakers corresponding to the selected acoustic mode; The acoustic mode of the speaker system is set according to the selected acoustic mode; The target location of the speaker is determined based on the acoustic pattern of the speaker system.

8. The method according to claim 7, characterized in that, The speaker is equipped with at least one sensor; the sensor is used to detect the surrounding environment. The acquisition of target information includes: determining the environmental information through the sensing data output by the sensor.

9. A control device for a speaker, characterized in that, It includes a processor and a memory, wherein the memory stores computer instructions that, when executed by the processor, implement the steps of the method according to any one of claims 1-8.

10. The apparatus according to claim 9, characterized in that, The device is mounted in the speaker.

11. A speaker, characterized in that, The device has a processor and a memory, the memory storing computer instructions that, when executed by the processor, implement the steps of the method according to any one of claims 1-8.

12. The speaker according to claim 11, characterized in that, The speaker is a polyhedral spherical structure, with a directional speaker on each face; a motor is installed inside the speaker, and the speaker rolls under the drive of the motor.

13. An electronic device, characterized in that, It has a processor and a memory, the memory storing computer instructions, which, when executed by the processor, perform the following steps: Send a first message to the speaker, the first message being used to control the speaker to perform the steps of the method according to any one of claims 1-8.

14. A storage medium, characterized in that, It stores computer instructions that, when executed by a processor, implement the steps of the method described in any one of claims 1-8.

Citation Information

Patent Citations

  • Sound source control method, system and device

    CN111432362A

  • Intelligent Bluetooth sound box capable of automatically following

    CN111650946A