CN108093294A - A kind of terminal screen live broadcasting method and terminal - Google Patents
A kind of terminal screen live broadcasting method and terminal Download PDFInfo
- Publication number
- CN108093294A CN108093294A CN201611028850.8A CN201611028850A CN108093294A CN 108093294 A CN108093294 A CN 108093294A CN 201611028850 A CN201611028850 A CN 201611028850A CN 108093294 A CN108093294 A CN 108093294A
- Authority
- CN
- China
- Prior art keywords
- code check
- access terminal
- priority
- terminal
- multimedia stream
- 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
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000012544 monitoring process Methods 0.000 claims description 17
- 238000005516 engineering process Methods 0.000 abstract description 4
- 238000010295 mobile communication Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000009467 reduction Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000001172 regenerating effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
-
- 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/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26208—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
- H04N21/26216—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the channel capacity, e.g. network bandwidth
-
- 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
-
- 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44227—Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The method and terminal of a kind of terminal screen live streaming provided in an embodiment of the present invention, the first access terminal first for access determines priority, and distributing priority corresponding code check for the first access terminal, the live multimedia stream that will finally be generated according to the code check of distribution is sent to the first access terminal.Flexibility is stronger, when number of access terminals is more, since the priority of access terminal is different, used by the live multimedia stream of generation code check with priority is corresponding will not be identical, there is high code check also to have low bit- rate, although being broadcast live, the WLAN bandwidth that terminal is established is limited, can also avoid the video playing that access terminal is broadcast live not smooth.The present invention relates to mobile communication technology fields.
Description
Technical field
The present invention relates to the methods and terminal that mobile communication technology field more particularly to a kind of terminal screen are broadcast live.
Background technology
Terminal screen live streaming is exactly that the operation on terminal screen or content recordal are got off, and is sent to other-end,
He plays terminal receiving while, achievees the effect that live streaming.
The Wi-Fi hotspot function that terminal carries is broadcast live when it is implemented, can utilize, establishes WLAN, and is being intended to shield
Direct broadcast server is established in the terminal of curtain live streaming, access terminal can access the direct broadcast server by the WLAN, directly
It broadcasts terminal to gather the screen video of this terminal and/or audio and be sent to access terminal, access terminal side receives video flowing and sound
Frequency stream side plays out, and realizes and live streaming terminal live broadcasting.Terminal screen live streaming can be applied to hand trip, test, study course and
Many aspects such as line demonstration.
But in existing terminal screen live streaming scheme, all access terminals are all carried out using identical high code rate
Coding, occupied bandwidth is larger when causing to send, and since the WLAN bandwidth by the way that terminal foundation is broadcast live is limited, works as access
When terminal quantity is more, the video playing that may result in access terminal live streaming is not smooth.
The content of the invention
An embodiment of the present invention provides the method and terminal of a kind of live streaming of terminal screen, to solve in the prior art when connecing
Enter terminal quantity it is more when, may result in access terminal live streaming the slack problem of video playing.
Based on the above problem, a kind of method of terminal screen live streaming provided in an embodiment of the present invention, including:
After the first access terminal accesses live streaming terminal, the preferential of first access terminal is determined according to preset rules
Grade;
Distribute the priority corresponding code check for first access terminal;
The live multimedia stream that will be generated according to the code check is sent to first access terminal.
A kind of terminal of terminal screen live streaming provided in an embodiment of the present invention, including:
After accessing live streaming terminal in the first access terminal, institute is determined according to preset rules for Priority Determination module
State the priority of the first access terminal;
Data Rate Distribution module, for distributing the priority corresponding code check for first access terminal;
Encoder management module for the live multimedia stream that will be generated according to the code check, is sent to described first and connects
Enter terminal.
The advantageous effect of the embodiment of the present invention includes:
The method and terminal of a kind of terminal screen live streaming provided in an embodiment of the present invention, it is whole for the first access of access first
End determines priority, and distribute priority corresponding code check for the first access terminal, will finally be generated according to the code check of distribution
Live multimedia stream is sent to the first access terminal.Can be that the first access terminal distribution of access is preferential in the embodiment of the present invention
Grade, and live multimedia stream is generated for the first access terminal according to the corresponding code check of priority of distribution, and it is sent to first
Access terminal, in the prior art, live multimedia stream being generated simultaneously all in accordance with identical high code check to each first access terminal
It is sent to access terminal to compare, will not be different first access terminals according to identical for the first different access terminals
High code check generates live multimedia stream, but is corresponded to respectively according to the different priority determined for the first different access terminals
Code check, generate corresponding live multimedia stream for the first access terminal, and be sent respectively to corresponding first access terminal, flexibly
Property it is stronger, when number of access terminals is more, since the priority of access terminal is different, the live multimedia stream of generation is used
Code check with priority is corresponding will not be identical, there is high code check also to have low bit- rate, although live streaming terminal establish it is wireless
LAN bandwidth is limited, can also avoid the video playing that access terminal is broadcast live not smooth.
Description of the drawings
Fig. 1 is a kind of flow diagram of the method for terminal screen live streaming provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the method for terminal screen live streaming that the embodiment of the present invention 1 provides;
Fig. 3 is a kind of structure diagram of the terminal for terminal screen live streaming that the embodiment of the present invention 2 provides;
Fig. 4 is that each module is interacted with any one first access terminal in the live streaming terminal that the embodiment of the present invention 2 provides
Schematic diagram;
Fig. 5 is that each module is the first access terminal generation live multimedia in the live streaming terminal that the embodiment of the present invention 2 provides
The flow diagram of stream.
Specific embodiment
An embodiment of the present invention provides the method and terminal of a kind of live streaming of terminal screen, below in conjunction with Figure of description to this
The preferred embodiment of invention illustrates, it should be understood that preferred embodiment described herein is only used for describing and explaining this hair
It is bright, it is not intended to limit the present invention.And in the case where there is no conflict, the feature in the embodiment and embodiment in the application can
To be mutually combined.
The embodiment of the present invention provides a kind of method of terminal screen live streaming, as shown in Figure 1, including:
S101, the first access terminal access live streaming terminal after, determine the excellent of the first access terminal according to preset rules
First grade.
S102, the corresponding code check of priority determined in S101 is distributed for the first access terminal.
S103, the live multimedia stream that will be generated according to the code check distributed in S102, are sent to the first access terminal.
First access terminal of the embodiment of the present invention based on access live streaming terminal is write, and it is straight will can each to access this
The access terminal for broadcasting terminal is all handled as the first access terminal.
In the embodiment of the present invention, for the first different access terminals, according to what is determined for the first different access terminals
The corresponding code check of different priority sends the live multimedia stream based on code check generation, spirit to the first access terminal
Activity is stronger, and when number of access terminals is more, since the priority of access terminal is different, the live multimedia stream of generation is adopted
Code check with priority is corresponding will not be identical, although live streaming terminal establish WLAN bandwidth it is limited,
The video playing that access terminal is broadcast live can be avoided not smooth.
Below in conjunction with the accompanying drawings, method provided by the invention and associated terminal are described in detail with specific embodiment.
Embodiment 1:
In the embodiment of the present invention 1, a kind of method of terminal screen live streaming is provided, as shown in Fig. 2, specifically including following step
Suddenly:
S201, the first access terminal access live streaming terminal after, determine the excellent of the first access terminal according to preset rules
First grade.
In this step, priority can be determined according to first access terminal of the preset rules for access.Such as:It can basis
The access sequencing of first access terminal determines priority, i.e., the priority that the first access terminal of more early access determines is more
It is high;Or priority is determined according to the performance of the first access terminal, i.e. the first better access terminal of performance determines preferential
Grade is higher;Or determine priority according to the registration scenarios of the first access terminal, that is, the member's rank registered it is higher first
The priority that access terminal determines is more high, and specific preset rules can be configured according to actual needs, be not intended to limit here.
Further, determine that the action of priority is automated execution in this step for the first access terminal, it can also root
It modifies manually to the priority automatically determined out according to needs, such as:According to the access sequencing of the first access terminal come
When determining priority, for rear access, and higher the first access terminal of member's rank for registering can also be carried manually
Its high priority.
For the ease of the priority determined for different first access terminals is managed and subsequently definite code check when pair
Priority is inquired about, and can establish priority list.It is preferred that it can be asked in the access for receiving first the first access terminal
The priority list is established when asking, and is recorded as between priority and first access terminal that each first access terminal determines
Correspondence.
S202, the corresponding code check of priority determined in S201 is distributed for the first access terminal.
In order to solve in the prior art, to be that more matchmakers are broadcast live all in accordance with identical and high code check generation in each first access terminal
Body stream is simultaneously sent, and causes packet loss so that the first access terminal play the slack problem of media stream, can pre-set to
Few two code checks, and each code check is made to correspond to one group of priority;Every group of priority includes at least one priority, and comprising it is excellent
The higher corresponding code check of one group of priority of first grade is higher.
That is, when the first number of access terminals is less, every group of priority can be made to include a priority, i.e., it is every
A code check corresponds to a priority, and different code checks is used to generate live multimedia for the first access terminal of different priorities
Stream, compared with same high code check is used to generate live multimedia code check for the first different access terminals, the code check of use has height
Have low, packet drop can be alleviated, solve the problems, such as that the first access terminal live multimedia stream is slack.
Further, when the first number of access terminals is more, generated respectively based on correspondence for each first access terminal
The live multimedia stream resource consumption of code check is larger, and every group of priority can be made to include at least two priority, each code check pair
One group of priority is answered, can also solve problems of the prior art.Specifically, it is assumed that pre-set three code checks, i.e.,
Include the first code check, the second code check and third yard rate from high to low.It is 1000- that can make the corresponding one group of priority of the first code check
900, the corresponding one group of priority of the second code check is 899-800, and the corresponding one group of priority of third yard rate is 799-700.As it can be seen that
The first access terminal of difference of corresponding same group of priority, has different priority, but can be corresponding with identical code check.
Such as:The first access terminal of difference of the priority of 1000-900 is respectively provided with, the priority having is different, i.e. 1000-900,
But identical code check can be corresponding with, i.e. the first code check.
Also, comprising priority it is higher the corresponding code check of one group of priority it is higher, so with higher priority
First access terminal can just use the live multimedia stream based on high code rate generation, and first with lower priority connects
Enter terminal to use based on the live multimedia stream generated compared with low bit- rate.In this way, every group of first access terminal can be directed to, using this
The first access terminal of group corresponds to the code check generation live multimedia stream corresponding to priority, is sent to this group of terminal, both controlled
System resource, and solve the problems of the prior art, packet drop can be alleviated, the first access terminal is solved and play more matchmakers
The slack problem of body stream.
S203, the live multimedia stream that will be generated according to the code check distributed in S202, are sent to the first access terminal.
As above-mentioned, larger system can be consumed by regenerating live multimedia stream if each first access terminal
Resource, therefore, for the first access terminal generate live multimedia stream before, can check whether it is existing according to for this first
The live multimedia stream of the code check generation of access terminal distribution, if in the presence of can be directly transmitted, if being not present, then perform
Generation operation, this step can be performed as following steps:
If Step 1: there is currently having generated live multimedia stream, the live multimedia stream is according to for corresponding access terminal
The code check generation of distribution, then be sent to the correspondence access terminal by the live multimedia stream;
If Step 2: there is currently no live multimedia stream has been generated, which accesses eventually according to be corresponding
The code check generation of end distribution then generates live multimedia stream according to the code check for corresponding access terminal distribution, and it is right to be sent to this
Answer access terminal.
In step 203, the correspondence access terminal in step 1 and step 2 can be the first access terminal.
S204, packet loss monitoring is carried out to the live multimedia stream sent to the first access terminal.
In this step, packet loss monitoring can be carried out during being broadcast live to the first access terminal, until live streaming finishes.
When it is implemented, can be monitored by the first access terminal to the live multimedia stream received, and by packet loss
Situation notice live streaming terminal, when packet loss reaches default packet loss threshold value can also be notified with periodic advertisement, be only here
Citing, specific embodiment determines according to actual conditions, are not intended to limit here.
S205, when monitoring that packet loss is more than default packet loss threshold value, determine the of priority less than the first access terminal
Two access terminals.
In this step, when monitoring that packet loss is more than default packet loss threshold value, priority can be connect less than first first
The second access terminal for entering terminal is handled, and specific processing mode is shown in subsequent step.
S206, judge whether the current code check distributed as the second access terminal determined in S205 is pre-set code check
In lowest bit rate, if it is not, then entering step S207;Otherwise, S209 is entered step.
S207, distributed for the second access terminal in pre-set code check less than the code for being currently the distribution of the second access terminal
First code check of rate.
In this step, if the code check currently distributed for the second access terminal is not the minimum code in pre-set code check
Rate then distributes in pre-set code check for the second access terminal and is less than the first of the code check for being currently the distribution of the second access terminal
Code check.
In this step, by reducing code check of the priority less than the second access terminal of the first access terminal, to reduce the
The bandwidth that two access terminals occupy can alleviate the packet drop of the first access terminal, be carried out so as to increase by the first access terminal
The smooth degree of live streaming.
It is preferred that the first code check belongs to pre-set code check, and for less than it is current be that the second access terminal distributes code check
Code check in maximal rate.In order to ensure the live streaming smoothness degree of the second access terminal, it is straight can be slowly reduced to its generation
The code check being based on during playing multimedia stream, if using pre-set at least two code check as at least two code check shelves, it can be with
The code check of the second access terminal is first dropped one grade.
S208, the live multimedia stream that will be generated according to the first code check distributed in S207, are sent to the second access terminal.
Enter step S204.
This step may be implemented as step:
If Step 1: there is currently having generated live multimedia stream, the live multimedia stream is according to for corresponding access terminal
The code check generation of distribution, then be sent to the correspondence access terminal by the live multimedia stream;
If Step 2: there is currently no live multimedia stream has been generated, which accesses eventually according to be corresponding
The code check generation of end distribution then generates live multimedia stream according to the code check for corresponding access terminal distribution, and it is right to be sent to this
Answer access terminal.
In the step of step S208 one and step 2, corresponding access terminal can be the second access terminal, and corresponding access is eventually
The code check of end distribution can be newly assigned first code check.
S209, when for the code check of the first access terminal distribution not being currently the lowest bit rate in pre-set code check,
The second code that is less than the code check that is currently first access terminal distribution is distributed for the first access terminal in pre-set code check
Rate.
In this step, if the code check currently distributed for the second access terminal is the lowest bit rate in pre-set code check,
And the current code check for the distribution of the first access terminal is not the lowest bit rate in pre-set code check, then is the first access terminal
It distributes in pre-set code check and is less than the second code check of the current code check for the distribution of the first access terminal.
In this step, due to priority less than the first access terminal the second access terminal code check be reduced to it is minimum,
And be that lowest bit rate in pre-set code check has not yet been reached in the code check of the first access terminal distribution, it can be by being reduced to the
The code check of one access terminal distribution to reduce the bandwidth of the first access terminal occupancy, can alleviate the packet loss of the first access terminal
Situation, so as to increase the smooth degree of live streaming.
It is preferred that the second code check belongs to pre-set code check, and for less than it is current be that the first access terminal distributes code check
Code check in maximal rate.In order to ensure the live streaming smoothness degree of the first access terminal, it is straight can be slowly reduced to its generation
The code check being based on during playing multimedia stream, if using pre-set at least two code check as at least two code check shelves, it can be with
The code check of the first access terminal is first dropped one grade.
S210, the live multimedia stream that will be generated according to the second code check distributed in S209, are sent to the first access terminal.
Enter step S204.
This step may be implemented as step:
If Step 1: there is currently having generated live multimedia stream, the live multimedia stream is according to for corresponding access terminal
The code check generation of distribution, then be sent to the correspondence access terminal by the live multimedia stream;
If Step 2: there is currently no live multimedia stream has been generated, which accesses eventually according to be corresponding
The code check generation of end distribution then generates live multimedia stream according to the code check for corresponding access terminal distribution, and it is right to be sent to this
Answer access terminal.
In the step of step S210 one and step 2, corresponding access terminal can be the first access terminal, and corresponding access is eventually
The code check of end distribution can be newly assigned second code check.
In the embodiment of the present invention, the packet drop of the first access terminal can be monitored, when the first access terminal
When packet loss reaches default packet loss threshold value, the corresponding code of the second access terminal of the first access terminal is less than by reducing priority
Rate, to alleviate the packet drop of the first access terminal, when the corresponding code check of the second access terminal has been reduced to minimum, Ke Yitong
Crossing reduces the corresponding code check of the first access terminal, to alleviate its packet drop, so that the live streaming of the first access terminal is more suitable
Freely.It is the different priority that the first different access terminals determines as it can be seen that in the embodiment of the present invention, when any first access
When packet loss occurs for terminal, connect by adjusting priority less than the code check of the second access terminal of the first access terminal or first
Enter the code check of terminal itself, it is from start to finish straight all using identical high code check generation in the prior art, being broadcast live to alleviate packet loss
Playing multimedia stream is compared, and employs code rate adjustment means, and flexibility is stronger, when number of access terminals is more, although live streaming is eventually
It holds the WLAN bandwidth established limited, can also avoid the video playing that access terminal is broadcast live not smooth.
Embodiment 2:
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of terminal of terminal screen live streaming, due to these
The principle that terminal solves the problems, such as is similar to the method that aforementioned terminals screen is broadcast live, thus the implementation of the terminal may refer to it is foregoing
The implementation of method, overlaps will not be repeated.
As shown in figure 3, an embodiment of the present invention provides a kind of terminal of terminal screen live streaming, including following module:
Priority Determination module 301 after accessing live streaming terminal in the first access terminal, is determined according to preset rules
The priority of first access terminal;
Data Rate Distribution module 302, for distributing the priority corresponding code check for first access terminal;
Encoder management module 303 for the live multimedia stream that will be generated according to the code check, is sent to described first
Access terminal.
Further, the terminal further includes:Packet loss monitoring modular 304;
The packet loss monitoring modular 304, for being lost to the live multimedia stream sent to first access terminal
Bag monitoring;
The Priority Determination module 301 is additionally operable to preset when the packet loss monitoring modular 304 monitors that packet loss is more than
During packet loss threshold value, determine that priority is less than the second access terminal of first access terminal;
The Data Rate Distribution module 302, if it is not advance to be additionally operable to the code check currently for second access terminal distribution
Lowest bit rate in the code check of setting, then distribute to be less than in the pre-set code check for second access terminal and be currently
First code check of the code check of the second access terminal distribution;
The encoder management module 303, it is second access terminal point to be additionally operable in the Data Rate Distribution module 302
After having matched somebody with somebody first code check, the live multimedia stream that will be generated according to first code check is sent to second access
Terminal.
Wherein, at least two code checks are pre-set, and each code check is made to correspond to one group of priority;Every group of priority is included extremely
Few priority, and comprising priority it is higher the corresponding code check of one group of priority it is higher.
Further, the Data Rate Distribution module 302, if being additionally operable to currently as the code check of second access terminal distribution
For the lowest bit rate in pre-set code check, and currently the code check for first access terminal distribution is not pre-set
Lowest bit rate in code check, then distribute for first access terminal in the pre-set code check that be less than be currently described the
Second code check of the code check of one access terminal distribution;
The encoder management module 303, it is first access terminal point to be additionally operable in the Data Rate Distribution module 302
After having matched somebody with somebody second code check, the live multimedia stream that will be generated according to second code check is sent to first access
Terminal.
Further, the encoder management module 303, if specifically for there is currently having generated live multimedia stream,
The live multimedia stream is generated according to the code check for corresponding access terminal distribution, then is sent to the live multimedia stream described
Corresponding access terminal;If there is currently no live multimedia stream has been generated, the live multimedia stream accesses eventually according to be corresponding
The code check generation of end distribution then generates live multimedia stream according to the code check for corresponding access terminal distribution, and is sent to described
Corresponding access terminal.
The function of above-mentioned each unit may correspond to the respective handling step in flow shown in Fig. 1 to Fig. 2, no longer superfluous herein
It states.
Each module (as shown in Figure 3) interacts with any one first access terminal 402 in Fig. 4 live streaming terminals 401
Schematic diagram.As shown in figure 4, Priority Determination module 301 can be provided as the definite precedence information of the first access terminal 402
(such as:Can be provided by the form of priority list), Data Rate Distribution module 302 can be by reading Priority Determination module
301 priority lists provided determine the priority of the first access terminal 402, so that it is determined that being the distribution of the first access terminal 402
Code check, and the code check informed code device management module 303 that will be determined so that encoder management module 303 can be according to code check
The live multimedia stream sent to the first access terminal 402 is determined or generated, and is sent to the first access terminal 402.
Further, packet loss monitoring modular 304 can receive the packet drop of the first access terminal 402 feedback, and will
Packet drop notice code check distribution module 302, so that Data Rate Distribution module 302 redefines first according to the severity of packet loss
The code check of access terminal 402.
Fig. 5 is that each module is (as shown in Figure 3) in live streaming terminal 401 generates live multimedia stream for the first access terminal 402
Flow diagram.As shown in figure 5, include the following steps:
S501, the processing unit startup Wi-Fi hotspot that terminal 401 is broadcast live.
S502, the access request that processing unit the first access terminal 402 of reception of terminal 401 is sent is broadcast live.
S503, the processing unit notification priority determining module 301 of live streaming terminal 401 determine for the first access terminal 402
Priority.
S504, Priority Determination module 301 determine priority for the first access terminal 402.
S505, the processing unit notice code check distribution module 302 of live streaming terminal 401 are 402 assigned code of the first access terminal
Rate.
The priority list that S506, Data Rate Distribution module 302 are established from Priority Determination module 301 reads the first access terminal
402 priority.
S507, Data Rate Distribution module 302 distribute code check corresponding with the priority read for the first access terminal 402.
S508, the processing unit informed code device management module 303 of live streaming terminal 401 send for the first access terminal 402
Live multimedia stream.
S509, Data Rate Distribution module 302 are by the code check informed code device management module 303 of distribution.
S510, encoder management module 303 determine or generate live multimedia stream according to obtained code check.
In this step, if current generated the live multimedia stream generated according to the code check, definite step is performed, it is no
Then, the step of generation is performed.
S511, encoder management module 303 will determine or the live multimedia stream of generation is sent to the first access terminal
402。
The situation that packet loss is reached default packet loss threshold value by S512, the first access terminal 402 notifies packet loss monitoring modular
304。
S513, packet loss monitoring modular 304 notify 302 packet drop of code check distribution module.
The priority list that S514, Data Rate Distribution module 302 are established from Priority Determination module 301 reads priority less than the
Second access terminal of one access terminal 402.
S515, it is the code check that the first access terminal 402 or the second access terminal redefine reduction.
In this step, when the code check that the second access terminal is currently distributed not is lowest bit rate, perform as the second access eventually
The step of end redefines the code check of reduction, otherwise, performs the step for the code check that reduction is redefined for the first access terminal 402
Suddenly.
S516, the code check informed code device management by the first access terminal 402 redefined or the second access terminal
Module 303.
S517, encoder management module 303 are according to the first access terminal 402 or the second access terminal redefined
Code check determines or generates the live multimedia stream of corresponding code check, and is sent to corresponding access terminal.
Through the above description of the embodiments, those skilled in the art can be understood that the embodiment of the present invention
The mode of necessary general hardware platform can also be added to realize by software by hardware realization.Based on such reason
Solution, the technical solution of the embodiment of the present invention can be embodied in the form of software product, which can be stored in one
A non-volatile memory medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in, it is used including some instructions so that a meter
It calculates machine equipment (can be personal computer, server or the network equipment etc.) and performs side described in each embodiment of the present invention
Method.
It will be appreciated by those skilled in the art that attached drawing is the schematic diagram of a preferred embodiment, module or stream in attached drawing
Journey is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in embodiment can describe be divided according to embodiment
It is distributed in the device of embodiment, respective change can also be carried out and be disposed other than in one or more devices of the present embodiment.On
The module for stating embodiment can be merged into a module, can also be further split into multiple submodule.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and scope.In this way, if these modifications and changes of the present invention belongs to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these modification and variations.
Claims (10)
- A kind of 1. method of terminal screen live streaming, which is characterized in that including:After the first access terminal accesses live streaming terminal, the priority of first access terminal is determined according to preset rules;Distribute the priority corresponding code check for first access terminal;The live multimedia stream that will be generated according to the code check is sent to first access terminal.
- 2. the method as described in claim 1, which is characterized in that pre-set at least two code checks, and correspond to each code check One group of priority;Every group of priority includes at least one priority, and comprising priority it is higher one group of priority it is corresponding Code check is higher;The method further includes:Packet loss monitoring is carried out to the live multimedia stream sent to first access terminal;When monitoring that packet loss is more than default packet loss threshold value, second access of the priority less than first access terminal is determined Terminal;If currently the code check for second access terminal distribution is not lowest bit rate in pre-set code check, to be described Second access terminal, which is distributed in the pre-set code check, is less than the of the current code check for second access terminal distribution One code check;After first code check is assigned with for second access terminal, further include:The live multimedia stream that will be generated according to first code check, is sent to second access terminal.
- 3. method as claimed in claim 2, which is characterized in that first code check belongs to the pre-set code check, and To be less than the maximal rate in the code check for being currently the second access terminal distribution code check.
- 4. method as claimed in claim 2, which is characterized in that further include:If currently the code check for second access terminal distribution is the lowest bit rate in pre-set code check, and is currently institute The code check for stating the distribution of the first access terminal is not the lowest bit rate in pre-set code check, then is first access terminal point With the second code check for being less than the currently code check for first access terminal distribution in the pre-set code check;After second code check is assigned with for first access terminal, further include:The live multimedia stream that will be generated according to second code check, is sent to first access terminal.
- 5. method as claimed in claim 4, which is characterized in that second code check belongs to the pre-set code check, and To be less than the maximal rate in the code check for being currently the first access terminal distribution code check.
- 6. such as claim 1,2 or 4 any one of them methods, which is characterized in that the live streaming that will be generated according to the code check of distribution Media stream is sent to corresponding access terminal, specifically includes:If there is currently live multimedia stream has been generated, the live multimedia stream is according to the code check distributed for corresponding access terminal Generation, then be sent to the corresponding access terminal by the live multimedia stream;If there is currently no live multimedia stream has been generated, the live multimedia stream is according to the code distributed for corresponding access terminal Rate generates, then generates live multimedia stream according to the code check for corresponding access terminal distribution, and be sent to the corresponding access eventually End.
- 7. a kind of terminal of terminal screen live streaming, which is characterized in that including:After accessing live streaming terminal in the first access terminal, described the is determined according to preset rules for Priority Determination module The priority of one access terminal;Data Rate Distribution module, for distributing the priority corresponding code check for first access terminal;Encoder management module for the live multimedia stream that will be generated according to the code check, is sent to first access eventually End.
- 8. terminal as claimed in claim 7, which is characterized in that further include:Packet loss monitoring modular;The packet loss monitoring modular, for carrying out packet loss monitoring to the live multimedia stream sent to first access terminal;The Priority Determination module is additionally operable to be more than default packet loss threshold value when the packet loss monitoring module monitors to packet loss When, determine that priority is less than the second access terminal of first access terminal;The Data Rate Distribution module, if it is not pre-set code to be additionally operable to the code check currently for second access terminal distribution Lowest bit rate in rate is currently then described second to be less than in the second access terminal distribution pre-set code check First code check of the code check of access terminal distribution;The encoder management module is additionally operable to be assigned with described the in the Data Rate Distribution module for second access terminal After one code check, the live multimedia stream that will be generated according to first code check is sent to second access terminal;Wherein, at least two code checks are pre-set, and each code check is made to correspond to one group of priority;Every group of priority includes at least one A priority, and comprising priority it is higher the corresponding code check of one group of priority it is higher.
- 9. terminal as claimed in claim 8, which is characterized in that the Data Rate Distribution module, if being additionally operable to currently as described the The code check of two access terminals distribution is the lowest bit rate in pre-set code check, and is currently distributed for first access terminal Code check be not the lowest bit rate in pre-set code check, then be that first access terminal distributes the pre-set code It is less than the second code check of the currently code check for first access terminal distribution in rate;The encoder management module is additionally operable to be assigned with described the in the Data Rate Distribution module for first access terminal After two code checks, the live multimedia stream that will be generated according to second code check is sent to first access terminal.
- 10. such as claim 7-9 any one of them terminals, which is characterized in that the encoder management module, if specifically for There is currently live multimedia stream has been generated, the live multimedia stream is generated according to the code check distributed for corresponding access terminal, The live multimedia stream is then sent to the corresponding access terminal;It is if described there is currently no having generated live multimedia stream Live multimedia stream is generated according to the code check for corresponding access terminal distribution, then is given birth to according to the code check for corresponding access terminal distribution Into live multimedia stream, and it is sent to the corresponding access terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611028850.8A CN108093294A (en) | 2016-11-21 | 2016-11-21 | A kind of terminal screen live broadcasting method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611028850.8A CN108093294A (en) | 2016-11-21 | 2016-11-21 | A kind of terminal screen live broadcasting method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108093294A true CN108093294A (en) | 2018-05-29 |
Family
ID=62168153
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611028850.8A Pending CN108093294A (en) | 2016-11-21 | 2016-11-21 | A kind of terminal screen live broadcasting method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108093294A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110519609A (en) * | 2019-07-23 | 2019-11-29 | 广州易方信息科技股份有限公司 | A method of illegal bootlegging broadcasting when monitoring live streaming |
CN112822519A (en) * | 2020-12-30 | 2021-05-18 | 杭州雾联科技有限公司 | Video stream streaming method, device and equipment for sharing video pictures by multiple users |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103686227A (en) * | 2012-09-17 | 2014-03-26 | 南京中兴力维软件有限公司 | Method, device and system for capturing and coding audio/video of mobile terminal |
CN104333767A (en) * | 2014-10-10 | 2015-02-04 | 厦门雅迅网络股份有限公司 | Multi-channel priority control method and system for vehicle video monitoring system |
WO2015140695A1 (en) * | 2014-03-17 | 2015-09-24 | Ericsson Ab | Bandwidth management in a content distribution network |
CN105049879A (en) * | 2015-06-11 | 2015-11-11 | 西北工业大学 | Two-stage resource allocation method for guaranteeing QoE of video streaming service in WLAN |
-
2016
- 2016-11-21 CN CN201611028850.8A patent/CN108093294A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103686227A (en) * | 2012-09-17 | 2014-03-26 | 南京中兴力维软件有限公司 | Method, device and system for capturing and coding audio/video of mobile terminal |
WO2015140695A1 (en) * | 2014-03-17 | 2015-09-24 | Ericsson Ab | Bandwidth management in a content distribution network |
CN104333767A (en) * | 2014-10-10 | 2015-02-04 | 厦门雅迅网络股份有限公司 | Multi-channel priority control method and system for vehicle video monitoring system |
CN105049879A (en) * | 2015-06-11 | 2015-11-11 | 西北工业大学 | Two-stage resource allocation method for guaranteeing QoE of video streaming service in WLAN |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110519609A (en) * | 2019-07-23 | 2019-11-29 | 广州易方信息科技股份有限公司 | A method of illegal bootlegging broadcasting when monitoring live streaming |
CN112822519A (en) * | 2020-12-30 | 2021-05-18 | 杭州雾联科技有限公司 | Video stream streaming method, device and equipment for sharing video pictures by multiple users |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105723680B (en) | Method and computer device for audio distribution | |
US10848433B2 (en) | Method for distributing available bandwidth of a network amongst ongoing traffic sessions run by devices of the network, corresponding device | |
CN102427585B (en) | Interconnection method for base station and access network system | |
CN104540176B (en) | Wireless network access method, device and terminal | |
KR20080076803A (en) | Bandwidth requesting system, bandwidth requesting device, client device, bandwidth requesting method, content playback method, and program | |
US20210306221A1 (en) | Profile generation for bandwidth management | |
CN104254109A (en) | User equipment, base station, streaming media adaptive transmission system and method | |
US10284678B2 (en) | Bandwidth management based on profiles | |
KR102494603B1 (en) | Distribution of bandwidth in the network | |
CN105684390A (en) | Method and device for reserving bandwidth for an adaptive streaming client | |
CN102546631A (en) | Communication method and device for wireless virtual access point and access point equipment | |
CN108093294A (en) | A kind of terminal screen live broadcasting method and terminal | |
US20150163853A1 (en) | Mobile communication terminal having multiple communication interfaces, and cooperative data communication method thereof | |
CN101511007B (en) | Method, equipment and system for implementing picture record in network video monitoring system | |
CN108259815B (en) | Video key frame forwarding method and device and video live broadcast system | |
US20160323780A1 (en) | Method and apparatus for using call admission control for client balancing | |
JP2009118220A (en) | Mobile communication system, radio channel controller, mobile station, exchange, and radio channel control method | |
JP2013258456A (en) | Processing resource equalization device and processing resource equalization method | |
JP2009055347A (en) | Base station device | |
CN102164124A (en) | Multimedia distribution method and system as well as terminal | |
CN104918065A (en) | RTSP-based system and method for realizing mobile audio and video live broadcast | |
RU2804870C2 (en) | Method and device for band distribution in network | |
US8169907B1 (en) | Method and system for delivering a multi-user packet | |
CN108370524A (en) | The data transmission method and device of data service | |
JP6164298B2 (en) | Radio communication system, radio communication terminal, radio communication system control method, and program |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180529 |