KR100637927B1 - Data synchronization method between terminals with a server - Google Patents

Data synchronization method between terminals with a server Download PDF

Info

Publication number
KR100637927B1
KR100637927B1 KR1020030091592A KR20030091592A KR100637927B1 KR 100637927 B1 KR100637927 B1 KR 100637927B1 KR 1020030091592 A KR1020030091592 A KR 1020030091592A KR 20030091592 A KR20030091592 A KR 20030091592A KR 100637927 B1 KR100637927 B1 KR 100637927B1
Authority
KR
South Korea
Prior art keywords
synchronization
data
terminal device
server
user
Prior art date
Application number
KR1020030091592A
Other languages
Korean (ko)
Other versions
KR20050059871A (en
Inventor
이병윤
이길행
Original Assignee
한국전자통신연구원
주식회사 케이티
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 한국전자통신연구원, 주식회사 케이티 filed Critical 한국전자통신연구원
Priority to KR1020030091592A priority Critical patent/KR100637927B1/en
Publication of KR20050059871A publication Critical patent/KR20050059871A/en
Application granted granted Critical
Publication of KR100637927B1 publication Critical patent/KR100637927B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Abstract

본 발명은 데이터 동기화가 필요한 동기화 서버와 다수의 단말 장치 또는 소정의 원격지에 위치한 다수의 데이터를 단순한 변경 정보의 전달로 동기화가 가능한 다수 단말과 서버간의 데이터 동기화 방법 및 상기 방법을 수행하는 프로그램을 기록한 컴퓨터 판독한 기록매체에 관한 것이다. The present invention records a data synchronization method between a plurality of terminals and a server capable of synchronizing a synchronization server requiring a data synchronization and a plurality of terminal devices or a plurality of data located at a predetermined remote location by simply transferring change information, and a program for performing the method. A computer-readable recording medium.

상기 본 발명에 의한 데이터 동기화 방법은 동기화 서버와 다수 단말 장치 간의 데이터 동기화를 수행하는데 있어서, 다수 사용자 단말 장치를 등록 관리하는 장치 정보 테이블, 단말 장치들과 동기화서버 간에 동기화 처리될 실제 데이터 아이템간의 매핑 정보를 관리하는 매핑테이블, 동일한 사용자가 사용하는 다수의 단말 장치들로부터 요구되는 변경 이력을 관리하며, 최종 변경된 데이터만을 반영하기 위한 변경 이력 테이블, 상기 동기화서버와 장치정보 테이블에 등록된 단말 장치에 반영된 동기화 버전을 관리하는 앵커테이블, 하나 이상의 단말 장치를 동기화 대상으로 등록한 사용자에 대한 개인정보를 관리하는 개인정보테이블을 생성하여, 동기화될 각 데이터 아이템의 변경을 용이하게 처리할 수 있도록 한다. In the data synchronization method according to the present invention, in performing data synchronization between a synchronization server and a plurality of terminal devices, a device information table for registering and managing a plurality of user terminal devices and mapping between actual data items to be synchronized between the terminal devices and the synchronization server. A mapping table for managing information, a change history table for managing change history required from a plurality of terminal devices used by the same user, and reflecting only the last changed data, and a terminal device registered in the synchronization server and the device information table. An anchor table for managing the reflected synchronization version and a personal information table for managing personal information of a user who registered at least one terminal device as a synchronization target may be generated to easily change the change of each data item to be synchronized.

데이터 동기화, 사용자 단말장치, 동기화 서버, 변경 이력, 사용자 장치, PDA, 인터넷Data Synchronization, User Terminal, Synchronization Server, Change History, User Device, PDA, Internet

Description

다수 단말과 서버간의 데이터 동기화 방법{Data synchronization method between terminals with a server} Data synchronization method between terminals with a server}             

도 1은 본 발명에 의한 데이터 동기화 처리를 위하여 장치정보 테이블의 구조도이다.1 is a structural diagram of a device information table for data synchronization processing according to the present invention.

도 2는 본 발명에 의한 데이터 동기화 처리를 위하여 매핑 테이블 구조도이다.2 is a structure diagram of a mapping table for data synchronization processing according to the present invention.

도 3은 본 발명에 의한 데이터 동기화 처리를 위하여 적용되는 변경이력 테이블 구조도이다.3 is a structure diagram of a change history table applied for data synchronization processing according to the present invention.

도 4는 본 발명에 의한 데이터 동기화 처리를 위하여 적용되는 앵커 테이블 구조도이다.4 is an anchor table structure diagram applied for the data synchronization process according to the present invention.

도 5는 본 발명에 의한 데이터 동기화 처리를 위하여 적용되는 개인 정보 테이블 구조도이다.5 is a structure diagram of a personal information table applied for data synchronization processing according to the present invention.

도 6은 본 발명에 의한 데이터 동기화 방법의 전체 흐름을 나타낸 플로우 챠트이다.6 is a flow chart showing the overall flow of the data synchronization method according to the present invention.

도 7은 본 발명에 의한 데이터 동기화 방법에 있어서, 동기화 처리 과정을 상세하게 나타낸 플로우 챠트이다.7 is a flowchart showing in detail a synchronization process in the data synchronization method according to the present invention.

도 8은 본 발명에 의한 데이터 동기화 처리가 이용되는 네트워크의 일 예를 도시한 구성도이다.8 is a configuration diagram showing an example of a network in which data synchronization processing according to the present invention is used.

본 발명은 데이터 동기화가 필요한 동기화 서버와 다수의 단말 장치 또는 소정의 원격지간의 데이터를 단순한 변경 정보의 전달로 동기화시킬 수 있는 다수 단말과 서버간의 데이터 동기화 방법 및 상기 방법을 수행하는 프로그램을 기록한 컴퓨터 판독한 기록매체에 관한 것이다.The present invention provides a method of synchronizing data between a plurality of terminals and a server capable of synchronizing data between a synchronization server and a plurality of terminal apparatuses requiring a data synchronization or a predetermined remote location by simply transferring change information, and a computer readable recording of a program for performing the method. It relates to a recording medium.

유무선 인터넷의 발전으로, 현대인들은 보다 빠르고 저렴한 커뮤니케이션 서비스를 이용하고 있으며, PDA, 휴대폰 등의 다양한 개인 정보 단말기를 이용한 데이터 통신 및 개인 정보 단말기에 입력된 각종 데이터를 활용하고 있다. 그리고, 일반인들이 한 종류 이상의 개인 정보 단말기를 갖는 것이 보편화되면서, 다수의 개인 정보 단말기를 데이터 수정, 삭제, 첨가하여야 하는 불편함이 나타났다. 예를 들면, 일정을 입력하고자 하는 경우, PDA, 휴대폰, 노트북 등의 일정관리에 각각 입력하여야 하는 불편함이 있으며, 서로 데이터가 일치하지 않는 경우도 발생할 수 있다.With the development of wired and wireless Internet, modern people are using faster and cheaper communication service, and are utilizing various data inputted to personal information terminals and data communication using various personal information terminals such as PDA and mobile phone. In addition, as the general public has more than one type of personal information terminal, it has been inconvenient to modify, delete or add data to a plurality of personal information terminals. For example, if you want to enter a schedule, there is an inconvenience to input each of the schedule management, such as PDA, mobile phone, notebook, etc., may also occur when the data does not match each other.

따라서 다수 개인 정보 단말기간의 데이터 호환 및 데이터를 일치시키는 데이터 동기화에 대한 요구가 나타났고, 이에 따라서, 소정의 데이터 동기화 서버를 두고, 유/무선 인터넷망을 통해 다수의 개인 정보 단말기간의 데이터를 일치시키기 위한 데이터 동기화 방법이 제안되었다.Accordingly, there has been a demand for data compatibility and data synchronization between multiple personal information terminals, and accordingly, a data synchronization server can be used to match data between multiple personal information terminals through a wired / wireless internet network. A data synchronization method has been proposed.

기존에 제안된 데이터 동기화 방법은, 개인 정보 단말기와 동기화 서버간의 데이터 비교를 통한 감시 작업을 이용하여, 개인 정보 단말기와 서버간의 데이터를 순차적으로 비교하거나, 서버에 위치한 데이터로 동기화 시키는 것으로서, 감시 주기를 너무 길게 하는 경우, 거의 실시간에 가까운 동기화가 이루어질 수 없는데 반하여, 감시 주기를 짧게 하면, 개인 정보 단말기와 동기화 서버의 부하가 가중될 수 있다는 문제점이 있다.The existing data synchronization method uses a monitoring operation by comparing data between the personal information terminal and the synchronization server, and sequentially compares data between the personal information terminal and the server or synchronizes the data with the data located in the server. If too long, the near real-time synchronization can not be achieved, while if the monitoring period is shortened, there is a problem that the load of the personal information terminal and the synchronization server can be increased.

본 발명은 상술한 종래의 문제를 해결하기 위하여 제안된 것으로서, 그 목적은 데이터 동기화가 필요한 동기화 서버와 다수의 단말 장치 또는 소정의 원격지간의 데이터들을 단순한 변경 정보의 전달로 동기화시킬 수 있는 다수 단말과 서버간의 데이터 동기화 방법 및 상기 방법을 수행하는 프로그램을 기록한 컴퓨터 판독한 기록매체를 제공하는 것이다.SUMMARY OF THE INVENTION The present invention has been proposed to solve the above-mentioned conventional problems, and an object thereof is to provide a plurality of terminals capable of synchronizing data between a synchronization server and a plurality of terminal apparatuses or predetermined remote locations requiring data synchronization with simple transfer of change information. To provide a method for synchronizing data between servers and a computer-readable recording medium recording a program for performing the method.

상기 목적을 달성하기 위하여, 본 발명은 다수의 사용자 단말 장치와 데이터 동기화 서버간의 데이터 동기화 방법에 있어서,In order to achieve the above object, the present invention provides a data synchronization method between a plurality of user terminal devices and a data synchronization server,

상기 동기화 서버에서 동기화할 다수 사용자 단말 장치를 등록 관리하는 장치 정보 테이블을 생성하는 단계;Generating a device information table for registering and managing a plurality of user terminal devices to be synchronized in the synchronization server;

상기 장치 정보 테이블에 등록된 사용자 단말 장치들과 동기화 서버 간에 동기화 처리될 실제 데이터 아이템간의 매핑 정보를 관리하는 매핑테이블을 생성하는 단계;Generating a mapping table for managing mapping information between actual data items to be synchronized between user terminal devices registered in the device information table and a synchronization server;

동일한 사용자가 사용하는 다수의 단말 장치들로부터 요구되는 변경 이력을 관리하며, 최종 변경된 데이터만을 반영하기 위한 변경 이력 테이블을 생성하는 단계;Generating a change history table for managing change history required from a plurality of terminal devices used by the same user and reflecting only the last changed data;

상기 동기화 서버와 상기 장치 정보 테이블에 등록된 단말 장치에 반영된 동기화 버전을 관리하는 앵커테이블을 생성하는 단계;Generating an anchor table for managing a synchronization version reflected in the synchronization server and the terminal device registered in the device information table;

하나 이상의 단말 장치를 동기화 대상으로 등록한 사용자에 대한 개인정보를 관리하는 개인정보테이블을 생성하는 단계; 및Generating a personal information table that manages personal information of a user who has registered at least one terminal device as a synchronization target; And

단말 장치로부터 전달되는 동기화 요구에 따라서, 상기 장치 정보 테이블을 검색하여 등록여부를 체크한 후, 등록된 단말 장치의 요구를 분석하여 해당 데이터 아이템의 동기화를 수행하고, 상기 변경 이력 테이블 및 앵커테이블을 갱신하는 단계; 로 이루어지고,
상기 장치 정보 테이블에 사용자 단말 장치의 장치 식별자 정보(deviceID), 상기 사용자 장치의 고유 식별자 정보(URI) 및 사용자 이름을 포함하는 정보를 관리하고, 상기 장치 정보 테이블을 검색하여 해당 사용자의 장치가 등록되어 있는 경우에 해당 사용자 장치의 접속을 허용하는 것을 특징으로 한다.
According to the synchronization request transmitted from the terminal device, the device information table is searched and checked for registration, and then the request of the registered terminal device is analyzed to synchronize the corresponding data item, and the change history table and anchor table are checked. Updating; Made up of
The device information table manages information including device identifier information (deviceID) of the user terminal device, unique identifier information (URI) and user name of the user device, and searches the device information table to register the device of the user. If so, it is characterized in that for allowing the connection of the user device.

상술한 본 발명의 목적, 특징 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다.The objects, features and advantages of the present invention described above will become more apparent from the following detailed description taken in conjunction with the accompanying drawings.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실 시 예를 상세히 설명한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

먼저, 도 8 은 본 발명에 따른 데이터 동기화 방법이 적용되는 네트워크 구성도로서, 본 발명에 의한 방법은 유/무선 통신망(72)에 의한 다수의 사용자 단말 장치(71)와 데이터 동기화 서버(73)간의 데이터 동기화를 위하여 적용되는 것이다. First, FIG. 8 is a diagram illustrating a network to which the data synchronization method according to the present invention is applied. The method according to the present invention includes a plurality of user terminal devices 71 and a data synchronization server 73 by a wired / wireless communication network 72. It is applied for data synchronization between them.

도 1은 본 발명에 의한 데이터 동기화 방법에 있어서, 데이터 동기화 서버(73)에 접속하여 데이터 동기화 서비스를 원하는 사용자의 단말 장치, 즉, 동기화 대상이 되는 장치의 정보를 관리하는 장치 정보 테이블(100)의 구조도이다. 상기 장치 정보 테이블(100)은 사용자가 동기화 서비스를 신청하는 경우, 동기화 대상이 되는 장치에 대한 정보를 관리하도록 생성되는 것으로서, 사용자별로 서버에 접속하는 장치의 번호를 나타내는 deviceID(1)와, 해당 사용자 장치의 고유 식별자에 대한 정보가 실린 URI(Uniform Resource Indicator)(2)와, 해당 사용자 이름을 나타내는 userName(3) 필드로 이루어진다. 상기 장치 정보 테이블(100)은 데이터 동기화 처리를 수행할 장치를 등록하여 관리하는 테이블로서, 이후 데이터 동기화 처리할 장치의 인증 처리시 이용될 수 있다.1 is a device information table 100 for managing information of a terminal device of a user who wants a data synchronization service by connecting to a data synchronization server 73, that is, a device to be synchronized, in the data synchronization method according to the present invention. Is the structure diagram. The device information table 100 is generated to manage information on devices to be synchronized when a user applies for a synchronization service. The device information table 100 includes a deviceID (1) indicating a number of a device accessing a server for each user, and It consists of a Uniform Resource Indicator (URI) 2 containing information on the unique identifier of the user device and a userName (3) field indicating the user name. The device information table 100 is a table that registers and manages a device to perform data synchronization processing. The device information table 100 may be used in an authentication process of a device to be data synchronized.

도 2는 본 발명에 의한 데이터 동기화 방법을 수행하는데 있어서, 실제 동기화가 이루어지는 데이터 아이템에 대한 동기화 서버(73)와 단말 장치(71)의 매핑 정보를 관리하는 매핑 테이블(200)의 구조도로서, 상기 장치 정보 테이블(100)에 등록된 사용자의 단말 장치(71)와 동기화 서버(73)간의 데이터 아이템을 매핑시켜 관리한다.2 is a structural diagram of a mapping table 200 that manages mapping information of a synchronization server 73 and a terminal device 71 for data items that are actually synchronized in the data synchronization method according to the present invention. The data items between the user terminal device 71 and the synchronization server 73 registered in the device information table 100 are mapped and managed.

그리고 도시된 바와 같이, 상기 매핑테이블(200)은, 동기화 서버(73)에서 사 용되는 동기화될 데이터 아이템의 식별자인 guidNum(4)와, 사용자 단말 장치(71)에서 동기화될 데이터 아이템에 대한 식별자인 luidNum(7)와, 해당 사용자 단말 장치(71)의 식별정보인 deviceID(5)와, 상기 사용자 단말 장치(71)가 동기화를 위한 데이터 변경 요구시, 해당하는 동기화 작업이 수행될 데이터베이스에 대한 식별정보인 dbID(6)와, 해당 데이터 아이템에 대한 삭제 요구 시 해당 데이터를 완전히 지우기 전에 해당 데이터를 마킹하여, 추후 다른 단말장치로부터 변경 요구를 반영할 수 있도록 하는 deleteFlag(8)로 이루어진다.And, as shown, the mapping table 200, guidNum (4) which is the identifier of the data item to be synchronized used in the synchronization server 73, and the identifier for the data item to be synchronized in the user terminal device 71 LuidNum (7), deviceID (5) which is identification information of the corresponding user terminal device (71), and when the user terminal device (71) requests data change for synchronization, The identification information dbID (6) and the deleteFlag (8) to mark the corresponding data before erasing the data completely when the deletion request for the corresponding data item, to reflect the change request from another terminal device in the future.

다음으로, 도 3은 본 발명에 의한 데이터 동기화 방법에 있어서, 동기화 대상이 되는 데이터 아이템의 내용이 추가, 변경, 삭제되었을 경우, 이를 관리하는 변경 이력 테이블(300)의 구조도로서, 여기서 변경이란 동기화 서버(73)의 어플리케이션(application)이 소정 사용자와 관련된 모든 단말장치(71)에 대하여 변경을 수행하는 경우와, 복수 개의 단말 장치(71)를 갖는 사용자가 한 단말 장치에서 데이타를 변경한 경우 이를 다른 단말 장치(71)들에게도 반영시키는 경우를 모두 포함한다. 더불어, 변경 이력 테이블(300)은 동기화 서버 측의 데이터 아이템에 대한 변경 이력 정보를 관리하는 역할을 한다.Next, FIG. 3 is a structural diagram of a change history table 300 that manages a data item to be synchronized when the contents of a data item to be synchronized are added, changed, or deleted in the data synchronization method according to the present invention. When the application of the server 73 changes all the terminal devices 71 associated with a given user, and when a user having a plurality of terminal devices 71 changes data in one terminal device, this is the case. It includes all cases of reflecting to other terminal devices 71 as well. In addition, the change history table 300 serves to manage change history information on data items on the synchronization server side.

상기 변경 이력 테이블(300)은 도시된 바와 같이, 동기화 서버(73)측의 데이터 아이템에 대한 식별정보인 guidNum(9)과, 변경을 요구한 단말 장치(71)의 식별정보를 나타내는 deviceID(10)와, 변경될 데이터베이스의 식별 정보인 dbID(11)와, 사용자 단말 장치(71)로부터 요구된 동기화 명령 내용, 예를 들어, 추가, 삭제, 변 경, 복사 등을 나타내는 ActionFlag(12)로 이루어진다.As illustrated, the change history table 300 includes a guidNum 9 which is identification information of a data item on the synchronization server 73 side, and a deviceID 10 indicating identification information of the terminal device 71 requesting the change. ), DbID 11 as identification information of the database to be changed, and ActionFlag 12 indicating the contents of the synchronization command requested from the user terminal device 71, for example, addition, deletion, change, copying, and the like. .

도 4는 본 발명에 의한 데이터 동기화 처리를 위하여, 각 사용자 단말 장치(73)에서 데이터베이스 별로 마지막으로 동기화를 수행한 시간 정보 값을 관리하는 앵커 테이블(400)의 구조도로서, 도시된 바와 같이, 상기 앵커 테이블(400)은 동기화 서버(73)에 접속한 사용자 단말 장치(71)의 식별정보인 deviceID(13)와, 상기 단말 장치(71)가 원하는 동기화 작업이 수행될 데이터베이스를 나타내는 dbID(14)와, 상기 단말 장치(71)가 해당 데이터베이스에서 마지막으로 동기화를 완료한 시간 정보를 나타내는 lastSync(15)로 이루어진다.4 is a structural diagram of an anchor table 400 that manages time information values of the last synchronization performed for each database in each user terminal device 73 for the data synchronization process according to the present invention. The anchor table 400 includes a deviceID 13, which is identification information of the user terminal device 71 connected to the synchronization server 73, and a dbID 14 indicating a database on which the terminal device 71 desired synchronization is to be performed. And lastSync 15 indicating time information when the terminal device 71 last completed synchronization in the corresponding database.

도 5는 본 발명에 따른 데이터 동기화를 위하여, 동기화 서버(73)에서 동기화 서비스에 가입한 사용자에 대한 정보를 관리하는 개인정보 테이블(500)의 구조도로서, 상기 개인 정보 테이블(500)은 도시된 바와 같이, 동기화 서버(73)에서 사용하는 데이터 아이템에 대한 식별자인 guidNum(16)과, 관련된 사용자의 이름 및 성을 관리하는 lastName/ firstName(17)과, 관련된 사용자의 전자 우편 정보를 관리하는 e-mail(18)등으로 이루어지며, 여기에 더하여, 동기화를 처리하여야 하는 정보를 정의할 수 있다.5 is a structural diagram of a personal information table 500 that manages information about a user who subscribes to a synchronization service in a synchronization server 73 for data synchronization according to the present invention, wherein the personal information table 500 is illustrated. As shown, guidNum 16, which is an identifier for a data item used by the synchronization server 73, lastName / firstName 17, which manages the first and last name of the associated user, and e, which manages e-mail information of the associated user. -mail (18), etc. In addition, you can define the information to be processed for synchronization.

도 6a 및 도 6b는 본 발명에 의한 데이터 동기화 방법을 순차적으로 나타낸 플로우 챠트로서, 이를 참조하여 데이터 동기화 처리 순서를 설명하면 다음과 같 다.6A and 6B are flowcharts sequentially illustrating a data synchronization method according to the present invention, and the data synchronization processing procedure will be described below with reference to this.

소정의 인터넷 사용자가 자신이 소유한 하나 이상의 단말 장치(71)로 상기 동기화 서버(73)에 접속하여, 동기화 서비스에 가입하면(s100), 상기 동기화 서버(73)는 상기 사용자 단말 장치(71)의 식별정보인 deviceID(1)와, URI(2), 및 관련 사용자이름(3)을 연결하여 동기화 대상 단말 장치를 관리하는 장치 정보 테이블(100)을 생성한다(s200). When a predetermined Internet user accesses the synchronization server 73 by using one or more terminal devices 71 owned by him / her and subscribes to a synchronization service (s100), the synchronization server 73 is the user terminal device 71. The device information table 100 for managing the synchronization target terminal device is generated by connecting the device ID (1), which is identification information, with the URI (2) and the associated user name (3) (S200).

이어서, 상기 장치 정보 테이블(100)에 등록된 사용자 단말 장치(71)와 동기화서버(73)간에 동기화 처리될 실제 데이터 아이템을 매핑시켜 관리하는 매핑테이블(200)을 생성한다(s300).Subsequently, a mapping table 200 for mapping and managing actual data items to be synchronized between the user terminal device 71 registered in the device information table 100 and the synchronization server 73 is generated (S300).

또한, 동일한 사용자가 사용하는 다수의 단말 장치(71)들로부터 요구되는 변경 이력을 관리하며, 최종 변경된 데이터만을 반영하기 위한 변경 이력 테이블(300)을 생성한다(s400).In addition, it manages the change history required from a plurality of terminal devices 71 used by the same user, and generates a change history table 300 to reflect only the last changed data (s400).

또한, 상기 장치정보 테이블(100)에 등록된 단말 장치(71)에 반영된 동기화 버전과 상기 동기화 서버(73)에서 관리하는 데이터를 나타내는 앵커테이블을 생성한다(s500).In addition, an anchor table indicating a synchronization version reflected in the terminal device 71 registered in the device information table 100 and data managed by the synchronization server 73 is generated (S500).

더불어, 하나 이상의 단말 장치(71)를 동기화 대상으로 등록한 사용자에 대한 개인정보를 관리하는 개인정보테이블(500)을 생성할 수 있다(s600).In addition, a personal information table 500 that manages personal information of a user who has registered one or more terminal devices 71 as a synchronization target may be generated (S600).

이와 같이, 등록된 다수 단말 장치(71)와 동기화 서버(73)간의 동기화 수행을 위한 테이블(100~500)들이 생성되면, 이후 단말 장치(71)로부터 전달되는 동기화 요구에 따라서, 상기 장치 정보 테이블(71)을 검색하여 등록여부를 체크한 후, 등록된 단말 장치의 요구에 대하여 요구명령의 종류를 분석하여, 명령에 따라서 해당 데이터 아이템의 동기화를 수행하고, 상기 변경이력테이블(300) 및 앵커테이블(400)을 갱신한다(s700).As such, when tables 100 to 500 for synchronizing between the plurality of registered terminal devices 71 and the synchronization server 73 are generated, the device information table is subsequently generated according to the synchronization request transmitted from the terminal device 71. (71), after checking whether or not to register, analyzes the type of request command for the request of the registered terminal device, synchronizes the corresponding data item according to the command, and changes the change history table 300 and the anchor. The table 400 is updated (s700).

상기 단계(s700)는 실제 동기화 처리를 수행하는 단계로서, 앞서 생성된 테이블들이 동기화 처리 및 관리를 용이하게 해준다.The step s700 is a step of performing an actual synchronization process, and the previously generated tables facilitate synchronization processing and management.

상기 단계(s700)의 처리 과정을 도 6b의 플로우 차트를 참조하여 더 상세하게 설명한다.The process of step S700 will be described in more detail with reference to the flowchart of FIG. 6B.

단말 장치(71)에서 새로운 내용에 대한 변경이나 추가를 입력하여 변경을 요청한다(s701). 상기 변경 요청은 단말 장치(71)가 연결된 통신망(72)을 통해 데이터 동기화 서버(73)로 전달된다. In operation S701, the terminal device 71 inputs a change or addition to new content. The change request is transmitted to the data synchronization server 73 through the communication network 72 to which the terminal device 71 is connected.

데이터 동기화 서버(73)는 단말로부터 전달된 변경 요청 정보를 수신한 후, 먼저 개인 정보 테이블을 검색하여 해당 사용자가 등록되어 있는지를 체크하고, 또한 도 1에 보인 장치 정보 테이블을 검색하여, 해당 사용자 단말이 등록되어 있는 지를 판단한다(s702).After receiving the change request information transmitted from the terminal, the data synchronization server 73 first searches the personal information table to check whether the corresponding user is registered, and also searches the device information table shown in FIG. It is determined whether the terminal is registered (s702).

상기 판단 단계(s702)의 수행결과, 변경 요청한 사용자 단말이 검색되면, 변경 요구한 데이터 아이템(guidNum)이 도 2와 같은 매핑 테이블에 존재하는 지를 검색한다(s703).As a result of performing the determination step s702, when the change request user terminal is found, it is searched whether the change request data item guidNum exists in the mapping table as shown in FIG.

상기 단계(s702,s703)의 수행 결과, 장치 정보 테이블에 해당 사용자 단말이 존재하지 않거나, 존재하더라도 매핑테이블 내에 해당 데이터 아이템의 ID가 존재하는 않는 경우, 데이터 동기화 수행이 불가능함을 알리는 오류 메시지를 생성하여 사용자 단말 장치(71)로 전달한다(s715,s716).If the user terminal does not exist in the device information table or if the ID of the corresponding data item does not exist in the mapping table as a result of performing the steps (s702 and s703), an error message indicating that data synchronization is impossible is performed. It generates and delivers to the user terminal device 71 (s715, s716).

그리고 상기 단계(s703)의 수행결과, 매핑테이블에 해당 ID(guidNum)가 존재하는 경우, 수신된 요구 데이터를 동기화 서버(73)에서 사용되는 데이터 포맷으로 변환하고(s704), 상기 변환된 데이터에 실린 사용자 요구 커맨드를 분석한다(s705).If the corresponding ID (guidNum) exists in the mapping table as a result of performing the step s703, the received request data is converted into the data format used by the synchronization server 73 (s704), and the converted data is converted into the converted data. The loaded user request command is analyzed (s705).

상기 요구 커맨드를 분석한 경우, 추가(ADD) 요구인 경우(s706), 서버(73)에서 도 3과 같은 변경이력 테이블에 해당 guidNum의 ActionFlag(12)값으로 A를 마킹하고(s707), 변경(Replace) 요구인 경우(s708), 서버(73)에서 변경이력 테이블의 해당 guidNUm의 ActionFlag(12) 값으로 R을 마킹하고(s609), 삭제(Delete)요구인 경우(s710), 상기 변경이력 테이블의 ActionFlag(12) 값으로 D를 마킹하고(s711), 복사(Copy) 요구인 경우(s712), 상기 변경이력 테이블의 ActionFlag(12)에 C를 마킹한다(s713).When the request command is analyzed, in the case of an add (ADD) request (s706), the server 73 marks A with the ActionFlag (12) value of the corresponding guidNum in the change history table as shown in FIG. (Replace) In case of request (s708), the server 73 marks R with the ActionFlag (12) value of the corresponding guidNUm in the change history table (s609), and in case of delete request (s710), the change history D is marked with the ActionFlag (12) value of the table (s711), and if it is a copy request (s712), C is marked with the ActionFlag (12) of the change history table (s713).

그리고 상기와 같이, 사용자의 요구에 대응하여 변경이력 테이블의 actionFlag(12)에 마킹이 완료되면, 다음으로 도 4와 같은 앵커 테이블에 해당 변경 처리가 수행되는 장치 식별 정보(deviceID)(13)와 데이터베이스ID(dbID(14)와 동기화 완료 시점(lastSync(15))을 등록한다(s714).As described above, when marking is completed on the actionFlag 12 of the change history table in response to the user's request, the device identification information (deviceID) 13 to which the corresponding change process is performed on the anchor table as shown in FIG. The database ID (dbID 14 and the synchronization completion time (lastSync 15)) are registered (s714).

이상의 데이터 동기화 방법은 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터로 판독 가능한 코드로서 구현될 수 있다. 여기서, 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장된 모든 종류의 기록장치를 포함하여, 예를 들어, ROM, RAM, CD-ROM, 자기 테이프, 플라피디스트, 광데이터 저 장장치등을 들 수 있다.The above data synchronization method may be embodied as computer readable code on a computer readable recording medium. Here, the computer-readable recording medium may include all kinds of recording devices storing data that can be read by a computer system, for example, ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data. Storage devices.

상기와 같은 본 발명은, 데이터의 동기화가 필요한 두 시스템 간에 변경된 이력 정보를 관리하여, 데이터의 동기화를 가능하게 하는 관리 기술 분야에 관한 것으로서, 다수의 장치와 동기화 서버 간에 장치 테이블, 매핑 테이블, 변경이력 테이블, 앵커 테이블을 이용하여, 변경된 최소한의 데이터 정보만을 관리하여 효율적으로 다수의 장치들과 동기화 서버간의 데이터 동기를 일치시킬 수 있다. The present invention as described above relates to a management technology field that enables synchronization of data by managing changed history information between two systems requiring synchronization of data, and includes a device table, a mapping table, and a change between a plurality of devices and a synchronization server. By using the history table and the anchor table, it is possible to efficiently synchronize data synchronization between multiple devices and the synchronization server by managing only the changed minimum data information.

Claims (9)

다수의 사용자 단말 장치와 데이터 동기화 서버 간의 데이터 동기화 방법에 있어서,In the data synchronization method between a plurality of user terminal devices and the data synchronization server, 상기 동기화 서버에서 동기화할 다수 사용자 단말 장치를 등록 관리하는 장치 정보 테이블을 생성하는 단계;Generating a device information table for registering and managing a plurality of user terminal devices to be synchronized in the synchronization server; 상기 장치 정보 테이블에 등록된 사용자 단말 장치들과 동기화 서버 간에 동기화 처리될 실제 데이터 아이템 간의 매핑 정보를 관리하는 매핑테이블을 생성하는 단계;Generating a mapping table for managing mapping information between actual data items to be synchronized between user terminal devices registered in the device information table and a synchronization server; 동일한 사용자가 사용하는 다수의 단말 장치들로부터 요구되는 변경 이력을 관리하며, 최종 변경된 데이터만을 반영하기 위한 변경 이력 테이블을 생성하는 단계;Generating a change history table for managing change history required from a plurality of terminal devices used by the same user and reflecting only the last changed data; 상기 동기화 서버와 상기 장치 정보 테이블에 등록된 단말 장치에 반영된 동기화 버전을 관리하는 앵커테이블을 생성하는 단계;Generating an anchor table for managing a synchronization version reflected in the synchronization server and the terminal device registered in the device information table; 하나 이상의 단말 장치를 동기화 대상으로 등록한 사용자에 대한 개인정보를 관리하는 개인정보테이블을 생성하는 단계; 및Generating a personal information table that manages personal information of a user who has registered at least one terminal device as a synchronization target; And 단말 장치로부터 전달되는 동기화 요구에 따라서, 상기 장치 정보 테이블을 검색하여 등록여부를 체크한 후, 등록된 단말 장치의 요구를 분석하여 해당 데이터 아이템의 동기화를 수행하고, 상기 변경 이력 테이블 및 앵커테이블을 갱신하는 단계; 로 이루어지고,According to the synchronization request transmitted from the terminal device, the device information table is searched and checked for registration, and then the request of the registered terminal device is analyzed to synchronize the corresponding data item, and the change history table and anchor table are checked. Updating; Made up of 상기 장치 정보 테이블에 사용자 단말 장치의 장치 식별자 정보(deviceID), 상기 사용자 장치의 고유 식별자 정보(URI) 및 사용자 이름을 포함하는 정보를 관리하고, 상기 장치 정보 테이블을 검색하여 해당 사용자의 장치가 등록되어 있는 경우에 해당 사용자 장치의 접속을 허용하는 것을 특징으로 하는 다수 단말과 서버간의 데이터 동기화 방법.The device information table manages information including device identifier information (deviceID) of the user terminal device, unique identifier information (URI) and user name of the user device, and searches the device information table to register the device of the user. The method of synchronizing data between a plurality of terminals and a server, wherein the access of the user device is allowed when the user device is connected. 삭제delete 제 1 항에 있어서, 상기 매핑 정보 테이블은The method of claim 1, wherein the mapping information table 단말 장치 측의 데이터 아이템 식별정보(Local Unique ID)와, 그에 대응하는 동기화 서버 측의 데이터 아이템 식별정보(Global Unique ID)와, 해당 단말 장치의 식별정보(deviceID)와, 원하는 동기화 작업이 수행될 데이터베이스에 대한 식별정보(dbID)로 이루어져, 단말 장치로부터 요구된 데이터에 대해서 상기 매핑 정보 테이블을 통해 동기화 서버와 장치가 지정한 각각의 데이터 아이템간의 매핑을 처리하도록 하는 것을 특징으로 하는 다수 단말과 서버간의 데이터 동기화 방법.The data item identification information (Local Unique ID) on the terminal device side, the data item identification information (Global Unique ID) on the synchronization server side corresponding thereto, the identification information (deviceID) of the corresponding terminal device, and desired synchronization operation may be performed. It is composed of identification information (dbID) for the database, the mapping between the plurality of terminals and the server, characterized in that to process the mapping between the synchronization server and each data item specified by the device through the mapping information table for the data requested from the terminal device; How to sync data. 제 3 항에 있어서, 상기 매핑 정보 테이블은 해당 데이터 아이템에 대한 삭제 요구를 표시하는 플래그(deleteFlag)를 더 포함하고, 단말 장치로부터 해당 데이터 아이템에 대한 삭제가 요구되었을 때, 삭제되었음을 상기 플래그(deleteFlag) 에 표시하여, 다른 장치로부터의 변경 명령을 반영할 수 있도록 하는 것을 특징으로 하는 다수 단말과 서버간의 데이터 동기화 방법.The flag (deleteFlag) of claim 3, wherein the mapping information table further includes a flag indicating a deletion request for the corresponding data item, and when the deletion of the corresponding data item is requested from the terminal device. ) So that a change command from another device can be reflected. 제 1 항에 있어서, 상기 변경 이력 테이블은 The method of claim 1, wherein the change history table 단말측의 데이터 아이템 식별정보(LUID)와, 대응하는 서버 측의 데이터 아이템 식별정보(GUID), 관련 단말 장치의 식별정보(deviceID), 상기 단말 장치가 원하는 동기화 작업이 수행될 데이터베이스에 대한 식별정보(dbID)와, 상기 단말 장치가 요구한 추가, 삭제, 변경, 복사 중 하나에 해당하는 동기화 명령을 표시하는 플래그(ActionFlag)로 이루어져,Data item identification information (LUID) of the terminal side, data item identification information (GUID) of the corresponding server side, identification information (deviceID) of the associated terminal device, and identification information of a database on which the terminal device desired synchronization operation is to be performed. (dbID) and a flag (ActionFlag) indicating a synchronization command corresponding to one of addition, deletion, change, and copy requested by the terminal device, 동기화 서버측의 데이터의 내용이 추가, 변경, 삭제되었을 때, 이를 관련된 단말장치에게 반영할 수 있도록 하는 것을 특징으로 하는 다수 단말과 서버간의 데이터 동기화 방법.A method of synchronizing data between a plurality of terminals and a server, characterized in that when the contents of data on the synchronization server side are added, changed, or deleted, the data can be reflected to a related terminal device. 제 1 항에 있어서, 상기 앵커 테이블은 The method of claim 1, wherein the anchor table is 동기화 서버에 접속하는 단말 장치의 식별정보(deviceID)와, 상기 단말 장치가 원하는 동기화 작업이 수행될 데이터베이스에 대한 식별정보(dbID)와, 상기 데이터베이스에서의 동기화 완료 시점을 기록하는 필드(lastSync)로 이루어져, 각 단말 장치가 데이터베이스 별로 최근에 마지막으로 동기화를 완료한 시점 정보 값을 기록하고 유지하는 것을 특징으로 하는 다수 단말과 서버간의 데이터 동기화 방법.Identification information (deviceID) of the terminal device accessing the synchronization server, identification information (dbID) for the database on which the terminal device desired synchronization operation is to be performed, and a field (lastSync) for recording the synchronization completion time in the database. And recording and maintaining a time point information value at which each terminal device has recently completed synchronization for each database. 제 1 항에 있어서, 상기 개인 정보 테이블은The method of claim 1, wherein the personal information table 동기화 서버에서의 데이터 아이템을 기준으로 동기화를 처리하여야 하는 개인 정보를 관리하도록 구성되는 것을 특징으로 하는 다수 단말과 서버간의 데이터 동기화 방법.A method for synchronizing data between a plurality of terminals and a server, characterized by managing personal information for which synchronization is to be processed based on data items in the synchronization server. 제 1 항에 있어서, 상기 동기화 요구를 수행하는 단계는The method of claim 1, wherein performing the synchronization request 소정의 단말 장치가 동기화 서버에 접속하여 데이터 변경을 요구하는 단계;Requesting a data change by a predetermined terminal device accessing a synchronization server; 동기화 서버에서 상기 변경 요구한 단말 장치가 장치 정보 테이블에 등록되어 있는지를 체크하는 단계;Checking whether the change requesting terminal device is registered in a device information table by a synchronization server; 상기 체크 결과, 해당 사용자 단말 장치가 등록되어 있으면, 요구된 데이터 아이템이 매핑테이블에 존재하는지를 검색하는 단계;Searching whether the requested data item exists in the mapping table if the corresponding user terminal device is registered; 상기 검색 결과, 장치 정보 테이블에 해당 사용자 단말장치가 존재하지 않거나, 매핑테이블에 해당 데이터 아이템이 존재하는 않는 경우, 오류 메시지를 단말 장치로 전송하고 종료하는 단계;If the corresponding user terminal device does not exist in the device information table or the corresponding data item does not exist in the mapping table, transmitting an error message to the terminal device and ending; 상기 검색결과, 매핑테이블에 해당 ID(guidNum)가 존재하는 경우, 수신된 단말 장치의 요구를 동기화 서버의 데이터 포맷으로 변환하여, 사용자 요구 커맨드를 분석하는 단계;If the corresponding ID (guidNum) is present in the mapping result, converting the request of the received terminal device into a data format of the synchronization server and analyzing a user request command; 상기 요구 커맨드를 분석한 결과에 따라서, 상기 변경이력 테이블의 해당 데이터 아이템(guidNum) 플래그(ActionFlag)값에, 분석된 요구 커맨드에 따라서, 추가, 변경, 삭제, 복사를 표시하는 단계; 및Displaying, according to a result of analyzing the request command, an addition, a change, a deletion, or a copy in a corresponding data item (guidNum) flag (ActionFlag) value of the change history table according to the analyzed request command; And 상기 변경 이력 테이블의 갱신 후에, 앵커 테이블에서 해당 단말 장치의 동기화 완료 시점을 갱신하는 단계를 포함하여 이루어지는 것을 특징으로 하는 다수 단말과 서버간의 데이터 동기화 방법.And updating the synchronization completion time of the corresponding terminal device in the anchor table after updating of the change history table. 제 1 항 또는 제3항 내지 제 8 항 중 어느 한 항에 기재된 각 단계를 수행하는 프로그램을 기록한 컴퓨터 판독한 기록매체.A computer-readable recording medium having recorded thereon a program for performing each step according to any one of claims 1 to 10.
KR1020030091592A 2003-12-15 2003-12-15 Data synchronization method between terminals with a server KR100637927B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030091592A KR100637927B1 (en) 2003-12-15 2003-12-15 Data synchronization method between terminals with a server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030091592A KR100637927B1 (en) 2003-12-15 2003-12-15 Data synchronization method between terminals with a server

