CN108600906B - Playing control method and device for multiple sound boxes - Google Patents

Playing control method and device for multiple sound boxes Download PDF

Info

Publication number
CN108600906B
CN108600906B CN201810349741.9A CN201810349741A CN108600906B CN 108600906 B CN108600906 B CN 108600906B CN 201810349741 A CN201810349741 A CN 201810349741A CN 108600906 B CN108600906 B CN 108600906B
Authority
CN
China
Prior art keywords
target
playing
sound box
volume
sound
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201810349741.9A
Other languages
Chinese (zh)
Other versions
CN108600906A (en
Inventor
张丹超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL China Star Optoelectronics Technology Co Ltd
Original Assignee
Shenzhen China Star Optoelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen China Star Optoelectronics Technology Co Ltd filed Critical Shenzhen China Star Optoelectronics Technology Co Ltd
Priority to CN201810349741.9A priority Critical patent/CN108600906B/en
Publication of CN108600906A publication Critical patent/CN108600906A/en
Application granted granted Critical
Publication of CN108600906B publication Critical patent/CN108600906B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/20Arrangements for obtaining desired frequency or directional characteristics
    • H04R1/22Arrangements for obtaining desired frequency or directional characteristics for obtaining desired frequency characteristic only 
    • H04R1/26Spatial arrangements of separate transducers responsive to two or more frequency ranges

Landscapes

  • Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Stereophonic System (AREA)

Abstract

A play control method and device for multiple sound boxes comprises the following steps: when the first loudspeaker box is in a playing state, detecting whether at least one second loudspeaker box in the playing state exists, if the second loudspeaker box exists, acquiring the volume value of sound recorded by the first loudspeaker box according to the content played by each second loudspeaker box to obtain a volume value set, judging whether a target volume value which is larger than or equal to a preset volume value threshold value exists in the volume value set, and if the judgment result is yes, sending a volume adjusting instruction to a target second loudspeaker box corresponding to the target volume value in all the second loudspeaker boxes to trigger the target second loudspeaker box to reduce the playing volume of the target second loudspeaker box according to the volume adjusting instruction. By implementing the embodiment of the invention, the interference noise generated by simultaneously using a plurality of sound boxes can be reduced, and the influence of the interference noise on the use experience of a user is further reduced.

Description

Playing control method and device for multiple sound boxes
Technical Field
The invention relates to the technical field of sound box control, in particular to a playing control method and device for multiple sound boxes.
Background
Along with the continuous development of electronic technology, the performance of sound box equipment is also continuously improved, intelligent products such as intelligent sound boxes appear in the market, and the intelligent sound boxes are favored by users and become the preferred products of most of family users. When a plurality of families are equipped with sound boxes, a plurality of sound boxes are selected to be equipped according to the requirement difference of each family member, and the sound boxes are placed at different positions in the family, such as a child room, a parent room, a living room and the like, so as to meet the use requirements of different family members. When a plurality of family members use the sound box simultaneously, the sound boxes at different positions play different contents simultaneously, interference noise is easily generated, and the use experience of a user is influenced.
Disclosure of Invention
The embodiment of the invention discloses a playing control method and device for multiple sound boxes, which can reduce interference noise generated by simultaneous use of multiple sound boxes, and further reduce the influence of the interference noise on user experience.
The first aspect of the embodiment of the invention discloses a playing control method for a multi-sound box, which comprises the following steps:
when a first sound box is in a playing state, detecting whether at least one second sound box in the playing state exists or not;
if the second sound boxes are detected to exist, acquiring the volume values of the sound recorded by the first sound box aiming at the content played by each second sound box to obtain a volume value set;
and judging whether a target volume value which is greater than or equal to a preset volume value threshold value exists in the volume value set, if so, sending a volume adjusting instruction to a target second sound box corresponding to the target volume value in all the second sound boxes so as to trigger the target second sound box to reduce the playing volume of the target second sound box according to the volume adjusting instruction.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after determining that there is a target volume value greater than or equal to a preset volume value threshold in the set of volume values, the method further includes:
acquiring first playing content of the first sound box and acquiring second playing content of a target second sound box corresponding to the target volume value;
and judging whether the first playing content is the same as the second playing content, and when the first playing content is different from the second playing content, executing the step of sending a volume adjusting instruction to a target second sound box corresponding to the target volume value in all the second sound boxes.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after determining that the first playback content is the same as the second playback content, the method further includes:
acquiring a first playing progress of the first sound box for the first playing content and acquiring a second playing progress of the target second sound box for the second playing content;
and judging whether the first playing progress is the same as the second playing progress or not, and triggering and executing the sending of a volume adjusting instruction to a target second sound box corresponding to the target volume value in all the second sound boxes when the first playing progress is different from the second playing progress.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before sending the volume adjustment instruction to the target second sound box corresponding to the target volume value among all the second sound boxes, the method further includes:
acquiring a first priority of the first sound box and a second priority of a target second sound box corresponding to the target volume value;
and judging whether the first priority is higher than the second priority, and triggering and executing the sending of a volume adjusting instruction to a target second loudspeaker box corresponding to the target volume value in all the second loudspeaker boxes when the first priority is higher than the second priority.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the sending a volume adjustment instruction to a target second sound box corresponding to the target volume value among all the second sound boxes to trigger the target second sound box to reduce its playing volume according to the volume adjustment instruction includes:
positioning a target second sound box corresponding to the target volume value according to the target volume value to obtain a target space position where the target second sound box is located, and obtaining a first space position of the first sound box;
generating a volume adjusting instruction aiming at the target second loudspeaker box according to the spatial distance between the first spatial position and the target spatial position;
and sending the volume adjusting instruction to the target second sound box to trigger the target second sound box to reduce the playing volume of the target second sound box according to the volume adjusting instruction.
The second aspect of the embodiments of the present invention discloses a method and an apparatus for controlling playing of a multi-sound box, wherein the method and the apparatus comprise:
the detection unit is used for detecting whether at least one second sound box in the playing state exists or not when the first sound box is in the playing state;
the acquisition unit is used for acquiring the volume value of sound recorded by the first loudspeaker aiming at the content played by each second loudspeaker to obtain a volume value set when the detection unit detects that the second loudspeaker exists;
the first judgment unit is used for judging whether a target volume value which is greater than or equal to a preset volume value threshold exists in the volume value set or not;
and the first sending unit is used for sending a volume adjusting instruction to a target second loudspeaker box corresponding to the target volume value in all the second loudspeaker boxes after the first judging unit judges that the target volume value exists, so as to trigger the target second loudspeaker box to reduce the playing volume of the target second loudspeaker box according to the volume adjusting instruction.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the apparatus further includes:
the first obtaining unit is used for obtaining first playing content of the first sound box and obtaining second playing content of a target second sound box corresponding to the target volume value after the first judging unit judges that the target volume value which is greater than or equal to a preset volume value threshold exists in the volume value set;
a second judging unit, configured to judge whether the first playing content is the same as the second playing content;
the first sending unit is specifically configured to send a volume adjustment instruction to a target second sound box corresponding to the target volume value among all the second sound boxes after the first determining unit determines that the target volume value exists and the second determining unit determines that the first playing content is different from the second playing content, so as to trigger the target second sound box to reduce the playing volume of the target second sound box according to the volume adjustment instruction.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the apparatus further includes:
the first obtaining unit is further configured to obtain a first playing progress of the first sound box for the first playing content and obtain a second playing progress of the target second sound box for the second playing content when the second judging unit judges that the first playing content is the same as the second playing content;
a third judging unit, configured to judge whether the first playing progress is the same as the second playing progress;
and the second sending unit is used for sending a volume adjusting instruction to a target second sound box corresponding to the target volume value in all the second sound boxes to trigger the target second sound box to reduce the playing volume of the target second sound box according to the volume adjusting instruction when the first judging unit judges that the target volume value exists, the second judging unit judges that the first playing content is the same as the second playing content, and the third judging unit judges that the first playing progress is different from the second playing progress.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the apparatus further includes:
the second acquiring unit is used for acquiring the first priority of the first sound box and the second priority of a target second sound box corresponding to the target volume value;
a fourth judging unit configured to judge whether the first priority is higher than the second priority;
the second sending unit is specifically configured to send a volume adjustment instruction to a target second sound box corresponding to the target volume value among all the second sound boxes when the first judging unit judges that the target volume value exists, the second judging unit judges that the first playing content is the same as the second playing content, the third judging unit judges that the first playing progress is different from the second playing progress, and the fourth judging unit judges that the first priority is higher than the second priority, so as to trigger the target second sound box to reduce the playing volume according to the volume adjustment instruction.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the manner in which the first sending unit sends a volume adjustment instruction to a target second sound box corresponding to the target volume value among all the second sound boxes to trigger the target second sound box to reduce the playing volume of the target second sound box according to the volume adjustment instruction is specifically:
positioning a target second sound box corresponding to the target volume value according to the target volume value to obtain a target space position where the target second sound box is located, and obtaining a first space position of the first sound box;
generating a volume adjusting instruction aiming at the target second loudspeaker box according to the spatial distance between the first spatial position and the target spatial position;
and sending the volume adjusting instruction to the target second sound box to trigger the target second sound box to reduce the playing volume of the target second sound box according to the volume adjusting instruction.
The third aspect of the embodiments of the present invention discloses another playing control device for multiple speakers, where the control device includes:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute all or part of the steps of any one of the methods disclosed in the first aspect of the embodiments of the present invention.
A fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium, which is characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute all or part of the steps in any one of the methods disclosed in the first aspect of the embodiments of the present invention.
A fifth aspect of embodiments of the present invention discloses a computer program product, which, when run on a computer, causes the computer to perform some or all of the steps of any one of the methods of the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the first loudspeaker box is in a playing state, whether at least one second loudspeaker box in the playing state exists is detected, if the second loudspeaker box exists, the sound volume value of sound recorded by the first loudspeaker box according to the content played by each second loudspeaker box is collected to obtain a sound volume value set, whether a target sound volume value which is larger than or equal to a preset sound volume value threshold value exists in the sound volume value set is judged, if the target sound volume value is judged to be larger than or equal to the preset sound volume value threshold value, a sound volume adjusting instruction is sent to a target second loudspeaker box corresponding to the target sound volume value in all the second loudspeaker boxes, and the target second loudspeaker box is triggered to reduce the playing volume according to the sound volume adjusting instruction. Therefore, by implementing the embodiment of the invention, when a plurality of sound boxes are in a playing state at the same time, the interference noise generated among different sound boxes can be reduced, and the influence of the interference noise on the user experience can be further reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a playing control method for multiple sound boxes according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another playing control method for multiple speakers according to the embodiment of the present invention;
FIG. 3 is a flow chart illustrating a playing control method for multiple sound boxes according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a playing control device of a multi-sound box disclosed in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of another playing control device for multiple speakers according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a playback control apparatus for a multi-sound box according to an embodiment of the present invention;
fig. 7 is a block diagram of a part of a structure of a mobile phone disclosed in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a playing control method and device for multiple sound boxes, which can reduce interference noise generated among different sound boxes when the multiple sound boxes are in a playing state at the same time, and further reduce the influence of the interference noise on the user experience. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a flow chart illustrating a playing control method for multiple audio boxes according to an embodiment of the present invention. As shown in fig. 1, the playing control method for multiple speakers may include the following steps:
101. when the first sound box is in a playing state, the control device detects whether at least one second sound box in the playing state exists, and if the second sound box exists, the step 102 is executed; if it is detected that the second speaker is not present, the process continues to step 101.
In an embodiment of the present invention, the first sound box and the second sound box may be in direct communication, or the first sound box and the second sound box may not be in direct communication, but the control device realizes communication interaction between them, which is not limited in the embodiment of the present invention. That is, the control device may be applied to each speaker device, or may be applied to a terminal device such as a mobile phone or a tablet, and is used to control the speaker to perform operations such as playing, and to implement communication interaction between different speakers.
It should be noted that the number of the second sound boxes may be one or multiple, and the embodiment of the present invention is not limited.
102. And the control device acquires the volume value of the sound recorded by the first loudspeaker box according to the content played by each second loudspeaker box to obtain a volume value set.
In the embodiment of the present invention, since the number of the second speakers may be one or more, the control device may form the volume value set by the volume values of the sounds recorded by the first speakers.
In the embodiment of the present invention, the volume values of different second sound boxes during sound playing are different, and because there is attenuation in the sound propagation process, the control device needs to collect the volume values of the sound recorded by the first sound box for the content played by each second sound box, so as to obtain a volume value set. This is favorable to improving the accuracy of judging whether the second audio amplifier causes interference to the first audio amplifier.
103. The control device judges whether a target volume value which is greater than or equal to a preset volume value threshold exists in the volume value set, if so, the step 104 is executed; if the judgment result is negative, the flow is ended.
In the embodiment of the present invention, the preset volume value threshold is a minimum volume value that causes interference to the content played by the first speaker.
As an optional implementation manner, after determining that there is a target volume value greater than or equal to a preset volume value threshold in the volume value set, the control device may further perform the following operations:
sending an environment detection instruction to a target second sound box corresponding to the target volume value in all the second sound boxes so that the target second sound box obtains an environment image of an environment area where the target second sound box is located according to the environment detection instruction and returns the environment image;
and judging whether the environment image contains people or not, and if so, executing step 104.
In an embodiment of the present invention, the target second sound box receives an environment detection instruction sent by the control device, detects whether an associable image capturing device exists within a preset area after receiving the environment detection instruction, sends a communication connection request to the image capturing device to establish a communication connection with the image capturing device if the associable image capturing device is detected, sends an environment image capturing request to the image capturing device to capture the environment image, and sends the environment image to the control device. Analyzing the environment image by the control device, extracting characteristic parameters of the environment image, judging whether the environment image contains people according to the characteristic parameters, and if the environment image contains people, knowing that the user uses the target second sound box, thus triggering to execute step 104; if the environment image is judged to contain no person, the user can know that the target second sound box is not used by the user currently, therefore, a play pause instruction is sent to the target second sound box, the content played by the target second sound box currently is cached, and the user of the target second sound box can immediately use the target second sound box to play when returning to the environment area where the target second sound box is located again. Therefore, by implementing the embodiment of the invention, whether the environment area where the current target second sound box is located is occupied can be judged through the environment image, and the playing of the target second sound box is paused in time when the situation that no people exist is judged, so that on one hand, the power consumption of the target second sound box can be reduced, and the waste of the electric quantity of the sound box is reduced; on the other hand, the generation of interference noise can be avoided from the source, and the use experience of the user is further improved.
104. And the control device sends a volume adjusting instruction to a target second sound box corresponding to the target volume value in all the second sound boxes so as to trigger the target second sound box to reduce the playing volume of the target second sound box according to the volume adjusting instruction.
In the embodiment of the present invention, the control device may send a uniform volume adjustment instruction to the target second sound boxes corresponding to the target volume values among all the second sound boxes, or may send different volume adjustment instructions according to the obtained actual situation information of different target second sound boxes in a targeted manner. The actual situation information may include, but is not limited to, spatial position information of the target second sound box, area information of an environment area where the target second sound box is located, person detection information used for indicating whether a person exists around the second sound box, and the like.
As an optional implementation manner, after detecting that the second sound box exists in step 101, the control device may obtain first content of the first sound box and second content of the second sound box, obtain a second content set according to all the second content, determine whether a target second content different from the first content exists in the second content set, if so, collect a volume value of sound recorded by the first sound box for the target second content to obtain a volume value set, and then execute steps 103 to 104; further, after it is determined that there is no target second content different from the first content, a second playing progress of the target second content is further obtained to obtain a second playing progress set, and it is determined whether there is a target second playing progress in the second playing progress set that is asynchronous with the first playing progress of the first content, if so, a volume adjustment instruction is sent to a target second sound box corresponding to the target second playing progress to trigger the target second sound box to reduce its playing volume according to the volume adjustment instruction.
Therefore, by the method described in fig. 1, when a plurality of speakers are in a playing state at the same time, interference noise generated between different speakers can be reduced, thereby reducing the influence of the interference noise on the user experience; whether the environment area where the current target second sound box is located is someone can be judged through the environment image, and the playing of the target second sound box is paused in time when no person is judged, so that the power consumption of the target second sound box can be reduced, the waste of the electric quantity of the sound box is reduced, the generation of interference noise can be avoided from the source, and the use experience of a user is further improved.
Example two
Referring to fig. 2, fig. 2 is a schematic flow chart of another playing control method for multiple speakers according to an embodiment of the present invention. As shown in fig. 2, the playing control method of the multi-sound box may include the following steps:
in the embodiment of the present invention, the method for controlling the playing of multiple sound boxes includes steps 201 to 203, and for the description of steps 201 to 203, please refer to the detailed description of steps 101 to 103 in the first embodiment, which is not repeated herein. If the judgment result in step 203 is yes, step 204 is triggered to be executed, and if the judgment result in step 203 is no, the present process is ended.
204. The control device acquires first playing content of the first sound box and second playing content of the target second sound box corresponding to the target volume value.
205. The control device judges whether the first playing content is the same as the second playing content, and executes the steps 206-207 when the first playing content is the same as the second playing content; when the first playing content is not the same as the second playing content, step 208 is executed.
In the embodiment of the present invention, the way for the control device to determine whether the first playing content is the same as the second playing content may specifically be:
judging whether the playing types of the first sound box and the target second sound box are the same, wherein the playing types can include broadcasting and non-broadcasting (including music, English listening and the like);
if the playing types are different, determining that the first playing content is different from the second playing content, and executing step 208;
if the playing types are the same, when the playing types are broadcasting, judging whether the broadcasting frequency bands (broadcasting channels) of the first sound box and the target second sound box are the same, if the broadcasting frequency bands are the same, determining that the first playing content is the same as the second playing content, and executing the steps 206-207; if the broadcast frequency bands are different, determining that the first broadcast content is different from the second broadcast content, and performing step 208;
if the playing types are the same, when the playing types are non-broadcast, extracting first semantic information of the first playing content and second semantic information of the second playing content, judging whether the first semantic information and the second semantic information are completely the same, if so, determining that the first playing content is the same as the second playing content, and executing the steps 206-207; if not, it is determined that the first playing content is not the same as the second playing content, and step 208 is performed.
It should be noted that the above embodiment may be applied to the case that the number of the target second sound boxes is one, and particularly, when the number of the target second sound boxes is at least two, the control device determines whether the first playing content is the same as the second playing content, and when the first playing content is the same as the second playing content, it indicates that the second playing content of all the target second sound boxes is the same as the first playing content, so that the execution of steps 206 to 207 may be triggered; when the first playing content is different from the second playing content, it indicates that the second playing content of at least one target second sound box in the plurality of target second sound boxes is different from the first playing content, so that the step 208 can be triggered and executed, that is, a volume adjusting instruction is sent to all target second sound boxes to trigger all target second sound boxes to reduce the playing volume of the target second sound boxes according to the volume adjusting instruction; or directly sending a volume adjustment instruction to the target second sound boxes to be processed, which have different second playing contents from the first playing contents, of all the target second sound boxes, and executing steps 206 to 207 on the remaining target second sound boxes except the target second sound boxes to be processed, of all the target second sound boxes.
In the embodiment of the present invention, optionally, after determining that the first playing content is different from the second playing content, the control device may push the first playing content to the second sound box, so as to improve the interest of the interaction between the devices.
206. The control device acquires a first playing progress of the first sound box aiming at the first playing content and acquires a second playing progress of the target second sound box aiming at the second playing content.
207. The control device judges whether the first playing progress is the same as the second playing progress, and if the first playing progress is not the same as the second playing progress, step 208 is executed; when the first playing progress is the same as the second playing progress, the process is ended.
In the embodiment of the invention, when more than or equal to two sound boxes play simultaneously, even if the playing contents are the same, the playing progress of the contents is asynchronous, so that the playing of the contents is interfered. Therefore, in the implementation of the present invention, it can be further determined whether the playing of the target second sound box interferes with the current playing of the first sound box by determining the playing schedules of the first sound box and the target second sound box, and when it is determined that the first playing schedule of the first sound box is different from the second playing schedule of the target second sound box, step 208 is executed to reduce the interference of the target second sound box with the playing of the first sound box.
As an optional implementation manner, after determining that the first playing progress is different from the second playing progress, the playing control device may obtain a working mode of the target second sound box, where the working mode may include an omnidirectional playing working mode and/or a directional playing working mode. When the working mode of the target second sound box is detected to comprise the directional play working mode, a working mode changing instruction can be sent to the target second sound box, and the working mode changing instruction can comprise a target changing direction and a target changing volume. The target second sound box can change the current playing direction into a target changing direction according to the working mode changing instruction and change the current playing volume into the target changing volume. Further optionally, the target change direction is a play direction away from the first sound box, and the target change volume is a volume value lower than the play volume of the first sound box. Therefore, according to the embodiment of the invention, the working mode of the target second sound box can be changed, so that the target second sound box plays the second playing content in the preset volume and direction, the influence of the playing of the target second sound box on the playing quality of the first sound box is reduced, and the interference generated between a plurality of sound boxes during the simultaneous playing is reduced.
208. And the control device sends a volume adjusting instruction to a target second sound box corresponding to the target volume value in all the second sound boxes so as to trigger the target second sound box to reduce the playing volume of the target second sound box according to the volume adjusting instruction.
Therefore, by the method described in fig. 2, when a plurality of speakers are in a playing state at the same time, interference noise generated between different speakers can be reduced, thereby reducing the influence of the interference noise on the user experience; whether a person exists in the environment area where the current target second sound box is located can be judged through the environment image, and the playing of the target second sound box is paused in time when the absence of the person is judged, so that the power consumption of the target second sound box can be reduced, the waste of the electric quantity of the sound box is reduced, the generation of interference noise can be avoided from the source, and the use experience of a user is further improved; in addition, the working mode of the target second loudspeaker box can be changed, so that the target second loudspeaker box plays second playing contents in preset volume and direction, the influence of the playing of the target second loudspeaker box on the playing quality of the first loudspeaker box is reduced, and the interference generated between a plurality of loudspeaker boxes during the simultaneous playing is reduced.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flow chart of another playing control method for multiple speakers according to an embodiment of the present invention. As shown in fig. 3, the playing control method of the multi-sound box may include the following steps:
in the embodiment of the present invention, the method for controlling the playing of multiple sound boxes includes steps 301 to 307, and for the description of steps 301 to 307, please refer to the detailed description of steps 201 to 207 in the first embodiment, which is not repeated herein. If the determination result in the step 307 is no, the step 308 is triggered to be executed, and if the determination result in the step 307 is yes, the current process is ended.
308. The control device obtains a first priority of the first loudspeaker box and a second priority of the target second loudspeaker box corresponding to the target volume value.
309. The control device judges whether the first priority is higher than the second priority, and if the first priority is higher than the second priority, the steps 310-312 are executed; when the first priority is not higher than the second priority, the flow is ended.
In the embodiments of the invention in steps 308 to 309, as can be seen from steps 301 to 307, the user of the first sound box and the user of the target second sound box are playing using the sound boxes at the same time, and the playing contents and/or playing schedules of the first sound box and the target second sound box are not consistent, so that the listening effect of the user of the first sound box listening to the first sound box is affected, but at the same time, the user of the target second sound box listening to the target second sound box may also be affected by the first sound box. Therefore, by implementing the embodiment of the invention, the priority level can be set for each sound box based on the environment of multiple sound boxes, when multiple sound boxes are used simultaneously, the sound volume can be adjusted to the sound box with low priority level by judging the priority level of each sound box, so that the sound boxes can be reasonably regulated and controlled in the environment of multiple sound boxes, and the playing environment of the multiple sound boxes can be optimized.
310. And the control device positions a target second sound box corresponding to the target volume value according to the target volume value to obtain a target space position where the target second sound box is located, and obtains a first space position of the first sound box.
311. And the control device generates a volume adjusting instruction aiming at the target second loudspeaker box according to the spatial distance between the first spatial position and the target spatial position.
In the embodiment of the invention, the control device can generate the unified volume adjusting instructions for all the target second sound boxes, and further, different volume adjusting instructions can be generated for the target second sound boxes with different spatial distances in a targeted manner according to the spatial distance between the first spatial position and the target spatial position, so that the personalized control of the playing of multiple sound boxes is realized.
312. And the control device sends a volume adjusting instruction to the target second sound box so as to trigger the target second sound box to reduce the playing volume of the target second sound box according to the volume adjusting instruction.
It should be noted that, the above steps 310 to 312 may be triggered and executed after the first playing schedule is determined to be different from the second playing schedule in step 307, or triggered and executed after the first priority is determined to be higher than the second priority in step 309.
Therefore, by the method described in fig. 3, when a plurality of speakers are in a playing state at the same time, interference noise generated between different speakers can be reduced, thereby reducing the influence of the interference noise on the user experience; whether a person exists in the environment area where the current target second sound box is located can be judged through the environment image, and the playing of the target second sound box is paused in time when the absence of the person is judged, so that the power consumption of the target second sound box can be reduced, the waste of the electric quantity of the sound box is reduced, the generation of interference noise can be avoided from the source, and the use experience of a user is further improved; the target second sound box can play the second playing content in the preset volume and direction by changing the working mode of the target second sound box, so that the influence of the playing of the target second sound box on the playing quality of the first sound box is reduced, and the interference generated between the plurality of sound boxes during the simultaneous playing is reduced; in addition, the priority level can be set for each sound box based on the environment of multiple sound boxes, when multiple sound boxes are used simultaneously, the sound volume is adjusted to the sound box with low priority level by judging the priority level of each sound box, so that the sound boxes can be reasonably regulated and controlled in the environment of multiple sound boxes, and the playing environment of the multiple sound boxes is optimized; furthermore, different volume adjusting instructions can be generated for target second sound boxes with different spatial distances in a targeted manner according to the spatial distance between the first spatial position and the target spatial position, and personalized control over playing of the multiple sound boxes is achieved.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of a playback control apparatus for multiple audio boxes according to an embodiment of the present invention. As shown in fig. 4, the playing control apparatus for multiple speakers may include:
the detecting unit 401 is configured to detect whether there is at least one second sound box in a playing state when the first sound box is in the playing state, and provide a detection result to the acquiring unit 402.
A collecting unit 402, configured to, when the detecting unit 401 detects that the second sound boxes exist, collect volume values of sounds recorded by the first sound box for the content played by each second sound box to obtain a volume value set, and provide the volume value set to the first determining unit 403.
In the embodiment of the present invention, the volume values of different second sound boxes during playing sound are different, and because there is attenuation in the sound propagation process, the collecting unit 402 needs to collect the volume values of the sound recorded by the first sound box for the content played by each second sound box, so as to obtain a volume value set. This is favorable to improving the accuracy of judging whether the second audio amplifier causes interference to the first audio amplifier. A first judging unit 403, configured to judge whether a target volume value greater than or equal to a preset volume value threshold exists in the volume value set, and provide a judgment result to the first sending unit 404.
As an optional implementation manner, after determining that a target volume value greater than or equal to a preset volume value threshold exists in the set of volume values, the first determining unit 403 may be further configured to:
triggering the first sending unit 404 to start, and sending an environment detection instruction to a target second sound box corresponding to the target volume value from among all the second sound boxes by the first sending unit 404, so that the target second sound box obtains an environment image of an environment area where the target second sound box is located according to the environment detection instruction and returns the environment image;
and judging whether the environment image contains people or not, if so, triggering the first sending unit 404 to start again.
In this embodiment of the present invention, the target second speaker receives the environment detection instruction sent by the first sending unit 404, and after receiving the environment detection instruction, detects whether there is an associable image capturing device within a preset area range, and if an associable image capturing device is detected, sends a communication connection request to the image capturing device to establish a communication connection with the image capturing device, sends an environment image capturing request to the image capturing device to capture the environment image, and sends the environment image to the control device. The first sending unit 404 receives the environment image, provides the environment image to the first judging unit 403 for analyzing and extracting the feature parameters of the environment image, judges whether the environment image contains a person according to the feature parameters, and if the environment image contains a person, it is known that the user is using the target second sound box, so that the first sending unit 404 is triggered to start again, and the first sending unit 404 sends a volume adjusting instruction to the target second sound box corresponding to the target volume value in all the second sound boxes to trigger the target second sound box to reduce the playing volume of the target second sound box according to the volume adjusting instruction; if the environment image is judged to contain no person, the user can know that the target second sound box is not used currently, therefore, the first sending unit 404 is triggered to start, the first sending unit 404 sends a play pause instruction to the target second sound box, and the content played currently by the target second sound box is cached, so that the user of the target second sound box can immediately use the target second sound box to play when returning to the environment area where the target second sound box is located again. Therefore, by implementing the embodiment of the invention, whether the environment area where the current target second sound box is located is occupied can be judged through the environment image, and the playing of the target second sound box is paused in time when the situation that no people exist is judged, so that on one hand, the power consumption of the target second sound box can be reduced, and the waste of the electric quantity of the sound box is reduced; on the other hand, the generation of interference noise can be avoided from the source, and the use experience of the user is further improved.
A first sending unit 404, configured to send a volume adjustment instruction to a target second sound box corresponding to the target volume value among all the second sound boxes after the first determining unit 403 determines that the target volume value exists, so as to trigger the target second sound box to reduce the playing volume of the target second sound box according to the volume adjustment instruction.
Therefore, with the play control device of multiple sound boxes described in fig. 4, when multiple sound boxes are in a play state at the same time, interference noise generated between different sound boxes can be reduced, and further, the influence of the interference noise on the user experience can be reduced; whether the environment area where the current target second sound box is located is someone can be judged through the environment image, and the playing of the target second sound box is paused in time when no person is judged, so that the power consumption of the target second sound box can be reduced, the waste of the electric quantity of the sound box is reduced, the generation of interference noise can be avoided from the source, and the use experience of a user is further improved.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another multi-speaker playback control apparatus according to an embodiment of the present invention, where the multi-speaker playback control apparatus shown in fig. 5 is obtained by further optimizing the multi-speaker playback control apparatus shown in fig. 4. Compared with the playing control device of multiple sound boxes shown in fig. 5, the playing control device of multiple sound boxes shown in fig. 5 further includes:
a first obtaining unit 405, configured to obtain a first playing content of the first loudspeaker box and a second playing content of the target second loudspeaker box corresponding to the target volume value after the first determining unit 403 determines that the target volume value greater than or equal to the preset volume value threshold exists in the volume value set, and provide the first playing content and the second playing content to the second determining unit 406.
The second determining unit 406 is configured to determine whether the first broadcast content acquired by the first acquiring unit 405 is the same as the second broadcast content, and provide the determination result to the first sending unit 404.
The first sending unit 404 is specifically configured to send a volume adjusting instruction to a target second sound box corresponding to the target volume value among all the second sound boxes when the first determining unit 403 determines that the target volume value exists and the second determining unit 406 determines that the first playing content is different from the second playing content, so as to trigger the target second sound box to reduce the playing volume according to the volume adjusting instruction.
As an alternative embodiment, as shown in fig. 5, in the multi-speaker playback control apparatus:
the first obtaining unit 405 is further configured to obtain a first playing progress of the first speaker with respect to the first playing content and obtain a second playing progress of the target second speaker with respect to the second playing content when the second determining unit 406 determines that the first playing content is the same as the second playing content.
The above playing control device for multiple speakers may further include:
a third determining unit 407, configured to determine whether the first playing progress acquired by the first acquiring unit 405 is the same as the second playing progress, and provide the determination result to the second sending unit 408.
In the embodiment of the invention, when more than or equal to two sound boxes play simultaneously, even if the playing contents are the same, the playing progress of the contents is asynchronous, so that the playing of the contents is interfered. Therefore, in the implementation of the present invention, it can be further determined whether the playing of the target second sound box interferes with the current playing of the first sound box by determining the playing schedules of the first sound box and the target second sound box, and when the third determining unit 407 determines that the first playing schedule of the first sound box is different from the second playing schedule of the target second sound box, the determination result is provided to the second sending unit 408, so as to reduce the interference of the target second sound box with the playing of the first sound box.
As an optional implementation manner, after determining that the first playing progress is different from the second playing progress, the third determining unit 407 may obtain a working mode of the target second sound box, where the working mode may include an omnidirectional playing working mode and/or a directional playing working mode. When the third determining unit 407 detects that the working mode of the target second sound box includes the directional play working mode, a working mode changing instruction may be sent to the target second sound box, where the working mode changing instruction may include a target changing direction and a target changing volume. The target second sound box can change the current playing direction into a target changing direction according to the working mode changing instruction and change the current playing volume into the target changing volume. Further optionally, the target change direction is a play direction away from the first sound box, and the target change volume is a volume value lower than the play volume of the first sound box. Therefore, according to the embodiment of the invention, the working mode of the target second sound box can be changed, so that the target second sound box plays the second playing content in the preset volume and direction, the influence of the playing of the target second sound box on the playing quality of the first sound box is reduced, and the interference generated between a plurality of sound boxes during the simultaneous playing is reduced.
A second sending unit 408, configured to send a volume adjusting instruction to a target second sound box corresponding to the target volume value among all the second sound boxes when the first determining unit 403 determines that the target volume value exists, the second determining unit 406 determines that the first playing content is the same as the second playing content, and the third determining unit 407 determines that the first playing progress is different from the second playing progress, so as to trigger the target second sound box to reduce the playing volume according to the volume adjusting instruction.
Therefore, with the play control device of multiple sound boxes described in fig. 5, when multiple sound boxes are in a play state at the same time, interference noise generated between different sound boxes can be reduced, and further, the influence of the interference noise on the user experience can be reduced; whether a person exists in the environment area where the current target second sound box is located can be judged through the environment image, and the playing of the target second sound box is paused in time when the absence of the person is judged, so that the power consumption of the target second sound box can be reduced, the waste of the electric quantity of the sound box is reduced, the generation of interference noise can be avoided from the source, and the use experience of a user is further improved; in addition, the working mode of the target second loudspeaker box can be changed, so that the target second loudspeaker box plays second playing contents in preset volume and direction, the influence of the playing of the target second loudspeaker box on the playing quality of the first loudspeaker box is reduced, and the interference generated between a plurality of loudspeaker boxes during the simultaneous playing is reduced.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another multi-speaker playing control apparatus according to an embodiment of the present invention, wherein the multi-speaker playing control apparatus shown in fig. 6 is obtained by further optimizing the multi-speaker playing control apparatus shown in fig. 5. Compared with the playing control device of multiple sound boxes shown in fig. 5, the playing control device of multiple sound boxes shown in fig. 6 further includes:
the second obtaining unit 409 is configured to obtain a first priority of the first loudspeaker and a second priority of the target second loudspeaker corresponding to the target volume value, and provide the first priority and the second priority to the fourth determining unit 410.
A fourth determining unit 410, configured to determine whether the first priority acquired by the second acquiring unit 409 is higher than the second priority, and provide the determination result to the second sending unit 408.
The second sending unit 408 is specifically configured to send a volume adjusting instruction to a target second sound box corresponding to the target volume value among all the second sound boxes when the first determining unit 403 determines that the target volume value exists, the second determining unit 406 determines that the first playing content is the same as the second playing content, the third determining unit 407 determines that the first playing progress is different from the second playing progress, and the fourth determining unit 410 determines that the first priority is higher than the second priority, so as to trigger the target second sound box to reduce the playing volume according to the volume adjusting instruction.
As an optional implementation manner, as shown in fig. 6, the manner that the first sending unit 404 sends the volume adjustment instruction to the target second sound box corresponding to the target volume value among all the second sound boxes to trigger the target second sound box to reduce the playing volume thereof according to the volume adjustment instruction may specifically be:
and positioning a target second sound box corresponding to the target volume value according to the target volume value to obtain a target space position where the target second sound box is located, and obtaining a first space position of the first sound box.
And generating a volume adjusting instruction aiming at the target second loudspeaker box according to the spatial distance between the first spatial position and the target spatial position.
And sending a volume adjusting instruction to the target second sound box to trigger the target second sound box to reduce the playing volume of the target second sound box according to the volume adjusting instruction.
Therefore, with the play control device of multiple sound boxes described in fig. 6, when multiple sound boxes are in a play state at the same time, interference noise generated between different sound boxes can be reduced, and further, the influence of the interference noise on the user experience can be reduced; whether a person exists in the environment area where the current target second sound box is located can be judged through the environment image, and the playing of the target second sound box is paused in time when the absence of the person is judged, so that the power consumption of the target second sound box can be reduced, the waste of the electric quantity of the sound box is reduced, the generation of interference noise can be avoided from the source, and the use experience of a user is further improved; the target second sound box can play the second playing content in the preset volume and direction by changing the working mode of the target second sound box, so that the influence of the playing of the target second sound box on the playing quality of the first sound box is reduced, and the interference generated between the plurality of sound boxes during the simultaneous playing is reduced; in addition, the priority level can be set for each sound box based on the environment of multiple sound boxes, when multiple sound boxes are used simultaneously, the sound volume is adjusted to the sound box with low priority level by judging the priority level of each sound box, so that the sound boxes can be reasonably regulated and controlled in the environment of multiple sound boxes, and the playing environment of the multiple sound boxes is optimized; furthermore, different volume adjusting instructions can be generated for target second sound boxes with different spatial distances in a targeted manner according to the spatial distance between the first spatial position and the target spatial position, and personalized control over playing of the multiple sound boxes is achieved.
The embodiment of the present invention further provides another playing control device for multiple sound boxes, as shown in fig. 7, for convenience of description, only the parts related to the embodiment of the present invention are shown, and details of the specific technology are not disclosed, please refer to the method part of the embodiment of the present invention. The play control device can be applied to any terminal equipment such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), and the like, taking the terminal equipment as the mobile phone as an example:
fig. 7 is a block diagram illustrating a part of a mobile phone related to a terminal according to an embodiment of the present invention. Referring to fig. 7, the handset includes: radio Frequency (RF) circuit 1110, memory 1120, input unit 1130, display unit 1140, sensor 1150, audio circuit 1160, wireless communication module 1170, processor 1180, power supply 1190, and camera 1100. Those skilled in the art will appreciate that the handset configuration shown in fig. 7 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 7:
RF circuit 1110 may be used for receiving and transmitting signals during a message transmission or call, and in particular, for receiving downlink messages from a base station and then processing the received downlink messages to processor 1180; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 1110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 1110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 1120 may be used to store executable program codes, and the processor 1180 coupled to the memory 1120 may execute various functional applications and data processing of the mobile phone by executing the executable program codes stored in the memory 1120, and in particular, may be used to execute all or part of the steps of any one of the first to third embodiments of the drowning alarm method based on user behavior. The memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. Touch panel 1131, also referred to as a touch screen, can collect touch operations of a user on or near the touch panel 1131 (for example, operations of the user on or near touch panel 1131 by using any suitable object or accessory such as a finger or a stylus pen), and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1131 may include two parts, namely, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1180, and can receive and execute commands sent by the processor 1180. In addition, the touch panel 1131 can be implemented by using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1130 may include other input devices 1132 in addition to the touch panel 1131. In particular, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1140 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. The display unit 1140 may include a display panel 1141, and optionally, may
The Display panel 1141 is configured in the form of a Liquid Crystal Display (LCD), an organic light-Emitting Diode (OLED), or the like. Further, the touch panel 1131 can cover the display panel 1141, and when the touch panel 1131 detects a touch operation on or near the touch panel, the touch panel is transmitted to the processor 1180 to determine the type of the touch event, and then the processor 1180 provides a corresponding visual output on the display panel 1141 according to the type of the touch event. Although in fig. 7, the touch panel 1131 and the display panel 1141 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1131 and the display panel 1141 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 1150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1141 and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 1160, speakers 1161, and microphone 1162 may provide an audio interface between a user and a cell phone. The audio circuit 1160 may transmit the electrical signal converted from the received audio data to the speaker 1161, and convert the electrical signal into a sound signal for output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signals into electrical signals, which are received by the audio circuit 1160 and converted into audio data, which are then processed by the audio data output processor 1180, and then transmitted to, for example, another cellular phone via the RF circuit 1110, or output to the memory 1120 for further processing.
The wireless communication module 1170 may be configured to transmit information to an external device, receive a control instruction of the external device, and the like, and in particular, transmit the control instruction to the processor 1180 after receiving the control instruction of the external device, and process the control instruction by the processor 1180. The wireless communication module 1170 may include, for example, a wireless fidelity (WiFi) module. WiFi belongs to a short-distance wireless transmission technology, and the mobile phone can be used for sending information, helping a user to receive and send emails, browsing webpages, accessing streaming media, receiving control instructions of external equipment and the like through a WiFi module, and provides wireless broadband internet access for the user.
The processor 1180 is a control center of the mobile phone, and is connected to various parts of the whole mobile phone through various interfaces and lines, and executes various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1120 and calling data stored in the memory 1120, thereby performing overall monitoring of the mobile phone. Optionally, processor 1180 may include one or more processing units; preferably, the processor 1180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated within processor 1180.
The phone also includes a power supply 1190 (e.g., a battery) for powering the various components, and preferably, the power supply may be logically connected to the processor 1180 via a power management system, so that the power management system may manage charging, discharging, and power consumption management functions.
Although not shown, the mobile phone may further include a bluetooth module, etc., which will not be described herein.
In the embodiment of the present invention, the processor 1180 included in the mobile phone is configured to execute the executable program code stored in the memory 1120, and further has the following functions:
when the first sound box is in a playing state, the control sensor 1150 detects whether there is at least one second sound box in the playing state;
if the second sound boxes are detected to exist, the audio circuit 1160 is controlled to collect the volume values of the sound recorded by the first sound box according to the content played by each second sound box, and a volume value set is obtained;
and judging whether a target volume value which is greater than or equal to a preset volume value threshold value exists in the volume value set, if so, controlling the wireless communication module 1170 to send a volume adjusting instruction to a target second sound box corresponding to the target volume value in all the second sound boxes so as to trigger the target second sound box to reduce the playing volume of the target second sound box according to the volume adjusting instruction.
Therefore, through the processor 1180 included in the mobile phone, when a plurality of sound boxes are in a playing state at the same time, interference noise generated among different sound boxes can be reduced, and further, the influence of the interference noise on the user experience is reduced.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by instructions associated with a program, which may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc-Read-Only Memory (CD-ROM), or other Memory, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The above embodiments are only used for illustrating the technical solutions of the present application and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (6)

