DATA SYNCHRONIZATION METHOD, SYSTEM, DATA SYNCHRONIZATION SERVER AND TERMINAL
20170322850 · 2017-11-09
Assignee
Inventors
Cpc classification
G06F16/1734
PHYSICS
H04L67/34
ELECTRICITY
G06F16/9535
PHYSICS
H04L67/1095
ELECTRICITY
H04L67/1097
ELECTRICITY
G06F16/955
PHYSICS
H04W4/60
ELECTRICITY
International classification
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.
Claims
1. A data synchronization method, comprising: receiving first summary information uploaded by a first terminal, wherein the first summary information comprises metadata of digital contents, and personalized configuration information of a user, and the metadata of the digital contents comprises 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.
2. The method according to claim 1, further comprising: if the digital contents are not achieved from the content server, determining whether the digital contents have been stored, according to the first summary information; and if the digital contents have been stored, storing storage location information of the digital contents, and if the digital contents have not been stored, generating and transmitting a digital content uploading request message to the first terminal to achieve the digital contents uploaded by the first terminal, wherein the first terminal is configured to upload the corresponding digital contents, according to the digital content uploading request message.
3. The method according to claim 1, further comprising: searching for the first summary information corresponding to the first terminal, according to an information download request transmitted by a second terminal; and generating second summary information corresponding to the second terminal from the first summary information, and transmitting the second summary information to the second terminal.
4. The method according to claim 3, wherein the information download request comprises identity information of the user, and a terminal characteristic parameter of the second terminal; and searching for the first summary information corresponding to the first terminal, according to the information download request transmitted by the second terminal comprises: searching for the first summary information corresponding to the first terminal according to the identity information of the user.
5. The method according to claim 4, wherein generating the second summary information corresponding to the second terminal from the first summary information comprises: determining whether the digital contents corresponding to the first summary information are achieved from the content server, according to the first summary information; and if the digital contents corresponding to the first summary information are not achieved from the content server, searching for the stored digital contents according to the first summary information, adapting the digital contents according to the terminal characteristic parameter, and generating a URL of the adapted digital contents, and generating the second summary information comprising the URL of the adapted digital contents.
6. The method according to claim 5, wherein if the digital contents corresponding to the first summary information are achieved from the content server, the method further comprises: searching the content server for digital contents adaptive to the second terminal, according to the terminal characteristic parameter and the first summary information; and if the digital contents adaptive to the second terminal are found on the content server, achieving a URL of the digital contents adaptive to the second terminal, and generating the second summary information comprising the URL of the digital contents adaptive to the second terminal.
7. The method according to claim 6, wherein if the digital contents adaptive to the second terminal are not found on the content server, the method further comprises: searching the content server for the digital contents corresponding to the first summary information according to the first summary information, adapting the digital contents corresponding to the first summary information according to the terminal characteristic parameter, generating the URL of the adapted digital contents, and generating the second summary information comprising the URL of the adapted digital contents.
8. A data synchronization server, comprising: a receiving module configured to receive first summary information uploaded by a first terminal, wherein the first summary information comprises metadata of digital contents, and personalized configuration information of a user, and the metadata of the digital contents comprises 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.
9. The data synchronization server according to claim 8, further comprising a second determining module, a request information generating module, and a transmitting module, wherein: the second determining module is configured to determine whether the digital contents have been stored, according to the first summary information, if the digital contents are not achieved from the content serve; the storing module is configured to store storage location information of the digital contents if the digital contents have been stored; the request information generating module is configured to generate a digital content uploading request message if the digital contents have not been stored; the transmitting module is configured to transmit the digital content uploading request message to the first terminal; and the receiving module is configured to achieve the digital contents uploaded by the first terminal, wherein the first terminal is configured to upload the corresponding digital contents, according to the digital content uploading request message.
10. The data synchronization server according to claim 8, further comprising an information searching module and a summary information generating module, wherein: the receiving module is configured to receive an information download request transmitted by a second terminal; the information searching module is configured to search for the first summary information corresponding to the first terminal, according to the information download request; the summary information generating module is configured to generate second summary information corresponding to the second terminal from the first summary information; and the transmitting module is configured to transmit the second summary information to the second terminal.
11. The data synchronization server according to claim 10, wherein the summary information generating module comprises: a first determining sub-module configured to determine whether the digital contents corresponding to the first summary information are achieved from the content server, according to the first summary information; a digital content searching sub-module configured to search the storing module for the stored digital contents according to the first summary information, if the digital contents corresponding to the first summary information are not achieved from the content server; an adapting sub-module configured to adapt the digital contents; a URL generating sub-module configured to generate a URL of the adapted digital contents; and a generating sub-module configured to generate the second summary information comprising the URL of the adapted digital contents.
12. The data synchronization server according to claim 11, wherein the summary information generating module further comprises a URL achieving sub-module; the digital content searching sub-module is configured to search the content server for digital contents adaptive to the second terminal, according to a terminal characteristic parameter and the first summary information, if the digital contents corresponding to the first summary information are achieved from the content server; the URL achieving sub-module is configured to achieve a URL of the digital contents adaptive to the second terminal, if the digital contents adaptive to the second terminal are found on the content server; and the generating sub-module configured to generate the second summary information comprising the URL of the digital contents adaptive to the second terminal.
13. The data synchronization server according to claim 12, wherein: the digital content searching sub-module is configured to search the content server for the digital contents corresponding to the first summary information, according to the first summary information, if the digital contents adaptive to the second terminal are not found on the content server; the adapting sub-module is configured to adapt the digital contents corresponding to the first summary information; the URL generating sub-module is configured to generate the URL of the adapted digital contents; and the generating sub-module is configured to generate the second summary information comprising the URL of the adapted digital contents.
14. A data synchronization system, comprising a first terminal and a data synchronization server, wherein: the first terminal is configured to upload first summary information to the data synchronization server, wherein the first summary information comprises metadata of digital contents, and personalized configuration information of a user, and the metadata of the digital contents comprises 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.
15. The system according to claim 14, wherein: the data synchronization server is configured to determine whether the digital contents have been stored, according to the first summary information, if the digital contents are not achieved from the content server; and to store storage location information of the digital contents if the digital contents have been stored, and to generate and transmit a digital content uploading request message to the first terminal to achieve the digital contents uploaded by the first terminal, if the digital contents have not been stored; and the first terminal is configured to upload the corresponding digital contents to the data synchronization server, according to the digital content uploading request message.
16. The system according to claim 14, further comprising a second terminal, wherein: the second terminal is configured to transmit an information download request to the data synchronization server, and to achieve digital contents according to second summary information; and the data synchronization server is configured to search for the first summary information corresponding to the first terminal, according to the information download request transmitted by the second terminal, and to generate from the first summary information and transmit, to the second terminal, second summary information corresponding to the second terminal.
17. The system according to claim 16, further comprising a content server configured to store the digital contents, wherein: the data synchronization server is configured to search the content server for digital contents adaptive to the second terminal, if the digital contents corresponding to the first summary information are achieved from the content server; and to achieve a URL of the digital contents adaptive to the second terminal, to generate the second summary information comprising the URL of the digital contents adaptive to the second terminal, and to transmit the second summary information to the second terminal, if the digital contents adaptive to the second terminal are found on the content server; and the second terminal is configured to download the digital contents adaptive thereto from the content server according to the second summary information.
18. A terminal, comprising: a storing module configured to store summary information, wherein the summary information comprises metadata of digital contents, and personalized configuration information of a user, and the metadata of the digital contents comprises 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.
19. The terminal according to claim 18, further comprising: a request generating module configured to generate a summary information download request; a transmitting module configured to transmit the summary information download request to the data synchronization server; a receiving module configured to receive the summary information transmitted by the data synchronization server; and a downloading module configured to download the corresponding digital contents from the data synchronization server or a content server, according to the summary information transmitted by the data synchronization server, wherein: the storing module is configured to store the summary information transmitted by the data synchronization server, and the download digital contents.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
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
[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
[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
[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
[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
[0057] As illustrated in
[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: [0071] For a contact or a group in the address book [0072] 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.) [0073] A period of time (e.g., 9:00 a.m. to 5:00 p.m. on working days) [0074] 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: [0076] 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. [0077] 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. [0078] 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: [0080] 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):
TABLE-US-00001 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:
TABLE-US-00002 <MediaContentInfo> <Terminal>Nokia_N97_mini</Terminal> <LocID>10C-66006688-1314</LocID > <GID>b8767877-cdef-1234-5678-0123456789ab</ID> <Type>Ring-Alert-Tone</Type> <Author> Faye WONG </Author> <Format>mp3</Format> <Source>12530 Music</Source> <ValidDate>2015-12-31</ValidDate> <URI>http://www.12530.com/rat/_56_2_4/faye/legend4Nk.mp3</ URI> <MediaContentInfo> [0082] 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 [0083] 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):
TABLE-US-00003 <MediaContentInfo> <LocID>10C-66006688-1314</LocID >
<Type>Ring-Alert-Tone</Type> <Author> Faye WONG </Author>
<Source>12530 Music</Source> <ValidDate>2015-12-31</ValidDate>
<MediaContentInfo>
[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. [0085] 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: [0088] 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.):
TABLE-US-00004 <ApplicationInfo> <Terminal>Nokia_N97_mini</Terminal> <GID>b8767870-1234-0123-4567-fedcba0123456</ID> <Type>App-Game</Type> <Author>GameGarden</Author> <Format>sisx</Format> <Source>MM Game</Source> <ValidDate>2015-12-31</ValidDate> <URI>http://mm.10086.cn/_13_12_15/chess/chess4NK.sisx</URI> <ApplicationInfo> [0089] 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 [0090] 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):
TABLE-US-00005 <MediaContentInfo>
<Type> App-Game</Type>
<Source> MM Game</Source> <ValidDate>2015-12-31</ValidDate>
</MediaContentInfo>
[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. [0092] 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.