[go: up one dir, main page]

WO2009065309A1 - Method and system for storing the program and system for the program demanding - Google Patents

Method and system for storing the program and system for the program demanding Download PDF

Info

Publication number
WO2009065309A1
WO2009065309A1 PCT/CN2008/071501 CN2008071501W WO2009065309A1 WO 2009065309 A1 WO2009065309 A1 WO 2009065309A1 CN 2008071501 W CN2008071501 W CN 2008071501W WO 2009065309 A1 WO2009065309 A1 WO 2009065309A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
popular
level
hot
demand
Prior art date
Application number
PCT/CN2008/071501
Other languages
French (fr)
Chinese (zh)
Inventor
Jihua Liu
Original Assignee
Shenzhen Coship Electronics Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Coship Electronics Co., Ltd. filed Critical Shenzhen Coship Electronics Co., Ltd.
Publication of WO2009065309A1 publication Critical patent/WO2009065309A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/173Analogue secrecy systems; Analogue subscription systems with two-way working, e.g. subscriber sending a programme selection signal
    • 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/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • 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/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/439Processing of audio elementary streams
    • H04N21/4392Processing of audio elementary streams involving audio buffer management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4756End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for rating content, e.g. scoring a recommended movie
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/162Authorising the user terminal, e.g. by paying; Registering the use of a subscription channel, e.g. billing
    • H04N7/163Authorising the user terminal, e.g. by paying; Registering the use of a subscription channel, e.g. billing by receiver means only

Definitions

  • the invention belongs to the field of data storage, and in particular relates to a program storage method, system and program on demand system.
  • VS streaming media server
  • the concurrency capability of streaming media server (hereinafter referred to as VS) has always been the most critical performance indicator in the operating platform. Because of the large concurrency, the probability of VS randomly reading program data is greatly increased, resulting in disk reading. The efficiency is greatly reduced, and it is often far from meeting the output capability of the network 10. Therefore, the disk 10 becomes the biggest bottleneck of the VS concurrent performance here.
  • Many VS software vendors have added a caching mechanism in the VS, but due to the traditional 32-bit server architecture.
  • the maximum addressing capacity of the CPU is only 232Bytes (4GB), which means that the maximum physical memory of the system cannot exceed 4G, and the operating system kernel and other services also take up a lot of memory, and the rest can be used to cache the VS.
  • Physical memory is more limited, plus the size of the video file is large (1M code rate 90 minutes of program file size is about 0.7GB), VS can not cache all the video files, only some of the information can be carried out Cache, such as indexing of video files, session read-ahead cache data, etc. Under this strategy, VS has reduced the disk throughput, but the overall performance has not been greatly improved. Due to the huge amount of program data, the bottleneck of disk 10 has not been undone.
  • An object of the present invention is to provide a program storage method, which aims to solve the problem of poor concurrency of a streaming media server in the prior art.
  • the embodiment of the present invention is implemented as a program storage method, and the method includes the following steps: determining a level of a popular program;
  • Another object of the embodiments of the present invention is to provide a program storage system, where the system includes: a popular program level judging module for judging a level of a popular program;
  • a program content storage module configured to: when the hot program level determining module determines that the level of the hot program is the highest, cache the content of the popular program; and when the hot program level determining module determines the hot item When the level of the program is low, a partial segment of the popular program is cached.
  • Another object of the embodiments of the present invention is to provide a program-on-demand system, where the system includes: an operation system, configured to generate a popular program list;
  • a database configured to store a list of popular programs generated by the operating system
  • the program storage system includes:
  • a popular program level judging module for judging a level of a popular program
  • a program content storage module configured to: when the hot program level determining module determines that the level of the hot program is the highest, cache the content of the popular program; and when the hot program level determining module determines the hot item When the level of the program is low, a partial segment of the popular program is cached.
  • the hot program is cached, and the cached program content is periodically maintained according to the user's on-demand condition, thereby improving the concurrent capability of the streaming media server.
  • FIG. 1 is a flowchart of an implementation of a program storage method according to an embodiment of the present invention
  • FIG. 2 is a block diagram of a program on demand system according to an embodiment of the present invention.
  • FIG. 1 is a flowchart showing an implementation process of a program storage method according to an embodiment of the present invention. The detailed steps are as follows:
  • step 101 the popular programs are classified according to the popularity level, wherein the popular program list records the popularity ranking and popularity of each popular program.
  • the hot program has the highest level of popular programs and the lower level.
  • Popular programs, among which the highest-ranking popular programs are T+ programs, while the lower-level popular programs are T-type programs.
  • the system can specify a definition based on the popularity of the program itself, that is, designating a program as a certain level of popular programs.
  • relevant information of each popular program is stored in the popular program list, and the program with high frequency of on-demand is a popular program.
  • the system can determine the hot program according to a certain standard.
  • the classification level for example, a popular program that specifies a value exceeding a certain value belongs to the highest-ranking popular program, and a popular program below the value is a lower-level popular program, wherein a field in the popular program list is a level that marks the popular program. classification.
  • the popularity is the number of times each popular program is clicked. For popular programs of the same level, the order of the hot programs in the list of popular programs is determined by the heat.
  • step 102 the level type of the popular program is determined. If the hot program is a T+ program, step 103 is performed; if the hot program is a T program, step 104 is performed.
  • the process of determining the level type of the popular program is actually determining the mark of the corresponding level classification field of the popular program in the popular program list, and determining the popular program when the mark is a T+ program.
  • T programs are similar.
  • step 103 if the popular program is a T+ program, the content of the T+ program is all cached for the user to order.
  • step 104 if the popular program is a T-type program, a partial segment of the popular program is cached, wherein the partial segment is cached for the beginning portion and the popular segment portion of the popular program.
  • the content of the popular program may be partially segmented, that is, the partial segment is a beginning portion of the program and a hot segment portion.
  • the beginning part of the popular program must be viewed, so the beginning part of the popular program is to be cached, wherein the beginning part of the popular program can be set according to actual needs. For example, it can be set to 10 minutes; then each of the wonderful segments in the T-type program is divided, and then the divided hot segments of the popular program are cached.
  • the user continuously records the access events of the lower-level popular programs, that is, the T-type program segments, and counts the popular segments according to the number of accesses. Create a program-on-demand log based on the access event. Then, the stored information recorded in the popular program list is updated according to the access event, that is, reordered according to the on-demand popularity in the popular program list. If a certain segment of the T-type program is accessed once by the viewing user, that is, an access event, correspondingly, the popularity of the segment is correspondingly increased by 1, wherein the access event includes the start time of accessing the segment, and the segment to which the segment belongs.
  • the program logo and the serial number of the clip (the serial number of the clip in the program segment).
  • the updated popular program list and the streaming media are The hot program information cached in the server is compared, and the updated hot list content of the popular list and the hot program stored in the cache is retained in the cache, the old popular program content is deleted, the storage space is released, and The corresponding new popular program content in the updated popular program list is cached, and the storage manner is as described above.
  • the old popular program is still in use state, that is, when updating, the user is on-demanding the popular program content. Marking the hot program as the to-be-deleted state.
  • the usage count of the popular program is 0 (the viewing user is no longer on-demand)
  • the storage information of the popular program is deleted, and the cache space is released; when the cache space of the popular program is insufficient Popular programs can be temporarily stored in redundant space.
  • Fig. 2 is a block diagram showing a program on demand system according to an embodiment of the present invention. For convenience of explanation, only parts related to the embodiment of the present invention are shown.
  • the program storage system 11 is placed in a streaming media server, the program storage system 11 receives the user's on-demand broadcast of the popular programs, and generates a corresponding log according to the user's on-demand, and then the operation system 12 generates a list of popular programs based on the on-demand logs of the program storage system 11. And storing the list of popular programs in the database 13, the program storage system 11 buffering the contents of the popular programs based on the information of the list of popular programs.
  • the program storage system 11 includes a program classification module 111, a hot program level determination module 112, a program content storage module 113, an access event recording module 114, a log processing module 115, and a hot program update module 116, where:
  • the program classification module 111 receives the level classification of the popular program by the viewing user.
  • the popular program ranks the highest level of the popular program and the lower level popular program, wherein the highest level of the popular program is the T+ program, and the lower level is the hottest.
  • the program is a T-type program; the popular program level determining module 112 determines the level of the popular program, and when the popular program level determining module 112 determines that the popular program is a T+ class program, the program content storage module 113 performs all the contents of the T+ class program. Cache, when When the popular program level determining module 112 determines that the hot program is a T-type program, the program content storage module 113 caches a partial segment of the popular program.
  • the partial portion of the popular program includes a beginning portion and a hot segment of the popular program. section.
  • the access event recording module 114 continuously records the access events of the user's lower-level popular programs, that is, the T-type program segments, during the program-on-demand process, and counts the popular segments according to the number of accesses
  • the processing module is 115 Create a program-on-demand message based on an access event to a popular program, and send the log to the operating system.
  • the popular program update module 116 updates the stored information recorded in the popular program list in the database 13 according to the access event, that is, reorders according to the on-demand popularity in the popular program list.
  • the access event includes the start time of accessing the segment, and the segment belongs to The program logo and the serial number of the clip (the serial number of the clip in the program segment).
  • the hot program update module 116 updates the program content cached in the program content storage module 113, that is, the updated hot program list and the cached in the streaming server.
  • the popular programs are compared, and the updated popular list matches the popular programs stored in the cache, and continues to remain in the cache, deletes the old popular program content, releases the storage space, and updates the updated popular programs.
  • the new corresponding popular program content in the list is cached, and the storage manner is as described above.
  • the old popular program is still in use state, that is, when the update is currently, the user is on-demanding the popular program content, then the popular The program is marked as to be deleted.
  • the usage count of the popular program is 0, the content of the popular program is deleted, and the cache space is released.
  • the hot program can be temporarily stored in the redundant space.
  • the hot program is cached, and the cached program content is periodically maintained according to the user's on-demand condition, thereby improving the concurrent capacity of the streaming media server and reducing the operation cost.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A method and a system for storing the program and a system for the program demanding are suitable for using in the data storing field. Said method includes the following steps: judging a level of a hot program; if the level of said hot program is the highest, buffering the whole content of said hot program; if the level of said hot program is lower, buffering a part segments of said hot program. In the embodiments of the invention, the hot program is buffered, and the buffered program content is timing maintained based on the demanding condition of the user.

Description

一种节目存储方法、 系统及节目点播系统  Program storage method, system and program on demand system
本申请要求于 2007 年 11 月 22 日提交中国专利局、 申请号为 200710077412.5、 发明名称为 "一种节目存储方法、 系统及节目点播系统" 的 中国专利申请的优先权, 其全部内容通过引用结合在本申请中。  This application claims priority to Chinese Patent Application No. 200710077412.5, entitled "Program Storage Method, System and Program On Demand System", filed on November 22, 2007, the entire contents of which are incorporated by reference. In this application.
技术领域 Technical field
本发明属于数据存储领域, 尤其涉及一种节目存储方法、 系统及节目点播 系统。  The invention belongs to the field of data storage, and in particular relates to a program storage method, system and program on demand system.
背景技术 Background technique
在流媒体领域, 流媒体服务器 (以下简称 VS ) 的并发能力一直是运营平 台中最关键的性能指标, 由于在较大并发情况下, VS随机读取节目数据的概 率大大增加, 导致磁盘读取效率大大降低, 往往远远无法满足网络 10的输出 能力, 因此磁盘 10在这里就成为了 VS并发性能的最大瓶颈,很多 VS软件商 都在 VS中增加了緩存机制, 但是由于在传统 32位服务器架构中, CPU的寻 址能力最大只有 232Bytes ( 4GB ), 也就说系统最大物理内存不能超过 4G, 并 且操作系统内核和其他服务也占用了不少内存, 剩下可以用来给 VS当作緩存 的物理内存就更有限了, 再加上视频文件尺寸较大( 1M码率 90分钟的节目 文件尺寸约有 0.7GB ), VS不可能将数个视频文件全部緩存, 只能将其中的部 分信息进行緩存,比如视频文件的索引、会话预读緩存数据等。在这种策略下, VS虽然减少了一定的磁盘吞吐, 但整体性能并没有得到很大的提高, 由于节 目数据的庞大, 磁盘 10的瓶颈问题仍然没有摆脱。  In the field of streaming media, the concurrency capability of streaming media server (hereinafter referred to as VS) has always been the most critical performance indicator in the operating platform. Because of the large concurrency, the probability of VS randomly reading program data is greatly increased, resulting in disk reading. The efficiency is greatly reduced, and it is often far from meeting the output capability of the network 10. Therefore, the disk 10 becomes the biggest bottleneck of the VS concurrent performance here. Many VS software vendors have added a caching mechanism in the VS, but due to the traditional 32-bit server architecture. In the CPU, the maximum addressing capacity of the CPU is only 232Bytes (4GB), which means that the maximum physical memory of the system cannot exceed 4G, and the operating system kernel and other services also take up a lot of memory, and the rest can be used to cache the VS. Physical memory is more limited, plus the size of the video file is large (1M code rate 90 minutes of program file size is about 0.7GB), VS can not cache all the video files, only some of the information can be carried out Cache, such as indexing of video files, session read-ahead cache data, etc. Under this strategy, VS has reduced the disk throughput, but the overall performance has not been greatly improved. Due to the huge amount of program data, the bottleneck of disk 10 has not been undone.
发明内容 Summary of the invention
本发明实施例的目的在于提供一种节目存储方法,旨在解决现有技术中流 媒体服务器并发能力差的问题。  An object of the present invention is to provide a program storage method, which aims to solve the problem of poor concurrency of a streaming media server in the prior art.
本发明实施例是这样实现的,一种节目存储方法,所述方法包括下述步骤: 判断热门节目的级别;  The embodiment of the present invention is implemented as a program storage method, and the method includes the following steps: determining a level of a popular program;
若所述热门节目的级别为最高时, 则将所述热门节目的内容全部进行緩 存;  If the level of the popular program is the highest, the content of the popular program is all cached;
若所述热门节目的级别较低时, 则将所述热门节目的部分片段进行緩存。 本发明实施例的另一目的在于提供一种节目存储系统, 所述系统包括: 热门节目级别判断模块, 用于判断热门节目的级别; 以及 If the level of the popular program is low, a partial segment of the popular program is cached. Another object of the embodiments of the present invention is to provide a program storage system, where the system includes: a popular program level judging module for judging a level of a popular program;
节目内容存储模块,用于当所述热门节目级别判断模块判断所述热门节目 的级别为最高时, 则将所述热门节目的内容全部进行緩存; 当所述热门节目级 别判断模块判断所述热门节目的级别较低时,则将所述热门节目的部分片段进 行緩存。  a program content storage module, configured to: when the hot program level determining module determines that the level of the hot program is the highest, cache the content of the popular program; and when the hot program level determining module determines the hot item When the level of the program is low, a partial segment of the popular program is cached.
本发明实施例的另一目的在于提供一种节目点播系统, 所述系统包括: 运营系统, 用于生成热门节目列表;  Another object of the embodiments of the present invention is to provide a program-on-demand system, where the system includes: an operation system, configured to generate a popular program list;
数据库, 用于存储所述运营系统生成的热门节目列表; 以及  a database, configured to store a list of popular programs generated by the operating system;
节目存储系统, 用于提供热门节目的点播服务;  a program storage system for providing on-demand services of popular programs;
所述节目存储系统包括:  The program storage system includes:
热门节目级别判断模块, 用于判断热门节目的级别; 以及  a popular program level judging module for judging a level of a popular program;
节目内容存储模块,用于当所述热门节目级别判断模块判断所述热门节目 的级别为最高时, 则将所述热门节目的内容全部进行緩存; 当所述热门节目级 别判断模块判断所述热门节目的级别较低时,则将所述热门节目的部分片段进 行緩存。  a program content storage module, configured to: when the hot program level determining module determines that the level of the hot program is the highest, cache the content of the popular program; and when the hot program level determining module determines the hot item When the level of the program is low, a partial segment of the popular program is cached.
在本发明实施例中, 对热门节目进行緩存, 并根据用户的点播情况, 定时 的维护緩存的节目内容, 从而提高了流媒体服务器并发能力。  In the embodiment of the present invention, the hot program is cached, and the cached program content is periodically maintained according to the user's on-demand condition, thereby improving the concurrent capability of the streaming media server.
附图说明 DRAWINGS
图 1是本发明实施例提供的节目存储方法的实现流程图;  1 is a flowchart of an implementation of a program storage method according to an embodiment of the present invention;
图 2是本发明实施例提供的节目点播系统的框图。  2 is a block diagram of a program on demand system according to an embodiment of the present invention.
具体实施方式 detailed description
为了使本发明的目的、技术方案及优点更加清楚明白, 以下结合附图及实 施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅 仅用以解释本发明, 并不用于限定本发明。  The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
图 1示出了本发明实施例提供的节目存储方法的实现流程,其详细步骤如 下所述:  FIG. 1 is a flowchart showing an implementation process of a program storage method according to an embodiment of the present invention. The detailed steps are as follows:
在步骤 101中,根据热门级别对热门节目进行级别分类, 其中热门节目列 表记录每个热门节目的热门等级分类及热度。  In step 101, the popular programs are classified according to the popularity level, wherein the popular program list records the popularity ranking and popularity of each popular program.
在本发明实施例中,热门节目的等级为级别最高的热门节目及级别较低的 热门节目, 其中, 级别最高的热门节目为 T+类节目, 而级别较低的热门节目 为 T类节目。 In the embodiment of the present invention, the hot program has the highest level of popular programs and the lower level. Popular programs, among which the highest-ranking popular programs are T+ programs, while the lower-level popular programs are T-type programs.
在运营的开始, 系统可以根据节目自身的流行度来指定定义, 即指定某个 节目为某个级别的热门节目。在随后的热门节目的点播过程中,每个热门节目 的相关信息都会存储在热门节目列表中, 点播频率高的节目就是热门节目,在 该实施例中, 系统可以根据某个标准确定热门节目的分类级别, 例如规定超过 某个数值的热门节目就属于级别最高的热门节目, 而低于该数值的热门节目 为级别较低的热门节目,其中热门节目列表中有一字段就是标记该热门节目的 级别分类。  At the beginning of the operation, the system can specify a definition based on the popularity of the program itself, that is, designating a program as a certain level of popular programs. In the on-demand process of subsequent popular programs, relevant information of each popular program is stored in the popular program list, and the program with high frequency of on-demand is a popular program. In this embodiment, the system can determine the hot program according to a certain standard. The classification level, for example, a popular program that specifies a value exceeding a certain value belongs to the highest-ranking popular program, and a popular program below the value is a lower-level popular program, wherein a field in the popular program list is a level that marks the popular program. classification.
热度为每个热门节目被点播的次数,对于级别相同的热门节目, 通过热度 来决定热门节目在上述热门节目列表的排列顺序。  The popularity is the number of times each popular program is clicked. For popular programs of the same level, the order of the hot programs in the list of popular programs is determined by the heat.
在步骤 102中, 判断热门节目的级别类型, 若该热门节目为 T+类节目时, 则执行步骤 103; 若该热门节目为 T类节目时, 则执行步骤 104。  In step 102, the level type of the popular program is determined. If the hot program is a T+ program, step 103 is performed; if the hot program is a T program, step 104 is performed.
在本发明实施例中,该判断热门节目的级别类型的过程实际上就是判断在 热门节目列表中该热门节目的相应的级别分类字段的标记, 当该标记为 T+类 节目时就判定该热门节目为 T+类节目, T类节目也类似。  In the embodiment of the present invention, the process of determining the level type of the popular program is actually determining the mark of the corresponding level classification field of the popular program in the popular program list, and determining the popular program when the mark is a T+ program. For T+ programs, T programs are similar.
在步骤 103中, 若该热门节目为 T+类节目时, 则将该 T+类节目的内容全 部进行緩存, 供用户点播。  In step 103, if the popular program is a T+ program, the content of the T+ program is all cached for the user to order.
在步骤 104中,若该热门节目为 T类节目时,则将该热门节目的部分片段 进行緩存, 其中, 该部分片段为该热门节目的开始部分及热门片段部分进行緩 存。  In step 104, if the popular program is a T-type program, a partial segment of the popular program is cached, wherein the partial segment is cached for the beginning portion and the popular segment portion of the popular program.
在本发明实施例中,若该热门节目为 T类节目时,可以对该热门节目的内 容进行部分片段划分, 即该部分片段为节目的开始部分以及热门片段部分。在 该实施例中, 按照普通用户的观看习惯, 热门节目的开始部分是一定要看的, 因此该热门节目的开始部分要进行緩存,其中该热门节目的开始部分可以才艮据 实际需要进行设置, 例如可以设置为 10分钟; 然后就是在该 T类节目中的每 个精彩的片段进行划分, 然后对划分的该热门节目的热门片段进行緩存。  In the embodiment of the present invention, if the popular program is a T-type program, the content of the popular program may be partially segmented, that is, the partial segment is a beginning portion of the program and a hot segment portion. In this embodiment, according to the viewing habits of ordinary users, the beginning part of the popular program must be viewed, so the beginning part of the popular program is to be cached, wherein the beginning part of the popular program can be set according to actual needs. For example, it can be set to 10 minutes; then each of the wonderful segments in the T-type program is divided, and then the divided hot segments of the popular program are cached.
作为本发明的一个实施例,在节目点播过程中, 不断记录用户对级别较低 的热门节目即 T类节目片段的访问事件,并根据访问次数统计热门片段, 同时 根据该访问事件创建节目点播日志。 然后,根据访问事件对记录在热门节目列 表中的存储信息进行更新, 即在热门节目列表中按照点播热度重新进行排序。 若 T类节目的某个片段被观看用户完整的访问一次, 即为一个访问事件,相应 地,该片段的热度相应的增加 1 ,其中该访问事件包括访问该片段的开始时间、 该片段所属的节目标志以及片段序号 (该片段在节目分段中的序号)。 As an embodiment of the present invention, during the program-on-demand process, the user continuously records the access events of the lower-level popular programs, that is, the T-type program segments, and counts the popular segments according to the number of accesses. Create a program-on-demand log based on the access event. Then, the stored information recorded in the popular program list is updated according to the access event, that is, reordered according to the on-demand popularity in the popular program list. If a certain segment of the T-type program is accessed once by the viewing user, that is, an access event, correspondingly, the popularity of the segment is correspondingly increased by 1, wherein the access event includes the start time of accessing the segment, and the segment to which the segment belongs. The program logo and the serial number of the clip (the serial number of the clip in the program segment).
作为本发明的另一个实施例,若对级别较低的热门节目即 T类节目的访问 事件进行记录, 并对热门节目列表的存储信息进行更新后,将该更新后的热门 节目列表与流媒体服务器中緩存的热门节目信息进行比对,更新后的热门列表 与緩存中存储的热门节目一致的热门节目内容, 继续保留在緩存中,对旧的热 门节目内容进行删除,释放存储空间, 并将更新后的热门节目列表中对应的新 的热门节目内容进行緩存, 其存储方式如上所述, 当旧的热门节目仍处在使用 状态, 即在更新当前, 用户正在对该热门节目内容进行点播, 则将该热门节目 标记为待删除状态, 当该热门节目的使用计数为 0时(观看用户不再点播), 将该热门节目的存储信息进行删除,释放緩存空间; 当热门节目的緩存空间不 足时, 可以将热门节目暂时存储在冗余空间。  As another embodiment of the present invention, if an access event of a lower-level popular program, that is, a T-type program, is recorded, and the stored information of the popular program list is updated, the updated popular program list and the streaming media are The hot program information cached in the server is compared, and the updated hot list content of the popular list and the hot program stored in the cache is retained in the cache, the old popular program content is deleted, the storage space is released, and The corresponding new popular program content in the updated popular program list is cached, and the storage manner is as described above. When the old popular program is still in use state, that is, when updating, the user is on-demanding the popular program content. Marking the hot program as the to-be-deleted state. When the usage count of the popular program is 0 (the viewing user is no longer on-demand), the storage information of the popular program is deleted, and the cache space is released; when the cache space of the popular program is insufficient Popular programs can be temporarily stored in redundant space.
图 2示出了本发明实施例提供的节目点播系统的框图, 为了便于说明, 图 中仅示出了与本发明实施例相关的部分。  Fig. 2 is a block diagram showing a program on demand system according to an embodiment of the present invention. For convenience of explanation, only parts related to the embodiment of the present invention are shown.
节目存储系统 11置于流媒体服务器中,该节目存储系统 11接收用户对热 门节目的点播, 并根据用户的点播生成相应的日志, 然后运营系统 12根据节 目存储系统 11的点播日志生成热门节目列表, 并将该热门节目列表存储在数 据库 13中, 节目存储系统 11根据热门节目列表的信息緩存热门节目的内容。  The program storage system 11 is placed in a streaming media server, the program storage system 11 receives the user's on-demand broadcast of the popular programs, and generates a corresponding log according to the user's on-demand, and then the operation system 12 generates a list of popular programs based on the on-demand logs of the program storage system 11. And storing the list of popular programs in the database 13, the program storage system 11 buffering the contents of the popular programs based on the information of the list of popular programs.
在本发明实施例中, 节目存储系统 11 包括节目分类模块 111、 热门节目 级别判断模块 112、 节目内容存储模块 113、 访问事件记录模块 114、 日志处 理模块 115以及热门节目更新模块 116, 其中:  In the embodiment of the present invention, the program storage system 11 includes a program classification module 111, a hot program level determination module 112, a program content storage module 113, an access event recording module 114, a log processing module 115, and a hot program update module 116, where:
节目分类模块 111接收观看用户对热门节目的级别分类,热门节目的等级 为级别最高的热门节目及级别较低的热门节目, 其中, 级别最高的热门节目为 T+类节目, 而级别较低的热门节目为 T类节目; 热门节目级别判断模块 112 判断热门节目的级别, 当该热门节目级别判断模块 112判断该热门节目为 T+ 类节目时, 节目内容存储模块 113将该 T+类节目的内容全部进行緩存, 当该 热门节目级别判断模块 112判断热门节目为 T类节目时, 节目内容存储模块 113将热门节目的部分片段进行緩存, 在该实施例中, 该热门节目的部分片段 包括热门节目的开始部分和热门片段部分。 The program classification module 111 receives the level classification of the popular program by the viewing user. The popular program ranks the highest level of the popular program and the lower level popular program, wherein the highest level of the popular program is the T+ program, and the lower level is the hottest. The program is a T-type program; the popular program level determining module 112 determines the level of the popular program, and when the popular program level determining module 112 determines that the popular program is a T+ class program, the program content storage module 113 performs all the contents of the T+ class program. Cache, when When the popular program level determining module 112 determines that the hot program is a T-type program, the program content storage module 113 caches a partial segment of the popular program. In this embodiment, the partial portion of the popular program includes a beginning portion and a hot segment of the popular program. section.
在本发明实施例中,访问事件记录模块 114在节目点播过程中, 不断记录 用户对级别较低的热门节目即 T类节目片段的访问事件,并根据访问的次数统 计热门片段, 曰志处理模块 115根据对热门节目的访问事件,创建节目点播曰 志, 将该日志发送给运营系统。 同时, 热门节目更新模块 116根据访问事件对 数据库 13中记录在热门节目列表中的存储信息进行更新, 即在热门节目列表 中按照点播热度重新进行排序。其中,若该 T类节目的某个片段部分被用户完 整的访问一次, 即为一个访问事件, 相应地, 该片段的热度相应的增加 1 , 访 问事件包括访问该片段的开始时间、该片段所属的节目标志以及片段序号(该 片段在节目分段中的序号)。  In the embodiment of the present invention, the access event recording module 114 continuously records the access events of the user's lower-level popular programs, that is, the T-type program segments, during the program-on-demand process, and counts the popular segments according to the number of accesses, and the processing module is 115 Create a program-on-demand message based on an access event to a popular program, and send the log to the operating system. At the same time, the popular program update module 116 updates the stored information recorded in the popular program list in the database 13 according to the access event, that is, reorders according to the on-demand popularity in the popular program list. Wherein, if a certain segment of the T-type program is completely accessed by the user once, that is, an access event, correspondingly, the heat of the segment is correspondingly increased by one, and the access event includes the start time of accessing the segment, and the segment belongs to The program logo and the serial number of the clip (the serial number of the clip in the program segment).
当根据访问事件记录模块对数据库中的节目列表的更新后,热门节目更新 模块 116对节目内容存储模块 113中緩存的节目内容进行更新,即将该更新后 的热门节目列表与流媒体服务器中緩存的热门节目进行比对,更新后的热门列 表与緩存中存储的热门节目一致的热门节目内容, 继续保留在緩存中,对于旧 的热门节目内容进行删除,释放存储空间, 并将更新后的热门节目列表中的新 的对应的热门节目内容进行緩存, 其存储方式如上所述, 当旧的热门节目仍处 在使用状态, 即在更新当前, 用户正在对该热门节目内容进行点播, 则将该热 门节目标记为待删除状态, 当该热门节目的使用计数为 0时,将该热门节目内 容进行删除, 释放緩存空间; 当热门节目的緩存空间不足时, 可以将热门节目 暂时存储在冗余空间。  After updating the program list in the database according to the access event recording module, the hot program update module 116 updates the program content cached in the program content storage module 113, that is, the updated hot program list and the cached in the streaming server. The popular programs are compared, and the updated popular list matches the popular programs stored in the cache, and continues to remain in the cache, deletes the old popular program content, releases the storage space, and updates the updated popular programs. The new corresponding popular program content in the list is cached, and the storage manner is as described above. When the old popular program is still in use state, that is, when the update is currently, the user is on-demanding the popular program content, then the popular The program is marked as to be deleted. When the usage count of the popular program is 0, the content of the popular program is deleted, and the cache space is released. When the cache space of the popular program is insufficient, the hot program can be temporarily stored in the redundant space.
在本发明实施例中, 对热门节目进行緩存, 并根据用户的点播情况, 定时 的维护緩存的节目内容, 从而提高了流媒体服务器并发能力, 减少运营成本。  In the embodiment of the present invention, the hot program is cached, and the cached program content is periodically maintained according to the user's on-demand condition, thereby improving the concurrent capacity of the streaming media server and reducing the operation cost.
以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发 明的精神和原则之内所作的任何修改、等同替换和改进等, 均应包含在本发明 的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. Within the scope.

