WO2023240636A1 - 一种音箱播放控制方法、音箱播放控制装置及存储介质 - Google Patents

一种音箱播放控制方法、音箱播放控制装置及存储介质 Download PDF

Info

Publication number
WO2023240636A1
WO2023240636A1 PCT/CN2022/099595 CN2022099595W WO2023240636A1 WO 2023240636 A1 WO2023240636 A1 WO 2023240636A1 CN 2022099595 W CN2022099595 W CN 2022099595W WO 2023240636 A1 WO2023240636 A1 WO 2023240636A1
Authority
WO
WIPO (PCT)
Prior art keywords
sub
speaker
target
subspace
playback
Prior art date
Application number
PCT/CN2022/099595
Other languages
English (en)
French (fr)
Inventor
周岭松
Original Assignee
北京小米移动软件有限公司
北京小米松果电子有限公司
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 北京小米移动软件有限公司, 北京小米松果电子有限公司 filed Critical 北京小米移动软件有限公司
Priority to CN202280004604.6A priority Critical patent/CN117597730A/zh
Priority to PCT/CN2022/099595 priority patent/WO2023240636A1/zh
Publication of WO2023240636A1 publication Critical patent/WO2023240636A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue

Definitions

  • the present disclosure relates to the field of speaker technology, and in particular to a speaker playback control method, a speaker playback control device and a storage medium.
  • the present disclosure provides a speaker playback control method, a speaker playback control device and a storage medium.
  • a speaker playback control method is provided, which is applied to a main control speaker.
  • the main control speaker is used to control multiple sub-speakers, and the multiple sub-speakers belong to different subspaces of the same space, including :
  • the audio playback function In response to enabling the audio playback function, obtain audio data from the server, and determine a target subspace in the subspace to which the multiple sub-speakers belong, where the target subspace is the subspace where the user is currently located; send the audio data to the The sub-speakers in the target subspace are controlled to perform audio playback based on the audio data.
  • determining a target subspace in a subspace to which multiple sub-speakers belong includes:
  • the user detection result is determined by the sub-speaker set in the sub-space based on the user's human activity detection, and the user detection result includes the presence of a user or the absence of a user; the detection result is that the target sub-speaker belonging to the user exists.
  • the subspace of is determined as the target subspace.
  • the plurality of sub-speakers correspond to space identifiers, and the space identifier is used to identify the sub-space to which the sub-speakers belong; the audio data is sent to the sub-speakers in the target sub-space.
  • controlling the sub-speakers in the target subspace to perform audio playback based on the audio data including: determining the target space identifier corresponding to the target subspace; sending the audio data to the target identified by the target space identifier sub-speakers in the sub-space, and control the sub-speakers in the target sub-space to perform audio playback based on the audio data based on the target space identifier.
  • the target space identifier includes a first target space identifier and a second target space identifier
  • the first target subspace identified by the first target space identifier is the subspace where the user was before the activity
  • the The second target subspace identified by the second target space identifier is the subspace where the user is located after the activity
  • controlling the sub-speaker in the target subspace to perform audio playback based on the audio data based on the target space identifier includes: : Send a first control playback instruction to the sub-speaker in the first target subspace, and control the sub-speaker in the first target subspace based on the first control playback instruction and the sub-speaker in the first target subspace based on the first control playback instruction and the The audio data is played for audio, and the first control playback instruction is used to control the sub-speaker to play the sound from loud to low; a second control playback instruction is sent to the sub-speaker in the second target subspace.
  • the control playback instruction controls the sub-speaker in the second target subspace to perform audio playback based on the second control playback instruction and the audio data.
  • the second control playback instruction is used to control the sub-speaker to play sound from small to louder. .
  • the method further includes: determining a non-target subspace, which is a subspace to which each set sub-speaker box of the user does not exist; and stopping sending audio data to the non-target subspace. .
  • a method for controlling speaker playback is provided, which is applied to a sub-speaker.
  • the sub-space to which the sub-speaker belongs is a target sub-space, and the target sub-space is the sub-space where the user is currently located, including :
  • the sub-speaker is a setting sub-speaker
  • the setting sub-speaker is used to detect whether there is a user in the sub-space to which the target sub-speaker belongs.
  • the method further includes: performing human activity detection, And determine the user detection result based on the human activity detection result, the user detection result includes the presence of a user or the absence of a user; and send the user detection result to the main control speaker.
  • the sub-speaker box corresponds to a space identifier, and the space identifier is used to identify the sub-space to which the sub-speaker box belongs;
  • the obtaining the audio data sent by the main control speaker includes: obtaining the main control speaker Audio data sent based on the spatial identification.
  • the audio playback based on the audio data includes: in response to the space identifier being a first target space identifier, obtaining the first control playback instruction sent by the main control speaker, the first target space
  • the first target subspace identified by the logo is the subspace where the user was before the activity.
  • the first control playback instruction is used to control the sound played by the sub-speaker from louder to smaller; based on the first control playback instruction, according to the playback sound from The audio playback is performed based on the audio data in a large-to-small mode.
  • performing audio playback based on the audio data includes: in response to the space identifier being a second target space identifier, obtaining a second control playback instruction sent by the main control speaker, and the second target space
  • the second target subspace identified by the logo is the subspace where the user is located after the activity.
  • the second control playback instruction is used to control the sub-speaker playback sound from small to louder; based on the second control playback instruction, according to the playback sound from The small to large method performs audio playback based on the audio data.
  • the audio playback based on the audio data includes: calibrating the system clock between the sub-speaker box and the main control speaker; and based on the calibrated system clock and the audio data, and the The above-mentioned main control speakers perform audio synchronization playback.
  • a speaker playback control device including:
  • a determination unit configured to obtain audio data from the server in response to enabling the audio playback function, and determine a target subspace in the subspace to which the multiple sub-speakers belong, and the target subspace is the subspace where the user is currently located; the playback unit, Used to send the audio data to the sub-speaker in the target subspace, and control the sub-speaker in the target subspace to perform audio playback based on the audio data.
  • the determination unit determines the target subspace in the subspace to which multiple sub-speakers belong in the following manner: determines the user detection result, and the user detection result is determined by the sub-speaker set in the sub-space based on user human activity detection. , and the user detection result includes the presence of a user or the absence of a user; determine the subspace to which the target sub-speaker that the detection result indicates that a user exists is located as the target subspace.
  • the plurality of sub-speakers correspond to space identifiers, and the space identifier is used to identify the sub-space to which the sub-speakers belong;
  • the playback unit sends the audio data to the target in the following manner
  • the sub-speakers in the sub-space control the sub-speakers in the target sub-space to perform audio playback based on the audio data: determine the target space identifier corresponding to the target sub-space; send the audio data to the target space identifier
  • the sub-speakers in the identified target subspace are controlled, based on the target space identification, to control the sub-speakers in the target subspace to perform audio playback based on the audio data.
  • the target space identifier includes a first target space identifier and a second target space identifier
  • the first target subspace identified by the first target space identifier is the subspace where the user was before the activity
  • the The second target subspace identified by the second target space identifier is the subspace where the user is located after the activity
  • the playback unit controls the sub-speaker in the target subspace to perform audio playback based on the audio data based on the target space identifier.
  • the playback unit is also used to: determine a non-target subspace, which is a subspace to which each set sub-speaker of the user does not exist; and stop sending to the non-target subspace. audio data.
  • a speaker playback control device including:
  • the acquisition unit is used to acquire the audio data sent by the main control speaker; the playback unit is used to perform audio playback based on the audio data.
  • the sub-speaker is a setting sub-speaker
  • the setting sub-speaker is used to detect whether there is a user in the sub-space to which the target sub-speaker belongs.
  • the playback unit is also used to: perform human activities Detect, and determine the user detection result based on the human activity detection result, the user detection result includes the presence of a user or the absence of a user; and send the user detection result to the main control speaker.
  • the sub-speaker box corresponds to a space identifier, and the space identifier is used to identify the sub-space to which the sub-speaker box belongs; the acquisition unit obtains the audio data sent by the main control speaker in the following manner: obtain the The audio data sent by the main control speaker based on the space identifier.
  • the playback unit performs audio playback based on the audio data in the following manner: in response to the space identifier being the first target space identifier, obtaining the first control playback instruction sent by the main control speaker, and the third
  • the first target subspace identified by a target space identifier is the subspace where the user was before the activity.
  • the first control playback instruction is used to control the sound played by the sub-speaker from louder to smaller; based on the first control playback instruction, according to Audio playback is performed based on the audio data in a manner in which the playback sound changes from louder to louder.
  • the playback unit performs audio playback based on the audio data in the following manner: in response to the space identifier being a second target space identifier, obtaining a second control playback instruction sent by the main control speaker, and the third
  • the second target subspace identified by the two target space identifiers is the subspace where the user is located after the activity.
  • the second control playback instruction is used to control the sound played by the sub-speaker from small to louder; based on the second control playback instruction, according to The audio playback is performed based on the audio data in a way that the playback sound changes from small to loud.
  • the playback unit performs audio playback based on the audio data in the following manner: calibrating the system clock between the sub-speaker box and the main control speaker; based on the calibrated system clock and the audio data , perform audio synchronization playback with the main control speaker.
  • a speaker playback control device including:
  • Memory used to store instructions executable by the processor
  • the processor is configured to: execute the method described in the first aspect or any implementation manner of the first aspect.
  • a speaker playback control device including:
  • Memory used to store instructions executable by the processor
  • the processor is configured to: execute the method described in the second aspect or any implementation manner of the second aspect.
  • a computer-readable storage medium is provided. Instructions are stored in the storage medium. When the instructions in the storage medium are executed by a processor of a network device, the network device can execute the first step. The method described in one aspect or any embodiment of the first aspect.
  • a computer-readable storage medium is provided. Instructions are stored in the storage medium. When the instructions in the storage medium are executed by a processor of the terminal, the terminal can perform the second aspect. Or the method described in any embodiment of the second aspect.
  • the technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: when it is determined that the speaker enables the audio playback function, the audio data is obtained from the server through the main control speaker and the space where the user is currently located is determined. Further, the main control speaker sends the audio data obtained from the server to the sub-speaker in the space where the user is currently located, and the sub-speaker performs audio playback based on the audio data. Based on this, the speakers in the space selectively play audio data according to the user's current space, thereby reducing the waste of energy. That is, in the current space, speakers that do not detect the user's presence in this space are in a non-working state. At the same time, the channel resources between the main speaker and the sub-speakers that are not playing audio data are released, providing users with a more stable listening experience.
  • Figure 1 is a flow chart of a speaker playback control method according to an exemplary embodiment.
  • Figure 2 is a flowchart of determining a target subspace according to an exemplary embodiment.
  • FIG. 3 is a flow chart illustrating a method of controlling sub-speakers in a target subspace to perform audio playback based on audio data according to an exemplary embodiment.
  • FIG. 4 is a flow chart illustrating a method of controlling sub-speakers in a target subspace to perform audio playback based on audio data according to an exemplary embodiment.
  • Figure 5 is a flow chart of a speaker playback control method according to an exemplary embodiment.
  • Figure 6 is a flowchart illustrating a method of detecting whether there is a user in the subspace to which the target sub-speaker belongs, according to an exemplary embodiment.
  • FIG. 7 is a flow chart for obtaining audio data sent by the main control speaker according to an exemplary embodiment.
  • FIG. 8 is a flow chart of audio playback based on audio data according to an exemplary embodiment.
  • Figure 9 shows a schematic diagram of calibrating the system clock between the main control speaker and the sub-speaker.
  • Figure 10 shows a schematic diagram of audio playback control.
  • Figure 11 is a block diagram of a speaker playback control device according to an exemplary embodiment.
  • Figure 12 is a block diagram of a speaker playback control device according to an exemplary embodiment.
  • Figure 13 is a block diagram of a device for speaker playback control according to an exemplary embodiment.
  • the speaker playback control method provided by the embodiments of the present disclosure can be applied to multiple smart devices connected through wireless communication technology to realize the application scenario of sharing music between users.
  • multiple smart devices in the setting space belong to different subspaces, and the multiple smart devices include master smart devices and sub-smart devices.
  • the smart device can be a smart speaker or other smart devices.
  • speakers are interconnected through wireless networks to achieve whole-house playback functions. Multiple smart speakers are connected to each other via WiFi and play music simultaneously, allowing users to have an immersive listening experience while walking around.
  • the speaker gets the music data from the server and transmits it to the speakers in all rooms through the wireless network.
  • a certain synchronization mechanism is used to ensure that the same audio frames are played at the same time, so that all smart speakers in the home can play music simultaneously.
  • the main control speaker gets the audio data from the server, divides the audio data into frames of equal time length, marks each audio frame with corresponding time information, and packages it and sends it to other sub-speakers in all rooms through WiFi.
  • Other sub-speakers receive the audio frame packets sent by the main control speaker through WiFi and parse out the audio data and time information. While the audio frame packets are interacting, other sub-speakers must interact with the main speaker's system clock to achieve the alignment of the system clocks of the main speaker and other sub-speakers, thereby ensuring the data processing of the main speaker and other sub-speakers. are on the same clock base.
  • the audio data is processed separately.
  • the main control speaker and other sub-speakers set a fixed time, they will play the same audio frame, thereby realizing the simultaneous playback of audio from multiple speakers and achieving a whole-house listening experience.
  • users usually only play music in one or part of the rooms, and in unoccupied rooms. One will waste power, and the other will occupy network channels for sending data. The more network resources are occupied, the more likely it is that the entire The system is unstable. For example, multiple speakers cannot play audio data synchronously.
  • the present disclosure provides a speaker playback control method.
  • audio data is obtained from the server through the main control speaker, and the target subspace is determined in the subspaces to which multiple sub-speakers belong.
  • the target subspace is the subspace where the user is currently located, and the subspace is a space in which a complete space is divided into multiple spaces.
  • the main control speaker sends the audio data obtained from the server to the sub-speaker in the space where the user is currently located, and the sub-speaker performs audio playback based on the audio data. Based on this, the speakers in the space selectively play audio data according to the user's current space, thereby reducing the waste of energy.
  • the speaker playback control method provided by the present disclosure is more flexible and intelligent.
  • Figure 1 is a flow chart of a method for controlling speaker playback according to an exemplary embodiment. As shown in Figure 1, it is applied to the main control speaker and includes the following steps.
  • the speaker that communicates with both the server and other speakers is called the main control speaker, and the speaker that communicates with the main control speaker is called a sub-speaker.
  • the main control speaker is used to control multiple sub-speakers. , different sub-speakers are included in different sub-spaces of the same space. One or more different sub-speakers can be included in the same sub-space.
  • step S11 after it is determined that the main control speaker enables the audio playback function, the audio data is obtained from the server, and the target subspace is determined in the subspace to which the multiple sub-speakers belong.
  • the target subspace is the subspace where the user is currently located.
  • subspace can be understood as any room, such as living room, kitchen, bedroom, etc.
  • the main control speaker when it is determined that the user has activated the audio playback function of all speakers in the room, the main control speaker obtains audio data from the server through wireless transmission technology. And by receiving the signal sent by the sub-speaker in the sub-space, the room where the user is currently located is determined.
  • step S12 the audio data is sent to the sub-speaker in the target subspace, and the sub-speaker in the target subspace is controlled to perform audio playback based on the audio data.
  • the main control speaker when the main control speaker determines which space the user exists in, it sends the audio data obtained from the server to the sub-speaker in the user's space, and controls the sub-speaker in the space. Play the decoded audio data.
  • the main control speaker determines the non-target subspace through instructions sent by the sub-speakers in the sub-space, where the non-target sub-space is a sub-space to which each set sub-speaker of the user does not exist.
  • the main control speaker determines the non-target subspace, it stops sending audio data to the sub-speakers in the non-target subspace.
  • the main control speaker when the main control speaker determines that there is no user in the sub-space, the main control speaker stops sending audio data to the sub-speakers in the space and closes the channel between the main control speaker and the sub-speakers in the space.
  • the channel resources between the main speaker and the sub-speakers that are not playing audio data are released, which improves the stability of the system and provides users with a more stable listening experience.
  • audio data is obtained from the server, and a target subspace is determined in a subspace to which multiple sub-speakers belong. Send the audio data to the sub-speaker in the target subspace, and control the sub-speaker in the target subspace to play audio based on the audio data.
  • the speakers in the space selectively play audio data according to the space where the user is currently located, thereby reducing the waste of energy. It can be understood that only when there is a user in the space, the main speaker will send audio data to the sub-speakers in the space.
  • determining the target subspace by the main control speaker is a key step. Therefore, in the following disclosed embodiments, how the main control speaker determines the target subspace will be specifically explained.
  • FIG. 2 is a flowchart of determining a target subspace according to an exemplary embodiment. As shown in Figure 2, determining a target subspace in a subspace to which multiple sub-speakers belong includes the following steps.
  • step S21 the user detection result is determined.
  • the user detection result is determined by the sub-speaker set in the subspace based on the detection of the user's human body activity, and the user detection result includes the presence of a user or the absence of a user.
  • step S22 the subspace to which the target sub-speaker box whose detection result is that the user exists is determined as the target sub-space.
  • the main control speaker receives an instruction from the sub-speaker to confirm the user's existence, and assigns the target sub-speaker to which the user exists The subspace of is determined as the target subspace. If the sub-speaker set in the sub-space does not detect the user's human activity in the space, the main control speaker receives an instruction from the sub-speaker to confirm that the user does not exist.
  • the main control speakers send corresponding instructions to control the sub-speakers, thereby realizing the interaction between the sub-speakers and the main control speakers.
  • Figure 3 is a flow chart for controlling sub-speakers in a target subspace to perform audio playback based on audio data according to an exemplary embodiment. As shown in Figure 3, audio data is sent to the sub-speakers in the target subspace. Controlling the sub-speakers in the target subspace to perform audio playback based on audio data includes the following steps.
  • step S31 the target space identifier corresponding to the target subspace is determined.
  • multiple sub-speakers correspond to space identifiers, and the space identifier is used to identify the sub-space to which the sub-speakers belong.
  • the room environment is divided into multiple subspaces, such as kitchen, living room, bedroom and other subspaces.
  • the user selects the space where the speaker is located. For example, the user can select the space where the speaker is currently located through the scalable list on the speaker display, so that each speaker knows the current space environment. For example, speaker A and speaker B are currently placed in the living room; speaker C and speaker D are currently placed in the master bedroom, and so on.
  • the sub-speakers in the target subspace sense each other through ultrasonic communication and determine the subspace to which each sub-speaker belongs.
  • the sub-speakers send their own space identification to the main control speaker, and the main control speaker stores the IP addresses or other identification IDs of all sub-speakers in the sub-space in the device list, so that the target space identification corresponding to the target sub-space can be determined. .
  • step S32 the audio data is sent to the sub-speaker in the target subspace identified by the target space identifier, and the sub-speaker in the target subspace is controlled based on the target space identifier to perform audio playback based on the audio data.
  • the user can select one of the sub-speakers in the target sub-space in advance, use the sub-speaker to detect whether there is user activity in the space, and send the detection result to the main control speaker.
  • You can also use the sub-speakers in the target sub-space to sense each other, set the speaker with the best performance to detect whether there is user activity in the space, and send the detection results to the set speaker of the main control speaker.
  • the speaker sends a confirmation command to the main control speaker
  • the main control speaker sends the audio data to the sub-speaker in the master bedroom and controls Sub speakers in the master bedroom for audio playback.
  • a target space identifier corresponding to the target subspace is determined.
  • the audio data is sent to the sub-speaker in the target subspace identified by the target space identifier, and based on the target space identifier, the sub-speaker in the target subspace is controlled to perform audio playback based on the audio data.
  • the main control speaker can accurately control the sub-speakers in the space where the user exists to perform audio playback.
  • Figure 4 is a flow chart for controlling the sub-speakers in the target subspace to perform audio playback based on audio data according to an exemplary embodiment. As shown in Figure 4, based on the target space identification, the sub-speakers in the target subspace are controlled based on Audio data playback includes the following steps.
  • step S41 a first control playback instruction is sent to the sub-speaker in the first target subspace, and based on the first control playback instruction, the sub-speaker in the first target subspace is controlled to perform audio playback based on the first control playback instruction and audio data.
  • the first control playback instruction is used to control the sub-speaker to play sound from louder to softer.
  • the sub-speaker in the living room cannot detect the user's human movement, and the sub-speaker sends a confirmation instruction to the main control speaker to confirm that the user does not exist.
  • the main control speaker sends a volume reduction control instruction (i.e., the first control playback instruction) to the sub-speaker in the living room to control the sub-speaker to play sound from louder to smaller to no longer.
  • step S42 a second control playback instruction is sent to the sub-speaker in the second target subspace, and based on the second control playback instruction, the sub-speaker in the second target subspace is controlled to perform audio playback based on the second control playback instruction and the audio data.
  • the second control playback instruction is used to control the sound played by the sub-speaker from small to louder.
  • the sub-speaker in the bedroom detects the user's human activity, and the sub-speaker sends a user presence confirmation instruction to the main control speaker.
  • the main control speaker sends a volume enhancement control instruction (i.e., the second control playback instruction) to the sub-speaker in the bedroom to control the sub-speaker to play the sound from small to louder.
  • a first control playback instruction is sent to the sub-speaker in the first target subspace, and based on the first control playback instruction, the sub-speaker in the first target subspace is controlled to perform audio playback based on the first control playback instruction and audio data.
  • a second control playback instruction is sent to the sub-speaker in the second target subspace, and based on the second control playback instruction, the sub-speaker in the second target subspace is controlled to perform audio playback based on the second control playback instruction and the audio data.
  • the main control speaker can also control changes in the audio volume played by the sub-speakers according to the detection results of the sub-speakers in the sub-space, so that the sub-speakers can achieve a gradual change in volume and bring a good listening experience to the user.
  • Embodiments of the present disclosure provide a speaker playback control method, which is applied to the main control speaker.
  • the main control speaker communicates with the server and receives audio data from the server. Decode the received audio data to obtain decoded audio data. Then divide it according to the preset duration to obtain the audio frame data. Further operations are performed according to the received instructions from the sub-speakers in each sub-space. If the sub-speaker is notified that there is a user, it will continue to send audio data and playback control instructions to the sub-speaker in the space.
  • the speakers in the space selectively play audio data according to the space where the user is currently located, thereby reducing the waste of energy.
  • the channel resources between the main speaker and the sub-speakers that are not playing audio data are released to improve the stability of the system.
  • Figure 5 is a flow chart of a speaker playback control method according to an exemplary embodiment. As shown in Figure 5, it is applied to a sub-speaker and includes the following steps.
  • step S51 the sub-speaker in the target subspace obtains the audio data sent by the main control speaker.
  • step S52 audio playback is performed based on the audio data.
  • the audio data sent by the main control speaker is obtained. Audio playback based on audio data.
  • the sub-speaker is controlled by the main control speaker, thereby realizing the interaction between the sub-speaker and the main control speaker.
  • Figure 6 is a flow chart for detecting whether there is a user in the subspace to which the target sub-speaker belongs according to an exemplary embodiment.
  • the sub-speaker is a setting sub-speaker, and the setting sub-speaker is used for detection.
  • step S61 human body activity detection is performed, and the user detection result is determined based on the human body activity detection result.
  • the user detection result includes the existence of a user or the absence of a user.
  • a sub-speaker is selected randomly or based on the performance of the sub-speaker in each sub-space to transmit and receive ultrasonic waves.
  • the selected sub-speakers in each sub-space emit ultrasonic waves to detect the user's human activity.
  • differential channel impulse response (dCIR) is used to detect user human activities. The essence of this detection method is to calculate dCIR in a real-time environment. When the user is not currently in subspace A, the dCIR value of the ultrasonic collected by the sub-speaker in subspace A approaches 0.
  • the sub-speaker set in the target sub-space will send a command to the main control speaker that there is no user in the space.
  • the main speaker After receiving the instruction, the main speaker sends the corresponding instruction operation to the sub-speaker.
  • the dCIR value of the ultrasonic waves collected by the sub-speaker in subspace B will be reflected in the amplitude change in dCIR.
  • the speaker After receiving the instruction, the main speaker sends the corresponding instruction operation to the sub-speaker.
  • s is the ultrasonic signal emitted by the speaker
  • r is the ultrasonic signal collected by the microphone
  • h is the CIR vector.
  • dCIR is described as: Where m is the current frame.
  • the amplitude statistics of dCIR are: When the AMP dCIR is greater than the set threshold, it is determined that there is someone in the current subspace.
  • the set threshold can be 3 after experimental verification.
  • step S62 the user detection result is sent to the main control speaker.
  • the sub-speaker in the sub-space determines that the user is currently in the same room as the sub-speaker, it sends an instruction to the main control speaker to inform the main control speaker that it can continue to send messages to the sub-speaker in the sub-space. Audio frame data.
  • the main control speaker receives the instruction sent from the sub-speaker, it can be determined that the user detection result determined by the sub-speaker in the sub-space is that there is a user.
  • the main control speaker determines the subspace to which the target sub-speaker belongs whose detection result is that there is a user as the target sub-space.
  • the sub-speaker in the sub-space can also detect that no user exists in the current sub-space.
  • non-target subspace information is sent to the main control speaker, and the non-target subspace is the subspace to which each set sub-speaker of the user does not exist as a result of detection.
  • Control the main speaker to stop sending audio data to non-target subspaces.
  • the sub-speaker when the dCIR value of the ultrasonic waves collected by the sub-speakers in the sub-space approaches 0, it is determined that there is currently no user in the sub-space. When it is determined that there is no user in the sub-space, the sub-speaker will send an instruction to the main control speaker to inform it that there is no user in the space to which it belongs.
  • the main control speaker when the main control speaker receives the non-target subspace information sent from the sub-speaker, it is determined that no user exists in the space where the sub-speaker is located. In order to avoid wasting resources, the main speaker stops sending audio data to non-target subspaces.
  • human activity detection is performed, and the user detection result is determined based on the human activity detection result.
  • the sub-speakers in the sub-space where the user does not exist are stopped in a timely manner from sending audio data, and channel resources are dynamically released, thereby ensuring the stability of the system and providing a better listening experience.
  • FIG. 7 is a flow chart of obtaining audio data sent by the main control speaker according to an exemplary embodiment. As shown in Figure 7, obtaining audio data sent by the main control speaker includes the following steps.
  • step S71 audio data sent by the main control speaker based on the space identifier is obtained.
  • step S72 audio playback is performed based on different spatial identifiers.
  • the first control playback instruction sent by the main control speaker is obtained, and the first target subspace identified by the first target space identifier is the subspace where the user was before the activity,
  • the first control playback instruction is used to control the sound played by the sub-speaker from louder to softer.
  • audio playback is performed based on the audio data in a manner in which the playback sound changes from louder to louder.
  • the sub-speaker in the living room cannot detect the user's human movement, and the sub-speaker sends a confirmation instruction to the main control speaker to confirm that the user does not exist.
  • the main control speaker sends a volume reduction control instruction (i.e., the first control playback instruction) to the sub-speaker in the living room to control the sub-speaker to play sound from louder to smaller to no longer.
  • the second control playback instruction sent by the main control speaker is obtained, and the second target subspace identified by the second target space identifier is the subspace where the user is located after the activity,
  • the second control playback instruction is used to control the sound played by the sub-speaker from small to loud.
  • audio playback is performed based on the audio data in a manner in which the playback sound changes from small to loud.
  • the sub-speaker in the bedroom detects the user's human activity, and the sub-speaker sends a user presence confirmation instruction to the main control speaker.
  • the main control speaker sends a volume enhancement control instruction (i.e., the second control playback instruction) to the sub-speaker in the bedroom to control the sub-speaker to play the sound from small to louder.
  • the audio data sent by the main control speaker based on the space identifier is obtained. Audio playback based on different spatial identifiers.
  • the main control speaker can also control changes in the audio volume played by the sub-speakers according to the detection results of the sub-speakers in the sub-space, so that the sub-speakers can achieve a gradual change in volume and bring a good listening experience to the user.
  • FIG 8 is a flow chart of audio playback based on audio data according to an exemplary embodiment. As shown in Figure 8, audio playback based on audio data includes the following steps.
  • step S81 the system clock between the sub-speaker and the main control speaker is calibrated.
  • FIG. 9 shows a schematic diagram of calibrating the system clock between the main control speaker and the sub-speaker.
  • the sub-speaker needs to calculate the system clock difference between itself and the main speaker, and adjust itself to the same system clock as the main speaker.
  • the sub-speaker sends the time information to the main control speaker through WiFi at TB0 according to its own clock.
  • the main control speaker receives the time information of the sub-speaker at TA0 according to its own clock, and then the main control speaker sends the time information at TA1.
  • T A0 -T B0 ⁇ + ⁇ 0
  • T B1 -T A1 - ⁇ + ⁇ 1
  • represents the system clock error between the sub-speaker and the main speaker
  • ⁇ 0 and ⁇ 1 are the WiFi transmission delays between the main speaker and the sub-speaker.
  • the sub-speaker will compensate the clock difference ⁇ with its own system clock, and then calibrate it to the same system clock as the main control speaker. On the basis that all speakers are aligned with the master speaker clock, the audio frames at time T0 are played out at time T0+1s, thereby achieving synchronous playback of all speakers.
  • step S82 audio is played synchronously with the main control speaker based on the calibrated system clock and audio data.
  • the system clocks between the sub speakers and the master speakers are calibrated. Based on the calibrated system clock and audio data, the audio is played synchronously with the main control speaker.
  • the present disclosure based on the system clock criterion between the sub-speaker and the main control speaker, synchronous audio playback of each speaker is realized, bringing a good listening experience to the user.
  • Figure 10 shows a schematic diagram of audio playback control.
  • the division of subspaces can be achieved through user configuration and automatic perception.
  • user cooperation means that every time the user configures the network for the speaker, the subspace where the speaker is located is selected. For example, the living room is selected for speaker A and speaker B, and the master bedroom is selected for speaker C and speaker D.
  • speaker A and speaker B They know each other that they are in a subspace
  • speaker C and speaker D know each other that they are in a subspace.
  • Automatic sensing does not require user selection.
  • the speakers sense each other through ultrasonic communication.
  • speaker A sends ultrasonic information
  • speaker B knows Speaker A is in the same subspace as itself.
  • Each speaker is sensed in turn, and the subspace where all the speakers are located can finally be divided.
  • speaker A is used as the main control speaker, the information about the space where all the devices are located will be finally summarized in speaker A, and the IP addresses or other identification IDs of the devices in each subspace will be stored in the list. In this case, a correlation is established between the various speakers.
  • speaker M detects the user through ultrasonic technology.
  • speaker M detects that the user is in subspace 1, it sends an instruction to the main control speaker to inform the user that there is a user in subspace 1.
  • the main control speaker receives the instruction from the speaker M, it continues to send audio data to the speaker M and the speaker N in the subspace 1.
  • the speaker M does not detect that the user is in subspace 1, it sends an instruction to the main control speaker to inform that there is no user in subspace 1.
  • the main control speaker receives the instruction from the speaker M, it stops sending audio data to the speaker M and the speaker N in the subspace 1, and closes the channel between the main control speaker and the speaker M and the speaker N.
  • Embodiments of the present disclosure provide a speaker playback control method, which is applied to sub-speakers in each divided sub-space, and the sub-speakers communicate with the main control speaker.
  • the sub-speaker detects that there is a user in the space through ultrasonic technology, it sends an instruction that the user exists in the space to the main control speaker; when the sub-speaker detects that there is no user in the space through ultrasonic technology, it sends an instruction that there is no user in the main control speaker. .
  • After informing the main control speaker that there is a user in the space it receives the audio data and playback control instructions from the main control speaker, decodes the data and plays it.
  • an embodiment of the present disclosure also provides a speaker playback control device.
  • the speaker playback control device provided by the embodiment of the present disclosure includes hardware structures and/or software modules corresponding to each function.
  • the embodiments of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is performed by hardware or computer software driving the hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to go beyond the scope of the technical solutions of the embodiments of the present disclosure.
  • Figure 11 is a block diagram of a speaker playback control device according to an exemplary embodiment.
  • the device 100 can be provided as the main control speaker related to the above embodiment, including a determination unit 101 and a playback unit 102 .
  • the determination unit 101 is configured to obtain audio data from the server in response to enabling the audio playback function, and determine the target subspace in the subspace to which the multiple sub-speakers belong, and the target subspace is the subspace where the user is currently located; the playback unit 102, Used to send audio data to the sub-speaker in the target subspace, and control the sub-speaker in the target subspace to play audio based on the audio data.
  • the determination unit 101 determines the target subspace in the subspace to which multiple sub-speakers belong in the following manner: determines the user detection result, the user detection result is determined by the sub-speaker set in the sub-space based on the detection of the user's human body activity, and the user The detection result includes the presence or absence of a user; the subspace to which the target sub-speaker whose detection result indicates the presence of a user belongs is determined as the target subspace.
  • multiple sub-speakers correspond to space identifiers, and the space identifier is used to identify the sub-space to which the sub-speakers belong; the playback unit 102 uses the following method to send audio data to the sub-speakers in the target sub-space and control the target sub-space.
  • the sub-speakers in the sub-speaker perform audio playback based on audio data: determine the target space identifier corresponding to the target sub-space; send the audio data to the sub-speaker in the target sub-space identified by the target space identifier, and control the target sub-space based on the target space identifier.
  • the sub-speaker performs audio playback based on audio data.
  • the target space identifier includes a first target space identifier and a second target space identifier.
  • the first target subspace identified by the first target space identifier is the subspace where the user was before the activity
  • the second target space identifier is the subspace where the user was before the activity.
  • the identified second target subspace is the subspace where the user is located after the activity; the playback unit 102 controls the sub-speaker in the target subspace to perform audio playback based on the audio data based on the target space identification: sends the second sub-speaker to the sub-speaker in the first target subspace.
  • a control playback instruction based on the first control playback instruction, the sub-speaker in the first target subspace is controlled to perform audio playback based on the first control playback instruction and the audio data.
  • the first control playback instruction is used to control the sub-speaker's playback sound from louder to smaller.
  • Send a second control playback instruction to the sub-speaker in the second target subspace, and control the sub-speaker in the second target subspace to perform audio playback based on the second control playback instruction and audio data based on the second control playback instruction.
  • the play command is used to control the sound played by the sub-speaker from small to loud.
  • the playback unit 102 is also used to: determine a non-target subspace, which is a subspace to which each set sub-speaker of the user does not exist; and stop sending audio data to the non-target subspace.
  • Figure 12 is a block diagram of a speaker playback control device according to an exemplary embodiment.
  • the device 200 may be provided as the sub-speaker involved in the above embodiment, including an acquisition unit 201 and a playback unit 202 .
  • the acquisition unit 201 is used to acquire the audio data sent by the main control speaker; the playback unit 202 is used to perform audio playback based on the audio data.
  • the sub-speaker is a set sub-speaker, and the set sub-speaker is used to detect whether there is a user in the sub-space to which the target sub-speaker belongs.
  • the playback unit 202 is also used to: perform human activity detection, and based on human activity detection The result determines the user detection result, which includes the presence of a user or the absence of a user; and sends the user detection result to the main control speaker.
  • the sub-speaker box corresponds to a space identifier
  • the space identifier is used to identify the sub-space to which the sub-speaker box belongs
  • the acquisition unit 201 obtains the audio data sent by the main control speaker in the following manner: obtains the audio data sent by the main control speaker based on the space identifier. data.
  • the playback unit 202 performs audio playback based on audio data in the following manner: in response to the space identifier being the first target space identifier, obtaining the first control playback instruction sent by the main control speaker, and the first target space identifier identifies
  • the first target subspace is the subspace where the user was before the activity.
  • the first control playback instruction is used to control the sound played by the sub-speaker from louder to smaller.
  • the audio data is used to play the sound from louder to smaller. for audio playback.
  • the playback unit 202 performs audio playback based on audio data in the following manner: in response to the space identifier being the second target space identifier, obtaining the second control playback instruction sent by the main control speaker, and the second target space identifier identifies the The second target subspace is the subspace where the user is after the activity.
  • the second control playback instruction is used to control the sound played by the sub-speaker from small to louder. Based on the second control playback instruction, the playback sound is changed from small to louder based on the audio data. for audio playback.
  • the playback unit 202 performs audio playback based on audio data in the following manner: calibrates the system clock between the sub-speaker and the main control speaker; and performs audio synchronization playback with the main control speaker based on the calibrated system clock and audio data. .
  • Figure 13 is a block diagram of a device for speaker playback control according to an exemplary embodiment.
  • the device 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
  • device 300 may include one or more of the following components: processing component 302, memory 304, power component 306, multimedia component 308, audio component 310, input/output (I/O) interface 312, sensor component 314, and Communication component 316.
  • Processing component 302 generally controls the overall operations of device 300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 302 may include one or more processors 320 to execute instructions to complete all or part of the steps of the above method.
  • processing component 302 may include one or more modules that facilitate interaction between processing component 302 and other components.
  • processing component 302 may include a multimedia module to facilitate interaction between multimedia component 308 and processing component 302.
  • Memory 304 is configured to store various types of data to support operations at device 300 . Examples of such data include instructions for any application or method operating on device 300, contact data, phonebook data, messages, pictures, videos, etc.
  • Memory 304 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EEPROM erasable programmable read-only memory
  • EPROM Programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory flash memory, magnetic or optical disk.
  • Power component 306 provides power to the various components of device 300 .
  • Power components 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 300 .
  • Multimedia component 308 includes a screen that provides an output interface between the device 300 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action.
  • multimedia component 308 includes a front-facing camera and/or a rear-facing camera.
  • the front camera and/or the rear camera may receive external multimedia data.
  • Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
  • Audio component 310 is configured to output and/or input audio signals.
  • audio component 310 includes a microphone (MIC) configured to receive external audio signals when device 300 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 304 or sent via communication component 316 .
  • audio component 310 also includes a speaker for outputting audio signals.
  • the I/O interface 312 provides an interface between the processing component 302 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
  • Sensor component 314 includes one or more sensors for providing various aspects of status assessment for device 300 .
  • the sensor component 314 can detect the open/closed state of the device 300, the relative positioning of components, such as the display and keypad of the device 300, and the sensor component 314 can also detect a change in position of the device 300 or a component of the device 300. , the presence or absence of user contact with device 300 , device 300 orientation or acceleration/deceleration and temperature changes of device 300 .
  • Sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 316 is configured to facilitate wired or wireless communication between apparatus 300 and other devices.
  • Device 300 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • the communication component 316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication component 316 also includes a near field communication (NFC) module to facilitate short-range communications.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • apparatus 300 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are implemented for executing the above method.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable Gate array
  • controller microcontroller, microprocessor or other electronic components are implemented for executing the above method.
  • a non-transitory computer-readable storage medium including instructions such as a memory 304 including instructions, which can be executed by the processor 320 of the device 300 to complete the above method is also provided.
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
  • first, second, etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other and do not imply a specific order or importance. In fact, expressions such as “first” and “second” can be used interchangeably.
  • first information may also be called second information, and similarly, the second information may also be called first information.
  • connection includes a direct connection without other components between the two, and also includes an indirect connection with other elements between the two.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

本公开是关于一种音箱播放控制方法、音箱播放控制装置及存储介质。音箱播放控制方法包括:响应于启用音频播放功能,从服务端获取音频数据,并在多个子音箱所属的子空间中确定目标子空间,所述目标子空间为用户当前所在的子空间;将所述音频数据发送至所述目标子空间内的子音箱,控制所述目标子空间内的子音箱基于所述音频数据进行音频播放。通过本公开,减少了能源的浪费,同时,将主控音箱与不进行播放音频数据的子音箱之间的信道资源进行释放,为用户提供了更加稳定的听觉体验。

Description

一种音箱播放控制方法、音箱播放控制装置及存储介质 技术领域
本公开涉及音箱技术领域,尤其涉及一种音箱播放控制方法、音箱播放控制装置及存储介质。
背景技术
随着智能家居技术的发展和人们对高品质居家生活的追求,全屋音响给人们的居家生活带来震撼的听觉享受。多台智能音箱通过WiFi互相连接,并同步播放音乐,让用户在走动的过程中,也能有沉浸式的听音体验。终端音箱从服务器上拿到音频数据,并通过无线网络传送给所有房间内的音箱。通过一定的同步机制来保证相同的音频帧在相同的时间内播放出来。
然而,用户通常只会在其中的一个或部分房间,在没有用户的房间里播放音乐,一方面会导致电能的损耗。另一方面,由于音箱发送数据会占用网络通道,若网络资源占用越多,则越可能导致系统不稳定,比如播放不同步等问题出现。
发明内容
为克服相关技术中存在的问题,本公开提供一种音箱播放控制方法、音箱播放控制装置及存储介质。
根据本公开实施例的第一方面,提供一种音箱播放控制方法,应用于主控音箱,所述主控音箱用于控制多个子音箱,所述多个子音箱属于同一空间的不同子空间,包括:
响应于启用音频播放功能,从服务端获取音频数据,并在多个子音箱所属的子空间中确定目标子空间,所述目标子空间为用户当前所在的子空间;将所述音频数据发送至所述目标子空间内的子音箱,控制所述目标子空间内的子音箱基于所述音频数据进行音频播放。
一种实施方式中,所述在多个子音箱所属的子空间中确定目标子空间,包括:
确定用户检测结果,所述用户检测结果由子空间中设定子音箱基于用户人体活动探测确定,且所述用户检测结果包括存在用户或不存在用户;将检测结果为存在有用户的目标子音箱所属的子空间,确定为目标子空间。
一种实施方式中,所述多个子音箱对应有空间标识,所述空间标识用于标识所述子音箱所属的子空间;所述将所述音频数据发送至所述目标子空间内的子音箱,控制所述目标 子空间内的子音箱基于所述音频数据进行音频播放,包括:确定所述目标子空间对应的目标空间标识;将所述音频数据发送至所述目标空间标识所标识的目标子空间内的子音箱,并基于所述目标空间标识控制所述目标子空间内的子音箱基于所述音频数据进行音频播放。
一种实施方式中,所述目标空间标识包括第一目标空间标识和第二目标空间标识,所述第一目标空间标识所标识的第一目标子空间为用户活动前所在的子空间,所述第二目标空间标识所标识的第二目标子空间为用户活动后所在的子空间;所述基于所述目标空间标识控制所述目标子空间内的子音箱基于所述音频数据进行音频播放,包括:向所述第一目标子空间中的子音箱发送第一控制播放指令,基于所述第一控制播放指令控制所述第一目标子空间内的子音箱基于所述第一控制播放指令和所述音频数据进行音频播放,所述第一控制播放指令用于控制子音箱播放声音由大变小;向所述第二目标子空间中的子音箱发送第二控制播放指令,基于所述第二控制播放指令控制所述第二目标子空间内的子音箱基于所述第二控制播放指令和所述音频数据进行音频播放,所述第二控制播放指令用于控制子音箱播放声音由小变大。
一种实施方式中,所述方法还包括:确定非目标子空间,所述非目标子空间为不存在用户的各设定子音箱所属的子空间;停止向所述非目标子空间发送音频数据。
根据本公开实施例的第二方面,提供一种音箱播放控制方法,应用于子音箱,所述子音箱所属的子空间为目标子空间,所述目标子空间为用户当前所在的子空间,包括:
获取主控音箱发送的音频数据;基于所述音频数据进行音频播放。
一种实施方式中,所述子音箱为设定子音箱,所述设定子音箱用于检测所述目标子音箱所属的子空间内是否存在用户,所述方法还包括:进行人体活动探测,并基于人体活动探测结果确定用户检测结果,所述用户检测结果包括存在用户或不存在用户;向所述主控音箱发送所述用户检测结果。
一种实施方式中,所述子音箱对应有空间标识,所述空间标识用于标识所述子音箱所属的子空间;所述获取主控音箱发送的音频数据,包括:获取所述主控音箱基于所述空间标识发送的音频数据。
一种实施方式中,所述基于所述音频数据进行音频播放,包括:响应于所述空间标识为第一目标空间标识,获取主控音箱发送的第一控制播放指令,所述第一目标空间标识所标识的第一目标子空间为用户活动前所在的子空间,所述第一控制播放指令用于控制子音箱播放声音由大变小;基于所述第一控制播放指令,按照播放声音由大变小的方式基于所述音频数据进行音频播放。
一种实施方式中,所述基于所述音频数据进行音频播放,包括:响应于所述空间标识为第二目标空间标识,获取主控音箱发送的第二控制播放指令,所述第二目标空间标识所标识的第二目标子空间为用户活动后所在的子空间,所述第二控制播放指令用于控制子音箱播放声音由小变大;基于所述第二控制播放指令,按照播放声音由小变大的方式基于所述音频数据进行音频播放。
一种实施方式中,所述基于所述音频数据进行音频播放,包括:校对所述子音箱和所述主控音箱之间的系统时钟;基于校对后的系统时钟和所述音频数据,与所述主控音箱进行音频同步播放。
根据本公开实施例的第三方面,提供一种音箱播放控制装置,包括:
确定单元,用于响应于启用音频播放功能,从服务端获取音频数据,并在多个子音箱所属的子空间中确定目标子空间,所述目标子空间为用户当前所在的子空间;播放单元,用于将所述音频数据发送至所述目标子空间内的子音箱,控制所述目标子空间内的子音箱基于所述音频数据进行音频播放。
一种实施方式中,所述确定单元采用如下方式在多个子音箱所属的子空间中确定目标子空间:确定用户检测结果,所述用户检测结果由子空间中设定子音箱基于用户人体活动探测确定,且所述用户检测结果包括存在用户或不存在用户;将检测结果为存在有用户的目标子音箱所属的子空间,确定为目标子空间。
一种实施方式中,所述多个子音箱对应有空间标识,所述空间标识用于标识所述子音箱所属的子空间;所述播放单元采用下述方式将所述音频数据发送至所述目标子空间内的子音箱,控制所述目标子空间内的子音箱基于所述音频数据进行音频播放:确定所述目标子空间对应的目标空间标识;将所述音频数据发送至所述目标空间标识所标识的目标子空间内的子音箱,并基于所述目标空间标识控制所述目标子空间内的子音箱基于所述音频数据进行音频播放。
一种实施方式中,所述目标空间标识包括第一目标空间标识和第二目标空间标识,所述第一目标空间标识所标识的第一目标子空间为用户活动前所在的子空间,所述第二目标空间标识所标识的第二目标子空间为用户活动后所在的子空间;所述播放单元基于所述目标空间标识控制所述目标子空间内的子音箱基于所述音频数据进行音频播放:向所述第一目标子空间中的子音箱发送第一控制播放指令,基于所述第一控制播放指令控制所述第一目标子空间内的子音箱基于所述第一控制播放指令和所述音频数据进行音频播放,所述第一控制播放指令用于控制子音箱播放声音由大变小;向所述第二目标子空间中的子音箱发送第二控制播放指令,基于所述第二控制播放指令控制所述第二目标子空间内的子音箱基 于所述第二控制播放指令和所述音频数据进行音频播放,所述第二控制播放指令用于控制子音箱播放声音由小变大。
一种实施方式中,所述播放单元还应用于:确定非目标子空间,所述非目标子空间为不存在用户的各设定子音箱所属的子空间;停止向所述非目标子空间发送音频数据。
根据本公开实施例第四方面,提供一种音箱播放控制装置,包括:
获取单元,用于获取主控音箱发送的音频数据;播放单元,用于基于所述音频数据进行音频播放。
一种实施方式中,所述子音箱为设定子音箱,所述设定子音箱用于检测所述目标子音箱所属的子空间内是否存在用户,所述播放单元还应用于:进行人体活动探测,并基于人体活动探测结果确定用户检测结果,所述用户检测结果包括存在用户或不存在用户;向所述主控音箱发送所述用户检测结果。
一种实施方式中,所述子音箱对应有空间标识,所述空间标识用于标识所述子音箱所属的子空间;所述获取单元采用如下方式获取主控音箱发送的音频数据:获取所述主控音箱基于所述空间标识发送的音频数据。
一种实施方式中,所述播放单元采用如下方式基于所述音频数据进行音频播放:响应于所述空间标识为第一目标空间标识,获取主控音箱发送的第一控制播放指令,所述第一目标空间标识所标识的第一目标子空间为用户活动前所在的子空间,所述第一控制播放指令用于控制子音箱播放声音由大变小;基于所述第一控制播放指令,按照播放声音由大变小的方式基于所述音频数据进行音频播放。
一种实施方式中,所述播放单元采用如下方式基于所述音频数据进行音频播放:响应于所述空间标识为第二目标空间标识,获取主控音箱发送的第二控制播放指令,所述第二目标空间标识所标识的第二目标子空间为用户活动后所在的子空间,所述第二控制播放指令用于控制子音箱播放声音由小变大;基于所述第二控制播放指令,按照播放声音由小变大的方式基于所述音频数据进行音频播放。
一种实施方式中,所述播放单元采用如下方式基于所述音频数据进行音频播放:校对所述子音箱和所述主控音箱之间的系统时钟;基于校对后的系统时钟和所述音频数据,与所述主控音箱进行音频同步播放。
根据本公开实施例第五方面,提供一种音箱播放控制装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:执行第一方面或者第一方面任意一种实施方式中所述的 方法。
根据本公开实施例第六方面,提供一种音箱播放控制装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:执行第二方面或者第二方面任意一种实施方式中所述的方法。
根据本公开实施例第七方面,提供一种计算机可读存储介质,所述存储介质中存储有指令,当所述存储介质中的指令由网络设备的处理器执行时,使得网络设备能够执行第一方面或者第一方面任意一种实施方式中所述的方法。
根据本公开实施例第八方面,提供一种计算机可读存储介质,所述存储介质中存储有指令,当所述存储介质中的指令由终端的处理器执行时,使得终端能够执行第二方面或者第二方面任意一种实施方式中所述的方法。
本公开的实施例提供的技术方案可以包括以下有益效果:在确定音箱启用音频播放功能时,通过主控音箱从服务端获取音频数据,并确定用户当前所在的空间。进一步的,由主控音箱将从服务端获取的音频数据发送至用户当前所在空间内的子音箱,并由子音箱基于音频数据进行音频播放。基于此,空间内的音箱选择性的根据用户当前所处空间进行播放音频数据,从而减少了能源的浪费,即在当前空间内,没有检测到用户存在在此空间的音箱就处于不工作状态。同时,将主控音箱与不进行播放音频数据的子音箱之间的信道资源进行释放,为用户提供了更加稳定的听觉体验。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
图1是根据一示例性实施例示出的一种音箱播放控制方法的流程图。
图2是根据一示例性实施例示出的一种确定目标子空间的流程图。
图3是根据一示例性实施例示出的一种控制目标子空间内的子音箱基于音频数据进行音频播放的流程图。
图4是根据一示例性实施例示出的一种控制目标子空间内的子音箱基于音频数据进行音频播放的流程图。
图5是根据一示例性实施例示出的一种音箱播放控制方法的流程图。
图6是根据一示例性实施例示出的一种检测目标子音箱所属的子空间内是否存在用户的流程图。
图7是根据一示例性实施例示出的一种获取主控音箱发送的音频数据的流程图。
图8是根据一示例性实施例示出的一种基于音频数据进行音频播放的流程图。
图9示出了一种校对主控音箱与子音箱之间的系统时钟的示意图。
图10示出了一种音响播放控制的示意图。
图11是根据一示例性实施例示出的一种音箱播放控制装置框图。
图12是根据一示例性实施例示出的一种音箱播放控制装置框图。
图13是根据一示例性实施例示出的一种用于音箱播放控制的装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。
在附图中,自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。所描述的实施例是本公开一部分实施例,而不是全部的实施例。下面通过参考附图描述的实施例是示例性的,旨在用于解释本公开,而不能理解为对本公开的限制。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。下面结合附图对本公开的实施例进行详细说明。
本公开实施例提供的音箱播放控制方法,可以应用于通过无线通信技术相连的多个智能设备,实现用户与用户之间共享音乐的应用场景。尤其是,设定空间内的多个智能设备,其中多个智能设备分别属于不同的子空间,且多个智能设备中包括主控智能设备以及子智能设备。其中,智能设备可以是智能音箱,也可以是其他智能设备。
智能音箱的普及和用户日益提升的听音需求,使得各大公司都致力于提升各自音箱的音乐播放功能,这其中一个突破性的进展是音箱之间通过无线网络互联,实现全屋播放功能。多台智能音箱通过WiFi互相连接,并同步播放音乐,让用户在走动的过程中,也能有沉浸式的听音体验。音箱从服务器上拿到音乐数据,并通过无线网络传送给所有房间内的音箱。通过一定的同步机制来保证相同的音频帧在相同的时间内播放出来,从而实现家庭内所有的智能音箱一起同步播放音乐。
相关技术中,通过WiFi互联互通,实现多个智能音箱之间的信息交互。主控音箱从 服务器上拿到音频数据,将音频数据等时间长度分帧,并给每个音频帧标记对应的时间信息,通过WiFi打包发送给所有房间的其他子音箱。其他子音箱通过WiFi接收到主控音箱发送来的音频帧包并解析出音频数据和时间信息。在音频帧包交互的同时,其他子音箱要同主控音箱做系统时钟的交互,以此达到主控音箱和其他子音箱系统时钟上的对齐,从而保证主控音箱和其他子音箱的数据处理是在同一个时钟基准上。在主控音箱和其他子音箱系统时钟同步的基础上,分别开始对音频数据进行处理。主控音箱和其他子音箱设定固定时间后,将同样的音频帧播放出来,从而实现了多个音箱的音频同步播放,达到全屋播放的听音体验。但是,在家庭中,通常用户只会在其中的一个或部分房间,在没人的房间播放音乐,一个会浪费电能,另一个由于发送数据占用网络通道,网络资源占用越多,越可能导致整个系统不稳定,例如,多个音箱之间无法同步的进行播放音频数据。
有鉴于此,本公开提供了一种音箱播放控制方法,在确定音箱启用音频播放功能时,通过主控音箱从服务端获取音频数据,并在多个子音箱所属的子空间中确定目标子空间,其中,目标子空间为用户当前所在的子空间,子空间为一个完整空间被划分为多个空间中的一个空间。进一步的,由主控音箱将从服务端获取的音频数据发送至用户当前所在空间内的子音箱,并由子音箱基于音频数据进行音频播放。基于此,空间内的音箱选择性的根据用户当前所处空间进行播放音频数据,从而减少了能源的浪费,即在当前空间内,没有检测到用户存在在此空间的音箱就处于不工作状态。同时,将主控音箱与不进行播放音频数据的子音箱之间的信道资源进行释放,尽可能的减少网络负载,可以提升系统的稳定性,且为用户提供了更加稳定的听觉体验。因此,相较于相关技术中控制音箱播放的方式,本公开提供的音箱播放控制方法体现的更加灵活及智能。
图1是根据一示例性实施例示出的一种音箱播放控制方法的流程图,如图1所示,应用于主控音箱,包括以下步骤。
在下述公开实施例中,将既与服务端通信又与其他音箱通信的音箱称为主控音箱,将与主控音箱通信的音箱称为子音箱,其中,主控音箱用于控制多个子音箱,同一空间的不同子空间中包括有不同的子音箱。同一子空间中可以包括一个或多个不同的子音箱。
在步骤S11中,在确定主控音箱启用音频播放功能,从服务端获取音频数据,并在多个子音箱所属的子空间中确定目标子空间。
其中,目标子空间为用户当前所在的子空间。其中,子空间可以理解为任意一个房间,比如:客厅、厨房、卧室等。
在本公开实施例中,在确定用户已将房间内所有音箱的音频播放功能启动时,主控音箱通过无线传输技术,从服务端获取音频数据。并通过接收子空间内的子音箱发送的信号, 确定用户当前所在的房间。
在步骤S12中,将音频数据发送至目标子空间内的子音箱,控制目标子空间内的子音箱基于音频数据进行音频播放。
在本公开实施例中,当主控音箱确定哪一个空间内存在用户的情况下,将从服务端获取得到的音频数据发送至存在用户的空间内的子音箱,并控制该空间内的子音箱播放解码后的音频数据。
在本公开中,主控音箱通过子空间内的子音箱发送的指令确定非目标子空间,其中,非目标子空间为不存在用户的各设定子音箱所属的子空间。在主控音箱确定非目标子空间的情况下,停止向非目标子空间内的子音箱发送音频数据。
在本公开实施例中,在主控音箱确定该子空间内不存在用户,则主控音箱停止向该空间内的子音箱发送音频数据,关闭主控音箱与该空间内子音箱之间的信道。将主控音箱与不进行播放音频数据的子音箱之间的信道资源进行释放,提高了系统的稳定性,为用户提供了更加稳定的听觉体验。
在本公开中,在确定所有音箱启用音频播放功能,从服务端获取音频数据,并在多个子音箱所属的子空间中确定目标子空间。将音频数据发送至目标子空间内的子音箱,控制目标子空间内的子音箱基于音频数据进行音频播放。通过本公开,空间内的音箱选择性的根据用户当前所处空间进行播放音频数据,从而减少了能源的浪费。可以理解为,只有该空间内存在用户时,主控音箱才向该空间内的子音箱发送音频数据。
基于上述实施例,可知主控音箱确定目标子空间是关键的一个步骤,因此,在下述公开实施例中,将对主控音箱如何确定目标子空间进行具体说明。
图2是根据一示例性实施例示出的一种确定目标子空间的流程图,如图2所示,在多个子音箱所属的子空间中确定目标子空间,包括以下步骤。
在步骤S21中,确定用户检测结果。
其中,用户检测结果由子空间中设定子音箱基于用户人体活动探测确定,且用户检测结果包括存在用户或不存在用户。
在步骤S22中,将检测结果为存在有用户的目标子音箱所属的子空间,确定为目标子空间。
在本公开实施例中,若子空间中设定的子音箱探测到空间内存在用户人体活动,则主控音箱接收到来自子音箱的确认用户存在的指令,并将存在有用户的目标子音箱所属的子空间,确定为目标子空间。若子空间中设定的子音箱没有探测到空间内存在用户人体活动,则主控音箱接收到来自子音箱的确认用户不存在的指令。
在本公开中,确定用户检测结果。将检测结果为存在有用户的目标子音箱所属的子空间,确定为目标子空间。通过本公开,基于子音箱向主控音箱传输的检测结果指令,主控音箱发送相对应的指令控制子音箱,实现了子音箱与主控音箱之间的交互。
图3是根据一示例性实施例示出的一种控制目标子空间内的子音箱基于音频数据进行音频播放的流程图,如图3所示,将音频数据发送至目标子空间内的子音箱,控制目标子空间内的子音箱基于音频数据进行音频播放,包括以下步骤。
在步骤S31中,确定目标子空间对应的目标空间标识。
其中,多个子音箱对应有空间标识,空间标识用于标识子音箱所属的子空间。
在本公开实施例中,将房间环境划分为多个子空间,比如:厨房、客厅、卧室等子空间。首次配网时通过用户选择音箱所处空间,例如,用户可以通过音箱显示屏上的可伸缩列表对音箱当前所处空间进行选择,这样每一个音箱就知道当前所处的空间环境。例如,音箱A和音箱B当前在客厅放置;音箱C和音箱D当前在主卧室放置等等。其次,目标子空间内的子音箱通过超声波通信方式相互感知,确定各子音箱所属的子空间。子音箱将自己的空间标识发送至主控音箱,主控音箱将子空间内的所有子音箱的IP地址或者其他识别ID存储在设备的列表之中,从而可以确定目标子空间对应的目标空间标识。
在步骤S32中,将音频数据发送至目标空间标识所标识的目标子空间内的子音箱,并基于目标空间标识控制目标子空间内的子音箱基于音频数据进行音频播放。
在一示例中,用户可以提前选定目标子空间内的其中一个子音箱,通过该子音箱探测空间内是否有用户活动,且将检测结果发送至主控音箱。也可以通过目标子空间内的子音箱相互感知,将性能最优的音箱设定为探测空间内是否有用户活动,且将检测结果发送至主控音箱的设定音箱。假设用户当前在主卧室活动,主卧室内设定的子音箱探测到有人体活动,则该音响发送确认指令至主控音箱,主控音箱将音频数据发送至主卧室内的子音箱,并控制主卧室内的子音箱进行音频播放。
在本公开中,确定目标子空间对应的目标空间标识。将音频数据发送至目标空间标识所标识的目标子空间内的子音箱,并基于目标空间标识控制目标子空间内的子音箱基于音频数据进行音频播放。通过本公开,主控音箱可以精确的控制用户存在的空间内的子音箱进行音频播放。
图4是根据一示例性实施例示出的一种控制目标子空间内的子音箱基于音频数据进行音频播放的流程图,如图4所示,基于目标空间标识控制目标子空间内的子音箱基于音频数据进行音频播放,包括以下步骤。
在步骤S41中,向第一目标子空间中的子音箱发送第一控制播放指令,基于第一控制 播放指令控制第一目标子空间内的子音箱基于第一控制播放指令和音频数据进行音频播放。
其中,第一控制播放指令用于控制子音箱播放声音由大变小。
在本公开实施例中,当用户离开客厅(即第一目标子空间)时,此时客厅内的子音箱探测不到用户人体活动,子音箱将确认用户不存在指令发送给主控音箱。主控音箱接收到该指令后,向客厅内的子音箱发送音量减弱控制指令(即第一控制播放指令),控制子音箱播放声音由大变小直至没有。
在步骤S42中,向第二目标子空间中的子音箱发送第二控制播放指令,基于第二控制播放指令控制第二目标子空间内的子音箱基于第二控制播放指令和音频数据进行音频播放。
其中,第二控制播放指令用于控制子音箱播放声音由小变大。
在本公开实施例中,当用户走入卧室(即第二目标子空间)时,此时卧室内的子音箱探测到了用户人体活动,子音箱将确认用户存在指令发送给主控音箱。主控音箱接收到该指令后,向卧室内的子音箱发送音量增强控制指令(即第二控制播放指令),控制子音箱播放声音由小变大。
在本公开中,向第一目标子空间中的子音箱发送第一控制播放指令,基于第一控制播放指令控制第一目标子空间内的子音箱基于第一控制播放指令和音频数据进行音频播放。向第二目标子空间中的子音箱发送第二控制播放指令,基于第二控制播放指令控制第二目标子空间内的子音箱基于第二控制播放指令和音频数据进行音频播放。通过本公开,主控音箱还可以根据子空间内的子音箱的检测结果,控制子音箱播放音频音量的变化,使得子音箱在音量上可以实现渐变的效果,为用户带来良好的听觉体验。
本公开实施例提供一种音箱播放控制方法,应用于主控音箱,主控音箱与服务端进行通信,接收来自服务端的音频数据。将接收到的音频数据进行解码,得到解码后的音频数据。再根据预设的时长进行划分,得到音频帧数据。根据接收到的各个子空间内的子音箱的指令,进行进一步的操作。若接收到子音箱告知有用户存在的指令,则继续向该空间内的子音箱发送音频数据和播放控制指令,在传输音频数据的同时也需要传输时钟数据进行校对;若接收到子音箱告知没有用户存在的指令,则停止向该空间内的子音箱发送音频数据。通过本公开实施例,空间内的音箱选择性的根据用户当前所处空间进行播放音频数据,从而减少了能源的浪费。同时,将主控音箱与不进行播放音频数据的子音箱之间的信道资源进行释放,提高系统的稳定性。
图5是根据一示例性实施例示出的一种音箱播放控制方法的流程图,如图5所示,应 用于子音箱,包括以下步骤。
在步骤S51中,目标子空间中的子音箱获取主控音箱发送的音频数据。
在步骤S52中,基于音频数据进行音频播放。
在本公开中,获取主控音箱发送的音频数据。基于音频数据进行音频播放。通过本公开,子音箱由主控音箱进行控制,实现了子音箱与主控音箱之间的交互。
图6是根据一示例性实施例示出的一种检测目标子音箱所属的子空间内是否存在用户的流程图,如图6所示,子音箱为设定子音箱,设定子音箱用于检测目标子音箱所属的子空间内是否存在用户,包括以下步骤。
在步骤S61中,进行人体活动探测,并基于人体活动探测结果确定用户检测结果。
其中,用户检测结果包括存在用户或不存在用户。
在本公开实施例中,在每个子空间内随机选取或依据子音箱性能选取一个子音箱发射并接收超声波。当所有音箱的播放音频功能开启后,每个子空间内选定的子音箱发射超声波进行用户人体活动探测。本公开实施例中,采用差分信道冲击响应(dCIR)对用户人体活动进行探测。该探测方法的本质就是通过实时计算环境中的dCIR。当用户当前不在子空间A内时,子空间A内的子音箱回采超声波的dCIR值趋近于0。此时,目标子空间内设定的子音箱就会向主控音箱发送空间内不存在用户的指令。主控音箱接收到该指令后,向子音箱发送相对应的指令操作。当用户当前在子空间B内时,子空间B内的子音箱回采超声波的dCIR值会反映在dCIR上的幅值变化。此时,目标子空间内设定的子音箱的dCIR幅值发生变化,则该音箱就会向主控音箱发送空间内存在用户的指令。主控音箱接收到该指令后,向子音箱发送相对应的指令操作。通过检测dCIR的整体幅值状态,即可探测当前子空间内是否有用户存在。
在本公开实施例中,dCIR的应用原理基于下述算式:
Figure PCTCN2022099595-appb-000001
上式中,s为扬声器发射的超声波信号,r为麦克风采集到的超声波信号,h为CIR向量。h的计算式为:h=(S TS) -1SR。dCIR描述为:
Figure PCTCN2022099595-appb-000002
其中m为当前帧。dCIR的幅值统计为:
Figure PCTCN2022099595-appb-000003
当AMP dCIR大于设定的阈值时,则判定为当 前子空间有人,其中,设定的阈值经实验验证可以为3。
在步骤S62中,向主控音箱发送用户检测结果。
在本公开实施例中,当子空间内的子音箱判定用户当前正位于与子音箱所处同一房间时,向主控音箱发送指令,告知主控音箱可以继续向该子空间内的子音箱发送音频帧数据。在这种情况下,当主控音箱接收到来自子音箱的发送指令时,则可以确定出该子空间中设定子音箱确定的用户检测结果是有用户存在。主控音箱将检测结果为存在有用户的目标子音箱所属的子空间,确定为目标子空间。
在本公开实施例中,子空间内的子音箱也可以检测出当前子空间内没有用户存在。
在本公开中,向主控音箱发送非目标子空间信息,非目标子空间为检测结果为不存在用户的各设定子音箱所属的子空间。控制主控音箱停止向非目标子空间发送音频数据。
在本公开实施例中,当子空间内的子音箱回采得到的超声波的dCIR值趋近于0,则确定当前该子空间内不存在用户。当确定该子空间内不存在用户时,子音箱会向主控音箱发送指令,告知自己所属空间内不存在用户。
在本公开实施例中,当主控音箱接收到来自子音箱发送的非目标子空间信息,确定该子音箱所处的空间内没有用户存在。为了避免资源的浪费,主控音箱停止向非目标子空间发送音频数据。
在本公开中,进行人体活动探测,并基于人体活动探测结果确定用户检测结果。向主控音箱发送用户检测结果。通过本公开,对用户不存在的子空间内的子音箱及时停止发送音频数据,动态的释放信道资源,保证了系统的稳定性,提供了更加优质的听觉体验。
图7是根据一示例性实施例示出的一种获取主控音箱发送的音频数据的流程图,如图7所示,获取主控音箱发送的音频数据,包括以下步骤。
在步骤S71中,获取主控音箱基于所述空间标识发送的音频数据。
在步骤S72中,基于不同的空间标识进行音频播放。
在本公开中,响应于空间标识为第一目标空间标识,获取主控音箱发送的第一控制播放指令,第一目标空间标识所标识的第一目标子空间为用户活动前所在的子空间,第一控制播放指令用于控制子音箱播放声音由大变小。基于第一控制播放指令,按照播放声音由大变小的方式基于音频数据进行音频播放。
在本公开实施例中,当用户离开客厅(即第一目标子空间)时,此时客厅内的子音箱探测不到用户人体活动,子音箱将确认用户不存在指令发送给主控音箱。主控音箱接收到该指令后,向客厅内的子音箱发送音量减弱控制指令(即第一控制播放指令),控制子音箱播放声音由大变小直至没有。
在本公开中,响应于空间标识为第二目标空间标识,获取主控音箱发送的第二控制播放指令,第二目标空间标识所标识的第二目标子空间为用户活动后所在的子空间,第二控制播放指令用于控制子音箱播放声音由小变大。基于第二控制播放指令,按照播放声音由小变大的方式基于音频数据进行音频播放。
在本公开实施例中,当用户走入卧室(即第二目标子空间)时,此时卧室内的子音箱探测到了用户人体活动,子音箱将确认用户存在指令发送给主控音箱。主控音箱接收到该指令后,向卧室内的子音箱发送音量增强控制指令(即第二控制播放指令),控制子音箱播放声音由小变大。
在本公开中,获取主控音箱基于所述空间标识发送的音频数据。基于不同的空间标识进行音频播放。通过本公开,主控音箱还可以根据子空间内的子音箱的检测结果,控制子音箱播放音频音量的变化,使得子音箱在音量上可以实现渐变的效果,为用户带来良好的听觉体验。
图8是根据一示例性实施例示出的一种基于音频数据进行音频播放的流程图,如图8所示,基于音频数据进行音频播放,包括以下步骤。
在步骤S81中,校对子音箱和主控音箱之间的系统时钟。
在本公开实施例中,图9示出了一种校对主控音箱与子音箱之间的系统时钟的示意图。如图9所示,在主控音箱和子音箱发送音频数据的同时,主控音箱和子音箱还要进行时钟信息的交互。子音箱需要计算出自己与主控音箱之间的系统时钟差异,并将自己调整为与主控音箱一致的系统时钟。子音箱按照自己的时钟,在TB0时刻把时间信息通过WiFi发送给主控音箱,主控音箱根据自己的时钟,在TA0时刻接收到了子音箱的时间信息,然后主控音箱在TA1时刻把时间信息通过WiFi发送给子音箱,子音箱在TB1时刻收到主控音箱的时间信息。子音箱利用TB0、TA0、TA1、TB1这4个时间信息,则能计算出自己与主控音箱之间的系统时钟差异:T A0-T B0=Δ+τ 0、T B1-T A1=-Δ+τ 1其中Δ表示子音箱与主控音箱之间的系统时钟误差,τ 0和τ 1为主控音箱和子音箱之间的WiFi传输延迟。则系统时钟误差可以计算得到:
Figure PCTCN2022099595-appb-000004
子音箱将自己的系统时钟补偿上时钟差异Δ,则校准为与主控音箱一致的系统时钟。在所有音箱都与主控音箱时钟对齐的基础上,对于T0时刻的音频帧,都在T0+1s时刻播放出来,则实现所有音箱的同步播放。
在步骤S82中,基于校对后的系统时钟和音频数据,与主控音箱进行音频同步播放。
在本公开中,校对子音箱和主控音箱之间的系统时钟。基于校对后的系统时钟和音频 数据,与主控音箱进行音频同步播放。通过本公开,基于子音箱和主控音箱之间的系统时钟准则,实现各音箱同步音频播放,为用户带来良好的听觉体验。
图10示出了一种音响播放控制的示意图。如图10所示,首先对每个音箱所处的空间做一个划分,子空间的划分可以通过用户配置和自动感知两种形式来实现。其中,用户配合是指在用户每次给音箱配置网络时,选择该音箱所处的子空间,比如给音箱A和音箱B选择客厅,音箱C和音箱D选择主卧室,那么音箱A和音箱B互相知道它们在一个子空间内,音箱C和音箱D互相知道彼此在一个子空间内。自动感知则是不需要用户选择,音箱之间通过超声波通信来互相感知,如音箱A发送超声波信息只有音箱B能收到,而由于墙体阻隔音箱C和音箱D收不到,则音箱B知道音箱A和自己处于同一子空间。各个音箱依次感知,则最终能划分出全部音箱所处的子空间。将音箱A作为主控音箱,则所有设备所在空间的信息最后都汇总到A音箱,并把各个子空间内设备的IP地址或者其他识别ID存储在列表里。在此情况下,各个音箱之间建立了关联性的联系。在子空间1中,音箱M通过超声技术对用户进行检测,若音箱M检测到用户在子空间1内,则向主控音箱发送指令,告知子空间1内存在用户。在主控音箱收到来自音箱M的指令时,继续向子空间1内的音箱M、音箱N发送音频数据。若音箱M未检测到用户在子空间1内,则向主控音箱发送指令,告知子空间1内不存在用户。在主控音箱收到来自音箱M的指令时,停止向子空间1内的音箱M、音箱N发送音频数据,并关闭主控音箱与音箱M、影响N之间的信道。通过本公开,在没有用户存在的房间里停止该房间内音箱的播放功能,其一,节省了不必要的电能浪费;其二,节省了网络资源的占用,减少了网络负载,帮助提升了系统的稳定性。
本公开实施例提供一种音箱播放控制方法,应用于各个划分子空间内的子音箱,子音箱与主控音箱进行通信。当子音箱通过超声波技术检测到空间内存在用户时,向主控音箱发送有用户存在的指令;当子音箱通过超声波技术检测到空间内不存在用户时,向主控音箱发送没有用户存在的指令。在告知主控音箱空间内存在用户的情况下,接收来自主控音箱的音频数据和播放控制指令,对该数据进行解码并进行播放。
基于相同的构思,本公开实施例还提供一种音箱播放控制装置。
可以理解的是,本公开实施例提供的音箱播放控制装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。结合本公开实施例中所公开的各示例的单元及算法步骤,本公开实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约 束条件。本领域技术人员可以对每个特定的应用来使用不同的方法来实现所描述的功能,但是这种实现不应认为超出本公开实施例的技术方案的范围。
图11是根据一示例性实施例示出的一种音箱播放控制装置框图。参照图11,该装置100可以被提供为上述实施例涉及的主控音箱,包括确定单元101和播放单元102。
确定单元101,用于响应于启用音频播放功能,从服务端获取音频数据,并在多个子音箱所属的子空间中确定目标子空间,目标子空间为用户当前所在的子空间;播放单元102,用于将音频数据发送至目标子空间内的子音箱,控制目标子空间内的子音箱基于音频数据进行音频播放。
一种实施方式中,确定单元101采用如下方式在多个子音箱所属的子空间中确定目标子空间:确定用户检测结果,用户检测结果由子空间中设定子音箱基于用户人体活动探测确定,且用户检测结果包括存在用户或不存在用户;将检测结果为存在有用户的目标子音箱所属的子空间,确定为目标子空间。
一种实施方式中,多个子音箱对应有空间标识,空间标识用于标识子音箱所属的子空间;播放单元102采用下述方式将音频数据发送至目标子空间内的子音箱,控制目标子空间内的子音箱基于音频数据进行音频播放:确定目标子空间对应的目标空间标识;将音频数据发送至目标空间标识所标识的目标子空间内的子音箱,并基于目标空间标识控制目标子空间内的子音箱基于音频数据进行音频播放。
一种实施方式中,目标空间标识包括第一目标空间标识和第二目标空间标识,第一目标空间标识所标识的第一目标子空间为用户活动前所在的子空间,第二目标空间标识所标识的第二目标子空间为用户活动后所在的子空间;播放单元102基于目标空间标识控制目标子空间内的子音箱基于音频数据进行音频播放:向第一目标子空间中的子音箱发送第一控制播放指令,基于第一控制播放指令控制第一目标子空间内的子音箱基于第一控制播放指令和音频数据进行音频播放,第一控制播放指令用于控制子音箱播放声音由大变小;向第二目标子空间中的子音箱发送第二控制播放指令,基于第二控制播放指令控制第二目标子空间内的子音箱基于第二控制播放指令和音频数据进行音频播放,第二控制播放指令用于控制子音箱播放声音由小变大。
一种实施方式中,播放单元102还应用于:确定非目标子空间,非目标子空间为不存在用户的各设定子音箱所属的子空间;停止向非目标子空间发送音频数据。
图12是根据一示例性实施例示出的一种音箱播放控制装置框图。参照图12,该装置200可以被提供为上述实施例涉及的子音箱,包括获取单元201和播放单元202。
获取单元201,用于获取主控音箱发送的音频数据;播放单元202,用于基于音频数 据进行音频播放。
一种实施方式中,子音箱为设定子音箱,设定子音箱用于检测目标子音箱所属的子空间内是否存在用户,播放单元202还应用于:进行人体活动探测,并基于人体活动探测结果确定用户检测结果,用户检测结果包括存在用户或不存在用户;向主控音箱发送用户检测结果。
一种实施方式中,子音箱对应有空间标识,空间标识用于标识子音箱所属的子空间;获取单元201采用如下方式获取主控音箱发送的音频数据:获取主控音箱基于空间标识发送的音频数据。
一种实施方式中,播放单元202采用如下方式基于音频数据进行音频播放:响应于空间标识为第一目标空间标识,获取主控音箱发送的第一控制播放指令,第一目标空间标识所标识的第一目标子空间为用户活动前所在的子空间,第一控制播放指令用于控制子音箱播放声音由大变小;基于第一控制播放指令,按照播放声音由大变小的方式基于音频数据进行音频播放。
一种实施方式中,播放单元202采用如下方式基于音频数据进行音频播放:响应于空间标识为第二目标空间标识,获取主控音箱发送的第二控制播放指令,第二目标空间标识所标识的第二目标子空间为用户活动后所在的子空间,第二控制播放指令用于控制子音箱播放声音由小变大;基于第二控制播放指令,按照播放声音由小变大的方式基于音频数据进行音频播放。
一种实施方式中,播放单元202采用如下方式基于音频数据进行音频播放:校对子音箱和主控音箱之间的系统时钟;基于校对后的系统时钟和音频数据,与主控音箱进行音频同步播放。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图13是根据一示例性实施例示出的一种用于音箱播放控制的装置的框图。例如,装置300可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图13,装置300可以包括以下一个或多个组件:处理组件302,存储器304,电力组件306,多媒体组件308,音频组件310,输入/输出(I/O)接口312,传感器组件314,以及通信组件316。
处理组件302通常控制装置300的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件302可以包括一个或多个处理器320来执行指 令,以完成上述的方法的全部或部分步骤。此外,处理组件302可以包括一个或多个模块,便于处理组件302和其他组件之间的交互。例如,处理组件302可以包括多媒体模块,以方便多媒体组件308和处理组件302之间的交互。
存储器304被配置为存储各种类型的数据以支持在装置300的操作。这些数据的示例包括用于在装置300上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电力组件306为装置300的各种组件提供电力。电力组件306可以包括电源管理系统,一个或多个电源,及其他与为装置300生成、管理和分配电力相关联的组件。
多媒体组件308包括在所述装置300和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件308包括一个前置摄像头和/或后置摄像头。当装置300处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件310被配置为输出和/或输入音频信号。例如,音频组件310包括一个麦克风(MIC),当装置300处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器304或经由通信组件316发送。在一些实施例中,音频组件310还包括一个扬声器,用于输出音频信号。
I/O接口312为处理组件302和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件314包括一个或多个传感器,用于为装置300提供各个方面的状态评估。例如,传感器组件314可以检测到装置300的打开/关闭状态,组件的相对定位,例如所述组件为装置300的显示器和小键盘,传感器组件314还可以检测装置300或装置300一个组件的位置改变,用户与装置300接触的存在或不存在,装置300方位或加速/减速和装置300的温度变化。传感器组件314可以包括接近传感器,被配置用来在没有任何的物理接 触时检测附近物体的存在。传感器组件314还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件314还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件316被配置为便于装置300和其他设备之间有线或无线方式的通信。装置300可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件316经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件316还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置300可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器304,上述指令可由装置300的处理器320执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
可以理解的是,本公开中“多个”是指两个或两个以上,其它量词与之类似。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。
进一步可以理解的是,术语“第一”、“第二”等用于描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开,并不表示特定的顺序或者重要程度。实际上,“第一”、“第二”等表述完全可以互换使用。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。
进一步可以理解的是,除非有特殊说明,“连接”包括两者之间不存在其他构件的直接连接,也包括两者之间存在其他元件的间接连接。
进一步可以理解的是,本公开实施例中尽管在附图中以特定的顺序描述操作,但是不应将其理解为要求按照所示的特定顺序或是串行顺序来执行这些操作,或是要求执行全部所示的操作以得到期望的结果。在特定环境中,多任务和并行处理可能是有利的。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实 施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利范围指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利范围来限制。

Claims (24)

  1. 一种音箱播放控制方法,其特征在于,应用于主控音箱,所述主控音箱用于控制多个子音箱,所述多个子音箱属于同一空间的不同子空间,所述方法包括:
    响应于启用音频播放功能,从服务端获取音频数据,并在多个子音箱所属的子空间中确定目标子空间,所述目标子空间为用户当前所在的子空间;
    将所述音频数据发送至所述目标子空间内的子音箱,控制所述目标子空间内的子音箱基于所述音频数据进行音频播放。
  2. 根据权利要求1所述的方法,其特征在于,所述在多个子音箱所属的子空间中确定目标子空间,包括:
    确定用户检测结果,所述用户检测结果由子空间中设定子音箱基于用户人体活动探测确定,且所述用户检测结果包括存在用户或不存在用户;
    将检测结果为存在有用户的目标子音箱所属的子空间,确定为目标子空间。
  3. 根据权利要求1或2所述的方法,其特征在于,所述多个子音箱对应有空间标识,所述空间标识用于标识所述子音箱所属的子空间;
    所述将所述音频数据发送至所述目标子空间内的子音箱,控制所述目标子空间内的子音箱基于所述音频数据进行音频播放,包括:
    确定所述目标子空间对应的目标空间标识;
    将所述音频数据发送至所述目标空间标识所标识的目标子空间内的子音箱,并基于所述目标空间标识控制所述目标子空间内的子音箱基于所述音频数据进行音频播放。
  4. 根据权利要求3所述的方法,其特征在于,所述目标空间标识包括第一目标空间标识和第二目标空间标识,所述第一目标空间标识所标识的第一目标子空间为用户活动前所在的子空间,所述第二目标空间标识所标识的第二目标子空间为用户活动后所在的子空间;
    所述基于所述目标空间标识控制所述目标子空间内的子音箱基于所述音频数据进行音频播放,包括:
    向所述第一目标子空间中的子音箱发送第一控制播放指令,基于所述第一控制播放指令控制所述第一目标子空间内的子音箱基于所述第一控制播放指令和所述音频数据进行音频播放,所述第一控制播放指令用于控制子音箱播放声音由大变小;
    向所述第二目标子空间中的子音箱发送第二控制播放指令,基于所述第二控制播放指令控制所述第二目标子空间内的子音箱基于所述第二控制播放指令和所述音频数据进行 音频播放,所述第二控制播放指令用于控制子音箱播放声音由小变大。
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    确定非目标子空间,所述非目标子空间为不存在用户的各设定子音箱所属的子空间;
    停止向所述非目标子空间发送音频数据。
  6. 一种音箱播放控制方法,其特征在于,应用于子音箱,所述子音箱所属的子空间为目标子空间,所述目标子空间为用户当前所在的子空间,所述方法包括:
    获取主控音箱发送的音频数据;
    基于所述音频数据进行音频播放。
  7. 根据权利要求6所述的方法,其特征在于,所述子音箱为设定子音箱,所述设定子音箱用于检测所述目标子音箱所属的子空间内是否存在用户,所述方法还包括:
    进行人体活动探测,并基于人体活动探测结果确定用户检测结果,所述用户检测结果包括存在用户或不存在用户;
    向所述主控音箱发送所述用户检测结果。
  8. 根据权利要求7所述的方法,其特征在于,所述子音箱对应有空间标识,所述空间标识用于标识所述子音箱所属的子空间;
    所述获取主控音箱发送的音频数据,包括:
    获取所述主控音箱基于所述空间标识发送的音频数据。
  9. 根据权利要求8所述的方法,其特征在于,所述基于所述音频数据进行音频播放,包括:
    响应于所述空间标识为第一目标空间标识,获取主控音箱发送的第一控制播放指令,所述第一目标空间标识所标识的第一目标子空间为用户活动前所在的子空间,所述第一控制播放指令用于控制子音箱播放声音由大变小;
    基于所述第一控制播放指令,按照播放声音由大变小的方式基于所述音频数据进行音频播放。
  10. 根据权利要求8所述的方法,其特征在于,所述基于所述音频数据进行音频播放,包括:
    响应于所述空间标识为第二目标空间标识,获取主控音箱发送的第二控制播放指令,所述第二目标空间标识所标识的第二目标子空间为用户活动后所在的子空间,所述第二控制播放指令用于控制子音箱播放声音由小变大;
    基于所述第二控制播放指令,按照播放声音由小变大的方式基于所述音频数据进行音频播放。
  11. 根据权利要求6所述的方法,其特征在于,所述基于所述音频数据进行音频播放,包括:
    校对所述子音箱和所述主控音箱之间的系统时钟;
    基于校对后的系统时钟和所述音频数据,与所述主控音箱进行音频同步播放。
  12. 一种音箱播放控制装置,其特征在于,包括:
    确定单元,用于响应于启用音频播放功能,从服务端获取音频数据,并在多个子音箱所属的子空间中确定目标子空间,所述目标子空间为用户当前所在的子空间;
    播放单元,用于将所述音频数据发送至所述目标子空间内的子音箱,控制所述目标子空间内的子音箱基于所述音频数据进行音频播放。
  13. 根据权利要求12所述的装置,其特征在于,所述确定单元采用如下方式在多个子音箱所属的子空间中确定目标子空间:
    确定用户检测结果,所述用户检测结果由子空间中设定子音箱基于用户人体活动探测确定,且所述用户检测结果包括存在用户或不存在用户;
    将检测结果为存在有用户的目标子音箱所属的子空间,确定为目标子空间。
  14. 根据权利要求12或13所述的装置,其特征在于,所述多个子音箱对应有空间标识,所述空间标识用于标识所述子音箱所属的子空间;
    所述播放单元采用下述方式将所述音频数据发送至所述目标子空间内的子音箱,控制所述目标子空间内的子音箱基于所述音频数据进行音频播放:
    确定所述目标子空间对应的目标空间标识;
    将所述音频数据发送至所述目标空间标识所标识的目标子空间内的子音箱,并基于所述目标空间标识控制所述目标子空间内的子音箱基于所述音频数据进行音频播放。
  15. 根据权利要求14所述的装置,其特征在于,所述目标空间标识包括第一目标空间标识和第二目标空间标识,所述第一目标空间标识所标识的第一目标子空间为用户活动前所在的子空间,所述第二目标空间标识所标识的第二目标子空间为用户活动后所在的子空间;
    所述播放单元基于所述目标空间标识控制所述目标子空间内的子音箱基于所述音频数据进行音频播放:
    向所述第一目标子空间中的子音箱发送第一控制播放指令,基于所述第一控制播放指令控制所述第一目标子空间内的子音箱基于所述第一控制播放指令和所述音频数据进行音频播放,所述第一控制播放指令用于控制子音箱播放声音由大变小;
    向所述第二目标子空间中的子音箱发送第二控制播放指令,基于所述第二控制播放指 令控制所述第二目标子空间内的子音箱基于所述第二控制播放指令和所述音频数据进行音频播放,所述第二控制播放指令用于控制子音箱播放声音由小变大。
  16. 根据权利要求12所述的装置,其特征在于,所述播放单元还应用于:
    确定非目标子空间,所述非目标子空间为不存在用户的各设定子音箱所属的子空间;
    停止向所述非目标子空间发送音频数据。
  17. 一种音箱播放控制装置,其特征在于,包括:
    获取单元,用于获取主控音箱发送的音频数据;
    播放单元,用于基于所述音频数据进行音频播放。
  18. 根据权利要求17所述的装置,其特征在于,子音箱为设定子音箱,所述设定子音箱用于检测目标子音箱所属的子空间内是否存在用户,所述播放单元还应用于:
    进行人体活动探测,并基于人体活动探测结果确定用户检测结果,所述用户检测结果包括存在用户或不存在用户;
    向所述主控音箱发送所述用户检测结果。
  19. 根据权利要求18所述的装置,其特征在于,所述子音箱对应有空间标识,所述空间标识用于标识所述子音箱所属的子空间;
    所述获取单元采用如下方式获取主控音箱发送的音频数据:
    获取所述主控音箱基于所述空间标识发送的音频数据。
  20. 根据权利要求19所述的装置,其特征在于,所述播放单元采用如下方式基于所述音频数据进行音频播放:
    响应于所述空间标识为第一目标空间标识,获取主控音箱发送的第一控制播放指令,所述第一目标空间标识所标识的第一目标子空间为用户活动前所在的子空间,所述第一控制播放指令用于控制子音箱播放声音由大变小;
    基于所述第一控制播放指令,按照播放声音由大变小的方式基于所述音频数据进行音频播放。
  21. 根据权利要求19所述的装置,其特征在于,所述播放单元采用如下方式基于所述音频数据进行音频播放:
    响应于所述空间标识为第二目标空间标识,获取主控音箱发送的第二控制播放指令,所述第二目标空间标识所标识的第二目标子空间为用户活动后所在的子空间,所述第二控制播放指令用于控制子音箱播放声音由小变大;
    基于所述第二控制播放指令,按照播放声音由小变大的方式基于所述音频数据进行音频播放。
  22. 根据权利要求17所述的装置,其特征在于,所述播放单元采用如下方式基于所述音频数据进行音频播放:
    校对子音箱和所述主控音箱之间的系统时钟;
    基于校对后的系统时钟和所述音频数据,与所述主控音箱进行音频同步播放。
  23. 一种音响播放控制装置,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:执行权利要求1至5中任意一项所述的方法,或者执行权利要求6至11中任意一项所述的方法。
  24. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有指令,当所述存储介质中的指令由处理器执行时,使得处理器能够执行权利要求1至5中任意一项所述的方法,或者执行权利要求6至11中任意一项所述的方法。
PCT/CN2022/099595 2022-06-17 2022-06-17 一种音箱播放控制方法、音箱播放控制装置及存储介质 WO2023240636A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202280004604.6A CN117597730A (zh) 2022-06-17 2022-06-17 一种音箱播放控制方法、音箱播放控制装置及存储介质
PCT/CN2022/099595 WO2023240636A1 (zh) 2022-06-17 2022-06-17 一种音箱播放控制方法、音箱播放控制装置及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/099595 WO2023240636A1 (zh) 2022-06-17 2022-06-17 一种音箱播放控制方法、音箱播放控制装置及存储介质

Publications (1)

Publication Number Publication Date
WO2023240636A1 true WO2023240636A1 (zh) 2023-12-21

Family

ID=89192965

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/099595 WO2023240636A1 (zh) 2022-06-17 2022-06-17 一种音箱播放控制方法、音箱播放控制装置及存储介质

Country Status (2)

Country Link
CN (1) CN117597730A (zh)
WO (1) WO2023240636A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111757218A (zh) * 2019-03-29 2020-10-09 深圳市冠旭电子股份有限公司 一种音频文件播放方法、分布式音响系统及主音箱
CN112035086A (zh) * 2020-08-19 2020-12-04 海尔优家智能科技(北京)有限公司 音频播放方法及装置
CN112449285A (zh) * 2020-12-15 2021-03-05 广州市登宝路电器有限公司 一种多个音箱同步播放的方法和系统
CN113506568A (zh) * 2020-04-28 2021-10-15 海信集团有限公司 中控及智能设备控制方法
US20210328824A1 (en) * 2018-08-31 2021-10-21 Elliptic Laboratories As Voice assistant
CN114299951A (zh) * 2021-12-31 2022-04-08 联想(北京)有限公司 一种控制方法及装置
CN114446290A (zh) * 2020-11-02 2022-05-06 青岛海尔智能技术研发有限公司 设备响应方法、装置、计算机设备和存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210328824A1 (en) * 2018-08-31 2021-10-21 Elliptic Laboratories As Voice assistant
CN111757218A (zh) * 2019-03-29 2020-10-09 深圳市冠旭电子股份有限公司 一种音频文件播放方法、分布式音响系统及主音箱
CN113506568A (zh) * 2020-04-28 2021-10-15 海信集团有限公司 中控及智能设备控制方法
CN112035086A (zh) * 2020-08-19 2020-12-04 海尔优家智能科技(北京)有限公司 音频播放方法及装置
CN114446290A (zh) * 2020-11-02 2022-05-06 青岛海尔智能技术研发有限公司 设备响应方法、装置、计算机设备和存储介质
CN112449285A (zh) * 2020-12-15 2021-03-05 广州市登宝路电器有限公司 一种多个音箱同步播放的方法和系统
CN114299951A (zh) * 2021-12-31 2022-04-08 联想(北京)有限公司 一种控制方法及装置

Also Published As

Publication number Publication date
CN117597730A (zh) 2024-02-23

Similar Documents

Publication Publication Date Title
WO2017071070A1 (zh) 智能设备的语音控制方法、装置、控制设备及智能设备
US11425769B2 (en) Wireless communication method, terminal, audio component, device, and storage medium
US20210243694A1 (en) Channel monitoring method and device
WO2017156954A1 (zh) 视频直播的方法及装置
CN106454644B (zh) 音频播放方法及装置
JP6314286B2 (ja) 音声信号の最適化方法及びその装置、プログラム、及び記録媒体
WO2019183854A1 (zh) 寻呼同步指示方法及装置、寻呼同步方法及装置和基站
WO2017071077A1 (zh) 界面显示方法及装置
CN107749925B (zh) 音频播放方法及装置
WO2018126632A1 (zh) 一种扬声器控制方法及移动终端
CN106355852B (zh) 设备控制方法及装置
WO2017071073A1 (zh) 媒体同步方法和装置
WO2017020413A1 (zh) 网络接入方法、设备及系统
WO2017071069A1 (zh) 设置设备工作状态的方法、装置及系统
JP2022546165A (ja) 音声再生方法、装置および記憶媒体
CN106210294B (zh) 屏幕状态切换控制方法及装置
WO2017016109A1 (zh) 事件提醒方法及装置
WO2016155304A1 (zh) 无线访问接入点的控制方法及装置
WO2019153355A1 (zh) 随机接入时机的配置方法及装置、随机接入方法及装置
JP2017508413A (ja) 音声通話プロンプト方法、装置、プログラム及び記録媒体
WO2022257667A1 (zh) 路由器控制方法、装置和存储介质
CN113921002A (zh) 一种设备控制方法及相关装置
CN112770248B (zh) 音箱控制方法、装置及存储介质
CN111123716A (zh) 远程控制方法、远程控制装置及计算机可读存储介质
WO2019041348A1 (zh) 波束上报和调整方法及装置、用户设备、基站

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 202280004604.6

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22946317

Country of ref document: EP

Kind code of ref document: A1