KR100623017B1 - Mobile Terminal Client and Method of Sensing and Recovery of Abnormality of Decorder - Google Patents

Mobile Terminal Client and Method of Sensing and Recovery of Abnormality of Decorder Download PDF

Info

Publication number
KR100623017B1
KR100623017B1 KR1020030092078A KR20030092078A KR100623017B1 KR 100623017 B1 KR100623017 B1 KR 100623017B1 KR 1020030092078 A KR1020030092078 A KR 1020030092078A KR 20030092078 A KR20030092078 A KR 20030092078A KR 100623017 B1 KR100623017 B1 KR 100623017B1
Authority
KR
South Korea
Prior art keywords
decoder
data
abnormality
motion
feature
Prior art date
Application number
KR1020030092078A
Other languages
Korean (ko)
Other versions
KR20050060453A (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 KR1020030092078A priority Critical patent/KR100623017B1/en
Publication of KR20050060453A publication Critical patent/KR20050060453A/en
Application granted granted Critical
Publication of KR100623017B1 publication Critical patent/KR100623017B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

본 발명은 데이터 손실에 의해 발생되는 디코더 이상현상을 모션 분석 기법을 사용하여 소프트웨어적으로 감지하여 이를 해결하는 방법에 관한 것으로, 상기 수신된 스트리밍 데이터 중 현재 스트리밍 데이터의 손실상황을 감시하는 네트워크 감시기 및 상기 스트리밍 데이터의 손실상황이 감지되면 상기 스트리밍 데이터의 손실이 디코더의 오동작에 의한 것인지 무선전송 도중 발생한 손실인지 여부를 판단하는 모션 분석기를 포함한다. The present invention relates to a method for resolving and detecting a decoder abnormality caused by data loss by software using a motion analysis technique. The present invention relates to a network monitor for monitoring a current loss state of streaming data. And a motion analyzer for determining whether the loss of the streaming data is due to a malfunction of a decoder or a loss occurring during radio transmission when the loss of the streaming data is detected.

스트리밍, 모션 분석기, 네트워크 감시기Streaming, Motion Analyzer, Network Monitor

Description

이동 단말 클라이언트와 디코더 이상현상 감지 및 복구방법{Mobile Terminal Client and Method of Sensing and Recovery of Abnormality of Decorder} Mobile Terminal Client and Method of Sensing and Recovery of Abnormality of Decorder             

도 1은 종래 기술의 일 실시예로 무선 스트리밍과정을 나타내는 블록도이다.1 is a block diagram illustrating a wireless streaming process according to an embodiment of the prior art.

도 2는 본 발명의 일 실시예에 따른 무선 스트리밍과정을 나타낸 블록도이다.2 is a block diagram illustrating a wireless streaming process according to an embodiment of the present invention.

도 3은 본 발명의 일 실시예에 따른 네트워크 감시기의 구성블록도이다.3 is a block diagram of a network monitor according to an embodiment of the present invention.

도 4는 본 발명의 일 실시예에 따른 모션 분석기의 작동과정을 나타낸 것이다.Figure 4 shows the operation of the motion analyzer according to an embodiment of the present invention.

도 5는 본 발명의 일 실시예에 따른 작동방법을 나타낸 플로우 차트이다.5 is a flow chart showing a method of operation according to an embodiment of the present invention.

{도면의 주요 부호에 대한 설명}{Description of Major Symbols in Drawings}

204 : 소스 필터 205 : 네트워크 렌더필터204: source filter 205: network render filter

209 : 네트워크 소스필터 210 : MPEG2 스플리터 필터209: network source filter 210: MPEG2 splitter filter

211 : 디코더 필터 212 : 디스플레이 오버레이211: decoder filter 212: display overlay

213 : MPEG2 디코더 214 : 모션 분석기213: MPEG2 Decoder 214: Motion Analyzer

215 : 스트림 클라이언트 어플리케이션215: stream client application

216 : 네트워크 감시기 301 : RTP 헤더 분석기216 network monitor 301 RTP header analyzer

302 : 모션 분석기 핸들러302: Motion Analyzer Handler

본 발명은 디코더 이상현상을 감지하고 복구하는 이동 단말 클라이언트에 관한 것으로, 좀 더 자세하게는 이동단말 클라이언트가 무선 네트워크를 통하여 스트리밍 서버와 통신 할 때, 일시적인 무선 채널 악화에 의해 발생할 수 있는 데이터 손실과 이에 따른 디코더 오 동작을 모션분석에 기반하여 소프트웨어적으로 감지하여 이를 복구하는 이동 단말 클라이언트에 관한 것이다.The present invention relates to a mobile terminal client for detecting and recovering a decoder abnormality. More specifically, the present invention relates to data loss that may be caused by temporary radio channel deterioration when the mobile terminal client communicates with a streaming server through a wireless network. The present invention relates to a mobile terminal client that detects and recovers a malfunction of a decoder based on motion analysis.

현재, 사용자에게 미디어스트리밍을 지원하기 위하여 MPEG과 같은 인코딩 기법을 이용하여 인코딩 된 데이터를 네트워크로 전송하고 클라이언트에서 디코딩 하여 디스플레이 하는 어플리케이션이 다양하게 개발되고 있다.Currently, in order to support media streaming to users, various applications have been developed for transmitting encoded data using an encoding technique such as MPEG to a network, decoding the client, and displaying the encoded data.

이와 같은 어플리케이션은 대체로 데이터를 인코딩 하는 시스템, 데이터를 네트워크로 전송하는 송수신 서브 시스템, 전송된 데이터를 디코딩 하는 시스템으로 구성되어 있는데, 상기와 같은 시스템은 네트워크로 전송되는 데이터의 손실이 다량 발생했을 때의 복구방안을 가지고 있지 않다. Such applications are generally composed of a system for encoding data, a transmission / reception subsystem for transmitting data to a network, and a system for decoding transmitted data. Such a system has a large amount of loss of data transmitted to the network. Does not have a recovery plan.

따라서, 무선 네트워크를 통해서 실시간 데이터에 대한 송수신이 이루어 질 경우 데이터 손실이 네트워크의 채널 환경에 따라 다량 발생할 수 있고, 이에 따라 지속적인 서비스를 지원하기 위해서는 데이터 손실에 의해 발생하는 디코딩 시스템의 오류에 대한 복구방안이 필요로 된다.Therefore, when real-time data is transmitted and received through the wireless network, a large amount of data loss may occur depending on the channel environment of the network. Accordingly, in order to support continuous service, recovery of an error of the decoding system caused by data loss is required. A solution is needed.

도 1은 종래 기술의 일 실시예로 무선 스트리밍과정을 나타내는 블록도이다.1 is a block diagram illustrating a wireless streaming process according to an embodiment of the prior art.

도 1을 참조하면, 스트림 서버는 실시간 미디어 소스(TV 튜너)로 부터 얻어진 실시간 데이터를 인코더를 통해 인코딩하고, 이 데이터를 무선 인터페이스를 통해 전송한다. 전송된 데이터는 클라이언트의 디코딩 시스템으로 전달되어 디코딩 된 후 화면에 송출된다. Referring to FIG. 1, the stream server encodes real time data obtained from a real time media source (TV tuner) through an encoder and transmits this data through an air interface. The transmitted data is delivered to the client's decoding system, decoded and sent to the screen.

서버는 실시간 스트림 데이터를 정해진 포멧으로 엔코딩을 수행하여 네트워크 인터페이스로 전송하고, 클라이언트는 이러한 데이터를 디코딩하여 상기 디코딩 된 결과를 화면에 디스플레이 함으로써, 실시간 미디어 스트리밍 서비스가 수행된다.The server encodes the real-time stream data in a predetermined format and transmits it to the network interface, and the client decodes the data and displays the decoded result on the screen, thereby performing a real-time media streaming service.

실시간 스트리밍 어플리케이션은 전송 지연 및 소량의 데이터 손실에 대비하여 일정량의 버퍼를 가지고 있다.Real-time streaming applications have a certain amount of buffers for transmission delays and small amounts of data loss.

그러나, 서버와 클라이언트가 무선 네트워크를 통하여 통신할 때, 무선 채널 상태가 악화되어 데이터 손실이 다량 발생하면, 디코더는 이러한 데이터를 디코딩 하지 못하여 화면이 정지되고, 미디어 어플리케이션을 재 시작하여야만 스트리밍 서비스를 계속 받을 수 있다.However, when the server and the client communicate over the wireless network, if the wireless channel condition worsens and a large amount of data loss occurs, the decoder cannot decode the data, freezes the screen, and restarts the media application to continue the streaming service. I can receive it.

또한, 디코딩 서브 시스템에 오류가 발생한 이후에는 자동적으로 이를 복구하지 못하기 때문에 네트워크를 통해서 정상적으로 전송 받은 데이터가 디코딩 되지 못하는 문제점이 있다. In addition, since an error in the decoding subsystem does not automatically recover, there is a problem in that data normally transmitted through a network cannot be decoded.

본 발명은 상기와 같은 문제점을 해결하기 위하여 다량의 데이터 손실에 따른 디코더 오 동작이 발생하여 화면이 정지되는 현상이 발생하였을 때, 이를 감지하여 디코더를 초기화시킴으로써 이후 전송되는 데이터를 정상적으로 처리할 수 있는 장치를 제공하는데 있다.In order to solve the above problems, when a malfunction of a decoder occurs due to a large amount of data loss and a picture freezes, the present invention detects this and initializes the decoder so that the data transmitted thereafter can be normally processed. To provide a device.

본 발명의 다른 목적은 네트워크 상태에 따른 데이터 손실량과 프레임 버퍼 메모리의 특징 패턴변화를 함께 분석하여, 디코더 이상상태 인식률을 높이는 방법을 제공하는 데 있다.
Another object of the present invention is to provide a method for improving the decoder abnormal state recognition rate by analyzing the data loss amount and the characteristic pattern change of the frame buffer memory according to the network state.

상기의 목적을 달성하기 위하여 본 발명의 실시간 미디어 스트리밍 서비스를 받는 이동 단말 클라이언트는 상기 수신된 스트리밍 데이터 중 현재 스트리밍 데이터의 손실상황을 감시하는 네트워크 감시기 및 상기 스트리밍 데이터의 손실상황이 감지되면 상기 스트리밍 데이터의 손실이 디코더의 오동작에 의한 것인지 무선전송시 발생한 손실에 의한 것인지 여부를 판단하는 모션 분석기를 포함한다.In order to achieve the above object, a mobile terminal client receiving a real-time media streaming service of the present invention includes a network monitor that monitors a current loss state of the streaming data among the received streaming data, and when the loss state of the streaming data is detected, the streaming data. And a motion analyzer for determining whether the loss of the signal is due to a malfunction of the decoder or a loss that occurs during radio transmission.

본 발명에서 네트워크 감시기는 수신된 스트리밍 데이터에서 추출한 RTP헤더에 포함된 시퀸스 넘버를 체크하여 데이터의 손실여부를 판단하는 RTP 헤더분석기 및 상기 RTP 헤더분석기에 의해 데이터 손실이 감지됨을 통지 받으면 디코더의 오동작 여부를 감지하는 모션 분석기와 스트리밍 데이터를 디코딩 하는 디코더를 제어하는 모션 분석기 핸들러가 포함되는 것이 바람직하다.In the present invention, the network monitor checks the sequence number included in the RTP header extracted from the received streaming data to determine whether the data is lost by the RTP header analyzer and the RTP header analyzer. Preferably, a motion analyzer for detecting a motion analyzer and a decoder for controlling a decoder for decoding streaming data are included.

본 발명에서 모션 분석기 핸들러는 상기 모션 분석기로부터 디코더 이상 현상에 의한 데이터 손실이 감지되면 상기 디코더를 리셋 시키고 상기 모션 분석기로부터 상기 디코더가 정상상태임을 통보 받기까지 기다린 후, 상기 디코더의 정상상태가 통보되면 모션 분석기의 작동을 중단시키고 다시 디코딩 하는 작업을 재개하는 것이 바람직하다.In the present invention, when the motion analyzer handler detects data loss due to a decoder malfunction from the motion analyzer, the motion analyzer handler resets the decoder and waits for the decoder to be notified that the decoder is in a normal state. It is desirable to stop the motion analyzer and resume the decoding process.

본 발명에서 모션분석을 통한 디코더 이상형상 감지 및 복구방법은 a) 디코딩 결과를 저장하는 단계와 b) 상기 결과값 중 모션과 관련된 'Y'값을 추출하는 단계와 c) 상기 'Y'데이터로부터 데이터 필드를 추출한 데이터 셋을 생성하는 단계와 d) 상기 생성된 데이터 셋을 추출하고 샘플링 비율에 따라 상관관계를 계산하여 특징 관련 메트릭스를 생성하는 단계 및 e) 상기 특징 관련 메트릭스를 이용하여 화면정지가 디코더 이상현상에 의한 것인지, 동일한 스트리밍 데이터가 일정시간 유지됨으로써 일어나는 것인지 여부를 판단하는 단계를 포함한다.In the present invention, a method for detecting and recovering an abnormal shape of a decoder through motion analysis includes a) storing a decoding result, b) extracting a 'Y' value related to motion among the result values, and c) from the 'Y' data. Generating a data set from which the data field is extracted; d) extracting the generated data set and calculating a correlation according to a sampling rate; and generating a feature related matrix. Determining whether the error occurs due to a decoder abnormality or caused by maintaining the same streaming data for a predetermined time.

본 발명에서 단계 c)의 데이터 셋을 형성하는 방법은 모션변화가 가장 많이 일어나는 가운데 필드를 중심으로 'Y'데이터 필드를 추출하는 것이 바람직하다.In the method of forming the data set of step c) in the present invention, it is preferable to extract the 'Y' data field centered on the field among the most frequent motion changes.

본 발명에서 단계 e)의 화면정지 이유를 판단하는 방법은 상기 특징 관련 매트릭스가 단위 매트릭스이면 디코더의 이상현상으로 판단하고, 그렇지 않으면 동일한 스트리밍 데이터가 일정시간 유지됨으로써 일어나는 것으로 판단하는 것이 바람직하다.In the present invention, the method of determining the reason for the screen freeze of step e) may be determined to be an abnormal phenomenon of the decoder if the feature-related matrix is a unit matrix.

본 발명은 디코더의 이상현상으로 판단시 상기 특징 관련 매트릭스의 각 데이터가 동일하면 디코더를 계속해서 가동시키고, 그렇지 않으면 디코딩 작업을 중 단하고, 상기 디코더 리셋 후 상기 디코더를 재 가동시키는 단계를 더 포함하는 것이 바람직하다.The present invention further includes the step of continuously operating the decoder if the data of the feature-related matrix is the same when it is determined that the decoder is abnormal, otherwise stopping the decoding operation, and restarting the decoder after the decoder reset. It is desirable to.

이하 첨부한 도면을 참조하여 본 발명을 보다 상세히 설명하고자 한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명의 일 실시예에 따른 무선 스트리밍과정을 나타낸 블록도이다.2 is a block diagram illustrating a wireless streaming process according to an embodiment of the present invention.

상기 실시예에서, 스트림 서버는 실시간 미디어 소스(202), MPEG2 엔코더(203), 소스 필터(204), 네트워크 렌더필터(205), 윈속 API(206), TCP/IP 레이어(207), MAC 레이어(208)를 포함하고, 이동 단말 클라이언트는 MAC 레이어(208), TCP/IP 레이어(207), 윈속 API(206), 네트워크 소스필터(209), MPEG2 스플리터 필터(210), 디코더 필터(211), 디스플레이 오버레이(212), MPEG2 디코더(213), 모션분석기(214), 스트림 클라이언트 어플리케이션(215) 및 네트워크 감시기(216)를 포함한다.In this embodiment, the stream server is a real time media source 202, MPEG2 encoder 203, source filter 204, network render filter 205, Winsock API 206, TCP / IP layer 207, MAC layer 208, the mobile terminal client includes a MAC layer 208, a TCP / IP layer 207, a Winsock API 206, a network source filter 209, an MPEG2 splitter filter 210, a decoder filter 211. , Display overlay 212, MPEG2 decoder 213, motion analyzer 214, stream client application 215, and network monitor 216.

상기 실시예는, 스트림 서버에서 이동 단말 클라이언트로 스트리밍 데이터가 전송되는 과정을 개략적으로 나타낸 것이다.The above embodiment schematically illustrates a process of transmitting streaming data from a stream server to a mobile terminal client.

도 2를 참조하면, 스트림 서버는 실시간 미디어 데이터(202)를 엔코딩하여 소스 필터(204) 및 네트워크 렌더필터(205)의 디렉트 쇼 구조에 맞추어 데이터를 전송한다.Referring to FIG. 2, the stream server encodes real-time media data 202 and transmits data in accordance with the direct show structure of the source filter 204 and the network render filter 205.

상기 이동 단말 클라이언트는 네트워크 소스 필터(209)와 MPEG2스플리터 필터(210) 및 디코더 필터(211)를 통해 MPEG2 스트림 데이터를 디코딩하여 화면을 송출하는 구조를 갖는다. 상기 스트림 클라이언트 어플리케이션(215)은 이러한 필터 를 구조화시키고, 연결 제어를 관리한다. The mobile terminal client decodes MPEG2 stream data through a network source filter 209, an MPEG2 splitter filter 210, and a decoder filter 211 to transmit a screen. The stream client application 215 structures these filters and manages connection control.

상기 네트워크 감시기(216)는 현재의 데이터 손실 상황을 모니터링 한다. 상기 네트워크 감시기(216)에 의해서 데이터 손실이 감지되면 모션 분석기(214)가 작동된다. The network monitor 216 monitors the current data loss situation. When data loss is detected by the network monitor 216, the motion analyzer 214 is activated.

상기 모션 분석기(214)는 현재 오버레이 중인 비디오 메모리의 데이터를 분석하여 디코더(213) 오동작에 따라 오버레이 화면이 정지된 상태인지 그렇지 않은지를 판단한다. 상기 모션 분석기(214)가 디코더(213) 오동작에 의해 오버레이가 갱신되지 않는 경우라고 판단되면, 디코더(213)의 상태를 초기화 시켜줌으로써 지속적인 서비스가 가능하도록 한다.The motion analyzer 214 analyzes the data of the video memory currently being overlaid and determines whether the overlay screen is frozen or not according to the decoder 213 malfunction. If the motion analyzer 214 determines that the overlay is not updated due to a malfunction of the decoder 213, the service is initialized to initialize the state of the decoder 213 to enable continuous service.

상기 각각 구성부분의 자세한 설명은 이하 더욱 상술하도록 하고, 상기에서 설명한 이외의 구성부분은 이미 공지되어 당업자에게 자명하므로 그 자세한 설명은 생략하도록 한다.Detailed description of each of the components will be described in more detail below, and other components described above are already known and apparent to those skilled in the art, the detailed description thereof will be omitted.

도 3은 본 발명의 일 실시예에 따른 네트워크 감시기(216)의 구성블록도이다.3 is a block diagram of a network monitor 216 according to an embodiment of the present invention.

상기 실시예에서, 네트워크 감시기(216)는 RTP 헤더 분석기(301)와 모션 분석기(214) 핸들러를 포함한다.In this embodiment, the network monitor 216 includes an RTP header analyzer 301 and a motion analyzer 214 handler.

상기 실시예는, 네트워크 감시기(216)가 스트리밍 데이터의 손실을 감시하는 방법을 개략적으로 나타낸 것이다.This embodiment schematically illustrates how network monitor 216 monitors for loss of streaming data.

도 3을 참조하면, 네트워크 감시기(216)는 네트워크로 전송되는 데이터의 손실 상태를 감시한다. 네트워크 손실이 감지되면 모션 분석기(214)를 작동시키고, 모션 분석기 핸들러(302)를 통해 현재 디코더(213)의 상태를 피드백 받는다.Referring to FIG. 3, the network monitor 216 monitors a loss state of data transmitted to a network. When the network loss is detected, the motion analyzer 214 is operated, and the state of the current decoder 213 is fed back through the motion analyzer handler 302.

네트워크 소스 필터(209)는 서버로부터 스트림 데이터를 전송 받아 RTP 헤더를 추출하고, 미디어 데이터는 디코딩을 위하여 MPEG2 스플리터(210)/디코더 필터(211)로 전달한다. RTP 헤더에는 서버에서 전송 전에 입력한 시퀀스 넘버가 포함되어 있고, 이를 통하여 RTP 헤더 분석기(301)는 데이터 손실이 있음을 감지한다.The network source filter 209 receives the stream data from the server, extracts the RTP header, and delivers the media data to the MPEG2 splitter 210 / decoder filter 211 for decoding. The RTP header includes a sequence number entered before transmission from the server, and through this, the RTP header analyzer 301 detects that there is data loss.

데이터 손실에 대한 정보는 모션 분석기 핸들러(302)로 전송된다. 상기 모션 분석기 핸들러(302)는 RTP 헤더 분석기(301)에 의해 데이터 손실이 감지됨을 통보 받으면 디코더(213) 오 동작 여부를 감지하는 모션 분석기(214)를 작동시킨다. Information about data loss is sent to the motion analyzer handler 302. When the motion analyzer handler 302 is notified that the data loss is detected by the RTP header analyzer 301, the motion analyzer handler 302 operates the motion analyzer 214 for detecting whether the decoder 213 is malfunctioning.

모션 분석기(214)로부터 디코더(213) 이상 현상 감지 상태를 통보 받으면 일시적으로 디코딩 작업을 중단하고, 디코더(213) 리셋 후 상기 디코더(213)를 재 가동시킴으로써 디코더(213) 이상현상을 극복한다. When the decoder 213 anomaly detection status is notified from the motion analyzer 214, the decoding operation is temporarily stopped, and the decoder 213 is overcome by reactivating the decoder 213 after resetting the decoder 213.

데이터 손실이 감지된 경우 상기 모션 분석기(214)로부터 상기 디코더(213)가 정상상태임을 통보 받기까지 기다린 후, 상기 모션 분석기(214)로부터 상기 디코더(213)가 정상 상태임을 통보 받으면 모션 분석기(214)를 중단시키고, 일반 동작 상태로 진입한다. When the data loss is detected, the motion analyzer 214 waits until the decoder 213 is notified of the normal state, and when the motion analyzer 214 is notified that the decoder 213 is in the normal state, the motion analyzer 214 is notified. ) And enter normal operation.

도 4는 본 발명의 일 실시예에 따른 모션 분석기(214)의 작동과정을 나타낸 도면이다.4 is a view showing the operation of the motion analyzer 214 according to an embodiment of the present invention.

상기 실시예에서, 모션 분석기(214)의 작동과정은 특징 추출단계, 특징 상관 매트릭스 생성단계 및 모션 체크단계를 포함한다.In this embodiment, the operation of the motion analyzer 214 includes a feature extraction step, a feature correlation matrix generation step, and a motion check step.

상기 실시예는, 정지화면의 원인을 분석하는 대략적인 과정을 나타낸 것이다.The embodiment shows an approximate process of analyzing the cause of still images.

도 4를 참조하면, 모션 분석기(214)는 디코딩 결과가 프레임 버퍼(401)에 저장되고, 상기 프레임 버퍼(401)에 저장된 데이터에서 특징 관련 매트릭스를 구하며, 얻어진 매트릭스를 기반으로 디코더(213) 이상상태를 판단한다.Referring to FIG. 4, the motion analyzer 214 stores decoding results in a frame buffer 401, obtains a feature-related matrix from data stored in the frame buffer 401, and based on the obtained matrix, the decoder 213 or more. Determine the state.

디코딩 결과는 오버레이 되기 위하여 프레임 버퍼(401)에 저장되는데, 이 데이터에서 모션에 관련된 'Y' 값을 추출하는 것을 특징 추출이라 한다. 데이터 손실이 있다고 판단되면 특징추출을 통해 'Y'데이터를 얻어낸다. The decoding result is stored in the frame buffer 401 to be overlaid. In this data, a 'Y' value related to motion is extracted. If it is determined that there is a data loss, feature extraction is used to obtain 'Y' data.

특징 추출을 통해 얻어진 'Y'데이터로부터 특정 위치를 선정하여 얻어진 데이터로 구성된 데이터 집단을 특징 관련 매트릭스라고 한다. 모션의 변화가 가장 많이 일어나는 가운데를 중심으로 특징 추출에 의해 구해서 'Y' 데이터에서 모션변화가 가장 많이 일어나는 가운데 필드를 중심으로 'Y'데이터 필드를 추출한 데이터 집단(403)을 생성한다. A data group consisting of data obtained by selecting a specific position from 'Y' data obtained through feature extraction is called a feature related matrix. The data group 403 is obtained by extracting the 'Y' data field centered on the field in which the motion change occurs the most from the 'Y' data.

이렇게 생성된 데이터에서 일정 데이터 집단을 추출하여 샘플링 비율에 따라 상관관계를 계산하여 특징 관련 매트릭스를 생성한다. 특징 관련 매트릭스는 디코더(213) 이상현상을 판별할 수 있는 중요한 지표로 사용된다.The feature-related matrix is generated by extracting a certain data group from the generated data and calculating correlations according to sampling rates. The feature-related matrix is used as an important index to determine the abnormality of the decoder 213.

상기에서 얻어진 관련 매트릭스가 단위 매트릭스(단위행렬, identity matrix)의 형태인 경우에는, 모션이 감지되지 않은 것이어서, 화면변화가 일어나지 않음을 감지할 수 있다. 상기 단위 매트릭스는 주대각선 위의 원소의 값이 모두 1이고, 나머지 원소의 값은 모두 0인 정사각행렬을 가리키는 것으로, 상기 관련 매트릭스는 정사각행렬로서 주대각선 위의 원소들이 모두 0이 아닌 같은 값이고 나머지 원소들은 모두 그 값이 0이 되어 상기 단위 매트릭스와 같은 형태가 될 수 있다. 상기 화면변화가 일어나지 않는 것이 디코더(213)의 이상현상에 의한 것인지, 동일한 소스신호가 일정시간 유지됨으로 인해서 일어나는 것인지를 판별하여야 한다.When the related matrix obtained above is in the form of an identity matrix, motion may not be detected, and thus it may be sensed that no screen change occurs. The unit matrix indicates a square matrix in which all of the elements on the main diagonal have a value of 1 and all of the remaining elements have a value of 0. The related matrix is a square matrix. The remaining elements all have a value of 0 and may have the same shape as the unit matrix. Whether the screen change does not occur is due to an abnormal phenomenon of the decoder 213 or whether the same source signal is caused by being maintained for a predetermined time.

일반적으로 TV 화면과 같이 실시간 데이터를 인코딩 하여 전송하고, 이를 디코딩 하는 시스템의 경우 정지화면일 경우에도 아날로그 신호의 노이즈 (noise) 에 의해서 약간의 떨림이 감지되게 된다. 이러한 떨림은 미세한 모션 변화를 일으키게 되고 특징 셋(Set)에 차이를 나타내게 된다. 따라서, 상관 매트릭스는 단위 매트릭스가 되지 않는다.In general, in the case of a system that encodes and transmits real-time data such as a TV screen and decodes it, even in the case of a still picture, some vibration is detected by noise of an analog signal. This vibration causes a slight motion change and shows a difference in the feature set. Thus, the correlation matrix does not become a unitary matrix.

다만, 소스 신호에 무관하게 신호를 가공하여 데이터를 전송하는 경우에는 이러한 차이를 보이지 않게 된다. 예를 들어, TV 신호가 인식되지 않는 채널의 화면을 푸른색으로 처리하는 경우, 인위적으로 모든 데이터 필드를 일정한 데이터로 채우기 때문에 이러한 경우에는 노이즈가 발생하지 않게 된다. However, this difference does not appear when data is processed by processing a signal regardless of the source signal. For example, when the screen of a channel where a TV signal is not recognized is processed in blue, noise is not generated in this case because artificially filling all data fields with constant data.

이런 경우는 특징 상관 매트릭스는 단위 매트릭스가 되나, 특징 셋의 모든 데이터가 동일한 값을 가지게 되므로, 모션 체크 모듈에서는 위와 같은 경우를 판별하여 디코더(213) 이상현상이 아니라고 판단해 준다. In this case, the feature correlation matrix becomes a unit matrix, but since all data of the feature set have the same value, the motion check module determines the above case and determines that the decoder 213 is not an abnormal phenomenon.

도 5는 본 발명의 일 실시예에 따른 작동방법을 나타낸 플로우차트이다.5 is a flowchart showing a method of operation according to an embodiment of the present invention.

도 5를 참조하면, 단계 501 내지 502는 타임을 체크하는 과정이다. Referring to FIG. 5, steps 501 to 502 are processes of checking time.

스트리밍 데이터가 디스플레이 되는 화면이 정지하면 이동 단말 클라이언트 내부의 타이머는 소정의 시간동안 화면변화를 체크한다. 상기 시간은 본 발명의 목적에 맞게 조정하는 것이 가능한다.When the screen on which the streaming data is displayed stops, the timer inside the mobile terminal client checks the screen change for a predetermined time. The said time can be adjusted according to the objective of this invention.

단계 503은 데이터의 손실여부를 검사하는 과정이다.Step 503 is a process for checking whether data is lost.

상기에서 소정의 시간이 경과한 경우, 디스플레이 되는 화면이 정지한 이유가 데이터 전송시 손실에 의한 것인지, 원래 정지 화면인지 여부를 검사한다.When the predetermined time has elapsed, it is checked whether the displayed screen is stopped due to loss in data transmission or whether it is an original still screen.

단계 504는 모션 분석기(214)가 작동하는 과정이다.Step 504 is a process in which the motion analyzer 214 operates.

상기 단계 503에서 화면정지 이유가 데이터 손실에 의한 것이라고 판명되는 경우, 모션 분석기(214)를 작동한다. If it is determined in step 503 that the reason for freezing is due to data loss, the motion analyzer 214 is operated.

단계 505내지 506은 특징 상관 매트릭스를 계산하는 과정이다.Steps 505 to 506 are for calculating a feature correlation matrix.

상기 도 4에서 이미 설명한 바와 같이, 상기 단계 504에서 모션 분석기(214)가 작동하면, 디코딩 결과가 프레임 버퍼(401)에 저장되고, 상기 데이터에서 특징 상관 매트릭스를 구한다. 그 자세한 내용은 이미 상술하였으므로 이하 그 설명은 생략한다.As described above with reference to FIG. 4, when the motion analyzer 214 operates in step 504, the decoding result is stored in the frame buffer 401, and a feature correlation matrix is obtained from the data. Since the details have already been described above, the description thereof will be omitted below.

단계 507a 내지 508은 상기 특징 상관 메트릭스에 의해 화면 정지이유를 판단하는 과정이다.Steps 507a to 508 are for determining the reason for freezing based on the feature correlation matrix.

단계 506에서 구한 특징 상관 매트릭스가 단위 매트릭스인 경우 단계 508에서는 각 매트릭스의 요소가 같은지 여부를 판단한다. 만약에, 각 요소의 값이 동일하다면 이는 TV 신호가 인식되지 않는 채널이므로 내부 디코더(213)의 에러가 아닌 것으로 보아 상기 단계 505를 되풀이한다.When the feature correlation matrix obtained in step 506 is a unit matrix, in step 508 it is determined whether the elements of each matrix are the same. If the value of each element is the same, this step is repeated as it is not an error of the internal decoder 213 because it is a channel on which the TV signal is not recognized.

단계 509내지 511은 디코더(213)를 제어하는 과정이다.Steps 509 to 511 control the decoder 213.

상기 단계 508에서 특징 상관 매트릭스의 각 요소 값이 동일하지 않다면 상기 화면의 정지는 상기 이동 단말 클라이언트 내부의 디코더(213) 에러에 의해 발생한 것이므로, 상기 모션 분석기 핸들러(302)는 디코딩 과정을 정지시키고, 상기 디코더(213)를 리셋시키며, 다시 디코딩을 시작한다. If the element values of the feature correlation matrix in step 508 are not the same, the stop of the screen is caused by an error of the decoder 213 inside the mobile terminal client, so that the motion analyzer handler 302 stops the decoding process. The decoder 213 is reset and decoding starts again.

상술한 바와 같이, 본 발명의 바람직한 실시 예를 참조하여 설명하였지만 해 당 기술 분야의 숙련된 당업자라면 하기의 특허청구범위의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다. As described above, although described with reference to a preferred embodiment of the present invention, those skilled in the art will be able to vary the present invention without departing from the spirit and scope of the invention described in the claims below. It will be understood that modifications and changes can be made.

상술한 바와 같이 본 발명에 의하면 채널 환경에 따라 다량의 데이터 손실이 발생할 수 있는 무선랜 기반의 스트림 서비스에서 발생할 수 있는 디코더의 이상현상을 감지하여 디코더 이상현상이 지속되지 않도록 해 준다.As described above, the present invention detects an abnormality of a decoder that may occur in a WLAN-based stream service that may cause a large amount of data loss according to a channel environment, thereby preventing the decoder abnormality from continuing.

그리고, 발생한 디코더 이상현상을 사용자로 하여금 서비스를 재 시작하여 처리하도록 하지 않고, 자동으로 이를 감지하여 극복함으로써 지속적인 서비스를 제공해 줄 수 있다.In addition, it is possible to provide a continuous service by automatically detecting and overcoming the decoder abnormality caused without causing the user to restart and process the service.

또한, 디코더 이상상태를 프레임 메모리를 통하여 소프트웨어적으로 구현하였으므로, 디코더의 하드웨어적 특성에 무관하게 범용적으로 사용할 수 있으며, 디지털 텔레비젼, 셋탑박스 등 프레임 메모리를 사용하는 다른 어플리케이션에도 확대 적용이 가능하다. In addition, since the decoder abnormal state is implemented in software through the frame memory, it can be used universally regardless of the hardware characteristics of the decoder, and can be extended to other applications using the frame memory such as digital television and set-top box. .

Claims (7)

