KR20090041060A - Internet protocol television system and method for self-recovering using the same - Google Patents

Internet protocol television system and method for self-recovering using the same Download PDF

Info

Publication number
KR20090041060A
KR20090041060A KR1020070106573A KR20070106573A KR20090041060A KR 20090041060 A KR20090041060 A KR 20090041060A KR 1020070106573 A KR1020070106573 A KR 1020070106573A KR 20070106573 A KR20070106573 A KR 20070106573A KR 20090041060 A KR20090041060 A KR 20090041060A
Authority
KR
South Korea
Prior art keywords
firmware
top box
recovery server
recovery
self
Prior art date
Application number
KR1020070106573A
Other languages
Korean (ko)
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 KR1020070106573A priority Critical patent/KR20090041060A/en
Publication of KR20090041060A publication Critical patent/KR20090041060A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2408Monitoring of the upstream path of the transmission network, e.g. client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Stored Programmes (AREA)

Abstract

An internet protocol television system and a method for self-recovering using the same are provided to recover damage by checking a damaged firmware of a set-top box and to maintain a latest version of the firmware by updating a latest version when remotely downloading a recovery data. A recovery server(400) stores a firmware related to an executive program of an STB(Set-Top Box)(100). If the restoration request for the firmware is received from an STB, the recovery server delivers the firmware of the corresponding version through a network(200). If a plurality of STBs has damaged firmware, the damaged set-top box downloads the corresponding firmware by accessing to a recovery server. The set-top box self-recovers the damaged firmware.

Description

자가 복구가 가능한 IPTV 시스템 및 이를 이용한 자가 복구 방법{Internet Protocol Television system and method for self-recovering using the same} Self-healing IPTV system and self-healing method {Internet Protocol Television system and method for self-recovering using the same}

본 발명은 인터넷 프로토콜 기반의 텔레비전(Internet Protocol Television: IPTV) 시스템에 관한 것으로, 더욱 상세하게는 IPTV 시스템에 적용되는 셋탑박스(Set Top Box: STB)의 펌웨어가 손상된 경우 이를 자가 복구시키는 IPTV 시스템 및 이를 이용한 자가 복구 방법에 관한 것이다. The present invention relates to an Internet Protocol Television (IPTV) system, and more particularly, to an IPTV system that self-repairs a firmware of a Set Top Box (STB) applied to an IPTV system, and It relates to a self-healing method using the same.

최근, 기술의 발전과 시청자의 수요 변화에 따라 방송 환경이 변화하고 있다. Recently, the broadcasting environment is changing due to the development of technology and changing demands of viewers.

즉, 아날로그 방송에서 디지털 방송으로 전환되고, 지상파 위주에서 케이블, 위성 등으로 방송매체가 다양화되고 있으며, 통신망과의 연동으로 양방향 서비스를 제공하는 등 최근의 방송 환경은 어느 분야보다도 심한 변화를 겪고 있다. In other words, the transition from analog broadcasting to digital broadcasting, diversified broadcasting media such as cable and satellite from terrestrial broadcasting, and providing interactive services in conjunction with communication networks, the recent broadcasting environment has undergone more severe changes than any other fields. have.

이러한 배경에서 등장한 대표적인 서비스로는 인터넷 프로토콜(Internet Protocol)을 기반으로 한 IPTV(Internet Protocol Television)를 예로 들 수 있다.A representative service that emerged from this background is IPTV (Internet Protocol Television) based on Internet Protocol.

IPTV란 초고속 인터넷망을 이용하여 제공되는 양방향 텔레비전 서비스로서, 셋탑박스를 매개로 하여 TV를 네트워크를 통해 콘텐츠 제공 서버와 연결한 것을 말한다. 이에 따라, 콘텐츠 제공 서버의 정보 서비스, 동영상 콘텐츠 및 방송 콘텐츠 등은 셋탑박스를 매개로 하여 텔레비전 수상기로 제공된다.IPTV is an interactive television service provided by using a high-speed internet network, and refers to a TV connected to a content providing server through a network through a set-top box. Accordingly, the information service, video content, and broadcast content of the content providing server are provided to the television receiver through the set-top box.

이를 위한 셋탑박스는 서버간 네트워크 통신을 수행하기 위한 네트워크 프로세서와, 서버로부터 제공받은 데이터를 처리하기 위한 데이터 처리 프로세서 등이 필요하다. The set-top box for this needs a network processor for performing network communication between servers, and a data processing processor for processing data received from the server.

구체적으로, 데이터 처리 프로세서는 CPU와 저장매체(예를 들면, 플래쉬 메모리, EEPROM 등)를 포함할 수 있으며, CPU는 저장매체에 저장된 프로그램을 수행함으로써 셋탑박스의 시스템 동작을 전반적으로 제어한다. Specifically, the data processing processor may include a CPU and a storage medium (eg, flash memory, EEPROM, etc.), and the CPU controls the overall system operation of the set-top box by executing a program stored in the storage medium.

저장매체는 셋탑박스의 운영 체제뿐만 아니라, 전원 입력시에 운영 체제의 다운로드를 담당하는 프로그램(이하, '펌웨어'라 총칭함)이 저장된다. The storage medium stores not only an operating system of the set-top box but also a program (hereinafter, referred to as 'firmware') that is responsible for downloading the operating system when power is input.

그런데, 셋탑박스를 사용할 때 정전이 되거나 또는 펌웨어의 다운로드시 플래쉬 메모리 기록 상에 오류가 발생하게 되어, 셋탑박스가 정상적으로 동작하지 않게 되고, 이런 경우 사용자는 애프터 서비스(A/S)를 통해 상기 셋탑박스를 고쳐야 하므로 매우 번거로운 단점이 있다. However, when the set-top box is used, a power failure or an error occurs in the flash memory record when the firmware is downloaded, and the set-top box does not operate normally. In this case, the user sets the set-top through an after-sales service. The box has to be fixed, which is very cumbersome.

본 발명은 이러한 문제점을 해결하기 위해서 도출된 것으로서, 셋탑박스의 펌웨어가 손상되면 셋탑박스가 이를 체크하여 스스로 그 손상을 복구할 수 있도록 하는 것을 기술적 과제로 한다. The present invention has been made to solve the above problems, and if the firmware of the set-top box is damaged, the set-top box is to check it to repair the damage on its own as a technical problem.

상기 기술적 과제를 달성하기 위한 본 발명에 따른 자가 복구가 가능한 IPTV 시스템은, 크게, 최신 펌웨어를 저장하고 있는 복구 서버; 및 자체내 펌웨어의 손상시, 상기 복구 서버에 접속하여 상기 최신 펌웨어로 다운로드받아 상기 손상된 펌웨어를 복구하는 셋탑박스를 포함할 수 있다.Self-recoverable IPTV system according to the present invention for achieving the technical problem is largely, a recovery server that stores the latest firmware; And a set-top box which accesses the recovery server and downloads the latest firmware to recover the damaged firmware when the firmware in the firmware is damaged.

이때, 본 발명의 일례에 따르면, 상기 셋탑박스는, 내부에서 지원되는 MAC(Media Access Control) 정보를 바탕으로 상기 복구 서버에 접속하여 네트워크 통신을 수행하는 네트워크 인터페이스; 상기 셋탑박스를 동작시키기 위한 펌웨어 뿐만 아니라 상기 펌웨어의 다운로드를 담당하는 프로그램이 저장되고, 상기 셋탑박스로 수신되는 데이터들을 저장하는 저장매체를 포함하며, 상기 저장매체는, 상기 저장된 펌웨어에 문제 발생시 상기 펌웨어를 대신할 응급 커널 이미지가 저장되고, 상기 복구 서버에 접속하기 위한 상기 MAC 정보가 저장될 수 있다. In this case, according to an embodiment of the present invention, the set-top box includes a network interface for accessing the recovery server and performing network communication based on internally supported MAC (Media Access Control) information; In addition to the firmware for operating the set-top box, a program for downloading the firmware is stored, and includes a storage medium for storing the data received by the set-top box, the storage medium, when the problem occurs in the stored firmware An emergency kernel image may be stored to replace firmware, and the MAC information for accessing the recovery server may be stored.

상기 저장매체는, 상기 MAC 정보가 저장된 부트(Boot) 영역; 및 각종 프로세서를 처리하는 데 필요한 드라이버 또는 프로그램이 압축되어 저장된 커널 이미지를 포함하는 커널(Kernel) 영역을 추가로 포함할 수 있다. The storage medium may include a boot area in which the MAC information is stored; And a kernel region including a kernel image in which a driver or a program required to process various processors is compressed and stored.

또한, 상기 셋탑박스는, 미리 다운로드한 펌웨어에 대한 기존 체크섬 값과, 상기 복구 서버를 통해 다운로드할 펌웨어에 대한 체크섬 값을 비교하여, 상기 두 체크섬 값이 다른 경우에 상기 복구 서버에서 제공되는 펌웨어를 다운로드할 수 있다. In addition, the set-top box compares the existing checksum value of the firmware downloaded in advance with the checksum value of the firmware to be downloaded through the recovery server, and compares the firmware provided by the recovery server when the two checksum values are different. You can download it.

본 발명의 일례에 따르면, 상기 저장매체는 플래쉬 메모리일 수 있으나, 이 에 한정하지는 않는다. According to one embodiment of the invention, the storage medium may be a flash memory, but is not limited thereto.

한편, 상기 기술적 과제를 달성하기 위한 본 발명에 따른 셋탑박스는, 네트워크를 통해 복구 서버로 접속 가능하게 하는 MAC 정보가 저장된 부트(Boot) 영역; 각종 프로세서를 처리하는 데 필요한 드라이버 또는 프로그램이 압축되어 저장된 커널 이미지를 포함하는 커널(Kernel) 영역; 및 상기 부트 영역 및 상기 커널 영역을 포함한 펌웨어가 손상된 경우 상기 손상된 펌웨어를 대신할 수 있는 응급 펌웨어가 저장된 응급 복구 시스템을 포함할 수 있다. On the other hand, the set-top box according to the present invention for achieving the above technical problem, the boot (Boot) region that stores the MAC information to enable access to the recovery server through the network; A kernel region including a kernel image in which a driver or a program required to process various processors is compressed and stored; And an emergency repair system in which emergency firmware is stored to replace the damaged firmware when the firmware including the boot area and the kernel area is damaged.

또한, 상기 응급 복구 시스템은, 상기 부트 영역에 저장된 MAC 정보가 손상되거나 상기 복구 서버로 접속이 불가능한 경우 동작한다. In addition, the emergency recovery system operates when the MAC information stored in the boot area is damaged or the connection to the recovery server is impossible.

한편, 상기 기술적 과제를 달성하기 위한 본 발명에 따른 자가 복구 방법은, (a) 셋탑박스에 전원을 인가한 후, 상기 셋탑박스내 부트/커널을 체크하여 펌웨어의 이상 유무를 확인하는 단계; (b) 상기 펌웨어에 이상이 있으면 상기 부트 영역에 미리 저장된 MAC 정보를 이용하여 복구 서버에 접속하도록 시도하는 단계; (c) 상기 복구 서버에 접속되면, 손상된 펌웨어를 대신할 해당 펌웨어를 전송받아 업데이트하는 단계; 및 (d) 상기 복구 서버에 접속이 실패하면, 상기 셋탑박스내 저장된 응급 펌웨어를 다운로드하여 자가 복구하는 단계를 포함할 수 있다. On the other hand, a self-healing method according to the present invention for achieving the technical problem, (a) after applying the power to the set-top box, checking the boot / kernel in the set-top box to check whether the firmware abnormality; (b) attempting to access a recovery server using MAC information stored in the boot area in advance if there is an error in the firmware; (c) receiving and updating corresponding firmware to replace the damaged firmware when connected to the recovery server; And (d) downloading the emergency firmware stored in the set-top box when the access to the recovery server fails.

본 발명의 일례에 따르면, 상기 (c) 단계에서 해당 펌웨어를 업데이트하는 단계는, (c-1) 상기 셋탑박스에 미리 다운로드받은 펌웨어의 체크섬 값과 상기 복구 서버로부터 다운로드할 펌웨어의 체크섬 값이 동일한지를 비교하는 단계; (c-2) 상기 비교한 결과, 상기 셋탑박스에 미리 다운로드받은 펌웨어의 체크섬 값과 상기 복구 서버로부터 다운로드할 펌웨어의 체크섬 값이 다른 경우, 상기 복구 서버에 자동 업데이트를 요청하는 단계; 및 (c-3) 상기 복구 서버로부터 해당 펌웨어를 수신하여 업데이트하는 단계를 포함할 수 있다. According to an example of the present invention, the updating of the firmware in the step (c) may include: (c-1) The checksum value of the firmware previously downloaded to the set-top box and the checksum value of the firmware to be downloaded from the recovery server are the same. Comparing the photos; (c-2) if the checksum value of the firmware previously downloaded to the set-top box is different from the checksum value of the firmware to be downloaded from the recovery server, requesting an automatic update from the recovery server; And (c-3) receiving and updating the firmware from the recovery server.

본 발명의 다른 예에 따르면, 상기 상기 (c) 단계에서 해당 펌웨어를 업데이트하는 단계는, (c-4) 상기 비교한 결과, 상기 셋탑박스에 미리 다운로드받은 펌웨어의 체크섬 값과 상기 복구 서버로부터 다운로드할 펌웨어의 체크섬 값이 동일한 경우, 상기 셋탑박스에 미리 다운로드받은 펌웨어를 적용하여 정상 부트 과정을 수행하는 단계를 추가로 포함할 수도 있다. According to another example of the present invention, the updating of the corresponding firmware in the step (c) includes (c-4) the checksum value of the firmware previously downloaded to the set-top box and the downloading from the recovery server as a result of the comparison. If the checksum values of the firmware are the same, the method may further include performing a normal booting process by applying the firmware downloaded in advance to the set-top box.

본 발명의 일례에 따르면, 상기 (b) 단계에서 상기 복구 서버에 접속하도록 시도하는 단계는, 상기 부트 영역에 미리 저장된 MAC 정보를 이용하여 지정된 디폴트 url 정보가 있는지를 체크하는 단계; 상기 체크 결과, 상기 디폴트 url 정보가 있으면 이를 통해 상기 복구 서버에 접속하고, 상기 디폴트 url 정보가 없으면 다음으로 지정된 url 정보가 있는지를 검색하는 단계; 및 상기 다음으로 지정된 url 정보가 있으면 상기 복구 서버에 접속하는 단계를 포함할 수 있다. According to an exemplary embodiment of the present invention, the attempting to access the recovery server in the step (b) may include checking whether there is designated default url information using MAC information stored in the boot area in advance; If the default url information is found as a result of the check, accessing the recovery server through the search; if the default url information does not exist, searching for next designated url information; And accessing the recovery server if there is next designated url information.

그리고, 본 발명의 일례에 따르면, 상기 자가 복구 방법은 상기 (d) 단계를 거친 후, 상기 복구 서버에 접속하여 상기 복구된 응급 펌웨어를 상기 복구 서버에서 제공되는 최신 펌웨어로 갱신하는 단계를 추가로 포함할 수 있다.According to an example of the present invention, the self-recovery method may further include updating the repaired emergency firmware with the latest firmware provided by the recovery server after accessing the recovery server after the step (d). It may include.

이때, 업데이트는 상기 응급 펌웨어의 버전을 체크함에 따라 이루어질 수 있다.In this case, the update may be performed by checking the version of the emergency firmware.

상기한 본 발명에 따르면, 셋탑박스의 펌웨어가 손상되더라도 셋탑박스가 스스로 그 손상을 복구할 수 있어, 자가 A/S 서비스가 가능한 효과가 있다.According to the present invention, even if the firmware of the set-top box is damaged, the set-top box can recover the damage by itself, there is an effect capable of self-service A / S.

또한, 복구 서버를 통해 원격으로 복구할 데이터를 다운로드함으로써 복구시 항상 최신 버전의 데이터를 업데이트할 수 있는 효과가 있다. In addition, by downloading data to be recovered remotely through the recovery server, there is an effect that can always update the latest version of the data during recovery.

이하, 첨부된 도면들을 참조하여 본 발명의 실시예에 따른 자가 복구가 가능한 IPTV 시스템에 대하여 상세히 설명한다. Hereinafter, a self-healing IPTV system according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 실시예에 따른 자가 복구가 가능한 IPTV 시스템의 구성을 나타낸 구성도이다. 1 is a block diagram showing the configuration of a self-healing IPTV system according to an embodiment of the present invention.

도 1에 도시된 바와 같이 본 발명의 실시예에 따른 IPTV 시스템은 복수의 셋탑박스(100)가 네트워크(200)를 통해 VOD 서버(300) 및 복구 서버(400)에 연결되어, 셋탑박스(100)의 펌웨어에 문제 발생시 자가 복구가 가능하도록 구성되어 있다. As shown in FIG. 1, in the IPTV system according to an exemplary embodiment of the present invention, a plurality of set-top boxes 100 are connected to the VOD server 300 and the recovery server 400 through the network 200, and the set-top box 100 is connected. In case of problems with the firmware of the

도시된 바와 같이, 복수의 셋탑박스(100)와 VOD 서버(300) 및 복구 서버(400)는 네트워크(200)를 통해 통신할 수 있는데, 이때, 네트워크(200)는 IP 기반의 네트워크가 사용될 수 있지만, 본원 발명이 IP 기반의 네트워크를 사용하는 것에 제한되는 것은 아니며, 이외에도 네트워크를 가능하게 하는 유무선 통신망이라면 특정 형태에 한정되지 않는다.As shown, the plurality of set-top box 100 and the VOD server 300 and the recovery server 400 can communicate through the network 200, in this case, the network 200 may be an IP-based network However, the present invention is not limited to using an IP-based network, and is not limited to a specific form as long as the wired / wireless communication network enables the network.

VOD 서버(300)는 복수의 VOD 콘텐츠를 유지 관리한다. The VOD server 300 maintains a plurality of VOD contents.

본 실시예에서 설명하는 VOD 콘텐츠는 홈쇼핑이나 광고, 영화 등의 주문형 비디오(VOD: Video On Demand) 콘텐츠일 수 있지만, 본원 발명이 주문형 비디오에 제한되는 것은 아니다. The VOD content described in this embodiment may be video on demand (VOD) content such as home shopping, advertisement, or movie, but the present invention is not limited to the video on demand.

VOD 서버(300)는 셋탑박스(100)로부터 VOD 콘텐츠의 요청이 수신되면 해당 VOD 콘텐츠를 네트워크(200)를 통해 전달한다. 이때, VOD 데이터의 전달은 통상 통신망을 이용한 리턴패스를 통해 전달될 수 있다.When the VOD server 300 receives a request for VOD content from the set-top box 100, the VOD server 300 transmits the corresponding VOD content through the network 200. In this case, the VOD data may be delivered through a return path using a normal communication network.

복구 서버(400)는 셋탑박스(100)의 실행 프로그램 등과 관련된 펌웨어(firmware)가 저장된다. 특히, 펌웨어가 업그레이드되면 실시간으로 최신 버전을 업로드하여 버전에 따른 데이터베이스를 구축할 수 있다. 이러한 복구 서버(400) 또한 셋탑박스(100)로부터 펌웨어에 대한 복구 요청이 수신되면 해당 버전의 펌웨어를 네트워크(200)를 통해 전달한다. The recovery server 400 stores firmware related to an execution program of the set-top box 100. In particular, when the firmware is upgraded, the latest version can be uploaded in real time to build a database according to the version. The recovery server 400 also transfers the firmware of the corresponding version through the network 200 when a recovery request for the firmware is received from the set-top box 100.

따라서, 본 발명의 실시예에 따른 IPTV 시스템은 복수의 셋탑박스(100)에서 펌웨어가 손상되었을 경우, 손상된 셋탑박스(100)가 복구 서버(400)에 접속하여 해당 펌웨어를 다운로드받음으로써 자체적으로 복구가 가능한 것이 특징이다. Therefore, in the IPTV system according to the embodiment of the present invention, when the firmware is damaged in the plurality of set-top boxes 100, the damaged set-top box 100 recovers itself by accessing the recovery server 400 and downloading the firmware. It is characterized by possible.

이를 위한 본 발명의 실시예에 따른 셋탑박스(100)는 도 2 및 도 3에 도시된 바와 같이 구성될 수 있다. Set-top box 100 according to an embodiment of the present invention for this purpose may be configured as shown in Figs.

도 2는 본 발명의 실시예에 따른 셋탑박스의 내부 구성을 나타낸 구성도이고, 도 3은 본 발명의 실시예에 따른 셋탑박스의 저장매체 구조를 나타낸 도면이다.2 is a block diagram showing the internal configuration of a set-top box according to an embodiment of the present invention, Figure 3 is a view showing a storage medium structure of a set-top box according to an embodiment of the present invention.

먼저 도 2를 참조하면, 본 발명의 실시예에 따른 셋탑박스(100)는 개략적으로 입출력 유닛(110)과 VOD 관리 어플리케이션(120), 마이크로프로세서(130), 저장 매체(140), 네트워크 인터페이스(150)를 포함한다. First, referring to FIG. 2, the set-top box 100 according to an exemplary embodiment of the present invention may roughly include an input / output unit 110, a VOD management application 120, a microprocessor 130, a storage medium 140, and a network interface ( 150).

입출력 유닛(110)은 셋탑박스(100)로 전달되는 데이터의 입력과 출력을 담당한다. The input / output unit 110 is responsible for inputting and outputting data transmitted to the set top box 100.

VOD 관리 어플리케이션(120)은 사용자에게 주문 가능한 VOD 콘텐츠에 대한 정보와 상기 정보를 구현하기 위한 사용자 인터페이스를 제공하며, 사용자로부터의 주문 요청을 수신하여 이를 처리한다.The VOD management application 120 provides a user with information on orderable VOD content and a user interface for implementing the information, and receives and processes an order request from the user.

마이크로프로세서(130)는 입출력 유닛(110)을 통해 입력되는 데이터를 적절하게 처리하도록 제어 신호를 생성하고, 펌웨어 손상시 이를 복구하기 위해 펌웨어의 다운로드와 관련하여 제어하는 역할을 한다. The microprocessor 130 generates a control signal to properly process data input through the input / output unit 110, and serves to control the download of the firmware in order to recover it in the event of firmware damage.