1. A play control method for a multi-sound box is characterized by comprising the following steps:
when a first sound box is in a playing state, detecting whether at least one second sound box in the playing state exists or not;
if the second sound boxes are detected to exist, acquiring the volume values of the sound recorded by the first sound box aiming at the content played by each second sound box to obtain a volume value set;
judging whether a target volume value which is greater than or equal to a preset volume value threshold value exists in the volume value set, if so, sending a volume adjusting instruction to a target second sound box corresponding to the target volume value in all the second sound boxes so as to trigger the target second sound box to reduce the playing volume of the target second sound box according to the volume adjusting instruction;
after determining that there is a target volume value in the set of volume values that is greater than or equal to a preset volume value threshold, the method further comprises:
acquiring first playing content of the first sound box and acquiring second playing content of a target second sound box corresponding to the target volume value;
judging whether the first playing content is the same as the second playing content or not, and when the first playing content is different from the second playing content, executing the step of sending a volume adjusting instruction to a target second sound box corresponding to the target volume value in all the second sound boxes;
after determining that the first playing content is the same as the second playing content, the method further includes:
acquiring a first playing progress of the first sound box for the first playing content and acquiring a second playing progress of the target second sound box for the second playing content;
judging whether the first playing progress is the same as the second playing progress, acquiring the working mode of the target second loudspeaker box when the first playing progress is different from the second playing progress, the working mode comprises an omnidirectional playing working mode and/or a directional playing working mode, when the working mode of the target second loudspeaker box is detected to comprise a directional play working mode, a working mode changing instruction is sent to the target second loudspeaker box, the operation mode change instruction may include a target change direction and a target change volume, the target second speaker changes the current play direction to the target change direction and changes the current play volume to the target change volume according to the operation mode change instruction, the target changing direction is a playing direction far away from the first sound box, and the target changing volume is a volume value lower than the playing volume of the first sound box.
2. The method of claim 1, wherein before sending the volume adjustment instruction to the target second loudspeaker box corresponding to the target volume value among all the second loudspeaker boxes, the method further comprises:
acquiring a first priority of the first sound box and a second priority of a target second sound box corresponding to the target volume value;
and judging whether the first priority is higher than the second priority, and triggering and executing the sending of a volume adjusting instruction to a target second loudspeaker box corresponding to the target volume value in all the second loudspeaker boxes when the first priority is higher than the second priority.
3. The method according to claim 1 or 2, wherein the sending a volume adjustment instruction to a target second loudspeaker box corresponding to the target volume value among all the second loudspeaker boxes to trigger the target second loudspeaker box to reduce its playing volume according to the volume adjustment instruction comprises:
positioning a target second sound box corresponding to the target volume value according to the target volume value to obtain a target space position where the target second sound box is located, and obtaining a first space position of the first sound box;
generating a volume adjusting instruction aiming at the target second loudspeaker box according to the spatial distance between the first spatial position and the target spatial position;
and sending the volume adjusting instruction to the target second sound box to trigger the target second sound box to reduce the playing volume of the target second sound box according to the volume adjusting instruction.
4. A play control apparatus for a multi-sound box, comprising:
the detection unit is used for detecting whether at least one second sound box in the playing state exists or not when the first sound box is in the playing state;
the acquisition unit is used for acquiring the volume value of sound recorded by the first loudspeaker aiming at the content played by each second loudspeaker to obtain a volume value set when the detection unit detects that the second loudspeaker exists;
the first judgment unit is used for judging whether a target volume value which is greater than or equal to a preset volume value threshold exists in the volume value set or not;
the first sending unit is used for sending a volume adjusting instruction to a target second loudspeaker box corresponding to the target volume value in all the second loudspeaker boxes after the first judging unit judges that the target volume value exists, so as to trigger the target second loudspeaker box to reduce the playing volume of the target second loudspeaker box according to the volume adjusting instruction;
the device further comprises:
the first obtaining unit is used for obtaining first playing content of the first sound box and obtaining second playing content of a target second sound box corresponding to the target volume value after the first judging unit judges that the target volume value which is greater than or equal to a preset volume value threshold exists in the volume value set;
a second judging unit, configured to judge whether the first playing content is the same as the second playing content;
the first sending unit is specifically configured to send a volume adjustment instruction to a target second sound box corresponding to the target volume value among all the second sound boxes after the first determining unit determines that the target volume value exists and the second determining unit determines that the first playing content is different from the second playing content, so as to trigger the target second sound box to reduce the playing volume of the target second sound box according to the volume adjustment instruction
The device further comprises:
the first obtaining unit is further configured to obtain a first playing progress of the first sound box for the first playing content and obtain a second playing progress of the target second sound box for the second playing content when the second judging unit judges that the first playing content is the same as the second playing content;
a third judging unit, configured to judge whether the first playing progress is the same as the second playing progress;
a second sending unit, configured to obtain a working mode of the target second sound box when the first determining unit determines that the target volume value exists, the second determining unit determines that the first playing content is the same as the second playing content, and the third determining unit determines that the first playing progress is different from the second playing progress, where the working mode includes an omnidirectional playing working mode and/or a directional playing working mode, and send a working mode change instruction to the target second sound box when the working mode of the target second sound box is detected to include a directional playing working mode, where the working mode change instruction may include a target change direction and a target change volume, and the target second sound box changes the current playing direction to the target change direction according to the working mode change instruction, and changing the current playing volume into a target changing volume, wherein the target changing direction is a playing direction far away from the first sound box, and the target changing volume is a volume value lower than the playing volume of the first sound box.
5. The playback control apparatus for multiple speakers according to claim 4, further comprising:
the second acquiring unit is used for acquiring the first priority of the first sound box and the second priority of a target second sound box corresponding to the target volume value;
a fourth judging unit configured to judge whether the first priority is higher than the second priority;
the second sending unit is specifically configured to send a volume adjustment instruction to a target second sound box corresponding to the target volume value among all the second sound boxes when the first judging unit judges that the target volume value exists, the second judging unit judges that the first playing content is the same as the second playing content, the third judging unit judges that the first playing progress is different from the second playing progress, and the fourth judging unit judges that the first priority is higher than the second priority, so as to trigger the target second sound box to reduce the playing volume according to the volume adjustment instruction.
6. The playback control apparatus for multiple sound boxes according to claim 4 or 5, wherein the first sending unit sends a volume adjustment instruction to a target second sound box corresponding to the target volume value among all the second sound boxes, and a manner for triggering the target second sound box to reduce its playback volume according to the volume adjustment instruction is specifically:
positioning a target second sound box corresponding to the target volume value according to the target volume value to obtain a target space position where the target second sound box is located, and obtaining a first space position of the first sound box;
generating a volume adjusting instruction aiming at the target second loudspeaker box according to the spatial distance between the first spatial position and the target spatial position;
and sending the volume adjusting instruction to the target second sound box to trigger the target second sound box to reduce the playing volume of the target second sound box according to the volume adjusting instruction.
CN201810349741.9A 2018-04-18 2018-04-18 Playing control method and device for multiple sound boxes Expired - Fee Related CN108600906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810349741.9A CN108600906B (en) 2018-04-18 2018-04-18 Playing control method and device for multiple sound boxes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810349741.9A CN108600906B (en) 2018-04-18 2018-04-18 Playing control method and device for multiple sound boxes

