KR101454879B1 - Communication apparatus equipped with a plurality of communication interface and data processing method in a plurality of communication interface - Google Patents

Communication apparatus equipped with a plurality of communication interface and data processing method in a plurality of communication interface Download PDF

Info

Publication number
KR101454879B1
KR101454879B1 KR1020140061565A KR20140061565A KR101454879B1 KR 101454879 B1 KR101454879 B1 KR 101454879B1 KR 1020140061565 A KR1020140061565 A KR 1020140061565A KR 20140061565 A KR20140061565 A KR 20140061565A KR 101454879 B1 KR101454879 B1 KR 101454879B1
Authority
KR
South Korea
Prior art keywords
communication
data
payload
processing module
interface identifier
Prior art date
Application number
KR1020140061565A
Other languages
Korean (ko)
Inventor
허봉준
김수환
Original Assignee
(주) 위즈네트
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by (주) 위즈네트 filed Critical (주) 위즈네트
Priority to KR1020140061565A priority Critical patent/KR101454879B1/en
Application granted granted Critical
Publication of KR101454879B1 publication Critical patent/KR101454879B1/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/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/321Interlayer communication protocols or service data unit [SDU] definitions; Interfaces between layers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

The present invention relates to a communication apparatus having a plurality of communication interfaces, which allows mutually different communication protocols to be uniformly processed and enables communication with the outside according to an automatic addition and deletion of an upper layer packet, and a data processing method in a plurality of communication interfaces. By using the present invention, data communication between different communication interfaces is possible, and a unified processing is possible regardless of the type of the communication interface.

Description

복수의 통신 인터페이스를 구비한 통신 장치 및 복수의 통신 인터페이스에서의 데이터 처리 방법{COMMUNICATION APPARATUS EQUIPPED WITH A PLURALITY OF COMMUNICATION INTERFACE AND DATA PROCESSING METHOD IN A PLURALITY OF COMMUNICATION INTERFACE}TECHNICAL FIELD [0001] The present invention relates to a communication apparatus having a plurality of communication interfaces, and a data processing method in a plurality of communication interfaces. BACKGROUND OF THE INVENTION 1. Field of the Invention [0002]

본 발명은 복수의 통신 인터페이스를 구비한 통신 장치 및 복수의 통신 인터페이스에서의 데이터 처리 방법에 관한 것으로서, 구체적으로는 서로 상이한 통신 프로토콜로부터의 데이터를 통일적으로 처리하고 상위 레이어 패킷의 자동 추가 및 삭제에 따라 외부와 통신 가능하도록 하는 복수의 통신 인터페이스를 구비한 통신 장치 및 복수의 통신 인터페이스에서의 데이터 처리 방법에 관한 것이다. The present invention relates to a communication apparatus having a plurality of communication interfaces and a data processing method in a plurality of communication interfaces, and more particularly to a communication apparatus and a data communication method for processing data from different communication protocols in a unified manner, To a communication device having a plurality of communication interfaces for enabling communication with the outside and a data processing method in a plurality of communication interfaces.

통신 기술의 발전에 따라 다양한 무선 통신 인터페이스가 표준화되고 표준화된 통신 프로토콜을 활용하여 여러 무선 디바이스간 무선 통신이 가능하다. 특정 무선 통신 인터페이스를 구비한 디바이스는 동일한 무선 통신 인터페이스를 구비한 다른 디바이스와 표준화되는 통신 프로토콜에 따라 데이터 통신이 가능하다. As communication technology develops, various wireless communication interfaces are standardized and wireless communication among various wireless devices is possible by utilizing standardized communication protocol. A device having a specific wireless communication interface is capable of data communication according to a communication protocol standardized with another device having the same wireless communication interface.

예를 들어 블루투스(Bluetooth), 지그비(Zigbee), 와이파이(WiFi), RF(Radio Frequency) 통신 등이 표준화에 따라 정의된다. 일반적으로 이러한 표준화되는 통신 프로토콜은 OSI(Open System Interconnection) 7 레이어(Layer) 중 물리(Physical) 레이어와 데이터 링크(Data-Link) 레이어를 표준화하여 데이터 통신이 가능하도록 한다. For example, Bluetooth, Zigbee, WiFi, and RF (radio frequency) communications are defined according to standardization. In general, this standardized communication protocol standardizes the physical layer and the data-link layer among OSI (Open System Interconnection) 7 layers to enable data communication.

특정 통신 프로토콜을 구현한 각 디바이스는 동일한 통신 프로토콜을 구현한 다른 디바이스와 데이터 링크 레이어 상에서 데이터를 송수신하고 처리하도록 구성된다. 예를 들어 블루투스, 지그비, RF 통신 등은 표준화된 상위 레이어(예를 들어 네트워크 레이어나 전송 레이어) 등을 정의하지 않고 데이터 송수신이 이루어진다. 블루투스, 지그비, RF 통신 등은 개인 영역 또는 근거리 영역 내에서의 데이터 통신에 국한되고 디바이스가 데이터 링크 레이어 상의 데이터를 직접 처리하도록 구성된다. Each device that implements a particular communication protocol is configured to send and receive data on a data link layer with other devices that implement the same communication protocol. For example, Bluetooth, ZigBee, RF communication, and the like do not define a standardized upper layer (for example, a network layer or a transmission layer) and transmit and receive data. Bluetooth, ZigBee, RF communication, etc. are confined to data communication within the personal area or near area and the device is configured to directly process the data on the data link layer.

한편 통신 기술의 발전은 더 많은 디바이스 간의 연결을 가능하도록 한다. 예를 들어 센서나 센서를 포함하는 디바이스가 인터넷에 연결될 수 있도록 하는 사물 통신(Internet of Things)이 알려져 있다. 사물 통신은 좀 더 광대역의 데이터 통신이 가능하도록 네트워크 레이어(예를 들어 IP(Internet Protocol) 통신 프로토콜) 기반으로 통신이 이루어진다. On the other hand, the development of communication technology makes it possible to connect more devices. For example, the Internet of Things is known in which devices including sensors and sensors can be connected to the Internet. The object communication is performed based on a network layer (for example, an IP (Internet Protocol) communication protocol) in order to enable a broader data communication.

특정 무선 통신 프로토콜은 사물 통신을 지원할 수 있도록 새로 정의된 통신 프로토콜(예를 들어 6LowPAN)로 구성되기도 한다. Certain wireless communication protocols may also be comprised of newly defined communication protocols (e.g., 6 LowPANs) to support object communication.

기존의 통신 프로토콜을 구현한 디바이스는 표준화되는 네트워크 레이어를 지원하지 못한다. 따라서 사물 통신 등을 적용하기 위해서는 새로운 하드웨어를 탑재한 디바이스로 대체될 필요가 있다. Devices that implement existing communication protocols do not support the standardized network layer. Therefore, in order to apply object communication, it is necessary to be replaced with a device equipped with new hardware.

또한 여러 디바이스 간의 네트워크 구성을 위해서는 다양한 통신 인터페이스를 지원할 필요가 있다. 다양한 통신 인터페이스를 동시에 지원할 수 있다면 다른 통신 인터페이스 타입(예를 들어 블루투스, 지그비, RF, 와이파이, 유선랜 등)의 디바이스 간 데이터 통신이 가능할 것이다. In addition, it is necessary to support various communication interfaces in order to configure a network between devices. If it can support various communication interfaces at the same time, data communication between devices of other communication interface types (for example, Bluetooth, ZigBee, RF, Wi-Fi, wired LAN, etc.) will be possible.

그러나 알려져 있는 통신 칩셋 들은 단일의 통신 인터페이스만을 지원하며 다른 종류의 통신 인터페이스로부터의 데이터 처리를 지원하지 못한다. 이는 여러 가지의 통신 프로토콜의 서로 상이한 차이에 기인하는데, 예를 들어 약속된 데이터 포맷이나 신호 형태가 다르고 OSI 7 레이어 상의 구조가 서로 상이한 점에 기인하다. 이와 같이 여러 상이한 통신 인터페이스를 지원하기 위한 통일된 구조나 형태가 전무하다.However, known communication chipsets support only a single communication interface and do not support data processing from other types of communication interfaces. This is due to the different differences in the various communication protocols, for example due to different data formats or signal formats, and different structures on the OSI 7 layer. There is no unified structure or form to support a variety of different communication interfaces.

이와 같이 상술한 기존의 통신 인터페이스에서의 문제점들을 극복할 수 있도록 하는 복수의 통신 인터페이스를 구비한 통신 장치 및 복수의 통신 인터페이스에서의 데이터 처리 방법이 필요하다. Thus, there is a need for a communication device having a plurality of communication interfaces and a method for processing data in a plurality of communication interfaces, which can overcome the above-mentioned problems in the existing communication interfaces.

본 발명은, 상술한 문제점을 해결하기 위해서 안출한 것으로서, 상이한 통신 인터페이스 간의 데이터 통신이 가능하도록 하는 복수의 통신 인터페이스를 구비한 통신 장치 및 복수의 통신 인터페이스에서의 데이터 처리 방법을 제공하는 데 그 목적이 있다. SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide a communication device having a plurality of communication interfaces for enabling data communication between different communication interfaces and a data processing method in a plurality of communication interfaces .

또한 본 발명은 복수의 통신 인터페이스 각각으로부터의 데이터 처리를 각각의 통신 인터페이스의 타입에 상관없이 통일적으로 처리가능하도록 하는 복수의 통신 인터페이스를 구비한 통신 장치 및 복수의 통신 인터페이스에서의 데이터 처리 방법을 제공하는 데 그 목적이 있다. Further, the present invention provides a communication device having a plurality of communication interfaces for enabling data processing from each of a plurality of communication interfaces to be processed uniformly regardless of the type of each communication interface, and a data processing method in a plurality of communication interfaces The purpose is to do.

또한 본 발명은 네트워크 레이어 이상의 레이어를 지원하지 못하는 통신 인터페이스에 대해 네트워크 레이어 이상의 패킷 처리를 지원하여 네트워크 레이어 기반의 데이터 통신이 가능하도록 하는 복수의 통신 인터페이스를 구비한 통신 장치 및 복수의 통신 인터페이스에서의 데이터 처리 방법을 제공하는 데 그 목적이 있다. According to another aspect of the present invention, there is provided a communication device including a plurality of communication interfaces for supporting network layer-based data communication over a communication interface that does not support layers over a network layer, And to provide a data processing method.

또한 본 발명은 통신 인터페이스의 유형에 따라 선별적으로 처리 가능하도록 하는 복수의 통신 인터페이스를 구비한 통신 장치 및 복수의 통신 인터페이스에서의 데이터 처리 방법을 제공하는 데 그 목적이 있다. It is another object of the present invention to provide a communication device having a plurality of communication interfaces that can be selectively processed according to the type of communication interface and a data processing method in a plurality of communication interfaces.

본 발명에서 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다. It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, unless further departing from the spirit and scope of the invention as defined by the appended claims. It will be possible.

상기와 같은 목적을 달성하기 위한, 복수의 통신 인터페이스를 구비한 통신 장치는 복수의 통신 인터페이스의 신호 각각을 DL(Data-Link Layer) 패킷 단위로 처리하는 복수의 DL 처리 모듈 및 복수의 DL 처리 모듈에 연결되어 DL 패킷의 페이로드를 수신하고 수신된 DL 패킷의 페이로드와 수신된 페이로드의 통신 인터페이스를 식별하기 위한 인터페이스 식별자를 출력하는 IL(Intermediate Layer) 처리 모듈을 포함한다. In order to achieve the above object, a communication apparatus having a plurality of communication interfaces includes a plurality of DL processing modules for processing signals of a plurality of communication interfaces in units of DL (Data-Link Layer) packets, and a plurality of DL processing modules (Intermediate Layer) processing module for receiving the payload of the DL packet and outputting an interface identifier for identifying the communication interface of the payload of the received DL packet and the received payload.

또한 상기와 같은 목적을 달성하기 위한, 복수의 통신 인터페이스에서의 데이터 처리 방법은 (a) 복수의 통신 인터페이스 중 하나의 통신 인터페이스로부터 통신 신호를 수신하는 단계, (b) 수신된 통신 신호로부터 DL 패킷의 페이로드를 추출하는 단계, (c) 추출된 페이로드의 통신 인터페이스를 식별하기 위한 제 1 인터페이스 식별자를 생성하는 단계 및 (d) 제 1 인터페이스 식별자를 이용하여 식별된 통신 인터페이스의 데이터 유형을 결정하는 단계를 포함한다. (A) receiving a communication signal from one of a plurality of communication interfaces; (b) receiving, from the received communication signal, (C) generating a first interface identifier for identifying a communication interface of the extracted payload, and (d) determining a data type of the communication interface identified using the first interface identifier .

상기와 같은 본 발명에 따른 복수의 통신 인터페이스를 구비한 통신 장치 및 복수의 통신 인터페이스에서의 데이터 처리 방법은 상이한 통신 인터페이스 간의 데이터 통신이 가능하도록 하는 효과가 있다. The communication apparatus having a plurality of communication interfaces and the data processing method in a plurality of communication interfaces according to the present invention have the effect of enabling data communication between different communication interfaces.

또한 상기와 같은 본 발명에 따른 복수의 통신 인터페이스를 구비한 통신 장치 및 복수의 통신 인터페이스에서의 데이터 처리 방법은 복수의 통신 인터페이스 각각으로부터의 데이터 처리를 각각의 통신 인터페이스의 타입에 상관없이 통일적으로 처리가능하도록 하는 효과가 있다. Further, a communication apparatus having a plurality of communication interfaces and a data processing method in a plurality of communication interfaces according to the present invention as described above are capable of uniformly processing data processing from each of a plurality of communication interfaces, regardless of the type of each communication interface .

또한 상기와 같은 본 발명에 따른 복수의 통신 인터페이스를 구비한 통신 장치 및 복수의 통신 인터페이스에서의 데이터 처리 방법은 네트워크 레이어 이상의 레이어를 지원하지 못하는 통신 인터페이스에 대해 네트워크 레이어 이상의 패킷 처리를 지원하여 네트워크 레이어 기반의 데이터 통신이 가능하도록 하는 효과가 있다. In addition, the communication device having a plurality of communication interfaces and the data processing method in the plurality of communication interfaces according to the present invention can support a packet processing of a network layer or more on a communication interface that can not support layers over a network layer, Based data communication is enabled.

또한 상기와 같은 본 발명에 따른 복수의 통신 인터페이스를 구비한 통신 장치 및 복수의 통신 인터페이스에서의 데이터 처리 방법은 통신 인터페이스의 유형에 따라 선별적으로 데이터 처리가 가능하도록 하는 효과가 있다. Further, the communication device having a plurality of communication interfaces and the data processing method in a plurality of communication interfaces according to the present invention as described above have the effect of selectively processing data according to the type of communication interface.

본 발명에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The effects obtained by the present invention are not limited to the above-mentioned effects, and other effects not mentioned can be clearly understood by those skilled in the art from the following description will be.

도 1은 복수의 통신 인터페이스를 구비한 통신 장치를 포함하는 예시적인 통신 시스템을 도시한 도면이다.
도 2는 본 발명에 따른 통신 장치의 예시적인 블록도를 도시한 도면이다.
도 3은 근거리 통신 장치를 통해 수신된 통신 신호에 대한 패킷 처리 과정을 도시한 흐름도이다.
도 4는 근거리 통신 장치로 패킷 데이터를 전송하기 위한 패킷 처리 과정을 도시한 흐름도이다.
1 is a diagram illustrating an exemplary communication system including a communication device having a plurality of communication interfaces.
2 shows an exemplary block diagram of a communication device according to the present invention.
3 is a flowchart illustrating a packet processing process for a communication signal received through the short range communication device.
4 is a flowchart illustrating a packet processing procedure for transmitting packet data to a local communication apparatus.

상술한 목적, 특징 및 장점은 첨부된 도면을 참조하여 상세하게 후술 되어 있는 상세한 설명을 통하여 더욱 명확해 질 것이며, 그에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 또한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에 그 상세한 설명을 생략하기로 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시 예를 상세히 설명하기로 한다.
The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings, in which: It can be easily carried out. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 복수의 통신 인터페이스를 구비한 통신 장치(100)를 포함하는 예시적인 통신 시스템을 도시한 도면이다.1 is a diagram illustrating an exemplary communication system including a communication device 100 having a plurality of communication interfaces.

도 1에 따르면 통신 시스템은 여러 타입의 근거리 통신(400)에 연결된 통신 장치(100) 및 근거리 통신 장치(200)를 포함하고 인터넷 망(500)에 연결된 외부 장치(300)를 포함한다. Referring to FIG. 1, a communication system includes a communication device 100 connected to various types of local area communication 400 and an external device 300 including a local area communication device 200 and connected to the Internet network 500.

각각의 구성 요소를 간단히 살펴보면 통신 장치(100)는 인터넷 망(500) 및 하나 이상의 근거리 통신(400)에 연결된다. 통신 장치(100)는 근거리 통신에 따른 유무선의 데이터 통신을 인터페이스할 수 있도록 구성되고 바람직하게는 인터넷 망(500) 및 하나 이상의 근거리 통신(400)을 인터페이스 할 수 있도록 복수의 통신 인터페이스를 구비하고 있다. 여기서 통신 인터페이스의 구비는 표준화된 통신 프로토콜 상에서 적어도 OSI 7 레이어 상의 물리 레이어("Physical Layer", 이하 "PL"이라고도 함)상의 통신 신호를 송수신할 수 있는 것을 나타낸다. Briefly looking at each component, the communication device 100 is connected to the Internet network 500 and one or more short-range communications 400. The communication device 100 is configured to interface wired / wireless data communication according to short-range communication, and preferably has a plurality of communication interfaces to interface with the Internet 500 and one or more short-range communication 400 . Here, the communication interface indicates that a communication signal on a physical layer (hereinafter also referred to as "PL") on the OSI 7 layer can be transmitted or received on a standardized communication protocol.

인터넷 망(500)에 연결하기 위한 통신 인터페이스는 예를 들어 유선 랜일 수 있고 근거리 통신(400)을 위한 통신 인터페이스는 유선 또는 무선의 통신 인터페이스이다. 예를 들어 근거리 통신(400)을 위한 통신 인터페이스는 RS232, RS485 등과 같은 시리얼, USB, I2C, SPI 등이거나 와이파이, 지그비, 블루투스, RF 등일 수 있다. 도 1 에 따른 통신 장치(100)는 바람직하게는 인터넷 망(500) 연결을 위한 유선 랜의 통신 인터페이스를 구비하고 또한 하나 혹은 복수의 유/무선 통신의 통신 인터페이스들을 구비한다. 특정 하나의 통신 인터페이스와 다른 하나의 통신 인터페이스는 서로 상이한 표준을 이용하는 인터페이스일 수 있다. The communication interface for connecting to the Internet network 500 may be, for example, a wired LAN, and the communication interface for the short range communication 400 is a wired or wireless communication interface. For example, the communication interface for the short range communication 400 may be a serial such as RS232, RS485, USB, I2C, SPI, or the like, or Wi-Fi, ZigBee, Bluetooth, The communication apparatus 100 according to FIG. 1 preferably has a communication interface of a wired LAN for connection to the Internet network 500 and also has communication interfaces of one or a plurality of wired / wireless communication. A particular communication interface and another communication interface may be interfaces that use different standards.

통신 장치(100)는 각 통신 인터페이스로부터 수신된 통신 신호로부터 패킷을 추출할 수 있도록 구성되고 이후 패킷을 처리하거나 생성하고 처리 또는 생성된 패킷을 다른 통신 인터페이스로 송신할 수 있도록 구성된다. 특히 통신 장치(100)는 데이터 링크 레이어("Data-Link Layer", 이하 "DL"이라고도 함)의 패킷의 추출과 네트워크 레이어("Network Layer", 이하 "NL"이라고도 함) 패킷의 처리나 생성과 이후 전송 레이어("Transport Layer", 이하 "TL"이라고도 함)의 패킷의 생성과 처리를 수행할 수 있다. 일예로서 DL은 소위 MAC(Media Access Layer)을 나타내고 NL은 IP(Internet Protocol)를 나타내고 TL은 TCP(Transmission Control Protocol)나 UDP(User Datagram Protocol)을 나타낸다. The communication device 100 is configured to be able to extract packets from communication signals received from each communication interface and is then configured to process or generate packets and to transmit processed or generated packets to other communication interfaces. Particularly, the communication apparatus 100 extracts a packet of a data link layer (hereinafter also referred to as a " DL ") and processes and generates a network layer (Hereinafter also referred to as "TL") and a transport layer (hereinafter also referred to as " TL "). As an example, the DL indicates so-called MAC (Media Access Layer), NL indicates IP (Internet Protocol), and TL indicates TCP (Transmission Control Protocol) or UDP (User Datagram Protocol).

통신 장치(100)는 DL 패킷만을 생성하는 외부의 근거리 통신 장치(200)와 인터페이스할 수 있도록 구성되고 DL 패킷만을 생성하는 외부의 근거리 통신 장치(200)의 식별에 따라 상위 레이어의 패킷 생성이 결정되도록 구성된다. 통신 장치(100)는 DL 패킷만을 처리하는 근거리 통신 장치(200)를 위해 다른 외부 장치(300)나 내부의 근거리 통신 장치(200)로부터 수신된 TL 패킷으로부터 TL, NL의 헤더를 삭제한 데이터를 DL 패킷을 통해 근거리 통신 장치(200)로 전송할 수 있다. The communication device 100 is configured to be able to interface with the external LAN device 200 that generates only the DL packet and the packet generation of the upper layer is determined according to the identification of the external LAN device 200 that generates only the DL packet . The communication apparatus 100 deletes the TL and NL headers from the TL packet received from the other external apparatus 300 or the local area communication apparatus 200 for the local area communication apparatus 200 that processes only the DL packet DL packet to the local area communication device 200. [

통신 장치(100)에 관해서는 도 2 내지 도 4를 통해서 상세히 살펴보도록 한다. The communication apparatus 100 will be described in detail with reference to FIG. 2 through FIG.

근거리 통신 장치(200)는 통신 장치(100)에 유선 또는 무선으로 연결될 수 있는 장치이다. 근거리 통신 장치(200)는 하나 또는 복수의 무선 통신 인터페이스를 구비하여 통신 장치(100)에 연결될 수 있다. 근거리 통신 장치(200)는 TL 패킷을 생성할 수 있거나 NL 아래의 DL 패킷만을 생성할 수 있도록 구성된다. The local area communication device 200 is a device that can be connected to the communication device 100 by wire or wirelessly. The local area communication device 200 may be connected to the communication device 100 by having one or a plurality of wireless communication interfaces. The short range communication device 200 is configured to be able to generate TL packets or to generate only DL packets under NL.

근거리 통신 장치(200)는 시리얼, USB, I2C, SPI, 블루투스, 지그비, RF, 와이파이 등과 같은 근거리의 유선 또는 무선 통신을 가능하게 하는 장치로서 휴대형이거나 거치형일 수 있다. 근거리 통신 장치(200)는 예를 들어 센서이거나 센서를 구비한 디바이스일 수 있다. 근거리 통신 장치(200)는 또한 예를 들어 스마트 폰, 태블릿 PC, 셋탑 박스 등일 수도 있다. 이러한 근거리 통신 장치(200)는 자신이 지원하는 통신 프로토콜에 상관없이 외부와 연결될 필요가 있고 여러 상이한 근거리 통신 장치(200)나 외부 장치(300)와 통신이 이루어질 필요가 있다. The short-range communication device 200 may be a portable or stationary device that enables short-distance wired or wireless communication such as serial, USB, I2C, SPI, Bluetooth, Zigbee, RF, WiFi and the like. The local area communication device 200 may be, for example, a sensor or a device with a sensor. The short range communication device 200 may also be, for example, a smart phone, a tablet PC, a set-top box, and the like. The local area communication device 200 needs to be connected to the outside regardless of a communication protocol supported by the local communication device 200 and needs to communicate with a plurality of different local communication devices 200 or external devices 300.

외부 장치(300)는 인터넷 망(500)에 연결되어 통신 장치(100)를 경유하여 근거리 통신 장치(200)와 통신할 수 있는 장치이다. 외부 장치(300)는 예를 들어 PC, 서버, 스마트 폰, 태블릿 PC 등일 수 있다. 외부 장치(300)는 NL 패킷을 처리할 수 있도록 구성되고 바람직하게는 TL 패킷을 처리할 수 있도록 구성된다. The external device 300 is a device connected to the Internet network 500 and capable of communicating with the local area communication device 200 via the communication device 100. The external device 300 may be, for example, a PC, a server, a smart phone, a tablet PC, or the like. The external device 300 is configured to process NL packets and is preferably configured to process TL packets.

인터넷 망(500)은 일반적으로 NL 패킷의 패킷 헤더를 통해 목적지의 장치로 데이터를 송신할 수 있도록 구성되고 TL 패킷의 데이터를 송신한다. The Internet 500 is generally configured to transmit data to a destination device via a packet header of an NL packet and transmits data of a TL packet.

본 발명에 따른 시스템에서 근거리 통신(400)은 시리얼, USB, I2C, SPI, 와이파이, 지그비, 블루투스, RF 등과 같이 연결된 신호 선으로 또는 공기 중에서 무선으로 통신 신호를 송수신할 수 있도록 하는 통신 방식이다. 본 발명에 따른 통신 장치(100)는 하나 혹은 복수의 유/무선 통신 인터페이스를 구비하고 상이한 통신 프로토콜을 이용하는 유/무선 통신 인터페이스 간 데이터를 송수신하도록 구성되거나 유/무선 통신 인터페이스로부터의 데이터를 인터넷 망(500)에 연결되는 유선의 랜 등을 통해 송신하고 수신할 수 있도록 구성된다.
In the system according to the present invention, the short-range communication 400 is a communication method capable of transmitting / receiving a communication signal to / from a connected signal line such as serial, USB, I2C, SPI, Wi-Fi, ZigBee, Bluetooth, The communication device 100 according to the present invention may be configured to transmit and receive data between a wire / wireless communication interface having one or a plurality of wire / wireless communication interfaces and using different communication protocols, or to transmit data from the wire / And can be transmitted and received via a wired LAN or the like connected to the base station 500.

도 2는 본 발명에 따른 통신 장치(100)의 예시적인 블록도를 도시한 도면이다. 2 is a block diagram illustrating an exemplary communication device 100 according to the present invention.

도 2에 따르면 통신 장치(100)는 복수의 PL 처리 모듈(110), 복수의 DL 처리 모듈(120), NL 처리 모듈(150), TL 처리 모듈(160), 맵핑 테이블(140) 및 DL 처리 모듈(120)과 NL 처리 모듈(150) 사이에 위치하는 가상 레이어("Intermediate Layer", 이하 "IL"이라고도 함) 처리 모듈(130)을 포함한다. 2, the communication apparatus 100 includes a plurality of PL processing modules 110, a plurality of DL processing modules 120, an NL processing module 150, a TL processing module 160, a mapping table 140, (Hereinafter referred to as " IL ") processing module 130 located between the module 120 and the NL processing module 150.

통신 장치(100)는 복수의 DL 처리 모듈(120), IL 처리 모듈(130), NL 처리 모듈(150), TL 처리 모듈(160) 및 맵핑 테이블(140)을 포함하는 이런 처리 모듈 등을 구현한 칩셋들을 포함하여 구성될 수 있다. 특정 하나의 칩셋은 IL 처리 모듈(130), NL 처리 모듈(150) 및 TL 처리 모듈(160)에서 이루어지는 처리와 패킷 구성을 수행할 수 있다. 이 특정 하나의 칩셋은 소프트웨어를 구동할 수 있는 실행 유닛을 포함하거나 하드웨어적으로 수행할 수 있도록 하는 하드웨어 로직을 포함한다. 본 발명에 따른 통신 장치(100)는 적어도 IL 처리 모듈(130), NL 처리 모듈(150) 및 TL 처리 모듈(160)을 소프트웨어에 의한 제어 없이 하드웨어적으로 수행할 수 있도록 하는 칩셋을 바람직하게 포함한다. 통신 장치(100)는 IL 처리 모듈(130) 및 NL, TL 처리 모듈(150, 160)을 하드웨어적으로 구현한 단일 칩셋을 포함할 수 있는데, 이 칩셋은 나아가 복수의 DL 처리 모듈(120)을 더 포함할 수도 있다. 맵핑 테이블(140)은 통신 장치(100)에 포함되는 메모리 상에 구성되거나 칩셋 내의 메모리 또는 레지스터에 구성된다. 맵핑 테이블(140)은 메모리 주소 또는 인덱스 등과 같은 인터페이스 식별자를 이용하여 액세스될 수 있고 대응하는 데이터를 IL 처리 모듈(130) 및/또는 NL, TL 처리 모듈(150, 160)이 추출할 수 있다. 그리고 PL 처리 모듈(110)은 별도의 칩셋으로 구성될 수도 있다. The communication device 100 implements such a processing module or the like that includes a plurality of DL processing modules 120, an IL processing module 130, an NL processing module 150, a TL processing module 160 and a mapping table 140 And one chipset. A particular chipset may perform processing and packet configuration performed in the IL processing module 130, the NL processing module 150, and the TL processing module 160. This particular one chipset includes hardware logic that includes an execution unit capable of running software or allows it to be executed in hardware. The communication device 100 according to the present invention preferably includes a chipset that allows at least the IL processing module 130, the NL processing module 150 and the TL processing module 160 to be performed in hardware without software control do. The communication device 100 may include a single chipset in which the IL processing module 130 and the NL and TL processing modules 150 and 160 are implemented in hardware and the chipset further includes a plurality of DL processing modules 120 . The mapping table 140 is configured on a memory included in the communication device 100 or configured in a memory or a register in a chipset. The mapping table 140 may be accessed using an interface identifier such as a memory address or an index and the corresponding data may be extracted by the IL processing module 130 and / or the NL, TL processing module 150, 160. The PL processing module 110 may be configured as a separate chipset.

통신 장치(100)의 각 구성 요소를 상세히 살펴보면 PL 처리 모듈(110)은 근거리 유선 또는 무선 통신을 통해 특정 통신 인터페이스의 아날로그 또는 무선 신호를 수신하고 수신된 신호를 캐리어 주파수를 이용하여 복조한다. 또한 PL 처리 모듈(110)은 DL 처리 모듈(120)로부터 수신된 신호를 변조하여 특정 통신 인터페이스의 아날로그 또는 무선 신호로 출력한다. The PL processing module 110 receives an analog or wireless signal of a specific communication interface through wired or wireless communication, and demodulates the received signal using a carrier frequency. The PL processing module 110 modulates a signal received from the DL processing module 120 and outputs the modulated signal as an analog or radio signal of a specific communication interface.

PL 처리 모듈(110)은 특정 통신 인터페이스의 통신 프로토콜에 따른 물리 레이어에 대응하는 신호 처리를 수행할 수 있다. 통신 인터페이스는 예를 들어 시리얼, USB, I2C, SPI, 블루투스, 지그비, 와이파이, RF, 유선 랜(예를 들어 이더넷) 등과 같은 표준화된 통신 프로토콜을 위한 인터페이스를 나타낸다. 각각의 PL 처리 모듈(110)은 여러 통신 인터페이스 중 하나의 신호 처리를 수행할 수 있도록 구성된다. PL 처리 모듈(110)로부터 생성되어 DL 처리 모듈(120)로 전송되고 수신되는 신호는 디지털 또는 아날로그 신호일 수 있다. The PL processing module 110 can perform signal processing corresponding to a physical layer according to a communication protocol of a specific communication interface. The communication interface represents an interface for standardized communication protocols such as, for example, serial, USB, I2C, SPI, Bluetooth, ZigBee, WiFi, RF, wired LAN (e.g. Each PL processing module 110 is configured to perform signal processing of one of a plurality of communication interfaces. The signals generated from the PL processing module 110 and transmitted to and received by the DL processing module 120 may be digital or analog signals.

DL 처리 모듈(120)은 연결된 PL 처리 모듈(110)로부터 신호를 수신하고 수신된 신호로부터 DL 패킷을 구성하고 DL 패킷을 DL 패킷 단위로 처리한다. DL 처리 모듈(120)은 예를 들어 특정 통신 인터페이스의 DL 패킷 헤더와 DL 패킷 테일(tail)을 제거하고 패킷 헤더와 테일이 제거된 DL 패킷의 페이로드(Payload)를 출력한다. The DL processing module 120 receives a signal from the connected PL processing module 110, forms a DL packet from the received signal, and processes the DL packet in units of DL packets. The DL processing module 120 removes, for example, the DL packet header and the DL packet tail of the specific communication interface, and outputs the payload of the DL packet in which the packet header and the tail are removed.

DL 처리 모듈(120)은 통신 인터페이스의 통신 프토토콜 타입별로 상이하게 구성된다. DL 처리 모듈(120)들은 또한 서로 상이한 신호 인터페이스를 통해 페이로드를 IL 처리 모듈(130)로 출력한다. The DL processing module 120 is configured differently according to the communication protocol type of the communication interface. The DL processing modules 120 also output payloads to the IL processing module 130 via different signal interfaces.

여기서 PL 처리 모듈(110)과 대응하는 DL 처리 모듈(120)은 하나의 칩셋에 구성될 수 있다. 혹은 PL 처리 모듈(110)과 대응하는 DL 처리 모듈(120)은 서로 상이한 칩셋(예를 들어 DL 처리 모듈(120), IL 처리 모듈(130), NL 처리 모듈(150) 및 TL 처리 모듈(160)이 단일 칩셋으로 구성되고 PL 처리 모듈(110)이 파이칩으로 별도 구성)에 구성될 수 있다. 이에 따라 PL 처리 모듈(110)들이나 DL 처리 모듈(120)들은 칩셋의 제조사나 표준에 따라 서로 상이한 신호 인터페이스로 신호나 페이로드를 출력한다. IL 처리 모듈(130), NL 처리 모듈(150), DL 처리 모듈(120) 및 나아가 TL 처리 모듈(160)은 하드웨어적으로 수행하는 하드웨어 로직으로 구성될 수도 있다. Here, the PL processing module 110 and the corresponding DL processing module 120 may be configured in one chipset. The DL processing module 120 and the DL processing module 120 corresponding to the PL processing module 110 may have different chipsets (for example, the DL processing module 120, the IL processing module 130, the NL processing module 150, and the TL processing module 160 ) Is configured as a single chipset and the PL processing module 110 is separately configured as a pie chip). Accordingly, the PL processing modules 110 and the DL processing modules 120 output signals and payloads with different signal interfaces according to the manufacturer or standard of the chipset. The IL processing module 130, the NL processing module 150, the DL processing module 120, and further the TL processing module 160 may be configured with hardware logic to perform hardware operations.

맵핑 테이블(140)은 여러 통신 인터페이스 각각으로(부터) 송신(수신)될 데이터의 패킷 처리에 이용될 각종 데이터를 저장하는 테이블이다. 맵핑 테이블(140)은 통신 장치(100)의 메모리, 칩셋 내의 메모리, 칩셋 내의 레지스터에 구성된다. The mapping table 140 is a table for storing various data to be used for packet processing of data to be transmitted (received) to and from each of the various communication interfaces. The mapping table 140 is configured in the memory of the communication device 100, the memory in the chipset, and the registers in the chipset.

맵핑 테이블(140)의 각각의 엔트리는 주소나 인덱스 등을 이용하여 액세스되고 수정될 수 있다. 주소나 인덱스는 DL 처리 모듈(120)이나 TL 처리 모듈(160) 등에 의해서 생성되는 인터페이스 식별자이거나 인터페이스 식별자로부터 결정된다. 각각의 엔트리는 대응하는 특정 통신 인터페이스의 DL 패킷의 페이로드 등의 처리에 이용될 각종 데이터를 저장하고 있는데, 각 통신 인터페이스의 인터페이스 식별자, 각 통신 인터페이스의 통신 유형, 각각의 통신 인터페이스를 통해 송수신되는 데이터 유형, 리소스 식별자, MAC 소스 주소, MAC 목적지 주소, 소스 IP 주소, 목적지 IP 주소, 소스 포트 넘버, 목적지 포트 넘버 등을 포함한다. Each entry in the mapping table 140 may be accessed and modified using an address, an index, or the like. The address or index is an interface identifier generated by the DL processing module 120, the TL processing module 160, or the like, or is determined from the interface identifier. Each entry stores various data to be used for processing such as a payload of a DL packet of a corresponding specific communication interface. The interface identifier of each communication interface, the communication type of each communication interface, Data type, resource identifier, MAC source address, MAC destination address, source IP address, destination IP address, source port number, and destination port number.

맵핑 테이블(140)의 각 필드에 대해서 살펴보면, 인터페이스 식별자는 맵핑 테이블(140)의 엔트리를 식별하고 액세스하고 수정하기 위해서 이용된다. 인터페이스 식별자는 예를 들어 일련 번호로 부여되거나 메모리나 레지스터의 주소로 부여된다. Referring to each field of the mapping table 140, the interface identifier is used to identify, access, and modify entries in the mapping table 140. The interface identifier may be assigned, for example, as a serial number or as an address in a memory or register.

통신 유형은 인터넷 망(500)과의 데이터 통신인지 또는 근거리 통신(400) 내에서의 데이터 통신인지를 나타내는 데이터이다. 통신 유형은 예를 들어 엔트리의 해당 통신 인터페이스가 근거리 통신(400)들 내에서의 다른 근거리 통신 장치(200)와 데이터 통신인 경우에 특정 하나의 데이터 값(예를 들어 '0')으로 설정된다. 또는 통신 유형은 엔트리의 해당 통신 인터페이스가 인터넷 망(500)을 통한 데이터 통신인 경우에 다른 하나의 데이터 값(예를 들어 '1')으로 설정된다. 통신 유형은 TL 처리 모듈(160) 등에 의한 데이터 경로 결정시에 이용된다.The communication type is data indicating whether data communication with the Internet network 500 or data communication within the short distance communication 400 is performed. The communication type is set to a specific one data value (e.g., '0'), for example, when the corresponding communication interface of the entry is data communication with another local communication device 200 within the local communication 400 . Or the communication type is set to another data value (for example, '1') when the corresponding communication interface of the entry is a data communication via the Internet network 500. The communication type is used in determining the data path by the TL processing module 160 or the like.

데이터 유형은 예를 들어 특정 통신 인터페이스가 DL까지의 패킷만을 송수신 가능한지(이하 'DL' 타입이라고 함), NL 패킷까지 송수신 가능한지(이하 'NL' 타입이라고 함) 또는 TL 패킷까지 송수신 가능한지(이하 'TL' 타입이라고 함)를 나타내는 데이터이다. 이 데이터 유형은 생략될 수 있고 이 때에는 리소스 식별자가 데이터 유형으로 이용될 수 있다. 여기서 TL 타입은 NL 타입과 DL 타입을 모두 포함하는 것을 나타내고 NL 타입은 DL 타입을 포함하는 것을 나타낸다. For example, the data type indicates whether a specific communication interface is capable of transmitting and receiving only packets up to DL (hereinafter referred to as DL type), transmitting and receiving up to NL packets (hereinafter referred to as NL type) TL 'type). This data type may be omitted and the resource identifier may be used as the data type at this time. Here, the TL type indicates both the NL type and the DL type, and the NL type indicates that the DL type is included.

리소스 식별자는 대응하는 특정 통신 인터페이스의 통신 타입을 식별하기 위한 식별자이다. 리소스 식별자는 예를 들어 시리얼, USB, I2C, SPI, 이더넷, RF, 블루투스, 지그비, 와이파이 등을 나타내는 데이터일 수 있다. 각각의 리소스 식별자로 데이터 유형이 물론 결정될 수도 있다. The resource identifier is an identifier for identifying the communication type of the corresponding specific communication interface. The resource identifier may be, for example, data representing serial, USB, I2C, SPI, Ethernet, RF, Bluetooth, ZigBee, WiFi, and the like. The data type may of course be determined with each resource identifier.

각종 소스 및 목적지 주소는 각 통신 인터페이스별 자신의 주소(소스 주소)와 통신 인터페이스를 통해 연결될 장치의 주소(목적지 주소)를 나타낸다. 각종 소스 및 목적지 주소는 레이어 별로 구성될 수 있다. 각종 소스 및 목적지 주소는 통신 인터페이스를 통해 송수신될 데이터(예를 들어 DL 패킷)의 구성을 위해서 이용되고 여러 처리 모듈에 의해서 활용된다. The various source and destination addresses represent the address (source address) of each communication interface and the address (destination address) of the device to be connected through the communication interface. Various source and destination addresses can be configured by layer. Various source and destination addresses are used for the construction of data (e.g. DL packets) to be transmitted and received via the communication interface and utilized by various processing modules.

특정 하나의 통신 인터페이스에 맵핑된 엔트리는 예를 들어 이더넷 통신 인터페이스를 위한 엔트리이다. 이 엔트리는 TL 유형으로 할당되고 각종 소스 및 목적지 주소(예를 들어 MAC 소스 주소, MAC 목적지 주소, 소스 IP 주소, 목적지 IP 주소, 소스 포트 넘버, 목적지 포트 넘버 모두 구비)를 가지고 이 소스 및 목적지 주소를 활용하여 NL 상에서의 TL 패킷의 송수신을 수행할 수 있다. TL 유형에서 소스 IP 주소는 이 통신 장치(100)를 인터넷 망(500)에서 식별할 수 있도록 구성된다. An entry mapped to a particular one of the communication interfaces is, for example, an entry for the Ethernet communication interface. This entry is assigned to the TL type and has a source and destination address with various source and destination addresses (eg, MAC source address, MAC destination address, source IP address, destination IP address, source port number, and destination port number) Can be used to transmit and receive TL packets on the NL. In the TL type, the source IP address is configured to identify the communication device 100 in the Internet network 500.

다른 하나의 통신 인터페이스에 맵핑된 엔트리는 예를 들어 와이파이 통신 인터페이스를 위한 엔트리이다. 이 엔트리는 NL 유형으로 할당될 수 있고 MAC 주소, IP 주소와 포트 넘버를 가지고 NL 패킷의 송수신을 수행할 수 있다. IP 주소는 사설 IP 주소일 수 있고 포트 넘버 등은 인터넷 망(500)이나 내부 근거리 유무선 통신을 통해 TL 패킷 처리를 위한 데이터이다. The entry mapped to the other communication interface is, for example, an entry for the Wi-Fi communication interface. This entry can be assigned to the NL type and can send and receive NL packets with MAC address, IP address and port number. The IP address may be a private IP address, and the port number is data for processing the TL packet through the Internet 500 or internal local wired / wireless communication.

또 다른 하나의 통신 인터페이스에 맵핑된 엔트리는 예를 들어 블루투스 통신 인터페이스를 위한 엔트리이다. 이 엔트리는 DL 유형으로 할당되고 MAC 주소 나아가 IP 주소 및 포트 넘버를 가지고 데이터 링크 레이어 상에서 DL 패킷의 송수신을 수행할 수 있다. IP 주소와 포트 넘버는 이 통신 인터페이스와 데이터 통신을 위해 할당되는 데이터로서 소스 IP 주소는 가상의 IP 주소이고 포트 넘버는 기능에 따라 임의로 할당되는 넘버이다. An entry mapped to another communication interface is, for example, an entry for a Bluetooth communication interface. This entry can be used to send and receive DL packets on the data link layer with the DL type assigned, MAC address, IP address and port number. The IP address and the port number are data allocated for data communication with this communication interface. The source IP address is a virtual IP address and the port number is a number arbitrarily assigned according to the function.

맵핑 테이블(140)의 엔트리는 통신 장치(100)의 관리자에 의해서 관리되고 수정되고 변경될 수 있다. 또는 맵핑 테이블(140)의 엔트리는 외부의 근거리 통신 장치(200)로부터의 외부 장치(300)로의 연결 요청에 따라 동적으로 추가될 수 있다. 설계의 간단한 구성을 위해서 맵핑 테이블(140)의 엔트리는 관리자에 의한 설정으로 또는 사전에 미리 구성될 수 있다. An entry in the mapping table 140 may be managed, modified and changed by an administrator of the communication device 100. Or an entry of the mapping table 140 may be dynamically added according to a connection request from the external short range communication device 200 to the external device 300. [ For simple construction of the design, the entry of the mapping table 140 may be configured in advance by the administrator or in advance.

맵핑 테이블(140)의 엔트리들은 패킷 처리의 목적에 따라 서로 분리되어 구성될 수 있다. 예를 들어 MAC 주소를 가지는 메모리 또는 레지스터는 DL 처리 모듈(120)에서 인터페이스 식별자를 이용하여 액세스 가능하고 데이터 유형과 IP 주소를 가지는 메모리 또는 레지스터는 NL 처리 모듈(150)에서 인터페이스 식별자를 이용하여 액세스 가능하고 인터페이스 식별자, 데이터 유형 및 포트 넘버 등을 가지는 메모리 또는 레지스터는 TL 처리 모듈(160)에 의해서 액세스 가능하다. The entries of the mapping table 140 may be configured separately from each other for the purpose of packet processing. For example, a memory or register having a MAC address can be accessed using an interface identifier in the DL processing module 120, and a memory or register having a data type and an IP address can be accessed (accessed) in the NL processing module 150 using an interface identifier A memory or register that is enabled and has an interface identifier, data type, port number, etc. is accessible by the TL processing module 160.

IL 처리 모듈(130)은 복수의 DL 처리 모듈(120) 각각에 연결되어 DL 패킷의 페이로드를 수신하고 이 페이로드의 처리에 이용될 인터페이스 식별자를 생성한다. 인터페이스 식별자는 적어도 맵핑 테이블(140)의 특정 엔트리를 액세스할 수 있도록 구성되고 예를 들어 맵핑 테이블(140)의 메모리 주소나 레지스터 주소 등일 수 있다. The IL processing module 130 is connected to each of the plurality of DL processing modules 120 to receive a payload of the DL packet and generate an interface identifier to be used for processing the payload. The interface identifier may be configured to at least be able to access a particular entry in the mapping table 140 and may be, for example, a memory address or a register address of the mapping table 140.

IL 처리 모듈(130)은 복수의 DL 처리 모듈(120) 각각에 연결되기에 어떠한 통신 인터페이스로부터 DL 패킷의 페이로드를 수신하였는가를 알 수 있고 이로부터 인터페이스 식별자를 자동으로 생성할 수 있다. 특정 통신 인터페이스로부터의 페이로드는 데이터 유형에 따라 OSI 7 레이어 중 DL 까지의 레이어를 이용하여 근거리 통신 장치(200)로부터 수신된 데이터일 수 있고 또는 NL 까지의 레이어를 이용하여 수신된 데이터일 수 있고 또는 TL 까지의 레이어를 이용하여 수신된 데이터일 수 있다. The IL processing module 130 can know which communication interface the payload of the DL packet has been received to be connected to each of the plurality of DL processing modules 120 and automatically generate an interface identifier therefrom. The payload from a particular communication interface may be data received from the short range communication device 200 using a layer up to the DL of the OSI 7 layer, depending on the data type, or may be data received using layers up to NL Or may be data received using a layer up to TL.

IL 처리 모듈(130)은 복수의 DL 처리 모듈(120)과 인터페이스하여 다른 DL 처리 모듈(120)과 서로 상이한 신호 인터페이스를 통해 페이로드를 수신한다. 반면 IL 처리 모듈(130)은 단일의 신호 인터페이스를 통해서 페이로드와 인터페이스 식별자를 출력한다. 이에 따라 여러 다른 신호 인터페이스에 대해 통일적인 내부 인터페이스를 구축할 수 있다. IL 처리 모듈(130)에서 출력되는 페이로드와 인터페이스 식별자는 NL 처리 모듈(150)로 전달된다. The IL processing module 130 interfaces with the plurality of DL processing modules 120 to receive payloads through different signal interfaces with the other DL processing modules 120. [ On the other hand, the IL processing module 130 outputs the payload and the interface identifier through a single signal interface. This allows a unified internal interface to be built for different signal interfaces. The payload and the interface identifier output from the IL processing module 130 are transmitted to the NL processing module 150.

NL 처리 모듈(150)은 IL 처리 모듈(130)에 연결되어 DL 패킷의 페이로드와 인터페이스 식별자를 단일 신호 인터페이스를 통해 수신하고 수신된 페이로드에 대한 처리를 인터페이스 식별자를 이용하여 수행한다. The NL processing module 150 is connected to the IL processing module 130 to receive the payload of the DL packet and the interface identifier through a single signal interface and performs processing on the received payload using the interface identifier.

NL 처리 모듈(150)은 인터페이스 식별자로 맵핑 테이블(140)의 엔트리를 액세스하고 엔트리의 데이터를 이용하여 수신된 페이로드의 데이터 유형을 식별하고 식별된 데이터 유형에 따라 페이로드의 지정된 데이터의 제거 여부를 결정하고 이 결정에 따라 지정된 데이터를 제거한다. The NL processing module 150 accesses the entry of the mapping table 140 as an interface identifier, identifies the data type of the received payload using the data of the entry, and determines whether to remove the specified data of the payload according to the identified data type And removes the designated data according to this determination.

구체적으로, NL 처리 모듈(150)은 인터페이스 식별자로 엔트리의 데이터 유형을 추출하고 추출된 데이터 유형이 DL 타입인 경우에는 수신된 페이로드를 TL 처리 모듈(160)로 바이패스 시킨다. 그러나 데이터 유형이 NL 또는 TL 타입인 경우에 수신된 페이로드에서 NL 패킷의 헤더와 테일을 제거하고 NL 패킷의 헤더와 테일이 제거되도록 처리된 페이로드를 출력한다. 또한 NL 처리 모듈(150)은 인터페이스 식별자를 처리된 페이로드와 함께 출력한다. 이와 같이 NL 처리 모듈(150)은 페이로드의 바이패스를 통해 또는 패킷 헤더와 테일의 삭제를 통해 수신된 페이로드를 처리한다. Specifically, the NL processing module 150 extracts the data type of the entry with the interface identifier and, if the extracted data type is the DL type, bypasses the received payload to the TL processing module 160. However, if the data type is NL or TL type, remove the header and tail of the NL packet from the received payload and output the processed payload so that the header and tail of the NL packet are removed. The NL processing module 150 also outputs the interface identifier together with the processed payload. Thus, the NL processing module 150 processes the payload received via bypass of the payload or through deletion of the packet header and tail.

이에 따라 DL 타입만을 지원하는 통신 인터페이스와 NL 타입 이상을 지원하는 통신 인터페이스를 통일적으로 처리할 수 있도록 한다. Accordingly, the communication interface supporting only the DL type and the communication interface supporting the NL type or higher can be unifiedly processed.

TL 처리 모듈(160)은 NL 처리 모듈(150)에 연결되어 처리된 페이로드와 인터페이스 식별자를 수신한다. 처리된 페이로드는 적어도 NL 패킷의 헤더와 테일이 삭제되어 있는 데이터이다. 이 데이터는 예를 들어 데이터 유형에 따라 DL 패킷의 페이로드, NL 패킷의 페이로드 등일 수 있다. The TL processing module 160 is connected to the NL processing module 150 to receive the processed payload and the interface identifier. The processed payload is data in which at least the header and tail of the NL packet are deleted. This data may be, for example, a payload of DL packets, a payload of NL packets, etc., depending on the data type.

TL 처리 모듈(160)은 인터페이스 식별자를 이용하여 맵핑 테이블(140)의 엔트리를 식별하고 엔트리로부터 각종 데이터를 액세스할 수 있다. TL 처리 모듈(160)은 액세스되는 엔트리의 데이터 유형에 따라 데이터 처리를 수행한다. 예를 들어 TL 처리 모듈(160)은 수신된 데이터의 대응하는 데이터 유형이 TL 유형인 경우에 TL 패킷의 헤더와 테일을 제거하여 TL 패킷의 페이로드를 추출한다. 또는 TL 처리 모듈(160)은 데이터 유형이 NL 또는 DL 인 경우 수신된 데이터(처리된 데이터)를 TL 패킷의 페이로드에 삽입될 데이터로 결정할 수 있다. TL processing module 160 may use the interface identifier to identify an entry in the mapping table 140 and access various data from the entry. The TL processing module 160 performs data processing according to the data type of the entry being accessed. For example, the TL processing module 160 extracts the payload of the TL packet by removing the header and tail of the TL packet when the corresponding data type of the received data is the TL type. Or the TL processing module 160 may determine the received data (processed data) as the data to be inserted into the payload of the TL packet if the data type is NL or DL.

TL 처리 모듈(160)은 엔트리의 데이터를 이용하여 TL 패킷을 생성할 수 있다. 예를 들어 해당 엔트리의 통신 유형이 인터넷 망(500)을 통한 데이터 통신을 나타내고(거나) 목적지 IP 주소와 목적지 포트 넘버가 인터넷 망(500)을 통해 또는 내부 사설 인터넷 망을 통해 외부(근거리 통신) 장치로 액세스 가능한 주소이고 넘버인 경우(예를 들어 IP 주소 범위나 사설 IP 주소 범위 등의 비교로 식별 가능함), 엔트리의 소스 포트 넘버 및 목적지 포트 넘버를 이용하여 TL의 패킷 헤더를 생성하고 추출되거나 결정된 데이터를 포함하는 TL 패킷의 페이로드를 생성하고 생성된 패킷 헤더와 페이로드를 포함하는 TL 패킷을 생성한다. 그리고 생성된 TL 패킷은 NL 처리 모듈(150), IL 처리 모듈(130), DL 처리 모듈(120) 등을 경유하여 이더넷 통신 인터페이스나 와이파이 통신 인터페이스 등을 통해 출력될 수 있다. TL processing module 160 can generate TL packets using the data of the entry. For example, if the communication type of the entry indicates data communication through the Internet network 500 and / or the destination IP address and the destination port number are communicated via the Internet 500 or external (local communication) through the internal private Internet network, The packet header of the TL is generated using the source port number and the destination port number of the entry, and the packet header of the TL can be extracted and extracted (for example, by comparison with an IP address range or a private IP address range) Generates a payload of the TL packet including the determined data, and generates a TL packet including the generated packet header and the payload. The generated TL packet can be output via the Ethernet communication interface or the Wi-Fi communication interface via the NL processing module 150, the IL processing module 130, the DL processing module 120, and the like.

만일 DL 패킷만을 처리할 수 있는 통신 인터페이스로부터 수신된 데이터(페이로드)를 인터넷 망(500) 등을 통해 전송하는 경우에는, 이 통신 인터페이스에 대응하는 맵핑 테이블(140)의 엔트리의 데이터 중 적어도 소스 IP 주소는 다른 엔트리의 소스 IP 주소와 동일할 수 있고 사설 또는 인터넷 망(500)을 통해 액세스 가능한 주소이다. 다만 소스 포트 넘버는 상이할 수 있다. 이 다른 엔트리는 예를 들어 TL 유형을 처리할 수 있어 인터넷 망(500) 등을 액세스할 수 있는 통신 인터페이스를 위한 엔트리이다. 물론 필요에 따라 또는 중복에 따라서는 엔트리의 특정 데이터는 생략될 수도 있다. If the data (payload) received from the communication interface capable of processing only the DL packet is transmitted through the Internet 500 or the like, at least the source of the data of the entry of the mapping table 140 corresponding to this communication interface The IP address may be the same as the source IP address of another entry and is an address accessible via the private or Internet network 500. However, the source port number can be different. This other entry is, for example, an entry for a communication interface capable of handling the TL type and capable of accessing the Internet 500 and the like. Certain data of the entry may, of course, be omitted depending on the necessity or redundancy.

또한 TL 처리 모듈(160)은 TL 패킷의 생성을 생략할 수도 있다. 예를 들어 DL 처리 모듈을 통해 수신한 통신 인터페이스에 대응하는 엔트리의 통신 유형이 근거리 통신(400) 내에서의 데이터 통신을 나타내고(거나) 데이터를 전달할 근거리 통신 장치의 엔트리의 데이터 유형(엔트리 간 주소 등의 비교로 판별 가능함)이 NL 타입 또는 DL 타입인 경우 TL 처리 모듈(160)은 TL 패킷의 생성을 생략할 수 있다. Also, the TL processing module 160 may omit the generation of the TL packet. For example, if the communication type of the entry corresponding to the communication interface received via the DL processing module indicates the data communication in the local communication 400 and / or the data type of the entry of the local communication device The TL processing module 160 may omit the generation of the TL packet when the NL type or the DL type.

통신 장치(100)는 맵핑 테이블을 설정할 수 있는 설정 모듈(도면 미도시)을 더 포함할 수 있다. 설정 모듈은 TL 처리 모듈(150)에 연결되어 특정 근거리 통신 장치(200)로부터의 약속된 제어 데이터를 수신하고 수신된 제어 데이터에 따라 해당 근거리 통신 장치(200)를 위한 엔트리를 설정할 수 있다. 또는 설정 모듈은 통신 장치의 입력 인터페이스(예를 들어 버튼, 터치 등, 도면 미도시)를 통한 제어 데이터를 수신하고 수신된 제어 데이터에 따라 해당 엔트리를 설정할 수 있다. 이러한 설정에 따라 통신 장치는 특정 근거리 통신 장치(200) 또는 특정 근거리 통신(400)에 필요한 각종 파라미터를 설정할 수 있다. The communication device 100 may further include a setting module (not shown) capable of setting a mapping table. The setting module may be connected to the TL processing module 150 to receive the appointed control data from the specific local area communication device 200 and set an entry for the local area communication device 200 according to the received control data. Alternatively, the configuration module may receive control data over an input interface (e.g., button, touch, etc., not shown) of the communication device and set the entry according to the received control data. According to this setting, the communication device can set various parameters required for the specific short-range communication device 200 or the specific short-range communication device 400.

설정 모듈은 맵핑 테이블의 엔트리가 설정되기 전에 해당 통신 인터페이스로부터의 데이터를 처리하도록 구성된다. 따라서, 특정 엔트리는 엔트리 설정 이전에 설정 모듈로 수신된 데이터를 전달하도록 각각의 주소 등이 이 설정 모듈을 나타내도록 디폴트로 설정된다. The configuration module is configured to process data from the communication interface before an entry in the mapping table is established. Thus, the specific entry is set to default so that each address or the like represents this configuration module to pass data received by the configuration module prior to entry configuration.

설정 모듈은 근거리 통신 장치(200)나 입력 인터페이스를 통한 제어 데이터에 따라 내부의 근거리 통신(400)의 특정 근거리 통신 장치(200)와의 데이터 통신이 가능하도록 설정하거나 인터넷 망(500)을 통한 외부 장치(300)와의 데이터 통신이 가능하도록 설정한다.The setting module may set data communication with the specific local area communication device 200 of the local area communication 400 according to the control data through the local area communication device 200 or the input interface, So that data communication with the mobile communication terminal 300 is possible.

이상으로 통신 장치(100)의 내부 구성 블록들에 대해서 살펴보았다. 도 2를 통한 설명은 통신 인터페이스를 통해 데이터 수신 관점에서 설명하였으나 각각의 처리 모듈들은 통신 인터페이스로 무선 또는 유선의 신호를 송출할 수 있음은 자명하고 수신 관점과 대응되게 수행된다. 통신 인터페이스를 통한 송출에 대해서는 도 4를 통해서 살펴보도록 한다.
The internal configuration blocks of the communication apparatus 100 have been described above. Although the description with reference to FIG. 2 has been made in terms of data reception through a communication interface, it is self-evident that each processing module can transmit a wireless or wired signal to a communication interface and is performed in correspondence with the reception view. The transmission through the communication interface will be described with reference to FIG.

도 3은 근거리 통신 장치(200)를 통해 수신된 통신 신호에 대한 패킷 처리 과정을 도시한 흐름도이다. 도 3의 패킷 처리 과정은 통신 장치(100)에 의해 수행되며 도 2의 블록도를 이용하여 설명된다. 그리고 도 2의 설명에서 중복되는 부분은 간단히 또는 생략하도록 한다. 3 is a flowchart illustrating a packet processing process for a communication signal received through the short-range communication device 200. Referring to FIG. 3 is performed by the communication device 100 and is described using the block diagram of FIG. In the description of FIG. 2, the redundant portions are simply or omitted.

먼저 통신 장치(100)의 복수의 통신 인터페이스 중 하나의 통신 인터페이스로부터 통신 신호를 수신(S101)한다. 통신 신호의 수신은 PL 처리 모듈(110)에 의해서 수행된다. First, a communication signal is received from one of the plurality of communication interfaces of the communication device 100 (S101). Reception of the communication signal is performed by the PL processing module 110.

이후 DL 처리 모듈(120)은 수신된 통신 신호부터 DL 패킷을 구성하고 DL 패킷에서 페이로드를 추출(S103)하고 추출된 페이로드를 IL 처리 모듈(130)로 출력한다. Then, the DL processing module 120 forms a DL packet from the received communication signal, extracts a payload from the DL packet (S103), and outputs the extracted payload to the IL processing module 130. [

IL 처리 모듈(130)은 수신된 페이로드에 대응하는 통신 인터페이스를 식별하기 위한 인터페이스 식별자를 생성(S105)한다. 인터페이스 식별자는 맵핑 테이블(140)을 액세스하고 맵핑 테이블(140)의 특정 엔트리의 데이터를 액세스할 수 있다. The IL processing module 130 generates an interface identifier for identifying the communication interface corresponding to the received payload (S105). The interface identifier can access the mapping table 140 and access the data of a particular entry in the mapping table 140. [

이후 IL 처리 모듈(130)은 수신된 페이로드와 인터페이스 식별자를 IL 처리 모듈(130)로 출력한다. Then, the IL processing module 130 outputs the received payload and the interface identifier to the IL processing module 130.

NL 처리 모듈(150)은 수신된 인터페이스 식별자를 이용하여 수신된 페이로드에 대응하는 통신 인터페이스의 데이터 유형을 결정(S107)한다. The NL processing module 150 determines the data type of the communication interface corresponding to the received payload using the received interface identifier (S107).

만일 데이터 유형이 DL 타입이 아닌 경우에, 단계 S109에서 NL 처리 모듈(150)은 수신된 페이로드로부터 NL 패킷 헤더와 NL 패킷 테일을 제거하여 NL 패킷의 페이로드를 추출하는 처리를 수행한다. 만일 데이터 유형이 DL 타입인 경우 NL 처리 모듈(150)은 수신된 페이로드에 대한 헤더와 테일의 제거를 생략하는 처리를 수행한다. If the data type is not DL type, in step S109, the NL processing module 150 performs processing of removing the NL packet header and the NL packet tail from the received payload to extract the payload of the NL packet. If the data type is a DL type, the NL processing module 150 performs processing for omitting removal of the header and tail for the received payload.

데이터 유형에 따라 처리된 페이로드와 인터페이스 식별자는 TL 처리 모듈(160)로 전송되고 TL 처리 모듈(160)은 수신된 인터페이스 식별자를 이용하여 통신 인터페이스의 데이터 유형을 결정(S111)한다. The payload and the interface identifier processed according to the data type are transmitted to the TL processing module 160 and the TL processing module 160 determines the data type of the communication interface using the received interface identifier (S111).

만일 데이터 유형이 TL 타입인 경우, TL 처리 모듈(160)은 NL 처리 모듈(150)로부터 수신된 페이로드로부터 TL 패킷 헤더와 테일을 제거(S113)한다. 만일 데이터 유형이 TL 타입이 아닌 경우에 TL 처리 모듈(160)은 수신된 페이로드에 대한 헤더와 테일의 제거를 생략하는 처리를 수행한다. If the data type is TL type, the TL processing module 160 removes the TL packet header and tail from the payload received from the NL processing module 150 (S113). If the data type is not a TL type, the TL processing module 160 performs a process of omitting removal of the header and tail for the received payload.

이후 TL 처리 모듈(160)은 TL을 통해 송수신될 데이터인 페이로드를 구성(S115)할 수 있다. Then, the TL processing module 160 can construct a payload which is data to be transmitted / received through the TL (S115).

TL 처리 모듈(160)은 인터페이스 식별자의 엔트리를 이용하여 TL 패킷 헤더를 생성하고 단계 S115에서 구성된 페이로드와 생성된 TL 패킷 헤더를 포함하는 TL 패킷을 생성(S117)한다. 예를 들어 통신 인터페이스를 통해 수신된 데이터의 대응하는 엔트리의 통신 유형 또는 포트 넘버 등이 인터넷 망(500)을 통한 데이터 통신을 나타내는 경우, TL 처리 모듈(160)은 대응하는 엔트리의 소스 포트 넘버, 목적지 포트 넘버 등을 이용하여 TL 패킷 헤더를 생성할 수 있다. 이후 TL 처리 모듈(160)은 생성된 TL 패킷 헤더와 구성된 페이로드를 포함하는 TL 패킷을 생성한다. 생성된 TL 패킷은 이후 통신 인터페이스를 통해 인터넷 망(500)을 통해 전송된다. TL processing module 160 generates a TL packet header using an entry of the interface identifier, and generates a TL packet including the payload and the generated TL packet header in step S115 (S117). For example, if the communication type or port number of the corresponding entry of data received via the communication interface represents data communication via the Internet network 500, the TL processing module 160 may determine the source port number of the corresponding entry, A TL packet header can be generated using a destination port number or the like. The TL processing module 160 then generates a TL packet containing the generated TL packet header and the configured payload. The generated TL packet is then transmitted through the Internet network 500 via the communication interface.

TL 패킷 헤더와 테일의 생성 및 TL 패킷의 생성은 물론 생략될 수 있다. 예를 들어 TL 처리 모듈(160)은, 대응하는 엔트리의 통신 유형이 근거리 통신(400)들 내에서의 다른 근거리 통신 장치(200)와 데이터 통신인 경우에 및/또는 엔트리의 목적지 포트 넘버와 목적지 IP 주소 등이 맵핑 테이블 내의 다른 엔트리의 소스 포트 넘버와 소스 IP 주소와 일치하고 다른 엔트리의 데이터 유형이 DL, 또는 NL 타입인 경우 TL 패킷의 생성은 생략된다. TL 패킷 생성이 생략된 페이로드는 이후 NL 처리 모듈(150)과 DL 처리 모듈(120) 등을 통해 근거리 통신(400) 상의 특정 근거리 통신 장치(200)로 전송될 수 있다. TL packet header and tail generation and TL packet generation may of course be omitted. For example, the TL processing module 160 may be configured to determine if the communication type of the corresponding entry is a data communication with another local communication device 200 within the local communication 400 and / or the destination port number of the entry and the destination If the IP address or the like matches the source port number and source IP address of another entry in the mapping table and the data type of the other entry is DL or NL type, the creation of the TL packet is skipped. The payload in which the TL packet generation is omitted may be transmitted to the specific local area communication device 200 on the local area communication 400 through the NL processing module 150 and the DL processing module 120 or the like.

이와 같이 TL 처리 모듈(160)은 인터넷 망(500)을 통한 패킷의 전송 및 내부의 근거리 통신(400)을 통한 패킷(예를 들어 TL 패킷, NL 패킷 또는 DL 패킷) 전송을 처리할 수 있다. As described above, the TL processing module 160 can process transmission of a packet through the Internet network 500 and transmission of a packet (for example, a TL packet, an NL packet, or a DL packet) through the internal short-

도 3과 같이 인터페이스 식별자를 활용하여 각종 통신 인터페이스의 데이터 통신 가능한 유형에 따라 동적으로 패킷의 처리가 이루어지고 여러 통신 인터페이스를 아울러 통일적으로 처리할 수 있도록 한다.
As shown in FIG. 3, a packet is dynamically processed according to a type of data communication of various communication interfaces utilizing an interface identifier, and the communication interface can be processed in a unified manner.

도 4는 근거리 통신 장치(200)로 패킷 데이터를 전송하기 위한 패킷 처리 과정을 도시한 흐름도이다. 도 4의 흐름도는 통신 장치(100)에 의해서 수행된다. 근거리 통신 장치(200)로 전송하기 위한 데이터는 예를 들어 이더넷을 통해 수신된 TL 패킷의 페이로드, 와이파이를 통해 수신된 NL 패킷의 페이로드, 블루투스 통해 통해 수신된 DL 패킷의 페이로드 등일 수 있다. 이러한 패킷의 페이로드는 앞서 살펴본 도 3의 단계 S101 내지 단계 S115를 통해서 이루어진다.4 is a flowchart illustrating a packet processing process for transmitting packet data to the short-range communication device 200. As shown in FIG. The flow chart of FIG. 4 is performed by the communication device 100. The data for transmission to the short range communication device 200 may be, for example, a payload of a TL packet received over Ethernet, a payload of an NL packet received via Wi-Fi, a payload of a DL packet received via Bluetooth, . The payload of such a packet is performed through steps S101 to S115 of FIG.

먼저 통신 장치(100)의 TL 처리 모듈(160)은 단계 S113을 통해 제거된 패킷 헤더의 목적지 포트 넘버를 이용하여 데이터를 전송할 통신 인터페이스를 식별할 수 있다. 즉 TL 처리 모듈(160)은 TL 패킷의 목적지 포트 넘버를 맵핑 테이블(140)의 엔트리들의 소스 포트 넘버와 비교하고 일치하는 엔트리를 식별할 수 있다. 또는 TL 처리 모듈(160)은 목적지 IP 주소를 다른 엔트리의 소스 IP 주소를 더 비교하거나 나아가 MAC 목적지 주소를 다른 엔트리의 MAC 소스 주소와 더 비교하여 전송할 통신 인터페이스를 식별할 수 있다. 이와 같이 TL 처리 모듈(160)은 각종 주소의 조합으로 연결될 특정 통신 인터페이스를 식별한다. The TL processing module 160 of the communication device 100 can identify the communication interface through which data is to be transmitted using the destination port number of the packet header that has been removed through step S113. The TL processing module 160 may compare the destination port number of the TL packet with the source port number of the entries in the mapping table 140 and identify the matching entry. Or the TL processing module 160 may compare the destination IP address with the source IP address of another entry or further compare the MAC destination address with the MAC source address of another entry to identify the communication interface to transmit. Thus, the TL processing module 160 identifies a specific communication interface to be connected by a combination of various addresses.

이에 따라 TL 처리 모듈(160)은 식별된 엔트리의 데이터 유형에 기초하여 TL 패킷의 추출된 페이로드로부터 식별된 통신 인터페이스에 연결된 근거리 통신 장치(200)로 전송할 데이터를 구성(S301)한다. Accordingly, the TL processing module 160 constructs (S301) data to be transmitted to the short-range communication device 200 connected to the communication interface identified from the extracted payload of the TL packet based on the data type of the identified entry.

또한 TL 처리 모듈(160)은 근거리 통신 장치(200)가 연결된 통신 인터페이스를 식별하기 위한 인터페이스 식별자를 생성(S303)한다. 생성되는 인터페이스 식별자는, 도 3에 후속하여 도 4가 수행되는 경우, 도 3의 단계 S105에서 생성되는 인터페이스 식별자와는 일반적으로 다르다. The TL processing module 160 generates an interface identifier for identifying the communication interface to which the local area communication device 200 is connected (S303). The generated interface identifier is generally different from the interface identifier generated in step S105 of Fig. 3 when Fig. 4 is followed by Fig.

인터페이스 식별자의 생성을 위해, TL 처리 모듈(160)은 식별된 엔트리의 인터페이스 식별자를 읽어 들이고 이를 내부적으로 임시 저장(예를 들어 메모리나 레지스터)한다. For the generation of the interface identifier, the TL processing module 160 reads the interface identifier of the identified entry and internally stores it (e.g., memory or register) internally.

이후 TL 처리 모듈(160)은 생성된 인터페이스 식별자에 대응하는 엔트리 또는 식별된 엔트리의 데이터 유형을 결정하고 결정된 데이터 유형이 TL 유형인 경우 단계 S307로 전이한다. The TL processing module 160 then determines the data type of the entry or the identified entry corresponding to the generated interface identifier and transitions to step S307 if the determined data type is a TL type.

단계 S307에서 TL 처리 모듈(160)은 인터페이스 식별자 등의 엔트리의 각종 데이터(예를 들어 소스 포트 넘버, 목적지 포트 넘버)를 이용하여 전송할 데이터로부터 TL 패킷을 구성한다. In step S307, the TL processing module 160 constructs a TL packet from data to be transmitted using various data (for example, a source port number and a destination port number) of an entry such as an interface identifier.

TL 처리 모듈(160)은 데이터 유형에 따라 선택되는 구성된 TL 패킷 또는 전송할 데이터 및 인터페이스 식별자를 NL 처리 모듈(150)로 전송한다. TL processing module 160 transmits to the NL processing module 150 a configured TL packet or data to be transmitted and an interface identifier selected according to the data type.

NL 처리 모듈(150)은 TL 처리 모듈(160)로부터 수신된 인터페이스 식별자를 이용하여 데이터 유형을 결정(S309)한다. 데이터 유형인 NL 타입인 경우 단계 S311에서 NL 처리 모듈(150)은 TL 처리 모듈(160)로부터 수신된 데이터를 NL 패킷 페이로드에 포함하고 인터페이스 식별자를 이용하여 NL 패킷 헤더를 생성하여 NL 패킷을 구성(S311)한다. The NL processing module 150 determines the data type using the interface identifier received from the TL processing module 160 (S309). In the case of the NL type being the data type, in step S311, the NL processing module 150 includes the data received from the TL processing module 160 in the NL packet payload, generates an NL packet header using the interface identifier, (S311).

이후 NL 처리 모듈(150)은 데이터 유형에 따라 선택되는 구성된 NL 패킷 또는 TL 처리 모듈(160)로부터 수신된 데이터 및 인터페이스 식별자를 IL 처리 모듈(130)로 전달한다. The NL processing module 150 then forwards the constructed NL packet selected according to the data type or the data and interface identifier received from the TL processing module 160 to the IL processing module 130.

IL 처리 모듈(130)은 인터페이스 식별자를 이용하여 복수의 통신 인터페이스 중 특정 통신 인터페이스를 구별할 수 있다. 구별된 통신 인터페이스에 대응하는 DL 처리 모듈(120)로 수신된 데이터를 DL 처리 모듈(120)과 데이터 및 제어 신호를 송수신할 수 있는 신호 인터페이스를 통해 전송한다. The IL processing module 130 may identify a specific communication interface among a plurality of communication interfaces using the interface identifier. And transmits the data received by the DL processing module 120 corresponding to the distinguished communication interface to the DL processing module 120 through a signal interface capable of transmitting and receiving data and control signals.

데이터를 수신한 DL 처리 모듈(120)은 자신의 통신 인터페이스에 맵핑된 맵핑 테이블(140)의 엔트리의 각종 데이터를 이용하여 DL 패킷을 생성(S313)하고 이를 연결된 PL 처리 모듈(110)로 전송한다. The DL processing module 120 receiving the data generates a DL packet using various data of the entry of the mapping table 140 mapped to its own communication interface (S313) and transmits it to the connected PL processing module 110 .

PL 처리 모듈(110)은 유선 또는 무선의 통신 신호를 생성하여 근거리 통신 장치(200)로 전송(S315)한다. The PL processing module 110 generates a wired or wireless communication signal and transmits it to the short distance communication device 200 (S315).

이상, 도 4를 통해서 통신 장치(100)는 다양한 종류의 통신 인터페이스를 하나의 기기 내에 구성할 수 있도록 하고 통신 인터페이스의 타입의 상이에 상관없이 통일된 처리를 수행할 수 있도록 한다. 특히 통신 장치(100)는 여러 통신 인터페이스의 통신 프토토콜의 처리 유형을 반영하여 데이터 통신이 가능하도록 한다. As described above, the communication device 100 allows various types of communication interfaces to be configured in one device and allows unified processing to be performed irrespective of the type of the communication interface. In particular, the communication device 100 enables data communication by reflecting the processing type of the communication protocol of various communication interfaces.

살펴본 도 3과 도 4의 흐름도는 맵핑 테이블의 예시적인 엔트리 데이터를 이용하여 설명되고 있으나 이에 국한될 필요는 없고 다양한 변형 예가 존재한다.Although the flowcharts of FIGS. 3 and 4 have been described using the exemplary entry data of the mapping table, the present invention is not limited thereto.

본 발명에 따른 통신 장치(100)는 NL 이상의 레이어를 지원하지 못하는 근거리 통신 장치(200)로부터의 데이터를 인터넷 망(500)을 통한 송수신이 가능하도록 하고 또한 다른 근거리 통신(400)을 통한 송수신이 가능하게 한다.The communication apparatus 100 according to the present invention can transmit and receive data from the short distance communication apparatus 200 that does not support NL layers or more through the Internet network 500 and can transmit and receive data via the short distance communication 400 .

이상에서 설명한 본 발명은, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시 예 및 첨부된 도면에 의해 한정되는 것이 아니다. It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention. The present invention is not limited to the drawings.

100 : 통신 장치
110 : PL 처리 모듈 120 : DL 처리 모듈
130 : IL 처리 모듈 140 : 맵핑 테이블
150 : NL 처리 모듈 160 : TL 처리 모듈
200 : 근거리 통신 장치 300 : 외부 장치
400 : 근거리 통신 500 : 인터넷 망
100: communication device
110: PL processing module 120: DL processing module
130: IL processing module 140: mapping table
150: NL processing module 160: TL processing module
200: Local area communication device 300: External device
400: Local area communication 500: Internet network

Claims (10)

복수의 통신 인터페이스를 구비한 통신 장치로서,
복수의 통신 인터페이스의 신호 각각을 DL(Data-Link Layer) 패킷 단위로 처리하는 복수의 DL 처리 모듈; 및
복수의 DL 처리 모듈 각각에 연결되어 DL 패킷의 페이로드를 수신하고 수신된 페이로드의 통신 인터페이스를 식별하기 위한 인터페이스 식별자를 생성하고 수신된 DL 패킷의 페이로드와 생성된 상기 인터페이스 식별자를 출력하는 IL(Intermediate Layer) 처리 모듈;
상기 복수의 DL 처리 모듈로부터의 DL 패킷의 페이로드의 처리에 이용될 수 있는 맵핑 테이블; 및
상기 IL 처리 모듈에 단일의 신호 인터페이스를 통해 연결되어 페이로드와 인터페이스 식별자를 수신하고 상기 인터페이스 식별자로 상기 맵핑 테이블에 액세스하여 결정되는 데이터 유형에 따라 수신된 페이로드의 NL 패킷 헤더의 제거 또는 수신된 페이로드의 바이패스(bypass)를 수행하는 NL(Network Layer) 처리 모듈;을 포함하는,
통신 장치.
1. A communication device having a plurality of communication interfaces,
A plurality of DL processing modules for processing signals of a plurality of communication interfaces in units of DL (Data-Link Layer) packets; And
A plurality of DL processing modules, connected to each of the plurality of DL processing modules, for receiving a payload of the DL packet, generating an interface identifier for identifying a communication interface of the received payload, and outputting a payload of the received DL packet and the generated interface identifier (Intermediate Layer) processing module;
A mapping table that can be used for processing a payload of DL packets from the plurality of DL processing modules; And
The NL packet header of the payload received in accordance with the data type determined by accessing the mapping table with the interface identifier as a result of receiving the payload and the interface identifier, And a network layer (NL) processing module for performing a bypass of the payload,
Communication device.
제1항에 있어서,
상기 DL 패킷의 페이로드는 OSI(Open System Interconnection) 7 레이어 중 DL까지의 레이어를 이용하여 근거리 통신 장치로부터 수신되는 데이터인,
통신 장치.
The method according to claim 1,
The payload of the DL packet is data received from the local area communication apparatus using layers up to DL among 7 layers of OSI (Open System Interconnection)
Communication device.
삭제delete 제1항에 있어서,
상기 IL 처리 모듈 및 상기 NL 처리 모듈은 하드웨어적으로 수행하도록 구성되고 단일 칩셋 내에 탑재되는,
통신 장치.
The method according to claim 1,
Wherein the IL processing module and the NL processing module are configured to perform hardware and are mounted in a single chipset,
Communication device.
제1항에 있어서,
상기 NL 처리 모듈은 수신된 인터페이스 식별자에 대응하는 맵핑 테이블의 데이터를 이용하여 수신된 페이로드의 데이터 유형을 결정하고, 결정된 데이터 유형이 NL 타입 또는 TL(Transport Layer) 타입인 경우 수신된 페이로드의 NL 패킷 헤더를 제거하고 식별된 데이터 유형이 DL 타입인 경우 수신된 페이로드를 바이패스시키는,
통신 장치.
The method according to claim 1,
The NL processing module determines the data type of the received payload using the data of the mapping table corresponding to the received interface identifier, and when the determined data type is NL type or TL (Transport Layer) type, Remove the NL packet header and bypass the received payload if the identified data type is a DL type,
Communication device.
제1항에 있어서,
상기 NL 처리 모듈은 상기 NL 처리 모듈에서 처리된 페이로드와 상기 인터페이스 식별자를 출력하며,
상기 통신 장치는 처리된 페이로드와 상기 인터페이스 식별자를 수신하고 상기 인터페이스 식별자로 상기 맵핑 테이블에 액세스하여 결정되는 데이터 유형이 TL 타입인 경우 상기 페이로드의 TL 패킷 헤더를 제거하는 TL(Transport Layer) 처리 모듈;을 더 포함하는,
통신 장치.
The method according to claim 1,
The NL processing module outputs the payload processed by the NL processing module and the interface identifier,
The communication apparatus receives a processed payload and the interface identifier, accesses the mapping table with the interface identifier, and performs TL (Transport Layer) processing for removing the TL packet header of the payload when the determined data type is TL type Further comprising:
Communication device.
제6항에 있어서,
상기 TL 처리 모듈은 수신된 인터페이스 식별자에 대응하는 맵핑 테이블의 데이터를 이용하여 TL 패킷 헤더를 생성하고 상기 페이로드와 상기 TL 패킷 헤더를 포함하는 TL 패킷 및 상기 수신된 인터페이스 식별자로 액세스되는 맵핑 테이블의 데이터를 이용하여 상기 TL 패킷을 출력할 통신 인터페이스를 식별할 수 있고 상기 수신된 인터페이스 식별자와 상이한 인터페이스 식별자를 생성하고, 생성된 TL 패킷 및 인터페이스 식별자를 상기 NL 처리 모듈로 출력하는,
통신 장치.
The method according to claim 6,
The TL processing module generates a TL packet header using data of the mapping table corresponding to the received interface identifier, and transmits the TL packet including the payload and the TL packet header and the mapping table accessed by the received interface identifier And outputting the generated TL packet and the interface identifier to the NL processing module, wherein the interface identifier is different from the received interface identifier,
Communication device.
복수의 통신 인터페이스에서의 데이터 처리 방법으로서,
(a) 복수의 통신 인터페이스 중 하나의 통신 인터페이스로부터 통신 신호를 수신하는 단계;
(b) 수신된 통신 신호로부터 DL 패킷의 페이로드를 추출하는 단계;
(c) 복수의 통신 인터페이스 중 추출된 페이로드의 통신 인터페이스를 식별하기 위한 제 1 인터페이스 식별자를 생성하는 단계;
(d) 상기 제 1 인터페이스 식별자로 맵핑 테이블에 액세스하여 수신된 통신 신호에 대응하는 통신 인터페이스의 데이터 유형을 결정하는 단계로서, 상기 맵핑 테이블은 수신된 통신 신호로부터 추출된 페이로드의 처리에 이용될 수 있는, 데이터 유형을 결정하는 단계; 및
(e) 결정된 데이터 유형이 NL(Network Layer) 타입 또는 TL(Transport Layer) 타입인 경우 추출된 페이로드의 NL 패킷 헤더를 제거하고 결정된 데이터 유형이 DL 타입인 경우 추출된 페이로드를 바이패스(bypass) 시키는 단계;를 포함하는,
데이터 처리 방법.
A data processing method in a plurality of communication interfaces,
(a) receiving a communication signal from a communication interface of one of the plurality of communication interfaces;
(b) extracting a payload of the DL packet from the received communication signal;
(c) generating a first interface identifier for identifying a communication interface of the extracted payload of the plurality of communication interfaces;
(d) accessing the mapping table with the first interface identifier to determine a data type of the communication interface corresponding to the received communication signal, the mapping table being used for processing the payload extracted from the received communication signal Determining a data type, which can be; And
(e) If the determined data type is NL (Network Layer) type or TL (Transport Layer) type, the NL packet header of the extracted payload is removed and if the determined data type is DL type, the extracted payload is bypassed ), ≪ / RTI >
Data processing method.
삭제delete 제8항에 있어서,
(f) 상기 결정된 데이터 유형에 기초하여 추출된 페이로드로부터 근거리 통신 장치로 전송할 데이터를 구성하는 단계;
(g) 상기 근거리 통신 장치가 연결된 통신 인터페이스를 식별하기 위한 제 2 인터페이스 식별자를 생성하는 단계로서, 상기 제 2 인터페이스 식별자는 상기 제1 인터페이스 식별자로 액세스되는 맵핑 테이블의 데이터를 이용하여 생성되고 상기 제 1 인터페이스 식별자와는 상이한, 제 2 인터페이스 식별자를 생성하는 단계; 및
(h) 상기 제 2 인터페이스 식별자로 결정되는 데이터 유형에 따라 상기 데이터의 패킷 구성을 수행하는 단계;를 더 포함하는,
데이터 처리 방법.
9. The method of claim 8,
(f) configuring data to be transmitted from the payload extracted based on the determined data type to the short range communication device;
(g) generating a second interface identifier for identifying a communication interface to which the short-range communication device is connected, wherein the second interface identifier is generated using data of a mapping table accessed by the first interface identifier, Generating a second interface identifier that is different from the first interface identifier; And
(h) performing packet configuration of the data according to a data type determined by the second interface identifier,
Data processing method.
KR1020140061565A 2014-05-22 2014-05-22 Communication apparatus equipped with a plurality of communication interface and data processing method in a plurality of communication interface KR101454879B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140061565A KR101454879B1 (en) 2014-05-22 2014-05-22 Communication apparatus equipped with a plurality of communication interface and data processing method in a plurality of communication interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140061565A KR101454879B1 (en) 2014-05-22 2014-05-22 Communication apparatus equipped with a plurality of communication interface and data processing method in a plurality of communication interface

Publications (1)

Publication Number Publication Date
KR101454879B1 true KR101454879B1 (en) 2014-11-04

Family

ID=52289032

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140061565A KR101454879B1 (en) 2014-05-22 2014-05-22 Communication apparatus equipped with a plurality of communication interface and data processing method in a plurality of communication interface

Country Status (1)

Country Link
KR (1) KR101454879B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101551729B1 (en) 2015-05-22 2015-09-10 (주) 위즈네트 Communication chipset and apparatus secure from internet attack
WO2017122849A1 (en) * 2016-01-12 2017-07-20 쿨클라우드(주) Internet of things network system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002290445A (en) * 2001-03-28 2002-10-04 Seiko Epson Corp Automatic switching method for communication interface and its system
KR100654432B1 (en) * 2004-04-13 2006-12-06 삼성전자주식회사 Apparatus and method for wireless network in coordinator-based wireless environment
KR20100116681A (en) * 2008-03-21 2010-11-01 알까뗄 루슨트 In-band dpi application awareness propagation enhancements
KR20110071817A (en) * 2009-12-21 2011-06-29 한국전자통신연구원 Apparatus and method for controlling traffic

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002290445A (en) * 2001-03-28 2002-10-04 Seiko Epson Corp Automatic switching method for communication interface and its system
KR100654432B1 (en) * 2004-04-13 2006-12-06 삼성전자주식회사 Apparatus and method for wireless network in coordinator-based wireless environment
KR20100116681A (en) * 2008-03-21 2010-11-01 알까뗄 루슨트 In-band dpi application awareness propagation enhancements
KR20110071817A (en) * 2009-12-21 2011-06-29 한국전자통신연구원 Apparatus and method for controlling traffic

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101551729B1 (en) 2015-05-22 2015-09-10 (주) 위즈네트 Communication chipset and apparatus secure from internet attack
US9807056B2 (en) 2015-05-22 2017-10-31 Wiznet Co., Ltd. Communication chipset and apparatus secure from internet attack
WO2017122849A1 (en) * 2016-01-12 2017-07-20 쿨클라우드(주) Internet of things network system

Similar Documents

Publication Publication Date Title
CA2789131C (en) Wireless adapter
KR101731996B1 (en) Automatic power switching device for lora and wifi mobile communication
US7545753B2 (en) System, method and computer program product for providing quality of service during remote access to a plug-and-play network
US20160345368A1 (en) Multi-device pairing and provisioning
CN105227693B (en) A kind of configuration method and device of the DNS of mobile device
US9824047B2 (en) Discovery mechanisms for universal serial bus (USB) protocol adaptation layer
CN105612805A (en) Communication method, communication system and relevant device of wearable device
CN207766561U (en) A kind of system of control terminal and equipment access network
TWI667899B (en) Electronic device and method for communication
JP2016086219A (en) Relay device, relay system, relay method and program
TW201608923A (en) Method for processing network connection with an electronic device and the electronic device
KR20160009675A (en) Relay device, communication scheme selection method, and program
CN110858838B (en) Method and apparatus for bridging communications
JP2017017477A (en) Communication device, communication method and communication program
KR101454879B1 (en) Communication apparatus equipped with a plurality of communication interface and data processing method in a plurality of communication interface
US10187916B2 (en) Wireless adapter
US10396848B1 (en) Devices, systems and methods for transmitting protocol configuration information between multi-protocol devices
TWI514822B (en) Wireless access point device, network system and network auto-establishing method of the same
CN113518475B (en) Communication method, device and system
CN112887929B (en) Data transmission method, device and system
CN108601000A (en) A kind of method and apparatus monitoring on-vehicle Bluetooth to open terminal Wi-Fi hotspot
CN110535746B (en) Virtual private network VPN sharing method and device, electronic equipment and storage medium
CN111221622B (en) Communication method, device, computer equipment and readable storage medium between communication modules
JP6951380B2 (en) Gateway device, communication method and program
CN105898900A (en) Gateway system applied to large-scale zigbee sensor network and mobile communication network

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20180827

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20190905

Year of fee payment: 6