CN107257496A - A kind of live control method, device and mobile terminal - Google Patents
A kind of live control method, device and mobile terminal Download PDFInfo
- Publication number
- CN107257496A CN107257496A CN201710448259.6A CN201710448259A CN107257496A CN 107257496 A CN107257496 A CN 107257496A CN 201710448259 A CN201710448259 A CN 201710448259A CN 107257496 A CN107257496 A CN 107257496A
- Authority
- CN
- China
- Prior art keywords
- live
- plug
- target
- flow address
- flow
- 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/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- 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/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling 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/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/44213—Monitoring of end-user related data
- H04N21/44218—Detecting physical presence or behaviour of the user, e.g. using sensors to detect if the user is leaving the room or changes his face expression during a TV program
-
- 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/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/65—Transmission of management data between client and server
- H04N21/658—Transmission by the client directed to the server
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Social Psychology (AREA)
- Computer Networks & Wireless Communication (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
This application provides a kind of live control method, device and mobile terminal, by being forced to stop playing live, and when receiving live typing recovery request, mobile terminal as main broadcaster user is held into plug-flow address used in before live stopping gather and upload the target plug-flow address that live data uses again and obtained, can make to have stopped live being quickly resumed, so as to proceed the broadcasting of live picture, terminating current live and arrive to re-execute the problem of time value that whole starts broadcasting flow and to obtain a new plug-flow address continue spent by live whole process is longer to solve main broadcaster user, it can be seen that, live preceding used plug-flow address will be stopped and be used as the target plug-flow address for realizing that continuation is live, main broadcaster user can effectively be reduced and hold operating process and time that mobile terminal proceeds live required execution, on the basis of the live stand-by period of reduction main broadcaster user, improve the live-experience degree of user.
Description
Technical field
It is to be related to a kind of live control method, device and shifting in particular the present invention relates to Internet technical field
Dynamic terminal.
Background technology
With the fast development of mobile Internet, live software is installed in mobile terminal and carries out live meet between user
The demand of real-time interactive is carried out, the main social means of user's favor are increasingly becoming.However, being carried out using mobile terminal live
During, often meet with that other business scenarios on the mobile terminal are such as sent a telegram here, short message is interrupted, at this time, it may be necessary to which main broadcaster exists
It is live with switching over processing between a certain business scenario that currently occurs.
At present, the live-broadcast control method on mobile terminal, which is mainly, is receiving the notice that a certain business scenario of prompting occurs
Message, and after clicking on and checking, terminate current live, and be switched in the business scenario, so that user is handled in time, it
Afterwards, user to obtain new plug-flow address new live to open.However, handling a certain business using existing live-broadcast control method
Scene is when a situation arises, it is necessary to FEFO current live, and after the business scenario has been handled, re-executes once all
The flow that starts broadcasting, to obtain a new plug-flow address, could continue with other users carry out it is live, so as to cause main broadcaster user
Held mobile terminal is live relatively complicated to proceed live institute's operation to be performed to starting broadcasting again from terminating, and then causes
The consuming time is longer, adds the live stand-by period of main broadcaster user.
The content of the invention
In view of this, the invention provides a kind of live control method, device and mobile terminal, reduce main broadcaster and held
Mobile terminal proceeds live required operating procedure and time, and then reduces the stand-by period of main broadcaster user.
To achieve the above object, the present invention provides following technical scheme:
A kind of live control method, applied to mobile terminal, including:
When receiving live typing pause request, stop live;
When receiving live typing recovery request, target plug-flow address is obtained, the target plug-flow address is described straight
Plug-flow address used in broadcasting before being stopped;
Gather and upload live data to the target plug-flow address, carry out live play.
It is preferably, described that when receiving live typing pause request, stopping is live, including:
When receiving the live typing pause request, stop gathering and uploading the live data pushing away to the target
Flow address.
Preferably, it is described when receiving live typing recovery request, target plug-flow address is obtained, including:
When receiving the live typing recovery request, the live target stream name is determined, the target stream is entitled
It is described it is live started broadcasting before being stopped used in flow name, and the target stream name it is relative with the target plug-flow address
Should;
Send the target stream name and arrive server;
Receive the target plug-flow address that the server is sent.
Preferably, it is described after the transmission target stream name to server, in addition to:
Receive the target plug-flow address failure information that the server is sent;
Alternative plug-flow address acquisition request is sent to the server;
The alternative plug-flow address that the server is sent is received, the target plug-flow address, the alternative plug-flow is used as
The address correspondence target stream name.
Preferably, it is described when receiving live typing recovery request, target plug-flow address is obtained, including:
When receiving the live typing recovery request, the live target stream name is determined, the target stream is entitled
It is described it is live started broadcasting before being stopped used in flow name, and the target stream name it is relative with the target plug-flow address
Should;
The plug-flow address of correspondence target stream name is matched from plug-flow address base, it is described as the target plug-flow address
Plug-flow address base is pre-established.
A kind of live control device, including:
Live stopping modular, for when receiving live typing pause request, stopping live;
Acquisition module, for when receiving live typing recovery request, obtaining target plug-flow address, the target plug-flow
Address is the live plug-flow address used before being stopped;
Live play module, for gathering and uploading live data to the target plug-flow address, carries out live play.
Preferably, the acquisition module, including:
First determining module, for when receiving the live typing recovery request, determining the live target stream
Name, the target stream it is entitled it is described it is live started broadcasting before being stopped used in stream name, and the target stream with it is described
Target plug-flow address is corresponding;
First sending module, server is arrived for sending the target stream name;
First receiving module, for receiving the target plug-flow address that the server is sent.
Preferably, the acquisition module also includes:
Second receiving module, for after first sending module transmission target stream name to server, receiving
The target plug-flow address failure information that the server is sent;
Second sending module, in second receiving module with receiving the target plug-flow that the server is sent
After the fail message of location, send alternative plug-flow address acquisition to the server and ask;
3rd receiving module, please for sending alternative plug-flow address acquisition to the server in second sending module
After asking, the alternative plug-flow address that the server is sent is received, as the target plug-flow address, the alternative plug-flow
The location correspondence target stream name.
Preferably, the acquisition module, including:
Second determining module, for when receiving the live typing recovery request, determining the live target stream
Name, the target stream it is entitled it is described it is live started broadcasting before being stopped used in stream name, and the target stream with it is described
Target plug-flow address is corresponding;
3rd determining module, the plug-flow address for matching correspondence target stream name from plug-flow address base, as described
Target plug-flow address, the plug-flow address base is pre-established.
A kind of mobile terminal, including memory and processor;
The memory, for storage program;
The processor, for handling described program, wherein, described program includes:
When receiving live typing pause request, stop live;
When receiving live typing recovery request, target plug-flow address is obtained, the target plug-flow address is described straight
Plug-flow address used in broadcasting before being stopped;
Gather and upload live data to the target plug-flow address, carry out live play.
Via above-mentioned technical scheme understand, compared with prior art, the invention provides a kind of live control method,
Device and mobile terminal, by being forced to stop playing live, and when receiving live typing recovery request, before live stopping
Used plug-flow address, which holds mobile terminal as main broadcaster user and gathers again and upload target used in live data, to push away
Stream address is obtained, can make to have stopped it is live be quickly resumed, so as to proceed the broadcasting of live picture, with solution
To whole is re-executed, to start broadcasting flow live to continue to obtain a new plug-flow address terminating current live by main broadcaster user
Whole process spent by time value it is longer the problem of, it is seen then that will stop it is live before used in plug-flow address be used as realization
Continue live target plug-flow address, can effectively reduce main broadcaster user hold mobile terminal proceed it is live needed for execution
Operating process and time, on the basis of the live stand-by period of reduction main broadcaster user, improve the live-experience degree of user.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of method flow diagram of live control method provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram of the acquisition methods of target plug-flow address provided in an embodiment of the present invention;
Fig. 3 is the method flow diagram of the acquisition methods of another target plug-flow address provided in an embodiment of the present invention;
Fig. 4 is the method flow diagram of another live control method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of live control device provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of the acquisition device of target plug-flow address provided in an embodiment of the present invention;
Fig. 7 is the structural representation of the acquisition device of another target plug-flow address provided in an embodiment of the present invention;
Fig. 8 is the structural representation of another live control device provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of live control method, accompanying drawing 1 is referred to, methods described specifically includes following
Step:
S101:When receiving live typing pause request, stop live;
Specifically, main broadcaster user hold mobile terminal can by main broadcaster user during live, because find main broadcaster user
One for occurring non-immediate processing anomalous event on held mobile terminal and clicking on the This move of screen as it and receiving is straight
Broadcast typing pause request.Wherein, main broadcaster user is the user for taking on host during network direct broadcasting, and main broadcaster user holds shifting
Dynamic terminal is network access device used in main broadcasting user enters performing network living broadcast activity, can be included:Smart mobile phone, flat board electricity
Brain etc.;It is mobile whole not need main broadcaster user to be held that main broadcaster user holds the non-immediate processing anomalous event occurred on mobile terminal
End is automatically stopped the anomalous event of current live immediately, can include:SMS notification, instant messaging APP instant message are notified
Deng.For example, main broadcaster user A find its hold occurred in that on mobile phone indicate new message arrive SMS notification when, meeting
The SMS notification is clicked on, now, mobile phone can just receive a live typing pause request, so that stopping currently being entered in time
Capable is live.
Main broadcaster user holds mobile terminal can also be by during main broadcaster's user live broadcast, and main broadcaster user is held on mobile terminal
The anomalous event that immediately treats occurred is asked as a live typing pause received by it, so as to stop live.Its
In, main broadcaster user hold occur on mobile terminal immediately treat anomalous event to need main broadcaster user to be held mobile terminal immediately
The anomalous event of current live is automatically stopped, can be included:Call-in reporting.For example, main broadcaster user B is in discovery, it holds hand
Occurred in that on machine when indicating call-in reporting that new incoming call arrives, mobile phone can be automatically stopped immediately it is current ongoing live,
So that main broadcaster user B is answered to the incoming call.
S102:When receiving live typing recovery request, target plug-flow address is obtained, the target plug-flow address is institute
State live plug-flow address used in before being stopped;
Specifically, main broadcaster user stop because of the generation of anomalous event it is live after, it can be held mobile terminal work as
The anomalous event of preceding generation is handled, and after the anomalous event has been handled, live in order to continue to be interrupted before,
Need to recover live again.Now, main broadcaster user can hold mobile terminal to it and send a live typing recovery request, so as to
The target plug-flow address for being used for realizing that continuation is live is obtained in time.Wherein, main broadcaster user hold mobile terminal at it can be by master
After the anomalous event that broadcasting user occurs before having been handled thereon, the action for switching back into live stopping picture being clicked on as the movement
The live typing recovery request that terminal is received.For example, main broadcaster user C is after call-in reporting has been handled, click is cut
Live picture is carried out before changing to, now, main broadcaster user, which holds mobile terminal, can obtain the live required plug-flow of continuation immediately
Address, i.e. target plug-flow address.
Plug-flow address is mainly used in the communication link that main broadcaster user uploads onto the server the live data collected, so as to
These live datas are forwarded to be held to the live user of multiple viewings on mobile terminal by server, so as to realize main broadcaster user
Living broadcast interactive is carried out with watching between live user.And this programme directly by midway be stopped it is live before it used in
Plug-flow address has been handled as the main broadcaster user after the anomalous event of generation, with proceeding the live required target plug-flow used
Location, is obtained consumed time value, can be held less than main broadcaster user mobile terminal carried out again from server it is once complete
The whole flow that starts broadcasting, to obtain the time value that a brand-new plug-flow address is consumed, so as to stop in simplified recovery live
On the basis of institute's operation to be performed step, the time value needed for live recovery is shortened.
If for example, the cause anomalous event that occurs and the live plug-flow used that is interrupted by main broadcaster user
Location for " address A ", then main broadcaster user want to recover this is interrupted it is live when, directly obtain " address A ", it is possible to rapid extensive
Multiple main broadcaster user holds the communication link between mobile terminal and server, the start broadcasting stream complete without going to perform again once
Journey, obtains the operation such as new plug-flow address from server again.
S103:Gather and upload live data to the target plug-flow address, carry out live play;
Specifically, after reacquiring to target plug-flow address, the current newest live data collected is uploaded in time
Into the target plug-flow address, server is transferred to so as to rapid, and then realize between the live multiple users of other viewings
Living broadcast interactive.
The acquisition mode that main broadcaster user holds live data on mobile terminal can be by itself having on the mobile terminal
The collecting devices such as some cameras, voice microphone come realize collection or by camera external on the mobile terminal,
The collecting devices such as voice microphone realize collection.
A kind of live control method disclosed in the embodiment of the present invention, applied to mobile terminal, by being forced live
Stop playing, and when receiving live typing recovery request, regard used plug-flow address before live stopping as main broadcaster user
Held mobile terminal gathers and uploaded the target plug-flow address that live data uses and obtained again, can make to have stopped
It is live be quickly resumed, so as to proceed the broadcasting of live picture, current live is being terminated to weighing to solve main broadcaster user
It is new perform all start broadcasting flow and continued with obtaining a new plug-flow address time value spent by live whole process compared with
Long the problem of, it is seen then that live preceding used plug-flow address will be stopped as the live target plug-flow address of continuation is realized, can
Effectively reduction main broadcaster user holds operating process and the time that mobile terminal proceeds live required execution, is used in reduction main broadcaster
On the basis of the live stand-by period at family, the live-experience degree of user is improved.
Referring also to accompanying drawing 1, the process that implements of the S101 in embodiment corresponding to above-mentioned Fig. 1 includes:
When receiving the live typing pause request, stop gathering and uploading the live data pushing away to the target
Flow address.
In the embodiment of the present invention, by stopping gathering and uploading current newest live data, main broadcaster can be interrupted immediately
Live between user and other live users of viewing is exchanged, so that main broadcaster user can quickly go the abnormal thing that processing occurs
Part, also subsequently to recover the live saving time again.
When receiving live typing recovery request, how quick obtaining is to target plug-flow address, is for rapid recovery
Stop live replaying the important step of live data.Therefore, how quick obtaining target plug-flow address is we
A case emphasis of interest.
Therefore for the S102 in embodiment corresponding to above-mentioned Fig. 1, as shown in Fig. 2 the embodiment of the invention discloses a kind of mesh
The acquisition methods of plug-flow address are marked, methods described specifically includes following steps:
S201:When receiving the live typing recovery request, the live target stream name, the target stream are determined
It is entitled it is described it is live started broadcasting before being stopped used in flow name, and the target stream name and the target plug-flow address phase
Correspondence;
Specifically, because what is be stopped because receiving live typing pause request live starts broadcasting flow in its first execution
Come open it is live during, it is necessary to this live required stream name first be obtained from server, afterwards, according to the stream obtained
Name obtain a plug-flow address again, live unlatching could be realized, so as to by subsequent acquisition to live data upload plug-flow arrive
Server.Therefore, in order to quickly obtain target plug-flow address, spent time when subsequently recovering live to reduce from server
Value, main broadcaster user holds mobile terminal can be by accessed target stream during live before being stopped is started broadcasting
Recorded, joined as the live matching for carrying out obtaining target plug-flow address from server during live play is recovered again
System.
If being automatically stopped because of SMS notification current live for example, main broadcaster holds mobile phone, and this live is stopped
Only it is preceding started broadcasting used in target stream entitled " stream name A " then holds after mobile phone checked short message in main broadcaster, switched back into again
It is live be stopped before live picture when, its hold that mobile phone just stored automatically " stream name A " is sent directly to service
Device, which goes to obtain, is stopped the live plug-flow address used before, and new stream is obtained so as to avoid and be performed again from server
This necessity of name starts broadcasting flow, saves recovery and has stopped live part-time value, it is to avoid user waits for a long time.
S202:Send the target stream name and arrive server;
Specifically, server-assignment holds the target stream name used when mobile terminal carries out live to each main broadcaster user
There is incidence relation between target plug-flow address, so that holding mobile terminal by target stream name in main broadcaster user is sent to service
After device, it can quickly receive server and match the target plug-flow address with the target stream name with incidence relation come,
Reduce indirectly and recover live spent time value.
S203:Receive the target plug-flow address that the server is sent;
Specifically, because server can be according to the target stream name received with matching corresponding target plug-flow
Location, therefore, main broadcaster user, which holds mobile terminal and can be subsequently received to be stopped, live to be used to continue to the live number of server plug-flow
According to target plug-flow address.
In the embodiment of the present invention, by sending target stream name to server, quickly can be received from the server and
The corresponding target plug-flow address of target stream famous prime minister, both reduces to recover to be stopped the live part for having to perform and starts broadcasting stream
Journey, saves main broadcaster user and holds the part-time that mobile terminal proceeds live required consumption again.
Accompanying drawing 3 is referred to, on the basis of embodiment corresponding to above-mentioned Fig. 2, the embodiment of the invention discloses another mesh
The acquisition methods of plug-flow address are marked, methods described specifically includes following steps:
S301:When receiving the live typing recovery request, the live target stream name, the target stream are determined
It is entitled it is described it is live stop it is live before started broadcasting used in stream name, and the target stream and the target plug-flow address
It is corresponding.
S302:Send the target stream name and arrive server.
S303:Receive the target plug-flow address failure information that the server is sent;
Specifically, due to target plug-flow address used in main broadcaster's user live broadcast exist it is ageing, therefore, in main broadcaster user
In the case that the anomalous event spent time that finds by processing is longer, it goes to obtain target from server again depending on target stream name
During plug-flow address, will meet with because stored in server with the target plug-flow address corresponding to target stream name for a long time not on
The situation for passing live data and failing, now, the mobile terminal that main broadcaster user is held can be timely received and sent by server
Target plug-flow address failure information so that the mobile terminal know it is live before being stopped used in plug-flow address lost
Effect, it is impossible to be continuing with, be easy to that main broadcaster user holds that mobile terminal quickly takes other processing means to recover to have stopped is straight
Broadcast.
Target plug-flow address failure information can be that the target plug-flow address for showing correspondence target stream name can not continue for master
Broadcasting user holds the information that mobile terminal uploads live data, such as " obtaining the failure of target plug-flow address ", " loses target plug-flow address
Effect ", " target plug-flow address is unavailable " etc..
S304:Alternative plug-flow address acquisition request is sent to the server;
Specifically, main broadcaster user holds mobile terminal know by receiving target plug-flow address failure information can not be after
It is continuous using an alternative plug-flow address acquisition request during plug-flow address, can be sent used in live before being stopped in time to servicing
Device, is used to upload live data to reacquire a plug-flow address from the server.
Alternative plug-flow address acquisition request can be the information for demonstrating the need for reacquiring plug-flow address, such as " reacquire
New plug-flow address ", " changing plug-flow address " etc..
S305:The alternative plug-flow address that the server is sent is received, it is described alternative as the target plug-flow address
The plug-flow address correspondence target stream name;
Specifically, causing live be stopped in order to avoid the time that the anomalous event occurred is handled because of main broadcaster user is longer
Occur used in preceding the problem of plug-flow address failure, server can hold mobile terminal using it in main broadcaster user and carry out for the first time
When starting broadcasting, at least one alternative plug-flow address of same stream name corresponding with target plug-flow address is generated, so as to make main broadcaster
User holds mobile terminal and quickly receives the alternative plug-flow address that server is matched according to target stream name, on follow-up
Pass target plug-flow address used in the live data newly produced.
In the embodiment of the present invention, by after the target plug-flow address failure information that server is sent is received, in time
Alternative plug-flow address acquisition request is sent, so as to which quick receive server is matched according to target stream name and target
The corresponding alternative plug-flow address of name is flowed, so that on the premise of plug-flow address failure used in before live be stopped, using standby
Select plug-flow address and continue live purpose to realize, effectively prevent main broadcaster user it is complete by performing flow is started broadcasting to obtain
The problem of one brand-new plug-flow address can just proceed live, shortens main broadcaster user live to again extensive in stopping indirectly
Time value spent by the multiple live whole process.
On the basis of embodiment corresponding to above-mentioned Fig. 1, the embodiment of the invention discloses another live control method,
Accompanying drawing 4 is referred to, methods described specifically includes following steps:
S401:When receiving live typing pause request, stop live.
S402:When receiving the live typing recovery request, the live target stream name, the target stream are determined
It is entitled it is described it is live stop it is live before started broadcasting used in stream name, and the target stream and the target plug-flow address
It is corresponding;
Mobile terminal is held in first start broadcasting specifically, target stream name can be main broadcaster user, will be obtained from server
Stream name store gained.And be stored in the target stream of mobile terminal name be stopped it is live between exist and associate
Relation, so as to when receiving live typing recovery request and recovering the live progress that has been stopped again and continue to play, soon
Speed determines the live corresponding target stream name being stored on the mobile terminal with being stopped, to reach that effectively reduction is led
Broadcasting user holds the operating process and the purpose of time that mobile terminal recovers execution needed for having stopped live playing out, Jin Erti
Rise the live-experience degree of user.
S403:The plug-flow address of correspondence target stream name is matched from plug-flow address base, as the target plug-flow address,
The plug-flow address base is pre-established;
Set up specifically, plug-flow address base can be held in main broadcaster user in advance on mobile terminal, for depositing currently
The live accessed plug-flow address during starting broadcasting for the first time being stopped.And the target plug-flow stored in plug-flow address base
There is incidence relation in location, with target stream name therefore, it is possible to utilize the target stream name Rapid matching from plug-flow address base determined
Go out the plug-flow address that there is incidence relation with it, as recovering to be stopped live required target plug-flow address, so as to avoid
Information exchange is carried out between execution and server and this flow of target plug-flow address is obtained, and is further reduced recovery and has been stopped
Only live overall consuming time value, and then improve the live-experience of user, it is to avoid the problem of occurring to wait the long period.
S404:Gather and upload live data to the target plug-flow address, carry out live play.
Above step S402~step S403 is only " to recover to ask receiving live typing disclosed in the embodiment of the present invention
When asking, target plug-flow address is obtained " a kind of preferred implementation of process, the specific implementation about this process can basis
Actual demand is arbitrarily set, and is not limited herein.
A kind of live control method disclosed in the embodiment of the present invention, by being forced to stop playing live, and is received
During to live typing recovery request, the target stream name that mobile terminal is determined is held using main broadcaster user, from what is pre-established
Matched in plug-flow address base to should the plug-flow address of target stream name live continue to gather and upload as recovering to be stopped
Target plug-flow address needed for current newest live data, it is to avoid obtain from server the step flow of target plug-flow address,
And then reached reduction recover to be stopped it is live re-start play needed for the part that performs start broadcasting the purpose of flow, effectively drop
Low main broadcaster user holds mobile terminal and proceeds the live required time.
The embodiment of the invention discloses a kind of live control device, accompanying drawing 5 is referred to, described device includes:
Live stopping modular 501, for when receiving live typing pause request, stopping live;
Acquisition module 502, for when receiving live typing recovery request, obtaining target plug-flow address, the target
Plug-flow address for it is described it is live be stopped it is live before used in plug-flow address;
Live play module 503, for gathering and uploading live data to the target plug-flow address, carries out live broadcast
Put.
A kind of live control device disclosed in the embodiment of the present invention, by being forced to stop playing live, and is received
During to live typing recovery request, pushed away used in before the live stopping that live play module 503 gets acquisition module 502
Mobile terminal is held as main broadcaster user and gathers and upload the target plug-flow address that live data is used, energy again in stream address
Enough make to have stopped it is live be quickly resumed, so as to proceed the broadcasting of live picture, terminating to work as to solve main broadcaster user
It is preceding live all to start broadcasting flow to obtain a new plug-flow address and continue spent by live whole process to re-executing
Time value it is longer the problem of, it is seen then that will stop it is live before used in plug-flow address as realizing that continuing live target pushes away
Address is flowed, can effectively reduce main broadcaster user and hold operating process and time that mobile terminal proceeds live required execution,
On the basis of the live stand-by period of reduction main broadcaster user, the live-experience degree of user is improved.
The course of work of modules provided in an embodiment of the present invention, refer to the method flow diagram corresponding to accompanying drawing 1, tool
Body running process is repeated no more.
Accompanying drawing 6 is referred to, the acquisition module 502 in embodiment corresponding to above-mentioned Fig. 5 is specifically included:
First determining module 5021, for when receiving the live typing recovery request, determining the live mesh
Mark stream name, the target stream it is entitled it is described it is live started broadcasting before being stopped used in stream name, and the target stream and
The target plug-flow address is corresponding;
First sending module 5022, server is arrived for sending the target stream name;
First receiving module 5023, for receiving the target plug-flow address that the server is sent.
In the embodiment of the present invention, target stream name is sent to server by the first sending module 5022, first can be made to connect
Receive module 5023 and target plug-flow address corresponding with target stream famous prime minister is quickly received from the server, both reduce recovery
The live part for having to perform is stopped to start broadcasting flow, save again main broadcaster user hold mobile terminal proceed it is live
The part-time of required consumption.
The course of work of modules provided in an embodiment of the present invention, refer to the method flow diagram corresponding to accompanying drawing 2, tool
Body running process is repeated no more.
Accompanying drawing 7 is referred to, on the basis of embodiment corresponding to above-mentioned Fig. 6, acquisition module 502 is specifically included:
First determining module 5021, the first sending module 5022, the second receiving module 5024, the second sending module 5025,
3rd receiving module 5026;
Wherein, second receiving module 5024, for sending the target stream name in first sending module 5022
To after server, the target plug-flow address failure information that the server is sent is received;
Second sending module 5025, sends for receiving the server in second receiving module 5024
Target plug-flow address failure information after, send alternative plug-flow address acquisition to the server and ask;
3rd receiving module 5026, is alternatively pushed away for being sent in second sending module 5025 to the server
Flow after address acquisition request, receive the alternative plug-flow address that the server is sent, be used as the target plug-flow address, institute
State the alternative plug-flow address correspondence target stream name.
In the embodiment of the present invention, by receiving the target plug-flow address that server is sent in the second receiving module 5024
After fail message, the second sending module 5025 sends alternative plug-flow address acquisition request and arrives server in time, so as to the 3rd reception
Module 5026 is with can quickly receiving the alternative plug-flow corresponding with target stream name that server is matched according to target stream name
Location, so that on the premise of plug-flow address failure used in before live be stopped, continuation is realized using alternative plug-flow address
Live purpose, effectively prevent main broadcaster user it is complete by performing flow is started broadcasting to obtain a brand-new plug-flow address
The problem of proceeding live, shortens main broadcaster user and is consumed to recovering the live whole process again stopping live indirectly
The time value taken.
The course of work of modules provided in an embodiment of the present invention, refer to the method flow diagram corresponding to accompanying drawing 3, tool
Body running process is repeated no more.
On the basis of embodiment corresponding to above-mentioned Fig. 5, the embodiment of the invention discloses another live control device,
Accompanying drawing 8 is referred to, described device includes:
Live stopping modular 501, acquisition module 502, live play module 503;
Wherein, the acquisition module 502 includes:Second determining module 5027 and the 3rd determining module 5028;
Wherein, second determining module 5027, for when receiving the live typing recovery request, it is determined that described
Live target stream name, the target stream it is entitled it is described it is live started broadcasting before being stopped used in stream name, and the mesh
Mark stream name is corresponding with the target plug-flow address;
3rd determining module 5028, the plug-flow address for matching correspondence target stream name from plug-flow address base, as
The target plug-flow address, the plug-flow address base is pre-established.
A kind of live control device disclosed in the embodiment of the present invention, by being forced to stop playing live, and is received
During to live typing recovery request, the 3rd determining module 5028 holds mobile whole using the second determining module 5027 from main broadcaster user
The determined target stream name in end, matched from the plug-flow address base pre-established to should the plug-flow address of target stream name make
To recover to be stopped the live target plug-flow address continued needed for gathering and uploading current newest live data, it is to avoid from clothes
Business device obtains the step flow of target plug-flow address, and then has reached that reduction recovery has been stopped live re-start and has played required
Start broadcasting the purpose of flow for the part of execution, when effectively reducing main broadcaster user and holding mobile terminal and proceed live required
Between.
The course of work of modules provided in an embodiment of the present invention, refer to the method flow diagram corresponding to accompanying drawing 4, tool
Body running process is repeated no more.
The embodiment of the invention discloses a kind of mobile terminal, accompanying drawing 8 is referred to, including:
Memory 601 and processor 602;
Wherein, the memory 601, for storage program;
The processor 602, for handling described program, wherein, described program includes:
When receiving live typing pause request, stop live;
When receiving live typing recovery request, target plug-flow address is obtained, the target plug-flow address is described straight
Plug-flow address used in broadcasting before being stopped;
Gather and upload live data to the target plug-flow address, carry out live play.
A kind of mobile terminal disclosed in the embodiment of the present invention, by processor 602 according to being prestored in memory 601
Program, be forced to stop playing live, and when receiving live typing recovery request, by plug-flow used in before live stopping
Address gathers and uploaded the target plug-flow address that live data uses and obtained again as it, can make what is stopped
It is live to be quickly resumed, so as to proceed the broadcasting of live picture, current live is being terminated to again to solve main broadcaster user
The time value that execution is all started broadcasting flow and continued with obtaining a new plug-flow address spent by live whole process is longer
The problem of, it is seen then that processor 602, which is performed, pushes away the live preceding used plug-flow address of stopping as the live target of realization continuation
The program of address is flowed, can effectively reduce the mobile terminal and proceed the live required operating process performed and time, in drop
On the basis of the live stand-by period of low main broadcaster user, the live-experience degree of user is improved.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or using the present invention.
A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one
The most wide scope caused.
Claims (10)
1. a kind of live control method, it is characterised in that applied to mobile terminal, including:
When receiving live typing pause request, stop live;
When receiving live typing recovery request, obtain target plug-flow address, the target plug-flow address for it is described it is live
Plug-flow address used in before being stopped;
Gather and upload live data to the target plug-flow address, carry out live play.
2. according to the method described in claim 1, it is characterised in that described when receiving live typing pause request, stop
It is live, including:
When receiving the live typing pause request, stop gathering and upload the live data to the target plug-flow
Location.
3. according to the method described in claim 1, it is characterised in that described when receiving live typing recovery request, obtain
Target plug-flow address, including:
When receiving the live typing recovery request, the live target stream name is determined, the target stream is entitled described
It is live started broadcasting before being stopped used in flow name, and the target stream name it is corresponding with the target plug-flow address;
Send the target stream name and arrive server;
Receive the target plug-flow address that the server is sent.
4. method according to claim 3, it is characterised in that described after the transmission target stream name to server,
Also include:
Receive the target plug-flow address failure information that the server is sent;
Alternative plug-flow address acquisition request is sent to the server;
The alternative plug-flow address that the server is sent is received, as the target plug-flow address, the alternative plug-flow address
The correspondence target stream name.
5. according to the method described in claim 1, it is characterised in that described when receiving live typing recovery request, obtain
Target plug-flow address, including:
When receiving the live typing recovery request, the live target stream name is determined, the target stream is entitled described
It is live started broadcasting before being stopped used in flow name, and the target stream name it is corresponding with the target plug-flow address;
The plug-flow address of correspondence target stream name is matched from plug-flow address base, the target plug-flow address, the plug-flow is used as
Address base is pre-established.
6. a kind of live control device, it is characterised in that including:
Live stopping modular, for when receiving live typing pause request, stopping live;
Acquisition module, for when receiving live typing recovery request, obtaining target plug-flow address, the target plug-flow address
For the live plug-flow address used before being stopped;
Live play module, for gathering and uploading live data to the target plug-flow address, carries out live play.
7. device according to claim 6, it is characterised in that the acquisition module, including:
First determining module, for when receiving the live typing recovery request, determining the live target stream name, institute
State target stream it is entitled it is described it is live started broadcasting before being stopped used in flow name, and the target stream name pushed away with the target
Flow address corresponding;
First sending module, server is arrived for sending the target stream name;
First receiving module, for receiving the target plug-flow address that the server is sent.
8. device according to claim 7, it is characterised in that the acquisition module also includes:
Second receiving module, for after first sending module transmission target stream name to server, receiving described
The target plug-flow address failure information that server is sent;
Second sending module, for receiving the target plug-flow address mistake that the server is sent in second receiving module
Imitate after information, send alternative plug-flow address acquisition to the server and ask;
3rd receiving module, it is asked for sending alternative plug-flow address acquisition to the server in second sending module
Afterwards, the alternative plug-flow address that the server is sent is received, as the target plug-flow address, the alternative plug-flow address pair
Answer the target stream name.
9. device according to claim 6, it is characterised in that the acquisition module, including:
Second determining module, for when receiving the live typing recovery request, determining the live target stream name, institute
State target stream it is entitled it is described it is live started broadcasting before being stopped used in flow name, and the target stream name pushed away with the target
Flow address corresponding;
3rd determining module, the plug-flow address for matching correspondence target stream name from plug-flow address base, is used as the target
Plug-flow address, the plug-flow address base is pre-established.
10. a kind of mobile terminal, it is characterised in that including memory and processor;
The memory, for storage program;
The processor, for handling described program, wherein, described program includes:
When receiving live typing pause request, stop live;
When receiving live typing recovery request, obtain target plug-flow address, the target plug-flow address for it is described it is live
Plug-flow address used in before being stopped;
Gather and upload live data to the target plug-flow address, carry out live play.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710448259.6A CN107257496A (en) | 2017-06-14 | 2017-06-14 | A kind of live control method, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710448259.6A CN107257496A (en) | 2017-06-14 | 2017-06-14 | A kind of live control method, device and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107257496A true CN107257496A (en) | 2017-10-17 |
Family
ID=60023864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710448259.6A Pending CN107257496A (en) | 2017-06-14 | 2017-06-14 | A kind of live control method, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107257496A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110858851A (en) * | 2018-08-24 | 2020-03-03 | 阿里巴巴集团控股有限公司 | Data connection restarting method, data processing method and device in live broadcast service |
CN112291629A (en) * | 2020-03-27 | 2021-01-29 | 北京字节跳动网络技术有限公司 | Interaction method and device and electronic equipment |
CN112738540A (en) * | 2020-12-25 | 2021-04-30 | 广州虎牙科技有限公司 | Multi-device live broadcast switching method, device and system, electronic device and readable storage medium |
CN113542786A (en) * | 2021-07-14 | 2021-10-22 | 广州智会云科技发展有限公司 | Live broadcasting method and device for restarting after broadcasting interruption |
Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101163230A (en) * | 2006-10-13 | 2008-04-16 | 贾波 | Method of performing on-site living broadcast and client terminal node preparation through network camera |
CN102264001A (en) * | 2010-05-25 | 2011-11-30 | 华为技术有限公司 | Method for enhancing multicast reliability of Internet protocol television (IPTV), server and system |
CN103152617A (en) * | 2013-03-28 | 2013-06-12 | 广东省广播电视网络股份有限公司 | Remote disaster tolerance system and method for interactive television |
CN103731753A (en) * | 2012-10-12 | 2014-04-16 | 上海聚力传媒技术有限公司 | Personal live video stream routing system and method |
CN104394432A (en) * | 2014-11-26 | 2015-03-04 | 广州华多网络科技有限公司 | Video studio creating method and service device |
CN104639867A (en) * | 2013-11-14 | 2015-05-20 | 中兴通讯股份有限公司 | Method and system for resuming video conferences |
US20150249851A1 (en) * | 2013-05-21 | 2015-09-03 | Shenzhen Tcl New Technology Co., Ltd | Controlling method, server, and terminal for cloud sharing of terminal data |
CN105025049A (en) * | 2014-04-22 | 2015-11-04 | 深圳市尼得科技有限公司 | Media stream storing method and apparatus |
CN105635175A (en) * | 2016-02-04 | 2016-06-01 | 北京奇艺世纪科技有限公司 | Load balancing method and system of RTMP streaming server |
CN105847874A (en) * | 2016-04-20 | 2016-08-10 | 乐视控股(北京)有限公司 | Live broadcasting device and live broadcasting terminal |
CN105933797A (en) * | 2016-05-18 | 2016-09-07 | 青岛海信宽带多媒体技术有限公司 | Live program broadcast starting method and device based on IPTV (Internet Protocol Television) |
CN106101845A (en) * | 2016-07-04 | 2016-11-09 | 天脉聚源(北京)传媒科技有限公司 | The creation method of a kind of net cast and device |
CN106105244A (en) * | 2016-06-12 | 2016-11-09 | 北京小米移动软件有限公司 | The method of uploaded videos, device and camera head |
CN106254951A (en) * | 2016-09-27 | 2016-12-21 | 腾讯科技(深圳)有限公司 | A kind of net cast creation method and system, access device, management equipment |
CN106454392A (en) * | 2016-11-24 | 2017-02-22 | 北京小米移动软件有限公司 | Live broadcast processing method, device and terminal |
CN106488335A (en) * | 2016-09-20 | 2017-03-08 | 北京小米移动软件有限公司 | Live-broadcast control method and device |
CN106534877A (en) * | 2016-10-24 | 2017-03-22 | 广州酷狗计算机科技有限公司 | Method and device for sending media stream |
CN106686395A (en) * | 2016-12-29 | 2017-05-17 | 北京奇艺世纪科技有限公司 | Illegal-video live-broadcast detection method and system |
-
2017
- 2017-06-14 CN CN201710448259.6A patent/CN107257496A/en active Pending
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101163230A (en) * | 2006-10-13 | 2008-04-16 | 贾波 | Method of performing on-site living broadcast and client terminal node preparation through network camera |
CN102264001A (en) * | 2010-05-25 | 2011-11-30 | 华为技术有限公司 | Method for enhancing multicast reliability of Internet protocol television (IPTV), server and system |
CN103731753A (en) * | 2012-10-12 | 2014-04-16 | 上海聚力传媒技术有限公司 | Personal live video stream routing system and method |
CN103152617A (en) * | 2013-03-28 | 2013-06-12 | 广东省广播电视网络股份有限公司 | Remote disaster tolerance system and method for interactive television |
US20150249851A1 (en) * | 2013-05-21 | 2015-09-03 | Shenzhen Tcl New Technology Co., Ltd | Controlling method, server, and terminal for cloud sharing of terminal data |
CN104639867A (en) * | 2013-11-14 | 2015-05-20 | 中兴通讯股份有限公司 | Method and system for resuming video conferences |
CN105025049A (en) * | 2014-04-22 | 2015-11-04 | 深圳市尼得科技有限公司 | Media stream storing method and apparatus |
CN104394432A (en) * | 2014-11-26 | 2015-03-04 | 广州华多网络科技有限公司 | Video studio creating method and service device |
CN105635175A (en) * | 2016-02-04 | 2016-06-01 | 北京奇艺世纪科技有限公司 | Load balancing method and system of RTMP streaming server |
CN105847874A (en) * | 2016-04-20 | 2016-08-10 | 乐视控股(北京)有限公司 | Live broadcasting device and live broadcasting terminal |
CN105933797A (en) * | 2016-05-18 | 2016-09-07 | 青岛海信宽带多媒体技术有限公司 | Live program broadcast starting method and device based on IPTV (Internet Protocol Television) |
CN106105244A (en) * | 2016-06-12 | 2016-11-09 | 北京小米移动软件有限公司 | The method of uploaded videos, device and camera head |
CN106101845A (en) * | 2016-07-04 | 2016-11-09 | 天脉聚源(北京)传媒科技有限公司 | The creation method of a kind of net cast and device |
CN106488335A (en) * | 2016-09-20 | 2017-03-08 | 北京小米移动软件有限公司 | Live-broadcast control method and device |
CN106254951A (en) * | 2016-09-27 | 2016-12-21 | 腾讯科技(深圳)有限公司 | A kind of net cast creation method and system, access device, management equipment |
CN106534877A (en) * | 2016-10-24 | 2017-03-22 | 广州酷狗计算机科技有限公司 | Method and device for sending media stream |
CN106454392A (en) * | 2016-11-24 | 2017-02-22 | 北京小米移动软件有限公司 | Live broadcast processing method, device and terminal |
CN106686395A (en) * | 2016-12-29 | 2017-05-17 | 北京奇艺世纪科技有限公司 | Illegal-video live-broadcast detection method and system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110858851A (en) * | 2018-08-24 | 2020-03-03 | 阿里巴巴集团控股有限公司 | Data connection restarting method, data processing method and device in live broadcast service |
CN110858851B (en) * | 2018-08-24 | 2022-06-14 | 阿里巴巴集团控股有限公司 | Data connection restarting method, data processing method and device in live broadcast service |
CN112291629A (en) * | 2020-03-27 | 2021-01-29 | 北京字节跳动网络技术有限公司 | Interaction method and device and electronic equipment |
CN112738540A (en) * | 2020-12-25 | 2021-04-30 | 广州虎牙科技有限公司 | Multi-device live broadcast switching method, device and system, electronic device and readable storage medium |
CN112738540B (en) * | 2020-12-25 | 2023-09-05 | 广州虎牙科技有限公司 | Multi-device live broadcast switching method, device, system, electronic device and readable storage medium |
CN113542786A (en) * | 2021-07-14 | 2021-10-22 | 广州智会云科技发展有限公司 | Live broadcasting method and device for restarting after broadcasting interruption |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107257496A (en) | A kind of live control method, device and mobile terminal | |
US8868130B2 (en) | Apparatus and methods for state suspension in hybrid networks | |
CN102171995B (en) | Method for processing packet when server fails and router thereof | |
CN103079286A (en) | Method and device for intelligently disconnecting wifi (wireless fidelity) hot points | |
CN102387040B (en) | Method and system for keeping high-speed stable running of front-end processor | |
CN108847976B (en) | Distribution network control method, mobile terminal, device and computer readable storage medium | |
CN103491102A (en) | Method, system and device for monitoring stability of internet audio and video | |
CN101860716A (en) | Wireless video conference terminal reaccess system and method | |
CN111064552B (en) | Intelligent device control method and device, electronic device and storage medium | |
CN104092556A (en) | Monitoring method, device and system based on distributed system | |
CN103139818A (en) | Method, system, area of effect (AOE), always on line (AOG) and terminal of maintaining long connection in acquisition of signal (AOS) | |
CN103618967A (en) | Method and device for interaction of mobile terminal and television end | |
CN108123826B (en) | Cross-region data interaction system and method | |
CN108924485A (en) | Client live video stream interruption processing method and system, monitoring system | |
CN101610402B (en) | Method and system for recovering interrupted video in video monitoring process | |
CN103324554A (en) | Standby system device, a control method, and a program thereof | |
CN104853234A (en) | Data processing method, system thereof and mobile terminal | |
WO2024027745A1 (en) | Network connection method, electronic device, readable storage medium, and chip | |
CN103051484B (en) | Session service processing method, system and Session Border Controll | |
CN103384265B (en) | The application layer implementation method of GVRP agreement and system | |
CN114826981B (en) | System and method for realizing application resident in cloud mobile phone | |
CN103856489A (en) | Achieving method and device for preventing replay attack | |
CN105577967A (en) | Incoming call reminding device in shutdown state of mobile terminal and method thereof | |
US11812487B2 (en) | Method, device, extender, and computer medium for automatically restoring connection | |
CN114143569B (en) | Webpage recording and live broadcasting method and system |
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: 20171017 |