Claims

权 利 要 求 Rights request
1、 一种节目存储方法, 其特征在于, 所述方法包括下述步骤:  A program storage method, characterized in that the method comprises the following steps:
判断热门节目的级别;  Determine the level of popular programs;
若所述热门节目的级别为最高时, 则将所述热门节目的内容全部进行緩 存;  If the level of the popular program is the highest, the content of the popular program is all cached;
若所述热门节目的级别较低时, 则将所述热门节目的部分片段进行緩存。 If the level of the popular program is low, a partial segment of the popular program is cached.
2、 如权利要求 1所述的节目存储方法, 其特征在于, 所述判断热门节目 的级别之前还包括下述步骤: 2. The program storage method according to claim 1, wherein the determining the level of the popular program further comprises the following steps:
根据热门级别对热门节目进行级别分类。  Top-level categorization of popular shows based on popularity.
3、 如权利要求 1所述的节目存储方法, 其特征在于, 所述热门节目的部 分片段包括热门节目的开始部分和热门片段部分。  The program storage method according to claim 1, wherein the partial segment of the popular program includes a beginning portion of a popular program and a hot segment portion.
4、 如权利要求 1或 3所述的节目存储方法, 其特征在于, 所述方法还包 括下述步骤:  The program storage method according to claim 1 or 3, wherein the method further comprises the following steps:
在节目点播过程中, 不断记录级别较低的热门节目片段的访问事件, 并根 据访问的次数来统计热门片段;  During the program on demand process, the access events of the lower-level popular program segments are continuously recorded, and the popular segments are counted according to the number of visits;
根据所述热门节目的访问事件创建节目点播曰志;  Creating a program on-demand according to an access event of the popular program;
更新热门节目列表中的存储信息。  Update the stored information in the list of popular shows.
5、 一种节目存储系统, 其特征在于, 所述系统包括:  A program storage system, characterized in that the system comprises:
热门节目级别判断模块, 用于判断热门节目的级别; 以及  a popular program level judging module for judging a level of a popular program;
节目内容存储模块,用于当所述热门节目级别判断模块判断所述热门节目 的级别为最高时, 则将所述热门节目的内容全部进行緩存; 当所述热门节目级 别判断模块判断所述热门节目的级别较低时,则将所述热门节目的部分片段进 行緩存。  a program content storage module, configured to: when the hot program level determining module determines that the level of the hot program is the highest, cache the content of the popular program; and when the hot program level determining module determines the hot item When the level of the program is low, a partial segment of the popular program is cached.
6、 如权利要求 5所述的节目存储系统, 其特征在于, 所述系统还包括: 节目分类模块, 用于根据热门级别对热门节目进行级别分类。  The program storage system according to claim 5, wherein the system further comprises: a program classification module, configured to classify the popular programs according to the popularity level.
7、 如权利要求 5所述的节目的存储系统, 其特征在于, 所述热门节目的 部分片段包括热门节目的开始部分和热门片段部分。  7. The program storage system according to claim 5, wherein the partial segment of the popular program comprises a beginning portion of a popular program and a hot segment portion.
8、 如权利要求 5或 7所述的节目存储系统, 其特征在于, 所述系统还包 括: 访问事件记录模块, 用于在节目点播过程中, 不断记录级别较低的热门节 目片段的访问事件, 并根据访问的次数来统计热门片段; The program storage system according to claim 5 or 7, wherein the system further comprises: The access event recording module is configured to continuously record an access event of a lower-level popular program segment during the program on-demand process, and count the hot segment according to the number of accesses;
日志处理模块, 用于根据所述热门节目的访问事件创建节目点播日志; 以 及  a log processing module, configured to create a program on-demand log according to an access event of the popular program; and
热门节目更新模块, 用于更新热门节目列表中的存储信息。  A popular program update module for updating stored information in a list of popular programs.
9、 一种节目点播系统, 其特征在于, 所述系统包括:  9. A program on demand system, wherein the system comprises:
运营系统, 用于生成热门节目列表;  An operating system for generating a list of popular programs;
数据库, 用于存储所述运营系统生成的热门节目列表; 以及  a database, configured to store a list of popular programs generated by the operating system;
节目存储系统, 用于提供热门节目的点播服务;  a program storage system for providing on-demand services of popular programs;
所述节目存储系统包括:  The program storage system includes:
热门节目级别判断模块, 用于判断热门节目的级别; 以及  a popular program level judging module for judging a level of a popular program;
节目内容存储模块,用于当所述热门节目级别判断模块判断所述热门节目 的级别为最高时, 则将所述热门节目的内容全部进行緩存; 当所述热门节目级 别判断模块判断所述热门节目的级别较低时,则将所述热门节目的部分片段进 行緩存。  a program content storage module, configured to: when the hot program level determining module determines that the level of the hot program is the highest, cache the content of the popular program; and when the hot program level determining module determines the hot item When the level of the program is low, a partial segment of the popular program is cached.
10、 如权利要求 9所述的节目点播系统, 其特征在于, 所述节目存储系统 还包括:  The program-on-demand system of claim 9, wherein the program storage system further comprises:
节目分类模块, 用于根据热门级别对热门节目进行级别分类。  A program classification module for classifying popular programs according to popularity levels.
11、 如权利要求 9所述的节目点播系统, 其特征在于, 所述节目存储系统 还包括:  The program-on-demand system of claim 9, wherein the program storage system further comprises:
访问事件记录模块, 用于在节目点播过程中, 不断记录级别较低的热门节 目片段的访问事件, 根据访问的次数来统计热门片段;  The access event recording module is configured to continuously record the access events of the lower-level popular program segments during the program on-demand process, and count the hot segments according to the number of visits;
日志处理模块, 用于根据所述热门节目的访问事件创建节目点播日志; 以 及  a log processing module, configured to create a program on-demand log according to an access event of the popular program; and
热门节目更新模块, 用于更新热门节目列表中的存储信息。  A popular program update module for updating stored information in a list of popular programs.
PCT/CN2008/071501 2007-11-22 2008-07-01 Method and system for storing the program and system for the program demanding WO2009065309A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNA2007100774125A CN101207799A (en) 2007-11-22 2007-11-22 System and method for storing program and program ordering system
CN200710077412.5 2007-11-22

Publications (1)

Publication Number Publication Date
WO2009065309A1 true WO2009065309A1 (en) 2009-05-28

Family

ID=39567605

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/071501 WO2009065309A1 (en) 2007-11-22 2008-07-01 Method and system for storing the program and system for the program demanding

Country Status (2)

Country Link
CN (1) CN101207799A (en)
WO (1) WO2009065309A1 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207799A (en) * 2007-11-22 2008-06-25 深圳市同洲电子股份有限公司 System and method for storing program and program ordering system
CN101489111A (en) * 2009-01-14 2009-07-22 深圳市同洲电子股份有限公司 Advertisement playing method, apparatus and system for digital television on-demand
CN101763437B (en) * 2010-02-10 2013-03-27 华为数字技术(成都)有限公司 Method and device for realizing high-speed buffer storage
CN101944377A (en) * 2010-08-17 2011-01-12 深圳市同洲电子股份有限公司 Storage method and storage device for streaming media file and streaming media server
CN102075795A (en) * 2010-12-21 2011-05-25 深圳市同洲电子股份有限公司 Method and system for releasing focus television programs
CN102523256B (en) * 2011-11-30 2014-07-30 华为技术有限公司 Content management method, device and system
US9813775B2 (en) * 2014-01-15 2017-11-07 Telefonaktiebolaget Lm Ericsson (Publ) Hybrid storage of program recordings in a service provider network
CN106162218B (en) * 2015-04-03 2020-11-06 中兴通讯股份有限公司 Program recording control method, system and management and popularity statistical server
CN107483970B (en) 2016-06-08 2020-09-18 华为技术有限公司 A method and device for determining popular live video
CN108345478B (en) * 2018-02-28 2020-04-21 Oppo广东移动通信有限公司 Application processing method, device, storage medium and electronic device
CN108549525B (en) * 2018-04-04 2022-07-15 北京蓝杞数据科技有限公司天津分公司 Data storage and access method and device, electronic equipment and storage medium
CN110856007B (en) * 2019-11-21 2021-12-03 咪咕视讯科技有限公司 Content distribution network, storage optimization method thereof, electronic device, and storage medium
WO2021184333A1 (en) * 2020-03-20 2021-09-23 华为技术有限公司 Multimedia data storage method, apparatus, device, storage medium, and program product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1460387A (en) * 2001-03-26 2003-12-03 皇家菲利浦电子有限公司 Storage of multi-media items
CN1799260A (en) * 2003-05-30 2006-07-05 皇家飞利浦电子股份有限公司 Ascertaining show priority for recording of TV shows depending upon their viewed status
CN101207799A (en) * 2007-11-22 2008-06-25 深圳市同洲电子股份有限公司 System and method for storing program and program ordering system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1460387A (en) * 2001-03-26 2003-12-03 皇家菲利浦电子有限公司 Storage of multi-media items
CN1799260A (en) * 2003-05-30 2006-07-05 皇家飞利浦电子股份有限公司 Ascertaining show priority for recording of TV shows depending upon their viewed status
CN101207799A (en) * 2007-11-22 2008-06-25 深圳市同洲电子股份有限公司 System and method for storing program and program ordering system

Also Published As

Publication number Publication date
CN101207799A (en) 2008-06-25

Similar Documents

Publication Publication Date Title
WO2009065309A1 (en) Method and system for storing the program and system for the program demanding
JP4489292B2 (en) High performance object cache
Wang et al. Efficient SSD caching by avoiding unnecessary writes using machine learning
Yue et al. Building an efficient put-intensive key-value store with skip-tree
CN100568957C (en) A caching method for video-on-demand programs based on p2p technology
CN101556557A (en) Object file organization method based on object storage device
CN103150395B (en) Directory path analysis method of solid state drive (SSD)-based file system
US20080306917A1 (en) File server for performing cache prefetching in cooperation with search ap
CN104050103B (en) A kind of buffer replacing method and system for data recovery
CN113032335A (en) File access method, device, equipment and storage medium
WO2020125630A1 (en) File reading
CN107729535A (en) The collocation method of Bloom filter in a kind of key value database
CN102984256B (en) Processing method and system for metadata based on authorization manner
WO2023226314A1 (en) Application cache-scalable processing method and apparatus, device and medium
US7249219B1 (en) Method and apparatus to improve buffer cache hit rate
CN119357192B (en) Object storage index metadata management method
CN113297106A (en) Data replacement method based on hybrid storage, related method, device and system
CN108595589A (en) A kind of efficient access method of magnanimity science data picture
EP4530878A1 (en) Hash engine for conducting point queries
CN107659626B (en) A separate storage method for temporary metadata
CN109582233A (en) A kind of caching method and device of data
CN118760687A (en) Metadata index processing method, device, electronic device and storage medium
CN111913913A (en) Access request processing method and device
CN112214460A (en) High-performance storage control method based on distributed large-capacity fragmentation
CN114936229B (en) Cache classification method, device, equipment and medium based on query request path

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: 08757895

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS (EPO F1205A DATED 02-11-2010)

122 Ep: pct application non-entry in european phase

Ref document number: 08757895

Country of ref document: EP

Kind code of ref document: A1