삭제delete 삭제delete 삭제delete 모션분석을 통한 디코더 이상현상 감지 및 복구방법에 있어서, Detecting and recovering decoder abnormality through motion analysis, a) 디코딩 결과를 저장하는 단계;a) storing the decoding result; b) 상기 결과값 중 모션과 관련된 'Y'값을 추출하는 단계;b) extracting a 'Y' value related to motion from the result value; c) 상기 'Y'데이터로부터 데이터 필드를 추출한 데이터 셋을 생성하는 단계;c) generating a data set from which data fields are extracted from the 'Y' data; d) 상기 생성된 데이터 셋을 추출하고 샘플링 비율에 따라 상관관계를 계산하여 특징 관련 메트릭스를 생성하는 단계 및d) extracting the generated data set and calculating correlations according to sampling rates to generate feature related metrics; and e) 상기 특징 관련 메트릭스를 이용하여 화면정지가 디코더 이상현상에 의한 것인지, 동일한 스트리밍 데이터가 일정시간 유지됨으로써 일어나는 것인지 여부를 판단하는 단계를 포함하는 것을 특징으로 하는 디코더 이상현상 감지 및 복구방법.and e) determining whether the screen freeze is caused by a decoder abnormality or whether the same streaming data is maintained for a predetermined time by using the feature-related metrics. 제 4항에 있어서, 단계 c)의 데이터 셋을 형성하는 방법은,The method of claim 4, wherein the method of forming a data set of step c) comprises: 모션변화가 가장 많이 일어나는 가운데 필드를 중심으로 'Y'데이터 필드를 추출하는 것을 특징으로 하는 디코더 이상현상 감지 및 복구방법.Decoder detection and recovery method characterized by extracting the 'Y' data field centered on the field among the most changes in motion. 제 4항에 있어서, 단계 e)의 화면정지 이유를 판단하는 방법은 The method of claim 4, wherein the determining of the reason for freezing in step e) 상기 특징 관련 매트릭스가 단위 매트릭스이면 디코더의 이상현상으로 판단 하고, 그렇지 않으면 동일한 스트리밍 데이터가 일정시간 유지됨으로써 일어나는 것으로 판단하는 것을 특징으로 하는 디코더 이상현상 감지 및 복구방법.If the feature-related matrix is a unit matrix, it is determined as an abnormality of the decoder, otherwise it is determined that the same streaming data is caused by maintaining for a predetermined time. 제 6항에 있어서, 디코더의 이상현상으로 판단시The method of claim 6, wherein the determination of the abnormality of the decoder 상기 특징 관련 매트릭스의 각 데이터가 동일하면 디코더를 계속해서 가동시키며, 그렇지 않으면 디코딩 작업을 중단하고, 상기 디코더 리셋 후 상기 디코더를 재 가동시키는 단계를 더 포함하는 것을 특징으로 하는 디코더 이상현상 감지 및 복구방법.And if the data of the feature-related matrix is the same, continue operating the decoder, otherwise stop the decoding operation, and restart the decoder after the decoder reset. Way.
KR1020030092078A 2003-12-16 2003-12-16 Mobile Terminal Client and Method of Sensing and Recovery of Abnormality of Decorder KR100623017B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030092078A KR100623017B1 (en) 2003-12-16 2003-12-16 Mobile Terminal Client and Method of Sensing and Recovery of Abnormality of Decorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030092078A KR100623017B1 (en) 2003-12-16 2003-12-16 Mobile Terminal Client and Method of Sensing and Recovery of Abnormality of Decorder

Publications (2)

Publication Number Publication Date
KR20050060453A KR20050060453A (en) 2005-06-22
KR100623017B1 true KR100623017B1 (en) 2006-09-18

Family

ID=37253158

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030092078A KR100623017B1 (en) 2003-12-16 2003-12-16 Mobile Terminal Client and Method of Sensing and Recovery of Abnormality of Decorder

Country Status (1)

Country Link
KR (1) KR100623017B1 (en)

Also Published As

Publication number Publication date
KR20050060453A (en) 2005-06-22

Similar Documents

Publication Publication Date Title
US10957358B2 (en) Reference and non-reference video quality evaluation
US9854254B2 (en) Method and system for remote viewing of static and video images
CN107770538B (en) Method, device and system for detecting scene switching frame
CN108391089B (en) Monitoring flow pushing method and device of multi-path camera and monitoring system
JP4714039B2 (en) Video playback apparatus and video playback method
CN111641804A (en) Video data processing method and device, terminal, camera and video conference system
CN112423140A (en) Video playing method and device, electronic equipment and storage medium
US20110271307A1 (en) Video data stream evaluation systems and methods
CN112584189A (en) Live broadcast data processing method, device and system and computer readable storage medium
US9230173B2 (en) Soft decision making processes for analyzing images
CN112468763B (en) Video transmission and display method, device and equipment for conference television and storage medium
CN112543348A (en) Remote screen recording method, device, equipment and computer readable storage medium
KR102263071B1 (en) Method for video monitoring, Apparatus for video monitoring and Computer program for the same
JP2009200757A (en) Video data processing apparatus, program, and method
KR100623017B1 (en) Mobile Terminal Client and Method of Sensing and Recovery of Abnormality of Decorder
CN107734278B (en) Video playback method and related device
CN109922366B (en) Equipment parameter adjusting method, device, equipment and medium
WO2006008673A1 (en) A method and apparatus for decoding encoded data
EP3029942B1 (en) Method and device for inserting a graphical overlay in a video stream
CN111314648A (en) Information processing method, processing device, first electronic equipment and server
CN111093091A (en) Video processing method, server and system
JP4932741B2 (en) Monitoring device
CN116112620A (en) Processing method and system for improving video stream multipath merging stability
CN113596449B (en) Image processing method and device
KR100827152B1 (en) .264 apparatus and method of an efficient h.264 decoding for nal unit error detection

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
LAPS Lapse due to unpaid annual fee