KR100272094B1 - Object migration system and method - Google Patents

Object migration system and method Download PDF

Info

Publication number
KR100272094B1
KR100272094B1 KR1019960002540A KR19960002540A KR100272094B1 KR 100272094 B1 KR100272094 B1 KR 100272094B1 KR 1019960002540 A KR1019960002540 A KR 1019960002540A KR 19960002540 A KR19960002540 A KR 19960002540A KR 100272094 B1 KR100272094 B1 KR 100272094B1
Authority
KR
South Korea
Prior art keywords
class
information
classes
relationship
element class
Prior art date
Application number
KR1019960002540A
Other languages
Korean (ko)
Other versions
KR970062899A (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 KR1019960002540A priority Critical patent/KR100272094B1/en
Publication of KR970062899A publication Critical patent/KR970062899A/en
Application granted granted Critical
Publication of KR100272094B1 publication Critical patent/KR100272094B1/en

Links

Classifications

    • 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/465Distributed object oriented systems

Abstract

PURPOSE: A system and a method for an object transition is provided to effectively use whole functions of a system by transmitting state information of an object, and by migrating the object after class information of the relevant object is transmitted, and a class is created in case that the object is migrated to a processor without the class of the object to be migrated. CONSTITUTION: An object transition system is composed of an object allocation manager(500), a transmission node(510) and a reception node(560). The object allocation manager(500) manage an object allocation in order to distribute a workload. The transmission node(510) is composed of a migrating object(520) and a class information provider(530). In case of receiving an object transition command from the object allocation manager(500), the migrating object(520) outputs an object generation message to the reception node(560). In case that object state information is transmitted to a new object of the reception node(560), a transmission object is taken off. The reception node(560) is composed of an object generation manager(570), a new object(580) and a dynamic class composer(590). The object generation manager(570) receives an object generation request message. The dynamic class composer(590) receives class information from the class information provider(530) of the transmission node(510).

Description

객체전이 시스템 및 방법Object transition system and method

제1도는 종래의 객체전이시스템의 객체 전송노드와 수신노드의 구조를 도시한 것이다.1 is a diagram illustrating the structure of an object transmitting node and a receiving node of a conventional object transition system.

제2(a)도는 원소클래스를 이용해 비원소클래스를 실행시간에 동적으로 생성하는 시스템의 구성도를 도시한 것이다.Figure 2 (a) shows the structure of a system that dynamically generates non-element classes at runtime using element classes.

제2(b)도는 원소클래스에 기반한 동적 클래스 구성 기법의 개념도를 도시한 것이다.Figure 2 (b) shows a conceptual diagram of the dynamic class composition scheme based on the element class.

제3도는 객체 및 클래스를 분석하여 그에 대한 정보를 제공하고, 실행시간 동적클래스 생성시스템을 이용하여 실행시간에 동적으로 클래스를 생성하는 동적 클래스 시스템의 구성도를 도시한 것이다.3 is a diagram illustrating a configuration of a dynamic class system that analyzes objects and classes, provides information about them, and dynamically generates classes at runtime using a runtime dynamic class generation system.

제4도는 제3도의 동작을 흐름도로 도시한 것이다.4 shows a flowchart of the operation of FIG.

제5도는 제3도의 동적클래스시스템을 이용해 필요한 클래스를 동적으로 생성하여 객체를 전이하는, 본 발명에 따른 객체전이 시스템의 일실시예에 대한 구성도를 도시한 것이다.5 is a block diagram of an embodiment of an object transition system according to the present invention, which dynamically generates a required class using the dynamic class system of FIG. 3 to transfer an object.

제6도는 제5도의 동작을 흐름도로 도시한 것이다.6 shows a flowchart of the operation of FIG.

제7도는 전송노드로부터 수신노드로 복잡한 형태의 객체를 전이시키는 과정을 동적 클래스 구성 기법을 이용해 표현한 것이다.7 illustrates a process of transferring a complex object from a transmitting node to a receiving node by using a dynamic class composition technique.

본 발명은 객체전이 시스템 및 방법에 관한 것으로서, 특히 시스템을 구성하는 클래스들의 공통부분들을 관리하며 필요한 클래스를 동적으로 생성하는 객체전이 시스템 및 방법에 관한 것이다.The present invention relates to an object transition system and method, and more particularly, to an object transition system and method for managing the common parts of the classes constituting the system and dynamically generating the required classes.

컴퓨터 제조기술 및 네트워크 기술의 향상으로 다양한 형태의 다중 프로세서 시스템 및 분산시스템의 구성이 가능하게 되었다. 이러한 시스템들을 효과적으로 사용하기 위해서는 종래의 단일 프로세서 시스템(single processor system)보다 복잡한 형태와 기능을 갖는 시스템 소프트웨어가 필요하게 된다. 소프트웨어의 복잡성이 늘어날수록 소프트웨어를 개발하고 관리하기 위한 비용과 노력이 급격히 증가하는 문제가 있기 때문에 최근들어 다중 프로세서 시스템이나 분산 시스템의 시스템 소프트웨어를 개발하는데 객체지향(object-oriented) 방법을 기초로 하는 사례가 늘고 있다.Improvements in computer manufacturing and network technologies have enabled the construction of various types of multiprocessor and distributed systems. Effective use of these systems requires system software with more complex forms and functions than conventional single processor systems. As the complexity of software increases, the cost and effort to develop and manage the software increases rapidly. Recently, object-oriented methods for developing system software of multiprocessor systems or distributed systems have been developed. The case is increasing.

한편, 다중 프로세서 시스템이나 분산 시스템에서는 종래의 단일 프로세서 시스템에서는 볼 수 없었던 문제점들이 발생하게 되었는데, 그 중 하나가 작업부하(workload)의 편중 현상이다. 즉 시스템을 구성하는 여러 프로세서 중 일부 프로세서에 집중적으로 작업이 할당되어 시스템 전체에서 처리 가능한 작업도 지연되거나 처리되지 않고 시스템의 전체효율이 저하되는 현상이 나타나는 것이다. 이와같은 현상을 방지하기 위해 객체 전이(object migration)가 시도되고 있다.On the other hand, in a multiprocessor system or a distributed system, problems that may not be seen in a conventional single processor system have occurred. One of them is a workload bias. In other words, a task is intensively allocated to some of the processors constituting the system, so that the tasks that can be processed throughout the system are delayed or not processed, and the overall efficiency of the system is reduced. To prevent this, object migration is being attempted.

종래에는 작업부하가 많은 프로세서에서 작은 프로세서로 프로세스(process)를 옮겨서 실행하는 프로세스 전이(process migration)방법이 제안되었으나, 프로세스를 전이하는 과정에서 필요한 별도의 부하(overhead)가 높기 때문에 실제 시스템에 적용하는데 문제가 있었다.In the past, a process migration method of moving a process from a processor with a large workload to a small processor and executing the process has been proposed, but it is applied to a real system because of the high overhead required in the process migration. There was a problem.

이러한 문제를 해결하기 위해서는 프로세스를 전이하는 과정에 필요한 데이터의 양을 줄여야 하는데, 이를 위해서 프로세스보다 좀더 작은 규모(coarse-grained scale)의 객체를 전이하는 방법이 많이 시도되고 있다. 객체는 연산과 데이터등이 혼합된 형태의 프로세스와는 달리 연산(method)과 상태(state)를 나타내는 두 가지 부분으로 구분되기 때문에 만일 전이될 수신 프로세서(receiver processor) 상에 전이할 객체의 클래스 정보가 존재한다면 상태만을 메시지 형태로 전달하면 객체를 수신 프로세서에 복원할 수 있게 된다. 이 경우 프로세스 형태로 전달할 경우보다 전달될 정보의 양이 훨씬 적기 때문에 시스템 전체가 객체 전이를 위해 가져야 하는 부하(overload)가 크게 줄어드는 장점이 있다.In order to solve this problem, it is necessary to reduce the amount of data required for the process transition process. To this end, many methods for transferring objects on a coarse-grained scale have been attempted. Unlike a process that is a mixture of operations and data, an object is divided into two parts representing a method and a state. Therefore, class information of an object to be transferred on a receiver processor to be transferred is provided. If is present, passing the state in the form of a message allows the object to be restored to the receiving processor. In this case, since the amount of information to be delivered is much smaller than that delivered in the form of a process, there is an advantage that the overload that the entire system has to transfer objects is greatly reduced.

하지만, 현재까지 제안된 객체 전이 방법들은 수신 프로세서에 전이할 객체의 클래스 정보가 존재하지 않는 경우 객체 전이가 불가능하거나 단순히 메모리 상의 객체 이미지를 그대로 옮기는 등의 비효율적 방법들을 이용해야만 했다.However, the object transition methods proposed up to now have to use inefficient methods such as object transfer is impossible or simply move the object image in memory when there is no class information of the object to be transferred to the receiving processor.

제1도는 종래의 객체전이(object migration) 시스템의 객체 전송노드(이하 전송프로세스와 동일한 의미로 사용한다.)와 수신노드(이하 수신프로세스와 동일한 의미로 사용한다.)의 구조를 도시한 것이다. 상기 제1도에서 객체할당 관리자(Allocation Manager, 120)는 전송노드(130)상의 전이객체(135)에 대해 전이메시지(100)를 내보낸다. 전이메시지(100)을 받은 전이객체(135)는 일단 외부로 부터의 요청을 받는 작업을 중단(101)하고, 수신노드(140)의 객체생성관리자(145)에게 객체생성을 요청하는 메시지(108)를 전달한다. 객체생성을 요청받은 객체생성관리자(145)는 해당 객체의 클래스 정보를 이용해 새 객체 생성 메시지(104)를 발생시킨다. 수신노드(140)상의 새 객체(140)는 자신이 전이에 의해 생성된 것인지를 판단한 후(105), 전이에 의한 것이면 전송노드(130)의 전이객체가 전송하는(109) 정보를 수신한다. 한편 전송노드(130)의 전이객체를 새 객체생성 메세지 전달 후(108) 자신의 상태를 전송할 수 있는 상태로 준비(102)하고 이를 전송한다. 수신노드(140)의 객체는 전달된 객체의 상태를 이용해 현 상태를 설정한 후(106), 계속 동작을 해나간다.(107) 한편 현재 상태까지 전송한 전송노드의 객체는 스스로 소멸되어 버린다.(103)FIG. 1 shows the structure of an object transfer node (hereinafter, used in the same sense as a transfer process) and a receiver node (hereinafter, used in the same meaning as a receive process) of a conventional object migration system. In FIG. 1, the Allocation Manager 120 sends the transition message 100 to the transition object 135 on the transmission node 130. The transition object 135 that has received the transition message 100 stops the operation 101 once receiving a request from the outside, and a message 108 requesting the object creation to the object creation manager 145 of the receiving node 140. ). The object creation manager 145 received the object creation request generates a new object creation message 104 using the class information of the object. The new object 140 on the receiving node 140 determines whether it is generated by the transition (105), and receives the information transmitted by the transition object of the transmitting node 130 (109) if it is due to the transition. Meanwhile, after the transfer object 130 transmits a new object creation message (108), it prepares (102) a state capable of transmitting its own state and transmits it. The object of the receiving node 140 sets the current state using the transferred object state (106), and continues operation. (107) Meanwhile, the object of the transmitting node transmitted to the current state is destroyed by itself. (103)

하지만 상술한 종래 방법은 지역적인 작업부하에 따라 객체를 다른 쪽 프로세서에 생성시키거나 또는 수행중인 객체를 다른 프로세서로 전이시키는 두 가지 기법을 이용하여 시스템 전체의 작업부하를 균등화(load balancing)하는데, 이 때 가장 큰 조건이 수신 프로세서에 해당 객체의 클래스 정보가 있어야 한다는 것이다. 만약 해당 객체의 클래스 정보가 없는 경우는 객체를 생성시킬 수 없기 때문에 객체의 전이를 포기하거나 상대방 프로세서에서 클래스 정보를 갖고 있는 객체를 전이시키려고 하게 된다. 따라서 현재 상태에서 작업부하를 가장 효과적으로 균등화시킬 수 있는 방법이 불가능하게 되는 상황이 발생하거나, 최악의 경우 엄청난 작업부하에도 불구하고 해당되는 클래스의 정보가 다른 프로세서들에게 없는 경우는 객체를 전이하지 못하게 되는 상황도 발생할 수 있는 것이다. 즉 종래의 객체 전이 기법들은 양쪽 프로세서가 같은 프로세서이거나 혹은 양쪽 프로세서에 같은 클래스에 대한 정보를 갖고 있어야 하는 제약을 갖고 있었다. 이에 따라 서로 다른 프로세서로 구성된 다중 프로세서 시스템이나 분산 시스템 혹은 서로 다른 사용자 정의 클래스를 갖는 시스템의 경우 객체를 시스템 전체에 균형적으로 배분하는 것이 어려웠다.However, the conventional method described above load balances the overall workload of the system by using two techniques of creating an object on another processor or transferring a running object to another processor according to a local workload. The biggest condition is that the receiving processor must have the class information of the object. If there is no class information of the object, the object cannot be created. Therefore, the object's transition is abandoned, or the other processor tries to transfer the object with the class information. Therefore, in the current state, it is impossible to make the most efficient equalization of the workload, or, in the worst case, to prevent objects from being transferred if the other class's information is not available to the other processors despite the immense workload. It can happen. In other words, conventional object transition techniques have a limitation in that both processors have the same processor or both processors have information about the same class. As a result, in the case of a multiprocessor system, a distributed system, or a system having different user-defined classes composed of different processors, it was difficult to distribute objects evenly across the system.

따라서 본 발명은 상술한 문제점을 해결하기 위해 창안된 것으로서, 본 발명의 제1목적은 객체 전이 과정에서 필요한 작업부하를 줄이면서 기존의 객체 전이 기법에서 필요했던 제약들을 줄이기 위해, 실행시간에 동적으로 클래스를 생성하는 실행시간 동적 클래스 생성 시스템을 제공함에 있다.Therefore, the present invention was devised to solve the above-mentioned problems, and the first object of the present invention is to dynamically reduce the constraints that were required in the existing object transition technique while reducing the workload required in the object transition process. It provides a runtime dynamic class generation system for generating classes.

본 발명의 제2목적은 상기 실행시간 동적 클래스 생성시스템을 이용해 하나의 시스템에 있는 객체와 클래스를 분석하여 클래스에 대한 정보를 추출 및 관리하고, 이를 통해 실행시간에 동적으로 클래스를 생성하는 동적 클래스 시스템 및 동적 클래스 생성 방법을 제공함에 있다.The second object of the present invention is to analyze the objects and classes in one system by using the runtime dynamic class generation system to extract and manage information about the class, and thereby to dynamically generate the class at runtime. It provides a system and dynamic class creation method.

본 발명의 제3목적은 객체전이 과정에서 필요한 작업부하를 줄이면서 기존의 객체전이 기법에서 필요했던 제약들을 줄이기 위해, 시스템을 구성하는 클래스들의 공통부분들을 원소클래스 풀(elementary class pool)로 만들어 관리하며 상기 원소 클래스 풀을 이용해 필요한 클래스를 동적으로 생성하여 객체를 전이하는 객체전이 시스템 및 방법을 제공함에 있다.The third object of the present invention is to manage the common parts of the classes constituting the system into an elementary class pool in order to reduce the workload required in the object transition process while reducing the constraints required in the existing object transition technique. In addition, the present invention provides an object transition system and method for dynamically generating a required class using the element class pool to transfer an object.

객체지향 시스템에서의 클래스 간에 상속관계가 있는 경우에는 최상위 클래스를, 연관관계가 있는 경우에는 양쪽 클래스를, 내포관계가 있는 경우에는 내포되는 클래스 및 내포관계가 제거된 나머지 클래스를, 상기 관계중 두가지 이상이 중복된 경우에는 각각이 관계에 따라 생성된 클래스들 중 가장 작은 클래스를 원소클래스라고 하고, 상기 원소클래스들을 조합하여 생성할 수 있는 모든 클래스를 비원소클래스라 할 때,In the object-oriented system, if there is an inheritance relationship between classes, the top class, if there is an association, both classes, the nested class, and the remaining classes from which the nested relationship is removed, When the above is duplicated, when the smallest class among the classes created according to the relationship is called an element class, and all classes that can be generated by combining the element classes are called non-element classes,

상기의 제1목적을 달성하기 위한 원소클래스를 이용해 비원소클래스를 실행시간에 동적으로 생성하는 시스템은 상기 원소클래스들의 정보를 관리하고 저장하는 원소클래스풀;A system for dynamically generating a non-element class at runtime using an element class to achieve the first object includes an element class pool for managing and storing information of the element classes;

상기 원소클래스와 상기 소정의 비원소클래스간에 존재하는 관계를 기술하는 관계기술수단을 사용해 기술된 비원소클래스 정보를 입력으로 받아, 상기 입력을 컴퓨터 시스템내에서 처리할 수 있는 형태로 변환하여 저장하고 처리하는 변환모듈;Receives the non-element class information described by using relationship description means for describing the relationship existing between the element class and the predetermined non-element class, converts the input into a form that can be processed in a computer system, and stores the input. A conversion module for processing;

상기 변환모듈에서 변환된 클래스간의 상속, 내포 및 연관관계가 타당한가를 검증하는 관계검증부; 및A relationship verification unit for verifying whether inheritance, nesting, and association relationships between classes converted by the conversion module are valid; And

상기 관계검증부에서 검증된 관계성에 의해 상기 원소 클래스를 비원소클래스로 구성하여 새로운 클래스를 생성해 내는 클래스생성부를 포함함을 특징으로 한다.And a class generation unit configured to generate a new class by constructing the element class as a non-element class by the relationship verified by the relationship verification unit.

상기의 제2목적을 달성하기 위한, 실행시간 동적 클래스 시스템은 하나의 시스템 내에 포함된 모든 객체 및 비원소클래스들을 원소 클래스들과 원소클래스들간의 관계(변환정보)로 변환시키는 클래스정보제공수단; 및In order to achieve the above second object, a runtime dynamic class system comprises: class information providing means for converting all object and non-element classes included in one system into element classes and relations between element classes (conversion information); And

상기 클래스정보제공수단에서 생성된 원소클래스들과 변환정보를 받아 비원소클래스 및 객체를 생성하고, 복원하는 동적클래스구성수단을 포함함을 특징으로 한다.And dynamic class constructing means for generating and restoring non-element classes and objects by receiving element classes and conversion information generated by the class information providing means.

또한 상기 제2목적을 달성하기 위한, 실행시간에 동적으로 새로운 클래스를 생성하는 방법은In addition, a method for dynamically generating a new class at runtime to achieve the second object

상기 원소클래스들에 관한 정보를 관리하고 저장하고 있는 원소클래스풀을 생성하는 단계;Creating an element class pool that manages and stores information about the element classes;

객체의 상태정보 및 상기 비원소클래스를 입력으로 하여, 상기 객체의 상태정보 및 비원소클래스의 상속, 연관, 내포관계를 분석하는 단계;Analyzing inheritance, association, and nesting relationship of the state information of the object and the non-element class with input of state information of the object and the non-element class;

상기 분석결과를 바탕으로 상기 원소클래스를 추출하는 원소클래스추출단계;An element class extraction step of extracting the element class based on the analysis result;

상기 분석된 비원소클래스의 정보를, 상기 원소클래스와 상기 소정의 비원소클래스간에 존재하는 관계를 기술하는 관계기술수단을 사용해 나타내고 이를 출력하는 관계기술수단변환단계;A relation description means conversion step of displaying and analyzing the analyzed non-element class information by using relation description means for describing a relationship existing between the element class and the predetermined non-element class;

상기 관계기술수단변환단계를 통해 변환된 관계기술수단으로 기술된 비원소클래스 정보를 입력으로 받아, 상기 입력을 컴퓨터 시스템내에서 처리할 수 있는 형태로 변환하여 저장하고, 처리하는 단계;Receiving non-element class information described by the relation description means converted through the relation description means conversion step, converting the input into a form that can be processed in a computer system, and storing and processing the input;

상기 변환모듈에서 변환된 클래스간의 상속, 내포 및 연관관계가 타당한가를 검증하는 단계; 및Verifying whether inheritance, nesting, and association between classes converted by the conversion module are valid; And

상기 검증단계에서 검증된 관계성에 의해 상기 원소 클래스를 비원소클래스로 구성하여 새로운 클래스를 생성해 내는 단계를 포함함을 특징으로 한다.And generating a new class by constructing the element class as a non-element class by the relationship verified in the verification step.

상기의 제3목적을 달성하기 위한, 적어도 두 개 이상의 프로세서와 이들간을 연결하는 통신망으로 구성된 분산환경 또는 병렬처리환경에서 수행되는 객체지향시스템에서 한 프로세서(전송노드)로부터 다른쪽 프로세서(수신노드)로 객체를 전이하는 객체전이시스템에 있어서In order to achieve the above-mentioned third purpose, an object-oriented system performed in a distributed or parallel processing environment consisting of at least two or more processors and a communication network connecting them, from one processor (transmitting node) to the other processor (receiving node). In the object transition system that transfers objects to

상기 전송노드는The transmitting node

객체전이 명령을 수신하면 외부의 처리요구를 수신하지 않고 상기 수신노드에게 객체생성 메세지를 출력하고, 해당 객체의 상태정보 전송준비를 하고 있다가 객체상태정보를 상기 수신노드로 전송하고 나면 전송 대상 객체를 소멸시키는 전이객체; 및When receiving the object transition command, the object creation message is output to the receiving node without receiving an external processing request, and the object information is prepared to be transmitted while the object state information is transmitted to the receiving node. Transition object that destroys; And

수신노드의 하기 객체생성관리자로 부터 클래스 정보 요구 메세지를 받으면 해당 클래스 정보를 출력하는 클래스정보 제공부를 포함함을 특징으로 하고When receiving the class information request message from the following object creation manager of the receiving node, characterized in that it comprises a class information providing unit for outputting the class information.

상기 수신 노드는The receiving node

상기 전송노드의 객체생성요구 메세지를 받아 생성요구 대상 객체가 속한 클래스가 존재하는지 검사하여 상기 클래스가 존재하면 새로운 객체 생성 메세지를 출력하고, 상기 클래스가 존재하지 않으면 전송노드의 상기 클래스정보제공부로 해당 클래스 정보를 요청하는 객체생성관리부;Receives the object creation request message of the transport node and checks whether the class to which the object of creation request belongs exists, outputs a new object creation message if the class exists, and if the class does not exist, corresponds to the class information provider of the transport node. Object generation management unit for requesting class information;

상기 객체생성관리부 또는 하기 동적클래스 구성부로부터 새로운 객체생성 메세지를 받으면, 전송노드의 상기 전이객체로부터 해당 객체의 상태정보를 받아 새로운 객체를 생성하는 새 객체; 및Receiving a new object creation message from the object generation management unit or the following dynamic class constructing unit, a new object receiving new state information of the object from the transition object of the transmitting node and creating a new object; And

전송노드의 클래스정보 제공부로부터 클래스정보를 받아 동적으로 새로운 클래스를 만들고, 상기 새 객체에게 객체생성 메세지를 출력하는 동적클래스 구성자를 포함함을 특징으로 한다.It receives the class information from the class information provider of the transport node to dynamically create a new class, characterized in that it comprises a dynamic class constructor for outputting an object creation message to the new object.

또한 상기의 제3목적을 달성하기 위한, 적어도 두 개 이상의 프로세서와 이들간을 연결하는 통신망으로 구성된 분산환경 또는 병렬처리환경에서 수행되는 객체지향시스템에서 한 프로세서(전송노드)로부터 다른쪽 프로세서(수신노드)로 객체를 전이하는 객체전이 방법은In addition, in order to achieve the above-mentioned third purpose, an object-oriented system performed in a distributed or parallel processing environment consisting of at least two or more processors and a communication network connecting them to one processor (transmission node) from the other processor (receive) Node transition method to transfer objects to

객체할당을 하는 객체할당 관리자가 객체전이를 지시하는 메세지를 상기 전송로드로 출력하는 단계;Outputting, by the object allocating manager who performs object allocation, a message indicating object transition to the transport load;

객체전이 명령을 수신하면 외부의 처리요구를 수신하지 않고 상기 수신노드에게 객체생성 메세지를 출력하고, 해당 객체의 상태정보 전송준비를 하는 단계;Outputting an object creation message to the receiving node without receiving an external processing request and preparing to transmit status information of the object when receiving an object transition command;

상기 전송노드의 객체생성요구 메세지를 받아 생성요구 대상 객체가 속한 클래스가 존재하는지 검사하는 단계;Receiving an object creation request message of the transport node and checking whether a class to which a creation request target object belongs is present;

상기 검사단계에서 클래스가 존재하면 새로운 객체 생성 메세지를 출력하고, 상기 클래스가 존재하지 않으면 전송노드로 해당 클래스 정보를 요청하는 단계;Outputting a new object creation message if a class exists in the checking step, and requesting corresponding class information from a transmission node if the class does not exist;

수신노드로부터 클래스 정보 요구 메세지를 받으면 해당 클래스 정보를 출력하는 단계;Outputting corresponding class information when receiving a class information request message from a receiving node;

전송노드로부터 클래스정보를 받아 동적으로 새로운 클래스를 만들고 객체생성 메세지를 출력하는 단계; 및Receiving class information from a transmitting node and dynamically creating a new class and outputting an object creation message; And

상기 새로운 객체생성 메세지를 받으면, 전송노드로부터 해당 객체의 상태정보를 받아 새로운 객체를 생성하는 단계를 포함함을 특징으로 한다.Receiving the new object creation message, characterized in that it comprises the step of receiving a status information of the object from the transmission node to create a new object.

이하에서 첨부된 도면을 참조하여 본 발명을 상세히 설명한다. 본 발명을 설명하기 위해 필요한 용어를 다음과 같이 정의하기로 한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. Terms necessary to describe the present invention will be defined as follows.

객체지향 시스템에서의 클래스 간에 상속관계가 있는 경우에는 최상위클래스를, 연관관계가 있는 경우에는 양쪽 클래스를, 내포관계가 있는 경우에는 내포되는 클래스 및 내포관계가 제거된 나머지 클래스를, 상기 상속, 연관, 및 내포관계 중 두가지 이상이 중복된 경우에는 각각의 관계에 따라 생성된 클래스들 중 가장 작은 클래스를 원소클래스라고 하고, 상기 원소클래스들을 조합하여 생성할 수 있는 모든 클래스를 비원소클래스라고 정의한다.In the object-oriented system, if there is an inheritance relation between classes, the uppermost class, if there is an association relation, both classes, and if there is an nested relation, the nested class and the remaining classes from which the nested relation is removed, In case two or more of,, and nested relations overlap, the smallest class among the classes created according to each relation is called an element class, and all classes that can be created by combining the element classes are defined as non-element classes. .

제2(a)도는 상기와 같은 정의하에 상기 원소클래스를 이용해 상기 비원소클래스를 실행시간에 동적으로 생성하는 동적클래스 생성 시스템의 구성도를 도시한 것이다. 원소클래스 풀(200)은 상기 원소클래스들의 집합으로서 원소클래스를 관리하고 저장하는 일종의 데이터 베이스 역할을 한다.FIG. 2 (a) shows a configuration diagram of a dynamic class generation system that dynamically generates the non-element class at runtime using the element class under the above definition. The element class pool 200 serves as a kind of database for managing and storing element classes as a set of element classes.

변환모듈(210)은 상기 원소클래스와 상기 임의의 비원소클래스간에 존재하는 관계를 기술하는 관계기술수단을 사용해 기술된 비원소클래스 정보를 입력으로 받아, 상기 입력을 컴퓨터 시스템내에서 처리할 수 있는 형태(중간 코드)로 변환하고 이를 저장하고 처리하는 모듈이다. 여기서 상기 관계기술수단은 클래스의 요구사항(specification)과 인터페이스 관계를 기술하는 언어로서, 보통 CSIDL(Class Specification and Interface Description Language)이라고 부른다. 상기 CSIDL은 비원소클래스를 구성하는 원소클래스의 고유번호(id) 정보, 이미 전송된 클래스의 고유번호 정보, 클래스간의 상속관계, 연관관계, 내포관계를 나타내는 정보, 클래스의 인터페이스에 관한 정보 및 클래스의 행위(behavior)에 관한 정보를 기술할 수 있어야 한다. 그리고 상기 CSIDL에는 필수적이진 않지만 다른 버젼(version)의 CSIDL과의 혼란을 피하기 위해 상기 CSIDL의 고유번호(id)에 대한 정보도 필요하다.The conversion module 210 may receive as input non-element class information described using relationship description means for describing a relationship existing between the element class and the arbitrary non-element class, and process the input in a computer system. This module converts form (intermediate code), stores it, and processes it. Here, the relation description means is a language for describing the specification and interface relationship of the class, and is commonly referred to as Class Specification and Interface Description Language (CSIDL). The CSIDL is a unique number (id) information of the element class constituting the non-element class, the unique number information of the class already transmitted, inheritance relationship, association between the class, information indicating the nesting relationship, information about the interface of the class and class It should be possible to describe information about the behavior of the company. And although not essential to the CSIDL, in order to avoid confusion with other versions of the CSIDL, information on the unique number (id) of the CSIDL is also required.

관계검증부(220)는 상기 변환모듈(210)에서 변환된 정보를 가지고 클래스간의 상속(hierachy), 연관(assocation) 및 내포(aggregation)관계가 타당한가를 검증한다. 클래스생성부(230)는 상기 관계검증부(220)에서 검증된 관계성에 의해 상기 원소클래스를 비원소클래스로 구성하여 새로운 클래스를 생성해 낸다.The relationship verification unit 220 verifies whether the inheritance, association, and aggregation relationship between classes is valid with the information converted by the conversion module 210. The class generation unit 230 generates a new class by constructing the element class as a non-element class by the relationship verified by the relationship verification unit 220.

제2(b)도는 원소클래스에 기반한 동적 클래스 구성 기법의 개념도를 도시한 것으로서, 원소클래스(280)의 각 도형들은 기본적인 객체들을 나타내고 있다. 이들을 이용하여 시스템 위에 존재하는 객체들(270)을 표현할 수 있다. 원소클래스와 시스템 상의 객체들 간을 표현하기 위해 CSIDL(250)이 존재하며, 이는 동적 클래스 구성자(260)에 의해 해석되고, 해석된 결과에 따라 원소 객체들을 이용해 좀더 복잡한 형태의 객체들이 생성된다.FIG. 2 (b) shows a conceptual diagram of a dynamic class construction scheme based on an element class. Each figure of the element class 280 represents basic objects. These can be used to represent the objects 270 present on the system. CSIDL 250 exists to represent between the element class and the objects on the system, which are interpreted by the dynamic class constructor 260, and more complex objects are created using the element objects according to the interpreted result.

상기 제2(a)도에 도시된 실행시간에 동적으로 클래스를 생성하는 실행시간 동적 클래스 생성 시스템의 동작을 설명하면 다음과 같다. 먼저 외부로 부터 생성하고자 하는 클래스에 대한 정보를 가지고 있는 상기 CSIDL로 기술된 화일이나 데이터가 변환모듈(210)에 입력되면, 이를 컴퓨터 시스템 내에서 처리할 수 있는 형태(중간 펀드)로 변환을 한다.The operation of the runtime dynamic class generation system for dynamically generating a class at runtime shown in FIG. 2 (a) will be described below. First, when a file or data described in the CSIDL having information on a class to be generated from the outside is input to the conversion module 210, the file is converted into a form (intermediate fund) that can be processed in a computer system. .

그리고 나서 관계검증부(220)에서 상기 중간코드를 분석하고, 클래스간의 상속, 내포, 연관 관계, 행위(behavior) 및 클래스의 인터페이스 등에 관한 내용이 타당한가를 검증한다. 상기 검증 결과 타당하다고 판정이 나면, 원소클래스풀(200)에 있는 필요한 원소클래스를 가져와서 상기에서 검증된 클래스간의 관계성 및 인터페이스에 맞게 새로운 클래스를 생성한다. 이상과 같이 클래스를 원소클래스라는 작은 크기의 클래스로 나누고 그 관계법 및 인터페이스를 CSIDL을 이용해 기술함으로써 실행시간에 동적으로 클래스를 생성할 수가 있게 된다. 또한 CSIDL의 정보를 전송함으로써 적은 작업부하(overload)로도 다른 노드에 해당 클래스를 복원시켜 전이시킬 수 있다.Then, the relationship verification unit 220 analyzes the intermediate code, and verifies whether the contents regarding inheritance, nesting, association, behavior, and interface of the class are valid. If it is determined that the result of the verification is valid, the required element class in the element class pool 200 is taken and a new class is generated according to the relationship and interface between the classes verified above. As mentioned above, by dividing the class into small class called element class and describing the relation and interface by using CSIDL, the class can be created dynamically at runtime. In addition, by transmitting the information of the CSIDL it can be transferred by restoring the class to another node with a small workload (overload).

제3도는 상기 실행시간 동적 클래스 생성시스템을 이용해 하나의 시스템에 있는 객체와 클래스를 분석하여 클래스에 대한 정보를 추출 및 관리하고, 이를 통해 실행시간에 동적으로 클래스를 생성하는 동적 클래스 시스템의 구성도를 도시한 것으로서, 상기 동적 클래스 시스템은 클래스정보제공부(300) 및 동적 클래스구성부(370)로 이루어진다.3 is a block diagram of a dynamic class system that analyzes objects and classes in a system by using the runtime dynamic class generation system, extracts and manages information on classes, and dynamically generates classes at runtime. As shown, the dynamic class system is composed of a class information providing unit 300 and the dynamic class configuration unit 370.

상기 클래스정보제공부(300)는 하나의 시스템 내에 포함된 모든 객체 및 비원소클래스들을 원소클래스들과 원소클래스들간의 관계(변환정보)로 변환시키는 모듈로서, 관계분석부(310), 원소클래스 추출부(320), 및 관계기술수단변환부(330)로 이루어진다.The class information providing unit 300 is a module for converting all object and non-element classes included in one system into element classes and relations (conversion information) between element classes. The relationship analysis unit 310 and element class And an extracting unit 320 and a related technology converting unit 330.

상기 관계분석부(310)는 객체의 상태정보 및 상기 비원소클래스를 입력으로 하여, 상기 객체의 상태정보 및 비원소클래스의 상속, 연관, 내포관계를 분석하고, 원소클래스추출부(320)는 상기 관계분석부(310)의 분석결과를 바탕으로 상기 원소클래스를 추출한다. 또한 관계기술수단 변환부(330)은 상기 분석된 비원소클래스의 정보를, 상기 원소클래스와 상기 소정의 비원소클래스간에 존재하는 관계를 기술하는 관계기술수단(CSIDL)을 사용해 CSIDL 화일이나 데이터로 나타낸다.The relationship analysis unit 310 inputs the state information of the object and the non-element class, and analyzes the inheritance, association, and nesting relationship of the state information of the object and the non-element class, and the element class extractor 320 The element class is extracted based on the analysis result of the relationship analysis unit 310. In addition, the relationship description means conversion unit 330 converts the analyzed non-element class information into a CSIDL file or data using a relationship description means (CSIDL) describing a relationship existing between the element class and the predetermined non-element class. Indicates.

그리고 상기 동적클래스구성부(350)는 상기 클래스정보 제공부(300)에서 생성된 원소클래스들과 변환정보를 받아 비원소클래스 및 객체를 생성하고, 복원하는 모듈로서, 상기 실행시간 동적 클래스 생성시스템을 적용한 것이다.The dynamic class constructing unit 350 is a module for generating and restoring non-element classes and objects by receiving element classes and transformation information generated by the class information providing unit 300. The runtime dynamic class generating system Is applied.

제4도는 제3도의 동작을 흐름도로 도시한 것으로서, 제4도 및 상술한 제1도에 도시된 실행시간 동적 클래스 생성시스템를 참조하여 동적 클래스 시스템 및 동적 클래스 생성 방법을 설명한다.FIG. 4 is a flowchart illustrating the operation of FIG. 3. The dynamic class system and the dynamic class generation method will be described with reference to FIG. 4 and the runtime dynamic class generation system shown in FIG. 1.

먼저 제1도에 도시된 원소클래스풀(200)이 생성되어 있어야 한다.(407단계) 그리고 나서 관계분석부(310)는 객체(object)의 상태에 관한 정보 및 상기 비원소클래스를 받아들여 상기 객체의 상태정보, 비원소클래스의 상속, 연관, 내포관계, 클래스의 행위(behavior) 및 클래스의 인터페이스를 분석한다.(410단계) 상기에서 분석된 정보를 바탕으로 하여 원소클래스 추출부(320)은 비원소클래스를 구성하고 있는 원소클래스를 추출해 내고, 원소 풀에 추가시킨다.(420단계) 그리고 나서 관계기술수단 변환부(330)을 통해 상기 분석된 비원소클래스의 정보를 상기 CSIDL을 사용해 화일이나 데이터 열로 출력한다.(430단계)First, the element class pool 200 shown in FIG. 1 should be created (step 407). Then, the relationship analysis unit 310 receives the information about the state of the object and the non-element class. The object state information, inheritance, association, nesting relationship, class behavior, and interface of the class are analyzed (step 410). The element class extracting unit 320 based on the information analyzed above. Extracts the element class constituting the non-element class and adds the element class to the element pool (step 420). Then, through the relation description means conversion unit 330, the information of the analyzed non-element class is stored using the CSIDL file. Or output as a data string (step 430).

상기 관계기술수단 변환부(330)를 통해 변환된 CSIDL 화일이나 데이터는 제1도에 도시된 실행시간 동적 클래스 생성시스템의 변환모듈(210)으로 입력된다. 이하의 설명은 상기 제1도에 도시된 실행시간 동적 클래스 생성시스템의 동작과 동일하다.The CSIDL file or data converted by the relation describing means conversion unit 330 is input to the conversion module 210 of the runtime dynamic class generation system shown in FIG. The following description is the same as the operation of the runtime dynamic class generation system shown in FIG.

즉 상기 430단계를 퉁해 변환된 CSIDL로 기술된 비원소클래스 정보를 입력으로 받아, 이를 상기 입력을 컴퓨터 시스템내에서 처리할 수 있는 형태로 해석(interpret)하고 변환하여 이를 메모리에 저장하고 처리한다.(440단계) 그리고 나서 상기 변환모듈에서 변환된 클래스간의 상속, 내포 및 연관관계가 타당한가를 검증한다.(450단계) 상기 검증단계에서 검증된 관계성에 의해 상기 원소 클래스를 비원소클래스로 구성하여 새로운 클래스를 생성해 낸다.(460단계)That is, in step 430, non-element class information described in the converted CSIDL is received as an input, and the input is interpreted in a form that can be processed in a computer system, converted, stored in the memory, and processed. (Step 440) Then, it is verified whether the inheritance, nesting, and association between the classes converted in the conversion module is valid. (Step 450) The element class is configured as a non-element class based on the relationship verified in the verification step. Create a class (step 460).

한편 제5도는 적어도 두 개 이상의 프로세서와 이들간을 연결하는 통신망으로 구성된 분간환경 또는 병렬처리환경에서 수행되는 객체지향시스템에서 한 프로세서(전송노드)로부터 다른쪽 프로세서(수신노드)로 객체를 전이하는 데 있어서, 필요한 작업부하를 줄이면서 기존의 객체전이 기법에서 필요했던 제약들을 줄이기 위해, 상기 제3도의 동적 클래스 시스템을 이용해 필요한 클래스를 동적으로 생성하여 객체를 전이하는, 본 발명에 따른 객체전이 시스템의 일실시예에 대한 구성도를 도시한 것이다.5 is a diagram illustrating an object transition from one processor (transmitting node) to another processor (receiving node) in an object-oriented system which is performed in a distributed or parallel processing environment composed of at least two processors and a communication network connecting them. In order to reduce the workload required in the existing object transition scheme while reducing the required workload, the object transition system according to the present invention, by dynamically generating the required class using the dynamic class system of FIG. It shows a block diagram for one embodiment of the.

상기 본 발명에 따른 객체전이 시스템은 객체 할당관리자(object allocation manager, 500)와 전송노드(510) 및 수신노드(560)로 구성되는데, 상기 객체할당관리자(500)는 작업부하가 한 프로세서에 집중될 때 이를 분산시키기 위해 객체 할당을 관리하는 모듈이다.The object transition system according to the present invention is composed of an object allocation manager (500), a transmitting node 510 and a receiving node (560), the object allocation manager 500, the workload is concentrated on one processor This module manages object allocation to distribute them when they are created.

그리고 상기 전송노드(510)는 전이객체(migrating object, 520)와 클래스정보 제공자(530)로 구성되는데, 상기 전이객체(520)는 상기 객체할당 관리자(500)으로 부터 객체전이 명령을 수신하면 외부의 처리요구를 수신하지 않고, 상기 수신노드에게 객체생성 메세지를 출력하고(523), 해당 객체의 상태정보 전송준비를 하고 있다가(524), 객체상태정보를 상기 수신노드(560)의 새객체(580)로 전송(528)하고나면 전송대상객체를 소멸시킨다.(526) 그리고 상기 클래스정보 제공자(530)는 수신노드의 객체생성관리자(500)로 부터 클래스 정보 요구 메세지를 받으면(573) 해당 클래스 정보를 출력(531)하는 모듈로서 제3도에 도시된 클래스정보제공부(300)을 이용한 것이다.The transmission node 510 is composed of a migrating object 520 and a class information provider 530. The transition object 520 receives an object transition command from the object assignment manager 500. The object creation message is output to the receiving node without receiving the processing request of the receiving node (523), the state information of the object is prepared to be transmitted (524), and the object state information is received from the new object of the receiving node (560). The transmission target object is destroyed after the transmission (528) to the (580). (526) And the class information provider 530 receives the class information request message from the object creation manager 500 of the receiving node (573) The class information providing unit 300 illustrated in FIG. 3 is used as a module for outputting class information 531.

그리고 상기 수신노드(560)는 객체생성관리가(570) 새 객체(new obiect, 580) 및 동적클래스 구성자(590)으로 구성된다. 객체생성 관리자(570)는 상기 전송노드(510)의 객체생성요구 메세지를 받아 생성요구 대상 객체가 속한 클래스가 존재하는지 검사(571)하여 상기 클래스가 존재하면 새로운 객체 생성 메세지를 출력하고(572), 상기 클래스가 존재하지 않으면 전송노드(510)의 상기 클래스정보 제공자(530)로 해당 클래스 정보를 요청한다.(573) 새객체(580)는 상기 객체생성관리자(570) 또는 동적클래스 구성자(590)로부터 새로운 객체생성 메세지를 받으면(571,592), 전송노드의 상기 전이객체(520)로부터 해당 객체의 상태정보(528)를 받아 새로운 객체의 상태 정보로 기록한다.(584)The receiving node 560 includes an object creation manager 570, a new object 580, and a dynamic class constructor 590. The object creation manager 570 receives the object creation request message of the transport node 510 and checks whether a class to which a creation request object belongs belongs exists and outputs a new object creation message if the class exists (572). If the class does not exist, the corresponding class information is requested to the class information provider 530 of the transmitting node 510. (573) The new object 580 is the object creation manager 570 or the dynamic class constructor 590. When a new object creation message is received from the received object (571, 592), the state information 528 of the object is received from the transition object 520 of the transmitting node and recorded as state information of the new object (584).

그리고 동적클래스구성자(590)는 전송노드의 클래스정보 제공자(530)로부터 클래스정보를 받아 동적으로 새로운 클래스를 만들고, 상기 새 객체에게 객체생성 메세지를 출력하는 모듈로서, 제3도에 도시된 동적클래스구성부(350)을 이용한 것이다.The dynamic class constructor 590 receives class information from the class information provider 530 of the transmitting node and dynamically creates a new class and outputs an object creation message to the new object. The dynamic class shown in FIG. The configuration unit 350 is used.

제6도는 제7도의 동작을 흐름도로 도시한 것으로서, 제6도 및 상술한 제3도에 도시된 동적 클래스 시스템를 참조하여 객체전이 시스템 및 방법을 설명한다.FIG. 6 is a flowchart illustrating the operation of FIG. 7. The object transition system and method will be described with reference to FIG. 6 and the dynamic class system shown in FIG.

제5도에 도시된 바와 같이 새로 제안된 방법은 기존의 방법을 크게 변경하지 않고 전송노드에는 클래스정보제공자(530)를, 수신노드에는 동적클래스구성자(590)를 추가함으로써 향상된 기능을 갖도록 한 것이다.As shown in FIG. 5, the newly proposed method has an improved function by adding a class information provider 530 to a transmitting node and a dynamic class constructor 590 to a receiving node without greatly changing the existing method. .

제5도에서 객체할당관리자(500)로부터 전송노드의 객체로 전달되는 메시지(502)와 제1도의 객체할당관리자(100)는 같은 역할을 수행한다. 또한 전송노드의 전이 객체상의 세가지 중요단계들(522,524,526)과 수신 노드의 새 객체(580)상의 세가지 중요 단계들(582,584,586)은 각각 제1도의 101, 102, 103과 105, 106, 107과 대응된다. 이와 함께 전이객체(520)로부터 객체생성 관리자(570)로 전달되는 메세지(523)와 새객체(580)로 전달되는 메세지(528)는 각각 제1도의 108과 109가 대응된다. 수신노드의 객체생성관리자(570)나 동적 클래스구성자(590)로부터 새 객체에 전달되는 생성 메시지(572,592)는 제1도의 104와 대응된다. 기존의 기법에서와 같은 구성요소들 중 변경되는 것은 수신노드의 객체생성관리자(570)일 뿐 그 외의 요소들은 기능 및 형태에 변화가 없는 것이다.In FIG. 5, the message 502 transmitted from the object assignment manager 500 to the object of the transmitting node and the object assignment manager 100 of FIG. 1 perform the same role. In addition, the three critical steps 522,524, 526 on the transition node of the transmitting node and the three critical steps 582, 584, 586 on the new object 580 of the receiving node correspond to 101, 102, 103 and 105, 106, 107 of FIG. . The message 523 transferred from the transition object 520 to the object creation manager 570 and the message 528 transferred to the new object 580 correspond to 108 and 109 of FIG. 1, respectively. Creation messages 572 and 592 transmitted from the object creation manager 570 or the dynamic class constructor 590 of the receiving node to the new object correspond to 104 in FIG. It is only the object creation manager 570 of the receiving node that is changed among the components as in the conventional technique, and the other elements have no change in function and form.

본 발명의 핵심은 객체의 행위를 정의하게 되는 클래스의 정보를 원소 클래스라는 작은 크기의 클랙스들을 이용해 기술하도록 하고, 이때 기술된 정보만을 주고 받도록하여 작은 부하(overload)로도 클래스를 수신노드에 생성시키는 기술에 있다.The core of the present invention is to describe the information of the class that defines the behavior of the object using small sized classes called element class, and at this time, the class is created on the receiving node even with a small overload by sending and receiving only the information described. Is in the technology

상술한 바를 기초로 제6도의 흐름을 설명하기로 한다. 먼저 객체할당 관리자(500)가 객체전이를 지시하는 메시지(502)를 전송노드(510)로 출력한다.(600단계) 전이객체(520)는 객체전이 명령을 수신하면 외부의 처리요구를 수신하지 않고(610단계), 상기 수신노드(560)에게 객체생성 메세지(523)를 출력하고(620단계), 해당 객체의 상태정보 전송준비를 한다.(630단계)The flow of FIG. 6 will be described based on the above description. First, the object assignment manager 500 outputs a message 502 indicating the object transition to the transmitting node 510. (Step 600) When the transition object 520 receives an object transition command, the transition object 520 does not receive an external processing request. (Step 610), an object creation message 523 is output to the receiving node 560 (step 620), and the state information of the corresponding object is prepared for transmission (step 630).

한편 객체생성관리자(570)는 상기 전송노드의 객체생성요구 메세지(523)를 받아 생성요구 대상 객체가 속한 클래스가 존재하는지 검사한다.(640단계)On the other hand, the object creation manager 570 receives the object creation request message 523 of the transport node and checks whether a class to which a creation request target object belongs is present (step 640).

상기 검사단계에서 상기 클래스가 존재하면 객체생성관리자(570)는 새로운 객체생성 메세지(572)를 출력하고(680단계). 만일 상기 검사단계에서 상기 클래스가 존재하지 않으면 전송노드의 클래스정보 제공자(530)에게 해당 클래스정보를 요청한다.(650단계) 상기에서 해당 클래스정보 요구 메세지를 받고나면 클래스정보제공자(530)은 해당 클래스 정보를 수신노드의 동적클래스 구성자(590)으로 출력한다.(660단계) 이에 대한 상세한 설명은 상기 제3도의 클래스 정보제공부(300)의 설명에 준한다. 그리고 동적 클래스구성자(590)는 전송노드의 클래스정보제공자(530)로부터 클래스정보를 받아 동적으로 새로운 클래스를 만들고(670단계), 객체생성 메세지(592)를 출력한다.(680단계) 상기 670단계의 상세한 설명은 상기 제3도의 동적 클래스 구성자(590)의 설명에 준한다.If the class exists in the checking step, the object creation manager 570 outputs a new object creation message 572 (step 680). If the class does not exist in the checking step, the corresponding class information is requested to the class information provider 530 of the transmitting node (step 650). In step 650, the class information provider 530 receives the corresponding class information request message. The class information is output to the dynamic class constructor 590 of the receiving node (step 660). A detailed description thereof follows the description of the class information provider 300 of FIG. The dynamic class constructor 590 receives class information from the class information provider 530 of the transmitting node to dynamically create a new class (step 670), and outputs an object creation message 592 (step 680). The detailed description follows the description of the dynamic class constructor 590 of FIG.

한편 수신노드(560)은 상기 새로운 객체생성 메세지를 받으면, 전송노드(510)로부터 해당 객체에 대한 상태정보를 받아(690단계), 새로운 객체를 생성하고 생성된 객체는 동작을 시작한다.(695단계)Meanwhile, when the receiving node 560 receives the new object generation message, the receiving node 560 receives state information about the corresponding object from the transmitting node 510 (step 690), creates a new object, and starts the generated object. step)

제7도는 전송노드(510)로부터 수신노드(560)로 비원소클래스의 한 객체(520)를 전이시키는 과정을 동적 클래스 구성 기법을 이용해 표현한 것이다. 제7도에서 객체(520)는 먼저 클래스정보제공자(530)에 의해 클래스 정보를 분석받게 되고, 이에 따라 분석된 정보(710)는 수신노드(560)의 동적 클래스구성자(590)에 의해 원소클래스들(740)을 이용해 객체(520)의 클래스와 같은 클래스(580)를 생성하는데 사용되게 된다. 이후 전송노드(510)의 객체상태 전송모듈(700)은 현재 객체의 상태를 메시지로 전송하고(720), 이는 수신노드(560)의 객체생성모듈(730)로 전달되어 해당 객체를 복원하는데 사용된다. 이러한 일련의 과정을 통해 객체(520)는 전송노드(510)로부터 수신노드(560)로 전이(580)되게 된다.FIG. 7 illustrates the process of transferring an object 520 of a non-element class from a transmitting node 510 to a receiving node 560 using a dynamic class composition technique. In FIG. 7, the object 520 is first analyzed with class information by the class information provider 530. Accordingly, the analyzed information 710 is an element class by the dynamic class constructor 590 of the receiving node 560. Are used to create a class 580, such as a class of object 520. Thereafter, the object state transmitting module 700 of the transmitting node 510 transmits the state of the current object as a message 720, which is transmitted to the object generating module 730 of the receiving node 560, and used to restore the object. do. Through this series of processes, the object 520 transitions from the transmitting node 510 to the receiving node 560 (580).

상술한 바와 같이 본 발명에 의하면, 객체 지향 개념을 사용하는 다중 프로세서 시스템 및 분산 시스템에서 객체의 전이에 필요한 조건을 크게 완화시켜 객체 전이를 통해 얻고자 했던 시스템 전체의 작업부하와 통신부하의 균형화가 쉬워졌다는 것이다.As described above, according to the present invention, in the multi-processor system and the distributed system using the object-oriented concept, the system needs to balance the workload and the communication load of the entire system, which is intended to be obtained through the object transition. It's easy.

또한 원소클래스를 기반으로 복잡한 형태의 클래스를 동적으로 구성한다는 개념을 이용하면 일단 한번 사용되고 객체가 없어진 경우 해당 객체의 클래스를 계속 메모리에 남겨 놓을 필요없이 좀더 간단한 CSIDL로 변환하여 메모리에서 차지하는 비중을 줄일 수 있게 되어 좀더 동적인 환경에 적합하도록 객체지향 시스템을 구성할 수 있게 되었다.In addition, the concept of dynamically constructing a complex class based on an element class can be used to reduce the amount of memory occupied by converting to a simpler CSIDL once a class is used once. This makes it possible to configure an object-oriented system for a more dynamic environment.

본 발명에 따르면 전이하고자 하는 객체의 클래스가 없는 프로세서로 객체를 전이할 때는 먼저 해당 객체의 클래스 정보를 전달하여 클래스를 생성하도록 한 후, 객체의 상태 정보를 전달하여 객체가 옮겨지도록 하는 효과를 얻을 수 있게 된다. 이러한 기법은 현재까지의 기술만으로 실현할 수 없었던 시스템 전반에 걸친 객체 전이를 실현할 수 있다는 장점과 함께 시스템 전체의 성능을 효과적으로 이용할 수 있다는 장점을 가질 수 있다.According to the present invention, when a object is transferred to a processor that does not have a class of an object to be transferred, the class information of the object is first delivered to create a class, and then the state information of the object is transferred to obtain an effect of transferring the object. It becomes possible. This technique has the advantage of realizing the system-wide object transition that has not been realized by the technology up to now, and the advantage of effectively utilizing the system-wide performance.

본 발명은 궁극적으로 가까운 장래에 컴퓨팅 환경의 주류를 이룰 다중 프로세서 시스템과 분산 시스템의 구성과 운영을 쉽게 해주면서 이들 시스템의 자원들을 효율적으로 사용하도록 할 수 있을 것이다.The present invention will facilitate the configuration and operation of multiprocessor and distributed systems that will ultimately become the mainstream of computing environments, while enabling efficient use of the resources of these systems.

Claims (13)

객체지향 시스템에서의 클래스 간에 상속관계가 있는 경우에는 최상위클래스를, 연관관계가 있는 경우에는 양쪽 클래스를, 내포관계가 있는 경우에는 내포되는 클래스 및 내포관계가 제거된 나머지 클래스를, 상기 관계중 두가지 이상이 중복된 경우에는 각각이 관계에 따라 생성된 클래스들 중 가장 작은 클래스를 원소클래스라고 하고, 상기 원소클래스들을 조합하여 생성할 수 있는 모든 클래스를 비원소클래스라 할 때, 상기 원소클래스를 이용해 비원소클래스를 실행시간에 동적으로 생성하는 시스템에 있어서, 상기 원소클래스들의 정보를 관리하고 저장하는 원소클래스풀; 상기 원소클래스와 상기 소정의 비원소클래스간에 존재하는 관계를 기술하는 관계기술수단을 사용해 기술된 비원소클래스 정보를 입력으로 받아, 상기 입력을 컴퓨터 시스템내에서 처리할 수 있는 형태로 변환하여 저장하고, 처리하는 변환모듈; 상기 변환모듈에서 변환된 클래스간의 상속, 내포 및 연관관계가 타당한가를 검증하는 관계검증부; 및 상기 관계검증부에서 검증된 관계성에 의해 상기 원소 클래스를 비원소클래스로 구성하여 새로운 클래스를 생성해 내는 클래스생성부를 포함함을 특징으로 하는 실행시간 동적 클래스생성 시스템.In the object-oriented system, if there is an inheritance relationship between classes, the top class, if there is an association, both classes, if there is an nested relationship, the nested class and the remaining classes from which the nested relationship is removed, When the above is duplicated, when the smallest class among the classes created according to the relationship is called an element class, and all classes that can be generated by combining the element classes are called non-element classes, the element class is used. A system for dynamically generating non-element classes at runtime, comprising: an element class pool for managing and storing information of the element classes; Receives the non-element class information described by using relationship description means for describing the relationship existing between the element class and the predetermined non-element class, converts the input into a form that can be processed in a computer system, and stores the input. A conversion module for processing; A relationship verification unit for verifying whether inheritance, nesting, and association relationships between classes converted by the conversion module are valid; And a class generation unit configured to generate the new class by constructing the element class into a non-element class based on the relationship verified by the relationship verification unit. 제1항에 있어서, 상기 관계기술수단은 상기 비원소클래스를 구성하는 원소클래스의 고유번호 정보; 이미 전송된 클래스의 고유번호 정보; 클래스간의 상속관계, 연관관계, 내포관계를 나타내는 정보; 클래스의 인터페이스에 관한 정보; 및 클래스의 행위에 관한 정보를 포함함을 특징으로 하는 실행시간 동적 클래스생성 시스템.The method of claim 1, wherein the relation description means comprises: unique number information of an element class constituting the non-element class; Unique number information of a class already transmitted; Information representing inheritance, association, and nesting relationships between classes; Information about the interface of the class; And information regarding the behavior of the class. 객체지향 시스템에서의 클래스 간에 상속관계가 있는 경우에는 최상위클래스를, 연관관계가 있는 경우에는 양쪽 클래스를, 내포관계가 있는 경우에는 내포되는 클래스 및 내포관계가 제거된 나머지 클래스를, 상기 관계중 두가지 이상이 중복된 경우에는 각각의 관계에 따라 생성된 클래스들 중 가장 작은 클래스를 원소클래스라고 하고, 상기 원소클래스들을 조합하여 생성할 수 있는 모든 클래스를 비원소클래스라 할 때, 하나의 시스템 내에 포함된 모든 객체 및 비원소클래스들을 원소클래스들과 원소클래스들 간의 관계(변환정보)로 변환시키는 클래스 정보제공수단; 및 상기 클래스정보제공수단에서 생성된 원소클래스들과 변환정보를 받아 비원소클래스 및 객체를 생성하고 복원하는 동적클래스구성수단을 포함함을 특징으로 하는 실행시간 동적 클래스 시스템.In the object-oriented system, if there is an inheritance relationship between classes, the top class, if there is an association, both classes, if there is an nested relationship, the nested class and the remaining classes from which the nested relationship is removed, When the above is duplicated, the smallest class among the classes created according to each relationship is called an element class, and all classes that can be generated by combining the element classes are included in one system when called non-element classes. Class information providing means for converting all the object and non-element classes into element relations between element classes and element classes (conversion information); And dynamic class constructing means for receiving and converting element classes generated by the class information providing means and creating and restoring non-element classes and objects. 제3항에 있어서, 클래스정보제공 수단은 객체의 상태정보 및 상기 비원소클래스를 입력으로 하여, 상기 객체의 상태정보 및 비원소클래스의 상속, 연관, 내포관계를 분석하는 관계 분석부; 상기 분석부의 분석결과를 바탕으로 상기 원소클래스를 추출하는 원소클래스추출부; 및 상기 분석된 비원소클래스의 정보를, 상기 원소클래스와 상기 소정의 비원소클래스간에 존재하는 관계를 기술하는 관계기술수단을 사용해 나타내는 관계기술수단변환부를 포함함을 특징으로 하는 동적 클래스 시스템.The apparatus of claim 3, wherein the class information providing unit comprises: a relationship analysis unit configured to analyze the inheritance, association, and nesting relationship of the state information of the object and the non-element class by inputting state information of the object and the non-element class; An element class extracting unit extracting the element class based on an analysis result of the analysis unit; And a relation description means converting section for representing the analyzed non-element class information using relation description means for describing a relationship existing between the element class and the predetermined non-element class. 제3항에 있어서, 상기 동적클래스 구성수단은 상기 원소클래스들의 정보를 관리하고 저장하는 원소클래스풀; 상기 원소클래스와 상기 소정의 비원소클래스간에 존재하는 관계를 기술하는 관계기술수단을 사용해 기술된 비원소클래스 정보를 입력으로 받아, 상기 입력을 컴퓨터 시스템내에서 처리할 수 있는 형태로 변환하여 저장하고, 처리하는 변환부; 상기 변환모듈에서 변환된 클래스간의 상속, 내포 및 연관관계가 타당한가를 검증하는 관계검증부; 및 상기 관계검증부에서 통해 검증된 관계성에 의해 상기 원소클래스를 비원소클래스로 구성하여 새로운 클래스를 생성해 내는 클래스생성부를 포함함을 특징으로 하는 동적 클래스 시스템.4. The apparatus of claim 3, wherein the dynamic class constructing means comprises: an element class pool for managing and storing information of the element classes; Receives the non-element class information described by using relationship description means for describing the relationship existing between the element class and the predetermined non-element class, converts the input into a form that can be processed in a computer system, and stores the input. A conversion unit for processing; A relationship verification unit for verifying whether inheritance, nesting, and association relationships between classes converted by the conversion module are valid; And a class generation unit configured to generate a new class by configuring the element class as a non-element class based on the relationship verified by the relationship verification unit. 제4항 또는 제5항 중 어느 한 항에 있어서. 상기 관계기술수단은 상기 비원소클래스를 구성하는 원소클래스의 고유번호 정보; 이미 전송된 클래스의 고유번호 정보; 클래스간의 상속관계, 연관관계, 내포관계를 나타내는 정보; 클래스의 인터페이스에 관한 정보; 및 클래스의 행위에 관한 정보를 포함함을 특징으로 하는 클래스정보 제공 시스템.The method according to claim 4 or 5. The relation description means includes unique number information of an element class constituting the non-element class; Unique number information of a class already transmitted; Information representing inheritance, association, and nesting relationships between classes; Information about the interface of the class; And class information about the behavior of the class. 객체지향 시스템에서의 클래스 간에 상속관계가 있는 경우에는 최상위클래스를, 연관관계가 있는 경우에는 양쪽 클래스를, 내포관계가 있는 경우에는 내포되는 클래스 및 내포관계가 제거된 나머지 클래스를, 상기 관계중 두가지 이상이 중복된 경우에는 각각이 관계에 따라 생성된 클래스들 중 가장 작은 클래스를 원소클래스라고 하고, 상기 원소클래스들을 조합하여 생성할 수 있는 모든 클래스를 비원소클래스라 할 때, 실행시간에 동적으로 새로운 클래스를 생성하는 방법에 있어서, 상기 원소클래스들에 관한 정보를 관리하고 저장하고 있는 원소클래스풀을 생성하는 단계; 객체의 상태정보 및 상기 비원소클래스를 입력으로 하여, 상기 객체의 상태정보 및 비원소클래스의 상속, 연관, 내포관계를 분석하는 단계; 상기 분석결과를 바탕으로 상기 원소클래스를 추출하고 원소 클래스풀에 첨가하는 원소클래스추출 단계; 상기 분석된 비원소클래스의 정보를, 상기 원소클래스와 상기 소정의 비원소클래스간에 존재하는 관계를 기술하는 관계기술수단을 사용해 나타내고 이를 출력하는 관계기술수단변환단계; 상기 관계기술수단변환단계를 통해 변환된 관계기술수단으로 기술된 비원소클래스 정보를 입력으로 받아, 상기 입력을 컴퓨터 시스템내에서 처리할 수 있는 형태로 변환하여 저장하고, 처리하는 단계; 상기 변환모듈에서 변환된 클래스간의 상속, 내포 및 연관관계가 타당한가를 검증하는 단계; 및 상기 검증단계에서 검증된 관계성에 의해 상기 원소 클래스를 비원소클래스로 구성하여 새로운 클래스를 생성해 내는 단계를 포함함을 특징으로 하는 실행시간 동적 클래스 생성방법.In the object-oriented system, if there is an inheritance relationship between classes, the top class, if there is an association, both classes, if there is an nested relationship, the nested class and the remaining classes from which the nested relationship is removed, If the above is duplicated, the smallest class among the classes created according to the relationship is called an element class, and all classes that can be generated by combining the above element classes are non-element classes, dynamically at runtime. A method of creating a new class, the method comprising: generating an element class pool that manages and stores information about the element classes; Analyzing inheritance, association, and nesting relationship of the state information of the object and the non-element class with input of state information of the object and the non-element class; An element class extraction step of extracting the element class based on the analysis result and adding the element class to an element class pool; A relation description means conversion step of displaying and analyzing the analyzed non-element class information by using relation description means for describing a relationship existing between the element class and the predetermined non-element class; Receiving non-element class information described by the relation description means converted through the relation description means conversion step, converting the input into a form that can be processed in a computer system, and storing and processing the input; Verifying whether inheritance, nesting, and association between classes converted by the conversion module are valid; And generating a new class by constructing the element class into a non-element class based on the relationships verified in the verifying step. 제7항에 있어서, 상기 관계기술수단은 상기 비원소클래스를 구성하는 원소클래스의 고유번호 정보; 이미 전송된 클래스의 고유번호 정보; 클래스간의 상속관계 연관관계, 내포관계를 나타내는 정보; 클래스의 인터페이스에 관한 정보; 및 클래스의 행위에 관한 정보를 포함함을 특징으로 하는 실행시간 동적 클래스 생성방법.8. The method according to claim 7, wherein said relationship describing means comprises: unique number information of an element class constituting said non-element class; Unique number information of a class already transmitted; Information indicating an inheritance relationship and nesting relationship between classes; Information about the interface of the class; And information about the behavior of the class. 적어도 두 개 이상의 프로세서와 이들간을 연결하는 통신망으로 구성된 분산환경 또는 병렬처리환경에서 수행되는 객체지향시스템에서 한 프로세서(전송노드)로부터 다른쪽 프로세서(수신노드)로 객체를 전이하는 객체 전이 시스템에 있어서, 상기 전송노드는 객체전이 명령을 수신하면 외부의 처리요구를 수신하지 않고 상기 수신노드에게 객체생성 메세지를 출력하고, 해당 객체의 상태정보 전송준비를 하고 있다가 객체상태정보를 상기 수신노드로 전송하고나면 전송 대상 객체를 소멸시키는 전이객체; 및 수신노드의 하기 객체생성관리자로 부터 클래스 정보 요구 메세지를 받으면 해당 클래스 정보를 출력하는 클래스정보 제공부를 포함함을 특징으로 하고, 상기 수신 노드는 상기 전송노드의 객체생성요구 메세지를 받아 생성요구 대상 객체가 속한 클래스가 존재하는지 검사하여 상기 클래스가 존재하면 새로운 객체 생성 메세지를 출력하고, 상기 클래스가 존재하지 않으면 전송노드의 상기 클래스정보제공부로 해당 클래스 정보를 요청하는 객체생성관리부; 상기 객체생성관리부 또는 하기 동적클래스 구성부로부터 새로운 객체생성 메세지를 받으면, 전송노드의 상기 전이객체로부터 해당 객체의 상태정보를 받아 새로운 객체를 생성하는 새 객체; 및 전송노드의 클래스정보 제공부로부터 클래스정보를 받아 동적으로 새로운 클래스를 만들고, 상기 새 객체에게 객체생성 메세지를 출력하는 동적클래스 구성자를 포함함을 특징으로 하는 객체전이시스템.An object-oriented system that transfers objects from one processor (transmitting node) to the other (receiving node) in an object-oriented system that is implemented in a distributed or parallel processing environment consisting of at least two processors and a communication network connecting them. When the transmitting node receives the object transfer command, the transmitting node outputs an object creation message to the receiving node without receiving an external processing request, and prepares to transmit the state information of the corresponding object, and then returns the object state information to the receiving node. A transition object that destroys the object to be transmitted after the transmission; And a class information providing unit for outputting corresponding class information when receiving a class information request message from an object creation manager of a receiving node, wherein the receiving node receives an object creation request message of the transmitting node and is a target of creation request. An object creation management unit which checks whether a class to which an object belongs exists, outputs a new object creation message if the class exists, and requests the class information to the class information providing unit of a transmitting node if the class does not exist; Receiving a new object creation message from the object generation management unit or the following dynamic class configuration unit, a new object receiving the state information of the object from the transition object of the transmitting node and creating a new object; And a dynamic class constructor that dynamically receives a class information from a class information providing unit of a transmitting node and dynamically creates a new class, and outputs an object generation message to the new object. 제9항에 있어서, 객체지향 시스템에서의 클래스 간에 상속관계가 있는 경우에는 최상위클래스를, 연관관계가 있는 경우에는 양쪽 클래스를, 내포관계가 있는 경우에는 내포되는 클래스 및 내포관계가 제거된 나머지 클래스를, 상기 관계중 두가지 이상이 중복된 경우에는 각각이 관계에 따라 생성된 클래스들 중 가장 작은 클래스를 원소클래스라고 하고, 상기 원소클래스들을 조합하여 생성할 수 있는 모든 클래스를 비원소클래스라 할 때, 상기 클래스 정보 제공부는 객체의 상태정보 및 상기 비원소클래스를 입력으로 하여, 상기 객체의 상태정보 및 비원소클래스의 상속, 연관, 내포관계를 분석하고 원소클래스 풀에 추가하는 관계분석부; 상기 분석부의 분석결과를 바탕으로 상기 원소클래스를 추출하고 원소클래스에 추가하는 원소클래스추출부; 및 상기 분석된 비원소클래스의 정보를, 상기 원소클래스와 상기 소정의 비원소클래스간에 존재하는 관계를 기술하는 관계기술수단을 사용해 나타내는 관계기술수단변환부를 포함함을 특징으로 하고, 상기 동적클래스 구성부는 상기 원소클래스들의 정보를 관리하고 저장하는 원소클래스풀; 상기 원소클래스와 상기 소정의 비원소클래스간에 존재하는 관계를 기술하는 관계기술수단을 사용해 기술된 비원소클래스 정보를 입력으로 받아, 상기 입력을 컴퓨터 시스템내에서 처리할 수 있는 형태로 변환하여 저장하고, 처리하는 변환부; 상기 변환모듈에서 변환된 클래스간의 상속, 내포 및 연관관계가 타당한가를 검증하는 관계검증부; 및 상기 관계검증부에서 통해 검증된 관계성에 의해 상기 원소 클래스를 비원소클래스로 구성하여 새로운 클래스를 생성해 내는 클래스생성부를 포함함을 특징으로 하는 객체전이 시스템.10. The method according to claim 9, wherein a class is inherited between classes in an object-oriented system, a top class in case of an inheritance relationship, both classes in a case of association, a nested class in case of a nested relationship, and a remaining class in which the nested relationship is removed. When two or more of the relationships are duplicated, the smallest class among the classes created according to the relationship is called an element class, and all classes that can be generated by combining the element classes are called non-element classes. The class information providing unit comprises a state analysis unit for inputting the state information of the object and the non-element class, and analyzing the inheritance, association, and nesting relationship of the state information and the non-element class of the object and adding them to the element class pool; An element class extracting unit extracting the element class based on an analysis result of the analysis unit and adding the element class to an element class; And a relation description means converting section for representing the analyzed non-element class information using relation description means for describing a relationship existing between the element class and the predetermined non-element class. An element class pool that manages and stores information of the element classes; Receives the non-element class information described by using relationship description means for describing the relationship existing between the element class and the predetermined non-element class, converts the input into a form that can be processed in a computer system, and stores the input. A conversion unit for processing; A relationship verification unit for verifying whether inheritance, nesting, and association relationships between classes converted by the conversion module are valid; And a class generation unit configured to generate a new class by constructing the element class into a non-element class based on the relationship verified by the relationship verification unit. 적어도 두 개 이상의 프로세서와 이들간을 연결하는 통신망으로 구성된 분산환경 또는 병렬처리 환경에서 수행되는 객체지향시스템에서 한 프로세서(전송노드)로부터 다른쪽 프로세서(수신노드)로 객체를 전이하는 객체전이 방법에 있어서, 객체할당을 하는 객체할당 관리자가 객체전이를 지시하는 메세지를 상기 전송노드로 출력하는 단계; 객체전이 명령을 수신하면 외부의 처리요구를 수신하지 않고 상기 수신노드에게 객체생성 메세지를 출력하고, 해당 객체의 상태정보 전송준비를 하는 단계; 상기 전송노드의 객체생성요구 메세지를 받아 생성요구 대상 객체가 속한 클래스가 존재하는지 검사하는 단계; 상기 검사단계에서 클래스가 존재하면 새로운 객체 생성 메세지를 출력하고, 상기 클래스가 존재하지 않으면 전송노드로 해당 클래스 정보를 요청하는 단계; 수신노드로부터 클래스 정보 요구 메세지를 받으면 해당 클래스 정보를 출력하는 단계; 전송노드로부터 클래스정보를 받아 동적으로 새로운 클래스를 만들고 객체생성 메세지를 출력하는 단계; 및 상기 새로운 객체생성 메세지를 받으면, 전송노드로부터 해당 객체의 상태정보를 받아 새로운 객체를 생성하는 단계를 포함함을 특징으로 하는 객체 전이 방법.In an object-oriented system in which an object-oriented system is performed in a distributed or parallel processing environment consisting of at least two processors and a communication network connecting them, an object transition method of transferring an object from one processor (transmission node) to the other processor (receiving node). The method comprising: outputting, by the object allocating manager who assigns an object, a message indicating an object transition to the transmitting node; Outputting an object creation message to the receiving node without receiving an external processing request and preparing to transmit status information of the object when receiving an object transition command; Receiving an object creation request message of the transport node and checking whether a class to which a creation request target object belongs is present; Outputting a new object creation message if a class exists in the checking step, and requesting corresponding class information from a transmission node if the class does not exist; Outputting corresponding class information when receiving a class information request message from a receiving node; Receiving class information from a transmitting node and dynamically creating a new class and outputting an object creation message; And receiving the new object creation message and receiving state information of the corresponding object from a transmission node to create a new object. 제11항에 있어서, 상기 수신노드로부터 클래스정보 요구 메세지를 받으면 해당 클래스정보를 출력하는 단계는 객체의 상태정보 및 상기 비원소클래스를 입력으로 하여, 상기 객체의 상태정보 및 비원소클래스의 상속, 연관, 내포관계를 분석하는 단계; 상기 분석 결과를 바탕으로 상기 원소클래스를 추출하는 원소클래스추출 단계; 및 상기 분석된 비원소클래스의 정보를, 상기 원소클래스와 상기 소정의 비원소클래스간에 존재하는 관계를 기술하는 관계기술수단을 사용해 나타내고 이를 출력하는 변환단계로 이루어짐을 특징으로 하고, 상기 전송노드로부터 클래스정보를 받아 동적으로 새로운 클래스를 만들고 객체생성 메세지를 출력하는 단계는 상기 변환단계를 통해 변환된 관계기술수단으로 기술된 비원소클래스 정보를 입력으로 받아, 상기 입력을 컴퓨터 시스템내에서 처리할 수 있는 형태로 변환하여 저장하고, 처리하는 단계; 상기 변환모듈에서 변환된 클래스간의 상속, 내포 및 연관간계가 타당한가를 검증하는 단계; 및 상기 검증단계에서 검증된 관계성에 의해 상기 원소 클래스를 비원소클래스로 구성하여 새로운 클래스를 생성해 내는 단계를 포함함을 특징으로 하는, 객체전이 방법.The method of claim 11, wherein the outputting of the class information upon receiving the class information request message from the receiving node comprises inputting state information of the object and the non-element class, and inheriting the state information of the object and the non-element class. Analyzing associations and nesting relationships; An element class extraction step of extracting the element class based on the analysis result; And a conversion step of representing and outputting the analyzed non-element class information by using relationship describing means for describing a relationship existing between the element class and the predetermined non-element class. Receiving class information and dynamically creating a new class and outputting an object generation message may receive the non-element class information described by the relation description means converted through the conversion step, and process the input in a computer system. Converting, storing, and processing the same in the present form; Verifying whether inheritance, nesting, and association between the classes converted by the conversion module are valid; And generating a new class by constructing the element class into a non-element class based on the relationship verified in the verifying step. 제12항에 있어서, 상기 관계기술수단은 상기 비원소클래스를 구성하는 원소클래스의 고유번호 정보; 이미 전송된 클래스의 고유번호 정보, 클래스간의 상속관계 연관관계, 내포관계를 나타내는 정보클래스의 인터페이스에 관한 정보; 및 클래스의 행위에 관한 정보를 포함함을 특징으로하는 객체전이방법.13. The method of claim 12, wherein the relationship description means comprises: unique number information of an element class constituting the non-element class; Information about an interface of an information class representing a unique number information of a class that has already been transmitted, an inheritance relationship association between classes, and a nesting relationship; And information about the behavior of the class.
KR1019960002540A 1996-02-02 1996-02-02 Object migration system and method KR100272094B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960002540A KR100272094B1 (en) 1996-02-02 1996-02-02 Object migration system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960002540A KR100272094B1 (en) 1996-02-02 1996-02-02 Object migration system and method

Publications (2)

Publication Number Publication Date
KR970062899A KR970062899A (en) 1997-09-12
KR100272094B1 true KR100272094B1 (en) 2000-12-01

Family

ID=19450654

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960002540A KR100272094B1 (en) 1996-02-02 1996-02-02 Object migration system and method

Country Status (1)

Country Link
KR (1) KR100272094B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010002510A (en) * 1999-06-15 2001-01-15 김영환 administration method of class layer and class composition layer

Also Published As

Publication number Publication date
KR970062899A (en) 1997-09-12

Similar Documents

Publication Publication Date Title
CN108510082B (en) Method and device for processing machine learning model
US5925098A (en) Apparatus and method for dispatching client method calls within a server computer system
CN111324571B (en) Container cluster management method, device and system
US7257816B2 (en) Digital data processing apparatus and methods with dynamically configurable application execution on accelerated resources
US9323580B2 (en) Optimized resource management for map/reduce computing
JPH07281974A (en) Communication system for exchange of data between computers in network
EP1171829A1 (en) Distributed digital rule processor for single system image on a clustered network and method
CN111061715A (en) Web and Kafka-based distributed data integration system and method
US11321090B2 (en) Serializing and/or deserializing programs with serializable state
JP2014525640A (en) Expansion of parallel processing development environment
US11438441B2 (en) Data aggregation method and system for a unified governance platform with a plurality of intensive computing solutions
US20220158889A1 (en) Efficient event-type-based log/event-message processing in a distributed log-analytics system
US7444350B1 (en) Method and apparatus for processing management information
US20020029297A1 (en) Method and apparatus for efficient representation of variable length identifiers in a distributed object system
CN114168302A (en) Task scheduling method, device, equipment and storage medium
Warren et al. A model for dynamic configuration which preserves application integrity
US20190278639A1 (en) Service for enabling legacy mainframe applications to invoke java classes in a service address space
US20080082473A1 (en) Peer based event conversion
Gomaa et al. Reusable component interconnection patterns for distributed software architectures
KR100272094B1 (en) Object migration system and method
US20150074688A1 (en) Method and System for Automated Process Distribution
Sudarsan et al. Building a distributed K‐Means model for Weka using remote method invocation (RMI) feature of Java
Zalila et al. Generating distributed high integrity applications from their architectural description
US20210055971A1 (en) Method and node for managing a request for hardware acceleration by means of an accelerator device
Stroustrup On unifying module interfaces

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee