WO2010115369A1 - Method for rendering media and system, server and terminal thereof - Google Patents

Method for rendering media and system, server and terminal thereof Download PDF

Info

Publication number
WO2010115369A1
WO2010115369A1 PCT/CN2010/071592 CN2010071592W WO2010115369A1 WO 2010115369 A1 WO2010115369 A1 WO 2010115369A1 CN 2010071592 W CN2010071592 W CN 2010071592W WO 2010115369 A1 WO2010115369 A1 WO 2010115369A1
Authority
WO
WIPO (PCT)
Prior art keywords
media
data
media data
difference control
control parameter
Prior art date
Application number
PCT/CN2010/071592
Other languages
French (fr)
Chinese (zh)
Inventor
唐廷芳
彭展
王业奎
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2010115369A1 publication Critical patent/WO2010115369A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8543Content authoring using a description language, e.g. Multimedia and Hypermedia information coding Expert Group [MHEG], eXtensible Markup Language [XML]

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a media presentation method and system, a server, and a terminal. Background technique
  • Scalable Vector Graphics (SVG: Scalable Vector Graphics) is based on Extensible Markup Language
  • SVG Extensible Markup Language
  • SVG applications can provide flexible business control and description, and can customize a good user-oriented experience.
  • graphic objects such as rectangles, lines, etc.
  • multimedia such as raster images and video
  • text such as raster images and video
  • SVG can group, add styles, and make various transformations such as panning, rotation, and so on.
  • Graphics in SVG can be interactive and dynamic.
  • the application of animation in SVG provides a variety of business scenarios, such as ad timing, logo and banner ads.
  • the data packet sent by the server includes SVG media data
  • the terminal after receiving the data packet, the terminal only sequentially presents the SVG media data, that is, all the terminals receive the data packet of the server (the After the data package includes SVG media data, the SVG media data is directly displayed, so that all terminals present the same SVG media data at the same time.
  • the inventor found that: The use of the above media presentation method does not meet the needs of certain services. For example, in the voting service, the effective time of the candidate information broadcast is T, a single complete presentation period.
  • the user can vote after the candidate information is obtained, and the voting result is announced after the time T.
  • terminals that access at any time within T whether unicast or multicast, want to be able to obtain complete candidate information.
  • the terminal accessed after the start of T is not The candidate information is presented from the beginning, so that the user cannot obtain complete candidate information from the beginning, so the use of the above media presentation method does not satisfy the needs of different users accessing at different times. Summary of the invention
  • the embodiments of the present invention provide a media presentation method and system, a server, and a terminal.
  • the technical solution provided by the embodiment of the present invention can implement difference control of media data in a terminal.
  • the embodiment of the present invention is implemented by the following technical solutions:
  • the embodiment of the present invention provides a media presentation method, including:
  • the embodiment of the invention provides a media presentation method, including:
  • Parsing the data packet to obtain media data parsing the data packet to obtain a difference control parameter; and presenting the media data according to the difference control parameter.
  • An embodiment of the present invention provides a server, including:
  • a construction unit configured to construct a data packet including media data, where the data packet includes a difference control parameter
  • a sending unit configured to send, to the terminal, the data packet constructed by the constructing unit, so that the terminal presents the media data according to the difference control parameter.
  • the embodiment of the invention provides a terminal, including:
  • a receiving unit configured to receive a data packet including media data, the data packet includes a difference control parameter
  • a parsing unit configured to parse the data packet received by the receiving unit, obtain the media data, and parse the data received by the receiving unit Package, obtain the difference control parameters
  • a rendering unit configured to present the media data according to a difference control parameter obtained by the parsing unit.
  • the embodiment of the present invention provides a media presentation system, including the server provided by the embodiment of the present invention and/or the terminal provided by the embodiment of the present invention.
  • the terminal can obtain the difference control parameter, so that the terminal can present the media data according to the difference control parameter, thereby implementing the difference control of the media data in the terminal, and satisfying the user for different media data. Different presentation needs.
  • Embodiment 1 is a schematic flowchart of Embodiment 1 of a media presentation method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of Embodiment 2 of a media presentation method according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of Embodiment 3 of a media presentation method according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a server according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a first embodiment of a terminal according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a second embodiment of a terminal according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a first embodiment of a media presentation method.
  • the embodiment describes a process flow of a server, including:
  • the media data is media data that needs to be presented, and may be media data described by a script language such as SVG media data or SMIL (Synchronized Multimedia Integration Language) media data; the server may be configured from a preset configuration file.
  • the difference control parameter is obtained, and the difference control parameter input by the user can also be received immediately.
  • the difference control parameter may include at least one of an effective activation period, a presentation mode, and a repetition parameter Specifically, the difference control parameter may be included in the data packet as a media attribute of the script-based media data, or as an upper media attribute of the script-based media data, or as a transmission adaptation parameter of the data packet.
  • the effective activation period indicates the effective time of the presentation of the media data, that is, the media data is only presented during the valid activation period.
  • the media data is SVG media data
  • the effective activation period is represented by validDur in the SVG attribute.
  • validDur can be used as an attribute of SVG media data, which can be applied to all SVG elements, such as ⁇ 8 ⁇ >, ⁇ g> and other SVG elements of the time axis.
  • validDur can also be used as the upper media attribute of SVG media data.
  • validDur can be used as the media description header field attribute; of course, when SVG is encapsulated, The media description has additional header field attribute fields.
  • validDur can also be used as a transmission adaptation parameter of the data packet. For example, when SVG media data is encapsulated and transmitted by Real Time Transport Protocol (RTP), validDur can be encapsulated in the RTP header field; Encapsulated transmission using HyperText Transfer Protocol (HTTP), validDur can be encapsulated in the HTTP header field.
  • RTP Real Time Transport Protocol
  • HTTP HyperText Transfer Protocol
  • the presentation mode represents the presentation mode of the media data, and the value of the presentation mode is an enumeration value, which may include sequential presentation, or presentation from the beginning, or single presentation from the beginning.
  • the media data is SVG media data and the rendering mode is represented by rendMod in the SVG attribute.
  • rendMod can be used as an attribute of SVG media data, which can be applied to all SVG elements, such as ⁇ svg>, ⁇ g>, and other specific SVG elements with a timeline.
  • rendMod can also be used as the upper media attribute of SVG media data.
  • rendMod can be used as the media description header field attribute; of course, when SVG is encapsulated, the media description There are also other header domain attribute fields.
  • the rendMod can also be used as a transmission adaptation parameter of the data packet. For example, when the SVG media data is encapsulated and transmitted by RTP, the rendMod can be encapsulated in the RTP header field; the SVG media data is encapsulated and transmitted by HTTP, and the rendMod can be encapsulated in the HTTP header field. in.
  • the repetition parameter is a parameter for repeatedly presenting the media data, wherein the repetition parameter may include a repetition number and a repetition period, the repetition number indicates the number of repeated presentations, and the repetition period indicates a period of repeated presentation.
  • the media data is SVG media data
  • the repeating parameters are in the SVG attribute. It is represented by the number of repetitions ( repeatCount ) and the repetition period ( repeaDur ).
  • repeatCount and repeaDur can be used as attributes of SVG media data, which can be applied to all SVG elements, such as ⁇ 8 ⁇ > and ⁇ >.
  • repeatCount and repeaDur can also be used as the upper media attributes of SVG media data.
  • repeatCount and repeaDur can be used as the media description header field attribute; of course, when the SVG is encapsulated, the media description has other header field attribute fields.
  • the repeatCount and the reverseDur can also be used as transmission adaptation parameters of the data packet. For example, when the SVG media data is encapsulated and transmitted by RTP, the repeatCount and the reverseDur can be encapsulated in the RTP header field; the SVG media data is encapsulated and transmitted by HTTP, repeatCount and repeaDur Can be encapsulated in an HTTP header field.
  • the terminal sends a data packet to the terminal, so that the terminal presents the media data according to the difference control parameter.
  • the terminal can present the media data according to the difference control parameter.
  • the difference control parameter includes a valid activation period
  • the terminal may present the media data only during the effective activation period
  • the difference control parameter includes the repeated parameter
  • the terminal may repeatedly render the media data according to the repeated parameter, and the number of times of repeated presentation is The value corresponding to the number of repetitions
  • the difference control parameter includes the presentation mode
  • the terminal can present the media data according to the presentation mode.
  • the data packet sent by the embodiment to the terminal may include a difference control parameter, so that the terminal can present the media data according to the difference control parameter, and each terminal can present the media data according to the difference control parameter, thereby implementing the difference control of the media data. , to meet the different presentation needs of users for different media data.
  • the first embodiment of the media presentation method provided by the embodiment of the present invention may further include: sending a data type of the media data to the terminal; specifically, carrying the data type of the media data in the data packet including the difference control parameter, or in the media data Describe the data type of the data in the data, and the description data is some description information of the media data, including the length of the media data, the encoding and decoding mode, and the like, and the description data may specifically be metadata.
  • the server may not send the presentation mode to the terminal, and the presentation mode may be set by the terminal, that is, the presentation mode of the media data set by the terminal with different data types reaches the personalized experience of the user.
  • the terminal can present in the media data When the advertisement is counted down, the media data is sequentially presented; when the media data is presenting the voting service, the media data is presented from the beginning.
  • FIG. 2 is a flowchart of a second embodiment of a media presentation method.
  • the embodiment describes a process flow of the terminal, including:
  • the received data packet is sent by the server. Specifically, after the terminal establishes a link with the server, the terminal receives the data packet sent by the server.
  • the difference control parameter obtained by the parsing may include at least one of an effective activation period, a presentation mode, and a repetition parameter.
  • the process of parsing the difference control parameter is also different.
  • the difference control parameter can be used as the media attribute of the script-based media data
  • the data packet needs to be parsed first.
  • the difference control parameters are obtained by parsing from the script-based media data.
  • the terminal may present the media data only during the effective activation period; when the difference control parameter includes the number of repetitions, the terminal may repeatedly render the media data, and the number of times of repeated presentation is the number of repetitions.
  • the terminal may present the media data according to the presentation mode, and may specifically present the media data sequentially, or present the media data from the beginning, or present the media data from the beginning.
  • the data packet received by the terminal in this embodiment may include a difference control parameter, so that the terminal can present the media data according to the difference control parameter, and each terminal can present the media data according to the difference control parameter, thereby implementing the media.
  • the difference control of data meets the different presentation requirements of users for different media data.
  • FIG. 3 is a flowchart of a third embodiment of the media presentation method.
  • the embodiment describes a process flow of the terminal.
  • the embodiment may obtain a data type of the media data.
  • the embodiment includes:
  • the difference control parameters obtained by the analysis may include valid activation periods and/or repetition parameters. This step can be performed with reference to 202.
  • the data type of the media data can be parsed from the received data packet; the data type of the media data can also be parsed from the description data of the media data.
  • the presentation mode is preset, and different presentation modes can be set according to different data types. For example, when the media data presents an advertisement timing bar, the presentation mode of the media data may be set to be sequentially presented; when the media data presents a voting service, the presentation mode of the media data may be set to be presented from the beginning.
  • the data packet received by the terminal in this embodiment may include a difference control parameter, so that the terminal can present the media data according to the difference control parameter, and each terminal can present the media data according to the difference control parameter, thereby implementing the media.
  • the difference control of the data satisfies the different presentation needs of the user for different media data; and the presentation mode of the media data of different data types can be set by the user according to his own needs, so that the media data presented by the terminal is completely according to the user's settings. Presentation, further satisfying the different presentation requirements of users for different media data.
  • Embodiment 4 of the media presentation method provided by the embodiment of the present invention is as follows (this embodiment implements difference control of script-based media data by a server, and the script-based media data in this embodiment is SVG media data):
  • A1, A2, and A3 are three animations that follow the SVG syntax.
  • A1, A2, and A3 are described in the SVG syntax. They are deployed in live multicast services with an effective activation period of T.
  • SVG media data presents a banner advertisement.
  • the SVG media data is completely presented for the first time from the time of TO to the time of T1, and the second time is completely presented from the time of T1 to the time of T2.
  • a random access point (RAP: Random Access Point) is set at the TO' time (between the time from the TO time and the time T1) and the time (between the time T1 and the time T2). Send redundant packets at random access points.
  • RAP Random Access Point
  • the embodiment may include the following difference control parameters:
  • (1) validDur identifies the valid activation period T.
  • the validDur data format can be the same as the rendering period ⁇ dur> in SVG parameters, except that validDur is used to describe the effective activation period of SVG media data.
  • the effective activation period can be greater than, or less than, or equal to the rendering period.
  • the portion of the presentation period that is within the effective activation period can be presented. If the presentation period ⁇ dur> of an svg element is equivalent to its valid activation period, the effective period can be implicitly described by the presentation period ⁇ dur>.
  • rendMod which identifies the rendering mode of the SVG media data, the data type is an enumeration value, the enumeration value may include a sequential presentation (inOrder), the terminal and the server share a time axis, sequentially presented from the access time; or include a de novo Rendering (fromBegin), rendered in the terminal timeline, rendering SVG media data from scratch when the condition is met; or including a single presentation from the beginning (fromBeginforOne), which differs from fromBegin in that it only presents a single time for circular SVG media data.
  • rendMod can also not carry parameter values.
  • the terminal can directly Process by default.
  • the difference control parameters are described as the attributes of the SVG media data, or the upper media attributes of the SVG media data, or the transmission adaptation parameters of the data packets, respectively.
  • the difference control parameter is an attribute of the SVG media data
  • the media data sent by the server at the time of TO can be as follows:
  • ⁇ svgMedia Depending on the application, it can be Dynamic and Interactive Multimedia Scenes (DIMS), Timed Graphics (TG) or others.
  • DIMS Dynamic and Interactive Multimedia Scenes
  • TG Timed Graphics
  • ⁇ svgMedia For ⁇ svg ⁇ , the upper-layer media representation of the armor can be implemented by media description, or can be implemented by transmission adaptation, or by both.
  • the media data sent by the server at the time of TO' can be as follows:
  • the media data sent by the server at the time of TO' is redundant transmission data, which is used for random access of the terminal.
  • the difference from the media data at time T0 is only the use of the currentSceneTime attribute, and the currentSceneTime attribute is used to describe the current presentation state of the SVG media data.
  • the media data sent by the server at time T1' can be as follows:
  • the media description is the random access point RAP1.
  • the media data sent by the server at time T1' is similar to the media data sent by the server at the time of TO'. The difference is that the value of currentSceneTime is " ⁇ - ⁇ 0" at this moment, indicating SVG. The time offset of the media data presented at time T1'.
  • the terminal can receive the media data at the time of the TO, and sequentially render the data according to the sequence of the media data.
  • the terminal can receive the media data of the TO' time RAP0, if the presentation mode is sequential presentation; for example, the SVG media data is presented. It is an advertisement timing bar, and the SVG media data is sequentially presented from the TO' of the SVG media data until the T2 time, where currentSceneTime is used to calculate the offset of the element having the time axis.
  • SVG media data presents a banner advertisement, which can display the [currentSceneTime, Tl -TO] part and the second pass of the first pass of the banner advertisement;
  • the SVG media data is rendered from the beginning of the SVG media data until the valid period arrives.
  • currentSceneTime is used to calculate the offset of the element with the time axis, which can be used to calculate the remaining valid activation period of the media presentation as T-currentSceneTime.
  • SVG media data presents a corner advertisement that can present the 1st and 2nd passes of the banner advertisement.
  • the rendering mode is a single presentation from the beginning, for example, the SVG media data presents a loop information reminder
  • the SVG media data is rendered from the beginning of the SVG media data until the full rendering, where currentSceneTime is invalid for calculating the offset of the element with the time axis,
  • the remaining valid activation period that can be used to calculate the media presentation is T-currentSceneTime.
  • the terminal is able to present the first pass of the banner advertisement.
  • the terminal can receive the media data of the RAP RAP1; If the presentation mode is sequential presentation, the SVG media data is sequentially presented from the beginning of the SVG media data until the T2 time, where currentSceneTime is used to calculate the offset of the element with the time axis.
  • SVG media data presents a banner advertisement, which can present the second pass of the banner advertisement [currentSceneTime-(T 1 - ⁇ 0), ⁇ 2- ⁇ 1'];
  • the SVG media data is rendered from the beginning of the SVG media data until the valid period arrives.
  • currentSceneTime is invalid for calculating the offset of the element with timeline, it can be used to calculate the remaining valid activation period of the media presentation as T-currentSceneTime.
  • SVG media data presents a banner ad that can present the [0, T-currentSceneTime] portion of the first pass of the banner ad;
  • the SVG media data is rendered from the beginning of the SVG media data until the full rendering, where currentSceneTime is invalid for calculating the offset of the element with the timeline, and the remaining valid activation period for calculating the media presentation is T-currentSceneTime.
  • SVG media data presents a banner ad that can present the [0, T-currentSceneTime] portion of the first pass of the banner ad.
  • the terminal accessed during this period can only receive the redundant data sent by RAP1 for presentation, so the effective activation period is not enough to completely present the SVG media data once.
  • the presentation mode is the same as the presentation result of the single presentation from the beginning. of.
  • the difference control parameter is the upper media attribute of the SVG media data
  • the difference control parameter exists in the upper media attribute of the SVG media data.
  • the media data sent by the server at the time of TO can be as follows:
  • the difference control parameter exists in ⁇ svg>, and the difference control parameter as the upper media attribute of the SVG media data differs in that the difference control parameter exists in ⁇ svgMedia, and the media data of the difference control parameter are the same, at this time ⁇ svgMedia for ⁇ svg>
  • the encapsulation can be implemented by media data or by adding transmission adaptation parameters.
  • the media data sent by the server at TO' and ⁇ is basically the same as the media data when the difference control parameter exists in ⁇ svg>, except that the difference control parameter exists in ⁇ svgMedia.
  • the media processing of the access terminal at each moment is basically the same as the media processing of the terminal when the difference control parameter exists in ⁇ svg>, except that the terminal reads the difference control parameter from ⁇ svgMedia ⁇ .
  • the media data sent by the server at the time of TO can be as follows:
  • t ⁇ SVg> When 3 ⁇ 4 lines are used for loading, ⁇ is optional. ⁇ There is no ⁇ 8 ⁇ 16(113, ⁇ SVg> ⁇
  • the upper layer media description can increase the parameter field when the transmission is adapted, and carry the difference control parameter through the added parameter field, that is, the difference control parameter can be used as the transmission adaptation layer parameter.
  • the difference control parameter when the SVG media data is encapsulated and transmitted by RTP, the difference control parameter may be encapsulated in the RTP header field; when the SVG media data is encapsulated and transmitted by HTTP, the difference control parameter may be encapsulated in the HTTP header field.
  • the Dur logo presentation period describes the complete presentation period of the SVG media data; Dur can be passed through the transmission adaptation parameter, or can be passed through ⁇ 8 ⁇ > or internal related element description.
  • validDur identifies the effective activation period of SVG media data.
  • rendMod identifies the rendering mode of SVG media data
  • repeatCount/repeatDur identifies the number of times the SVG media data is rendered and the effective time.
  • the media data sent by the server at the time of TO' and T1' is basically the same as the media data sent by the server at the corresponding moment when the difference control parameter exists in ⁇ svg>, except that the difference control parameter is used as the transmission adaptation parameter.
  • the media processing of the access terminal at each moment is basically the same as the media processing of the terminal when the difference control parameter exists at ⁇ svg> at the corresponding moment, except that the terminal reads the difference control parameter from the transmission adaptation layer.
  • the fifth embodiment of the media presentation method provided by the embodiment of the present invention is as follows (this embodiment implements difference control of script-based media data by the server and the terminal, and the script-based media data in this embodiment is SVG media data):
  • This embodiment is basically the same as the fourth embodiment of the media presentation method, and the difference is:
  • the attribute contentType is required to represent the data type of the SVG media data.
  • the same type of media data can be classified according to the characteristics of the content, and the data type is an enumeration.
  • the SVG media data can be classified as follows: closely synchronized with other media, such as an advertisement timing bar, etc., the media content of the type can only be sequentially presented; can be independently controlled independently of other media streams.
  • Type, such as corner advertising, etc., this type of media data can be personalized to configure the presentation mode, such as Presentation from the beginning, sequential presentation, single presentation from the beginning, etc.
  • the server may send the data packet including the contentType to the terminal, and may specifically send the contentType through the data packet including the SVG media data, or send the contentType through the description data of the SVG media data.
  • the terminal After receiving the data packet including the contentType, the terminal selects the presentation mode according to the contentType. For example, when the received SVG media data is not independently controllable from other media streams (ie, closely synchronized with other media), the selected presentation mode may be sequential presentation, and the terminal may combine the difference control parameters included in the data packet. SVG media data is presented sequentially. When the received SVG media data is independently controllable from other media streams, the selected presentation mode may be presented from the beginning, and the terminal may present the SVG media data from the beginning in combination with the difference control parameters included in the data packet.
  • the sixth embodiment of the media presentation method provided by the embodiment of the present invention is as follows (this embodiment implements the difference control of the media data by the server, and the media data in this embodiment is not limited to the script-based media data):
  • A1 is an animation that follows the SVG syntax
  • A2 is the corresponding subtitle part
  • A3 is a plurality of pictures
  • A1 is described by the SVG syntax
  • A2 uses Timed Text for content transmission
  • A3 is HTTP. Downloading, A1, A2 and A3 are combined to form a completed media content that is deployed in the live multicast service with an effective activation period of T.
  • a random access point (RAP: Random Access Point) is set at the TO' time (between the time from the TO time and the time T1) and the time (between the time T1 and the time T2). Send redundant packets at random access points.
  • RAP Random Access Point
  • the embodiment may include the following difference control parameters:
  • validDur identifies the valid activation period T.
  • the validDur data format can be the same as the presentation period ⁇ 11>, except that validDur is used to describe the effective activation period of the media data, and the effective activation period can be greater than, or less than, or equal to the presentation period.
  • the portion of the presentation period that is within the effective activation period can be presented. If the presentation period ⁇ dur> is equivalent to its effective activation period, the effective activation period can be described by the presentation period ⁇ durHI ⁇ .
  • a special value of validDur can indicate that there is The activation cycle is uncertain and the relevant media content is valid until the new media content is received.
  • rendMod which identifies the presentation mode of the media data, the data type is an enumeration value, the enumeration value may include a sequential presentation (inOrder), the terminal and the server share a time axis, sequentially presented from the access time; or include presentation from the beginning (fromBegin ), rendered in the terminal timeline, rendered media data from scratch when the condition is met; or includes a single presentation from the beginning (fromBeginforOne), which differs from fromBegin in that it only renders a single time for circular media data.
  • any one of the sequential presentation, the de novo presentation, and the single presentation can be set as the default value of the rendMod.
  • the rendMod can also not carry the parameter value.
  • the terminal can directly Process by default.
  • Repeating parameters including repeatCount and repeaDur, respectively identifying the number of repetitions and the repetition period, the number of repetitions indicating the number of repeated presentations, and the repetition period indicating the period of repeated presentation.
  • the above parameters can be used as transmission adaptation parameters of the data packet.
  • SVG media data A1 and text media data A2 are encapsulated and transmitted by RTP
  • the above parameters are encapsulated in the RTP header field
  • the picture media data A3 is encapsulated and transmitted by HTTP, as above.
  • the parameters are encapsulated in the HTTP header field.
  • the media data sent by the server at time TO can be as follows:
  • A2's media content A complete text string.
  • A3's media content Individual image files.
  • the media content adds a parameter field when the transmission is adapted, and the difference control parameter carries the difference control parameter, that is, the difference control parameter can be valid as the transmission adaptation layer parameter.
  • the difference control parameter may be encapsulated in the RTP header field;
  • HTTP for example, the transmission of the A3 media content,
  • the difference control parameters can be encapsulated in the HTTP header field.
  • the RTP header field includes the transmission adaptation parameters as shown in Table 1.
  • the Dur logo presentation period describes the complete presentation period of the media data; Dur can be transmitted by transmitting the adaptation parameters.
  • validDur identifies the effective activation period of the media data
  • rendMod identifies the rendering mode of the media data
  • repeatCount/repeatDur identifies the number of times the SVG media data is rendered and the effective time.
  • A2's media content A complete text string.
  • A3's media content Individual image files.
  • the difference control parameter is used as the transmission adaptation parameter.
  • the media processing of the access terminal at each moment is basically the same as the media processing of the terminal when the difference control parameter exists in ⁇ svg> in the fourth embodiment at the corresponding moment, except that the terminal reads the difference control parameter from the transmission adaptation layer.
  • the seventh embodiment of the media presentation method provided by the embodiment of the present invention is as follows. This embodiment implements the difference control of the media data by the server and the terminal. In this embodiment, the media data is not limited to the SVG media data.
  • This embodiment is basically the same as the sixth embodiment of the media presentation method, and the difference is:
  • the attribute contentType is required to represent the data type of the media data.
  • the same type of media data can be classified according to the characteristics of the content, and the data type is an enumeration.
  • the media data may be classified as follows: closely synchronized with other media, such as an advertisement timing bar, etc., the media content of the type can only be sequentially presented; independently independent of other media streams.
  • the banner advertisement, etc. the type of media data can be personalized to the presentation mode, such as presentation from the beginning, sequential presentation, single presentation from the beginning, and the like.
  • the server may send the data packet including the contentType to the terminal, and may specifically send the contentType through the data packet including the media data, or send the contentType through the description data of the media data.
  • the terminal After receiving the data packet including the contentType, the terminal selects the presentation mode according to the contentType. For example, when the received media data is not independently controllable from other media streams (ie, closely synchronized with other media), the selected presentation mode may be sequential presentation, and the terminal may combine the difference control parameters included in the data packet. The media data is presented sequentially. When the received media data is independently controllable from other media streams, the selected presentation mode may be presented from the beginning, and the terminal may present the media data from the beginning in conjunction with the difference control parameters included in the data packet.
  • the eighth embodiment of the media presentation method provided by the embodiment of the present invention is as follows (this embodiment implements the difference control of the media data by the server, which is a comparative image business example):
  • Key Event 1 In the 10th minute, the team A1 scored a goal;
  • Key Event 2 The B team player B1 gets a red card in the 30th minute;
  • the user accessing between the 30th minute and the 80th minute can obtain the information of the key event 1 + key event 2 at the access time, and sequentially watch the subsequent game program;
  • the user who accesses between the 80th minute and the end of the game can obtain the key event 1 + key event 2 + key event 3 information at the time of access, and sequentially watch the subsequent game program.
  • the first key event set is generated in the 10th minute
  • the effective activation period is a special value indicating that the uncertainty is 0, because the subsequent key events are unpredictable, that is, the update time of the key event set is unpredictable, and The actual effective activation period continues until a new key event occurs, that is, a new key event is generated in the 30th minute in this embodiment, and the media server performs key event media data update;
  • a new key event occurs.
  • the new key event set replaces the existing key event set.
  • the effective activation period of the old key event set ends.
  • the effective activation period of the new key event set indicates that the special value is uncertain. 0, for the same reason, because subsequent key events are unpredictable;
  • Each of the above key event sets needs to access the terminal at each moment within its effective activation period, and only needs to perform a single presentation according to the read difference control parameter.
  • FIG. 4 depicts the structure of the server embodiment, including:
  • a construction unit 401 configured to construct a data packet including media data, where the data packet includes a difference control parameter
  • the sending unit 402 is configured to send, to the terminal, a data packet constructed by the constructing unit 401, so as to facilitate the terminal.
  • the media data is presented according to the difference control parameters.
  • the data packet sent by the server to the terminal may include a difference control parameter, so that the terminal can present the media data according to the difference control parameter, thereby implementing the difference control of the media data, and satisfying the different presentation of the different media data by the user. demand.
  • the data packet constructed by the construction unit 401 further includes the data type of the media data.
  • the sending unit 402 is further configured to send, to the terminal, description data including a data type of the media data.
  • the data type of the media data is sent to the terminal, so that the terminal can select the corresponding presentation mode according to the data type of the media data, and then present the media data according to the selected presentation mode, further satisfying the different presentation requirements of the user for different media data.
  • FIG. 5 illustrates the structure of the third embodiment of the terminal, including: a receiving unit 501, configured to receive a data packet including media data, where the data packet includes a difference control parameter;
  • the parsing unit 502 is configured to parse the data packet received by the receiving unit 501, obtain media data, and parse the data packet received by the receiving unit 501 to obtain a difference control parameter.
  • the presentation unit 503 is configured to present the media data according to the difference control parameter obtained by the parsing unit 502.
  • the data packet received by the terminal may include a difference control parameter, so that the terminal can present the media data according to the difference control parameter, thereby implementing the difference control of the media data, and satisfying different presentation requirements of the user for different media data.
  • Figure 6 depicts the structure of the fourth embodiment of the terminal, including:
  • the receiving unit 601 is configured to receive a data packet including media data, where the data packet includes a difference control parameter and a data type of the media data;
  • the data type of the media data may also be included in the description data, and the receiving unit 601 may be further configured to receive the description data of the data type including the media data.
  • the parsing unit 602 is configured to parse the data packet received by the receiving unit 601, obtain the media data, parse the data packet received by the receiving unit 601, obtain the difference control parameter, and parse the data packet received by the receiving unit 601 to obtain the data type of the media data.
  • the selecting unit 603 is configured to select a presentation mode of the media data according to the data type obtained by the parsing unit 602.
  • the selecting unit 603 may also select a presentation mode of the media data in the data type in the description data received by the receiving unit 601.
  • the presentation unit 604 is configured to present the media data according to the difference control parameter obtained by the parsing unit 602 and the presentation mode acquired by the selecting unit 603.
  • the data packet received by the terminal may include a difference control parameter, so that the terminal can present the media data according to the difference control parameter, thereby implementing the difference control of the media data, and satisfying different presentation requirements of the user for different media data; And the user can set the presentation mode in the terminal according to the needs of the user, so that the media data presented by the terminal is completely presented according to the presentation mode set by the user, and further satisfies the different presentation requirements of the user for different media data.
  • the embodiment of the present invention further provides a media presentation system, which includes the server provided by the embodiment of the present invention and/or the terminal provided by the embodiment of the present invention.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • the media presentation method and system, the server and the terminal provided by the embodiments of the present invention are described in detail above. The description of the above embodiments is only for helping to understand the method and the idea of the present invention. Meanwhile, for those skilled in the art, The present invention is not limited by the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention discloses a method for rendering media as well as a system, server and terminal thereof, which belongs to the technical field of communications, wherein the method for rendering media includes: constructing a data packet including media data, wherein the data packet including a difference control parameter; and sending the data packet to a terminal, so as to facilitate the terminal rendering the media data according to the difference control parameter. With the technical scheme provided by the present invention, the difference control can be performed to the media data at the terminal.

Description

媒体呈现方法及系统、 服务器和终端  Media presentation method and system, server and terminal
本申请要求于 2009 年 4 月 7 日提交中国专利局、 申请号为 200910132685.4, 发明名称为 "媒体呈现方法及系统、 服务器和终端" 的中国 专利申请的优先权, 并且要求于 2009年 6月 15日提交中国专利局、 申请号为 200910147569.X, 发明名称为 "媒体呈现方法及系统、 服务器和终端" 的中国 专利申请的优先权, 两个在先申请文件的全部内容通过 ]用结合在本申请中。 技术领域  This application claims the priority of the Chinese Patent Application entitled "Media Presentation Method and System, Server and Terminal" submitted by the Chinese Patent Office on April 7, 2009, with the application number 200910132685.4, and is required to be submitted on June 15, 2009. Submitted to the Chinese Patent Office, Application No. 200910147569.X, the priority of the Chinese patent application entitled "Media Presentation Method and System, Server and Terminal", the entire contents of the two prior application documents are used] In the application. Technical field
本发明涉及通信技术领域,具体涉及媒体呈现方法及系统、服务器和终端。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a media presentation method and system, a server, and a terminal. Background technique
可伸缩矢量图形( SVG: Scalable Vector Graphics )是基于可扩展标记语言 Scalable Vector Graphics (SVG: Scalable Vector Graphics) is based on Extensible Markup Language
( XML: Extensible Markup Language ), 用于描述二维矢量图形的一种图形格 式,其中 XML是一种脚本语言。 SVG的应用可以提供灵活的业务控制和描述, 能够定制面向用户的优良体验。 SVG 中可以包含三种类型的图形对象: 矢量 图形 (例如矩形、 直线等)、 多媒体(例如栅格图片和视频)和文字。 SVG可 以对这些图形对象进行分组、 添加样式、 进行各种变换, 例如平移、 旋转等操 作。 SVG中的图形可以具有交互性和动态性。 SVG中动画的应用提供了多种 业务场景, 如广告计时条、 台标和角标广告等。 (XML: Extensible Markup Language), a graphical format used to describe two-dimensional vector graphics, where XML is a scripting language. SVG applications can provide flexible business control and description, and can customize a good user-oriented experience. There are three types of graphic objects that can be included in SVG: vector graphics (such as rectangles, lines, etc.), multimedia (such as raster images and video), and text. SVG can group, add styles, and make various transformations such as panning, rotation, and so on. Graphics in SVG can be interactive and dynamic. The application of animation in SVG provides a variety of business scenarios, such as ad timing, logo and banner ads.
在上述的广告计时条、 台标和角标广告等应用中,对于不同的应用场景存 在相应的呈现控制需求。 在现有的一种媒体呈现方法中: 服务器发送的数据包中包括 SVG媒体数据, 终端接收了数据包后, 仅会 顺序呈现 SVG媒体数据, 即所有的终端在接收了服务器的数据包(该数据包 包括 SVG媒体数据 )后, 都会直接显示 SVG媒体数据, 使所有的终端都在相 同的时间呈现相同的 SVG媒体数据。 在对现有技术的研究中,发明人发现: 使用上述的媒体呈现方法并不能满 足某些业务的需要, 例如在投票业务中, 候选人信息展播的有效时间为 T, 单 次完整呈现的周期为 t, 在获取到候选人信息之后用户可以投票, T时刻之后 公布投票结果。对于直播业务,无论单播还是多播在 T之内任何时刻接入的终 端都希望能够获取完整的候选人信息。但是使用上述的媒体呈现方法, 由于所 有的终端都在相同的时间呈现相同的媒体,因此在 T开始之后接入的终端并不 会从头呈现候选人信息,导致用户并不能从头获取完整的候选人信息, 因此使 用上述的媒体呈现方法并不能满足在不同时间接入的不同用户的需要。 发明内容 In the above applications such as the advertisement timing bar, the logo and the banner advertisement, there are corresponding rendering control requirements for different application scenarios. In an existing media presentation method, the data packet sent by the server includes SVG media data, and after receiving the data packet, the terminal only sequentially presents the SVG media data, that is, all the terminals receive the data packet of the server (the After the data package includes SVG media data, the SVG media data is directly displayed, so that all terminals present the same SVG media data at the same time. In the research on the prior art, the inventor found that: The use of the above media presentation method does not meet the needs of certain services. For example, in the voting service, the effective time of the candidate information broadcast is T, a single complete presentation period. For t, the user can vote after the candidate information is obtained, and the voting result is announced after the time T. For live broadcast services, terminals that access at any time within T, whether unicast or multicast, want to be able to obtain complete candidate information. However, using the above media presentation method, since all terminals present the same media at the same time, the terminal accessed after the start of T is not The candidate information is presented from the beginning, so that the user cannot obtain complete candidate information from the beginning, so the use of the above media presentation method does not satisfy the needs of different users accessing at different times. Summary of the invention
本发明实施例提供了媒体呈现方法及系统、服务器和终端,使用本发明实 施例提供的技术方案, 可以实现媒体数据在终端的差异控制。 本发明实施例的目的是通过以下技术方案实现的: 本发明实施例提供了一种媒体呈现方法, 包括:  The embodiments of the present invention provide a media presentation method and system, a server, and a terminal. The technical solution provided by the embodiment of the present invention can implement difference control of media data in a terminal. The embodiment of the present invention is implemented by the following technical solutions: The embodiment of the present invention provides a media presentation method, including:
构造包括媒体数据的数据包, 所述数据包包括差异控制参数;  Constructing a data packet including media data, the data packet including a difference control parameter;
向终端发送所述数据包,以便于所述终端 ^居所述差异控制参数呈现所述 媒体数据。  Transmitting the data packet to the terminal to facilitate the terminal to present the media data by the difference control parameter.
本发明实施例提供了一种媒体呈现方法, 包括:  The embodiment of the invention provides a media presentation method, including:
接收包括媒体数据的数据包, 该数据包包括差异控制参数;  Receiving a data packet including media data, the data packet including a difference control parameter;
解析所述数据包获得媒体数据; 解析所述数据包获得差异控制参数; 根据所述差异控制参数呈现所述媒体数据。  Parsing the data packet to obtain media data; parsing the data packet to obtain a difference control parameter; and presenting the media data according to the difference control parameter.
本发明实施例提供了一种服务器, 包括:  An embodiment of the present invention provides a server, including:
构造单元, 用于构造包括媒体数据的数据包, 所述数据包包括差异控制参 数;  a construction unit, configured to construct a data packet including media data, where the data packet includes a difference control parameter;
发送单元, 用于向终端发送所述构造单元构造的数据包, 以便于所述终端 才艮据所述差异控制参数呈现所述媒体数据。  And a sending unit, configured to send, to the terminal, the data packet constructed by the constructing unit, so that the terminal presents the media data according to the difference control parameter.
本发明实施例提供了一种终端, 包括:  The embodiment of the invention provides a terminal, including:
接收单元,用于接收包括媒体数据的数据包,该数据包包括差异控制参数; 解析单元, 用于解析所述接收单元接收的数据包, 获得所述媒体数据; 解 析所述接收单元接收的数据包, 获得差异控制参数;  a receiving unit, configured to receive a data packet including media data, the data packet includes a difference control parameter, a parsing unit, configured to parse the data packet received by the receiving unit, obtain the media data, and parse the data received by the receiving unit Package, obtain the difference control parameters;
呈现单元, 用于根据所述解析单元获得的差异控制参数呈现所述媒体数 据。  a rendering unit, configured to present the media data according to a difference control parameter obtained by the parsing unit.
本发明实施例提供了一种媒体呈现系统,包括本发明实施例提供的服务器 和 /或包括本发明实施例提供的终端。 从本发明实施例提供的以上技术方案可以看出,由于终端可以获得差异控 制参数,使终端可以根据差异控制参数呈现媒体数据,从而实现媒体数据在终 端的差异控制, 满足用户对不同媒体数据的不同呈现需求。 The embodiment of the present invention provides a media presentation system, including the server provided by the embodiment of the present invention and/or the terminal provided by the embodiment of the present invention. As can be seen from the foregoing technical solutions provided by the embodiments of the present invention, the terminal can obtain the difference control parameter, so that the terminal can present the media data according to the difference control parameter, thereby implementing the difference control of the media data in the terminal, and satisfying the user for different media data. Different presentation needs.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付 出创造性劳动的前提下, 还可以根据这些附图获得其他的实施方式。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other embodiments may be obtained by those skilled in the art without departing from the drawings.
图 1为本发明实施例中媒体呈现方法实施例一的流程示意图;  1 is a schematic flowchart of Embodiment 1 of a media presentation method according to an embodiment of the present invention;
图 2为本发明实施例中媒体呈现方法实施例二的流程示意图; 图 3为本发明实施例中媒体呈现方法实施例三的流程示意图;  2 is a schematic flowchart of Embodiment 2 of a media presentation method according to an embodiment of the present invention; FIG. 3 is a schematic flowchart of Embodiment 3 of a media presentation method according to an embodiment of the present invention;
图 4为本发明实施例中服务器实施例的结构示意图; 图 5为本发明实施例中终端实施例一的结构示意图; 图 6为本发明实施例中终端实施例二的结构示意图。  4 is a schematic structural diagram of a server according to an embodiment of the present invention; FIG. 5 is a schematic structural diagram of a first embodiment of a terminal according to an embodiment of the present invention; and FIG. 6 is a schematic structural diagram of a second embodiment of a terminal according to an embodiment of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative work are within the scope of the present invention.
先介绍本发明实施例提供的媒体呈现方法。图 1描述了媒体呈现方法实施 例一的流程, 该实施例描述的是服务器的处理流程, 包括:  The media presentation method provided by the embodiment of the present invention is introduced first. FIG. 1 is a flowchart of a first embodiment of a media presentation method. The embodiment describes a process flow of a server, including:
101、 构造包括媒体数据的数据包, 该数据包还包括差异控制参数。  101. Construct a data packet including media data, where the data packet further includes a difference control parameter.
媒体数据是需要呈现的媒体数据, 具体可以是 SVG媒体数据、 或同步多 媒体集成语言 ( SMIL: Synchronized Multimedia Integration Language )媒体数 据等用脚本语言描述的媒体数据;服务器可以从预先设定的配置文件中获取差 异控制参数, 也可以即时接收用户输入的差异控制参数。  The media data is media data that needs to be presented, and may be media data described by a script language such as SVG media data or SMIL (Synchronized Multimedia Integration Language) media data; the server may be configured from a preset configuration file. The difference control parameter is obtained, and the difference control parameter input by the user can also be received immediately.
差异控制参数可以包括有效激活周期、 呈现模式和重复参数中的至少一 种; 具体地, 差异控制参数可以作为基于脚本的媒体数据的媒体属性、 或作为 基于脚本的媒体数据的上层媒体属性、或作为数据包的传输适配参数等形式包 括于数据包中。 The difference control parameter may include at least one of an effective activation period, a presentation mode, and a repetition parameter Specifically, the difference control parameter may be included in the data packet as a media attribute of the script-based media data, or as an upper media attribute of the script-based media data, or as a transmission adaptation parameter of the data packet.
其中,有效激活周期表示媒体数据呈现的有效时间, 即媒体数据仅在有效 激活周期内才会呈现。在本发明的一个实施例中,媒体数据是 SVG媒体数据, 有效激活周期在 SVG属性中用 validDur表示。 validDur可以作为 SVG媒体数 据的属性, 该属性可以作用在所有的 SVG元素上, 如<8¥§>、 <g>和其他有时 间轴的 SVG元素。或者, validDur也可以作为 SVG媒体数据的上层媒体属性, 当媒体描述以 SVG 为基 , SVG描述文件作为媒体描述的净荷部分时, validDur可以作为媒体描述头域属性; 当然在将 SVG封装时, 媒体描述还有 其他头域属性字段。 或者, validDur也可以作为数据包的传输适配参数, 例如 在 SVG媒体数据采用实时传输协议 ( RTP: Real-time Transport Protocol )进行 封装传输时, validDur可以封装于 RTP头域中; 在 SVG媒体数据采用超文本 传输协议 ( HTTP: HyperText Transfer Protocol )进行封装传输, validDur可以 封装于 HTTP头域中。  The effective activation period indicates the effective time of the presentation of the media data, that is, the media data is only presented during the valid activation period. In one embodiment of the invention, the media data is SVG media data, and the effective activation period is represented by validDur in the SVG attribute. validDur can be used as an attribute of SVG media data, which can be applied to all SVG elements, such as <8¥§>, <g> and other SVG elements of the time axis. Alternatively, validDur can also be used as the upper media attribute of SVG media data. When the media description is based on SVG and the SVG description file is used as the payload part of the media description, validDur can be used as the media description header field attribute; of course, when SVG is encapsulated, The media description has additional header field attribute fields. Alternatively, validDur can also be used as a transmission adaptation parameter of the data packet. For example, when SVG media data is encapsulated and transmitted by Real Time Transport Protocol (RTP), validDur can be encapsulated in the RTP header field; Encapsulated transmission using HyperText Transfer Protocol (HTTP), validDur can be encapsulated in the HTTP header field.
呈现模式表示媒体数据的呈现模式, 呈现模式的取值是枚举值,可以包括 顺序呈现、 或从头呈现、 或从头单次呈现等。 在本发明的一个实施例中, 媒体 数据是 SVG媒体数据, 呈现模式在 SVG属性中用 rendMod表示。 rendMod 可以作为 SVG媒体数据的属性, 该属性可以作用在所有的 SVG元素上, 如 <svg>、 <g>和其他有具有时间轴的具体 SVG元素。 rendMod也可以作为 SVG 媒体数据的上层媒体属性, 当媒体描述以 SVG为基 , SVG描述文件作为媒 体描述的净荷部分时, rendMod可以作为媒体描述头域属性; 当然在将 SVG 封装时,媒体描述还有其他头域属性字段。 rendMod也可以作为数据包的传输 适配参数, 例如在 SVG媒体数据采用 RTP进行封装传输时, rendMod可以封 装于 RTP头域中; 在 SVG媒体数据采用 HTTP进行封装传输, rendMod可以 封装于 HTTP头域中。  The presentation mode represents the presentation mode of the media data, and the value of the presentation mode is an enumeration value, which may include sequential presentation, or presentation from the beginning, or single presentation from the beginning. In one embodiment of the invention, the media data is SVG media data and the rendering mode is represented by rendMod in the SVG attribute. rendMod can be used as an attribute of SVG media data, which can be applied to all SVG elements, such as <svg>, <g>, and other specific SVG elements with a timeline. rendMod can also be used as the upper media attribute of SVG media data. When the media description is based on SVG and the SVG description file is used as the payload part of the media description, rendMod can be used as the media description header field attribute; of course, when SVG is encapsulated, the media description There are also other header domain attribute fields. The rendMod can also be used as a transmission adaptation parameter of the data packet. For example, when the SVG media data is encapsulated and transmitted by RTP, the rendMod can be encapsulated in the RTP header field; the SVG media data is encapsulated and transmitted by HTTP, and the rendMod can be encapsulated in the HTTP header field. in.
重复参数是媒体数据重复呈现的参数, 其中, 重复参数可以包括重复次数 和重复周期, 重复次数表示重复呈现的次数, 重复周期表示重复呈现的周期。 在本发明的一个实施例中,媒体数据是 SVG媒体数据, 重复参数在 SVG属性 中用重复次数 ( repeatCount )和重复周期 ( repeaDur )表示。 repeatCount和 repeaDur可以作为 SVG媒体数据的属性,该属性可以作用在所有的 SVG元素 上,如<8¥§>和<§>。 repeatCount和 repeaDur也可以作为 SVG媒体数据的上层 媒体属性。 当媒体描述以 SVG为基础, SVG描述文件作为媒体描述的净荷部 分时, repeatCount和 repeaDur可以作为媒体描述头域属性; 当然在将 SVG封 装时, 媒体描述还有其他头域属性字段。 repeatCount和 repeaDur也可以作为 数据包的传输适配参数, 例如在 SVG媒体数据采用 RTP进行封装传输时, repeatCount和 repeaDur可以封装于 RTP头域中;在 SVG媒体数据采用 HTTP 进行封装传输, repeatCount和 repeaDur可以封装于 HTTP头域中。 The repetition parameter is a parameter for repeatedly presenting the media data, wherein the repetition parameter may include a repetition number and a repetition period, the repetition number indicates the number of repeated presentations, and the repetition period indicates a period of repeated presentation. In one embodiment of the invention, the media data is SVG media data, and the repeating parameters are in the SVG attribute. It is represented by the number of repetitions ( repeatCount ) and the repetition period ( repeaDur ). repeatCount and repeaDur can be used as attributes of SVG media data, which can be applied to all SVG elements, such as <8¥§> and <§>. repeatCount and repeaDur can also be used as the upper media attributes of SVG media data. When the media description is based on SVG and the SVG description file is used as the payload part of the media description, repeatCount and repeaDur can be used as the media description header field attribute; of course, when the SVG is encapsulated, the media description has other header field attribute fields. The repeatCount and the reverseDur can also be used as transmission adaptation parameters of the data packet. For example, when the SVG media data is encapsulated and transmitted by RTP, the repeatCount and the reverseDur can be encapsulated in the RTP header field; the SVG media data is encapsulated and transmitted by HTTP, repeatCount and repeaDur Can be encapsulated in an HTTP header field.
102、 向终端发送数据包, 以便于终端根据差异控制参数呈现媒体数据。 将数据包发送给终端后, 终端就可以根据差异控制参数呈现媒体数据。例 如,在差异控制参数包括了有效激活周期时, 终端可以仅在有效激活周期内呈 现媒体数据; 在差异控制参数包括了重复参数时, 终端可以根据重复参数重复 呈现媒体数据, 重复呈现的次数是重复次数所对应的数值;在差异控制参数包 括了呈现模式时, 终端可以根据呈现模式呈现媒体数据。  102. Send a data packet to the terminal, so that the terminal presents the media data according to the difference control parameter. After the data packet is sent to the terminal, the terminal can present the media data according to the difference control parameter. For example, when the difference control parameter includes a valid activation period, the terminal may present the media data only during the effective activation period; when the difference control parameter includes the repeated parameter, the terminal may repeatedly render the media data according to the repeated parameter, and the number of times of repeated presentation is The value corresponding to the number of repetitions; when the difference control parameter includes the presentation mode, the terminal can present the media data according to the presentation mode.
从上可知,本实施例向终端发送的数据包可以包括差异控制参数,使终端 可以根据差异控制参数呈现媒体数据,每个终端都可以根据差异控制参数呈现 媒体数据,从而实现媒体数据的差异控制, 满足用户对不同媒体数据的不同呈 现需求。  As can be seen from the above, the data packet sent by the embodiment to the terminal may include a difference control parameter, so that the terminal can present the media data according to the difference control parameter, and each terminal can present the media data according to the difference control parameter, thereby implementing the difference control of the media data. , to meet the different presentation needs of users for different media data.
在实际应用中,例如在对广告进行倒计时时, 无论终端何时接收到了媒体 数据, 各个终端的呈现都应该是一样的; 例如在呈现投票业务时, 各个终端在 接入时都能够从头呈现候选人信息。本发明实施例提供的媒体呈现方法实施例 一还可以包括: 向终端发送媒体数据的数据类型; 具体可以在构造的包括差异 控制参数的数据包中携带媒体数据的数据类型,或在媒体数据的描述数据中携 带媒体数据的数据类型,描述数据是媒体数据的一些描述信息, 包括媒体数据 的长度、 编解码方式等信息, 该描述数据具体可以是元数据。  In practical applications, for example, when the advertisement is counted down, the presentation of each terminal should be the same whenever the terminal receives the media data; for example, when presenting the voting service, each terminal can present candidates from the beginning when accessing People information. The first embodiment of the media presentation method provided by the embodiment of the present invention may further include: sending a data type of the media data to the terminal; specifically, carrying the data type of the media data in the data packet including the difference control parameter, or in the media data Describe the data type of the data in the data, and the description data is some description information of the media data, including the length of the media data, the encoding and decoding mode, and the like, and the description data may specifically be metadata.
其中,如果服务器向终端发送媒体数据的数据类型,服务器可以不向终端 发送呈现模式,此时呈现模式可以由终端设置, 即由终端设置不同数据类型的 媒体数据的呈现模式达到用户的个性化体验。例如, 终端可以在媒体数据是呈 现对广告进行倒计时时, 顺序呈现媒体数据; 在媒体数据是呈现投票业务时, 从头呈现媒体数据。 If the server sends the data type of the media data to the terminal, the server may not send the presentation mode to the terminal, and the presentation mode may be set by the terminal, that is, the presentation mode of the media data set by the terminal with different data types reaches the personalized experience of the user. . For example, the terminal can present in the media data When the advertisement is counted down, the media data is sequentially presented; when the media data is presenting the voting service, the media data is presented from the beginning.
图 2描述了媒体呈现方法实施例二的流程,该实施例描述的是终端的处理 流程, 包括:  FIG. 2 is a flowchart of a second embodiment of a media presentation method. The embodiment describes a process flow of the terminal, including:
201、 接收包括媒体数据的数据包, 该数据包还包括差异控制参数。  201. Receive a data packet including media data, where the data packet further includes a difference control parameter.
接收的数据包由服务器发送, 具体地, 在终端与服务器建立了链接后, 终 端才会接收到由服务器发送的该数据包。  The received data packet is sent by the server. Specifically, after the terminal establishes a link with the server, the terminal receives the data packet sent by the server.
202、 解析数据包获得媒体数据; 解析数据包获得差异控制参数。  202. Parse the data packet to obtain media data; parse the data packet to obtain a difference control parameter.
其中, 解析得到的差异控制参数可以包括有效激活周期、 呈现模式、 和重 复参数中的至少一种。  The difference control parameter obtained by the parsing may include at least one of an effective activation period, a presentation mode, and a repetition parameter.
具体地,根据差异控制参数在数据包中的形式不同,解析获得差异控制参 数的过程也有所不同,例如在差异控制参数可以作为基于脚本的媒体数据的媒 体属性时, 则需要先解析数据包获得了基于脚本的媒体数据后,从基于脚本的 媒体数据中解析获得差异控制参数。  Specifically, according to the difference in the form of the difference control parameter in the data packet, the process of parsing the difference control parameter is also different. For example, when the difference control parameter can be used as the media attribute of the script-based media data, the data packet needs to be parsed first. After the script-based media data, the difference control parameters are obtained by parsing from the script-based media data.
203、 根据差异控制参数呈现媒体数据。  203. Present media data according to the difference control parameter.
例如在差异控制参数包括有效激活周期时,终端可以仅在有效激活周期内 呈现媒体数据; 在差异控制参数包括了重复次数时, 终端可以重复呈现媒体数 据, 重复呈现的次数是重复次数所对应的数值; 在差异控制参数包括了呈现模 式时, 终端可以根据呈现模式呈现媒体数据, 具体可以是顺序呈现媒体数据、 或从头呈现媒体数据、 或从头单次呈现媒体数据等。  For example, when the difference control parameter includes a valid activation period, the terminal may present the media data only during the effective activation period; when the difference control parameter includes the number of repetitions, the terminal may repeatedly render the media data, and the number of times of repeated presentation is the number of repetitions. When the difference control parameter includes the presentation mode, the terminal may present the media data according to the presentation mode, and may specifically present the media data sequentially, or present the media data from the beginning, or present the media data from the beginning.
从上可知,本实施例终端接收的数据包可以包括差异控制参数,使终端可 以才艮据差异控制参数呈现媒体数据,并且每个终端都可以^^据差异控制参数呈 现媒体数据,从而实现媒体数据的差异控制, 满足用户对不同媒体数据的不同 呈现需求。  As can be seen from the above, the data packet received by the terminal in this embodiment may include a difference control parameter, so that the terminal can present the media data according to the difference control parameter, and each terminal can present the media data according to the difference control parameter, thereby implementing the media. The difference control of data meets the different presentation requirements of users for different media data.
图 3描述了媒体呈现方法实施例三的流程,该实施例描述的是终端的处理 流程, 该实施例可以获得媒体数据的数据类型, 该实施例包括:  FIG. 3 is a flowchart of a third embodiment of the media presentation method. The embodiment describes a process flow of the terminal. The embodiment may obtain a data type of the media data. The embodiment includes:
301、 接收包括媒体数据的数据包, 该数据包包括差异控制参数。  301. Receive a data packet including media data, where the data packet includes a difference control parameter.
302、 解析数据包获得媒体数据; 解析数据包获得差异控制参数。 解析得到的差异控制参数可以包括有效激活周期和 /或重复参数。 该步骤 可以参照 202执行。 302. Parse the data packet to obtain media data; parse the data packet to obtain a difference control parameter. The difference control parameters obtained by the analysis may include valid activation periods and/or repetition parameters. This step can be performed with reference to 202.
303、 获取媒体数据的数据类型。  303. Obtain a data type of the media data.
具体地,可以从接收的数据包中解析获得媒体数据的数据类型; 也可以从 媒体数据的描述数据中解析获得媒体数据的数据类型。  Specifically, the data type of the media data can be parsed from the received data packet; the data type of the media data can also be parsed from the description data of the media data.
304、 根据媒体数据的数据类型选择呈现模式。  304. Select a presentation mode according to the data type of the media data.
其中, 呈现模式是预先设置的,根据不同的数据类型可以设置不同的呈现 模式。 例如, 在媒体数据呈现的是广告计时条时, 可以设置该媒体数据的呈现 模式是顺序呈现; 在媒体数据呈现的是投票业务时,可以设置该媒体数据的呈 现模式是从头呈现。  The presentation mode is preset, and different presentation modes can be set according to different data types. For example, when the media data presents an advertisement timing bar, the presentation mode of the media data may be set to be sequentially presented; when the media data presents a voting service, the presentation mode of the media data may be set to be presented from the beginning.
305、 根据解析得到的差异控制参数和选择的呈现模式呈现媒体数据。 从上可知,本实施例终端接收的数据包可以包括差异控制参数,使终端可 以才艮据差异控制参数呈现媒体数据,并且每个终端都可以^^据差异控制参数呈 现媒体数据,从而实现媒体数据的差异控制, 满足用户对不同媒体数据的不同 呈现需要;并且不同数据类型的媒体数据的呈现模式可以由用户根据自己的需 要在终端进行设置,使终端呈现的媒体数据完全根据用户的设置进行呈现,进 一步满足用户对不同媒体数据的不同呈现需求。  305. Present media data according to the difference control parameter obtained by the parsing and the selected presentation mode. As can be seen from the above, the data packet received by the terminal in this embodiment may include a difference control parameter, so that the terminal can present the media data according to the difference control parameter, and each terminal can present the media data according to the difference control parameter, thereby implementing the media. The difference control of the data satisfies the different presentation needs of the user for different media data; and the presentation mode of the media data of different data types can be set by the user according to his own needs, so that the media data presented by the terminal is completely according to the user's settings. Presentation, further satisfying the different presentation requirements of users for different media data.
本发明实施例提供的媒体呈现方法实施例四如下所述(该实施例由服务器 实现基于脚本的媒体数据的差异控制, 该实施例中基于脚本的媒体数据是 SVG媒体数据):  Embodiment 4 of the media presentation method provided by the embodiment of the present invention is as follows (this embodiment implements difference control of script-based media data by a server, and the script-based media data in this embodiment is SVG media data):
A1, A2和 A3分别为遵循 SVG语法的三个动画, A1, A2和 A3采用 SVG 语法的媒体内容进行描述,被部署在直播的多播业务中,其有效激活周期为 T。 例如 SVG媒体数据呈现的是角标广告, 假设 SVG媒体数据从 TO时刻开始播 放, 一直播放到 T2时刻, 则 T= T2-T0; Al , Α2和 A3完整呈现的周期为 t; SVG媒体数据的重复播放次数为 2次, 贝' j T = 2t, SVG媒体数据在 TO时刻至 T1时刻完整呈现第一次, 在 T1时刻至 T2时刻完整呈现第二次。  A1, A2, and A3 are three animations that follow the SVG syntax. A1, A2, and A3 are described in the SVG syntax. They are deployed in live multicast services with an effective activation period of T. For example, SVG media data presents a banner advertisement. SVG media data is assumed to start from the TO time, and is played until the T2 time, then T=T2-T0; Al, Α2 and A3 are completely rendered in the period of t; SVG media data The number of repeated plays is 2 times, and the shell 'j T = 2t. The SVG media data is completely presented for the first time from the time of TO to the time of T1, and the second time is completely presented from the time of T1 to the time of T2.
为了保证用户的随机接入, 在 TO'时刻 (在 TO时刻至 T1 时刻之间 )和 ΤΓ时刻(在 T1时刻至 T2时刻之间)分别设置随机接入点( RAP: Random Access Point ), 服务器在随机接入点发送冗余数据包。 在实现对应业务场景时, 本实施例可以包括如下的差异控制参数:In order to ensure the random access of the user, a random access point (RAP: Random Access Point) is set at the TO' time (between the time from the TO time and the time T1) and the time (between the time T1 and the time T2). Send redundant packets at random access points. When implementing the corresponding service scenario, the embodiment may include the following difference control parameters:
( 1 ) validDur, 标识有效激活周期 T。 validDur的数据格式可以与 SVG 参数中的呈现周期 <dur>相同,不同之处在于 validDur用于描述 SVG媒体数据 的有效激活周期, 有效激活周期可以大于、 或小于、 或等于呈现周期。 呈现周 期在有效激活周期范围之内的部分才能呈现。 如果某 svg 元素的呈现周期 <dur>与其有效激活周期等同, 则可以用呈现周期 <dur>隐性描述有效激活周 期。 (1) validDur, identifies the valid activation period T. The validDur data format can be the same as the rendering period <dur> in SVG parameters, except that validDur is used to describe the effective activation period of SVG media data. The effective activation period can be greater than, or less than, or equal to the rendering period. The portion of the presentation period that is within the effective activation period can be presented. If the presentation period <dur> of an svg element is equivalent to its valid activation period, the effective period can be implicitly described by the presentation period <dur>.
( 2 ) rendMod, 标识 SVG媒体数据的呈现模式, 其数据类型为枚举值, 枚举值可以包括顺序呈现(inOrder ), 终端与服务器端共享时间轴, 从接入时 刻顺序呈现; 或包括从头呈现(fromBegin ), 以终端时间轴进行呈现, 在条件 满足下从头呈现 SVG媒体数据; 或包括从头单次呈现( fromBeginforOne ), 与 fromBegin不同之处在于对于循环 SVG媒体数据仅呈现单次。 其中, 可以 设置顺序呈现、 从头呈现和从头单次呈现中的任意一个作为 rendMod 的默认 值, 在确定了默认值后, rendMod也可以不携带参数值, 在 rendMod没有携带 参数值时, 终端可以直接按照默认值进行处理。  (2) rendMod, which identifies the rendering mode of the SVG media data, the data type is an enumeration value, the enumeration value may include a sequential presentation (inOrder), the terminal and the server share a time axis, sequentially presented from the access time; or include a de novo Rendering (fromBegin), rendered in the terminal timeline, rendering SVG media data from scratch when the condition is met; or including a single presentation from the beginning (fromBeginforOne), which differs from fromBegin in that it only presents a single time for circular SVG media data. Among them, you can set any one of sequential presentation, de novo presentation and single-shot presentation as the default value of rendMod. After determining the default value, rendMod can also not carry parameter values. When rendMod does not carry parameter values, the terminal can directly Process by default.
如下分别对差异控制参数作为 SVG媒体数据的属性、或 SVG媒体数据的 上层媒体属性、 或数据包的传输适配参数进行描述。  The difference control parameters are described as the attributes of the SVG media data, or the upper media attributes of the SVG media data, or the transmission adaptation parameters of the data packets, respectively.
一、 假设差异控制参数作为 SVG媒体数据的属性, 则差异控制参数存在
Figure imgf000010_0001
1. Assuming that the difference control parameter is an attribute of the SVG media data, the difference control parameter exists.
Figure imgf000010_0001
先介绍服务器在不同时刻发送的媒体数据。  First introduce the media data sent by the server at different times.
( 1 )服务器在 TO时刻发送的媒体数据可以如下所述:  (1) The media data sent by the server at the time of TO can be as follows:
<svgMedia>  <svgMedia>
<svg id="svgl " validDur=* n rendMod="inOrder" repeatCount=n2"> // <svg id="svgl " validDur=* n rendMod="inOrder" repeatCount= n 2"> //
<animation id="Al " begin="0" dur="tl *'...>  <animation id="Al " begin="0" dur="tl *'...>
<animation id="A2" begin=" 1 " dur="t2"...>  <animation id="A2" begin=" 1 " dur="t2"...>
<animation id="A3" begin='O.l " dur="t3 *'...>  <animation id="A3" begin='O.l " dur="t3 *'...>
</svg>  </svg>
</svgMedia> 其中, svg id="svgl"表示需要呈现的 SVG媒体数据是标识为 svgl的 SVG 媒体数据; validDur="T"表示 SVG 媒体数据的有效激活周期是 T ; rendMod="inOrder"表示 SVG 媒体数据的呈现模式是顺序呈现; repeatCount="2"表示 SVG媒体数据需要重复呈现 2 次。 animation id="Al " begin="0" dur="tl "描述 SVG媒体数据的其中一个动画 Al , A1从 0时刻开始 呈现, 呈现周期是 tl; animation id=" A2" begin=" 1 " duF"t2"描述 SVG媒体数 据的其中一个动画 A2, A2从 1时刻开始呈现,呈现周期是 t2; animation id="A3" begin='O.r dur="t3"描述 SVG媒体数据的其中一个动画 A3, A3从 0.1时刻开 始呈现, 呈现周期是 t3。 </svgMedia> Where svg id="svgl" indicates that the SVG media data to be rendered is the SVG media data identified as svgl; validDur="T" indicates that the effective activation period of the SVG media data is T; rendMod="inOrder" indicates the SVG media data The rendering mode is sequential rendering; repeatCount="2" indicates that the SVG media data needs to be rendered twice. Animation id="Al "begin="0"dur="tl"Describe one of the animations of SVG media data, A1 is rendered from time 0, the rendering period is tl; animation id="A2"begin=" 1 " duF "t2" describes one of the animations A2 of the SVG media data, A2 is rendered from 1 o'clock, the rendering period is t2; animation id="A3"begin='Ordur="t3" describes one of the animations A3 of the SVG media data, A3 is presented from time 0.1, and the presentation period is t3.
对于呈现模式 rendMod 的取值, 可以设置顺序呈现为默认值, 即 rendMod="inOrder"属性可选, 无该属性时也可表示顺序呈现; 从头呈现, 则 rendMod="fromBegin"; 从头单次呈现, 贝' j fromBeginforOne0 For the value of the rendering mode rendMod, you can set the order to be the default value, that is, the rendMod="inOrder" attribute is optional. If there is no such attribute, it can also represent the sequential presentation; from the beginning, then rendMod="fromBegin"; , 贝' j fromBeginforOne 0
<svgMedia 视具体应用确定, 可以是动态与交互多媒体场景 (DIMS: Dynamic and Interactive Multimedia Scenes ), 时控图形 ( TG: Timed Graphics) 或者其他。 <svgMedia 对于 <svg ^、†装的上层媒体表述, 可以通过媒体描述 实现, 也可以通过传输适配增加头部实现, 或者通过两者实现。  <svgMedia Depending on the application, it can be Dynamic and Interactive Multimedia Scenes (DIMS), Timed Graphics (TG) or others. <svgMedia For <svg^, the upper-layer media representation of the armor can be implemented by media description, or can be implemented by transmission adaptation, or by both.
( 2 )服务器在 TO'时刻发送的媒体数据可以如下所述:  (2) The media data sent by the server at the time of TO' can be as follows:
<svgMedia>  <svgMedia>
<svg id="svgl " currentSceneTime="T0'-T0" validDur="T" rendMod="inOrder" repeatCount="2">  <svg id="svgl " currentSceneTime="T0'-T0" validDur="T" rendMod="inOrder" repeatCount="2">
<animation id="Al "
Figure imgf000011_0001
<animation id="Al "
Figure imgf000011_0001
<animation id="A2" begin=" l " duF"t2"...>  <animation id="A2" begin=" l " duF"t2"...>
<animation id="A3" begin="0.1" dur="t3 *'...>  <animation id="A3" begin="0.1" dur="t3 *'...>
</svg>  </svg>
</svgMedia  </svgMedia
服务器在 TO'时刻发送的媒体数据为冗余传输数据,用于终端的随机接入, 与 T0 时刻的媒体数据的不同仅在于 currentSceneTime 属性的使用, currentSceneTime 属性用于描述 SVG 媒体数据的当前呈现状态, currentSceneTime="T0'-T0"表示 SVG媒体数据在 TO'时刻呈现的时间偏移。The media data sent by the server at the time of TO' is redundant transmission data, which is used for random access of the terminal. The difference from the media data at time T0 is only the use of the currentSceneTime attribute, and the currentSceneTime attribute is used to describe the current presentation state of the SVG media data. , currentSceneTime="T0'-T0" represents the time offset of the SVG media data presented at TO' time.
( 3 )服务器在 T1'时刻发送的媒体数据可以如下所述: (3) The media data sent by the server at time T1' can be as follows:
ΤΓ的媒体描述为随机接入点 RAP1 , 服务器在在 T1'时刻发送的媒体数据 与服务器在 TO'时刻发送的媒体数据类似, 差别仅在于此刻 currentSceneTime 的取值为" ΤΓ-Τ0", 表示 SVG媒体数据在 T1'时刻呈现的时间偏移。  The media description is the random access point RAP1. The media data sent by the server at time T1' is similar to the media data sent by the server at the time of TO'. The difference is that the value of currentSceneTime is "ΤΓ-Τ0" at this moment, indicating SVG. The time offset of the media data presented at time T1'.
( 4 )由于 SVG媒体数据在 T2时刻完成两次呈现,并且 SVG媒体数据的 有效激活周期已经达到, 所以 SVG媒体数据呈现结束。  (4) Since the SVG media data is twice rendered at time T2 and the effective activation period of the SVG media data has been reached, the SVG media data presentation ends.
再介绍各个时刻接入的终端的媒体处理。  The media processing of the terminal accessed at each moment is introduced.
( 1 )在 TO时刻接入的终端的媒体处理:  (1) Media processing of the terminal accessed at the time of TO:
终端可以接收到 TO 时刻的媒体数据, 根据媒体数据循环 2 次顺序呈现 The terminal can receive the media data at the time of the TO, and sequentially render the data according to the sequence of the media data.
SVG媒体数据直至 T2时刻; SVG media data until time T2;
( 2 )在 TO时刻以后至 TO'时刻 (包括 TO'时刻 )接入的终端的媒体处理: 终端可以接收到 TO'时刻 RAP0的媒体数据, 如果呈现模式为顺序呈现; 例如 SVG媒体数据呈现的是广告计时条, 则从 SVG媒体数据的 TO'开始顺序 呈现 SVG媒体数据直至 T2时刻,其中 currentSceneTime用于计算有时间轴的 元素的偏移。 例如 SVG媒体数据呈现的是角标广告, 能够呈现角标广告的第 1遍的 [currentSceneTime, Tl -TO]部分和第 2遍;  (2) Media processing of the terminal accessed after the TO time to the TO' time (including the TO' time): The terminal can receive the media data of the TO' time RAP0, if the presentation mode is sequential presentation; for example, the SVG media data is presented. It is an advertisement timing bar, and the SVG media data is sequentially presented from the TO' of the SVG media data until the T2 time, where currentSceneTime is used to calculate the offset of the element having the time axis. For example, SVG media data presents a banner advertisement, which can display the [currentSceneTime, Tl -TO] part and the second pass of the first pass of the banner advertisement;
如果呈现模式为从头呈现,则从 SVG媒体数据的开始呈现 SVG媒体数据 直至有效周期到达。 其中 currentSceneTime对于计算有时间轴的元素的偏移, 可用于计算媒体呈现的剩余有效激活周期为 T-currentSceneTime。例如 SVG媒 体数据呈现的是角标广告, 能够呈现角标广告的第 1 遍和第 2 遍的 If the rendering mode is rendered from scratch, the SVG media data is rendered from the beginning of the SVG media data until the valid period arrives. Where currentSceneTime is used to calculate the offset of the element with the time axis, which can be used to calculate the remaining valid activation period of the media presentation as T-currentSceneTime. For example, SVG media data presents a corner advertisement that can present the 1st and 2nd passes of the banner advertisement.
[0,T-(T 1 -το)-(το'-το)]部分; [0, T-(T 1 -το)-(το'-το)] part;
如果呈现模式为从头单次呈现, 例如 SVG媒体数据呈现的是循环信息提 醒, 则从 SVG媒体数据的开始呈现 SVG媒体数据直至完整呈现一遍, 其中 currentSceneTime对于计算有时间轴的元素的偏移无效, 可用于计算媒体呈现 的剩余有效激活周期为 T-currentSceneTime。终端能够呈现角标广告的第 1遍。  If the rendering mode is a single presentation from the beginning, for example, the SVG media data presents a loop information reminder, the SVG media data is rendered from the beginning of the SVG media data until the full rendering, where currentSceneTime is invalid for calculating the offset of the element with the time axis, The remaining valid activation period that can be used to calculate the media presentation is T-currentSceneTime. The terminal is able to present the first pass of the banner advertisement.
( 3 )在 TO'时刻以后至 ΤΓ时刻 (包括 ΤΓ时刻)接入的终端的媒体处理: 终端可以接收到 ΤΓ时刻 RAP1的媒体数据; 如果呈现模式为顺序呈现, 则从 SVG媒体数据的 ΤΓ开始顺序呈现 SVG 媒体数据直至 T2时刻, 其中 currentSceneTime用于计算有时间轴的元素的偏 移。 例如 SVG媒体数据呈现的是角标广告, 能够呈现角标广告的第 2遍的 [currentSceneTime-(T 1 -Τ0),Τ2-Τ1']; (3) media processing of the terminal accessed after the TO' time to the ΤΓ time (including the ΤΓ time): the terminal can receive the media data of the RAP RAP1; If the presentation mode is sequential presentation, the SVG media data is sequentially presented from the beginning of the SVG media data until the T2 time, where currentSceneTime is used to calculate the offset of the element with the time axis. For example, SVG media data presents a banner advertisement, which can present the second pass of the banner advertisement [currentSceneTime-(T 1 -Τ0), Τ2-Τ1'];
如果呈现模式为从头呈现,则从 SVG媒体数据的开始呈现 SVG媒体数据 直至有效周期到达。其中 currentSceneTime对于计算有时间轴的元素的偏移无 效,可用于计算媒体呈现的剩余有效激活周期为 T-currentSceneTime。例如 SVG 媒体数据呈现的是角标广告, 能够呈现角标广告的第 1 遍的 [0, T-currentSceneTime]部分;  If the rendering mode is rendered from scratch, the SVG media data is rendered from the beginning of the SVG media data until the valid period arrives. Where currentSceneTime is invalid for calculating the offset of the element with timeline, it can be used to calculate the remaining valid activation period of the media presentation as T-currentSceneTime. For example, SVG media data presents a banner ad that can present the [0, T-currentSceneTime] portion of the first pass of the banner ad;
如果呈现模式为从头单次呈现,则从 SVG媒体数据的开始呈现 SVG媒体 数据直至完整呈现一遍, 其中 currentSceneTime对于计算有时间轴的元素的偏 移无效, 可用于计算媒体呈现的剩余有效激活周期为 T-currentSceneTime。 例 如 SVG 媒体数据呈现的是角标广告, 能够呈现角标广告的第 1 遍的 [0, T-currentSceneTime]部分。 该时段接入的终端只能接收到 RAP1发送的冗余数 据进行呈现, 因此有效激活周期不足以完整呈现该 SVG媒体数据一遍, 此时 呈现模式为从头呈现和从头单次呈现的呈现结果是一样的。  If the rendering mode is a single presentation from scratch, the SVG media data is rendered from the beginning of the SVG media data until the full rendering, where currentSceneTime is invalid for calculating the offset of the element with the timeline, and the remaining valid activation period for calculating the media presentation is T-currentSceneTime. For example, SVG media data presents a banner ad that can present the [0, T-currentSceneTime] portion of the first pass of the banner ad. The terminal accessed during this period can only receive the redundant data sent by RAP1 for presentation, so the effective activation period is not enough to completely present the SVG media data once. The presentation mode is the same as the presentation result of the single presentation from the beginning. of.
( 4 )在 ΤΓ时刻之后接入的终端的媒体处理:  (4) Media processing of the terminal accessed after the ΤΓ time:
由于没有 RAP的设置, 终端不能接收到媒体数据, 因此不能呈现 SVG媒 体数据。  Since there is no RAP setting, the terminal cannot receive media data, so the SVG media data cannot be presented.
二.假设差异控制参数作为 SVG媒体数据的上层媒体属性, 则差异控制 参数存在于 SVG媒体数据的上层媒体属性。  2. Assuming the difference control parameter is the upper media attribute of the SVG media data, the difference control parameter exists in the upper media attribute of the SVG media data.
先介绍不同时刻服务器发送的媒体数据。  First introduce the media data sent by the server at different times.
( 1 )服务器在 TO时刻发送的媒体数据可以如下所述:  (1) The media data sent by the server at the time of TO can be as follows:
<svgMedia validDur=* n rendMod="inOrder" repeatCount=n2"> <svgMedia validDur=* n rendMod="inOrder" repeatCount= n 2">
<svg id- 'svgln ...> <svg id- 'svgl n ...>
<animation id="Al " begin="0" dur="tl *'...>  <animation id="Al " begin="0" dur="tl *'...>
<animation id="A2" begin="l " dur="t2"...>  <animation id="A2" begin="l " dur="t2"...>
<animation id="A3" begin='O.l " dur="t3 *'...> </svg> <animation id="A3"begin='Ol"dur="t3*'...> </svg>
</svgMedia>  </svgMedia>
相对于差异控制参数存在于 <svg>,差异控制参数作为 SVG媒体数据的上 层媒体属性的差别在于差异控制参数存在于<svgMedia ,差异控制参数的媒体 数据都相同, 此时 <svgMedia 对于 <svg>的封装可以通过媒体数据实现, 或者 也可以通过增加传输适配参数实现。  The difference control parameter exists in <svg>, and the difference control parameter as the upper media attribute of the SVG media data differs in that the difference control parameter exists in <svgMedia, and the media data of the difference control parameter are the same, at this time <svgMedia for <svg> The encapsulation can be implemented by media data or by adding transmission adaptation parameters.
( 2 )服务器在 TO'和 ΤΓ时刻发送的媒体数据与差异控制参数存在于<svg> 时的媒体数据基本相同, 只是差异控制参数存在于 <svgMedia 。  (2) The media data sent by the server at TO' and ΤΓ is basically the same as the media data when the difference control parameter exists in <svg>, except that the difference control parameter exists in <svgMedia.
( 3 )由于 SVG媒体数据在 T2时刻已经完成两次呈现,并且 SVG媒体数 据的有效周期已经达到, SVG媒体数据呈现结束。  (3) Since the SVG media data has been twice rendered at time T2, and the effective period of the SVG media data has been reached, the SVG media data presentation ends.
各个时刻接入终端的媒体处理与差异控制参数存在于<svg>时的终端的媒 体处理基本相同, 只是终端从 <svgMedia †读取差异控制参数。  The media processing of the access terminal at each moment is basically the same as the media processing of the terminal when the difference control parameter exists in <svg>, except that the terminal reads the difference control parameter from <svgMedia 。.
三.假设差异控制参数作为数据包的传输适配参数。  3. Assume that the difference control parameter is used as the transmission adaptation parameter of the data packet.
先介绍不同时刻服务器发送的媒体数据。  First introduce the media data sent by the server at different times.
( 1 )服务器在 TO时刻发送的媒体数据可以如下所述:  (1) The media data sent by the server at the time of TO can be as follows:
<svgMedia>  <svgMedia>
<svg id="svgl" ..·>  <svg id="svgl" ..·>
<animation id="Al" begin="0" dur="tl *'...>  <animation id="Al" begin="0" dur="tl *'...>
<animation id="A2" begin="l" dur="t2"...>  <animation id="A2" begin="l" dur="t2"...>
<animation id="A3" begin=n0.1" dur="t3 *'...> <animation id="A3" begin= n 0.1"dur="t3*'...>
</svg>  </svg>
</svgMedia> </svgMedia>
t<SVg>:¾行去于装时, ^^^^为可选。 ^口没有<8¥§^16(113 , <SVg>^ 上层媒体描述可以在传输适配时增加参数字段,通过增加的参数字段携带差异 控制参数, 即差异控制参数可以作为传输适配层参数生效。 例如在 SVG媒体 数据采用 RTP进行封装传输时,可以将差异控制参数封装在 RTP头域;在 SVG 媒体数据采用 HTTP进行封装传输时,可以将差异控制参数封装在 HTTP头域。  t<SVg>: When 3⁄4 lines are used for loading, ^^^^ is optional. ^There is no <8¥§^16(113, <SVg>^ The upper layer media description can increase the parameter field when the transmission is adapted, and carry the difference control parameter through the added parameter field, that is, the difference control parameter can be used as the transmission adaptation layer parameter. For example, when the SVG media data is encapsulated and transmitted by RTP, the difference control parameter may be encapsulated in the RTP header field; when the SVG media data is encapsulated and transmitted by HTTP, the difference control parameter may be encapsulated in the HTTP header field.
在差异控制参数作为传输适配参数封装在 RTP头域时, 本发明一个实施 例中, RTP头域包括的输适配参数如表 1所示。 An implementation of the present invention when the difference control parameter is encapsulated in the RTP header field as a transmission adaptation parameter For example, the input adaptation parameters included in the RTP header field are shown in Table 1.
表 1
Figure imgf000015_0001
Table 1
Figure imgf000015_0001
其中, Dur标识呈现周期,描述 SVG媒体数据的完整呈现周期; Dur除了 可以通过传输适配参数传递, 也可以通过 <8¥§>或者内部相关元素描述传递。  The Dur logo presentation period describes the complete presentation period of the SVG media data; Dur can be passed through the transmission adaptation parameter, or can be passed through <8¥§> or internal related element description.
validDur标识 SVG媒体数据的有效激活周期。  validDur identifies the effective activation period of SVG media data.
rendMod标识 SVG媒体数据的呈现模式;  rendMod identifies the rendering mode of SVG media data;
repeatCount/repeatDur标识 SVG媒体数据的循环呈现的次数和有效时间。 repeatCount/repeatDur在 validDur范围内才会生效, 如杲 repeatDur<validDur , SVG媒体数据循环的有效时间只能为 validDur;如果 repeatDur>=validDur, SVG 媒体数据循环的有效时间只能为 repeatDur。  repeatCount/repeatDur identifies the number of times the SVG media data is rendered and the effective time. The repeatCount/repeatDur will only take effect in the validDur range. For example, 杲 repeatDur<validDur , the effective time of the SVG media data loop can only be validDur; if repeatDur>=validDur, the valid time of the SVG media data loop can only be repeatDur.
( 2 )服务器在 TO'和 T1'时刻发送的媒体数据, 与差异控制参数存在于 <svg>时服务器在相应时刻发送的媒体数据基本相同, 只是差异控制参数作为 传输适配参数。  (2) The media data sent by the server at the time of TO' and T1' is basically the same as the media data sent by the server at the corresponding moment when the difference control parameter exists in <svg>, except that the difference control parameter is used as the transmission adaptation parameter.
( 3 ) SVG媒体数据在 T2时刻已经完成两次呈现, 并且 SVG媒体数据的 有效周期已经达到, SVG媒体数据的呈现结束。  (3) SVG media data has been rendered twice at time T2, and the effective period of SVG media data has been reached, and the presentation of SVG media data is over.
各个时刻接入终端的媒体处理, 与差异控制参数存在于 <svg>时的终端在 相应时刻的媒体处理基本相同, 只是终端从传输适配层读取差异控制参数。  The media processing of the access terminal at each moment is basically the same as the media processing of the terminal when the difference control parameter exists at <svg> at the corresponding moment, except that the terminal reads the difference control parameter from the transmission adaptation layer.
本发明实施例提供的媒体呈现方法实施例五如下所述(该实施例由服务器 和终端共同实现基于脚本的媒体数据的差异控制,该实施例中基于脚本的媒体 数据是 SVG媒体数据 ):  The fifth embodiment of the media presentation method provided by the embodiment of the present invention is as follows (this embodiment implements difference control of script-based media data by the server and the terminal, and the script-based media data in this embodiment is SVG media data):
该实施例与媒体呈现方法实施例四基本相同, 不同之处在于:  This embodiment is basically the same as the fourth embodiment of the media presentation method, and the difference is:
需要扩展属性 contentType, 表示 SVG媒体数据的数据类型; 具体地, 可 以对同种媒体数据按照内容的特性进行分类,其数据类型为枚举。在本发明提 供的一个实施例中, 可以对 SVG媒体数据进行如下分类: 与其他媒体紧密同 步型, 如广告计时条等, 该类型的媒体内容只能顺序呈现; 可独立于其他媒体 流独立控制型, 如角标广告等, 该类型的媒体数据可以个性配置呈现模式, 如 从头呈现、 顺序呈现、 从头单次呈现等。 The attribute contentType is required to represent the data type of the SVG media data. Specifically, the same type of media data can be classified according to the characteristics of the content, and the data type is an enumeration. In an embodiment provided by the present invention, the SVG media data can be classified as follows: closely synchronized with other media, such as an advertisement timing bar, etc., the media content of the type can only be sequentially presented; can be independently controlled independently of other media streams. Type, such as corner advertising, etc., this type of media data can be personalized to configure the presentation mode, such as Presentation from the beginning, sequential presentation, single presentation from the beginning, etc.
服务器可以将包括 contentType的数据包发送给终端, 具体可以通过包括 了 SVG媒体数据的数据包发送 contentType, 也可以通过 SVG媒体数据的描 述数据发送 contentType。  The server may send the data packet including the contentType to the terminal, and may specifically send the contentType through the data packet including the SVG media data, or send the contentType through the description data of the SVG media data.
终端在接收了包括 contentType的数据包后,根据 contentType选择呈现模 式。 例如在接收的 SVG媒体数据不是可独立于其他媒体流独立控制型 (即与 其他媒体紧密同步型)时, 选择的呈现模式可以是顺序呈现, 此时终端就可以 结合数据包包括的差异控制参数顺序呈现 SVG媒体数据。在接收的 SVG媒体 数据是可独立于其他媒体流独立控制型时, 选择的呈现模式可以是从头呈现, 此时终端就可以结合数据包包括的差异控制参数从头呈现 SVG媒体数据。  After receiving the data packet including the contentType, the terminal selects the presentation mode according to the contentType. For example, when the received SVG media data is not independently controllable from other media streams (ie, closely synchronized with other media), the selected presentation mode may be sequential presentation, and the terminal may combine the difference control parameters included in the data packet. SVG media data is presented sequentially. When the received SVG media data is independently controllable from other media streams, the selected presentation mode may be presented from the beginning, and the terminal may present the SVG media data from the beginning in combination with the difference control parameters included in the data packet.
本发明实施例提供的媒体呈现方法实施例六如下所述(该实施例由服务器 实现媒体数据的差异控制,该实施例中媒体数据不限于基于脚本的媒体数据 ):  The sixth embodiment of the media presentation method provided by the embodiment of the present invention is as follows (this embodiment implements the difference control of the media data by the server, and the media data in this embodiment is not limited to the script-based media data):
A1为遵循 SVG语法的动画, A2为对应的字幕部分, A3为包含多个图片, A1采用 SVG语法的媒体内容进行描述, A2采用时控文本( Timed Text )进行 内容传输, A3的图片采用 HTTP进行下载, A1, A2和 A3组合在一起构成一 个完成的媒体内容被部署在直播的多播业务中, 其有效激活周期为 T。 例如 SVG媒体数据呈现的是角标广告, 假设媒体数据从 TO时刻开始播放, 一直播 放到 T2时刻, 贝 ij T= T2-T0; Al , A2和 A3完整呈现的周期为 t; 媒体数据的 重复播放次数为 2次, 则 T = 2t, 媒体数据在 TO时刻至 Tl时刻完整呈现第一 次, 在 T1时刻至 T2时刻完整呈现第二次。  A1 is an animation that follows the SVG syntax, A2 is the corresponding subtitle part, A3 is a plurality of pictures, A1 is described by the SVG syntax, A2 uses Timed Text for content transmission, and A3 is HTTP. Downloading, A1, A2 and A3 are combined to form a completed media content that is deployed in the live multicast service with an effective activation period of T. For example, the SVG media data presents a corner advertisement, assuming that the media data starts playing from the TO time and continues to play until the T2 time, and the ij T T = T2 - T0; the complete presentation period of Al, A2 and A3 is t; the repetition of the media data The number of plays is 2 times, then T = 2t, the media data is completely presented for the first time from TO time to Tl time, and the second time is completely presented from time T1 to time T2.
为了保证用户的随机接入, 在 TO'时刻 (在 TO时刻至 T1 时刻之间 )和 ΤΓ时刻(在 T1时刻至 T2时刻之间)分别设置随机接入点( RAP: Random Access Point ), 服务器在随机接入点发送冗余数据包。  In order to ensure the random access of the user, a random access point (RAP: Random Access Point) is set at the TO' time (between the time from the TO time and the time T1) and the time (between the time T1 and the time T2). Send redundant packets at random access points.
在实现对应业务场景时, 本实施例可以包括如下的差异控制参数:  When implementing the corresponding service scenario, the embodiment may include the following difference control parameters:
( 1 ) validDur, 标识有效激活周期 T。 validDur的数据格式可以与呈现周 期<^11>相同, 不同之处在于 validDur用于描述媒体数据的有效激活周期, 有 效激活周期可以大于、 或小于、或等于呈现周期。 呈现周期在有效激活周期范 围之内的部分才能呈现。 如果呈现周期 <dur>与其有效激活周期等同, 则可以 用呈现周期 <durHI±描述有效激活周期。 validDur某个特殊取值可以表示有 效激活周期不确定, 相关媒体内容的有效期持续到接收到新的媒体内容。(1) validDur, identifies the valid activation period T. The validDur data format can be the same as the presentation period <^11>, except that validDur is used to describe the effective activation period of the media data, and the effective activation period can be greater than, or less than, or equal to the presentation period. The portion of the presentation period that is within the effective activation period can be presented. If the presentation period <dur> is equivalent to its effective activation period, the effective activation period can be described by the presentation period <durHI±. a special value of validDur can indicate that there is The activation cycle is uncertain and the relevant media content is valid until the new media content is received.
( 2 ) rendMod, 标识媒体数据的呈现模式, 其数据类型为枚举值, 枚举 值可以包括顺序呈现(inOrder ), 终端与服务器端共享时间轴, 从接入时刻顺 序呈现; 或包括从头呈现(fromBegin ), 以终端时间轴进行呈现, 在条件满足 下从头呈现媒体数据; 或包括从头单次呈现(fromBeginforOne ), 与 fromBegin 不同之处在于对于循环媒体数据仅呈现单次。 其中, 可以设置顺序呈现、从头 呈现和从头单次呈现中的任意一个作为 rendMod的默认值, 在确定了默认值 后, rendMod也可以不携带参数值, 在 rendMod没有携带参数值时, 终端可以 直接按照默认值进行处理。 (2) rendMod, which identifies the presentation mode of the media data, the data type is an enumeration value, the enumeration value may include a sequential presentation (inOrder), the terminal and the server share a time axis, sequentially presented from the access time; or include presentation from the beginning (fromBegin ), rendered in the terminal timeline, rendered media data from scratch when the condition is met; or includes a single presentation from the beginning (fromBeginforOne), which differs from fromBegin in that it only renders a single time for circular media data. Wherein, any one of the sequential presentation, the de novo presentation, and the single presentation can be set as the default value of the rendMod. After determining the default value, the rendMod can also not carry the parameter value. When the rendMod does not carry the parameter value, the terminal can directly Process by default.
( 3 )重复参数, 包括 repeatCount和 repeaDur, 分别标识重复次数和重复 周期, 重复次数表示重复呈现的次数, 重复周期表示重复呈现的周期。  (3) Repeating parameters, including repeatCount and repeaDur, respectively identifying the number of repetitions and the repetition period, the number of repetitions indicating the number of repeated presentations, and the repetition period indicating the period of repeated presentation.
如上参数可以作为数据包的传输适配参数, 例如在 SVG媒体数据 A1和 文本媒体数据 A2采用 RTP进行封装传输时, 如上参数封装于 RTP头域中; 图片媒体数据 A3采用 HTTP进行封装传输, 如上参数封装于 HTTP头域中。  The above parameters can be used as transmission adaptation parameters of the data packet. For example, when SVG media data A1 and text media data A2 are encapsulated and transmitted by RTP, the above parameters are encapsulated in the RTP header field; the picture media data A3 is encapsulated and transmitted by HTTP, as above. The parameters are encapsulated in the HTTP header field.
先介绍不同时刻服务器发送的媒体数据。  First introduce the media data sent by the server at different times.
( 1 ) 服务器在 TO时刻发送的媒体数据可以如下所述:  (1) The media data sent by the server at time TO can be as follows:
A1的媒体内容:  Media content of A1:
<svgMedia>  <svgMedia>
<svg id="svgl" .. ·>  <svg id="svgl" .. ·>
<animation id="Al " begin="0" dur="tl "..·>  <animation id="Al " begin="0" dur="tl "..·>
</svg>  </svg>
</svgMedia>  </svgMedia>
A2的媒体内容: 一个完整的文本串。  A2's media content: A complete text string.
A3的媒体内容: 各个图片文件。  A3's media content: Individual image files.
媒体内容在传输适配时增加参数字段,通过增加的参数字段携带差异控制 参数, 即差异控制参数可以作为传输适配层参数生效。 在媒体数据采用 RTP 进行封装传输时例如 A1和 A2媒体内容的传输, 可以将差异控制参数封装在 RTP头域; 在媒体数据采用 HTTP进行封装传输时例如 A3媒体内容的传输, 可以将差异控制参数封装在 HTTP头域。 The media content adds a parameter field when the transmission is adapted, and the difference control parameter carries the difference control parameter, that is, the difference control parameter can be valid as the transmission adaptation layer parameter. When the media data is encapsulated and transmitted by RTP, for example, the transmission of the A1 and A2 media content, the difference control parameter may be encapsulated in the RTP header field; when the media data is encapsulated and transmitted by HTTP, for example, the transmission of the A3 media content, The difference control parameters can be encapsulated in the HTTP header field.
在差异控制参数作为传输适配参数封装在 RTP头域时, 本发明一个实施 例中, RTP头域包括的输适配参数如表 1所示。  When the difference control parameter is encapsulated in the RTP header field as the transmission adaptation parameter, in an embodiment of the present invention, the RTP header field includes the transmission adaptation parameters as shown in Table 1.
表 1
Figure imgf000018_0001
Table 1
Figure imgf000018_0001
其中, Dur标识呈现周期, 描述媒体数据的完整呈现周期; Dur可以通过 传输适配参数传递。  Wherein, the Dur logo presentation period describes the complete presentation period of the media data; Dur can be transmitted by transmitting the adaptation parameters.
validDur标识媒体数据的有效激活周期;  validDur identifies the effective activation period of the media data;
rendMod标识媒体数据的呈现模式;  rendMod identifies the rendering mode of the media data;
repeatCount/repeatDur标识 SVG媒体数据的循环呈现的次数和有效时间。 repeatCount/repeatDur在 validDur范围内才会生效, 如杲 repeatDur<validDur , SVG媒体数据循环的有效时间为 validDur; 如果 repeatDur>=validDur, SVG 媒体数据循环的有效时间为 repeatDur。  repeatCount/repeatDur identifies the number of times the SVG media data is rendered and the effective time. The repeatCount/repeatDur will only take effect in the validDur range, such as 杲 repeatDur<validDur , the valid time of the SVG media data loop is validDur; if repeatDur>=validDur, the valid time of the SVG media data loop is repeatDur.
( 2 )服务器在 TO'和 T1'时刻发送的媒体数据, 如下所述:  (2) The media data sent by the server at the time of TO' and T1', as follows:
A1的媒体内容:  Media content of A1:
<svgMedia>  <svgMedia>
<svg id="svgl" currentSceneTime="t" validDur="T" rendMod="inOrder" repeatCount=n2"> <svg id="svgl"currentSceneTime="t"validDur="T"rendMod="inOrder" repeatCount= n 2">
<animation id="Al " begin="0" dur="tl *'...>  <animation id="Al " begin="0" dur="tl *'...>
</svg>  </svg>
</svgMedia>  </svgMedia>
其中 TO'时刻, t=T0'-T0; Tl'时刻, t=Tl'-T0。  Where TO' time, t=T0'-T0; Tl' time, t=Tl'-T0.
A2的媒体内容: 一个完整的文本串。  A2's media content: A complete text string.
A3的媒体内容: 各个图片文件。  A3's media content: Individual image files.
如上所述, 差异控制参数作为传输适配参数。  As described above, the difference control parameter is used as the transmission adaptation parameter.
( 3 )媒体数据在 T2时刻已经完成两次呈现,并且媒体数据的有效周期已 经达到, 媒体数据的呈现结束。 (3) The media data has been completed twice at time T2, and the effective period of the media data has been Upon reaching, the presentation of the media data ends.
各个时刻接入终端的媒体处理, 与实施例四中差异控制参数存在于 <svg> 时的终端在相应时刻的媒体处理基本相同,区别仅在于终端从传输适配层读取 差异控制参数。  The media processing of the access terminal at each moment is basically the same as the media processing of the terminal when the difference control parameter exists in <svg> in the fourth embodiment at the corresponding moment, except that the terminal reads the difference control parameter from the transmission adaptation layer.
本发明实施例提供的媒体呈现方法实施例七如下所述(该实施例由服务器 和终端共同实现媒体数据的差异控制, 该实施例中媒体数据不限于 SVG媒体 数据):  The seventh embodiment of the media presentation method provided by the embodiment of the present invention is as follows. This embodiment implements the difference control of the media data by the server and the terminal. In this embodiment, the media data is not limited to the SVG media data.
该实施例与媒体呈现方法实施例六基本相同, 不同之处在于:  This embodiment is basically the same as the sixth embodiment of the media presentation method, and the difference is:
需要扩展属性 contentType, 表示媒体数据的数据类型; 具体地, 可以对 同种媒体数据按照内容的特性进行分类,其数据类型为枚举。在本发明提供的 一个实施例中, 可以对媒体数据进行如下分类: 与其他媒体紧密同步型, 如广 告计时条等,该类型的媒体内容只能顺序呈现; 可独立于其他媒体流独立控制 型, 如角标广告等, 该类型的媒体数据可以个性配置呈现模式, 如从头呈现、 顺序呈现、 从头单次呈现等。  The attribute contentType is required to represent the data type of the media data. Specifically, the same type of media data can be classified according to the characteristics of the content, and the data type is an enumeration. In an embodiment provided by the present invention, the media data may be classified as follows: closely synchronized with other media, such as an advertisement timing bar, etc., the media content of the type can only be sequentially presented; independently independent of other media streams. Such as the banner advertisement, etc., the type of media data can be personalized to the presentation mode, such as presentation from the beginning, sequential presentation, single presentation from the beginning, and the like.
服务器可以将包括 contentType的数据包发送给终端, 具体可以通过包括 了媒体数据的数据包发送 contentType, 也可以通过媒体数据的描述数据发送 contentType  The server may send the data packet including the contentType to the terminal, and may specifically send the contentType through the data packet including the media data, or send the contentType through the description data of the media data.
终端在接收了包括 contentType的数据包后,根据 contentType选择呈现模 式。 例如, 在接收的媒体数据不是可独立于其他媒体流独立控制型(即与其他 媒体紧密同步型)时, 选择的呈现模式可以是顺序呈现, 此时终端就可以结合 数据包包括的差异控制参数顺序呈现媒体数据。在接收的媒体数据是可独立于 其他媒体流独立控制型时,选择的呈现模式可以是从头呈现,此时终端就可以 结合数据包包括的差异控制参数从头呈现媒体数据。  After receiving the data packet including the contentType, the terminal selects the presentation mode according to the contentType. For example, when the received media data is not independently controllable from other media streams (ie, closely synchronized with other media), the selected presentation mode may be sequential presentation, and the terminal may combine the difference control parameters included in the data packet. The media data is presented sequentially. When the received media data is independently controllable from other media streams, the selected presentation mode may be presented from the beginning, and the terminal may present the media data from the beginning in conjunction with the difference control parameters included in the data packet.
本发明实施例提供的媒体呈现方法实施例八如下所述(该实施例由服务器 实现媒体数据的差异控制, 是一个比较形象的业务示例):  The eighth embodiment of the media presentation method provided by the embodiment of the present invention is as follows (this embodiment implements the difference control of the media data by the server, which is a comparative image business example):
在足球比赛中,通过差异化控制在同一媒体流中为所有随机接入用户提供 历史关键信息介绍, 例如在 A队与 B队的比赛中有如下的关键事件:  In the football match, historically key information is provided to all random access users in the same media stream through differentiated control. For example, in the match between team A and team B, there are the following key events:
关键事件 1 : 第 10分钟由 A队球员 A1进球一个; 关键事件 2: 第 30分钟 B队球员 B1得到红牌一张; Key Event 1: In the 10th minute, the team A1 scored a goal; Key Event 2: The B team player B1 gets a red card in the 30th minute;
关键事件 3: 第 80分钟 A队球员 A1再进一球。  Key Event 3: 80th minute A team player A1 scored another goal.
因此对于不同时刻接入的用户内容呈现需求如下:  Therefore, the user content presentation requirements for access at different times are as follows:
第 10分钟之前接入的用户, 顺序观看比赛;  Users who access before the 10th minute, watch the game in sequence;
第 10分钟到第 30分钟之间接入的用户,在接入时刻能够获取到关键事件 Users accessing between the 10th and 30th minutes can get key events at the time of access
1的信息, 并顺序观看随后的比赛节目; 1 information, and sequentially watch subsequent game shows;
第 30分钟到第 80分钟之间接入的用户,在接入时刻能够获取到关键事件 1 +关键事件 2的信息, 并顺序观看随后的比赛节目;  The user accessing between the 30th minute and the 80th minute can obtain the information of the key event 1 + key event 2 at the access time, and sequentially watch the subsequent game program;
第 80分钟到比赛结束之间接入的用户, 在接入时刻能够获取到关键事件 1 +关键事件 2 +关键事件 3的信息, 并顺序观看随后的比赛节目。  The user who accesses between the 80th minute and the end of the game can obtain the key event 1 + key event 2 + key event 3 information at the time of access, and sequentially watch the subsequent game program.
为了满足用户对关键事件完整性的需求, 对关键事件进行差异化呈现控 制。 其中各个时刻的历史关键事件集合称为关键事件集。 在本实施例中: 第 10分钟产生第一个关键事件集, 其有效激活周期为表示不确定的特殊 取值如 0, 因为后续关键事件不可预见, 即关键事件集的更新时刻不可预见, 而其实际有效激活周期持续到新的关键事件产生, 即本实施例中的第 30分钟 产生新的关键事件, 媒体服务器进行关键事件媒体数据更新;  In order to meet the user's need for the integrity of critical events, differentiated presentation control of key events. The collection of historical key events at each moment is called a key event set. In this embodiment: the first key event set is generated in the 10th minute, and the effective activation period is a special value indicating that the uncertainty is 0, because the subsequent key events are unpredictable, that is, the update time of the key event set is unpredictable, and The actual effective activation period continues until a new key event occurs, that is, a new key event is generated in the 30th minute in this embodiment, and the media server performs key event media data update;
第 30分钟新的关键事件发生, 新的关键事件集替换现有关键事件集, 其 旧的关键事件集的有效激活周期结束,新的关键事件集的有效激活周期为表示 不确定特殊取值如 0, 同理, 因为后续关键事件不可预见;  In the 30th minute, a new key event occurs. The new key event set replaces the existing key event set. The effective activation period of the old key event set ends. The effective activation period of the new key event set indicates that the special value is uncertain. 0, for the same reason, because subsequent key events are unpredictable;
第 80分钟新的关键事件发生, 新的关键事件集替换现有关键事件集, 一 直持续到比赛结束。  In the 80th minute, a new key event occurs, and the new key event set replaces the existing key event set and continues until the end of the game.
上述各个关键事件集在其有效激活周期之内在各个时刻接入终端的只需 要根据读取差异控制参数进行单次呈现。  Each of the above key event sets needs to access the terminal at each moment within its effective activation period, and only needs to perform a single presentation according to the read difference control parameter.
再介绍本发明实施例提供的服务器, 图 4描述了服务器实施例的结构, 包 括:  The server provided by the embodiment of the present invention is further introduced. FIG. 4 depicts the structure of the server embodiment, including:
构造单元 401, 用于构造包括媒体数据的数据包, 该数据包包括差异控制 参数;  a construction unit 401, configured to construct a data packet including media data, where the data packet includes a difference control parameter;
发送单元 402, 用于向终端发送构造单元 401构造的数据包, 以便于终端 根据差异控制参数呈现媒体数据。 The sending unit 402 is configured to send, to the terminal, a data packet constructed by the constructing unit 401, so as to facilitate the terminal. The media data is presented according to the difference control parameters.
从上可知,本实施例中,服务器向终端发送的数据包可以包括差异控制参 数,使终端可以根据差异控制参数呈现媒体数据,从而实现媒体数据的差异控 制, 满足用户对不同媒体数据的不同呈现需求。  As can be seen from the above, in the embodiment, the data packet sent by the server to the terminal may include a difference control parameter, so that the terminal can present the media data according to the difference control parameter, thereby implementing the difference control of the media data, and satisfying the different presentation of the different media data by the user. demand.
进一步,在本发明的一个实施例中,构造单元 401构造的数据包还包括媒 体数据的数据类型。  Further, in one embodiment of the invention, the data packet constructed by the construction unit 401 further includes the data type of the media data.
进一步,在本发明的一个实施例中,发送单元 402还可以用于向终端发送 包括媒体数据的数据类型的描述数据。  Further, in an embodiment of the present invention, the sending unit 402 is further configured to send, to the terminal, description data including a data type of the media data.
向终端发送媒体数据的数据类型,使终端可以根据媒体数据的数据类型选 择相应的呈现模式, 进而根据选择的呈现模式呈现媒体数据,进一步满足用户 对不同媒体数据的不同呈现需求。  The data type of the media data is sent to the terminal, so that the terminal can select the corresponding presentation mode according to the data type of the media data, and then present the media data according to the selected presentation mode, further satisfying the different presentation requirements of the user for different media data.
再介绍本发明实施例提供的终端,图 5描述了终端实施例三的结构,包括: 接收单元 501, 用于接收包括媒体数据的数据包, 该数据包包括差异控制 参数;  The terminal provided by the embodiment of the present invention is further described. FIG. 5 illustrates the structure of the third embodiment of the terminal, including: a receiving unit 501, configured to receive a data packet including media data, where the data packet includes a difference control parameter;
解析单元 502, 用于解析接收单元 501接收的数据包, 获得媒体数据; 解 析接收单元 501接收的数据包, 获得差异控制参数;  The parsing unit 502 is configured to parse the data packet received by the receiving unit 501, obtain media data, and parse the data packet received by the receiving unit 501 to obtain a difference control parameter.
呈现单元 503,用于根据解析单元 502获得的差异控制参数呈现媒体数据。 从上可知, 本实施例中, 终端接收的数据包可以包括差异控制参数, 使终 端可以根据差异控制参数呈现媒体数据,从而实现媒体数据的差异控制, 满足 用户对不同媒体数据的不同呈现需求。  The presentation unit 503 is configured to present the media data according to the difference control parameter obtained by the parsing unit 502. As can be seen from the above, in the embodiment, the data packet received by the terminal may include a difference control parameter, so that the terminal can present the media data according to the difference control parameter, thereby implementing the difference control of the media data, and satisfying different presentation requirements of the user for different media data.
图 6描述了终端实施例四的结构, 包括:  Figure 6 depicts the structure of the fourth embodiment of the terminal, including:
接收单元 601, 用于接收包括媒体数据的数据包, 该数据包包括差异控制 参数和媒体数据的数据类型;  The receiving unit 601 is configured to receive a data packet including media data, where the data packet includes a difference control parameter and a data type of the media data;
在本发明的另一个实施例中,媒体数据的数据类型也可以包括在描述数据 中, 此时接收单元 601还可以用于接收包括媒体数据的数据类型的描述数据。  In another embodiment of the present invention, the data type of the media data may also be included in the description data, and the receiving unit 601 may be further configured to receive the description data of the data type including the media data.
解析单元 602, 用于解析接收单元 601接收的数据包, 获得媒体数据; 解 析接收单元 601接收的数据包,获得差异控制参数; 解析接收单元 601接收的 数据包, 获得媒体数据的数据类型。 选择单元 603, 用于根据解析单元 602解析获得的数据类型选择媒体数据 的呈现模式; The parsing unit 602 is configured to parse the data packet received by the receiving unit 601, obtain the media data, parse the data packet received by the receiving unit 601, obtain the difference control parameter, and parse the data packet received by the receiving unit 601 to obtain the data type of the media data. The selecting unit 603 is configured to select a presentation mode of the media data according to the data type obtained by the parsing unit 602.
或者在本发明的另一个实施例中, 选择单元 603也可以 ^居接收单元 601 接收的描述数据中的数据类型选择媒体数据的呈现模式。  Alternatively, in another embodiment of the present invention, the selecting unit 603 may also select a presentation mode of the media data in the data type in the description data received by the receiving unit 601.
呈现单元 604,用于根据解析单元 602获得的差异控制参数和选择单元 603 获取的呈现模式, 呈现媒体数据。  The presentation unit 604 is configured to present the media data according to the difference control parameter obtained by the parsing unit 602 and the presentation mode acquired by the selecting unit 603.
从上可知, 本实施例中, 终端接收的数据包可以包括差异控制参数, 使终 端可以根据差异控制参数呈现媒体数据,从而实现媒体数据的差异控制, 满足 用户对不同媒体数据的不同呈现需求;并且可以由用户根据自己的需要在终端 设置呈现模式, 使终端呈现的媒体数据完全根据用户设置的呈现模式进行呈 现, 进一步满足用户对不同媒体数据的不同呈现需要。  As can be seen from the above, in the embodiment, the data packet received by the terminal may include a difference control parameter, so that the terminal can present the media data according to the difference control parameter, thereby implementing the difference control of the media data, and satisfying different presentation requirements of the user for different media data; And the user can set the presentation mode in the terminal according to the needs of the user, so that the media data presented by the terminal is completely presented according to the presentation mode set by the user, and further satisfies the different presentation requirements of the user for different media data.
本发明实施例还提供了媒体呈现系统,该媒体呈现系统包括本发明实施例 提供的服务器和 /或本发明实施例提供的终端。  The embodiment of the present invention further provides a media presentation system, which includes the server provided by the embodiment of the present invention and/or the terminal provided by the embodiment of the present invention.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算 机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。 其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory, ROM )或随才 Λ ^储记忆体 ( Random Access Memory, RAM )等。 以上对本发明实施例所提供的媒体呈现方法及系统、服务器和终端进行了 详细介绍,以上实施例的说明只是用于帮助理解本发明的方法及其思想;同时, 对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围 上均会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。  A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium, the program When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM). The media presentation method and system, the server and the terminal provided by the embodiments of the present invention are described in detail above. The description of the above embodiments is only for helping to understand the method and the idea of the present invention. Meanwhile, for those skilled in the art, The present invention is not limited by the scope of the present invention.

Claims

权 利 要 求 Rights request
1、 一种媒体呈现方法, 其特征在于, 包括:  A media presentation method, comprising:
构造包括媒体数据的数据包, 所述数据包包括差异控制参数;  Constructing a data packet including media data, the data packet including a difference control parameter;
向终端发送所述数据包,以便于所述终端 ^居所述差异控制参数呈现所述 媒体数据。  Transmitting the data packet to the terminal to facilitate the terminal to present the media data by the difference control parameter.
2、 如权利要求 1所述的媒体呈现方法, 其特征在于, 所述差异控制参数 包括有效激活周期, 以便于所述终端在所述有效激活周期内呈现所述媒体数 据。  2. The media presentation method of claim 1, wherein the difference control parameter comprises an active activation period to facilitate presentation of the media data by the terminal during the active activation period.
3、 如权利要求 1所述的媒体呈现方法, 其特征在于, 所述差异控制参数 包括重复参数, 以便于所述终端根据所述重复参数重复呈现所述媒体数据。  3. The media presentation method according to claim 1, wherein the difference control parameter comprises a repetition parameter, so that the terminal repeatedly presents the media data according to the repeated parameter.
4、 如权利要求 1至 3任一所述的媒体呈现方法, 其特征在于, 构造的所 述数据包还包括所述媒体数据的数据类型; 或  The media presentation method according to any one of claims 1 to 3, wherein the constructed data packet further includes a data type of the media data; or
通过所述媒体数据的描述数据向所述终端发送所述媒体数据的数据类型。 Transmitting, by the description data of the media data, a data type of the media data to the terminal.
5、 如权利要求 1至 3任一所述的媒体呈现方法, 其特征在于, 所述差异 控制参数包括呈现模式, 以便于所述终端根据所述呈现模式呈现所述媒体数 据。 The media presentation method according to any one of claims 1 to 3, wherein the difference control parameter comprises a presentation mode, so that the terminal presents the media data according to the presentation mode.
6、 如权利要求 5所述的媒体呈现方法, 其特征在于, 所述呈现模式包括 顺序呈现、 或从头呈现、 或从头单次呈现。  6. The media presentation method of claim 5, wherein the presentation mode comprises sequential presentation, or presentation from scratch, or single presentation from the beginning.
7、 如权利要求 1至 3任一所述的媒体呈现方法, 其特征在于, 所述差异 控制参数作为基于脚本的媒体数据的媒体属性、或作为基于脚本的媒体数据的 上层媒体属性、 或作为所述数据包的传输适配参数。  The media presentation method according to any one of claims 1 to 3, wherein the difference control parameter is used as a media attribute of script-based media data, or as an upper media attribute of script-based media data, or as The transmission adaptation parameter of the data packet.
8、 一种媒体呈现方法, 其特征在于, 包括:  8. A media presentation method, comprising:
接收包括媒体数据的数据包, 该数据包包括差异控制参数;  Receiving a data packet including media data, the data packet including a difference control parameter;
解析所述数据包获得媒体数据; 解析所述数据包获得差异控制参数; 根据所述差异控制参数呈现所述媒体数据。  Parsing the data packet to obtain media data; parsing the data packet to obtain a difference control parameter; and presenting the media data according to the difference control parameter.
9、 如权利要求 8所述的媒体呈现方法, 其特征在于, 所述差异控制参数 包括有效激活周期, 所述根据所述差异控制参数呈现所述媒体数据包括: 在所述有效激活周期内呈现所述媒体数据。 The media presentation method according to claim 8, wherein the difference control parameter comprises a valid activation period, and the presenting the media data according to the difference control parameter comprises: presenting in the valid activation period The media data.
10、 如权利要求 8所述的媒体呈现方法, 其特征在于, 所述差异控制参数 包括重复参数, 所述根据所述差异控制参数呈现所述媒体数据包括: The media presentation method according to claim 8, wherein the difference control parameter includes a repetition parameter, and the presenting the media data according to the difference control parameter includes:
根据所述重复参数重复呈现所述媒体数据。  The media data is repeatedly presented according to the repeated parameters.
11、 如权利要求 8至 10任一所述的媒体呈现方法, 其特征在于, 根据所 述差异控制参数呈现所述媒体数据前还包括:  The media presentation method according to any one of claims 8 to 10, wherein before the presenting the media data according to the difference control parameter, the method further comprises:
确定所述媒体数据的数据类型;  Determining a data type of the media data;
所述根据所述差异控制参数呈现所述媒体数据包括: The presenting the media data according to the difference control parameter includes:
根据所述数据包包括的差异控制参数和选择的所述呈现模式呈现所述媒 体数据。  The media data is presented in accordance with the difference control parameters included in the data packet and the selected presentation mode.
12、 如权利要求 11所述的媒体呈现方法, 其特征在于, 所述确定所述媒 体数据的数据类型包括:  The media presentation method according to claim 11, wherein the determining the data type of the media data comprises:
从所述数据包解析获得所述媒体数据的数据类型; 或  Obtaining a data type of the media data from the parsing of the data packet; or
从所述媒体数据的描述数据获得所述媒体数据的数据类型。  A data type of the media data is obtained from the description data of the media data.
13、 如权利要求 8至 10任一所述的媒体呈现方法, 其特征在于, 所述差 异控制参数包括呈现模式, 所述根据所述差异控制参数呈现所述媒体数据包 括:  The media presentation method according to any one of claims 8 to 10, wherein the difference control parameter comprises a presentation mode, and the presenting the media data according to the difference control parameter comprises:
才艮据所述呈现模式呈现所述媒体数据。  The media data is presented according to the presentation mode.
14、 一种服务器, 其特征在于, 包括:  14. A server, comprising:
构造单元, 用于构造包括媒体数据的数据包, 所述数据包包括差异控制参 数;  a construction unit, configured to construct a data packet including media data, where the data packet includes a difference control parameter;
发送单元, 用于向终端发送所述构造单元构造的数据包, 以便于所述终端 才艮据所述差异控制参数呈现所述媒体数据。  And a sending unit, configured to send, to the terminal, the data packet constructed by the constructing unit, so that the terminal presents the media data according to the difference control parameter.
15、 如权利要求 14所述的服务器, 其特征在于, 所述构造单元构造的数 据包还包括所述媒体数据的数据类型。  The server according to claim 14, wherein the data packet constructed by the construction unit further includes a data type of the media data.
16、 如权利要求 14所述的服务器, 其特征在于, 所述发送单元还用于向 所述终端发送包括所述媒体数据的数据类型的描述数据。  The server according to claim 14, wherein the sending unit is further configured to send, to the terminal, description data including a data type of the media data.
17、 一种终端, 其特征在于, 包括: 接收单元,用于接收包括媒体数据的数据包,该数据包包括差异控制参数; 解析单元, 用于解析所述接收单元接收的数据包, 获得所述媒体数据; 解 析所述接收单元接收的数据包, 获得差异控制参数; 17. A terminal, comprising: a receiving unit, configured to receive a data packet including media data, the data packet includes a difference control parameter, a parsing unit, configured to parse the data packet received by the receiving unit, obtain the media data, and parse the data received by the receiving unit Package, obtain the difference control parameters;
呈现单元, 用于根据所述解析单元获得的差异控制参数呈现所述媒体数 据。  a rendering unit, configured to present the media data according to a difference control parameter obtained by the parsing unit.
18、 如权利要求 17所述的终端, 其特征在于, 所述接收单元还用于接收 包括所述媒体数据的数据类型的描述数据;  The terminal according to claim 17, wherein the receiving unit is further configured to receive description data including a data type of the media data;
所述终端还包括选择单元,用于根据所述数据类型选择所述媒体数据的呈 现模式;  The terminal further includes a selecting unit, configured to select a presentation mode of the media data according to the data type;
所述呈现单元,用于根据所述解析单元获得的差异控制参数和所述选择单 元选择的呈现模式呈现所述媒体数据。  The presentation unit is configured to present the media data according to a difference control parameter obtained by the parsing unit and a presentation mode selected by the selection unit.
19、 如权利要求 17所述的终端, 其特征在于, 所述解析单元还用于从所 述数据包解析获得所述媒体数据的数据类型;  The terminal according to claim 17, wherein the parsing unit is further configured to parse the data type of the media data from the data packet;
所述终端还包括选择单元,用于根据所述数据类型选择所述媒体数据的呈 现模式;  The terminal further includes a selecting unit, configured to select a presentation mode of the media data according to the data type;
所述呈现单元,用于根据所述解析单元获得的差异控制参数和所述选择单 元选择的呈现模式呈现所述媒体数据。  The presentation unit is configured to present the media data according to a difference control parameter obtained by the parsing unit and a presentation mode selected by the selection unit.
20、 一种媒体呈现系统, 其特征在于, 包括如权利要求 14至 16任一所述 的服务器;  A media presentation system, comprising: the server according to any one of claims 14 to 16;
和 /或  and / or
包括如权利要求 17至 19任一所述的终端。  A terminal as claimed in any one of claims 17 to 19.
PCT/CN2010/071592 2009-04-07 2010-04-07 Method for rendering media and system, server and terminal thereof WO2010115369A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN200910132685 2009-04-07
CN200910132685.4 2009-04-07
CN200910147569.X 2009-06-15
CN200910147569A CN101860447A (en) 2009-04-07 2009-06-15 Method, system, server and terminal for presenting media

Publications (1)

Publication Number Publication Date
WO2010115369A1 true WO2010115369A1 (en) 2010-10-14

Family

ID=42935646

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/071592 WO2010115369A1 (en) 2009-04-07 2010-04-07 Method for rendering media and system, server and terminal thereof

Country Status (2)

Country Link
CN (1) CN101860447A (en)
WO (1) WO2010115369A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113163213A (en) * 2020-01-22 2021-07-23 腾讯科技(深圳)有限公司 Live competition method, equipment and storage medium
CN113741250A (en) * 2021-08-16 2021-12-03 辽宁荣信兴业电力技术有限公司 Redundancy control system and method for SVG

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10521188B1 (en) 2012-12-31 2019-12-31 Apple Inc. Multi-user TV user interface
WO2015200227A1 (en) 2014-06-24 2015-12-30 Apple Inc. Column interface for navigating in a user interface
KR102398394B1 (en) 2014-06-24 2022-05-16 애플 인크. Input device and user interface interactions
US20170094360A1 (en) * 2015-09-30 2017-03-30 Apple Inc. User interfaces for navigating and playing channel-based content
DK201670582A1 (en) 2016-06-12 2018-01-02 Apple Inc Identifying applications on which content is available
DK201670581A1 (en) 2016-06-12 2018-01-08 Apple Inc Device-level authorization for viewing content
US11966560B2 (en) 2016-10-26 2024-04-23 Apple Inc. User interfaces for browsing content from multiple content applications on an electronic device
DK201870354A1 (en) 2018-06-03 2019-12-20 Apple Inc. Setup procedures for an electronic device
US11467726B2 (en) 2019-03-24 2022-10-11 Apple Inc. User interfaces for viewing and accessing content on an electronic device
US11962836B2 (en) 2019-03-24 2024-04-16 Apple Inc. User interfaces for a media browsing application
US11683565B2 (en) 2019-03-24 2023-06-20 Apple Inc. User interfaces for interacting with channels that provide content that plays in a media browsing application
EP3928194A1 (en) 2019-03-24 2021-12-29 Apple Inc. User interfaces including selectable representations of content items
US11863837B2 (en) 2019-05-31 2024-01-02 Apple Inc. Notification of augmented reality content on an electronic device
US11797606B2 (en) 2019-05-31 2023-10-24 Apple Inc. User interfaces for a podcast browsing and playback application
US11843838B2 (en) 2020-03-24 2023-12-12 Apple Inc. User interfaces for accessing episodes of a content series
US11899895B2 (en) 2020-06-21 2024-02-13 Apple Inc. User interfaces for setting up an electronic device
US11720229B2 (en) 2020-12-07 2023-08-08 Apple Inc. User interfaces for browsing and presenting content
US11934640B2 (en) 2021-01-29 2024-03-19 Apple Inc. User interfaces for record labels

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1469281A (en) * 2002-06-11 2004-01-21 Lg������ʽ���� Multi-media regeneration apparatus and method
CN1681341A (en) * 2004-04-07 2005-10-12 乐金电子(中国)研究开发中心有限公司 Device and method for displaying SMIL edited multimedia short messages on mobile communication terminal
CN1759384A (en) * 2003-03-10 2006-04-12 松下电器产业株式会社 Reception apparatus and information browsing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022545A (en) * 2006-02-14 2007-08-22 华为技术有限公司 Method and system for realizing multimedia broadcasting via H.248 protocol
CN101359996B (en) * 2007-08-02 2012-04-04 华为技术有限公司 Media service presenting method, communication system and related equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1469281A (en) * 2002-06-11 2004-01-21 Lg������ʽ���� Multi-media regeneration apparatus and method
CN1759384A (en) * 2003-03-10 2006-04-12 松下电器产业株式会社 Reception apparatus and information browsing method
CN1681341A (en) * 2004-04-07 2005-10-12 乐金电子(中国)研究开发中心有限公司 Device and method for displaying SMIL edited multimedia short messages on mobile communication terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113163213A (en) * 2020-01-22 2021-07-23 腾讯科技(深圳)有限公司 Live competition method, equipment and storage medium
CN113163213B (en) * 2020-01-22 2023-12-08 腾讯科技(深圳)有限公司 Method, device and storage medium for live game
CN113741250A (en) * 2021-08-16 2021-12-03 辽宁荣信兴业电力技术有限公司 Redundancy control system and method for SVG
CN113741250B (en) * 2021-08-16 2024-03-26 辽宁荣信电力电子技术有限公司 Redundancy control system and method for SVG

Also Published As

Publication number Publication date
CN101860447A (en) 2010-10-13

Similar Documents

Publication Publication Date Title
WO2010115369A1 (en) Method for rendering media and system, server and terminal thereof
CN1764974B (en) Storage medium storing multimedia data, and method and apparatus for reproducing multimedia data
CN1985321B (en) Method and apparatus for reproducing the multimedia data
TW488168B (en) Method and apparatus for user-controlled selective overlay in a streaming media
WO2017121303A1 (en) Method and apparatus for playing push information during video live broadcast
CN108391179A (en) live data processing method, device, server, terminal and storage medium
WO2010020183A1 (en) Method and device of transmission and play of advertisement programs
JP4308555B2 (en) Receiving device and information browsing method
US20120087380A1 (en) Media transmission method and device and media storage method and device
CN108040038A (en) The live method of network interdynamic, network main broadcaster end and user terminal
CN108449632A (en) A kind of real-time synthetic method of performance video and terminal
CN109547860A (en) A kind of method and IPTV playing device of the video suspension continued broadcasting of program request
WO2023151332A1 (en) Multimedia stream processing method and apparatus, devices, computer-readable storage medium, and computer program product
CN107690090A (en) Video broadcasting method and the electronic installation using the video broadcasting method
CN107317815A (en) A kind of method and device, storage medium and the terminal of video superposition
ES2434259T3 (en) Social television service
CN113099282B (en) Data processing method, device and equipment
CN101299709A (en) Flow type medium server system based on internet
US20230336842A1 (en) Information processing apparatus, information processing method, and program for presenting reproduced video including service object and adding additional image indicating the service object
WO2014036873A1 (en) Method for sharing transport stream
WO2016127374A1 (en) Multi-media streaming service presentation method, relevant device and relevant system
TW200930100A (en) Network video system provided for watching computer network video programs on TV
US8699479B2 (en) Server, system and method that providing additional contents
JP4794640B2 (en) Transmitting apparatus and media data transmitting method
WO2019176590A1 (en) Information processing device, information processing device, and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10761198

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10761198

Country of ref document: EP

Kind code of ref document: A1