KR20040098916A - Virtual communication channel configuration method in ethernet based system - Google Patents

Virtual communication channel configuration method in ethernet based system Download PDF

Info

Publication number
KR20040098916A
KR20040098916A KR1020030031243A KR20030031243A KR20040098916A KR 20040098916 A KR20040098916 A KR 20040098916A KR 1020030031243 A KR1020030031243 A KR 1020030031243A KR 20030031243 A KR20030031243 A KR 20030031243A KR 20040098916 A KR20040098916 A KR 20040098916A
Authority
KR
South Korea
Prior art keywords
ethernet
channel
data
virtual communication
channel information
Prior art date
Application number
KR1020030031243A
Other languages
Korean (ko)
Inventor
김상오
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020030031243A priority Critical patent/KR20040098916A/en
Publication of KR20040098916A publication Critical patent/KR20040098916A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • 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
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/351Switches specially adapted for specific applications for local area network [LAN], e.g. Ethernet switches

Abstract

PURPOSE: A method for forming a virtual communication channel in an Ethernet-based system using an Ethernet multi-cast address is provided to transfer an Ethernet frame including an Ethernet multi-cast address by using the Ethernet multi-cast address as a channel identifier. CONSTITUTION: Channel information assigned to each channel is stored according to a setting state of a system operator(S41). Transmitting data and channel information related the transmitting data are received from an user interface(S43). The stored Ethernet multi-cast address is read according to the received channel information. An Ethernet frame is formed by using the received data and the Ethernet multi-cast address and the Ethernet frame is transmitted(S44).

Description

이더넷을 기반으로 하는 시스템에서의 가상 통신 채널 구현 방법{VIRTUAL COMMUNICATION CHANNEL CONFIGURATION METHOD IN ETHERNET BASED SYSTEM}How to Implement Virtual Communication Channel in Ethernet-based System {VIRTUAL COMMUNICATION CHANNEL CONFIGURATION METHOD IN ETHERNET BASED SYSTEM}

본 발명은 근거리 통신 시스템에 관한 것으로, 특히 이더넷을 기반으로 하는 시스템에서 다수의 가상 통신 채널을 구현하여 데이터를 송수신할 시, 이더넷 멀티캐스트(Multicast) 주소를 특정의 가상 통신 채널을 구별하는 채널 식별자로 사용하여 이더넷 프레임의 발신지 주소 필드에 상기 이더넷 멀티캐스트 주소를 포함하여 이더넷 프레임을 구성하고, 그에 따라 수신된 이더넷 프레임의 목적지 주소에 포함된 이더넷 멀티캐스트 주소에 자신의 호스트 시스템의 이더넷 주소가 첨부되어 있는 이더넷 프레임만을 선택적으로 이더넷 구동부로 전달하여 수신된 데이터를 처리하는 이더넷을 기반으로 하는 시스템에서의 가상 통신 채널 구현 방법에 관한 것이다.The present invention relates to a local area communication system, and in particular, a channel identifier for distinguishing a specific virtual communication channel from an Ethernet multicast address when transmitting and receiving data by implementing a plurality of virtual communication channels in an Ethernet based system. Configure the Ethernet frame by including the Ethernet multicast address in the source address field of the Ethernet frame, and append the Ethernet address of its host system to the Ethernet multicast address contained in the destination address of the received Ethernet frame. The present invention relates to a method of implementing a virtual communication channel in an Ethernet-based system for processing received data by selectively transmitting only an Ethernet frame to an Ethernet driver.

일반적으로, 이더넷(Ethernet)이라 함은 호스트 시스템간의 거리 약 2.5km 내에서 최대수 1,024개의 호스트 시스템 상호간에 10Mbps 또는 그 이상의 전송 속도로 정보를 교환할 수 있는 근거리 통신망을 말하는 것으로, 그 통신 방식은 이더넷 스위치단 또는 이더넷 스위치와 데이터 단말장치(Data Terminal Equipment, DTE)간에 IEEE 802.3 규격의 CSMA/CD(Carrier Sense Multiple Access with Collision Detection)방식에 따라 MAC(Media Access Control) 프레임인 이더넷 프레임을 송수신하는 형태로 이루어진다.In general, Ethernet refers to a local area network that can exchange information at a transmission speed of 10 Mbps or more between a maximum of 1,024 host systems within a distance of about 2.5 km between host systems. Transmitting / receiving Ethernet frames, which are MAC (Media Access Control) frames, based on the IEEE 802.3 standard CSMA / CD (Carrier Sense Multiple Access with Collision Detection) between Ethernet switches or Ethernet switches and Data Terminal Equipment (DTE) In the form of

그리고, 최근에는 대역폭이 100Mbps인 고속 이더넷(Fast Ethernet)이나, 광통신망을 이용하여 초당 10 기가의 데이터 속도를 제공하는 10-기가비트(Gigabit) 이더넷도 등장하고 있다.Recently, Fast Ethernet, which has a bandwidth of 100 Mbps, or 10-Gigabit Ethernet, which provides a data rate of 10 gigabits per second using an optical communication network, has also emerged.

한편, 종래 이더넷을 기반으로 하는 시스템의 구조는 도1에 도시한 바와 같이, 이더넷 인터페이스부(11), 이더넷 구동부(12), 사용자 인터페이스부(13), 멀티캐스트(Multicast) 주소 데이터베이스(14)로 구성된다.On the other hand, the structure of the conventional Ethernet-based system is, as shown in Figure 1, the Ethernet interface unit 11, Ethernet driver 12, the user interface unit 13, the multicast address database 14 It consists of.

이더넷 인터페이스부(11)는 이더넷(10)을 통하여 물리적으로 연결된 하드웨어로서 일반적으로 네트워크 카드라고 불리며, 이더넷(10)을 통하여 연결된 타측 호스트 시스템(미도시)과 실제적으로 이더넷 프레임을 송수신하는 역할을 한다.The Ethernet interface unit 11 is hardware that is physically connected through the Ethernet 10 and is generally called a network card, and actually transmits and receives an Ethernet frame with another host system (not shown) connected through the Ethernet 10. .

그리고, 이더넷(10)을 통해 데이터를 수신할 시, 상기 이더넷 인터페이스부(11)는 이더넷(10)을 통한 이더넷 프레임의 전송이 있는지 여부를 감시하고 있다가, 수신된 이더넷 프레임의 목적지 주소가 자신의 이더넷 주소와 일치하거나 수신된 이더넷 프레임이 포함된 이더넷 멀티캐스트 주소에 자신의 멀티캐스트 주소 데이터베이스(14)에 기저장된 이더넷 멀티캐스트 주소가 포함되어 있는 이더넷 프레임만을 읽어 이더넷 구동부(12)로 전달한다.When receiving data through the Ethernet 10, the Ethernet interface unit 11 monitors whether there is an Ethernet frame transmission through the Ethernet 10, and the destination address of the received Ethernet frame is itself. Reads only the Ethernet frame that contains the Ethernet multicast address previously stored in its multicast address database 14 in the Ethernet multicast address that matches the Ethernet address of the received Ethernet frame or the received Ethernet frame, and transmits the Ethernet frame to the Ethernet driver 12. .

그리고, 이더넷 구동부(12)는 상기 이더넷 인터페이스부(11)가 연결된 호스트 시스템의 중앙처리장치(미도시)가 수행하는 소프트웨어 모듈의 하나로서, 하드웨어적인 장치인 상기 이더넷 인터페이스부(11)를 제어하여 이더넷 프레임의 송수신을 가능하게 한다.In addition, the Ethernet driver 12 is one of software modules executed by a central processing unit (not shown) of a host system to which the Ethernet interface unit 11 is connected, and controls the Ethernet interface unit 11, which is a hardware device. Enables transmission and reception of Ethernet frames.

그리고, 사용자 인터페이스부(13)는 서로 다른 기기들이 데이터 통신을 하는데 필요한 통신 규약을 구현해 주는 소프트웨어 모듈들의 모임에 해당하는 통신규약 스택(Protocol Stack)으로서, 시스템 운용자의 설정에 따라 상기 사용자 인터페이스부(13)는 이더넷(10)을 기반으로 하는 시스템 상에서 해당 통신 규약을 구현하는 역할을 하며, 예를 들어 호스트 시스템의 운영체계의 한 부분인 TCP/IP 스택(Stack)이 이에 해당한다.In addition, the user interface unit 13 is a protocol stack corresponding to a collection of software modules that implements a communication protocol required for data communication between different devices. The user interface unit 13 may be configured according to a user's setting. 13) implements a corresponding communication protocol on a system based on the Ethernet 10, for example, a TCP / IP stack, which is a part of an operating system of the host system.

한편, 이더넷 구동부(12)는 이더넷 인터페이스부(11)에 할당된 이더넷 주소를 가지고 있는데, 이더넷(10)을 통해 데이터를 전송할 시 그 할당된 이더넷 주소를 이용하여, 도2와 같이 전송할 이더넷 프레임을 구성한다.On the other hand, the Ethernet driver 12 has an Ethernet address assigned to the Ethernet interface unit 11, when transmitting data through the Ethernet 10, using the assigned Ethernet address, the Ethernet frame to be transmitted as shown in FIG. Configure.

즉, 상기 이더넷 프레임은 통상 8바이트(Byte)의 프리앰블(Preamble)을 제외하고 최소 64바이트로 구성되며, 목적지 주소, 발신지 주소, 타입(Type), 데이터, 주기적 덧붙임 검사(Cyclic Redundancy Check, CRC) 등의 필드로 이루어진다.That is, the Ethernet frame is generally composed of at least 64 bytes excluding a preamble of 8 bytes, and includes a destination address, a source address, a type, data, and a cyclic redundancy check (CRC). It consists of such fields.

또한, 종래와 같은 이더넷을 기반으로 하는 시스템에서 다수의 가상 통신 채널을 구성할 시 이더넷 프레임의 타입(Type) 필드를 채널 식별자로 이용하는데, 먼저 시스템 운용자의 설정에 따라 사용자 인터페이스부(13)가 채널 번호와 그 채널이 사용할 타입값을 이더넷 구동부(12)에 등록하여 채널을 설정하는 작업이 이루어진다.In addition, when configuring a plurality of virtual communication channels in the Ethernet-based system as in the prior art, the type field of the Ethernet frame is used as the channel identifier. The operation of setting a channel is performed by registering the channel number and the type value to be used by the channel to the Ethernet driver 12.

그러면, 그 채널 설정 작업에따라상기 이더넷 구동부(12)가 모든 이더넷 프레임을 수신할 수 있도록 이더넷 인터페이스부(11)를 제어한다.Then, the Ethernet driver 12 controls the Ethernet interface unit 11 to receive all Ethernet frames according to the channel setting operation.

즉, 특정의 가상 통신 채널을 통하여 데이터를 전송하고자 하는 경우, 사용자 인터페이스부(13)에서 전송할 데이터와 데이터를 전송할 채널의 번호를 이더넷 구동부(12)로 전달하면, 상기 이더넷 구동부(12)는 상기 데이터를 도2와 같은 형태로 변환하여 이더넷 프레임을 구성하고, 이를 이더넷 인터페이스부(11) 및 이더넷(10)을 통해 수신측 호스트 시스템으로 전송한다.That is, when data is to be transmitted through a specific virtual communication channel, when the user interface unit 13 transmits the data to be transmitted and the number of the channel to which the data is to be transmitted to the Ethernet driver 12, the Ethernet driver 12 is configured to transmit the data. By converting the data into the form as shown in Figure 2 to configure an Ethernet frame, it is transmitted to the receiving host system through the Ethernet interface unit 11 and Ethernet (10).