Publications (2)

Publication Number Publication Date
KR20050059871A KR20050059871A (en) 2005-06-21
KR100637927B1 true KR100637927B1 (en) 2006-10-24

Family

ID=37252732

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030091592A KR100637927B1 (en) 2003-12-15 2003-12-15 Data synchronization method between terminals with a server

Country Status (1)

Country Link
KR (1) KR100637927B1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100967929B1 (en) * 2007-08-18 2010-07-06 주식회사 신한은행 System for Processing Graphic User Interface Sysnchronous for Individual Communication Medium
WO2009054661A1 (en) * 2007-10-25 2009-04-30 Lg Electronics Inc. Procedure for managing data synchronization under multiple devices environment
KR101635030B1 (en) * 2010-07-08 2016-07-01 엘지전자 주식회사 Method for data synchronization and mobile terminal using this method
KR101319466B1 (en) * 2011-09-27 2013-10-17 주식회사 미니게이트 Method of synchronizing data of terminals using hash function
KR101397176B1 (en) * 2013-09-25 2014-05-19 주식회사 기가코리아 Method for providing usercustomized point of sale service
KR101397175B1 (en) * 2013-09-25 2014-05-19 주식회사 기가코리아 Method for providing usercustomized point of sale service
KR101524668B1 (en) * 2014-02-18 2015-06-01 에스케이 텔레콤주식회사 Method And Apparatus for Data Synchronization
KR102483884B1 (en) * 2016-05-10 2022-12-30 삼성에스디에스 주식회사 Method and apparatus for syncronizing state information of plural terminals
KR102121975B1 (en) * 2018-12-26 2020-06-11 주식회사 엘지씨엔에스 Method for providing actual data through synchronized table and data managing system

Also Published As

Publication number Publication date
KR20050059871A (en) 2005-06-21

Similar Documents

Publication Publication Date Title
RU2337398C2 (en) Method and device for data storage synchronisation in different data storages
CN100437576C (en) Method, system, and apparatus for discovering and connecting to data sources
US7469260B2 (en) File storage service system, file management device, file management method, ID denotative NAS server and file reading method
US6775023B1 (en) Center server, information processing apparatus and method, and print system
US8001077B2 (en) Distributed method for synchronizing and updating bookmarks on multiple computer devices
US20080301166A1 (en) User Profile Management System
US7599959B2 (en) Centralized access and management for multiple, disparate data repositories
CN100580675C (en) Method and apparatus to access heterogeneous configuration management database repositories
EP1965333A2 (en) File server for translating user identifier
JP2002099454A (en) File control system and method
US20100214062A1 (en) Verification apparatus and authentication apparatus
TW200849093A (en) System, method and program to provide data to another program
JP2000163303A (en) Directory data converting method, storage medium stored with directory data converting program, and directory converting server
KR100637927B1 (en) Data synchronization method between terminals with a server
CN101763575A (en) License management apparatus, license management method, and computer readable medium
JPH1115716A (en) Document updation notifying device and document updation notifying method
US7373393B2 (en) File system
JP2002117215A (en) Patent management system
JP2009157506A (en) Content server system
JPH10116293A (en) Decentralized data base management system
CN110543627B (en) Report configuration information storage method and system
JP4153596B2 (en) Content linkage system and content linkage method
CN109325057A (en) Middleware management method, device, computer equipment and storage medium
JP2019153110A (en) Document creation program and information processor
EP1537500A2 (en) Dynamic access to data

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20111007

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee