Abstract:
An apparatus is provided. The apparatus includes a communication unit configured to communicate with a first electronic device, and a control unit operatively coupled with the communication unit, the control unit configured to receive, from the first electronic device via the communication unit, information associated with a playback location of multimedia data, the multimedia data to be presented at a second electronic device operatively coupled with the apparatus, based at least in part on the information, and transmit at least one portion of the multimedia data, to the second electronic device.

Description:
PRIORITY 
       [0001]    This application is a continuation of prior application Ser. No. 13/243,063, filed Sep. 23, 2011, which is a continuation of prior application Ser. No. 11/039,861, filed Jan. 24, 2005, now U.S. Pat. No. 8,578,429, which claimed the benefit under 35 U.S.C. §119(a) of a Korean patent application filed in the Korean Intellectual Property Office on Feb. 21, 2004 and assigned Serial No. 10-2004-0011683, and is a continuation of prior application Ser. No. 13/243,184, filed Sep. 23, 2011, which is also a continuation of prior application Ser. No. 11/039,861, filed Jan. 24, 2005, now U.S. Pat. No. 8,578,429, the entire disclosure of each of which is hereby incorporated by reference. 
     
    
     BACKGROUND OF THE INVENTION 
       [0002]    1. Field of the Invention 
         [0003]    The present invention relates to a media device. More particularly, the present invention relates to a device and a method for outputting data stored in a wireless terminal to an external device. 
         [0004]    2. Description of the Related Art 
         [0005]    Recently, wireless terminals have been developed to provide a high-speed data transmission function in addition to a voice communication function. A wireless terminal capable of performing data communication can process data including packet data and image data. 
         [0006]    Now, wireless terminals have a function of enabling image data to be transmitted/received. Therefore, the wireless terminals can store an image received from a base station and transmit an acquired image to the base station. Such a wireless terminal includes a camera for photographing an image and a display unit for displaying an image photographed by the camera. The camera may include a Charge Coupled Device (CCD) or Complementary Metal Oxide Semiconductor (CMOS) sensor and the display unit may include a Liquid Crystal Display (LCD). In addition, camera devices are being miniaturized. Concomitantly, devices for photographing images also show a tendency to be miniaturized. The wireless terminal can photograph an image to be displayed as a moving picture or a still picture, and can transmit a photographed image to the base station. 
         [0007]    According to the increase of the request of providers and users for an image mail, such services as described above are now being provided and are expected to highly increase in the future. In addition, if multimedia data (such as audio data, moving picture data, still picture data, and the like) stored in a wireless terminal can be played by or displayed on an external device, the users&#39; requests may be further satisfied. 
       SUMMARY OF THE INVENTION 
       [0008]    Accordingly, the present invention has been made to solve the above-mentioned problems occurring in the prior art, and an object of the present invention is to provide a media device capable of outputting data stored in a wireless terminal through an external device. 
         [0009]    Another object of the present invention is to provide a method for outputting data stored in a wireless terminal through an external device using the media device. 
         [0010]    To accomplish these objects, in accordance with one aspect of the present invention, there is provided a media device for outputting data stored in a wireless terminal to an external device through communication with the wireless terminal. The media device comprises a Radio Frequency (RF) unit for communicating with the wireless terminal; a power supply unit for controlling power of the external device; a control unit for performing control operations for decoding data transmitted from the wireless terminal according to a command transmitted from the wireless terminal and transmitting the decoded data to the external device; and an output unit for transmitting the decoded data to the external device. 
         [0011]    In accordance with another aspect of the present invention, there is provided a method for outputting data stored in a wireless terminal to an external device through a media device. The method comprises powering the media device and the external device when the wireless terminal transmits a power-on command; searching for information relating to reproduction, which is attached to a reproduction command, and responding to the reproduction command when the wireless terminal transmits the reproduction command; and decoding data received from the wireless terminal and outputting the decoded data to the external device when a response to the reproduction command is performed. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0012]    The above and other objects, features and advantages of the present invention will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which: 
           [0013]      FIG. 1  is a view illustrating a system for transmitting data stored in a wireless terminal to an external device through a media device according to one embodiment of the present invention; 
           [0014]      FIG. 2  is a block diagram illustrating the construction of the wireless terminal shown in  FIG. 1 ; 
           [0015]      FIG. 3  is a block diagram illustrating a construction of the media device shown in  FIG. 2 ; 
           [0016]      FIG. 4A  is a view illustrating a structure of the protocol stack of the wireless terminal shown in  FIG. 1 , and  FIG. 4B  is a view illustrating a structure of the protocol stack of the media device shown in  FIG. 1 ; 
           [0017]      FIGS. 5A to 5D  are flow diagrams illustrating procedures of outputting audio/video stored in the wireless terminal to the external device through the media device according one embodiment of the present invention; 
           [0018]      FIGS. 6A to 6D  are flow diagrams illustrating procedures of outputting audio stored in the wireless terminal to the external device through the media device according one embodiment of the present invention; 
           [0019]      FIG. 7  is a flow diagram illustrating a procedure of outputting still picture data stored in the wireless terminal to the external device through the media device according one embodiment of the present invention; and 
           [0020]      FIGS. 8A to 8C  are flow diagrams illustrating procedures of outputting still picture and audio data stored in the wireless terminal to the external device through the media device according one embodiment of the present invention. 
       
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
       [0021]    Hereinafter, embodiments of a device and a method for outputting data stored in a wireless terminal to an external device according to the present invention will be described with reference to the accompanying drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted for conciseness. 
         [0022]      FIG. 1  is a view illustrating a system for transmitting data stored in a wireless terminal to an external device through a media device according to one embodiment of the present invention. 
         [0023]    A wireless terminal  100  stores multimedia data. The wireless terminal  100  communicates with a media device  200  to output the multimedia data to an external device  300 . Also, the wireless terminal  100  may transmit command signals to control the multimedia data output through the external device  300  while a user listens to or views the multimedia data. The media device  200  communicates with the wireless terminal  100  and outputs multimedia data, which are transmitted from the wireless terminal  100 , to the external device  300  to be displayed. 
         [0024]    While an exemplary embodiment of the present invention will be described on the assumption that the external device  300  is a television, the external device  300  can be replaced by any type of external device (which include a beam projector, and the like) capable of receiving data through the media device  200 . Also, an exemplary embodiment of the present invention will be described on the assumption that the wireless terminal  100  transmits multimedia data (such as a video clip, audio, a music file, still picture data, TV video data, and so on) through the media device  200  to the external device  300 . However, the wireless terminal  100  can transmit not only multimedia data stored in the wireless terminal  100  but also communication data (such as phone book data, and so on) to the media device  200  at each predetermined interval. 
         [0025]    The media device  200  functions as an intermediate device for receiving wirelessly coded multi-media data of the wireless terminal  100  and decoding the received data to thereby transmit the same to the external device  300  after analog conversion is performed. Although the media device  200  is shown as being separate from the external device  300 , the media device  200  can comprise a module and be integrated into the external device  300  in accordance with an exemplary embodiment of the present invention. The media device module would allow the external device  300  to perform the same functions as the media device  200 . For example, a media device module implemented in the external device  300  such as a television would allow the television to directly receive TV video data of the wireless terminal  100  wirelessly and decode the received data to thereby display the same on a reproducing module such as a television tube or picture screen. 
         [0026]    It should be appreciated by those skilled in the art that the external device  300  is not limited to a television set. The external device  300  can be a Video Cassette Recorder (VCR), satellite receiver, cable box, digital video recorder or a computer and the like, without departing from the scope of the present invention.  FIG. 2  is a block diagram illustrating the construction of the wireless terminal shown in  FIG. 1 . A first Radio Frequency (RF) unit  123  performs wireless communication. The first RF unit  123  includes an RF transmitter (not shown) and an RF receiver (not shown), in which the RF transmitter up-converts and amplifies frequencies of a signal to be transmitted, and the RF receiver low-noise amplifies a received signal and down-converts the frequency of the received signal. A second RF unit  170  performs a wireless communication function with the media device  200  through Bluetooth or a wireless Local Area Network (LAN). The second RF unit  170  includes an RF transmitter (not shown) for up-converting and amplifying the frequency of a signal to be transmitted. Of course, it is possible that the first RF unit  123  includes the function of the second RF unit  170  so that the first RF unit  123  may perform the wireless communication function with the media device  200  as well as the normal wireless communication function of the wireless terminal  100 . 
         [0027]    A data processing unit  120  includes a transmitter (not shown) for encoding and modulating the signal to be transmitted and a receiver (not shown) for demodulating and decoding the received signal. That is, the data processing unit  120  may include a MODEM and a CODEC. Herein, the CODEC includes a data CODEC for processing packet data, and so on, and an audio CODEC for processing audio signals such as voices, and the like. An audio processing unit  125  reproduces a reception audio signal output from the audio CODEC of the data processing unit  120 , and transfers a transmission audio signal generated from a microphone to the audio CODEC of the data processing unit  120 . 
         [0028]    A memory  130  may include a program memory and a data memory. The program memory may store programs for controlling general operations of the wireless terminal and programs for transmitting multimedia data stored in the wireless terminal to the media device according to an exemplary embodiment of the present invention. The data memory temporarily stores data generated while the programs are being executed. Also, the memory  130  stores various multimedia data (such as video, audio, music files, pictures, and so on) and communication data (such as phone numbers of a phone book, received/transmitted character data, and so on). 
         [0029]    A control unit  110  controls operations of the wireless terminal. The control unit  110  may include the data processing unit  120 . Also, the control unit  110  may control the transmission of data stored in the memory  130  to the media device  200  according to an exemplary embodiment of the present invention. Also, the control unit  110  stores a protocol stack for communicating with the media device  200  according to an embodiment of the present invention.  FIG. 4A  is a view showing a structure of the protocol stack of the wireless terminal. The control unit  110  communicates with the media device  200  through the protocol stack. In the protocol stack of the wireless terminal, Media Control Protocol (MCP) represents a protocol for enabling the wireless terminal  100  and the media device  200  to communicate with each other according to each media reproduction control command input by a user of the wireless terminal  100 . Also, when the wireless terminal  100  includes a TV reception function, the control unit  110  can transmit TV video data, which are received by the wireless terminal  100 , to the media device  200  so that the TV video data may be output through the television  300  to be seen and heard by a user. 
         [0030]    A camera module  140  includes a camera sensor and a signal processing section. The camera sensor photographs an image and converts a light signal obtained through the photographing into an electric signal. The signal processing section converts an analog image signal obtained through the photographing of the camera sensor into digital data. Herein, it is assumed that the camera sensor is a Charge Coupled Device (CCD) sensor, and the signal processing section may be realized by a Digital Signal Processor (DSP). The camera sensor and the signal processing section may be integrally or separately constructed. 
         [0031]    A video processing unit  150  performs a function to generate image data for displaying an image signal output from the camera module  140 . The video processing unit  150  processes an image signal, which is output from the camera module  140 , in a unit of frame, and outputs the frame image data according to the size and the property of a display unit  160 . Also, the video processing unit  150  includes a video CODEC so as to perform a function to compress frame image data displayed on the display unit  160  by using a predetermined method and a function to reproduce original frame image data from compressed frame image data. Herein, the video CODEC may be one of a Joint Picture Experts Group (JPEG) CODEC, a Moving Picture Experts Group 4 (MPEG4) CODEC, a Wavelet CODEC, etc. It is assumed that the video processing unit  150  has an On Screen Display (OSD) function and can output OSD data according to the size of a screen displayed under the control of a control unit  110 . 
         [0032]    The display unit  160  displays an image signal output from the video processing unit  150  and user data output from the control part  110  on a screen. Herein, the display unit  160  may employ a Liquid Crystal Display (LCD). When the LCD is employed, the display unit  160  may include a LCD controller, a memory for storing image data, an LCD display element, etc. Herein, when the LCD is realized in a touch screen method, the display unit  160  may operate as an input section. In addition, in an exemplary embodiment of the present invention, the display unit  160  can display a menu for controlling data which are transmitted from the wireless terminal to the external device in a transmission mode. The menu includes ‘power on/off’, ‘play’, ‘fast forward’, ‘rewind’, ‘pause’, ‘stop’, and so on. A key input unit  127  includes keys used to input numeral and letter information and function keys used to set various functions. In addition, in an exemplary embodiment of the present invention, the key input unit  127  may include menu keys for controlling data which are transmitted from the wireless terminal to the external device in a transmission mode. The menu keys includes a power on/off key, a play key, a fast forward key, a rewind key, a pause key, a stop key, and so on. 
         [0033]      FIG. 3  is a block diagram illustrating a construction of the media device shown in  FIG. 1 . An RF unit  270  performs a wireless communication function with the wireless terminal  100  through Bluetooth or a wireless LAN. The RF unit  270  includes an RF receiver (not shown) which low-noise amplifies a received signal and down-converts the frequency of the received signal. A power supply unit  220  for an external device performs a function to turn on/off the power of the television  300  under the control of a control unit  210  when a power on/off command is transmitted from the wireless terminal. 
         [0034]    The control unit  210  includes a video CODEC and an audio CODEC. The video CODEC performs a function to restore original frame image data from compressed frame image data transmitted from the wireless terminal  100 . Herein, the video CODEC may be one of a JPEG CODEC, an MPEG4 CODEC, a Wavelet CODEC, and so on. The audio CODEC performs a function to restore original frame audio data from compressed frame audio data transmitted from the wireless terminal  100 . Herein, the audio CODEC may be one of an Advanced Audio Coding (AAC) CODEC, an Audio Modem Riser (AMR) CODEC, an MP3 CODEC, etc. The control unit  210  decodes data transmitted from the wireless terminal  100  by means of the video CODEC and the audio CODEC and outputs the decoded data to the television  300 . In addition, the control unit  210  includes a protocol stack as shown in  FIG. 4B  and communicates with the wireless terminal  100  through the protocol stack. In the protocol stack of the media device  200 , MCP represents a protocol for enabling the wireless terminal  100  and the media device  200  to communicate with each other according to each command transmitted from the wireless terminal  100 . Also, the control unit  210  outputs data transmitted from the wireless terminal  100  to the television  300  according to each command transmitted from the wireless terminal  100 . A first buffer  240  stores image data decoded by the video CODEC of the control unit  210 , and the image data of a digital signal type stored in the first buffer  240  are converted into an analog signal through a first Digital/Analog (D/A) converter  250 . A second buffer  280  stores audio data decoded by the audio CODEC of the control unit  210 , and the audio data of a digital signal type stored in the second buffer  280  are converted into an analog signal through a second D/A converter  290 . 
         [0035]    An output unit  260  for an external device performs a function to output image data transmitted through the first D/A converter  250  and audio data transmitted through the second D/A converter  290 , to the television  300  which is an external device. A memory  230  may store programs for controlling a normal operation of the media device  200 . In addition, the memory  230  may store multimedia data and communication data transmitted from the wireless terminal  100 . 
         [0036]    The components of the media device  200  shown in  FIG. 3  may be included in the external device  300 . Such an external device including the components of the media device can output data stored in the wireless terminal through direct communication with the wireless terminal  100 . 
         [0037]    Hereinafter, the operation for outputting data stored in the wireless terminal to the television (such as an external device) using the wireless terminal and the media device as shown in  FIGS. 2 and 3  will be described in detail with reference to  FIGS. 5 to 8 . 
         [0038]      FIGS. 5A to 5D  are flow diagrams illustrating procedures of receiving multimedia data relating to audio/video from the wireless terminal and processing the received multimedia data in the media device, that is, procedures of reproducing the audio and video through the television in realtime.  FIG. 5A  is a flow diagram illustrating a control procedure for powering on the external device and the media device and then reproducing audio/video data through the external device.  FIG. 5B  is a flow diagram illustrating a control procedure for performing a pause operation for audio/video data reproduced through the external device.  FIG. 5C  is a flow diagram illustrating a control procedure for performing a fast forward (or a rewind) operation for audio/video data reproduced through the external device.  FIG. 5D  is a flow diagram illustrating a control procedure for performing a stop operation for audio/video data reproduced through the external device and a power-off operation for the external device and the media device. 
         [0039]    Referring to  FIG. 5A , when a user of the wireless terminal selects a transmission mode for an external device to transmit data to the external device  300 , the control unit  110  detects it and changes the wireless terminal into the transmission mode for an external device. In the transmission mode for an external device, when the user selects a power-on function which is included in the key input unit  127  or is one from among control keys (such as power on/off, play, fast forward, rewind, pause, and stop) for the external device, the control unit  110  detects it and proceeds to step  510  of transmitting a power-on command to the media device  200 . When the control unit  210  of the media device  200  receives the power-on command from the wireless terminal  100 , the control unit  210  turns on the power source of the media device  200  and controls the power supply unit  220  for the external device to turn on the power of the television  300 . Thereafter, in step  511 , the control unit  210  of the media device  200  transmits a response message to the wireless terminal  100  in response to the power-on command so as to notify the wireless terminal  100  that the media device  200  and the television  300  are powered on. The wireless terminal  100  and the media device  200  communicate with each other through commands which are input by the user of the wireless terminal and are transmitted through an MCP. When the control unit  110  of the wireless terminal receives the response message from the media device  200  in response to the power-on command, the control unit  110  notifies the user that the media device  200  is ready to play through the display unit  160 . When the user selects audio/video data to be transmitted and selects a play function for the selected audio/video data, the control unit  110  detects it and transmits a play command to the media device  200  in step  512 . In this case, the control unit  110  transmits information (which relates to playing) to the media device  200 , together with the play command. The information relating to the play command includes information relating to data transmitted from the wireless terminal  100  and is accompanied and transmitted whenever the play function is performed. 
         [0040]    The control unit  210  of the media device  200  receives the play command, the control unit  210  recognizes the play command and searches for accompanied information relating to the play mode. The information relating to the play mode includes information about a kind of media, a kind of audio CODEC, a kind of video CODEC, a media title, a total play time period, resolution, a bit rate, and a frame number. In step  512 , the information relating to the play mode, which is received in the media device  200 , may be described as follows: 
         [0041]    M=AV, A=AAC, V=MPEG4, S=CIF, MT=Graduation Travel, D=15:30, R=256, and F=0. 
         [0042]    Herein, “M=AV” indicates that the type of media corresponds to audio/video data, “A=AAC” indicates that an Advanced Audio Coding (AAC) or MP4 audio CODEC is employed, and “V=MPEG4” indicates that an MPEG4 video CODEC is employed. Also, “S=CIF” indicates that a ‘352×288’ Common Intermediate Format (CIF) resolution is employed, and “MT=Graduation Travel” indicates that received audio/video data has a title of ‘Graduation Travel’. Also, “D=15:30” indicates a total play time period of fifteen hours and thirty minutes, “R=256” indicates a bit rate of 256 kbps, and “F=0” indicates a frame number. The frame number corresponds to a sequence number of Real-time Transport Protocol (RTP)/Real-time Transport Control Protocol (RTCP) for realtime data transmission. When the control unit  210  of the media device finds the information relating to the play mode, the control unit  210  performs step  513 . In step  513 , the control unit  210  transmits a response message, which provides an indication that the media device  200  is ready to play, to the wireless terminal  100  in response to the play command. When the wireless terminal  100  receives the response message from the media device  200  in response to the play command, the control unit  110  of the wireless terminal detects it and transmits the audio/video data to the media device  200  through the RTC protocol in step  514 . In step  514 , when the media device  200  receives the audio/video data from the wireless terminal  100 , the control unit  210  of the media device  200  detects it and decodes the audio/video data by means of a video CODEC and an audio CODEC included in the control unit  210 . The control unit  210  stores the video data from among the decoded audio/video data in the first buffer  240  and then converts the video data stored in a type of digital signal format into an analog signal through the first D/A converter  250 . Also, the control unit  210  stores the audio data in the second buffer  280  and then converts the audio data stored in the type of digital signal format into an analog signal through the second D/A converter  290 . The audio/video data converted into analog signals are output through the output unit  260  for an external device to the television  300 , thereby being reproduced. 
         [0043]    While the audio/video data are being reproduced through the television  300 , the control unit  210  performs step  515 , in which the control unit  210  transmits information relating to a current connection state between the wireless terminal  100  and the media device  200  to the wireless terminal  100  through the RTC protocol at a predetermined period of time. Meanwhile, when the user of the wireless terminal  100 , who is seeing and hearing the audio/video data reproduced through the television  300  in steps  514  and  515 , selects a pause function, the control unit  110  of the wireless terminal detects it and proceeds to step  520  shown in  FIG. 5B , in which the control unit  110  transmits a pause command to the media device  200 . 
         [0044]    Referring to  FIG. 5B , when the media device  200  receives the pause command from the wireless terminal  100 , the control unit  210  of the media device  200  detects it and performs a control operation to stop the output of data to the external device  300  and to pause the current image. During such a paused state, the control unit  210  discards all of audio/video data received to the control unit  210 . In step  521 , when the wireless terminal  100  receives a response message from the media device  200  in response to the pause command, the control unit  110  of the wireless terminal  100  detects it and stops transmitting the audio/video data. In such a paused state, when the user of the wireless terminal  100  selects a play function, the control unit  110  detects it and transmits a play command to the media device  200  in step  522 . When the wireless terminal  100  receives a response message, which indicates that the media device  200  is ready to play, from the media device  200  in step  523  in response to the play command, the control unit  110  of the wireless terminal  100  detects it and performs step  524  in which the control unit  110  transmits the audio/video data to the media device  200  through the RTC protocol. In this case, data transmitted to the media device  200  in step  524  are data of a frame number following that of the data transmitted just before the pause command is transmitted. That is, when the pause command is transmitted in step  520  after data of frame number ‘99’ are transmitted to the media device  200 , data transmitted in step  522  are data of frame number ‘100’. 
         [0045]    Meanwhile, when the user of the wireless terminal  100 , who is seeing and hearing the audio/video data reproduced through the television  300 , selects a fast forward function, the control unit  110  of the wireless terminal detects it and proceeds to step  530  shown in  FIG. 5C , in which the control unit  110  transmits a Fast Forward (FF) command to the media device  200 . 
         [0046]    Referring to  FIG. 5C , when the media device  200  receives the fast forward command from the wireless terminal  100 , the control unit  210  of the media device  200  detects it and performs a control operation to stop the output of data to the external device  300  and to pause the current image. During such a paused state, the control unit  210  discards all of audio/video data received to the control unit  210 . In step  531 , when the wireless terminal  100  receives a response message, which indicates that the data output to the external device stops, from the media device  200  in response to the fast forward command, the control unit  110  of the wireless terminal  100  detects it and transmits a play command to the media device  200  in step  532 . In step  533 , when the control unit  110  of the wireless terminal receives a response message, which indicates that the media device  200  is ready to play, from the media device  200  in response to the play command, the control unit  110  detects it and skips frames at a predetermined time interval (such as 5 or 10 minutes) from the frame stopped according to the transmission of the fast forward command. The control unit  110  skips video data frames at the predetermined time interval (such as 5 or 10 minutes) corresponding to one frame. Then, the control unit  110  performs step  534  in which the control unit  110  transmits data to the media device  200 , from data having a frame number of the jumped location. Whenever the user selects the fast forward function, the control unit  110  skips data frames in a forward direction at the predetermined time interval (such as 5 or 10 minutes) as described above. In contrast, when the user selects the rewind function, the control unit  110  detects it, jumps frames at the predetermined time interval (such as 5 or 10 minutes) in a reverse direction from the stopped frame, and then performs a play operation. 
         [0047]    Meanwhile, when the user of the wireless terminal  100 , who is seeing and hearing the audio/video data reproduced through the television  300 , selects a stop function, the control unit  110  of the wireless terminal detects it and proceeds to step  540  shown in  FIG. 5D , in which the control unit  110  transmits a stop command to the media device  200 . Referring to  FIG. 5D , when the media device  200  receives the stop command from the wireless terminal  100 , the control unit  210  of the media device  200  detects it and performs a control operation to stop the output of data to the external device  300  and to stop the current image. During such a stopped state, the control unit  210  discards all of audio/video data received to the control unit  210 . In step  541 , when the wireless terminal  100  receives a response message, which indicates that the data output to the external device stops, from the media device  200  in response to the stop command, the control unit  110  of the wireless terminal  100  detects it and waits for an input of the user. In this state, when the user selects a power-off function, the control unit  110  of the wireless terminal detects it and performs step  542  of transmitting a power-off command to the media device  200 . When the control unit  210  of the media device  200  receives the power-off command, the control unit  210  detects it, controls the power supply unit  220  for an external device to turn off the power of the television  300  which is an external device, and also turns off the power of the media device  200  itself. In this case, the control unit  210  leaves a portion of the power relating to the power on/off function of the media device  200  itself. When the powers of the television  300  and the media device  200  are turned off, the media device  200  transmits a response message, which informs that the powers of the television  300  and the media device  200  are turned off, to the wireless terminal  100  in step  543  in response to the power-off command. 
         [0048]      FIGS. 6A to 6D  are flow diagrams illustrating procedures of receiving multimedia data relating to audio from the wireless terminal and processing the received multimedia data in the media device, that is, procedures of outputting audio data through the television.  FIG. 6A  is a flow diagram illustrating a control procedure for powering on of the external device and the media device and then for reproducing audio data through the external device.  FIG. 6B  is a flow diagram illustrating a control procedure for performing a pause operation for audio data reproduced through the external device.  FIG. 6C  is a flow diagram illustrating a control procedure for performing a fast forward (or a rewind) operation for audio data reproduced through the external device.  FIG. 6D  is a flow diagram illustrating a control procedure for performing a stop operation for audio data reproduced through the external device and a power-off operation for the external device and the media device. 
         [0049]    Hereinafter, the control procedures shown in  FIGS. 6A to 6D  will be described in detail with reference to  FIGS. 1 to 4 . 
         [0050]    Referring to  FIG. 6A , when a user of the wireless terminal selects a transmission mode for an external device to transmit data to the television  300 , the control unit  110  detects it and changes the wireless terminal into the transmission mode for an external device. In the transmission mode for an external device, when the user selects a power-on function which is included in the key input unit  127  or is one from among control keys (such as power on/off, play, fast forward, rewind, pause, and stop) for the external device, the control unit  110  detects it and proceeds to step  610  of transmitting a power-on command to the media device  200 . When the control unit  210  of the media device  200  receives the power-on command from the wireless terminal  100 , the control unit  210  turns on the power source of the media device  200  and then controls the power supply unit  220  for an external device to turn on the power of the television  300 . Thereafter, in step  612 , the control unit  210  of the media device  200  transmits a response message, which indicates that the media device  200  and the television  300  are powered on, to the wireless terminal  100  in response to the power-on command. When the control unit  110  of the wireless terminal receives the response message from the media device  200  in response to the power-on command, the control unit  110  notifies the user that the media device  200  is ready to play through the display unit  160 . When the user selects data to be transmitted and selects the play function for the selected data, the control unit  110  detects it and transmits a play command to the media device  200  in step  613 . In this case, the control unit  110  transmits information relating to the play mode to the media device  200 , together with the play command. In step  613 , the information relating to the play mode, which is received in the media device  200 , may be described as follows: 
         [0051]    M=A, A=AAC, MT=Graduation, D=5:30, R=128, and F=0. 
         [0052]    Herein, “M=A” indicates the type of media corresponds to audio data, “A=AAC” represents that an Advanced Audio Coding (AAC) or MP4 audio CODEC is employed, and “MT=Graduation” indicates that received audio data has a title of ‘Graduation’. Also, “D=5:30” indicates a total play time period of five hours and thirty minutes, “R=128” indicates a bit rate of 256 kbps, and “F=0” indicates an audio frame number. The frame number corresponds to a sequence number of RTC protocol for realtime data transmission. When the control unit  210  of the media device finds the information relating to the play mode, the control unit  210  performs step  614  in which the control unit  210  transmits a response message, which indicates that the media device  200  is ready for audio play, to the wireless terminal  100  in response to the play command. When the wireless terminal  100  receives the response message from the media device  200  in response to the play command, the control unit  110  of the wireless terminal detects it and transmits the audio data to the media device  200  in realtime through the RTC protocol in step  615 . In step  615 , when the media device  200  receives the audio data from the wireless terminal  100 , the control unit  210  of the media device  200  detects it and decodes the audio data by means of an audio CODEC included in the control unit  210 . The control unit  210  stores the decoded audio data in the second buffer  280  and then converts the audio data stored in a digital signal format into an analog signal through the second D/A converter  290 . The audio data converted into an analog signal are output through the output unit  260  for an external device to the television  300  which is an external device, thereby being reproduced. While the audio data are being reproduced through the television  300 , the control unit  210  performs step  616 , in which the control unit  210  transmits information relating to a current connection state between the wireless terminal  100  and the media device  200  to the wireless terminal  100  through the RTC protocol at a predetermined period of time. Meanwhile, when the user of the wireless terminal  100 , who is hearing the audio data reproduced through the television  300  in steps  615  and  616 , selects a pause function, the control unit  110  of the wireless terminal detects it and proceeds to step  620  shown in  FIG. 6B , in which the control unit  110  transmits a pause command to the media device  200 . 
         [0053]    Referring to  FIG. 6B , when the media device  200  receives the pause command from the wireless terminal  100 , the control unit  210  of the media device  200  detects it and performs a control operation to stop the output of data to the television  300  and to pause the current image. During such a paused state, the control unit  210  discards all of audio data received to the control unit  210 . In step  621 , when the wireless terminal  100  receives a response message from the media device  200  in response to the pause command, the control unit  110  of the wireless terminal  100  detects it and stops transmitting the audio data. In such a paused state, when the user of the wireless terminal  100  selects a play function, the control unit  110  detects it and transmits a play command to the media device  200  in step  622 . When the wireless terminal  100  receives a response message, which indicates that the media device  200  is ready to play, from the media device  200  in step  623  in response to the play command, the control unit  110  of the wireless terminal  100  detects it and performs step  624  in which the control unit  110  transmits the audio data to the media device  200  in realtime through the RTC protocol. In this case, data transmitted to the media device  200  in step  624  are data of a frame number following that of the data transmitted just before the pause command is transmitted. That is, in the case in which the pause command is transmitted after data of frame number ‘99’ are transmitted to the media device  200 , data of frame number ‘100’ are transmitted when play is initiated after the pause. 
         [0054]    Meanwhile, when the user of the wireless terminal  100 , who is hearing the audio data reproduced through the television  300 , selects a fast forward function, the control unit  110  of the wireless terminal detects it and proceeds to step  630  shown in  FIG. 6C , in which the control unit  110  transmits a fast forward command to the media device  200 . Referring to  FIG. 6C , when the media device  200  receives the fast forward command from the wireless terminal  100 , the control unit  210  of the media device  200  detects it and performs a control operation to stop the output of data to the television  300  and to pause the current image. During such a paused state, the control unit  210  discards all of audio data received to the control unit  210 . In step  631 , when the wireless terminal  100  receives a response message, which indicates that the data output to the external device stops, from the media device  200  in response to the fast forward command, the control unit  110  of the wireless terminal  100  detects it and transmits a play command to the media device  200  in step  632 . When the control unit  110  of the wireless terminal receives a response message, which indicates that the media device  200  is ready to play, from the media device  200  in step  633  in response to the play command, the control unit  110  detects it and skips frames at a predetermined time interval (such as 5 or 10 minutes) from a frame stopped in process of reproduction. Then the control unit  110  performs step  634  in which the control unit  110  transmits data to the media device  200 , from data having a frame number of the jumped location. Whenever the user selects the fast forward function, the control unit  110  skips frames in a forward direction at the predetermined time interval (such as 5 or 10 minutes) as described above. In contrast, when the user selects the rewind function, the control unit  110  detects it, skips frames at the predetermined time interval (such as 5 or 10 minutes) in a reverse direction from a stopped frame, and then performs a play operation. 
         [0055]    Meanwhile, when the user of the wireless terminal  100 , who is hearing the audio data reproduced through the television  300 , selects a stop function, the control unit  110  of the wireless terminal detects it and proceeds to step  640  shown in  FIG. 6D , in which the control unit  110  transmits a stop command to the media device  200 . Referring to  FIG. 6D , when the media device  200  receives the stop command from the wireless terminal  100 , the control unit  210  of the media device  200  detects it and performs a control operation to stop the output of data to the television  300  and to stop the current image. During such a stopped state, the control unit  210  discards all of audio data received to the control unit  210 . In step  641 , when the wireless terminal  100  receives a response message from the media device  200  in response to the stop command, the control unit  110  of the wireless terminal  100  detects it and waits for an input of the user. In this state, when the user selects a power-off function, the control unit  110  of the wireless terminal detects it and performs step  642  of transmitting a power-off command to the media device  200 . When the control unit  210  of the media device  200  receives the power-off command, the control unit  210  detects it, controls the power supply unit  220  for an external device to turn off the power of the television  300  which is an external device, and also turns off the power of the media device  200  itself. In this case, the control unit  210  leaves a portion of the power relating to the power on/off function of the media device  200  itself. When the powers of the television  300  and the media device  200  are turned off, the media device  200  transmits a response message, which indicates that the powers of the television  300  and the media device  200  are turned off, to the wireless terminal  100  in response to the power-off command in step  643 . 
         [0056]      FIG. 7  is a flow diagram illustrating a procedure of receiving multimedia data relating to a picture from the wireless terminal and processing the received multimedia data. That is,  FIG. 7  illustrates a control procedure of turning on the powers of the media device and the external device and then outputting picture data to the external device. This embodiment of the present invention will be described with respect to a case in which data of a picture are output and displayed through the television  300  whenever a user selects the picture. However, it will be understood by those skilled in the art that the embodiment of the present invention can be applied to a method of continuously outputting data of a plurality of pictures to the television  300  through the media device  200  to be displayed. 
         [0057]    Hereinafter, the control procedure shown in  FIG. 7  will be described in detail with reference to  FIGS. 1 to 4 . 
         [0058]    Referring to  FIG. 7 , when a user of the wireless terminal selects a transmission mode for an external device to transmit data to the external device  300 , the control unit  110  detects it and changes the wireless terminal into the transmission mode for an external device. In the transmission mode for an external device, when the user selects a power-on function which is included in the key input unit  127  or is one from among control keys (such as power on/off, play, fast forward, rewind, pause, and stop) for the external device, the control unit  110  detects it and proceeds to step  710  of transmitting a power-on command to the media device  200 . When the control unit  210  of the media device  200  receives the power-on command from the wireless terminal  100 , the control unit  210  turns on the power source of the media device  200  and then controls the power supply unit  220  for an external device to turn on the power of the television  300 . Thereafter, in step  711 , the control unit  210  of the media device  200  transmits a response message, which indicates that the media device  200  and the television  300  are powered on, to the wireless terminal  100  in response to the power-on command. When the control unit  110  of the wireless terminal receives the response message from the media device  200  in response to the power-on command, the control unit  110  notifies the user that the media device  200  is ready to play through the display unit  160 . When the user selects picture data to be transmitted and selects the play function for the selected picture data, the control unit  110  detects it and transmits a play command to the media device  200  in step  712 . In this case, the control unit  110  transmits information relating to the play mode to the media device  200 , together with the play command. In step  712 , when the transmitted picture data are expressed as “Graduation picture.JPG” which represents JPEG image data, the information relating to the play mode may be accompanied as follows: 
         [0059]    M=P (Picture), and V=JPEG. 
         [0060]    When the control unit  210  of the media device finds the information relating to the play mode, the control unit  210  performs step  713  in which the control unit  210  transmits a response message, which indicates that the media device  200  is ready for picture data reproduction, to the wireless terminal  100  in response to the play command. When the wireless terminal  100  receives the response message, which indicates that the media device  200  is ready to play, from the media device  200  in response to the play command, the control unit  110  of the wireless terminal detects it and transmits the picture data to the media device  200  in step  714 . In this case, the control unit  110  transmits information relating to the play mode to the media device  200 , together with the play command. The information relating to the picture data includes information (MT=“Graduation Picture”) for providing the title of the picture data. Whenever the control unit  110  transmits picture data to the media device  200 , the control unit  110  transmits information relating to the picture together with the transmitted picture data to the media device  200 . In step  714 , when the media device  200  receives the picture data from the wireless terminal  100 , the control unit  210  of the media device  200  detects it and decodes the picture data by means of a video CODEC included in the control unit  210 . The control unit  210  stores the decoded picture data in the first buffer  240  and then converts the picture data stored in a digital signal format into an analog signal through the first D/A converter  250 . The picture data converted into an analog signal are output through the output unit  260  for an external device to the television  300 , thereby being reproduced. During the output of the picture through the television  300 , when the user selects a second picture and selects the play function, steps  712  to  714  are repeated, thereby displaying the second picture on the screen of the television  300 . 
         [0061]      FIGS. 8A to 8C  are flow diagrams illustrating procedures of receiving multimedia data relating to audio/picture from the wireless terminal and processing the received multimedia data in the media device, that is, procedures of reproducing the audio and picture through the external device.  FIG. 8A  is a flow diagram illustrating a control procedure for powering on the external device and the media device and then for reproducing audio/picture data through the external device.  FIG. 8B  is a flow diagram illustrating a control procedure for performing a pause operation for audio/picture data reproduced through the external device.  FIG. 8C  is a flow diagram illustrating a control procedure for performing a stop operation for audio/picture data reproduced through the external device and a power-off operation for the external device and the media device. This embodiment of the present invention will be described with respect to procedures of displaying data of a picture selected by a user through the external device  300  while audio data are being reproduced through the external device  300 . However, it should be understood by those skilled in the art that the embodiment of the present invention can be applied to a sliding function of continuously outputting a plurality of pictures selected by a user through the external device  300  while audio data is being reproduced through the external device  300 . 
         [0062]    Hereinafter, the control procedures shown in  FIGS. 8A to 8C  will be described in detail with reference to  FIGS. 1 to 4 . 
         [0063]    Referring to  FIG. 8A , when a user of the wireless terminal selects a transmission mode for an external device to transmit data to the external device  300 , the control unit  110  detects it and changes the wireless terminal into the transmission mode for an external device. In the transmission mode for an external device, when the user selects a power-on function which is included in the key input unit  127  or is one from among control keys (such as power on/off, play, fast forward, rewind, pause, and stop) for the external device, the control unit  110  detects it and proceeds to step  810  of transmitting a power-on command to the media device  200 . When the control unit  210  of the media device  200  receives the power-on command from the wireless terminal  100 , the control unit  210  turns on the power source of the media device  200  and controls the power supply unit  220  for the external device to turn on the power of the television  300 . Thereafter, in step  811 , the control unit  210  of the media device  200  transmits a response message, which indicates that the media device  200  and the external device  300  are powered on, to the wireless terminal  100  in response to the power-on command. When the control unit  110  of the wireless terminal receives the response message from the media device  200  in response to the power-on command, the control unit  110  notifies the user that the media device  200  is ready to play through the display unit  160 . When the user selects audio and picture data to be transmitted and then selects the play function for the selected audio and picture data, the control unit  110  detects it and transmits a play command to the media device  200  in step  812 . In this case, the control unit  110  transmits information relating to the play to the media device  200 , together with the play command. When the transmitted audio data have a play time period of five minutes and thirty seconds, a bit rate of 128 kbps and an AAC audio clip of ‘Graduation.acc’, the information relating to the play mode, which is transmitted to the media device  200 , may be described as follows: 
         [0064]    M=AP, A=AAC, MT=Graduation, D=5:30, R=128, and F=0. 
         [0065]    When the control unit  210  of the media device finds the information relating to the play mode, the control unit  210  performs step  813 , in which the control unit  210  transmits a response message to the wireless terminal  100  in response to the play command. When the wireless terminal  100  receives the response message, which indicates that the media device  200  is ready to play, from the media device  200  in response to the play command, the control unit  110  of the wireless terminal detects it and transmits the audio data to the media device  200  in realtime through the RTC protocol in step  814 . In step  814 , when the media device  200  receives the audio data from the wireless terminal  100 , the control unit  210  of the media device  200  detects it and decodes the audio data by means of an audio CODEC included in the control unit  210 . The control unit  210  stores the decoded audio data in the second buffer  280  and then converts the audio data stored in the type of digital signal into an analog signal through the second D/A converter  290 . The audio data converted into an analog signal are output through the output unit  260  for an external device to the television  300 , thereby being reproduced. 
         [0066]    Simultaneously while outputting the audio data, the control unit  110  of the wireless terminal performs step  815  of transmitting picture data to the media device  200 . The control unit  110  of the wireless terminal transmits the picture data to the media device  200 , together with information relating to the picture. When the picture data are expressed as “Graduation picture.JPG” which is JPEG image data, the information relating to a picture as described below may be transmitted to the media device  200 . 
         [0067]    M=Graduation Picture and V=JPEG. 
         [0068]    When the control unit  210  of the media device receives the picture data and the information relating to the picture from the wireless terminal  100  in step  815 , the control unit  210  detects it and decodes the picture data by means of a video CODEC included in the control unit  210 . The control unit  210  stores the decoded picture data in the first buffer  240  and then converts the picture data stored in a digital format signal into an analog signal through the first D/A converter  250 . The picture data converted into an analog signal are output through the output unit  260  for an external device to the television  300  which is an external device, thereby being reproduced. When the picture data are output and displayed through the television  300 , together with the reproduction of the audio data, the control unit  210  of the media device performs step  816 , wherein the control unit  210  transmits a response message, which indicates that the picture data are displayed through the external device  300 , to the wireless terminal  100 . While the audio/picture data are being reproduced through the television  300 , the control unit  210  performs step  817 , in which the control unit  210  transmits information relating to a current connection state between the wireless terminal  100  and the media device  200  to the wireless terminal  100  through the RTC protocol at a predetermined period of time. While the audio/picture data are being reproducing through the television  300 , when the user of the wireless terminal  100  wireless terminal  100  selects another picture and selects the play function, steps  815  to  817  are repeated, thereby displaying the selected picture, with the audio data reproduced, through the television  300 . 
         [0069]    Meanwhile, when the user of the wireless terminal  100 , who is seeing and hearing the audio/picture data reproduced through the television  300  in steps  814  to  817 , selects a pause function, the control unit  110  of the wireless terminal detects it and proceeds to step  820  shown in  FIG. 8B , in which the control unit  110  transmits a pause command to the media device  200 . 
         [0070]    Referring to  FIG. 8B , when the media device  200  receives the pause command from the wireless terminal  100 , the control unit  210  of the media device  200  detects it and performs a control operation to stop the output of audio data to the external device  300  and to pause the current image. During such a paused state, the control unit  210  discards all of audio/picture data received to the control unit  210 . In step  821 , when the wireless terminal  100  receives a response message from the media device  200  in response to the pause command, the control unit  110  of the wireless terminal  100  detects it and stops transmitting the audio/picture data. In such a paused state, when the user of the wireless terminal  100  selects a play function, the control unit  110  detects it and transmits a play command to the media device  200  in step  823 . When the wireless terminal  100  receives a response message, which indicates that the media device  200  is ready to play, from the media device  200  in step  824  in response to the play command, the control unit  110  of the wireless terminal  100  detects it and performs step  825  in which the control unit  110  transmits the audio data to the media device  200  through the RTC protocol. In this case, data transmitted to the media device  200  in step  825  are data of a frame number following that of the data transmitted just before the pause command is transmitted. That is, in the case in which the pause command is transmitted after data of frame number ‘99’ are transmitted to the media device  200 , the audio data of frame number ‘100’ are transmitted when play resumes after the pause operation. While the audio is being reproduced, when picture data selected by the user are transmitted, steps  826  and  827  are performed to output the picture data to the television  300 , thereby displaying the picture on the television  300 . A procedure performed by the steps  826  and  827  is equal to the procedure performed by the steps  815  and  816 . 
         [0071]    Meanwhile, when the user of the wireless terminal  100 , who is seeing and hearing the audio/picture data reproduced through the television  300 , selects a stop function, the control unit  110  of the wireless terminal detects it and proceeds to step  830  shown in  FIG. 8C , in which the control unit  110  transmits a stop command to the media device  200 . 
         [0072]    Referring to  FIG. 8C , when the media device  200  receives the stop command from the wireless terminal  100 , the control unit  210  of the media device  200  detects it and performs a control operation to stop the output of audio data to the external device  300  and to stop the current image. During such a stopped state, the control unit  210  discards all of audio/picture data received to the control unit  210 . In step  831 , when the wireless terminal  100  receives a response message from the media device  200  in response to the stop command, the control unit  110  of the wireless terminal  100  detects it and waits for an input of the user. In this state, when the user selects a power-off function, the control unit  110  of the wireless terminal detects it and performs step  832  of transmitting a power-off command to the media device  200 . When the control unit  210  of the media device  200  receives the power-off command, the control unit  210  detects it, controls the power supply unit  220  for an external device to turn off the power of the television  300  which is an external device, and also turns off the power of the media device  200  itself. In this case, the control unit  210  leaves a portion of the power relating to the power on/off function of the media device  200  itself. When the powers of the television  300  and the media device  200  are turned off, the media device  200  transmits a response message, which indicates that the powers of the television  300  and the media device  200  are turned off, to the wireless terminal  100  in step  833  in response to the power-off command. 
         [0073]    As described above, the media device according to this embodiment of the present invention enables a user to see and hear data stored in the wireless terminal through an external device and also enables the user to remotely control the external device by the wireless terminal. 
         [0074]    While the present invention has been shown and described with reference to certain embodiments thereof, it should be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Accordingly, the scope of the invention is not to be limited by the above embodiments but by the claims and the equivalents thereof.