이를 테면, 마이크로프로세서(130)는 다운로드한 파일에 대한 체크썸(checksum)을 산출하여 저장해 두고, 이후 산출한 체크썸을 비교하여 정상/비정상 유무를 판단한다. 이에 대한 세부 동작 설명은 하기에서 자세히 설명한다. For example, the microprocessor 130 calculates and stores a checksum for the downloaded file, and then compares the calculated checksum to determine whether it is normal or abnormal. Detailed operation description thereof will be described later in detail.

네트워크 인터페이스(150)는 내부에서 지원되는 MAC(Media Access Control) 정보로 복구 서버(도 1의 400)에 접속할 수 있도록 네트워크 기반의 통신 환경을 제공한다. The network interface 150 provides a network-based communication environment to access the recovery server (400 of FIG. 1) with internally supported MAC (Media Access Control) information.

통상, 외부 네트워크를 통해 데이터를 송수신할 때에는 목적지 주소(IP address 또는 도메인 네임)가 필요하지만, 그 이전에 목적지 주소와 대응되는 MAC 어드레스 정보가 필요하다. 다시 말해, 해당 목적지 주소로 접속하기 위해서는 원초적으로 MAC 어드레스 정보가 필요하므로, 셋탑박스에서는 복구 서버간 네트워크를 수행하기 위한 MAC 정보의 데이터를 가지고 있다. In general, when transmitting and receiving data through an external network, a destination address (IP address or domain name) is required, but before that, MAC address information corresponding to the destination address is required. In other words, since MAC address information is primarily needed to access the corresponding destination address, the set-top box has data of MAC information for performing a network between recovery servers.

저장매체(140)는 각종 펌웨어 뿐만 아니라, 펌웨어의 다운로드를 담당하는 프로그램이 저장되며, 셋탑박스(100)로 수신되는 데이터들 또한 저장된다. The storage medium 140 stores not only various firmware, but also programs for downloading firmware, and data received by the set-top box 100 is also stored.

이러한 저장매체(140)의 논리적인 구성을 구체적으로 설명하면, 도 3에 도시된 바와 같이 저장 매체(140)는 부트 영역(Boot Directory; 141)과 커널 영역(Kernel Directory; 142), 파일 시스템(File System; 143), 응급 복구 시스템(144), 및 어플리케이션 영역(Application Directory; 145)을 포함한다. Referring to the logical configuration of the storage medium 140 in detail, as shown in FIG. 3, the storage medium 140 includes a boot directory 141, a kernel directory 142, and a file system. File System 143, Emergency Recovery System 144, and Application Directory 145.

여기서의 부트 영역(141)은 시스템의 부팅(booting)과 같이, 주변 장치를 초기화한 후 상위로부터 운영 체계의 로딩(loading)을 수행하며, 목적지 주소를 포함한 네트워크 정보를 받을 때 적용할 수 있다. The boot region 141 here may be applied when initializing a peripheral device, such as booting a system, loading the operating system from a higher level, and receiving network information including a destination address.

구체적으로 설명하면, 처음 전원을 인가하거나 하드웨어적으로 리셋을 시키면 부트 영역(141)은 시스템을 시작하기 위해 필요한 최소한의 하드웨어(프로세서, 메모리 등)을 초기화하게 된다. 그리고 난 후, 메모리(ROM 또는 Flash)에 담겨 있는 커널 이미지와 파일 시스템(143)을 찾아서 램으로 복사를 하고, 커널 이미지 위치로 실행을 옮겨 커널 부팅을 하게 된다. Specifically, when the power is first applied or the hardware is reset, the boot area 141 initializes the minimum hardware (processor, memory, etc.) required to start the system. After that, the kernel image and file system 143 contained in the memory (ROM or Flash) are found and copied to RAM, and then the execution is moved to the kernel image location to boot the kernel.

커널 영역(142)은 각종 프로세서를 처리하는 데 필요한 드라이버와 실행 프로그램이 저장된다.The kernel region 142 stores drivers and executable programs necessary for processing various processors.

즉, 커널 영역(142)은 종료된 입출력 연산 등, 커널의 서비스를 경쟁적으로 요구하는 모든 요청들을 처리하는 인터럽트 처리기와, 어떤 프로그램들이 어떤 순서로 커널의 처리시간을 공유할 것인지를 결정하는 스케줄러, 그리고 스케줄이 끝나면 실제로 각 프로세스들에게 마이크로프로세서의 사용권을 부여하는 수퍼바이저 기능 등이 포함되어 있다. 또한, 메모리나 저장장치 내에서 운영 체계의 주소 공간을 관리하고, 이들을 모든 주변 장치들과 커널의 서비스들을 사용하는 다른 사용자들에게 배분해 주는 메모리 관리자를 포함하고 있다. That is, the kernel region 142 may include an interrupt handler for processing all requests that competitively request a service of the kernel, such as a completed input / output operation, a scheduler for determining which programs share the processing time of the kernel in which order, And when the schedule is over, it actually includes a supervisor that gives each process a license to use the microprocessor. It also includes a memory manager that manages the operating system's address space in memory or storage and distributes it to all other peripherals and other users of the kernel's services.

이러한 커널 영역(142)은 커널 이미지를 기록해 두었다가, 부팅 영역(141)에서 부팅을 하게 되면 부팅과 동시에 메모리에 상주하게 되고, 이는 셋탑박스의 전원이 꺼질 때까지 동작하게 된다. 본 실시예에 따른 커널 이미지는 커널의 압축된 데이터와 압축된 데이터를 푸는 루틴 등을 포함하는 것을 의미한다. The kernel region 142 records the kernel image, and when booted from the boot region 141, the kernel region 142 resides in the memory at the same time as the booting, which is operated until the power of the set-top box is turned off. The kernel image according to the present embodiment means that the kernel includes compressed data and a routine for unpacking the compressed data.

파일 시스템(143)은 컴퓨터에 기록된 또는 기록될 데이터의 위치를 관리한다.File system 143 manages the location of data recorded on or to be recorded on the computer.

일반적으로, 마이크로프로세서에서 데이터를 기록하기 위해서는 미리 하드디스크 드라이브에 데이터를 읽고, 쓰고, 찾기 위한 준비를 해둬야 한다. 파일 시스템(143)은 그 준비의 규칙을 정리해 놓은 것으로서, 파일에 이름을 붙이고, 저장이나 검색을 위해 파일을 어디에 위치시킬 것인지를 나타내는 체계를 의미한다. 예를 들면, 도스나 윈도, 매킨토시, 유닉스 등 모든 오퍼레이팅 시스템(Operating System: OS)이 이러한 파일 시스템의 구조를 갖추고 있다.In general, to write data to a microprocessor, you must prepare to read, write, and find data on the hard disk drive in advance. The file system 143 summarizes the rules of preparation and refers to a system for naming a file and indicating where to place the file for storage or retrieval. For example, all operating systems (OS) such as DOS, Windows, Macintosh , and Unix have this file system structure.

응급 복구 시스템(145)은 셋탑박스에 미리 저장된 펌웨어가 손상된 경우 복구 서버와 연계되어 또는 임시적으로 펌웨어를 자가 복구하기 위한 것으로, 손상된 펌웨어를 대신할 응급 펌웨어(더욱 상세하게는 응급 커널 이미지) 및 복구 서버에 접속을 유도하기 위한 MAC 정보가 저장되어 있다. The emergency recovery system 145 is for self-repairing the firmware in conjunction with a recovery server or when the firmware previously stored in the set-top box is damaged. The emergency recovery system (more specifically, an emergency kernel image) and recovery is performed to replace the damaged firmware. MAC information for inducing a connection to the server is stored.

