KR100734826B1 - Method and system for transfering asynchronous data using a shared file - Google Patents

Method and system for transfering asynchronous data using a shared file Download PDF

Info

Publication number
KR100734826B1
KR100734826B1 KR1020030095386A KR20030095386A KR100734826B1 KR 100734826 B1 KR100734826 B1 KR 100734826B1 KR 1020030095386 A KR1020030095386 A KR 1020030095386A KR 20030095386 A KR20030095386 A KR 20030095386A KR 100734826 B1 KR100734826 B1 KR 100734826B1
Authority
KR
South Korea
Prior art keywords
shared
file
shared file
name
data
Prior art date
Application number
KR1020030095386A
Other languages
Korean (ko)
Other versions
KR20050064104A (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 KR1020030095386A priority Critical patent/KR100734826B1/en
Publication of KR20050064104A publication Critical patent/KR20050064104A/en
Application granted granted Critical
Publication of KR100734826B1 publication Critical patent/KR100734826B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems

Abstract

공유 파일을 이용한 비동기적 데이터 전달 방법 및 그 시스템이 개시된다. 적어도 하나 이상의 시스템에 전달하고자 하는 데이터를 공유 파일에 기록하고, 각각의 시스템으로 전달되는 공유 파일에 관한 정보를 포함하는 공유 정보 파일을 각각의 시스템별로 생성하고 관리하며 공유 정보 파일을 기초로 각각의 시스템으로 데이터 전달이 완료된 공유 파일을 파악하고 삭제한다. 이로써, 시스템간에 데이터를 비동기적으로 전달할 수 있다.Disclosed are a method and system for asynchronous data transfer using a shared file. Record data to be delivered to at least one system in a shared file, and create and manage a shared information file for each system that includes information about the shared file delivered to each system, based on the shared information file Identify and delete shared files that have completed data delivery to the system. This allows asynchronous transfer of data between systems.

Description

공유 파일을 이용한 비동기적 데이터 전달 방법 및 그 시스템{Method and system for transfering asynchronous data using a shared file}Asynchronous data transfer method and system using a shared file {Method and system for transfering asynchronous data using a shared file}

도 1은 본 발명에 따른 비동기 데이터 전달 시스템의 구조를 도시한 도면,1 is a diagram showing the structure of an asynchronous data delivery system according to the present invention;

도 2a는 본 발명에 따른 공유 파일의 구조를 도시한 도면,2A illustrates the structure of a shared file according to the present invention;

도 2b는 본 발명에 따른 공유 정보 파일의 구조를 도시한 도면, 그리고,2B is a diagram showing the structure of a shared information file according to the present invention;

도 3은 본 발명에 따른 비동기 데이터 전달 방법의 흐름을 도시한 흐름도이다.3 is a flowchart illustrating a flow of an asynchronous data transfer method according to the present invention.

본 발명은 시스템간 데이터 전달방법에 관한 것으로, 보다 상세하게는 TCP, UDP 등의 인터넷 프로토콜을 사용하는 시스템간에 데이터를 비동기적으로 전달하는 방법 및 그 시스템에 관한 것이다.The present invention relates to a data transfer method between systems, and more particularly, to a method and a system for asynchronously transferring data between systems using an Internet protocol such as TCP, UDP.

종래의 인터넷 프로토콜을 사용한 시스템간 데이터 전달방법은 데이터를 보내는 측과 받는 측 사이의 동기화가 필요하다. 따라서, 보내는 측과 받는 측의 작업의 속도가 다른 경우 속도가 빠른 측의 작업의 처리속도가 느린 측의 속도에 의해 제한을 받는 문제점이 있다. The data transmission method between systems using the conventional Internet protocol requires synchronization between the sender and the receiver. Therefore, there is a problem in that when the speed of the work on the sending side and the receiving side is different, it is limited by the speed of the slow processing speed of the work on the fast side.

한국공개특허공보 제2003-0048619호에는 공유 파일 시스템에서 전역잠금 패턴을 이용한 공유데이터 선인출 방법이 개시되어 있다. 이는 공유 파일 시스템에서의 데이터 선인출에 관한 것으로, 상세하게는 다수의 호스트가 사용하는 공유파일 시스템에서 호스트의 파일 시스템 콜에 따라 처리하는 트랜젝션에 대한 전역 잠금 패턴을 분석하여, 호스트로부터 공유 데이터의 요청이 들어오면 저장된 전역 잠금 패턴을 파악하고 미리 호스트가 요청할 공유데이터를 선택하여 디스크나 다른 호스트로부터 공유 데이터를 전송 받아 처리하도록 함으로써 파일 시스템의 처리 지연 시간을 감소시킬 수 있도록 하는 것이다. 즉, 공유 파일 시스템에서 전역 잠금 패턴을 파악하여 공유 데이터를 빠르게 선인출하여 제공하는 것에 관한 것이다.Korean Laid-Open Patent Publication No. 2003-0048619 discloses a shared data prefetch method using a global lock pattern in a shared file system. This is about prefetching data from a shared file system. Specifically, in a shared file system used by multiple hosts, it analyzes the global lock pattern for transactions handled by the host's file system calls, thereby analyzing the shared data from the host. When a request comes in, the global lock pattern is stored and the host selects the shared data to be requested in advance so that the shared data can be received from the disk or another host and processed. In other words, the present invention relates to providing a pre-fetched shared data by identifying a global lock pattern in a shared file system.

본 발명이 이루고자 하는 기술적 과제는, 공유 파일을 이용하여 데이터를 비동기적으로 전달함으로써, 데이터를 받는 시스템과 보내는 시스템의 처리 속도 차이에 관계없이 각각의 시스템이 동작하도록 하는 비동기적 데이터 전달 방법 및 그 시스템을 제공하는 데 있다.SUMMARY OF THE INVENTION The present invention provides an asynchronous data transfer method and a method for operating each system irrespective of differences in processing speeds of a receiving system and a sending system by transferring data asynchronously using a shared file. To provide a system.

상기의 기술적 과제를 달성하기 위한, 본 발명에 따른 비동기적 데이터 전달 방법의 일 실시예는, 적어도 하나 이상의 시스템에 전달하고자 하는 데이터를 공유 파일에 기록하는 단계; 상기 각각의 시스템으로 전달되는 공유 파일에 관한 정보를 포함하는 공유 정보 파일을 상기 각각의 시스템별로 생성하고 관리하는 단계; 및 상기 공유 정보 파일을 기초로 상기 각각의 시스템으로 데이터 전달이 완료된 공유 파일을 파악하고 삭제하는 단계;를 포함한다.In order to achieve the above technical problem, an embodiment of the asynchronous data transfer method according to the present invention, recording the data to be delivered to at least one or more systems in a shared file; Creating and managing a shared information file for each of the systems, the shared information file including information about the shared file delivered to each of the systems; And identifying and deleting the shared file of which data transfer is completed to the respective systems based on the shared information file.

상기의 기술적 과제를 달성하기 위한, 본 발명에 따른 비동기적 데이터 전달 시스템의 일 실시예는, 전달하고자 하는 각각의 데이터를 상기 공유 파일의 생성 순서에 따라 순차적인 이름을 갖는 각각의 공유 파일에 기록하고 기록중인 공유파일에 관한 정보를 포함하는 공유 정보 파일을 관리하는 공유 파일 기록부; 상기 공유 파일을 읽고, 상기 공유 파일에 관한 정보를 포함하는 공유 정보 파일을 관리하는 공유 파일 수신부; 및 상기 공유 정보 파일을 기초로 상기 각각의 시스템으로 데이터 전달이 완료된 공유 파일을 파악하고 삭제하는 공유 파일 삭제부;를 포함한다.In order to achieve the above technical problem, an embodiment of the asynchronous data delivery system according to the present invention records each data to be transferred to each shared file having a sequential name according to the generation order of the shared file. A shared file recorder for managing a shared information file including information about the shared file being recorded; A shared file receiving unit configured to read the shared file and manage a shared information file including information about the shared file; And a shared file deletion unit for identifying and deleting the shared file having completed data transfer to the respective systems based on the shared information file.

이로써, 시스템간에 데이터를 비동기적으로 전달할 수 있다.This allows asynchronous transfer of data between systems.

이하에서, 첨부된 도면들을 참조하여 본 발명에 따른 공유 파일을 이용한 시스템간 비동기적 데이터 전달 방법 및 그 시스템에 대하여 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail with respect to the asynchronous data transfer method between systems using the shared file and the system according to the present invention.

도 1은 본 발명에 따른 비동기적 데이터 전달 시스템의 구조를 도시한 도면이다.1 is a diagram showing the structure of an asynchronous data transfer system according to the present invention.

도 1을 참조하면, 데이터를 전달하는 시스템(100,102,104)은 SAN(Storage Area Network) 또는 NAS와 같은 시스템간 공유 저장장치에 전달하고자 하는 데이터를 공유 파일(130,132,134)에 기록한다. 그리고 데이터를 전달받는 시스템(110,112)은 공유 저장장치에 저장된 공유 파일(130,132,134)에 기록된 데이터를 읽음으로써 데이터를 전달받는다. 데이터를 전달하는 시스템(100,102,104)은 하나이나 데이터를 전달받는 시스템(110,112)은 다수가 존재할 수 있다.Referring to FIG. 1, a system 100, 102, 104 for transferring data writes data to a shared file 130, 132, 134 to be transferred to a shared storage device between systems such as a storage area network (SAN) or a NAS. The system 110 and 112 receiving the data receive the data by reading the data recorded in the shared files 130, 132, and 134 stored in the shared storage device. There are one system 100, 102, 104 for transmitting data, but a plurality of systems 110, 112 for receiving data may exist.

공유 파일의 크기가 일정이상 커지면 시스템이 그 공유 파일을 처리하는 데 있어서 성능 저하가 발생하므로 공유 파일의 크기에는 한계가 있다. 즉, 데이터를 전달하는 시스템(100,102,104)이 하나의 공유 파일에 계속해서 데이터를 기록하면, 공유 파일의 크기가 데이터를 전달받는 시스템이 지원하는 크기를 초과할 수 있으며, 처리속도의 저하가 발생할 수 있다. If the size of a shared file grows larger than a certain amount, there is a limit in the size of the shared file because a performance degradation occurs when the system processes the shared file. That is, if the system 100, 102, 104 that delivers data continuously records data in one shared file, the size of the shared file may exceed the size supported by the system that receives the data, and processing speed may decrease. have.

따라서, 데이터를 전달하려는 시스템(100,102,104)은 소정 분량의 데이터를 각각의 공유 파일에 기록한다. 그리고 각각의 공유 파일은 적어도 하나 이상의 레코드를 포함한다. 공유 파일의 구조에 대하여는 도 2a를 참조하여 상세히 설명한다. Thus, systems 100, 102, and 104 that wish to deliver data write a certain amount of data to each shared file. And each shared file contains at least one record. The structure of the shared file will be described in detail with reference to FIG. 2A.

데이터를 전달하는 시스템(100,102,104)과 데이터를 전달받는 시스템(110,112)은 시스템의 정상적인 종료 또는 갑작스럽운 종료 후 다시 시스템을 시작하였을 때 종료전에 전달 받던 공유 파일의 기록위치와 읽는 위치를 찾기 위해 읽기 및 기록 작업 위치를 저장하는 공유 정보 파일 생성하고 관리한다. 공유 정보 파일은 공유 파일과 동일한 저장장소에 저장되고 관리된다. 공유 정보 파일의 구조에 대하여는 도 2b를 참조하여 상세히 설명한다.The system 100, 102, 104 for transmitting data and the system 110, 112 for receiving data are read to find the recording position and the reading position of the shared file that was received before the termination when the system was restarted after the normal shutdown or sudden shutdown of the system. And create and manage shared information files that store recording work locations. The shared information file is stored and managed in the same storage location as the shared file. The structure of the shared information file will be described in detail with reference to FIG. 2B.

데이터를 전달받는 시스템(110,112)이 공유 파일의 데이터를 읽을 후 해당 공유 파일을 삭제하지 않으면, 공유 파일의 개수가 계속 증가한다. 따라서, 데이터 전달이 모든 끝난 공유 파일에 대하여 적절하게 삭제하는 작업이 필요하다. If the system 110 or 112 receiving the data does not delete the shared file after reading the data of the shared file, the number of shared files continues to increase. Therefore, it is necessary to properly delete all shared files after data transfer.

공유 파일을 읽는(전달받는) 시스템이 하나인 경우에는 그 공유 파일을 읽는 시스템이 데이터를 읽은 후 그 공유 파일을 삭제한다. 그러나, 하나의 공유 파일을 다수의 시스템이 읽는 경우에는 다수의 시스템이 그 공유 파일을 모두 읽었는지를 검사하고 그 공유 파일을 삭제한다. 이러한 공유 파일 삭제는 별도의 시스템에 의해 구현되거나, 데이터를 전달하는 시스템 또는 데이터를 전달받는 시스템과 함께 구현될 수 있다.If there is one system that reads (delivered) a shared file, the system that reads the shared file deletes the shared file after reading the data. However, if multiple systems read a single shared file, it checks whether multiple systems have read all of the shared files and deletes the shared files. Such shared file deletion may be implemented by a separate system, or may be implemented with a system that delivers data or a system that receives data.

도 2a는 본 발명에 따른 공유 파일의 구조를 도시한 도면이다.2A illustrates the structure of a shared file according to the present invention.

도 2a를 참조하면, 공유 파일(220)은 데이터 끝 표시 필드(210), 데이터 길이 필드(212) 및 데이터 필드(214)를 포함하는 적어도 하나 이상의 레코드(200,202,204,206)로 구성된다.Referring to FIG. 2A, the shared file 220 is composed of at least one record 200, 202, 204, 206 including a data end display field 210, a data length field 212, and a data field 214.

데이터 끝 표시 필드(210)는 적어도 하나 이상의 레코드로 구성되는 공유 파일에서 마지막 레코드를 구분하기 위한 필드이다. 데이터 길이 필드(212)는 각 레코드가 포함하는 데이터의 길이를 나타내며, 데이터 필드(214)에는 전달하고자 하는 데이터가 기록된다. 그리고, 마지막 레코드(206)에는 읽기 시스템의 개수 필드(216)를 포함한다. 읽기 시스템의 개수는 데이터를 전달받는 시스템의 개수를 나타낸다.The data end display field 210 is a field for distinguishing the last record from the shared file composed of at least one record. The data length field 212 indicates the length of data included in each record, and the data to be transmitted is recorded in the data field 214. And, the last record 206 includes the number field 216 of the read system. The number of read systems indicates the number of systems that receive data.

즉, 공유 파일(220)은 전달하려는 데이터(214)와 함께 데이터를 전달하는 쪽과 받는 쪽 사이의 원활한 데이터 전달을 위한 추가적인 정보(210,212,216)를 포함한다. 공유 파일(220)은 전달하는 데이터의 크기에 따라 적어도 하나 이상이 존재하며 각각의 공유 파일의 마지막 레코드(206)에는 데이터의 마지막을 구분하는 정보(210)를 포함한다.That is, the shared file 220 includes additional information 210, 212, and 216 for smooth data transfer between the data transmitting side and the receiving side together with the data 214 to be transmitted. At least one shared file 220 exists according to the size of data to be delivered, and the last record 206 of each shared file includes information 210 for identifying the end of the data.

공유 파일의 이름은 공유 파일의 생성 순서에 따라 순차적인 이름을 갖는다. 순차적인 이름의 일 예로는 공유 파일 생성 시간 정보를 포함하는 파일 이름이 있다. 공유 파일 이름을 생성 순서에 따라 순차적인 이름을 갖게 함으로써, 공유 파일 이름만으로 공유 파일의 생성 순서를 알 수 있다. The name of the shared file has a sequential name according to the generation order of the shared file. An example of the sequential name is a file name including shared file creation time information. By having a shared file name sequentially according to the generation order, the generation order of the shared file can be known only by the shared file name.

도 2b는 본 발명에 따른 공유 정보 파일의 구조를 도시한 도면이다.2B is a diagram illustrating the structure of a shared information file according to the present invention.

도 2b를 참조하면, 공유 정보 파일(250)은 읽기 시스템의 개수 필드(252), 파일 사용 표시 필드(254), 파일 이름 필드(256) 및 다음 읽을 레코드 번호 필드(258)로 구성된다.Referring to FIG. 2B, the shared information file 250 is composed of a number field 252 of a reading system, a file usage indication field 254, a file name field 256, and a next record number field 258 to read.

읽기 시스템의 개수(252)는 공유 파일이 전달되어야 하는 시스템의 개수, 즉 공유 파일을 전달받는 시스템의 개수를 나타낸다. 읽기 시스템의 개수 필드(252)가 1로 표시되어 있으면 데이터를 전달받는 시스템(110,112)은 공유 파일을 읽은 후 직접 그 공유 파일을 삭제한다. 읽기 시스템의 개수 필드(252)가 2 이상이면 데이터를 전달받아야 하는 모든 시스템들이 공유 파일을 전달받은 후 그 공유 파일을 삭제한다. 공유 파일의 삭제는 별도의 시스템에 의해 동작되는 것이 바람직하다. The number of read systems 252 indicates the number of systems to which the shared file should be delivered, that is, the number of systems receiving the shared file. If the number field 252 of the read system is marked as 1, the systems 110 and 112 receiving the data delete the shared file directly after reading the shared file. If the number field 252 of the read system is 2 or more, all systems that need to receive data delete the shared file after receiving the shared file. Deletion of the shared file is preferably operated by a separate system.

파일 사용 표시 필드(254)는 시스템이 공유 파일을 읽기/쓰기 동작중인지 동작이 완료되었는지를 구분한다. 시스템이 공유 파일을 열때에 파일 사용 표시 필드(254)는 읽기/쓰기 진행중으로 표시되고 공유 파일을 다 읽으면 종료 표시가 된다.The file usage indication field 254 distinguishes whether the system is reading / writing a shared file or whether the operation is completed. When the system opens the shared file, the file usage indication field 254 is displayed as read / write in progress and ends when the shared file is read.

파일 이름 필드(256)은 데이터를 전달받는 시스템이 현재 사용중인 공유 파일의 이름을 나타낸다. 공유 파일의 이름은 도 2a에서 상술하였듯이 생성순서에 따른 순차적인 이름을 갖는다. The file name field 256 indicates the name of the shared file currently being used by the system receiving the data. The name of the shared file has a sequential name according to the generation order as described above in FIG. 2A.

다음 읽을 레코드 번호 필드(258)는 공유 파일이 다수의 레코드(200,202,204,206)로 구성된 경우 현재 읽고 있는 레코드와 연결된 다음에 읽을 레코드 위치를 가리킨다. 데이터를 전달받는 시스템이 공유 파일을 읽을 때, 다음에 읽을 레코드의 위치 정보를 기록함으로써, 데이터를 전달받는 시스템이 갑작스러운 종료 후에 다시 공유 파일을 읽을 때, 공유 파일의 처음부터 읽을 필요 없이 공유 정보 파일의 다음 읽을 레코드 번호를 참조하여 종료전에 읽은 부분부터 다시 읽으면 된다.The next record number field 258 to read refers to the record location to read next associated with the record currently being read when the shared file consists of multiple records 200, 202, 204 and 206. When the receiving system reads the shared file, it records the location information of the next record to be read, so that when the receiving system reads the shared file again after an abrupt termination, the shared information does not need to be read from the beginning of the shared file. Reference the record number to be read in the file and read it again from the end.

도 3은 본 발명에 따른 비동기 데이터 전달 방법의 흐름을 도시한 흐름도이다.3 is a flowchart illustrating a flow of an asynchronous data transfer method according to the present invention.

도 3을 참조하면, 적어도 하나 이상의 시스템(110,112)으로 전달하고자 하는 데이터를 공유 파일에 기록한다(S300). 또한 공유 파일(220)과 더불어 데이터를 전달하는 시스템 및 데이터를 전달받는 시스템을 위한 공유 정보 파일(250)을 생성하고 관리한다. 공유 파일(220) 및 공유 정보 파일(250)은 다수의 시스템(100,102,104,110,112,120)이 공유하는 저장장치에 저장된다. 데이터는 소정 분량의 크기로 각각의 공유 파일(220)에 기록되며, 공유 파일(220)은 적어도 하나 이상의 레코드(200,202,204,206)로 구성된다. 공유 파일(220) 및 공유 정보 파일(250)의 구조와 기능은 도 2a 및 도 2b에서 설명하였다.Referring to FIG. 3, data to be delivered to at least one or more systems 110 and 112 is recorded in a shared file (S300). In addition, the shared file 220 generates and manages a shared information file 250 for a system for transmitting data and a system for receiving data. The shared file 220 and the shared information file 250 are stored in storage shared by multiple systems 100, 102, 104, 110, 112, and 120. Data is recorded in each shared file 220 in a predetermined amount of size, and the shared file 220 is composed of at least one record 200, 202, 204, 206. The structure and function of the shared file 220 and the shared information file 250 have been described with reference to FIGS. 2A and 2B.

데이터를 전달하는 시스템(100,102,104)은 공유 파일(220)을 만들 때 공유 정보 파일(250)에 현재 사용중인 공유 파일(220)의 정보를 기록한다(S300). 또한, 데이터를 전달받는 시스템(110,112)은 공유 파일(220)을 읽을 때 공유 정보 파일(250)에 현재 사용중인 공유 파일(220)의 정보를 기록한다(S310). 공유 정보 파일(250)은 데이터를 전달하는 시스템 및 데이터를 전달받는 시스템마다 존재한다. When the system 100, 102, 104 for transferring data creates the shared file 220, the system 100, 102, 104 records the information of the shared file 220 currently being used in the shared information file 250 (S300). In addition, when the system 110 or 112 receiving the data reads the shared file 220, the system 110 and 112 records the information of the shared file 220 currently being used in the shared information file 250 (S310). The shared information file 250 exists for each system that delivers data and each system that receives the data.

데이터를 전달받는 시스템(110,112)으로 공유 파일(220)의 데이터가 모두 전달되면 공유 파일(220)은 삭제된다(S320). 데이터를 전달받는 시스템(110,112)은 각각의 시스템마다 공유 정보 파일(250)을 가진다. 그리고 공유 정보 파일(250)에는 각 시스템이 현재 사용하는 공유 파일(220)의 이름이 존재한다. When all data of the shared file 220 is delivered to the systems 110 and 112 receiving the data, the shared file 220 is deleted (S320). The systems 110 and 112 receiving the data have a shared information file 250 for each system. In the shared information file 250, the name of the shared file 220 currently used by each system is present.

공유 파일 삭제 과정을 구체적으로 살펴보면, 먼저 공유 파일이 데이터를 전달받는 모든 시스템(110,112)으로 전달되었는지를 조사하기 위하여 공유 정보 파일의 파일 이름(256)을 조사한다. 그리고 그 공유 정보 파일의 파일 이름(256) 중 순차적으로 가장 앞선 파일 이름을 찾는다. 공유 파일의 이름(256)은 상술한 바와 같이 생성 순서에 따란 순차적인 이름으로 구성되므로 이름을 기초로 가장 먼저 생성된 공유 파일(220)을 찾을 수 있다. Looking specifically at the process of deleting a shared file, first examines the file name 256 of the shared information file to determine whether the shared file has been delivered to all systems 110 and 112 receiving the data. The file name 256 of the shared information file is sequentially found. Since the name 256 of the shared file is composed of sequential names according to the generation order as described above, the shared file 220 generated first based on the name can be found.

데이터를 전달받는 시스템(110,112)마다 존재하는 공유 정보 파일들의 파일 이름들(256) 중 가장 먼저 생성된 공유 파일 이름을 찾으면, 찾은 공유 파일보다 파일 생성 순서가 앞선 공유 파일(즉, 파일 이름이 순차적인 순서에서 앞서는 공유 파일)은 데이터 전달이 완료된 것이므로 삭제한다. If the shared file name generated first among the file names 256 of the shared information files existing in the systems 110 and 112 receiving data is found, the shared file whose file creation order is earlier than the found shared file (that is, the file names are sequential) In the order of sharing, the shared file is deleted because data transfer is completed.

공유 정보 파일(250)은 다음 읽을 레코드 번호 필드(258) 및 파일 사용 표시 필드(254)를 포함한다. 따라서, 데이터를 전달받는 시스템(110,112)이 종료 후 다시 시작하였을 경우 종료 전에 읽던 공유 파일에 대해 처음부터 다시 읽지 않고 다 음 읽을 레코드 번호 필드(258) 및 파일 사용 표시 필드(254)를 참조하여 종료전에 읽던 부분부터 다시 공유 파일을 읽을 수 있다. The shared information file 250 includes a record number field 258 to read next and a file usage indication field 254. Therefore, when the system 110 or 112 receiving the data is restarted after the termination, the system ends with reference to the record number field 258 and the file usage indication field 254 to be read next without rereading the shared file read before the termination. You can read the shared file again from where you left off.

데이터를 전달하는 시스템(100,102,104)이 종료 후 다시 시작하였을 경우 이전에 기록하던 공유 파일(220)을 열고 공유 파일(220)의 끝부분에 파일의 마지막을 나타내는 레코드(206)를 기록하고 새로운 공유 파일을 만들어서 기록작업을 계속한다. 데이터를 전달하는 시스템에서는 다음 읽을 레코드 번호 필드(258) 부분을 사용하지 않는다.When the system 100, 102, 104 that delivers the data restarts after termination, the previously shared file 220 is opened, and a record 206 indicating the end of the file is recorded at the end of the shared file 220 and the new shared file is opened. Create a record to continue recording. The system passing the data does not use the next record number field 258 portion to read.

본 발명은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.The invention can also be embodied as computer readable code on a computer readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like, and may also be implemented in the form of a carrier wave (for example, transmission over the Internet). Include. The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.

이제까지 본 발명에 대하여 그 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far I looked at the center of the preferred embodiment for the present invention. Those skilled in the art will appreciate that the present invention can be implemented in a modified form without departing from the essential features of the present invention. Therefore, the disclosed embodiments should be considered in descriptive sense only and not for purposes of limitation. The scope of the present invention is shown in the claims rather than the foregoing description, and all differences within the scope will be construed as being included in the present invention.

본 발명에 따르면, 시스템간에 데이터를 전달할 때, 받는 쪽의 처리속도가 느려지는 경우에 보내는 쪽의 처리속도가 함께 느려지는 문제를 없애고, 데이터를 전달하는 쪽과 받는 쪽이 비동기적으로 작업을 수행할 수 있게 한다. 또한 시스템의 예상치 못한 종료시에도 종료전에 읽던 공유 파일의 위치를 저장 관리함으로써, 공유파일을 다시 처음부터 읽을 필요 없이 종료전의 부분부터 다시 읽을 수 있다.According to the present invention, when data is transmitted between systems, the processing speed of the sending side is slowed down when the processing speed of the receiving side is slowed down, and the data transmitting side and the receiving side perform tasks asynchronously. To do it. In addition, by storing and managing the location of the shared file that was read before the shutdown even in the event of an unexpected shutdown of the system, the shared file can be read again from the part before the shutdown without having to read it from the beginning again.

Claims (7)

적어도 하나 이상의 시스템에 전달하고자 하는 데이터를 생성 순서에 따라 순차적인 이름을 갖는 공유 파일에 기록하고 저장하는 단계;Recording and storing data to be delivered to at least one or more systems in a shared file having a sequential name in a generation order; 상기 각각의 시스템이 현재 전달받고 있는 공유 파일의 이름을 포함하는 공유 정보 파일을 생성하는 단계; 및Generating a shared information file including a name of a shared file currently received by each system; And 상기 공유 정보 파일에 포함된 공유 파일 이름들 중 순차적인 순서에서 제일 앞선 공유 파일 이름을 파악하고, 상기 파악된 공유 파일 이름보다 앞선 이름을 가진 공유 파일을 데이터 전달이 완료된 것으로 판단하여 삭제하는 단계;를 포함하는 것을 특징으로 하는 비동기적 데이터 전달 방법. Identifying a shared file name that is earlier in the sequential order among the shared file names included in the shared information file, and determining that the shared file having a name earlier than the identified shared file name is completed and deleted; Asynchronous data transfer method comprising a. 제 1항에 있어서,The method of claim 1, 상기 기록 단계는 상기 공유 파일을 적어도 하나 이상의 시스템에 의해 공유 되는 기억장치에 저장하는 단계를 포함하는 것을 특징으로 하는 비동기적 데이터 전달 방법.And said recording step comprises storing said shared file in a storage device shared by at least one or more systems. 제 1항에 있어서,The method of claim 1, 상기 기록 단계는 전달하고자 하는 각각의 데이터를 상기 공유 파일의 생성 순서에 따라 순차적인 이름을 갖는 각각의 공유 파일에 기록하는 단계를 포함하는 것을 특징으로 하는 비동기적 데이터 전달 방법.And the recording step comprises recording each data to be transferred to each shared file having a sequential name according to the generation order of the shared file. 제 1항에 있어서,The method of claim 1, 상기 공유 정보 파일은 생성 순서에 따라 순차적인 이름이 부여된 상기 공유 파일의 이름을 포함하고, The shared information file includes a name of the shared file, which is given a sequential name according to a generation order, 상기 삭제 단계는 상기 공유 정보 파일에 기록된 공유 파일 이름을 기초로 가장 먼저 생성된 공유 파일 이름을 검색한 후 상기 검색된 공유 파일보다 먼저 생성된 공유 파일을 삭제하는 단계를 포함하는 것을 특징으로 하는 비동기적 데이터 전달 방법.The deleting step may include retrieving the shared file name generated first based on the shared file name recorded in the shared information file, and then deleting the generated shared file before the searched shared file. Data delivery methods. 제 1항에 있어서,The method of claim 1, 상기 기록 단계는 데이터를 적어도 하나 이상의 레코드로 분리하여 저장하는 단계를 포함하는 것을 특징으로 하는 비동기적 데이터 전달 방법.And said recording step comprises separating and storing data into at least one or more records. 제 1항에 있어서,The method of claim 1, 상기 공유 정보 파일은 시스템이 사용중인 공유 파일의 위치를 가리키는 다음 읽을 레코드 번호 필드 및 공유 파일의 사용 상태를 나타내는 파일 사용 표시 필드를 포함하는 것을 특징으로 하는 비동기적 데이터 전달 방법.The shared information file includes a record number field indicating a location of a shared file being used by the system, and a file usage indication field indicating a usage state of the shared file. 전달하고자 하는 각각의 데이터를 생성 순서에 따라 순차적인 이름을 갖는 공유 파일에 기록하고, 적어도 하나 이상의 시스템이 현재 전달받고 있는 공유 파일의 이름을 포함하는 공유 정보 파일을 생성하는 공유 파일 기록부;A shared file recording unit for recording each data to be transferred to a shared file having a sequential name according to a generation order, and generating a shared information file including a name of a shared file currently received by at least one system; 상기 공유 정보 파일에 포함된 공유 파일 이름들 중 순차적인 순서에서 제일 앞선 공유 파일 이름을 파악하고, 상기 파악된 공유 파일 이름보다 앞선 이름을 가진 공유 파일을 데이터 전달이 완료된 것으로 판단하여 삭제하는 공유 파일 삭제부;를 포함하는 것을 특징으로 하는 비동기적 데이터 전달 시스템. A shared file that grasps the shared file name that is the first in the sequential order among the shared file names included in the shared information file, and determines that the shared file having the name earlier than the identified shared file name is completed by transferring data. Deletion unit; asynchronous data transfer system comprising a.
KR1020030095386A 2003-12-23 2003-12-23 Method and system for transfering asynchronous data using a shared file KR100734826B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030095386A KR100734826B1 (en) 2003-12-23 2003-12-23 Method and system for transfering asynchronous data using a shared file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030095386A KR100734826B1 (en) 2003-12-23 2003-12-23 Method and system for transfering asynchronous data using a shared file

Publications (2)

Publication Number Publication Date
KR20050064104A KR20050064104A (en) 2005-06-29
KR100734826B1 true KR100734826B1 (en) 2007-07-03

Family

ID=37255747

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030095386A KR100734826B1 (en) 2003-12-23 2003-12-23 Method and system for transfering asynchronous data using a shared file

Country Status (1)

Country Link
KR (1) KR100734826B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020091584A (en) * 2001-05-31 2002-12-06 주식회사 하이닉스반도체 Method for processing ipc between processor using asynchronous shared memory

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020091584A (en) * 2001-05-31 2002-12-06 주식회사 하이닉스반도체 Method for processing ipc between processor using asynchronous shared memory

Also Published As

Publication number Publication date
KR20050064104A (en) 2005-06-29

Similar Documents

Publication Publication Date Title
JP4186602B2 (en) Update data writing method using journal log
JP4704161B2 (en) How to build a file system
US7529950B2 (en) Information processing system, control method for information processing system, and storage system
JP4402103B2 (en) Data storage device, data relocation method thereof, and program
EP1586988A2 (en) Information processing apparatus, information processing method, program and recording medium used therewith
EP1932088B1 (en) A recycle bin function
JPH05307440A (en) Data storage format conversion system and its conversion method, access controller and data access method
TW201941189A (en) Recording device, reading device, recording method, recording program storage medium, reading method, reading program storage medium, and magnetic tape
US7640588B2 (en) Data processing system and method
US20020161982A1 (en) System and method for implementing a storage area network system protocol
EP0992913B1 (en) Data recording/reproducing apparatus and method therefor
JP2001067786A (en) Recording and reproducing device
EP0903668B1 (en) Method of transferring data between hosts through a storage subsystem
JPH0448250B2 (en)
KR100734826B1 (en) Method and system for transfering asynchronous data using a shared file
CN101159158A (en) Method of detecting a corruption in a data block
JP2008269520A (en) Recorder and recording method
US20030033440A1 (en) Method of logging message activity
JP3133991B2 (en) Data transfer method and data transfer system
KR20010012913A (en) Network Object Cache Engine
US7092773B1 (en) Method and system for providing enhanced editing capabilities
JP2005122602A (en) Cache system, information processing system, cache method, program, and recording medium
KR100414616B1 (en) Method for reading backup file information rapidly by separate storage of file information
JP2004310357A (en) File management method and system, file management program, and medium recording the file management program
JPS6359640A (en) Log information file control system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application
J201 Request for trial against refusal decision
J301 Trial decision

Free format text: TRIAL DECISION FOR APPEAL AGAINST DECISION TO DECLINE REFUSAL REQUESTED 20060412

Effective date: 20070430

S901 Examination by remand of revocation
GRNO Decision to grant (after opposition)
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130627

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140627

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee