KR101560724B1 - System and method for accessing to file storage - Google Patents
System and method for accessing to file storage Download PDFInfo
- Publication number
- KR101560724B1 KR101560724B1 KR1020080121084A KR20080121084A KR101560724B1 KR 101560724 B1 KR101560724 B1 KR 101560724B1 KR 1020080121084 A KR1020080121084 A KR 1020080121084A KR 20080121084 A KR20080121084 A KR 20080121084A KR 101560724 B1 KR101560724 B1 KR 101560724B1
- Authority
- KR
- South Korea
- Prior art keywords
- file
- storage
- file storage
- access
- stored
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
Abstract
파일 스토리지 액세스 시스템 및 방법이 개시된다. 파일 스토리지 액세스 시스템은 파일 액세스 요청에 대응하여 적어도 하나의 다른 종류의 파일 스토리지에 액세스(access)하는 게이트웨이 및 상기 파일 스토리지와 맵핑된 전역 이름 공간을 저장하고, 상기 게이트웨이의 메타데이터 요청에 따라 파일 액세스 정보를 제공하는 메타데이터 서버를 포함할 수 있다.A file storage access system and method are disclosed. A file storage access system stores a gateway that accesses at least one other kind of file storage in response to a file access request and a global namespace mapped to the file storage, And a metadata server that provides information.
파일 스토리지, 가상화, 게이트웨이, 메타데이터, 전역 이름 공간 File storage, virtualization, gateways, metadata, and global namespace
Description
본 발명은 파일 스토리지 액세스 시스템 및 방법에 관한 것으로, 보다 자세하게는, 다양한 파일 시스템에 속하는 파일 스토리지에 액세스할 수 있는 통합 인터페이스를 제공하는 파일 스토리지 액세스 시스템 및 방법에 관한 것이다.The present invention relates to a file storage access system and method, and more particularly, to a file storage access system and method that provides an integrated interface for accessing file storage belonging to various file systems.
인터넷 기술이 발달하면서, 인터넷 서비스를 위해 사용되는 파일 스토리지의 저장 용량은 매년 급격히 증가하고 있다. 이에 따라, 파일 스토리지의 용량 증설은 매년 필요한 사항이 되었다. 따라서, 파일 스토리지를 합리적으로 관리하는 문제가 매우 중요하다.With the development of Internet technology, the storage capacity of file storage used for Internet services is rapidly increasing every year. As a result, capacity expansion of file storage has become a necessity every year. Therefore, it is very important to manage file storage reasonably.
이때, 서비스마다 저장되는 파일의 특성 (크기, 파일연산 종류등)이 다르기 때문에, 서비스에 대응하는 특성에 적합한 파일 스토리지에 파일을 저장한다. 파일 스토리지의 종류에 따라 서비스에 파일 연산을 제공하는 인터페이스는 서로 달라질 수 있다. 따라서, 인터넷 서비스를 제공하기 위해서는 해당 파일이 저장된 파일 스토리지의 정보를 알고 있어야 대응되는 인터페이스를 사용하여 파일을 액세스 할 수 있다. 또한, 서비스마다 다른 종류의 파일 스토리지가 적용되기 때문에, 인 터넷 서비스를 개발하는 측면에서 파일 스토리지의 종류에 따라 파일 접근 인터페이스가 한정되어 개발을 할 수 밖에 없다.At this time, because the characteristics (size, file operation type, etc.) of the file to be stored are different for each service, the file is stored in the file storage suitable for the characteristic corresponding to the service. Depending on the type of file storage, the interfaces that provide file operations to services may differ. Accordingly, in order to provide the Internet service, it is necessary to know the information of the file storage where the file is stored so that the file can be accessed by using the corresponding interface. In addition, since different types of file storage are applied to each service, the file access interface is limited depending on the type of file storage in terms of developing the Internet service.
또한, 서비스를 위해 수많은 파일 각각의 파일 스토리지를 알기는 어렵고, 이를 관리하는 것은 인터넷 서비스를 운영하는 입장에서 매우 심한 로드가 발생할 수 있다.Also, it is difficult to know the file storage of each of a large number of files for a service, and managing such a file storage may cause a very heavy load in terms of operating an Internet service.
따라서, 다양한 파일 스토리지에 통합적으로 액세스 할 수 있는 방법이 필요하다.Therefore, there is a need for a way to access the various file storages integrally.
본 발명은 다양한 종류의 파일 스토리지에 액세스 할 수 있는 통합 인터페이스를 제공하기 위한 파일 스토리지 액세스 시스템 및 방법을 제공한다.The present invention provides a file storage access system and method for providing an integrated interface capable of accessing various types of file storage.
본 발명은 파일 스토리지와 맵핑된 전역 이름 공간을 참조하여 파일이 저장된 파일 스토리지에 액세스 할 수 있는 파일 스토리지 액세스 시스템 및 방법을 제공한다.The present invention provides a file storage access system and method capable of accessing file storage in which files are stored by referring to file storage and a mapped global namespace.
본 발명은 사용자가 액세스 하려는 파일이 저장된 파일 스토리지의 정보를 모르고, 파일의 경로 이름만 알더라도, 파일 스토리지에 액세스할 수 있는 파일 스토리지 액세스 시스템 및 방법을 제공한다.The present invention provides a file storage access system and method capable of accessing a file storage even if the user knows only the path name of the file without knowing the information of the file storage in which the file to be accessed is stored.
본 발명은 파일 스토리지가 물리적으로 변경되더라도 어플리케이션의 수정 없이 전역 이름 공간을 참조하여 파일 스토리지에 액세스 할 수 있는 파일 스토리지 액세스 시스템 및 방법을 제공한다.The present invention provides a file storage access system and method capable of accessing file storage by referring to a global namespace without modifying an application even if the file storage is physically changed.
본 발명의 일실시예에 따른 파일 스토리지 액세스 시스템은 파일 액세스 요청에 대응하여 적어도 하나의 다른 종류의 파일 스토리지에 액세스(access)하는 게이트웨이 및 상기 파일 스토리지와 맵핑된 전역 이름 공간을 저장하고, 상기 게이트웨이의 메타데이터 요청에 따라 파일 액세스 정보를 제공하는 메타데이터 서버를 포함할 수 있다.A file storage access system according to an embodiment of the present invention stores a gateway for accessing at least one other kind of file storage in response to a file access request and a global name space mapped to the file storage, And a metadata server that provides file access information according to the metadata request of the metadata server.
본 발명의 일실시예에 따른 게이트웨이는 적어도 하나의 다른 종류의 파일 스토리지에 저장된 파일에 대해 파일 액세스 요청을 수신하는 액세스 요청 수신부, 메타데이터 서버에 상기 파일의 경로 이름을 포함하는 메타데이터 요청을 전송하는 메타데이터 요청부 및 상기 전역 이름 공간을 참조한 메타데이터 서버로부터 상기 파일의 파일 액세스 정보를 수신하여 상기 파일이 저장된 파일 스토리지에 액세스하는 파일 액세스부를 포함할 수 있다.The gateway according to an embodiment of the present invention includes an access request receiving unit for receiving a file access request for a file stored in at least one other kind of file storage, a metadata request including a path name of the file to the metadata server And a file access unit for receiving the file access information of the file from the metadata server referencing the global name space and accessing the file storage where the file is stored.
본 발명의 일실시예에 따른 메타데이터 서버는 게이트웨이로부터 파일의 경로 이름을 포함하는 메타데이터 요청을 수신하는 메타데이터 요청 수신부, 상기 파일의 경로 이름에 기초하여 상기 파일이 저장된 파일 스토리지와 맵핑된 전역 이름 공간을 참조하는 전역 이름 공간 참조부 및 상기 전역 이름 공간을 참조한 결과를 통해 상기 파일에 대한 파일 액세스 정보를 상기 게이트웨이에 제공하는 파일 액세스 정보 제공부를 포함할 수 있다.A metadata server according to an embodiment of the present invention includes a metadata request receiver for receiving a metadata request including a path name of a file from a gateway, a metadata request receiver for receiving a metadata request including a path name of the file, And a file access information providing unit for providing file access information on the file to the gateway through a global name space referencing unit referencing a namespace and a result referring to the global name space.
본 발명의 일실시예에 따른 파일 스토리지 액세스 방법은 적어도 하나의 다른 종류의 파일 스토리지에 저장된 파일에 대해 파일 액세스 요청을 수신하는 단계, 상기 파일의 경로 이름을 포함하는 메타데이터 요청을 메타데이터 서버에 전송하는 단계, 상기 메타데이터 서버로부터 상기 파일의 파일 액세스 정보를 수신하는 단계 및 상기 파일 액세스 정보를 참고하여 상기 파일이 저장된 파일 스토리지에 액세스하는 단계를 포함할 수 있다.A method of accessing a file storage according to an embodiment of the present invention includes receiving a file access request for a file stored in at least one other kind of file storage, transmitting a metadata request including a path name of the file to a metadata server Receiving the file access information of the file from the metadata server, and accessing the file storage in which the file is stored with reference to the file access information.
본 발명에 따르면, 다양한 종류의 파일 스토리지에 액세스 할 수 있는 통합 인터페이스를 제공하기 위한 파일 스토리지 액세스 시스템 및 방법이 제공된다.According to the present invention, a file storage access system and method are provided for providing an integrated interface capable of accessing various kinds of file storage.
본 발명에 따르면, 파일 스토리지와 맵핑된 전역 이름 공간을 참조하여 파일이 저장된 파일 스토리지에 액세스 할 수 있는 파일 스토리지 액세스 시스템 및 방법이 제공된다.According to the present invention, a file storage access system and method are provided in which file storage can be accessed by referring to file storage and a mapped global namespace.
본 발명에 따르면, 사용자가 액세스 하려는 파일이 저장된 파일 스토리지의 정보를 모르고, 파일의 경로 이름만 알더라도, 파일 스토리지에 액세스할 수 있는 파일 스토리지 액세스 시스템 및 방법이 제공된다.According to the present invention, there is provided a file storage access system and method capable of accessing a file storage even if the user does not know the information of the file storage in which the file to be accessed is stored and only knows the path name of the file.
본 발명에 따르면, 파일 스토리지가 물리적으로 변경되더라도 어플리케이션의 수정 없이 전역 이름 공간을 참조하여 파일 스토리지에 액세스 할 수 있는 파일 스토리지 액세스 시스템 및 방법이 제공된다.According to the present invention, there is provided a file storage access system and method capable of accessing file storage by referring to a global namespace without modifying an application even if the file storage is physically changed.
이하, 첨부된 도면들에 기재된 내용들을 참조하여 본 발명에 따른 실시예를 상세하게 설명한다. 다만, 본 발명이 실시예들에 의해 제한되거나 한정되는 것은 아니다. 각 도면에 제시된 동일한 참조부호는 동일한 부재를 나타낸다. 파일 스토리지 액세스 방법은 파일 스토리지 액세스 시스템을 구성하는 구성 요소에 의해 수행될 수 있다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. However, the present invention is not limited to or limited by the embodiments. Like reference symbols in the drawings denote like elements. The file storage access method may be performed by a component that constitutes a file storage access system.
도 1은 본 발명의 일실시예에 따른 파일 스토리지 액세스 시스템의 전체 구성을 도시한 도면이다.1 is a diagram showing the overall configuration of a file storage access system according to an embodiment of the present invention.
도 1을 참고하면, 파일 스토리지 액세스 시스템은 게이트웨이(101), 어플리케이션(102), 메타데이터 서버(103) 및 파일 스토리지(104-1~104-N)를 포함할 수 있다.1, a file storage access system may include a
본 발명의 일실시예에 따른 파일 스토리지 액세스 시스템은 다양한 형태의 파일 시스템에 접속할 수 있도록 통합 인터페이스를 제공할 수 있다. 파일 스토리지 액세스 시스템은 사용자가 어플리케이션(102)을 통해 처리하고자 하는 파일에 대한 파일 액세스 요청을 게이트웨이(101)에 전달할 수 있다. 그러면, 게이트웨이(101)는 파일이 저장된 파일 스토리지에 대한 파일 액세스 정보를 메타데이터 서버(103)로부터 획득한 후, 네트워크를 통해 파일이 저장된 파일 스토리지(104-1~104-N)에 액세스할 수 있다. 이 때, 파일 스토리지(104-1~104-N)는 다른 종류의 파일 시스템에 의해 동작할 수 있다. 즉, 파일 스토리지 액세스 시스템은 다른 종류의 파일 스토리지(104-1~104-N)를 하나로 통합하는 가상화(virtualization) 기능을 수행할 수 있다. 파일 스토리지 액세스 시스템은 물리적인 파일 스토리지의 종류와 무관하게 단일화된 인터페이스를 통해 파일 스토리지에 액세스할 수 있다.The file storage access system according to an exemplary embodiment of the present invention can provide an integrated interface for connecting to various types of file systems. The file storage access system may forward a file access request to the
이 때, 메타데이터 서버(103)는 파일 스토리지(104-1~104-N)와 맵핑된 전역 이름 공간(global name space)을 저장할 수 있다. 전역 이름 공간은 서비스 각각에 대한 파일의 저장 공간인 파일 스토리지와 서비스의 이름이 맵핑된 것을 의미할 수 있다. 전역 이름 공간은 도 2에서 구체적으로 설명된다.At this time, the
게이트웨이(101) 및 메타데이터 서버(103)는 고성능과 고가용성을 지원하기 위해 다수의 서버로 구성된 클러스터링 구조로 이루어 질 수 있다. 이 때, 게이트웨이(101) 및 메타데이터 서버(103)를 구성하는 다수의 서버는 stateless하게 동작하도록 설계될 수 있다.The
도 2는 본 발명의 일실시예에 따른 파일 스토리지가 맵핑된 전역 이름 공간 의 일례를 나타낸 도면이다.FIG. 2 illustrates an example of a global namespace to which file storage is mapped according to an embodiment of the present invention. Referring to FIG.
도 2를 참고하면, 전역 이름 공간은 트리 형태의 계층 구조로 이루어질 수 있다. 여기서, 각 노드는 서비스를 의미할 수 있다. 예를 들어, B가 "portal service"인 포탈 서비스라고 하는 경우, b1은 "mail"인 메일 서비스, b2는 "community 인 커뮤니티 서비스, b3은 "search" 인 검색 서비스를 의미할 수 있다.Referring to FIG. 2, the global name space may be a hierarchical tree structure. Here, each node may mean a service. For example, if B is a portal service with a "portal service", b1 may be a mail service of "mail", b2 may be a community service of a community, and b3 may be a search service of "search".
이 때, 전역 이름 공간은 서비스 각각에 대한 파일의 물리적 저장 공간인 파일 스토리지와 서비스의 이름이 맵핑 될 수 있다. 실제 물리적 저장 공간인 파일 스토리지가 변경되더라도, 파일의 경로 이름은 변경되지 않기 때문에 해당 파일을 쉽게 접속할 수 있다. 그리고, 파일 스토리지와 맵핑 되는 노드는 전역 이름 공간의 트리 구조에서 최하위 노드일 수 있다. 만약 x라는 파일이 검색 서비스에 사용되는 경우, x는 파일 스토리지 z에 저장될 수 있다.At this time, the global namespace may be mapped to the file storage and the service name, which is the physical storage space of the file for each service. Even if file storage, which is actually physical storage space, is changed, the path name of the file is not changed, so the file can be easily accessed. And the node mapped to file storage can be the lowest node in the tree structure of the global namespace. If a file x is used in the search service, x can be stored in file storage z.
사용자는 어플리케이션(102)을 통해 파일 x에 대한 파일 액세스 요청을 게이트웨이(101)에 전송할 수 있다. 그러면, 게이트웨이(101)는 파일 경로 이름을 포함하는 메타데이터 요청을 메타데이터 서버(103)에 전송할 수 있다. 이 때, 파일 경로 이름은 파일이 속한 서비스 명칭도 포함할 수 있다.The user can send a file access request for file x to the
그러면. 메타데이터 서버(103)는 파일 x가 속한 서비스를 확인한 후, 저장하고 있는 전역 이름 공간을 참조할 수 있다. 메타데이터 서버(103)는 해당 서비스와 맵핑된 파일 스토리지를 확인하고, 확인된 파일 스토리지에 접근할 수 있는 파일 액세스 정보를 메타데이터 요청에 응답하여 게이트웨이(101)에 제공할 수 있다. 이 때, 파일 액세스 정보는 파일이 저장된 파일 스토리지의 파일 시스템 타입, 상 기 파일 스토리지의 네트워크 주소 또는 상기 파일의 로컬 경로 이름을 포함할 수 있다.then. The
그러면, 게이트웨이(101)는 파일 액세스 정보를 통해 사용자가 요청한 파일이 저장된 파일 스토리지에 액세스할 수 있다. 즉, 사용자는 파일이 어떠한 종류의 파일 시스템에 속하는 파일 스토리지에 저장하고 있는 지 알지 못하더라도, 파일의 경로 이름만 안다면 해당 파일에 액세스할 수 있다.Then, the
도 3은 본 발명의 일실시예에 따른 파일 스토리지 액세스 시스템의 세부 동작을 설명하기 위한 도면이다.3 is a view for explaining the detailed operation of the file storage access system according to an embodiment of the present invention.
도 3을 참고하면, 게이트웨이(101)를 통해 다양한 종류의 파일 스토리지(104)에 액세스하는 과정을 나타내고 있다.Referring to FIG. 3, a process of accessing various types of
사용자는 파일에 액세스하고자 하는 경우, 어플리케이션(102)을 통해 파일 액세스 요청을 게이트웨이(101)에 전송할 수 있다. 파일 액세스 요청은 액세스하려는 파일의 경로 이름이 포함될 수 있다. 만약, 액세스하려는 파일 이름이 "/foo/bar"인 경우, 파일 경로 이름은 "X/service/community/foo/bar"를 의미할 수 있다. 이 때, 사용자는 파일의 경로 이름(pathname)을 이미 획득한 상태일 수 있다.When the user desires to access the file, the user can transmit a file access request to the
만약, community라는 서비스에 맵핑된 파일 스토리지(104)의 파일 시스템 종류가 변경되더라도, "/foo/bar"는 여전히 "X/service/community/foo/bar"라는 경로 이름을 가진다."/ Foo / bar" still has the path name "X / service / community / foo / bar", even if the file system type of the
게이트웨이(101)는 파일 액세스 요청에 포함된 파일 경로 이름을 통해 메타 데이터 서버(103)에 메타데이터 요청을 전송할 수 있다. 메타데이터 서버(103)는 전역 이름 공간을 저장하고 유지할 수 있다. 앞에서 이미 언급했듯이, 전역 이름 공간은 서비스 각각에 대한 파일의 저장 공간인 파일 스토리지(104)와 상기 서비스의 이름이 맵핑된 트리 구조를 의미할 수 있다. 즉, 전역 이름 공간은 해당 서비스의 파일이 저장된 파일 스토리지(104)와 맵핑된 복수의 노드를 포함할 수 있다.The
메타데이터 서버(103)는 메타데이터 요청에 응답하여 파일의 경로 이름을 통해 전역 이름 공간을 참조할 수 있다. 메타데이터 서버(103)는 파일의 경로 이름에 포함된 서비스의 명칭을 통해 해당 서비스와 맵핑된 파일 스토리지(104)에 대한 액세스 정보를 확인할 수 있다. 그러면, 메타데이터 서버(103)는 메타데이터 요청에 응답하여 사용자가 요청한 파일에 대한 파일 액세스 정보를 게이트웨이(101)에 반환할 수 있다.The
이 때, 파일 액세스 정보는 파일이 저장된 파일 스토리지(104)의 파일 시스템 타입, 파일 스토리지(104)의 네트워크 주소 또는 파일의 로컬 경로 이름을 포함할 수 있다. 게이트웨이(101)는 파일 액세스 정보를 이용하여 사용자가 요청한 파일이 저장된 파일 스토리지(104)에 액세스 할 수 있다. 게이트웨이(101)는 적어도 하나의 다른 종류의 파일 스토리지(104)에 접속하기 위한 파일 입출력 기능을 수행할 수 있다.At this time, the file access information may include the file system type of the
이 때, x에 대한 파일에 대해 메타데이터 서버(103)에 요청하였다면, 이후 동일한 파일에 대해서 반복적으로 요청하는 것을 방지하기 위해, 게이트웨이(101)는 파일 x에 대한 파일 스토리지의 맵핑 정보를 캐시 데이터로 저장할 수 있다. 그리고, 맵핑 정보의 일관성을 위해 게이트웨이(101)는 주기적으로 메타데이터 서버(103)를 통해 맵핑 정보를 업데이트할 수 있다.At this time, if the
도 4는 본 발명의 일실시예에 따른 게이트웨이의 세부 구성을 도시한 블록 다이어그램이다.4 is a block diagram illustrating a detailed configuration of a gateway according to an embodiment of the present invention.
도 4를 참고하면, 게이트웨이(101)는 액세스 요청 수신부(401), 메타데이터 요청부(402), 파일 액세스부(403) 및 맵핑 정보 저장부(404)를 포함할 수 있다.4, the
액세스 요청 수신부(401)는 적어도 하나의 다른 종류의 파일 스토리지에 저장된 파일에 대해 파일 액세스 요청을 수신할 수 있다. 파일 스토리지의 종류는 제한이 없다. 이 때, 액세스 요청 수신부(401)는 RPC(remote procedure call) 프로토콜을 통해 어플리케이션으로부터 파일 액세스 요청을 수신할 수 있다.The access
파일 액세스 요청은 파일 스토리지에 저장된 파일의 경로 이름을 포함할 수 있다. 파일의 경로 이름은 파일이 사용되는 서비스의 이름이 포함될 수 있다. 이후, 메타데이터 서버(103)는 파일의 경로 이름에 포함된 서비스의 이름을 이용하여 전역 이름 공간을 참조할 수 있다.The file access request may include the path name of the file stored in the file storage. The pathname of the file can include the name of the service where the file is used. Then, the
메타데이터 요청부(402)는 메타데이터 서버에 파일의 경로 이름을 포함하는 메타데이터 요청을 전송할 수 있다.The
파일 액세스부(403)는 전역 이름 공간을 참조한 메타데이터 서버(103)로부터 파일에 대한 파일 액세스 정보를 수신하여 파일이 저장된 파일 스토리지에 액세스 할 수 있다. 이 때, 전역 이름 공간은 서비스 각각에 대한 파일의 저장 공간인 파일 스토리지와 상기 서비스 이름이 맵핑된 구조로 된 것일 수 있다.The
메타데이터 서버(103)는 파일 액세스 요청에 포함된 파일의 경로 이름을 이용하여 전역 이름 공간에 맵핑된 파일 스토리지를 확인할 수 있다. 즉, 메타데이터 서버(103)는 전역 이름 공간을 참조하여 파일에 대한 파일 스토리지의 정보인 파일 액세스 정보를 파일 액세스부(403)에 제공할 수 있다. 일례로, 파일 액세스 정보는 파일이 저장된 파일 스토리지의 파일 시스템 타입, 상기 파일 스토리지의 네트워크 주소 또는 상기 파일의 로컬 경로 이름을 포함할 수 있다.The
이 때, 파일 스토리지의 파일 시스템 타입은 파일 스토리지가 속한 파일 시스템의 종류를 의미할 수 있다. 그리고, 파일 스토리지의 네트워크 주소는 파일 스토리지의 IP 주소를 의미할 수 있다. 또한, 파일의 로컬 경로 이름은 파일 스토리지에서 파일이 저장된 디렉토리 명칭을 의미할 수 있다.At this time, the file system type of the file storage may indicate the type of the file system to which the file storage belongs. The network address of the file storage may be an IP address of the file storage. Also, the local path name of the file may refer to the directory name where the file is stored in the file storage.
파일 액세스부(403)는 게이트웨이(101)의 파일 입출력 기능을 통해 파일 스토리지에 액세스할 수 있다. 이 때, 파일 스토리지의 종류와는 무관하게 파일 액세스부(403)는 파일 입출력 기능을 통해 파일 스토리지에 저장된 파일에 액세스할 수 있다.The
맵핑 정보 저장부(404)는 파일 액세스 요청된 파일에 대해 상기 전역 이름 공간과 파일 스토리지에 대한 맵핑 정보를 캐시 데이터로 저장할 수 있다. 파일을 요청 받을 때마다 메타데이터 서버(103)에 메타데이터 요청을 전송하는 것은 게이트웨이의 측면에서 성능의 저하가 발생할 수 있다. The mapping
따라서, 파일 액세스 요청에 의해 한 번 메타데이터 서버가 참조한 파일에 대해서, 맵핑 정보 저장부(404)는 해당 파일이 속한 서비스와 파일 스토리지 간의 맵핑 정보를 캐시 데이터로 저장할 수 있다. 그리고, 맵핑 정보의 일관성을 유지하기 위해 맵핑 정보 저장부(404)는 미리 설정한 일정 주기마다 메타데이터 서버(103)를 조회하여 맵핑 정보를 업데이트 할 수 있다. 전역 이름 공간과 물리적 파일 스토리지에 대한 맵핑 정보는 자주 변경되지 않기 때문에 업데이트 주기는 시스템 구성에 따라 조절될 수 있다.Accordingly, for the file once referred to by the metadata server by the file access request, the mapping
도 5는 본 발명의 일실시예에 따른 메타데이터 서버의 세부 구성을 도시한 블록 다이어그램이다.5 is a block diagram illustrating a detailed configuration of a metadata server according to an embodiment of the present invention.
도 5를 참고하면, 메타데이터 서버(103)는 메타데이터 요청 수신부(501), 전역 이름 공간 참조부(502) 및 파일 액세스 정보 제공부(503)를 포함할 수 있다.5, the
메타데이터 요청 수신부(501)는 게이트웨이(101)로부터 파일의 경로 이름을 포함하는 메타데이터 요청을 수신할 수 있다. 이 때, 파일의 경로 이름은 파일이 사용되는 서비스의 이름을 포함할 수 있다. 서비스의 이름은 전역 이름 공간에 맵핑된 파일 스토리지를 확인하기 위해 사용될 수 있다.The metadata
전역 이름 공간 참조부(502)는 파일의 경로 이름에 기초하여 파일이 저장된 파일 스토리지와 맵핑된 전역 이름 공간을 참조할 수 있다. 이 때, 전역 이름 공간은 서비스 각각에 대한 파일의 저장 공간인 파일 스토리지와 상기 서비스의 이름이 맵핑된 구조일 수 있다. 전역 이름 공간은 서비스 이름과 매칭된 복수의 노드가 트리 형태로 구성될 수 있다. 전역 이름 공간에서 최종 노드가 파일 스토리지와 맵핑 될 수 있다.The global
만약, 파일 x에 대한 경로 이름이 메타데이터 요청을 통해 수신되면, 전역 이름 공간 참조부(502)는 경로 이름에 포함된 서비스 y를 통해 전역 이름 공간을 참조하여 전역 이름 공간에 맵핑된 파일 스토리지를 확인할 수 있다.If the path name of the file x is received via the metadata request, the global name
파일 액세스 정보 제공부(503)는 전역 이름 공간을 참조한 결과를 통해 파일에 대한 파일 액세스 정보를 게이트웨이(101)에 제공할 수 있다. 파일 액세스 정보는 파일이 저장된 파일 스토리지의 파일 시스템 타입, 파일 스토리지의 네트워크 주소 또는 파일의 로컬 경로 이름을 포함할 수 있다.The file access
그러면, 게이트웨이(101)는 파일 액세스 요청을 수신하고, 파일 액세스 요청에 따른 파일 액세스 정보를 메타데이터 서버(103)로부터 제공받아 적어도 하나의 다른 종류의 파일 스토리지에 액세스할 수 있다.Then, the
도 6은 본 발명의 일실시예에 따른 파일 스토리지 액세스 방법을 도시한 플로우차트이다.6 is a flowchart illustrating a file storage access method according to an embodiment of the present invention.
도 6을 참고하면, 게이트웨이를 통해 파일 스토리지에 액세스하는 과정을 설명한다.Referring to FIG. 6, a process of accessing file storage through a gateway will be described.
단계(S601)에서, 게이트웨이는 적어도 하나의 다른 종류의 파일 스토리지에 저장된 파일에 대해 파일 액세스 요청을 수신할 수 있다. 이 때, 파일 액세스 요청은 상기 파일에 대한 경로 이름을 포함할 수 있다.In step S601, the gateway can receive a file access request for a file stored in at least one other kind of file storage. At this time, the file access request may include a path name for the file.
단계(S602)에서, 게이트웨이는 파일의 경로 이름을 포함하는 메타데이터 요청을 메타데이터 서버에 전송할 수 있다. 이 때, 메타데이터 서버는 파일의 경로 이름을 통해 파일 스토리지와 맵핑된 전역 이름 공간을 참조하여 파일의 파일 액세스 정보를 제공할 수 있다.In step S602, the gateway may send a metadata request to the metadata server, including the path name of the file. At this time, the metadata server can provide the file access information of the file by referring to the file name and the global name space mapped through the path name of the file.
전역 이름 공간은 서비스 각각에 대한 파일의 저장 공간인 파일 스토리지와 서비스의 이름이 맵핑된 구조일 수 있다.The global namespace may be a structure in which the names of the file storage and services, which are the storage space of the files for each of the services, are mapped.
단계(S603)에서, 게이트웨이는 메타데이터 서버로부터 파일의 파일 액세스 정보를 수신할 수 있다.In step S603, the gateway can receive the file access information of the file from the metadata server.
이 때, 파일 액세스 정보는 파일이 저장된 파일 스토리지의 파일 시스템 타입, 파일 스토리지의 네트워크 주소 또는 파일의 로컬 경로 이름을 포함할 수 있다.At this time, the file access information may include the file system type of the file storage where the file is stored, the network address of the file storage, or the local path name of the file.
단계(S604)에서, 게이트웨이는 파일 액세스 정보를 참고하여 상기 파일이 저장된 파일 스토리지에 액세스할 수 있다. 이 때, 게이트웨이는 파일 입출력 기능을 이용하여 파일 스토리지에 액세스 할 수 있다. 그리고, 파일 스토리지의 개수와 종류에 제한이 없으며, 게이트웨이는 다양한 종류의 파일 스토리지에 접근할 수 있는 공통적인 인터페이스를 제공할 수 있다.In step S604, the gateway can access the file storage in which the file is stored by referring to the file access information. At this time, the gateway can access the file storage by using the file input / output function. There is no limit to the number and type of file storage, and the gateway can provide a common interface to access various types of file storage.
단계(S605)에서, 게이트웨이는 파일 액세스 요청된 파일에 대해 전역 이름 공간과 파일 스토리지에 대한 맵핑 정보를 캐시 데이터로 저장할 수 있다. 이 때, 게이트웨이는 미리 설정한 일정 주기마다 메타데이터 서버를 조회하여 맵핑 정보를 업데이트할 수 있다.In step S605, the gateway may store mapping information for the global namespace and file storage as cache data for the file requested to be accessed. At this time, the gateway can update the mapping information by querying the metadata server every preset period.
도 7은 본 발명의 일실시예에 따른 파일 스토리지에 액세스하는 과정을 도시한 도면이다.FIG. 7 illustrates a process of accessing file storage according to an embodiment of the present invention.
단계(S701)에서 메타데이터 서버(103)는 전역 이름 공간을 저장하고 유지할 수 있다. 이 때, 전역 이름 공간은 서비스 각각에 대한 파일의 저장 공간인 파일 스토리지와 상기 서비스의 이름이 맵핑된 구조를 의미할 수 있다.In step S701, the
단계(S702)에서, 사용자는 어플리케이션(102)을 통해 게이트웨이(101)에 파일 액세스 요청을 전송할 수 있다. 이 때, 파일 액세스 요청은 파일의 경로 이름을 포함할 수 있다. 여기서, 파일의 경로 이름은 파일이 사용되는 서비스의 이름으로 구성될 수 있다.In step S702, the user can send a file access request to the
단계(S703)에서, 게이트웨이(101)는 파일 액세스 요청의 수신에 대응하여 파일의 경로 이름을 포함하는 메타데이터 요청을 메타데이터 서버(703)에 전송할 수 있다.In step S703, the
그러면, 단계(S704)에서, 메타데이터 서버(103)는 전역 이름 공간을 참조할 수 있다. 즉, 메타데이터 서버(103)는 사용자가 요청한 파일이 속한 서비스의 이름을 통해 전역 이름 공간에 맵핑된 파일 스토리지의 정보를 확인할 수 있다. 단계(S705)에서, 메타데이터 서버(103)는 파일 액세스 정보를 게이트웨이(101)에 제공할 수 있다. 파일 액세스 정보는 파일이 저장된 파일 스토리지의 파일 시스템 타입, 파일 스토리지의 네트워크 주소 또는 파일의 로컬 경로 이름을 포함할 수 있다.Then, in step S704, the
그러면, 단계(S706)에서 게이트웨이(101)는 메타데이터 서버(103)를 통해 한 번 확인한 파일에 대한 맵핑 정보를 캐시 데이터로 저장할 수 있다. 이후, 게이트웨이(101)는 맵핑 정보의 일관성 유지를 위해 미리 설정한 주기로 맵핑 정보를 업데이트 할 수 있다.Then, in step S706, the
단계(S707)에서, 게이트웨이(101)는 메타데이터 서버(103)로부터 수신한 파 일 액세스 정보를 통해 파일 스토리지(104)에 액세스할 수 있다.In step S707, the
도 6 및 도 7에서 설명되지 않은 부분은 도 1 내지 도 5의 설명을 참고할 수 있다.6 and Fig. 7 can be referred to the description of Figs. 1 to 5. Fig.
또한 본 발명의 일실시예에 따른 파일 스토리지 액세스 방법은 다양한 컴퓨터로 구현되는 동작을 수행하기 위한 프로그램 명령을 포함하는 컴퓨터 판독 가능 매체를 포함한다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다.The file storage access method according to an embodiment of the present invention also includes a computer readable medium including program instructions for performing various computer implemented operations. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The media may be program instructions that are specially designed and constructed for the present invention or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like.
이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 이는 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. 따라서, 본 발명 사상은 아래에 기재된 특허청구범위에 의해서만 파악되어야 하고, 이의 균등 또는 등가적 변형 모두는 본 발명 사상의 범주에 속한다고 할 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, Modification is possible. Accordingly, the spirit of the present invention should be understood only in accordance with the following claims, and all equivalents or equivalent variations thereof are included in the scope of the present invention.
도 1은 본 발명의 일실시예에 따른 파일 스토리지 액세스 시스템의 전체 구성을 도시한 도면이다.1 is a diagram showing the overall configuration of a file storage access system according to an embodiment of the present invention.
도 2는 본 발명의 일실시예에 따른 파일 스토리지가 맵핑된 전역 이름 공간의 일례를 나타낸 도면이다.FIG. 2 illustrates an example of a global namespace to which file storage is mapped according to an embodiment of the present invention. Referring to FIG.
도 3은 본 발명의 일실시예에 따른 파일 스토리지 액세스 시스템의 세부 동작을 설명하기 위한 도면이다.3 is a view for explaining the detailed operation of the file storage access system according to an embodiment of the present invention.
도 4는 본 발명의 일실시예에 따른 게이트웨이의 세부 구성을 도시한 블록 다이어그램이다.4 is a block diagram illustrating a detailed configuration of a gateway according to an embodiment of the present invention.
도 5는 본 발명의 일실시예에 따른 메타데이터 서버의 세부 구성을 도시한 블록 다이어그램이다.5 is a block diagram illustrating a detailed configuration of a metadata server according to an embodiment of the present invention.
도 6은 본 발명의 일실시예에 따른 파일 스토리지 액세스 방법을 도시한 플로우차트이다.6 is a flowchart illustrating a file storage access method according to an embodiment of the present invention.
도 7은 본 발명의 일실시예에 따른 파일 스토리지에 액세스하는 과정을 도시한 도면이다.FIG. 7 illustrates a process of accessing file storage according to an embodiment of the present invention.
<도면의 주요 부분에 대한 부호의 설명>Description of the Related Art
101: 게이트웨이101: Gateway
102: 어플리케이션102: Application
103: 메타데이터 서버103: Metadata server
104-1~104~N: 파일 스토리지104-1 ~ 104 ~ N: file storage
Claims (24)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080121084A KR101560724B1 (en) | 2008-12-02 | 2008-12-02 | System and method for accessing to file storage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080121084A KR101560724B1 (en) | 2008-12-02 | 2008-12-02 | System and method for accessing to file storage |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150123541A Division KR101614258B1 (en) | 2015-09-01 | 2015-09-01 | System and method for accessing to file storage |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20100062442A KR20100062442A (en) | 2010-06-10 |
KR101560724B1 true KR101560724B1 (en) | 2015-10-15 |
Family
ID=42362705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080121084A KR101560724B1 (en) | 2008-12-02 | 2008-12-02 | System and method for accessing to file storage |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101560724B1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101644894B1 (en) * | 2010-07-26 | 2016-08-12 | 에스케이텔레콤 주식회사 | Cloud storage service apparatus and method |
KR101666064B1 (en) * | 2010-08-05 | 2016-10-13 | 에스케이텔레콤 주식회사 | Apparatus for managing data by using url information in a distributed file system and method thereof |
KR101682213B1 (en) * | 2010-10-29 | 2016-12-02 | 에스케이텔레콤 주식회사 | Meta-data server, service server, asymmetric distributed file system, and operating method therefor |
KR101440605B1 (en) * | 2012-11-16 | 2014-09-18 | (주) 엔에프랩 | User device having file system gateway unit and method for accessing to stored data |
US10768820B2 (en) * | 2017-11-16 | 2020-09-08 | Samsung Electronics Co., Ltd. | On-demand storage provisioning using distributed and virtual namespace management |
-
2008
- 2008-12-02 KR KR1020080121084A patent/KR101560724B1/en active IP Right Grant
Also Published As
Publication number | Publication date |
---|---|
KR20100062442A (en) | 2010-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8700573B2 (en) | File storage service system, file management device, file management method, ID denotative NAS server and file reading method | |
US20200218701A1 (en) | Consistent data storage in distributed computing systems | |
KR100974149B1 (en) | Methods, systems and programs for maintaining a namespace of filesets accessible to clients over a network | |
US8964761B2 (en) | Domain name system, medium, and method updating server address information | |
US20080320003A1 (en) | Scaling network services using dns | |
CN109684282B (en) | Method and device for constructing metadata cache | |
US20050160153A1 (en) | Publishing multipart WSDL files to URL | |
AU2015259419A1 (en) | File service using a shared file access-REST interface | |
JP5932841B2 (en) | Site-aware access to distributed file systems from outside the corporate network | |
US20090119376A1 (en) | Hint-Based Email Address Construction | |
CA2734675A1 (en) | Shared namespace for storage clusters | |
KR20040107412A (en) | Mechanism for exposing shadow copies in a networked environment | |
WO2007035580A2 (en) | Providing local access to managed content | |
KR101560724B1 (en) | System and method for accessing to file storage | |
US8990227B2 (en) | Globally unique identification of directory server changelog records | |
US11151081B1 (en) | Data tiering service with cold tier indexing | |
US10579597B1 (en) | Data-tiering service with multiple cold tier quality of service levels | |
JP2006178554A (en) | Distributed policy cooperation method | |
US10817203B1 (en) | Client-configurable data tiering service | |
CN112148678B (en) | File access method, system, device and medium | |
CN111209259A (en) | NAS distributed file system and data processing method | |
CN104429048A (en) | Object version management | |
CN104104582A (en) | Data storage path management method, client and server | |
US6980994B2 (en) | Method, apparatus and computer program product for mapping file handles | |
KR101614258B1 (en) | System and method for accessing to file storage |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
N231 | Notification of change of applicant | ||
A201 | Request for examination | ||
N231 | Notification of change of applicant | ||
E902 | Notification of reason for refusal | ||
AMND | Amendment | ||
E601 | Decision to refuse application | ||
AMND | Amendment | ||
J201 | Request for trial against refusal decision | ||
A107 | Divisional application of patent | ||
B701 | Decision to grant | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20181008 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20191001 Year of fee payment: 5 |