WO2011134258A1 - Method, system and terminal for recording programs played on internet protocol television - Google Patents

Method, system and terminal for recording programs played on internet protocol television Download PDF

Info

Publication number
WO2011134258A1
WO2011134258A1 PCT/CN2010/079133 CN2010079133W WO2011134258A1 WO 2011134258 A1 WO2011134258 A1 WO 2011134258A1 CN 2010079133 W CN2010079133 W CN 2010079133W WO 2011134258 A1 WO2011134258 A1 WO 2011134258A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
user terminal
recording
reservation recording
recording request
Prior art date
Application number
PCT/CN2010/079133
Other languages
French (fr)
Chinese (zh)
Inventor
熊慧
程岑
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011134258A1 publication Critical patent/WO2011134258A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client
    • H04N21/6543Transmission by server directed to the client for forcing some client operations, e.g. recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6581Reference data, e.g. a movie identifier for ordering a movie or a product identifier in a home shopping application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6156Network physical structure; Signal processing specially adapted to the upstream path of the transmission network
    • H04N21/6175Network physical structure; Signal processing specially adapted to the upstream path of the transmission network involving transmission via Internet

Definitions

  • the present invention relates to the field of network communications, and in particular, to a method, system and terminal for recording a network television broadcast program.
  • IPTV Internet Protocol Television
  • IPTV Internet Protocol Television
  • the service not only provides electronic program navigation services through a variety of pages, but also provides video on demand, review and recording, information browsing, games and other services, and has a variety of interactive functions.
  • the IPTV user terminal can be a set-top box (STB) or a personal computer (PC).
  • STB set-top box
  • PC personal computer
  • the video recording user recording technology has made a great breakthrough, but the existing technologies are real-time recording, that is, the user can request the IPTV user terminal to record the currently playing program through related operations.
  • the drawback of this technique is that if the user needs to record a certain program, the related operation must be performed after the program starts, that is, the recording is triggered by the user immediately, the user must be on site, if the user leaves the scene for some reason, It is not possible to record.
  • the technical problem to be solved by the present invention is to provide a recording method, system and terminal for a network television broadcast program, which solves the problem of recording a program currently being played when the user is not in the field in the prior art.
  • the embodiment of the present invention provides a method for recording a network television IPTV broadcast program, including: the user terminal sends a reservation recording request to the program ticket server, where the reservation recording request includes The user terminal needs to record the program that the IPTV will play;
  • the user terminal records the program played by the IPTV according to the play information in the reservation recording request response.
  • the method further includes:
  • the program can be recorded when the current time minus the time shift period is before the time the program starts playing.
  • the method further includes:
  • the time to start the program is started, and the connection to the media server is established in advance according to the length of time required to establish the connection.
  • the method described during the recording also includes:
  • the recording of the program is stopped, and the resources required for recording the program are released.
  • the method further includes:
  • the user terminal Before the user terminal sends the reservation recording request to the program list server, the user terminal stores a reservation recording task table, where the reservation recording task table includes a program recording task to be executed by the user terminal; and the user terminal receives the reservation recording request response sent by the program list server. , storing the play information in the reservation recording request response to the reserved recording task table;
  • a user terminal When the user terminal records the program played by the IPTV according to the play information in the reservation recording request response, the user records the scheduled recording task table periodically, and records according to the reserved recording task table.
  • a user terminal is provided in the embodiment of the present invention, including:
  • a sending module configured to: send a reservation recording request to the program list server, where the reservation recording request includes a program to be played by the IPTV that the user terminal needs to record;
  • a receiving module configured to: receive a reservation recording request response sent by the program list server, where the reservation recording request response carries playback information of a program included in the reservation recording request; and a recording module, configured to: The program played by the IPTV is recorded in the playback information in response.
  • the recording module is further configured to: after the user terminal is started, determine the time at which the program in the broadcast information of the program starts to play, and the time duration of the program; when the current time minus the time shift period is before the time when the program starts playing, Record the show.
  • the user terminal further includes:
  • Timer which is set to: timing;
  • the recording module is further configured to: start a timer when recording the program; stop recording the program when the timer is not less than the length of the program in the playback information of the program, and release the resources required for recording the program.
  • the user terminal further includes:
  • a connection module configured to: determine a length of time required for the user terminal to establish a connection with the media server, and determine a time at which the program in the play information of the program starts to play; when recording the program, according to the time when the program starts playing, according to the establishment The length of time required for the connection is established in advance with the media server.
  • the user terminal further includes:
  • the reservation recording task table module is configured to: store a reservation recording task table at the user terminal before transmitting the reservation recording request to the program list server, where the scheduled recording task table includes a program recording task to be performed by the user terminal; After the reservation recording request sent by the server responds, the playback information in the reservation recording request response is stored in the reserved recording task table;
  • the recording module is further configured to: when recording the program played by the IPTV according to the playing information in the reservation recording request response, periodically query the scheduled recording task table, and perform recording according to the reserved recording task table.
  • a program listing server is provided in the embodiment of the present invention, including:
  • a receiving module configured to: receive a reservation recording request sent by the user terminal to the program list server, where the scheduled recording request includes a program that the IPTV to be recorded by the user terminal is to be played; and a response module, configured to: send to the user terminal
  • the reservation recording request response carries the playback information of the program included in the reservation recording request.
  • An IPTV system is provided in the embodiment of the present invention, including:
  • a user terminal configured to: send a reservation recording request to the program list server, and after receiving the reservation recording request response sent by the program ticket server, record the IPTV broadcasted program according to the playing information in the reservation recording request response;
  • the recording request includes: a program to be played by the IPTV that the user terminal needs to record, the scheduled recording request response carrying the playing information of the program included in the reserved recording request; and a program list server, which is set as: receiving the user terminal After the scheduled reservation recording request is sent, the reservation recording request response is sent to the user terminal.
  • the user terminal first sends a reservation recording request including a program that needs to be recorded to the program ticket server; and receives a reservation recording request response that is sent by the program list server and carries the program playing information in the user terminal. After that, the program played by the IPTV can be recorded according to the play information in the reservation recording request response. In this way, when the program to be recorded starts to play, recording can be achieved even if the user is not at the scene. In this process, the user only needs to determine the program to be recorded through the user terminal without completing the recording of the program in real time, and the reservation recording for the program can be completed.
  • FIG. 1 is a schematic flowchart of a method for recording a IPTV broadcast program in an embodiment of the present invention
  • FIG. 2 is a schematic flowchart showing a method for recording a IPTV broadcast program of a set top box according to an embodiment of the present invention
  • FIG. 3 is a recording side of an IPTV broadcast program after the set-top box is powered off and on again according to an embodiment of the present invention; Schematic diagram of the process implementation;
  • FIG. 4 is a schematic structural diagram of an IPTV system according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a user terminal according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a program list server according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of an implementation process of a recording method of an IPTV broadcast program. As shown in the figure, the following steps may be included in the section directory system:
  • Step 101 The user terminal sends a reservation recording request to the program list server, where the reservation recording request includes: a program that the user terminal needs to record and that the IPTV will play;
  • Step 102 The user terminal receives a reservation recording request response sent by the program ticket server, where the reservation recording request response carries the playing information of the program included in the reservation recording request.
  • Step 103 The user terminal records the program played by the IPTV according to the play information in the reservation recording request response.
  • the user terminal may send an appointment to the program ticket server in step 101.
  • the recording request server sends a reservation recording request response to the user terminal, and the response carries the playback information of the program to be recorded.
  • the user terminal receives the reservation recording request response sent by the program list server in step 102, in step 103, The user terminal can record the program played by the IPTV according to the play information in the reservation recording request response, so that when the program to be recorded starts to play, the recording can be realized even if the user is not in the scene.
  • the user only needs to determine the program to be recorded through the user terminal, and the reservation recording for the program can be completed without the user participating in the program recording in real time. Since user intervention is not required when starting recording, if the user is using other services, such as playing a game, the user terminal can record the reserved program for the user without affecting the user.
  • it may further include:
  • the program is recorded when the current time minus the time shift period is before the time the program starts playing.
  • the IPTV system Since the IPTV system has a time shift function, a complete recording can also be realized for a program that has started to play but does not exceed the time shift range, such as a user terminal after a shutdown and restart. Because the user terminal cannot record after power off, after booting, first check whether each recording task has expired. Due to the time shifting function of the IPTV system, recording can still be performed for certain programs that are out of date but in the time shift range. At this time, the following operations need to be performed to check the programs in the task table one by one: If the current system time - the time shift duration of the program ⁇ the start time of the reserved program ⁇ current system time, it means that the program has started playing, but the video stream is still completely intact.
  • the user terminal establishes a connection with the server, requests to start playing the recording from the start time of the program, and starts the timer at the same time; if the start time of the reserved program ⁇ current system time-time shift of the program, If the program has expired, the recording task is not executed; if the current system time ⁇ the starting time of the reserved program, it means that the program has not started yet, and the recording can be performed according to the task.
  • it may further include:
  • the recording of the program is stopped, and the resources required for recording the program are released.
  • the recording timer can be detected periodically. If the timer time ⁇ the playing duration of the corresponding program, the recording is stopped, and the corresponding resource is released.
  • it may further include:
  • the time at which the program starts playing is established in advance to establish a connection with the media server according to the length of time required to establish the connection.
  • the recording task can be periodically queried. If 0 ⁇ start time of the reserved program-current system time ⁇ experience value of the time required for the user terminal to establish a connection with the media, it means that the program is about to start playing, then the user terminal immediately establishes with the media server. Connect, start recording.
  • the method before the user terminal sends the reservation recording request to the program list server, the method further includes: storing, in the user terminal, a reservation recording task table, where the scheduled recording task table includes a program recording task to be performed by the user terminal;
  • the user terminal may further include: storing the play information in the reservation recording request response to the reserved recording task table;
  • the user terminal When the user terminal records the program played by the IPTV according to the play information in the reservation recording request response, the user can periodically query the reserved recording task table and record according to the reserved recording task table.
  • the following takes the reservation recording task table as an example, and the user terminal uses the set top box as an example to describe the recording implementation of the IPTV broadcast program.
  • the reservation recording task table is taken as an example because it is easier to manage the tasks of recording programs in this mode, and it is also a relatively common management method; however, in theory, other methods are also possible, in existence
  • the implementation of the reservation recording task table is only used to teach those skilled in the art how to implement the present invention, but it does not mean that only You can use the appointment recording task table. In the implementation process, you can determine the corresponding method according to the practical needs.
  • the user selects the program to be recorded, and the set top box sends a reservation recording request for the program to the program list server;
  • the program ticket server After receiving the user recording request, the program ticket server sends the related playing information of the reserved recording program, such as the program name, the Uniform Resource Locator (URL) of the program, the time when the program starts playing, and the duration of the program playing. Set-top box.
  • the program ticket server After receiving the user recording request, the program ticket server sends the related playing information of the reserved recording program, such as the program name, the Uniform Resource Locator (URL) of the program, the time when the program starts playing, and the duration of the program playing.
  • the program ticket server After receiving the user recording request, the program ticket server sends the related playing information of the reserved recording program, such as the program name, the Uniform Resource Locator (URL) of the program, the time when the program starts playing, and the duration of the program playing.
  • URL Uniform Resource Locator
  • the set-top box After receiving the information sent by the program list server, the set-top box compares with the records in the local scheduled recording task table. If the recording task is already in the scheduled recording task list, a prompt box is displayed to remind the user whether to delete the information. Or, update, etc. If there is no such recording task, the information of the program is recorded in the reserved recording task table, and the scheduled recording record is updated to the local storage device.
  • the reservation recording task list in the set top box can be established each time the power is turned on, and the set top box is based on the reserved recording record in the local storage device.
  • the set-top box periodically queries the reserved user recording task table. If 0 ⁇ start time of the reserved program-current system time ⁇ experience value of the time required for the set-top box to establish a connection with the media, the program is about to start.
  • the set-top box immediately establishes a connection with the media server, starts recording, and starts timer counting; the set-top box periodically detects the recording timer, and if the timer time ⁇ corresponds to the playing duration of the program, the recording is stopped, the corresponding resource is released, and the task is released from the task. Delete the reserved recording record in the table and the local storage device;
  • the set-top box If the set-top box is powered off and then turned back on, you can first create a reservation recording task list by using the reserved program information in the local memory. Because the set-top box cannot be recorded after power-off, after restarting the task table, you must first check whether each task has expired. . Due to the time shifting function of the IPTV system, recording can still be performed for certain programs that are out of date but in the time shift range. At this time, the following operations need to be performed to check the programs in the task table one by one: If the current system time - the time shift duration of the program ⁇ the start time of the reserved program ⁇ current system time, it means that the program has started playing, but the video stream is still intact. Exists on the server.
  • the set-top box establishes a connection with the server, requests to start recording from the start time of the program, and starts the timer at the same time; if the start time of the reserved program ⁇ current system time-time shift of the program, indicating If the program has expired, the record is deleted from the local storage device and the task table; if the current system time ⁇ the start time of the reserved program, it indicates that the program has not started yet;
  • the scheduled user recording task table and the timing detection recording timer are periodically checked.
  • FIG. 2 is a schematic diagram of a process for implementing a recording method of an IPTV broadcast program of a set top box. As shown in the figure, the following steps may be included when performing program recording:
  • Step 201 The user schedules to record a certain program
  • the program to be recorded is selected, and the "reservation recording" button set on the set top box is pressed to indicate that the user selects to record the program;
  • Step 202 The set top box sends a program reservation recording request to the program list server.
  • the set top box can report the key value to the program list server, and the program list server determines the program requested by the user according to the location of the current page focus;
  • Step 203 The program list server sends the play information of the reserved program to the set top box.
  • Timelength indicates the duration of the program
  • starttime indicates the time when the program starts
  • TimeShiftURL indicates the length of time that the program can provide
  • Step 204 The set top box parses the program play information.
  • the set top box can parse the play information from the received reserved program information, such as: a start time of the program, a name, a play duration, a URL, a duration that can be time-shifted, and the like;
  • Step 205 it is determined whether the program already exists in the scheduled recording task table, if yes, go to step 206, otherwise go to step 207;
  • the set-top box can compare the parsed program name and URL with the related information in the scheduled recording task table to see if it already exists in the task table, if it already exists, then proceeds to step 206, otherwise proceeds to step 207;
  • Step 206 prompting the user that the program has been reserved
  • Step 207 the program information is stored in the reservation recording task table and the local storage device; Step 208, according to the program start time to determine whether to start recording, if yes, go to step 210, otherwise go to step 209;
  • the scheduled user record task table can be periodically queried. If 0 ⁇ start time of the reserved program-current system time ⁇ experience value (tl) of the time required for the set-top box to establish a connection with the media, it means that the program is about to start playing, and the set-top box immediately
  • the media server establishes a connection, performs step 210 to start recording, and starts timer Q1 timing;
  • Step 209 according to the timer to determine whether to stop recording, if yes, go to step 211, otherwise go to step 208;
  • the timer Q1 that the set top box has been started may be periodically queried. If the time of the timer is ⁇ the playing duration of the corresponding program, step 211 is executed to stop the recording, and the corresponding media resource is released; Step 210, start recording, and start the timer Q1. Timing
  • FIG. 3 is a schematic diagram of an implementation process of a recording method of an IPTV broadcast program after the set-top box is powered off and then turned on. As shown in the figure, the following steps may be included:
  • Step 301 The set top box establishes a reservation recording task table.
  • the reserved program information is obtained from the local storage device, and a reservation recording task table is established;
  • Step 302 Determine whether the current system time is met - the time shift duration of the program ⁇ the start time of the reserved program ⁇ current system time, if yes, go to step 305, otherwise go to step 303;
  • the set top box can query each program in the scheduled recording task table. If the current system time-time shift duration of the program ⁇ starting time of the reserved program ⁇ current system time, perform step 305 to establish a connection between the set top box and the server, requesting the start time from the program. Start playing, start recording, and start the timer at the same time;
  • Step 303 determining whether the start time of the reserved program is satisfied ⁇ current system time - the time delay of the program, if yes, go to step 307, otherwise go to step 304;
  • Step 304 determining whether the current system time is satisfied ⁇ the scheduled start time of the program, if yes, go to step 308, otherwise go to step 307;
  • the current system time ⁇ the start time of the reserved program, it means that the program has not started yet, perform a regular inquiry, and wait for the program to start recording again, otherwise the program has expired, and the record is deleted from the local storage device and the task table;
  • Step 305 establishing a connection with the media server according to the program URL, starting recording, starting the timer, and proceeding to step 306;
  • the set top box establishes a connection with the server, requests to start playing from the start time of the program, starts recording, and starts a timer at the same time;
  • Step 306 Regularly check the timer.
  • Step 307 Delete the program information from the reserved recording task table and the local storage device.
  • Step 308 Regularly query.
  • the embodiment of the present invention further provides a user terminal, a program list server, and an IPTV system. Since the principle of solving the problem of these devices is similar to the recording method of the IPTV broadcast program, the implementation of the devices is implemented. See the implementation of the method, and the repetition will not be repeated.
  • FIG. 4 is a schematic diagram of the structure of the IPTV system. As shown in the figure, the system may include:
  • the user terminal 401 is configured to send a reservation recording request to the program ticket server, and after receiving the reservation recording request response sent by the program ticket server, record the program played by the IPTV according to the playing information in the reservation recording request response;
  • the request includes: a program that the user terminal needs to record the IPTV to play, and the reservation recording request response carries the play information of the program included in the reserved recording request;
  • the program list server 402 is configured to send a reservation recording request response to the user terminal after receiving the reservation recording request sent by the user terminal.
  • the set top box when the set top box is used as the user terminal and the Electronic Program Guide (EPG) server is used as the program list server, the set top box sends a reservation recording request of a certain program to the EPG server, and the EPG server reserves the program for the set top box reservation.
  • the program information is sent to the set-top box; after receiving the program information, it is added to the reservation recording task table, and the time inquiry is performed, and after the appointed time, the related recording is started.
  • the user terminal may include: a sending module 501, configured to send a reservation recording request to the program ticket server, where the subscription recording request includes: the IPTV that the user terminal needs to record will play Program
  • the receiving module 502 is configured to receive a reservation recording request response sent by the program ticket server, where the reservation recording request response carries the playing information of the program included in the reserved recording request;
  • the recording module 503 is configured to record the program played by the IPTV according to the playing information in the reservation recording request response.
  • the recording module may be further configured to determine, after the user terminal is started, a time when the program in the play information of the program starts to play, and a time shift duration of the program; after the current time minus the time shift period, the program starts to play. Record the program before time.
  • the user terminal may further include: Timer 504, for timing;
  • the recording module can be further configured to start a timer when the program is recorded; when the timing of the timer is not less than the duration of the program in the broadcast information of the program, the recording of the program is stopped, and the resources required for recording the program are released.
  • the user terminal may further include:
  • the connection module 505 is configured to determine a length of time required for the user terminal to establish a connection with the media server, and determine a time when the program in the play information of the program starts to play; when recording the program, according to the time when the program starts playing, according to establishing a connection The required length of time is established in advance to establish a connection with the media server.
  • the user terminal may further include:
  • the reservation recording task table module 506 is configured to store, in the user terminal, a reservation recording task table before the scheduled recording request is sent to the program list server, where the scheduled recording task table includes a program recording task to be executed by the user terminal; After the sent reservation recording request response, the playback information in the reservation recording request response is stored in the reserved recording task table;
  • the recording module 503 is further configured to periodically query the scheduled recording task table when recording the program played by the IPTV according to the playing information in the reservation recording request response, and perform recording according to the reserved recording task table.
  • the server may include: a receiving module 601, configured to receive a reservation recording request sent by the user terminal to the program ticket server, where the subscription recording request includes: the user terminal needs to record The IPTV will play the program;
  • the response module 602 is configured to send a reservation recording request response to the user terminal, where the reservation recording request response carries the playing information of the program included in the reserved recording request.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can be applied to one or more A computer program product embodied on a computer usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
  • a computer usable storage medium including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the technical solution provided by the present invention solves the problem that the IPTV system cannot be implemented.
  • the user has scheduled a recording question.
  • the user selects a program that has not started to play through the program list to request recording
  • the above-mentioned scheme is implemented in the IPTV system, and the scheduled recording of the program can be completed.
  • the program starts playing, recording can be achieved even if the user is not at the scene. Since the user does not need to be involved when starting recording, if the user is using other services, such as playing a game, the user terminal can record the reserved program for the user without affecting the user.
  • time shift function of the IPTV system because of the time shift function of the IPTV system, a complete recording can be realized for a program that has started to play but does not exceed the time shift range, such as a set top box after shutdown and restart.

Abstract

A method, system and terminal for recording programs played on Internet Protocol Television (IPTV) are disclosed in the present invention. The method includes that: a user terminal sends a reservation recording request to a program guide server, wherein the reservation recording request includes programs that will be played by an IPTV and need to be recorded by the user terminal; and the user terminal receives a response of the reservation recording request sent from the program guide server, wherein the response of the reservation recording request includes playing information of the programs included in the reservation recording request; and the user terminal records the programs played by the IPTV according to the playing information in the response of the reservation recording request. In the present invention, the reservation recording of the IPTV programs can be finished without real time participating of users during the recording of IPTV programs.

Description

一种网络电视播放节目的录制方法、 系统及终端  Recording method, system and terminal for network television broadcast program
技术领域 Technical field
本发明涉及网络通讯领域,特别涉及一种网络电视播放节目的录制方法、 系统及终端。  The present invention relates to the field of network communications, and in particular, to a method, system and terminal for recording a network television broadcast program.
背景技术 Background technique
交互式网络电视, 也叫网络电视(Internet Protocol Television, IPTV ) , 是指基于 IP协议的电视广播服务。 该业务不仅能够通过丰富多彩的页面提供 电子节目导航业务, 还能提供视频点播、 回看以及录制, 信息浏览, 游戏等 服务, 并且具有多种交互功能。  Interactive Internet TV, also known as Internet Protocol Television (IPTV), refers to a television broadcast service based on the IP protocol. The service not only provides electronic program navigation services through a variety of pages, but also provides video on demand, review and recording, information browsing, games and other services, and has a variety of interactive functions.
IPTV的用户终端可以是机顶盒(Set-TopBox, STB ) , 也可以是个人计 算机 ( Personal Computer, PC )  The IPTV user terminal can be a set-top box (STB) or a personal computer (PC).
目前, 在 IPTV技术领域内, 视频流的用户录制技术有了很大的突破, 但现有的技术均为实时录制,即用户可以通过相关的操作要求 IPTV用户终端 对于当前正在播放的节目进行录制。 这种技术的缺陷在于, 如果用户需要录 制某个节目, 则必须在节目开始后才可以进行相关的操作, 即录制由用户即 时触发, 用户必须在现场, 如果用户因为某些原因离开了现场, 就不可以录 制。  At present, in the field of IPTV technology, the video recording user recording technology has made a great breakthrough, but the existing technologies are real-time recording, that is, the user can request the IPTV user terminal to record the currently playing program through related operations. . The drawback of this technique is that if the user needs to record a certain program, the related operation must be performed after the program starts, that is, the recording is triggered by the user immediately, the user must be on site, if the user leaves the scene for some reason, It is not possible to record.
所以现有技术的不足在于: 还没有技术方案能够实现在用户不在现场的 情况下, 也能够对当前正在播放的节目进行录制。 发明内容  Therefore, the shortcoming of the prior art is that there is no technical solution to enable recording of a program currently being played while the user is not in the field. Summary of the invention
本发明所解决的技术问题在于提供了一种网络电视播放节目的录制方 法、 系统及终端, 用以解决现有技术中在用户不在现场的情况下, 对当前正 在播放的节目进行录制的问题。  The technical problem to be solved by the present invention is to provide a recording method, system and terminal for a network television broadcast program, which solves the problem of recording a program currently being played when the user is not in the field in the prior art.
本发明实施例中提供了一种网络电视 IPTV播放节目的录制方法, 包括: 用户终端向节目单服务器发送预约录制请求, 所述预约录制请求中包括 用户终端需要录制的 IPTV将播放的节目; The embodiment of the present invention provides a method for recording a network television IPTV broadcast program, including: the user terminal sends a reservation recording request to the program ticket server, where the reservation recording request includes The user terminal needs to record the program that the IPTV will play;
用户终端接收节目单服务器发送的预约录制请求响应, 所述预约录制请 求响应中携带有预约录制请求中包括的节目的播放信息; 以及  Receiving, by the user terminal, a reservation recording request response sent by the program ticket server, where the reservation recording request response carries the playback information of the program included in the reservation recording request;
用户终端根据预约录制请求响应中的播放信息对 IPTV播放的节目进行 录制。  The user terminal records the program played by the IPTV according to the play information in the reservation recording request response.
终端启动后所述录制的步骤之前, 所述方法还包括:  Before the step of recording after the terminal is started, the method further includes:
在用户终端启动后, 确定节目的播放信息中的节目开始播放的时间, 以 及节目的时移时长;  After the user terminal is started, determining the time at which the program in the broadcast information of the program starts to play, and the time duration of the program;
在当前时间减去时移时长后处于节目开始播放的时间之前时, 可对节目 进行录制。  The program can be recorded when the current time minus the time shift period is before the time the program starts playing.
所述录制的步骤之前, 所述方法还包括:  Before the step of recording, the method further includes:
确定用户终端与媒体服务器建立连接所需的时长;  Determining the length of time required for the user terminal to establish a connection with the media server;
确定节目的播放信息中的节目开始播放的时间;  Determining when the program in the broadcast information of the program starts to play;
在对节目进行录制前, 按节目开始播放的时间, 根据建立连接所需的时 长提前与媒体服务器建立连接。  Before the program is recorded, the time to start the program is started, and the connection to the media server is established in advance according to the length of time required to establish the connection.
录制过程中所述方法还包括:  The method described during the recording also includes:
在对节目进行录制时, 启动定时器;  When the program is recorded, the timer is started;
在定时器计时长度不小于节目的播放信息中的节目播放时长时, 停止录 制节目, 释放录制节目所需资源。  When the timer length is not less than the program playing time in the broadcast information of the program, the recording of the program is stopped, and the resources required for recording the program are released.
请求新的预约节目的过程中, 所述方法还包括:  In the process of requesting a new reserved program, the method further includes:
用户终端向节目单服务器发送预约录制请求前, 在用户终端存储预约录 制任务表, 所述预约录制任务表包括用户终端将要执行的节目录制任务; 用户终端接收节目单服务器发送的预约录制请求响应后, 将预约录制请 求响应中的播放信息存储至预约录制任务表;  Before the user terminal sends the reservation recording request to the program list server, the user terminal stores a reservation recording task table, where the reservation recording task table includes a program recording task to be executed by the user terminal; and the user terminal receives the reservation recording request response sent by the program list server. , storing the play information in the reservation recording request response to the reserved recording task table;
用户终端根据预约录制请求响应中的播放信息对 IPTV播放的节目进行 录制时, 定时查询预约录制任务表, 并根据预约录制任务表进行录制。 本发明实施例中提供了一种用户终端, 包括: When the user terminal records the program played by the IPTV according to the play information in the reservation recording request response, the user records the scheduled recording task table periodically, and records according to the reserved recording task table. A user terminal is provided in the embodiment of the present invention, including:
发送模块, 其设置为: 向节目单服务器发送预约录制请求, 所述预约录 制请求中包括用户终端需要录制的 IPTV将播放的节目;  a sending module, configured to: send a reservation recording request to the program list server, where the reservation recording request includes a program to be played by the IPTV that the user terminal needs to record;
接收模块, 其设置为: 接收节目单服务器发送的预约录制请求响应, 所 述预约录制请求响应中携带有预约录制请求中包括的节目的播放信息; 以及 录制模块, 其设置为: 根据预约录制请求响应中的播放信息对 IPTV播 放的节目进行录制。  a receiving module, configured to: receive a reservation recording request response sent by the program list server, where the reservation recording request response carries playback information of a program included in the reservation recording request; and a recording module, configured to: The program played by the IPTV is recorded in the playback information in response.
录制模块还设置为: 在用户终端启动后, 确定节目的播放信息中的节目 开始播放的时间, 以及节目的时移时长; 在当前时间减去时移时长后处于节 目开始播放的时间之前时, 对节目进行录制。  The recording module is further configured to: after the user terminal is started, determine the time at which the program in the broadcast information of the program starts to play, and the time duration of the program; when the current time minus the time shift period is before the time when the program starts playing, Record the show.
所述用户终端还包括:  The user terminal further includes:
定时器, 其设置为: 计时;  Timer, which is set to: timing;
录制模块还设置为: 在对节目进行录制时, 启动定时器; 在定时器计时 长度不小于节目的播放信息中的节目播放时长时, 停止录制节目, 释放录制 节目所需资源。  The recording module is further configured to: start a timer when recording the program; stop recording the program when the timer is not less than the length of the program in the playback information of the program, and release the resources required for recording the program.
所述用户终端还包括:  The user terminal further includes:
连接模块, 其设置为: 确定用户终端与媒体服务器建立连接所需的时长, 以及确定节目的播放信息中的节目开始播放的时间; 在对节目进行录制时, 按节目开始播放的时间, 根据建立连接所需的时长提前与媒体服务器建立连 接。  a connection module, configured to: determine a length of time required for the user terminal to establish a connection with the media server, and determine a time at which the program in the play information of the program starts to play; when recording the program, according to the time when the program starts playing, according to the establishment The length of time required for the connection is established in advance with the media server.
所述用户终端还包括:  The user terminal further includes:
预约录制任务表模块, 其设置为: 在向节目单服务器发送预约录制请求 前, 在用户终端存储预约录制任务表, 所述预约录制任务表包括用户终端将 要执行的节目录制任务; 在接收节目单服务器发送的预约录制请求响应后, 将预约录制请求响应中的播放信息存储至预约录制任务表;  The reservation recording task table module is configured to: store a reservation recording task table at the user terminal before transmitting the reservation recording request to the program list server, where the scheduled recording task table includes a program recording task to be performed by the user terminal; After the reservation recording request sent by the server responds, the playback information in the reservation recording request response is stored in the reserved recording task table;
录制模块还设置为: 在根据预约录制请求响应中的播放信息对 IPTV播 放的节目进行录制时, 定时查询预约录制任务表, 并根据预约录制任务表进 行录制。 本发明实施例中提供了一种节目单服务器, 包括: The recording module is further configured to: when recording the program played by the IPTV according to the playing information in the reservation recording request response, periodically query the scheduled recording task table, and perform recording according to the reserved recording task table. A program listing server is provided in the embodiment of the present invention, including:
接收模块, 其设置为: 接收用户终端向节目单服务器发送的预约录制请 求,所述预约录制请求中包括用户终端需要录制的 IPTV将播放的节目; 以及 响应模块, 其设置为: 向用户终端发送预约录制请求响应, 所述预约录 制请求响应中携带有预约录制请求中包括的节目的播放信息。  a receiving module, configured to: receive a reservation recording request sent by the user terminal to the program list server, where the scheduled recording request includes a program that the IPTV to be recorded by the user terminal is to be played; and a response module, configured to: send to the user terminal The reservation recording request response carries the playback information of the program included in the reservation recording request.
本发明实施例中提供了一种 IPTV系统, 包括:  An IPTV system is provided in the embodiment of the present invention, including:
用户终端, 其设置为: 向节目单服务器发送预约录制请求, 在接收到节 目单服务器发送的预约录制请求响应后, 根据预约录制请求响应中的播放信 息对 IPTV播放的节目进行录制; 所述预约录制请求中包括: 用户终端需要录 制的 IPTV将播放的节目 ,所述预约录制请求响应中携带有预约录制请求中包 括的节目的播放信息; 以及 节目单服务器, 其设置为: 在接收到用户终端发送的预约录制请求后, 向用户终端发送预约录制请求响应。  a user terminal, configured to: send a reservation recording request to the program list server, and after receiving the reservation recording request response sent by the program ticket server, record the IPTV broadcasted program according to the playing information in the reservation recording request response; The recording request includes: a program to be played by the IPTV that the user terminal needs to record, the scheduled recording request response carrying the playing information of the program included in the reserved recording request; and a program list server, which is set as: receiving the user terminal After the scheduled reservation recording request is sent, the reservation recording request response is sent to the user terminal.
本发明有益效果如下:  The beneficial effects of the present invention are as follows:
在本发明实施例提供的技术方案中, 由于用户终端首先向节目单服务器 发送包括有需要录制的节目的预约录制请求; 在用户终端接收节目单服务器 发送的携带有节目播放信息的预约录制请求响应后, 便可以根据预约录制请 求响应中的播放信息对 IPTV播放的节目进行录制。这样在需录制的节目开始 播放时, 即使用户不在现场也可以实现录制。 在该过程中, 用户只需通过用 户终端确定需要录制的节目, 而无须用户实时参与节目录制, 即可完成在对 于该节目的预约录制。  In the technical solution provided by the embodiment of the present invention, the user terminal first sends a reservation recording request including a program that needs to be recorded to the program ticket server; and receives a reservation recording request response that is sent by the program list server and carries the program playing information in the user terminal. After that, the program played by the IPTV can be recorded according to the play information in the reservation recording request response. In this way, when the program to be recorded starts to play, recording can be achieved even if the user is not at the scene. In this process, the user only needs to determine the program to be recorded through the user terminal without completing the recording of the program in real time, and the reservation recording for the program can be completed.
附图概述 BRIEF abstract
图 1为本发明实施例中 IPTV播放节目的录制方法实施流程示意图; 图 2为本发明实施例中机顶盒的 IPTV播放节目的录制方法实施流程示 意图;  1 is a schematic flowchart of a method for recording a IPTV broadcast program in an embodiment of the present invention; FIG. 2 is a schematic flowchart showing a method for recording a IPTV broadcast program of a set top box according to an embodiment of the present invention;
图 3为本发明实施例中机顶盒关机再开机后的 IPTV播放节目的录制方 法实施流程示意图; 3 is a recording side of an IPTV broadcast program after the set-top box is powered off and on again according to an embodiment of the present invention; Schematic diagram of the process implementation;
图 4为本发明实施例中 IPTV系统结构示意图;  4 is a schematic structural diagram of an IPTV system according to an embodiment of the present invention;
图 5为本发明实施例中用户终端结构示意图;  FIG. 5 is a schematic structural diagram of a user terminal according to an embodiment of the present invention;
图 6为本发明实施例中节目单服务器结构示意图。  FIG. 6 is a schematic structural diagram of a program list server according to an embodiment of the present invention.
本发明的较佳实施方式 Preferred embodiment of the invention
下面结合附图对本发明的具体实施方式进行说明。  Specific embodiments of the present invention will be described below with reference to the accompanying drawings.
图 1为 IPTV播放节目的录制方法实施流程示意图,如图所示,在进行节 目录制时可以包括如下步骤:  FIG. 1 is a schematic diagram of an implementation process of a recording method of an IPTV broadcast program. As shown in the figure, the following steps may be included in the section directory system:
步骤 101、 用户终端向节目单服务器发送预约录制请求, 所述预约录制 请求中包括: 用户终端需要录制的 IPTV将播放的节目;  Step 101: The user terminal sends a reservation recording request to the program list server, where the reservation recording request includes: a program that the user terminal needs to record and that the IPTV will play;
步骤 102、 用户终端接收节目单服务器发送的预约录制请求响应, 所述 预约录制请求响应中携带有预约录制请求中包括的节目的播放信息;  Step 102: The user terminal receives a reservation recording request response sent by the program ticket server, where the reservation recording request response carries the playing information of the program included in the reservation recording request.
步骤 103、用户终端根据预约录制请求响应中的播放信息对 IPTV播放的 节目进行录制。  Step 103: The user terminal records the program played by the IPTV according to the play information in the reservation recording request response.
实施中, 在解决 IPTV 系统无法实现用户预约录制的问题时, 当用户通 过节目单确定选择对某个还未开始播放的节目进行录制时, 可以在步骤 101 中通过用户终端向节目单服务器发送预约录制请求, 节目单服务器向用户终 端发送预约录制请求响应, 响应中携带有需要录制节目的播放信息, 这样在 步骤 102用户终端接收到节目单服务器发送的预约录制请求响应后, 在步骤 103中,用户终端便可以根据预约录制请求响应中的播放信息对 IPTV播放的 节目进行录制, 这样在需录制的节目开始播放时, 即使用户不在现场也可以 实现录制。 在该过程中, 用户只需通过用户终端确定需要录制的节目, 而无 须用户实时参与节目录制, 即可完成在对于该节目的预约录制。 由于开始录 制时, 不需要用户介入, 所以此时用户如果在使用其他服务, 如玩游戏, 用 户终端都可以在不影响用户的情况下, 为其录制预约的节目。  In the implementation, when the problem that the IPTV system cannot realize the user reservation recording is solved, when the user determines to select a program that has not started to be played through the program list, the user terminal may send an appointment to the program ticket server in step 101. The recording request server sends a reservation recording request response to the user terminal, and the response carries the playback information of the program to be recorded. After the user terminal receives the reservation recording request response sent by the program list server in step 102, in step 103, The user terminal can record the program played by the IPTV according to the play information in the reservation recording request response, so that when the program to be recorded starts to play, the recording can be realized even if the user is not in the scene. In this process, the user only needs to determine the program to be recorded through the user terminal, and the reservation recording for the program can be completed without the user participating in the program recording in real time. Since user intervention is not required when starting recording, if the user is using other services, such as playing a game, the user terminal can record the reserved program for the user without affecting the user.
实施中, 还可以进一步包括:  In the implementation, it may further include:
在用户终端启动后, 确定节目的播放信息中的节目开始播放的时间, 以 及节目的时移时长; After the user terminal is started, determining the time at which the program in the broadcast information of the program starts to play, And the time duration of the program;
在当前时间减去时移时长后处于节目开始播放的时间之前时, 对节目进 行录制。  The program is recorded when the current time minus the time shift period is before the time the program starts playing.
由于 IPTV 系统存在时移功能, 所以对于已经开始播放但没有超出时移 范围的节目, 也可以实现完整录制, 例如关机重启后的用户终端。 因为用户 终端断电后无法进行录制, 所以开机后, 先要检查各个录制任务是否过期。 由于 IPTV系统具有的时移功能, 使得对于某些过期但处于时移范围的节目, 仍然可以执行录制。 这时需要执行如下操作, 对任务表里的节目逐个检查: 如果当前系统时间-节目的时移时长<预约节目的开始时间 <当前系统时间, 则表示节目已经开始播放, 但视频流仍然完整地存在于服务器上, 这种情况 下, 用户终端与服务器建立连接, 请求从节目开始时间处开始播放录制, 并 同时启动定时器; 如果预约节目的开始时间 <当前系统时间-节目的时移时 长, 则表示节目已经过期, 则不执行该录制任务; 如果当前系统时间 <预约 节目的开始时间, 则表示节目还未开始, 可以按任务进行录制。  Since the IPTV system has a time shift function, a complete recording can also be realized for a program that has started to play but does not exceed the time shift range, such as a user terminal after a shutdown and restart. Because the user terminal cannot record after power off, after booting, first check whether each recording task has expired. Due to the time shifting function of the IPTV system, recording can still be performed for certain programs that are out of date but in the time shift range. At this time, the following operations need to be performed to check the programs in the task table one by one: If the current system time - the time shift duration of the program < the start time of the reserved program < current system time, it means that the program has started playing, but the video stream is still completely intact. Existing on the server, in this case, the user terminal establishes a connection with the server, requests to start playing the recording from the start time of the program, and starts the timer at the same time; if the start time of the reserved program <current system time-time shift of the program, If the program has expired, the recording task is not executed; if the current system time <the starting time of the reserved program, it means that the program has not started yet, and the recording can be performed according to the task.
实施中, 还可以进一步包括:  In the implementation, it may further include:
在对节目进行录制时, 启动定时器;  When the program is recorded, the timer is started;
在定时器计时长度不小于节目的播放信息中的节目播放时长时, 停止录 制节目, 释放录制节目所需资源。  When the timer length is not less than the program playing time in the broadcast information of the program, the recording of the program is stopped, and the resources required for recording the program are released.
具体的, 可以定时检测录制定时器,如果定时器的时间≥对应节目的播放 时长, 则停止录制, 释放相应资源。  Specifically, the recording timer can be detected periodically. If the timer time ≥ the playing duration of the corresponding program, the recording is stopped, and the corresponding resource is released.
实施中, 还可以进一步包括:  In the implementation, it may further include:
确定用户终端与媒体服务器建立连接所需的时长;  Determining the length of time required for the user terminal to establish a connection with the media server;
确定节目的播放信息中的节目开始播放的时间;  Determining when the program in the broadcast information of the program starts to play;
在对节目进行录制时, 按节目开始播放的时间, 根据建立连接所需的时 长提前与媒体服务器建立连接。  When recording a program, the time at which the program starts playing is established in advance to establish a connection with the media server according to the length of time required to establish the connection.
具体的, 可以定时查询录制任务, 如果 0 <预约节目的开始时间-当前系 统时间≤用户终端与媒体建立连接所需时间的经验值,则表示节目即将开始播 放, 则用户终端立即与媒体服务器建立连接, 开始录制。 实施中, 在用户终端向节目单服务器发送预约录制请求前, 还可以进一 步包括: 在用户终端存储预约录制任务表, 所述预约录制任务表包括用户终 端将要执行的节目录制任务; Specifically, the recording task can be periodically queried. If 0 <start time of the reserved program-current system time ≤ experience value of the time required for the user terminal to establish a connection with the media, it means that the program is about to start playing, then the user terminal immediately establishes with the media server. Connect, start recording. In the implementation, before the user terminal sends the reservation recording request to the program list server, the method further includes: storing, in the user terminal, a reservation recording task table, where the scheduled recording task table includes a program recording task to be performed by the user terminal;
用户终端接收节目单服务器发送的预约录制请求响应后, 还可以进一步 包括: 将预约录制请求响应中的播放信息存储至预约录制任务表;  After receiving the reservation recording request response sent by the program ticket server, the user terminal may further include: storing the play information in the reservation recording request response to the reserved recording task table;
用户终端根据预约录制请求响应中的播放信息对 IPTV播放的节目进行 录制时, 则可以定时查询预约录制任务表, 并根据预约录制任务表进行录制。  When the user terminal records the program played by the IPTV according to the play information in the reservation recording request response, the user can periodically query the reserved recording task table and record according to the reserved recording task table.
下面以预约录制任务表为例、 用户终端以机顶盒为例的实施对 IPTV播 放节目的录制实施进行说明。 在实施中以预约录制任务表为例是因为该方式 下比较容易对录制节目的任务进行管理, 也是较为常见的管理方式; 但是, 从理论上来说, 用其它的方式也是可以的, 在存在多个需要进行节目录制任 务需要管理时, 只要能够对这些任务进行协调、 管理的方式都可以, 建立预 约录制任务表的实施方式仅用于教导本领域技术人员具体如何实施本发明, 但不意味仅能使用预约录制任务表这一方式, 实施过程中可以结合实践需要 来确定相应的方式。  The following takes the reservation recording task table as an example, and the user terminal uses the set top box as an example to describe the recording implementation of the IPTV broadcast program. In the implementation, the reservation recording task table is taken as an example because it is easier to manage the tasks of recording programs in this mode, and it is also a relatively common management method; however, in theory, other methods are also possible, in existence When the program recording task needs to be managed, as long as the tasks can be coordinated and managed, the implementation of the reservation recording task table is only used to teach those skilled in the art how to implement the present invention, but it does not mean that only You can use the appointment recording task table. In the implementation process, you can determine the corresponding method according to the practical needs.
用户在浏览节目单过程中, 选择要求录制的节目, 机顶盒向节目单服务 器发送对于该节目的预约录制请求;  During the process of browsing the program list, the user selects the program to be recorded, and the set top box sends a reservation recording request for the program to the program list server;
节目单服务器收到用户录制请求后, 将预约录制的节目的相关播放信息 如节目名称、 节目的统一资源定位符(Uniform Resource Locator, URL )、 节 目开始播放的时间及节目播放的时长下发给机顶盒。  After receiving the user recording request, the program ticket server sends the related playing information of the reserved recording program, such as the program name, the Uniform Resource Locator (URL) of the program, the time when the program starts playing, and the duration of the program playing. Set-top box.
机顶盒在收到节目单服务器下发的信息后, 与本地的预约录制任务表里 的各项记录作对比, 如果预约录制任务表里已有该项录制任务, 则弹出提示 框提醒用户是否进行删除、 或者更新等操作, 如果没有该项录制任务, 将该 节目的信息记入预约录制任务表, 并将该预约录制记录更新至本地存储设备 中。 机顶盒里的预约录制任务表可以是每次上电时, 机顶盒根据本地存储设 备里的预约录制记录而建立的。  After receiving the information sent by the program list server, the set-top box compares with the records in the local scheduled recording task table. If the recording task is already in the scheduled recording task list, a prompt box is displayed to remind the user whether to delete the information. Or, update, etc. If there is no such recording task, the information of the program is recorded in the reserved recording task table, and the scheduled recording record is updated to the local storage device. The reservation recording task list in the set top box can be established each time the power is turned on, and the set top box is based on the reserved recording record in the local storage device.
机顶盒定时查询预约用户录制任务表, 如果 0〈预约节目的开始时间-当 前系统时间≤机顶盒与媒体建立连接所需时间的经验值,则表示节目即将开始 播放, 则机顶盒立即与媒体服务器建立连接, 开始录制, 并启动定时器计时; 机顶盒定时检测录制定时器, 如果定时器的时间≥对应节目的播放时长, 则停止录制, 释放相应资源, 并从任务表和本地存储设备里删除该预约录制 记录; The set-top box periodically queries the reserved user recording task table. If 0 <start time of the reserved program-current system time ≤ experience value of the time required for the set-top box to establish a connection with the media, the program is about to start. During playback, the set-top box immediately establishes a connection with the media server, starts recording, and starts timer counting; the set-top box periodically detects the recording timer, and if the timer time ≥ corresponds to the playing duration of the program, the recording is stopped, the corresponding resource is released, and the task is released from the task. Delete the reserved recording record in the table and the local storage device;
如果机顶盒断电后再重新开机, 可以先通过本地存储器中的预约节目信 息, 建立预约录制任务表; 因为机顶盒断电后无法进行录制, 所以开机重新 建立任务表后,先要检查各个任务是否过期。由于 IPTV系统具有的时移功能, 使得对于某些过期但处于时移范围的节目, 仍然可以执行录制。 这时需要执 行如下操作, 对任务表里的节目逐个检查: 如果当前系统时间-节目的时移时 长<预约节目的开始时间〈当前系统时间, 则表示节目已经开始播放, 但视 频流仍然完整地存在于服务器上, 这种情况下, 机顶盒与服务器建立连接, 请求从节目开始时间处开始播放录制, 并同时启动定时器; 如果预约节目的 开始时间 <当前系统时间-节目的时移时长, 表示节目已经过期, 则从本地存 储设备及任务表里删除该记录; 如果当前系统时间 <预约节目的开始时间, 则表示节目还未开始;  If the set-top box is powered off and then turned back on, you can first create a reservation recording task list by using the reserved program information in the local memory. Because the set-top box cannot be recorded after power-off, after restarting the task table, you must first check whether each task has expired. . Due to the time shifting function of the IPTV system, recording can still be performed for certain programs that are out of date but in the time shift range. At this time, the following operations need to be performed to check the programs in the task table one by one: If the current system time - the time shift duration of the program < the start time of the reserved program < current system time, it means that the program has started playing, but the video stream is still intact. Exists on the server. In this case, the set-top box establishes a connection with the server, requests to start recording from the start time of the program, and starts the timer at the same time; if the start time of the reserved program <current system time-time shift of the program, indicating If the program has expired, the record is deleted from the local storage device and the task table; if the current system time <the start time of the reserved program, it indicates that the program has not started yet;
对于还未开始录制和已经开始录制的节目, 定时查询预约用户录制任务 表和定时检测录制定时器。  For programs that have not started recording and have started recording, the scheduled user recording task table and the timing detection recording timer are periodically checked.
为更好的理解本发明的实施方式, 下面以实例进行说明。  For a better understanding of embodiments of the invention, the following description is by way of example.
图 2为机顶盒的 IPTV播放节目的录制方法实施流程示意图, 如图所示, 在进行节目录制时可以包括如下步骤:  FIG. 2 is a schematic diagram of a process for implementing a recording method of an IPTV broadcast program of a set top box. As shown in the figure, the following steps may be included when performing program recording:
步骤 201、 用户预约录制某个节目;  Step 201: The user schedules to record a certain program;
具体的, 可以是在用户浏览节目单时, 选择要求录制的节目, 并按下机 顶盒上设置的 "预约录制"键表示用户选择录制该节目;  Specifically, when the user browses the program list, the program to be recorded is selected, and the "reservation recording" button set on the set top box is pressed to indicate that the user selects to record the program;
步骤 202、 机顶盒向节目单服务器发送节目预约录制请求;  Step 202: The set top box sends a program reservation recording request to the program list server.
具体的, 机顶盒可以将键值上报节目单服务器, 节目单服务器根据当前 页面焦点的位置, 确定用户要求录制的节目;  Specifically, the set top box can report the key value to the program list server, and the program list server determines the program requested by the user according to the location of the current page focus;
步骤 203、 节目单服务器向机顶盒下发预约节目的播放信息;  Step 203: The program list server sends the play information of the reserved program to the set top box.
具体的, 机顶盒接收节目服务器发送的节目信息, 消息格式可以如下: URL=xxxxxxxxx#prgname=节目名 # prgtype=电影 # prgactor=aaa bbb#prgintro= 本故事讲的 是 xXxxxxx , xxxx 。 Xxxx # Timelength=XXXXXX ! #starttime=XXXXXXX# TimeShiftURL=XXXXXXX; Specifically, the set top box receives the program information sent by the program server, and the message format can be as follows: URL=xxxxxxxxx#prgname=program name# prgtype=movie# prgactor=aaa bbb#prgintro= This story is about xXxxxxx, xxxx. Xxxx # Timelength=XXXXXX ! #starttime=XXXXXXX# TimeShiftURL=XXXXXXX;
其中, Timelength表示节目的时长, starttime 表示节目开始的时间, TimeShiftURL表示该节目可以提供的时移长度;  Wherein, Timelength indicates the duration of the program, starttime indicates the time when the program starts, and TimeShiftURL indicates the length of time that the program can provide;
步骤 204、 机顶盒解析节目播放信息;  Step 204: The set top box parses the program play information.
具体的, 机顶盒可以从接收的预约节目信息中解析出播放信息, 例如: 节目开始时间、 名称、 播放时长、 URL、 可以时移的时长等信息;  Specifically, the set top box can parse the play information from the received reserved program information, such as: a start time of the program, a name, a play duration, a URL, a duration that can be time-shifted, and the like;
步骤 205、 判断该节目是否已存在于预约录制任务表中, 是则转入步骤 206, 否则转入步骤 207;  Step 205, it is determined whether the program already exists in the scheduled recording task table, if yes, go to step 206, otherwise go to step 207;
具体的,机顶盒可以将解析出来的节目名称和 URL与预约录制任务表里 的相关信息作对比, 看是否已经存在于任务表中, 如果已经存在则转入步骤 206, 否则进入步骤 207;  Specifically, the set-top box can compare the parsed program name and URL with the related information in the scheduled recording task table to see if it already exists in the task table, if it already exists, then proceeds to step 206, otherwise proceeds to step 207;
步骤 206、 提示用户该节目已经预约;  Step 206, prompting the user that the program has been reserved;
步骤 207、 将节目信息存入预约录制任务表和本地存储设备中; 步骤 208、 根据节目开始时间判断是否开始录制, 是则转入步骤 210, 否 则转入步骤 209;  Step 207, the program information is stored in the reservation recording task table and the local storage device; Step 208, according to the program start time to determine whether to start recording, if yes, go to step 210, otherwise go to step 209;
具体的, 可以定时查询预约用户录制任务表, 如果 0 <预约节目的开始 时间-当前系统时间≤机顶盒与媒体建立连接所需时间的经验值(tl ) , 则表示 节目即将开始播放, 机顶盒立即与媒体服务器建立连接, 执行步骤 210开始 录制, 并启动定时器 Q1计时;  Specifically, the scheduled user record task table can be periodically queried. If 0 <start time of the reserved program-current system time ≤ experience value (tl) of the time required for the set-top box to establish a connection with the media, it means that the program is about to start playing, and the set-top box immediately The media server establishes a connection, performs step 210 to start recording, and starts timer Q1 timing;
步骤 209、 根据定时器判断是否停止录制, 是则转入步骤 211 , 否则转入 步骤 208;  Step 209, according to the timer to determine whether to stop recording, if yes, go to step 211, otherwise go to step 208;
具体的, 可以定时查询机顶盒已经启动的定时器 Q1 , 如果该定时器的时 间≥对应节目的播放时长, 则执行步骤 211停止录制, 释放相应媒体资源; 步骤 210、 开始录制, 并启动定时器 Q1计时;  Specifically, the timer Q1 that the set top box has been started may be periodically queried. If the time of the timer is ≥ the playing duration of the corresponding program, step 211 is executed to stop the recording, and the corresponding media resource is released; Step 210, start recording, and start the timer Q1. Timing
步骤 211、 停止录制, 终止定时器 Q1 , 释放相应媒体资源。 图 3为机顶盒关机再开机后的 IPTV播放节目的录制方法实施流程示意 图, 如图所示, 可以包括如下步骤: Step 211: Stop recording, terminate the timer Q1, and release the corresponding media resource. FIG. 3 is a schematic diagram of an implementation process of a recording method of an IPTV broadcast program after the set-top box is powered off and then turned on. As shown in the figure, the following steps may be included:
步骤 301、 机顶盒建立预约录制任务表;  Step 301: The set top box establishes a reservation recording task table.
具体的, 机顶盒关机再启动后, 先从本地存储设备中获取已经预约的节 目信息, 建立预约录制任务表;  Specifically, after the set-top box is powered off and restarted, the reserved program information is obtained from the local storage device, and a reservation recording task table is established;
步骤 302、 判断是否满足当前系统时间-节目的时移时长 <预约节目的开 始时间 <当前系统时间, 是则转入步骤 305 , 否则转入步骤 303;  Step 302: Determine whether the current system time is met - the time shift duration of the program < the start time of the reserved program < current system time, if yes, go to step 305, otherwise go to step 303;
具体的, 机顶盒可以查询预约录制任务表里的各节目, 如果当前系统时 间-节目的时移时长 <预约节目的开始时间 <当前系统时间, 执行步骤 305机 顶盒与服务器建立连接, 请求从节目开始时间处开始播放, 开始录制, 并同 时启动定时器;  Specifically, the set top box can query each program in the scheduled recording task table. If the current system time-time shift duration of the program <starting time of the reserved program <current system time, perform step 305 to establish a connection between the set top box and the server, requesting the start time from the program. Start playing, start recording, and start the timer at the same time;
步骤 303、 判断是否满足预约节目的开始时间 <当前系统时间-节目的时 移时长, 是则转入步骤 307 , 否则转入步骤 304;  Step 303, determining whether the start time of the reserved program is satisfied <current system time - the time delay of the program, if yes, go to step 307, otherwise go to step 304;
具体的, 如果预约节目的开始时间 <当前系统时间-节目的时移时长, 表 示节目已经过期, 则从本地存储设备及任务表里删除该记录;  Specifically, if the start time of the reserved program <current system time-time shift duration of the program indicates that the program has expired, the record is deleted from the local storage device and the task table;
步骤 304、 判断是否满足当前系统时间 <预约节目的开始时间, 是则转 入步骤 308, 否则转入步骤 307;  Step 304, determining whether the current system time is satisfied <the scheduled start time of the program, if yes, go to step 308, otherwise go to step 307;
如果当前系统时间 <预约节目的开始时间, 则表示节目还未开始, 执行 定期查询, 等待节目开始时再录制, 否则表示节目已经过期, 则从本地存储 设备及任务表里删除该记录;  If the current system time <the start time of the reserved program, it means that the program has not started yet, perform a regular inquiry, and wait for the program to start recording again, otherwise the program has expired, and the record is deleted from the local storage device and the task table;
步骤 305、 根据节目 URL与媒体服务器建立连接, 开始录制, 启动定时 器, 转入步骤 306;  Step 305, establishing a connection with the media server according to the program URL, starting recording, starting the timer, and proceeding to step 306;
具体的, 机顶盒与服务器建立连接, 请求从节目开始时间处开始播放, 开始录制, 并同时启动定时器;  Specifically, the set top box establishes a connection with the server, requests to start playing from the start time of the program, starts recording, and starts a timer at the same time;
步骤 306、 定期检查定时器;  Step 306: Regularly check the timer.
步骤 307、 从预约录制任务表及本地存储设备中删除该节目信息; 步骤 308、 定期查询。 基于同一发明构思, 本发明实施例中还提供了一种用户终端、 一种节目 单服务器、 一种 IPTV系统, 由于这些设备解决问题的原理与 IPTV播放节目 的录制方法相似, 因此这些设备的实施可以参见方法的实施, 重复之处不再 赘述。 Step 307: Delete the program information from the reserved recording task table and the local storage device. Step 308: Regularly query. Based on the same inventive concept, the embodiment of the present invention further provides a user terminal, a program list server, and an IPTV system. Since the principle of solving the problem of these devices is similar to the recording method of the IPTV broadcast program, the implementation of the devices is implemented. See the implementation of the method, and the repetition will not be repeated.
图 4为 IPTV系统结构示意图, 如图所示, 系统中可以包括:  Figure 4 is a schematic diagram of the structure of the IPTV system. As shown in the figure, the system may include:
用户终端 401 , 用于向节目单服务器发送预约录制请求, 在接收到节目 单服务器发送的预约录制请求响应后, 根据预约录制请求响应中的播放信息 对 IPTV播放的节目进行录制; 所述预约录制请求中包括: 用户终端需要录制 的 IPTV将播放的节目 ,所述预约录制请求响应中携带有预约录制请求中包括 的节目的播放信息;  The user terminal 401 is configured to send a reservation recording request to the program ticket server, and after receiving the reservation recording request response sent by the program ticket server, record the program played by the IPTV according to the playing information in the reservation recording request response; The request includes: a program that the user terminal needs to record the IPTV to play, and the reservation recording request response carries the play information of the program included in the reserved recording request;
节目单服务器 402, 用于在接收到用户终端发送的预约录制请求后, 向 用户终端发送预约录制请求响应。  The program list server 402 is configured to send a reservation recording request response to the user terminal after receiving the reservation recording request sent by the user terminal.
实施中, 在釆用机顶盒作为用户终端、 电子节目指南(Electronic Program Guide, EPG )服务器作为节目单服务器时, 机顶盒向 EPG服务器发送某个节 目的预约录制请求, 而 EPG服务器则把机顶盒预约录制节目的节目信息发送 给机顶盒; 在收到节目信息后, 将其加入预约录制任务表中, 定时查询, 到 约定的时间后, 启动相关录制。  In the implementation, when the set top box is used as the user terminal and the Electronic Program Guide (EPG) server is used as the program list server, the set top box sends a reservation recording request of a certain program to the EPG server, and the EPG server reserves the program for the set top box reservation. The program information is sent to the set-top box; after receiving the program information, it is added to the reservation recording task table, and the time inquiry is performed, and after the appointed time, the related recording is started.
图 5为用户终端结构示意图, 如图所示, 用户终端中可以包括: 发送模块 501 , 用于向节目单服务器发送预约录制请求, 所述预约录制 请求中包括: 用户终端需要录制的 IPTV将播放的节目;  5 is a schematic structural diagram of a user terminal. As shown in the figure, the user terminal may include: a sending module 501, configured to send a reservation recording request to the program ticket server, where the subscription recording request includes: the IPTV that the user terminal needs to record will play Program
接收模块 502, 用于接收节目单服务器发送的预约录制请求响应, 所述 预约录制请求响应中携带有预约录制请求中包括的节目的播放信息;  The receiving module 502 is configured to receive a reservation recording request response sent by the program ticket server, where the reservation recording request response carries the playing information of the program included in the reserved recording request;
录制模块 503 ,用于根据预约录制请求响应中的播放信息对 IPTV播放的 节目进行录制。  The recording module 503 is configured to record the program played by the IPTV according to the playing information in the reservation recording request response.
实施中, 录制模块还可以进一步用于在用户终端启动后, 确定节目的播 放信息中的节目开始播放的时间, 以及节目的时移时长; 在当前时间减去时 移时长后处于节目开始播放的时间之前时, 对节目进行录制。  In the implementation, the recording module may be further configured to determine, after the user terminal is started, a time when the program in the play information of the program starts to play, and a time shift duration of the program; after the current time minus the time shift period, the program starts to play. Record the program before time.
实施中, 用户终端中还可以进一步包括: 定时器 504, 用于计时; In the implementation, the user terminal may further include: Timer 504, for timing;
录制模块还可以进一步用于在对节目进行录制时, 启动定时器; 在定时 器计时长度不小于节目的播放信息中的节目播放时长时, 停止录制节目, 释 放录制节目所需资源。  The recording module can be further configured to start a timer when the program is recorded; when the timing of the timer is not less than the duration of the program in the broadcast information of the program, the recording of the program is stopped, and the resources required for recording the program are released.
实施中, 用户终端中还可以进一步包括:  In the implementation, the user terminal may further include:
连接模块 505 , 用于确定用户终端与媒体服务器建立连接所需的时长, 以及确定节目的播放信息中的节目开始播放的时间; 在对节目进行录制时, 按节目开始播放的时间, 根据建立连接所需的时长提前与媒体服务器建立连 接。  The connection module 505 is configured to determine a length of time required for the user terminal to establish a connection with the media server, and determine a time when the program in the play information of the program starts to play; when recording the program, according to the time when the program starts playing, according to establishing a connection The required length of time is established in advance to establish a connection with the media server.
实施中, 用户终端中还可以进一步包括:  In the implementation, the user terminal may further include:
预约录制任务表模块 506, 用于在向节目单服务器发送预约录制请求前, 在用户终端存储预约录制任务表, 所述预约录制任务表包括用户终端将要执 行的节目录制任务; 在接收节目单服务器发送的预约录制请求响应后, 将预 约录制请求响应中的播放信息存储至预约录制任务表;  The reservation recording task table module 506 is configured to store, in the user terminal, a reservation recording task table before the scheduled recording request is sent to the program list server, where the scheduled recording task table includes a program recording task to be executed by the user terminal; After the sent reservation recording request response, the playback information in the reservation recording request response is stored in the reserved recording task table;
录制模块 503还可以进一步用于在根据预约录制请求响应中的播放信息 对 IPTV播放的节目进行录制时,定时查询预约录制任务表,并根据预约录制 任务表进行录制。  The recording module 503 is further configured to periodically query the scheduled recording task table when recording the program played by the IPTV according to the playing information in the reservation recording request response, and perform recording according to the reserved recording task table.
图 6为节目单服务器结构示意图, 如图所示, 服务器中可以包括: 接收模块 601 , 用于接收用户终端向节目单服务器发送的预约录制请求, 所述预约录制请求中包括: 用户终端需要录制的 IPTV将播放的节目;  6 is a schematic diagram of a structure of a program list server. As shown in the figure, the server may include: a receiving module 601, configured to receive a reservation recording request sent by the user terminal to the program ticket server, where the subscription recording request includes: the user terminal needs to record The IPTV will play the program;
响应模块 602, 用于向用户终端发送预约录制请求响应, 所述预约录制 请求响应中携带有预约录制请求中包括的节目的播放信息。  The response module 602 is configured to send a reservation recording request response to the user terminal, where the reservation recording request response carries the playing information of the program included in the reserved recording request.
为了描述的方便, 以上所述装置的各部分以功能分为各种模块或单元分 别描述。 当然, 在实施本发明时可以把各模块或单元的功能在同一个或多个 软件或硬件中实现。  For convenience of description, the various parts of the above described devices are divided into various modules or units by function. Of course, the functions of the various modules or units may be implemented in one or more software or hardware in the practice of the invention.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或 计算机程序产品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可釆用在一个或多个 其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器、 CD-ROM、 光学存储器等)上实施的计算机程序产品的形式。 Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can be applied to one or more A computer program product embodied on a computer usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
本发明是参照根据本发明实施例的方法、 设备(系统) 、 和计算机程序 产品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程 图和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中的流 程和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算 机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使 得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的装置。  The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart and/or block diagrams, and combinations of processes and/or blocks in the flowcharts and/or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设 备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存储器 中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个流程或 多个流程和 /或方框图一个方框或多个方框中指定的功能。  The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的 处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图 一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的步 骤。  These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知了 基本创造性概念, 则可对这些实施例作出另外的变更和修改。 所以, 所附权 利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。  Although the preferred embodiment of the invention has been described, it will be apparent to those skilled in the < Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and modifications The spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of the inventions
工业实用性 与现有技术相比, 本发明提供的技术方案解决了 IPTV 系统无法实现用 户预约录制的问题。 当用户通过节目单选择某个还未开始播放的节目要求录 制时,在 IPTV系统中实施上述方案,即可完成在对该节目的预约录制。这样, 在节目开始播放时, 即使用户不在现场也可以实现录制。 因为开始录制时, 不需要用户介入, 所以此时用户如果在使用其他服务, 如玩游戏, 用户终端 可以在不影响用户的情况下, 为其录制预约的节目。 Industrial Applicability Compared with the prior art, the technical solution provided by the present invention solves the problem that the IPTV system cannot be implemented. The user has scheduled a recording question. When the user selects a program that has not started to play through the program list to request recording, the above-mentioned scheme is implemented in the IPTV system, and the scheduled recording of the program can be completed. In this way, when the program starts playing, recording can be achieved even if the user is not at the scene. Since the user does not need to be involved when starting recording, if the user is using other services, such as playing a game, the user terminal can record the reserved program for the user without affecting the user.
进一步的, 因为 IPTV 系统的时移功能, 所以对于已经开始播放但没有 超出时移范围的节目, 也可以实现完整录制, 例如关机重启后的机顶盒。  Further, because of the time shift function of the IPTV system, a complete recording can be realized for a program that has started to play but does not exceed the time shift range, such as a set top box after shutdown and restart.

Claims

权 利 要 求 书 Claim
1、 一种网络电视(IPTV )播放节目的录制方法, 包括:  1. A recording method for a network television (IPTV) broadcast program, comprising:
用户终端向节目单服务器发送预约录制请求, 所述预约录制请求中包括 用户终端需要录制的 IPTV将播放的节目;  The user terminal sends a reservation recording request to the program list server, where the reservation recording request includes a program to be played by the IPTV that the user terminal needs to record;
用户终端接收节目单服务器发送的预约录制请求响应, 所述预约录制请 求响应中携带有预约录制请求中包括的节目的播放信息; 以及  Receiving, by the user terminal, a reservation recording request response sent by the program ticket server, where the reservation recording request response carries the playback information of the program included in the reservation recording request;
用户终端根据预约录制请求响应中的播放信息对 IPTV播放的节目进行 录制。  The user terminal records the program played by the IPTV according to the play information in the reservation recording request response.
2、 如权利要求 1所述的方法, 其中, 终端启动后所述录制的步骤之前, 所述方法还包括:  2. The method according to claim 1, wherein, before the step of recording the terminal after the terminal is started, the method further includes:
在用户终端启动后, 确定节目的播放信息中的节目开始播放的时间, 以 及节目的时移时长;  After the user terminal is started, determining the time at which the program in the broadcast information of the program starts to play, and the time duration of the program;
在当前时间减去时移时长后处于节目开始播放的时间之前时, 对节目进 行录制。  The program is recorded when the current time minus the time shift period is before the time the program starts playing.
3、 如权利要求 1所述的方法, 其中, 所述方法还包括:  3. The method according to claim 1, wherein the method further comprises:
在对节目进行录制时, 启动定时器;  When the program is recorded, the timer is started;
在定时器计时长度不小于节目的播放信息中的节目播放时长时, 停止录 制节目, 释放录制节目所需资源。  When the timer length is not less than the program playing time in the broadcast information of the program, the recording of the program is stopped, and the resources required for recording the program are released.
4、 如权利要求 1所述的方法, 其中, 所述录制的步骤之前, 所述方法还 包括:  4. The method according to claim 1, wherein before the step of recording, the method further comprises:
确定用户终端与媒体服务器建立连接所需的时长;  Determining the length of time required for the user terminal to establish a connection with the media server;
确定节目的播放信息中的节目开始播放的时间;  Determining when the program in the broadcast information of the program starts to play;
在对节目进行录制时, 按节目开始播放的时间, 根据建立连接所需的时 长提前与媒体服务器建立连接。  When recording a program, the time at which the program starts playing is established in advance to establish a connection with the media server according to the length of time required to establish the connection.
5、 如权利要求 1至 4任一所述的方法, 其中, 请求新的预约节目的过程 中, 所述方法还包括:  The method according to any one of claims 1 to 4, wherein, in the process of requesting a new reserved program, the method further comprises:
用户终端向节目单服务器发送预约录制请求前, 在用户终端存储预约录 制任务表, 所述预约录制任务表包括用户终端将要执行的节目录制任务; 用户终端接收节目单服务器发送的预约录制请求响应后, 将预约录制请 求响应中的播放信息存储至预约录制任务表; Before the user terminal sends a reservation recording request to the program list server, the user terminal stores the reservation record. a task schedule, the scheduled recording task table includes a program recording task to be executed by the user terminal; after receiving the reservation recording request response sent by the program ticket server, the user terminal stores the playback information in the reservation recording request response to the reserved recording task table;
用户终端根据预约录制请求响应中的播放信息对 IPTV播放的节目进行 录制时, 定时查询预约录制任务表, 并根据预约录制任务表进行录制。  When the user terminal records the program played by the IPTV according to the play information in the reservation recording request response, the user periodically checks the reservation recording task table and records according to the reserved recording task table.
6、 一种用户终端, 包括:  6. A user terminal, comprising:
发送模块, 其设置为: 向节目单服务器发送预约录制请求, 所述预约录 制请求中包括用户终端需要录制的网络电视(IPTV )将播放的节目;  a sending module, configured to: send a reservation recording request to the program list server, where the reservation recording request includes a program to be played by a network television (IPTV) that the user terminal needs to record;
接收模块, 其设置为: 接收节目单服务器发送的预约录制请求响应, 所 述预约录制请求响应中携带有预约录制请求中包括的节目的播放信息; 以及 录制模块, 其设置为: 根据预约录制请求响应中的播放信息对 IPTV播 放的节目进行录制。  a receiving module, configured to: receive a reservation recording request response sent by the program list server, where the reservation recording request response carries playback information of a program included in the reservation recording request; and a recording module, configured to: The program played by the IPTV is recorded in the playback information in response.
7、 如权利要求 6所述的用户终端, 其中, 录制模块还设置为: 在用户终 端启动后, 确定节目的播放信息中的节目开始播放的时间, 以及节目的时移 时长; 在当前时间减去时移时长后处于节目开始播放的时间之前时, 对节目 进行录制。  7. The user terminal according to claim 6, wherein the recording module is further configured to: after the user terminal is activated, determine a time at which the program in the play information of the program starts playing, and a time shift duration of the program; The program is recorded when the time of the shift is long before the time when the program starts to play.
8、 如权利要求 6所述的用户终端, 其中, 所述用户终端还包括: 定时器, 其设置为: 计时;  The user terminal according to claim 6, wherein the user terminal further includes: a timer, which is set to: timekeeping;
录制模块还设置为: 在对节目进行录制时, 启动定时器; 在定时器计时 长度不小于节目的播放信息中的节目播放时长时, 停止录制节目, 释放录制 节目所需资源。  The recording module is further configured to: start a timer when recording the program; stop recording the program when the timer is not less than the length of the program in the playback information of the program, and release the resources required for recording the program.
9、 如权利要求 6所述的用户终端, 其中, 所述用户终端还包括: 连接模块, 其设置为: 确定用户终端与媒体服务器建立连接所需的时长, 以及确定节目的播放信息中的节目开始播放的时间; 在对节目进行录制时, 按节目开始播放的时间, 根据建立连接所需的时长提前与媒体服务器建立连 接。  The user terminal according to claim 6, wherein the user terminal further comprises: a connection module, configured to: determine a length of time required for the user terminal to establish a connection with the media server, and determine a program in the play information of the program The time at which playback starts; When recording a program, the time at which the program starts playing is established, and the connection is established in advance with the media server according to the length of time required to establish the connection.
10、 如权利要求 6至 9任一所述的用户终端, 其中, 所述用户终端还包 括: The user terminal according to any one of claims 6 to 9, wherein the user terminal further includes Includes:
预约录制任务表模块, 其设置为: 在向节目单服务器发送预约录制请求 前, 在用户终端存储预约录制任务表, 所述预约录制任务表包括用户终端将 要执行的节目录制任务; 在接收节目单服务器发送的预约录制请求响应后, 将预约录制请求响应中的播放信息存储至预约录制任务表;  The reservation recording task table module is configured to: store a reservation recording task table at the user terminal before transmitting the reservation recording request to the program list server, where the scheduled recording task table includes a program recording task to be performed by the user terminal; After the reservation recording request sent by the server responds, the playback information in the reservation recording request response is stored in the reserved recording task table;
录制模块还设置为: 在根据预约录制请求响应中的播放信息对 IPTV播 放的节目进行录制时, 定时查询预约录制任务表, 并根据预约录制任务表进 行录制。  The recording module is further configured to: when recording the IPTV-played program according to the playback information in the reservation recording request response, periodically query the reservation recording task table, and perform recording according to the reserved recording task table.
11、 一种节目单服务器, 包括:  11. A program listing server, comprising:
接收模块, 其设置为: 接收用户终端向节目单服务器发送的预约录制请 求, 所述预约录制请求中包括用户终端需要录制的网络电视(IPTV )将播放 的节目; 以及  a receiving module, configured to: receive a reservation recording request sent by the user terminal to the program ticket server, where the scheduled recording request includes a program to be played by the network television (IPTV) that the user terminal needs to record;
响应模块, 其设置为: 向用户终端发送预约录制请求响应, 所述预约录 制请求响应中携带有预约录制请求中包括的节目的播放信息。  And a response module, configured to: send a reservation recording request response to the user terminal, where the reservation recording request response carries the playing information of the program included in the reserved recording request.
12、 一种网络电视(IPTV ) 系统, 包括:  12. An internet television (IPTV) system, comprising:
用户终端, 其设置为: 向节目单服务器发送预约录制请求, 在接收到节 目单服务器发送的预约录制请求响应后, 根据预约录制请求响应中的播放信 息对 IPTV播放的节目进行录制;所述预约录制请求中包括用户终端需要录制 的 IPTV将播放的节目 ,所述预约录制请求响应中携带有预约录制请求中包括 的节目的播放信息; 以及  a user terminal, configured to: send a reservation recording request to the program list server, and after receiving the reservation recording request response sent by the program list server, record the program played by the IPTV according to the playing information in the reservation recording request response; The recording request includes a program to be played by the IPTV that the user terminal needs to record, and the reservation recording request response carries the playback information of the program included in the reservation recording request;
节目单服务器, 其设置为: 在接收到用户终端发送的预约录制请求后, 向用户终端发送预约录制请求响应。  The program list server is configured to: after receiving the reservation recording request sent by the user terminal, send a reservation recording request response to the user terminal.
PCT/CN2010/079133 2010-04-29 2010-11-25 Method, system and terminal for recording programs played on internet protocol television WO2011134258A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010160686.2 2010-04-29
CN201010160686A CN101815205A (en) 2010-04-29 2010-04-29 Method, system and terminal for recording web TV broadcast program

Publications (1)

Publication Number Publication Date
WO2011134258A1 true WO2011134258A1 (en) 2011-11-03

Family

ID=42622309

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/079133 WO2011134258A1 (en) 2010-04-29 2010-11-25 Method, system and terminal for recording programs played on internet protocol television

Country Status (2)

Country Link
CN (1) CN101815205A (en)
WO (1) WO2011134258A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815205A (en) * 2010-04-29 2010-08-25 中兴通讯股份有限公司 Method, system and terminal for recording web TV broadcast program
CN102547414A (en) * 2010-12-08 2012-07-04 中国移动通信集团公司 Program recording control method, server, terminal and system
CN102917249B (en) * 2012-10-15 2018-03-13 中兴通讯股份有限公司 IPTV reservation systems and the reservation plan adding method based on the system
CN104185047A (en) * 2013-05-23 2014-12-03 大同联合科技股份有限公司 Multimedia device with appointment playback function
CN106331836A (en) 2015-06-30 2017-01-11 中兴通讯股份有限公司 Program recording method and apparatus, and set top box
CN107197361B (en) * 2017-06-19 2020-10-20 海信视像科技股份有限公司 PVR (personal video record) reservation method and device in non-single reservation mode

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1842152A (en) * 2005-03-31 2006-10-04 联想(北京)有限公司 Method and system for realizing pre-recording based on electronic program guide information
CN101345850A (en) * 2007-07-09 2009-01-14 中兴通讯股份有限公司 Method for reservation operation of mobile phone TV program
CN201352833Y (en) * 2009-01-14 2009-11-25 深圳市同洲电子股份有限公司 Mobile terminal for recording program
CN101815205A (en) * 2010-04-29 2010-08-25 中兴通讯股份有限公司 Method, system and terminal for recording web TV broadcast program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6983312B1 (en) * 2001-07-16 2006-01-03 At&T Corp. Method for using scheduled hyperlinks to record multimedia content

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1842152A (en) * 2005-03-31 2006-10-04 联想(北京)有限公司 Method and system for realizing pre-recording based on electronic program guide information
CN101345850A (en) * 2007-07-09 2009-01-14 中兴通讯股份有限公司 Method for reservation operation of mobile phone TV program
CN201352833Y (en) * 2009-01-14 2009-11-25 深圳市同洲电子股份有限公司 Mobile terminal for recording program
CN101815205A (en) * 2010-04-29 2010-08-25 中兴通讯股份有限公司 Method, system and terminal for recording web TV broadcast program

Also Published As

Publication number Publication date
CN101815205A (en) 2010-08-25

Similar Documents

Publication Publication Date Title
TWI528822B (en) A receiving device, a method of controlling an application, a program and an information processing system
US9578364B2 (en) Internet protocol television server and method for playing advertisements during recorded content
TWI528749B (en) A signal receiving device, a signal receiving method, an information processing program and an information processing system
TWI545955B (en) Signal receiving apparatus and method, a signal transmission apparatus and method, and program
WO2011134258A1 (en) Method, system and terminal for recording programs played on internet protocol television
KR101753432B1 (en) Method, apparatus and computer program product for standby handling in a streaming media receiver
CN103647991A (en) Method and system for sharing video in intelligent television
WO2014177070A1 (en) Iptv system, mobile terminal and method for realizing reminding viewing live telecast
WO2012068893A1 (en) Method, device and terminal for replaying live program
EP2458857B1 (en) Method and device for implementing program recording and playing and set-top box
WO2018205833A1 (en) Method and apparatus for transmitting music file information, storage medium, and electronic apparatus
WO2011018051A1 (en) Method, device and system for processing network personal video recording
US20150113565A1 (en) Method for Controlling Media Contents in Virtual Room, Terminal, and Device
CN101188738A (en) A method, system and device for subscribing network TV IPTV program
CN101489103A (en) Recording method and profiling method for play-on-demand program
KR101829497B1 (en) Methods and apparatuses for resuming paused media
WO2017092258A1 (en) Method for prompting key point in live broadcast, server, user terminal and system
WO2014067323A1 (en) Iptv advertisement distribution method and system
WO2017076009A1 (en) Program watch-back method, player and terminal
WO2011140854A1 (en) Program ordering method and apparatus for interactive network tv system
CN111064980A (en) Cloud-based audio and video playing control method and system
CN104080000B (en) Start-Over media service method in IPTV
WO2011029305A1 (en) System and method for acquiring information of electronic programmer guide servers
JP2006109278A (en) Broadcast communication terminal
WO2010057391A1 (en) Control method, equipment and system for playing stream media

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10850589

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10850589

Country of ref document: EP

Kind code of ref document: A1