이때, 이더넷 프레임의 타입(Type) 필드에는 특정의 가상 채널별로 할당된 타입값을 입력하는데, 상기 타입 필드는 수신측 호스트 시스템이 어느 가상 채널을 통하여 이더넷 프레임의 데이터를 수신하였는지를 확인할 수 있는 정보를 제공하는 채널 식별자 역할을 한다.In this case, a type value allocated for each specific virtual channel is input to the type field of the Ethernet frame, and the type field indicates information on which virtual channel the receiving host system receives the Ethernet frame data. It serves as a channel identifier to provide.

그리고, 상기 이더넷 프레임에는 이더넷 구동부(12)가 관리하는 이더넷 인터페이스부(11)의 이더넷 주소를 발신지 주소 필드에 입력하고, 목적지 주소는 자신이 사용하고자 하는 특정 가상 채널의 수신측 호스트 시스템의 이더넷 인터페이스부의 이더넷 주소를 입력한다.In the Ethernet frame, the Ethernet address of the Ethernet interface unit 11 managed by the Ethernet driver 12 is input to the source address field, and the destination address is the Ethernet interface of the receiving host system of the specific virtual channel to be used. Enter the negative Ethernet address.

한편, 특정의 가상 통신 채널을 통하여 데이터를 수신하는 경우, 이더넷 인터페이스부(11)는 이더넷(10)을 통해 감지되는 송신측 호스트 시스템으로부터의 모든 이더넷 프레임을 읽어 이더넷 구동부(12)로 전달하고, 상기 이더넷 구동부(12)는 그 전달된 이더넷 프레임의 타입(Type) 필드를 조사한다.Meanwhile, when receiving data through a specific virtual communication channel, the Ethernet interface unit 11 reads all Ethernet frames from the transmitting host system detected through the Ethernet 10 and transfers them to the Ethernet driver 12. The Ethernet driver 12 examines the type field of the transmitted Ethernet frame.

즉, 그 타입 필드값이 기저장된 타입값과 동일한 것이 있는지 여부를 일일이 비교하여, 상기 전달된 이더넷 프레임의 타입값이 자신이 송수신 하기로 되어 있는 채널 식별자에 해당하는 값인지 여부를 판단한다.That is, the type field value is compared with the previously stored type value, and it is determined whether the type value of the transmitted Ethernet frame corresponds to a channel identifier which is to be transmitted and received.

그리고, 상기 판단 결과, 상기 이더넷 인터페이스부(11)로부터 전달된 이더넷 프레임이 자신이 수신하기로 되어 있는 타입값을 갖는 경우, 상기 이더넷 프레임에서 추출한 데이터 및 채널 식별자를 사용자 인터페이스부(13)로 전송하여 수신된 데이터를 처리하게 한다.When the Ethernet frame transmitted from the Ethernet interface unit 11 has a type value that is determined to be received by the determination result, the data and channel identifier extracted from the Ethernet frame are transmitted to the user interface unit 13. To process the received data.

그런데, 상기와 같은 종래 기술에 있어서, 이더넷을 기반으로 하는 시스템에서 다수의 가상 통신 채널을 구성하여 이더넷을 통해 데이터를 수신하는 경우, 이더넷을 통해서 전송되는 모든 이더넷 프레임을 우선 수신한 다음, 수신된 이더넷 프레임의 타입 필드값을 자신이 송수신할 수 있는 기저장된 채널 식별자와 일일이 비교하여 상기 수신된 이더넷 프레임으로부터 데이터를 추출함으로써, 이더넷을 통하여 전송되는 이더넷 프레임의 수가 증가할수록 호스트 시스템의 계산량이 증가하여, 그 처리를 위한 시간 지연이 증가하고, 그에 따라 호스트 시스템의 처리 성능이 저하되는 문제점이 있었다.However, in the conventional technology as described above, when receiving a data through the Ethernet by configuring a plurality of virtual communication channels in the Ethernet-based system, first receiving all the Ethernet frames transmitted over the Ethernet, and then received By comparing the type field value of the Ethernet frame with a pre-stored channel identifier that can transmit and receive data, and extracting data from the received Ethernet frame, the amount of computation of the host system increases as the number of Ethernet frames transmitted through Ethernet increases. In other words, there is a problem that the time delay for the processing increases, and thus the processing performance of the host system decreases.

또한, 이더넷 프레임의 타입 필드는 2바이트로 구성되어 있는데, '0비트에서 1500비트까지의 값'은 IEEE 802.3 규약에서 길이(Length)로, '2048번째 비트 및 2054번째 비트' 역시 인터넷 프로토콜(Internet Protocol, IP) 및 주소 해결 프로토콜(Address Resolution Protocol, ARP)의 의미로 사용되고 있으므로, 채널의 식별자로 타입값을 사용하는 경우 채널 식별자를 선택하는데 제약이 따를 뿐만 아니라, 상기와 같이 이미 정의된 타입값을 채널 식별자로 하여 데이터를 송수신하기 위해서는 별도의 인코딩이 수반되어야 하므로, 프로세서의 추가로 인한 별도의 비용이 증가하는 문제점이 있었다.In addition, the type field of the Ethernet frame is composed of 2 bytes. The value from 0 to 1500 bits is the length in the IEEE 802.3 protocol. The '2048th and 2054th bits' are also referred to as Internet protocols. Protocol, IP) and Address Resolution Protocol (ARP), which means that when using a type value as an identifier of a channel, it is not only limited to selecting a channel identifier, but also a type value already defined as described above. In order to transmit and receive data with the channel identifier, a separate encoding must be accompanied, and thus, a separate cost due to the addition of a processor increases.

