KR100654945B1 - Method and system for communicating with each other between equipments which exist in other logical network and recording media of packet transformer for the same - Google Patents

Method and system for communicating with each other between equipments which exist in other logical network and recording media of packet transformer for the same Download PDF

Info

Publication number
KR100654945B1
KR100654945B1 KR1020050025879A KR20050025879A KR100654945B1 KR 100654945 B1 KR100654945 B1 KR 100654945B1 KR 1020050025879 A KR1020050025879 A KR 1020050025879A KR 20050025879 A KR20050025879 A KR 20050025879A KR 100654945 B1 KR100654945 B1 KR 100654945B1
Authority
KR
South Korea
Prior art keywords
packet
unicast
broadcast
address
address information
Prior art date
Application number
KR1020050025879A
Other languages
Korean (ko)
Other versions
KR20060104051A (en
Inventor
심도용
손경구
Original Assignee
(주) 엠엠씨 테크놀로지
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by (주) 엠엠씨 테크놀로지 filed Critical (주) 엠엠씨 테크놀로지
Priority to KR1020050025879A priority Critical patent/KR100654945B1/en
Publication of KR20060104051A publication Critical patent/KR20060104051A/en
Application granted granted Critical
Publication of KR100654945B1 publication Critical patent/KR100654945B1/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/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Abstract

동일한 물리적 연결을 구성하고 있는 로컬 네트워크 환경 안에서 논리적으로 나뉘어진 사용자와 서버가 서로 통신하기 위한 방법이 개시된다. 상기 방법은 제 1유니캐스트 패킷을 상기 제 1장치 자신의 제 1주소정보와 목적지의 제 2주소정보를 포함하는 제 1브로드캐스트 패킷으로 변환하여 송신하고, 제 2장치에서 수신한 제 1브로드캐스트 패킷을 제 2유니캐스트 패킷으로 변환하고, 제 2장치에서 생성된 제 3유니캐스트 패킷을 상기 제 1주소정보와 제 2주소정보가 포함된 제 2브로드캐스트 패킷으로 변환하여 제 1장치로 송신하고, 상기 제 1장치에서 수신된 제 2브로드캐스트 패킷을 제 4유니캐스트 패킷으로 변환하여 처리하는 과정으로 이루어지며, 클라이언트가 같은 로컬 네트워크에 있으나 서로 다른 논리적 네트워크에 존재하는 서버가 제공하는 유니캐스트 방식의 인터넷 서비스를 이용할 수 있도록 해준다.A method is disclosed for communicating logically divided users and servers within a local network environment that constitute the same physical connection. The method converts and transmits a first unicast packet into a first broadcast packet including first address information of the first device and second address information of a destination, and then receives the first broadcast packet received by the second device. Converts the packet into a second unicast packet, converts the third unicast packet generated by the second device into a second broadcast packet including the first address information and the second address information, and transmits the packet to the first device. And converting the second broadcast packet received by the first device into a fourth unicast packet and processing the same. A unicast scheme provided by a server in which a client exists in the same local network but exists in different logical networks. Make your Internet service available.

유니캐스트, 브로드캐스트, 패킷, 서브넷, 아이피주소, 인터넷 Unicast, Broadcast, Packet, Subnet, IP Address, Internet

Description

다른 논리적 네트워크에 존재하는 장치들 간의 통신방법과 그 시스템 및 이를 위한 패킷변환기 기록매체{Method and system for communicating with each other between equipments which exist in other logical network and recording media of packet transformer for the same}Method and system for communicating with each other between equipments which exist in other logical network and recording media of packet transformer for the same}

도 1은 종래의 인터넷 통신방식을 설명하기 위한 설명도,1 is an explanatory diagram for explaining a conventional Internet communication method;

도 2는 일반적인 IP패킷의 구성을 나타낸 구성도,2 is a block diagram showing the configuration of a general IP packet,

도 3은 본 발명에 따른 인터넷 통신방식을 설명하기 위한 통신시스템의 블록도,3 is a block diagram of a communication system for explaining the Internet communication method according to the present invention;

도 4a~4f는 IP패킷의 변환과정을 순서대로 나타낸 패킷의 구성도,4A to 4F are block diagrams illustrating the packet conversion procedure in order;

도 5는 변환참고데이터의 구성을 나타낸 도면,5 is a diagram showing the configuration of conversion reference data;

도 6과 도 7은 패킷변환기의 구성을 각각 나타낸 블록도,6 and 7 are block diagrams illustrating the configuration of a packet converter, respectively.

도 8은 연결관리모듈의 구성을 나타낸 블록도,8 is a block diagram showing the configuration of a connection management module;

도 9는 패킷변환기의 전체 동작과정을 설명하기 위한 흐름도,9 is a flowchart illustrating an overall operation of a packet converter;

도 10은 브로드캐스트 패킷/유니캐스트 패킷 수신모듈의 동작과정을 나타낸 흐름도,10 is a flowchart illustrating an operation of a broadcast packet / unicast packet receiving module;

도 11은 패킷검사모듈의 동작과정을 나타낸 흐름도,11 is a flowchart illustrating an operation process of a packet inspection module;

도 12는 패킷 재조합모듈의 동작과정을 설명하기 위한 흐름도,12 is a flowchart illustrating an operation of a packet recombination module;

도 13은 브로드캐스트 패킷/유니캐스트 패킷 송신모듈의 동작과정을 나타낸 흐름도이다.13 is a flowchart illustrating the operation of a broadcast packet / unicast packet transmission module.

* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings

210 : 단말장치 212 : 단말프로그램210: terminal device 212: terminal program

222 : 제 1패킷변환기222: first packet converter

223, 224 : 브로드캐스트 패킷 수신모듈223, 224: broadcast packet receiving module

224, 244 : 유니캐스트 패킷 수신모듈224, 244: unicast packet receiving module

225, 245 : 유니캐스트 패킷 송신모듈225, 245: unicast packet transmission module

226, 246 : 브로드캐스트 패킷 송신모듈226, 246: broadcast packet transmission module

227, 247 : 패킷 검사모듈 228, 248 : 패킷 재조합모듈227, 247: packet inspection module 228, 248: packet recombination module

229, 249 : 연결 관리모듈 230 : 서버229, 249: connection management module 230: server

232 : 서버프로그램 242 : 제 2패킷변환기232: server program 242: second packet converter

250a ~ 250f : 패킷 262 : 변환참고데이터250a to 250f: packet 262: conversion reference data

본 발명은 통신방법과 그 시스템 및 그에 이용되는 패킷변환기 기록매체에 관한 것으로, 특히 로컬 네트워크 환경에서 사용자가 IP주소를 통해 논리적으로 구분된 서로 다른 논리적 네트워크에 존재하는 서버에 접속할 수 있도록 하기 위한 방법과 시스템 및 그에 이용되는 패킷변환기 기록매체에 관한 것이다.The present invention relates to a communication method and a system thereof, and a packet converter recording medium used therein. In particular, in a local network environment, a method for enabling a user to access a server existing in different logical networks logically separated through an IP address. And a packet converter recording medium used therein.

기존 인터넷 서비스의 방식들 중WWW, FTP, SNMP 등은 TCP나 UDP 등의 유니캐스트(unicast) 패킷을 이용해서 단말장치가 특정 서비스를 요청하는 경우에 요청된 서비스에 대한 응답을 하고, 필요한 데이터를 전송한다. 이 때에 단말장치와 서버장치가 통신을 하기 위해서는 반드시 서로 공인IP(internet protocol)주소를 사용하거나, 로컬 네트워크에서 사설IP주소를 사용하는 경우에는 서로 통신할 수 있는 동일 서브넷의 IP주소로 설정 되어 있어야 한다.Among the existing Internet service methods, WWW, FTP, SNMP, etc. use unicast packets such as TCP or UDP to respond to the requested service when the terminal device requests a specific service, and provide necessary data. send. At this time, in order for the terminal device and the server device to communicate, they must use a public IP address or a private IP address in the local network. do.

도 1은 종래의 인터넷 통신방식을 설명하기 위한 설명도이고, 도 2는 일반적인 IP패킷의 구성을 나타낸 구성도이다.1 is an explanatory diagram for explaining a conventional Internet communication method, Figure 2 is a block diagram showing the configuration of a general IP packet.

도 1에는 통신을 위한 서버프로그램(132)이 설치된 서버(130)와 통신을 위한 단말프로그램(112)이 설치된 단말장치(110)가 도시되어 있다. 이 서버(130)와 단말장치(110)에는 다른 장치들과 통신을 위한 네트워크 인터페이스(114, 134)가 설치되어 있다. 도 1에서는 2대의 장치만 서로 연결된 것을 도시하였으나, 대부분은 여러 대의 서버(130)들과 단말장치(110)들이 서로 연결되어 네트워크를 형성한다. 이러한 서버(130)와 단말장치(110)가 네트워크로 연결되어 서로 IP(internet protocol)에 따른 통신을 할 수 있도록 하기 위해서는 각 장치는 여타의 장치와 구별되는 고유한 IP주소를 가지고 있어야 한다. 네트워크에 연결된 장치들 간의 통신방식에는 랜(local area network)방식, ATM(Asynchronus Transfer Mode)방식 등이 있는 데, 랜(lan) 방식이 가장 널리 사용되고 있다. 랜방식에서 널리 사용되고 있는 랜카드는 근거리통신망을 뜻하는 랜(lan)과 비디오카드나 모뎀처럼 PC의 확장슬롯에 꽂혀 사용되는 장치를 의미하는 카드(card)를 합친 용어이다. 랜카드는 네 트워크 카드와 이더넷 카드, 이더넷 어댑터, NIC(Network Interface Card) 등 다양하게 불리는 데, 본 발명에서는 랜카드라고 통칭한다. 여기에서 이더넷(Ethernet)은 가장 널리 사용되는 랜의 방식이다. 랜에 연결된 단말장치(110)나 서버(130)들은 대체로 이더넷이나 토큰링(token ring)과 같은 근거리통신망 전송기술을 위해 특별히 설계된 랜카드를 장착하고 있다. 1 illustrates a terminal device 110 in which a server program 130 for communication and a terminal program 112 for communication are installed. The server 130 and the terminal device 110 are provided with network interfaces 114 and 134 for communicating with other devices. In FIG. 1, only two devices are connected to each other, but in most cases, a plurality of servers 130 and terminal devices 110 are connected to each other to form a network. In order for the server 130 and the terminal device 110 to be connected through a network to communicate with each other according to an IP (internet protocol), each device must have a unique IP address that is distinct from other devices. A communication method between devices connected to a network includes a local area network method and an ATM (Asynchronus Transfer Mode) method, and a LAN method is most widely used. LAN card, which is widely used in the LAN method, is a combination of LAN, which means a local area network, and a card, which means a device used by being inserted into an expansion slot of a PC, such as a video card or a modem. LAN cards are variously referred to as network cards, Ethernet cards, Ethernet adapters, NICs (Network Interface Cards), etc., and are generally referred to as LAN cards in the present invention. Ethernet is the most widely used LAN. Terminal devices 110 or servers 130 connected to the LAN is generally equipped with a LAN card specifically designed for local area network transmission technology such as Ethernet or token ring (token ring).

네트워크에 연결된 장치들끼리 통신을 하는 방법에는 유니캐스트(Unicast)와 멀티캐스트(Multicast) 그리고 브로드캐스트(Broadcast) 이렇게 3가지 방식이 알려져 있다. 유니캐스트는 특정 1개의 장치로 데이터를 보내는 방식이고, 멀티캐스트는 한 번에 특정된 다수에게 데이터를 보내는 방식이고, 브로드캐스트는 로컬영역 내에 있는 모든 장치들에게 데이터를 보내는 방식을 말한다.There are three known methods for communicating between devices connected to a network: unicast, multicast, and broadcast. Unicast is a method of sending data to a specific device, multicast is a method of sending data to a specified number at a time, and broadcast is a method of sending data to all devices in a local area.

이 중 특수한 경우를 제외하고 대부분은 유니캐스트 방식으로 데이터를 송수신한다. 유니캐스트 통신에 사용되는 IP패킷의 구성이 도 2에 도시되어 있다. 도시된 바와 같이 유니캐스트 통신방식을 이용하는 경우, 서버(130)와 단말장치(110)가 주고받는 IP패킷(150)은 IP헤더(151), UDP/TCP헤더(156) 및 데이터영역(160)들로 이루어져 있다. IP헤더(151)에는 송신측 IP주소(152), 수신측 IP주소(153), 프로토콜 타입(154) 등의 정보가 실리고, UDP/TCP헤더(156)에는 송신측 포트번호(157), 수신측 포트번호(158) 등이 실리고, 데이터영역(160)에는 유저데이터(161)가 실린다.Except for special cases, most of them transmit and receive data in a unicast manner. The configuration of an IP packet used for unicast communication is shown in FIG. As shown in the drawing, when the unicast communication method is used, the IP packet 150 exchanged between the server 130 and the terminal device 110 is an IP header 151, a UDP / TCP header 156, and a data area 160. It consists of The IP header 151 carries information such as the sender IP address 152, the receiver IP address 153, the protocol type 154, and the like. The UDP / TCP header 156 includes the sender port number 157 and the receiver. The side port number 158 is loaded, and the user data 161 is loaded in the data area 160.

물론, 랜카드를 이용하는 경우 경우에 따라, IP헤더(151) 앞쪽에 랜카드의 고유주소를 나타내는MAC(media access control)주소에 대한 정보가 더 실리게 된 다. 즉, 랜카드를 이용해서 통신을 한다고 가정 할 때에는, 데이터를 보내고자 하는 장치에 설치된 랜카드의 MAC(media access control) 주소가 (00-60-80-AA-BB-CC)라고 가정하고, 받는 장치에 설치된 랜카드의 MAC 주소가 (00-60-80-DD-EE-FF)라고 가정했을 경우, 일단 두 장치 간의 통신을 위해서는 전송되는 프레임 안에 항상 출발지와 목적지의 주소, 즉 MAC(Media Access Control) 주소가 IP패킷 앞에 더 들어 있어야 한다. 따라서 이 경우에는 IP패킷(150) 앞의 이더넷 헤더의 출발지는 00-60-80-AA-BB-CC로, 그리고 목적지는 00-60-80-DD-EE-FF 라고 써넣는다. 이런 방식이 바로 유니캐스트 통신 방식이다. 즉 정확하게 받는 장치의 주소를 프레임 안에 써넣는 데 이때 받는 쪽 장치의 주소가 하나이다.Of course, in the case of using a LAN card, information about a MAC (media access control) address indicating the unique address of the LAN card is further loaded on the front of the IP header 151. That is, when assuming communication using a LAN card, it is assumed that the media access control (MAC) address of the LAN card installed in the device to send data is (00-60-80-AA-BB-CC). Assuming that the MAC address of the LAN card installed in the network is (00-60-80-DD-EE-FF), the address of the source and destination, i.e., Media Access Control (MAC), is always in the transmitted frame for communication between two devices. The address must be included before the IP packet. In this case, therefore, the source of the Ethernet header before the IP packet 150 is written as 00-60-80-AA-BB-CC and the destination is 00-60-80-DD-EE-FF. This is the unicast communication method. In other words, the address of the receiving device is accurately written in the frame, and the receiving device has only one address.

이런 방식으로 어떤 PC가 유니캐스트 패킷을 뿌리게 되면 로컬 네트워크상에 있는 모든 PC들은 일단 이 프레임을 받아들여서 랜카드에서 자신의 MAC 주소와 비교하게 된다.In this way, once a PC sprinkles a unicast packet, all PCs on the local network will accept this frame and compare it with their MAC address on the LAN card.

그 다음 자신의 랜카드 MAC 주소와 목적지 MAC 주소가 서로 다른 경우는 바로 그 프레임을 버리게 된다. 이렇게 되면 그 PC의 CPU까지는 영향을 주지 않기 때문에 PC의 성능이 저하되는 일은 발생하지 않는다.If the LAN card MAC address is different from the destination MAC address, then the frame is discarded. This does not affect the CPU of the PC, so that the performance of the PC does not decrease.

이때 만약 목적지 주소를 자신의 MAC 주소와 비교해서 같은 경우 CPU 쪽으로 데이터를 보내고, 그럼 그 다음부터는 CPU가 데이터를 처리한다.If the destination address is compared with its MAC address, the data is sent to the CPU, and then the CPU processes the data.

여기서, MAC 주소는 랜카드 등 통신카드의 고유주소로서, IP주소를 이용해 상대방 장치의 MAC 주소를 알아낼 수 있다. 이러한 MAC주소와 IP주소는 그 장치 또는 그 장치에 설치된 통신카드를 식별하기 위한 주소이므로 본 발명에서 장치 주 소라고 칭할 때에는 둘 중 어느 하나 또는 둘 모두를 포함하는 개념이다.Here, the MAC address is a unique address of the communication card such as a LAN card, and can determine the MAC address of the counterpart device using the IP address. Since the MAC address and the IP address are addresses for identifying the device or the communication card installed in the device, the term "device address" in the present invention includes either one or both of them.

동일한 물리적 연결을 가진 로컬 네트워크라도 기존의 대부분의 인터넷 서비스는 반드시 유니캐스트 패킷(packet)의 전송이 가능한 IP주소들로 설정이 되어 있어야 하므로, 예를 들어 단말장치에는 공인 IP주소가 설정되어 있고 서버에는 사설 IP주소로 설정되어 있는 경우 또는 그 반대의 경우에 그 단말장치와 서버 간의 인터넷통신은 불가하다. 그리고 같은 물리적 로컬 네트워크 환경 안에서 양측이 사설 IP주소인 경우에도 서로 다른 서브넷 등으로 구성되어 있어 논리적으로 네트워크가 나뉘어져 있는 경우(예:10.0.0.5와 172.0.0.5 등)에도 그 단말장치와 서버 간의 통신은 불가능하다.Even if the local network has the same physical connection, most existing Internet services must be set to IP addresses capable of transmitting unicast packets. For example, a terminal device has a public IP address and a server. In the case of a private IP address or vice versa, Internet communication between the terminal and the server is not possible. In addition, even when both sides are private IP addresses in the same physical local network environment, they are composed of different subnets, so that communication between the terminal device and the server is possible even when the networks are logically divided (eg: 10.0.0.5 and 172.0.0.5, etc.). Is impossible.

본 발명의 목적은 동일한 물리적 로컬 네트워크 환경에서 서로 다른 논리적 네트워크 IP주소로 설정되어 있어 유니캐스트 통신이 되지 않는 서버장치와 단말장치 사이에서도 통신을 할 수 있도록 해주는 방법을 제공하는 데 있다.SUMMARY OF THE INVENTION An object of the present invention is to provide a method for communicating between a server device and a terminal device that are not unicast communication because they are set to different logical network IP addresses in the same physical local network environment.

본 발명의 다른 목적은 본 발명의 방법을 구현하기 위한 시스템을 제공하는 데 있다.Another object of the present invention is to provide a system for implementing the method of the present invention.

본 발명은 발명의 방법과 장치의 구현에 필요한 패킷변환기가 기록된 기록매체를 제공하는 데 있다.The present invention provides a recording medium on which a packet converter necessary for implementing the method and apparatus of the present invention is recorded.

본 발명에 따른 통신방법은 같은 물리적 로컬 네트워크에 있고 IP주소를 통해 논리적으로 구분된 서로 다른 논리적 네트워크에 존재하는 장치들 간의 통신방법에 있어서, 상기 로컬 네트워크상의 제 1장치로 입력되는 신호에 따라 제 1유니캐스트 패킷을 생성하는 단계, 상기 생성된 제 1유니캐스트 패킷을 상기 제 1장치 자신의 제 1주소정보와 목적지의 제 2주소정보를 포함하는 제 1브로드캐스트 패킷으로 변환하는 제 1변환단계, 상기 제 1브로드캐스트 패킷을 상기 로컬 네트워크에 존재하는 다른 장치들로 송신하는 단계, 상기 로컬 네트워크상의 제 2장치에서 브로드캐스트 패킷을 수신하는 단계, 상기 수신된 브로드캐스트 패킷의 제 2주소정보와 상기 제 2장치 자신의 주소정보를 비교하는 단계, 상기 비교한 두 주소정보가 일치하지 않는 경우 상기 수신한 브로드캐스트 패킷을 버리고, 상기 비교한 두 주소정보가 일치하는 경우 상기 브로드캐스트 패킷을 제 2유니캐스트 패킷으로 변환하는 제 2변환단계, 상기 제 2유니캐스트 패킷의 정보를 참고하여 제 3유니캐스트 패킷을 생성하는 단계, 상기 생성된 제 3유니캐스트 패킷을 상기 제 1주소정보와 제 2주소정보가 포함된 제 2브로드캐스트 패킷으로 변환하는 제 3변환단계, 상기 변환된 제 2브로드캐스트 패킷을 상기 로컬 네트워크의 다른 장치들로 송신하는 단계, 상기 제 1장치에서 브로드캐스트 패킷을 수신하는 단계, 상기 제 1장치에 수신된 브로드캐스트 패킷에 포함되어 있는 상기 제 1주소정보와 상기 제 1장치 자신의 주소정보를 비교하는 단계, 상기 제 1주소정보와 상기 제 1장치 자신의 주소정보가 일치하지 않는 경우 상기 제 2브로드캐스트 패킷을 버리고, 일치하는The communication method according to the present invention is a communication method between devices in the same physical local network and located in different logical networks logically separated by an IP address, the communication method being based on a signal input to the first device on the local network. Generating a first unicast packet; converting the generated first unicast packet into a first broadcast packet including first address information of the first device and second address information of a destination; Transmitting the first broadcast packet to other devices residing in the local network, receiving a broadcast packet at a second device on the local network, and receiving second address information of the received broadcast packet. Comparing the address information of the second device itself, and if the two addresses do not match, A second conversion step of discarding the received broadcast packet and converting the broadcast packet into a second unicast packet if the two compared address information match each other; referring to the information of the second unicast packet, Generating a cast packet, converting the generated third unicast packet into a second broadcast packet including the first address information and the second address information, and converting the converted second broadcast packet Transmitting a second packet to other devices in the local network, receiving a broadcast packet at the first device, the first address information included in the broadcast packet received at the first device, and the first device. Comparing own address information and the second broadcast when the first address information and the first device's own address information do not match Discard the packet and match

경우 상기 제 2브로드캐스트 패킷을 제 4유니캐스트 패킷으로 변환하는 제 4변환단계 및 상기 제 4유니캐스트 패킷을 처리하는 단계를 포함하는 구성을 가진다.And a fourth conversion step of converting the second broadcast packet into a fourth unicast packet and processing the fourth unicast packet.

상기 제 1유니캐스트 패킷 생성단계는 상기 제 1장치에 설치된 제 1프로그램에 의해 이루어지고, 상기 제 2유니캐스트 패킷을 참조하여 제 3유니캐스트 패킷을 생성하는 단계는 상기 제 2장치에 설치된 제 2프로그램에 의해 이루어지고,The step of generating the first unicast packet is performed by a first program installed in the first device, and the step of generating a third unicast packet with reference to the second unicast packet is a second device installed in the second device. Made by the program,

상기 제 1변환단계와 제 4변환단계는 상기 제 1장치에 설치된 제 1패킷변환기에 의해 이루어지고, 상기 제 2변환단계와 제 3변환단계는 상기 제 2장치에 설치된 제 2패킷변환기에 의해 이루어진다.The first converting step and the fourth converting step are performed by a first packet converter installed in the first device, and the second converting step and the third converting step are performed by a second packet converter installed in the second device. .

상기 제 1변환단계에는 상기 제 1유니캐스트 패킷의 IP헤더에서 수신측 IP주소인 제 2주소를 브로드캐스트 주소로 대체하고, 그 대체와 관련된 정보는 별도의 제 1변환참고데이터로 삽입하고,In the first conversion step, in the IP header of the first unicast packet, a second address, which is a receiving side IP address, is replaced with a broadcast address, and information related to the substitution is inserted into separate first conversion reference data.

상기 제 3변환단계에는 상기 제 3유니캐스트 패킷의 수신측 IP헤더에서 수신측 IP주소인 제 1주소를 브로드캐스트 주소로 대체하고, 그 대체와 관련된 정보는 별도의 제 2변환참고데이터로 삽입하는 것이 바람직하다.In the third conversion step, in the receiving IP header of the third unicast packet, a first address, which is a receiving IP address, is replaced with a broadcast address, and information related to the replacement is inserted as separate second conversion reference data. It is preferable.

상기 제 1변환참고데이터는 상기 제 1유니캐스트 패킷의 데이터영역에 삽입되고, 상기 제 2변환참고데이터는 상기 제 3유니캐스트 패킷의 데이터영역에 삽입되어 있는 것이 좋다.The first converted reference data is inserted into the data area of the first unicast packet, and the second converted reference data is inserted into the data area of the third unicast packet.

상기 제 1변환참고데이터에는 상기 제 1유니캐스트 패킷이 가지고 있던 타 장치와의 통신에 필요한 데이터와 새로 생성된 데이터가 포함되어있고,The first conversion reference data includes data necessary for communication with other devices included in the first unicast packet and newly generated data.

상기 제 2변환참고데이터에는 상기 제 3유니캐스트 패킷이 가지고 있던 타 장치와의 통신에 필요한 데이터와 새로 생성된 데이터가 포함되어 있는 것이 바람직하다.Preferably, the second conversion reference data includes data necessary for communication with another device included in the third unicast packet and newly generated data.

상기 제 1패킷변환기와 제 2패킷변환기는 유니캐스트 패킷에서 브로드캐스트 패킷 형식으로 변환된 상대방의 패킷을 수신하는 브로드캐스트 수신모듈, 상기 제 1프로그램 또는 제 2프로그램에서 생성된 유니캐스트 패킷을 수신하는 유니캐스트 패킷 수신모듈, 브로드캐스트 패킷에서 유니캐스트 패킷으로 변환된 패킷을 상기 제 1프로그램 또는 제 2프로그램으로 전달하는 유니캐스트 패킷 송신모듈, 유니캐스트 패킷에서 브로드캐스트 패킷으로 변환된 패킷을 상기 로컬 네트워크의 다른 장치들로 송신하는 브로드캐스트 패킷 송신모듈, 수신된 패킷의 오류를 검사하는 패킷검사모듈, 수신된 패킷의 오류 검사 후 이상이 없으면 송신할 패킷 형태로 변환하고 이상이 있으면 자체 오류 정정 또는 재전송 요구 패킷을 작성하는 패킷재조합모듈 및 패킷의 목적지와 사용자 세션을 관리하는 연결관리모듈을 구비하는 구성을 가진다.The first packet converter and the second packet converter are configured to receive a broadcast receiving module for receiving a packet of a counterpart converted from a unicast packet into a broadcast packet format, and receiving a unicast packet generated by the first program or the second program. Unicast packet receiving module, Unicast packet transmitting module for transmitting a packet converted from a broadcast packet to a unicast packet to the first program or a second program, the packet converted to a broadcast packet from a unicast packet to the local network Broadcast packet transmission module for transmitting to other devices in the network, packet inspection module for checking errors in received packets, if no error after error checking of received packets Packet recombination module to create the request packet and It has a configuration having a connection management module for managing the destination and the user session.

본 발명에 따른 통신시스템은 같은 물리적 로컬 네트워크에 있고 IP주소를 통해 논리적으로 구분된 서로 다른 논리적 네트워크에 존재하는 장치들 간의 통신시스템에 있어서, 상기 로컬 네트워크상에 설치되고 입력되는 신호에 따라 제 1유니캐스트 패킷을 생성하고, 상기 로컬 네트워크상의 다른 장치들로부터 수신되는 제 4유니캐스트 패킷을 처리하는 제 1프로그램과 상기 생성된 제 1유니캐스트 패킷을 제 1장치 자신의 제 1주소정보와 목적지의 제 2주소정보를 포함하는 제 1브로드캐스트 패킷으로 변환하고, 상기 제 1브로드캐스트 패킷을 상기 로컬 네트워크에 존재하는 다른 장치들로 송신하고, 상기 로컬 네트워크상의 제 2장치로부터 제 2브로드캐스트 패킷을 수신하고, 상기 수신된 제 2브로드캐스트 패킷에 포함되어 있는 상기 제 1주소정보와 상기 제 1장치 자신의 주소정보를 비교하고, 상기 제 1주소정보와 상기 제 1장치 자신의 주소정보가 일치하지 않는 경우 상기 제 2브로드캐스트 패킷을 버리고, 일치하는 경우 상기 제 2브로드캐스트 패킷을 제 4유니캐스트 패킷으로 변환하는 제 1패킷변환기가 설치된 제 1장치 및 상기 로컬 네트워크상에 설치되어 브로드캐스트 패킷을 수신하고, 상기 수신된 브로드캐스트 패킷의 제 2주소정보와 상기 제 2장치 자신의 주소정보를 비교하고, 상기 비교한 두 주소정보가 일치하지 않는 경우 상기 수신한 브로드캐스트 패킷을 버리고, 상기 비교한 두 주소정보가 일치하는 경우 상기 브로드캐스트 패킷을 제 2유니캐스트 패킷으로 변환하고 생성된 제 3유니캐스트 패킷을 상기 제 1주소정보와 제 2주소정보가 포함된 제 2브로드캐스트 패킷으로 변환하고, 상기 변환된 제 2브로드캐스트 패킷을 상기 로컬 네트워크의 다른 장치들로 송신하는 제 2패킷변환기와 상기 제 2유니캐스트 패킷의 정보를 참고하여 제 3유니캐스트 패킷을 생성하는 제 2프로그램이 설치된 제 2장치를 포함하는 구성을 가진다.The communication system according to the present invention is a communication system between devices in the same physical local network and in different logical networks logically separated by an IP address, the first system according to a signal installed and input on the local network. A first program for generating a unicast packet and processing a fourth unicast packet received from other devices on the local network, and the generated first unicast packet is stored in the first address information of the first device and the destination. Converts the first broadcast packet including the second address information, sends the first broadcast packet to other devices in the local network, and sends the second broadcast packet from the second device on the local network. And the first address information included in the received second broadcast packet. Compare the address information of the first device itself, and if the first address information and the address information of the first device itself do not match, discard the second broadcast packet, and if it matches, discard the second broadcast packet. A first device installed with a first packet converter for converting into a fourth unicast packet and installed on the local network to receive broadcast packets, and receive second address information of the received broadcast packet and the second device itself Compare the address information, and discard the received broadcast packet if the two compared address information does not match, and convert and generate the broadcast packet into a second unicast packet if the compared two address information match. Converting the third unicast packet into a second broadcast packet including the first address information and the second address information, and A second device having a second packet converter for transmitting the converted second broadcast packet to other devices in the local network and a second program for generating a third unicast packet by referring to information of the second unicast packet It has a configuration that includes.

상기 제 1패킷변환기는 상기 제 1유니캐스트 패킷의 IP헤더에서 수신측 IP주소인 제 2주소를 브로드캐스트 주소로 대체하고, 그 대체와 관련된 정보는 별도의 제 1변환참고데이터로 삽입하고, 상기 제 2패킷변환기는 상기 제 3유니캐스트 패킷의 수신측 IP주소인 제 1주소를 브로드캐스트 주소로 대체하고, 그 대체와 관련된 정보는 별도의 제 2변환참고데이터로 삽입하는 것이 좋다.The first packet converter replaces a second address, which is a receiving side IP address, with a broadcast address in the IP header of the first unicast packet, and inserts information related to the substitution into separate first conversion reference data. The second packet converter replaces the first address, which is a receiving side IP address of the third unicast packet, with a broadcast address, and inserts information related to the replacement as separate second conversion reference data.

상기 제 1변환참고데이터는 상기 제 1유니캐스트 패킷의 데이터영역에 삽입되고, 상기 제 2변환참고데이터는 상기 제 3유니캐스트 패킷의 데이터영역에 삽입되어 있는 것이 좋다.The first converted reference data is inserted into the data area of the first unicast packet, and the second converted reference data is inserted into the data area of the third unicast packet.

상기 제 1변환참고데이터에는 상기 제 1유니캐스트 패킷이 가지고 있던 타 장치와의 통신에 필요한 데이터와 새로 생성된 부가 데이터가 포함되어 있고,The first conversion reference data includes data necessary for communication with other devices included in the first unicast packet and newly created additional data.

상기 제 2변환참고데이터에는 상기 제 3유니캐스트 패킷이 가지고 있던 타 장치와의 통신에 필요한 데이터와 새로 생성된 부가 데이터가 포함되어 있는 것이 바람직하다.Preferably, the second conversion reference data includes data necessary for communication with another device included in the third unicast packet and newly generated additional data.

상기 제 1패킷변환기와 제 2패킷변환기는 유니캐스트 패킷에서 브로드캐스트 패킷 형식으로 변환된 상대방의 패킷을 수신하는 브로드캐스트 수신모듈, 상기 제 1프로그램 또는 제 2프로그램에서 생성된 유니캐스트 패킷을 수신하는 유니캐스트 패킷 수신모듈, 브로드캐스트 패킷에서 유니캐스트 패킷으로 변환된 패킷을 상기 제 1프로그램 또는 제 2프로그램으로 전달하는 유니캐스트 패킷 송신모듈, 유니캐스트 패킷에서 브로드캐스트 패킷으로 변환된 패킷을 상기 로컬 네트워크의 다른 장치들로 송신하는 브로드캐스트 패킷 송신모듈, 수신된 패킷의 오류를 검사하는 패킷검사모듈, 수신된 패킷의 오류 검사 후 이상이 없으면 송신할 패킷 형태로 변환하고 이상이 있으면 자체 오류 정정 또는 재전송 요구 패킷을 작성하는 패킷재조합모듈 및 패킷의 목적지와 사용자 세션을 관리하는 연결관리모듈을 구비하는 구성을 가진다.The first packet converter and the second packet converter are configured to receive a broadcast receiving module for receiving a packet of a counterpart converted from a unicast packet into a broadcast packet format, and receiving a unicast packet generated by the first program or the second program. Unicast packet receiving module, Unicast packet transmitting module for transmitting a packet converted from a broadcast packet to a unicast packet to the first program or a second program, the packet converted to a broadcast packet from a unicast packet to the local network Broadcast packet transmission module for transmitting to other devices in the network, packet inspection module for checking errors in received packets, if no error after error checking of received packets Packet recombination module to create the request packet and It has a configuration having a connection management module for managing the destination and the user session.

본 발명에 따른 저장매체는 유니캐스트 패킷에서 브로드캐스트 패킷 형식으로 변환된 상대방의 패킷을 수신하는 브로드캐스트 수신모듈, 로컬 네트워크 상의 제 1장치에 설치된 제 1프로그램 또는 제 2장치에 설치된 제 2프로그램에서 생성된 유니캐스트 패킷을 수신하는 유니캐스트 패킷 수신모듈, 브로드캐스트 패킷에서 유 니캐스트 패킷으로 변환된 패킷을 상기 제 1프로그램 또는 제 2프로그램으로 전달하는 유니캐스트 패킷 송신모듈, 유니캐스트 패킷에서 브로드캐스트 패킷으로 변환된 패킷을 상기 로컬 네트워크의 다른 장치들로 송신하는브로드캐스트 패킷 송신모듈, 수신된 패킷의 오류를 검사하는 패킷검사모듈, 수신된 패킷의 오류 검사 후 이상이 없으면 송신할 패킷 형태로 변환하고 이상이 있으면 자체 오류 정정 또는 재전송 요구 패킷을 작성하는 패킷재조합모듈 및 패킷의 목적지와 사용자 세션을 관리하는 연결관리모듈을 구비하는 패킷변환기가 기록된 구성을 가진다.The storage medium according to the present invention includes a broadcast receiving module for receiving a packet of a counterpart converted from a unicast packet into a broadcast packet format, a first program installed in a first device on a local network, or a second program installed in a second device. Unicast packet receiving module for receiving the generated unicast packet, Unicast packet transmitting module for transmitting the packet converted from unicast packet to unicast packet to the first program or the second program, Broadcasting in unicast packet Broadcast packet transmission module for transmitting the packet converted into a packet to other devices of the local network, packet inspection module for checking an error of a received packet, and converting it into a packet form for transmission if there is no error after error checking of the received packet. Error and self-correction or retransmission request packet Creating a configuration having a recording packet converter comprising a recombinant packet module and connection management module that manages the destination and the user session of the packet.

본 발명에서 장치라 함은 일반 피씨뿐만 아니라 사무기기나 가전제품, 각종 산업에 사용되는 기계, 기구나 장비 등의 임베디드 장비를 포함하는 개념이다.In the present invention, the term "device" is a concept that includes not only general PCs, but also embedded devices such as machines, appliances, and equipment used in office equipment, home appliances, and various industries.

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

도 3은 본 발명에 따른 인터넷 통신방식을 설명하기 위한 통신시스템의 블록도이고, 도 4a~4f는 IP패킷의 변환과정을 순서대로 나타낸 패킷의 구성도의 예시이다.3 is a block diagram of a communication system for explaining the Internet communication method according to the present invention, Figures 4a to 4f is an example of a configuration diagram of a packet showing the conversion process of the IP packet in order.

도시된 바와 같이 본 발명에 따른 통신시스템(200)의 제 1장치에 해당하는 단말장치(210)에는 단말프로그램(212)과 제 1패킷변환기(222)가 설치되어있고, 제 2장치에 해당하는 서버(230)에는 서버프로그램(332)과 제 2패킷변환기(242)가 각각 설치되어 있다.As shown, the terminal device 210 corresponding to the first device of the communication system 200 according to the present invention is provided with a terminal program 212 and a first packet converter 222, corresponding to the second device. The server 230 is provided with a server program 332 and a second packet converter 242, respectively.

상기와 같은 통신시스템에서의 개략적인 통신과정을 간략히 설명하면, 먼저 단말프로그램(212)은 사용자의 입력에 의해 도 4a에 나타낸 바와 같은 형식의 제 1 유니캐스트 패킷(250a)을 생성하여 제 1패킷변환기(222)로 보내고, 제 1패킷변환기(222)는 단말프로그램(212)으로부터 전달받은 제 1유니캐스트 패킷(250a)을 도 4b에 나타낸 바와 같은 형식의 제 1브로드캐스트 패킷(250b)으로 변환한 후 로컬 네트워크에 있는 다른 장치들로 송신한다. 즉, IP헤더(251)의 수신측 IP주소(253)에 브로드캐스트 주소인 "255.255.255.255"를 삽입하고, 데이터영역(260)에 패킷변환에 필요한 변환참고데이터(262)를 삽입한다. 예를 들면, 제 1유니캐스트 패킷(250a)의목적지로 미리 설정되어 있는 서버(230)의 네트워크 카드의 MAC주소(262b)와 자신이 설치된 단말장치(210)의 네트워크 카드의 MAC주소(262a) 등이 변환참고데이터로 삽입된다. 로컬 네트워크에서 상대방의 MAC주소는 미리 알 수 있으므로, 유니캐스트 패킷의 유저데이터 영역에 MAC 주소를 포함하지 않고 상대방 장치들의 MAC주소들이 테이블 형태로 미리 제 1패킷변환기(222)제공될 수 있음은 물론이다.Briefly describing the communication process in the above communication system, first, the terminal program 212 generates a first unicast packet 250a having a format as shown in FIG. 4A by a user's input to generate a first packet. The first packet converter 222 converts the first unicast packet 250a received from the terminal program 212 into a first broadcast packet 250b having a format as shown in FIG. 4B. Then send it to other devices on the local network. That is, the broadcast address "255.255.255.255" is inserted into the receiving IP address 253 of the IP header 251, and the conversion reference data 262 necessary for packet conversion is inserted into the data area 260. For example, the MAC address 262b of the network card of the server 230 set in advance as the destination of the first unicast packet 250a and the MAC address 262a of the network card of the terminal device 210 in which the terminal device 210 is installed. Etc. are inserted as conversion reference data. Since the MAC address of the counterpart in the local network can be known in advance, the MAC addresses of the counterpart devices may be provided in advance in a table form without including the MAC address in the user data area of the unicast packet. to be.

도 4a의 패킷(250a)은 단말장치의 내부 통신이므로 송신측 IP주소(252)와 수신측 IP주소(253)는 같다. 이 경우, 도 4a 패킷(250a)의 연결주소는 제 1패킷변환기(222)에 미리 지정되어 있어야 한다. 이 경우에도 제 1유니캐스트 패킷(250a)은 접속하고자하는 주소정보를 포함하고 있는 것으로 볼 수 있다.Since the packet 250a of FIG. 4A is internal communication of the terminal device, the transmitting IP address 252 and the receiving IP address 253 are the same. In this case, the connection address of the packet 250a of FIG. 4A must be previously assigned to the first packet converter 222. Even in this case, the first unicast packet 250a may be regarded as including address information to be accessed.

경우에 따라 접속하고자하는 상대방 장치의 IP주소정보를 직접적으로 가지고 있을 수 있다. In some cases, it may directly have IP address information of a counterpart device to be accessed.

즉, 단말프로그램(212)에서 발생되는 제 1유니캐스트 패킷(250a)의 목적지 정보를 제 1패킷변환기(222)에서 미리 설정해두거나 제 1유니캐스트 패킷(250a)에 미리 목적지 주소정보가 포함되어 있도록 할 수 있다. 이는 로컬 네트워크를 구성 하는 네트워크 설계자가 필요에 따라 원하는 형태로 구성할 수 있다.That is, the destination information of the first unicast packet 250a generated by the terminal program 212 is set in advance by the first packet converter 222 or the destination address information is included in the first unicast packet 250a in advance. can do. This can be configured as desired by the network designer configuring the local network.

그러면 로컬 네트워크에 있는 다른 장치들, 즉, 다른 장치들 중 하나인 제 2장치에 해당하는 서버(230)는 제 1브로드캐스트 패킷(250b)을 수신하여 제 2패킷변환기(242)로 보낸다.Then, the server 230 corresponding to other devices in the local network, that is, the second device, which is one of the other devices, receives the first broadcast packet 250b and sends it to the second packet converter 242.

그러면, 제 2패킷변환기(242)는 도 4b에 나타낸 바와 같은 형식의 제 1브로드캐스트 패킷(250b)에서 변환참고데이터(262)를 조사하여 변환참고데이터(262)에 있는 수신측 주소와 자신의 주소와 비교하여 동일하면 제 1브로드캐스트 패킷(250b)을 도 4c에 나타낸 바와 같은 형식의 제 2유니캐스트 패킷(250c)으로 변환한다.Then, the second packet converter 242 examines the conversion reference data 262 in the first broadcast packet 250b having a format as shown in FIG. If compared with the address, the first broadcast packet 250b is converted into a second unicast packet 250c having a format as shown in FIG. 4C.

비교결과 두 주소가 다르면 제 1브로드캐스트 패킷(250b)은 이를 버린다. 또, 변환참고데이터(262)가 없는 경우에는 일반적인 브로드캐스트 신호에서와 같이 처리하거나, 처음부터 패킷변환기들을 거치지 않도록 한다.If the two addresses are different as a result of the comparison, the first broadcast packet 250b discards it. If there is no conversion reference data 262, processing is performed as in a general broadcast signal, or the packet converters are not passed through from the beginning.

제 2유니캐스트 패킷(250c)은 서버프로그램(232)으로 전달되어 일반적인 유니캐스트 통신에서와 같이 처리된다. 서버프로그램(232)은 제 2유니캐스트 패킷(250c)을 참조하여 대응되는 도 4d에 나타낸 바와 같은 형식의 제 3유니캐스트 패킷(250d)을 생성하고 이를 제 2패킷변환기(242)로 보낸다.The second unicast packet 250c is delivered to the server program 232 and processed as in normal unicast communication. The server program 232 generates a third unicast packet 250d having a format as shown in FIG. 4D with reference to the second unicast packet 250c and sends it to the second packet converter 242.

제 2패킷변환기(242)는제 3유니캐스트 패킷(250d)을 제 4e에 나타낸 바와 같은 형식의 제 2멀티캐스트 패킷(250e)으로 변환하여 로컬 네트워크상의 다른 장치들로 송신한다.The second packet converter 242 converts the third unicast packet 250d into a second multicast packet 250e in a format as shown in 4e and transmits it to other devices on the local network.

서버(230)를 제외한 다른 장치들은, 그리고 그 안에 속하는 제 1장치에 해당 하는 단말장치(210)는 제 2브로드캐스트 패킷(250e)을 수신하여 제 1패킷변환기(222)로 보내고, 제 1패킷변환기(222)는 수신한 제 2브로드캐스트 패킷(250e)을 제 4유니캐스트 패킷(250f)으로 변환하여 단말프로그램(212)에 전달하고, 단말프로그램(212)은 일반적인 처리방식에 따라 제 4유니캐스트 패킷(250f)을 처리한다.Other devices except the server 230, and the terminal device 210 corresponding to the first device belonging to it receives the second broadcast packet 250e and sends it to the first packet converter 222, the first packet The converter 222 converts the received second broadcast packet 250e into a fourth unicast packet 250f and delivers it to the terminal program 212. The terminal program 212 transmits the fourth UNI packet according to a general processing method. Process the cast packet 250f.

물론, 상기의 시스템에서 같은 논리 네트워크에서 송수신하는 일반적인 브로드캐스트 패킷들과 유니캐스트 패킷들은 상대방의 IP주소가 서로 다른 네트워크의 IP주소를 가졌는가의 여부, 변환참고데이터를 가졌는가의 여부 등에 따라 동일 논리적 네트워크에서 송수신되는 일반적인 패킷을 가려내고, 이들은 종래의 패킷 처리방식으로 처리하거나, 아니면 패킷변환기를 거치지 않도록 구성될 수 있다.Of course, in the above system, general broadcast packets and unicast packets transmitted and received in the same logical network have the same logical network depending on whether the other party's IP address has a different IP address or whether there is translation reference data. Screening out the normal packets transmitted and received at, they may be configured not to process the conventional packet processing method or to go through a packet converter.

상기와 같은 과정을 거치는 경우 로컬 네트워크에서 서로 다른 논리적 네트워크로 설정된 장치들 간에도 인터넷 통신이 가능해진다. In the above process, internet communication between devices configured as different logical networks in the local network becomes possible.

본 발명에 따른 패킷변환과정은, 각 프로그램들(212, 232)에서 생성된 유니캐스트 패킷(250a, 250d)에서 도 4b와 도 4e에 나타낸 바와 같이 수신측 IP주소(253)와 관련된 정보를 데이터영역(260)의 변환참고데이터(262)로 옮기고, IP헤더(251)의 수신측 IP주소(253)에 브로드캐스트 주소인 "255.255.255.255"를 삽입하는 과정을 거친다. 그리고 TCP 헤더(256a)는 UDP헤더(256b)로 변환한다. 변환참고데이터(262)에는 수신측 IP주소 또는 MAC주소, 포트번호, 패킷길이, 데이터손실검사를 위한 체크섬(checksum), 상태플래그, 분할 등에 대한 정보가 더 기록될 수 있다.In the packet conversion process according to the present invention, the unicast packets 250a and 250d generated by the respective programs 212 and 232 transmit information related to the receiving side IP address 253 as shown in FIGS. 4B and 4E. It moves to the conversion reference data 262 of the area 260, and inserts the broadcast address "255.255.255.255" into the receiving IP address 253 of the IP header 251. The TCP header 256a is converted into a UDP header 256b. The conversion reference data 262 may further record information on a receiving side IP address or MAC address, a port number, a packet length, a checksum for checking a data loss, a status flag, and a segmentation.

도 4b와 도 4e에 나타낸 바와 같은 형식으로 변환된 브로드캐스트 패킷 (250b, 250e)은 다시 수신측 장치에서 변환참고데이터(262)가 참조되어 도 4c와 도 4f에 나타낸 바와 유니캐스트 패킷(250c, 250f)으로 변환된다. 즉, 브로드캐스트 주소 "255.255.255.255"가 수신측 IP주소에서 삭제되고, 변환참고데이터에 실려 있던 수신측 장치의 IP주소(253)는 패킷변환기(222, 242) 등에 대기하거나 버려진다. 그리고 UDP헤더(256b)도 TCP헤더(256a)로 바뀐다.The broadcast packets 250b and 250e converted to the formats shown in Figs. 4B and 4E are referred to the conversion reference data 262 at the receiving apparatus again, and the unicast packets 250c, as shown in Figs. 4C and 4F. 250f). That is, the broadcast address " 255.255.255.255 " is deleted from the receiving side IP address, and the IP address 253 of the receiving side apparatus contained in the conversion reference data is waited or discarded in the packet converters 222 and 242 and the like. The UDP header 256b is also changed to the TCP header 256a.

제 3유니캐스트 패킷(250d)은 제 2유니캐스트 패킷(250c)을 참조하여 작성되며 이는 종래의 유니캐스트 통신방식에서와 동일하므로 자세한 설명은 생략한다. 제 3유니캐스트 패킷(250d)이 제 2브로드캐스트 패킷(250e)으로 변환되는 과정은 제 1유니캐스트 패킷(250a)이 제 1브로드캐스트 패킷(250b)으로 변환되는 과정과 대동소이하다.The third unicast packet 250d is created with reference to the second unicast packet 250c, which is the same as in the conventional unicast communication method, and thus a detailed description thereof will be omitted. The process of converting the third unicast packet 250d to the second broadcast packet 250e is similar to the process of converting the first unicast packet 250a to the first broadcast packet 250b.

즉, 도 3 통신시스템에서 단말장치(210)와 서버(230) 간의 유니캐스트 패킷 전송이 불가한 IP주소설정이 되어 있는 경우에도 본 발명을 이용하는 경우 통신이 가능하다.That is, even when the IP address is set in which the unicast packet transmission between the terminal device 210 and the server 230 is not possible in FIG. 3, the communication can be performed.

유니캐스트 패킷을 브로드캐스트 패킷으로 변환하여 사용하기 위해서는 원래의 유니캐스트 패킷이 가지고 있는 에러 검출 필드와 통신에 필요한 데이터가 기록된 변환참고데이터(262)가 원래의 유저 데이터(261)와 구분되어 패킷에 포함되어 브로드캐스트 패킷을 구성한다. 유니캐스트 패킷이 브로드캐스트 패킷으로 변환되므로 적절하게 IP헤더와 UDP헤더가 바뀌게 되며, TCP 형식인 경우에는 IP헤더와 더불어 TCP 헤더가 UDP 헤더 형식으로 바뀌게 된다.In order to convert a unicast packet into a broadcast packet, the error detection field of the original unicast packet and the conversion reference data 262 in which data necessary for communication are recorded are separated from the original user data 261. It is included in the broadcast packet. Since the unicast packet is converted into a broadcast packet, the IP header and the UDP header are changed accordingly. In the case of the TCP format, the TCP header along with the IP header is changed to the UDP header format.

서버(230) 접속 시 패킷변환기(222, 242)를 이용한 패킷은 예를 들면, 단말 장치(210)의 IP주소는 "10.0.2.2", MAC주소는 "00:30:0D:11:11:11", 서버(230)의 IP주소는 "192.168.10.20", MAC주소는 "00:30:0D:22:22:22", 서버(230)의 서버프로그램(232)의TCP 송/수신포트는 80, 단말장치(210)의 단말프로그램(212)인 웹브라우저 등의 송/수신포트는 5000 등과 같이 될 수 있다. 그리고 단말장치(210)의 패킷변환기(222)의 TCP 송/수신포트는 8622, 패킷변환기(222)의 UDP 송/수신포트는 5001, 서버(230)의 패킷변환기(242)의 UDP 송/수신포트는 8621, 서버(230)의 패킷변환기(242)의 TCP 송/수신포트는 5002 등과 같이 될 수 있다.For example, a packet using the packet converters 222 and 242 when the server 230 is connected may have an IP address of “10.0.2.2” and a MAC address of “00: 30: 0D: 11: 11:”. 11 ", the IP address of the server 230 is" 192.168.10.20 ", the MAC address is" 00: 30: 0D: 22: 22: 22 ", the TCP transmission / reception port of the server program 232 of the server 230 80 may be a transmission / reception port of a web browser, which is a terminal program 212 of the terminal device 210, or the like. The TCP transmit / receive port of the packet converter 222 of the terminal device 210 is 8622, the UDP transmit / receive port of the packet converter 222 is 5001, and the UDP transmit / receive of the packet converter 242 of the server 230 is used. The port may be 8621, and the TCP transmit / receive port of the packet converter 242 of the server 230 may be 5002.

도 5는 변환참고데이터의 구성을 나타낸 도면의 예시이다.5 is an example of the figure which shows the structure of the conversion reference data.

도 5에 나타낸 바와 같이 변환참고데이터(262)는 송신측 MAC주소(262a)를 구비한다. 이는 송신장치의 MAC주소로서 패킷변환기가 응답을 할 때에 수신측 MAC주소로 활용된다. 수신측 MAC주소(262b)는 수신장치의 MAC주소로서 패킷변환기가 패킷을 전송받았을 때 자신의 MAC주소와 비교하여 자신이 처리해야할지 판단하는 데 이용된다. 소켓ID(262c)는 소켓의 송수신 장치의 IP 주소와 포트 번호 등을 추출하여 세션정보를 관리하는 데 이용되며, 소켓ID(262c)를 대신하여 IP주소와 포트번호 등을 직접 기술하여 구현할 수도 있다. 플래그(262d)는 패킷의 송/수신 시 필요한 일종의 명령어 또는 상태 정보 수록하기 위한 것이고, 일련번호(262e)는 전체 패킷의 크기가 큰 경우에 패킷을 나누어 보내야 하는데 이에 따른 나누어진 패킷의 순서를 순차적으로 기술하기 위한 것이고, 길이(262e)는 데이터의 길이 정보를 수록하기 위한 것이고, 체크섬(262g)은 데이터의 무결성 확인을 위한 것이다.As shown in Fig. 5, the conversion reference data 262 includes a sending MAC address 262a. This is the MAC address of the transmitting device and is used as the receiving MAC address when the packet translator responds. The receiving MAC address 262b is a MAC address of the receiving apparatus and is used to determine whether the packet converter should process the packet when the packet converter receives the packet. The socket ID 262c is used to manage session information by extracting an IP address and a port number of a socket transceiver, and may be implemented by directly describing an IP address and a port number in place of the socket ID 262c. . The flag 262d is for storing a kind of command or status information necessary for transmitting / receiving a packet, and the serial number 262e should divide the packet when the size of the entire packet is large and accordingly, the order of the divided packets is sequentially The length 262e is for storing the length information of the data, and the checksum 262g is for checking the integrity of the data.

즉, 본 발명에 따른 통신방법에서 사용되는 브로드캐스트 패킷은 종래의 유 니캐스트 패킷의 특성과 종래의 브로드캐스트 패킷의 특성을 함께 가지고 있다.That is, the broadcast packet used in the communication method according to the present invention has both the characteristics of the conventional unicast packet and the characteristics of the conventional broadcast packet.

도 6과 도 7은 패킷변환기의 구성을 각각 나타낸 블록도이다.6 and 7 are block diagrams illustrating the configuration of a packet converter, respectively.

도 6에서 알 수 있는 바와 같이 패킷변환기(222, 242)는 브로드캐스트 패킷 수신모듈(223, 243), 유니캐스트 패킷 수신모듈(224, 244), 유니캐스트 패킷 송신모듈(225, 245), 브로드캐스트 패킷 송신모듈(226, 246), 패킷 검사모듈(227, 247), 패킷 재조합모듈(228, 248) 및 연결모듈(229, 249)로 구성되어 있다. 여기에서 브로드캐스트 패킷 수신모듈(223, 243)은 유니캐스트 패킷 형식에서 브로드캐스트 패킷 형식으로 변환된 상대방 장치의 패킷을 수신하기 위한 것이고, 유니캐스트 패킷 수신모듈(224, 244)은 단말프로그램(212) 또는 서버프로그램(232)으로부터 생성된 유니캐스트 패킷을 수신하기 위한 것이다. 또, 유니캐스트 패킷 송신모듈(225, 245)은 브로드캐스트 패킷에서 유니캐스트 패킷으로 변환된 자신의 패킷을 자신의 단말프로그램(212) 또는 서버프로그램(232)으로 송신하기 위한 것이고, 브로드캐스트 패킷 송신모듈(226, 246)은 변환된 자신의 패킷을 로컬 네트워크에 연결된 다른 장치들로 송신하기 위한 것이다.As can be seen in Figure 6, the packet converter (222, 242) is a broadcast packet receiving module (223, 243), unicast packet receiving module (224, 244), unicast packet transmitting module (225, 245), broadcast It is composed of a cast packet transmission module 226, 246, a packet inspection module 227, 247, a packet recombination module 228, 248 and a connection module 229, 249. Here, the broadcast packet receiving module (223, 243) is for receiving the packet of the counterpart device converted from the unicast packet format to the broadcast packet format, the unicast packet receiving module (224, 244) is a terminal program (212) Or a unicast packet generated from the server program 232. The unicast packet transmitting module 225, 245 is for transmitting its own packet converted from the broadcast packet into a unicast packet to its terminal program 212 or the server program 232, and transmitting the broadcast packet. Modules 226 and 246 are for sending their translated packets to other devices connected to the local network.

그리고 패킷검사모듈(227, 247)은 패킷에 포함되어 있는 체크섬 등의 정보를 이용하여 수신된 패킷들에 오류가 있는지 검사하기 위한 것이고, 패킷재조합모듈(228, 248)은 수신측 IP주소(253)와 관련된 정보를 변환참고데이터 영역에 삽입하고 수신측 IP주소(253)가 있던 곳에 브로드캐스트 주소 삽입하는 등의 패킷변환작업을 수행하거나 변환참고데이터를 참고하여 그 역과정의 패킷변환을 수행하기 위한 것이고, 연결관리모듈(229, 249)은 패킷의 목적지 관리 및 사용자 세션 (session)의 관리를 위한 것이다.The packet inspection modules 227 and 247 are used to check whether there is an error in the received packets by using information such as a checksum included in the packet, and the packet recombination modules 228 and 248 include the receiving IP address 253. Packet conversion such as inserting the information related to the data into the conversion reference data area and inserting the broadcast address where the receiving IP address 253 existed, or performing the reverse packet conversion by referring to the conversion reference data. The connection management modules 229 and 249 are for the destination management of packets and the management of user sessions.

도 7은 도 6의 브로드캐스트 패킷 수신모듈(223, 243)과 유니캐스트 패킷 수신모듈(224, 244)의 기능을 하나로 통합하여 하나의 브로드캐스트 패킷/유니캐스트 패킷 수신모듈(223a, 243a)로 구성하고, 브로드캐스트 패킷 송신모듈(225, 245)과 유니캐스트 패킷 송신모듈(226, 246)의 기능을 하나로 통합하여 하나의 브로드캐스트 패킷/유니캐스트 패킷 송신모듈(225a, 245a)로 구성한 것이다. 나머지 사항은 도 6에서와 같다.FIG. 7 combines the functions of the broadcast packet receiving module 223 and 243 and the unicast packet receiving module 224 and 244 of FIG. 6 into one broadcast packet / unicast packet receiving module 223a and 243a. In this case, the functions of the broadcast packet transmission module 225 and 245 and the unicast packet transmission module 226 and 246 are integrated into one broadcast packet / unicast packet transmission module 225a and 245a. The rest is the same as in FIG.

도 8은 연결관리모듈의 구성을 나타낸 블록도이다.8 is a block diagram showing the configuration of a connection management module.

위에서 설명한 연결관리모듈(229, 249)은 송/수신주소의 관리를 위한 송/수신주소 관리기(229a), 사용자별 패킷 버퍼의 관리를 위한 사용자별 패킷 버퍼관리기(229b), 패킷의 송/수신 상태 관리를 위한 송/수신 상태 관리기(229c) 및 상대방 장치 또는 자신이 설치된 장치 프로그램(212, 232)들과의 접속을 관리하기 위한 접속관리기(229d)를 구비하여 구성된다.The connection management modules 229 and 249 described above include a send / receive address manager 229a for management of a send / receive address, a packet buffer manager 229b per user for management of a packet buffer for each user, and a packet transmit / receive. And a connection manager 229d for managing connection with the counterpart device or device programs 212 and 232 in which the counterpart device is installed.

도 9는 패킷변환기의 전체 동작과정을 설명하기 위한 흐름도이다.9 is a flowchart illustrating the overall operation of the packet converter.

패킷변환기(222, 242)는 로컬 네트워크의 다른 장치들로부터 또는 자신이 설치된 장치의 내부 프로그램으로부터 접속이 있는지를 계속 판단하면서 대기 상태로 있다가(단계 1), 접속이 있으면 패킷을 수신한다(단계 2).The packet converters 222 and 242 are in a waiting state, continuously determining whether there is a connection from other devices on the local network or from an internal program of the device in which the device is installed (step 1), and receiving a packet if there is a connection (step 1). 2).

수신된 패킷이 브로드캐스트 패킷인지 유니캐스트 패킷인지를 판단하여(단계 3) 수신된 패킷이 브로드캐스트 패킷이면 그 패킷에 변환참고데이터(262)가 있는가를 검사한다(단계 4). 패킷에 변환참고데이터(262)가 존재하면 패킷검사를 실시한 다(단계 5). 변환참조데이터가 없으면 종래의 일반 브로드캐스트 패킷의 처리방식으로 처리한다(단계 6). 경우에 따라 유니캐스트 통신이 가능한 IP를 가진 장치에 접속하고자 할 때 발생되는 패킷은 패킷변환기를 거치치 않도록 미리 설정해둘 수 있다. 단계 5에서의 검사결과 그 패킷이 올바른 패킷인가를 판단하여(단계 7) 올바른 패킷이 아니면 NAK응답패킷을 작성하여(단계 8) 상대방 장치로 브로드캐스트패킷 재송신 요청을 하고(단계 9) 단계 1로 되돌아간다.It is determined whether the received packet is a broadcast packet or a unicast packet (step 3). If the received packet is a broadcast packet, it is checked whether there is conversion reference data 262 in the packet (step 4). If conversion reference data 262 exists in the packet, packet inspection is performed (step 5). If there is no conversion reference data, processing is performed by the conventional general broadcast packet processing method (step 6). In some cases, a packet generated when accessing a device having an IP capable of unicast communication may be configured so as not to go through a packet converter. As a result of the check in step 5, it is determined whether the packet is the correct packet (step 7). If the packet is not the correct packet, a NAK response packet is created (step 8), and a request for retransmission of the broadcast packet to the counterpart device (step 9) is performed. Go back.

한편, 검사결과 올바른 패킷이면 ACK 응답패킷을 상대방 장치로 송신하고(단계10) 연결관리모듈(229, 249), 변환참고데이터(262)를 참조하여 브로드캐스트 패킷을 유니캐스트 패킷으로 변환하고(단계 11) 변환된 유니캐스트 패킷을 단말장치 프로그램(212) 또는 서버프로그램(232)으로 전송한다(단계 12). 변환된 유니캐스트 패킷의 전송이 완료되면(단계 13) 종료하고 시작지점에서 대기한다.On the other hand, if the check result is a correct packet, and transmits an ACK response packet to the counterpart device (step 10), and converts the broadcast packet into a unicast packet by referring to the connection management module (229, 249), conversion reference data (262) 11) The converted unicast packet is transmitted to the terminal device program 212 or the server program 232 (step 12). When transmission of the converted unicast packet is completed (step 13), it ends and waits at the starting point.

한편, 단계 3에서 수신된 패킷이 유니캐스트 패킷이면 송신할 목적지 주소 또는 송신한 상대방 주소가 자신이 설치된 장치의 주소와 유니캐스트 통신이 가능한지를 판단하여(단계 14), 통신이 가능하다면 종전의 일반 유니캐스트 패킷과 같은 방식으로 처리하고(단계 15) 종료한다. 이 경우 유니캐스트 통신이 가능한 장치에 접속하고자 할 때 발생시켜야 할 패킷은 패킷변환기를 거치치 않도록 미리 정해둘 수 있다.On the other hand, if the packet received in step 3 is a unicast packet, it is determined whether the destination address to be transmitted or the other party's address is capable of unicast communication with the address of the device on which it is installed (step 14). Process in the same manner as the unicast packet (step 15) and end. In this case, a packet to be generated when attempting to access a device capable of unicast communication can be determined so as not to go through a packet converter.

송신할 목적지 주소 또는 송신한 상대방 주소가 자신이 설치된 장치의 주소와 다른 논리적 네트워크에 존재하는 경우 연결관리모듈을 참조하여 수신된 유니캐스트 패킷을 앞에서 설명한 방식으로 브로드캐스트 패킷으로 변환하고(단계 16) 변 환된 패킷을 다른 장치들로 송신한다(단계 17). 변환된 패킷의 송신이 완료되면(단계 18) 일정시간 ACK 응답을 기다렸다가 ACK 응답신호가 없으면 단계 17을 반복하고 ACK 응답신호를 수신하면(단계 19) 종료한다.If the destination address to be sent or the other party's address exists in a different logical network from that of the device in which it is installed, the received unicast packet is converted into a broadcast packet by referring to the connection management module as described above (step 16). The converted packet is transmitted to other devices (step 17). When the transmission of the converted packet is completed (step 18), the controller waits for a predetermined time for an ACK response, and if there is no ACK response signal, repeats step 17 and receives an ACK response signal (step 19).

상기와 같은 본 발명의 과정의 과정을 거치는 경우, 다른 논리적 네트워크에 존재하는 장치들과도 인터넷 통신이 가능하다.In the case of the above-described process of the present invention, Internet communication with other devices in other logical networks is possible.

도 10은 브로드캐스트 패킷/유니캐스트 패킷 수신모듈의 동작과정을 나타낸 흐름도이다.10 is a flowchart illustrating an operation of a broadcast packet / unicast packet receiving module.

브로드캐스트 패킷/유니캐스트 패킷 수신모듈(223a, 243a)은 패킷변환기(222, 242) 실행 시 브로드캐스트 패킷/유니캐스트 패킷 소켓을 생성하여(단계31) 세션을 초기화하고(단계 32) 패킷이 수신되기를 기다리다가(단계 33), 패킷을 수신한다(단계 34).The broadcast packet / unicast packet receiving module 223a, 243a generates a broadcast packet / unicast packet socket upon executing the packet converters 222, 242 (step 31) to initialize the session (step 32), and the packet is received. Waiting to be received (step 33) and receiving a packet (step 34).

도 11은 패킷검사모듈의 동작과정을 나타낸 흐름도이다.11 is a flowchart illustrating an operation process of a packet inspection module.

수신모듈(223a, 243a)에서 패킷이 수신되면, 그 패킷이 브로드캐스트 패킷인지를 판단하고, 그 패킷이 브로드캐스트 패킷이 아니면 이를 패킷 재조합모듈(228, 248)로 넘기고, 그 패킷이 브로드캐스트 패킷이면(단계 41), 세션정보를 참조하여(단계 42) 목적지 주소를 확인하고(단계 43), 패킷길이를 검사하고(단계 44), 체크섬 검사를수행하고(단계 45) 그리고 패킷 일련번호를 검사한다(단계 46). 그런 다음, 수신된 브로드캐스트 패킷이 올바른 패킷인가를 판단하여(단계 47) 올바른 패킷이 아니면 NAK응답 패킷을 작성하여(단계 48) 상대방 장치로 NAK응답 패킷을 송신한다(단계 49).When the packet is received by the receiving module 223a or 243a, it is determined whether the packet is a broadcast packet, and if the packet is not a broadcast packet, the packet is passed to the packet recombination module 228, 248, and the packet is a broadcast packet. On the other hand (step 41), refer to the session information (step 42) to confirm the destination address (step 43), check the packet length (step 44), perform a checksum check (step 45) and check the packet serial number. (Step 46). Then, it is determined whether the received broadcast packet is the correct packet (step 47), and if it is not the correct packet, a NAK response packet is created (step 48) and a NAK response packet is transmitted to the counterpart device (step 49).

올바른 패킷인 경우 패킷수신을 정상적으로 완료했는가를 판단하여 정상적으로 수신이 완료되지 않은 경우 단계 33으로 간다.If the packet is correct, it is determined whether the packet reception is normally completed, and if the reception is not completed normally, the flow goes to step 33.

정상적으로 패킷수신이 완료된 경우(단계 50) ACK응답패킷을 작성하여(단계 51) ACK응답패킷을 상대방 장치로 송신한다(단계 52).When packet reception is normally completed (step 50), an ACK response packet is created (step 51), and an ACK response packet is sent to the counterpart device (step 52).

도 12는 패킷 재조합모듈의 동작과정을 설명하기 위한 흐름도이다.12 is a flowchart illustrating an operation process of a packet recombination module.

패킷 재조합 모듈(228, 248)은 세션정보를 참조하여(단계 61), 변환참고데이터를 작성하고(단계 62), IP헤더, UDP헤더, TCP헤더의 정보를 변경하여(단계 63) 브로드캐스트 패킷은 유니캐스트 패킷으로, 유니캐스트 패킷은 브로드캐스트 패킷으로 변환하고(단계 64), 세션정보를 갱신하고(단계 65), 브로드캐스트 패킷/유니캐스트 패킷 송수신모듈(225a, 245a)로 변환된 패킷을 넘긴다.The packet recombination module 228, 248 refers to the session information (step 61), creates conversion reference data (step 62), and changes the information of the IP header, the UDP header, and the TCP header (step 63). Is a unicast packet, the unicast packet is converted into a broadcast packet (step 64), the session information is updated (step 65), and the packet is converted into the broadcast packet / unicast packet transmission / reception module 225a or 245a. Pass it over.

도 13은 브로드캐스트 패킷/유니캐스트 패킷 송수신모듈의 동작과정을 나타낸 흐름도이다.13 is a flowchart illustrating an operation of a broadcast packet / unicast packet transmission / reception module.

브로드캐스트 패킷/유니캐스트 패킷 송수신모듈(225a, 245a)은 넘겨받은 패킷을 목적지로 전송하고(단계 71), 전송이 완료되면(단계 72) 종료하고, 다시 패킷이 수신될 때까지 대기한다.The broadcast packet / unicast packet transmission / reception module 225a, 245a transmits the received packet to the destination (step 71), and when the transmission is completed (step 72) ends, waits until the packet is received again.

본 발명에 따른 통신방법과 그 시스템 및 패킷변환기 기록매체는 종래에는 불가능했던 클라이언트가 동일한 물리적 로컬 네트워크에 있고 서로 다른 논리적 네트워크로 분리된 서버가 제공하는 유니캐스트 방식의 인터넷 서비스를 이용할 수 있도록 해주는 탁월한 효과를 제공한다.The communication method, the system and the packet converter recording medium according to the present invention are excellent for allowing clients, which were not previously possible, to use the unicast Internet service provided by servers in the same physical local network and separated into different logical networks. Provide effect.

Claims (12)

같은 물리적 로컬 네트워크에 있으면서 IP주소를 통해 논리적으로 구분된 서로 다른 논리적 네트워크에 존재하는 컴퓨터 또는 기타 장치들 간의 통신방법에 있어서,In a communication method between computers or other devices in different logical networks that are logically separated by IP addresses while in the same physical local network, 상기 로컬 네트워크상의 제 1장치로 입력되는 신호에 따라 제 1유니캐스트 패킷을 생성하는 단계;Generating a first unicast packet according to a signal input to a first device on the local network; 상기 생성된 제 1유니캐스트 패킷을 상기 제 1장치 자신의 제 1주소정보와 목적지의 제 2주소정보를 포함하는 제 1브로드캐스트 패킷으로 변환하는 제 1변환단계;A first conversion step of converting the generated first unicast packet into a first broadcast packet including first address information of the first device and second address information of a destination; 상기 제 1브로드캐스트 패킷을 상기 로컬 네트워크에 존재하는 다른 장치들로 송신하는 단계;Sending the first broadcast packet to other devices residing in the local network; 상기 로컬 네트워크상의 제 2장치에서 브로드캐스트 패킷을 수신하는 단계;Receiving a broadcast packet at a second device on the local network; 상기 수신된 브로드캐스트 패킷의 제 2주소정보와 상기 제 2장치 자신의 주소정보를 비교하는 단계;Comparing second address information of the received broadcast packet with address information of the second device itself; 상기 비교한 두 주소정보가 일치하지 않는 경우 상기 수신한 브로드캐스트 패킷을 버리고, 상기 비교한 두 주소정보가 일치하는 경우 상기 브로드캐스트 패킷을 제 2유니캐스트 패킷으로 변환하는 제 2변환단계;A second conversion step of discarding the received broadcast packet if the two compared address information do not match, and converting the broadcast packet into a second unicast packet if the compared two address information match; 상기 제 2유니캐스트 패킷의 정보를 참고하여 제 3유니캐스트 패킷을 생성하는 단계;Generating a third unicast packet by referring to the information of the second unicast packet; 상기 생성된 제 3유니캐스트 패킷을 상기 제 1주소정보와 제 2주소정보가 포함된 제 2브로드캐스트 패킷으로 변환하는 제 3변환단계;A third conversion step of converting the generated third unicast packet into a second broadcast packet including the first address information and the second address information; 상기 변환된 제 2브로드캐스트 패킷을 상기 로컬 네트워크의 다른 장치들로 송신하는 단계;Sending the converted second broadcast packet to other devices in the local network; 상기 제 1장치에서 브로드캐스트 패킷을 수신하는 단계;Receiving a broadcast packet at the first device; 상기 제 1장치에 수신된 브로드캐스트 패킷에 포함되어 있는 상기 제 1주소정보와 상기 제 1장치 자신의 주소정보를 비교하는 단계;Comparing the first address information included in the broadcast packet received by the first device with address information of the first device itself; 상기 제 1주소정보와 상기 제 1장치 자신의 주소정보가 일치하지 않는 경우 상기 제 2브로드캐스트 패킷을 버리고, 일치하는 경우 상기 제 2브로드캐스트 패킷을 제 4유니캐스트 패킷으로 변환하는 제 4변환단계; 및A fourth conversion step of discarding the second broadcast packet if the first address information and the address information of the first device itself do not match, and converting the second broadcast packet into a fourth unicast packet if there is a match. ; And 상기 제 4유니캐스트 패킷을 처리하는 단계를 포함하는 것을 특징으로 하는 통신방법.Processing the fourth unicast packet. 제 1항에 있어서, 상기 제 1유니캐스트 패킷 생성단계는 상기 제 1장치에 설치된 제 1프로그램에 의해 이루어지고, 상기 제 2유니캐스트 패킷을 참조하여 제 3유니캐스트 패킷을 생성하는 단계는 상기 제 2장치에 설치된 제 2프로그램에 의해 이루어지고,The method of claim 1, wherein the generating of the first unicast packet is performed by a first program installed in the first apparatus, and generating the third unicast packet by referring to the second unicast packet. 2 is made by a second program installed in the device, 상기 제 1변환단계와 제 4변환단계는 상기 제 1장치에 설치된 제 1패킷변환기에 의해 이루어지고, 상기 제 2변환단계와 제 3변환단계는 상기 제 2장치에 설치된 제 2패킷변환기에 의해 이루어지는 것을 특징으로 하는 통신방법.The first converting step and the fourth converting step are performed by a first packet converter installed in the first device, and the second converting step and the third converting step are performed by a second packet converter installed in the second device. Communication method characterized in that. 제 1항에 있어서, 상기 제 1변환단계에는 상기 제 1유니캐스트 패킷의 IP헤더에서 수신측 IP주소인 제 2주소를 브로드캐스트 주소로 대체하고, 그 대체와 관련된 정보는 별도의 제 1변환참고데이터로 삽입하고,The method of claim 1, wherein in the first conversion step, a second address, which is a receiving IP address, is replaced with a broadcast address in the IP header of the first unicast packet, and information related to the replacement is referred to a separate first conversion. Insert it as data, 상기 제 3변환단계에는 상기 제 3유니캐스트 패킷의 수신측 IP헤더에서 수신측 IP주소인 제 1주소를 브로드캐스트 주소로 대체하고, 그 대체와 관련된 정보는 별도의 제 2변환참고데이터로 삽입하는 것을 특징으로 하는 통신방법.In the third conversion step, in the receiving IP header of the third unicast packet, a first address, which is a receiving IP address, is replaced with a broadcast address, and information related to the replacement is inserted as separate second conversion reference data. Communication method characterized in that. 제 3항에 있어서, 상기 제 1변환참고데이터는 상기 제 1유니캐스트 패킷의 데이터영역에 삽입되고, 상기 제 2변환참고데이터는 상기 제 3유니캐스트 패킷의 데이터영역에 삽입되어 있는 것을 특징으로 하는 통신방법.The method of claim 3, wherein the first conversion reference data is inserted into the data area of the first unicast packet, and the second conversion reference data is inserted into the data area of the third unicast packet. Communication method. 제 3항 또는 제 4항에 있어서, 상기 제 1변환참고데이터에는 상기 제 1유니캐스트 패킷이 가지고 있던 타 장치와의 통신에 필요한 데이터와 기타 부가정보가 포함되어 있고,The data of claim 3 or 4, wherein the first conversion reference data includes data necessary for communication with other devices owned by the first unicast packet and other additional information. 상기 제 2변환참고데이터에는 상기 제 3유니캐스트 패킷이 가지고 있던 타 장치와의 통신에 필요한 데이터와 기타 부가정보가 포함되어 있는 것을 특징으로 하는 통신방법.And the second conversion reference data includes data necessary for communication with other devices included in the third unicast packet and other additional information. 제 3항 또는 제 4항에 있어서, 상기 제 1패킷변환기와 제 2패킷변환기는 유니캐스트 패킷에서 브로드캐스트 패킷 형식으로 변환된 상대방의 패킷을 수신하는 브로드 캐스트 수신모듈, 상기 제 1프로그램 또는 제 2프로그램에서 생성된 유니캐스트 패킷을 수신하는 유니캐스트 패킷 수신모듈, 브로드캐스트 패킷에서 유니캐스트 패킷으로 변환된 패킷을 상기 제 1프로그램 또는 제 2프로그램으로 전달하는 유니캐스트 패킷 송신모듈, 유니캐스트 패킷에서 브로드캐스트 패킷으로 변환된 패킷을 상기 로컬 네트워크의 다른 장치로 송신하는 브로드캐스트 패킷 송신모듈, 수신된 패킷의 오류를 검사하는 패킷검사모듈, 수신된 패킷의 오류 검사 후 이상이 없으면 송신할 패킷 형태로 변환하고 이상이 있으면 자체 오류 정정 또는 재전송 요구 패킷을 작성하는 패킷재조합모듈 및 패킷의 목적지와 사용자 세션을 관리하는 연결관리모듈을 구비하는 것을 특징으로 하는 통신방법.The broadcast receiving module of claim 3 or 4, wherein the first packet converter and the second packet converter receive a packet of the other party converted from a unicast packet into a broadcast packet format. Unicast packet receiving module for receiving a unicast packet generated by a program; Unicast packet transmitting module for transmitting a packet converted from a broadcast packet to a unicast packet to the first program or the second program; Broadcast packet transmission module for transmitting the packet converted into a cast packet to another device of the local network, a packet inspection module for checking an error of a received packet, and converting it into a packet to be transmitted if there is no error after error checking of the received packet. And if there is a problem, write its own error correction or retransmission request packet. A packet recombination module and a connection management module for managing a destination and a user session of the packet. 같은 물리적 로컬 네트워크에 있고 IP주소를 통해 논리적으로 구분된 서로 다른 논리적 네트워크에 존재하는 컴퓨터 또는 장치들 간의 통신시스템에 있어서,In a communication system between computers or devices in the same physical local network and in different logical networks logically separated by IP addresses, 상기 로컬 네트워크상에 설치되고 입력되는 신호에 따라 제 1유니캐스트 패킷을 생성하고, 상기 로컬 네트워크상의 다른 장치들로부터수신되는 제 4유니캐스트 패킷을 처리하는 제 1프로그램과 상기 생성된 제 1유니캐스트 패킷을 제 1장치 자신의 제 1주소정보와 목적지의 제 2주소정보를 포함하는 제 1브로드캐스트 패킷으로 변환하고, 상기 제 1브로드캐스트 패킷을 상기 로컬 네트워크에 존재하는 다른 장치들로 송신하고, 상기 로컬 네트워크상의 제 2장치로부터 제 2브로드캐스트 패킷을 수신하고, 상기 수신된 제 2브로드캐스트 패킷에 포함되어 있는 상기 제 1주소정보와 상기 제 1장치 자신의 주소정보를 비교하고, 상기 제 1주소정보와 상기 제 1장치 자신의 주소정보가 일치하지 않는 경우 상기 제 2브로드캐스트 패킷을 버리고, 일치하는 경우 상기 제 2브로드캐스트 패킷을 제 4유니캐스트 패킷으로 변환하는 제 1패킷변환기가 설치된 제 1장치; 및A first program for generating a first unicast packet according to a signal installed and input on the local network, and processing a fourth unicast packet received from other devices on the local network and the generated first unicast Converting the packet into a first broadcast packet including first address information of a first device and second address information of a destination, and transmitting the first broadcast packet to other devices in the local network, Receive a second broadcast packet from a second device on the local network, compare the first address information included in the received second broadcast packet with the address information of the first device itself, and the first If the address information and the address information of the first device itself do not match, the second broadcast packet is discarded. The first device of the first packet converter for converting a second broadcast packet into a fourth unicast packets installed; And 상기 로컬 네트워크상에 설치되어 브로드캐스트 패킷을 수신하고, 상기 수신된 브로드캐스트 패킷의 제 2주소정보와 상기 제 2장치 자신의 주소정보를 비교하고, 상기 비교한 두 주소정보가 일치하지 않는 경우 상기 수신한 브로드캐스트 패킷을 버리고, 상기 비교한 두 주소정보가 일치하는 경우 상기 브로드캐스트 패킷을 제 2유니캐스트 패킷으로 변환하고 생성된 제 3유니캐스트 패킷을 상기 제 1주소정보와 제 2주소정보가 포함된 제 2브로드캐스트 패킷으로 변환하고, 상기 변환된 제 2브로드캐스트 패킷을 상기 로컬 네트워크의 다른 장치들로 송신하는 제 2패킷변환기와 상기 제 2유니캐스트 패킷의 정보를 참고하여 제 3유니캐스트 패킷을 생성하는 제 2프로그램이 설치된 제 2장치를 포함하는 것을 특징으로 하는 같은 물리적 로컬 네트워크에 있고 서로 다른 논리적 네트워크에 존재하는 장치들 간의 통신시스템.Is installed on the local network to receive a broadcast packet, compares the second address information of the received broadcast packet with the address information of the second device itself, and if the two addresses do not match, Discarding the received broadcast packet, if the compared two address information is matched, converts the broadcast packet into a second unicast packet and the generated third unicast packet is the first address information and the second address information A third unicast by converting into a second broadcast packet included and referring to information of the second packet converter and the second unicast packet which transmits the converted second broadcast packet to other devices of the local network; And a second device having a second program for generating the packet installed therein. A communication system between devices existing in the different logical networks. 제 7항에 있어서, 상기 제 1패킷변환기는 상기 제 1유니캐스트 패킷의 IP헤더에서 수신측 IP주소인 제 2주소를 브로드캐스트 주소로 대체하고, 그 대체와 관련된 정보는 별도의 제 1변환참고데이터로 삽입하고,8. The method of claim 7, wherein the first packet converter replaces a second address, which is a receiving IP address, with a broadcast address in the IP header of the first unicast packet, and information related to the replacement is referred to a separate first conversion. Insert it as data, 상기 제 2패킷변환기는 상기 제 3유니캐스트 패킷의 수신측 IP주소인 제 1주소를 브로드캐스트 주소로 대체하고, 그 대체와 관련된 정보는 별도의 제 2변환참고데 이터로 삽입하는 것을 특징으로 하는 같은 물리적 로컬 네트워크에 있고 서로 다른 논리적 네트워크에 존재하는 장치들 간의 통신시스템.The second packet converter replaces the first address, which is a receiving side IP address of the third unicast packet, with a broadcast address, and inserts information related to the replacement into a separate second translation reference data. Communication system between devices on the same physical local network and on different logical networks. 제 8항에 있어서, 상기 제 1변환참고데이터는 상기 제 1유니캐스트 패킷의 데이터영역에 삽입되고, 상기 제 2변환참고데이터는 상기 제 3유니캐스트 패킷의 데이터영역에 삽입되어 있는 것을 특징으로 하는 같은 물리적 로컬 네트워크에 있고 서로 다른 논리적 네트워크에 존재하는 장치들 간의 통신시스템9. The method of claim 8, wherein the first conversion reference data is inserted into a data area of the first unicast packet, and the second conversion reference data is inserted into a data area of the third unicast packet. Communication system between devices on the same physical local network and on different logical networks 제 8항 또는 제 9항에 있어서, 상기 제 1변환참고데이터에는 상기 제 1유니캐스트 패킷이 가지고 있던 타 장치와의 통신에 필요한 데이터와 기타 부가정보가 포함되어 있고,10. The apparatus of claim 8 or 9, wherein the first conversion reference data includes data and other additional information necessary for communication with another device included in the first unicast packet. 상기 제 2변환참고데이터에는 상기 제 3유니캐스트 패킷이 가지고 있던 타 장치와의 통신에 필요한 데이터와 기타 부가정보가 포함되어 있는 것을 특징으로 하는 같은 물리적 로컬 네트워크에 있고 서로 다른 논리적 네트워크에 존재하는 장치들 간의 통신시스템.The second translation reference data includes data necessary for communication with other devices owned by the third unicast packet and other additional information. The device in the same physical local network and in different logical networks. Communication system between them. 제 7항 내지 제 9항 중 어느 한 항에 있어서, 상기 제 1패킷변환기와 제 2패킷변환기는 유니캐스트 패킷에서 브로드캐스트 패킷 형식으로 변환된 상대방의 패킷을 수신하는 브로드캐스트 수신모듈, 상기 제 1프로그램 또는 제 2프로그램에서 생성된 유니캐스트 패킷을 수신하는 유니캐스트 패킷 수신모듈, 브로드캐스트 패킷에서 유 니캐스트 패킷으로 변환된 패킷을 상기 제 1프로그램 또는 제 2프로그램으로 전달하는 유니캐스트 패킷 송신모듈, 유니캐스트 패킷에서 브로드캐스트 패킷으로 변환된 패킷을 상기 로컬 네트워크의 다른 장치들로 송신하는 브로드캐스트 패킷 송신모듈, 수신된 패킷의 오류를 검사하는 패킷검사모듈, 수신된 패킷의 오류 검사 후 이상이 없으면 송신할 패킷 형태로 변환하고 이상이 있으면 자체 오류 정정 또는 재전송 요구 패킷을 작성하는 패킷재조합모듈 및 패킷의 목적지와 사용자 세션을 관리하는 연결관리모듈을 구비하는 것을 특징으로 하는 같은 물리적 로컬 네트워크에 있고 서로 다른 논리적 네트워크에 존재하는 장치들 간의 통신시스템.The broadcast receiving module according to any one of claims 7 to 9, wherein the first packet converter and the second packet converter receive a packet of the other party converted from a unicast packet into a broadcast packet format. A unicast packet receiving module for receiving a unicast packet generated by a program or a second program, a unicast packet transmitting module for transferring a packet converted from a broadcast packet to a unicast packet to the first program or the second program, A broadcast packet transmission module for transmitting a packet converted from a unicast packet to a broadcast packet to other devices in the local network, a packet inspection module for checking an error of a received packet, and if there is no error after error checking of the received packet Convert to packet type to send and request error correction or retransmission if abnormal A communication system between devices in the same physical local network and in different logical networks, comprising a packet recombination module for composing a packet and a connection management module for managing the destination and user session of the packet. 유니캐스트 패킷에서 브로드캐스트 패킷 형식으로 변환된 상대방의 패킷을 수신하는 브로드캐스트 수신모듈, 로컬 네트워크 상의 제 1장치에 설치된 제 1프로그램 또는 제 2장치에 설치된 제 2프로그램에서 생성된 유니캐스트 패킷을 수신하는 유니캐스트 패킷 수신모듈, 브로드캐스트 패킷에서 유니캐스트 패킷으로 변환된 패킷을 상기 제 1프로그램 또는 제 2프로그램으로 전달하는 유니캐스트 패킷 송신모듈, 유니캐스트 패킷에서 브로드캐스트 패킷으로 변환된 패킷을 상기 로컬 네트워크의 다른 장치들로 송신하는브로드캐스트 패킷 송신모듈, 수신된 패킷의 오류를 검사하는 패킷검사모듈, 수신된 패킷의 오류 검사 후 이상이 없으면 송신할 패킷 형태로 변환하고 이상이 있으면 자체 오류 정정 또는 재전송 요구 패킷을 작성하는 패킷재조합모듈 및 패킷의 목적지와 사용자 세션을 관리하는 연결관리모듈을 구비하는 패킷변환기가 기록된 기록매체.Receives a unicast packet generated by a broadcast receiving module that receives a counterpart's packet converted from a unicast packet into a broadcast packet format, a first program installed in a first device on a local network, or a second program installed in a second device. A unicast packet receiving module for transmitting a packet converted from a broadcast packet to a unicast packet to the first program or a second program, and a packet converted to a broadcast packet from a unicast packet to the local program. Broadcast packet transmission module for sending to other devices in the network, packet inspection module for checking received packet errors, converts to packet form to send if there is no error after checking error of received packet, and corrects its own error if any Packet recombination module to create retransmission request packet And a packet converter including a connection management module for managing a destination of a packet and a user session.
KR1020050025879A 2005-03-29 2005-03-29 Method and system for communicating with each other between equipments which exist in other logical network and recording media of packet transformer for the same KR100654945B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050025879A KR100654945B1 (en) 2005-03-29 2005-03-29 Method and system for communicating with each other between equipments which exist in other logical network and recording media of packet transformer for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050025879A KR100654945B1 (en) 2005-03-29 2005-03-29 Method and system for communicating with each other between equipments which exist in other logical network and recording media of packet transformer for the same

Publications (2)

Publication Number Publication Date
KR20060104051A KR20060104051A (en) 2006-10-09
KR100654945B1 true KR100654945B1 (en) 2006-12-06

Family

ID=37634152

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050025879A KR100654945B1 (en) 2005-03-29 2005-03-29 Method and system for communicating with each other between equipments which exist in other logical network and recording media of packet transformer for the same

Country Status (1)

Country Link
KR (1) KR100654945B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101976194B1 (en) * 2018-04-05 2019-08-28 주식회사 실리콘브릿지 Village broadcasting system and event message transmission method using the same

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030063184A (en) * 2002-01-17 2003-07-28 마쯔시다덴기산교 가부시키가이샤 Unicast-to-multicast converting apparatus, method, and computer program product, and monitoring system comprising the same
KR20030091585A (en) * 2002-05-28 2003-12-03 삼성전자주식회사 Method for providing multicast service and server employing the method
KR20040055447A (en) * 2002-12-21 2004-06-26 엘지전자 주식회사 Control point function destribution system on universal plug and play network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030063184A (en) * 2002-01-17 2003-07-28 마쯔시다덴기산교 가부시키가이샤 Unicast-to-multicast converting apparatus, method, and computer program product, and monitoring system comprising the same
KR20030091585A (en) * 2002-05-28 2003-12-03 삼성전자주식회사 Method for providing multicast service and server employing the method
KR20040055447A (en) * 2002-12-21 2004-06-26 엘지전자 주식회사 Control point function destribution system on universal plug and play network

Also Published As

Publication number Publication date
KR20060104051A (en) 2006-10-09

Similar Documents

Publication Publication Date Title
US7948921B1 (en) Automatic network optimization
Braden Requirements for Internet hosts-communication layers
Cerf et al. Proposal for an international end to end protocol
US6683883B1 (en) ISCSI-FCP gateway
US6370592B1 (en) Network interface device which allows peripherals to utilize network transport services
CN101834783B (en) Method and device for forwarding messages and network equipment
US7899045B2 (en) TCP multicast system and method
US20060174031A1 (en) Data transmission among network-connected information processors
US7269661B2 (en) Method using receive and transmit protocol aware logic modules for confirming checksum values stored in network packet
US7197046B1 (en) Systems and methods for combined protocol processing protocols
US6980551B2 (en) Full transmission control protocol off-load
CN110771117B (en) Session layer communication using ID-oriented network
KR100654945B1 (en) Method and system for communicating with each other between equipments which exist in other logical network and recording media of packet transformer for the same
US20090089440A1 (en) Protocol for leasing sockets
KR100734247B1 (en) Ftp transmission method using udp
US7246171B1 (en) System and method for managing data transmissions from a TFTP server by specifying a maximum bandwidth
US6961777B1 (en) Systems and methods for predicting fields in a data packet
US7536479B2 (en) Local and remote network based management of an operating system-independent processor
Carne A professional's guide to data communication in a TCP/IP world
CN100393039C (en) Network administration method for no-IP address device
Cisco Apple Talk
KR100431206B1 (en) Table management methode for distributed forwarding in high speed router
US20030120800A1 (en) Network layer protocol
US20050251676A1 (en) Method for offloading the digest portion of protocols
KR100455880B1 (en) Method of forwarding table transmitting and receiving for distributed router system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20121108

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20131115

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee