KR20090126734A - Multimedia messaging service method for voip terminals - Google Patents
Multimedia messaging service method for voip terminals Download PDFInfo
- Publication number
- KR20090126734A KR20090126734A KR1020080052985A KR20080052985A KR20090126734A KR 20090126734 A KR20090126734 A KR 20090126734A KR 1020080052985 A KR1020080052985 A KR 1020080052985A KR 20080052985 A KR20080052985 A KR 20080052985A KR 20090126734 A KR20090126734 A KR 20090126734A
- Authority
- KR
- South Korea
- Prior art keywords
- mailbox
- rtp packet
- voip terminal
- message
- time
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/50—Centralised arrangements for answering calls; Centralised arrangements for recording messages for absent or busy subscribers ; Centralised arrangements for recording messages
- H04M3/53—Centralised arrangements for recording incoming messages, i.e. mailbox systems
- H04M3/5307—Centralised arrangements for recording incoming messages, i.e. mailbox systems for recording messages comprising any combination of audio and non-audio components
- H04M3/5315—Centralised arrangements for recording incoming messages, i.e. mailbox systems for recording messages comprising any combination of audio and non-audio components where the non-audio components are still images or video
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M7/00—Arrangements for interconnection between switching centres
- H04M7/006—Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
본 발명은 VoIP 단말을 위한 영상 사서함 서비스 방법에 관한 것으로서, 더욱 상세하게는 발신 VoIP 단말기로부터 사서함 메시지의 오디오 데이터와 비디오 데이터를 연속적인 RTP 패킷 단위로 수신하고, 수신된 각 RTP 패킷의 타임스탬프 정보를 해당 패킷이 실제로 수신된 시간을 기준으로 보정하여 저장해두며, 착신 VoIP 단말기측으로 저장된 사서함 메시지의 오디오 및 비디오 데이터를 각각 RTP 패킷의 타임스탬프 정보를 이용하여 동기화하여 전송하여, 착신 VoIP 단말기에서 사서함 메시지의 RTP 패킷을 적시에 전송받는 동시에, 전송된 메시지를 상기 보정된 타임스탬프를 기준으로 재생하도록 구성됨으로써, 발신 VoIP 단말기의 기종에 관계 없이 사서함 메시지의 오디오/비디오 동기화를 효과적으로 구현할 수 있는 영상 사서함 서비스 방법에 관한 것이다.The present invention relates to a video mailbox service method for a VoIP terminal, and more particularly, to receive audio data and video data of a mailbox message in a continuous RTP packet unit from an originating VoIP terminal, and timestamp information of each received RTP packet. Is stored based on the time when the packet is actually received, and the audio and video data of the mailbox message stored to the destination VoIP terminal are synchronized and transmitted using the time stamp information of the RTP packet, respectively. It is configured to receive the timely transmission of the RTP packet, and to play the transmitted message based on the corrected time stamp, thereby enabling the video mailbox service to effectively implement audio / video synchronization of mailbox messages regardless of the type of originating VoIP terminal. How about .
VoIP(Voice over Internet Protocol)는 인터넷 프로토콜(IP)를 사용하여 음성정보를 전달하는 통신기술로서, 기존 인터넷망을 그대로 활용해 음성 데이터를 인터넷 프로토콜 상의 데이터 패킷 형태로 음성 신호를 전송하기 때문에, 사용자들 이 시내전화 요금만으로 인터넷, 인트라넷 환경에서 시외 및 국제전화 서비스를 받을 수 있으며, 음성 이외에도 동영상, 사진 등의 다양한 멀티미디어 정보를 주고받을 수 있는 장점이 있다.Voice over Internet Protocol (VoIP) is a communication technology that delivers voice information using the Internet Protocol (IP) .It uses the existing internet network to transmit voice data in the form of data packets over the Internet protocol. They can receive long distance and international phone service in the Internet and intranet environment with only local call charges, and they can exchange various multimedia information such as video and photos in addition to voice.
VoIP 전화 서비스는 인터넷망을 통해 서로 연결되어 있는 다양한 VoIP 단말기(예를 들어, VoIP 응용 프로그램과 인터페이스가 장착되어 있는 통상의 컴퓨터 단말 또는 VoIP 서비스 전용으로 제작된 인터넷폰) 간의 음성 통신을 제공해주며, PSTN(Public Switched Telephone Network; 공중 전화 교환망) 또는 이동 통신망에 연결된 게이트웨이를 통하여 VoIP 단말기가 유선 전화나 이동통신단말기와 같은 다른 기종의 통신 기기와도 통신할 수 있도록 해준다.The VoIP telephone service provides voice communication between various VoIP terminals (for example, ordinary computer terminals equipped with VoIP applications and interfaces or Internet phones made exclusively for VoIP services) connected to each other through an Internet network. A gateway connected to a public switched telephone network (PSTN) or a mobile communication network allows a VoIP terminal to communicate with other types of communication devices such as landline phones and mobile communication terminals.
이러한, VoIP 전화 서비스는 영상과 음성을 동시에 전송할 수 있는 특성을 활용하여 VoIP 단말기 사용자들에게 다양한 서비스를 제공하고 있는데, 그중 착신 단말기 사용자가 통화중이거나 부재시에 발신 단말기 사용자가 영상 메시지를 녹화하여, 이후 착신 단말기의 사용자가 녹화된 영상 메시지를 확인해볼 수 있도록 해주는 영상 사서함 서비스가 있다.The VoIP telephone service provides a variety of services to VoIP terminal users by utilizing the characteristics of transmitting video and voice at the same time. Among them, the calling terminal user records a video message when the called terminal user is busy or absent. Thereafter, there is a video mailbox service that allows a user of a called terminal to check recorded video messages.
종래의 영상 사서함 서비스는 VoIP 단말기와 영상 메시지를 송수신하기 위해 통상적으로 RTP(Real Time Protocol)를 이용하여 비디오 및 오디오 데이터를 각각 RTP 패킷 단위로 나누어 통신하는데, 착신 VoIP 단말기에서는 발신자에 의해 녹화된 영상 메시지의 RTP 패킷 내에 포함된 타임스탬프(timestamp) 정보를 이용하여 일련의 RTP 패킷 내에 저장된 비디오와 오디오 데이터를 정확한 시간대에 출력함으로써 영상 메시지를 재생하게 된다.In the conventional video mailbox service, video and audio data are divided into RTP packet units using RTP (Real Time Protocol) to transmit and receive video messages to and from the VoIP terminal. In the incoming VoIP terminal, the video recorded by the caller is recorded. The video message is reproduced by outputting video and audio data stored in a series of RTP packets in a correct time zone using timestamp information included in the RTP packet of the message.
그러나, VoIP 단말기에서 전송되는 RTP 패킷의 타임스탬프 정보는 단말기 제조사별로 각기 다르게 해석하여 사용하기 때문에, 발신 VoIP 단말기와 착신 VoIP 단말기의 제조사가 서로 다른 경우 착신 VoIP 단말기에서 녹화된 영상 메시지를 재생하는 과정에서 오디오/비디오 동기화(syncronization)가 정확히 맞지 않아 사용자의 불편을 초래하는 문제점이 있다.However, since the time stamp information of the RTP packet transmitted from the VoIP terminal is interpreted differently for each terminal manufacturer, the process of playing a video message recorded by the receiving VoIP terminal when the originating VoIP terminal and the destination VoIP terminal are different. Audio / video synchronization (syncronization) does not fit correctly, there is a problem that causes the user inconvenience.
또한, 종래의 멀티미디어 링백 서비스를 제공하는 서버는 통상적으로 실시간 OS(RTOS)가 아닌 LINUX 또는 SOLARIS 기반으로 구성되어 RTP(Real-time Transport Protocol) 패킷 간의 전송 간격을 10 ms 이하로 정확하게 제어할 수 없기 때문에, 영상 메시지를 오디오와 비디오 각각에 대한 RTP 패킷 단위로 전송하는 과정에서 각 RTP 패킷의 전송 시간 간격의 오차가 누적되어 착신 VoIP 단말기에서의 메시지 재생시에 오디오/비디오 동기화 문제를 일으킬 수 있는 문제점도 있다.In addition, a server providing a conventional multimedia ringback service is typically configured based on LINUX or SOLARIS rather than a real-time OS (RTOS), and cannot accurately control a transmission interval between Real-time Transport Protocol (RTP) packets to 10 ms or less. Therefore, in the process of transmitting a video message in units of RTP packets for audio and video, errors in the transmission time interval of each RTP packet accumulate, which may cause an audio / video synchronization problem when a message is played on an incoming VoIP terminal. have.
본 발명은 상기한 종래 기술에 따른 멀티미디어 링백 서비스의 문제점을 해결하기 위한 것이다. 즉, 본 발명의 목적은, 발신 VoIP 단말기로부터 사서함 메시지의 오디오 데이터와 비디오 데이터를 연속적인 RTP 패킷 단위로 수신하고, 수신된 각 RTP 패킷의 타임스탬프 정보를 해당 패킷이 실제로 수신된 시간을 기준으로 보정하여 저장해두고, 착신 VoIP 단말기에서 저장된 사서함 메시지를 RTP 패킷 단위로 수신하여 보정된 타임스탬프를 기준으로 재생하도록 구성함으로써, 발신 VoIP 단말기의 기종에 관계 없이 사서함 메시지의 오디오/비디오 동기화를 효과적으로 구현하는 데에 그 목적이 있다.The present invention is to solve the problem of the multimedia ringback service according to the prior art. That is, an object of the present invention is to receive audio data and video data of a mailbox message in a continuous RTP packet unit from an originating VoIP terminal, and timestamp information of each received RTP packet based on the time at which the packet is actually received. By calibrating and storing the received mailbox message in RTP packet unit, the stored mailbox message is reproduced based on the corrected time stamp, which effectively implements audio / video synchronization of mailbox message regardless of the type of originating VoIP terminal. Its purpose is to.
또한, 본 발명은 저장된 사서함 메시지의 오디오 및 비디오 데이터를 각각 RTP 패킷의 타임스탬프 정보를 기준으로 동기화하여 착신 VoIP 단말기측으로 전송하도록 함으로써, 착신 VoIP 단말기에서 녹화된 사서함 메시지의 오디오 및 비디오 데이터를 RTP 패킷 단위로 적시에 전송받아 오디오/비디오 동기화가 정확히 구현된 영상으로 재생할 수 있도록 하는 데에 또다른 목적이 있다.In addition, the present invention by synchronizing the audio and video data of the stored mailbox message based on the timestamp information of the RTP packet, respectively, and transmits the audio and video data of the mailbox message recorded in the recipient VoIP terminal to the RTP packet. Another purpose is to allow timely transmission in units of time so that audio / video synchronization can be reproduced correctly.
상기의 목적을 달성하기 위한 기술적 사상으로서의 본 발명은, 발신 VoIP 단말기로부터 착신 VoIP 단말기로의 호 연결 시도시, 착신 VoIP 단말기가 통화중 또는 부재중인 경우 발신 VoIP 단말기 측으로 사서함 이용 안내 메시지를 전송하는 단계와; 발신 VoIP 단말기에서 상기 전송된 메시지에 응답하여 사서함 메시지를 송 신하면, 상기 송신된 사서함 메시지의 오디오 및 비디오 데이터의 RTP 패킷에 포함된 타임스탬프 정보를 해당 RTP 패킷이 수신된 시간을 기준으로 보정하여 사서함 DB에 저장하는 사서함 메시지 녹화 단계와; 착신 VoIP 단말기로 사서함 메시지 수신을 통보하는 안내 메시지를 전송하고, 착신 VoIP 단말기에서 상기 전송된 안내 메시지에 응답하여 사서함 메시지 전송을 요청하면, 상기 저장된 사서함 메시지의 오디오 및 비디오 데이터를 각각 RTP 패킷 단위로 착신 VoIP 단말기로 전송하는 사서함 메시지 전송 단계;를 포함하여 구성되며, 상기 사서함 메시지 전송 단계는, 전송될 RTP 패킷의 상기 보정된 타임스탬프 정보를 이용하여 첫번째 RTP 패킷의 전송 시점으로부터의 이론적 소요 시간을 산출하고, 실제 소요된 시간과 상기 산출된 이론적 소요 시간의 차이 만큼 슬립을 실행한 후, 전송 대상이 되는 RTP 패킷을 전송하는 것을 특징으로 하는 VoIP 단말을 위한 영상 사서함 서비스 방법을 제공한다.The present invention as a technical concept for achieving the above object, when the call connection attempt from the originating VoIP terminal to the destination VoIP terminal, if the destination VoIP terminal is busy or absent, transmitting a mailbox use guide message to the calling VoIP terminal side; Wow; When the originating VoIP terminal transmits the mailbox message in response to the transmitted message, the time stamp information included in the RTP packet of the audio and video data of the transmitted mailbox message is corrected based on the time when the corresponding RTP packet is received. Recording a mailbox message stored in the mailbox DB; When a guide message for notifying the reception of a mailbox message is transmitted to a destination VoIP terminal, and a request for a mailbox message is transmitted from the destination VoIP terminal in response to the transmitted guidance message, audio and video data of the stored mailbox message are stored in RTP packet units, respectively. Transmitting the mailbox message to the destination VoIP terminal, wherein the transmitting of the mailbox message includes a theoretical time required from the time of transmission of the first RTP packet by using the corrected timestamp information of the RTP packet to be transmitted. The present invention provides a video mailbox service method for a VoIP terminal, comprising: calculating, performing a sleep by a difference between the actual time required and the calculated theoretical time required, and then transmitting an RTP packet to be transmitted.
본 발명에 따른 VoIP 단말을 위한 영상 사서함 서비스 방법은 착신 VoIP 단말기에서 사서함 메시지의 오디오 및 비디오 데이터를 RTP 패킷 단위로 적시에 전송받을 수 있는 동시에, 각 RTP 패킷이 발신 VoIP 단말기로부터 실제로 수신된 시간을 기준으로 재생할 수 있기 때문에, 발신 VoIP 단말기의 기종에 관계 없이 사서함 메시지의 오디오/비디오가 동기화된 양질의 영상 사서함 서비스를 제공할 수 있는 효과가 있다.In the video mailbox service method for a VoIP terminal according to the present invention, the incoming VoIP terminal can receive audio and video data of a mailbox message in RTP packet units in a timely manner, and at the same time, each RTP packet is actually received from an originating VoIP terminal. Since it can be played back as a reference, it is possible to provide a high quality video mailbox service in which audio / video of a mailbox message is synchronized regardless of the type of originating VoIP terminal.
이하, 본 발명의 바람직한 실시예를 첨부 도면에 의거하여 상세하게 설명하기로 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명에 따른 영상 사서함 서비스 방법이 적용되는 영상 사서함 시스템의 구성도이다.1 is a configuration diagram of a video mailbox system to which a video mailbox service method according to the present invention is applied.
도 1에 도시된 바와 같이, 본 발명에 따른 영상 사서함 서비스 방법이 적용되는 영상 사서함 시스템은 발신 VoIP 단말기(600)로부터 영상 사서함 메시지를 오디오 데이터와 비디오 데이터로 각각 나누어 전송받고, 기저장된 영상 사서함 메시지의 오디오 데이터와 비디오 데이터를 서로 동기화하여 착신 VoIP 단말기(700) 측으로 전송하는 메시지 통신부(400)와, 발신 VoIP 단말기(600)와 착신 VoIP 단말기(700) 간의 호를 중계하는 호처리부(500)와, 호처리부(500)의 제어 메시지에 따라 메시지 통신부(400)를 제어하여 사서함 메시지를 녹화 또는 발신하는 사서함 관리부(100)와, 메시지 통신부(400)를 통해 발신 VoIP 단말기(600)로부터 전송되는 사서함 메시지를 저장해두는 사서함 DB(200)를 포함하여 구성된다.As shown in FIG. 1, a video mailbox system to which a video mailbox service method according to the present invention is applied receives video mailbox messages divided into audio data and video data from an outgoing VoIP terminal 600, and stores previously stored video mailbox messages. A message communication unit 400 for synchronizing audio data and video data with each other and transmitting them to the incoming VoIP terminal 700, and a
메시지 통신부(400)는 발신 VoIP 단말기(600)로부터 영상 사서함 메시지의 비디오 RTP 패킷을 순차적으로 전송받아 RTP 패킷 내의 타임스탬프 정보를 실제 전송된 시간을 기준으로 보정해주고, 착신 VoIP 단말기(700)로 기녹화된 영상 사서함 메시지의 비디오 데이터를 각 RTP 패킷 내의 타임스탬프 정보를 기준으로 RTP 패킷을 동기화하여 전송해주는 비디오 처리부(410)와, 발신 VoIP 단말기(600)로부터 영상 사서함 메시지의 오디오 RTP 패킷을 순차적으로 전송받아 RTP 패킷 내의 타임스탬프 정보를 실제 전송된 시간을 기준으로 보정해주고, 기녹화된 영상 사서함 메시 지의 오디오 데이터를 각 RTP 패킷 내의 타임스탬프 정보를 기준으로 RTP 패킷을 동기화하여 착신 VoIP 단말기(700)로 전송해주는 오디오 처리부(420)로 구성된다. 여기서, RTP 패킷의 구조와 발신 VoIP 단말기로부터 전송된 RTP 패킷 내의 타임스탬프를 보정하고, 송신 VoIP 단말기로 RTP 패킷 전송시에 보정된 타임스탬프를 기준으로 동기화하여 전송하는 과정에 대해서는 후술하여 상세히 설명하기로 한다.The message communication unit 400 sequentially receives the video RTP packet of the video mailbox message from the originating VoIP terminal 600, corrects the timestamp information in the RTP packet based on the actual transmission time, and sends it to the called VoIP terminal 700. The video processor 410 transmits the video data of the recorded video mailbox message by synchronizing the RTP packet based on the time stamp information in each RTP packet, and the audio RTP packet of the video mailbox message from the originating VoIP terminal 600 in sequence. The received VoIP terminal 700 corrects the time stamp information in the RTP packet based on the actual transmission time, and synchronizes the RTP packet based on the time stamp information in each RTP packet with the audio data of the recorded video mailbox message. It consists of an audio processor 420 to transmit to. Here, a process of correcting the structure of the RTP packet and the time stamp in the RTP packet transmitted from the originating VoIP terminal and synchronizing the transmitted time stamp based on the corrected time stamp at the time of transmitting the RTP packet to the transmitting VoIP terminal will be described in detail later. Shall be.
사서함 관리부(100)는 발신 VoIP 단말기(600)로부터 메시지 통신부(400)를 통해 전송되는 사서함 메시지의 비디오 데이터와 오디오 데이터를 각각 비디오 파일과 오디오 파일로 구분하여 사서함 DB(200)에 저장해두고, 호처리부(500)로부터 착신 VoIP 단말기(700) 측으로의 사서함 메시지 전송 요청이 있는 경우 기저장된 사서함 메시지의 비디오 파일과 오디오 파일을 사서함 DB(200)로부터 독출하여 메시지 통신부(400)로 전달해 줌으로써 착신 VoIP 단말기(700) 측으로 사서함 메시지가 전송되도록 해준다.The mailbox manager 100 divides the video data and the audio data of the mailbox message transmitted from the originating VoIP terminal 600 through the message communication unit 400 into video files and audio files, respectively, and stores them in the mailbox DB 200. When there is a request for transmitting a mailbox message from the
호처리부(500)는 발신 VoIP 단말기(600) 및 착신 VoIP 단말기(700)와 호 연결을 위한 접속설정프로토콜(Session Initiation Protocol; SIP) 메시지를 주고 받아 호 연결을 중계하며, 사서함 관리부(100) 측으로 제어 메시지를 송신하여, 발신 VoIP 단말기(600)로부터 전송되는 사서함 메시지를 녹화하거나 녹화된 사서함 메시지를 착신 VoIP 단말기(700)로 송신하도록 한다.The
도 2는 본 발명의 일실시예에 따른 영상 사서함 서비스 절차를 나타내는 순서도이다.2 is a flowchart illustrating a video mailbox service procedure according to an embodiment of the present invention.
이하, 도 2를 참조하여 앞서 설명한 영상 사서함 서비스 시스템을 이용한 본 발명의 일실시예에 따른 영상 사서함 서비스 방법을 설명하기로 한다.Hereinafter, a video mailbox service method according to an embodiment of the present invention using the video mailbox service system described above will be described with reference to FIG. 2.
먼저, 발신 VoIP 단말기(600)로부터 착신 VoIP 단말기(700)로의 호 연결 시도가 있는 경우(S100), 호처리부(500)는 착신 VoIP 단말기(700)가 통화중이거나 일정 시간 호 응답이 없는 부재중 상태인지를 확인하여, 통화중 또는 부재중 상태가 아닌 경우 발신 VoIP 단말기(600)와 착신 VoIP 단말기(700) 간의 호 연결을 중계해주고(S900), 착신 VoIP 단말기(700)가 통화중 또는 부재중인 경우 발신 VoIP 단말기(600) 측으로 통화중 또는 부재중인 사실을 통보함과 동시에 사서함 이용 안내 메시지를 전송한다(S200).First, when there is a call connection attempt from the outgoing VoIP terminal 600 to the incoming VoIP terminal 700 (S100), the
상기 전송된 사서함 이용 안내 메시지에 따라 발신 VoIP 단말기(600)에서 사서함 메시지를 송신하면(S300), 사서함 관리부(100)는 발신 VoIP 단말기(600)로부터 사서함 메시지의 오디오 데이터와 비디오 데이터를 연속적인 RTP 패킷 단위로 수신하고, 수신된 각 RTP 패킷의 타임스탬프 정보를 보정하여 타임스탬프가 보정된 일련의 RTP 패킷으로 구성되는 오디오 파일과 비디오 파일을 저장함으로써 사서함 메시지를 녹화한다(S400). 각 RTP 패킷의 타임스탬프 정보를 보정하고 이를 저장하는 구체적인 과정에 대해서는 후술하여 상세히 설명하기로 한다.When the originating VoIP terminal 600 transmits a mailbox message according to the transmitted mailbox usage guide message (S300), the mailbox management unit 100 continuously transmits the audio data and the video data of the mailbox message from the originating VoIP terminal 600. A mailbox message is recorded by storing the audio file and the video file received in packet units, correcting the time stamp information of each received RTP packet, and storing a series of RTP packets whose time stamp is corrected (S400). A detailed process of correcting and storing time stamp information of each RTP packet will be described in detail later.
이후, 착신 VoIP 단말기(700)로 사서함 메시지가 수신되었음을 통보하는 안내 메시지를 전송하고(S500), 착신 VoIP 단말기(700)에서 상기 전송된 안내 메시지에 응답하여 사서함 메시지 전송을 요청하면(S600), 녹화된 사서함 메시지의 비디오 데이터와 오디오 데이터를 각각 RTP 패킷 단위로 착신 VoIP 단말기(700)로 전송 한다(S700).Subsequently, when a guide message for notifying that the mailbox message has been received is transmitted to the incoming VoIP terminal 700 (S500), and when the incoming VoIP terminal 700 requests the transmission of the mailbox message in response to the transmitted guidance message (S600), Video data and audio data of the recorded mailbox message are transmitted to the incoming VoIP terminal 700 in units of RTP packets, respectively (S700).
끝으로 착신 VoIP 단말기(700)는 수신되는 사서함 메시지를 재생하여 사용자에게 출력해준다(S800).Finally, the incoming VoIP terminal 700 plays the received mailbox message and outputs it to the user (S800).
도 3은 도 2에 도시된 사서함 메시지 수신 및 녹화 단계를 통해 얻어지는 오디오 및 비디오 파일의 구조를 보여주는 도면이고, 도 4는 도 2에 도시된 사서함 메시지 수신 및 녹화 단계의 세부 절차를 나타내는 순서도이다.3 is a view showing the structure of an audio and video file obtained through the mailbox message receiving and recording step shown in Figure 2, Figure 4 is a flow chart showing the detailed procedure of the mailbox message receiving and recording step shown in FIG.
앞서 설명한 바와 같이, 사서함 메시지 수신 및 녹화 단계(S400)에서는 발신 VoIP 단말기(600)로부터 사서함 메시지의 오디오 데이터와 비디오 데이터를 연속적인 RTP 패킷 단위로 수신하고, 수신된 각 RTP 패킷의 타임스탬프 정보를 보정하여 타임스탬프가 보정된 일련의 RTP 패킷으로 구성되는 오디오 파일과 비디오 파일을 저장하는데, 먼저 도 3을 참조하여 RTP 패킷으로 이루어지는 오디오 및 비디오 파일의 데이터 구조에 대하여 설명하기로 한다.As described above, in the receiving and recording of the mailbox message (S400), the audio data and the video data of the mailbox message are received from the originating VoIP terminal 600 in a continuous RTP packet unit, and time stamp information of each received RTP packet is received. An audio file and a video file, each of which is composed of a series of RTP packets whose time stamps are corrected and stored, are stored. First, a data structure of an audio and video file consisting of RTP packets will be described with reference to FIG. 3.
사서함 메시지의 오디오 및 비디오 파일은 각각, 도 3의 (a)에 도시된 바와 같이, 여러개의 RTP 패킷들이 연속적으로 이어져 하나의 파일로 구성되는데, 각각의 RTP 패킷은 발신 VoIP 단말기(600) 또는 착신 VoIP 단말기(700)와의 사서함 메시지 송수신시 한번에 전송되는 전송 단위에 해당한다. RTP 패킷의 구조는, 도 3의 (b)에 도시된 MOD_RTP_PACKET 구조체와 같이, 크게 RTP 헤더(RTP Header)와 RTP 페이로드(RTP Payload)로 구성되는데, RTP 헤더에는 RTP 통신을 위한 정보가 저장되고, RTP 페이로드에는 해당 프레임의 오디오 및 비디오 데이터가 저장된다. 여기 서, RTP 헤더에는 해당 패킷의 재생 동기화를 위한 클록수를 나타내는 타임스탬프(timestamp) 값이 저장되어 있다.The audio and video files of the mailbox message, respectively, are composed of one file in succession of several RTP packets, as shown in Fig. 3 (a). Each RTP packet is the originating VoIP terminal 600 or the called party. Corresponds to a transmission unit transmitted at a time when transmitting and receiving a mailbox message with the VoIP terminal 700. The structure of the RTP packet, like the MOD_RTP_PACKET structure shown in (b) of FIG. 3, is mainly composed of an RTP header and an RTP payload, and information for RTP communication is stored in the RTP header. In the RTP payload, audio and video data of the corresponding frame are stored. In this case, a timestamp value indicating the number of clocks for reproducing synchronization of the packet is stored in the RTP header.
이하, 도 4를 참조하여 사서함 메시지 수신 및 녹화 단계(S400)의 세부 단계를 설명하기로 한다.Hereinafter, detailed steps of the mailbox message receiving and recording step S400 will be described with reference to FIG. 4.
먼저, 메시지 통신부(400)는 발신 VoIP 단말기(600)로부터 첫번째 RTP 패킷을 수신하고(S410), 상기 수신된 첫번째 RTP 패킷과 해당 패킷이 수신된 시간을 메모리에 임시 저장해둔다(S420).First, the message communication unit 400 receives the first RTP packet from the originating VoIP terminal 600 (S410), and temporarily stores the received first RTP packet and the time at which the packet is received in the memory (S420).
이어서, 발신 VoIP 단말기(600)로부터 다음 RTP 패킷을 수신하고(S430), 현재 시간과 첫번째 RTP 패킷의 수신 시간의 차로부터 현재 수신된 RTP 패킷의 타임스탬프 수치를 산출한다(S440). 여기서, 현재 수신된 RTP 패킷의 타임스탬프 수치는 첫번째 RTP 패킷을 수신한 시간으로부터 현재 RTP 패킷을 수신하기까지 경과된 시간을 RTP 패킷의 코덱 규격에 따른 타임스탬프로 환산하여 얻어지는데, 환산된 타임스탬프(tp)는 아래의 수학식 1을 이용하여 산출된다.Subsequently, the next RTP packet is received from the originating VoIP terminal 600 (S430), and the timestamp value of the currently received RTP packet is calculated from the difference between the current time and the reception time of the first RTP packet (S440). Here, the timestamp value of the currently received RTP packet is obtained by converting the time elapsed from receiving the first RTP packet to receiving the current RTP packet into a timestamp according to the codec standard of the RTP packet. (tp) is calculated using
여기서, tp0는 첫번째 RTP 패킷의 타임스탬프 값, tpframe은 한 프레임당 증가하는 타임스탬프 값, tinc는 첫번째 RTP 패킷을 수신한 시간으로부터 현재 RTP 패킷을 수신하기까지 경과된 시간, tframe은 한 프레임당 전송되는 시간이다.Where tp 0 is the timestamp value of the first RTP packet, tp frame is the timestamp value that increases per frame, t inc is the time elapsed from the time of receiving the first RTP packet to the time of receiving the current RTP packet, and t frame is This is the time transmitted per frame.
상기 수학식 1을 이용하여 각 RTP 패킷별로 타임스탬프를 산출하는 과정을 아래의 표 1을 참조하여 예를 들면 다음과 같다.For example, referring to Table 1 below, a process of calculating a time stamp for each RTP
RTP 전송에 적용된 코덱이 G.723.1인 경우 한 프레임당 전송되는 시간(tframe)은 30 ms이고, 한 프레임당 증가하는 타임스탬프 값(tpframe)은 240 ms로 지정되어 있으며, 첫번째 RTP 패킷의 타임스탬프(tp0)는 임의의 값으로 지정할 수 있는데, 본 예에서는 240이라고 가정하자.If the codec applied to RTP transmission is G.723.1, the time transmitted per frame (t frame ) is 30 ms, and the time stamp value (tp frame ) increases per frame is designated as 240 ms. The time stamp tp 0 can be set to any value. In this example, it is assumed to be 240.
두번째 RTP 패킷을 수신했을 때 첫번째 RTP 패킷을 수신한 시간으로부터 경과한 시간이 20ms이므로, 해당 패킷의 타임스탬프는 상기 수학식 1로부터 (240 + (240 × 20)/30)에 해당하는 400으로 산출된다.When the second RTP packet is received, since the time elapsed from the time of receiving the first RTP packet is 20 ms, the time stamp of the packet is calculated as 400 corresponding to (240 + (240 × 20) / 30) from
이와 같이 본 발명에서는 전체 RTP 패킷들에 대하여 각각 해당 패킷이 실제로 수신된 시간을 기준으로 보정된 타임스탬프를 적용하기 때문에, 착신 VoIP 단말기(700)에서는 발신 VoIP 단말기의 종류에 관계 없이 일정한 기준에 따라 부여된 타임스탬프를 기준으로 사서함 메시지의 오디오 및 비디오 데이터를 프레임별로 재생할 수 있게 된다.As described above, the present invention applies the time stamp corrected based on the time when the corresponding packet is actually received for all the RTP packets, so that the incoming VoIP terminal 700 according to a certain criterion regardless of the type of the originating VoIP terminal. The audio and video data of the mailbox message can be played frame by frame based on the assigned time stamp.
이상과 같이 상기 타임스탬프 수치 산출 단계(S440)가 완료되면, 현재 수신된 RTP 패킷의 타임스탬프를 상기 산출된 타임스탬프로 변경하여 메모리에 임시 저장해둔다(S450).When the timestamp numerical calculation step S440 is completed as described above, the timestamp of the currently received RTP packet is changed to the calculated timestamp and temporarily stored in the memory (S450).
이후, 메시지 통신부(400)는 호처리부(500)로부터 발신 VoIP 단말기(600)의 녹화가 종료되었음을 알리는 메시지가 수신되었는지를 확인하여 녹화 종료 여부를 판단하고(S460), 녹화가 종료되지 않은 경우 상기 다음 RTP 패킷을 수신하는 단계(S430)로 되돌아가 그 이하의 단계들을 반복적으로 수행하고, 녹화가 종료된 경우 메모리에 순차적으로 저장된 RTP 패킷들을 사서함 관리부(100)로 전송함으로써, 사서함 관리부(100)에서 일련의 RTP 패킷들로 이루어진 사서함 메시지 파일을 사서함 DB(200)에 저장하도록 한다(S470).Thereafter, the message communication unit 400 checks whether a message indicating that the recording of the outgoing VoIP terminal 600 has been received from the
위에서 설명한 각 단계(S410 ~ S470)들은 발신 VoIP 단말기(600)로부터 전송되는 사서함 메시지의 오디오 데이터와 비디오 데이터에 대하여 각각 독립적으로 수행되며, 최종적으로 S470 단계에서는 타임스탬프 값이 보정된 오디오 RTP 패킷들로 이루어진 오디오 파일과, 마찬가지로 타임스탬프 값이 보정된 비디오 RTP 패킷들로 이루어진 비디오 파일이 각각 저장된다.Steps S410 to S470 described above are independently performed on audio data and video data of a mailbox message transmitted from the originating VoIP terminal 600. Finally, in step S470, audio RTP packets whose time stamp values are corrected Similarly, an audio file consisting of a video file consisting of video RTP packets whose timestamp value is corrected is stored, respectively.
도 5는 도 2에 도시된 착신 VoIP 단말기로의 사서함 메시지 전송 단계의 세부 절차를 나타내는 순서도이다.5 is a flowchart showing the detailed procedure of the step of transmitting a mailbox message to the destination VoIP terminal shown in FIG.
본 발명이 적용되는 사서함 서비스 시스템이 실시간 OS(RTOS)가 아닌 LINUX나 SOLARIS 기반으로 구성되는 경우 RTP(Real-time Transport Protocol) 패킷 간의 전송 간격을 10 ms 이하로 정확하게 제어할 수 없어, RTP 전송시 오디오 및 비디오 데이터를 스트리밍하는 과정에서 패킷을 차례로 전송하면서 누적되는 전송 시간 간격의 오차로 인해 오디오/비디오의 동기화(syncronization)가 정확히 맞지 않는 문제가 발생할 수 있다.If the mailbox service system to which the present invention is applied is configured based on LINUX or SOLARIS rather than real-time OS (RTOS), the transmission interval between Real-time Transport Protocol (RTP) packets cannot be accurately controlled to 10 ms or less. In the process of streaming audio and video data, a problem may occur in that synchronization of audio / video is not exactly matched due to an error in transmission time intervals accumulated while sequentially transmitting packets.
따라서, 본 실시예에서는 각 RTP 패킷 내에 포함된 타임스탬프 정보를 이용하여 이론적 소요시간을 산출한 다음 실제 소요시간이 이론적 소요시간과 일치하도록 슬립을 수행함으로써 오디오/비디오 동기화 문제를 해결하는데, 이하에서는 이와 같은 슬립 알고리즘을 이용하여 도 2에 도시된 VoIP 단말기로의 사서함 메시지 전송 단계(S700)를 수행하는 세부 과정에 대하여, 도 5를 참조하여 설명하기로 한다.Therefore, in this embodiment, the theoretical time is calculated by using the time stamp information included in each RTP packet, and then the audio / video synchronization problem is solved by performing a slip so that the actual time matches the theoretical time. A detailed process of performing the mailbox message transmission step S700 to the VoIP terminal shown in FIG. 2 using the sleep algorithm as described above will be described with reference to FIG. 5.
먼저, 메시지 통신부(400)는 전송할 사서함 메시지의 오디오 및 비디오 파일을 사서함 DB(200)에서 독출하여 메모리에 임시 저장한다(S710).First, the message communication unit 400 reads an audio and video file of a mailbox message to be transmitted from the
이후, 독출된 오디오 및 비디오 파일을 각각 독립적으로 착신 VoIP 단말기(700) 측으로 RTP 전송하는데, 오디오 전송 단계과 비디오 전송 단계는 공통적으로 다음의 과정을 거치게 된다.Thereafter, the read audio and video files are independently RTP-transmitted to the destination VoIP terminal 700, and the audio transmission step and the video transmission step are commonly performed as follows.
먼저, 메모리에서 첫번째 RTP 패킷을 독출하여 착신 VoIP 단말기(700)로 전송하고(S720), 첫번째 RTP 패킷의 타임스탬프 및 전송시작시간을 저장해 둔다(S730).First, the first RTP packet is read from the memory and transmitted to the incoming VoIP terminal 700 (S720), and the timestamp and transmission start time of the first RTP packet are stored (S730).
이후, 다음 전송될 RTP 패킷을 메모리에서 독출하고(S740), 슬립 시간을 산출한다(S750). 여기서, 전송될 RTP 패킷의 타임스탬프와 첫번째 RTP 패킷의 타임스탬프의 차이를 이용하여 첫번째 RTP 패킷의 전송 시점으로부터의 이론적인 소요 시간을 먼저 산출하고, 실제 소요 시간, 즉 현재 시간과 첫번째 RTP 패킷의 전송시작시간의 차이를 산출하여, 이론적 소요 시간과 실제 소요 시간의 차이 만큼을 슬립 시간으로 설정한다.Thereafter, the next RTP packet to be transmitted is read from the memory (S740), and a sleep time is calculated (S750). Here, the theoretical time required from the time of transmission of the first RTP packet is first calculated by using the difference between the timestamp of the RTP packet to be transmitted and the timestamp of the first RTP packet, and the actual time, i.e., the current time and the first RTP packet, The difference between the transmission start time is calculated, and the sleep time is set as much as the difference between the theoretical time and the actual time.
이어서, 상기 설정된 슬립 시간 만큼 슬립을 실행하고(S760), 전송 대상이 되는 RTP 패킷을 전송한다(S770). 이와 같이 슬립을 실행함으로써, 해당 RTP 패킷을 전송하는 순간까지의 실제 소요 시간이 이론적 소요 시간과 동일하게 조절하여 오디오/비디오 동기화를 구현하게 된다.Subsequently, sleep is performed for the set sleep time (S760), and the RTP packet to be transmitted is transmitted (S770). By performing the sleep as described above, the actual time required to transmit the corresponding RTP packet is adjusted to be equal to the theoretical time required to implement audio / video synchronization.
이후, 호처리부(500)로부터 전송 중지 요청이 있었는지를 판단하여(S780), 전송 중지 요청이 있는 경우 RTP 전송을 중지하고 전송 과정을 완료하며, 전송 중지 요청이 없는 경우 현재 전송한 RTP 패킷이 마지막 패킷인지를 판단한다(S790).Thereafter, it is determined whether there is a transmission stop request from the call processing unit 500 (S780). If there is a transmission stop request, the RTP transmission is stopped and the transmission process is completed. It is determined whether it is the last packet (S790).
상기 마지막 패킷인지 판단하는 단계(S790)에서 마지막 패킷으로 판별된 경우 RTP 전송을 중지하고 전송 과정을 완료하며, 마지막 패킷이 아닌 것으로 판별된 경우 상기 다음 전송될 RTP 패킷을 독출하는 단계(S740)로 분기하여 그 이하의 단계를 반복적으로 수행한다.In step S790, if it is determined that the packet is the last packet, the RTP transmission is stopped and the transmission process is completed. If it is determined that the packet is not the last packet, the next step is to read the next RTP packet to be transmitted (S740). Branches to and repeats the steps below.
이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것은 아니며, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백하다 할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and various substitutions, modifications, and changes are possible in the art without departing from the technical spirit of the present invention. It will be clear to those of ordinary knowledge.
도 1은 본 발명에 따른 영상 사서함 서비스 방법이 적용되는 영상 사서함 시스템의 구성도.1 is a configuration diagram of a video mailbox system to which a video mailbox service method according to the present invention is applied.
도 2는 본 발명의 일실시예에 따른 영상 사서함 서비스 절차를 나타내는 순서도.2 is a flowchart illustrating a video mailbox service procedure according to an embodiment of the present invention.
도 3은 도 2에 도시된 사서함 메시지 수신 및 녹화 단계를 통해 얻어지는 오디오 및 비디오 파일의 구조를 보여주는 도면.3 is a view showing the structure of an audio and video file obtained through the receiving and recording of a mailbox message shown in FIG.
도 4는 도 2에 도시된 사서함 메시지 수신 및 녹화 단계의 세부 절차를 나타내는 순서도.FIG. 4 is a flow chart showing the detailed procedure of the mailbox message receiving and recording step shown in FIG.
도 5는 도 2에 도시된 착신 VoIP 단말기로의 사서함 메시지 전송 단계의 세부 절차를 나타내는 순서도.Fig. 5 is a flowchart showing the detailed procedure of the step of transmitting a mailbox message to the destination VoIP terminal shown in Fig. 2;
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>
100 : 사서함 관리부 200 : 사서함 DB100: mailbox management unit 200: mailbox DB
400 : 메시지 통신부 410 : 비디오 처리부400: message communication unit 410: video processing unit
420 : 오디오 처리부 500 : 호처리부420: audio processing unit 500: call processing unit
600 : 발신 VoIP 단말기 700 : 착신 VoIP 단말기600: outgoing VoIP terminal 700: incoming VoIP terminal
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080052985A KR20090126734A (en) | 2008-06-05 | 2008-06-05 | Multimedia messaging service method for voip terminals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080052985A KR20090126734A (en) | 2008-06-05 | 2008-06-05 | Multimedia messaging service method for voip terminals |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20090126734A true KR20090126734A (en) | 2009-12-09 |
Family
ID=41687804
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080052985A KR20090126734A (en) | 2008-06-05 | 2008-06-05 | Multimedia messaging service method for voip terminals |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20090126734A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101384159B1 (en) * | 2010-10-28 | 2014-04-11 | 에스케이텔레콤 주식회사 | System for presenting caller identity, apparatus thereof and method thereof |
KR20140137251A (en) | 2013-05-22 | 2014-12-02 | 삼성테크윈 주식회사 | Method for display time in the image being played using RTP packet |
KR20150122613A (en) * | 2015-10-16 | 2015-11-02 | 에스케이텔레콤 주식회사 | Method and apparatus for servicing an integration mailbox |
-
2008
- 2008-06-05 KR KR1020080052985A patent/KR20090126734A/en not_active Application Discontinuation
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101384159B1 (en) * | 2010-10-28 | 2014-04-11 | 에스케이텔레콤 주식회사 | System for presenting caller identity, apparatus thereof and method thereof |
KR20140137251A (en) | 2013-05-22 | 2014-12-02 | 삼성테크윈 주식회사 | Method for display time in the image being played using RTP packet |
KR20150122613A (en) * | 2015-10-16 | 2015-11-02 | 에스케이텔레콤 주식회사 | Method and apparatus for servicing an integration mailbox |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7043749B1 (en) | Audio-video packet synchronization at network gateway | |
US7885187B2 (en) | System and method for providing unified messaging system service using voice over internet protocol | |
CN1910897B (en) | Dial-out voice notification system | |
US7379466B2 (en) | In band signal detection and presentation for IP phone | |
US20040047451A1 (en) | Voice over IP telephone recording architecture | |
JP2009284539A (en) | Voice internet transmission system | |
JP2007097185A (en) | Synchronization water marking in multimedia streams | |
JP2002044123A (en) | Integrated messaging system | |
CN1754368B (en) | Communication service unit and connection sequence executing method | |
JP2003101662A (en) | Communication method, communication apparatus and communication terminal | |
KR20090126734A (en) | Multimedia messaging service method for voip terminals | |
US9253312B2 (en) | Sound output setting system for information processing terminal | |
JP5432599B2 (en) | Call recording system | |
JP4108863B2 (en) | Multimedia information communication system | |
JP2001230885A (en) | Method and system for replying voice mail with remarks | |
JP5163750B2 (en) | Multimedia service | |
GB2334854A (en) | Audio-video telephony | |
KR20090126733A (en) | A multimedia ring back service system for voip terminals and the method thereof | |
US20050094626A1 (en) | Voice communication system, and communication apparatus, cable modem, and method for controlling communication apparatus used for the system | |
TWI581605B (en) | Ringing assignment system and its method | |
JP6930345B2 (en) | IP phone device | |
US8837459B2 (en) | Method and apparatus for providing asynchronous audio messaging | |
WO2001089182A1 (en) | Voice storage system, exchanger and voice storage apparatus | |
KR100939128B1 (en) | Apparatus and method for performing video communication | |
JP6780978B2 (en) | Information record control device and information record control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |