WO2016155255A1 - Program recording method and apparatus - Google Patents
Program recording method and apparatus Download PDFInfo
- Publication number
- WO2016155255A1 WO2016155255A1 PCT/CN2015/089750 CN2015089750W WO2016155255A1 WO 2016155255 A1 WO2016155255 A1 WO 2016155255A1 CN 2015089750 W CN2015089750 W CN 2015089750W WO 2016155255 A1 WO2016155255 A1 WO 2016155255A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- program
- recording
- local
- program list
- preset condition
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
Definitions
- This application relates to, but is not limited to, the field of audio and video technology.
- IPTV interactive network TV
- IPTV interactive network TV
- IPTV can realize the video on demand program, video broadcasting and web surfing of users by using broadband Internet.
- IPTV will experience video jamming during video playback.
- This paper proposes a program recording method and device, which aims to solve the technical problem that the related network interactive video TV will have a video jam when the video is played.
- a program recording method comprising:
- the program in the local program list of the terminal is recorded.
- the method before the step of acquiring the current download parameter of the terminal in real time or timing, the method further includes:
- the terminal local program list is updated according to a program list in the server.
- the step of recording the program in the local program list of the terminal includes:
- Programs other than the same program in the updated program list are recorded.
- the method further includes:
- the current download parameters of the terminal are obtained in real time or periodically;
- the recording of the program in the local program list is stopped, and the current recording breakpoint is recorded.
- the step of recording the program in the local program list of the terminal includes:
- the unrecorded program is recorded according to the saved recording breakpoint.
- the preset condition is that the remaining bandwidth is greater than a first preset threshold; when the download parameter is a remaining bandwidth and a remaining storage space, the preset The condition is that the remaining bandwidth is greater than a first preset threshold, and the remaining storage space is greater than a second preset threshold.
- a program recording device comprising:
- the obtaining module is set to: obtain the current downloading parameter of the terminal in real time or periodically;
- the recording module is configured to: when the download parameter meets the preset condition, record the program in the local program list of the terminal.
- the program recording device further includes:
- the update module is configured to: update the terminal local program list according to the program list in the server.
- the recording module includes:
- a comparing unit configured to: when the download parameter meets a preset condition, acquire an updated program list and a same program in the program list before updating;
- the recording unit is configured to: record the updated program other than the same program in the program list.
- the program recording device further includes:
- the control module is configured to: stop the recording of the program in the local program list when the current parameter does not satisfy the preset condition, and record the current recording breakpoint.
- the recording module is further configured to:
- the unrecorded program is recorded according to the saved recording breakpoint.
- the preset condition is that the remaining bandwidth is greater than a first preset threshold; when the download parameter is a remaining bandwidth and a remaining storage space, the preset The condition is that the remaining bandwidth is greater than a first preset threshold, and the remaining storage space is greater than a second preset threshold.
- a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
- the program recording method and device acquires the current download parameter of the terminal by real time or timing, and records the program in the local program list of the terminal when the download parameter satisfies the preset condition, when the user selects to play the local program.
- the program in the list is already recorded, since the program has been recorded, the phenomenon of video jamming during the playback of the program is avoided.
- FIG. 1 is a schematic flow chart of a first embodiment of a program recording method according to the present invention.
- FIG. 2 is a schematic flow chart of a second embodiment of a program recording method according to the present invention.
- step S20 in FIG. 2 is a schematic diagram of a refinement process of step S20 in FIG. 2;
- FIG. 4 is a schematic diagram of functional modules of a first embodiment of a program recording apparatus according to the present invention.
- FIG. 5 is a schematic diagram of functional modules of a second embodiment of a program recording apparatus according to the present invention.
- FIG. 6 is a schematic diagram of a refinement function module of the recording module in FIG. 5.
- the program recording method provided by the embodiment of the present invention is mainly applied to an end product such as an interactive network television, a smart phone, a PAD (tablet computer), but the program recording method is not limited to being applied to an endoscope such as an interactive network television or a smart phone. In the product.
- the program recording method of the embodiment of the present invention will be described in detail below by taking an interactive network television as an example.
- the program recording method includes the following steps:
- Step S10 Acquire current download parameters of the terminal in real time or periodically
- the current download parameters of the interactive network television are obtained in real time.
- a detection period T1 may be set, and the download parameter of the interactive network television is obtained periodically according to the detection period T1.
- the download parameters of the interactive network television can also be obtained periodically by other means.
- the download parameter is the remaining bandwidth of the user's home network and the remaining storage space of the storage disk of the interactive network television.
- the download parameter may also be only the remaining bandwidth of the user's home network.
- the current remaining bandwidth and the remaining storage space of the storage disk of the interactive network television are obtained in real time, and the storage disk is a local hard disk of the interactive network television.
- Step S20 Record the program in the local program list of the terminal when the download parameter satisfies the preset condition.
- a first preset threshold of the remaining bandwidth and a second preset threshold of the remaining storage space of the local hard disk of the interactive network television are preset. It can be understood by those skilled in the art that the first preset threshold and the second preset threshold can be flexibly set according to actual conditions.
- a preset condition of the download parameter of the interactive network television is set according to the first preset threshold and the second preset threshold. In this embodiment, the preset condition is that the current remaining bandwidth is greater than The first preset threshold is described, and the current remaining storage space of the local hard disk of the interactive network television is greater than the second preset threshold.
- the download parameter of the interactive network television satisfies the preset condition, that is, the current remaining bandwidth is greater than the first preset threshold, and the current remaining storage space of the local hard disk of the interactive network television is greater than the second pre-
- the threshold is set, the program in the local program list of the interactive network television is recorded.
- the remaining bandwidth of the network may be preset, and a preset threshold of the remaining bandwidth may be preset, and a preset condition of the download parameter of the interactive network television is set according to the first preset threshold, where the preset condition is current The remaining bandwidth is greater than the first predetermined threshold.
- the program in the local program list of the interactive network television is recorded when the download parameter of the interactive network television satisfies the preset condition, that is, when the current remaining bandwidth is greater than the first preset threshold.
- the program file that has been downloaded and stored in the local hard disk of the interactive network television may be deleted, so that the local hard disk of the interactive network television has sufficient remaining storage space, thereby ensuring The programs in the local program list of the interactive network television are normally recorded.
- the step S20 may further include:
- step a when the current parameter does not satisfy the preset condition, the recording of the program in the local program list is stopped, and the current recording breakpoint is recorded.
- step S10 when recording the program in the local program list of the interactive network television, the operation of step S10 is performed again to obtain the current remaining bandwidth and the current remaining storage space of the local hard disk of the interactive network television.
- the current parameter of the interactive network television does not satisfy the preset condition, for example, the current remaining storage space of the local hard disk of the interactive network television is smaller than the second preset threshold, or the current remaining bandwidth is smaller than the current
- the first preset threshold is used to stop recording of the program in the local program list of the interactive network television, while recording the current recording breakpoint for the next recording from the recording breakpoint.
- step S20 includes:
- Step b detecting, when the download parameter meets a preset condition, whether there is an unrecorded program in the local program list;
- the download parameter of the interactive network television satisfies the preset condition, that is, the current remaining bandwidth is greater than the first preset threshold, and the current remaining storage space of the local hard disk of the interactive network television is greater than the second pre-
- the threshold is set, it is detected whether there is an unrecorded program in the local program list of the interactive network television.
- the recording status of each program in the local program list of the interactive network television is set with a corresponding recording status identifier, and the recording status of the corresponding program can be obtained by detecting the recording status identifier, including not recording. , not recorded, and recording completed. Detecting whether there is an unrecorded program in the local program list of the interactive network television by detecting a recording status indicator of the program in the local program list of the interactive network television.
- Step c if yes, recording the unrecorded program according to the saved recording breakpoint.
- step b If it is detected in step b that there is an unrecorded program in the local program list of the interactive network television, the recording is resumed from the recording breakpoint recorded last time of the program. If there is no unrecorded program in the local program list of the interactive network television, it is detected whether there is an unrecorded program in the local program list of the interactive network television. If an unrecorded program exists in the local program list of the interactive network television, the unrecorded program is recorded.
- the program acquisition request instruction may be sent through the EPG (Electronic Program Menu), and when the streaming media server receives the program acquisition request instruction, return a recording address based on the program name identifier of the unrecorded program.
- the unrecorded program is recorded according to the acquired recording address.
- the recording priority order may be a program recording sequence arranged by the user according to his or her own preference, or a program recording sequence arranged according to the popular order of the programs, and may also be other program recording sequences, for example,
- the recording priority of the program specified by the user is set to the highest, and the other programs sequentially set the recording priority according to the popular order of the programs, and the programs are sequentially recorded according to the set recording priority order.
- the recording status flag of each of the programs is updated when the recording of each program in the local program list of the interactive network television ends, whether the recording is completed or the recording ends in the middle of the recording. For example, when the recording of an unrecorded program in the local program list of the interactive network television is completed, the recording status indicator of the program is updated from the unrecorded completion to the recording completion.
- the solution proposed in this embodiment firstly obtains the current download parameter of the terminal, and when the download parameter meets the preset condition, records the program in the local program list of the terminal, and when the user selects to play the program in the local program list, Since the program has been recorded, the phenomenon of video jamming during the playback of the program is avoided, thereby ensuring that the user normally watches the program.
- the program recording method further includes:
- Step S30 updating the terminal local program list according to the program list in the server.
- the local program list of the interactive network television is updated according to the program list in the server.
- the program list in the server is a hotspot program list in which the current hot program is arranged in a popular order, and the local program list of the interactive network television is updated according to the hot program list of the server.
- an update period T2 may be set in the embodiment, and the local program list of the interactive network television is periodically updated according to the update period T2.
- the step S20 includes:
- Step S21 when the download parameter meets the preset condition, acquiring the updated program list and the same program in the program list before the update;
- the information is updated.
- the local program list of the interactive Internet TV is compared with the local program list of the interactive network television before the update, and the local program list of the updated interactive network television is obtained and the local version of the interactive network television before the update is obtained. The same program in the program list.
- Step S22 recording other programs in the updated program list other than the same program.
- the updated local program list of the interactive network television in addition to the same program acquired through step S21, other programs are updated programs.
- the updated interactive network is sequentially recorded according to the recording priority order.
- the programs in the local program list of the television except the same program, that is, the updated programs are sequentially recorded in the order of recording priority.
- step S22 In order to save the terminal memory, after obtaining the updated program of the local program list of the interactive network television and the same program in the local program list of the pre-updated interactive network television, the same program is deleted first to obtain more The remaining storage space is then executed in step S22, and the updated program is sequentially recorded in the order of recording priority. It can be understood by those skilled in the art that step S22 may be performed first, and then the same program is deleted.
- the solution proposed in this embodiment updates the terminal local program list according to the program list in the server before acquiring the current download parameter of the terminal in real time or timing, and then records the updated terminal when the download parameter satisfies the preset condition.
- the program in the local program list not only avoids the phenomenon of video jamming when playing the program, but also ensures that the program in the local program list of the recorded interactive network television is the current hot program, thereby further improving the user's viewing of the program.
- Experience is a method for example, a program in the local program list of the recorded interactive network television is the current hot program, thereby further improving the user's viewing of the program.
- Embodiments of the present invention provide a program recording apparatus.
- FIG. 4 is a schematic diagram of functional modules of a first embodiment of a program recording apparatus according to the present invention.
- the program recording apparatus includes:
- the obtaining module 10 is configured to: acquire the current download parameter of the terminal in real time or periodically;
- the acquisition module 10 acquires the current download parameters of the interactive network television in real time.
- the detection period T1 may be set, and the obtaining module 10 periodically acquires the download parameter of the interactive network television according to the detection period T1.
- the download parameters of the interactive network television can also be obtained periodically by other means.
- the download parameter is the remaining bandwidth of the user's home network and the remaining storage space of the storage disk of the interactive network television.
- the download parameter may also be only the remaining bandwidth of the user's home network.
- the obtaining module 10 obtains the current remaining bandwidth and the remaining storage space of the storage disk of the interactive network television in real time, and the storage disk is a local hard disk of the interactive network television.
- the recording module 20 is configured to: when the download parameter meets a preset condition, record a program in the local program list of the terminal.
- a first preset threshold of the remaining bandwidth and a second preset threshold of the remaining storage space of the local hard disk of the interactive network television are preset. It can be understood by those skilled in the art that the first preset threshold and the second preset threshold can be flexibly set according to actual conditions.
- a preset condition of the download parameter of the interactive network television is set according to the first preset threshold and the second preset threshold. In this embodiment, the preset condition is that the current remaining bandwidth is greater than The first preset threshold is described, and the current remaining storage space of the local hard disk of the interactive network television is greater than the second preset threshold.
- the recording module 20 records the program in the local program list of the interactive network television.
- the first preset threshold of the remaining bandwidth may be preset, and the interaction is set according to the first preset threshold.
- a preset condition of the download parameter of the network television wherein the preset condition is that the current remaining bandwidth is greater than the first preset threshold.
- the program file that has been downloaded and stored in the local hard disk of the interactive network television may be deleted, so that the local hard disk of the interactive network television has sufficient remaining storage space, thereby ensuring The programs in the local program list of the interactive network television are normally recorded.
- the program recording device may further include:
- the control module is configured to: stop the recording of the program in the local program list when the current parameter does not satisfy the preset condition, and record the current recording breakpoint.
- the obtaining module 10 acquires the current remaining bandwidth and the current remaining storage space of the local hard disk of the interactive network television.
- the control module controls to stop recording of the program in the local program list of the interactive network television, and simultaneously records the current recording breakpoint for the next recording from the recording breakpoint.
- the recording module 20 is further configured to:
- the recording module 20 detects whether there is an unrecorded program in the local program list of the interactive network television.
- the recording status of each program in the local program list of the interactive network television is set with a corresponding recording status identifier, and the recording status of the corresponding program can be obtained by detecting the recording status identifier, including not recording. , not recorded, and recording completed. Detecting whether there is an unrecorded program in the local program list of the interactive network television by detecting a recording status indicator of the program in the local program list of the interactive network television.
- the recording module 20 continues the recording from the recording breakpoint recorded last time of the program. If there is no unrecorded program in the local program list of the interactive network television, it is detected whether there is an unrecorded program in the local program list of the interactive network television. If an unrecorded program exists in the local program list of the interactive network television, the recording module 20 records the unrecorded program.
- the program acquisition request instruction may be sent through the EPG (Electronic Program Menu), and when the streaming media server receives the program acquisition request instruction, return a recording address based on the program name identifier of the unrecorded program.
- the recording module 20 records the unrecorded program according to the acquired recording address.
- the recording module 20 sequentially records the plurality of unrecorded programs in the order of recording priority.
- the recording priority order may be a program recording sequence arranged by the user according to his or her own preference, or a program recording sequence arranged according to the popular order of the programs, and may also be other program recording sequences, for example,
- the recording priority of the program designated by the user is set to the highest, and the other programs sequentially set the recording priority according to the popular order of the programs, and the recording module 20 sequentially records the programs according to the set recording priority order.
- the recording status flag of each of the programs is updated when the recording of each program in the local program list of the interactive network television ends, whether the recording is completed or the recording ends in the middle of the recording. For example, when the recording of an unrecorded program in the local program list of the interactive network television is completed, the recording status indicator of the program is updated from the unrecorded completion to the recording completion.
- the solution proposed in this embodiment first acquires the current download parameter of the terminal by the obtaining module 10, and when the download parameter meets the preset condition, the recording module 20 records the local program column of the terminal.
- the program in the table when the user selects to play the program in the local program list, since the program has been recorded, the phenomenon of video jamming when the program is played is avoided, thereby ensuring that the user normally watches the program.
- the program recording apparatus further includes:
- the update module 30 is configured to: update the terminal local program list according to a program list in the server.
- the updating module 30 before the obtaining module 10 acquires the current remaining bandwidth and the current remaining storage space of the local hard disk of the interactive network television, the updating module 30 first updates the local program list of the interactive network television according to the program list in the server.
- the program list in the server is a hotspot program list in which the current hot program is arranged in a popular order, and the update module 30 updates the local program list of the interactive network television according to the hot program list of the server.
- an update period T2 may be set in this embodiment, and the update module 30 periodically updates the local program list of the interactive network television according to the update period T2.
- the recording module 20 includes:
- the comparing unit 201 is configured to: when the download parameter meets the preset condition, acquire the updated program list and the same program in the program list before the update;
- the comparing unit 201 compares the updated local program list of the interactive network television with the local program list of the interactive network television before the update, and acquires the interaction between the local program list of the updated interactive network television and the pre-update interaction. The same program in the local program list of the Internet TV.
- the recording unit 202 is configured to: record the updated program other than the same program in the program list.
- the recording unit 202 sequentially records the updated according to the recording priority order.
- the programs in the local program list of the interactive network television are recorded in addition to the same program, that is, the updated programs are sequentially recorded in the order of recording priority.
- the same program is deleted first to obtain more The remaining storage space, and then the recording unit 202 sequentially records the updated program in the order of recording priority. It can be understood by those skilled in the art that the recording unit 202 may first sequentially record the updated program in the order of recording priority, and then delete the same program.
- the update module 30 before the obtaining module 10 obtains the current download parameter of the terminal in real time or periodically, the update module 30 first updates the terminal local program list according to the program list in the server, and then when the download parameter satisfies the preset condition.
- the recording module 20 records the updated program in the local program list of the terminal, which not only avoids the phenomenon of video jamming when the program is played, but also ensures that the program in the local program list of the recorded interactive network television is the current hot program. , thereby further improving the user experience of watching the program.
- all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
- the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
- the device/function module/function unit in the above embodiment is implemented in the form of a software function module and When sold or used as a stand-alone product, it can be stored on a computer readable storage medium.
- the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
- the current download parameter of the terminal is obtained by real-time or timing, and when the download parameter meets the preset condition, the program in the local program list of the terminal is recorded, and when the user selects to play the program in the local program list, The program has been recorded, thus avoiding the phenomenon of video jams when playing a program.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Signal Processing For Recording (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
本申请涉及但不限于音视频技术领域。This application relates to, but is not limited to, the field of audio and video technology.
随着网络的发展,越来越多的用户开始使用IPTV(交互式网络电视),IPTV利用宽带互联网可以实现用户的视频点播节目、视频广播及网上冲浪等需求。但由于带宽的限制,IPTV在视频播放时会出现视频卡顿的现象。With the development of the network, more and more users are beginning to use IPTV (interactive network TV), and IPTV can realize the video on demand program, video broadcasting and web surfing of users by using broadband Internet. However, due to bandwidth limitations, IPTV will experience video jamming during video playback.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本文提出一种节目录制方法及装置,旨在解决相关技术的交互式网络电视在视频播放时会出现视频卡顿的技术问题。This paper proposes a program recording method and device, which aims to solve the technical problem that the related network interactive video TV will have a video jam when the video is played.
一种节目录制方法,所述节目录制方法包括:A program recording method, the program recording method comprising:
实时或定时获取终端当前的下载参数;Obtain the current download parameters of the terminal in real time or periodically;
在所述下载参数满足预设的条件时,录制终端本地节目列表中的节目。When the download parameter satisfies a preset condition, the program in the local program list of the terminal is recorded.
可选地,所述实时或定时获取终端当前的下载参数的步骤之前还包括:Optionally, before the step of acquiring the current download parameter of the terminal in real time or timing, the method further includes:
根据服务器中的节目列表更新所述终端本地节目列表。The terminal local program list is updated according to a program list in the server.
可选地,所述在所述下载参数满足预设的条件时,录制终端本地节目列表中的节目的步骤包括:Optionally, when the downloading parameter meets the preset condition, the step of recording the program in the local program list of the terminal includes:
在所述下载参数满足预设的条件时,获取更新后的节目列表与更新前的节目列表中的相同节目;And acquiring, when the download parameter meets the preset condition, the updated program list and the same program in the program list before the update;
录制更新后的所述节目列表中除所述相同节目之外的其它节目。Programs other than the same program in the updated program list are recorded.
可选地,所述方法还包括:Optionally, the method further includes:
在节目录制过程中,实时或定时获取终端当前的下载参数; During the recording process of the program, the current download parameters of the terminal are obtained in real time or periodically;
在当前参数不满足所述预设的条件时,停止本地节目列表中节目的录制,并记录当前录制断点。When the current parameter does not satisfy the preset condition, the recording of the program in the local program list is stopped, and the current recording breakpoint is recorded.
可选地,所述在所述下载参数满足预设的条件时,录制终端本地节目列表中的节目的步骤包括:Optionally, when the downloading parameter meets the preset condition, the step of recording the program in the local program list of the terminal includes:
在所述下载参数满足预设的条件时,检测所述本地节目列表中是否存在未录制完成的节目;When the download parameter satisfies a preset condition, detecting whether there is an unrecorded program in the local program list;
若是,则根据保存的录制断点录制所述未录制完成的节目。If so, the unrecorded program is recorded according to the saved recording breakpoint.
可选地,在所述下载参数为剩余带宽时,所述预设的条件为所述剩余带宽大于第一预设阈值;在所述下载参数为剩余带宽以及剩余存储空间时,所述预设的条件为所述剩余带宽大于第一预设阈值,且所述剩余存储空间大于第二预设阈值。Optionally, when the download parameter is the remaining bandwidth, the preset condition is that the remaining bandwidth is greater than a first preset threshold; when the download parameter is a remaining bandwidth and a remaining storage space, the preset The condition is that the remaining bandwidth is greater than a first preset threshold, and the remaining storage space is greater than a second preset threshold.
一种节目录制装置,所述节目录制装置包括:A program recording device, the program recording device comprising:
获取模块,设置为:实时或定时获取终端当前的下载参数;The obtaining module is set to: obtain the current downloading parameter of the terminal in real time or periodically;
录制模块,设置为:在所述下载参数满足预设的条件时,录制终端本地节目列表中的节目。The recording module is configured to: when the download parameter meets the preset condition, record the program in the local program list of the terminal.
可选地,所述节目录制装置还包括:Optionally, the program recording device further includes:
更新模块,设置为:根据服务器中的节目列表更新所述终端本地节目列表。The update module is configured to: update the terminal local program list according to the program list in the server.
可选地,所述录制模块包括:Optionally, the recording module includes:
比较单元,设置为:在所述下载参数满足预设的条件时,获取更新后的节目列表与更新前的节目列表中的相同节目;a comparing unit, configured to: when the download parameter meets a preset condition, acquire an updated program list and a same program in the program list before updating;
录制单元,设置为:录制更新后的所述节目列表中除所述相同节目之外的其它节目。The recording unit is configured to: record the updated program other than the same program in the program list.
可选地,所述节目录制装置还包括:Optionally, the program recording device further includes:
控制模块,设置为:在当前参数不满足所述预设的条件时,停止本地节目列表中节目的录制,并记录当前录制断点。 The control module is configured to: stop the recording of the program in the local program list when the current parameter does not satisfy the preset condition, and record the current recording breakpoint.
可选地,所述录制模块还设置为:Optionally, the recording module is further configured to:
在所述下载参数满足预设的条件时,检测所述本地节目列表中是否存在未录制完成的节目;When the download parameter satisfies a preset condition, detecting whether there is an unrecorded program in the local program list;
若是,则根据保存的录制断点录制所述未录制完成的节目。If so, the unrecorded program is recorded according to the saved recording breakpoint.
可选地,在所述下载参数为剩余带宽时,所述预设的条件为所述剩余带宽大于第一预设阈值;在所述下载参数为剩余带宽以及剩余存储空间时,所述预设的条件为所述剩余带宽大于第一预设阈值,且所述剩余存储空间大于第二预设阈值。Optionally, when the download parameter is the remaining bandwidth, the preset condition is that the remaining bandwidth is greater than a first preset threshold; when the download parameter is a remaining bandwidth and a remaining storage space, the preset The condition is that the remaining bandwidth is greater than a first preset threshold, and the remaining storage space is greater than a second preset threshold.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。A computer readable storage medium storing computer executable instructions for performing the method of any of the above.
本发明实施例提出的节目录制方法及装置,通过实时或定时获取终端当前的下载参数,在所述下载参数满足预设的条件时,录制终端本地节目列表中的节目,当用户选择播放本地节目列表中的节目时,由于所述节目已经录制,因此避免了在播放节目时出现视频卡顿的现象。The program recording method and device according to the embodiment of the present invention acquires the current download parameter of the terminal by real time or timing, and records the program in the local program list of the terminal when the download parameter satisfies the preset condition, when the user selects to play the local program. When the program in the list is already recorded, since the program has been recorded, the phenomenon of video jamming during the playback of the program is avoided.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明节目录制方法第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of a program recording method according to the present invention;
图2为本发明节目录制方法第二实施例的流程示意图;2 is a schematic flow chart of a second embodiment of a program recording method according to the present invention;
图3为图2中步骤S20的细化流程示意图;3 is a schematic diagram of a refinement process of step S20 in FIG. 2;
图4为本发明节目录制装置第一实施例的功能模块示意图;4 is a schematic diagram of functional modules of a first embodiment of a program recording apparatus according to the present invention;
图5为本发明节目录制装置第二实施例的功能模块示意图;5 is a schematic diagram of functional modules of a second embodiment of a program recording apparatus according to the present invention;
图6为图5中录制模块的细化功能模块示意图。 FIG. 6 is a schematic diagram of a refinement function module of the recording module in FIG. 5.
本发明实施例提供的节目录制方法主要应用于交互式网络电视、智能手机、PAD(平板电脑)等终端产品中,但该节目录制方法并不限定于应用在交互式网络电视、智能手机等终端产品中。下面以交互式网络电视为例对本发明实施例的节目录制方法进行详细说明。The program recording method provided by the embodiment of the present invention is mainly applied to an end product such as an interactive network television, a smart phone, a PAD (tablet computer), but the program recording method is not limited to being applied to an endoscope such as an interactive network television or a smart phone. In the product. The program recording method of the embodiment of the present invention will be described in detail below by taking an interactive network television as an example.
如图1所示,在第一实施例中,该节目录制方法包括以下步骤:As shown in FIG. 1, in the first embodiment, the program recording method includes the following steps:
步骤S10,实时或定时获取终端当前的下载参数;Step S10: Acquire current download parameters of the terminal in real time or periodically;
在交互式网络电视处于待机状态下,实时获取交互式网络电视当前的下载参数。可选地,可设置检测周期T1,根据所述检测周期T1定时获取交互式网络电视的下载参数。本领域技术人员可以理解的是,还可以通过其他方式定时获取交互式网络电视的下载参数。在本实施例中,所述下载参数为用户家庭网络的剩余带宽以及交互式网络电视的存储盘的剩余存储空间。在其他实施例中,所述下载参数也可以仅为用户家庭网络的剩余带宽。在本实施例中,实时获取当前的剩余带宽以及交互式网络电视的存储盘的剩余存储空间,所述存储盘为交互式网络电视的本地硬盘。In the standby state of the interactive network television, the current download parameters of the interactive network television are obtained in real time. Optionally, a detection period T1 may be set, and the download parameter of the interactive network television is obtained periodically according to the detection period T1. Those skilled in the art can understand that the download parameters of the interactive network television can also be obtained periodically by other means. In this embodiment, the download parameter is the remaining bandwidth of the user's home network and the remaining storage space of the storage disk of the interactive network television. In other embodiments, the download parameter may also be only the remaining bandwidth of the user's home network. In this embodiment, the current remaining bandwidth and the remaining storage space of the storage disk of the interactive network television are obtained in real time, and the storage disk is a local hard disk of the interactive network television.
步骤S20,在所述下载参数满足预设的条件时,录制终端本地节目列表中的节目。Step S20: Record the program in the local program list of the terminal when the download parameter satisfies the preset condition.
在本实施例中,预先设置剩余带宽的第一预设阈值以及交互式网络电视的本地硬盘剩余存储空间的第二预设阈值。本领域技术人员可以理解的是,所述第一预设阈值以及第二预设阈值可根据实际情况灵活设置。同时,根据所述第一预设阈值以及所述第二预设阈设置交互式网络电视的下载参数的一个预设的条件,本实施例中,所述预设的条件为当前剩余带宽大于所述第一预设阈值,且交互式网络电视的本地硬盘的当前剩余存储空间大于所述第二预设阈值。在交互式网络电视的下载参数满足所述预设的条件时,也即当前剩余带宽大于所述第一预设阈值,且交互式网络电视的本地硬盘的当前剩余存储空间大于所述第二预设阈值时,录制交互式网络电视的本地节目列表中的节目。In this embodiment, a first preset threshold of the remaining bandwidth and a second preset threshold of the remaining storage space of the local hard disk of the interactive network television are preset. It can be understood by those skilled in the art that the first preset threshold and the second preset threshold can be flexibly set according to actual conditions. At the same time, a preset condition of the download parameter of the interactive network television is set according to the first preset threshold and the second preset threshold. In this embodiment, the preset condition is that the current remaining bandwidth is greater than The first preset threshold is described, and the current remaining storage space of the local hard disk of the interactive network television is greater than the second preset threshold. When the download parameter of the interactive network television satisfies the preset condition, that is, the current remaining bandwidth is greater than the first preset threshold, and the current remaining storage space of the local hard disk of the interactive network television is greater than the second pre- When the threshold is set, the program in the local program list of the interactive network television is recorded.
本领域技术人员可以理解的是,若交互式网络电视的下载参数为用户家 庭网络的剩余带宽,则可预先设置剩余带宽的第一预设阈值,并根据所述第一预设阈值设置交互式网络电视的下载参数的预设的条件,所述预设的条件为当前剩余带宽大于所述第一预设阈值。在交互式网络电视的下载参数满足所述预设的条件时,也即当前剩余带宽大于所述第一预设阈值时,录制交互式网络电视的本地节目列表中的节目。可选地,在录制过程中,若本地剩余存储空间不足,可删除交互式网络电视的本地硬盘中已经下载存储的节目文件,使交互式网络电视的本地硬盘具有足够的剩余存储空间,从而保证交互式网络电视的本地节目列表中的节目正常录制。Those skilled in the art can understand that if the download parameter of the interactive network television is the user's home The remaining bandwidth of the network may be preset, and a preset threshold of the remaining bandwidth may be preset, and a preset condition of the download parameter of the interactive network television is set according to the first preset threshold, where the preset condition is current The remaining bandwidth is greater than the first predetermined threshold. The program in the local program list of the interactive network television is recorded when the download parameter of the interactive network television satisfies the preset condition, that is, when the current remaining bandwidth is greater than the first preset threshold. Optionally, during the recording process, if the local remaining storage space is insufficient, the program file that has been downloaded and stored in the local hard disk of the interactive network television may be deleted, so that the local hard disk of the interactive network television has sufficient remaining storage space, thereby ensuring The programs in the local program list of the interactive network television are normally recorded.
所述步骤S20之后还可包括:The step S20 may further include:
步骤a,在当前参数不满足所述预设的条件时,停止本地节目列表中节目的录制,并记录当前录制断点。In step a, when the current parameter does not satisfy the preset condition, the recording of the program in the local program list is stopped, and the current recording breakpoint is recorded.
本实施例中,在录制交互式网络电视的本地节目列表中的节目时,再次进行步骤S10的操作,获取当前的剩余带宽以及交互式网络电视的本地硬盘的当前剩余存储空间。在交互式网络电视的当前参数不满足所述预设的条件时,例如,所述交互式网络电视的本地硬盘的当前剩余存储空间小于所述第二预设阈值,或者当前的剩余带宽小于所述第一预设阈值,则停止交互式网络电视的本地节目列表中节目的录制,同时记录当前录制断点,以供下次从该录制断点处继续录制。In this embodiment, when recording the program in the local program list of the interactive network television, the operation of step S10 is performed again to obtain the current remaining bandwidth and the current remaining storage space of the local hard disk of the interactive network television. When the current parameter of the interactive network television does not satisfy the preset condition, for example, the current remaining storage space of the local hard disk of the interactive network television is smaller than the second preset threshold, or the current remaining bandwidth is smaller than the current The first preset threshold is used to stop recording of the program in the local program list of the interactive network television, while recording the current recording breakpoint for the next recording from the recording breakpoint.
在本实施例中,所述步骤S20包括:In this embodiment, the step S20 includes:
步骤b,在所述下载参数满足预设的条件时,检测所述本地节目列表中是否存在未录制完成的节目;Step b, detecting, when the download parameter meets a preset condition, whether there is an unrecorded program in the local program list;
在交互式网络电视的下载参数满足所述预设的条件时,也即当前剩余带宽大于所述第一预设阈值,且交互式网络电视的本地硬盘的当前剩余存储空间大于所述第二预设阈值时,检测交互式网络电视的本地节目列表中是否存在有未录制完成的节目。可选地,交互式网络电视的本地节目列表中的每个节目的录制状态都设置有相应的录制状态标识,通过检测所述录制状态标识即可获取到相应的节目的录制状态,包括未录制、未录制完成以及录制完成。通过检测交互式网络电视的本地节目列表中的节目的录制状态标识,检测所述交互式网络电视的本地节目列表中是否存在未录制完成的节目。 When the download parameter of the interactive network television satisfies the preset condition, that is, the current remaining bandwidth is greater than the first preset threshold, and the current remaining storage space of the local hard disk of the interactive network television is greater than the second pre- When the threshold is set, it is detected whether there is an unrecorded program in the local program list of the interactive network television. Optionally, the recording status of each program in the local program list of the interactive network television is set with a corresponding recording status identifier, and the recording status of the corresponding program can be obtained by detecting the recording status identifier, including not recording. , not recorded, and recording completed. Detecting whether there is an unrecorded program in the local program list of the interactive network television by detecting a recording status indicator of the program in the local program list of the interactive network television.
步骤c,若是,则根据保存的录制断点录制所述未录制完成的节目。Step c, if yes, recording the unrecorded program according to the saved recording breakpoint.
若通过步骤b检测到交互式网络电视的本地节目列表中存在未录制完成的节目时,则从该节目上一次录制的录制断点处继续录制。若交互式网络电视的本地节目列表中不存在未录制完成的节目,则检测交互式网络电视的本地节目列表中是否存在未录制的节目。若检测到交互式网络电视的本地节目列表中存在未录制的节目时,则将所述未录制的节目进行录制。其中,可通过EPG(电子节目菜单)发送节目获取请求指令,当流媒体服务器接收到所述节目获取请求指令时,返回基于所述未录制节目的节目名称标识的录制地址。根据获取的所述录制地址录制所述未录制的节目。当检测到交互式网络电视的本地节目列表中存在多个未录制的节目时,则将所述多个未录制的节目按照录制优先级顺序依次进行录制。本领域技术人员可以理解的是,所述录制优先级顺序可以是用户按照自己喜好排列的节目录制顺序,或者是按照节目的热门顺序排列的节目录制顺序,还可以是其他的节目录制顺序,例如用户指定的节目的录制优先级设置为最高,其他的节目则按照节目的热门顺序依次设置录制优先级,根据所述设置的录制优先级顺序依次录制节目。If it is detected in step b that there is an unrecorded program in the local program list of the interactive network television, the recording is resumed from the recording breakpoint recorded last time of the program. If there is no unrecorded program in the local program list of the interactive network television, it is detected whether there is an unrecorded program in the local program list of the interactive network television. If an unrecorded program exists in the local program list of the interactive network television, the unrecorded program is recorded. Wherein, the program acquisition request instruction may be sent through the EPG (Electronic Program Menu), and when the streaming media server receives the program acquisition request instruction, return a recording address based on the program name identifier of the unrecorded program. The unrecorded program is recorded according to the acquired recording address. When a plurality of unrecorded programs are detected in the local program list of the interactive network television, the plurality of unrecorded programs are sequentially recorded in the order of recording priority. It can be understood by those skilled in the art that the recording priority order may be a program recording sequence arranged by the user according to his or her own preference, or a program recording sequence arranged according to the popular order of the programs, and may also be other program recording sequences, for example, The recording priority of the program specified by the user is set to the highest, and the other programs sequentially set the recording priority according to the popular order of the programs, and the programs are sequentially recorded according to the set recording priority order.
当交互式网络电视的本地节目列表中的每个节目录制结束时,不论是录制完成而结束,还是录制中途终止而结束,将所述每个节目的录制状态标识进行更新。例如,当交互式网络电视的本地节目列表中的一个未录制完成的节目录制完成时,则将该节目的录制状态标识从未录制完成更新为录制完成。The recording status flag of each of the programs is updated when the recording of each program in the local program list of the interactive network television ends, whether the recording is completed or the recording ends in the middle of the recording. For example, when the recording of an unrecorded program in the local program list of the interactive network television is completed, the recording status indicator of the program is updated from the unrecorded completion to the recording completion.
本实施例提出的方案,首先通过获取终端当前的下载参数,在所述下载参数满足预设的条件时,则录制终端本地节目列表中的节目,当用户选择播放本地节目列表中的节目时,由于所述节目已经录制,因此避免了在播放节目时出现视频卡顿的现象,从而保证了用户正常观看节目。The solution proposed in this embodiment firstly obtains the current download parameter of the terminal, and when the download parameter meets the preset condition, records the program in the local program list of the terminal, and when the user selects to play the program in the local program list, Since the program has been recorded, the phenomenon of video jamming during the playback of the program is avoided, thereby ensuring that the user normally watches the program.
参照图2,基于第一实施例提出本发明节目录制方法第二实施例,在本实施例中,所述节目录制方法在步骤S10之前还包括:Referring to FIG. 2, a second embodiment of the program recording method of the present invention is proposed based on the first embodiment. In this embodiment, the program recording method further includes:
步骤S30,根据服务器中的节目列表更新所述终端本地节目列表。 Step S30, updating the terminal local program list according to the program list in the server.
本实施例中,在获取当前的剩余带宽以及交互式网络电视的本地硬盘的当前剩余存储空间的步骤之前,先根据服务器中的节目列表更新交互式网络电视的本地节目列表。可选地,所述服务器中的节目列表为当前热点节目按热门顺序所排列的热点节目列表,根据服务器的热点节目列表对交互式网络电视的本地节目列表进行更新。为了使交互式网络电视的本地节目列表中的节目为当前最热门的节目,在本实施例中可设置更新周期T2,根据所述更新周期T2定时更新交互式网络电视的本地节目列表。In this embodiment, before the step of acquiring the current remaining bandwidth and the current remaining storage space of the local hard disk of the interactive network television, the local program list of the interactive network television is updated according to the program list in the server. Optionally, the program list in the server is a hotspot program list in which the current hot program is arranged in a popular order, and the local program list of the interactive network television is updated according to the hot program list of the server. In order to make the program in the local program list of the interactive network television the current hottest program, an update period T2 may be set in the embodiment, and the local program list of the interactive network television is periodically updated according to the update period T2.
在本实施例中,如图3所示,所述步骤S20包括:In this embodiment, as shown in FIG. 3, the step S20 includes:
步骤S21,在所述下载参数满足预设的条件时,获取更新后的节目列表与更新前的节目列表中的相同节目;Step S21, when the download parameter meets the preset condition, acquiring the updated program list and the same program in the program list before the update;
在更新交互式网络电视的本地节目列表后,若当前剩余带宽大于所述第一预设阈值,且交互式网络电视的本地硬盘的当前剩余存储空间大于所述第二预设阈值时,将更新后的交互式网络电视的本地节目列表与更新前的交互式网络电视的本地节目列表进行比对,获取所述更新后的交互式网络电视的本地节目列表与更新前的交互式网络电视的本地节目列表中的相同节目。After updating the local program list of the interactive network television, if the current remaining bandwidth is greater than the first preset threshold, and the current remaining storage space of the local hard disk of the interactive network television is greater than the second preset threshold, the information is updated. The local program list of the interactive Internet TV is compared with the local program list of the interactive network television before the update, and the local program list of the updated interactive network television is obtained and the local version of the interactive network television before the update is obtained. The same program in the program list.
步骤S22,录制更新后的所述节目列表中除所述相同节目之外的其它节目。Step S22, recording other programs in the updated program list other than the same program.
在所述更新后的交互式网络电视的本地节目列表中,除通过步骤S21获取的所述相同节目外,其它的节目则为更新节目。在当前剩余带宽大于所述第一预设阈值,且交互式网络电视的本地硬盘的当前剩余存储空间大于所述第二预设阈值时,按照录制优先级顺序,依次录制更新后的交互式网络电视的本地节目列表中除所述相同节目之外的其它节目,也即按照录制优先级顺序依次录制所述更新节目。In the updated local program list of the interactive network television, in addition to the same program acquired through step S21, other programs are updated programs. When the current remaining bandwidth is greater than the first preset threshold, and the current remaining storage space of the local hard disk of the interactive network television is greater than the second preset threshold, the updated interactive network is sequentially recorded according to the recording priority order. The programs in the local program list of the television except the same program, that is, the updated programs are sequentially recorded in the order of recording priority.
为节省终端内存,在获取到所述更新后的交互式网络电视的本地节目列表与更新前的交互式网络电视的本地节目列表中的相同节目后,先删除所述相同节目,以获得更多的剩余存储空间,然后再执行步骤S22,按照录制优先级顺序依次录制所述更新节目。本领域技术人员可以理解的是,也可以先执行步骤S22,再删除所述相同节目。 In order to save the terminal memory, after obtaining the updated program of the local program list of the interactive network television and the same program in the local program list of the pre-updated interactive network television, the same program is deleted first to obtain more The remaining storage space is then executed in step S22, and the updated program is sequentially recorded in the order of recording priority. It can be understood by those skilled in the art that step S22 may be performed first, and then the same program is deleted.
本实施例提出的方案,在实时或定时获取终端当前的下载参数之前,先根据服务器中的节目列表更新终端本地节目列表,然后在所述下载参数满足预设的条件时,录制更新后的终端本地节目列表中的节目,不仅避免了在播放节目时出现视频卡顿的现象,而且确保了录制的交互式网络电视的本地节目列表中的节目是当前热点节目,从而进一步提高了用户观看节目的体验。The solution proposed in this embodiment updates the terminal local program list according to the program list in the server before acquiring the current download parameter of the terminal in real time or timing, and then records the updated terminal when the download parameter satisfies the preset condition. The program in the local program list not only avoids the phenomenon of video jamming when playing the program, but also ensures that the program in the local program list of the recorded interactive network television is the current hot program, thereby further improving the user's viewing of the program. Experience.
本发明实施例提供一种节目录制装置。Embodiments of the present invention provide a program recording apparatus.
参照图4,图4为本发明节目录制装置第一实施例的功能模块示意图。Referring to FIG. 4, FIG. 4 is a schematic diagram of functional modules of a first embodiment of a program recording apparatus according to the present invention.
在第一实施例中,所述节目录制装置包括:In a first embodiment, the program recording apparatus includes:
获取模块10,设置为:实时或定时获取终端当前的下载参数;The obtaining
在交互式网络电视处于待机状态下,获取模块10实时获取交互式网络电视当前的下载参数。可选地,可设置检测周期T1,获取模块10根据所述检测周期T1定时获取交互式网络电视的下载参数。本领域技术人员可以理解的是,还可以通过其他方式定时获取交互式网络电视的下载参数。在本实施例中,所述下载参数为用户家庭网络的剩余带宽以及交互式网络电视的存储盘的剩余存储空间。在其他实施例中,所述下载参数也可以仅为用户家庭网络的剩余带宽。在本实施例中,获取模块10实时获取当前的剩余带宽以及交互式网络电视的存储盘的剩余存储空间,所述存储盘为交互式网络电视的本地硬盘。When the interactive network television is in the standby state, the
录制模块20,设置为:在所述下载参数满足预设的条件时,录制终端本地节目列表中的节目。The
在本实施例中,预先设置剩余带宽的第一预设阈值以及交互式网络电视的本地硬盘剩余存储空间的第二预设阈值。本领域技术人员可以理解的是,所述第一预设阈值以及第二预设阈值可根据实际情况灵活设置。同时,根据所述第一预设阈值以及所述第二预设阈设置交互式网络电视的下载参数的一个预设的条件,本实施例中,所述预设的条件为当前剩余带宽大于所述第一预设阈值,且交互式网络电视的本地硬盘的当前剩余存储空间大于所述第二预设阈值。在交互式网络电视的下载参数满足所述预设的条件时,也即当前
剩余带宽大于所述第一预设阈值,且交互式网络电视的本地硬盘的当前剩余存储空间大于所述第二预设阈值时,录制模块20录制交互式网络电视的本地节目列表中的节目。In this embodiment, a first preset threshold of the remaining bandwidth and a second preset threshold of the remaining storage space of the local hard disk of the interactive network television are preset. It can be understood by those skilled in the art that the first preset threshold and the second preset threshold can be flexibly set according to actual conditions. At the same time, a preset condition of the download parameter of the interactive network television is set according to the first preset threshold and the second preset threshold. In this embodiment, the preset condition is that the current remaining bandwidth is greater than The first preset threshold is described, and the current remaining storage space of the local hard disk of the interactive network television is greater than the second preset threshold. When the download parameter of the interactive network television satisfies the preset condition, that is, the current
When the remaining bandwidth is greater than the first preset threshold, and the current remaining storage space of the local hard disk of the interactive network television is greater than the second preset threshold, the
本领域技术人员可以理解的是,若交互式网络电视的下载参数为用户家庭网络的剩余带宽,则可预先设置剩余带宽的第一预设阈值,并根据所述第一预设阈值设置交互式网络电视的下载参数的预设的条件,所述预设的条件为当前剩余带宽大于所述第一预设阈值。在交互式网络电视的下载参数满足所述预设的条件时,也即当前剩余带宽大于所述第一预设阈值时,录制模块20录制交互式网络电视的本地节目列表中的节目。可选地,在录制过程中,若本地剩余存储空间不足,可删除交互式网络电视的本地硬盘中已经下载存储的节目文件,使交互式网络电视的本地硬盘具有足够的剩余存储空间,从而保证交互式网络电视的本地节目列表中的节目正常录制。A person skilled in the art can understand that if the download parameter of the interactive network television is the remaining bandwidth of the user home network, the first preset threshold of the remaining bandwidth may be preset, and the interaction is set according to the first preset threshold. A preset condition of the download parameter of the network television, wherein the preset condition is that the current remaining bandwidth is greater than the first preset threshold. When the download parameter of the interactive network television satisfies the preset condition, that is, when the current remaining bandwidth is greater than the first preset threshold, the
所述节目录制装置还可包括:The program recording device may further include:
控制模块,设置为:在当前参数不满足所述预设的条件时,停止本地节目列表中节目的录制,并记录当前录制断点。The control module is configured to: stop the recording of the program in the local program list when the current parameter does not satisfy the preset condition, and record the current recording breakpoint.
本实施例中,在录制交互式网络电视的本地节目列表中的节目时,获取模块10再次获取当前的剩余带宽以及交互式网络电视的本地硬盘的当前剩余存储空间。在交互式网络电视的当前参数不满足所述预设的条件时,例如,所述交互式网络电视的本地硬盘的当前剩余存储空间小于所述第二预设阈值,或者当前的剩余带宽小于所述第一预设阈值,控制模块则控制停止交互式网络电视的本地节目列表中节目的录制,同时记录当前录制断点,以供下次从该录制断点处继续录制。In this embodiment, when recording a program in the local program list of the interactive network television, the obtaining
在本实施例中,所述录制模块20还设置为:In this embodiment, the
在所述下载参数满足预设的条件时,检测所述本地节目列表中是否存在未录制完成的节目;若是,则根据保存的录制断点录制所述未录制完成的节目。When the download parameter satisfies the preset condition, detecting whether there is an unrecorded program in the local program list; if yes, recording the unrecorded program according to the saved recording breakpoint.
在交互式网络电视的下载参数满足所述预设的条件时,也即当前剩余带宽大于所述第一预设阈值,且交互式网络电视的本地硬盘的当前剩余存储空
间大于所述第二预设阈值时,录制模块20检测交互式网络电视的本地节目列表中是否存在有未录制完成的节目。可选地,交互式网络电视的本地节目列表中的每个节目的录制状态都设置有相应的录制状态标识,通过检测所述录制状态标识即可获取到相应的节目的录制状态,包括未录制、未录制完成以及录制完成。通过检测交互式网络电视的本地节目列表中的节目的录制状态标识,检测所述交互式网络电视的本地节目列表中是否存在未录制完成的节目。When the download parameter of the interactive network television satisfies the preset condition, that is, the current remaining bandwidth is greater than the first preset threshold, and the current remaining storage space of the local hard disk of the interactive network television is empty.
When the interval is greater than the second preset threshold, the
若检测到交互式网络电视的本地节目列表中存在未录制完成的节目时,录制模块20则从该节目上一次录制的录制断点处继续录制。若交互式网络电视的本地节目列表中不存在未录制完成的节目,则检测交互式网络电视的本地节目列表中是否存在未录制的节目。若检测到交互式网络电视的本地节目列表中存在未录制的节目时,录制模块20则将所述未录制的节目进行录制。其中,可通过EPG(电子节目菜单)发送节目获取请求指令,当流媒体服务器接收到所述节目获取请求指令时,返回基于所述未录制节目的节目名称标识的录制地址。录制模块20根据获取的所述录制地址录制所述未录制的节目。当检测到交互式网络电视的本地节目列表中存在多个未录制的节目时,录制模块20则将所述多个未录制的节目按照录制优先级顺序依次进行录制。本领域技术人员可以理解的是,所述录制优先级顺序可以是用户按照自己喜好排列的节目录制顺序,或者是按照节目的热门顺序排列的节目录制顺序,还可以是其他的节目录制顺序,例如用户指定的节目的录制优先级设置为最高,其他的节目则按照节目的热门顺序依次设置录制优先级,录制模块20根据所述设置的录制优先级顺序依次录制节目。If it is detected that there is an unrecorded program in the local program list of the interactive network television, the
当交互式网络电视的本地节目列表中的每个节目录制结束时,不论是录制完成而结束,还是录制中途终止而结束,将所述每个节目的录制状态标识进行更新。例如,当交互式网络电视的本地节目列表中的一个未录制完成的节目录制完成时,则将该节目的录制状态标识从未录制完成更新为录制完成。The recording status flag of each of the programs is updated when the recording of each program in the local program list of the interactive network television ends, whether the recording is completed or the recording ends in the middle of the recording. For example, when the recording of an unrecorded program in the local program list of the interactive network television is completed, the recording status indicator of the program is updated from the unrecorded completion to the recording completion.
本实施例提出的方案,首先通过获取模块10获取终端当前的下载参数,在所述下载参数满足预设的条件时,录制模块20录制终端本地节目列
表中的节目,当用户选择播放本地节目列表中的节目时,由于所述节目已经录制,因此避免了在播放节目时出现视频卡顿的现象,从而保证了用户正常观看节目。The solution proposed in this embodiment first acquires the current download parameter of the terminal by the obtaining
参照图5,基于第一实施例提出本发明节目录制装置第二实施例,在第二实施例中,所述节目录制装置还包括:Referring to FIG. 5, a second embodiment of the program recording apparatus of the present invention is proposed based on the first embodiment. In the second embodiment, the program recording apparatus further includes:
更新模块30,设置为:根据服务器中的节目列表更新所述终端本地节目列表。The
本实施例中,在获取模块10获取当前的剩余带宽以及交互式网络电视的本地硬盘的当前剩余存储空间的步骤之前,更新模块30先根据服务器中的节目列表更新交互式网络电视的本地节目列表。可选地,所述服务器中的节目列表为当前热点节目按热门顺序所排列的热点节目列表,更新模块30根据服务器的热点节目列表对交互式网络电视的本地节目列表进行更新。为了使交互式网络电视的本地节目列表中的节目为当前最热门的节目,在本实施例中可设置更新周期T2,更新模块30根据所述更新周期T2定时更新交互式网络电视的本地节目列表。In this embodiment, before the obtaining
在本实施例中,如图6所示,所述录制模块20包括:In this embodiment, as shown in FIG. 6, the
比较单元201,设置为:在所述下载参数满足预设的条件时,获取更新后的节目列表与更新前的节目列表中的相同节目;The comparing
更新模块30更新交互式网络电视的本地节目列表后,若当前剩余带宽大于所述第一预设阈值,且交互式网络电视的本地硬盘的当前剩余存储空间大于所述第二预设阈值时,比较单元201将更新后的交互式网络电视的本地节目列表与更新前的交互式网络电视的本地节目列表进行比对,获取所述更新后的交互式网络电视的本地节目列表与更新前的交互式网络电视的本地节目列表中的相同节目。After the
录制单元202,设置为:录制更新后的所述节目列表中除所述相同节目之外的其它节目。The
在所述更新后的交互式网络电视的本地节目列表中,除通过比较单元
201对比后获取的所述相同节目外,其它的节目则为更新节目。在当前剩余带宽大于所述第一预设阈值,且交互式网络电视的本地硬盘的当前剩余存储空间大于所述第二预设阈值时,按照录制优先级顺序,录制单元202依次录制更新后的交互式网络电视的本地节目列表中除所述相同节目之外的其它节目,也即按照录制优先级顺序依次录制所述更新节目。In the local program list of the updated interactive network television, except through the comparison unit
In addition to the same program acquired after
为节省终端内存,在获取到所述更新后的交互式网络电视的本地节目列表与更新前的交互式网络电视的本地节目列表中的相同节目后,先删除所述相同节目,以获得更多的剩余存储空间,然后录制单元202再按照录制优先级顺序依次录制所述更新节目。本领域技术人员可以理解的是,也可以是录制单元202先按照录制优先级顺序依次录制所述更新节目,再删除所述相同节目。In order to save the terminal memory, after obtaining the updated program of the local program list of the interactive network television and the same program in the local program list of the pre-updated interactive network television, the same program is deleted first to obtain more The remaining storage space, and then the
本实施例提出的方案,在获取模块10实时或定时获取终端当前的下载参数之前,更新模块30先根据服务器中的节目列表更新终端本地节目列表,然后在所述下载参数满足预设的条件时,录制模块20录制更新后的终端本地节目列表中的节目,不仅避免了在播放节目时出现视频卡顿的现象,而且确保了录制的交互式网络电视的本地节目列表中的节目是当前热点节目,从而进一步提高了用户观看节目的体验。In the solution proposed in this embodiment, before the obtaining
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并 作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。The device/function module/function unit in the above embodiment is implemented in the form of a software function module and When sold or used as a stand-alone product, it can be stored on a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
本发明实施例通过实时或定时获取终端当前的下载参数,在所述下载参数满足预设的条件时,录制终端本地节目列表中的节目,当用户选择播放本地节目列表中的节目时,由于所述节目已经录制,因此避免了在播放节目时出现视频卡顿的现象。 In the embodiment of the present invention, the current download parameter of the terminal is obtained by real-time or timing, and when the download parameter meets the preset condition, the program in the local program list of the terminal is recorded, and when the user selects to play the program in the local program list, The program has been recorded, thus avoiding the phenomenon of video jams when playing a program.
Claims (13)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510140672.7 | 2015-03-27 | ||
| CN201510140672.7A CN106162309A (en) | 2015-03-27 | 2015-03-27 | Method of program recording and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016155255A1 true WO2016155255A1 (en) | 2016-10-06 |
Family
ID=57003928
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/089750 Ceased WO2016155255A1 (en) | 2015-03-27 | 2015-09-16 | Program recording method and apparatus |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106162309A (en) |
| WO (1) | WO2016155255A1 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107529089A (en) * | 2017-08-18 | 2017-12-29 | 四川长虹电器股份有限公司 | Time shift and/or the storage method of imprinting |
| CN110290394A (en) * | 2019-07-15 | 2019-09-27 | 宁波华数广电网络有限公司 | A kind of video on-demand system and method |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040187151A1 (en) * | 2003-03-21 | 2004-09-23 | Dunstan Robert A. | Method, apparatus and system for managing recorded personal video recorder content |
| CN101534478A (en) * | 2008-03-11 | 2009-09-16 | 北京华星广视数码技术服务有限公司 | Video multimedia message processing method based on wireless terminal, system and wireless terminal thereof |
| US20090300678A1 (en) * | 2008-05-27 | 2009-12-03 | Samsung Electronics Co., Ltd. | Broadcast receiving apparatus to provide external devices with a list of recorded files, method for providing recorded file, and system using the same |
| CN102881307A (en) * | 2012-09-05 | 2013-01-16 | 北京得力天方信息科技有限公司 | Video and audio recording and playing system and method |
| CN103593408A (en) * | 2013-10-18 | 2014-02-19 | 卓易畅游(北京)科技有限公司 | Method and device for acquiring user subscription resources |
| CN103618919A (en) * | 2013-11-19 | 2014-03-05 | 深圳Tcl新技术有限公司 | Video loading method and device for network television |
| CN104135687A (en) * | 2014-07-29 | 2014-11-05 | 深圳创维数字技术股份有限公司 | Method for processing program data and digital television terminal |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050144640A1 (en) * | 2000-06-16 | 2005-06-30 | Minerva Networks, Inc. | Method and system for recording scheduled programs with an optional backup copy stored in a centrally located storage server farm |
| CN101268451B (en) * | 2005-09-26 | 2010-09-08 | Nec个人产品有限公司 | Content storage system, user terminal device, content storage method, content storage program, and storage medium |
-
2015
- 2015-03-27 CN CN201510140672.7A patent/CN106162309A/en not_active Withdrawn
- 2015-09-16 WO PCT/CN2015/089750 patent/WO2016155255A1/en not_active Ceased
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040187151A1 (en) * | 2003-03-21 | 2004-09-23 | Dunstan Robert A. | Method, apparatus and system for managing recorded personal video recorder content |
| CN101534478A (en) * | 2008-03-11 | 2009-09-16 | 北京华星广视数码技术服务有限公司 | Video multimedia message processing method based on wireless terminal, system and wireless terminal thereof |
| US20090300678A1 (en) * | 2008-05-27 | 2009-12-03 | Samsung Electronics Co., Ltd. | Broadcast receiving apparatus to provide external devices with a list of recorded files, method for providing recorded file, and system using the same |
| CN102881307A (en) * | 2012-09-05 | 2013-01-16 | 北京得力天方信息科技有限公司 | Video and audio recording and playing system and method |
| CN103593408A (en) * | 2013-10-18 | 2014-02-19 | 卓易畅游(北京)科技有限公司 | Method and device for acquiring user subscription resources |
| CN103618919A (en) * | 2013-11-19 | 2014-03-05 | 深圳Tcl新技术有限公司 | Video loading method and device for network television |
| CN104135687A (en) * | 2014-07-29 | 2014-11-05 | 深圳创维数字技术股份有限公司 | Method for processing program data and digital television terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106162309A (en) | 2016-11-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10347292B2 (en) | Digital video recorder options for editing content | |
| US9473548B1 (en) | Latency reduction in streamed content consumption | |
| CN104575550B (en) | Multimedia file title skipping method and electronic device | |
| CN109089130A (en) | A kind of method and apparatus for the timestamp adjusting live video | |
| US20120210015A1 (en) | Dynamic media asset delivery | |
| WO2019134293A1 (en) | Live streaming method, device, server and medium | |
| US20170249971A1 (en) | Method for generating image in which sound source is inserted and apparatus therefor | |
| US9294803B2 (en) | Kiosk set-top-box | |
| US10523996B2 (en) | Method and system for backward recording | |
| US20170094370A1 (en) | Digital video recorder and a method for dynamic management of advertising content on a digital video recorder | |
| WO2016155255A1 (en) | Program recording method and apparatus | |
| US10171847B2 (en) | Information device and distribution device | |
| CN106792217A (en) | Video playing method and device | |
| US9501482B2 (en) | Download queue as part of user interface library view for on-demand content systems and methods | |
| CN111726694B (en) | Interactive video recovery playing method and device, electronic equipment and storage medium | |
| US20120308200A1 (en) | Contiguous media playback | |
| WO2017080152A1 (en) | Data synchronization method and device | |
| EP3142376A1 (en) | Information device | |
| CN107124646B (en) | Mobile intelligent terminal video recording system and method thereof | |
| US20180192145A1 (en) | Method and Apparatus for Processing IPTV Program, and IPTV System | |
| TW201943281A (en) | Electronic apparatus and method for positioning playback position of audio and video file | |
| CN108156515A (en) | Video broadcasting method, smart television and computer readable storage medium | |
| CN103702204A (en) | Playing control method and system for live program | |
| CN119031196A (en) | A playback adjustment method, device and electronic device for re-watching video | |
| CN113596594A (en) | Time-shift playing method and device for television, television and storage medium |
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: 15887211 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: 15887211 Country of ref document: EP Kind code of ref document: A1 |