KR20200020491A - Network speaker system and operating method therefore - Google Patents
Network speaker system and operating method therefore Download PDFInfo
- Publication number
- KR20200020491A KR20200020491A KR1020180096258A KR20180096258A KR20200020491A KR 20200020491 A KR20200020491 A KR 20200020491A KR 1020180096258 A KR1020180096258 A KR 1020180096258A KR 20180096258 A KR20180096258 A KR 20180096258A KR 20200020491 A KR20200020491 A KR 20200020491A
- Authority
- KR
- South Korea
- Prior art keywords
- time
- module
- packet
- synchronization
- network
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0016—Arrangements for synchronising receiver with transmitter correction of synchronization errors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/04—Speed or phase control by synchronisation signals
- H04L7/041—Speed or phase control by synchronisation signals using special codes as synchronising signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2420/00—Details of connection covered by H04R, not provided for in its groups
- H04R2420/07—Applications of wireless loudspeakers or wireless microphones
Abstract
Description
본 발명은 네트워크 시스템 및 그 운용 방법에 관한 것으로, 더욱 상세하게는 네트워크 패킷 지연 및 하드웨어 클럭 편차로 인해 복수의 네트워크 스피커 사이에 발생하는 사운드 비동기화를 방지할 수 있는 네트워크 스피커 시스템 및 그 운용 방법에 관한 것이다.The present invention relates to a network system and a method of operating the same. More particularly, the present invention relates to a network speaker system and a method for operating the same, which can prevent sound asynchronous between a plurality of network speakers due to network packet delay and hardware clock deviation. It is about.
최근 생활 각 분야에 유무선 네트워크의 사용이 점차 일반화 되는 추세이고, 이러한 추세에 따라 오디오 시스템을 구성하는 복수의 스피커를 네트워크로 구성한 네트워크 스피커 시스템이 활발하게 개발되고 있다.Recently, the use of wired and wireless networks is becoming more and more common in various fields of living, and according to this trend, network speaker systems in which a plurality of speakers constituting an audio system are networked are being actively developed.
네트워크 스피커 시스템은, 네트워크 스피커들이 서로 간에 동일한 시각 설정을 통해 동일한 시점에 동일한 오디오 데이터의 재생을 시작함으로써 각각이 출력하는 소리가 동일하게 된다는 동기화 개념을 기반으로 하고 있다.The network speaker system is based on the synchronization concept that the network speakers start to reproduce the same audio data at the same time point through the same time setting with each other so that the sound outputted by each is the same.
그러나 실제 네트워크 스피커 시스템이 동작하는 경우, 동일한 시점에 동일하게 소리 재생을 시작하였으나 각 네트워크 스피커 사이의 하드웨어 클럭 편차로 인해 일정 시간 경과 후 각 네트워크 스피커의 시각이 서로 차이가 나게 되며, 그로 인해 각 네트워크 스피커에서 출력되는 소리의 동기가 깨어지는 문제가 발생한다.However, when the actual network speaker system is operated, the sound playback starts the same at the same time, but the time of each network speaker is different after a certain time due to the hardware clock deviation between the network speakers. There is a problem that the synchronization of the sound output from the speaker is broken.
또한, 하드웨어 클럭의 차이로 인한 문제 이외에도 네트워크 상의 패킷 지연이 발생하는 경우에도 각 네트워크 스피커에서 출력되는 소리가 서로 차이가 남으로써 음원이 자연스럽게 재생되지 못하는 문제가 발생한다. In addition to the problem caused by the difference in the hardware clock, even if there is a packet delay on the network, the sound output from each network speaker is different from each other, there is a problem that the sound source is not naturally reproduced.
상기의 배경기술로서 설명된 사항들은 본 발명의 배경에 대한 이해 증진을 위한 것일 뿐, 이 기술분야에서 통상의 지식을 가진 자에게 이미 알려진 종래기술에 해당함을 인정하는 것으로 받아들여져서는 안 될 것이다.The matters described as the background art are only for the purpose of improving the understanding of the background of the present invention, and should not be taken as acknowledging that they correspond to the related art already known to those skilled in the art.
이에 본 발명은 복수의 네트워크 스피커 간의 시간 동기화 및 오디오 데이터 보정을 통해 복수의 네트워크 스피커 사이에 발생하는 사운드 비동기화를 방지할 수 있는 네트워크 스피커 시스템 및 그 운용 방법을 제공하는 것을 해결하고자 하는 기술적 과제로 한다.Accordingly, the present invention provides a network speaker system and a method for operating the same, which can prevent asynchronous sound generated between a plurality of network speakers through time synchronization and audio data correction between the plurality of network speakers. do.
상기 기술적 과제를 해결하기 위한 수단으로서 본 발명은,The present invention as a means for solving the above technical problem,
동기화를 위한 기준 시각을 갖는 동기화 모듈과, 상기 기준 시각에 따라 사운드 패킷을 재생하여 소리로 출력하는 제1 재생 모듈을 포함하는 마스터 스피커; 및A master speaker including a synchronization module having a reference time for synchronization and a first playback module for reproducing and outputting sound packets according to the reference time; And
상기 마스터 스피커와 로컬 네트워크를 구성하며, 상기 기준 시각에 동기화된 시스템 시각에 따라 사운드 패킷을 재생하여 소리로 출력하는 제2 재생 모듈을 포함하는 슬레이브 스피커A slave speaker comprising a second reproducing module constituting a local network with the master speaker and reproducing a sound packet as a sound according to a system time synchronized to the reference time;
를 포함하는 네트워크 스피커 시스템을 제공한다.It provides a network speaker system comprising a.
본 발명의 일 실시형태에서, 상기 제2 재생 모듈은 타임패킷을 작성하고 상기 시스템 시각에 기반하여 타임패킷을 전송하는 제1 시각을 상기 타임 패킷에 기록하여 상기 동기화 모듈로 전송하며, 상기 타임패킷을 수신한 상기 동기화 모듈은 상기 기준 시각에 기반하여 상기 타임패킷을 수신한 제2 시각을 상기 타임패킷에 기록하여 상기 제2 재생 모듈로 전송하며, 상기 제2 재생 모듈은 상기 제1 시각, 상기 제2 시각 및 상기 동기화 모듈로부터 상기 타임패킷을 수신한 제3 시각에 기반하여 상기 기준 시각을 계산하고 상기 시스템 시각을 계산된 기준 시각으로 업데이트할 수 있다.In one embodiment of the present invention, the second reproducing module writes a first time for creating a time packet and transmits a time packet based on the system time to the synchronization module and transmits the first time to the synchronization module. The synchronization module receives the second time when the time packet is received based on the reference time, records the time packet in the time packet, and transmits the same to the second playback module. The reference time may be calculated based on a second time and a third time of receiving the time packet from the synchronization module, and the system time may be updated with the calculated reference time.
본 발명의 일 실시형태에서, 상기 제2 재생 모듈은 하기 식In one embodiment of the present invention, the second regeneration module has the following formula
에 의해 상기 기준 시각을 계산할 수 있다.The reference time can be calculated by.
본 발명의 일 실시형태에서, 상기 업데이트 하는 단계는 상기 제3 시각과 상기 제1 시각의 차이가 사전 설정된 레벨 이상인 경우 상기 제2 재생 모듈이 상기 시스템 시각을 상기 기준 시각으로 업데이트 할 수 있다.In an embodiment of the present disclosure, the updating may include the second playback module updating the system time to the reference time when the difference between the third time and the first time is equal to or greater than a preset level.
본 발명의 일 실시형태에서, 상기 제2 재생 모듈은 상기 시스템 시각을 업데이트하기 이전에 상기 시스템 시각과 계산된 기준 시각 사이의 시간오차에 기반하여 재생하는 사운드 데이터의 재생 위치를 수정할 수 있다.In one embodiment of the present invention, the second playback module may modify the playback position of the sound data to be played back based on the time error between the system time and the calculated reference time before updating the system time.
상기 기술적 과제를 해결하기 위한 다른 수단으로서 본 발명은,As another means for solving the above technical problem, the present invention,
전술한 네트워크 스피커 시스템을 운용하는 방법으로서,As a method of operating the network speaker system described above,
상기 동기화 모듈이 동기화 실행 요청을 브로드 캐스팅하는 단계;The synchronization module broadcasting a synchronization execution request;
상기 동기화 실행 요청을 수신한 상기 제2 재생 모듈이 타임패킷을 작성하고 상기 타임패킷을 전송하는 제1 시각을 상기 타임패킷에 기록하여 상기 동기화 모듈로 전송하는 단계;Receiving, by the second playback module, receiving the synchronization execution request, creating a time packet and recording a first time for transmitting the time packet to the time packet and transmitting the time packet to the synchronization module;
상기 동기화 모듈이 상기 타임패킷을 수신한 제2 시각을 상기 타임패킷에 기록하여 상기 제2 재생 모듈로 전송하는 단계; 및Recording, by the synchronization module, a second time when the time packet is received in the time packet and transmitting to the second playback module; And
상기 제2 재생 모듈이 상기 타임 패킷을 수신한 제3 시각과, 상기 제1 시각 및 상기 제2 시각을 기반으로 상기 기준 시각을 계산하는 단계; 및Calculating, by the second reproducing module, the reference time based on the third time when the time packet is received and the first time and the second time; And
상기 제2 재생 모듈이 상기 시스템 시각을 상기 기준 시각으로 업데이트 하는 단계Updating, by the second playback module, the system time to the reference time
를 포함하는 네트워크 스피커 시스템의 운용 방법을 제공한다.It provides a method of operating a network speaker system comprising a.
본 발명의 일 실시형태에서, 상기 동기화 실행 요청을 브로드 캐스팅하는 단계는, 스피커 네트워크가 최초로 구성되는 경우, 상기 동기화 모듈에 설정된 기준 시각이 변경되는 경우, 스피커 네트워크가 끊어진 후 다시 연결되는 경우 및 상기 업데이트 하는 단계 수행 후 사전 설정된 시간 간격이 경과한 경우 중 적어도 1 경우에 수행될 수 있다.In one embodiment of the present invention, the broadcasting of the synchronization execution request may include: when the speaker network is initially configured, when a reference time set in the synchronization module is changed, when the speaker network is disconnected and then connected again. It may be performed in at least one of the cases in which the preset time interval elapses after the updating step.
본 발명의 일 실시형태에서, 상기 계산하는 단계에서, 상기 제2 재생 모듈은 하기 식In one embodiment of the invention, in the calculating step, the second playback module is
에 의해 상기 기준 시각을 계산할 수 있다.The reference time can be calculated by.
본 발명의 일 실시형태에서, 상기 업데이트 하는 단계는 상기 제3 시각과 상기 제1 시각의 차이가 사전 설정된 레벨 이상인 경우 상기 제2 재생 모듈이 상기 시스템 시각을 상기 기준 시각으로 업데이트 할 수 있다.In an embodiment of the present disclosure, the updating may include the second playback module updating the system time to the reference time when the difference between the third time and the first time is equal to or greater than a preset level.
본 발명의 일 실시형태에서, 상기 업데이트 하는 단계는, 상기 제2 재생 모듈이 상기 시스템 시각을 계산된 기준 시각으로 업데이트하기 이전에 상기 시스템 시각과 계산된 기준 시각 사이의 시간오차에 기반하여 재생하는 사운드 데이터의 재생 위치를 수정하는 단계를 포함할 수 있다.In one embodiment of the present invention, the updating may include: reproducing the second playback module based on a time error between the system time and the calculated reference time before updating the system time to the calculated reference time. The method may include modifying a play position of sound data.
상기 네트워크 스피커 시스템 및 그 운용 방법에 따르면, 마스터 스피커와 슬레이브 스피커로 구성되는 네트워크 스피커 시스템에서 마스터 스피커의 사이의 타임 패킷을 송수신을 통해 시각 동기화 및 소리 동기화를 수행함으로써, 하드웨어 클럭의 오차 및 패킷 지연에 의해 네트워크 스피커 간 동기가 깨어지는 것을 방지하고 자연스러운 음원 재생을 가능하게 하는 우수한 효과가 있다.According to the network speaker system and its operation method, in the network speaker system consisting of a master speaker and a slave speaker, time synchronization and sound synchronization are performed by transmitting and receiving time packets between the master speakers, thereby causing an error and a packet delay of a hardware clock. Thereby, there is an excellent effect of preventing the synchronization between the network speakers to be broken and enabling natural sound source reproduction.
도 1은 본 발명의 일 실시형태에 따른 네트워크 스피커 시스템을 도시한 블록 구성도이다.
도 2는 본 발명의 일 실시형태에 따른 네트워크 스피커 시스템의 운용 방법을 도시한 흐름도이다.1 is a block diagram showing a network speaker system according to an embodiment of the present invention.
2 is a flowchart illustrating a method of operating a network speaker system according to an embodiment of the present invention.
이하, 첨부의 도면을 참조하여 본 발명의 다양한 실시형태에 따른 네트워크 스피커 시스템 및 그 운용 방법을 더욱 상세하게 설명한다.Hereinafter, a network speaker system and a method of operating the same according to various embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 일 실시형태에 따른 네트워크 스피커 시스템을 도시한 블록 구성도이다.1 is a block diagram showing a network speaker system according to an embodiment of the present invention.
도 1을 참조하면, 본 발명의 일 실시형태에 따른 네트워크 스피커 시스템은 로컬 인터넷 프로토콜(Internet Protocol: IP) 네트워크를 구성하는 복수의 네트워크 스피커(10, 20a, 20b)를 포함하여 구성될 수 있다. 각각의 네트워크 스피커(10, 20a, 20b)는 각자의 IP 주소를 가질 수 있으며, 네트워크 스피커(10, 20a, 20b) 중 네트워크 스피커들의 IP 주소 리스트(17)를 갖는 네트워크 스피커(10)가 사운드 데이터를 전송하는 마스터 스피커가 되고 나머지 네트워크 스피커(20a, 20b)가 마스터 스피커로부터 사운드 데이터를 전송 받는 슬레이브 스피커가 될 수 있다.Referring to FIG. 1, a network speaker system according to an embodiment of the present invention may include a plurality of
마스터 스피커(10)는 동기화를 위한 기준 시각을 갖고 슬레이브 스피커(20a, 20b)와 통신하여 동기화를 수행하는 동기화 모듈(11)과 사운드 데이터를 각 네트워크 스피커(10, 20a, 20b)의 재생 모듈(15, 25a, 25b)로 전송하는 데이터 전송 모듈(13)과 기준 시각에 따라 사운드 데이터를 재생하여 소리로 출력하는 재생 모듈(15)을 포함할 수 있다.The
슬레이브 스피커(20a, 20b)는 시스템 시각에 따라 마스터 스피커(10)의 데이터 전송 모듈(13)에서 전송 받은 사운드 데이터를 재생하여 소리로 출력하는 재생 모듈(25a, 25b)을 포함할 수 있다. 여기서, 슬레이브 스피커(20a, 20b)의 재생 모듈(25a, 25b)은 마스터 스피커(10)의 동기화 모듈(11)과 통신하여 시스템 시각을 기준 시각에 동기화 시킬 수 있으며, 시스템 시각과 기준 시각 사이의 시간 오차에 따라 재생되는 사운드 데이터를 조정하여 소리 동기화를 수행할 수 있다.The
도 1에서는 설명의 편의를 위해 마스터 스피커(10)가 동기화 모듈(11)과 데이터 모듈(13) 및 재생 모듈(15)을 포함하는 것으로 도시되고 슬레이브 스피커(20a, 20b)는 재생 모듈(25a, 25b)만 포함하는 것으로 도시되고 있으나, 모든 네트워크 스피커(10, 20a, 20b)는 동기화 모듈(11)과 데이터 모듈(13) 및 재생 모듈(15)을 포함할 수 있다. 다만, 네트워크 스피커(10, 20a, 20b)가 함께 동기화 되어 재생되는 멀티 모드에서 IP 주소 리스트(17)를 갖는 하나의 스피커가 마스터 스피커가 되어 동기화 모듈(11)과 데이터 모듈(13) 및 재생 모듈(15)이 모두 활성화 되고, 나머지 슬레이브 스피커는 자신이 갖는 동기화 모듈과 데이터 모듈이 비활성화 됨으로써 도 1과 같은 구성이 구현될 수 있다.In FIG. 1, the
본 발명의 여러 실시형태는, 마스터 스피커(10)의 동기화 모듈(11)이 갖는 기준 시각에 슬레이브 스피커(20a, 20b)의 시스템 시각을 동기화 시키는 시각 동기화와, 기준 시각과 시스템 시각의 오차에 따른 사운드 데이터의 재생 시 출력되는 소리의 차이를 제거하는 소리 동기화를 수행하게 된다. According to various embodiments of the present invention, time synchronization for synchronizing the system time of the
도 1에 도시된 본 발명의 일 실시형태에 따른 네트워크 스피커 시스템의 각 구성 요소들의 동작 및 작용 효과는 후술하는 본 발명의 일 실시형태에 따른 네트워크 스피커 시스템의 운용 방법에 대한 설명을 통해 더욱 명확하게 이해될 수 있을 것이다.The operation and effect of each component of the network speaker system according to an embodiment of the present invention shown in FIG. 1 will be more clearly explained through an operation method of the network speaker system according to an embodiment of the present invention described below. It can be understood.
도 2는 본 발명의 일 실시형태에 따른 네트워크 스피커 시스템의 운용 방법을 도시한 흐름도이다. 특히, 도 2에 도시된 본 발명의 일 실시형태에 따른 네트워크 스피커 시스템의 운용 방법은 복수의 네트워크 스피커 사이의 시각 및 소리의 동기화를 수행하기 위한 것이다.2 is a flowchart illustrating a method of operating a network speaker system according to an embodiment of the present invention. In particular, a method of operating a network speaker system according to an embodiment of the present invention shown in FIG. 2 is to perform synchronization of time and sound between a plurality of network speakers.
도 2를 참조하면, 본 발명의 일 실시형태에 따른 네트워크 스피커 시스템의 운용 방법은, 먼저 마스터 스피커(10)의 동기화 모듈(11)에서 각 슬레이브 스피커(20a, 20b) 내의 재생 모듈(25a, 25b)로 동기화 실행을 요청하는 단계(S11)로부터 시작될 수 있다.Referring to FIG. 2, a method of operating a network speaker system according to an exemplary embodiment of the present invention includes first reproducing
이 동기화 실행 요청 단계(S11)는 마스터 스피커(10)의 동기화 모듈(11)이 스피커 네트워크에 포함된 각 슬레이브 스피커(20a, 20b)의 IP 주소 리스트(17)를 참조하여 리스트(17)에 포함된 IP 주소를 갖는 슬레이브 스피커(20a, 20b)로 동기화 실행 요청을 브로드 캐스팅함으로써 구현될 수 있다.This synchronization execution request step S11 is included in the
마스터 스피커(10)의 동기화 모듈(11)은, 최초 스피커 네트워크가 구성되는 시점, 동기화 모듈(11)에 설정된 시각이 변경되는 시점, 스피커 네트워크가 끊어진 후 다시 연결되는 시점 및 사전 설정된 시간 간격에 해당하는 시점에 동기화 실행 요청 단계(S11)를 실행하여 도 2에 도시된 것과 같은 동기화 과정이 수행되게 할 수 있다.The
특히, 사전 설정된 시간 간격 마다 동기화를 수행하는 것은 네트워크 스피커(10, 20a, 20b) 사이의 하드웨어 클럭 편차로 인해 일정 시간이 경과한 후 동기가 어긋나는 것을 보정할 수 있게 한다.In particular, performing synchronization at preset time intervals enables correction of deviations in synchronization after a certain period of time due to hardware clock deviations between
이어, 마스터 스피커(10)의 동기화 모듈(11)로부터 동기화 실행 요청을 받은 슬레이브 스피커(20a, 20b) 내의 재생 모듈(25a, 25b) 각각은 자신이 동기화 실행 요청을 수신한 현재 시각(t1)을 기록한 타임패킷을 작성하여 마스터 스피커(10)의 동기화 모듈(11)로 전송한다(S12). Subsequently, each of the
전술한 바와 같이, 슬레이브 스피커(20a, 20b) 내의 재생 모듈(25a, 25b) 각각은 기설정된 시스템 시각을 가지며 각각의 시스템 시각에 따라 자신이 타임패킷을 작성하고 타임 패킷을 전송하는 현재 시각(t1)을 타임패킷에 기록하여 마스터 스피커(10)의 동기화 모듈(11)로 전송한다(S12). As described above, each of the
한편, 단계(S11)에서 마스터 스피커(10)의 동기화 모듈(11)에서 동기화 실행 요청을 브로드 캐스팅할 때 슬레이브 스피커(20a, 20b)가 활성화되지 못한 경우에는, 그 이후 슬레이브 스피커(20a, 20b)의 재생 모듈(25a, 25b)가 사운드 데이터를 포함하는 사운드 패킷을 수신한 경우 사운드 패킷에 포함된 마스터 스피커(10)의 IP 주소를 확인하여 타임패킷을 작성하여 전송할 수 있다.On the other hand, if the
이어, 마스터 스피커(10)의 동기화 모듈(11)은 각 슬레이브 스피커(20a, 20b) 내의 재생 모듈(25a, 25b)로부터 수신하고, 수신한 타임패킷에 자신이 타임패킷을 수신한 현재 시각(t2)을 기록하여 다시 해당 슬레이브 스피커(20a, 20b) 내의 재생 모듈(25a, 25b)로 전송한다(S13).Subsequently, the
전술한 바와 같이, 마스터 스피커(10)의 동기화 모듈(11)은 자신에게 설정된 기준 시각을 가지며 이 기준 시각에 기반하여 타임패킷을 수신한 현재 시각(t2)을 수신한 타임패킷에 기록한 후 타임패킷을 전송한 슬레이브 스피커(20a, 20b) 내의 재생 모듈(25a, 25b)로 전송한다(S13).As described above, the
이어, 슬레이브 스피커(20a, 20b) 내의 재생 모듈(25a, 25b)은 전술한 두 개의 현재 시각, 즉 자신이 동기화 실행 요청을 수신한 시각(t1)과 마스터 스피커(10)의 동기화 모듈(11)이 타임패킷을 수신한 시각(t2) 및 마스터 스피커(10)의 동기화 모듈(11)로부터 다시 타임패킷을 수신한 시각(t3)를 이용하여 마스터 스피커(10)의 동기화 모듈(11)의 시각, 즉 기준 시각을 계산한다(S14).Subsequently, the
예를 들어, 단계(S14)에서 슬레이브 스피커(20a, 20b) 내의 재생 모듈(25a, 25b)은 다음의 식 1과 같이 마스터 스피커(10)의 동기화 모듈(11)의 기준 시각(Tref)을 연산할 수 있다.For example, in step S14, the
[식 1][Equation 1]
상기 식 1에서 우변의 두번째 항은 슬레이브 스피커(20a, 20b) 내의 재생 모듈(25a, 25b)이 동기화 요청을 수신한 직후부터 타임패킷을 작성하여 동기화 모듈(11)로 전송하고 동기화 모듈(11)로부터 다시 타임패킷을 수신하는 순간까지 소요된 시간의 1/2에 해당하는 것이다.The second term on the right side in Equation 1 is to generate a time packet immediately after the
네트워크 지연이 없다면 슬레이브 스피커(20a, 20b) 내의 재생 모듈(25a, 25b)이 동기화 요청을 수신한 직후부터 타임패킷을 작성하여 동기화 모듈(11)로 전송하고 동기화 모듈(11)로부터 다시 타임패킷을 수신하는 순간까지 소요된 시간(t3-t1)은 무시할 수 있을 정도로 작은 값이 될 수 있으나, "t3-t1"의 값이 일정 수준 이상 큰 값을 갖는다면 네트워크 지연이 발생한 것으로 판단할 수 있다.If there is no network delay, immediately after the
따라서, 단계(S14)에서 네트워크 스피커(10, 20a, 20b)의 재생 모듈(25, 25a, 25b)은 동기화 요청을 수신한 직후부터 타임패킷을 작성하여 동기화 모듈(11)로 전송하고 동기화 모듈(11)로부터 다시 타임패킷을 수신하는 순간까지 소요된 시간(t3-t1)이 사전 설정된 레벨 이상이 되는 경우 식 1을 이용하여 기준시각을 연산한다.Therefore, in step S14, the
이어, 슬레이브 스피커(20a, 20b) 내의 재생 모듈(25a, 25b)은 자신의 시스템 시각을 기준 시각으로 업데이트하여 시각 동기화를 완료하게 된다(S15).Subsequently, the
네트워크 스피커(10, 20a, 20b)를 통해 사운드 데이터의 재생이 이루어지지 않는 경우에는, 전술한 것과 같은 단계(S11 내지 S14)의 과정을 통해 기준 시각을 연산하고 슬레이브 스피커(20a, 20b) 내의 재생 모듈(25a, 25b)을 기준 시각으로 업데이트 하는 것으로 시각 동기화를 완료한 후 사운드 데이터 재생 시 업데이트된 시스템 시각을 이용함으로써 소리 동기화까지 수행될 수 있다.When sound data is not reproduced through the
그러나, 네트워크 스피커(10, 20a, 20b)를 통해 사운드 데이터가 재생되고 있는 중에는 단순히 시각 동기화 뿐만 아니라 재생 중인 소리의 동기화까지 함께 수행되어야 한다. 이를 위해, 네트워크 스피커(10, 20a, 20b)를 통해 사운드 데이터가 재생되고 있는 중인 경우 단계(S15)는 연산된 기준 시각으로 시스템 시각을 업데이트 하기 이전에 연산된 기준 시각과 업데이트 이전의 시스템 시각의 차이에 기반하여 사운드 데이터의 재생 위치를 보정할 수 있다.However, while sound data is being reproduced through the
즉, 단계(S15)에서, 슬레이브 스피커(20a, 20b) 내의 재생 모듈(25a, 25b)은 연산한 기준 시각과 자신의 시스템 시각(Tsys)의 시간오차(T△)를 하기 식 2와 같이 구한 후 시간오차에 따라 사운드 데이터의 재생 위치를 수정하여 소리 동기화를 수행한다.That is, in step (S15), reproduction module (25a, 25b) in the slave speaker (20a, 20b) is such as to a time offset (T △) of the calculation reference time and their system time (T sys) Equation 2 After retrieval, sound synchronization is performed by modifying the playback position of sound data according to time error.
[식 2][Equation 2]
상기 식 2에 의하면, 시간오차(T△)가 양의 값인 경우 기준 시각을 제공하는 동기화 모듈(11)을 갖는 마스터 스피커(10)가 슬레이브 스피커(20a, 20b) 보다 시간오차(T△)만큼 사운드 데이터를 먼저 재생하고 있는 것이므로, 슬레이브 스피커(20a, 20b) 내의 재생 모듈(25a, 25b)은 시간오차(T△)만큼 사운드 데이터의 재생 위치를 후방으로 이동시켜(시간오차(T△)만큼 사운드 데이터를 절단하여) 소리의 동기화를 수행한다. According to Equation 2, when the time error T Δ is a positive value, the
반대로 시간오차(T△)가 음의 값인 경우 기준 시각을 제공하는 동기화 모듈(11)을 갖는 마스터 스피커(10)보다 슬레이브 스피커(20a, 20b)가 시간오차(T△)만큼 사운드 데이터를 먼저 재생하고 있는 것이므로, 슬레이브 스피커(20a, 20b) 내의 재생 모듈(25a, 25b)은 시간오차(T△)만큼 사운드 데이터의 재생 위치를 전방으로 이동시켜(시간오차(T△)만큼 사운드 데이터를 추가하여) 소리의 동기화를 수행한다On the contrary, when the time error T Δ is negative, the
이와 같이, 단계(S15)에서 네트워크 스피커(10, 20a, 20b)를 통해 사운드 데이터가 재생되고 있는 중에는 먼저 시간오차(T△)에 기반하여 소리의 동기화를 수행하고 이어 시스템 시각의 업데이트를 수행하여 시각 동기화를 완료할 수 있다.As such, while sound data is being reproduced through the
이상에서 설명한 바와 같이, 본 발명의 여러 실시형태에 따른 네트워크 스피커 시스템 및 그 운용방법은, 마스터 스피커와 슬레이브 스피커로 구성되는 네트워크 스피커 시스템에서 마스터 스피커의 사이의 타임 패킷을 송수신을 통해 시각 동기화 및 소리 동기화를 수행함으로써, 하드웨어 클럭의 오차 및 패킷 지연에 의해 네트워크 스피커 간 동기가 깨어지는 것을 방지하고 자연스러운 음원 재생을 가능하게 한다.As described above, the network speaker system and its operation method according to various embodiments of the present invention, in the network speaker system consisting of a master speaker and a slave speaker, time synchronization and sound through time transmission and reception between the master speakers By performing the synchronization, the synchronization between the network speakers is prevented from being broken by the error of the hardware clock and the packet delay, and the natural sound source can be reproduced.
이상에서 본 발명의 특정한 실시형태에 관련하여 도시하고 설명하였지만, 이하의 특허청구범위에 의해 제공되는 본 발명의 기술적 사상을 벗어나지 않는 한도 내에서, 본 발명이 다양하게 개량 및 변화될 수 있다는 것은 당 기술분야에서 통상의 지식을 가진 자에게 있어서 자명할 것이다.While shown and described in connection with specific embodiments of the present invention, it is understood that the present invention can be variously modified and changed without departing from the technical spirit of the present invention provided by the claims below. It will be apparent to those of ordinary skill in the art.
10: 마스터 스피커
11: 동기화 모듈
13: 데이터 전송 모듈
15: 제1 재생 모듈
17: IP 주소 리스트
20a, 20b: 슬레이브 스피커
25a, 25b: 제2 재생 모듈10: master speaker 11: synchronization module
13: data transmission module 15: first playback module
17:
25a, 25b: second playback module
Claims (10)
상기 마스터 스피커와 로컬 네트워크를 구성하며, 상기 기준 시각에 동기화된 시스템 시각에 따라 사운드 패킷을 재생하여 소리로 출력하는 제2 재생 모듈을 포함하는 슬레이브 스피커
를 포함하는 네트워크 스피커 시스템.A master speaker including a synchronization module having a reference time for synchronization and a first playback module for reproducing and outputting sound packets according to the reference time; And
A slave speaker comprising a second reproducing module constituting a local network with the master speaker and reproducing a sound packet as a sound according to a system time synchronized to the reference time;
Network speaker system comprising a.
상기 제2 재생 모듈은 타임패킷을 작성하고 상기 시스템 시각에 기반하여 타임패킷을 전송하는 제1 시각을 상기 타임 패킷에 기록하여 상기 동기화 모듈로 전송하며, 상기 타임패킷을 수신한 상기 동기화 모듈은 상기 기준 시각에 기반하여 상기 타임패킷을 수신한 제2 시각을 상기 타임패킷에 기록하여 상기 제2 재생 모듈로 전송하며, 상기 제2 재생 모듈은 상기 제1 시각, 상기 제2 시각 및 상기 동기화 모듈로부터 상기 타임패킷을 수신한 제3 시각에 기반하여 상기 기준 시각을 계산하고 상기 시스템 시각을 계산된 기준 시각으로 업데이트하는 것을 특징으로 하는 네트워크 스피커 시스템.The method according to claim 1,
The second reproducing module writes a time packet and records a first time of transmitting a time packet based on the system time in the time packet, and transmits the time packet to the synchronization module. The second time receiving the time packet based on a reference time is recorded in the time packet and transmitted to the second reproducing module, wherein the second reproducing module is provided from the first time, the second time, and the synchronization module. And calculating the reference time based on the third time when the time packet is received, and updating the system time with the calculated reference time.
상기 제2 재생 모듈은 하기 식
에 의해 상기 기준 시각을 계산하는 것을 특징으로 하는 네트워크 스피커 시스템(Tref: 기준시각, t1: 제1 시각, t2: 제2 시각, t3: 제3 시각).The method according to claim 2,
The second regeneration module has the following formula
And the reference time is calculated by using T ref : reference time, t1: first time, t2: second time, and t3: third time.
상기 업데이트 하는 단계는 상기 제3 시각과 상기 제1 시각의 차이가 사전 설정된 레벨 이상인 경우 상기 제2 재생 모듈이 상기 시스템 시각을 상기 기준 시각으로 업데이트 하는 것을 특징으로 하는 네트워크 스피커 시스템의 운용 방법.The method according to claim 2,
The updating may include the second playback module updating the system time to the reference time when the difference between the third time and the first time is greater than or equal to a preset level.
상기 제2 재생 모듈은 상기 시스템 시각을 업데이트하기 이전에 상기 시스템 시각과 계산된 기준 시각 사이의 시간오차에 기반하여 재생하는 사운드 데이터의 재생 위치를 수정하는 것을 특징으로 하는 네트워크 스피커 시스템.The method according to claim 2,
And the second reproducing module modifies the reproducing position of sound data to be reproduced based on a time error between the system time and the calculated reference time before updating the system time.
상기 동기화 모듈이 동기화 실행 요청을 브로드 캐스팅하는 단계;
상기 동기화 실행 요청을 수신한 상기 제2 재생 모듈이 타임패킷을 작성하고 상기 타임패킷을 전송하는 제1 시각을 상기 타임패킷에 기록하여 상기 동기화 모듈로 전송하는 단계;
상기 동기화 모듈이 상기 타임패킷을 수신한 제2 시각을 상기 타임패킷에 기록하여 상기 제2 재생 모듈로 전송하는 단계; 및
상기 제2 재생 모듈이 상기 타임 패킷을 수신한 제3 시각과, 상기 제1 시각 및 상기 제2 시각을 기반으로 상기 기준 시각을 계산하는 단계; 및
상기 제2 재생 모듈이 상기 시스템 시각을 상기 기준 시각으로 업데이트 하는 단계
를 포함하는 네트워크 스피커 시스템의 운용 방법.In the operating method of the network speaker system of claim 1,
The synchronization module broadcasting a synchronization execution request;
Receiving, by the second playback module, receiving the synchronization execution request, creating a time packet and recording a first time for transmitting the time packet to the time packet and transmitting the time packet to the synchronization module;
Recording, by the synchronization module, the second time when the time packet is received in the time packet and transmitting to the second playback module; And
Calculating, by the second playback module, the reference time based on the third time when the time packet is received, the first time, and the second time; And
Updating, by the second playback module, the system time to the reference time
Operating method of a network speaker system comprising a.
상기 동기화 실행 요청을 브로드 캐스팅하는 단계는, 스피커 네트워크가 최초로 구성되는 경우, 상기 동기화 모듈에 설정된 기준 시각이 변경되는 경우, 스피커 네트워크가 끊어진 후 다시 연결되는 경우 및 상기 업데이트 하는 단계 수행 후 사전 설정된 시간 간격이 경과한 경우 중 적어도 1 경우에 수행되는 것을 특징으로 하는 네트워크 스피커 시스템의 운용 방법.The method according to claim 5,
The broadcasting of the synchronization execution request may include: when a speaker network is initially configured, when a reference time set in the synchronization module is changed, when a speaker network is disconnected and then reconnected, and a preset time after performing the updating step. A method of operating a network speaker system, characterized in that performed in at least one of the cases in which the interval has passed.
상기 계산하는 단계는, 상기 제2 재생 모듈이 하기 식
에 의해 상기 기준 시각을 계산하는 단계인 것을 특징으로 하는 네트워크 스피커 시스템의 운용 방법(Tref: 기준시각, t1: 제1 시각, t2: 제2 시각, t3: 제3 시각).The method according to claim 5,
The calculating may be performed by the second regeneration module.
And calculating the reference time by using T ref : reference time, t1: first time, t2: second time, and t3: third time.
상기 업데이트 하는 단계는 상기 제3 시각과 상기 제1 시각의 차이가 사전 설정된 레벨 이상인 경우 상기 제2 재생 모듈이 상기 시스템 시각을 상기 기준 시각으로 업데이트 하는 것을 특징으로 하는 네트워크 스피커 시스템의 운용 방법.The method according to claim 5,
The updating may include the second playback module updating the system time to the reference time when the difference between the third time and the first time is greater than or equal to a preset level.
상기 업데이트 하는 단계는, 상기 제2 재생 모듈이 상기 시스템 시각을 계산된 기준 시각으로 업데이트하기 이전에 상기 시스템 시각과 계산된 기준 시각 사이의 시간오차에 기반하여 재생하는 사운드 데이터의 재생 위치를 수정하는 단계를 포함하는 것을 특징으로 하는 네트워크 스피커 시스템의 운용 방법.The method according to claim 5,
The updating may include modifying a playback position of sound data to be played based on a time error between the system time and the calculated reference time before the second playback module updates the system time with the calculated reference time. Method of operating a network speaker system comprising the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020180096258A KR20200020491A (en) | 2018-08-17 | 2018-08-17 | Network speaker system and operating method therefore |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020180096258A KR20200020491A (en) | 2018-08-17 | 2018-08-17 | Network speaker system and operating method therefore |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20200020491A true KR20200020491A (en) | 2020-02-26 |
Family
ID=69637714
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020180096258A KR20200020491A (en) | 2018-08-17 | 2018-08-17 | Network speaker system and operating method therefore |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20200020491A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20220164814A (en) | 2021-06-06 | 2022-12-13 | 김만석 | Pollution Minimization Toilet |
-
2018
- 2018-08-17 KR KR1020180096258A patent/KR20200020491A/en unknown
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20220164814A (en) | 2021-06-06 | 2022-12-13 | 김만석 | Pollution Minimization Toilet |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210360301A1 (en) | Systems, Methods and Computer-Readable Media For Configuring Receiver Latency | |
US10255035B2 (en) | Audio data buffering | |
JP6996003B2 (en) | Syncing multiple audio devices | |
US8233648B2 (en) | Ad-hoc adaptive wireless mobile sound system | |
US9942684B2 (en) | Audio signal processing method and audio signal processing apparatus | |
US20080089361A1 (en) | System and method for transferring data | |
US20070104332A1 (en) | System and method for automatic plug detection | |
KR20170113087A (en) | Systems and method for audio playback | |
JP2015065666A (en) | System and method for synchronizing operation in a plurality of digital data processing devices which are independently clocked | |
WO2007044687A2 (en) | System and method for transferring data | |
KR20220053542A (en) | Method of display playback synchronization of digital contents in multiple connected devices and apparatus using the same | |
US8477810B2 (en) | Synchronization using multicasting | |
KR20200020491A (en) | Network speaker system and operating method therefore | |
JP7024794B2 (en) | Audio systems, audio equipment, and how to control audio equipment | |
JP5291853B2 (en) | Device for time synchronous transmission of signals | |
JP7318990B2 (en) | Systems and methods for synchronizing audio content on a mobile device to a separate visual display system | |
KR101073664B1 (en) | A Pre-Compensation Technique for Synchronization between Wireless Speakers in Multichannel Wireless Speaker Systems | |
US20180183870A1 (en) | Synchronization setting device and distribution system | |
KR102001550B1 (en) | Multi room speaker system and data sync method thereof | |
EP1941669A2 (en) | System and method for automatic plug detection | |
JP2019211638A (en) | Processing device, output device, synchronization control system, and these control methods, as well as programs | |
KR20180138120A (en) | Peer and method for starting point adaptation | |
JP2010166534A (en) | Control apparatus, audio output device, theater system, control method and program | |
JP6361012B2 (en) | Playback system and playback method | |
JP6520556B2 (en) | Content data delivery system and content data delivery method |