WO2016192431A1 - Film source pushing method, set-top box and video server - Google Patents

Film source pushing method, set-top box and video server Download PDF

Info

Publication number
WO2016192431A1
WO2016192431A1 PCT/CN2016/076078 CN2016076078W WO2016192431A1 WO 2016192431 A1 WO2016192431 A1 WO 2016192431A1 CN 2016076078 W CN2016076078 W CN 2016076078W WO 2016192431 A1 WO2016192431 A1 WO 2016192431A1
Authority
WO
WIPO (PCT)
Prior art keywords
source
top box
code rate
set top
network bandwidth
Prior art date
Application number
PCT/CN2016/076078
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 WO2016192431A1 publication Critical patent/WO2016192431A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26216Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the channel capacity, e.g. network bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6582Data stored in the client, e.g. viewing habits, hardware capabilities, credit card number

Definitions

  • This document refers to, but is not limited to, video playback technology, especially a method for implementing source push, a set top box, and a video server.
  • cloud storage technology is developing faster and faster.
  • the source (video content) of different source code rates stored in the cloud video server is also increasing.
  • the user selects the subjective source of the primary selection through external commands, and the video server selects according to the user.
  • the source transmits the source to the set-top box for video playback. Due to the difference in resolution between the resolution supported by the set-top box and the network bandwidth of the connected network, if the source code rate of the user's primary source is unreasonable relative to the resolution and/or network bandwidth supported by the set-top box, the normality of the source will be affected. Play, or not fully combined with the resolution and / or network bandwidth supported by the set-top box for a good video experience.
  • the method of playing the source of the source by the user's primary selection source due to the difference between the resolution supported by the set top box and the network bandwidth of the connected network, the user selected source has an unreasonable situation, affecting the normal playback of the source or Affect users to get a good video experience.
  • Embodiments of the present invention provide a method and system for implementing a source push, which can push a reasonable source and improve user experience.
  • the embodiment of the present invention provides a method for implementing source sending, including:
  • the set top box acquires the first network bandwidth and the set top box support resolution and sends the resolution to the video server, and the first network bandwidth and the set top box support resolution are used for the video server to perform the source push.
  • obtaining the first network bandwidth and the set top box support resolution includes:
  • the set top box interacts with a bandwidth server or a video server to obtain the first network bandwidth
  • the set top box passes a high definition multimedia interface (HDMI) or a composite video broadcast signal
  • HDMI high definition multimedia interface
  • CVBS composite video broadcast signal
  • the acquiring the first network bandwidth specifically includes:
  • the network bandwidth obtained when the set top box is powered on is used as the first network bandwidth
  • the difference between the real-time acquired network bandwidth and the current first network bandwidth is calculated, and the difference is multiplied by a preset weight to obtain a bandwidth adjustment value; A network bandwidth plus the obtained bandwidth adjustment value obtains the updated first network bandwidth.
  • sending the acquired first network bandwidth and the set top box support resolution to the video server includes:
  • the set top box directly transmits the first network bandwidth and the set top box support resolution by using a Hypertext Transfer Protocol (HTTP) or a Real Time Streaming Protocol (RTSP); or
  • HTTP Hypertext Transfer Protocol
  • RTSP Real Time Streaming Protocol
  • the obtained first network bandwidth and the set top box support resolution are included in a uniform resource locator (URL) request of the primary source.
  • URL uniform resource locator
  • the method further includes:
  • the set top box determines whether to accept the source of the video server push according to an external command.
  • the set top box directly transmits the information of the source that determines whether to accept the push to the video server by using HTTP or RTSP; or
  • the set top box carries the information determining whether to accept the pushed source of the source in the response URL of the URL request of the primary selected source to be sent to the video server.
  • an embodiment of the present invention further provides a method for implementing a source push, including:
  • the video server receives the first network bandwidth from the set top box and the resolution of the set top box support
  • the video server performs the source push according to the source code rate of the primary source, the received first network bandwidth, and the resolution supported by the set top box.
  • performing source feed includes:
  • the video server directly pushes the source by HTTP or RTSP; or,
  • the source of the push is carried in the URL request of the primary source of the set-top box to perform the source push.
  • the source code rate is a code rate of the slice source transmission after the compression coding;
  • Send includes:
  • the code rate corresponding to the first network bandwidth is greater than or equal to the source code rate of the primary source
  • the resolution supported by the set top box is greater than or equal to the source code rate of the primary source.
  • comparing a code rate corresponding to the first network bandwidth to a code rate corresponding to the resolution supported by the set top box where a code rate corresponding to the first network bandwidth is greater than or equal to a code corresponding to a resolution supported by the set top box.
  • Rate selecting a source of the chip source rate of the same code rate corresponding to the resolution supported by the set top box to perform the source push; when the code rate corresponding to the first network bandwidth is smaller than the code corresponding to the resolution supported by the set top box Rate, from the source of the chip whose source code rate is smaller than the code rate corresponding to the first network bandwidth, select the chip source with the largest source code rate for the source of the film;
  • the chip source with the highest source code rate is selected from the slice source whose chip source rate is smaller than the code rate corresponding to the first network bandwidth;
  • the code rate corresponding to the first network bandwidth is less than the chip source rate of the primary source, and the resolution supported by the set top box is smaller than the source code rate of the primary source, compare the a code rate corresponding to the resolution supported by the set top box, where the code rate corresponding to the first network bandwidth is smaller than a code rate corresponding to the resolution supported by the set top box, and the source code rate is less than
  • the source of the code rate corresponding to the first network bandwidth is selected, and the source of the chip with the highest source code rate is selected to perform the source transmission; when the code rate corresponding to the first network bandwidth is greater than or equal to the resolution supported by the set top box,
  • the code rate is selected from the source of the chip source rate of the same code rate corresponding to the resolution supported by the set top box.
  • the method further includes: when performing the source push,
  • the video server feeds back to the set-top box the source code rate of the source and the reason for selecting the source of the push; the set-top box outputs the source code rate of the push source and the reason for selecting the push source to the display device;
  • Display includes: via dialog, scroll bar, status bar, hover text or floating image display.
  • the method further includes:
  • the method further includes:
  • the video server When the set top box selects to accept the pushed source, the video server transmits the video of the push source; when the set top box selects not to accept the pushed source, the video server transmits the video of the primary source.
  • an embodiment of the present invention further provides a set top box that implements a source push, and the set top box includes an acquisition and sending unit.
  • the obtaining sending unit is configured to obtain the first network bandwidth and the set top box support resolution and send the resolution to the video server, and the first network bandwidth and the set top box support resolution are used by the video server for the source sending.
  • the obtaining sending unit is set to,
  • the network bandwidth obtained when the set top box is powered on is used as the first network bandwidth
  • the difference between the real-time acquired network bandwidth and the current first network bandwidth is calculated, and the difference is multiplied by a preset weight to obtain a bandwidth adjustment value; a network bandwidth plus the obtained bandwidth adjustment value to obtain the updated first network bandwidth;
  • the set-top box supports the resolution by interacting with the TV connected to the set-top box by HDMI or CVBS, or directly from the set-top box.
  • the obtaining sending unit is configured to obtain the first network bandwidth and the set top box support resolution
  • the acquired first network bandwidth and the set top box support resolution are included in the URL request of the primary source.
  • the set top box further includes a display output unit.
  • the display output unit is configured to output a slice source rate of the push chip source and select a reason for the push chip source to display the display device;
  • the display includes: displaying through a dialog box, a scroll bar, a status bar, a floating text, or a floating picture.
  • the set top box further includes a selection unit
  • the selecting unit is configured to determine, according to an external command, whether to accept the selected source of the push, and directly transmit to the video server by using HTTP or RTSP; or
  • an embodiment of the present invention further provides a video server that implements a source push, where the video server includes a push unit.
  • the push unit is configured to perform the source push according to the slice source rate of the primary source, the received first network bandwidth, and the resolution supported by the set top box.
  • the pushing unit is configured to set the first network bandwidth and the resolution supported by the set top box according to the source code rate of the primary selected source.
  • the source of the push is carried in the URL request of the primary source of the set-top box to perform the source push.
  • the push unit is set to,
  • the code rate corresponding to the first network bandwidth is greater than or equal to the source code rate of the primary source
  • the resolution supported by the set top box is greater than or equal to the source code rate of the primary source.
  • comparing a code rate corresponding to the first network bandwidth to a code rate corresponding to the resolution supported by the set top box where a code rate corresponding to the first network bandwidth is greater than or equal to a code corresponding to a resolution supported by the set top box.
  • Rate selecting a source of the chip source rate of the same code rate corresponding to the resolution supported by the set top box to perform the source push; when the code rate corresponding to the first network bandwidth is smaller than the code corresponding to the resolution supported by the set top box Rate, from the source of the chip whose source code rate is smaller than the code rate corresponding to the first network bandwidth, select the chip source with the largest source code rate for the source of the film;
  • the chip source with the highest source code rate is selected from the slice source whose chip source rate is smaller than the code rate corresponding to the first network bandwidth;
  • the code rate corresponding to the first network bandwidth is less than the chip source rate of the primary source, and the resolution supported by the set top box is smaller than the source code rate of the primary source, compare the a code rate corresponding to the resolution supported by the set top box, where the code rate corresponding to the first network bandwidth is smaller than a code rate corresponding to the resolution supported by the set top box, and the source code rate is less than
  • the source of the code rate corresponding to the first network bandwidth is selected, and the source of the chip with the highest source code rate is selected to perform the source transmission; when the code rate corresponding to the first network bandwidth is greater than or equal to the resolution supported by the set top box,
  • the code rate is selected from the source of the chip source rate of the same code rate corresponding to the resolution supported by the set top box.
  • the source code rate is the code rate of the slice source transmission calculated after compression coding.
  • the video server further includes a feedback unit, where the feedback unit is configured to feed back, to the set-top box, the source code rate of the push-slice source and the reason for selecting the push-slice source when performing the source-source push;
  • the video server further includes a transmission unit, configured to: when the set top box selects to accept the pushed source, transmit the video of the push source; when the set top box selects not to accept the pushed source, transmit the primary selected source Video.
  • a transmission unit configured to: when the set top box selects to accept the pushed source, transmit the video of the push source; when the set top box selects not to accept the pushed source, transmit the primary selected source Video.
  • the technical solution provided by the embodiment of the present invention includes: the set top box acquires the first network bandwidth and the resolution of the set top box and sends the resolution to the video server; and the video server receives the first source code according to the source code rate of the primary source.
  • the source bandwidth is supported by a network bandwidth and resolution supported by the set top box.
  • the method of the invention performs the source-pushing by the obtained first network bandwidth and the resolution of the set-top box and the source code rate of the primary source, so that the determined source of the source is more reasonable, and the irrational influence of the selection of the source is avoided.
  • the normal playback of the source ensures a good video experience when the user plays video.
  • FIG. 1 is a flowchart of a method for implementing a source push according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for implementing a source push according to another embodiment of the present invention.
  • FIG. 3 is a structural diagram of a set top box for implementing source source push according to an embodiment of the present invention
  • FIG. 4 is a structural diagram of a video server for implementing a source push according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a method according to a first application example of the present invention.
  • FIG. 1 is a flowchart of a method for implementing a source push according to the present invention. As shown in FIG. 1, the method includes:
  • Step 100 The set top box acquires the first network bandwidth and the resolution of the set top box and sends the resolution to the video server.
  • the first network bandwidth and the set top box support resolution are used for the video server to perform the source push.
  • this step also includes,
  • the set top box interacts with the bandwidth server or the video server to obtain the first network bandwidth
  • the set-top box interacts with the display device connected to the set-top box via High Definition Multimedia Interface (HDMI) or Composite Video Broadcast Signal (CVBS), or obtains the set-top box support resolution directly from the set-top box.
  • the display device is generally a display.
  • the first network bandwidth includes:
  • the network bandwidth obtained when the set top box is powered on is used as the first network bandwidth
  • the difference between the real-time acquired network bandwidth and the current first network bandwidth is calculated, and the difference is multiplied by a preset weight to obtain a bandwidth adjustment value; the current first network bandwidth is added.
  • the obtained bandwidth adjustment value obtains the updated first network bandwidth.
  • re-provisioning the source selection includes receiving an external command for each source selection
  • the set top box directly sends the first network bandwidth and the set top box support resolution by using a Hypertext Transfer Protocol (HTTP) or a Real Time Streaming Protocol (RTSP); or
  • HTTP Hypertext Transfer Protocol
  • RTSP Real Time Streaming Protocol
  • URL Uniform Resource Locator
  • the method of the embodiment of the present invention further includes step 101:
  • Step 101 The set top box determines, according to an external command, whether to accept the source of the video server push.
  • the set top box determines whether the information of the pushed source is directly transmitted to the video server by HTTP or RTSP; or
  • the set top box will determine whether to accept the information of the pushed source of the source in the response URL of the URL request of the primary source to be sent to the video server.
  • obtaining the first network bandwidth and the resolution of the set top box, determining whether to accept the video source pushed by the video server according to an external command, etc. may be implemented by the central processing unit of the set top box, and the external command may be adopted.
  • the input signal of the button or the touch screen device is determined, and the first network bandwidth and the transmission of the resolution supported by the set top box, the transmission of the information of the source that accepts the push, and the like can be implemented by the transceiver of the set top box.
  • the method of the embodiment of the present invention performs the source-pushing by using the obtained first network bandwidth, the resolution of the set-top box, and the source code rate of the primary source, so that the determined source of the source is more reasonable, and the irrational selection of the source is avoided. Affect the normal playback of the source, ensuring a good video experience when the user plays video.
  • FIG. 2 is a flowchart of a method for implementing a source push according to another embodiment of the present invention. As shown in FIG. 2, the method includes:
  • Step 200 The video server receives the first network bandwidth from the set top box and the set top box support resolution; where the first network bandwidth and the set top box support resolution are obtained by the set top box;
  • Step 201 The video server performs the source push according to the source code rate of the primary selected source, the received first network bandwidth, and the resolution supported by the set top box.
  • the source code rate of the primary selection source includes the code rate of the slice source transmission after compression coding;
  • performing source source pushing in this step includes:
  • the first network bandwidth is compared.
  • the code rate corresponding to the resolution supported by the set top box when the first network bandwidth corresponds The code rate is greater than or equal to the code rate corresponding to the resolution supported by the set-top box, and the chip source with the same code rate corresponding to the resolution supported by the set-top box is selected for source-source push; when the code rate corresponding to the first network bandwidth is smaller than the set-top box The code rate corresponding to the supported resolution is selected from the source of the code rate corresponding to the code rate corresponding to the first network bandwidth, and the source with the largest source code rate is selected for the source transmission;
  • the source code rate corresponding to the first network bandwidth is less than the source code rate of the primary source, and the resolution corresponding to the resolution supported by the set top box is greater than or equal to the source code rate of the primary source, the source code rate is smaller than the first network.
  • the chip source with the largest source code rate is selected for the source push;
  • the code rate corresponding to the first network bandwidth is compared with the set top box.
  • the code rate corresponding to the supported resolution when the code rate corresponding to the first network bandwidth is smaller than the code rate corresponding to the resolution supported by the set top box, and the source code is selected from the source of the code rate corresponding to the code rate corresponding to the first network bandwidth.
  • the source with the highest rate is the source of the source; when the code rate corresponding to the first network bandwidth is greater than or equal to the code rate corresponding to the resolution supported by the set-top box, the slice with the same code rate corresponding to the resolution supported by the set-top box is selected.
  • the source is sourced.
  • the chip source code rate includes the code rate of the slice source transmission calculated after compression coding, including: after the film source is compression-encoded according to the existing compression coding algorithm, the source code rate of the slice before compression coding is different than that according to the compression.
  • the efficiency of the compression coding algorithm for the compression-encoded slice source rate will be correspondingly reduced, and the compression-coded slice source rate includes the standard code rate required in the actual transmission process.
  • Common compression coding formats are: H.263, MEPG-4 (MPEG-4 standard is an ultra-low-rate moving image and language compression standard for real-time image transmission with a transmission rate lower than 64kbps), H.264, H. 265, the compression efficiency is from low to high, and the higher the compression efficiency, the lower the source transmission rate.
  • H.263, H.264, and H.265 are low bit rate video coding standards for video conferencing developed by ITU-T).
  • the conversion between the network bandwidth, the resolution supported by the set top box, and the code rate is a common knowledge of those skilled in the art, and even if not converted to the same unit, those skilled in the art can perform size comparison based on the conversion correspondence.
  • the source source push can be pushed in the following manner:
  • the video server directly pushes the source by HTTP or RTSP; or,
  • the source of the push is carried in the URL request of the primary source of the set-top box to perform the source push.
  • the source of the push is the same as the video content of the primary source, and the source of the source is the same or different.
  • the method of the embodiment of the invention further includes: when performing the source push,
  • the video server feeds back to the set-top box the source code rate of the source and the reason for selecting the source of the push; the set-top box outputs the source code rate of the push source and the reason for selecting the push source to the display device;
  • the display here includes: display through dialog box, scroll bar, status bar, floating text or floating picture.
  • the reason for selecting the push source is to determine the relationship between the first network bandwidth, the source code rate of the primary source, and the resolution supported by the set top box when the source is pushed.
  • the method of the embodiment of the present invention further includes:
  • the video server receives the source of the chip from the set top box to determine whether to accept the push;
  • the video server When the set top box selects to accept the pushed source, the video server transmits the video of the push source; when the set top box selects not to accept the pushed source, the video server transmits the video of the primary source.
  • the source of the source of the primary selected source, the received first network bandwidth, and the resolution supported by the set top box may be used for the source of the source and the reason for selecting the source of the source.
  • the central processing unit realizes that the first network bandwidth and the reception of the resolution supported by the set top box, the reception of the information of the source that accepts the push, the push of the source, and the like can be implemented by the transceiver.
  • the method of the embodiment of the present invention performs the source-pushing by using the obtained first network bandwidth, the resolution of the set-top box, and the source code rate of the primary source, so that the determined source of the source is more reasonable, and the irrational selection of the source is avoided. Affect the normal playback of the source, ensuring a good video experience when the user plays video.
  • FIG. 3 is a structural block diagram of a set top box for implementing a source push according to the present invention.
  • the set top box of the embodiment of the present invention includes an acquisition and sending unit.
  • the obtaining sending unit is configured to obtain the first network bandwidth and the set top box support resolution and send the resolution to the video server, and the first network bandwidth and the set top box support resolution are used for the video server to perform the source push.
  • the obtaining sending unit is configured to set the network bandwidth acquired when the set top box is powered on as the first network bandwidth
  • the difference between the real-time acquired network bandwidth and the current first network bandwidth is calculated, and the difference is multiplied by a preset weight to obtain a bandwidth adjustment value; the current first network bandwidth is added.
  • the obtained bandwidth adjustment value obtains the updated first network bandwidth
  • the set-top box supports resolution by interacting with the TV connected to the set-top box via High Definition Multimedia Interface (HDMI) or Composite Video Broadcast Signal (CVBS).
  • HDMI High Definition Multimedia Interface
  • CVBS Composite Video Broadcast Signal
  • the obtaining sending unit is configured to obtain the first network bandwidth and the set top box support resolution
  • HTTP Hypertext Transfer Protocol
  • RTSP Real Time Streaming Protocol
  • the first network bandwidth and the set top box supported resolution are included in the Uniform Resource Locator (URL) request of the primary source.
  • URL Uniform Resource Locator
  • the set top box of the embodiment of the present invention further includes a display output unit.
  • the display output unit is set to output the source code rate of the push source and the reason for selecting the push source to the display device display; here, the display includes: displaying through a dialog box, a scroll bar, a status bar, a floating text or a floating picture.
  • the set top box of the embodiment of the present invention further includes a selecting unit
  • the selection unit is configured to determine whether to accept the selected source of the push according to an external command, and directly transmit to the video server through HTTP or RTSP; or
  • FIG. 4 is a schematic structural diagram of a video server for implementing a source push according to an embodiment of the present invention.
  • a video server according to an embodiment of the present invention includes a push unit.
  • the push unit is configured to perform the source push according to the slice source rate of the primary source, the received first network bandwidth, and the resolution supported by the set top box.
  • the push unit is set to, according to the source code rate of the primary source, the obtained first network bandwidth, and The resolution supported by the set top box,
  • the source of the push is carried in the URL request of the primary source of the set-top box to perform the source push.
  • the pushing unit is configured to
  • the first network bandwidth is compared.
  • the code rate corresponding to the resolution supported by the set top box when the code rate corresponding to the first network bandwidth is greater than or equal to the code rate corresponding to the resolution supported by the set top box, select the same code rate corresponding to the resolution supported by the set top box.
  • the source of the source code rate is pushed by the source; when the code rate corresponding to the first network bandwidth is smaller than the code rate corresponding to the resolution supported by the set top box, the slice is selected from the source of the code rate corresponding to the code rate corresponding to the first network bandwidth.
  • the source with the highest source code rate is sourced by the source;
  • the source code rate corresponding to the first network bandwidth is less than the source code rate of the primary source, and the resolution corresponding to the resolution supported by the set top box is greater than or equal to the source code rate of the primary source, the source code rate is smaller than the first network.
  • the chip source with the largest source code rate is selected for the source push;
  • the first network bandwidth and the resolution supported by the set top box are compared.
  • Corresponding code rate when the code rate corresponding to the first network bandwidth is smaller than the code rate corresponding to the resolution supported by the set top box, and the slice source whose source code rate is smaller than the code rate corresponding to the first network bandwidth, select the slice with the largest source code rate.
  • the source performs the source-pushing; when the code rate corresponding to the first network bandwidth is greater than or equal to the code rate corresponding to the resolution supported by the set-top box, the chip source with the same code rate corresponding to the resolution supported by the set-top box is selected for the source. Push.
  • the source code rate is the code rate of the source transmission that is calculated after compression coding.
  • the video server of the embodiment of the present invention further includes a feedback unit, where the feedback unit is configured to: when the set-top box is fed back to the source of the source, push the source code rate of the source and select the reason for pushing the source;
  • the video server of the embodiment of the present invention further includes a transmission unit, where the transmission unit is configured to When the set top box selects to accept the pushed source, the video of the push source is transmitted; when the set top box selects not to accept the pushed source, the video of the primary source is transmitted.
  • the system of this application example includes a video server, a set top box (or a device similar in function to the set top box), and the video server stores a source of different code rates of the same program.
  • the set-top box and the video server interact through a standard communication protocol, and the video server stores a multi-rate source of the same video.
  • the set-top box sends the first network bandwidth and the resolution supported by the set-top box when the URL request of the primary source is sent. After the video server obtains the resolution of the first network bandwidth and the set-top box, the source selection is performed, and the set-top box is pushed. source.
  • FIG. 5 is a flowchart of a method according to a first application example of the present invention. As shown in FIG. 5, the method includes:
  • Step 500 When the set top box is powered on, obtain information about the first network bandwidth and the resolution supported by the set top box.
  • the set top box interacts with the bandwidth server or the video server to obtain the first network bandwidth.
  • the HDMI or CVBS mode interacts with the display device connected to the set-top box, or the set-top box supports the resolution directly from the set-top box.
  • Step 501 The set top box sends the URL of the primary selection source to the video server to request information about the resolution of the first network bandwidth and the resolution supported by the set top box.
  • the set top box can also directly send the first network bandwidth and the set top box support resolution by HTTP or RTSP.
  • Step 502 The video server performs the source sending according to the first network bandwidth sent by the set top box and the resolution supported by the set top box, and the source code rate of the primary selected source source; optionally,
  • the code corresponding to the first network bandwidth is greater than or equal to the source code rate of the primary selected source, and the resolution corresponding to the resolution supported by the set top box is greater than or equal to the source code rate of the initial source, the code corresponding to the first network bandwidth is compared. Rate rate corresponding to the resolution supported by the set top box.
  • the code rate corresponding to the first network bandwidth is greater than or equal to the code rate corresponding to the resolution supported by the set top box, select the same source code rate corresponding to the resolution supported by the set top box.
  • the source of the chip is pushed by the source; when the code rate corresponding to the first network bandwidth is smaller than the code rate corresponding to the resolution supported by the set-top box, the source code rate of the slice is smaller than the first network bandwidth.
  • the source with the largest source code rate is selected for the source push;
  • the source code rate corresponding to the first network bandwidth is less than the source code rate of the primary source, and the resolution corresponding to the resolution supported by the set top box is greater than or equal to the source code rate of the primary source, the source code rate is smaller than the first network.
  • the chip source with the largest source code rate is selected for the source push;
  • the code rate corresponding to the first network bandwidth is compared with the set top box.
  • the code rate corresponding to the supported resolution when the code rate corresponding to the first network bandwidth is smaller than the code rate corresponding to the resolution supported by the set top box, and the source code is selected from the source of the code rate corresponding to the code rate corresponding to the first network bandwidth.
  • the source with the highest rate is the source of the source; when the code rate corresponding to the first network bandwidth is greater than or equal to the code rate corresponding to the resolution supported by the set-top box, the slice with the same code rate corresponding to the resolution supported by the set-top box is selected.
  • the source is sourced.
  • the video server directly performs the source push by HTTP or RTSP;
  • the source of the push is carried in the URL request of the primary source of the set-top box to perform the source push.
  • Step 503 The video server pushes the selected set source to the set top box, and includes the source code rate of the source and the reason for selecting the source of the push in the push protocol message, so as to display the source code rate of the source and select the push slice to the user.
  • Source reason information includes: displaying through a dialog box, a scroll bar, a status bar, a floating text, or a floating picture.
  • Step 504 Determine, according to an external command, whether to accept the selected source of the slice; if accepting the selected source of the push, output the video of the push source; and when the selected source is not accepted, play the primary source.
  • the set top box determines whether to accept the information of the selected source of the push to be directly transmitted to the video server through HTTP or RTSP; or
  • Step 505 The video server transmits a corresponding slice source to the set top box terminal according to the determined whether to accept the selected slice source, and the set top box outputs the played video to the display device.
  • the above technical solution avoids the unreasonable influence of the source selection of the film source, and ensures a good video experience when the user plays video.

Abstract

A film source pushing method and system. The method comprises: acquiring, by a set-top box, a first network bandwidth and a resolution supported by the set-top box, and transmitting the same to a video server, wherein the first network bandwidth and the resolution supported by the set-top box are used by the video server to push a film source. The method in an embodiment of the present invention pushes the film source via the acquired first network bandwidth, the resolution supported by the set-top box and a film source code rate of an initially selected film source, and enables the selection of the film source to be more reasonable, thus avoiding affecting the normal playback of the film source due to an unreasonable selection of the film source, and ensuring a user to have good video experience during the video playback.

Description

一种实现片源推送的方法、机顶盒及视频服务器Method for realizing source push, set top box and video server 技术领域Technical field
本文涉及但不限于视频播放技术,尤指一种实现片源推送的方法、机顶盒及视频服务器。This document refers to, but is not limited to, video playback technology, especially a method for implementing source push, a set top box, and a video server.
背景技术Background technique
目前云存储技术发展越来越快,存储在云端视频服务器的不同片源码率的片源(视频内容)也越来越多;用户通过外部指令主观的初选片源,视频服务器根据用户选择的片源向机顶盒传输片源,以实现视频播放。由于机顶盒支持的分辨率和其连接网络的网络带宽存在大小的差异,如果用户初选片源的片源码率,相对于机顶盒支持的分辨率和/或网络带宽不合理,将影响片源的正常播放,或无法充分的结合机顶盒支持的分辨率和/或网络带宽进行良好的视频体验。At present, cloud storage technology is developing faster and faster. The source (video content) of different source code rates stored in the cloud video server is also increasing. The user selects the subjective source of the primary selection through external commands, and the video server selects according to the user. The source transmits the source to the set-top box for video playback. Due to the difference in resolution between the resolution supported by the set-top box and the network bandwidth of the connected network, if the source code rate of the user's primary source is unreasonable relative to the resolution and/or network bandwidth supported by the set-top box, the normality of the source will be affected. Play, or not fully combined with the resolution and / or network bandwidth supported by the set-top box for a good video experience.
综上,通过用户初选片源进行片源播放的方法,由于机顶盒支持的分辨率和其连接网络的网络带宽的差异,用户选择的片源存在不合理的情况,影响片源的正常播放或影响用户获得良好的视频体验。In summary, the method of playing the source of the source by the user's primary selection source, due to the difference between the resolution supported by the set top box and the network bandwidth of the connected network, the user selected source has an unreasonable situation, affecting the normal playback of the source or Affect users to get a good video experience.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种实现片源推送的方法及系统,能够推送合理的片源,提高用户体验。Embodiments of the present invention provide a method and system for implementing a source push, which can push a reasonable source and improve user experience.
其中,本发明实施例提供一种实现片源推送的方法,包括:The embodiment of the present invention provides a method for implementing source sending, including:
机顶盒获取第一网络带宽及机顶盒支持分辨率并发送给视频服务器,所述第一网络带宽和机顶盒支持分辨率用于视频服务器进行片源推送。The set top box acquires the first network bandwidth and the set top box support resolution and sends the resolution to the video server, and the first network bandwidth and the set top box support resolution are used for the video server to perform the source push.
可选地,获取第一网络带宽及机顶盒支持分辨率包括:Optionally, obtaining the first network bandwidth and the set top box support resolution includes:
所述机顶盒与带宽服务器或视频服务器交互以获取所述第一网络带宽;The set top box interacts with a bandwidth server or a video server to obtain the first network bandwidth;
所述机顶盒通过高清晰度多媒体接口(HDMI)或复合视频广播信号 (CVBS)方式与与机顶盒连接的电视机交互,或直接从机顶盒中获取所述机顶盒支持分辨率。The set top box passes a high definition multimedia interface (HDMI) or a composite video broadcast signal The (CVBS) mode interacts with the television connected to the set top box or obtains the resolution of the set top box directly from the set top box.
可选地,获取所述第一网络带宽具体包括:Optionally, the acquiring the first network bandwidth specifically includes:
将机顶盒开机时获取的网络带宽作为第一网络带宽;The network bandwidth obtained when the set top box is powered on is used as the first network bandwidth;
每一次重新进行初始片源选择时,计算实时获取的网络带宽与当前的所述第一网络带宽的差值,再将该差值乘以预设权重得到带宽调整值;将当前的所述第一网络带宽加上得到的带宽调整值,获得更新的所述第一网络带宽。Each time the initial source selection is re-executed, the difference between the real-time acquired network bandwidth and the current first network bandwidth is calculated, and the difference is multiplied by a preset weight to obtain a bandwidth adjustment value; A network bandwidth plus the obtained bandwidth adjustment value obtains the updated first network bandwidth.
可选地,发送获取的第一网络带宽及机顶盒支持分辨率到视频服务器包括:Optionally, sending the acquired first network bandwidth and the set top box support resolution to the video server includes:
机顶盒通过超文本传输协议(HTTP)或实时流传输协议(RTSP)方式直接发送所述第一网络带宽及所述机顶盒支持分辨率;或,The set top box directly transmits the first network bandwidth and the set top box support resolution by using a Hypertext Transfer Protocol (HTTP) or a Real Time Streaming Protocol (RTSP); or
在所述初选片源的统一资源定位符(URL)请求中附带所述获取的第一网络带宽及所述机顶盒支持分辨率。The obtained first network bandwidth and the set top box support resolution are included in a uniform resource locator (URL) request of the primary source.
可选的,所述方法还包括:Optionally, the method further includes:
所述机顶盒根据外部指令确定是否选择接受视频服务器推送的片源。The set top box determines whether to accept the source of the video server push according to an external command.
可选的,所述机顶盒将所述确定是否接受推送的片源的信息通过HTTP或RTSP方式直接传输至所述视频服务器;或,Optionally, the set top box directly transmits the information of the source that determines whether to accept the push to the video server by using HTTP or RTSP; or
所述机顶盒将所述确定是否接受推送的片源的信息在所述初选片源的URL请求的响应URL中携带以发送至所述视频服务器。The set top box carries the information determining whether to accept the pushed source of the source in the response URL of the URL request of the primary selected source to be sent to the video server.
另一方面,本发明实施例还提供一种实现片源推送的方法,包括:On the other hand, an embodiment of the present invention further provides a method for implementing a source push, including:
视频服务器接收来自机顶盒的第一网络带宽及机顶盒支持分辨率;The video server receives the first network bandwidth from the set top box and the resolution of the set top box support;
视频服务器根据初选片源的片源码率、接收到的第一网络带宽及机顶盒支持的分辨率进行片源推送。The video server performs the source push according to the source code rate of the primary source, the received first network bandwidth, and the resolution supported by the set top box.
可选地,进行片源推送包括:Optionally, performing source feed includes:
视频服务器通过HTTP或RTSP方式直接进行片源推送;或,The video server directly pushes the source by HTTP or RTSP; or,
在响应机顶盒的初选片源的URL请求中携带推送的片源进行片源推送。The source of the push is carried in the URL request of the primary source of the set-top box to perform the source push.
可选地,片源码率为压缩编码后折算出的片源传输的码率;进行片源推 送包括:Optionally, the source code rate is a code rate of the slice source transmission after the compression coding; Send includes:
当所述第一网络带宽对应的码率大于或等于所述初选片源的片源码率,且所述机顶盒支持的分辨率对应的码率大于或等于所述初选片源的片源码率时,比较所述第一网络带宽对应的码率与所述机顶盒支持的分辨率对应的码率,当所述第一网络带宽对应的码率大于或等于所述机顶盒支持的分辨率对应的码率,选择与所述机顶盒支持的分辨率对应的码率相同的片源码率的片源进行片源推送;当所述第一网络带宽对应的码率小于所述机顶盒支持的分辨率对应的码率,从片源码率小于所述第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;When the code rate corresponding to the first network bandwidth is greater than or equal to the source code rate of the primary source, and the resolution supported by the set top box is greater than or equal to the source code rate of the primary source. And comparing a code rate corresponding to the first network bandwidth to a code rate corresponding to the resolution supported by the set top box, where a code rate corresponding to the first network bandwidth is greater than or equal to a code corresponding to a resolution supported by the set top box. Rate, selecting a source of the chip source rate of the same code rate corresponding to the resolution supported by the set top box to perform the source push; when the code rate corresponding to the first network bandwidth is smaller than the code corresponding to the resolution supported by the set top box Rate, from the source of the chip whose source code rate is smaller than the code rate corresponding to the first network bandwidth, select the chip source with the largest source code rate for the source of the film;
当所述第一网络带宽对应的码率大于或等于所述初选片源的片源码率,且机顶盒支持的分辨率对应的码率低于所述初选片源的片源码率时,选择与所述机顶盒支持的分辨率对应的码率相同片源码率的片源进行片源推送;When the code rate corresponding to the first network bandwidth is greater than or equal to the chip source code rate of the primary selection source, and the resolution corresponding to the resolution supported by the set top box is lower than the source code rate of the primary selection source, select The source of the same source code rate corresponding to the resolution supported by the set top box is subjected to the source of the source;
当所述第一网络带宽对应的码率小于所述初选片源的片源码率,且所述机顶盒支持的分辨率对应的码率大于或等于所述初选片源的片源码率时,从片源码率小于所述第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;When the code rate corresponding to the first network bandwidth is smaller than the chip source rate of the primary source, and the resolution supported by the set top box is greater than or equal to the source code rate of the primary source, The chip source with the highest source code rate is selected from the slice source whose chip source rate is smaller than the code rate corresponding to the first network bandwidth;
当所述第一网络带宽对应的码率小于所述初选片源的片源码率,且所述机顶盒支持的分辨率对应的码率小于所述初选片源的片源码率,比较所述第一网络带宽对应的码率与所述机顶盒支持的分辨率对应的码率,当所述第一网络带宽对应的码率小于所述机顶盒支持的分辨率对应的码率,从片源码率小于所述第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;当所述第一网络带宽对应的码率大于或等于所述机顶盒支持的分辨率对应的码率,选择与所述机顶盒支持的分辨率对应的码率相同的片源码率的片源进行片源推送。When the code rate corresponding to the first network bandwidth is less than the chip source rate of the primary source, and the resolution supported by the set top box is smaller than the source code rate of the primary source, compare the a code rate corresponding to the resolution supported by the set top box, where the code rate corresponding to the first network bandwidth is smaller than a code rate corresponding to the resolution supported by the set top box, and the source code rate is less than The source of the code rate corresponding to the first network bandwidth is selected, and the source of the chip with the highest source code rate is selected to perform the source transmission; when the code rate corresponding to the first network bandwidth is greater than or equal to the resolution supported by the set top box, The code rate is selected from the source of the chip source rate of the same code rate corresponding to the resolution supported by the set top box.
可选地,所述方法还包括:在进行片源推送时,Optionally, the method further includes: when performing the source push,
视频服务器向机顶盒反馈推送片源的片源码率及选择推送片源的原因;机顶盒输出推送片源的片源码率及选择推送片源的原因到显示装置显示;The video server feeds back to the set-top box the source code rate of the source and the reason for selecting the source of the push; the set-top box outputs the source code rate of the push source and the reason for selecting the push source to the display device;
显示包括:通过对话框、滚动条、状态栏、悬浮文字或者悬浮图片进行 显示。Display includes: via dialog, scroll bar, status bar, hover text or floating image display.
可选地,所述方法还包括:Optionally, the method further includes:
所述方法还包括:The method further includes:
所述视频服务器接收来自机顶盒的确定是否接受选择推送的片源;Receiving, by the video server, a slice source from the set top box that determines whether to accept the selected push;
当机顶盒选择接受推送的片源时,视频服务器传输所述推送片源的视频;机顶盒选择不接受推送的片源时,视频服务器传输初选片源的视频。When the set top box selects to accept the pushed source, the video server transmits the video of the push source; when the set top box selects not to accept the pushed source, the video server transmits the video of the primary source.
另一方面,本发明实施例还提供一种实现片源推送的机顶盒,所述机顶盒包括获取发送单元,On the other hand, an embodiment of the present invention further provides a set top box that implements a source push, and the set top box includes an acquisition and sending unit.
获取发送单元设置为,获取第一网络带宽及机顶盒支持分辨率并发送给视频服务器,所述第一网络带宽和机顶盒支持分辨率用于视频服务器进行片源推送。The obtaining sending unit is configured to obtain the first network bandwidth and the set top box support resolution and send the resolution to the video server, and the first network bandwidth and the set top box support resolution are used by the video server for the source sending.
可选地,获取发送单元是设置为,Optionally, the obtaining sending unit is set to,
将机顶盒开机时获取的网络带宽作为第一网络带宽;The network bandwidth obtained when the set top box is powered on is used as the first network bandwidth;
每一次重新进行初始片源选择时,计算实时获取的网络带宽与当前的所述第一网络带宽的差值,再将该差值乘以预设权重得到带宽调整值;将当前的所述第一网络带宽加上得到的带宽调整值,获得更新的所述第一网络带宽;Each time the initial source selection is re-executed, the difference between the real-time acquired network bandwidth and the current first network bandwidth is calculated, and the difference is multiplied by a preset weight to obtain a bandwidth adjustment value; a network bandwidth plus the obtained bandwidth adjustment value to obtain the updated first network bandwidth;
通过HDMI或CVBS方式与与机顶盒连接的电视机交互,或直接从机顶盒中获取所述机顶盒支持分辨率。The set-top box supports the resolution by interacting with the TV connected to the set-top box by HDMI or CVBS, or directly from the set-top box.
可选地,获取发送单元是设置为,获取第一网络带宽及机顶盒支持分辨率;Optionally, the obtaining sending unit is configured to obtain the first network bandwidth and the set top box support resolution;
通过HTTP或RTSP方式直接发送第一网络带宽及机顶盒支持分辨率;或,Send the first network bandwidth and the set-top box support resolution directly by HTTP or RTSP; or
在所述初选片源的URL请求中附带所述获取的第一网络带宽及所述机顶盒支持分辨率。The acquired first network bandwidth and the set top box support resolution are included in the URL request of the primary source.
可选的,所述机顶盒还包括显示输出单元,Optionally, the set top box further includes a display output unit.
显示输出单元设置为,输出所述推送片源的片源码率及选择所述推送片源的原因到显示装置显示; The display output unit is configured to output a slice source rate of the push chip source and select a reason for the push chip source to display the display device;
所述显示包括:通过对话框、滚动条、状态栏、悬浮文字或者悬浮图片进行显示。The display includes: displaying through a dialog box, a scroll bar, a status bar, a floating text, or a floating picture.
可选的,机顶盒还包括选择单元,Optionally, the set top box further includes a selection unit,
选择单元设置为,根据外部指令确定是否接受选择推送的片源,并通过HTTP或RTSP方式直接传输至所述视频服务器;或,The selecting unit is configured to determine, according to an external command, whether to accept the selected source of the push, and directly transmit to the video server by using HTTP or RTSP; or
根据外部指令确定是否接受选择推送的片源,并在初选片源的URL请求的响应URL中携带确定是否接受选择推送的片源的信息,以发送至视频服务器。Whether to accept the selected source of the push according to the external command, and carrying the information determining whether to accept the selected source of the push is carried in the response URL of the URL request of the primary source to be sent to the video server.
另一方面,本发明实施例还提供一种实现片源推送的视频服务器,所述视频服务器包括推送单元,On the other hand, an embodiment of the present invention further provides a video server that implements a source push, where the video server includes a push unit.
推送单元设置为,根据初选片源的片源码率、接收到的第一网络带宽及机顶盒支持的分辨率进行片源推送。The push unit is configured to perform the source push according to the slice source rate of the primary source, the received first network bandwidth, and the resolution supported by the set top box.
可选地,推送单元是设置为,根据初选片源的片源码率、获取的第一网络带宽及机顶盒支持的分辨率,Optionally, the pushing unit is configured to set the first network bandwidth and the resolution supported by the set top box according to the source code rate of the primary selected source.
通过HTTP或RTSP方式直接进行片源推送;或,Direct source transfer via HTTP or RTSP; or,
在响应机顶盒的初选片源的URL请求中携带推送的片源进行片源推送。The source of the push is carried in the URL request of the primary source of the set-top box to perform the source push.
可选地,推送单元是设置为,Optionally, the push unit is set to,
当所述第一网络带宽对应的码率大于或等于所述初选片源的片源码率,且所述机顶盒支持的分辨率对应的码率大于或等于所述初选片源的片源码率时,比较所述第一网络带宽对应的码率与所述机顶盒支持的分辨率对应的码率,当所述第一网络带宽对应的码率大于或等于所述机顶盒支持的分辨率对应的码率,选择与所述机顶盒支持的分辨率对应的码率相同的片源码率的片源进行片源推送;当所述第一网络带宽对应的码率小于所述机顶盒支持的分辨率对应的码率,从片源码率小于所述第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;When the code rate corresponding to the first network bandwidth is greater than or equal to the source code rate of the primary source, and the resolution supported by the set top box is greater than or equal to the source code rate of the primary source. And comparing a code rate corresponding to the first network bandwidth to a code rate corresponding to the resolution supported by the set top box, where a code rate corresponding to the first network bandwidth is greater than or equal to a code corresponding to a resolution supported by the set top box. Rate, selecting a source of the chip source rate of the same code rate corresponding to the resolution supported by the set top box to perform the source push; when the code rate corresponding to the first network bandwidth is smaller than the code corresponding to the resolution supported by the set top box Rate, from the source of the chip whose source code rate is smaller than the code rate corresponding to the first network bandwidth, select the chip source with the largest source code rate for the source of the film;
当所述第一网络带宽对应的码率大于或等于所述初选片源的片源码率,且机顶盒支持的分辨率对应的码率低于所述初选片源的片源码率时,选择与所述机顶盒支持的分辨率对应的码率相同片源码率的片源进行片源推送; When the code rate corresponding to the first network bandwidth is greater than or equal to the chip source code rate of the primary selection source, and the resolution corresponding to the resolution supported by the set top box is lower than the source code rate of the primary selection source, select The source of the same source code rate corresponding to the resolution supported by the set top box is subjected to the source of the source;
当所述第一网络带宽对应的码率小于所述初选片源的片源码率,且所述机顶盒支持的分辨率对应的码率大于或等于所述初选片源的片源码率时,从片源码率小于所述第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;When the code rate corresponding to the first network bandwidth is smaller than the chip source rate of the primary source, and the resolution supported by the set top box is greater than or equal to the source code rate of the primary source, The chip source with the highest source code rate is selected from the slice source whose chip source rate is smaller than the code rate corresponding to the first network bandwidth;
当所述第一网络带宽对应的码率小于所述初选片源的片源码率,且所述机顶盒支持的分辨率对应的码率小于所述初选片源的片源码率,比较所述第一网络带宽对应的码率与所述机顶盒支持的分辨率对应的码率,当所述第一网络带宽对应的码率小于所述机顶盒支持的分辨率对应的码率,从片源码率小于所述第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;当所述第一网络带宽对应的码率大于或等于所述机顶盒支持的分辨率对应的码率,选择与所述机顶盒支持的分辨率对应的码率相同的片源码率的片源进行片源推送。When the code rate corresponding to the first network bandwidth is less than the chip source rate of the primary source, and the resolution supported by the set top box is smaller than the source code rate of the primary source, compare the a code rate corresponding to the resolution supported by the set top box, where the code rate corresponding to the first network bandwidth is smaller than a code rate corresponding to the resolution supported by the set top box, and the source code rate is less than The source of the code rate corresponding to the first network bandwidth is selected, and the source of the chip with the highest source code rate is selected to perform the source transmission; when the code rate corresponding to the first network bandwidth is greater than or equal to the resolution supported by the set top box, The code rate is selected from the source of the chip source rate of the same code rate corresponding to the resolution supported by the set top box.
所述片源码率为压缩编码后折算出的片源传输的码率。The source code rate is the code rate of the slice source transmission calculated after compression coding.
可选地,视频服务器还包括反馈单元,反馈单元设置为,在进行片源推送时,向机顶盒反馈所述推送片源的片源码率及选择所述推送片源的原因;Optionally, the video server further includes a feedback unit, where the feedback unit is configured to feed back, to the set-top box, the source code rate of the push-slice source and the reason for selecting the push-slice source when performing the source-source push;
可选地,视频服务器还包括传输单元,传输单元设置为,当机顶盒选择接受推送的片源时,传输所述推送片源的视频;机顶盒选择不接受推送的片源时,传输初选片源的视频。Optionally, the video server further includes a transmission unit, configured to: when the set top box selects to accept the pushed source, transmit the video of the push source; when the set top box selects not to accept the pushed source, transmit the primary selected source Video.
与相关技术相比,本发明实施例提供的技术方案,包括:机顶盒获取第一网络带宽及机顶盒支持分辨率并发送给视频服务器;视频服务器根据初选片源的片源码率、接收到的第一网络带宽及机顶盒支持的分辨率进行片源推送。本发明方法通过获取的第一网络带宽及机顶盒支持分辨率及初选片源的片源码率进行片源推送,使确定推送的片源更为合理,避免了由于片源选择的不合理影响片源的正常播放,保证了用户进行视频播放时良好的视频体验。Compared with the related art, the technical solution provided by the embodiment of the present invention includes: the set top box acquires the first network bandwidth and the resolution of the set top box and sends the resolution to the video server; and the video server receives the first source code according to the source code rate of the primary source. The source bandwidth is supported by a network bandwidth and resolution supported by the set top box. The method of the invention performs the source-pushing by the obtained first network bandwidth and the resolution of the set-top box and the source code rate of the primary source, so that the determined source of the source is more reasonable, and the irrational influence of the selection of the source is avoided. The normal playback of the source ensures a good video experience when the user plays video.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例实现片源推送的方法的流程图;1 is a flowchart of a method for implementing a source push according to an embodiment of the present invention;
图2为本发明另一实施例实现片源推送的方法的流程图; 2 is a flowchart of a method for implementing a source push according to another embodiment of the present invention;
图3为本发明实施例实现片源推送的机顶盒的结构程图;FIG. 3 is a structural diagram of a set top box for implementing source source push according to an embodiment of the present invention; FIG.
图4为本发明实施例实现片源推送的视频服务器的结构程图;4 is a structural diagram of a video server for implementing a source push according to an embodiment of the present invention;
图5为本发明第一应用示例的方法流程图。FIG. 5 is a flowchart of a method according to a first application example of the present invention.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
图1为本发明实现片源推送的方法的流程图,如图1所示,包括:FIG. 1 is a flowchart of a method for implementing a source push according to the present invention. As shown in FIG. 1, the method includes:
步骤100、机顶盒获取第一网络带宽及机顶盒支持分辨率并发送给视频服务器;Step 100: The set top box acquires the first network bandwidth and the resolution of the set top box and sends the resolution to the video server.
本发明实施例,第一网络带宽和机顶盒支持分辨率用于视频服务器进行片源推送。In the embodiment of the present invention, the first network bandwidth and the set top box support resolution are used for the video server to perform the source push.
可选的,本步骤之前还包括,Optionally, this step also includes,
机顶盒与带宽服务器或视频服务器交互,以获取第一网络带宽;The set top box interacts with the bandwidth server or the video server to obtain the first network bandwidth;
机顶盒通过高清晰度多媒体接口(HDMI)或复合视频广播信号(CVBS)方式与与机顶盒连接的显示装置交互,或直接从机顶盒中获取机顶盒支持分辨率。这里,显示装置一般是显示器。The set-top box interacts with the display device connected to the set-top box via High Definition Multimedia Interface (HDMI) or Composite Video Broadcast Signal (CVBS), or obtains the set-top box support resolution directly from the set-top box. Here, the display device is generally a display.
可选的,本发明实施例获取第一网络带宽包括:Optionally, obtaining, by the embodiment of the present invention, the first network bandwidth includes:
将机顶盒开机时获取的网络带宽作为第一网络带宽;The network bandwidth obtained when the set top box is powered on is used as the first network bandwidth;
每一次重新进行片源选择时,计算实时获取的网络带宽与当前的第一网络带宽的差值,再将该差值乘以预设权重得到带宽调整值;将当前的第一网络带宽加上得到的带宽调整值,获得更新的第一网络带宽。Each time the source selection is re-executed, the difference between the real-time acquired network bandwidth and the current first network bandwidth is calculated, and the difference is multiplied by a preset weight to obtain a bandwidth adjustment value; the current first network bandwidth is added. The obtained bandwidth adjustment value obtains the updated first network bandwidth.
可选的,重新进行片源选择包括每一次接收外部指令进行片源选择的情况;Optionally, re-provisioning the source selection includes receiving an external command for each source selection;
可选的,机顶盒通过超文本传输协议(HTTP)或实时流传输协议(RTSP)方式直接发送第一网络带宽及机顶盒支持分辨率;或,Optionally, the set top box directly sends the first network bandwidth and the set top box support resolution by using a Hypertext Transfer Protocol (HTTP) or a Real Time Streaming Protocol (RTSP); or
在初选片源的统一资源定位符(URL)请求中附带获取的第一网络带宽 及机顶盒支持分辨率。The first network bandwidth acquired in the Uniform Resource Locator (URL) request of the primary source And the set top box supports resolution.
可选的,本发明实施例方法还包括步骤101:Optionally, the method of the embodiment of the present invention further includes step 101:
步骤101、机顶盒根据外部指令确定是否选择接受视频服务器推送的片源。Step 101: The set top box determines, according to an external command, whether to accept the source of the video server push.
可选的,机顶盒将确定是否接受推送的片源的信息通过HTTP或RTSP方式直接传输至所述视频服务器;或,Optionally, the set top box determines whether the information of the pushed source is directly transmitted to the video server by HTTP or RTSP; or
机顶盒将确定是否接受推送的片源的信息在所述初选片源的URL请求的响应URL中携带以发送至视频服务器。The set top box will determine whether to accept the information of the pushed source of the source in the response URL of the URL request of the primary source to be sent to the video server.
需要说明的是,本发明实施例方法中,获取第一网络带宽及机顶盒支持分辨率、根据外部指令确定是否选择接受视频服务器推送的片源等可以通过机顶盒的中央处理器实现,外部指令可以通过按键或触控屏设备的输入信号进行确定,第一网络带宽及机顶盒支持分辨率的发送、是否接受推送的片源的信息的传输等可以通过机顶盒的收发装置实施。It should be noted that, in the method of the embodiment of the present invention, obtaining the first network bandwidth and the resolution of the set top box, determining whether to accept the video source pushed by the video server according to an external command, etc. may be implemented by the central processing unit of the set top box, and the external command may be adopted. The input signal of the button or the touch screen device is determined, and the first network bandwidth and the transmission of the resolution supported by the set top box, the transmission of the information of the source that accepts the push, and the like can be implemented by the transceiver of the set top box.
本发明实施例方法通过获取的第一网络带宽及机顶盒支持分辨率及初选片源的片源码率进行片源推送,使确定推送的片源更为合理,避免了由于片源选择的不合理影响片源的正常播放,保证了用户进行视频播放时良好的视频体验。The method of the embodiment of the present invention performs the source-pushing by using the obtained first network bandwidth, the resolution of the set-top box, and the source code rate of the primary source, so that the determined source of the source is more reasonable, and the irrational selection of the source is avoided. Affect the normal playback of the source, ensuring a good video experience when the user plays video.
图2为本发明另一实施例实现片源推送的方法的流程图,如图2所示,包括:2 is a flowchart of a method for implementing a source push according to another embodiment of the present invention. As shown in FIG. 2, the method includes:
步骤200、视频服务器接收来自机顶盒的第一网络带宽及机顶盒支持分辨率;这里,第一网络带宽及机顶盒支持分辨率由机顶盒获取的;Step 200: The video server receives the first network bandwidth from the set top box and the set top box support resolution; where the first network bandwidth and the set top box support resolution are obtained by the set top box;
步骤201、视频服务器根据初选片源的片源码率、接收到的第一网络带宽及机顶盒支持的分辨率进行片源推送。这里,初选片源的片源码率包括压缩编码后折算出的片源传输的码率;Step 201: The video server performs the source push according to the source code rate of the primary selected source, the received first network bandwidth, and the resolution supported by the set top box. Here, the source code rate of the primary selection source includes the code rate of the slice source transmission after compression coding;
可选的,本步骤中的进行片源推送包括:Optionally, performing source source pushing in this step includes:
当第一网络带宽对应的码率大于或等于初选片源的片源码率,且机顶盒支持的分辨率对应的码率大于或等于初选片源的片源码率时,比较第一网络带宽对应的码率与机顶盒支持的分辨率对应的码率,当第一网络带宽对应的 码率大于或等于机顶盒支持的分辨率对应的码率,选择与机顶盒支持的分辨率对应的码率相同的片源码率的片源进行片源推送;当第一网络带宽对应的码率小于机顶盒支持的分辨率对应的码率,从片源码率小于第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;When the code rate corresponding to the first network bandwidth is greater than or equal to the source code rate of the primary selected source, and the resolution corresponding to the resolution supported by the set top box is greater than or equal to the source code rate of the primary selected source, the first network bandwidth is compared. The code rate corresponding to the resolution supported by the set top box, when the first network bandwidth corresponds The code rate is greater than or equal to the code rate corresponding to the resolution supported by the set-top box, and the chip source with the same code rate corresponding to the resolution supported by the set-top box is selected for source-source push; when the code rate corresponding to the first network bandwidth is smaller than the set-top box The code rate corresponding to the supported resolution is selected from the source of the code rate corresponding to the code rate corresponding to the first network bandwidth, and the source with the largest source code rate is selected for the source transmission;
当第一网络带宽对应的码率大于或等于初选片源的片源码率,且机顶盒支持的分辨率对应的码率低于初选片源的片源码率时,选择与机顶盒支持的分辨率对应的码率相同片源码率的片源进行片源推送;When the code rate corresponding to the first network bandwidth is greater than or equal to the source code rate of the primary source, and the resolution supported by the set top box is lower than the source code rate of the primary source, select the resolution supported by the set top box. The corresponding source code rate of the same source code rate source source for film source push;
当第一网络带宽对应的码率小于初选片源的片源码率,且机顶盒支持的分辨率对应的码率大于或等于初选片源的片源码率时,从片源码率小于第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;When the code rate corresponding to the first network bandwidth is less than the source code rate of the primary source, and the resolution corresponding to the resolution supported by the set top box is greater than or equal to the source code rate of the primary source, the source code rate is smaller than the first network. Among the slice sources of the bit rate corresponding to the bandwidth, the chip source with the largest source code rate is selected for the source push;
当第一网络带宽对应的码率小于初选片源的片源码率,且机顶盒支持的分辨率对应的码率小于初选片源的片源码率,比较第一网络带宽对应的码率与机顶盒支持的分辨率对应的码率,当第一网络带宽对应的码率小于机顶盒支持的分辨率对应的码率,从片源码率小于第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;当第一网络带宽对应的码率大于或等于机顶盒支持的分辨率对应的码率,选择与机顶盒支持的分辨率对应的码率相同的片源码率的片源进行片源推送。When the code rate corresponding to the first network bandwidth is smaller than the source code rate of the primary selected source, and the resolution corresponding to the resolution supported by the set top box is smaller than the source code rate of the primary selected source, the code rate corresponding to the first network bandwidth is compared with the set top box. The code rate corresponding to the supported resolution, when the code rate corresponding to the first network bandwidth is smaller than the code rate corresponding to the resolution supported by the set top box, and the source code is selected from the source of the code rate corresponding to the code rate corresponding to the first network bandwidth. The source with the highest rate is the source of the source; when the code rate corresponding to the first network bandwidth is greater than or equal to the code rate corresponding to the resolution supported by the set-top box, the slice with the same code rate corresponding to the resolution supported by the set-top box is selected. The source is sourced.
需要说明的是,片源码率包括压缩编码后折算出的片源传输的码率,包括:片源根据现有的压缩编码算法进行压缩编码后,压缩编码前的片源码率会比根据不同压缩效率的压缩编码算法进行压缩编码后的片源码率会相应减少,压缩编码后的片源码率包括在实际传输过程中需要的标准码率。常见的压缩编码格式有:H.263、MEPG-4(MPEG-4标准是超低码率运动图像和语言的压缩标准用于传输速率低于64kbps的实时图像传输)、H.264、H.265,压缩效率从低到高,压缩效率越高片源传输码率越低。(H.263、H.264、H.265是由ITU-T制定的视频会议用的低码率视频编码标准)。网络带宽、机顶盒支持的分辨率和码率之间的换算为本领域技术人员的公知常识,即使不换算为相同的单位,本领域技术人员也可以基于换算对应关系,进行大小比较。It should be noted that the chip source code rate includes the code rate of the slice source transmission calculated after compression coding, including: after the film source is compression-encoded according to the existing compression coding algorithm, the source code rate of the slice before compression coding is different than that according to the compression. The efficiency of the compression coding algorithm for the compression-encoded slice source rate will be correspondingly reduced, and the compression-coded slice source rate includes the standard code rate required in the actual transmission process. Common compression coding formats are: H.263, MEPG-4 (MPEG-4 standard is an ultra-low-rate moving image and language compression standard for real-time image transmission with a transmission rate lower than 64kbps), H.264, H. 265, the compression efficiency is from low to high, and the higher the compression efficiency, the lower the source transmission rate. (H.263, H.264, and H.265 are low bit rate video coding standards for video conferencing developed by ITU-T). The conversion between the network bandwidth, the resolution supported by the set top box, and the code rate is a common knowledge of those skilled in the art, and even if not converted to the same unit, those skilled in the art can perform size comparison based on the conversion correspondence.
本发明实施例中,进行片源推送可以通过以下方式进行推送:In the embodiment of the present invention, the source source push can be pushed in the following manner:
视频服务器通过HTTP或RTSP方式直接进行片源推送;或, The video server directly pushes the source by HTTP or RTSP; or,
在响应机顶盒的初选片源的URL请求中携带推送的片源进行片源推送。The source of the push is carried in the URL request of the primary source of the set-top box to perform the source push.
需要说明的是,本发明实施例方法中,进行推送的片源是与初选片源视频内容相同,片源码率相同或不同的片源。It should be noted that, in the method of the embodiment of the present invention, the source of the push is the same as the video content of the primary source, and the source of the source is the same or different.
本发明实施例方法还包括:在进行片源推送时,The method of the embodiment of the invention further includes: when performing the source push,
视频服务器向机顶盒反馈推送片源的片源码率及选择推送片源的原因;机顶盒输出推送片源的片源码率及选择推送片源的原因到显示装置显示;The video server feeds back to the set-top box the source code rate of the source and the reason for selecting the source of the push; the set-top box outputs the source code rate of the push source and the reason for selecting the push source to the display device;
这里的显示包括:通过对话框、滚动条、状态栏、悬浮文字或者悬浮图片进行显示。The display here includes: display through dialog box, scroll bar, status bar, floating text or floating picture.
需要说明的是,这里选择推送片源的原因是指确定推送片源时,第一网络带宽、初选片源的片源码率及机顶盒支持的分辨率的大小关系。It should be noted that the reason for selecting the push source is to determine the relationship between the first network bandwidth, the source code rate of the primary source, and the resolution supported by the set top box when the source is pushed.
可选的,本发明实施例方法还包括:Optionally, the method of the embodiment of the present invention further includes:
视频服务器接收来自机顶盒的确定是否接受选择推送的片源;The video server receives the source of the chip from the set top box to determine whether to accept the push;
当机顶盒选择接受推送的片源时,视频服务器传输推送片源的视频;机顶盒选择不接受推送的片源时,视频服务器传输初选片源的视频。When the set top box selects to accept the pushed source, the video server transmits the video of the push source; when the set top box selects not to accept the pushed source, the video server transmits the video of the primary source.
需要说明的是,本发明实施例方法中,根据初选片源的片源码率、接收到的第一网络带宽及机顶盒支持的分辨率进行片源推送、选择推送片源的原因的等可以通过中央处理器实现,第一网络带宽及机顶盒支持分辨率的接收、是否接受推送的片源的信息的接收、片源的推送等可以通过收发装置实施。It should be noted that, in the method of the embodiment of the present invention, the source of the source of the primary selected source, the received first network bandwidth, and the resolution supported by the set top box may be used for the source of the source and the reason for selecting the source of the source. The central processing unit realizes that the first network bandwidth and the reception of the resolution supported by the set top box, the reception of the information of the source that accepts the push, the push of the source, and the like can be implemented by the transceiver.
本发明实施例方法通过获取的第一网络带宽及机顶盒支持分辨率及初选片源的片源码率进行片源推送,使确定推送的片源更为合理,避免了由于片源选择的不合理影响片源的正常播放,保证了用户进行视频播放时良好的视频体验。The method of the embodiment of the present invention performs the source-pushing by using the obtained first network bandwidth, the resolution of the set-top box, and the source code rate of the primary source, so that the determined source of the source is more reasonable, and the irrational selection of the source is avoided. Affect the normal playback of the source, ensuring a good video experience when the user plays video.
图3为本发明实现片源推送的机顶盒的结构框图,如图3所示,本发明实施例机顶盒包括获取发送单元,FIG. 3 is a structural block diagram of a set top box for implementing a source push according to the present invention. As shown in FIG. 3, the set top box of the embodiment of the present invention includes an acquisition and sending unit.
获取发送单元设置为,获取第一网络带宽及机顶盒支持分辨率并发送给视频服务器,第一网络带宽和机顶盒支持分辨率用于视频服务器进行片源推送。 The obtaining sending unit is configured to obtain the first network bandwidth and the set top box support resolution and send the resolution to the video server, and the first network bandwidth and the set top box support resolution are used for the video server to perform the source push.
获取发送单元是设置为,将机顶盒开机时获取的网络带宽作为第一网络带宽;The obtaining sending unit is configured to set the network bandwidth acquired when the set top box is powered on as the first network bandwidth;
每一次重新进行初始片源选择时,计算实时获取的网络带宽与当前的第一网络带宽的差值,再将该差值乘以预设权重得到带宽调整值;将当前的第一网络带宽加上得到的带宽调整值,获得更新的第一网络带宽;Each time the initial source selection is re-executed, the difference between the real-time acquired network bandwidth and the current first network bandwidth is calculated, and the difference is multiplied by a preset weight to obtain a bandwidth adjustment value; the current first network bandwidth is added. The obtained bandwidth adjustment value obtains the updated first network bandwidth;
通过高清晰度多媒体接口(HDMI)或复合视频广播信号(CVBS)方式与与机顶盒连接的电视机交互,或直接从机顶盒中获取机顶盒支持分辨率。The set-top box supports resolution by interacting with the TV connected to the set-top box via High Definition Multimedia Interface (HDMI) or Composite Video Broadcast Signal (CVBS).
获取发送单元是设置为,获取第一网络带宽及机顶盒支持分辨率;The obtaining sending unit is configured to obtain the first network bandwidth and the set top box support resolution;
通过超文本传输协议(HTTP)或实时流传输协议(RTSP)方式直接发送第一网络带宽及机顶盒支持分辨率;或,Send the first network bandwidth and set-top box support resolution directly via Hypertext Transfer Protocol (HTTP) or Real Time Streaming Protocol (RTSP); or,
在初选片源的统一资源定位符(URL)请求中附带获取的第一网络带宽及机顶盒支持分辨率。The first network bandwidth and the set top box supported resolution are included in the Uniform Resource Locator (URL) request of the primary source.
可选的,本发明实施例机顶盒还包括显示输出单元,Optionally, the set top box of the embodiment of the present invention further includes a display output unit.
显示输出单元设置为,输出推送片源的片源码率及选择推送片源的原因到显示装置显示;这里,显示包括:通过对话框、滚动条、状态栏、悬浮文字或者悬浮图片进行显示。The display output unit is set to output the source code rate of the push source and the reason for selecting the push source to the display device display; here, the display includes: displaying through a dialog box, a scroll bar, a status bar, a floating text or a floating picture.
可选的,本发明实施例机顶盒还包括选择单元,Optionally, the set top box of the embodiment of the present invention further includes a selecting unit,
选择单元设置为,根据外部指令确定是否接受选择推送的片源,并通过HTTP或RTSP方式直接传输至视频服务器;或,The selection unit is configured to determine whether to accept the selected source of the push according to an external command, and directly transmit to the video server through HTTP or RTSP; or
根据外部指令确定是否接受选择推送的片源,并在初选片源的URL请求的响应URL中携带确定是否接受选择推送的片源的信息,以发送至视频服务器。Whether to accept the selected source of the push according to the external command, and carrying the information determining whether to accept the selected source of the push is carried in the response URL of the URL request of the primary source to be sent to the video server.
图4为本发明实施例实现片源推送的视频服务器的结构程图,如图4所示,本发明实施例视频服务器包括推送单元,FIG. 4 is a schematic structural diagram of a video server for implementing a source push according to an embodiment of the present invention. As shown in FIG. 4, a video server according to an embodiment of the present invention includes a push unit.
推送单元设置为,根据初选片源的片源码率、接收到的第一网络带宽及机顶盒支持的分辨率进行片源推送。The push unit is configured to perform the source push according to the slice source rate of the primary source, the received first network bandwidth, and the resolution supported by the set top box.
推送单元是设置为,根据初选片源的片源码率、获取的第一网络带宽及 机顶盒支持的分辨率,The push unit is set to, according to the source code rate of the primary source, the obtained first network bandwidth, and The resolution supported by the set top box,
通过HTTP或RTSP方式直接进行片源推送;或,Direct source transfer via HTTP or RTSP; or,
在响应机顶盒的初选片源的URL请求中携带推送的片源进行片源推送。The source of the push is carried in the URL request of the primary source of the set-top box to perform the source push.
可选的,本发明实施例,推送单元是设置为,Optionally, in the embodiment of the present invention, the pushing unit is configured to
当第一网络带宽对应的码率大于或等于初选片源的片源码率,且机顶盒支持的分辨率对应的码率大于或等于初选片源的片源码率时,比较第一网络带宽对应的码率与机顶盒支持的分辨率对应的码率,当第一网络带宽对应的码率大于或等于机顶盒支持的分辨率对应的码率,选择与机顶盒支持的分辨率对应的码率相同的片源码率的片源进行片源推送;当第一网络带宽对应的码率小于机顶盒支持的分辨率对应的码率,从片源码率小于第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;When the code rate corresponding to the first network bandwidth is greater than or equal to the source code rate of the primary selected source, and the resolution corresponding to the resolution supported by the set top box is greater than or equal to the source code rate of the primary selected source, the first network bandwidth is compared. The code rate corresponding to the resolution supported by the set top box, when the code rate corresponding to the first network bandwidth is greater than or equal to the code rate corresponding to the resolution supported by the set top box, select the same code rate corresponding to the resolution supported by the set top box. The source of the source code rate is pushed by the source; when the code rate corresponding to the first network bandwidth is smaller than the code rate corresponding to the resolution supported by the set top box, the slice is selected from the source of the code rate corresponding to the code rate corresponding to the first network bandwidth. The source with the highest source code rate is sourced by the source;
当第一网络带宽对应的码率大于或等于初选片源的片源码率,且机顶盒支持的分辨率对应的码率低于初选片源的片源码率时,选择与机顶盒支持的分辨率对应的码率相同片源码率的片源进行片源推送;When the code rate corresponding to the first network bandwidth is greater than or equal to the source code rate of the primary source, and the resolution supported by the set top box is lower than the source code rate of the primary source, select the resolution supported by the set top box. The corresponding source code rate of the same source code rate source source for film source push;
当第一网络带宽对应的码率小于初选片源的片源码率,且机顶盒支持的分辨率对应的码率大于或等于初选片源的片源码率时,从片源码率小于第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;When the code rate corresponding to the first network bandwidth is less than the source code rate of the primary source, and the resolution corresponding to the resolution supported by the set top box is greater than or equal to the source code rate of the primary source, the source code rate is smaller than the first network. Among the slice sources of the bit rate corresponding to the bandwidth, the chip source with the largest source code rate is selected for the source push;
当第一网络带宽对应的码率小于初选片源的片源码率,且机顶盒支持的分辨率对应的码率小于初选片源的片源码率,比较第一网络带宽与机顶盒支持的分辨率对应的码率,当第一网络带宽对应的码率小于机顶盒支持的分辨率对应的码率,从片源码率小于第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;当第一网络带宽对应的码率大于或等于机顶盒支持的分辨率对应的码率,选择与机顶盒支持的分辨率对应的码率相同的片源码率的片源进行片源推送。When the code rate corresponding to the first network bandwidth is smaller than the source code rate of the primary source, and the resolution supported by the set top box is smaller than the source code rate of the primary source, the first network bandwidth and the resolution supported by the set top box are compared. Corresponding code rate, when the code rate corresponding to the first network bandwidth is smaller than the code rate corresponding to the resolution supported by the set top box, and the slice source whose source code rate is smaller than the code rate corresponding to the first network bandwidth, select the slice with the largest source code rate. The source performs the source-pushing; when the code rate corresponding to the first network bandwidth is greater than or equal to the code rate corresponding to the resolution supported by the set-top box, the chip source with the same code rate corresponding to the resolution supported by the set-top box is selected for the source. Push.
片源码率为压缩编码后折算出的片源传输的码率。The source code rate is the code rate of the source transmission that is calculated after compression coding.
可选的,本发明实施例视频服务器还包括反馈单元,反馈单元设置为,向机顶盒反馈进行片源推送时,推送片源的片源码率及选择推送片源的原因;Optionally, the video server of the embodiment of the present invention further includes a feedback unit, where the feedback unit is configured to: when the set-top box is fed back to the source of the source, push the source code rate of the source and select the reason for pushing the source;
可选的,本发明实施例视频服务器还包括传输单元,传输单元是设置为, 当机顶盒选择接受推送的片源时,传输推送片源的视频;机顶盒选择不接受推送的片源时,传输初选片源的视频。Optionally, the video server of the embodiment of the present invention further includes a transmission unit, where the transmission unit is configured to When the set top box selects to accept the pushed source, the video of the push source is transmitted; when the set top box selects not to accept the pushed source, the video of the primary source is transmitted.
以下通过具体应用示例对本发明实施例网络架构进行清楚详细的说明,应用示例仅用于陈述本发明实施例,并不用于限定本发明的保护范围。The network architecture of the embodiment of the present invention is described in detail below by using specific application examples. The application examples are only used to describe the embodiments of the present invention, and are not intended to limit the scope of the present invention.
应用示例1Application example 1
本应用示例的系统包含视频服务器、机顶盒(或与机顶盒功能相似的设备),视频服务器存储有同一个节目不同码率的片源。机顶盒和视频服务器通过标准的通信协议进行交互,视频服务器上存储有同一个视频的多码率的片源。机顶盒在发送初选片源的URL请求时附带第一网络带宽和机顶盒支持的分辨率的信息,视频服务器获取到第一网络带宽和机顶盒支持的分辨率后,进行片源选择,向机顶盒推送片源。图5为本发明第一应用示例的方法流程图,如图5所示,包括:The system of this application example includes a video server, a set top box (or a device similar in function to the set top box), and the video server stores a source of different code rates of the same program. The set-top box and the video server interact through a standard communication protocol, and the video server stores a multi-rate source of the same video. The set-top box sends the first network bandwidth and the resolution supported by the set-top box when the URL request of the primary source is sent. After the video server obtains the resolution of the first network bandwidth and the set-top box, the source selection is performed, and the set-top box is pushed. source. FIG. 5 is a flowchart of a method according to a first application example of the present invention. As shown in FIG. 5, the method includes:
步骤500、机顶盒开机时,获取第一网络带宽和机顶盒支持的分辨率的信息。Step 500: When the set top box is powered on, obtain information about the first network bandwidth and the resolution supported by the set top box.
本步骤中,机顶盒与带宽服务器或视频服务器交互获取第一网络带宽;In this step, the set top box interacts with the bandwidth server or the video server to obtain the first network bandwidth.
通过HDMI或CVBS方式与与机顶盒连接的显示装置交互,或直接从机顶盒中获取机顶盒支持分辨率。The HDMI or CVBS mode interacts with the display device connected to the set-top box, or the set-top box supports the resolution directly from the set-top box.
步骤501、机顶盒向视频服务器发送初选片源的URL请求附带第一网络带宽和机顶盒支持的分辨率的信息。这里,机顶盒还可以通过HTTP或RTSP方式直接发送第一网络带宽及机顶盒支持分辨率。Step 501: The set top box sends the URL of the primary selection source to the video server to request information about the resolution of the first network bandwidth and the resolution supported by the set top box. Here, the set top box can also directly send the first network bandwidth and the set top box support resolution by HTTP or RTSP.
步骤502、视频服务器根据机顶盒发送的第一网络带宽和机顶盒支持的分辨率,初选片源的片源码率进行片源推送;可选的,Step 502: The video server performs the source sending according to the first network bandwidth sent by the set top box and the resolution supported by the set top box, and the source code rate of the primary selected source source; optionally,
当第一网络带宽对应的码率大于或等于初选片源的片源码率,且机顶盒支持的分辨率对应的码率大于或等于初始片源的片源码率,比较第一网络带宽对应的码率与机顶盒支持的分辨率对应的码率,当第一网络带宽对应的码率大于或等于机顶盒支持的分辨率对应的码率,选择与机顶盒支持的分辨率对应的码率相同的片源码率的片源进行片源推送;当第一网络带宽对应的码率小于机顶盒支持的分辨率对应的码率,从片源码率小于第一网络带宽对应 的码率的片源中,选择片源码率最大的片源进行片源推送;When the code rate corresponding to the first network bandwidth is greater than or equal to the source code rate of the primary selected source, and the resolution corresponding to the resolution supported by the set top box is greater than or equal to the source code rate of the initial source, the code corresponding to the first network bandwidth is compared. Rate rate corresponding to the resolution supported by the set top box. When the code rate corresponding to the first network bandwidth is greater than or equal to the code rate corresponding to the resolution supported by the set top box, select the same source code rate corresponding to the resolution supported by the set top box. The source of the chip is pushed by the source; when the code rate corresponding to the first network bandwidth is smaller than the code rate corresponding to the resolution supported by the set-top box, the source code rate of the slice is smaller than the first network bandwidth. Among the source of the code rate, the source with the largest source code rate is selected for the source push;
当第一网络带宽对应的码率大于或等于初选片源的片源码率,且机顶盒支持的分辨率对应的码率低于初选片源的片源码率时,选择与机顶盒支持的分辨率对应的码率相同片源码率的片源进行片源推送;When the code rate corresponding to the first network bandwidth is greater than or equal to the source code rate of the primary source, and the resolution supported by the set top box is lower than the source code rate of the primary source, select the resolution supported by the set top box. The corresponding source code rate of the same source code rate source source for film source push;
当第一网络带宽对应的码率小于初选片源的片源码率,且机顶盒支持的分辨率对应的码率大于或等于初选片源的片源码率时,从片源码率小于第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;When the code rate corresponding to the first network bandwidth is less than the source code rate of the primary source, and the resolution corresponding to the resolution supported by the set top box is greater than or equal to the source code rate of the primary source, the source code rate is smaller than the first network. Among the slice sources of the bit rate corresponding to the bandwidth, the chip source with the largest source code rate is selected for the source push;
当第一网络带宽对应的码率小于初选片源的片源码率,且机顶盒支持的分辨率对应的码率小于初选片源的片源码率,比较第一网络带宽对应的码率与机顶盒支持的分辨率对应的码率,当第一网络带宽对应的码率小于机顶盒支持的分辨率对应的码率,从片源码率小于第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;当第一网络带宽对应的码率大于或等于机顶盒支持的分辨率对应的码率,选择与机顶盒支持的分辨率对应的码率相同的片源码率的片源进行片源推送。When the code rate corresponding to the first network bandwidth is smaller than the source code rate of the primary selected source, and the resolution corresponding to the resolution supported by the set top box is smaller than the source code rate of the primary selected source, the code rate corresponding to the first network bandwidth is compared with the set top box. The code rate corresponding to the supported resolution, when the code rate corresponding to the first network bandwidth is smaller than the code rate corresponding to the resolution supported by the set top box, and the source code is selected from the source of the code rate corresponding to the code rate corresponding to the first network bandwidth. The source with the highest rate is the source of the source; when the code rate corresponding to the first network bandwidth is greater than or equal to the code rate corresponding to the resolution supported by the set-top box, the slice with the same code rate corresponding to the resolution supported by the set-top box is selected. The source is sourced.
本步骤中,视频服务器通过HTTP或RTSP方式直接进行片源推送;或,In this step, the video server directly performs the source push by HTTP or RTSP; or
在响应机顶盒的初选片源的URL请求中携带推送的片源进行片源推送。The source of the push is carried in the URL request of the primary source of the set-top box to perform the source push.
步骤503、视频服务器给机顶盒推送选择确定的片源,并在推送的协议消息中附带片源的片源码率和选择推送片源的原因,以向用户显示片源的片源码率和选择推送片源的原因信息。这里,显示的方式包括:通过对话框、滚动条、状态栏、悬浮文字或者悬浮图片进行显示。Step 503: The video server pushes the selected set source to the set top box, and includes the source code rate of the source and the reason for selecting the source of the push in the push protocol message, so as to display the source code rate of the source and select the push slice to the user. Source reason information. Here, the display manner includes: displaying through a dialog box, a scroll bar, a status bar, a floating text, or a floating picture.
步骤504、根据外部指令确定是否接受选择推送的片源;如果接受选择推送的片源时,输出推送片源的视频;不接受选择推送的片源时,播放初选片源。Step 504: Determine, according to an external command, whether to accept the selected source of the slice; if accepting the selected source of the push, output the video of the push source; and when the selected source is not accepted, play the primary source.
本步骤中,机顶盒确定是否接受选择推送的片源的信息通过HTTP或RTSP方式直接传输至视频服务器;或,In this step, the set top box determines whether to accept the information of the selected source of the push to be directly transmitted to the video server through HTTP or RTSP; or
在初选片源的URL请求的响应URL中携带至视频服务器。It is carried to the video server in the response URL of the URL request of the primary source.
步骤505、视频服务器根据确定的是否接受选择推送的片源,向机顶盒终端传输相应的片源,机顶盒向显示装置输出播放的视频。 Step 505: The video server transmits a corresponding slice source to the set top box terminal according to the determined whether to accept the selected slice source, and the set top box outputs the played video to the display device.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的每个模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。”One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Programs/instructions to implement their respective functions. The invention is not limited to any specific form of combination of hardware and software. ”
虽然本申请所揭露的实施方式如上,但所述的内容仅为便于理解本申请而采用的实施方式,并非用以限定本申请,如本发明实施方式中的具体的实现方法。任何本申请所属领域内的技术人员,在不脱离本申请所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本申请的专利保护范围,仍须以所附的权利要求书所界定的范围为准。The embodiments disclosed in the present application are as described above, but the descriptions are only for the purpose of understanding the present application, and are not intended to limit the present application, such as the specific implementation method in the embodiments of the present invention. Any modifications and changes in the form and details of the embodiments may be made by those skilled in the art without departing from the spirit and scope of the disclosure. The scope defined by the appended claims shall prevail.
工业实用性Industrial applicability
上述技术方案避免了由于片源选择的不合理影响片源的正常播放,保证了用户进行视频播放时良好的视频体验。 The above technical solution avoids the unreasonable influence of the source selection of the film source, and ensures a good video experience when the user plays video.

Claims (23)

  1. 一种实现片源推送的方法,包括:A method for implementing source push, comprising:
    机顶盒获取第一网络带宽及机顶盒支持分辨率并发送给视频服务器,所述第一网络带宽和机顶盒支持分辨率用于视频服务器进行片源推送。The set top box acquires the first network bandwidth and the set top box support resolution and sends the resolution to the video server, and the first network bandwidth and the set top box support resolution are used for the video server to perform the source push.
  2. 根据权利要求1所述的方法,其中,所述获取第一网络带宽及机顶盒支持分辨率包括:The method of claim 1, wherein the obtaining the first network bandwidth and the set top box support resolution comprises:
    所述机顶盒与带宽服务器或视频服务器交互以获取所述第一网络带宽;The set top box interacts with a bandwidth server or a video server to obtain the first network bandwidth;
    所述机顶盒通过高清晰度多媒体接口HDMI或复合视频广播信号CVBS方式与与机顶盒连接的电视机交互,或直接从机顶盒中获取所述机顶盒支持分辨率。The set top box interacts with a television set connected to the set top box through a high definition multimedia interface HDMI or a composite video broadcast signal CVBS manner, or obtains the resolution of the set top box directly from the set top box.
  3. 根据权利要求1所述的方法,其中,所述获取所述第一网络带宽包括:The method of claim 1, wherein the obtaining the first network bandwidth comprises:
    获取机顶盒开机时的网络带宽作为第一网络带宽;Obtaining the network bandwidth when the set top box is powered on as the first network bandwidth;
    每一次重新进行初始片源选择时,计算实时获取的网络带宽与当前的所述第一网络带宽的差值,再将该差值乘以预设权重得到带宽调整值;将当前的所述第一网络带宽加上得到的带宽调整值,获得更新的所述第一网络带宽。Each time the initial source selection is re-executed, the difference between the real-time acquired network bandwidth and the current first network bandwidth is calculated, and the difference is multiplied by a preset weight to obtain a bandwidth adjustment value; A network bandwidth plus the obtained bandwidth adjustment value obtains the updated first network bandwidth.
  4. 根据权利要求1~3任一项所述的方法,其中,所述发送获取的第一网络带宽及机顶盒支持分辨率到视频服务器包括:The method according to any one of claims 1 to 3, wherein the transmitting the acquired first network bandwidth and the set top box supporting the resolution to the video server comprises:
    所述机顶盒通过超文本传输协议HTTP或实时流传输协议RTSP方式直接发送所述第一网络带宽及所述机顶盒支持分辨率;或,The set top box directly sends the first network bandwidth and the set top box support resolution by using a hypertext transfer protocol HTTP or a real-time streaming protocol RTSP; or
    所述机顶盒在所述初选片源的统一资源定位符URL请求中附带所述获取的第一网络带宽及所述机顶盒支持分辨率。The set top box carries the acquired first network bandwidth and the set top box support resolution in the uniform resource locator URL request of the primary selection source.
  5. 根据权利要求1~3任一项所述的方法,所述方法还包括:The method according to any one of claims 1 to 3, further comprising:
    所述机顶盒根据外部指令确定是否选择接受视频服务器推送的片源。The set top box determines whether to accept the source of the video server push according to an external command.
  6. 根据权利要求5所述的方法,所述方法还包括:所述机顶盒将所述确定是否接受推送的片源的信息通过HTTP或RTSP方式直接传输至所述视频服务器;或, The method according to claim 5, further comprising: said set top box transmitting said information determining whether to accept the pushed source of the source to said video server directly by HTTP or RTSP; or
    所述机顶盒将所述确定是否接受推送的片源的信息在所述初选片源的URL请求的响应URL中携带以发送至所述视频服务器。The set top box carries the information determining whether to accept the pushed source of the source in the response URL of the URL request of the primary selected source to be sent to the video server.
  7. 一种实现片源推送的方法,包括:A method for implementing source push, comprising:
    视频服务器接收来自机顶盒的第一网络带宽及机顶盒支持分辨率;The video server receives the first network bandwidth from the set top box and the resolution of the set top box support;
    视频服务器根据初选片源的片源码率、接收到的第一网络带宽及机顶盒支持的分辨率进行片源推送。The video server performs the source push according to the source code rate of the primary source, the received first network bandwidth, and the resolution supported by the set top box.
  8. 根据权利要求7所述的方法,其中,所述进行片源推送包括:The method of claim 7 wherein said performing source source push comprises:
    视频服务器通过超文本传输协议HTTP或实时流传输协议RTSP方式直接进行片源推送;或,The video server directly pushes the source through the hypertext transfer protocol HTTP or the real-time streaming protocol RTSP; or
    在响应机顶盒的所述初选片源的统一资源定位符URL请求中携带推送的片源进行片源推送。The source of the push is carried in the Uniform Resource Locator URL request of the primary source of the set-top box to perform the source push.
  9. 根据权利要求7或8所述的方法,其中,所述片源码率为压缩编码后折算出的片源传输的码率;所述进行片源推送包括:The method according to claim 7 or 8, wherein the slice source code rate is a code rate of the slice source transmission obtained after compression coding; and the performing the source source push comprises:
    当所述第一网络带宽对应的码率大于或等于所述初选片源的片源码率,且所述机顶盒支持的分辨率对应的码率大于或等于所述初选片源的片源码率时,比较所述第一网络带宽对应的码率与所述机顶盒支持的分辨率对应的码率,当所述第一网络带宽对应的码率大于或等于所述机顶盒支持的分辨率对应的码率,选择与所述机顶盒支持的分辨率对应的码率相同的片源码率的片源进行片源推送;当所述第一网络带宽对应的码率小于所述机顶盒支持的分辨率对应的码率,从片源码率小于所述第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;When the code rate corresponding to the first network bandwidth is greater than or equal to the source code rate of the primary source, and the resolution supported by the set top box is greater than or equal to the source code rate of the primary source. And comparing a code rate corresponding to the first network bandwidth to a code rate corresponding to the resolution supported by the set top box, where a code rate corresponding to the first network bandwidth is greater than or equal to a code corresponding to a resolution supported by the set top box. Rate, selecting a source of the chip source rate of the same code rate corresponding to the resolution supported by the set top box to perform the source push; when the code rate corresponding to the first network bandwidth is smaller than the code corresponding to the resolution supported by the set top box Rate, from the source of the chip whose source code rate is smaller than the code rate corresponding to the first network bandwidth, select the chip source with the largest source code rate for the source of the film;
    当所述第一网络带宽对应的码率大于或等于所述初选片源的片源码率,且机顶盒支持的分辨率对应的码率低于所述初选片源的片源码率时,选择与所述机顶盒支持的分辨率对应的码率相同片源码率的片源进行片源推送;When the code rate corresponding to the first network bandwidth is greater than or equal to the chip source code rate of the primary selection source, and the resolution corresponding to the resolution supported by the set top box is lower than the source code rate of the primary selection source, select The source of the same source code rate corresponding to the resolution supported by the set top box is subjected to the source of the source;
    当所述第一网络带宽对应的码率小于所述初选片源的片源码率,且所述机顶盒支持的分辨率对应的码率大于或等于所述初选片源的片源码率时,从片源码率小于所述第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送; When the code rate corresponding to the first network bandwidth is smaller than the chip source rate of the primary source, and the resolution supported by the set top box is greater than or equal to the source code rate of the primary source, The chip source with the highest source code rate is selected from the slice source whose chip source rate is smaller than the code rate corresponding to the first network bandwidth;
    当所述第一网络带宽对应的码率小于所述初选片源的片源码率,且所述机顶盒支持的分辨率对应的码率小于所述初选片源的片源码率,比较所述第一网络带宽与所述机顶盒支持的分辨率对应的码率,当所述第一网络带宽对应的码率小于所述机顶盒支持的分辨率对应的码率,从片源码率小于所述第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;当所述第一网络带宽对应的码率大于或等于所述机顶盒支持的分辨率对应的码率,选择与所述机顶盒支持的分辨率对应的码率相同的片源码率的片源进行片源推送。When the code rate corresponding to the first network bandwidth is less than the chip source rate of the primary source, and the resolution supported by the set top box is smaller than the source code rate of the primary source, compare the a code rate corresponding to a resolution supported by the set top box, where a code rate corresponding to the first network bandwidth is smaller than a code rate corresponding to a resolution supported by the set top box, and a source code rate is smaller than the first In the slice source of the code rate corresponding to the network bandwidth, the chip source with the highest source code rate is selected to perform the source push; when the code rate corresponding to the first network bandwidth is greater than or equal to the code rate corresponding to the resolution supported by the set top box, The source of the chip source rate having the same code rate corresponding to the resolution supported by the set top box is selected for source source push.
  10. 根据权利要求9所述的方法,所述方法还包括:The method of claim 9 further comprising:
    在进行片源推送时,When performing source feed,
    视频服务器向机顶盒反馈所述推送片源的片源码率及选择所述推送片源的原因;The video server feeds back to the set top box the source code rate of the push source and the reason for selecting the push source;
    所述显示包括:通过对话框、滚动条、状态栏、悬浮文字或者悬浮图片进行显示。The display includes: displaying through a dialog box, a scroll bar, a status bar, a floating text, or a floating picture.
  11. 根据权利要求10所述的方法,所述方法还包括:The method of claim 10, further comprising:
    所述视频服务器接收来自机顶盒的确定是否接受选择推送的片源;Receiving, by the video server, a slice source from the set top box that determines whether to accept the selected push;
    当机顶盒选择接受推送的片源时,视频服务器传输所述推送片源的视频;机顶盒选择不接受推送的片源时,视频服务器传输初选片源的视频。When the set top box selects to accept the pushed source, the video server transmits the video of the push source; when the set top box selects not to accept the pushed source, the video server transmits the video of the primary source.
  12. 一种实现片源推送的机顶盒,所述机顶盒包括:获取发送单元,A set top box for realizing source push, the set top box comprising: an acquisition sending unit,
    获取发送单元设置为,获取第一网络带宽及机顶盒支持分辨率并发送给视频服务器,所述第一网络带宽和机顶盒支持分辨率用于视频服务器进行片源推送。The obtaining sending unit is configured to obtain the first network bandwidth and the set top box support resolution and send the resolution to the video server, and the first network bandwidth and the set top box support resolution are used by the video server for the source sending.
  13. 根据权利要求12所述的机顶盒,其中,所述获取发送单元是设置为,将机顶盒开机时获取的网络带宽作为第一网络带宽;The set top box according to claim 12, wherein the acquisition and transmission unit is configured to set a network bandwidth acquired when the set top box is powered on as the first network bandwidth;
    每一次重新进行初始片源选择时,计算实时获取的网络带宽与当前的所述第一网络带宽的差值,再将该差值乘以预设权重得到带宽调整值;将当前的所述第一网络带宽加上得到的带宽调整值,获得更新的所述第一网络带宽;Each time the initial source selection is re-executed, the difference between the real-time acquired network bandwidth and the current first network bandwidth is calculated, and the difference is multiplied by a preset weight to obtain a bandwidth adjustment value; a network bandwidth plus the obtained bandwidth adjustment value to obtain the updated first network bandwidth;
    通过HDMI或CVBS方式与与机顶盒连接的电视机交互,或直接从机顶 盒中获取所述机顶盒支持分辨率。Interact with a TV connected to the set-top box via HDMI or CVBS, or directly from the top of the set The set top box supports the resolution in the box.
  14. 根据权利要求12或13所述的机顶盒,其中,所述获取发送单元是设置为,获取第一网络带宽及机顶盒支持分辨率;The set top box according to claim 12 or 13, wherein the acquisition and transmission unit is configured to acquire a first network bandwidth and a set top box support resolution;
    通过HTTP或RTSP方式直接发送所述第一网络带宽及所述机顶盒支持分辨率;或,Sending the first network bandwidth and the set top box support resolution directly by using HTTP or RTSP; or
    在所述初选片源的URL请求中附带所述获取的第一网络带宽及所述机顶盒支持分辨率。The acquired first network bandwidth and the set top box support resolution are included in the URL request of the primary source.
  15. 根据权利要求14所述的机顶盒,所述机顶盒还包括显示输出单元,A set top box according to claim 14, said set top box further comprising a display output unit
    显示输出单元设置为,输出所述推送片源的片源码率及选择所述推送片源的原因到显示装置显示;The display output unit is configured to output a slice source rate of the push chip source and select a reason for the push chip source to display the display device;
    所述显示包括:通过对话框、滚动条、状态栏、悬浮文字或者悬浮图片进行显示。The display includes: displaying through a dialog box, a scroll bar, a status bar, a floating text, or a floating picture.
  16. 根据权利要求15所述的机顶盒,所述机顶盒还包括选择单元,A set top box according to claim 15, said set top box further comprising a selection unit,
    选择单元设置为,根据外部指令确定是否接受选择推送的片源,并通过HTTP或RTSP方式直接传输至所述视频服务器;或,The selecting unit is configured to determine, according to an external command, whether to accept the selected source of the push, and directly transmit to the video server by using HTTP or RTSP; or
    根据外部指令确定是否接受选择推送的片源,并在所述初选片源的URL请求的响应URL中携带确定是否接受选择推送的片源的信息,以发送至所述视频服务器。Determining whether to accept the selected source of the push according to the external command, and carrying information in the response URL of the URL request of the primary selected source to determine whether to accept the selected source of the push for transmission to the video server.
  17. 一种实现片源推送的视频服务器,所述视频服务器包括推送单元,A video server that implements a source push, the video server including a push unit,
    推送单元设置为,根据初选片源的片源码率、接收到的第一网络带宽及机顶盒支持的分辨率进行片源推送。The push unit is configured to perform the source push according to the slice source rate of the primary source, the received first network bandwidth, and the resolution supported by the set top box.
  18. 根据权利要求17所述的视频服务器,其中,所述推送单元是设置为,根据初选片源的片源码率、获取的第一网络带宽及机顶盒支持的分辨率,The video server according to claim 17, wherein the pushing unit is configured to set the first network bandwidth and the resolution supported by the set top box according to the source code rate of the primary selected source.
    通过HTTP或RTSP方式直接进行片源推送;或,Direct source transfer via HTTP or RTSP; or,
    在响应机顶盒的所述初选片源的URL请求中携带推送的片源进行片源推送。The source of the push is carried in the URL request of the primary source of the set-top box to perform the source push.
  19. 根据权利要求17或18所述的视频服务器,其中,所述推送单元是 设置为,A video server according to claim 17 or 18, wherein said push unit is Set as,
    当所述第一网络带宽对应的码率大于或等于所述初选片源的片源码率,且所述机顶盒支持的分辨率对应的码率大于或等于初选片源的片源码率时,比较所述第一网络带宽对应的码率与所述机顶盒支持的分辨率对应的码率,当所述第一网络带宽对应的码率大于或等于所述机顶盒支持的分辨率对应的码率,选择与所述机顶盒支持的分辨率对应的码率相同的片源码率的片源进行片源推送;当所述第一网络带宽对应的码率小于所述机顶盒支持的分辨率对应的码率,从片源码率小于所述第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;When the code rate corresponding to the first network bandwidth is greater than or equal to the source code rate of the primary source, and the resolution supported by the set top box is greater than or equal to the source code rate of the primary source, Comparing a code rate corresponding to the first network bandwidth to a code rate corresponding to the resolution supported by the set top box, where a code rate corresponding to the first network bandwidth is greater than or equal to a code rate corresponding to a resolution supported by the set top box, Selecting a source of the chip source rate of the same code rate corresponding to the resolution supported by the set top box to perform the source transmission; when the code rate corresponding to the first network bandwidth is smaller than the code rate corresponding to the resolution supported by the set top box, The chip source with the highest source code rate is selected from the slice source whose chip source rate is smaller than the code rate corresponding to the first network bandwidth;
    当所述第一网络带宽对应的码率大于或等于所述初选片源的片源码率,且机顶盒支持的分辨率对应的码率低于所述初选片源的片源码率时,选择与所述机顶盒支持的分辨率对应的码率相同片源码率的片源进行片源推送;When the code rate corresponding to the first network bandwidth is greater than or equal to the chip source code rate of the primary selection source, and the resolution corresponding to the resolution supported by the set top box is lower than the source code rate of the primary selection source, select The source of the same source code rate corresponding to the resolution supported by the set top box is subjected to the source of the source;
    当所述第一网络带宽对应的码率小于所述初选片源的片源码率,且所述机顶盒支持的分辨率对应的码率大于或等于所述初选片源的片源码率时,从片源码率小于所述第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;When the code rate corresponding to the first network bandwidth is smaller than the chip source rate of the primary source, and the resolution supported by the set top box is greater than or equal to the source code rate of the primary source, The chip source with the highest source code rate is selected from the slice source whose chip source rate is smaller than the code rate corresponding to the first network bandwidth;
    当所述第一网络带宽对应的码率小于所述初选片源的片源码率,且所述机顶盒支持的分辨率对应的码率小于所述初选片源的片源码率,比较所述第一网络带宽与所述机顶盒支持的分辨率对应的码率,当所述第一网络带宽对应的码率小于所述机顶盒支持的分辨率对应的码率,从片源码率小于所述第一网络带宽对应的码率的片源中,选择片源码率最大的片源进行片源推送;当所述第一网络带宽对应的码率大于或等于所述机顶盒支持的分辨率对应的码率,选择与所述机顶盒支持的分辨率对应的码率相同的片源码率的片源进行片源推送;When the code rate corresponding to the first network bandwidth is less than the chip source rate of the primary source, and the resolution supported by the set top box is smaller than the source code rate of the primary source, compare the a code rate corresponding to a resolution supported by the set top box, where a code rate corresponding to the first network bandwidth is smaller than a code rate corresponding to a resolution supported by the set top box, and a source code rate is smaller than the first In the slice source of the code rate corresponding to the network bandwidth, the chip source with the highest source code rate is selected to perform the source push; when the code rate corresponding to the first network bandwidth is greater than or equal to the code rate corresponding to the resolution supported by the set top box, Selecting a chip source with the same chip rate corresponding to the resolution supported by the set top box to perform source feed;
    所述片源码率为压缩编码后折算出的片源传输的码率。The source code rate is the code rate of the slice source transmission calculated after compression coding.
  20. 根据权利要求19所述的视频服务器,所述视频服务器还包括反馈单元,A video server according to claim 19, said video server further comprising a feedback unit,
    反馈单元设置为,在进行片源推送时,向机顶盒反馈所述推送片源的片 源码率及选择所述推送片源的原因。The feedback unit is configured to feed back the slice of the push source to the set top box when the source is pushed The source code rate and the reason for selecting the source of the push.
  21. 根据权利要求19所述的视频服务器,所述视频服务器还包括传输单元,A video server according to claim 19, said video server further comprising a transmission unit,
    传输单元设置为,当机顶盒选择接受推送的片源时,传输所述推送片源的视频;机顶盒选择不接受推送的片源时,传输初选片源的视频。The transmission unit is configured to transmit the video of the push source when the set top box selects to accept the pushed source; when the set top box selects not to accept the pushed source, the video of the primary source is transmitted.
  22. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1~6中任一项所述的方法。A computer storage medium having stored therein computer executable instructions for performing the method of any one of claims 1 to 6.
  23. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求7~11中任一项所述的方法。 A computer storage medium having stored therein computer executable instructions for performing the method of any one of claims 7-11.
PCT/CN2016/076078 2015-06-02 2016-03-10 Film source pushing method, set-top box and video server WO2016192431A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510296708.0A CN106303611B (en) 2015-06-02 2015-06-02 Method and system for realizing film source pushing
CN201510296708.0 2015-06-02

Publications (1)

Publication Number Publication Date
WO2016192431A1 true WO2016192431A1 (en) 2016-12-08

Family

ID=57440099

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/076078 WO2016192431A1 (en) 2015-06-02 2016-03-10 Film source pushing method, set-top box and video server

Country Status (2)

Country Link
CN (1) CN106303611B (en)
WO (1) WO2016192431A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10349090B2 (en) 2017-03-09 2019-07-09 At&T Intellectual Property I, L.P. Broadband live streaming hub for a media processor
CN110505524A (en) * 2019-07-02 2019-11-26 中国联合网络通信集团有限公司 A kind of video transmission method and device
CN115225938A (en) * 2021-04-16 2022-10-21 青岛海信宽带多媒体技术有限公司 Set top box, volume adjusting method and application

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109429089B (en) * 2017-08-24 2021-06-01 深圳市中兴微电子技术有限公司 Set top box starting picture display method and system and set top box
CN107896339A (en) * 2017-10-30 2018-04-10 努比亚技术有限公司 A kind of video broadcasting method, terminal and computer-readable recording medium
CN108111910B (en) * 2017-12-22 2020-01-21 烽火通信科技股份有限公司 Method and system for adjusting video playing definition
CN109996094B (en) * 2017-12-29 2021-08-13 杭州海康威视系统技术有限公司 Video playing method, device and system
CN111669609B (en) * 2020-05-22 2022-04-05 深圳市天威视讯股份有限公司 Mixed presentation method of DVB (digital video broadcasting) channel and IP (Internet protocol) channel

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070091920A1 (en) * 2005-10-20 2007-04-26 Harris John M System and method for improving the capacity of a network
US20070204311A1 (en) * 2006-02-27 2007-08-30 Hasek Charles A Methods and apparatus for selecting digital coding/decoding technology for programming and data delivery
CN101360221A (en) * 2008-08-25 2009-02-04 中国电信股份有限公司 Network television service adaptation method, server and system
CN101390387A (en) * 2005-12-29 2009-03-18 联合视频制品公司 An interactive media guidance system having multiple devices
CN101753972A (en) * 2008-12-22 2010-06-23 康佳集团股份有限公司 Network television business management method as well as system and network television portal
CN102404621A (en) * 2011-10-24 2012-04-04 中兴通讯股份有限公司 Set-top box, EPG (Electronic Program Guide) server and method and system for realizing EPG page adaptation
CN103493459A (en) * 2011-04-01 2014-01-01 英特尔公司 Cross-layer optimized adaptive HTTP streaming

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8458753B2 (en) * 2006-02-27 2013-06-04 Time Warner Cable Enterprises Llc Methods and apparatus for device capabilities discovery and utilization within a content-based network
KR100970388B1 (en) * 2008-10-31 2010-07-15 한국전자통신연구원 Network flow based scalable video coding adaptation device and method thereof
US8434121B2 (en) * 2009-10-16 2013-04-30 At&T Intellectual Property I, L.P. System and method for monitoring whole home digital video recorder usage for internet protocol television
JP5658762B2 (en) * 2009-12-21 2015-01-28 コニンクリーケ・ケイピーエヌ・ナムローゼ・フェンノートシャップ Content distribution system, gateway used in content distribution system, content distribution method, and computer program
US20110176496A1 (en) * 2010-01-15 2011-07-21 Roy Rabinda K On-the-fly video quality switching for video distribution networks and methods therefor
US9479739B2 (en) * 2010-10-04 2016-10-25 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatuses for adaptive control of streaming
CN104583996B (en) * 2012-02-13 2018-01-09 阿弗梅德网络公司 Mobile video transmits

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070091920A1 (en) * 2005-10-20 2007-04-26 Harris John M System and method for improving the capacity of a network
CN101390387A (en) * 2005-12-29 2009-03-18 联合视频制品公司 An interactive media guidance system having multiple devices
US20070204311A1 (en) * 2006-02-27 2007-08-30 Hasek Charles A Methods and apparatus for selecting digital coding/decoding technology for programming and data delivery
CN101360221A (en) * 2008-08-25 2009-02-04 中国电信股份有限公司 Network television service adaptation method, server and system
CN101753972A (en) * 2008-12-22 2010-06-23 康佳集团股份有限公司 Network television business management method as well as system and network television portal
CN103493459A (en) * 2011-04-01 2014-01-01 英特尔公司 Cross-layer optimized adaptive HTTP streaming
CN102404621A (en) * 2011-10-24 2012-04-04 中兴通讯股份有限公司 Set-top box, EPG (Electronic Program Guide) server and method and system for realizing EPG page adaptation

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10349090B2 (en) 2017-03-09 2019-07-09 At&T Intellectual Property I, L.P. Broadband live streaming hub for a media processor
US10812836B2 (en) 2017-03-09 2020-10-20 The Directv Group, Inc. Broadband live streaming hub for a media processor
CN110505524A (en) * 2019-07-02 2019-11-26 中国联合网络通信集团有限公司 A kind of video transmission method and device
CN110505524B (en) * 2019-07-02 2022-06-07 中国联合网络通信集团有限公司 Video transmission method and device
CN115225938A (en) * 2021-04-16 2022-10-21 青岛海信宽带多媒体技术有限公司 Set top box, volume adjusting method and application
CN115225938B (en) * 2021-04-16 2024-04-12 青岛海信宽带多媒体技术有限公司 Intelligent set top box, volume adjusting method and application

Also Published As

Publication number Publication date
CN106303611B (en) 2020-09-08
CN106303611A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
WO2016192431A1 (en) Film source pushing method, set-top box and video server
US8918827B2 (en) Method and system for providing complete internet anywhere with partial server processing
EP3319320B1 (en) Adaptive media streaming method and apparatus according to decoding performance
KR101467430B1 (en) Method and system for providing application based on cloud computing
US9674257B2 (en) Placeshifting live encoded video faster than real time
WO2019169682A1 (en) Audio-video synthesis method and system
US9621957B2 (en) Method and system for low-latency browsing on a device with limited processing resources
US20120254929A1 (en) Content Extraction for Television Display
US20090300701A1 (en) Area of interest processing of video delivered to handheld device
US10419821B2 (en) Method and system for providing complete internet anywhere with full server assisted processing
US8607284B2 (en) Method of outputting video content from a digital media server to a digital media renderer and related media sharing system
US11201903B1 (en) Time synchronization between live video streaming and live metadata
CN106464933B (en) Apparatus and method for remotely controlling rendering of multimedia content
US10171530B2 (en) Devices and methods for transmitting adaptively adjusted documents
US20140165123A1 (en) Method and system for providing dynamic time slice encoding for complete internet anywhere
WO2015085873A1 (en) Video code stream obtaining method and apparatus
JP2014131142A (en) Receiver, reception method and program, imaging apparatus, imaging method and program, transmitter, transmission method and program
US9219948B2 (en) Method and system for compression and decompression for handling web content
US20110162023A1 (en) Method and system for providing correlated advertisement for complete internet anywhere
JP2017225164A (en) Receiving device, receiving method, transmitting device, transmitting method, and program
KR20220068636A (en) System and method for providing ultra low latency over the top service
JP5351136B2 (en) Video relay device and home gateway
US8613003B2 (en) Display apparatus and method of controlling the same
KR20140067768A (en) Method, server and system for providing a broadcasting service

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: 16802354

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: 16802354

Country of ref document: EP

Kind code of ref document: A1