CN109068157A - Method of adjustment, device and the server of plug-flow parameter in a kind of live streaming - Google Patents
Method of adjustment, device and the server of plug-flow parameter in a kind of live streaming Download PDFInfo
- Publication number
- CN109068157A CN109068157A CN201810954077.0A CN201810954077A CN109068157A CN 109068157 A CN109068157 A CN 109068157A CN 201810954077 A CN201810954077 A CN 201810954077A CN 109068157 A CN109068157 A CN 109068157A
- Authority
- CN
- China
- Prior art keywords
- plug
- flow
- current
- parameter
- screenshot
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2408—Monitoring of the upstream path of the transmission network, e.g. client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/23805—Controlling the feeding rate to the network, e.g. by controlling the video pump
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/266—Channel 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/2662—Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
Abstract
The embodiment of the invention provides method of adjustment, device and the server of plug-flow parameter in a kind of live streaming, the method is applied to server, comprising: the screenshot at acquisition main broadcaster end live streaming interface and current plug-flow parameter;According to the screenshot, the current plug-flow parameter and default adjustment rule, target plug-flow parameter is determined;The current plug-flow parameter is adjusted to the target plug-flow parameter.Due to manually adjusting current plug-flow parameter without main broadcaster, but the adjustment of plug-flow parameter is carried out according to the screenshot at the live streaming interface at main broadcaster end, current plug-flow parameter and default adjustment rule, so can be manually adjusted to avoid main broadcaster plug-flow parameter occur mistake caused by cannot smooth plug-flow the problems such as, guarantee smooth plug-flow, user experience is also very good.
Description
Technical field
The present invention relates to net cast technical fields, more particularly to the method for adjustment of plug-flow parameter, dress in a kind of live streaming
It sets and server.
Background technique
Currently, accounting of the net cast in network service is higher and higher, often used in people's lives and study
Interesting episode, the intelligence and art for showing oneself etc. in oneself life, net cast can be broadcast live in net cast platform in net cast, people
Enjoyment and knowledge are brought to people's lives.
When main broadcaster is broadcast live, due to factors such as networks it is possible that video flowing Caton, it is unintelligible the problems such as, at this time
Then need to carry out the adjustment of plug-flow parameter.Wherein, plug-flow parameter generally comprises code rate, frame per second, resolution ratio and stream pushing server etc.,
Namely code rate, frame per second, resolution ratio and the stream pushing server etc. of main broadcaster end pushing video stream.
In existing plug-flow parameter adjustment mode, usually main broadcaster manually adjusts plug-flow ginseng in parameter adjustment interface
Number, but since main broadcaster does not often know the meaning and effect of plug-flow parameter, it is easy to there is asking for plug-flow parameter adjustment mistake
Topic, leads to plug-flow Caton and can not be successfully carry out plug-flow.
Summary of the invention
Method of adjustment, device and the server for being designed to provide plug-flow parameter in a kind of live streaming of the embodiment of the present invention,
With avoided during live streaming main broadcaster manually adjust plug-flow parameter there is plug-flow Caton etc. caused by mistake cannot smooth plug-flow
Problem guarantees smooth plug-flow.Specific technical solution is as follows:
In a first aspect, it is applied to server the embodiment of the invention provides a kind of method of adjustment of plug-flow parameter in live streaming,
The described method includes:
The screenshot at acquisition main broadcaster end live streaming interface and current plug-flow parameter;
According to the screenshot, the current plug-flow parameter and default adjustment rule, target plug-flow parameter is determined;
The current plug-flow parameter is adjusted to the target plug-flow parameter.
Optionally, before the screenshot at the acquisition main broadcaster end live streaming interface and the step of current plug-flow parameter, the side
Method further include:
After receiving the intelligent diagnostics instruction of main broadcaster end transmission, sends screenshot and request to the main broadcaster end;
After allowing instruction receive that the main broadcaster end sends, execute the screenshot for obtaining main broadcaster end live streaming interface and
The step of current plug-flow parameter.
Optionally, it is described according to the screenshot, the current plug-flow parameter and default adjustment rule, determine that target plug-flow is joined
Several steps, comprising:
Detect the speed uplink of the network at the main broadcaster end;
According to the screenshot, the current plug-flow parameter and the speed uplink, target plug-flow parameter is determined.
Optionally, the current plug-flow parameter is current plug-flow code rate;
It is described according to the screenshot, the current plug-flow parameter and default adjustment rule, determine the step of target plug-flow parameter
Suddenly, comprising:
When the speed uplink is greater than preset threshold, according to the screenshot, the current plug-flow code rate and the uplink
Speed determines that target plug-flow code rate is the first plug-flow code rate, wherein the first plug-flow code rate is greater than the current plug-flow code
Rate;
When the speed uplink be not more than preset threshold when, according to the screenshot, the current plug-flow code rate and it is described on
Scanning frequency degree determines that target plug-flow code rate is the second plug-flow code rate, wherein the second plug-flow code rate is less than the current plug-flow code
Rate.
Optionally, the current plug-flow parameter is current plug-flow frame per second;
It is described according to the screenshot, the current plug-flow parameter and default adjustment rule, determine the step of target plug-flow parameter
Suddenly, comprising:
When the speed uplink is greater than preset threshold, according to the screenshot, the current plug-flow frame per second and the uplink
Speed determines that target plug-flow frame per second is the first plug-flow frame per second, wherein the first plug-flow frame per second is greater than the current plug-flow frame
Rate;
When the speed uplink be not more than preset threshold when, according to the screenshot, the current plug-flow frame per second and it is described on
Scanning frequency degree determines that target plug-flow frame per second is the second plug-flow frame per second, wherein the second plug-flow frame per second is less than the current plug-flow frame
Rate.
Optionally, the current plug-flow parameter is current plug-flow resolution ratio;
It is described according to the screenshot, the current plug-flow parameter and default adjustment rule, determine the step of target plug-flow parameter
Suddenly, comprising:
When the speed uplink be greater than preset threshold when, according to the screenshot, the current plug-flow resolution ratio and it is described on
Scanning frequency degree determines that target plug-flow resolution ratio is the first plug-flow resolution ratio, wherein the first plug-flow resolution ratio is greater than described current
Plug-flow resolution ratio;
When the speed uplink is not more than preset threshold, according to the screenshot, the current plug-flow resolution ratio and described
Speed uplink determines that target plug-flow frame per second is the second plug-flow resolution ratio, wherein the second plug-flow resolution ratio is less than described current
Plug-flow resolution ratio.
Optionally, the current plug-flow parameter is current stream pushing server mark;
It is described according to the screenshot, the current plug-flow parameter and default adjustment rule, determine the step of target plug-flow parameter
Suddenly, comprising:
According to the screenshot, the current stream pushing server mark and default adjustment rule, determine that target plug-flow parameter is
Target stream pushing server mark, wherein the target stream pushing server mark is different from the current stream pushing server mark;
The step of adjustment current plug-flow parameter to target plug-flow parameter, comprising:
Switching the corresponding stream pushing server in the main broadcaster end is that the target stream pushing server identifies corresponding plug-flow service
Device.
Second aspect, the embodiment of the invention provides a kind of adjustment devices of plug-flow parameter in live streaming, are applied to server,
Described device includes:
Screenshot obtain module, for obtain main broadcaster end live streaming interface screenshot and current plug-flow parameter;
Parameter determination module, for determining target according to the screenshot, the current plug-flow parameter and default adjustment rule
Plug-flow parameter;
Parameter adjustment module, for adjusting the current plug-flow parameter to the target plug-flow parameter.
Optionally, described device further include:
Request sending module, for it is described acquisition main broadcaster end live streaming interface screenshot and current plug-flow parameter before,
After the intelligent diagnostics instruction for receiving the transmission of main broadcaster end, sends screenshot and request to the main broadcaster end;
Trigger module triggers the screenshot and obtains module after allowing instruction receive that the main broadcaster end sends.
Optionally, the parameter determination module includes:
Speed detection unit, the speed uplink of the network for detecting the main broadcaster end;
Parameter determination unit, for determining target according to the screenshot, the current plug-flow parameter and the speed uplink
Plug-flow parameter.
Optionally, the current plug-flow parameter is current plug-flow code rate;
The parameter determination unit includes:
First code rate determines subelement, for when the speed uplink is greater than preset threshold, according to the screenshot, described
Current plug-flow code rate and the speed uplink determine that target plug-flow code rate is the first plug-flow code rate, wherein the first plug-flow code
Rate is greater than the current plug-flow code rate;
Second code rate determines subelement, is used for when the speed uplink is not more than preset threshold, according to the screenshot, institute
Current plug-flow code rate and the speed uplink are stated, determines that target plug-flow code rate is the second plug-flow code rate, wherein second plug-flow
Code rate is less than the current plug-flow code rate.
Optionally, the current plug-flow parameter is current plug-flow frame per second;
The parameter determination unit includes:
First frame per second determines subelement, for when the speed uplink is greater than preset threshold, according to the screenshot, described
Current plug-flow frame per second and the speed uplink determine that target plug-flow frame per second is the first plug-flow frame per second, wherein the first plug-flow frame
Rate is greater than the current plug-flow frame per second;
Second frame per second determines subelement, is used for when the speed uplink is not more than preset threshold, according to the screenshot, institute
Current plug-flow frame per second and the speed uplink are stated, determines that target plug-flow frame per second is the second plug-flow frame per second, wherein second plug-flow
Frame per second is less than the current plug-flow frame per second.
Optionally, the current plug-flow parameter is current plug-flow resolution ratio;
The parameter determination unit includes:
First resolution determines subelement, is used for when the speed uplink is greater than preset threshold, according to the screenshot, institute
Current plug-flow resolution ratio and the speed uplink are stated, determines that target plug-flow resolution ratio is the first plug-flow resolution ratio, wherein described the
One plug-flow resolution ratio is greater than the current plug-flow resolution ratio;
Second resolution determines subelement, for when the speed uplink be not more than preset threshold when, according to the screenshot,
The current plug-flow resolution ratio and the speed uplink determine that target plug-flow frame per second is the second plug-flow resolution ratio, wherein described the
Two plug-flow resolution ratio are less than the current plug-flow resolution ratio.
Optionally, the current plug-flow parameter is current stream pushing server mark;
The parameter determination module includes:
Server identification determination unit, for identifying and presetting adjustment according to the screenshot, the current stream pushing server
Rule determines target plug-flow parameter for target stream pushing server mark, wherein the target stream pushing server mark is worked as with described
Preceding stream pushing server mark is different;
The parameter adjustment module includes:
Server switch unit is the target stream pushing server for switching the corresponding stream pushing server in the main broadcaster end
Identify corresponding stream pushing server.
The third aspect, the embodiment of the invention provides a kind of server, including processor, communication interface, memory and logical
Believe bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes plug-flow ginseng in any of the above-described live streaming
Several method of adjustment steps.
The third aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage
Dielectric memory contains computer program, and the computer program is realized when being executed by processor to be pushed away in any of the above-described live streaming
Flow the method for adjustment step of parameter.
In scheme provided by the embodiment of the present invention, server obtains the screenshot and current plug-flow ginseng at main broadcaster end live streaming interface
Number determines target plug-flow parameter, in turn, adjusts main broadcaster end then according to the screenshot, current plug-flow parameter and default adjustment rule
Current plug-flow parameter to target plug-flow parameter.Due to manually adjusting current plug-flow parameter without main broadcaster, but according to main broadcaster end
The live streaming screenshot at interface, current plug-flow parameter and default adjustment rule carry out the adjustment of plug-flow parameter, it is possible to avoid leading
Broadcast manually adjust plug-flow parameter occur mistake caused by cannot smooth plug-flow the problems such as, guarantee smooth plug-flow, user's body
It tests also very good.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the flow chart of the method for adjustment of plug-flow parameter in a kind of live streaming provided by the embodiment of the present invention;
Fig. 2 is a kind of flow chart of the acquisition modes instructed allowing based on embodiment illustrated in fig. 1;
Fig. 3 is the structural schematic diagram of the adjustment device of plug-flow parameter in a kind of live streaming provided by the embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of server provided by the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It cannot in order to avoid main broadcaster to manually adjust plug-flow Caton caused by plug-flow parameter appearance mistake etc. during live streaming
The problem of smooth plug-flow, guarantees smooth plug-flow, and the embodiment of the invention provides a kind of adjustment sides of plug-flow parameter in live streaming
Method, device, server and computer readable storage medium.
The method of adjustment for being provided for the embodiments of the invention plug-flow parameter in a kind of live streaming first below is introduced.
The method of adjustment of plug-flow parameter can be applied to live streaming using journey in a kind of live streaming provided by the embodiment of the present invention
The corresponding server of sequence can be communicated to connect with the main broadcaster end for being equipped with live streaming application program.
As shown in Figure 1, in a kind of live streaming plug-flow parameter method of adjustment, be applied to server, which comprises
S101, the screenshot at acquisition main broadcaster end live streaming interface and current plug-flow parameter;
S102 determines target plug-flow parameter according to the screenshot, the current plug-flow parameter and default adjustment rule;
S103 adjusts the current plug-flow parameter to the target plug-flow parameter.
As it can be seen that in scheme provided by the embodiment of the present invention, server obtains the screenshot at main broadcaster end live streaming interface and current
Plug-flow parameter determines target plug-flow parameter then according to the screenshot, current plug-flow parameter and default adjustment rule, in turn, adjustment
The current plug-flow parameter at main broadcaster end is to target plug-flow parameter.Due to manually adjusting current plug-flow parameter without main broadcaster, but according to
Screenshot, current plug-flow parameter and the default adjustment rule at the live streaming interface at main broadcaster end carry out the adjustment of plug-flow parameter, it is possible to
Avoid main broadcaster manually adjust plug-flow parameter occur mistake caused by cannot smooth plug-flow the problems such as, guarantee smooth plug-flow,
User experience is also very good.
Due to from the screenshot at main broadcaster end live streaming interface can determine whether live streaming picture clear, whether it is smooth the problems such as, institute
With in order to suitably adjust plug-flow parameter, in above-mentioned steps S101, interface is broadcast live in server main broadcaster end available first
Screenshot.Due to determine plug-flow parameter adjusted, i.e. target plug-flow parameter, then need to know current plug-flow parameter, so clothes
Business device can also obtain the current plug-flow parameter at main broadcaster end.
The mode embodiment of the present invention for obtaining above-mentioned screenshot for server is not specifically limited herein, as long as server can
To obtain the screenshot of main broadcaster end live streaming picture.For example, main broadcaster end can be notified to carry out shot operation, Zhu Boduan for server
Can live streaming interface in display reminding information, with prompt main broadcaster carry out screenshot.In turn, main broadcaster carries out screenshot to main broadcaster's picture
Afterwards, which can be sent to server by main broadcaster end, and server can also obtain the screenshot.
Since plug-flow parameter of the server for main broadcaster end is usually to have record, so server can be according to main broadcaster end
User identifier etc. determine its current plug-flow parameter.Certainly, in another embodiment, server can also send acquisition and refer to
It enables to live streaming end, live streaming termination receives the acquisition instruction, can feed back current plug-flow parameter to server.
Next, server can be according to above-mentioned screenshot, current plug-flow parameter and default tune in above-mentioned steps S102
Whole rule determines target plug-flow parameter.Wherein, current plug-flow parameter may include the current plug-flow code rate at main broadcaster end, frame per second, divide
One or more of resolution and stream pushing server mark.The clear of the screenshot at interface can be then broadcast live in server according to main broadcaster end
Degree etc. and current plug-flow parameter, default adjustment rule determine target plug-flow parameter.
For example, the clarity of the screenshot at main broadcaster end live streaming interface is poor, then illustrating that working as in current plug-flow parameter is pushed forward
Flow point resolution can be set it is too low, then server can then determine target plug-flow high resolution in current plug-flow resolution ratio.
It is video card in another example the problem of the clarity of the screenshot at main broadcaster end live streaming interface is higher, but main broadcaster end is fed back
, then the current plug-flow demal rate for illustrating in current plug-flow parameter can be set it is excessively high, then server can then determine mesh
It marks plug-flow code rate and is lower than current plug-flow code rate.
In order to which scheme understands and reads smoothly, it is subsequent will be to server according to above-mentioned screenshot, current plug-flow parameter and pre-
If adjustment rule, determines that the mode of target plug-flow parameter further illustrate and introduce.
After determining target plug-flow parameter through the above way, server can adjust the current plug-flow parameter at main broadcaster end extremely
Target plug-flow parameter, so that the plug-flow at main broadcaster end can be gone on smoothly.
In order to further increase user experience, as a kind of embodiment of the embodiment of the present invention, as shown in Fig. 2, upper
Before the step of stating the screenshot for obtaining main broadcaster end live streaming interface and current plug-flow parameter, the above method can also include:
S201 sends screenshot and requests to the main broadcaster end after receiving the intelligent diagnostics instruction of main broadcaster end transmission;
It, can be with for example, when there is the problems such as Caton, picture is unintelligible when main broadcaster has found that live video stream push is unsmooth
Intelligent diagnostics instruction is sent to server by main broadcaster end, after server receives intelligent diagnostics instruction, illustrates that main broadcaster end needs
Plug-flow parameter adjustment is carried out, server needs to obtain the screenshot at main broadcaster end live streaming interface, cuts so server can be sent
Figure is requested to main broadcaster end.
Intelligent diagnostics instruction is sent to server by main broadcaster end in order to facilitate main broadcaster, being broadcast live in the live streaming interface at end can be with
A user interface is provided, for example, can be the modes such as button, icon, prompt floating layer.In this way, main broadcaster can pass through the side such as click
Formula triggers the user interface, and then sends intelligent diagnostics and instruct to server.
S202 after allowing instruction receive that the main broadcaster end sends, executes the main broadcaster end live streaming interface that obtains
The step of screenshot and current plug-flow parameter.
It in one embodiment, can be in live streaming interface after the screenshot that main broadcaster's termination receives server transmission is requested
Show an inquiry message, for example, display " allowing screenshot? " inquiry message.It is selected in order to facilitate main broadcaster, it can be with
" permission " and " not allowing " two buttons are shown in live streaming interface, so that main broadcaster can determine whether by clicking the button
Granted service device carries out shot operation.
When main broadcaster clicks " permission " button, main broadcaster end obtains user instruction, and transmission allows to instruct to server, then
Server, which can receive this, to be allowed to instruct, and in turn, executes the screenshot and current plug-flow at above-mentioned acquisition main broadcaster end live streaming interface
The step of parameter.
It in another embodiment, can be at live streaming interface after the screenshot that main broadcaster's termination receives server transmission is requested
One prompt information of middle display, for example, display " allowing screenshot? " inquiry message.When main broadcaster allows, main broadcaster end, which obtains, to be used
Family instruction, and sending allows instruction to server, then server, which can receive this, to be allowed to instruct, in turn, server can
To send prompt information to main broadcaster end, for example, the prompt information of " asking screenshot ".
In this way, main broadcaster's termination can be shown in live streaming interface when receiving the prompt information, main broadcaster can be cut
Graphic operation, and then screenshot is sent to server by main broadcaster end, server also just obtains the screenshot at main broadcaster end live streaming interface.
As it can be seen that in the present embodiment, server sends screenshot and asks after receiving the intelligent diagnostics instruction of main broadcaster end transmission
Ask to main broadcaster end, receive main broadcaster end transmission allow instruction after, then execute obtain main broadcaster end live streaming interface screenshot and work as
The step of preceding plug-flow parameter.Main broadcaster end can be guaranteed to obtain in this way in the case where main broadcaster allows, the screenshot at interface and current is broadcast live
Plug-flow parameter, user experience are more preferable.
Since the problems such as whether live video stream push is smooth is in close relations with Network status, so implementing as the present invention
A kind of embodiment of example, it is above-mentioned according to the screenshot, the current plug-flow parameter and default adjustment rule, determine target plug-flow
The step of parameter may include:
Detect the speed uplink of the network at the main broadcaster end;According to the screenshot, the current plug-flow parameter and it is described on
Scanning frequency degree determines target plug-flow parameter.
In order to determine the current network conditions at main broadcaster end, server can be examined the speed uplink of the network at main broadcaster end
It surveys.Since the data feedback channel of the network at main broadcaster end is used for the plug-flow at main broadcaster end, speed determines the speed of main broadcaster end plug-flow, institute
It can detecte the speed uplink of the network at main broadcaster end, with server preferably to determine suitable target plug-flow parameter.
Detect main broadcaster end network speed uplink after, server can according to main broadcaster end live streaming interface screenshot,
The speed uplink that current plug-flow parameter and detection obtain, determines target plug-flow parameter.
In the first embodiment, above-mentioned current plug-flow parameter can be current plug-flow code rate.In this case, on
The step of stating according to the screenshot, the current plug-flow parameter and default adjustment rule, determining target plug-flow parameter, can wrap
It includes:
When the speed uplink is greater than preset threshold, according to the screenshot, the current plug-flow code rate and the uplink
Speed determines that target plug-flow code rate is the first plug-flow code rate;When the speed uplink is not more than preset threshold, according to described section
Figure, the current plug-flow code rate and the speed uplink determine that target plug-flow code rate is the second plug-flow code rate.
Above-mentioned preset threshold can for plug-flow parameter setting it is more appropriate when can smooth plug-flow when corresponding net
The speed uplink of network.So when the speed uplink at the network at main broadcaster end is greater than the preset threshold, illustrate that Network status is good at this time
It is good, then the problem of live streaming picture found out from the screenshot at the live streaming interface at main broadcaster end unintelligible grade video flowings Caton, just very may be used
It can be because the setting of current plug-flow code rate is too low caused, server can determine that target plug-flow code rate pushes away for first at this time
Stream bit rate, wherein the first plug-flow code rate is greater than current plug-flow code rate.
In this way, server can adjust the current plug-flow code rate at main broadcaster end to the first plug-flow code rate, that is, main broadcaster end is turned up
Current plug-flow code rate.
When the speed uplink at the network at main broadcaster end is not more than the preset threshold, illustrate that Network status is not fine at this time,
The problem of video flowings Catons such as the live streaming picture so found out from the screenshot at the live streaming interface at main broadcaster end is unintelligible, is just likely to
It is because the setting of current plug-flow code rate is excessively high caused, server can determine that target plug-flow code rate is the second plug-flow at this time
Code rate, wherein the second plug-flow code rate is less than current plug-flow code rate.
In this way, server can adjust the current plug-flow code rate at main broadcaster end to the second plug-flow code rate, that is, turn down main broadcaster end
Current plug-flow code rate.
In the second embodiment, above-mentioned current plug-flow parameter can be current plug-flow frame per second.In this case, on
The step of stating according to the screenshot, the current plug-flow parameter and default adjustment rule, determining target plug-flow parameter, can wrap
It includes:
When the speed uplink is greater than preset threshold, according to the screenshot, the current plug-flow frame per second and the uplink
Speed determines that target plug-flow frame per second is the first plug-flow frame per second;When the speed uplink is not more than preset threshold, according to described section
Figure, the current plug-flow frame per second and the speed uplink determine that target plug-flow frame per second is the second plug-flow frame per second.
The preset threshold equally can for plug-flow parameter setting it is more appropriate when can smooth plug-flow when it is corresponding
The speed uplink of network.So when the speed uplink at the network at main broadcaster end is greater than the preset threshold, illustrate Network status at this time
Well, then the problem of the live streaming picture found out from the screenshot at the live streaming interface at main broadcaster end unintelligible equal video flowings Caton just very
It may be because the setting of current plug-flow frame per second is too low caused, server can determine that target plug-flow frame per second is first at this time
Plug-flow frame per second, wherein the first plug-flow frame per second is greater than current plug-flow frame per second.
In this way, server can adjust the current plug-flow frame per second at main broadcaster end to the first plug-flow frame per second, that is, main broadcaster end is turned up
Current plug-flow frame per second.
When the speed uplink at the network at main broadcaster end is not more than the preset threshold, illustrate that Network status is not fine at this time,
The problem of video flowings Catons such as the live streaming picture so found out from the screenshot at the live streaming interface at main broadcaster end is unintelligible, is just likely to
It is because the setting of current plug-flow frame per second is excessively high caused, server can determine that target plug-flow frame per second is the second plug-flow at this time
Frame per second, wherein the second plug-flow frame per second is less than current plug-flow frame per second.
In this way, server can adjust the current plug-flow frame per second at main broadcaster end to the second plug-flow frame per second, that is, turn down main broadcaster end
Current plug-flow frame per second.
In the third embodiment, above-mentioned current plug-flow parameter can be current plug-flow resolution ratio.In this case,
It is above-mentioned according to the screenshot, the current plug-flow parameter and default adjustment rule, the step of determining target plug-flow parameter, can wrap
It includes:
When the speed uplink be greater than preset threshold when, according to the screenshot, the current plug-flow resolution ratio and it is described on
Scanning frequency degree determines that target plug-flow resolution ratio is the first plug-flow resolution ratio;When the speed uplink is not more than preset threshold, according to
The screenshot, the current plug-flow resolution ratio and the speed uplink determine that target plug-flow frame per second is the second plug-flow resolution ratio.
The preset threshold equally can for plug-flow parameter setting it is more appropriate when can smooth plug-flow when it is corresponding
The speed uplink of network.So when the speed uplink at the network at main broadcaster end is greater than the preset threshold, illustrate Network status at this time
Well, then the problem of the live streaming picture found out from the screenshot at the live streaming interface at main broadcaster end unintelligible equal video flowings Caton just very
It may be because the setting of current plug-flow resolution ratio is too low caused, server can determine that target plug-flow resolution ratio is at this time
First plug-flow resolution ratio, wherein the first plug-flow resolution ratio is greater than current plug-flow resolution ratio.
In this way, server can adjust the current plug-flow resolution ratio at main broadcaster end to the first plug-flow resolution ratio, that is, master is turned up
Broadcast the current plug-flow resolution ratio at end.
When the speed uplink at the network at main broadcaster end is not more than the preset threshold, illustrate that Network status is not fine at this time,
The problem of video flowings Catons such as the live streaming picture so found out from the screenshot at the live streaming interface at main broadcaster end is unintelligible, is just likely to
It is because the setting of current plug-flow resolution ratio is excessively high caused, server can determine that target plug-flow resolution ratio is second at this time
Plug-flow resolution ratio, wherein the second plug-flow resolution ratio is less than current plug-flow resolution ratio.
In this way, server can adjust the current plug-flow resolution ratio at main broadcaster end to the second plug-flow resolution ratio, that is, turn down master
Broadcast the current plug-flow resolution ratio at end.
It should be noted that above-mentioned current plug-flow parameter may include above-mentioned current plug-flow code rate, current plug-flow frame per second, when
One or more of three kinds of flow point resolution are pushed forward, above-mentioned three kinds of embodiments also may be performed simultaneously one of which or several,
Server can be according to the principle that the concrete condition of the current plug-flow parameter at main broadcaster end be adjusted according to above-mentioned three kinds of embodiments
The current plug-flow parameter at main broadcaster end.
As it can be seen that in the present embodiment, server can join according to the speed uplink of the network at main broadcaster end and current plug-flow
The design parameter etc. that number includes, to be suitably turned up or turn down the current plug-flow parameter at main broadcaster end, to guarantee the live streaming at main broadcaster end
Video flowing can smooth plug-flow.
For the case where above-mentioned current plug-flow parameter can identify for current stream pushing server, implement as the present invention
A kind of embodiment of example, it is above-mentioned according to the screenshot, the current plug-flow parameter and default adjustment rule, determine target plug-flow
The step of parameter may include:
According to the screenshot, the current stream pushing server mark and default adjustment rule, determine that target plug-flow parameter is
Target stream pushing server mark.
When the current plug-flow parameter at main broadcaster end can be for current stream pushing server mark, from the live streaming interface at main broadcaster end
What the problem of video flowings Catons such as the live streaming picture found out in screenshot is unintelligible was just likely due to that main broadcaster end currently connects pushes away
Caused by streaming server goes wrong, so server can be identified by target stream pushing server of target plug-flow parameter at this time,
Wherein, target stream pushing server mark is different from current stream pushing server mark, that is, determines a new stream pushing server,
The stream pushing server is not the stream pushing server that main broadcaster end currently connects.
Wherein, stream pushing server be main broadcaster end connected for by the pushing video streaming at main broadcaster end to live streaming using journey
The forwarding server of sequence server, with the clothes for executing the method for adjustment of plug-flow parameter in live streaming provided by the embodiment of the present invention
Business device is not the same server.
Specifically, server can be according to the degree of main broadcaster geographic location, Network status and video flowing Caton
Etc. factors, determine a new stream pushing server, which can be live streaming that is relatively close apart from main broadcaster, being connected
The few stream pushing server of quantity at other main broadcaster ends can in this manner it is ensured that after main broadcaster end is connect with the stream pushing server
To go on smoothly plug-flow.
Correspondingly, the step of above-mentioned adjustment current plug-flow parameter to target plug-flow parameter, may include:
Switching the corresponding stream pushing server in the main broadcaster end is that the target stream pushing server identifies corresponding plug-flow service
Device.
After determining new stream pushing server, that is, above-mentioned target stream pushing server identifies corresponding stream pushing server, clothes
It is the stream pushing server that business device, which can then switch the corresponding stream pushing server in main broadcaster end,.In this way, main broadcaster end can be allow smooth
Carry out plug-flow.
For example, the current stream pushing server of main broadcaster end connection is identified as F1, the target stream pushing server mark that server determines
Knowing is F17, then it be server identification is to push away corresponding to F17 that server, which can switch the corresponding stream pushing server in main broadcaster end,
Streaming server.
It is current stream pushing server mark in current plug-flow parameter as it can be seen that in the present embodiment, server can be according to cutting
Figure, current stream pushing server mark and default adjustment rule determine that target plug-flow parameter is that target stream pushing server identifies, into
And switching the corresponding stream pushing server in main broadcaster end is that target stream pushing server identifies corresponding stream pushing server, wherein target pushes away
Streaming server mark is different from current stream pushing server mark.It is asked in this way, existing in the stream pushing server that main broadcaster end currently connects
When topic, main broadcaster end can switch to target stream pushing server and identify corresponding stream pushing server, guarantee that plug-flow can be gone on smoothly.
As a kind of embodiment of the embodiment of the present invention, after adjusting current plug-flow parameter to target plug-flow parameter, on
The method of stating can also include: send adjust successfully prompt information to the main broadcaster end.
In order to inform the adjusted completion of the current plug-flow parameter of main broadcaster, current plug-flow parameter is being adjusted to target plug-flow parameter
Afterwards, server, which can be sent, adjusts successfully that prompt information is to main broadcaster end, in this way, main broadcaster end successfully prompts to believe receiving the adjustment
When breath, adjustment success prompt information can be shown, to prompt main broadcaster that can continue plug-flow.
Corresponding to the method for adjustment of plug-flow parameter in above-mentioned live streaming, the embodiment of the invention also provides plug-flows in a kind of live streaming
The adjustment device of parameter.
The adjustment device for being provided for the embodiments of the invention plug-flow parameter in a kind of live streaming below is introduced.
As shown in figure 3, in a kind of live streaming plug-flow parameter adjustment device, be applied to server, described device includes:
Screenshot obtain module 310, for obtain main broadcaster end live streaming interface screenshot and current plug-flow parameter;
Parameter determination module 320, for determining according to the screenshot, the current plug-flow parameter and default adjustment rule
Target plug-flow parameter;
Parameter adjustment module 330, for adjusting the current plug-flow parameter to the target plug-flow parameter.
As it can be seen that in scheme provided by the embodiment of the present invention, server obtains the screenshot at main broadcaster end live streaming interface and current
Plug-flow parameter determines target plug-flow parameter then according to the screenshot, current plug-flow parameter and default adjustment rule, in turn, adjustment
The current plug-flow parameter at main broadcaster end is to target plug-flow parameter.Due to manually adjusting current plug-flow parameter without main broadcaster, but according to
Screenshot, current plug-flow parameter and the default adjustment rule at the live streaming interface at main broadcaster end carry out the adjustment of plug-flow parameter, it is possible to
Avoid main broadcaster manually adjust plug-flow parameter occur mistake caused by cannot smooth plug-flow the problems such as, guarantee smooth plug-flow,
User experience is also very good.
As a kind of embodiment of the embodiment of the present invention, above-mentioned apparatus further include:
Request sending module, for it is described acquisition main broadcaster end live streaming interface screenshot and current plug-flow parameter before,
After the intelligent diagnostics instruction for receiving the transmission of main broadcaster end, sends screenshot and request to the main broadcaster end;
Trigger module triggers the screenshot and obtains module after allowing instruction receive that the main broadcaster end sends.
As a kind of embodiment of the embodiment of the present invention, above-mentioned parameter determining module 320 may include:
Speed detection unit (is not shown) in Fig. 3, the speed uplink of the network for detecting the main broadcaster end;
Parameter determination unit (is not shown) in Fig. 3, for according to the screenshot, the current plug-flow parameter and the uplink
Speed determines target plug-flow parameter.
As a kind of embodiment of the embodiment of the present invention, above-mentioned current plug-flow parameter can be current plug-flow code rate;
The parameter determination unit may include:
First code rate determines subelement (being not shown in Fig. 3), is used for when the speed uplink is greater than preset threshold, according to
The screenshot, the current plug-flow code rate and the speed uplink determine that target plug-flow code rate is the first plug-flow code rate, wherein
The first plug-flow code rate is greater than the current plug-flow code rate;
Second code rate determines subelement (being not shown in Fig. 3), is used for when the speed uplink is not more than preset threshold, root
According to the screenshot, the current plug-flow code rate and the speed uplink, determine that target plug-flow code rate is the second plug-flow code rate,
In, the second plug-flow code rate is less than the current plug-flow code rate.
As a kind of embodiment of the embodiment of the present invention, above-mentioned current plug-flow parameter can be current plug-flow frame per second;
The parameter determination unit includes:
First frame per second determines subelement (being not shown in Fig. 3), is used for when the speed uplink is greater than preset threshold, according to
The screenshot, the current plug-flow frame per second and the speed uplink determine that target plug-flow frame per second is the first plug-flow frame per second, wherein
The first plug-flow frame per second is greater than the current plug-flow frame per second;
Second frame per second determines subelement (being not shown in Fig. 3), is used for when the speed uplink is not more than preset threshold, root
According to the screenshot, the current plug-flow frame per second and the speed uplink, determine that target plug-flow frame per second is the second plug-flow frame per second,
In, the second plug-flow frame per second is less than the current plug-flow frame per second.
As a kind of embodiment of the embodiment of the present invention, above-mentioned current plug-flow parameter can be current plug-flow resolution ratio;
The parameter determination unit may include:
First resolution determines subelement (being not shown in Fig. 3), is used for when the speed uplink is greater than preset threshold, root
According to the screenshot, the current plug-flow resolution ratio and the speed uplink, determine target plug-flow resolution ratio for the resolution of the first plug-flow
Rate, wherein the first plug-flow resolution ratio is greater than the current plug-flow resolution ratio;
Second resolution determines subelement (being not shown in Fig. 3), is used for when the speed uplink is not more than preset threshold,
According to the screenshot, the current plug-flow resolution ratio and the speed uplink, determine target plug-flow frame per second for the resolution of the second plug-flow
Rate, wherein the second plug-flow resolution ratio is less than the current plug-flow resolution ratio.
As a kind of embodiment of the embodiment of the present invention, above-mentioned current plug-flow parameter can be current stream pushing server mark
Know;
The parameter determination module 320 may include:
Server identification determination unit (is not shown) in Fig. 3, for according to the screenshot, the current stream pushing server mark
Know and default adjustment is regular, determines target plug-flow parameter for target stream pushing server mark, wherein the target stream pushing server
It identifies different from the current stream pushing server mark;
The parameter adjustment module 330 may include:
Server switch unit (is not shown) in Fig. 3, is described for switching the corresponding stream pushing server in the main broadcaster end
Target stream pushing server identifies corresponding stream pushing server.
The embodiment of the invention also provides a kind of electronic equipment, as shown in figure 4, controller may include processor 401, lead to
Believe interface 402, memory 403 and communication bus 404, wherein processor 401, communication interface 402, memory 403 pass through communication
Bus 404 completes mutual communication,
Memory 403, for storing computer program;
Processor 401 when for executing the program stored on memory 403, realizes following steps:
The screenshot at acquisition main broadcaster end live streaming interface and current plug-flow parameter;
According to the screenshot, the current plug-flow parameter and default adjustment rule, target plug-flow parameter is determined;
The current plug-flow parameter is adjusted to the target plug-flow parameter.
As it can be seen that in scheme provided by the embodiment of the present invention, server obtains the screenshot at main broadcaster end live streaming interface and current
Plug-flow parameter determines target plug-flow parameter then according to the screenshot, current plug-flow parameter and default adjustment rule, in turn, adjustment
The current plug-flow parameter at main broadcaster end is to target plug-flow parameter.Due to manually adjusting current plug-flow parameter without main broadcaster, but according to
Screenshot, current plug-flow parameter and the default adjustment rule at the live streaming interface at main broadcaster end carry out the adjustment of plug-flow parameter, it is possible to
Avoid main broadcaster manually adjust plug-flow parameter occur mistake caused by cannot smooth plug-flow the problems such as, guarantee smooth plug-flow,
User experience is also very good.
The communication bus that above-mentioned server is mentioned can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard
Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just
It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned server and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy
The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also
To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete
Door or transistor logic, discrete hardware components.
Wherein, before the screenshot at above-mentioned acquisition main broadcaster end live streaming interface and the step of current plug-flow parameter, the above method
Can also include:
After receiving the intelligent diagnostics instruction of main broadcaster end transmission, sends screenshot and request to the main broadcaster end;
After allowing instruction receive that the main broadcaster end sends, execute the screenshot for obtaining main broadcaster end live streaming interface and
The step of current plug-flow parameter.
Wherein, it is above-mentioned according to the screenshot, the current plug-flow parameter and default adjustment rule, determine target plug-flow parameter
The step of, may include:
Detect the speed uplink of the network at the main broadcaster end;
According to the screenshot, the current plug-flow parameter and the speed uplink, target plug-flow parameter is determined.
Wherein, above-mentioned current plug-flow parameter can be current plug-flow code rate;
It is above-mentioned according to the screenshot, the current plug-flow parameter and default adjustment rule, determine the step of target plug-flow parameter
Suddenly, may include:
When the speed uplink is greater than preset threshold, according to the screenshot, the current plug-flow code rate and the uplink
Speed determines that target plug-flow code rate is the first plug-flow code rate, wherein the first plug-flow code rate is greater than the current plug-flow code
Rate;
When the speed uplink be not more than preset threshold when, according to the screenshot, the current plug-flow code rate and it is described on
Scanning frequency degree determines that target plug-flow code rate is the second plug-flow code rate, wherein the second plug-flow code rate is less than the current plug-flow code
Rate.
Wherein, above-mentioned current plug-flow parameter can be current plug-flow frame per second;
It is above-mentioned according to the screenshot, the current plug-flow parameter and default adjustment rule, determine the step of target plug-flow parameter
Suddenly, may include:
When the speed uplink is greater than preset threshold, according to the screenshot, the current plug-flow frame per second and the uplink
Speed determines that target plug-flow frame per second is the first plug-flow frame per second, wherein the first plug-flow frame per second is greater than the current plug-flow frame
Rate;
When the speed uplink be not more than preset threshold when, according to the screenshot, the current plug-flow frame per second and it is described on
Scanning frequency degree determines that target plug-flow frame per second is the second plug-flow frame per second, wherein the second plug-flow frame per second is less than the current plug-flow frame
Rate.
Wherein, above-mentioned current plug-flow parameter can be current plug-flow resolution ratio;
It is above-mentioned according to the screenshot, the current plug-flow parameter and default adjustment rule, determine the step of target plug-flow parameter
Suddenly, may include:
When the speed uplink be greater than preset threshold when, according to the screenshot, the current plug-flow resolution ratio and it is described on
Scanning frequency degree determines that target plug-flow resolution ratio is the first plug-flow resolution ratio, wherein the first plug-flow resolution ratio is greater than described current
Plug-flow resolution ratio;
When the speed uplink is not more than preset threshold, according to the screenshot, the current plug-flow resolution ratio and described
Speed uplink determines that target plug-flow frame per second is the second plug-flow resolution ratio, wherein the second plug-flow resolution ratio is less than described current
Plug-flow resolution ratio.
Wherein, above-mentioned current plug-flow parameter can identify for current stream pushing server;
It is above-mentioned according to the screenshot, the current plug-flow parameter and default adjustment rule, determine the step of target plug-flow parameter
Suddenly, may include:
According to the screenshot, the current stream pushing server mark and default adjustment rule, determine that target plug-flow parameter is
Target stream pushing server mark, wherein the target stream pushing server mark is different from the current stream pushing server mark;
The step of above-mentioned adjustment current plug-flow parameter to target plug-flow parameter, may include:
Switching the corresponding stream pushing server in the main broadcaster end is that the target stream pushing server identifies corresponding plug-flow service
Device.
The embodiment of the invention also provides a kind of computer readable storage medium, the computer readable storage medium memory
Computer program is contained, the computer program performs the steps of when being executed by processor
The screenshot at acquisition main broadcaster end live streaming interface and current plug-flow parameter;
According to the screenshot, the current plug-flow parameter and default adjustment rule, target plug-flow parameter is determined;
The current plug-flow parameter is adjusted to the target plug-flow parameter.
As it can be seen that when computer program is executed by processor, it is straight to obtain main broadcaster end in scheme provided by the embodiment of the present invention
The screenshot and current plug-flow parameter for broadcasting interface then according to the screenshot, current plug-flow parameter and default adjustment rule determine target
Plug-flow parameter adjusts the current plug-flow parameter at main broadcaster end to target plug-flow parameter in turn.Due to being manually adjusted currently without main broadcaster
Plug-flow parameter, but plug-flow ginseng is carried out according to the screenshot at the live streaming interface at main broadcaster end, current plug-flow parameter and default adjustment rule
Several adjustment, it is possible to avoid main broadcaster manually adjust plug-flow parameter occur mistake caused by cannot smooth plug-flow the problems such as,
Guarantee smooth plug-flow, user experience is also very good.
Wherein, before the screenshot at above-mentioned acquisition main broadcaster end live streaming interface and the step of current plug-flow parameter, the above method
Can also include:
After receiving the intelligent diagnostics instruction of main broadcaster end transmission, sends screenshot and request to the main broadcaster end;
After allowing instruction receive that the main broadcaster end sends, execute the screenshot for obtaining main broadcaster end live streaming interface and
The step of current plug-flow parameter.
Wherein, it is above-mentioned according to the screenshot, the current plug-flow parameter and default adjustment rule, determine target plug-flow parameter
The step of, may include:
Detect the speed uplink of the network at the main broadcaster end;
According to the screenshot, the current plug-flow parameter and the speed uplink, target plug-flow parameter is determined.
Wherein, above-mentioned current plug-flow parameter can be current plug-flow code rate;
It is above-mentioned according to the screenshot, the current plug-flow parameter and default adjustment rule, determine the step of target plug-flow parameter
Suddenly, may include:
When the speed uplink is greater than preset threshold, according to the screenshot, the current plug-flow code rate and the uplink
Speed determines that target plug-flow code rate is the first plug-flow code rate, wherein the first plug-flow code rate is greater than the current plug-flow code
Rate;
When the speed uplink be not more than preset threshold when, according to the screenshot, the current plug-flow code rate and it is described on
Scanning frequency degree determines that target plug-flow code rate is the second plug-flow code rate, wherein the second plug-flow code rate is less than the current plug-flow code
Rate.
Wherein, above-mentioned current plug-flow parameter can be current plug-flow frame per second;
It is above-mentioned according to the screenshot, the current plug-flow parameter and default adjustment rule, determine the step of target plug-flow parameter
Suddenly, may include:
When the speed uplink is greater than preset threshold, according to the screenshot, the current plug-flow frame per second and the uplink
Speed determines that target plug-flow frame per second is the first plug-flow frame per second, wherein the first plug-flow frame per second is greater than the current plug-flow frame
Rate;
When the speed uplink be not more than preset threshold when, according to the screenshot, the current plug-flow frame per second and it is described on
Scanning frequency degree determines that target plug-flow frame per second is the second plug-flow frame per second, wherein the second plug-flow frame per second is less than the current plug-flow frame
Rate.
Wherein, above-mentioned current plug-flow parameter can be current plug-flow resolution ratio;
It is above-mentioned according to the screenshot, the current plug-flow parameter and default adjustment rule, determine the step of target plug-flow parameter
Suddenly, may include:
When the speed uplink be greater than preset threshold when, according to the screenshot, the current plug-flow resolution ratio and it is described on
Scanning frequency degree determines that target plug-flow resolution ratio is the first plug-flow resolution ratio, wherein the first plug-flow resolution ratio is greater than described current
Plug-flow resolution ratio;
When the speed uplink is not more than preset threshold, according to the screenshot, the current plug-flow resolution ratio and described
Speed uplink determines that target plug-flow frame per second is the second plug-flow resolution ratio, wherein the second plug-flow resolution ratio is less than described current
Plug-flow resolution ratio.
Wherein, above-mentioned current plug-flow parameter can identify for current stream pushing server;
It is above-mentioned according to the screenshot, the current plug-flow parameter and default adjustment rule, determine the step of target plug-flow parameter
Suddenly, may include:
According to the screenshot, the current stream pushing server mark and default adjustment rule, determine that target plug-flow parameter is
Target stream pushing server mark, wherein the target stream pushing server mark is different from the current stream pushing server mark;
The step of above-mentioned adjustment current plug-flow parameter to target plug-flow parameter, may include:
Switching the corresponding stream pushing server in the main broadcaster end is that the target stream pushing server identifies corresponding plug-flow service
Device.
It should be noted that for above-mentioned apparatus, server and computer readable storage medium embodiment, due to it
It is substantially similar to embodiment of the method, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
Need further exist for explanation, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (16)
1. the method for adjustment of plug-flow parameter in a kind of live streaming, which is characterized in that be applied to server, which comprises
The screenshot at acquisition main broadcaster end live streaming interface and current plug-flow parameter;
According to the screenshot, the current plug-flow parameter and default adjustment rule, target plug-flow parameter is determined;
The current plug-flow parameter is adjusted to the target plug-flow parameter.
2. the method as described in claim 1, which is characterized in that the screenshot at interface is broadcast live at the acquisition main broadcaster end and ought be pushed forward
Before the step of flowing parameter, the method also includes:
After receiving the intelligent diagnostics instruction of main broadcaster end transmission, sends screenshot and request to the main broadcaster end;
After allowing instruction receive that the main broadcaster end sends, the screenshot for obtaining main broadcaster end live streaming interface and current is executed
The step of plug-flow parameter.
3. method according to claim 1 or 2, which is characterized in that it is described according to the screenshot, the current plug-flow parameter and
The step of default adjustment is regular, determines target plug-flow parameter, comprising:
Detect the speed uplink of the network at the main broadcaster end;
According to the screenshot, the current plug-flow parameter and the speed uplink, target plug-flow parameter is determined.
4. method as claimed in claim 3, which is characterized in that the current plug-flow parameter is current plug-flow code rate;
It is described according to the screenshot, the current plug-flow parameter and default adjustment rule, the step of determining target plug-flow parameter, packet
It includes:
When the speed uplink is greater than preset threshold, according to the screenshot, the current plug-flow code rate and the speed uplink,
Determine that target plug-flow code rate is the first plug-flow code rate, wherein the first plug-flow code rate is greater than the current plug-flow code rate;
When the speed uplink is not more than preset threshold, according to the screenshot, the current plug-flow code rate and the upper scanning frequency
Degree determines that target plug-flow code rate is the second plug-flow code rate, wherein the second plug-flow code rate is less than the current plug-flow code rate.
5. method as claimed in claim 3, which is characterized in that the current plug-flow parameter is current plug-flow frame per second;
It is described according to the screenshot, the current plug-flow parameter and default adjustment rule, the step of determining target plug-flow parameter, packet
It includes:
When the speed uplink is greater than preset threshold, according to the screenshot, the current plug-flow frame per second and the speed uplink,
Determine that target plug-flow frame per second is the first plug-flow frame per second, wherein the first plug-flow frame per second is greater than the current plug-flow frame per second;
When the speed uplink is not more than preset threshold, according to the screenshot, the current plug-flow frame per second and the upper scanning frequency
Degree determines that target plug-flow frame per second is the second plug-flow frame per second, wherein the second plug-flow frame per second is less than the current plug-flow frame per second.
6. method as claimed in claim 3, which is characterized in that the current plug-flow parameter is current plug-flow resolution ratio;
It is described according to the screenshot, the current plug-flow parameter and default adjustment rule, the step of determining target plug-flow parameter, packet
It includes:
When the speed uplink is greater than preset threshold, according to the screenshot, the current plug-flow resolution ratio and the upper scanning frequency
Degree determines that target plug-flow resolution ratio is the first plug-flow resolution ratio, wherein the first plug-flow resolution ratio is greater than the current plug-flow
Resolution ratio;
When the speed uplink is not more than preset threshold, according to the screenshot, the current plug-flow resolution ratio and the uplink
Speed determines that target plug-flow frame per second is the second plug-flow resolution ratio, wherein the second plug-flow resolution ratio is less than the current plug-flow
Resolution ratio.
7. method according to claim 1 or 2, which is characterized in that the current plug-flow parameter is current stream pushing server mark
Know;
It is described according to the screenshot, the current plug-flow parameter and default adjustment rule, the step of determining target plug-flow parameter, packet
It includes:
According to the screenshot, the current stream pushing server mark and default adjustment rule, determine that target plug-flow parameter is target
Stream pushing server mark, wherein the target stream pushing server mark is different from the current stream pushing server mark;
The step of adjustment current plug-flow parameter to target plug-flow parameter, comprising:
Switching the corresponding stream pushing server in the main broadcaster end is that the target stream pushing server identifies corresponding stream pushing server.
8. the adjustment device of plug-flow parameter in a kind of live streaming, which is characterized in that be applied to server, described device includes:
Screenshot obtain module, for obtain main broadcaster end live streaming interface screenshot and current plug-flow parameter;
Parameter determination module, for determining target plug-flow according to the screenshot, the current plug-flow parameter and default adjustment rule
Parameter;
Parameter adjustment module, for adjusting the current plug-flow parameter to the target plug-flow parameter.
9. device as claimed in claim 8, which is characterized in that described device further include:
Request sending module, for receiving before the screenshot at the acquisition main broadcaster end live streaming interface and current plug-flow parameter
After the intelligent diagnostics instruction sent to main broadcaster end, sends screenshot and request to the main broadcaster end;
Trigger module triggers the screenshot and obtains module after allowing instruction receive that the main broadcaster end sends.
10. device as claimed in claim 8 or 9, which is characterized in that the parameter determination module includes:
Speed detection unit, the speed uplink of the network for detecting the main broadcaster end;
Parameter determination unit, for determining target plug-flow according to the screenshot, the current plug-flow parameter and the speed uplink
Parameter.
11. device as claimed in claim 10, which is characterized in that the current plug-flow parameter is current plug-flow code rate;
The parameter determination unit includes:
First code rate determines subelement, for when the speed uplink is greater than preset threshold, according to the screenshot, described current
Plug-flow code rate and the speed uplink determine that target plug-flow code rate is the first plug-flow code rate, wherein the first plug-flow code rate is big
In the current plug-flow code rate;
Second code rate determines subelement, for according to the screenshot, described working as when the speed uplink is not more than preset threshold
It is pushed forward stream bit rate and the speed uplink, determines that target plug-flow code rate is the second plug-flow code rate, wherein the second plug-flow code rate
Less than the current plug-flow code rate.
12. device as claimed in claim 10, which is characterized in that the current plug-flow parameter is current plug-flow frame per second;
The parameter determination unit includes:
First frame per second determines subelement, for when the speed uplink is greater than preset threshold, according to the screenshot, described current
Plug-flow frame per second and the speed uplink determine that target plug-flow frame per second is the first plug-flow frame per second, wherein the first plug-flow frame per second is big
In the current plug-flow frame per second;
Second frame per second determines subelement, for according to the screenshot, described working as when the speed uplink is not more than preset threshold
Preceding plug-flow frame per second and the speed uplink determine that target plug-flow frame per second is the second plug-flow frame per second, wherein the second plug-flow frame per second
Less than the current plug-flow frame per second.
13. device as claimed in claim 10, which is characterized in that the current plug-flow parameter is current plug-flow resolution ratio;
The parameter determination unit includes:
First resolution determines subelement, for according to the screenshot, described working as when the speed uplink is greater than preset threshold
It is pushed forward flow point resolution and the speed uplink, determines that target plug-flow resolution ratio is the first plug-flow resolution ratio, wherein described first pushes away
Flow point resolution is greater than the current plug-flow resolution ratio;
Second resolution determines subelement, for when the speed uplink is not more than preset threshold, according to the screenshot, described
Current plug-flow resolution ratio and the speed uplink determine that target plug-flow frame per second is the second plug-flow resolution ratio, wherein described second pushes away
Flow point resolution is less than the current plug-flow resolution ratio.
14. device as claimed in claim 8 or 9, which is characterized in that the current plug-flow parameter is current stream pushing server mark
Know;
The parameter determination module includes:
Server identification determination unit, for identifying and presetting adjustment rule according to the screenshot, the current stream pushing server,
Determine target plug-flow parameter for target stream pushing server mark, wherein the target stream pushing server mark ought be pushed forward with described
Streaming server mark is different;
The parameter adjustment module includes:
Server switch unit, for switching the corresponding stream pushing server in the main broadcaster end as target stream pushing server mark
Corresponding stream pushing server.
15. a kind of server, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing
Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes method and step as claimed in claim 1 to 7.
16. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium
Program, the computer program realize method and step as claimed in claim 1 to 7 when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810954077.0A CN109068157A (en) | 2018-08-21 | 2018-08-21 | Method of adjustment, device and the server of plug-flow parameter in a kind of live streaming |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810954077.0A CN109068157A (en) | 2018-08-21 | 2018-08-21 | Method of adjustment, device and the server of plug-flow parameter in a kind of live streaming |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109068157A true CN109068157A (en) | 2018-12-21 |
Family
ID=64687580
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810954077.0A Pending CN109068157A (en) | 2018-08-21 | 2018-08-21 | Method of adjustment, device and the server of plug-flow parameter in a kind of live streaming |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109068157A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111405312A (en) * | 2020-04-26 | 2020-07-10 | 广州酷狗计算机科技有限公司 | Live broadcast stream pushing method, device, terminal, server and storage medium |
CN113905249A (en) * | 2021-09-30 | 2022-01-07 | 上海哔哩哔哩科技有限公司 | Plug flow abnormity detection method and device |
CN114679598A (en) * | 2022-03-24 | 2022-06-28 | 上海哔哩哔哩科技有限公司 | Live broadcast pushing method and device |
CN114760528A (en) * | 2022-04-19 | 2022-07-15 | 广州方硅信息技术有限公司 | Method, system, device, computer equipment and medium for video data transmission |
CN114827636A (en) * | 2021-01-18 | 2022-07-29 | 武汉斗鱼网络科技有限公司 | Method and related device for diagnosing video playing abnormity |
CN115499673A (en) * | 2022-08-30 | 2022-12-20 | 深圳市思为软件技术有限公司 | Live broadcast method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107277568A (en) * | 2017-08-16 | 2017-10-20 | 广州市千钧网络科技有限公司 | A kind of plug-flow configuration parameter dynamic adjusting method and device |
CN108024126A (en) * | 2017-11-28 | 2018-05-11 | 北京潘达互娱科技有限公司 | Network direct broadcasting video regulation method, device, electronic equipment and storage medium |
-
2018
- 2018-08-21 CN CN201810954077.0A patent/CN109068157A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107277568A (en) * | 2017-08-16 | 2017-10-20 | 广州市千钧网络科技有限公司 | A kind of plug-flow configuration parameter dynamic adjusting method and device |
CN108024126A (en) * | 2017-11-28 | 2018-05-11 | 北京潘达互娱科技有限公司 | Network direct broadcasting video regulation method, device, electronic equipment and storage medium |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111405312A (en) * | 2020-04-26 | 2020-07-10 | 广州酷狗计算机科技有限公司 | Live broadcast stream pushing method, device, terminal, server and storage medium |
CN114827636A (en) * | 2021-01-18 | 2022-07-29 | 武汉斗鱼网络科技有限公司 | Method and related device for diagnosing video playing abnormity |
CN113905249A (en) * | 2021-09-30 | 2022-01-07 | 上海哔哩哔哩科技有限公司 | Plug flow abnormity detection method and device |
CN114679598A (en) * | 2022-03-24 | 2022-06-28 | 上海哔哩哔哩科技有限公司 | Live broadcast pushing method and device |
CN114679598B (en) * | 2022-03-24 | 2023-11-21 | 上海哔哩哔哩科技有限公司 | Live broadcast pushing method and device |
CN114760528A (en) * | 2022-04-19 | 2022-07-15 | 广州方硅信息技术有限公司 | Method, system, device, computer equipment and medium for video data transmission |
CN115499673A (en) * | 2022-08-30 | 2022-12-20 | 深圳市思为软件技术有限公司 | Live broadcast method and device |
CN115499673B (en) * | 2022-08-30 | 2023-10-20 | 深圳市思为软件技术有限公司 | Live broadcast method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109068157A (en) | Method of adjustment, device and the server of plug-flow parameter in a kind of live streaming | |
CN103945240B (en) | A kind of video broadcasting method and device based on video aggregation | |
CN102724138B (en) | Information sharing method in instant messaging and device | |
CN107105309A (en) | Live dispatching method and device | |
CN109688419A (en) | Company's wheat method, apparatus and server in a kind of live streaming | |
CN106488270A (en) | A kind of method and apparatus of direct broadcasting room switching | |
CN105491456A (en) | Video content recommendation method and device as well as video content evaluation method and device | |
CN104641575B (en) | It is used for transmission the method, apparatus and user equipment of Media Stream | |
CN113300877A (en) | Network slice management method and equipment | |
CN110087141A (en) | Method of transmitting video data, device, client and server | |
US20220141311A1 (en) | Resource subscription method, device and server, and computer storage medium | |
CN110830823B (en) | Play progress correction method and device, electronic equipment and readable storage medium | |
CN106412106B (en) | Message sending method and device | |
CN106921865A (en) | Method for processing video frequency and device | |
CN108900919A (en) | Company's wheat method, apparatus, server and terminal in a kind of live streaming | |
CN111274153A (en) | Automatic testing method and device and electronic equipment | |
CN110113655A (en) | A kind of method, apparatus and user terminal of video playing | |
CN110198493A (en) | Media data method for down loading, device, computer equipment, storage medium and system | |
CN114302429A (en) | NWDAF network element determination method, device, equipment and storage medium | |
CN108989881A (en) | A kind of main broadcaster's state determines method and device | |
CN104796874B (en) | Information binding method and device | |
CN105898596B (en) | Direct broadcasting room display control method and device | |
CN108933967B (en) | Television program reminding method, playing device and server | |
EP4180942A1 (en) | Screen projection method and apparatus, electronic device, and computer readable storage medium | |
CN108712618A (en) | Instructor in broadcasting's control method, equipment and storage medium |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20181221 |