KR100656522B1 - Contorl system and method for service between different module using general purpose input output - Google Patents
Contorl system and method for service between different module using general purpose input output Download PDFInfo
- Publication number
- KR100656522B1 KR100656522B1 KR1020050005144A KR20050005144A KR100656522B1 KR 100656522 B1 KR100656522 B1 KR 100656522B1 KR 1020050005144 A KR1020050005144 A KR 1020050005144A KR 20050005144 A KR20050005144 A KR 20050005144A KR 100656522 B1 KR100656522 B1 KR 100656522B1
- Authority
- KR
- South Korea
- Prior art keywords
- module
- state
- service
- power
- state 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
-
- 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/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47214—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for content reservation or setting reminders; for requesting event notification, e.g. of sport results or stock market
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Stored Programmes (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
본 발명은 서로 다른 독립적인 서비스를 제공하는 모듈간 범용 입출력 포트(GPIO)를 이용하여 서비스 상태를 제어하는 범용 입출력 포트를 이용한 이기종 모듈간 서비스 제어 시스템 및 그 방법에 관한 것으로, 본 발명에 따르면, 사용자의 입력신호에 따라 발생된 전원제어신호를 제어하는 제1 모듈과, 부팅시 부팅상태정보와 상기 제1 모듈로부터 전송되는 전원제어신호에 따라 변경되는 전원상태정보를 상기 제1 모듈로 전송하는 제2 모듈로 구성되며, 상기 제1 모듈은 상기 제2 모듈로부터 전송되는 부팅상태정보와 전원상태정보를 감지하여 전원램프의 출력상태를 제어하게 된다.The present invention relates to a heterogeneous service control system and a method between heterogeneous modules using a general-purpose I / O port for controlling a service state by using a GPIO between modules providing different independent services. According to the present invention, A first module for controlling a power control signal generated according to a user's input signal, and booting state information during booting and power state information changed according to a power control signal transmitted from the first module to the first module Comprising a second module, the first module detects booting state information and power state information transmitted from the second module to control the output state of the power lamp.
범용 입출력 포트, 멀티미디어 서비스, 위성방송 서비스, 셋톱박스Universal I / O Port, Multimedia Service, Satellite Broadcasting Service, Set Top Box
Description
도 1은 멀티미디어 서비스와 위성방송 서비스를 제공하는 셋톱박스의 일반적인 구성을 나타내는 도면.1 is a view showing a general configuration of a set-top box for providing a multimedia service and satellite broadcasting service.
도 2는 도 1의 모듈간 범용 입출력 포트(GPIO)의 연결 상태를 나타내는 도면.FIG. 2 is a diagram illustrating a connection state of the intermodule universal input / output port (GPIO) of FIG. 1.
도 3은 본 발명에 따른 셋톱박스의 서비스 모듈간 범용 입출력 포트(GPIO)의 연결 상태를 나타내는 도면.3 is a view showing a connection state of a universal input output port (GPIO) between service modules of the set-top box according to the present invention.
도 4는 멀티미디어 서비스를 제공하는 제1 모듈이 서비스 모드 상태이고 위성방송 서비스를 제공하는 제2 모듈이 서비스 상태인 경우의 타이밍도.4 is a timing diagram when a first module providing a multimedia service is in a service mode and a second module providing a satellite broadcasting service is in a service state.
도 5는 멀티미디어 서비스를 제공하는 제1 모듈이 서비스 모드 상태이고 위성방송 서비스를 제공하는 제2 모듈이 대기 상태인 경우의 타이밍도.5 is a timing diagram when a first module providing a multimedia service is in a service mode and a second module providing a satellite broadcasting service is in a standby state.
도 6은 위성방송 서비스를 제공하는 제2 모듈이 서비스 모드 상태이고 제2 모듈이 액티브 상태인 경우의 타이밍도.FIG. 6 is a timing diagram when a second module providing satellite broadcasting service is in a service mode and the second module is in an active state.
도 7은 멀티미디어 서비스를 제공하는 제1 모듈이 서비스 모드 상태이고 위 성방송 서비스를 제공하는 제2 모듈이 리셋되어 재부팅되는 경우의 타이밍도.7 is a timing diagram when the first module providing the multimedia service is in the service mode and the second module providing the satellite broadcasting service is reset and rebooted.
도 8은 위성방송 서비스를 제공하는 제2 모듈이 서비스 모드 상태에서 제2 모듈이 리셋되어 재부팅되는 경우의 타이밍도.8 is a timing diagram when a second module providing satellite broadcasting service is reset and rebooted in a service mode state.
도 9는 모듈간 서비스 모드 전환시의 타이밍도.9 is a timing diagram at the time of switching between modules.
도 10은 제2 모듈이 대기상태에서 예약 켜짐이 발생한 경우의 타이밍도.FIG. 10 is a timing diagram when a reservation on occurs in a standby state of the second module. FIG.
도 11은 제1 모듈(10)의 서비스 모드에서 제2 모듈(20)의 예약 켜짐이 발생한 경우의 타이밍도.FIG. 11 is a timing diagram when reservation on of the
도 12는 도 11에서 제2 모듈(20)의 예약 켜짐을 취소한 경우의 타이밍도.FIG. 12 is a timing diagram when the reservation on of the
* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings
10 : 제1 모듈 20 : 제2 모듈10: first module 20: second module
본 발명은 범용 입출력 포트를 이용한 이기종 모듈간 서비스 제어 시스템 및 그 방법에 관한 것으로, 보다 상세하게는 서로 다른 독립적인 서비스를 제공하는 모듈간 범용 입출력 포트(GPIO)를 이용하여 서비스 상태를 제어하는 시스템 및 그 방법에 관한 것이다.The present invention relates to a heterogeneous inter-module service control system and a method using a general-purpose input and output port, and more particularly, to a system for controlling a service state using a universal inter-module input / output port (GPIO) providing different independent services. And to a method thereof.
일반적으로, 멀티미디어 서비스와 위성방송 서비스는 각각 독립적인 하드웨 어 모듈이 통합된 셋톱박스(SetTopBox)로부터 제공되어진다. 멀티미디어 서비스는 초고속 인터넷 통신망을 이용하여 주문형 비디오 서비스(Viedo On Demand : VOD), 방송 채널, 홈뷰어(Home Monitoring), 문자메시지 보내기, 생활정보 검색, 긴급호출 메시지 보내기 등의 서비스를 제공하며, 위성방송 서비스는 디지털 신호를 사용한 다양한 방송 서비스를 제공한다.In general, multimedia services and satellite broadcasting services are provided from a settop box in which independent hardware modules are integrated. Multimedia service provides services such as video on demand (VOD), broadcasting channel, home monitoring, text message, life information search, emergency call message, etc. by using high speed internet communication network. The broadcast service provides various broadcast services using digital signals.
도 1은 멀티미디어 서비스와 위성방송 서비스를 제공하는 셋톱박스의 일반적인 구성을 나타내는 도면이고, 도 2는 도 1의 모듈간 범용 입출력 포트(GPIO)의 연결 상태를 나타내는 도면이다.FIG. 1 is a diagram illustrating a general configuration of a set-top box providing a multimedia service and a satellite broadcasting service, and FIG. 2 is a diagram illustrating a connection state of a universal input / output port (GPIO) between modules of FIG. 1.
도 1에 도시된 바와 같이, 리모콘(1)으로부터 발생되어지는 적외선(Infrared Ray: IR)신호나 셋톱박스의 전면부(Front Panel)에 있는 버튼으로부터 발생되어지는 신호는 셋톱박스내의 마이컴(2)으로 전달되어 코드값으로 변경되어진다. 이와 같이 변경된 코드값은 유에이알티(UART)를 통해 멀티미디어 서비스를 제공하는 주 모듈인 제1 모듈(3)로 항상 입력되어지며, 위성방송 서비스를 제공하는 부 모듈인 제2 모듈(4)로는 서비스 상태인 경우에만 입력되어진다.As shown in FIG. 1, an infrared ray (IR) signal generated from the
상기 서비스 등은 발명을 설명하기 위한 실시예이며 각각의 모듈별 서비스가 달라질 수 있다.The above service is an embodiment for explaining the invention, and the service for each module may vary.
특히, 리모콘이나 셋톱박스에 있는 전원 버튼의 입력 신호에 따라 동작하는 전원 LED는 상기 제1 모듈(3)과 제2 모듈(4)에 공용으로 사용되어진다. 이에 따라, 상기 전원 LED를 각 모듈에서 개별적으로 제어할 수 없으므로 부모듈인 제2 모듈(4)에서는 직접적으로 전원 LED를 제어하지 못하고 주모듈인 상기 제1 모듈(3)에서 만 제어를 하게 된다.In particular, a power LED operating according to an input signal of a power button on a remote controller or a set top box is commonly used for the
이에 따라, 상기 제2 모듈(4)이 대기 상태(standby state)에 진입한 경우에도 전원 LED의 상태는 액티브 상태(Active state)를 나타내는 녹색을 유지하게 된다는 문제점이 발생되어진다.Accordingly, even when the
이와 같은 문제점을 해결하기 위하여 도 2에 도시된 바와 같이, 상기 제1 모듈(3)과 제2 모듈(4)간 범용 입출력 포트인 GPIO 포트 라인을 연결하여 상기 제1 모듈(3)로부터 제2 모듈(4)로 전원제어신호인 PWR_CTRL 신호를 전달함으로써 상기 제2 모듈(4)의 전원이 제어될 수 있도록 하였다. 이 때 상기 제2 모듈(4)은 유에이알티(UART)를 통해 입력되어지는 전원제어신호는 처리하지 않고 무시하게 된다.In order to solve this problem, as shown in FIG. 2, the GPIO port line, which is a general-purpose input / output port between the
즉, 상기 제1 모듈(3)은 상기 제2 모듈(4)이 서비스 모드 상태인 경우 입력받는 전원키 값을 받아 PWR_CTRL GPIO를 통하여 상기 제2 모듈(4)로 전원제어신호인 PWR_CTRL 신호(Low:서비스상태, High:대기상태)를 전달하고 전원 LED을 제어하게 된다.That is, when the
이에 따라, 상기 제2 모듈(4)은 상기 제1 모듈(3)로부터 전달되는 PWR_CTRL GPIO의 상태값을 읽어 그 값이 로우(Low)일 경우에는 서비스 상태(Active state)가 되고 하이(High)일 경우에는 대기 상태(Standby state)로 제어된다.Accordingly, the
그러나, 상기 제2 모듈(4)은 상기 제1 모듈(3)로부터 전달되는 PWR_CNTL GPIO 상태값에 의해서만 동작되기 때문에 상기 제2 모듈(4)에 일정 시간 후 자동으로 액티브 상태가 되어 방송을 내보내는 예약 켜짐 기능이 설정되어 있는 경우 제2 모듈(4)이 대기 상태(Standby state)에 있거나 상기 제1 모듈(3)이 서비스 상태에 있을시 예약 시간이 되어도 예약 켜짐이 작동되지 않게 된다. 즉, 상기 제2 모듈(4)이 예약 켜짐으로 동작하여 자동으로 액티브 상태(Active state)로 변경이 되더라도 PWR_CNTL GPIO 상태값이 대기 상태이면 제2 모듈(4)은 이를 감지하고 곧바로 다시 대기 상태(Standby state)로 진입하게 되는 문제점이 있었다.However, since the
상기와 같은 문제점을 해결하기 위한 본 발명의 목적은, 서로 다른 독립적인 서비스를 제공하는 모듈간 범용 입출력 포트(GPIO)를 이용하여 서비스 상태를 제어함으로써, 각 모듈의 상태에 따라 주 모듈의 제어를 받는 부 모듈의 예약 켜짐 동작이 정상적으로 이루어지고, 전원 LED의 출력 상태도 정상적으로 출력될 수 있도록 한 범용 입출력 포트를 이용한 이기종 모듈간 서비스 제어 시스템 및 그 방법을 제공함에 있다.
SUMMARY OF THE INVENTION An object of the present invention for solving the above problems is to control the service state by using the inter-module general-purpose input / output port (GPIO) providing different independent services, thereby controlling the control of the main module according to the state of each module The present invention provides a service control system between heterogeneous modules using a general-purpose input / output port and a method thereof so that a reserved on operation of a receiving sub-module is normally performed and an output state of a power LED is normally output.
상기한 목적을 달성하기 위한 본 발명에 따른 범용 입출력 포트를 이용한 이기종 모듈간 서비스 제어 시스템의 일 측면에 따르면, 사용자의 입력신호에 따라 발생된 전원제어신호를 제어하는 제1 모듈과, 부팅시 부팅상태정보와 상기 제1 모듈로부터 전송되는 전원제어신호에 따라 변경되는 전원상태정보를 상기 제1 모듈로 전송하는 제2 모듈로 구성되며, 상기 제1 모듈은 상기 제2 모듈로부터 전송되는 부팅상태정보와 전원상태정보를 감지하여 전원램프의 출력상태를 제어하게 된다.According to an aspect of a heterogeneous inter-module service control system using a general-purpose input / output port according to the present invention for achieving the above object, the first module for controlling the power control signal generated according to the user's input signal, and booting at boot And a second module that transmits power state information changed according to state information and a power control signal transmitted from the first module to the first module, wherein the first module is boot state information transmitted from the second module. It detects power status information and controls output status of power lamp.
상기 제1 모듈이 서비스 상태이고 상기 제2 모듈이 액티브 상태에서 상기 제1 모듈과 제2 모듈이 동시에 부팅이 되는 경우, 상기 제2 모듈은 상기 전원상태정보를 액티브 상태에서 대기 상태로 변경하게 된다.When the first module is in a service state and the second module is in an active state and the first module and the second module are simultaneously booted, the second module changes the power state information from the active state to the standby state. .
상기 제1 모듈이 서비스 상태이고 상기 제2 모듈이 대기 상태에서 상기 제1 모듈과 제2 모듈이 동시에 부팅이 되는 경우, 상기 제2 모듈은 상기 전원상태정보를 액티브 상태에서 대기 상태로 변경하게 된다.When the first module is in a service state and the first module and the second module are booted at the same time while the second module is in the standby state, the second module changes the power state information from the active state to the standby state. .
상기 제2 모듈이 서비스 상태이고 상기 제2 모듈이 액티브 상태에서 상기 제1 모듈과 제2 모듈이 동시에 부팅이 되는 경우, 상기 제2 모듈은 상기 전원상태정보를 대기 상태에서 액티브 상태로 변경하게 된다.When the second module is in a service state and the first module and the second module are simultaneously booted while the second module is in an active state, the second module changes the power state information from a standby state to an active state. .
상기 제1 모듈이 서비스 상태이고 상기 제2 모듈만 리셋되어 재부팅되는 경우, 상기 제2 모듈은 상기 전원상태정보를 액티브 상태에서 대기 상태로 변경하게 된다.When the first module is in a service state and only the second module is reset and rebooted, the second module changes the power state information from an active state to a standby state.
상기 제2 모듈이 서비스 상태에서 리셋되어 재부팅되는 경우, 상기 제2 모듈은 상기 전원상태정보를 대기상태에서 액티브 상태로 변경하게 된다.When the second module is reset in the service state and rebooted, the second module changes the power state information from the standby state to the active state.
상기 제1 모듈은 상기 제2 모듈의 전원상태정보에 따라 서비스 모듈을 전환하게 된다.The first module switches the service module according to the power state information of the second module.
상기 제1 모듈은 상기 제2 모듈의 전원상태정보가 액티브 상태인 경우 서비스 모듈을 상기 제2 모듈로 전환하게 된다.The first module converts a service module to the second module when the power state information of the second module is in an active state.
상기 제1 모듈과 제2 모듈이 대기상태인 경우, 상기 제1 모듈은 전원램프를 제1 표시값으로 표시하게 된다.When the first module and the second module are in the standby state, the first module displays the power lamp with the first display value.
상기 제1 모듈과 제2 모듈 중 어느 하나의 모듈이 액티브 상태인 경우 상기 제1 모듈은 전원램프를 제2 표시값으로 표시하게 된다.When any one of the first module and the second module is in an active state, the first module displays the power lamp as the second display value.
상기 제2 모듈은 대기상태에서 예약 켜짐 신호가 발생된 경우 상기 전원상태정보를 액티브 상태로 변경하게 된다.The second module changes the power state information to an active state when a reserved on signal is generated in a standby state.
상기 제1 모듈이 서비스 상태에서 상기 제2 모듈의 예약 켜짐 신호가 발생된 경우 상기 제1 모듈은 사용자의 예약 시청 선택 여부에 따라 서비스 모듈을 변경하게 된다.When the reservation on signal of the second module is generated in the service state of the first module, the first module changes the service module according to whether the user selects the reserved viewing.
상기 사용자가 예약 시청을 선택한 경우 상기 제1 모듈은 서비스 모듈을 상기 제2 모듈로 변경하게 된다.When the user selects reserved viewing, the first module changes the service module to the second module.
상기 사용자가 예약 시청을 취소한 경우 상기 제2 모듈은 상기 제1 모듈로부터 전송되는 전원제어신호의 변경에 따라 상기 전원상태정보를 대기상태로 변경하게 된다.When the user cancels the reserved viewing, the second module changes the power state information to the standby state according to the change of the power control signal transmitted from the first module.
한편, 상기한 목적을 달성하기 위한 본 발명에 따른 범용 입출력 포트를 이용한 이기종 모듈간 서비스 제어 방법의 일 측면에 따르면, 제1 모듈이 사용자의 입력신호에 따라 발생된 전원제어신호를 제어하는 과정과, 제2 모듈이 부팅시 부팅상태정보와 상기 제1 모듈의 전원제어신호에 따라 변경되는 전원상태정보를 상기 제1 모듈로 전송하는 과정과, 상기 제1 모듈이 상기 제2 모듈로부터 전송되는 부팅상태정보와 전원상태정보를 감지하여 전원램프의 출력상태를 제어하는 과정을 포함한다.On the other hand, according to one aspect of the heterogeneous inter-module service control method using a general-purpose input and output port according to the present invention for achieving the above object, the first module to control the power control signal generated according to the user's input signal and And transmitting boot state information when the second module boots and power state information changed according to the power control signal of the first module to the first module, and booting the first module transmitted from the second module. And controlling the output state of the power lamp by detecting the status information and the power status information.
이하, 본 발명의 바람직한 실시예의 상세한 설명이 첨부된 도면들을 참조하여 설명될 것이다. 도면들 중 참조번호들 및 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 참조번호들 및 부호들로 나타내고 있음에 유의해야 한다. 하기에서 본 발명을 설명함에 있어, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략한다.DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, detailed descriptions of preferred embodiments of the present invention will be described with reference to the accompanying drawings. It should be noted that reference numerals and like elements among the drawings are denoted by the same reference numerals and symbols as much as possible even though they are shown in different drawings. In the following description of the present invention, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.
도 3은 본 발명에 따른 셋톱박스의 서비스 모듈간 범용 입출력 포트(GPIO)의 연결 상태를 나타내는 도면이다.3 is a diagram illustrating a connection state of a general-purpose input / output port (GPIO) between service modules of a set-top box according to the present invention.
도 3에 도시된 바와 같이, 본 발명은 멀티미디어 서비스를 제공하는 제1 모듈(10)과 위성방송 서비스를 제공하는 제2 모듈(20)이 범용 입출력 포트(GPIO)를 통하여 연결되어진다. 즉, 제1 모듈(10)의 A 포트는 제2 모듈(20)의 X 포트와 연결되고, 제1 모듈(10)의 B 포트는 제2 모듈(20)의 Y 포트와 연결되며, 제1 모듈(10)의 C 포트는 제2 모듈(20)의 Z 포트와 연결되어진다.As shown in FIG. 3, in the present invention, a
하기의 표 1은 상기 제1 모듈(10)과 제2 모듈(20)간에 연결되어지는 범용 입출력 포트(GPIO)의 각 기능에 대한 설명을 나타낸다.Table 1 below describes the functions of the general-purpose input / output ports (GPIOs) connected between the
상기 표 1에서와 같이, 상기 제1 모듈(10)에서 제2 모듈(20)로 전송되어지는 PWR_CTRL은 주 모듈인 상기 제1 모듈(10)이 부 모듈인 제2 모듈(20)의 액티브 상태와 대기 상태를 강제로 제어하기 위한 신호이다. 즉, PWR_CTRL 제어신호는 제2 모듈(20)의 전원 자체를 온/오프시키기 위한 신호가 아니라 컴퓨터의 화면보호기능과 같이 모니터의 액티브 상태/대기 상태를 제어하기 위한 신호이다. 이와 같이, 상기 제1 모듈(10)은 BOOT_STAT와 PWR_STAT와 달리 PWR_CTRL을 통하여 전원 상태를 보내는 것이 아니다.As shown in Table 1, the PWR_CTRL transmitted from the
상기 제2 모듈(20)은 PWR_CTR 신호의 상태가 변경될 시에 전원 신호를 수신한 것으로 처리한다. 즉 제2 모듈(20)은 PWR_CTRL의 값이 0 -> 1 또는 1-> 0 으로 변경될 때마다 전원 신호를 받은 것으로 처리한다. 단, 제2 모듈(20)은 PWR_CTRL의 상태가 변경될 때에 바로 전원 신호를 처리하지 않고 일시적인 H/W Noise에 대비하여 200ms 후에 PWR_CTRL의 값을 다시 검사하여 변경된 값이 그대로 유지된 상태인 경우 전원 신호가 입력된 것으로 처리한다.The
PWR_CTRL을 통하여 전원 신호를 받은 제2 모듈(20)의 드라이버에서는 키 처리 태스크(Key Process Task)로 전원 상태 변경을 통보하게 되며, 키 처리 태스크(Key Process Task)는 제2 모듈(20)이 변경되어야 할 상태(액티브 상태/대기 상태)로 처리하게 된다.The driver of the
이와 같이, 키 처리 태스크(Key Process Task)는 제2 모듈(20)의 전원 상태에 대한 처리를 하면서 제2 모듈(20)의 GPIO Z 포트인 PWR_STAT의 상태를 변경된 전원 상태로 처리하는 역할을 수행하게 된다.As such, the key process task performs a process for the power state of the
이에 따라, 상기 제1 모듈(10)은 제2 모듈(20)로부터 전송되어지는 PWR_STAT의 상태를 통해 제2 모듈(20)의 전원 상태를 감지하여 하기의 표 2와 같이 전원 LED의 출력 상태를 관리하게 된다.Accordingly, the
상기 표 2에서와 같이, 상기 제1 모듈(10)과 제2 모듈(20)이 모두 대기상태인 경우 상기 제1 모듈(10)은 전원 LED의 출력상태가 적색으로 유지될 수 있도록 제어하게 되며, 상기 제1 모듈(10)이 액티브 상태이고 제2 모듈(20)이 대기 상태이거나, 상기 제1 모듈(10)이 대기 상태이고 제2 모듈(20)이 액티브 상태인 경우에는 상기 전원 LED의 출력상태가 녹색으로 유지될 수 있도록 제어하게 된다.As shown in Table 2, when both the
또한, 사용자가 시청중인 서비스에서 전원 차단(Power Off)이 된 후 다시 전원 공급(Power On)이 될 경우 이전에 시청 중이였던 서비스 상태로 보여져야 하는데 이와 관련된 부팅 후의 서비스 모드 선택에 대한 내용은 상기 제1 모듈(10)에 저장되어지며, 제2 모듈(20)은 자신이 이전에 액티브 상태였는지 대기 상태였는지를 판단할 수 있는 내용을 저장하게 된다.In addition, if the user is turned off after the power is turned off from the service being watched, the user should be shown as the service state that was previously viewed. Stored in the
이하, 도 4 내지 도 12를 참조하여 시간에 따른 GPIO 포트의 시그널 상태에 대해 상세히 설명하기로 한다. 각 도면의 가로축은 시간의 흐름을 나타내며 세로축은 GPIO 포트의 시그널 상태를 보여준다.Hereinafter, the signal state of the GPIO port over time will be described in detail with reference to FIGS. 4 to 12. The horizontal axis in each figure shows the passage of time and the vertical axis shows the signal status of the GPIO port.
먼저, 예약 켜짐 기능으로 인하여 제1 모듈(10)에서 제2 모듈(20)의 전원 제어와 그 결과인 전원 LED 출력상태에 부작용이 발생하지 않도록 동작되어야 할 세부 동작을 기술한다.First, the detailed operation to be operated so that side effects do not occur in the power control of the
도 4는 멀티미디어 서비스를 제공하는 제1 모듈(10)이 서비스 모드 상태이고 위성방송 서비스를 제공하는 제2 모듈(20)이 서비스 상태인 경우의 타이밍도이다.4 is a timing diagram when the
도 4에 도시된 바와 같이, t1 시점에서 제1 모듈(10)과 제2 모듈(20)에 전원이 공급되어 동시에 부팅이 되고, t2 시점에서 상기 제1 모듈(10)이 먼저 부팅이 완료된 경우를 가정한다. 이때, 상기 제2 모듈(20)이 먼저 부팅이 되어도 본 알고리즘에 그대로 적용될 수 있다.As shown in FIG. 4, when power is supplied to the
이어서, t3 시점에서 제2 모듈(20)의 부팅이 완료되고 제2 모듈(20)은 액티브 상태가 되도록 파워키 이벤트(Power Key Event)를 키 프로세스 태스크(Key Process Task)로 전달한다.Subsequently, at time t3, the booting of the
이어서, t4 시점에서 상기 제2 모듈(20)의 부팅이 완료되면 t초(본 시스템에서는 3초) 후에 BOOT_STAT를 1(Booting 중인 상태)에서 0(Booting 완료된 상태)로 변경한다. 부팅이 완료된 후 곧 바로 BOOT_STAT을 0으로 변경하게 되면 후술하는 예약 켜짐 기능과 혼동될 수 있으므로 t초의 여유시간을 두게 된다. 실제적으로 이 시점에서 제1 모듈(10)은 제2 모듈(20)의 예약 켜짐이 실행되는지를 감시하게 된다.Subsequently, when booting of the
이어서, t5 시점에서 제2 모듈(20)은 키프로세스 태스크(Key Process Task)를 통하여 전달받은 전원 상태(Power Status)를 GPIO Z 포트인 PWR_STAT에 액티브 상태(0)로 변경시킨다.Subsequently, at time t5, the
이어서, t6 시점에서 상기 제1 모듈(10)은 멀티미디어 서비스를 제공하고 있는 상태이므로 제1 모듈(10)은 PWR_STAT가 0(액티브 상태)이고 BOOT_STAT가 1(Booting 중인 상태)일 때에 PWR_CTRL GPIO 라인의 상태(Status)를 변경시켜 제2 모듈(20)이 대기상태가 되도록 만든다.Subsequently, since the
이어서, t7 시점에서 제2 모듈(20)은 PWR_CTRL의 상태를 200ms 간격으로 풀링(Polling)하여 그 상태가 변경되면 파워키 이벤트(Power Key Event)를 키 프로세스 태스크(Key Process Task)로 전달한다.Subsequently, at time t7, the
이에 따라, t8 시점에서 상기 키 프로세스 태스크(Key Process Task)는 GPIO Z 포트인 PWR_STAT의 상태를 1(대기상태)로 변경시키게 된다.Accordingly, at time t8, the key process task changes the state of the GPIO Z port PWR_STAT to 1 (standby state).
도 5는 멀티미디어 서비스를 제공하는 제1 모듈(10)이 서비스 모드 상태이고 위성방송 서비스를 제공하는 제2 모듈(20)이 대기 상태인 경우의 타이밍도로서, 이러한 경우는 이전에 제1 모듈(10)이 액티브 상태에서 멀티미디어 서비스를 제공하고 있는 도중에 전원이 차단되어 전원을 다시 공급받아 시스템이 부팅되는 경우에 해당된다.FIG. 5 is a timing diagram when the
도 5에 도시된 바와 같이, t1 시점에서 제1 모듈(10)과 제2 모듈(20)에 전원이 공급되어 동시에 부팅이 되어 t2 시점에서 상기 제1 모듈(10)이 먼저 부팅이 완료된 경우를 가정한다. 이때, 상기 제2 모듈(20)이 먼저 부팅이 되어도 본 알고리 즘에 그대로 적용될 수 있다.As shown in FIG. 5, when power is supplied to the
이어서, t3 시점에서 제2 모듈(20)의 부팅이 완료되고 제2 모듈(20)은 액티브 상태가 되도록 파워키 이벤트(Power Key Event)를 키 프로세스 태스크(Key Process Task)로 전달한다.Subsequently, at time t3, the booting of the
이어서, t4 시점에서 제2 모듈(20)의 부팅이 완료되면 t초후에 BOOT_STAT를 1(Booting 중인 상태)에서 0(Booting 완료된 상태)로 변경한다. 이 때, 부팅이 완료된 후 곧 바로 BOOT_STAT을 0으로 변경하게 되면 후술하는 예약 켜짐 기능과 혼동될 수 있으므로 t초의 여유시간을 두게 된다. 실제적으로 이 시점에서 제1 모듈(10)은 제2 모듈(20)의 예약 켜짐이 실행되는지를 감시하게 된다.Subsequently, when booting of the
이어서, t5 시점에서 제2 모듈(20)은 키프로세스 태스크(Key Process Task)를 통하여 전달받은 전원 상태(Power Status)를 GPIO Z 포트인 PWR_STAT에 액티브 상태(0)로 변경시킨다.Subsequently, at time t5, the
이어서, t6 시점에서 상기 제2 모듈(20)의 서비스 상태가 대기상태로 저장되어 있었으므로 대기상태로 변환시키기 위해서 파워키 이벤트(Power Key Event)를 키 프로세스 태스크(Key Process Task)로 전달한다.Subsequently, since the service state of the
이어서, t7 시점에서 상기 제2 모듈(20)은 GPIO Z 포트인 PWR_STAT에 대기상태(1)로 변경시킨 후 t8 시점에서 대기상태(1)를 유지하게 된다.Subsequently, the
도 6은 위성방송 서비스를 제공하는 제2 모듈(20)이 서비스 모드 상태이고 제2 모듈(20)이 액티브 상태인 경우의 타이밍도이다.FIG. 6 is a timing diagram when the
도 6에 도시된 바와 같이, t1 시점에서 제1 모듈(10)과 제2 모듈(20)에 전원 이 공급되어 동시에 부팅이 되어 t2 시점에서 상기 제1 모듈(10)이 먼저 부팅이 완료된 경우를 가정한다. 이때, 상기 제2 모듈(20)이 먼저 부팅이 되어도 본 알고리즘에 그대로 적용될 수 있다.As shown in FIG. 6, when power is supplied to the
이어서, t3 시점에서 제2 모듈(20)의 부팅이 완료되고 제2 모듈(20)은 액티브 상태가 되도록 파워키 이벤트(Power Key Event)를 키프로세스 태스크(Key Process Task)로 전달한다.Subsequently, at time t3, the booting of the
이어서, t4 시점에서 상기 제2 모듈(20)의 부팅이 완료되면 t초 후에 BOOT_STAT를 부팅 중인 상태(1)에서 부팅 완료 상태(0)로 변경한다.Subsequently, when booting of the
이어서, t5 시점에서 상기 제2 모듈(20)의 키프로세스 태스크(Key Process Task)는 전원 상태(Power Status)를 표시하는 GPIO Z 포트인 PWR_STAT의 상태를 액티브 상태(0)로 변경시키게 되고 t6 시점에서 액티브 상태(0)를 유지하게 된다.Subsequently, at time t5, a key process task of the
도 7은 멀티미디어 서비스를 제공하는 제1 모듈(10)이 서비스 모드 상태이고 위성방송 서비스를 제공하는 제2 모듈(20)이 리셋되어 재부팅되는 경우의 타이밍도로서, 이러한 경우는 상기 도 5의 설명에서 제1 모듈(10)이 서비스 모드 상태이고 위성방송 서비스를 제공하는 제2 모듈(20)이 대기 상태인 경우와 그 동작이 동일하다.FIG. 7 is a timing diagram when the
즉, 도 7에 도시된 바와 같이, t1 시점에서 제2 모듈(20)이 리셋 신호에 의해 다시 부팅이 되어 부팅이 완료되면 t2 시점에서 상기 제2 모듈(20)은 파워키 이벤트(Power Key Event)를 키프로세스 태스크(Key Process Task)로 전달한다.That is, as illustrated in FIG. 7, when the
이어서, t3 시점에서 상기 제2 모듈(20)의 부팅이 완료되면 t초후에 BOOT_STAT를 1(Booting 중인 상태)에서 0(Booting 완료된 상태)로 변경한다. 이 때 부팅이 완료된 후 곧 바로 BOOT_STAT을 0으로 변경하게 되면 후술하는 예약 켜짐 기능과 혼동될 수 있으므로 t초의 여유시간을 두게 된다. 실제적으로 이 시점에서 제1 모듈(10)은 제2 모듈(20)의 예약 켜짐이 실행되는지를 감시하게 된다.Subsequently, when booting of the
이어서, t4 시점에서 상기 제2 모듈(20)은 키프로세스 태스크(Key Process Task)를 통하여 전달받은 전원 상태(Power Status)를 GPIO Z 포트인 PWR_STAT에 액티브 상태(0)로 변경시킨다.Subsequently, at time t4, the
이어서, t5 시점에서 제1 모듈(10)은 서비스 모드 상태이므로 상기 제2 모듈(20)은 대기 상태로 저장된 상태로 부팅이 완료된다. 즉, 상기 제2 모듈(20)은 대기상태가 되기 위해서 파워키 이벤트(Power Key Event)를 다시 키 프로세스 태스크(Key Process Task)로 전달한다.Subsequently, since the
이에 따라, t6 시점에서 상기 제2 모듈(20)의 키 프로세스 태스크(Key Process Task)는 전원 상태(Power Status)를 표시하는 GPIO Z 포트인 PWR_STAT의 상태를 대기상태(1)로 변경시키게 되며 t7 시점에서 대기상태(1)를 유지하게 된다.Accordingly, at time t6, the key process task of the
도 8은 위성방송 서비스를 제공하는 제2 모듈(20)이 서비스 모드 상태에서 제2 모듈(20)이 리셋되어 재부팅되는 경우의 타이밍도이다.FIG. 8 is a timing diagram when the
도 8에 도시된 바와 같이, t1 시점에서 제2 모듈(20)만 리셋 신호에 의해 다시 부팅이 되어 t2 시점에서 상기 제2 모듈(20)의 부팅이 완료된다.As shown in FIG. 8, only the
이에 따라, t3 시점에서 상기 제2 모듈(20)은 파워키 이벤트(Power Key Event)를 키 프로세스 태스크(Key Process Task)로 전달한다.Accordingly, at the time t3, the
이어서, t4 시점에서 상기 제2 모듈(20)의 부팅이 완료되면 t초 후에 BOOT_STAT를 부팅 중인 상태(1)에서 부팅 완료 상태(0)로 변경한다.Subsequently, when booting of the
이어서, t5 시점에서 상기 제2 모듈(20)이 액티브 상태에서 다시 부팅을 한 것이므로 상기 제2 모듈(20)의 키 프로세스 태스크(Key Process Task)는 전원 상태(Power Status)를 표시하는 GPIO Z 포트인 PWR_STAT의 상태를 액티브 상태(0)로 변경시키게 되고 t6 시점에서 상기 제2 모듈(20)은 액티브 상태(0)를 유지하게 된다.Subsequently, since the
도 9는 모듈간 서비스 모드 전환시의 타이밍도이다.9 is a timing diagram at the time of switching between modules.
도 9에 도시된 바와 같이, t1 시점에서 제1 모듈(10)은 PWR_CTRL GPIO을 통하여 제2 모듈(20)의 전원 상태를 변경시킨다. 즉, 제1 모듈(10) 서비스 모드에서 서비스 모드 전환이 발생하는 경우나, 제2 모듈(20) 서비스 모드에서 전원 버튼이나 서비스 모드 전환 버튼이 눌러진 경우이다.As shown in FIG. 9, at time t1, the
이에 따라, t2 시점에서 상기 제2 모듈(20)은 PWR_CTRL GPIO의 신호 상태가 변경될 때마다 전원 키 값을 받은 것으로 처리하여 키 프로세스 태스크(Key Process Task)로 통보한다.Accordingly, at the time t2, the
이어서, t3 시점에서 상기 제2 모듈(20)의 키 프로세스 태스크(Key Process Task) 는 서비스/대기 상태를 표시하는 GPIO Z 포트인 PWR_STAT의 상태를 액티브 상태(0) 또는 대기상태(1)로 변경시키게 된다.Subsequently, at time t3, the key process task of the
이 때, 상기 제1 모듈(10)은 PWR_STAT을 통하여 제2 모듈(20)의 액티브/대기 상태를 파악하여 처리할 내용은 아래와 같다.At this time, the
먼저, 상기 제1 모듈(10)이 서비스 모드인 경우, 서비스 전환의 결과로 PWR_STAT가 액티브 상태(0)로 변경될 때는 제1 모듈(10)은 서비스 모드를 제2 모듈(20)로 전환시킨다.First, when the
그리고, 상기 제1 모듈(10)은 PWR_STAT의 상태가 변경되면 상술한 표 2의 경우에 따라 전원 LED의 출력을 제어하게 된다.When the state of the PWR_STAT is changed, the
도 10은 제2 모듈(20)이 대기상태에서 예약 켜짐이 발생한 경우의 타이밍도를 나타낸다.FIG. 10 shows a timing diagram when the
도 10에 도시된 바와 같이, t1 시점에서 제2 모듈(20)의 예약 켜짐 시간이 되면 t2 시점에서 상기 제2 모듈(20)의 키 프로세스 태스크(Key Process Task)에 파워키 이벤트(Power Key Event)가 전달된다.As shown in FIG. 10, when a scheduled on time of the
이어서, t3 시점에서 상기 제2 모듈(20)의 키 프로세스 태스크(Key Process Task)가 GPIO Z 포트에 PWR_STAT의 상태를 액티브 상태(0)로 변경시키게 된다.Subsequently, at a time t3, a key process task of the
이에 따라, t4 시점에서 상기 제1 모듈(10)은 상기 제2 모듈(20)의 PWR_STAT가 액티브 상태(0)이고 BOOT_STAT가 부팅 완료 상태(0)일 때에는 PWR_CTRL GPIO의 상태를 변경시키지 않는다.Accordingly, at time t4, the
도 11은 제1 모듈(10)의 서비스 모드에서 제2 모듈(20)의 예약 켜짐이 발생한 경우의 타이밍도이고, 도 12는 도 11에서 제2 모듈(20)의 예약 켜짐을 취소한 경우의 타이밍도이다.FIG. 11 is a timing diagram when reservation on of the
도 11에 도시된 바와 같이, t1 시점에서 상기 제2 모듈(20)의 예약 켜짐 시간이 되면 t2 시점에서 상기 제2 모듈(20)의 키 프로세스 태스크(Key Process Task)에 파워키 이벤트(Power Key Event)가 전달된다.As shown in FIG. 11, when the scheduled on time of the
이어서, t3 시점에서 상기 제2 모듈(20)의 키 프로세스 태스크(Key Process Task)가 GPIO Z 포트에 PWR_STAT의 상태를 액티브 상태(0)로 변경시킨다.Subsequently, at time t3, a key process task of the
이어서, t4 시점에서 상기 제1 모듈(10)은 제2 모듈(20)의 PWR_STAT가 액티브 상태(0)이고 BOOT_STAT가 부팅 완료 상태(0)일 때에는 PWR_CTRL GPIO의 상태를 변경시키지 않는다.Subsequently, at time t4, the
이어서, t5 시점에서 상기 제1 모듈(10)에서 제2 모듈(20)의 예약 켜짐을 알리는 대화박스를 디스플이하게 되면 사용자의 선택에 따라 하기와 같이 2가지의 과정이 진행되어진다.Subsequently, when the
즉, 도 11에서와 같이 t6 시점에서 사용자가 제2 모듈(20)의 시청을 선택하였을 경우에는 t7 시점에서 제1 모듈(10)은 서비스 모드 상태를 제2 모듈(20)로 변경시키게 된다.That is, as shown in FIG. 11, when the user selects viewing of the
그러나, 도 12에서와 같이 사용자가 t6 시점에서 상기 제2 모듈(20) 시청을 취소하고 계속 제1 모듈(10) 모드를 선택하였을 경우에는 t7 시점에서 상기 제1 모듈(10)은 제2 모듈(20)을 대기상태로 만들기 위해서 PWR_CTRL의 상태를 변경시키게 된다.However, when the user cancels viewing of the
이에 따라, t8 시점에서 상기 제2 모듈(20)은 PWR_CTRL의 상태 변화를 감지하여 대기상태(1)로 변경된다.Accordingly, at time t8, the
이상에서는 본 발명에서 특정의 바람직한 실시예에 대하여 도시하고 또한 설명하였다. 그러나, 본 발명은 상술한 실시예에 한정되지 아니하며, 특허 청구의 범 위에서 첨부하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형 실시가 가능할 것이다.In the above, specific preferred embodiments of the present invention have been illustrated and described. However, the present invention is not limited to the above-described embodiments, and various modifications can be made by any person having ordinary skill in the art without departing from the scope of the present invention attached to the scope of the claims. will be.
본 발명에 따르면, 서로 다른 독립적인 서비스를 제공하는 모듈간 범용 입출력 포트(GPIO)를 이용하여 서비스 상태를 제어함으로써, 각 모듈간 서비스 전환시 동작이나 주 모듈의 제어를 받는 부 모듈의 예약 켜짐 동작이 정상적으로 이루어지고 이에 따른 전원 LED의 출력 상태도 정상적으로 동작하게 되는 효과가 발생된다.According to the present invention, the service state is controlled by using a general-purpose input / output port (GPIO) between modules providing different independent services. This is normally done and the output state of the power LED according to this also has the effect of operating normally.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050005144A KR100656522B1 (en) | 2005-01-19 | 2005-01-19 | Contorl system and method for service between different module using general purpose input output |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050005144A KR100656522B1 (en) | 2005-01-19 | 2005-01-19 | Contorl system and method for service between different module using general purpose input output |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20060084319A KR20060084319A (en) | 2006-07-24 |
KR100656522B1 true KR100656522B1 (en) | 2006-12-11 |
Family
ID=37174424
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050005144A KR100656522B1 (en) | 2005-01-19 | 2005-01-19 | Contorl system and method for service between different module using general purpose input output |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100656522B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7681051B2 (en) * | 2006-08-30 | 2010-03-16 | Agere Systems Inc. | Transitioning of a port in a communications system from an active state to a standby state |
-
2005
- 2005-01-19 KR KR1020050005144A patent/KR100656522B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR20060084319A (en) | 2006-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20050219423A1 (en) | Television receiver and method of controlling display thereof | |
KR100817628B1 (en) | Digital broadcast receiver and operating control method | |
EP1493272A2 (en) | Apparatus and methods for switching to an interactive application mode from a television program mode | |
CN1300502A (en) | System of apparatus and peripherals | |
US20110187698A1 (en) | Power controlling device and method for video display apparatus | |
KR100656522B1 (en) | Contorl system and method for service between different module using general purpose input output | |
US8643484B2 (en) | Visual alert system for set-top box standby mode | |
JP2007235198A (en) | Television receiver | |
JP2006325102A (en) | Television broadcast receiver | |
KR20060101674A (en) | Controlling method of dtv stb and ready tv which use single remocon | |
JPH077679A (en) | Video signal switching device | |
KR19980051050A (en) | Remote Control Multi Control Method | |
JP2714813B2 (en) | Terminal control device for CATV system | |
KR200152803Y1 (en) | Catv converter power control circuit | |
JP2003288131A (en) | System and method for deciding and controlling automatic restarting of device equipped with real-time os | |
KR0157568B1 (en) | Lighting system of led by using osd function | |
JP2002041329A (en) | Abnormality detector and abnormality detecting method | |
US7185187B2 (en) | Protected dual purpose power/enter switch apparatus and method | |
JPH0440091A (en) | Terminal controller for catv system | |
KR0126264B1 (en) | Television receiver | |
KR0140371B1 (en) | Television broadcasting mode display method | |
KR19990025327A (en) | Computer with monitor control unit | |
KR100246758B1 (en) | Broadcastimg seyuice receiving method for kbps | |
KR960001543B1 (en) | Television monitor protecting apparatus & control method | |
KR19990024960A (en) | Illuminated TV |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20121129 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20131128 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20141127 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20151127 Year of fee payment: 10 |
|
FPAY | Annual fee payment |
Payment date: 20161129 Year of fee payment: 11 |
|
LAPS | Lapse due to unpaid annual fee |