KR20100067976A - Method for synchronizing contents files stored separately - Google Patents
Method for synchronizing contents files stored separately Download PDFInfo
- Publication number
- KR20100067976A KR20100067976A KR1020080126601A KR20080126601A KR20100067976A KR 20100067976 A KR20100067976 A KR 20100067976A KR 1020080126601 A KR1020080126601 A KR 1020080126601A KR 20080126601 A KR20080126601 A KR 20080126601A KR 20100067976 A KR20100067976 A KR 20100067976A
- Authority
- KR
- South Korea
- Prior art keywords
- file
- content
- synchronization
- change
- content file
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
- G06F15/163—Interprocessor communication
- G06F15/173—Interprocessor communication using an interconnection network, e.g. matrix, shuffle, pyramid, star, snowflake
- G06F15/17306—Intercommunication techniques
- G06F15/17325—Synchronisation; Hardware support therefor
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
본 발명은 분산 저장된 컨텐츠 파일의 동기화 방법에 관한 것으로, 더욱 상세하게는 동일 컨텐츠 파일이 복수의 시스템(사용자 단말, 서비스 서버 등)에서 분산 관리되고 있는 경우, 어느 하나의 시스템에서 컨텐츠 파일에 변동이 있으면, 다른 시스템에서도 신속하게 변경 사항을 반영하여 일치시킬 수 있는, 분산 저장된 컨텐츠 파일의 동기화 방법에 관한 것이다.The present invention relates to a method for synchronizing distributed and stored content files, and more particularly, when the same content file is distributed and managed in a plurality of systems (user terminal, service server, etc.), the change in the content file in any one system is limited. If so, it relates to a method for synchronizing distributed and stored content files that can be quickly reflected and matched in other systems.
종래의 인터넷상에서 파일 전송을 위한 파일 전송 프로토콜(FTP)은 사용자의 명령에 의해 단순하게 파일을 송신하거나 수신하는 기능만을 수행하였다. 이 경우, 파일은 2개의 서로 다른 파일로 복제가 되어, 하나는 송신 측에 저장되어 있고, 다른 하나는 수신 측에 전송되어 저장되게 된다.In the conventional Internet, the file transfer protocol (FTP) for file transfer simply performs a function of transmitting or receiving a file by a user's command. In this case, the file is duplicated into two different files, one is stored on the transmitting side, and the other is transmitted and stored on the receiving side.
복제가 된 후, 이 두 파일은 서로 동일한 형상을 하고 있는 파일이지만, 실제 물리적으로는 전혀 관련이 없는 파일이다. 따라서, 두 파일 중 어느 한 개가 변 경되더라도, 자동으로 상대편 파일이 변경되지는 않는다. 그러나, 일반적인 사람들은 상기 두 개의 파일을 동일한 데이터로 생각하는 경향이 있기 때문에, 이들을 동기화시킬 필요성이 존재하게 되었다.After copying, these two files have the same shape, but are not really physically related. Therefore, even if one of the two files is changed, the other file is not automatically changed. However, since the average person tends to think of the two files as the same data, there is a need to synchronize them.
현재의 동기화 기술로는, 상기와 같이 복사(복제)되어 전송된 경우가 아닌 물리적으로 서로 떨어져 있는 복수의 파일(데이터)을 동기화하는 방안이 있는데, 이와 관련해서는 이기종 시스템 간의 상호 운용성을 보장하는 데이터 동기화 표준에 해당하는 SyncML(Synchronization Markup Language)이 대표적이다. 이러한 동기화 솔루션은 데이터 충돌(Collusion) 방안과 같은 동기화에 초점이 맞추어져 있으며, 동기화를 이용한 응용 과정은 별도로 구현하여야 한다.Current synchronization techniques include a method of synchronizing a plurality of files (data) that are physically separated from each other, rather than being copied (replicated) as described above. In this regard, data that guarantees interoperability between heterogeneous systems Synchronization Markup Language (SyncML), a synchronization standard, is a typical example. This synchronization solution is focused on synchronization, such as data collision, and the application process using synchronization must be implemented separately.
이와 같은 종래 방식들은 각기 단일한 기능을 수행하는데에는 문제가 없으나, 대용량의 다수의 컨텐츠 파일을 처리하는데 있어서는 컨텐츠 제작자에게 사용의 불편과 더불어 실수를 유발시킬 수 있다는 문제점이 있다.Such conventional methods do not have a problem in performing a single function, respectively, but there is a problem in that a content producer may cause a mistake and inconvenience in handling a large number of content files.
또한, 인터넷을 통하여 서비스용 서버에 대용량 파일을 업로드/다운로드 할 경우, 과부하로 인해 속도가 느려지게 되기 때문에 컨텐츠 제작자의 입장에서는 컨텐츠 파일을 추가/수정 등을 하는데 어려움이 있으며, 또한 컨텐츠 파일의 수정/추가의 경우 버전 관리가 제대로 이루어지지 않는다면 동일한 컨텐츠 파일이 복수 개 등록되거나 원본 손실/훼손되는 상황이 발생할 수 있다는 문제점이 있다.In addition, when uploading / downloading a large file to a service server through the Internet, the speed is slowed down due to overload. Therefore, it is difficult for a content producer to add / modify a content file, and to modify a content file. In the case of / addition, if the version management is not properly performed, there may be a situation in which a plurality of identical content files are registered or original loss / damage may occur.
상기와 같은 종래기술의 문제점을 해결하고, 인터넷상에서 서로 다른 시스템을 통하여 분산 관리되는 컨텐츠 파일을 신속/용이하게 동기화시킬 수 있는, 분산 저장된 컨텐츠 파일의 동기화 방법을 제공하는데 그 목적이 있다.It is an object of the present invention to provide a method for synchronizing distributed and stored content files, which can solve the problems of the related art as described above, and can quickly and easily synchronize content files distributed and managed through different systems on the Internet.
본 발명의 목적들은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있으며, 본 발명의 실시예에 의해 보다 분명하게 알게 될 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.The objects of the present invention are not limited to the above-mentioned objects, and other objects and advantages of the present invention which are not mentioned can be understood by the following description, and will be more clearly understood by the embodiments of the present invention. Also, it will be readily appreciated that the objects and advantages of the present invention may be realized by the means and combinations thereof indicated in the claims.
본 발명은 상기와 같은 목적을 해결하기 위하여, 컨텐츠 제작자 단말에 적용되는 컨텐츠 파일 동기화 방법에 있어서, 파일 동기화 서버와 분산 관리 대상이 되는 컨텐츠 파일의 변경 여부를 감지하는 변경 감지 단계; 상기 컨텐츠 파일의 변경이 감지되면, 상기 파일 동기화 서버에게 상기 컨텐츠 파일에 대한 메타데이터를 요청하는 메타데이터 요청 단계; 및 상기 파일 동기화 서버로부터 수신한 메타데이터와 상기 컨텐츠 제작자 단말이 관리하는 메타데이터를 비교하여 파일 동기화가 필요하면, 상기 컨텐츠 파일에 대한 파일 변경 정보를 상기 동기화 서버에 전송하면서 동기화를 요청하는 동기화 요청 단계를 포함한다.In order to solve the above object, the present invention provides a content file synchronization method applied to a content producer terminal, comprising: a change detection step of detecting whether a file synchronization server and a content file to be distributed management target are changed; A metadata request step of requesting metadata of the content file from the file synchronization server when a change of the content file is detected; And comparing the metadata received from the file synchronization server with metadata managed by the content producer terminal to synchronize the file, and requesting synchronization while transmitting file change information about the content file to the synchronization server. Steps.
또한, 본 발명은, 컨텐츠 제작자 단말과의 연동을 통하여 컨텐츠 파일의 동기화를 수행하는 파일 동기화 서버에 적용되는 컨텐츠 파일 동기화 방법에 있어서,In addition, the present invention, in the content file synchronization method applied to the file synchronization server for performing the synchronization of the content file through the linkage with the content producer terminal,
상기 컨텐츠 제작자 단말로부터 요청된 컨텐츠 파일에 대한 메타데이터를 제공하는 단계; 상기 컨텐츠 제작자 단말로부터 수신한 파일 변경 정보를 상기 컨텐츠 파일에 반영하는 제1 동기화 단계; 및 소정의 동기화 시점에 상기 컨텐츠 제작자 단말로부터 수신한 컨텐츠 파일 변경 내용을 수신하여 상기 컨텐츠 파일에 반영하는 제2 동기화 단계를 포함한다.Providing metadata about a content file requested from the content producer terminal; A first synchronization step of reflecting the file change information received from the content producer terminal in the content file; And a second synchronization step of receiving a content file change received from the content producer terminal at a predetermined synchronization time point and reflecting the change in the content file.
상기와 같은 본 발명은, 인터넷을 통하여 동일한 컨텐츠 파일이 제작자 단말과 웹상의 컨텐츠 서버에서 분산되어 저장/관리되는 경우, 분산관리되는 컨텐츠 파일을 신속/용이하게 동기화시킬 수 있는 효과가 있다.As described above, when the same content file is distributed and stored / managed by the producer terminal and a content server on the web through the Internet, the distributed content file can be quickly and easily synchronized.
또한, 본 발명은, 컨텐츠 제작자가 인터넷상의 컨텐츠 서버(서비스 서버)에 고화질/대용량 멀티미디어 컨텐츠 파일을 등록(업로드)한 후, 효과적이고 체계적으로 사후적 관리를 수행할 수 있는 효과가 있다.In addition, the present invention has the effect that the content producer can register (upload) the high-definition / large-capacity multimedia content file to a content server (service server) on the Internet, and then effectively and systematically perform post management.
또한, 본 발명은 데이터 분산 동기화 기술을 바탕으로 개발된 백그라운드 파일 전송 시스템(Background File Transfer System)을 사용하여 아무리 큰 대용량 파일도 즉시 업로드/다운로드 된 것으로 처리함으로써 제작자의 대기시간을 줄이는 효과가 있다.In addition, the present invention has the effect of reducing the waiting time of the manufacturer by processing the large sized files as immediately uploaded / downloaded using a background file transfer system developed based on the data distribution synchronization technology.
또한, 본 발명은, 컨텐츠 제작자가 여러 번 컨텐츠 파일이 변경되는 경우에 도 변경 부분만을 판독하여 전송함으로써 전송 시간과 비용을 줄일 수 있는 효과가 있다.In addition, the present invention has the effect of reducing the transmission time and cost by reading and transmitting only the changed part even when the content file is changed many times by the content producer.
또한, 본 발명은, 컨텐츠 제작자 단말의 내부에서도 파일버전을 관리함으로써, 최신 파일, 원본 파일 등과 같은 중요한 파일을 체계적으로 관리할 수 있으며, 이는 제작자의 실수나 이중 작업을 방지할 수 있는 효과도 있다.In addition, the present invention, by managing the file version in the content producer terminal, it is possible to systematically manage important files such as the latest file, the original file, etc. This can also prevent the mistakes or duplication of work of the producer .
또한, 본 발명은, 인터넷을 통하여 대용량 데이터를 전송하는 경우에 활용 가능하고, 인터넷 서비스를 위한 컨텐츠 파일 업로드에 활용될 수 있고, 다수의 대용량 개인 자료를 서버에 보관하고 관리하는 시스템에도 사용할 수 있으며, P2P 시스템에서 파일을 등록하고 사용하는 경우에도 활용할 수 있는 효과가 있다.In addition, the present invention can be used when transmitting a large amount of data through the Internet, can be used for uploading content files for Internet services, can be used in a system for storing and managing a large number of large personal data on the server In addition, there is an effect that can be utilized when registering and using files in a P2P system.
또한, 본 발명은 인터넷상에서 개인 또는 사업자가 고화질의 대용량 멀티미디어 컨텐츠 파일을 제작한 후에 인터넷 서비스를 위해 출판(Publishing)하는 경우에도 활용할 수 있는 효과가 있다.In addition, the present invention has an effect that can be utilized even when an individual or a business operator publishes for an Internet service after producing a high-quality large-capacity multimedia content file on the Internet.
본 발명은 인터넷상에서 컨텐츠 제작자가 자신이 제작한 다수의 대용량 컨텐츠 파일을 등록하고 관리하는데 있어서 동기화 기술 기반의 버전 관리를 통하여 제작자의 컨텐츠 파일 관리를 용이하게 한다.The present invention facilitates the management of the content file of the producer through the version management based on the synchronization technology in registering and managing a large number of content files produced by the content creator on the Internet.
상술한 목적, 특징 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이며, 그에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 또 한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에 그 상세한 설명을 생략하기로 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명하기로 한다.The foregoing and other objects, features and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings, in which: There will be. In addition, in describing the present invention, when it is determined that the detailed description of the known technology related to the present invention may unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted. Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명에 따른 컨텐츠 파일 동기화 시스템의 일실시예 구성도이다.1 is a configuration diagram of an embodiment of a content file synchronization system according to the present invention.
본 발명에 따른 컨텐츠파일 동기화 시스템은 도 1에 도시된 바와 같이, 컨텐츠 제작자 단말(10) 및 파일 동기화 서버(12)를 포함하여 이루어진다.As shown in FIG. 1, the content file synchronization system according to the present invention includes a
컨텐츠파일 동기화 시스템은 컨텐츠 제작자 단말(10) 내의 운영체계 파일시스템의 동기화용 디렉터리에 있는 컨텐츠 파일을 원격지에 있는 파일 동기화 서버(12) 내에 있는 제작자별 동기화 디렉터리에 있는 해당 컨텐츠 파일과 일치시키는 동기화 기능을 수행한다. The content file synchronization system synchronizes a content file in a synchronization directory of an operating system file system in the
즉, 컨텐츠파일 동기화 시스템은 동일한 컨텐츠 파일이 컨텐츠 제작자 단말(10)과 파일 동기화 서버(12)에 분산되어 저장되어 있는 경우, 어느 쪽에서 파일 변경이 발생하더라도 그 변경 사항을 나머지 파일에 반영함으로써, 분산 관리되는 복수의 파일에 대한 메타데이터 및 실질적인 파일 내용이 동일하게 되도록 동기화 과정을 수행한다.That is, in the case where the same content file is distributed and stored in the
도 2는 본 발명에 따른 도 1의 파일동기화 장치(클라이언트)의 일실시예 상세구성도이다. 이하, 파일 동기화 서버와 파일동기화 장치(클라이언트)에서 수행되는 동기화 방법에 대해서도 함께 설명하기로 한다.Figure 2 is a detailed configuration diagram of one embodiment of the file synchronization device (client) of Figure 1 according to the present invention. Hereinafter, the synchronization method performed by the file synchronization server and the file synchronization device (client) will be described together.
파일동기화 장치(클라이언트)(210)는 도 2에 도시된 바와 같이, 제작자용 파 일 관리부(211), 파일상태 관리부(212), 파일버전 관리부(213), 메타데이터 생성부(214), 파일 동기화부(215), 백그라운드 파일전송부(216)를 포함하여 이루어진다. As shown in FIG. 2, the file synchronization device (client) 210 includes a
제작자용 파일관리부(211)는 컨텐츠 파일의 등록, 변경, 삭제, 업로드/다운로드, 파일 버전 등의 정보를 관리하는 기능을 제공한다. The
파일상태 관리부(212)는 동기화용 디렉토리(200) 내에 있는 컨텐츠 파일의 변경 여부를 감지하여 통보하는 기능을 수행한다. The
파일버전 관리부(213)는 사용자가 지정한 컨텐츠 파일을 다른 여러 가지 변경된 파일들과 묶어서, 수정일자, 수정버전 등의 버전형태로 관리한다. The file
메타데이터 생성부(214)는 실제 파일에 대한 정보(파일 정보로서, 예를 들면, 파일명, 파일 크기, 작성일자, 사용일자, 저장 위치 등)와 파일 분산 정보, 동기화 정보를 기록하는 메타데이터를 생성/변경한다. The metadata generating
파일 동기화부(215)는 원격지에 있는 파일 동기화 서버(12)와의 통신을 통해 메타데이터를 교환하고 비교하여 동기화 처리 과정을 수행한다. The file synchronizer 215 exchanges and compares metadata by communicating with a
백그라운드 파일전송부(216)는 사용자(컨텐츠 제작자)가 자신의 단말(10)을 사용하지 않는 시간이나 사용자의 요청에 의해, 메타데이터에 따라 백그라운드에서 파일을 전송한다.The background
제작자가 제작자용 파일관리부(211)를 통하여 전송 대상이 되는 컨텐츠 파일을 컴퓨터 운영체계의 파일시스템의 동기화용 디렉터리(200)에 넣으면, 파일상태 관리부(212)는 파일이 "추가"된 것을 자동으로 인식하여 파일버전 관리부(213)에게 문의하여 새로운 파일인지, 기존 파일인지 확인한다. When the producer puts a content file to be transmitted through the producer
만약, 새로운 파일인 경우에는, 메타데이터 생성부(214)가 컨텐츠 파일에 대한 메타데이터를 생성한다. 여기서, 메타데이터에는 파일정보 메타데이터, 동기화정보 메타데이터, 사용정보 메타데이터를 포함한다. If the file is a new file, the
메타데이터가 생성된 컨텐츠 파일은 파일 동기화부(215)에 의해 동기화 대기열(Queue)에 등록되며, 동기화정보 메타데이터에 동기화 상태를 기록한다. 이후, 동기화 가능한 시점에 순차적으로 동기화 처리된다. 여기서, 동기화 주기는 제작자용 파일관리부(211)에서 설정한 동기화 주기이며, 이러한 동기화 주기에 의해 동기화가 이루어진다. The content file in which the metadata is generated is registered in the synchronization queue by the
더욱 상세하게, 동기화주기는 기본(Default) 동기화 주기, 전체 동기화 주기, 파일별 동기화 주기로 세분화된다. 동기화 시점은 동기화설정 시간 간격 형태, 컴퓨터 사용 휴무시 작동 형태, 사용자 수동 작동 형태에 따라 정해지는데, 이는 사전에 설정된다.In more detail, the synchronization period is subdivided into a default synchronization period, an entire synchronization period, and a file-by-file synchronization period. The timing of synchronization is determined according to the type of synchronization setup time interval, the type of non-use of the computer and the type of user manual operation, which is set in advance.
백그라운드 파일전송부(216) 내부에 있는 타이머는 상기 설정된 동기화주기에 의해 작동하여 동기화 대기열에 있는 동기화정보를 바탕으로 파일(새로이 추가된 파일)을 전송한다. 즉, 백그라운드 파일전송부(216)는 동기화 주기에 따라 작동하여, 파일 동기화부(215) 내의 동기화 대기열(Queue)에 있는 추가 파일(새로이 추가된 파일)을 전송한다.The timer inside the
한편, 제작자가 동기화용 디렉토리(200)에서 저장/관리되는 기존 파일을 변 경한 경우(버전 업된 파일을 동기화용 디렉토리(200)에 추가한 경우), 파일상태 관리부(212)가 파일이 변경된 것을 자동으로 인식하여 파일버전 관리부(213)에 알리면, 파일버전 관리부(213)는 해당 파일의 메타데이터를 조회한 후 파일정보 메타데이터를 파일 동기화부(215)에 넘긴다.On the other hand, when the producer changes the existing file stored / managed in the synchronization directory 200 (when a version upgraded file is added to the synchronization directory 200), the file
그러면, 파일 동기화부(215)는 파일 동기화 서버(12)에게 동일 파일에 대한 메타데이터를 요구하여 수신해서, 두 메타데이터(파일버전 관리부로부터 받은 파일정보 메타데이터와 파일동기화 서버로부터 받은 메타데이터)를 비교하여 파일의 변경 여부를 확인한다. Then, the
여기서, 파일 변경 확인 과정을 살펴보면, 파일의 정보, 속성을 포함하여 파일 내용을 바이트 단위로 점검하고 그 변경 내용을 기록한다. 파일 내용 점검 방식은 파일을 점검 단위(기본 4KB이나, 실시예에 따라 변경 가능함)로 해쉬값을 생성하고 점검 단위 구간별로 해쉬값을 비교한다. Here, in the file change checking process, the file contents including the information and attributes of the file are checked in byte units and the changes are recorded. The file content checking method generates a hash value in a file checking unit (basically 4 KB, but can be changed according to an embodiment), and compares the hash value for each checking unit section.
점검단위가 작을수록 해쉬값 배열 크기가 커지며, 점검단위가 클수록 해쉬값 배열은 작아진다. 작은 파일이 많을 경우 점검 단위를 작은 크기로 설정하고, 큰 파일이 많을 경우 점검 단위를 큰 크기로 설정한다. 점검단위의 크기에 따라 전송율과 비교율에 영향이 있을 수 있으며, 이때, 일반적으로 전송율과 비교율은 반비례한다. The smaller the check unit, the larger the hash value array size. The larger the check unit, the smaller the hash value array size. If there are many small files, set the check unit to a small size. If there are many large files, set the check unit to a large size. Depending on the size of the inspection unit, the transmission rate and the comparison rate may be affected, and in general, the transmission rate and the comparison rate are inversely proportional.
두 개의 파일을 비교한 경우, 만약 둘 중 어느 한쪽에서만 변경이 있으면, 최신 파일을 전송하는 방향을 결정하고, 동기화정보 메타데이터에 동기화 상태를 기록한다. 이후, 동기화 가능한 시점에 순차적으로 동기화 처리가 이루어진다. 이 때, 메타데이터를 비교하면서 변경된 부분 정보를 추출하고, 실제 전송시에는 변경된 파일부분만을 전달한다. 이렇게 함으로써 대용량 파일의 전송을 획기적으로 단축할 수 있다. When comparing two files, if there is a change in only one of them, the direction of transferring the latest file is determined, and the synchronization status is recorded in the synchronization information metadata. Thereafter, synchronization processing is performed sequentially at the time points at which synchronization is possible. At this time, the changed part information is extracted while comparing the metadata, and only the changed file part is transmitted during the actual transmission. This can dramatically reduce the transfer of large files.
만약, 둘 다 변경된 경우에는, 변경 충돌 결정 방안에 따라 처리한다. 여기서, 변경 충돌 결정 방안(방식)은 최신 변경날짜 우선, 지정 디바이스 우선, 사용자확인 등이 있으며, 이러한 결정 방식은 제작자용 파일관리부(211)를 통하여 사용자(제작자)가 설정할 수 있다.If both are changed, the change is determined according to the change collision determination method. Here, the change collision determination method (method) includes the latest change date first, the designated device first, the user confirmation, and the like, and the determination method may be set by the user (manufacturer) through the
한편, 제작자가 동기화용 디렉터리(200)에서 특정 파일을 "삭제"하면, 파일 동기화 서버(12)에서도 파일이 삭제되는데 그 과정을 설명하면, 다음과 같다.On the other hand, if the producer "delete" a particular file in the
제작자가 파일을 삭제하면, 파일상태 관리부(212)는 파일이 변경된 것을 자동으로 인식하고, 파일버전 관리부(213)는 파일의 메타데이터를 조회한 후 파일정보 메타데이터를 파일 동기화부(215)에 넘긴다. 그러면, 파일 동기화부(215)는 파일 동기화 서버(12)에게 해당 파일에 대한 삭제를 요청한다. When the creator deletes the file, the
파일 동기화부(215)의 요청에 따라, 파일 동기화 서버(12)는 삭제 요청에 대한 처리를 수행한 후 그 결과를 돌려준다. 여기서, 처리 결과는 삭제완료, 삭제불가, 삭제중, 삭제보류, 파일 없음, 삭제 권한없음, 원인불가오류 등이 된다.In response to the request of the
한편, 파일 동기화 서버(12)에 저장하고 있는 파일에 대한 변경사항이 발생한 경우에 대하여 설명하면, 다음과 같다.On the other hand, a case where a change to the file stored in the
컨텐츠 제작자 단말(10)의 파일 동기화부(215)는 주기적으로 파일 동기화 서버(12)에게 파일변경 확인을 요청한다. 여기서, 파일변경확인요청 주기는 제작자용 파일관리부(211)를 통하여 제작자가 설정할 수 있다. The
파일변경확인 요청에 대해, 파일 동기화 서버(12)는 변경사항이 있는 경우 변경목록을 파일 동기화부(215)에게 전송해 준다.In response to the file change confirmation request, the
파일 동기화부(215)는 순차적으로 변경목록 내의 변경사항을 처리하는데, 여기서, 변경사항에는 크게 파일 추가, 파일 변경, 파일 삭제 형태가 있다.The
첫째, 파일 '추가'가 필요한 경우, 즉,파일 동기화 서버(12)에는 특정 파일이 있는데 컨텐츠 제작자 단말(10)에는 없는 경우, 파일 동기화부(215)가 변경 내용을 가지고 메타데이터 생성부(214)에 의뢰하면, 메타데이터 생성부(214)는 파일 동기화 서버(12)가 넘겨 준 메타데이터를 기준으로 파일명 오류 여부, 파일 생성 가능 여부, 파일 저장 공간의 충분 여부 등의 메타데이터의 정합성 여부를 검사하고, 문제가 없으면 메타데이터를 생성한다. 그리고 동기화정보 메타데이터에 "파일수신 동기화상태"(동기화를 위해서는 파일 수신이 필요한 상태라는 의미임)로 기록한다. 이후, 파일 전송 시점에 순차적으로 파일을 수신 처리한다. First, when a file 'addition' is necessary, that is, if there is a specific file in the
둘째, 파일 '변경'이 필요한 경우, 파일 동기화부(215)는 파일버전 관리부(213)에게 메타데이터를 조회한 후, 그 조회 결과를 파일 동기화 서버(12)에서 제공한 메타데이터와 비교하여 변경 여부를 확인한다.Second, when a file 'change' is required, the
파일 동기화 장치(210)와 파일 동기화 서버(12) 중 어느 한쪽에서만 변경된 경우, 최신 파일을 전송하는 것으로 처리 방향을 결정하고 동기화정보 메타데이터에 동기화 상태(동기화가 필요한 상태)로 기록한다. 그러면, 추후 동기화 가능한 시점에 순차적으로 동기화 처리가 수행된다. 이때, 메타데이터를 비교하면서 변경 된 부분 정보를 추출하고 실제 전송시에는 변경된 파일 부분만이 전달된다. 이렇게 함으로써 대용량 파일의 수신 용량과 수신 시간을 획기적으로 단축할 수 있다. When only one of the
만약, 파일 동기화 장치(210)와 파일 동기화 서버(12) 모두에서 변경이 된 경우에는, 변경충돌 결정 방안(정책)에 따라 처리하고, 동기화정보 메타데이터에 파일수신 동기화상태로 기록한다. 그러면, 추후 동기화 가능한 시점에 순차적으로 동기화 처리된다. If changes are made in both the
셋째, 파일 '삭제'가 필요한 경우, 파일 동기화부(215)는 파일버전 관리부(213)에게는 메타데이터를 조회 요청하고 제작자용 파일관리부(211)에게는 파일의 존재 여부를 확인 요청하여 삭제 대상 파일이 존재함이 확인되면 삭제한다. 만약, 제작자가 파일 동기화 서버(12)의 삭제 요청시, 로컬 파일 삭제를 원하지 않을 경우 사전에 삭제방지기능을 활성화시켜 놓으면 삭제가 불가능하게 된다.Third, when the file 'deletion' is necessary, the
도 3은 본 발명에 따른 컨텐츠 제작자 단말에서의 컨텐츠 파일 동기화 방법에 대한 일실시예 흐름도로서, 더욱 정확하게는 파일 동기화 장치(210)에서 수행되는 방법을 나타낸다. 3 is a flowchart illustrating a method of synchronizing a content file in a content producer terminal according to the present invention, and more specifically, illustrates a method performed by the
컨텐츠 제작자 단말(10)의 파일 동기화 장치(210)가, 파일 동기화 서버(12)와 분산 관리하는 컨텐츠 파일에 대하여 변경 여부를 감지한다(300). 예를 들어, 동기화용 디렉터리(200)에 임의의 컨텐츠 파일(F')이 추가되는 경우, 파일 동기화 장치(210)는 이미 저장/관리되고 있는 컨텐츠 파일의 메타데이터(예를 들면, 파일 ID, 파일명, 생성/수정 일자, 파일 크기 등)와 비교하는 과정을 통하여 추가된 컨텐츠 파일에 대한 원본 파일이 있는지, 아니면 새로운 파일인지를 확인한다. 이러 한 과정을 통하여 컨텐츠 파일의 변경 여부를 감지하는 것이다.The
파일 동기화 장치(210)는 파일변경이 감지되면, 즉, 이미 동일한 파일 ID의 컨텐츠 파일(F)이 있는 것으로 감지되면, 파일 동기화 서버(12)에게 상기 변경이 감지된 컨텐츠 파일(F)에 대한 메타데이터를 요구한다(302). When the
파일 동기화 장치(210)는 자신이 관리하는 메타데이터와 파일 동기화 서버(12)로부터 받은 메타데이터를 비교하여(304) 파일 동기화 필요성을 판단한다.The
판단 결과, 파일 동기화가 필요한 경우, 예를 들어, 동기화용 디렉터리(200)에 삽입했던 컨텐츠 파일(F')이 파일 동기화 서버(12)에 저장된 컨텐츠 파일보다 최신의 파일인 경우, 제1 동기화 시점에 "304"에서의 메타데이터 비교 과정에서 생성된 메타데이터의 변경 정보(파일 변경 정보)를 파일 동기화 서버(12)에 전송하면서 동기화를 요청한다(308).As a result of determination, when file synchronization is required, for example, when the content file F 'inserted into the
그러면, 파일 동기화 서버(12)는 컨텐츠 제작자 단말(10)로부터 수신한 파일 변경 정보에 기초하여 해당 컨텐츠 파일에 대한 메타데이터를 변경한다. 동기화용 디렉터리(200)에 추가된 컨텐츠 파일(F')에 대한 새로운 메타데이터 전체를 파일 동기화 서버(12)에 전송하거나, 또는 메타데이터 중 변경된 부분에 대한 정보만 파일 동기화 서버(12)에 전송할 수 있다. 여기서, 파일 변경 정보는 위의 두 경우에 컨텐츠 파일의 변경과 관련하여 전송된 변경 정보를 포괄하는 광의의 의미로 사용한다.Then, the
이후, 컨텐츠 제작자 단말(10)의 파일 동기화 장치(210)는 제2 동기화 시점에, 새로이 추가된 컨텐츠 파일(수정본 파일)의 전부 또는 변경 부분만을 백그라운 드 파일 전송 방법에 따라 파일 동기화 서버(12)에 전송한다(310). 그러면, 파일 동기화 서버(12)는 해당 컨텐츠 파일의 변경 내용(실질적인 컨텐츠 변경 내용)을 기존에 저장/관리하고 있는 컨텐츠 파일(동기화 대상 파일)에 반영한다.Subsequently, the
한편, 상기 "308"의 동기화 요청 단계는, 상기 파일 변경 감지단계(300)에서 동기화용 디렉터리에 추가된 컨텐츠 파일이 새로운 파일이면, 해당 메타데이터를 생성하여 파일 동기화 서버(12)에게 전송하면서 동기화를 요청한다.On the other hand, the synchronization request step of "308", if the content file added to the directory for synchronization in the file
또한, 상기 "308" 및 "310"의 동기화 요청 단계는 상기 파일 변경 감지단계(300)에서 컨텐츠 파일의 삭제가 감지되면, 해당 메타데이터를 삭제한 후, 파일 동기화 서버(12)에게 해당 컨텐츠 파일의 삭제를 요청한다.In addition, the synchronization request step of "308" and "310", if the deletion of the content file is detected in the file
도 4는 본 발명에 따른 파일 컨텐츠 서버에서의 컨텐츠 파일 동기화 방법에 대한 일실시예 흐름도로서, 컨텐츠 제작자 단말과의 연동을 통하여 컨텐츠 파일의 동기화를 수행하는 과정을 나타낸다.4 is a flowchart illustrating a method of synchronizing a content file in a file content server according to the present invention, and illustrating a process of synchronizing a content file through interworking with a content producer terminal.
파일 컨텐츠 서버(12)가 컨텐츠 제작자 단말(10)로부터 컨텐츠 파일에 대한 메타데이터를 요청받으면(400), 상기 요청된 메타데이터를 컨텐츠 제작자 단말(10)에 전송한다(402).When the
파일 컨텐츠 서버(12)는 컨텐츠 제작자 단말(10)로부터 파일 변경 정보를 수신하면, 그 수신된 파일 변경 정보에 따라 해당 컨텐츠 파일의 메타데이터를 변경한다(제1 파일 동기화)(404).When the
이후, 파일 컨텐츠 서버(12)는 동기화 시점에 컨텐츠 제작자 단말(10)로부터 수신한 컨텐츠 파일 변경 내용을 수신하면, 이를 컨텐츠 파일에 반영한다(제2 동기 화 단계)(406).Subsequently, when the
다른 실시예로서, 파일 컨텐츠 서버(12)는 컨텐츠 제작자 단말(10)로부터의 파일변경 확인 요청을 수신하면, 동기화 대상이 되는 파일 동기화 서버측 컨텐츠 파일의 변경여부를 확인해서, 파일 변경이 확인되면, 해당 파일 변경 정보를 컨텐츠 제작자 단말(10)에게 전송하는 과정을 더 수행할 수 있다. 이때, 서버측 컨텐츠 파일의 변경 내용은 백그라운드 전송 방식에 따라 컨텐츠 제작자 단말(10)에 전송한다.As another embodiment, when the
또 다른 실시예로서, 파일 컨텐츠 서버(12)는 제3의 컨텐츠 제작자 단말로부터 특정 컨텐츠 파일을 요청받으면, 해당 컨텐츠 파일의 데이터를 우선 전송하고, 동기화 시점에 상기 요청된 컨텐츠 파일의 내용을 백그라운드 전송 방식에 따라 제3 컨텐츠 제작자 단말에 전송한다. 여기서, 제1의 컨텐츠 제작자 단말과 제3의 컨텐츠 제작자 단말의 사용자는 동일할 수도 다를 수도 있다.As another embodiment, when the
만약, 파일 컨텐츠 서버(12)에서 '제3의 컨텐츠 제작자 단말에 전송한 컨텐츠 파일에 변경'이 발생하면, 해당 파일 변경 정보 및 컨텐츠 파일의 변경 내용을 제3의 컨텐츠 제작자 단말에도 전송한다.If the
한편, 전술한 바와 같은 본 발명의 방법은 컴퓨터 프로그램으로 작성이 가능하다. 그리고 상기 프로그램을 구성하는 코드 및 코드 세그먼트는 당해 분야의 컴퓨터 프로그래머에 의하여 용이하게 추론될 수 있다. 또한, 상기 작성된 프로그램은 컴퓨터가 읽을 수 있는 기록매체(정보저장매체)에 저장되고, 컴퓨터에 의하여 판독되고 실행됨으로써 본 발명의 방법을 구현한다. 그리고 상기 기록매체는 컴퓨 터가 판독할 수 있는 모든 형태의 기록매체를 포함한다.On the other hand, the method of the present invention as described above can be written in a computer program. And the code and code segments constituting the program can be easily inferred by a computer programmer in the art. In addition, the written program is stored in a computer-readable recording medium (information storage medium), and read and executed by a computer to implement the method of the present invention. The recording medium may include any type of recording medium that can be read by a computer.
이상에서 설명한 본 발명은, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the technical spirit of the present invention for those skilled in the art to which the present invention pertains. It is not limited by the drawings.
도 1은 본 발명에 따른 컨텐츠 파일 동기화 시스템의 일실시예 구성도,1 is a configuration diagram of an embodiment of a content file synchronization system according to the present invention;
도 2는 본 발명에 따른 도 1의 파일동기화 단말(클라이언트)의 일실시예 상세구성도,2 is a detailed configuration diagram of an embodiment of a file synchronization terminal (client) of FIG. 1 according to the present invention;
도 3은 본 발명에 따른 컨텐츠 제작자 단말에서의 컨텐츠 파일 동기화 방법에 대한 일실시예 흐름도,3 is a flowchart illustrating a method of synchronizing a content file in a content producer terminal according to the present invention;
도 4는 본 발명에 따른 파일 컨텐츠 서버에서의 컨텐츠 파일 동기화 방법에 대한 일실시예 흐름도이다.4 is a flowchart illustrating a content file synchronization method in a file content server according to the present invention.
* 도면의 주요부분에 대한 부호 설명 * Explanation of symbols on the main parts of the drawings
10: 컨텐츠 제작자 단말 12: 파일 동기화 서버10: content producer terminal 12: file synchronization server
200: 동기화용 디렉터리 210: 파일동기화 장치(클라이언트)200: directory for synchronization 210: file synchronization device (client)
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080126601A KR20100067976A (en) | 2008-12-12 | 2008-12-12 | Method for synchronizing contents files stored separately |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080126601A KR20100067976A (en) | 2008-12-12 | 2008-12-12 | Method for synchronizing contents files stored separately |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20100067976A true KR20100067976A (en) | 2010-06-22 |
Family
ID=42366494
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080126601A KR20100067976A (en) | 2008-12-12 | 2008-12-12 | Method for synchronizing contents files stored separately |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20100067976A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012026651A1 (en) * | 2010-08-24 | 2012-03-01 | Lg Electronics Inc. | Method for synchronizing contents and display device enabling the method |
KR101140603B1 (en) * | 2010-10-29 | 2012-05-02 | 엘아이지넥스원 주식회사 | Synchronization middleware system to perform data synchronization between client database and server database, and synchronization method between client database and server database |
WO2013141517A1 (en) * | 2012-03-18 | 2013-09-26 | 엘지전자 주식회사 | Control device and method for operating same, and server and method for operating same |
WO2014017882A1 (en) * | 2012-07-27 | 2014-01-30 | 삼성전자 주식회사 | Terminal and server performing data synchronization |
KR101402115B1 (en) * | 2011-11-11 | 2014-06-02 | (주)나무소프트 | File syncronization method for multi user and multi terminal |
KR20140083289A (en) * | 2012-12-26 | 2014-07-04 | 주식회사 엘지유플러스 | Method and apparatus for storing contents using plural distributed storage servers |
US9609057B2 (en) | 2011-05-10 | 2017-03-28 | Thomson Licensing | Technique for synchronized content sharing |
US9833716B2 (en) | 2013-11-22 | 2017-12-05 | Electronics And Telecommunications Research Institute | Web content sharing method, and web content providing apparatus and receiving terminal for web content sharing |
US10425477B2 (en) | 2015-09-15 | 2019-09-24 | Microsoft Technology Licensing, Llc | Synchronizing file data between computer systems |
KR20200116679A (en) * | 2019-04-02 | 2020-10-13 | (주)레몬클라우드 | Method and system for synchronizing data in heterogeneous apparatus |
WO2022131462A1 (en) * | 2020-12-18 | 2022-06-23 | 삼성전자주식회사 | Electronic device and control method therefor |
US11809400B2 (en) | 2020-12-18 | 2023-11-07 | Samsung Electronics Co., Ltd. | Electronic apparatus and controlling method thereof |
-
2008
- 2008-12-12 KR KR1020080126601A patent/KR20100067976A/en not_active Application Discontinuation
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103155583A (en) * | 2010-08-24 | 2013-06-12 | Lg电子株式会社 | Method for synchronizing contents and display device enabling the method |
WO2012026651A1 (en) * | 2010-08-24 | 2012-03-01 | Lg Electronics Inc. | Method for synchronizing contents and display device enabling the method |
KR101140603B1 (en) * | 2010-10-29 | 2012-05-02 | 엘아이지넥스원 주식회사 | Synchronization middleware system to perform data synchronization between client database and server database, and synchronization method between client database and server database |
US9609057B2 (en) | 2011-05-10 | 2017-03-28 | Thomson Licensing | Technique for synchronized content sharing |
KR101402115B1 (en) * | 2011-11-11 | 2014-06-02 | (주)나무소프트 | File syncronization method for multi user and multi terminal |
WO2013141517A1 (en) * | 2012-03-18 | 2013-09-26 | 엘지전자 주식회사 | Control device and method for operating same, and server and method for operating same |
US10567498B2 (en) | 2012-07-27 | 2020-02-18 | Samsung Electronics Co., Ltd. | Terminal and server performing data synchronization |
WO2014017882A1 (en) * | 2012-07-27 | 2014-01-30 | 삼성전자 주식회사 | Terminal and server performing data synchronization |
KR20210154795A (en) * | 2012-07-27 | 2021-12-21 | 한성대학교 산학협력단 | A device and a server synchronizing data |
KR20140083289A (en) * | 2012-12-26 | 2014-07-04 | 주식회사 엘지유플러스 | Method and apparatus for storing contents using plural distributed storage servers |
US9833716B2 (en) | 2013-11-22 | 2017-12-05 | Electronics And Telecommunications Research Institute | Web content sharing method, and web content providing apparatus and receiving terminal for web content sharing |
US10425477B2 (en) | 2015-09-15 | 2019-09-24 | Microsoft Technology Licensing, Llc | Synchronizing file data between computer systems |
KR20200116679A (en) * | 2019-04-02 | 2020-10-13 | (주)레몬클라우드 | Method and system for synchronizing data in heterogeneous apparatus |
WO2022131462A1 (en) * | 2020-12-18 | 2022-06-23 | 삼성전자주식회사 | Electronic device and control method therefor |
US11809400B2 (en) | 2020-12-18 | 2023-11-07 | Samsung Electronics Co., Ltd. | Electronic apparatus and controlling method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20100067976A (en) | Method for synchronizing contents files stored separately | |
US10992767B2 (en) | Systems and methods for caching of managed content in a distributed environment using a multi-tiered architecture including off-line access to cached content | |
JP6774499B2 (en) | Providing access to hybrid applications offline | |
US20150199414A1 (en) | Locally cached file system | |
US7809742B2 (en) | Content management method, apparatus, and system | |
JP2008250944A (en) | File management program, file management system and file management device | |
JP6312330B2 (en) | Document synchronization method, computer program, and recording medium therefor | |
JP2012531644A (en) | System, method and computer program for marking required content items on a network media device | |
JP4719732B2 (en) | Backup server, mobile device, communication system using these, and backup method | |
KR101402115B1 (en) | File syncronization method for multi user and multi terminal | |
US8489698B2 (en) | Apparatus and method for accessing a metadata | |
US9432238B2 (en) | Communicating large amounts of data over a network with improved efficiency | |
CN104281486B (en) | A kind of virtual machine treating method and apparatus | |
EP2237144A1 (en) | Method of remotely storing data and related data storage system | |
US10917468B2 (en) | Systems and methods of re-associating content items | |
KR20100122134A (en) | Multimedia content provider support system using sync | |
KR20130022009A (en) | Method for avoiding conflict among metadata operation and metadata management system for performing the same | |
TW201630393A (en) | Method to execute cross-server document synchronization through external proxy | |
JP2014048690A (en) | Backup mediating device, backup mediating method, and backup mediating program | |
CN113271343A (en) | Data downloading and uploading method and electronic equipment | |
KR20100067977A (en) | Method for efficient download contents files |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |