Load method, system and cloud and the smart television of template packet
Technical field
The invention belongs to ntelligent television technolog field more particularly to a kind of method, apparatus, system and clouds for loading template packet
End and smart television.
Background technique
Desktop TV starter TV Launcher is used to show the content of smart television to user, contains video display, pushes away
It recommends, application, education, the various contents such as game.
Existing TV is when Launcher loads Launcher template packet, first by cloud editor's layout of Launcher and interior
Hold, generates Launcher template packet, then the Launcher template packet of generation is transferred to smart television by cloud, smart television is first
The layout in Launcher template packet is parsed, after the layout of Launcher is determined, then the various fills that parsing is obtained
Into the layout of Launcher, just user will be showed to watch after the completion of full content filling.
TV Launcher is to be presented to the user with a whole interface in interface display simultaneously, and full page exists always
Display state.If the layout of Launcher needs to change or content needs to change and requires Launcher for full content again
Load is primary, and new content is completely presented to user again.
This Launcher template packet loading method limits the update of the content of Launcher, and Launcher does not add again
Carry just can not more new data, and Launcher only TV restarting Shi Caihui reload, cause user primary in this way
New content can not be received in booting, the delay of content receives very serious.
Summary of the invention
The embodiment of the invention provides a kind of method, system and cloud for loading template packet and smart televisions, it is intended to solve
The Launcher template packet loading method that the prior art provides limits the update of the content of Launcher, and Launcher is not again
Load just can not more new data, and Launcher only TV restarting Shi Caihui reload, cause user one in this way
New content can not be received in secondary booting, the delay of content receives very serious problem.
On the one hand, a kind of method loading Launcher template packet is provided, which comprises
Cloud is classified according to the content of Launcher, and is one Tab of each class definition;
Cloud generates a layout for each Tab, and generates corresponding content for the layout of each Tab;
The layout of each Tab and content are packaged into a Tab packet by cloud, contain each Tab in the layout of each Tab
Coordinate;
All Tab packets are packaged into a Launcher template packet by cloud;
Smart television obtains the Launcher template packet from cloud;
In Launcher starting, the Launcher template packet is resolved into multiple independent Tab packets by smart television;
The specified Tab packet of smart television parsing, loads and shows the layout and content in the specified Tab packet.
Further, after all Tab packets are packaged into a Launcher template packet by the cloud, the method
Further include:
Cloud updates the specified Tab packet in the Launcher template packet;
The updated specified Tab encapsulating is dressed up a new Launcher template packet by cloud, and is transmitted described new
Launcher template packet to smart television;
Smart television decomposes the new Launcher template packet;
Smart television judge the new Tab packet for including in the new Launcher template packet whether with it is current existing old
Tab packet repeat, if it is, delete the old Tab packet, the reservation new Tab packet;
Smart television parses the new Tab packet, loads and shows the layout and content in the new Tab packet.
On the other hand, a kind of system loading Launcher template packet is provided, the system comprises: cloud and intelligence electricity
Depending on;
The cloud includes:
Tab definition unit for being classified according to the content of Launcher, and is one Tab of each class definition;
Layout and content generation unit, each Tab for defining for the Tab definition unit generate a layout,
And corresponding content is generated for the layout of each Tab;
First packaged unit, the layout and content of each Tab for generating the layout and content generation unit are beaten
It is bundled into a Tab packet, contains the coordinate of each Tab in the layout of each Tab;
Second packaged unit, all Tab packets for first packaged unit to be packaged into are packaged into one
Launcher template packet;
The smart television includes:
Template packet acquiring unit, for obtaining the Launcher template packet that second packaged unit is packaged into from cloud;
First decomposition unit, in Launcher starting, the template packet acquiring unit to be obtained from cloud
Launcher template packet resolves into multiple independent Tab packets;
First loaded and displayed unit, for parsing in multiple independent Tab packets that first decomposition unit resolves into
Specified Tab packet loads and shows the layout and content in the specified Tab packet.
Further, the cloud further include:
Tab packet updating unit, it is specified in the Launcher template packet that second packaged unit is packaged into for updating
Tab packet;
Tab packet transmission unit, for by the updated specified Tab encapsulating of the Tab packet updating unit dress up one it is new
Launcher template packet, and the new Launcher template packet is transmitted to smart television;
The smart television further include:
Second decomposition unit, for decomposing the new Launcher template packet of the Tab packet transmission unit transmission;
Judging unit, include in the new Launcher template packet for judging Tab packet transmission unit transmission is new
Tab packet whether repeated with current existing old Tab packet, if it is, delete the old Tab packet, reservation is described newly
Tab packet;
Second loaded and displayed unit, the new Tab packet retained for parsing the judging unit are loaded and are shown described new
Tab packet in layout and content.
In another aspect, providing a kind of cloud, the cloud includes:
Tab definition unit for being classified according to the content of Launcher, and is one Tab of each class definition;
Layout and content generation unit, each Tab for defining for the Tab definition unit generate a layout,
And corresponding content is generated for the layout of each Tab;
First packaged unit, the layout and content of each Tab for generating the layout and content generation unit are beaten
It is bundled into a Tab packet, contains the coordinate of each Tab in the layout of each Tab;
Second packaged unit, all Tab packets for first packaged unit to be packaged into are packaged into one
Launcher template packet.
Further, the cloud further include:
Tab packet updating unit, it is specified in the Launcher template packet that second packaged unit is packaged into for updating
Tab packet;
Tab packet transmission unit, for by the updated specified Tab encapsulating of the Tab packet updating unit dress up one it is new
Launcher template packet, and the new Launcher template packet is transmitted to smart television.
Another aspect, provides a kind of smart television, and the smart television includes:
Template packet acquiring unit, for obtaining the Launcher template packet that second packaged unit is packaged into from cloud;
First decomposition unit, in Launcher starting, the template packet acquiring unit to be obtained from cloud
Launcher template packet resolves into multiple independent Tab packets;
First loaded and displayed unit, for parsing in multiple independent Tab packets that first decomposition unit resolves into
Specified Tab packet loads and shows the layout and content in the specified Tab packet.
Further, the smart television further include:
Second decomposition unit, for decomposing the new Launcher template packet of cloud transmission;
Judging unit, include in the new Launcher template packet for judging Tab packet transmission unit transmission is new
Tab packet whether repeated with current existing old Tab packet, if it is, delete the old Tab packet, reservation is described newly
Tab packet;
Second loaded and displayed unit, the new Tab packet retained for parsing the judging unit are loaded and are shown described new
Tab packet in layout and content.
It include multiple Tab packets in the Launcher template packet that the embodiment of the present invention, cloud generate, each Tab packet includes
The layout and content of oneself, can be by Tab packets point when smart television loads Launcher template packet in Launcher starting
Load is opened, is independent of each other between Tab packet, when the layout or content of Launcher need to change, need to only update some needs
The Tab packet of change, and also only need to load the Tab packet of change, remaining Tab packet not changed does not need to add again
It carries, the real-time update that Launcher may be implemented is reloaded without whole.
Detailed description of the invention
Fig. 1 is the implementation flow chart of the method for the load Launcher template packet that the embodiment of the present invention one provides;
Fig. 2 is the composition schematic diagram for the Launcher template packet that the prior art provides;
Fig. 3 be the embodiment of the present invention one provide load Launcher template packet embodiment of the method in, generation
The composition schematic diagram of Launcher template packet;
Fig. 4 is the structural block diagram of the system of load Launcher template packet provided by Embodiment 2 of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
In embodiments of the present invention, cloud is classified according to the content of Launcher, and is each class definition one
After Tab, a layout is generated for each Tab, and generate corresponding content for the layout of each Tab, then by each Tab
Layout and content be packaged into a Tab packet, all Tab packets are finally packaged into a Launcher template packet;Intelligence electricity
After obtaining the Launcher template packet from cloud, in Launcher starting, first the Launcher template packet is decomposed
At multiple independent Tab packets, then specified Tab packet is parsed, load and shows the layout and content in the specified Tab packet.
Realization of the invention is described in detail below in conjunction with specific embodiment:
Embodiment one
Fig. 1 shows the implementation process of the method for the load Launcher template packet of the offer of the embodiment of the present invention one, is described in detail
It is as follows:
In step s101, cloud is classified according to the content of Launcher, and is one Tab of each class definition.
Fig. 2 shows the schematic diagram of existing Launcher template packet, existing Launcher template packet include layout and
Content two parts, wherein content may include recommendation, video display, application, game, education.
In embodiments of the present invention, cloud is classified according to the content of Launcher, available game, using, push away
Recommend, educate and the classification such as video display, can be one Tab of each class definition, for example, can define recommend Tab, video display Tab,
Using Tab, game Tab, education Tab.
In step s 102, cloud generates a layout for each Tab, and generates and correspond to for the layout of each Tab
Content.
In embodiments of the present invention, cloud, which can be directed to, recommends Tab, video display Tab, using Tab, game Tab and education Tab
It generates respectively and recommends layout, video display layout, application layout, game layout and educational distribution, then be directed to the layout of each Tab, than
Layout, video display layout, application layout, game layout and educational distribution is such as recommended to generate corresponding recommendation, movie and television contents, answer
With content, game content and education content.
In step s 103, the layout of each Tab and content are first packaged into a Tab packet by cloud, then by all Tab
Packet is packaged into a Launcher template packet, contains the location coordinate information of each Tab in the layout of each Tab.
In embodiments of the present invention, the layout of each Tab and content are first packaged into a Tab packet by cloud, then will be owned
Tab packet be packaged into a Launcher template packet, contain the coordinate of each Tab in the layout of each Tab.Preferably, often
The interval between each Tab and other Tab can also be included in the layout of a Tab.
For example, as shown in figure 3, Tab, video display Tab will be recommended, using the layout and content of Tab, game Tab and education Tab
It is packaged into respectively and recommends Tab packet, video display Tab packet, using Tab packet, game Tab packet and education Tab packet, recommend Tab packet, video display
Tab packet, using Tab packet, game Tab packet and education Tab packet include layout and content two parts, be packaged generation newly
It include recommending Tab packet, video display Tab packet, using Tab packet, game Tab packet and education Tab packet in Launcher template packet.
In step S104, smart television obtains the Launcher template packet from cloud.
In embodiments of the present invention, smart television obtains Launcher template packet, the Launcher template packet from cloud
It is the Launcher template packet that cloud generates in embodiment one.
In step s105, when Launcher starts, smart television resolves into the Launcher template packet multiple
Independent Tab packet.
In embodiments of the present invention, bale breaker is installed in smart television, gets the Launcher template of cloud generation
Bao Hou, in Launcher starting, bale breaker, which decomposes, is packaged integral Launcher template packet, by Launcher template packet point
Solution is at multiple independent Tab packets, for example recommends Tab packet, video display Tab packet, using Tab packet, game Tab packet, education Tab packet etc..
In step s 106, the specified Tab packet of smart television parsing loads and shows the layout in the Tab packet and interior
Hold.
In embodiments of the present invention, Tab resolver is installed, when starting Launcher, Tab resolver is negative in smart television
The specified Tab packet of duty parsing, loads the layout and content in the specified Tab packet, after the completion of load, presents information to use
Family.
Specifically, first Tab is only shown first, so smart television is whole when Intelligent television terminal starts launcher
The Tab packet that first to be shown only is split into layout and content by the Tab resolver at end.The Tab resolver of Intelligent television terminal
The layout for reading first Tab packet loads corresponding content, user is presented to after the completion of load.
When user needs to watch the content of next Tab packet, the Tab resolver of Intelligent television terminal is torn open according to mode above
Divide next Tab packet, and loads the layout and content that next Tab packet is presented.
It should be noted that synchronization, the Tab resolver of Intelligent television terminal can only parse a Tab packet.
Preferably, after step s 103, further comprising the steps of:
Step 1, cloud update the specified Tab packet in the Launcher template packet.
In this step, since the data in Launcher template packet are the presence in the form of multiple independent Tab packets, so
When cloud needs to be updated the data in Launcher template packet, some Tab packet for needing to update need to be only updated.
The updated specified Tab encapsulating is dressed up a new Launcher template packet by step 2, cloud, and is transmitted
The new Launcher template packet is to smart television.
Step 3, smart television parse the new Launcher template packet.
Step 4, smart television judge the new Tab packet for including in the new Launcher template packet whether with currently
The old Tab packet having repeats, if it is, deleting the old Tab packet, retains the new Tab packet.
Step 5, smart television parse the new Tab packet, load and show the layout in the new Tab packet and interior
Hold.
In this step, when user watches to the Tab of update, the resolver of smart television parses the new Tab packet, adds
It carries and shows the layout and content in the new Tab packet.
As can be seen that the content on TV Launcher can not need to restart according to the content real-time change in cloud
Launcher can come into force.
The present embodiment, cloud generate Launcher template packet in include multiple Tab packets, each Tab packet comprising oneself
Layout and content when smart television loads Launcher template packet, can separately be loaded, mutual not shadow between Tab packet by Tab packet
It rings, when the layout or content of Launcher need to change, need to only update some Tab packet for needing to change, and also only need
The Tab packet of change is loaded, remaining Tab packet not changed does not need to reload, and the reality of Launcher may be implemented
Shi Gengxin is reloaded without whole, and only needs to transmit the content of variation, Ke Yijie between cloud and smart television
Save network flow.
Those of ordinary skill in the art will appreciate that all or part of the steps in realization the various embodiments described above method is can
It is completed with instructing relevant hardware by program, corresponding program can store in a computer-readable storage medium
In, the storage medium, such as ROM/RAM, disk or CD.
Embodiment two
Fig. 4 shows the specific block diagram of the system of load Launcher template packet provided by Embodiment 2 of the present invention,
For ease of description, only parts related to embodiments of the present invention are shown.The system 4 of load Launcher template packet is wrapped
It includes: cloud 41 and smart television 42.
Specifically, the cloud 41 includes: Tab definition unit 411, layout and content generation unit 412, the first pack slip
Member 413 and the second packaged unit 414.
Wherein, Tab definition unit 411 for being classified according to the content of Launcher, and is each class definition one
A Tab;
Layout and content generation unit 412, for generating one for each Tab of the Tab definition unit 411 definition
Layout, and corresponding content is generated for the layout of each Tab;
First packaged unit 413, the layout of each Tab for generating the layout and content generation unit 412 and
Content is packaged into a Tab packet, contains the location coordinate information of each Tab in the layout of each Tab;
Second packaged unit 414, all Tab packets for first packaged unit 413 to be packaged into are packaged into one
A Launcher template packet;
Specifically, the smart television 42 includes: template packet acquiring unit 421, the first decomposition unit 422 and the first load
Display unit 423.
Wherein, template packet acquiring unit 421, for obtaining the Launcher that second packaged unit is packaged into from cloud
Template packet;
First decomposition unit 422, in Launcher starting, the template packet acquiring unit to be obtained from cloud
Launcher template packet resolves into multiple independent Tab packets;
First loaded and displayed unit 423, for parsing in multiple independent Tab packets that first decomposition unit resolves into
Specified Tab packet, load and show the layout and content in the specified Tab packet.
Further, the cloud 41 further include:
Tab packet updating unit, for updating the finger in the Launcher template packet that second packaged unit 414 is packaged into
Determine Tab packet;
Tab packet transmission unit, for by the updated specified Tab encapsulating of the Tab packet updating unit dress up one it is new
Launcher template packet, and the new Launcher template packet is transmitted to smart television;
The smart television 42 further include:
Second decomposition unit, for decomposing the new Launcher template packet of the Tab packet transmission unit transmission;
Judging unit, include in the new Launcher template packet for judging Tab packet transmission unit transmission is new
Tab packet whether repeated with current existing old Tab packet, if it is, delete the old Tab packet, reservation is described newly
Tab packet;
Second loaded and displayed unit, the new Tab packet retained for parsing the judging unit are loaded and are shown described new
Tab packet in layout and content.
The system of load Launcher template packet provided in an embodiment of the present invention can be applied real in aforementioned corresponding method
It applies in example one, details are referring to the description of above-described embodiment one, and details are not described herein.
It is worth noting that, included each unit is only drawn according to function logic in above-mentioned apparatus embodiment
Point, but be not limited to the above division, as long as corresponding functions can be realized;In addition, each functional unit is specific
Title is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.