KR20100062442A - System and method for accessing to file storage - Google Patents
System and method for accessing to file storage Download PDFInfo
- Publication number
- KR20100062442A KR20100062442A KR1020080121084A KR20080121084A KR20100062442A KR 20100062442 A KR20100062442 A KR 20100062442A KR 1020080121084 A KR1020080121084 A KR 1020080121084A KR 20080121084 A KR20080121084 A KR 20080121084A KR 20100062442 A KR20100062442 A KR 20100062442A
- Authority
- KR
- South Korea
- Prior art keywords
- file
- storage
- access
- file storage
- gateway
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
파일 스토리지 액세스 시스템 및 방법이 개시된다. 파일 스토리지 액세스 시스템은 파일 액세스 요청에 대응하여 적어도 하나의 다른 종류의 파일 스토리지에 액세스(access)하는 게이트웨이 및 상기 파일 스토리지와 맵핑된 전역 이름 공간을 저장하고, 상기 게이트웨이의 메타데이터 요청에 따라 파일 액세스 정보를 제공하는 메타데이터 서버를 포함할 수 있다.File storage access systems and methods are disclosed. The file storage access system stores a gateway that accesses at least one other type of file storage in response to a file access request and a global namespace mapped to the file storage, and accesses the file according to the metadata request of the gateway. It may include a metadata server for providing information.
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 a unified 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 increasing rapidly every year. Accordingly, capacity expansion of file storage has become a necessity every year. Therefore, the problem of rational management of file storage is very important.
이때, 서비스마다 저장되는 파일의 특성 (크기, 파일연산 종류등)이 다르기 때문에, 서비스에 대응하는 특성에 적합한 파일 스토리지에 파일을 저장한다. 파일 스토리지의 종류에 따라 서비스에 파일 연산을 제공하는 인터페이스는 서로 달라질 수 있다. 따라서, 인터넷 서비스를 제공하기 위해서는 해당 파일이 저장된 파일 스토리지의 정보를 알고 있어야 대응되는 인터페이스를 사용하여 파일을 액세스 할 수 있다. 또한, 서비스마다 다른 종류의 파일 스토리지가 적용되기 때문에, 인 터넷 서비스를 개발하는 측면에서 파일 스토리지의 종류에 따라 파일 접근 인터페이스가 한정되어 개발을 할 수 밖에 없다.At this time, since the characteristics (size, file operation type, etc.) of the file stored for each service are different, the file is stored in a file storage suitable for the characteristic corresponding to the service. Depending on the type of file storage, the interfaces for providing file operations to services can vary. Therefore, in order to provide an Internet service, the information of the file storage where the file is stored must be known to use the corresponding interface to access the file. 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 an Internet service.
또한, 서비스를 위해 수많은 파일 각각의 파일 스토리지를 알기는 어렵고, 이를 관리하는 것은 인터넷 서비스를 운영하는 입장에서 매우 심한 로드가 발생할 수 있다.In addition, it is difficult to know the file storage of each of a large number of files for the service, and managing them can cause a very heavy load from the point of view of operating an Internet service.
따라서, 다양한 파일 스토리지에 통합적으로 액세스 할 수 있는 방법이 필요하다.Thus, there is a need for a method that provides integrated access to various file storages.
본 발명은 다양한 종류의 파일 스토리지에 액세스 할 수 있는 통합 인터페이스를 제공하기 위한 파일 스토리지 액세스 시스템 및 방법을 제공한다.The present invention provides a file storage access system and method for providing a unified interface that can access various types of file storage.
본 발명은 파일 스토리지와 맵핑된 전역 이름 공간을 참조하여 파일이 저장된 파일 스토리지에 액세스 할 수 있는 파일 스토리지 액세스 시스템 및 방법을 제공한다.The present invention provides a file storage access system and method that can access a file storage in which a file is stored with reference to a global namespace mapped to file storage.
본 발명은 사용자가 액세스 하려는 파일이 저장된 파일 스토리지의 정보를 모르고, 파일의 경로 이름만 알더라도, 파일 스토리지에 액세스할 수 있는 파일 스토리지 액세스 시스템 및 방법을 제공한다.The present invention provides a file storage access system and method for accessing 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 the path name of the file.
본 발명은 파일 스토리지가 물리적으로 변경되더라도 어플리케이션의 수정 없이 전역 이름 공간을 참조하여 파일 스토리지에 액세스 할 수 있는 파일 스토리지 액세스 시스템 및 방법을 제공한다.The present invention provides a file storage access system and method for accessing file storage by referring to the global namespace without modification of the application even if the file storage is physically changed.
본 발명의 일실시예에 따른 파일 스토리지 액세스 시스템은 파일 액세스 요청에 대응하여 적어도 하나의 다른 종류의 파일 스토리지에 액세스(access)하는 게이트웨이 및 상기 파일 스토리지와 맵핑된 전역 이름 공간을 저장하고, 상기 게이트웨이의 메타데이터 요청에 따라 파일 액세스 정보를 제공하는 메타데이터 서버를 포함할 수 있다.The file storage access system according to an embodiment of the present invention stores a gateway that accesses at least one other type of file storage in response to a file access request, and a global namespace mapped to the file storage, wherein the gateway It may include a metadata server for providing file access information according to the metadata request of the.
본 발명의 일실시예에 따른 게이트웨이는 적어도 하나의 다른 종류의 파일 스토리지에 저장된 파일에 대해 파일 액세스 요청을 수신하는 액세스 요청 수신부, 메타데이터 서버에 상기 파일의 경로 이름을 포함하는 메타데이터 요청을 전송하는 메타데이터 요청부 및 상기 전역 이름 공간을 참조한 메타데이터 서버로부터 상기 파일의 파일 액세스 정보를 수신하여 상기 파일이 저장된 파일 스토리지에 액세스하는 파일 액세스부를 포함할 수 있다.The gateway according to an embodiment of the present invention transmits a metadata request including a path name of the file to an access request receiver for receiving a file access request for a file stored in at least one other type of file storage, and a metadata server. And a file access unit for receiving file access information of the file from a metadata server referring to the global namespace and accessing the file storage in which the file is stored.
본 발명의 일실시예에 따른 메타데이터 서버는 게이트웨이로부터 파일의 경로 이름을 포함하는 메타데이터 요청을 수신하는 메타데이터 요청 수신부, 상기 파일의 경로 이름에 기초하여 상기 파일이 저장된 파일 스토리지와 맵핑된 전역 이름 공간을 참조하는 전역 이름 공간 참조부 및 상기 전역 이름 공간을 참조한 결과를 통해 상기 파일에 대한 파일 액세스 정보를 상기 게이트웨이에 제공하는 파일 액세스 정보 제공부를 포함할 수 있다.According to an embodiment of the present invention, a metadata server includes a metadata request receiver configured to receive a metadata request including a path name of a file from a gateway and a file mapped to a file storage in which the file is stored based on the path name of the file. It may include a global namespace reference unit for referencing a namespace and a file access information provider for providing file access information for the file to the gateway through a result of referencing the global namespace.
본 발명의 일실시예에 따른 파일 스토리지 액세스 방법은 적어도 하나의 다른 종류의 파일 스토리지에 저장된 파일에 대해 파일 액세스 요청을 수신하는 단계, 상기 파일의 경로 이름을 포함하는 메타데이터 요청을 메타데이터 서버에 전송하는 단계, 상기 메타데이터 서버로부터 상기 파일의 파일 액세스 정보를 수신하는 단계 및 상기 파일 액세스 정보를 참고하여 상기 파일이 저장된 파일 스토리지에 액세스하는 단계를 포함할 수 있다.In an embodiment, a method of accessing a file storage includes receiving a file access request for a file stored in at least one other type of file storage, and transmitting a metadata request including a path name of the file to a metadata server. And transmitting the file access information of the file from the metadata server and accessing the file storage in which the file is stored by referring to the file access information.
본 발명에 따르면, 다양한 종류의 파일 스토리지에 액세스 할 수 있는 통합 인터페이스를 제공하기 위한 파일 스토리지 액세스 시스템 및 방법이 제공된다.According to the present invention, a file storage access system and method are provided for providing a unified interface that can access various types of file storage.
본 발명에 따르면, 파일 스토리지와 맵핑된 전역 이름 공간을 참조하여 파일이 저장된 파일 스토리지에 액세스 할 수 있는 파일 스토리지 액세스 시스템 및 방법이 제공된다.According to the present invention, a file storage access system and method are provided that can access a file storage in which a file is stored with reference to a global namespace mapped to file storage.
본 발명에 따르면, 사용자가 액세스 하려는 파일이 저장된 파일 스토리지의 정보를 모르고, 파일의 경로 이름만 알더라도, 파일 스토리지에 액세스할 수 있는 파일 스토리지 액세스 시스템 및 방법이 제공된다.According to the present invention, there is provided a file storage access system and method for accessing file storage even if the user does not know the information of the file storage where the file to be accessed is stored and only the path name of the file is provided.
본 발명에 따르면, 파일 스토리지가 물리적으로 변경되더라도 어플리케이션의 수정 없이 전역 이름 공간을 참조하여 파일 스토리지에 액세스 할 수 있는 파일 스토리지 액세스 시스템 및 방법이 제공된다.According to the present invention, even if the file storage is physically changed, there is provided a file storage access system and method that can access the file storage with reference to the global namespace without modification of the application.
이하, 첨부된 도면들에 기재된 내용들을 참조하여 본 발명에 따른 실시예를 상세하게 설명한다. 다만, 본 발명이 실시예들에 의해 제한되거나 한정되는 것은 아니다. 각 도면에 제시된 동일한 참조부호는 동일한 부재를 나타낸다. 파일 스토리지 액세스 방법은 파일 스토리지 액세스 시스템을 구성하는 구성 요소에 의해 수행될 수 있다.Hereinafter, with reference to the contents described in the accompanying drawings will be described in detail an embodiment according to the present invention. However, the present invention is not limited to or limited by the embodiments. Like reference numerals in the drawings denote like elements. The file storage access method may be performed by components constituting the 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)를 포함할 수 있다.Referring to FIG. 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 embodiment of the present invention may provide an integrated interface to access various types of file systems. The file storage access system may send a file access request for the file that the user wishes to process through the
이 때, 메타데이터 서버(103)는 파일 스토리지(104-1~104-N)와 맵핑된 전역 이름 공간(global name space)을 저장할 수 있다. 전역 이름 공간은 서비스 각각에 대한 파일의 저장 공간인 파일 스토리지와 서비스의 이름이 맵핑된 것을 의미할 수 있다. 전역 이름 공간은 도 2에서 구체적으로 설명된다.In this case, the
게이트웨이(101) 및 메타데이터 서버(103)는 고성능과 고가용성을 지원하기 위해 다수의 서버로 구성된 클러스터링 구조로 이루어 질 수 있다. 이 때, 게이트웨이(101) 및 메타데이터 서버(103)를 구성하는 다수의 서버는 stateless하게 동작하도록 설계될 수 있다.The
도 2는 본 발명의 일실시예에 따른 파일 스토리지가 맵핑된 전역 이름 공간 의 일례를 나타낸 도면이다.2 is a diagram illustrating an example of a global namespace to which file storage is mapped according to an embodiment of the present invention.
도 2를 참고하면, 전역 이름 공간은 트리 형태의 계층 구조로 이루어질 수 있다. 여기서, 각 노드는 서비스를 의미할 수 있다. 예를 들어, B가 "portal service"인 포탈 서비스라고 하는 경우, b1은 "mail"인 메일 서비스, b2는 "community 인 커뮤니티 서비스, b3은 "search" 인 검색 서비스를 의미할 수 있다.Referring to FIG. 2, the global namespace may be hierarchical in tree form. Here, each node may mean a service. For example, when B is a portal service with "portal service", b1 may mean a mail service of "mail", b2 may mean a community service of "community", and b3 may mean a search service of "search".
이 때, 전역 이름 공간은 서비스 각각에 대한 파일의 물리적 저장 공간인 파일 스토리지와 서비스의 이름이 맵핑 될 수 있다. 실제 물리적 저장 공간인 파일 스토리지가 변경되더라도, 파일의 경로 이름은 변경되지 않기 때문에 해당 파일을 쉽게 접속할 수 있다. 그리고, 파일 스토리지와 맵핑 되는 노드는 전역 이름 공간의 트리 구조에서 최하위 노드일 수 있다. 만약 x라는 파일이 검색 서비스에 사용되는 경우, x는 파일 스토리지 z에 저장될 수 있다.In this case, the global name space may be mapped to a file storage and a service name, which are physical storage spaces of a file for each service. Even if the file storage, which is the actual physical storage space, is changed, the path name of the file is not changed, so the file can be easily accessed. The node mapped with the file storage may be the lowest node in the tree structure of the global namespace. If a file x is used for the search service, x may be stored in file storage z.
사용자는 어플리케이션(102)을 통해 파일 x에 대한 파일 액세스 요청을 게이트웨이(101)에 전송할 수 있다. 그러면, 게이트웨이(101)는 파일 경로 이름을 포함하는 메타데이터 요청을 메타데이터 서버(103)에 전송할 수 있다. 이 때, 파일 경로 이름은 파일이 속한 서비스 명칭도 포함할 수 있다.The user may send a file access request for file x to
그러면. 메타데이터 서버(103)는 파일 x가 속한 서비스를 확인한 후, 저장하고 있는 전역 이름 공간을 참조할 수 있다. 메타데이터 서버(103)는 해당 서비스와 맵핑된 파일 스토리지를 확인하고, 확인된 파일 스토리지에 접근할 수 있는 파일 액세스 정보를 메타데이터 요청에 응답하여 게이트웨이(101)에 제공할 수 있다. 이 때, 파일 액세스 정보는 파일이 저장된 파일 스토리지의 파일 시스템 타입, 상 기 파일 스토리지의 네트워크 주소 또는 상기 파일의 로컬 경로 이름을 포함할 수 있다.then. After checking the service to which the file x belongs, 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 a user wants to access a file, the user may send a file access request to the
만약, community라는 서비스에 맵핑된 파일 스토리지(104)의 파일 시스템 종류가 변경되더라도, "/foo/bar"는 여전히 "X/service/community/foo/bar"라는 경로 이름을 가진다.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)에 접속하기 위한 파일 입출력 기능을 수행할 수 있다.In this case, the file access information may include a file system type of the
이 때, x에 대한 파일에 대해 메타데이터 서버(103)에 요청하였다면, 이후 동일한 파일에 대해서 반복적으로 요청하는 것을 방지하기 위해, 게이트웨이(101)는 파일 x에 대한 파일 스토리지의 맵핑 정보를 캐시 데이터로 저장할 수 있다. 그리고, 맵핑 정보의 일관성을 위해 게이트웨이(101)는 주기적으로 메타데이터 서버(103)를 통해 맵핑 정보를 업데이트할 수 있다.At this time, if a request is made to the
도 4는 본 발명의 일실시예에 따른 게이트웨이의 세부 구성을 도시한 블록 다이어그램이다.4 is a block diagram showing a detailed configuration of a gateway according to an embodiment of the present invention.
도 4를 참고하면, 게이트웨이(101)는 액세스 요청 수신부(401), 메타데이터 요청부(402), 파일 액세스부(403) 및 맵핑 정보 저장부(404)를 포함할 수 있다.Referring to FIG. 4, the
액세스 요청 수신부(401)는 적어도 하나의 다른 종류의 파일 스토리지에 저장된 파일에 대해 파일 액세스 요청을 수신할 수 있다. 파일 스토리지의 종류는 제한이 없다. 이 때, 액세스 요청 수신부(401)는 RPC(remote procedure call) 프로토콜을 통해 어플리케이션으로부터 파일 액세스 요청을 수신할 수 있다.The
파일 액세스 요청은 파일 스토리지에 저장된 파일의 경로 이름을 포함할 수 있다. 파일의 경로 이름은 파일이 사용되는 서비스의 이름이 포함될 수 있다. 이후, 메타데이터 서버(103)는 파일의 경로 이름에 포함된 서비스의 이름을 이용하여 전역 이름 공간을 참조할 수 있다.The file access request may include a path name of a file stored in file storage. The path name of the file may include the name of the service in which the file is used. The
메타데이터 요청부(402)는 메타데이터 서버에 파일의 경로 이름을 포함하는 메타데이터 요청을 전송할 수 있다.The
파일 액세스부(403)는 전역 이름 공간을 참조한 메타데이터 서버(103)로부터 파일에 대한 파일 액세스 정보를 수신하여 파일이 저장된 파일 스토리지에 액세스 할 수 있다. 이 때, 전역 이름 공간은 서비스 각각에 대한 파일의 저장 공간인 파일 스토리지와 상기 서비스 이름이 맵핑된 구조로 된 것일 수 있다.The
메타데이터 서버(103)는 파일 액세스 요청에 포함된 파일의 경로 이름을 이용하여 전역 이름 공간에 맵핑된 파일 스토리지를 확인할 수 있다. 즉, 메타데이터 서버(103)는 전역 이름 공간을 참조하여 파일에 대한 파일 스토리지의 정보인 파일 액세스 정보를 파일 액세스부(403)에 제공할 수 있다. 일례로, 파일 액세스 정보는 파일이 저장된 파일 스토리지의 파일 시스템 타입, 상기 파일 스토리지의 네트워크 주소 또는 상기 파일의 로컬 경로 이름을 포함할 수 있다.The
이 때, 파일 스토리지의 파일 시스템 타입은 파일 스토리지가 속한 파일 시스템의 종류를 의미할 수 있다. 그리고, 파일 스토리지의 네트워크 주소는 파일 스토리지의 IP 주소를 의미할 수 있다. 또한, 파일의 로컬 경로 이름은 파일 스토리지에서 파일이 저장된 디렉토리 명칭을 의미할 수 있다.In this case, the file system type of file storage may mean a type of file system to which file storage belongs. The network address of the file storage may mean an IP address of the file storage. In addition, the local path name of the file may mean a directory name where the file is stored in the file storage.
파일 액세스부(403)는 게이트웨이(101)의 파일 입출력 기능을 통해 파일 스토리지에 액세스할 수 있다. 이 때, 파일 스토리지의 종류와는 무관하게 파일 액세스부(403)는 파일 입출력 기능을 통해 파일 스토리지에 저장된 파일에 액세스할 수 있다.The
맵핑 정보 저장부(404)는 파일 액세스 요청된 파일에 대해 상기 전역 이름 공간과 파일 스토리지에 대한 맵핑 정보를 캐시 데이터로 저장할 수 있다. 파일을 요청 받을 때마다 메타데이터 서버(103)에 메타데이터 요청을 전송하는 것은 게이트웨이의 측면에서 성능의 저하가 발생할 수 있다. The mapping
따라서, 파일 액세스 요청에 의해 한 번 메타데이터 서버가 참조한 파일에 대해서, 맵핑 정보 저장부(404)는 해당 파일이 속한 서비스와 파일 스토리지 간의 맵핑 정보를 캐시 데이터로 저장할 수 있다. 그리고, 맵핑 정보의 일관성을 유지하기 위해 맵핑 정보 저장부(404)는 미리 설정한 일정 주기마다 메타데이터 서버(103)를 조회하여 맵핑 정보를 업데이트 할 수 있다. 전역 이름 공간과 물리적 파일 스토리지에 대한 맵핑 정보는 자주 변경되지 않기 때문에 업데이트 주기는 시스템 구성에 따라 조절될 수 있다.Therefore, for a file referred to by the metadata server once by a file access request, the mapping
도 5는 본 발명의 일실시예에 따른 메타데이터 서버의 세부 구성을 도시한 블록 다이어그램이다.5 is a block diagram showing a detailed configuration of a metadata server according to an embodiment of the present invention.
도 5를 참고하면, 메타데이터 서버(103)는 메타데이터 요청 수신부(501), 전역 이름 공간 참조부(502) 및 파일 액세스 정보 제공부(503)를 포함할 수 있다.Referring to FIG. 5, the
메타데이터 요청 수신부(501)는 게이트웨이(101)로부터 파일의 경로 이름을 포함하는 메타데이터 요청을 수신할 수 있다. 이 때, 파일의 경로 이름은 파일이 사용되는 서비스의 이름을 포함할 수 있다. 서비스의 이름은 전역 이름 공간에 맵핑된 파일 스토리지를 확인하기 위해 사용될 수 있다.The metadata
전역 이름 공간 참조부(502)는 파일의 경로 이름에 기초하여 파일이 저장된 파일 스토리지와 맵핑된 전역 이름 공간을 참조할 수 있다. 이 때, 전역 이름 공간은 서비스 각각에 대한 파일의 저장 공간인 파일 스토리지와 상기 서비스의 이름이 맵핑된 구조일 수 있다. 전역 이름 공간은 서비스 이름과 매칭된 복수의 노드가 트리 형태로 구성될 수 있다. 전역 이름 공간에서 최종 노드가 파일 스토리지와 맵핑 될 수 있다.The
만약, 파일 x에 대한 경로 이름이 메타데이터 요청을 통해 수신되면, 전역 이름 공간 참조부(502)는 경로 이름에 포함된 서비스 y를 통해 전역 이름 공간을 참조하여 전역 이름 공간에 맵핑된 파일 스토리지를 확인할 수 있다.If a path name for file x is received through the metadata request, the global
파일 액세스 정보 제공부(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 may receive a file access request for a file stored in at least one other type of file storage. In this case, the file access request may include a path name for the file.
단계(S602)에서, 게이트웨이는 파일의 경로 이름을 포함하는 메타데이터 요청을 메타데이터 서버에 전송할 수 있다. 이 때, 메타데이터 서버는 파일의 경로 이름을 통해 파일 스토리지와 맵핑된 전역 이름 공간을 참조하여 파일의 파일 액세스 정보를 제공할 수 있다.In step S602, the gateway may send a metadata request including the path name of the file to the metadata server. At this time, the metadata server may provide the file access information of the file by referring to the global namespace mapped to the file storage through the path name of the file.
전역 이름 공간은 서비스 각각에 대한 파일의 저장 공간인 파일 스토리지와 서비스의 이름이 맵핑된 구조일 수 있다.The global namespace may be a structure in which the name of the service is mapped to file storage, which is a file storage space for each service.
단계(S603)에서, 게이트웨이는 메타데이터 서버로부터 파일의 파일 액세스 정보를 수신할 수 있다.In step S603, the gateway may receive file access information of a file from a metadata server.
이 때, 파일 액세스 정보는 파일이 저장된 파일 스토리지의 파일 시스템 타입, 파일 스토리지의 네트워크 주소 또는 파일의 로컬 경로 이름을 포함할 수 있다.In this case, the file access information may include a file system type of the file storage in which the file is stored, a network address of the file storage, or a local path name of the file.
단계(S604)에서, 게이트웨이는 파일 액세스 정보를 참고하여 상기 파일이 저장된 파일 스토리지에 액세스할 수 있다. 이 때, 게이트웨이는 파일 입출력 기능을 이용하여 파일 스토리지에 액세스 할 수 있다. 그리고, 파일 스토리지의 개수와 종류에 제한이 없으며, 게이트웨이는 다양한 종류의 파일 스토리지에 접근할 수 있는 공통적인 인터페이스를 제공할 수 있다.In operation S604, the gateway may access file storage in which the file is stored by referring to file access information. At this time, the gateway may access the file storage using the file input / output function. In addition, the number and types of file storages are not limited, and the gateway may provide a common interface for accessing various types of file storages.
단계(S605)에서, 게이트웨이는 파일 액세스 요청된 파일에 대해 전역 이름 공간과 파일 스토리지에 대한 맵핑 정보를 캐시 데이터로 저장할 수 있다. 이 때, 게이트웨이는 미리 설정한 일정 주기마다 메타데이터 서버를 조회하여 맵핑 정보를 업데이트할 수 있다.In step S605, the gateway may store mapping information for the global namespace and file storage as cache data for the file for which the file access is requested. At this time, the gateway may update the mapping information by querying the metadata server at predetermined predetermined periods.
도 7은 본 발명의 일실시예에 따른 파일 스토리지에 액세스하는 과정을 도시한 도면이다.7 is a diagram illustrating 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 may send a file access request to the
단계(S703)에서, 게이트웨이(101)는 파일 액세스 요청의 수신에 대응하여 파일의 경로 이름을 포함하는 메타데이터 요청을 메타데이터 서버(703)에 전송할 수 있다.In step S703, the
그러면, 단계(S704)에서, 메타데이터 서버(103)는 전역 이름 공간을 참조할 수 있다. 즉, 메타데이터 서버(103)는 사용자가 요청한 파일이 속한 서비스의 이름을 통해 전역 이름 공간에 맵핑된 파일 스토리지의 정보를 확인할 수 있다. 단계(S705)에서, 메타데이터 서버(103)는 파일 액세스 정보를 게이트웨이(101)에 제공할 수 있다. 파일 액세스 정보는 파일이 저장된 파일 스토리지의 파일 시스템 타입, 파일 스토리지의 네트워크 주소 또는 파일의 로컬 경로 이름을 포함할 수 있다.Then, at step S704,
그러면, 단계(S706)에서 게이트웨이(101)는 메타데이터 서버(103)를 통해 한 번 확인한 파일에 대한 맵핑 정보를 캐시 데이터로 저장할 수 있다. 이후, 게이트웨이(101)는 맵핑 정보의 일관성 유지를 위해 미리 설정한 주기로 맵핑 정보를 업데이트 할 수 있다.Then, in step S706, the
단계(S707)에서, 게이트웨이(101)는 메타데이터 서버(103)로부터 수신한 파 일 액세스 정보를 통해 파일 스토리지(104)에 액세스할 수 있다.In operation S707, the
도 6 및 도 7에서 설명되지 않은 부분은 도 1 내지 도 5의 설명을 참고할 수 있다.Parts not described in FIGS. 6 and 7 may refer to descriptions of FIGS. 1 to 5.
또한 본 발명의 일실시예에 따른 파일 스토리지 액세스 방법은 다양한 컴퓨터로 구현되는 동작을 수행하기 위한 프로그램 명령을 포함하는 컴퓨터 판독 가능 매체를 포함한다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다.In addition, the file storage access method according to an embodiment of the present invention includes a computer readable medium including program instructions for performing operations implemented by various computers. The computer readable medium may include program instructions, data files, data structures, etc. 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 recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks, 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 not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like.
이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 이는 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. 따라서, 본 발명 사상은 아래에 기재된 특허청구범위에 의해서만 파악되어야 하고, 이의 균등 또는 등가적 변형 모두는 본 발명 사상의 범주에 속한다고 할 것이다.As described above, the present invention has been described by way of limited embodiments and drawings, but the present invention is not limited to the above-described embodiments, which can be variously modified and modified by those skilled in the art to which the present invention pertains. Modifications are possible. Accordingly, the spirit of the present invention should be understood only by the claims set forth below, and all equivalent or equivalent modifications thereof will belong to 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는 본 발명의 일실시예에 따른 파일 스토리지가 맵핑된 전역 이름 공간의 일례를 나타낸 도면이다.2 is a diagram illustrating an example of a global namespace to which file storage is mapped according to an embodiment of the present invention.
도 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 showing a detailed configuration of a gateway according to an embodiment of the present invention.
도 5는 본 발명의 일실시예에 따른 메타데이터 서버의 세부 구성을 도시한 블록 다이어그램이다.5 is a block diagram showing 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은 본 발명의 일실시예에 따른 파일 스토리지에 액세스하는 과정을 도시한 도면이다.7 is a diagram illustrating a process of accessing file storage according to an embodiment of the present invention.
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>
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 | File storage access systems and methods |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020080121084A KR101560724B1 (en) | 2008-12-02 | 2008-12-02 | File storage access systems and methods |
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 true KR20100062442A (en) | 2010-06-10 |
| KR101560724B1 KR101560724B1 (en) | 2015-10-15 |
Family
ID=42362705
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020080121084A Active KR101560724B1 (en) | 2008-12-02 | 2008-12-02 | File storage access systems and methods |
Country Status (1)
| Country | Link |
|---|---|
| KR (1) | KR101560724B1 (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20120010397A (en) * | 2010-07-26 | 2012-02-03 | 에스케이 텔레콤주식회사 | Cloud storage service device and method |
| KR20120013475A (en) * | 2010-08-05 | 2012-02-15 | 에스케이 텔레콤주식회사 | Data management device and method using QR information in distributed file system |
| KR20120045239A (en) * | 2010-10-29 | 2012-05-09 | 에스케이 텔레콤주식회사 | 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 |
| KR20190056295A (en) * | 2017-11-16 | 2019-05-24 | 삼성전자주식회사 | On-demand storage provisioning using distributed and virtual namespace management |
-
2008
- 2008-12-02 KR KR1020080121084A patent/KR101560724B1/en active Active
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20120010397A (en) * | 2010-07-26 | 2012-02-03 | 에스케이 텔레콤주식회사 | Cloud storage service device and method |
| KR20120013475A (en) * | 2010-08-05 | 2012-02-15 | 에스케이 텔레콤주식회사 | Data management device and method using QR information in distributed file system |
| KR20120045239A (en) * | 2010-10-29 | 2012-05-09 | 에스케이 텔레콤주식회사 | 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 |
| KR20190056295A (en) * | 2017-11-16 | 2019-05-24 | 삼성전자주식회사 | On-demand storage provisioning using distributed and virtual namespace management |
| CN109799951A (en) * | 2017-11-16 | 2019-05-24 | 三星电子株式会社 | It is supplied using the on-demand storage of distributed and virtual NameSpace management |
| CN109799951B (en) * | 2017-11-16 | 2024-03-01 | 三星电子株式会社 | On-demand storage provisioning using distributed and virtual namespace management |
Also Published As
| Publication number | Publication date |
|---|---|
| KR101560724B1 (en) | 2015-10-15 |
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 | |
| KR100974149B1 (en) | Method, system and computer readable storage media for maintaining information about namespaces | |
| AU2015259419B2 (en) | File service using a shared file access-REST interface | |
| JP6188732B2 (en) | Computer-implemented method, computer program product, and system for managing tenant-specific data sets in a multi-tenant environment | |
| US7487191B2 (en) | Method and system for model-based replication of data | |
| EP2143051B1 (en) | In-memory caching of shared customizable multi-tenant data | |
| US11687595B2 (en) | System and method for searching backups | |
| US7743038B1 (en) | Inode based policy identifiers in a filing system | |
| US10817203B1 (en) | Client-configurable data tiering service | |
| US9367569B1 (en) | Recovery of directory information | |
| US20080263082A1 (en) | Recovery segment identification in a computing infrastructure | |
| US11151081B1 (en) | Data tiering service with cold tier indexing | |
| US20070061327A1 (en) | Providing local access to managed content | |
| US10579597B1 (en) | Data-tiering service with multiple cold tier quality of service levels | |
| EP3076307A1 (en) | Method and device for responding to a request, and distributed file system | |
| US20050160153A1 (en) | Publishing multipart WSDL files to URL | |
| US8706856B2 (en) | Service directory | |
| JP2006178554A (en) | Distributed policy linkage method | |
| US10262024B1 (en) | Providing consistent access to data objects transcending storage limitations in a non-relational data store | |
| US11386072B1 (en) | Automatic consistency for database write forwarding | |
| US20080052673A1 (en) | Accretion of Inter-Namespace Instances in Multi-Tenant CIMOM Environment | |
| US8380806B2 (en) | System and method for absolute path discovery by a storage virtualization system | |
| CN112583760A (en) | Object storage access method, device, equipment and computer storage medium | |
| US20250039107A1 (en) | Grouping resource metadata tags | |
| KR101560724B1 (en) | File storage access systems and methods |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20081202 |
|
| N231 | Notification of change of applicant | ||
| PN2301 | Change of applicant |
Patent event date: 20090522 Comment text: Notification of Change of Applicant Patent event code: PN23011R01D |
|
| PG1501 | Laying open of application | ||
| A201 | Request for examination | ||
| PA0201 | Request for examination |
Patent event code: PA02012R01D Patent event date: 20130723 Comment text: Request for Examination of Application Patent event code: PA02011R01I Patent event date: 20081202 Comment text: Patent Application |
|
| N231 | Notification of change of applicant | ||
| PN2301 | Change of applicant |
Patent event date: 20140912 Comment text: Notification of Change of Applicant Patent event code: PN23011R01D |
|
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20150127 Patent event code: PE09021S01D |
|
| AMND | Amendment | ||
| E601 | Decision to refuse application | ||
| PE0601 | Decision on rejection of patent |
Patent event date: 20150717 Comment text: Decision to Refuse Application Patent event code: PE06012S01D Patent event date: 20150127 Comment text: Notification of reason for refusal Patent event code: PE06011S01I |
|
| AMND | Amendment | ||
| J201 | Request for trial against refusal decision | ||
| PJ0201 | Trial against decision of rejection |
Patent event date: 20150810 Comment text: Request for Trial against Decision on Refusal Patent event code: PJ02012R01D Patent event date: 20150717 Comment text: Decision to Refuse Application Patent event code: PJ02011S01I Appeal kind category: Appeal against decision to decline refusal Appeal identifier: 2015101004618 Request date: 20150810 |
|
| A107 | Divisional application of patent | ||
| PA0107 | Divisional application |
Comment text: Divisional Application of Patent Patent event date: 20150901 Patent event code: PA01071R01D |
|
| PB0901 | Examination by re-examination before a trial |
Comment text: Amendment to Specification, etc. Patent event date: 20150810 Patent event code: PB09011R02I Comment text: Request for Trial against Decision on Refusal Patent event date: 20150810 Patent event code: PB09011R01I Comment text: Amendment to Specification, etc. Patent event date: 20150310 Patent event code: PB09011R02I |
|
| B701 | Decision to grant | ||
| PB0701 | Decision of registration after re-examination before a trial |
Patent event date: 20150925 Comment text: Decision to Grant Registration Patent event code: PB07012S01D Patent event date: 20150914 Comment text: Transfer of Trial File for Re-examination before a Trial Patent event code: PB07011S01I |
|
| GRNT | Written decision to grant | ||
| PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20151008 Patent event code: PR07011E01D |
|
| PR1002 | Payment of registration fee |
Payment date: 20151012 End annual number: 3 Start annual number: 1 |
|
| PG1601 | Publication of registration | ||
| FPAY | Annual fee payment |
Payment date: 20181008 Year of fee payment: 4 |
|
| PR1001 | Payment of annual fee |
Payment date: 20181008 Start annual number: 4 End annual number: 4 |
|
| FPAY | Annual fee payment |
Payment date: 20191001 Year of fee payment: 5 |
|
| PR1001 | Payment of annual fee |
Payment date: 20191001 Start annual number: 5 End annual number: 5 |
|
| PR1001 | Payment of annual fee |
Payment date: 20200925 Start annual number: 6 End annual number: 6 |
|
| PR1001 | Payment of annual fee |
Payment date: 20210929 Start annual number: 7 End annual number: 7 |
|
| PR1001 | Payment of annual fee |
Payment date: 20230925 Start annual number: 9 End annual number: 9 |
|
| PR1001 | Payment of annual fee |