CN106303559A - A kind of method controlling live video stream and direct broadcast server - Google Patents

A kind of method controlling live video stream and direct broadcast server Download PDF

Info

Publication number
CN106303559A
CN106303559A CN201610685031.4A CN201610685031A CN106303559A CN 106303559 A CN106303559 A CN 106303559A CN 201610685031 A CN201610685031 A CN 201610685031A CN 106303559 A CN106303559 A CN 106303559A
Authority
CN
China
Prior art keywords
main broadcaster
end equipment
parameter
broadcast server
direct broadcast
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610685031.4A
Other languages
Chinese (zh)
Inventor
唐赓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610685031.4A priority Critical patent/CN106303559A/en
Publication of CN106303559A publication Critical patent/CN106303559A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234363Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the spatial resolution, e.g. for clients with a lower screen resolution
    • 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/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234381Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the temporal resolution, e.g. decreasing the frame rate by frame skipping
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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

Landscapes

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

Abstract

The invention discloses a kind of method controlling live video stream, direct broadcast server receives live video stream that each main broadcaster's end equipment uploads and therefrom extracts respective stream parameter;It is then based on respective stream parameter and judges that each main broadcaster's end equipment is the need of adjusting up code stream parameter;If each main broadcaster's end equipment needs to adjust up code stream parameter, send corresponding control instruction to each main broadcaster's end equipment, upload live video stream to direct broadcast server with the appointment up code stream parameter controlling to carry in each main broadcaster's end equipment control instruction according to each reception.The direct broadcast server that the present invention relates to can regulate and control each main broadcaster's end equipment for uploading the up code stream parameter of live video stream based on stream dynamic state of parameters, improve the efficiency of transmission of each main broadcaster's end equipment, reduce or stop main broadcaster's server and the situation of picture clamping stagnation occurs during transmission live video stream, make viewer end equipment be able to receive that the net cast stream that picture is smooth, and then raising spectators watch the enthusiasm of network direct broadcasting.

Description

A kind of method controlling live video stream and direct broadcast server
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method controlling live video stream and direct broadcast server.
Background technology
Along with the development of science and technology, communication technology have also been obtained development at full speed, and the kind of electronic product is also got over Coming the most, people have also enjoyed the various facilities that development in science and technology brings.People can be by various types of mobile whole now End, enjoys the comfortable life brought along with development in science and technology.Such as, the mobile terminal such as smart mobile phone, panel computer has become as people Live in an important ingredient, user can use the mobile terminal such as smart mobile phone, panel computer to listen music, object for appreciation Game, viewing network direct broadcasting etc., to alleviate the pressure that modern fast pace life is brought.
Network direct broadcasting is different user at synchronization realizes the one of living broadcast interactive through network system at intercommunion platform Entertainment way.Live content can be one-man show, game, film etc..Current network direct broadcasting great majority are all live People's show, it is generally the case that we call main broadcaster or network main broadcaster the user of live one-man show.
And main broadcaster is when carrying out one-man show, main broadcaster's end equipment can communicate with viewer end equipment in real time and carry out interaction.These are mutual Dynamic information is required for direct broadcast server and carries out transfer.
Owing to direct broadcast server the most all can access and process the live video that substantial amounts of main broadcaster's end equipment sends Stream.Substantial amounts of video data stream pours in direct broadcast server in the lump, and each main broadcaster's end equipment can be caused to pass when uploading live video stream Defeated too slow, and then the situation of picture clamping stagnation occurs, affect the quality watching network direct broadcasting of viewer end equipment, and then significantly reduce The enthusiasm of viewer end equipment viewing network direct broadcasting, is unfavorable for the universal of mobile interchange technology and development.
Summary of the invention
In view of the above problems, it is proposed that the present invention is to provide a kind of method controlling live video stream and direct broadcast service Device.
One aspect of the present invention, it is provided that a kind of method controlling live video stream, described method includes:
Direct broadcast server receives the live video stream that each main broadcaster's end equipment is uploaded;
Described direct broadcast server extracts respective stream parameter from the live video stream of described each main broadcaster's end equipment;
Described direct broadcast server stream parameter based on described each main broadcaster's end equipment judges whether described each main broadcaster's end equipment needs Adjust up code stream parameter;
Described direct broadcast server judges when described each main broadcaster's end equipment needs to adjust up code stream parameter, to described each main broadcaster End equipment sends corresponding control instruction, with control to carry in the described each main broadcaster's end equipment control instruction according to each reception Up code stream parameter is specified to upload described live video stream to described direct broadcast server.
As a kind of optional embodiment, described stream parameter includes that delay parameter, card parameter, frame losing parameter, frame per second are steady In qualitative parameter one or multinomial.
As a kind of optional embodiment, described direct broadcast server stream parameter based on described each main broadcaster's end equipment judges institute State each main broadcaster's end equipment the need of adjust up code stream parameter, including:
Described direct broadcast server delay parameter based on described each main broadcaster's end equipment, card parameter, frame losing parameter, frame per second are steady In qualitative parameter one or multinomial, it is thus achieved that the efficiency of transmission of the live video stream of described each main broadcaster's end equipment;
The efficiency of transmission of live video stream based on described each main broadcaster's end equipment, it is judged that whether described each main broadcaster's end equipment needs Adjust up code stream parameter.
As a kind of optional embodiment, described direct broadcast server judges that described each main broadcaster's end equipment needs to adjust up code During stream parameter, before sending corresponding control instruction to described each main broadcaster's end equipment, including:
Described direct broadcast server according to efficiency of transmission based on described each main broadcaster's end equipment from specify up code stream parameter and The mapping relations of efficiency of transmission obtain the appointment up code stream parameter of described each main broadcaster's end equipment.
As a kind of optional embodiment, described appointment up code stream parameter includes: specifies code check, specify frame per second, appointment One or more of resolution.
As a kind of optional embodiment, described up code stream parameter includes code check, frame per second, the one of resolution or many Kind.
Another aspect of the present invention, it is provided that a kind of direct broadcast server, including:
Receiver module, for receiving the live video stream that each main broadcaster's end equipment is uploaded;
Extraction module, for extracting respective stream parameter from the live video stream of described each main broadcaster's end equipment;
Judge module, for stream parameter based on described each main broadcaster's end equipment judge described each main broadcaster's end equipment the need of Adjust up code stream parameter;
For described direct broadcast server, sending module, judges that described each main broadcaster's end equipment needs to adjust up code stream parameter Time, send corresponding control instruction to described each main broadcaster's end equipment, to control described each main broadcaster's end equipment according to each reception The appointment up code stream parameter carried in control instruction uploads described live video stream to described direct broadcast server.
As a kind of optional embodiment, described stream parameter includes that delay parameter, card parameter, frame losing parameter, frame per second are steady In qualitative parameter one or multinomial.
As a kind of optional embodiment, described judge module, it is used for:
Described direct broadcast server delay parameter based on described each main broadcaster's end equipment, card parameter, frame losing parameter, frame per second are steady In qualitative parameter one or multinomial, it is thus achieved that the efficiency of transmission of the live video stream of described each main broadcaster's end equipment;
The efficiency of transmission of live video stream based on described each main broadcaster's end equipment, it is judged that whether described each main broadcaster's end equipment needs Adjust up code stream parameter.
As a kind of optional embodiment, described direct broadcast server, including:
Obtain module, for basis efficiency of transmission based on described each main broadcaster's end equipment from specifying up code stream parameter and biography The mapping relations of defeated efficiency obtain the appointment up code stream parameter of described each main broadcaster's end equipment.
As a kind of optional embodiment, described appointment up code stream parameter includes: specifies code check, specify frame per second, appointment One or more of resolution.
As a kind of optional embodiment, described up code stream parameter includes code check, frame per second, the one of resolution or many Kind.
The technical scheme provided in the embodiment of the present application, at least has the following technical effect that or advantage:
The invention discloses a kind of method controlling live video stream, direct broadcast server receives what each main broadcaster's end equipment was uploaded Live video stream also therefrom extracts respective stream parameter;It is then based on whether respective stream parameter judges described each main broadcaster's end equipment Need to adjust up code stream parameter;If described each main broadcaster's end equipment needs to adjust up code stream parameter, to described each main broadcaster's end Equipment sends corresponding control instruction, to control described each main broadcaster's end equipment according to the finger carried in the control instruction each received Fixed up code stream parameter uploads described live video stream to described direct broadcast server.The direct broadcast server that the present invention relates to can be based on Stream dynamic state of parameters regulates and controls each main broadcaster's end equipment and is used for uploading the up code stream parameter of live video stream, improves each main broadcaster's end equipment Efficiency of transmission, reduces or stops main broadcaster's server and the situation of picture clamping stagnation occur during transmission live video stream, makes Viewer end equipment is able to receive that the net cast stream that picture is smooth, and then raising spectators watch the enthusiasm of network direct broadcasting.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of description, and in order to allow above and other objects of the present invention, the feature and advantage can Become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit common for this area Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation, and is not considered as the present invention Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 shows a kind of method flow diagram controlling live video stream;
Fig. 2 shows the schematic diagram of a kind of direct broadcast server.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows the disclosure Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should be by embodiments set forth here Limited.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
Embodiments provide a kind of method controlling live video stream, in order to solve each main broadcaster's end of prior art Equipment transmits too slow when uploading live video stream, and then the situation of picture clamping stagnation occurs, and then affects the sight of viewer end equipment See the technical problem of the quality of network direct broadcasting.
Mobile terminal that the main broadcaster's end equipment that the present invention relates to refers mainly to have ios operating system or there is other operations The mobile terminal of system (such as Android operation system, windows operating system), such as IPAD, smart mobile phone, PAD etc., And the direct broadcast server that the present invention relates to acts primarily as transfer effect, when the meeting of main broadcaster's end equipment and viewer end equipment intercommunication, It is responsible for transfer communication data stream to the other side.Set additionally, the direct broadcast server that the present invention relates to is also responsible for dynamic regulation each main broadcaster end It is ready for use on the up code stream parameter uploading live video stream, improves the efficiency of transmission of each main broadcaster's end equipment, reduce or stop main Broadcast server and the situation of picture clamping stagnation occurs during transmission live video stream, make viewer end equipment be able to receive that picture Smooth net cast stream, and then improve spectators and watch the enthusiasm of network direct broadcasting.For example, main broadcaster's end device A is live Video stream data amount is too big for the network environment bandwidth capacity residing for A, and network transmission bandwidth has reached saturated.And The data volume of main broadcaster end equipment B is less for the network environment bandwidth capacity residing for B, and the network bandwidth also has the most abundant Amount.So direct broadcast server can dynamically reduce the up code stream parameter of main broadcaster's end device A, and dynamically adjusts main broadcaster end equipment B Up code stream parameter, make two main broadcaster's end equipment according to each optimum up code stream parameter transmission data, improve each main broadcaster The network bandwidth utilization factor of end equipment and efficiency of transmission.
Refer to Fig. 1 below, the embodiment of the invention discloses a kind of method controlling live video stream, including:
S11, direct broadcast server receives the live video stream that each main broadcaster's end equipment is uploaded.
Main broadcaster's end equipment, is the mobile terminal device for user live broadcast, such as main broadcaster carry out one-man show smart mobile phone, PAD etc..Viewer end equipment, then be the mobile terminal device presenting live picture for user's viewing, such as smart mobile phone, PAD Etc..
Live video stream, is by main broadcaster's end equipment after the live platform of logging in online, by photographic head Real-time Collection Video stream data, the content of live video stream is varied, such as, have a meal, sleep, singing etc..Viewer end equipment can receive The live video stream sent by main broadcaster's end equipment of direct broadcast server transfer.
As a kind of optional embodiment, direct broadcast server can the live video uploaded of real-time reception each main broadcaster end equipment Stream.The data volume of the live video stream that each main broadcaster's end equipment is uploaded can identical can also differ, the data volume of live video stream Size, depend on the hardware parameter of live end equipment, live end equipment photographic head shooting the data volume of picture, live end Setting of network direct broadcasting platform on equipment etc..Such as, the data carried in live video stream are except live end equipment collection Outside the video data arrived, also carry and sprout face specially good effect, virtual present etc..
S12, described direct broadcast server extracts respective stream parameter from the live video stream of described each main broadcaster's end equipment.
As a kind of optional embodiment, the live video stream that each main broadcaster's end equipment is uploaded all carries respective stream ginseng Number.
Stream parameter is main broadcaster's end equipment transmission situation response parameter when uploading live video stream, has reacted main broadcaster's end and has set The standby practical situation when uploading live video stream, stream parameter includes delay parameter, card parameter, frame losing parameter, frame rate stable Property parameter in one or multinomial, reflection be that frame losing, transmission be unstable, delay etc. situation.Specifically, delay parameter React is the situation postponing transmission of live video stream, such as, postpone transmission 30 seconds.Card parameter reaction is live video Stream transmission procedure occurs situation about stagnating, such as, stagnates transmission 20 seconds.Live video stream is by image frame group one by one Become, and the reaction of frame losing parameter is the situation falling frame in live video stream.Frame rate stable parameter, reaction is transmission per second The situation of change of frame number, 15 frames that all transmit the most per second, represent frame rate stable.Upper one second, the frame number of transmission was 15 frames, and under The frame number of transmission in a second is 1 frame, then it represents that frame per second transmission instability.
S13, described direct broadcast server stream parameter based on described each main broadcaster's end equipment judges that described each main broadcaster's end equipment is No needs adjusts up code stream parameter.
Up code stream parameter is mainly used in transmitting live video stream.
Up code stream parameter includes: code check, frame per second, resolution one or more.
Code check, refers to the data traffic that video file used within the unit interval, is that in Video coding, image quality controls In most important part.Under same resolution, the code stream of video file is the biggest, and compression algorithm loss is the least, and image quality is just The best.
Frame per second, represents the frame number of transmission per second.Video flowing is that picture is constituted one by one, and the highest frame per second can obtain To video flowing more smooth, more true to nature.
Resolution, represents the precision of video image, refers to the pixel that each frame of video pictures comprises has how many.Owing to regarding Frequently the point on picture, line dough-making powder are all made up of pixel, and the pixel that each frame comprises is the most, and picture is the finest, can carry Information the most, so resolution is one of very important performance indications.
Code check, frame per second, resolution three are the key factors affecting video flowing transmission speed, but not all main broadcaster End equipment can support high code check, high frame per second, high-resolution transmission.This needs to depend on the environment that network transmits, if net The environment of network transmission is poor, when using high code check, high frame per second, high-resolution transmission live video stream, then there will be picture card The situation such as stagnant.And then the present invention needs direct broadcast server dynamically to adjust the up code stream parameter of each main broadcaster's end equipment, to greatest extent Allocate each main broadcaster's end equipment transmit live video stream time efficiency of transmission.
As a kind of optional embodiment, described direct broadcast server stream parameter based on described each main broadcaster's end equipment judges institute State each main broadcaster's end equipment the need of adjust up code stream parameter, including:
Described direct broadcast server delay parameter based on described each main broadcaster's end equipment, card parameter, frame losing parameter, frame per second are steady In qualitative parameter one or multinomial, it is thus achieved that the efficiency of transmission of the live video stream of described each main broadcaster's end equipment;For example, Live video flow delay transmits 1 second, and efficiency of transmission reduces by 0.1%, and live video stream card pauses 3 seconds, efficiency of transmission reduction by 0.5% etc. Deng.Efficiency of transmission by delay parameter, card parameter, frame losing parameter, frame rate stable parameter or multinomial comprehensive really Fixed, finally confirm last efficiency of transmission.
The efficiency of transmission of live video stream based on described each main broadcaster's end equipment, it is judged that whether described each main broadcaster's end equipment needs Adjust up code stream parameter.For example, if the efficiency of transmission of main broadcaster's end equipment is less than 60%, then need to downgrade up code stream Parameter;If higher than 60%, then according to original up code stream parameter transmission, if efficiency of transmission is the most stable in a period of time, taste Examination improves up code stream parameter.
S14, described direct broadcast server judges when described each main broadcaster's end equipment needs to adjust up code stream parameter, to described respectively Main broadcaster's end equipment sends corresponding control instruction, to control to take in the described each main broadcaster's end equipment control instruction according to each reception The appointment up code stream parameter of band uploads described live video stream to described direct broadcast server.
Described appointment up code stream parameter includes: specify code check, given resolution, appointment frame per second one or more.
As the optional embodiment of one, the up code stream parameter of each main broadcaster's end equipment can be according to each main broadcaster's end equipment Depending on efficiency of transmission.Specifically, direct broadcast server can efficiency of transmission based on each main broadcaster's end equipment be joined from the up code stream of appointment The mapping relations of number and efficiency of transmission obtain the appointment up code stream parameter of each main broadcaster's end equipment.
As a example by specifying frame per second, it is assumed that the efficiency of transmission of main broadcaster's end device A is 40%, then can be from specifying up code stream parameter It it is 20 frames/second with the appointment frame per second determining main broadcaster's end device A in the mapping relations of efficiency of transmission.Assume the biography of main broadcaster end equipment B Defeated efficiency is 50%, then can determine the finger of main broadcaster end equipment B from the mapping relations specifying up code stream parameter and efficiency of transmission Framing rate is 25 frames/second.
As a kind of optional embodiment, direct broadcast server judges that described each main broadcaster's end equipment needs to adjust up code stream ginseng During number, send corresponding control instruction to described each main broadcaster's end equipment, to control described each main broadcaster's end equipment according to each receiving Control instruction in the appointment code check that carries, or given resolution, or specify frame per second upload described live video stream to described directly Broadcast server.Such as, direct broadcast server transmission control instruction, to main broadcaster's end device A, controls live end device A according to 30 frames/second Upload live video stream.
As a kind of optional embodiment, described direct broadcast server judges that described each main broadcaster's end equipment needs to adjust up code During stream parameter, sending corresponding control instruction to described each main broadcaster's end equipment, this control instruction is carried appointment code check simultaneously and refers to Determine resolution.Or this control instruction carries appointment frame per second and given resolution simultaneously.Or this control instruction carries finger simultaneously Constant bit rate and appointment frame per second.And then control described each main broadcaster's end equipment according to the up code carried in the control instruction each received Stream parameter uploads described live video stream to described direct broadcast server.Such as, direct broadcast server sends control instruction to main broadcaster's end Device A, controls live end device A according to 30 frames/second and according to the code check of 800kbps and uploads live video stream.
As a kind of optional embodiment, described direct broadcast server judges that described each main broadcaster's end equipment needs to adjust up code During stream parameter, send corresponding control instruction to described each main broadcaster's end equipment, to control described each main broadcaster's end equipment according to each The appointment code check that carries in the control instruction received, it is intended that resolution, it is intended that frame per second upload described live video stream to described directly Broadcast server.Such as, direct broadcast server send control instruction to main broadcaster's end device A, control live end device A according to 30 frames/second, Live video stream is uploaded according to the code check of 800kbps, the resolution of 1024*576.
Certainly, the parameter of the up code stream parameter of appointment of each main broadcaster's end equipment can be different.Such as, direct broadcast server sends Control instruction, to main broadcaster's end device A, controls live end device A according to specifying code check to upload live video stream.Direct broadcast server is sent out Send control instruction to main broadcaster end equipment B, control live end equipment B and upload live video stream according to given resolution.Direct broadcast service Device transmission control instruction, to main broadcaster end equipment C, controls live end equipment C according to specifying frame per second to upload live video stream.The most such as, Direct broadcast server transmission control instruction, to main broadcaster's end device A, controls live end device A and uploads live video stream according to 30 frames/second. Direct broadcast server transmission control instruction, to main broadcaster end equipment B, controls live end equipment B and uploads live video stream according to 20 frames/second.
When adjusting up code stream parameter, described each master can be controlled according to first carrying appointment code check in control instruction Broadcast end equipment and upload described live video stream to described live clothes according to the appointment code check carried in the control instruction each received Business device.Then the live video stream of this main broadcaster's end equipment of real-time reception, and obtain stream parameter judge whether to meet efficiency of transmission, if Have not been met, then retransmit control instruction, and in control instruction, carry given resolution upload described live video stream to institute State direct broadcast server, then the live video stream of this main broadcaster's end equipment of real-time reception, and obtain stream parameter and judge whether to meet transmission Efficiency, if having not been met, send control instruction, and carry in control instruction appointment specify frame per second upload described live video stream To described direct broadcast server.
In the following embodiments, referring to Fig. 2, disclose a kind of direct broadcast server, including:
Receiver module 21, for receiving the live video stream that each main broadcaster's end equipment is uploaded;
Extraction module 22, for extracting respective stream parameter from the live video stream of described each main broadcaster's end equipment;
For stream parameter based on described each main broadcaster's end equipment, judge module 23, judges whether described each main broadcaster's end equipment needs Adjust up code stream parameter;
For described direct broadcast server, sending module 24, judges that described each main broadcaster's end equipment needs to adjust up code stream parameter Time, send corresponding control instruction to described each main broadcaster's end equipment, to control described each main broadcaster's end equipment according to each reception The appointment up code stream parameter carried in control instruction uploads described live video stream to described direct broadcast server.
As a kind of optional embodiment, described stream parameter includes that delay parameter, card parameter, frame losing parameter, frame per second are steady In qualitative parameter one or multinomial.
As a kind of optional embodiment, described judge module 23, it is used for:
Described direct broadcast server delay parameter based on described each main broadcaster's end equipment, card parameter, frame losing parameter, frame per second are steady In qualitative parameter one or multinomial, it is thus achieved that the efficiency of transmission of the live video stream of described each main broadcaster's end equipment;
The efficiency of transmission of live video stream based on described each main broadcaster's end equipment, it is judged that whether described each main broadcaster's end equipment needs Adjust up code stream parameter.
As a kind of optional embodiment, described direct broadcast server, including:
Obtain module, for basis efficiency of transmission based on described each main broadcaster's end equipment from specifying up code stream parameter and biography The mapping relations of defeated efficiency obtain the appointment up code stream parameter of described each main broadcaster's end equipment.
As a kind of optional embodiment, described appointment up code stream parameter includes: specifies code check, specify frame per second, appointment One or more of resolution.
As a kind of optional embodiment, described up code stream parameter includes code check, frame per second, the one of resolution or many Kind.
The technical scheme provided in the embodiment of the present application, at least has the following technical effect that or advantage:
According to a kind of method controlling live video stream that the invention discloses of the present invention, direct broadcast server receives each main broadcaster Live video stream that end equipment is uploaded also therefrom extracts respective stream parameter;It is then based on respective stream parameter and judges described each master Broadcast end equipment the need of adjusting up code stream parameter;If described each main broadcaster's end equipment needs to adjust up code stream parameter, give Described each main broadcaster's end equipment sends corresponding control instruction, refers to according to the control of each reception controlling described each main broadcaster's end equipment The appointment up code stream parameter carried in order uploads described live video stream to described direct broadcast server.The present invention relates to is live Server can regulate and control each main broadcaster's end equipment based on stream dynamic state of parameters and be used for uploading the up code stream parameter of live video stream, improves each The efficiency of transmission of main broadcaster's end equipment, reduce or stop main broadcaster's server transmission live video stream during picture card occurs Stagnant situation, makes viewer end equipment be able to receive that the net cast stream that picture is smooth, and then raising spectators watches network direct broadcasting Enthusiasm.
Algorithm and display are not intrinsic to any certain computer, virtual system or miscellaneous equipment relevant provided herein. Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of system Structure be apparent from.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use various Programming language realizes the content of invention described herein, and the description done language-specific above is to disclose this Bright preferred forms.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case of not having these details.In some instances, it is not shown specifically known method, structure And technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that one or more in order to simplify that the disclosure helping understands in each inventive aspect, exist Above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.But, the method for the disclosure should not be construed to reflect an intention that i.e. required guarantor The application claims feature more more than the feature being expressly recited in each claim protected.More precisely, as following Claims reflected as, inventive aspect is all features less than single embodiment disclosed above.Therefore, The claims following detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each claim itself All as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment adaptively Change and they are arranged in one or more equipment different from this embodiment.Can be the module in embodiment or list Unit or assembly are combined into a module or unit or assembly, and can put them in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit excludes each other, can use any Combine all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed appoint Where method or all processes of equipment or unit are combined.Unless expressly stated otherwise, this specification (includes adjoint power Profit requires, summary and accompanying drawing) disclosed in each feature can be carried out generation by providing identical, equivalent or the alternative features of similar purpose Replace.
Although additionally, it will be appreciated by those of skill in the art that embodiments more in this include institute in other embodiments Including some feature rather than further feature, but the combination of the feature of different embodiment means to be in the scope of the present invention Within and form different embodiments.Such as, in the following claims, embodiment required for protection any it One can mode use in any combination.
The all parts embodiment of the present invention can realize with hardware, or to run on one or more processor Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that and can use in practice Microprocessor or digital signal processor (DSP) realize in gateway according to embodiments of the present invention, proxy server, system The some or all functions of some or all parts.The present invention is also implemented as performing side as described herein Part or all equipment of method or device program (such as, computer program and computer program).Such The program realizing the present invention can store on a computer-readable medium, or can have the shape of one or more signal Formula.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or with any other shape Formula provides.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not excludes the presence of not Arrange element in the claims or step.Word "a" or "an" before being positioned at element does not excludes the presence of multiple such Element.The present invention and can come real by means of including the hardware of some different elements by means of properly programmed computer Existing.If in the unit claim listing equipment for drying, several in these devices can be by same hardware branch Specifically embody.Word first, second and third use do not indicate that any order.These word explanations can be run after fame Claim.
The invention discloses, A1, a kind of method controlling live video stream, it is characterised in that described method includes:
Direct broadcast server receives the live video stream that each main broadcaster's end equipment is uploaded;
Described direct broadcast server extracts respective stream parameter from the live video stream of described each main broadcaster's end equipment;
Described direct broadcast server stream parameter based on described each main broadcaster's end equipment judges whether described each main broadcaster's end equipment needs Adjust up code stream parameter;
Described direct broadcast server judges when described each main broadcaster's end equipment needs to adjust up code stream parameter, to described each main broadcaster End equipment sends corresponding control instruction, with control to carry in the described each main broadcaster's end equipment control instruction according to each reception Up code stream parameter is specified to upload described live video stream to described direct broadcast server.
A2, method as described in A1, it is characterised in that described stream parameter includes delay parameter, a card parameter, frame losing ginseng Number, in frame rate stable parameter one or multinomial.
A3, method as described in A2, it is characterised in that described direct broadcast server stream based on described each main broadcaster's end equipment is joined Number judge described each main broadcaster's end equipment the need of adjustment up code stream parameter, including:
Described direct broadcast server delay parameter based on described each main broadcaster's end equipment, card parameter, frame losing parameter, frame per second are steady In qualitative parameter one or multinomial, it is thus achieved that the efficiency of transmission of the live video stream of described each main broadcaster's end equipment;
The efficiency of transmission of live video stream based on described each main broadcaster's end equipment, it is judged that whether described each main broadcaster's end equipment needs Adjust up code stream parameter.
A4, method as described in A3, it is characterised in that described direct broadcast server judges that described each main broadcaster's end equipment needs to adjust During whole up code stream parameter, before sending corresponding control instruction to described each main broadcaster's end equipment, including:
Described direct broadcast server according to efficiency of transmission based on described each main broadcaster's end equipment from specify up code stream parameter and The mapping relations of efficiency of transmission obtain the appointment up code stream parameter of described each main broadcaster's end equipment.
A5, method as described in A1 or A4, it is characterised in that described appointment up code stream parameter includes: specify code check, refer to Framing rate, given resolution one or more.
A6, method as described in A1, it is characterised in that described up code stream parameter include code check, frame per second, the one of resolution Plant or multiple.
B7, a kind of direct broadcast server, it is characterised in that including:
Receiver module, for receiving the live video stream that each main broadcaster's end equipment is uploaded;
Extraction module, for extracting respective stream parameter from the live video stream of described each main broadcaster's end equipment;
Judge module, for stream parameter based on described each main broadcaster's end equipment judge described each main broadcaster's end equipment the need of Adjust up code stream parameter;
For described direct broadcast server, sending module, judges that described each main broadcaster's end equipment needs to adjust up code stream parameter Time, send corresponding control instruction to described each main broadcaster's end equipment, to control described each main broadcaster's end equipment according to each reception The appointment up code stream parameter carried in control instruction uploads described live video stream to described direct broadcast server.
B8, direct broadcast server as described in B 7, it is characterised in that described stream parameter include delay parameter, a card parameter, In frame losing parameter, frame rate stable parameter one or multinomial.
B 9, direct broadcast server as described in B 8, it is characterised in that described judge module, be used for:
Described direct broadcast server delay parameter based on described each main broadcaster's end equipment, card parameter, frame losing parameter, frame per second are steady In qualitative parameter one or multinomial, it is thus achieved that the efficiency of transmission of the live video stream of described each main broadcaster's end equipment;
The efficiency of transmission of live video stream based on described each main broadcaster's end equipment, it is judged that whether described each main broadcaster's end equipment needs Adjust up code stream parameter.
B10, direct broadcast server as described in B9, it is characterised in that described direct broadcast server, including:
Obtain module, for basis efficiency of transmission based on described each main broadcaster's end equipment from specifying up code stream parameter and biography The mapping relations of defeated efficiency obtain the appointment up code stream parameter of described each main broadcaster's end equipment.
B11, direct broadcast server as described in B7 or B10, it is characterised in that described appointment up code stream parameter includes: refer to Constant bit rate, specify frame per second, given resolution one or more.
B12, direct broadcast server as described in B7, it is characterised in that described up code stream parameter include code check, frame per second, point One or more of resolution.

Claims (10)

1. the method controlling live video stream, it is characterised in that described method includes:
Direct broadcast server receives the live video stream that each main broadcaster's end equipment is uploaded;
Described direct broadcast server extracts respective stream parameter from the live video stream of described each main broadcaster's end equipment;
Described direct broadcast server stream parameter based on described each main broadcaster's end equipment judges that described each main broadcaster's end equipment is the need of tune Whole up code stream parameter;
Described direct broadcast server judges, when described each main broadcaster's end equipment needs to adjust up code stream parameter, to set to described each main broadcaster's end Preparation send the control instruction of correspondence, to control described each main broadcaster's end equipment according to the appointment carried in the control instruction each received Up code stream parameter uploads described live video stream to described direct broadcast server.
2. the method for claim 1, it is characterised in that described stream parameter includes delay parameter, card parameter, frame losing ginseng Number, in frame rate stable parameter one or multinomial.
3. method as claimed in claim 2, it is characterised in that described direct broadcast server stream based on described each main broadcaster's end equipment Parameter judge described each main broadcaster's end equipment the need of adjust up code stream parameter, including:
Described direct broadcast server delay parameter based on described each main broadcaster's end equipment, card parameter, frame losing parameter, frame rate stable In parameter one or multinomial, it is thus achieved that the efficiency of transmission of the live video stream of described each main broadcaster's end equipment;
The efficiency of transmission of live video stream based on described each main broadcaster's end equipment, it is judged that described each main broadcaster's end equipment is the need of tune Whole up code stream parameter.
4. method as claimed in claim 3, it is characterised in that described direct broadcast server judges described each main broadcaster's end equipment needs When adjusting up code stream parameter, before sending corresponding control instruction to described each main broadcaster's end equipment, including:
Described direct broadcast server according to efficiency of transmission based on described each main broadcaster's end equipment from specifying up code stream parameter and transmission The mapping relations of efficiency obtain the appointment up code stream parameter of described each main broadcaster's end equipment.
5. the method as described in claim 1 or 4, it is characterised in that described appointment up code stream parameter includes: appointment code check, Specify frame per second, given resolution one or more.
6. the method for claim 1, it is characterised in that described up code stream parameter includes code check, frame per second, resolution One or more.
7. a direct broadcast server, it is characterised in that including:
Receiver module, for receiving the live video stream that each main broadcaster's end equipment is uploaded;
Extraction module, for extracting respective stream parameter from the live video stream of described each main broadcaster's end equipment;
For stream parameter based on described each main broadcaster's end equipment, judge module, judges that described each main broadcaster's end equipment is the need of adjustment Up code stream parameter;
Sending module, when described direct broadcast server judges that described each main broadcaster's end equipment needs to adjust up code stream parameter, gives Described each main broadcaster's end equipment sends corresponding control instruction, refers to according to the control of each reception controlling described each main broadcaster's end equipment The appointment up code stream parameter carried in order uploads described live video stream to described direct broadcast server.
8. direct broadcast server as claimed in claim 7, it is characterised in that described stream parameter include delay parameter, a card parameter, In frame losing parameter, frame rate stable parameter one or multinomial.
9. direct broadcast server as claimed in claim 8, it is characterised in that described judge module, is used for:
Described direct broadcast server delay parameter based on described each main broadcaster's end equipment, card parameter, frame losing parameter, frame rate stable In parameter one or multinomial, it is thus achieved that the efficiency of transmission of the live video stream of described each main broadcaster's end equipment;
The efficiency of transmission of live video stream based on described each main broadcaster's end equipment, it is judged that described each main broadcaster's end equipment is the need of tune Whole up code stream parameter.
10. direct broadcast server as claimed in claim 9, it is characterised in that described direct broadcast server, including:
Obtain module, for basis efficiency of transmission based on described each main broadcaster's end equipment from specifying up code stream parameter and transmission effect The mapping relations of rate obtain the appointment up code stream parameter of described each main broadcaster's end equipment.
CN201610685031.4A 2016-08-18 2016-08-18 A kind of method controlling live video stream and direct broadcast server Pending CN106303559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610685031.4A CN106303559A (en) 2016-08-18 2016-08-18 A kind of method controlling live video stream and direct broadcast server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610685031.4A CN106303559A (en) 2016-08-18 2016-08-18 A kind of method controlling live video stream and direct broadcast server

Publications (1)

Publication Number Publication Date
CN106303559A true CN106303559A (en) 2017-01-04

Family

ID=57679721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610685031.4A Pending CN106303559A (en) 2016-08-18 2016-08-18 A kind of method controlling live video stream and direct broadcast server

Country Status (1)

Country Link
CN (1) CN106303559A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071508A (en) * 2017-03-30 2017-08-18 武汉斗鱼网络科技有限公司 It is a kind of in the live middle method and system for realizing double screen plug-flow
CN107205159A (en) * 2017-05-25 2017-09-26 武汉斗鱼网络科技有限公司 The method for bitrate adjustment and device of Streaming Media in a kind of network direct broadcasting
CN108024126A (en) * 2017-11-28 2018-05-11 北京潘达互娱科技有限公司 Network direct broadcasting video regulation method, device, electronic equipment and storage medium
CN108040253A (en) * 2017-12-26 2018-05-15 百度在线网络技术(北京)有限公司 Monitor method, apparatus, equipment and the storage medium of net cast performance
CN108574877A (en) * 2018-01-05 2018-09-25 北京金山云网络技术有限公司 Live broadcasting method, Zhu Boduan, viewer end, equipment, system and storage medium
CN111432248A (en) * 2020-03-30 2020-07-17 北京百度网讯科技有限公司 Quality monitoring method and device for live video stream
CN111491201A (en) * 2020-04-08 2020-08-04 深圳市昊一源科技有限公司 Method for adjusting video code stream and video frame loss processing method
CN111586431A (en) * 2020-06-05 2020-08-25 广州酷狗计算机科技有限公司 Method, device and equipment for live broadcast processing and storage medium
CN113014947A (en) * 2021-03-05 2021-06-22 北京猿力未来科技有限公司 Data pushing method, auxiliary terminal, main terminal and data pushing system
CN113572952A (en) * 2021-05-19 2021-10-29 海南师范大学 Match-making video processing method of online match system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845596A (en) * 2005-04-06 2006-10-11 上海迪比特实业有限公司 Video transmission system and its method for self-adaptive adjusting video image
CN103607661A (en) * 2013-11-29 2014-02-26 广州华多网络科技有限公司 Method and device for transmitting multimedia data
CN103763216A (en) * 2014-01-24 2014-04-30 深圳市华宝电子科技有限公司 System and method for adjusting data transmission
CN104410918A (en) * 2014-12-09 2015-03-11 广州华多网络科技有限公司 Method and device for adjusting parameters of live video
CN104639978A (en) * 2015-02-13 2015-05-20 上海小蚁科技有限公司 Multimedia processing method and device
CN105072506A (en) * 2015-08-20 2015-11-18 湖南亿谷科技发展股份有限公司 Method and system for transmitting teaching live video

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845596A (en) * 2005-04-06 2006-10-11 上海迪比特实业有限公司 Video transmission system and its method for self-adaptive adjusting video image
CN103607661A (en) * 2013-11-29 2014-02-26 广州华多网络科技有限公司 Method and device for transmitting multimedia data
CN103763216A (en) * 2014-01-24 2014-04-30 深圳市华宝电子科技有限公司 System and method for adjusting data transmission
CN104410918A (en) * 2014-12-09 2015-03-11 广州华多网络科技有限公司 Method and device for adjusting parameters of live video
CN104639978A (en) * 2015-02-13 2015-05-20 上海小蚁科技有限公司 Multimedia processing method and device
CN105072506A (en) * 2015-08-20 2015-11-18 湖南亿谷科技发展股份有限公司 Method and system for transmitting teaching live video

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071508B (en) * 2017-03-30 2019-11-12 武汉斗鱼网络科技有限公司 A kind of method and system for realizing double screen plug-flow in live streaming
CN107071508A (en) * 2017-03-30 2017-08-18 武汉斗鱼网络科技有限公司 It is a kind of in the live middle method and system for realizing double screen plug-flow
CN107205159B (en) * 2017-05-25 2020-08-04 武汉斗鱼网络科技有限公司 Method, device and storage medium for adjusting bit rate of streaming media in network live broadcast
CN107205159A (en) * 2017-05-25 2017-09-26 武汉斗鱼网络科技有限公司 The method for bitrate adjustment and device of Streaming Media in a kind of network direct broadcasting
CN108024126A (en) * 2017-11-28 2018-05-11 北京潘达互娱科技有限公司 Network direct broadcasting video regulation method, device, electronic equipment and storage medium
CN108040253A (en) * 2017-12-26 2018-05-15 百度在线网络技术(北京)有限公司 Monitor method, apparatus, equipment and the storage medium of net cast performance
CN108574877A (en) * 2018-01-05 2018-09-25 北京金山云网络技术有限公司 Live broadcasting method, Zhu Boduan, viewer end, equipment, system and storage medium
CN108574877B (en) * 2018-01-05 2021-01-29 北京金山云网络技术有限公司 Live broadcast method, anchor terminal, audience terminal, equipment, system and storage medium
CN111432248A (en) * 2020-03-30 2020-07-17 北京百度网讯科技有限公司 Quality monitoring method and device for live video stream
CN111491201A (en) * 2020-04-08 2020-08-04 深圳市昊一源科技有限公司 Method for adjusting video code stream and video frame loss processing method
CN111586431A (en) * 2020-06-05 2020-08-25 广州酷狗计算机科技有限公司 Method, device and equipment for live broadcast processing and storage medium
CN111586431B (en) * 2020-06-05 2022-03-15 广州酷狗计算机科技有限公司 Method, device and equipment for live broadcast processing and storage medium
CN113014947A (en) * 2021-03-05 2021-06-22 北京猿力未来科技有限公司 Data pushing method, auxiliary terminal, main terminal and data pushing system
CN113014947B (en) * 2021-03-05 2023-05-09 北京猿力未来科技有限公司 Data pushing method, auxiliary terminal, main terminal and data pushing system
CN113572952A (en) * 2021-05-19 2021-10-29 海南师范大学 Match-making video processing method of online match system

Similar Documents

Publication Publication Date Title
CN106303559A (en) A kind of method controlling live video stream and direct broadcast server
CN103248939B (en) A kind of method and system realized multi-screen synchronous and shown
US9071628B2 (en) Method and apparatus for managing bandwidth by managing selected internet access by devices in a Wi-Fi linked audience
CN106303586A (en) A kind of method of network direct broadcasting, main broadcaster's end equipment, viewer end equipment
CN106412621A (en) Video display method and device of network studio, control method and related equipment
CN106331754A (en) Method of via-microphone live broadcast in live Internet broadcast, and anchor-side device
US9521366B2 (en) Method and apparatus for playing conference signal, video conference terminal, and mobile device
CN106303565B (en) The image quality optimization method and apparatus of net cast
EP2676432B1 (en) Remote controlled studio camera system
CN104067628A (en) Methods and systems for video delivery supporting adaption to viewing conditions
CN104284098A (en) Method and system for processing video data
CN105959620A (en) Panorama video synchronization display method and panorama video synchronization display device
CN106776826A (en) A kind of update method, the apparatus and system of wrist-watch background picture
CN108881955A (en) A kind of method and system for realizing the output of distributed node equipment audio video synchronization
CN105072506A (en) Method and system for transmitting teaching live video
EP3325116A1 (en) Method and telecommunications network for streaming and for reproducing applications
CN103647727B (en) Audio and video transmission control method and audio and video transmission control device
CN106209824A (en) The cloud edit methods of data, system and the client of cloud editor
CN109151321A (en) A kind of remote parameter configuration method, server, video camera and system
CN110048874B (en) Method and device for verifying video networking terminal
CN110166733B (en) Pre-monitoring method and device, output box, server and splicing system
Qiang [Retracted] Consumption Reduction Solution of TV News Broadcast System Based on Wireless Communication Network
CN113259730B (en) Code rate adjustment method and device for live broadcast
CN111385590A (en) Live broadcast data processing method and device and terminal
CN102867003A (en) Method and system for page presentation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170104