CN108566555A - A kind of application management method, server end and set-top box - Google Patents

A kind of application management method, server end and set-top box Download PDF

Info

Publication number
CN108566555A
CN108566555A CN201810279385.8A CN201810279385A CN108566555A CN 108566555 A CN108566555 A CN 108566555A CN 201810279385 A CN201810279385 A CN 201810279385A CN 108566555 A CN108566555 A CN 108566555A
Authority
CN
China
Prior art keywords
top box
application program
virtual machine
server end
management method
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
Application number
CN201810279385.8A
Other languages
Chinese (zh)
Inventor
邓鹏�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SICHUAN DIJIATONG ELECTRONIC CO Ltd
Original Assignee
SICHUAN DIJIATONG ELECTRONIC CO Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by SICHUAN DIJIATONG ELECTRONIC CO Ltd filed Critical SICHUAN DIJIATONG ELECTRONIC CO Ltd
Priority to CN201810279385.8A priority Critical patent/CN108566555A/en
Publication of CN108566555A publication Critical patent/CN108566555A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/241Operating system [OS] processes, e.g. server setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/27Server based end-user applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4437Implementing a Virtual Machine [VM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8173End-user applications, e.g. Web browser, game

Abstract

The present embodiments relate to technical field of digital television set-top, a kind of application management method, server and set-top box are disclosed.The wherein described application management method is applied to server end, and the server end is at least connected with a set-top box, and the server end is equipped at least one virtual machine, and each set-top box is corresponded with each virtual machine, the method includes:The connection request of receiving set up box confirms and establishes connection with the set-top box;Start virtual machine corresponding with the set-top box;The application data request for receiving the set-top box controls the virtual machine and starts corresponding application program if the application program has been mounted on the virtual machine;The corresponding display data of the application program is packaged into network flow, the network is sent and flows to the set-top box.By the above-mentioned means, the embodiment of the present invention can reduce the EMS memory occupation of set-top box, the speed of service of set-top box is improved.

Description

A kind of application management method, server end and set-top box
Technical field
The present invention relates to technical field of digital television set-top, more particularly to a kind of application management method, service Device end and set-top box.
Background technology
With the high speed development of science and technology, set-top box and television set all enter intelligent epoch, requirement of the people to set-top box Also higher and higher, user wants to install corresponding application program on the set-top box in their own needs, for example installs class Like the application program of Android intelligent, such as:The different types of application program such as wechat, QQ, Alipay, Taobao.But pacify Mean that set-top box needs larger memory ram and the spaces flash while filling multiple application programs, for number can be played For the set-top box of word video broadcasting (Digital Video Broadcasting, DVB) real time content, higher match is needed It sets, while the use of multiple application programs also results in the operation increasingly interim card of set-top box, causes the experience of user not high.
Set-top box in the prior art improves the operation of set-top box generally by way of increasing memory ram and flash Speed, but the prior art cannot be satisfied the demand of the more application programs of user installation, and the hardware cost of set-top box is also higher, It is unfavorable for cutting down expenses.
Inventor has found that the relevant technologies have at least the following problems during realizing the embodiment of the present invention:Existing skill The hardware cost of the set-top box of art is higher, while cannot be satisfied the demand of the more application programs of user installation.
Invention content
The embodiment of the present invention is intended to provide a kind of application management method, server end and set-top box, and which solve existing The technical issues of having the set-top box cost of technology higher, and cannot be satisfied the demand of the more application programs of user installation, is reduced The EMS memory occupation of set-top box, and improve the speed of service of set-top box.
In order to solve the above technical problems, the embodiment of the present invention provides following technical scheme:
In a first aspect, the embodiment of the present invention provides a kind of application management method, it is applied to server end, the service Device end is at least connected with a set-top box, and the server end is equipped at least one virtual machine, each set-top box with it is each virtual Machine corresponds, the method includes:
The connection request of receiving set up box confirms and establishes connection with the set-top box;
Start virtual machine corresponding with the set-top box;
The application data request for receiving the set-top box, if the application program has been mounted on the virtual machine, It then controls the virtual machine and starts corresponding application program;
The corresponding display data of the application program is packaged into network flow, the network is sent and flows to the set-top box.
In some embodiments, the method further includes:
If the application program is not installed at the virtual machine, and the application program is stored in the server End, then be installed to the virtual machine by the application program and installation results returned to the set-top box.
In some embodiments, the method further includes:
If the application program is not held in the server end, the application program is downloaded into the server End;
The name and version for the application program that the server end record has preserved.
In some embodiments, the method further includes:
The network flow is sliced, the corresponding address of the slice is sent to set-top box so that the set-top box according to Described address receives the corresponding content of the slice.
In some embodiments, the MAC Address for being identified as the set-top box of the corresponding virtual machine of the set-top box, it is described The running environment of virtual machine is consistent with the running environment of the set-top box.
In some embodiments, the confirmation is established with the set-top box connects, including:
Verification message is sent in real time to the set-top box, receives the response message that the set-top box is sent;
Calculate the interval time of the verification message and response message;
Pre-set threshold time, when the interval time be more than the threshold time, the server end will turn off with The corresponding virtual machine of the set-top box.
In some embodiments, the method further includes:
The operational order is sent to the virtual machine by the operational order for receiving the set-top box, is controlled described virtual Machine responds the operational order.
In some embodiments, if the operational order is exit instruction, the control virtual machine is to the operation Instruction is responded, including:
The corresponding virtual machine of the set-top box is exited, is simultaneously stopped the display data packet network stream of the virtual machine simultaneously And stops the transmission network and flow to the set-top box.
Second aspect, the embodiment of the present invention provide a kind of application management method, are applied to set-top box, the set-top box Connection Service device end and DTV, the server end are equipped at least one virtual machine, each set-top box with it is each virtual Machine corresponds, the method includes:
Connection request is sent to server end, confirms and establishes connection with the server end;
The application program controlling instruction for receiving user sends the application program controlling instruction to the server end;
Receive the corresponding broadcast address of the application program that the server end is sent;
According to the broadcast address, the corresponding network flow of the application program is received, the DTV is controlled and plays institute State the corresponding network flow of application program.
In some embodiments,
If the application program controlling instruction is application program play instruction, the corresponding packet name of the application program is sent To the server end, and the display interface for controlling the DTV prompts the application program starting;
If the application program controlling instruction is application program exit instruction, it is corresponding to notify that the server end exits Application program simultaneously stops sending the corresponding network flow of the application program.
The third aspect, the embodiment of the present invention provide a kind of server end, and the server end includes one or more services Device, the server include:
One or more virtual machines, the virtual machine include:
One or more first processors;
First storage device, for storing one or more programs;
When one or more of programs are executed by one or more of first processors so that one or more of First processor realizes above-mentioned application management method.
Fourth aspect, the embodiment of the present invention provide a kind of set-top box, and the set-top box includes:
One or more second processors;
Second storage device, for storing one or more programs;
When one or more of programs are executed by one or more of second processors so that one or more of Second processor realizes above-mentioned application management method.
In some embodiments, the set-top box is Android set-top boxes.
The advantageous effect of the embodiment of the present invention is:In the case of being different from the prior art, provided in an embodiment of the present invention one Kind application management method confirms by the connection request of receiving set up box and establishes connection with the set-top box;Startup and institute State the corresponding virtual machine of set-top box;The application data request for receiving the set-top box, if the application program has been installed In the virtual machine, then controls the virtual machine and start corresponding application program;By the corresponding display data of the application program It is packaged into network flow, the network is sent and flows to the set-top box.By the above-mentioned means, the embodiment of the present invention can reduce machine top The EMS memory occupation of box improves the speed of service of set-top box.
Description of the drawings
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys The bright restriction not constituted to embodiment, the element with same reference numbers label is expressed as similar element in attached drawing, removes Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is a kind of schematic diagram of application scenarios provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of application management method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of application management method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of server end provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of set-top box provided in an embodiment of the present invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
In addition, as long as technical characteristic involved in the various embodiments of the present invention described below is each other not Conflict is constituted to can be combined with each other.
In an embodiment of the present invention, server end can be file server, database server, application program service Device, WEB server, Cloud Server, enterprise-level server etc. can realize the electronic equipment of application program management.The set-top box can Think Android set-top boxes.
Specifically, the embodiment of the present invention is specifically addressed by taking Cloud Server as an example below.
Referring to Fig. 1, Fig. 1 is a kind of schematic diagram of application scenarios provided in an embodiment of the present invention;As shown in Figure 1, one Server end is equipped with multiple virtual machines, wherein each virtual machine corresponds to unique set-top box, the set-top box and it is described virtually Machine corresponds, such as:Virtual machine 1 corresponds to set-top box 1, and virtual machine 2 corresponds to set-top box 2, and virtual machine 3 corresponds to set-top box 3 ..., Virtual machine N corresponds to set-top box N, since each set-top box corresponds to unique sequence number or MAC Address, for convenience by virtual machine with Set-top box is corresponded to, can by the flag of the virtual machine be corresponding set-top box sequence number or MAC Address, Facilitate the connection relation for confirming the virtual machine and set-top box.Also, the running environment of the virtual machine and the set-top box Running environment is consistent, and application program is equipped on the virtual machine, and the application program installed on each virtual machine can be identical Can be different, such as:Virtual machine 1 can be installed using 1, using 2 and using 3, and virtual machine 2 can install Alipay application, Virtual machine 3 can install Internetbank application, and virtual machine N can be installed to work as and be applied, and etc..It is answered by installing on a virtual machine It is convenient that the data of the application program are sent to by the set-top box by server end with program, to make the set-top box It no longer needs to that the application program is installed, reduces the EMS memory occupation of set-top box, improve the speed of service of set-top box.
Embodiment 1
Referring to Fig. 2, Fig. 2 is a kind of flow diagram of application management method provided in an embodiment of the present invention.Institute It states method and is applied to server end, for example, Cloud Server, the server end connects set-top box, and the server end is equipped with Virtual machine, each set-top box correspond to unique virtual machine, as shown in Fig. 2, the method includes:
Step S10:The connection request of receiving set up box confirms and establishes connection with the set-top box;
Specifically, the server end corresponds to multiple set-top boxes, each set-top box is sent to the server end to be connected Connect request, the connection request that set-top box is sent described in the received server-side, wherein the connection request includes the machine top Mark, operating system and the other information of box, the server end determine the set-top box by the mark of the set-top box, The mark of the set-top box can be the MAC Address or IP address of the set-top box, and the server end passes through the set-top box Mark and the set-top box establish and connect, specifically, verification message can be sent to the set-top box, wait for the set-top box The response message sent to the server end, so that server end confirmation is attached with the set-top box.
Specifically, by sending verification message in real time to the set-top box, determines and establish connection with the set-top box;Its In, the server end will be by sending verification message to the set-top box in real time, and the set-top box is arrived response message is returned The server end, by sending verification message in real time and receiving response message, it may be determined that the server end and the machine Connection relation between top box ensures the smoothness of access.Wherein, message and reception response message can also be verified according to sending Interval time determines the server end and the transmission speed before the set-top box.
If the server end is disconnected with the set-top box, the server end will turn off and the machine top The corresponding virtual machine of box, economizes on resources.Specifically, by pre-set threshold time, calculates the verification that the server end is sent and disappear The interval time for the response message that breath and receiving set up box are sent is more than the threshold time when the interval time, it is determined that The server end is disconnected with the set-top box, and the server end will turn off corresponding with the set-top box virtual Machine.After the corresponding virtual machine of the set-top box is closed, the set-top box will be unable to operate corresponding on the virtual machine answer With program, virtual machine will not show that application data, the server end will not send network and flow to the set-top box. Such as:Can be 50ms with pre-set threshold time, server end sends response message every 10ms to the set-top box, if sending out for the first time After sending response message, receive the response message that the set-top box is sent not yet more than 50ms, it is determined that the server end with The set-top box disconnects.
Step S20:Start virtual machine corresponding with the set-top box;
Specifically, the server end is provided with virtual machine corresponding with the set-top box, each set-top box corresponds to Unique virtual machine, each set-top box are corresponded with each virtual machine, the running environment of the virtual machine and the set-top box Running environment it is consistent, and the sequence number or MAC Address for being identified as the set-top box of the virtual machine is convenient to the void Quasi- machine is managed.After the set-top box and the server end, which are established, to be connected, the server end will start and the machine The corresponding virtual machine of top box, for the virtual machine for installing application program, the virtual machine can be by the number of the application program According to being sent to by way of network flow on the corresponding set-top box of the virtual machine.Alternatively, when the company of foundation between two set-top boxes After connecing, the data of respective application program can be shared between the corresponding virtual machine of the set-top box mutually, specifically, can will Application data on corresponding first virtual machine of first set-top box is sent on corresponding second virtual machine of the second set-top box, The application data is sent to second set-top box by second virtual machine in a manner of network flow again, alternatively, institute State the first virtual machine directly can be sent to the second set-top box by application data, realize the shared of application data.Tool Body, in the server end, first virtual machine and second virtual machine can establish a connection, as the user When by the data of a certain application program of the first set-top box requests, if corresponding first virtual machine of first set-top box is not pacified The application program is filled, the server end can identify whether remaining virtual machine has installed the application program, if in the presence of having installed Second virtual machine and the first virtual machine are then established and are connected by the second virtual machine of the application program automatically, empty by described second The data of the application program are sent to first virtual machine by quasi- machine, so that first virtual machine is by the application program Data be sent to the set-top box, reduce application program installation time, improve the usage experience of user.
Step S30:The application data request for receiving the set-top box, judges whether the application program has been mounted on The virtual machine;
Specifically, the set-top box is asked to the server end sending application program data, alternatively, the set-top box to The server end sending application program mount request, the application data request of set-top box described in the received server-side Or application program mount request, the server end judge whether the application program has been mounted on the virtual machine, specifically, The virtual machine is equipped with application program, and the packet name of mounted application program and shortcut icon will be protected in the virtual machine There are the server ends, and the server end is facilitated to confirm whether the application program has been mounted in the virtual machine.It can With understanding, since each set-top box corresponds to unique virtual machine, the packet for the application program installed in each virtual machine Name can add the mark of the virtual machine, and virtual machine is added by the packet name to the mounted application program of the virtual machine Mark, for example, set-top box corresponding with the virtual machine MAC Address, can more effectively determine that the virtual machine has been installed Application program, and be not easy mutually to obscure with other set-top boxes when application data is sent to set-top box.
Specifically, the server end sends the shortcut of mounted application program in the virtual machine and packet name To the set-top box, the set-top box receives and preserves the shortcut and packet name of the mounted application program.Work as user By in remote control control set-top box when corresponding application program, since the application program is not mounted on the machine top really In box, but the shortcut icon of the application program will be presented in the interface of the DTV of the user, by by institute In the interface for the DTV that the shortcut icon for stating application program is presented on the user, is conducive to user and intuitively operates The interface of the DTV, to improve the operating experience of user.
If so, the application program has been mounted on the virtual machine, then S301 is entered step:The virtual machine is controlled to start Corresponding application program;
Specifically, when corresponding application program in display interface of the user by DTV described in set top box operations When, the set-top box asks sending application program data to the server end, when the received server-side to the machine After the application data request that top box is sent, if the server end confirms that the application program has been mounted on the set-top box In corresponding virtual machine, the server end will control the corresponding application program of the virtual machine startup at this time, described to apply journey Display data in sequence will be presented in the virtual machine, since the virtual machine is identical with the running environment of the set-top box, It is faster in network transfer speeds, it is equivalent on the virtual machine and runs simultaneously the application program.
Step S401:The corresponding display data of the application program is packaged into network flow, the network is sent and flows to institute State set-top box.
Specifically, the corresponding display data of the application program is packaged into network flow, the application by the server end All display datas in program will be packaged into network flow, alternatively, all display datas in the virtual machine are packaged into Network flow, and the network flow is sent to the set-top box.Specifically, the broadcast address of the network flow can be issued to The set-top box, the set-top box can directly play the network flow by the broadcast address of the reception network flow.Its In, the data of the entire screen in the virtual machine will be packaged into network flow, and the network flow can be video flowing, audio Stream transmits data to set-top box, then pushed the display data of the application program by set-top box by way of network flow To DTV, the display data is presented in the DTV.Wherein, in order to improve the transmission speed of network flow, The network flow can be sliced or is segmented, wherein each slice corresponds to an address, and the server end is by the slice Corresponding address be sent to set-top box so that the set-top box according to the corresponding address of the slice download it is described slice it is corresponding Data, since the content of slice is little, set-top box can quickly receive data and play out, and improve transmission speed, It is the operation locally carrying out application program that user can be made, which to feel, improves the usage experience of user.
If it is not, the application program is not installed at the virtual machine, then S302 is entered step:Judging the application program is It is no to be stored in the server end;
Wherein, the server end record has the name and version of all application programs for being stored in server end, by Include multiple virtual machines in the server end, the application program of each virtual machine installation may be different, and version may not also Together, therefore the server end is additionally operable to the application program that record has been mounted in virtual machine, and when the server end is protected It, will be automatically by the server when version for the application program deposited is higher than the version of mounted application program in the virtual machine The version of the application program preserved is held to replace the application program in the virtual machine, i.e., the described server end will automatically update described Mounted application program in virtual machine.
If so, the application program is stored in the server end, then S402 is entered step:The application program is installed The set-top box is returned to the virtual machine and by installation results;
Wherein, when the application program is not installed in the virtual machine, and the application program is stored in server end When, the server will be asked according to the application data of set-top box, and the application program is installed to the virtual machine simultaneously Installation results are returned into the set-top box.The set-top box can according to mounted application program in the virtual machine, Show that all mounted application programs, the user-friendly application program obtain the application in DTV interface The data of program.
If it is not, the application program is not held in the server end, then S403 is entered step:It will be under the application program It is downloaded to the server end;
Wherein, when the application program is not installed at the virtual machine and the application program is not held in the service When device end, server device end will download the application program.It is understood that the server end will download this automatically The latest edition of application program, and the server end is recorded by result is downloaded, and the server end will be automatically by institute It states application program to be installed in the virtual machine, and installation results is returned into the set-top box.
Above application procedure management method further includes:The operational order for receiving the set-top box sends out the operational order It is sent to the virtual machine, the virtual machine is controlled and the operational order is responded.Specifically, user can pass through remote controler The set-top box selection application program is controlled, corresponding application program is opened at the interface of DTV, when the user selects phase After the application program answered, the set-top box will first determine whether the application program is stored in the set-top box, if described Application program is stored in the set-top box, then the set-top box will directly open the application program, by the aobvious of the application program Registration is according to the display interface for being directly displayed at the DTV.If the application program is not stored in the set-top box, The set-top box will send the operational order to the server end, and the operational order is sent to institute by the server end The corresponding virtual machine of set-top box is stated, and controls the virtual machine and the operational order is responded.
If specifically, the operational order is to open application program instructions, the server end will send the opening and answer With program instruction to the virtual machine, the virtual machine will open the application program, and by the display number of the application program It is sent to the set-top box according to network flow is packaged into.If the operational order is exit instruction, the server end will receive institute Exit instruction is stated, then exits the corresponding virtual machine of the set-top box, is simultaneously stopped and the display data of the virtual machine is packaged net Network stream and stops sending the network and flow to the set-top box.
In embodiments of the present invention, by the connection request of receiving set up box, confirm and establish connection with the set-top box;It opens Move virtual machine corresponding with the set-top box;The application data request for receiving the set-top box, if the application program It has been mounted on the virtual machine, then has controlled the virtual machine and starts corresponding application program, the application program is corresponding aobvious Registration sends the network and flows to the set-top box according to network flow is packaged into.By the above-mentioned means, the embodiment of the present invention can subtract The EMS memory occupation of few set-top box, improves the speed of service of set-top box.
Embodiment 2
Referring to Fig. 3, Fig. 3 is a kind of flow diagram of application management method provided in an embodiment of the present invention, institute It states method and is applied to set-top box, such as:Android set-top boxes, the set-top box Connection Service device end and DTV, the clothes Business device end is equipped with virtual machine, and each set-top box corresponds to unique virtual machine, as shown in figure 3, this method includes:
Step S310:Connection request is sent to server end, establishes and connects with the server end;
Specifically, the set-top box sends connection request to the server end, wherein the connection request includes described Mark, operating system and the other information of set-top box, the server end determine the machine by the mark of the set-top box Top box, the mark of the set-top box can be the MAC Address or IP address of the set-top box, and the server end passes through the machine The mark of top box is established with the set-top box and is connected, and link information is confirmed specifically, can be sent to the set-top box, so that institute Set-top box confirmation is stated to be attached with the server end.
Step S320:The application program controlling instruction for receiving user sends the application program controlling instruction to the clothes Business device end;
Specifically, the user is by remote controler sending application program control instruction, selection open specific application program, Switch application program, close application program and other applications operation, the application journey that the set-top box passes through reception user Sequence control instruction, and application program controlling instruction is sent to the server end, the server end will be according to described Application program controlling instructs, and starts virtual machine corresponding with the set-top box, if application program controlling instruction includes application Program data is asked, and the server end will control the virtual machine and open corresponding application program, and will be in the virtual machine Display data be packaged into network flow, send the network and flow to the set-top box.
Step S330:Receive the corresponding broadcast address of the application program that the server end is sent;
Specifically, the server end, which will control the virtual machine, opens corresponding application program, and by the virtual machine In display data be packaged into network flow, the broadcast address of the network flow is sent to the set-top box.Alternatively, by the net Network stream is sliced, and the corresponding address of the slice is sent to the set-top box, since the content of slice is little, the machine top Box will quickly receive the content of the slice, improves and receives speed.The set-top box receives what the server end was sent After broadcast address, the set-top box will play the corresponding display content of the set-top box in real time.
Step S340:According to the broadcast address, the corresponding network flow of the application program is received, controls the number electricity Depending on playing the corresponding network flow of the application program;
Specifically, the display data of the virtual machine is packaged into network flow by the server end, and send described virtual The broadcast address of the corresponding network flow of display data of machine, the set-top box receive the broadcast address that the server end is sent Afterwards, the corresponding network flow of the application program will be received, and controls the DTV and plays the corresponding net of the application program Network stream.Since present network speed is very good, network delay time is shorter, generally between 5ms to 50ms, so user Operation can meet with a response at once, feel to be like locally to be operated in set-top box, be not necessarily to the excessive stand-by period, user Usage experience it is higher.
Above-mentioned application management method further includes:Receive the mounted application program of virtual machine of the server end Shortcut icon and packet name and preserve.Wherein, the set-top box can send to the server end and ask, described in request Server end sends on the corresponding virtual machine of the set-top box shortcut icon of mounted application program and packet name to institute Set-top box is stated, the set-top box receives the shortcut icon and packet name, and the application is shown in the DTV The shortcut icon of program facilitates operation of the set-top box to application program.
If above application program control instruction is application program play instruction, the corresponding packet name of the application program is sent To the server, and controls application program described in the interface prompt of the DTV and starting.Specifically, when described After user starts the shortcut icon by set-top box, the set-top box refers to the application program for receiving user broadcasting It enables, and sends the corresponding packet name of the application program to the server end, the server end will be according to the application program Corresponding packet name, determines whether the application program is mounted on the corresponding virtual machine of the set-top box, if the application program It has been mounted on the virtual machine, has then started the application program, if the application program is not installed on the virtual machine, but The application program has been stored in the server end, and the application program is mounted on the virtual machine by the server end And start the application program, while the display interface for controlling the DTV prompts the application program starting, Since the processing speed of server end is very fast, may be implemented that the display data on virtual machine is quickly sent to the machine top Box.
If above application program control instruction is application program exit instruction, the server end is notified to stop sending institute The corresponding network flow of application program is stated, and server end is notified to exit corresponding application program.If specifically, the application program Control instruction is application program exit instruction, and the set-top box will receive the application program exit instruction, and by the application Program exit instruction is sent to the server end, after application program exit instruction described in the received server-side, will move out The corresponding virtual machine of the set-top box is simultaneously stopped the display data packet network stream by the virtual machine and stops sending institute It states network and flows to the set-top box.
In embodiments of the present invention, it by sending connection request to server end, establishes and connects with the server end;It connects The application program controlling instruction for receiving user sends the application program controlling instruction to the server end;Receive the service The corresponding broadcast address of the application program that device end is sent;According to the broadcast address, it is corresponding to receive the application program Network flow controls the DTV and plays the corresponding network flow of the application program.By the above-mentioned means, the embodiment of the present invention The EMS memory occupation that set-top box can be reduced improves the speed of service of set-top box, improves the usage experience of user.
Embodiment 3
A kind of structural schematic diagram of server end is provided referring to Fig. 4, Fig. 4 is the embodiment of the present invention.Wherein, the server End includes one or more servers, and the server can be file server, database server, application program service Device, WEB server, Cloud Server, enterprise-level server etc. can realize the electronic equipment of application program management.
As shown in figure 4, the server 41 includes one or more first processors 411 and first memory 412.Its In, in Fig. 4 by taking a first processor 411 as an example.
First processor 411 can be connected with first memory 412 by bus or other modes, to pass through in Fig. 4 For bus connection.
First memory 412 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile soft Part program, non-volatile computer executable program and module.First processor 411 is stored in first memory by operation Non-volatile software program, instruction and module in 412, to executing application management method various function application with And data processing, that is, realize above method embodiment application management method.
First memory 412 may include high-speed random access memory, can also include nonvolatile memory, such as At least one disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments, first It includes the memory remotely located relative to first processor 411 that memory 412 is optional, these remote memories can pass through net Network is connected to first processor 411.The example of above-mentioned network includes but not limited to internet, intranet, LAN, movement Communication network and combinations thereof.
The server end 40 of the embodiment of the present invention exists in a variety of forms, described above shown in Fig. 2 each executing When step, above-mentioned server end 40 includes one or more servers 41:The server can be file server, database Server, apps server, WEB server, Cloud Server, enterprise-level server etc. can realize the electricity of application program management Sub- equipment.
The embodiment of the present invention additionally provides a kind of nonvolatile computer storage media, the computer storage media storage There are computer executable instructions, which is executed by one or more processors, such as one in Fig. 4 One processor 411 may make said one or multiple first processors to can perform the application journey in above-mentioned any means embodiment Sequence management method, for example, the application management method in above-mentioned any means embodiment is executed, for example, executing above description Each step shown in Fig. 2.
Embodiment 4
A kind of structural schematic diagram of set-top box is provided referring to Fig. 5, Fig. 5 is the embodiment of the present invention.
As shown in figure 5, the set-top box 50 includes one or more second processors 51 and second memory 52.Wherein, In Fig. 5 by taking a second processor 51 as an example.
Second processor 51 can be connected with second memory 52 by bus or other modes, with by total in Fig. 5 For line connection.
Second memory 52 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software Program, non-volatile computer executable program and module.Second processor 51 is stored in second memory 52 by operation In non-volatile software program, instruction and module, to executing application management method various function application and Above method embodiment application management method is realized in data processing.
Second memory 52 may include high-speed random access memory, can also include nonvolatile memory, such as At least one disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments, second It includes the memory remotely located relative to second processor 51 that memory 52 is optional, these remote memories can pass through network It is connected to second processor 51.The example of above-mentioned network includes but not limited to internet, intranet, LAN, moves and lead to Letter net and combinations thereof.
The set-top box 50 of the embodiment of the present invention exists in a variety of forms, is executing each step shown in Fig. 3 described above When rapid, above-mentioned set-top box 50 can be Android set-top boxes, basic model set-top box, standard type set-top box, interactive set-top box, High definition interactive set-top box, compatible interaction type set-top box, satellite TV set-top boxes, network machine top box, SD digital television top Box, Digital HDTV STB and other can realize the electronic equipment of application management method.
The embodiment of the present invention additionally provides a kind of nonvolatile computer storage media, the computer storage media storage There are computer executable instructions, which is executed by one or more processors, such as one in Fig. 5 Two processors 51 may make said one or multiple second processors 51 to can perform the application journey in above-mentioned any means embodiment Sequence management method, for example, the application management method in above-mentioned any means embodiment is executed, for example, executing above description Each step shown in Fig. 3.
Device or apparatus embodiments described above be only schematical, illustrates as separating component wherein described Unit module may or may not be physically separated, and the component shown as modular unit can be or also may be used Not to be physical unit, you can be located at a place, or may be distributed on multiple network module units.It can basis It is actual to need that some or all of module therein is selected to achieve the purpose of the solution of this embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It is realized by the mode of software plus general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, above-mentioned technology Scheme substantially in other words can be expressed in the form of software products the part that the relevant technologies contribute, the computer Software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are with directly To computer equipment (can be personal computer, server either network equipment etc.) execute each embodiment or Method described in certain parts of embodiment.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;At this It under the thinking of invention, can also be combined between the technical characteristic in above example or different embodiment, step can be with It is realized with random order, and there are many other variations of different aspect present invention as described above, for simplicity, they do not have Have and is provided in details;Although the present invention is described in detail referring to the foregoing embodiments, the ordinary skill people of this field Member should understand that:It still can be with technical scheme described in the above embodiments is modified, or to which part skill Art feature carries out equivalent replacement;And these modifications or replacements, each reality of the application that it does not separate the essence of the corresponding technical solution Apply the range of a technical solution.

Claims (13)

1. a kind of application management method is applied to server end, the server end is at least connected with a set-top box, special Sign is that the server end is equipped at least one virtual machine, and each set-top box is corresponded with each virtual machine, the side Method includes:
The connection request of receiving set up box confirms and establishes connection with the set-top box;
Start virtual machine corresponding with the set-top box;
The application data request for receiving the set-top box, if the application program has been mounted on the virtual machine, is controlled It makes the virtual machine and starts corresponding application program;
The corresponding display data of the application program is packaged into network flow, the network is sent and flows to the set-top box.
2. application management method according to claim 1, which is characterized in that the method further includes:
If the application program is not installed at the virtual machine, and the application program is stored in the server end, then The application program is installed to the virtual machine and installation results are returned into the set-top box.
3. application management method according to claim 2, which is characterized in that the method further includes:
If the application program is not held in the server end, the application program is downloaded into the server end;
The name and version for the application program that the server end record has preserved.
4. application management method according to claim 1, which is characterized in that the method further includes:
The network flow is sliced, the corresponding address of the slice is sent to set-top box, so that the set-top box is according to Address receives the corresponding content of the slice.
5. application management method according to claim 1, which is characterized in that the corresponding virtual machine of the set-top box It is identified as the MAC Address of the set-top box, the running environment of the virtual machine is consistent with the running environment of the set-top box.
6. application management method according to claim 1, which is characterized in that the confirmation is established with the set-top box Connection, including:
Verification message is sent in real time to the set-top box, receives the response message that the set-top box is sent;
Calculate the interval time of the verification message and response message;
Pre-set threshold time, when the interval time be more than the threshold time, the server end will turn off with it is described The corresponding virtual machine of set-top box.
7. application management method according to claim 1, which is characterized in that the method further includes:
The operational order is sent to the virtual machine, controls the virtual machine pair by the operational order for receiving the set-top box The operational order is responded.
8. application management method according to claim 7, which is characterized in that if the operational order is to exit finger It enabling, the control virtual machine responds the operational order, including:
The corresponding virtual machine of the set-top box is exited, the display data packet network stream by the virtual machine is simultaneously stopped and is stopped It only sends the network and flows to the set-top box.
9. a kind of application management method is applied to set-top box, the set-top box Connection Service device end and DTV, special Sign is that the server end is equipped at least one virtual machine, and each set-top box is corresponded with each virtual machine, the side Method includes:
Connection request is sent to server end, confirms and establishes connection with the server end;
The application program controlling instruction for receiving user sends the application program controlling instruction to the server end;
Receive the corresponding broadcast address of the application program that the server end is sent;
According to the broadcast address, the corresponding network flow of the application program is received, controls and is answered described in the DTV broadcasting With the corresponding network flow of program.
10. application management method according to claim 9, which is characterized in that
If the application program controlling instruction is application program play instruction, the corresponding packet name of the application program is sent to institute Server end is stated, and the display interface for controlling the DTV prompts the application program starting;
If the application program controlling instruction is application program exit instruction, the server end is notified to exit corresponding application Program simultaneously stops sending the corresponding network flow of the application program.
11. a kind of server end, which is characterized in that the server end includes one or more servers, the server packet It includes:
One or more virtual machines, the virtual machine include:
One or more first processors;
First storage device, for storing one or more programs;
When one or more of programs are executed by one or more of first processors so that one or more of first Processor realizes the application management method as described in any one of claim 1-8.
12. a kind of set-top box, which is characterized in that the set-top box includes:
One or more second processors;
Second storage device, for storing one or more programs;
When one or more of programs are executed by one or more of second processors so that one or more of second Processor realizes the application management method as described in any one of claim 9-10.
13. set-top box according to claim 12, which is characterized in that the set-top box is Android set-top boxes.
CN201810279385.8A 2018-03-30 2018-03-30 A kind of application management method, server end and set-top box Pending CN108566555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810279385.8A CN108566555A (en) 2018-03-30 2018-03-30 A kind of application management method, server end and set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810279385.8A CN108566555A (en) 2018-03-30 2018-03-30 A kind of application management method, server end and set-top box

Publications (1)

Publication Number Publication Date
CN108566555A true CN108566555A (en) 2018-09-21

Family

ID=63533662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810279385.8A Pending CN108566555A (en) 2018-03-30 2018-03-30 A kind of application management method, server end and set-top box

Country Status (1)

Country Link
CN (1) CN108566555A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110049375A (en) * 2019-03-25 2019-07-23 深圳市天威视讯股份有限公司 For the application program installation method of Intelligent set top box, system and set-top box
CN111147916A (en) * 2019-12-31 2020-05-12 北京比利信息技术有限公司 Cross-platform service system, method, device and storage medium
CN111782226A (en) * 2020-06-24 2020-10-16 长沙摩智云计算机科技有限公司 Method, system, equipment and medium for directly and quickly installing android application

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100053435A1 (en) * 2008-09-02 2010-03-04 Edward Goziker Pluggable interactive televsion
CN102413150A (en) * 2010-09-20 2012-04-11 联想(北京)有限公司 Server and virtual desktop control method and virtual desktop control system
CN102469131A (en) * 2010-11-15 2012-05-23 中兴通讯股份有限公司 Terminal based on virtualization technology, system and service providing method
CN102571940A (en) * 2011-12-26 2012-07-11 Tcl集团股份有限公司 Remote application installation system, method, intelligent terminal and application server
CN102752369A (en) * 2012-06-04 2012-10-24 北京联诚智胜信息技术有限公司 Providing method of television application service and virtualization content service platform
US9549019B2 (en) * 2013-01-09 2017-01-17 Red Hat Israel, Ltd. Managing a logical client for a virtual machine

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100053435A1 (en) * 2008-09-02 2010-03-04 Edward Goziker Pluggable interactive televsion
CN102413150A (en) * 2010-09-20 2012-04-11 联想(北京)有限公司 Server and virtual desktop control method and virtual desktop control system
CN102469131A (en) * 2010-11-15 2012-05-23 中兴通讯股份有限公司 Terminal based on virtualization technology, system and service providing method
CN102571940A (en) * 2011-12-26 2012-07-11 Tcl集团股份有限公司 Remote application installation system, method, intelligent terminal and application server
CN102752369A (en) * 2012-06-04 2012-10-24 北京联诚智胜信息技术有限公司 Providing method of television application service and virtualization content service platform
US9549019B2 (en) * 2013-01-09 2017-01-17 Red Hat Israel, Ltd. Managing a logical client for a virtual machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110049375A (en) * 2019-03-25 2019-07-23 深圳市天威视讯股份有限公司 For the application program installation method of Intelligent set top box, system and set-top box
CN111147916A (en) * 2019-12-31 2020-05-12 北京比利信息技术有限公司 Cross-platform service system, method, device and storage medium
CN111782226A (en) * 2020-06-24 2020-10-16 长沙摩智云计算机科技有限公司 Method, system, equipment and medium for directly and quickly installing android application

Similar Documents

Publication Publication Date Title
US9532103B2 (en) Multi-user support for set top boxes and game consoles
CN108566555A (en) A kind of application management method, server end and set-top box
EP3148204A1 (en) Multimode set top box and mode management method therefor, and computer storage medium
US20140237119A1 (en) Object migration system and method for web-based content service migration
CN108933948A (en) A kind of video playing progress synchronous method and device
CN110856011B (en) Method for grouping live broadcast interaction, electronic equipment and storage medium
CN105656917B (en) Control the method and device that online direct broadcast band starts broadcasting
CN103685547A (en) Download server dispatching method, download server dispatching system and terminal device
CN105430482A (en) Multi-screen interaction method and terminal equipment
CN113497945A (en) Live broadcast and configuration method based on cloud mobile phone and related device and system
CN103530149A (en) Configuration method for gamepad simulation configuration file and terminal
CN109120965A (en) Net cast switching method, device, computer equipment and storage medium
CN103501453A (en) Interaction system based on Android and Linux smart television
KR20150067351A (en) A system and method for managing playback of streaming digital content
CN103702235A (en) Data processing method and system for content delivery network
CN110213662A (en) A kind of VOD method, server, client and video on-demand system
CN108200444A (en) A kind of methods, devices and systems of net cast
CN109428864A (en) Improve the method and device that nginx-rtmp draws streaming quality
CN109005430A (en) A kind of order method, system, device and the storage medium of audio/video content
CN104333806B (en) A kind of parameter operation method and device of set-top box
CN114143371A (en) Screen projection method and device, storage medium and electronic equipment
CN103685303A (en) Method and system for processing connection content delivery network
CN106575423B (en) Broadcast link service based on cloud streaming media, broadcast link service client device, and trigger content providing server
EP4002860A1 (en) Method and device for processing public event by means of key distribution, and set top box
CN109309859A (en) Direct broadcasting room method for showing interface, framework and correlation technique, device and equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180921

RJ01 Rejection of invention patent application after publication