이와 같이 구성되는 본 발명의 실시예에 따른 IPTV 시스템의 동작 과정을 두 가지 경우로 구분하여 설명한다. The operation of the IPTV system according to the embodiment of the present invention configured as described above will be described in two cases.

참고로, 도 4 및 도 5는 본 발명의 실시예들에 따른 자가 복구가 가능한 IPTV 시스템의 동작을 설명하기 위한 개념도로서, 도 4는 셋탑박스의 펌웨어가 손상되었지만 부트 영역이 손상되지 않아, 외부의 복구 서버에 원격으로 접속이 가능한 경우이고, 도 5는 셋탑박스의 펌웨어가 손상되고 부트 영역 또한 손상되어 복구 서버에 원격 접속이 불가능한 경우를 나타낸 것이다. For reference, FIGS. 4 and 5 are conceptual views illustrating an operation of a self-recoverable IPTV system according to embodiments of the present invention. FIG. 4 illustrates that the firmware of the set-top box is damaged but the boot area is not damaged. 5 is a case where it is possible to remotely access the recovery server, and FIG. 5 shows a case where the firmware of the set-top box is damaged and the boot area is also damaged so that remote access to the recovery server is impossible.

먼저 도 4를 참조하면, 본 발명의 일 실시예에 따른 IPTV 시스템에서 셋탑박스(100)의 펌웨어가 손상되었을 경우, 부트 영역(141)에 미리 저장된 MAC 어드레스 정보를 이용하여 복구 서버(400)로 접속한다(①). 이와 동시에 셋탑박스(100)는 손상된 펌웨어에 대한 복구를 복구 서버(400)에 요청하고, 이에 응답하여 복구 서버(400)는 해당 펌웨어(S/W)를 셋탑박스(100)로 전송한다(②, ③). 이에 따라, 셋탑박스(100)에서는 복구 서버(400)로부터 수신한 펌웨어를 다운로드하여 손상된 펌웨어를 복구한다. First, referring to FIG. 4, when the firmware of the set-top box 100 is damaged in the IPTV system according to an embodiment of the present invention, the MAC address information stored in the boot area 141 is used to recover the server 400. (①). At the same time, the set-top box 100 requests the recovery server 400 to recover the damaged firmware, and in response, the recovery server 400 transmits the firmware (S / W) to the set-top box 100 (②). , ③). Accordingly, the set top box 100 downloads the firmware received from the recovery server 400 to recover the damaged firmware.

이에 따르면, 본 발명의 일 실시예에 따른 IPTV 시스템은 셋탑박스(100)의 펌웨어가 손상되더라도 네트워크를 통해 복구 서버(400)와 연계되어 손상된 펌웨어를 복구함으로써 자가 치유가 가능하고, 치유시 항상 최신 버전의 펌웨어로 복구할 수 있다. Accordingly, even if the firmware of the set-top box 100 is damaged, self-healing is possible by restoring the damaged firmware in association with the recovery server 400 through the network, and always at the time of healing. Can be restored with a version of firmware.

한편, 본 발명의 다른 실시예에 따른 IPTV 시스템에서 셋탑박스(100)의 펌웨어가 손상되었음에도 불구하고 복구 서버(400)와의 접속이 불가능한 경우를 살펴본다. On the other hand, even if the firmware of the set-top box 100 is damaged in the IPTV system according to another embodiment of the present invention looks at the case that the connection to the recovery server 400 is impossible.

즉, 도 5에 도시된 바와 같이, 처음에 셋탑박스(100)에서 부트 영역(141)에 미리 저장된 MAC 정보를 이용하여 복구 서버(400)로 접속을 시도한다(①). 이때, 복구 서버(400) 자체적인 오류나 물리적으로 네트워크와 단절되어 접속 시도를 실패한 경우, 셋탑박스(100) 내 응급 복구 시스템(144)에서 응급 커널 이미지(또는 펌웨어)를 다운로드하여 복구한다(②). 이후 커널 복구를 통해 부팅이 가능하게 되면, 선택적으로 복구 서버(400)에 접속하여 펌웨어에 대한 갱신을 요청한다(③, ④).That is, as shown in FIG. 5, the set-top box 100 first attempts to access the recovery server 400 using MAC information stored in the boot area 141 in advance (①). At this time, if the recovery server 400 itself or physically disconnected from the network and failed to attempt the connection, the emergency kernel image (or firmware) is downloaded and recovered from the emergency recovery system 144 in the set-top box 100 (②). . After the boot is possible through the kernel recovery, selectively access the recovery server 400 and requests an update for the firmware (③, ④).

이에 응답하여 복구 서버(400)는 상위 버전의 펌웨어(S/W)를 셋탑박스(100)로 전송하고(⑤), 셋탑박스(100)는 복구 서버(400)로부터 전송받은 상위 버전의 펌웨어를 다운로드함으로써 펌웨어를 갱신할 수 있다.In response, the recovery server 400 transmits the higher version firmware (S / W) to the set top box 100 (⑤), and the set top box 100 transmits the higher version firmware received from the recovery server 400. The firmware can be updated by downloading.

따라서, 본 발명의 다른 실시예에 따른 IPTV 시스템은 복구 서버(400)로 접속이 불가능할 경우 셋탑박스(100)가 스스로 손상된 펌웨어를 복구할 수 있어 편리한 이점이 있다.Therefore, the IPTV system according to another embodiment of the present invention has a convenient advantage when the set-top box 100 can recover the damaged firmware by itself when the connection to the recovery server 400 is not possible.

이하에서는 본 발명의 실시예에 따른 IPTV 시스템을 이용한 자가 복구 방법을 구체적으로 설명한다. Hereinafter, a self repair method using an IPTV system according to an embodiment of the present invention will be described in detail.

도 6은 본 발명의 실시예에 따른 IPTV 시스템을 이용한 자가 복구 방법을 설명하기 위한 순서도이고, 도 7은 도 6의 상세도이다. 6 is a flowchart illustrating a self-healing method using an IPTV system according to an embodiment of the present invention, and FIG. 7 is a detailed view of FIG. 6.

먼저 도 6을 참조하여 본 발명의 실시예에 따른 자가 복구 방법을 설명하면, 처음에 전원을 인가하여 셋탑박스를 온(ON)시킨 후, 셋탑박스의 부트 영역과 커널 영역을 체크하여 시스템의 이상 유무를 확인한다(S100, S200).First, a self-healing method according to an exemplary embodiment of the present invention will be described with reference to FIG. 6. After the power is initially applied, the set-top box is turned on, and then the boot area and the kernel area of the set-top box are checked to determine the abnormality of the system. Check the presence (S100, S200).

체크 결과, 시스템의 이상이 있으면 이를 복구하고자 손상된 펌웨어를 전체적으로 갱신하는 과정을 거치고, 시스템의 이상이 없으면 복구 과정을 거치지 않고 종료한다.As a result of the check, if there is a problem with the system, to recover it, the damaged firmware is updated as a whole. If there is no problem, the system terminates without going through the recovery process.

시스템의 이상이 있을 경우, 부트 영역에 미리 저장된 MAC 정보를 이용하여 복구 서버에 접속 가능한 url 정보를 체크한다(S300).If there is a problem with the system, the url information accessible to the recovery server is checked using MAC information stored in the boot area in advance (S300).

