CN105933732A - Video playing duration counting method and system - Google Patents

Video playing duration counting method and system Download PDF

Info

Publication number
CN105933732A
CN105933732A CN201610417369.1A CN201610417369A CN105933732A CN 105933732 A CN105933732 A CN 105933732A CN 201610417369 A CN201610417369 A CN 201610417369A CN 105933732 A CN105933732 A CN 105933732A
Authority
CN
China
Prior art keywords
request
stb terminal
duration
programs
channels
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
Application number
CN201610417369.1A
Other languages
Chinese (zh)
Other versions
CN105933732B (en
Inventor
郭建辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN201610417369.1A priority Critical patent/CN105933732B/en
Publication of CN105933732A publication Critical patent/CN105933732A/en
Application granted granted Critical
Publication of CN105933732B publication Critical patent/CN105933732B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/442Monitoring 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/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched

Abstract

The invention discloses a video playing duration counting method and a video playing duration counting system, used for maintaining a connection between a set top box terminal and a streaming server, and can count the actual playing duration of the set top box terminal. The method comprises the steps that the set top box terminal receives video streaming, starting from the first request time of the set top box terminal, of a channel/program requested to play by the set top box terminal and sent by the streaming server; the set top box terminal initializes a heartbeat request to an application server for the first time, wherein the heartbeat request comprises a check string that comprises the identifier and current request time of the set top box terminal, and the identifier of the channel/program requested to play; the application server receives the heartbeat request, instructs the streaming server to continuously provide the video streaming of the channel/program requested to play to the set top box terminal; and the application server counts the duration that the set top box terminal watches the channel/program requested to play according to the check string in the heartbeat request. The invention provides a scheme which can effectively count the duration that the set top box terminal watches the television program.

Description

A kind of video playback duration statistical method and system
Technical field
The present invention relates to multimedia technology field, particularly relate to a kind of video playback duration statistical method and be System.
Background technology
Along with the development of network technology, the tv programme picture that TV set-top box terminal provides to televiewer is got over Come that the most clear, signal is more and more stable, form is more and more various, has obtained liking of general television spectators. But it is as developing rapidly of TV set-top box terminal quantity, the server to offer television program video source The request of download also gets more and more, and brings white elephant to server.Especially, owing to providing TV Festival The server of mesh video source does not knows that TV set-top box terminal is the most online, it will to the most online TV set-top box Terminal persistently sends the video data of download, brings huge waste to resource.Additionally, due to server Do not know that TV set-top box terminal disconnects, with self, the concrete time that network is connected, the most also cannot statistical machine top The actual play duration of box terminal.
Summary of the invention
The present invention provides a kind of video playback duration statistical method and system, in order to keep STB terminal and stream Server connect and can the actual play duration of statistical machine set top box terminal.
The present invention provides a kind of video playback duration statistical method, including:
STB terminal receives the channels/programs of the STB terminal request broadcasting that streaming server is sent from machine top The video flowing that the request time first of box terminal starts;
Described STB terminal initiates heartbeat request to application server first;Described heartbeat request includes verification String, described check strings includes mark and this request time, the channels/programs of request broadcasting of STB terminal Mark;
Application server receives described heartbeat request, and notification streams server continues as described STB terminal to be provided The video flowing of the channels/programs that described request is play;
Application server is according to the check strings in described heartbeat request, and statistical machine set top box terminal watches that request is play The duration of channels/programs.
Some beneficial effects of the embodiment of the present invention may include that
The video playback duration statistical method that the present invention provides is set up at STB terminal and streaming server and is connected After, including the heartbeat request of check strings by sending to application server, application server can be according to receiving Heartbeat request knows STB terminal consistently online, and continuing as STB terminal with this notification streams server provides Video flowing, and application server can be according to the request time of record, statistical machine in the check strings of heartbeat request Set top box terminal watches the duration of the channels/programs of request broadcasting, it is provided that a kind of effective statistical machine set top box terminal The scheme of the duration of TV reception.
In one embodiment, described application server is according to the check strings in described heartbeat request, statistical machine Set top box terminal watches the duration of the channels/programs of request broadcasting, including:
Application server calculates the request of described STB terminal and plays the head of the channels/programs that described request is play The difference of this request time in secondary request time and described check strings;
The request of described STB terminal is play the channels/programs of described request broadcasting first by application server The difference of this request time in request time and described check strings is defined as described STB terminal and watches institute State the duration of the channels/programs that request is play.
In this embodiment, application server can be according in STB terminal request time first and heartbeat request The request time of record determines the video playback duration of STB terminal.
In one embodiment, described STB terminal is initiated after heartbeat request to application server first, Also include:
Described STB terminal initiates heartbeat request every preset duration to application server;
Application server is when receiving described heartbeat request every time, and notification streams server continues as described Set Top Box Terminal provides the video flowing of the channels/programs of described request broadcasting, and STB terminal being watched, described request is broadcast The duration of the channels/programs put is updated to: T1-T0+△t×(N-1+a);
Wherein, T0First please of the described channels/programs asked and play is play for the request of described STB terminal Seeking time, T1When asking for this in the check strings in the heartbeat request that described STB terminal is initiated first Between, N is the number of times of the described heartbeat request that application server receives, and △ t is described preset duration, and a is big In 0 random number less than 1.
In this embodiment, STB terminal is sustainable sends heartbeat request to keep and stream clothes to application server The long-time connection of business device, is scheduled duration when twice heartbeat request time and have sent n times heartbeat request Time, the actual of STB terminal watches that duration should be for more than T1-T0+ △ t × (N-1) is less than T1-T0The value of+△ t × N, the random number being therefore between 0 to 1 by employing is calculated, it is possible to make system The video playback duration counted out is closer to the actual play duration of STB terminal.
In one embodiment, the head of the channels/programs that described request is play is play in the request of described STB terminal The difference of secondary request time and the request time of initiating described heartbeat request first is described preset duration;
STB terminal, when receiving described heartbeat request every time, is watched described request by described application server The duration of the channels/programs play is updated to: △ t × (N+a).
In one embodiment, described preset duration is 5 minutes.
The present invention also provides for a kind of video playback duration statistical system, including: STB terminal, application service Device, streaming server;
Described streaming server, for providing video flowing to STB terminal;
Described STB terminal, the channel that the STB terminal request sent for receiving streaming server is play/ The video flowing that program starts from the request time first of STB terminal, and send out to application server first Play heartbeat request;Described heartbeat request include check strings, described check strings include STB terminal mark and The channels/programs mark that this request time, request are play;
Described application server, for receiving the heartbeat request of described STB terminal, is receiving heartbeat request Time, notification streams server continues as the video of the channels/programs that described STB terminal provides described request to play Stream, and according to the check strings in described heartbeat request, statistical machine set top box terminal watch channel that request plays/ The duration of program.
In one embodiment, described application server includes:
Transceiver module, plays the described channels/programs asked and play for receiving the request of described STB terminal Request and heartbeat request first, request time and heartbeat request will be transmitted to playing duration calculating mould first Block, and notification streams server continues as asking described in the offer of described STB terminal when receiving described heartbeat request Seek the video flowing of the channels/programs of broadcasting;
Playing duration computing module, for recording the request first of the STB terminal that described transceiver module is sent Time, and when receiving the heartbeat request that described transceiver module is sent, described in calculating first request time and this The difference of this request time in the check strings of the secondary heartbeat request received, by true for the difference of calculated time It is set to the duration that described STB terminal watches the channels/programs of request broadcasting.
In one embodiment, described STB terminal be additionally operable to application server initiate heart beating first please After asking, initiate heartbeat request every preset duration to application server;
Described transceiver module, for when receiving heartbeat request every time, records described STB terminal first The times N of the heartbeat request sent continuously after request, and by the mark of STB terminal and the heart beating of correspondence thereof The times N of request is supplied to described playing duration computing module;
Described playing duration computing module, the mark of the STB terminal for sending according to described transceiver module And the times N of the heartbeat request of correspondence, the mark of the STB terminal directly described transceiver module provided Corresponding STB terminal watches that the duration of the channels/programs of described request broadcasting is updated to: T1-T0+△t×(N-1+a);Wherein, T0Play what described request was play for the request of described STB terminal The request time first of channels/programs, T1For the school in the heartbeat request that described STB terminal is initiated first This request time in channeling test of cement sheath, △ t is described preset duration, and a is the random number more than 0 less than 1.
Other features and advantages of the present invention will illustrate in the following description, and, partly from explanation Book becomes apparent, or understands by implementing the present invention.The purpose of the present invention and other advantages can Realize by structure specifically noted in the description write, claims and accompanying drawing and obtain ?.
Below by drawings and Examples, technical scheme is described in further detail.
Accompanying drawing explanation
Accompanying drawing is for providing a further understanding of the present invention, and constitutes a part for description, with this Bright embodiment is used for explaining the present invention together, is not intended that limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of a kind of video playback duration statistical method in the embodiment of the present invention;
Fig. 2 is the flow chart of a kind of video playback duration statistical method in the embodiment of the present invention one;
Fig. 3 is a kind of video playback duration statistical system structured flowchart in the embodiment of the present invention;
Fig. 4 is the structured flowchart of another kind of video playback duration statistical system in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated, it will be appreciated that described herein Preferred embodiment is merely to illustrate and explains the present invention, is not intended to limit the present invention.
Fig. 1 is the flow chart of a kind of video playback duration statistical method in the embodiment of the present invention.As it is shown in figure 1, The method comprises the following steps S101-S104:
S101: STB terminal receives the channels/programs of the STB terminal request broadcasting that streaming server is sent The video flowing started from the request time first of STB terminal.
Before this step, STB terminal plays what described request was play by sending request to application server The request first of channels/programs, and be connected with streaming server foundation, streaming server provide to STB terminal Video flowing.Owing to setting up the emphasis that the method for connection is not the present invention between STB terminal and streaming server, The most seldom it is described.
S102: STB terminal initiates heartbeat request to application server first;Heartbeat request includes check strings, Check strings includes mark and this request time, the channels/programs mark of request broadcasting of STB terminal.
S103: application server receives heartbeat request, and notification streams server continues as STB terminal offer please Seek the video flowing of the channels/programs of broadcasting.
According to the check strings in heartbeat request, statistical machine set top box terminal, S104: application server watches that request is broadcast The duration of the channels/programs put.
Wherein, owing to heartbeat request have recorded this request time of STB terminal, then according to Set Top Box The request time first of terminal and this request time, can estimate the frequency that STB terminal watches that request is play The duration of road/program.Specifically, the application server calculating described STB terminal request described request of broadcasting is broadcast Difference (the T of this request time in the request time first of the channels/programs put and described check strings1-T0), And by (T1-T0) it is defined as the duration that described STB terminal watches the channels/programs of described request broadcasting; Wherein, T0When playing the request first of the channels/programs that described request is play for the request of described STB terminal Between, T1For this request time in the check strings in the heartbeat request that set top box terminal is initiated first.
The video playback duration statistical method that the embodiment of the present invention provides is built at STB terminal and streaming server After vertical connection, by sending the heartbeat request including check strings to application server, application server can basis The heartbeat request received knows that STB terminal is online, continues as STB terminal with this notification streams server and carries For video flowing, and application server can be according to the request time of record in the check strings of heartbeat request, statistics STB terminal watches the duration of the channels/programs of request broadcasting, it is provided that a kind of effective statistical machine top box is eventually The scheme of the duration of end TV reception.
In above-described embodiment, after STB terminal sends a heartbeat request, if it is desired to continue to obtain and ask Seek the video flowing of the channels/programs of broadcasting, then need after step s 102, continue to send out to application server Play heartbeat request, to notify that application server self is still online, need to continue to obtain video flowing;Then apply clothes Business device is when receiving described heartbeat request the most every time, and notification streams server continues as this STB terminal to be provided The video flowing of the channels/programs that request is play, and update this Set Top Box according to the request time of each heartbeat request Time a length of T=T+T of the channels/programs that terminal plays request is playn-Tn-1, the initial value of T is 0, Tn This request time of record in the check strings of the n-th heartbeat request received for application server.Such as, Application server when receiving heartbeat request the N=2 time, by STB terminal playing request play channel/ The duration of program is updated to: (T1-T0)+(T2-T1)=(T2-T0);Wherein, T0Ask for STB terminal Play the request time first of the channels/programs that described request is play.Obviously, application server have recorded machine top After the request time first of box terminal, when receiving heartbeat request, according to record in this heartbeat request every time This request time TnA length of T during the video playback of direct computing set-top box terminaln-T0, i.e. application server Directly the request of described STB terminal can be play the request time first of the channels/programs that described request is play The difference of this request time in the check strings of the heartbeat request received for the last time is defined as described machine top Box terminal watches the duration of the channels/programs of described request broadcasting.
Preferably, for convenience of application server statistical machine set top box terminal watch duration, any twice can be made The time interval of heartbeat request uses preset duration, below by specific embodiment, the embodiment of the present invention is described The video playback duration statistical method provided.
Embodiment one
Fig. 2 is the flow chart of a kind of video playback duration statistical method in the embodiment of the present invention one.Such as Fig. 2 institute Show, comprise the following steps S201-S205:
S201: STB terminal receives the channels/programs of the STB terminal request broadcasting that streaming server is sent The video flowing started from the T0 of request time first of STB terminal.
S202: STB terminal initiates heartbeat request for the first time to application server;Described heartbeat request includes Check strings, check strings includes mark and this request time, the channels/programs of request broadcasting of STB terminal Mark.
S203: application server receives heartbeat request, the heartbeat request times N that record receives, and notification streams takes Business device continues as the video flowing of the channels/programs that STB terminal provides request to play.
According to the check strings in heartbeat request, statistical machine set top box terminal, S204: application server watches that request is broadcast The duration of the channels/programs put.
S205: STB terminal is at current time TNMeet TN=T1During+△ t × N, to or no longer to Application server sends n-th heartbeat request, if sending n-th heartbeat request to application server, then Return and perform step S203.Wherein, T1For the request time of first time heartbeat request in S202, N is just Integer, △ t is preset duration.
In the present embodiment, the time interval of any twice heartbeat request that STB terminal is initiated is pre-timing Long △ t, then in step S203, if application server receives n-th heartbeat request, due to STB terminal After sending n-th heartbeat request, likely just disconnect the connection with server, therefore this STB terminal The duration of the channels/programs that request of watching is play is greater than T certainly1-T0+ △ t × (N-1) is less than T1-T0The value of+△ t × N.In order to make statistical result closer to the actual play duration of STB terminal, then In S204, STB terminal is watched that the duration of the channels/programs of described request broadcasting updates by application server For:
T1-T0+△t×(N-1+a) (1)
Wherein, a is the random number more than 0 less than 1.Such as, when application server receives 2 heartbeat request, STB terminal is watched, and the duration of the channels/programs of described request broadcasting is updated to T1-T0+△t+△t×a。
Obviously, according to this embodiment, if the channels/programs that described request is play is play in STB terminal request Request time first and initiate the difference (T of request time of described heartbeat request first1-T0) also it is described pre- If duration △ t, then, with server when n-th receives described heartbeat request, STB terminal is watched institute The duration stating the channels/programs that request is play is updated to △ t × (N+a), calculates the easiest.
The present embodiment is by being fixed as preset duration by the interval that any twice heart beating mood is asked so that computer The playing duration of set top box terminal is more convenient, additionally, by adding the random number a video to STB terminal Playing duration carries out statistical correction so that statistical result closer to STB terminal actual video play time Long value.
Preferably, preset duration can be taken as 5 minutes.
A kind of video playback duration statistical method provided corresponding to above-described embodiment, the embodiment of the present invention is also There is provided a kind of video playback duration statistical system, as it is shown on figure 3, include: STB terminal 11, application clothes Business device 12, streaming server 13;Wherein,
Streaming server 13, for providing video flowing to STB terminal 11;
STB terminal 11, the frequency that STB terminal 11 request sent for receiving streaming server 13 is play The video flowing that road/program starts from the request time first of STB terminal 11, and first to application clothes Heartbeat request initiated by business device 12;Wherein, heartbeat request includes that check strings, check strings include STB terminal The mark of 11 and this request time, the channels/programs mark of request broadcasting;
Application server 12, for the heartbeat request of receiving set up box terminal 11, when receiving heartbeat request, Notification streams server 13 continues as the video flowing of the channels/programs that STB terminal 11 provides request to play, and According to the check strings in heartbeat request, statistical machine set top box terminal 11 watch request play channels/programs time Long.
System shown in Figure 3, may be used for performing the technical scheme of embodiment of the method shown in Fig. 1, and it realizes former Managing similar with technique effect, here is omitted.
The structured flowchart of the another kind of video playback duration statistical system that Fig. 4 provides for the embodiment of the present invention, as Shown in Fig. 4, the system of the present embodiment is on the basis of system shown in Figure 3 structure, further, and application clothes Business device 12 includes:
Transceiver module 121, asks, for receiving set up box terminal 11, channels/programs that playing request plays Request and heartbeat request first, by request time and heartbeat request are transmitted to playing duration computing module first 122, and notification streams server 13 continues as STB terminal 11 and provides request to broadcast when receiving heartbeat request The video flowing of the channels/programs put;
Playing duration computing module 122, for recording the head of the STB terminal 11 that transceiver module 121 is sent Secondary request time, and when receiving the heartbeat request that transceiver module 121 is sent, calculate first request time and The difference of this request time in the check strings of this heartbeat request received, by the difference of calculated time It is defined as the duration that STB terminal 11 watches the channels/programs of request broadcasting.
System shown in Figure 4, may be used for performing the technical scheme of embodiment of the method shown in Fig. 1, and it realizes former Managing similar with technique effect, here is omitted.
In one embodiment, STB terminal 11 is additionally operable to initiating heart beating first to application server 12 After request, initiate heartbeat request every preset duration to application server 12;Transceiver module 121, is used for When receiving heartbeat request every time, the heart beating that logging machine set top box terminal 11 is sent after request first continuously please The times N asked, and the times N of the mark of STB terminal 11 and the heartbeat request of correspondence thereof is supplied to Playing duration computing module 122;Playing duration computing module 122, for sending according to transceiver module 121 The mark of STB terminal and the times N of heartbeat request of correspondence, directly transceiver module 121 is provided STB terminal 11 corresponding to the mark of STB terminal 11 watch the duration of channels/programs that request plays It is updated to: T1-T0+△t×(N-1+a);Wherein, T0Described request is play for STB terminal 11 request The request time first of the channels/programs play, T1 is in the heartbeat request that STB terminal 11 is initiated first Check strings in this request time, △ t is preset duration, a be more than 0 less than 1 random number.
The video playback duration statistical system that the embodiment of the present invention provides is built at STB terminal and streaming server After vertical connection, by sending the heartbeat request including check strings to application server, application server can basis The heartbeat request received knows that STB terminal is online, continues as STB terminal with this notification streams server and carries For video flowing, and application server can be according to the request time of record in the check strings of heartbeat request, statistics STB terminal watches the duration of the channels/programs of request broadcasting, it is provided that a kind of effective statistical machine top box is eventually The scheme of the duration of end TV reception.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more Computer-usable storage medium containing computer usable program code (include but not limited to disk memory and Optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention The spirit and scope of invention.So, if these amendments of the present invention and modification belong to the claims in the present invention And within the scope of equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (8)

1. a video playback duration statistical method, it is characterised in that including:
STB terminal receives the channels/programs of the STB terminal request broadcasting that streaming server is sent from machine top The video flowing that the request time first of box terminal starts;
Described STB terminal initiates heartbeat request to application server first;Described heartbeat request includes verification String, described check strings includes mark and this request time, the channels/programs of request broadcasting of STB terminal Mark;
Application server receives described heartbeat request, and notification streams server continues as described STB terminal to be provided The video flowing of the channels/programs that described request is play;
Application server is according to the check strings in described heartbeat request, and statistical machine set top box terminal watches that request is play The duration of channels/programs.
2. video playback duration statistical method as claimed in claim 1, it is characterised in that described application Server according to the check strings in described heartbeat request, statistical machine set top box terminal watch request play channel/ The duration of program, including:
Application server calculates the request of described STB terminal and plays the head of the channels/programs that described request is play The difference of this request time in secondary request time and described check strings;
The request of described STB terminal is play the channels/programs of described request broadcasting first by application server The difference of this request time in request time and described check strings is defined as described STB terminal and watches institute State the duration of the channels/programs that request is play.
3. video playback duration statistical method as claimed in claim 2, it is characterised in that described machine top Box terminal after heartbeat request initiated by application server, also includes first:
Described STB terminal initiates heartbeat request every preset duration to application server;
Application server is when receiving described heartbeat request every time, and notification streams server continues as described Set Top Box Terminal provides the video flowing of the channels/programs of described request broadcasting, and STB terminal being watched, described request is broadcast The duration of the channels/programs put is updated to: T1-T0+△t×(N-1+a);
Wherein, T0First please of the described channels/programs asked and play is play for the request of described STB terminal Seeking time, T1When asking for this in the check strings in the heartbeat request that described STB terminal is initiated first Between, N is the number of times of the described heartbeat request that application server receives, and △ t is described preset duration, and a is big In 0 random number less than 1.
4. video playback duration statistical method as claimed in claim 3, it is characterised in that described machine top Box terminal request is play the request time first of the channels/programs that described request is play and initiates the described heart first The difference of the request time jumping request is described preset duration;
STB terminal, when receiving described heartbeat request every time, is watched described request by described application server The duration of the channels/programs play is updated to: △ t × (N+a).
5. the video playback duration statistical method as described in claim 3 or 4, it is characterised in that described Preset duration is 5 minutes.
6. a video playback duration statistical system, it is characterised in that including: STB terminal, application Server, streaming server;
Described streaming server, for providing video flowing to STB terminal;
Described STB terminal, the channel that the STB terminal request sent for receiving streaming server is play/ The video flowing that program starts from the request time first of STB terminal, and send out to application server first Play heartbeat request;Described heartbeat request include check strings, described check strings include STB terminal mark and The channels/programs mark that this request time, request are play;
Described application server, for receiving the heartbeat request of described STB terminal, is receiving heartbeat request Time, notification streams server continues as the video of the channels/programs that described STB terminal provides described request to play Stream, and according to the check strings in described heartbeat request, statistical machine set top box terminal watch channel that request plays/ The duration of program.
7. video playback duration statistical system as claimed in claim 6, it is characterised in that described application Server includes:
Transceiver module, plays the described channels/programs asked and play for receiving the request of described STB terminal Request and heartbeat request first, request time and heartbeat request will be transmitted to playing duration calculating mould first Block, and notification streams server continues as asking described in the offer of described STB terminal when receiving described heartbeat request Seek the video flowing of the channels/programs of broadcasting;
Playing duration computing module, for recording the request first of the STB terminal that described transceiver module is sent Time, and when receiving the heartbeat request that described transceiver module is sent, described in calculating first request time and this The difference of this request time in the check strings of the secondary heartbeat request received, by true for the difference of calculated time It is set to the duration that described STB terminal watches the channels/programs of request broadcasting.
8. video playback duration statistical system as claimed in claim 7, it is characterised in that
Described STB terminal is additionally operable to initiating first after heartbeat request to application server, every presetting Duration initiates heartbeat request to application server;
Described transceiver module, for when receiving heartbeat request every time, records described STB terminal first The times N of the heartbeat request sent continuously after request, and by the mark of STB terminal and the heart beating of correspondence thereof The times N of request is supplied to described playing duration computing module;
Described playing duration computing module, the mark of the STB terminal for sending according to described transceiver module And the times N of the heartbeat request of correspondence, the mark of the STB terminal directly described transceiver module provided Corresponding STB terminal watches that the duration of the channels/programs of described request broadcasting is updated to: T1-T0+△t×(N-1+a);Wherein, T0Play what described request was play for the request of described STB terminal The request time first of channels/programs, T1For the school in the heartbeat request that described STB terminal is initiated first This request time in channeling test of cement sheath, △ t is described preset duration, and a is the random number more than 0 less than 1.
CN201610417369.1A 2016-06-14 2016-06-14 A kind of video playing duration statistical method and system Expired - Fee Related CN105933732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610417369.1A CN105933732B (en) 2016-06-14 2016-06-14 A kind of video playing duration statistical method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610417369.1A CN105933732B (en) 2016-06-14 2016-06-14 A kind of video playing duration statistical method and system

Publications (2)

Publication Number Publication Date
CN105933732A true CN105933732A (en) 2016-09-07
CN105933732B CN105933732B (en) 2019-08-27

Family

ID=56834104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610417369.1A Expired - Fee Related CN105933732B (en) 2016-06-14 2016-06-14 A kind of video playing duration statistical method and system

Country Status (1)

Country Link
CN (1) CN105933732B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107613385A (en) * 2017-09-21 2018-01-19 程盼盼 A kind of method for preventing child myopia
CN107896344A (en) * 2017-09-21 2018-04-10 程盼盼 Prevent the device of child myopia
CN109218846A (en) * 2017-06-29 2019-01-15 中国电信股份有限公司 Optimize the methods, devices and systems of set box browser application long poll performance
CN109660830A (en) * 2018-12-24 2019-04-19 深圳创维数字技术有限公司 A kind of channel playback method, device, equipment and medium
CN110446079A (en) * 2019-07-03 2019-11-12 北京达佳互联信息技术有限公司 Obtain method, apparatus, electronic equipment and the storage medium of viewing duration
CN111901617A (en) * 2020-07-17 2020-11-06 北京达佳互联信息技术有限公司 Method and device for calculating live broadcast watching time length
CN112261447A (en) * 2020-10-16 2021-01-22 彩讯科技股份有限公司 Video effective playing time counting method and device, server and storage medium
CN113079399A (en) * 2021-03-18 2021-07-06 深圳创维-Rgb电子有限公司 Television control method, television and storage medium
CN113163235A (en) * 2021-05-19 2021-07-23 湖南快乐阳光互动娱乐传媒有限公司 Method and device for acquiring video watching time length

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783929B (en) * 2010-03-04 2012-01-04 北京惠信博思技术有限公司 Method for sending heartbeats to video server by set top box
CN102263651A (en) * 2010-05-28 2011-11-30 烽火通信科技股份有限公司 Method for detecting connection state of local end equipment in SNMP (simple network management protocol) network management system (NMS)
CN102148722B (en) * 2011-01-20 2013-11-13 深圳市龙视传媒有限公司 Method and system for detecting data interaction state by using heartbeats, and proxy server
CN103051635B (en) * 2012-12-28 2017-05-31 宁波新然电子信息科技发展有限公司 The means of communication of streaming media server and terminal room
CN103095831B (en) * 2013-01-15 2016-03-16 中国联合网络通信集团有限公司 Maintain the method for heartbeat mechanism, wlan client and program servers
CN103605689B (en) * 2013-11-01 2017-12-29 北京奇虎科技有限公司 It is a kind of to obtain the method and device for accessing the residence time
CN104702563B (en) * 2013-12-06 2019-09-03 乐视网信息技术(北京)股份有限公司 The acquisition methods and device of streaming media playing duration
CN104734849B (en) * 2013-12-19 2018-09-18 阿里巴巴集团控股有限公司 The method and system that third-party application is authenticated
CN105406955A (en) * 2014-08-07 2016-03-16 西安Tcl软件开发有限公司 Data output control method and system
CN104991850B (en) * 2015-06-27 2018-06-19 广州华多网络科技有限公司 The heartbeat packet control method and device of a kind of application program
CN105450425B (en) * 2015-12-25 2019-03-01 北京奇虎科技有限公司 Realize the method and device of user's online control

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218846A (en) * 2017-06-29 2019-01-15 中国电信股份有限公司 Optimize the methods, devices and systems of set box browser application long poll performance
CN107613385A (en) * 2017-09-21 2018-01-19 程盼盼 A kind of method for preventing child myopia
CN107896344A (en) * 2017-09-21 2018-04-10 程盼盼 Prevent the device of child myopia
CN107613385B (en) * 2017-09-21 2018-05-01 高雪亚 A kind of platform for preventing child myopia
CN109660830A (en) * 2018-12-24 2019-04-19 深圳创维数字技术有限公司 A kind of channel playback method, device, equipment and medium
CN110446079A (en) * 2019-07-03 2019-11-12 北京达佳互联信息技术有限公司 Obtain method, apparatus, electronic equipment and the storage medium of viewing duration
CN111901617A (en) * 2020-07-17 2020-11-06 北京达佳互联信息技术有限公司 Method and device for calculating live broadcast watching time length
CN112261447A (en) * 2020-10-16 2021-01-22 彩讯科技股份有限公司 Video effective playing time counting method and device, server and storage medium
CN113079399A (en) * 2021-03-18 2021-07-06 深圳创维-Rgb电子有限公司 Television control method, television and storage medium
CN113163235A (en) * 2021-05-19 2021-07-23 湖南快乐阳光互动娱乐传媒有限公司 Method and device for acquiring video watching time length

Also Published As

Publication number Publication date
CN105933732B (en) 2019-08-27

Similar Documents

Publication Publication Date Title
CN105933732A (en) Video playing duration counting method and system
CN106060055B (en) A kind of television video playback method and system
EP2373051B1 (en) Method and apparatus for providing timeshift service in digital broadcasting system and system thereof
US20110016490A1 (en) Systems and methods for managing content in real-time
US9679606B2 (en) Method of modifying play of an original content form
JP2012168801A (en) Information processing device
CN102640512A (en) Bookmark calibration for video on demand applications incorporating dynamic advertising
CN105577645A (en) Agent-based HLS client-end device and realization method thereof
CN105072480A (en) Video live broadcast method and device
US8850474B2 (en) Virtual content store in interactive services architecture
CN108076383A (en) Adaptive identifying, control method, set-top box and electronic programming server
CN103024491B (en) The video broadcasting method of mobile terminal and system
US10205973B2 (en) Method and system for linking real-time broadcasting with non-real-time video service using user history information
KR101287774B1 (en) Base server apparatus, communication method, communication control program, distribution system, and communication system
CN102860022A (en) Program changing method, device and media server
CN107318052A (en) Player method, television set and the storage medium of television video
CN110602545A (en) Distributed recording execution method for network live broadcast
EP3320686A1 (en) Enhanced restart tv
WO2017071642A1 (en) Media playback method, device and computer storage medium
US20150026711A1 (en) Method and apparatus for video content distribution
CN114760485B (en) Video carousel method, system and related equipment
CN105007505A (en) Video broadcasting method and device
CN104079985A (en) Television program indexing device, system and method for providing hot channel information
WO2013039042A1 (en) Reproduction device, reproduction method, distribution device, distribution system, reproduction program, and recording medium
KR100880569B1 (en) Method for transporting vod contents in electric control transport protocol environment of mobile iptv

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A statistical method and system of video playing time

Effective date of registration: 20210104

Granted publication date: 20190827

Pledgee: Inner Mongolia Huipu Energy Co.,Ltd.

Pledgor: TVMINING (BEIJING) MEDIA TECHNOLOGY Co.,Ltd.

Registration number: Y2020990001527

PE01 Entry into force of the registration of the contract for pledge of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190827

Termination date: 20210614

CF01 Termination of patent right due to non-payment of annual fee