CN101808133A - Method and terminal for synchronizing dynamic content distribution business data - Google Patents

Method and terminal for synchronizing dynamic content distribution business data Download PDF

Info

Publication number
CN101808133A
CN101808133A CN 201010132316 CN201010132316A CN101808133A CN 101808133 A CN101808133 A CN 101808133A CN 201010132316 CN201010132316 CN 201010132316 CN 201010132316 A CN201010132316 A CN 201010132316A CN 101808133 A CN101808133 A CN 101808133A
Authority
CN
China
Prior art keywords
channel
picture
item
dcd
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 201010132316
Other languages
Chinese (zh)
Inventor
梁顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN 201010132316 priority Critical patent/CN101808133A/en
Publication of CN101808133A publication Critical patent/CN101808133A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method and a terminal for synchronizing dynamic content distribution (DCD) business data to solve the technical problems of larger network load, greater system resource waste and low data synchronization efficiency during the data synchronization process of the prior art. The method comprises the following steps: a DCD business terminal receives a data synchronization message sent down by a DCD server, wherein the data synchronization message carries channels needing to be updated, identification information of channel items and content information thereof; and the DCD terminal synchronizes the channels and the content information of the channel items stored by the DCD terminal according to the identification information and the content information carried by the data synchronization information. By adopting the technical scheme of the invention, network load is reduced, system source is saved and data synchronization efficiency is improved.

Description

Method that a kind of dynamic content distribution business data is synchronous and terminal
Technical field
The present invention relates to the communications field, relate in particular to the synchronous method of a kind of dynamic content distribution business data, have the terminal of DCD function.
Background technology
DCD (Dynamic Content Deliverery, dynamic content distribution service), be meant that business platform obtains data service in the predefined time to content source, and the data service that obtains is distributed to portable terminal with the form of channel and channel item by specific trigger mechanism.Trigger mechanism can comprise following several mode: a kind of mode is, whenever carry out dynamic content distribution business data synchronously after, business platform is set the synchronous time of dynamic content distribution business data next time, so that the DCD terminal sends the data service request to business platform when the time of this setting arrives; Another kind of mode is, when the user need carry out dynamic content distribution business data when synchronous, portable terminal by its place sends data synchronization request to business platform, and according to this request corresponding data service is sent to portable terminal by business platform, can initiatively add interested channel by the portable terminal of supporting dynamic content distribution service as the user, receiving channels content (weather, stock, information etc.), and on the dynamic content distribution service window roll display, the user can obtain more detailed information by the browser of portable terminal after choosing each channel item; Another mode is, business platform initiatively is pushed to the user with data service, and carries out dynamic content distribution business data when synchronous the user, this data service is handed down to the portable terminal at user place.
Content source, be meant that content supplier is (as the DCD server, be business platform), be used to provide the content information (comprising channel ID, channel designation, channel summary, channel picture etc.) and the channel item content information (comprising channel item ID, channel item title, channel item summary, channel item picture etc.) of channel.
Channel is meant the set that comprises some contents such as same theme information, be in the dynamic content distribution service content tissue and the distribution form, its base attribute comprises channel designation, channel picture and channel summary etc.
Channel item is the wherein particular content (channel comprises a plurality of channel item) in a certain channel, for example concrete News Stories; The base attribute of channel item comprises channel item title, channel item picture and channel item summary etc.
Incremental update, be meant the portable terminal that is provided with the dynamic content distribution service function according to the synchrodata of obtaining from business platform, dynamically update the content information (this content information comprises text message (as channel ID, channel designation, channel summary etc.) and channel pictorial information) of the channel of the local storage of this portable terminal and the content information (content information comprises text message (as channel item ID, channel item title, channel item summary etc.) and channel item pictorial information) of channel item.
At present, the method that the content information of the channel of terminal (the follow-up DCD of being called terminal) with dynamic content distribution service storage and channel item is carried out data sync as shown in Figure 1, this method may further comprise the steps:
Step 101, in the time need carrying out data sync with channel item information to the channel of DCD terminal (being meant terminal equipment) storage with DCD function, the DCD terminal is to DCD server transmission data synchronization request.
Step 102, DCD server (this DCD server is a content source) receive after the data synchronization request of above-mentioned DCD terminal transmission, send data sync response to this DCD terminal of initiating data synchronization request.
Data sync response in this step can be carried on an XML (Extensible MarkupLanguage, extend markup language) formatted file is sent to the DCD terminal, at each channel, this XML formatted file comprises ID value, title, the summary of this channel, the ID value of channel picture, and ID value, title, summary, the ID value of channel item picture etc. of each channel item in this channel.
After step 103, DCD terminal receive the XML formatted file of this DCD transmission, from this XML formatted file, parse the channel that this data sync provides and the content information (comprising text message and picture identification information) of channel item, and the channel that goes out of storing and resolving and the content information of channel item.
Step 104, DCD terminal send the data download request to the DCD server.
In this step, comprise the identification information (as the ID value) of channel picture and the identification information (as the ID value) of channel item picture in the data download request.
Step 105, DCD server send data to the DCD terminal of initiating the data download request and download response according to the data download request that receives, and these data are downloaded the picture that carries the identification information correspondence in the step 104 in the response.
Step 106, DCD terminal be all channels of himself storage and the content information and the picture deletion of channel item, and the picture that the channel that the DCD server is issued and the content information and the download of channel item obtain is stored in this locality with the specific format of channel and channel item.
Adopt above-mentioned flow process that the text message of channel in the DCD terminal and channel item and pictorial information are upgraded and have following defective: because before the business platform upgrading, dynamic content distribution service whenever carries out Data Update one time, all need all channels of this locality storage are deleted with picture with the content information of channel item, and obtain the XML file that comprises whole channels and channel item content and from the whole picture file of server end download from business platform; Therefore, adopt this kind mode to have that offered load is big, system resource waste is big and technical problem such as data synchronization efficiency is lower.
Summary of the invention
The invention provides synchronous method of a kind of dynamic content distribution business data and terminal, so that in the process of dynamic content synchronizing traffic data, the efficient of reduce offered load, saving system resource and improving data sync.
The method that a kind of dynamic content distribution business data is synchronous comprises:
Dynamic content distribution service DCD terminal receives the data synchronization message that the DCD server issues, and carries the channel of needs renewal and the identification information and the content information thereof of channel item in this data synchronization message;
Identification information and described content information that the DCD terminal is carried according to described data synchronization message carry out simultaneous operation to the channel of this DCD terminal storage and the content information of channel item.
A kind of terminal with dynamic content distribution service function comprises:
Transceiver module is used to receive the data synchronization message that dynamic content distribution service DCD server issues, and carries the channel of needs renewal and the identification information and the content information thereof of channel item in this data synchronization message;
Synchronization module is used for the identification information and the described content information that carry according to the described data synchronization message that described transceiver module receives, and the channel of this DCD terminal storage and the content information of channel item are carried out simultaneous operation.
In the embodiment of the invention, in data synchronization process, the DCD server carries the channel of needs renewal and the identification information and the content information thereof of channel item in the data synchronization message that the DCD terminal sends, therefore, the DCD terminal is when receiving this data synchronization message, at channel that does not need to upgrade and channel item, then can directly keep; At channel and the channel item that needs upgrade, then the corresponding channel and the channel item of this locality storage are upgraded according to the content information that carries in the data synchronization message.Therefore, adopt technical solution of the present invention, on the one hand, the DCD server only will need the channel that upgrades and the content information of channel item to be handed down to the DCD terminal, therefore, with prior art DCD server all channels and the content information of channel item are handed down to the DCD terminal and compare, reduced offered load and saved system resource; In addition, the DCD terminal keeps and not to need the channel that upgrades and the content information of channel item, only need the channel of needs renewal and the content information of channel item are upgraded, need upgrade with the content information of channel item all channels with prior art DCD terminal and to compare, improve the efficient of data sync, reduced the data sync time delay.
Description of drawings
Fig. 1 realizes the synchronous method flow diagram of dynamic content distribution business data in the prior art;
Fig. 2 realizes the synchronous method flow diagram of dynamic content distribution business data in the embodiment of the invention;
Fig. 3 is for determining the method flow diagram that does not need the channel item upgraded in the embodiment of the invention from the XML file;
Fig. 4 is the structural representation of DCD terminal storage channel and channel item in the embodiment of the invention;
Fig. 5 is the structural representation of DCD terminal in the embodiment of the invention.
Embodiment
At the above-mentioned technical problem that exists in the prior art, the embodiment of the invention provides a kind of dynamic content distribution business data synchronous method, this method mainly comprises: in data synchronization process, the DCD server sends data synchronization message to the DCD terminal, because the DCD server all is to adopt the XML formatted file to send to DCD terminal transmission synchrodata at present, therefore, data synchronization message can be carried in the embodiment of the invention and be sent to the DCD terminal in the XML file, comprise in this XML file that the DCD terminal needs the identification information and the content information thereof of the channel that upgrades and channel item (channel and channel item that needs upgrade be meant, needs the channel replaced and channel item and channel and channel item that need interpolation) in this data sync; The DCD terminal is carried out simultaneous operation according to described XML file to the channel of this locality storage and the content information of channel item.In the embodiment of the invention, the DCD terminal is carried out simultaneous operation to the content information of the channel of this locality storage and channel item and comprised following operation: (channel and the channel item of the replacement of what is called needs can be defined as follows: identification information not only is included in the DCD terminal but also be included in described data synchronization message to the channel that the DCD terminal is replaced according to the needs that carry in the XML file with channel item, and content information is included in channel and channel item in the described data synchronization message) identification information and content information thereof, the channel corresponding with described identification information of this locality storage and the content information of channel item are upgraded; The channel that do not need to upgrade and the content information of channel item are kept; With the channel of the needs deletion of this locality storage and the content information deletion (so-called channel and the channel item that needs delete can be defined as follows: identification information is included in the DCD terminal, and is not included in channel and channel item in the described data synchronization message) of channel item; The channel that the DCD terminal storage need be added and the content information of channel item (so-called channel and the channel item that needs to add can be defined as follows: identification information is included in the described data synchronization message, and is not included in the channel and the channel item of described DCD terminal).
Preferably, DCD terminal in the embodiment of the invention is also carried out simultaneous operation according to the XML file that receives to channel picture and the channel item picture of this locality storage, and simultaneous operation can comprise following operation: content information comprises the picture identification information of channel item of picture identification information, the needs renewal of the channel of needs renewal; The DCD terminal keeps local storage and described more new channel channel picture and the channel item picture corresponding with the channel item identification information that do not need; DCD terminal traversal does not need all channels the more new channel and channel item and the picture of channel item except this locality storage, channel picture and the channel item picture corresponding that keep local storage with picture identification information in the described XML file, the channel picture of the needs deletion of the local storage of deletion and channel item picture (need channel picture and the channel item picture of deletion can be defined as follows: identification information is included in the DCD terminal but is not included in channel picture and channel item picture in the described data synchronization message), and the DCD terminal increases channel picture and channel item picture newly from DCD server download XML file (the channel picture and the channel item picture that increase newly can be defined as follows: the picture identification information of carrying in all channel pictorial informations that the DCD terminal is stored this locality and channel item pictorial information and the described data synchronization message compares; Identification information is included in the data synchronization message but the channel picture and the channel item picture that do not wrap in the DCD terminal is the picture that increases newly) the channel picture and channel item picture (the channel picture and the channel item picture that need replacement replaced with needs, can be defined as follows: identification information not only is included in the DCD terminal but also is included in described data synchronization message, and content information is included in channel picture and channel item picture in the described data synchronization message).
For clearer, more detailed description technical solution of the present invention, the embodiment of the invention is described in detail below in conjunction with Figure of description.
Referring to Fig. 2, for realizing the synchronous method flow diagram of dynamic content distribution business data in the embodiment of the invention, this flow process comprises:
Step 201, DCD terminal send data synchronization request to the DCD server.
Step 202, the DCD terminal receives the XML file that the DCD server issues, and this XML file comprises: this data sync does not need the channel of DCD terminal renewal and the identification information of channel item thereof, need the channel of DCD terminal renewal and the identification information of channel item thereof, (this content information comprises channel designation to the content information of the channel that need upgrade, the channel summary, channel type, channel picture identification etc.) and the content information of the channel item of need upgrading (this content information comprises channel item ID value, the channel item title, the channel item summary, channel item type and channel item picture identification etc.).
The XML file that step 203, DCD end-on are received is resolved, and according to the information that parses the channel of this DCD terminal storage and the content information of channel item is carried out simultaneous operation.
In this step, the channel and the channel item of the local storage of DCD terminal are carried out simultaneous operation, specifically comprise:
The DCD terminal keeps the channel corresponding with described identification information of local storage and the content information of channel item according to the channel of the not needs renewal of carrying in the XML file and the identification information of channel item; According to the channel of the needs replacement of carrying in the XML file and the identification information and the content information thereof of channel item, channel to the respective identification correspondence of this locality storage upgrades with the content of channel item, and the channel of the needs that carry in storing X ML file interpolation and the content information of channel item; And, for the expired channel of this locality storage and channel item (promptly need delete channel and channel item) deletion.
In the embodiment of the invention, being not limited in to carry in data synchronization message does not need the channel that upgrades and the identification information of channel item, and needs the channel that upgrades and the identification information of channel item; The embodiment of the invention can also be that DCD terminal and DCD server are made an appointment, in data synchronization message, only carry the channel of needs renewal and the identification information and the content information thereof of channel item, the DCD terminal keeps for the identification information that does not have in the data synchronization message, and only the content information to corresponding channel of the identification information that carries in the data synchronization message and channel item carries out simultaneous operation; Also or, DCD terminal and DCD server are arranged in advance, carry the channel that the DCD terminal need increase newly and the identification information and the content information of the identification information and the content information of channel item, the channel that needs the DCD terminal substitution and channel item, channel and the identification information of channel item, the expired channel that needs the DCD terminal deletion and the identification information of channel item etc. that do not need the DCD terminal to upgrade in data synchronization message.Do not need the channel that upgrades and the content information of channel item no matter which kind of mode the DCD server takes keep it with indication DCD terminal, and indicate the DCD terminal only to upgrade the channel of needs renewal and the content information of channel item, all can be included in the scope of the embodiment of the invention.
Preferably, be the integrality that channel picture and the channel item picture that further improves this locality storage upgrades, above-mentioned flow process also comprises step 204~205:
Step 204, DCD terminal send the picture download request to the DCD server, carry the channel picture identification information and the channel item picture identification information that increase newly in the XML file and need replacement in this request.
Step 205, DCD terminal receive that the DCD server issues with step 204 in the corresponding picture of picture identification information, and upgrade the picture of local storage; Expired channel picture and the deletion of channel item picture with this locality storage.
For the more detailed those skilled in the art of making can understand technical solution of the present invention, with a concrete example technical solution of the present invention is described in detail below.
Be provided with the data structure that is used for the analyzing XML file in the DCD terminal in advance.The DCD terminal receives after the XML file that the DCD server issues, this XML file is resolved, and the content information of the channel that parses is stored in the channel chained list (representing with XML_FEED_LIST_T), in the content information storing value channel item chained list (representing) with the channel item that parses with XML_ENTRY_LIST_T.Need to prove, include the channel item type attribute in the channel item chained list of mentioning in the embodiment of the invention, it is the channel item that the channel item of plain text or text and picture combine that the type attribute is used to indicate channel item.Definition channel chained list and channel item chained list can be realized by following code in the embodiment of the invention:
typedef?struct?XML_FEED_LIST_T
{
XML_FEED_T*feed;
struct?XML_FEED_LIST_T*next;
XML_FEED_LIST_T; // channel chained list
typedef?struct
{
Unsigned char*id; // channel id
Unsigned char*title; // channel designation
Unsigned char*summary; // channel summary
Unsigned char*content_id; // channel picture id
XML ENTRY_LIST_T*entry_list; Channel item chained list in the // channel
XML_FEED_T; The data structure of each channel information of // record
typedef?struct?XML_ENTRY_LIST_T
{
XML_ENTRY_T*entry;
stuct?XML_ENTRY_LIST_T*next;
XML_ENTRY_LIST_T; // channel item chained list
typedef?struct
{
Unsigned char*id; // channel item id
Unsigned char*title; // channel item title
Unsigned char*summary; // channel summary
Unsigned char*content_id; // channel item picture id
Unsigned char*type; // channel item type
XML_ENTRY_T; The data structure of each channel item information of // record
Preferably, because the sign (as the ID value) of channel and channel item is overall unique variable, therefore, for improving the accuracy and the efficient of data sync, in the DCD terminal, at each channel, set up the file of the content information be used to store this channel, the file name of this document folder is consistent with the ID value of channel; And, at each channel item that this channel comprised, in this document folder, set up the file of the content information that is used to store this channel item, the file name of this document is consistent with the ID value of this channel item; Concrete structure as shown in Figure 4.
Preferably, for improving the efficient that channel picture, channel item picture are searched for, inquired about, in the DCD terminal, at each channel picture, set up the file that is used to store this channel picture, the file name of this document folder is consistent with the ID value of channel picture; And, at each channel item that this channel comprised, in this document folder, set up the file that is used to store this channel item picture, the file name of this document is consistent with the ID value of this channel item picture.
In the embodiment of the invention, comprise two parts content in the XML file, first's content is all channels that this data sync comprised and the ID value of channel item thereof; (this content information comprises channel ID value to the second portion content for this data sync needs the content information of the channel that the DCD terminal upgrades, channel designation, the channel summary, the sign (as the ID value) that needs the channel item upgraded in channel picture identification and this channel, (this content information comprises the channel item title to the content information of the channel item that need upgrade, the channel item summary, channel item picture identification etc.)), and the ID value of the channel that upgrades of this needs be stored among the data structure chained list XML_FEED_LIST_T (the ID value of the channel that to be the ID value of storing among the data structure chained list XML_FEED_LIST_T need upgrade for this data sync).
The specific implementation of above-mentioned steps 203 can be by flow process realization as shown in Figure 3, and this flow process comprises:
Step 301, DCD terminal are resolved the XML file, and with the information stores of the channel that parses and channel item to preset data structure, as: channel information is stored in the channel linked list data structure, in channel item information stores value channel item linked list data structure.
Step 302, DCD terminal are determined the channel that this data sync need be upgraded from the XML file; And at each channel of determining, determining this data sync in this channel does not need the channel item upgraded.
In this step, determine the local channel that needs renewal of this data sync, be specially: the corresponding channel of ID value with storing among the data structure chained list XML_FEED_LIST_T is defined as the channel that this data sync need be upgraded.
In this step,, determine the channel item that this data sync does not need to upgrade in this channel and be specially: travel through the channel item chained list of this channel correspondence, and obtain the type attribute of each channel item at each channel; The type value of channel item type attribute is not needed the channel item upgraded for empty channel item is defined as this data sync, and not needing of will determining the channel item upgraded the ID value be stored to and (represent) in first chained list with entry_id_list; The type value of channel item type attribute is defined as the channel item that this data sync need be upgraded for the channel item of non-null value.
Preferably, in order better to determine the picture that does not need the channel item upgraded, above-mentioned steps also comprises: according to the ID value that writes down among the entry_id_list, the file that is used to write down channel item information of the local storage of DCD terminal traversal, from each file, find the file name subfile identical (this subfile is the file of the channel item content DCD terminal storage, that be used to preserve this ID value), and the ID value of the channel item picture in this subfile is stored in second chained list (represents) with entry_content_id_list with ID value among the entry_id_list.
Step 303, DCD terminal are determined this data sync this locality from the XML file do not need the channel that upgrades.
In this step, determining this data sync does not need the channel that upgrades, is specially: the ID value of obtaining all channels that comprise in the XML file; At each the channel ID value that gets access to, ergodic data structural chain Table X ML_FEED_LIST_T, if in data structure chained list XML_FEED_LIST_T, do not find the ID value of this channel, then determine the channel of the corresponding channel of this ID value for not needing to upgrade, and not needing of will determining the channel that upgrades the ID value be stored in the 3rd chained list and (represent) with feed_id_list.
Preferably, do not need the channel that upgrades at each that determine, the DCD terminal is according to Record ID value among the feed_id_list, the file that is used to write down channel information of the local storage of traversal (i.e. the file of naming with channel ID value), obtain file name respectively with feed_id_list in the identical file of ID value that writes down, and the ID value of the channel picture in the file that gets access to be stored in the 4th chained list (represent) with feed_content_id_list; At each file that gets access to, each file in the traversal this document folder (file in this document folder respectively with for the channel item that this channel comprised corresponding one by one, and be used to store the content information of the channel item corresponding with it), and the ID value of the channel item picture in this document is stored among the entry_content_id_list.
Preferably, for the picture of more perfect realization to the DCD terminal storage upgrades, the DCD terminal with in the XML file in second chained list with the 4th chained list in the ID value of other channel pictures the ID value of the channel picture that writes down and channel item picture and channel item picture store in the 5th chained list and (represent) with download_ids.
Need to prove that above-mentioned steps 302 does not have strict regulation with step 303 on sequential, both can first execution in step 302 execution in step 303 again, also can be first execution in step 303 execution in step 302 again.
Step 304, DCD terminal are stored to the channel ID value the ID value that writes down in the XML file and channel item ID value in the 6th chained list in feed_id_list and entry_id_list (represents with feed_changed_id_list) that corresponding channel and the channel item of the ID value that writes down among this feed_changed_id_list is channel and the channel item that this data sync need be upgraded.
Channel in the identical file of the ID value that writes down in the file name that step 305, DCD terminal keep local storage and first chained list, the 3rd chained list, the content information of channel item; The DCD terminal file that all ID values in the file name of this locality storage and the XML file are all inequality is deleted, and what write down in this document is expired channel content information, channel item content information; The DCD terminal is upgraded the corresponding channel of this locality storage and the content information of channel item according to the ID value that writes down in second portion content in the XML file and the 6th chained list.
In this step, the DCD terminal is upgraded the corresponding channel of this locality storage and the content information of channel item, be specially: the DCD terminal travels through the ID value in the 6th chained list, if during the consistent file of the ID value that writes down in this locality exists file name and the 6th chained list, then the content information of this document of this locality being stored according to the content information of corresponding ID value correspondence in the second portion content in the XML file upgrades; If the consistent file of ID value that in this locality does not exist file name and the 6th chained list, writes down, then set up the file name file consistent with this ID value in this locality, and the content information of the corresponding ID value correspondence in this XML file second portion content is stored in this newly-established file, as, need the new channel that adds at each, set up the file of the content information be used to store this channel in this locality, the file name of this document folder is consistent with the ID value of this channel in the XML file, and, at each channel item in this channel, set up the file of the content information that is used to store this channel item in this document folder, the file name of this document is consistent with the ID value of this channel.
The channel picture picture corresponding in step 306, the DCD terminal storage XML file except that the ID value that writes down in second chained list and the 4th chained list with the ID value of channel item picture; Channel picture, channel item picture in the consistent file of the ID value that writes down in the file name that the DCD terminal keeps local storage and second chained list, the 4th chained list; The DCD terminal is downloaded the corresponding picture of ID value the 5th chained list from the DCD server, and the picture that obtains is downloaded in storage.
Need to prove that above-mentioned steps 305, step 306 do not have strict regulation on the sequential of carrying out.
Need to prove that the embodiment of the invention is not limited in channel and channel item identification information and the content thereof that needs renewal by carrying in data synchronization message
Based on the identical design of said method flow process, the embodiment of the invention also provides a kind of DCD terminal, and the structure of this DCD terminal as shown in Figure 5.
Referring to Fig. 5, be the structural representation of a kind of DCD terminal in the embodiment of the invention, this DCD terminal comprises transceiver module 51, synchronization module 54, wherein:
Transceiver module 51 is used to receive the data synchronization message that the DCD server issues, and carries the channel of needs renewal and the identification information and the content information thereof of channel item in this data synchronization message.
Synchronization module 54 is used for the identification information and the described content information that carry according to the described data synchronization message that transceiver module 51 receives, and the channel of this DCD terminal storage and the content information of channel item are carried out simultaneous operation.
Preferably, because in actual applications, the data synchronization message that the DCD server sends to the DCD terminal is carried in the XML file and sends, and therefore, for further improving practicality, the DCD terminal in the embodiment of the invention also comprises parsing module 52, wherein:
Transceiver module 51 has particular application as: receive the data synchronization message that the DCD server issues, this data synchronization message is carried on the XML file, and this data synchronization message comprises that this data sync needs the content information of the channel item of the content information of the identification information of channel that the DCD terminal upgrades and channel item thereof, channel that needs upgrade and needs renewal.
Parsing module 52, the XML file that is used for transceiver module 51 is received is resolved, and parses the content information that this data sync needs the channel item of the content information of the identification information of channel that the DCD terminal upgrades and channel item thereof, channel that needs upgrade and needs renewal.
Synchronization module 54 has particular application as: according to the information that parsing module 52 parses the corresponding channel of this DCD terminal storage and the content information of channel item are carried out simultaneous operation.
Preferably, above-mentioned terminal also comprises judges determination module 53, wherein:
Judge determination module 53, be used for before the content information of the channel of 54 pairs of storages of synchronization module and channel item carries out simultaneous operation, the identification information that carries in the identification information of all channels and channel item and the described data synchronization message is stored in this locality compare; And, determine channel and channel item, the channel of needs interpolation and the channel and the channel item of channel item and needs deletion that needs are replaced according to comparative result.
Judge and to have particular application as determination module 53: the identification information that carries in the identification information of all channels and channel item and the described data synchronization message is stored in this locality compare; Identification information not only is included in the DCD terminal but also is included in described data synchronization message, and channel and channel item that content information is included in the described data synchronization message are defined as channel and the channel item that needs are replaced; Identification information is included in the described data synchronization message, and is not included in the channel of described DCD terminal and channel and the channel item that channel item needing to be defined as interpolation; Identification information is included in the DCD terminal, and the channel and the channel item that are not included in the described data synchronization message are defined as channel and the channel item that needs are deleted.
Divide according to function, also synchronization module 54 can be divided into and add submodule 541, deletion submodule 542 and replace submodule 543, wherein:
Add submodule 541, be used for storing the channel that needs that described data synchronization message carries add and the content information of channel item.
Preferably, adding submodule 541 interpolation channels and channel item is specially: need the new channel that adds at each, set up the file of the content information be used to store this channel in this locality, the file name of this document folder is consistent with the ID value of this channel in the XML file; And, at each channel item in this channel, in this document folder, set up the file of the content information that is used to store this channel item, the file name of this document is consistent with the ID value of this channel.
Replace submodule 543, the channel that the needs that are used for that described data synchronization message is carried are replaced and the content information of channel item are replaced the corresponding channel of described DCD terminal storage and the content information of channel item.
Deletion submodule 542 is used for the channel of judging the needs deletion of the DCD terminal storage that determination module 53 is determined is deleted with the content information of channel item.
Preferably, judge that determination module 53 is further used for, the picture identification information of carrying in all channel picture identification informations of this locality storage and channel item picture identification information and the described data synchronization message is compared; And, according to comparative result, determine channel picture and the channel item picture that need replace, the channel picture and the channel item picture that need channel picture and the channel item picture that adds and need to delete.
Transceiver module 51 is further used for, and sends the data download request to described DCD server, and carrying in this request needs the channel picture and the identification information of channel item picture replaced, and the channel picture that need interpolation and the identification information of channel item picture; Terminal receive that described DCD server issues with described data download request in the corresponding channel picture of identification information and the channel item picture that carry;
Add submodule 541 and be further used for, store channel picture and channel item picture that needs that described transceiver module receives increase;
Replace submodule 543 and be further used for, channel picture and channel item picture that the needs that receive according to transceiver module are replaced, the corresponding channel picture and the channel item picture of replacement DCD terminal storage;
Deletion submodule 542 is further used for, and deletes the channel picture and the channel item picture of the needs deletion of described DCD terminal storage.
In the embodiment of the invention, in data synchronization process, the DCD server carries the channel that need not upgrade and the identification information of channel item in the data synchronization message that the DCD terminal sends, and the channel that need upgrade and the identification information and the content information thereof of channel item, therefore, the DCD terminal at channel that does not need to upgrade and channel item, then can directly keep when receiving this data synchronization message; At channel and the channel item that needs upgrade, then the corresponding channel and the channel item of this locality storage are upgraded according to the content information that carries in the data synchronization message.Therefore, adopt technical solution of the present invention, on the one hand, the DCD server only will need the channel that upgrades and the content information of channel item to be handed down to the DCD terminal, therefore, with prior art DCD server all channels and the content information of channel item are handed down to the DCD terminal and compare, reduced offered load and saved system resource; In addition, the DCD terminal keeps and not to need the channel that upgrades and the content information of channel item, only need the channel of needs renewal and the content information of channel item are upgraded, need compare with the content of channel item all channels with prior art DCD terminal, improve the efficient of data sync, reduced the data sync time delay.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1. the method that dynamic content distribution business data is synchronous is characterized in that, comprising:
Dynamic content distribution service DCD terminal receives the data synchronization message that the DCD server issues, and carries the channel of needs renewal and the identification information and the content information thereof of channel item in this data synchronization message;
Identification information and described content information that the DCD terminal is carried according to described data synchronization message carry out simultaneous operation to the channel of this DCD terminal storage and the content information of channel item.
2. the method for claim 1 is characterized in that, described DCD terminal also comprised before the channel of storage and the content information of channel item are carried out simultaneous operation:
The DCD terminal is stored the identification information that carries in the identification information of all channels and channel item and the described data synchronization message with this locality and is compared;
Determine channel and channel item, the channel of needs interpolation and the channel and the channel item of channel item and needs deletion that needs are replaced according to comparative result.
3. method as claimed in claim 2 is characterized in that, determines channel and channel item, the channel of needs interpolation and the channel and the channel item of channel item and needs deletion that needs are replaced according to comparative result, is specially:
Identification information not only is included in the DCD terminal but also is included in described data synchronization message, and channel and channel item that content information is included in the described data synchronization message are defined as channel and the channel item that needs are replaced;
Identification information is included in the described data synchronization message, and is not included in the channel of described DCD terminal and channel and the channel item that channel item needing to be defined as interpolation;
Identification information is included in the DCD terminal, and the channel and the channel item that are not included in the described data synchronization message are defined as channel and the channel item that needs are deleted.
4. as claim 2 or 3 described methods, it is characterized in that described DCD terminal is carried out simultaneous operation to the channel of storage and the content information of channel item, comprising:
The channel that the DCD terminal is replaced the needs that carry in the described data synchronization message and the content information of channel item are replaced the corresponding channel of described DCD terminal storage and the content information of channel item;
The channel that the needs that carry in the described data synchronization message of DCD terminal storage add and the content information of channel item;
The channel of the needs deletion of this DCD terminal storage of DCD terminal deletion and the content information of channel item.
5. as each described method of claim 1~3, it is characterized in that described content information comprises the text message and the channel picture identification information of the channel that described needs upgrade, and the text message and the channel item picture identification information that need the channel item of renewal;
Described DCD terminal also comprises:
The DCD terminal compares the picture identification information of carrying in all channel picture identification informations of this locality storage and channel item picture identification information and the described data synchronization message;
The DCD terminal is determined channel picture and the channel item picture that need replace, the channel picture and the channel item picture that need channel picture and the channel item picture that adds and need to delete according to comparative result;
The DCD terminal sends the data download request to described DCD server, and carrying in this request needs the channel picture and the identification information of channel item picture replaced, and the channel picture that need interpolation and the identification information of channel item picture; Terminal receive that described DCD server issues with described data download request in the corresponding channel picture of identification information and the channel item picture that carry; And the picture of DCD terminal storage is carried out simultaneous operation according to this channel picture and channel item picture;
The DCD terminal is with this locality storage and the described corresponding picture deletion of identification information that needs the channel picture and the channel item picture of deletion.
6. the terminal with dynamic content distribution service function is characterized in that, comprising:
Transceiver module is used to receive the data synchronization message that dynamic content distribution service DCD server issues, and carries the channel of needs renewal and the identification information and the content information thereof of channel item in this data synchronization message;
Synchronization module is used for the identification information and the described content information that carry according to the described data synchronization message that described transceiver module receives, and the channel of this DCD terminal storage and the content information of channel item are carried out simultaneous operation.
7. terminal as claimed in claim 6 is characterized in that, also comprises:
Judge determination module, be used for before described synchronization module carries out simultaneous operation to the content information of the channel of storage and channel item, the identification information that carries in the identification information of all channels and channel item and the described data synchronization message is stored in this locality compare; And, determine channel and channel item, the channel of needs interpolation and the channel and the channel item of channel item and needs deletion that needs are replaced according to comparative result.
8. terminal as claimed in claim 7 is characterized in that, described judgement determination module has particular application as:
The identification information that carries in the identification information of all channels and channel item and the described data synchronization message is stored in this locality to be compared;
Identification information not only is included in the DCD terminal but also is included in described data synchronization message, and channel and channel item that content information is included in the described data synchronization message are defined as channel and the channel item that needs are replaced;
Identification information is included in the described data synchronization message, and is not included in the channel of described DCD terminal and channel and the channel item that channel item needing to be defined as interpolation;
Identification information is included in the DCD terminal, and the channel and the channel item that are not included in the described data synchronization message are defined as channel and the channel item that needs are deleted.
9. as claim 7 or 8 described terminals, it is characterized in that described synchronization module comprises to be replaced submodule, add submodule and delete submodule, wherein:
Replace submodule, the channel that the needs that are used for that described data synchronization message is carried are replaced and the content information of channel item are replaced the corresponding channel of described DCD terminal storage and the content information of channel item;
Add submodule, be used for storing the channel that needs that described data synchronization message carries add and the content information of channel item;
The deletion submodule is used to delete the channel of needs deletion of this DCD terminal storage and the content information of channel item.
10. terminal as claimed in claim 9, it is characterized in that, described judgement determination module is further used for, and the picture identification information of carrying in all channel picture identification informations of this locality storage and channel item picture identification information and the described data synchronization message is compared; And, according to comparative result, determine channel picture and the channel item picture that need replace, the channel picture and the channel item picture that need channel picture and the channel item picture that adds and need to delete;
Described transceiver module is further used for, and sends the data download request to described DCD server, and carrying in this request needs the channel picture and the identification information of channel item picture replaced, and the channel picture that need interpolation and the identification information of channel item picture; Terminal receive that described DCD server issues with described data download request in the corresponding channel picture of identification information and the channel item picture that carry;
Described interpolation submodule is further used for, and stores channel picture and channel item picture that needs that described transceiver module receives increase;
Described replacement submodule is further used for, channel picture and channel item picture that the needs that receive according to transceiver module are replaced, the corresponding channel picture and the channel item picture of replacement DCD terminal storage;
Described deletion submodule is further used for, and deletes the channel picture and the channel item picture of the needs deletion of described DCD terminal storage.
CN 201010132316 2010-03-16 2010-03-16 Method and terminal for synchronizing dynamic content distribution business data Pending CN101808133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010132316 CN101808133A (en) 2010-03-16 2010-03-16 Method and terminal for synchronizing dynamic content distribution business data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010132316 CN101808133A (en) 2010-03-16 2010-03-16 Method and terminal for synchronizing dynamic content distribution business data

Publications (1)

Publication Number Publication Date
CN101808133A true CN101808133A (en) 2010-08-18

Family

ID=42609752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010132316 Pending CN101808133A (en) 2010-03-16 2010-03-16 Method and terminal for synchronizing dynamic content distribution business data

Country Status (1)

Country Link
CN (1) CN101808133A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130762A (en) * 2010-11-26 2011-07-20 华为技术有限公司 Method, device and system for synchronizing service information by using path computation element (PCE)
WO2011144182A2 (en) * 2011-06-09 2011-11-24 华为技术有限公司 Method and device for service flow information synchronization
CN102480520A (en) * 2010-11-26 2012-05-30 中国科学院声学研究所 Media data synchronism method based on differential metadata description structure
CN102984578A (en) * 2012-12-20 2013-03-20 深圳Tcl新技术有限公司 Method, video terminal and system for processing program channel list information
CN105868361A (en) * 2016-03-29 2016-08-17 中国银行股份有限公司 Data updating method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321193A (en) * 2008-07-23 2008-12-10 中兴通讯股份有限公司 Synchronization method for dynamic contents distribution business, user terminal and server
CN101594369A (en) * 2009-06-18 2009-12-02 中兴通讯股份有限公司 In dynamic content distribution service, realize synchronous method and the terminal of channel content
US20090300693A1 (en) * 2007-01-31 2009-12-03 Thomson Licensing Method, apparatus and system for dynamic grouping and content distribution
CN101645929A (en) * 2009-08-25 2010-02-10 中兴通讯股份有限公司 Method and system of synchronization initiated by dynamic content distributing service server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090300693A1 (en) * 2007-01-31 2009-12-03 Thomson Licensing Method, apparatus and system for dynamic grouping and content distribution
CN101321193A (en) * 2008-07-23 2008-12-10 中兴通讯股份有限公司 Synchronization method for dynamic contents distribution business, user terminal and server
CN101594369A (en) * 2009-06-18 2009-12-02 中兴通讯股份有限公司 In dynamic content distribution service, realize synchronous method and the terminal of channel content
CN101645929A (en) * 2009-08-25 2010-02-10 中兴通讯股份有限公司 Method and system of synchronization initiated by dynamic content distributing service server

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130762A (en) * 2010-11-26 2011-07-20 华为技术有限公司 Method, device and system for synchronizing service information by using path computation element (PCE)
CN102480520A (en) * 2010-11-26 2012-05-30 中国科学院声学研究所 Media data synchronism method based on differential metadata description structure
CN102480520B (en) * 2010-11-26 2014-06-11 中国科学院声学研究所 Media data synchronism method based on differential metadata description structure
WO2011144182A2 (en) * 2011-06-09 2011-11-24 华为技术有限公司 Method and device for service flow information synchronization
CN102265683A (en) * 2011-06-09 2011-11-30 华为技术有限公司 Method and device for service flow information synchronization
WO2011144182A3 (en) * 2011-06-09 2012-05-10 华为技术有限公司 Method and device for service flow information synchronization
CN102984578A (en) * 2012-12-20 2013-03-20 深圳Tcl新技术有限公司 Method, video terminal and system for processing program channel list information
CN105868361A (en) * 2016-03-29 2016-08-17 中国银行股份有限公司 Data updating method and device

Similar Documents

Publication Publication Date Title
US8381114B2 (en) Method of managing character fonts within multimedia scenes, and the corresponding computer program and terminal
CN100411341C (en) Parallel downloading method and terminal
CN101110840B (en) Push framework for delivery of dynamic mobile content
EP1891549B1 (en) Methods, systems, and computer-readable media for synchronizing modifiable documents with multiple clients
CN102780724B (en) A kind of sending method of category information, system and equipment
US9456048B2 (en) System, method, and computer program product for server side processing in a mobile device environment
US20080215672A1 (en) System, Method, and Computer Program Product for a Scalable, Configurable, Client/Server, Cross-Platform Browser for Mobile Devices
EP2574004B1 (en) Method, apparatus and system for improving synchronization efficiency of really simple syndication service
CN101656739B (en) Method, system and equipment for updating assembly
CN102158539A (en) Dynamic syndicated content delivery system and method
CN101808133A (en) Method and terminal for synchronizing dynamic content distribution business data
CN102480520B (en) Media data synchronism method based on differential metadata description structure
CN103024077B (en) The method for pushing of schedule association information, system and server
CN101616132A (en) A kind of data capture method and device thereof and system
CN101110839B (en) Method and system for optimizing metadata passing in a push content processing protocol
CN101330665B (en) Method for receiving advertisement business by mobile equipment, mobile equipment and system
JP4726850B2 (en) System and method for fragmenting moving content
CN101594369A (en) In dynamic content distribution service, realize synchronous method and the terminal of channel content
CN102779181B (en) Browser off-line storage data processing method based on hypertext markup language (HTML) 5 and browser
US20090264111A1 (en) Podcasting on a mobile phone
CN101079900B (en) System and method for the fragmentation of mobile content
US7580993B2 (en) Document broadcasting utilizing hashcodes
JP2011008827A (en) Multi-layered enveloped method and system for push content metadata
CN101489187A (en) Method and system for optimizing delivery of mobile content using differential metadata updates
CN105743953B (en) Method for down loading, system and the router of file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100818