MAC 정보는 외부 네트워크를 통해 복구 서버에 접속하기 위한 IP 어드레스 또는 url 정보를 제공하기 위한 것으로, 셋탑박스의 제조시 부트 영역에 미리 저장되고, 셋탑박스의 이상 발생시 우선 순위로 실행하게 된다. The MAC information is provided to provide IP address or url information for accessing the recovery server through an external network. The MAC information is stored in the boot area at the time of manufacture of the set-top box, and is executed with priority in case of an abnormality of the set-top box.

url 정보 체크에 있어서는 도시된 바와 같이 지정된 디폴트 url 정보를 우선적으로 검색하고, 디폴트 url 정보가 없으면 다음 url 정보를 검색하게 된다(S320). In the url information check, the designated default url information is searched first, as shown, and if there is no default url information, the next url information is searched (S320).

구체적으로 설명하면, 디폴트 url 정보를 체크한 결과, 디폴트 url 정보가 있으면 복구 서버로 접속을 시도한다(S400).In detail, as a result of checking the default url information, if there is the default url information, an attempt is made to connect to the recovery server (S400).

만약, 디폴트 url 정보를 체크한 결과, 디폴트 url 정보가 없으면 다음 url 정보가 있는지를 검색하고, 다음 url 정보가 있을 경우 이를 이용하여 복구 서버로 접속을 시도한다(S400).If, as a result of checking the default url information, if there is no default url information, it searches for whether there is next url information, and if there is next url information, attempts to connect to the recovery server using the next url information (S400).

이후, 복구 서버에 접속이 실패되면 앞서 도 5에서 설명한 바와 같이 셋탑박스내 응급 복구 시스템이 동작하게 되어 응급 펌웨어로 자가 복구한다(S600).Afterwards, if the connection to the recovery server fails, the emergency recovery system in the set-top box is operated as described above with reference to FIG. 5 and self-recovers with the emergency firmware (S600).

이와 반대로, 복구 서버에 접속되면 셋탑박스는 해당 펌웨어를 전송받아 업 데이트를 수행한 후 종료한다(S500). On the contrary, when connected to the recovery server, the set-top box receives the firmware and performs an update and ends (S500).

여기서, 해당 펌웨어를 업데이트하는 방법은 도 7에 도시된 바와 같다. Here, the method of updating the firmware is as shown in FIG.

셋탑박스에서 미리 다운로드된 펌웨어에 대한 기존 체크섬(checksum)과 복구 서버를 통해 다운로드할 펌웨어의 체크섬이 동일한지를 비교한다(S510).The checksum of the firmware previously downloaded from the set-top box is compared with the checksum of the firmware to be downloaded through the recovery server (S510).

이러한 단계 이전에, 셋탑박스는 미리 다운로드된 펌웨어에 대한 체크섬 값을 산출해 둘 수 있다.Prior to this step, the set-top box may calculate a checksum value for the pre-downloaded firmware.

여기서, 체크썸은 정상/비정상 유무를 확인하기 위한 기능으로서, 예컨대, 미리 다운로드된 펌웨어의 기존 체크섬 값과 앞으로 다운로드할 체크섬 값이 다르면 펌웨어가 손상된 것으로 판단하고, 이와 반대로 미리 다운로드된 펌웨어의 기존 체크섬 값과 앞으로 다운로드할 체크섬 값이 동일하면 미리 다운로드된 펌웨어가 정상적인 것으로 판단할 수 있다. Here, the checksum is a function for checking whether the checksum is normal or abnormal, for example, when the checksum value of the pre-downloaded firmware and the checksum value to be downloaded are different, the firmware is determined to be damaged, and conversely, the checksum of the pre-downloaded firmware If the value is the same as the checksum value to be downloaded in the future, it is possible to determine that the pre-downloaded firmware is normal.

이를 기초하여 비교한 결과, 셋탑박스에 미리 다운로드된 펌웨어의 체크섬 값과 복구 서버로부터 다운로드할 펌웨어의 체크섬 값이 다른 경우, 셋탑박스는 펌웨어가 손상된 것으로 판단하여 복구 서버에 자동 업데이트를 요청한다(S520).As a result of the comparison, when the checksum value of the firmware previously downloaded to the set-top box is different from the checksum value of the firmware to be downloaded from the recovery server, the set-top box determines that the firmware is damaged and requests an automatic update from the recovery server (S520). ).

이에 응답하여, 복구 서버는 해당 펌웨어를 셋탑박스로 전송하고, 셋탑박스는 복구 서버에서 전송한 펌웨어를 수신하여 업데이트한다(S530, S540).In response, the recovery server transmits the firmware to the set-top box, and the set-top box receives and updates the firmware transmitted from the recovery server (S530 and S540).

업데이트 과정은 어플리케이션, 파일 시스템, 커널 순으로 수행하는데, 해당 이미지를 다운받아서 체크섬 값과 비교한 후, 다운로드받은 이미지와 체크섬 값이 동일한 경우에는 플래쉬 메모리에 기록하고, 다운로드받은 이미지와 체크섬 값이 다른 경우에는 업데이트를 수행하지 않고 종료 또는 재부팅 과정을 거친다.The update process is performed in order of application, file system, and kernel. After downloading the image and comparing it with the checksum value, if the downloaded image and the checksum value are the same, it is written to flash memory and the downloaded image and the checksum value are different. In this case, the shutdown or reboot process is performed without performing an update.

업데이트가 완료되면, 재부팅하여 셋탑박스 내에 적용시킨다(S550).When the update is completed, reboot and apply within the set-top box (S550).

한편, 상기한 S510 단계에서 비교한 결과, 셋탑박스에 미리 다운로드된 펌웨어의 체크섬 값과 복구 서버로부터 다운로드할 펌웨어의 체크섬 값이 동일한 경우, 셋탑박스는 이미 다운로드된 펌웨어를 이용하여 정상 부트 과정을 수행한다(S560).On the other hand, as a result of the comparison in step S510, if the checksum value of the firmware previously downloaded to the set-top box and the checksum value of the firmware to be downloaded from the recovery server is the same, the set-top box performs a normal boot process using the firmware already downloaded (S560).

이와 같은 단계를 거친 셋탑박스는 내부의 펌웨어가 손상되더라도 복구 서버를 통해 자체적으로 복구할 수 있어, 항상 최신 버전의 펌웨어로 업데이트할 수 있다. This set-top box can be self-recovered by the recovery server even if the internal firmware is damaged, so it can always be updated to the latest version of firmware.

한편, 다른 실시예로, 상기한 S200 단계에서 시스템의 이상 유무를 체크한 결과, 펌웨어뿐만 아니라 부트 영역도 손상되어 복구 서버에 원격으로 접속이 불가능한 경우에도 자체적으로 펌웨어를 복구할 수 있어 자가 A/S 서비스가 가능하다.On the other hand, in another embodiment, as a result of checking the system abnormality in the above step S200, even if the boot area is damaged as well as the firmware, it is possible to recover the firmware itself even if it is impossible to remotely access the recovery server. S service is available.

이상 첨부된 도면을 참조하여 본 발명의 실시예를 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다.Although embodiments of the present invention have been described above with reference to the accompanying drawings, those skilled in the art to which the present invention pertains may implement the present invention in other specific forms without changing the technical spirit or essential features thereof. I can understand that.

따라서, 이상에서 기술한 실시예들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이므로, 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 하며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. Therefore, since the embodiments described above are provided to completely inform the scope of the invention to those skilled in the art, it should be understood that they are exemplary in all respects and not limited. The invention is only defined by the scope of the claims.

도 1은 본 발명의 실시예에 따른 자가 복구가 가능한 IPTV 시스템의 구성을 나타낸 구성도이다. 1 is a block diagram showing the configuration of a self-healing IPTV system according to an embodiment of the present invention.

도 2는 본 발명의 실시예에 따른 셋탑박스의 내부 구성을 나타낸 구성도이다. 2 is a block diagram showing the internal configuration of a set-top box according to an embodiment of the present invention.

도 3은 본 발명의 실시예에 따른 셋탑박스의 저장매체 구조를 나타낸 도면이다.3 is a view showing a storage medium structure of a set-top box according to an embodiment of the present invention.

도 4는 본 발명의 일 실시예에 따른 자가 복구가 가능한 IPTV 시스템의 동작을 설명하기 위한 개념도이다. 4 is a conceptual diagram illustrating the operation of a self-healing IPTV system according to an embodiment of the present invention.

도 5는 본 발명의 다른 실시예에 따른 자가 복구가 가능한 IPTV 시스템의 동작을 설명하기 위한 개념도이다. 5 is a conceptual diagram illustrating the operation of a self-healing IPTV system according to another embodiment of the present invention.

도 6은 본 발명의 실시예에 따른 IPTV 시스템을 이용한 자가 복구 방법을 설명하기 위한 전체 순서도이다. 6 is a flowchart illustrating a self-healing method using an IPTV system according to an embodiment of the present invention.

도 7은 도 6의 상세도이다. 7 is a detailed view of FIG. 6.

<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>

100: 복수의 셋탑박스 200: 네트워크100: multiple set-top boxes 200: network

300: VOD 서버 400: 복구 서버300: VOD Server 400: Recovery Server

110: 입출력 유닛 120: VOD 관리 어플리케이션110: input and output unit 120: VOD management application

130: 마이크로프로세서 140: 저장 매체130: microprocessor 140: storage medium

150: 네트워크 인터페이스 141: 부트 영역150: network interface 141: boot area

142: 커널 영역 143: 파일 시스템142: kernel area 143: file system

144: 응급 복구 시스템 145: 어플리케이션 영역144: Emergency Recovery System 145: Application Area

Claims (13)

최신 펌웨어를 저장하고 있는 복구 서버; 및 A recovery server storing the latest firmware; And 자체내 펌웨어의 손상시, 상기 복구 서버에 접속하여 상기 최신 펌웨어를 다운로드받아 상기 손상된 펌웨어를 복구하는 셋탑박스In case of damage to the internal firmware, the set-top box accesses the recovery server to download the latest firmware and recover the damaged firmware. 를 포함하는 자가 복구가 가능한 IPTV 시스템. Self-recoverable IPTV system comprising a. 제1항에 있어서, The method of claim 1, 상기 셋탑박스는, The set top box, 내부에서 지원되는 MAC(Media Access Control) 정보를 바탕으로 상기 복구 서버에 접속하여 네트워크 통신을 수행하는 네트워크 인터페이스;A network interface for accessing the recovery server and performing network communication based on internally supported MAC (Media Access Control) information; 상기 셋탑박스를 동작시키기 위한 펌웨어 뿐만 아니라 상기 펌웨어의 다운로드를 담당하는 프로그램이 저장되고, 상기 셋탑박스로 수신되는 데이터들을 저장하는 저장매체를 포함하며, And a storage medium for storing data received by the set-top box, as well as firmware for operating the set-top box, and storing a program for downloading the firmware. 상기 저장매체는, 상기 저장된 펌웨어에 문제 발생시 상기 펌웨어를 대신할 응급 펌웨어가 저장되고, 상기 복구 서버에 접속하기 위한 상기 MAC 정보가 저장된 것을 특징으로 하는 자가 복구가 가능한 IPTV 시스템. The storage medium is a self-recoverable IPTV system, characterized in that the emergency firmware to replace the firmware when the problem occurs in the stored firmware is stored, the MAC information for accessing the recovery server is stored. 제2항에 있어서, The method of claim 2, 상기 저장매체는, The storage medium, 상기 MAC 정보가 저장된 부트(Boot) 영역; 및 A boot area in which the MAC information is stored; And 각종 프로세서를 처리하는 데 필요한 드라이버 또는 프로그램이 압축되어 저장된 커널 이미지를 포함하는 커널(Kernel) 영역Kernel area that contains the compressed and stored kernel image for drivers or programs needed to process various processors 을 포함하는 자가 복구가 가능한 IPTV 시스템.Self-recoverable IPTV system comprising a. 제2항에 있어서, The method of claim 2, 상기 셋탑박스는, The set top box, 미리 다운로드한 펌웨어에 대한 기존 체크섬 값과, 상기 복구 서버를 통해 다운로드할 펌웨어에 대한 체크섬 값을 서로 비교하여, 상기 두 체크섬 값이 다른 경우에 상기 복구 서버에서 제공하는 펌웨어를 다운로드하는 것을 특징으로 하는 자가 복구가 가능한 IPTV 시스템.Comparing the existing checksum value of the previously downloaded firmware with the checksum value of the firmware to be downloaded through the recovery server, and downloading the firmware provided by the recovery server when the two checksum values are different. Self-healing IPTV system. 제1항에 있어서, The method of claim 1, 상기 저장매체는 플래쉬 메모리인 것을 특징으로 하는 자가 복구가 가능한 IPTV 시스템. The storage medium is a self-recoverable IPTV system, characterized in that the flash memory. 네트워크를 통해 복구 서버로 접속 가능하게 하는 MAC 정보가 저장된 부트(Boot) 영역; A boot area that stores MAC information that enables access to a recovery server over a network; 각종 프로세서를 처리하는데 필요한 드라이버 또는 프로그램이 압축되어 저장된 커널 이미지를 포함하는 커널(Kernel) 영역; 및 A kernel region including a kernel image in which a driver or a program required to process various processors is compressed and stored; And 상기 부트 영역 및 상기 커널 영역을 포함한 펌웨어에 문제 발생시 이를 복구하기 위한 응급 펌웨어가 저장된 응급 복구 시스템Emergency recovery system in which emergency firmware is stored to recover when a problem occurs in the firmware including the boot area and the kernel area. 을 포함하는 셋탑박스.Set top box comprising a. 제6항에 있어서, The method of claim 6, 상기 응급 복구 시스템은, The emergency recovery system, 상기 부트 영역에 저장된 MAC 정보가 손상되거나 상기 복구 서버로 접속이 불가능한 경우 동작하는 것을 특징으로 하는 셋탑박스.Set top box, characterized in that when the MAC information stored in the boot area is damaged or unable to access the recovery server. (a) 셋탑박스에 전원을 인가한 후, 상기 셋탑박스내 부트/커널을 체크하여 펌웨어의 이상 유무를 확인하는 단계;(a) applying power to the set-top box and checking a boot / kernel in the set-top box to check whether there is an abnormal firmware; (b) 상기 펌웨어에 이상이 있으면 상기 부트 영역에 미리 저장된 MAC 정보를 이용하여 복구 서버에 접속하도록 시도하는 단계;(b) attempting to access a recovery server using MAC information stored in the boot area in advance if there is an error in the firmware; (c) 상기 복구 서버에 접속되면, 손상된 펌웨어를 대신할 해당 펌웨어를 전송받아 업데이트하는 단계; 및 (c) receiving and updating corresponding firmware to replace the damaged firmware when connected to the recovery server; And (d) 상기 복구 서버에 접속이 실패하면, 상기 셋탑박스내 저장된 응급 펌웨어를 다운로드하여 자가 복구하는 단계(d) if access to the recovery server fails, downloading the emergency firmware stored in the set-top box and recovering itself; 를 포함하는 IPTV 시스템을 이용한 자가 복구 방법.Self recovery method using an IPTV system comprising a. 제8항에 있어서, The method of claim 8, 상기 (c) 단계에서 해당 펌웨어를 업데이트하는 단계는, In the step (c) updating the firmware, (c-1) 상기 셋탑박스에 미리 다운로드받은 펌웨어의 체크섬 값과 상기 복구 서버로부터 다운로드할 펌웨어의 체크섬 값이 동일한지를 비교하는 단계;(c-1) comparing a checksum value of firmware previously downloaded to the set-top box with a checksum value of firmware to be downloaded from the recovery server; (c-2) 상기 비교한 결과, 상기 셋탑박스에 미리 다운로드받은 펌웨어의 체크섬 값과 상기 복구 서버로부터 다운로드할 펌웨어의 체크섬 값이 다른 경우, 상기 복구 서버에 자동 업데이트를 요청하는 단계; 및 (c-2) if the checksum value of the firmware previously downloaded to the set-top box is different from the checksum value of the firmware to be downloaded from the recovery server, requesting an automatic update from the recovery server; And (c-3) 상기 복구 서버로부터 해당 펌웨어를 수신하여 업데이트하는 단계(c-3) receiving and updating the firmware from the recovery server 를 포함하는 IPTV 시스템을 이용한 자가 복구 방법. Self recovery method using an IPTV system comprising a. 제9항에 있어서, The method of claim 9, (c-4) 상기 비교한 결과, 상기 셋탑박스에 미리 다운로드받은 펌웨어의 체크섬 값과 상기 복구 서버로부터 다운로드할 펌웨어의 체크섬 값이 동일한 경우, 상기 셋탑박스에 미리 다운로드받은 펌웨어를 적용하여 정상 부트 과정을 수행하는 단계(c-4) As a result of the comparison, if the checksum value of the firmware previously downloaded to the set-top box and the checksum value of the firmware to be downloaded from the recovery server are the same, the boot process is normally applied by applying the firmware previously downloaded to the set-top box. Steps to perform 를 추가로 포함하는 IPTV 시스템을 이용한 자가 복구 방법. Self-recovery method using an IPTV system further comprising. 제8항에 있어서, The method of claim 8, 상기 (b) 단계에서 상기 복구 서버에 접속하도록 시도하는 단계는, Attempting to access the recovery server in the step (b), 상기 부트 영역에 미리 저장된 MAC 정보를 이용하여 지정된 디폴트 url 정보가 있는지를 체크하는 단계;Checking whether there is designated default url information using MAC information stored in the boot area in advance; 상기 체크 결과, 상기 디폴트 url 정보가 있으면 이를 통해 상기 복구 서버에 접속하고, 상기 디폴트 url 정보가 없으면 다음으로 지정된 url 정보가 있는지를 검색하는 단계; 및 If the default url information is found as a result of the check, accessing the recovery server through the search; if the default url information does not exist, searching for next designated url information; And 상기 다음으로 지정된 url 정보가 있으면 상기 복구 서버에 접속하는 단계Accessing the recovery server if the next designated url information exists 를 포함하는 IPTV 시스템을 이용한 자가 복구 방법. Self recovery method using an IPTV system comprising a. 제8항에 있어서, The method of claim 8, 상기 (d) 단계를 거친 후, 상기 복구 서버에 접속하여 상기 복구된 응급 펌웨어를 상기 복구 서버에서 제공되는 최신 펌웨어로 갱신하는 단계After the step (d), accessing the recovery server to update the recovered emergency firmware with the latest firmware provided by the recovery server; 를 추가로 포함할 수 있는 IPTV 시스템을 이용한 자가 복구 방법.Self-recovery method using an IPTV system that can further include. 제12항에 있어서, The method of claim 12, 상기 응급 펌웨어의 버전을 체크함에 따라 업데이트를 하는 것을 특징으로 하는 IPTV 시스템을 이용한 자가 복구 방법.Self-recovery method using an IPTV system, characterized in that for updating according to the version of the emergency firmware.
KR1020070106573A 2007-10-23 2007-10-23 Internet protocol television system and method for self-recovering using the same KR20090041060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070106573A KR20090041060A (en) 2007-10-23 2007-10-23 Internet protocol television system and method for self-recovering using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070106573A KR20090041060A (en) 2007-10-23 2007-10-23 Internet protocol television system and method for self-recovering using the same

Publications (1)

Publication Number Publication Date
KR20090041060A true KR20090041060A (en) 2009-04-28

Family

ID=40764252

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070106573A KR20090041060A (en) 2007-10-23 2007-10-23 Internet protocol television system and method for self-recovering using the same

Country Status (1)

Country Link
KR (1) KR20090041060A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170006747A (en) * 2015-07-09 2017-01-18 한화테크윈 주식회사 Apparatus and method for controlling network camera
KR101947487B1 (en) * 2018-04-12 2019-05-02 주식회사 케이디티 monitoring control device for automatic data recovery
KR20190109979A (en) * 2018-03-19 2019-09-27 삼성전자주식회사 Electronic device and method for controling update thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170006747A (en) * 2015-07-09 2017-01-18 한화테크윈 주식회사 Apparatus and method for controlling network camera
KR20190109979A (en) * 2018-03-19 2019-09-27 삼성전자주식회사 Electronic device and method for controling update thereof
KR101947487B1 (en) * 2018-04-12 2019-05-02 주식회사 케이디티 monitoring control device for automatic data recovery

Similar Documents

Publication Publication Date Title
US7809836B2 (en) System and method for automating bios firmware image recovery using a non-host processor and platform policy to select a donor system
US7552217B2 (en) System and method for Automatic firmware image recovery for server management operational code
US7664834B2 (en) Distributed operating system management
JP4079288B2 (en) Method for automatically upgrading software via network, system thereof and storage medium thereof
US7558867B2 (en) Automatic firmware upgrade for a thin client using one or more FTP servers
US20090010610A1 (en) System and method of recording media content
US20110173599A1 (en) Home network system, gateway device, and firmware update method
US8504814B2 (en) Resiliency against field-updated security elements
US20110119434A1 (en) System And Method For Safely Updating Thin Client Operating System Over A Network
US6895463B2 (en) Method and apparatus for efficiently running an execution image using volatile and non-volatile memory
US20120271934A1 (en) Storage system and data management method in storage system
KR20090041060A (en) Internet protocol television system and method for self-recovering using the same
JP2005531846A (en) Software download to receiver
US20120151005A1 (en) Image file download method
KR20090017307A (en) System and apparatus for automatically updating firmware and method for the same
US7617502B2 (en) Managing peripheral device drivers
KR20000059522A (en) Control Method for Video On Demand Client&#39;s Movie List
CA3142504C (en) Techniques for file versioning to protect against file corruption
JP2005078356A (en) Information processor
TWI543599B (en) Video set-top-box and application server
KR100640436B1 (en) An indoor receiver having a dual flash memory and an operating system update method
KR101795258B1 (en) Snapshot boot in cloud network
TWI282494B (en) Method to recover the image file in the embedded-system type electronic device and embedded-system type electronic device
CN116048715A (en) High-availability file management system and method based on BeeGFS and load balancing
KR101456389B1 (en) Server, System and Method for Providing Game Subsidiary Program

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application