TSG-Terminals Working Group 3 (USIM) meeting #3	TSGT3#3(99)080
Helsinki 16th - 18th March, 1999	Page 1

Source:  NTT DoCoMo
Title   :  Introduction of ADN Records Synchronization
_____________________________________________________________________________________
Abstract 
In the last WG3 meeting, we proposed synchronization between the ADNs in UIM and external phonebook.(TSGT3#(99)039).This document introduces example of linking and synchronization ADN records related with AP(APT3#2-7).

1.	Identifiers to link and to synchronize records
It is necessary for linking and synchronization records, to store UID (in EFUID) and Last-Used UID
(EFLast-Used UID) in UIM. The detail of these IDs are follows.

 UID: Unique Identifier of each record, assigned to a record in UIM, and ME/PC storage. Basically, the UID values are never reused.
	- 16 bits unsigned integer-holding values from 0 to 65535, enough large for typical use.
	  (This value means, 65535 times new record creation is available.)
	- This value is increased by 1, each time new record is created. The initial value is 0.
	- (If the value goes over 65535, ME/PC shall reassign all of UIDs for all records.)

Last-Used UID: The value of latest assigned UID, means current maximum (latest assigned) value of UID.
	- 16 bits unsigned integer
-	When User create a new record, ME can decide the value of new UID without checking out all existing values of UID in UIM.

2. Usage of UID
2.1 Internal Data Link between Core and Additional data
Whole data of record of one person is divided into Core and Additional data.
- Core data is stored in UIM. It handles basic information for record. (E.g. Name, Dialing number, Second Name, etc.)
- Additional data is stored in ME. It handles various extended information for record.
(It depends on implementation of ME. e.g. Address, Photo, Voice tag, etc.)
They are linked with UID for each record. Fig.1 shows example of linking mechanism.

Note: Database Manager is a function module that manages new UID assignment and put records together.
Fig. 1.	Example of internal data link between ME and UIM

2.2 Synchronization with external devices (e.g. PC)

Synchronization provides a method to compare two databases (Database in ‘PC’ and in ‘ME+UIM’), analyze their differences and modify each database so that the two are identical.

Generally, PC sync application has following function and information.
- Sync Engine: A software application that manages the synchronization process between two or more disparate databases and/or devices.
- UID Table:   A table that contains all of pairs of UIDs between MS side (ME+UIM) records and PC side records, which should be identical.

Since database manager of ME side and Sync engine of PC assign independent UIDs, the UID table is needed to compare two databases between PC and more than two MEs. So, the UID is needed for such synchronization. Fig.2 shows example of synchronization mechanism.