CN108174295A - The notification method and device of main broadcaster's state, the reminding method and device of main broadcaster's state - Google Patents
The notification method and device of main broadcaster's state, the reminding method and device of main broadcaster's state Download PDFInfo
- Publication number
- CN108174295A CN108174295A CN201711484893.1A CN201711484893A CN108174295A CN 108174295 A CN108174295 A CN 108174295A CN 201711484893 A CN201711484893 A CN 201711484893A CN 108174295 A CN108174295 A CN 108174295A
- Authority
- CN
- China
- Prior art keywords
- client
- main broadcaster
- flow data
- mark
- user
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000026676 system process Effects 0.000 claims abstract description 26
- 239000000284 extract Substances 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims 1
- 238000001514 detection method Methods 0.000 description 13
- 230000005641 tunneling Effects 0.000 description 12
- 230000006870 function Effects 0.000 description 11
- 230000005540 biological transmission Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 230000008901 benefit Effects 0.000 description 3
- 238000000605 extraction Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000005538 encapsulation Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000001035 drying Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/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/4424—Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
-
- 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/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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
-
- 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
-
- 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/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4882—Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Social Psychology (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of notification methods and device of main broadcaster's state, it is main broadcasting user by the user type for judging the first client, detect that the first client is not run in system desktop, judge that main broadcaster user suspends live streaming, it is read currently in the target program information of system desktop operation from the first item of system process list, and the mark left with label main broadcaster user is added in the flow data of the first client acquisition together, in the flow data of the first client acquisition, addition label main broadcaster user suspends the first flag of live streaming, so that the second client of receiving stream-oriented data reads mark and according to mark prompting main broadcaster state to leave from flow data.Part flow data is avoided in the above method and is not played the problem of end plays, the respective treated time is more accurate, and user experience is more preferable.Meanwhile the information of the currently running program of add-on system, realize according to program information to spectators prompt main broadcaster specifically leave the reason of.
Description
Technical field
The present invention relates to network direct broadcasting technical fields, and in particular to a kind of notification method of main broadcaster's state, a kind of main broadcaster's shape
The notice device of state, a kind of reminding method of main broadcaster's state, a kind of suggestion device of main broadcaster's state, a kind of computer equipment and one
Kind computer readable storage medium.
Background technology
In net cast, main broadcaster is often because answering the call, switching the reasons such as other application, after being by live streaming application switching
Platform is run.During this period, the acquisition of video and sound will be interrupted, but there are still so as to main broadcaster after a period of time for the direct broadcasting room
Live streaming interface is switched back into continue to be broadcast live.
In the prior art, main broadcaster answers the call when main broadcaster's client of live streaming detects when being broadcast live, is switched to backstage
Situations such as operation or end live streaming, it will usually the notice suspended or stopped directly being sent to live streaming by a conventional connection
Each spectator client.Since Stream Data Transmission inevitably has more or less delay, and the conventional transmission notice that connects compares Stream Data Transmission
Much faster, lead to still there is flow data not transfer, spectator client just due to receiving the notice of pause or stopping in advance
The problem of stopping live streaming in advance, part flow data caused not played by spectator client.
Invention content
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly
State a kind of notification method of main broadcaster's state of problem and corresponding device and a kind of reminding method of main broadcaster's state and corresponding
Device.
One side according to the present invention provides a kind of method for notifying main broadcaster's state, includes the following steps:
Step 1, the user type of the first client of judgement is main broadcasting user;
Step 2, detect that first client is not run in system desktop;And
Step 3, in the flow data of first client acquisition, addition marks the mark that main broadcaster user leaves, for
Second client of receiving stream-oriented data reads the mark from the flow data and prompts main broadcaster's state according to the mark
To leave.
Optionally, the step 2 includes following sub-step:
Sub-step 1 detects the handover event that first client is switched to system background;
Or, sub-step 2, the first item of decision-making system process list is not the corresponding process of the first client.
Optionally, after the step 2, following steps are further included:
Step 4, judge that the main broadcaster user suspends live streaming.
Optionally, after the step 3, following steps are further included:
Step 5, it extracts default video clip and the second client is supplied to the form of flow data.
Optionally, the step 3 includes following sub-step:
Sub-step 3, in the flow data of first client acquisition, addition label main broadcaster user suspends the first of live streaming
Mark.
Optionally, before the step 3, following steps are further included:
Step 6, it is read from the first item of system process list currently in the target program information of system desktop operation, and with
The mark that label main broadcaster user leaves is added in the flow data of the first client acquisition together.
Optionally, the step 2 includes following sub-step:
Sub-step 4 detects the rupturing operation of the flow data acquired for the first client.
Optionally, after the step 2, following steps are further included:
Step 7, judge that the main broadcaster user stops live streaming;
The step 3 includes following sub-step:
Sub-step 5, in the flow data of first client acquisition, addition label main broadcaster user stops the second of live streaming
Mark.
Optionally, the step 3 includes following sub-step:
Sub-step 6 is left in the setting position addition label main broadcaster user of the video data of first client recording
Mark;
Video data is packaged into the data packet of setting flow data tunneling by sub-step 7.
According to another aspect of the present invention, a kind of method for prompting main broadcaster's state is provided, is included the following steps:
Step 1, the flow data that the first client of acquisition flow data provides is received;
Step 2, it is the mark left to judge that the setting position of the flow data has label main broadcaster's state;And
Step 3, generation main broadcaster's state is the prompt message left.
According to another aspect of the present invention, a kind of system for notifying main broadcaster's state is provided, including:
For judging device of the user type of the first client for main broadcasting user;
For detecting device that first client is not run in system desktop;And
For the device of mark that in the flow data that is acquired in first client, addition label main broadcaster user leaves,
The mark is read from the flow data for the second client of receiving stream-oriented data and prompts main broadcaster according to the mark
State is leaves.
Optionally, it is described to be used to detect that the device that first client is not run in system desktop includes:
For detecting the device for the handover event that first client is switched to system background;
Or, for decision-making system process list first item be not the corresponding process of the first client device.
Optionally, the system also includes:
For detecting that first client after system desktop operation, does not judge the main broadcaster user described
Suspend the device of live streaming.
Optionally, the system also includes:
For described in the flow data of first client acquisition, the mark left of addition label main broadcaster user it
Afterwards, it extracts default video clip and the device of the second client is supplied to the form of flow data.
Optionally, in the flow data for being acquired in first client, addition label main broadcaster user leaves
The device of mark, specifically in the flow data that is acquired in first client, addition label main broadcaster user suspends live streaming
First flag.
Optionally, the system also includes:
For described in the flow data of first client acquisition, the mark left of addition label main broadcaster user it
Before, it is read from the first item of system process list currently in the target program information of system desktop operation, and used with label main broadcaster
The mark that family is left is added to the device in the flow data of the first client acquisition together.
Optionally, it is described to be used to detect that the device that first client is not run in system desktop includes:
For detecting the device of the rupturing operation for the flow data for being directed to the acquisition of the first client.
Optionally, the system also includes:
For detecting that first client after system desktop operation, does not judge the main broadcaster user described
Stop the device of live streaming;
In the flow data for being acquired in first client, addition marks the dress of mark that main broadcaster user leaves
It puts, specifically in the flow data that is acquired in first client, addition label main broadcaster user stops the second identifier of live streaming.
Optionally, in the flow data for being acquired in first client, addition label main broadcaster user leaves
The device of mark includes:
For adding the mark that label main broadcaster user leaves in the setting position of the video data of first client recording
The device of knowledge;
For video data to be packaged into the device of the data packet of setting flow data tunneling.
According to another aspect of the present invention, a kind of system for prompting main broadcaster's state is provided, including:
The device of flow data provided for the first client for receiving acquisition flow data;
For judging that the setting position of the flow data has the device that label main broadcaster's state is the mark left;And
For generating the device that main broadcaster's state is the prompt message left.
According to another aspect of the present invention, a kind of computer equipment is provided, including:It memory, processor and is stored in
On memory and the computer program that can run on a processor, which is characterized in that the processor performs real during described program
Existing following steps:
Step 1, the user type of the first client of judgement is main broadcasting user;
Step 2, detect that first client is not run in system desktop;And
Step 3, in the flow data of first client acquisition, addition marks the mark that main broadcaster user leaves, for
Second client of receiving stream-oriented data reads the mark from the flow data and prompts main broadcaster's state according to the mark
To leave.
According to another aspect of the present invention, a kind of computer readable storage medium is provided, is stored thereon with computer journey
Sequence, the program realize following steps when being executed by processor:
Step 1, the user type of the first client of judgement is main broadcasting user;
Step 2, detect that first client is not run in system desktop;And
Step 3, in the flow data of first client acquisition, addition marks the mark that main broadcaster user leaves, for
Second client of receiving stream-oriented data reads the mark from the flow data and prompts main broadcaster's state according to the mark
To leave.
The notification method and corresponding device of a kind of main broadcaster's state according to the present invention, by the use for judging the first client
Family type is main broadcasting user, detects that first client is not run in system desktop, judges main broadcaster user's pause
Live streaming so that the live streaming client of main broadcaster can detect the situation of live pause.
Further, believed by reading the target program currently run in system desktop from the first item of system process list
Breath, and the mark left with label main broadcaster user is added in the flow data of the first client acquisition together, in the described first visitor
In the flow data of family end acquisition, addition label main broadcaster user suspends the first flag of live streaming, for the second visitor of receiving stream-oriented data
The mark is read from the flow data and prompts main broadcaster's state to leave according to the mark in family end so that when live streaming
Collection terminal pause acquisition flow data, the label that main broadcaster is notified to leave is added in flow data, broadcasting end reads label and just carries
Show that main broadcaster leaves and suspends live streaming, compared to directly notice is sent by conventional connect, still thering is flow data not transfer, playing
End will not receive the notice that main broadcaster leaves and stop being broadcast live in advance in advance, avoid part flow data and be not played what end played
Problem, the respective treated time is more accurate, and user experience is more preferable.Meanwhile the information of the currently running program of add-on system, it realizes
According to program information to spectators prompt main broadcaster specifically leave the reason of.
Further, video clip is preset by extraction and the second client is supplied to the form of flow data, it is temporary in live streaming
The free time stopped provides other videos for spectators, so that spectators can stay in this direct broadcasting room, reduces spectators in the live pause phase
Between leave.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field
Technical staff will become clear.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of step flow diagram of the notification method of according to embodiments of the present invention one main broadcaster's state;
Fig. 2 shows a kind of step flow diagrams of the notification method of according to embodiments of the present invention two main broadcaster's state;
Fig. 3 shows a kind of step flow diagram of the reminding method of according to embodiments of the present invention three main broadcaster's state;
Fig. 4 shows a kind of structure diagram of the notice device of according to embodiments of the present invention four main broadcaster's state;
Fig. 5 shows a kind of structure diagram of the suggestion device of according to embodiments of the present invention five main broadcaster's state.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
With reference to Fig. 1, show that a kind of step flow of the notification method of according to embodiments of the present invention one main broadcaster's state is shown
It is intended to, specifically may include steps of:
Step 101, the user type of the first client of judgement is main broadcasting user.
In embodiments of the present invention, main broadcaster user refers to provide the user of video in direct broadcasting room, and the first client refers to directly
Broadcast client.The user type of client, which is broadcast live, can include main broadcaster user and spectators user, and the client of main broadcaster user is used for
Video and audio data are acquired, then through Stream Data Transmission network, the client of each spectators user is distributed to, for spectators user
Client terminal playing main broadcaster user client acquisition video and audio.
It is broadcast live or is watched in use, selection after client can be opened according to user and create one in the first client
One live streaming judges that the user type of the first client is currently for main broadcasting user or spectators user or according to the first client
Judge the user type of the first client for main broadcasting user or spectators user in acquisition video data or playing video data.
In the embodiment of the present invention, if user selects to create a live streaming after opening client or the first client is currently at and adopts
Collect video data, then the user type for judging the first client is main broadcasting user.Any suitable mode specifically may be used to sentence
The user type of fixed first client is main broadcasting user, and the embodiment of the present invention is without limitation.
Step 102, detect that first client is not run in system desktop.
In embodiments of the present invention, the smart machines such as smart mobile phone, tablet computer can run multiple applications simultaneously, wherein
There can be the desktop that at least one application occupies system, the application that other are opened is then in running background.First client can be
System desktop is run, and can also be run in system background.When system desktop is run, the first client can pass through camera shooting
The equipment such as head, microphone acquire video and audio data, when system background is run, the first client just no longer acquisition video and
Audio data only maintains network connection of application etc. on backstage.
In embodiments of the present invention, whether the first client of detection runs in system desktop, can specifically pass through detection system
Whether the first item of system process list is that the corresponding process of the first client judges that the first client is gone back in system desktop operation
Be system background run, can also by whether have in detecting system by the first client be switched to running background operation or
System event judges that the first client is to run in system desktop or run in system background.For example, detect that main broadcaster connects electricity
It the operation of words or detects that system desktop is switched to event of other application etc., can serve as detecting the first client
Not in the mode of system desktop operation.Any suitable mode specifically may be used and detect the first client not in system table
Face is run, and the embodiment of the present invention is without limitation.
For example, when main broadcaster is broadcast live, mobile phone is connected to a phone, and main broadcaster carries out operation and connects phone, detects electricity
It is exactly to detect that the first client is not run in system desktop to talk about the operation being switched on.
Step 103, in the flow data of first client acquisition, addition marks the mark that main broadcaster user leaves, with
The mark is read from the flow data for the second client of receiving stream-oriented data and prompts main broadcaster's shape according to the mark
State is leaves.
In embodiments of the present invention, flow data is data of the mode in transmission over networks that stream transmission may be used,
During net cast, the first client is the client of main broadcasting user, and the first client can acquire the fluxion of video by recording
According to.Second client is the client that user type is spectators user, with receiving stream-oriented data and can specifically be played out.First visitor
Family end and the second client can be that the client with identical function logs in for main broadcaster user and spectators user and passes through difference
Entrance enter create live streaming function or viewing live streaming function or with different function client, Zhu Boyong
Family uses the client with establishment direct broadcast function, and spectators user uses the client with viewing direct broadcast function.
In embodiments of the present invention, main broadcaster user, which leaves, can include main broadcaster user's connection phone, main broadcaster user suspends
First client is switched to backstage by live streaming, main broadcaster user, main broadcaster user finishes live streaming etc..When detecting the first client
It is not run in system desktop, in the flow data of the first client acquisition, mark is added according to the mode that main broadcaster user leaves,
It is identified as the mark that label main broadcaster user leaves.After the second client receiving stream-oriented data, fluxion is read when playing flow data
Mark in, according to the mark prompting main broadcaster state read to leave.During specific implementation, addition can be specifically when marking
Main broadcaster user is added when main broadcaster user connects phone and connects the mark of phone or when main broadcaster user selects the choosing of pause live streaming
Addition main broadcaster user suspends the mark of live streaming or after the first client is switched to by main broadcaster user by application switching during item
Also the mark that main broadcaster user suspends live streaming is added during platform.Second client can judge the side that main broadcaster user leaves according to mark
Formula, specific prompting main broadcaster's state are that the mode left can prompt main broadcaster receiving calls, prompting main broadcaster according to mode of leaving
Pause live streaming etc., can also specifically include it is any other it is applicable leave mode and prompting mode, the embodiment of the present invention to this not
It is limited.
Specifically, the mark that addition label main broadcaster user leaves in the flow data of acquisition, it specifically can be in flow data
Data packet in add mark, can also in the data packet of flow data in compressed video data add mark, for example, flow data
It is the flow data of RTMP (Real Time Messaging Protocol, real-time messages transport protocol) agreement, in RTMP agreements
Data packet in the addition mark left of label main broadcaster user or can be in the expansion position of H.264 encoded video data
The mark that addition label main broadcaster user leaves, being then packaged as RTMP, (Real Time Messaging Protocol, disappear in real time
Cease transport protocol) or HLS (HTTP Live Streaming, the stream media network transport protocol based on HTTP) or RTP
(Real-time Transport Protocol are directed to a kind of transport layer protocol of multimedia data stream on Internet)
Etc. agreements flow data.Any suitable mode specifically may be used, mark is added in flow data, the embodiment of the present invention is to this
It is not limited.
For example, the video of the live streaming client recording main broadcaster user of main broadcaster, detects live streaming client not in system table
Face is run, then mark is added in the expanding location of H.264 encoded video data, the state that main broadcaster user is marked to leave, then will
H.264 encoded video data is packaged into the data packet of RTMP agreements, distributes the flow data of video by content distributing network, sees
Many live streaming clients receive be added to the flow data of mark after, read flow data and play out, read mark main broadcaster's use
After the label that family is left, main broadcaster's state is prompted to leave.
In conclusion embodiment according to the present invention, is main broadcasting user by the user type for judging the first client;Detection
It is not run to first client in system desktop;In the flow data of first client acquisition, addition label master
The mark that broadcasting user leaves, for the second client of receiving stream-oriented data read from the flow data it is described mark and according to
The mark prompting main broadcaster state is leaves so that when the collection terminal pause of live streaming or stopping acquisition flow data, will notify main broadcaster
The label left is added in flow data, and broadcasting end reads label, and just prompting main broadcaster leaves and stops being broadcast live, logical compared to directly
It crosses conventional connection and sends notice, still thering is flow data not transfer, the notice that main broadcaster leaves will not be received in advance by playing end
And stop being broadcast live in advance, it avoids part flow data and is not played the problem of end plays, the respective treated time is more accurate, user
Experience is more preferable.
In one preferred embodiment of the invention, it is described to detect that first client is not run in system desktop
It can include:Detect the rupturing operation of the flow data for the acquisition of the first client.
Detect that a kind of realization method that first client is not run in system desktop is:First client passes through
The processes acquisition flow data such as recording, coding, when there is main broadcaster user to connect phone, switching using when operations, can cut off the first visitor
Family end acquires flow data, will cut off the acquisition of flow data since the first client is switched to running background, therefore can pass through inspection
The rupturing operation measured for acquisition flow data detects that the first client is not run in system desktop.
In one preferred embodiment of the invention, detect that first client is not transported in system desktop described
After row, it can also include:Judge that the main broadcaster user stops live streaming;The flow data in first client acquisition
In, the mark that addition label main broadcaster user leaves can include:In the flow data of first client acquisition, addition label
Main broadcaster user stops the second identifier of live streaming.
Detect the first client not system desktop operation after, judge whether main broadcaster user stopped live streaming, such as
Fruit judgement main broadcaster user stops live streaming, and just addition label main broadcaster user stops live streaming in the flow data of the first client acquisition
Second identifier.Stopping live streaming can including thoroughly stopped live streaming, can specifically be selected to stop the choosing of live streaming according to main broadcaster user
Item or the process of live streaming application are closed to judgement main broadcaster user and stop being broadcast live, and any suitable mode specifically may be used and sentence
Fixed, the embodiment of the present invention is without limitation, and second identifier stops the mark of live streaming for main broadcaster, and the broadcasting end of spectators reads mark
Note stops the second identifier of live streaming, can show that live streaming stops logical after flow data that is all acquired and transmitting is played
Know and terminate to be broadcast live, avoid the part flow data when terminating to be broadcast live and be not played the problem of end plays.
In one preferred embodiment of the invention, it is described in the flow data of first client acquisition, addition mark
The mark that note main broadcaster user leaves can include:Label is added in the setting position of the video data of first client recording
The mark that main broadcaster user leaves;Video data is packaged into the data packet of setting flow data tunneling.
Flow data tunneling is the agreement of Stream Data Transmission agreement, in particular to the data packet of encapsulation flow data, for example,
RTMP, HLS, RTP etc..
In video data encoding, label main broadcaster is added in the setting position of video data for first client recording video
The mark that user leaves, setting position can be determined according to the coding mode of video data, for example, H.264 encoded video data
Expansion position.Video data after addition mark is packaged into the data packet of setting flow data tunneling, is specifically set as appointing
The applicable flow data tunneling of meaning, the embodiment of the present invention are without limitation.Since label is added into video data, no
Meeting loss marker due to the conversion of tunneling can retain the label of addition in protocol conversion, preferably be compatible with various envelopes
Fill the flow data of agreement.
With reference to Fig. 2, show that a kind of step flow of the notification method of according to embodiments of the present invention two main broadcaster's state is shown
It is intended to, specifically may include steps of:
Step 201, the user type of the first client of judgement is main broadcasting user.
In embodiments of the present invention, this step specific implementation may refer to previous embodiment description, not go to live in the household of one's in-laws on getting married separately herein
It states.
Step 202, detect that first client is not run in system desktop.
In embodiments of the present invention, this step specific implementation may refer to previous embodiment description, not go to live in the household of one's in-laws on getting married separately herein
It states.
In one preferred embodiment of the invention, it is described to detect that first client is not run in system desktop
It can include:First client is switched to the handover event of system background by detection;Or, the of decision-making system process list
One is not the corresponding process of the first client.
Detect that a kind of realization method that first client is not run in system desktop is to detect the first client
End switches to the handover event of system background.Handover event can include main broadcaster user and connect caused by the user's operations such as phone the
The event of one client switching system running background, the first client is switched to system background fortune when detecting handover event
Row.Another realization method is not the corresponding process of the first client for the first item of decision-making system process list, system process
The first item of list generally takes up system desktop, when the first item of system process list be not the corresponding process of the first client then
Judge that the first client is not run in system desktop.
Step 203, judge that the main broadcaster user suspends live streaming.
In embodiments of the present invention, detect first client not system desktop operation after, judge to lead
Whether broadcasting user suspends live streaming, and pause live streaming refers to that main broadcaster user temporarily ceases the recording of live streaming, still can be after after a period of time
During continuous live streaming is recorded, the option of pause live streaming or live streaming application switching system background fortune can be specifically selected according to main broadcaster user
Row is broadcast live to judge that main broadcaster user suspends, and any suitable mode specifically may be used and judge that the embodiment of the present invention does not do this
Limitation,
Step 204, it is read from the first item of system process list currently in the target program information of system desktop operation, and
The mark left with label main broadcaster user is added in the flow data of the first client acquisition together.
In embodiments of the present invention, target program information can include the information such as mark, title, the brief description of program,
It is read currently in the target program information of system desktop operation from the first item of system process list, target program information is added
In the flow data acquired to the first client, and added together with the mark that step 205 addition label main broadcaster user leaves.
Step 205, in the flow data of first client acquisition, addition label main broadcaster user suspends the first of live streaming
Mark reads the mark for the second client of receiving stream-oriented data from the flow data and is prompted according to the mark
Main broadcaster's state is leaves.
In embodiments of the present invention, first flag is the mark that main broadcaster user is marked to suspend live streaming.Flow data is can adopt
With the mode of stream transmission in the data of transmission over networks, in net cast, the first client is the client of main broadcasting user,
First client can acquire the flow data of video by recording.Second client is the client that user type is spectators user
End, with receiving stream-oriented data and can specifically play out.First client and the second client can have the visitor of identical function
Family end logs in for main broadcaster user and spectators user and enters the work(of the function of creating live streaming or viewing live streaming by different entrances
Or can be there is the client of different function, main broadcaster user is used with the client for creating direct broadcast function, spectators user
Use the client with viewing direct broadcast function.
In embodiments of the present invention, main broadcaster user's pause live streaming can be temporary including main broadcaster user's connection phone, main broadcaster user
Live streaming is stopped, the first client is switched to backstage etc. by main broadcaster user.When detecting the first client not in system desktop
Operation, and judge that main broadcaster user suspends live streaming, in the flow data of the first client acquisition, addition label main broadcaster user's pause is straight
The first flag broadcast, first flag are the mark that main broadcaster user is marked to suspend live streaming.After the second client receiving stream-oriented data, broadcast
The first flag in flow data is read during stream data, it is straight for pause according to the first flag prompting main broadcaster state read
It broadcasts.During specific implementation, addition can be specifically to add main broadcaster user when main broadcaster user connects phone to connect phone when marking
Mark either adds main broadcaster user when main broadcaster user selects the option of pause live streaming and suspends the mark of live streaming or work as main broadcaster
Also the mark that main broadcaster user suspends live streaming is added when first client is switched to backstage by user by application switching.Second client
End can judge the mode that main broadcaster user leaves according to mark, and specific prompting main broadcaster's state is that the mode left can be according to leaving
Mode prompts main broadcaster receiving calls, main broadcaster is prompted to suspend live streaming etc., can also specifically include any other applicable leave
Mode and prompting mode, the embodiment of the present invention are without limitation.
Step 206, it extracts default video clip and the second client is supplied to the form of flow data.
In embodiments of the present invention, default video clip is the piece of video prestored for filling the live pause time
Section, is specifically as follows any suitable video clip, the embodiment of the present invention is without limitation.Preset video clip is extracted,
With the form of flow data, each second client is transferred to by content distributing network, so that each second client is temporary in live streaming
Stopping time plays.
In conclusion embodiment according to the present invention, is main broadcasting user by the user type for judging the first client, detection
It is not run to first client in system desktop, judges that the main broadcaster user suspends live streaming so that the live streaming visitor of main broadcaster
Family end can detect the situation of live pause.
Further, believed by reading the target program currently run in system desktop from the first item of system process list
Breath, and the mark left with label main broadcaster user is added in the flow data of the first client acquisition together, in the described first visitor
In the flow data of family end acquisition, addition label main broadcaster user suspends the first flag of live streaming, for the second visitor of receiving stream-oriented data
The mark is read from the flow data and prompts main broadcaster's state to leave according to the mark in family end so that when live streaming
Collection terminal pause acquisition flow data, the label that main broadcaster is notified to leave is added in flow data, broadcasting end reads label and just carries
Show that main broadcaster leaves and suspends live streaming, compared to directly notice is sent by conventional connect, still thering is flow data not transfer, playing
End will not receive the notice that main broadcaster leaves and stop being broadcast live in advance in advance, avoid part flow data and be not played what end played
Problem, the respective treated time is more accurate, and user experience is more preferable.Meanwhile the information of the currently running program of add-on system, it realizes
According to program information to spectators prompt main broadcaster specifically leave the reason of.
Further, video clip is preset by extraction and the second client is supplied to the form of flow data, it is temporary in live streaming
The free time stopped provides other videos for spectators, so that spectators can stay in this direct broadcasting room, reduces spectators in the live pause phase
Between leave.
With reference to Fig. 3, show that a kind of step flow of the reminding method of according to embodiments of the present invention three main broadcaster's state is shown
It is intended to, specifically may include steps of:
Step 301, the flow data that the first client of acquisition flow data provides is received.
In embodiments of the present invention, the first client acquires flow data by the processes such as recording, encoding, and passes through content point
The flow data of net distribution acquisition is sent out, the end that plays of spectators user receives the flow data that the first client provides.
Step 302, it is the mark left to judge that the setting position of the flow data has label main broadcaster's state.
In embodiments of the present invention, after flow data is received, parse flow data, judge flow data setting position whether
It is the mark left in the presence of label main broadcaster's state, setting position can be determined according to the coding mode of video data, for example,
H.264 the expansion position of encoded video data.If it finds label main broadcaster's state in the setting position of flow data to leave
Mark, then it is the mark left to judge that the setting position of flow data has label main broadcaster's state.
Step 303, generation main broadcaster's state is the prompt message left.
In embodiments of the present invention, generation main broadcaster's state is the prompt message left, and can specifically be left according to main broadcaster
Mode generates different prompt messages, for example, when main broadcaster user switches live streaming client when connecting phone to running background,
The prompting that main broadcaster is prompted to receive calls then is generated according to respective identification;Or when main broadcaster user selects the option of pause live streaming
When, then the prompting that main broadcaster is prompted to suspend live streaming is generated according to respective identification;Or when main broadcaster user selects the choosing for stopping being broadcast live
Or thoroughly when having turned off live streaming client, then the prompting that prompting main broadcaster stopped live streaming is generated according to respective identification.
In conclusion embodiment according to the present invention, the flow data that the first client of flow data provides is acquired by reception,
It is the mark left to judge that the setting position of the flow data has label main broadcaster's state, and generation main broadcaster's state is the prompting left
Information so that when the collection terminal pause acquisition flow data of live streaming, the label that main broadcaster is notified to leave is added in flow data, is played
End reads label, and just prompting main broadcaster leaves and suspends live streaming, compared to directly notice is sent by conventional connect, is still there is stream
Data do not transfer, and the notice that main broadcaster leaves will not be received and stop being broadcast live in advance in advance by playing end, avoid part fluxion
According to the problem of end plays is not played, the respective treated time is more accurate, and user experience is more preferable.
With reference to Fig. 4, a kind of structure diagram of the notice device of according to embodiments of the present invention four main broadcaster's state, tool are shown
Body can include following module:
User's determination module 401, the user type for judging the first client is main broadcasting user;
Detection module 402 is run, for detecting that first client is not run in system desktop;
Identify add module 403, in the flow data that acquire in first client, addition mark main broadcaster user from
The mark opened, so that the second client of receiving stream-oriented data reads the mark and according to the mark from the flow data
Prompting main broadcaster state is leaves.
In embodiments of the present invention, it is preferable that the operation detection module includes:
Handover event detection sub-module, for detecting the handover event that first client is switched to system background;
Or, process decision sub-module, the first item for decision-making system process list be not the first client it is corresponding into
Journey.
In embodiments of the present invention, it is preferable that described device further includes:
Pause live streaming determination module, for detecting that first client does not run it in system desktop described
Afterwards, judge that the main broadcaster user suspends live streaming.
In embodiments of the present invention, it is preferable that described device further includes:
Video clip provides module, for described, in the flow data of first client acquisition, addition label to be led
After the mark that broadcasting user leaves, extract default video clip and the second client is supplied to the form of flow data.
In embodiments of the present invention, it is preferable that the mark add module, specifically for being acquired in first client
Flow data in, addition label main broadcaster user suspend live streaming first flag.
In embodiments of the present invention, it is preferable that described device further includes:
Program information add module, in the flow data of first client acquisition, addition label to be led described
Before the mark that broadcasting user leaves, read currently in the target program letter of system desktop operation from the first item of system process list
Breath, and the mark left with label main broadcaster user is added in the flow data of the first client acquisition together.
In embodiments of the present invention, it is preferable that the operation detection module includes:
Rupturing operation detection sub-module, for detecting the rupturing operation for the flow data for being directed to the acquisition of the first client.
In embodiments of the present invention, it is preferable that described device further includes:
Determination module is broadcast live, for detecting that first client after system desktop operation, is not sentenced described
The fixed main broadcaster user stops live streaming;
The mark add module, specifically in the flow data that is acquired in first client, addition label main broadcaster
User stops the second identifier of live streaming.
In embodiments of the present invention, it is preferable that the mark add module includes:
Mark addition submodule, for adding label master in the setting position of the video data of first client recording
The mark that broadcasting user leaves;
Packet encapsulation submodule, for video data to be packaged into the data packet of setting flow data tunneling.
In conclusion embodiment according to the present invention, is main broadcasting user by the user type for judging the first client, detection
It is not run to first client in system desktop, judges that the main broadcaster user suspends live streaming so that the live streaming visitor of main broadcaster
Family end can detect the situation of live pause.
Further, believed by reading the target program currently run in system desktop from the first item of system process list
Breath, and the mark left with label main broadcaster user is added in the flow data of the first client acquisition together, in the described first visitor
In the flow data of family end acquisition, addition label main broadcaster user suspends the first flag of live streaming, for the second visitor of receiving stream-oriented data
The mark is read from the flow data and prompts main broadcaster's state to leave according to the mark in family end so that when live streaming
Collection terminal pause acquisition flow data, the label that main broadcaster is notified to leave is added in flow data, broadcasting end reads label and just carries
Show that main broadcaster leaves and suspends live streaming, compared to directly notice is sent by conventional connect, still thering is flow data not transfer, playing
End will not receive the notice that main broadcaster leaves and stop being broadcast live in advance in advance, avoid part flow data and be not played what end played
Problem, the respective treated time is more accurate, and user experience is more preferable.Meanwhile the information of the currently running program of add-on system, it realizes
According to program information to spectators prompt main broadcaster specifically leave the reason of.
Further, video clip is preset by extraction and the second client is supplied to the form of flow data, it is temporary in live streaming
The free time stopped provides other videos for spectators, so that spectators can stay in this direct broadcasting room, reduces spectators in the live pause phase
Between leave.
With reference to Fig. 5, a kind of structure diagram of the suggestion device of according to embodiments of the present invention five main broadcaster's state, tool are shown
Body can include following module:
Flow data receiving module 501, the flow data that the first client for receiving acquisition flow data provides;
Determination module 502 is identified, is left for judging that the setting position of the flow data has label main broadcaster's state
Mark;
Prompt message generation module 503 is the prompt message left for generating main broadcaster's state.
In conclusion embodiment according to the present invention, the flow data that the first client of flow data provides is acquired by reception,
It is the mark left to judge that the setting position of the flow data has label main broadcaster's state, and generation main broadcaster's state is the prompting left
Information so that when the collection terminal pause acquisition flow data of live streaming, the label that main broadcaster is notified to leave is added in flow data, is played
End reads label, and just prompting main broadcaster leaves and suspends live streaming, compared to directly notice is sent by conventional connect, is still there is stream
Data do not transfer, and the notice that main broadcaster leaves will not be received and stop being broadcast live in advance in advance by playing end, avoid part fluxion
According to the problem of end plays is not played, the respective treated time is more accurate, and user experience is more preferable.
The embodiment of the present invention also provides a kind of computer equipment, including:Memory, processor and it is stored in memory
Computer program that is upper and can running on a processor, which is characterized in that the processor is realized following when performing described program
Step:
Step 1, the user type of the first client of judgement is main broadcasting user;
Step 2, detect that first client is not run in system desktop;And
Step 3, in the flow data of first client acquisition, addition marks the mark that main broadcaster user leaves, for
Second client of receiving stream-oriented data reads the mark from the flow data and prompts main broadcaster's state according to the mark
To leave.
Optionally, the step 2 includes following sub-step:
Sub-step 1 detects the handover event that first client is switched to system background;
Or, sub-step 2, the first item of decision-making system process list is not the corresponding process of the first client.
Optionally, after the step 2, following steps are further included:
Step 4, judge that the main broadcaster user suspends live streaming.
Optionally, after the step 3, following steps are further included:
Step 5, it extracts default video clip and the second client is supplied to the form of flow data.
Optionally, the step 3 includes following sub-step:
Sub-step 3, in the flow data of first client acquisition, addition label main broadcaster user suspends the first of live streaming
Mark.
Optionally, before the step 3, following steps are further included:
Step 6, it is read from the first item of system process list currently in the target program information of system desktop operation, and with
The mark that label main broadcaster user leaves is added in the flow data of the first client acquisition together.
Optionally, the step 2 includes following sub-step:
Sub-step 4 detects the rupturing operation of the flow data acquired for the first client.
Optionally, after the step 2, following steps are further included:
Step 7, judge that the main broadcaster user stops live streaming;
The step 3 includes following sub-step:
Sub-step 5, in the flow data of first client acquisition, addition label main broadcaster user stops the second of live streaming
Mark.
Optionally, the step 3 includes following sub-step:
Sub-step 6 is left in the setting position addition label main broadcaster user of the video data of first client recording
Mark;
Video data is packaged into the data packet of setting flow data tunneling by sub-step 7.
In conclusion embodiment according to the present invention, is main broadcasting user by the user type for judging the first client;Detection
It is not run to first client in system desktop;In the flow data of first client acquisition, addition label master
The mark that broadcasting user leaves, for the second client of receiving stream-oriented data read from the flow data it is described mark and according to
The mark prompting main broadcaster state is leaves so that when the collection terminal pause of live streaming or stopping acquisition flow data, will notify main broadcaster
The label left is added in flow data, and broadcasting end reads label, and just prompting main broadcaster leaves and stops being broadcast live, logical compared to directly
It crosses conventional connection and sends notice, still thering is flow data not transfer, the notice that main broadcaster leaves will not be received in advance by playing end
And stop being broadcast live in advance, it avoids part flow data and is not played the problem of end plays, the respective treated time is more accurate, user
Experience is more preferable.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, should
Following steps are realized when program is executed by processor:
Step 1, the user type of the first client of judgement is main broadcasting user;
Step 2, detect that first client is not run in system desktop;And
Step 3, in the flow data of first client acquisition, addition marks the mark that main broadcaster user leaves, for
Second client of receiving stream-oriented data reads the mark from the flow data and prompts main broadcaster's state according to the mark
To leave.
Optionally, the step 2 includes following sub-step:
Sub-step 1 detects the handover event that first client is switched to system background;
Or, sub-step 2, the first item of decision-making system process list is not the corresponding process of the first client.
Optionally, after the step 2, following steps are further included:
Step 4, judge that the main broadcaster user suspends live streaming.
Optionally, after the step 3, following steps are further included:
Step 5, it extracts default video clip and the second client is supplied to the form of flow data.
Optionally, the step 3 includes following sub-step:
Sub-step 3, in the flow data of first client acquisition, addition label main broadcaster user suspends the first of live streaming
Mark.
Optionally, before the step 3, following steps are further included:
Step 6, it is read from the first item of system process list currently in the target program information of system desktop operation, and with
The mark that label main broadcaster user leaves is added in the flow data of the first client acquisition together.
Optionally, the step 2 includes following sub-step:
Sub-step 4 detects the rupturing operation of the flow data acquired for the first client.
Optionally, after the step 2, following steps are further included:
Step 7, judge that the main broadcaster user stops live streaming;
The step 3 includes following sub-step:
Sub-step 5, in the flow data of first client acquisition, addition label main broadcaster user stops the second of live streaming
Mark.
Optionally, the step 3 includes following sub-step:
Sub-step 6 is left in the setting position addition label main broadcaster user of the video data of first client recording
Mark;
Video data is packaged into the data packet of setting flow data tunneling by sub-step 7.
In conclusion embodiment according to the present invention, is main broadcasting user by the user type for judging the first client;Detection
It is not run to first client in system desktop;In the flow data of first client acquisition, addition label master
The mark that broadcasting user leaves, for the second client of receiving stream-oriented data read from the flow data it is described mark and according to
The mark prompting main broadcaster state is leaves so that when the collection terminal pause of live streaming or stopping acquisition flow data, will notify main broadcaster
The label left is added in flow data, and broadcasting end reads label, and just prompting main broadcaster leaves and stops being broadcast live, logical compared to directly
It crosses conventional connection and sends notice, still thering is flow data not transfer, the notice that main broadcaster leaves will not be received in advance by playing end
And stop being broadcast live in advance, it avoids part flow data and is not played the problem of end plays, the respective treated time is more accurate, user
Experience is more preferable.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.It can be the module or list in embodiment
Member or component be combined into a module or unit or component and can be divided into addition multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Profit requirement, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization or to be run on one or more processor
Software module realize or realized with combination thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) realize a kind of notification method of live state according to embodiments of the present invention
And some or all work(of device and some or all components in a kind of reminding method and device of live state
Energy.The present invention is also implemented as performing some or all equipment of method as described herein or device journey
Sequence (for example, computer program and computer program product).Such program for realizing the present invention can be stored in computer can
Read on medium or can have the form of one or more signal.Such signal can be downloaded from internet website
It obtains either providing on carrier signal or providing in the form of any other.
It should be noted that the present invention will be described rather than limits the invention, and ability for above-described embodiment
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and run after fame
Claim.
The invention discloses A1, a kind of methods for notifying main broadcaster's state, include the following steps:
Step 1, the user type of the first client of judgement is main broadcasting user;
Step 2, detect that first client is not run in system desktop;And
Step 3, in the flow data of first client acquisition, addition marks the mark that main broadcaster user leaves, for
Second client of receiving stream-oriented data reads the mark from the flow data and prompts main broadcaster's state according to the mark
To leave.
A2, the method according to A1, wherein, the step 2 includes following sub-step:
Sub-step 1 detects the handover event that first client is switched to system background;
Or, sub-step 2, the first item of decision-making system process list is not the corresponding process of the first client.
A3, the method according to A2, after the step 2, further include following steps:
Step 4, judge that the main broadcaster user suspends live streaming.
A4, the method according to A3, wherein, after the step 3, further include following steps:
Step 5, it extracts default video clip and the second client is supplied to the form of flow data.
A5, the method according to A3, wherein, the step 3 includes following sub-step:
Sub-step 3, in the flow data of first client acquisition, addition label main broadcaster user suspends the first of live streaming
Mark.
A6, the method according to A3, wherein, before the step 3, further include following steps:
Step 6, it is read from the first item of system process list currently in the target program information of system desktop operation, and with
The mark that label main broadcaster user leaves is added in the flow data of the first client acquisition together.
A7, the method according to A1, wherein, the step 2 includes following sub-step:
Sub-step 4 detects the rupturing operation of the flow data acquired for the first client.
A8, the method according to A7, wherein, after the step 2, further include following steps:
Step 7, judge that the main broadcaster user stops live streaming;
The step 3 includes following sub-step:
Sub-step 5, in the flow data of first client acquisition, addition label main broadcaster user stops the second of live streaming
Mark.
A9, the method according to A1, wherein, the step 3 includes following sub-step:
Sub-step 6 is left in the setting position addition label main broadcaster user of the video data of first client recording
Mark;
Video data is packaged into the data packet of setting flow data tunneling by sub-step 7.
The invention also discloses B10, a kind of methods for prompting main broadcaster's state, include the following steps:
Step 1, the flow data that the first client of acquisition flow data provides is received;
Step 2, it is the mark left to judge that the setting position of the flow data has label main broadcaster's state;And
Step 3, generation main broadcaster's state is the prompt message left.
The invention also discloses C11, a kind of system for notifying main broadcaster's state, including:
For judging device of the user type of the first client for main broadcasting user;
For detecting device that first client is not run in system desktop;And
For the device of mark that in the flow data that is acquired in first client, addition label main broadcaster user leaves,
The mark is read from the flow data for the second client of receiving stream-oriented data and prompts main broadcaster according to the mark
State is leaves.
C12, the system according to C11, wherein, it is described to be used to detect first client not in system desktop
The device of operation includes:
For detecting the device for the handover event that first client is switched to system background;
Or, for decision-making system process list first item be not the corresponding process of the first client device.
C13, the system according to C12, the system also includes:
For detecting that first client after system desktop operation, does not judge the main broadcaster user described
Suspend the device of live streaming.
C14, the system according to C13, wherein, the system also includes:
For described in the flow data of first client acquisition, the mark left of addition label main broadcaster user it
Afterwards, it extracts default video clip and the device of the second client is supplied to the form of flow data.
C15, the system according to C13, wherein, in the flow data for being acquired in first client, add
The device for the mark that marking main broadcaster user leaves, specifically in the flow data that is acquired in first client, addition mark
Remember that main broadcaster user suspends the first flag of live streaming.
C16, the system according to C13, wherein, the system also includes:
For described in the flow data of first client acquisition, the mark left of addition label main broadcaster user it
Before, it is read from the first item of system process list currently in the target program information of system desktop operation, and used with label main broadcaster
The mark that family is left is added to the device in the flow data of the first client acquisition together.
C17, the system according to C11, wherein, it is described to be used to detect first client not in system desktop
The device of operation includes:
For detecting the device of the rupturing operation for the flow data for being directed to the acquisition of the first client.
C18, the system according to C17, wherein, the system also includes:
For detecting that first client after system desktop operation, does not judge the main broadcaster user described
Stop the device of live streaming;
In the flow data for being acquired in first client, addition marks the dress of mark that main broadcaster user leaves
It puts, specifically in the flow data that is acquired in first client, addition label main broadcaster user stops the second identifier of live streaming.
C19, the system according to C11, wherein, in the flow data for being acquired in first client, add
The device for the mark that marking main broadcaster user leaves includes:
For adding the mark that label main broadcaster user leaves in the setting position of the video data of first client recording
The device of knowledge;
For video data to be packaged into the device of the data packet of setting flow data tunneling.
The invention also discloses D20, a kind of system for prompting main broadcaster's state, including:
The device of flow data provided for the first client for receiving acquisition flow data;
For judging that the setting position of the flow data has the device that label main broadcaster's state is the mark left;And
For generating the device that main broadcaster's state is the prompt message left.
The invention also discloses E 21, a kind of computer equipment, including:Memory, processor and storage are on a memory
And the computer program that can be run on a processor, which is characterized in that the processor realizes following walk when performing described program
Suddenly:
Step 1, the user type of the first client of judgement is main broadcasting user;
Step 2, detect that first client is not run in system desktop;And
Step 3, in the flow data of first client acquisition, addition marks the mark that main broadcaster user leaves, for
Second client of receiving stream-oriented data reads the mark from the flow data and prompts main broadcaster's state according to the mark
To leave.
The invention also discloses F 22, a kind of computer readable storage mediums, are stored thereon with computer program, the program
Following steps are realized when being executed by processor:
Step 1, the user type of the first client of judgement is main broadcasting user;
Step 2, detect that first client is not run in system desktop;And
Step 3, in the flow data of first client acquisition, addition marks the mark that main broadcaster user leaves, for
Second client of receiving stream-oriented data reads the mark from the flow data and prompts main broadcaster's state according to the mark
To leave.
Claims (10)
1. a kind of method for notifying main broadcaster's state includes the following steps:
Step 1, the user type of the first client of judgement is main broadcasting user;
Step 2, detect that first client is not run in system desktop;And
Step 3, in the flow data of first client acquisition, addition marks the mark that main broadcaster user leaves, for receiving
Second client of flow data read from the flow data mark and according to the mark prompt main broadcaster state be from
It opens.
2. according to the method described in claim 1, wherein, the step 2 includes following sub-step:
Sub-step 1 detects the handover event that first client is switched to system background;
Or, sub-step 2, the first item of decision-making system process list is not the corresponding process of the first client.
3. according to the method described in claim 2, after the step 2, following steps are further included:
Step 4, judge that the main broadcaster user suspends live streaming.
4. according to the method described in claim 3, wherein, after the step 3, further include following steps:
Step 5, it extracts default video clip and the second client is supplied to the form of flow data.
5. according to the method described in claim 3, wherein, the step 3 includes following sub-step:
Sub-step 3, in the flow data of first client acquisition, addition label main broadcaster user suspends the first mark of live streaming
Know.
6. a kind of method for prompting main broadcaster's state includes the following steps:
Step 1, the flow data that the first client of acquisition flow data provides is received;
Step 2, it is the mark left to judge that the setting position of the flow data has label main broadcaster's state;And
Step 3, generation main broadcaster's state is the prompt message left.
7. a kind of system for notifying main broadcaster's state, including:
For judging device of the user type of the first client for main broadcasting user;
For detecting device that first client is not run in system desktop;And
For the device of mark that in the flow data that is acquired in first client, addition label main broadcaster user leaves, for
Second client of receiving stream-oriented data reads the mark from the flow data and prompts main broadcaster's state according to the mark
To leave.
8. a kind of system for prompting main broadcaster's state, including:
The device of flow data provided for the first client for receiving acquisition flow data;
For judging that the setting position of the flow data has the device that label main broadcaster's state is the mark left;And
For generating the device that main broadcaster's state is the prompt message left.
9. a kind of computer equipment, including:Memory, processor and storage are on a memory and the meter that can run on a processor
Calculation machine program, which is characterized in that the processor realizes following steps when performing described program:
Step 1, the user type of the first client of judgement is main broadcasting user;
Step 2, detect that first client is not run in system desktop;And
Step 3, in the flow data of first client acquisition, addition marks the mark that main broadcaster user leaves, for receiving
Second client of flow data read from the flow data mark and according to the mark prompt main broadcaster state be from
It opens.
Realized 10. a kind of computer readable storage medium, is stored thereon with computer program, when which is executed by processor with
Lower step:
Step 1, the user type of the first client of judgement is main broadcasting user;
Step 2, detect that first client is not run in system desktop;And
Step 3, in the flow data of first client acquisition, addition marks the mark that main broadcaster user leaves, for receiving
Second client of flow data read from the flow data mark and according to the mark prompt main broadcaster state be from
It opens.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711484893.1A CN108174295B (en) | 2017-12-29 | 2017-12-29 | Method and device for notifying anchor state and method and device for prompting anchor state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711484893.1A CN108174295B (en) | 2017-12-29 | 2017-12-29 | Method and device for notifying anchor state and method and device for prompting anchor state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108174295A true CN108174295A (en) | 2018-06-15 |
CN108174295B CN108174295B (en) | 2021-05-25 |
Family
ID=62516317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711484893.1A Active CN108174295B (en) | 2017-12-29 | 2017-12-29 | Method and device for notifying anchor state and method and device for prompting anchor state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108174295B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111385591A (en) * | 2018-12-28 | 2020-07-07 | 阿里巴巴集团控股有限公司 | Network live broadcast method, live broadcast processing method and device, live broadcast server and terminal equipment |
CN111787347A (en) * | 2020-07-15 | 2020-10-16 | 广州繁星互娱信息科技有限公司 | Live broadcast time length calculation method, live broadcast display method, device and equipment |
CN113014946A (en) * | 2021-03-05 | 2021-06-22 | 广州市网星信息技术有限公司 | Emergency processing method and emergency processing device for live broadcast drop of live broadcast platform |
CN113365087A (en) * | 2021-05-31 | 2021-09-07 | 北京达佳互联信息技术有限公司 | Video data processing method and device, electronic equipment and storage medium |
CN114710685A (en) * | 2022-03-14 | 2022-07-05 | 秦皇岛泰和安科技有限公司 | Video stream processing method and device, terminal equipment and storage medium |
CN114760485A (en) * | 2021-01-08 | 2022-07-15 | 武汉斗鱼网络科技有限公司 | Video carousel method, system and related equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105007527A (en) * | 2015-08-05 | 2015-10-28 | 腾讯科技(深圳)有限公司 | Data live-broadcast method and data live-broadcast device |
US20160173683A1 (en) * | 2014-12-16 | 2016-06-16 | All Phase Consulting, Inc. | Simultaneous Uninterrupted Media Play And Call Management |
CN106101806A (en) * | 2016-07-04 | 2016-11-09 | 天脉聚源(北京)传媒科技有限公司 | A kind of method for processing video frequency when sharing live video and device |
CN106488335A (en) * | 2016-09-20 | 2017-03-08 | 北京小米移动软件有限公司 | Live-broadcast control method and device |
CN107071503A (en) * | 2017-02-09 | 2017-08-18 | 腾讯科技(深圳)有限公司 | The method of net cast, device and live connect streaming server |
CN107241615A (en) * | 2017-07-31 | 2017-10-10 | 合网络技术(北京)有限公司 | Live pause method, system, live pause device and direct broadcast server |
US20170317940A1 (en) * | 2016-04-27 | 2017-11-02 | Dell Products, Lp | System and Method for Executing a High Bandwidth Network Activity as a Background Activity in a Virtual Desktop Environment |
-
2017
- 2017-12-29 CN CN201711484893.1A patent/CN108174295B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160173683A1 (en) * | 2014-12-16 | 2016-06-16 | All Phase Consulting, Inc. | Simultaneous Uninterrupted Media Play And Call Management |
CN105007527A (en) * | 2015-08-05 | 2015-10-28 | 腾讯科技(深圳)有限公司 | Data live-broadcast method and data live-broadcast device |
US20170317940A1 (en) * | 2016-04-27 | 2017-11-02 | Dell Products, Lp | System and Method for Executing a High Bandwidth Network Activity as a Background Activity in a Virtual Desktop Environment |
CN106101806A (en) * | 2016-07-04 | 2016-11-09 | 天脉聚源(北京)传媒科技有限公司 | A kind of method for processing video frequency when sharing live video and device |
CN106488335A (en) * | 2016-09-20 | 2017-03-08 | 北京小米移动软件有限公司 | Live-broadcast control method and device |
CN107071503A (en) * | 2017-02-09 | 2017-08-18 | 腾讯科技(深圳)有限公司 | The method of net cast, device and live connect streaming server |
CN107241615A (en) * | 2017-07-31 | 2017-10-10 | 合网络技术(北京)有限公司 | Live pause method, system, live pause device and direct broadcast server |
Non-Patent Citations (1)
Title |
---|
开淘网站: "淘宝直播常见问题解决方法", 《HTTPS://WWW.KAITAO.CN/ARTICLE/20161107171800.HTM》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111385591A (en) * | 2018-12-28 | 2020-07-07 | 阿里巴巴集团控股有限公司 | Network live broadcast method, live broadcast processing method and device, live broadcast server and terminal equipment |
CN111787347A (en) * | 2020-07-15 | 2020-10-16 | 广州繁星互娱信息科技有限公司 | Live broadcast time length calculation method, live broadcast display method, device and equipment |
CN114760485A (en) * | 2021-01-08 | 2022-07-15 | 武汉斗鱼网络科技有限公司 | Video carousel method, system and related equipment |
CN114760485B (en) * | 2021-01-08 | 2023-09-26 | 深圳市酷看文化传播有限公司 | Video carousel method, system and related equipment |
CN113014946A (en) * | 2021-03-05 | 2021-06-22 | 广州市网星信息技术有限公司 | Emergency processing method and emergency processing device for live broadcast drop of live broadcast platform |
CN113365087A (en) * | 2021-05-31 | 2021-09-07 | 北京达佳互联信息技术有限公司 | Video data processing method and device, electronic equipment and storage medium |
CN113365087B (en) * | 2021-05-31 | 2023-01-20 | 北京达佳互联信息技术有限公司 | Video data processing method and device, electronic equipment and storage medium |
CN114710685A (en) * | 2022-03-14 | 2022-07-05 | 秦皇岛泰和安科技有限公司 | Video stream processing method and device, terminal equipment and storage medium |
CN114710685B (en) * | 2022-03-14 | 2023-12-05 | 秦皇岛泰和安科技有限公司 | Video stream processing method and device, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108174295B (en) | 2021-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108174295A (en) | The notification method and device of main broadcaster's state, the reminding method and device of main broadcaster's state | |
CN105007527B (en) | Data live broadcasting method and device | |
CN107666619B (en) | Live data transmission method, device, electronic equipment, server and storage medium | |
CN107483460B (en) | Method and system for multi-platform parallel broadcasting and stream pushing | |
CN105306413B (en) | A kind of information issuing method and system, depending on networked server and issue terminal | |
CN107071503B (en) | The method, apparatus of net cast and live streaming connect streaming server | |
CN102263959B (en) | Direct broadcast transfer method and system | |
CN103763626B (en) | A kind of information-pushing method, equipment and system | |
US20150100979A1 (en) | System and method for creating contextual messages for videos | |
WO2017101369A1 (en) | Live video transcoding method and apparatus | |
CN104333799B (en) | A kind of methods, devices and systems of channel switch | |
CN108124173A (en) | A kind of one-to-many throw shields display methods, system and storage medium | |
CN106301811A (en) | Realize the method and device of multimedia conferencing | |
CN107370610A (en) | Meeting synchronous method and device | |
CN109982148A (en) | A kind of live broadcasting method, device, computer equipment and storage medium | |
CN102291607A (en) | Frame accurate content insertion system | |
CN110475159A (en) | The transmission method and device of multimedia messages, terminal | |
CN109005422A (en) | Video comments processing method and processing device | |
CN110324580A (en) | A kind of monitor video playback method and device based on view networking | |
CN114024941B (en) | WebRTC-based multi-terminal multi-channel real-time video monitoring method | |
CN102789385A (en) | Video file player and method for processing video file play | |
CN108173861A (en) | A kind of method, apparatus of net cast and live streaming distribution connector | |
CN110740386A (en) | Live broadcast switching method and device and storage medium | |
CN103945074B (en) | A kind of CRBT method for customizing and system | |
CN106375784A (en) | Method and apparatus for commenting program and receiving comment information of program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |