Audio output system and method
An audio output system comprising: an audio output device configured to output different pieces of audio content in accordance with sound figures; a user device configured to control the audio output device through an application; and a shadow device connected to the user device and the audio output device through communication networks, respectively, and configured to store control information for the user device to control the audio output device, wherein the control information includes current state information that represents a current state related to an output of the audio content of the audio output device and specific state information for changing the state of the audio output device to a specific state desired by a user, and wherein the user device is configured to be provided with the current state information that represents the current state from the shadow device and to provide the specific state information for changing the state of the audio output device to the specific state to the shadow device.
1 . An audio output system comprising:
an audio output device configured to output different pieces of audio content in accordance with sound figures;
a user device configured to control the audio output device through an application; and
a shadow device configured to communicate with the user device and the audio output device through communication networks, respectively, and store control information for the user device to control the audio output device,
wherein the control information includes current state information that represents a current state related to an output of the audio content of the audio output device and specific state information for changing the state of the audio output device to a specific state desired by a user, and
wherein the user device is configured to be provided with the current state information that represents the current state from the shadow device and to provide the specific state information for changing the state of the audio output device to the specific state to the shadow device.
2 . The audio output system of claim 1 , wherein the audio output device is configured to provide the current state information to the shadow device through an event bus and to be provided with the specific state information from the shadow device.
3 . The audio output system of claim 2 , wherein the event bus is configured to:
determine whether the audio output device is online or offline, and
store the specific state information in a database server as storage specific state information in case that the audio output device is in an offline state and the specific state information is provided to the shadow device through the user device.
4 . The audio output system of claim 3 , wherein the audio output device is configured to be provided with the storage specific state information from the database server and to change the state of the audio output device to a state that corresponds to the storage specific state in case that the audio output device is changed to an online state.
5 . The audio output system of claim 1 , wherein the audio output device comprises a memory that stores data of the audio output device therein,
wherein in case that the audio output device is in an offline state and the state of the audio output device is changed, the changed state of the audio output device is stored in the memory as the storage current state information, and
wherein in case that the audio output device is changed to an online state, the audio output device flushes the storage current state information in the memory onto the shadow device.
6 . The audio output system of claim 1 , further comprising a backend service configured to provide the specific state information to the shadow device SD and to be provided with the current state information from the shadow device.
7 . The audio output system of claim 1 , wherein a plurality of different sound figures are provided, and
wherein in case that the sound figure is docked, the audio output device is configured to output the audio content in accordance with the current state of the audio output device, and in case that the state of the audio output device is changed based on the specific state, the audio output device is configured to change an output method in accordance with the changed state of the audio output device.
8 . A method for outputting audio content comprising the steps of:
being provided with current state information for an audio output device through an event bus;
being provided with specific state information for changing a state of the audio output device through a backend service;
providing the specific state information to the audio output device through the event bus; and
providing the current state information to a user device through the backend service,
wherein the step of being provided with the specific state information and the step of providing the current state information are performed regardless of online/offline of the audio output device.
9 . The method of claim 8 , wherein the step of being provided with the current state information comprises the steps of:
storing the current state information in a memory of the audio output device as storage current state information in case that the audio output device is in an offline state; and
being provided with the storage current state information that is stored in the memory in case that the audio output device is changed to an online state.
10 . The method of claim 8 , wherein the step of providing the specific state information comprises the steps of:
storing the specific state information in a database server through the event bus as storage specific state information in case that the audio output device is in an offline state; and
providing the storage specific state information to the audio output device through the event bus in case that the audio output device is changed to an online state.