Embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, it is real below in conjunction with the application
The accompanying drawing in mode is applied, the technical scheme in the application embodiment is clearly and completely described, it is clear that described
Embodiment is only a part of embodiment of the application, rather than whole embodiments.Based on the embodiment party in the application
Formula, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made all should
When the scope for belonging to the application protection.
The application embodiment provides a kind of live pause method, and methods described can apply to server and client side's
In system architecture.The server can be the service server of live platform, and the client can be used to gather main broadcaster
Live data data collection client, can also be the subscription client for showing live picture to user.Wherein, institute
State live platform platform such as can be bucket fish, protruding canine teeth, war flag.In the present embodiment, the server can be one
Electronic equipment with data operation, store function and network interaction function;It can also be to run in the electronic equipment, be
Data processing, storage and network interaction provide the software supported.Do not limit the server specifically in the present embodiment
Quantity.The server can be a server, can also be several servers, or, the service of some server formation
Device cluster.
In the present embodiment, the client can possess data acquisition function, data playback function and network
The electronic equipment of communication function.Specifically, the client for example can be desktop computer, tablet personal computer, notebook computer, intelligence
Can mobile phone, digital assistants, intelligent wearable device, shopping guide's terminal, television set with network access functions etc..Or, it is described
Client can also be that can run on the software in above-mentioned electronic equipment.Specifically, the client can be live platform
The applications such as the iqiyi.com run in the electronic device, AcFun, the bucket fish that provide.
The application provides a kind of live pause method, and methods described can apply in data collection client, the side
Method comprises the following steps.
S10:The live data of collection is provided to direct broadcast server in data collection client, to cause the direct broadcast service
In the case that the live data is pushed to subscription client by device, the pause instruction that main broadcaster assigns is received.
S20:In response to the pause instruction, the data collection client is keeping communication link with the direct broadcast server
In the case of connecing, pause collection live data.
In the present embodiment, data collection client can gather the live data related to main broadcaster, the live data
It can be pushed to after collection by data collection client in the direct broadcast server of live platform.So, subscription client is worked as
When sending the live load request for pointing to the main broadcaster to direct broadcast server, direct broadcast server just can be by the data acquisition of the main broadcaster
The live data that client is currently gathered is pushed to subscription client, so as to be shown the live of main broadcaster on subscription client
Picture.
In the present embodiment, when main broadcaster needs to suspend live, pause can be assigned in data collection client and referred to
Order.Data collection client can suspend after the pause instruction that main broadcaster assigns is received and gather the live number related to main broadcaster
According to.But, data collection client can continue to keep the communication connection between the direct broadcast server.Now, data are adopted
Live data can not be pushed to direct broadcast server by collecting client, and such direct broadcast server is just without the offer pair of normal direction subscription client
Blank screen may be shown in the live data answered, subscription client.Certainly, in practical application scene, when main broadcaster assigns
After pause instruction, data collection client can send the pause instruction to direct broadcast server, so, and direct broadcast server just can be with
According to configured play rules, the last frame picture of data collection client offer is persistently provided to subscription client.
Certainly, direct broadcast server can also be sent to subscription client for characterize main broadcaster temporarily from video information.For example, user client
Main broadcaster live last frame picture or blank screen can be shown as in end, " main broadcaster can be shown in the picture or blank screen
Temporarily from just a moment,please " printed words.
In the present embodiment, when main broadcaster terminates temporary from process, cancellation pause can be assigned to data collection client and is referred to
Order, so, after the cancellation pause instruction that the main broadcaster assigns is received, the data collection client can be resurveyed directly
Multicast data, and the live data resurveyed by the communication connection kept before to direct broadcast server offer, from
And the time spent by being connected that re-established with direct broadcast server can be reduced, improve live efficiency.
The live pause method that the application embodiment is provided, can also be applied in live pause device.Need explanation
, in the present embodiment, the live pause device can keep data communication with the data collection client
Autonomous device, the live pause device can be generally in same LAN with the data collection client, from
And cause can possess preferable network environment between the live pause device and the data collection client and very fast
Data transmission bauds.In addition, the live pause device can also be one be integrated in the data collection client
Module, so, the data collection client can first judge whether from shooting when pushing live data to direct broadcast server
The live data of main broadcaster is obtained in head and microphone., just can be directly from camera and Mike if live currently without suspending
The live data of main broadcaster is obtained in wind, and the live data of acquisition is pushed to direct broadcast server.If it is straight to be currently at pause
The state broadcast, just can be obtained by live pause device and intercut video data, and push this to direct broadcast server and intercut video
Data.So, data collection client just can be during pause, it is not necessary to interrupts to direct broadcast server and sends data flow.
Fig. 1 and Fig. 2 are referred to, after the pause instruction that main broadcaster assigns is received, methods described can also include following step
Suddenly.
S11:In response to the pause instruction, video data is intercutted in acquisition.
In the present embodiment, the data collection client can be with the camera for gathering live data, Mike
The equipment such as wind are connected, or the data collection client can include the equipment such as camera, microphone in itself.Main broadcaster is starting
When live, data collection client can set up stream with direct broadcast server and be connected.Due to data collection client during live
Need to continue to push live data to direct broadcast server, therefore the stream connection can be long connection.
In the present embodiment, data collection client, can be pre- advanced when pushing live data to direct broadcast server
Row judges, if obtain live data from camera and microphone.If main broadcaster does not have currently in data collection client
Pause instruction is assigned, data collection client just can obtain live data from camera and microphone.Data acquisition client
End just can be converted to the live data of acquisition live data streams, and push the live number being converted to direct broadcast server
According to stream.So, subscription client just can get the live picture of the main broadcaster from direct broadcast server.Wherein, it is described live
Data flow can be the data flow for following stream media protocol.The stream media protocol for example can be RTP (Real-time
Transport Protocol, RTP), RTCP (Real-time Transport Control Protocol, it is real
When transmission control protocol), SRTP (Secure Real-time Transport Protocol, Security Real Time Protocol) etc..
In the present embodiment, if main broadcaster has assigned pause instruction, data acquisition client in data collection client
End just can be suspended obtains live data from the equipment such as camera and microphone.In order to continue to push to direct broadcast server
Live data streams, now data collection client the pause instruction can be sent to live pause device, it is described live to cause
Pause device can be provided for live video data.
In the present embodiment, the pause instruction can main broadcaster assigned in data collection client.In addition,
In other application scene, data collection client can also be directed to specific situation, automatically generate pause instruction.
In one embodiment of the application, data collection client preferentially can obtain straight from camera and microphone
Multicast data, then can be detected to the live data of acquisition, so as to judge currently whether generate pause instruction.Specifically,
When the picture all same that the live data that the data collection client is gathered in the first specified duration is shown, Ke Yisheng
Into pause instruction.In the present embodiment, described first when to specify duration can be set in advance in data collection client
Long, the duration can be adjusted according to actual scene.For example, described first specifies duration to be 10 seconds, then at 10 seconds
In in, if the picture that camera is collected all is identical, show the model that now main broadcaster shoots possibly off camera
Enclose, do not had tangible live content currently, then data collection client just can automatically generate pause instruction.In this reality
Apply in mode, by judging first the live data gathered in duration can be specified whether identical, so as to judge that described first refers to
Whether the picture of displaying is identical in timing is long.
In one embodiment of the application, if camera goes wrong, it is impossible to collect the live data of main broadcaster, that
Data collection client can not just get live data.So, in the present embodiment, when the data collection client
When second specifies and can not collect live data in duration, pause instruction can also be generated.Described second specifies duration can
To be duration set in advance in data collection client, the duration can be adjusted according to actual scene.For example, described
Two specify duration to be 3 seconds, then in 3 seconds, when data collection client can not collect live data always, just may be used
To generate pause instruction, to provide live data by live pause device.
Also referring to Fig. 3, in the present embodiment, when live pause device receives the pause instruction, just may be used
Be used to substituting live data to obtain intercuts video data.The video data that intercuts can be that main broadcaster is advance in data acquisition
The video material stored in client.Video material resource such as can be Video Roundup, advertisement, pictures.It is described
Intercutting video data can uniformly be stored in specified resources bank.The specified resources bank can be file or base
The database set up in data structure.The database is such as can be MySQL, Oracle, DB2, Sybase.
In the present embodiment, live pause device intercuts video data except that can be obtained from specified resources bank, also
It can be read from local cache and intercut video data.In the local cache intercut video data can be it is last or
That is read during preceding pause several times intercuts video data.So, live pause device directly reads from local cache and intercuts video
Data, it is possible to increase the reading speed of data.
In one embodiment of the application, in local cache or specified resources bank intercut video data can with when
Intermediate node is associated, and the timing node, which is used to characterizing, described intercuts the timing node that video data the last time is read.For
The video data that intercuts played in pause will not be repeated in a short time, can selectively be read based on timing node slotting
Broadcast video data.Specifically, live pause device can be from the when segmentum intercalaris for exceeding specified time threshold apart from current time node
The intercutting to obtain in video data of point association intercuts video data for push to the direct broadcast server.The specified time
Threshold value can be the duration pre-set.For example, the specified time threshold can be 12 hours.So, within 12 hours,
The same video data that intercuts just will not be repeated playing.In specified resources bank or local cache, intercutting video data can
To be ranked up according to timing node, timing node is closer to current time node, and the position of sequence can be more rearward.Specifically
Ground, referring to Fig. 4, intercutting video data can be stored according to array.In array, more forward intercuts video data,
Corresponding timing node is more long apart from current time node.For example, as shown in figure 4,3 are had in local cache intercuts video
Data, correspond to 04 minute July 13 day 12 point in 2017,14 minutes July 14 day 15 point in 2017, July 16 day 5: 08 in 2017 respectively
Divide these three timing nodes.So when video data is intercutted in reading from local cache, first in array can be inserted
Broadcast video data to read out, be used as the data that will be pushed to direct broadcast server.Further, it is also possible to according to current time node
With the specified time threshold, determine that the multiple of candidate intercut video data.For example, current time node is in July, 2017
16 days 12 points, the specified time threshold be 24 hours, then candidate's intercuts the corresponding timing node the latest of video data
For 12 points of July 15 day in 2017, then it is later than intercutting video data and just cannot repeating playing for the timing node.Therefore, such as Fig. 4
In shown, only first, which intercuts video data and second, intercuts video data and can intercut video data as candidate.Then,
Can from candidate it is multiple intercut video data in random read take one, be used as the data that will be pushed to direct broadcast server.
In one embodiment of the application, in the pause instruction that data collection client is sent, duration can also be included
Information.The effect of the duration information is:It is described after the duration that the duration information is characterized since current time
The live data of the data collection client collection is played in direct broadcast server pause.For example, the duration information is 10 seconds, that
Indicate that, at the time of the pause instruction is generated, then by 10 seconds, data collection client just stopped from shooting
Live data is obtained at head and microphone, correspondingly, direct broadcast server, which just suspends, plays the data collection client collection
Live data.The duration information is used to live pause device and reserves the acquisition time for intercutting video data, so that
So that being played in pause after current live video, video data can be intercutted in seamless connection.In the present embodiment, it is live
Pause device can detect current average speed of download, and the average speed of download can be live pause device from specified money
The average speed of resource is downloaded in the storehouse of source.So, the duration characterized based on the average speed of download and the duration information, from
And can determine in the duration information, the target data download that live pause device can be downloaded.For example, described average
Speed of download can be 2M/s, and the duration information can be 10 seconds, then the target data download can be 20MB.
In present embodiment, live pause device can according to the fixed cycle from specified resources bank the less detection number of downloading data amount
According to bag.For example, live pause device every 10 seconds, can download 1MB probe data packet from specified resources bank, and under
The speed of set detection packet, to calculate current speed of download.Then, can be when will be current after pause instruction is received
The given amount of data speed of download averaged calculated before quarter, so as to obtain current average speed of download.In this reality
Apply in mode, live pause device can be obtained and downloaded with the target data after the target data download is determined
What amount was adapted intercuts video data.Wherein, intercut video data and be adapted to refer to target data download and intercut video
The data volume of data is less than or equal to the target data download.Certainly, in practical application scene, in order to make full use of
The duration that the reserved duration information is characterized, can select downloading data amount intercutting closest to the target data download
Video data.
In one embodiment of the application, when main broadcaster assigns pause instruction, pause can also be specified lasting in the lump
Duration.Therefore, pause duration information is also included in the pause instruction, the pause duration information, which is used to characterize to suspend, plays institute
State the lasting duration of the live data of data collection client collection.For example, the pause duration information can be 5 minutes,
So after pause 5 minutes, beginning can be continued live.So, live pause device is after the pause instruction is got,
At least one can be read according to the pause duration information wherein included, from specified resources bank or in local cache and intercut regard
Frequency evidence;Wherein, it is described at least one intercut the corresponding playing duration sum of video data with it is described pause duration information characterize
Duration match.Wherein, playing duration sum with it is described pause duration information characterize duration match can refer to duration it
With the duration characterized more than the pause duration information.For example, the duration information is 5 minutes, then from specified resources bank
Or at least one read in local cache intercut video data duration sum can be more than 5 minutes, so as to ensure
It can continuously be played in interval and intercut video data.
S13:The video data that intercuts is pushed into the direct broadcast server, with cause the direct broadcast server suspend to
Subscription client sends the live data that the data collection client is currently gathered, and in interval to the user client
Video data is intercutted described in sending in end.
In the present embodiment, live pause device just can regard described intercut after getting and intercutting video data
Frequency evidence pushes to the direct broadcast server.Certainly, in practical application scene, the live pause device is if data are adopted
Collect a module in client, then after getting and intercutting video data, can will be described slotting by data collection client
Broadcast video data and be converted to live flow data, and the live flow data is pushed to the direct broadcast server.The live fluxion
According to can be the data that follow stream media protocol.The stream media protocol for example can be RTP (Real-time Transport
Protocol, RTP), RTCP (Real-time Transport Control Protocol, real-time Transmission control
Agreement), SRTP (Secure Real-time Transport Protocol, Security Real Time Protocol) etc..
In an application scenarios, live pause device can be a module in data collection client, so, number
After collection client generation pause instruction, it just can stop obtaining live data at camera and microphone, but from straight
Broadcast to obtain at pause device and intercut video data.So, what data collection client was pushed to direct broadcast server is to intercut to regard
Frequency evidence.Now, direct broadcast server can be pushed according to stream media protocol and intercut video data to subscription client.
In another application scenarios, live pause device can be independent equipment, now, in generation pause instruction
Afterwards, data collection client still can provide live data to not disconnected with direct broadcast server to direct broadcast server.
But, now live pause device can also send to direct broadcast server and intercut video data in the lump.Two are received at the same time to regard
Frequency is in the case of, and direct broadcast server, which can suspend to subscription client, sends what the data collection client was currently gathered
Live data, and intercutting video data described in interval to subscription client transmission.In the specific implementation, intercut and regard
The broadcasting priority for the live data that the broadcasting priority of frequency evidence can be gathered higher than data collection client, it is so, live
When server receives both data at the same time, it can preferentially play and intercut video data.
In one embodiment of the application, cancellation can be generated after the EOT end of timeout, in data collection client temporary
Stop instruction.The cancellation pause instruction can be sent to live pause device.In taking that the reception data collection client is sent
Disappear after pause instruction, live pause device can stop pushing to the direct broadcast server in response to the cancellation pause instruction
Video data is intercutted, to cause the direct broadcast server sends the data collection client to the subscription client currently to adopt
The live data of collection.
Referring to Fig. 5, the application also provides a kind of live pause device, described device can include with lower unit.
Pause instruction receiving unit 100, for receiving the pause instruction that data collection client is sent;The data acquisition
Client is used for the live data that collection is provided to direct broadcast server;
Video data acquiring unit 200 is intercutted, in response to the pause instruction, video data to be intercutted in acquisition;
Push unit 300, it is described live to cause for the video data that intercuts to be pushed into the direct broadcast server
Server, which suspends to subscription client, sends the live data that the data collection client is currently gathered, and interval to
The subscription client intercuts video data described in sending.
In the present embodiment, duration information is also included in the pause instruction;Wherein, since current time, pass through
After the duration that the duration information is characterized, the live number of the data collection client collection is played in the direct broadcast server pause
According to;Correspondingly, the video data acquiring unit of intercutting includes:
Target data download determining module, the average speed of download current for detecting, and based on the average download
The duration that speed and the duration information are characterized, determines target data download;
Data acquisition module, for obtaining and the target data download is adapted intercuts video data.
In the present embodiment, pause duration information is also included in the pause instruction;Wherein, the pause duration information
The duration lasting for the live data for characterizing the pause broadcasting data collection client collection;Correspondingly, it is described to intercut
Video data acquiring unit includes:Duration matching module, for reading at least one from specified resources bank or in local cache
It is individual to intercut video data;Wherein, it is described at least one intercut the corresponding playing duration sum of video data and the pause duration
The duration of information representation matches.
In the present embodiment, described device also includes:Cancel instruction reception unit, for receiving the data acquisition visitor
The cancellation pause instruction that family end is sent;Stop push unit, in response to the cancellation pause instruction, stopping to described live
Server push intercuts video data, to cause the direct broadcast server to send the data acquisition visitor to the subscription client
The live data that family end is currently gathered.
Live pause device disclosed in above-mentioned embodiment, its realize concrete function, can with it is above-mentioned in the application
The embodiment of live pause method contrasts explanation, it is possible to achieve the embodiment of the live pause method of the application simultaneously reaches
The technique effect of this method embodiment.
The application also provides a kind of live pause method, and methods described can apply in direct broadcast server.Refer to figure
6, methods described may comprise steps of.
S21:The live data request that subscription client is sent is received, and the live number is sent to the subscription client
The live data pointed to according to request;Wherein, the live data is gathered and uploaded by data collection client.
In the present embodiment, subscription client is when opening the website of live platform or applying, and user can pass through
Click on the room of some main broadcaster or click on the live picture of some main broadcaster, live data request is sent to direct broadcast server.
Live data request can point to corresponding live data.So, direct broadcast server just can receive subscription client and send
Live data request, and send the live data that the live data asks to point to the subscription client.Wherein, it is described
Live data is gathered and uploaded by data collection client.The data collection client can with for gathering live data
The equipment such as camera, microphone are connected, or the data collection client can include camera, microphone etc. and set in itself
It is standby.Main broadcaster is when starting live, and data collection client can set up stream with direct broadcast server and be connected.Due to number during live
Need to continue according to collection client to push live data to direct broadcast server, therefore the stream connection can be long connection.
S23:When receiving that live pause device sends when intercutting video data, suspend and sent to the subscription client
The live data, and intercutting video data described in interval to subscription client push.
In the present embodiment, data collection client, can be pre- advanced when pushing live data to direct broadcast server
Row judges, if obtain live data from camera and microphone.If main broadcaster does not have currently in data collection client
Pause instruction is assigned, data collection client just can obtain live data from camera and microphone.Data acquisition client
End just can be converted to the live data of acquisition live data streams, and push the live number being converted to direct broadcast server
According to stream.So, subscription client just can get the live picture of the main broadcaster from direct broadcast server.Wherein, it is described live
Data flow can be the data flow for following stream media protocol.The stream media protocol for example can be RTP (Real-time
Transport Protocol, RTP), RTCP (Real-time Transport Control Protocol, it is real
When transmission control protocol), SRTP (Secure Real-time Transport Protocol, Security Real Time Protocol) etc..
In the present embodiment, if main broadcaster has assigned pause instruction, data acquisition client in data collection client
End just can be suspended obtains live data from the equipment such as camera and microphone.In order to continue to push to direct broadcast server
Live data streams, now data collection client the pause instruction can be sent to live pause device, it is described live to cause
Pause device can be provided for live video data.
In the present embodiment, when live pause device receives the pause instruction, just it can obtain for substituting
Live data intercuts video data.It is described intercut video data can main broadcaster stored in advance in data collection client
Video material.Video material resource such as can be Video Roundup, advertisement, pictures.The video data that intercuts can
To be uniformly stored in specified resources bank.The specified resources bank can be file or be set up based on data structure
Database.The database is such as can be MySQL, Oracle, DB2, Sybase.
In the present embodiment, live pause device just can regard described intercut after getting and intercutting video data
Frequency evidence pushes to the direct broadcast server.So, it is live when receiving that live pause device sends when intercutting video data
Server, which just can suspend to the subscription client, sends the live data, and in interval to the subscription client
Video data is intercutted described in pushing.
In one embodiment of the application, after pause stage terminates, data collection client can be to live pause
Device, which is sent, cancels pause instruction.So, live pause device can stop to described straight in response to the cancellation pause instruction
Broadcast server push and intercut video data.In the present embodiment, when direct broadcast server can not receive institute in specified duration
State that live pause device sends when intercutting video data, show currently to have finished on pause stage, so as to described
Subscription client pushes the live data that the data collection client is currently gathered.
In one embodiment of the application, direct broadcast server intercuts video counts receive that live pause device sends
According to rear, will can receive described in intercut video data and be converted to live flow data, and push institute to the subscription client
State live flow data.Futures are total, and the live flow data can be the data flow for following stream media protocol.The stream media protocol
For example can be RTP (Real-time Transport Protocol, RTP), RTCP (Real-time
Transport Control Protocol, RTCP Real-time Transport Control Protocol), SRTP (Secure Real-time Transport
Protocol, Security Real Time Protocol) etc..
In one embodiment of the application, direct broadcast server can also be when data collection client occurs abnormal, nothing
When method provides live data, pushed from trend subscription client and intercut video data.Specifically, when direct broadcast server is when specified
When the live data that the data collection client is uploaded can not be received in long, show that data collection client is occurred in that different
Often, live process needs pause.Now, direct broadcast server can read the video data that intercuts being locally stored, and be used to described
The described of family client push reading intercuts video data.The video data that intercuts being locally stored can be temporary before
Sent during stopping by live pause device.Direct broadcast server can store live pause device in a period of time recently and send
Intercut video data, in order to save memory space, the video data that intercuts apart from current time farther out can be automatically deleted.
For example, direct broadcast server can only retain that live pause device in nearest 24 hours sends intercut video data.
In the present embodiment, when data collection client recovers normal, using the teaching of the invention it is possible to provide during live data, direct broadcast server
Just it can continue to gather the live data that client is uploaded to subscription client propelling data.Specifically, when the live device that takes is being pushed away
Send during intercut video data described in locally reading, receive the live data that the data collection client is uploaded
When, show that now data collection client is recovered normal, so as to stop pushing described insert to the subscription client
Video data is broadcast, and starts to push the live data that the data collection client is uploaded to the subscription client.
Referring to Fig. 7, the application also provides a kind of direct broadcast server, the direct broadcast server includes:
Live data transmitting element 110, for receiving the live data request that subscription client sends, and to the user
Client sends the live data that the live data request is pointed to;Wherein, the live data is adopted by data collection client
Collect and upload;
Intercut video data and send unit 210, for when receiving that live pause device sends when intercutting video data,
Suspend and send the live data to the subscription client, and intercutted described in interval to subscription client push
Video data.
In the present embodiment, the direct broadcast server also includes:
Live data resends unit, is sent for that ought can not receive the live pause device in specified duration
When intercutting video data, push the live data that the data collection client is currently gathered to the subscription client.
In the present embodiment, the direct broadcast server also includes:
Local reading unit, the live of the data collection client upload can not be received for working as in specified duration
During data, read be locally stored intercut video data, and push to the subscription client read described in intercut video counts
According to.
Direct broadcast server disclosed in above-mentioned embodiment, its concrete function realized can be with being applied to directly in the application
The embodiment for broadcasting the live pause method in server contrasts explanation, it is possible to achieve the live pause method of the application
Embodiment and the technique effect for reaching this method embodiment.
Referring to Fig. 8, the application also provides a kind of live pause system, the system includes data collection client, straight
Pause device, direct broadcast server and subscription client are broadcast, wherein:
The data collection client, the live data for providing collection to the direct broadcast server, and to described straight
Broadcast pause device and send pause instruction;
The live pause device, in response to the pause instruction, video data to be intercutted in acquisition;Described intercut is regarded
Frequency evidence pushes to the direct broadcast server;
The direct broadcast server, for receive that the live pause device sends intercut video data after, pause
The live data that the data collection client is currently gathered is sent to the subscription client, and is used in interval to described
Family client intercuts video data described in sending.
System disclosed in above-mentioned embodiment, its data collection client, live pause device, direct broadcast server and use
The concrete function that family client is realized, can contrast explanation with the embodiment of live pause method above-mentioned in the application,
The embodiment of the live pause method of the application can be realized and the technique effect of this method embodiment is reached.
Therefore, the data collection client of the application is after pause instruction is assigned, and data collection client can be after
It is continuous to keep communicating to connect with direct broadcast server, without being disconnected with direct broadcast server.So, when recovering live again,
Data collection client can provide the live data of collection according to communication connection before to direct broadcast server, so as to reduce
The time being connected is re-established with direct broadcast server, live efficiency is improved.In addition, live pause device just can obtain use
Video data is intercutted in replacement live data streams.Then, the live pause device can by it is described intercut video data to
Direct broadcast server is pushed.So, when direct broadcast server receive push to when intercutting video data, just can be to user client
End pushes this and intercuts video data, obtains straight so that suspending in data collection client from the camera and microphone of main broadcaster
During multicast data stream, it can be pushed from the live pause device to direct broadcast server and intercut video data, to ensure user client
The live picture played in end will not be interrupted.
In the 1990s, for a technology improvement can clearly distinguish be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (for the improvement of method flow).So
And, with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow is programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, PLD
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, its logic function is determined by user to device programming.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, without asking chip maker to design and make
Special IC chip.Moreover, nowadays, substitution manually makes IC chip, and this programming is also used instead mostly " patrols
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but have many kinds, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present
Integrated Circuit Hardware Description Language) and Verilog2.Those skilled in the art
It will be apparent to the skilled artisan that only needing to method flow slightly programming in logic and being programmed into integrated circuit with above-mentioned several hardware description languages
In, it is possible to it is readily available the hardware circuit for realizing the logical method flow.
It is also known in the art that except realizing client, server in pure computer readable program code mode
In addition, client, server can be caused with gate, switch, special by the way that method and step is carried out into programming in logic completely
The form of integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc. realizes identical function.Therefore this client,
Server is considered a kind of hardware component, and the device for realizing various functions included in it can also be considered as
Structure in hardware component.Or can both can will be implementation method for realizing that the device of various functions is considered as even
Software module can be the structure in hardware component again.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can
Realized by the mode of software plus required general hardware platform.Understood based on such, the technical scheme essence of the application
On the part that is contributed in other words to prior art can be embodied in the form of software product, the computer software product
It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are to cause a computer equipment
(can be personal computer, server, or network equipment etc.) performs each embodiment of the application or embodiment
Method described in some parts.
Each embodiment in this specification is described by the way of progressive, identical similar between each embodiment
Part mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially, pin
For the embodiment of live pause device, direct broadcast server and system, the embodiment of preceding method is referred to
Control is introduced to explain.
The application can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs, by
Remote processing devices connected by communication network perform task.In a distributed computing environment, program module can be with
Positioned at including in the local and remote computer-readable storage medium including storage device.
Although depicting the application by embodiment, it will be appreciated by the skilled addressee that the application has many deformations
With change without departing from spirit herein, it is desirable to which appended claim includes these deformations and changed without departing from the application
Spirit.