WO2021085671A1 - 전자기기 및 이의 제어 방법 - Google Patents

전자기기 및 이의 제어 방법 Download PDF

Info

Publication number
WO2021085671A1
WO2021085671A1 PCT/KR2019/014460 KR2019014460W WO2021085671A1 WO 2021085671 A1 WO2021085671 A1 WO 2021085671A1 KR 2019014460 W KR2019014460 W KR 2019014460W WO 2021085671 A1 WO2021085671 A1 WO 2021085671A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
value
external electronic
data
clock
Prior art date
Application number
PCT/KR2019/014460
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 US17/769,292 priority Critical patent/US20230353342A1/en
Priority to PCT/KR2019/014460 priority patent/WO2021085671A1/ko
Publication of WO2021085671A1 publication Critical patent/WO2021085671A1/ko

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • H04L7/027Speed or phase control by the received code signals, the signals containing no special synchronisation information extracting the synchronising or clock signal from the received signal spectrum, e.g. by using a resonant or bandpass circuit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0008Synchronisation information channels, e.g. clock distribution lines
    • H04L7/0012Synchronisation information channels, e.g. clock distribution lines by comparing receiver clock with transmitter clock

Definitions

  • the present invention relates to an electronic device and a control method thereof for preventing a delay occurring when data received from a first external electronic device is transmitted to a second external electronic device.
  • the display device is a device having a function of providing an image that can be viewed by a user.
  • the user can watch the broadcast through the display device.
  • the display device provides a broadcast selected by a user among broadcast signals transmitted from a broadcasting station, and the broadcast image is displayed on the display.
  • a TV is a representative example of a display device.
  • the display device may be connected to external electronic devices and may transmit data received from one external electronic device to another external electronic device.
  • each of the external electronic devices communicates with the display device through a different protocol, there is a problem that a delay occurs due to a difference in speed of the protocol.
  • An object of the present invention is to provide an electronic device and a method for controlling the same for preventing a delay occurring when data received from a first external electronic device is transmitted to a second external electronic device.
  • an object of the present invention is to provide an electronic device capable of performing streaming without delay even when there is a performance deviation of a clock device, and a control method thereof.
  • An electronic device and a control method thereof resample and resample data received from the first external electronic device based on a speed difference value between the clock speed of the first external electronic device and the clock speed of the electronic device.
  • the data is transmitted to the second external electronic device.
  • An electronic device includes a first communication unit for receiving data by performing communication with a first external electronic device according to a first protocol, a resampler for resampling the received data, and a second external electronic device.
  • the resampling is performed based on a data transmission rate, a first time value, and a second time value, and a second communication unit that transmits the resampled data by performing communication with the electronic device according to the second protocol.
  • a calculation unit that calculates a set value.
  • the first time value is calculated based on a clock counter value of the first external electronic device at each of the first time point and the second time point, and the clock speed of the first external electronic device
  • the second time A value is calculated based on a clock counter value of the electronic device at each of the first time point and the second time point, and a clock speed of the electronic device.
  • An electronic device is a first communication unit that receives data from the first external electronic device based on a first protocol in a state synchronized with a clock of the first external electronic device, and resamples the received data.
  • a second communication unit for transmitting the resampled data to a second external electronic device based on a second protocol in a state synchronized with a clock of the electronic device, and a clock speed of the first external electronic device and the electronic device
  • a calculator configured to calculate a set value of the resampling based on a speed difference value between the clock speeds of.
  • a method for controlling an electronic device includes the steps of: receiving data by a first communication unit performing communication with the first external electronic device according to a first protocol, and a calculation unit transmitting the data to the second external electronic device. Calculating a set value of resampling based on a data transmission rate, a first time value, and a second time value, resampling the received data based on the set value of the resampling by a resampler, and the second communication unit And transmitting the resampled data by performing communication with a second external electronic device according to a second protocol.
  • the first time value is calculated based on a clock counter value of the first external electronic device at each of the first time point and the second time point, and the clock speed of the first external electronic device
  • the second time A value is calculated based on a clock counter value of the electronic device at each of the first time point and the second time point, and a clock speed of the electronic device.
  • a delay that occurs when data received from a first external electronic device is transmitted to a second external electronic device can be prevented.
  • streaming can be performed without delay even when there is a performance variation of a clock device.
  • FIG. 1 is a diagram showing a schematic configuration of a digital device according to an embodiment of the present invention.
  • FIG. 2 is a diagram for explaining the concept of the operation of the clock generator.
  • FIG. 3 is a diagram showing a schematic configuration of an electronic device according to an embodiment of the present invention.
  • FIG. 4 is a diagram illustrating a concept in which a first external electronic device and a second external electronic device are communicated with the electronic device of the present invention.
  • FIG. 5 is a flowchart illustrating a method of controlling an electronic device according to an embodiment of the present invention.
  • 6 and 7 are views for explaining the concept of the operation of the electronic device according to an embodiment of the present invention.
  • first, second, and the like are used to describe various elements, it goes without saying that these elements are not limited by these terms. These terms are only used to distinguish one component from another component, and unless otherwise stated, the first component may be the second component.
  • each component when a component is described as being “connected”, “coupled” or “connected” to another component, the components may be directly connected or connected to each other, but other components are “interposed” between each component. It is to be understood that “or, each component may be “connected”, “coupled” or “connected” through other components.
  • the display device described in the present specification is, for example, an intelligent display device in which a computer support function is added to a broadcast reception function, and is faithful to a broadcast reception function and an Internet function is added, so that a handwritten input device, a touch screen, or a space It can be equipped with a more convenient interface such as a remote control.
  • it is connected to the Internet and a computer with the support of wired or wireless Internet functions, and functions such as e-mail, web browsing, banking, or games can be performed.
  • a standardized general-purpose OS can be used.
  • the display device since various applications can be freely added or deleted, for example, on a general-purpose OS kernel, various user-friendly functions can be performed. More specifically, the display device may be, for example, a network display device, an HBB display device, a smart display device, an LED display device, an OLED display device, or the like, and may be applied to a mobile terminal in some cases.
  • Mobile terminals described herein include mobile phones, smart phones, laptop computers, digital broadcasting terminals, personal digital assistants (PDAs), portable multimedia players (PMPs), navigation systems, and slate PCs.
  • PDAs personal digital assistants
  • PMPs portable multimedia players
  • slate PCs slate PCs.
  • Tablet PC tablet PC
  • ultrabook ultrabook
  • wearable device wearable device, for example, smartwatch, glass-type terminal (smart glass), HMD (head mounted display)), etc. may be included. have.
  • FIG. 1 is a diagram showing a schematic configuration of a digital device according to an embodiment of the present invention.
  • the digital device 100 includes a broadcast receiving unit 110, an external device interface unit 120, a storage unit 130, a user interface unit 140, a display unit 150, and an audio output unit ( 160), a power supply unit 170, and may include a control unit 180.
  • the broadcast reception unit 110 may include a tuner 111, a demodulation unit 112, and a network interface unit 113.
  • the broadcast reception unit 110 includes the tuner 111 and the demodulation unit 112, but may not include the network interface unit 113, and vice versa.
  • the broadcast receiving unit 110 may include a multiplexer.
  • the multiplexer may multiplex the signal demodulated by the demodulation unit 112 and the signal received through the network interface unit 113.
  • the broadcast receiving unit 110 may include a demultiplexer. The demultiplexer may demultiplex the multiplexed signal, or demultiplex a signal demodulated by the demodulation unit 112 or a signal received through the network interface unit 113.
  • the tuner 111 tunes a specific radio frequency (RF) broadcast signal.
  • the specific RF broadcast signal corresponds to a channel selected by a user or all channels previously stored.
  • the tuner 111 converts an RF broadcast signal into an intermediate frequency (IF) signal or a baseband signal.
  • IF intermediate frequency
  • the tuner 111 converts an RF broadcast signal, which is a digital broadcast signal, to a digital IF signal (DIF), and converts the RF broadcast signal, which is an analog broadcast signal, to an analog baseband video or audio signal (CVBS/SIF). . That is, the tuner 111 may process both digital broadcast signals or analog broadcast signals.
  • the analog baseband video or audio signal (CVBS/SIF) output from the tuner 111 may be directly input to the controller 180.
  • the tuner 111 may receive an RF broadcast signal of a single carrier or multiple carriers. Meanwhile, the tuner 111 may sequentially tune and receive RF broadcast signals of all broadcast channels stored through a channel memory function, and convert them into intermediate frequency signals or baseband signals.
  • the demodulator 112 may receive and demodulate the digital IF signal converted by the tuner 111, and perform channel decoding and the like.
  • the demodulation unit 112 includes a Trellis decoder, a de-interleaver, a Reed-Solomon decoder, or the like, or a convolution decoder, a deinterleaver, and A Reed-Soloman decoder or the like may be provided.
  • the demodulator 112 may output a stream signal TS after performing demodulation and channel decoding.
  • the stream signal may be a signal in which a video signal, an audio signal, or a data signal is multiplexed.
  • the stream signal may be an MPEG-2 Transport Stream (TS) in which an MPEG-2 standard video signal and a Dolby AC-3 standard audio signal are multiplexed.
  • TS MPEG-2 Transport Stream
  • the stream signal output from the demodulator 112 may be input to the controller 180.
  • the controller 180 may control demultiplexing, image/audio signal processing, and the like, and may control output of an image through the display unit 150 and an audio output through the audio output unit 160.
  • the external device interface unit 120 provides an interfacing environment between the digital device 100 and various external devices.
  • the external device interface unit 120 includes a digital versatile disk (DVD), a Blu-ray, a game device, a camera, a camcorder, a computer (laptop), a tablet PC, a smart phone, and a Bluetooth device. device) and external devices such as the cloud, etc. may be connected by wire or wirelessly.
  • the external device interface unit 120 transmits a signal including data such as an image, an image, and an audio input through a connected external device to the controller 180.
  • the controller 180 may control the processed image, video, audio, etc. to output a data signal to a connected external device.
  • the external device interface unit 120 may further include an A/V input/output unit (not shown) or a wireless communication unit (not shown).
  • the A/V input/output unit is a USB terminal, CVBS (Composite Video Banking Sync) terminal, component terminal, S-video terminal (analog), and DVI so that video and audio signals from external devices can be input to the digital device 100. It may include a (Digital Visual Interface) terminal, a High Definition Multimedia Interface (HDMI) terminal, an RGB terminal, a D-SUB terminal, and the like.
  • the wireless communication unit may perform short-range wireless communication with another digital device.
  • the digital device 100 includes, for example, Bluetooth, Radio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), ZigBee, and Digital Living Network Alliance (DLNA). It can be networked with other digital devices according to a communication protocol such as.
  • RFID Radio Frequency Identification
  • IrDA infrared data association
  • UWB Ultra Wideband
  • ZigBee ZigBee
  • DLNA Digital Living Network Alliance
  • the external device interface unit 120 is connected through at least one of the set-top-box (STB) and the above-described various terminals, and may perform input/output operations with the set-top-box (STB).
  • the external device interface unit 120 may receive an application or an application list in an adjacent external device and transmit it to the controller 180 or the storage unit 130.
  • the network interface unit 113 provides an interface for connecting the digital device 100 to a wired/wireless network.
  • the network interface unit 113 may include an Ethernet terminal for connection to a wired network, and for connection to a wireless network, WLAN (Wireless LAN), Wi-Fi, Wibro (Wireless broadband), Wimax Communication standards such as (World Interoperability for Microwave Access) and High Speed Downlink Packet Access (HSDPA) can be used.
  • WLAN Wireless LAN
  • Wi-Fi Wireless Fidelity
  • Wibro Wireless broadband
  • Wimax Communication standards such as (World Interoperability for Microwave Access) and High Speed Downlink Packet Access (HSDPA) can be used.
  • the network interface unit 113 may transmit and receive data to and from other digital devices through a connected network or another network linked to the connected network.
  • some content data stored in the digital device 100 may be transmitted to a selected digital device among other digital devices registered in advance.
  • the network interface unit 113 may access a predetermined web page through a connected network or another network linked to the connected network. That is, it is possible to access a predetermined web page through a network and transmit or receive data with the server.
  • content or data provided by a content provider or network operator may be received. That is, content such as movies, advertisements, games, VODs, and broadcast signals provided from a content provider or a network provider may be received through a network, and information related thereto.
  • the network interface unit 113 may select and receive a desired application from among applications opened through a network.
  • the storage unit 130 may store a program for processing and controlling each signal in the controller 180, and may store a signal-processed image, audio, or data signal.
  • the storage unit 130 may temporarily store a video, audio, or data signal input from the external device interface unit 120 or the network interface unit 113.
  • the storage unit 130 may store information on a predetermined broadcast channel through a channel memory function.
  • the storage unit 130 may store an application or an application list input from the external device interface unit 120 or the network interface unit 330.
  • the storage unit 130 may store various platforms that will be described later.
  • the storage unit 130 may include, for example, a flash memory type, a hard disk type, a multimedia card micro type, or a card type memory (eg, SD or XD Memory, etc.), RAM, and ROM (EEPROM, etc.).
  • the digital device 100 may reproduce and provide a content file (movie file, still image file, music file, document file, application file, etc.) stored in the storage unit 130 to a user.
  • the storage unit 130 may be included in the controller 180 and may be provided separately from the controller 180.
  • the user input interface unit 140 transmits a signal input by a user to the controller 180 or transmits a signal from the controller 180 to the user.
  • the user input interface unit 140 is connected to the remote control device 190 according to various communication methods such as an RF communication method and an infrared (IR) communication method, and power on/off transmitted from the remote control device 190 Control signals such as off, channel selection, and screen setting may be received and processed, or a control signal of the controller 180 may be transmitted to the remote control device 500.
  • the user input interface unit 140 may transmit a control signal input from a local key (not shown) such as a power key, a channel key, a volume key, and a set value to the controller 180.
  • the user input interface unit 140 transmits a control signal input from a sensing unit (not shown) that senses a user's gesture to the controller 180, or transmits a signal from the controller 180 to a sensing unit (not shown). Can be sent to.
  • the sensing unit may include a touch sensor, a voice sensor, a position sensor, a motion sensor, and the like.
  • the controller 180 generates a signal for video or audio output by demultiplexing the stream input through the tuner 111, the demodulation unit 112, or the external device interface unit 120 or processing the demultiplexed signals. And can be output.
  • the image signal processed by the controller 180 may be input to the display unit 150 and displayed as an image corresponding to the corresponding image signal. Also, the image signal processed by the controller 180 may be input to an external output device through the external device interface unit 120.
  • the audio signal processed by the controller 180 may be audio output to the audio output unit 160. Also, the voice signal processed by the controller 180 may be input to an external output device through the external device interface unit 120.
  • the controller 180 may include a demultiplexer, an image processing unit, and the like.
  • the controller 180 may control the overall operation of the digital device 100. For example, the controller 180 may control the tuner 111 to tune an RF broadcast corresponding to a channel selected by a user or a previously stored channel.
  • the controller 180 may control the digital device 100 by a user command or an internal program input through the user input interface 140. In particular, by accessing a network, an application or an application list desired by the user may be downloaded into the digital device 100.
  • the controller 180 controls the tuner 111 to input a signal of a selected channel according to a predetermined channel selection command received through the user input interface unit 140. And it processes video, audio, or data signals of the selected channel.
  • the controller 180 controls the channel information selected by the user to be output through the display unit 150 or the audio output unit 160 together with the processed image or audio signal.
  • the controller 180 may transmit an image signal or an audio signal from the external device to the display unit 150 or the audio output unit 160 according to an external device image playback command received through the user input interface unit 140. Control so that it can be output through.
  • the controller 180 may control the display unit 150 to display an image.
  • a broadcast image input through the tuner 111, an external input image input through the external device interface unit 120, an image input through a network interface unit, or an image stored in the storage unit 130 is displayed on the display unit ( 150) can be controlled to display.
  • the image displayed on the display unit 150 may be a still image or a moving image, and may be a 2D image or a 3D image.
  • the controller 180 may control the display unit 150 to play content.
  • the content may be content stored in the digital device 100, received broadcast content, or external input content input from the outside.
  • the content may be at least one of a broadcast image, an external input image, an audio file, a still image, a connected web screen, and a document file.
  • the controller 180 may control to display an application or a list of applications that can be downloaded from an internal or external network of the digital device 100.
  • the controller 180 may control to install and run an application downloaded from an external network in addition to various user interfaces. In addition, the controller 180 may control an image related to an application executed by a user's selection to be displayed on the display unit 150.
  • a channel browsing processing unit for generating a thumbnail image corresponding to a channel signal or an external input signal may be further provided.
  • the channel browsing processor receives the stream signal TS output from the demodulation unit 320 or the stream signal output from the external device interface unit 120, and extracts an image from the input stream signal to generate a thumbnail image.
  • the generated thumbnail image may be input to the controller 180 as it is or after being encoded.
  • the generated thumbnail image may be encoded in the form of a stream and input to the controller 180.
  • the controller 180 may display a thumbnail list including a plurality of thumbnail images on the display 150 by using the input thumbnail images. Meanwhile, the thumbnail images in the thumbnail list may be updated sequentially or simultaneously. Accordingly, the user can easily grasp the contents of a plurality of broadcast channels.
  • the display unit 150 converts an image signal, a data signal, an OSD signal processed by the control unit 180, or an image signal and a data signal received from the external device interface unit 120 into R, G, and B signals, respectively. Generate a signal.
  • the display unit 150 may be a PDP display, an LCD display, an OLED display, a flexible display, a 3D display, or the like.
  • the display unit 150 may be configured as a touch screen and used as an input device in addition to an output device.
  • the audio output unit 160 receives a signal processed by the controller 180, for example, a stereo signal, a 3.1 channel signal, or a 5.1 channel signal, and outputs the received signal as audio.
  • the audio output unit 160 may be implemented with various types of speakers.
  • a sensing unit including at least one of a touch sensor, a voice sensor, a position sensor, and a motion sensor may be further provided in the digital device 100. .
  • the signal sensed by the sensing unit may be transmitted to the controller 3180 through the user input interface unit 140.
  • a photographing unit (not shown) for photographing a user may be further provided. Image information captured by the photographing unit (not shown) may be input to the controller 180.
  • the controller 180 may detect a user's gesture by combining or combining an image captured from a photographing unit (not shown) or a signal sensed from a sensing unit (not shown).
  • the power supply unit 170 supplies power to components of the digital device 100.
  • the control unit 180 that can be implemented in the form of a System on Chip (SoC)
  • SoC System on Chip
  • the display unit 150 for displaying an image
  • the audio output unit 160 for outputting audio. I can.
  • the power supply unit 170 may include a converter (not shown) that converts AC power into DC power.
  • a converter not shown
  • an inverter capable of operating a Pulse Width Modulation (PWM) for luminance variable or dimming driving (Not shown) may be further provided.
  • PWM Pulse Width Modulation
  • the digital device 100 may be a digital broadcast receiver capable of processing a digital broadcast signal of a fixed or mobile ATSC method or DVB method.
  • the digital device 100 may omit some of the illustrated configurations as necessary, or may further include a configuration not illustrated. Meanwhile, the digital device 100 may not include a tuner and a demodulator, and may receive and play content through a network interface unit or an external device interface unit, unlike the above-described method.
  • the electronic device A and the electronic device B which are two different types of electronic devices, can transmit and receive data through a streaming method. At this time, normal data processing is possible only when data is transmitted and received at a predetermined rate.
  • electronic devices use a clock generator installed therein. However, no matter how elaborately the clock generator is made, there are performance variations due to the characteristics of hardware components. This is as shown in FIG. 2.
  • FIG. 3 is a diagram showing a schematic configuration of an electronic device according to an embodiment of the present invention.
  • the electronic device 300 is a device that transmits data received from a first external electronic device to a second external electronic device, and includes a first communication unit 310 and a second communication unit 320. , A clock generator 330, a resampler 340, a calculation unit 350, a buffer 360, and a control unit 370.
  • the electronic device 300 may be a multi-display device, and for example, may be a TV.
  • the electronic device 300 may be a multi-display device, and for example, may be a TV.
  • examples of the present invention will be described on the assumption that the electronic device 300 is a TV.
  • the present invention is not limited thereto.
  • the first communication unit 310 communicates with a first external electronic device according to a first protocol. As the communication is performed, the electronic device 300 receives data, for example video data and audio data, from a first external electronic device. Meanwhile, the first external electronic device includes a communication module corresponding to the first communication unit 310.
  • the second communication unit 320 communicates with a second external electronic device according to a second protocol. As the communication is performed, the electronic device 300 transmits data, for example video data and audio data, to a second external electronic device. Meanwhile, the second external electronic device includes a communication module corresponding to the second communication unit 320.
  • first protocol and the second protocol may be protocols of different standards.
  • first protocol and the second protocol may be protocols applied to wired communication.
  • the first external electronic device 410 may be a Blu-ray player
  • the second external electronic device 420 may be an external speaker
  • a first protocol used for communication between a Blu-ray player and a TV may be a High Definition Multimedia Interface (HDMI) protocol
  • a second protocol used for communication between a TV and an external speaker may be a Universal Serial Bus (USB) protocol.
  • the first communication unit 310 may be an HDMI communication unit including an HDMI interface mounted on the TV
  • the second communication unit 310 may be a USB communication unit including a USB interface mounted on the TV.
  • the clock generator 330 generates a clock required for the electronic device 300 to operate. Meanwhile, a clock generator may also be included in the first external electronic device and the second external electronic device.
  • the clock generator 330 is a device that generates a pulse of 0 or 1 90000 times for 1 second per cycle.
  • the first external electronic device and the electronic device 300 are synchronized based on the clock of the first external electronic device. That is, the electronic device 300 performs communication according to the first protocol by referring to information on the clock of the first external electronic device.
  • the electronic device 300 and the second external electronic device are synchronized based on the clock of the electronic device 300. That is, the second external electronic device performs communication according to the second protocol by referring to information on the clock of the electronic device 300.
  • the resampler 340 resamples data received from the first external electronic device.
  • the received data is data in which image data and audio data are sampled
  • the resampler 340 may resample the audio data.
  • Resampling refers to re-sampling by changing a set value after restoring the sampled data. As described below, the capacity of streamed data may be adjusted through resampling.
  • the calculation unit 350 calculates a set value required for resampling.
  • the set value may include a resampling period value.
  • the calculation unit 340 may calculate a set value of resampling based on a speed difference value between the clock speed of the first external electronic device and the clock speed of the electronic device 300.
  • the calculation unit 340 calculates a set value of resampling based on the data transmission speed to the second external electronic device, a first time value, and a second time value. Can be calculated.
  • the first time value may be calculated based on a clock counter value of the first external electronic device and a clock speed of the first external electronic device at each of the first time point and the second time point.
  • the electronic device 300 can know information related to the clock of the first external electronic device as mentioned above, the above-described operation can be performed.
  • the second time value may be calculated based on a clock counter value of the electronic device 300 and a clock speed of the electronic device 300 at each of the first time point and the second time point. This will be described in more detail below.
  • the buffer 360 stores the resampled data.
  • the second communication unit 320 transmits the resampled data stored in the buffer 360 to a second external electronic device.
  • the buffer 360 has a reference value related to the amount of data stored, and the calculator 350 monitors the reference value of the buffer 360 to finely adjust the calculated resampling setting value. This will also be described in more detail below.
  • the controller 370 controls the operation of other components in the electronic device 300.
  • the resampler 340, the calculation unit 350, and the control unit 370 may be implemented as a module in a processor included in the electronic device 300.
  • the processor may include one or more of a central processing unit (CPU), an application processor, and a communication processor.
  • the module may mean a functional and structural combination of hardware for carrying out the technical idea of the present invention and software for driving the hardware.
  • a module may mean a predetermined code and a logical unit of hardware resources for executing the predetermined code.
  • the electronic device 300 according to the present invention will be described as follows.
  • the electronic device 300 is a device that performs a function of transmitting data received from a first external electronic device to a second external electronic device.
  • a protocol used by the first external electronic device and the electronic device 300 (a first protocol) and a protocol used by the electronic device 300 and the second external electronic device (a second protocol) may be different from each other.
  • a speed difference may occur in a process of transmitting and receiving data between the first external electronic device and the electronic device 300 to the second external electronic device in real time. That is, since the second external electronic device is synchronized with the clock speed of the electronic device 300 and the electronic device 300 is synchronized with the clock speed of the first external electronic device, a speed difference may occur in the process of transmitting data. Accordingly, an error may occur in the data streaming process due to a difference between the clock of the first external electronic device and the clock of the second external electronic device.
  • the electronic device 300 is a TV that streams audio data transmitted from a Blu-ray player to an external speaker.
  • the Blu-ray player and the TV are communicated through the HDMI protocol
  • the external speaker and the TV are communicated through the USB protocol.
  • the external speaker is synchronized to the clock of the TV according to the synchronization method of the USB protocol, but audio data actually transmitted from the TV is transmitted at a rate synchronized to the clock of the Blu-ray player by the HDMI protocol.
  • the buffer 360 made to transfer the audio data becomes an under run state or an over run state according to a speed deviation.
  • an error may occur in a data streaming process due to a difference between the clock of the first external electronic device and the clock of the second external electronic device.
  • the electronic device 300 resamples and resamples data received from the first external electronic device based on a speed difference value between the clock speed of the first external electronic device and the clock speed of the electronic device 300.
  • the data is transmitted to the second external electronic device. Accordingly, it is possible to implement streaming without errors.
  • FIG. 5 is a diagram illustrating a flowchart of a method of controlling an electronic device 300 according to an embodiment of the present invention.
  • control method of the electronic device 300 may be a method of controlling an operation of the electronic device 300 that transmits data received from the first external electronic device to the second external electronic device.
  • the electronic device 300 is synchronized with the clock of the first external electronic device to receive data, and thus the electronic device 300 is the clock count value of the clock generator of the first external electronic device. Is assumed to be known. In addition, the count value of the clock generated by the clock generator of the first external electronic device and the clock generator 330 of the electronic device 300 is continuously increasing, and the electronic device 300 can query the count value at a necessary time. Assume that you can.
  • step S510 the first communication unit 310 receives data from a first external electronic device.
  • the first communication unit 310 may receive data through communication based on the first protocol. Also, the received data may be sampled data.
  • step S520 the calculation unit 350 calculates a set value of the resampler 340.
  • the set value of the resampler 340 may correspond to a period value of resampling.
  • the size of the data may be changed. For example, when the resampling period value is larger than the sampling period value of the original received data, the size of the resampled data is larger than the size of the original data. Conversely, when the period value of the resampling is smaller than the period value of the sampling of the original received data, the size of the resampled data is smaller than the size of the original data.
  • the calculation unit 350 may set a set value of resampling based on a speed difference value between the clock speed of the first external electronic device and the clock speed of the electronic device 300. This will be described in more detail below.
  • step S530 the resampler 340 resamples the received data based on the calculated set value.
  • the resampled data may be stored in the buffer 360.
  • the state of the buffer 360 may be an under-run state or an over-run state.
  • the overrun state is a state in which resampled data stored in the buffer 360 is stored above a reference value
  • the underrun state is a state in which the resampled data stored in the buffer 360 is stored below the reference value.
  • the reference value may be half the capacity of the buffer 360.
  • step S540 the second communication unit 320 transmits the resampled data to a second external electronic device.
  • the second communication unit 320 may transmit data through communication based on the second protocol.
  • the size of data transmitted from the electronic device 300 is changed through the resampling, and the electronic device 300 transmits the resampled data to the second external electronic device. Therefore, even though the three different electronic devices have different time criteria, there is no problem of data streaming. Through this, the user can listen to the seamless audio.
  • each of the steps of FIG. 5 may be performed regardless of the order, and each of the steps may be performed simultaneously.
  • the operation of each step may be implemented in both hardware and software.
  • the calculation unit 350 may set a set value of resampling based on a speed difference value between the clock speed of the first external electronic device and the clock speed of the electronic device 300.
  • the speed difference value between the clock speed of the first external electronic device and the clock speed of the electronic device 300 is a speed at which the electronic device 300 transmits data to the second external electronic device, a first time value, and a second value. It can be calculated based on the time value.
  • the first time value is based on the clock counter value of the first external electronic device at the first time point, the clock counter value of the first external electronic device at the second time point, and the clock speed of the first external electronic device. Can be calculated.
  • the first time value is the difference between the clock counter value of the first external electronic device at the first time point and the clock counter value of the first external electronic device at the second time point as the clock speed of the first external electronic device. It may correspond to a divided value.
  • the second time value is based on the clock counter value of the electronic device 300 at the first time point, the clock counter value of the electronic device 300 at the second time point, and the clock speed of the electronic device 300 Can be calculated.
  • the second time value is the difference between the clock counter value of the electronic device 300 at the first time point and the clock counter value of the electronic device 300 at the second time point as the clock speed of the electronic device 300. It may correspond to a divided value.
  • Each of the first time value, the second time value, and the set value of resampling may be expressed as the following equations.
  • A is the first external electronic device
  • B is the electronic device 300
  • a time is the first time value
  • a count, t1 is the clock counter value of the first external electronic device at the first time point
  • a count, t2 a first clock counter value of the external electronic device at a second point in time
  • a clockrate a first clock rate of the external electronic device
  • B time is a second time value
  • B count, t1 is the electronic apparatus (300 in the first time )
  • B count, t2 is the clock counter value of the electronic device 300 at the second point in time
  • B clockrate is the clock speed of the electronic device 300
  • Set_value resample is the set value of resampling, respectively.
  • the first time value (A time ) and the second time value (B time ) are similar but may have different values, and the difference between the two values is the clock generator of the first external electronic device and the electronic device. It corresponds to the deviation of the clock generator 330 of 300.
  • a time deviation rate between the first external electronic device and the electronic device 300 may be calculated through the first time value and the second time value, and the calculated time deviation rate may be a set value of resampling. Accordingly, the electronic device 300 may transmit the reconstructed data based on the time of the electronic device 300 to the second external electronic device.
  • the clock frequency of the clock generator of the first external electronic device is 90 kHz and the clock frequency of the clock generator 330 of the electronic device 300 is 48 kHz.
  • the clock counter value of the first external electronic device is 1710012 and the clock count value of the electronic device 300 is 5811003.
  • a second time point which is a time point 10 seconds after the first time point, that the clock counter value of the first external electronic device is 2610068 and the clock count value of the electronic device 300 is 6291003.
  • the calculation unit 350 calculates the first time value as 10.00062222 and the second time value as 10.00000000. Accordingly, a clock deviation ratio between the first external electronic device and the electronic device 300 is calculated.
  • the speed of data streamed from the first external electronic device to the electronic device 300 is slightly faster than the speed of data streamed from the electronic device 300 to the second external electronic device.
  • streaming of data for example audio data
  • the buffer 360 in the electronic device 300 is in an overrun state.
  • the calculation unit 350 changes the size of the data by resampling the data based on Equation 3, and accordingly, the amount of data stored in the buffer 360 is adjusted. Accordingly, an overrun state and an underrun state of the buffer 360 are prevented.
  • the data is audio data, the user can listen to the seamless audio.
  • the set value of the resampler calculated through the above-described step (S520) may be a value close to the actual speed difference, but is not a perfect value.
  • the electronic device 300 may perform other service operations in addition to the communication operation, and a delay may occur when inquiring the clock count value of each of the first external electronic device and the electronic device 300 according to the other service operations described above. have. Since the count value increases even in the delay period, an error may occur in the finally calculated resampling setting value. Further, referring to Equation 3, the value of B time / A time may be an integer value, but may be a non-integer value. If it is not an integer value, the decimal point value lower than the value of B time / A time is discarded, and an error may occur in the finally calculated resampling setting value.
  • the calculation unit 350 may update the set value of resampling by repeating the operation of calculating the set value of resampling a plurality of times.
  • the clock count value of an electronic device with a clock speed of 90 kHz is inquired at 1-second intervals, ideally, the clock count value is inquired as 90000 at the first time point, and the clock count value is 18000 at the second time point It is inquired, and at the third time point, the clock count value is inquired as 27000.
  • an ideal value may not be searched due to a system load or other environmental cause, and an error may have occurred.
  • a clock count value in which an error has occurred may be inquired.
  • the clock count value is inquired as 89997 at the first time point
  • the clock count value is inquired as 180002 at the second time point
  • the clock count value is inquired as 270000 at the third time point.
  • the time value at each time point can be expressed as Equations 4 to 6 below.
  • the calculation unit 350 may update the resampling setting value by repeating the operation of calculating the resampling setting value a plurality of times.
  • the calculation unit 350 may monitor the buffer 360 and finely adjust the calculated set value of the resampling.
  • the buffer 360 is in an overrun state or an underrun state. Becomes.
  • the calculation unit 350 may determine whether the buffer 360 is in an overrun state or an underrun state by continuously monitoring the state of the buffer 360, and may finely adjust the resampling setting value based on the determination.
  • the calculation unit 350 monitors the amount of resampled data stored in the buffer 360 when calculating a set value for resampling. In this case, when the amount of resampled data stored in the buffer 360 is in an overrun state, it may be finely adjusted to reduce the calculated set value of resampling. In addition, when the amount of resampled data stored in the buffer 360 is in an under-run state, it may be finely adjusted to reduce the calculated set value of resampling.
  • a set value of resampling is calculated based on a predefined basic unit, and the fine adjustment operation may be an operation of increasing or decreasing the basic unit of the set value by one.
  • the process of writing data to the buffer 360 according to the first protocol is affected by the write period and the size of the data to be written.
  • a process of reading data to be written to the buffer 360 according to the second protocol is also affected by the read period and the size of the data to be read.
  • the period in which data is written and the size of the data in the buffer 360 are different from the period in which the data is read and the size of the data. This is as shown in FIG. 7.
  • the amount of data stored in the buffer 360 is the same as the graph shown in the middle of FIG. 7.
  • the calculation unit 350 can quickly determine whether the state of the buffer 360 is an overrun state or an underrun state.
  • the electronic device 300 and a control method thereof according to the present invention can prevent a delay that occurs when data received from the first external electronic device is transmitted to the second external electronic device.
  • the electronic device 300 and the control method thereof according to the present invention can perform streaming without delay.
  • the present invention is not necessarily limited to these embodiments, and all constituent elements within the scope of the object of the present invention are One or more may be selectively combined to operate.
  • all the components may be implemented as one independent hardware, a program module that performs some or all functions combined in one or a plurality of hardware by selectively combining some or all of the components. It may be implemented as a computer program having Codes and code segments constituting the computer program may be easily inferred by those skilled in the art of the present invention.
  • Such a computer program is stored in a computer-readable storage medium, and is read and executed by a computer, thereby implementing an embodiment of the present invention.
  • the storage medium of the computer program includes a magnetic recording medium, an optical recording medium, and a storage medium including a semiconductor recording element.
  • a computer program implementing an embodiment of the present invention includes a program module that is transmitted in real time through an external device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

전자기기 및 이의 제어 방법이 개시된다. 개시된 전자기기는 제1 외부 전자기기의 클럭 속도와 전자기기의 클럭 속도 간의 속도 차이값에 기초하여 제1 외부 전자기기에서 수신된 데이터를 리샘플링하고, 리샘플링된 데이터를 제2 외부 전자기기로 전송한다.

Description

전자기기 및 이의 제어 방법
본 발명은 제1 외부 전자기기에서 수신된 데이터를 제2 외부 전자기기로 전달할 때 발생하는 지연을 방지하는 전자기기 및 이의 제어 방법에 관한 것이다.
디스플레이 장치는 사용자가 시청할 수 있는 영상을 제공하는 기능을 갖춘 장치이다. 사용자는 디스플레이 장치를 통하여 방송을 시청할 수 있다. 디스플레이 장치는 방송국에서 송출되는 방송 신호 중 사용자가 선택한 방송을 제공하며, 이러한 방송 영상은 디스플레이에 표시된다. TV가 디스플레이 장치의 대표적인 일례이다.
디스플레이 장치는 외부 전자기기들과 연결될 수 있고, 하나의 외부 전자기기에서 수신된 데이터를 다른 외부 전자기기로 전달할 수 있다. 하지만, 외부 전자기기들 각각이 디스플레이 장치와 서로 다른 프로토콜을 통해 통신을 수행하는 경우, 프로토콜의 속도 차이로 인해 지연이 발생하는 문제점이 있다.
본 발명의 목적은 제1 외부 전자기기에서 수신된 데이터를 제2 외부 전자기기로 전달할 때 발생하는 지연을 방지하는 전자기기 및 이의 제어 방법을 제공하는 것이다.
또한, 본 발명의 목적은 클럭 소자의 성능 편차가 존재하는 경우에도 지연 없이 스트리밍을 수행할 수 있는 전자기기 및 이의 제어 방법을 제공하는 것이다.
본 발명의 목적들은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있고, 본 발명의 실시예에 의해 보다 분명하게 이해될 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.
본 발명의 일 실시예에 의한 전자기기 및 이의 제어 방법은 제1 외부 전자기기의 클럭 속도와 전자기기의 클럭 속도 간의 속도 차이값에 기초하여 제1 외부 전자기기에서 수신된 데이터를 리샘플링하고, 리샘플링된 데이터를 제2 외부 전자기기로 전송한다.
본 발명의 일 실시예에 의한 전자기기는 제1 외부 전자기기와 제1 프로토콜에 따른 통신을 수행하여 데이터를 수신하는 제1 통신부, 상기 수신된 데이터를 리샘플링(resampling)하는 리샘플러, 제2 외부 전자기기와 제2 프로토콜에 따른 통신을 수행하여 상기 리샘플링된 데이터를 전송하는 제2 통신부 및 상기 제2 외부 전자기기로의 데이터 전송 속도, 제1 시간값 및 제2 시간값에 기초하여 상기 리샘플링의 설정값을 산출하는 산출부를 포함한다. 이 때, 상기 제1 시간값은 제1 시점 및 제2 시점 각각에서의 상기 제1 외부 전자기기의 클럭 카운터값과, 상기 제1 외부 전자기기의 클럭 속도에 기초하여 산출되고, 상기 제2 시간값은 상기 제1 시점 및 상기 제2 시점 각각에서의 상기 전자기기의 클럭 카운터 값과, 상기 전자기기의 클럭 속도에 기초하여 산출된다.
본 발명의 다른 실시예에 의한 전자기기는 제1 외부 전자기기의 클럭과 동기화된 상태에서 제1 프로토콜에 기초하여 상기 제1 외부 전자기기로부터 데이터를 수신하는 제1 통신부, 상기 수신된 데이터를 리샘플링하는 리샘플러, 상기 전자기기의 클럭과 동기화된 상태에서 제2 프로토콜에 기초하여 제2 외부 전자기기로 상기 리샘플링된 데이터를 전송하는 제2 통신부 및 상기 제1 외부 전자기기의 클럭 속도와 상기 전자기기의 클럭 속도 간의 속도 차이값에 기초하여 상기 리샘플링의 설정값을 산출하는 산출부를 포함한다.
본 발명의 또 다른 실시예에 의한 전자기기의 제어 방법은 제1 통신부가 상기 제1 외부 전자기기와 제1 프로토콜에 따른 통신을 수행하여 데이터를 수신하는 단계, 산출부가 제2 외부 전자기기로의 데이터 전송 속도, 제1 시간값 및 제2 시간값에 기초하여 리샘플링의 설정값을 산출하는 단계, 리샘플러가 상기 리샘플링의 설정값에 기초하여 상기 수신된 데이터를 리샘플링하는 단계, 제2 통신부가 상기 제2 외부 전자기기와 제2 프로토콜에 따른 통신을 수행하여 상기 리샘플링된 데이터를 전송하는 단계를 포함한다. 이 때, 상기 제1 시간값은 제1 시점 및 제2 시점 각각에서의 상기 제1 외부 전자기기의 클럭 카운터값과, 상기 제1 외부 전자기기의 클럭 속도에 기초하여 산출되고, 상기 제2 시간값은 상기 제1 시점 및 상기 제2 시점 각각에서의 상기 전자기기의 클럭 카운터 값과, 상기 전자기기의 클럭 속도에 기초하여 산출된다.
본 발명에 따르면, 제1 외부 전자기기에서 수신된 데이터를 제2 외부 전자기기로 전달할 때 발생하는 지연을 방지할 수 있다.
또한, 본 발명에 따르면, 클럭 소자의 성능 편차가 존재하는 경우에도 지연 없이 스트리밍을 수행할 수 있다.
상술한 효과와 더불어 본 발명의 구체적인 효과는 이하 발명을 실시하기 위한 구체적인 사항을 설명하면서 함께 기술한다.
도 1은 본 발명의 일 실시예에 따른 디지털 장치의 개략적인 구성을 도시한 도면이다.
도 2는 클록 발생기의 동작의 개념을 설명하기 위한 도면이다.
도 3은 본 발명의 일 실시예에 따른 전자기기의 개략적인 구성을 도시한 도면이다.
도 4는 제1 외부 전자기기와 제2 외부 전자기기와 본 발명의 전자기기가 통신 연결된 개념을 도시한 도면이다.
도 5는 본 발명의 일 실시예에 따른 전자기기의 제어 방법의 흐름도를 도시한 도면이다.
도 6 및 도 7은 본 발명의 일 실시예에 따른 전자기기의 동작의 개념을 설명하기 위한 도면이다.
전술한 목적, 특징 및 장점은 첨부된 도면을 참조하여 상세하게 후술되며, 이에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 상세한 설명을 생략한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명하기로 한다. 도면에서 동일한 참조부호는 동일 또는 유사한 구성요소를 가리키는 것으로 사용된다.
비록, 제1, 제2 등이 다양한 구성요소들을 서술하기 위해서 사용되나, 이들 구성요소들은 이들 용어에 의해 제한되지 않음은 물론이다. 이들 용어들은 단지 하나의 구성요소를 다른 구성요소와 구별하기 위하여 사용하는 것으로, 특별히 반대되는 기재가 없는 한, 제1 구성요소는 제2 구성요소일 수도 있음은 물론이다.
또한 어떤 구성요소가 다른 구성요소에 "연결", "결합" 또는 "접속"된다고 기재된 경우, 상기 구성요소들은 서로 직접적으로 연결되거나 또는 접속될 수 있지만, 각 구성요소 사이에 다른 구성요소가 "개재"되거나, 각 구성요소가 다른 구성요소를 통해 "연결", "결합" 또는 "접속"될 수도 있는 것으로 이해되어야 할 것이다.
명세서 전체에서, 특별히 반대되는 기재가 없는 한, 각 구성요소는 단수일 수도 있고 복수일 수도 있다.
본 명세서에서 사용되는 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "구성된다" 또는 "포함한다" 등의 용어는 명세서 상에 기재된 여러 구성 요소들, 또는 여러 단계들을 반드시 모두 포함하는 것으로 해석되지 않아야 하며, 그 중 일부 구성 요소들 또는 일부 단계들은 포함되지 않을 수도 있고, 또는 추가적인 구성 요소 또는 단계들을 더 포함할 수 있는 것으로 해석되어야 한다.
명세서 전체에서, "A 및/또는 B" 라고 할 때, 이는 특별한 반대되는 기재가 없는 한, A, B 또는 A 및 B 를 의미하며, "C 내지 D" 라고 할 때, 이는 특별한 반대되는 기재가 없는 한, C 이상이고 D 이하인 것을 의미한다.
한편, 본 명세서에서 기술되는 디스플레이 장치는, 예컨대 방송 수신 기능에 컴퓨터 지원 기능을 추가한 지능형 디스플레이 장치로서, 방송 수신 기능에 충실하면서도 인터넷 기능 등이 추가되어, 수기 방식의 입력 장치, 터치 스크린 또는 공간 리모콘 등 보다 사용에 편리한 인터페이스를 갖출 수 있다. 그리고, 유선 또는 무선 인터넷 기능의 지원으로 인터넷 및 컴퓨터에 접속되어, 이메일, 웹브라우징, 뱅킹 또는 게임 등의 기능도 수행가능하다. 이러한 다양한 기능을 위해 표준화된 범용 OS가 사용될 수 있다.
따라서, 본 명세서에서 기술되는 디스플레이 장치는, 예를 들어 범용의 OS 커널 상에, 다양한 애플리케이션이 자유롭게 추가되거나 삭제 가능하므로, 사용자 친화적인 다양한 기능이 수행될 수 있다. 디스플레이 장치는, 보다 구체적으로 예를 들면, 네트워크 디스플레이 장치, HBB 디스플레이 장치, 스마트 디스플레이 장치, LED 디스플레이 장치, OLED 디스플레이 장치 등이 될 수 있으며, 경우에 따라 이동 단말기에도 적용 가능하다.
본 명세서에서 설명되는 이동 단말기에는 휴대폰, 스마트 폰(smart phone), 노트북 컴퓨터(laptop computer), 디지털 방송용 단말기, PDA(personal digital assistants), PMP(portable multimedia player), 네비게이션, 슬레이트 PC(slate PC), 태블릿 PC(tablet PC), 울트라북(ultrabook), 웨어러블 디바이스(wearable device, 예를 들어, 워치형 단말기 (smartwatch), 글래스형 단말기 (smart glass), HMD(head mounted display)) 등이 포함될 수 있다.
그러나, 본 명세서에 기재된 실시 예에 따른 구성은 이동 단말기에만 적용 가능한 경우를 제외하면, 디지털 디스플레이 장치, 데스크탑 컴퓨터, 디지털 사이니지 등과 같은 고정 단말기에도 적용될 수도 있음을 본 기술 분야의 당업자라면 쉽게 알 수 있을 것이다.
이하에서는, 본 발명의 몇몇 실시예에 따른 디스플레이 장치 및 이의 제어 방법을 설명하도록 한다.
도 1은 본 발명의 일 실시예에 따른 디지털 장치의 개략적인 구성을 도시한 도면이다.
도 1을 참조하면, 디지털 장치(100)는, 방송 수신부(110), 외부 장치 인터페이스부(120), 저장부(130), 사용자 인터페이스부(140), 디스플레이부(150), 오디오 출력부(160), 전원 공급부(170), 제어부(180)를 포함할 수 있다.
여기서, 방송 수신부(110)는 튜너(111), 복조부(112) 및 네트워크 인터페이스부(113)를 포함할 수 있다. 다만, 경우에 따라, 방송 수신부(110)는 튜너(111)와 복조부(112)는 구비하나 네트워크 인터페이스부(113)는 포함하지 않을 수 있으며 그 반대의 경우일 수도 있다.
또한, 방송 수신부(110)는 도시되진 않았으나, 다중화부(multiplexer)를 포함할 수 있다. 이 경우, 다중화부는 복조부(112)에서 복조된 신호와 네트워크 인터페이스부(113)를 통해 수신된 신호를 다중화할 수도 있다. 그 밖에, 방송 수신부(110)는 역시 도시되진 않았으나, 역다중화부(demultiplexer)를 포함할 수 있다. 역다중화부는 다중화된 신호를 역다중화하거나 복조부(112)에서 복조된 신호 또는 네트워크 인터페이스부(113)를 통해 수신된 신호를 역다중화할 수 있다.
튜너(111)는 특정 RF(Radio Frequency) 방송 신호를 튜닝한다. 특정 RF 방송 신호는 사용자에 의해 선택된 채널 또는 기 저장된 모든 채널와 대응된다. 또한, 튜너(111)는 RF 방송 신호를 중간 주파수(IF: Intermediate Frequency) 신호 혹은 베이스밴드(baseband) 신호로 변환한다.
예를 들어, 튜너(111)는 디지털 방송 신호인 RF 방송 신호를 디지털 IF 신호(DIF)로 변환하고, 아날로그 방송 신호인 RF 방송 신호를 아날로그 베이스밴드 영상 또는 음성 신호(CVBS/SIF)로 변환한다. 즉, 튜너(111)는 디지털 방송 신호 또는 아날로그 방송 신호를 모두 처리할 수 있다. 튜너(111)에서 출력되는 아날로그 베이스 밴드 영상 또는 음성 신호(CVBS/SIF)는 제어부(180)로 직접 입력될 수 있다.
또한, 튜너(111)는 싱글 캐리어(single carrier) 또는 멀티플 캐리어(multiple carrier)의 RF 방송 신호를 수신할 수 있다. 한편, 튜너(111)는 채널 기억 기능을 통하여 저장된 모든 방송 채널의 RF 방송 신호를 순차로 튜닝 및 수신하여 이를 중간 주파수 신호 혹은 베이스 밴드 신호로 변환할 수 있다.
복조부(112)는 튜너(111)에서 변환된 디지털 IF 신호를 수신하여 복조하고, 채널 복호화 등을 수행할 수 있다. 이를 위해 복조부(112)는 트렐리스 디코더(Trellis Decoder), 디인터리버(De-interleaver), 리드 솔로먼 디코더(Reed-Solomon Decoder) 등을 구비하거나, 컨벌루션 디코더(convolution decoder), 디인터리버 및 리드-솔로먼 디코더 등을 구비할 수 있다.
복조부(112)는 복조 및 채널 복호화를 수행한 후 스트림 신호(TS)를 출력할 수 있다. 이 때, 스트림 신호는 영상 신호, 음성 신호 또는 데이터 신호가 다중화된 신호일 수 있다. 일 예로, 스트림 신호는 MPEG-2 규격의 영상 신호, 돌비(Dolby) AC-3 규격의 음성 신호 등이 다중화된 MPEG-2 TS(Transport Stream)일 수 있다.
복조부(112)에서 출력한 스트림 신호는 제어부(180)로 입력될 수 있다. 제어부(180)는 역다중화, 영상/음성 신호 처리 등을 제어하고, 디스플레이부(150)를 통해 영상을, 오디오 출력부(160)를 통해 음성의 출력을 제어할 수 있다.
외부 장치 인터페이스부(120)는 디지털 장치(100)와 다양한 외부 디바이스 사이의 인터페이싱 환경을 제공한다.
외부 장치 인터페이스부(120)는, DVD(Digital Versatile Disk), 블루-레이(Blu-ray), 게임 디바이스, 카메라, 캠코더(Camcorder), 컴퓨터(노트북), 태블릿 PC, 스마트 폰, 블루투스 디바이스(Bluetooth device), 클라우드(Cloud) 등과 같은 외부 디바이스 등과 유/무선으로 접속될 수 있다. 외부 장치 인터페이스부(120)는 연결된 외부 디바이스를 통하여 입력되는 이미지, 영상, 음성 등 데이터를 포함한 신호를 제어부(180)로 전달한다. 제어부(180)는 처리된 이미지, 영상, 음성 등을 데이터 신호를 연결된 외부 디바이스로 출력되도록 제어할 수 있다. 이를 위해, 외부 장치 인터페이스부(120)는, A/V 입/출력부(미도시) 또는 무선 통신부(미도시)를 더 포함할 수 있다.
A/V 입/출력부는 외부 장치의 영상 및 음성 신호를 디지털 장치(100)로 입력할 수 있도록, USB 단자, CVBS(Composite Video Banking Sync) 단자, 컴포넌트 단자, S-비디오 단자(아날로그), DVI(Digital Visual Interface) 단자, HDMI(High Definition Multimedia Interface) 단자, RGB 단자, D-SUB 단자 등을 포함할 수 있다.
무선 통신부는, 다른 디지털 장치와 근거리 무선 통신을 수행할 수 있다. 디지털 장치(100)는 예를 들어, 블루투스(Bluetooth), RFID(Radio Frequency Identification), 적외선 통신(IrDA, infrared Data Association), UWB(Ultra Wideband), 지그비(ZigBee), DLNA(Digital Living Network Alliance) 등의 통신 프로토콜에 따라 다른 디지털 장치와 네트워크 연결될 수 있다.
또한, 외부 장치 인터페이스부(120)는 셋톱-박스(STB)와 상술한 각종 단자 중 적어도 하나를 통해 접속되고, 셋톱-박스(STB)와 입력/출력 동작을 수행할 수 있다.
한편, 외부 장치 인터페이스부(120)는 인접하는 외부 장치 내의 애플리케이션 또는 애플리케이션 목록(application list)을 수신하고, 이를 제어부(180) 또는 저장부(130)로 전달할 수 있다.
네트워크 인터페이스부(113)는 디지털 장치(100)를 유/무선 네트워크와 연결하기 위한 인터페이스를 제공한다. 네트워크 인터페이스부(113)는 유선 네트워크와의 접속을 위해 이더넷(Ethernet) 단자 등을 구비할 수 있으며, 무선 네트워크와의 접속을 위해 WLAN(Wireless LAN), Wi-Fi, Wibro(Wireless broadband), Wimax(World Interoperability for Microwave Access), HSDPA(High Speed Downlink Packet Access) 등의 통신 규격 등을 이용할 수 있다.
네트워크 인터페이스부(113)는 접속된 네트워크 또는 접속된 네트워크에 링크된 다른 네트워크를 통해, 다른 디지털 장치와 데이터를 송수신할 수 있다. 특히, 디지털 장치(100)에 저장된 일부의 컨텐트 데이터를 미리 등록된 다른 디지털 장치 중 선택된 디지털 장치에 송신할 수 있다.
한편, 네트워크 인터페이스부(113)는 접속된 네트워크 또는 접속된 네트워크에 링크된 다른 네트워크를 통해 소정 웹 페이지에 접속할 수 있다. 즉, 네트워크를 통해 소정 웹 페이지에 접속하고, 해당 서버와 데이터를 송신 또는 수신할 수 있다. 그 외, 컨텐트 프로바이더 또는 네트워크 운영자가 제공하는 컨텐트 또는 데이터들을 수신할 수 있다. 즉, 네트워크를 통하여 컨텐트 프로바이더 또는 네트워크 프로바이더로부터 제공되는 영화, 광고, 게임, VOD, 방송 신호 등의 컨텐트 및 그와 관련된 정보를 수신할 수 있다. 또한, 네트워크 운영자가 제공하는 펌웨어(firmware)의 업데이트 정보 및 업데이트 파일을 수신할 수 있다. 또한, 인터넷 또는 컨텐트 프로바이더 또는 네트워크 운영자에게 데이터들을 송신할 수 있다.
네트워크 인터페이스부(113)는 네트워크를 통해 공개(open)된 애플리케이션들 중 원하는 애플리케이션을 선택하여 수신할 수 있다.
저장부(130)는 제어부(180) 내의 각 신호 처리 및 제어를 위한 프로그램을 저장할 수 있고, 신호 처리된 영상, 음성 또는 데이터 신호를 저장할 수 있다.
저장부(130)는 외부 장치 인터페이스부(120) 또는 네트워크 인터페이스부(113)로부터 입력되는 영상, 음성, 또는 데이터 신호을 임시 저장할 수 있다. 저장부(130)는 채널 기억 기능을 통하여 소정 방송 채널에 관한 정보를 저장할 수 있다.
저장부(130)는 외부 장치 인터페이스부(120) 또는 네트워크 인터페이스부(330)로부터 입력되는 애플리케이션 또는 애플리케이션 목록을 저장할 수 있다.
저장부(130)는, 후술하여 설명하는 다양한 플랫폼(platform)을 저장할 수도 있다.
저장부(130)는, 예를 들어 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램(RAM), 롬(EEPROM 등) 중 적어도 하나의 타입의 저장매체를 포함할 수 있다. 디지털 장치(100)는 저장부(130) 내에 저장되어 있는 컨텐트 파일(동영상 파일, 정지영상 파일, 음악 파일, 문서 파일, 애플리케이션 파일 등)을 재생하여 사용자에게 제공할 수 있다.
한편, 저장부(130)는 제어부(180) 내에 포함될 수 있고, 제어부(180)와 별도로 구비될 수 있다.
사용자 입력 인터페이스부(140)는 사용자가 입력한 신호를 제어부(180)로 전달하거나 제어부(180)의 신호를 사용자에게 전달한다.
예를 들어, 사용자 입력 인터페이스부(140)는 RF 통신 방식, 적외선(IR) 통신 방식 등 다양한 통신 방식에 따라 원격제어 장치(190)와 연결되고, 원격제어 장치(190)에서 전송된 전원 온/오프, 채널 선택, 화면 설정 등의 제어 신호를 수신하여 처리하거나, 제어부(180)의 제어 신호를 원격제어 장치(500)로 송신할 수 있다. 또한, 사용자 입력 인터페이스부(140)는 전원 키, 채널 키, 볼륨 키, 설정치 등의 로컬 키(미도시)에서 입력되는 제어 신호를 제어부(180)에 전달할 수 있다.
사용자 입력 인터페이스부(140)는 사용자의 제스처(gesture)를 센싱하는 센싱부(미도시)로부터 입력되는 제어 신호를 제어부(180)에 전달하거나, 제어부(180)의 신호를 센싱부(미도시)로 송신할 수 있다. 여기서, 센싱부(미도시)는, 터치 센서, 음성 센서, 위치 센서, 동작 센서 등을 포함할 수 있다.
제어부(180)는, 튜너(111), 복조부(112) 또는 외부 장치 인터페이스부(120)를 통하여 입력되는 스트림을 역다중화하거나 역다중화된 신호들을 처리하여, 영상 또는 음성 출력을 위한 신호를 생성 및 출력할 수 있다.
제어부(180)에서 처리된 영상 신호는 디스플레이부(150)로 입력되어 해당 영상 신호에 대응하는 영상으로 표시될 수 있다. 또한, 제어부(180)에서 영상 처리된 영상 신호는 외부 장치 인터페이스부(120)를 통하여 외부 출력 장치로 입력될 수 있다.
제어부(180)에서 처리된 음성 신호는 오디오 출력부(160)로 오디오 출력될 수 있다. 또한, 제어부(180)에서 처리된 음성 신호는 외부 장치 인터페이스부(120)를 통하여 외부 출력 장치로 입력될 수 있다.
한편, 제어부(180)는 역다중화부, 영상 처리부 등을 포함할 수 있다.
제어부(180)는, 디지털 장치(100)의 전반적인 동작을 제어할 수 있다. 예를 들어, 제어부(180)는 사용자가 선택한 채널 또는 기 저장된 채널에 해당하는 RF 방송을 튜닝(tuning)하도록 튜너(111)를 제어할 수 있다.
제어부(180)는 사용자 입력 인터페이스부(140)를 통하여 입력된 사용자 명령 또는 내부 프로그램에 의하여 디지털 장치(100)를 제어할 수 있다. 특히, 네트워크에 접속하여 사용자가 원하는 애플리케이션 또는 애플리케이션 목록을 디지털 장치(100) 내로 다운로드 받을 수 있다.
예를 들어, 제어부(180)는 사용자 입력 인터페이스부(140)를 통하여 수신한 소정 채널 선택 명령에 따라 선택한 채널의 신호가 입력되도록 튜너(111)를 제어한다. 그리고 선택한 채널의 영상, 음성 또는 데이터 신호를 처리한다. 제어부(180)는 사용자가 선택한 채널 정보 등이 처리한 영상 또는 음성 신호와 함께 디스플레이부(150) 또는 오디오 출력부(160)를 통하여 출력될 수 있도록 제어한다.
다른 예로, 제어부(180)는 사용자 입력 인터페이스부(140)를 통하여 수신한 외부 장치 영상 재생 명령에 따라서, 외부 장치로부터의 영상 신호 또는 음성 신호가 디스플레이부(150) 또는 오디오 출력부(160)를 통해 출력될 수 있도록 제어한다.
한편, 제어부(180)는 영상을 표시하도록 디스플레이부(150)를 제어할 수 있다. 예를 들어, 튜너(111)를 통해 입력되는 방송 영상 또는 외부 장치 인터페이스부(120)를 통해 입력되는 외부 입력 영상 또는 네트워크 인터페이스부를 통해 입력되는 영상 또는 저장부(130)에 저장된 영상을 디스플레이부(150)에 표시하도록 제어할 수 있다. 이 때, 디스플레이부(150)에 표시되는 영상은 정지 영상 또는 동영상일 수 있으며, 2D 영상 또는 3D 영상일 수 있다.
또한, 제어부(180)는 컨텐트를 재생하도록 디스플레이부(150)를 제어할 수 있다. 이 때, 컨텐트는, 디지털 장치(100) 내에 저장된 컨텐트 또는 수신된 방송 컨텐트 또는 외부로부터 입력되는 외부 입력 컨텐트일 수 있다. 컨텐트는, 방송 영상, 외부 입력 영상, 오디오 파일, 정지 영상, 접속된 웹 화면 및 문서 파일 중 적어도 하나일 수 있다.
한편, 제어부(180)는 애플리케이션 보기 항목에 진입하는 경우, 디지털 장치(100) 내부 또는 외부 네트워크로부터 다운로드 가능한 애플리케이션 또는 애플리케이션 목록을 표시하도록 제어할 수 있다.
제어부(180)는 다양한 사용자 인터페이스와 더불어, 외부 네트워크로부터 다운로드 되는 애플리케이션을 설치 및 구동하도록 제어할 수 있다. 또한, 제어부(180)는 사용자의 선택에 의해 실행되는 애플리케이션에 관련된 영상이 디스플레이부(150)에 표시되도록 제어할 수 있다.
한편, 도면에 도시하지 않았지만, 채널 신호 또는 외부 입력 신호에 대응하는 썸네일 이미지를 생성하는 채널 브라우징 처리부가 더 구비되는 것도 가능하다.
채널 브라우징 처리부는 복조부(320)에서 출력한 스트림 신호(TS) 또는 외부 장치 인터페이스부(120)에서 출력한 스트림 신호 등을 입력받고, 입력되는 스트림 신호로부터 영상을 추출하여 썸네일 영상을 생성할 수 있다. 생성된 썸네일 영상은 그대로 또는 부호화되어 제어부(180)로 입력될 수 있다. 또한, 생성된 썸네일 영상은 스트림 형태로 부호화되어 제어부(180)로 입력되는 것도 가능하다. 제어부(180)는 입력된 썸네일 영상을 이용하여 복수의 썸네일 영상을 구비하는 썸네일 리스트를 디스플레이부(150)에 표시할 수 있다. 한편, 이러한 썸네일 리스트 내의 썸네일 영상들은 차례로 또는 동시에 업데이트 될 수 있다. 이에 따라 사용자는 복수의 방송 채널의 내용을 간편하게 파악할 수 있다.
디스플레이부(150)는 제어부(180)에서 처리된 영상 신호, 데이터 신호, OSD 신호 또는 외부 장치 인터페이스부(120)에서 수신되는 영상 신호, 데이터 신호 등을 각각 R, G, B 신호로 변환하여 구동 신호를 생성한다.
디스플레이부(150)는 PDP 디스플레이, LCD 디스플레이, OLED 디스플레이, 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display) 등일 수 있다.
한편, 디스플레이부(150)는 터치 스크린으로 구성되어 출력 장치 이외에 입력 장치로 사용되는 것도 가능하다.
오디오 출력부(160)는, 제어부(180)에서 음성 처리된 신호, 예를 들어, 스테레오 신호, 3.1 채널 신호 또는 5.1 채널 신호를 입력받아 음성으로 출력한다. 음성 출력부(160)는 다양한 형태의 스피커로 구현될 수 있다.
한편, 사용자의 제스처를 감지하기 위해, 상술한 바와 같이, 터치 센서, 음성 센서, 위치 센서, 동작 센서 중 적어도 하나를 구비하는 센싱부(미도시)가 디지털 장치(100)에 더 구비될 수 있다. 센싱부(미도시)에서 감지된 신호는 사용자입력 인터페이스부(140)를 통해 제어부(3180)로 전달될 수 있다.
한편, 사용자를 촬영하는 촬영부(미도시)가 더 구비될 수 있다. 촬영부(미도시)에서 촬영된 영상 정보는 제어부(180)에 입력될 수 있다.
제어부(180)는 촬영부(미도시)로부터 촬영된 영상, 또는 센싱부(미도시)로부터의 감지된 신호를 각각 또는 조합하여 사용자의 제스처를 감지할 수도 있다.
전원 공급부(170)는 디지털 장치(100)의 구성 요소들에 전원을 공급한다. 특히, 시스템 온 칩(SoC: System on Chip)의 형태로 구현될 수 있는 제어부(180)와, 영상 표시를 위한 디스플레이부(150)와 및 오디오 출력을 위한 오디오 출력부(160)에 전원을 공급할 수 있다.
이를 위해, 전원 공급부(170)는 교류 전원을 직류 전원으로 변환하는 컨버터(미도시)를 구비할 수 있다. 한편, 디스플레이부(150)가 다수의 백라이트 램프(backlight lamp)를 구비하는 액정 패널로서 구현되는 경우, 휘도 가변 또는 디밍(dimming) 구동을 위해, PWM(Pulse Width Modulation) 동작 가능한 인버터(inverter)(미도시)를 더 구비할 수도 있다.
디지털 장치(100)는, 고정형 또는 이동형의 ATSC 방식 또는 DVB 방식의 디지털 방송 신호의 처리가 가능한 디지털 방송 수신기일 수 있다.
그 밖에, 디지털 장치(100)는 도시된 구성 중 필요에 따라 일부 구성을 생략하거나 반대로 도시되진 않은 구성을 더 포함할 수도 있다. 한편, 디지털 장치(100)는 상술한 바와 달리, 튜너와 복조부를 구비하지 않고, 네트워크 인터페이스부 또는 외부 장치 인터페이스부를 통해서 컨텐트를 수신하여 재생할 수도 있다.
한편, 서로 다른 두 종류의 전자기기인 전자기기 A 및 전자기기 B는 스트리밍 방식으로 데이터를 송수신할 수 있다. 이 때, 서로 간에 약속된 속도로 데이터를 송수신하여야 정상적인 데이터의 처리가 가능하다. 이를 위해, 전자기기들은 내부에 장착된 클럭 발생기를 이용한다. 그러나, 클럭 발생기가 아무리 정교하게 만들어졌다 할지라도, 하드웨어의 부품의 특성상 성능 편차가 존재한다. 이는 도 2에 도시된 바와 같다.
도 2를 참조하면, 공정상 문제 등으로 인하여, 90khz의 클럭 속도(clock rate)로 클럭을 발생시키는 3개의 클럭 발생기는 동일 시간에서 서로 다른 개수의 클럭을 발생시킨다. 즉, 아무리 고성능이 클럭 발생기라 하더라도 동일 시간에 발생되는 클럭의 개수는 서로 상이할 수 밖에 없으며, 이종의 전자기기들이 서로 데이터를 송수신하는 경우 클럭의 불일치로 인해 통신 오류가 발생할 수 있다. 이러한 문제를 해결하기 위해, 하나의 전자기기가 다른 하나의 전자기기의 클럭에 동기화하여 데이터를 수신하는 방식을 사용한다.
이하, 상기에서 설명한 내용을 참고하여 본 발명의 일 실시예에 따른 전자기기 및 이의 제어 방법을 설명한다.
도 3은 본 발명의 일 실시예에 따른 전자기기의 개략적인 구성을 도시한 도면이다.
도 3을 참조하면, 전자기기(300)는 제1 외부 전자기기에서 수신된 데이터를 제2 외부 전자기기로 전송하는 기능을 수행하는 장치로서, 제1 통신부(310), 제2 통신부(320), 클럭 발생기(330), 리샘플러(340), 산출부(350), 버퍼(360) 및 제어부(370)를 포함한다.
한편, 전자기기(300)는 다스플레이 장치일 수 있으며, 일례로 TV일 수 있다. 이하, 설명의 편의를 위해 전자기기(300)를 TV로 가정하여 본 발명의 일례들을 설명하기로 한다. 그러나, 본 발명이 이에 한정되는 것은 아니다.
이하, 각 구성 요소 별로 그 기능을 상세하게 설명하기로 한다.
제1 통신부(310)는 제1 외부 전자기기와 제1 프로토콜에 따른 통신을 수행한다. 상기 통신의 수행에 따라서, 전자기기(300)는 데이터, 일례로 비디오 데이터 및 오디오 데이터를 제1 외부 전자기기로부터 수신된다. 한편, 제1 외부 전자기기는 제1 통신부(310)와 대응되는 통신 모듈을 포함한다.
제2 통신부(320)는 제2 외부 전자기기와 제2 프로토콜에 따른 통신을 수행한다. 상기 통신의 수행에 따라서, 전자기기(300)는 데이터, 일례로 비디오 데이터 및 오디오 데이터를 제2 외부 전자기기로 전송한다. 한편, 제2 외부 전자기기는 제2 통신부(320)와 대응되는 통신 모듈을 포함한다.
여기서, 제1 프로토콜과 제2 프로토콜은 서로 다른 규격의 프로토콜일 수 있다. 그리고, 제1 프로토콜과 제2 프로토콜는 유선 통신에 적용되는 프로토콜일 수 있다.
일례로서, 도 4를 참조하면, 전자기기(300)가 TV인 경우, 제1 외부 전자기기(410)는 블루레이 재생기일 수 있고, 제2 외부 전자기기(420)는 외부 스피커일 수 있다. 그리고, 블루레이 재생기와 TV의 통신에 사용되는 제1 프로토콜은 HDMI(High Definition Multimedia Interface) 프로토콜일 수 있고, TV와 외부 스피커의 통신에 사용되는 제2 프로토콜은 USB(Universal Serial Bus) 프로토콜일 수 있다. 또한, 제1 통신부(310)는 TV에 장착된 HDMI 인터페이스를 포함하는 HDMI 통신부일 수 있고, 제2 통신부(310)는 TV에 장착된 USB 인터페이스를 포함하는 USB 통신부일 수 있다.
클럭 발생기(330)는 전자기기(300)가 동작하는데 필요한 클럭을 발생시킨다. 한편, 제1 외부 전자기기 및 제2 외부 전자기기에도 클럭 발생기가 포함될 수 있다.
일례로, 클럭 주파수가 90Khz인 경우, 클럭 발생기(330)는 0 또는 1의 펄스를 하나의 주기 별로 1초 동안 90000번 발생시키는 장치이다.
한편, 제1 프로토콜에 따른 통신 시 제1 외부 전자기기와 전자기기(300)은 제1 외부 전자기기의 클럭을 기준으로 동기화된다. 즉, 전자기기(300)는 제1 외부 전자기기의 클럭의 정보를 참조하여 제1 프로토콜에 따른 통신을 수행한다. 그리고, 제2 프로토콜에 따른 통신 시 전자기기(300)와 제2 외부 전자기기는 전자기기(300)의 클럭을 기준으로 동기화된다. 즉, 제2 외부 전자기기는 전자기기(300)의 클럭의 정보를 참조하여 제2 프로토콜에 따른 통신을 수행한다.
리샘플러(340)는 제1 외부 전자기기에서 수신된 데이터를 리샘플링한다.
일례로, 수신된 데이터는 영상 데이터 및 오디오 데이터가 샘플링된 데이터이고, 리샘플러(340)는 오디오 데이터를 리샘플링할 수 있다.
리샘플링은 샘플링된 데이터를 복원한 후 설정값을 변경하여 다시 샘플링하는 것을 의미한다. 아래에서 설명하는 바와 같이, 리샘플링을 통해 스트리밍되는 데이터의 용량이 조절될 수 있다.
산출부(350)는 리샘플링하는데 필요한 설정값을 산출한다. 여기서, 설정값은 리샘플링의 주기값을 포함할 수 있다.
본 발명의 일 실시예에 따르면, 산출부(340)는 제1 외부 전자기기의 클럭 속도와 전자기기(300)의 클럭 속도 간의 속도 차이값에 기초하여 리샘플링의 설정값을 산출할 수 있다.
이 때, 빠르고 정확하게 클럭 속도 간의 속도 차이값을 산출하기 위해, 산출부(340)는 제2 외부 전자기기로의 데이터 전송 속도, 제1 시간값 및 제2 시간값에 기초하여 리샘플링의 설정값을 산출할 수 있다.
여기서, 제1 시간값은 제1 시점 및 제2 시점 각각에서의 제1 외부 전자기기의 클럭 카운터값과, 제1 외부 전자기기의 클럭 속도에 기초하여 산출될 수 있다. 한편, 전자기기(300)는 앞서 언급한 바와 같이 제1 외부 전자기기의 클럭과 관련된 정보를 알 수 있으므로, 상기한 동작의 수행이 가능하다. 그리고, 제2 시간값은 제1 시점 및 제2 시점 각각에서의 전자기기(300)의 클럭 카운터 값과, 전자기기(300)의 클럭 속도에 기초하여 산출될 수 있다. 이는 아래에서 보다 상세하게 설명하기로 한다.
버퍼(360)는 리샘플링된 데이터를 저장한다. 제2 통신부(320)는 버퍼(360)에 저장된 리샘플링된 데이터를 제2 외부 전자기기로 전송한다.
한편, 버퍼(360)는 데이터가 저장되는 양과 관련되는 기준값이 존재하며, 산출부(350)는 버퍼(360)의 기준값을 모니터링하여 상기 산출된 리샘플링의 설정값을 미세 조정할 수 있다. 이 역시 아래에서 보다 상세하게 설명하기로 한다.
제어부(370)는 전자기기(300) 내의 다른 구성 요소들의 동작을 제어한다.
한편, 리샘플러(340), 산출부(350) 및 제어부(370) 중 적어도 하나는 전자기기(300)에 포함된 프로세서 내에서 모듈로서 구현될 수 있다. 여기서, 프로세서는 중앙처리장치(CPU), 애플리케이션 프로세서, 또는 커뮤니케이션 프로세서 중 하나 또는 그 이상을 포함할 수 있다. 그리고, 모듈은 본 발명의 기술적 사상을 수행하기 위한 하드웨어 및 하드웨어를 구동하기 위한 소프트웨어의 기능적, 구조적 결합을 의미할 수 있다. 예컨대, 모듈은 소정의 코드 및 소정의 코드가 수행되기 위한 하드웨어 리소스의 논리적인 단위를 의미할 수 있다.
상기에서 설명한 내용을 참조하여, 본 발명에 따른 전자기기(300)를 설명하면 다음과 같다.
전자기기(300)는 제1 외부 전자기기에서 수신된 데이터를 제2 외부 전자기기로 전송하는 기능을 수행하는 장치이다. 이 때, 제1 외부 전자기기와 전자기기(300)가 사용하는 프로토콜(제1 프로토콜)과, 전자기기(300)와 제2 외부 전자기기가 사용하는 프로토콜(제2 프로토콜)이 서로 다를 수 있다. 이 경우, 제1 외부 전자기기와 전자기기(300)가 송수신하는 데이터를 실시간으로 제2 외부 전자기기로 전달하는 과정에서 속도 차이가 발생할 수 있다. 즉, 제2 외부 전자기기는 전자기기(300)의 클럭 속도에 동기화되고, 전자기기(300)는 제1 외부 전자기기의 클럭 속도에 동기화되므로, 데이터의 전달 과정에서 속도 차이가 발생할 수 있다. 이에 따라, 제1 외부 전자기기의 클럭과 제2 외부 전자기기의 클럭의 차이로 인해 데이터의 스트리밍 과정에서 오류가 발생할 수 있다.
일례로, 전자기기(300)는 블루레이 재생기에서 전송된 오디오 데이터를 외부 스피커로 스트리밍하는 TV인 것으로 가정한다. 이 때, 블루레이 재생기와 TV는 HDMI 프로토콜을 통해 통신 연결되고, 외부 스피커와 TV는 USB 프로토콜을 통해 통신 연결된다. 이 경우, USB 프로토콜의 동기화 방식에 따라서 외부 스피커는 TV의 클럭에 동기화되지만, 실제로 TV가 전달하는 오디오 데이터는 HDMI 프로토콜에 의해 블루레이 재생기의 클럭에 동기화된 속도로 전달된다.
따라서, 세 개의 서로 다른 기기들이 오디오 데이터를 스트리밍하는 과정에서, 오디오 데이터를 전달하기 위해 만들어진 버퍼(360)는 속도 편차에 따라서 언더 런(under run) 상태 또는 오버 런(over run) 상태가 된다. 그리고, 제1 외부 전자기기의 클럭과 제2 외부 전자기기의 클럭의 차이로 인해 데이터의 스트리밍 과정에서 오류가 발생할 수 있다.
따라서, 본 발명에 따른 전자기기(300)는 제1 외부 전자기기의 클럭 속도와 전자기기(300)의 클럭 속도 간의 속도 차이값에 기초하여 제1 외부 전자기기에서 수신된 데이터를 리샘플링하고, 리샘플링된 데이터를 제2 외부 전자기기로 전송한다. 이에 따라, 오류가 없는 스트리밍 구현이 가능하다.
이하, 전자기기(300)가 데이터, 특히 오디오 데이터를 제1 외부 전자기기를 제2 외부 전자기기로 스트리밍하는 동작을 보다 상세하게 설명하기로 한다.
도 5는 본 발명의 일 실시예에 따른 전자기기(300)의 제어 방법의 흐름도를 도시한 도면이다.
여기서, 전자기기(300)의 제어 방법은 제1 외부 전자기기에서 수신된 데이터를 제2 외부 전자기기로 전송하는 전자기기(300)의 동작을 제어하는 방법일 수 있다.
한편, 상기에서도 언급한 바와 같이, 전자기기(300)는 데이터를 수신하기 위해 제1 외부 전자기기의 클럭에 동기화되고, 따라서 전자기기(300)는 제1 외부 전자기기의 클럭 발생기의 클록 카운트값을 알 수 있는 것으로 가정한다. 그리고, 제1 외부 전자기기의 클럭 발생기 및 전자기기(300)의 클럭 발생기(330)에서 발생하는 클럭의 카운트값은 계속해서 증가하고 있으며, 전자기기(300)는 필요한 시점에 카운트값을 조회할 수 있는 것으로 가정한다.
이하, 각 단계 별로 수행되는 과정을 설명한다.
단계(S510)에서, 제1 통신부(310)는 제1 외부 전자기기로부터 데이터를 수신한다.
이 때, 제1 통신부(310)는 제1 프로토콜에 기초한 통신을 통해 데이터를 수신할 수 있다. 또한, 수신된 데이터는 샘플링된 데이터일 수 있다.
단계(S520)에서, 산출부(350)는 리샘플러(340)의 설정값을 산출한다.
여기서, 리샘플러(340)의 설정값은 리샘플링의 주기값과 대응될 수 있다.
한편, 리샘플링의 주기값이 변경되는 경우 데이터의 크기가 변경될 수 있다. 일례로, 리샘플링의 주기값이 수신된 원래의 데이터의 샘플링의 주기값보다 큰 경우, 리샘플링된 데이터의 크기는 원래의 데이터의 크기보다 크다. 반대로, 리샘플링의 주기값이 수신된 원래의 데이터의 샘플링의 주기값보다 작은 경우, 리샘플링된 데이터의 크기는 원래의 데이터의 크기보다 작다.
본 발명의 일 실시예에 따르면, 산출부(350)는 제1 외부 전자기기의 클럭 속도와 전자기기(300)의 클럭 속도 간의 속도 차이값에 기초하여 리샘플링의 설정값을 설정할 수 있다. 이는 아래에서 보다 상세하게 설명하기로 한다.
단계(S530)에서, 리샘플러(340)는 산출된 설정값에 기초하여 수신된 데이터를 리샘플링한다.
리샘플링된 데이터는 버퍼(360)에 저장될 수 있다.
한편, 저장된 데이터의 양에 따라 버퍼(360)의 상태는 언더 런 상태일 수도 있고, 오버 런 상태일 수 있다. 여기서, 오버 런 상태는 버퍼(360)에 저장된 리샘플링된 데이터가 기준값 이상 저장되어 있는 상태이고, 언더 런 상태는 버퍼(360)에 저장된 리샘플링된 데이터가 기준값 이하로 저장되어 있는 상태이다. 일례로, 기준값은 버퍼(360)의 용량의 절반값일 수 있다.
단계(S540)에서, 제2 통신부(320)는 제2 외부 전자기기로 리샘플링된 데이터를 전송한다.
이 때, 제2 통신부(320)는 제2 프로토콜에 기초한 통신을 통해 데이터를 전송할 수 있다.
정리하면, 리샘플링의 수행을 통해 전자기기(300)에서 전송되는 데이터의 크기가 변경되고, 전자기기(300)는 리샘플링된 데이터를 제2 외부 전자기기로 전송한다. 따라서, 세 개의 서로 다른 전자기기가 서로 다른 시간 기준을 가지고 있음에도 불구하고 데이터의 스트리밍의 문제가 발생하지 않는다. 이를 통해, 사용자는 끊김없는 오디오를 청취할 수 있다.
한편, 도 5의 각 단계들은 순서와 무관하게 수행될 수 있으며, 각 단계들이 동시에 수행될 수도 있다. 또한, 각 단계들의 동작은 하드웨어 및 소프트웨어로 모두 구현 가능할 수 있다.
한편, 앞서 언급한 바와 같이, 산출부(350)는 제1 외부 전자기기의 클럭 속도와 전자기기(300)의 클럭 속도 간의 속도 차이값에 기초하여 리샘플링의 설정값을 설정할 수 있다.
이 때, 제1 외부 전자기기의 클럭 속도와 전자기기(300)의 클럭 속도 간의 속도 차이값은 전자기기(300)가 제2 외부 전자기기로 데이터를 전송하는 속도, 제1 시간값 및 제2 시간값에 기초하여 산출될 수 있다.
여기서, 제1 시간값은 제1 시점에서의 제1 외부 전자기기의 클럭 카운터값과, 제2 시점에서의 제1 외부 전자기기의 클럭 카운터값과, 제1 외부 전자기기의 클럭 속도에 기초하여 산출될 수 있다. 일례로서, 제1 시간값은 제1 시점에서의 제1 외부 전자기기의 클럭 카운터값과 제2 시점에서의 제1 외부 전자기기의 클럭 카운터값의 차이값을 제1 외부 전자기기의 클럭 속도로 나눈 값과 대응될 수 있다.
그리고, 제2 시간값은 제1 시점에서의 전자기기(300)의 클럭 카운터값과, 제2 시점에서의 전자기기(300)의 클럭 카운터값과, 전자기기(300)의 클럭 속도에 기초하여 산출될 수 있다. 일례로서, 제2 시간값은 제1 시점에서의 전자기기(300)의 클럭 카운터값과 제2 시점에서의 전자기기(300)의 클럭 카운터값의 차이값을 전자기기(300)의 클럭 속도로 나눈 값과 대응될 수 있다.
제1 시간값, 제2 시간값 및 리샘플링의 설정값 각각은 아래의 수학식들과 같이 표현될 수 있다.
Figure PCTKR2019014460-appb-M000001
Figure PCTKR2019014460-appb-M000002
Figure PCTKR2019014460-appb-M000003
여기서, A는 제1 외부 전자기기, B는 전자기기(300), Atime는 제1 시간값, Acount,t1는 제1 시점에서의 제1 외부 전자기기의 클럭 카운터값, Acount,t2는 제2 시점에서의 제1 외부 전자기기의 클럭 카운터값, Aclockrate는 제1 외부 전자기기의 클럭 속도, Btime는 제2 시간값, Bcount,t1는 제1 시점에서의 전자기기(300)의 클럭 카운터값, Bcount,t2는 제2 시점에서의 전자기기(300)의 클럭 카운터값, Bclockrate는 전자기기(300)의 클럭 속도, Set_valueresample는 리샘플링의 설정값을 각각 의미한다.
상기의 설명을 참조하면, 제1 시간값(Atime)과 제2 시간값(Btime)은 유사하지만 서로 다른 값을 가질 수 있고, 두 값의 차는 제1 외부 전자기기의 클럭 발생기와 전자기기(300)의 클록 발생기(330)가 가지는 편차와 대응된다. 제1 시간값과 제2 시간값를 통해 제1 외부 전자기기와 전자기기(300) 간의 시간 편차율이 산출될 수 있고, 산출된 시간 편차율이 리샘플링의 설정값일 수 있다. 따라서, 전자기기(300)는 전자기기(300)의 시간 기준으로 재구성된 데이터를 제2 외부 전자기기에 전달할 수 있다.
일례로서, 제1 외부 전자기기의 클럭 발생기의 클럭 주파수가 90khz이고, 전자기기(300)의 클록 발생기(330)의 클럭 주파수가 48khz라고 가정한다. 이 때, 제1 시점에서, 제1 외부 전자기기의 클럭 카운터값이 1710012이고, 전자기기(300)의 클럭 카운트값이 5811003인 것으로 가정한다. 그리고, 제1 시점으로부터 10초 후의 시점인 제2 시점에서, 제1 외부 전자기기의 클럭 카운터값이 2610068이고, 전자기기(300)의 클럭 카운트값이 6291003인 것으로 가정한다.
이 경우, 산출부(350)는, 제1 시간값을 10.00062222로 산출하고, 제2 시간값을 10.00000000로 산출한다. 이에 따라, 제1 외부 전자기기와 전자기기(300)의 클럭 편차 비율이 산출된다.
이 때, 제1 외부 전자기기에서 전자기기(300)로 스트리밍되는 데이터의 속도가 전자기기(300)에서 제2 외부 전자기기로 스트리밍되는 데이터의 속도보다 약간 빠르다. 이러한 상태로 데이터, 일례로 오디오 데이터의 스트리밍이 지속될 경우, 전자기기(300) 내의 버퍼(360)는 오버 런 상태가 된다.
따라서, 산출부(350)는 데이터를 상기의 수학식 3에 기초하여 리샘플링함으로써 데이터의 크기를 변경하며, 이에 따라 버퍼(360)에 저장된 데이터의 양이 조절된다. 따라서, 버퍼(360)의 오버 런 상태 및 언더 런 상태가 방지된다. 그리고, 데이터가 오디오 데이터인 경우, 사용자는 끊김없는 오디오를 청취할 수 있다.
한편, 상기한 단계(S520)을 통해 산출된 리샘플러의 설정값은 실제 속도 차이에 근접한 값일 수 있지만, 완벽한 값은 아니다.
즉, 전자기기(300)는 통신 동작 이외에 다른 서비스 동작 역시 수행할 수 있으며, 상기한 다른 서비스 동작에 따라서 제1 외부 전자기기 및 전자기기(300) 각각의 클럭 카운트값의 조회 시 지연이 발생할 수 있다. 지연 구간에서도 카운트값이 증가하므로, 최종적으로 산출된 리샘플링의 설정값에 오차가 발생할 수 있다. 또한, 수학식 3을 참조하면, Btime / Atime의 값은 정수값일 수도 있지만 정수값이 아닌 값일 수도 있다. 만약 정수값이 아닌 경우, Btime / Atime의 값의 하위의 소수점 값은 버려지고, 최종적으로 산출된 리샘플링의 설정값에 오차가 발생할 수 있다.
상기한 첫번째 문제점을 해결하기 위해, 본 발명의 일 실시예에 따르면, 산출부(350)는 리샘플링의 설정값의 산출의 동작을 복수 회 반복하여 리샘플링의 설정값을 업데이트할 수 있다.
보다 상세하게, 클록 속도가 90Khz인 전자기기의 클록 카운트값을 1초 간격으로 조회하는 경우, 이상적으로는 제1 시점에서는 클록 카운트값이 90000으로 조회되고, 제2 시점에서는 클록 카운트값이 18000으로 조회되고, 제3 시점에서는 클록 카운트값이 27000으로 조회된다.
그러나, 실제 동작 환경에서는 시스템의 부하 혹은 다른 환경적인 원인으로 인하여 이상적인 값이 조회되지 않고, 오차가 발생한 값이 조회될 수 있다.
일례로, 도 6에서 도시된 바와 같이 오차가 발생한 클록 카운트값이 조회될 수 있다. 이 경우, 제1 시점에서는 클록 카운트값이 89997으로 조회되고, 제2 시점에서는 클록 카운트값이 180002으로 조회되고, 제3 시점에서는 클록 카운트값이 270000으로 조회된다. 그리고, 각 시점에서의 시간값은 아래의 수학식 4 내지 6과같이 표현될 수 있다.
Figure PCTKR2019014460-appb-M000004
Figure PCTKR2019014460-appb-M000005
Figure PCTKR2019014460-appb-M000006
하지만, Atime, Btime, Ctime를 모두 합산하는 경우, 3.0000000000000000000000000000001 이 되고, 이 값은 이상적인 값과 유사하다.
하나의 주기에서 조회한 클럭 카운트값만을 사용하는 경우 오차가 포함된 시간값이 산출된다. 하지만, 상기한 동작을 주기적으로 반복하여 리샘플링의 설정값을 업데이트하는 경우 오차가 줄어든다. 따라서, 산출부(350)는 리샘플링의 설정값의 산출의 동작을 복수 회 반복하여 리샘플링의 설정값을 업데이트할 수 있다.
또한, 상기한 두번째 문제점을 해결하기 위해, 본 발명의 일 실시예에 따르면, 산출부(350)는 버퍼(360)를 모니터링하여 상기 산출된 리샘플링의 설정값을 미세 조정할 수 있다.
보다 상세하게, 정수값이 아닌 Btime / Atime의 값이 입력되는 경우, 하위의 소수점 값은 버려지고, 버려진 소수점의 값이 장시간 동안 누적되는 경우 버퍼(360)는 오버 런 상태 또는 언더 런 상태가 된다.
따라서, 산출부(350)는 버퍼(360)의 상태를 지속적으로 모니터링함으로써 버퍼(360)가 오버 런 상태 또는 언더 런 상태인지를 판단하고, 이에 기초하여 리샘플링의 설정값을 미세 조정할 수 있다.
즉, 산출부(350)는 리샘플링의 설정값의 산출 시의 버퍼(360)에 저장된 리샘플링된 데이터의 양을 모니터링한다. 이 때, 버퍼(360)에 저장된 리샘플링된 데이터의 양이 오버 런 상태인 경우, 산출된 리샘플링의 설정값을 감소시키도록 미세 조정할 수 있다. 그리고, 버퍼(360)에 저장된 리샘플링된 데이터의 양이 언더 런 상태인 경우, 산출된 리샘플링의 설정값을 감소시키도록 미세 조정할 수 있다.
여기서, 기 정의된 기본 단위에 기초하여 리샘플링의 설정값이 산출되고, 미세 조정의 동작은 설정값의 기본 단위를 1만큼 증가시키거나 감소시키는 동작일 수 있다.
한편, 도 7을 참조하여 버퍼(360)의 상태를 모니터링하는 동작의 개념을 설명한다.
제1 프로토콜에 따라서 버퍼(360)에 데이터를 기록(write)하는 과정은 기록 주기 및 기록될 데이터의 크기에 영향을 받는다. 또한, 제2 프로토콜에 따라서 버퍼(360)에 기록됙 데이터를 독출(read)하는 과정 역시 독출 주기 및 독출될 데이터의 크기에 영향을 받는다.
따라서, 버퍼(360)에서 데이터가 기록되는 주기 및 데이터의 크기는 데이터가 독출되는 주기 및 데이터의 크기와 다르다. 이는 도 7에 도시된 바와 같다. 그리고, 실시간으로 데이터가 기록되고 독출되는 경우, 버퍼(360)에 저장된 데이터의 양은 도 7의 중간에 도시된 그래프와 같다. 버퍼(360)에 저장된 데이터가 실시간으로 변동되는 경우, 기록 속도 및 독출 속도의 속도 차이를 단시간 내에 파악하는 것은 불가능하다,
그러나, 본 발명의 경우, 산출부(350)는 버퍼(360)의 기준값을 설정하여 모니터링함으로써, 버퍼(360)의 상태가 오버 런 상태인지 언더 런 상태인지를 빠른 시간 내에 파악할 수 있다.
요컨대, 본 발명의 전자기기(300) 및 이의 제어 방법은 제1 외부 전자기기에서 수신된 데이터를 제2 외부 전자기기로 전달할 때 발생하는 지연을 방지할 수 있다. 그리고, 클럭 소자의 성능 편차가 존재하는 경우에도 본 발명의 전자기기(300) 및 이의 제어 방법은 지연 없이 스트리밍을 수행할 수 있다.
또한, 본 발명의 실시예를 구성하는 모든 구성 요소들이 하나로 결합되거나 결합되어 동작하는 것으로 설명되었다고 해서, 본 발명이 반드시 이러한 실시예에 한정되는 것은 아니며, 본 발명의 목적 범위 내에서 모든 구성 요소들이 하나 이상으로 선택적으로 결합하여 동작할 수도 있다. 또한, 그 모든 구성 요소들이 각각 하나의 독립적인 하드웨어로 구현될 수 있지만, 각 구성 요소들의 그 일부 또는 전부가 선택적으로 조합되어 하나 또는 복수 개의 하드웨어에서 조합된 일부 또는 전부의 기능을 수행하는 프로그램 모듈을 갖는 컴퓨터 프로그램으로서 구현될 수도 있다. 그 컴퓨터 프로그램을 구성하는 코드들 및 코드 세그먼트들은 본 발명의 기술 분야의 당업자에 의해 용이하게 추론될 수 있을 것이다. 이러한 컴퓨터 프로그램은 컴퓨터가 읽을 수 있는 저장매체(Computer Readable Media)에 저장되어 컴퓨터에 의하여 읽혀지고 실행됨으로써, 본 발명의 실시예를 구현할 수 있다. 컴퓨터 프로그램의 저장매체로서는 자기 기록매체, 광 기록매체, 반도체 기록소자를 포함하는 저장매체를 포함한다. 또한 본 발명의 실시예를 구현하는 컴퓨터 프로그램은 외부의 장치를 통하여 실시간으로 전송되는 프로그램 모듈을 포함한다.
이상과 같이 본 발명에 대해서 예시한 도면을 참조로 하여 설명하였으나, 본 명세서에 개시된 실시 예와 도면에 의해 본 발명이 한정되는 것은 아니며, 본 발명의 기술사상의 범위 내에서 통상의 기술자에 의해 다양한 변형이 이루어질 수 있음은 자명하다. 아울러 앞서 본 발명의 실시 예를 설명하면서 본 발명의 구성에 따른 작용 효과를 명시적으로 기재하여 설명하지 않았을 지라도, 해당 구성에 의해 예측 가능한 효과 또한 인정되어야 함은 당연하다.

Claims (16)

  1. 제1 외부 전자기기에서 수신된 데이터를 제2 외부 전자기기로 전송하는 전자기기에 있어서,
    상기 제1 외부 전자기기와 제1 프로토콜에 따른 통신을 수행하여 데이터를 수신하는 제1 통신부;
    상기 수신된 데이터를 리샘플링(resampling)하는 리샘플러;
    상기 제2 외부 전자기기와 제2 프로토콜에 따른 통신을 수행하여 상기 리샘플링된 데이터를 전송하는 제2 통신부; 및
    상기 제2 외부 전자기기로의 데이터 전송 속도, 제1 시간값 및 제2 시간값에 기초하여 상기 리샘플링의 설정값을 산출하는 산출부;를 포함하되,
    상기 제1 시간값은 제1 시점 및 제2 시점 각각에서의 상기 제1 외부 전자기기의 클럭 카운터값과, 상기 제1 외부 전자기기의 클럭 속도에 기초하여 산출되고, 상기 제2 시간값은 상기 제1 시점 및 상기 제2 시점 각각에서의 상기 전자기기의 클럭 카운터 값과, 상기 전자기기의 클럭 속도에 기초하여 산출되는, 전자기기.
  2. 제1항에 있어서,
    상기 리샘플링의 설정값은 상기 리샘플링의 주기값를 포함하는, 전자기기.
  3. 제1항에 있어서,
    상기 제1 외부 전자기기와 상기 전자기기는 상기 제1 외부 전자기기의 클럭에 기반하여 서로 동기화되고,
    상기 전자기기와 상기 제2 외부 전자기기는 상기 전자기기의 클럭에 기반하여 서로 동기화되는, 전자기기.
  4. 제1항에 있어서,
    상기 제1 시간값은 상기 제1 시점에서의 상기 제1 외부 전자기기의 클럭 카운터값과 상기 제2 시점에서의 상기 제1 외부 전자기기의 클럭 카운터값의 차이값을 상기 제1 외부 전자기기의 클럭 속도로 나눈 값과 대응되는, 전자기기.
  5. 제1항에 있어서,
    상기 제2 시간값은 상기 제2 시점에서의 상기 전자기기의 클럭 카운터값과 상기 제2 시점에서의 상기 전자기기의 클럭 카운터값의 차이값을 상기 전자기기의 클럭 속도로 나눈 값과 대응되는, 전자기기.
  6. 제1항에 있어서,
    상기 데이터는 오디오 데이터인, 전자기기.
  7. 제1항에 있어서,
    상기 산출부는 상기 리샘플링의 설정값의 산출의 동작을 복수 회 반복하여 상기 리샘플링의 설정값을 업데이트하는, 전자기기.
  8. 제1항에 있어서,
    상기 리샘플링된 데이터를 저장하는 버퍼;를 더 포함하는, 전자기기.
  9. 제8항에 있어서,
    상기 산출부는 상기 버퍼를 모니터링하여 상기 산출된 리샘플링의 설정값을 미세 조정하는, 전자기기.
  10. 제9항에 있어서,
    상기 산출부는,
    상기 리샘플링의 설정값의 산출 시의 상기 버퍼에 저장된 상기 리샘플링된 데이터의 양을 모니터링하고,
    상기 저장된 리샘플링된 데이터의 양이 오버 런 상태인 경우 상기 산출된 리샘플링의 설정값을 감소시키도록 미세 조정하고,
    상기 저장된 리샘플링된 데이터의 양이 언더 런 상태인 경우 상기 산출된 리샘플링의 설정값을 감소시키도록 미세 조정하는, 전자기기.
  11. 제10항에 있어서,
    상기 오버 런 상태는 상기 버퍼에 상기 리샘플링된 데이터가 기준값 이상 저장되어 있는 상태이고,
    상기 언더 런 상태는 상기 버퍼에 상기 리샘플링된 데이터가 기준값 이하로 저장되어 있는 상태인, 전자기기.
  12. 제9항에 있어서,
    기 정의된 기본 단위에 기초하여 상기 리샘플링의 설정값이 산출되고,
    상기 미세 조정의 동작은 상기 기본 단위를 1만큼 증가시키거나 감소시키는 동작인, 전자기기.
  13. 제1항에 있어서,
    상기 제1 프로토콜 및 상기 제2 프로토콜은 유선 통신에 적용되는 프로토콜이고, 상기 전자기기는 영상 표시 장치와 대응되는, 전자기기.
  14. 제1 외부 전자기기에서 수신된 데이터를 제2 외부 전자기기로 전송하는 전자기기에 있어서,
    상기 제1 외부 전자기기의 클럭과 동기화된 상태에서 제1 프로토콜에 기초하여 상기 제1 외부 전자기기로부터 데이터를 수신하는 제1 통신부;
    상기 수신된 데이터를 리샘플링하는 리샘플러;
    상기 전자기기의 클럭과 동기화된 상태에서 제2 프로토콜에 기초하여 상기 제2 외부 전자기기로 상기 리샘플링된 데이터를 전송하는 제2 통신부; 및
    상기 제1 외부 전자기기의 클럭 속도와 상기 전자기기의 클럭 속도 간의 속도 차이값에 기초하여 상기 리샘플링의 설정값을 산출하는 산출부;를 포함하는, 전자기기.
  15. 제14항에 있어서,
    상기 제1 외부 전자기기의 클럭 속도와 상기 전자기기의 클럭 속도 간의 속도 차이값은 상기 제2 외부 전자기기로의 데이터 전송 속도, 제1 시간값 및 제2 시간값에 기초하여 산출되되,
    상기 제1 시간값은 제1 시점 및 제2 시점 각각에서의 상기 제1 외부 전자기기의 클럭 카운터값과, 상기 제1 외부 전자기기의 클럭 속도에 기초하여 산출되고, 상기 제2 시간값은 상기 제1 시점 및 상기 제2 시점 각각에서의 상기 전자기기의 클럭 카운터 값과, 상기 전자기기의 클럭 속도에 기초하여 산출되는, 전자기기.
  16. 제1 외부 전자기기에서 수신된 데이터를 제2 외부 전자기기로 전송하는 전자기기의 제어 방법에 있어서,
    제1 통신부가 상기 제1 외부 전자기기와 제1 프로토콜에 따른 통신을 수행하여 데이터를 수신하는 단계;
    산출부가 제2 외부 전자기기로의 데이터 전송 속도, 제1 시간값 및 제2 시간값에 기초하여 리샘플링의 설정값을 산출하는 단계;
    리샘플러가 상기 리샘플링의 설정값에 기초하여 상기 수신된 데이터를 리샘플링하는 단계;
    제2 통신부가 상기 제2 외부 전자기기와 제2 프로토콜에 따른 통신을 수행하여 상기 리샘플링된 데이터를 전송하는 단계;를 포함하되,
    상기 제1 시간값은 제1 시점 및 제2 시점 각각에서의 상기 제1 외부 전자기기의 클럭 카운터값과, 상기 제1 외부 전자기기의 클럭 속도에 기초하여 산출되고, 상기 제2 시간값은 상기 제1 시점 및 상기 제2 시점 각각에서의 상기 전자기기의 클럭 카운터 값과, 상기 전자기기의 클럭 속도에 기초하여 산출되는, 전자기기의 제어 방법.
PCT/KR2019/014460 2019-10-30 2019-10-30 전자기기 및 이의 제어 방법 WO2021085671A1 (ko)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US17/769,292 US20230353342A1 (en) 2019-10-30 2019-10-30 Electronic device and method for controlling same
PCT/KR2019/014460 WO2021085671A1 (ko) 2019-10-30 2019-10-30 전자기기 및 이의 제어 방법

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/KR2019/014460 WO2021085671A1 (ko) 2019-10-30 2019-10-30 전자기기 및 이의 제어 방법

Publications (1)

Publication Number Publication Date
WO2021085671A1 true WO2021085671A1 (ko) 2021-05-06

Family

ID=75714525

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2019/014460 WO2021085671A1 (ko) 2019-10-30 2019-10-30 전자기기 및 이의 제어 방법

Country Status (2)

Country Link
US (1) US20230353342A1 (ko)
WO (1) WO2021085671A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003084239A2 (en) * 2002-03-28 2003-10-09 Intel Corporation Transcoding apparatus, system, and method
KR20140107148A (ko) * 2014-03-18 2014-09-04 주식회사 뉴티씨 (Newtc) 외부 전자 기기 제어 장치
WO2016108650A1 (ko) * 2014-12-30 2016-07-07 주식회사 쏠리드 디지털 맵핑 데이터 전송 방법
KR20180005907A (ko) * 2016-07-07 2018-01-17 삼성전자주식회사 전자 장치 및 이의 영상 데이터 처리 방법
KR20180036756A (ko) * 2015-08-04 2018-04-09 아이비큐티 디지털 코포레이션 디지털 라디오 수신기 내의 아날로그 및 디지털 경로의 동기식 프로세싱을 위한 시스템 및 방법

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140324199A1 (en) * 2011-12-29 2014-10-30 Intel Corporation Audio pipeline for audio distribution on system on a chip platforms
US9621175B2 (en) * 2015-02-11 2017-04-11 Syntropy Systems, Llc Sampling/quantization converters
US10856018B2 (en) * 2015-09-30 2020-12-01 Apple Inc. Clock synchronization techniques including modification of sample rate conversion

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003084239A2 (en) * 2002-03-28 2003-10-09 Intel Corporation Transcoding apparatus, system, and method
KR20140107148A (ko) * 2014-03-18 2014-09-04 주식회사 뉴티씨 (Newtc) 외부 전자 기기 제어 장치
WO2016108650A1 (ko) * 2014-12-30 2016-07-07 주식회사 쏠리드 디지털 맵핑 데이터 전송 방법
KR20180036756A (ko) * 2015-08-04 2018-04-09 아이비큐티 디지털 코포레이션 디지털 라디오 수신기 내의 아날로그 및 디지털 경로의 동기식 프로세싱을 위한 시스템 및 방법
KR20180005907A (ko) * 2016-07-07 2018-01-17 삼성전자주식회사 전자 장치 및 이의 영상 데이터 처리 방법

Also Published As

Publication number Publication date
US20230353342A1 (en) 2023-11-02

Similar Documents

Publication Publication Date Title
WO2014104744A1 (en) Terminal device and method for controlling thereof
WO2014163279A1 (en) Image display device and control method thereof
WO2012026750A2 (ko) 컨텐츠 공유 제어 방법, 그를 이용한 휴대용 단말기 및 컨텐츠 공유 시스템
WO2018155859A1 (en) Image display device and operating method of the same
WO2015119389A1 (en) User terminal and control method thereof
WO2017135776A1 (en) Display apparatus, user terminal apparatus, system, and controlling method thereof
WO2011136402A1 (ko) 영상표시기기 및 그 동작방법
WO2015037767A1 (en) Image display apparatus and method for operating the same
WO2015046724A1 (en) Image display apparatus, server for synchronizing contents, and method for operating the server
WO2017188568A1 (en) Display device for providing scrap function and method of operating the same
WO2020171657A1 (en) Display device and image display method of the same
WO2018047989A1 (en) Image display device and system thereof
WO2020075952A1 (ko) 전자 장치 및 전자 장치의 제어 방법
WO2021085671A1 (ko) 전자기기 및 이의 제어 방법
WO2021085672A1 (ko) 디스플레이 장치 및 이의 제어 방법
WO2022034935A1 (ko) 맞춤 광고를 제공하는 디스플레이 장치 및 그의 동작 방법
WO2021100894A1 (ko) 디스플레이 장치와, 적외선 전송 장치 및 이의 제어 방법
WO2021141152A1 (ko) 디스플레이 장치 및 이를 제어하는 리모컨
WO2021167141A1 (ko) 디스플레이 장치 및 방법
WO2021141164A1 (ko) 디스플레이 장치 및 이의 제어 방법
WO2021029453A1 (ko) 디스플레이 장치 및 그의 동작 방법
WO2021261612A1 (ko) 영상표시장치 및 그 동작방법
WO2021095928A1 (ko) 디스플레이 장치 및 이의 제어 방법
WO2023042927A1 (ko) 영상표시장치 및 그 동작방법
WO2021246549A1 (ko) 영상표시장치 및 그 동작방법

Legal Events

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

Ref document number: 19950285

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19950285

Country of ref document: EP

Kind code of ref document: A1