CN104883618B - Programme televised live tries method, apparatus and system - Google Patents

Programme televised live tries method, apparatus and system Download PDF

Info

Publication number
CN104883618B
CN104883618B CN201510236274.5A CN201510236274A CN104883618B CN 104883618 B CN104883618 B CN 104883618B CN 201510236274 A CN201510236274 A CN 201510236274A CN 104883618 B CN104883618 B CN 104883618B
Authority
CN
China
Prior art keywords
moment
playing back
client end
program
programme televised
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
CN201510236274.5A
Other languages
Chinese (zh)
Other versions
CN104883618A (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 Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201510236274.5A priority Critical patent/CN104883618B/en
Publication of CN104883618A publication Critical patent/CN104883618A/en
Application granted granted Critical
Publication of CN104883618B publication Critical patent/CN104883618B/en
Active 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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25816Management of client data involving client authentication
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26241Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the time of distribution, e.g. the best time of the day for inserting an advertisement or airing a children program
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Graphics (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of programme televised live to try method, apparatus and system, belongs to video broadcasting field.Methods described includes:Being used for of receiving that client end of playing back sends asks that tries programme televised live to try request;Obtain the broadcast address of programme televised live;Strategy is tried according to what is pre-set, it is determined that tried in limited time programme televised live first moment and second that expires expired the moment;Response is tried to client end of playing back feedback, try that response is used to triggering client end of playing back to expire before the moment first, the acquisition request for the program data of acquisition request programme televised live is sent to program corresponding with broadcast address offer server, program provides server and the program data played is sent in the second forward direction client end of playing back for expiring the moment.The present invention solves the problems, such as to try that realization is not particularly suited in programme televised live to request program in correlation technique;The effect played in limited time to programme televised live is reached.

Description

Programme televised live tries method, apparatus and system
Technical field
The present invention relates to video broadcasting field, more particularly to a kind of programme televised live tries method, apparatus and system.
Background technology
Try and be generally used in order video, to improve buying rate of the domestic consumer for particular program.
When trying request program realization, try that server is corresponding with request program for each request program offer Fixed video section, after trying request of one request program of terminal-pair is tried when trying that server receives, then tries end to this End returns to the fixed video section of the request program, to try that the user of terminal is tried the request program.
During the present invention is realized, inventor has found that prior art at least has problems with:Due to programme televised live It is real-time data flow, tries that server can not preserve the fixed video section of programme televised live, therefore the above-mentioned examination to request program See that realization is not particularly suited in programme televised live.
The content of the invention
In order to solve the problems, such as to try that realization is not particularly suited in programme televised live to request program in the prior art, this hair Bright embodiment provides a kind of programme televised live and tries method, apparatus and electronic equipment.The technical scheme is as follows:
First aspect, there is provided a kind of programme televised live tries method, and applied in direct broadcast server, methods described includes:
Being used for of receiving that client end of playing back sends asks that tries programme televised live to try request;
Obtain the broadcast address of the programme televised live;
Try strategy according to what is pre-set, it is determined that the programme televised live is tried in limited time first expire the moment and Second expires the moment;
Try response to client end of playing back feedback, it is described with trying broadcasting that the programme televised live is carried in response Location, described first moment and described second that expires expire the moment, described to try that response is used to trigger the client end of playing back in institute State first to expire before the moment, providing server to program corresponding with the broadcast address sends for straight described in acquisition request The acquisition request of the program data of program is broadcast, the program provides server and asked according to the acquisition received, described Second expire client end of playing back described in the forward direction at moment sends the program data played.
Optionally, what the basis was pre-set tries strategy, it is determined that the programme televised live is tried in limited time One moment and second that expires expired the moment, including:
Detect whether the client end of playing back has the authority for trying the programme televised live;
If the client end of playing back has the authority for trying the programme televised live, the client end of playing back same day is detected Try whether number reaches pre-determined number threshold value, the pre-determined number threshold value is that client end of playing back can ask to try daily The higher limit of number;
If the client end of playing back same day tries that number is not up to the pre-determined number threshold value, it is determined that goes out to described straight The moment and described second that expires of broadcast that program is tried in limited time described first expires the moment, wherein, described first expires the moment At the time of for current time plus making a reservation for obtain after trying duration, it is when being later than described first to expire constantly that described second, which expires, The moment carved.
Second aspect, there is provided a kind of programme televised live tries method, and applied in client end of playing back, methods described includes:
The request of trying that programme televised live is tried for request is sent to direct broadcast server, it is described to try that request is used to trigger institute State direct broadcast server feedback and try response, described try carries the broadcast address of the programme televised live, to described straight in response The moment and second that expires of broadcast that program is tried in limited time first expires the moment;
Response is tried described in reception, providing server with the program corresponding to the broadcast address establishes connection, by described in Second expires inform constantly give the program provide server;
Expired described first before the moment, providing server to the program sends for live section described in acquisition request The acquisition request of purpose program data, it is described to obtain request for triggering the program offer server when described second expires The program data played is sent to the client end of playing back before quarter;
Receive the program and the program data that server is sent is provided, play the program data.
Optionally, the program data sent to program offer server for programme televised live described in acquisition request Acquisition request, including:
When the form for the programme televised live that request is tried is HLS, provides server to the program and send for asking Seek the request message for obtaining index file;Receive the program and the index file that server is sent is provided, in the index file The burst that server expires described second the predetermined burst that will be played obtained before the moment is provided including the program Mark;
Server is provided according to the index file to the program to send for obtaining point with the segmental identification The acquisition request of piece, it is described obtain request and be used to triggering the program server is provided and expired described second feed back before the moment The burst played.
Optionally, methods described also includes:
Reach described first expire the moment when, try end in the onscreen cue of the client end of playing back;
Or
Receive the program and the end-tag that server is sent is provided, tried in the onscreen cue of the client end of playing back End, the end-tag be the program provide server reach described second expire the moment when to the broadcasting client Hold the label sent.
The third aspect, there is provided a kind of programme televised live tries method, is provided applied to program in server, methods described bag Include:
Establish and connect with client end of playing back, receive that the client end of playing back is informed second expires the moment;
Receive the data acquisition request for the program data for acquisition request programme televised live that the client end of playing back is sent;
Expire before the moment, the program data played is sent to the client end of playing back, by institute described second State client end of playing back and play the program data.
Optionally, the program data for acquisition request programme televised live that the reception client end of playing back is sent obtains Request is taken, including:
When the form of the programme televised live is HLS forms, receive the client end of playing back transmission is used for acquisition request The request message of index file, the burst mark for the predetermined burst that will be played obtained before the moment that expired described second Know, the index file for carrying the segmental identification is sent to the client end of playing back;
Point for being used for acquisition request and there is the segmental identification of the client end of playing back transmission is received according to the connection The acquisition request of piece;
It is described to send the program data played to the client end of playing back, including:
The burst for meeting the segmental identification played is sent to the client end of playing back.
Optionally, methods described also includes:
Reach described second expire the moment when, send end-tag to the client end of playing back, the end-tag is used End is tried in triggering the client end of playing back prompting.
Fourth aspect, there is provided a kind of programme televised live tries device, and applied in direct broadcast server, described device includes:
Receiving module, for receive client end of playing back transmission be used for ask that tries programme televised live to try request;
Acquisition module, for obtaining the broadcast address of the programme televised live;
Determining module, for trying strategy according to what is pre-set, it is determined that the programme televised live is tried in limited time First moment and second that expires expired the moment;
Feedback module, for trying response to client end of playing back feedback, it is described try carried in response it is described straight Broadcast the broadcast address of program, described first moment and described second that expires expired the moment, it is described that to try that response is used to triggering described Client end of playing back expires before the moment described first, provides server to program corresponding with the broadcast address and sends and is used for The acquisition request of the program data of programme televised live described in acquisition request, the program provide server and obtained according to receiving Request is taken, the program data that is playing is sent in the described second expire client end of playing back described in the forward direction at moment.
Optionally, the determining module, including:
First detection unit, for detecting whether the client end of playing back has the authority for trying the programme televised live;
Second detection unit, for detecting that the client end of playing back is described straight with trying in first detection unit When broadcasting the authority of program, that detects the client end of playing back same day tries whether number reaches pre-determined number threshold value, described predetermined Frequency threshold value is the higher limit of the daily number that can ask to try of client end of playing back;
Determining unit, try that number does not reach for detect the client end of playing back same day in second detection unit During to the pre-determined number threshold value, that determines to try the programme televised live in limited time described first expires moment and described Second expires the moment, wherein, it is institute at the time of adding at current time to make a reservation for obtain after trying duration constantly that described first, which expires, Second is stated to expire constantly to be later than for described first moment for expiring the moment.
5th aspect, there is provided a kind of programme televised live tries device, and applied in client end of playing back, described device includes:
First sending module, the request of trying of programme televised live is tried for request for being sent to direct broadcast server, it is described Try that request tries response for triggering the direct broadcast server feedback, described try carries the programme televised live in response Broadcast address, first tried in limited time the programme televised live moment and second that expires expire the moment;
Connection establishment module, for receive it is described try response, provide service with the program corresponding to the broadcast address Device establishes connection, and described second is expired and informs constantly and provides server to the program;
Second sending module, for being expired described first before the moment, server is provided and sent to the program it is used for The acquisition request of the program data of programme televised live described in acquisition request, it is described to obtain request for triggering the program offer service Device expires described second and sent the program data played to the client end of playing back before the moment;
Receiving module, the program data for providing server for receiving the program and sending, plays the number of programs According to.
Optionally, second sending module, including:
Receiving unit, when the form of the programme televised live for being tried when request is HLS, service is provided to the program Device sends the request message for acquisition request index file;Receive the program and the index file that server is sent, institute are provided Stating index file includes the program to provide server predetermined in the described second expire will playing of obtaining before the moment The segmental identification of individual burst;
Transmitting element, for providing server to the program according to the index file that the receiving unit receives The acquisition request for obtaining the burst with the segmental identification is sent, described obtain asks to be used to trigger the program offer Server expires the burst that feeds back before the moment and playing described second.
Optionally, described device also includes:
First reminding module, for reach described first expire the moment when, above carried in the screen of the client end of playing back Show and try end;
Or
Second reminding module, the end-tag that server is provided and sent for receiving the program, in the broadcasting client The onscreen cue at end tries end, when the end-tag is that the program provides server and reaches described second and expire The label sent during quarter to the client end of playing back.
6th aspect, there is provided a kind of programme televised live tries device, is provided applied to program in server, described device bag Include:
Connection establishment module, connected for being established with client end of playing back, receive that the client end of playing back is informed second arrives Moment phase;
Receiving module, the program data for acquisition request programme televised live sent for receiving the client end of playing back Data acquisition request;
First sending module, for being expired described second before the moment, the program data played is sent to institute Client end of playing back is stated, the program data is played by the client end of playing back.
Optionally, the receiving module, including:
Transmitting element, for when the form of the programme televised live is HLS forms, receiving the client end of playing back transmission For the request message of acquisition request index file, expired obtain before the moment predetermined will played point described second The segmental identification of piece, the index file for carrying the segmental identification is sent to the client end of playing back;
Receiving unit, point for being used for acquisition request and there is the segmental identification sent for receiving the client end of playing back The acquisition request of piece;
First sending module, is additionally operable to:
The burst for meeting the segmental identification played is sent to the client end of playing back.
Optionally, described device also includes:
Second sending module, for reach described second expire the moment when, to the client end of playing back send terminate mark Label, the end-tag try end for triggering the client end of playing back prompting.
7th aspect, there is provided a kind of programme televised live tries system, and the system includes direct broadcast server, at least one broadcast Put client and at least one program provide server,
The direct broadcast server includes fourth aspect and fourth aspect is various optionally live described in implementations Program tries device;
The client end of playing back includes the 5th aspect and the 5th aspect is various optionally live described in implementations Program tries device;
The program, which provides server, to be included described in the 6th aspect and the various optional implementations of the 6th aspect Programme televised live tries device.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
By realizing when trying of programme televised live, using first expire constantly limit client end of playing back can play when Between, expired using second and limit the programme televised live data that program provides server and can be provided constantly so that client end of playing back root The program data that server offer is provided according to program is played in limited time;Solve in correlation technique and reality is tried to request program The problem of being now not particularly suited in programme televised live;The effect played in limited time to programme televised live is reached.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the signal that the programme televised live provided in one embodiment of the invention tries the implementation environment involved by method Figure;
Fig. 2 is the method flow diagram that the programme televised live provided in one embodiment of the invention tries method;
Fig. 3 is that be used to determine to try programme televised live in limited time first provided in one embodiment of the invention expires Moment and the second schematic flow sheet for expiring the moment;
Fig. 4 A are the method flow diagrams that the programme televised live provided in another embodiment of the present invention tries method;
Fig. 4 B are the method flow diagrams that the programme televised live provided in another embodiment of the present invention tries method;
Fig. 4 C are that the schematic diagram of end is tried in the prompting provided in one embodiment of the invention;
Fig. 5 A are the method flow diagrams that the programme televised live provided in further embodiment of the present invention tries method;
Fig. 5 B are that the client end of playing back provided in one embodiment of the invention provides clothes in Slicing procedure is obtained with program The schematic diagram of business device interaction;
Fig. 5 C are the method flow diagrams that the programme televised live provided in further embodiment of the present invention tries method;
Fig. 6 A are the structural representations that the programme televised live provided in one embodiment of the invention tries device;
Fig. 6 B are the structural representations that the programme televised live provided in another embodiment of the present invention tries device;
Fig. 7 A are the structural representations that the programme televised live provided in further embodiment of the present invention tries device;
Fig. 7 B are the structural representations that the programme televised live provided in further embodiment of the present invention tries device;
Fig. 8 A are the structural representations that the programme televised live provided in further embodiment of the present invention tries device;
Fig. 8 B are the structural representations that the programme televised live provided in further embodiment of the present invention tries device;
Fig. 9 is the structural representation that the programme televised live provided in one embodiment of the invention tries system.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Shown in Figure 1, it is that the programme televised live provided in one embodiment of the invention tries reality involved by method Apply the schematic diagram of environment.The implementation environment can include:Direct broadcast server 110, at least one client end of playing back 120 and at least one Individual program provides server 130.
Direct broadcast server 110 is connected with each client end of playing back 120 by cable network mode or wireless network mode, directly Program request can be provided by broadcasting in server 110 tries strategy.
Client end of playing back 120 can be the client of the instant messaging application program on mobile terminal, can also For the webpage version client in browser on mobile terminal, user is when using client end of playing back 120, it is necessary to which login user is registered Successful user account." mobile terminal " said in text can include the smart mobile phone with playing function, tablet personal computer, intelligence Energy TV, multimedia player, pocket computer on knee and desktop computer etc..
Program, which provides server 130, to be connected by cable network mode or wireless network mode with client end of playing back 120 Connect, and it can be the broadcast address that direct broadcast server 110 provides programme televised live that program, which provides server 130,.
Program provides server 130 and is used to provide programme televised live, and programme televised live is played out.In general, program carry At least one programme televised live can be provided for server 130.
Shown in Figure 2, it is the method flow that the programme televised live provided in one embodiment of the invention tries method Figure.The programme televised live tries method mainly with applied to being illustrated in implementation environment shown in Fig. 1.The programme televised live is tried Method comprises the following steps:
Step 201, client end of playing back is sent for asking that tries programme televised live to try request to direct broadcast server.
Generally, user can select the programme televised live to be tried according to client end of playing back, and corresponding, client end of playing back can be with Receive programme televised live to be tried tries instruction, and this tries the mark that programme televised live is carried in instruction.
Then, client end of playing back can be sent to direct broadcast server for asking that tries the programme televised live to try request, Similar, this tries the mark that the programme televised live that request is tried is carried in request.
Step 202, direct broadcast server receives this and tries request.
Step 203, direct broadcast server obtains the broadcast address of the programme televised live.
Direct broadcast server tries request according to this, obtains the broadcast address for trying the programme televised live carried in request.
Optionally, direct broadcast server provides server from each program in advance and obtains what each program offer server provided The broadcast address of programme televised live.
After direct broadcast server, which receives one, tries request, then the live section carried in acquisition request can be tried for this Target is known, search storage with the corresponding broadcast address of programme televised live mark.
Step 204, direct broadcast server tries strategy according to what is pre-set, it is determined that being tried in limited time the programme televised live First moment and second that expires expire the moment.
Try try highest number and live section that authority, programme televised live daily tried of the strategy by client end of playing back Time limit that mesh is tried every time etc. is defined.
For example, direct broadcast server can determine whether the client end of playing back has the power tried according to client end of playing back Whether limit, such as the client end of playing back are first using the client tried, or, whether the client end of playing back is successful registration The client crossed, or, whether the client end of playing back is client with charge end etc., and the embodiment of the present invention is tried client end of playing back Authority limits without specific.
Again for example, direct broadcast server can limit the highest number that each client end of playing back is tried daily, the highest When number can be the upper limit of the number for all programme televised lives that the client end of playing back can be tried, such as, the highest number can Think 3 times or 5 times.
Again for example, direct broadcast server can also limit the time limit that programme televised live is tried every time.
Optionally, tried for ith, each programme televised live tries that the time limit can be with identical or different.
Optionally, try that the time limit that each programme televised live is tried is identical with the time limit that ith is tried for jth time Or it is different, wherein i be not equal to j, and i, j are more than 0 and are less than the higher limit that the same day tries number.
Referring to shown in table 1, tried for ith, each programme televised live tries time limit all same, and for jth time Try, the time limit that each programme televised live is tried is different from the time limit that ith is tried.
Programme televised live 1st time limit tried 2nd time limit tried 3rd time limit tried
Programme televised live 1 5 minutes 4 minutes 3 minutes
Programme televised live 2 5 minutes 4 minutes 3 minutes
Programme televised live 3 5 minutes 4 minutes 3 minutes
Table 1
Refer to shown in table 2, tried for ith, each programme televised live tries that the time limit may be the same or different, for Try that the time limit that the time limit that each programme televised live is tried tries with ith can be with identical or different j times.Wherein i is not equal to j, And i, j are to try the higher limit of number more than 0 and less than the same day.
Programme televised live 1st time limit tried 2nd time limit tried 3rd time limit tried
Programme televised live 1 5 minutes 5 minutes 4 minutes
Programme televised live 2 4 minutes 3 minutes 2 minutes
Programme televised live 3 5 minutes 2 minutes 2 minutes
Table 2
Generally, direct broadcast server can store time limit when each programme televised live is tried every time.
Can be that client end of playing back is set to ensure that the time limit that a programme televised live is tried meets the limited time limit Try that the first of the time limit expires the moment for limiting programme televised live, and provide server for program and be provided for limiting the live section Mesh tries that the second of the time limit expires the moment.
In general, first expire constantly for current time plus the programme televised live this try the time limit being defined (i.e. It is predetermined to try duration) after at the time of obtain.
Due to second expire constantly be typically client end of playing back be then forwarded to after being obtained from direct broadcast server program provide Server, therefore, generally expire being expired the moment later than first of setting constantly by second.First moment and second that expires arrived The time difference between moment phase can depend on client end of playing back and program provides the bandwidth conditions and distance of server, that is, should The time difference can be fixed value, can also provide the bandwidth conditions of server and apart from real-time change according to client and program.
Step 205, direct broadcast server tries response to client end of playing back feedback, and this tries that this is carried in response is live The broadcast address of program, first moment and second that expires expire the moment.
Optionally, direct broadcast server can carry Vkey in response is tried, and first moment and second that expires was arrived Moment phase is added in Vkey.
Step 206, client end of playing back receives this and tries response.
Step 207, client end of playing back provides server with the program corresponding to the broadcast address and establishes connection, and second is arrived Moment phase informs provides server to program.
Client end of playing back is after receiving and trying response, when acquisition tries that the broadcast address carried in response, first expire Carve and second expires the moment, and utilize the broadcast address, establish between program offer server corresponding with the broadcast address Connection.After connection is successfully established, client end of playing back can will be appreciated that second expire send constantly to the program provide service Device.
Step 208, what program provided that server receives that client end of playing back informs second expires the moment.
Step 209, client end of playing back expires before the moment first, and providing server to program sends for acquisition request The acquisition request of the program data of programme televised live.
Step 210, program provides server and receives the data acquisition request that client end of playing back is sent.
Step 211, program provides server and expired second before the moment, and the program data played is sent to broadcasting Put client.
It is living broadcast of programs server because program provides server, therefore, program provides server and can expired second Before moment, the program data played is sent to client end of playing back, to realize trying for programme televised live.
Program provide server detection reach second expire the moment when, then stop sending the program data that play To client end of playing back.
Step 212, client end of playing back receives the program and provides the program data that server is sent, broadcasting program number evidence.
Because the program data is the program data that program provides that server is sent according to broadcasting is implemented, therefore for playing For client, it plays the program data received in real time, you can to regard as live try.
In summary, programme televised live provided in an embodiment of the present invention tries method, by realizing trying for programme televised live When, expired using first and limit the time that client end of playing back can play constantly, expired using second and program offer is provided constantly The programme televised live data that server can be provided so that the program data that client end of playing back provides server offer according to program enters Row plays in limited time;Solve the problems, such as to try that realization is not particularly suited in programme televised live to request program in correlation technique;Reach To the effect played in limited time to programme televised live.
It should be noted that above-mentioned steps 201, step 206, step 207, step 209 and step 212 can individually be implemented Method is tried as the programme televised live using client end of playing back as executive agent;Above-mentioned steps 202 to step 205 can individually be implemented Method is tried as the programme televised live using client end of playing back as executive agent;Above-mentioned steps 208, step 210 and step 211 can be with The programme televised live being individually implemented as using client end of playing back as executive agent tries method.
In a kind of possible implementation, direct broadcast server can try strategy according to what is pre-set, determine that this is straight The moment and second that expires of broadcast that program is tried in limited time first expires the moment.Shown in Figure 3, it is according to the present invention one First moment and second that expires for being used to determine to try programme televised live in limited time provided in individual embodiment expires the moment Schematic flow sheet, in figure 3, the step 204 in Fig. 2 is replaced for following steps 204a to step 204c, the step after replacement It is rapid as follows:
Step 204a, detects whether the client end of playing back has the authority for trying the programme televised live.
In general, direct broadcast server provide programme televised live try service when, it is necessary to first detection request try that some is straight Whether the client end of playing back for broadcasting program has the authority for trying the programme televised live.In general, direct broadcast server can detect this Whether client end of playing back is successful registration is crossed on the direct broadcast server client, or, the direct broadcast server can detect Whether the client end of playing back, which is allowed to realize on the direct broadcast server, is tried business, or, the direct broadcast server can detect Whether the client end of playing back is first using the client for trying function, or, the direct broadcast server can detect broadcasting visitor Whether family end is client with charge end or VIP clients etc., and the embodiment of the present invention tries authority without tool to client end of playing back Body limits.
Step 204b, if the client end of playing back has the authority for trying the programme televised live, detect the client end of playing back and work as Day tries whether number reaches pre-determined number threshold value, and the pre-determined number threshold value is that client end of playing back can ask to try daily Number higher limit.
In order to provide the user with friendly experience, direct broadcast server allows generally for trying with the client end of playing back for trying authority Several times, but in order to improve the viewing buying rate of programme televised live, direct broadcast server would generally be that client end of playing back setting daily may be used The higher limit of number is tried, that is, direct broadcast server can limit the highest number that each client end of playing back is tried daily, this is most When high reps can be the upper limit (i.e. the pre-determined number threshold value) of the number for all programme televised lives that the client end of playing back can be tried, For example the highest number can be 3 times or 5 times.
Step 204c, if the client end of playing back same day try that number is not up to the pre-determined number threshold value, it is determined that go out pair The programme televised live tried in limited time this first expire the moment and this second expire the moment, wherein, this first expires and is constantly Current time tries that this second expires and first expire the one of the moment constantly to be later than this at the time of obtaining after duration plus predetermined The individual moment.
If the client end of playing back same day tries that number is not up to the pre-determined number threshold value, show that the client end of playing back is worked as Day can also be tried, now direct broadcast server then determine to try the programme televised live in limited time this first when expiring Carve and this second expires the moment.
In actual applications, while being supplied to client end of playing back to try function, reduce as far as possible when trying to flow Occupancy, direct broadcast server would generally be that the programme televised live each tried sets a time limit, such as 3 minutes or 5 minutes etc..
In general, first expire constantly for current time plus the programme televised live this try the time limit being defined (i.e. It is predetermined to try duration) after at the time of obtain.
Due to second expire constantly be typically client end of playing back be then forwarded to after being obtained from direct broadcast server program provide Server, therefore, generally expire being expired the moment later than first of setting constantly by second.First moment and second that expires arrived The time difference between moment phase can depend on client end of playing back and program provides the bandwidth conditions and distance of server, that is, should The time difference can be fixed value, can also provide the bandwidth conditions of server and apart from real-time change according to client and program.
In summary, direct broadcast server can determine whether that client end of playing back is tried according to strategy is tried, and When allowing live client to be tried, time limit for notifying live client to try, complete to programme televised live progress Initialization when trying.
In a kind of possible implementation, after step 212, client end of playing back can prompt after end is tried Try end.Refer to shown in Fig. 4 A, the programme televised live method of trying can also include:
Step 213a, client end of playing back reach first expire the moment when, tried in the onscreen cue of client end of playing back End.
When client end of playing back detection reach first expire the moment when, generally then show that client end of playing back has played permission The program data in time limit, now client end of playing back can then stop broadcasting program number evidence, and above be carried in the plane of client end of playing back Show and try end.
Or in alternatively possible implementation, after step 212, client end of playing back can also be according to program The end-tag that server is sent is provided, prompts to try end.Refer to shown in Fig. 4 B, the programme televised live tries method also It can include:
Step 213b, program provide server reach second expire the moment when, to client end of playing back send end-tag.
When program provide server detection reach second expire the moment when, generally then show to be sent to client end of playing back Program data reached allow try data volume, now then to client end of playing back send end-tag.
Step 213c, client end of playing back receives the program and provides the end-tag that server is sent, in client end of playing back Onscreen cue tries end.
Refer to shown in Fig. 4 C, when being expired the moment when client end of playing back detection reaches first, or receiving end-tag, Then stop broadcasting program number according to (now there may be a small amount of program data having obtained but not played), and play visitor End is tried in prompting in the plane at family end, and end is tried " to try end, please supplement with money and continue to see in Fig. 4 C See!”.
When actually realizing, programme televised live is probably HLS forms, it is also possible to flv forms, HLS forms it is live The characteristics of program is:Program, which provides server, to be needed the segmental identification for the burst that will be played being sent to client end of playing back, often Individual burst is all very small, and client end of playing back then provides server acquisition request these burst marks according to these segmental identifications to program Know the data of corresponding burst, corresponding, program provides service when live according to the request of client end of playing back, to playing visitor Family end sends the burst played.It is all very small that the burst of server offer is provided due to program, therefore can be realized live Effect.
And the characteristics of programme televised live of flv forms, is:It can be issued in real time to client end of playing back when program provides server Just in live program data.
For the programme televised live of above two form, the present invention can include such as when realizing that programme televised live tries method Lower two kinds of situations:
In the case of the first, when the form of programme televised live is HLS forms, refer to shown in Fig. 5 A, provided in Fig. 5 A Programme televised live try that the step 210 in Fig. 2 is replaced with following steps 210a1 to step 210a3 by method, by the step in Fig. 2 Rapid 209 replace with following steps 209a1 to step 209a3, and step 211 is replaced with into step 211a, and step 212 is replaced with into step Rapid 212a, each step after replacement are as follows:
Step 209a1, when the form of programme televised live is HLS forms, client end of playing back provides server to program and sent Request message for acquisition request index file.
Optionally, client end of playing back when sending request message, can be built according to server is provided with program again here Vertical connection is transmitted, namely connection during for sending request message can be different companies from the connection in step 207 Connect.
Optionally, when client end of playing back can also provide server transmission request message for the first time to program, carry Second expires the moment.
Step 210a1, program offer server receive the acquisition request for acquisition request index file.
Step 210a2, program provide server and expired the predetermined burst that will be played that obtains before the moment second Segmental identification, sent to client end of playing back and carry the index file of the segmental identification.
Because the programme televised live of HLS forms is in the particularity of broadcasting, client end of playing back needs to ask follow-up burst, this When, program provides server and is sent to client end of playing back firstly the need of by the segmental identification of follow-up each burst.Optionally, save Mesh, which provides server, can first obtain the segmental identification for the predetermined burst that will be played, and sends and carry to client end of playing back The index file of the segmental identification.
Because the program request for needing to be accomplished that the programme televised live to HLS forms in the disclosure is tried, therefore client end of playing back The segmental identification by follow-up small part burst is only needed to be sent to client end of playing back.Therefore, predetermined burst here Quantity is generally much smaller than the quantity of total burst of the programme televised live.
Step 209a2, client end of playing back receive program and provide the index file that server is sent.
Optionally, after client end of playing back, which receives program, provides the index file that server is sent, foundation is used to send The connection of request message then disconnects.
Step 209a3, client end of playing back provides server and sent according to index file to program has this point for obtaining The acquisition request of the burst of piece mark.
Client end of playing back can establish the short connection that server is provided with program again, and according to index in the short connection The acquisition that file is sent for obtaining the burst with the segmental identification to program offer server is asked.
Step 210a3, program, which provides the acquisition request that is used for that server receives client end of playing back transmission, has the burst mark The acquisition request of the burst of knowledge.
Program provides the acquisition that server receives client end of playing back transmission according to the short connection and asked.
Step 211a, program provide server and send the burst for meeting the segmental identification played to broadcasting client End.
Program provides server and is sent the burst for meeting the segmental identification played to broadcasting according to the short connection Client.
Step 212a, client end of playing back, which receives and plays program, provides the burst that server is sent.
After client end of playing back receives the burst that program provides server transmission according to the short connection, these bursts are played.
It should be noted that realizing when trying of the programme televised live of HLS forms, client end of playing back is providing clothes with program When business device establishes connection, what is typically connected is short connection, i.e., after connection is established, program offer server can utilize the short connection Above-mentioned index file is sent to client end of playing back, corresponding, client end of playing back receives the index file using the short connection.
Client end of playing back provides server with the program again and establishes short connection, is sent again with providing server to program Request is obtained, the program offer server by utilizing short connection feedback obtains the data for asking asked burst, corresponding, broadcasting Client receives the data of these bursts using the short connection, and plays out.
That is, the process of client end of playing back acquisition request burst is required to establish once for obtaining index file every time Short connection and the short connection for being once used to obtain burst.Refer to shown in Fig. 5 B, client end of playing back is obtaining index file every time When, once short connection is established, after index file is got, utilizes segmental identification institute in index file acquisition request index file During corresponding burst, short connection is established once again.And client end of playing back is established when repeatedly obtaining burst using above-mentioned connection Process establishes short connection.For example obtain for the first time in the process S1 of burst, client end of playing back is established short with program offer server L1 is connected, and provides server to program according to the short connection L1 and sends request message 1 for acquisition request index file, is saved Mesh provides server and feeds back index file 1 to client end of playing back according to short connection L1, and wherein index file 1 carries segmental identification 1 and segmental identification 2, now end connection L1 can disconnect automatically;Client end of playing back provides server with program and establishes short connection L1 ', And sent according to the short connection L1 ' to program offer server and ask 1 for the acquisition of acquisition request burst, program provides service Device asks 1 according to the acquisition, to the burst 1 and burst 2 of client end of playing back feedback request.For second of process for obtaining burst The process S3 that S2 and third time obtain burst is similar with the process S1 of first time acquisition burst, just repeats no more here.
If now client end of playing back plays out according to the data of the burst received, when not yet reaching first and expiring Carve, show that client end of playing back limits according to the duration tried, more contents in the programme televised live can also be played.Now, broadcast Put client also to may proceed to establish short connection with program offer server, and sent to server for acquisition request index file Acquisition request, that is, perform step 209a to step 212a the step of.
In summary, the programme televised live provided in the embodiment of the present invention tries method, in the live section for trying that form is HLS During mesh, provide the segmental identification acquisition request of several bursts of server offer these bursts using program, and to acquisition These bursts play out.
During trying, when client end of playing back be not up to first expire the moment when, repeatedly obtain index file, with Played out using the burst that index file acquisition request is newest, and to the newest burst got, so as to realize HLS forms Programme televised live is tried.
In the case of second, when the form of programme televised live is flv forms, refer to shown in Fig. 5 C, provided in Fig. 5 C Programme televised live try that the step 209 in Fig. 2 and step 210 are replaced with following steps by method respectively:
Step 209c, client end of playing back are expired before the moment first, and service is provided to program according to the long connection of foundation Device sends the acquisition request for the program data of acquisition request programme televised live.
Here the long connection established is the connection established in step 207, because the programme televised live of flv forms need not be more Secondary request burst, therefore only need to establish vice-minister connection.
Step 210c, program provide server according to the long data acquisition request for connecting and receiving client end of playing back and sending.
The step of subsequent execution step 211 and step 212.Namely in step 207, client end of playing back provides clothes with program The connection that business device is established connects to be long, namely during entirely trying, the connection exists always after being established, and plays client End is sent and asks it for the acquisition of the program data of acquisition request programme televised live providing server to program according to the connection Afterwards, program provides server and can expired first before the moment, and the program data played is sent to client end of playing back, with Realize that client end of playing back is tried programme televised live.
Refer to shown in Fig. 6 A, it is the structural representation that the programme televised live provided in one embodiment of the invention tries device Figure, the programme televised live try device mainly with applied to being illustrated in direct broadcast server 110 shown in Fig. 1.The live section Mesh tries that device can include:Receiving module 610, acquisition module 620, determining module 630 and feedback module 640.
Receiving module 610, for receive client end of playing back transmission be used for ask that tries programme televised live to try request;
Acquisition module 620, for obtaining the broadcast address of the programme televised live;
Determining module 630, for trying strategy according to what is pre-set, it is determined that the programme televised live is tried in limited time First moment and second that expires expired the moment;
Feedback module 640, for trying response to client end of playing back feedback, this, which is tried, carries the programme televised live in response Broadcast address, first moment and second that expires expire the moment, this is tried that response is used to triggering client end of playing back and expired first Before moment, the number of programs for the acquisition request programme televised live is sent to program corresponding with broadcast address offer server According to acquisition ask, program provide server according to receive acquisition request, the forward play client at the moment that expired second End sends the program data played.
In a kind of possible implementation, refer to shown in Fig. 6 B, it is provided in another embodiment of the present invention Programme televised live tries the structural representation of device, and the determining module 630 can include:The detection of first detection unit 631, second is single Member 632 and determining unit 633.
First detection unit 631, for detecting whether client end of playing back has the authority for trying programme televised live;
Second detection unit 632, try that this is live for detecting that client end of playing back has in first detection unit 631 During the authority of program, the detection client end of playing back same day tries whether number reaches pre-determined number threshold value, and pre-determined number threshold value is Client end of playing back can ask the higher limit for the number tried daily;
Determining unit 633, try that number does not reach for detect the client end of playing back same day in second detection unit 632 During to pre-determined number threshold value, first moment and second that expires for determining to try the programme televised live in limited time expires the moment, Wherein, first expire and try that second expires constantly to be later than at the time of obtaining after duration plus predetermined constantly for current time First moment for expiring the moment.
In summary, programme televised live provided in an embodiment of the present invention tries device, by realizing trying for programme televised live When, expired using first and limit the time that client end of playing back can play constantly, expired using second and program offer is provided constantly The programme televised live data that server can be provided so that the program data that client end of playing back provides server offer according to program enters Row plays in limited time;Solve the problems, such as to try that realization is not particularly suited in programme televised live to request program in correlation technique;Reach To the effect played in limited time to programme televised live.
Refer to shown in Fig. 7 A, it is that the programme televised live provided in further embodiment of the present invention tries that the structure of device is shown It is intended to, the programme televised live tries device mainly with applied to being illustrated in client end of playing back 120 shown in Fig. 1.This is live Program tries that device can include:First sending module 710, connection establishment module 720, the second sending module 730 and reception mould Block 740.
First sending module 710, the request of trying of programme televised live, examination are tried for request for being sent to direct broadcast server See that request tries response for triggering direct broadcast server feedback, try and the broadcast address of programme televised live is carried in response, to straight The moment and second that expires of broadcast that program is tried in limited time first expires the moment;
Connection establishment module 720, response is tried for receiving, providing server with the program corresponding to the broadcast address builds Vertical connection, second is expired and informs constantly and provides server to program;
Second sending module 730, for being expired first before the moment, provide server to program and send and obtained for request Take the acquisition of the program data of programme televised live to ask, obtain request be used for trigger program provide server second expire the moment it It is preceding to send the program data played to client end of playing back;
Receiving module 740, the program data for providing server for receiving program and sending, plays the program data.
In a kind of possible implementation, refer to shown in Fig. 7 B, it is provided in further embodiment of the present invention Programme televised live tries the structural representation of device, the second sending module 730, including:Receiving unit 731 and transmitting element 732.
Receiving unit 731, when the form of the programme televised live for being tried when request is HLS, server hair is provided to program Send the request message for acquisition request index file;Receive program and the index file that server is sent is provided, in index file The segmental identification that server expires second the predetermined burst that will be played obtained before the moment is provided including program;
Transmitting element 732, sent for providing server to program according to the index file that the receiving unit 731 receives There is the acquisition request of the burst of segmental identification for acquisition, obtain request and expired for triggering program offer server second Moment feeds back the burst played before.
In a kind of possible implementation, referring still to shown in Fig. 7 B, the programme televised live tries that device can also include: First reminding module 750, or, the second reminding module 760.
First reminding module 750, for reach first expire the moment when, tried in the onscreen cue of client end of playing back End;
Or
Second reminding module 760, the end-tag that server is provided and sent for receiving program, in the client end of playing back Onscreen cue tries end, end-tag be program provide server reach second expire the moment when to client end of playing back The label of transmission.
In summary, programme televised live provided in an embodiment of the present invention tries device, by realizing trying for programme televised live When, expired using first and limit the time that client end of playing back can play constantly, expired using second and program offer is provided constantly The programme televised live data that server can be provided so that the program data that client end of playing back provides server offer according to program enters Row plays in limited time;Solve the problems, such as to try that realization is not particularly suited in programme televised live to request program in correlation technique;Reach To the effect played in limited time to programme televised live.
Refer to shown in Fig. 8 A, it is that the programme televised live provided in further embodiment of the present invention tries that the structure of device is shown It is intended to, the programme televised live tries device mainly with applied to being illustrated in client end of playing back 120 shown in Fig. 1.This is live Program tries that device can include:Connection establishment module 810, the sending module 830 of receiving module 820 and first.
Connection establishment module 810, connected for being established with client end of playing back, receive that client end of playing back informs second expires Moment;
Receiving module 820, for the connection established according to the connection establishment module 810, receive what client end of playing back was sent Data acquisition request for the program data of acquisition request programme televised live;
First sending module 830, for being expired second before the moment, the program data played is sent to broadcasting Client, the program data is played by client end of playing back.
In a kind of possible implementation, refer to shown in Fig. 8 B, it is provided in further embodiment of the present invention Programme televised live tries the structural representation of device, the receiving module 820, including:Transmitting element 821 and receiving unit 822.
Transmitting element 821, for when the form of the programme televised live is HLS forms, receiving the use that client end of playing back is sent In the request message of acquisition request index file, point for the predetermined burst that will be played obtained before the moment that expired second Piece is identified, and the index file for carrying the segmental identification is sent to client end of playing back;
Receiving unit 822, for receiving the burst for being used for acquisition request and there is segmental identification of client end of playing back transmission Obtain request;
First sending module 830, is additionally operable to:
The burst for meeting segmental identification played is sent to client end of playing back.
In a kind of possible implementation, referring still to shown in Fig. 8 B, the programme televised live tries that device can also include: Second sending module 840.
Second sending module 840, for reach second expire the moment when, to client end of playing back send end-tag, knot Beam label tries end for triggering client end of playing back prompting.
In summary, programme televised live provided in an embodiment of the present invention tries device, by realizing trying for programme televised live When, expired using first and limit the time that client end of playing back can play constantly, expired using second and program offer is provided constantly The programme televised live data that server can be provided so that the program data that client end of playing back provides server offer according to program enters Row plays in limited time;Solve the problems, such as to try that realization is not particularly suited in programme televised live to request program in correlation technique;Reach To the effect played in limited time to programme televised live.
It should be noted that:The programme televised live provided in above-described embodiment tries that device is tried to programme televised live When, only with the division progress of above-mentioned each functional module for example, in practical application, above-mentioned function can be divided as needed With by different functional module completions, i.e., the internal structure that direct broadcast server, client end of playing back and program are provided to server is drawn It is divided into different functional modules, to complete all or part of function described above.In addition, above-described embodiment offer is live Program tries that device tries that embodiment of the method belongs to same design with programme televised live, and its specific implementation process refers to method implementation Example, is repeated no more here.
Shown in Figure 9, it is the structural representation that the programme televised live provided in one embodiment of the invention tries system Figure, the system can include direct broadcast server 910, at least one client end of playing back 920 and at least one program and provide server 930。
Wherein, direct broadcast server 910 can include the programme televised live described in Fig. 6 A or Fig. 6 B such as and try device, specifically It may refer to, to the description in Fig. 6 A or Fig. 6 B, just repeat no more here.
Client end of playing back 920 can include the programme televised live described in Fig. 7 A or Fig. 7 B such as and try device, specifically can be with Referring to the description in Fig. 7 A or Fig. 7 B, just repeat no more here.
Program, which provides server 930 and can include the programme televised live described in Fig. 8 A or Fig. 8 B such as, tries device, specifically It may refer to, to the description in Fig. 8 A or Fig. 8 B, just repeat no more here.
In summary, programme televised live provided in an embodiment of the present invention tries system, by realizing trying for programme televised live When, expired using first and limit the time that client end of playing back can play constantly, expired using second and program offer is provided constantly The programme televised live data that server can be provided so that the program data that client end of playing back provides server offer according to program enters Row plays in limited time;Solve the problems, such as to try that realization is not particularly suited in programme televised live to request program in correlation technique;Reach To the effect played in limited time to programme televised live.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (17)

1. a kind of programme televised live tries method, it is characterised in that applied in direct broadcast server, methods described includes:
Being used for of receiving that client end of playing back sends asks that tries programme televised live to try request;
Obtain the broadcast address of the programme televised live;
Strategy is tried according to what is pre-set, it is determined that the programme televised live is tried in limited time first expires moment and second Expire the moment, wherein, described second expires constantly to be later than for described first moment for expiring the moment;
Try response to client end of playing back feedback, it is described try carried in response the programme televised live broadcast address, Described first moment and described second that expires expired the moment, described to try that response is used to triggering the client end of playing back described the One expired before the moment, and providing server to program corresponding with the broadcast address sends for live section described in acquisition request The acquisition request of purpose program data, the program provides server and asked according to the acquisition received, described second The client end of playing back described in the forward direction at moment that expires sends the program data played.
2. according to the method for claim 1, it is characterised in that what the basis was pre-set tries strategy, it is determined that to institute The moment and second that expires of state that programme televised live is tried in limited time first expires the moment, including:
Detect whether the client end of playing back has the authority for trying the programme televised live;
If the client end of playing back has the authority for trying the programme televised live, trying for the client end of playing back same day is detected Whether number reaches pre-determined number threshold value, and the pre-determined number threshold value is the daily number that can ask to try of client end of playing back Higher limit;
If the client end of playing back same day tries that number is not up to the pre-determined number threshold value, it is determined that goes out to the live section Described first moment and described second that expires that mesh is tried in limited time expires the moment, wherein, described first expires constantly to work as At the time of the preceding moment is plus making a reservation for obtain after trying duration, described second expires expires the moment to be later than described first constantly One moment.
3. a kind of programme televised live tries method, it is characterised in that applied in client end of playing back, methods described includes:
The request of trying that programme televised live is tried for request is sent to direct broadcast server, it is described to try that request is described straight for triggering Broadcast server feedback and try response, described try carries the broadcast address of the programme televised live, to the live section in response First moment and second that expires that mesh is tried in limited time expires the moment, wherein, described second expires constantly to be later than described the One moment for expiring the moment;
Response is tried described in reception, providing server with the program corresponding to the broadcast address establishes connection, by described second Expire inform constantly give the program provide server;
Expired described first before the moment, providing server to the program sends for programme televised live described in acquisition request The acquisition request of program data, it is described obtain request be used to triggering the program provide server described second expire the moment it It is preceding to send the program data played to the client end of playing back;
Receive the program and the program data that server is sent is provided, play the program data.
4. according to the method for claim 3, it is characterised in that described to be sent to program offer server for asking The acquisition request of the program data of the programme televised live is obtained, including:
When the form for the programme televised live that request is tried is HLS, sends to program offer server and obtained for request Take the request message of index file;Receive the program and the index file that server is sent is provided, the index file includes The program provides the segmental identification that server expires the predetermined burst that will be played obtained before the moment described second;
Server is provided according to the index file to the program to send for obtaining the burst with the segmental identification Obtain request, it is described obtain request and be used to triggering the program server is provided and expired described second feed back before the moment The burst played.
5. the method according to claim 3 or 4, it is characterised in that methods described also includes:
Reach described first expire the moment when, try end in the onscreen cue of the client end of playing back;
Or
Receive the program and the end-tag that server is sent is provided, end is tried in the onscreen cue of the client end of playing back Message, the end-tag be the program provide server reach described second expire the moment when sent out to the client end of playing back The label sent.
6. a kind of programme televised live tries method, it is characterised in that is provided applied to program in server, methods described includes:
Establish and connect with client end of playing back, receive that the client end of playing back is informed second expires the moment;
The client end of playing back is received to expire the program data for acquisition request programme televised live that sends before the moment first Data acquisition request, wherein, described first expires moment and described second to expire be direct broadcast server constantly according to setting in advance That puts tries strategy, it is determined that expired the moment to what the programme televised live was tried in limited time, described second expires constantly to be later than Described first moment for expiring the moment;
Expired described second before the moment, the program data played is sent to the client end of playing back, broadcast by described Put program data described in client terminal playing.
7. method according to claim 6, it is characterised in that described to receive being obtained for request for the client end of playing back transmission The acquisition of the program data of programme televised live is taken to ask, including:
When the form of the programme televised live is HLS forms, receives the acquisition request that is used for that the client end of playing back is sent and index The request message of file, the segmental identification for the predetermined burst that will be played obtained before the moment that expired described second, to The client end of playing back sends the index file for carrying the segmental identification;
Receive the acquisition request for being used for acquisition request and there is the burst of the segmental identification that the client end of playing back is sent;
It is described to send the program data played to the client end of playing back, including:
The burst for meeting the segmental identification played is sent to the client end of playing back.
8. according to the methods described of claim 6 or 7, it is characterised in that methods described also includes:
Reach described second expire the moment when, to the client end of playing back send end-tag, the end-tag be used for touch Sending out client end of playing back described, end is tried in prompting.
9. a kind of programme televised live tries device, it is characterised in that applied in direct broadcast server, described device includes:
Receiving module, for receive client end of playing back transmission be used for ask that tries programme televised live to try request;
Acquisition module, for obtaining the broadcast address of the programme televised live;
Determining module, for trying strategy according to what is pre-set, it is determined that tried in limited time the programme televised live first Moment and second that expires expires the moment, wherein, described second expires constantly to be later than for described first moment for expiring the moment;
Feedback module, for trying response to client end of playing back feedback, described try carries the live section in response Purpose broadcast address, described first moment and described second that expires expire the moment, described to try that response is used to trigger the broadcasting Client expires before the moment described first, and providing server to program corresponding with the broadcast address sends for asking The acquisition request of the program data of the programme televised live is obtained, the program provides server please according to the acquisition received Ask, the program data that is playing is sent in the described second expire client end of playing back described in the forward direction at moment.
10. device according to claim 9, it is characterised in that the determining module, including:
First detection unit, for detecting whether the client end of playing back has the authority for trying the programme televised live;
Second detection unit, the live section is tried for detecting that the client end of playing back has in first detection unit During purpose authority, that detects the client end of playing back same day tries whether number reaches pre-determined number threshold value, the pre-determined number Threshold value is the higher limit of the daily number that can ask to try of client end of playing back;
Determining unit, try that number is not up to institute for detect the client end of playing back same day in second detection unit When stating pre-determined number threshold value, that determines to try the programme televised live in limited time described first expires moment and described second Expire the moment, wherein, described first expire constantly for current time plus it is predetermined try obtain after duration at the time of, described the Two expire constantly to be later than for described first moment for expiring the moment.
11. a kind of programme televised live tries device, it is characterised in that applied in client end of playing back, described device includes:
First sending module, the request of trying of programme televised live is tried for request for being sent to direct broadcast server, it is described to try Ask to try response for triggering the direct broadcast server feedback, it is described to try the broadcasting that the programme televised live is carried in response Address, first tried in limited time the programme televised live moment and second that expires expire the moment, wherein, described second expires Moment is to be later than for described first moment for expiring the moment;
Connection establishment module, for receive it is described try response, providing server with the program corresponding to the broadcast address builds Vertical connection, described second is expired and informs constantly and provides server to the program;
Second sending module, for being expired described first before the moment, provide server to the program and send for asking The acquisition request of the program data of the programme televised live is obtained, described obtain asks to exist for triggering the program offer server Described second, which expires, sent the program data played to the client end of playing back before the moment;
Receiving module, the program data for providing server for receiving the program and sending, plays the program data.
12. device according to claim 11, it is characterised in that second sending module, including:
Receiving unit, when the form of the programme televised live for being tried when request is HLS, server hair is provided to the program Send the request message for acquisition request index file;Receive the program and the index file that server is sent, the rope are provided Quotation part includes the program and provides server expiring obtain before the moment predetermined will played point described second The segmental identification of piece;
Transmitting element, sent for providing server to the program according to the index file that the receiving unit receives For obtaining the acquisition request of the burst with the segmental identification, described obtain asks to be used to trigger the program offer service Device expires the burst that feeds back before the moment and playing described second.
13. the device according to claim 11 or 12, it is characterised in that described device also includes:
First reminding module, for reach described first expire the moment when, the client end of playing back onscreen cue try See end;
Or
Second reminding module, the end-tag that server is provided and sent for receiving the program, in the client end of playing back Onscreen cue tries end, the end-tag be the program provide server reach described second expire the moment when The label sent to the client end of playing back.
14. a kind of programme televised live tries device, it is characterised in that is provided applied to program in server, described device includes:
Connection establishment module, connected for being established with client end of playing back, when receive that the client end of playing back is informed second expires Carve;
Receiving module, for receive the client end of playing back first expire send before the moment be used for the live section of acquisition request The data acquisition request of purpose program data, wherein, described first expires moment and described second to expire be direct broadcast service constantly Device tries strategy according to what is pre-set, it is determined that being expired the moment to what the programme televised live was tried in limited time, described second arrives Moment phase is to be later than for described first moment for expiring the moment;
First sending module, for being expired described second before the moment, the program data played is sent to described and broadcast Client is put, the program data is played by the client end of playing back.
15. according to claim 14 described device, it is characterised in that the receiving module, including:
Transmitting element, for when the form of the programme televised live is HLS forms, receiving being used for for the client end of playing back transmission The request message of acquisition request index file, expired the predetermined burst that will be played that obtains before the moment described second Segmental identification, the index file for carrying the segmental identification is sent to the client end of playing back;
Receiving unit, for the burst for being used for acquisition request and there is the segmental identification for receiving that the client end of playing back sends Obtain request;
First sending module, is additionally operable to:
The burst for meeting the segmental identification played is sent to the client end of playing back.
16. according to claims 14 or 15 described device, it is characterised in that described device also includes:
Second sending module, for reach described second expire the moment when, to the client end of playing back send end-tag, institute State end-tag and try end for triggering the client end of playing back prompting.
17. a kind of programme televised live tries system, it is characterised in that the system includes direct broadcast server, at least one broadcasting visitor Family end and at least one program provide server,
The programme televised live that the direct broadcast server is included as described in claim 9 or 10 tries device;
The programme televised live that the client end of playing back is included as described in claim 11 to 13 is any tries device;
The programme televised live that the program provides server and included as described in claim 14 to 16 is any tries device.
CN201510236274.5A 2015-05-11 2015-05-11 Programme televised live tries method, apparatus and system Active CN104883618B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510236274.5A CN104883618B (en) 2015-05-11 2015-05-11 Programme televised live tries method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510236274.5A CN104883618B (en) 2015-05-11 2015-05-11 Programme televised live tries method, apparatus and system

Publications (2)

Publication Number Publication Date
CN104883618A CN104883618A (en) 2015-09-02
CN104883618B true CN104883618B (en) 2018-03-02

Family

ID=53950924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510236274.5A Active CN104883618B (en) 2015-05-11 2015-05-11 Programme televised live tries method, apparatus and system

Country Status (1)

Country Link
CN (1) CN104883618B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018432A (en) * 2017-03-28 2017-08-04 华为技术有限公司 The Licensing Methods and equipment of media content

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106604077B (en) * 2015-10-14 2020-09-29 中兴通讯股份有限公司 Self-adaptive streaming media transmission method and device
CN105872626A (en) * 2015-12-15 2016-08-17 乐视网信息技术(北京)股份有限公司 Video playing method and device
CN105763900B (en) * 2016-04-22 2018-10-26 天脉聚源(北京)传媒科技有限公司 A kind of method and device of setting programme televised live permission
CN106028154B (en) * 2016-06-30 2019-05-03 青岛海信电器股份有限公司 A kind of program broadcasting method and device based on HLS protocol
CN106303615A (en) * 2016-08-15 2017-01-04 腾讯科技(深圳)有限公司 Play the methods, devices and systems of video
CN106941624B (en) * 2017-04-28 2019-12-27 北京小米移动软件有限公司 Processing method and device for network video trial viewing
CN108574856A (en) * 2017-06-30 2018-09-25 北京金山云网络技术有限公司 Determine that video file tries the method, apparatus, equipment and medium of cut off
CN109982113B (en) * 2017-12-28 2022-04-08 阿里巴巴集团控股有限公司 Video file processing method and device
CN110858919A (en) * 2018-08-24 2020-03-03 北京字节跳动网络技术有限公司 Data processing method and device in media file playing process and storage medium
CN109874039A (en) * 2019-03-13 2019-06-11 深圳市天威视讯股份有限公司 TV control method, condition receiving system and set-top box
CN111787342B (en) * 2020-06-22 2022-05-20 亦非云互联网技术(上海)有限公司 Streaming media live broadcast viewing test method, system, medium and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11308595A (en) * 1998-04-20 1999-11-05 Matsushita Electric Ind Co Ltd Broadcast receiver
CN101110949A (en) * 2007-08-20 2008-01-23 中兴通讯股份有限公司 Method and system for previewing live channel in network television
CN101742227A (en) * 2008-11-07 2010-06-16 中兴通讯股份有限公司 Method for realizing controllable multicasting in digital television system
EP2747438A2 (en) * 2012-12-18 2014-06-25 Krea Icerik Hizmetleri Ve Produksiyon Anonim Sirketi Live preview method and system via electronic program guide
CN104469248A (en) * 2013-09-13 2015-03-25 腾讯科技(深圳)有限公司 Video session method and device, server and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11308595A (en) * 1998-04-20 1999-11-05 Matsushita Electric Ind Co Ltd Broadcast receiver
CN101110949A (en) * 2007-08-20 2008-01-23 中兴通讯股份有限公司 Method and system for previewing live channel in network television
CN101742227A (en) * 2008-11-07 2010-06-16 中兴通讯股份有限公司 Method for realizing controllable multicasting in digital television system
EP2747438A2 (en) * 2012-12-18 2014-06-25 Krea Icerik Hizmetleri Ve Produksiyon Anonim Sirketi Live preview method and system via electronic program guide
CN104469248A (en) * 2013-09-13 2015-03-25 腾讯科技(深圳)有限公司 Video session method and device, server and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018432A (en) * 2017-03-28 2017-08-04 华为技术有限公司 The Licensing Methods and equipment of media content

Also Published As

Publication number Publication date
CN104883618A (en) 2015-09-02

Similar Documents

Publication Publication Date Title
CN104883618B (en) Programme televised live tries method, apparatus and system
CN108924662B (en) Continuous microphone interaction method, device, equipment and storage medium
CN107911437B (en) Screen sharing method and device, electronic equipment and storage medium
CN101707686B (en) Method and system for sharing video between mobile terminals
CN103428574B (en) A kind of method and system for commenting on TV programme by intelligent terminal
CN105163193B (en) comment information sharing method and device for video-on-demand played by smart television
CN105530535A (en) Method and system capable of realizing multi-person video watching and real-time interaction
CN102036058A (en) Method, server, terminal and system for switching videos in video monitoring system
CN104253814A (en) Streaming media processing method, server and browser
CN103167327A (en) Method, device and system of information interaction
US20150035934A1 (en) Video message record terminal, video message transmitting server and method for leaving video message
CN105610777A (en) Remote live broadcast method and system thereof
CN105959732A (en) Method and device for pushing television program
CN102932681A (en) Method and system for realizing recommendation of television program
CN103001941A (en) Multipoint login based message distribution method and multipoint login based message distribution device
CN105280204A (en) Multi-media file play method, device and system
CN106453231A (en) Signaling obtaining and transmission method and device
CN102378046A (en) Server and method for realizing sharing of audio and video programs of set top box by using same
CN103856644A (en) Voice over internet protocol prompting method and system
CN104469428A (en) Instantaneous transmission method and device for videos and texts
CN111030921B (en) Multi-window communication method and system based on webpage instant messaging
CN106664432A (en) Multimedia information play methods and systems, acquisition equipment, standardized server
WO2019023974A1 (en) Communication control apparatus and method for multi-topic dialogue, and computer processing device
CN104283762A (en) Method, system, client-side and server for transmitting instant messaging conversation content
CN106559771A (en) A kind of method and apparatus of wireless terminal fast roaming

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant