KR101973236B1 - Apparatus and Method for Media Scan based on Server - Google Patents
Apparatus and Method for Media Scan based on Server Download PDFInfo
- Publication number
- KR101973236B1 KR101973236B1 KR1020160016069A KR20160016069A KR101973236B1 KR 101973236 B1 KR101973236 B1 KR 101973236B1 KR 1020160016069 A KR1020160016069 A KR 1020160016069A KR 20160016069 A KR20160016069 A KR 20160016069A KR 101973236 B1 KR101973236 B1 KR 101973236B1
- Authority
- KR
- South Korea
- Prior art keywords
- media
- information
- media scan
- server
- terminal
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/41—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
- G06F16/438—Presentation of query results
- G06F16/4387—Presentation of query results by the use of playlists
- G06F16/4393—Multimedia presentations, e.g. slide shows, multimedia albums
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/44—Browsing; Visualisation therefor
- G06F16/444—Spatial browsing, e.g. 2D maps, 3D or virtual spaces
Abstract
The present invention enables a media scan of a cloud storage operating in a terminal to operate on a server basis, manages media file information in a cloud storage from a server to a DB, and synchronizes the information with a terminal, To media-file information stored in an actual cloud storage.
Description
BACKGROUND OF THE
The Virtual File System (VFS) is an abstraction layer on the physical file system. The purpose of a VFS is to allow a client application (or application) to access multiple file systems in the same way. For example, using VFS, client applications can directly access local storage and storage on the network (or cloud storage), so they do not feel the difference between local and network. In addition, it can be accessed without feeling the difference of operating system (OS) such as Microsoft Windows, Mac OS, Unix, etc., and difference of file system.
VFS defines the interfaces and specifications of 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 new open versions. Or, if the operating system is operating in backward compatibility mode for the specification changes, each file system can be used in the new version of the operating system.
If a directory and a file have media (video, music, photo, etc.) information in a repository of a user terminal such as a smart phone, the media scan may convert the media information of the file into a DB, It is to obtain information of media from DB without reading list.
Since conventional Android-based smartphone terminals only support storage devices that can be used through a direct connection, such as an internal disk or an SD-type external memory disk, only when the storage is first mounted, After storing the media scan file in the media scan database and then updating the file storage / deletion / change information through the terminal, the media file information of the store and the information of the media scan database always match.
However, in a terminal using cloud storage as a virtual file system, it is possible to store / delete / change files in various devices capable of accessing the same cloud storage as well as the corresponding terminal in the cloud storage. Therefore, The media file information in the storage is inconsistent with each other.
That is, the following problems arise when the media scan is performed according to the above-described method for the Android smartphone terminal to which the cloud storage is applied as the virtual file system.
1. Mismatch of actual media list and DB may occur. A file changed at another terminal is not recognized before scanning, and the erased file is mistaken as still existing
2. Scanning runs in the background, which takes a considerable amount of time if the number of files is large and takes longer than for the local area for cloud storage.
3. Use excessive data to extract thumbnails from media files in cloud storage.
If cloud storage is used on only one terminal, the above problem may be resolved by one time. However, due to the nature of cloud storage, various devices can be accessed in the same storage area, and copy / deletion / Since the change information is not reflected in the media scan DB of the existing terminal, it is necessary to perform the media scan from time to time. Therefore, the above-mentioned problems always occur.
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems of the related art, and it is an object of the present invention to enable media scan of a cloud storage that has been directly operated inside a terminal to operate on a server basis, And to synchronize the information with the terminal, thereby matching the media scan DB information managed by the terminal with the media file information stored in the actual cloud storage.
According to an aspect of the present invention, there is provided an apparatus for scanning a server-based media according to an aspect of the present invention, the apparatus being included in a terminal, wherein, when a cloud storage mount (mount, mount, connect) The scan cache DB management unit updates the acquired media scan information to the media scan cache DB and compares the obtained media scan information with the information stored in the terminal media scan DB, It is checked whether there is media scan information (hereinafter referred to as new media scan information) that is not present or changed in the scan DB (hereinafter, referred to as new media scan information), and the update management unit checks whether the media scan related physical file To the server via the virtual file system, The scan cache DB management unit stores the information of the actual file stored in the media scan cache DB and then stores all information stored in the media scan cache DB in the terminal media scan DB And updating it.
The media scan information may include at least one of meta information about the media stored in the cloud storage and server side location information of the actual file, and the information of the stored actual file may include location information of the stored actual file And the actual file may include a thumbnail file.
According to another aspect of the present invention, there is provided an apparatus for scanning a server-based media according to another aspect of the present invention. The apparatus includes a server, and the media scan information obtained by scanning media stored in the cloud storage is stored in a server media scan DB A server media scanner for: A DB information delivery unit for providing media scan information stored in the server media scan DB to the terminal upon a request from the terminal; And a media scan related physical file corresponding to the media scan information (hereinafter, referred to as new media scan information) that is not present in the terminal or is changed from the provided media scan information is requested from the terminal, the corresponding physical file is stored in the cloud storage And downloading the downloaded data to the terminal.
The media scan information may include at least one of meta information about the stored media and location information of the actual file, and the actual file may include a thumbnail file.
According to another aspect of the present invention, there is provided a method for performing server-based media scanning in a terminal, the method comprising the steps of: (a) when a cloud storage mount (mount, Acquiring scan information through a virtual file system; (b) updating the obtained media scan information to the media scan cache DB, and comparing the acquired media scan information to information stored in the terminal media scan DB, (Hereinafter referred to as " new media scan information "); (c) requesting a media scan-related physical file corresponding to the new media scan information to the server through the virtual file system, and downloading and storing the physical file from the cloud storage through the server; And (d) updating information stored in the media scan cache DB to the terminal media scan DB after storing the stored information of the actual file in the media scan cache DB.
The media scan information may include at least one of meta information about the media stored in the cloud storage and server side location information of the actual file, and the information of the stored actual file may include location information of the stored actual file And the actual file may include a thumbnail file.
According to another aspect of the present invention, there is provided a method for performing server-based media scanning in a server, the method comprising: (a) scanning media stored in a cloud storage, Storing in a scan DB; (b) providing media scan information stored in the server media scan DB to the terminal upon a request from the terminal; And (c) if a media scan related physical file corresponding to media scan information (hereinafter referred to as new media scan information) that is not present in the terminal or changed from the provided media scan information is requested from the terminal, Acquiring from the cloud storage and downloading to the terminal.
The media scan information may include at least one of meta information about the stored media and location information of the actual file, and the actual file may include a thumbnail file.
According to another aspect of the present invention, there is provided a computer-readable recording medium having recorded thereon a program for causing a computer to perform a method for scanning the server-based media.
According to another aspect of the present invention, an application (program) stored in a computer-readable medium for providing a method for the server-based media scan in combination with hardware may be provided.
According to another aspect of the present invention, there is provided a computer program stored in a computer-readable medium for executing a method for the server-based media scan in a computer.
As described above, according to various aspects of the present invention, media file information in the cloud storage is managed by a DB in the server, and the information is synchronized with the terminal to store the media scan DB information managed by the terminal in the media file information It is possible to minimize data usage and minimize media scan time when accessing media in a terminal using cloud storage as a virtual file system and a device capable of accessing the same cloud storage.
1 is a configuration diagram of a system for server-based media scanning according to an embodiment of the present invention;
FIG. 2 is a block diagram of an apparatus for scanning a server-based media included in the server of FIG. 1 according to an embodiment of the present invention;
FIG. 3 is a configuration diagram of an apparatus for server-based media scanning included in the terminal of FIG. 1 according to an embodiment of the present invention;
4 is a flowchart of a method for server-based media scanning according to an embodiment of the present invention.
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the drawings, like reference numerals are used to denote like elements in the drawings, even if they are shown in different drawings. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail.
1 is a configuration diagram of a system for server-based media scanning according to an embodiment of the present invention. As shown in the drawing, a
The
The
The
The
According to the system of FIG. 1, the media scan of the
2 is a block diagram of an apparatus for a server-based media scan included in the
The server media scan DB 21 is a database for storing media scan results of the cloud storage, and is a database for storing media scan information for the media stored in the
In this embodiment, the media scan information may include meta information about the corresponding media and (storage) position information such as a thumbnail file as an actual file related to the corresponding media scan.
The
The DB
The
3 is a block diagram of an apparatus for scanning a server-based media included in the
The terminal media scan
The
The virtual file system (VFS) 33 is a virtual file system (VFS) 33 for storing the media file stored in the
The
The scan cache
The scan cache
The media
An example of the operation of the present invention described above will be described.
The
When the
FIG. 4 is a flowchart of a method for server-based media scanning according to an embodiment of the present invention, and is performed in the
First, the
The
The scan cache
The scan cache
The
Lastly, the
Meanwhile, according to the method for server-based media scanning described above, a computer-readable recording medium on which a program for causing the computer to execute the method can be implemented.
In addition, according to the above-described method for server-based media scanning, an application stored in a computer-readable recording medium can be implemented to execute the method in combination with hardware.
On the other hand, a computer program stored in a computer-readable recording medium for implementing the above-described method for server-based media scanning in a computer may be implemented.
For example, as described above, a method for server-based media scanning according to an exemplary embodiment of the present invention includes a computer-readable recording medium including program instructions for performing various computer-implemented operations or an application Or a computer program. The computer-readable recording medium may include a program command, a local data file, a local data structure, or the like, alone or in combination. The recording medium may be those specially designed and constructed for the embodiments of the present invention or may be those known to those skilled in the computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape, optical recording media such as CD-ROMs and DVDs, magneto-optical media such as floppy disks, and ROMs, And hardware devices specifically configured to store and execute the same program instructions. Examples of program instructions may include machine language code such as those generated by a compiler, as well as high-level language code that may be executed by a computer using an interpreter or the like.
The foregoing description is merely illustrative of the technical idea of the present invention, and various changes and modifications may be made by those skilled in the art without departing from the essential characteristics of the present invention. Therefore, the embodiments disclosed in the present invention are intended to illustrate rather than limit the scope of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. The scope of protection of the present invention should be construed according to the following claims, and all technical ideas within the scope of equivalents should be construed as falling within the scope of the present invention.
1: Network
2: Server
3:
4: Cloud storage
21: Server Media Scan DB
23: Server Media Scanner
25: DB information transfer unit
27: Download section
31: Terminal media scan DB
32: Terminal Media Scanner
33: Virtual File System (VFS)
34:
35: Stan cache DB manager
36: Media Scan Cache DB
Claims (17)
When the cloud storage is mounted, the update management unit scans the cloud storage at the server, acquires the stored media scan information through the virtual file system,
The scan cache DB management unit updates the acquired media scan information to the media scan cache DB and compares the obtained media scan information with the information stored in the terminal media scan DB to determine media scan information that is not present in the terminal media scan DB (Hereinafter referred to as new media scan information) is present,
Wherein the update manager requests a media scan-related physical file corresponding to the new media scan information to the server through the virtual file system, downloads the physical file from the cloud storage through the server,
The scan cache DB management unit stores information on the stored actual file in the media scan cache DB and updates all information stored in the media scan cache DB to the terminal media scan DB
For media-based scanning of a server.
Wherein the media scan information includes at least one of meta information about media stored in the cloud storage and server side location information of the actual file.
Wherein the information of the stored actual file includes information of the terminal side of the stored actual file.
Wherein the physical file comprises a thumbnail file.
A server media scanner for acquiring media scan information by scanning media stored in the cloud storage and storing the obtained media scan information in a server media scan DB;
A DB information delivery unit for providing media scan information stored in the server media scan DB to the terminal upon a request from the terminal; And
When a media scan-related physical file corresponding to the media scan information (i.e., new media scan information) that is not present or changed in the terminal is requested from the terminal, the corresponding physical file is acquired from the cloud storage A download unit for downloading to the terminal;
Based media scan.
Wherein the media scan information includes at least one of meta information about the stored media and location information of the actual file.
Wherein the physical file comprises a thumbnail file.
(a) acquiring media scan information stored in a server through a virtual file system when mounting a cloud storage;
When the cloud storage is mounted, the server scans the cloud storage to acquire the stored media scan information through the virtual file system,
(b) updating the obtained media scan information to the media scan cache DB, and comparing the acquired media scan information to information stored in the terminal media scan DB, (Hereinafter referred to as " new media scan information ");
(c) requesting a media scan-related physical file corresponding to the new media scan information to the server through the virtual file system, and downloading and storing the physical file from the cloud storage through the server; And
(d) updating information stored in the media scan cache DB to the terminal media scan DB after storing the stored information of the actual file in the media scan cache DB;
For a server-based media scan.
Wherein the media scan information includes at least one of meta information about media stored in the cloud storage and server side location information of the actual file.
Wherein the stored actual file information includes terminal side location information of the stored actual file.
Wherein the physical file comprises a thumbnail file.
(a) acquiring media scan information by scanning the media stored in the cloud storage and storing the acquired media scan information in the server media scan DB;
(b) providing media scan information stored in the server media scan DB to the terminal upon a request from the terminal; And
(c) if a media scan related physical file corresponding to the media scan information (i.e., new media scan information) that is not present in the terminal or changed from the provided media scan information is requested from the terminal, Obtaining from the cloud storage and downloading to the terminal;
For a server-based media scan.
Wherein the media scan information includes at least one of meta information about the stored media and location information of the actual file.
Wherein the physical file comprises a thumbnail file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160016069A KR101973236B1 (en) | 2016-02-12 | 2016-02-12 | Apparatus and Method for Media Scan based on Server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160016069A KR101973236B1 (en) | 2016-02-12 | 2016-02-12 | Apparatus and Method for Media Scan based on Server |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020170082854A Division KR20170095172A (en) | 2017-06-29 | 2017-06-29 | Apparatus and Method for Media Scan based on Server |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20170094845A KR20170094845A (en) | 2017-08-22 |
KR101973236B1 true KR101973236B1 (en) | 2019-04-26 |
Family
ID=59757916
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020160016069A KR101973236B1 (en) | 2016-02-12 | 2016-02-12 | Apparatus and Method for Media Scan based on Server |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101973236B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102042427B1 (en) * | 2017-12-20 | 2019-11-08 | 주식회사 엘지유플러스 | Apparatus and method for processing image file |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101384929B1 (en) * | 2013-02-22 | 2014-04-11 | 주식회사 팬택 | Media scanning method and media scanning device for storage medium of user terminal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101587631B1 (en) * | 2011-09-06 | 2016-01-25 | 한국전자통신연구원 | Local apparatus based on cloud and method for reading and storing file |
KR20130142437A (en) | 2012-06-19 | 2013-12-30 | 주식회사 하이소너스 | Method for managing tag information |
KR101876822B1 (en) * | 2012-09-18 | 2018-08-09 | 에스케이테크엑스 주식회사 | Method and apparatus for cloud service based on meta information |
KR102225414B1 (en) * | 2013-10-24 | 2021-03-08 | 에스케이플래닛 주식회사 | System and apparatus for managing contents based on cloud computing |
-
2016
- 2016-02-12 KR KR1020160016069A patent/KR101973236B1/en active IP Right Grant
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101384929B1 (en) * | 2013-02-22 | 2014-04-11 | 주식회사 팬택 | Media scanning method and media scanning device for storage medium of user terminal |
Also Published As
Publication number | Publication date |
---|---|
KR20170094845A (en) | 2017-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20240086375A1 (en) | Flexible Permission Management Framework For Cloud Attached File Systems | |
JP6621543B2 (en) | Automatic update of hybrid applications | |
US10951702B2 (en) | Synchronized content library | |
US8296338B2 (en) | Method for a cloud-based meta-file system to virtually unify remote and local files across a range of devices' local file systems | |
US11240292B2 (en) | Interfacing with remote content management systems | |
CA2829221C (en) | Local storage linked to networked storage system | |
US20150269203A1 (en) | Accelerated access to objects in an object store implemented utilizing a file storage system | |
US20100235829A1 (en) | Programming model for installing and distributing occasionally connected applications | |
CN110457385B (en) | Materialized database objects in a multi-tenant environment | |
KR101512296B1 (en) | File associated with application processing terminal and processing method of file associated with application | |
US11507541B2 (en) | Method to model server-client sync conflicts using version trees | |
KR101973236B1 (en) | Apparatus and Method for Media Scan based on Server | |
KR20170095172A (en) | Apparatus and Method for Media Scan based on Server | |
CN106789198B (en) | Computing node management method and system | |
US9536244B1 (en) | Managed content delivery via web services | |
CN114116651A (en) | System and method for supporting multi-protocol unified management user to access files | |
US11138075B2 (en) | Method, apparatus, and computer program product for generating searchable index for a backup of a virtual machine | |
KR100912126B1 (en) | Method for providing snapshot of fileset of object based file system | |
KR102042427B1 (en) | Apparatus and method for processing image file | |
US11294892B2 (en) | Virtual archiving of database records | |
US20100287257A1 (en) | Recording medium storing a relay program, relay apparatus, and relay method | |
CN115509436A (en) | Data storage method and device | |
CN112181480A (en) | Authority management method and device of version management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application | ||
A107 | Divisional application of patent | ||
J201 | Request for trial against refusal decision | ||
J301 | Trial decision |
Free format text: TRIAL NUMBER: 2017101003174; TRIAL DECISION FOR APPEAL AGAINST DECISION TO DECLINE REFUSAL REQUESTED 20170629 Effective date: 20190228 |
|
S901 | Examination by remand of revocation | ||
GRNO | Decision to grant (after opposition) | ||
GRNT | Written decision to grant |