Summary of the invention
Technical problem to be solved by this invention is: provide a kind of method and system configuring multimedia presentation, and in the configuration operation of displaying contents, workload is large, process is complicated and the problem that cannot allocate flexibly to solve user.
In order to solve the problems of the technologies described above, the technical solution used in the present invention is:
Preset template and task playlist in the server;
Resource will be shown stored in server;
Set up contacting of display resource and template, generation display task;
Display task is added into task playlist;
The attribute of configuration display task and task playlist;
Described display task and task playlist are pushed to Set Top Box according to the attribute of configuration by server;
Show after showing task described in set-top box parses.
Another technical scheme provided by the invention is:
Configure a system for multimedia presentation, comprise the server, Set Top Box and the display device that connect successively; Described server comprises memory module, presetting module, Connection Module, configuration module and pushing module; Described Set Top Box comprises parsing module;
Described memory module, for server stores display resource;
Described presetting module, for presetting template and task playlist in the server;
Described Connection Module, sets up contacting of display resource and template for server, generation display task;
Described configuration module, is added into task playlist for server by display task, the attribute of configuration display task and task playlist;
Described pushing module, pushes to Set Top Box according to the attribute of configuration by described display task and task playlist for server;
Described parsing module, shows on the display device after showing task described in set-top box parses.
Beneficial effect of the present invention is: provide a kind of method and system configuring multimedia presentation, be different from prior art in the process of configuration displaying contents, to need user each details of manual a pair displaying contents and parameter are carried out operating and just can be completed entirely, whole layoutprocedure brings larger workload to user, and process is loaded down with trivial details, easily cause the deficiency of error.The invention provides a kind of method and system configuring multimedia presentation, by presetting template and task playlist in the server, being needed by user preset the display resource of display to be combined with template and connecting rear generation display task; Display task is added into task playlist, and carries out attribute configuration, server pushes display task according to attribute.The invention provides more various abundant config option for user selects according to the actual requirements, the perfect further configuration feature of displaying contents; Simplify the layoutprocedure of displaying contents, make layoutprocedure systematization more, once configuring just can Reusability, without the need to successively reselecting; Significantly improve the allocative efficiency of user to displaying contents, greatly simplify layoutprocedure, distribute the Consumer's Experience of multimedia presentation process rationally.
Embodiment
By describing technology contents of the present invention in detail, realized object and effect, accompanying drawing is coordinated to be explained below in conjunction with execution mode.
The design of most critical of the present invention is: by presetting template and task playlist in the server, set up and contact rear generation display task between the display resource of user preset and template, server pushes the attribute configuration of display task and playlist according to user, improve user to the allocative efficiency of displaying contents, greatly simplify layoutprocedure.
Please refer to Fig. 1 to Fig. 5, the invention provides a kind of method configuring multimedia presentation, comprising:
Template and task playlist is preset in server 2;
Resource will be shown stored in server 2;
Set up contacting of display resource and template, generation display task;
Display task is added into task playlist;
The attribute of configuration display task and task playlist;
Described display task and task playlist are pushed to Set Top Box 3 according to the attribute of configuration by server 2;
Set Top Box 3 shows after resolving described display task.
It should be noted that, template is after presetting, and can directly transfer in user's use procedure, this process is mainly reflected in user in the configuration operation of task.Template can be contacted directly with resource, because the attribute of markup language directly can be set to title or the path of resource, like this, contact just creates.If user has demand, independently can be configured, namely configure contacting of markup language and resource, generate a complete file, or else this file needs other, can directly push.
Server 2 in the present invention exists for being configured to, and stores various display resource, template and playlist, and display resource is by user preset, and the resource of user preset mainly contains picture, video, word.Each display task can configure oneself attribute, and as the term of validity or playing duration etc., be added to the task playlist being configured with self attributes equally, the attribute of task playlist comprises the playing sequence etc. of playlist.When display task is added in playlist, play according to the attribute in playlist, after taking out from playlist, the attribute according to display task self is shown.While facilitating user to be configured according to self-demand, the process more systematization of configuration can be made again.Described template is the carrier of display task, by standard generalized markup language set up display resource and template between contact after, a display task could be formed, contacting between display resource and template can be combination in any, a template can be set up with multiple display resource simultaneously and contact, a resource also can be set up with multiple template simultaneously and contact, and provides user more to select, enriches displaying contents.
From foregoing description, beneficial effect of the present invention is: the invention provides a kind of method configuring multimedia presentation, template and task playlist is preset in server 2, user will need the resource of display stored in after server, rear generation display task is connected by display resource being combined with template, any collocation can be realized between display resource and template, better display resource is shown with the form of the best according to the demand of user, more various abundant indicating template is provided, improves display effect.By display task is added into task playlist, and the attribute of display task and playlist is configured, server 2 pushes display task according to attribute, further improve the configuration feature of configuration multimedia presentation, make layoutprocedure systematization more, once configuring just can Reusability, without the need to repeatedly revising.User frees by the present invention from heavy displaying contents disposition and management task, like this, user only needs to be absorbed in the content of wanting to show, and they are made show resource accordingly, and to be combined with template in display resource and to form display task and after adding playlist, user, just without the need to being concerned about the playing progress rate of display task constantly, only by the attribute configuration of task playlist, just need can reach desirable effect.Significantly improve the allocative efficiency of user to displaying contents, greatly simplify layoutprocedure, distribute the Consumer's Experience of multimedia presentation process rationally.
Further, describedly " in server 2, template and task playlist is preset; Set up contacting of display resource and template, generation display task " specifically comprise:
In server 2, preset template and task playlist, definition pattern rule, described pattern rule is defined in each region of template by the label of standard generalized markup language;
Contacting of display resource and region in template is set up, generation display task by the attribute assignment of the label of described standard generalized markup language.
It should be noted that, described standard generalized markup language is a kind of international standard language defining electronic document structure and describe its content; General mark speech is put mark for grammer and is provided abnormal powerful instrument, has fabulous autgmentability simultaneously, therefore very useful in Data classification and index.Standard generalized markup language comprises HTML (i.e. html language) and extend markup language (i.e. XML language); HTML marks the various piece in the webpage that will show by label symbol.Web page files itself is a kind of text, by adding marker character in text, can tell how browser shows content (as: how word processes, and how picture arranges, and how picture shows) wherein.Extend markup language can be used for flag data, definition data type, be the original language that the markup language of a kind of user of permission to oneself defines.Its is applicable to World Wide Web (WWW) transmission very much, provides unified method to describe and exchange structural data independent of application program or supplier.
Preset in server 2 after template, define to the displaying contents of template regional, the definition rule of template is realized by standard generalized markup language, if a-quadrant is in a template by placement one pictures, then define the picture tag of a standard generalized markup language in a-quadrant, in display resource with template in conjunction with the stage, the assignment by some tag attributes is set up contacting of certain pictures and a-quadrant coordinate by this picture tag.By that analogy, different display types can be defined in the zones of different of template, and complete connection by concrete attribute assignment, in template, the definition of rule just tells user, in this region of the display device 4 of correspondence by the thing of what type of display, and the content specifically shown decides by the display resource preset.Effect on display device 4 screen is presented at by consistent with the display effect of the display resource that the layout defined in template and user use after parsing by Set Top Box 3.
Further, described " Set Top Box 3 is resolved " process comprises:
Set Top Box 3 receives described display task by Internet network or local network;
Set Top Box 3 according to the rule judgment of described template definition the need of supplementary display data;
If so, then to server 2 ask and obtain display data after supplement into appointed area, resolve supplement after display task;
If not, then directly resolve.
Seen from the above description, Set Top Box 3 is when the display task that reception server 2 pushes, can receive with long-range Internet network or local network, the Remote configuration mode providing user basic and local configuration two kinds of modes operate, more convenient use.In the present invention, after Set Top Box 3 receives display task, to judge whether there is the supplementary rule be defined in the template of display task, this supplementary rule needs the displaying contents of Set Top Box 3 to this region to supplement, the multidate information of content mainly some real-time change of supplementing, these multidate informations will be supplemented after server 2 carries out acquisition request by Set Top Box 3.Again, to the position not restriction at the content of supplementing place in a template, freely can configure according to the rule of template definition.
Further, in described " attribute of configuration display task and task playlist ", the attribute of display task comprises the term of validity and playing duration, and the attribute of task playlist comprises playing sequence.
Further, described standard generalized markup language is html language or XML voice;
When described standard generalized markup language is html language, preview can be carried out by browser after generation display task.
Seen from the above description, adopt html language as the language of contact template with display resource, be due to, when template and display resource are combining, form a complete html file, when namely showing task, user can pass through the direct preview effect of browser, and after the effect of preview resolves html file with Set Top Box 3, the effect be presented on display device 4 is consistent.
Described standard generalized markup language can be multiple, is not limited to html language or XML language two kinds.
The present invention also provides another technical scheme:
Configure a system for multimedia presentation, comprise the server 2, Set Top Box 3 and the display device 4 that connect successively; Described server 2 comprises memory module 1, presetting module 5, Connection Module 6, configuration module 7 and pushing module 8; Described Set Top Box 3 comprises parsing module 13;
Described memory module 1, stores display resource for server 2;
Described presetting module 5, for presetting template and task playlist in server 2;
Described Connection Module 6, sets up contacting of display resource and template for server 2, generation display task;
Described configuration module 7, is added into task playlist for server 2 by display task; The attribute of configuration display task and task playlist;
Described pushing module 8, pushes to Set Top Box 3 according to the attribute of configuration by described display task and task playlist for server 2;
Described parsing module 13, shows after showing task described in set-top box parses on display device 4.
From foregoing description, beneficial effect of the present invention is: the invention provides a kind of system configuring multimedia presentation, in server 2, template and task playlist is preset by presetting module 5, user stores by memory module 1 the display resource that user provides, by Connection Module 6 display resource is combined with template and connects rear generation display task, any collocation can be realized between display resource and template, better display resource is shown with the form of the best according to the demand of user, more various abundant indicating template is provided, improve display effect.By configuration module 7, display task is added into task playlist, the attribute of display task and playlist is configured, server 2 pushes display task according to attribute, further improve the configuration feature of configuration multimedia presentation, make layoutprocedure systematization more, once configuring just can Reusability, without the need to repeatedly revising.User frees by the present invention from heavy displaying contents disposition and management task, like this, user only needs to be absorbed in the content of wanting to show, and they are made show resource accordingly, and to be combined with template in display resource and to form display task and after adding playlist, user, just without the need to being concerned about the playing progress rate of display task constantly, only by the attribute configuration of task playlist, just need can reach desirable effect.Significantly improve the allocative efficiency of user to displaying contents, greatly simplify layoutprocedure, distribute the Consumer's Experience of multimedia presentation process rationally.
Further, described presetting module 5 also comprises definition unit 9;
Described definition unit 9, for presetting template and task playlist in server 2, definition pattern rule, described pattern rule is defined in each region of template by the label of standard generalized markup language;
Described Connection Module 6, the attribute assignment specifically for the label by described definition unit 9 Plays generalized markup language sets up contacting of region in display resource and template, generation display task.
Further, described Set Top Box 3 comprises receiver module 10, judge module 11 and complementary module 12;
Described receiver module 10, receives described display task for Set Top Box 3 by Internet network or local network;
Described judge module 11, for Set Top Box 3 according to the rule judgment of template definition in described definition unit 9 the need of supplementary display data;
If so, then complementary module is triggered;
If not, then directly resolve;
Described complementary module 12, for ask to server 2 and obtain display data after supplement into appointed area, resolve supplement after display task.
Further, in described configuration module 7, the attribute of configuration comprises the term of validity and the playing duration of display task, the playing sequence of task playlist.
Further, the described standard generalized markup language used in described Connection Module 6 is XML language or html language;
When described standard generalized markup language is html language, preview can be carried out by browser after generation display task.
Embodiments of the invention one are:
User provides oneself displaying contents that will show, can be picture, word or video, and they are made into corresponding resource.Drawing template establishment and task playlist in server 2, and adopt html language to define to the rule of template, as in a-quadrant by placement one pictures, then define the <img> label of a HTML in a-quadrant; B region by broadcasting video, then defines the <video> label of a HTML in B region; By appearance revolving horse lantern in C region, then define a <marquee> label in C region; If desired define one and play the displaying data in real-time obtained from server 2, then define a <script> label in desired position, it has a src attribute, this attribute will be assigned different values, and Set Top Box 3 supplements different displaying contents for it.In template, the definition of these rules, mainly tells user, and this region of this display screen is by the thing of what type of display, and customer-furnished display resource determines by concrete content.In display resource and template in conjunction with the stage, the assignment of the tag attributes by being defined in appointed area by html language is set up in display resource and template and specifies contacting of area coordinate, formation display task.As the <img> label in a-quadrant sets up contacting of certain pictures and a-quadrant coordinate by the assignment of some tag attributes.After display task has configured, can be configured its attribute as required, comprise the term of validity of display task, the duration etc. play, form a complete html file, user can pass through the direct preview effect of browser, and preview effect and Set Top Box 3 resolve that to be presented at the effect that reality shields after html file consistent.After display task is added to task playlist, can be configured task playlist attribute equally, comprise the order etc. of broadcasting, and server 2 will be sent to display task in Set Top Box 3 according to the attribute of task playlist and display task in official hour, Set Top Box 3 is after receiving display task, to judge that the rule of the template definition of display task carrier is the need of supplementary display data, if have, then obtain data to server 2 to supplement, the data of supplementing are mainly the multidate information of real-time change, as singing competition is carried out in a KTV place, and now to show the information of first 3 in real time, then need Set Top Box 3 Real-time Obtaining competition data, the information of first 3 is engraved in when being and changes.Finally, Set Top Box 3 will resolve html format data, and they will be presented on screen.
In sum, a kind of method and system configuring multimedia presentation provided by the invention, not only significantly improve the allocative efficiency of user to real content; And provide more various abundant config option to select according to the actual requirements for user, the perfect further configuration feature of displaying contents; Further, simplify the layoutprocedure of displaying contents, make layoutprocedure systematization more, once configuring just can Reusability, without the need to successively reselecting, distributes the Consumer's Experience of multimedia presentation process rationally.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every equivalents utilizing specification of the present invention and accompanying drawing content to do, or be directly or indirectly used in relevant technical field, be all in like manner included in scope of patent protection of the present invention.