WO2020151660A1 - Stb cloudification method and system, thin stb, virtual stb and platform, and storage medium - Google Patents

Stb cloudification method and system, thin stb, virtual stb and platform, and storage medium Download PDF

Info

Publication number
WO2020151660A1
WO2020151660A1 PCT/CN2020/073226 CN2020073226W WO2020151660A1 WO 2020151660 A1 WO2020151660 A1 WO 2020151660A1 CN 2020073226 W CN2020073226 W CN 2020073226W WO 2020151660 A1 WO2020151660 A1 WO 2020151660A1
Authority
WO
WIPO (PCT)
Prior art keywords
vstb
tstb
display data
application
returned
Prior art date
Application number
PCT/CN2020/073226
Other languages
French (fr)
Chinese (zh)
Inventor
刘成刚
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2020151660A1 publication Critical patent/WO2020151660A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Definitions

  • This application relates to cloud computing technology, such as a method and system for cloudification of a set-top box STB, a virtual set-top box vSTB, a virtual set-top box vSTB management platform, a thin set-top box tSTB, and a storage medium.
  • Set-Top Box As the entrance to the home multimedia business, can be triggered by human-computer interaction, and can interact with the electronic program guide (EPG) and content delivery network (Content Delivery Network, CDN) on the system side.
  • EPG electronic program guide
  • CDN Content Delivery Network
  • the embodiments of the present application provide a method and system for cloudification of a set-top box STB, a virtual set-top box vSTB, a virtual set-top box vSTB management platform, a thin set-top box tSTB, and a storage medium, which can facilitate rapid business deployment, rapid iteration, and lower cost.
  • a cloudification method for STB of a set-top box, applied to a virtual set-top box vSTB includes: obtaining a connection request sent by a thin set-top box tSTB, establishing a connection channel with the tSTB based on the connection request; receiving the tSTB through the connection channel
  • the sent input information of the peripheral device corresponding to the tSTB determines the type of service application based on the received input information and obtains a processing result corresponding to the type of the service application, and returns the processing result to the tSTB.
  • a cloudification method for set-top box STB, applied to a virtual set-top box vSTB management platform includes: obtaining a login authentication request sent by tSTB, sending a vSTB resource allocation request to the vSTB according to the login authentication request; receiving the vSTB address returned by the vSTB , And send the vSTB address to the tSTB, where the vSTB address is used to establish a connection channel between the tSTB and the corresponding vSTB.
  • a cloudification method for set-top box STB, applied to thin set-top box tSTB includes: sending a connection request to the corresponding virtual set-top box vSTB, establishing a connection channel with the vSTB according to the connection response returned by the vSTB; receiving the corresponding tSTB
  • the input information sent by the peripheral device the input information is sent to the vSTB through the connection channel, and the processing result corresponding to the type of the service application returned by the vSTB is received, wherein the type of the service application is based on the The input information is confirmed.
  • a virtual set-top box vSTB includes a processor and a memory configured to store a computer program that can run on the processor; wherein, when the processor is configured to run the computer program, it executes the application described in the embodiments of this application.
  • the STB cloudification method of vSTB includes a processor and a memory configured to store a computer program that can run on the processor; wherein, when the processor is configured to run the computer program, it executes the application described in the embodiments of this application.
  • a virtual set-top box vSTB management platform includes a processor and a memory configured to store a computer program that can run on the processor; wherein the processor is configured to execute the computer program described in the embodiment of the present application when the processor is configured to run the computer program The STB cloudification method applied to the vSTB management platform.
  • a thin set-top box tSTB includes a processor and a memory configured to store a computer program that can run on the processor; wherein, when the processor is configured to run the computer program, the application described in the embodiment of the application is executed STB cloudification method of tSTB.
  • FIG. 1 is an architecture diagram of a STB cloudification system for a set-top box in an embodiment of the application
  • FIG. 2 is a schematic flow chart of a cloudification method for STB of a set-top box in an embodiment of this application;
  • FIG. 3 is a schematic flowchart of a method for cloudification of a set-top box in another embodiment of this application;
  • FIG. 4 is a schematic flowchart of a method for cloudification of a set-top box in another embodiment of the application
  • FIG. 5 is a schematic flowchart of an STB cloudification method provided by an exemplary embodiment of this application.
  • FIG. 6 is a schematic flowchart of an STB cloudification method provided by another exemplary embodiment of this application.
  • FIG. 7 is a schematic diagram of the processing effect of display data in an embodiment of the application.
  • FIG. 8 is a schematic flowchart of an STB cloudification method provided by another exemplary embodiment of this application.
  • Figure 9 is a schematic diagram of the processing effect of STB cloud-based remote calling
  • FIG. 10 is a schematic flowchart of an STB cloudification method provided by an exemplary embodiment of this application.
  • FIG. 11 is a schematic flowchart of an STB cloudification method provided by an exemplary embodiment of this application.
  • FIG. 12 is a schematic flowchart of an STB cloudification method provided by an exemplary embodiment of this application.
  • FIG. 13 is a schematic flowchart of an STB cloudification method provided by an exemplary embodiment of this application.
  • FIG. 14 is a schematic structural diagram of a vSTB provided in an embodiment of this application.
  • FIG. 15 is a schematic structural diagram of a vSTB management platform provided in an embodiment of this application.
  • FIG. 16 is a schematic structural diagram of tSTB provided in an embodiment of this application.
  • Cloud-based applications mean that business applications are completely run and processed in the cloud.
  • Semi-cloud application means that business applications are divided into two, including cloud modules that run and process in the cloud, and non-cloud modules that run and process on the physical STB side, and realize business through collaboration between the cloud and the physical STB side Application operation and processing.
  • the applicant of this application has discovered in research that the physical STB is only used as a device for human-computer interaction input and output, and all business applications are completely run, processed and interacted in the cloud.
  • This method makes the hardware configuration of the cloud server , Performance requirements are very high, all business applications must be adapted and transplanted in the cloud, cloudification costs and costs are high, and it is difficult to implement.
  • Performance requirements are very high
  • all business applications must be adapted and transplanted in the cloud
  • cloudification costs and costs are high, and it is difficult to implement.
  • frequent interactions and interoperations between the physical STB and different business applications are required, and these business applications usually require frequent customization and modification, making the implementation of such business applications more difficult to achieve .
  • this application classifies business applications and establishes a connection channel between tSTB and the corresponding vSTB to realize different types of business applications between tSTB and the corresponding vSTB, such as the processing of business applications with different degrees of cloudification , Can realize business application processing by forming business applications into different cloudification levels, and through the collaborative interaction between tSTB and corresponding vSTB, so as to facilitate rapid business deployment and rapid iteration; secondly, realizing business deployment and upgrade requirements. It can reduce the dependence on STB hardware, thereby continuously reducing costs, and taking into account the continuity of cost and business development.
  • Fig. 1 is an architecture diagram of a STB cloudification system for a set-top box provided by an embodiment of this application.
  • the STB cloudification system includes a virtual set-top box (vSTB) 100 and a virtual set-top box management platform (vSTB management platform) 200 And thin Set Top Box tSTB (thin Set Top Box, tSTB) 300.
  • tSTB300 refers to the physical STB that connects the TV and the external signal source. It can be used as a human-computer interaction input device to obtain the corresponding local device, such as remote control, keyboard, handle, USB peripherals, etc. input voice and gestures , Instruction messages and other input information, and can be displayed on the TV based on the processing results of the business application.
  • the vSTB100 refers to a program that can be interconnected with the tSTB300 through a network to implement the STB cloudification method or refers to a server loaded with the corresponding program.
  • the vSTB management platform 200 refers to a program that manages vSTB resources and interacts through program calls, network communications, or other mechanisms to implement the STB cloudification method, or refers to a server loaded with the corresponding program.
  • the vSTB 100 and the vSTB management platform 200 may be separate physical servers or the same physical server. Among them, the tSTB300, vSTB100, and vSTB management platform 200 can be interconnected through a Transmission Control Protocol/Internet Protocol (TCP/IP) network.
  • TCP/IP Transmission Control Protocol/Internet Protocol
  • the STB cloudification method provided by an embodiment of this application can be applied to the vSTB shown in Figure 1, the method includes the following steps.
  • Step 101 obtain a connection request sent by a thin set-top box tSTB, and establish a connection channel with the tSTB based on the connection request.
  • Step 103 Receive input information corresponding to the local device sent by the tSTB through the connection channel, determine the type of service application based on the input information, obtain a corresponding processing result, and return it to the tSTB.
  • connection channel between the tSTB and the corresponding vSTB refers to the corresponding vSTB address based on the corresponding relationship between the tSTB and the corresponding vSTB resource, such as the corresponding vSTB address determined according to the identity of the tSTB.
  • the type of business application refers to the category that classifies business applications according to the business they implement. As the entrance of home multimedia services, set-top boxes can be triggered by human-computer interaction and interact with different business applications, such as Electronic Program Guide (EPG), Content Delivery Network (CDN), games, advertisements and messages, etc.
  • EPG Electronic Program Guide
  • CDN Content Delivery Network
  • games advertisements and messages, etc.
  • Input information refers to the input information received by tSTB corresponding to the local equipment, such as voice, gesture, and command messages input by remote control, keyboard, handle, USB peripherals, etc., that is, the user can operate the remote control corresponding to tSTB , Keyboards, handles, USB peripherals and other local devices to input operating instructions to start designated business applications.
  • the vSTB can receive the input information of the corresponding local device sent by the tSTB through the connection channel established with the corresponding tSTB.
  • the input information can be input by the user by operating the local device corresponding to the tSTB
  • vSTB determines the type of business application based on the received input information and obtains the corresponding processing result and returns it to the tSTB.
  • the business application can be classified and a connection channel can be established between the tSTB and the corresponding vSTB , Can realize different types of business applications between tSTB and corresponding vSTB, such as the processing of business applications with different degrees of cloudification, by forming business applications into types with different degrees of cloudification, and through the collaborative interaction of tSTB and corresponding vSTB Realize the processing of business applications, thereby facilitating rapid business deployment and rapid iteration; secondly, business deployment and upgrades can reduce the reliance on STB hardware, thereby continuously reducing costs, taking into account the continuity of cost and business development.
  • the determining the type of the business application based on the received input information and obtaining the corresponding processing result to return to the tSTB includes: in the case of determining that the business application is a cloud application based on the input information, and The application server interacts to obtain display data and/or audio data, and returns the display data and/or audio data to the tSTB as a processing result.
  • cloud-based applications refer to business applications that run and process entirely in the cloud.
  • the vSTB determines that the business application is a cloud application, it is processed directly on the vSTB side, and the vSTB interacts with the corresponding application server to obtain display data and/or audio data in response to the input information. And the response display data and/or audio data are returned to tSTB as the processing result.
  • the display data may include at least one of the following: graphic display data, video display data, and graphic superimposed video display data.
  • the obtaining display data and/or audio data by interacting with the application server based on the input information, and returning the display data and/or audio data to the tSTB as a processing result includes: The input information interacts with the business system to obtain graphic display data; based on the input information interacts with the CDN server to obtain video display data; the graphic display data and the video display data are superimposed and mixed at the pixel level, and the mixed The graphic display data and the video display data of are returned to the tSTB as a processing result.
  • processing is directly performed on the vSTB side.
  • the vSTB interacts with the corresponding business system to obtain graphic display data in response to the input information, and interacts with the corresponding CDN server to obtain video display data in response to the input information , And complete the superimposition and mixing of the display on the vSTB side, and return the graphic display data and video display data after the response superimposition and mixing to the tSTB as a processing result. Since all displays are superimposed and mixed on the vSTB side, only the RGB components need to be video encoded and streamed to tSTB.
  • the method before returning the display data and the remote call instruction to the tSTB as a processing result, includes: performing video encoding and streaming on the RGB components in the display data,
  • the ()) Alpha (Alpha) component is compressed and encoded and streamed; the video encoding stream of the RGB component and the compressed encoding stream of the Alpha component are used as the display data returned to the tSTB.
  • the vSTB before the display data obtained by processing on the vSTB side is sent to tSTB for display, the vSTB also includes performing video encoding and streaming on the RGB components in the display data, and compressing and encoding the Alpha components in the display data Streaming, and using the video encoding stream of the RGB component and the compression encoding stream of the Alpha component as the display data returned to the tSTB.
  • the tSTB side needs to receive the video encoding stream of RGB component and the compressed encoding stream of Alpha component at the same time, and perform video decoding or decompression processing to decode the decoded RGB data and decompressed Alpha data. Merge and restore to RGBA display data, and then present it again to achieve seamless superposition and integration of vSTB-side processing results and tSTB-side processing results.
  • the vSTB side display in a semi-cloud application scenario, compared to the scheme of directly sending the video encoding stream of the RGB component of the display data to tSTB by vSTB, it ensures that the Alpha transparency component will not be lost and avoids tSTB restoration. Due to the lack of alpha transparency, the vSTB side display will completely cover the tSTB side local display when superimposed with the local display content, resulting in abnormal display after synthesis (that is, the local display on the tSTB side is not visible).
  • the method before returning the display data and the remote call instruction as the processing result to the tSTB, includes: intercepting the interface call of the cloud application and determining the type of the interface call; determining the interface call When it is a call type processed by the vSTB side, the interface call is processed at the local end; when it is determined that the interface call is a call type that is not processed by the vSTB side, the interface call is used as a remote call instruction returned to the tSTB.
  • vSTB intercepts the interface calls of cloud applications and judges the type of interface calls; when it is determined that the interface calls are the call types processed by the vSTB side, The local end processes the interface call; when it is determined that the interface call is a call type that is not processed by the vSTB side, the interface call is used as a remote call instruction returned to the tSTB, and the interface is called through the system agent or application agent The redirection is sent to tSTB for processing. Based on this interface call, tSTB obtains the processing result and returns it to vSTB, and vSTB returns the processing result to the cloud application, so that the application is unaware of the changes caused by cloudification.
  • said interacting with the application server to obtain display data, and returning the display data and remote call instruction as a processing result to the tSTB includes: interacting with a business system to obtain a visual communication user interface UI The interface graphic display data of the interface graphic display data and the media control command are returned to the tSTB as a processing result.
  • the user interface UI, protocol, and service processing are implemented on the vSTB side, and the media transceiving and coding and decoding processing are implemented locally on the tSTB side, and finally the UI and video are superimposed and mixed on the tSTB side.
  • vSTB determines that the business application is a semi-cloud visual communication application based on the input information, it interacts with the business system to obtain the interface graphic display data of the visual communication user interface UI, and displays the interface graphic data and media
  • the control command is returned to the tSTB as a processing result.
  • the tSTB receives the media control commands returned by the vSTB for processing, and blends the video display data generated by its own processing with the graphical display data of the visual communication UI interface returned by the vSTB, and displays them.
  • the new UI deployment only needs to be connected once in the cloud, without adapting to various STBs on the existing network, and without considering the differences in STB hardware, so that the corresponding service deployment is not Depends on the number of users and tSTB hardware configuration, which facilitates rapid business deployment, rapid iteration, and both cost and business development continuity.
  • said interacting with the application server to obtain display data, and returning the display data and remote call instructions as processing results to the tSTB includes: interacting with the business system to obtain the interface graphics of the cloud application Display data, returning the interface graphic display data and application control commands to the tSTB.
  • the cloud-based portal EPG application on the vSTB side pulls up the local application on the tSTB side.
  • vSTB interacts with the business system to obtain the interface graphic display data and application control commands of the cloud application and return it to tSTB for tSTB to process the application control commands and start the local application to the foreground.
  • the tSTB receives user input and presents it based on the startup of the local application , So that the application is unaware of the changes caused by cloudification.
  • the obtaining the connection request sent by the thin set-top box tSTB, before establishing a connection channel with the tSTB based on the connection request includes: obtaining the login authentication request sent by the vSTB management platform based on the tSTB The vSTB resource allocation request; based on the vSTB resource allocation request, a corresponding vSTB address is returned, and the vSTB address is used to return to the corresponding tSTB.
  • the vSTB obtains the vSTB resource allocation request sent by the vSTB management platform based on the tSTB login authentication request, and returns the corresponding vSTB address based on the vSTB resource allocation request, and the vSTB address is used to return to the corresponding tSTB, Initiate login authentication to the vSTB management platform through tSTB, allocate vSTB resources to tSTB after passing the authentication of the vSTB management platform, and return the vSTB address to tSTB so that tSTB can initiate a connection request and establish a connection channel based on the vSTB address.
  • another aspect of the embodiment of the present application also provides a cloudification method for STB of a set-top box, which can be applied to the vSTB management platform shown in FIG.
  • Step 201 Obtain a login authentication request sent by the tSTB, and send a vSTB resource allocation request to the vSTB according to the login authentication request.
  • Step 203 Receive the vSTB address returned by the vSTB and send it to the tSTB, where the vSTB address is used to establish a connection channel between the tSTB and the corresponding vSTB.
  • the login authentication request carries identification information used to characterize the identity of the tSTB.
  • the establishment of a connection channel between the tSTB and the corresponding vSTB is based on the tSTB sending a login authentication request to the vSTB management platform, and receiving the vSTB management platform to determine the corresponding vSTB resource through the authentication and login, and the use of the establishment between the tSTB and the corresponding vSTB resource To realize the network interconnection channel between tSTB and the corresponding vSTB.
  • the vSTB management platform allocates corresponding vSTB resources to the tSTB through the login authentication request initiated by the tSTB, and can identify the identity of the tSTB based on the identification information of the tSTB, so as to allocate matching vSTB resources to the tSTB ,
  • the service upgrade can be completed in the cloud and take effect in real time. There is no need to consider the compatibility of the new and old STB versions on the existing network.
  • the development environment is unified, which reduces STB software development Testing complexity shortens the STB application software development cycle and reduces R&D costs.
  • the vSTB management platform implements the corresponding management of different tSTB and vSTB resources, which facilitates the support of more services and extends the life cycle of tSTB.
  • another aspect of the embodiment of the present application also provides a cloudification method for STB of a set-top box, which can be applied to the tSTB shown in FIG.
  • Step 301 Send a connection request to the corresponding virtual set-top box vSTB, and establish a connection channel with the vSTB according to the connection response returned by the vSTB.
  • Step 303 Receive input information sent by the corresponding local device, send the input information to the vSTB through the connection channel, and receive the corresponding processing returned by the vSTB based on the input information to determine the type of service application result.
  • connection channel between the tSTB and the corresponding vSTB refers to the corresponding vSTB address based on the corresponding relationship between the tSTB and the corresponding vSTB resource, such as the corresponding vSTB address determined according to the identity of the tSTB.
  • the type of business application refers to the category that classifies business applications according to the business they implement. As the entrance of home multimedia services, set-top boxes can be triggered by human-computer interaction and interact with different business applications, such as Electronic Program Guide (EPG), Content Delivery Network (CDN), games, advertisements and messages, etc.
  • EPG Electronic Program Guide
  • CDN Content Delivery Network
  • games advertisements and messages, etc.
  • Input information refers to the input information received by tSTB corresponding to the local equipment, such as voice, gesture, and command messages input by remote control, keyboard, handle, USB peripherals, etc., that is, the user can operate the remote control corresponding to tSTB , Keyboards, handles, USB peripherals and other local devices to input operating instructions to start designated business applications.
  • tSTB can send a connection request to the corresponding vSTB by sending a login authentication request to the vSTB management platform and the vSTB address obtained after the authentication is passed, thereby establishing a connection channel with the corresponding vSTB, and tSTB receives the corresponding copy.
  • the input information of the end device is sent to the vSTB through the connection channel.
  • the user can operate the local device corresponding to the tSTB to input input information that characterizes the current business needs.
  • the vSTB determines the type of business application based on the received input information and obtains the corresponding processing result Return to the tSTB.
  • the receiving the corresponding processing result returned by the vSTB determining the type of the service application based on the input information includes: receiving the case where the vSTB determines that the service application is a cloud application based on the input information Next, return the display data and/or audio data, and present the display data and/or audio data.
  • the tSTB receives the display data and/or audio data returned when the vSTB determines that the service application is a cloud application based on the input information through the connection channel, and presents the display data and/or audio data.
  • Cloud-based applications refer to business applications that run and process entirely in the cloud.
  • the vSTB determines that the business application is a cloud application, it is processed directly on the vSTB side, and the vSTB interacts with the corresponding application server to obtain display data and/or audio data in response to the input information. And the response display data and/or audio data are returned to tSTB as the processing result.
  • the display data may include at least one of the following: graphic display data, video display data, and graphic superimposed video display data.
  • the receiving the corresponding processing result returned by the vSTB determining the type of the service application based on the input information includes: receiving the vSTB determining that the service application is a semi-cloud application based on the input information
  • the returned display data and remote call instruction according to the video encoding stream of the RGB component and the compressed encoding stream of the Alpha component in the display data, the RGB component and the Alpha component are respectively parsed, and the RGB The component and the Alpha component are combined and restored to RGBA display data; the local display data is obtained by interacting with the application server according to the remote call instruction, and the RGBA display data and the local display data are superimposed and presented.
  • the vSTB includes different business parts that are directly processed on the vSTB side and processed on the tSTB side.
  • the vSTB before the display data obtained by processing on the vSTB side is sent to tSTB for display, the vSTB also includes performing video encoding and streaming on the RGB components in the display data, and compressing and encoding the Alpha components in the display data Streaming, and using the video encoding stream of the RGB component and the compression encoding stream of the Alpha component as the display data returned to the tSTB.
  • the video encoding stream of RGB component and the compression encoding stream of Alpha component are simultaneously received on the tSTB side, and the video decoding or decompression processing is performed, and the decoded RGB data of the video and the decompressed Alpha data are combined Revert to RGBA display data.
  • the remote call command sent by the vSTB process it on the tSTB side and obtain the local display data, and then superimpose and present the RGBA display data and the local display data to realize the processing result on the vSTB side and the processing result on the tSTB side
  • the seamless superimposition and integration are seamless superimposition and integration.
  • the receiving the corresponding processing result returned by the vSTB determining the type of the service application based on the input information includes: receiving the vSTB determining that the service application is a semi-cloud application based on the input information In this case, the returned display data and the call interface processed by the non-vSTB side process the call interface and return the corresponding remote call result to the vSTB.
  • vSTB intercepts the interface calls of cloud applications and judges the type of interface calls; when it is determined that the interface calls are the call types processed by the vSTB side, The vSTB processes the interface call locally; when it is determined that the interface call is a call type that is not processed on the vSTB side, the interface call is used as a remote call instruction returned to the tSTB, and the interface is transferred through the system agent or application agent. The call is redirected to tSTB for processing. Based on this interface call, tSTB obtains the processing result and returns it to vSTB, and vSTB returns the processing result to the cloud application, so that the changes caused by the cloudification of the application are unaware.
  • the receiving the corresponding processing result returned by the vSTB based on the input information to determine the type of the service application includes: receiving the visual communication user interface UI returned by the vSTB based on the input information Interface graphics display data and media control commands; based on the media control commands to interact with the CDN server to obtain video display data, the interface graphics display data and the video display data are superimposed and mixed at the pixel level, and the mixed The interface graphic display data and the video display data are presented.
  • the user interface UI, protocol, and service processing are implemented on the vSTB side, and the media transceiving and coding and decoding processing are implemented locally on the tSTB side, and finally the UI and video are superimposed and mixed on the tSTB side.
  • vSTB determines that the business application is a semi-cloud visual communication application based on the input information, it interacts with the business system to obtain the interface graphic display data of the visual communication user interface UI, and displays the interface graphic data and media
  • the control command is returned to the tSTB as a processing result.
  • the tSTB receives the media control commands returned by the vSTB for processing, and blends the video display data generated by its own processing with the graphical display data of the visual communication UI interface returned by the vSTB, and displays them.
  • the receiving the corresponding processing result returned by the vSTB based on the input information to determine the type of the business application includes: receiving the interface graphic display of the cloud application returned by the vSTB based on the input information Data and application control commands; based on the application control commands, start local applications for presentation.
  • the cloud-based portal EPG application on the vSTB side pulls up the local application on the tSTB side.
  • vSTB interacts with the business system to obtain the interface graphic display data and application control commands of the cloud application and return it to tSTB so that tSTB can process the application control commands and start the local application to the foreground.
  • the tSTB receives user input and presents it based on the startup of the local application , To be unaware of the changes caused by the cloudification of applications.
  • the method further includes: intercepting the interface call of the local application and determining the type of the interface call; when it is determined that the interface call is the call type processed by the tSTB side, processing the interface call on the local end ; When it is determined that the interface call is a call type that is not processed on the tSTB side, the interface call is returned to the vSTB.
  • tSTB intercepts the interface calls of the local applications and judges the type of interface calls; when it is determined that the interface calls are the call types processed by the tSTB side, tSTB processes the interface call locally; when it is determined that the interface call is a call type that is not processed by the tSTB side, the interface call is returned to the vSTB, and the interface call is redirected to the vSTB through the system agent or application agent Processing to achieve unawareness of changes caused by the cloudification of applications.
  • the sending a connection request to the corresponding virtual set-top box vSTB includes: sending a login authentication request to the virtual set-top box vSTB management platform, where the login authentication request is used by the vSTB management platform to obtain the corresponding vSTB address; receiving The vSTB address returned by the vSTB management platform sends a connection request to the corresponding virtual set-top box vSTB based on the vSTB address.
  • tSTB initiates login authentication to the vSTB management platform, allocates vSTB resources to tSTB after passing the vSTB management platform authentication, and returns the vSTB address to tSTB so that tSTB can initiate a connection request based on the vSTB address and establish a connection channel.
  • the following describes the STB cloudification method from the perspective of the STB cloudification system implementation of the STB cloudification method, combined with multiple example embodiments for description, please refer to Figure 5.
  • the method includes the following steps.
  • Step S11 tSTB initiates login authentication to the vSTB management platform.
  • Step S12 the vSTB management platform initiates a vSTB resource allocation request to the vSTB.
  • Step S13 the vSTB management platform obtains the allocated vSTB resources.
  • Step S14 the vSTB management platform returns the vSTB address to tSTB.
  • Step S15 tSTB initiates a connection request to vSTB.
  • Step S16 vSTB returns a connection response to tSTB.
  • Step S17 a connection channel is established between tSTB and vSTB.
  • Step S18 tSTB receives user input.
  • step S19 the tSTB transmits the user input to the vSTB through the connection channel.
  • Step S191 the vSTB receives user input and performs business interaction with the business system.
  • Step S192 the vSTB returns the processing result to tSTB.
  • Step S193 tSTB presents the processing result of vSTB.
  • the vSTB processes the returned display data for the semi-cloud application to avoid the influence on the local display result of the tSTB.
  • the method includes the following steps.
  • Step S20 tSTB receives user input.
  • step S21 the tSTB transmits the user input to the vSTB through the connection channel.
  • step S23 the vSTB processes user input and generates a display processing result, namely RGBA data.
  • Step S24 the vSTB performs video encoding and streaming on the RGB components of the display data.
  • Step S25 the vSTB compresses, encodes, and streams the Alpha component of the display data.
  • Step S26 the vSTB sends the video encoding stream of the RGB components of the display data.
  • Step S27 the vSTB sends a compressed coded stream of the Alpha component of the display data.
  • Step S28 tSTB receives the RGB component video coding stream, and decodes the RGB component.
  • Step S29 tSTB receives the Alpha component compression coded stream, and decodes the Alpha component.
  • step S291 tSTB combines the RGB component and the corresponding Alpha component to restore RGBA data.
  • Step S292 tSTB presents the RGBA data.
  • FIG. 7 Please refer to Figure 7 for a schematic diagram of the processing effect of cloud display data.
  • EPG UI graphic display data on the vSTB side and the video display data on the tSTB side are superimposed as an example, where 1 is the effect of EPG embedded small video, 2 is The effect of mini EPG superimposed on the large video, 3 is the effect of EPG semi-transparent superimposed on the large video, supporting the different transparency of each pixel of EPG.
  • FIG. 8 for the processing flow of remote invocation in the interaction between the cloud application and the local application and the interoperation, please refer to FIG. 8.
  • the method includes the following steps.
  • Step S30 tSTB receives user input.
  • step S31 the tSTB transmits the user input to the vSTB through the connection channel.
  • Step S32 the vSTB side application processes the user input and generates a processing result, including system calls.
  • Step S33 the vSTB intercepts the system call.
  • Step S34 the system call processed on the vSTB side is processed on the vSTB side.
  • step S35 the system call processed on the non-vSTB side is transferred to tSTB processing.
  • Step S36 tSTB processes the remote invocation of vSTB.
  • Step S37 tSTB returns the remote call result to vSTB.
  • step S38 the vSTB returns the remote call result to the cloud application.
  • Figure 9 a schematic diagram of the processing effect of cloud-based remote calls.
  • the introduction of system agents and application agents makes cloud-based applications and local applications unaware of cloudization.
  • the method includes the following steps.
  • Step 700 tSTB starts the vSTB client to the foreground and initiates authentication login.
  • Step 701 The vSTB management platform allocates vSTB resources.
  • Step 702 The vSTB management platform obtains the allocated vSTB resources.
  • Step 703 the vSTB management platform returns the vSTB address to tSTB.
  • Step 704 tSTB initiates a connection request to vSTB.
  • step 705 the vSTB returns a connection response to the tSTB.
  • step 706 a connection channel is established between tSTB and vSTB.
  • Step 707 tSTB receives user input.
  • step 708 the tSTB transmits the user input to the vSTB through the connection channel.
  • step 709 the vSTB receives user input and interacts with the service system.
  • Step 710 The vSTB performs media interaction with the CDN server.
  • the CDN server is a streaming media server.
  • step 711 the vSTB performs pixel-level alpha blending and mixing of the graphic display data and the video display data generated by the processing.
  • step 712 the vSTB returns the processing result, including the player's pure EPG graphics, pure video, EPG graphics superimposed on video mixed display data, or audio data, to tSTB.
  • Step 713 tSTB presents the processing result of vSTB.
  • tSTB returns the processing result of vSTB to the TV for display and audio presentation.
  • EPG is implemented in the cloud on the vSTB side
  • media playback is implemented locally on the tSTB side
  • EPG and The method of superimposing and mixing videos includes the following steps.
  • Step 800 tSTB starts the vSTB client to the foreground and initiates authentication login.
  • Step 801 The vSTB management platform allocates vSTB resources.
  • Step 802 the vSTB management platform obtains the allocated vSTB resources.
  • Step 803 The vSTB management platform returns the vSTB address to tSTB.
  • Step 804 tSTB initiates a connection request to vSTB.
  • Step 805 vSTB returns a connection response to tSTB.
  • Step 806 A connection channel is established between tSTB and vSTB.
  • Step 807 tSTB receives user input.
  • tSTB receives input information from the user through the remote control.
  • step 808 the tSTB transmits the user input to the vSTB through the connection channel.
  • Step 809 The vSTB receives user input and interacts with the service system.
  • step 810 the vSTB returns the processing result (including EPG graphic display data and media broadcast control commands) to the tSTB.
  • Step 811 the tSTB processes the media broadcast control command and performs media interaction with the CDN server.
  • step 812 the tSTB performs alhpa blending and blending the EPG graphic display data returned by the vSTB and the video display data generated by its own processing.
  • Step 813 tSTB performs graphics and audio presentation. tSTB returns the processing result of vSTB to the TV set for display and audio presentation.
  • FIG. 12 taking the implementation of semi-cloud visual communication in a typical application scenario as an example.
  • UI, protocol, and service processing are implemented in the cloud on the vSTB side, and media transceiving and codec processing are on the tSTB side.
  • Local implementation and finally the superposition and mixing of UI and video on the tSTB side.
  • the method includes the following steps.
  • Step 900 tSTB starts the vSTB client to the foreground and initiates authentication login.
  • Step 901 The vSTB management platform allocates vSTB resources.
  • Step 902 The vSTB management platform obtains the allocated vSTB resources.
  • step 903 the vSTB management platform returns the vSTB address to tSTB.
  • Step 904 tSTB initiates a connection request to vSTB.
  • step 905 the vSTB returns a connection response to the tSTB.
  • Step 906 a connection channel is established between tSTB and vSTB.
  • Step 907 tSTB receives user input.
  • the user input may include input information sent by the user through the remote control, video and audio data collected through a camera and microphone (MIC), instruction information sent by the peer through the network, and the like.
  • MIC camera and microphone
  • step 908 the tSTB transmits the user input to the vSTB through the connection channel.
  • step 909 the vSTB receives user input and interacts with the business system.
  • step 910 the vSTB returns the processing result (including the graphical display data of the visual communication UI interface and the media control command) to the tSTB.
  • step 911 the tSTB processes the media control command, and mixes the video display data generated by the tSTB with the graphic display data of the visual communication UI interface returned by the vSTB.
  • Step 912 tSTB performs graphics and video and audio presentation. tSTB returns the processing result of vSTB to the TV for display and audio presentation.
  • FIG. 13 to implement a typical application scenario of switching between a cloud application and a local application as an example.
  • a cloudized portal EPG application on the vSTB side pulls up a local application on the tSTB side.
  • the method includes the following step.
  • Step 1000 tSTB starts the vSTB client to the foreground and initiates authentication login.
  • Step 1001 The vSTB management platform allocates vSTB resources.
  • Step 1002 the vSTB management platform obtains the allocated vSTB resources.
  • Step 1003 the vSTB management platform returns the vSTB address to tSTB.
  • Step 1004 tSTB initiates a connection request to vSTB.
  • Step 1005 vSTB returns a connection response to tSTB.
  • Step 1006 A connection channel is established between tSTB and vSTB.
  • Step 1007 tSTB receives user input.
  • Step 1008 the tSTB transmits the user input to the vSTB through the connection channel.
  • Step 1009 The vSTB receives user input and interacts with the business system.
  • Step 1010 The vSTB returns the processing result (including the cloud application interface graphic display data and application control commands) to the tSTB.
  • Step 1011 tSTB processes the application control command and starts the local application to the foreground.
  • Step 1012 tSTB receives user input.
  • Step 1013 The tSTB local application receives user input and presents it.
  • tSTB initiates login authentication to the vSTB management platform, and after the vSTB management platform passes the authentication, the vSTB resource is allocated to the tSTB, and the vSTB address is returned to the tSTB.
  • tSTB initiates a connection request to the vSTB address and establishes a connection.
  • tSTB receives the input information from the local device and transmits it to vSTB.
  • the vSTB receives the input data and generates processing results.
  • the processing results include display data, audio data, etc.
  • Display data may include graphic display data, video display data, graphic display data superimposed on video display data, etc.; for semi-cloud services, the processing result includes display data, remote calling, etc., the display data may include graphic display data, and the remote Calls include playback control, media control, application control, etc.
  • this application provides a gradual cloudification method.
  • New business and new UI deployment only need to be connected once in the cloud, no need to adapt to various STBs on the existing network, no need to consider the difference in set-top box hardware, business deployment has nothing to do with the number of users and STB type; business upgrades can be completed in the cloud, effective in real time, no need to wait
  • the existing network STB upgrade does not need to consider the compatibility of the new and old STB versions of the existing network; the development environment is unified, which reduces the complexity of STB software development and testing, shortens the STB application software development cycle, and reduces R&D costs.
  • STB cloudification can reduce terminal procurement and operation and maintenance costs, especially the extension of the STB life cycle, which can significantly reduce overall costs; standard definition STB replacement, STB cloudification is the best solution, taking into account cost and business development continuity; High-definition STB and 4K STB on the live network can support more services and extend the life cycle through cloudification of some services.
  • the set-top box cloudification device includes: a first channel establishment module 11 configured to obtain a connection request sent by a thin set-top box tSTB, The connection channel with the tSTB is established based on the connection request; the processing module 13 is configured to receive input information corresponding to the local device sent by the tSTB through the connection channel, and determine the service application based on the input information Type and obtain the corresponding processing result and return it to the tSTB.
  • the processing module 13 is configured to interact with the application server to obtain display data and/or audio data when determining that the business application is a cloud application based on the input information, and use the display data and/or audio data as The processing result is returned to the tSTB.
  • the processing module 13 is configured to obtain graphic display data by interacting with the business system based on the input information; interact with the CDN server to obtain video display data based on the input information; and combine the graphic display data with the video display data Perform pixel-level superposition and mixing, and return the mixed graphic display data and the video display data to the tSTB as a processing result.
  • the processing module 13 is configured to interact with the application server to obtain display data when it is determined that the business application is a semi-cloud application based on the input information, and return the display data and the remote call instruction as the processing result to the office. ⁇ tSTB.
  • the processing module 13 is further configured to perform video encoding and streaming on the RGB components in the display data, and compress and encode and stream the Alpha components in the display data; and combine the video encoding streams of the RGB components and the Alpha
  • the compressed coded stream of the component is used as the display data returned to the tSTB.
  • the processing module 13 is also set to intercept the interface call of the cloud application and determine the type of the interface call; when it is determined that the interface call is the call type processed by the vSTB side, the interface call is processed on the local end; When the interface call is a call type that is not processed by the vSTB side, the interface call is taken as a remote call instruction returned to the tSTB.
  • the processing module 13 is configured to interact with the business system to obtain interface graphic display data of the visual communication user interface UI, and return the interface graphic display data and media control commands to the tSTB as processing results.
  • the processing module 13 is configured to interact with the business system to obtain interface graphic display data of the cloud application, and return the interface graphic display data and application control commands to the tSTB.
  • the device also includes a request module 10 configured to obtain a vSTB resource allocation request sent by the vSTB management platform based on the tSTB login authentication request; the allocation module 12 is configured to return a corresponding vSTB address based on the vSTB resource allocation request, The vSTB address is used to return to the corresponding tSTB.
  • a request module 10 configured to obtain a vSTB resource allocation request sent by the vSTB management platform based on the tSTB login authentication request
  • the allocation module 12 is configured to return a corresponding vSTB address based on the vSTB resource allocation request, The vSTB address is used to return to the corresponding tSTB.
  • the STB clouding device provided in the above embodiment implements the STB clouding method
  • only the division of the above program modules is used for illustration.
  • the above steps can be allocated to different program modules to complete according to needs, that is, Divide the internal structure of the device into different program modules to complete all or part of the processing described above.
  • the STB cloudification apparatus provided in the foregoing embodiment belongs to the same concept as the STB cloudification method embodiment applied to vSTB, and its implementation process is detailed in the method embodiment, which will not be repeated here.
  • the embodiments of the present application also provide a vSTB, the vSTB may be a computer device, and the vSTB may perform network communication with the tSTB.
  • the vSTB includes a processor 15 and is configured to be stored in the processor 15
  • the storage medium 16 of the computer program running on the computer wherein the processor 15 is configured to run the computer program to execute the steps of the STB cloudification method applied to vSTB provided in any embodiment of the present application.
  • the processor 15 and the storage medium 16 do not mean that the corresponding number is one, but may be one or more.
  • the vSTB further includes a memory 17, a network interface 18, and a system bus 19 connecting the processor 15, the memory 17, the network interface 18, and the storage medium 16.
  • the storage medium 202 stores an operating system and an STB cloudification device configured to implement the STB cloudification method provided in the embodiments of the present application.
  • the processor 201 is configured to improve computing and control capabilities and support the operation of the entire vSTB.
  • the memory 203 is set to provide an environment for the operation of the STB cloudification method in the storage medium 202, and the network interface 204 is set to communicate with the tSTB and vSTB management platform, receive or send data, for example, to obtain input information received by tSTB, Return processing results, etc.
  • the cloudification device for a set-top box includes an authentication module 21 configured to obtain a login authentication request sent by tSTB.
  • the login authentication request sends a vSTB resource allocation request to the vSTB;
  • the sending module 23 is configured to receive the vSTB address returned by the vSTB and send it to the tSTB, where the vSTB address is used for the tSTB and the corresponding vSTB Establish a connection channel between.
  • the embodiments of the present application also provide a vSTB management platform.
  • the vSTB management platform may be a computer device, such as a server.
  • the vSTB management platform can communicate with tSTB and vSTB over the network.
  • It includes a processor 201 and a storage medium 26 configured to store a computer program that can run on the processor 25, where the processor 25 is configured to execute the application provided by any embodiment of the present application when the computer program is configured to run The steps of the STB cloudification method based on the vSTB management platform.
  • the processor 25 and the storage medium 26 do not mean that the corresponding number is one, but may be one or more.
  • the vSTB management platform further includes a memory 27, a network interface 28, and a system bus 29 connecting the processor 25, the memory 27, the network interface 28, and the storage medium 26.
  • the storage medium 26 stores an operating system and an STB clouding device for implementing the STB clouding method provided in the embodiments of the present application.
  • the processor 25 is configured to improve computing and control capabilities and support the operation of the entire vSTB management platform.
  • the memory 27 is set to provide an environment for the operation of the STB cloudification method in the storage medium 26, and the network interface 28 is set to communicate with tSTB and vSTB on the network, receive or send data, for example, obtain the login authentication request sent by tSTB and return vSTB Address to tSTB etc.
  • the embodiments of the present application provide a set-top box cloudification device, which is applied to tSTB.
  • the set-top box cloudification device includes: a second channel establishment module 31 configured to send a connection request to a corresponding virtual set-top box vSTB Establish a connection channel with the vSTB according to the connection response returned by the vSTB; the input processing module 33 is configured to receive input information sent by the corresponding local device, and send the input information to the vSTB through the connection channel The vSTB receives the corresponding processing result returned by the vSTB after determining the type of service application based on the input information.
  • the device further includes a result presentation module 32, and the input processing module 33 is configured to receive the returned display data and/or information in the case where the vSTB determines that the business application is a cloud application based on the input information.
  • the result presentation module 32 is configured to present the display data and/or audio data.
  • the input processing module 33 is configured to receive the returned display data and remote call instructions when the vSTB determines that the business application is a semi-cloud application based on the input information; according to the display data The video encoding stream of the RGB component and the compressed encoding stream of the Alpha component in the RGB component, respectively, the RGB component and the Alpha component are parsed, and the RGB component and the Alpha component are combined to restore the RGBA display data; according to the remote call instruction Interact with the application server to obtain local display data, and the result presentation module 32 is configured to superimpose and present the RGBA display data and the local display data.
  • the input processing module 33 is configured to receive the returned display data and the call interface for non-vSTB side processing when the vSTB determines that the business application is a semi-cloud application based on the input information, and process The calling interface and returning the corresponding remote calling result to the vSTB.
  • the input processing module 33 is configured to receive interface graphic display data and media control commands of the visual communication user interface UI returned by the vSTB based on the input information; based on the media control commands and CDN
  • the server interacts to obtain video display data, and performs pixel-level superposition and mixing of the interface graphic display data and the video display data.
  • the result presentation module 32 is configured to combine the interface graphic display data and the video after mixing. Display data for presentation.
  • the input processing module 33 is configured to receive the interface graphic display data and application control commands of the cloud application returned by the vSTB based on the input information; start the local application for presentation based on the application control command .
  • the input processing module 33 is configured to intercept the interface call of the local application and determine the type of the interface call; when it is determined that the interface call is the call type processed on the tSTB side, the processing office on the local end The interface call; when it is determined that the interface call is a call type that is not processed on the tSTB side, the interface call is returned to the vSTB.
  • the second channel establishment module 31 is configured to send a login authentication request to a virtual set-top box vSTB management platform, where the login authentication request is used by the vSTB management platform to obtain a corresponding vSTB address; and receive the vSTB The vSTB address returned by the management platform sends a connection request to the corresponding virtual set-top box vSTB based on the vSTB address.
  • the STB clouding device provided in the above embodiment implements the STB clouding method
  • only the division of the above program modules is used for illustration.
  • the above steps can be allocated to different program modules to complete according to needs, that is, Divide the internal structure of the device into different program modules to complete all or part of the processing described above.
  • the STB cloudification device provided in the above-mentioned embodiment belongs to the same concept as the STB cloudification method embodiment applied to tSTB, and the implementation process is detailed in the method embodiment, which will not be repeated here.
  • the embodiments of the present application also provide a tSTB.
  • the tSTB can communicate with the vSTB management platform and the vSTB. Please refer to FIG. 16 again.
  • the tSTB includes a processor 35 and a storage device configured to run on the processor 35.
  • a storage medium 36 of a computer program wherein the processor 35 is configured to execute the steps of the STB cloudification method applied to tSTB provided in any embodiment of the present application when the processor 35 is configured to run the computer program.
  • the processor 35 and the storage medium 36 do not mean that the corresponding number is one, but may be one or more.
  • the tSTB further includes a memory 37, a network interface 38, and a system bus 39 connecting the processor 35, the memory 37, the network interface 38, and the storage medium 36.
  • the storage medium 36 stores an operating system and an STB clouding device configured to implement the STB clouding method provided in the embodiments of the present application.
  • the processor 35 is configured to improve calculation and control capabilities and support the operation of the entire tSTB.
  • the memory 37 is used to provide an environment for the operation of the STB cloudification method in the storage medium 36, and the network interface 28 is set to communicate with the vSTB management platform and vSTB, receive or send data, for example, send a login authentication request to the vSTB management platform , Receive the vSTB address returned by the vSTB management platform, receive the processing result returned by the vSTB, etc.
  • the embodiment of the present application also provides a computer storage medium, for example, includes a memory storing a computer program, and the computer program can be executed by a processor to complete the steps of the STB cloudification method provided in any embodiment of the present application.
  • the computer storage medium may be FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM, etc.; it may also be various devices including one or any combination of the foregoing memories.

Abstract

Embodiments of the present application disclose a set-top box (STB) cloudification method and system, a virtual set-top box (vSTB), a virtual set-top box (vSTB) management platform, a thin set-top box (tSTB), and a storage medium. The STB cloudification method comprises: obtaining a connection request sent by a thin set-top box (tSTB), and establishing, on the basis of the connection request, a connection channel with the tSTB; and receiving input information sent by the tSTB via the connection channel and corresponding to a peripheral device of the tSTB, determining, on the basis of the received input information, a service application type and obtaining a processing result corresponding to the service application type, and returning the processing result to the tSTB.

Description

STB云化方法、系统、瘦STB、虚拟STB及平台、存储介质STB cloudification method, system, thin STB, virtual STB and platform, storage medium
本申请要求在2019年01月23日提交中国专利局、申请号为201910064140.8的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office with application number 201910064140.8 on January 23, 2019, and the entire content of this application is incorporated into this application by reference.
技术领域Technical field
本申请涉及云计算技术,例如涉及一种机顶盒STB云化方法及系统、虚拟机顶盒vSTB、虚拟机顶盒vSTB管理平台、瘦机顶盒tSTB以及存储介质。This application relates to cloud computing technology, such as a method and system for cloudification of a set-top box STB, a virtual set-top box vSTB, a virtual set-top box vSTB management platform, a thin set-top box tSTB, and a storage medium.
背景技术Background technique
如今的电视技术已经发展到了数字化时代,数字电视技术的应运而生给人们的生活带来了前所未有的改变,数字电视也已经走进到千家万户。其中,机顶盒(Set-Top Box,STB)作为家庭多媒体业务的入口,可以通过人机交互触发,与系统侧的电子节目指南(Electronic Program Guide,EPG)、内容分发网络(Content Delivery Network,CDN)、游戏、广告和消息等服务器之间通讯交互,加载和呈现相关业务,是数字电视中至关重要的技术设备。Today's television technology has developed into the digital age. The emergence of digital television technology has brought unprecedented changes to people's lives, and digital television has also entered thousands of households. Among them, the set-top box (Set-Top Box, STB), as the entrance to the home multimedia business, can be triggered by human-computer interaction, and can interact with the electronic program guide (EPG) and content delivery network (Content Delivery Network, CDN) on the system side. The communication and interaction between servers, such as games, advertisements and messages, and loading and presenting related services are crucial technical equipment in digital TV.
随着网络和多媒体技术的迅猛发展,随着用户对业务发展的美好期望和业务体验的极致追求,对STB的硬件处理能力、业务的更新迭代速度不断提出更高的要求。面对这样的发展趋势,当前通过STB硬件不断更新换代的发展模式存在如下痛点:从单一业务向智慧家庭方向发展,新业务上线的STB适配成本高,部署周期长;随着互联网化,业务快速迭代,从而STB软件更新需求越来越多,工作量大,运维成本高。With the rapid development of network and multimedia technologies, as users’ desire for business development and the ultimate pursuit of business experience, higher requirements are continuously placed on STB hardware processing capabilities and business update iteration speed. Faced with such a development trend, the current development model of continuous upgrading of STB hardware has the following pain points: from a single service to a smart home, the cost of STB adaptation for new services is high and the deployment cycle is long; with the Internet, services Rapid iteration, so that there are more and more STB software update requirements, heavy workload, and high operation and maintenance costs.
发明内容Summary of the invention
本申请实施例提供一种机顶盒STB云化方法及系统、虚拟机顶盒vSTB、虚拟机顶盒vSTB管理平台、瘦机顶盒tSTB以及存储介质,能够便于业务快速部署、快速迭代且成本更低。The embodiments of the present application provide a method and system for cloudification of a set-top box STB, a virtual set-top box vSTB, a virtual set-top box vSTB management platform, a thin set-top box tSTB, and a storage medium, which can facilitate rapid business deployment, rapid iteration, and lower cost.
本申请实施例的技术方案是这样实现的:The technical solutions of the embodiments of the present application are implemented as follows:
一种机顶盒STB云化方法,应用于虚拟机顶盒vSTB,包括:获取瘦机顶盒tSTB发送的连接请求,基于所述连接请求建立与所述tSTB之间的连接通道;接收所述tSTB通过所述连接通道发送的对应所述tSTB的外围设备的输入信息,基于接收到的输入信息确定业务应用的类型并获得与所述业务应用的类型对应的处理结果,将所述处理结果返回给所述tSTB。A cloudification method for STB of a set-top box, applied to a virtual set-top box vSTB, includes: obtaining a connection request sent by a thin set-top box tSTB, establishing a connection channel with the tSTB based on the connection request; receiving the tSTB through the connection channel The sent input information of the peripheral device corresponding to the tSTB determines the type of service application based on the received input information and obtains a processing result corresponding to the type of the service application, and returns the processing result to the tSTB.
一种机顶盒STB云化方法,应用于虚拟机顶盒vSTB管理平台,包括:获取tSTB发送的登陆认证请求,根据所述登陆认证请求发送vSTB资源分配请求给所述vSTB;接收所述vSTB返回的vSTB地址,并将所述vSTB地址发送给所述tSTB,所述vSTB地址用于所述tSTB与对应的所述vSTB之间建立连接通道。A cloudification method for set-top box STB, applied to a virtual set-top box vSTB management platform, includes: obtaining a login authentication request sent by tSTB, sending a vSTB resource allocation request to the vSTB according to the login authentication request; receiving the vSTB address returned by the vSTB , And send the vSTB address to the tSTB, where the vSTB address is used to establish a connection channel between the tSTB and the corresponding vSTB.
一种机顶盒STB云化方法,应用于瘦机顶盒tSTB,包括:向对应的虚拟机顶盒vSTB发送连接请求,根据所述vSTB返回的连接响应建立与所述vSTB之间的连接通道;接收对应所述tSTB的外围设备发送的输入信息,将所述输入信息通过所述连接通道发送给所述vSTB,接收所述vSTB返回的与业务应用的类型对应的处理结果,其中,所述业务应用的类型基于所述输入信息确定。A cloudification method for set-top box STB, applied to thin set-top box tSTB, includes: sending a connection request to the corresponding virtual set-top box vSTB, establishing a connection channel with the vSTB according to the connection response returned by the vSTB; receiving the corresponding tSTB The input information sent by the peripheral device, the input information is sent to the vSTB through the connection channel, and the processing result corresponding to the type of the service application returned by the vSTB is received, wherein the type of the service application is based on the The input information is confirmed.
一种虚拟机顶盒vSTB,包括处理器和设置为存储能够在处理器上运行的计算机程序的存储器;其中,所述处理器设置为运行所述计算机程序时,执行本申请实施例所述的应用于vSTB的STB云化方法。A virtual set-top box vSTB includes a processor and a memory configured to store a computer program that can run on the processor; wherein, when the processor is configured to run the computer program, it executes the application described in the embodiments of this application. The STB cloudification method of vSTB.
一种虚拟机顶盒vSTB管理平台,包括处理器和设置为存储能够在处理器上运行的计算机程序的存储器;其中,所述处理器设置为运行所述计算机程序时,执行本申请实施例所述的应用于vSTB管理平台的STB云化方法。A virtual set-top box vSTB management platform includes a processor and a memory configured to store a computer program that can run on the processor; wherein the processor is configured to execute the computer program described in the embodiment of the present application when the processor is configured to run the computer program The STB cloudification method applied to the vSTB management platform.
一种瘦机顶盒tSTB,包括处理器和设置为存储能够在处理器上运行的计算机程序的存储器;其中,所述处理器设置为运行所述计算机程序时,执行本申请实施例所述的应用于tSTB的STB云化方法。A thin set-top box tSTB includes a processor and a memory configured to store a computer program that can run on the processor; wherein, when the processor is configured to run the computer program, the application described in the embodiment of the application is executed STB cloudification method of tSTB.
一种存储介质,所述存储介质中存储有可执行指令,所述可执行指令被处理器执行时实现本申请实施例所述的STB云化方法。A storage medium in which executable instructions are stored, and when the executable instructions are executed by a processor, the STB cloudification method described in the embodiments of the present application is implemented.
附图说明Description of the drawings
图1为本申请一实施例中机顶盒STB云化系统的架构图;FIG. 1 is an architecture diagram of a STB cloudification system for a set-top box in an embodiment of the application;
图2为本申请一实施例中机顶盒STB云化方法的流程示意图;2 is a schematic flow chart of a cloudification method for STB of a set-top box in an embodiment of this application;
图3为本申请另一实施例中机顶盒STB云化方法的流程示意图;FIG. 3 is a schematic flowchart of a method for cloudification of a set-top box in another embodiment of this application;
图4为本申请另一实施例中机顶盒STB云化方法的流程示意图;FIG. 4 is a schematic flowchart of a method for cloudification of a set-top box in another embodiment of the application;
图5为本申请一示例实施例提供的STB云化方法的流程示意图;FIG. 5 is a schematic flowchart of an STB cloudification method provided by an exemplary embodiment of this application;
图6为本申请另一示例实施例提供的STB云化方法的流程示意图;6 is a schematic flowchart of an STB cloudification method provided by another exemplary embodiment of this application;
图7为本申请一实施例中显示数据的处理效果示意图;FIG. 7 is a schematic diagram of the processing effect of display data in an embodiment of the application;
图8为本申请另一示例实施例提供的STB云化方法的流程示意图;FIG. 8 is a schematic flowchart of an STB cloudification method provided by another exemplary embodiment of this application;
图9为STB云化远程调用的处理效果示意图;Figure 9 is a schematic diagram of the processing effect of STB cloud-based remote calling;
图10为本申请一示例实施例提供的STB云化方法的流程示意图;FIG. 10 is a schematic flowchart of an STB cloudification method provided by an exemplary embodiment of this application;
图11为本申请一示例实施例提供的STB云化方法的流程示意图;FIG. 11 is a schematic flowchart of an STB cloudification method provided by an exemplary embodiment of this application;
图12为本申请一示例实施例提供的STB云化方法的流程示意图;FIG. 12 is a schematic flowchart of an STB cloudification method provided by an exemplary embodiment of this application;
图13为本申请一示例实施例提供的STB云化方法的流程示意图;FIG. 13 is a schematic flowchart of an STB cloudification method provided by an exemplary embodiment of this application;
图14为本申请一实施例中提供的vSTB的结构示意图;FIG. 14 is a schematic structural diagram of a vSTB provided in an embodiment of this application;
图15为本申请一实施例中提供的vSTB管理平台的结构示意图;15 is a schematic structural diagram of a vSTB management platform provided in an embodiment of this application;
图16为本申请一实施例中提供的tSTB的结构示意图。FIG. 16 is a schematic structural diagram of tSTB provided in an embodiment of this application.
具体实施方式detailed description
以下结合说明书附图及示例实施例对本申请技术方案做进一步的详细阐述。除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述示例的实施例的目的,不是旨在于限制本申请。本文所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。The technical solution of the present application will be further described in detail below in conjunction with the drawings and exemplary embodiments of the specification. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of this application. The terminology used in the specification of the application herein is only for the purpose of describing exemplary embodiments, and is not intended to limit the application. The term "and/or" as used herein includes any and all combinations of one or more related listed items.
在以下的描述中,涉及到“一些实施例”的表述,其描述了所有可能实施例的子集,但是应当理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。In the following description, the expression "some embodiments" is involved, which describes a subset of all possible embodiments, but it should be understood that "some embodiments" may be the same subset or different subsets of all possible embodiments , And can be combined with each other without conflict.
对本申请进行进一步详细说明之前,对本申请实施例中涉及的名词和术语进行说明,本申请实施例中涉及的名词和术语适用于如下的解释。Before describing the application in further detail, the terms and terms involved in the embodiments of the application are described, and the terms and terms involved in the embodiments of the application are applicable to the following explanations.
1)云化应用,是指业务应用完全在云端运行和处理。1) Cloud-based applications mean that business applications are completely run and processed in the cloud.
2)半云化应用,是指业务应用一分为二,包括在云端运行和处理的云化模块、以及在物理STB侧运行和处理的非云化模块,通过云端和物理STB侧协作实现业务应用的运行和处理。2) Semi-cloud application means that business applications are divided into two, including cloud modules that run and process in the cloud, and non-cloud modules that run and process on the physical STB side, and realize business through collaboration between the cloud and the physical STB side Application operation and processing.
3)本地应用,是指业务应用完全在物理STB侧运行和处理。3) Local applications mean that business applications are completely run and processed on the physical STB side.
相关技术中,本申请的申请人在研究中发现,物理STB只作为人机交互输入和输出的设备使用,所有的业务应用完全在云端运行、处理和交互,该方法使得对云端服务器的硬件配置、性能要求很高,所有业务应用都要在云端进行适配移植,云化成本和代价高昂,难以实施。而且,其中对于部分较为独立封闭的业务应用,需要物理STB与不同业务应用之间频繁的交互和互操作,而这些业务应用又通常需要进行频繁定制修改,使得该类业务应用的实施更加难以实现。In related technologies, the applicant of this application has discovered in research that the physical STB is only used as a device for human-computer interaction input and output, and all business applications are completely run, processed and interacted in the cloud. This method makes the hardware configuration of the cloud server , Performance requirements are very high, all business applications must be adapted and transplanted in the cloud, cloudification costs and costs are high, and it is difficult to implement. Moreover, for some relatively independent and closed business applications, frequent interactions and interoperations between the physical STB and different business applications are required, and these business applications usually require frequent customization and modification, making the implementation of such business applications more difficult to achieve .
基于此,本申请通过对业务应用进行分类,并通过tSTB和对应的vSTB之间建立连接通道,能够实现tSTB和对应的vSTB之间不同类型的业务应用,如不同云化程度的业务应用的处理,能够通过将业务应用形成不同云化程度的类型,并通过tSTB和对应的vSTB的协同交互而实现业务应用的处理,从而便于业务快速部署、快速迭代;其次,实现业务部署、升级需求时均可以降低对STB的硬件的依赖,从而可持续降低成本,兼顾成本和业务发展的持续性。Based on this, this application classifies business applications and establishes a connection channel between tSTB and the corresponding vSTB to realize different types of business applications between tSTB and the corresponding vSTB, such as the processing of business applications with different degrees of cloudification , Can realize business application processing by forming business applications into different cloudification levels, and through the collaborative interaction between tSTB and corresponding vSTB, so as to facilitate rapid business deployment and rapid iteration; secondly, realizing business deployment and upgrade requirements. It can reduce the dependence on STB hardware, thereby continuously reducing costs, and taking into account the continuity of cost and business development.
请参阅图1,为本申请一实施例提供的机顶盒STB云化系统的架构图,该 STB云化系统包括虚拟机顶盒(virtual Set Top Box,vSTB)100、虚拟机顶盒管理平台(vSTB管理平台)200以及瘦机顶盒tSTB(thin Set Top Box,tSTB)300。tSTB300是指连接电视机与外部信号源之间的物理STB,可以作为人机交互的输入设备,以获取对应的本端设备,如遥控器、键盘、手柄、USB外设等输入的语音、手势、指令消息等输入信息,并能够基于业务应用的处理结果使其在电视上进行呈现。vSTB100是指能够与tSTB300通过网络互连以实现STB云化方法的程序或者是指加载有所述相应程序的服务器。vSTB管理平台200是指管理vSTB资源,通过程序调用、网络通讯或其它机制进行交互的以实现STB云化方法的程序或者是指加载有所述相应程序的服务器。所述vSTB100和所述vSTB管理平台200可以是分离的物理服务器,或者为相同的物理服务器。其中,tSTB300与vSTB100、vSTB管理平台200之间可以通过传输控制协议/网协(Transmission Control Protocol/Internet Protocol,TCP/IP)网络互联。Please refer to Fig. 1, which is an architecture diagram of a STB cloudification system for a set-top box provided by an embodiment of this application. The STB cloudification system includes a virtual set-top box (vSTB) 100 and a virtual set-top box management platform (vSTB management platform) 200 And thin Set Top Box tSTB (thin Set Top Box, tSTB) 300. tSTB300 refers to the physical STB that connects the TV and the external signal source. It can be used as a human-computer interaction input device to obtain the corresponding local device, such as remote control, keyboard, handle, USB peripherals, etc. input voice and gestures , Instruction messages and other input information, and can be displayed on the TV based on the processing results of the business application. The vSTB100 refers to a program that can be interconnected with the tSTB300 through a network to implement the STB cloudification method or refers to a server loaded with the corresponding program. The vSTB management platform 200 refers to a program that manages vSTB resources and interacts through program calls, network communications, or other mechanisms to implement the STB cloudification method, or refers to a server loaded with the corresponding program. The vSTB 100 and the vSTB management platform 200 may be separate physical servers or the same physical server. Among them, the tSTB300, vSTB100, and vSTB management platform 200 can be interconnected through a Transmission Control Protocol/Internet Protocol (TCP/IP) network.
请参阅图2,为本申请一实施例提供的STB云化方法,可应用于图1所示的vSTB,该方法包括如下步骤.Please refer to Figure 2, the STB cloudification method provided by an embodiment of this application can be applied to the vSTB shown in Figure 1, the method includes the following steps.
步骤101,获取瘦机顶盒tSTB发送的连接请求,基于所述连接请求建立与所述tSTB之间的连接通道. Step 101, obtain a connection request sent by a thin set-top box tSTB, and establish a connection channel with the tSTB based on the connection request.
步骤103,接收所述tSTB通过所述连接通道发送的对应本端设备的输入信息,基于所述输入信息确定业务应用的类型并获得对应的处理结果返回给所述tSTB。Step 103: Receive input information corresponding to the local device sent by the tSTB through the connection channel, determine the type of service application based on the input information, obtain a corresponding processing result, and return it to the tSTB.
这里,tSTB与对应的vSTB之间的连接通道,是指基于tSTB与对应的vSTB资源之间的对应关系,如根据tSTB的身份标识所确定的对应vSTB地址,所建立的用于实现tSTB与该对应vSTB之间网络互连的通道。业务应用的类型,是指将业务应用根据其所实现的业务进行分类的类别。机顶盒作为家庭多媒体业务的入口,可以通过人机交互触发,与不同的业务应用,如电子节目指南(Electronic Program Guide,EPG)、内容分发网络(Content Delivery Network,CDN)、游戏、广告和消息等服务器之间通讯交互等实现不同的业务,并将其分类为云化应用、半云化应用以及本地应用这三个主要的业务应用的类型。输入信息,是指tSTB接收到的对应本端设备,如遥控器、键盘、手柄、USB外设等输入的语音、手势、指令消息等输入信息,也即,用户可以通过操作tSTB对应的遥控器、键盘、手柄、USB外设等本端设备,以输入启动指定业务应用的操作指令。Here, the connection channel between the tSTB and the corresponding vSTB refers to the corresponding vSTB address based on the corresponding relationship between the tSTB and the corresponding vSTB resource, such as the corresponding vSTB address determined according to the identity of the tSTB. Corresponds to the network interconnection channel between vSTBs. The type of business application refers to the category that classifies business applications according to the business they implement. As the entrance of home multimedia services, set-top boxes can be triggered by human-computer interaction and interact with different business applications, such as Electronic Program Guide (EPG), Content Delivery Network (CDN), games, advertisements and messages, etc. The communication and interaction between servers implement different services and classify them into three main types of business applications: cloud applications, semi-cloud applications, and local applications. Input information refers to the input information received by tSTB corresponding to the local equipment, such as voice, gesture, and command messages input by remote control, keyboard, handle, USB peripherals, etc., that is, the user can operate the remote control corresponding to tSTB , Keyboards, handles, USB peripherals and other local devices to input operating instructions to start designated business applications.
本申请上述实施例中,vSTB通过与对应的tSTB之间所建立的连接通道,能够接收tSTB发送的对应本端设备的输入信息,输入信息相应可以是用户通过操作tSTB对应的本端设备以输入当前业务需求,vSTB基于接收到的输入信息确定业务应用的类型并获得对应的处理结果返回给所述tSTB,如此,可以通过 对业务应用进行分类,并通过tSTB和对应的vSTB之间建立连接通道,能够实现tSTB和对应的vSTB之间不同类型的业务应用,如不同云化程度的业务应用的处理,通过将业务应用形成不同云化程度的类型,并通过tSTB和对应的vSTB的协同交互而实现业务应用的处理,从而便于业务快速部署、快速迭代;其次,业务部署、升级均可以降低对STB的硬件的依赖,从而可持续降低成本,兼顾成本和业务发展的持续性。In the above-mentioned embodiments of this application, the vSTB can receive the input information of the corresponding local device sent by the tSTB through the connection channel established with the corresponding tSTB. The input information can be input by the user by operating the local device corresponding to the tSTB For current business requirements, vSTB determines the type of business application based on the received input information and obtains the corresponding processing result and returns it to the tSTB. In this way, the business application can be classified and a connection channel can be established between the tSTB and the corresponding vSTB , Can realize different types of business applications between tSTB and corresponding vSTB, such as the processing of business applications with different degrees of cloudification, by forming business applications into types with different degrees of cloudification, and through the collaborative interaction of tSTB and corresponding vSTB Realize the processing of business applications, thereby facilitating rapid business deployment and rapid iteration; secondly, business deployment and upgrades can reduce the reliance on STB hardware, thereby continuously reducing costs, taking into account the continuity of cost and business development.
在一些实施例中,所述基于接收到的输入信息确定业务应用的类型并获得对应的处理结果返回给所述tSTB,包括:基于所述输入信息确定业务应用为云化应用的情况下,与应用服务端进行交互得到显示数据和/或音频数据,将所述显示数据和/或音频数据作为处理结果返回给所述tSTB。In some embodiments, the determining the type of the business application based on the received input information and obtaining the corresponding processing result to return to the tSTB includes: in the case of determining that the business application is a cloud application based on the input information, and The application server interacts to obtain display data and/or audio data, and returns the display data and/or audio data to the tSTB as a processing result.
这里,云化应用是指完全在云端运行和处理的业务应用。vSTB基于接收到的tSTB发送的输入信息,确定业务应用为云化应用时,在vSTB侧直接进行处理,vSTB与对应的应用服务端进行交互得到响应该输入信息的显示数据和/或音频数据,并将响应的显示数据和/或音频数据作为处理结果返回给tSTB。其中,显示数据可以包括如下至少其中一种:图形显示数据、视频显示数据、图形叠加视频显示数据。Here, cloud-based applications refer to business applications that run and process entirely in the cloud. Based on the input information sent by the received tSTB, when the vSTB determines that the business application is a cloud application, it is processed directly on the vSTB side, and the vSTB interacts with the corresponding application server to obtain display data and/or audio data in response to the input information. And the response display data and/or audio data are returned to tSTB as the processing result. The display data may include at least one of the following: graphic display data, video display data, and graphic superimposed video display data.
在一些实施例中,所述基于所述输入信息与应用服务端进行交互得到显示数据和/或音频数据,将所述显示数据和/或音频数据作为处理结果返回给所述tSTB,包括:基于所述输入信息与业务系统进行交互得到图形显示数据;基于所述输入信息与CDN服务器进行交互得到视频显示数据;将所述图形显示数据与所述视频显示数据进行像素级叠加混合,将混合后的所述图形显示数据和所述视频显示数据作为处理结果返回给所述tSTB。In some embodiments, the obtaining display data and/or audio data by interacting with the application server based on the input information, and returning the display data and/or audio data to the tSTB as a processing result includes: The input information interacts with the business system to obtain graphic display data; based on the input information interacts with the CDN server to obtain video display data; the graphic display data and the video display data are superimposed and mixed at the pixel level, and the mixed The graphic display data and the video display data of are returned to the tSTB as a processing result.
这里,针对云化应用,在vSTB侧直接进行处理,vSTB与对应的业务系统交互得到响应所述输入信息的图形显示数据,及与对应的CDN服务器进行交互得到响应所述输入信息的视频显示数据,并将所述显示在vSTB侧完成叠加混合,并将响应的叠加混合后的所述图形显示数据和视频显示数据作为处理结果返回给tSTB。由于所有的显示都在vSTB侧完成叠加混合,从而只需将其中的RGB分量进行视频编码流化传送给tSTB。Here, for cloud applications, processing is directly performed on the vSTB side. The vSTB interacts with the corresponding business system to obtain graphic display data in response to the input information, and interacts with the corresponding CDN server to obtain video display data in response to the input information , And complete the superimposition and mixing of the display on the vSTB side, and return the graphic display data and video display data after the response superimposition and mixing to the tSTB as a processing result. Since all displays are superimposed and mixed on the vSTB side, only the RGB components need to be video encoded and streamed to tSTB.
在一些实施例中,所述将所述显示数据和远程调用指令作为处理结果返回给所述tSTB之前,包括:对所述显示数据中的RGB分量进行视频编码流化,对所述显示数据中的())阿尔法(Alpha)分量进行压缩编码流化;将所述RGB分量的视频编码流和Alpha分量的压缩编码流作为返回给所述tSTB的所述显示数据。In some embodiments, before returning the display data and the remote call instruction to the tSTB as a processing result, the method includes: performing video encoding and streaming on the RGB components in the display data, The ()) Alpha (Alpha) component is compressed and encoded and streamed; the video encoding stream of the RGB component and the compressed encoding stream of the Alpha component are used as the display data returned to the tSTB.
这里,针对半云化应用,分别包括在vSTB侧直接进行处理以及在tSTB侧 进行处理的不同业务部分。其中,在vSTB侧进行处理获得的显示数据发送给tSTB进行展示之前,所述vSTB还包括对所述显示数据中的RGB分量进行视频编码流化,对所述显示数据中的Alpha分量进行压缩编码流化,并将所述RGB分量的视频编码流和Alpha分量的压缩编码流作为返回给所述tSTB的所述显示数据。如此,对于vSTB发送的显示数据,在tSTB侧需要同时接收RGB分量的视频编码流和Alpha分量的压缩编码流,进行视频解码或解压缩处理,将视频解码后的RGB数据和解压缩后的Alpha数据合并还原成RGBA显示数据,然后再进行呈现,实现vSTB侧处理结果和tSTB侧处理结果的无缝叠加、融合一体。Here, for semi-cloud applications, different business parts that are directly processed on the vSTB side and processed on the tSTB side are included respectively. Wherein, before the display data obtained by processing on the vSTB side is sent to tSTB for display, the vSTB also includes performing video encoding and streaming on the RGB components in the display data, and compressing and encoding the Alpha components in the display data Streaming, and using the video encoding stream of the RGB component and the compression encoding stream of the Alpha component as the display data returned to the tSTB. In this way, for the display data sent by vSTB, the tSTB side needs to receive the video encoding stream of RGB component and the compressed encoding stream of Alpha component at the same time, and perform video decoding or decompression processing to decode the decoded RGB data and decompressed Alpha data. Merge and restore to RGBA display data, and then present it again to achieve seamless superposition and integration of vSTB-side processing results and tSTB-side processing results.
本申请上述实施例中,在半云化应用的场景下,相对于vSTB直接将显示数据的RGB分量的视频编码流发送给tSTB的方案相比,确保Alpha透明度分量不会丢失,避免tSTB还原后由于缺少Alpha透明度,与本地显示内容叠加时,vSTB侧显示会完全覆盖tSTB侧本地显示,导致合成后的显示异常(即tSTB侧本地显示不可见)的情况。In the above-mentioned embodiment of the present application, in a semi-cloud application scenario, compared to the scheme of directly sending the video encoding stream of the RGB component of the display data to tSTB by vSTB, it ensures that the Alpha transparency component will not be lost and avoids tSTB restoration. Due to the lack of alpha transparency, the vSTB side display will completely cover the tSTB side local display when superimposed with the local display content, resulting in abnormal display after synthesis (that is, the local display on the tSTB side is not visible).
在一些实施例中,所述将所述显示数据和远程调用指令作为处理结果返回给所述tSTB之前,包括:截获云端应用的接口调用并对所述接口调用类型进行判断;确定所述接口调用为vSTB侧处理的调用类型时,在本端处理所述接口调用;确定所述接口调用为非vSTB侧处理的调用类型时,将所述接口调用作为返回给所述tSTB的远程调用指令。In some embodiments, before returning the display data and the remote call instruction as the processing result to the tSTB, the method includes: intercepting the interface call of the cloud application and determining the type of the interface call; determining the interface call When it is a call type processed by the vSTB side, the interface call is processed at the local end; when it is determined that the interface call is a call type that is not processed by the vSTB side, the interface call is used as a remote call instruction returned to the tSTB.
不同的业务应用之间往往存在互调用和互操作,如入口和门户级应用。针对云化应用和本地应用之间存在通讯交互和互操作的场景,vSTB截获云端应用的接口调用并对所述接口调用类型进行判断;确定所述接口调用为vSTB侧处理的调用类型时,在本端处理所述接口调用;确定所述接口调用为非vSTB侧处理的调用类型时,将所述接口调用作为返回给所述tSTB的远程调用指令,通过系统代理或应用代理将所述接口调用重定向传送给tSTB处理。tSTB基于该接口调用获得处理结果返回给vSTB,vSTB再将处理结果返回给云端应用,做到应用对云化产生的变化无感知。There are often mutual calls and interoperability between different business applications, such as portal and portal-level applications. For scenarios where there is communication interaction and interoperability between cloud applications and local applications, vSTB intercepts the interface calls of cloud applications and judges the type of interface calls; when it is determined that the interface calls are the call types processed by the vSTB side, The local end processes the interface call; when it is determined that the interface call is a call type that is not processed by the vSTB side, the interface call is used as a remote call instruction returned to the tSTB, and the interface is called through the system agent or application agent The redirection is sent to tSTB for processing. Based on this interface call, tSTB obtains the processing result and returns it to vSTB, and vSTB returns the processing result to the cloud application, so that the application is unaware of the changes caused by cloudification.
在一些实施例中,所述与应用服务端进行交互得到显示数据,将所述显示数据和远程调用指令作为处理结果返回给所述tSTB包括:与业务系统进行交互,得到可视通讯用户界面UI的界面图形显示数据,将所述界面图形显示数据以及媒体控制命令作为处理结果返回给所述tSTB。In some embodiments, said interacting with the application server to obtain display data, and returning the display data and remote call instruction as a processing result to the tSTB includes: interacting with a business system to obtain a visual communication user interface UI The interface graphic display data of the interface graphic display data and the media control command are returned to the tSTB as a processing result.
这里,针对半云化的可视通讯应用,用户界面UI、协议和业务处理在vSTB侧实现,媒体收发和编解码处理在tSTB侧本地实现,并最终在tSTB侧实现UI与视频的叠加混合。vSTB基于所述输入信息确定业务应用为半云化的可视通讯 应用的情况下,与业务系统进行交互,得到可视通讯用户界面UI的界面图形显示数据,将所述界面图形显示数据以及媒体控制命令作为处理结果返回给所述tSTB。tSTB接收vSTB返回的媒体控制命令进行处理,并将自身处理产生的视频显示数据与vSTB返回的可视通讯UI界面图形显示数据进行alhpa blend叠加混合,并进行呈现。Here, for the semi-cloud visual communication application, the user interface UI, protocol, and service processing are implemented on the vSTB side, and the media transceiving and coding and decoding processing are implemented locally on the tSTB side, and finally the UI and video are superimposed and mixed on the tSTB side. When vSTB determines that the business application is a semi-cloud visual communication application based on the input information, it interacts with the business system to obtain the interface graphic display data of the visual communication user interface UI, and displays the interface graphic data and media The control command is returned to the tSTB as a processing result. The tSTB receives the media control commands returned by the vSTB for processing, and blends the video display data generated by its own processing with the graphical display data of the visual communication UI interface returned by the vSTB, and displays them.
本申请上述实施例中,针对可视通讯应用的半云化处理,新的UI部署只需在云端对接一次,无需适配现网各类STB,也无需考虑STB硬件差异,使得相应业务部署不依赖于用户数和tSTB硬件配置,从而便于业务快速部署、快速迭代,兼顾成本和业务发展的持续性。In the above-mentioned embodiments of this application, for the semi-cloud processing of visual communication applications, the new UI deployment only needs to be connected once in the cloud, without adapting to various STBs on the existing network, and without considering the differences in STB hardware, so that the corresponding service deployment is not Depends on the number of users and tSTB hardware configuration, which facilitates rapid business deployment, rapid iteration, and both cost and business development continuity.
在一些实施例中,所述与应用服务端进行交互得到显示数据,将所述显示数据和远程调用指令作为处理结果返回给所述tSTB包括:与业务系统进行交互,得到云化应用的界面图形显示数据,将所述界面图形显示数据以及应用控制命令返回给所述tSTB。In some embodiments, said interacting with the application server to obtain display data, and returning the display data and remote call instructions as processing results to the tSTB includes: interacting with the business system to obtain the interface graphics of the cloud application Display data, returning the interface graphic display data and application control commands to the tSTB.
这里,针对云化应用与本地应用的切换,如vSTB侧云化的门户EPG应用拉起tSTB侧的本地应用。vSTB通过与业务系统进行交互获得云化应用的界面图形显示数据和应用控制命令返回给tSTB,以供tSTB处理应用控制命令并启动本地应用到前台,tSTB基于本地应用的启动接收用户输入并进行呈现,做到应用对云化产生的变化无感知。Here, for the switch between cloud-based applications and local applications, for example, the cloud-based portal EPG application on the vSTB side pulls up the local application on the tSTB side. vSTB interacts with the business system to obtain the interface graphic display data and application control commands of the cloud application and return it to tSTB for tSTB to process the application control commands and start the local application to the foreground. The tSTB receives user input and presents it based on the startup of the local application , So that the application is unaware of the changes caused by cloudification.
在一些实施例中,所述获取瘦机顶盒tSTB发送的连接请求,基于所述连接请求建立与所述tSTB之间的连接通道之前,包括:获取vSTB管理平台基于所述tSTB的登陆认证请求所发送的vSTB资源分配请求;基于所述vSTB资源分配请求返回对应的vSTB地址,所述vSTB地址用于返回给对应的所述tSTB。In some embodiments, the obtaining the connection request sent by the thin set-top box tSTB, before establishing a connection channel with the tSTB based on the connection request, includes: obtaining the login authentication request sent by the vSTB management platform based on the tSTB The vSTB resource allocation request; based on the vSTB resource allocation request, a corresponding vSTB address is returned, and the vSTB address is used to return to the corresponding tSTB.
这里,vSTB获取vSTB管理平台基于所述tSTB的登陆认证请求所发送的vSTB资源分配请求,基于所述vSTB资源分配请求返回对应的vSTB地址,所述vSTB地址用于返回给对应的所述tSTB,通过tSTB向vSTB管理平台发起登陆认证,通过vSTB管理平台认证通过后为tSTB分配vSTB资源,并将vSTB地址返回给tSTB,以供tSTB可以基于该vSTB地址发起连接请求并建立连接通道。Here, the vSTB obtains the vSTB resource allocation request sent by the vSTB management platform based on the tSTB login authentication request, and returns the corresponding vSTB address based on the vSTB resource allocation request, and the vSTB address is used to return to the corresponding tSTB, Initiate login authentication to the vSTB management platform through tSTB, allocate vSTB resources to tSTB after passing the authentication of the vSTB management platform, and return the vSTB address to tSTB so that tSTB can initiate a connection request and establish a connection channel based on the vSTB address.
请参阅图3,本申请实施例另一方面还提供一种机顶盒STB云化方法,可以应用于如图1所示的vSTB管理平台,该方法包括如下步骤。Referring to FIG. 3, another aspect of the embodiment of the present application also provides a cloudification method for STB of a set-top box, which can be applied to the vSTB management platform shown in FIG.
步骤201,获取tSTB发送的登陆认证请求,根据所述登陆认证请求发送vSTB资源分配请求给所述vSTB。Step 201: Obtain a login authentication request sent by the tSTB, and send a vSTB resource allocation request to the vSTB according to the login authentication request.
步骤203,接收所述vSTB返回的vSTB地址并发送给所述tSTB,所述vSTB地址用于所述tSTB与对应的所述vSTB之间建立连接通道。Step 203: Receive the vSTB address returned by the vSTB and send it to the tSTB, where the vSTB address is used to establish a connection channel between the tSTB and the corresponding vSTB.
这里,所述登陆认证请求携带有用于表征tSTB身份的标识信息。tSTB与 对应的vSTB之间建立连接通道,是指基于tSTB通过向vSTB管理平台发送登陆认证请求,接收该vSTB管理平台通过认证登陆确定对应的vSTB资源,tSTB与对应的vSTB资源之间建立的用于实现tSTB与该对应vSTB之间网络互连的通道。Here, the login authentication request carries identification information used to characterize the identity of the tSTB. The establishment of a connection channel between the tSTB and the corresponding vSTB is based on the tSTB sending a login authentication request to the vSTB management platform, and receiving the vSTB management platform to determine the corresponding vSTB resource through the authentication and login, and the use of the establishment between the tSTB and the corresponding vSTB resource To realize the network interconnection channel between tSTB and the corresponding vSTB.
本申请上述实施例中,vSTB管理平台通过基于tSTB发起的登陆认证请求向所述tSTB分配对应的vSTB资源,可以基于tSTB的标识信息对tSTB的身份进行识别,以便于为tSTB分配匹配的vSTB资源,实现对不同tSTB的个性化管理,如此,便于业务的快速部署、快速叠加,业务升级可以在云端完成并实时生效,无需考虑现网新老STB版本兼容,开发环境统一,降低STB软件开发、测试复杂度,缩短STB应用软件开发周期,降低研发成本;另一方面,vSTB管理平台实现对不同tSTB以及vSTB资源之间的对应管理,方便支持更多业务,延长tSTB生命周期。In the above-mentioned embodiment of this application, the vSTB management platform allocates corresponding vSTB resources to the tSTB through the login authentication request initiated by the tSTB, and can identify the identity of the tSTB based on the identification information of the tSTB, so as to allocate matching vSTB resources to the tSTB , To realize the personalized management of different tSTBs, so that it is convenient for the rapid deployment and superposition of services. The service upgrade can be completed in the cloud and take effect in real time. There is no need to consider the compatibility of the new and old STB versions on the existing network. The development environment is unified, which reduces STB software development Testing complexity shortens the STB application software development cycle and reduces R&D costs. On the other hand, the vSTB management platform implements the corresponding management of different tSTB and vSTB resources, which facilitates the support of more services and extends the life cycle of tSTB.
请参阅图4,本申请实施例另一方面还提供一种机顶盒STB云化方法,可以应用于如图1所示的tSTB,该方法包括如下步骤。Referring to FIG. 4, another aspect of the embodiment of the present application also provides a cloudification method for STB of a set-top box, which can be applied to the tSTB shown in FIG.
步骤301,向对应的虚拟机顶盒vSTB发送连接请求,根据所述vSTB返回的连接响应建立与所述vSTB之间的连接通道。Step 301: Send a connection request to the corresponding virtual set-top box vSTB, and establish a connection channel with the vSTB according to the connection response returned by the vSTB.
步骤303,接收对应的本端设备发送的输入信息,将所述输入信息通过所述连接通道发送给所述vSTB,接收所述vSTB基于所述输入信息确定业务应用的类型而返回的对应的处理结果。Step 303: Receive input information sent by the corresponding local device, send the input information to the vSTB through the connection channel, and receive the corresponding processing returned by the vSTB based on the input information to determine the type of service application result.
这里,tSTB与对应的vSTB之间的连接通道,是指基于tSTB与对应的vSTB资源之间的对应关系,如根据tSTB的身份标识所确定的对应vSTB地址,所建立的用于实现tSTB与该对应vSTB之间网络互连的通道。业务应用的类型,是指将业务应用根据其所实现的业务进行分类的类别。机顶盒作为家庭多媒体业务的入口,可以通过人机交互触发,与不同的业务应用,如电子节目指南(Electronic Program Guide,EPG)、内容分发网络(Content Delivery Network,CDN)、游戏、广告和消息等服务器之间通讯交互等实现不同的业务,并将其分类为云化应用、半云化应用以及本地应用这三个主要的业务应用的类型。输入信息,是指tSTB接收到的对应本端设备,如遥控器、键盘、手柄、USB外设等输入的语音、手势、指令消息等输入信息,也即,用户可以通过操作tSTB对应的遥控器、键盘、手柄、USB外设等本端设备,以输入启动指定业务应用的操作指令。Here, the connection channel between the tSTB and the corresponding vSTB refers to the corresponding vSTB address based on the corresponding relationship between the tSTB and the corresponding vSTB resource, such as the corresponding vSTB address determined according to the identity of the tSTB. Corresponds to the network interconnection channel between vSTBs. The type of business application refers to the category that classifies business applications according to the business they implement. As the entrance of home multimedia services, set-top boxes can be triggered by human-computer interaction and interact with different business applications, such as Electronic Program Guide (EPG), Content Delivery Network (CDN), games, advertisements and messages, etc. The communication and interaction between servers implement different services and classify them into three main types of business applications: cloud applications, semi-cloud applications, and local applications. Input information refers to the input information received by tSTB corresponding to the local equipment, such as voice, gesture, and command messages input by remote control, keyboard, handle, USB peripherals, etc., that is, the user can operate the remote control corresponding to tSTB , Keyboards, handles, USB peripherals and other local devices to input operating instructions to start designated business applications.
本申请上述实施例中,tSTB可以通过向vSTB管理平台发送登陆认证请求并认证通过后获得的vSTB地址,向对应的vSTB发送连接请求,从而与对应的vSTB之间建立连接通道,tSTB接收对应本端设备的输入信息通过连接通道发送给vSTB,用户可以通过操作tSTB对应的本端设备以输入表征当前业务需求 的输入信息,vSTB基于接收到的输入信息确定业务应用的类型并获得对应的处理结果返回给所述tSTB,如此,可以通过对业务应用进行分类,并通过tSTB和对应的vSTB之间建立连接通道,能够实现tSTB和对应的vSTB之间不同类型的业务应用,如不同云化程度的业务应用的处理,通过将业务应用形成不同云化程度的类型,并通过tSTB和对应的vSTB的协同交互而实现业务应用的处理,从而便于业务快速部署、快速迭代;其次,业务部署、升级均可以降低对STB的硬件的依赖,从而可持续降低成本,兼顾成本和业务发展的持续性。In the above-mentioned embodiments of this application, tSTB can send a connection request to the corresponding vSTB by sending a login authentication request to the vSTB management platform and the vSTB address obtained after the authentication is passed, thereby establishing a connection channel with the corresponding vSTB, and tSTB receives the corresponding copy. The input information of the end device is sent to the vSTB through the connection channel. The user can operate the local device corresponding to the tSTB to input input information that characterizes the current business needs. The vSTB determines the type of business application based on the received input information and obtains the corresponding processing result Return to the tSTB. In this way, by classifying the business applications and establishing a connection channel between the tSTB and the corresponding vSTB, different types of business applications between the tSTB and the corresponding vSTB can be realized, such as different cloudification levels. The processing of business applications is achieved by forming business applications into different types of cloudification levels, and through the collaborative interaction of tSTB and the corresponding vSTB, so as to facilitate rapid business deployment and rapid iteration; secondly, business deployment and upgrades It can reduce the dependence on STB hardware, thereby continuously reducing costs, and taking into account the continuity of cost and business development.
在一些实施例中,所述接收所述vSTB基于所述输入信息确定业务应用的类型而返回的对应的处理结果,包括:接收所述vSTB基于所述输入信息确定业务应用为云化应用的情况下,返回的显示数据和/或音频数据,并将所述显示数据和/或音频数据进行呈现。In some embodiments, the receiving the corresponding processing result returned by the vSTB determining the type of the service application based on the input information includes: receiving the case where the vSTB determines that the service application is a cloud application based on the input information Next, return the display data and/or audio data, and present the display data and/or audio data.
这里,tSTB通过连接通道接收vSTB基于输入信息确定业务应用为云化应用的情况下,返回的显示数据和/或音频数据,并将所述显示数据和/或音频数据进行呈现。云化应用是指完全在云端运行和处理的业务应用。vSTB基于接收到的tSTB发送的输入信息,确定业务应用为云化应用时,在vSTB侧直接进行处理,vSTB与对应的应用服务端进行交互得到响应该输入信息的显示数据和/或音频数据,并将响应的显示数据和/或音频数据作为处理结果返回给tSTB。其中,显示数据可以包括如下至少其中一种:图形显示数据、视频显示数据、图形叠加视频显示数据。Here, the tSTB receives the display data and/or audio data returned when the vSTB determines that the service application is a cloud application based on the input information through the connection channel, and presents the display data and/or audio data. Cloud-based applications refer to business applications that run and process entirely in the cloud. Based on the input information sent by the received tSTB, when the vSTB determines that the business application is a cloud application, it is processed directly on the vSTB side, and the vSTB interacts with the corresponding application server to obtain display data and/or audio data in response to the input information. And the response display data and/or audio data are returned to tSTB as the processing result. The display data may include at least one of the following: graphic display data, video display data, and graphic superimposed video display data.
在一些实施例中,所述接收所述vSTB基于所述输入信息确定业务应用的类型而返回的对应的处理结果,包括:接收所述vSTB基于所述输入信息确定业务应用为半云化应用的情况下,返回的显示数据和远程调用指令;根据所述显示数据中的RGB分量的视频编码流和Alpha分量的压缩编码流,分别解析出所述RGB分量和所述Alpha分量,将所述RGB分量和Alpha分量合并还原成RGBA显示数据;根据所述远程调用指令与应用服务端进行交互获得本端显示数据,将所述RGBA显示数据和所述本端显示数据进行叠加并呈现。In some embodiments, the receiving the corresponding processing result returned by the vSTB determining the type of the service application based on the input information includes: receiving the vSTB determining that the service application is a semi-cloud application based on the input information In this case, the returned display data and remote call instruction; according to the video encoding stream of the RGB component and the compressed encoding stream of the Alpha component in the display data, the RGB component and the Alpha component are respectively parsed, and the RGB The component and the Alpha component are combined and restored to RGBA display data; the local display data is obtained by interacting with the application server according to the remote call instruction, and the RGBA display data and the local display data are superimposed and presented.
这里,针对半云化应用,分别包括在vSTB侧直接进行处理以及在tSTB侧进行处理的不同业务部分。其中,在vSTB侧进行处理获得的显示数据发送给tSTB进行展示之前,所述vSTB还包括对所述显示数据中的RGB分量进行视频编码流化,对所述显示数据中的Alpha分量进行压缩编码流化,并将所述RGB分量的视频编码流和Alpha分量的压缩编码流作为返回给所述tSTB的所述显示数据。如此,对于vSTB发送的显示数据,在tSTB侧同时接收RGB分量的视频编码流和Alpha分量的压缩编码流,进行视频解码或解压缩处理,将视频解码后的RGB数据和解压缩后的Alpha数据合并还原成RGBA显示数据。对于vSTB发送的远程调用指令,在tSTB侧进行处理并获得本端显示数据,然后再 将所述RGBA显示数据和所述本端显示数据进行叠加并呈现,实现vSTB侧处理结果和tSTB侧处理结果的无缝叠加、融合一体。Here, for semi-cloud applications, it includes different business parts that are directly processed on the vSTB side and processed on the tSTB side. Wherein, before the display data obtained by processing on the vSTB side is sent to tSTB for display, the vSTB also includes performing video encoding and streaming on the RGB components in the display data, and compressing and encoding the Alpha components in the display data Streaming, and using the video encoding stream of the RGB component and the compression encoding stream of the Alpha component as the display data returned to the tSTB. In this way, for the display data sent by vSTB, the video encoding stream of RGB component and the compression encoding stream of Alpha component are simultaneously received on the tSTB side, and the video decoding or decompression processing is performed, and the decoded RGB data of the video and the decompressed Alpha data are combined Revert to RGBA display data. For the remote call command sent by the vSTB, process it on the tSTB side and obtain the local display data, and then superimpose and present the RGBA display data and the local display data to realize the processing result on the vSTB side and the processing result on the tSTB side The seamless superimposition and integration.
在一些实施例中,所述接收所述vSTB基于所述输入信息确定业务应用的类型而返回的对应的处理结果,包括:接收所述vSTB基于所述输入信息确定业务应用为半云化应用的情况下,返回的显示数据和非vSTB侧处理的调用接口,处理所述调用接口并返回对应的远程调用结果给所述vSTB。In some embodiments, the receiving the corresponding processing result returned by the vSTB determining the type of the service application based on the input information includes: receiving the vSTB determining that the service application is a semi-cloud application based on the input information In this case, the returned display data and the call interface processed by the non-vSTB side process the call interface and return the corresponding remote call result to the vSTB.
不同的业务应用之间往往存在互调用和互操作。针对云化应用和本地应用之间存在通讯交互和互操作的场景,vSTB截获云端应用的接口调用并对所述接口调用类型进行判断;确定所述接口调用为vSTB侧处理的调用类型时,在vSTB本端处理所述接口调用;确定所述接口调用为非vSTB侧处理的调用类型时,将所述接口调用作为返回给所述tSTB的远程调用指令,通过系统代理或应用代理将所述接口调用重定向传送给tSTB处理。tSTB基于该接口调用获得处理结果返回给vSTB,vSTB再将处理结果返回给云端应用,做到应用的云化产生的变化无感知。There are often mutual calls and interoperability between different business applications. For scenarios where there is communication interaction and interoperability between cloud applications and local applications, vSTB intercepts the interface calls of cloud applications and judges the type of interface calls; when it is determined that the interface calls are the call types processed by the vSTB side, The vSTB processes the interface call locally; when it is determined that the interface call is a call type that is not processed on the vSTB side, the interface call is used as a remote call instruction returned to the tSTB, and the interface is transferred through the system agent or application agent. The call is redirected to tSTB for processing. Based on this interface call, tSTB obtains the processing result and returns it to vSTB, and vSTB returns the processing result to the cloud application, so that the changes caused by the cloudification of the application are unaware.
在一些实施例中,所述接收所述vSTB基于所述输入信息确定业务应用的类型而返回的对应的处理结果,包括:接收所述vSTB基于所述输入信息返回的可视通讯用户界面UI的界面图形显示数据以及媒体控制命令;基于所述媒体控制命令与CDN服务器进行交互得到视频显示数据,将所述界面图形显示数据和所述视频显示数据进行像素级叠加混合,将混合后的所述界面图形显示数据和所述视频显示数据进行呈现。In some embodiments, the receiving the corresponding processing result returned by the vSTB based on the input information to determine the type of the service application includes: receiving the visual communication user interface UI returned by the vSTB based on the input information Interface graphics display data and media control commands; based on the media control commands to interact with the CDN server to obtain video display data, the interface graphics display data and the video display data are superimposed and mixed at the pixel level, and the mixed The interface graphic display data and the video display data are presented.
这里,针对半云化的可视通讯应用,用户界面UI、协议和业务处理在vSTB侧实现,媒体收发和编解码处理在tSTB侧本地实现,并最终在tSTB侧实现UI与视频的叠加混合。vSTB基于所述输入信息确定业务应用为半云化的可视通讯应用的情况下,与业务系统进行交互,得到可视通讯用户界面UI的界面图形显示数据,将所述界面图形显示数据以及媒体控制命令作为处理结果返回给所述tSTB。tSTB接收vSTB返回的媒体控制命令进行处理,并将自身处理产生的视频显示数据与vSTB返回的可视通讯UI界面图形显示数据进行alhpa blend叠加混合,并进行呈现。Here, for the semi-cloud visual communication application, the user interface UI, protocol, and service processing are implemented on the vSTB side, and the media transceiving and coding and decoding processing are implemented locally on the tSTB side, and finally the UI and video are superimposed and mixed on the tSTB side. When vSTB determines that the business application is a semi-cloud visual communication application based on the input information, it interacts with the business system to obtain the interface graphic display data of the visual communication user interface UI, and displays the interface graphic data and media The control command is returned to the tSTB as a processing result. The tSTB receives the media control commands returned by the vSTB for processing, and blends the video display data generated by its own processing with the graphical display data of the visual communication UI interface returned by the vSTB, and displays them.
在一些实施例中,所述接收所述vSTB基于所述输入信息确定业务应用的类型而返回的对应的处理结果,包括:接收所述vSTB基于所述输入信息返回的云化应用的界面图形显示数据以及应用控制命令;基于所述应用控制命令启动本地应用进行呈现。In some embodiments, the receiving the corresponding processing result returned by the vSTB based on the input information to determine the type of the business application includes: receiving the interface graphic display of the cloud application returned by the vSTB based on the input information Data and application control commands; based on the application control commands, start local applications for presentation.
这里,针对云化应用与本地应用的切换,如vSTB侧云化的门户EPG应用拉起tSTB侧的本地应用。vSTB通过与业务系统进行交互获得云化应用的界面图形显示数据和应用控制命令返回给tSTB,以供tSTB处理应用控制命令并启 动本地应用到前台,tSTB基于本地应用的启动接收用户输入并进行呈现,做到对应用的云化产生的变化无感知。Here, for the switch between cloud-based applications and local applications, for example, the cloud-based portal EPG application on the vSTB side pulls up the local application on the tSTB side. vSTB interacts with the business system to obtain the interface graphic display data and application control commands of the cloud application and return it to tSTB so that tSTB can process the application control commands and start the local application to the foreground. The tSTB receives user input and presents it based on the startup of the local application , To be unaware of the changes caused by the cloudification of applications.
在一些实施例中,所述方法还包括:截获本地应用的接口调用并对所述接口调用类型进行判断;确定所述接口调用为tSTB侧处理的调用类型时,在本端处理所述接口调用;确定所述接口调用为非tSTB侧处理的调用类型时,将所述接口调用返回给所述vSTB。In some embodiments, the method further includes: intercepting the interface call of the local application and determining the type of the interface call; when it is determined that the interface call is the call type processed by the tSTB side, processing the interface call on the local end ; When it is determined that the interface call is a call type that is not processed on the tSTB side, the interface call is returned to the vSTB.
不同的业务应用之间往往存在互调用和互操作,如入口和门户级应用。针对云化应用和本地应用之间存在通讯交互和互操作的场景,tSTB截获本地应用的接口调用并对所述接口调用类型进行判断;确定所述接口调用为tSTB侧处理的调用类型时,在tSTB本端处理所述接口调用;确定所述接口调用为非tSTB侧处理的调用类型时,将所述接口调用返回vSTB,通过系统代理或应用代理将所述接口调用重定向传送给所述vSTB处理,实现对应用的云化产生的变化无感知。There are often mutual calls and interoperability between different business applications, such as portal and portal-level applications. For scenarios where there is communication interaction and interoperability between cloud applications and local applications, tSTB intercepts the interface calls of the local applications and judges the type of interface calls; when it is determined that the interface calls are the call types processed by the tSTB side, tSTB processes the interface call locally; when it is determined that the interface call is a call type that is not processed by the tSTB side, the interface call is returned to the vSTB, and the interface call is redirected to the vSTB through the system agent or application agent Processing to achieve unawareness of changes caused by the cloudification of applications.
在一些实施例中,所述向对应的虚拟机顶盒vSTB发送连接请求,包括:发送登陆认证请求给虚拟机顶盒vSTB管理平台,所述登陆认证请求用于所述vSTB管理平台获取对应的vSTB地址;接收所述vSTB管理平台返回的所述vSTB地址,基于所述vSTB地址向对应的虚拟机顶盒vSTB发送连接请求。In some embodiments, the sending a connection request to the corresponding virtual set-top box vSTB includes: sending a login authentication request to the virtual set-top box vSTB management platform, where the login authentication request is used by the vSTB management platform to obtain the corresponding vSTB address; receiving The vSTB address returned by the vSTB management platform sends a connection request to the corresponding virtual set-top box vSTB based on the vSTB address.
这里,tSTB向vSTB管理平台发起登陆认证,通过vSTB管理平台认证通过后为tSTB分配vSTB资源,并将vSTB地址返回给tSTB,以供tSTB可以基于该vSTB地址发起连接请求并建立连接通道。Here, tSTB initiates login authentication to the vSTB management platform, allocates vSTB resources to tSTB after passing the vSTB management platform authentication, and returns the vSTB address to tSTB so that tSTB can initiate a connection request based on the vSTB address and establish a connection channel.
为了能够对本申请实施例所提供的STB云化方法的实现流程有进一步了解,下面从STB云化系统实现STB云化方法的描述角度,结合多个示例实施例进行说明,请参阅图5,该方法包括如下步骤。In order to have a better understanding of the implementation process of the STB cloudification method provided by the embodiments of the present application, the following describes the STB cloudification method from the perspective of the STB cloudification system implementation of the STB cloudification method, combined with multiple example embodiments for description, please refer to Figure 5. The method includes the following steps.
步骤S11,tSTB向vSTB管理平台发起登录认证。Step S11, tSTB initiates login authentication to the vSTB management platform.
步骤S12,vSTB管理平台向vSTB发起分配vSTB资源请求。Step S12, the vSTB management platform initiates a vSTB resource allocation request to the vSTB.
步骤S13,vSTB管理平台获得分配的vSTB资源。Step S13, the vSTB management platform obtains the allocated vSTB resources.
步骤S14,vSTB管理平台返回vSTB地址给tSTB。Step S14, the vSTB management platform returns the vSTB address to tSTB.
步骤S15,tSTB向vSTB发起连接请求。Step S15: tSTB initiates a connection request to vSTB.
步骤S16,vSTB向tSTB返回连接响应。Step S16: vSTB returns a connection response to tSTB.
步骤S17,tSTB与vSTB之间建立连接通道。Step S17, a connection channel is established between tSTB and vSTB.
步骤S18,tSTB接收用户输入。Step S18, tSTB receives user input.
步骤S19,tSTB将用户输入通过连接通道传递给vSTB。In step S19, the tSTB transmits the user input to the vSTB through the connection channel.
步骤S191,vSTB接收用户输入并与业务系统进行业务交互。Step S191, the vSTB receives user input and performs business interaction with the business system.
步骤S192,vSTB将处理结果返回给tSTB。Step S192, the vSTB returns the processing result to tSTB.
步骤S193,tSTB呈现vSTB的处理结果。Step S193, tSTB presents the processing result of vSTB.
在另一实施例中,vSTB针对半云化应用对返回的显示数据的处理以避免对tSTB本地的显示结果的影响,请参阅图6,该方法包括如下步骤。In another embodiment, the vSTB processes the returned display data for the semi-cloud application to avoid the influence on the local display result of the tSTB. Please refer to FIG. 6, the method includes the following steps.
步骤S20,tSTB接收用户输入。Step S20, tSTB receives user input.
步骤S21,tSTB将用户输入通过连接通道传递给vSTB。In step S21, the tSTB transmits the user input to the vSTB through the connection channel.
步骤S23,vSTB处理用户输入,并产生显示处理结果,即RGBA数据。In step S23, the vSTB processes user input and generates a display processing result, namely RGBA data.
步骤S24,vSTB对显示数据RGB分量进行视频编码流化。Step S24, the vSTB performs video encoding and streaming on the RGB components of the display data.
步骤S25,vSTB对显示数据Alpha分量进行压缩编码流化。Step S25, the vSTB compresses, encodes, and streams the Alpha component of the display data.
步骤S26,vSTB发送显示数据RGB分量的视频编码流。Step S26, the vSTB sends the video encoding stream of the RGB components of the display data.
步骤S27,vSTB发送显示数据Alpha分量的压缩编码流。Step S27, the vSTB sends a compressed coded stream of the Alpha component of the display data.
步骤S28,tSTB接收RGB分量视频编码流,解出RGB分量。Step S28, tSTB receives the RGB component video coding stream, and decodes the RGB component.
步骤S29,tSTB接收Alpha分量压缩编码流,解出Alpha分量。Step S29, tSTB receives the Alpha component compression coded stream, and decodes the Alpha component.
步骤S291,tSTB将RGB分量与相应Alpha分量合并还原成RGBA数据。In step S291, tSTB combines the RGB component and the corresponding Alpha component to restore RGBA data.
步骤S292,tSTB将RGBA数据进行呈现。Step S292, tSTB presents the RGBA data.
请结合参阅图7,为云化显示数据的处理效果示意图,以vSTB侧EPG UI图形显示数据与tSTB侧视频显示数据叠加的应用场景为示例,其中①为EPG内嵌小视频的效果,②为mini EPG叠加在大视频上的效果,③为EPG半透明叠加在大视频上的效果,支持EPG每个像素透明度不同。Please refer to Figure 7 for a schematic diagram of the processing effect of cloud display data. Take the application scenario where the EPG UI graphic display data on the vSTB side and the video display data on the tSTB side are superimposed as an example, where ① is the effect of EPG embedded small video, ② is The effect of mini EPG superimposed on the large video, ③ is the effect of EPG semi-transparent superimposed on the large video, supporting the different transparency of each pixel of EPG.
在另一实施例中,针对云化云化应用与本地应用交互及互操作中远程调用的处理流程,请参阅图8,该方法包括如下步骤。In another embodiment, for the processing flow of remote invocation in the interaction between the cloud application and the local application and the interoperation, please refer to FIG. 8. The method includes the following steps.
步骤S30,tSTB接收用户输入。Step S30, tSTB receives user input.
步骤S31,tSTB将用户输入通过连接通道传递给vSTB。In step S31, the tSTB transmits the user input to the vSTB through the connection channel.
步骤S32,vSTB侧应用处理用户输入,并产生处理结果,包括系统调用。Step S32, the vSTB side application processes the user input and generates a processing result, including system calls.
步骤S33,vSTB截获系统调用。Step S33, the vSTB intercepts the system call.
步骤S34,对于vSTB侧处理的系统调用,在vSTB侧处理。Step S34, the system call processed on the vSTB side is processed on the vSTB side.
步骤S35,对于非vSTB侧处理的系统调用,传送给tSTB处理。In step S35, the system call processed on the non-vSTB side is transferred to tSTB processing.
步骤S36,tSTB处理vSTB的远程调用。Step S36, tSTB processes the remote invocation of vSTB.
步骤S37,tSTB返回远程调用结果给vSTB。Step S37, tSTB returns the remote call result to vSTB.
步骤S38,vSTB返回远程调用结果给云端应用。In step S38, the vSTB returns the remote call result to the cloud application.
请结合参阅图9,为云化远程调用的处理效果示意图,以机顶盒中应用_A云化为例,通过系统代理和应用代理的引入,使得云化应用和本地应用对云化都无感知。Please refer to Figure 9 for a schematic diagram of the processing effect of cloud-based remote calls. Taking the application _A cloud-based in the set-top box as an example, the introduction of system agents and application agents makes cloud-based applications and local applications unaware of cloudization.
在另一实施例中,请参阅图10,以实施典型应用场景为全云化的节目播放为例,该方法包括如下步骤。In another embodiment, referring to FIG. 10, taking the implementation of a program playing in a full cloud in a typical application scenario as an example, the method includes the following steps.
步骤700,tSTB启动vSTB客户端到前台并发起认证登录。Step 700, tSTB starts the vSTB client to the foreground and initiates authentication login.
步骤701,vSTB管理平台分配vSTB资源。Step 701: The vSTB management platform allocates vSTB resources.
步骤702,vSTB管理平台获得分配的vSTB资源。Step 702: The vSTB management platform obtains the allocated vSTB resources.
步骤703,vSTB管理平台返回vSTB地址给tSTB。Step 703, the vSTB management platform returns the vSTB address to tSTB.
步骤704,tSTB向vSTB发起连接请求。Step 704: tSTB initiates a connection request to vSTB.
步骤705,vSTB向tSTB返回连接响应。In step 705, the vSTB returns a connection response to the tSTB.
步骤706,tSTB与vSTB之间建立连接通道。In step 706, a connection channel is established between tSTB and vSTB.
步骤707,tSTB接收用户输入。Step 707, tSTB receives user input.
步骤708,tSTB将用户输入通过连接通道传递给vSTB。In step 708, the tSTB transmits the user input to the vSTB through the connection channel.
步骤709,vSTB接收用户输入并与业务系统进行交互。In step 709, the vSTB receives user input and interacts with the service system.
步骤710,vSTB与CDN服务器进行媒体交互。该CDN服务器为流媒体服务器。Step 710: The vSTB performs media interaction with the CDN server. The CDN server is a streaming media server.
步骤711,vSTB将处理产生的图形显示数据与视频显示数据进行像素级alpha blend叠加混合。In step 711, the vSTB performs pixel-level alpha blending and mixing of the graphic display data and the video display data generated by the processing.
步骤712,vSTB将处理结果,包括播放器单纯EPG图形、单纯视频、EPG图形叠加视频混合后的显示数据、或者音频数据等返回给tSTB。In step 712, the vSTB returns the processing result, including the player's pure EPG graphics, pure video, EPG graphics superimposed on video mixed display data, or audio data, to tSTB.
步骤713,tSTB呈现vSTB的处理结果。tSTB将vSTB的处理结果返回给电视机TV进行显示和音频呈现。Step 713, tSTB presents the processing result of vSTB. tSTB returns the processing result of vSTB to the TV for display and audio presentation.
在另一实施例中,请参阅图11,以实施典型应用场景为半云化的节目播放为例,EPG在vSTB侧云化实现,媒体播放在tSTB侧本地实现,最终在tSTB侧实现EPG与视频的叠加混合,该方法包括如下步骤。In another embodiment, referring to Fig. 11, taking a semi-cloud-based program playback in a typical application scenario as an example, EPG is implemented in the cloud on the vSTB side, media playback is implemented locally on the tSTB side, and finally EPG and The method of superimposing and mixing videos includes the following steps.
步骤800,tSTB启动vSTB客户端到前台并发起认证登录。Step 800, tSTB starts the vSTB client to the foreground and initiates authentication login.
步骤801,vSTB管理平台分配vSTB资源。Step 801: The vSTB management platform allocates vSTB resources.
步骤802,vSTB管理平台获得分配的vSTB资源。Step 802, the vSTB management platform obtains the allocated vSTB resources.
步骤803,vSTB管理平台返回vSTB地址给tSTB。Step 803: The vSTB management platform returns the vSTB address to tSTB.
步骤804,tSTB向vSTB发起连接请求。Step 804: tSTB initiates a connection request to vSTB.
步骤805,vSTB向tSTB返回连接响应。Step 805, vSTB returns a connection response to tSTB.
步骤806,tSTB与vSTB之间建立连接通道。Step 806: A connection channel is established between tSTB and vSTB.
步骤807,tSTB接收用户输入。tSTB接收用户通过遥控器输入的输入信息。Step 807, tSTB receives user input. tSTB receives input information from the user through the remote control.
步骤808,tSTB将用户输入通过连接通道传递给vSTB。In step 808, the tSTB transmits the user input to the vSTB through the connection channel.
步骤809,vSTB接收用户输入并与业务系统进行交互。Step 809: The vSTB receives user input and interacts with the service system.
步骤810,vSTB将处理结果(包括EPG图形显示数据、媒体播控命令)返回给tSTB。In step 810, the vSTB returns the processing result (including EPG graphic display data and media broadcast control commands) to the tSTB.
步骤811,tSTB处理媒体播控命令与CDN服务器进行媒体交互。Step 811, the tSTB processes the media broadcast control command and performs media interaction with the CDN server.
步骤812,tSTB将vSTB返回的EPG图形显示数据与自身处理产生的视频显示数据进行alhpa blend叠加混合。In step 812, the tSTB performs alhpa blending and blending the EPG graphic display data returned by the vSTB and the video display data generated by its own processing.
步骤813,tSTB进行图形和音频呈现。tSTB将vSTB的处理结果返回给电 视机TV进行显示和音频呈现。Step 813, tSTB performs graphics and audio presentation. tSTB returns the processing result of vSTB to the TV set for display and audio presentation.
在另一实施例中,请参阅图12,以实施典型应用场景为半云化的可视通讯为例,UI、协议和业务处理在vSTB侧云化实现,媒体收发和编解码处理在tSTB侧本地实现,最终在tSTB侧实现UI与视频的叠加混合,该方法包括如下步骤。In another embodiment, please refer to Figure 12, taking the implementation of semi-cloud visual communication in a typical application scenario as an example. UI, protocol, and service processing are implemented in the cloud on the vSTB side, and media transceiving and codec processing are on the tSTB side. Local implementation, and finally the superposition and mixing of UI and video on the tSTB side. The method includes the following steps.
步骤900,tSTB启动vSTB客户端到前台并发起认证登录。Step 900: tSTB starts the vSTB client to the foreground and initiates authentication login.
步骤901,vSTB管理平台分配vSTB资源。Step 901: The vSTB management platform allocates vSTB resources.
步骤902,vSTB管理平台获得分配的vSTB资源。Step 902: The vSTB management platform obtains the allocated vSTB resources.
步骤903,vSTB管理平台返回vSTB地址给tSTB。In step 903, the vSTB management platform returns the vSTB address to tSTB.
步骤904,tSTB向vSTB发起连接请求。Step 904: tSTB initiates a connection request to vSTB.
步骤905,vSTB向tSTB返回连接响应。In step 905, the vSTB returns a connection response to the tSTB.
步骤906,tSTB与vSTB之间建立连接通道。Step 906, a connection channel is established between tSTB and vSTB.
步骤907,tSTB接收用户输入。这里,用户输入可以包括用户通过遥控器发送的输入信息、通过摄像头和麦克风(MIC)采集的视音频数据、对端通过网络发送的指令信息等。Step 907, tSTB receives user input. Here, the user input may include input information sent by the user through the remote control, video and audio data collected through a camera and microphone (MIC), instruction information sent by the peer through the network, and the like.
步骤908,tSTB将用户输入通过连接通道传递给vSTB。In step 908, the tSTB transmits the user input to the vSTB through the connection channel.
步骤909,vSTB接收用户输入并与业务系统进行交互。In step 909, the vSTB receives user input and interacts with the business system.
步骤910,vSTB将处理结果(包括可视通讯UI界面图形显示数据、媒体控制命令)返回给tSTB。In step 910, the vSTB returns the processing result (including the graphical display data of the visual communication UI interface and the media control command) to the tSTB.
步骤911,tSTB处理媒体控制命令,并将自身处理产生的视频显示数据与vSTB返回的可视通讯UI界面图形显示数据进行alhpa blend叠加混合。In step 911, the tSTB processes the media control command, and mixes the video display data generated by the tSTB with the graphic display data of the visual communication UI interface returned by the vSTB.
步骤912,tSTB进行图形和视音频呈现。tSTB将vSTB的处理结果返回给电视机TV进行显示和音频呈现。Step 912, tSTB performs graphics and video and audio presentation. tSTB returns the processing result of vSTB to the TV for display and audio presentation.
在另一实施例中,请参阅图13,以实施典型应用场景为云化应用与本地应用的切换为例,比如vSTB侧云化的门户EPG应用拉起tSTB侧本地的应用,该方法包括如下步骤。In another embodiment, please refer to FIG. 13 to implement a typical application scenario of switching between a cloud application and a local application as an example. For example, a cloudized portal EPG application on the vSTB side pulls up a local application on the tSTB side. The method includes the following step.
步骤1000,tSTB启动vSTB客户端到前台并发起认证登录。Step 1000: tSTB starts the vSTB client to the foreground and initiates authentication login.
步骤1001,vSTB管理平台分配vSTB资源。Step 1001: The vSTB management platform allocates vSTB resources.
步骤1002,vSTB管理平台获得分配的vSTB资源。Step 1002, the vSTB management platform obtains the allocated vSTB resources.
步骤1003,vSTB管理平台返回vSTB地址给tSTB。Step 1003, the vSTB management platform returns the vSTB address to tSTB.
步骤1004,tSTB向vSTB发起连接请求。Step 1004: tSTB initiates a connection request to vSTB.
步骤1005,vSTB向tSTB返回连接响应。Step 1005, vSTB returns a connection response to tSTB.
步骤1006,tSTB与vSTB之间建立连接通道。Step 1006: A connection channel is established between tSTB and vSTB.
步骤1007,tSTB接收用户输入。Step 1007, tSTB receives user input.
步骤1008,tSTB将用户输入通过连接通道传递给vSTB。Step 1008, the tSTB transmits the user input to the vSTB through the connection channel.
步骤1009,vSTB接收用户输入并与业务系统进行交互。Step 1009: The vSTB receives user input and interacts with the business system.
步骤1010,vSTB将处理结果(包括云化应用界面图形显示数据、应用控制命令)返回给tSTB。Step 1010: The vSTB returns the processing result (including the cloud application interface graphic display data and application control commands) to the tSTB.
步骤1011,tSTB处理应用控制命令并启动本地应用到前台。Step 1011: tSTB processes the application control command and starts the local application to the foreground.
步骤1012,tSTB接收用户输入。Step 1012, tSTB receives user input.
步骤1013,tSTB本地应用接收用户输入并呈现。Step 1013: The tSTB local application receives user input and presents it.
本申请上述实施例所提供的STB云化方法中,tSTB向vSTB管理平台发起登录认证,vSTB管理平台认证通过后为tSTB分配vSTB资源,并将vSTB地址返回给tSTB。tSTB向vSTB地址发起连接请求并建立连接,tSTB接收本端设备输入信息并传送给vSTB,vSTB接收输入数据并产生处理结果,针对全云化业务,处理结果包括显示数据、音频数据等,所述显示数据可以包括图形显示数据、视频显示数据、图形显示数据叠加视频显示数据等;针对半云化业务,处理结果包括显示数据、远程调用等,所述显示数据可以包括图形显示数据,所述远程调用包括播放控制、媒体控制、应用控制等。如此,本申请提供的是一个渐进云化的方法,通过将某些业务应用全云化、将某些业务应用半云化、某些业务应用本地化,使得STB能够实现的业务应用呈现在混合形态,随着云化部分的逐步增加,可以逐步演进到业务应用全云化形态,该方法至少具有如下特点:In the STB cloudification method provided in the foregoing embodiment of the present application, tSTB initiates login authentication to the vSTB management platform, and after the vSTB management platform passes the authentication, the vSTB resource is allocated to the tSTB, and the vSTB address is returned to the tSTB. tSTB initiates a connection request to the vSTB address and establishes a connection. tSTB receives the input information from the local device and transmits it to vSTB. The vSTB receives the input data and generates processing results. For all-cloud services, the processing results include display data, audio data, etc. Display data may include graphic display data, video display data, graphic display data superimposed on video display data, etc.; for semi-cloud services, the processing result includes display data, remote calling, etc., the display data may include graphic display data, and the remote Calls include playback control, media control, application control, etc. In this way, this application provides a gradual cloudification method. By making certain business applications full cloud, certain business applications semi-cloud, and some business applications localized, the business applications that can be implemented by STB are presented in hybrid With the gradual increase of the cloudification part, it can gradually evolve to the full cloudification form of business applications. This method has at least the following characteristics:
第一、便于业务快速部署、快速迭代。新业务、新UI部署只需在云端对接一次,无需适配现网各类STB,无需考虑机顶盒硬件差异,业务部署与用户数和STB类型无关;业务升级可以在云端完成,实时生效,无需等待现网STB升级,无需考虑现网新老STB版本兼容;开发环境统一,降低STB软件开发、测试复杂度,缩短STB应用软件开发周期,降低研发成本。First, it facilitates rapid business deployment and rapid iteration. New business and new UI deployment only need to be connected once in the cloud, no need to adapt to various STBs on the existing network, no need to consider the difference in set-top box hardware, business deployment has nothing to do with the number of users and STB type; business upgrades can be completed in the cloud, effective in real time, no need to wait The existing network STB upgrade does not need to consider the compatibility of the new and old STB versions of the existing network; the development environment is unified, which reduces the complexity of STB software development and testing, shortens the STB application software development cycle, and reduces R&D costs.
第二、持续降低总所有成本(Total Cost of Ownership,TCO)。新用户发展,STB云化可降低终端采购和运维成本,特别是STB生命周期的延长,可显著降低综合成本;标清STB替换,STB云化是最优方案,兼顾成本和业务发展持续性;现网高清STB和4K STB,通过部分业务云化,可以支持更多业务,延长生命周期。Second, continue to reduce the Total Cost of Ownership (TCO). For the development of new users, STB cloudification can reduce terminal procurement and operation and maintenance costs, especially the extension of the STB life cycle, which can significantly reduce overall costs; standard definition STB replacement, STB cloudification is the best solution, taking into account cost and business development continuity; High-definition STB and 4K STB on the live network can support more services and extend the life cycle through cloudification of some services.
本申请实施例另一方面,提供一种机顶盒云化装置,应用于vSTB,请参阅图14,该机顶盒云化装置包括:第一通道建立模块11,设置为获取瘦机顶盒tSTB发送的连接请求,基于所述连接请求建立与所述tSTB之间的连接通道;处理模块13,设置为接收所述tSTB通过所述连接通道发送的对应本端设备的输入信息,基于所述输入信息确定业务应用的类型并获得对应的处理结果返回给所述tSTB。Another aspect of the embodiments of the present application provides a set-top box cloudification device, which is applied to vSTB. Please refer to FIG. 14. The set-top box cloudification device includes: a first channel establishment module 11 configured to obtain a connection request sent by a thin set-top box tSTB, The connection channel with the tSTB is established based on the connection request; the processing module 13 is configured to receive input information corresponding to the local device sent by the tSTB through the connection channel, and determine the service application based on the input information Type and obtain the corresponding processing result and return it to the tSTB.
所述处理模块13,设置为基于所述输入信息确定业务应用为云化应用的情况下,与应用服务端进行交互得到显示数据和/或音频数据,将所述显示数据和/或音频数据作为处理结果返回给所述tSTB。The processing module 13 is configured to interact with the application server to obtain display data and/or audio data when determining that the business application is a cloud application based on the input information, and use the display data and/or audio data as The processing result is returned to the tSTB.
所述处理模块13,设置为基于所述输入信息与业务系统进行交互得到图形显示数据;基于所述输入信息与CDN服务器进行交互得到视频显示数据;将所述图形显示数据与所述视频显示数据进行像素级叠加混合,将混合后的所述图形显示数据和所述视频显示数据作为处理结果返回给所述tSTB。The processing module 13 is configured to obtain graphic display data by interacting with the business system based on the input information; interact with the CDN server to obtain video display data based on the input information; and combine the graphic display data with the video display data Perform pixel-level superposition and mixing, and return the mixed graphic display data and the video display data to the tSTB as a processing result.
所述处理模块13,设置为基于所述输入信息确定业务应用为半云化应用的情况下,与应用服务端进行交互得到显示数据,将所述显示数据和远程调用指令作为处理结果返回给所述tSTB。The processing module 13 is configured to interact with the application server to obtain display data when it is determined that the business application is a semi-cloud application based on the input information, and return the display data and the remote call instruction as the processing result to the office.述tSTB.
所述处理模块13,还设置为对所述显示数据中的RGB分量进行视频编码流化,对所述显示数据中的Alpha分量进行压缩编码流化;将所述RGB分量的视频编码流和Alpha分量的压缩编码流作为返回给所述tSTB的所述显示数据。The processing module 13 is further configured to perform video encoding and streaming on the RGB components in the display data, and compress and encode and stream the Alpha components in the display data; and combine the video encoding streams of the RGB components and the Alpha The compressed coded stream of the component is used as the display data returned to the tSTB.
所述处理模块13,还设置为截获云端应用的接口调用并对所述接口调用类型进行判断;确定所述接口调用为vSTB侧处理的调用类型时,在本端处理所述接口调用;确定所述接口调用为非vSTB侧处理的调用类型时,将所述接口调用作为返回给所述tSTB的远程调用指令。The processing module 13 is also set to intercept the interface call of the cloud application and determine the type of the interface call; when it is determined that the interface call is the call type processed by the vSTB side, the interface call is processed on the local end; When the interface call is a call type that is not processed by the vSTB side, the interface call is taken as a remote call instruction returned to the tSTB.
所述处理模块13,设置为与业务系统进行交互,得到可视通讯用户界面UI的界面图形显示数据,将所述界面图形显示数据以及媒体控制命令作为处理结果返回给所述tSTB。The processing module 13 is configured to interact with the business system to obtain interface graphic display data of the visual communication user interface UI, and return the interface graphic display data and media control commands to the tSTB as processing results.
所述处理模块13,设置为与业务系统进行交互,得到云化应用的界面图形显示数据,将所述界面图形显示数据以及应用控制命令返回给所述tSTB。The processing module 13 is configured to interact with the business system to obtain interface graphic display data of the cloud application, and return the interface graphic display data and application control commands to the tSTB.
所述装置还包括请求模块10,设置为获取vSTB管理平台基于所述tSTB的登陆认证请求所发送的vSTB资源分配请求;分配模块12,设置为基于所述vSTB资源分配请求返回对应的vSTB地址,所述vSTB地址用于返回给对应的所述tSTB。The device also includes a request module 10 configured to obtain a vSTB resource allocation request sent by the vSTB management platform based on the tSTB login authentication request; the allocation module 12 is configured to return a corresponding vSTB address based on the vSTB resource allocation request, The vSTB address is used to return to the corresponding tSTB.
上述实施例提供的STB云化装置实现STB云化方法时,仅以上述各程序模块的划分进行举例说明,在实际应用中,可以根据需要而将上述步骤分配由不同的程序模块完成,即可以将该装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的STB云化装置与应用于vSTB的STB云化方法实施例属于同一构思,其实现过程详见方法实施例,这里不再赘述。When the STB clouding device provided in the above embodiment implements the STB clouding method, only the division of the above program modules is used for illustration. In practical applications, the above steps can be allocated to different program modules to complete according to needs, that is, Divide the internal structure of the device into different program modules to complete all or part of the processing described above. In addition, the STB cloudification apparatus provided in the foregoing embodiment belongs to the same concept as the STB cloudification method embodiment applied to vSTB, and its implementation process is detailed in the method embodiment, which will not be repeated here.
本申请实施例另一方面还提供一种vSTB,该vSTB可以是计算机设备,该vSTB可以与tSTB进行网络通信,请再次参阅图13,该vSTB包括处理器15以及设置为存储能够在处理器15上运行的计算机程序的存储介质16,其中,所述处理器15设置为运行所述计算机程序时,执行本申请任一实施例所提供的应用于vSTB的STB云化方法的步骤。这里,处理器15和存储介质16并非指代对应的数量为一个,而是可以为一个或者多个。其中,该vSTB还包括内存17、 网络接口18以及将处理器15、内存17、网络接口18及存储介质16连接的系统总线19。存储介质202中存储有操作系统和设置为实现本申请实施例所提供的STB云化方法的STB云化装置,该处理器201设置为提高计算和控制能力,支撑整个vSTB的运行。该内存203设置为为存储介质202中的STB云化方法的运行提供环境,网络接口204设置为与tSTB及vSTB管理平台进行网络通信,接收或发送数据,如,获取tSTB接收到的输入信息、返回处理结果等。On the other hand, the embodiments of the present application also provide a vSTB, the vSTB may be a computer device, and the vSTB may perform network communication with the tSTB. Please refer to FIG. 13 again. The vSTB includes a processor 15 and is configured to be stored in the processor 15 The storage medium 16 of the computer program running on the computer, wherein the processor 15 is configured to run the computer program to execute the steps of the STB cloudification method applied to vSTB provided in any embodiment of the present application. Here, the processor 15 and the storage medium 16 do not mean that the corresponding number is one, but may be one or more. Among them, the vSTB further includes a memory 17, a network interface 18, and a system bus 19 connecting the processor 15, the memory 17, the network interface 18, and the storage medium 16. The storage medium 202 stores an operating system and an STB cloudification device configured to implement the STB cloudification method provided in the embodiments of the present application. The processor 201 is configured to improve computing and control capabilities and support the operation of the entire vSTB. The memory 203 is set to provide an environment for the operation of the STB cloudification method in the storage medium 202, and the network interface 204 is set to communicate with the tSTB and vSTB management platform, receive or send data, for example, to obtain input information received by tSTB, Return processing results, etc.
本申请实施例另一方面,提供一种机顶盒云化装置,应用于vSTB管理平台,请参阅图15,该机顶盒云化装置包括:认证模块21,设置为获取tSTB发送的登陆认证请求,根据所述登陆认证请求发送vSTB资源分配请求给所述vSTB;发送模块23,设置为接收所述vSTB返回的vSTB地址并发送给所述tSTB,所述vSTB地址用于所述tSTB与对应的所述vSTB之间建立连接通道。On the other hand, the embodiments of this application provide a cloudification device for a set-top box, which is applied to a vSTB management platform. Please refer to FIG. 15. The cloudification device for a set-top box includes an authentication module 21 configured to obtain a login authentication request sent by tSTB. The login authentication request sends a vSTB resource allocation request to the vSTB; the sending module 23 is configured to receive the vSTB address returned by the vSTB and send it to the tSTB, where the vSTB address is used for the tSTB and the corresponding vSTB Establish a connection channel between.
本申请实施例另一方面还提供一种vSTB管理平台,该vSTB管理平台可以是计算机设备,如服务器,该vSTB管理平台可以与tSTB和vSTB进行网络通信,请再次参阅图15,该vSTB管理平台包括处理器201以及设置为存储能够在处理器25上运行的计算机程序的存储介质26,其中,所述处理器25设置为运行所述计算机程序时,执行本申请任一实施例所提供的应用于vSTB管理平台的STB云化方法的步骤。这里,处理器25和存储介质26并非指代对应的数量为一个,而是可以为一个或者多个。其中,该vSTB管理平台还包括内存27、网络接口28以及将处理器25、内存27、网络接口28及存储介质26连接的系统总线29。存储介质26中存储有操作系统和用于实现本申请实施例所提供的STB云化方法的STB云化装置,该处理器25设置为提高计算和控制能力,支撑整个vSTB管理平台的运行。该内存27设置为为存储介质26中的STB云化方法的运行提供环境,网络接口28设置为与tSTB及vSTB进行网络通信,接收或发送数据,如,获取tSTB发送的登陆认证请求、返回vSTB地址给tSTB等。On the other hand, the embodiments of the present application also provide a vSTB management platform. The vSTB management platform may be a computer device, such as a server. The vSTB management platform can communicate with tSTB and vSTB over the network. Please refer to Figure 15 again. It includes a processor 201 and a storage medium 26 configured to store a computer program that can run on the processor 25, where the processor 25 is configured to execute the application provided by any embodiment of the present application when the computer program is configured to run The steps of the STB cloudification method based on the vSTB management platform. Here, the processor 25 and the storage medium 26 do not mean that the corresponding number is one, but may be one or more. Wherein, the vSTB management platform further includes a memory 27, a network interface 28, and a system bus 29 connecting the processor 25, the memory 27, the network interface 28, and the storage medium 26. The storage medium 26 stores an operating system and an STB clouding device for implementing the STB clouding method provided in the embodiments of the present application. The processor 25 is configured to improve computing and control capabilities and support the operation of the entire vSTB management platform. The memory 27 is set to provide an environment for the operation of the STB cloudification method in the storage medium 26, and the network interface 28 is set to communicate with tSTB and vSTB on the network, receive or send data, for example, obtain the login authentication request sent by tSTB and return vSTB Address to tSTB etc.
本申请实施例另一方面,提供一种机顶盒云化装置,应用于tSTB,请参阅图16,该机顶盒云化装置包括:第二通道建立模块31,设置为向对应的虚拟机顶盒vSTB发送连接请求,根据所述vSTB返回的连接响应建立与所述vSTB之间的连接通道;输入处理模块33,设置为接收对应的本端设备发送的输入信息,将所述输入信息通过所述连接通道发送给所述vSTB,接收所述vSTB基于所述输入信息确定业务应用的类型而返回的对应的处理结果。On the other hand, the embodiments of the present application provide a set-top box cloudification device, which is applied to tSTB. Please refer to FIG. 16. The set-top box cloudification device includes: a second channel establishment module 31 configured to send a connection request to a corresponding virtual set-top box vSTB Establish a connection channel with the vSTB according to the connection response returned by the vSTB; the input processing module 33 is configured to receive input information sent by the corresponding local device, and send the input information to the vSTB through the connection channel The vSTB receives the corresponding processing result returned by the vSTB after determining the type of service application based on the input information.
在一些实施例中,所述装置还包括结果呈现模块32,所述输入处理模块33设置为接收所述vSTB基于所述输入信息确定业务应用为云化应用的情况下,返回的显示数据和/或音频数据,所述结果呈现模块32设置为将所述显示数据和/或音频数据进行呈现。In some embodiments, the device further includes a result presentation module 32, and the input processing module 33 is configured to receive the returned display data and/or information in the case where the vSTB determines that the business application is a cloud application based on the input information. Or audio data, the result presentation module 32 is configured to present the display data and/or audio data.
在一些实施例中,所述输入处理模块33,设置为接收所述vSTB基于所述输入信息确定业务应用为半云化应用的情况下,返回的显示数据和远程调用指令;根据所述显示数据中的RGB分量的视频编码流和Alpha分量的压缩编码流,分别解析出所述RGB分量和所述Alpha分量,将所述RGB分量和Alpha分量合并还原成RGBA显示数据;根据所述远程调用指令与应用服务端进行交互获得本端显示数据,所述结果呈现模块32,设置为将所述RGBA显示数据和所述本端显示数据进行叠加并呈现。In some embodiments, the input processing module 33 is configured to receive the returned display data and remote call instructions when the vSTB determines that the business application is a semi-cloud application based on the input information; according to the display data The video encoding stream of the RGB component and the compressed encoding stream of the Alpha component in the RGB component, respectively, the RGB component and the Alpha component are parsed, and the RGB component and the Alpha component are combined to restore the RGBA display data; according to the remote call instruction Interact with the application server to obtain local display data, and the result presentation module 32 is configured to superimpose and present the RGBA display data and the local display data.
在一些实施例中,所述输入处理模块33,设置为接收所述vSTB基于所述输入信息确定业务应用为半云化应用的情况下,返回的显示数据和非vSTB侧处理的调用接口,处理所述调用接口并返回对应的远程调用结果给所述vSTB。In some embodiments, the input processing module 33 is configured to receive the returned display data and the call interface for non-vSTB side processing when the vSTB determines that the business application is a semi-cloud application based on the input information, and process The calling interface and returning the corresponding remote calling result to the vSTB.
在一些实施例中,所述输入处理模块33,设置为接收所述vSTB基于所述输入信息返回的可视通讯用户界面UI的界面图形显示数据以及媒体控制命令;基于所述媒体控制命令与CDN服务器进行交互得到视频显示数据,将所述界面图形显示数据和所述视频显示数据进行像素级叠加混合,所述结果呈现模块32,设置为将混合后的所述界面图形显示数据和所述视频显示数据进行呈现。In some embodiments, the input processing module 33 is configured to receive interface graphic display data and media control commands of the visual communication user interface UI returned by the vSTB based on the input information; based on the media control commands and CDN The server interacts to obtain video display data, and performs pixel-level superposition and mixing of the interface graphic display data and the video display data. The result presentation module 32 is configured to combine the interface graphic display data and the video after mixing. Display data for presentation.
在一些实施例中,所述输入处理模块33,设置为接收所述vSTB基于所述输入信息返回的云化应用的界面图形显示数据以及应用控制命令;基于所述应用控制命令启动本地应用进行呈现。In some embodiments, the input processing module 33 is configured to receive the interface graphic display data and application control commands of the cloud application returned by the vSTB based on the input information; start the local application for presentation based on the application control command .
在一些实施例中,所述输入处理模块33,设置为截获本地应用的接口调用并对所述接口调用类型进行判断;确定所述接口调用为tSTB侧处理的调用类型时,在本端处理所述接口调用;确定所述接口调用为非tSTB侧处理的调用类型时,将所述接口调用返回给所述vSTB。In some embodiments, the input processing module 33 is configured to intercept the interface call of the local application and determine the type of the interface call; when it is determined that the interface call is the call type processed on the tSTB side, the processing office on the local end The interface call; when it is determined that the interface call is a call type that is not processed on the tSTB side, the interface call is returned to the vSTB.
在一些实施例中,所述第二通道建立模块31,设置为发送登陆认证请求给虚拟机顶盒vSTB管理平台,所述登陆认证请求用于所述vSTB管理平台获取对应的vSTB地址;接收所述vSTB管理平台返回的所述vSTB地址,基于所述vSTB地址向对应的虚拟机顶盒vSTB发送连接请求。In some embodiments, the second channel establishment module 31 is configured to send a login authentication request to a virtual set-top box vSTB management platform, where the login authentication request is used by the vSTB management platform to obtain a corresponding vSTB address; and receive the vSTB The vSTB address returned by the management platform sends a connection request to the corresponding virtual set-top box vSTB based on the vSTB address.
上述实施例提供的STB云化装置实现STB云化方法时,仅以上述各程序模块的划分进行举例说明,在实际应用中,可以根据需要而将上述步骤分配由不同的程序模块完成,即可以将该装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的STB云化装置与应用于tSTB的STB云化方法实施例属于同一构思,其实现过程详见方法实施例,这里不再赘述。When the STB clouding device provided in the above embodiment implements the STB clouding method, only the division of the above program modules is used for illustration. In practical applications, the above steps can be allocated to different program modules to complete according to needs, that is, Divide the internal structure of the device into different program modules to complete all or part of the processing described above. In addition, the STB cloudification device provided in the above-mentioned embodiment belongs to the same concept as the STB cloudification method embodiment applied to tSTB, and the implementation process is detailed in the method embodiment, which will not be repeated here.
本申请实施例另一方面还提供一种tSTB,该tSTB可以与vSTB管理平台和vSTB进行网络通信,请再次参阅图16,该tSTB包括处理器35以及设置为存储能够在处理器35上运行的计算机程序的存储介质36,其中,所述处理器35 设置为运行所述计算机程序时,执行本申请任一实施例所提供的应用于tSTB的STB云化方法的步骤。这里,处理器35和存储介质36并非指代对应的数量为一个,而是可以为一个或者多个。其中,该tSTB还包括内存37、网络接口38以及将处理器35、内存37、网络接口38及存储介质36连接的系统总线39。存储介质36中存储有操作系统和设置为实现本申请实施例所提供的STB云化方法的STB云化装置,该处理器35设置为提高计算和控制能力,支撑整个tSTB的运行。该内存37用于为存储介质36中的STB云化方法的运行提供环境,网络接口28设置为与vSTB管理平台及vSTB进行网络通信,接收或发送数据,如,向vSTB管理平台发送登陆认证请求、接收vSTB管理平台返回的vSTB地址、接收vSTB返回的处理结果等。On the other hand, the embodiments of the present application also provide a tSTB. The tSTB can communicate with the vSTB management platform and the vSTB. Please refer to FIG. 16 again. The tSTB includes a processor 35 and a storage device configured to run on the processor 35. A storage medium 36 of a computer program, wherein the processor 35 is configured to execute the steps of the STB cloudification method applied to tSTB provided in any embodiment of the present application when the processor 35 is configured to run the computer program. Here, the processor 35 and the storage medium 36 do not mean that the corresponding number is one, but may be one or more. Among them, the tSTB further includes a memory 37, a network interface 38, and a system bus 39 connecting the processor 35, the memory 37, the network interface 38, and the storage medium 36. The storage medium 36 stores an operating system and an STB clouding device configured to implement the STB clouding method provided in the embodiments of the present application. The processor 35 is configured to improve calculation and control capabilities and support the operation of the entire tSTB. The memory 37 is used to provide an environment for the operation of the STB cloudification method in the storage medium 36, and the network interface 28 is set to communicate with the vSTB management platform and vSTB, receive or send data, for example, send a login authentication request to the vSTB management platform , Receive the vSTB address returned by the vSTB management platform, receive the processing result returned by the vSTB, etc.
本申请实施例还提供了一种计算机存储介质,例如包括存储有计算机程序的存储器,该计算机程序可以由处理器执行,以完成本申请任一实施例所提供的STB云化方法的步骤。该计算机存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器;也可以是包括上述存储器之一或任意组合的各种设备。The embodiment of the present application also provides a computer storage medium, for example, includes a memory storing a computer program, and the computer program can be executed by a processor to complete the steps of the STB cloudification method provided in any embodiment of the present application. The computer storage medium may be FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM, etc.; it may also be various devices including one or any combination of the foregoing memories.

Claims (23)

  1. 一种机顶盒STB云化方法,应用于虚拟机顶盒vSTB,包括:A cloudification method for set-top box STB, applied to virtual set-top box vSTB, includes:
    获取瘦机顶盒tSTB发送的连接请求,基于所述连接请求建立与所述tSTB之间的连接通道;Acquiring a connection request sent by a thin set-top box tSTB, and establishing a connection channel with the tSTB based on the connection request;
    接收所述tSTB通过所述连接通道发送的对应所述tSTB的外围设备的输入信息,基于所述输入信息确定业务应用的类型并获得与所述业务应用的类型对应的处理结果,将所述处理结果返回给所述tSTB。Receive input information of the peripheral device corresponding to the tSTB sent by the tSTB through the connection channel, determine the type of service application based on the input information, and obtain a processing result corresponding to the type of the service application, and perform the processing The result is returned to the tSTB.
  2. 如权利要求1所述的方法,其中,所述基于接收到的输入信息确定业务应用的类型并获得与所述业务应用的类型对应的处理结果,将所述处理结果返回给所述tSTB,包括:The method of claim 1, wherein the determining the type of the business application based on the received input information and obtaining the processing result corresponding to the type of the business application, and returning the processing result to the tSTB includes :
    基于所述输入信息确定业务应用为云化应用的情况下,与应用服务端进行交互得到显示数据和音频数据中的至少一种,将所述显示数据和音频数据中的至少一种作为处理结果返回给所述tSTB。In the case of determining that the business application is a cloud application based on the input information, interact with the application server to obtain at least one of display data and audio data, and use at least one of the display data and audio data as a processing result Return to the tSTB.
  3. 如权利要求2所述的方法,其中,所述基于所述输入信息与应用服务端进行交互得到显示数据和音频数据中的至少一种,将所述显示数据和音频数据中的至少一种作为处理结果返回给所述tSTB,包括:The method of claim 2, wherein the interaction with the application server based on the input information obtains at least one of display data and audio data, and at least one of the display data and audio data is used as The processing result is returned to the tSTB, including:
    基于所述输入信息与业务系统进行交互得到图形显示数据;To obtain graphical display data based on the input information interacting with the business system;
    基于所述输入信息与内容分发网络CDN服务器进行交互得到视频显示数据;Interacting with the CDN server of the content distribution network based on the input information to obtain video display data;
    将所述图形显示数据与所述视频显示数据进行像素级叠加混合,将混合后的所述图形显示数据和所述视频显示数据作为处理结果返回给所述tSTB。The graphic display data and the video display data are superimposed and mixed at a pixel level, and the mixed graphic display data and the video display data are returned to the tSTB as a processing result.
  4. 如权利要求1所述的方法,其中,所述基于接收到的输入信息确定业务应用的类型并获得与所述业务应用的类型对应的处理结果,将所述处理结果返回给所述tSTB,包括:The method of claim 1, wherein the determining the type of the business application based on the received input information and obtaining the processing result corresponding to the type of the business application, and returning the processing result to the tSTB includes :
    基于所述输入信息确定业务应用为半云化应用的情况下,与应用服务端进行交互得到显示数据,将所述显示数据和远程调用指令作为处理结果返回给所述tSTB。When it is determined that the business application is a semi-cloud application based on the input information, the display data is obtained by interacting with the application server, and the display data and the remote call instruction are returned to the tSTB as a processing result.
  5. 如权利要求4所述的方法,所述将所述显示数据和远程调用指令作为处理结果返回给所述tSTB之前,包括:The method according to claim 4, before the returning the display data and the remote call instruction as the processing result to the tSTB, comprising:
    对所述显示数据中的RGB分量进行视频编码流化,对所述显示数据中的阿尔法Alpha分量进行压缩编码流化;Performing video coding and streaming on the RGB components in the display data, and performing compression coding and streaming on the alpha component in the display data;
    将所述RGB分量的视频编码流和Alpha分量的压缩编码流作为待返回给所述tSTB的所述显示数据。The video encoding stream of the RGB component and the compression encoding stream of the Alpha component are used as the display data to be returned to the tSTB.
  6. 如权利要求4所述的方法,所述将所述显示数据和远程调用指令作为处理结果返回给所述tSTB之前,包括:The method according to claim 4, before the returning the display data and the remote call instruction as the processing result to the tSTB, comprising:
    截获云端应用的接口调用并对所述接口调用类型进行判断;Intercepting the interface call of the cloud application and judging the type of the interface call;
    在确定所述接口调用为vSTB侧处理的调用类型的情况下,在所述vSTB侧 处理所述接口调用;在确定所述接口调用为非vSTB侧处理的调用类型的情况下,将所述接口调用作为返回给所述tSTB的远程调用指令。When it is determined that the interface call is a call type processed on the vSTB side, the interface call is processed on the vSTB side; when it is determined that the interface call is a call type that is not processed on the vSTB side, the interface The call is a remote call command returned to the tSTB.
  7. 如权利要求4所述的方法,其中,所述与应用服务端进行交互得到显示数据,将所述显示数据和远程调用指令作为处理结果返回给所述tSTB包括:The method according to claim 4, wherein said interacting with the application server to obtain display data, and returning the display data and the remote call instruction to the tSTB as a processing result comprises:
    与业务系统进行交互,得到可视通讯用户界面UI的界面图形显示数据,将所述界面图形显示数据以及媒体控制命令作为处理结果返回给所述tSTB。Interact with the business system to obtain interface graphic display data of the visual communication user interface UI, and return the interface graphic display data and media control commands as processing results to the tSTB.
  8. 如权利要求4所述的方法,其中,所述与应用服务端进行交互得到显示数据,将所述显示数据和远程调用指令作为处理结果返回给所述tSTB包括:The method according to claim 4, wherein said interacting with the application server to obtain display data, and returning the display data and the remote call instruction to the tSTB as a processing result comprises:
    与业务系统进行交互,得到云化应用的界面图形显示数据,将所述界面图形显示数据以及应用控制命令返回给所述tSTB。Interact with the business system to obtain interface graphic display data of the cloud application, and return the interface graphic display data and application control commands to the tSTB.
  9. 如权利要求1至8中任一项所述的方法,所述获取瘦机顶盒tSTB发送的连接请求,基于所述连接请求建立与所述tSTB之间的连接通道之前,包括:The method according to any one of claims 1 to 8, wherein the obtaining a connection request sent by a thin set-top box tSTB, before establishing a connection channel with the tSTB based on the connection request, comprises:
    获取vSTB管理平台基于所述tSTB的登陆认证请求所发送的vSTB资源分配请求;Obtaining the vSTB resource allocation request sent by the vSTB management platform based on the tSTB login authentication request;
    基于所述vSTB资源分配请求返回与所述vSTB资源分配请求对应的vSTB地址,所述vSTB地址用于返回给与所述vSTB对应的所述tSTB。The vSTB address corresponding to the vSTB resource allocation request is returned based on the vSTB resource allocation request, and the vSTB address is used to return to the tSTB corresponding to the vSTB.
  10. 一种机顶盒STB云化方法,应用于虚拟机顶盒vSTB管理平台,包括:A cloudification method for STB of a set-top box, which is applied to a virtual STB vSTB management platform, includes:
    获取tSTB发送的登陆认证请求,根据所述登陆认证请求发送vSTB资源分配请求给所述vSTB;Acquiring a login authentication request sent by tSTB, and sending a vSTB resource allocation request to the vSTB according to the login authentication request;
    接收所述vSTB返回的vSTB地址,并将所述vSTB地址发送给所述tSTB,所述vSTB地址用于所述tSTB与对应的所述vSTB之间建立连接通道。Receiving the vSTB address returned by the vSTB, and sending the vSTB address to the tSTB, where the vSTB address is used to establish a connection channel between the tSTB and the corresponding vSTB.
  11. 一种机顶盒STB云化方法,应用于瘦机顶盒tSTB,包括:A cloudification method for set-top box STB, applied to thin set-top box tSTB, includes:
    向对应的虚拟机顶盒vSTB发送连接请求,根据所述vSTB返回的连接响应建立与所述vSTB之间的连接通道;Sending a connection request to the corresponding virtual set-top box vSTB, and establishing a connection channel with the vSTB according to the connection response returned by the vSTB;
    接收对应所述tSTB的外围设备发送的输入信息,将所述输入信息通过所述连接通道发送给所述vSTB,接收所述vSTB返回的与业务应用的类型对应的处理结果,其中,所述业务应用的类型基于所述输入信息确定。Receive input information sent by the peripheral device corresponding to the tSTB, send the input information to the vSTB through the connection channel, and receive a processing result corresponding to the type of service application returned by the vSTB, wherein the service The type of application is determined based on the input information.
  12. 如权利要求11所述的方法,其中,所述接收所述vSTB返回的与业务应用的类型对应的处理结果,包括:The method according to claim 11, wherein said receiving the processing result corresponding to the type of service application returned by the vSTB comprises:
    接收在所述vSTB基于所述输入信息确定业务应用为云化应用的情况下,返回的显示数据和音频数据中的至少一种,并将所述显示数据和音频数据中的至少一种进行呈现。Receive at least one of display data and audio data returned when the vSTB determines that the business application is a cloud application based on the input information, and present at least one of the display data and audio data .
  13. 如权利要求11所述的方法,其中,所述接收所述vSTB返回的与业务应用的类型对应的处理结果,包括:The method according to claim 11, wherein said receiving the processing result corresponding to the type of service application returned by the vSTB comprises:
    接收在所述vSTB基于所述输入信息确定业务应用为半云化应用的情况下, 返回的显示数据和远程调用指令;Receiving the display data and the remote call instruction returned when the vSTB determines that the business application is a semi-cloud application based on the input information;
    根据所述显示数据中的RGB分量的视频编码流和Alpha分量的压缩编码流,分别解析出所述RGB分量和所述Alpha分量,将所述RGB分量和Alpha分量合并还原成RGBA显示数据;Parse the RGB component and the Alpha component according to the video encoding stream of the RGB component and the compressed encoding stream of the Alpha component in the display data, and combine the RGB component and the Alpha component to restore the RGBA display data;
    根据所述远程调用指令与应用服务端进行交互获得tSTB侧显示数据,将所述RGBA显示数据和所述tSTB侧显示数据进行叠加并呈现。The tSTB side display data is obtained by interacting with the application server according to the remote call instruction, and the RGBA display data and the tSTB side display data are superimposed and presented.
  14. 如权利要求11所述的方法,其中,所述接收所述vSTB返回的与业务应用的类型对应的处理结果,包括:The method according to claim 11, wherein said receiving the processing result corresponding to the type of service application returned by the vSTB comprises:
    接收在所述vSTB基于所述输入信息确定业务应用为半云化应用的情况下,返回的显示数据和非vSTB侧处理的调用接口,处理所述调用接口并返回与所述调用接口对应的远程调用结果给所述vSTB。Receive the returned display data and the call interface processed by the non-vSTB side when the vSTB determines that the business application is a semi-cloud application based on the input information, process the call interface and return the remote control corresponding to the call interface Call the result to the vSTB.
  15. 如权利要求11所述的方法,其中,所述接收所述vSTB返回的与业务应用的类型对应的处理结果,包括:The method according to claim 11, wherein said receiving the processing result corresponding to the type of service application returned by the vSTB comprises:
    接收所述vSTB基于所述输入信息返回的可视通讯用户界面UI的界面图形显示数据以及媒体控制命令;Receiving interface graphic display data and media control commands of the visual communication user interface UI returned by the vSTB based on the input information;
    基于所述媒体控制命令与内容分发网络CDN服务器进行交互得到视频显示数据,将所述界面图形显示数据和所述视频显示数据进行像素级叠加混合,将混合后的所述界面图形显示数据和所述视频显示数据进行呈现。Based on the media control command to interact with the content distribution network CDN server to obtain video display data, the interface graphic display data and the video display data are superimposed and mixed at the pixel level, and the mixed interface graphic display data and all The video display data is presented.
  16. 如权利要求11所述的方法,其中,所述接收所述vSTB返回的与业务应用的类型对应的处理结果,包括:The method according to claim 11, wherein said receiving the processing result corresponding to the type of service application returned by the vSTB comprises:
    接收所述vSTB基于所述输入信息返回的云化应用的界面图形显示数据以及应用控制命令;Receiving interface graphic display data and application control commands of the cloud application returned by the vSTB based on the input information;
    基于所述应用控制命令启动本地应用呈现与业务应用的类型对应的处理结果。The local application is started based on the application control command to present the processing result corresponding to the type of business application.
  17. 如权利要求11所述的方法,还包括:The method of claim 11, further comprising:
    截获本地应用的接口调用并对所述接口调用类型进行判断;Intercepting the interface call of the local application and judging the type of the interface call;
    在确定所述接口调用为tSTB侧处理的调用类型的情况下,在tSTB侧处理所述接口调用;在确定所述接口调用为非tSTB侧处理的调用类型的情况下,将所述接口调用返回给所述vSTB。When it is determined that the interface call is a call type processed on the tSTB side, the interface call is processed on the tSTB side; when it is determined that the interface call is a call type that is not processed on the tSTB side, the interface call is returned Give the vSTB.
  18. 如权利要求11至17中任一项所述的方法,其中,所述向对应的虚拟机顶盒vSTB发送连接请求,包括:The method according to any one of claims 11 to 17, wherein the sending a connection request to the corresponding virtual set-top box vSTB comprises:
    发送登陆认证请求给虚拟机顶盒vSTB管理平台,所述登陆认证请求用于所述vSTB管理平台获取与所述登陆认证请求对应的vSTB地址;Sending a login authentication request to a virtual set-top box vSTB management platform, where the login authentication request is used by the vSTB management platform to obtain a vSTB address corresponding to the login authentication request;
    接收所述vSTB管理平台返回的所述vSTB地址,基于所述vSTB地址向与所述tSTB对应的虚拟机顶盒vSTB发送连接请求。Receiving the vSTB address returned by the vSTB management platform, and sending a connection request to the virtual set-top box vSTB corresponding to the tSTB based on the vSTB address.
  19. 一种虚拟机顶盒vSTB,包括处理器和设置为存储能够在处理器上运行的计算机程序的存储器;其中,A virtual set-top box vSTB includes a processor and a memory configured to store a computer program that can run on the processor; wherein,
    所述处理器设置为运行所述计算机程序时,执行权利要求1至9中任一项所述机顶盒STB云化方法。When the processor is configured to run the computer program, it executes the STB cloudification method of any one of claims 1-9.
  20. 一种虚拟机顶盒vSTB管理平台,包括处理器和设置为存储能够在处理器上运行的计算机程序的存储器;其中,A virtual set-top box vSTB management platform, including a processor and a memory set to store a computer program that can run on the processor; wherein,
    所述处理器设置为运行所述计算机程序时,执行权利要求10所述机顶盒STB云化方法。When the processor is configured to run the computer program, it executes the STB cloudification method for a set-top box according to claim 10.
  21. 一种瘦机顶盒tSTB,包括处理器和设置为存储能够在处理器上运行的计算机程序的存储器;其中,A thin set-top box tSTB includes a processor and a memory set to store a computer program that can run on the processor; wherein,
    所述处理器设置为运行所述计算机程序时,执行权利要求11至18中任一项所述机顶盒STB云化方法。When the processor is configured to run the computer program, it executes the STB cloudification method of any one of claims 11 to 18.
  22. 一种存储介质,所述存储介质中存储有可执行指令,所述可执行指令被处理器执行时实现权利要求1至18中任一项所述的机顶盒STB云化方法。A storage medium in which executable instructions are stored, and when the executable instructions are executed by a processor, the STB cloudification method for a set-top box according to any one of claims 1 to 18 is realized.
  23. 一种机顶盒STB云化系统,包括如权利要求19所述的虚拟机顶盒vSTB、如权利要求20所述的虚拟机顶盒vSTB管理平台、以及如权利要求21所述的瘦机顶盒tSTB。A set-top box STB cloudification system, comprising the virtual set-top box vSTB according to claim 19, the virtual set-top box vSTB management platform according to claim 20, and the thin set-top box tSTB according to claim 21.
PCT/CN2020/073226 2019-01-23 2020-01-20 Stb cloudification method and system, thin stb, virtual stb and platform, and storage medium WO2020151660A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910064140.8 2019-01-23
CN201910064140.8A CN111478930B (en) 2019-01-23 2019-01-23 STB cloud method, system, thin STB, virtual STB, platform and storage medium

Publications (1)

Publication Number Publication Date
WO2020151660A1 true WO2020151660A1 (en) 2020-07-30

Family

ID=71736628

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/073226 WO2020151660A1 (en) 2019-01-23 2020-01-20 Stb cloudification method and system, thin stb, virtual stb and platform, and storage medium

Country Status (2)

Country Link
CN (1) CN111478930B (en)
WO (1) WO2020151660A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114786047A (en) * 2022-04-24 2022-07-22 中国电信股份有限公司 Multi-screen interaction realization method and device, storage medium and electronic equipment

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116208804A (en) * 2021-11-30 2023-06-02 中兴通讯股份有限公司 Application processing method, system, electronic device and computer readable storage medium
CN114390297A (en) * 2021-12-22 2022-04-22 中国电信股份有限公司 Communication system, configuration method, cloud service device and storage medium
CN114727154A (en) * 2022-03-10 2022-07-08 阿里云计算有限公司 Cloud application service data processing method and system, storage medium and processor
CN114895824A (en) * 2022-05-12 2022-08-12 阿里巴巴(中国)有限公司 Application window processing method, terminal device, server and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102164324A (en) * 2011-02-16 2011-08-24 深圳创维数字技术股份有限公司 Set top box and information interactive system and method of set top box
CN102647620A (en) * 2012-03-28 2012-08-22 华为终端有限公司 Method, set-top box, cloud terminal application server and system for realizing cloud terminal business
US20130054820A1 (en) * 2002-05-10 2013-02-28 Richard Reisman Method and apparatus for browsing using multiple coordinated device sets
US20140176441A1 (en) * 2012-12-21 2014-06-26 Dell Products, Lp Architecture for Variable Pressure Mouse
CN106998479A (en) * 2016-01-22 2017-08-01 中兴通讯股份有限公司 A kind of methods, devices and systems for realizing set top box cloud
CN108449633A (en) * 2018-03-22 2018-08-24 烽火通信科技股份有限公司 Set-top box cloud frame based on NFV and service implementation method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227418B (en) * 2007-01-19 2012-04-04 华为技术有限公司 System, apparatus and method for implementing amalgamation IP message
US9003455B2 (en) * 2010-07-30 2015-04-07 Guest Tek Interactive Entertainment Ltd. Hospitality media system employing virtual set top boxes
US9716903B2 (en) * 2014-07-31 2017-07-25 Diego Cardona Live streaming-TV content, acquisition, transformation, encryption, and distribution system, and method for its use
CN106658084A (en) * 2015-11-02 2017-05-10 杭州华为数字技术有限公司 Video stream providing method and apparatus
US20170272783A1 (en) * 2016-03-16 2017-09-21 Telefonaktiebolaget Lm Ericsson (Publ) Architecture for interconnected set-top boxes

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130054820A1 (en) * 2002-05-10 2013-02-28 Richard Reisman Method and apparatus for browsing using multiple coordinated device sets
CN102164324A (en) * 2011-02-16 2011-08-24 深圳创维数字技术股份有限公司 Set top box and information interactive system and method of set top box
CN102647620A (en) * 2012-03-28 2012-08-22 华为终端有限公司 Method, set-top box, cloud terminal application server and system for realizing cloud terminal business
US20140176441A1 (en) * 2012-12-21 2014-06-26 Dell Products, Lp Architecture for Variable Pressure Mouse
CN106998479A (en) * 2016-01-22 2017-08-01 中兴通讯股份有限公司 A kind of methods, devices and systems for realizing set top box cloud
CN108449633A (en) * 2018-03-22 2018-08-24 烽火通信科技股份有限公司 Set-top box cloud frame based on NFV and service implementation method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114786047A (en) * 2022-04-24 2022-07-22 中国电信股份有限公司 Multi-screen interaction realization method and device, storage medium and electronic equipment
CN114786047B (en) * 2022-04-24 2023-12-08 中国电信股份有限公司 Multi-screen interaction realization method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN111478930A (en) 2020-07-31
CN111478930B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
WO2020151660A1 (en) Stb cloudification method and system, thin stb, virtual stb and platform, and storage medium
US10721282B2 (en) Media acceleration for virtual computing services
US9800939B2 (en) Virtual desktop services with available applications customized according to user type
US8799362B2 (en) Scalable high-performance interactive real-time media architectures for virtual desktop environments
US20160029079A1 (en) Method and Device for Playing and Processing a Video Based on a Virtual Desktop
US8892633B2 (en) Apparatus and method for transmitting and receiving a user interface in a communication system
CN113209632B (en) Cloud game processing method, device, equipment and storage medium
US9398257B2 (en) Methods and systems for sharing a plurality of encoders between a plurality of endpoints
TW202201967A (en) Media access function for scene descriptions
CN114302202B (en) Audio and video screen projection method, device, equipment, system and storage medium
WO2014121477A1 (en) Video redirection method, device and system, and computer readable medium
CN102546803B (en) Remote desktop communication method based on capability set
CN112261421A (en) Virtual reality display method and device, electronic equipment and storage medium
US20200204655A1 (en) Network-Edge-Deployed Transcoding Methods and Systems for Just-In-Time Transcoding of Media Data
WO2021078208A1 (en) Information acquisition method, cloudified set top box system, entity set top box, and storage medium
US20230283813A1 (en) Centralized streaming video composition
Mikityuk et al. The virtual Set-Top Box: On the shift of IPTV service execution, service & UI composition into the cloud
US11899949B2 (en) Methods and systems for dynamic configuration and effective usage for allocating memory in media presentations or like devices
WO2016107174A1 (en) Method and system for processing multimedia file data, player and client
KR20140050522A (en) System and providing method for multimedia virtual system
CN113747181A (en) Network live broadcast method, live broadcast system and electronic equipment based on remote desktop
CN110990109A (en) Spliced screen redisplay method, terminal, system and storage medium
CN103618968A (en) Network television playing method and system under cloud environment
CN114339112B (en) Video call method, electronic equipment and system
US20240134546A1 (en) Methods and systems for dynamic configuration and effective usage for allocating memory in media presentations or like devices

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20745847

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20745847

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20745847

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20745847

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24/01/2021)