





본 발명은 이미지 파일 처리 장치 및 그 방법에 관한 것으로, 보다 상세하게는 네트워크 상의 클라우드 스토리지 영역을 외장 메모리로 인식할 수 있도록 개발된 사용자 단말에서 클라우드 스토리지에 저장된 이미지 파일의 접근 속도를 가속시키기 위한 기술에 관한 것이다.The present invention relates to an image file processing apparatus and a method thereof, and more particularly, to a technology for accelerating an access speed of an image file stored in cloud storage in a user terminal developed to recognize a cloud storage area on a network as an external memory. It is about.
가상 파일 시스템(Virtual File System, VFS)은 실제 파일 시스템 위의 추상 계층이다. VFS의 목적은 클라이언트 응용 프로그램이 여러 파일 시스템에 같은 방법으로 접근할 수 있게 하는 것이다. 이를테면 VFS를 사용하면 클라이언트 응용 프로그램은 로컬인 기억 장치에도 네트워크 위의 기억 장치에 직접적으로 접근할 수 있기 때문에 로컬과 네트워크의 차이를 느끼지 못한다. 또, 마이크로소프트 윈도, 맥 오에스, 유닉스 운영 체제의 차이를 넘어 파일 시스템의 차이를 느끼는 일 없이 접근할 수 있다.The virtual file system (VFS) is an abstraction layer on top of the actual file system. The purpose of VFS is to allow client applications to access multiple file systems in the same way. For example, with VFS, client applications don't feel the difference between local and network because they can access local storage directly. You can also go beyond the differences in Microsoft Windows, Mac OS, and Unix operating systems without having to worry about file system differences.
VFS는 커널과 실제 파일 시스템과의 인터페이스나 규격을 정의하고 있다. 그러므로 그 규격에 따라 간단히 새로운 파일 시스템을 커널에 추가할 수 있다. 파일 시스템은 새로운 공개 버전과의 호환성을 위해 수정하거나 다시 컴파일해야 할 수도 있다. 아니면 운영 체제에서 규격 변경에 대해 하위 호환 모드로 동작한다면 각 파일 시스템은 새로운 버전의 운영 체제에서도 그대로 사용할 수 있다.VFS defines an interface or specification between the kernel and the actual file system. Therefore, you can simply add a new file system to the kernel according to that specification. The file system may need to be modified or recompiled for compatibility with the new release. Or, if the operating system operates in backward compatibility mode for specification changes, each file system can be used with the new version of the operating system.
미디어 스캔(Media-Scan)은 스마트폰과 같은 사용자 단말의 저장소 내에 디렉토리와 파일이 미디어(동영상, 음악, 사진 등) 정보를 가진 경우 해당 파일의 미디어 정보를 데이터베이스화하여 스마트폰이 물리적인 파일의 목록을 읽지 않고 데이터베이스에서 미디어의 정보를 읽는 것을 말한다.Media scan scans the media information of the file if the directory and file have media (video, music, photo, etc.) information in the storage of the user's terminal such as a smartphone. To read media information from a database without reading a list.
일반적으로 사용자 단말에서 이미지의 리스트를 보여주는 애플리케이션은 모든 이미지가 사용자 단말과 결합된 물리적인 저장 장치에 저장되어 있다고 전제를 하고 각 애플리케이션에서 매번 별도의 각자의 썸네일을 추출하여 도 1과 같이 이미지 리스트를 사용자에게 보여준다.In general, an application showing a list of images in a user terminal assumes that all the images are stored in a physical storage device combined with the user terminal, and extracts a separate thumbnail of each image from each application to display the image list as shown in FIG. 1. Show to user
예를 들어, 이미지 썸네일은 해당 애플리케이션에서 원본 이미지 파일을 읽어 들여서 리사이즈하여 생성한 썸네일 파일로 애플리케이션 실행 시 매번 생성된다.For example, an image thumbnail is a thumbnail file created by reading and resizing the original image file in the application, and is generated every time the application is executed.
하지만, 클라우드 스토리지를 가상 파일 시스템으로 사용하는 경우, 이미지의 다운로드 속도는 일반적인 LTE망에서 3Mbytes/Sec 수준으로, 10 class 수준의 SD카드의 1/10 이하 수준이며, 사용자 단말의 내부 저장소인 eMMC의 1/100의 수준으로 사용자의 애플리케이션 사용에 영향을 준다.However, when using cloud storage as a virtual file system, image download speed is 3Mbytes / Sec level in general LTE network, less than 1/10 of SD card of 10 class level, and eMMC which is internal storage of user terminal. A level of 1/100 affects your application usage.
게다가 약전계나 음영 지역 진입시에는 클라우드 스토리지에 저장된 이미지 파일을 읽을 수가 없기 때문에 애플리케이션 사용이 불가능한 경우가 발생한다.In addition, when entering weak fields or shadowed areas, image files stored in cloud storage can't be read, making applications unavailable.
본 발명은 전술한 종래의 문제점을 해결하기 위한 것으로, 그 목적은 클라우드 스토리지를 가상 파일 시스템으로 사용하는 경우, 클라우드 스토리지 내의 미디어 파일을 썸네일 추출하는데 있어서 발생하는 속도 저하 현상을 해결하여 기존 물리적인 저장 장치에서의 이미지 파일 접근 속도와 동등한 속도를 제공하는 장치 및 방법을 제공하는 것이다.The present invention is to solve the above-described conventional problems, the purpose of which is to use the storage storage as a virtual file system, the existing physical storage by solving the slowdown phenomenon that occurs when extracting thumbnails of media files in the cloud storage It is an object of the present invention to provide a device and a method for providing a speed equivalent to an image file access speed in a device.
상기한 목적을 달성하기 위해 본 발명에 따른 클라우드 파일시스템의 성능 향상을 위해 사용자 단말에 포함되는 장치는, VFS(Virtual File System)로부터 특정 이미지 파일에 대한 열기요청 또는 저장요청을 수신하는 파일 요청 수신부; 상기 열기요청을 수신한 경우, 내부 캐시 영역의 원본 캐시에 열기요청에 대응하는 원본 이미지가 존재하는지 여부를 조회하는 이미지 조회부; 상기 원본 이미지가 존재하지 않는 경우, 상기 내부 캐시 영역의 압축 캐시에서 상기 원본 이미지의 압축 이미지를 조회하여 해당 OS(Operation System)로 제공하는 압축 이미지 제공부; 상기 압축 이미지를 상기 해당 OS로 제공하는 경우, 백그라운드로 상기 원본 이미지를 요청하여 상기 원본 캐시에 저장하는 원본 이미지 다운로드부; 및 상기 파일 요청 수신부가 상기 저장요청을 수신한 경우, 상기 저장요청에 포함된 원본 이미지를 상기 원본 캐시에 저장 및 상기 클라우드 스토리지에 업데이트하고, 상기 원본 이미지의 압축 이미지를 생성하여 상기 압축 캐시에 저장하는 관리부;를 포함하여 구성된다.In order to achieve the above object, a device included in a user terminal for improving the performance of a cloud file system according to the present invention includes a file request receiving unit that receives an opening request or a storage request for a specific image file from a virtual file system (VFS). ; An image inquiry unit for inquiring whether or not an original image corresponding to the opening request exists in the original cache of the internal cache area when the opening request is received; A compressed image providing unit for searching a compressed image of the original image in a compression cache of the internal cache region and providing the compressed image to a corresponding OS (operation system) when the original image does not exist; An original image download unit which requests the original image in the background and stores it in the original cache when providing the compressed image to the corresponding OS; And when the file request receiver receives the storage request, store the original image included in the storage request in the original cache and update the cloud storage, generate a compressed image of the original image, and store the compressed image in the compressed cache. It is configured to include; a management unit.
상기한 목적을 달성하기 위해 본 발명에 따른 클라우드 파일시스템의 성능 향상을 위해 사용자 단말에서 수행되는 방법은, (a) VFS(Virtual File System)로부터 특정 이미지 파일에 대한 열기요청 또는 저장요청을 수신하는 단계; (b) 상기 열기요청을 수신한 경우, 내부 캐시 영역의 원본 캐시에 열기요청에 대응하는 원본 이미지가 존재하는지 여부를 조회하는 단계; (c) 상기 원본 이미지가 존재하지 않는 경우, 상기 내부 캐시 영역의 압축 캐시에서 상기 원본 이미지의 압축 이미지를 조회하여 해당 OS(Operation system)로 제공하는 단계; (d) 상기 압축 이미지를 상기 해당 OS로 제공하는 경우, 백그라운드로 상기 원본 이미지를 요청하여 상기 원본 캐시에 저장하는 단계; 상기 (a) 단계에서 상기 저장요청을 수신한 경우, (e1) 상기 저장요청에 포함된 원본 이미지를 상기 원본 캐시에 저장하고, 더불어 상기 클라우드 스토리지에 업데이트하는 단계; 및 (e2) 상기 원본 이미지의 압축 이미지를 생성하여 상기 압축 캐시에 저장하는 단계;를 포함하여 이뤄진다.In order to achieve the above object, a method performed by a user terminal to improve performance of a cloud file system according to the present invention includes: (a) receiving an opening request or a storage request for a specific image file from a virtual file system (VFS); step; (b) if the opening request is received, inquiring whether an original image corresponding to the opening request exists in the original cache of the internal cache area; (c) searching for a compressed image of the original image in the compressed cache of the internal cache area and providing the same to an operation system (OS) when the original image does not exist; (d) requesting the original image in the background and storing it in the original cache when providing the compressed image to the corresponding OS; When the storage request is received in step (a), (e1) storing the original image included in the storage request in the original cache and updating the cloud storage; And (e2) generating a compressed image of the original image and storing the compressed image in the compression cache.
이상에서 설명한 바와 같이 본 발명의 다양한 측면에 따르면, 클라우드 스토리지에 저장된 이미지에 접근하는 속도가 물리적인 저장 장치와 동등한 수준으로 보장되는 효과가 있어, 사용자는 클라우드 스토리지에 저장된 이미지를 썸네일 추출하는데 있어서 속도의 제약을 받지 않고 사용 가능하며 클라우드 스토리지에 저장된 이미지를 제공받을 수 있다.As described above, according to various aspects of the present invention, the speed of accessing the image stored in the cloud storage is guaranteed to be equivalent to that of the physical storage device, so that the user may speed up the extraction of thumbnails stored in the cloud storage. It can be used without limitations and can be provided with images stored in cloud storage.
도 1은 미디어 스캔하여 이미지 리스트를 제공하는 화면 UI 예시,
도 2는 본 발명의 실시예에 따른 클라우드 스토리지 시스템의 구성도,
도 3은 본 발명의 실시예에 따른 도 1의 사용자 단말의 구성도,
도 4는 본 발명의 실시예에 따라 클라우드 스토리지에 저장된 이미지 파일의 접근 속도를 가속하기 위한 장치의 구성도,
도 5는 본 발명의 제1실시예에 따른 클라우드 스토리지에 저장된 이미지 파일의 접근 속도를 가속하기 위한 방법의 흐름도,
도 6은 본 발명의 제2실시예에 따른 클라우드 스토리지에 저장된 이미지 파일의 접근 속도를 가속하기 위한 방법의 흐름도.1 illustrates an example of a screen UI for providing a list of images by scanning a media;
 2 is a block diagram of a cloud storage system according to an embodiment of the present invention;
 3 is a configuration diagram of a user terminal of FIG. 1 according to an embodiment of the present invention;
 4 is a configuration diagram of an apparatus for accelerating an access speed of an image file stored in cloud storage according to an exemplary embodiment of the present invention;
 5 is a flowchart of a method for accelerating an access speed of an image file stored in cloud storage according to a first embodiment of the present invention;
 6 is a flow chart of a method for accelerating the access speed of an image file stored in cloud storage according to a second embodiment of the present invention.
이하, 첨부도면을 참조하여 본 발명의 실시예에 대해 구체적으로 설명한다. 각 도면의 구성요소들에 참조부호를 부가함에 있어서 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 한다. 또한, 본 발명의 실시예에 대한 설명 시 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략한다.Hereinafter, with reference to the accompanying drawings will be described in detail an embodiment of the present invention. In adding reference numerals to the components of each drawing, the same components are denoted by the same reference numerals as much as possible even though they are shown in different drawings. In addition, when it is determined that the detailed description of the known configuration or function related to the description of the embodiments of the present invention may obscure the gist of the present invention, the detailed description thereof will be omitted.
이하 본 발명에 따른 각 실시 예는 본 발명의 이해를 돕기 위한 하나의 예에 불과하고, 본 발명이 이러한 실시 예에 한정되는 것은 아니다. 특히 본 발명은 각 실시예에 포함되는 개별 구성, 개별 기능, 또는 개별 단계 중 적어도 어느 하나 이상의 조합으로 구성될 수 있다.Hereinafter, each embodiment according to the present invention is only one example to help understanding of the present invention, and the present invention is not limited to these embodiments. In particular, the present invention may be composed of a combination of at least one or more of individual configurations, individual functions, or individual steps included in each embodiment.
특히, 편의상 청구 범위의 일부 청구항에는 편의상 '(a)'와 같은 알파벳을 포함시켰으나, 이러한 알파벳이 각 단계의 순서를 규정하는 것은 아니다.In particular, although some claims in the claims include, for convenience, alphabets such as '(a)', these alphabets do not prescribe the order of each step.
도 2는 본 발명의 실시예에 따른 클라우드 스토리지 시스템의 구성도를 도시한 것으로, 서버 기반 미디어 스캔을 위한 시스템은 통신망(1), 서버(2), 사용자 단말(3), 및 클라우드 스토리지(4)를 포함할 수 있다.2 is a block diagram of a cloud storage system according to an exemplary embodiment of the present invention. The system for scanning a server-based media includes a
통신망(1)은 서버(2), 사용자 단말(3), 및 클라우드 스토리지(4) 간을 유선, 무선 및/또는 인터넷 등으로 연결하여 통신할 수 있도록 하는 단독 또는 복합의 어떤 망이어도 좋다.The
서버(2)는 클라우드 스토리지(4)를 미디어 스캔하여 클라우드 스토리지(4) 내의 미디어 파일 정보(또는 "미디어 스캔 정보"라 칭함)를 데이터베이스(DB)에 저장하고 사용자 단말(3)과 동기화 할 수 있다.The
사용자 단말(3)은 클라우드 스토리지(4)의 마운트(또는, 장착, 탑재, 접속 등으로 표기함) 시 사용자 단말(3) 자신이 직접 클라우드 스토리지(4)의 미디어 스캔을 수행하지 않고 해당 미디어 스캔 정보를 서버(2)로부터 받아 동기화할 수 있다.When the
클라우드 스토리지(4)는 통신망(또는 "네트워크"라 칭함)(1) 상의 저장장치로 서버(2)와 사용자 단말(3)이 통신망(1)을 통해 언제 어디서든 접속할 수 있는 저장장치이고, 실시예에 따라 클라우드 스토리지(4)는 서버(2)에 포함된 저장장치이거나 동일한 장치일 수도 있다.The cloud storage 4 is a storage device on a communication network (or referred to as a "network") 1 and is a storage device to which the
도 3은 본 발명의 실시예에 따른 도 1의 사용자 단말(3)의 구성도를 도시한 것으로 사용자 단말(3)은 OS(31), VFS(32), 클라우드 파일 시스템(33) 및 클라우드 파일 캐시(34)를 포함하여 구성되고 미디어 스캔 정보를 포함한 미디어 스캔 캐시DB(35)를 더 포함하여 구성될 수도 있다.3 is a block diagram of the
OS(31)는 사용자 단말(3)에 설치된 운영 체제로 안드로이드 계열, iOS 계열, 윈도우 계열 및 리눅스 계열을 포함하여, 블랙베리 및 심비안을 포함하는 모든 운영 체제가 가능하다.The OS 31 is an operating system installed in the
VFS(32)은 커널과 실제 파일 시스템과의 인터페이스나 규격을 정의하고서 OS(31)와 클라우드 파일 시스템(33) 간의 통신을 매개하기 위한 것으로, 전술한 VFS의 기능과 동일하므로 자세한 설명은 생략한다.The VFS 32 defines an interface or specification between the kernel and the actual file system and mediates communication between the
클라우드 파일 시스템(33)은 사용자 단말(3) 또는 사용자 단말(3)의 애플리케이션에서 네트워크(1) 상의 클라우드 스토리지(4)에 저장된 이미지 파일을 접근하고자 하는 경우, 원본 캐시(341) 및 압축 캐시(342)를 사용하여 해당 이미지 파일을 접근하는 속도를 가속하기 위한 시스템이다.The
클라우드 파일 캐시(34)는 클라우드 파일 시스템(23)의 내부 캐시 영역(캐시 저장 영역)을 나타내는 것으로 이미지 파일의 원본 이미지를 저장하여 보관하는 원본 캐시(341)와 이미지 파일의 압축 이미지를 저장하여 보관하는 압축 캐시(342)를 포함한다. 예를 들어, 클라우드 파일 시스템(33)이 서버(2)로부터 이미지 파일의 압축 이미지를 다운로드 받아 압축 캐시(342)에 캐시 파일로 저장하거나, VFS(32)로부터 전달(또는 수신)받은 이미지 파일의 원본 이미지를 내부 캐시 영역(34)의 원본 캐시(341)에 캐시 파일로 저장할 수 있으며, 원본 이미지의 압축 이미지를 내부 캐시 영역(34)의 압축 캐시(342)에 캐시 파일로 저장할 수도 있다.The cloud file cache 34 represents an internal cache area (cache storage area) of the cloud file system 23, and stores and stores the
여기서 원본 이미지는 이미지 파일의 원본으로 다양한 확장자 중 어느 하나를 가질 수 있다. 여기서 압축 이미지는 원본 이미지를 가공한 것으로 원본 이미지의 사이즈를 축소/압축하거나 원본 이미지의 해상도를 낮추는 등의 가공 처리를 한 이미지이다.Here, the original image may have any one of various extensions as an original of the image file. In this case, the compressed image is a processed image such as a reduction / compression of the original image or a lower resolution of the original image.
여기서 원본 캐시(341)는 내부 캐시 영역의 일부 영역으로 특정 사이즈의 영역이다. 원본 캐시(341)에 여유 공간이 없는 경우, 원본 캐시(341)는 FIFO(First In First Out) 또는 LIFO(Last In First Out) 중 어느 한 방식으로 원본 이미지가 저장되거나 기 저장된 원본 이미지를 삭제한다.Here, the
도 4는 본 발명의 실시예에 따라 클라우드 스토리지에 저장된 이미지 파일의 접근 속도를 가속하기 위한 장치의 구성도를 도시한 것으로, 도 3에 도시한 클라우드 파일 시스템(33)의 세부 구성을 나타낸 것이다. 클라우드 파일 시스템(33)은 파일 요청 수신부(331), 이미지 조회부(332), 압축 이미지 제공부(333) 및 원본 이미지 다운로드부(334)를 포함하고, 실시예에 따라 관리부(335)를 더 포함할 수도 있다.4 is a block diagram of an apparatus for accelerating an access speed of an image file stored in cloud storage according to an exemplary embodiment of the present invention, and shows a detailed configuration of the
파일 요청 수신부(331)는 VFS(32)로부터 특정 이미지 파일에 대한 열기요청 또는 저장요청을 수신한다.The file
여기서 열기요청은 내부 캐시 영역에 저장된 특정 이미지 파일에 대한 열기 요청 신호이거나 미디어 스캔 정보에 포함된 미디어 스캔 리스트 중 특정 이미지 파일에 대한 열기 요청 신호/명령(또는 정보)이다.The open request may be an open request signal for a specific image file stored in an internal cache area or an open request signal / command (or information) for a specific image file among media scan lists included in the media scan information.
여기서 특정 이미지 파일은 하나 이상의 이미지 파일을 의미하며, 확장자 종류와 상관없이 확장자가 동일한 다수의 이미지파일이거나 확장자가 다른 다수의 이미지 파일일 수도 있다.The specific image file may mean one or more image files, and may be a plurality of image files having the same extension or a plurality of image files having different extensions regardless of the extension type.
여기서 저장요청은 특정 이미지 파일을 내부 캐시 영역에 저장하는 것을 요청하는 신호/명령(또는 정보)으로 저장할 이미지 파일을 포함하고, 저장요청은 실시예에 따라 이미지 파일에 접근할 수 있는 주소를 포함하여 이미지 파일을 저장할 수 있도록 하는 신호/명령(또는 정보)일 수도 있다. 이하 언급하는 저장요청은 이미지 파일을 포함하는 경우와 이미지 파일에 접근할 수 있는 주소를 포함하는 경우를 모두 포괄하는 요청으로 통틀어서 이미지 파일을 포함한다고 서술한다.Here, the storage request includes an image file to be stored as a signal / command (or information) requesting to store a specific image file in an internal cache area, and the storage request includes an address for accessing the image file according to an embodiment. It may also be a signal / command (or information) that allows an image file to be stored. The storage request described below describes the inclusion of the image file as a request covering both the case of including the image file and the case where the image file can be accessed.
파일 요청 수신부(331)가 열기요청을 수신한 경우, 이미지 조회부(332)는 내부 캐시 영역의 원본 캐시(341)에 열기요청에 대응하는 원본 이미지가 존재하는지 여부를 조회한다.When the file
압축 이미지 제공부(333)는 원본 캐시(341)에 원본 이미지가 존재하지 않는 경우, 내부 캐시 영역의 압축 캐시(342)에서 원본 이미지의 압축 이미지를 조회하여 해당 OS로 제공한다.If the original image does not exist in the
만약 압축 캐시(342)에서 원본 이미지의 압축 이미지가 존재하지 않는다면, 압축 이미지 제공부(333)는 해당 OS에게 해당 이미지 파일이 존재하지 않는다는 신호를 송신하거나, 서버(2)에 압축 이미지를 요청하여 해당 OS에게 압축 이미지를 전달(또는 제공)할 수도 있다. 이때 서버(2)에게 받은 압축 이미지는 압축 캐시(342)에 저장된다.If the compressed image of the original image does not exist in the
원본 이미지 다운로드부(334)는 압축 이미지 제공부(333)가 압축 이미지를 해당 OS로 제공하는 경우, 백그라운드로 원본 이미지를 서버에 요청하여 원본 캐시(341)에 저장하고 실시예에 따라 저장된 원본 이미지를 해당 OS로 제공할 수도 있다.If the compressed
또한, 원본 캐시(341)에 원본 이미지가 존재하지 않고 압축 캐시(342)에 원본 이미지의 압축 이미지가 존재하지 않는다면, 원본 이미지 다운로드부(334)는 백그라운드로 원본 이미지를 서버에 요청하여 원본 캐시(341)에 캐시 파일로 저장한다.In addition, if the original image does not exist in the
관리부(335)는 파일 요청 수신부(331)가 저장요청을 수신한 경우, 저장요청에 포함된 원본 이미지를 원본 캐시(341)에 저장하고, 더불어 클라우드 스토리지에 업데이트하여 관리한다. 여기서 클라우드 스토리지에 업데이트 하는 것은 선행기술이므로 자세한 설명은 생략하나, 저장요청에 포함된 원본 이미지가 클라우드 스토리지에 저장되고 미디어 파일 정보(또는 "미디어 스캔 정보")를 포함한 데이터베이스를 업데이트하는 것을 의미한다.When the
또한, 관리부(335)는 파일 요청 수신부(331)가 저장요청을 수신한 경우, 원본 이미지의 압축 이미지를 생성하여 압축 캐시(342)에 저장한다.In addition, when the
압축 캐시에 원본 이미지의 압축 이미지가 존재하지 않는 경우, 압축 이미지는 서버로부터 압축 캐시에 다운로드 받아 저장될 수도 있다.If the compressed image of the original image does not exist in the compressed cache, the compressed image may be downloaded and stored in the compressed cache from the server.
이하 본 발명의 실시예에 따른 클라우드 스토리지에 저장된 이미지 파일의 접근 속도를 가속하기 위한 방법의 흐름도를 도시한 것으로, 도 2~4 장치에 적용되므로 해당 장치의 동작과 병행하여 설명한다.Hereinafter, a flowchart of a method for accelerating an access speed of an image file stored in cloud storage according to an exemplary embodiment of the present invention will be described in parallel with the operation of a corresponding device because it is applied to FIGS. 2 to 4.
도 5는 본 발명의 제1실시예에 따른 클라우드 스토리지에 저장된 이미지 파일의 접근 속도를 가속하기 위한 방법의 흐름도를 도시한 것이다.5 shows a flowchart of a method for accelerating the access speed of an image file stored in cloud storage according to the first embodiment of the present invention.
클라우드 파일 시스템(33)은 VFS(32)로부터 특정 이미지 파일에 대한 열기요청을 수신하고(S101), 원본 캐시(341)에 열기요청에 대응한 원본 이미지가 존재하는지 여부를 조회한다(S103).The
원본 이미지 존재 확인하여(S105) 원본 이미지가 있으면, 클라우드 파일 시스템(33)은 원본 이미지를 해당 OS(VFS을 통해)에 전달한다(S106).If the original image exists by checking the original image (S105), the
반대로 원본 이미지가 원본 캐시(341)에 없으면(S107), 클라우드 파일 시스템(33)은 압축 캐시(342)에 원본 이미지의 압축 이미지를 조회한다(S109).On the contrary, if the original image is not in the original cache 341 (S107), the
압축 캐시(342)에 압축 이미지가 존재하는지 확인하여(S111) 원본 이미지의 압축 이미지가 존재하면, 클라우드 파일 시스템(33)은 압축 이미지를 해당 OS(VFS을 통해)에 전달한다.If the compressed image exists in the compression cache 342 (S111), and if the compressed image of the original image exists, the
만약, 압축 캐시(342)에 압축 이미지가 없으면, 클라우드 파일 시스템(33)은 서버(2)에 원본 이미지 또는 압축 이미지를 요청할 수 있다(S115).If there is no compressed image in the
클라우드 파일 시스템(33)은 서버(2)로부터 이미지 파일(원본 이미지 또는 압축 이미지)을 (다운로드) 받아 해당 OS(31)(VFS을 통해)에 전달한다(S117-a, b).The
클라우드 파일 시스템(33)은 받은 이미지 파일(원본 이미지 또는 압축 이미지)을 해당 캐시에 저장한다(S119-a, b). 예를 들어, 클라우드 파일 시스템이 원본 이미지를 받으면 원본 캐시(341)에 저장하고, 압축 이미지를 받으면 압축 캐시(342)에 저장한다.The
여기서 (S117-a, b) 와 (S119-a, b)의 순서는 실시예에 따라 바뀔 수 있으며 동시에 진행될 수도 있다.Here, the order of (S117-a, b) and (S119-a, b) may be changed depending on the embodiment and may proceed simultaneously.
도 6은 본 발명의 제2실시예에 따른 클라우드 스토리지에 저장된 이미지 파일의 접근 속도를 가속하기 위한 방법의 흐름도를 도시한 것이다.6 shows a flowchart of a method for accelerating an access speed of an image file stored in cloud storage according to a second embodiment of the present invention.
클라우드 파일 시스템(33)은 VFS(32)로부터 특정 이미지 파일에 대한 저장요청을 수신하고(S201), 원본 캐시(341)의 여유 공간을 확인한다(S203).The
원본 캐시(341)에 여유 공간이 존재하는지 확인하여(S205), 원본 캐시(341)의 여유 공간이 없으면 원본 캐시(341)에 여유 공간이 생길 때까지, 원본 캐시(341)에 기 저장된 이미지 파일 중 특정 이미지 파일의 원본 이미지를 삭제한다(S206).If there is no free space in the original cache 341 (S205), if there is no free space of the
원본 캐시(341)에 여유 공간이 존재하면(S207), 클라우드 파일 시스템(33)은 저장요청에 포함된 원본 이미지를 원본 캐시(341)에 캐시 파일로 저장한다(S209).If free space exists in the original cache 341 (S207), the
클라우드 파일 시스템(33)은 원본 이미지의 압축 이미지를 생성하거나 서버(2)로부터 압축 이미지를 다운로드하고(S211), 압축 이미지를 압축 캐시(342)에 캐시 파일로 저장한다(S213). 구체적으로는 클라우드 파일 시스템(33)은 원본 이미지의 압축 이미지를 생성하여 압축 캐시(342)에 저장하거나, 서버(2)에 원본 이미지의 압축 이미지를 요청하여 압축 캐시(342)에 다운로드 받아 저장한다.The
한편, 전술한 클라우드 스토리지에 저장된 이미지 파일의 접근 속도를 가속하기 위한 방법에 따르면 해당 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체를 구현할 수 있다.Meanwhile, according to the method for accelerating an access speed of an image file stored in the cloud storage, a computer-readable recording medium having a program for executing the method on a computer may be implemented.
또 한편, 전술한 클라우드 스토리지에 저장된 이미지 파일의 접근 속도를 가속하기 위한 방법을 하드웨어와 결합하여 실행시키기 위하여 매체에 저장된 애플리케이션을 구현할 수 있다.In addition, an application stored in the medium may be implemented to execute the method for accelerating the access speed of the image file stored in the cloud storage in combination with hardware.
또 다른 한편, 전술한 클라우드 스토리지에 저장된 이미지 파일의 접근 속도를 가속하기 위한 방법을 컴퓨터에서 실행시키기 위하여 매체에 저장된 컴퓨터 프로그램을 구현할 수 있다.On the other hand, it is possible to implement a computer program stored in the medium to execute on the computer a method for accelerating the access speed of the image file stored in the cloud storage described above.
예를 들어, 전술한 바와 같이 본 발명의 실시예에 따른 클라우드 스토리지에 저장된 이미지 파일의 접근 속도를 가속하기 위한 방법은 다양한 컴퓨터로 구현되는 동작을 수행하기 위한 프로그램 명령을 포함하는 컴퓨터 판독가능 기록 매체 또는 이러한 기록 매체에 저장된 애플리케이션으로 구현될 수 있다. 상기 컴퓨터 판독 가능 기록 매체는 프로그램 명령, 로컬 데이터 파일, 로컬 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 기록 매체는 본 발명의 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM, DVD와 같은 광기록 매체, 플롭티컬 디스크와 같은 자기-광 매체, 및 롬, 램, 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함할 수 있다.For example, as described above, a method for accelerating the access speed of an image file stored in cloud storage according to an embodiment of the present invention includes a computer-readable recording medium including program instructions for performing various computer-implemented operations. Or it can be implemented as an application stored in such a recording medium. The computer readable recording medium may include program instructions, local data files, local data structures, etc. alone or in combination. The recording medium may be those specially designed and constructed for the embodiments of the present invention, or may be known and available to those skilled in computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical recording media such as CD-ROMs, DVDs, magnetic-optical media such as floppy disks, and ROM, RAM, flash memory, and the like. Hardware devices specifically configured to store and execute the same program instructions are included. Examples of program instructions may include high-level language code that can be executed by a computer using an interpreter as well as machine code such as produced by a compiler.
이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The above description is merely illustrative of the technical idea of the present invention, and those skilled in the art to which the present invention pertains may make various modifications and changes without departing from the essential characteristics of the present invention. Therefore, the embodiments disclosed in the present invention are not intended to limit the technical idea of the present invention but to describe the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. The protection scope of the present invention should be interpreted by the following claims, and all technical ideas within the equivalent scope should be interpreted as being included in the scope of the present invention.
1: 통신망2: 서버
3: 사용자 단말4: 클라우드 스토리지
31: OS32: VFS
33: 클라우드 파일 시스템34: 클라우드 파일 캐시
35: 미디어 스캔 캐시 DB331: 파일 요청 수신부
332: 이미지 조회부333: 압축 이미지 제공부
334: 원본 이미지 다운로드부335: 관리부
341: 원본 캐시342: 압축 캐시1: network 2: server
 3: user terminal 4: cloud storage
 31: OS 32: VFS
 33: Cloud File System 34: Cloud File Cache
 35: media scan cache DB 331: file request receiving unit
 332: Image lookup unit 333: Compressed image provider
 334: Download the original image 335: Management unit
 341: original cache 342: compressed cache
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| KR1020170175805AKR102042427B1 (en) | 2017-12-20 | 2017-12-20 | Apparatus and method for processing image file | 
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| KR1020170175805AKR102042427B1 (en) | 2017-12-20 | 2017-12-20 | Apparatus and method for processing image file | 
| Publication Number | Publication Date | 
|---|---|
| KR20190074447A KR20190074447A (en) | 2019-06-28 | 
| KR102042427B1true KR102042427B1 (en) | 2019-11-08 | 
| Application Number | Title | Priority Date | Filing Date | 
|---|---|---|---|
| KR1020170175805AActiveKR102042427B1 (en) | 2017-12-20 | 2017-12-20 | Apparatus and method for processing image file | 
| Country | Link | 
|---|---|
| KR (1) | KR102042427B1 (en) | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| KR101626117B1 (en)* | 2009-06-22 | 2016-05-31 | 삼성전자주식회사 | Client, brokerage sever and method for providing cloud storage | 
| KR101386161B1 (en)* | 2011-08-24 | 2014-04-17 | 주식회사 케이티 | Apparatus and method for managing compressed image file in cloud computing system | 
| KR101587631B1 (en)* | 2011-09-06 | 2016-01-25 | 한국전자통신연구원 | Local apparatus based on cloud and method for reading and storing file | 
| KR20140022148A (en)* | 2012-08-13 | 2014-02-24 | 삼성전자주식회사 | Method for displaying a contents in portable terminal connection using a cloud service | 
| KR101990089B1 (en) | 2012-10-16 | 2019-06-17 | 삼성전자주식회사 | Method for creating for thumbnail and image an electronic device thereof | 
| KR101848981B1 (en)* | 2015-11-06 | 2018-04-13 | 주식회사 엘지유플러스 | Apparatus and Method for executing Application installed in Cloud Storage | 
| KR101973236B1 (en)* | 2016-02-12 | 2019-04-26 | 주식회사 엘지유플러스 | Apparatus and Method for Media Scan based on Server | 
| Publication number | Publication date | 
|---|---|
| KR20190074447A (en) | 2019-06-28 | 
| Publication | Publication Date | Title | 
|---|---|---|
| CN111949605B (en) | Method, apparatus and computer program product for implementing a file system | |
| US11537556B2 (en) | Optimized content object storage service for large scale content | |
| CN107870728B (en) | Method and apparatus for moving data | |
| US10210191B2 (en) | Accelerated access to objects in an object store implemented utilizing a file storage system | |
| US10678413B2 (en) | Application for auto deletion of images | |
| US10353636B2 (en) | Write filter with dynamically expandable overlay | |
| JP2020525881A (en) | Application processing method, device and storage medium | |
| CN111241040A (en) | Information acquisition method and device, electronic equipment and computer storage medium | |
| CN113934692B (en) | File cleaning method, device, storage medium and equipment | |
| US10783073B2 (en) | Chronologically ordered out-of-place update key-value storage system | |
| KR101512296B1 (en) | File associated with application processing terminal and processing method of file associated with application | |
| US20200349186A1 (en) | Method, apparatus and computer program product for managing metadata of storage object | |
| US11627150B2 (en) | Proxy services for the secure upload of file system tree structures | |
| US11567697B2 (en) | Prioritization of stored data during a delete process in a virtualized storage system | |
| JP2016515258A (en) | File aggregation for optimized file operation | |
| KR102042427B1 (en) | Apparatus and method for processing image file | |
| US11200253B2 (en) | Providing instant and distributed access to a source blob via copy-on-read blobs and link blobs | |
| CN111625500A (en) | File snapshot method and device, electronic equipment and storage medium | |
| KR20230132602A (en) | Memory efficient software patching for updating applications on computing devices | |
| KR20170006960A (en) | Application Providing System using Cloud Virtual File, Cloud Server and Application Providing Method, Service Server and Service Method, Mobile and Application Practicing Method | |
| KR101973236B1 (en) | Apparatus and Method for Media Scan based on Server | |
| KR20170095172A (en) | Apparatus and Method for Media Scan based on Server | |
| KR100912126B1 (en) | Method for providing snapshot of fileset of object based file system | |
| CN112100153A (en) | File processing method and device, electronic equipment and readable storage medium | |
| US20220237000A1 (en) | Managing configurations of system services running in a cluster of hosts | 
| Date | Code | Title | Description | 
|---|---|---|---|
| A201 | Request for examination | ||
| PA0109 | Patent application | Patent event code:PA01091R01D Comment text:Patent Application Patent event date:20171220 | |
| PA0201 | Request for examination | ||
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection | Comment text:Notification of reason for refusal Patent event date:20190221 Patent event code:PE09021S01D | |
| PG1501 | Laying open of application | ||
| E701 | Decision to grant or registration of patent right | ||
| PE0701 | Decision of registration | Patent event code:PE07011S01D Comment text:Decision to Grant Registration Patent event date:20190828 | |
| GRNT | Written decision to grant | ||
| PR0701 | Registration of establishment | Comment text:Registration of Establishment Patent event date:20191104 Patent event code:PR07011E01D | |
| PR1002 | Payment of registration fee | Payment date:20191105 End annual number:3 Start annual number:1 | |
| PG1601 | Publication of registration | ||
| PR1001 | Payment of annual fee | Payment date:20220906 Start annual number:4 End annual number:6 |