CN101783929B - Method for sending heartbeats to video server by set top box - Google Patents

Method for sending heartbeats to video server by set top box Download PDF

Info

Publication number
CN101783929B
CN101783929B CN2010101188626A CN201010118862A CN101783929B CN 101783929 B CN101783929 B CN 101783929B CN 2010101188626 A CN2010101188626 A CN 2010101188626A CN 201010118862 A CN201010118862 A CN 201010118862A CN 101783929 B CN101783929 B CN 101783929B
Authority
CN
China
Prior art keywords
video server
top box
video
set top
stb
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.)
Expired - Fee Related
Application number
CN2010101188626A
Other languages
Chinese (zh)
Other versions
CN101783929A (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.)
Beijing Huixin Bosi Technology Co., Ltd
Original Assignee
Beijing Husen 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 Beijing Husen Technology Co Ltd filed Critical Beijing Husen Technology Co Ltd
Priority to CN2010101188626A priority Critical patent/CN101783929B/en
Publication of CN101783929A publication Critical patent/CN101783929A/en
Application granted granted Critical
Publication of CN101783929B publication Critical patent/CN101783929B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method for sending heartbeats to a video server by a set top box. The set top box acquires the duration of a video programme from the video server; the set top box plays the video programme, and sends heartbeats to the video server; the video server returns the current playing time of the video programme to the set top box after receiving the heartbeats; an N numbered seconds of a duration is preset, the set top box judges whether the current playing time of the video programme is within the last N numbered seconds; if yes, the frequency of the heartbeats sent to the video server by the set top box is set as a normal value; and if not, the frequency of the heartbeats sent to the video server by the set top box is set to be one time per M numbered seconds, wherein M is less than or equal to N. By adopting the technical scheme of the invention, the set top box can regulate the frequency of the heartbeats sent to the video server according to the states thereof, reduces the pressure onto the video server, and realizes concurrent requests on the top set box with a higher amount.

Description

A kind of method of sending heartbeats to video server by set top box
Technical field
The present invention relates to the digital television techniques field, relate in particular to a kind of method of sending heartbeats to video server by set top box.
Background technology
STB carries out communicating by letter of RTSP agreement with video server through network in video request-program process; Video server is done corresponding current control according to the request of STB; Audio, video data is passed to IPQAM through network; IPQAM with the data of receiving carry out tuning after, issue the answer Data Receiving TV programme that STB obtains through communicating by letter with video server through digital TV network.
STB will keep communicating by letter with video server in the process of broadcast program; How to give the front end broadcast program to inform video server; A video server is keeping communicating by letter with ten hundreds of STBs simultaneously; The quantity that receives message in the video server unit interval is certain, like this when STB quantity too much or the frequency of STB transmission heartbeat when too fast, all will cause the video server can't operate as normal.STB sends heartbeat according to certain frequency to video server in the process of playing generally speaking, and for the high concurrent program request of STB, just must reduce the speed that STB sends heartbeat.But the transmission frequency of STB has reduced, in the following normal play that has had influence on STB aspect several again:
The first, video server informs that through the answer of heartbeat movie of set top box is about to play end when movie finishes, and STB withdraws from broadcast through the answer of heartbeat.But palmic rate is turned down (for example 1 time/minute); A heartbeat of transmission when STB 30 seconds before playing programs finishes; So when film is play end after 30 seconds; STB does not also have to send heartbeat next time, causes STB can't know that program finishes like this, can't withdraw from broadcast.
The second, film is when playing, and the user can select+3 ,+9 ,+18 ,+33 ,-3 ,-9 ,-18 and-33 times of speed play, when the user selects that doubly speed (for example+33 times speed) is play; Play the film program in 33 seconds each second; At this moment palmic rate is turned down (for example 1 time/minute), the program of playing so a minute has been play 33 minutes program of normal speed, in last 33 minutes at program, sends a heartbeat; When playing programs when finishing; STB does not also have to send heartbeat next time, and STB can't know that film finishes, and other times speed also this situation can occur.
Summary of the invention
The objective of the invention is to propose a kind of method of sending heartbeats to video server by set top box, can reduce pressure, realize the concurrent program request of the STB of higher quantity video server.
For reaching this purpose, the present invention adopts following technical scheme:
A kind of method of sending heartbeats to video server by set top box is applicable to may further comprise the steps in the video request-program process:
A, STB obtain the duration of video frequency program from video server;
B, STB are play said video frequency program, and send heartbeat to video server;
C, video server are received after the heartbeat the current reproduction time that returns said video frequency program to STB;
D, preset duration are N second; Whether the current reproduction time of the said video frequency program of set-top box judging is at the last N of said video frequency program in second, if then the frequency configuration with sending heartbeats to video server by set top box is a normal value; If not, then go to step e;
E, with the frequency configuration of sending heartbeats to video server by set top box be every M second once, wherein M is less than or equal to N, and returns and send the step of heartbeat to video server among the step B.
Further comprising the steps of:
STB is accepted user request, and when doubly speed was play said video frequency program, then the frequency configuration with sending heartbeats to video server by set top box was a normal value.
The normal value of the frequency of sending heartbeats to video server by set top box be per 1 second once.
Steps A further may further comprise the steps:
STB sends DESCRIB message to video server;
Video server is replied the duration of said video frequency program to STB.
Step B further may further comprise the steps:
STB sends SETUP message to video server;
Video server is replied the play parameter of said video frequency program to STB;
STB is play said video frequency program according to the play parameter of said video frequency program, sends PLAY message to video server;
Sending heartbeats to video server by set top box.
STB sends heartbeat through sending GET PARAMETER message to video server.
Adopted technical scheme of the present invention, STB can send the frequency of heartbeat to video server according to the state adjustment of oneself, thereby reduces the pressure to video server, realizes the concurrent program request of the STB of higher quantity.
Description of drawings
Fig. 1 is the flow chart of sending heartbeats to video server by set top box in the specific embodiment of the invention.
Embodiment
Further specify technical scheme of the present invention below in conjunction with accompanying drawing and through embodiment.
Fig. 1 is the flow chart of sending heartbeats to video server by set top box in the specific embodiment of the invention.As shown in Figure 1, the flow process of sending heartbeats to video server by set top box may further comprise the steps:
Step 101, when STB carries out broadcast state, STB sends DESCRIB message to video server, video server is replied the duration of the video frequency program of being play to STB.
Step 102, STB send SETUP message to video server, and video server is replied the play parameter of this video frequency program to STB.
Step 103, STB are sent PLAY message according to the play parameter displaying video programs of video frequency program to video server.
Step 104, sending heartbeats to video server by set top box.
Step 105, video server are received after the heartbeat the current reproduction time that returns video frequency program to STB.
Step 106, preset duration are N second, such as 120 seconds, the current reproduction time of set-top box judging video frequency program whether in the 120 last seconds of video frequency program, if, then go to step 108, if not, then go to step 107.
Step 107, with the frequency configuration of sending heartbeats to video server by set top box be every M second once, wherein M is less than or equal to N, such as 60 seconds, and returns step 104, sends heartbeat, continues to judge.
Step 108, be normal value with the frequency configuration of sending heartbeats to video server by set top box, such as be per 1 second once, and return step 104, send heartbeat, continue to judge.
Step 109, also have a kind of situation, STB to accept user request, doubly fast displaying video programs, such as the user can select+3 ,+9 ,+18 ,+33 ,-3 ,-9 ,-18 and-33 times of speed play.
Step 110, at this moment no matter the frequency of sending heartbeats to video server by set top box takes anything to be provided with, need be normal value with the frequency configuration of sending heartbeats to video server by set top box all, such as be per 1 second once.
So just can be under the situation that does not influence the STB broadcast program, STB is through the frequency of the broadcast state change heartbeat of oneself, to improve the concurrent quantity of play-on-demand program.For example on the machine of DELL2950 series; When heartbeat is sent under the situation once per 1 second; 700 STBs can realizing the monofile program request are concurrent; And after adopting this embodiment, realize that on same machine the concurrent quantity of monofile program request can reach 1000 more than the STB.
The above; Be merely the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with this technological people in the technical scope that the present invention disclosed; The variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (6)

1. the method for a sending heartbeats to video server by set top box is applicable to it is characterized in that in the video request-program process, may further comprise the steps:
A, STB obtain the duration of video frequency program from video server;
B, STB are play said video frequency program, and send heartbeat to video server;
C, video server are received after the heartbeat the current reproduction time that returns said video frequency program to STB;
D, preset duration are N second; Whether the current reproduction time of the said video frequency program of set-top box judging is at the last N of said video frequency program in second, if then the frequency configuration with sending heartbeats to video server by set top box is a normal value; If not, then go to step e;
E, with the frequency configuration of sending heartbeats to video server by set top box be every M second once, wherein M is less than or equal to N, and returns and send the step of heartbeat to video server among the step B.
2. the method for a kind of sending heartbeats to video server by set top box according to claim 1 is characterized in that, and is further comprising the steps of:
STB is accepted user request, and when doubly speed was play said video frequency program, then the frequency configuration with sending heartbeats to video server by set top box was a normal value.
3. according to the method for claim 1 or 2 described a kind of sending heartbeats to video server by set top box, it is characterized in that, the normal value of the frequency of sending heartbeats to video server by set top box be per 1 second once.
4. the method for a kind of sending heartbeats to video server by set top box according to claim 1 is characterized in that, steps A further may further comprise the steps:
STB sends DESCRIB message to video server;
Video server is replied the duration of said video frequency program to STB.
5. the method for a kind of sending heartbeats to video server by set top box according to claim 1 is characterized in that, step B further may further comprise the steps:
STB sends SETUP message to video server;
Video server is replied the play parameter of said video frequency program to STB;
STB is play said video frequency program according to the play parameter of said video frequency program, sends PLAY message to video server;
Sending heartbeats to video server by set top box.
6. the method for a kind of sending heartbeats to video server by set top box according to claim 1 is characterized in that, STB sends heartbeat through sending GET_PARAMETER message to video server.
CN2010101188626A 2010-03-04 2010-03-04 Method for sending heartbeats to video server by set top box Expired - Fee Related CN101783929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101188626A CN101783929B (en) 2010-03-04 2010-03-04 Method for sending heartbeats to video server by set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101188626A CN101783929B (en) 2010-03-04 2010-03-04 Method for sending heartbeats to video server by set top box

Publications (2)

Publication Number Publication Date
CN101783929A CN101783929A (en) 2010-07-21
CN101783929B true CN101783929B (en) 2012-01-04

Family

ID=42523719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101188626A Expired - Fee Related CN101783929B (en) 2010-03-04 2010-03-04 Method for sending heartbeats to video server by set top box

Country Status (1)

Country Link
CN (1) CN101783929B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148722B (en) * 2011-01-20 2013-11-13 深圳市龙视传媒有限公司 Method and system for detecting data interaction state by using heartbeats, and proxy server
CN102523503B (en) * 2011-12-19 2014-08-20 华为技术有限公司 Video-on-demand control method and relative device and system
CN103338388B (en) * 2013-07-04 2016-08-17 内蒙古中大传媒发展有限公司 The management method of data-pushing and device during digital television transfer
CN105933732B (en) * 2016-06-14 2019-08-27 天脉聚源(北京)传媒科技有限公司 A kind of video playing duration statistical method and system
CN105979297B (en) * 2016-06-14 2019-03-19 天脉聚源(北京)传媒科技有限公司 One kind watching duration statistical method and system
CN109218846B (en) * 2017-06-29 2021-08-17 中国电信股份有限公司 Method, device and system for optimizing long polling performance of set top box browser application
CN110446079A (en) * 2019-07-03 2019-11-12 北京达佳互联信息技术有限公司 Obtain method, apparatus, electronic equipment and the storage medium of viewing duration
CN110867175B (en) * 2019-10-17 2022-06-14 北京雷石天地电子技术有限公司 KTV requesting system and method for connecting KTV set top box with server
CN113259732B (en) * 2020-02-07 2023-05-02 中国电信股份有限公司 Data transmission method
CN111343045B (en) * 2020-02-14 2022-06-28 青岛聚看云科技有限公司 Method and device for adjusting heartbeat frequency

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1168037C (en) * 2001-07-05 2004-09-22 中国长城计算机深圳股份有限公司 Video frequency request schooling service method
CN1921408A (en) * 2005-08-26 2007-02-28 英业达股份有限公司 Method and system for real-time regulating heartbeat frequency based on client demand service frequency
US7788394B2 (en) * 2006-08-31 2010-08-31 General Instrument Corporation Streaming content over an internet protocol network
US8914460B2 (en) * 2007-03-26 2014-12-16 Sound View Innovations, Llc System and method for efficient delivery of data content

Also Published As

Publication number Publication date
CN101783929A (en) 2010-07-21

Similar Documents

Publication Publication Date Title
CN101783929B (en) Method for sending heartbeats to video server by set top box
US7596799B2 (en) System and method of communicating video content
US8583555B1 (en) Synchronizing multiple playback device timing utilizing DRM encoding
US9602414B2 (en) Apparatus and methods for controlled bandwidth reclamation
US20080271076A1 (en) Method and Apparatus for Switching Between Edge Device Resources in an SDV System
US20090328093A1 (en) Multimedia Content Filtering
US20140289785A1 (en) Methods and systems for a current channel buffer for network based personal video recording
US20100178036A1 (en) Method and Device for Transmitting Audio and Video for Playback
CA2742034C (en) Device, method and system for service insertion during content display
WO2010017464A2 (en) Systems and methods of reducing media stream delay
EP3632127B1 (en) Temporally-seamless channel change functionality in multichannel streaming environments
US9473549B2 (en) Method of playing internet video and related electronic device
KR102093230B1 (en) Provision of a personalized media content
US20100154003A1 (en) Providing report of popular channels at present time
US9521386B2 (en) System and method of recording media content
EP3320686A1 (en) Enhanced restart tv
CN102523487B (en) Breakpoint connection play method for digital televisions
US9066127B2 (en) Method and device for controlling bandwidth of set top boxes in internet protocol television (IPTV) system
CN102137293A (en) Resource allocation method, user business terminal and head end system of streaming media service
US20180352296A1 (en) System and a method for monitoring activity of a user during content presentation
CN104079985A (en) Television program indexing device, system and method for providing hot channel information
CN102026024B (en) Method, system and device for controlling pay per view (PPV) service in real time
CN105915992A (en) Video playing method and apparatus
Kim et al. Design and Implementation of Personalized Integrated Broadcast—Broadband Service in Terrestrial Networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: DVN BEIJING CO., LTD.

Free format text: FORMER OWNER: BEIJING HUSEN TECHNOLOGY CO., LTD.

Effective date: 20121025

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100086 HAIDIAN, BEIJING TO: 100088 HAIDIAN, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20121025

Address after: 100088, room 2, peony building, No. 1302 peony, Haidian District, Beijing, Huayuan Road

Patentee after: Beijing Huixin Bosi Technology Co., Ltd

Address before: 100086, 19 floor, block A, digital building, No. 2 South Avenue, Beijing, Haidian District, Zhongguancun

Patentee before: Beijing Husen Technology Co., Ltd.

EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20100721

Assignee: Beijing Huixin Bosi Technology Co., Ltd

Assignor: Beijing Husen Technology Co., Ltd.

Contract record no.: 2012990000746

Denomination of invention: Method for sending heartbeats to video server by set top box

Granted publication date: 20120104

License type: Exclusive License

Record date: 20121010

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120104

Termination date: 20180304

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