CN102790911B - Direct playing and playback method and system - Google Patents

Direct playing and playback method and system Download PDF

Info

Publication number
CN102790911B
CN102790911B CN201110126229.6A CN201110126229A CN102790911B CN 102790911 B CN102790911 B CN 102790911B CN 201110126229 A CN201110126229 A CN 201110126229A CN 102790911 B CN102790911 B CN 102790911B
Authority
CN
China
Prior art keywords
playback
point
direct playing
broadcast data
data fragment
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.)
Active
Application number
CN201110126229.6A
Other languages
Chinese (zh)
Other versions
CN102790911A (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201110126229.6A priority Critical patent/CN102790911B/en
Publication of CN102790911A publication Critical patent/CN102790911A/en
Application granted granted Critical
Publication of CN102790911B publication Critical patent/CN102790911B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of direct playing and playback method, comprises the following steps: the broadcast data fragment in the Preset Time before buffer memory current play time point; Receive direct playing and playback request, according to described direct playing and playback acquisition request playback duration point; Broadcast data fragment is returned according to described playback duration point.Adopt above-mentioned direct playing and playback method, the flexibility of playback can be improved.In addition, a kind of direct playing and playback system is additionally provided.

Description

Direct playing and playback method and system
[technical field]
The present invention relates to the communications field, particularly relate to a kind of direct playing and playback method and system.
[background technology]
During by network viewing programme televised live, user often needs the content later seeing live mistake again.Traditional direct playing and playback method is preserved with document form the live data of (such as three days) in nearest a period of time, and the corresponding relation of a timetable and program play position is provided, user selects the program of playback, then from the live data of server downloaded stored, be equivalent to the process that a program request is downloaded.But traditional this direct playing and playback method needs to preserve the live data in long a period of time, when needing the direct playing and playback in the short time (such as 1 hour), the live data stored in long-time section can waste memory space.In addition, in traditional this direct playing and playback method, can only the programme televised live that will review of program request, the live content in playback a period of time can not be specified, lack flexibility.
[summary of the invention]
Based on this, be necessary to provide a kind of direct playing and playback method that can improve playback flexibility.
A kind of direct playing and playback method, comprises the following steps:
Broadcast data fragment in Preset Time before buffer memory current play time point;
Receive direct playing and playback request, according to described direct playing and playback acquisition request playback duration point;
Broadcast data fragment is returned according to described playback duration point.
In a preferred embodiment, the step of the play time recording each broadcast data fragment is also comprised after the step of the broadcast data fragment in described buffer memory Preset Time.
In a preferred embodiment, the delay duration of specifying is comprised in described direct playing and playback request; The described step according to described direct playing and playback acquisition request playback duration point is: read the delay duration in described direct playing and playback request, calculate playback duration point according to current play time point and described delay duration.
In a preferred embodiment, comprise the broadcasting start time point of specifying in described direct playing and playback request, described playback duration point is described broadcasting start time point.
In a preferred embodiment, the described step returning broadcast data fragment from playback duration point is:
Judge whether the broadcast data fragment that described playback duration point is corresponding has buffer memory, if so, then from described playback duration point, return broadcast data fragment, otherwise terminate.
In addition, there is a need to provide a kind of direct playing and playback system that can improve playback flexibility.
A kind of direct playing and playback system, comprises client and server, and described client is used for sending direct playing and playback request to described server; Described server comprises:
Cache module, for the broadcast data fragment in the Preset Time before buffer memory current play time point;
Receiver module, for receiving direct playing and playback request;
Time-triggered protocol module, for according to described direct playing and playback acquisition request playback duration point;
Sending module, for returning broadcast data fragment according to described playback duration point.
In a preferred embodiment, described cache module is also for recording the play time of each broadcast data fragment.
In a preferred embodiment, the delay duration of specifying is comprised in the direct playing and playback request that described user end to server sends; Described time-triggered protocol module also for reading the delay duration in described direct playing and playback request, calculates playback duration point according to current play time point and described delay duration.
In a preferred embodiment, comprise the broadcasting start time point of specifying in the direct playing and playback request that described user end to server sends, described playback duration point is described broadcasting start time point.
In a preferred embodiment, described server also comprises:
Judge module, for judging whether the broadcast data fragment that described playback duration point is corresponding has buffer memory, if so, then notifies that described sending module returns broadcast data fragment from described playback duration point.
Above-mentioned direct playing and playback method and system, by the broadcast data fragment in the Preset Time before current play time point is carried out buffer memory, when receiving direct playing and playback request, according to this acquisition request playback duration point, broadcast data fragment is returned from this playback duration point, can realize watching programme televised live from certain fixed time point before current play time point, improve the flexibility of direct playing and playback.
[accompanying drawing explanation]
Fig. 1 is the flow chart of direct playing and playback method in an embodiment;
Fig. 2 is the structural representation of direct playing and playback system in an embodiment.
[embodiment]
In one embodiment, as shown in Figure 1, a kind of direct playing and playback method, comprises the following steps:
Step S102, the broadcast data fragment in the Preset Time before buffer memory current play time point.
In step s 102, the broadcast data fragment in the Preset Time in the internal memory of server before buffer memory current play time point.In a preferred embodiment, this Preset Time is one hour.In other examples, also can by the broadcast data fragment buffer memory in the Preset Time before current play time point hereof.
In one embodiment, the step of the play time recording each broadcast data fragment is also comprised after step s 102.Such as, the play time of each broadcast data fragment and correspondence is recorded in the form of a list.
Step S104, receives direct playing and playback request, according to direct playing and playback acquisition request playback duration point.
In step S104, send direct playing and playback request by user end to server, user, when asking playback live, can specify broadcast time-delay, namely specify from before current play time point how long watch live.
After user specifies broadcast time-delay, client adds the mark of broadcast time-delay in direct playing and playback request.In one embodiment, comprise the delay duration of specifying in direct playing and playback request, then server receives this when broadcasting playback request, reads the delay duration in direct playing and playback request, calculates playback duration point according to current play time point and delay duration.Such as, direct playing and playback request is http:// c.qq.com/1.flv? delay=300, the server delay duration read in this direct playing and playback request is 300 seconds (namely 5 minutes), then playback duration point is the difference of current play time point and delay duration.Such as, current play time point is 12:00, then playback duration point is 11:55.
In another embodiment, comprise broadcasting start time point in direct playing and playback request, then playback duration point is exactly this broadcasting start time point.Does is such as, direct playing and playback request: http://c.qq.com/1.flv? begin=2010.11.12_12.30.00, the server broadcasting start time point read in this direct playing and playback request is 2010.11.12_12.30.00, then playback duration point is also 12:30.
Step S106, returns broadcast data fragment according to playback duration point.
In this embodiment, first judge whether the broadcast data fragment that playback duration point is corresponding has buffer memory, if so, then from playback duration point, return broadcast data fragment, otherwise terminate, direct playing and playback request failure.Such as, broadcast data fragment before buffer memory current play time point in half an hour, the broadcast data fragment of 1 hour before user specifies when specifying broadcast time-delay and reviews current play time point, due to the broadcast data fragment in buffer memory only before buffer memory half an hour, broadcast data fragment cannot be returned, therefore direct playing and playback request failure from the time point before 1 hour.In a preferred embodiment, the broadcast time-delay that user only can select in Preset Time can be set according to the Preset Time in step S102.
In one embodiment, as shown in Figure 2, a kind of direct playing and playback system, comprise client 10 and server 20, wherein, client 10 is for sending direct playing and playback request to server 20, and server 20 comprises cache module 202, receiver module 204, time-triggered protocol module 206 and sending module 208, wherein:
Cache module 202 is for the broadcast data fragment in the Preset Time before buffer memory current play time point.
In a preferred embodiment, this Preset Time is one hour.In other examples, cache module 202 also can by the broadcast data fragment buffer memory in the Preset Time before current play time point hereof.
In one embodiment, cache module 202 is also for recording the play time of each broadcast data fragment.Such as, the play time of each broadcast data fragment and correspondence is recorded in the form of a list.
Receiver module 204 is for receiving direct playing and playback request.
In this embodiment, client 10 sends direct playing and playback request to server 20, and user, when asking playback live, can specify broadcast time-delay, namely specify from before current play time point how long watch live.After user specifies broadcast time-delay, client 10 adds the mark of broadcast time-delay in direct playing and playback request.
Time-triggered protocol module 206 is for according to direct playing and playback acquisition request playback duration point.
In one embodiment, comprise the delay duration of specifying in direct playing and playback request, then time-triggered protocol module 206 receives this when broadcasting playback request, reads the delay duration in direct playing and playback request, calculates playback duration point according to current play time point and delay duration.Such as, direct playing and playback request is http:// c.qq.com/1.flv? delay=300, time-triggered protocol module 206 delay duration read in this direct playing and playback request is 300 seconds (namely 5 minutes), then playback duration point is the difference of current play time point and delay duration.Such as, current play time point is 12:00, then playback duration point is 11:55.
In another embodiment, comprise broadcasting start time point in direct playing and playback request, then playback duration point is exactly this broadcasting start time point.Such as, does is direct playing and playback request: http://c.qq.com/1.flv? begin=2010.11.12_12.30.00, the time-triggered protocol module 206 broadcasting start time point read in this direct playing and playback request is 2010.11.12_12.30.00, then playback duration point is also 12:30.
Sending module 208 is for returning broadcast data fragment according to playback duration point.
In one embodiment, server 20 also comprises judge module (not shown), judge module, for judging whether the broadcast data fragment that playback duration point is corresponding has buffer memory, if so, then notifies that sending module 208 returns broadcast data fragment from playback duration point.Such as, broadcast data fragment before buffer memory current play time point in half an hour, the broadcast data fragment of 1 hour before user specifies when specifying broadcast time-delay and reviews current play time point, due to the broadcast data fragment in buffer memory only before buffer memory half an hour, broadcast data fragment cannot be returned, therefore direct playing and playback request failure from the time point before 1 hour.
In a preferred embodiment, the broadcast time-delay that user only can select in Preset Time can be set according to Preset Time.Such as, the broadcast data fragment before cache module 202 buffer memory current play time point in 1 hour, then arrange user broadcast time-delay only can be selected to be less than or equal to 1 hour.
Above-mentioned direct playing and playback method and system, by the broadcast data fragment in the Preset Time before buffer memory current play time point, when user asks playback live, according to direct playing and playback acquisition request playback duration point, from this playback duration point, return broadcast data fragment.Like this, user can select to review programme televised live from certain time point before current play time point, make user because when some reason does not watch current programme televised live, also by select broadcast time-delay watch before leak see live, improve the flexibility of direct playing and playback.Because the method and system only need to store the broadcast data fragment in a bit of time before current play time, therefore memory space can be saved.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (4)

1. a direct playing and playback method, comprises the following steps:
Broadcast data fragment in Preset Time before buffer memory current play time point, records the play time of each broadcast data fragment;
Receive direct playing and playback request, in described direct playing and playback request, comprise the delay duration of specifying; According to described direct playing and playback acquisition request playback duration point, specifically read the delay duration in described direct playing and playback request, calculate playback duration point according to current play time point and described delay duration;
Broadcast data fragment is returned according to described playback duration point;
The described step returning broadcast data fragment according to described playback duration point is: judge whether the broadcast data fragment that described playback duration point is corresponding has buffer memory, if so, then from described playback duration point, returns broadcast data fragment, otherwise terminates.
2. direct playing and playback method according to claim 1, is characterized in that, comprises the broadcasting start time point of specifying in described direct playing and playback request, and described playback duration point is described broadcasting start time point.
3. a direct playing and playback system, comprises client and server, it is characterized in that, described client is used for sending direct playing and playback request to described server; Described server comprises:
Cache module, for the broadcast data fragment in the Preset Time before buffer memory current play time point, records the play time of each broadcast data fragment;
Receiver module, for receiving direct playing and playback request, comprises the delay duration of specifying in described direct playing and playback request;
Time-triggered protocol module, for according to described direct playing and playback acquisition request playback duration point, specifically reads the delay duration in described direct playing and playback request, calculates playback duration point according to current play time point and described delay duration;
Judge module, for judging whether the broadcast data fragment that described playback duration point is corresponding has buffer memory, if so, then notifies that sending module returns broadcast data fragment from described playback duration point;
Sending module, for returning broadcast data fragment according to described playback duration point.
4. direct playing and playback system according to claim 3, is characterized in that, comprise the broadcasting start time point of specifying in the direct playing and playback request that described user end to server sends, described playback duration point is described broadcasting start time point.
CN201110126229.6A 2011-05-16 2011-05-16 Direct playing and playback method and system Active CN102790911B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110126229.6A CN102790911B (en) 2011-05-16 2011-05-16 Direct playing and playback method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110126229.6A CN102790911B (en) 2011-05-16 2011-05-16 Direct playing and playback method and system

Publications (2)

Publication Number Publication Date
CN102790911A CN102790911A (en) 2012-11-21
CN102790911B true CN102790911B (en) 2016-02-03

Family

ID=47156195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110126229.6A Active CN102790911B (en) 2011-05-16 2011-05-16 Direct playing and playback method and system

Country Status (1)

Country Link
CN (1) CN102790911B (en)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763581A (en) * 2013-05-02 2014-04-30 乐视网信息技术(北京)股份有限公司 Method and system for achieving back view of live program
CN104469433B (en) * 2013-09-13 2018-09-07 深圳市腾讯计算机系统有限公司 Method and device is reviewed in a kind of net cast
CN104661041A (en) * 2013-11-25 2015-05-27 乐视网信息技术(北京)股份有限公司 Live broadcast time shift positioning method, server, terminal and communication system
CN103607639A (en) * 2013-11-26 2014-02-26 乐视网信息技术(北京)股份有限公司 Live broadcast time shifting method and server
CN103618912A (en) * 2013-11-26 2014-03-05 乐视网信息技术(北京)股份有限公司 Live telecast time shifting method and server
CN103716573B (en) * 2013-12-13 2018-02-09 乐视致新电子科技(天津)有限公司 A kind of method and apparatus of video playback
CN105100887A (en) * 2014-05-15 2015-11-25 中兴通讯股份有限公司 Program playing control method and apparatus
CN103945231B (en) * 2014-05-19 2018-02-09 无锡天脉聚源传媒科技有限公司 A kind of Streaming Media reservation editing system and method
US20160093330A1 (en) * 2014-09-30 2016-03-31 Viacom International Inc. System and Method for Time Delayed Playback
US10002638B2 (en) * 2014-09-30 2018-06-19 Viacom International Inc. System and method for time delayed playback
CN106658150B (en) * 2015-11-03 2020-01-17 中兴通讯股份有限公司 Method and device for realizing review processing
CN106375859B (en) * 2016-09-26 2019-01-15 腾讯科技(深圳)有限公司 A kind of media processing method, device and terminal
CN108924526A (en) * 2017-03-27 2018-11-30 华为软件技术有限公司 Video broadcasting method, terminal and system
CN109309643B (en) * 2017-07-26 2021-03-30 中国电信股份有限公司 Live broadcast time shifting processing method and system and source station
CN107948713B (en) * 2017-10-31 2020-10-27 北京飞利信电子技术有限公司 Delayed live broadcasting method and system
CN108174233A (en) * 2018-01-08 2018-06-15 武汉斗鱼网络科技有限公司 A kind of live broadcasting method, device, server and medium
CN108419136A (en) * 2018-03-09 2018-08-17 青岛海信电器股份有限公司 A kind of the seek implementation methods and device of network direct broadcasting stream
CN108632675A (en) * 2018-04-09 2018-10-09 北京潘达互娱科技有限公司 A kind of direct playing and playback method, apparatus and equipment
CN109348239B (en) * 2018-10-18 2020-05-19 北京达佳互联信息技术有限公司 Live broadcast fragment processing method and device, electronic equipment and storage medium
CN109561351A (en) * 2018-12-03 2019-04-02 网易(杭州)网络有限公司 Network direct broadcasting back method, device and storage medium
CN112104648A (en) * 2020-09-14 2020-12-18 北京达佳互联信息技术有限公司 Data processing method, device, terminal, server and storage medium
CN113301374A (en) * 2021-05-21 2021-08-24 北京字节跳动网络技术有限公司 Live broadcast audio and video processing method and device, client and server
CN115767172A (en) * 2022-11-22 2023-03-07 四川长虹电器股份有限公司 Playback control method and system of smart television

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917590A (en) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 Network live broadcasting system with playback function and player
CN102006511A (en) * 2010-11-24 2011-04-06 中兴通讯股份有限公司 Method and device for looking back live program and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202900B (en) * 2007-03-12 2010-09-29 深圳市同洲电子股份有限公司 Method for switching living broadcast and playback of digital television and video server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917590A (en) * 2009-12-17 2010-12-15 新奥特(北京)视频技术有限公司 Network live broadcasting system with playback function and player
CN102006511A (en) * 2010-11-24 2011-04-06 中兴通讯股份有限公司 Method and device for looking back live program and terminal

Also Published As

Publication number Publication date
CN102790911A (en) 2012-11-21

Similar Documents

Publication Publication Date Title
CN102790911B (en) Direct playing and playback method and system
KR101804347B1 (en) Method and apparatus for transmitting/receiving content of adaptive streaming mechanism
CA2791851C (en) Receiver and method for reporting the usage of advanced television services
US9015785B2 (en) Terminal apparatus, server apparatus, information processing method, program, and linking application supply system
CN102215116B (en) Method, equipment and system that time migration is served are provided in a digital broadcasting system
RU2601446C2 (en) Terminal apparatus, server apparatus, information processing method, program and interlocked application feed system
CN102572555A (en) Method and system for realizing live video playback at HTTP live streaming (HLS) client
CN109194887B (en) Cloud shear video recording and editing method and plug-in
CN102137302A (en) Method and device for playing video contents of streaming media
CN103796045A (en) IPTV system, mobile terminal, and live broadcasting watching reminding realizing methods by IPTV system and mobile terminal
CN103533381A (en) Method and system for recording and broadcasting television program
CN104539984A (en) Video playing method, device and system
CN101207795A (en) Live broadcast server with time shift function and implementation method thereof
CN103870110B (en) Instant screenshot method and device
CN102523487B (en) Breakpoint connection play method for digital televisions
CN105049876B (en) A kind of method and device that time shift is realized based on real-time transcoding
US20140348492A1 (en) Recording apparatus, delivery apparatus, recording method, program, and recording medium
CN109218645A (en) A kind of multi-medium data recording method and device
CN103841449A (en) Television program information processing method and device
JP2014007702A (en) Video receiver, video transmission/reception system and video reception method
CN105007521A (en) Method and device for playing TS (Transport Stream) video
CN200994173Y (en) Live streaming server with time-shifting function
CN101383841A (en) Quasi-real-time stream implementing method for mobile stream media service
CN101202892B (en) System and method for controlling program playback
CN102740166A (en) System and method for remote video insertion

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
TR01 Transfer of patent right

Effective date of registration: 20200826

Address after: 518000 Nanshan District science and technology zone, Guangdong, Zhejiang Province, science and technology in the Tencent Building on the 1st floor of the 35 layer

Co-patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518044 Zhenxing Road, SEG Science Park 2 East Room 403

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right