KR100392373B1 - Method for InterProcessor Communication By Using Ethernet IPC network In Distributed System - Google Patents

Method for InterProcessor Communication By Using Ethernet IPC network In Distributed System Download PDF

Info

Publication number
KR100392373B1
KR100392373B1 KR10-2001-0053798A KR20010053798A KR100392373B1 KR 100392373 B1 KR100392373 B1 KR 100392373B1 KR 20010053798 A KR20010053798 A KR 20010053798A KR 100392373 B1 KR100392373 B1 KR 100392373B1
Authority
KR
South Korea
Prior art keywords
node
packet
ipc
connection establishment
connection
Prior art date
Application number
KR10-2001-0053798A
Other languages
Korean (ko)
Other versions
KR20030020123A (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 KR10-2001-0053798A priority Critical patent/KR100392373B1/en
Publication of KR20030020123A publication Critical patent/KR20030020123A/en
Application granted granted Critical
Publication of KR100392373B1 publication Critical patent/KR100392373B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/44Distributed routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems

Landscapes

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

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION

본 발명은 방송식 패킷 전달방식을 기반으로 한 근거리통신망 IPC 네트워크를 통한 프로세서간 통신 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것임.The present invention relates to a method for interprocessor communication over a local area network (IPC) network based on a broadcast packet delivery method and a computer-readable recording medium having recorded thereon a program for realizing the method.

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

본 발명은, 방송식 패킷 전달방식을 기반으로 하여 구성이 간단하고 비용이 저렴한 근거리통신망 IPC 네트워크를 이용한 프로세서간 통신 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하고자 함.SUMMARY OF THE INVENTION The present invention provides a method for interprocessor communication using a local area network IPC network that is simple and inexpensive based on a broadcast packet delivery method, and a computer readable recording medium having recorded thereon a program for realizing the method. box.

3. 발명의 해결방법의 요지3. Summary of Solution to Invention

본 발명은, 분산 시스템에 적용되는 방송식 패킷 전달방식을 이용한 근거리통신망 아이피씨(IPC : InterProcessor Communication) 네트워크를 통한 프로세서간 통신 방법에 있어서, 상기 분산 시스템의 한 노드인 요청 노드가 레프리 노드 및 에니 노드에 대해 패킷을 전송하는 제 1 단계; 상기 제 1 단계에서 전달된 패킷이 연결 설정 요청 패킷이면, 상기 레프리 노드 및 상기 에니 노드가 내장된 IPC 데이터베이스를 검색하여 연결 설정 여부를 응답하는 제 2 단계; 상기 제 1 단계에서 전달된 패킷이 연결 설정 생성 알림 패킷이면, 상기 레프리 노드 및 상기 에니 노드가 내장된 IPC 데이터베이스를 갱신하는 제 3 단계; 및 상기 제 1 단계에서 전달된 패킷이 연결 설정 해제 패킷이면, 상기 레프리 노드 및 상기 에니 노드가 내장된 IPC 데이터베이스를 갱신하는 제 4 단계를 포함함.The present invention provides a method for interprocessor communication through a local area network (IPC) Interprocessor Communication (IPC) network using a broadcast packet delivery method applied to a distributed system, wherein a request node, which is a node of the distributed system, is a referee node and an annie. A first step of sending a packet to a node; If the packet transmitted in the first step is a connection establishment request packet, a second step of responding whether to establish a connection by searching the embedded IPC database where the referee node and the ANI node are embedded; A third step of updating the IPC database in which the referrer node and the ANI node are embedded if the packet transmitted in the first step is a connection establishment generation notification packet; And a fourth step of updating the IPC database in which the referee node and the ANI node are embedded if the packet transmitted in the first step is a connection establishment release packet.

4. 발명의 중요한 용도4. Important uses of the invention

본 발명은 분산 시스템 등에 이용됨.The present invention is used in distributed systems and the like.

Description

방송식 패킷 전달방식을 이용한 근거리통신망 IPC 네트워크를 통한 프로세서간 통신 방법{Method for InterProcessor Communication By Using Ethernet IPC network In Distributed System}Method for interprocessor communication through a local area network (IPPC) network using a broadcast packet delivery method {Method for InterProcessor Communication By Using Ethernet IPC network In Distributed System}

본 발명은 방송식 패킷 전달방식을 이용한 근거리통신망 IPC 네트워크를 통한 프로세서간 통신 방법에 관한 것이다.The present invention relates to a method for interprocessor communication over a local area network (IPC) network using a broadcast packet delivery method.

종래의 특허 기술로는 "유닉스를 동작시스템으로 사용하는 시스템에서 타시스템과 송수신 신호메시지 분배방식(대한 민국 특허 출원 : 1994-028805, ETRI)"가 있다.The conventional patented technology is "a system for transmitting and receiving signal messages with other systems in a system using Unix as an operating system (Korea Patent Application: 1994-028805, ETRI)".

상기의 종래의 기술은 프로세서가 메시지를 송신하는 경우 메시지 큐에 다른 시스템의 프로세서 식별 번호와 송신 메시지임을 표시하고, 메시지 분배 주 프로세서는 메시지 큐로부터 메시지를 읽어 송신 메시지임을 판별한 후 유닉스 시스템 콜로 다른 시스템에 송신한다.When the processor transmits a message, the conventional technology indicates that the processor queue number and the transmission message of another system are displayed in the message queue, and the message distribution main processor reads the message from the message queue, determines that the message is a transmission message, and then uses another Unix system call. Send to the system.

그리고, 다른 시스템으로부터 메시지 수신시 메시지 분배 부 프로세서들은 디바이스 드라이버로부터 자신의 식별번호와 일치하는 메시지를 수신하고 수신 메시지임을 표시하여 메시지 큐에 기록한다.When receiving a message from another system, the message distribution unit processors receive a message matching the identification number from the device driver and indicate that the received message is a received message and write the message to the message queue.

그리고, 메시지 분배 주 프로세서는 메시지를 읽어 프로세서들이 메시지 큐로부터 해당 메시지를 수신하도록 표시하여 프로세서들이 자신의 메시지임을 알도록 한다.The message distribution main processor then reads the message and marks the processors to receive the message from the message queue so that the processors know that it is their message.

상기의 방법에 의해 종래의 특허 기술은, 유닉스를 동작 시스템으로 사용하는 컴퓨터 시스템 내에 생성된 여러 개의 프로세서들이 외부의 다른 시스템과 프로세서간 통신을 하는 경우, 이들 프로세서의 송/수신 신호의 메시지를 정확하게 분배하여 줌으로써 프로세서간의 통신 경로를 원활하게 해준다.According to the above method, the conventional patented technology accurately transmits / receives the message of the transmit / receive signal of the processors when several processors generated in the computer system using Unix as the operating system communicate with each other. By distributing, it facilitates the communication path between processors.

한편, 최근에는 인터넷을 통해 제공되는 다량의 멀티미디어 데이터와 실시간 서비스의 증가와 함께 급속한 인터넷 이용 인구의 증가에 따라, 요구되는 시스템 성능을 제공하기 위해 시스템의 기능을 분산시켜, 그 분산된 기능들을 다수의 프로세서들이 수행하는 방식의 분산 처리 시스템이 사용된다.On the other hand, in recent years, with the increase of the mass of multimedia data and real-time services provided through the Internet, and the rapid increase of the Internet use population, the function of the system is distributed to provide the required system performance, A distributed processing system is used in the way that the processors of do.

이와 같은 분산 처리 시스템은, 종래의 프로세서간 통신에서 시스템의 운용체제에서 제공하는 통신 방법을 사용하던 것과는 별도로, 메시지 분배 프로세서를 두어 단일 시스템에 생성된 다수의 프로세서들의 통신 요청에 대한 처리를 전담하도록 하고 있다.Such a distributed processing system, in addition to using the communication method provided by the operating system of the system in the conventional interprocessor communication, has a message distribution processor so as to be dedicated to processing communication requests of a plurality of processors generated in a single system. Doing.

이러한 방법은 다수의 프로세서들이 개별적인 메모리 자원을 할당받지 않고, 시스템 운용체제가 제공하는 메시지 큐를 이용하여 메모리 사용량을 줄일 수 있고 메시지 분배 프로세서가 메시지 큐를 감시하게 함으로써 송/수신 메시지 큐를 관리 기능을 생략할 수 있다.This way, multiple processors can reduce memory usage by using message queues provided by the system operating system without having to allocate individual memory resources, and manage the send / receive message queues by having the message distribution processor monitor the message queues. Can be omitted.

한편, 상기와 같은 분산 처리 시스템내의 프로세서들 간의 정보 교환을 위해서는 프로세서간의 네트워크 방식에 대한 연구가 필요한데, 이를 위해 물리적으로는 분산 시스템 구조이지만 논리적으로는 단일 시스템 구조를 갖는 IPC(InterProcessor Connection) 네트워크가 요구된다.On the other hand, in order to exchange information among the processors in the distributed processing system as described above, research on the network method between processors is required. For this purpose, an IPC (InterProcessor Connection) network having a physically distributed system structure but logically a single system structure is provided. Required.

이에 따라, 상기 IPC(InterProcessor Connection) 네트워크에 대한 연구가 많이 이루어졌지만, 방송식 패킷 전달방식을 기반으로 하여 구성이 간단하고 비용이 저렴한 IPC 네트워크 방법에 대해서는 아직 연구가 이루어지지 않고 있다.Accordingly, although much research has been conducted on the IPC (InterProcessor Connection) network, a simple yet low-cost IPC network method based on the broadcast packet delivery method has not been studied.

본 발명은, 상기한 바와 같은 문제점을 해결하기 위하여 제안된 것으로, 방송식 패킷 전달방식을 기반으로 하여 구성이 간단하고 비용이 저렴한 근거리통신망 IPC 네트워크를 통한 프로세서간 통신 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above problems, and is based on a broadcast packet delivery scheme, and a method for realizing an inter-processor communication method through a local area network IPC network, which is simple and inexpensive. Its purpose is to provide a computer readable recording medium having recorded thereon a program.

도 1 은 본 발명이 적용되는 이더넷 네트워크로 연결된 분산 시스템의 일실시예 구성도.1 is a configuration diagram of an embodiment of a distributed system connected to an Ethernet network to which the present invention is applied.

도 2 는 본 발명에 따른 방송식 패킷 전달방식을 이용한 근거리통신망 IPC 네트워크를 통한 프로세서간 통신 방법 중 연결 설정 과정에 대한 일실시예 신호 흐름도.2 is a signal flow diagram illustrating an embodiment of a connection establishment process in an interprocessor communication method through a local area network (IPC) network using a broadcast packet delivery method according to the present invention;

도 3 은 본 발명에 따른 방송식 패킷 전달방식을 이용한 근거리통신망 IPC 네트워크를 통한 프로세서간 통신 방법 중 연결 설정 해제 과정에 대한 일실시예 신호 흐름도.3 is a signal flow diagram of an embodiment of a connection release procedure of an interprocessor communication method through a local area network (IPC) network using a broadcast packet delivery method according to the present invention;

도 4 는 본 발명에 따른 방송식 패킷 전달방식을 이용한 근거리통신망 IPC 네트워크를 통한 프로세서간 통신 방법 중 요청 노드의 IPC 연결 설정 및 해제 시의 일실시예 동작 흐름도.4 is a flowchart illustrating an embodiment of setting and releasing an IPC connection of a requesting node in an interprocessor communication method through a local area network IPC network using a broadcast packet delivery method according to the present invention.

도 5 는 본 발명에 따른 방송식 패킷 전달방식을 이용한 근거리통신망 IPC 네트워크를 통한 프로세서간 통신 방법 중 레프리 노드의 IPC 연결 설정 및 해제시의 일실시예 동작 흐름도.FIG. 5 is a flowchart illustrating an embodiment of setting and releasing an IPC connection of a referee node in an interprocessor communication method through a local area network IPC network using a broadcast packet delivery method according to the present invention.

도 6 은 본 발명에 따른 방송식 패킷 전달방식을 이용한 근거리통신망 IPC 네트워크를 통한 프로세서간 통신 방법 중 에니 노드의 IPC 연결 설정 및 해제 시의 일실시예 동작 흐름도.FIG. 6 is a flowchart illustrating an embodiment of setting and releasing an IPC connection of an enny node in a method for interprocessor communication through a local area network IPC network using a broadcast packet delivery method according to the present invention; FIG.

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

10 : 이더넷 11 ; 요청 노드(Request Node)10: Ethernet 11; Request Node

12 : 레프리 노드(Referee Node)12: Referee Node

13 - 16 : 에니 노드(Any Node)13-16: Any Node

상기 목적을 달성하기 위한 본 발명은, 분산 시스템에 적용되는 방송식 패킷전달방식을 통한 근거리통신망 아이피씨(IPC : InterProcessor Communication) 네트워크를 이용한 프로세서간 통신 방법에 있어서, 상기 분산 시스템의 한 노드인 요청 노드가 레프리 노드 및 에니 노드에 대해 패킷을 전송하는 제 1 단계; 상기 제 1 단계에서 전달된 패킷이 연결 설정 요청 패킷이면, 상기 레프리 노드 및 상기 에니 노드가 내장된 IPC 데이터베이스를 검색하여 연결 설정 여부를 응답하는 제 2 단계; 상기 제 1 단계에서 전달된 패킷이 연결 설정 생성 알림 패킷이면, 상기 레프리 노드 및 상기 에니 노드가 내장된 IPC 데이터베이스를 갱신하는 제 3 단계; 및 상기 제 1 단계에서 전달된 패킷이 연결 설정 해제 패킷이면, 상기 레프리 노드 및 상기 에니 노드가 내장된 IPC 데이터베이스를 갱신하는 제 4 단계를 포함하여 이루어진 것을 특징으로 한다.The present invention for achieving the above object, in the inter-processor communication method using a local area network IPC (IPC) network through a broadcast packet delivery method applied to a distributed system, the request that is one node of the distributed system A first step of the node sending a packet for the referee node and the annie node; If the packet transmitted in the first step is a connection establishment request packet, a second step of responding whether to establish a connection by searching the embedded IPC database where the referee node and the ANI node are embedded; A third step of updating the IPC database in which the referrer node and the ANI node are embedded if the packet transmitted in the first step is a connection establishment generation notification packet; And a fourth step of updating the IPC database in which the referrer node and the ANI node are embedded if the packet transmitted in the first step is a connection establishment release packet.

한편, 본 발명은, 대용량 프로세서를 구비한 분산 처리 시스템에, 상기 분산 시스템의 한 노드인 요청 노드가 레프리 노드 및 에니 노드에 대해 패킷을 전송하는 제 1 기능; 상기 제 1 기능에 의해서 전달된 패킷이 연결 설정 요청 패킷이면, 상기 레프리 노드 및 상기 에니 노드가 내장된 IPC 데이터베이스를 검색하여 연결 설정 여부를 응답하는 제 2 기능; 상기 제 1 기능에 의해서 전달된 패킷이 연결 설정 생성 알림 패킷이면, 상기 레프리 노드 및 상기 에니 노드가 내장된 IPC 데이터베이스를 갱신하는 제 3 기능; 및 상기 제 1 기능에 의해서 전달된 패킷이 연결 설정 해제 패킷이면, 상기 레프리 노드 및 상기 에니 노드가 내장된 IPC 데이터베이스를 갱신하는 제 4 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.On the other hand, the present invention provides a distributed processing system having a large capacity processor, comprising: a first function in which a requesting node, which is a node of the distributed system, transmits a packet to a referee node and an annie node; A second function of responsive to whether a connection is established by searching an IPC database in which the referrer node and the ANI node are embedded if the packet transmitted by the first function is a connection establishment request packet; A third function of updating the IPC database in which the referrer node and the ANI node are embedded if the packet transmitted by the first function is a connection establishment generation notification packet; And a computer readable recording medium having recorded thereon a program for realizing a fourth function of updating the IPC database in which the referee node and the annie node are embedded if the packet transmitted by the first function is a connection establishment release packet. to provide.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

이하, 도면에서는 본 발명에 따른 방송식 패킷 전달방식을 이용한 근거리통신망을 이더넷(Ethernet)으로 예시하여 설명하도록 한다.In the following drawings, a local area network using a broadcast packet delivery method according to the present invention will be described as an example of Ethernet.

도 1 은 본 발명이 적용되는 이더넷 네트워크로 연결된 분산 시스템의 일실시예 구성도이다.1 is a configuration diagram of an embodiment of a distributed system connected to an Ethernet network to which the present invention is applied.

도 1 에 도시된 바와 같이, 본 발명이 적용되는 분산 시스템은 각각의 프로세서들(11 내지 16)이 이더넷(10)으로 패킷을 송수신한다. 이러한 분산 시스템의 동작을 설명하기 위해 각각의 프로세서를 요청 노드(11), 레프리 노드(12) 및 에니 노드(13 내지 16)로 구분을 한다.As shown in FIG. 1, in the distributed system to which the present invention is applied, each of the processors 11 to 16 transmits and receives packets to and from the Ethernet 10. In order to explain the operation of such a distributed system, each processor is divided into a request node 11, a referee node 12, and an animation node 13 to 16.

여기서 요청 노드(11)라 함은, 신호를 전송하려고 하는 노드를 의미하며, 정해진 노드가 아니고 분산 시스템 상의 어떤 노드라고 상관없다.Here, the request node 11 means a node to which a signal is to be transmitted, and is not a predetermined node but any node in a distributed system.

그리고, 레프리 노드(12)는 분산 시스템에서 각각의 여러 프로세서들로부터 요청 노드(11)에 대한 응답을 받아 이를 다시 요청 노드(11)로 전달하는 동작을 수행하는 노드로 분산 시스템의 각각의 프로세서 중 하나의 노드로 정해지는데 이는 일정한 노드로 사용된다.In addition, the referee node 12 is a node that receives a response to the request node 11 from each of the various processors in the distributed system and transmits the response to the request node 11 again. It is defined as a node, which is used as a constant node.

그리고, 에니 노드(13 내지 16)는 요청 노드(11)와 레프리 노드(12)를 제외한 나머지 노드들을 의미한다.In addition, annie nodes 13 to 16 refer to the remaining nodes except for the request node 11 and the referee node 12.

이와 같은 요청 노드(11), 레프리 노드(12) 및 에니 노드(13 내지 16)는 각각의 노드의 내부 IPC 정보를 저장하는 지역 IPC 정보 데이터베이스와 분산 시스템의 전체 IPC 정보를 저장하는 전역 IPC 정보 데이터베이스를 포함하고 있다.Such request node 11, referee node 12 and ennie nodes 13-16 are local IPC information database storing internal IPC information of each node and global IPC information database storing overall IPC information of distributed system. It includes.

도 2 는 본 발명에 따른 방송식 패킷 전달방식을 이용한 근거리통신망 IPC 네트워크를 통한 프로세서간 통신 방법 중 연결 설정 과정에 대한 일실시예 신호 흐름도이다.2 is a signal flow diagram illustrating an embodiment of a connection establishment process in an interprocessor communication method through a local area network (IPC) network using a broadcast packet delivery method according to the present invention.

먼저, 요청 노드(11)는 연결 설정을 위한 연결 설정 생성 요청 패킷을 이더넷 전송 방식인 방송형(Broadcast) 패킷으로 하여, 연결된 노드(12 내지 16)에 송신한다(201, 202).First, the request node 11 transmits a connection establishment generation request packet for connection establishment as a broadcast packet, which is an Ethernet transmission method, to the connected nodes 12 to 16 (201 and 202).

그리고, 레프리 노드(12)는 요청 노드(11)로부터의 연결 설정 생성 요청 패킷을 수신하면(201), 우선 자신의 전역 IPC 정보 데이터베이스를 검색하여(203) 해당 IPC에 대한 연결이 되어 있는지를 확인하고, 전역 IPC 정보 데이터베이스에 해당 IPC에 대한 연결 정보가 없으면 에니 노드(13 내지 16)의 지역 IPC 정보 데이터베이스를 검색한 결과를 이용해서(205) 연결 설정 생성 요청에 대한 응답(206)을 한다.When the referee node 12 receives the connection establishment generation request packet from the requesting node 11 (201), first, it searches (203) its global IPC information database and checks whether a connection to the corresponding IPC is established. If there is no connection information for the corresponding IPC in the global IPC information database, the result of searching the local IPC information databases of the nodes 13 to 16 (205) is used to respond (206) to the connection establishment creation request.

그리고, 에니 노드(13 내지 16)는 요청 노드(11)로부터의 연결 설정 생성 요청 패킷에 대해, 지역 IPC 정보 데이터베이스를 검색하여, 검색 결과 해당 IPC에 대한 연결 정보가 있으면 레프리 노드(12)로 발견(Found) 패킷(205)을 전송하고, 검색 결과 해당 IPC에 대한 연결 정보가 없으면 대기한다.Then, the nodes 13 to 16 search the local IPC information database for the connection establishment generation request packet from the request node 11, and if the search result contains the connection information for the corresponding IPC, it finds the referee node 12. (Found) The packet 205 is transmitted, and if there is no connection information for the corresponding IPC, the packet waits.

그리고, 요청 노드(11)는 레프리 노드(12)로부터 연결 설정 생성 요청에 대한 응답(206)을 수신하여 해당 응답이 생성 실패(207)이면 대기하고, 생성 허가이면(207) 연결 생성 알림 패킷(208, 209)을 방송형(Broadcast) 패킷으로 하여, 연결된 노드(12 내지 16)에 송신한다.Then, the request node 11 receives a response 206 for the connection establishment generation request from the referee node 12, and waits if the response is a generation failure 207, and if the creation permission (207), the connection creation notification packet ( 208 and 209 are transmitted as broadcast packets to the connected nodes 12 to 16.

한편, 레프리 노드(12)와 에니 노드(13 내지 16)는 요청 노드(11)로부터 연결 생성 알림 패킷(208, 209)을 수신하면, 각 노드들은 지역 IPC 정보 데이터베이스와 전역 IPC 정보 데이터베이스를 갱신한다(210, 211).On the other hand, when the referee node 12 and Ennie nodes 13 to 16 receive the connection creation notification packets 208 and 209 from the request node 11, each node updates the local IPC information database and the global IPC information database. (210, 211).

도 3 은 본 발명에 따른 방송식 패킷 전달방식을 이용한 근거리통신망 IPC 네트워크를 통한 프로세서간 통신 방법 중 연결 설정 해제 과정에 대한 일실시예 신호 흐름도이다.3 is a signal flow diagram of an embodiment of a connection release procedure of an interprocessor communication method through a local area network (IPC) network using a broadcast packet delivery method according to the present invention.

우선, 요청 노드(11)는 연결 설정 해제 요청 패킷을 방송형 패킷으로 연결된 노드(12 내지 16)에 송신한다(301, 302).First, the request node 11 transmits a connection establishment release request packet to the nodes 12 to 16 connected as broadcast type packets (301 and 302).

그리고, 레프리 노드(12)와 에니 노드(13 내지 16)는 요청 노드(11)로부터의 연결 설정 해제 요청 패킷을 수신하면(301, 302), 각각 전역 IPC 정보 데이터 베이스와 지역 IPC 정보 데이터 베이스를 갱신한다(303, 304).When the referrer node 12 and the nodes 13 to 16 receive the connection establishment request packet from the requesting node 11 (301 and 302), the referrer node 12 and the nie nodes 13 to 16 respectively generate a global IPC information database and a local IPC information database. Update (303, 304).

도 4 는 본 발명에 따른 방송식 패킷 전달방식을 이용한 근거리통신망 IPC 네트워크를 통한 프로세서간 통신 방법 중 요청 노드의 IPC 연결 설정 및 해제 시의 일실시예 동작 흐름도이다.FIG. 4 is a flowchart illustrating an embodiment of setting and releasing an IPC connection of a requesting node in an interprocessor communication method through a local area network IPC network using a broadcast packet delivery method according to the present invention.

우선, 요청 노드(11)는 연결 설정을 생성하거나 해제할 필요가 있을 때까지 대기한다(401).First, the request node 11 waits (401) until it needs to create or release a connection setup.

그리고, 대기 중 프로세서의 함수 호출이 연결 설정 생성을 위한 함수 호출인지 연결 설정 해제를 위한 함수 호출인지를 판단하여(402), 연결 설정 생성을 위한 함수의 호출로 판단되면, 레프리 노드(12)와 에니 노드(13 내지 16)로 연결 설정 생성 요청 패킷을 방송형 패킷으로 하여 송신한다(403).In operation 402, it is determined whether the function call of the processor is a function call for generating a connection setting or a function call for releasing a connection setting. The connection setup generation request packet is transmitted as the broadcast type packet to the NN nodes 13 to 16 (403).

그리고, 레프리 노드(12)로부터 연결 설정 생성 요청 패킷에 대한 응답 패킷을 기다린다(404). 응답 패킷을 수신하면, 응답 패킷이 연결 설정 생성 허가 패킷인지 연결 설정 생성 실패 패킷인지를 판단한다(405). 판단 결과 연결 설정 생성 허가 패킷인 경우(405), 레프리 노드(12)와 에니 노드(13 내지 16)로 연결 설정 생성 알림 패킷을 방송형 패킷으로 하여 송신하고(406) 대기 상태로 돌아간다(401).Then, a response packet to the connection establishment generation request packet is waited from the referee node 12 (404). When receiving the response packet, it is determined whether the response packet is a connection establishment generation permission packet or a connection establishment generation failure packet (405). As a result of the determination, in the case of the connection establishment generation permission packet (405), the connection establishment generation notification packet is transmitted as the broadcast type packet to the referee node 12 and the enie nodes 13 to 16 (406), and the process returns to the standby state (401). ).

반면, 판단 결과 연결 설정 생성 실패 패킷인 경우(405), 대기 상태로 돌아간다(401).On the other hand, if it is determined that the connection establishment generation failure packet (405), and returns to the standby state (401).

한편, 대기 중 프로세서의 함수 호출이 연결 설정 생성을 위한 함수 호출인지 연결 설정 해제를 위한 함수 호출인지를 판단하여(402), 연결 설정 해제를 위한 함수 호출로 판단되면(402), 레프리 노드(12)와 에니 노드(13 내지 16)로 연결 설정 해제 요청 패킷을 방송형 패킷으로 하여 송신하고(407), 대기 상태로 진행한다(401).On the other hand, it is determined whether the function call of the processor is a function call for generating a connection establishment or a function call for releasing connection establishment (402), if it is determined that the function call for releasing connection establishment (402), the referee node 12 And the connection setup release request packet as the broadcast type packet to the Ennie nodes 13 to 16 (407), and proceed to the standby state (401).

도 5 는 본 발명에 따른 방송식 패킷 전달방식을 이용한 근거리통신망 IPC 네트워크를 통한 프로세서간 통신 방법 중 레프리 노드의 IPC 연결 설정 및 해제 시의 일실시예 동작 흐름도이다.FIG. 5 is a flowchart illustrating an embodiment of setting and releasing an IPC connection of a referee node in a processor-to-processor communication method through a local area network IPC network using a broadcast packet delivery method according to the present invention.

우선, 시스템이 시작되면 요청 노드(11)로부터의 패킷을 수신할 때까지 대기한다(501).First, when the system starts up, it waits until it receives a packet from the requesting node 11 (501).

그리고, 대기 중 요청 노드(11)로부터의 패킷을 수신하면, 수신한 패킷이 어떤 패킷인지를 확인한다(502). 확인 결과, 연결 설정 생성 요청 패킷이면(502), 전역 IPC 정보 데이터베이스를 이용하여 요청 노드(11)가 생성하기를 원하는 IPC 키를 검색한다(503). 그리고, 해당 IPC 키가 이미 생성되어 사용중인가를 확인한다(504). 확인 결과 이미 해당 IPC 키가 생성되어 있는 경우(504), 요청 노드(11)로 연결 설정 생성 실패 패킷을 송신하고(505) 대기 상태로 진행한다(501). 또한, 확인 결과 아직 해당 IPC 키가 생성되어 있지 않은 경우(504), 에니 노드(13 내지 16)로부터의 지역 IPC 정보 데이터베이스 검색 결과 패킷을 수신한다(506).When a packet from the requesting node 11 is received while waiting, it is checked (502) which packet the received packet is. As a result of the check, if the connection establishment generation request packet is 502, the IPC key which the requesting node 11 wants to generate is retrieved using the global IPC information database (503). Then, it is checked whether the corresponding IPC key is already generated and in use (504). If the IPC key has already been generated as a result of the check (504), the connection setup generation failure packet is transmitted to the request node 11 (505) and proceeds to the standby state (501). If the IPC key has not yet been generated as a result of the verification (504), the local IPC information database search result packet from the Ennea nodes 13-16 is received (506).

그리고, 상기에서 수신된 결과 패킷이 요청 노드(11)가 생성하기를 원하는 IPC 키가 이미 사용중인 것을 발견하였다는 발견(Found) 패킷인지를 확인한다(507). 판단 결과, 발견 패킷이라면 요청 노드로 연결 설정 생성 실패 패킷을 전송하고(505) 대기 상태로 진행한다(501). 또한, 발견 패킷이 아니라면(507), 타임아웃(Timeout)이 되었는지를 판단하여(508), 타임아웃인 경우 지역 IPC 정보 데이터 베이스에서 요청 IPC 키를 발견하지 못한 것이므로, 요청 노드(11)로 연결 설정 생성 허가 패킷을 송신하고(509) 대기상태로 진행한다(501). 또한, 판단 결과 타임아웃이 아닌 경우, 에니 노드(13 내지 16)로부터의 패킷을 수신하는 과정(506)으로 진행한다.Then, it is checked whether the result packet received above is a Found packet indicating that the IPC key desired by the requesting node 11 is already in use (Found). As a result of the determination, if the discovery packet is transmitted, the connection establishment generation failure packet is transmitted to the requesting node (505), and the process proceeds to the waiting state (501). In addition, if it is not a discovery packet (507), it is determined whether a timeout has occurred (508), and in the case of a timeout, the request IPC key has not been found in the local IPC information database. The setup generation permission packet is transmitted (509) and the process proceeds to the waiting state (501). In addition, if it is determined that the timeout is not the timeout, the process proceeds to step 506 of receiving the packet from the nodes 13 to 16.

한편, 요청 노드(11)로부터의 패킷이 연결 설정 생성 알림 패킷 또는 연결 설정 해제 패킷인 경우, 전역 IPC 정보 데이터 베이스를 갱신하고(510) 대기 상태로 진행한다(501).On the other hand, if the packet from the request node 11 is a connection establishment generation notification packet or a connection establishment release packet, the global IPC information database is updated (510) and the process proceeds to the waiting state (501).

도 6 은 본 발명에 따른 방송식 패킷 전달방식을 이용한 근거리통신망 IPC네트워크를 통한 프로세서간 통신 방법 중 에니 노드의 IPC 연결 설정 및 해제 시의 일실시예 동작 흐름도이다FIG. 6 is a flowchart illustrating an embodiment of setting and releasing an IPC connection of an ANN node in a method for interprocessor communication through a local area network IPC network using a broadcast packet delivery method according to the present invention.

우선, 시스템이 시작되면 요청 노드(11)나 레프리 노드(12)로부터의 패킷을 수신할 때까지 대기한다(601).First, when the system starts, it waits until it receives a packet from the requesting node 11 or the referee node 12 (601).

그리고, 대기 중 패킷을 수신하면, 수신한 패킷이 어떤 패킷인지를 확인한다(602). 확인 결과, 연결 설정 생성 요청 패킷이면(602), 지역 IPC 정보 데이터 베이스를 이용하여 요청 노드(11)가 생성하기를 원하는 IPC 키를 검색한다(603).When the packet is received, it is checked whether the received packet is a packet (602). As a result of the check, if it is the connection establishment generation request packet (602), the IPC key which the request node 11 wants to generate is retrieved using the local IPC information database (603).

상기 검색 결과 해당 IPC 키가 이미 생성되어 있으면(604), 레프리 노드(12)로 발견 패킷을 송신하고(605) 대기 상태로 진행한다(601). 또한, 검색 결과 해당 IPC 키가 생성되어 있지 않으면(604), 대기 상태로 진행한다(601).If the IPC key has already been generated as a result of the search (604), the discovery packet is sent to the referee node 12 (605) and the process proceeds to the waiting state (601). If the IPC key is not generated as a result of the search (604), the process proceeds to the standby state (601).

한편, 수신된 패킷이 연결 설정 생성 알림 패킷 또는 해제 패킷인 경우(602), 지역 IPC 정보 데이터 베이스를 갱신하고(606) 대기 상태로 진행한다(601).On the other hand, if the received packet is a connection establishment generation notification packet or release packet (602), the local IPC information database is updated (606) and the process proceeds to the waiting state (601).

상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 형태로 기록매체(씨디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디스크 등)에 저장될 수 있다.As described above, the method of the present invention may be implemented as a program and stored in a recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto-optical disk, etc.) in a computer-readable form.

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and various substitutions, modifications, and changes are possible in the art without departing from the technical spirit of the present invention. It will be clear to those of ordinary knowledge.

상기한 바와 같은 본 발명은, 분산 시스템에서 프로세서들이 IPC 네트워크로서 이더넷을 사용하면서도, 유닉스의 시스템(System) V의 단일 시스템을 위한 IPC 메커니즘을 확장할 수 있도록 분산 IPC 키 정보를 사용하도록 하여, 분산 시스템의 효율성과 성능을 향상시킨다.As described above, the present invention allows distributed processors to use distributed IPC key information to extend the IPC mechanism for a single system of Unix's System V while using Ethernet as an IPC network. Improve the efficiency and performance of the system.

또한, 본 발명은, 분산 시스템 내의 각 프로세서들이 이더넷을 사용함으로써, 저렴하고 간단하게 구성할 수 있는 효과가 있다.In addition, the present invention has an effect that can be configured inexpensively and simply by using the Ethernet for each processor in the distributed system.

Claims (5)

분산 시스템에 적용되는 방송식 패킷 전달방식을 이용한 근거리통신망 아이피씨(IPC : InterProcessor Communication) 네트워크를 통한 프로세서간 통신 방법에 있어서,In the inter-processor communication method through a local area network IPC (IPC) network using a broadcast packet delivery method applied to a distributed system, 상기 분산 시스템의 한 노드인 요청 노드가 레프리 노드 및 에니 노드에 대해 패킷을 전송하는 제 1 단계;A first step of the requesting node, which is a node of the distributed system, transmitting a packet to the referee node and the annie node; 상기 제 1 단계에서 전달된 패킷이 연결 설정 요청 패킷이면, 상기 레프리 노드 및 상기 에니 노드가 내장된 IPC 데이터베이스를 검색하여 연결 설정 여부를 응답하는 제 2 단계;If the packet transmitted in the first step is a connection establishment request packet, a second step of responding whether to establish a connection by searching the embedded IPC database where the referee node and the ANI node are embedded; 상기 제 1 단계에서 전달된 패킷이 연결 설정 생성 알림 패킷이면, 상기 레프리 노드 및 상기 에니 노드가 내장된 IPC 데이터베이스를 갱신하는 제 3 단계; 및A third step of updating the IPC database in which the referrer node and the ANI node are embedded if the packet transmitted in the first step is a connection establishment generation notification packet; And 상기 제 1 단계에서 전달된 패킷이 연결 설정 해제 패킷이면, 상기 레프리 노드 및 상기 에니 노드가 내장된 IPC 데이터베이스를 갱신하는 제 4 단계A fourth step of updating the IPC database in which the referrer node and the ANI node are embedded if the packet transmitted in the first step is a connection establishment release packet; 를 포함하는 방송식 패킷 전달방식을 이용한 근거리통신망 IPC 네트워크를 통한 프로세서간 통신 방법.The inter-processor communication method via a local area network IPC network using a broadcast packet delivery method comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계는,The second step, 상기 제 1 단계에서 전달된 패킷이 연결 설정 요청 패킷이면, 상기 레프리 노드 및 에니 노드가 내장된 IPC 데이터베이스를 검색하여 연결 설정 요청한 연결 정보의 존재 여부를 판단하는 제 5 단계; 및A fifth step of determining whether the connection information requested for connection establishment is searched by searching the IPC database in which the referee node and the ANI node are embedded if the packet transmitted in the first step is a connection establishment request packet; And 상기 제 5 단계의 판단 결과에 따라 상기 레프리 노드는, 상기 연결 설정 요청한 연결 정보가 존재하면 연결 실패를 상기 요청 노드에 전달하고 상기 연결 설정 요청한 연결 정보가 존재하지 않으면 연결 허가를 상기 요청 노드에 전달하는 제 6 단계According to the determination result of the fifth step, the referee node transmits a connection failure to the requesting node if the connection information requested for connection establishment exists and transmits a connection permission to the requesting node if the connection information requested for connection establishment does not exist. 6th Step 를 포함하는 방송식 패킷 전달방식을 이용한 근거리통신망 IPC 네트워크를 통한 프로세서간 통신 방법.The inter-processor communication method via a local area network IPC network using a broadcast packet delivery method comprising a. 제 2 항에 있어서,The method of claim 2, 상기 제 5 단계는,The fifth step, 상기 제 1 단계에서 전달된 패킷이 연결 설정 요청 패킷이면, 상기 레프리 노드가 상기 내장된 IPC 데이터베이스를 검색하는 제 7 단계;A seventh step of the referee node searching the embedded IPC database if the packet transmitted in the first step is a connection establishment request packet; 상기 제 1 단계에서 전달된 패킷이 연결 설정 요청 패킷이면, 상기 에니 노드가 상기 내장된 IPC 데이터베이스를 검색하여 상기 연결 설정 요청한 연결 정보가 존재하면 이 결과를 레프리 노드로 전송하는 제 8 단계; 및An eighth step in which if the packet transmitted in the first step is a connection establishment request packet, the Eney node searches the embedded IPC database and transmits the result to the referee node if the connection information requested for the connection establishment exists; And 상기 레프리 노드는 상기 제 7 단계의 검색 결과와 상기 제 8 단계에서 전달된 결과를 통해, 상기 연결 설정 요청한 연결 정보가 존재하면 연결 실패로 판단하고, 상기 연결 설정 요청한 연결 정보가 존재하지 않으면 연결 허가로 판단하는 제 9 단계The referee node judges that the connection fails if the connection information requested for connection establishment exists, based on the search result of the seventh step and the result delivered in the eighth step, and permits connection if the connection information requested for connection establishment does not exist. 9th step to judge 를 포함하는 방송식 패킷 전달방식을 이용한 근거리통신망 IPC 네트워크를 통한 프로세서간 통신 방법.The inter-processor communication method via a local area network IPC network using a broadcast packet delivery method comprising a. 제 1 항 내지 제 3 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 3, 상기 방송식 패킷 전달방식을 이용한 근거리통신망을 이더넷(Ethernet)으로 하는 것을 특징으로 하는 방송식 패킷 전달방식을 이용한 근거리통신망 IPC 네트워크를 통한 프로세서간 통신 방법.A method of communication between processors through a local area network (IPC) network using a broadcast packet delivery method, characterized in that the local area network using the broadcast packet delivery method is Ethernet. 대용량 프로세서를 구비한 분산 처리 시스템에,In a distributed processing system having a large processor, 상기 분산 시스템의 한 노드인 요청 노드가 레프리 노드 및 에니 노드에 대해 패킷을 전송하는 제 1 기능;A first function of sending, by a requesting node, one node of the distributed system, a packet for a referee node and an annie node; 상기 제 1 기능에 의해서 전달된 패킷이 연결 설정 요청 패킷이면, 상기 레프리 노드 및 상기 에니 노드가 내장된 IPC 데이터베이스를 검색하여 연결 설정 여부를 응답하는 제 2 기능;A second function of responsive to whether a connection is established by searching an IPC database in which the referrer node and the ANI node are embedded if the packet transmitted by the first function is a connection establishment request packet; 상기 제 1 기능에 의해서 전달된 패킷이 연결 설정 생성 알림 패킷이면, 상기 레프리 노드 및 상기 에니 노드가 내장된 IPC 데이터베이스를 갱신하는 제 3 기능; 및A third function of updating the IPC database in which the referrer node and the ANI node are embedded if the packet transmitted by the first function is a connection establishment generation notification packet; And 상기 제 1 기능에 의해서 전달된 패킷이 연결 설정 해제 패킷이면, 상기 레프리 노드 및 상기 에니 노드가 내장된 IPC 데이터베이스를 갱신하는 제 4 기능A fourth function of updating the IPC database in which the referrer node and the ANI node are embedded if the packet transmitted by the first function is a connection establishment release packet. 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR10-2001-0053798A 2001-09-03 2001-09-03 Method for InterProcessor Communication By Using Ethernet IPC network In Distributed System KR100392373B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0053798A KR100392373B1 (en) 2001-09-03 2001-09-03 Method for InterProcessor Communication By Using Ethernet IPC network In Distributed System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0053798A KR100392373B1 (en) 2001-09-03 2001-09-03 Method for InterProcessor Communication By Using Ethernet IPC network In Distributed System