Publications (2)

Publication Number Publication Date
CN108600906A CN108600906A (en) 2018-09-28
CN108600906B true CN108600906B (en) 2020-05-22

Family

ID=63611193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810349741.9A Expired - Fee Related CN108600906B (en) 2018-04-18 2018-04-18 Playing control method and device for multiple sound boxes

Country Status (1)

Country Link
CN (1) CN108600906B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111412587B (en) * 2020-03-31 2021-12-07 广东美的制冷设备有限公司 Voice processing method and device of air conditioner, air conditioner and storage medium
CN111556422B (en) * 2020-04-30 2021-09-24 江苏中协智能科技有限公司 Multi-sound-box switching playing method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105679346A (en) * 2015-12-31 2016-06-15 深圳还是威健康科技有限公司 Method and apparatus for controlling radio set
KR20160144919A (en) * 2015-06-09 2016-12-19 삼성전자주식회사 Electronic device, peripheral device, and control method thereof
CN106899869A (en) * 2015-12-25 2017-06-27 小米科技有限责任公司 Adjust method, the apparatus and system of volume of electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160144919A (en) * 2015-06-09 2016-12-19 삼성전자주식회사 Electronic device, peripheral device, and control method thereof
CN106899869A (en) * 2015-12-25 2017-06-27 小米科技有限责任公司 Adjust method, the apparatus and system of volume of electronic device
CN105679346A (en) * 2015-12-31 2016-06-15 深圳还是威健康科技有限公司 Method and apparatus for controlling radio set

Also Published As

Publication number Publication date
CN108600906A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
US10466961B2 (en) Method for processing audio signal and related products
CN108668009B (en) Input operation control method, device, terminal, earphone and readable storage medium
CN108900231B (en) Dynamic antenna adjustment method and related product
CN107231159B (en) Radio frequency interference processing method, device, storage medium and terminal
CN106528545B (en) Voice information processing method and device
CN108322599B (en) Network access method and mobile terminal
CN106506437B (en) Audio data processing method and device
WO2018103441A1 (en) Network positioning method and terminal device
CN111371705B (en) Download task execution method and electronic device
CN108897516B (en) Wearable device volume adjustment method and related product
WO2017215661A1 (en) Scenario-based sound effect control method and electronic device
CN108881778B (en) Video output method based on wearable device and wearable device
CN112019929A (en) Volume adjusting method and device
CN108833683B (en) Dynamic antenna adjustment implementation method and related product
CN108681413B (en) Control method of display module and mobile terminal
CN108600887B (en) Touch control method based on wireless earphone and related product
CN107911777B (en) Processing method and device for return-to-ear function and mobile terminal
CN106506834B (en) Method, terminal and system for adding background sound in call
CN108600906B (en) Playing control method and device for multiple sound boxes
CN108810261B (en) Antenna switching method in call and related product
CN108834013B (en) Wearable equipment electric quantity balancing method and related product
CN107424393B (en) Mobile terminal searching method, mobile terminal and storage medium
CN106126170B (en) Sound effect setting method of terminal and terminal
CN110277097B (en) Data processing method and related equipment
CN112997471B (en) Audio channel switching method and device, readable storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200522