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 PDF

Info

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
Application number
KR1020050005144A
Other languages
Korean (ko)
Other versions
KR20060084319A (en
Inventor
노응석
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020050005144A priority Critical patent/KR100656522B1/en
Publication of KR20060084319A publication Critical patent/KR20060084319A/en
Application granted granted Critical
Publication of KR100656522B1 publication Critical patent/KR100656522B1/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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • 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/47End-user applications
    • H04N21/472End-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/47214End-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

범용 입출력 포트를 이용한 이기종 모듈간 서비스 제어 시스템 및 그 방법{CONTORL SYSTEM AND METHOD FOR SERVICE BETWEEN DIFFERENT MODULE USING GENERAL PURPOSE INPUT OUTPUT} Service control system between heterogeneous modules using general-purpose input / output port and its method {CONTORL SYSTEM AND METHOD FOR SERVICE BETWEEN DIFFERENT MODULE USING GENERAL PURPOSE INPUT OUTPUT}             

도 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 second module 20 occurs in the service mode of the first module 10. FIG.

도 12는 도 11에서 제2 모듈(20)의 예약 켜짐을 취소한 경우의 타이밍도.FIG. 12 is a timing diagram when the reservation on of the second module 20 is canceled in FIG. 11.

* 도면의 주요 부분에 대한 부호의 설명 *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 remote controller 1 or a signal generated from a button on the front panel of the set top box may be used in the microcomputer 2 of the set top box. Passed to to change the code value. The changed code value is always input to the first module 3, which is a main module for providing a multimedia service through UART, and is serviced to the second module 4, which is a sub module for providing satellite broadcasting service. It is entered only in the status.

상기 서비스 등은 발명을 설명하기 위한 실시예이며 각각의 모듈별 서비스가 달라질 수 있다.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 first module 3 and the second module 4. Accordingly, since the power LED cannot be individually controlled in each module, the second module 4 which is a submodule cannot directly control the power LED, but only the first module 3 which is the main module. .

이에 따라, 상기 제2 모듈(4)이 대기 상태(standby state)에 진입한 경우에도 전원 LED의 상태는 액티브 상태(Active state)를 나타내는 녹색을 유지하게 된다는 문제점이 발생되어진다.Accordingly, even when the second module 4 enters the standby state, there is a problem that the state of the power LED maintains the green color indicating the active state.

이와 같은 문제점을 해결하기 위하여 도 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 first module 3 and the second module 4, is connected to the second module from the first module 3. The power of the second module 4 can be controlled by transmitting the power control signal PWR_CTRL signal to the module 4. At this time, the second module 4 ignores the power control signal input through the UART.

즉, 상기 제1 모듈(3)은 상기 제2 모듈(4)이 서비스 모드 상태인 경우 입력받는 전원키 값을 받아 PWR_CTRL GPIO를 통하여 상기 제2 모듈(4)로 전원제어신호인 PWR_CTRL 신호(Low:서비스상태, High:대기상태)를 전달하고 전원 LED을 제어하게 된다.That is, when the second module 4 is in the service mode, the first module 3 receives a power key value input to the second module 4 through the PWR_CTRL GPIO, and a PWR_CTRL signal that is a power control signal (Low). It transmits the service status, High (standby status) and controls the power LED.

이에 따라, 상기 제2 모듈(4)은 상기 제1 모듈(3)로부터 전달되는 PWR_CTRL GPIO의 상태값을 읽어 그 값이 로우(Low)일 경우에는 서비스 상태(Active state)가 되고 하이(High)일 경우에는 대기 상태(Standby state)로 제어된다.Accordingly, the second module 4 reads the state value of the PWR_CTRL GPIO transmitted from the first module 3, and when the value is low, the second module 4 becomes a service state and becomes high. In one case, it is controlled to a standby state.

그러나, 상기 제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 second module 4 is operated only by the PWR_CNTL GPIO state value transmitted from the first module 3, the second module 4 automatically becomes active after a predetermined time and sends out a broadcast. When the ON function is set, the reservation ON is not activated even when the second module 4 is in the standby state or the reservation time when the first module 3 is in the service state. That is, even if the second module 4 operates in the reserved ON state and automatically changes to the active state, if the PWR_CNTL GPIO state value is in the standby state, the second module 4 detects this and immediately returns to the standby state ( There was a problem of entering the standby state.

상기와 같은 문제점을 해결하기 위한 본 발명의 목적은, 서로 다른 독립적인 서비스를 제공하는 모듈간 범용 입출력 포트(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 first module 10 for providing a multimedia service and a second module 20 for providing a satellite broadcasting service are connected through a universal input / output port (GPIO). That is, the A port of the first module 10 is connected to the X port of the second module 20, the B port of the first module 10 is connected to the Y port of the second module 20, and the first The C port of the module 10 is connected to the Z port of the second module 20.

하기의 표 1은 상기 제1 모듈(10)과 제2 모듈(20)간에 연결되어지는 범용 입출력 포트(GPIO)의 각 기능에 대한 설명을 나타낸다.Table 1 below describes the functions of the general-purpose input / output ports (GPIOs) connected between the first module 10 and the second module 20.

명 칭Name 설 명Explanation PWR_CTRLPWR_CTRL 제1모듈에서 제2모듈의 전원을 강제로 온(active)/오프(standby)Forcibly turns on / off the power of the second module from the first module BOOT_STATBOOT_STAT 제2모듈의 부팅 상태를 제1모듈로 통보 High(1) : 부팅중인 상태, Low(0) : 부팅완료상태Notify the first module of the booting status of the second module High (1): Booting status, Low (0): Booting completion status PWR_STATPWR_STAT 제2모듈의 서비스/대기 상태를 제1모듈로 통보 High(1) : 대기상태(standby), Low(0) : 서비스(동작) 상태(active)Notify the first module of the service / standby status of the second module. High (1): Standby, Low (0): Service (operation) Active

상기 표 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 first module 10 to the second module 20 is an active state of the second module 20 in which the first module 10 is a main module. Signal to forcibly control the standby state. That is, the PWR_CTRL control signal is not a signal for turning on / off the power supply of the second module 20, but a signal for controlling the active state / standby state of the monitor, such as a screen protection function of a computer. As such, unlike the BOOT_STAT and PWR_STAT, the first module 10 does not send a power state through the PWR_CTRL.

상기 제2 모듈(20)은 PWR_CTR 신호의 상태가 변경될 시에 전원 신호를 수신한 것으로 처리한다. 즉 제2 모듈(20)은 PWR_CTRL의 값이 0 -> 1 또는 1-> 0 으로 변경될 때마다 전원 신호를 받은 것으로 처리한다. 단, 제2 모듈(20)은 PWR_CTRL의 상태가 변경될 때에 바로 전원 신호를 처리하지 않고 일시적인 H/W Noise에 대비하여 200ms 후에 PWR_CTRL의 값을 다시 검사하여 변경된 값이 그대로 유지된 상태인 경우 전원 신호가 입력된 것으로 처리한다.The second module 20 processes the received power signal when the state of the PWR_CTR signal is changed. That is, whenever the value of PWR_CTRL is changed from 0-> 1 or 1-> 0, the second module 20 processes the received power signal. However, when the state of the PWR_CTRL is changed, the second module 20 does not process the power signal immediately and checks the value of the PWR_CTRL again after 200 ms in preparation for the temporary H / W noise. Treat the signal as being input.

PWR_CTRL을 통하여 전원 신호를 받은 제2 모듈(20)의 드라이버에서는 키 처리 태스크(Key Process Task)로 전원 상태 변경을 통보하게 되며, 키 처리 태스크(Key Process Task)는 제2 모듈(20)이 변경되어야 할 상태(액티브 상태/대기 상태)로 처리하게 된다.The driver of the second module 20 that receives the power signal through the PWR_CTRL notifies the key state task of the change of the power state, and the key process task of the second module 20 changes. It is treated as a state that should be (active state / standby state).

이와 같이, 키 처리 태스크(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 second module 20 and processes the state of PWR_STAT, which is the GPIO Z port of the second module 20, as the changed power state. Done.

이에 따라, 상기 제1 모듈(10)은 제2 모듈(20)로부터 전송되어지는 PWR_STAT의 상태를 통해 제2 모듈(20)의 전원 상태를 감지하여 하기의 표 2와 같이 전원 LED의 출력 상태를 관리하게 된다.Accordingly, the first module 10 detects the power state of the second module 20 through the state of PWR_STAT transmitted from the second module 20 to determine the output state of the power LED as shown in Table 2 below. To manage.

제1 모듈First module 제2 모듈Second module 전원 LED 출력상태Power LED Output Status 대기상태Standby 대기상태Standby 적색Red 액티브상태Active state 대기상태Standby 녹색green 대기상태Standby 액티브상태Active state 녹색green

상기 표 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 first module 10 and the second module 20 are in the standby state, the first module 10 controls the output state of the power LED to be maintained in red. When the first module 10 is in an active state and the second module 20 is in a standby state, or when the first module 10 is in a standby state and the second module 20 is in an active state, the power LED It will control the output status to stay green.

또한, 사용자가 시청중인 서비스에서 전원 차단(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 first module 10, the second module 20 is to store the content that can determine whether it was previously active or standby.

이하, 도 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 second module 20 and the resultant power LED output state due to the reservation on function is described.

도 4는 멀티미디어 서비스를 제공하는 제1 모듈(10)이 서비스 모드 상태이고 위성방송 서비스를 제공하는 제2 모듈(20)이 서비스 상태인 경우의 타이밍도이다.4 is a timing diagram when the first module 10 for providing a multimedia service is in a service mode and the second module 20 for providing a satellite broadcasting service is in a service state.

도 4에 도시된 바와 같이, t1 시점에서 제1 모듈(10)과 제2 모듈(20)에 전원이 공급되어 동시에 부팅이 되고, t2 시점에서 상기 제1 모듈(10)이 먼저 부팅이 완료된 경우를 가정한다. 이때, 상기 제2 모듈(20)이 먼저 부팅이 되어도 본 알고리즘에 그대로 적용될 수 있다.As shown in FIG. 4, when power is supplied to the first module 10 and the second module 20 at the time t1 and simultaneously booted, and the first module 10 is first booted at the time t2. Assume In this case, even if the second module 20 is booted first, it may be applied to the present algorithm as it is.

이어서, t3 시점에서 제2 모듈(20)의 부팅이 완료되고 제2 모듈(20)은 액티브 상태가 되도록 파워키 이벤트(Power Key Event)를 키 프로세스 태스크(Key Process Task)로 전달한다.Subsequently, at time t3, the booting of the second module 20 is completed and the second module 20 transmits a power key event to the key process task.

이어서, t4 시점에서 상기 제2 모듈(20)의 부팅이 완료되면 t초(본 시스템에서는 3초) 후에 BOOT_STAT를 1(Booting 중인 상태)에서 0(Booting 완료된 상태)로 변경한다. 부팅이 완료된 후 곧 바로 BOOT_STAT을 0으로 변경하게 되면 후술하는 예약 켜짐 기능과 혼동될 수 있으므로 t초의 여유시간을 두게 된다. 실제적으로 이 시점에서 제1 모듈(10)은 제2 모듈(20)의 예약 켜짐이 실행되는지를 감시하게 된다.Subsequently, when booting of the second module 20 is completed at time t4, BOOT_STAT is changed from 1 (booting state) to 0 (booting state) after t seconds (3 seconds in the present system). If BOOT_STAT is changed to 0 immediately after booting is completed, it may be confused with the scheduled ON function described later, so that there is a time of t seconds. In practice, at this point, the first module 10 monitors whether the reserved on of the second module 20 is executed.

이어서, t5 시점에서 제2 모듈(20)은 키프로세스 태스크(Key Process Task)를 통하여 전달받은 전원 상태(Power Status)를 GPIO Z 포트인 PWR_STAT에 액티브 상태(0)로 변경시킨다.Subsequently, at time t5, the second module 20 changes the power status received through the key process task to the active state (0) in the GPIO Z port PWR_STAT.

이어서, t6 시점에서 상기 제1 모듈(10)은 멀티미디어 서비스를 제공하고 있는 상태이므로 제1 모듈(10)은 PWR_STAT가 0(액티브 상태)이고 BOOT_STAT가 1(Booting 중인 상태)일 때에 PWR_CTRL GPIO 라인의 상태(Status)를 변경시켜 제2 모듈(20)이 대기상태가 되도록 만든다.Subsequently, since the first module 10 is in a state of providing a multimedia service at a time t6, the first module 10 of the PWR_CTRL GPIO line when PWR_STAT is 0 (active state) and BOOT_STAT is 1 (booting state). By changing the Status, the second module 20 is made into a standby state.

이어서, t7 시점에서 제2 모듈(20)은 PWR_CTRL의 상태를 200ms 간격으로 풀링(Polling)하여 그 상태가 변경되면 파워키 이벤트(Power Key Event)를 키 프로세스 태스크(Key Process Task)로 전달한다.Subsequently, at time t7, the second module 20 pulls the state of the PWR_CTRL at 200 ms intervals and transmits a power key event to the key process task when the state is changed.

이에 따라, 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 first module 10 for providing a multimedia service is in a service mode and the second module 20 for providing a satellite broadcasting service is in a standby state. 10) This is the case when the system is booted when power is cut off and power is supplied again while providing multimedia service in this active state.

도 5에 도시된 바와 같이, t1 시점에서 제1 모듈(10)과 제2 모듈(20)에 전원이 공급되어 동시에 부팅이 되어 t2 시점에서 상기 제1 모듈(10)이 먼저 부팅이 완료된 경우를 가정한다. 이때, 상기 제2 모듈(20)이 먼저 부팅이 되어도 본 알고리 즘에 그대로 적용될 수 있다.As shown in FIG. 5, when power is supplied to the first module 10 and the second module 20 at the time t1 and simultaneously booted, the first module 10 is first booted at the time t2. Assume In this case, even if the second module 20 is booted first, it may be applied to the present algorithm as it is.

이어서, t3 시점에서 제2 모듈(20)의 부팅이 완료되고 제2 모듈(20)은 액티브 상태가 되도록 파워키 이벤트(Power Key Event)를 키 프로세스 태스크(Key Process Task)로 전달한다.Subsequently, at time t3, the booting of the second module 20 is completed and the second module 20 transmits a power key event to the key process task.

이어서, t4 시점에서 제2 모듈(20)의 부팅이 완료되면 t초후에 BOOT_STAT를 1(Booting 중인 상태)에서 0(Booting 완료된 상태)로 변경한다. 이 때, 부팅이 완료된 후 곧 바로 BOOT_STAT을 0으로 변경하게 되면 후술하는 예약 켜짐 기능과 혼동될 수 있으므로 t초의 여유시간을 두게 된다. 실제적으로 이 시점에서 제1 모듈(10)은 제2 모듈(20)의 예약 켜짐이 실행되는지를 감시하게 된다.Subsequently, when booting of the second module 20 is completed at time t4, BOOT_STAT is changed from 1 (booting state) to 0 (booting completed state) after t seconds. At this time, if BOOT_STAT is changed to 0 immediately after the booting is completed, a time of t seconds may be left because it may be confused with the scheduled on function described below. In practice, at this point, the first module 10 monitors whether the reserved on of the second module 20 is executed.

이어서, t5 시점에서 제2 모듈(20)은 키프로세스 태스크(Key Process Task)를 통하여 전달받은 전원 상태(Power Status)를 GPIO Z 포트인 PWR_STAT에 액티브 상태(0)로 변경시킨다.Subsequently, at time t5, the second module 20 changes the power status received through the key process task to the active state (0) in the GPIO Z port PWR_STAT.

이어서, t6 시점에서 상기 제2 모듈(20)의 서비스 상태가 대기상태로 저장되어 있었으므로 대기상태로 변환시키기 위해서 파워키 이벤트(Power Key Event)를 키 프로세스 태스크(Key Process Task)로 전달한다.Subsequently, since the service state of the second module 20 is stored in the standby state at time t6, a power key event is transmitted to the key process task in order to convert to the standby state.

이어서, t7 시점에서 상기 제2 모듈(20)은 GPIO Z 포트인 PWR_STAT에 대기상태(1)로 변경시킨 후 t8 시점에서 대기상태(1)를 유지하게 된다.Subsequently, the second module 20 changes the standby state 1 to the GPIO Z port PWR_STAT at time t7 and maintains the standby state 1 at time t8.

도 6은 위성방송 서비스를 제공하는 제2 모듈(20)이 서비스 모드 상태이고 제2 모듈(20)이 액티브 상태인 경우의 타이밍도이다.FIG. 6 is a timing diagram when the second module 20 providing satellite broadcasting service is in a service mode and the second module 20 is in an active state.

도 6에 도시된 바와 같이, t1 시점에서 제1 모듈(10)과 제2 모듈(20)에 전원 이 공급되어 동시에 부팅이 되어 t2 시점에서 상기 제1 모듈(10)이 먼저 부팅이 완료된 경우를 가정한다. 이때, 상기 제2 모듈(20)이 먼저 부팅이 되어도 본 알고리즘에 그대로 적용될 수 있다.As shown in FIG. 6, when power is supplied to the first module 10 and the second module 20 at the time t1 and simultaneously booted, the first module 10 is first booted at the time t2. Assume In this case, even if the second module 20 is booted first, it may be applied to the present algorithm as it is.

이어서, t3 시점에서 제2 모듈(20)의 부팅이 완료되고 제2 모듈(20)은 액티브 상태가 되도록 파워키 이벤트(Power Key Event)를 키프로세스 태스크(Key Process Task)로 전달한다.Subsequently, at time t3, the booting of the second module 20 is completed and the second module 20 transmits a power key event to a key process task.

이어서, t4 시점에서 상기 제2 모듈(20)의 부팅이 완료되면 t초 후에 BOOT_STAT를 부팅 중인 상태(1)에서 부팅 완료 상태(0)로 변경한다.Subsequently, when booting of the second module 20 is completed at time t4, BOOT_STAT is changed from the booting state 1 to the booting completion state 0 after t seconds.

이어서, 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 second module 20 changes the state of PWR_STAT, which is a GPIO Z port indicating a power status, to an active state (0), and at time t6. Maintains the active state (0).

도 7은 멀티미디어 서비스를 제공하는 제1 모듈(10)이 서비스 모드 상태이고 위성방송 서비스를 제공하는 제2 모듈(20)이 리셋되어 재부팅되는 경우의 타이밍도로서, 이러한 경우는 상기 도 5의 설명에서 제1 모듈(10)이 서비스 모드 상태이고 위성방송 서비스를 제공하는 제2 모듈(20)이 대기 상태인 경우와 그 동작이 동일하다.FIG. 7 is a timing diagram when the first module 10 providing the multimedia service is in a service mode and the second module 20 providing the satellite broadcasting service is reset and rebooted. In this case, the description of FIG. The operation is the same as in the case where the first module 10 is in the service mode and the second module 20 providing the satellite broadcasting service is in the standby state.

즉, 도 7에 도시된 바와 같이, t1 시점에서 제2 모듈(20)이 리셋 신호에 의해 다시 부팅이 되어 부팅이 완료되면 t2 시점에서 상기 제2 모듈(20)은 파워키 이벤트(Power Key Event)를 키프로세스 태스크(Key Process Task)로 전달한다.That is, as illustrated in FIG. 7, when the second module 20 is rebooted by the reset signal at time t1 and the booting is completed, the second module 20 may perform a power key event at time t2. ) To the Key Process Task.

이어서, t3 시점에서 상기 제2 모듈(20)의 부팅이 완료되면 t초후에 BOOT_STAT를 1(Booting 중인 상태)에서 0(Booting 완료된 상태)로 변경한다. 이 때 부팅이 완료된 후 곧 바로 BOOT_STAT을 0으로 변경하게 되면 후술하는 예약 켜짐 기능과 혼동될 수 있으므로 t초의 여유시간을 두게 된다. 실제적으로 이 시점에서 제1 모듈(10)은 제2 모듈(20)의 예약 켜짐이 실행되는지를 감시하게 된다.Subsequently, when booting of the second module 20 is completed at time t3, BOOT_STAT is changed from 1 (booting state) to 0 (booting completed state) after t seconds. At this time, if BOOT_STAT is changed to 0 immediately after booting is completed, it may be confused with the scheduled ON function described later, so that there is a time of t seconds. In practice, at this point, the first module 10 monitors whether the reserved on of the second module 20 is executed.

이어서, t4 시점에서 상기 제2 모듈(20)은 키프로세스 태스크(Key Process Task)를 통하여 전달받은 전원 상태(Power Status)를 GPIO Z 포트인 PWR_STAT에 액티브 상태(0)로 변경시킨다.Subsequently, at time t4, the second module 20 changes the power status received through the key process task to the active state (0) in the GPIO Z port PWR_STAT.

이어서, t5 시점에서 제1 모듈(10)은 서비스 모드 상태이므로 상기 제2 모듈(20)은 대기 상태로 저장된 상태로 부팅이 완료된다. 즉, 상기 제2 모듈(20)은 대기상태가 되기 위해서 파워키 이벤트(Power Key Event)를 다시 키 프로세스 태스크(Key Process Task)로 전달한다.Subsequently, since the first module 10 is in the service mode at time t5, the second module 20 is completely booted into the stored state. That is, the second module 20 transmits a power key event back to the key process task in order to become a standby state.

이에 따라, 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 second module 20 changes the state of PWR_STAT, which is a GPIO Z port indicating a power status, to a standby state (1). The standby state 1 is maintained at this point.

도 8은 위성방송 서비스를 제공하는 제2 모듈(20)이 서비스 모드 상태에서 제2 모듈(20)이 리셋되어 재부팅되는 경우의 타이밍도이다.FIG. 8 is a timing diagram when the second module 20 providing the satellite broadcasting service is reset and rebooted in the service mode.

도 8에 도시된 바와 같이, t1 시점에서 제2 모듈(20)만 리셋 신호에 의해 다시 부팅이 되어 t2 시점에서 상기 제2 모듈(20)의 부팅이 완료된다.As shown in FIG. 8, only the second module 20 is rebooted by the reset signal at a time t1 and the booting of the second module 20 is completed at a time t2.

이에 따라, t3 시점에서 상기 제2 모듈(20)은 파워키 이벤트(Power Key Event)를 키 프로세스 태스크(Key Process Task)로 전달한다.Accordingly, at the time t3, the second module 20 transmits a power key event to a key process task.

이어서, t4 시점에서 상기 제2 모듈(20)의 부팅이 완료되면 t초 후에 BOOT_STAT를 부팅 중인 상태(1)에서 부팅 완료 상태(0)로 변경한다.Subsequently, when booting of the second module 20 is completed at time t4, BOOT_STAT is changed from the booting state 1 to the booting completion state 0 after t seconds.

이어서, t5 시점에서 상기 제2 모듈(20)이 액티브 상태에서 다시 부팅을 한 것이므로 상기 제2 모듈(20)의 키 프로세스 태스크(Key Process Task)는 전원 상태(Power Status)를 표시하는 GPIO Z 포트인 PWR_STAT의 상태를 액티브 상태(0)로 변경시키게 되고 t6 시점에서 상기 제2 모듈(20)은 액티브 상태(0)를 유지하게 된다.Subsequently, since the second module 20 reboots in the active state at time t5, the key process task of the second module 20 is a GPIO Z port indicating a power status. The state of PWR_STAT is changed to the active state (0), and the second module 20 maintains the active state (0) at time t6.

도 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 first module 10 changes the power state of the second module 20 through the PWR_CTRL GPIO. That is, when the service mode switch occurs in the service mode of the first module 10 or when the power button or the service mode switch button is pressed in the service mode of the second module 20.

이에 따라, t2 시점에서 상기 제2 모듈(20)은 PWR_CTRL GPIO의 신호 상태가 변경될 때마다 전원 키 값을 받은 것으로 처리하여 키 프로세스 태스크(Key Process Task)로 통보한다.Accordingly, at the time t2, the second module 20 processes the received power key value whenever the signal state of the PWR_CTRL GPIO is changed and notifies the key process task.

이어서, t3 시점에서 상기 제2 모듈(20)의 키 프로세스 태스크(Key Process Task) 는 서비스/대기 상태를 표시하는 GPIO Z 포트인 PWR_STAT의 상태를 액티브 상태(0) 또는 대기상태(1)로 변경시키게 된다.Subsequently, at time t3, the key process task of the second module 20 changes the state of PWR_STAT, which is a GPIO Z port indicating a service / standby state, to an active state (0) or a standby state (1). Let's go.

이 때, 상기 제1 모듈(10)은 PWR_STAT을 통하여 제2 모듈(20)의 액티브/대기 상태를 파악하여 처리할 내용은 아래와 같다.At this time, the first module 10 detects the active / standby state of the second module 20 through PWR_STAT and processes the content as follows.

먼저, 상기 제1 모듈(10)이 서비스 모드인 경우, 서비스 전환의 결과로 PWR_STAT가 액티브 상태(0)로 변경될 때는 제1 모듈(10)은 서비스 모드를 제2 모듈(20)로 전환시킨다.First, when the first module 10 is in the service mode, when the PWR_STAT is changed to the active state (0) as a result of service switching, the first module 10 switches the service mode to the second module 20. .

그리고, 상기 제1 모듈(10)은 PWR_STAT의 상태가 변경되면 상술한 표 2의 경우에 따라 전원 LED의 출력을 제어하게 된다.When the state of the PWR_STAT is changed, the first module 10 controls the output of the power LED according to the case of Table 2 described above.

도 10은 제2 모듈(20)이 대기상태에서 예약 켜짐이 발생한 경우의 타이밍도를 나타낸다.FIG. 10 shows a timing diagram when the second module 20 is turned on in the standby state.

도 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 second module 20 is reached at a time t1, a power key event is applied to a key process task of the second module 20 at a time t2. ) Is passed.

이어서, t3 시점에서 상기 제2 모듈(20)의 키 프로세스 태스크(Key Process Task)가 GPIO Z 포트에 PWR_STAT의 상태를 액티브 상태(0)로 변경시키게 된다.Subsequently, at a time t3, a key process task of the second module 20 changes the state of PWR_STAT to an active state (0) at the GPIO Z port.

이에 따라, t4 시점에서 상기 제1 모듈(10)은 상기 제2 모듈(20)의 PWR_STAT가 액티브 상태(0)이고 BOOT_STAT가 부팅 완료 상태(0)일 때에는 PWR_CTRL GPIO의 상태를 변경시키지 않는다.Accordingly, at time t4, the first module 10 does not change the state of the PWR_CTRL GPIO when the PWR_STAT of the second module 20 is in an active state (0) and the BOOT_STAT is in the boot completion state (0).

도 11은 제1 모듈(10)의 서비스 모드에서 제2 모듈(20)의 예약 켜짐이 발생한 경우의 타이밍도이고, 도 12는 도 11에서 제2 모듈(20)의 예약 켜짐을 취소한 경우의 타이밍도이다.FIG. 11 is a timing diagram when reservation on of the second module 20 occurs in the service mode of the first module 10, and FIG. 12 is case of canceling reservation on of the second module 20 in FIG. Timing diagram.

도 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 second module 20 is reached at a time t1, a power key event is applied to a key process task of the second module 20 at a time t2. Event) is delivered.

이어서, t3 시점에서 상기 제2 모듈(20)의 키 프로세스 태스크(Key Process Task)가 GPIO Z 포트에 PWR_STAT의 상태를 액티브 상태(0)로 변경시킨다.Subsequently, at time t3, a key process task of the second module 20 changes the state of PWR_STAT to the active state (0) at the GPIO Z port.

이어서, t4 시점에서 상기 제1 모듈(10)은 제2 모듈(20)의 PWR_STAT가 액티브 상태(0)이고 BOOT_STAT가 부팅 완료 상태(0)일 때에는 PWR_CTRL GPIO의 상태를 변경시키지 않는다.Subsequently, at time t4, the first module 10 does not change the state of the PWR_CTRL GPIO when the PWR_STAT of the second module 20 is in the active state (0) and the BOOT_STAT is the boot completion state (0).

이어서, t5 시점에서 상기 제1 모듈(10)에서 제2 모듈(20)의 예약 켜짐을 알리는 대화박스를 디스플이하게 되면 사용자의 선택에 따라 하기와 같이 2가지의 과정이 진행되어진다.Subsequently, when the first module 10 displays the dialog box informing that the reservation of the second module 20 is turned on at time t5, two processes are performed as follows according to a user's selection.

즉, 도 11에서와 같이 t6 시점에서 사용자가 제2 모듈(20)의 시청을 선택하였을 경우에는 t7 시점에서 제1 모듈(10)은 서비스 모드 상태를 제2 모듈(20)로 변경시키게 된다.That is, as shown in FIG. 11, when the user selects viewing of the second module 20 at time t6, the first module 10 changes the service mode state to the second module 20 at time t7.

그러나, 도 12에서와 같이 사용자가 t6 시점에서 상기 제2 모듈(20) 시청을 취소하고 계속 제1 모듈(10) 모드를 선택하였을 경우에는 t7 시점에서 상기 제1 모듈(10)은 제2 모듈(20)을 대기상태로 만들기 위해서 PWR_CTRL의 상태를 변경시키게 된다.However, when the user cancels viewing of the second module 20 and continues to select the first module 10 mode at a time t6 as shown in FIG. 12, the first module 10 is a second module at time t7. In order to make (20) stand by, the state of PWR_CTRL is changed.

이에 따라, t8 시점에서 상기 제2 모듈(20)은 PWR_CTRL의 상태 변화를 감지하여 대기상태(1)로 변경된다.Accordingly, at time t8, the second module 20 detects a state change of PWR_CTRL and changes to the standby state 1.

이상에서는 본 발명에서 특정의 바람직한 실시예에 대하여 도시하고 또한 설명하였다. 그러나, 본 발명은 상술한 실시예에 한정되지 아니하며, 특허 청구의 범 위에서 첨부하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형 실시가 가능할 것이다.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)

이기종 모듈간 서비스 제어 시스템에 있어서,In the heterogeneous inter-module service control system, 사용자의 입력신호에 따라 발생된 전원제어신호를 제어하는 제1 모듈과,A first module for controlling a power control signal generated according to a user input signal; 부팅시 부팅상태정보와 상기 제1 모듈로부터 전송되는 전원제어신호에 따라 변경되는 전원상태정보를 상기 제1 모듈로 전송하는 제2 모듈로 구성되며,And a second module transmitting power state information changed according to booting state information and a power control signal transmitted from the first module during booting. 상기 제1 모듈은 상기 제2 모듈로부터 전송되는 부팅상태정보와 전원상태정보를 감지하여 전원램프의 출력상태를 제어하는 것을 특징으로 하는 이기종 모듈간 서비스 제어 시스템.The first module is heterogeneous module service control system, characterized in that for controlling the output state of the power lamp by detecting the boot state information and power state information transmitted from the second module. 제 1항에 있어서,The method of claim 1, 상기 제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 an active state to a standby state. A heterogeneous inter-module service control system. 제 1항에 있어서,The method of claim 1, 상기 제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. A heterogeneous inter-module service control system. 제 1항에 있어서,The method of claim 1, 상기 제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. A heterogeneous inter-module service control system. 제 1항에 있어서,The method of claim 1, 상기 제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. 제 1항에 있어서,The method of claim 1, 상기 제2 모듈이 서비스 상태에서 리셋되어 재부팅되는 경우, 상기 제2 모듈 은 상기 전원상태정보를 대기상태에서 액티브 상태로 변경하는 것을 특징으로 하는 이기종 모듈간 서비스 제어 시스템.And when the second module is reset in a service state and rebooted, the second module changes the power state information from a standby state to an active state. 제 1항에 있어서,The method of claim 1, 상기 제1 모듈은 상기 제2 모듈의 전원상태정보에 따라 서비스 모듈을 전환하는 것을 특징으로 하는 이기종 모듈간 서비스 제어 시스템.The first module is a service control system between heterogeneous modules, characterized in that for switching the service module according to the power state information of the second module. 제 7항에 있어서,The method of claim 7, wherein 상기 제1 모듈은 상기 제2 모듈의 전원상태정보가 액티브 상태인 경우 서비스 모듈을 상기 제2 모듈로 전환하는 것을 특징으로 하는 이기종 모듈간 서비스 제어 시스템.The first module is a heterogeneous service control system, characterized in that for switching the service module to the second module when the power state information of the second module is an active state. 제 8항에 있어서,The method of claim 8, 상기 제1 모듈과 제2 모듈이 대기상태인 경우, 상기 제1 모듈은 전원램프의 제1 색상을 갖는 발광체가 발광될 수 있도록 제어하는 것을 특징으로 하는 이기종 모듈간 서비스 제어 시스템.When the first module and the second module is in the standby state, the first module is a heterogeneous service control system between the different modules, characterized in that for controlling the light emitter having a first color of the power lamp to emit light. 제 8항에 있어서,The method of claim 8, 상기 제1 모듈과 제2 모듈 중 어느 하나의 모듈이 액티브 상태인 경우, 상기 제1 모듈은 전원램프의 제2 색상을 갖는 발광체가 발광될 수 있도록 제어하는 것을 특징으로 하는 이기종 모듈간 서비스 제어 시스템.When any one of the first module and the second module is in an active state, the first module controls the inter-module heterogeneous service control system so that the light emitting body having the second color of the power lamp can be emitted . 제 1항에 있어서,The method of claim 1, 상기 제2 모듈은 대기상태에서 예약 켜짐 신호가 발생된 경우 상기 전원상태정보를 액티브 상태로 변경하는 것을 특징으로 하는 이기종 모듈간 서비스 제어 시스템.And the second module changes the power state information to an active state when a reserved on signal is generated in a standby state. 제 1항에 있어서,The method of claim 1, 상기 제1 모듈이 서비스 상태에서 상기 제2 모듈의 예약 켜짐 신호가 발생된 경우 상기 제1 모듈은 사용자의 예약 시청 선택 여부에 따라 서비스 모듈을 변경하는 것을 특징으로 하는 이기종 모듈간 서비스 제어 시스템.The first module is a heterogeneous service control system, characterized in that when the reservation on signal of the second module is generated in the service state, the first module changes the service module according to whether the user selects the reservation viewing. 제 12항에 있어서,The method of claim 12, 상기 사용자가 예약 시청을 선택한 경우 상기 제1 모듈은 서비스 모듈을 상 기 제2 모듈로 변경하는 것을 특징으로 하는 이기종 모듈간 서비스 제어 시스템.The first module changes the service module to the second module when the user selects the reserved viewing. 제 12항에 있어서,The method of claim 12, 상기 사용자가 예약 시청을 취소한 경우 상기 제2 모듈은 상기 제1 모듈로부터 전송되는 전원제어신호의 변경에 따라 상기 전원상태정보를 대기상태로 변경하는 것을 특징으로 하는 이기종 모듈간 서비스 제어 시스템.And the second module changes the power state information to a standby state according to a change of a power control signal transmitted from the first module when the user cancels the reserved viewing. 이기종 모듈간 서비스 제어 방법에 있어서,In the heterogeneous module service control method, 제1 모듈이 사용자의 입력신호에 따라 발생된 전원제어신호를 제어하는 과정과,A process of controlling, by the first module, a power control signal generated according to a user input signal; 제2 모듈이 부팅시 부팅상태정보와 상기 제1 모듈의 전원제어신호에 따라 변경되는 전원상태정보를 상기 제1 모듈로 전송하는 과정과,Transmitting boot state information and power state information changed according to a power control signal of the first module when the second module is booted to the first module; 상기 제1 모듈이 상기 제2 모듈로부터 전송되는 부팅상태정보와 전원상태정보를 감지하여 전원램프의 출력상태를 제어하는 과정을 포함하는 것을 특징으로 하는 이기종 모듈간 서비스 제어 방법.And controlling the output state of the power lamp by detecting boot state information and power state information transmitted from the second module by the first module.
KR1020050005144A 2005-01-19 2005-01-19 Contorl system and method for service between different module using general purpose input output KR100656522B1 (en)

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)

* Cited by examiner, † Cited by third party
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

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