Disclosure of Invention
The technical problem to be solved by the invention is to provide a method and a device for sending the video preview of the mobile phone television, and a method and a device for receiving the video preview of the mobile phone television, which can realize the quick retrieval preview of the service without downloading the video preview data to a terminal, and provide the video preview service for the client on the premise of not increasing the additional data service cost.
In order to solve the above problem, the present invention provides a method for sending a video preview of a mobile phone television, comprising:
packaging video preview data provided in a specified time period into a specified channel for circulating playing;
adding a video preview fragment in the electronic service guide and storing the attribute information of the video preview; adding the arrangement information of the video preview in the arrangement fragment corresponding to the video preview fragment; adding the playing parameter of the video preview channel in the service fragment corresponding to the video preview fragment;
and transmitting the electronic service guide containing the attribute information, the arrangement information and the channel playing parameters of the video preview to a corresponding terminal.
Further, the multiplex frame structure of the designated channel for video preview is the same as that of other audio and video channels.
Further, the attribute information of the video preview includes: data type, data information, and preview description information.
Further, the added editing information of the video preview includes: identification information of the preview segment, identification information of a channel or program associated therewith, and start time and duration of the service segment.
In order to solve the above problem, the present invention further provides a device for sending video preview of a mobile phone television, including: the device comprises a generating module, a playing module, a management module, a sending module and a storage module; wherein,
the generating module is used for generating video preview data, and attribute information, arrangement information and playing parameters of the video preview, and storing the video preview data, the arrangement information and the playing parameters in the storage module;
the playing module is used for extracting corresponding video preview data from the storage module within a specified time period, packaging the corresponding video preview data into a specified channel for circular playing, and informing the management module of a corresponding identifier of the played video preview;
the management module extracts attribute information, arrangement information and playing parameters corresponding to the video preview from the storage module according to the identification, adds a video preview fragment in an electronic service guide ESG to store the attribute information of the video preview, adds the arrangement information of the video preview in the arrangement fragment corresponding to the video preview fragment, adds the playing parameters of the video preview channel in the service fragment corresponding to the video preview fragment, and then sends the expanded ESG to the sending module;
the sending module is used for transmitting the ESG transmitted by the management module to a terminal;
the storage module is used for storing the video preview data and the attribute information, the arrangement information and the playing parameters of the video preview.
Furthermore, the multiplexing frame structure of the appointed channel for video preview is the same as the multiplexing frame structure in other audio and video channels.
In order to solve the above problem, the present invention further provides a method for receiving a video preview of a mobile phone television, including:
the terminal receives and analyzes the current electronic service guide ESG data and displays the data, and the user selects a channel or a program to be previewed through a trigger menu;
according to a channel or a program to be previewed selected by a user, if the terminal detects that a corresponding video preview fragment exists in the current ESG data, inquiring and reading arrangement information in an arrangement fragment corresponding to the video preview fragment in the current ESG data, reading a playing parameter of a video preview channel in a service fragment corresponding to the video preview fragment, and playing video preview from the corresponding channel on the terminal according to the arrangement information and the playing parameter.
Further, according to the selection of the user, the terminal queries whether a corresponding video preview fragment exists in the current ESG data, and also obtains attribute information of video preview from a corresponding field of the video preview fragment in the ESG data, where the attribute information includes: data type, data structure and preview description information; and displaying the preview description information of the preview service on the terminal by adopting a corresponding analysis mode according to the acquired data type and data structure.
Further, the schedule information of the video preview includes: identification information of the preview segment, identification information of a channel or program associated therewith, and start time and duration of the service segment.
Further, after inquiring that the ESG data has corresponding video preview fragments, the terminal also detects whether the video preview channel at the current time is playing the video, if so, the terminal sets corresponding playing parameters for playing; otherwise, setting an alarm for waiting, and prompting the user to watch when the video to be selected starts to play.
In order to solve the above problem, the present invention further provides a receiving apparatus for video preview of a mobile phone television, including: the system comprises a receiving and analyzing module, a task customizing module, a management module, a receiving and playing module and a storage module; wherein,
the receiving and analyzing module is used for receiving and analyzing the current electronic service guide ESG and sending the obtained ESG data to the storage module for storage;
the task customizing module is used for selecting a program to be viewed for video preview under the trigger of a user and informing the management module of a corresponding identifier of the program;
the management module is used for inquiring whether a corresponding video preview fragment exists in the current ESG data in the storage module according to the identification of the program sent by the task customization module, reading arrangement information in the arrangement fragment corresponding to the video preview fragment in the current ESG data, controlling the receiving and playing module to play the video preview from a corresponding channel according to the arrangement information, reading playing parameters of a video preview channel in a service fragment corresponding to the video preview fragment in the storage module, and sending the playing parameters to the receiving and playing module;
the receiving and playing module is triggered by the management module and plays the video preview from a corresponding channel according to the playing parameters sent by the management module;
the storage module is used for storing the current ESG data.
Further, the management module reads the attribute information in the video preview segment and sends the attribute information to the receiving and playing module; and the receiving and playing module is also used for receiving and displaying the attribute information of the video preview segment of the program sent by the management module.
Further, the reading, by the management module, the scheduling information of the video preview includes: identification information of the preview segment, identification information of a channel or program associated therewith, and start time and duration of the service segment.
Compared with the prior art, the method and the device can realize quick retrieval and preview of the service without downloading the video preview data to the terminal, and provide the video preview service for the client on the premise of not increasing the additional data service charge.
Detailed Description
In order to solve the drawbacks of the conventional technical solutions, the following embodiments further illustrate a method and an apparatus for sending a video preview of a mobile phone television, and a method and an apparatus for receiving a video preview of a mobile phone television according to the present invention.
As shown in fig. 2, a specific implementation flowchart of the sending end in the embodiment of the present invention is an implementation method for sending a video preview of a mobile television, including the following steps:
step 201, playing available video preview segments in a specified time period in a specified channel in a circulating manner;
in order to obtain a better preview effect, a special preview channel can be provided in the embodiment for cyclically playing the video segments of the program preview; of course, the present invention is not limited thereto;
the multiplexing subframe structure of the frequency channel is shown in fig. 1, and includes: the specific forming mode of the sub-frame header, the video segment, the audio segment and the data segment is the same as that of other service channels;
step 202, adding corresponding video preview fragments in the ESG to store the attribute information of the video preview data;
the video preview slice newly added in the ESG may be named PreviewDate (or other names) and is used to store attribute information of the video preview, where the attribute information includes: data type, data information and preview description information (the preview description information includes: title, language, identification information of the channel or program with which the identification ID of the service fragment itself is associated, etc.).
The video preview tile element semantics are shown in table 1:
| field(s) |
Semantics |
|
PreviewDataType |
Preview element data type definitions. |
|
PreviewDateGenre |
Preview content type, 8 bit unsigned integer. |
| Duration |
Duration, a 16-bit unsigned integer, represents the length of the play time of the preview video in seconds. |
|
PreviewDateLanguageSpecial |
Language dependent content description elements. |
|
Keyword |
Keyword string, and between keywords; "separate. |
|
DigestInfo |
And the abstract character string represents a simple description of the content. |
|
Title |
A title string. |
|
AudioLang |
The content audio language indicates a string of characters, with a '/' separation between different audio. |
|
SubtitleLang |
The caption language indicates a character string, and different languages are separated by '/'s. |
|
lang |
Language attribute of previewwlanguagespecial element, string. |
|
ServiceRefID |
A business element segment associated with the preview segment. |
|
ContentRefID |
A content element segment associated with the preview segment. |
| ServiceID |
Service identification, a 16-bit unsigned integer, uniquely identifies a service in a mobile multimedia broadcast transport multiplex frame. |
| ExtentInfo |
The extended information string represents a URI connection through which more relevant information can be obtained. |
|
PreviewDateID |
Preview representation, attribute of preview element, 16 bit unsigned integer, globally unique. |
TABLE 1 Preview element data type semantics
The deconstruction of data information in The video preview segment can be expressed by adopting XML (The Extensible markup language); other language expressions may be used in alternative embodiments, and the structure is not limited to XML.
Step 203, corresponding to the video preview fragment in step 202, expanding the arrangement fragment in the ESG, and adding related arrangement information of video preview therein;
| field(s) |
Semantics |
|
ScheduleType |
Data type definition of Schedule element. |
|
ServiceID |
Service identification, attributes of service elements, 16-bit unsigned integers. |
|
ContentID |
Content identification, 16 bit unsigned integer. |
|
PreviewDateID |
Preview identification, 16 bit unsigned integer. |
|
Title |
A theme element. |
|
TitleStr |
And the theme character string represents the name of the playing program content. |
|
lang |
Language attribute of Title element, character string. |
|
StartTime |
The start time. |
|
Duration |
Duration in seconds. |
|
UTCDateTimeType |
Start time element data type definitions. |
|
forFree |
Free indication. |
|
Live |
And indicating live broadcasting. |
|
Repeat |
And (4) playback indication. |
|
CADescriptor |
Conditional access descriptors, retained. |
|
ScheduleID |
Mark out, attribute of mark out element, 16 bit integer without symbol. |
Table 2 orchestration element data type semantics
The newly added data segment bearing related arrangement information in the arrangement fragment comprises:
PreviewDateID: an identification of a preview tile identifying the preview tile associated with the orchestration element. That is, the layout element describes the time layout information of the preview segment corresponding to the PreviewDateID;
duration: and the duration identifies the time length of playing all the preview fragments of the preview channel corresponding to the PreviewDateID. Since the video preview clip is played back in a loop in the preview channel, this element represents the loop period. When the current time is greater than the starting time of the appointed preview segment, the starting time of playing the segment next time can be calculated according to the cycle duration;
step 204, adding a playing parameter for marking a video preview channel in the service fragment of the ESG corresponding to the video preview fragment in step 202;
adding a fragment for identifying a preview channel in a service fragment (ServiceType) of the ESG, wherein the fragment is used for describing a playing parameter corresponding to a video preview channel;
step 205, transmitting the ESG obtained through the expansion in steps 202, 203 and 204 to a terminal;
transmitting multimedia broadcast data of an electronic service guide carrying attribute information in the preview slice, arrangement information in the related arrangement slice and playing parameter information in the service slice to a corresponding terminal;
that is, the video preview slice and the corresponding application data (the arrangement information and the playing parameter information) are used as the components of the ESG and transmitted in the mobile multimedia broadcasting system through the transmission mode of the ESG.
For the same video preview, the video preview segment, the arrangement segment and the service segment in the above steps 202, 203 and 204 have a corresponding relationship, and the execution of the steps 202, 203 and 204 has no strict sequence, and in another embodiment, the arrangement segment or the service segment may be expanded first, and finally the video preview segment is added.
Fig. 3 is a diagram illustrating an apparatus structure of a transmitting end according to an embodiment of the present invention. The video preview transmitting apparatus includes: the system comprises a generation module 10, a playing module 20, a management module 30, a sending module 40 and a storage module 50; wherein,
the generating module 10 is configured to generate video preview data and related application information (including attribute information, layout information, and playing parameters of the video preview) of the video preview, and store the video preview data and the related application information in the storage module 50;
the playing module 20 is configured to extract corresponding video preview data from the storage module 50 in a specified time period in a specified preview channel (the multiplexing frame structure of the specified video preview channel is the same as the multiplexing frame structure in other audio/video channels), encapsulate the extracted corresponding video preview data into the specified video preview channel, and circularly play the video preview data, and notify the management module 30 of a corresponding identifier of the played video preview data;
the management module 30 extracts the relevant application information corresponding to the video preview from the storage module 50 according to the identifier, adds a video preview segment in the electronic service guide to store the attribute information of the video preview, adds the arrangement information of the video preview in the arrangement segment of the electronic service guide, adds the playing parameter of the video preview channel in the service segment of the electronic service guide, and sends the expanded electronic service guide to the sending module 40;
the sending module 40 is configured to transmit the expanded electronic service guide transmitted from the management module 30 to the terminal;
the storage module 50 is configured to store video preview data and related application information of the video preview.
Some specific implementations of the functions of the above device are described in the above method, and are not described herein again.
The invention also provides a process for implementing the video preview of the mobile multimedia broadcast program on the receiving end, which is described by combining an example.
As shown in fig. 4, a flowchart of a specific implementation of a receiving end in the embodiment of the present invention includes the following steps:
301. the terminal receives and analyzes the ESG data and displays the ESG data, and the user selects the detailed information of a certain channel or program to be checked through triggering a menu;
302. according to the channel or program selected by the user, the terminal inquires whether the corresponding video preview fragment exists in the ESG data, if so, the step 303 is executed; otherwise, ending the preview process;
303. acquiring attribute information of video preview from a corresponding field of a video preview fragment in ESG data, wherein the attribute information comprises: data type, data structure and preview description information; displaying preview description information of the preview service, such as a title, a language and the like, on the terminal in a corresponding analysis mode according to the acquired data type and data structure;
304. a user selects to watch a corresponding video preview segment by triggering a menu;
305. the terminal searches and reads time information, such as the initial time and duration of the service fragment, in the arrangement information corresponding to the video preview fragment in the arrangement fragment in the ESG;
the arrangement information includes: the identification information of the preview fragment, the identification information of the channel or program associated with the preview fragment, and the start time and the duration of the service fragment;
306. judging whether the starting time of the video clip is the current time, if so, executing step 310; otherwise, go to step 307;
note that if the current time is detected and the video preview channel is playing the video segment, step 310 is also performed;
307, displaying the starting time of the section of preview video at the terminal;
308. the terminal prompts whether a user sets an alarm clock to prompt the user when the video preview starts, if so, the user triggers the alarm clock through a menu, and step 309 is executed; otherwise, ending the video preview process;
309. the alarm clock prompts a user to start playing the preview video;
310. and reading corresponding playing parameters of the preview channel in the service fragment corresponding to the video preview fragment from the ESG to play the video preview, and ending.
Fig. 5 is a diagram of a device structure at a receiving end in an embodiment of the present invention, including: the system comprises a receiving and analyzing module A, a task customizing module B, a management module C, a receiving and playing module D and a storage module E; wherein,
the receiving and analyzing module A is used for receiving and analyzing the current ESG and sending the obtained ESG data to the storage module E for storage;
the task customizing module B is used for selecting a program to be viewed for video preview under the trigger of a user and informing the management module C of a corresponding identifier of the program;
the management module C is used for inquiring whether a corresponding video preview fragment exists in the current ESG data or not in the storage module E according to the identification of the program sent by the task customizing module B, and if so, reading the attribute information in the video preview fragment and sending the attribute information to the receiving and playing module D; inquiring and reading arrangement information (arrangement information, including identification information of preview fragments, identification information of channels or programs associated with the preview fragments, and initial time and duration of service fragments) in arrangement fragments corresponding to the video preview fragments in the current ESG data in a storage module E, controlling a receiving and playing module D to play video previews from corresponding channels according to the arrangement information, reading playing parameters of video preview channels in the service fragments corresponding to the video preview fragments in the ESG data in the storage module E, and sending the playing parameters to the receiving and playing module D;
the receiving playing module D is triggered by the management module C and plays the video preview from a corresponding channel according to the playing parameters sent by the management module C; the system is also used for receiving and displaying attribute information such as title, language and the like in the video preview segment of the program sent by the management module C;
and the storage module E is used for storing the current ESG data.
Some specific implementations of the functions of the above device are described in the above method, and are not described herein again.
The present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof, and it is therefore intended that all such changes and modifications as fall within the true spirit and scope of the invention be considered as within the following claims.