KR20130085470A - A method for transmitting packets and an apparatus using it - Google Patents

A method for transmitting packets and an apparatus using it Download PDF

Info

Publication number
KR20130085470A
KR20130085470A KR1020110128714A KR20110128714A KR20130085470A KR 20130085470 A KR20130085470 A KR 20130085470A KR 1020110128714 A KR1020110128714 A KR 1020110128714A KR 20110128714 A KR20110128714 A KR 20110128714A KR 20130085470 A KR20130085470 A KR 20130085470A
Authority
KR
South Korea
Prior art keywords
packet
payload
server
type
receiving
Prior art date
Application number
KR1020110128714A
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 KR1020110128714A priority Critical patent/KR20130085470A/en
Publication of KR20130085470A publication Critical patent/KR20130085470A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1886Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with traffic restrictions for efficiency improvement, e.g. involving subnets or subdomains
    • 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/08Protocols for interworking; Protocol conversion
    • 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/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast

Landscapes

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

Abstract

PURPOSE: Packet transmission method and packet transmission device using the same are provided to receive a packet containing a payload from a server and to transmit a broadcasting packet to a client device in the other network. CONSTITUTION: A packet transmission device (100) includes a receiver unit (110), a controller unit (120) and a transmitter unit (130). The receiver unit receives a first packet from a server in an external network. The controller unit detects a type field included in the first packet, extracts a payload of the first packet when the type field is a first type and transforms the extracted payload into a broadcasting packet. The controller unit transforms a protocol of the first packet according to a predetermined table when command information is a second type. The transmitter unit transmits at least one of the transformed broadcasting packet or transformed first packet to client devices. [Reference numerals] (110) Receiver unit; (120) Controller unit; (130) Transmitter unit

Description

패킷 전송 방법 및 이를 이용한 패킷 전송 장치{A method for transmitting packets and an apparatus using it}A method for transmitting packets and an apparatus using it}

본 발명은 패킷 전송 방법 및 이를 이용한 패킷 전송 장치에 관한 것이며, 더욱 상세하게는 방송 패킷을 중계할 수 있는 패킷 전송 방법 및 이를 이용한 패킷 전송 장치에 관한 것이다. 보다 구체적으로, 로컬 네트워크상의 클라이언트 장치들로 외부 네트워크의 서버에서 송신한 방송 패킷을 전달할 수 있는 패킷 전송 방법 및 이를 이용한 패킷 전송 장치에 관한 것이다. The present invention relates to a packet transmission method and a packet transmission apparatus using the same, and more particularly, to a packet transmission method capable of relaying broadcast packets and a packet transmission apparatus using the same. More specifically, the present invention relates to a packet transmission method capable of delivering a broadcast packet transmitted from a server of an external network to client devices on a local network, and a packet transmission apparatus using the same.

최근들어, 인터넷이 대중화되면서 인터넷 트래픽이 폭발적으로 증가하고 있으며, 인터넷을 통해 전달되는 정보의 종류도 단순한 문자 기반에서 벗어나 비디오나 오디오 데이터와 같은 실시간 대용량 멀티미디어 정보가 점차 증가하고 있다. 이러한 인터넷 환경의 변화에 따라 로컬 네트워크를 넘어서 타 로컬 네트워크로 데이터 패킷을 전송하기 위한 라우터 시스템이 있다.Recently, Internet traffic has exploded due to the popularization of the Internet, and the type of information transmitted through the Internet is not only a simple text base, but also real-time mass multimedia information such as video and audio data is gradually increasing. As the Internet environment changes, there is a router system for transmitting data packets beyond the local network to other local networks.

도 1은 일반적인 네트워크 시스템에서의 패킷 전송을 나타낸 도면이다.1 is a diagram illustrating packet transmission in a general network system.

일반적으로, 서버(20)에서는 로컬 네트워크 망에 연결된 클라이언트(20), 예를 들어 영상표시기기등에 방송 패킷을 포함하는 데이터 패킷을 전송한다.In general, the server 20 transmits a data packet including a broadcast packet to a client 20 connected to a local network, for example, an image display device.

한편, 서버(20)가 타 네트워크로 데이터 패킷을 전송하기 위해서는 라우터(10)가 필요하다.Meanwhile, in order for the server 20 to transmit a data packet to another network, a router 10 is required.

라우터(10)는 입력측 서버(20)와 출력측의 타 네트워크의 클라이언트(10) 사이에 IP 패킷을 전달함으로써, 인터넷 네트워크 구성 요소들을 연결시켜주는 장치를 말한다. 이 때, 패킷의 전달 과정은 입력된 IP 패킷에 포함된 3계층(3 Layer) 주소에 따라 목적지까지의 최적 경로상에 있는 다음 노드로 보냄으로써 이루어진다. 따라서, 일반적인 라우터(10)는 입력단과 출력단간 패킷을 교환하는 스위칭 유닛 및 라우팅을 수행하는 프로세서 등을 포함한다.The router 10 refers to a device that connects Internet network components by transferring an IP packet between the input server 20 and the client 10 of the other network on the output side. At this time, the packet forwarding process is performed by sending the packet to the next node on the optimal path to the destination according to the three-layer address included in the input IP packet. Therefore, the general router 10 includes a switching unit for exchanging packets between an input terminal and an output terminal, a processor for performing routing, and the like.

여기서, 일반적인 라우터(10)에서의 패킷 전송 방법에 대해 살펴보면, 입력단을 통해 패킷이 입력되면 입력단을 제어하는 프로세서는 패킷에 포함된 3계층(IP Layer) 주소 정보를 추출하여, 라우팅 테이블 룩업 과정을 통해 출력포트 정보(목적지 정보)를 얻는다. 이렇게 얻은 새로운 출력포트 정보에 따라 패킷은 스위칭 유닛을 통해 해당 출력포트로 전달된다. 이러한 과정에서 데이터링크 계층 프로토콜이 수행되고, TTL(Time-To-Live) 값의 처리, 새로운 헤더에 대한 검사합계(checksum) 계산, 에러 메시지 송신 등의 과정도 함께 처리된다.Here, referring to the packet transmission method in the general router 10, when a packet is input through the input terminal, the processor controlling the input terminal extracts IP layer address information included in the packet and performs a routing table lookup process. Get output port information (destination information) through According to the new output port information thus obtained, the packet is transferred to the corresponding output port through the switching unit. In this process, the data link layer protocol is performed, and processing of time-to-live (TTL) values, calculation of checksums for new headers, and transmission of error messages are also performed.

그리고, 라우터(10)는 입력되는 모든 패킷들을 대상으로 상기와 같은 처리 과정을 수행한다.In addition, the router 10 performs the above-described processing process on all incoming packets.

이 때, 서버(20)에서 클라이언트로 WOL(Wake On Lan) 패킷과 같은 방송 패킷(Broadcast packet)을 보내려는 경우에는 로컬 네트워크 상의 클라이언트 장치(30)로의 전송은 가능하지만, 타 네트워크의 클라이언트 장치(40)로 전송하기 위해서는 라우터(10)의 설정을 변경하여야 하는 번거로움이 존재한다.In this case, when the server 20 wants to send a broadcast packet such as a Wake On Lan (WOL) packet to the client, the server 20 may transmit the broadcast packet to the client device 30 on the local network. There is a hassle to change the settings of the router 10 in order to transmit to 40).

