Abstract:
Disclosed are a data synchronization method, system, data synchronization server and terminal. A synchronization server determines the source of corresponding digital content according to the brief information uploaded by a user, and determines, according to the source of the digital content, to store the brief information only or further store the storage position information of the digital content or the digital content itself, thus reducing the data traffic for data backup, simplifying data migration difficulty when the user replaces a terminal, and reducing the communication cost of the user and the network resource pressure of a carrier.

Description:
[0001]    This application is a US National Stage of International Application No. PCT/CN2013/086999, filed on Nov. 13, 2013, designating the United States, and claiming priority to Chinese Patent Application No. 201210464751.X, entitled “Data synchronization method and system, data synchronization server, and terminal”, and filed with the State Intellectual Property Office of People&#39;s Republic of China on Nov. 16, 2012, the entire content of which is herein incorporated by reference. 
     
    
     FIELD 
       [0002]    The present disclosure relates to the field of data services and particularly to a data synchronization method and system, a data synchronization server, and a terminal. 
       BACKGROUND 
       [0003]    Mobile terminals are currently widely applied personal information processing and communication devices, and ordinary mobile terminals include handsets, PADs, notebook, computers capable of accessing the Internet, etc. 
         [0004]    For the sake of convenient use, a user typically stores on a mobile terminal various user data, e.g., an address book that stores personal contacts, a schedule, a notebook, multi-media data as well as playlist, downloaded and installed applications, themes and wallpapers downloaded to the terminal, etc. 
         [0005]    Due to the difference of platforms, models, operating systems, etc., between terminals from different vendors, the user data are typically stored in different formats, and when the user replaces one of the terminals or use these terminals concurrently, difference of user data on the different terminals may cause big problem to the users. For example, after the user sets a specific ring tone of an incoming call for some contact in the address book on the handset A, the setting will be lost when the user uses the handset B instead. 
         [0006]    At present, a number of application providers personal user data cloud storage services, e.g., Apple iCloud, Google Drive, DropBox, etc. Apple iCloud and Google Drive provide iPhone and Android handsets respectively with user data backup functions; and DropBox can synchronize a specific folder according to the requirement of the user. 
         [0007]    At present, the SyncML protocol has been defined by the International Standardization Organization, OMA, to provide an effective data synchronization mechanism suitable for data migration between mobile terminals. With the OMA SyncML protocol, a number of terminals can synchronize their address books, schedules, user notebooks and other fundamental information. The user can initiate synchronization on his or her own operation, or one of the terminals or the network can initiate a synchronization request according to a predefined trigger condition. The user data will be stored on another device (e.g., a mobile terminal, a network server, etc.) upon successful synchronization. 
         [0008]    At present there are a number of online application download shops for mobile communication terminals (e.g., Apple App Store, Google Play, Microsoft Store, etc.), and the user can purchase and download a application corresponding to characteristics of his or her terminal (e.g., software and hardware characteristics, the type and the version of the operating system, etc.) at these shops accordingly and install the applications on his or her mobile terminal for use. However, the user, when replacing his or her terminal or upgrading the operating system of the terminal, typically cannot continue his or her use of the purchased application which is still in an authorized valid time, and includes user data (e.g., a use record, a game progression, a reading bookmark, etc.) 
         [0009]    As demonstrated above, the existing mechanism of synchronizing user data suffers from the following problems.
       (1) only the most fundamental information is synchronized, for example, an address book is synchronized by synchronizing only the name and the phone number of a contact without synchronizing any alarm of an incoming call associated with the corresponding contact, so the user replacing his or her terminal has to download or set the information again, thus discouraging the user from replacing his or her terminal;   (2) Terminal platform-specific multimedia contents may not be used across platforms, for example, the user purchases a handset ring tone file (in the mp3 format) onto an Android handset, and synchronizes the ring tone file to DropBox, and further synchronizes the ring tone file from DropBox to an iPhone handset, but the ring tone file can not be used as a ring tone of an incoming call;   (3) A terminal platform-specific application may not be used across platforms, different physical characteristics of terminals (e.g., resolutions, screen sizes, etc.) and different versions of the same operating system, for example, the user purchases a game in an electronic market through an Android 1.5 handset, and if the user replaces the handset with an Android 4.0 handset, then he or she still has to purchase, download and install again the game for further use of the game;   (4) The existing network backup and synchronization mechanism requires a large amount of data traffic and contents storage to be transmitted with the data synchronization server or another terminal, and in the existing 2G/3G radio environment, the synchronization function will significantly consume an amount of data and battery power of the terminal, thus resulting a high use cost; and   (5) Various personalized setting information of the user can not be migrated across terminals, for example, a screensaver of the user, a play list of the user, etc., can not be migrated across platforms, terminals, operating system, etc.       
 
         [0015]    In summary, the existing services of user data synchronization between the mobile terminals synchronizes only the fundamental data and can not accommodate correct migration of the user data across the terminals and the platforms, thus resulting in high cost, complicated operations, high communication fee and a time-consuming synchronization process of the user for replacing his or her terminal, which may greatly degrade the experience of the user and the integrity of the service. 
       SUMMARY 
       [0016]    In order to address the technical problem in the prior art of a large amount of data to be backed up and the difficulty to migrate the data, the present disclosure proposes a data synchronization method and system, a data synchronization server, and a terminal. 
         [0017]    According to an aspect of the present disclosure, there is provided a data synchronization method including: receiving first summary information uploaded by a first terminal, herein the first summary information includes metadata of digital contents, and personalized configuration information of a user, and the metadata of the digital contents includes a source of the digital contents; and determining whether the digital contents are achieved from a content server, according to the source of the digital contents, and if the digital contents are achieved from the content server, storing the first summary information. 
         [0018]    According to another aspect of the present disclosure, there is provided a data synchronization system including a first terminal and a data synchronization server, wherein the first terminal is configured to upload first summary information to the data synchronization server, herein the first summary information includes metadata of digital contents, and personalized configuration information of a user, and the metadata of the digital contents includes a source of the digital contents; and the data synchronization server is configured to determine whether the digital contents are achieved from a content server, according to the source of the digital contents, and to store the first summary information if the digital contents are achieved from the content server. 
         [0019]    According to another aspect of the present disclosure, there is provided a data synchronization server including: a receiving module configured to receive first summary information uploaded by a first terminal, herein the first summary information includes metadata of digital contents, and personalized configuration information of a user, and the metadata of the digital contents includes a source of the digital contents; a first determining module configured to determine whether the digital contents are achieved from a content server, according to the source of the digital contents; and a storing module configured to store the first summary information if the digital contents are achieved from the content server. 
         [0020]    According to another aspect of the present disclosure, there is provided a terminal including a storing module configured to store summary information, herein the summary information includes metadata of digital contents, and personalized configuration information of a user, and the metadata of the digital contents includes a source of the digital contents; and an uploading module configured to upload the summary information and to upload the corresponding digital contents, according to a digital content uploading request message transmitted by a data synchronization server. 
         [0021]    With the data synchronization method and system, the data synchronization server, and the terminal according to the present disclosure, the content server determines the source of the corresponding digital contents according to the summary information uploaded by one of the user terminals, and determines that only the summary information is stored or further the storage location information of the digital contents or the digital contents are stored, according to the source of the digital contents, to thereby reduce the amount of data to be backed up, so as to simplify migration of the data when the user replaces the terminal, and to reduce a communication cost of the user and a burden of the operator on network resources. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0022]      FIG. 1  illustrates a schematic structural diagram of an embodiment of a data synchronization system according to the present disclosure; 
           [0023]      FIG. 2  illustrates a schematic structural diagram of an embodiment of a terminal according to the present disclosure; 
           [0024]      FIG. 3  illustrates a schematic structural diagram of an embodiment of a data synchronization server according to the present disclosure; 
           [0025]      FIG. 4  illustrates a schematic structural diagram of an embodiment of a processing module in the data synchronization server according to the present disclosure; 
           [0026]      FIG. 5  illustrates a schematic flow chart of uploading data in an embodiment of the data synchronization system according to the present disclosure; and 
           [0027]      FIG. 6  illustrates a schematic flow chart of downloading data in an embodiment of the data synchronization system according to the present disclosure. 
       
    
    
     DETAILED DESCRIPTION OF THE EMBODIMENTS 
       [0028]    With the present disclosure, a data synchronization server and a content server at the network side completes the task of synchronizing data across mobile terminals. Some user possesses two terminals including a first terminal (an original terminal) and a second terminal (a new terminal). First summary information is for the first terminal, and second summary information is for the second terminal. The present disclosure will be described below in details with reference to the drawings. 
         [0029]    As illustrated in  FIG. 1 , an embodiment of a data synchronization system according to the present disclosure includes multiple terminals  111  and  112 , an Internet/mobile communication network  12 , a data synchronization server  13 , and a content server  14 . 
         [0030]    The terminal stores the following summary information: 
         [0031]    A. Metadata of digital contents (e.g., ring tones, music, videos, applications, theme desktops, etc.), including names, types, formats, digital digests, sources (including the types of the sources: such as being created by a user, being purchased by the user from the network side, etc.; the addresses URLs of the sources: such as URLs at which the contents are purchased and downloaded, etc.), valid periods of time, etc., of the digital contents. 
         [0032]    B. Personalized configuration information of the user (e.g., ring tone setting based upon contacts in address book, a music playlist, a game progression, a bookmark related to a book the user is reading, etc.): if the setting information includes information related to digital contents, then the identifier ID of the corresponding digital contents is recorded. 
         [0033]    After the user successfully downloads digital contents on the terminal, metadata information of the digital contents is generated and recorded accordingly. After the user successfully customizes personal setting information on the terminal, corresponding personalized configuration information of the user is recorded. For example, when the user sets some song as a specific ring tone of an incoming call, an association relationship between a group in the address book and the song, etc., are recorded. 
         [0034]    There are a number of digital contents in different format stored on the content server for the same digital contents. 
         [0035]    When the user synchronizes data on the first terminal  111  to the server, the first terminal uploads first summary information to the data synchronization server. The data synchronization server determines whether digital contents corresponding to a source of the digital contents are achieved from the content server before, according to the source of the digital contents; and if the digital contents corresponding to the first summary information are achieved from the content server, the first summary information is stored. If the digital contents corresponding to the first summary information are not achieved from the content server, the data synchronization server determines whether the digital contents have been stored before by the user himself/herself or other user, according to the first summary information; and if the digital contents have been stored, the data synchronization server stores storage location information of the digital contents; or if the digital contents have not been stored, the data synchronization server generates and transmits a digital content upload request message to the first terminal, to achieve the digital contents uploaded by the first terminal. The first terminal uploads the corresponding digital contents to the data synchronization server according to the digital content upload request message. 
         [0036]    When the user achieves data on the second terminal  112  from the synchronization server, the second terminal transmits an information download request to the data synchronization server and achieves data contents according to second summary information generated by the data synchronization server. 
         [0037]    The data synchronization server searches for the first summary information corresponding to the first terminal, according to the information download request, and generates the second summary information corresponding to the second terminal according to the first summary information, and then transmits the second summary information to the second terminal. 
         [0038]    If the digital contents corresponding to the first summary information are achieved from the content server previously, the data synchronization server searches from the content server for digital contents that adaptive to the second terminal; and if digital contents adaptive to the second terminal is found on the content server, the data synchronization server achieves a URL of the digital contents adaptive to the second terminal, and generates the second summary information including the URL of the adapted digital contents; and transmits the second summary information to the second terminal. The second terminal then downloads the data contents adaptive thereto from the content server according to the second summary information. 
         [0039]    As illustrated in  FIG. 2 , a particular structure of an embodiment of a terminal according to the present disclosure includes a storing module  21  and an uploading module  22 . 
         [0040]    The storing module stores summary information. The uploading module uploads the summary information, and uploads corresponding digital contents, according to a digital content upload request message transmitted by a data synchronization server. 
         [0041]    The terminal further includes a request generating module  23 , a transmitting module  24 , a receiving module  25 , and a downloading module  26 . The request generating module generates an information download request. The transmitting module transmits the information download request to the data synchronization server. The receiving module receives the summary information transmitted by the data synchronization server. The downloading module downloads corresponding data contents from the data synchronization server or a content server, according to the summary information transmitted by the data synchronization server. 
         [0042]    As illustrated in  FIG. 3 , a particular structure of an embodiment of a synchronization server according to the present disclosure includes a receiving module  31 , a first determining module  32  and a storing module  33 . The receiving module receives first summary information uploaded by a first terminal. The first determining module determines whether digital contents corresponding to the first summary information are achieved from a content server, according to the source of the digital contents. If the digital contents corresponding to the first summary information are achieved from the content server, the storing module stores the first summary information. 
         [0043]    The embodiment of the data synchronization server further includes a second determining module  34 , a request message generating module  35  and a transmitting module  36 . If the digital contents corresponding to the first summary information are not achieved from the content server, the second determining module determines whether the digital contents have been stored, according to the first summary information. If the digital contents have been stored, the storing module stores storage location information of the digital contents. If the digital contents have not been stored, the request message generating module generates a digital content upload request message. The transmitting module transmits the digital content upload request message to the first terminal. The receiving module achieves the digital contents uploaded by the first terminal. 
         [0044]    The embodiment of the data synchronization server further includes an information searching module  37  and a summary information generating module  38 . The receiving module receives an information download request transmitted by a second terminal. The information searching module searches for the first summary information corresponding to the first terminal, according to the information download request. The summary information generating module generates second summary information from the first summary information. The transmitting module transmits the second summary information to the second terminal. 
         [0045]    As illustrated in  FIG. 4 , the summary information generating module particularly includes a first determining sub-module  41 , a digital content searching sub-module  42 , an adapting sub-module  43 , a URL generating sub-module  44 , and a generating sub-module  45 . The first determining sub-module determines whether the digital contents corresponding to the first summary information are achieved from the content server, according to the first summary information. If the digital contents corresponding to the first summary information are not achieved from the content server, the digital content searching sub-module searches the storing module for the stored digital contents, according to the first summary information. The adapting sub-module performs adaptation process on the digital contents. The URL generating sub-module generates a URL of the adapted digital contents. The generating sub-module generates the second summary information including the URL of the adapted digital contents. 
         [0046]    The summary information generating module further includes a URL achieving module  46 . If the digital contents corresponding to the first summary information are achieved from the content server, the digital content searching sub-module searches the content server for digital contents adaptive to the second terminal, according to a terminal characteristic parameter and the first summary information. If digital contents adaptive to the second terminal are found on the content server, the URL achieving module achieves a URL of the digital contents adaptive to the second terminal. The generating sub-module generates the second summary information including the URL of the digital contents adaptive to the second terminal. 
         [0047]    If no digital contents adaptive to the second terminal are found on the content server, the digital content searching sub-module searches the content server for the digital contents corresponding to the first summary information, according to the first summary information. The adapting sub-module performs adaptation process on the digital contents corresponding to the first summary information. The URL generating sub-module generates a URL of the adapted digital contents. The generating sub-module generates the second summary information including the URL of the adapted digital contents. 
         [0048]    The embodiment of the data synchronization method according to the present disclosure generally includes the flow where the user uploads data on the original terminal to the synchronization server, and the flow where the user achieves the data on the new terminal from the synchronization server. These two flows will be described below in details respectively. 
         [0049]    As illustrated in  FIG. 5 , the flow where the user uploads data on the original terminal to the synchronization server includes the following operations:
       Operation  502 : the original terminal uploads only first summary information to the data synchronization server;   Operation  504 : the data synchronization server determines whether digital contents corresponding to the first summary information are achieved from the content server, that is, whether the digital contents specified in metadata of the digital content or personalized configuration information of the user are digital contents purchased or downloaded by the user from the content server at the network side, or digital contents created by the user himself or herself, or digital contents downloaded by the user from a source-unknown server, according to a source of the digital contents; and if digital contents corresponding to the first summary information are achieved from the content server, then the flow proceeds to operation  506 ; if digital contents corresponding to the first summary information are not achieved from the content server, the flow proceeds to operation  508 ;   Operation  506 : the first summary information is stored without synchronizing the corresponding digital contents;   Operation  508 : it is determined whether the digital contents have been stored, according to the first summary information, and if the digital contents have been stored, then the flow proceeds to operation  510 ; otherwise, the flow proceeds to operation  512 ;   Operation  510 : only storage location information of the digital contents is stored without synchronizing the corresponding digital contents;   Operation  512 : a digital content upload request message is generated and transmitted to the original terminal; and   Operation  514 : the original terminal uploads the digital contents to the data synchronization server.       
 
         [0057]    As illustrated in  FIG. 6 , the flow where the user achieves the data on the new terminal from the synchronization server includes the following operations:
       Operation  602 : the new terminal transmits an information download request including identity information of the user (e.g., a username, a password, a certificate, etc.) and a characteristic parameter of the terminal (e.g., a resolution size, supported music/video/ring tone formats, the type of a player, etc.) to the data synchronization server;   Operation  604 : the data synchronization server searches for the first summary information corresponding to the first terminal, according to the identity information of the user;   Operation  606 : the data synchronization server determines whether digital contents corresponding to the first summary information are achieved from the content server, according to the first summary information; and if digital contents corresponding to the first summary information are achieved from the content server, then the flow proceeds to the operation  612 ; otherwise, the flow proceeds to operation  608 ;   Operation  608 : the data synchronization server searches for digital contents stored thereon;   Operation  610 : the data synchronization server performs adaptation process on the digital contents, according to the characteristic parameter of the terminal, and generates a URL of the adapted digital contents; and thereafter the flow proceeds to operation  616 ;   Operation  612 : the data synchronization server determines whether to search the content server for digital contents adaptive to the new terminal; and if the data synchronization server searches the content server for digital contents adaptive to the new terminal, then the flow proceeds to the operation  614 ; otherwise, the flow proceeds to the operation  608 ;   Operation  614 : the data synchronization server achieves a URL of the digital contents adaptive to the new terminal, and thereafter the flow proceeds to the operation  616 ;   Operation  616 : the data synchronization server generates second summary information for the second terminal, according to the achieved URL of the digital contents, that is, sets a source of the digital contents in metadata of the second summary information as the new URL, and replaces an identifier, associated with the digital contents, in the corresponding personalized configuration information of the user;   Operation  618 : the data synchronization server transmits the second summary information to the new terminal; and   Operation  620 : the new terminal downloads the corresponding digital contents from the data synchronization server or the content server, according to the URL of the digital contents in the second summary information.       
 
         [0068]    The technical solution according to the present disclosure will be described below in two particular examples. 
         [0069]    I. A Personalized Alarm of an Incoming Call, and Synchronization Across Terminals Based on an Address Book 
         [0070]    The user may set different incoming call alarms (e.g., a tone, video, picture, etc.) on the terminals under one or any combination of the following conditions:
       For a contact or a group in the address book   For the type of number of an incoming call (e.g., a long-distance call, an international call, a fixed phone, a special service number, etc.)   A period of time (e.g., 9:00 a.m. to 5:00 p.m. on working days)   The geographical position where the user is currently located (e.g., at office, at home, out for business, etc.)       
 
         [0075]    A ring tone is downloaded as an added-value music service offered by an operator, so that the user may download his or her favorite music onto his or her mobile terminal and sets the music as his or her own customized ring tone of an incoming call. The user may download and set the ring tone in the following approaches:
       If the calling user hears his or her favorite color ring tone while dialing to the called user with the personalized ring-back tone (polyphonic ringtone), the calling user may request the network for downloading the music onto his or her handset, through the DTMF button, a function key on the communication interface of the handset, or other manners.   When the user listens to music online on a music Web/WAP website, the user may request for downloading the music onto the handset by operating on the interface.   When the music is played on the client, the user may request for downloading the music onto the handset by operating on the interface.       
 
         [0079]    In view of the situation where it may be troublesome for the user to download and set an alarm of an incoming call (e.g., a ring tone, video, picture, etc.) and impossible to do this across terminals, the present disclosure provides a method of effective synchronization across terminals based upon an address book, which will be described below in details taking downloading of a ring tone as an example:
       1) The user downloads the song “Legend” of Faye WONG as a ring tone on the original Nokia terminal in one of the approaches above (e.g., from the  12530  website) and sets the ring tone as an alarm of an incoming call for the “Workmate” group in the address book, so that the following record of the address book of the terminal is generated in the address book (i.e., digital contents, herein taking the vCard format as an example, X-Ring-ID represents the identifier of the ring tone, which is associated with metadata of the digital contents by LocID):       
 
         [0000]    
       
         
               
             
           
               
                   
               
             
             
               
                 
                   BEGIN:VCARD 
                 
               
               
                 
                   VERSION:4.0 
                 
               
               
                 
                   KIND:group 
                 
               
               
                 
                   FN:Workmate 
                 
               
               
                 
                   MEMBER:urn:uuid:03a0e51f-d1aa-4385-8a53-e29025acd8af 
                 
               
               
                 
                   MEMBER:urn:uuid:b8767877-b4a1-4c70-9acc-505d3819e519 
                 
               
               
                 
                   X-Ring-ID:10C-66006688-1314 
                 
               
               
                 
                   END:VCARD 
                 
               
               
                 
                   BEGIN:VCARD 
                 
               
               
                 
                   VERSION:4.0 
                 
               
               
                 
                   FN:John 
                 
               
               
                 
                   UID:urn:uuid:03a0e51f-d1aa-4385-8a53-e29025acd8af 
                 
               
               
                 
                   END:VCARD 
                 
               
               
                 
                   BEGIN:VCARD 
                 
               
               
                 
                   VERSION:4.0 
                 
               
               
                 
                   FN:Jack 
                 
               
               
                 
                   UID:urn:uuid:b8767877-b4a1-4c70-9acc-505d3819e519 
                 
               
               
                 
                   END:VCARD 
                 
               
               
                   
               
             
          
         
       
     
         [0081]    Together with the following record of the metadata of the digital contents (in the xml format, for example) and a corresponding MP3 file, which are associated with the address book by LocID: 
         [0000]    
       
         
               
             
           
               
                   
               
             
             
               
                 
                   &lt;MediaContentInfo&gt; 
                 
               
               
                    &lt;Terminal&gt;Nokia _N97_mini&lt;/Terminal&gt; 
               
               
                    &lt;LocID&gt;10C-66006688-1314&lt;/LocID &gt;   
               
               
                    &lt;GID&gt;b8767877-cdef-1234-5678-0123456789ab&lt;/ID&gt;   
               
               
                    &lt;Type&gt;Ring-Alert-Tone&lt;/Type&gt;   
               
               
                    &lt;Author&gt; Faye WONG &lt;/Author&gt;   
               
               
                    &lt;Format&gt;mp3&lt;/Format&gt;   
               
               
                    &lt;Source&gt;12530 Music&lt;/Source&gt;   
               
               
                    &lt;ValidDate&gt;2015-12-31&lt;/ValidDate&gt;   
               
               
                    &lt;URI&gt;http://www.12530.com/rat/ _ 56 _ 2 _ 4/faye/legend4Nk.mp3&lt;/   
               
               
                    URI&gt;   
               
               
                 
                   &lt;MediaContentInfo&gt; 
                 
               
               
                   
               
             
          
         
       
       
         
           
             2) The original terminal uploads the address book, and the metadata of the digital contents to the data content synchronization server, according to the requirement of the user or the synchronization request of the network side. Since the media contents in the mp3 format are downloaded by the user from the  12530  website (corresponding to the content server in the present disclosure), the media contents will not be uploaded, to thereby greatly save the amount of data to be communicated by the terminal, so as to lower a communication fee and power consumption of the UE; and 
             3) When the user uses an iPhone as the new terminal, the user firstly initiates an address book synchronization request to the data synchronization server, and the data synchronization server transmits the address book in the vCard format to the terminal, by carrying the “X-Ring-ID” field therein, to indicate the identifier of the ring tone; and also requests the metadata processing module to process the related media file of the ring tone, so that after the identity and the purchase relationship of the user are confirmed upon successful authentication, the data synchronization server determines that the user has the right of access to the ring tone, searches a database of terminal capability characteristics for a type of ring tone file, supported by the iPhone terminal, being .m4r, and interacts with the content server and then knows that this format of ring tone is not adaptive at the  12530  website, and thus achieves the contents of the ring tone in the mp3 format from the  12530  website, invokes the content adapting module to convert the format, and then rewrites the metadata of the digital contents as follows (the modified sections are highlighted in italics): 
           
         
       
     
         [0000]    
       
         
               
             
           
               
                   
               
             
             
               
                 
                   &lt;MediaContentInfo&gt; 
                 
               
               
                             
               
               
                   &lt;LocID&gt;10C-66006688-1314&lt;/LocID &gt;   
               
               
                             
               
               
                   &lt;Type&gt;Ring-Alert-Tone&lt;/Type&gt;   
               
               
                   &lt;Author&gt; Faye WONG &lt;/Author&gt;   
               
               
                             
               
               
                   &lt;Source&gt;12530 Music&lt;/Source&gt;   
               
               
                   &lt;ValidDate&gt;2015-12-31&lt;/ValidDate&gt;   
               
               
                             
               
               
                 
                   &lt;MediaContentInfo&gt; 
                 
               
               
                   
               
             
          
         
       
     
         [0084]    After the metadata are processed, the data synchronization server transmits the new metadata of the media to the new terminal. The new terminal initiates a request to the specified URL for achieving the contents in the m4r format upon reception of the metadata of the media.
       4) After the contents of the media are achieved successfully and stored in a specified location, the address book is scanned again, and a ring tone setting API interface is invoked to set the corresponding ring tone into the specified user group “Workmate”. Thus the personalized alarm of an incoming call has been set and synchronized across the terminals based upon the address book.       
 
         [0086]    II. An Application is Purchased and Migrated Across Terminals 
         [0087]    The user may purchase and download an application at a mobile shopping mall (e.g., Mobile Market, Android Electronic Market, etc.), but the application downloaded by the user typically may not be migrated onto the new terminal when the terminal is replaced, so the present disclosure provides a method of effective migration of an application across terminals:
       1) The user purchases and installs a “Chinese Chess Game” based upon the Symbian operating system from a mobile application shop, and then the following record of metadata of the digital contents is generated on the terminal (in the xml format, e.g.):       
 
         [0000]    
       
         
               
             
           
               
                   
               
             
             
               
                 
                   &lt;ApplicationInfo&gt; 
                 
               
               
                    &lt;Terminal&gt;Nokia _ N97 _ mini&lt;/Terminal&gt;   
               
               
                    &lt;GID&gt;b8767870-1234-0123-4567-fedcba0123456&lt;/ID&gt;   
               
               
                    &lt;Type&gt;App-Game&lt;/Type&gt;   
               
               
                    &lt;Author&gt;GameGarden&lt;/Author&gt;   
               
               
                    &lt;Format&gt;sisx&lt;/Format&gt;   
               
               
                    &lt;Source&gt;MM Game&lt;/Source&gt;   
               
               
                    &lt;ValidDate&gt;2015-12-31&lt;/ValidDate&gt;   
               
               
                    &lt;URI&gt;http://mm.10086.cn/ _ 13 _ 12 _ 15/chess/chess4NK.sisx&lt;/URI&gt;   
               
               
                 
                   &lt;ApplicationInfo&gt; 
                 
               
               
                   
               
             
          
         
       
       
         
           
             2) The original terminal synchronizes the metadata of the digital contents to the data content synchronization server according to the requirement of the user or the synchronization request of the network side. Since the game application is downloaded by the user from the “mm” website (corresponding to the content server in the present disclosure), the digital contents will not be uploaded, to thereby greatly save the amount of data to be communicated by the terminal, so as to lower a communication fee and power consumption of the terminal; and 
             3) When the user uses an Android handset as the new terminal, the user firstly initiates an application migration request to the data synchronization server, and the data synchronization server requests the metadata processing module to process the related application, so that after the identity and the purchase relationship of the user are confirmed upon successful authentication, the data synchronization server determines that the user has the right of access to the game application, and since the application in the sisx format may not be installed on Android, the data synchronization server interacts with the content server to achieve the Android version of the game, and then rewrites the metadata of the digital contents as follows (the modified sections are highlighted in italics): 
           
         
       
     
         [0000]    
       
         
               
             
           
               
                   
               
             
             
               
                 
                   &lt;MediaContentInfo&gt; 
                 
               
               
                             
               
               
                             
               
               
                   &lt;Type&gt; App-Game&lt;/Type&gt;   
               
               
                             
               
               
                   &lt;Source&gt; MM Game&lt;/Source&gt;   
               
               
                   &lt;ValidDate&gt;2015-12-31&lt;/ValidDate&gt;   
               
               
                             
               
               
                 
                   &lt;/MediaContentInfo&gt; 
                 
               
               
                   
               
             
          
         
       
     
         [0091]    After the metadata are processed, the data synchronization server transmits the new metadata of the media to the new terminal. The new terminal initiates a request to the specified URL to achieve the application upon reception of the metadata of the media.
       4) After the contents of the media are achieved successfully and stored in the specified location, a prompt is given to the user for installation of the application. Thus the application has been migrated across terminals.       
 
         [0093]    With the data synchronization method and system, the data synchronization server, and the terminal above according to the present disclosure, the metadata of the digital contents are configured, so that the data may be uploaded and downloaded, and it may be determined whether the terminal needs to upload the digital contents to the synchronization server and where the terminal downloads the digital contents, according to the source of the digital contents, to thereby lower the amount of data to be backed up, so as to save a storage space of the synchronization server, to simplify migration of the data when the user replaces the terminal, and to lower a communication cost of the user, and a burden of the operator on network resources. 
         [0094]    It is also possible to address the problem of the impossibility to use the digital contents and the personalized configuration information of the user across the terminals, and to avoid the problem of only synchronizing the contents without associating the contents with the function and the characteristic of the terminal in existing cloud storage, so as to automatically adapt the digital contents and the applications when the terminal is replaced, to thereby improve an experience of the service. 
         [0095]    It shall be noted that the embodiments above are merely illustrative of but not intended to limit the present disclosure, and any technical solutions and modifications thereof which can occur without departing from the spirit and scope of the present disclosure shall fall into the scope of the present disclosure as defined in the accompanying claims.