CN106358083A - Method and system for updating television application - Google Patents
Method and system for updating television application Download PDFInfo
- Publication number
- CN106358083A CN106358083A CN201610801532.4A CN201610801532A CN106358083A CN 106358083 A CN106358083 A CN 106358083A CN 201610801532 A CN201610801532 A CN 201610801532A CN 106358083 A CN106358083 A CN 106358083A
- Authority
- CN
- China
- Prior art keywords
- television
- applications
- file
- executable file
- upgrade
- 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4431—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB characterized by the use of Application Program Interface [API] libraries
-
- 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4432—Powering on the client, e.g. bootstrap loading using setup parameters being stored locally or received from the server
Abstract
The invention discloses a method and a system for updating a television application. The method comprises steps as follows: when a television application updating request sent by a client is received, a cloud server side compiles a television application file in the television application updating request into a television-side executable file and associates the television-side executable file with television application information corresponding to the television application updating request for storage; when the application updating request sent by the television side is received, the cloud server side acquires the television-side executable file associated with the television application information in the application updating request; the cloud server side shares the acquired television-side executable file to the television side to allow the television side to perform television application updating and debugging according to the television-side executable file. According to the method and the system, the updating and debugging time of the television application is shortened, and the updating and debugging efficiency of the television application is improved.
Description
Technical field
The present invention relates to communication technical field, more particularly, to a kind of upgrade method of TV applications and system.
Background technology
With the development of the network communications technology, expedite the emergence of the new services industry of data family, people live progressively
Enter the wisdom family epoch.The requirement more and more higher to intelligent TV set for the people, not only requires it can see TV, simultaneously now
Wish to carry out more activities by intelligent TV set, such as video calling, web page browsing, be therefore applied to intelligent television system
TV applications developed in a large number.In order to ensure that the TV applications developing can reach Expected Results, need engineering staff couple
TV applications are debugged, and the adjustment method of current TV applications is typically engineering staff and burns the TV applications after the completion of compiling
Record to television, and this TV applications, the upgrading of this kind of method TV applications and the debugging efficiency after television debugs burning
Relatively low.
Content of the invention
Present invention is primarily targeted at providing a kind of upgrade method of TV applications and system it is intended to solve TV applications
Upgrading and the relatively low problem of debugging efficiency.
For achieving the above object, the upgrade method of a kind of TV applications that the present invention provides, comprising:
When receiving the TV applications upgrade request of client transmission, cloud server terminal is by described TV applications upgrade request
In TV applications file be compiled into television executable file, and described television executable file and TV applications are upgraded
Corresponding TV applications information association is asked to preserve;
In the application upgrade request receiving television transmission, described cloud server terminal obtains in described application upgrade request
TV applications information association television executable file;
Described cloud server terminal shares the described television executable file obtaining to described television, for described TV
End carries out TV applications upgrading and debugging according to described television executable file.
Preferably, described by corresponding with TV applications upgrade request for described television executable file TV applications information
After the step that association preserves, the upgrade method of described TV applications further comprises the steps of:
According to video parameter information in described TV applications upgrade request, configuring described television can hold described cloud server terminal
The download permission of style of writing part;
Described cloud server terminal shares the described television executable file obtaining to before the step of described television, also
Including:
The video parameter information based on television described in described application upgrade acquisition request for the described cloud server terminal;
Video parameter in described video parameter information with the download permission of the described television executable file obtaining
During information matches, described cloud server terminal execution shares the described television executable file obtaining to the step of described television
Suddenly.
Preferably, described cloud server terminal shares the described television executable file obtaining to described television, for
Described television also includes after carrying out TV applications upgrading and the step of debugging according to described television executable file:
When receiving the shared failure information of television transmission, described cloud server terminal is according to described shared failure information weight
Newly share described television executable file to described television.
Preferably, the TV applications file in described TV applications upgrade request is compiled into television by described cloud server terminal
The step of executable file includes:
Described cloud server terminal calls corresponding compiling library text according to television system information in described TV applications upgrade request
Part;
Described TV applications file is compiled into described television according to described compiling library file and can hold by described cloud server terminal
Style of writing part.
Preferably, described compiling library file includes binder client compiling file and application-interface layer compiling file.
Additionally, for achieving the above object, the present invention also provides a kind of upgrade-system of TV applications, comprising:
Collector, for when receiving the TV applications upgrade request of client transmission, by described TV applications liter
TV applications file in level request is compiled into television executable file, and should with TV by described television executable file
Preserved with upgrade request corresponding TV applications information association;
First acquisition module, in the application upgrade request receiving television transmission, obtaining described application upgrade
The television executable file of the TV applications information association in request;
First sharing module, for sharing the described television executable file obtaining to described television, for institute
State television and TV applications upgrading and debugging are carried out according to described television executable file.
Preferably, the upgrade-system of described TV applications also includes:
Configuration module, for according to video parameter information in described TV applications upgrade request, configuring described television can
The download permission of execution file;
Second acquisition module, for the video parameter information based on television described in described application upgrade acquisition request;
Described first sharing module, is additionally operable in described video parameter information and the described television executable file obtaining
Download permission in video parameter information matches when, by obtain described television executable file share to described TV
End.
Preferably, the upgrade-system of described TV applications also includes:
Second sharing module, for when receiving the shared failure information of television transmission, according to described shared failure
Information shares described television executable file to described television again.
Preferably, described collector includes:
Call unit, for calling corresponding compiling library text according to television system information in described TV applications upgrade request
Part;
Compilation unit, can hold for described TV applications file being compiled into described television according to described compiling library file
Style of writing part.
Preferably, described compiling library file includes binder client compiling file and application-interface layer compiling file.
The present invention passes through when receiving the TV applications upgrade request of client transmission, and cloud server terminal is by TV applications liter
TV applications file in level request is compiled into television executable file, and by television executable file and TV applications liter
The corresponding TV applications information association of level request preserves, in the application upgrade request receiving television transmission, cloud server terminal
Obtain the television executable file of the TV applications information association in application upgrade request, the television that cloud server terminal will obtain
Executable file is shared to television, so that television carries out TV applications upgrading and debugging according to television executable file.
After the completion of in client by TV applications file development, by this TV applications file-sharing to cloud server terminal, by cloud service
TV applications file is compiled as television executable file by end, when television needs to call this TV applications file, Xiang Yun
Service end sends the TV applications upgrade request calling this television executable file, and this cloud server terminal is according to this TV applications liter
Level request is shared this television executable file to this television, so that this television is entered according to this television executable file
The upgrading of row TV applications and debugging, therefore decrease upgrading and the debug time of TV applications, improve the upgrading of TV applications
And debugging efficiency.
Brief description
Fig. 1 is the schematic flow sheet of the first embodiment of upgrade method of TV applications of the present invention;
Fig. 2 is the schematic flow sheet of the second embodiment of upgrade method of TV applications of the present invention;
Fig. 3 is the schematic flow sheet of the 3rd embodiment of upgrade method of TV applications of the present invention;
Fig. 4 be in first embodiment shown in Fig. 1 of the present invention cloud server terminal by the TV in described TV applications upgrade request
Application file is compiled into the schematic flow sheet of the refinement step of television executable file;
Fig. 5 is the logic diagram of Linux system television of the present invention;
Fig. 6 is the high-level schematic functional block diagram of the first embodiment of upgrade-system of TV applications of the present invention;
Fig. 7 is the high-level schematic functional block diagram of the second embodiment of upgrade-system of TV applications of the present invention;
Fig. 8 is the high-level schematic functional block diagram of the 3rd embodiment of upgrade-system of TV applications of the present invention;
Fig. 9 illustrates for the refinement functional module of collector in the fourth embodiment of upgrade-system of TV applications of the present invention
Figure.
The realization of the object of the invention, functional characteristics and advantage will be described further in conjunction with the embodiments referring to the drawings.
Specific embodiment
It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Based on the problems referred to above, the present invention provides a kind of upgrade method of TV applications.
With reference to Fig. 1, Fig. 1 is the schematic flow sheet of the first embodiment of upgrade method of TV applications of the present invention.
In the present embodiment, the upgrade method of described TV applications includes:
Step s10, when receiving the TV applications upgrade request of client transmission, TV applications are upgraded by cloud server terminal
TV applications file in request is compiled into television executable file, and television executable file is upgraded with TV applications
Corresponding TV applications information association is asked to preserve;
In the present embodiment, user is carried out to the TV applications corresponding TV applications file needing upgrading by client
Write or user develops new TV applications by client, for example, when there is upgrade requirement at the ui interface of television, Yong Hu
Windows client writes the ROMPaq at ui interface, when the ROMPaq at ui interface write complete when, by the liter at this ui interface
Level program is in the ui file with " goui " as suffix.Wherein, this ui file includes forms information and control information, and this forms is believed
Breath includes: forms id, forms name, window position coordinate, forms size, window background picture, grid specification information.Forms
Id: forms id is uniquely corresponding with forms, for lookup and switchboard form;Forms name: similar with forms id, uniquely right with forms
Should, for differentiation and switchboard form;Window position coordinate: forms original position shown on the tv screen, (0,0) represents
The TV upper left corner, unit: pixel;Forms size: the pixel planes that forms take, unit: pixel;Grid specification: include
Transverse grid spacing and longitudinal grid spacing, for gridding layout, unit: pixel;Control information includes: control id, control
Name, control type, control coordinate, control size, control background information, control foreground information, control focus information, word letter
Breath, link information etc..Control id, control name: uniquely corresponding with control, user searches control and setting focus etc.;Control type:
It is mainly used in distinguishing specific type, require including special controls such as network state, usb state, poster push.Control coordinate: refer to
Determine control coordinate position, unit: pixel;Control size: specified control size, unit: pixel;Control background information: bag
Include one or more background picture and background picture method for drafting, wherein general control includes only one background picture, and special
Control needs multigroup Background to be switched over according to condition, such as wifi status information.Control foreground information includes: a prospect
Figure, foreground picture relative position and prospect drawing drawing method, wherein foreground picture a size of picture actual size.Control focus information:
Including this control whether can as focus, whether be designated as giving tacit consent to focus, as focus when show focus picture, focus chart
Piece is relative to next focus of control location and its four direction up and down;Word message: include word size, color, interior
Hold etc., wherein word size, colouring information can be saved in font.xml file, and generate corresponding font id;Word content meeting
It is generated in string_xxx.xml, xxx represents corresponding polyglot;Link information: control chooses click event to trigger.
On the programming software of windows client new construction come to write need upgrading the corresponding TV of TV applications
Application file, and register this new construction in cloud server terminal, preserve this TV applications file after the completion of writing.
When the TV applications of television need upgrading, user passes through client and sends TV applications liter to this cloud server terminal
Level request, and this TV applications file and TV applications information are bundled in this TV applications upgrade request, when this cloud clothes
When business termination receives the TV applications upgrade request of this client transmission, by this TV applications in this TV applications upgrade request
File is compiled into television executable file, and by this TV applications upgrade request corresponding TV applications information and this television
Executable file association preserves.Wherein, TV applications information includes TV applications title and TV applications version number.
Step s20, in the application upgrade request receiving television transmission, cloud server terminal obtains in application upgrade request
TV applications information association television executable file;
After the television needing upgrading TV applications is connected to network, regularly sending application upgrade to cloud server terminal please
Ask, when this cloud server terminal receives the application upgrade request of this television transmission, obtain the TV in this application upgrade request
Application message, and according to this TV applications acquisition of information corresponding television executable file.
Step s30, cloud server terminal shares the television executable file of acquisition to television, so that television is according to electricity
Carry out TV applications upgrading and debugging depending on end executable file.
During the television executable file of the TV applications information association in getting this application upgrade request, this cloud takes
Business end this television executable file getting is encoded, generate a md5 code, by this television executable file with
And this television executable file corresponding md5 code shares to this television, so that television is according to television executable file
Carry out TV applications upgrading and debugging.This television receives the television executable file that this cloud server terminal is shared, and will receive
To this television executable file carry out coding generate the 2nd md5 code, this television judge a md5 code with this second
Whether md5 code is consistent, if unanimously, television determines that this television executable file is synchronous complete, and switches and currently transport
The TV applications of row, this television executable file according to receiving carries out TV applications upgrading and debugging;If inconsistent,
Television determines that this television executable file is not synchronous complete, and continues executing with the TV applications being currently running, and deletes
Except this incomplete television executable file, again receive this television executable file that this cloud server terminal is shared.
The present embodiment passes through when receiving the TV applications upgrade request of client transmission, and cloud server terminal is by TV applications
TV applications file in upgrade request is compiled into television executable file, and by television executable file and TV applications
Upgrade request corresponding TV applications information association preserves, in the application upgrade request receiving television transmission, cloud service
End obtains the television executable file of the TV applications information association in application upgrade request, the TV that cloud server terminal will obtain
End executable file is shared to television, so that television carries out TV applications upgrading and tune according to television executable file
Examination.After the completion of in client by TV applications file development, by this TV applications file-sharing to cloud server terminal, taken by cloud
TV applications file is compiled as television executable file by business end, when television needs to call this TV applications file, to
Cloud server terminal sends the TV applications upgrade request calling this television executable file, and this cloud server terminal is according to this TV applications
Upgrade request shares this television executable file to this television, so that this television is according to this television executable file
Carry out TV applications upgrading and debugging, therefore decrease upgrading and the debug time of TV applications, improve the liter of TV applications
Level and debugging efficiency.
Further, based on above-mentioned first embodiment, refer to Fig. 2, propose the upgrade method of TV applications of the present invention
The schematic flow sheet of second embodiment, in this second embodiment, after s10, the upgrade method of described TV applications also includes:
Step s40, cloud server terminal, according to video parameter information in TV applications upgrade request, configures television and can perform literary composition
The download permission of part;
In the present embodiment, when the TV applications file in TV applications upgrade request is compiled into television by cloud server terminal
After executable file, according to video parameter information in this TV applications upgrade request, configuring this television can hold this cloud server terminal
The download permission of style of writing part.Wherein, this video parameter information includes television system version, television type coding, the unique code of TV,
For separate unit TV, television type coding and the unique code of TV can be configured to the download permission of this television executable file,
So that this cloud server terminal shares this TV applications file based on this download permission to this separate unit TV, for same batch multiple stage electricity
Depending on television system version and television type encoding setting being the download permission of television executable file, for this cloud clothes
Business end group shares this television executable file in this download permission to this TV of multiple stage.Wherein, this download permission can be activated,
Stop, changing or delete.
Step s50, the video parameter information based on application upgrade acquisition request television for the cloud server terminal;
Video parameter information matches in video parameter information with the download permission of the television executable file obtaining
When, execution step s30, that is, cloud server terminal the television executable file of acquisition is shared to television.
When cloud server terminal gets the television executable file of the TV applications information association in application upgrade request,
This cloud server terminal obtains the video parameter information of this television comprising in this application upgrade request.TV ginseng when this television
During video parameter information matches in number information and the download permission of television executable file obtaining, this cloud server terminal is to obtaining
This television executable file got is encoded, and generates a md5 code, by this television executable file and this TV
End executable file corresponding md5 code is shared to this television, so that television carries out TV according to television executable file
Application upgrade and debugging.
The present embodiment passes through cloud server terminal according to video parameter information in TV applications upgrade request, and configuring television can hold
The download permission of style of writing part, the video parameter information based on application upgrade acquisition request television for the cloud server terminal, in video parameter
Information with obtain the download permission of television executable file in video parameter information matches when, cloud server terminal by obtain
Television executable file is shared to television.Due to being configured with download permission to television executable file so that this cloud takes
Business end is shared this television executable file to this television, so that this television is carried out according to this television executable file
TV applications upgrading and debugging, it is achieved that the purpose of the TV applications of stand-alone development Linux system, improve TV applications
Development efficiency.
Further, based on above-mentioned first embodiment, refer to Fig. 3, propose the upgrade method of TV applications of the present invention
The schematic flow sheet of 3rd embodiment, in this 3rd embodiment, after s30, the upgrade method of described TV applications also includes:
Step s60, when receiving the shared failure information of television transmission, cloud server terminal is according to shared failure information weight
Newly share television executable file to television.
In the present embodiment, when the 2nd md5 code of television generation is inconsistent with the md5 code that this cloud server terminal is shared
When, television determines that this television executable file is not synchronous complete, then send shared failure information from trend cloud server terminal, or
Person ejects prompting frame prompting this television executable file of engineering staff and shares unsuccessfully, and accepts the again shared finger of user's triggering
Order, according to this again shared instruction send shared failure information to cloud server terminal.Send when cloud server terminal receives this television
Shared failure information when, again share this television executable file to this television.
The present embodiment passes through when receiving the shared failure information of television transmission, and cloud server terminal is unsuccessfully believed according to sharing
Breath again shares television executable file to television so that the error probability in escalation process reduces, thus realizing reducing
The upgrading of TV applications and debug time.
Further, refer to Fig. 4, be the schematic flow sheet of the refinement step of step s10 in first embodiment of the invention,
In this step s10, the TV applications file in described TV applications upgrade request is compiled into television and can perform literary composition by cloud server terminal
Part includes:
Step s11, cloud server terminal calls corresponding compiling library text according to television system information in TV applications upgrade request
Part;
Step s12, TV applications file is compiled into television executable file according to compiling library file by cloud server terminal.
In the present embodiment, when this TV applications file-sharing to local terminal is noted by this windows client in cloud server terminal
After in the new construction of volume, when this cloud server terminal receives the TV applications file that windows client is shared, obtain this new
Build engineering name and the current time of engineering, an id character string is generated according to this engineering name and this current time, and
Create compiling catalogue with this id character string, after this cloud server terminal creates compiling catalogue according to id character string, this cloud server terminal obtains
Take the system information of the television of this windows client transmission, the system information according to this television obtains corresponding and compiles
Translate library file, that is, the system information according to this television obtains corresponding code skeleton and compiles the application comprising in library file storehouse
Interaction logic layer compiling file, application controls storehouse compiling file, binder client compiling file, application-interface layer compiling literary composition
Part, this code skeleton and library file are unziped in this compiling catalogue, and in this compiling catalogue by this compiled code framework, should
With interaction logic layer compiling file, application controls storehouse compiling file, binder client compiling file, application-interface layer compiling literary composition
Part and this TV applications file are compiled into the executable file of this television.Wherein, the system information of this television includes
This TV applications file when this television is Linux system, is then compiled by Linux system, Android system or iso system
It is translated into the executable file of Linux system.
It should be noted that combine Fig. 5 understanding, the system information of television is Linux system, TV applications, application control
Part storehouse and application interaction logic layer are combined into binder client, and system logic layer, system library and system bottom are combined into
Binder service end, TV applications are communicated based on binder communication mechanism with system bottom, due to applying interaction logic layer
Communicated by binder communication mechanism with this system logic layer, therefore by this application interaction logic layer and this system logic layer
Interaction be completely exfoliated, and application controls storehouse also can be communicated by binder communication mechanism with system library, therefore, realizes
When TV applications being upgraded by cloud server terminal, only upgrading TV applications, and without the whole system to television
System is upgraded, and wherein, application controls storehouse can also be communicated by application-interface layer and lower floor's interface layer with system library, and
Because the corresponding application interface of this application-interface layer and the corresponding lower layer interface of lower floor's interface layer are Linux system interfaces itself,
So that the television of other Linux system can also be compatible, so that in the present invention TV applications, application interaction are patrolled
Volume layer, application controls storehouse and binder client respectively corresponding TV applications file, application interaction logic layer compiling file,
Application controls storehouse compiling file, binder client compiling file are pre-stored in cloud server terminal, and then cloud server terminal are based on
Binder client compiling mode is to TV applications file, application interaction logic layer compiling file and application controls storehouse compiling literary composition
Part is compiled.
The present embodiment calls corresponding compiling by cloud server terminal according to television system information in TV applications upgrade request
TV applications file is compiled into television executable file so that windows client is opened according to compiling library file by library file
Electricity is compiled into the executable file of television depending on application file by cloud server terminal, not only achieves windows client
The directly purpose to the direct debugging exploitation of the TV applications of television, and this executable file can be had same demand by other
Television use.
The present invention further provides a kind of upgrade-system of TV applications.
With reference to Fig. 6, Fig. 6 is the high-level schematic functional block diagram of the first embodiment of upgrade-system of TV applications of the present invention.
In the present embodiment, the upgrade-system of described TV applications includes: collector 10, the first acquisition module 20 and
One sharing module 30.
Described collector 10, for when receiving the TV applications upgrade request of client transmission, by TV applications
TV applications file in upgrade request is compiled into television executable file, and by television executable file and TV applications
Upgrade request corresponding TV applications information association preserves;
In the present embodiment, the upgrade-system of TV applications is associated with client and television.User passes through client
The TV applications corresponding TV applications file needing upgrading is write or user is developed new TV by client
Application, for example, when there is upgrade requirement at the ui interface of television, user writes the ROMPaq at ui interface in windows client,
When the ROMPaq at ui interface write complete when, by the ROMPaq at this ui interface in the ui file with " goui " as suffix.
Wherein, this ui file includes forms information and control information, and this forms information includes: forms id, forms name, window position are sat
Mark, forms size, window background picture, grid specification information.Forms id: forms id is uniquely corresponding with forms, is used for looking into
Look for and switchboard form;Forms name: similar with forms id, uniquely corresponding with forms, for differentiation and switchboard form;Window position is sat
Mark: forms original position shown on the tv screen, (0,0) represents the TV upper left corner, unit: pixel;Forms size is big
Little: the pixel planes that forms take, unit: pixel;Grid specification: include transverse grid spacing and longitudinal grid spacing, be used for
Gridding layout, unit: pixel;Control information includes: control id, control name, control type, control coordinate, control size, control
Part background information, control foreground information, control focus information, Word message, link information etc..Control id, control name: with control
Uniquely correspond to, user searches control and setting focus etc.;Control type: be mainly used in distinguish specific type, including network state,
The special controls such as usb state, poster push require.Control coordinate: specified control coordinate position, unit: pixel;Control size:
Specified control size, unit: pixel;Control background information: include one or more background picture and background picture is drawn
Method, wherein general control includes only one background picture, and special control needs multigroup Background to be switched over according to condition,
As wifi status information.Control foreground information includes: foreground picture, foreground picture relative position and prospect drawing drawing method, its
Middle foreground picture a size of picture actual size.Control focus information: include this control whether can as focus, whether be designated as
Acquiescence focus, as focus when show focus picture, focus picture is relative to control location and its four direction up and down
Next focus;Word message: include word size, color, content etc., wherein word size, colouring information can be saved in
In font.xml file, and generate corresponding font id;Word content can be generated in string_xxx.xml, and xxx represents corresponding
Polyglot;Link information: control chooses click event to trigger.
On the programming software of windows client new construction come to write need upgrading the corresponding TV of TV applications
Application file, and register this new construction in cloud server terminal, preserve this TV applications file after the completion of writing.
When the TV applications of television need upgrading, user passes through client and sends TV applications liter to this cloud server terminal
Level request, and this TV applications file and TV applications information are bundled in this TV applications upgrade request, when this cloud clothes
When in business end, collector 10 receives the TV applications upgrade request of this client transmission, by this TV applications upgrade request
This TV applications file be compiled into television executable file, and by this corresponding TV applications of TV applications upgrade request believe
Breath associates preservation with this television executable file.Wherein, TV applications information includes TV applications title and TV applications
Version number.
Described first acquisition module 20, in the application upgrade request receiving television transmission, obtaining application and rising
The television executable file of the TV applications information association in level request;
After the television needing upgrading TV applications is connected to network, regularly sending application upgrade to cloud server terminal please
Ask, when the first acquisition module 20 receives the application upgrade request of this television transmission in this cloud server terminal, obtain this application
TV applications information in upgrade request, and according to this TV applications acquisition of information corresponding television executable file.
Described first sharing module 30, for sharing the television executable file of acquisition to television, for TV
End carries out TV applications upgrading and debugging according to television executable file.
The television getting the TV applications information association in this application upgrade request in the first acquisition module 20 can be held
During style of writing part, this cloud server terminal encodes to this television executable file getting, and generates a md5 code, first altogether
Enjoy module 30 to share this television executable file and this television executable file corresponding md5 code to this television,
So that television carries out TV applications upgrading and debugging according to television executable file.This television receives this cloud server terminal altogether
The television executable file enjoyed, and this television executable file receiving is carried out coding generation the 2nd md5 code, this electricity
Judge whether a md5 code is consistent with the 2nd md5 code depending on end, if unanimously, television determines that this television can perform literary composition
Part is synchronous complete, and switches the TV applications being currently running, and this television executable file according to receiving carries out electricity
Depending on application upgrade and debugging;If inconsistent, television determines that this television executable file is not synchronous complete, and continues executing with
The TV applications being currently running, and delete this incomplete television executable file, again receive this cloud server terminal altogether
This television executable file enjoyed.
The present embodiment passes through when receiving the TV applications upgrade request of client transmission, collector in cloud server terminal
TV applications file in TV applications upgrade request is compiled into television executable file by 10, and television be can perform literary composition
Part TV applications information association corresponding with TV applications upgrade request preserves, please in the application upgrade receiving television transmission
When asking, the first acquisition module 20 obtains the television executable file of the TV applications information association in application upgrade request, the
One sharing module 30 shares the television executable file of acquisition to television, so that television can perform literary composition according to television
Part carries out TV applications upgrading and debugging.After the completion of in client by TV applications file development, by this TV applications literary composition
Part is shared to cloud server terminal, by cloud server terminal, TV applications file is compiled as television executable file, when television needs
When calling this TV applications file, send, to cloud server terminal, the TV applications upgrade request calling this television executable file,
This cloud server terminal is shared this television executable file to this television according to this TV applications upgrade request, for this TV
End carries out TV applications upgrading and debugging according to this television executable file, therefore decreases upgrading and the debugging of TV applications
Time, improve upgrading and the debugging efficiency of TV applications.
Further, the second embodiment of the upgrade-system of TV applications of the present invention, based on first embodiment, is proposed, at this
In embodiment, with reference to Fig. 7, the upgrade-system of described TV applications includes: configuration module 40, the second acquisition module 50.
Described configuration module 40, can hold for according to video parameter information in TV applications upgrade request, configuring television
The download permission of style of writing part;
In the present embodiment, when the TV applications file in TV applications upgrade request is compiled into television by cloud server terminal
After executable file, in this cloud server terminal, configuration module 40, according to video parameter information in this TV applications upgrade request, configures
The download permission of this television executable file.Wherein, this video parameter information includes television system version, television type is compiled
Television type coding and the unique code of TV, for separate unit TV, can be configured to this television and can perform literary composition by code, the unique code of TV
The download permission of part, so that this cloud server terminal shares this TV applications file based on this download permission to this separate unit TV, for
With batch multiple stage TV, can be by television system version and download power that television type encoding setting is television executable file
Limit, so that this cloud server terminal shares this television executable file based on this download permission to this TV of multiple stage.Wherein, this download
Authority can be activated, stops, changing or delete.
Described second acquisition module 50, for the video parameter information based on application upgrade acquisition request television;
Described first sharing module 30, is additionally operable to the download in video parameter information and the television executable file obtaining
During video parameter information matches in authority, the television executable file of acquisition is shared to television.
When cloud server terminal gets the television executable file of the TV applications information association in application upgrade request,
In this cloud server terminal, configuration module 40 obtains the video parameter information of this television comprising in this application upgrade request.When this electricity
Depending on end video parameter information with obtain television executable file download permission in video parameter information matches when, should
In cloud server terminal, the first sharing module 30 encodes to this television executable file getting, and generates a md5 code, will
This television executable file and this television executable file corresponding md5 code are shared to this television, for television
TV applications upgrading and debugging are carried out according to television executable file.
The present embodiment passes through cloud server terminal according to video parameter information in TV applications upgrade request, and configuring television can hold
The download permission of style of writing part, the video parameter information based on application upgrade acquisition request television for the cloud server terminal, in video parameter
Information with obtain the download permission of television executable file in video parameter information matches when, cloud server terminal by obtain
Television executable file is shared to television.Due to being configured with download permission to television executable file so that this cloud takes
Business end is shared this television executable file to this television, so that this television is carried out according to this television executable file
TV applications upgrading and debugging, it is achieved that the purpose of the TV applications of stand-alone development Linux system, improve TV applications
Development efficiency.
Further, the 3rd embodiment of the upgrade-system of TV applications of the present invention, based on first embodiment, is proposed, at this
In embodiment, with reference to Fig. 8, the upgrade-system of described TV applications includes: the second sharing module 60.
Described second sharing module 60, for when receiving the shared failure information of television transmission, according to shared mistake
The information that loses shares television executable file to television again.
In the present embodiment, when the 2nd md5 code of television generation is inconsistent with the md5 code that this cloud server terminal is shared
When, television determines that this television executable file is not synchronous complete, then send shared failure information from trend cloud server terminal, or
Person ejects prompting frame prompting this television executable file of engineering staff and shares unsuccessfully, and accepts the again shared finger of user's triggering
Order, according to this again shared instruction send shared failure information to cloud server terminal.When in cloud server terminal, the second sharing module 60 connects
When receiving the shared failure information that this television sends, again share this television executable file to this television.
The present embodiment passes through when receiving the shared failure information of television transmission, and cloud server terminal is unsuccessfully believed according to sharing
Breath again shares television executable file to television so that the error probability in escalation process reduces, thus realizing reducing
The upgrading of TV applications and debug time.
Further, the fourth embodiment of the upgrade-system of TV applications of the present invention, based on first embodiment, is proposed, at this
In embodiment, with reference to Fig. 9, described collector 10 includes call unit 11, compilation unit 12.
Described call unit 11, for calling corresponding compiling storehouse according to television system information in TV applications upgrade request
File;
Described compilation unit 12, can perform literary composition for TV applications file being compiled into television according to compiling library file
Part.
In the present embodiment, when this TV applications file-sharing to local terminal is noted by this windows client in cloud server terminal
After in the new construction of volume, when this cloud server terminal receives the TV applications file that windows client is shared, obtain this new
Build engineering name and the current time of engineering, an id character string is generated according to this engineering name and this current time, and
Create compiling catalogue with this id character string, after this cloud server terminal creates compiling catalogue according to id character string, this cloud server terminal obtains
Take the system information of the television of this windows client transmission, call unit 11 obtains according to the system information of this television
Corresponding with compiling library file, obtained in corresponding code skeleton and compiling library file storehouse according to the system information of this television
The application interaction logic layer compiling file that comprise, application controls storehouse compiling file, binder client compiling file, application interface
Layer compiling file, this code skeleton and library file are unziped in this compiling catalogue, and compilation unit 12 will in this compiling catalogue
This compiled code framework, application interaction logic layer compiling file, application controls storehouse compiling file, binder client compiling literary composition
Part, application-interface layer compiling file and this TV applications file are compiled into the executable file of this television.Wherein, this TV
The system information at end includes Linux system, Android system or iso system, when this television is Linux system, then will
This TV applications file is compiled into the executable file of Linux system.
It should be noted that combine Fig. 5 understanding, the system information of television is Linux system, TV applications, application control
Part storehouse and application interaction logic layer are combined into binder client, and system logic layer, system library and system bottom are combined into
Binder service end, TV applications are communicated based on binder communication mechanism with system bottom, due to applying interaction logic layer
Communicated by binder communication mechanism with this system logic layer, therefore by this application interaction logic layer and this system logic layer
Interaction be completely exfoliated, and application controls storehouse also can be communicated by binder communication mechanism with system library, therefore, realizes
When TV applications being upgraded by cloud server terminal, only upgrading TV applications, and without the whole system to television
System is upgraded, and wherein, application controls storehouse can also be communicated by application-interface layer and lower floor's interface layer with system library, and
Because the corresponding application interface of this application-interface layer and the corresponding lower layer interface of lower floor's interface layer are Linux system interfaces itself,
So that the television of other Linux system can also be compatible, so that in the present invention TV applications, application interaction are patrolled
Volume layer, application controls storehouse and binder client respectively corresponding TV applications file, application interaction logic layer compiling file,
Application controls storehouse compiling file, binder client compiling file are pre-stored in cloud server terminal, and then cloud server terminal are based on
Binder client compiling mode is to TV applications file, application interaction logic layer compiling file and application controls storehouse compiling literary composition
Part is compiled.
The present embodiment calls corresponding compiling by cloud server terminal according to television system information in TV applications upgrade request
TV applications file is compiled into television executable file so that windows client is opened according to compiling library file by library file
Electricity is compiled into the executable file of television depending on application file by cloud server terminal, not only achieves windows client
The directly purpose to the direct debugging exploitation of the TV applications of television, and this executable file can be had same demand by other
Television use.
These are only the preferred embodiments of the present invention, not thereby limit the present invention the scope of the claims, every using this
Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of upgrade method of TV applications is it is characterised in that the upgrade method of described TV applications comprises the following steps:
When receiving the TV applications upgrade request of client transmission, cloud server terminal is by described TV applications upgrade request
TV applications file is compiled into television executable file, and by described television executable file and TV applications upgrade request
Corresponding TV applications information association preserves;
In the application upgrade request receiving television transmission, described cloud server terminal obtains the electricity in described application upgrade request
Television executable file depending on application message association;
Described cloud server terminal shares the described television executable file obtaining to described television, for described television root
Carry out TV applications upgrading and debugging according to described television executable file.
2. the upgrade method of TV applications as claimed in claim 1 is it is characterised in that described can perform literary composition by described television
After the step that part TV applications information association corresponding with TV applications upgrade request preserves, the upgrading side of described TV applications
Method further comprises the steps of:
Described cloud server terminal, according to video parameter information in described TV applications upgrade request, configures described television and can perform literary composition
The download permission of part;
Described cloud server terminal shares the described television executable file obtaining to before the step of described television, also wraps
Include:
The video parameter information based on television described in described application upgrade acquisition request for the described cloud server terminal;
Video parameter information in described video parameter information with the download permission of the described television executable file obtaining
During coupling, described cloud server terminal execution shares the described television executable file obtaining to the step of described television.
3. TV applications as claimed in claim 1 upgrade method it is characterised in that described cloud server terminal will obtain described in
Television executable file is shared to described television, so that described television carries out electricity according to described television executable file
Also include after step depending on application upgrade and debugging:
Receive television transmission shared failure information when, described cloud server terminal according to described shared failure information again to
Described television shares described television executable file.
4. the upgrade method of TV applications as claimed in claim 1 is it is characterised in that described cloud server terminal should by described TV
Included with the step that the TV applications file in upgrade request is compiled into television executable file:
Described cloud server terminal calls corresponding compiling library file according to television system information in described TV applications upgrade request;
Described TV applications file is compiled into described television according to described compiling library file and can perform literary composition by described cloud server terminal
Part.
5. the upgrade method of TV applications as claimed in claim 4 is it is characterised in that described compiling library file includes binder
Client compiling file and application-interface layer compiling file.
6. a kind of upgrade-system of TV applications is it is characterised in that the upgrade-system of described TV applications includes:
Collector, for when receiving the TV applications upgrade request of client transmission, the upgrading of described TV applications being asked
TV applications file in asking is compiled into television executable file, and by described television executable file and TV applications liter
The corresponding TV applications information association of level request preserves;
First acquisition module, in the application upgrade request receiving television transmission, obtaining described application upgrade request
In TV applications information association television executable file;
First sharing module, for sharing the described television executable file obtaining to described television, for described electricity
Depending on end, TV applications upgrading and debugging are carried out according to described television executable file.
7. TV applications as claimed in claim 6 upgrade-system it is characterised in that the upgrade-system of described TV applications also
Including:
Configuration module, can perform for according to video parameter information in described TV applications upgrade request, configuring described television
The download permission of file;
Second acquisition module, for the video parameter information based on television described in described application upgrade acquisition request;
Described first sharing module, is additionally operable under described video parameter information with the described television executable file obtaining
When carrying the video parameter information matches in authority, the described television executable file obtaining is shared to described television.
8. TV applications as claimed in claim 6 upgrade-system it is characterised in that the upgrade-system of described TV applications also
Including:
Second sharing module, for when receiving the shared failure information of television transmission, according to described shared failure information
Again share described television executable file to described television.
9. the upgrade-system of TV applications as claimed in claim 6 is it is characterised in that described collector includes:
Call unit, for calling corresponding compiling library file according to television system information in described TV applications upgrade request;
Compilation unit, can perform literary composition for described TV applications file being compiled into described television according to described compiling library file
Part.
10. the upgrade-system of TV applications as claimed in claim 9 is it is characterised in that described compiling library file includes
Binder client compiling file and application-interface layer compiling file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610801532.4A CN106358083A (en) | 2016-09-05 | 2016-09-05 | Method and system for updating television application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610801532.4A CN106358083A (en) | 2016-09-05 | 2016-09-05 | Method and system for updating television application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106358083A true CN106358083A (en) | 2017-01-25 |
Family
ID=57858885
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610801532.4A Pending CN106358083A (en) | 2016-09-05 | 2016-09-05 | Method and system for updating television application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106358083A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107124627A (en) * | 2017-04-28 | 2017-09-01 | 环球智达科技(北京)有限公司 | A kind of update method of interface typesetting |
CN107124625A (en) * | 2017-04-28 | 2017-09-01 | 环球智达科技(北京)有限公司 | A kind of update method of interface typesetting |
CN107135430A (en) * | 2017-04-28 | 2017-09-05 | 环球智达科技(北京)有限公司 | A kind of processing system updated for interface typesetting |
CN110035322A (en) * | 2018-01-11 | 2019-07-19 | 中兴通讯股份有限公司 | A kind of method, apparatus and computer readable storage medium of activation system |
CN113672256A (en) * | 2021-08-03 | 2021-11-19 | 东莞新能安科技有限公司 | Processing method and server of executable file, software upgrading method and client |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101304361A (en) * | 2007-05-09 | 2008-11-12 | 索尼株式会社 | Communication system, information management device and method, and information processing device and method |
JP2009140501A (en) * | 2007-12-06 | 2009-06-25 | Sony Corp | System and method for dynamically generating user interface for network client device |
CN102609277A (en) * | 2011-08-26 | 2012-07-25 | 威海捷讯通信技术有限公司 | Application software upgrading method of mobile terminal |
CN102622181A (en) * | 2012-04-12 | 2012-08-01 | 青岛海信电器股份有限公司 | Display terminal menu achieving method, television and television system |
CN102984584A (en) * | 2012-12-13 | 2013-03-20 | 青岛海信宽带多媒体技术有限公司 | Television signal receiving equipment and software upgrading method with voice prompt function |
CN104239098A (en) * | 2014-09-09 | 2014-12-24 | 北京金山安全软件有限公司 | Automatic software upgrading method and device and mobile terminal |
CN104735533A (en) * | 2013-12-24 | 2015-06-24 | 北京四达时代软件技术股份有限公司 | Set top box upgrading method and device and set top box |
CN105491450A (en) * | 2014-10-09 | 2016-04-13 | 乐视致新电子科技(天津)有限公司 | Smart television failure problem processing method, device and system |
-
2016
- 2016-09-05 CN CN201610801532.4A patent/CN106358083A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101304361A (en) * | 2007-05-09 | 2008-11-12 | 索尼株式会社 | Communication system, information management device and method, and information processing device and method |
JP2009140501A (en) * | 2007-12-06 | 2009-06-25 | Sony Corp | System and method for dynamically generating user interface for network client device |
CN102609277A (en) * | 2011-08-26 | 2012-07-25 | 威海捷讯通信技术有限公司 | Application software upgrading method of mobile terminal |
CN102622181A (en) * | 2012-04-12 | 2012-08-01 | 青岛海信电器股份有限公司 | Display terminal menu achieving method, television and television system |
CN102984584A (en) * | 2012-12-13 | 2013-03-20 | 青岛海信宽带多媒体技术有限公司 | Television signal receiving equipment and software upgrading method with voice prompt function |
CN104735533A (en) * | 2013-12-24 | 2015-06-24 | 北京四达时代软件技术股份有限公司 | Set top box upgrading method and device and set top box |
CN104239098A (en) * | 2014-09-09 | 2014-12-24 | 北京金山安全软件有限公司 | Automatic software upgrading method and device and mobile terminal |
CN105491450A (en) * | 2014-10-09 | 2016-04-13 | 乐视致新电子科技(天津)有限公司 | Smart television failure problem processing method, device and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107124627A (en) * | 2017-04-28 | 2017-09-01 | 环球智达科技(北京)有限公司 | A kind of update method of interface typesetting |
CN107124625A (en) * | 2017-04-28 | 2017-09-01 | 环球智达科技(北京)有限公司 | A kind of update method of interface typesetting |
CN107135430A (en) * | 2017-04-28 | 2017-09-05 | 环球智达科技(北京)有限公司 | A kind of processing system updated for interface typesetting |
CN110035322A (en) * | 2018-01-11 | 2019-07-19 | 中兴通讯股份有限公司 | A kind of method, apparatus and computer readable storage medium of activation system |
CN113672256A (en) * | 2021-08-03 | 2021-11-19 | 东莞新能安科技有限公司 | Processing method and server of executable file, software upgrading method and client |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106358083A (en) | Method and system for updating television application | |
US7320068B2 (en) | Systems and methods to migrate a user profile when joining a client to a server and/or domain | |
JP7421511B2 (en) | Methods and apparatus, electronic devices, readable storage media and computer programs for deploying applications | |
CN103177095B (en) | A kind of built-in browser and its implementation | |
CN103324471B (en) | Dynamic modification application starts figure calibration method, the sending method of message, terminal | |
CN108536524A (en) | Resource regeneration method, device, terminal and storage medium | |
EP1067458A1 (en) | Running and testing applications | |
CN103218115B (en) | The optimization display packing of a kind of informing and mobile terminal | |
CN104239071A (en) | Cross-platform mobile application development framework system based on general-purpose module and transfer service | |
CN104834595A (en) | Visual automatic test method and system | |
CN104636139A (en) | Visualized cross-platform mobile application development and generation system | |
CN103927163A (en) | Plugin frame processing device and plugin system | |
CN105786506A (en) | User interface automatic-generation system and method | |
CN101211349A (en) | System for generating digital television startup page and its method | |
CN103179166A (en) | Method of providing service in client and the client | |
CN106445500A (en) | Method, system and terminal equipment for providing user interface | |
CN109032573A (en) | A kind of hardware programming system and method | |
CN105072398B (en) | A kind of device updating method and device | |
CN103902339A (en) | Application installation method, terminal and server | |
Huang et al. | Remote mobile test system: a mobile phone cloud for application testing | |
CN110297624A (en) | The implementation method of Widget system based on electron frame and the television set for using the system | |
CN107301067B (en) | Beidou subscriber machine remote update system and its upgrade method based on IAP technology | |
CN102413125B (en) | Single-point login method and system | |
CN108874443A (en) | A kind of comprehensive various ways are come the method that reduces apk size | |
CN108260019A (en) | Barrage display methods, device and readable storage medium storing program for executing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170125 |