|
SyncML (Synchronization Markup Language) is the former name for a platform-independent information synchronization standard. The project is currently referred to as ''Open Mobile Alliance Data Synchronization and Device Management''. The purpose of SyncML is to offer an open standard as a replacement for existing data synchronization solutions, which have mostly been somewhat vendor-, application- or operating system specific. ==Internals== Syncml works by exchanging commands, which can be requests and responses. As an example: * the mobile sends an Alert command for signaling the wish to begin a refresh-only synchronization* the computer responds with a Status command for accepting the request* the mobile sends one or more Sync command containing an Add sub-command for each item (e.g., phonebook entry); if the number of entries is large, it does not include the * in the latter case, the computer requests to continue with an appropriate Alert message, and the mobile sends another chunk of items; otherwise, the computer confirms it received all data with a Status commandCommands ( Alert , Sync , Status , ecc.) aregrouped into messages. Each message and each of its commands has an identifier, so that the pair MsgID,CmdID uniquely determine a command. Responses like Status commands include the pair identifying the command they areresponding to. Before commands, messages contain a header specifying various data regarding the transaction. An example message containing the Alert commandfor begin a refresh synchronization, like in the previous example, is: 203 The response from the computer could be an xml document like (comments added for the sake of explanation): 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「SyncML」の詳細全文を読む スポンサード リンク
|