또한, 라우터(10)는 IP 패킷에 포함된 3계층(3 Layer) 주소에 따라 목적지를 판단하므로, 방송 패킷 중 WOL패킷과 같은 제2 계층(LAYER 2)의 패킷이 포함된 경우에는 제2 계층의 패킷에는 목적지 정보(IP정보)가 포함되어 있지 않으므로, 타 네트워크의 클라이언트 장치(40)로 전달될 수 없는 문제점이 있다. 따라서, WOL기능을 구현한 클라이언트 장치라 하더라도, 타 네트워크 망에 존재한다면 WOL기능을 사용할 수 없는 문제점이 발생한다.In addition, since the router 10 determines a destination according to a 3 layer address included in the IP packet, when the packet of the second layer (LAYER 2) such as a WOL packet is included among the broadcast packets, the second layer is included. Since the packet does not contain the destination information (IP information), there is a problem that cannot be delivered to the client device 40 of another network. Therefore, even if the client device implements the WOL function, if the WOL function exists in another network, a problem arises.

한편, 이와 같은 역할을 하는 라우터(10)는 초기에 라우팅 기능을 처리하는 프로세서의 성능에 비해 링크를 통한 데이터의 전달속도가 빠르지 않았고, 라우터 시스템을 통과하는 트래픽 비율이 크지 않았기 때문에 일반적인 프로세싱 환경과 상기 프로세싱 환경에서 실행되는 소프트웨어로 구현이 가능하였다.On the other hand, the router 10, which plays such a role, initially did not have a fast data transfer rate compared to the performance of a processor that processes a routing function, and the traffic ratio passing through the router system was not large. It could be implemented in software running in the processing environment.

그러나, 광통신 등 전송기술의 발달로 인해 데이터 전송 속도가 프로세서의 처리속도보다 빨라지고 네트워크를 통한 트래픽량이 증가함에 따라, 라우터 시스템의 프로세서가 패킷들을 원할하게 라우팅하지 못하는 문제가 발생하고 있다. 이는, 곧 라우터 시스템내에서 패킷들의 병목현상을 야기한다. 또한, 라우터 시스템내에서 패킷의 전달 속도를 저하시키는 문제점이 있다.However, due to the development of transmission technology such as optical communication, as the data transmission speed is faster than the processing speed of the processor and the traffic volume through the network increases, the problem of the processor of the router system cannot smoothly route packets. This, in turn, causes bottlenecks in packets within the router system. In addition, there is a problem of lowering the packet transmission speed in the router system.

본 발명의 목적은, 방송 패킷을 타 네트워크의 클라이언트 장치로 전송할 수 있는 패킷 전송 방법 및 패킷 전송 장치를 제공함에 있다.An object of the present invention is to provide a packet transmission method and a packet transmission apparatus capable of transmitting a broadcast packet to a client device of another network.

특히, 제2계층의 패킷을 타 네트워크의 클라이언트 장치로 전송할 수 있는 패킷 전송 방법 및 패킷 전송 장치를 제공함에 있다.In particular, the present invention provides a packet transmission method and a packet transmission apparatus capable of transmitting a packet of a second layer to a client device of another network.

또한, 본 발명의 목적은 하드웨어 및 소프트웨어의 리소스 효율성을 고려한 패킷 전송 방법 및 패킷 전송 장치를 제공함에 있다.It is also an object of the present invention to provide a packet transmission method and packet transmission apparatus in consideration of resource efficiency of hardware and software.

상기 목적을 달성하기 위한 본 발명의 실시예에 따른 패킷 전송 방법은 페이로드가 포함된 패킷을 수신하여 로컬 네트워크상의 클라이언트 장치들로 전송하기 위한 방법에 있어서, 외부 네트워크의 서버로부터 제1 패킷을 수신하는 단계; 상기 제1 패킷에 포함된 타입 필드를 검출하는 단계; 및 상기 타입 필드가 제1 타입인 경우, 상기 제1 패킷의 페이로드를 추출하고, 상기 추출된 페이로드를 방송 패킷으로 변형하여 상기 클라이언트 장치들로 전송하는 단계를 포함한다.A packet transmission method according to an embodiment of the present invention for achieving the above object is a method for receiving a packet including a payload to transmit to a client device on a local network, receiving a first packet from a server of an external network Doing; Detecting a type field included in the first packet; And if the type field is a first type, extracting a payload of the first packet, transforming the extracted payload into a broadcast packet, and transmitting the payload to the client devices.

또한, 상기 목적을 달성하기 위한 본 발명의 실시예에 따른 패킷 전송 장치는 외부 네트워크의 서버로부터 페이로드가 포함된 패킷을 수신하여 로컬 네트워크상의 클라이언트 장치들로 전송하는 패킷 전송 장치에 있어서, 상기 외부 네트워크의 서버로부터 제1 패킷을 수신하는 수신부; 상기 제1 패킷에 포함된 타입 필드를 검출하고, 상기 타입 필드가 제1 타입인 경우, 상기 제1 패킷의 페이로드를 추출하고, 상기 추출된 페이로드를 방송 패킷으로 변형하며, 상기 명령 정보가 제2 타입인 경우, 기 정의된 테이블에 따라 상기 제1 패킷의 프로토콜을 변형하는 제어부; 및 상기 변형된 방송 패킷 또는 상기 변형된 제1 패킷 중 적어도 하나를 상기 클라이언트 장치들로 전송하는 전송부를 포함한다.In addition, the packet transmission apparatus according to an embodiment of the present invention for achieving the above object in the packet transmission apparatus for receiving a packet containing a payload from a server of the external network and transmits to the client devices on the local network, the external A receiving unit for receiving a first packet from a server of a network; Detecting a type field included in the first packet, extracting a payload of the first packet, transforming the extracted payload into a broadcast packet, if the type field is a first type, A control unit for modifying the protocol of the first packet according to a predefined table in the case of the second type; And a transmitter configured to transmit at least one of the modified broadcast packet or the modified first packet to the client devices.

본 발명의 실시예에 따르면, 서버로부터 페이로드가 포함된 패킷을 수신하고, 타 네트워크의 클라이언트 장치로 방송 패킷을 전송할 수 있다.According to an embodiment of the present invention, a packet including a payload may be received from a server, and a broadcast packet may be transmitted to a client device of another network.

특히, 로컬 네트워크로만 전송될 수 있도록 제한된 제2계층의 패킷을 타 네트워크의 클라이언트 장치로 전송할 수 있게 된다.In particular, it is possible to transmit the packet of the second layer, which is restricted to be transmitted only to the local network, to the client device of another network.

또한, 수신한 패킷을 타입 필드만으로 구분하여 다른 프로토콜로 변형하거나, 페이로드를 방송 패킷으로 변형 하여 전송할 수 있어 하드웨어 및 소프트웨어 측면에서의 리소스를 최소화 할 수 있게 된다. In addition, the received packet can be divided into only a type field and transformed into another protocol, or a payload can be transformed into a broadcast packet and transmitted, thereby minimizing resources in terms of hardware and software.

도 1은 일반적인 라우터 시스템을 나타낸 도면이다.
도 2는 본 발명의 일 실시예에 따른 패킷 전송 장치를 포함하는 전체 전송 시스템을 개략적으로 나타내기 위한 도면이다.
도 3은 본 발명의 일 실시예에 따른 패킷 전송 장치의 구성을 도시한 도면이다.
도 4는 본 발명의 일 실시예에 따른 패킷 전송 방법을 설명하기 위한 흐름도이다.
도 5는 본 발명의 다른 일 실시예에 따른 패킷 전송 방법을 설명하기 위한 흐름도이다.
1 is a diagram illustrating a general router system.
2 is a diagram schematically illustrating an entire transmission system including a packet transmission apparatus according to an embodiment of the present invention.
3 is a diagram illustrating a configuration of a packet transmission apparatus according to an embodiment of the present invention.
4 is a flowchart illustrating a packet transmission method according to an embodiment of the present invention.
5 is a flowchart illustrating a packet transmission method according to another embodiment of the present invention.

이하의 내용은 단지 본 발명의 원리를 예시한다. 그러므로 당업자는 비록 본 명세서에 명확히 설명되거나 도시되지 않았지만 본 발명의 원리를 구현하고 본 발명의 개념과 범위에 포함된 다양한 장치를 발명할 수 있는 것이다. 또한, 본 명세서에 열거된 모든 조건부 용어 및 실시예들은 원칙적으로, 본 발명의 개념이 이해되도록 하기 위한 목적으로만 명백히 의도되고, 이와 같이 특별히 열거된 실시예들 및 상태들에 제한적이지 않는 것으로 이해되어야 한다.The following merely illustrates the principles of the invention. Thus, those skilled in the art will be able to devise various apparatuses which, although not explicitly described or shown herein, embody the principles of the invention and are included in the concept and scope of the invention. Furthermore, all of the conditional terms and embodiments listed herein are, in principle, intended only for the purpose of enabling understanding of the concepts of the present invention, and are not intended to be limiting in any way to the specifically listed embodiments and conditions .

또한, 본 발명의 원리, 관점 및 실시예들 뿐만 아니라 특정 실시예를 열거하는 모든 상세한 설명은 이러한 사항의 구조적 및 기능적 균등물을 포함하도록 의도되는 것으로 이해되어야 한다. 또한 이러한 균등물들은 현재 공지된 균등물뿐만 아니라 장래에 개발될 균등물 즉 구조와 무관하게 동일한 기능을 수행하도록 발명된 모든 소자를 포함하는 것으로 이해되어야 한다.It is also to be understood that the detailed description, as well as the principles, aspects and embodiments of the invention, as well as specific embodiments thereof, are intended to cover structural and functional equivalents thereof. It is also to be understood that such equivalents include all elements contemplated to perform the same function irrespective of the currently known equivalents as well as the equivalents to be developed in the future, i.e., the structure.

따라서, 예를 들어, 본 명세서의 블럭도는 본 발명의 원리를 구체화하는 예시적인 회로의 개념적인 관점을 나타내는 것으로 이해되어야 한다. 이와 유사하게, 모든 흐름도, 상태 변환도, 의사 코드 등은 컴퓨터가 판독 가능한 매체에 실질적으로 나타낼 수 있고 컴퓨터 또는 프로세서가 명백히 도시되었는지 여부를 불문하고 컴퓨터 또는 프로세서에 의해 수행되는 다양한 프로세스를 나타내는 것으로 이해되어야 한다.Thus, for example, it should be understood that the block diagrams herein represent conceptual views of exemplary circuits embodying the principles of the invention. Similarly, all flowcharts, state transition diagrams, pseudo code, and the like are representative of various processes that may be substantially represented on a computer-readable medium and executed by a computer or processor, whether or not the computer or processor is explicitly shown .

프로세서 또는 이와 유사한 개념으로 표시된 기능 블럭을 포함하는 도면에 도시된 다양한 소자의 기능은 전용 하드웨어뿐만 아니라 적절한 소프트웨어와 관련하여 소프트웨어를 실행할 능력을 가진 하드웨어의 사용으로 제공될 수 있다. 프로세서에 의해 제공될 때, 상기 기능은 단일 전용 프로세서, 단일 공유 프로세서 또는 복수의 개별적 프로세서에 의해 제공될 수 있고, 이들 중 일부는 공유될 수 있다.The functions of the various elements shown in the figures, including the functional blocks depicted in the processor or similar concept, may be provided by use of dedicated hardware as well as hardware capable of executing software in connection with appropriate software. When provided by a processor, the functions may be provided by a single dedicated processor, a single shared processor, or a plurality of individual processors, some of which may be shared.

또한 프로세서, 제어 또는 이와 유사한 개념으로 제시되는 용어의 명확한 사용은 소프트웨어를 실행할 능력을 가진 하드웨어를 배타적으로 인용하여 해석되어서는 아니되고, 제한 없이 디지털 신호 프로세서(DSP) 하드웨어, 소프트웨어를 저장하기 위한 롬(ROM), 램(RAM) 및 비 휘발성 메모리를 암시적으로 포함하는 것으로 이해되어야 한다. 주지관용의 다른 하드웨어도 포함될 수 있다.Also, the explicit use of terms such as processor, control, or similar concepts should not be interpreted exclusively as hardware capable of running software, and may be used without limitation as a digital signal processor (DSP) (ROM), random access memory (RAM), and non-volatile memory. Other hardware may also be included.

본 명세서의 청구범위에서, 상세한 설명에 기재된 기능을 수행하기 위한 수단으로 표현된 구성요소는 예를 들어 상기 기능을 수행하는 회로 소자의 조합 또는 펌웨어/마이크로 코드 등을 포함하는 모든 형식의 소프트웨어를 포함하는 기능을 수행하는 모든 방법을 포함하는 것으로 의도되었으며, 상기 기능을 수행하도록 상기 소프트웨어를 실행하기 위한 적절한 회로와 결합된다. 이러한 청구범위에 의해 정의되는 본 발명은 다양하게 열거된 수단에 의해 제공되는 기능들이 결합되고 청구항이 요구하는 방식과 결합되기 때문에 상기 기능을 제공할 수 있는 어떠한 수단도 본 명세서로부터 파악되는 것과 균등한 것으로 이해되어야 한다.In the claims of this specification, components expressed as means for performing the functions described in the detailed description include all types of software including, for example, a combination of circuit elements or firmware / microcode, etc. that perform the functions. It is intended to include all methods of performing a function which are combined with appropriate circuitry for executing the software to perform the function. The invention, as defined by these claims, is equivalent to what is understood from this specification, as any means capable of providing such functionality, as the functionality provided by the various enumerated means are combined, and in any manner required by the claims. It should be understood that.

상술한 목적, 특징 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해질 것이며, 그에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 또한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에 그 상세한 설명을 생략하기로 한다. BRIEF DESCRIPTION OF THE DRAWINGS 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: There will be. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명하기로 한다.Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명의 일 실시예에 따른 패킷 전송 장치(100)를 포함하는 전체 전송 시스템을 개략적으로 나타내기 위한 도면이다.2 is a diagram schematically showing an entire transmission system including the packet transmission apparatus 100 according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 본 발명의 일실시예에 따른 패킷 전송 장치(100)를 포함한 전체 방송 시스템은, 패킷을 전송하는 서버(200), 패킷을 수신하여 클라이언트 장치들(300)로 전송하는 패킷 전송 장치(100)를 포함하여 구성된다. 패킷 전송 장치(100)가 타 네트워크에 있는 경우 패킷 전송 장치(100)로 패킷을 전송하기 위한 라우터(400)가 더 포함될 수 있다.As shown in FIG. 2, the entire broadcasting system including the packet transmission apparatus 100 according to an embodiment of the present invention includes a server 200 for transmitting a packet, and a packet received and transmitted to the client devices 300. It is configured to include a packet transmission apparatus 100. When the packet transmission apparatus 100 is in another network, a router 400 for transmitting a packet to the packet transmission apparatus 100 may be further included.

서버(200)는 보내고자 하는 페이로드가 포함된 데이터를 패킷화하여 패킷 전송 장치(100)로 전송한다. 전송 방식으로는 유니캐스트 방식이 사용될 수 있다. 따라서, 패킷 전송 장치(100)의 IP주소를 목적지로 하여 패킷을 전송할 수 있다. 그리고, 페이로드에는 방송 패킷(Broadcast packet) 데이터가 포함될 수 있다. 또한, 페이로드에는 제2 계층 패킷이 포함될 수 있다.The server 200 packetizes the data including the payload to be sent and transmits the packetized data to the packet transmission apparatus 100. As a transmission method, a unicast method may be used. Therefore, the packet can be transmitted by using the IP address of the packet transmission apparatus 100 as a destination. The payload may include broadcast packet data. In addition, the payload may include a second layer packet.

패킷 전송 장치(100)는 수신한 패킷을 분석하여 수신 패킷의 타입(type)을 판단한다. 패킷의 타입은 패킷의 13번째 바이트인 타입 필드(type field)를 검토함으로써 판단할 수 있다.The packet transmission apparatus 100 analyzes the received packet and determines the type of the received packet. The type of the packet can be determined by examining the type field, which is the 13th byte of the packet.

그리고, 패킷 전송 장치(100)는 판단된 타입에 따라 기 정의된 동작(action)을 수행할 수 있다. 예를 들어, 제1 타입의 경우는 빠른 전달 동작(fast forward command)을 수행할 수 있다. 패킷 전송 장치(100)는 페이로드에 방송 패킷이 포함된 경우를 제1 타입의 패킷으로 판단하고, 빠른 전달 동작을 수행할 수 있으며, 다른 변환 없이 방송 패킷만을 바로 전달하는 동작을 수행할 수 있다. 이러한 동작을 위하여, 패킷 전송 장치(100)는 수신한 패킷의 페이로드 부분의 데이터만을 추출하고, 방송 패킷으로 변형하여 패킷 전송 장치(100)가 속한 로컬 네트워크상의 클라이언트 장치들(300)로 전송할 수 있다. 전송 방식은 유니캐스트(unicast), 멀티캐스트(mulicast), 브로드캐스트(broadcast) 중 적어도 하나가 사용될 수 있다.The packet transmission apparatus 100 may perform a predefined action according to the determined type. For example, the first type may perform a fast forward command. The packet transmission apparatus 100 may determine that the broadcast packet is included in the payload as a packet of a first type, perform a fast forwarding operation, and perform an operation of directly delivering only the broadcast packet without any other conversion. . For this operation, the packet transmission apparatus 100 may extract only the data of the payload portion of the received packet, transform the data into broadcast packets, and transmit the data to the client devices 300 on the local network to which the packet transmission apparatus 100 belongs. have. As the transmission scheme, at least one of unicast, multicast, and broadcast may be used.

여기서, 유니캐스트 방식은 하나의 송신자와 하나의 수신자 사이에 데이터를 1:1로 전송하는 방식이다. 예를 들어, 유니캐스트 방식의 경우 수신기에서 서버에 데이터를 요청하면, 서버는 요청에 따라 데이터를 수신기에 전송할 수 있다. 멀티캐스트 방식은 특정한 그룹의 다수의 수신자에게 데이터를 전송하는 방식이다. 예를 들어, 서버는 데이터를 미리 등록된 다수의 수신기에 한꺼번에 전송할 수 있다. 이러한 멀티캐스트 등록을 위해 IGMP(Internet Group Management Protocol) 프로토콜 등이 사용될 수 있다. Here, the unicast method is a method of transmitting data 1: 1 between one sender and one receiver. For example, in the unicast method, when a receiver requests data from a server, the server may transmit data to the receiver according to the request. Multicasting is a method of transmitting data to a plurality of recipients of a specific group. For example, the server can send data to multiple pre-registered receivers at once. For such multicast registration, the Internet Group Management Protocol (IGMP) protocol may be used.

그리고, 브로드캐스트 방식은 한 노드가 해당 로컬 네트워크의 모든 노드로 보내는 방식을 말한다. 즉, 패킷 전송 장치(100)는 로컬 네트워크상의 모든 클라이언트 장치(300)로 패킷을 전송할 수 있다. 일반적으로 라우터(400)의 방화벽 등에서는 보안 문제 등으로 이러한 브로드캐스트 방식의 방송 패킷을 차단하고 있다. 그러나, 본 발명의 일 실시예에 의한 패킷 전송 장치(100)는 네트워크 설정이나 라우터(400)의 구성 변경 없이도, 타 네트워크의 서버(200)에서 전송된 방송 패킷을 수신하여 해당 네트워크의 클라이언트 장치로 전송하는 것을 가능하게 한다.In addition, the broadcast method refers to a method in which a node sends to all nodes of a corresponding local network. That is, the packet transmission apparatus 100 may transmit a packet to all client devices 300 on the local network. In general, the firewall of the router 400 or the like blocks the broadcast packet of the broadcast method due to security. However, the packet transmission apparatus 100 according to an embodiment of the present invention receives the broadcast packet transmitted from the server 200 of another network without transmitting the network setting or the configuration of the router 400 to the client device of the corresponding network. Makes it possible to transmit.

한편, 패킷 전송 장치(100)는 예를 들어, 판단된 타입이 제2 타입인 경우에는 정의된 전달 동작(defined forward command)를 수행할 수 있다. 정의된 전달 동작을 수행하는 경우는 패킷의 프로토콜 변형이 필요한 경우로서, 예를 들어 제2 계층의 패킷을 제3 계층의 UDP 패킷으로 변형할 필요성이 있는 경우가 있을 수 있다.On the other hand, if the determined type is the second type, the packet transmission apparatus 100 may perform a defined forward command. In the case where the defined forwarding operation is performed, a protocol modification of the packet is required, and there may be a case where it is necessary to transform a packet of the second layer into a UDP packet of the third layer, for example.

그리고, 패킷 전송 장치(100)는 이와 같이 프로토콜이 변형된 패킷을 프로토콜에 따라 유니캐스트, 멀티캐스트, 브로드캐스트 방식 중 적어도 하나의 방식으로 클라이언트 장치들(300)로 전송할 수 있다.In addition, the packet transmission apparatus 100 may transmit the packet in which the protocol is modified as described above to the client devices 300 in at least one of unicast, multicast, and broadcast schemes according to the protocol.

그리고, 패킷 전송 장치(100)는 예를 들어 판단된 타입이 제3 타입인 경우에는 패킷 전송 장치(100)의 학습을 위한 패킷 타입임을 판단하고, 패킷에 포함된 데이터에 따라 패킷 전송 장치(100)를 업데이트할 수 있다. 이 경우에는 외부 네트워크의 서버(200)에서 전송하는 패킷에 XML과 같은 프로토콜 디스크립션(description) 문서가 포함될 수 있다. 그리고, 패킷 전송 장치(100)는 이를 파싱하고 처리하는 XML 파서(parser) 모듈을 더 포함할 수 있다. For example, when the determined type is the third type, the packet transmission apparatus 100 determines that the packet type is for learning of the packet transmission apparatus 100, and according to the data included in the packet, the packet transmission apparatus 100. ) Can be updated. In this case, a protocol description document such as XML may be included in the packet transmitted from the server 200 of the external network. The packet transmission apparatus 100 may further include an XML parser module that parses and processes the packet transmission apparatus.

그리고, 패킷 전송 장치(100)는 제3 타입의 패킷에서 파싱된 데이터로부터 기 설정된 프로토콜 변환 테이블 또는 보안용 서버의 IP주소 등과 같은 설정 정보를 획득하고 변형 처리하여 저장할 수 있다. 또한, 각 타입에 대한 동작 방식 및 정의된 전달 동작(defined forward command)의 동작에 관한 조건들을 획득하거나, 프로토콜 변환 방식등을 획득하여 업데이트 할 수 있다.The packet transmission apparatus 100 may obtain, modify, and store setting information, such as a predetermined protocol conversion table or an IP address of a security server, from data parsed from a third type of packet. In addition, it is possible to obtain conditions for operation of each type and operation of a defined forward command, or to obtain and update a protocol conversion method.

도 3은 본 발명의 일 실시예에 따른 패킷 전송 장치(100)의 구성을 나타낸 블록도이다.3 is a block diagram showing the configuration of a packet transmission apparatus 100 according to an embodiment of the present invention.

도 3을 참조하면, 본 발명의 일 실시예에 따른 패킷 전송 장치(100)는 외부 네트워크의 서버(200)로부터 패킷을 수신하는 수신부(110), 패킷 전송 장치(100)를 제어하고 수신부(110)가 수신한 패킷을 처리하며 전송부(120)로 전달하는 제어부(120) 및 처리된 패킷을 클라이언트 장치(300)로 전송하는 전송부(120)를 포함하여 구성될 수 있다.Referring to FIG. 3, the packet transmission apparatus 100 according to an embodiment of the present invention controls the receiver 110 and the packet transmitter 100 that receive a packet from a server 200 of an external network, and receives the receiver 110. The controller 120 may process the received packet and transmit the received packet to the transmission unit 120, and the transmission unit 120 may transmit the processed packet to the client device 300.

수신부(110)는 상술한 바와 같은 서버(200)로부터 페이로드가 포함된 패킷 데이터를 수신한다. 그리고, 페이로드에는 방송 패킷(Broadcast packet) 데이터가 포함될 수 있다. 또한, 페이로드에는 제2 계층 패킷이 포함될 수 있다. 또한, 상술한 바와 같이 수신 방식으로는 유니캐스트 방식이 사용될 수 있다. 따라서, 패킷 전송 장치(100)의 IP주소를 목적지로 하는 패킷을 수신할 수 있다.The receiver 110 receives the packet data including the payload from the server 200 as described above. The payload may include broadcast packet data. In addition, the payload may include a second layer packet. In addition, as described above, a unicast scheme may be used as the reception scheme. Therefore, a packet destined for the IP address of the packet transmission apparatus 100 can be received.

제어부(120)는 패킷 전송 장치(100)의 전반적인 동작을 제어할 뿐만 아니라, 수신한 패킷을 처리하여 변형된 패킷을 전송부(130)로 전송한다.The controller 120 not only controls the overall operation of the packet transmission apparatus 100 but also processes the received packet and transmits the modified packet to the transmission unit 130.

제어부(120)는 수신한 패킷을 분석하여 수신 패킷의 타입(type)을 판단한다. 패킷의 타입은 패킷의 13번째 바이트인 타입 필드(type field)를 검토함으로써 판단할 수 있다.The controller 120 analyzes the received packet to determine the type of the received packet. The type of the packet can be determined by examining the type field, which is the 13th byte of the packet.

그리고, 제어부(120)는 제1 타입의 경우, 상술한 바와 같은 빠른 전달 동작(fast forward command)을 수행할 수 있다. 이러한 동작을 위하여, 패킷 전송 장치(100)는 수신한 패킷의 페이로드 부분의 데이터만을 추출하고, 방송 패킷으로 변형할 수 있다.In addition, in the case of the first type, the controller 120 may perform a fast forward command as described above. For this operation, the packet transmission apparatus 100 may extract only the data of the payload portion of the received packet and transform it into a broadcast packet.

또한 제어부(120)는 제2 타입의 경우, 정의된 전달 동작(defined forward command)를 수행할 수 있다. 정의된 전달 동작을 수행하는 경우는 패킷의 프로토콜 변형이 필요한 경우로서, 예를 들어 제2 계층의 패킷을 제3 계층의 UDP 패킷으로 변형할 필요성이 있는 경우가 있을 수 있다.In addition, in the case of the second type, the controller 120 may perform a defined forward command. In the case where the defined forwarding operation is performed, a protocol modification of the packet is required, and there may be a case where it is necessary to transform a packet of the second layer into a UDP packet of the third layer, for example.

그리고, 제어부(120)는 제3 타입의 경우, 패킷에 포함된 데이터에 따라 패킷 전송 장치(100)를 업데이트할 수 있다. 이 경우에는 패킷에 XML과 같은 프로토콜 디스크립션(description) 문서가 포함될 수 있으며, 제어부(120)는 이를 파싱하고 처리하는 XML 파서(parser) 모듈을 더 포함할 수 있다.In addition, in the case of the third type, the controller 120 may update the packet transmission apparatus 100 according to the data included in the packet. In this case, the packet may include a protocol description document such as XML, and the controller 120 may further include an XML parser module for parsing and processing the same.

한편, 제어부(120)는 타입 필드와 서버(200)의 ip 주소에 기초하여 미리 정의된 패킷에 대하여만 동작을 수행할 수 있다. 이는 패킷 전송 장치(100)에 외부 공격이 있는 경우를 대비하여 보안 정책을 수행하기 위한 방안으로서, 제어부(120)는 패킷의 소스(source)가 되는 서버의 ip를 미리 지정하고, 지정된 서버의 ip와 타입 필드값을 미리 정의하여 이에 대한 패킷만을 처리할 수 있다. 따라서, 보안 능력을 향상시키는 효과가 있다.Meanwhile, the controller 120 may perform an operation only on a packet predefined based on the type field and the ip address of the server 200. This is a method for executing a security policy in case of an external attack on the packet transmission apparatus 100. The control unit 120 designates an ip of a server which is a source of a packet in advance, and an ip of a designated server. By defining the and field types in advance, only packets for them can be processed. Therefore, there is an effect of improving the security capability.

전송부(130)는 제어부(120)의 제어 또는 제어부(120)에 의해 변형된 패킷의 프로토콜 형식에 따라 유니캐스트, 멀티캐스트, 브로드캐스트 방식 중 적어도 하나의 방식으로 제어부(120)에서 변형된 패킷을 클라이언트 장치들(300)로 전송한다. 유니캐스트, 멀티캐스트, 브로드캐스트 방식은 상술한 바와 같다.The transmitter 130 is a packet modified by the controller 120 in at least one of unicast, multicast, and broadcast methods according to the control of the controller 120 or the protocol format of the packet modified by the controller 120. To the client devices 300. Unicast, multicast, and broadcast methods are as described above.

한편, 패킷 전송 장치(100)는 패킷 송수신을 위한 네트워크 인터페이스부(미도시)를 더 포함할 수 있다. 네트워크 인터페이스부는, 인터넷망을 포함하는 유/무선 네트워크와 연결하기 위한 인터페이스를 제공한다. 네트워크 인터페이스부는, 유선 네트워크와의 접속을 위해, 예를 들어 이더넷(Ethernet) 단자 등을 구비할 수 있으며, 무선 네트워크와의 접속을 위해, 예를 들어 WLAN(Wireless LAN)(Wi-Fi), Wibro(Wireless broadband), Wimax(World Interoperability for Microwave Access), HSDPA(High Speed Downlink Packet Access) 통신 규격 등이 이용될 수 있다. 그리고, 네트워크 인터페이스부는, 접속된 네트워크 또는 접속된 네트워크에 링크된 다른 네트워크를 통해, 다른 사용자 또는 다른 전자 기기와 데이터를 송신 또는 수신할 수 있다. Meanwhile, the packet transmission apparatus 100 may further include a network interface unit (not shown) for packet transmission and reception. The network interface unit provides an interface for connecting to a wired / wireless network including an internet network. The network interface unit may include an Ethernet terminal or the like for connection to a wired network and may be a WLAN (Wi-Fi), a WiBro (Wireless Broadband), Wimax (World Interoperability for Microwave Access), and HSDPA (High Speed Downlink Packet Access) communication standards. The network interface unit may transmit or receive data to or from another user or another electronic device through the connected network or another network linked to the connected network.

그리고, 패킷 전송 장치(100)는 저장부(미도시)를 더 구비할 수 있다. 저장부는 제어부(120) 내의 각 패킷 처리 및 제어를 위한 프로그램이 저장될 수도 있고, 상술한 바와 같은 패킷 전송 장치(100)의 설정 정보가 저장될 수도 있다.The packet transmission apparatus 100 may further include a storage unit (not shown). The storage unit may store a program for processing and controlling each packet in the control unit 120, or may store the setting information of the packet transmission apparatus 100 as described above.

저장부는, 예를 들어 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램, 롬(EEPROM 등) 중 적어도 하나의 타입의 저장매체를 포함할 수 있다. 그리고, 저장부는 제어부(120) 내에 포함될 수도 있다. The storage unit may be, for example, a flash memory type, a hard disk type, a multimedia card micro type, a memory of a card type (eg SD or XD memory, etc.), It may include at least one type of storage medium such as RAM, ROM (EEPROM, etc.). The storage unit may be included in the controller 120.

도 4는 본 발명의 다른 일 실시예에 따른 패킷 전송 방법을 나타낸 흐름도이다.4 is a flowchart illustrating a packet transmission method according to another embodiment of the present invention.

도 4를 참조하면, 패킷 전송 장치(100)는 외부 네트워크의 서버(200)로부터 패킷을 수신한다(S100 단계). 외부 네트워크의 서버(200)는 유니캐스트 방식으로 패킷 전송 장치(100)의 ip주소를 목적지로 지정하여 패킷을 전송할 수 있다. 그리고, 패킷은 해당 네트워크에 설치된 라우터(400)를 경유하여 전송될 수 있다.Referring to FIG. 4, the packet transmission apparatus 100 receives a packet from a server 200 of an external network (step S100). The server 200 of the external network may transmit a packet by designating an IP address of the packet transmission apparatus 100 as a destination in a unicast manner. The packet may be transmitted via the router 400 installed in the corresponding network.

그리고, 패킷의 페이로드는 WOL(Wake On Lan) 패킷과 같은 방송 패킷(Broadcast packet)데이터를 포함할 수 있다. WOL패킷은 인터넷 통신 규격상 제2 계층에 속한 패킷으로서, 일반적인 라우터 시스템에서는 타 네트워크로 전송될 수 없는 패킷의 일 예이다.The payload of the packet may include broadcast packet data such as a Wake On Lan (WOL) packet. The WOL packet is a packet belonging to the second layer in the Internet communication standard, and is an example of a packet that cannot be transmitted to another network in a general router system.

이후, 패킷 전송 장치(100)는 수신 패킷에 포함된 타입 필드를 검출한다(S105). 패킷 전송 장치(100)는 패킷의 13번째 바이트를 검토함으로써 타입 필드(type field)를 검출할 수 있다.Thereafter, the packet transmission apparatus 100 detects a type field included in the received packet (S105). The packet transmission apparatus 100 may detect a type field by examining the 13 th byte of the packet.

그리고, 검출한 타입 필드가 제1 타입인지를 판단한다(S110 단계). 제1 타입의 경우는 상술한 바와 같은 빠른 전달 동작(fast forward command)을 수행할 수 있다. 이를 위해, 제1 타입인 경우는 패킷에 포함된 페이로드 데이터를 추출하여 방송 패킷으로 변형한다(S115 단계).In operation S110, it is determined whether the detected type field is the first type. In the case of the first type, a fast forward command as described above may be performed. To this end, in the case of the first type, payload data included in the packet is extracted and transformed into a broadcast packet (step S115).

이후, 패킷 전송 장치(100)는 이와 같이 변형된 방송 패킷을 패킷 전송 장치(100)가 속한 로컬 네트워크상의 클라이언트 장치들(300)로 전송할 수 있다(S120 단계). 전송 방식은 유니캐스트(unicast), 멀티캐스트(mulicast), 브로드캐스트(broadcast) 중 적어도 하나가 사용될 수 있다. 일 실시예에서는 패킷 전송 장치(100)는 브로드캐스트 방식으로 방송 패킷을 전송할 수 있다.Thereafter, the packet transmission apparatus 100 may transmit the modified broadcast packet to the client apparatuses 300 on the local network to which the packet transmission apparatus 100 belongs (step S120). As the transmission scheme, at least one of unicast, multicast, and broadcast may be used. According to an embodiment, the packet transmission apparatus 100 may transmit a broadcast packet in a broadcast manner.

한편, 패킷 전송 장치(100)는 검출한 타입이 제1 타입이 아닌 경우, 제2 타입 인지 판단한다(S125 단계).On the other hand, if the detected type is not the first type, the packet transmission apparatus 100 determines whether it is the second type (step S125).

패킷 전송 장치(100) 검출된 타입 필드가 제2 타입인 경우, 기 정의된 테이블에 따라 패킷의 프로토콜을 변형한다(S130 단계). 이러한 프로토콜의 변형이 필요한 경우는 제2 계층 패킷을 제3 계층의 UDP패킷으로 변형하는 경우가 예시될 수 있다. If the detected type field is the second type, the packet transmission apparatus 100 modifies the protocol of the packet according to a predefined table (S130). When a modification of such a protocol is required, a case of transforming a second layer packet into a UDP packet of a third layer may be illustrated.

이후, 패킷 전송 장치(100)는 변환된 프로토콜에 따라 멀티캐스트, 브로드캐스트, 유니캐스트 중 어느 하나의 방식을 통해 클라이언트 장치(300)들로 프로토콜 변환된 패킷을 전송한다(S135).Thereafter, the packet transmission apparatus 100 transmits the protocol-converted packet to the client apparatuses 300 through one of multicast, broadcast, and unicast according to the converted protocol (S135).

한편, 타입 필드가 제2 타입이 아닌 경우에는 패킷 전송 장치(100)는 학습 모드로 전환하여 수신 패킷을 파싱하고, 설정 정보를 획득 할 수 있다(S140). 설정 정보는 패킷 전송 장치(100)가 참조하는 각종 테이블 정보, 타입 필드 정보, 전송 서버의 ip 주소 및 각 타입 필드에 따른 수행 동작 명령 정보 중 적어도 하나를 포함할 수 있다. 이를 통하여 패킷 전송 장치(100)는 각각의 동작을 수행할 수 있으며, 패킷을 파싱하기 위한 파서(미도시) 모듈을 더 포함할 수 있다.On the other hand, if the type field is not the second type, the packet transmission apparatus 100 may switch to the learning mode to parse the received packet and obtain configuration information (S140). The configuration information may include at least one of various table information referenced by the packet transmission apparatus 100, type field information, an ip address of a transmission server, and execution operation command information corresponding to each type field. Through this, the packet transmission apparatus 100 may perform each operation, and may further include a parser module (not shown) for parsing the packet.

또한, 패킷 전송 장치(100)는 이와 같은 설정 정보를 xml과 같은 디스크립션(description) 문서의 형태로 패킷에 포함된 정보를 파싱하여 획득할 수 있다.In addition, the packet transmission apparatus 100 may obtain such configuration information by parsing the information included in the packet in the form of a description document such as xml.

이후, 패킷 전송 장치(100)는 획득한 설정 정보를 통하여 업데이트를 수행하거나, 동작을 실행하기 위해 설정 정보를 저장할 수 있다(S145 단계).Thereafter, the packet transmission apparatus 100 may update the configuration information through the obtained configuration information or store the configuration information to execute an operation (step S145).

이와 같은 패킷 전송 장치(100)는 타입 필드만을 검토하여 동작을 결정할 수 있으므로, 하드웨어 및 소프트웨어 측면에서 최소한의 리소스를 이용하여 구성할 수 있게 된다. 또한, 방송 패킷의 경우, ip 스택(stack)을 따로 처리할 필요 없이 브로드캐스트 할 수 있으므로 리소스를 절감할 수 있는 효과가 있다.Since the packet transmission apparatus 100 may determine an operation by examining only the type field, the packet transmission apparatus 100 may be configured using minimum resources in terms of hardware and software. In addition, in the case of broadcast packets, since the IP stack can be broadcast without processing separately, there is an effect of saving resources.

도 5는 본 발명의 다른 일 실시예에 따른 패킷 전송 방법을 나타낸 흐름도이다.5 is a flowchart illustrating a packet transmission method according to another embodiment of the present invention.

패킷 전송 장치(100)는 ip 주소를 획득함으로써 보안 정책을 수행할 수 있다. 즉, 패킷 전송 장치(100)는 미리 정의된 ip 주소로부터 오는 특정 타입의 패킷에 대해서만 동작을 수행하고, 다른 패킷에 대하여는 수행하지 않도록 설정할 수 있다.The packet transmission apparatus 100 may perform a security policy by obtaining an ip address. That is, the packet transmission apparatus 100 may set an operation to perform only a packet of a specific type coming from a predefined ip address and not to perform another packet.

도 5를 참조하면, 패킷 전송 장치(100)는 상술한 바와 같은 설정 정보로부터 서버 ip리스트를 획득 하고, 저장할 수 있다(S200 단계).Referring to FIG. 5, the packet transmission apparatus 100 may obtain and store a server ip list from the above configuration information (step S200).

이후, 패킷 전송 장치(100)는 패킷을 수신하면, 패킷을 송신한 서버의 ip 주소를 검출한다(S210 단계).Subsequently, upon receiving the packet, the packet transmission apparatus 100 detects the ip address of the server that transmitted the packet (step S210).

그리고, 패킷 전송 장치(100)는 패킷 송신 서버의 ip주소와 서버 ip리스트에 있는 ip주소에 일치하는 ip 주소가 있는지 판단한다(S220 단계).In operation S220, the packet transmission apparatus 100 determines whether there is an ip address that matches the ip address of the packet transmission server and the ip address in the server ip list.

이후, 일치하는 경우에는 패킷 전송 장치(100)는 상술한 바와 같이 패킷을 변형하고, 클라이언트 장치들(300)로 전송한다(S230 단계).If there is a match, the packet transmission apparatus 100 transforms the packet as described above and transmits the packet to the client apparatuses 300 (step S230).

한편, 일치하지 않는 경우에는 패킷 전송 장치(100)는 패킷 전송 동작을 중지하거나 수행하지 않도록 제어한다(S240 단계).On the other hand, if it does not match, the packet transmission apparatus 100 controls not to stop or perform the packet transmission operation (step S240).

이와 같이 패킷 전송 장치(100)는 기 설정된 서버의 IP주소만을 필터링하여 외부 공격을 차단하는 보안 정책을 수행할 수 있다.As such, the packet transmission apparatus 100 may perform a security policy that blocks an external attack by filtering only a predetermined IP address of a server.

또한, 이와 같은 보안 정책은, 패킷 전송 장치(100)에 특정 포트를 설정하여 설정된 포트를 통해 패킷을 수신하는 경우에만 패킷을 전송하는 방식으로도 구현될 수 있다. 이는 외부 공격을 1차적으로 제거할 수 있는 효과가 있다.In addition, such a security policy may be implemented by transmitting a packet only when a packet is received through a port set by setting a specific port in the packet transmission apparatus 100. This has the effect of eliminating primarily external attacks.

상술한 본 발명에 따른 패킷 전송 방법은 컴퓨터에서 실행되기 위한 프로그램으로 제작되어 컴퓨터가 읽을 수 있는 기록 매체에 저장될 수 있으며, 컴퓨터가 읽을 수 있는 기록 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다.The above-described packet transmission method according to the present invention can be stored in a computer-readable recording medium that is produced as a program for execution on a computer. Examples of the computer-readable recording medium include ROM, RAM, CD-ROM, Magnetic tapes, floppy disks, optical data storage devices, and the like, and also include those implemented in the form of carrier waves (eg, transmission over the Internet).

컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고, 상기 방법을 구현하기 위한 기능적인(function) 프로그램, 코드 및 코드 세그먼트들은 본 발명이 속하는 기술분야의 프로그래머들에 의해 용이하게 추론될 수 있다.The computer readable recording medium may be distributed over a networked computer system so that computer readable code can be stored and executed in a distributed manner. And, functional programs, codes and code segments for implementing the above method can be easily inferred by programmers of the technical field to which the present invention belongs.

또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변형 실시가 가능한 것은 물론이고, 이러한 변형 실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해 되어서는 안될 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It should be understood that various modifications may be made by those skilled in the art without departing from the spirit and scope of the present invention.

100: 패킷 전송 장치
200: 서버
300: 클라이언트 장치
400: 라우터
100: packet transmission device
200: Server
300: client device
400: router

Claims (12)

페이로드가 포함된 패킷을 수신하여 로컬 네트워크상의 클라이언트 장치들로 전송하기 위한 방법에 있어서,
외부 네트워크의 서버로부터 제1 패킷을 수신하는 단계;
상기 제1 패킷에 포함된 타입 필드를 검출하는 단계; 및
상기 타입 필드가 제1 타입인 경우, 상기 제1 패킷의 페이로드를 추출하고, 상기 추출된 페이로드를 방송 패킷으로 변형하여 상기 클라이언트 장치들로 전송하는 단계를 포함하는 패킷 전송 방법.
A method for receiving and transmitting a packet containing a payload to client devices on a local network, the method comprising:
Receiving a first packet from a server of an external network;
Detecting a type field included in the first packet; And
And extracting the payload of the first packet, converting the extracted payload into a broadcast packet, and transmitting the payload to the client devices when the type field is the first type.
제1항에 있어서,
상기 명령 정보가 제2 타입인 경우, 기 정의된 테이블에 따라 상기 제1 패킷의 프로토콜을 변형하여 상기 클라이언트 장치들로 전송하는 단계를 포함하는 패킷 전송 방법.
The method of claim 1,
If the command information is the second type, modifying the protocol of the first packet according to a predefined table and transmitting the modified packet to the client devices.
제1항에 있어서,
상기 제1 패킷의 페이로드는 인터넷 통신 규약상의 제2 계층 정보를 포함하는 패킷 전송 방법.
The method of claim 1,
The payload of the first packet includes a second layer information on the Internet communication protocol.
제1항에 있어서,
상기 제1 패킷을 수신하는 단계는 상기 외부 네트워크의 서버로부터 유니캐스트 방식으로 수신하고,
상기 클라이언트로 전송하는 단계는 기 정의된 프로토콜에 따라 유니캐스트, 멀티캐스트 및 브로드캐스트 중 적어도 하나의 방식으로 전송하는 패킷 전송 방법.
The method of claim 1,
Receiving the first packet is received in a unicast manner from a server of the external network,
The step of transmitting to the client is a packet transmission method for transmitting in at least one method of unicast, multicast and broadcast according to a predefined protocol.
제1항에 있어서,
상기 제1 패킷을 수신하는 단계는
상기 외부 네트워크의 서버 주소를 검출하는 단계;
상기 서버 주소가 기 설정된 주소와 일치하는지 판단하는 단계;
상기 주소 판단결과 일치하는 경우에만 상기 제1 패킷을 수신하는 단계를 포함하는 패킷 전송 방법.
The method of claim 1,
Receiving the first packet
Detecting a server address of the external network;
Determining whether the server address matches a preset address;
And receiving the first packet only if the address is determined to be matched.
제4항에 있어서,
상기 제1 패킷을 수신하는 단계는 상기 외부 네트워크로부터 기 설정된 포트를 통해 수신하는 패킷 전송 방법.
5. The method of claim 4,
Receiving the first packet is a packet transmission method for receiving from the external network through a predetermined port.
외부 네트워크의 서버로부터 페이로드가 포함된 패킷을 수신하여 로컬 네트워크상의 클라이언트 장치들로 전송하는 패킷 전송 장치에 있어서,
상기 외부 네트워크의 서버로부터 제1 패킷을 수신하는 수신부;
상기 제1 패킷에 포함된 타입 필드를 검출하고, 상기 타입 필드가 제1 타입인 경우, 상기 제1 패킷의 페이로드를 추출하고, 상기 추출된 페이로드를 방송 패킷으로 변형하며, 상기 명령 정보가 제2 타입인 경우, 기 정의된 테이블에 따라 상기 제1 패킷의 프로토콜을 변형하는 제어부; 및
상기 변형된 방송 패킷 또는 상기 변형된 제1 패킷 중 적어도 하나를 상기 클라이언트 장치들로 전송하는 전송부를 포함하는 패킷 전송 장치.
A packet transmission apparatus for receiving a packet including a payload from a server of an external network and transmitting the packet including a payload to client devices on a local network.
A receiver configured to receive a first packet from a server of the external network;
Detecting a type field included in the first packet, extracting a payload of the first packet, transforming the extracted payload into a broadcast packet, if the type field is a first type, A control unit for modifying the protocol of the first packet according to a predefined table in the case of the second type; And
And a transmitter configured to transmit at least one of the modified broadcast packet or the modified first packet to the client devices.
제7항에 있어서,
상기 제1 패킷의 페이로드는 인터넷 통신 규약상의 제2 계층 정보를 포함하는 패킷 전송 장치.
The method of claim 7, wherein
And a payload of the first packet includes second layer information on an internet communication protocol.
제7항에 있어서,
상기 수신부는 상기 제1 패킷을 유니캐스트 방식으로 수신하고,
상기 전송부는 유니캐스트, 멀티캐스트 및 브로드캐스트 중 적어도 하나의 방식으로 전송하는 패킷 전송 장치.
The method of claim 7, wherein
The receiving unit receives the first packet in a unicast manner,
The transmitting unit transmits the packet in at least one of unicast, multicast and broadcast.
제7항에 있어서,
상기 수신부는 상기 외부 네트워크의 서버 주소를 검출하고, 상기 서버 주소가 기 설정된 주소와 일치하는지 판단하며, 상기 주소 판단결과 일치하는 경우에만 상기 제1 패킷을 수신하는 단계를 포함하는 패킷 전송 장치.
The method of claim 7, wherein
And the receiving unit detects a server address of the external network, determines whether the server address matches a preset address, and receives the first packet only if the address is determined to match.
제7항에 있어서,
상기 수신부는 상기 제1 패킷을 상기 외부 네트워크로부터 기 설정된 포트를 통해 수신하는 패킷 전송 장치.
The method of claim 7, wherein
And the receiving unit receives the first packet from the external network through a preset port.
제1항 내지 제6항 중 어느 한 항에 기재된 방법이 컴퓨터에서 실행되기 위한 프로그램으로 제작되어 컴퓨터가 읽을 수 있는 기록 매체.A computer-readable recording medium produced by a program for executing on a computer, the method according to any one of claims 1 to 6.
KR1020110128714A 2011-12-05 2011-12-05 A method for transmitting packets and an apparatus using it KR20130085470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110128714A KR20130085470A (en) 2011-12-05 2011-12-05 A method for transmitting packets and an apparatus using it

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110128714A KR20130085470A (en) 2011-12-05 2011-12-05 A method for transmitting packets and an apparatus using it

Publications (1)

Publication Number Publication Date
KR20130085470A true KR20130085470A (en) 2013-07-30

Family

ID=48995632

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110128714A KR20130085470A (en) 2011-12-05 2011-12-05 A method for transmitting packets and an apparatus using it

Country Status (1)

Country Link
KR (1) KR20130085470A (en)

Similar Documents

Publication Publication Date Title
US8189584B2 (en) Multicast traffic management in a network interface
US10499313B2 (en) Efficient hybrid resource and schedule management in time slotted channel hopping networks
US9571382B2 (en) Method, controller, and system for processing data packet
WO2019134383A1 (en) Method for controlling network congestion, access device, and computer readable storage medium
EP2378720B1 (en) Extranet networking method, system and device for multicast virtual private network
US10231163B2 (en) Efficient centralized resource and schedule management in time slotted channel hopping networks
EP3245774B1 (en) Hardware tcp accelerator
EP2279585B1 (en) Method and apparatus for multicast group management
US10819659B2 (en) Direct replying actions in SDN switches
CN110191066B (en) Method, equipment and system for determining maximum transmission unit (PMTU)
WO2021233327A1 (en) Message processing method and apparatus, announcement method and apparatus, network bridge node, source device, storage medium, and message processing system
WO2012159481A1 (en) Path maximum transmission unit discovery method and node
US10686701B2 (en) Packet transmission method and device, and communications system
US9787770B2 (en) Communication system utilizing HTTP
US10587508B2 (en) Ethernet frame transmission method in software defined networks (SDN)
EP3151487A1 (en) Pim source discovery by last hop router on shared tree
US20170332439A1 (en) Extending the range of mesh networks
US11196631B2 (en) Multi-unicast discovery of devices on a network
US8711869B2 (en) Message transfer apparatus, output method, and computer program product
WO2015100593A1 (en) Message transmission method, apparatus and communication system
KR20180025944A (en) Method and apparatus for implementing SDN-based ARP
EP3297210B1 (en) Method and apparatus for setting packet transmission mode
US9537764B2 (en) Communication apparatus, control apparatus, communication system, communication method, method for controlling communication apparatus, and program
KR101755829B1 (en) Method and apparatus for processing address resolution protocol in software defined networking environment
WO2012146139A1 (en) Message filtering method and access device

Legal Events

Date Code Title Description
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid