KR100640436B1 - An indoor receiver having a dual flash memory and an operating system update method - Google Patents
An indoor receiver having a dual flash memory and an operating system update method Download PDFInfo
- Publication number
- KR100640436B1 KR100640436B1 KR1019990028660A KR19990028660A KR100640436B1 KR 100640436 B1 KR100640436 B1 KR 100640436B1 KR 1019990028660 A KR1019990028660 A KR 1019990028660A KR 19990028660 A KR19990028660 A KR 19990028660A KR 100640436 B1 KR100640436 B1 KR 100640436B1
- Authority
- KR
- South Korea
- Prior art keywords
- operating system
- flash memory
- stored
- crc
- information
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4435—Memory management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/04—Diagnosis, testing or measuring for television systems or their details for receivers
- H04N17/045—Self-contained testing apparatus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/426—Internal components of the client ; Characteristics thereof
- H04N21/42692—Internal components of the client ; Characteristics thereof for reading from or writing on a volatile storage medium, e.g. Random Access Memory [RAM]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Stored Programmes (AREA)
Abstract
본 발명은 셋 탑 박스(Set Top Box)와 같은 옥내 수신장치에 관한 것으로, 특히 옥내 수신장치의 운용체제 수정시 발생할 수 있는 장애에 대처하도록 플래쉬 메모리를 이중화하고, 이중화된 플래쉬 메모리를 이용하여 운용체제를 자유로이 수정하기 위한 장치 및 방법에 관한 것이다. 본 발명은 부트 스트랩 코드가 저장되는 메모리와, 운용체제가 저장되는 복수의 플래쉬 메모리들과, 상기 부트 스트랩 코드에 의해 초기화되며 운용체제 수정 요구시 어느 하나의 플래쉬 메모리에 저장된 운용체제를 상기 서버로부터 다운로드된 운용체제로 수정하고, 수정중 장애 발생하면 나머지 플래쉬 메모리에 저장된 운용체제로 부팅을 수행하는 제어부로 구성하여, 전원 장애시에도 구 버젼의 운용체제를 이용하여 시스템을 동작시킬 수 있는 장점이 있다.The present invention relates to an indoor receiver such as a set top box, and in particular, to duplicate the flash memory to cope with the problems that may occur when modifying the operating system of the indoor receiver, and to operate using the redundant flash memory An apparatus and method for freely modifying the regime are provided. The present invention provides a memory in which a bootstrap code is stored, a plurality of flash memories in which an operating system is stored, and an operating system initialized by the bootstrap code and stored in any one flash memory upon request for modification of an operating system from the server. Modified to the downloaded operating system, and if a failure occurs during the modification, the controller is configured to boot to the operating system stored in the rest of the flash memory, the advantage of operating the system using the older version of the operating system even in the event of power failure. have.
플래쉬 메모리, 셋 탑 박스, 이중화Flash Memory, Set Top Box, Redundancy
Description
도 1은 옥내 수신장치의 하나인 셋 탑 박스(SET TOP BOX)의 일반적인 구성도.1 is a general configuration diagram of a set top box (SET TOP BOX) which is one of the indoor receiver.
도 2는 본 발명의 실시예에 따른 듀얼 플래쉬 메모리를 구비하는 셋 탑 박스의 개략적인 구성도.2 is a schematic structural diagram of a set top box having dual flash memories according to an embodiment of the present invention;
도 3은 본 발명의 실시예에 따른 플래쉬 메모리(40,50)의 수정 처리흐름도.3 is a flowchart of modification processing of
도 4는 본 발명의 실시예에 따른 셋 탑 박스에서의 부팅 처리 흐름도.4 is a flowchart illustrating a boot process in a set top box according to an exemplary embodiment of the present invention.
본 발명은 셋 탑 박스(Set Top Box)와 같은 옥내 수신장치에 관한 것으로, 특히 옥내 수신장치의 운용체제 수정시 발생할 수 있는 장애에 대처하도록 플래쉬 메모리를 이중화하고, 이중화된 플래쉬 메모리를 이용하여 운용체제를 자유로이 수정하기 위한 방법에 관한 것이다.The present invention relates to an indoor receiver such as a set top box, and in particular, to duplicate the flash memory to cope with the problems that may occur when modifying the operating system of the indoor receiver, and to operate using the redundant flash memory It is about a method for freely modifying the system.
VOD(Video On Demand) 시스템은 서버와 네트워크, 셋 탑 박스(혹은 옥내 수신장치)를 3요소로 하여 구성된다. 상기 서버는 영상정보와 이것을 제어하는 응용 소프트웨어를 일괄적으로 저장하여 최종 사용자의 요구에 따라 선택적으로 최종 사용자기기(즉, 옥내 수신장치)로 전송하는 역할을 수행한다. 네트워크는 영상정보의보급을 위해 수 Mbps단위의 정보를 전달할 수 있는 광대역 네트워크가 사용된다. 한편 옥내 수신장치인 셋 탑 박스는 최종 사용자 옥내에 설치되어 광대역 전송로의 종착역 역할을 수행하면서, 상기 서버의 디지털정보를 해독하여 TV 등에 표시하거나 최종 사용자의 요구를 서버에 전하는 역할을 수행한다.The Video On Demand (VOD) system consists of three elements: a server, a network, and a set-top box (or indoor receiver). The server collectively stores the image information and the application software for controlling the same, and selectively transmits the image information to the end user device (ie, indoor reception device) according to the end user's request. As a network, a broadband network capable of delivering information of several Mbps is used for dissemination of video information. On the other hand, a set-top box, which is an indoor reception device, is installed indoors of an end user and serves as a destination of a broadband transmission path. The set-top box decodes digital information of the server and displays it on a TV or transmits an end user's request to the server.
상술한 VOD 시스템의 구성요소들중 옥내 수신장치인 셋 탑 박스에는 운영체제(Operating System)를 저장하기 메모리가 구비되는데, 새로운 운영체제를 용이하게 수용하기 위해서 플래쉬 메모리가 일반적으로 사용되고 있다. 그러나 일반적인 셋 탑 박스에서는 하나의 플래쉬 메모리만이 구비되기 때문에, 플래쉬 메모리에 저장된 프로그램 수정시 정전 혹은 전원 입력 케이블의 착탈 등의 이유로 시스템 동작이 정지되면 사용자는 더 이상 셋 탑 박스를 사용할 수 없게 된다.Among the components of the above-described VOD system, a set top box which is an indoor receiver includes a memory for storing an operating system, and a flash memory is generally used to easily accommodate a new operating system. However, since only one flash memory is provided in a typical set top box, the user can no longer use the set top box when the system operation is stopped due to power failure or detachment of the power input cable when the program stored in the flash memory is modified. .
따라서 본 발명의 목적은 플래쉬 메모리에 저장된 내용을 새로이 수정하는 경우에 발생할 수 있는 장애에 구애됨이 없이 정상적으로 시스템을 동작시킬 수 있도록 플래쉬 메모리를 이중화한 옥내 수신장치를 제공함에 있다.Accordingly, it is an object of the present invention to provide an indoor receiving apparatus in which the flash memory is duplicated so that the system can be normally operated without regard to the obstacles that may occur when the contents stored in the flash memory are newly modified.
본 발명의 또 다른 목적은 듀얼 플래쉬 메모리를 가지는 옥내 수신장치에 있 어서 임의의 플래쉬 메모리 수정중에 전원장애가 발생하더라도 정상적으로 시스템을 동작시킬 수 있는 운용체제 수정방법을 제공함에 있다.It is still another object of the present invention to provide an operating system modification method capable of operating a system normally even when a power failure occurs during an arbitrary flash memory modification in an indoor receiver having a dual flash memory.
상기 목적을 달성하기 위한 본 발명은 듀얼 플래쉬 메모리를 구비하며 물리적 전송매체를 통해 서버와 접속되는 옥내 수신장치의 운용체제 수정방법에 있어서,In order to achieve the above object, the present invention provides a method of modifying an operating system of an indoor receiving apparatus having a dual flash memory and connected to a server through a physical transmission medium.
구비된 상기 플래쉬 메모리들중 어느 하나에 새로운 버젼의 운용체제를 상기 서버로부터 다운로드 받아 저장하는 과정과,Downloading and storing a new version of the operating system from any one of the provided flash memories;
새로운 버젼의 운용체제 저장중 장애가 발생하면 상기 플래쉬 메모리들중 잔여 플래쉬 메모리에 저장된 운용체제를 이용하여 시스템을 부팅시키는 과정으로 이루어짐을 특징으로 한다.
If a failure occurs during the storage of a new version of the operating system is characterized in that the process of booting the system using the operating system stored in the remaining flash memory of the flash memory.
이하 첨부한 도면을 참조하여 본 발명의 실시예에 따른 듀얼 플래쉬 메모리를 구비한 옥내 수신장치의 구성과 동작을 상세히 설명하기로 한다.Hereinafter, a configuration and an operation of an indoor receiver having a dual flash memory according to an exemplary embodiment of the present invention will be described in detail with reference to the accompanying drawings.
우선 도 1은 옥내 수신장치의 하나인 셋 탑 박스(SET TOP BOX)의 일반적인 구성을 도시한 것이며, 도 2는 본 발명의 실시예에 따른 듀얼 플래쉬 메모리를 구비하는 셋 탑 박스의 개략적인 구성도를 도시한 것이다. 도 1과 도 2를 비교해 보면 도 1에서는 단일 플래쉬 메모리(12)를 구비하는데 반해, 도 2에서는 듀얼 플래쉬 메모리(40,50)가 구비되어 있다. 따라서 듀얼 플래쉬 메모리(40,50)가 이중화되어 있다는 것을 제외하고는 본 발명의 실시예에 따른 셋 탑 박스의 구성은 일반적 인 셋 탑 박스의 구성과 동일하다.First, FIG. 1 illustrates a general configuration of a set top box, which is one of indoor receivers, and FIG. 2 is a schematic diagram of a set top box having a dual flash memory according to an exemplary embodiment of the present invention. It is shown. 1 and 2, a
도 2를 참조하면, 우선 CPU(Central Processing Unit)(10)는 메모리에 저장된 제어 프로그램에 따라 셋 탑 박스의 전반적인 동작을 제어한다. 상기 메모리는 셋 탑 박스의 전반적인 동작을 제어하기 위한 제어프로그램과 초기화 프로그램(Boot Strap Code)이 저장된 롬과, 제어동작시 발생하는 데이터를 일시 저장하는 램으로 구성된다. 이하 상기 메모리를 램/롬(20)으로 표기하기로 한다. 플래쉬 메모리1,2(40,50)에는 서버로부터 다운로드되는 CPU(10) 제어 프로그램이 저장되는데, 본 발명의 실시예에서는 셋 탑 박스 초기 설치시에 동일 운영체제가 저장되는 것으로 가정하기로 한다. 사용자 인터페이스(18)는 리모콘 수신부와 키 입력부를 포괄하는 개념으로써 사용자의 키조작시 그에 따른 키데이터를 발생하여 CPU(10)로 출력한다. 네트워크 인터페이스부(22)는 전화라인 혹은 광 케이블과 같은 물리적 전송매체를 통해 네트워크와 접속되며, 네트워크와 엠펙 디코더(14) 사이에서 송수신신호를 인터페이싱한다. 참고적으로 도 2에 도시되어 있지는 않지만 본 발명의 실시예에 따른 셋 탑 박스 또한 도 1에 도시한 바와 같은 데이터 저장장치(24)와 엠펙 디코더(14) 및 비디오/오디오 출력부(16)를 포함한다.Referring to FIG. 2, first, the central processing unit (CPU) 10 controls the overall operation of the set top box according to a control program stored in a memory. The memory includes a ROM storing a control program and an initialization program (Boot Strap Code) for controlling the overall operation of the set top box, and a RAM temporarily storing data generated during the control operation. Hereinafter, the memory will be referred to as RAM /
이하 도 3과 도 4를 참조하여 플래쉬 메모리(40,50)에 신(新) 버젼의 운영체제를 라이트하여 운영체제를 수정하는 방법과, 운영체제 수정중에 전원 장애가 발생하더라도 정상적으로 셋 탑 박스를 동작시킬 수 있는 방법 및 수정된 운영체제에 따라 부팅이 완료되는 과정을 순차적으로 설명하기로 한다.Hereinafter, a method of modifying an operating system by writing a new version of the operating system to the
도 3은 본 발명의 실시예에 따른 플래쉬 메모리(40,50)의 수정 처리흐름도를 도시한 것이다. 도 3을 참조하면, 우선 사용자가 사용자 인터페이스(18)를 통해 신버젼의 운영체제 요구를 하면 CPU(10)는 그에 응답하여 60단계에서 서버로 운영체제를 요구한다. 이러한 요구에 응답하여 서버로부터 신 버젼의 운용체제가 물리적 전송매체를 통해 전송되면 CPU(10)는 62단계로 진행하여 메모리인 램(20)에 전송요구한 신 버젼의 운용체제를 다운로드 받는다. 그리고 CPU(10)는 64단계로 진행하여 비사용중인 플래쉬 메모리를 선택하고 선택된 플래쉬 메모리에 다운로드된 신 버젼의 운영체제를 라이트함으로써 운영체제를 새로이 수정한다. 이때 상기 비사용중인 플래쉬 메모리라함은 구(舊) 운용체제가 저장되어 있는 플래쉬 메모리를 지칭한다. 즉, 본 발명의 실시예에서는 초기 설치시에 두개의 플래쉬 메모리(40,50)에 동일 운용체제가 저장되어 있기 때문에 최초 수정시에는 둘중 하나를 선택할 수 있지만, 두번째 수정시에는 운용체제가 수정되어 있지 않은 플래쉬 메모리를 선택해야 한다. 이와 같이 비사용중인 플래쉬 메모리에 저장되어 있는 운용체제를 수정한 CPU(10)는 이후 66단계로 진행하여 수정된 플래쉬 메모리의 CRC(Cyclic Redundancy Checking)를 계산하여 플래쉬 메모리에 저장하고, 운용체제 이미지와 함께 다운로드된 버젼정보를 해당 플래쉬 메모리에 저장한후 본 발명의 실시예에 따른 신 버젼의 운용체제 수정작업을 종료한다.3 shows a modification flow chart of the
이에 따라 구비된 두개의 플래쉬 메모리(40,50)중 하나의 플래쉬 메모리에는 신 버젼의 운용체제가 저장되게 되는 것이며, 이후에 수행되는 운용체제 수정작업에서는 나머지 하나의 플래쉬 메모리에 새로운 버젼의 운용체제가 저장된다.Accordingly, one of the two flash memories (40, 50) provided in the flash memory to store the new version of the operating system, the subsequent operating system modification operation is performed in the other flash memory of the new version of the operating system Is stored.
도 4는 본 발명의 실시예에 따른 셋 탑 박스에서의 부팅 처리 흐름도를 도시 한 것이다. 이하 도 4를 참조하여 운용체제 수정중에 전원 장애가 발생하더라도 정상적으로 셋 탑 박스를 동작시킬 수 있는 방법 및 수정된 운영체제에 따라 부팅이 완료되는 과정을 설명하면, 우선 70단계에서 사용자로부터 부팅명령(파워 "온")이 있으면 CPU(10)는 초기화 프로그램에 따라 시스템 각 부(part)를 초기화시킨다. 그리고 74단계로 진행하여 플래쉬 메모리들(40,50)로부터 버젼 정보를 리드하고, 76단계로 진행하여 최신 버젼정보를 가진 플래쉬 메모리의 CRC를 계산한다. 만약 해당 플래쉬 메모리로부터 리드된 CRC값과 새로이 계산된 CRC 값이 일치하면, 정전 혹은 전원 입력 케이블의 착탈를 원인으로 하는 장애가 발생하지 않은 것이기 때문에 80단계로 진행하여 해당 플래쉬 메모리에 저장된 운영체제를 이용하여 일련의 부팅을 수행한다. 그러나 78단계의 검사결과 최신 버젼정보를 가진 플래쉬 메모리에 저장된 CRC값과 76단계에서 계산된 CRC값이 일치하지 않으면 전원장애로 인해 운용체제 수정시 오류가 발생한 것으로 인지하고 82단계로 진행한다. 82단계에서 CPU(10)는 다른 플래쉬 메모리, 즉 구 버젼의 운용체제를 저장하고 있는 플래쉬 메모리에 저장된 운용체제(OS)에 기초하여 부팅을 수행한다.4 is a flowchart illustrating a boot process in a set top box according to an exemplary embodiment of the present invention. Hereinafter, referring to FIG. 4, a description will be given of a method of operating a set-top box normally even when a power failure occurs while modifying an operating system, and a process of booting according to a modified operating system. ON "), the
따라서 본 발명은 신 버젼의 운용체제 수정중에 장애가 발생하였다 하더라도 구 버젼의 운용체제로 부팅이 수행될 수 있기 때문에, 사용자는 정상적으로 셋 탑 박스를 이용하여 VOD 서비스를 제공받을 수 있게 되는 것이다.Therefore, the present invention can be booted to the old version of the operating system even if a failure occurs during the modification of the operating system of the new version, so that the user can normally receive the VOD service using the set-top box.
상술한 바와 같이 본 발명은 옥내 수신장치인 셋 탑 박스에 듀얼 플래쉬 메 모리를 구비시킴으로써, 신 버젼의 운용체제 수정시 혹은 제어 프로그램 수정시의 전원장애로 인한 시스템의 동작불능상태를 미연에 방지할 수 있는 장점이 있고, 그로 인한 시스템의 신뢰도를 향상시킬 수 있는 장점도 있다.As described above, the present invention provides dual flash memory in the set-top box, which is an indoor receiver, to prevent an inoperable state of the system due to a power failure when a new version of the operating system is modified or a control program is modified. There is an advantage in that it can increase the reliability of the system.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019990028660A KR100640436B1 (en) | 1999-07-15 | 1999-07-15 | An indoor receiver having a dual flash memory and an operating system update method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019990028660A KR100640436B1 (en) | 1999-07-15 | 1999-07-15 | An indoor receiver having a dual flash memory and an operating system update method |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20010009991A KR20010009991A (en) | 2001-02-05 |
KR100640436B1 true KR100640436B1 (en) | 2006-10-31 |
Family
ID=19602003
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019990028660A KR100640436B1 (en) | 1999-07-15 | 1999-07-15 | An indoor receiver having a dual flash memory and an operating system update method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100640436B1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100532413B1 (en) | 2002-12-02 | 2005-12-02 | 삼성전자주식회사 | apparatus and method for protecting flash memory |
KR100825032B1 (en) * | 2006-09-26 | 2008-04-24 | 주식회사 대우일렉트로닉스 | Method for software update of a digital television |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5619250A (en) * | 1995-02-19 | 1997-04-08 | Microware Systems Corporation | Operating system for interactive television system set top box utilizing dynamic system upgrades |
KR19980041592A (en) * | 1996-11-30 | 1998-08-17 | 김광호 | Programming Method for Uninterrupted Function of Data Communication System |
KR19990040500A (en) * | 1997-11-18 | 1999-06-05 | 최상호 | Handfree combined car audio |
-
1999
- 1999-07-15 KR KR1019990028660A patent/KR100640436B1/en not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5619250A (en) * | 1995-02-19 | 1997-04-08 | Microware Systems Corporation | Operating system for interactive television system set top box utilizing dynamic system upgrades |
KR19980041592A (en) * | 1996-11-30 | 1998-08-17 | 김광호 | Programming Method for Uninterrupted Function of Data Communication System |
KR19990040500A (en) * | 1997-11-18 | 1999-06-05 | 최상호 | Handfree combined car audio |
Also Published As
Publication number | Publication date |
---|---|
KR20010009991A (en) | 2001-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6681390B2 (en) | Upgrade of a program | |
US6412082B1 (en) | Method and apparatus for selecting computer programs based on an error detection mechanism | |
US7072950B2 (en) | Method and apparatus for operating system and application selection | |
KR100440950B1 (en) | Method for upgrading software in network environment and network device thereof | |
US5740178A (en) | Software for controlling a reliable backup memory | |
RU2346407C1 (en) | Method and device for updating digital television receiver software | |
US7278002B2 (en) | Method and system for reducing storage requirements for program code in a communication device | |
US7552217B2 (en) | System and method for Automatic firmware image recovery for server management operational code | |
CN101770372B (en) | Firmware update system, method and building method of firmware of firmware update system | |
US20050289534A1 (en) | Method for upgrading software version of mobile terminal using integrated difference files | |
CA2307908A1 (en) | A method and apparatus for downloading software into an embedded-system | |
KR19990078201A (en) | Receiver and program updating method | |
JPH10171664A (en) | Software updating method and video receiver | |
US7120909B1 (en) | System for changing a program stored in a terminal device and a terminal device used in the system | |
JP2007528534A (en) | Using a loader to notify system software update services | |
US8799433B2 (en) | Method and apparatus for upgrading software of digital broadcasting receiver | |
US6895463B2 (en) | Method and apparatus for efficiently running an execution image using volatile and non-volatile memory | |
EP1617688A1 (en) | Upgrading programs in a wireless communication system | |
KR100640436B1 (en) | An indoor receiver having a dual flash memory and an operating system update method | |
KR19980079533A (en) | Digital broadcast receiver and its downloading method | |
KR100658865B1 (en) | Device and method for program upgrade of receiver | |
US20090276655A1 (en) | Method for detecting errors during initialization of an electronic appliance and apparatus therefor | |
JP2005531846A (en) | Software download to receiver | |
US7418473B2 (en) | Server client system for automatically setting port number | |
US20020178242A1 (en) | System, method, server, computer and computer program for activating a computer |
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 |