CN110996308B - Sound playing device, control method thereof, control device thereof and readable storage medium - Google Patents
Sound playing device, control method thereof, control device thereof and readable storage medium Download PDFInfo
- Publication number
- CN110996308B CN110996308B CN201911261806.5A CN201911261806A CN110996308B CN 110996308 B CN110996308 B CN 110996308B CN 201911261806 A CN201911261806 A CN 201911261806A CN 110996308 B CN110996308 B CN 110996308B
- Authority
- CN
- China
- Prior art keywords
- audio data
- sound
- sound box
- earphone
- box
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000005236 sound signal Effects 0.000 claims abstract description 13
- 238000001514 detection method Methods 0.000 claims description 39
- 238000004891 communication Methods 0.000 claims description 13
- 230000005540 biological transmission Effects 0.000 claims description 9
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Circuit For Audible Band Transducer (AREA)
- Headphones And Earphones (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a sound playing device control method, which is based on a sound playing device comprising a sound box and a plurality of wireless earphones, and comprises the following steps: when the loudspeaker box plays the first audio data, if a user needs to leave the space where the loudspeaker box is located, determining a target earphone in the wireless earphone; acquiring sound signals in the space where the sound box is located and generating second audio data; and sending the second audio data to the target earphone so that the target earphone plays the second audio data. The invention also discloses a control device, sound playing equipment and a readable storage medium. The invention aims to improve the practicability of the sound box by enabling a person to hear sound information of the region where the sound box is located after leaving the region where the sound box is located.
Description
Technical Field
The present invention relates to the technical field of playback devices, and in particular, to a method and apparatus for controlling a sound playback device, and a readable storage medium.
Background
Along with the progress of science and technology, people's quality of life improves, and intelligent audio amplifier obtains wide application. The intelligent sound box can interact with voice, can be used as a conference system to make a call, can listen to music and the like.
The sound box is generally fixed in a certain area when in use, cannot move, particularly plays audio data for a plurality of people in a conference when being used as a conference system, and cannot hear conference contents if a certain person temporarily leaves the conference room. Thus, current speakers cannot achieve that a person leaves hearing the audio data that he plays.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a control method of sound playing equipment, which aims to realize that after people leave the area where the sound box is located, the sound information of the area where the sound box is located can be heard, and improve the practicability of the sound box.
In order to achieve the above object, the present invention provides a method for controlling a sound playing device, the sound playing device including a sound box and a plurality of wireless headphones, the method comprising the steps of:
when the loudspeaker box plays the first audio data, if a user needs to leave the space where the loudspeaker box is located, determining a target earphone in the wireless earphone;
acquiring sound signals in the space where the sound box is located and generating second audio data;
and sending the second audio data to the target earphone so that the target earphone plays the second audio data.
Optionally, the wireless earphone is detachably mounted on the sound box, and before the step of determining the target earphone in the wireless earphone if the user needs to leave the space where the sound box is located when the sound box plays the first audio data, the method further includes:
judging whether each wireless earphone is separated from the sound box or not;
when the wireless earphone separated from the sound box exists, judging that a space where a user needs to leave the sound box exists;
and when the wireless headphones are not separated from the sound box, judging that the space where the user needs to leave the sound box does not exist.
Optionally, the step of determining a target earphone in the wireless earphone includes:
and determining that the earphone separated from the sound box in the wireless earphone is the target earphone.
Optionally, each wireless earphone is provided with a detection module correspondingly, and the step of judging whether each wireless earphone is separated from the sound box includes:
and judging whether each wireless earphone is separated from the sound box or not based on the detection signal of the detection module.
Optionally, the detection module includes a sensor disposed on the sound box, the wireless earphone and a detection piece or a sensor adapted to the sensor, and the step of determining whether each wireless earphone is separated from the sound box based on a detection signal of the detection module includes:
when the characteristic signals of the sensor are not received, judging that the wireless earphone corresponding to the sensor is not separated from the sound box;
and when the characteristic signals of the sensor are received, judging that the wireless earphone corresponding to the sensor is separated from the sound box.
Optionally, before the step of sending the second audio data to the target earphone, the method further includes:
acquiring network address information corresponding to the target earphone;
creating a data transmission channel with the target earphone based on the network address information;
the step of transmitting the second audio data to the target earphone includes:
and sending the second audio data to the target earphone through the data transmission channel.
Optionally, after the step of determining the target earphone in the wireless earphone if the user needs to leave the space where the sound box is located when the sound box plays the first audio data, the method further includes:
judging whether third audio data acquired by a microphone of the target earphone are received or not;
if yes, acquiring third audio data returned by the target earphone; the third audio data is generated by collecting voice information of the user through the target earphone;
and controlling the sound box to play the first audio data and the third audio data.
Optionally, the first audio data includes at least one of pre-stored audio data, audio data buffered in real time from a network, real-time call audio data sent by a remote device that establishes a real-time communication connection with a speaker, and audio data collected by a microphone connected to the speaker. Optionally, when the sound box is in real-time communication connection with the remote device, after the step of obtaining the third audio data returned by the target earphone, the method further includes:
and sending the third audio data to the remote device so that the remote device plays the third audio data.
In addition, in order to achieve the above object, the present application also proposes a control device including: a memory, a processor, and a sound playing device control program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the sound playing device control method as set forth in any one of the above.
In addition, in order to achieve the above object, the present application also proposes a sound playing device including:
the sound box is provided with or connected with a microphone;
the wireless earphone is detachably arranged on the sound box;
and the sound box and the wireless earphone are connected with the control device.
Optionally, the sound box is provided with a sensor corresponding to each wireless earphone, and each wireless earphone is provided with a detection piece or a sensor matched with the sensor.
In addition, in order to achieve the above object, the present application also proposes a readable storage medium having stored thereon a sound playing device control program which, when executed by a processor, implements the steps of the sound playing device control method as set forth in any one of the above.
The invention provides a sound playing device control method, which is based on sound playing devices comprising a sound box and a wireless earphone, wherein in the process of playing first audio data by the sound box, if a user needs to leave a space where the sound box is located, a target earphone is determined in the wireless earphone, a sound signal in the space where the sound box is located is acquired, second audio data is generated, and the second audio data is sent to the target earphone, so that the target earphone plays the second audio data. The second audio data are acquired when the first audio data are played by the sound box, so that a user who leaves only holds the target earphone, and the audio data played by the sound box cannot be missed even if the user leaves the space where the sound box is located, sound information of the area where the sound box is located can be heard after the user leaves the area where the sound box is located, and practicability of the sound box is improved.
Drawings
Fig. 1 is a schematic structural view of an embodiment of an audio playback apparatus according to the present invention;
FIG. 2 is a schematic diagram of the hardware architecture involved in the operation of one embodiment of the control device of the present invention;
FIG. 3 is a flowchart of a control method of a sound playing device according to a first embodiment of the present invention;
FIG. 4 is a flowchart of a second embodiment of a method for controlling an audio playback device according to the present invention;
FIG. 5 is a flowchart of a third embodiment of a method for controlling an audio playback device according to the present invention;
FIG. 6 is a flowchart of a fourth embodiment of a method for controlling a sound playing device according to the present invention;
fig. 7 is a flowchart of a fifth embodiment of a method for controlling an audio playback device according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The main solutions of the embodiments of the present invention are: when the sound box plays first audio data, determining a target earphone in the wireless earphone if a user needs to leave the space where the sound box is located; acquiring sound signals in the space where the sound box is located and generating second audio data; and sending the second audio data to the target earphone so that the target earphone plays the second audio data.
In the prior art, when the sound box is played, a user leaves the space where the sound box is located and cannot hear the played content.
The invention provides the solution, which aims to realize that the sound information of the region where the sound box is located can be heard after people leave the region where the sound box is located, and improve the practicability of the sound box.
The embodiment of the invention provides sound playing equipment which can be used for playing pre-stored audio data and playing all audio data playing scenes such as real-time call audio data.
Referring to fig. 1, the sound playing apparatus specifically includes a sound box 100 and a plurality of wireless headphones 200. Wireless communication modules (such as bluetooth modules) are respectively arranged in the sound box 100 and the wireless earphone 200 so as to realize wireless communication connection between the sound box 100 and the wireless earphone 200. The number of wireless headphones 200 may be set as desired, and there may be one or more than one.
In this embodiment, the wireless earphone 200 is detachably mounted on the sound box 100. The sound box 100 is provided with a containing cavity of the wireless earphone 200, and the wireless earphone 200 is detachably arranged in the containing cavity. When the user needs to use the wireless headset 200, the wireless headset 200 may be removed from the receiving cavity to separate the wireless headset 200 from the sound box 100.
Each wireless earphone 200 is correspondingly provided with a detection module 300 in each accommodating cavity of the sound box 100, and the detection module 300 can be used for detecting whether the corresponding wireless earphone 200 is separated from the sound box 100. The detection module 300 may include a hall sensor, a pressure sensor, a distance sensor, an infrared sensor, and other modules that can acquire signals, and specifically selects according to actual requirements. In this embodiment, the detection module 300 is specifically a hall sensor, and the magnetic member 201 is disposed in the wireless earphone 200, and when the wireless earphone 200 is mounted on the sound box 100, the magnetic member 201 and the hall sensor maintain a connection state; when the wireless earphone 200 is separated from the sound box 100, the magnetic piece 201 is in a disconnected state with the hall sensor, and the hall sensor generates a characteristic signal. Therefore, the detection of whether the wireless earphone 200 is separated from the sound box 100 can be realized based on the characteristic signals generated by the Hall sensor. In other embodiments, the detection module 300 may also be an infrared sensor or the like.
Further, the sound playing device further comprises a control device. The control device may be built into the sound box 100 or may be provided independently of the sound box 100.
In an embodiment of the present invention, referring to fig. 2, the control device includes: the processor 4001, e.g., a CPU, memory 4002, and the like. The memory 4002 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 4002 may alternatively be a storage device separate from the aforementioned processor 4001. The processor 4001 is connected to the memory 4002, the speaker 100, the earphone 200, and the detection module 300, respectively.
It will be appreciated by those skilled in the art that the device structure shown in fig. 2 is not limiting of the device and may include more or fewer components than shown, or certain components may be combined, or a different arrangement of components.
As shown in fig. 2, a sound playing device control program may be included in the memory 4002 as a readable storage medium. In the apparatus shown in fig. 2, the processor 4001 may be used to call a sound playing device control program stored in the memory 4002 and perform the relevant step operations of the sound playing device control method in the following embodiments.
The invention also provides a sound playing device control method.
Referring to fig. 3, a first embodiment of a sound playing device control method of the present invention is provided, the sound playing device control method including:
step S10, when the loudspeaker box plays first audio data, if a user needs to leave the space where the loudspeaker box is located, determining a target earphone in the wireless earphone;
the first audio data may include at least one of pre-stored audio data, audio data buffered in real time from a network, real-time talk audio data transmitted by a remote device that establishes a real-time communication connection with a speaker, and audio data collected by a microphone connected to the speaker.
When the sound box plays the first audio data, the sound box can be controlled to continuously detect whether the characteristic signal exists. The characteristic signal can be generated by automatically inputting an instruction when a user needs to leave the space where the sound box is located; in addition, the characteristic signal can also be automatically generated by the detection device in the sound box after detecting the state of the wireless earphone or the state that the user leaves is directly detected by the detection device in the space where the sound box is located.
When the wireless earphone is one, the wireless earphone is directly used as a target earphone; when there is more than one target earphone, then all the earphones, designated earphones, or earphones determined according to the actual use state may be selected as target earphones among the target earphones.
Step S20, acquiring sound signals in the space where the sound box is located and generating second audio data;
specifically, a microphone may be disposed in a space where the sound box is located (e.g., in the sound box or disposed outside the sound box and wirelessly connected to the sound box), and the microphone wirelessly connected to the sound box may be disposed at a user's side in a large conference to pick up user sound information. And in the process of playing the first audio data by the sound box, acquiring a sound signal in the space where the sound box is positioned. The sound signal may specifically include at least one of a sound signal formed by the first audio data played by the speaker and a sound signal collected by a microphone wirelessly connected to the speaker. And generating the second audio data which accords with the playing format in real time by the sound signals in the space where the sound box is positioned.
Step S30, sending the second audio data to the target earphone, so that the target earphone plays the second audio data.
And sending the second audio data to the target earphone in real time. And after receiving the second audio data, the target earphone plays the second audio data in real time.
It should be noted that, while the steps S20 and S30 are executed, the sound box maintains playing the first audio data.
In addition, when the sound box plays the first audio data, if the fact that the space where the user leaves the sound box does not exist is determined, the wireless earphone does not play any audio data, and only the sound box plays the first audio data.
The invention provides a sound playing device control method, which is based on sound playing devices comprising a sound box and a wireless earphone, wherein in the process of playing first audio data by the sound box, if a user needs to leave a space where the sound box is located, a target earphone is determined in the wireless earphone, a sound signal in the space where the sound box is located is acquired, second audio data is generated, and the second audio data is sent to the target earphone, so that the target earphone plays the second audio data. The second audio data are acquired when the first audio data are played by the sound box, so that a user who leaves only holds the target earphone, and the audio data played by the sound box cannot be missed even if the user leaves the space where the sound box is located, sound information of the area where the sound box is located can be heard after the user leaves the area where the sound box is located, and practicability of the sound box is improved. Especially when sound playback devices are used for scenes such as meetings, besides audio data played by the sound box, people leaving the conversation of people in the space where the sound box is located can hear the conversation, so that the people leaving the conversation can not miss any meeting content, and the practicability of the sound box is improved. In addition, the sound box does not directly send the first audio data to the target earphone for playing, but generates the second audio data in a sound signal capturing mode, so that the synchronism of the first audio data and talking contents published by people in the space where the sound box is located in the audio data heard by the user holding the target earphone can be ensured, and the accuracy of sound information heard by the user holding the target earphone is improved.
Further, based on the first embodiment, a second embodiment of the sound playing device control method of the present application is proposed. In a second embodiment, referring to fig. 4, the wireless earphone is detachably mounted to the speaker box, and before the step of determining the target earphone in the wireless earphone if there is a space where the user needs to leave the speaker box when the speaker box plays the first audio data, the method further includes:
step S11, judging whether each wireless earphone is separated from the sound box;
when the wireless earphone separated from the sound box exists, executing a step S12; and when the wireless earphone is not separated from the sound box, executing the step S13.
Step S12, judging that a space where the user needs to leave the sound box exists;
and S13, judging that the space where the user needs to leave the sound box does not exist.
Specifically, the wireless earphone is detachably mounted on the sound box, and when the user takes out the wireless earphone from the sound box, the user is indicated to leave the space where the sound box is located and to listen to the audio data played by the sound box by using the earphone; when the wireless headphones are all mounted on the sound box, the user is indicated to have no need to listen to the sound box by using the headphones, and the space where the user leaves the sound box can be considered to be absent. Therefore, by judging whether each wireless earphone is separated from the sound box, whether the space where the user needs to leave the sound box exists can be represented.
After the user takes out the wireless earphone, a preset instruction can be input by means of keys and the like, and when the preset instruction input by the user is detected, the earphone separated from the sound box is represented; and when the preset instruction input by the user is not detected, representing that the earphone separated from the sound box does not exist.
In addition, in another embodiment, in order to simplify the user operation, each wireless earphone is correspondingly provided with a detection module, and different detection signals can be automatically generated based on the state that whether the wireless earphone is separated from the sound box or not, so that whether each wireless earphone is separated from the sound box or not can be judged based on the detection signals of the detection modules. The detection module can include hall sensor, pressure sensor, distance sensor, infrared sensor etc. can acquire the module of signal, and specifically, detection module is specific including the hall sensor who locates the audio amplifier, and every wireless earphone all is equipped with magnetic part, hall sensor and magnetic part one-to-one setting. When the wireless earphone is installed on the sound box, the magnetic piece and the Hall sensor are kept in a connection state; when the wireless earphone is separated from the sound box, the magnetic piece and the Hall sensor are in a disconnected state, and the Hall sensor generates characteristic signals. Therefore, whether the wireless earphone is separated from the sound box or not can be detected based on the characteristic signals generated by the Hall sensor. Specifically, when the characteristic signal of the Hall sensor is not received, judging that the wireless earphone corresponding to the Hall sensor is not separated from the sound box; and when the characteristic signals of the Hall sensor are received, judging that the wireless earphone corresponding to the Hall sensor is separated from the sound box.
In this embodiment, through the position characteristic state between the wireless earphone and the sound box, whether the user needs to leave the space where the sound box is located is characterized, so that no extra equipment is needed, and the effective and accurate identification of the state of whether the user needs to leave the space where the sound box is located can be realized. The wireless earphone is separated from the sound box based on detection signals of detection modules such as the Hall sensor, so that a user does not need to input an instruction, automatic detection of the position characteristic state between the wireless earphone and the sound box can be realized, the user only needs to take out the wireless earphone to wear, other operations are not needed, and all sound information in the space where the sound box is located can be heard when leaving the space where the sound box is located.
Specifically, based on the above content, the earphone separated from the sound box in the wireless earphone is determined to be the target earphone, so that the user only needs to take out the wireless earphone from the sound box, and even if the user leaves the space where the sound box is located, the user can hear scene sounds such as the content played by the sound box and the conversation content of other people in the space where the sound box is located.
Further, based on any one of the above embodiments, a third embodiment of the sound playing device control method of the present application is provided. In a third embodiment, referring to fig. 5, before the step S30, the method further includes:
step S01, obtaining network address information corresponding to the target earphone;
specifically, the network address information may be obtained based on a detection signal of a detection module such as a hall sensor. The network address information is specifically a device identifier of the target earphone in a communication network (such as a bluetooth network) between the target earphone and the sound box.
Different detection modules may have different identification information (such as numbers, etc.), and the different identification information may be associated with network address information (such as bluetooth address) of the corresponding wireless earphone. Therefore, the hall sensor sending out the characteristic signal can be determined, the hall sensor is defined as the target sensor, the identification information (such as a number and the like) of the target sensor is acquired, and the network address information associated with the acquired identification information is taken as the network address information corresponding to the target earphone.
Step S02, creating a data transmission channel with the target earphone based on the network address information;
when the second audio data comprises sound information acquired through a microphone arranged in the sound box, a data transmission channel between the sound box and the target earphone can be created based on the network address information so as to realize data transmission between the sound box and the target earphone.
Step S30 may specifically include:
step S31, sending the second audio data to the target earphone through the data transmission channel.
In this embodiment, by the above manner, when it is determined that there is a space where the user needs to leave the sound box, wireless communication connection between the sound box and the target earphone is created, so as to smoothly send the second audio data to the target earphone.
In addition, when the situation that the user needs to leave the space where the sound box is located is determined, wireless communication connection between the sound box and the target earphone can be forbidden, and the data transmission channel is closed, so that the energy consumption of the sound box is reduced.
Further, based on any one of the above embodiments, a fourth embodiment of a method for controlling a sound playing device of the present application is provided. In the fourth embodiment, referring to fig. 6, after step S10, further includes:
step S40, judging whether third audio data acquired by a microphone of the target earphone are received or not; if yes, go to step S41, step S50;
step S41, obtaining third audio data returned by the target earphone; the third audio data is generated by collecting voice information of the user through the target earphone;
a microphone may be provided in the target earphone for collecting voice information of a user wearing the target earphone. Therefore, voice information of the target earphone is acquired in real time or when a specific instruction is acquired, third audio data are generated, and the generated third audio data are sent to the loudspeaker box. And controlling the sound box to receive the third audio data returned by the target earphone in real time.
And S50, controlling the sound box to play the first audio data and/or the third audio data.
And synthesizing the first audio data and the third audio data, and then playing the first audio data and the third audio data in the loudspeaker box at the same time, or selecting one of the first audio data and the third audio data to play through the loudspeaker box.
Through the mode, when the user holding the target earphone leaves the space in which the sound box is located, the user in the space in which the sound box is located can hear the first audio data and also can hear the voice information sent by the user holding the target earphone, so that interaction with the user in the space in which the sound box is located is achieved even if the user leaves the space in which the sound box is located, and the practicability of the sound box is further improved.
Further, based on the above fourth embodiment, a fifth embodiment of the sound playing device control method of the present application is proposed. In a fifth embodiment, the sound box is in real-time communication connection with a remote device, and the remote device may specifically be a call device with a voice function (such as an intelligent sound box with a call function) based on the real-time communication connection, and the remote device sends the detected voice information to the sound box in real time. And controlling the sound box to receive the audio data sent by the remote equipment in real time and play the audio data in real time. Prior to step S10, the method may further include: and based on the real-time communication connection established between the sound box and the remote equipment.
Based on this, referring to fig. 7, after step S41, further includes:
and step S60, the third audio data is sent to the remote equipment, so that the remote equipment plays the third audio data.
In this embodiment, in the foregoing manner, when the foregoing sound playing device is used for performing a real-time conference call, even if a user leaves a space where a sound box is located, the user holding the target earphone may perform real-time feedback based on the heard conference content (including the content sent by the remote device and the conference content published by a person in the space where the sound box is located, etc.), so that the user may perform real-time interaction with the user in the space where the remote device is located in the process of leaving, thereby further improving the practicality of the sound box.
The sequence of execution of the steps S40, S41, S50 and S60 and the steps S20 and S30 is not limited, and may be executed synchronously.
In addition, the embodiment of the invention also provides a readable storage medium, wherein the readable storage medium stores a sound playing device control program, and the sound playing device control program realizes the relevant steps of any embodiment of the sound playing device control method when being executed by a processor.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, a sound playing device, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Claims (13)
1. The sound playing device control method is characterized in that the sound playing device comprises a sound box and a plurality of wireless headphones, and comprises the following steps:
when the loudspeaker box plays first audio data, if the detection module detects that the wireless earphone is separated from the loudspeaker box, determining that a user uses the wireless earphone, determining that the user needs to leave the space where the loudspeaker box is located, and taking the wireless earphone separated from the loudspeaker box as a target earphone;
acquiring sound signals in the space where the sound box is located and generating second audio data;
and sending the second audio data to the target earphone so that the target earphone plays the second audio data.
2. The method for controlling a sound playing device according to claim 1, wherein the wireless earphone is detachably mounted on the sound box, and when the sound box plays the first audio data, if the detection module detects that the wireless earphone is separated from the sound box, it is determined that there is a user using the wireless earphone, and it is determined that the user needs to leave a space where the sound box is located, and before the step of taking the wireless earphone separated from the sound box as a target earphone, the method further comprises:
judging whether each wireless earphone is separated from the sound box or not;
when the wireless earphone separated from the sound box exists, judging that a space where a user needs to leave the sound box exists;
and when the wireless headphones are not separated from the sound box, judging that the space where the user needs to leave the sound box does not exist.
3. The sound playing device control method of claim 2, wherein the step of determining a target earphone of the wireless earphones comprises:
and determining that the earphone separated from the sound box in the wireless earphone is the target earphone.
4. The sound playing device control method as claimed in claim 2, wherein each of the wireless headphones is provided with a detection module, and the step of judging whether each of the wireless headphones is separated from the sound box comprises:
and judging whether each wireless earphone is separated from the sound box or not based on the detection signal of the detection module.
5. The sound playing device control method as claimed in claim 4, wherein the detection module includes a sensor provided to the sound box, the wireless headphones are provided with a detection member or a sensor adapted to the sensor, and the step of determining whether each wireless headphone is separated from the sound box based on the detection signal of the detection module includes:
when the characteristic signals of the sensor are not received, judging that the wireless earphone corresponding to the sensor is not separated from the sound box;
and when the characteristic signals of the sensor are received, judging that the wireless earphone corresponding to the sensor is separated from the sound box.
6. The sound playing device control method according to claim 1, characterized in that before the step of transmitting the second audio data to the target headphone, further comprising:
acquiring network address information corresponding to the target earphone;
creating a data transmission channel with the target earphone based on the network address information;
the step of transmitting the second audio data to the target earphone includes:
and sending the second audio data to the target earphone through the data transmission channel.
7. The method for controlling a sound playing device according to any one of claims 2 to 6, wherein when the speaker box plays the first audio data, if the detection module detects that the wireless earphone is separated from the speaker box, determining that there is a user using the wireless earphone, and determining that the user needs to leave a space in which the speaker box is located, and after the step of taking the wireless earphone separated from the speaker box as a target earphone, further includes:
judging whether third audio data acquired by a microphone of the target earphone are received or not;
if yes, acquiring third audio data returned by the target earphone; the third audio data is generated by collecting voice information of the user through the target earphone;
and controlling the sound box to play the first audio data and/or the third audio data.
8. The sound playing device control method of claim 7, wherein the first audio data includes at least one of pre-stored audio data, audio data buffered from a network in real time, real-time talk audio data transmitted by a remote device that establishes a real-time communication connection with a speaker box, and audio data collected by a microphone connected to the speaker box.
9. The method for controlling a sound playing device according to claim 7, wherein, when the sound box is connected to the remote device in real-time communication, after the step of obtaining the third audio data returned by the target earphone, the method further comprises:
and sending the third audio data to the remote device so that the remote device plays the third audio data.
10. A control device, characterized in that the control device comprises: a memory, a processor, and a sound playing device control program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the sound playing device control method according to any one of claims 1 to 9.
11. A sound playing device, characterized in that the sound playing device comprises:
the sound box is provided with or connected with a microphone;
the wireless earphone is detachably arranged on the sound box;
the control device of claim 10, wherein the speaker and the wireless headset are both coupled to the control device.
12. The sound playing apparatus according to claim 11, wherein the sound box is provided with a sensor corresponding to each of the wireless headphones, and each of the wireless headphones is provided with a detecting member or sensor adapted to the sensor.
13. A readable storage medium, characterized in that the readable storage medium has stored thereon a sound playing device control program, which when executed by a processor, implements the steps of the sound playing device control method according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911261806.5A CN110996308B (en) | 2019-12-10 | 2019-12-10 | Sound playing device, control method thereof, control device thereof and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911261806.5A CN110996308B (en) | 2019-12-10 | 2019-12-10 | Sound playing device, control method thereof, control device thereof and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110996308A CN110996308A (en) | 2020-04-10 |
CN110996308B true CN110996308B (en) | 2024-03-08 |
Family
ID=70092088
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911261806.5A Active CN110996308B (en) | 2019-12-10 | 2019-12-10 | Sound playing device, control method thereof, control device thereof and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110996308B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113038337B (en) * | 2021-02-02 | 2022-10-28 | 深圳千岸科技股份有限公司 | Audio playing method, wireless earphone and computer readable storage medium |
CN113015077B (en) * | 2021-02-22 | 2022-09-20 | 歌尔科技有限公司 | Prompting method, wearable device and readable storage medium |
CN113808611A (en) * | 2021-09-17 | 2021-12-17 | 深圳地平线机器人科技有限公司 | Audio playing method and device, computer readable storage medium and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102486929A (en) * | 2010-12-04 | 2012-06-06 | 富泰华工业(深圳)有限公司 | Audio play system |
CN203912165U (en) * | 2014-06-30 | 2014-10-29 | 宁波翼动通讯科技有限公司 | Bluetooth loudspeaker box system |
CN204616044U (en) * | 2015-06-04 | 2015-09-02 | 宁波翼动通讯科技有限公司 | Based on the music share system of Bluetooth technology |
CN106341546A (en) * | 2016-09-29 | 2017-01-18 | 广东欧珀移动通信有限公司 | Audio playing method, device and mobile terminal |
CN107734444A (en) * | 2017-10-23 | 2018-02-23 | 恒玄科技(上海)有限公司 | A kind of wireless multichannel synchronous sound broadcasting control system and method |
CN109101212A (en) * | 2018-07-20 | 2018-12-28 | 上海斐讯数据通信技术有限公司 | A kind of playback method and system of intelligent sound box |
CN109379491A (en) * | 2018-09-30 | 2019-02-22 | Oppo广东移动通信有限公司 | Audio frequency playing method, device, electronic equipment and computer-readable medium |
-
2019
- 2019-12-10 CN CN201911261806.5A patent/CN110996308B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102486929A (en) * | 2010-12-04 | 2012-06-06 | 富泰华工业(深圳)有限公司 | Audio play system |
CN203912165U (en) * | 2014-06-30 | 2014-10-29 | 宁波翼动通讯科技有限公司 | Bluetooth loudspeaker box system |
CN204616044U (en) * | 2015-06-04 | 2015-09-02 | 宁波翼动通讯科技有限公司 | Based on the music share system of Bluetooth technology |
CN106341546A (en) * | 2016-09-29 | 2017-01-18 | 广东欧珀移动通信有限公司 | Audio playing method, device and mobile terminal |
CN107734444A (en) * | 2017-10-23 | 2018-02-23 | 恒玄科技(上海)有限公司 | A kind of wireless multichannel synchronous sound broadcasting control system and method |
CN109101212A (en) * | 2018-07-20 | 2018-12-28 | 上海斐讯数据通信技术有限公司 | A kind of playback method and system of intelligent sound box |
CN109379491A (en) * | 2018-09-30 | 2019-02-22 | Oppo广东移动通信有限公司 | Audio frequency playing method, device, electronic equipment and computer-readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN110996308A (en) | 2020-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10499183B2 (en) | Systems and methods employing multiple individual wireless earbuds for a common audio source | |
CN106162413B (en) | The Headphone device of specific environment sound prompting mode | |
CN110996308B (en) | Sound playing device, control method thereof, control device thereof and readable storage medium | |
CN101459717B (en) | Wireless terminal and method for implementing multi-channel multiplexing | |
EP2314077B1 (en) | Wearable headset with self-contained vocal feedback and vocal command | |
KR101585793B1 (en) | Smart Hearing Aid Device | |
US7986802B2 (en) | Portable electronic device and personal hands-free accessory with audio disable | |
KR101731714B1 (en) | Method and headset for improving sound quality | |
CN106210960B (en) | Headphone device with local call situation affirmation mode | |
US8774875B1 (en) | Spatial separation-enabled noise reduction | |
CN109600703B (en) | Sound amplification system, sound amplification method thereof, and computer-readable storage medium | |
CN107621933B (en) | Audio playing method and device and related medium product | |
CN106445453A (en) | Method and device for switching audio output paths | |
KR101450014B1 (en) | Smart user aid devices using bluetooth communication | |
CN109473097A (en) | A kind of intelligent sound equipment and its control method | |
CN113228710A (en) | Sound source separation in hearing devices and related methods | |
US20240147128A1 (en) | Mode control method, device for bluetooth headset, and computer readable storage medium | |
KR101693483B1 (en) | Method and computer program for cancelling howling and echo in a headset | |
JPWO2019030811A1 (en) | Terminal, audio-linked playback system, and content display device | |
JP2006140542A (en) | Multipoint speech system, voice volume adjustment unit, mobile terminal and voice volume adjustment method used for them, and program therefor | |
JP2005192004A (en) | Headset, and reproducing method for music data of the same | |
CN101437189A (en) | Wireless earphone with hearing-aid function | |
WO2022054900A1 (en) | Information processing device, information processing terminal, information processing method, and program | |
WO2021014990A1 (en) | Speech processing device, speech processing method, and recording medium | |
KR20160137291A (en) | Headset with a function for cancelling howling and echo |
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 |