KR20020007477A - Apparatus for being shared ip address by port number - Google Patents

Apparatus for being shared ip address by port number Download PDF

Info

Publication number
KR20020007477A
KR20020007477A KR1020000040404A KR20000040404A KR20020007477A KR 20020007477 A KR20020007477 A KR 20020007477A KR 1020000040404 A KR1020000040404 A KR 1020000040404A KR 20000040404 A KR20000040404 A KR 20000040404A KR 20020007477 A KR20020007477 A KR 20020007477A
Authority
KR
South Korea
Prior art keywords
physical layer
port number
module
data
buffer
Prior art date
Application number
KR1020000040404A
Other languages
Korean (ko)
Other versions
KR100341880B1 (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 KR1020000040404A priority Critical patent/KR100341880B1/en
Publication of KR20020007477A publication Critical patent/KR20020007477A/en
Application granted granted Critical
Publication of KR100341880B1 publication Critical patent/KR100341880B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2514Translation of Internet protocol [IP] addresses between local and global IP addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2517Translation of Internet protocol [IP] addresses using port numbers

Landscapes

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

Abstract

PURPOSE: An apparatus for sharing an IP address is provided to prevent the waste of the IP address and improve the speed by using port number included in a TCP/UDP/IP header. CONSTITUTION: The first physical class module(2) is connected with the Internet(8). In addition, the first physical class(2) performs a conversion between a transmission media signal and Ethernet data. The second physical class module(3) is connected with a communication module of a PC(9). In addition, the second physical module(3) performs a conversion between a physical class signal and the Ethernet data. The third physical class module(4) is connected with hardware for a specific application. In addition, the third physical class module(4) performs a conversion between the physical class signal and the Ethernet data. A transmission module(5) transmits the data inputted from the second and the third physical class module(3,4) according to the order of priority of port number. A port number storing device(7) stores a port number of the hardware for the specific application connected with the third physical class module(4). A receiving module(6) judges an object port and transmits the object port to the communication module of the PC(9) or the hardware for the specific application through the second of the third physical class module(3,4).

Description

포트번호를 이용한 아이피주소 공유장치{APPARATUS FOR BEING SHARED IP ADDRESS BY PORT NUMBER}IP address sharing device using port number {APPARATUS FOR BEING SHARED IP ADDRESS BY PORT NUMBER}

본 발명은 인터넷으로 송수신되는 데이타의 어플리케이션 프로토콜을 나타내는 포트번호를 이용하여, 특정 어플리케이션용 하드웨어장치(예를 들어, 인터넷 전화기)를 PC와 동일한 IP를 사용하여 IP 호스트화할 수 있는 포트번호를 이용한 아이피(IP)주소 공유장치에 관한 것이다.According to the present invention, an IP using a port number for IP-hosting a specific application hardware device (for example, an Internet phone) using the same IP as a PC using a port number indicating an application protocol for data transmitted and received over the Internet. (IP) address sharing device.

현재 인터넷에 접속되어 있는 모든 호스트(host) 컴퓨터는 인터넷 내에서 각각의 호스트 컴퓨터를 상호 구분하기 위하여 고유한 인터넷주소(IP address)를 공인된 기관으로 부터 할당받아 사용한다.All host computers currently connected to the Internet use a unique IP address assigned by an authorized authority to distinguish each host computer from the Internet.

상기 IP 어드레스는 4 byte(총 32 bit)의 크기로 1 byte(8 bit)단위로 묶어 표시하며, 네트워크 식별자와 호스트 식별자로 구분하여 사용한다. 네트워크 식별자는 아래에 설명하고 있는 인터넷 내부의 특정 네트워크의 IP 주소범위를 지정하기 위해 사용한다.The IP address is displayed in a size of 4 bytes (32 bits total) in 1 byte (8 bit) units, and is divided into a network identifier and a host identifier. The network identifier is used to specify the IP address range of a specific network inside the Internet, described below.

인터넷은 여러 개의 네트워크들이 연결된 집합체로 각 네트워크들은 그 규모에 따라 일정한 크기의 IP 주소범위를 할당받아 사용하는데, 이러한 IP 주소범위를 IP 클래스(class)로 구분하여 클래스 A에서 클래스 E까지 총 5개의 IP 클래스를 나누어 사용한다. 이중멀티캐스팅을 위한 클래스 D와 사용하지 않는 클래스 E를 제외한 클래스 A,B,C를 인터넷 내부의 각 네트워크에서 사용하는 IP주소범위를 표시하기 위하여 사용한다. 클래스 A는 최상위의 한 byte를 네트워크 식별자로 사용하며, 클래스 B는 최상위로 부터 두 byte, 클래스 C는 최상위로 부터 세개의 byte를 각각 네트워크 식별자로 사용한다.The Internet is a collection of multiple networks. Each network is assigned an IP address range of a certain size according to its size. The IP address range is classified into IP classes, and a total of five classes from Class A to Class E are used. IP class is divided and used. Classes A, B, and C are used to indicate the range of IP addresses used in each network inside the Internet except class D for dual multicasting and class E not used. Class A uses one byte at the top as the network identifier, class B uses two bytes from the top, and class C uses three bytes from the top as the network identifier.

그러나, 32 byte의 크기를 가지는 IP주소로 할당해 줄 수 있는 호스트 컴퓨터의 수에는 한계가 있으며, 최근 급격한 인터넷의 확산과 함께 호스트 컴퓨터 수의 증가로 인하여 제한된 IP 주소의 고갈문제가 심각히 제시되고 있는 실정이다.However, there is a limit to the number of host computers that can be allocated to IP addresses with a size of 32 bytes. Recently, due to the rapid spread of the Internet, the increase of the number of host computers has caused serious problems of depletion of limited IP addresses. It is true.

상기 IP주소의 고갈 문제를 극복하기 위하여, IP 주소에서 호스트 식별자 부분의 몇 비트를 서브넷 식별자로 사용하여 단일 네트워크 식별자로 할당된 네트워크를 여러개의 IP 서브넷(IP subnet)으로 분할함으로써 IP 주소를 절약하는 서브네팅 (subnetting)기법과, 기존의 A,B,C 클래스에서 네트워크 식별자와 호스트 식별자 부분의 구별을 없애고, 임의의 비트수로 네트워크의 IP 주소범위를 구별하는 CIDR (Classless Interdomain Routing)방법과, 분할하는 IP 서브넷을 서로 다른 크기의 IP 주소범위를 지정할 수 있도록 하는 VLSM(Veriable Length Subnet Mask)방법이 사용되고 있다. 그외에도 기업이나 단체에서 독자적으로 구축한 사설망(Private Network)에서 내부적으로는 자체적으로 정의된 사설 IP 주소를 사용하고, 외부 인터넷으로 송수신는 데이터에만 공인된 IP 주소를 사용할 수 있도록 매핑해 주는 방법을 사용하여 필요한 IP 주소를 절약하는데, 이러한 방법에는 NAT(Network Address Translation)나 프록시서버(Proxy server)등이 있다.In order to overcome the problem of depletion of the IP address, by using a few bits of the host identifier portion of the IP address as a subnet identifier, the IP address is saved by dividing the network allocated to a single network identifier into multiple IP subnets. Subnetting technique, CIDR (Classless Interdomain Routing) method that separates IP address range of network by arbitrary number of bits, eliminating the distinction between network identifier and host identifier part in existing A, B, C class, and segmentation The VLSM (Veriable Length Subnet Mask) method is used to specify IP address ranges of different sizes. In addition, private networks built by companies or organizations use internally defined private IP addresses, and send / receive data to the external Internet by using a publicly available IP address mapping method. In order to save the necessary IP address, such methods include network address translation (NAT) or proxy server.

그러나, 이상에서 설명한 IP 주소 절약을 위한 방법들은 독립적인 통신선로를 통해 인터넷에 연결되는 PC들에 IP 주소를 효율적으로 할당하기 위한 것으로, 동일한 통신선로에 연결되어 서로 다른 어플리케이션을 수행하는 장치들 간에 IP주소를 공유하는 방법에 대한 연구는 전무한 실정이다.However, the methods for saving the IP address described above are for efficiently allocating IP addresses to PCs connected to the Internet through independent communication lines, and between devices connected to the same communication line to perform different applications. There is no research on how to share an IP address.

또한, 인터넷전화와 같이 데이타의 전송지연에 큰 영향을 받는 어플리케이션의 경우 별도의 인터넷 전화장치를 PC의 주변장치로 사용하게 되면 반드시 PC를 통해 데이타를 주고 받아야 함으로써 PC를 거치는 동안 발생하는 지연에 의해 야기되는 통화품질의 저하가 발생할 수 있으며, 그렇다고 원하는 전송속도를 얻기 위해서 인터넷 전화장치에 별도의 IP 주소를 부여하고 독자적인 통신선로를 통하여 인터넷에 연결하게 되면, 부족한 IP주소의 활용도 측면에서 뿐만 아니라 비용면에서도 효율성이 떨어진다는 문제가 있다.In addition, in the case of an application that is greatly affected by data transmission delay, such as an Internet phone, if a separate Internet phone device is used as a peripheral device of the PC, data must be transmitted and received through the PC. The call quality may be deteriorated. However, if a separate IP address is given to the Internet telephony device in order to obtain a desired transmission speed and connected to the Internet through an independent communication line, the cost is not only in terms of utilization of the insufficient IP address but also in cost. In terms of efficiency, there is a problem.

본 발명은 상술한 종래의 문제점을 해결하기 위하여 제안된 것으로서, 그 목적은 TCP/UDP/IP 헤더에 포함된 포트번호를 이용하여 동일한 통신선로에 연결된 장치들(PC, 어플리케이션용 하드웨어 등)간에 동일한 IP주소를 공유하여 IP주소의 낭비를 막으면서 속도향상의 효과를 얻을 수 있도록 하는 포트번호를 이용한 아이피(IP)주소 공유장치에 관한 것이다.The present invention has been proposed to solve the above-mentioned conventional problems, and an object thereof is the same between devices (PC, application hardware, etc.) connected to the same communication line using a port number included in a TCP / UDP / IP header. The present invention relates to an IP (IP) address sharing device using a port number that can achieve an effect of speed improvement by sharing an IP address and preventing waste of the IP address.

도 1은 본 발명에 따른 아이피주소 공유장치의 전체적인 구성을 보이는 블럭도이다.Figure 1 is a block diagram showing the overall configuration of the IP address sharing apparatus according to the present invention.

도 2는 도 1에 도시된 아이피주소 공유장치에서 수신모듈의 세부 구성을 보이는 블럭도이다.2 is a block diagram showing a detailed configuration of a receiving module in the IP address sharing device shown in FIG.

도 3은 도 1에 도시된 아이피주소 공유장치에서 송신모듈의 세부 구성을 보이는 블럭도이다.3 is a block diagram showing a detailed configuration of a transmission module in the IP address sharing device shown in FIG.

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

1 : IP 주소 공유장치 2~4 : 제1~3물리계층모듈1: IP address sharing device 2 ~ 4: 1 ~ 3 physical layer module

5 : 송신모듈 6 : 수신모듈5: sending module 6: receiving module

7 : 포트번호 저장기 8 : 인터넷7: Port number saver 8: Internet

9 : PC(퍼스널컴퓨터) 10 : 인터넷전화기9: PC (Personal Computer) 10: Internet Phone

상술한 본 발명의 목적을 달성하기 위한 구성수단으로서, 본 발명은 인터넷에 접속된 PC와 동일한 통신선로상에 연결된 특정 어플리케이션용 하드웨어장치를 IP호스트화하는 포트번호를 이용한 아이피(IP) 주소 공유장치에 있어서,As a construction means for achieving the object of the present invention described above, the present invention is an IP (IP) address sharing device using a port number for IP-hosting a hardware device for a specific application connected to the same communication line as a PC connected to the Internet To

인터넷에 연결되며 전송매체의 신호와 이더넷 데이타간에 변환을 수행하는 제1물리계층모듈;A first physical layer module connected to the Internet and performing conversion between signals of a transmission medium and Ethernet data;

PC의 통신모듈에 연결되며 물리계층의 신호와 이더넷 데이타간에 변환을 수행하는 제2물리계층모듈;A second physical layer module connected to a communication module of a PC and performing conversion between signals of the physical layer and Ethernet data;

상기 특정 어플리케이션용 하드웨어장치와 연결되며 물리계층신호와 이더넷 데이타간의 변환을 수행하는 제3물리계층모듈;A third physical layer module connected to the hardware device for a specific application and performing conversion between a physical layer signal and Ethernet data;

상기 제3물리계층모듈로부터 입력된 데이타에 우선권을 주어, 제2물리계층모듈 및 제3물리계층모듈을 통해 입력된 송신데이타를 제1물리계층모듈을 통해 인터넷으로 송신하는 송신모듈;A transmission module for giving priority to data input from the third physical layer module and transmitting transmission data input through the second physical layer module and the third physical layer module to the Internet through the first physical layer module;

상기 제3물리계층모듈에 연결된 특정 어플리케이션장치들의 포트번호를 저장하는 포트번호저장기;A port number store for storing port numbers of specific application devices connected to the third physical layer module;

상기 제1물리계층모듈을 통해 수신된 인터넷 데이타의 수신지포트번호를 상기 포트번호저장기에 저장된 포트번호와 비교하여 목적 포트를 판단하고, 제2물리계층모듈 또는 제3물리계층모듈을 통해 PC 또는 특정 어플리케이션용 하드웨어장치로 보내주는 수신모듈;로 이루어지는 것을 특징으로 한다.The destination port number is determined by comparing the destination port number of the Internet data received through the first physical layer module with the port number stored in the port number storage, and the PC or the specific device is determined through the second physical layer module or the third physical layer module. Receiving module for sending to the application hardware device; characterized in that consisting of.

그리고, 상기 수신모듈은And, the receiving module

상기 제1물리계층모듈을 통해 입력된 수신데이타를 목적지를 결정할 때까지 보관하는 제1버퍼;A first buffer for storing received data input through the first physical layer module until determining a destination;

수신데이타를 동기화하여 제2물리계층모듈로 전송하기 위한 제2버퍼;A second buffer for synchronizing the reception data and transmitting the received data to the second physical layer module;

수신데이타를 동기화하여 제3물리계층모듈로 전송하기 위한 제3버퍼;A third buffer for synchronizing the received data and transmitting the received data to the third physical layer module;

상기 제1버퍼로 입력된 수신데이타의 수신지 포트번호를 상기 포트번호저장기에 저장된 포트번호와 일치하는지 비교하는 비교회로;A comparison circuit for comparing a destination port number of the reception data inputted to the first buffer with a port number stored in the port number storage unit;

상기 비교회로의 비교결과에 따라서 포트번호가 일치하는 수신데이타는 제3버퍼로, 포트번호와 일치하지 않는 수신데이타는 제2버퍼로 출력하는 디멀티플렉서 (DEMUX);A demultiplexer (DEMUX) outputting received data having a corresponding port number as a third buffer according to a comparison result of the comparison circuit, and receiving data having a corresponding port number as a second buffer;

로 이루어지는 것을 특징으로 한다.Characterized in that consists of.

그리고, 상기 송신모듈은And, the transmission module

제2물리계층모듈을 통해 입력된 송신데이타를 저장하는 제4버퍼;A fourth buffer for storing transmission data input through the second physical layer module;

제3물리계층모듈을 통해 입력된 송신데이타를 저장하는 제5버퍼;A fifth buffer for storing transmission data input through the third physical layer module;

송신데이타를 제1물리계층모듈에 동기화하여 전송하기 위한 제6버퍼;A sixth buffer for transmitting the transmission data in synchronization with the first physical layer module;

제4버퍼와 제5버퍼의 데이타중 하나를 선택하여 제6버퍼로 전달하는 멀티플렉서(MUX);A multiplexer (MUX) for selecting one of the data of the fourth buffer and the fifth buffer and transferring the selected data to the sixth buffer;

상기 제5버퍼의 데이타가 먼저 전송되도록 멀티플렉서의 선택동작을 제어하는 우선권결정모듈;로 이루어지는 것을 특징으로 한다.And a priority determining module controlling the selection operation of the multiplexer so that the data of the fifth buffer is transmitted first.

또한, 본 발명에 의한 포트번호를 이용한 아이피(IP)주소 공유장치는 각각 서로 다른 어플리케이션용 하드웨어장치에 연결되는 둘 이상의 제3물리계층모듈을 구비하고, 상기 어플리케이션용 하드웨어 장치에 각각 고유의 포트번호를 지정하고 소정 순서로 우선권을 부여하여, 부여된 포트번호의 우선순서에 따라 데이타를 송수신하도록 하는 것을 특징으로 한다.In addition, an IP address sharing apparatus using a port number according to the present invention includes two or more third physical layer modules connected to different application hardware devices, respectively, and each port number unique to the application hardware device. And assign priority to a predetermined order to transmit and receive data according to the priority order of the assigned port number.

이하, 첨부한 도면을 참조하여 본 발명에 따른 IP주소 공유장치의 구성 및 작용에 대하여 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail the configuration and operation of the IP address sharing apparatus according to the present invention.

일반적으로, 인터넷을 통한 데이타 통신은 TCP/IP 프로토콜를 사용하는데, TCP/IP 프로토콜에서 데이터의 송수신을 위해 사용하는 패킷의 내용 중에서 제어정보를 저장한 헤더에는 어플리케이션의 프로토콜을 구분할 수 있는 포트번호(port number)가 포함된다.In general, data communication through the Internet uses the TCP / IP protocol. In the header of the control information among the contents of the packet used for data transmission and reception in the TCP / IP protocol, a port number for identifying an application protocol is used. number) is included.

상기 포트번호는 16 비트를 사용하여 216개의 어플리케이션을 구분할 수 있으며, 그 중 1~255 사이의 값은 특정 어플리케이션, 예를 들어, HTTP, FTP, TELNET, SMTP 등에 할당되어 있고, 256~1024 사이의 값은 표준 유닉스 서비스를 위해 사용하도록 할당되어 있으며, 1024 이상의 값들은 일반 사용자 어플리케이션으로 사용할 수 있도록 하고 있다. 본 발명은 상기 사용자 어플리케이션을 위해 사용할 수 있는 포트번호 중 임의의 값을 사용할 어플리케이션용 하드웨어 장치들에 적용하는 것으로, 본 실시예에서는 인터넷전화 장치에 할당한 경우로, 인터넷전화용 데이타 패킷의 헤더에 상기와 같이 할당한 포트번호를 실어 데이타와 함께 전송한다. 그리고, 본 발명에 따른 IP 주소 공유장치는 IP 호스트화하고자 하는 어플리케이션용 하드웨어장치에 할당된 상기 포트번호를 기억하고 있으며, 송수신되는 패킷에 포함된 포트번호를 체크하여 기억된 포트번호와 동일한 데이타일 경우 다른 데이타에 우선하여 송수신시키도록 한다.The port number can be used to distinguish 2 16 applications using 16 bits, and a value between 1 and 255 is assigned to a specific application, for example, HTTP, FTP, TELNET, SMTP, etc., and is between 256 and 1024. The value of is reserved for use by standard Unix services, and values above 1024 are available for general user applications. The present invention applies to any of the hardware devices for the application to use any value of the port number available for the user application, in the present embodiment is assigned to the Internet telephony device, in the header of the data packet for Internet telephony The port number allocated as described above is transmitted along with the data. The IP address sharing apparatus according to the present invention stores the port number assigned to the hardware device for the application to be IP-hosted, and checks the port number included in the transmitted / received packet to be the same data as the stored port number. In this case, send and receive in preference to other data.

도 1은 본 발명에 따른 포트번호를 이용한 IP 주소 공유장치의 전체적인 구성도로서, 도시된 바와 같이 본 IP 주소 공유장치(1)는 각각 인터넷(8), PC(9), 인터넷전화기(10)에 연결되어 물리계층신호를 이더넷데이터로 바꿔 전달하거나 이더넷데이타를 물리계층신호로 바꾸어 전달하는 제1~3물리계층모듈(2~4)과, 상기 제2물리계층모듈(3) 및 제3물리계층모듈(4)로부터 입력되는 송신할 데이타를 우선 순위에 따라 제1물리계층모듈(2)을 통해 인터넷(8)으로 전송하는 송신모듈(5)과, 상기 제1물리계층모듈(2)을 통해 입력되는 이더넷데이타를 수신하여 그 포트번호에 따라 목적지가 PC(9)인지 인터넷전화기(10)인지를 판단하여 목적지로 데이타를 전송하는 수신모듈(6)과, 포트번호를 저장하기 위한 포트번호저장기(7)로 구성된다.1 is an overall configuration diagram of an IP address sharing apparatus using a port number according to the present invention. As shown, the IP address sharing apparatus 1 is the Internet 8, the PC 9, and the Internet telephone 10, respectively. A first to third physical layer modules (2 to 4), the second physical layer module (3), and a third physical layer connected to the first to third physical layer modules (2 to 4) for transferring physical layer signals to Ethernet data or for converting Ethernet data to physical layer signals. A transmission module 5 for transmitting data to be transmitted from the hierarchy module 4 to the Internet 8 through the first physical hierarchy module 2 according to a priority, and the first physical hierarchy module 2; Receiving Ethernet data input through the port number to determine whether the destination is a PC (9) or Internet phone 10 according to the port number and the transmission module (6) for transmitting data to the destination, and a port number for storing the port number It consists of a reservoir (7).

상기에서, 제1,2,3물리계층모듈(2~4)과 송수신모듈(5,6) 사이에는 MII(Media Independent Interface)를 이용하여 데이터를 주고 받는다.In the above, data is transmitted and received between the first, second, and third physical layer modules 2 to 4 and the transceiving modules 5 and 6 by using a media independent interface (MII).

상기 실시예에서는 IP주소를 공유하는 장치로서 PC(9)와, 인터넷전화기(10)가 대표적인 예이며, 상기 인터넷전화기(10)는 PC내부에 내장형으로 구현될 수도 있으며, 일반전화기와 같은 형태로 PC외부에 외장형으로 구현될 수 도 있다. 이외에 인터넷을 통한 통신이 요구되는 어플리케이션용 장치들은 어느 것이라도 상기 IP 주소 공유장치(10)에 연결될 수 있다.In the above embodiment, a PC 9 and an Internet phone 10 are representative examples of devices that share an IP address, and the Internet phone 10 may be embodied as a built-in PC. It may be implemented externally outside the PC. In addition, any application device that requires communication via the Internet may be connected to the IP address sharing device 10.

도 2는 상기 IP 주소 공유장치를 구성하는 수신모듈(6)의 내부 구성을 보이는 블럭도로서, 도시된 바와 같이 수신모듈(6)은 상기 제1물리계층모듈(2)로부터 입력되는 데이타를 그 송신 목적지가 결정될 때까지 보관하는 제1버퍼(61)와, 상기 제1버퍼(61)로 수신된 데이타의 포트번호와 포트번호저장기(7)에 보관된 포트번호가 일치하는 지를 비교하는 비교회로(62)와, 상기 비교회로(62)의 비교 결과에 따라 상기 제1버퍼(61)에 저장된 데이타를 제2버퍼(64) 또는 제3버퍼(65)로 선택 출력시키는 디멀티플렉서(63)와, 각각 제2물리계층모듈(3)과 제3물리계층모듈(4)에 연결되어 상기 디멀티플렉서(63)로부터 입력되는 수신데이타를 물리계층모듈(3,4)에 동기화하여 전송하기 위해 일시 보관하는 제2,3버퍼(64,65)로 이루어진다.2 is a block diagram showing an internal configuration of a receiving module 6 constituting the IP address sharing device. As shown in the drawing, the receiving module 6 stores data inputted from the first physical layer module 2. Comparison between comparing the first buffer 61 to be stored until the transmission destination is determined with the port number of the data received by the first buffer 61 and the port number stored in the port number storage 7 to match. A demultiplexer 63 for selectively outputting data stored in the first buffer 61 to the second buffer 64 or the third buffer 65 according to the comparison result of the circuit 62 and the comparison circuit 62; And are respectively connected to the second physical layer module 3 and the third physical layer module 4 to temporarily store received data input from the demultiplexer 63 in synchronization with the physical layer modules 3 and 4. It consists of the second and third buffers 64 and 65.

도 3은 상기 도 1에 도시한 IP 주소 공유장치에 있어서, 송신모듈의 내부 구성을 보이는 블럭도로서, 상기 제2,3물리계층모듈(3,4)를 통해 각각 들어오는 PC(9)와 인터넷전화기(10)의 데이타를 동기화하여 수신하고, 보관하는 제4,5버퍼(51,52)와, PC의 데이타와 인터넷전화기의 데이타중 어느 것을 먼저 전송할 지를 결정하는 우선권결정모듈(53)과, 상기 우선권결정모듈(53)의 결정에 따라서 제4버퍼(51)와 제5버퍼(52)에 저장된 데이터를 순서적으로 출력하는 멀티플렉서(54)와, 상기 멀티플렉서(54)로부터 선택 출력되는 PC의 데이타 또는 인터넷전화기의 데이타를 제1물리계층모듈(2)에 동기화하여 보내기 위한 제6버퍼(55)로 이루어진다.FIG. 3 is a block diagram showing the internal structure of a transmission module in the IP address sharing device shown in FIG. 1, wherein the PC 9 and the Internet, respectively, which are entered through the second and third physical layer modules 3 and 4, respectively. A fourth and fifth buffers 51 and 52 for synchronizing, receiving and storing data of the telephone 10, and a priority determining module 53 for determining which of the data of the PC and the data of the Internet telephone to be transmitted first; The multiplexer 54 sequentially outputs the data stored in the fourth buffer 51 and the fifth buffer 52 according to the determination of the priority determining module 53, and the PC selected from the multiplexer 54. And a sixth buffer 55 for sending data or data of an Internet telephone in synchronization with the first physical layer module 2.

상기와 같이 구성된 본 발명에 따른 포트번호를 이용한 IP 주소 공유장치는 기본적으로 PC(9)의 통신포트에 연결되고, 아울러, PC와 동일한 IP 주소를 사용하는 어플리케이션용 하드웨어장치, 즉 인터넷전화기(10)에 별도의 포트를 통해 연결되어, 상기 PC(9)와 인터넷전화기(10)를 인터넷(8)에 연결한다.The IP address sharing apparatus using the port number according to the present invention configured as described above is basically connected to the communication port of the PC (9), and also a hardware device for an application using the same IP address as the PC, that is, the Internet telephone (10). Is connected through a separate port, and connects the PC 9 and the Internet telephone 10 to the Internet 8.

또한, 사용자 어플리케이션을 위한 포트번호 영역의 번호중 상기 인터넷전화기(10)를 위해 인터넷전화사업자가 임의로 할당한 포트번호가 포트번호 저장기(7)에 저장되어 있다.In addition, a port number arbitrarily assigned by the Internet telephone service provider for the Internet telephone 10 among the numbers of the port number area for the user application is stored in the port number storage 7.

상기와 같은 상태에서, 데이타를 송수신하는 과정을 설명하는데, 먼저 데이타 수신시를 설명한다.In the above state, a process of transmitting and receiving data will be described. First, the data reception will be described.

인터넷(8)으로부터 소정 데이타가 수신되면, 수신된 신호는 제1물리계층모듈(2)을 통해 이더넷 데이타로 변환되어 수신모듈(6)에 전달된다.When predetermined data is received from the Internet 8, the received signal is converted into Ethernet data through the first physical layer module 2 and transmitted to the receiving module 6.

상기 수신모듈(6)은 도 2에 도시한 바와 같이 구성된 것으로, 상기 제1물리계층모듈(2)로부터 입력되는 수신 패킷을 제1버퍼(61)에 저장한 후, 비교회로(62)를 통해 수신패킷의 헤더에 기록된 수신지 포트번호가 포트번호저장기(7)에 저장된 포트번호와 일치하는지를 비교한다. 이때, 수신된 패킷의 수신지 포트번호가 상기포트번호저장기(7)에 저장된 포트번호와 일치하면 수신데이타는 인터넷전화기용 데이타이므로, 디멀티플렉서(63)가 수신된 패킷을 제3버퍼(63)로 전달하고, 제3버퍼(63)는 디멀티플렉서(63)을 통해 수신패킷을 제3물리계층모듈(4)에 전달하여 상기 인터넷(8)으로부터 수신된 인터넷전화용 데이타는 제3물리계층모듈(4)에 의해 물리계층신호로 변환되어 인터넷전화기(10)로 보내진다.The receiving module 6 is configured as shown in FIG. 2, and stores the received packet from the first physical layer module 2 in the first buffer 61 and then through the comparison circuit 62. The destination port number recorded in the header of the reception packet is compared with the port number stored in the port number storage 7. At this time, if the destination port number of the received packet matches the port number stored in the port number storage 7, the reception data is the data for the Internet telephone, so that the demultiplexer 63 receives the received packet in the third buffer 63. The third buffer 63 transmits the received packet to the third physical layer module 4 through the demultiplexer 63 so that the data for the Internet phone received from the internet 8 is transferred to the third physical layer module (3). 4) is converted into a physical layer signal and sent to the Internet telephone 10.

반대로, 상기 비교회로(62)의 비교결과, 수신된 패킷의 수신지 포트번호가 포트번호 저장기(7)에 저장된 포트번호와 일치하지 않으면, 디멀티플렉서(63)는 제1버퍼(61)의 수신패킷을 제2버퍼(62)로 전달하고, 상기 제2버퍼(62)의 데이타는 제2물리계층모듈(3)을 통해 물리계층신호로 변환된 후 PC(9)로 보내어져 PC(9)내의 해당 어플리케이션에 의해 처리된다.On the contrary, when the comparison port 62 compares the destination port number of the received packet with the port number stored in the port number store 7, the demultiplexer 63 receives the first buffer 61. The packet is transferred to the second buffer 62, and the data of the second buffer 62 is converted into a physical layer signal through the second physical layer module 3, and then sent to the PC 9 to be sent to the PC 9. Is handled by the application in question.

데이타 송신시의 동작은 다음과 같이 이루어진다.The operation at the time of data transmission is performed as follows.

PC(9) 또는/및 인터넷전화기(10)로부터 보내진 송신데이타는 각각 제2물리계층모듈(3)과 제3물리계층모듈(4)을 통하여 송신모듈(5)로 입력된다.The transmission data sent from the PC 9 and / or the Internet telephone 10 is input to the transmission module 5 through the second physical layer module 3 and the third physical layer module 4, respectively.

송신모듈(5)은 도 3에 도시한 바와 같이 구성되어, 상기 제2물리계층모듈(3)과 제3물리계층모듈(4)로부터 입력되는 이더넷 데이타, 즉, 송신패킷을 각각 제4버퍼(51)와 제5버퍼(52)에 저장한다.The transmission module 5 is configured as shown in FIG. 3, and transmits the Ethernet data input from the second physical layer module 3 and the third physical layer module 4, that is, the transmission packet to the fourth buffer. 51 and the fifth buffer 52.

상기에서, PC의 데이타만 입력된 경우, 멀티플렉서(54)는 제4버퍼(51)의 출력을 제6버퍼(55)의 입력에 연결하여, PC 데이타가 제1물리계층모듈(2)을 통해 인터넷으로 전송되도록 하고, 인터넷전화기의 데이타만 입력된 경우, 상기 멀티플렉서(54)는 제5버퍼(52)의 출력을 제6버퍼(55)에 연결하여, 인터넷전화기의 데이타가제1물리계층모듈(2)을 통해 인터넷(8)의 목적지로 전송되도록 한다.In the above, when only the data of the PC is input, the multiplexer 54 connects the output of the fourth buffer 51 to the input of the sixth buffer 55 so that the PC data is transmitted through the first physical layer module 2. In order to transmit data to the Internet, and only the data of the Internet telephone is input, the multiplexer 54 connects the output of the fifth buffer 52 to the sixth buffer 55, so that the data of the Internet telephone is stored in the first physical layer module. (2) to be sent to the destination of the Internet (8).

그리고, PC의 데이타와 인터넷전화기의 데이타가 거의 동시에 입력되면 우선권결정모듈(53)에 의해 멀티플렉서(54)가 먼저 제5버퍼(52)의 데이타를 제6버퍼(55)로 출력하도록 하여, 인터넷전화기의 데이타가 먼저 제1물리계층모듈 (2)을 통해 전송되도록 한다. 이와 같이 인터넷전화기의 송신데이타가 전송된 다음, 제4버퍼(51)에 있는 PC의 송신데이터를 제6버퍼(55)로 출력하여, 제1물리계층모듈(2)을 통해 인터넷으로 전송되도록 한다.When the data of the PC and the data of the Internet telephone are input at the same time, the multiplexer 54 first outputs the data of the fifth buffer 52 to the sixth buffer 55 by the priority determining module 53. The data of the telephone is first transmitted through the first physical layer module 2. After the transmission data of the Internet telephone is transmitted as described above, the transmission data of the PC in the fourth buffer 51 is output to the sixth buffer 55 so as to be transmitted to the Internet through the first physical layer module 2. .

이와 같이, 상기 송신모듈(5)은 데이타 전송지연에 많은 영향을 받는 인터넷전화기의 데이타를 PC(9)의 다른 어플리케이션의 데이터보다 우선적으로 전송시켜 줌으로써, 인터넷전화 데이타의 전송지연 현상을 줄이도록 한다.In this way, the transmission module 5 transmits the data of the Internet phone, which is greatly affected by the data transmission delay, prior to the data of other applications of the PC 9, thereby reducing the transmission delay of the Internet phone data. .

상술한 바와 같이, 본 발명에 따른 포트번호를 이용한 IP 주소 공유장치는 인터넷에 연결되는 어플리케이션용 하드웨어 장치를 PC와 IP주소를 공유하여 별도의 IP주소를 부여받지 않고도 특정 어플리케이션용 하드웨어 장치를 IP 호스트화하여, 부족한 IP주소에 대한 활용도를 높힐 수 있는 우수한 효과가 있다. 또한 각각 장치로부터 인터넷으로 송신하는 데이터에 전송에 우선순위를 부여할 수 있어 동영상이나 음성데이타와 같이 전송지연에 큰 영향을 받거나 실시간 데이타전송을 요하는 어플리케이션에 대하여 전송지연 현상을 줄일 수 있는 효과를 얻을 수 있다.As described above, the IP address sharing apparatus using the port number according to the present invention is to share the IP address with the PC for the hardware device for applications connected to the Internet IP host for a specific application hardware device without having to be given a separate IP address Therefore, there is an excellent effect to increase the utilization of the insufficient IP address. In addition, priority can be given to the data sent from the device to the Internet, which can reduce the transmission delay for applications that are greatly affected by the transmission delay, such as video or audio data, or require real-time data transmission. You can get it.

Claims (5)

인터넷에 접속된 특정 어플리케이션용 하드웨어장치를 IP호스트화하는 포트번호를 이용한 아이피(IP) 주소 공유장치에 있어서,In the IP address sharing device using a port number for IP-hosting a hardware device for a specific application connected to the Internet, 인터넷에 연결되며 전송매체신호와 이더넷 데이타간에 변환을 수행하는 제1물리계층모듈;A first physical layer module connected to the Internet and performing conversion between a transmission medium signal and Ethernet data; PC의 통신모듈에 연결되며 물리계층신호와 이더넷 데이타간에 변환을 수행하는 제2물리계층모듈;A second physical layer module connected to a communication module of a PC and performing conversion between a physical layer signal and Ethernet data; 상기 특정 어플리케이션용 하드웨어장치와 연결되며 물리계층신호와 이더넷데이터간의 변환을 수행하는 제3물리계층모듈;A third physical layer module connected to the hardware device for a specific application and performing conversion between a physical layer signal and Ethernet data; 상기 제2물리계층모듈과 제3물리계층모듈로부터 입력되는 송신데이타에 포트번호에 따른 우선권을 주어 순서대로 제1물리계층모듈을 통해 인터넷으로 송신하는 송신모듈;A transmission module which gives priority to transmission data input from the second physical layer module and the third physical layer module according to a port number, and transmits the data to the Internet through the first physical layer module in order; 상기 제3물리계층모듈에 연결된 특정 어플리케이션용 하드웨어장치의 포트번호를 저장하는 포트번호저장기;A port number store for storing a port number of a hardware device for a specific application connected to the third physical layer module; 상기 제1물리계층모듈을 통해 수신된 인터넷 데이타의 수신지포트번호를 상기 포트번호저장기에 저장된 포트번호와 비교하여 목적포트를 판단하고 제2물리계층모듈 또는 제3물리계층모듈을 통해 PC의 통신모듈 또는 특정 어플리케이션용 하드웨어장치로 전송하는 수신모듈;로 이루어지는 것을 특징으로 하는 포트번호를 이용한 아이피(IP)주소 공유 장치.The destination port number of the Internet data received through the first physical layer module is compared with the port number stored in the port number storage unit to determine the destination port, and the communication module of the PC through the second physical layer module or the third physical layer module. Or a receiving module for transmitting to a hardware device for a specific application. 제 1 항에 있어서, 상기 수신모듈은The method of claim 1, wherein the receiving module 상기 제1물리계층모듈을 통해 입력된 수신데이타를 목적지 결정시까지 보관하는 제1버퍼;A first buffer for storing received data inputted through the first physical layer module until determining a destination; 수신데이타를 제2물리계층모듈로 동기화하여 전송하기 위한 제2버퍼;A second buffer for transmitting the received data in synchronization with the second physical layer module; 수신데이타를 제3물리계층모듈로 동기화하여 전송하기 위한 제3버퍼;A third buffer for synchronizing and transmitting the received data to the third physical layer module; 상기 제1버퍼로 입력된 수신데이타의 수신지 포트번호를 상기 포트번호저장기에 저장된 포트번호와 일치하는지 비교하는 비교회로;A comparison circuit for comparing a destination port number of the reception data inputted to the first buffer with a port number stored in the port number storage unit; 상기 비교회로의 비교결과에 따라서 포트번호가 일치하는 수신데이타는 제3버퍼로 포트번호와 일치하지 않는 수신데이타는 제2버퍼로 출력하는 디멀티플렉서;A demultiplexer for outputting received data whose port numbers match the third buffer according to a comparison result of the comparison circuit, and outputting received data that does not match the port number to the second buffer; 로 이루어지는 것을 특징으로 하는 포트번호를 이용한 아이피(IP)주소 공유장치.IP (IP) address sharing device using a port number, characterized in that consisting of. 제 1 항에 있어서, 상기 송신모듈은The method of claim 1, wherein the transmitting module 제2물리계층모듈을 통해 입력된 송신데이타를 저장하는 제4버퍼;A fourth buffer for storing transmission data input through the second physical layer module; 제3물리계층모듈을 통해 입력된 송신데이타를 저장하는 제5버퍼;A fifth buffer for storing transmission data input through the third physical layer module; 송신데이타를 제1물리계층모듈에 동기화하여 전송하기 위한 제6버퍼;A sixth buffer for transmitting the transmission data in synchronization with the first physical layer module; 제4버퍼와 제5버퍼의 데이타중 하나를 선택하여 제6버퍼로 전달하는 멀티플렉서;A multiplexer for selecting one of the fourth buffer and the fifth buffer and transferring the selected data to the sixth buffer; 상기 제5버퍼의 데이타가 먼저 전송되도록 멀티플렉서의 선택 동작을 제어하는 우선권결정모듈;A priority determining module controlling a selection operation of the multiplexer so that data of the fifth buffer is transmitted first; 로 이루어지는 것을 특징으로 하는 포트번호를 이용한 아이피(IP)주소 공유장치.IP (IP) address sharing device using a port number, characterized in that consisting of. 제 1 항 내지 제 3 항중 어느 한 항에 있어서,The method according to any one of claims 1 to 3, 상기 포트번호를 이용한 아이피(IP)주소 공유장치는 각각 서로 다른 어플리케이션용 하드웨어장치에 연결되는 둘 이상의 제3물리계층모듈을 구비하고, 상기 어플리케이션용 하드웨어장치의 각각 포트번호를 지정하고 소정 순서로 우선권을 부여하여, 포트번호의 체크에 의해 부여된 순서에 따라 데이타를 송수신하도록 하는 것을 특징으로 하는 포트번호를 이용한 아이피(IP) 주소 공유장치.The IP address sharing apparatus using the port number includes two or more third physical layer modules connected to hardware devices for different applications, respectively, and assigns port numbers of the hardware devices for the applications, and priorities in a predetermined order. And IP address sharing apparatus using a port number, characterized in that to transmit and receive data in the order given by the check of the port number. 제 1 항 내지 제 3 항중 어느 한 항에 있어서,The method according to any one of claims 1 to 3, 상기 제3물리계층모듈에 연결되는 특정 어플리케이션용 하드웨어장치는 인터넷전화 기능을 하는 것을 특징으로 하는 포트번호를 이용한 아이피(IP)주소 공유장치.The specific application hardware device connected to the third physical layer module IP (IP) address sharing device using a port number, characterized in that the function of the Internet phone.
KR1020000040404A 2000-07-14 2000-07-14 Apparatus for being shared ip address by port number KR100341880B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000040404A KR100341880B1 (en) 2000-07-14 2000-07-14 Apparatus for being shared ip address by port number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000040404A KR100341880B1 (en) 2000-07-14 2000-07-14 Apparatus for being shared ip address by port number

Publications (2)

Publication Number Publication Date
KR20020007477A true KR20020007477A (en) 2002-01-29
KR100341880B1 KR100341880B1 (en) 2002-06-26

Family

ID=19677993

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000040404A KR100341880B1 (en) 2000-07-14 2000-07-14 Apparatus for being shared ip address by port number

Country Status (1)

Country Link
KR (1) KR100341880B1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030068309A (en) * 2002-02-15 2003-08-21 엘지전자 주식회사 Computer of compatible internet phone
KR20030081840A (en) * 2002-04-13 2003-10-22 (주)애트리움씨앤아이 METHOD FOR HOLDING A GLOBAL IP IN COMMON TO REALIZE A VoIP
EP1779255A2 (en) * 2004-08-16 2007-05-02 i2Telecom International, Inc. A system and method for sharing an ip address
WO2012035067A1 (en) 2010-09-15 2012-03-22 International Business Machines Corporation Multiple virtual machines sharing a single ip address
WO2021080106A1 (en) * 2019-10-22 2021-04-29 에스케이텔레콤 주식회사 Apparatus for transmitting and receiving data of repeater apparatus and method therefor

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030068309A (en) * 2002-02-15 2003-08-21 엘지전자 주식회사 Computer of compatible internet phone
KR20030081840A (en) * 2002-04-13 2003-10-22 (주)애트리움씨앤아이 METHOD FOR HOLDING A GLOBAL IP IN COMMON TO REALIZE A VoIP
EP1779255A2 (en) * 2004-08-16 2007-05-02 i2Telecom International, Inc. A system and method for sharing an ip address
EP1779255A4 (en) * 2004-08-16 2010-06-02 I2Telecom International Inc A system and method for sharing an ip address
WO2012035067A1 (en) 2010-09-15 2012-03-22 International Business Machines Corporation Multiple virtual machines sharing a single ip address
DE112011103082T5 (en) 2010-09-15 2013-08-01 International Business Machines Corp. Multiple virtual machines sharing a single IP address
WO2021080106A1 (en) * 2019-10-22 2021-04-29 에스케이텔레콤 주식회사 Apparatus for transmitting and receiving data of repeater apparatus and method therefor
KR20210047701A (en) * 2019-10-22 2021-04-30 에스케이텔레콤 주식회사 Apparatus for transmitting and receiving data of repeater and method therefor
US11689494B2 (en) 2019-10-22 2023-06-27 Sk Telecom Co., Ltd. Data transceiving device and method in repeater apparatus

Also Published As

Publication number Publication date
KR100341880B1 (en) 2002-06-26

Similar Documents

Publication Publication Date Title
US7020720B1 (en) Apparatus and method for providing a globally routable bypass IP address to a host computer on a private network
US7664119B2 (en) Method and apparatus to perform network routing
US7779158B2 (en) Network device
KR100748696B1 (en) Resource reservation protocol supporting system and method in integrated ipv4/ipv6 network
JP2005525025A (en) Switching architecture using packet encapsulation
US7298745B2 (en) Method and apparatus to manage packet fragmentation with address translation
Babatunde et al. A comparative review of internet protocol version 4 (ipv4) and internet protocol version 6 (ipv6)
US20120027008A1 (en) Addressing Techniques For Voice Over Internet Protocol Router
KR100311020B1 (en) How to transfer data between networks
US20060140174A1 (en) VoIP (voice over internet protocol) call processing
US7035250B2 (en) System for organizing voice channel data for network transmission and/or reception
KR100279622B1 (en) Method and apparatus for controlling voice packet transmission
KR100341880B1 (en) Apparatus for being shared ip address by port number
US6639915B1 (en) Method and apparatus for transmission of voice data in a network structure
JPH1013471A (en) Inter-network connection system and domain name managing method
KR100336998B1 (en) Method For Network Address Translation By Source Address
WO2002056543A1 (en) Router and method for providing different bandwidth services for different ip groups
Cisco Configuring TCP/IP
KR20010073827A (en) Method for expanding address for internet protocol version 4 in internet edge router
KR100596587B1 (en) inter-working function apparatus, and method for converting real-time traffic using the same
KR100552515B1 (en) Apparatus and method for packet processing
KR100602600B1 (en) A VoIP TRAFFIC PROCESSING SYSTEM
KR100233840B1 (en) Structure of the hub in satellite network to support public and private ip address and operating method thereof
KR20100086640A (en) Single chip processor supporting communication connection between outer net apparatus and inner net apparatus not having public ip address
KR100711163B1 (en) Address mapping apparatus and the method of the data packet repeater

Legal Events

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

Payment date: 20130510

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20140522

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20150527

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20160323

Year of fee payment: 15

FPAY Annual fee payment

Payment date: 20170427

Year of fee payment: 16

FPAY Annual fee payment

Payment date: 20180426

Year of fee payment: 17

FPAY Annual fee payment

Payment date: 20190328

Year of fee payment: 18