Publications (2)

Publication Number Publication Date
KR20030020123A KR20030020123A (en) 2003-03-08
KR100392373B1 true KR100392373B1 (en) 2003-07-23

Family

ID=27722197

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0053798A KR100392373B1 (en) 2001-09-03 2001-09-03 Method for InterProcessor Communication By Using Ethernet IPC network In Distributed System

Country Status (1)

Country Link
KR (1) KR100392373B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100426316B1 (en) * 2002-01-19 2004-04-06 한국전자통신연구원 Method for testing of global serializability in eager replication technique using massaging order for group communication
KR101086924B1 (en) * 2005-04-14 2011-11-29 에스케이 텔레콤주식회사 Method for Remote Upgrading Software of Wireless Short-Distance Module

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR950022478A (en) * 1993-12-21 1995-07-28 양승택 Method for setting and releasing packet ratio (B) -channel local call of Integrated Information Network
KR960018915A (en) * 1994-11-03 1996-06-17 양승택 Sending / Receiving message distribution method during interprocess communication using Unix as an operating system
KR20010049070A (en) * 1999-11-30 2001-06-15 서평원 A Statistics Process Method And Apparatus Of Intelligent Network Service
KR20010056170A (en) * 1999-12-14 2001-07-04 이계철 System and method for searching directory using mono process communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR950022478A (en) * 1993-12-21 1995-07-28 양승택 Method for setting and releasing packet ratio (B) -channel local call of Integrated Information Network
KR960018915A (en) * 1994-11-03 1996-06-17 양승택 Sending / Receiving message distribution method during interprocess communication using Unix as an operating system
KR20010049070A (en) * 1999-11-30 2001-06-15 서평원 A Statistics Process Method And Apparatus Of Intelligent Network Service
KR20010056170A (en) * 1999-12-14 2001-07-04 이계철 System and method for searching directory using mono process communication

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100426316B1 (en) * 2002-01-19 2004-04-06 한국전자통신연구원 Method for testing of global serializability in eager replication technique using massaging order for group communication
KR101086924B1 (en) * 2005-04-14 2011-11-29 에스케이 텔레콤주식회사 Method for Remote Upgrading Software of Wireless Short-Distance Module

Also Published As

Publication number Publication date
KR20030020123A (en) 2003-03-08

Similar Documents

Publication Publication Date Title
KR100935782B1 (en) System, method, and computer program product for centralized management of an infiniband distributed system area network
CN109189856B (en) Distributed database service management method, device, server and storage medium
US7653722B1 (en) Server monitoring framework
US6999997B2 (en) Method and apparatus for communication of message data using shared queues
CN111600936B (en) Asymmetric processing system based on multiple containers and suitable for ubiquitous electric power internet of things edge terminal
US20070198478A1 (en) Distributed meta data management middleware
JPH11338836A (en) Load distribution system for computer network
US7167979B2 (en) Invoking mutual anonymity by electing to become head of a return path
JP2002344475A (en) System and method for providing service to apparatus in home network and system and method being provided with service through home network
JPH10187467A (en) Remote procedure call processing method
KR100392373B1 (en) Method for InterProcessor Communication By Using Ethernet IPC network In Distributed System
KR0175456B1 (en) Distributed Object Access Information Management System and Its Decentralization Method
US20020178289A1 (en) Communications device, address modification device, communications method and communications control program
KR20020031224A (en) Method Of Dispersion Service Of Contents And The System
JP2000200245A (en) System and method for information utilization
US8046419B2 (en) Method of processing open asynchronous application service event and open web service gateway implementing the same
JP3741818B2 (en) Information distribution response system with many computers participating
JP3910013B2 (en) Communication method and method
US20040031033A1 (en) Method and apparatus for inter-process communication management
US8423674B2 (en) Method and apparatus for process sync restart
JP2000330912A (en) Event service device
JPH0964871A (en) Network management system
KR100376567B1 (en) System of Controlling Timers in the Mobile Communication System
JP2812274B2 (en) Transaction load balancing system for loosely coupled multi-computer systems
JPH10275126A (en) Client server system that performs load decentralization control

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: 20080701

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee