CN107105317A - A kind of video broadcasting method and device - Google Patents

A kind of video broadcasting method and device Download PDF

Info

Publication number
CN107105317A
CN107105317A CN201710364429.2A CN201710364429A CN107105317A CN 107105317 A CN107105317 A CN 107105317A CN 201710364429 A CN201710364429 A CN 201710364429A CN 107105317 A CN107105317 A CN 107105317A
Authority
CN
China
Prior art keywords
channel
mosaic
code check
scene
window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710364429.2A
Other languages
Chinese (zh)
Other versions
CN107105317B (en
Inventor
罗盛波
夏霜艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710364429.2A priority Critical patent/CN107105317B/en
Publication of CN107105317A publication Critical patent/CN107105317A/en
Application granted granted Critical
Publication of CN107105317B publication Critical patent/CN107105317B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2402Monitoring of the downstream path of the transmission network, e.g. bandwidth available
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • 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/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a kind of video broadcasting method and device, the video broadcasting method can be directed to each channel under mosaic channel scene, obtain the mosaic code check set of each channel, the mosaic code check set includes the selectable multiple code checks of the channel, and the mosaic channel scene refers on same display screen while the scene of the broadcast window including at least two channels;It is determined that current available bandwidth and the coefficient of performance of set top box;According to available bandwidth and the coefficient of performance, it is respectively each channel selection code check to be allocated from the mosaic code check set of each channel, and then, perhaps file in code check to be allocated can be obtained from media server and is played out, so as to improve the broadcasting success rate of mosaic channel.

Description

A kind of video broadcasting method and device
Technical field
The present invention relates to field of computer technology, more particularly to a kind of video broadcasting method and device.
Background technology
IPTV (Internet Protocol Television, IPTV) is that one kind utilizes broadband networks to family Front yard user provides the brand-new technology of a variety of interactive services including DTV, and it is user that can make full use of Internet resources Service is provided, for example, live telecast and multimedia video etc..Wherein, personalized mosaic channel be also apply in IPTV compared with Many business, personalized mosaic channel refers to that user can choose multiple direct broadcast bands in same picture by interactive interface It is upper to play simultaneously, wherein, the layout of the broadcast window of multiple direct broadcast bands can also be set by User Defined in the picture.So And, in practice, it has been found that when the multichannel live video that mosaic channel includes is while when playing, because bandwidth is limited, usually lead Mosaic channel is caused not play.
The content of the invention
The embodiment of the present invention provides a kind of video broadcasting method and device, it is possible to increase the success that mosaic channel is played Rate.
In a first aspect, the embodiments of the invention provide a kind of video broadcasting method, in the video broadcasting method, terminal can be with For each channel under mosaic channel scene, the mosaic code check set of each channel is obtained, it is determined that current available band The coefficient of performance of wide and set top box, according to the available bandwidth and the coefficient of performance, from the mosaic code check set of each channel In be respectively each channel selection code check to be allocated.
Wherein, the mosaic code check set can include the selectable multiple code checks of the channel, i.e., each channel has pair The mosaic code check set answered;Mosaic channel scene refers on same display screen while including the broadcasting of at least two channels The scene of window, mosaic channel scene is referred to as the business scenario of mosaic channel, or mosaic channel.Mosaic User can use electronic program guide (EPG) to select multiple direct broadcast bands on same television image while broadcasting under channel scene Put, oneself can also change the page layout mode of multiple channels.
Wherein, the coefficient of performance can be obtained according to the progress conversion of the computing capability, available memory space and load condition of equipment .
It can be seen that, the coefficient of performance that the embodiment can combine current available bandwidth and set top box is respectively each channel Suitable code check is selected, the success rate that mosaic channel is played is improved.
Optionally, it is that the code check sum to be allocated of each channel selection is not more than and described can used in the video broadcasting method Product between bandwidth and the coefficient of performance, thereby may be ensured that many pictures are played simultaneously, and be not in showing for interim card As.
Optionally, it is respectively institute from the mosaic code check set according to the available bandwidth and the coefficient of performance Each channel selection code check to be allocated is stated, including:According to the number of the broadcast window under the mosaic channel scene and greatly It is small, the target whole strategy grade of the mosaic channel scene is determined, the target whole strategy grade includes described play The window policy grade of window;According to the target whole strategy grade, selected from the mosaic code check set of each channel It is selected as each channel selection code check to be allocated.
Wherein, the video playback can also set a variety of window policy grades respectively for the broadcast window of various sizes, together Range of code rates corresponding to the different windows strategy grade of the broadcast window of one size is different;According to the broadcasting of the various sizes The corresponding various code rate strategy grade of window, determines a variety of whole strategy grades of the mosaic scene.
For example, window policy grade can include preferred code check strategy, again suboptimum code check strategy, code check strategy and work( Code check strategy etc. can be achieved, optionally, the window policy grade can be divided into multistage with more detailed, but it is overall tend to be Rank is lower, and corresponding code check is smaller, and minimal level is that function can realize code check strategy.In addition, different size of window correspondence The code check of uniform window strategy grade can be different, such as, the corresponding function of different size of window can realize code check strategy Code check can be different.
Optionally, according to the number and size of the broadcast window under the mosaic channel scene, the Marseille is determined The target whole strategy grade of gram channel scene, Ke Yiwei:The mosaic scene is calculated under a variety of whole strategy grades, institute State the selectable code check of each channel and value;It is determined that being less than in described and value between the available bandwidth and the coefficient of performance The maximum and value of product;Using the overall plan of described maximum and the corresponding whole strategy grade of value as the mosaic scene target Omit grade.
For example, whole strategy grade can include total optimization strategy, global degree dominant strategy, overall strategy again, entirety Tactful n and function can realize strategy.Wherein, the window policy grade of each broadcast window can be excellent in total optimization strategy Code selection rate strategy;The window policy grade of part broadcast window can be precedence code rate strategy in global degree dominant strategy, partly broadcast The window policy grade for putting window can be suboptimum code check strategy, and both ratios can be a variety of, so as to constitute a variety of entirety Secondary dominant strategy, both ratios can also be default fixed value, constitute a kind of global degree dominant strategy;It is every in overall strategy again The window policy grade of individual broadcast window is suboptimum code check strategy, and whole strategy n can be the corresponding window policy of broadcast window The combination of grade, therefore, n are the integer more than or equal to 1;Function can realize the window policy grade of each broadcast window in strategy It is that function can realize code check strategy.
Optionally, after the code check to be allocated for determining each channel, this that can ask each channel from media server is to be allocated Code check file.
Second aspect, the embodiment of the present invention additionally provides a kind of video play device, and the video play device, which has, to be realized The function of video broadcasting method described in above-mentioned first aspect.Above-mentioned functions can be realized by hardware, can also pass through hardware Corresponding software is performed to realize.Above-mentioned hardware or software include one or more modules corresponding with above-mentioned functions.For example, should Video play device can include acquisition module, determining module and selecting module.Wherein, acquisition module is used to be directed to mosaic Each channel under channel scene, obtains the mosaic code check set of each channel;The mosaic code check set includes The selectable multiple code checks of the channel, the mosaic channel scene refers on same display screen while including at least two frequencies The scene of the broadcast window in road;Determining module is used for the coefficient of performance for determining current available bandwidth and set top box;Select mould Block is used for according to the available bandwidth and the coefficient of performance, is respectively institute from the mosaic code check set of each channel State each channel selection code check to be allocated.
The third aspect, the embodiment of the present invention additionally provides a kind of video playback apparatus, and the video playback apparatus can include Processor, memory and communication interface, the processor are connected with the communication interface and the memory respectively;It is described to deposit Reservoir is instructed for storage program;The processor is used to call the programmed instruction in the memory so that the equipment is real Any one of video broadcasting method in the above-mentioned each side of the existing embodiment of the present invention.
Fourth aspect, the embodiment of the present invention additionally provides a kind of computer-readable recording medium, described computer-readable to deposit Be stored with instruction in storage media, when run on a computer, can realize any one of in above-mentioned each side regard Frequency player method.
6th aspect, the embodiment of the present invention additionally provides a kind of computer program product, when the computer program product In instruction when being executed by processor, it is possible to achieve the video broadcasting method of above-mentioned first aspect or second aspect.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly or in background technology, below will be to present invention implementation The accompanying drawing used required in example or background technology is illustrated.
Fig. 1 is a kind of structural representation of audio/video player system provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of video broadcasting method provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another video broadcasting method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of video play device provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation for equipment that the embodiment of the present application is provided.
Embodiment
The embodiment of the present invention is described with reference to the accompanying drawing in the embodiment of the present invention.
IPTV (Internet Protocol Television, IPTV) is that one kind utilizes broadband networks to family Front yard user provides the brand-new technology of a variety of interactive services including DTV, and user can pass through electronic program guides (Electronic Program Guide, EPG) selects broadcasting channel, wherein, mosaic channel is that a kind of application is more on EPG Business.Under the business scenario of mosaic channel, user can select multiple direct broadcast bands to be drawn in same TV by EPG Played simultaneously on face, oneself can also change the page layout mode of each channel, for example, the center of television image is the happiness of user Joyous degree highest channel, around likes the relatively low channel of degree for user.
However, in the business scenario of mosaic channel, the network bandwidth of user is that limited, the limited network bandwidth is same During the business scenarios such as the online of time-division provisioned user, television-viewing, content download, frequently resulting in mosaic channel can not watch.
Because each channel is all using the code check given tacit consent under the business scenario of current mosaic channel so that mosaic channel The mortality played in the case of limited network bandwidth is higher, therefore, and the embodiments of the invention provide a kind of video playback side Method, it is each suitable code check of channel selection in mosaic channel that can combine the network bandwidth.
It should be understood that in the embodiment of the present invention, being played in mosaic channel under scene, each frequency in mosaic channel scene Road is referred to as mosaic channel;The corresponding broadcast window of channel is referred to as mosaic window or window;Each channel pair The multiple code checks answered are referred to as mosaic code check;Mosaic channel scene can be simultaneously including extremely on same display screen The scene of the broadcast window of few two channels, or same picture includes the broadcast window of at least two channels simultaneously Scene, or multiple display screens include the scene of the broadcast window of multiple channels, in a word, terminal is needed simultaneously from media Server asks the file of the code check of multiple channels play simultaneously, it is possible to be referred to as mosaic channel scene.
Referring to Fig. 1, Fig. 1 is a kind of structural representation of audio/video player system provided in an embodiment of the present invention, such as Fig. 1 institutes Show, the audio/video player system includes set top box 101, EPG server 102 and media server 103, and set top box 101 can be with pin To each channel under mosaic channel scene, the mosaic code check set of each channel is obtained from EPG server 102, The mosaic code check set includes the selectable multiple code checks of the channel, and the mosaic channel scene refers to same display Include the scene of the broadcast window of at least two channels on screen simultaneously;Set top box 101 can determine current available bandwidth and The coefficient of performance of set top box;Set top box 101 is according to available bandwidth and the coefficient of performance, from the mosaic code check collection of each channel It is respectively each channel selection code check to be allocated in conjunction, and then, set top box 101 can be obtained from media server 103 The interior perhaps file of code check to be allocated is played out.
Wherein, set top box 101 can also be television terminal, and the correlation function that the television terminal can gather set top box is performed Video broadcasting method described in the embodiment of the present invention, optionally, the set top box 101 can also be other playback equipments, the present invention Embodiment is not limited.
Wherein, set top box 101 is not more than available band for the code check sum to be allocated of each channel selection in mosaic channel Product between the wide and coefficient of performance.
It can be seen that, in the audio/video player system shown in Fig. 1, user can select multiple channels to enter mosaic channel scene, Set top box 101 obtains the code check that user selects multiple channels from EPG server first, while the current available bandwidth of acquisition and property Energy coefficient, is the code check that multiple channel selections are matched with the size of broadcast window, so that so that in the case where bandwidth is limited, Ensure the normal play of mosaic channel to greatest extent.
Wherein, in multiple channels of user's selection course mosaic channel, (these channels can be support horse to set top box 101 Match the channel of gram channel) after, HTTP request can be sent to EPG server 102, obtain the Marseille of selected the plurality of channel Gram code check set, wherein, the unit of code check is kbps in mosaic code check set.
Wherein, the current available bandwidth of set top box 101 can go EPG server to obtain by HTTP interface.EPG is serviced The total bandwidth that device is ordered according to user subtracts the currently used bandwidth of user and obtains remaining available bandwidth, so as to which this can use Bandwidth returns to set top box 101, is used as current available bandwidth.
Wherein, the coefficient of performance of set top box 101 can be converted according to the equipment performance and load condition of itself.Example Such as, equipment performance can according to can with central processing unit (Central Processing Unit, CPU) computing capability, it is available in Deposit space to be converted, as shown in table 1 below, table 1 is a kind of folding of the coefficient of performance of set top box 101 provided in an embodiment of the present invention Calculate table.Coefficient of performance table in set top box 101 shown in preset table 1, so, set top box 101 can directly inquire about current can use CPU computing capabilitys, free memory number determine the coefficient of performance.For example, when the available CPU computing capabilitys of inquiry are strong (such as larger than 5000), available memory space is more (such as larger than 500M), then the corresponding coefficient of performance can be 1;When the available CPU of inquiry is calculated Ability medium (such as larger than 3000 and less than 5000), available memory space are few (such as larger than 200M and less than 300M), then corresponding The coefficient of performance can be 0.5.
Wherein, it can also continue to expand the various situations covered, i.e. computing capability n, free memory in table 1 based on experience value The corresponding coefficient of performance n of space n, or further subdivision can use the granularity between computing capability, free memory and the coefficient of performance. Optionally, table 1 can also include other parameter informations, can such as weigh the parameter information of the current performance of set top box 101, the present invention Embodiment is not limited.
Table 1
As an alternative embodiment, set top box 101 according to the available bandwidth and the coefficient of performance from institute It is respectively each channel selection code check to be allocated to state in mosaic code check set, including:According to the mosaic channel The number and size of the broadcast window under scape, determine the target whole strategy grade of the mosaic channel scene, the mesh Mark whole strategy grade includes the window policy grade of the broadcast window;According to the target whole strategy grade, from described Selection is each channel selection code check to be allocated in the mosaic code check set of each channel.Because the number of broadcast window is got over Many, while the channel played is also more, the resource of occupancy is also more;Broadcast window is bigger, when play it is clear when, it is necessary to code check Bigger, therefore, set top box 101 is selected when selecting code check to be allocated with reference to the number and size of broadcast window, so that While mosaic channel played, ensure the definition of picture as far as possible.
Wherein, the mosaic code check set of each channel can be corresponding multiple under mosaic channel scene including channel Code check, the plurality of code check is of little use when being played in whole picture.
Wherein, the video playback can also set a variety of window policy grades respectively for the broadcast window of various sizes, together Range of code rates corresponding to the different windows strategy grade of the broadcast window of one size is different;According to the broadcasting of the various sizes The corresponding various code rate strategy grade of window, determines a variety of whole strategy grades of the mosaic scene.It can be seen that, the reality Mode is applied so that window policy grade is corresponding with the size of broadcast window, i.e., identical window policy grade is directed to different size The corresponding result of broadcast of broadcast window will not differ too big.
For example, window policy grade can include preferred code check strategy, again suboptimum code check strategy, code check strategy and work( Code check strategy etc. can be achieved, optionally, the window policy grade can be divided into multistage with more detailed, but it is overall tend to be Rank is lower, and corresponding code check is smaller, and minimal level is that function can realize code check strategy.In addition, different size of window correspondence The code check of uniform window strategy grade can be different, such as, the corresponding function of different size of window can realize code check strategy Code check can be different.
Table 2 is a kind of window policy table of grading provided in an embodiment of the present invention, as shown in table 2 below, the broadcasting of every kind of size Window is all configured with four kinds of window policy grades, such as preferred code check strategy, again suboptimum code check strategy, code check strategy and function Code check strategy can be achieved.Wherein, under uniform window strategy grade, the size of broadcast window is bigger, and corresponding code check is also bigger;Phase With the broadcast window of size, window policy higher grade, and corresponding code check is also bigger, thereby may be ensured that broadcasting is clearly same When, the definition of broadcasting is improved as far as possible.
Table 2
Optionally, in the above-described embodiment, set top box 101 is according to the broadcast window under the mosaic channel scene Number and size, determine the target whole strategy grade of the mosaic channel scene, Ke Yiwei:Calculate the mosaic Scape under a variety of whole strategy grades, each selectable code check of channel and value;It is determined that can described in being less than in described and value With the maximum and value of the product between bandwidth and the coefficient of performance;Using it is described maximum and be worth corresponding whole strategy grade as The target whole strategy grade of the mosaic scene.
For example, whole strategy grade can include total optimization strategy, global degree dominant strategy, overall strategy again, entirety Tactful n and function can realize strategy.Wherein, the window policy grade of each broadcast window can be excellent in total optimization strategy Code selection rate strategy;The window policy grade of part broadcast window can be precedence code rate strategy in global degree dominant strategy, partly broadcast The window policy grade for putting window can be suboptimum code check strategy, and both ratios can be a variety of, so as to constitute a variety of entirety Secondary dominant strategy, both ratios can also be default fixed value, constitute a kind of global degree dominant strategy;It is every in overall strategy again The window policy grade of individual broadcast window is suboptimum code check strategy, and whole strategy n can be the corresponding window policy of broadcast window The combination of grade, therefore, n are the integer more than or equal to 1;Function can realize the window policy grade of each broadcast window in strategy It is that function can realize code check strategy.
Table 3 is a kind of whole strategy table of grading provided in an embodiment of the present invention, as shown in table 3, the whole strategy table of grading In include various sizes broadcast window and meanwhile present when code check Selection Strategy.Wherein, every kind of whole strategy grade all by The window policy grade of the broadcast window of each size is constituted, such as the broadcast window of each size is all right in total optimization strategy What is answered is preferred code check strategy;The preferred code of large scale broadcast window correspondence in the broadcast window of each size in global degree dominant strategy Rate strategy, small size broadcast window correspondence suboptimum code check strategy etc..As shown in table 3, the whole strategy table of grading middle grade is higher, Corresponding selectable code check sum is bigger.
Table 3
Optionally, set top box 101 is determined after the code check to be allocated of each channel, can ask each channel from media server The file of the code check to be allocated, and then play in mosaic channel the content of each channel.
Optionally, in the audio/video player system shown in Fig. 1, when set top box 101 travel through all whole strategy table of grading or After the window policy table of grading of each broadcast window of person, the code check sum that remaining unchanged can not cause each broadcast window to select is less than etc. Product between available bandwidth and the coefficient of performance, i.e., can not meet the code check of each broadcast window of ∑<=available bandwidth * performances Coefficient, then set top box 101, which can be exported, can not watch the prompt message of mosaic channel, or set top box 101 exports current band Wide and/or current device performance can not realize the prompt message of the broadcasting of mosaic channel.
Referring to Fig. 2, Fig. 2 is a kind of schematic flow sheet of video broadcasting method provided in an embodiment of the present invention, such as Fig. 2 institutes Show, the video broadcasting method may comprise steps of:
S201, terminal can be directed to each channel under mosaic channel scene, obtain the mosaic code check of each channel Set;
S202, terminal determine the coefficient of performance of current available bandwidth and set top box;
S203, terminal are according to the available bandwidth and the coefficient of performance, from the mosaic code check set of each channel respectively For the code check that each channel selection is to be allocated.
Wherein, the mosaic code check set can include the selectable multiple code checks of the channel, i.e., each channel has pair The mosaic code check set answered;Mosaic channel scene refers on same display screen while including the broadcasting of at least two channels The scene of window, mosaic channel scene is referred to as the business scenario of mosaic channel, or mosaic channel.Mosaic User can use electronic program guide (EPG) to select multiple direct broadcast bands on same television image while broadcasting under channel scene Put, oneself can also change the page layout mode of multiple channels.
Wherein, the coefficient of performance can be obtained according to the progress conversion of the computing capability, available memory space and load condition of equipment .
It can be seen that, the coefficient of performance that the embodiment can combine current available bandwidth and set top box is respectively each channel Suitable code check is selected, the success rate that mosaic channel is played is improved.
Optionally, it is that the code check sum to be allocated of each channel selection is not more than and described can used in the video broadcasting method Product between bandwidth and the coefficient of performance, thereby may be ensured that many pictures are played simultaneously, and be not in showing for interim card As.
Optionally, it is respectively institute from the mosaic code check set according to the available bandwidth and the coefficient of performance Each channel selection code check to be allocated is stated, including:According to the number of the broadcast window under the mosaic channel scene and greatly It is small, the target whole strategy grade of the mosaic channel scene is determined, the target whole strategy grade includes described play The window policy grade of window;According to the target whole strategy grade, selected from the mosaic code check set of each channel It is selected as each channel selection code check to be allocated.
Wherein, the video playback can also set a variety of window policy grades respectively for the broadcast window of various sizes, together Range of code rates corresponding to the different windows strategy grade of the broadcast window of one size is different;According to the broadcasting of the various sizes The corresponding various code rate strategy grade of window, determines a variety of whole strategy grades of the mosaic scene.
For example, window policy grade can include preferred code check strategy, again suboptimum code check strategy, code check strategy and work( Code check strategy etc. can be achieved, optionally, the window policy grade can be divided into multistage with more detailed, but it is overall tend to be Rank is lower, and corresponding code check is smaller, and minimal level is that function can realize code check strategy.In addition, different size of window correspondence The code check of uniform window strategy grade can be different, such as, the corresponding function of different size of window can realize code check strategy Code check can be different.
Optionally, according to the number and size of the broadcast window under the mosaic channel scene, the Marseille is determined The target whole strategy grade of gram channel scene, Ke Yiwei:The mosaic scene is calculated under a variety of whole strategy grades, institute State the selectable code check of each channel and value;It is determined that being less than in described and value between the available bandwidth and the coefficient of performance The maximum and value of product;Using the overall plan of described maximum and the corresponding whole strategy grade of value as the mosaic scene target Omit grade.
For example, whole strategy grade can include total optimization strategy, global degree dominant strategy, overall strategy again, entirety Tactful n and function can realize strategy.Wherein, the window policy grade of each broadcast window can be excellent in total optimization strategy Code selection rate strategy;The window policy grade of part broadcast window can be precedence code rate strategy in global degree dominant strategy, partly broadcast The window policy grade for putting window can be suboptimum code check strategy, and both ratios can be a variety of, so as to constitute a variety of entirety Secondary dominant strategy, both ratios can also be default fixed value, constitute a kind of global degree dominant strategy;It is every in overall strategy again The window policy grade of individual broadcast window is suboptimum code check strategy, and whole strategy n can be the corresponding window policy of broadcast window The combination of grade, therefore, n are the integer more than or equal to 1;Function can realize the window policy grade of each broadcast window in strategy It is that function can realize code check strategy.
Optionally, after the code check to be allocated for determining each channel, this that can ask each channel from media server is to be allocated Code check file.
It can be seen that, in the video broadcasting method shown in Fig. 2, user can select multiple channels to enter mosaic channel scene, Terminal obtains the code check that user selects multiple channels from EPG server, while obtaining current available bandwidth and the coefficient of performance, is The code check that multiple channel selections are matched with the size of broadcast window, so that so that in the case where bandwidth is limited, to greatest extent Ensure the normal play of mosaic channel.
Fig. 3 is referred to, Fig. 3 is the schematic flow sheet of another video broadcasting method provided in an embodiment of the present invention, such as Fig. 3 Shown, the video broadcasting method may comprise steps of:
S301, user select multiple channels in the business scenario of mosaic channel, carry out the sight of mosaic channel scene See;
In the embodiment of the present invention, user can be user equipment, such as remote control, mobile phone and other portable sets Can be to terminal input operation, for example, selecting multiple channels, therefore, the user can select multiple channels for broad sense User equipment, can also the user of narrow sense be that people selects multiple channels by user equipment.
S302, terminal are directed to each channel under mosaic channel scene, obtain the mosaic code check set of each channel;
Wherein, the mosaic code check set includes all mosaic code rate informations or optional code rate information of channel.
S303, terminal inquire about the current available bandwidth of user at EPG server;
S304, terminal obtain current equipment performance and meet situation, are converted into the current coefficient of performance;
S305, terminal are according to the size of the broadcast window of each channel, included broadcasting window under mosaic channel scene Mouth number, current available bandwidth and the coefficient of performance, are respectively that each channel selection is treated from the mosaic code check set of each channel The code check of distribution;
S306, terminal ask the file of to be allocated code check of each channel mid band 1 to n from media server;
S307, the code check of terminal plays channel 1 to n file.
Wherein, step S305 embodiment may be referred to the related content of above-described embodiment, and I will not elaborate.
In the embodiment of the present invention, terminal can be realized in the case where bandwidth is limited by above-mentioned steps, to greatest extent Ensure user's selection mosaic channel business scenario can normal play, simultaneously because terminal each frequency in for mosaic channel Road selects to take into account the coefficient of performance of terminal itself during code check, i.e. performance limitation, so as to further protect to greatest extent The business scenario for demonstrate,proving mosaic channel can normal play.
It can be seen that, in the video broadcasting method, media server also needs to for the multiple selectable code checks of each channel assignment, make Suitable code check is selected in obtaining multiple code checks that terminal can be returned from EPG server, and the code check is selected from media server Corresponding file.
Referring to Fig. 4, Fig. 4 is a kind of structural representation of video play device provided in an embodiment of the present invention, such as Fig. 4 institutes Show, the video play device can include with lower unit:
Acquiring unit 401, for for each channel under mosaic channel scene, obtaining the Marseille of each channel Gram code check set, the mosaic code check set includes the selectable multiple code checks of the channel, and the mosaic channel scene is Refer on same display screen while the scene of the broadcast window including at least two channels;
Determining unit 402, the coefficient of performance for determining current available bandwidth and set top box;
Selecting unit 403, for according to the available bandwidth and the coefficient of performance, from the mosaic of each channel It is respectively each channel selection code check to be allocated in code check set.
Wherein, the code check sum to be allocated of each channel is not more than the available bandwidth and the performance in mosaic channel Product between coefficient.
In the video play device shown in Fig. 4, selecting unit 403 can include:
Determination subelement, for the number and size according to the broadcast window under the mosaic channel scene, it is determined that The target whole strategy grade of the mosaic channel scene, the target whole strategy grade includes the window of the broadcast window The tactful grade of mouth;
Subelement is selected, for according to the target whole strategy grade, from the mosaic code check set of each channel Middle selection is each channel selection code check to be allocated.
Wherein it is determined that subelement is used to calculate the mosaic scene under a variety of whole strategy grades, each channel Selectable code check and value;And determine in described and value less than the product between the available bandwidth and the coefficient of performance Maximum and value;And using the maximum and it is worth corresponding whole strategy grade as the target entirety plan of the mosaic scene Omit grade.
In addition, the video play device described in the embodiment of the present invention can also include:
Setting unit, a variety of window policy grades are set for the broadcast window for various sizes respectively, same size Range of code rates corresponding to the different windows strategy grade of broadcast window is different;
Determining unit, for the corresponding various code rate strategy grade of the broadcast window according to the various sizes, really A variety of whole strategy grades of the fixed mosaic scene.
Optionally, the video play device described in the embodiment of the present invention can also include request unit, for being taken from media Business device asks the file of the code check to be allocated of each channel.
Optionally, the video play device described in the embodiment of the present invention can also include broadcast unit, described for playing The file of the code check to be allocated of each channel of request unit request.
According to preceding method and device, Fig. 5 is a kind of structural representation for equipment that the embodiment of the present application is provided, such as Fig. 5 Shown, the equipment can be terminal device, or chip or circuit, such as may be disposed at the chip or electricity of terminal device Road.The terminal device can correspond to the terminal in the above method.
The equipment can include processor 501 and memory 502.The memory 502 is used for store instruction, the processor 501 are used to perform the instruction that the memory 502 is stored, to realize such as step of the figure 1 above into the corresponding video broadcasting methods of Fig. 3 Suddenly.
Further, the equipment can also include input port 503 and delivery outlet 504.Further, the equipment can also be entered One step includes bus system 505, wherein, processor 501, memory 502, input port 503 and delivery outlet 504 can pass through bus System 505 is connected.
Processor 501 is used for the instruction for performing the memory 502 storage, receives signal with control input mouthful 503, and control Delivery outlet 504 sends signal, the step of completing terminal device in the above method.Wherein, input port 503 and delivery outlet 504 can be with For identical or different physical entity.During for identical physical entity, transceiver may be collectively referred to as.The memory 220 can To be integrated in the processor 210, it can also be provided separately with the processor 210.
As a kind of implementation, the function of input port 503 and delivery outlet 504 can contemplate by transmission circuit or receipts The special chip of hair is realized.Processor 501 is it is contemplated that pass through dedicated processes chip, process circuit, processor or general core Piece is realized.
It is used as another implementation, it may be considered that realize that the embodiment of the present application is provided using the mode of all-purpose computer Terminal device.Processor 501 will be realized, the program code of input port 503 and the function of delivery outlet 504 is stored in memory In, general processor realizes the work(of processor 501, input port 503 and delivery outlet 504 by performing the code in memory Energy.
The concept related to the technical scheme that the embodiment of the present application is provided involved by the equipment, explains and describes in detail And other steps refer to the description as described in these contents in preceding method or other embodiment, do not repeat herein.
It should be understood that in the various embodiments of the application, the size of the sequence number of above-mentioned each process is not meant to that execution is suitable The priority of sequence, the execution sequence of each process should be determined with its function and internal logic, without the implementation of the reply embodiment of the present invention Process constitutes any limit.
Those of ordinary skill in the art are it is to be appreciated that with reference to the various illustrative of the embodiments described herein description Logical block (illustrative logical block) and step (step), can be with electronic hardware or computer software Combination with electronic hardware is realized.These functions are performed with hardware or software mode actually, depending on technical scheme Application-specific and design constraint.Professional and technical personnel can to each specific application come using distinct methods to realize The function of description, but this realization is it is not considered that beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
, can be with several embodiments provided herein, it should be understood that disclosed systems, devices and methods Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, such as multiple units or component Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces Close or communicate to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
In the above-described embodiments, it can come real wholly or partly by software, hardware, firmware or its any combination It is existing.When implemented in software, it can realize in the form of a computer program product whole or in part.The computer program Product includes one or more computer instructions.When loading on computers and performing the computer program instructions, all or Partly produce according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special meter Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer-readable recording medium In, or the transmission from a computer-readable recording medium to another computer-readable recording medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, numeral from web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave) mode to another web-site, computer, server or Data center is transmitted.The computer-readable recording medium can be any usable medium that computer can be accessed or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disc Solid State Disk (SSD)) etc..
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (12)

1. a kind of video broadcasting method, it is characterised in that including:
For each channel under mosaic channel scene, the mosaic code check set of each channel, the Marseille are obtained Gram code check set includes the selectable multiple code checks of the channel, and the mosaic channel scene refers on same display screen simultaneously The scene of broadcast window including at least two channels;
It is determined that current available bandwidth and the coefficient of performance of set top box;
It is respectively described from the mosaic code check set of each channel according to the available bandwidth and the coefficient of performance Each channel selection code check to be allocated.
2. according to the method described in claim 1, it is characterised in that the code check sum to be allocated of each channel is little Product between the available bandwidth and the coefficient of performance.
3. method according to claim 2, it is characterised in that according to the available bandwidth and the coefficient of performance from institute It is respectively each channel selection code check to be allocated to state in mosaic code check set, including:
According to the number and size of the broadcast window under the mosaic channel scene, the mosaic channel scene is determined Target whole strategy grade, the target whole strategy grade includes the window policy grade of the broadcast window;
According to the target whole strategy grade, selection is each channel choosing from the mosaic code check set of each channel Select code check to be allocated.
4. method according to claim 3, it is characterised in that described to be played according to described under the mosaic channel scene The number and size of window, determine the target whole strategy grade of the mosaic channel scene, including:
The mosaic scene is calculated under a variety of whole strategy grades, each selectable code check of channel and value;
It is determined that the maximum and value of the product being less than in described and value between the available bandwidth and the coefficient of performance;By described in most It is big and be worth corresponding whole strategy grade as the target whole strategy grade of the mosaic scene.
5. the method according to claim 3 or 4, it is characterised in that methods described also includes:
For the broadcast window of various sizes, a variety of window policy grades, the different windows of the broadcast window of same size are set respectively Range of code rates corresponding to tactful grade is different;
According to the corresponding various code rate strategy grade of the broadcast window of the various sizes, the mosaic scene is determined A variety of whole strategy grades.
6. the method according to any one of claim 1 to 5, it is characterised in that methods described also includes:
The file of the code check to be allocated of each channel is asked from media server.
7. a kind of video play device, it is characterised in that including:
Acquiring unit, for for each channel under mosaic channel scene, obtaining the mosaic code check of each channel Set, the mosaic code check set includes the selectable multiple code checks of the channel, and the mosaic channel scene refers to same Include the scene of the broadcast window of at least two channels on individual display screen simultaneously;
Determining unit, the coefficient of performance for determining current available bandwidth and set top box;
Selecting unit, for according to the available bandwidth and the coefficient of performance, from the mosaic code check collection of each channel It is respectively each channel selection code check to be allocated in conjunction.
8. device according to claim 7, it is characterised in that the code check sum to be allocated of each channel is little Product between the available bandwidth and the coefficient of performance.
9. device according to claim 8, it is characterised in that the selecting unit, including:
Determination subelement, for the number and size according to the broadcast window under the mosaic channel scene, it is determined that described The target whole strategy grade of mosaic channel scene, the target whole strategy grade includes the window plan of the broadcast window Omit grade;
Subelement is selected, for according to the target whole strategy grade, being selected from the mosaic code check set of each channel It is selected as each channel selection code check to be allocated.
10. device according to claim 9, it is characterised in that the determination subelement is used to calculate the mosaic Scape under a variety of whole strategy grades, each selectable code check of channel and value;And determine to be less than institute in described and value State the maximum and value of the product between available bandwidth and the coefficient of performance;And by the maximum and it is worth corresponding whole strategy Grade as the mosaic scene target whole strategy grade.
11. the device according to claim 9 or 10, it is characterised in that described device also includes:
Setting unit, a variety of window policy grades, the broadcasting of same size are set for the broadcast window for various sizes respectively Range of code rates corresponding to the different windows strategy grade of window is different;
Determining unit, for the corresponding various code rate strategy grade of the broadcast window according to the various sizes, determines institute State a variety of whole strategy grades of mosaic scene.
12. the device according to any one of claim 7 to 11, it is characterised in that described device also includes:
Request unit, the file of the code check to be allocated for asking each channel from media server.
CN201710364429.2A 2017-05-22 2017-05-22 Video playing method and device Active CN107105317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710364429.2A CN107105317B (en) 2017-05-22 2017-05-22 Video playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710364429.2A CN107105317B (en) 2017-05-22 2017-05-22 Video playing method and device

Publications (2)

Publication Number Publication Date
CN107105317A true CN107105317A (en) 2017-08-29
CN107105317B CN107105317B (en) 2020-10-23

Family

ID=59669932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710364429.2A Active CN107105317B (en) 2017-05-22 2017-05-22 Video playing method and device

Country Status (1)

Country Link
CN (1) CN107105317B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109195010A (en) * 2018-08-15 2019-01-11 咪咕视讯科技有限公司 A kind of code rate adjustment method and device
CN110020317A (en) * 2017-12-25 2019-07-16 北京京东尚科信息技术有限公司 Web page-container backing file determines method, apparatus, equipment and readable storage medium storing program for executing
CN113891155A (en) * 2021-09-29 2022-01-04 百果园技术(新加坡)有限公司 Video playing gear determining method, video playing method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040151394A1 (en) * 2003-01-31 2004-08-05 Mikael Soderberg Symmetrical, highly deterministic, low complexity, temporal transform video codec and vehicle distribution system incorporating same
CN105828158A (en) * 2016-03-22 2016-08-03 乐视网信息技术(北京)股份有限公司 Multi-window video playing-based playing quality adjusting method and device
CN106210781A (en) * 2016-08-04 2016-12-07 乐视控股(北京)有限公司 A kind of multichannel control method for playing back and system
CN106572355A (en) * 2016-11-02 2017-04-19 乐视控股(北京)有限公司 Multi-channel video live streaming method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040151394A1 (en) * 2003-01-31 2004-08-05 Mikael Soderberg Symmetrical, highly deterministic, low complexity, temporal transform video codec and vehicle distribution system incorporating same
CN105828158A (en) * 2016-03-22 2016-08-03 乐视网信息技术(北京)股份有限公司 Multi-window video playing-based playing quality adjusting method and device
CN106210781A (en) * 2016-08-04 2016-12-07 乐视控股(北京)有限公司 A kind of multichannel control method for playing back and system
CN106572355A (en) * 2016-11-02 2017-04-19 乐视控股(北京)有限公司 Multi-channel video live streaming method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020317A (en) * 2017-12-25 2019-07-16 北京京东尚科信息技术有限公司 Web page-container backing file determines method, apparatus, equipment and readable storage medium storing program for executing
CN110020317B (en) * 2017-12-25 2021-12-14 北京京东尚科信息技术有限公司 Webpage container bottom supporting file determining method, device, equipment and readable storage medium
CN109195010A (en) * 2018-08-15 2019-01-11 咪咕视讯科技有限公司 A kind of code rate adjustment method and device
CN113891155A (en) * 2021-09-29 2022-01-04 百果园技术(新加坡)有限公司 Video playing gear determining method, video playing method and related device
CN113891155B (en) * 2021-09-29 2024-04-05 百果园技术(新加坡)有限公司 Video playing gear determining method, video playing method and related devices

Also Published As

Publication number Publication date
CN107105317B (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN103430570B (en) For the social networks of bandwidth conservation in video on-demand system
US8850055B1 (en) Intelligently streaming portions of media at higher quality over a limited bandwidth connection
CN103685547A (en) Download server dispatching method, download server dispatching system and terminal device
CN105516748A (en) Method and server for realizing network live broadcasting
CN103069826A (en) Transmission device and method, reception device and method, and transmission/reception system
JP2010154566A (en) Method and apparatus for purchasing upgraded media feature for transmission
CN108990110A (en) Network flux management method, device, storage medium and terminal
CN107105316A (en) A kind of advertisement broadcast method and device
CN107105317A (en) A kind of video broadcasting method and device
CN110650255B (en) Method and device for editing color ring back tone, color ring back tone editing unit and storage medium
CN108848360A (en) Smart projector throws screen control method and Related product
CN103702235A (en) Data processing method and system for content delivery network
CN105391563B (en) Information notice method and device
US20170171579A1 (en) Method and Device for Transcoding Live Video
JP4752043B2 (en) Content distribution apparatus, content distribution program, and content distribution method
CN106358143A (en) Antenna time-sharing multiplexing method and terminal
RU2596996C2 (en) Device and method of distributing information and information distribution system
US20170134457A1 (en) Broadcast-linked service based on cloud streaming, broadcast-linked service client apparatus, trigger content providing server
CN107948206A (en) A kind of multi-medium data download/or the method and system uploaded
CN112492351A (en) Video processing method, device, equipment and storage medium
JP3652670B2 (en) Multicast video distribution system and request reception processing program in the same system
US10070190B2 (en) News production system with dynamic character generator output
RU2572836C2 (en) Transmission apparatus, application information table (ait) transmission method and reception apparatus
JP6924108B2 (en) Plan making device, plan making method and plan making program
US8799332B2 (en) Content conversion apparatus and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200212

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant after: HUAWEI TECHNOLOGIES Co.,Ltd.

Address before: 210012 HUAWEI Nanjing base, 101 software Avenue, Yuhuatai District, Jiangsu, Nanjing

Applicant before: Huawei Technologies Co.,Ltd.

GR01 Patent grant
GR01 Patent grant