KR20000044325A - Method for recovering lost packet of data for video on demand service - Google Patents

Method for recovering lost packet of data for video on demand service Download PDF

Info

Publication number
KR20000044325A
KR20000044325A KR1019980060822A KR19980060822A KR20000044325A KR 20000044325 A KR20000044325 A KR 20000044325A KR 1019980060822 A KR1019980060822 A KR 1019980060822A KR 19980060822 A KR19980060822 A KR 19980060822A KR 20000044325 A KR20000044325 A KR 20000044325A
Authority
KR
South Korea
Prior art keywords
data
packet
rtp
video
sequence
Prior art date
Application number
KR1019980060822A
Other languages
Korean (ko)
Other versions
KR100557107B1 (en
Inventor
염응문
Original Assignee
윤종용
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 윤종용, 삼성전자 주식회사 filed Critical 윤종용
Priority to KR1019980060822A priority Critical patent/KR100557107B1/en
Publication of KR20000044325A publication Critical patent/KR20000044325A/en
Application granted granted Critical
Publication of KR100557107B1 publication Critical patent/KR100557107B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/43Assembling or disassembling of packets, e.g. segmentation and reassembly [SAR]

Abstract

PURPOSE: A method for recovering a lost packet of data for VOD(Video On Demand) service is provided to control the compression data flow and to enhance the reconstitution rate of packet loss and sequence error of compression data. CONSTITUTION: A method for recovering a lost packet of data for VOD service comprises the steps of;buffering the packet of H.323 RTP(Real time Transfer Protocol) data for the constant time(301);monitoring the RTP data buffered in the step(301)(302);checking the sequence of the respective packet and readjusting the sequence of packet when the sequence error is generated(303);checking the linear sequence number(304);judging whether the packet loss is generated for the step(304)(305);and analyzing the character of the former packet and latter packet and reconstituting the lost packet of data, by using the time stamp information in header of RTP data when the packet loss is generated(306,307).

Description

주문형 비디오 서비스를 위한 데이터의 손실 패킷 복원 방법How to Recover Lost Packets of Data for On-Demand Video Services

본 발명은 보장되지 않은 질의 서비스를 제공하는 통신시스템에 관한 것으로, 특히 주문형 비디오 서비스를 위한 압축데이터의 패킷 손실을 복원하는 방법에 관한 것이다.The present invention relates to a communication system for providing a non-guaranteed query service, and more particularly to a method for recovering packet loss of compressed data for an on-demand video service.

일반적으로 보장되지 않은 질의 서비스를 제공하는 랜(LAN: Local Area Network)과 같은 통신시스템에 대해서는 ITU-T(International Telecommunications Union - Telecommunication sector)의 권고안(Recommendation) H.323 제목 "Packet based multimedia communications system (Visual telephone systems and equipment for local area network which provide a non-guaranteed quality of service)"하에 규격화되어 있다. 이러한 통신시스템에서 H.323 RTP(Real time Transport Protocol) over UDP(User Datagram Protocol) 포트를 통해 전송되는 압축데이터는 주문형 비디오(VOD: Video On Demand) 서비스를 위해 H.323 VOD 셋탑박스(Settop box)에 수신되어 재생될 수 있다. 이때의 압축데이터로는 PCM(Pulse Coded Modulation), Vocoder와 같은 음성데이터(Voice data)가 있을 수 있으며, CIF(Common Intermediate Frequency), QCIF(Quarter Common Intermediate Frequency), SQCIF(S Quarter Common Intermediate Frequency)와 같은 비디오 데이터(Video data)가 있을 수 있다.For communication systems, such as LANs (LANs) that provide non-guaranteed query services in general, the recommendations of the International Telecommunications Union-Telecommunication sector (ITU-T) H.323 titled "Packet based multimedia communications system (Visual telephone systems and equipment for local area network which provide a non-guaranteed quality of service). In such a communication system, compressed data transmitted through an H.323 Real Time Transport Protocol (RTP) over User Datagram Protocol (UDP) port is transferred to an H.323 VOD set-top box for video on demand (VOD) service. Can be received and played back. At this time, compressed data may include voice data such as PCM (Pulse Coded Modulation) and Vocoder, and may include Common Intermediate Frequency (CIF), Quarter Common Intermediate Frequency (QCIF), and S Quarter Common Intermediate Frequency (SQCIF). There may be video data such as.

한편 상기와 같은 LAN상에서 UDP를 통해 전송되는 음성/비디오 압축데이터는 UDP 특성상 실시간(Real Time)이 요구되는 데이터 전송에는 효과적이나, 데이터 흐름 제어(data flow control)는 할 수 없다는 단점이 있다. 이는 패킷 손실(packet loss)이 발생하거나 시퀀스 에러(out of order sequence)의 패킷이 발생하더라도 실시간 데이터 전송을 요구하는 애플리케이션(application)에는 별 대책이 없다는 것을 의미한다.On the other hand, voice / video compressed data transmitted through UDP on the LAN is effective for data transmission requiring real time due to the characteristics of UDP, but data flow control is not possible. This means that even if a packet loss occurs or an out of order sequence packet occurs, there is no countermeasure for an application requiring real time data transmission.

따라서 본 발명의 목적은 보장되지 않은 질의 서비스를 제공하는 통신시스템에서 VOD 서비스를 위한 압축데이터에 대한 흐름 제어를 할 수 있도록 하는 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a method for controlling flow of compressed data for a VOD service in a communication system that provides an insured query service.

본 발명의 다른 목적은 보장되지 않은 질의 서비스를 제공하는 통신시스템에서 VOD 서비스를 위한 압축데이터의 패킷 손실 및 시퀀스에러를 복원하는 방법을 제공함에 있다.Another object of the present invention is to provide a method for recovering packet loss and sequence error of compressed data for a VOD service in a communication system providing an insured query service.

이러한 목적들을 달성하기 위한 본 발명은 H.323 기준에 맞는 VOD 셋탑박스에 수신된 데이터의 패킷 손실을 복원해 내는 기술로, VOD 서비스를 위한 데이터는 특성상 실시간 전송에 큰 의미가 없다는 점을 이용한 것이다. 인터넷을 통해 전송되는 음성/비디오 데이터는 셋탑박스에서 일정 시간(10∼20초 정도)만큼 데이터 버퍼링된 후 사용자 단말에 전송된다. 상기 수신측 셋탑박스는 수신된 음성/비디오 데이터를 일정 시간만큼 버퍼링한 후 버퍼링된 RTP헤더 데이터중에서 타임스탭프(TIME STAMP), 시퀀스넘버(SEQUENCE NUMBER)를 이용하여 음성 및 비디오 데이터의 손실 패킷을 복원해 낸다. 여기서 손실 음성 및 비디오 데이터의 패킷을 복원시킬 수 있는 것은 순간적으로 변하는 음성 및 비디오 데이터는 큰 변화가 없기 때문에, 앞 뒤 패킷의 데이터 특성을 이용하여 손실 패킷을 복원해 낼 수 있다. 이때 사용자는 큰 불편(시간상의 지연)없이 VOD 서버에서 제공하는 모든 패킷 데이터를 수신하여 시청할 수 있다.The present invention is to recover the packet loss of the data received in the VOD set-top box that meets the H.323 standard, using the fact that the data for the VOD service is not significant for real-time transmission . Voice / video data transmitted through the Internet is buffered for a predetermined time (about 10 to 20 seconds) in the set-top box and then transmitted to the user terminal. The receiving set-top box buffers the received voice / video data for a predetermined time and uses the time stamp and sequence number of the buffered RTP header data to drop the lost packet of the voice and video data. Restore it. Here, the packet of the lost voice and video data can be recovered. Since the voice and video data which are instantaneously changed are not largely changed, the lost packet can be recovered using the data characteristics of the front and back packets. At this time, the user can receive and view all packet data provided by the VOD server without any inconvenience (time delay).

본 발명에 따르면, VOD 서비스를 위한 데이터의 손실 패킷을 복원하는 방법은; H.323규격의 알티피(RTP) 데이터를 수신하여 일정 시간동안 버퍼링하는 제1과정과, 상기 버퍼링된 RTP 데이터의 헤더내에 포함된 시퀀스넘버를 체크하고 시퀀스에러가 발생하는 경우 패킷의 시퀀스를 재조정하는 제2과정과, 리니어한 시퀀스넘버의 체크 도중에 패킷 손실이 발생하는 경우 상기 RTP 데이터의 헤더내에 포함된 타임스탬프 정보를 이용하여 이전 패킷과 이후 패킷의 데이터 특성을 분석하고 패킷 손실의 데이터를 복원하는 제3과정으로 이루어짐을 특징으로 한다.According to the present invention, a method for recovering lost packets of data for a VOD service; A first process of receiving H.323 standard RTP data and buffering for a predetermined time, and checking the sequence number included in the header of the buffered RTP data and resequencing the packet when a sequence error occurs. In the case where packet loss occurs during the second step of checking and checking the linear sequence number, the data characteristics of the previous packet and the subsequent packet are analyzed using the time stamp information included in the header of the RTP data, and the data of the packet loss is restored. It is characterized by consisting of a third process.

바람직하기로, 상기 일정 시간은 10초 내지 20초로 설정되거나, 1024바이트의 패킷을 버퍼링하는데 소요되는 시간으로 설정될 수 있다.Preferably, the predetermined time may be set to 10 to 20 seconds, or may be set to a time required to buffer a packet of 1024 bytes.

바람직하기로, 상기 버퍼링된 RTP 데이터가 PCM의 음성 데이터인 경우에 패킷 손실의 데이터는 이전 패킷과 이후 패킷의 중간값 특성으로 복원할 수 있다. 이와 달리 상기 버퍼링된 RTP 데이터가 보코더의 음성 데이터 또는 비디오 데이터인 경우에 패킷 손실의 데이터는 이전 패킷과 이후 패킷을 배타적 논리합 연산하여 복원할 수 있다.Preferably, when the buffered RTP data is voice data of the PCM, data of packet loss may be restored to a median characteristic of a previous packet and a subsequent packet. In contrast, when the buffered RTP data is voice data or video data of a vocoder, data of packet loss may be restored by performing an exclusive OR on the previous packet and the subsequent packet.

도 1은 본 발명에 따라 주문형 비디오 서비스를 위한 데이터의 손실 패킷을 복원하는 기능을 가지는 셋탑 박스의 구성을 보여주는 도면.1 is a diagram illustrating a configuration of a set-top box having a function of recovering lost packets of data for an on-demand video service according to the present invention.

도 2는 본 발명에서 손실 패킷을 복원하기 위해 사용하는 RTP 헤더의 구조를 보여주는 도면.2 illustrates the structure of an RTP header used to recover lost packets in the present invention.

도 3은 본 발명에 따라 주문형 비디오 서비스를 위한 데이터의 손실 패킷을 복원하는 처리흐름을 보여주는 도면.FIG. 3 shows a process flow for recovering lost packets of data for video on demand services in accordance with the present invention. FIG.

도 4는 본 발명에 따라 PCM 음성데이터의 손실 패킷을 복원하는 원리를 설명하기 위한 도면.4 is a diagram for explaining the principle of recovering lost packets of PCM voice data according to the present invention;

이하 본 발명의 바람직한 실시예의 상세한 설명이 첨부된 도면들을 참조하여 설명될 것이다. 하기에서 본 발명을 설명함에 있어, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의내려진 용어들로서 이는 사용자 또는 칩설계자의 의도 또는 관례 등에 따라 달라질 수 있으므로, 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.DETAILED DESCRIPTION A detailed description of preferred embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description of the present invention, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted. In addition, the terms to be described below are terms defined in consideration of functions in the present invention, which may vary according to the intention or custom of the user or chip designer, and the definitions should be made based on the contents throughout the present specification.

우선 본 발명은 H.323 기준에 맞는 VOD 셋탑박스에 수신된 데이터의 패킷 손실을 복원해 내는 기술로서, VOD 서비스를 위해 제공되는 데이터가 특성상 실시간 데이터 전송에는 큰 의미가 없다는 점을 이용한 것이다. 인터넷을 통해 전송되는 음성/비디오 데이터를 셋탑박스가 일정 시간(10∼20초 정도)만큼 데이터를 버퍼링한 후 사용자 단말에 전송한다고 하여도 사용자는 큰 불편없이 VOD 서버에서 제공하는 모든 패킷 데이터를 시청할 수 있다.First of all, the present invention is a technique for recovering packet loss of data received in a VOD set-top box that meets the H.323 standard, and utilizes the fact that data provided for a VOD service does not have much meaning for real-time data transmission. Even if the set-top box buffers the data for a certain period of time (about 10 to 20 seconds) and transmits it to the user terminal, the user can watch all the packet data provided by the VOD server without any inconvenience. Can be.

보다 구체적으로 말하면, 수신측 셋탑박스에서는 수신된 음성/비디오 데이터를 일정 시간만큼 버퍼링한 후 버퍼링된 RTP헤더 데이터중에서 타임스탭프(TIME STAMP), 시퀀스넘버(SEQUENCE NUMBER)를 이용하여 음성 및 비디오 데이터의 잃어버린 패킷을 복원해 낼 수 있다. 여기서 잃어버린 음성 및 비디오 데이터의 패킷을 복원시킬 수 있는 것은 순간적으로 변하는 음성 및 비디오 데이터는 큰 변화가 없기 때문에, 예를 들어 중간의 30밀리초(ms) 1패킷이 손실되었다고 가정하더라도 앞 뒤 패킷의 데이터 특성을 이용하여 잃어버린 패킷을 복원해 낼 수 있는 것이다. 이러한 본 발명은 H.323 동화상 전화기나 인터넷 게이트웨이(INTERNET GATEWAY)에 적용하면 사용자가 큰 불편을 느낄 수 있기 때문에 적용에 의미가 없으나, VOD와 같이 다운스트림 데이터(downstream data)가 많은 애플리케이션에서는 사용자가 큰 불편없이 패킷 데이터를 수신할 수 있다. 즉, 본 발명은 VOD 서비스를 위한 패킷 데이터를 처리함에 있어서 질적인 향상을 기할 수 있는 것이다.More specifically, the receiving set-top box buffers the received voice / video data for a predetermined time and then uses the time stamp and the sequence number among the buffered RTP header data. Can recover lost packets. Here, the packet of lost voice and video data can be recovered because the instantaneous voice and video data does not change much, for example, even if the intermediate 30 millisecond (ms) 1 packet is lost. Data characteristics can be used to recover lost packets. The present invention has no meaning because the user can feel great inconvenience when applied to an H.323 video phone or an Internet gateway, but in an application having a lot of downstream data such as VOD, Packet data can be received without great inconvenience. That is, the present invention can provide a qualitative improvement in processing packet data for a VOD service.

도 1은 본 발명에 따라 VOD 서비스를 위한 데이터의 손실 패킷을 복원하는 기능을 가지는 셋탑 박스의 구성을 보여주는 도면으로, 이 구성은 소프트웨어(S/W)적인 관점에서 도시한 것이다. 본 발명에 따른 셋탑 박스는 크게 RTP(Real time Transport Protocol) 비디오(Video)를 처리하는 블록과, RTP 오디오(Audio)를 처리하는 블록과, RTP 다운스트림(down stream)을 버퍼링하는 블록과, RTP 다운스트림의 손실 패킷 및 시퀀스에러의 패킷을 복원하는 블록과, 랜(LAN)과의 접속을 위한 블록으로 이루어진다.1 is a view showing a configuration of a set-top box having a function of recovering lost packets of data for a VOD service according to the present invention, which is shown in terms of software (S / W). The set-top box according to the present invention is largely a block for processing Real Time Transport Protocol (RTP) video, a block for processing RTP audio, a block for buffering RTP downstream, and a RTP And a block for recovering the downstream lost packets and the sequence error packet, and a block for connecting to the LAN.

상기 도 1에서 VCP(Video Control Processor)(10), DSP 관리자(Manager)(20) 및 메인(Main) DSP(30)은 RTP 비디오를 처리한다. 이때 DSP관리자(20)은 라이트(Write) 동작을 수행하는 ISR(22)과, 리드(Read) 동작을 수행하는 ISR(24)로 이루어진다. DSP(40), DSP 관리자(50), 메인 DSP(60)는 RTP 오디오를 처리한다. 이때 DSP관리자(50)는 라이트 동작을 수행하는 ISR(52)과, 리드 동작을 수행하는 ISR(54)로 이루어진다. 다중화/역다중화기(MUX/DEMUX: Multiplexer/Demultiplexer) (110)은 LAN(또는 인터넷(INTERNET)이 될 수 있음)과의 접속을 위해 구비된 것으로, LAN을 통해 송수신되는 UDP(User Datagram Protocol)상의 스트림 데이터를 다중화 및 역다중화한다. RTP-Tx(90)는 MUX/DEMUX(110)를 통해 랜으로부터 수신된 스트림 데이터를 버퍼(70)로 송신 처리한다. RTP-Rx(100)는 MUX/DEMUX(110)를 통해 랜으로 송신하기 위한 스트림 데이터를 버퍼(80)로부터 수신하여 처리한다. 그리고 버퍼(70)는 RTP 다운스트림 데이터를 수신하여 일정 시간만큼 버퍼링하고, 손실 패킷 및 시퀀스 에러의 패킷을 복원하기 위해 구비된 것이다. 바람직하기로는, 버퍼(70)는 RTP 다운스트림 데이터를 10∼20초 정도(또는 1024바이트의 패킷만큼) 버퍼링하며, 이때 버퍼(70)는 다운스트림 데이터를 수신하여 버퍼링하기 위한 하나의 큐와, 패킷을 복원시키기 위한 3개로 이루어질 수 있다.In FIG. 1, a video control processor (VCP) 10, a DSP manager 20, and a main DSP 30 process RTP video. In this case, the DSP manager 20 includes an ISR 22 performing a write operation and an ISR 24 performing a read operation. The DSP 40, the DSP manager 50, and the main DSP 60 process RTP audio. In this case, the DSP manager 50 includes an ISR 52 performing a write operation and an ISR 54 performing a read operation. The Multiplexer / Demultiplexer (MUX / DEMUX) 110 is provided for connection to a LAN (or may be INTERNET), and is provided on a User Datagram Protocol (UDP) that is transmitted and received over a LAN. Multiplex and demultiplex stream data. The RTP-Tx 90 transmits the stream data received from the LAN through the MUX / DEMUX 110 to the buffer 70. The RTP-Rx 100 receives and processes stream data from the buffer 80 for transmission to the LAN through the MUX / DEMUX 110. The buffer 70 is provided to receive and buffer the RTP downstream data for a predetermined time and to recover packets of lost packets and sequence errors. Preferably, the buffer 70 buffers the RTP downstream data for about 10 to 20 seconds (or 1024 bytes of packets), wherein the buffer 70 includes a queue for receiving and buffering the downstream data, It may consist of three to recover the packet.

도 2는 본 발명에서 손실 패킷을 복원하기 위해 사용하는 RTP 헤더의 구조를 보여주는 도면이다.2 is a diagram illustrating the structure of an RTP header used to recover lost packets in the present invention.

상기 도 2에 도시된 바와 같은 구조의 RTP 헤더는 ITU-T 권고안 H.225 제목 "Call signalling protocols and media stream paketization for packet based multimedia communication system"하에 규격화된 바 있다. 본 발명에서는 이러한 RTP 헤더의 타임스탬프(TIME STAMP)와 시퀀스넘버(SEQUENCE NUMBER)의 정보를 이용하게 된다. 본 발명에서 이용하는 정보 이외에, RTP 헤더는 V, P, X, CC, M, PT, SSRC(Syncronization SouRCe) IDENTIFIER, CSRC(Contributing SouRCe)IDENTIFIER로 이루어진다.The RTP header of the structure as shown in FIG. 2 has been standardized under ITU-T Recommendation H.225 titled "Call signaling protocols and media stream paketization for packet based multimedia communication system". In the present invention, the information of the time stamp and the sequence number of the RTP header is used. In addition to the information used in the present invention, the RTP header includes V, P, X, CC, M, PT, Syncronization SouRCe (SSRC) IDENTIFIER, and CSRC (Contributing SouRCe) IDENTIFIER.

도 3은 본 발명에 따라 주문형 비디오 서비스를 위한 데이터의 손실 패킷을 복원하는 처리흐름을 보여주는 도면이다.3 is a flowchart illustrating a process of recovering a lost packet of data for an on-demand video service according to the present invention.

상기 도 3을 참조하면, 도 1의 LAN을 통해 수신되는 H.323규격의 RTP데이터의 패킷은 일정 시간만큼 버퍼(70)에 버퍼링된다(301단계). 여기서 일정 시간이란 RTP데이터의 패킷을 10∼20초 정도 버퍼링하는데 소요되는 시간 또는 1024바이트의 패킷을 버퍼링하는데 소요되는 시간으로 설정될 수 있다. 상기 버퍼(70)의 사이즈는 서비스의 특성에 맞게 조정가능하다. 다음에 버퍼링된 RTP 데이터를 모니터링하다가(302단계) 일정 패킷만큼 쌓이면, 수신된 각 패킷의 시퀀스를 체크한다(303단계). 이때 버퍼링을 위한 버퍼는 2개 이상이어야 한다. 왜냐하면, 하나는 수신 버퍼용으로, 다른 하나는 1024바이트의 패킷이 쌓이게 되는 경우 시퀀스에러 및 손실 패킷의 복원용으로 사용하여야 하기 때문이다. 1024바이트의 패킷에 대한 복원 동작의 처리가 끝나면, 이 버퍼는 수신 버퍼용으로 재사용하고, 수신 버퍼용으로 사용되던 버퍼는 시퀀스에러 및 손실 패킷 복원용 버퍼로 기능 변환을 하여야 한다 또한 시퀀스넘버를 재조정하기 위한 버퍼도 필요하다. 시퀀스넘버를 체크하여 시퀀스에러가 발생하였으면 각 패킷을 시퀀스에 맞게 재조정하는 작업을 수행한다.Referring to FIG. 3, the packet of the H.323 standard RTP data received through the LAN of FIG. 1 is buffered in the buffer 70 for a predetermined time (step 301). Here, the predetermined time may be set to a time required for buffering a packet of RTP data for about 10 to 20 seconds or a time required for buffering a packet of 1024 bytes. The size of the buffer 70 is adjustable to suit the characteristics of the service. Next, when the buffered RTP data is monitored (step 302) and accumulated by a predetermined packet, the received sequence of each packet is checked (step 303). At this time, there should be at least two buffers for buffering. This is because one should be used for the reception buffer and the other for the recovery of sequence error and lost packets when packets of 1024 bytes are accumulated. After the recovery operation for a packet of 1024 bytes is completed, this buffer is reused for the receiving buffer, and the buffer used for the receiving buffer must be converted to a buffer for recovering the sequence error and lost packets. Also, the sequence number is readjusted. You also need a buffer to do this. If the sequence error occurs by checking the sequence number, it recalibrate each packet according to the sequence.

UDP의 특성상 패킷의 순서가 바뀌어 들어올 수 있는데 이는 VOD 서비스의 특성상 일정 패킷량만큼 버퍼링에 의해 해결할 수 있다. 상기 303단계에서 패킷의 시퀀스를 재배열하고 각 패킷의 시퀀스를 체크하는 동작을 수행한다. 이때 시퀀스가 순차적으로 증가하다 UDP 전송 특성상 수신패킷 손실이 발생할 수 있으며(305단계), 패킷의 시퀀스를 체크하여 잃어버린 패킷의 시퀀스를 찾아낼 수 있다. 이때 패킷정보중에서 타임스탬프 정보를 이용하여 패킷을 찾을 수 있고, 복원해낼 때도 이전 패킷과 이후 패킷의 타임스탬프를 이용하여 데이터 특성을 분석하고 그 시간만큼 복원할 수 있다(306단계,307단계).Due to the characteristics of UDP, the order of packets may be changed. This can be solved by buffering a certain amount of packets due to the characteristics of the VOD service. In step 303, the sequence of packets is rearranged and the sequence of each packet is checked. At this time, the sequence is sequentially increased, the reception packet loss may occur due to the characteristics of UDP transmission (step 305), and the sequence of the lost packet may be found by checking the sequence of the packet. In this case, the packet may be found using the time stamp information in the packet information, and even when the packet is recovered, the data characteristics may be analyzed using the time stamps of the previous packet and the subsequent packet and restored as much as the corresponding time (steps 306 and 307).

상기 RTP데이터가 PCM의 음성데이터인 경우는 PCM데이터의 특성상 음성주파수의 증감의 폭이 도 4에 도시된 바와 같이 적다는 특성을 이용하여 잃어버린 데이터의 패킷을 추정해 낼 수 있다. 예를 들어, 도 4에서 b와 d, e를 잃어버린 경우는 a, c의 중간 데이터를 추출하여 예상 b 패킷을 만들 수 있고, d와 e 패킷은 c와 f의 중간 데이터의 특성을 이용하여 만들 수 있다. 즉 손실된 패킷 b,d,e를 각각 복원할 수 있는 것이다.When the RTP data is the voice data of the PCM, the packet of the lost data can be estimated by using the characteristic that the width of the voice frequency is small as shown in FIG. 4 due to the characteristics of the PCM data. For example, if b, d, and e are lost in FIG. 4, the intermediate data of a and c may be extracted to generate an expected b packet, and the d and e packets may be generated using characteristics of the intermediate data of c and f. Can be. That is, the lost packets b, d, and e can be restored.

이와 달리 상기 RTP데이터가 보코더에 의한 음성데이터인 경우는 음성의 특성데이터만이 전송되기 때문에, PCM데이터의 경우처럼 잃어버린 패킷을 복원하기가 어렵다. 비디오데이터 역시 이전 프레임 대비 변환데이터만 전송되기 때문에, 잃어버린 패킷을 복원하기가 어렵다. 이러한 경우에는 데이터전송 서버에서 일예로 A,B,C,D,…의 패킷을 전송할 때, A, {A XOR B ; A패킷과 B패킷을 배타적 논리합연산한 결과의 패킷}, B, {B XOR C}, C, {C XOR D}, D,… 순으로 데이터를 전송함으로써, 중간에 B패킷이 손실된 경우에 B XOR C 패킷과, C패킷을 이용하여 손실된 B패킷을 복원해낼 수 있다. 이러한 방법은 음성데이터 및 비디오데이터 모든 경우에 적용할 수 있다. 그러나 패킷을 필요 이상(2배)으로 많이 전송하여야 한다는 단점이 있으나, 이러한 단점은 대역폭(Bandwidth)이 확보된다면 가능하다. 또한 위에서 설명한 바와 같은 VOD 서비스의 특성 때문에 가능하다.On the other hand, when the RTP data is voice data by vocoder, since only the characteristic data of the voice is transmitted, it is difficult to recover lost packets as in the case of PCM data. Video data is also difficult to recover lost packets since only the converted data is transmitted compared to the previous frame. In this case, for example, A, B, C, D, ... in the data transmission server. When sending a packet of A, {A XOR B; Packets resulting from the exclusive OR of packets A and B}, B, {B XOR C}, C, {C XOR D}, D,... By transmitting data in order, it is possible to recover the lost B packet by using the B XOR C packet and the C packet when the B packet is lost in the middle. This method is applicable to all cases of voice data and video data. However, there is a disadvantage in that a large amount of packets need to be transmitted (more than twice), but this disadvantage is possible if bandwidth is secured. This is also possible due to the characteristics of the VOD service as described above.

상술한 바와 같이 본 발명은 수신측 VOD 셋탑박스에서 H.323 RTP 데이터를 수신하여 버퍼링함으로써 패킷의 시퀀스를 맞출 수 있고 손실이 생긴 패킷을 복원할 수 있다는 이점이 있다. 또한 VOD 서비스의 특성상 실시간의 데이터 전송이 요구되지만 균등한 지연(delay)은 서비스에 별 문제가 없으므로, H.323 RTP데이터를 버퍼링하여 시퀀스에러 및 패킷의 손실을 복원할 수 있고 보다 정확한 데이터 전송을 가능하게 하는 이점이 있다.As described above, the present invention has an advantage in that the received VOD set-top box receives and buffers H.323 RTP data so that packet sequences can be aligned and lost packets can be recovered. Also, due to the characteristics of the VOD service, real-time data transmission is required, but even delay does not cause any problems in the service. Therefore, buffering H.323 RTP data can restore sequence error and packet loss, and provide more accurate data transmission. There is an advantage to this.

한편 본 발명의 상세한 설명에서는 구체적인 실시예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도내에서 여러가지 변형이 가능함은 물론이다. 그러므로 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 않되며 후술하는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.Meanwhile, in the detailed description of the present invention, specific embodiments have been described, but various modifications may be made without departing from the scope of the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined not only by the scope of the following claims, but also by the equivalents of the claims.

Claims (5)

주문형 비디오 서비스를 위한 데이터의 손실 패킷을 복원하는 방법에 있어서,A method for recovering lost packets of data for video on demand services, the method comprising: H.323규격의 알티피(RTP) 데이터를 수신하여 일정 시간동안 버퍼링하는 제1과정과,Receiving a H.323 standard RTP data and buffering for a predetermined time; 상기 버퍼링된 RTP 데이터의 헤더내에 포함된 시퀀스넘버를 체크하고 시퀀스에러가 발생하는 경우 패킷의 시퀀스를 재조정하는 제2과정과,A second step of checking a sequence number included in a header of the buffered RTP data and resequencing a packet when a sequence error occurs; 리니어한 시퀀스넘버의 체크 도중에 패킷 손실이 발생하는 경우 상기 RTP 데이터의 헤더내에 포함된 타임스탬프 정보를 이용하여 이전 패킷과 이후 패킷의 데이터 특성을 분석하고 패킷 손실의 데이터를 복원하는 제3과정으로 이루어짐을 특징으로 하는 손실 패킷 복원 방법.When packet loss occurs during the checking of the linear sequence number, a third process of analyzing data characteristics of the previous packet and the subsequent packet using time stamp information included in the header of the RTP data and restoring the packet loss data is performed. Lost packet recovery method characterized in that. 제1항에 있어서, 상기 일정 시간은 10초 내지 20초임을 특징으로 하는 손실 패킷 복원 방법.The method of claim 1, wherein the predetermined time is 10 seconds to 20 seconds. 제1항에 있어서, 상기 일정 시간은 1024바이트의 패킷을 버퍼링하는데 소요되는 시간임을 특징으로 하는 손실 패킷 복원 방법.The method of claim 1, wherein the predetermined time is a time required to buffer a packet of 1024 bytes. 제1항에 있어서, 상기 버퍼링된 RTP 데이터가 PCM의 음성 데이터인 경우에 패킷 손실의 데이터는 이전 패킷과 이후 패킷의 중간값 특성으로 복원하는 것을 특징으로 하는 손실 패킷 복원 방법.2. The method of claim 1, wherein when the buffered RTP data is voice data of the PCM, data of packet loss is restored to a median characteristic of a previous packet and a subsequent packet. 제1항에 있어서, 상기 버퍼링된 RTP 데이터가 보코더의 음성 데이터 또는 비디오 데이터인 경우에 패킷 손실의 데이터는 이전 패킷과 이후 패킷을 배타적 논리합 연산하여 복원하는 것을 특징으로 하는 손실 패킷 복원 방법.The method of claim 1, wherein when the buffered RTP data is voice data or video data of a vocoder, data of packet loss is recovered by performing an exclusive OR operation on a previous packet and a subsequent packet.
KR1019980060822A 1998-12-30 1998-12-30 How to Recover Lost Packets of Data for On-Demand Video Services KR100557107B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980060822A KR100557107B1 (en) 1998-12-30 1998-12-30 How to Recover Lost Packets of Data for On-Demand Video Services

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980060822A KR100557107B1 (en) 1998-12-30 1998-12-30 How to Recover Lost Packets of Data for On-Demand Video Services

Publications (2)

Publication Number Publication Date
KR20000044325A true KR20000044325A (en) 2000-07-15
KR100557107B1 KR100557107B1 (en) 2006-05-16

Family

ID=19567580

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980060822A KR100557107B1 (en) 1998-12-30 1998-12-30 How to Recover Lost Packets of Data for On-Demand Video Services

Country Status (1)

Country Link
KR (1) KR100557107B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100461900B1 (en) * 2002-11-21 2004-12-17 한국전자통신연구원 Low delay formant FEC technique

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101236231B1 (en) * 2012-04-02 2013-02-22 주식회사래피드정보통신 Rtp packet transmitting and receiving method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0170963B1 (en) * 1995-05-30 1999-03-20 배순훈 Method for recovering data error in a video on demand system
JPH0998399A (en) * 1995-09-29 1997-04-08 Toshiba Corp Video on demand device
JP3557075B2 (en) * 1997-05-30 2004-08-25 日本電信電話株式会社 Video distribution method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100461900B1 (en) * 2002-11-21 2004-12-17 한국전자통신연구원 Low delay formant FEC technique

Also Published As

Publication number Publication date
KR100557107B1 (en) 2006-05-16

Similar Documents

Publication Publication Date Title
US8750409B2 (en) Message synchronization over a stochastic network
US5768527A (en) Device, system and method of real-time multimedia streaming
US7076064B2 (en) Maintaining end-to-end synchronization on telecommunications connection
KR101166446B1 (en) Buffer control method, relaying device and communication system
US20030103243A1 (en) Transmission system
US20060007943A1 (en) Method and system for providing site independent real-time multimedia transport over packet-switched networks
US20030039216A1 (en) System and method for identifying errors in a video conference conducted on a packet-based network
US20030083870A1 (en) System and method of network adaptive real-time multimedia streaming
WO2002017637A1 (en) Data transmission method and data relay method
KR20060111036A (en) Method providing service of an image telephone call in mobile terminal considering situation of a weak current
JP2002141945A (en) Data transmission system and data transmission method, and program storage medium
CN110996103A (en) Method for adjusting video coding rate according to network condition
US20090285094A1 (en) Apparatus and method for estimating the fill factor of client input buffers of a real time content distribution
US7818772B2 (en) System and method for improving the quality of video communication over a packet-based network
US7609645B2 (en) Moving picture compression encoding transceiver apparatus
EP1775900B1 (en) ISDN data transmission method and system through an IP bearer connection
KR100557107B1 (en) How to Recover Lost Packets of Data for On-Demand Video Services
US20050086576A1 (en) Data transmitter device, repeater device, data transmission/reception device, and data communication method
JP2000307637A (en) Multimedia terminal device and inter-network connecting device
EP1998510B1 (en) Encoded stream sending device
EP2043372A1 (en) Method for audio and video synchronization, receiving and transmitting device
KR100962083B1 (en) Method and system for converting a first data stream into a second data stream
KR100701032B1 (en) Video data transmission control system for network and method therefore
JP2006074555A (en) Audio/moving picture adjustment system in multimedia gateway
KR20020020957A (en) Interactive processing system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130130

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140128

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20150129

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20160128

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20170125

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20180130

Year of fee payment: 13

EXPY Expiration of term