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.
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.
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.
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.
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.
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.
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.)
As demonstrated above, the existing mechanism of synchronizing user data suffers from the following problems.
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.
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.
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.
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.
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.
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.
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.
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.
As illustrated in
The terminal stores the following summary information:
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.
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.
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.
There are a number of digital contents in different format stored on the content server for the same digital contents.
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.
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.
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.
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.
As illustrated in
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.
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.
As illustrated in
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.
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.
As illustrated in
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.
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.
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.
As illustrated in
As illustrated in
The technical solution according to the present disclosure will be described below in two particular examples.
I. A Personalized Alarm of an Incoming Call, and Synchronization Across Terminals Based on an Address Book
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:
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:
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:
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
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:
<MediaContentInfo>
<MediaContentInfo>
<MediaContentInfo>
<MediaContentInfo>
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.
II. An Application is Purchased and Migrated Across Terminals
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:
<ApplicationInfo>
<ApplicationInfo>
<MediaContentInfo>
</MediaContentInfo>
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.
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.
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.
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.
Number | Date | Country | Kind |
---|---|---|---|
201210464751.X | Nov 2012 | CN | national |
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's Republic of China on Nov. 16, 2012, the entire content of which is herein incorporated by reference.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2013/086999 | 11/13/2013 | WO | 00 |