CN106954079A - Live record statistical method and device - Google Patents
Live record statistical method and device Download PDFInfo
- Publication number
- CN106954079A CN106954079A CN201710150580.6A CN201710150580A CN106954079A CN 106954079 A CN106954079 A CN 106954079A CN 201710150580 A CN201710150580 A CN 201710150580A CN 106954079 A CN106954079 A CN 106954079A
- Authority
- CN
- China
- Prior art keywords
- mark
- broadcast
- broadcasting
- main broadcaster
- pass
- 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
- 238000007619 statistical method Methods 0.000 title claims abstract description 19
- 238000000034 method Methods 0.000 claims abstract description 33
- 230000000875 corresponding effect Effects 0.000 claims description 164
- 230000005540 biological transmission Effects 0.000 claims description 19
- 230000004044 response Effects 0.000 claims description 13
- 238000001514 detection method Methods 0.000 claims description 10
- 238000001914 filtration Methods 0.000 claims description 10
- 230000000052 comparative effect Effects 0.000 claims description 4
- 230000002159 abnormal effect Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 238000009331 sowing Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 210000004209 hair Anatomy 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 230000001960 triggered effect Effects 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/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/4508—Management of client data or end-user data
- H04N21/4532—Management of client data or end-user data involving end-user characteristics, e.g. viewer profile, preferences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
- H04N21/25891—Management of end-user data being end-user preferences
-
- 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/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/454—Content or additional data filtering, e.g. blocking advertisements
-
- 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/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/466—Learning process for intelligent management, e.g. learning user preferences for recommending movies
- H04N21/4667—Processing of monitored end-user data, e.g. trend analysis based on the log file of viewer selections
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/835—Generation of protective data, e.g. certificates
- H04N21/8352—Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Graphics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The embodiment of the present invention provides a kind of live record statistical method and device, and this method includes:Server receive CDN node send every time start broadcasting notice and pass broadcast notices, start broadcasting notice include main broadcaster mark and the mark that starts broadcasting, close broadcast notify include main broadcaster identify and pass broadcast mark;According to the default one-to-one corresponding for starting broadcasting and identifying and close and broadcasting between mark, statistics main broadcaster identifies corresponding live record.This programme provide live record statistical method in, based on start broadcasting mark and close broadcast mark between one-to-one corresponding, a pair pairs of accurate alignment start broadcasting notice and pass broadcast notice, to ensure the accuracy of live statistics.
Description
Technical field
The present invention relates to network direct broadcasting technical field, more particularly to a kind of live record statistical method and device.
Background technology
The appearance of network direct broadcasting causes information transmission more rapid and convenient, in addition its novel pattern and relatively easily
Service and bring a kind of brand-new vision and hearing enjoying to audient.The appearance of network direct broadcasting makes the autonomous selectance of spectators with participating in
Degree has obtained huge extension.Meanwhile, the characteristic of network direct broadcasting two-way exchange also gives the due respect of audients, receives
The high praise of the particularly young online friends of numerous online friends and have deep love for.
In existing webcast website, it will usually the live duration of main broadcaster is counted, and regard live duration as examination
The important indicator of main broadcaster.At present, a kind of mode of the live duration of server statistics is:When main broadcaster starts live or stops straight
Sowing time, it can send to start broadcasting and notice or close and broadcast notice to server, server is broadcast between notice by calculating the notice and closing of starting broadcasting
Time interval obtains the live duration of main broadcaster, and notifies the live number of times that number of times determines main broadcaster according to starting broadcasting of receiving.
But, in practical application, often arise a problem that:Main broadcaster itself statistics live number of times, live duration with
Live number of times that server feeds back to it, live duration are inconsistent.That is, server adjacent starts broadcasting according to what priority was received
Notify and close the mode for broadcasting the live number of times and live duration that notify statistics main broadcaster, it is likely that occur that statistics is inaccurate
The problem of.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of live record statistical method and device, it is possible to achieve unite exactly
Count the live record of main broadcaster.
The embodiment of the present invention provides a kind of live record statistical method, including:
The notice that starts broadcasting that CDN node is sent every time is received, the notice that starts broadcasting includes main broadcaster's mark and the mark that starts broadcasting;
Receive the pass that the CDN node sends every time and broadcast notice, notice is broadcast in the pass includes main broadcaster's mark and pass
Broadcast mark;
According to it is default it is described start broadcasting mark and one-to-one corresponding between mark is broadcast in the pass, count main broadcaster mark
Corresponding live record.
Alternatively, before the notice that starts broadcasting that the reception CDN node is sent every time, also include:
Previous it ought be started broadcasting request in response to main broadcaster's client, it is determined that plug-flow address corresponding with the request of starting broadcasting,
The plug-flow address includes main broadcaster mark and start broadcasting corresponding with the request of starting broadcasting identifies and mark is broadcast in pass;
The plug-flow address is sent to main broadcaster's client, so that main broadcaster's client is according to the plug-flow address
Live video stream is pushed to the corresponding CDN node.
Alternatively, it is described according to it is default it is described start broadcasting mark and it is described pass broadcast mark between one-to-one corresponding, statistics
The main broadcaster identifies corresponding live record, including:
Closed according to i-th received broadcast notify started broadcasting i+1 described the reception time difference between notifying with
The comparative result of preset time difference limen value, broadcasts notice with each pass to the notice that respectively starts broadcasting received and carries out validity filtering;
It is determined that starting broadcasting after filtering notifies and closed that the switch broadcast between notifying broadcasts corresponding relation;
Corresponding relation is broadcast according to the switch and counts the corresponding live record of main broadcaster's mark.
Alternatively, it is described that the corresponding live record of corresponding relation statistics main broadcaster's mark is broadcast according to the switch, including:
The number for broadcasting corresponding relation according to the switch determines that the main broadcaster identifies corresponding live number of times;And/or,
The one-to-one corresponding that starting broadcasting according to corresponding to each switch broadcasts corresponding relation identifies and closed and broadcast between mark,
Determine the corresponding each live live duration of main broadcaster's mark.
Alternatively, the starting broadcasting mark and closing that each switch of the basis is broadcast corresponding to corresponding relation is broadcast between mark
One-to-one corresponding property, determines the corresponding each live live duration of main broadcaster's mark, including:
Corresponding relation is broadcast for either switch, starting broadcasting corresponding to corresponding relation is identified and pass is broadcast if the either switch is broadcast
Mark is with one-to-one corresponding property, it is determined that the first reception time difference that corresponding start broadcasting notice and pass are broadcast between notifying is once straight
The live duration broadcast;
If the either switch is broadcast, starting broadcasting corresponding to corresponding relation identifies and mark is broadcast without one-to-one corresponding property in pass,
Corresponding the first reception time difference for starting broadcasting and notifying and close and broadcasting between notifying is determined, and notifies and closes in corresponding start broadcasting
Broadcast notify between be filtered it is each to start broadcasting notify and close broadcast notify between second receive the time difference;
The time difference and described second is received according to described first and receives the difference of time difference, it is determined that when once live live
It is long.
The embodiment of the present invention provides a kind of live record statistical method, including:
If receiving the live video stream of main broadcaster's client transmission, send and start broadcasting notice to server, it is described start broadcasting it is logical
Knowing includes main broadcaster's mark and the mark that starts broadcasting;
In response to the cutout of the live video stream, send pass to the server and broadcast notice, the pass, which is broadcast in notice, wraps
Include main broadcaster's mark and mark is broadcast in pass;
The mark that starts broadcasting is broadcast mark with the pass and corresponded.
Alternatively, if receiving the live video stream of main broadcaster's client transmission, before sending the notice that starts broadcasting to server,
Also include:
Receive the plug-flow address that main broadcaster's client is sent;
Main broadcaster mark is parsed from the plug-flow address, described mark is started broadcasting and mark is broadcast in the pass.
The embodiment of the present invention provides a kind of live record statistic device, including:
Receiver module, for receive that CDN node sends every time start broadcasting notice and notices, notice and the pass of starting broadcasting are broadcast in pass
Broadcasting includes main broadcaster's mark and the mark that starts broadcasting in notice;
Statistical module, for according to it is default it is described start broadcasting mark and it is described pass broadcast mark between one-to-one corresponding, system
Count the main broadcaster and identify corresponding live record.
Alternatively, described device also includes:
Determining module, for that previous ought be started broadcasting request in response to main broadcaster's client, it is determined that with the request pair of starting broadcasting
The plug-flow address answered, the plug-flow address includes main broadcaster's mark and mark and the pass of starting broadcasting corresponding with the request of starting broadcasting
Broadcast mark;
Sending module, for the plug-flow address to be sent to main broadcaster's client, so that main broadcaster's client root
According to the plug-flow address live video stream is pushed to the corresponding CDN node.
The embodiment of the present invention provides a kind of live record statistic device, including:
Receiver module, the live video stream for receiving the transmission of main broadcaster's client;
Sending module, if receiving the live video stream that main broadcaster's client is sent for the receiver module, to
Server sends the notice that starts broadcasting, and the notice that starts broadcasting includes main broadcaster's mark and the mark that starts broadcasting;
Detection module, for detecting whether the live video stream stops;
The sending module, if being additionally operable to the live video stream cutout, sending pass to the server broadcasts notice, described
Pass, which is broadcast, notifies that including main broadcaster's mark and pass broadcasts mark, wherein the mark that starts broadcasting is broadcast to identify and corresponded with the pass.
Live record statistical method provided in an embodiment of the present invention and device, CDN node is when receiving live video stream
The notice that starts broadcasting with main broadcaster's mark and the mark that starts broadcasting is sent to server, and is then monitoring live video stream cutout
When, the pass for broadcasting mark with main broadcaster's mark and pass is sent to server and broadcasts notice, the mark that starts broadcasting broadcasts mark one-to-one corresponding with pass,
Namely embody the correspondence for notifying and closing to broadcast notice that starts broadcasting of CDN node successively triggering.So as to which server is receiving CDN
Notice that what node was sent start broadcasting and pass be when broadcasting notice, even if notice and closing because the reasons such as Network Abnormal cause to start broadcasting and broadcasting notice
Reception order is inconsistent with transmission order, also can identify and close the one-to-one corresponding broadcast between mark, accurate alignment based on starting broadcasting
A pair pairs start broadcasting notice and pass broadcast notice, to ensure the accuracy of live statistics.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is live broadcast system configuration diagram provided in an embodiment of the present invention;
Fig. 2 is the live flow chart for recording statistical method embodiment one provided in an embodiment of the present invention;
Fig. 3 is the live flow chart for recording statistical method embodiment two provided in an embodiment of the present invention;
Fig. 4 is the live flow chart for recording statistical method embodiment three provided in an embodiment of the present invention;
Fig. 5 is the live flow chart for recording statistical method example IV provided in an embodiment of the present invention;
Fig. 6 is the live structural representation for recording statistic device embodiment one provided in an embodiment of the present invention;
Fig. 7 is the live structural representation for recording statistic device embodiment two provided in an embodiment of the present invention;
Fig. 8 is the live structural representation for recording statistic device embodiment three provided in an embodiment of the present invention;
Fig. 9 is the live structural representation for recording statistic device example IV provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The term used in embodiments of the present invention is the purpose only merely for description specific embodiment, and is not intended to be limiting
The present invention." one kind ", " described " and "the" of singulative used in the embodiment of the present invention and appended claims
It is also intended to including most forms, unless context clearly shows that other implications, " a variety of " generally comprise at least two, but not
Exclude and include at least one situation.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, represent
There may be three kinds of relations, for example, A and/or B, can be represented:Individualism A, while there is A and B, individualism B these three
Situation.In addition, character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.
It will be appreciated that though XXX may be described using term first, second, third, etc. in embodiments of the present invention, but
These XXX should not necessarily be limited by these terms.These terms are only used for XXX being distinguished from each other out.For example, not departing from implementation of the present invention
In the case of example scope, the first XXX can also be referred to as the 2nd XXX, similarly, and the 2nd XXX can also be referred to as the first XXX.
Depending on linguistic context, word as used in this " if ", " if " can be construed to " ... when " or
" when ... " or " in response to determining " or " in response to detection ".Similarly, depending on linguistic context, phrase " if it is determined that " or " such as
Fruit detection (condition or event of statement) " can be construed to " when it is determined that when " or " in response to determine " or " when detection (statement
Condition or event) when " or " in response to detection (condition or event of statement) ".
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising, so that commodity or system including a series of key elements not only include those key elements, but also including without clear and definite
Other key elements listed, or also include for this commodity or the intrinsic key element of system.In the feelings of not more limitations
Under condition, the key element limited by sentence "including a ...", it is not excluded that in the commodity or system including the key element also
There is other identical element.
Fig. 1 is Living Network configuration diagram provided in an embodiment of the present invention.As shown in figure 1, Living Network includes:Main broadcaster
Client, watches client, content distributing network (Content Delivery Network, abbreviation CDN) node and service
Device.
The process for entering performing network living broadcast using the network direct broadcasting system can include:Main broadcaster's client is by live video stream
CDN node is reached, CDN node receives live video stream to complete the plug-flow process of live video stream, while CDN node is to service
Device sends the notice that starts broadcasting.Server is received after the notice that starts broadcasting, namely to be to determine that main broadcaster has begun to live, will can be entered
The live corresponding direct broadcasting room of main broadcaster of row pushes to webcast website's homepage, so that user selects to want according to the push of website homepage
The live content of viewing.Chosen in some user after the direct broadcasting room for wanting viewing, pass through the viewing installed in its terminal device
Client obtains live video stream from CDN node, is watched, and completes the drawing stream process of live video stream.And when CDN node exists
The live video stream i.e. CDN node for not receiving the transmission of main broadcaster's client in predetermined amount of time detects live video stream and stopped
When, then send pass to server and broadcast notice, show that main broadcaster has stopped live.
Live record statistical method provided in an embodiment of the present invention will be described in detail from the angle of server below.
Fig. 2 shows the flow chart of embodiment of the method one for live record statistics provided in an embodiment of the present invention, and the present embodiment is carried
The live record statistics supplied shows that method comprises the following steps:
S201, receives the notice that starts broadcasting that CDN node is sent every time, and the notice that starts broadcasting includes main broadcaster's mark and the mark that starts broadcasting.
CDN node is received after the live video stream of main broadcaster's client transmission, it is believed that main broadcaster start it is live, and to server
Transmission is started broadcasting notice.The notice that starts broadcasting includes main broadcaster's mark and the mark that starts broadcasting, and wherein main broadcaster's mark can be main broadcaster ID, show out
Which main broadcaster that broadcast is specifically.
Notice is broadcast in S202, the pass that reception CDN node is sent every time, and pass, which is broadcast, notifies that including main broadcaster's mark and pass broadcasts mark.
When CDN node detects live video stream and stopped, CDN node is to judge that the main broadcaster has been closed to broadcast, then to clothes
Business device sends pass and broadcasts notice, correspondingly, and pass is broadcast in notice and broadcasts mark comprising main broadcaster's mark and pass.
It is alternatively possible to a time threshold be preset, when CDN node does not receive main broadcaster client in preset time threshold
When holding the live video stream sent, it now that is to say that CDN node detects live video stream and stopped, and the cutout duration
When reaching above-mentioned time threshold, it is believed that main broadcaster is broken, now CDN node is triggered to send to server and broadcast containing main broadcaster's mark and pass
Broadcast notice in the pass of mark.
Alternatively, the mark that starts broadcasting and pass are broadcast mark and can generated by CDN node, specifically, are identified for some main broadcaster,
CDN node can use the mode for previously generating or generating in real time to start broadcasting mark and mark is broadcast in pass for main broadcaster mark generation is corresponding
Know.
For it is above-mentioned it is described previously generate mode, alternatively, CDN node can previously generate many for each main broadcaster mark
To start broadcasting mark and pass broadcast mark, by it is multipair start broadcasting identify and pass broadcast mark and be put into mark queue corresponding with main broadcaster mark
In, use successively in order, one of them mark that starts broadcasting is closed with one broadcasts mark as a pair of marks, therebetween with one by one
Correspondence.
Based on this, when CDN node receives the live video stream of certain main broadcaster triggering, from the main broadcaster of main broadcaster mark pair
A pair of marks that start broadcasting for identifying and closing and broadcast in mark that start broadcasting for currently coming head of the queue are chosen in the mark queue answered, by this mark that starts broadcasting
Know to be carried in the notice that starts broadcasting together with main broadcaster's mark and send to server;When CDN node detects live video stream cutout,
The pass that a pair that head of the queue is currently come in above-mentioned mark queue start broadcasting mark and passes are broadcast in mark broadcasts mark and main broadcaster identifies
Be carried on pass broadcast notice in send to server, and by this to it is used start broadcasting mark with pass broadcast mark from mark queue in
Delete.
For above-mentioned described real-time generating mode, specifically, when CDN node receives the live video of certain main broadcaster triggering
During stream, in real time generation one mark that starts broadcasting, and by this start broadcasting mark together with main broadcaster mark be carried on start broadcasting notice in send to clothes
Business device.CDN node continuously have received after the live video stream of a period of time, if certain moment detects the live video stream and broken
Stream, then the pass corresponding with the foregoing mark that starts broadcasting of generation one in real time broadcast mark, this, which starts broadcasting, identifies and pass is broadcast and identified in the presence of one a pair
Ying Xing, and by this pass broadcast mark together with main broadcaster mark be carried on pass broadcast notice in send to server.
Alternatively, the one-to-one corresponding that the mark that starts broadcasting and pass are broadcast between mark can broadcast mark by the mark that will start broadcasting with pass
Same mark is set to embody.For example, certain live starting broadcasting is identified and pass is broadcast and is designated a1, when in use, once start broadcasting
Notify such as to be open (a1), corresponding once close broadcasts notice for close (a1), wherein, open and close are corresponded respectively to out
Broadcast notice and notice is broadcast in pass, bracket represents the parameter that can be included in notice.Now, server can be known based on open and close
Do not go out to start broadcasting and notify or close to broadcast notice, the corresponding mark that starts broadcasting can be determined based on a1, close and broadcast mark.
Alternatively, the mark that starts broadcasting and pass can also be broadcast in the presence of one-to-one corresponding property between broadcasting mark by the mark that will start broadcasting with pass
Mark is set to different marks, but the two has default corresponding relation to embody, for example, certain live starting broadcasting is designated
A1, corresponding pass, which is broadcast, is designated b1.
What deserves to be explained is, all starting broadcasting notify it is corresponding start broadcasting mark between and all passes broadcast and notify corresponding
Close and broadcast between mark all having differences property, that is to say that mark is broadcast in each pass or the mark that starts broadcasting has uniqueness.
S203, according to the default one-to-one corresponding for starting broadcasting and identifying and close and broadcasting between mark, statistics main broadcaster's mark is corresponding
Live record.
In the present embodiment, the live number of times that above-mentioned live record can including live duration live every time and altogether.
For a main broadcaster, CDN node may repeatedly receive the live video stream of the main broadcaster within a period of time,
I.e. the CDN node may repeated detection to the live video stream of the main broadcaster cutout.Because CDN node is receiving once this
During the live video stream of main broadcaster, i.e., to one notice that starts broadcasting of server triggers, subsequently detecting the cutout of the live video stream
When, i.e., broadcast notice to one corresponding pass of server triggers;If when then receiving the live video stream of the main broadcaster again,
Trigger the notice that starts broadcasting again to server, so repeatedly.Therefore, for for the main broadcaster, server side be able to will likely connect
Receive multiple notice and corresponding multiple passes of starting broadcasting and broadcast notice.
In the present embodiment, it is assumed that the whole that server is received starts broadcasting notice and pass broadcast notice be all it is effective, then can be with
The one-to-one corresponding broadcast between mark is identified and closed based on starting broadcasting, it is determined that the correspondence for notifying and closing and broadcast between notice that starts broadcasting, i.e.,
Determining which to start broadcasting, to broadcast notice corresponding with which pass for notice.So as to notify to broadcast the correspondence of notice with closing based on starting broadcasting, according to right
It should start broadcasting and notify the corresponding once live live duration of the time difference determination for receiving the time that notice is broadcast with closing.And live number of times can
With according to start broadcasting mark, close broadcast mark, notices that start broadcasting, pass broadcast notice any one of number determination.
In the present embodiment, CDN node sends to server when receiving live video stream and identifies and start broadcasting with main broadcaster
Mark notices that start broadcasting, and then monitor the live video stream cutout when, to server send with main broadcaster mark with
Notice is broadcast in the pass that mark is broadcast in pass, and the mark that starts broadcasting is broadcast mark with pass and corresponded, namely embodies opening for CDN node priority triggering
Broadcast the correspondence for notifying and closing to broadcast notice.So as to, server receive CDN node transmission start broadcasting notice and notice is broadcast in pass
When, though due to the reasons such as Network Abnormal cause to start broadcasting notify and close broadcast notice reception order it is inconsistent with transmission order,
Can based on start broadcasting mark and close broadcast mark between one-to-one corresponding, a pair pairs of accurate alignment start broadcasting notice and pass broadcast notice, with
Ensure the accuracy of live statistics.
Fig. 3 is the live flow chart for recording statistical method embodiment two provided in an embodiment of the present invention, as shown in Figure 3.
On the basis of Fig. 2 embodiments, before step S201 is performed, it can also comprise the following steps:
S301, previous ought start broadcasting request in response to main broadcaster's client, it is determined that plug-flow address corresponding with request of starting broadcasting,
Plug-flow address include main broadcaster mark and it is corresponding with request of starting broadcasting start broadcasting identify and pass broadcast mark.
Main broadcaster's client is live straight to server transmission first against this before live upload live video stream is started
Broadcast request, identified in live request comprising main broadcaster, server receives this request of starting broadcasting, it is determined that with starting broadcasting the corresponding plug-flow of request
Location, plug-flow address include main broadcaster mark and it is corresponding with the request of this time starting broadcasting of the main broadcaster start broadcasting identify and pass broadcast mark,
It is corresponding that the mark that starts broadcasting broadcasts mark with the pass.What deserves to be explained is, in the present embodiment, to reduce between server and main broadcaster's client
Interaction signaling, can by it is above-mentioned start broadcasting mark and pass broadcast mark and be carried in plug-flow address, still, in fact, not strict
Limit this start broadcasting mark and pass broadcast mark and must be carried in plug-flow address.
Based on what is referred in embodiment two:Mark is broadcast in the mark that each starts broadcasting and pass has uniqueness, therefore, for same
The difference of main broadcaster start broadcasting request plug-flow address also have uniqueness because every time start broadcasting request it is corresponding start broadcasting mark and pass broadcast
Mark is different.
Wherein, server for generate it is above-mentioned start broadcasting mark and close broadcast mark process may refer to it is right in previous embodiment
CDN node, which is generated, to start broadcasting mark and closes the description for broadcasting mark, can simply complete corresponding life in the present embodiment by server
Into process, it will not be described here.
S302, plug-flow address is sent to main broadcaster's client so that main broadcaster's client according to plug-flow address to corresponding CDN
Node pushes live video stream.
Server is determined behind plug-flow address according to request of starting broadcasting, and plug-flow address is sent into main broadcaster's client, main broadcaster client
End receives this plug-flow address, and live video stream is uploaded into corresponding CDN node according to this address.
It is understood that CDN node is by parsing plug-flow address, it can obtain and therein start broadcasting mark and mark is broadcast in pass
Know.
S303, receives the notice that starts broadcasting that CDN node is sent every time, and the notice that starts broadcasting includes main broadcaster's mark and the mark that starts broadcasting.
Notice is broadcast in S304, the pass that reception CDN node is sent every time, and pass, which is broadcast, notifies that including main broadcaster's mark and pass broadcasts mark.
S305, according to the default one-to-one corresponding for starting broadcasting and identifying and close and broadcasting between mark, statistics main broadcaster's mark is corresponding
Live record.
The implementation procedure of above three step may refer to the associated description in embodiment as shown in Figure 2, will not be described here.
Assume to be directed to for same main broadcaster in previous embodiment, multiple notice and multiple passes of starting broadcasting that server is received are broadcast
Notice is all effective, that is, assumes that each notice that starts broadcasting received means once live beginning, each close broadcasts notice meaning
Taste once live end.But, in practice, because the wireless network environment between main broadcaster's client and CDN node may
Various network abnormal situations occur, it is possible that such situation:Main broadcaster does not trigger once to close and broadcast in fact, for no other reason than that
Network Abnormal causes CDN node to be briefly not received by the live video stream of the main broadcaster, still, because CDN node is in detection
Broadcast notices to just being closed immediately to server triggers when not receiving live video stream, and when receiving live video stream immediately to
Server sends the notice that starts broadcasting, if now server broadcasts notice, the live number of times of the notice that starts broadcasting progress, live duration based on the pass
Statistics, it is possible that the situation of mistake of statistics.Therefore, being carried out the embodiments of the invention provide scheme as shown in Figure 4 straight
Broadcast statistical disposition.
Fig. 4 is the live flow chart for recording statistical method embodiment three provided in an embodiment of the present invention, as shown in Figure 4.
On the basis of Fig. 2 or Fig. 3 embodiments, it may be referred to the scheme shown in Fig. 4 and started broadcasting according to default
The one-to-one corresponding between mark, the step of statistics main broadcaster identifies corresponding live record are broadcast in mark and pass:
S401, notice is broadcast the i+1 individual reception time difference between notifying of starting broadcasting with presetting according to i-th of the pass received
The comparative result of time difference threshold value, broadcasts notice with each pass to the notice that respectively starts broadcasting received and carries out validity filtering.
For same main broadcaster identify for, server a period of time in be sequentially received it is multiple start broadcasting notify broadcast with pass it is logical
After knowing, it can calculate to receive i-th of pass and broadcast and notify to start broadcasting the reception time difference between notifying i+1, the time will be received
It is poor to be compared with default time difference threshold value, if the reception time difference is more than time difference threshold value, show there is the long period
Live video stream interrupt, now think to close for this i-th that to broadcast notice and the i+1 notice that starts broadcasting effective;If the reception time difference
Less than time difference threshold value, then it represents that during this period probably due to Network Abnormal generates the short interruption of live video stream, now
Think i-th received closes to broadcast notify to start broadcasting notify it is invalid with i+1, filter i-th of pass and broadcast notice and i+1
Start broadcasting notice.
As an example it is assumed that server receive the notice that starts broadcasting, close and broadcast notice and be followed successively by:Open (1), open (2),
Close (1), close (2).Now i=1, that is, calculate first pass and broadcast notice close (1) and second notice open that starts broadcasting
(2) the reception time difference between, if the reception time difference is more than time difference threshold value, close (1), open (2) are effective, phase
Instead, if greater than time difference threshold value, then close (1), open (2) are invalid, are filtered.
Due to the unstability of the network between CDN node and server, may cause to start broadcasting notifies and closes to broadcast notice
Reception order is inconsistent with transmission order, as shown in this citing.
S402, it is determined that starting broadcasting after filtering notifies and closed that the switch broadcast between notifying broadcasts corresponding relation.
S403, broadcasts corresponding relation statistics main broadcaster according to switch and identifies corresponding live record.
Invalid notice is started broadcasting to having filtered and pass is broadcast and remaining after notice starts broadcasting notice and pass broadcasts notice and carries out switch and broadcasts pair
The determination that should be related to.
What deserves to be explained is, if server receive each start broadcasting notice and pass broadcast notice be all effective, then
Start broadcasting notify with close broadcast notice switch broadcast corresponding relation can according to start broadcasting mark with close broadcast mark one-to-one corresponding determination,
And start broadcasting notice and notices is broadcast in pass if there is invalid, then mark merely can not be broadcast one by one with pass according to the mark that starts broadcasting again
Correspondence notifies to determine to start broadcasting and pass broadcasts the switch between notifying and broadcasts corresponding relation.Now, start broadcasting notice and the pass after filtering
The switch broadcast between notifying broadcasts corresponding relation and can be:According to reception time sequencing, the previous notice that effectively starts broadcasting after filtering
It is corresponding that notice is broadcast with latter effective pass.
Specifically, the example in above-mentioned steps S401 is accepted, it is assumed that open (1), open (2), close (1), close (2)
All effective, it is determined that open (1) and close (1) broadcasts correspondence with switch, open (2) and close (2) are broadcast pair with switch
Ying Xing.Assuming that open (2) and close (1) are filtered out because invalid, then remaining is open (1) and close (2), open (1) and
Close (2) broadcasts correspondence with switch.
Determine it is effective start broadcasting notify and close the switch broadcast between notifying to broadcast corresponding relation after, can be according to the switch
The live record that corresponding relation counts main broadcaster is broadcast, wherein, alternatively, the record that starts broadcasting can include live number of times and/or straight every time
Broadcast corresponding live duration.
Wherein, for the statistics of live number of times, the number that corresponding relation can be broadcast according to switch is determined, such as the example above
In, when open (1), when close (2) is effective, there are two switches and broadcast corresponding relation, live time in open (2), close (1)
Number is 2;As open (2) and close (1) invalid, there is a switch and broadcast corresponding relation, live number of times is 1.
Wherein, can be according to corresponding to each switch broadcasts corresponding relation for the statistics of live duration live every time
The one-to-one corresponding between mark is broadcast in the mark that starts broadcasting and pass, determines corresponding each live live duration.
Specifically, as the achievable live duration statistical of one kind:If either switch is broadcast corresponding to corresponding relation
Mark is broadcast with one-to-one corresponding property in the mark that starts broadcasting and pass, it is determined that corresponding the first reception for notifying and closing and broadcast between notifying of starting broadcasting
Time difference is once live live duration.This mode correspond to receive respectively start broadcasting notice and pass broadcast notice be all effective
Open (1) in situation, i.e. the example above, when close (2) is effective, there are two switches and broadcasts correspondence in open (2), close (1)
Relation:Open (1) and close (1) broadcasts corresponding relation with switch, and open (2) and close (2) broadcast corresponding relation with switch.
Now, each switch broadcast corresponding to corresponding relation starting broadcasting mark and pass broadcasts mark and has one-to-one corresponding property, it is determined that open (1)
The time difference that receives with close (1) is once live live duration, and open (2) and close (2) the reception time difference are another
Once live live duration.
Specifically, as another achievable live duration statistical:If either switch is broadcast corresponding to corresponding relation
Start broadcasting mark and pass broadcast mark without correspond property, it is determined that it is corresponding start broadcasting notify and close broadcast notify between first
Receive the time difference, and it is corresponding start broadcasting notify and close broadcast notify between be filtered it is each to start broadcasting notice and pass broadcast notice
Between second receive the time difference;The time difference and second is received according to first and receives the difference of time difference, it is determined that once live straight
Sowing time is long.This mode correspond to receive each start broadcasting notice and close broadcast notice in have part be invalid situation, i.e., it is above-mentioned
Open (2) and close (1) are invalid in citing, and open (1) and close (2) broadcast corresponding relation with switch.Now, open is determined
(1) and close (2) reception the time difference, be used as first receive the time difference;Also, determine in open (1) and close (2)
Between receive, each pair that is filtered in pairs starts broadcasting and notifies and close second broadcast between notifying and receive time difference, i.e. the example above
The difference of the middle open (2) filtered in pairs and close (1) reception time, the time difference is received as second, afterwards, is calculated
The difference of the first reception time difference and the second reception time difference are obtained, current once live live duration is used as.
In the present embodiment, for that may be led in practical application due to the Network Abnormal between main broadcaster's client and CDN node
Causing CDN node, frequently triggering is started broadcasting and notifies and close the situation of notice broadcast, in server side, by receive start broadcasting notice and
Pass broadcasts notice and carries out validity filtering, and to reduce, invalid starting broadcasting is notified and pass is broadcast and notified to the unfavorable of live record statistics
Influence, it is ensured that the accuracy of live record statistics.
Fig. 5 is the flow chart of live record statistical method example IV provided in an embodiment of the present invention, the present embodiment offer
Live recording method executive agent can be Living Network framework shown in Fig. 1 in CDN node, as shown in figure 5, this method
Comprise the following steps:
S501, if receiving the live video stream of main broadcaster's client transmission, sends the notice that starts broadcasting to server, starts broadcasting logical
Knowing includes main broadcaster's mark and the mark that starts broadcasting.
S502, in response to the cutout of live video stream, sends pass to server and broadcasts notice, notice is broadcast in pass includes main broadcaster's mark
Know and mark is broadcast in pass, the mark that starts broadcasting is broadcast mark with pass and corresponded.
Main broadcaster want carry out it is live when, corresponding plug-flow address is obtained by server, with by main broadcaster's client according to
The plug-flow address sends live video stream to CDN node, and CDN node is verified to plug-flow address, to verify main broadcaster correspondence
Live video stream whether should send at so far CDN node, it is to be verified by rear this live video stream of reception, and to server
Sending includes the notice that starts broadcasting of main broadcaster's mark and the mark that starts broadcasting.If CDN server receipt of subsequent is less than the live video stream, to
Server, which is sent, includes main broadcaster's mark and pass broadcasts the pass of mark and broadcasts notice.For same main broadcaster, successively adjacent twice opens
The starting broadcasting mark broadcast in notifying broadcasts the pass in notifying and broadcasts mark and there is one-to-one relationship with closing.
Wherein, alternatively, main broadcaster mark, the mark that starts broadcasting and pass, which broadcast mark, can be carried by plug-flow address, CDN
Node by parse plug-flow address obtain the main broadcaster identify, start broadcasting mark and pass broadcast mark.Further optionally, the mark that starts broadcasting
It can also be CDN node generation to broadcast mark with pass.The specific description that may refer in foregoing embodiments, will not be described here.
Embodiment method shown in Fig. 5 has corresponding property with the embodiment method shown in Fig. 2 and Fig. 3, is from difference
Two embodiments being described of executive agent.The part that the present embodiment is not described in detail, is referred to the phase in Fig. 2, Fig. 3
Speak on somebody's behalf bright.The implementation procedure and technique effect of the technical scheme are referring to the description in embodiment shown in Fig. 2, Fig. 3, herein no longer
Repeat.
Fig. 6 is the live structural representation for recording statistic device embodiment one provided in an embodiment of the present invention, such as Fig. 5 institutes
Show, the live record statistic device includes:Receiver module 11, statistical module 12.
Receiver module 11, for receiving the notice that starts broadcasting that CDN node is sent every time, start broadcasting notice include main broadcaster mark with
Start broadcasting mark, and notice is broadcast in the pass that reception CDN node is sent every time, and pass, which is broadcast, notifies that including main broadcaster's mark and pass broadcasts mark.
Statistical module 12, for identifying and closing the one-to-one corresponding broadcast between mark according to default start broadcasting, counts main broadcaster
Identify corresponding live record.
Fig. 6 shown devices can perform the method for embodiment illustrated in fig. 2, and the part that the present embodiment is not described in detail can join
Examine the related description to embodiment illustrated in fig. 2.In implementation procedure and the technique effect embodiment shown in Figure 2 of the technical scheme
Description, will not be repeated here.
Fig. 7 is the live structural representation for recording statistic device embodiment two provided in an embodiment of the present invention, such as Fig. 7 institutes
Show, on the basis of embodiment illustrated in fig. 6, the live record statistic device also includes:Determining module 21, sending module 22.
Determining module 21, for that previous ought be started broadcasting request in response to main broadcaster's client, it is determined that corresponding with request of starting broadcasting
Plug-flow address, plug-flow address include main broadcaster mark and it is corresponding with request of starting broadcasting start broadcasting identify and pass broadcast mark.
Sending module 22, for plug-flow address to be sent to main broadcaster's client, so that main broadcaster's client is according to plug-flow address
Live video stream is pushed to corresponding CDN node.
Fig. 7 shown devices can perform the method for embodiment illustrated in fig. 3, and the part that the present embodiment is not described in detail can join
Examine the related description to embodiment illustrated in fig. 3.In implementation procedure and the technique effect embodiment shown in Figure 3 of the technical scheme
Description, will not be repeated here.
Fig. 8 is the live structural representation for recording statistic device embodiment three provided in an embodiment of the present invention, such as Fig. 8 institutes
Show, on the basis of embodiment illustrated in fig. 6, statistical module 12 also includes:Filter element 121, determining unit 122, statistic unit
123。
Filter element 121, notice and the individual reception between notifying of starting broadcasting of i+1 are broadcast for being closed according to i-th received
Time difference and the comparative result of preset time difference limen value, broadcast notice with each pass to the notice that respectively starts broadcasting received and carry out validity mistake
Filter.
Determining unit 122, for determining that starting broadcasting after filtering notifies and pass broadcasts the switch between notifying and broadcasts corresponding relation.
Statistic unit 123, corresponding live record is identified for broadcasting corresponding relation statistics main broadcaster according to switch.
Alternatively, statistic unit 123 specifically for:
The number for broadcasting corresponding relation according to switch determines that main broadcaster identifies corresponding live number of times, and/or, according to each switch
Broadcast the starting broadcasting mark and closing corresponding to corresponding relation and broadcast one-to-one corresponding between mark, determine that main broadcaster's mark is corresponding straight every time
The live duration broadcast.
Wherein, statistic unit 123 specifically for:Corresponding relation is broadcast for either switch, if either switch broadcasts corresponding relation
It is corresponding to start broadcasting mark and pass broadcasts mark and has one-to-one corresponding property, it is determined that the corresponding notice and closing of starting broadcasting is broadcast between notice
First reception time difference was once live live duration;
If either switch is broadcast, starting broadcasting corresponding to corresponding relation identifies and mark is broadcast without one-to-one corresponding property in pass, it is determined that
It is corresponding start broadcasting notify and close broadcast notify between first receive the time difference, and it is corresponding start broadcasting notice and pass broadcast and notify it
Between be filtered it is each to start broadcasting notify and close broadcast notify between second receive the time difference;The time difference and second is received according to first
The difference of time difference is received, it is determined that once live live duration.
Fig. 8 shown devices can perform the method for embodiment illustrated in fig. 4, and the part that the present embodiment is not described in detail can join
Examine the related description to embodiment illustrated in fig. 4.In implementation procedure and the technique effect embodiment shown in Figure 4 of the technical scheme
Description, will not be repeated here.
Fig. 9 is the live structural representation for recording statistic device example IV provided in an embodiment of the present invention, such as Fig. 9 institutes
Show, the live record statistic device includes:Receiver module 31, sending module 32, detection module 33.
Receiver module 31, the live video stream for receiving the transmission of main broadcaster's client;
Sending module 32, if the live video stream of main broadcaster's client transmission is received for receiver module, to server
Transmission is started broadcasting notice, and the notice that starts broadcasting includes main broadcaster and identified and the mark that starts broadcasting;
Detection module 33, for detecting whether live video stream stops;
Sending module 32, if being additionally operable to live video stream cutout, sends pass to server and broadcasts notice, notice is broadcast in pass to be included
Main broadcaster identifies and mark is broadcast in pass, wherein the mark that starts broadcasting is broadcast mark with pass and corresponded.
Alternatively, receiver module 31, are additionally operable to receive the plug-flow address that main broadcaster's client is sent.
Alternatively, the device also includes:Parsing module, for parsing main broadcaster's mark from plug-flow address, starting broadcasting
Mark is broadcast in mark and pass.
Fig. 9 shown devices can perform the method for embodiment illustrated in fig. 5, and the part that the present embodiment is not described in detail can join
Examine the related description to embodiment illustrated in fig. 5.In implementation procedure and the technique effect embodiment shown in Figure 5 of the technical scheme
Description, will not be repeated here.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can
To be or may not be physically separate, the part shown as unit can be or may not be physics list
Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs
In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness
Work in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
By adding the mode of required general hardware platform to realize, naturally it is also possible to pass through hardware.Understood based on such, above-mentioned skill
The part that art scheme substantially contributes to prior art in other words can be embodied in the form of product, computer production
Product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are to cause one
Platform computer installation (can be personal computer, server, or network equipment etc.) performs each embodiment or embodiment
Some parts described in method.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
To be modified to the technical scheme described in foregoing embodiments, or to which part technical characteristic progress equivalent;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (10)
1. a kind of live record statistical method, it is characterised in that including:
The notice that starts broadcasting that CDN node is sent every time is received, the notice that starts broadcasting includes main broadcaster's mark and the mark that starts broadcasting;
Receive the pass that the CDN node sends every time and broadcast notice, notice is broadcast in the pass includes that the main broadcaster identifies and mark is broadcast in pass
Know;
According to it is default it is described start broadcasting mark and one-to-one corresponding between mark is broadcast in the pass, count main broadcaster mark correspondence
Live record.
2. according to the method described in claim 1, it is characterised in that it is described receive that CDN node sends every time start broadcasting and notify it
Before, also include:
Previous it ought be started broadcasting request in response to main broadcaster's client, it is determined that plug-flow address corresponding with the request of starting broadcasting, described
Plug-flow address includes main broadcaster mark and start broadcasting corresponding with the request of starting broadcasting identifies and mark is broadcast in pass;
The plug-flow address is sent to main broadcaster's client so that main broadcaster's client according to the plug-flow address to right
The CDN node answered pushes live video stream.
3. according to the method described in claim 1, it is characterised in that described to be broadcast according to the default mark that starts broadcasting with the pass
One-to-one corresponding between mark, counts the main broadcaster and identifies corresponding live record, including:
Close to broadcast according to i-th received and notify the reception time difference between notifying of being started broadcasting described in i+1 with presetting
The comparative result of time difference threshold value, broadcasts notice with each pass to the notice that respectively starts broadcasting received and carries out validity filtering;
It is determined that starting broadcasting after filtering notifies and closed that the switch broadcast between notifying broadcasts corresponding relation;
Corresponding relation is broadcast according to the switch and counts the corresponding live record of main broadcaster's mark.
4. method according to claim 3, it is characterised in that described that the corresponding relation statistics master is broadcast according to the switch
The corresponding live record of mark is broadcast, including:
The number for broadcasting corresponding relation according to the switch determines that the main broadcaster identifies corresponding live number of times;And/or,
The one-to-one corresponding that starting broadcasting according to corresponding to each switch broadcasts corresponding relation identifies and closed and broadcast between mark, it is determined that
The main broadcaster identifies corresponding each live live duration.
5. method according to claim 4, it is characterised in that each switch of the basis is broadcast corresponding to corresponding relation
The mark and closing of starting broadcasting broadcast one-to-one corresponding between mark, when determining that main broadcaster mark is corresponding live live every time
It is long, including:
Corresponding relation is broadcast for either switch, starting broadcasting corresponding to corresponding relation identifies and mark is broadcast in pass if the either switch is broadcast
With one-to-one corresponding property, it is determined that the first reception time difference that corresponding start broadcasting notice and pass are broadcast between notifying is once live
Live duration;
If the either switch is broadcast, starting broadcasting corresponding to corresponding relation identifies and mark is broadcast without one-to-one corresponding property in pass, it is determined that
It is corresponding start broadcasting notify and close broadcast notify between first receive the time difference, and it is described it is corresponding start broadcasting notice and pass broadcast it is logical
Be filtered between knowing it is each to start broadcasting notify and close broadcast notify between second receive the time difference;
According to the described first difference for receiving time difference and the second reception time difference, it is determined that once live live duration.
6. a kind of live record statistical method, it is characterised in that including:
If receiving the live video stream of main broadcaster's client transmission, sent to server in the notice that starts broadcasting, the notice that starts broadcasting
Including main broadcaster's mark and the mark that starts broadcasting;
In response to the cutout of the live video stream, send pass to the server and broadcast notice, notice is broadcast in the pass includes institute
State main broadcaster's mark and mark is broadcast in pass;
The mark that starts broadcasting is broadcast mark with the pass and corresponded.
7. method according to claim 6, it is characterised in that if receiving the live video stream of main broadcaster's client transmission,
Before then sending the notice that starts broadcasting to server, also include:
Receive the plug-flow address that main broadcaster's client is sent;
Main broadcaster mark is parsed from the plug-flow address, described mark is started broadcasting and mark is broadcast in the pass.
8. a kind of live record statistic device, it is characterised in that including:
Receiver module, for receive that CDN node sends every time start broadcasting notice and notices is broadcast in pass, it is described start broadcasting notify and pass broadcast it is logical
Include main broadcaster's mark and the mark that starts broadcasting in knowing;
Statistical module, for according to it is default it is described start broadcasting mark and it is described pass broadcast mark between one-to-one corresponding, count institute
State main broadcaster and identify corresponding live record.
9. device according to claim 8, it is characterised in that described device also includes:
Determining module, for that previous ought be started broadcasting request in response to main broadcaster's client, it is determined that corresponding with the request of starting broadcasting
Plug-flow address, the plug-flow address includes main broadcaster mark and start broadcasting corresponding with the request of starting broadcasting identifies and mark is broadcast in pass
Know;
Sending module, for the plug-flow address to be sent to main broadcaster's client, so that main broadcaster's client is according to institute
State plug-flow address and push live video stream to the corresponding CDN node.
10. a kind of live record statistic device, it is characterised in that including:
Receiver module, the live video stream for receiving the transmission of main broadcaster's client;
Sending module, if the live video stream that main broadcaster's client is sent is received for the receiver module, to service
Device sends the notice that starts broadcasting, and the notice that starts broadcasting includes main broadcaster's mark and the mark that starts broadcasting;
Detection module, for detecting whether the live video stream stops;
The sending module, if being additionally operable to the live video stream cutout, sending pass to the server broadcasts notice, and the pass is broadcast
Notice includes main broadcaster's mark and mark is broadcast in pass, wherein the mark that starts broadcasting is broadcast mark with the pass and corresponded.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710150580.6A CN106954079B (en) | 2017-03-14 | 2017-03-14 | Live broadcast record statistical method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710150580.6A CN106954079B (en) | 2017-03-14 | 2017-03-14 | Live broadcast record statistical method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106954079A true CN106954079A (en) | 2017-07-14 |
| CN106954079B CN106954079B (en) | 2020-03-17 |
Family
ID=59467475
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710150580.6A Expired - Fee Related CN106954079B (en) | 2017-03-14 | 2017-03-14 | Live broadcast record statistical method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106954079B (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107613316A (en) * | 2017-09-07 | 2018-01-19 | 武汉斗鱼网络科技有限公司 | A method and system for network live streaming push verification |
| CN107948596A (en) * | 2017-11-27 | 2018-04-20 | 江西文文网络科技有限公司 | A kind of villages and towns management system |
| WO2019096063A1 (en) * | 2017-11-17 | 2019-05-23 | 华为技术有限公司 | Method and device for live broadcast communication |
| CN110896504A (en) * | 2019-11-06 | 2020-03-20 | 南天亮 | Anchor duration statistical method and device |
| CN111787347A (en) * | 2020-07-15 | 2020-10-16 | 广州繁星互娱信息科技有限公司 | Live broadcast time length calculation method, live broadcast display method, device and equipment |
| CN112218175A (en) * | 2020-12-09 | 2021-01-12 | 深圳市房多多网络科技有限公司 | Processing method and device for live broadcast room state and computing equipment |
| CN119255003A (en) * | 2024-12-06 | 2025-01-03 | 杭州面朝信息科技有限公司 | Live data statistics method, electronic device and storage medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20090004122A (en) * | 2007-07-06 | 2009-01-12 | (주)유비티즌 | How to Provide Broadcasting Consignment Service Using the Internet |
| CN105656917A (en) * | 2016-02-02 | 2016-06-08 | 广州华多网络科技有限公司 | Method and device for controlling formal broadcasting of online live broadcast channel |
| CN106303589A (en) * | 2016-09-05 | 2017-01-04 | 腾讯科技(深圳)有限公司 | A kind of live-broadcast control method and device |
| CN106331739A (en) * | 2016-09-05 | 2017-01-11 | 广州爱九游信息技术有限公司 | Method, device, server and system for live broadcast and live broadcast state monitoring method |
| CN106488256A (en) * | 2015-08-24 | 2017-03-08 | 北京国双科技有限公司 | A kind of data processing method and device |
| CN106488270A (en) * | 2016-09-08 | 2017-03-08 | 广州华多网络科技有限公司 | A kind of method and apparatus of direct broadcasting room switching |
-
2017
- 2017-03-14 CN CN201710150580.6A patent/CN106954079B/en not_active Expired - Fee Related
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20090004122A (en) * | 2007-07-06 | 2009-01-12 | (주)유비티즌 | How to Provide Broadcasting Consignment Service Using the Internet |
| CN106488256A (en) * | 2015-08-24 | 2017-03-08 | 北京国双科技有限公司 | A kind of data processing method and device |
| CN105656917A (en) * | 2016-02-02 | 2016-06-08 | 广州华多网络科技有限公司 | Method and device for controlling formal broadcasting of online live broadcast channel |
| CN106303589A (en) * | 2016-09-05 | 2017-01-04 | 腾讯科技(深圳)有限公司 | A kind of live-broadcast control method and device |
| CN106331739A (en) * | 2016-09-05 | 2017-01-11 | 广州爱九游信息技术有限公司 | Method, device, server and system for live broadcast and live broadcast state monitoring method |
| CN106488270A (en) * | 2016-09-08 | 2017-03-08 | 广州华多网络科技有限公司 | A kind of method and apparatus of direct broadcasting room switching |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107613316A (en) * | 2017-09-07 | 2018-01-19 | 武汉斗鱼网络科技有限公司 | A method and system for network live streaming push verification |
| CN107613316B (en) * | 2017-09-07 | 2020-01-03 | 武汉斗鱼网络科技有限公司 | Live network push stream verification method and system |
| WO2019096063A1 (en) * | 2017-11-17 | 2019-05-23 | 华为技术有限公司 | Method and device for live broadcast communication |
| CN107948596A (en) * | 2017-11-27 | 2018-04-20 | 江西文文网络科技有限公司 | A kind of villages and towns management system |
| CN110896504A (en) * | 2019-11-06 | 2020-03-20 | 南天亮 | Anchor duration statistical method and device |
| CN111787347A (en) * | 2020-07-15 | 2020-10-16 | 广州繁星互娱信息科技有限公司 | Live broadcast time length calculation method, live broadcast display method, device and equipment |
| CN112218175A (en) * | 2020-12-09 | 2021-01-12 | 深圳市房多多网络科技有限公司 | Processing method and device for live broadcast room state and computing equipment |
| CN119255003A (en) * | 2024-12-06 | 2025-01-03 | 杭州面朝信息科技有限公司 | Live data statistics method, electronic device and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106954079B (en) | 2020-03-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106954079B (en) | Live broadcast record statistical method and device | |
| CN109981628B (en) | Method and device for monitoring network live broadcast software performance and electronic equipment | |
| US8938749B2 (en) | System and method to troubleshoot a set top box device | |
| CN103856789A (en) | System and method for achieving OTT service quality guarantee based on user behavior analysis | |
| US9769508B2 (en) | Method and system for correlating TV broadcasting information with TV panelist status information | |
| CN106878769A (en) | live video quality monitoring method and device | |
| CN106993234A (en) | Barrage display methods and device | |
| CN107734362B (en) | Video source determination method and device and computer readable storage medium | |
| CN107277160A (en) | A kind of content delivery network node switching method and device | |
| CN109348163B (en) | Video conference and video surveillance fusion system and method | |
| CN107071501A (en) | Direct broadcasting room display methods and device | |
| CN110996109A (en) | Abnormal live broadcast room cleaning method and device, live broadcast server and storage medium | |
| CN109714622B (en) | Video data processing method and device and electronic equipment | |
| US10015552B2 (en) | Method of validating an electronic vote | |
| CN105939485A (en) | System and method for monitoring bullet screen service availability based on user bullet screen behaviors | |
| WO2016000429A1 (en) | Method and device for detecting video conference hotspot scenario | |
| CN110401872A (en) | Event reminder method, device and storage medium based on smart home operating system | |
| CN111787345A (en) | Interactive resource processing method and device based on network live broadcast room, server and storage medium | |
| CN106604149A (en) | Method and device for displaying interaction condition of direct broadcast room | |
| CN107404670A (en) | A kind of video playing control method and device | |
| CN101669362B (en) | Channel selection information transmission device and channel selection information transmission method | |
| CN108401162A (en) | Applied to the message treatment method and device in network direct broadcasting | |
| CN111200760A (en) | Data processing method and device and electronic equipment | |
| CN113676695A (en) | A kind of audio and video conference management method and device | |
| CN112583659A (en) | Method and device for detecting network state of video network, terminal equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20210318 Address after: 101300 309, 3rd floor, 60 Fuqian 1st Street, Tianzhu District, Shunyi District, Beijing Patentee after: Beijing longzhixin Technology Co.,Ltd. Address before: 100041 room 120, 4th floor, building 17, yard 30, Shixing street, Shijingshan District, Beijing Patentee before: BEIJING PANDA MUTUAL ENTERTAINMENT TECHNOLOGY Co.,Ltd. |
|
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200317 |