따라서, 본 발명은 상기와 같은 종래의 문제점을 해결하기 위하여 제안한 것으로, 이더넷을 기반으로 하는 시스템에서 다수의 가상 통신 채널을 구현하여 데이터를 송수신할 시, 이더넷 멀티캐스트(Multicast) 주소를 특정의 가상 통신 채널을 구별하는 채널 식별자로 사용하여 이더넷 프레임의 발신지 주소 필드에 상기 이더넷 멀티캐스트 주소를 포함하여 이더넷 프레임을 구성하고, 그에 따라 수신된 이더넷 프레임의 목적지 주소에 포함된 이더넷 멀티캐스트 주소에 자신의 호스트 시스템의 이더넷 주소가 첨부되어 있는 이더넷 프레임만을 선택적으로 이더넷 구동부로 전달하여 수신된 데이터를 처리하도록 하는 방법을 제공함에 그 목적이 있다.Accordingly, the present invention has been proposed to solve the above-mentioned conventional problems, and when the Ethernet-based system implements a plurality of virtual communication channels to transmit and receive data, the Ethernet multicast address is specified as a specific virtual. Configures an Ethernet frame by including the Ethernet multicast address in the source address field of the Ethernet frame using the channel identifier that distinguishes the communication channel, and accordingly the Ethernet multicast address contained in the destination address of the received Ethernet frame. An object of the present invention is to provide a method of selectively transmitting only an Ethernet frame to which an Ethernet address of a host system is attached to an Ethernet driver to process received data.

도1은 종래 이더넷을 기반으로 하는 시스템의 구조를 보인 블록도.1 is a block diagram showing the structure of a system based on a conventional Ethernet.

도2는 종래 이더넷을 기반으로 하는 시스템에서, 이더넷 프레임의 구조를 보인 도면.2 is a view showing the structure of an Ethernet frame in a system based on a conventional Ethernet.

도3은 본 발명 이더넷을 기반으로 하는 시스템에서의 가상 통신 채널 구현 방법을 구현한 장치의 구성을 보인 블록도.Figure 3 is a block diagram showing the configuration of an apparatus implementing the virtual communication channel implementation method in a system based on the present invention Ethernet.

도4는 본 발명 이더넷을 기반으로 하는 시스템에서의 가상 통신 채널 구현 방법의 동작과정을 보인 순서도.Figure 4 is a flow chart showing the operation of the virtual communication channel implementation method in a system based on the present invention Ethernet.

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

30 : 이더넷 31 : 이더넷 인터페이스부30: Ethernet 31: Ethernet interface unit

32 : 이더넷 구동부 33 : 사용자 인터페이이스부32: Ethernet drive unit 33: user interface unit

34 : 멀티캐스트 주소 데이터베이스 35 : 채널정보 데이터베이스34: multicast address database 35: channel information database

이와 같은 목적을 달성하기 위한 본 발명은, 특정의 가상 통신 채널을 통하여 데이터를 송신하는 경우, 시스템 운용자의 설정에 따라 채널별로 할당된 채널정보를 저장한 다음, 사용자 인터페이스부로부터 전송할 데이터 및 그 전송에 사용하기 위해 지정된 채널정보를 수신하는 단계와; 상기 수신된 채널정보에 따라 기저장된 이더넷 멀티캐스트 주소를 읽어, 상기 수신된 데이터 및 그 읽은 이더넷 멀티캐스트 주소를 이용하여 이더넷 프레임을 구성하여 전송하는 단계를 포함하는 것을 특징으로 한다.In order to achieve the above object, the present invention, when transmitting data through a specific virtual communication channel, after storing the channel information allocated to each channel according to the setting of the system operator, and then the data to be transmitted from the user interface unit and its transmission Receiving channel information designated for use in a network; And reading the prestored Ethernet multicast address according to the received channel information, and constructing and transmitting an Ethernet frame using the received data and the read Ethernet multicast address.

이하, 본 발명에 따른 일실시예를 첨부한 도면을 참조하여 상세히 설명하면다음과 같다.Hereinafter, an embodiment according to the present invention will be described in detail with reference to the accompanying drawings.

도3은 본 발명 이더넷을 기반으로 하는 시스템에서의 가상 통신 채널 구현 방법을 구현한 장치의 구성을 보인 블록도로서, 이에 도시한 바와 같이, 이더넷 인터페이스부(31), 이더넷 구동부(32), 사용자 인터페이스부(33), 멀티캐스트 주소 데이터베이스(34), 채널 정보 데이터베이스(35)로 구성한다.Figure 3 is a block diagram showing the configuration of the device for implementing the virtual communication channel implementation method in the Ethernet-based system of the present invention, as shown, Ethernet interface unit 31, Ethernet driver 32, the user The interface unit 33, the multicast address database 34, and the channel information database 35 are configured.

본 발명은 고속 이더넷(Fast Ethernet), 10-기가비트(Gigabit) 이더넷 등의 이더넷을 기반으로 하는 근거리 통신망 상의 시스템에 적용한다.The present invention applies to a system on a local area network based on Ethernet, such as Fast Ethernet, 10-Gigabit Ethernet, and the like.

그리고, 상기와 같은 이더넷을 기반으로 하는 시스템에서 다수의 가상 통신 채널을 구현하여 데이터를 송수신할 시, 본 발명은 이더넷 멀티캐스트(Multicast) 주소를 특정의 가상 통신 채널을 구별하는 채널 식별자로 사용하는데, 특정의 가상 통신 채널을 통해 데이터를 송신하는 경우 시스템 운용자의 설정에 따라 사용자 인터페이스부(33)에서 전송할 데이터와 다수 개의 가상 통신 채널 중 그 전송에 사용될 가상 통신 채널의 번호를 지정하면, 이더넷 구동부(32)가 채널정보 데이터베이스(35)로부터 그 지정된 가상 통신 채널 번호에 해당하는 이더넷 멀티캐스트 주소를 읽어, 이더넷 프레임의 발신지 주소 필드에 자신의 유니캐스트(Unicast) 주소 대신에 상기 읽은 이더넷 멀티캐스트 주소를 기록하여 이더넷 프레임을 구성한 다음 이더넷(30)을 통해 전송한다.In addition, when transmitting and receiving data by implementing a plurality of virtual communication channels in an Ethernet-based system, the present invention uses an Ethernet multicast address as a channel identifier for identifying a specific virtual communication channel. In case of transmitting data through a specific virtual communication channel, if the user interface unit 33 designates the data to be transmitted and the number of the virtual communication channel to be used for the transmission among the plurality of virtual communication channels according to the setting of the system operator, the Ethernet driver The Ethernet 32 reads the Ethernet multicast address corresponding to the designated virtual communication channel number from the channel information database 35, and replaces the read Ethernet multicast address instead of its unicast address in the source address field of the Ethernet frame. To configure the Ethernet frame and send it via Ethernet (30) .

또한, 이더넷(30)을 사용한 특정의 가상 통신 채널을 통해 데이터를 수신하는 경우, 이더넷 인터페이스부(31)가 이더넷(30)으로부터 이더넷 프레임을 감지하여 그 목적지 주소 필드로부터 이더넷 멀티캐스트 주소를 읽어 자신의 주소를 목적지 주소로 하는 이더넷 프레임만을 추출하여 이더넷 구동부(32)로 전달하고, 상기 이더넷 구동부(32)는 그 추출된 이더넷 프레임으로부터 가상 통신 채널의 번호 및 데이터를 읽어 사용자 인터페이스부(33)로 전달하여 수신된 데이터를 처리한다.In addition, when receiving data through a specific virtual communication channel using Ethernet 30, Ethernet interface unit 31 detects an Ethernet frame from Ethernet 30 and reads the Ethernet multicast address from its destination address field. Extracts only the Ethernet frame having the address as a destination address and transfers it to the Ethernet driver 32, and the Ethernet driver 32 reads the number and data of the virtual communication channel from the extracted Ethernet frame to the user interface 33. Deliver and process the received data.

본 발명에서, 이더넷 인터페이스부(31)는 이더넷(30)을 통해 데이터를 송수신하기 위하여, 상기 이더넷 인터페이스부(31)가 설치된 시스템을 다수 개의 타측 호스트 시스템(미도시)과 물리적으로 연결하는 하드웨어를 말하며, 일반적으로 네트워크 카드라고도 불린다.In the present invention, the Ethernet interface 31 is a hardware for physically connecting the system in which the Ethernet interface unit 31 is installed with a plurality of other host systems (not shown) in order to transmit and receive data through the Ethernet (30). It is also commonly called a network card.

그리고, 상기 이더넷 인터페이스부(31)는 이더넷 구동부(32)의 제어에 따른 이더넷 프레임의 전송명령이 있는지 여부 또는 이더넷(30)을 통한 이더넷 프레임의 전송이 있는지 여부를 감지하여 데이터의 송수신 여부를 판단하는데, 상기 이더넷 구동부(32)의 제어에 따른 이더넷 프레임의 전송명령이 있어 데이터를 송신하는 경우, 이더넷 구동부(32)로부터 구성되어 전달된 이더넷 프레임을 이더넷(30)을 통해 송신한다.In addition, the Ethernet interface unit 31 determines whether there is an Ethernet frame transmission command under the control of the Ethernet driver 32 or whether there is an Ethernet frame transmission through the Ethernet 30 to determine whether data is transmitted or received. When the data is transmitted by the Ethernet frame transmission command under the control of the Ethernet driver 32, the Ethernet frame configured and transmitted from the Ethernet driver 32 is transmitted through the Ethernet 30.

그리고, 이더넷(30)을 통한 이더넷 프레임의 전송이 감지되어 특정의 가상 통신 채널을 통하여 데이터를 수신하는 경우, 감지된 이더넷 프레임의 이더넷 멀티캐스트 주소를 읽어 자신의 주소를 목적지 주소로 하는 이더넷 프레임 또는 멀티캐스트 주소 데이터베이스(34)에 기저장된 이더넷 멀티캐스트 주소를 목적지 주소로 하는 이더넷 프레임을 추출하여 이더넷 구동부(32)로 전달하는 역할을 한다.When the transmission of the Ethernet frame through the Ethernet 30 is detected and data is received through a specific virtual communication channel, the Ethernet frame having its own address as a destination address by reading the Ethernet multicast address of the detected Ethernet frame or It extracts an Ethernet frame, which is an Ethernet multicast address previously stored in the multicast address database 34 as a destination address, and delivers the Ethernet frame to the Ethernet driver 32.

상기 이더넷 인터페이스부(31)는 이더넷(10)을 통해 감지되는 이더넷 프레임의 목적지 주소 필드에 포함된 이더넷 멀티캐스트 주소를 읽어 해당 이더넷 프레임을 이더넷 구동부(32)로 전달한다.The Ethernet interface unit 31 reads the Ethernet multicast address included in the destination address field of the Ethernet frame detected through the Ethernet 10 and transfers the Ethernet frame to the Ethernet driver 32.

한편, 이더넷 구동부(32)는 상기 이더넷 인터페이스부(31)가 연결된 호스트 시스템의 중앙처리장치(미도시)가 수행하는 소프트웨어 모듈의 하나로서, 시스템 운용자의 설정에 따라 사용자 인터페이스부(33)로부터 채널별로 할당된 이더넷 멀티캐스트 주소 및 채널정보를 전달받아 채널정보 데이터베이스(35)에 저장한 다음, 하드웨어적인 장치인 상기 이더넷 인터페이스부(31)를 제어하여 이더넷 프레임의 송수신을 가능하게 한다.Meanwhile, the Ethernet driver 32 is one of software modules executed by a central processing unit (not shown) of a host system to which the Ethernet interface unit 31 is connected. The Ethernet driver 32 is a channel from the user interface unit 33 according to a system operator's setting. After receiving the Ethernet multicast address and channel information allocated to each channel and storing it in the channel information database 35, the Ethernet interface unit 31, which is a hardware device, is controlled to enable transmission and reception of Ethernet frames.

즉, 상기 이더넷 구동부(32)는 상기 채널정보 데이터베이스(35)에 기저장된 이더넷 멀티캐스트 주소를 이용하여 이더넷 프레임을 구성하여 데이터를 전송하거나, 기저장된 가상 통신 채널정보를 이용하여 수신된 이더넷 프레임의 가상 통신 채널의 번호 및 데이터를 읽어 사용자 인터페이스부(33)로 전달하여 수신된 데이터를 처리하게 한다.That is, the Ethernet driver 32 transmits data by configuring an Ethernet frame by using an Ethernet multicast address previously stored in the channel information database 35, or by using the prestored virtual communication channel information. The number and data of the virtual communication channel are read and transferred to the user interface 33 to process the received data.

그리고, 사용자 인터페이스부(33)는 서로 다른 호스트 시스템 혹은 통신기기들이 데이터 통신을 하는데 필요한 통신 규약을 구현해 주는 소프트웨어 모듈들의 모임에 해당하는 통신규약 스택(Protocol Stack)으로서, 상기 사용자 인터페이스부(33)은 이더넷(30)을 기반으로 하는 시스템 상에서 해당 통신 규약을 구현하는 역할을 하는데, 예를 들어 호스트 시스템의 운영체계의 한 부분인 TCP/IP 스택(Stack) 등이 이에 해당한다.In addition, the user interface unit 33 is a protocol stack corresponding to a collection of software modules that implement communication protocols required for data communication between different host systems or communication devices, and the user interface unit 33. Serves to implement a corresponding communication protocol on a system based on the Ethernet 30, for example, a TCP / IP stack, which is a part of an operating system of the host system.

한편, 본 발명의 동작과정을 도4의 순서도를 참조하여 설명하면, 먼저 이더넷(30)을 기반으로 하는 시스템에서의 이더넷 구동부(32)는 시스템 운용자가 사용자 인터페이스부(33)를 통해 채널 설정 명령을 입력하였는지 여부를 확인한다(S40).Meanwhile, referring to the flowchart of FIG. 4, an operation process of the present invention will be described first. In the Ethernet driver 32 in the system based on the Ethernet 30, a system operator commands a channel setting command through the user interface 33. Check whether or not the input (S40).

채널 설정 명령이 있는 경우 시스템 운용자의 설정에 따라 상기 사용자 인터페이스부(33)가 채널별로 할당된 채널정보를 전달하면, 이더넷 구동부(32)는 이를 전달받아 채널정보 데이터베이스(35)에 저장한다(S41).If there is a channel setting command, when the user interface unit 33 transmits channel information allocated for each channel according to a system operator's setting, the Ethernet driver 32 receives the channel information and stores it in the channel information database 35 (S41). ).

여기서, 상기 채널 정보는 각 채널별로 부여된 번호, 그 부여된 번호의 채널로 데이터를 전송할 시 발신지 주소로 사용할 이더넷 멀티캐스트 주소 등을 말한다.Here, the channel information refers to a number assigned to each channel, an Ethernet multicast address, etc. to be used as a source address when transmitting data through a channel of the assigned number.

그 다음, 이더넷 인터페이스부(31)는 이더넷 구동부(32)의 제어에 따른 이더넷 프레임의 전송명령이 있는지 여부 또는 이더넷(30)을 통한 이더넷 프레임의 전송이 있는지 여부를 감지하여 데이터의 송수신 여부를 판단한다(S42).Next, the Ethernet interface unit 31 determines whether there is an Ethernet frame transmission command under the control of the Ethernet driver 32 or whether there is an Ethernet frame transmission through the Ethernet 30 to determine whether data is transmitted or received. (S42).

이때, 상기 이더넷 구동부(32)의 제어에 따른 이더넷 프레임의 전송명령이 있어, 설정된 특정의 가상 통신 채널을 통해 데이터를 송신하는 경우, 상기 이더넷 구동부(32)는 사용자 인터페이스부(33)로부터 전송할 데이터 및 그 전송에 사용하기 위해 지정된 채널정보를 수신한 다음(S43), 상기 수신된 채널정보에 따라 기저장된 이더넷 멀티캐스트 주소를 읽어, 상기 수신된 데이터 및 그 읽은 이더넷 멀티캐스트 주소를 이용하여 이더넷 프레임을 구성하여 이더넷 인터페이스부(31)로 전달한 다음 이더넷(30)을 통해 목적지 주소로 송신한다(S44).At this time, when there is a transmission command of an Ethernet frame under the control of the Ethernet driver 32, and transmits data through a specific virtual communication channel, the Ethernet driver 32 transmits data from the user interface 33. And receiving the channel information designated for use in the transmission (S43), and then reading the prestored Ethernet multicast address according to the received channel information, and using the received data and the read Ethernet multicast address. This configuration is transmitted to the Ethernet interface unit 31 and then transmitted to the destination address through the Ethernet (30) (S44).

즉, 시스템 운용자의 설정에 따라 사용자 인터페이스부(33)에서 전송할 데이터와 그 전송에 시용하기 위해 지정된 채널정보를 이더넷 구동부(32)로 전달하면, 이를 전달받은 상기 이더넷 구동부(32)는 상기 지정된 채널정보에 포함된 다수 개의 가상 통신 채널 중 그 전송에 사용될 가상 통신 채널의 번호에 따라, 다수 개의 가상 통신 채널 정보를 기저장하고 있는 채널정보 데이터베이스(35)로부터 그 지정된 가상 통신 채널 번호에 해당하는 기저장된 이더넷 멀티캐스트(Multicast) 주소를 읽는다.That is, when the user interface unit 33 transmits the data to be transmitted and the channel information designated for use in the transmission to the Ethernet driver 32 according to the setting of the system operator, the Ethernet driver 32 that has received this is transferred to the designated channel. According to the number of the virtual communication channel to be used for the transmission among the plurality of virtual communication channels included in the information, the device corresponding to the designated virtual communication channel number from the channel information database 35 that stores the plurality of virtual communication channel information. Read the stored Ethernet Multicast address.

그리고, 전송할 데이터의 종류에 따라 자동으로 결정된 이더넷 프레임의 타입(Type) 필드 및 수신된 데이터가 기록된 데이터 필드와 함께, 이더넷 프레임의 발신지 주소 필드에 자신의 유니캐스트(Unicast) 주소 대신에 상기 읽은 기저장된 이더넷 멀티캐스트 주소를 기록하고, 상대측 호스트 시스템의 이더넷 주소를 목적지 주소 필드로 기록하여 이더넷 프레임을 구성하게 된다.In addition to the type field of the Ethernet frame determined automatically according to the type of data to be transmitted and the data field in which the received data is recorded, the read address instead of the unicast address in the source address field of the Ethernet frame is read. The Ethernet frame is composed by recording the pre-stored Ethernet multicast address and recording the Ethernet address of the partner host system in the destination address field.

여기서, 상기 이더넷 프레임은 통상 8바이트(Byte)의 프리앰블(Preamble)을 제외하고 최소한 64바이트로 구성되며, 목적지 주소, 발신지 주소, 타입(Type), 데이터, 주기적 덧붙임 검사(Cyclic Redundancy Check, CRC) 등으로 이루어진다.Here, the Ethernet frame is generally composed of at least 64 bytes except for 8 bytes of preambles, and includes a destination address, source address, type, data, and periodic redundancy check (CRC). And so on.

그리고, 상기 판단 결과, 이더넷(30)을 통한 이더넷 프레임의 전송이 감지되어 특정의 가상 통신 채널을 통하여 데이터를 수신하는 경우(S45), 상대측 호스트 시스템는 송신측 호스트 시스템에서 이더넷 프레임의 발신지 주소에 포함시킨 이더넷 멀티캐스트 주소를 송신할 이더넷 프레임의 목적지 주소로 하여 이더넷 프레임을 송신측 호스트 시스템으로 다시 전송하므로, 이더넷 인터페이스부(31)는 수신된 이더넷 프레임의 목적지 주소에 포함된 이더넷 멀티캐스트 주소를 읽어, 멀티캐스트 주소 데이터베이스(34)에 기저장된 이더넷 멀티캐스트 주소와 동일할 경우 해당 이더넷 프레임을 추출하여 이더넷 구동부(32)로 전달한다(S46).As a result of the determination, when transmission of the Ethernet frame through the Ethernet 30 is detected and data is received through a specific virtual communication channel (S45), the other host system is included in the source address of the Ethernet frame in the transmitting host system. Since the Ethernet frame is sent back to the sending host system, the Ethernet multicast address is transmitted as the destination address of the Ethernet frame to be transmitted. Therefore, the Ethernet interface unit 31 reads the Ethernet multicast address included in the destination address of the received Ethernet frame. If the same as the Ethernet multicast address previously stored in the multicast address database 34, the Ethernet frame is extracted and transferred to the Ethernet driver 32 (S46).

즉, 특정의 가상 통신 채널을 통하여 데이터를 수신할 시 이더넷 인터페이스부(31)로 수신되는 모든 이더넷 프레임을 이더넷 구동부(32)로 전달하는 것이 아니라, 수신된 이더넷 프레임의 목적지 주소에 포함된 이더넷 멀티캐스트 주소에 자신의 이더넷 주소가 첨부되어 있는 이더넷 프레임만을 선택적으로 상기 이더넷 구동부(32)로 전달하게 된다.That is, when receiving data through a specific virtual communication channel, not all Ethernet frames received by the Ethernet interface unit 31 are transferred to the Ethernet driver 32, but Ethernet multi-channels included in the destination address of the received Ethernet frame. Only the Ethernet frame having its own Ethernet address attached to the cast address is selectively transmitted to the Ethernet driver 32.

그 다음, 상기 이더넷 구동부(32)는 상기 추출된 이더넷 프레임에 따라 채널정보 데이터베이스(35)를 통해 채널정보를 검색하고(S47), 상기 추출된 이더넷 프레임으로부터 데이터를 읽는다(S48).Next, the Ethernet driver 32 searches for channel information through the channel information database 35 according to the extracted Ethernet frame (S47), and reads data from the extracted Ethernet frame (S48).

그리고, 그 읽은 데이터와 검색된 채널정보를 사용자 인터페이스부(33)로 전달하여(S49), 수신된 데이터를 처리하도록 한다.Then, the read data and the retrieved channel information are transferred to the user interface 33 (S49) to process the received data.

여기서, 상기 채널 정보는 각 채널별로 부여된 번호, 그 부여된 번호의 채널로 데이터를 전송할 시 발신지 주소로 사용할 이더넷 멀티캐스트 주소 등을 말한다.Here, the channel information refers to a number assigned to each channel, an Ethernet multicast address, etc. to be used as a source address when transmitting data through a channel of the assigned number.

이상에서 설명한 바와 같이, 본 발명은 이더넷을 기반으로 하는 시스템에서 다수의 가상 통신 채널을 구현하여 데이터를 송수신할 시, 이더넷 멀티캐스트(Multicast) 주소를 특정의 가상 통신 채널을 구별하는 채널 식별자로 사용하여 이더넷 프레임의 발신지 주소 필드에 상기 이더넷 멀티캐스트 주소를 포함하여 이더넷 프레임을 구성하고, 그에 따라 수신된 이더넷 프레임의 목적지 주소에 포함된 이더넷 멀티캐스트 주소에 자신의 호스트 시스템의 이더넷 주소가 첨부되어 있는 이더넷 프레임만을 선택적으로 이더넷 구동부로 전달하여 수신된 데이터를 처리함으로써, 호스트 시스템의 처리 성능을 향상하고, 이미 정의된 타입값을 채널 식별자로 하여 데이터를 송수신하기 위한 별도의 인코딩이 필요없어 프로세서의 추가로 인한 별도의 비용을 절감하는 효과가 있다.As described above, the present invention uses an Ethernet multicast address as a channel identifier for distinguishing a specific virtual communication channel when transmitting and receiving data by implementing a plurality of virtual communication channels in an Ethernet-based system. Configure the Ethernet frame by including the Ethernet multicast address in the source address field of the Ethernet frame, and attach the Ethernet address of the host system to the Ethernet multicast address included in the destination address of the received Ethernet frame. By selectively transmitting only Ethernet frames to the Ethernet driver to process the received data, it improves the processing performance of the host system, and adds a processor because there is no need for a separate encoding for transmitting and receiving data by using a predefined type value as a channel identifier. Saves extra costs due to There are effective.

Claims (4)

특정의 가상 통신 채널을 통하여 데이터를 송신하는 경우, 시스템 운용자의 설정에 따라 채널별로 할당된 채널정보를 저장한 다음, 사용자 인터페이스부로부터 전송할 데이터 및 그 전송에 사용하기 위해 지정된 채널정보를 수신하는 단계와; 상기 수신된 채널정보에 따라 기저장된 이더넷 멀티캐스트 주소를 읽어, 상기 수신된 데이터 및 그 읽은 이더넷 멀티캐스트 주소를 이용하여 이더넷 프레임을 구성하여 전송하는 단계를 포함하는 것을 특징으로 하는 이더넷을 기반으로 하는 시스템에서의 가상 통신 채널 구현 방법.When transmitting data through a specific virtual communication channel, storing channel information allocated for each channel according to a system operator's setting, and then receiving data to be transmitted from the user interface unit and channel information designated for use in the transmission thereof. Wow; Reading the pre-stored Ethernet multicast address according to the received channel information, and configuring and transmitting an Ethernet frame using the received data and the read Ethernet multicast address. How to implement a virtual communication channel in a system. 제1항에 있어서, 상기 이더넷 프레임은, 상기 수신된 채널정보에 해당하는 기저장된 이더넷 멀티캐스트 주소를 발신지 주소 필드에 기록하여 구성하는 것을 특징으로 하는 이더넷을 기반으로 하는 시스템에서의 가상 통신 채널 구현 방법.The virtual communication channel of claim 1, wherein the Ethernet frame is configured by recording a pre-stored Ethernet multicast address corresponding to the received channel information in a source address field. Way. 특정의 가상 통신 채널을 통하여 데이터를 수신하는 경우, 시스템 운용자의 설정에 따라 채널별로 할당된 채널정보를 저장한 다음, 수신되는 이더넷 프레임 중 상기 기저장된 이더넷 멀티캐스트 주소를 목적지 주소로 갖는 이더넷 프레임을 선택적으로 추출하는 단계와; 상기 추출된 이더넷 프레임에 따라 상기 기저장된 채널정보를 검색하고, 상기 추출된 이더넷 프레임으로부터 수신된 데이터를 읽어, 상기 검색된 채널정보 및 읽은 데이터를 사용자 인터페이스부로 전달하는 단계를 포함하는 것을 특징으로 하는 이더넷을 기반으로 하는 시스템에서의 가상 통신 채널 구현 방법.When receiving data through a specific virtual communication channel, the channel information stored for each channel is stored according to a system operator's setting, and then an Ethernet frame having the pre-stored Ethernet multicast address as a destination address among the received Ethernet frames is stored. Selectively extracting; Retrieving the pre-stored channel information according to the extracted ethernet frame, reading data received from the extracted ethernet frame, and transmitting the retrieved channel information and the read data to a user interface unit; A method for implementing virtual communication channels in a system based on. 제1항 또는 제3항에 있어서, 상기 채널정보는, 각 채널별로 부여된 번호 및 그 부여된 번호의 채널로 데이터를 전송할 시 발신지 주소로 사용할 이더넷 멀티캐스트 주소로 구성하는 것을 특징으로 하는 이더넷을 기반으로 하는 시스템에서의 가상 통신 채널 구현 방법.[4] The Ethernet of claim 1 or 3, wherein the channel information comprises an Ethernet multicast address configured as a source address when data is transmitted through a number assigned to each channel and a channel of the assigned number. A method for implementing virtual communication channels in a based system.
KR1020030031243A 2003-05-16 2003-05-16 Virtual communication channel configuration method in ethernet based system KR20040098916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030031243A KR20040098916A (en) 2003-05-16 2003-05-16 Virtual communication channel configuration method in ethernet based system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030031243A KR20040098916A (en) 2003-05-16 2003-05-16 Virtual communication channel configuration method in ethernet based system

Publications (1)

Publication Number Publication Date
KR20040098916A true KR20040098916A (en) 2004-11-26

Family

ID=37376607

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030031243A KR20040098916A (en) 2003-05-16 2003-05-16 Virtual communication channel configuration method in ethernet based system

Country Status (1)

Country Link
KR (1) KR20040098916A (en)

Similar Documents

Publication Publication Date Title
US5574722A (en) Protocol independent switch
US5974467A (en) Protocol for communicating data between packet forwarding devices via an intermediate network interconnect device
CA2179349C (en) Method and apparatus for providing a 3-way connection between a mobile computing device, a stationary computing device and a computer network
US6081523A (en) Arrangement for transmitting packet data segments from a media access controller across multiple physical links
US6571291B1 (en) Apparatus and method for validating and updating an IP checksum in a network switching system
US5859848A (en) Asynchronous transfer mode packet conversion to one of plural formats
KR100280642B1 (en) Memory management device of Ethernet controller and its control method
US5742603A (en) Method and apparatus for integrating repeater management, media access control, and bridging functions
KR20030061827A (en) Reduction of protocol, overhead on the connection between base station controller and base transceiver station of a cellular radio network
EP0685951B1 (en) Line interface devices for fast-packet networks
EP0899915B1 (en) Apparatus and method for selectively supplying data packets between media domains in a network repeater
US7864786B2 (en) Repeater apparatus for supporting a plurality of protocols, and a method for controlling protocol conversion in the repeater apparatus
KR20040098916A (en) Virtual communication channel configuration method in ethernet based system
Cisco STUN and BSTUN Configuration Commands
Cisco STUN and BSTUN Commands
Cisco Serial Tunnel and Block Serial Tunnel Commands
Cisco Interface Commands
Cisco STUN and BSTUN Commands
Cisco Interface Commands
Cisco STUN and BSTUN Commands
Cisco Interface Configuration and Support
Cisco STUN and BSTUN Commands
Cisco STUN and BSTUN Commands
Cisco STUN and BSTUN Commands
Cisco STUN and BSTUN Commands

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Withdrawal due to no request for examination