KR102064794B1 - Method and apparatus for controlling local terminal, and remote controller and local terminal - Google Patents

Method and apparatus for controlling local terminal, and remote controller and local terminal Download PDF

Info

Publication number
KR102064794B1
KR102064794B1 KR1020150104555A KR20150104555A KR102064794B1 KR 102064794 B1 KR102064794 B1 KR 102064794B1 KR 1020150104555 A KR1020150104555 A KR 1020150104555A KR 20150104555 A KR20150104555 A KR 20150104555A KR 102064794 B1 KR102064794 B1 KR 102064794B1
Authority
KR
South Korea
Prior art keywords
message
data
local terminal
remote controller
detecting
Prior art date
Application number
KR1020150104555A
Other languages
Korean (ko)
Other versions
KR20170011637A (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 KR1020150104555A priority Critical patent/KR102064794B1/en
Publication of KR20170011637A publication Critical patent/KR20170011637A/en
Application granted granted Critical
Publication of KR102064794B1 publication Critical patent/KR102064794B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/169Special adaptations of TCP, UDP or IP for interworking of IP based networks with other networks 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/326Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the transport layer [OSI layer 4]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

본 발명은 로컬 단말에 대한 제어 방법 및 원격 컨트롤러 및 로컬 단말에 관한 것이다. 본 발명에 따르면, 기능이 비활성화된 상태에서 원격 컨트롤러로부터 데이터를 수신하는 단계; 상기 수신된 데이터에서 메시지를 검출하는 단계; 상기 검출된 메시지에 따라 상기 기능 중 일부 기능을 활성화하는 단계; 및 상기 활성화된 일부 기능을 실행하는 단계를 포함하는 로컬 단말이 수행하는 제어 방법이 제공된다. 본 발명에 따르면, 제한된 컴퓨팅 환경에서 원격기기의 제어를 감지할 수 있다.The present invention relates to a control method for a local terminal, a remote controller and a local terminal. According to the present invention, there is provided a method, comprising receiving data from a remote controller while a function is inactive; Detecting a message in the received data; Activating some of the functions according to the detected message; And it provides a control method performed by the local terminal comprising the step of executing the activated some function. According to the present invention, it is possible to detect the control of a remote device in a limited computing environment.

Description

로컬 단말에 대한 제어 방법 및 원격 컨트롤러 및 로컬 단말 {METHOD AND APPARATUS FOR CONTROLLING LOCAL TERMINAL, AND REMOTE CONTROLLER AND LOCAL TERMINAL}Control method for local terminal and remote controller and local terminal {METHOD AND APPARATUS FOR CONTROLLING LOCAL TERMINAL, AND REMOTE CONTROLLER AND LOCAL TERMINAL}

본 발명은, 로컬 단말에 대한 제어 방법 및 원격 컨트롤러 및 로컬 단말에 관한 것이다.The present invention relates to a control method for a local terminal, a remote controller and a local terminal.

일반적으로 IT 기기들이 사용하는 인터넷 망은 트랜스포트 계층(transport layer), 네트워크 계층(network layer), 데이터링크 계층(datalink layer), 물리적 계층(physical layer) 등의 단계로 구성된다. TCP, UDP 등의 프로토콜(protocol)은 4계층(layer4), IP 프로토콜은 3계층(layer3), 이더넷(Ethernet) 프로토콜은 2계층(layer2)에 해당된다. 각 layer에는 통신을 수행하는 주체인 소스 노드(source node)와 목적지 노드(destination node)가 있으며 이들은 각 계층(layer)의 프로토콜을 이용하여 통신을 수행하게 된다.In general, the Internet network used by IT devices is composed of a transport layer, a network layer, a datalink layer, and a physical layer. Protocols such as TCP and UDP correspond to layer 4, layer 4 of IP, layer 3 of IP, and layer 2 of Ethernet. Each layer has a source node and a destination node, which are subjects of communication, and they communicate using protocols of each layer.

인터넷에 연결된 임의의 기기가 다른 인터넷 상의 다른 기기와 통신을 하려면 3계층(layer3) 이상에서 연결된다. 따라서, 인터넷 상의 다른 기기와 연결되려면 IP 프로토콜의 사용 필요하며 여기에 더하여 연결방식에 따라 4계층(layer 4)의 TCP, UDP 프로토콜을 사용하게 된다. 이때, 원격의 기기에서 보내는 3, 4계층의 메시지를 인터넷 상의 다른 기기가 직접 받으려면 프로토콜 스택, 프로세서, 저장 공간, 컴퓨팅 파워 등의 과도한 자원이 요구되는 문제점이 있다.Any device connected to the Internet is connected on three or more layers (layer3) to communicate with other devices on the Internet. Therefore, in order to connect with other devices on the Internet, it is necessary to use the IP protocol. In addition, the TCP and UDP protocols of Layer 4 are used depending on the connection method. In this case, in order to directly receive messages of layers 3 and 4 sent from a remote device by another device on the Internet, excessive resources such as a protocol stack, a processor, storage space, and computing power are required.

본 발명은 상술한 문제점을 모두 해결하는 것을 목적으로 한다.The present invention aims to solve all the above-mentioned problems.

본 발명은 인터넷 상에 위치한 기기가 인터넷 상의 다른 기기와 3계층, 4계층의 통신 프로토콜로 연동하여 기기의 동작 상태를 조작하는데 필요한 제한된 컴퓨팅 환경에서의 연동 요청을 검출하는 것을 제공하는 것을 다른 목적으로 한다.It is another object of the present invention to provide a device located on the Internet, which detects an interworking request in a limited computing environment required to operate an operation state of a device by interworking with another device on the Internet using a third and fourth layer communication protocol. do.

본 발명은, 인터넷 상의 기기가 인터넷 상의 다른 기기와 3계층, 4계층의 통신 프로토콜로 연동하여 기기의 동작 상태를 조작하는데 필요한 제한된 컴퓨팅 환경에서의 연동 요청을 검출하는 시스템의 구현하는 것을 또 다른 목적으로 한다.It is still another object of the present invention to implement a system for detecting an interworking request in a limited computing environment, in which a device on the Internet interoperates with another device on the Internet using a three- or four-layer communication protocol to manipulate an operating state of the device. It is done.

상기한 바와 같은 본 발명의 목적을 달성하고, 후술하는 본 발명의 특징적인 효과를 실현하기 위한, 본 발명의 특징적인 구성은 하기와 같다.The characteristic structure of this invention for achieving the objective of this invention mentioned above, and realizing the characteristic effect of this invention mentioned later is as follows.

일실시예에 따른, 로컬 단말이 수행하는 제어 방법에 있어서, 로컬 단말이 수행하는 제어 방법은, 기능이 비활성화된 상태에서 원격 컨트롤러로부터 데이터를 수신하는 단계; 상기 수신된 데이터에서 메시지를 검출하는 단계; 상기 검출된 메시지에 따라 상기 기능 중 일부 기능을 활성화하는 단계; 및 상기 활성화된 일부 기능을 실행하는 단계를 포함할 수 있다.In one embodiment, a control method performed by a local terminal, the control method performed by a local terminal includes: receiving data from a remote controller while a function is inactivated; Detecting a message in the received data; Activating some of the functions according to the detected message; And executing the activated some functions.

다른 실시예에 따른, 로컬 단말이 수행하는 제어 방법에 있어서, 상기 메시지를 검출하는 단계는, 상기 수신된 데이터를 처리하여 메시지를 검출하고, 상기 수신된 데이터는, 상기 원격 컨트롤러로부터 연결 망을 통해 들어온 데이터인 것을 포함할 수 있다.In a control method performed by a local terminal according to another embodiment, the detecting of the message may include processing the received data to detect the message, and the received data may be connected to the remote controller through a connection network. It may include the data coming in.

또 다른 실시예에 따른, 로컬 단말이 수행하는 제어 방법에 있어서, 상기 메시지를 검출하는 단계는, 상기 수신된 데이터에서 트랜스포트 계층(transport layer)의 데이터 시작 오프셋(offset)을 계산하여 메시지를 검출하는 것을 포함할 수 있다.In a control method performed by a local terminal according to another embodiment, the detecting of the message may include detecting a message by calculating a data start offset of a transport layer from the received data. It may include doing.

또 다른 실시예에 따른, 로컬 단말이 수행하는 제어 방법에 있어서, 상기 메시지를 검출하는 단계는, 상기 수신된 데이터의 프레임에서 설정된 위치의 비트 패턴에 따라 추가되는 필드의 길이를 계산하는 것을 포함할 수 있다.In a control method performed by a local terminal according to another embodiment, the detecting of the message may include calculating a length of a field added according to a bit pattern of a position set in a frame of the received data. Can be.

일실시예에 따른, 원격 컨트롤러가 수행하는 로컬 단말에 대한 제어 방법에 있어서, 원격 컨트롤러가 수행하는 로컬 단말에 대한 제어 방법은, 기능이 비활성화된 로컬 단말이 상기 기능 중 일부의 기능을 활성화하도록 제어하는 메시지를 생성하는 단계; 및 상기 생성된 메시지를 연결 망을 통해 상기 기능이 비활성화된 로컬 단말로 송신하는 단계를 포함할 수 있다.In a control method for a local terminal performed by a remote controller according to an embodiment, the control method for a local terminal performed by a remote controller may be configured to control a local terminal having a function deactivated to activate some of the functions. Generating a message to say; And transmitting the generated message to a local terminal in which the function is deactivated through a connection network.

일실시예에 따른, 로컬 단말에 있어서, 로컬 단말은, 기능이 비활성화된 상태에서 원격 컨트롤러로부터 데이터를 수신하는 데이터 수신부; 상기 수신된 데이터에서 메시지를 검출하는 메시지 검출부; 상기 검출된 메시지에 따라 상기 기능 중 일부 기능을 활성화하는 기능 활성화부; 및 상기 활성화된 일부 기능을 실행하는 활성화 기능 실행부를 포함할 수 있다.According to one embodiment, a local terminal, comprising: a data receiving unit receiving data from a remote controller in a state in which a function is deactivated; A message detector for detecting a message in the received data; A function activation unit for activating some of the functions according to the detected message; And an activation function execution unit that executes the activated partial function.

다른 실시예에 따른, 로컬 단말에 있어서, 상기 메시지 검출부는, 상기 수신된 데이터를 처리하여 메시지를 검출하고, 상기 수신된 데이터는, 상기 원격 컨트롤러로부터 연결 망을 통해 들어온 데이터인 것을 포함할 수 있다.According to another embodiment of the present disclosure, in the local terminal, the message detector may process the received data to detect a message, and the received data may include data input from the remote controller through a connection network. .

다른 실시예에 따른, 로컬 단말에 있어서, 상기 메시지 검출부는, 상기 수신된 데이터에서 트랜스포트 계층의 데이터 시작 오프셋을 계산하여 메시지를 검출하는 것을 포함할 수 있다.According to another embodiment, in the local terminal, the message detector may include detecting a message by calculating a data start offset of a transport layer from the received data.

또 다른 실시예에 따른, 상기 메시지 검출부에 있어서, 상기 메시지 검출부는, 상기 수신된 데이터의 프레임에서 설정된 위치의 비트 패턴에 따라 추가되는 필드의 길이를 계산하는 것을 포함할 수 있다.According to another embodiment, in the message detector, the message detector may include calculating a length of a field added according to a bit pattern of a position set in a frame of the received data.

일실시예에 따른, 원격 컨트롤러에 있어서, 원격 컨트롤러는, 기능이 비활성화된 로컬 단말이 상기 기능 중 일부의 기능을 활성화하도록 제어하는 메시지를 생성하는 메시지 생성부; 및 상기 생성된 메시지를 연결 망을 통해 상기 기능이 비활성화된 로컬 단말로 송신하는 메시지 송신부를 포함할 수 있다.According to one embodiment, a remote controller, comprising: a message generator for generating a message for controlling a local terminal whose function is deactivated to activate a function of some of the functions; And a message transmitter for transmitting the generated message to a local terminal in which the function is deactivated through a connection network.

본 발명은, 인터넷 상의 원격 기기로부터 직접 제어 메시지를 수신할 수 있다. 그러므로, 본 발명은, 기기의 상태를 변경할 수 있는 효과가 있다.The present invention can receive a control message directly from a remote device on the Internet. Therefore, the present invention has the effect of changing the state of the device.

본 발명은, 매우 제한된 컴퓨팅 환경에서 원격기기의 제어를 감지하는 것을 제공할 수 있다. 그러므로, 본 발명은, 매우 제한된 컴퓨팅 환경에서 원격기기의 제어 감지를 구현할 수 있다는 효과가 있다.The present invention may provide for sensing the control of a remote device in a very limited computing environment. Therefore, the present invention has the effect that it is possible to implement control sensing of a remote device in a very limited computing environment.

도 1은 본 발명의 일실시예에 따른 로컬 단말이 수행하는 제어 방법으로서, 제어 방법을 나타내는 흐름도이다.
도 2는 본 발명의 일실시예에 따른 원격 컨트롤러가 수행하는 로컬 단말에 대한 제어 방법을 나타내는 흐름도이다.
도 3은 본 발명의 일실시예에 따른 전체 시스템을 나타내는 개념도이다.
도 4는 본 발명의 일실시예에 따른 프레임 구조와 패킷의 구성을 나타내는 것이다.
도 5는 본 발명의 일실시예에 따른 프레임에서 데이터 시작 위치를 계산하는 흐름을 나타내는 것이다.
도 6은 본 발명의 일실시예에 따른 프레임에서 데이터의 시작 주소를 적용하는 것을 나타내는 것이다.
도 7은 본 발명의 일실시예에 따른 로컬 단말로서, 로컬 단말을 나타내는 블록도이다.
도 8은 본 발명의 일실시예에 따른 원격 컨트롤러로서, 원격 컨트롤러를 나타내는 블록도이다.
1 is a flowchart illustrating a control method as a control method performed by a local terminal according to an embodiment of the present invention.
2 is a flowchart illustrating a control method for a local terminal performed by a remote controller according to an embodiment of the present invention.
3 is a conceptual diagram illustrating an entire system according to an embodiment of the present invention.
4 illustrates a frame structure and a packet configuration according to an embodiment of the present invention.
5 illustrates a flow of calculating a data start position in a frame according to an embodiment of the present invention.
6 illustrates applying a start address of data in a frame according to an embodiment of the present invention.
7 is a block diagram illustrating a local terminal as a local terminal according to an embodiment of the present invention.
8 is a block diagram illustrating a remote controller as a remote controller according to an embodiment of the present invention.

이하, 본 발명의 실시예를 첨부된 도면을 참조하여 상세하게 설명한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

로컬 단말이 수행하는 제어 방법은, 비활성화된 상태에서 네트워크에 연결되어 원격의 요청을 받아 시스템을 활성화한 후 본격적인 동작과 네트워크 연동이 이루어질 수 있다. 이때, 로컬 단말은, 비활성화 상태에서 가능한 작은 자원을 사용하여 소비전력을 줄일 수 있다. The control method performed by the local terminal may be connected to a network in a deactivated state, activate a system in response to a remote request, and perform full-scale operation and network interworking. In this case, the local terminal may reduce power consumption by using as little resources as possible in an inactive state.

일실시예에 따르면, 로컬 단말이 수행하는 제어 방법은, 인터넷상에서 원격 기기인 원격 컨트롤러의 제어 메시지를 검출할 수 있다. 예를 들어, IP 네트워크를 통해서 데이터를 받기 위해서는 통신에 필요한 제어와 데이터 처리를 수행하는 통신 프로토콜 스택을 이용하게 된다. 이때, 통신 프로토콜 스택을 이용하면 복잡한 제어나 데이터 처리를 스택에서 처리함으로 쉽게 연동 로직을 구현할 수 있으나, 때로 하드웨어나 소비전력이 제한적인 환경에서 연동을 수행해야 하는 경우가 있다. 로컬 단말이 수행하는 제어 방법은, 이와 같은 매우 한정된 컴퓨팅과 저장공간을 이용하여 UDP/IP 패킷을 감지할 수 있으며, 한정된 컴퓨팅과 저장공간을 이용하여 UDP/IP 패킷을 감지하는 시스템을 구현할 수 있다.According to an embodiment, the control method performed by the local terminal may detect a control message of a remote controller which is a remote device on the Internet. For example, in order to receive data through an IP network, a communication protocol stack that performs control and data processing necessary for communication is used. At this time, if the communication protocol stack is used, the interlocking logic can be easily implemented by processing complex control or data processing in the stack. However, sometimes the interworking should be performed in an environment in which hardware or power consumption is limited. The control method performed by the local terminal may detect UDP / IP packets using such limited computing and storage space, and may implement a system for detecting UDP / IP packets using limited computing and storage space. .

도 1은 본 발명의 일실시예에 따른 로컬 단말이 수행하는 제어 방법으로서, 제어 방법을 나타내는 흐름도이다.1 is a flowchart illustrating a control method as a control method performed by a local terminal according to an embodiment of the present invention.

로컬 단말이 수행하는 제어 방법은, 하기와 같은 단계를 포함하여 이루어 질 수 있다.The control method performed by the local terminal may be performed including the following steps.

단계(S101)에서, 로컬 단말은, 기능이 비활성화된 상태에서 원격 컨트롤러로부터 데이터를 수신할 수 있다. 이때, 데이터를 수신한 로컬 단말은, 원격 컨트롤러에 의해 생성된 메시지를 검출하기 위하여, 망 연동을 감지하는 기능이 활성화되고, 다른 주 기능은 비활성화 상태일 수 있다. In step S101, the local terminal may receive data from the remote controller while the function is deactivated. In this case, in order to detect a message generated by the remote controller, the local terminal receiving the data may be activated with a function of detecting network interworking, and another main function may be in an inactive state.

단계(S102)에서, 로컬 단말은, 수신된 데이터에서 메시지를 검출 할 수 있다. 구체적으로, 로컬 단말은, 수신된 데이터를 처리하여 메시지를 검출할 수 있다. 이때, 수신된 데이터는, 원격 컨트롤러로부터 연결 망을 통해 들어온 데이터일 수 있다. 또한, 로컬 단말은, 수신된 데이터에서 트랜스포트 계층(transport layer)의 데이터 시작 오프셋(offset)을 계산하여 메시지를 검출할 수 있다. 또한, 로컬 단말은, 수신된 데이터의 프레임에서 설정된 위치의 비트 패턴에 따라 추가되는 필드의 길이를 계산할 수도 있다. 예를 들어, 로컬 단말은, 가변되는 필드의 길이를 계산하여, 가변된 필드의 길이를 고려하여, 데이터의 시작 오프셋을 계산할 수 있다.In step S102, the local terminal may detect a message in the received data. Specifically, the local terminal may process the received data to detect the message. In this case, the received data may be data input through a connection network from a remote controller. Also, the local terminal may detect a message by calculating a data start offset of a transport layer from the received data. In addition, the local terminal may calculate the length of the added field according to the bit pattern of the position set in the frame of the received data. For example, the local terminal may calculate the start offset of the data by calculating the length of the variable field and considering the length of the variable field.

단계(S103)에서, 로컬 단말은, 검출된 메시지에 따라 기능 중 일부 기능을 활성화 할 수 있다. 예를 들어, 검출된 메시지가 “A”라는 특정 기능을 제어하는 메시지일 경우, 로컬 단말은, “A”라는 특정 기능을 활성화할 수 있다. 또한, 예를 들어, 로컬 단말이 셋톱박스일 경우, 방송 서비스 제공 기능을 활성화할 수 있다.In step S103, the local terminal may activate some of the functions according to the detected message. For example, if the detected message is a message for controlling a specific function of "A", the local terminal may activate a specific function of "A". In addition, for example, when the local terminal is a set-top box, the broadcast service providing function may be activated.

단계(S104)에서, 로컬 단말은, 활성화된 일부 기능을 실행 할 수 있다. 예를 들어, “A”라는 특정 기능이 활성화될 경우, 로컬 단말은 “A”라는 특정 기능을 실행할 수 있다. 또한, 예를 들어, 로컬 단말이 셋톱박스일 경우, 방송 서비스 제공 기능을 실행할 수 있다.In step S104, the local terminal may execute some activated functions. For example, when a specific function of "A" is activated, the local terminal may execute a specific function of "A". In addition, for example, when the local terminal is a set-top box, the broadcast service providing function may be executed.

도 2는 본 발명의 일실시예에 따른 원격 컨트롤러가 수행하는 로컬 단말에 대한 제어 방법을 나타내는 흐름도이다.2 is a flowchart illustrating a control method for a local terminal performed by a remote controller according to an embodiment of the present invention.

원격 컨트롤러가 수행하는 로컬 단말에 대한 제어 방법은, 하기와 같은 단계를 포함하여 이루어 질 수 있다.The control method for the local terminal performed by the remote controller may include the following steps.

단계(S201)에서, 원격 컨트롤러는, 기능이 비활성화된 로컬 단말이 기능 중 일부의 기능을 활성화하도록 제어하는 메시지를 생성할 수 있다. 예를 들어, 원격 컨트롤러는, “A”라는 기능이 활성화되도록 제어하는 메시지를 생성할 수 있다.In step S201, the remote controller may generate a message for controlling a local terminal whose function is deactivated to activate some of the functions. For example, the remote controller may generate a message that controls the function "A" to be activated.

단계(S202)에서, 원격 컨트롤러는, 생성된 메시지를 연결 망을 통해 기능이 비활성화된 로컬 단말로 송신할 수 있다. 예를 들어, 원격 컨트롤러는, “A”라는 기능이 비활성화된 로컬 단말로 생성된 메시지를 송신할 수 있다.In step S202, the remote controller may transmit the generated message to the local terminal in which the function is deactivated through the connection network. For example, the remote controller may transmit a generated message to the local terminal in which the function "A" is deactivated.

인터넷을 통해 원격에 있는 기기와 연동을 통해 비활성화 상태의 로컬 단말을 활성화하는 경우 로컬 단말이 WOL(Wake On LAN)을 지원하거나 TCP, UDP등 4계층(layer4) 이하의 프로토콜을 기기의 비활성화 상태에서 수행할 수 있어야 한다. 또한, WOL을 사용하는 경우, 2계층(layer2)의 매직(Magic) 패킷을 감지할 수 있다. 이때, 로컬 단말의 활성화를 위해 인터넷 상 원격 컨트롤러의 요청을 4계층 또는 3계층(layer3)에서 받아 이를 해석하고 이에 대응되는 2계층(layer2)의 WOL 패킷을 로컬 단말의 서브넷에 브로드캐스팅(broadcasting)하는 중계 역할의 게이트웨이가 필요하다.When activating a local terminal in a disabled state through interworking with a device remotely through the Internet, the local terminal supports WOL (Wake On LAN) or a protocol of layer 4 or lower such as TCP, UDP, etc. You should be able to do it. In addition, when using the WOL, it is possible to detect the magic packet of the layer 2 (layer2). At this time, in order to activate the local terminal, the request of the remote controller on the Internet is received from the 4th or 3rd layer (layer3), interpreted, and broadcasts the corresponding WOL packet of the 2nd layer (layer2) to the subnet of the local terminal. You need a gateway with a relay role.

WOL과 게이트웨이를 사용하지 않고 인터넷 상의 원격 컨트롤러에서 보내는 3계층 및 4계층의 메시지를 직접 받으려면 로컬 단말이 3계층 및 4계층의 프로토콜을 수행해야 한다. 따라서, 이를 위한 프로토콜 스택과 더불어 프로세서, 저장공간이 필요하다. 이때, 로컬 단말이 종래기술로 수행시 저장공간, 컴퓨팅 파워 측면에서 비활성화 기기가 제공하기에 과도한 자원이 요구될 수 있다.In order to receive messages from Layer 3 and Layer 4 directly from a remote controller on the Internet without using WOL and gateways, the local terminal must implement Layer 3 and Layer 4 protocols. Therefore, a processor and storage space are required along with the protocol stack for this. In this case, when the local terminal performs the conventional technology, excessive resources may be required for the deactivation device to provide in terms of storage space and computing power.

일실시예에 따르면, 로컬 단말이 수행하는 제어 방법은, 인터넷 상에 위치한 기기가 인터넷 상의 다른 기기와 3계층 및 4 계층의 통신 프로토콜로 연동하여 기기의 동작 상태를 조작하는데 필요한 제한된 컴퓨팅 환경에서의 연동 요청 검출할 수 있다. 또한, 제어 방법은, 인터넷 상에 위치한 기기가 인터넷 상의 다른 기기와 3계층 및 4 계층의 통신 프로토콜로 연동하여 기기의 동작 상태를 조작하는데 필요한 제한된 컴퓨팅 환경에서의 연동 요청을 검출하는 시스템을 구현할 수 있다.According to an embodiment, a control method performed by a local terminal may be performed in a limited computing environment in which a device located on the Internet interoperates with another device on the Internet using a three-layer and four-layer communication protocol to manipulate an operating state of the device. The interworking request can be detected. In addition, the control method may implement a system that detects an interworking request in a limited computing environment required for a device located on the Internet to interoperate with another device on the Internet using a three- and four-layer communication protocol to manipulate the operating state of the device. have.

도 3은 본 발명의 일실시예에 따른 전체 시스템을 나타내는 개념도이다.3 is a conceptual diagram illustrating an entire system according to an embodiment of the present invention.

도 3을 참조하면, 전체 시스템의 구성 요소를 알 수 있다. 먼저, 인터넷을 통해 연결된 원격 컨트롤러(310)가 비활성화 되어있는 로컬 단말(320)을 제어하여 활성화시킬 수 있다. 원격 컨트롤러(310)는 인터넷을 통해 4 계층(또는 3 계층)로 로컬 단말(320)을 활성화시키는 제어 메시지를 송신할 수 있다. 이때, 로컬 단말(320)은 비활성화되어 있을 수 있다. 비활성화 상태의 로컬 단말은 망 연동을 감지하는 모듈이 포함된 메시지 검출부(321)가 활성화되고 나머지 다른 기능들은 비활성화 상태일 수 있다. 이때, 메시지 검출부(321)가 원격 컨트롤러(310)의 메시지를 감지하면 기기를 활성화하는 모듈이 포함된 기능 활성화부(322)를 통하여 활성화 상태로 실행하는 모듈이 포함된 활성화 기능 실행부(323)를 활성화시킬 수 있다. 또한, 활성화 기능 실행부(323)는 로컬 단말 본연의 기능을 수행하기 위한 기능을 포함할 수도 있다.Referring to Figure 3, it can be seen the components of the overall system. First, the remote controller 310 connected through the Internet may be activated by controlling the local terminal 320 which is inactivated. The remote controller 310 may transmit a control message for activating the local terminal 320 to layer 4 (or layer 3) via the Internet. At this time, the local terminal 320 may be inactive. The local terminal in the deactivated state may be activated with a message detector 321 including a module for detecting network interworking, and the other functions may be deactivated. In this case, when the message detector 321 detects a message from the remote controller 310, the activation function execution unit 323 including a module executing in an activated state through the function activation unit 322 including a module for activating the device. Can be activated. In addition, the activation function execution unit 323 may include a function for performing an inherent function of the local terminal.

일실시예에 따라서, 메시지 검출부(321)는 비활성화 상태에서 원격 컨트롤러(310)의 제어 메시지를 검출하는 매우 제한적인 기능만을 수행하며 제어 메시지 검출 후 활성화 상태 실행 모듈(323)이 동작을 시작하면 비활성화될 수 있다. 다음으로, 필요한 연동이나 통신은 활성화 상태 실행 모듈(323)에 의해서 수행될 수 있다. 기능 활성화부(322)는 필요에 따라서 별도의 기능 모듈로 분리될 수도 있고, 메시지 검출부(321)에 포함되어 함께 수행될 수도 있다. According to an embodiment, the message detector 321 performs only a very limited function of detecting a control message of the remote controller 310 in an inactive state, and deactivates when the activation state execution module 323 starts operation after detecting the control message. Can be. Next, necessary interworking or communication may be performed by the activation state execution module 323. The function activator 322 may be separated into a separate function module as needed, or may be included in the message detector 321 and performed together.

또한, 일실시예에 따르면, 비활성화 상태의 로컬 단말(320)은, 메시지 검출부(321)가 기능을 수행하기 위해서 하드웨어적으로 컴퓨팅 파워와 저장공간이 요구될 수 있다. 또한, 로컬 단말(320)은, 네트워크에서 입력을 받기 위한 이더넷(Ethernet) 컨트롤러에 대한 접근이 필요할 수도 있다. 또한, 로컬 단말(320)은 활성화 상태에서 제공되는 컴퓨팅 파워와 구분되는 저사양의 컴퓨팅과 저장공간을 제공을 통해 비활성화 상태의 자원을 절약할 수도 있다. 이때, 작은 자원으로 비활성화 상태에서 망 연동을 감지하는 메시지 검출부(321)가 수행될수록 활성화 상태와 비교하여 높은 자원 절감 효과를 얻을 수 있다. 또한, 로컬 단말(320)이 높은 자원 절감 효과를 얻기 위하여, 메시지 검출부(321)는 간단하게 구성될 수도 있다.In addition, according to an embodiment, the local terminal 320 in an inactive state may require computing power and storage space in hardware in order for the message detector 321 to perform a function. In addition, the local terminal 320 may need access to an Ethernet controller for receiving input from the network. In addition, the local terminal 320 may save resources in an inactive state by providing a low specification computing and storage space distinguished from the computing power provided in the activated state. In this case, as the message detector 321 for detecting network interworking in a deactivated state with a small resource is performed, a high resource saving effect can be obtained as compared with the activated state. In addition, in order for the local terminal 320 to obtain a high resource saving effect, the message detector 321 may be simply configured.

예를 들어, 메시지 검출부(321)는, 커널, TCP/IP 스택과 이더넷 장치 관리자로 구성될 수 있으나, 비활성화 상태에서도 높은 자원소비가 발생할 수 있으므로, 비활성화 상태의 자원 절감을 달성하기 위하여 다른 구성으로 이루어 질 수도 있다.For example, the message detector 321 may be configured as a kernel, a TCP / IP stack, and an Ethernet device manager, but high resource consumption may occur even in a deactivated state. It can also be done.

일실시예에 따르면, 메시지 검출부(321)는, 망 연동을 감지하기 위하여, 커널, 프로토콜 스택 및 커널용 장치 관리자 없이, 이더넷을 통해 들어온 데이터를 간단한 로직으로 처리하여 원격 컨트롤러의 활성화 제어 메시지를 검출할 수 있다. 예를 들면, 메시지 검출부(321)는, 이더넷을 통해 들어오는 데이터에서 4 계층의 데이터 시작 오프셋(offset)을 계산할 수 있다.According to an embodiment, the message detector 321 detects an activation control message of a remote controller by processing data input through Ethernet with simple logic without detecting a kernel, a protocol stack, and a kernel device manager to detect network interworking. can do. For example, the message detector 321 may calculate a data start offset of four layers from data received through Ethernet.

도 4는 본 발명의 일실시예에 따른 프레임 구조와 패킷의 구성을 나타내는 것일 수 있다.4 may show a frame structure and a packet structure according to an embodiment of the present invention.

도 4를 참조하면, 로컬 단말이 이더넷 프레임을 수신하였을 경우의 프레임의 구조를 알 수 있다. 이더넷 프레임에서 이더넷 헤더(Ethernet Header, 410)는 Destination MAC, Source MAC, Optional Field, EtherType(EthernetType)으로 구성될 수 있다. 이때, Preamble, SFD는 이더넷 컨트롤러에서 사용(consume)되는 경우가 많으므로 고려되지 않을 수도 있다. 또한, 경우에 따라서, 로컬 단말은, 구현 환경에 따라 Preamble과 SFD가 존재하는 경우, 이 길이를 산식에서 합산할 수도 있다.Referring to Figure 4, it can be seen the structure of the frame when the local terminal receives the Ethernet frame. In the Ethernet frame, the Ethernet header 410 may be composed of a destination MAC, a source MAC, an optional field, and an ethertype (ethernettype). In this case, Preamble and SFD may not be considered because they are often used in an Ethernet controller. In some cases, the local terminal may add the lengths in the formula when the preamble and the SFD exist according to the implementation environment.

일실시예에 따르면, 이더넷 프레임 및 UDP/IP 패킷의 구성은 하기와 같이 구성될 수 있다.According to one embodiment, the configuration of the Ethernet frame and UDP / IP packet may be configured as follows.

예를 들면, 이더넷 헤더(410)는 기본 14바이트에 추가적인 optional field로 구성될 수 있다. Optional field는 IEEE 802.Q 표준에 의해 정의될 수 있다. 이때, Optional field는, 입력 프레임의 13번째, 14번째 바이트의 비트(bit) 패턴에 따라 유무가 결정될 수도 있다. 또한, 802.Q 표준에 의해 0x8000을 갖는 경우 4바이트 길이의 optional 필드가 추가되며 0x88a8의 경우 8바이트의 필드가 추가될 수도 있다. 또한, 예를 들면, IP 헤더(IP Header, 420)의 경우 IP 헤더의 첫 번째 바이트의 하위 4비트가 길이를 나타내며 이를 왼쪽으로 2 비트(bit) 쉬프트 레프트(shift left)처리하면 헤더(Header)의 길이가 될 수 있다. 또한, 예를 들면, 4 계층의 UDP 헤더(UDP Header, 430)의 경우 시작부터 8바이트 뒤에 데이터가 시작되도록 할 수 있다. For example, the Ethernet header 410 may be configured with an optional field additional to the basic 14 bytes. Optional fields may be defined by the IEEE 802.Q standard. In this case, the optional field may be determined according to bit patterns of the 13th and 14th bytes of the input frame. In addition, according to the 802.Q standard, an optional field having a length of 4 bytes is added when having 0x8000, and an 8 byte field may be added when having 0x88a8. Also, for example, in the case of the IP header 420, the lower 4 bits of the first byte of the IP header represent a length, and when this is left shifted by 2 bits to the left, a header is performed. Can be the length of In addition, for example, in case of the 4-layer UDP header 430, data may be started 8 bytes after the start.

또한, 일실시예에 따르면, 원격 컨트롤러로부터 로컬 단말의 이더넷에 도착된 프레임에서 UDP 프로토콜을 이용하여, 로컬 단말은, 원격 컨트롤러로부터 수신된 제어 메시지의 오프셋을 하기와 같은 흐름으로서 계산할 수도 있다.Further, according to an embodiment, using the UDP protocol in a frame arriving from the remote controller to the Ethernet of the local terminal, the local terminal may calculate the offset of the control message received from the remote controller as the following flow.

도 5는 본 발명의 일실시예에 따른 프레임에서 데이터 시작 위치를 계산하는 흐름을 나타내는 것이다. 5 illustrates a flow of calculating a data start position in a frame according to an embodiment of the present invention.

도 5를 참조하면, 로컬 단말이, 이더넷 프레임에서 4 계층 데이터의 시작 위치를 계산하는 흐름을 알 수 있다.Referring to FIG. 5, it can be seen that a local terminal calculates a starting position of 4-layer data in an Ethernet frame.

단계(S510)에서, 로컬 단말은, 이더넷으로부터의 입력을 대기할 수 있다.In step S510, the local terminal may wait for an input from Ethernet.

단계(S520) 내지 단계 (S543)에서, 로컬 단말은, 이더넷으로부터 입력이 도착하면 해당 입력을 변수 IN에 복사한 후 13, 14번째 바이트의 값을 이용하여 옵션 필드의 값을 계산할 수 있다. In operation S520 to operation S543, when an input arrives from Ethernet, the local terminal may calculate the value of the option field using the 13th and 14th byte values after copying the input to the variable IN.

단계(S550)에서, 로컬 단말은, IP 헤더의 길이 자료의 위치를 계산할 수 있다. 또한, 로컬 단말은, 해당 위치의 값으로 IP 헤더의 길이를 추출할 수 있다. 또한, 로컬 단말은, 해당 값을 IP 헤더의 시작위치와 합산한 후 UDP 패킷의 데이터 오프셋 값 8을 더하여 UDP 데이터의 위치를 계산할 수도 있다.In step S550, the local terminal may calculate the position of the length data of the IP header. In addition, the local terminal may extract the length of the IP header by the value of the corresponding position. In addition, the local terminal may calculate the position of the UDP data by adding the corresponding value to the start position of the IP header and adding the data offset value 8 of the UDP packet.

일실시예에 따르면, 단계(S510) 내지 단계(S550) 중 적어도 하나는, 실제 UDP를 통해서 발생된 이더넷 샘플 프레임 자료에 하기와 같이 적용될 수 있다.According to an embodiment, at least one of steps S510 to S550 may be applied to Ethernet sample frame data generated through actual UDP as follows.

도 6은 본 발명의 일실시예에 따른 프레임에서 데이터의 시작 주소를 적용하는 것을 나타내는 것이다.6 illustrates applying a start address of data in a frame according to an embodiment of the present invention.

도 6을 참조하면, 이더넷 프레임에서 UDP 데이터의 시작 주소를 적용한 것을 알 수 있다.Referring to FIG. 6, it can be seen that the start address of the UDP data is applied to the Ethernet frame.

예를 들면, 이더넷 헤더에서 Source, Destination MAC 주소 다음의 데이터 값이 0x0800이므로 Optional field의 길이는 0일 수 있다. 이때, IP Header의 IHL의 값은 “0x45 & 0x0f << 2” 이므로 0x10100 즉, 20이 될 수 있다. 또한, 14+20+8로 UDP의 데이터 시작 오프셋은 42가 될 수 있다. 이때, 로컬 단말은, 샘플에서 “Hello, World!”를 이 위치에서 검출할 수 있다.For example, since the data value after the source and destination MAC addresses in the Ethernet header is 0x0800, the length of the optional field may be zero. At this time, since the IHL value of the IP header is “0x45 & 0x0f << 2”, it may be 0x10100, that is, 20. In addition, the data start offset of UDP may be 42 as 14 + 20 + 8. At this time, the local terminal can detect "Hello, World!" At this position in the sample.

도 7은 본 발명의 일실시예에 따른 로컬 단말로서, 로컬 단말을 나타내는 블록도이다.7 is a block diagram illustrating a local terminal as a local terminal according to an embodiment of the present invention.

도 7을 참조하면, 로컬 단말(700)은, 데이터 수신부(710), 메시지 검출부(720), 기능 활성화부(730), 활성화 기능 실행부(740)를 포함하여 구성될 수 있다. 경우에 따라서, 로컬 단말(700)은, 메시지 검출부(720), 기능 활성화부(730)로 구성될 수도 있다. 또한, 로컬 단말(700)은, 개인 컴퓨터 또는 모바일 단말과 같은 컴퓨팅 기기일 수도 있으나, 이에 한정되지는 않는다. 이때, 로컬 단말(700)은, 메모리, 프로세서, 데이터 송수신기 중 적어도 하나를 포함하여 구성될 수 있으나, 이에 한정되지는 않는다. 또한, 데이터 수신부(710), 메시지 검출부(720), 기능 활성화부(730), 활성화 기능 실행부(740)는, 메모리, 프로세서, 데이터 송수신기 중 적어도 하나를 포함하여 구성될 수 있으나, 이에 한정되지는 않는다.Referring to FIG. 7, the local terminal 700 may include a data receiver 710, a message detector 720, a function activation unit 730, and an activation function execution unit 740. In some cases, the local terminal 700 may include a message detector 720 and a function activator 730. In addition, the local terminal 700 may be a computing device such as a personal computer or a mobile terminal, but is not limited thereto. In this case, the local terminal 700 may include at least one of a memory, a processor, and a data transceiver, but is not limited thereto. The data receiver 710, the message detector 720, the function activator 730, and the activation function executor 740 may include at least one of a memory, a processor, and a data transceiver, but are not limited thereto. Does not.

데이터 수신부(710)는, 기능이 비활성화된 상태에서 원격 컨트롤러로부터 데이터를 수신할 수 있다.The data receiver 710 may receive data from a remote controller while a function is inactivated.

메시지 검출부(720)는, 수신된 데이터에서 메시지를 검출 할 수 있다. 예를 들면, 메시지 검출부(720)는, 수신된 데이터를 처리하여 메시지를 검출 할 수 있다. 이때, 수신된 데이터는, 원격 컨트롤러로부터 연결 망을 통해 들어온 데이터일 수 있다. 또한, 메시지 검출부(720)는, 수신된 데이터에서 트랜스포트 계층(transport layer)의 데이터 시작 오프셋(offset)을 계산하여 메시지를 검출 할 수도 있다. 이때, 메시지 검출부(720)는, 수신된 데이터의 프레임에서 설정된 위치의 비트 패턴에 따라 추가되는 필드의 길이를 계산 할 수도 있다.The message detector 720 may detect a message from the received data. For example, the message detector 720 may process the received data to detect the message. In this case, the received data may be data input through a connection network from a remote controller. In addition, the message detector 720 may detect a message by calculating a data start offset of a transport layer from the received data. In this case, the message detector 720 may calculate the length of the added field according to the bit pattern of the position set in the frame of the received data.

기능 활성화부(730)는, 검출된 메시지에 따라 기능 중 일부 기능을 활성화 할 수 있다. 예를 들어, 검출된 메시지가 업데이트 기능과 관련될 경우, 기능 활성화부(730)는, 업데이트를 위한 로컬 단말의 적어도 하나의 기능을 활성화시킬 수 있다. 기능 활성화부(730)는, 로컬 단말의 데이터 송수신 기능을 활성화시킬 수 있다. 또한, 기능 활성화부(730)는, 로컬 단말의 메모리 저장 기능을 활성화시킬 수도 있다. 또한, 기능 활성화부(730)는, 로컬 단말의 전력 모드를 저전력모드에서 CPU 연산을 할 수 있는 활성화모드로 전환시킬 수도 있다.The function activator 730 may activate some of the functions according to the detected message. For example, when the detected message is related to the update function, the function activator 730 may activate at least one function of the local terminal for the update. The function activator 730 may activate a data transmission / reception function of the local terminal. In addition, the function activation unit 730 may activate the memory storage function of the local terminal. In addition, the function activator 730 may switch the power mode of the local terminal to the activation mode that can perform the CPU operation in the low power mode.

활성화 기능 실행부(740)는, 활성화된 일부 기능을 실행 할 수 있다. 예를 들어, 검출된 메시지가 업데이트 기능과 관련될 경우, 활성화 기능 실행부(740)는, 업데이트를 위한 로컬 단말의 적어도 하나의 기능을 실행할 수 있다. 물론, 업데이트를 위하여, 활성화 기능 실행부(740)는, 데이터를 송신 또는 수신하는 기능을 실행할 수 있다. 또한, 활성화 기능 실행부(740)는, 메모리에 데이터를 저장하는 기능을 실행할 수도 있으나, 이에 한정되는 것은 아니다.The activation function execution unit 740 may execute some activated functions. For example, when the detected message is related to the update function, the activation function execution unit 740 may execute at least one function of the local terminal for the update. Of course, for updating, the activation function execution unit 740 may execute a function of transmitting or receiving data. In addition, the activation function execution unit 740 may execute a function of storing data in a memory, but is not limited thereto.

일실시예에 따르면, 제어 방법은, 인터넷상 원격 컨트롤러의 제어 메시지를 검출할 수 있다. 또한, 인터넷상 원격 컨트롤러의 제어 메시지를 검출하는 시스템으로서 구현될 수 있다.According to an embodiment, the control method may detect a control message of a remote controller on the Internet. It can also be implemented as a system for detecting control messages of remote controllers on the Internet.

예를 들면, 로컬 단말(700)은 원격 컨트롤러의 메시지를 감지하면, 메시지 검출부(720)가 기능 활성화부(730)를 통하여 활성화 기능 실행부(740)를 활성화시킬 수도 있다. 또한, 로컬 단말(700)의 기능을 수행하기 위하여, 활성화 기능 실행부(740)를 기능 블록인 모듈로 구성할 수도 있다.For example, when the local terminal 700 detects a message of a remote controller, the message detector 720 may activate the activation function execution unit 740 through the function activation unit 730. In addition, in order to perform a function of the local terminal 700, the activation function execution unit 740 may be configured as a module that is a functional block.

또한, 예를 들면, 메시지 검출부(720)는, 비활성화 상태에서 원격 컨트롤러의 제어 메시지 검출할 수 있다. 이때, 경우에 따라서, 메시지 검출부(720)는, 제어 메시지를 검출한 이후 기능 활성화부(730)가 동작을 시작하면 비활성화될 수도 있다.Also, for example, the message detector 720 may detect a control message of the remote controller in an inactive state. In this case, in some cases, the message detector 720 may be deactivated when the function activator 730 starts operation after detecting the control message.

일실시예에 따르면, 메시지 검출부(720)는, 별도의 프로토콜 없이 2 계층(Layer2)의 이더넷 프레임에서 IP 패킷의 오프셋 계산에서, 이더넷으로부터 입력이 도착하면 해당 입력을 변수 IN에 복사할 수 있다. 다음으로, 메시지 검출부(720)는, 13, 14번째 바이트의 값을 이용하여 옵션 필드의 값을 계산할 수도 있다. 이때, 메시지 검출부(720)는, IP 헤더의 길이 자료의 위치를 계산할 수 있다. 다음으로, 메시지 검출부(720)는, 해당 위치의 값으로 IP 헤더의 길이를 추출할 수 있다. 추출된 IP 헤더의 길이 값을 IP 헤더의 시작 위치와 합산할 수 있다. 다음으로, 메시지 검출부(720)는, 합산된 값에 UDP 패킷의 데이터 오프셋 값 8을 더하여 UDP 데이터의 위치를 계산할 수 있다.According to an embodiment, the message detector 720 may copy the input to the variable IN when the input arrives from the Ethernet in the offset calculation of the IP packet in the Layer 2 Ethernet frame without a separate protocol. Next, the message detector 720 may calculate the value of the option field by using values of the 13th and 14th bytes. In this case, the message detector 720 may calculate the position of the length data of the IP header. Next, the message detector 720 may extract the length of the IP header by the value of the corresponding position. The length value of the extracted IP header may be summed with the start position of the IP header. Next, the message detector 720 may calculate the position of the UDP data by adding the data offset value 8 of the UDP packet to the summed value.

도 8은 본 발명의 일실시예에 따른 원격 컨트롤러로서, 원격 컨트롤러를 나타내는 블록도이다.8 is a block diagram illustrating a remote controller as a remote controller according to an embodiment of the present invention.

도 8을 참조하면, 원격 컨트롤러(800)는, 메시지 생성부(810), 메시지 송신부(820)를 포함하여 구성될 수 있다. 원격 컨트롤러(800)는, 서버가 될 수 있으며, 경우에 따라서, 로컬 단말과는 다른 종류의 단말 기기가 될 수도 있다. 물론, 경우에 따라서, 원격 컨트롤러(800)는, 로컬 단말과 동일 종류의 단말 기기가 될 수도 있다. 이때, 원격 컨트롤러(800)는, 메모리, 프로세서, 데이터 송수신기 중 적어도 하나를 포함하여 구성되는 컴퓨팅 기기일 수 있으나, 이에 한정되지는 않는다. 또한, 메시지 생성부(810), 메시지 송신부(820)는, 메모리, 프로세서, 데이터 송수신기 중 적어도 하나를 포함하여 구성될 수 있으나, 이에 한정되지는 않는다.Referring to FIG. 8, the remote controller 800 may include a message generator 810 and a message transmitter 820. The remote controller 800 may be a server, and in some cases, may be a terminal device of a different type from the local terminal. Of course, in some cases, the remote controller 800 may be a terminal device of the same type as the local terminal. In this case, the remote controller 800 may be a computing device including at least one of a memory, a processor, and a data transceiver, but is not limited thereto. Also, the message generator 810 and the message transmitter 820 may include at least one of a memory, a processor, and a data transceiver, but are not limited thereto.

메시지 생성부(810)는, 기능이 비활성화된 로컬 단말이 기능 중 일부의 기능을 활성화하도록 제어하는 메시지를 생성할 수 있다.The message generator 810 may generate a message for controlling the local terminal in which the function is deactivated to activate some of the functions.

메시지 송신부(820)는, 생성된 메시지를 연결 망을 통해 기능이 비활성화된 로컬 단말로 송신 할 수 있다.The message transmitter 820 may transmit the generated message to a local terminal in which a function is deactivated through a connection network.

일실시예에 따르면, 제어 방법은, 인터넷에 연결된 원격 컨트롤러(800)를 통해 비활성화 되어있는 로컬 단말을 활성화할 수 있다. 이때, 제어 방법으로 구현된 제어 시스템은, 인터넷을 통해 4 계층(또는 3 계층)으로 로컬 단말을 활성화시키는 제어 메시지를 송신하는 원격 컨트롤러(800)를 포함하여 구성될 수 있다.According to an embodiment, the control method may activate a deactivated local terminal through a remote controller 800 connected to the Internet. In this case, the control system implemented as a control method may include a remote controller 800 for transmitting a control message for activating the local terminal to the fourth layer (or the third layer) through the Internet.

일실시예에 따르면, 원격 컨트롤러에서 UDP로 특정한 값을 보내면 이를 로컬 단말(700)의 망 연동을 감지하는 메시지 검출부(720)에서 검출할 수 있다. 또한, 로컬 단말(700)은, 검출된 결과에 따라서 기기 활성화부(730)를 수행시켜 비활성화 상태의 로컬 단말(700)이 활성화 상태로 진입하게 할 수도 있다. 이때, 메시지 검출부(720)의 구현에 있어 산식을 이용하면, 복잡한 시스템의 구현이 없이 제한된 실행 환경을 갖는 비활성화 기기에도 적용할 수 있는 효과가 있다.According to an embodiment of the present disclosure, when a remote controller sends a specific value through UDP, the remote controller may detect the specific value by the message detection unit 720 for detecting a network interworking of the local terminal 700. In addition, the local terminal 700 may perform the device activation unit 730 according to the detected result to allow the local terminal 700 in an inactive state to enter the activated state. In this case, using the equation in the implementation of the message detector 720, there is an effect that can be applied to the deactivation device having a limited execution environment without the implementation of a complex system.

일실시예에 따르면, 로컬 단말에 대한 제어 방법은, 인터넷 상의 원격 컨트롤러로부터 직접 제어 메시지를 수신하여 기기의 상태를 변경할 수 있다. 물론, 로컬 단말에 대한 제어 방법은, WOL와 같이 별도의 게이트웨이를 설치하는 작업이 불필요하다.According to an embodiment, the control method for the local terminal may change a state of the device by receiving a control message directly from a remote controller on the Internet. Of course, the control method for the local terminal does not need to install a separate gateway, such as WOL.

또한, 일실시예에 따르면, 로컬 단말에 대한 제어 방법은, 매우 제한된 컴퓨팅 환경에서 원격 컨트롤러의 제어 감지를 구현할 수 있다는 효과가 있다.In addition, according to one embodiment, the control method for the local terminal has the effect that it is possible to implement control sensing of the remote controller in a very limited computing environment.

본 발명의 실시 예에 따른 방법들은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. Methods according to an embodiment of the present invention can be implemented in the form of program instructions that can be executed by various computer means and recorded in a computer readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. Program instructions recorded on the media may be those specially designed and constructed for the purposes of the present invention, or they may be of the kind well-known and available to those having skill in the computer software arts.

이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.As described above, although the present invention has been described with reference to limited embodiments and drawings, the present invention is not limited to the above embodiments, and those skilled in the art to which the present invention pertains various modifications and variations from such descriptions. This is possible.

그러므로, 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 청구범위뿐 아니라 이 청구범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined by the claims below and equivalents thereof.

Claims (7)

로컬 단말이 수행하는 제어 방법에 있어서,
연결 망을 통해 기능이 비활성화된 상태에서 원격 컨트롤러로부터 데이터를 수신하는 단계;
상기 수신된 데이터의 프레임의 구조를 기반으로 프레임에 설정된 위치의 비트 패턴에 따라 추가되는 필드의 길이 및 데이터의 시작 오프셋을 이용하여 상기 데이터에 포함된 메시지를 검출하는 단계;
상기 검출된 메시지에 따라 상기 기능 중 일부 기능을 활성화하는 단계; 및
상기 활성화된 일부 기능을 실행하는 단계
를 포함하고,
상기 메시지를 검출하는 단계는,
상기 데이터의 프레임에서 특정 바이트의 값에 의해 결정되는 옵션 필드 및 IP 헤더의 길이 자료에 의해 결정된 IP 헤더의 길이를 계산하고,
상기 IP 헤더의 길이의 위치에 해당하는 값과 IP 헤더의 시작 위치에 해당하는 값을 합산하고,
상기 합산된 값에 데이터 오프셋 값을 결합하여 데이터의 시작 위치에 기초한 메시지를 검출하는 제어 방법.
In the control method performed by the local terminal,
Receiving data from a remote controller while a function is disabled through a connection network;
Detecting a message included in the data by using a start offset of the data and a length of a field added according to a bit pattern of a position set in a frame based on the structure of the frame of the received data;
Activating some of the functions according to the detected message; And
Executing some of the activated functions
Including,
Detecting the message,
Calculating the length of the IP header determined by the option field determined by the value of a specific byte in the frame of data and the length data of the IP header,
Summing a value corresponding to a position of the length of the IP header and a value corresponding to a start position of the IP header,
And combining a data offset value with the summed value to detect a message based on a starting position of data.
제1항에 있어서,
상기 데이터를 수신하는 단계는,
원격 컨트롤러로부터 연결 망을 통해 들어온 데이터를 수신하는 로컬 단말이 수행하는 제어 방법.
The method of claim 1,
Receiving the data,
Control method performed by the local terminal receiving data from the remote controller through the connection network.
제1항에 있어서,
상기 메시지를 검출하는 단계는,
상기 메시지를 감지하면, 망 연동을 감지하는 기능이 활성화되고, 수신한 데이터를 처리하여 메시지를 검출하는 로컬 단말이 수행하는 제어 방법.
The method of claim 1,
Detecting the message,
When the message is detected, a function of detecting network interworking is activated, and the control method is performed by the local terminal to process the received data to detect the message.
제3항에 있어서,
상기 메시지를 검출하는 단계는,
상기 수신된 데이터에서 트랜스포트 계층(transport layer)의 데이터 시작 오프셋(offset)을 계산하여 메시지를 검출하는 로컬 단말이 수행하는 제어 방법.
The method of claim 3,
Detecting the message,
The control method performed by the local terminal for detecting a message by calculating a data start offset of a transport layer from the received data.
제3항에 있어서,
상기 메시지를 검출하는 단계는,
상기 수신된 데이터의 프레임에서 설정된 위치의 비트 패턴에 따라 추가되는 필드의 길이를 계산하는 메시지를 검출하는 로컬 단말이 수행하는 제어 방법.
The method of claim 3,
Detecting the message,
And controlling the local terminal to detect a message for calculating a length of a field added according to a bit pattern of a position set in the frame of the received data.
제3항에 있어서,
상기 메시지를 검출하는 단계는,
상기 데이터에서 메시지를 검출하면, 상기 망 연동을 감지하는 기능이 비활성화되는 로컬 단말이 수행하는 제어 방법.
The method of claim 3,
Detecting the message,
And detecting a message from the data by the local terminal.
원격 컨트롤러가 수행하는 로컬 단말에 대한 제어 방법에 있어서,
기능이 비활성화된 로컬 단말이 상기 기능 중 일부의 기능을 활성화하도록 제어하는 메시지를 생성하는 단계; 및
상기 생성된 메시지를 연결 망을 통해 상기 기능이 비활성화된 로컬 단말로 송신하는 단계
를 포함하고,
상기 로컬 단말은,
연결 망을 통해 기능이 비활성화된 상태에서 원격 컨트롤러로부터 데이터를 수신하고,
상기 수신된 데이터의 프레임의 구조를 기반으로 프레임에 설정된 위치의 비트 패턴에 따라 추가되는 필드의 길이 및 데이터의 시작 오프셋을 이용하여 상기 데이터에 포함된 메시지를 검출하고,
상기 검출된 메시지에 따라 상기 기능 중 일부 기능을 활성화하고,
상기 활성화된 일부 기능을 실행하며,
상기 데이터에 포함된 메시지는,
상기 데이터의 프레임에서 특정 바이트의 값에 의해 결정되는 옵션 필드 및 IP 헤더의 길이 자료에 의해 결정된 IP 헤더의 길이를 계산하고,
상기 IP 헤더의 길이의 위치에 해당하는 값과 IP 헤더의 시작 위치에 해당하는 값을 합산하고,
상기 합산된 값에 데이터 오프셋 값을 결합하여 데이터의 시작 위치에 기초하여 검출되는 원격 컨트롤러가 수행하는 로컬 단말에 대한 제어 방법.
In the control method for the local terminal performed by the remote controller,
Generating a message for controlling a local terminal in which a function is deactivated to activate a function of some of the functions; And
Transmitting the generated message to a local terminal in which the function is disabled through a connection network;
Including,
The local terminal,
Receive data from the remote controller with the feature disabled through the connection network,
Detecting a message included in the data by using a start offset of the data and a length of a field added according to a bit pattern of a position set in a frame based on the structure of the frame of the received data,
Activate some of the functions according to the detected message,
To execute some of the activated functions,
The message contained in the data,
Calculating the length of the IP header determined by the option field determined by the value of a specific byte in the frame of data and the length data of the IP header,
Summing a value corresponding to a position of the length of the IP header and a value corresponding to a start position of the IP header,
Control method for a local terminal performed by the remote controller is detected based on the start position of the data by combining the data offset value with the summed value.
KR1020150104555A 2015-07-23 2015-07-23 Method and apparatus for controlling local terminal, and remote controller and local terminal KR102064794B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150104555A KR102064794B1 (en) 2015-07-23 2015-07-23 Method and apparatus for controlling local terminal, and remote controller and local terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150104555A KR102064794B1 (en) 2015-07-23 2015-07-23 Method and apparatus for controlling local terminal, and remote controller and local terminal

Publications (2)

Publication Number Publication Date
KR20170011637A KR20170011637A (en) 2017-02-02
KR102064794B1 true KR102064794B1 (en) 2020-01-10

Family

ID=58154057

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150104555A KR102064794B1 (en) 2015-07-23 2015-07-23 Method and apparatus for controlling local terminal, and remote controller and local terminal

Country Status (1)

Country Link
KR (1) KR102064794B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070002827A1 (en) * 2005-06-30 2007-01-04 Victor Lau Automated serial protocol target port transport layer retry mechanism

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070002827A1 (en) * 2005-06-30 2007-01-04 Victor Lau Automated serial protocol target port transport layer retry mechanism

Also Published As

Publication number Publication date
KR20170011637A (en) 2017-02-02

Similar Documents

Publication Publication Date Title
CN106452857B (en) Method for generating configuration information and network control unit
WO2018054177A1 (en) Inter-cloud communication method and related device, inter-cloud communication configuration method and related device
US10237079B2 (en) Intelligent network sleep proxy for low power sleeping devices
JP6192284B2 (en) COMMUNICATION DEVICE AND ITS CONTROL METHOD
US8798067B2 (en) Methods, systems, and computer program products for enabling an operative coupling to a network
US8811402B2 (en) Methods, systems, and computer program products for disabling an operative coupling to a network
JP2008301077A (en) Network controller, information processor, and wake-up control method
US9680948B2 (en) System and method for device failure notification
WO2017054547A1 (en) Bidirectional forwarding detection method and apparatus
US10075564B1 (en) Methods, systems, and computer program products for sharing information for detecting an idle TCP connection
EP3082294B1 (en) Electronic apparatus, wake-up apparatus for turning on electronic apparatus, wake-up system, and control method thereof
WO2014154087A1 (en) A gateway and its method of transfering data
US11582140B2 (en) OAM-based suboptimal ECMP path detection in software-defined fabric
US11013060B2 (en) Selective multiple-media access control
US20110213893A1 (en) Methods, systems, and computer program products for detecting an idle tcp connection
US20230224207A1 (en) Methods, Systems, and Computer Program Products for Enabling an Operative Coupling to a Network
US9203704B2 (en) Discovering a server device, by a non-DLNA device, within a home network
US11252070B2 (en) Adaptive polling in software-defined networking (SDN) environments
WO2015024373A1 (en) Virtual machine communication method and device
US9923996B1 (en) Methods, systems, and computer program products for sharing information for detecting an idle TCP connection
KR102064794B1 (en) Method and apparatus for controlling local terminal, and remote controller and local terminal
JP3798754B2 (en) Broadcast between subnetworks connected through a router
JP2004192256A (en) Network controller
CN111800340A (en) Data packet forwarding method and device
KR102532119B1 (en) network management apparatus and for remote control of the state about IT machine method therefor

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