Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer,, the embodiment of the invention is explained further details below in conjunction with execution mode and accompanying drawing.At this, the exemplary embodiment of the embodiment of the invention and explanation thereof are used to explain the present invention, but not as to qualification of the present invention.
The embodiment of the invention provides the interactive media document updating method and the device at a kind of system end and terminal.Below in conjunction with accompanying drawing the embodiment of the invention is elaborated.
Be illustrated in figure 2 as the first embodiment flow chart that system end of the present invention upgrades interactive media document.
Step 201 adds the interactive media document lastest imformation at system end in the communication data that user terminal transmits.For said communication data is under the situation of business guide; Said interactive media document lastest imformation comprises interactive media document pointer version information (IMDversion) at least; Write down the version information of interactive media document pointer in this interactive media document pointer version information; Can also comprise interactive media document descriptor (InteractiveMediaDocmentInfo), comprise interactive media document sign (ID) in this interactive media document descriptor; For said communication data is under the situation of notification message; Said interactive media document lastest imformation comprises the interactive media document descriptor at least; Said interactive media document descriptor comprises interactive media document identification information (ID); Said interactive media document descriptor can also comprise event type (eventType) and interactive media document version information, has write down notification message in this event type and whether has carried the interactive media document lastest imformation.
Step 202, said system end sends this communication data to said user terminal, informs whether the interactive media document of client terminal system end upgrades.
Be illustrated in figure 3 as the second embodiment flow chart that system end of the present invention upgrades interactive media document.
Step 301; In the business guide that user side sends, increase the interactive media document lastest imformation at system end; This interactive media document lastest imformation comprises the interactive media document state information at least, and this interactive media document state information comprises interactive media document pointer version information (IMDversion) or interactive media document updating mark information.
Wherein, interactive media document pointer version information, the GroupID of sensing interactive media document; This pointed has all interactive media documents of identical GroupID; Actual that the highest document of GroupPosition that points to, wherein, GroupID is the group id of interactive media document; That is to say and have a plurality of interactive media documents with identical GroupID; These interactive media documents all are in order to accomplish identical mutual purpose, are that the different terminals disposal ability is different, and these documents are the interactive information of making to the different terminals disposal ability respectively.After the terminal received this group interactive media document, an interactive media document of selecting to be fit to own ability was handled.
Interactive media document updating mark information indicates whether interactive media document upgrades, and can value be that 0 interval scale does not upgrade for example, and value is that 1 o'clock said interactive media document needs to upgrade.
As preferred embodiment, said interactive media document lastest imformation also comprises interactive media document descriptor (InteractiveMediaDocmentInfo), and this interactive media document descriptor comprises, interactive media document sign (ID).
As preferred embodiment, said interactive media document lastest imformation also comprises interactive media document version information (Version), obtains the obtain manner (IMDurl) of interactive media document.
As preferred embodiment, the business guide generation module is revised " IMDversion " attribute value in the interaction data burst that points to this GroupID, is x like original " IMDversion " value, and then revising the back value is x+1.That revises interactive media document descriptor in the business guide interaction data burst obtains address (IMDurl).
As preferred embodiment, the business guide generation module is revised interactive media document updating mark information, is that 0 interactive media document updating mark information is revised as 1 with former value.
Step 302 is sent this business guide that regenerates to user terminal, upgrades the business guide of user terminal.Through the foregoing description, the interactive media document on the maintenance terminal that can be real-time is consistent with system end, makes user terminal the mistake of interactive media seldom occur, improves quality of services for users.
Be illustrated in figure 4 as the 3rd embodiment flow chart that system end of the present invention upgrades interactive media document.
Step 401; In the notification message that user side sends, increase the interactive media document lastest imformation at system end; This interactive media document lastest imformation comprises interactive media document descriptor field (Interact iveMediaDocmentInfo); And in existing event type field (eventType), add the interactive media document updating type (if the event type in the notification message is for certain particular value then represent and carry the interactive media document updated information in the said notification message; Can set when event type is 66 in this example, represent and carry the interactive media document updated information in the notification message).This interactive media document descriptor field comprises: interactive media document sign (ID), version (Version), document obtain manner (IMDurl) etc.
After the interactive media document in interactive service source upgrades, complete interactive media document lastest imformation is sent to the notification message generation module.This complete interactive media document lastest imformation comprises all interactive media document sign (ID), versions (Version), the document obtain manner (IMDurl) with identical Group ID.
Step 402 is sent this notification message to user terminal, upgrades the interactive media document of user terminal.
As preferred embodiment; Comprise the interactive media document lastest imformation relevant in this notification message with renewal; This interactive media document lastest imformation comprises the interactive media document descriptor; And in existing event type field (eventType), add the interactive media document updating type (if the event type in the notification message is for certain particular value then represent and carry the interactive media document updated information in the said notification message; Can set when event type is 66 in this example, represent and carry the interactive media document updated information in the notification message).This interactive media document descriptor comprises: the change information of interactive media document sign (ID), version (Version), document obtain manner (IMDurl) and interactive media document; Promptly change type (changetype), this change type comprises insertion, replacement and deletion.In said step 401, if insert an interactive media document, then include only the interactive media document information of this insertion in this notification message, and change type for inserting (Data Identification can be 0); If replace an interactive media document, then include only the interactive media document information of this replacement in this notification message, and change type for replacing (Data Identification can be 1); If delete an interactive media document, then include only the interactive media document information of this deletion in this notification message, and change type for deleting (Data Identification can be 2).
Pass through the foregoing description; In notification message, add the data volume that the field that changes type can reduce to transmit data; System end only carries the interactive media document information of change when sending a notification message; Need not carry whole interactive media document information, can reduce the burden of network like this, improve efficiency of transmission.
Be illustrated in figure 5 as the present invention and upgrade interactive media document system end device embodiment sketch map, comprise 2 communication data generation units 501, communication unit 502.
Said communication data generation unit 501 is connected with said communication unit 502.
Said communication data generation unit 501 judges whether interactive media document upgrades; Send communication unit 502 to if take place to upgrade then generate communication data according to said interactive media document lastest imformation, said communication unit 502 sends the communication data of said generation to user terminal.
Wherein, the renewal of interactive media document comprises, inserts new interactive media document, replaces certain current interactive media document or deletes certain interactive media document.
Said communication data generation unit 501 writes above-mentioned interactive media document lastest imformation at communication data; For said communication data is under the situation of business guide; Said interactive media document lastest imformation comprises the interactive media document state information at least; This interactive media document state information comprises pointer version information or interactive media document updating mark information; Write down the version information of interactive media document pointer in this interactive media document pointer version information, whether the interactive media document in the said business guide of this interactive media document updating mark Information sign upgrades; For said communication data is under the situation of notification message, and said interactive media document lastest imformation comprises the interactive media document identification information at least.
As preferred embodiment; Said communication data generation unit 501 is the business guide generation unit; Said interactive media document lastest imformation is write business guide, wherein in existing business guide interaction data burst, added interactive media document pointer version information (IMDversion) and interactive media document descriptor (InteractiveMediaDocmentInfo).This interactive media document descriptor comprises that interactive media document identifies (ID), interactive media document version information (Version), obtains the obtain manner (IMDurl) of interactive media document.
As preferred embodiment; Said communication data generation unit 501 is the notification message generation unit; The lastest imformation of said interactive media document is write notification message; Said interactive media document lastest imformation comprises interactive media document descriptor information (InteractiveMediaDocmentInfo), also comprise added the interactive media document updating type (if the event type in the notification message for certain particular value represent carry the interactive media document updated information in the said notification message) event type field (eventType).This interactive media document descriptor comprises: interactive media document sign (ID), version (Version), document obtain manner (IMDurl) etc.Comprise complete interactive media document lastest imformation in this notification message, this complete interactive media document lastest imformation comprises having mutually the interactive media document lastest imformation of ID on the same group.
As preferred embodiment; Said notification message generation unit; Said interactive media document lastest imformation is write notification message; This interactive media document lastest imformation also comprises the change type (changetype) of interactive media document except comprising above-mentioned ID, Version and IMDurl, this change type comprises insertion, replacement and deletion.Include only in this notification message and upgrade the interactive media document lastest imformation that relates to.
Through the foregoing description, through in existing communication data, adding the mode of interactive media document lastest imformation, little to the modification of existing system, implementation cost is low.
Be illustrated in figure 6 as the first embodiment flow chart that user terminal of the present invention upgrades interactive media document.
Step 601, the communication data that user terminal receiving system end sends over.
Step 602, said user terminal be according to the information in the said communication data, and the interactive media document of this user terminal is upgraded.
As preferred embodiment, said communication data comprises business guide or notification message.In step 602; If said communication data is a business guide; User terminal is according to the state information in the interactive media document lastest imformation in the business guide; Obtain the interactive media document obtain manner in the interactive media document lastest imformation from business guide or in other burst information, the interactive media document that obtains renewal from respective server upgrades the interactive media document of this user terminal.
If said communication data is a notification message; User terminal identifies according to the interactive media document in the notification message; Obtain the interactive media document obtain manner in the interactive media document lastest imformation from notification message or in other burst information, the interactive media document that obtains renewal from corresponding server address upgrades the interactive media document of this user terminal.
As preferred embodiment, after said step 601, also comprise, judge whether that according to the interactive media document lastest imformation of said communication data needs upgrade said interactive media document.For said communication data is under the situation of business guide; Said interactive media document lastest imformation comprises the interactive media document state information at least; This interactive media document state information comprises interactive media document pointer version information (IMDversion) or interactive media document updating mark information; Write down the version information of interactive media document pointer in this interactive media document pointer version information, this interactive media document updating mark Information sign interactive media document updated information whether; For said communication data is under the situation of notification message, and said interactive media document lastest imformation comprises the interactive media document identification information at least.
Through this embodiment, user terminal can obtain the interactive media document updated information according to the communication data of system, thereby carries out the renewal of interactive media document, to keep up-to-date interactive media document.
Be illustrated in figure 7 as the second embodiment flow chart that user terminal of the present invention upgrades interactive media document.
Step 701, user terminal receive said business guide.
Step 702 judges whether the IMDversion value in the business guide changes, if inconsistent with the IMDversion version number of the business guide of this user terminal storage, then gets into step 703, finishes otherwise get into step 704.
As preferred embodiment, judge whether said interactive media document updating mark information is preset value, for example be 1 and represent interactive media document to need to upgrade, if be 0 then represent interactive media document not need renewal.
Step 703; Because IMDversion changes; So the terminal need receive the interactive media document of renewal, user terminal obtains the interactive media document of renewal according to the sign of the interactive media document in the said business guide from appropriate address from the obtain manner of system end acquisition interactive media document to the access burst (perhaps other burst information) that user terminal sends; And the interactive media document behind storage update on the user terminal, deletion original interactive media document on the user terminal.
As preferred embodiment; Said interactive media document lastest imformation also comprises the interactive media document descriptor; Comprise interactive media document sign (ID), interactive media document version information (Version) in this interactive media document descriptor, obtain the obtain manner (IMDurl) of interactive media document; In step 703; If IMDversion changes, then confirm the address of interactive media document according to the obtain manner of the interactive media document in the interactive media document descriptor of business guide, obtain interactive media document according to the sign of the interactive media document in the said business guide from corresponding address.
Step 704 finishes.
As preferred embodiment, different in the said step 704 according to the residing network environment of said user terminal, also have different operation.
In radio network, the unidirectional file transfer of radio network specific assigned (FLUTE) session transport service guide and business guide transmit describes (SGDD), and this session is monitored at the terminal always.After business guide changed, the file description table of FLUTE session (FDT) had been described the variation part, and the terminal is upgraded changing part through the IMDversion variation back of monitoring discovery business guide, and the IMDur1 after upgrading obtains interactive media document.
In the Internet, a kind of mode is that terminal timing inquiry business guide and/or business guide transmit version and the validity information of describing, and according to the Query Result updating business guide.Another kind of mode is that some business guide of terminal and/or business guide transmission description are set to keep update mode; If set business guide and/or business transmission are described change, server is pushed to the terminal with business guide of upgrading and/or professional transmission description.
Be illustrated in figure 8 as user terminal of the present invention and trigger method the 3rd embodiment flow chart that upgrades interactive media document, after the system end interactive media document changes, use notification message notice terminal through notification message.
System end is extended field in notification message; Add complete interactive media document lastest imformation; This complete interactive media document lastest imformation comprises mutually all interactive media document lastest imformations of ID on the same group; Comprise the interactive media document descriptor in this interactive media lastest imformation; In existing event type (eventType), add the interactive media document updating type, write down notification message in this event type and whether carried the interactive media document lastest imformation, this interactive media document descriptor comprises: interactive media document sign (ID), version (Version), document obtain manner (IMDurl) etc.
Step 801, user terminal receive the notification message that system end sends.
Step 802 if the event type in the notification message is the notification message of predefined interactive media document updating type, carry out step 803, and event type is defined as 66 and is the interactive media document updating type in this example; Otherwise the interactive media that jumps to step 809 end user terminal is new technological process more.
Step 803, user terminal judge said user terminal whether have with said notification message in the identical interactive media document sign of interactive media document sign, if having then get into step 805, otherwise get into step 804.
Step 804 is obtained new interactive media document according to the document obtain manner in the interactive media document descriptor to corresponding server info, replaces former interactive media document.
As preferred embodiment, can also to the access burst that user terminal sends, obtain the obtain manner of interactive media document from system end, download said interactive media document to corresponding server.
Step 805; The version number (Version) that user terminal is judged the interactive media document at this terminal whether with notification message in version number (Version) the same; If the same then get into step 806, otherwise get into step 804, and replace original interactive media document with new interactive media document.
Step 806; The next interactive media document that user terminal continues to judge this terminal whether with notification message in interactive media document ID identical; Promptly return step 803, if handled all interactive media document information of carrying in the notification message then get into step 809.
Step 807; The terminal will further search the terminal whether comprise with notification message in interactive media document have identical GroupID; But only be present in said user terminal and do not appear at the specific interactive media document sign in the said notification message; If have above-mentioned specific interactive media document then get into step 808, otherwise get into step 809.
Step 808, ID is present in the terminal but is not present in the interactive media document in the notification message on the deletion terminal.
Step 809 finishes.
This embodiment is applicable to that server do not know the situation of terminal downloads interactive media document; Just after interactive media document changes; The complete interactive media document information with identical GroupID all is carried at is issued to the terminal in the notification message; The terminal compares according to the interactive media document of these information and self storage, the renewal operation of inserting, replace, deleting.
Through the foregoing description, the interactive media document that can keep the terminal is consistent with service end, the wrong phenomenon when reducing the terminal plays interactive media.
Be illustrated in figure 9 as user terminal of the present invention and trigger method the 4th embodiment flow chart that upgrades interactive media document through notification message; After the system end interactive media document changes; Use notification message notice terminal; In this notification message, do not carry the descriptor of all interactive media documents of identical GroupID, promptly this notification message only carries the interactive media document information of change, if insert an interactive media document; Then include only the interactive media document information of this insertion in this notification message, and change type for inserting (Data Identification can be 0); If replace an interactive media document, then include only the interactive media document information of this replacement in this notification message, and change type for replacing (Data Identification can be 1); If delete an interactive media document; Then include only the interactive media document information of this deletion in this notification message; And change type and be deletion (Data Identification can be 2), the terminal determines according to these information whether needs upgrade corresponding interactive media document.
Comprise the interactive media document lastest imformation in this notification message; This interactive media document lastest imformation comprises; In the event type (eventType) of notification message, added the interactive media document updating type, the value of this interactive media updating type is 66 in this example.Also added interactive media document descriptor (InteractiveMediaDocmentInfo); This interactive media document descriptor comprises: interactive media document sign (ID), change type (changeType), version (Version), document obtain manner (IMDurl) etc. wherein change type and comprise insertion, replacement, deletion.
Step 901, the user terminal receiving notice message.
Step 902 is that the notification message of predefined interactive media document updating type carry out step 903 to the event type in the notification message, and event type is defined as 66 and is the interactive media document updating type in this example; If event type is not a updating type, then jumps to step 908 and finish more new technological process of said user terminal interactive media document.
Step 903; Change type (changeType) in the interactive media document descriptor according to notification message and judge, if the type that changes then gets into step 904 for inserting new interactive media document; If the type that changes is replacement; Then get into step 905, if the type that changes then gets into step 906 for deletion.
Step 904, user terminal are according to document obtain manner (IMDurl) in the notification message, and the interactive media document from corresponding server acquisition assigned I D is stored in said user terminal.
Step 905, user terminal from the interactive media document of corresponding server acquisition assigned I D, are replaced the interactive media document of the corresponding ID of said user terminal storage according to document obtain manner (IMDurl) in the notification message.
As preferred embodiment, can also to the access burst that user terminal sends, obtain the obtain manner of interactive media document from system end, download said interactive media document to corresponding server.
Step 906, user terminal is deleted corresponding interactive media document according to interactive media document sign (ID) in the notification message.
Step 907, user terminal continue to find out next interactive media document descriptor in the said notification message, if next interactive media document descriptor is arranged then return step 903, otherwise get into step 908.
Step 908 finishes.
Through reading the change type, when transmission interactive media document information, only carry the information of variation, need not carry whole interactive media document lastest imformations, can reduce to transmit the data volume of data like this, reduce the burden of network, improve efficiency of transmission.
Shown in figure 10 for user terminal of the present invention upgrades the interactive media document device first embodiment sketch map, comprise communication unit 1001, reading unit 1002, updating block 1003.
Said communication unit 1001 is connected with said reading unit 1002, and said reading unit 1002 is connected with said updating block 1003.
The Mobile Broadcast Services communication data that said communication unit 1001 receiving system ends send; Through said reading unit 1002 from said communication data; Obtain said interactive media document lastest imformation; Said updating block 1003 upgrades the interactive media document on this user terminal according to the interactive media document lastest imformation that receives.
Wherein, the interactive media document of said updating block 1003 upgrades and comprises, inserts new interactive media document, replaces at least one current interactive media document or deletes at least one interactive media document.
Said reading unit 1002 reads above-mentioned interactive media document lastest imformation at communication data; For said communication data is under the situation of business guide; Said interactive media document lastest imformation comprises more new logo of interactive media document pointer version information (IMDversion) or interactive media document at least; Write down the version information of interactive media document pointer in this interactive media document pointer version information, this interactive media document is the new logo sign of having represented interactive media document whether to upgrade more; For said communication data is under the situation of notification message; Said interactive media document lastest imformation comprises event type (eventType) and interactive media document identification information at least, has write down notification message in this event type and whether has carried the interactive media document lastest imformation.
As preferred embodiment; The business guide that said reading unit 1002 receives from the terminal reads the interactive media document lastest imformation; Said interactive media document lastest imformation comprises, the interactive media document description field wherein adds the interactive media document pointer in existing business guide interaction data burst; Interactive media document pointer version information (IMDversion), the interactive media descriptor.This interactive media document descriptor comprises that interactive media document identifies (ID), interactive media document version information (Version), obtains the obtain manner (IMDurl) of interactive media document.
Said updating block 1003 is used for the interactive media document pointer version of more said terminal and notification message, and the interactive media document that will have an inconsistent version information downloads to the terminal, and original interactive media document on the deletion user terminal.
As preferred embodiment; The notification message that said reading unit 1002 receives from the terminal reads the interactive media document lastest imformation; Said interactive media document lastest imformation comprises the interactive media document descriptor, also be included in add in the existing event type (eventType) the interactive media document updating type (if the event type in the notification message for certain particular value represent carry the interactive media document updated information in the said notification message).This interactive media document descriptor comprises: interactive media document sign (ID), version (Version), document obtain manner (IMDurl) etc.The lastest imformation that comprises complete interactive media document in this notification message.
Said updating block 1003 is used for the interactive media document sign of more said terminal and notification message, the information such as version number of interactive media document, and the interactive media document of said user terminal is upgraded.
As preferred embodiment, said reading unit 1002 reads change type (changeType) field of the interactive media document of notification message from the change information of said interactive media document, and this change type comprises insertion, replacement and deletion.Include only in this notification message and upgrade the interactive media document lastest imformation that relates to.
Said updating block 1003 upgrades according to said change type, if insert an interactive media document, then 1003 interactive media documents that need obtain insertion from corresponding server of updating block insert this interactive media document in user terminal; If replace an interactive media document, then 1003 interactive media documents that need obtain this replacement from corresponding server of updating block are replaced and the corresponding interactive media document of this interactive media document ID on user terminal; If delete an interactive media document, then updating block 1003 finds on user terminal and deletes the corresponding interactive media document of interactive media document ID, deletes.
The interactive media document updating method of user side can upgrade corresponding to Updating Information of system end accordingly, and is less to the modification of existing user terminal, realizes that cost is low.
Embodiment of the invention beneficial effect is; The embodiment of the invention can realize informing terminal interaction media document updated information with mode terminal communication through existing at system end; Interactive media document on the maintenance terminal that can be real-time is consistent with system end; Make user terminal the mistake of interactive media seldom occur, improve quality of services for users.And through in existing communication data, adding the mode of interactive media document lastest imformation, little to the modification of existing system, implementation cost is low.Can reduce to transmit the data volume of data through the field that add to change type, reduce the burden of network, improve efficiency of transmission; The interactive media document updating method of user side can upgrade corresponding to Updating Information of system end accordingly, and is less to the modification of existing user terminal, realizes that cost is low.And the interactive media document that can keep the terminal is consistent with service end, the wrong phenomenon when reducing the terminal plays interactive media.Change the data volume that type field can reduce to transmit data through reading, reduce the burden of network, improve efficiency of transmission.
The interactive media document updating method of user side can upgrade corresponding to Updating Information of system end accordingly, and is less to the modification of existing user terminal, realizes that cost is low.And the interactive media document that can keep the terminal is consistent with service end, the wrong phenomenon when reducing the terminal plays interactive media.Change the data volume that type field can reduce to transmit data through reading, reduce the burden of network, improve efficiency of transmission.
Above-described embodiment; The object of the invention, technical scheme and beneficial effect have been carried out further explain, and institute it should be understood that the above is merely embodiment of the present invention; And be not used in qualification protection scope of the present invention; All within spirit of the present invention and principle, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.