CN108965974A - A kind of method and device of display interface that downloading set-top box - Google Patents
A kind of method and device of display interface that downloading set-top box Download PDFInfo
- Publication number
- CN108965974A CN108965974A CN201710365221.2A CN201710365221A CN108965974A CN 108965974 A CN108965974 A CN 108965974A CN 201710365221 A CN201710365221 A CN 201710365221A CN 108965974 A CN108965974 A CN 108965974A
- Authority
- CN
- China
- Prior art keywords
- data packet
- latest edition
- top box
- display interface
- server
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Abstract
Invention describes a kind of method and device of display interface for downloading set-top box, this method, comprising: receives the information of the incremental data packet of the latest edition sent by server;Wherein, the incremental data packet includes: the variance data between the display interface of two adjacent versions;The incremental data packet of latest edition or the full dose data packet of latest edition are obtained from the server according to the selection of the information of the incremental data packet of the latest edition;Wherein, the full dose data packet includes: the total data of the display interface of latest edition;Acquisition request is sent to the server, and receives the incremental data packet of the latest edition sent by the server or the full dose data packet of latest edition;The display interface of the set-top box is updated according to the full dose data packet of the incremental data packet of the latest edition or latest edition.The present invention mitigates the pressure of server during updating the display interface of set-top box and reduces the consumption to bandwidth.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of method and devices for the display interface for downloading set-top box.
Background technique
The display interface of set-top box is the operation interface showed during using set-top box for user.The display of set-top box
Interface generally includes many pages, again includes many components on each page, and the picture of each component, color, function are not
It is identical.During actual motion set-top box, operator needs periodically to the layout of the display interface of set-top box, component, figure
Piece, color, function are modified.Operator can put the display interface of designed set-top box to on network server, when
When set-top box needs replacing display interface, operator can issue the display interface of latest edition, and set-top box passes through from server
The display interface of latest edition is downloaded to be updated to set-top box.Since the display interface of set-top box includes many pages, often
A page has many components again, needs to show many picture resources on the display interface of set-top box.Set-top box is every time from clothes
When the display interface for device downloading latest edition of being engaged in, very big pressure will cause to the server of the display interface of storage set-top box
Power, while the requirement to network bandwidth is also very high.
Summary of the invention
It is a primary object of the present invention to propose a kind of method and device of display interface for downloading set-top box, machine is being updated
Mitigate the pressure of server during the display interface of top box and reduces the consumption to bandwidth.
To achieve the above object, the present invention provides a kind of method of display interface for downloading set-top box, it is applied to machine top
Box side, which comprises
Receive the information of the incremental data packet of the latest edition sent by server;Wherein, the incremental data packet
It includes: the variance data between the display interface of two adjacent versions;
The increasing of latest edition is obtained from the server according to the selection of the information of the incremental data packet of the latest edition
Measure the full dose data packet of data packet or latest edition;Wherein, the full dose data packet includes: the display interface of latest edition
Total data;
Acquisition request is sent to the server, and receives the incremental data of the latest edition sent by the server
The full dose data packet of packet or latest edition;
The set-top box is updated according to the full dose data packet of the incremental data packet of the latest edition or latest edition
Display interface.
Optionally, the information of the incremental data packet of the latest edition includes: the version of the incremental data packet of latest edition
Number.
Optionally, the information selection of the incremental data packet according to the latest edition obtains most from the server
The incremental data packet of new version or the full dose data packet of latest edition, comprising:
Calculate the version number of the incremental data packet of latest edition in the server with it is currently in use in the set-top box
The difference of the version number of incremental data packet;
If the difference is less than preset threshold, from acquisition increasing currently in use from the set-top box in the server
Measure all incremental datas of the version number of data packet into the server between the version number of the incremental data packet of latest edition
Packet;
If the difference is greater than preset threshold, the full dose data packet of latest edition is obtained from the server.
Optionally, before receiving the information of incremental data packet of the latest edition sent by server, the method
Further include:
Judge whether be provided with display interface in the set-top box, if it is not, then obtaining latest edition from the server
This full dose data packet, and the display interface of the set-top box is set according to the full dose data packet of the latest edition.
In addition, to achieve the above object, a kind of method that the present invention also proposes display interface for downloading set-top box is applied to
Server side, which comprises
The information of the incremental data packet of latest edition in the server is sent to set-top box, for the set-top box root
According to the latest edition incremental data packet information select from the server obtain latest edition incremental data packet or
The full dose data packet of person's latest edition;Wherein, the incremental data packet includes: the difference between the display interface of two adjacent versions
Heteromerism evidence;The full dose data packet includes: the total data of the display interface of latest edition;
The acquisition request sent by the set-top box is received, and is sent most according to the acquisition request to the set-top box
The incremental data packet of new version or the full dose data packet of latest edition, so that the set-top box is according to the increasing of the latest edition
The full dose data packet of amount data packet or latest edition updates the display interface of the set-top box.
Optionally, before the information of the incremental data packet of latest edition in the server is sent to set-top box, institute
State method further include:
Receive the incremental data packet of the latest edition sent by display interface management system and the full dose number of latest edition
According to packet.
In addition, to achieve the above object, the present invention also proposes a kind of device of display interface for downloading set-top box, it is applied to
Set-top box side, described device include:
First receiving module, the information of the incremental data packet for receiving the latest edition sent by server;Wherein,
The incremental data packet includes: the variance data between the display interface of two adjacent versions;
Selecting module, the information for the incremental data packet according to the latest edition select to obtain from the server
The incremental data packet of latest edition or the full dose data packet of latest edition;Wherein, the full dose data packet includes: latest edition
Display interface total data;
Obtain module, for the server send acquisition request, and receive sent by the server it is newest
The incremental data packet of version or the full dose data packet of latest edition;
Update module, for being updated according to the incremental data packet of the latest edition or the full dose data packet of latest edition
The display interface of the set-top box.
Optionally, described device further include:
Judgment module, for sentencing before receiving the information of incremental data packet of the latest edition sent by server
Break and whether be provided with display interface in the set-top box, if it is not, then obtaining the full dose number of latest edition from the server
According to packet, and the display interface of the set-top box is set according to the full dose data packet of the latest edition.
In addition, to achieve the above object, the present invention also proposes a kind of device of display interface for downloading set-top box, it is applied to
Server side, described device include:
Sending module, for the information of the incremental data packet of latest edition in the server to be sent to set-top box, with
It is selected to obtain latest edition from the server according to the information of the incremental data packet of the latest edition for the set-top box
Incremental data packet or latest edition full dose data packet;Wherein, the incremental data packet includes: the aobvious of two adjacent versions
Show the variance data between interface;The full dose data packet includes: the total data of the display interface of latest edition;
Feedback module, for receiving the acquisition request sent by the set-top box, and according to the acquisition request to institute
It states set-top box and sends the incremental data packet of latest edition or the full dose data packet of latest edition, so that the set-top box is according to institute
The full dose data packet of the incremental data packet or latest edition of stating latest edition updates the display interface of the set-top box.
Optionally, described device further include:
Second receiving module, for the information of the incremental data packet of latest edition in the server to be sent to machine top
Before box, the incremental data packet of the latest edition sent by display interface management system and the full dose data of latest edition are received
Packet.
The method and device of the display interface of downloading set-top box proposed by the present invention, the management to the display interface of set-top box
It is refined, when the display interface of set-top box downloading latest edition, only downloads the portion changed really in display interface
Point, the size of download package is reduced, to mitigate the pressure to server, decreases the consumption of network bandwidth.The present invention solves
Problem of set-top box during actual operation, while reducing capital investment of the operator to server, decrease fortune
Capital investment of the quotient to network bandwidth is sought, good economic benefit can be obtained.
Detailed description of the invention
Fig. 1 is the flow chart of the method for the display interface of the downloading set-top box of first embodiment of the invention;
Fig. 2 is the flow chart of the method for the display interface of the downloading set-top box of second embodiment of the invention;
Fig. 3 is the flow chart of the method for the display interface of the downloading set-top box of third embodiment of the invention;
Fig. 4 is the schematic diagram of the display interface of the set-top box in third embodiment of the invention;
Fig. 5 is the composed structure schematic diagram of the device of the display interface of the downloading set-top box of fourth embodiment of the invention;
Fig. 6 is the composed structure schematic diagram of the device of the display interface of the downloading set-top box of fifth embodiment of the invention.
Specific embodiment
Further to illustrate the present invention to reach the technical means and efficacy that predetermined purpose is taken, below in conjunction with attached drawing
And preferred embodiment, the present invention is described in detail as after.
First embodiment of the invention, a method of the display interface of downloading set-top box is applied to set-top box side, such as Fig. 1
It is shown, the method specifically includes the following steps:
Step S101: the information of the incremental data packet of the latest edition sent by server is received.
Specifically, operator configures the display interface of latest edition by display interface management system, and by latest edition
Display interface be published in server.When operator issues latest edition in the server by display interface management system
When this display interface, full dose data packet and incremental data packet are sent and stored in the server.Wherein, the full dose
Data packet includes: the total data of the display interface of latest edition;The incremental data packet includes: the display of two adjacent versions
Variance data between interface.
Further, before step S101, the method also includes:
Judge whether be provided with display interface in the set-top box, if it is not, then obtaining latest edition from the server
This full dose data packet, and the display interface of the set-top box is set according to the full dose data packet of the latest edition.
In the case where turning back on after set-top box powers on or be resumed for the first time default setting, set-top box does not have locally
The full dose data packet on server is saved, i.e. display interface is not arranged according to full dose data packet in set-top box.Set-top box need from
The server obtains the full dose data packet of latest edition, and the machine is arranged according to the full dose data packet of the latest edition
The display interface of top box, to show the display interface of latest edition on the set-top box.
Step S102: it is obtained from the server according to the selection of the information of the incremental data packet of the latest edition newest
The incremental data packet of version or the full dose data packet of latest edition.
Specifically, the information of the incremental data packet of the latest edition includes: the version of the incremental data packet of latest edition
Number.
According to the issuing time of publication incremental data packet and full dose data packet, be followed successively by the incremental data packet issued every time and
Full dose data packet adds version number, identical with the version number of the incremental data packet of batch publication and full dose data packet, newly issues
The version number of the incremental data packet issued and full dose data packet before the version number of incremental data packet and full dose data packet is greater than.Example
Such as, the version number of the full dose data packet of publication is V0001, for the second time the full dose data packet of publication and incremental data packet for the first time
Version number is V0002, and the full dose data packet of third time publication and the version number of incremental data packet are V0003, and so on.
Further, step S102, comprising:
Calculate incremental data currently in use in the version number and the set-top box of the incremental data packet of the latest edition
The difference of the version number of packet;
If the difference is less than preset threshold, from acquisition increasing currently in use from the set-top box in the server
Measure all incremental datas of the version number of data packet into the server between the version number of the incremental data packet of latest edition
Packet;
If the difference is greater than preset threshold, the full dose data packet of latest edition is obtained from the server.
When set-top box inquires the version number of incremental data packet of the latest edition on the server, set-top box can compare
The version number of the incremental data packet of latest edition in the version number and server of the incremental data packet more locally used, if two
Person's difference comparsion is big, and set-top box will obtain a full dose data packet from the server, can increase in this way to avoid multiple downloading
Data packet is measured, to simplify the parsing of the display interface of set-top box and work is presented.Especially occur closing for a long time in set-top box
In the not used situation of machine, the version number of incremental data packet is increased very more on server, and set-top box is not necessarily to
Download multiple incremental data packets successively to carry out the update of display interface.There is not used situation of shutting down for a long time in set-top box
Under, the update to display interface can be completed in the full dose data packet that set-top box only needs to download a latest edition.Preferably, if
The difference is less than 5, i.e., latest edition in the version number of incremental data packet currently in use and the server in the described set-top box
The difference of the version number of this incremental data packet is in 5 versions, then set-top box successively downloads the machine from the server
Not used incremental data packet in top box, and successively according to the version number of the incremental data packet of downloading to the display interface of set-top box
It is updated;If the difference is greater than 5, the full dose data packet of latest edition is obtained from the server, and according to described
The full dose data packet of latest edition is updated the display interface of set-top box.
Step S103: acquisition request is sent to the server, and receives the latest edition sent by the server
Incremental data packet or latest edition full dose data packet.
During the display interface actual operation of set-top box, frequency it is highest operation be update display interface on one or
The picture resource file of several components and the control parameter of component are not to do very greatly to the full page layout of display interface
Adjustment.Under the operation scene of this medium-high frequency, the picture of the content of incremental data packet primarily directed to one or several components
The control parameter of resource file and component.When set-top box only downloads incremental data packet, due to incremental data packet size compared with
It is small, to mitigate the downloading pressure to server, decrease the consumption of network bandwidth.
Step S104: according to the update of the full dose data packet of the incremental data packet of the latest edition or latest edition
The display interface of set-top box.
If set-top box has downloaded the full dose data packet of server side, set-top box completes the solution of the display interface of a full dose
Analysis and update operation, i.e., be updated all components of display interface;
If set-top box has downloaded the incremental data packet of server side, set-top box completes the solution of the display interface of an increment
Analysis and update operation, i.e., be updated the partial component of display interface.
Second embodiment of the invention, a method of the display interface of downloading set-top box is applied to server side, such as Fig. 2
It is shown, the method specifically includes the following steps:
Step S201: the information of the incremental data packet of latest edition in the server is sent to set-top box, for institute
State the increasing that set-top box obtains latest edition according to the selection of the information of the incremental data packet of the latest edition from the server
Measure the full dose data packet of data packet or latest edition.
Wherein, the incremental data packet includes: the variance data between the display interface of two adjacent versions;The full dose
Data packet includes: the total data of the display interface of latest edition.
Specifically, before step S201, the method also includes:
Receive the incremental data packet of the latest edition sent by display interface management system and the full dose number of latest edition
According to packet.
The display interface management system provides a visual editing platform for administrator, and administrator passes through described
Display interface management system is designed the display interface of set-top box, and design specifically includes: increasing the display page, increase group
Part defines the page and component parameter.
Further, full dose data packet and incremental data packet specifically include following data: the type of display interface, display circle
The page, the component in the page, the picture resource file of component and the control parameter of component in face.Full dose data packet and incremental number
It according to packet is configured and manages in the visual editing platform that the display interface management system provides.According to management
The setting and management of member generates the display interface configuration file that corresponding extensible markup language defines.
Wherein, the type of display interface is usually divided into 720P or 1080P according to rate respectively.
Display interface includes at least a page, and the page of display interface is made of component, at least wraps inside each page
A component is included, each of page part contains the control parameter of picture resource file and component.
Step S202: receiving the acquisition request that is sent by the set-top box, and according to the acquisition request to the machine
Top box send latest edition incremental data packet or latest edition full dose data packet, for the set-top box according to described in most
The incremental data packet of new version or the full dose data packet of latest edition update the display interface of the set-top box.
During the display interface actual operation of set-top box, frequency it is highest operation be update display interface on one or
The picture resource file of several components and the control parameter of component are not to do very greatly to the full page layout of display interface
Adjustment.Under the operation scene of this medium-high frequency, the picture of the content of incremental data packet primarily directed to one or several components
The control parameter of resource file and component.When set-top box only downloads incremental data packet, due to incremental data packet size compared with
It is small, to mitigate the downloading pressure to server, decrease the consumption of network bandwidth.
Specifically, the method also includes:
It receives and is instructed by the cleaning that the display interface management system is sent, and instructed according to the cleaning, delete institute
The incremental data packet and full dose data packet of the early version in server are stated, to only retain part latest edition in the server
This full dose data packet and incremental data packet.
Preferably, the full dose data packet and incremental data packet of 10 latest editions are only retained in the server.
Third embodiment of the invention, a method of the display interface of downloading set-top box is applied to display interface management system
In system, server and set-top box, as described in Figure 3, the method specifically includes the following steps:
Step S301: the display interface of the latest edition of the set-top box is configured by display interface management system, and will
The configuration data packet of the display interface of latest edition is sent in the server.
Specifically, administrator configures the display interface of latest edition by the display interface management system, and will be newest
The display interface of version is published in the server.Wherein, the configuration data packet of the display interface of the latest edition includes:
Full dose data packet and incremental data packet.The full dose data packet includes: the total data of the display interface of latest edition;The increasing
Amount data packet includes: the variance data between the display interface of two adjacent versions.
The display interface management system provides a visual editing platform for administrator, and administrator passes through described
Display interface management system is designed the display interface of set-top box, and the design specifically includes: increasing the display page, increases
Component defines the page and component parameter.
Full dose data packet and incremental data packet specifically include following data: the type of display interface, display interface the page,
The picture resource file of component, component in the page and the control parameter of component.Full dose data packet and incremental data packet be
It is configured and manages in the visual editing platform that the display interface management system provides.According to the setting of administrator
The display interface configuration file that corresponding extensible markup language defines is generated with management.Wherein, the type of display interface is usual
It is divided into 720P or 1080P according to rate respectively.Display interface includes at least a page, and the page of display interface is made of component,
A component is included at least inside each page, each of page part contains the control of picture resource file and component
Parameter.
Further, step S301 is specifically included:
If the display interface management system is the display interface for configuring the set-top box for the first time, sent out to the server
Send full dose data packet;
If the display interface management system is not the display interface for configuring the set-top box for the first time, to the server
Send full dose data packet and incremental data packet.
If display interface management system issues display interface for the first time, a full dose data packet is only issued;If
Original display interface is had modified during operation, then issues an incremental data again while issuing a full dose data packet
Packet, incremental data packet only include the data of this modification.
Further, the method also includes:
It is described when the display interface management system sends full dose data packet and incremental data packet to the server
Display interface management system detects the version quantity of incremental data packet stored in the server, when the incremental data packet
When version quantity is greater than preset value, the incremental data packet and full dose data packet of early version in the server are deleted, so that described
Only retain the full dose data packet and incremental data packet of setting quantity in server.
Step S302: the set-top box downloads from the server full dose data packet or latest edition of latest edition
Incremental data packet.
Specifically, step S302, comprising:
Step A1: the set-top box judges whether be provided with display interface in the set-top box, if so, thening follow the steps
A2;If it is not, thening follow the steps A4.
Step A2: it calculates in the version number and the set-top box of the incremental data packet of latest edition in the server
The difference of the version number of the incremental data packet used;If the difference is less than or equal to preset threshold, A3 is thened follow the steps;If described
Difference is greater than the preset threshold, thens follow the steps A4.
The set-top box is followed successively by the increasing issued every time according to the issuing time of publication incremental data packet and full dose data packet
It measures data packet and full dose data packet adds version number, with the incremental data packet of batch publication and version number's phase of full dose data packet
Together, the incremental data packet and full dose data packet that the version number of the incremental data packet and full dose data packet newly issued issues before being greater than
Version number.For example, the version number of the full dose data packet of publication is V0001 for the first time, the full dose data packet of second publication and
The version number of incremental data packet is V0002, and the full dose data packet of third time publication and the version number of incremental data packet are V0003,
And so on.
Step A3: from obtained in the server version number of the incremental data packet currently in use from the set-top box to
All incremental data packets in the server between the version number of the incremental data packet of latest edition.
For example, if the version number of incremental data packet currently in use is V0006 in the set-top box, in the server most
The version number of the incremental data packet of new version is V0009, then set-top box download version number from the server is respectively
The incremental data packet of V0007, V0008, V0009.
Step A4: the full dose data packet of latest edition is obtained from the server.
For example, if the version number of incremental data packet currently in use is V0006 in the set-top box, in the server most
The version number of the incremental data packet of new version is V0021, then set-top box download version number from the server is V0021
Full dose data packet.
In the case where turning back on after set-top box powers on or be resumed for the first time default setting, set-top box does not have locally
The full dose data packet on server is saved, i.e. display interface is not arranged according to full dose data packet in set-top box.Set-top box need from
The server obtains the full dose data packet of latest edition, and the machine is arranged according to the full dose data packet of the latest edition
The display interface of top box, to show the display interface of latest edition on the set-top box.During operation, set-top box detection
Whether the display interface of new version is had in server, if the incremental data packet of discovery new version, downloads the increment of latest edition
Data packet is local to set-top box;If the version of incremental data packet is excessive, the full dose data packet of latest edition is downloaded to set-top box
It is local.
Step S303: the set-top box is according to the incremental data packet of the latest edition or the full dose data of latest edition
Packet updates the display interface of the set-top box.
If set-top box has downloaded the full dose data packet of server side, set-top box completes the solution of the display interface of a full dose
Analysis and update operation, i.e., be updated all components of display interface;
If set-top box has downloaded the incremental data packet of server side, set-top box completes the solution of the display interface of an increment
Analysis and update operation, i.e., be updated the partial component of display interface.
As shown in figure 4, the schematic diagram of the display interface for a set-top box, the set-top box includes a page, described
It include component 1 in the page to totally 9 components of component 9.The full dose data packet of the display interface includes: the topology data of the page, 9
The control parameter of the picture resource file of a component and 9 components.Display interface management system is in first version of publication
When display interface, a full dose data packet only is sent to the server.During operation, need component 9 being revised as group
Part 9 ', administrator has issued new display interface by display interface management system, and has sent one to server and include group
The full dose data packet of part 9 ' and the incremental data packet comprising component 9 '.Set-top box can be according to currently used incremental data packet
Version situation, selection downloading incremental data packet or full dose data packet.When downloading incremental data packet, since incremental data packet only wraps
The size of the control parameter of picture resource file and component 9 ' containing component 9 ', the incremental data packet compares full dose data packet
For can be much smaller.When set-top box only downloads incremental data packet, since the size of incremental data packet is smaller, to mitigate to clothes
The downloading pressure of business device, decreases the consumption of network bandwidth.
A kind of fourth embodiment of the invention, device of display interface that downloading set-top box, is applied to set-top box side, such as Fig. 5
Shown, described device specifically includes consisting of part:
1) receiving module 501, the information of the incremental data packet for receiving the latest edition sent by server.
Specifically, operator configures the display interface of latest edition by display interface management system, and by latest edition
Display interface be published in server.When operator issues latest edition in the server by display interface management system
When this display interface, full dose data packet and incremental data packet are sent and stored in the server.Wherein, the full dose
Data packet includes: the total data of the display interface of latest edition;The incremental data packet includes: the display of two adjacent versions
Variance data between interface.
Further, described device further include:
Judgment module, for sentencing before receiving the information of incremental data packet of the latest edition sent by server
Break and whether be provided with display interface in the set-top box, if it is not, then obtaining the full dose number of latest edition from the server
According to packet, and the display interface of the set-top box is set according to the full dose data packet of the latest edition.
In the case where turning back on after set-top box powers on or be resumed for the first time default setting, set-top box does not have locally
The full dose data packet on server is saved, i.e. display interface is not arranged according to full dose data packet in set-top box.Set-top box need from
The server obtains the full dose data packet of latest edition, and the machine is arranged according to the full dose data packet of the latest edition
The display interface of top box, to show the display interface of latest edition on the set-top box.
2) selecting module 502, the information for the incremental data packet according to the latest edition are selected from the server
The full dose data packet of the middle incremental data packet for obtaining latest edition or latest edition.
Specifically, the information of the incremental data packet of the latest edition includes: the version of the incremental data packet of latest edition
Number.
According to the issuing time of publication incremental data packet and full dose data packet, be followed successively by the incremental data packet issued every time and
Full dose data packet adds version number, identical with the version number of the incremental data packet of batch publication and full dose data packet, newly issues
The version number of the incremental data packet issued and full dose data packet before the version number of incremental data packet and full dose data packet is greater than.Example
Such as, the version number of the full dose data packet of publication is V0001, for the second time the full dose data packet of publication and incremental data packet for the first time
Version number is V0002, and the full dose data packet of third time publication and the version number of incremental data packet are V0003, and so on.
Further, selecting module 502 are specifically used for:
Calculate incremental data currently in use in the version number and the set-top box of the incremental data packet of the latest edition
The difference of the version number of packet;If the difference is less than preset threshold, obtained from the set-top box just from the server
In institute of the version number into the server between the version number of the incremental data packet of latest edition of the incremental data packet used
There is incremental data packet;If the difference is greater than preset threshold, the full dose data packet of latest edition is obtained from the server.
When set-top box inquires the version number of incremental data packet of the latest edition on the server, set-top box can compare
The version number of the incremental data packet of latest edition in the version number and server of the incremental data packet more locally used, if two
Person's difference comparsion is big, and set-top box will obtain a full dose data packet from the server, can increase in this way to avoid multiple downloading
Data packet is measured, to simplify the parsing of the display interface of set-top box and work is presented.Especially occur closing for a long time in set-top box
In the not used situation of machine, the version number of incremental data packet is increased very more on server, and set-top box is not necessarily to
Download multiple incremental data packets successively to carry out the update of display interface.There is not used situation of shutting down for a long time in set-top box
Under, the update to display interface can be completed in the full dose data packet that set-top box only needs to download a latest edition.Preferably, if
The difference is less than 5, i.e., latest edition in the version number of incremental data packet currently in use and the server in the described set-top box
The difference of the version number of this incremental data packet is in 5 versions, then set-top box successively downloads the machine from the server
Not used incremental data packet in top box, and successively according to the version number of the incremental data packet of downloading to the display interface of set-top box
It is updated;If the difference is greater than 5, the full dose data packet of latest edition is obtained from the server, and according to described
The full dose data packet of latest edition is updated the display interface of set-top box.
3) module 503 is obtained, for sending acquisition request to the server, and receives and is sent by the server
The incremental data packet of latest edition or the full dose data packet of latest edition.
During the display interface actual operation of set-top box, frequency it is highest operation be update display interface on one or
The picture resource file of several components and the control parameter of component are not to do very greatly to the full page layout of display interface
Adjustment.Under the operation scene of this medium-high frequency, the picture of the content of incremental data packet primarily directed to one or several components
The control parameter of resource file and component.When set-top box only downloads incremental data packet, due to incremental data packet size compared with
It is small, to mitigate the downloading pressure to server, decrease the consumption of network bandwidth.
4) update module 504, for according to the incremental data packet of the latest edition or the full dose data of latest edition
Packet updates the display interface of the set-top box.
Specifically, update module 504, is used for:
If set-top box has downloaded the full dose data packet of server side, set-top box completes the solution of the display interface of a full dose
Analysis and update operation, i.e., be updated all components of display interface;
If set-top box has downloaded the incremental data packet of server side, set-top box completes the solution of the display interface of an increment
Analysis and update operation, i.e., be updated the partial component of display interface.
A kind of fifth embodiment of the invention, device of display interface that downloading set-top box, is applied to server side, such as Fig. 6
Shown, described device specifically includes consisting of part:
1) sending module 601, for the information of the incremental data packet of latest edition in the server to be sent to machine top
Box, for the set-top box according to the information of the incremental data packet of the latest edition select to obtain from the server it is newest
The incremental data packet of version or the full dose data packet of latest edition.
Wherein, the incremental data packet includes: the variance data between the display interface of two adjacent versions;The full dose
Data packet includes: the total data of the display interface of latest edition.
Specifically, described device further include:
Receiving module, for by the information of the incremental data packet of latest edition in the server be sent to set-top box it
Before, receive the incremental data packet of the latest edition sent by display interface management system and the full dose data packet of latest edition.
The display interface management system provides a visual editing platform for administrator, and administrator passes through described
Display interface management system is designed the display interface of set-top box, and design specifically includes: increasing the display page, increase group
Part defines the page and component parameter.
Further, full dose data packet and incremental data packet specifically include following data: the type of display interface, display circle
The page, the component in the page, the picture resource file of component and the control parameter of component in face.Full dose data packet and incremental number
It according to packet is configured and manages in the visual editing platform that the display interface management system provides.According to management
The setting and management of member generates the display interface configuration file that corresponding extensible markup language defines.
Wherein, the type of display interface is usually divided into 720P or 1080P according to rate respectively.
Display interface includes at least a page, and the page of display interface is made of component, at least wraps inside each page
A component is included, each of page part contains the control parameter of picture resource file and component.
2) feedback module 602, for receiving the acquisition request sent by the set-top box, and according to the acquisition request
The incremental data packet of latest edition or the full dose data packet of latest edition are sent, to the set-top box for the set-top box root
The display interface of the set-top box is updated according to the incremental data packet of the latest edition or the full dose data packet of latest edition.
During the display interface actual operation of set-top box, frequency it is highest operation be update display interface on one or
The picture resource file of several components and the control parameter of component are not to do very greatly to the full page layout of display interface
Adjustment.Under the operation scene of this medium-high frequency, the picture of the content of incremental data packet primarily directed to one or several components
The control parameter of resource file and component.When set-top box only downloads incremental data packet, due to incremental data packet size compared with
It is small, to mitigate the downloading pressure to server, decrease the consumption of network bandwidth.
Specifically, described device further include:
Removing module, for receiving the cleaning instruction sent by the display interface management system, and according to described clear
Reason instruction, deletes the incremental data packet and full dose data packet of the early version in the server, thus in the server only
Retain the full dose data packet and incremental data packet of part latest edition.
Preferably, the full dose data packet and incremental data packet of 10 latest editions are only retained in the server.
The method and device of the display interface for the downloading set-top box introduced in the embodiment of the present invention, display circle to set-top box
The management in face is refined, and when the display interface of set-top box downloading latest edition, is only downloaded in display interface really
The size of download package is reduced in the part of change, to mitigate the pressure to server, decreases the consumption of network bandwidth.This
Invention solves the problems, such as set-top box during actual operation, while reducing capital investment of the operator to server,
Reduce capital investment of the operator to network bandwidth, good economic benefit can be obtained.
By the explanation of specific embodiment, the present invention can should be reached technological means that predetermined purpose is taken and
Effect is able to more deeply and specifically understand, however appended diagram is only to provide reference and description and is used, and is not used to this
Invention limits.
Claims (10)
1. a kind of method for the display interface for downloading set-top box, which is characterized in that be applied to set-top box side, which comprises
Receive the information of the incremental data packet of the latest edition sent by server;Wherein, the incremental data packet includes: two
Variance data between the display interface of a adjacent version;
The incremental number of latest edition is obtained from the server according to the selection of the information of the incremental data packet of the latest edition
According to packet or the full dose data packet of latest edition;Wherein, the full dose data packet includes: the whole of the display interface of latest edition
Data;
Send acquisition request to the server, and receive the latest edition sent by the server incremental data packet or
The full dose data packet of person's latest edition;
The display of the set-top box is updated according to the full dose data packet of the incremental data packet of the latest edition or latest edition
Interface.
2. the method for the display interface of downloading set-top box according to claim 1, which is characterized in that the latest edition
The information of incremental data packet includes: the version number of the incremental data packet of latest edition.
3. it is according to claim 2 downloading set-top box display interface method, which is characterized in that it is described according to most
The information of the incremental data packet of new version selects incremental data packet or latest edition that latest edition is obtained from the server
This full dose data packet, comprising:
Calculate increment currently in use in the version number and the set-top box of the incremental data packet of latest edition in the server
The difference of the version number of data packet;
If the difference is less than preset threshold, from acquisition incremental number currently in use from the set-top box in the server
According to all incremental data packets of the version number of packet into the server between the version number of the incremental data packet of latest edition;
If the difference is greater than preset threshold, the full dose data packet of latest edition is obtained from the server.
4. the method for the display interface of downloading set-top box according to claim 1, which is characterized in that receiving by server
Before the information of the incremental data packet of the latest edition sent, the method also includes:
Judge whether be provided with display interface in the set-top box, if it is not, then obtaining latest edition from the server
Full dose data packet, and the display interface of the set-top box is set according to the full dose data packet of the latest edition.
5. a kind of method for the display interface for downloading set-top box, which is characterized in that be applied to server side, which comprises
The information of the incremental data packet of latest edition in the server is sent to set-top box, so that the set-top box is according to institute
The information for stating the incremental data packet of latest edition selects the incremental data packet or most that latest edition is obtained from the server
The full dose data packet of new version;Wherein, the incremental data packet includes: the difference number between the display interface of two adjacent versions
According to;The full dose data packet includes: the total data of the display interface of latest edition;
The acquisition request sent by the set-top box is received, and latest edition is sent to the set-top box according to the acquisition request
The full dose data packet of incremental data packet originally or latest edition, so that the set-top box is according to the incremental number of the latest edition
The display interface of the set-top box is updated according to the full dose data packet of packet or latest edition.
6. the method for the display interface of downloading set-top box according to claim 5, which is characterized in that by the server
The information of the incremental data packet of middle latest edition is sent to before set-top box, the method also includes:
Receive the incremental data packet of the latest edition sent by display interface management system and the full dose data packet of latest edition.
7. a kind of device for the display interface for downloading set-top box, which is characterized in that be applied to set-top box side, described device includes:
First receiving module, the information of the incremental data packet for receiving the latest edition sent by server;Wherein, described
Incremental data packet includes: the variance data between the display interface of two adjacent versions;
Selecting module selects to obtain from the server newest for the information according to the incremental data packet of the latest edition
The incremental data packet of version or the full dose data packet of latest edition;Wherein, the full dose data packet includes: the aobvious of latest edition
Show the total data at interface;
Module is obtained, for sending acquisition request to the server, and receives the latest edition sent by the server
Incremental data packet or latest edition full dose data packet;
Update module, for according to the update of the full dose data packet of the incremental data packet of the latest edition or latest edition
The display interface of set-top box.
8. the device of the display interface of downloading set-top box according to claim 7, which is characterized in that described device is also wrapped
It includes:
Judgment module, for judging before receiving the information of incremental data packet of the latest edition sent by server
Whether it is provided with display interface in the set-top box, if it is not, the full dose data packet of latest edition is then obtained from the server,
And the display interface of the set-top box is set according to the full dose data packet of the latest edition.
9. a kind of device for the display interface for downloading set-top box, which is characterized in that be applied to server side, described device includes:
Sending module, for the information of the incremental data packet of latest edition in the server to be sent to set-top box, for institute
State the increasing that set-top box obtains latest edition according to the selection of the information of the incremental data packet of the latest edition from the server
Measure the full dose data packet of data packet or latest edition;Wherein, the incremental data packet includes: display circle of two adjacent versions
Variance data between face;The full dose data packet includes: the total data of the display interface of latest edition;
Feedback module, for receiving the acquisition request sent by the set-top box, and according to the acquisition request to the machine
Top box send latest edition incremental data packet or latest edition full dose data packet, for the set-top box according to described in most
The incremental data packet of new version or the full dose data packet of latest edition update the display interface of the set-top box.
10. the device of the display interface of downloading set-top box according to claim 9, which is characterized in that described device is also wrapped
It includes:
Second receiving module, for by the information of the incremental data packet of latest edition in the server be sent to set-top box it
Before, receive the incremental data packet of the latest edition sent by display interface management system and the full dose data packet of latest edition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710365221.2A CN108965974A (en) | 2017-05-22 | 2017-05-22 | A kind of method and device of display interface that downloading set-top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710365221.2A CN108965974A (en) | 2017-05-22 | 2017-05-22 | A kind of method and device of display interface that downloading set-top box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108965974A true CN108965974A (en) | 2018-12-07 |
Family
ID=64462314
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710365221.2A Pending CN108965974A (en) | 2017-05-22 | 2017-05-22 | A kind of method and device of display interface that downloading set-top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108965974A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116527989A (en) * | 2023-06-29 | 2023-08-01 | 天津金城银行股份有限公司 | Video playing device interface display method, system, terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030220944A1 (en) * | 2002-04-03 | 2003-11-27 | Lyman Schottland Paul Joseph | Delta replication of source files and packages across networked resources |
CN103188097A (en) * | 2011-12-30 | 2013-07-03 | 金蝶软件(中国)有限公司 | Method, device and system achieving patch management |
CN105373408A (en) * | 2015-12-07 | 2016-03-02 | 福建新大陆通信科技股份有限公司 | Set top box software based patch pack upgrading method and system |
CN105487889A (en) * | 2015-11-26 | 2016-04-13 | 小米科技有限责任公司 | Application interface updating method and device |
CN106162343A (en) * | 2015-03-25 | 2016-11-23 | 中兴通讯股份有限公司 | Interface processing method, Apparatus and system |
-
2017
- 2017-05-22 CN CN201710365221.2A patent/CN108965974A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030220944A1 (en) * | 2002-04-03 | 2003-11-27 | Lyman Schottland Paul Joseph | Delta replication of source files and packages across networked resources |
CN103188097A (en) * | 2011-12-30 | 2013-07-03 | 金蝶软件(中国)有限公司 | Method, device and system achieving patch management |
CN106162343A (en) * | 2015-03-25 | 2016-11-23 | 中兴通讯股份有限公司 | Interface processing method, Apparatus and system |
CN105487889A (en) * | 2015-11-26 | 2016-04-13 | 小米科技有限责任公司 | Application interface updating method and device |
CN105373408A (en) * | 2015-12-07 | 2016-03-02 | 福建新大陆通信科技股份有限公司 | Set top box software based patch pack upgrading method and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116527989A (en) * | 2023-06-29 | 2023-08-01 | 天津金城银行股份有限公司 | Video playing device interface display method, system, terminal and storage medium |
CN116527989B (en) * | 2023-06-29 | 2023-11-07 | 天津金城银行股份有限公司 | Video playing device interface display method, system, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11595458B2 (en) | Adaptive bit rate media streaming based on network conditions received via a network monitor | |
EP2865148B1 (en) | Dynamic media throttling based on data quotas | |
KR101785483B1 (en) | Method for acting as service agent, modem and terminal | |
EP3262819B1 (en) | Coordinated techniques to improve application, network and device resource utilization of a data stream | |
JP6009582B2 (en) | Wireless communication apparatus and method of adjusting maximum access number thereof | |
CN101841536B (en) | Remote automatic upgrading method for digital monitoring equipment | |
CN105635755B (en) | Live TV stream transmission method and device | |
US7873733B2 (en) | Load distribution method, load distribution device, and system including load distribution device | |
CN106997351B (en) | Resource cache management method, system and device | |
CN105873022A (en) | Downloading method and device for mobile terminal | |
CN104040992A (en) | Media streaming in mobile networks with improved efficiency | |
CN106792835B (en) | Control method and system for wireless equipment sharing bandwidth | |
US9044677B2 (en) | System for optimizing processing capacity for a group of gaming appliances engaged in play of an online game | |
CN105554525A (en) | Upgrade method and upgrade system for smart television or set top box | |
EP3657429B1 (en) | Api billing system, api billing management method, and api billing program | |
CN111045816A (en) | Performance optimization method and related device | |
CN108874437A (en) | A kind of online cloud update method of android application program | |
CN104469406A (en) | Method and device for processing network resources | |
CN108965974A (en) | A kind of method and device of display interface that downloading set-top box | |
CN106105148B (en) | Managing device resources and configurations | |
CN105490852B (en) | A kind of upgrade detection method and device | |
CN109617950A (en) | A kind of data-updating method, device, equipment and readable storage medium storing program for executing | |
CN105516751B (en) | A kind of set-top box/television set and its upgrade method | |
CN111970320A (en) | Control method and device for OTA data packet issuing flow | |
CN103763371A (en) | Method for dynamically controlling mobile end application cache |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20181207 |