KR101463462B1 - Inter-partition communication manager for multiple network devices - Google Patents

Inter-partition communication manager for multiple network devices Download PDF

Info

Publication number
KR101463462B1
KR101463462B1 KR1020130037713A KR20130037713A KR101463462B1 KR 101463462 B1 KR101463462 B1 KR 101463462B1 KR 1020130037713 A KR1020130037713 A KR 1020130037713A KR 20130037713 A KR20130037713 A KR 20130037713A KR 101463462 B1 KR101463462 B1 KR 101463462B1
Authority
KR
South Korea
Prior art keywords
communication
partition
inter
network devices
based system
Prior art date
Application number
KR1020130037713A
Other languages
Korean (ko)
Other versions
KR20140121215A (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 KR1020130037713A priority Critical patent/KR101463462B1/en
Publication of KR20140121215A publication Critical patent/KR20140121215A/en
Application granted granted Critical
Publication of KR101463462B1 publication Critical patent/KR101463462B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/78Architectures of resource allocation
    • H04L47/782Hierarchical allocation of resources, e.g. involving a hierarchy of local and centralised entities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

본 명세서는 파티션 기반 시스템에서 초기화 설정을 파티션 간 통신에 알맞게 지원할 수 있는, 다중 네트워크 디바이스를 지원하는 파티션 기반 시스템의 통신 관리 장치에 관한 것으로서, 상기 통신 관리 장치는 환경 설정 파일을 근거로 상기 파티션 기반 시스템의 초기화 설정을 수행하는 초기화 설정부와; 상기 파티션 기반 시스템에서 파티션 간 통신을 위해 다중 네트워크 디바이스들을 하나의 공통 인터페이스로 사용하고, 상기 초기화 설정에서 상기 파티션 간 통신을 수행하기 위한 정보로 정의된 통신 자료 구조를 생성하는 런타임 통신 지원부를 포함할 수 있다. The present invention relates to a communication management apparatus for a partition-based system that supports multiple network devices, which can support initialization settings appropriately for inter-partition communication in a partition-based system, the communication management apparatus comprising: An initialization setting unit for performing initialization setting of the system; And a runtime communication support unit that uses multiple network devices as one common interface for inter-partition communication in the partition-based system and generates a communication data structure defined as information for performing the inter-partition communication in the initialization setting .

Description

다중 네트워크 디바이스를 지원하는 파티션 기반 시스템의 통신 관리 장치{INTER-PARTITION COMMUNICATION MANAGER FOR MULTIPLE NETWORK DEVICES}≪ Desc / Clms Page number 1 > INTER-PARTITION COMMUNICATION MANAGER FOR MULTIPLE NETWORK DEVICES <

본 명세서는 다중 네트워크 디바이스를 지원하는 파티션 기반 시스템의 통신 관리 장치에 관한 것이다.The present disclosure relates to a communication management apparatus of a partition-based system supporting multiple network devices.

일반적으로, 파티션 컴퓨터 시스템은 복수의 파티션 및 상기 파티션들 내에 상주하는 복수의 이종(heterogeneous) 운영 체제 이미지들, 및 시스템 메모리를 가지며, 상기 파티션들 간의 파티션간 메모리 공유(inter-partition memory sharing) 기능을 포함한다. 종래 기술에 따른 파티션 처리 환경을 위한 이종 클라이언트 서버 방법은 한국 특허 출원 번호 10-2001-0024555에 개시되어 있다.In general, a partition computer system has a plurality of partitions and a plurality of heterogeneous operating system images residing in the partitions, and system memory, and has an inter-partition memory sharing function between the partitions . A heterogeneous client server method for a partition processing environment according to the prior art is disclosed in Korean Patent Application No. 10-2001-0024555.

본 명세서는 파티션 기반 시스템에서 초기화 설정을 파티션 간 통신에 알맞게 지원할 수 있는, 다중 네트워크 디바이스를 지원하는 파티션 기반 시스템의 통신 관리 장치를 제공하는 데 그 목적이 있다.It is an object of the present invention to provide a communication management apparatus of a partition-based system supporting multiple network devices capable of properly supporting initialization settings in inter-partition communication in a partition-based system.

본 명세서에 개시된 실시예에 따른 다중 네트워크 디바이스를 지원하는 파티션 기반 시스템의 통신 관리 장치는, 다중 네트워크 디바이스를 지원하는 파티션 기반 시스템의 통신 관리 장치에 있어서, 환경 설정 파일을 근거로 상기 파티션 기반 시스템의 초기화 설정을 수행하는 초기화 설정부와; 상기 파티션 기반 시스템에서 파티션 간 통신을 위해 다중 네트워크 디바이스들을 하나의 공통 인터페이스로 사용하고, 상기 초기화 설정에서 상기 파티션 간 통신을 수행하기 위한 정보로 정의된 통신 자료 구조를 생성하는 런타임 통신 지원부를 포함하며, 상기 런타임 통신 지원부는, 상기 파티션 간 통신을 수행할 수 있도록 상기 통신 자료 구조를 근거로 상기 파티션 간 통신에 사용되는 네트워크 디바이스들의 통신 연결 설정을 수행하는 것을 특징으로 한다.A communication management apparatus of a partition-based system supporting multiple network devices according to an embodiment disclosed herein is a communication management apparatus of a partition-based system supporting multiple network devices, comprising: An initialization setting unit for performing initialization setting; And a runtime communication support unit for using the multiple network devices as one common interface for the inter-partition communication in the partition-based system and generating a communication data structure defined as information for performing the inter-partition communication in the initialization setting, , The runtime communication support unit performs communication connection setting of network devices used for inter-partition communication based on the communication data structure so as to perform the inter-partition communication.

본 명세서와 관련된 일 예로서, 상기 초기화 설정부는, 상기 파티션 기반 시스템에 설치된 네트워크 디바이스들을 설정하고, 네트워크 디바이스들의 환경 변수를 설정하는 네트워크 디바이스 설정부와; 상기 파티션 기반 시스템에 상기 파티션 간 통신에 사용될 프로토콜들과 상기 프로토콜들의 환경변수들을 설정하는 프로토콜 설정부를 포함할 수 있다. In one embodiment of the present invention, the initialization setting unit includes: a network device setting unit for setting network devices installed in the partition-based system and setting environment variables of the network devices; And a protocol setting unit for setting protocols to be used for the inter-partition communication and environment variables of the protocols in the partition-based system.

본 명세서와 관련된 일 예로서, 상기 런타임 통신 지원부는, 상기 파티션 기반 시스템에 하나의 통신 인터페이스로 상기 다중 네트워크 디바이스들 고유의 인터페이스를 통신 프로세스의 변경없이 사용할 수 있는 네트워크 추상화 계층과; 상기 파티션 기반 시스템에 메시지의 다중화, 역 다중화를 지원하는 구조를 제공하는 통신 스레드를 포함할 수 있다. As an example related to the present specification, the runtime communication support unit may include: a network abstraction layer that can use an interface unique to the multiple network devices in the partition-based system through a single communication interface without changing the communication process; And a communication thread for providing a structure for supporting multiplexing and demultiplexing of messages in the partition-based system.

본 명세서와 관련된 일 예로서, 상기 통신 자료 구조는, 하위 계층의 변경에 따라 상위 계층이 변경될 필요가 없는 계층적 구조를 가질 수 있다. As an example related to the present specification, the communication data structure may have a hierarchical structure in which an upper layer does not need to be changed according to a change of a lower layer.

본 명세서와 관련된 일 예로서, 상기 통신 자료 구조는, 링크드 리스트나 배열로 구성되는 자료 구조일 수 있다. As an example related to the present specification, the communication data structure may be a data structure composed of a linked list or an array.

본 발명의 실시예에 따른 다중 네트워크 디바이스를 지원하는 파티션 기반 시스템의 통신 관리 장치는, 파티션 기반 시스템에서 초기화 설정을 파티션 간 통신에 알맞게 지원할 수 있다.The communication management apparatus of the partition-based system supporting the multiple network devices according to the embodiment of the present invention can support the initialization setting in the partition-based system as appropriate for inter-partition communication.

도 1은 본 명세서의 실시 예에 따른 컴퓨터 운영 체제(operating system)을 구동하는 파티션 기반 시스템을 나타낸 도이다.
도 2는 본 명세서의 실시 예에 따른 확장을 위한 초기화 설정부의 예를 나타낸 도이다.
도 3는 본 명세서의 실시 예에 따른 파티션 간 통신을 위해 런타임 통신 지원부가 초기화 설정부의 초기화 설정 정보에 따라 통신 환경을 설정하기 위한 과정을 나타낸 도이다.
도 4는 본 명세서의 실시 예에 따른 파티션 간 통신을 다양한 네트워크 디바이스에 제공하기 위한 런타임 통신 지원부를 나타낸 도이다.
도 5은 본 명세서의 실시 예에 따른 런타임 통신 지원부에서 초기화 설정을 효율적으로 표현한 자료 구조를 나타낸 예시도이다.
1 illustrates a partition-based system for operating a computer operating system according to an embodiment of the present disclosure;
2 is a diagram illustrating an example of an initialization setting unit for extension according to an embodiment of the present invention.
3 is a diagram illustrating a process for setting a communication environment according to initialization setting information of an initialization setting unit by a runtime communication support unit for inter-partition communication according to an embodiment of the present invention.
4 is a diagram illustrating a runtime communication support unit for providing inter-partition communication to various network devices according to an embodiment of the present invention;
5 is an exemplary diagram illustrating a data structure that efficiently represents initialization settings in a runtime communication support unit according to an embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 명세서에 개시된 실시 예를 상세히 설명하되, 도면 부호에 관계없이 동일하거나 유사한 구성요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 이하의 설명에서 사용되는 구성요소에 대한 접미사 "모듈" 및 "부"는 명세서 작성의 용이함만이 고려되어 부여되거나 혼용되는 것으로서, 그 자체로 서로 구별되는 의미 또는 역할을 갖는 것은 아니다. 또한, 본 명세서에 개시된 실시 예를 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 명세서에 개시된 실시 예의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 첨부된 도면은 본 명세서에 개시된 실시 예를 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 명세서에 개시된 기술적 사상이 제한되는 것으로 해석되어서는 아니 됨을 유의해야 한다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings, wherein like reference numerals are used to designate identical or similar elements, and redundant description thereof will be omitted. The suffix "module" and " part "for the components used in the following description are given or mixed in consideration of ease of specification, and do not have their own meaning or role. In the following description of the embodiments of the present invention, a detailed description of related arts will be omitted when it is determined that the gist of the embodiments disclosed herein may be blurred. In addition, it should be noted that the attached drawings are only for easy understanding of the embodiments disclosed in the present specification, and should not be construed as limiting the technical idea disclosed in the present specification by the attached drawings.

도 1은 본 명세서의 실시 예에 따른 컴퓨터 운영 체제(operating system)을 구동하는 파티션 기반 시스템을 나타낸 도이다. 1 illustrates a partition-based system for operating a computer operating system according to an embodiment of the present disclosure;

본 명세서에 따른 파티션 기반 시스템은, 다수의 파티션(110)과; 파티션(110) 간의 통신, 파티션(110)의 생성, 파티션 기반 통신 시스템의 초기 설정 등을 담당하는 파티션 시스템(100)을 포함한다. A partition-based system according to the present disclosure includes: a plurality of partitions 110; Partition system 100 that is responsible for communication between partitions 110, creation of partitions 110, and initialization of a partition-based communication system.

본 명세서의 실시 예에 따른 통신 관리 장치는, 상기 파티션 시스템 (100) 내에 포함되고, 파티션(110) 간의 통신을 담당하는 통신 관리자(120)로서, 상기 통신 관리자(120)는 런타임 통신 지원부(400)와 초기화 설정부(200)를 포함한다. The communication manager according to an embodiment of the present invention is a communication manager 120 included in the partition system 100 and responsible for communication between the partitions 110. The communication manager 120 includes a runtime communication support unit 400 And an initialization setting unit 200.

도 1에 도시한 바와 같이, 본 발명의 구동 환경인 파티션 시스템(100)은 파티션(110)내의 프로세스(111)와 다른 파티션의 프로세스(112)간의 통신을 지원하기 위한 부분을 지칭한다. 그리고 파티션 시스템(100)은 다른 파티션 시스템에 존재하는 파티션과 통신을 수행한다. 이때 프로세스들(111,112)은 통신을 위해 네트워크 디바이스들(150)의 종류와 수에 상관없이 하나의 통일된 통합 인터페이스(130)를 사용하여 통신을 수행한다. As shown in FIG. 1, the partition system 100, which is a driving environment of the present invention, refers to a portion for supporting communication between a process 111 in a partition 110 and a process 112 in another partition. And the partition system 100 performs communication with a partition existing in another partition system. At this time, the processes 111 and 112 perform communication using one unified integration interface 130 regardless of the type and number of the network devices 150 for communication.

상기 초기화 설정부(200)는 파티션 기반 시스템의 초기 환경 설정을 담당한다. 파티션 기반 시스템의 파티션(110), 프로세스(111, 112)들은 모두 시스템 구동 전에 미리 초기화 설정에 정의되어 지며, 프로세스(111, 112)간 통신 또한 초기화 설정부(200)의 초기화 설정에 의해 정의되어 진다. 상기 초기화 설정을 위한 데이터는 파일 형태나 프로세스의 형태로 존재할 수 있으며 초기 구동 시 초기화 설정을 수행한다. The initialization setting unit 200 takes charge of the initial environment setting of the partition-based system. The partitions 110 and the processes 111 and 112 of the partition-based system are all defined in the initialization setting in advance before the system is started and the communication between the processes 111 and 112 is also defined by the initialization setting of the initialization setting unit 200 Loses. The data for the initialization setting may exist in the form of a file or a process, and initialization is performed at the initial operation.

도 2는 본 명세서의 실시 예에 따른 확장을 위한 초기화 설정부(200)의 예를 나타낸 도이다. 2 is a diagram illustrating an example of an initialization setting unit 200 for extension according to an embodiment of the present invention.

도 2에 도시한 바와 같이, 초기화 설정부(200)는, 네트워크 디바이스 설정부(210), 프로토콜 설정부(220), 채널(통신 채널) 설정부(230), 통신 포트 설정부(240)로 구성될 수 있다. 2, the initialization setting unit 200 includes a network device setting unit 210, a protocol setting unit 220, a channel (communication channel) setting unit 230, and a communication port setting unit 240 Lt; / RTI >

상기 네트워크 디바이스 설정부(210)는 네트워크의 수와 종류에 관계없이 네트워크 디바이스 구동에 필요한 환경변수나 인자값들을 설정한다. 예를 들면, 환경변수나 인자값들은 디바이스 이름, 네트워크 디바이스의 주소, 시스템 내 판별 이름과 같은 정보들일 수 있다. The network device setting unit 210 sets environment variables and factor values necessary for driving the network device regardless of the number and types of networks. For example, an environment variable or argument value may be information such as a device name, an address of a network device, or a discrimination name in the system.

상기 프로토콜 설정부(220)는 파티션 간 통신을 수행할 때 사용하는 통신 프로토콜을 정의한다. 예를 들면, TCP/IP를 정의할 경우, IP주소, MTU사이즈, TCP포트 등을 설정한다. The protocol setting unit 220 defines a communication protocol to be used when performing inter-partition communication. For example, when defining TCP / IP, set the IP address, MTU size, and TCP port.

상기 채널 설정부(230)는 통신을 수행하기 위한 논리적 연결을 의미하며, 통신 연결 설정을 위한 정보를 저장한다. 상기 채널 설정부(230)는 채널 설정부(230)에서 사용하는 네트워크 디바이스(210)과 프로토콜(220)을 지정하여 실질적으로 통신을 수행할 디바이스와 프로토콜을 지정한다. The channel setting unit 230 is a logical connection for performing communication, and stores information for establishing communication connection. The channel setting unit 230 specifies a network device 210 and a protocol 220 used in the channel setting unit 230 and designates a device and a protocol for substantially performing communication.

상기 파티션 간 통신을 위한 통신 포트 설정부(240)는 프로세스들(111,112)과 파티션 간 통신을 수행하기 위해 접근하는 통신 포트를 설정한다. 상기 통신 포트는, 현재 수신 포트와 송신 포트로 구분되며, 각 포트가 가질 수 있는 최대 메시지 개수, 최대 메시지 크기를 설정한다. 상기 설정된 포트는 채널 설정부(230)를 통하여 실질적인 통신을 수행하기 위해 수신 포트와 송신포트가 논리적으로 연결된다.The communication port setting unit 240 for the inter-partition communication sets a communication port to access the processes 111 and 112 to perform communication between the partitions. The communication port is divided into a current receiving port and a transmitting port, and the maximum number of messages and the maximum message size that each port can have are set. The set port is logically connected to the receive port and the transmit port to perform the actual communication through the channel setting unit 230. [

상기 정의된 초기화 설정은 통신 설정을 위해 계층적으로 설계되며, 이를 통해 새로운 네트워크 디바이스나 프로토콜의 추가나 제거가 용이하다. 그리고 일 예로, 통신을 수행하는 프로세스들(111,112)은 통신 포트에만 접근하므로 네트워크 디바이스나 프로토콜이 변경되더라도 프로세스의 내용을 변경할 필요 없이 통신이 가능하다.The defined initialization settings are hierarchically designed for communication setup, which makes it easy to add or remove new network devices or protocols. For example, since the processes 111 and 112 that perform communication access only the communication port, communication can be performed without changing the contents of the process even if the network device or protocol is changed.

도 3는 본 명세서의 실시 예에 따른 파티션 간 통신을 위해 런타임 통신 지원부(400)가 초기화 설정부(200)의 초기화 설정 정보에 따라 통신 환경을 설정하기 위한 과정을 나타낸 도이다.3 is a diagram illustrating a process for setting a communication environment according to initialization setting information of the initialization setting unit 200 by the runtime communication support unit 400 for inter-partition communication according to an embodiment of the present invention.

도 3에 도시한 바와 같이, 초기화 설정부(200)는 초기 시스템 구동 시 미리 정의된 시스템 환경 정보를 런타임 통신 지원부(400)에 전달함으로써 데이터를 런타임 통신 지원부(400)에 전달한다(S301).As shown in FIG. 3, the initialization setting unit 200 transmits predefined system environment information to the runtime communication support unit 400 when the initial system is operated (S301), thereby transferring the data to the runtime communication support unit 400. FIG.

상기 데이터를 전달 받은 런타임 통신 지원부(400)는 먼저 전달받은 데이터를 토대로 통신 자료 구조(500)를 생성한다(S311). 상기 통신 자료구조(500)는 타겟 시스템이 파티션 간 통신을 수행하기 위해 필요한 정보들을 정의한다. 그 후 런타임 통신 지원부(400)는 실재로 파티션 간 통신에 사용되는 네트워크 디바이스들(150)을 초기화하고 통신을 수행할 수 있도록 해당 네트워크 디바이스들(150)의 통신 연결 설정을 수행한다(S312). The runtime communication support unit 400 receiving the data generates the communication data structure 500 based on the received data (S311). The communication data structure 500 defines information necessary for the target system to perform inter-partition communication. Then, the runtime communication support unit 400 initializes the network devices 150 used for inter-partition communication and performs communication connection setup of the network devices 150 in order to perform communication (S312).

이후, 런타임 통신 지원부(400)는 초기화 설정 정보 전달 단계(S301)에서 획득한 정보로 논리적인 통신 연결인 채널을 생성하고, 이를 실재 네트워크 디바이스들(150)의 통신 연결과 매치시킨다(S313). 상기 채널은 후에 통신 포트(421,422)를 서로 연결해 주는 역할을 수행한다. 상기 채널을 생성한 런타임 통신 지원부(400)는 다른 프로세스들(111)나 네트워크 디바이스들(150)로부터 메시지를 전달 받을 수 있는 통신 스레드를 생성하고 메시지가 수신되길 기다린다(S314). Then, the runtime communication support unit 400 generates a channel that is a logical communication connection with the information obtained in the initialization setting information transmission step S301, and matches the communication connection with the communication connection of the real network devices 150 (S313). The channel then connects the communication ports 421 and 422 to each other. The runtime communication support unit 400 that has generated the channel generates a communication thread capable of receiving a message from other processes 111 or network devices 150 and waits for a message to be received (S314).

상기 통신 프로세스(111)는 통신을 수행하기 위하여 통신 포트(421,422) 생성 요청을 통합 인터페이스(130)를 이용하여 런타임 통신 지원부(400)에 전달한다(S331). 이때, 상기 통합 인터페이스(130)는 해당 통신 포트의 종류에 맞는 인터페이스를 호출한다(S321).The communication process 111 transfers a request for generating the communication ports 421 and 422 to the runtime communication support unit 400 using the integrated interface 130 in order to perform communication at step S331. At this time, the integration interface 130 calls an interface corresponding to the type of the communication port (S321).

상기 런타임 통신 지원부(400)는 통신 프로세스(111)로부터 전달받은 요청을 토대로 통신 포트(421,422)를 생성하고 메시지를 수신하기 위해 대기한다(S315). The runtime communication support unit 400 generates communication ports 421 and 422 based on a request received from the communication process 111 and waits for receiving a message (S315).

도 4는 본 명세서의 실시 예에 따른 파티션 간 통신을 다양한 네트워크 디바이스에 제공하기 위한 런타임 통신 지원부를 나타낸 도이다. 4 is a diagram illustrating a runtime communication support unit for providing inter-partition communication to various network devices according to an embodiment of the present invention;

도 4에 도시한 바와 같이, 런타임 통신 지원부(400)는 시스템 파티션(100) 내에 존재하며, 통신 프로세스(111) 파티션 간 통신을 수행하기 위해 접근하는 소스 포트(421), 목적지 포트 리스트(422), 소스 포트(421)로부터 전달된 메시지를 목적지 포트들로 전달하는 통신 스레드(420), 메시지를 실재 네트워크 디바이스로 전달하기 위한 네트워크 추상화 계층(430)으로 구성된다. 4, the runtime communication support 400 exists in the system partition 100 and includes a source port 421, a destination port list 422, and a destination port list 423, which access to perform communication process 111 inter-partition communication. A communication thread 420 for delivering the message delivered from the source port 421 to the destination ports, and a network abstraction layer 430 for delivering the message to the real network device.

상기 통신 프로세스(111)은 파티션 간 통신을 하기위해 표준화된 사용자 인터페이스인 통합 인터페이스(130)를 사용하여 메시지 전송을 요청한다. The communication process 111 requests the message transmission using the unified interface 130, which is a standardized user interface, for inter-partition communication.

상기 런타임 통신 지원부(400)의 통신 스레드(420)는 포트 당, 혹은 네트워크 디바이스당 1개씩 생성되며, 소스 포트(411)로부터 메시지 전송을 요청 받으면, 해당 소스 포트와 연결된 목적지 포트(422)에 메시지를 전송한다. 이때 목적지 포트는 다수가 될 수 있다. 네트워크 추상화 계층(NETWORK ABSTRACTION LAYER)(430)은 본 명세서의 초기화 설정부(200)의 초기화 설정에 따라 목적지 포트에 연결된 네트워크 디바이스 고유의 인터페이스(441, 442, 443)을 호출하여 메시지를 송신한다.The communication thread 420 of the runtime communication support unit 400 is generated per port or one per network device. When a request for message transmission is received from the source port 411, a message 422 is transmitted to the destination port 422, . At this time, the destination port may be plural. The network abstraction layer 430 calls the interfaces 441, 442 and 443 unique to the network device connected to the destination port according to the initialization setting of the initialization setting unit 200 of the present specification to transmit the message.

상기 메시지 송신과 반대로 메시지 수신시에 통신 스레드(420)는 네트워크 추상화 계층(330)을 통하여 메시지의 수신을 대기하다 메시지의 수신이 감지되면, 네트워크 디바이스로부터 메시지를 수신한다. 그 후, 런타임 통신 지원부(400)는 통신 프로세스(112)가 통합 인터페이스(130)을 통해 수신을 요청하면 메시지를 해당 포트(421)에 전달한다.In contrast to the message transmission, when the message is received, the communication thread 420 waits for the reception of the message through the network abstraction layer 330. When the reception of the message is detected, the message is received from the network device. Then, the runtime communication support unit 400 transmits a message to the corresponding port 421 when the communication process 112 requests reception via the integration interface 130. [

상기 정의된 런타임 통신 지원부(400)의 구성요소들은 계층화, 추상화된다. 이를 통해, 통신 프로세스들(111, 112)는 통일된 인터페이스로 통신을 수행할 수 있으며, 다양한 네트워크 디바이스들을 지원할 수 있다. 또한, 사용하는 네트워크 디바이스가 변경되어도 통신 프로세스들(111, 112)의 수정 없이 파티션 간 통신 지원이 가능하다. 따라서 통신 프로세스들(111, 112)의 재사용성, 확장성 및 수명증가에 기여할 수 있다. 그리고 메시지의 다중화, 역다중화를 지원할 수 있는 구조를 제공한다. 일 예로, CAN(Controller Area Network)과 같은 네트워크 디바이스는 동시에 다수의 프로세스가 접근할 수 없으나, 런타임 통신 지원부(400)를 통해 다수의 통신 프로세스들이 CAN 네트워크를 사용할 수 있다.The components of the runtime communication support unit 400 defined above are layered and abstracted. Through this, the communication processes 111 and 112 can perform communication with a unified interface and can support various network devices. In addition, even if the network device to be used is changed, it is possible to support inter-partition communication without modifying the communication processes 111 and 112. Thus contributing to the reusability, scalability and lifetime of the communication processes 111 and 112. And it provides a structure that can support multiplexing and demultiplexing of messages. For example, a network device such as a CAN (Controller Area Network) can not access a plurality of processes at the same time, but a plurality of communication processes can use the CAN network through the runtime communication support unit 400.

도 5은 본 명세서의 실시 예에 따른 런타임 통신 지원부에서 초기화 설정을 효율적으로 표현한 자료 구조를 나타낸 예시도이다.5 is an exemplary diagram illustrating a data structure that efficiently represents initialization settings in a runtime communication support unit according to an embodiment of the present invention.

도 5에 도시한 바와 같이, 상기 통신 자료 구조(500)은 런타임 통신 지원부(400) 내에 존재하며 초기화 설정부(200)의 정보를 런타임 통신 지원부(400)에서 실질적인 파티션 간 통신에 이용하기 위해 사용된다. 그리고 계층적으로 구성되어 있으며 각 계층은 통신 포트 리스트(510), 통신 채널 리스트(520), 네트워크 디바이스 리스트(530), 프로토콜 리스트(540)로 구성된다. 각 각의 계층은 상위 계층이 하위 계층을 참조하는 형태로 구성되어 있으며, 특히 통신 채널은 네트워크 디바이스 리스트(530)과 프로토콜 리스트(540)를 참조하며 만약 통신 시 프로토콜을 사용하지 않으면 참조하지 않을 수 있다. 5, the communication data structure 500 exists in the runtime communication support unit 400 and is used to enable information of the initialization setting unit 200 to be used for actual inter-partition communication in the runtime communication support unit 400 do. Each layer is composed of a communication port list 510, a communication channel list 520, a network device list 530, and a protocol list 540. In particular, the communication channel refers to the network device list 530 and the protocol list 540. If the protocol does not use the communication protocol, have.

상기 통신 자료 구조(500)은 계층적 구조를 가지고 있기 때문에 하위 계층의 변경에 따라 상위 계층이 변경될 필요가 없으며 각 계층은 포인터에 의해 연결되어 있기 때문에 참조하는 하위계층을 변경할 시에는 포인터만 변경하면 된다. 따라서 동적으로 환경 설정을 변경할 수 있는 여지를 제공할 수 있다. 그리고 각 리스트들은 링크드 리스트(linked list)뿐 아니라 배열로도 구현될 수 있기 때문에 빠른 참조가 가능하며 초기화 설정(200)에 따라 자료구조 구축에 필요한 인자들을 시스템 구동 시 모두 알고 있기 때문에 자료구조에 사용되는 자원의 양을 미리 알 수 있다.Since the communication data structure 500 has a hierarchical structure, there is no need to change the upper layer according to the change of the lower layer. Since each layer is connected by a pointer, only the pointer is changed . This allows you to dynamically change your preferences. In addition, since each list can be implemented as an array as well as a linked list, it is possible to quickly refer to it. Since the parameters necessary for constructing the data structure according to the initialization setting (200) It is possible to know in advance the amount of resources to be used.

이상에서 설명한 바와 같이, 본 발명의 실시예에 따른 다중 네트워크 디바이스를 지원하는 파티션 기반 시스템의 통신 관리 장치는, 파티션 기반 시스템에서 초기화 설정을 파티션 간 통신에 알맞게 지원할 수 있다.As described above, the communication management apparatus of the partition-based system supporting the multiple network devices according to the embodiment of the present invention can properly support the initialization setting in the partition-based system for inter-partition communication.

본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the embodiments disclosed in the present invention are intended to illustrate rather than limit the scope of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. The scope of protection of the present invention should be construed according to the following claims, and all technical ideas within the scope of equivalents should be construed as falling within the scope of the present invention.

200: 초기화 설정부 400: 런타임 통신 지원부200: Initialization setting unit 400: Runtime communication support unit

Claims (5)

다중 네트워크 디바이스를 지원하는 파티션 기반 시스템의 통신 관리 장치에 있어서,
환경 설정 파일을 근거로 상기 파티션 기반 시스템의 초기화 설정을 수행하는 초기화 설정부와;
상기 파티션 기반 시스템에서 파티션 간 통신을 위해 다중 네트워크 디바이스들을 하나의 공통 인터페이스로 사용하고, 상기 초기화 설정에서 상기 파티션 간 통신을 수행하기 위한 정보로 정의된 통신 자료 구조를 생성하는 런타임 통신 지원부를 포함하며,
상기 런타임 통신 지원부는,
상기 파티션 간 통신이 수행되도록 상기 통신 자료 구조를 근거로 상기 파티션 간 통신에 사용되는 네트워크 디바이스들의 통신 연결 설정을 수행하며,
상기 통신 자료 구조는,
하위 계층의 변경에 따라 상위 계층이 변경될 필요가 없는 계층적 구조를 가지며, 링크드 리스트나 배열로 구성되는 자료 구조인 것을 특징으로 하는 다중 네트워크 디바이스를 지원하는 파티션 기반 시스템의 통신 관리 장치.
1. A communication management apparatus of a partition-based system supporting multiple network devices,
An initialization setting unit configured to initialize the partition-based system based on the environment setting file;
And a runtime communication support unit for using the multiple network devices as one common interface for the inter-partition communication in the partition-based system and generating a communication data structure defined as information for performing the inter-partition communication in the initialization setting, ,
Wherein the runtime communication support unit comprises:
Performs communication connection setting of network devices used for inter-partition communication based on the communication data structure so that the inter-partition communication is performed,
The communication data structure includes:
Wherein the data structure has a hierarchical structure in which an upper layer does not need to be changed according to a change of a lower layer, and is a data structure composed of a linked list or an array.
제 1항에 있어서, 상기 초기화 설정부는,
상기 파티션 기반 시스템에 설치된 네트워크 디바이스들을 설정하고, 네트워크 디바이스들의 환경 변수를 설정하는 네트워크 디바이스 설정부와;
상기 파티션 기반 시스템에 상기 파티션 간 통신에 사용될 프로토콜들과 상기 프로토콜들의 환경변수들을 설정하는 프로토콜 설정부를 포함하는 것을 특징으로 하는 다중 네트워크 디바이스를 지원하는 파티션 기반 시스템의 통신 관리 장치.
The apparatus according to claim 1,
A network device setting unit for setting network devices installed in the partition-based system and setting environment variables of the network devices;
And a protocol setting unit for setting protocols to be used for the inter-partition communication and environment variables of the protocols in the partition-based system.
제 1항에 있어서, 런타임 통신 지원부는,
상기 파티션 기반 시스템에 하나의 통신 인터페이스로 상기 다중 네트워크 디바이스들 고유의 인터페이스를 통신 프로세스의 변경없이 사용할 수 있는 네트워크 추상화 계층과;
상기 파티션 기반 시스템에 메시지의 다중화, 역 다중화를 지원하는 구조를 제공하는 통신 스레드를 포함하는 것을 특징으로 하는 다중 네트워크 디바이스를 지원하는 파티션 기반 시스템의 통신 관리 장치.
2. The method of claim 1, wherein the runtime communication support comprises:
A network abstraction layer in the partition-based system capable of using an interface unique to the multiple network devices with one communication interface without changing a communication process;
And a communication thread for providing a structure for supporting multiplexing and demultiplexing of messages in the partition-based system.
삭제delete 삭제delete
KR1020130037713A 2013-04-05 2013-04-05 Inter-partition communication manager for multiple network devices KR101463462B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130037713A KR101463462B1 (en) 2013-04-05 2013-04-05 Inter-partition communication manager for multiple network devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130037713A KR101463462B1 (en) 2013-04-05 2013-04-05 Inter-partition communication manager for multiple network devices

Publications (2)

Publication Number Publication Date
KR20140121215A KR20140121215A (en) 2014-10-15
KR101463462B1 true KR101463462B1 (en) 2014-11-21

Family

ID=51992834

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130037713A KR101463462B1 (en) 2013-04-05 2013-04-05 Inter-partition communication manager for multiple network devices

Country Status (1)

Country Link
KR (1) KR101463462B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009521020A (en) * 2005-12-07 2009-05-28 アロン アール. スワーツ, A practical platform for high-risk applications
JP2012120163A (en) * 2010-10-28 2012-06-21 Apple Inc Methods and apparatus for storage and execution of access control clients

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009521020A (en) * 2005-12-07 2009-05-28 アロン アール. スワーツ, A practical platform for high-risk applications
JP2012120163A (en) * 2010-10-28 2012-06-21 Apple Inc Methods and apparatus for storage and execution of access control clients

Also Published As

Publication number Publication date
KR20140121215A (en) 2014-10-15

Similar Documents

Publication Publication Date Title
EP2922238B1 (en) Resource allocation method
KR101913490B1 (en) Flow table management method and relevant device and system
EP2942914B1 (en) Load sharing method and apparatus
JP2018523932A (en) Load balancing computing devices, systems, and methods
WO2016028927A1 (en) Methods and system for allocating an ip address for an instance in a network function virtualization (nfv) system
EP3367612B1 (en) Dial testing method, dial testing system, and computing node
CN112202615B (en) Multi-CNI cooperative work system and method
US11500666B2 (en) Container isolation method and apparatus for netlink resource
CN112910685B (en) Method and device for realizing unified management of container network
CN108347472B (en) Configuration method of IP address, cloud server, cloud platform and readable storage medium
CN109194525A (en) A kind of network node configuration method and management node
CN103685496A (en) Transmission method and device of file data
JP2016506193A (en) Control method, control apparatus and processor in software definition network
KR101481410B1 (en) Memory card device
CN114422350B (en) Public cloud container instance creation method
CN102999345B (en) The method, apparatus and system that a kind of operating system loads
US8917595B2 (en) Method and system for a distributed platform solution for supporting CIM over web services based management
CN105827496A (en) Method and apparatus for managing PE device
CN111786989B (en) Communication processing method and device and electronic equipment
EP3629559B1 (en) Method for configuring forwarding table for user equipment and apparatus
KR101463462B1 (en) Inter-partition communication manager for multiple network devices
CN108353017B (en) Computing system and method for operating multiple gateways on a multi-gateway virtual machine
CN110324367B (en) Remote monitoring system, monitoring method and device thereof, storage medium and processor
EP2739007A1 (en) System and method for implementing multiple network resource sharing on standalone machine
CN111355818B (en) Address resolution scheduling method and device and address resolution system

Legal Events

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