WO2016155256A1 - Method and system for controlling program recording, and management server and hotness counting server - Google Patents

Method and system for controlling program recording, and management server and hotness counting server Download PDF

Info

Publication number
WO2016155256A1
WO2016155256A1 PCT/CN2015/089757 CN2015089757W WO2016155256A1 WO 2016155256 A1 WO2016155256 A1 WO 2016155256A1 CN 2015089757 W CN2015089757 W CN 2015089757W WO 2016155256 A1 WO2016155256 A1 WO 2016155256A1
Authority
WO
WIPO (PCT)
Prior art keywords
recording
program
server
heat
servers
Prior art date
Application number
PCT/CN2015/089757
Other languages
French (fr)
Chinese (zh)
Inventor
陈斌
姜炎
王德超
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016155256A1 publication Critical patent/WO2016155256A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server

Definitions

  • This application relates to, but is not limited to, the field of communications.
  • IPTV/OTT system For the IPTV/OTT system, more important is the on-demand and live content. If the storage of the simple program is so expensive, the cost is too high, and as the HD 4K becomes more and more popular, the space will be needed. getting bigger. The higher the cost, the more difficult it is to reduce the recording storage and reduce the cost of unnecessary recording servers.
  • This paper provides a program recording control method, system, and management and heat statistics server, which solves the problem that the related technology consumes a large storage space and occupies a large number of recording servers, resulting in high cost.
  • a program recording control method includes:
  • the management server acquires the heat information of the program from the heat statistics server before the cache time of the program arrives;
  • the management server determines, according to the heat information, the number of recording servers that record the program the amount
  • the management server selects a corresponding number of recording servers according to the determined number
  • the management server delivers a recording task for notifying the recording of the program to the selected recording server.
  • the popularity information includes the number of on-demand, or includes channel identification information and number of on-demand.
  • the management server determines, according to the heat information, that the number of recording servers that record the program includes: the management server uses the number of times of on-demand as a heat value of the program; setting a plurality of recording servers to a plurality of levels of recording servers, the recording servers of different levels including at least one recording server; and the management server determining a recording server of a corresponding level according to the heat value;
  • the management server determines, according to the heat information, the number of recording servers that record the program, including: the management server according to the channel identifier
  • the information finds an average number of times of on-demand channels corresponding to the channel identification information; the management server determines a heat value of the program according to the number of times of the order and the average number of times of on-demand; and sets a plurality of recording servers to record at multiple levels
  • the server, the recording server of different levels includes at least one recording server; and the management server determines the recording server of the corresponding level according to the heat value.
  • determining, by the management server, the popularity value of the program according to the number of times of the on-demand and the average number of on-demand times comprises: multiplying the number of times of the on-demand by the first weighting coefficient to obtain a first heat value. And multiplying the average number of times of on-demand by the second weighting coefficient to obtain a second heat value; the sum of the first weighting coefficient and the second weighting coefficient is 1; and the first heat value and the second heat The sum of the values is the heat value of the program.
  • the plurality of level recording server settings include a first level recording server, a second level recording server, and a third level recording server; and the management server determines a corresponding level of the recording server according to the heat value.
  • the first level recording server, the second level recording server, and the third level recording server are corresponding.
  • a program recording control method includes:
  • the heat statistics server counts the heat information of the program before the cache time of the program arrives
  • the heat statistics server sends the heat information of the program to the management server.
  • a program recording control method includes:
  • the heat statistics server counts the heat information of the program before the cache time of the program arrives
  • the management server obtains heat information of the program from the heat statistics server;
  • the management server selects a corresponding number of recording servers according to the determined number
  • the management server delivers a recording task for notifying the recording of the program to the selected recording server.
  • a management server including an acquisition module and a management module:
  • the obtaining module is configured to: obtain the heat information of the program from the heat statistics server before the cache time of the program arrives;
  • the management module is configured to: determine, according to the heat information, the number of recording servers that record the program, select a corresponding number of recording servers according to the determined number, and send a recording task for notifying the recording of the program to be selected. Recording server.
  • the management module when the heat information includes the number of times of on-demand, is configured to: set the number of times of the video as the heat value of the program, and set multiple recording servers to multiple a recording server of a level, the recording server of different levels includes at least one recording server, and the recording server of the corresponding level is determined according to the heat value;
  • the management module is further configured to: find an average number of times of channels of the channel corresponding to the channel identification information according to the channel identification information, and Determining the popularity value of the program according to the number of times of the broadcast and the average number of on-demand times, setting a plurality of recording servers as recording servers of multiple levels, and the recording servers of different levels include at least one recording server; determining according to the heat value The corresponding level of the recording server.
  • a heat statistics server including a statistics module and an upload module:
  • the statistic module is configured to: collect the heat information of the program before the cache time of the program arrives;
  • the uploading module is configured to: send heat information of the program to the management server.
  • a program recording control system including a heat statistics server and a management server:
  • the heat statistics server is configured to: before the cache time of the program arrives, count the heat information of the program, and send the heat information of the program to the management server;
  • the management server is configured to: obtain the heat information of the program from the heat statistics server, determine the number of recording servers for recording the program according to the heat information, and select a corresponding number of recording servers according to the determined quantity, and issue the same Used to notify the recording task of recording the program to the selected recording server.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • Embodiments of the present invention provide a program recording control method and system, and a management and heat statistics server.
  • the management server first obtains the heat information of the program from the heat statistics server before the cache time of the program arrives; then determines the number of recording servers for recording the program according to the heat information, and selects the corresponding number of recording servers according to the determined number, and finally A recording task that is used to notify the recorded program to the selected recording server.
  • not all recording servers perform recording of the program, but the number of recording servers for recording the program is determined according to the heat information of the program, that is, the current heat information is used to predict the on-demand broadcasting of the program in the future. So that it can In order to ensure that users can order the program, it will not cause any negative impact on the user's experience, and can save a lot of storage space, that is, reduce the consumption of the recording server, reduce the cost, and improve the competitiveness of the product.
  • FIG. 1 is a schematic flowchart of a method for program recording control according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic structural diagram of a field of a heat statistics table in a method for program recording control according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic flowchart of a method for program recording control according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic structural diagram of a field in a heat statistics table in a method for program recording control according to Embodiment 3 of the present invention.
  • FIG. 5 is a schematic flowchart of a method for program recording control according to Embodiment 3 of the present invention.
  • FIG. 6 is a schematic structural diagram of a management server according to Embodiment 4 of the present invention.
  • FIG. 7 is a schematic structural diagram of a heat statistics server according to Embodiment 4 of the present invention.
  • FIG. 8 is a schematic structural diagram of a system for program recording control according to Embodiment 4 of the present invention.
  • the method for program recording control of this embodiment includes the following steps:
  • Step S101 The management server acquires the heat information of the program from the heat statistics server before the cache time of the program arrives;
  • the recording server uses unified storage to store the program. If there is no recording plan (ie, recording task), the channel fragment will be deleted after the T1 time is reached; if there is a recording plan, then Fragments of the recording server will not be deleted until T2. Therefore, the management server needs to obtain the heat information of the program from the heat statistics server before the program cache time is reached, or the program cannot be recorded after the program is deleted.
  • the hot server and the management server here can also be the same server.
  • the heat information here indicates how much attention is paid to the program, that is, how many people like the program; it can be embodied by the number of times of the program, the number of times of collection, the number of comments, the number of comments, and the viewing time, etc., and should be understood as long as it reflects whether the program is a hot spot, everyone can welcome the show. For example, at present everyone likes to watch “Run, Brother” and “I am a singer", but for some science and education films "Animal World” is relatively small, such as “Run, Brother” on-demand times 500 million times and "I am The singer "on-demand frequency is 600 million times, while the "Animal World” is broadcasted 80 million times.
  • the related art records these programs on all recording servers (if there are 220 recording servers) for on-demand viewing by subsequent users. Obviously, if the "animal world" is recorded and stored in each recording server, it takes up an unnecessary recording server, resulting in waste of resources and high cost.
  • Step S102 The management server determines, according to the heat information, the number of recording servers for recording the program
  • the management server sees whether the program is a hot spot. If it is a hot spot, it means that there are many people on-demand, and it can be predicted that there will be more users to use later, then more recording servers are needed.
  • the program is stored and stored to ensure that there are enough resources for the user to use. If it is not a hot program, it means that there is less on-demand, and there will be fewer people to order the program later, so there is no need to occupy more recording servers.
  • the recording server here is a server that represents a storage function and can provide an on-demand service for a user.
  • Step S103 The management server selects a corresponding number of recording servers according to the determined number
  • the number of recording servers determined in the above step S103 is selected from those recording servers to be recorded.
  • Step S104 The management server delivers a recording task for notifying the recorded program to the selected recording server.
  • the recording task corresponding to the program is delivered to the corresponding selected recording server.
  • Add a recording task to the corresponding recording server that is, insert the recording task in the recording task table, and then the recording plan will be sent to the corresponding recording server.
  • the recording server without the recording task does not need to record the "Animal World” program.
  • Reduce storage space which in turn reduces the cost of the recording server.
  • the management server determines, according to the heat information, the number of recording servers for recording the program, including: the management server uses the number of times of the video as the heat value of the program; and sets the plurality of recording servers to multiple levels. Recording server, the recording server of different levels includes at least one recording server; the management server determines the recording server of the corresponding level according to the heat value.
  • the number of times of program on-demand how many recording servers are selected.
  • the recording server is divided into levels, for example, a certain number of recording servers are set to one level, and when the preset conditions are met, Directly start all recording servers at this level, which ensures that the selected recording server is quickly determined while saving storage space.
  • levels for example, a certain number of recording servers are set to one level, and when the preset conditions are met, Directly start all recording servers at this level, which ensures that the selected recording server is quickly determined while saving storage space.
  • 220 recording servers are set to 3 levels, namely level 1, level 2, and level 3; there are 50 recording servers in level 1, and 70 recording servers in level 2, level 3 There are 100 recording servers in it.
  • the on-demand ten million is a heat value
  • "Run, Brother”, “I am a singer” and “Animal World” respectively have a heat value of 60, 50, and 8; and if the preset heat value is greater than 0, 30 corresponds to level 1; when the heat value is greater than 30 and less than 60, it corresponds to level 2; when the heat value is greater than 60, it corresponds to level 3; here, when level 2 is selected by default, the recording server in level 1 is also started, and when level 3 is used, Start the recording server in level 1 and level 2, that is, when the heat value is greater than 30 and less than 60, it corresponds to all recording servers in level 1 and level 2; when the heat value is greater than 60, it corresponds to all of level 1, level 2, and level 3.
  • Recording server if it is "running, brother” and “I am a singer” to adopt level 2, then it will start level 1 at the same time and start the recording server in level 1 and level 2 to "run, brother” and " I am a singer” for recording storage, that is, using 120 recording servers to record and store "Run, Brother” and “I am a singer".
  • “Animal World” has level 1 for recording and storage, that is, recording and storing "Animal World” with 60 recording servers.
  • the level setting of the server here is only for the convenience of management, as long as the method of selecting an appropriate number of recording servers according to the heat information of the program can be realized.
  • the weighting calculation can be performed according to the number of times of program on-demand and the average number of times of on-demand of the channel corresponding to the program, so that the heat value is more reasonable. That is, in the above step S102, when the heat information includes the channel identification information and the number of times of on-demand, one channel includes a plurality of programs; the management server determines the number of recording servers for recording the program according to the heat information: the management server finds the channel identification information according to the channel identification information.
  • the average on-demand frequency of the corresponding channel determines the popularity value of the program according to the number of times of on-demand and the average number of on-demand times; setting a plurality of recording servers as recording servers of multiple levels, and the recording servers of different levels include at least one recording server; the management server The recording server of the corresponding level is determined according to the heat value.
  • the heat value is determined according to the heat value.
  • the determining, by the management server, the popularity value of the program according to the number of times of the on-demand and the average number of on-demand times may include: multiplying the number of times of the on-demand by the first weighting coefficient to obtain a first heat value; and multiplying the average number of times of the on-demand by the second weighting coefficient to obtain a second heat value;
  • the sum of the weighting coefficient and the second weighting coefficient is 1; the sum of the first heat value and the second heat value is taken as the heat value of the program.
  • the weighting value can be set according to the actual situation, that is, the first weighting coefficient and the second weighting coefficient value can be set according to actual conditions.
  • Level 1 and level 2 are started at the same time.
  • Recording server that is, when the heat value is greater than 30 and less than 60, it corresponds to all recording servers in level 1 and level 2; when the heat value is greater than 60, it corresponds to all recording servers in level 1, level 2 and level 3, if it is "running" Well, brothers and "I am a singer” Level 2, then the level 1 will be started at the same time, and the recording servers in level 1 and level 2 will be started to record and store "running, brother” and "I am a singer", that is, using 120 recording servers to "run” Well, brothers and “I am a singer” are recording storage.
  • the "Animal World” uses Level 1 for recording and storage, that is, 60 recording servers to record and store "Animal World”.
  • the plurality of levels of recording server settings include a first level recording server, a second level recording server, and a third level recording server; the management server determines the corresponding level of the recording server according to the difference in the heat value, including: when the heat value is greater than or equal to the first threshold, less than or equal to The second threshold is corresponding to the first level recording server; when the heat value is greater than the second threshold and less than or equal to the third threshold, the first level recording server and the second level recording server are corresponding; when the heat value is greater than the third threshold Corresponding to the first level recording server, the second level recording server, and the third level recording server.
  • the first threshold, the second threshold, and the third threshold may be set according to actual conditions, where the number of recording servers included in the first level recording server, the second level recording server, and the third level recording server are also It can be set according to the actual situation.
  • the heat statistics server counts the number of times the program is played, and performs a series of processing on the program.
  • a heat statistics table A1 is added to the heat statistics server to record the on-demand heat of the program list. See Figure 2 for a schematic diagram of the field structure of the table.
  • Nodeid is the recording server ID
  • Channelid is the channel identifier, a Channelid indicates a channel
  • Cid program identification: is the identification of the program list
  • Number is the number of times the program list is requested by the user
  • Endtime the end time of the program list
  • Tstvtime (cache duration): The buffer duration of this channel.
  • Step S201 stb plays a certain program, and starts reporting data from the on-demand Library process
  • Step S202 The database receives the reported number of times of reporting, and queries whether there is a record corresponding to the program in the A1 table, and if there is any, adds 1 to the number; if there is no such record, the record is added in the A1 table. And number is 1.
  • Step S203 Start the timed task 1 and execute it once an hour.
  • the timed task is used to search the A1 table for the record that meets the judgment condition 1;
  • the program for the tstvtime program or the shard is searched for 2 hours before being deleted, and reported to the MDP (management server) in advance;
  • Step S205 The program that is searched for according to the judgment condition 1 is queried and uniformly reported to the MDP. If there is a lot of content to be searched, the flow control may be considered and reported in batches.
  • Step S206 Another timed task 2 is also executed every hour, and the timed task is used to search the A1 table for the record that meets the judgment condition 2;
  • Step S207 The judgment condition 2 here is: Endtime+tstvtime> current time
  • Step S208 The programs searched for the matching condition 2 are uniformly deleted.
  • the recording server that has been recording, or the recording server's channel is recorded from the beginning.
  • This recording server is typically a recording center server.
  • Level 1 recording server According to the results of the heat statistics, when the lowest interval (C1-C2) that meets the regenerative recording schedule is reached, the recording server of the recording plan needs to be delivered;
  • Level 2 recording server According to the result of the heat statistics, when the middle interval corresponding to the re-generation recording plan is reached (C2-C3), the recording server of the recording plan needs to be delivered; when the heat is counted to the heat, the level 1 recording server A recording plan will also be issued.
  • Level 3 recording server According to the result of the heat statistics, when the value that meets the regenerative recording plan exceeds a certain value (C3), the recording server of the recording plan needs to be delivered; where the heat is counted to the heat level, level 1 and 2 The recording server will also issue a recording schedule.
  • C3 a certain value
  • C1, C2 and C3 can be set by themselves, and can be flexibly configured and modified according to the actual situation of the site operation and the needs of the local authorities.
  • two heat statistics tables A2 and A3 are maintained on the MDP side, both of which are used to estimate the subsequent user-on-demand behavior of the program of the channel, wherein the A2 table is counted for each program. More detailed and specific; and the A3 table is the average of the statistics of the daily program of the channel, more abstract; so according to the experience gained from the field observation, the value of the A2 table is weighted by 80%, for the A3 table The value is weighted by 20%.
  • the recording time is required to be controlled before the cache time of the channel corresponding to the fragment arrives. Otherwise, if the corresponding fragment has been deleted when the recording plan is sent to the recording server side, the recording will fail.
  • the method for program recording control in this embodiment is mainly described in the management server MDP.
  • the A2 table is basically the same as the A1 table on the recording server side, except that the nodeid is removed because There is no need to count the nodeid on the MDP side, which is the total number of on-demand statistics.
  • the heat statistics table A3 see FIG. 4, which is a schematic diagram of the field structure of the table, and the fields are explained:
  • Channelid An identifier of a channel
  • Number The number of times the channel is averaged for each show in a day.
  • This A3 table is mainly for calculating the average value for each program of one channel, it is not necessary to add a field for distinguishing programs.
  • Step S301 Reporting the program and related information in accordance with the heat condition to the MDP every hour of the recording server side, and the MDP is ready to write to the database after receiving the data;
  • Step S302 After receiving the report information on the recording server side, the A2 table is written on the MDP side, that is, the database is written;
  • Step S303 Add a timed task here, which is executed every night at a fixed time.
  • the timed task is mainly used to transfer the content in the A2 table that meets certain conditions to the A3 table.
  • Step S304 For the A2 table, it is determined whether the judgment condition 4 is met, and the judgment condition is as follows: Endtime+tstvtime>current time
  • the judgment condition here is that the program that has passed the cache time can be removed.
  • Step S305 The program in the A2 table that meets the above conditions is removed into the A3 table, and the removal here follows the following mechanism:
  • Step S306 For the A2 table, another timing task is started at the same time, and the timing task is executed every hour;
  • Step S307 The timing task queries the program record of the A2 table, whether it meets the judgment condition 3: the current time -2 ⁇ Endtime+tstvtime ⁇ current time-1
  • Step S308 If the record that meets the judgment condition 3 is queried in the step S307, the following records are processed for the queryed record:
  • Step S309 determining the interval of the weighting value by using the weighting value calculated in step S308;
  • Step S310 If the weighting value is between C1 and C2, then for the recording corresponding to the programs, the recording task is added to the level 1 recording server, that is, the recording task is inserted in the recording task table, and there is a recording plan at that time. Send it to the corresponding recording server.
  • Step S311 If the weighting value is between C2 and C3, then for the recording corresponding to the programs, the recording task is added to the recording server of the level 1 and 2, that is, the recording task is inserted in the recording task table, and then there will be The recording plan is sent to the corresponding recording server.
  • Step S312 If the weighted value exceeds C3, the recording task is added to the recording corresponding to the programs, and the recording task is added to the recording server in the recording task table, that is, the recording task is inserted in the recording task table, and then the recording is performed. The plan is sent to the corresponding recording server.
  • the method of the embodiment innovates on the purpose of fine management and intelligent recording, so that the recording is more reasonable and intelligent, not all nodes or channels are recorded, but according to the number of times of the program and the previous
  • the number of on-demand orders of the program under the channel is predicted, and based on this prediction, it is determined whether the program list will become a hot spot next, to determine how many recording servers should be recorded.
  • the previous extensive recording mechanism is difficult to adapt, and it can only be improved in the direction of refined management intelligent recording, in order to adapt to the new situation.
  • the embodiment of the present invention provides a management server 400.
  • the method includes an obtaining module 401 and a management module 402.
  • the obtaining module 401 is configured to: obtain the heat information of the program from the heat statistics server before the cache time of the program arrives;
  • the management module 402 is configured to: according to the heat information The number of recording servers for the recorded program is selected, and the corresponding number of recording servers are selected according to the determined number, and the recording task for notifying the recorded program is delivered to the selected recording server.
  • the management module 402 is configured to set the number of times of the on-demand as the popularity value of the program, and set the plurality of recording servers to a plurality of levels of recording servers, and the recording servers of different levels include at least one recording server, according to The heat value determines the recording server of the corresponding level.
  • the management module 402 is configured to: find the average number of times of the channel corresponding to the channel identification information according to the channel identification information, and according to the number of times of on-demand and the average number of times of on-demand Determine the popularity value of the program, set multiple recording servers to multiple levels of recording servers, and the recording servers of different levels include at least one recording server; determine the corresponding level of the recording server according to the heat value.
  • the embodiment further provides a heat statistics server 500, as shown in FIG. 7, including a statistics module 501 and an uploading module 502: the statistics module 501 is configured to: calculate the heat information of the program before the program cache time arrives; and upload module 502 It is set to: the heat information of the program is given to the management server 400.
  • the statistics module 501 is configured to: calculate the heat information of the program before the program cache time arrives; and upload module 502 It is set to: the heat information of the program is given to the management server 400.
  • the embodiment further provides a program recording control system.
  • the heat statistics server 500 and the management server 400 are provided.
  • the heat statistics server 500 is configured to: before the cache time of the program arrives, the hotness information of the program is calculated.
  • the heat information of the program is sent to the management server 400.
  • the management server 400 is configured to: obtain the heat information of the program from the heat statistics server 500, determine the number of recording servers for recording the program according to the heat information, and select a corresponding number of recording servers according to the determined number. , the recording task for notifying the recorded program is sent to the selected recording server.
  • 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/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in 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.
  • not all recording servers perform recording of the program, but determine the number of recording servers for recording the program according to the heat information of the program, that is, predicting the on-demand broadcasting of the program through the current heat information, so that The user can ensure that the program can be on-demand, without any negative impact on the user experience, and can save a lot of storage space, that is, reduce the consumption of the recording server, reduce the cost, and improve the competitiveness of the product.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

Disclosed are a method and a system for controlling program recording, and a management server and a hotness counting server. The management server acquires hotness information about a program from the hotness counting server before caching time of the program is up, determines the number of recording servers for recording the program according to the hotness information, and selects a corresponding number of recording servers according to the determined number, and issues a recording task for notifying the recording of the program to the selected recording servers.

Description

一种节目录制控制方法、系统以及管理、热度统计服务器Program recording control method and system, and management and heat statistics server 技术领域Technical field
本申请涉及但不限于通信领域。This application relates to, but is not limited to, the field of communications.
背景技术Background technique
在目前的网络视频传播领域,例如IPTV/OTT系统中,对于同一个频道,基本是每个录制服务器都进行录制,而且录制的节目都一样多。由于很多地方要求220个频道录制7天,现在的频道的码率都逐步向高清4K等迈进,假如频道的平均码率为5M,那么单单存储节目就需要的空间是220*7*24*60*60*5=666T,如果再算上我们的系统是1:1备份存储,那么存储这么多节目需要的总空间是1332T。目前用来做系统存储的数据盘,最大的是4T的SATA盘,那么就是需要333块这种SATA盘,每个磁盘按照是1500元来计算,就是需要将近50W元人民币。这个对于IPTV/OTT系统来说,更重要的是点播和直播内容,如果单纯节目的存储就消耗这么高,成本实在是太高了,而且随着以后高清4K越来越普及,需要的空间会越来越大。成本也将越高,如何减少不必要的录制服务器的录制存储和降低成本成为急需解决的问题。In the current field of network video communication, such as the IPTV/OTT system, for the same channel, basically every recording server is recorded, and the recorded programs are the same. Since many places require 220 channels to record for 7 days, the current channel's bit rate is gradually moving toward HD 4K. If the average bit rate of the channel is 5M, the space required to store the program alone is 220*7*24*60. *60*5=666T, if we count our system is 1:1 backup storage, then the total space required to store so many programs is 1332T. At present, the largest data disk used for system storage is the 4T SATA disk. That is, 333 such SATA disks are required. Each disk is calculated according to 1500 yuan, which requires nearly 50W yuan. For the IPTV/OTT system, more important is the on-demand and live content. If the storage of the simple program is so expensive, the cost is too high, and as the HD 4K becomes more and more popular, the space will be needed. getting bigger. The higher the cost, the more difficult it is to reduce the recording storage and reduce the cost of unnecessary recording servers.
发明内容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 provides a program recording control method, system, and management and heat statistics server, which solves the problem that the related technology consumes a large storage space and occupies a large number of recording servers, resulting in high cost.
一种节目录制控制方法,包括:A program recording control method includes:
管理服务器在节目的缓存时间到达之前,从热度统计服务器上获取所述节目的热度信息;The management server acquires the heat information of the program from the heat statistics server before the cache time of the program arrives;
所述管理服务器根据所述热度信息确定录制所述节目的录制服务器数 量;The management server determines, according to the heat information, the number of recording servers that record the program the amount;
所述管理服务器根据确定的数量选定对应个数的录制服务器;The management server selects a corresponding number of recording servers according to the determined number;
所述管理服务器下发用于通知录制所述节目的录制任务给选定的录制服务器。The management server delivers a recording task for notifying the recording of the program to the selected recording server.
在本发明的一种实施例中,所述热度信息包括点播次数,或包括频道标识信息和点播次数。In an embodiment of the invention, the popularity information includes the number of on-demand, or includes channel identification information and number of on-demand.
在本发明的一种实施例中,当所述热度信息包括点播次数时,所述管理服务器根据所述热度信息确定录制所述节目的录制服务器数量包括:所述管理服务器将所述点播次数作为所述节目的热度值;将多个录制服务器设置为多个级别的录制服务器,不同级别的录制服务器至少包括一个录制服务器;所述管理服务器根据所述热度值确定对应级别的录制服务器;In an embodiment of the present invention, when the heat information includes the number of times of on-demand, the management server determines, according to the heat information, that the number of recording servers that record the program includes: the management server uses the number of times of on-demand as a heat value of the program; setting a plurality of recording servers to a plurality of levels of recording servers, the recording servers of different levels including at least one recording server; and the management server determining a recording server of a corresponding level according to the heat value;
当所述热度信息包括频道标识信息和点播次数时,一个频道包括多个节目;所述管理服务器根据所述热度信息确定录制所述节目的录制服务器数量包括:所述管理服务器根据所述频道标识信息找到所述频道标识信息对应的频道的平均点播次数;所述管理服务器根据所述点播次数和所述平均点播次数确定所述节目的热度值;将多个录制服务器设置为多个级别的录制服务器,不同级别的录制服务器至少包括一个录制服务器;所述管理服务器根据所述热度值确定对应级别的录制服务器。When the heat information includes channel identification information and the number of times of on-demand, one channel includes a plurality of programs; and the management server determines, according to the heat information, the number of recording servers that record the program, including: the management server according to the channel identifier The information finds an average number of times of on-demand channels corresponding to the channel identification information; the management server determines a heat value of the program according to the number of times of the order and the average number of times of on-demand; and sets a plurality of recording servers to record at multiple levels The server, the recording server of different levels includes at least one recording server; and the management server determines the recording server of the corresponding level according to the heat value.
在本发明的一种实施例中,所述管理服务器根据所述点播次数和所述平均点播次数确定所述节目的热度值包括:将所述点播次数乘以第一加权系数得到第一热度值;将所述平均点播次数乘以第二加权系数得到第二热度值;所述第一加权系数与所述第二加权系数的和为1;将所述第一热度值与所述第二热度值的和作为所述节目的热度值。In an embodiment of the present invention, determining, by the management server, the popularity value of the program according to the number of times of the on-demand and the average number of on-demand times comprises: multiplying the number of times of the on-demand by the first weighting coefficient to obtain a first heat value. And multiplying the average number of times of on-demand by the second weighting coefficient to obtain a second heat value; the sum of the first weighting coefficient and the second weighting coefficient is 1; and the first heat value and the second heat The sum of the values is the heat value of the program.
在本发明的一种实施例中,多个级别录制服务器设置包括第一级别录制服务器、第二级别录制服务器和第三级别录制服务器;所述管理服务器根据所述热度值确定对应级别的录制服务器包括:In an embodiment of the present invention, the plurality of level recording server settings include a first level recording server, a second level recording server, and a third level recording server; and the management server determines a corresponding level of the recording server according to the heat value. include:
当所述热度值大于等于第一阈值、小于等于第二阈值时,对应为第一级别录制服务器; When the heat value is greater than or equal to the first threshold and less than or equal to the second threshold, corresponding to the first level recording server;
当所述热度值大于第二阈值、小于等于第三阈值时,对应为第一级别录制服务器和第二级别录制服务器;When the heat value is greater than the second threshold and less than or equal to the third threshold, corresponding to the first level recording server and the second level recording server;
当所述热度值大于第三阈值时,对应为第一级别录制服务器、第二级别录制服务器和第三级别录制服务器。When the heat value is greater than the third threshold, the first level recording server, the second level recording server, and the third level recording server are corresponding.
一种节目录制控制方法,包括:A program recording control method includes:
热度统计服务器在节目的缓存时间到达之前,统计所述节目的热度信息;The heat statistics server counts the heat information of the program before the cache time of the program arrives;
所述热度统计服务器将所述节目的热度信息给所述管理服务器。The heat statistics server sends the heat information of the program to the management server.
一种节目录制控制方法,包括:A program recording control method includes:
热度统计服务器在节目的缓存时间到达之前,统计所述节目的热度信息;The heat statistics server counts the heat information of the program before the cache time of the program arrives;
所述管理服务器从所述热度统计服务器上获取节目的热度信息;The management server obtains heat information of the program from the heat statistics server;
所述管理服务器根据所述热度信息确定录制所述节目的录制服务器数量;Determining, by the management server, the number of recording servers that record the program according to the heat information;
所述管理服务器根据确定的数量选定对应个数的录制服务器;The management server selects a corresponding number of recording servers according to the determined number;
所述管理服务器下发用于通知录制所述节目的录制任务给选定的录制服务器。The management server delivers a recording task for notifying the recording of the program to the selected recording server.
一种管理服务器,包括获取模块和管理模块:A management server, including an acquisition module and a management module:
所述获取模块设置为:在节目的缓存时间到达之前,从热度统计服务器上获取所述节目的热度信息;The obtaining module is configured to: obtain the heat information of the program from the heat statistics server before the cache time of the program arrives;
所述管理模块设置为:根据所述热度信息确定录制所述节目的录制服务器数量,根据确定的数量选定对应个数的录制服务器,下发用于通知录制所述节目的录制任务给选定的录制服务器。The management module is configured to: determine, according to the heat information, the number of recording servers that record the program, select a corresponding number of recording servers according to the determined number, and send a recording task for notifying the recording of the program to be selected. Recording server.
在本发明的一种实施例中,当所述热度信息包括点播次数时,所述管理模块是设置为:将所述点播次数作为所述节目的热度值,将多个录制服务器设置为多个级别的录制服务器,不同级别的录制服务器至少包括一个录制服务器,根据所述热度值确定对应级别的录制服务器; In an embodiment of the present invention, when the heat information includes the number of times of on-demand, the management module is configured to: set the number of times of the video as the heat value of the program, and set multiple recording servers to multiple a recording server of a level, the recording server of different levels includes at least one recording server, and the recording server of the corresponding level is determined according to the heat value;
当所述热度信息包括频道标识信息和点播次数时,一个频道包括多个节目;所述管理模块还设置为:根据所述频道标识信息找到所述频道标识信息对应的频道的平均点播次数,并根据所述点播次数和所述平均点播次数确定所述节目的热度值,将多个录制服务器设置为多个级别的录制服务器,不同级别的录制服务器至少包括一个录制服务器;根据所述热度值确定对应级别的录制服务器。When the heat information includes channel identification information and the number of times of on-demand, one channel includes a plurality of programs; the management module is further configured to: find an average number of times of channels of the channel corresponding to the channel identification information according to the channel identification information, and Determining the popularity value of the program according to the number of times of the broadcast and the average number of on-demand times, setting a plurality of recording servers as recording servers of multiple levels, and the recording servers of different levels include at least one recording server; determining according to the heat value The corresponding level of the recording server.
一种热度统计服务器,包括统计模块和上传模块:A heat statistics server, including a statistics module and an upload module:
所述统计模块设置为:在节目的缓存时间到达之前,统计所述节目的热度信息;The statistic module is configured to: collect the heat information of the program before the cache time of the program arrives;
所述上传模块设置为:将所述节目的热度信息给所述管理服务器。The uploading module is configured to: send heat information of the program to the management server.
一种节目录制控制系统,包括热度统计服务器和管理服务器:A program recording control system, including a heat statistics server and a management server:
所述热度统计服务器设置为:在节目的缓存时间到达之前,统计所述节目的热度信息,将所述节目的热度信息给所述管理服务器;The heat statistics server is configured to: before the cache time of the program arrives, count the heat information of the program, and send the heat information of the program to the management server;
所述管理服务器设置为:从所述热度统计服务器上获取节目的热度信息,根据所述热度信息确定录制所述节目的录制服务器数量,根据确定的数量选定对应个数的录制服务器,下发用于通知录制所述节目的录制任务给选定的录制服务器。The management server is configured to: obtain the heat information of the program from the heat statistics server, determine the number of recording servers for recording the program according to the heat information, and select a corresponding number of recording servers according to the determined quantity, and issue the same Used to notify the recording task of recording the program to the selected recording server.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。A computer readable storage medium storing computer executable instructions for performing the method of any of the above.
本发明实施例提供一种节目录制控制方法、系统以及管理、热度统计服务器。管理服务器先在节目的缓存时间到达之前,从热度统计服务器上获取节目的热度信息;然后根据热度信息确定录制节目的录制服务器数量,并根据确定的数量选定对应个数的录制服务器,最后下发用于通知录制节目的录制任务给选定的录制服务器。与相关技术相比,本发明实施例不是所有的录制服务器都进行节目的录制,而是根据节目的热度信息来确定录制节目的录制服务器数量,即通过当前热度信息来预测将来对该节目的点播,这样既可 以保证用户能够对节目进行点播,对用户的体验不会造成任何负面影响的同时,能节省很多的存储空间,即减少录制服务器的消耗,降低成本,提高产品的竞争力。Embodiments of the present invention provide a program recording control method and system, and a management and heat statistics server. The management server first obtains the heat information of the program from the heat statistics server before the cache time of the program arrives; then determines the number of recording servers for recording the program according to the heat information, and selects the corresponding number of recording servers according to the determined number, and finally A recording task that is used to notify the recorded program to the selected recording server. Compared with the related art, in the embodiment of the present invention, not all recording servers perform recording of the program, but the number of recording servers for recording the program is determined according to the heat information of the program, that is, the current heat information is used to predict the on-demand broadcasting of the program in the future. So that it can In order to ensure that users can order the program, it will not cause any negative impact on the user's experience, and can save a lot of storage space, that is, reduce the consumption of the recording server, reduce the cost, and improve the competitiveness of the product.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例一提供的节目录制控制的方法流程示意图;1 is a schematic flowchart of a method for program recording control according to Embodiment 1 of the present invention;
图2为本发明实施例二提供的节目录制控制的方法中热度统计表的字段结构示意图;2 is a schematic structural diagram of a field of a heat statistics table in a method for program recording control according to Embodiment 2 of the present invention;
图3为本发明实施例二提供的节目录制控制的方法流程示意图;3 is a schematic flowchart of a method for program recording control according to Embodiment 2 of the present invention;
图4为本发明实施例三提供的节目录制控制的方法中热度统计表中的字段结构示意图;4 is a schematic structural diagram of a field in a heat statistics table in a method for program recording control according to Embodiment 3 of the present invention;
图5为本发明实施例三提供的节目录制控制的方法流程示意图;FIG. 5 is a schematic flowchart of a method for program recording control according to Embodiment 3 of the present invention; FIG.
图6为本发明实施例四提供的管理服务器结构示意图;6 is a schematic structural diagram of a management server according to Embodiment 4 of the present invention;
图7为本发明实施例四提供的热度统计服务器结构示意图;FIG. 7 is a schematic structural diagram of a heat statistics server according to Embodiment 4 of the present invention; FIG.
图8为本发明实施例四提供的节目录制控制的系统结构示意图。FIG. 8 is a schematic structural diagram of a system for program recording control according to Embodiment 4 of the present invention.
本发明的实施方式Embodiments of the invention
下面结合附图对本发明的实施方式进行描述。Embodiments of the present invention will be described below with reference to the accompanying drawings.
实施例一Embodiment 1
本实施例的节目录制控制的方法,如图1所示,包括以下步骤:The method for program recording control of this embodiment, as shown in FIG. 1, includes the following steps:
步骤S101:管理服务器在节目的缓存时间到达之前,从热度统计服务器上获取节目的热度信息;Step S101: The management server acquires the heat information of the program from the heat statistics server before the cache time of the program arrives;
在该步骤中,一般在频道创建时设置两个时间属性,一个是缓存时间T1(tstvtime),一个是TVOD时间T2(tvodtime);其中T2>=T1。录制服务器使用统一存储来存储节目,如果没有录制计划(即录制任务)下发,那么频道的分片在T1时间到了以后会被删除掉;如果有下发录制计划,那么 录制服务器的分片要到T2时间以后才会被删除。所以管理服务器要在到达节目缓存时间之前,从热度统计服务器上获取节目的热度信息,不然节目被删除后无法进行录制。这里的热度服务器和管理服务器也可以是同一个服务器。这里的热度信息表示对节目的关注程度即有多少人喜欢该节目;可以通过该节目的点播次数、收藏次数、评述数以及观看时间等来体现,应该理解为只要能体现该节目是不是热点、大家对该节目的欢迎程度即可。举例说明,目前大家都喜欢看“奔跑吧,兄弟”和“我是歌手”,而对于一些科教片“动物世界”相对较少,比如“奔跑吧,兄弟”点播次数为5亿次和“我是歌手”点播次数为6亿次,而“动物世界”点播次数为8千万次。相关技术将这些节目在所有的录制服务器(假如有220个录制服务器)中进行录制用来供后面的用户进行点播观看。很显然,对于“动物世界”如果每个录制服务器中都进行录制存储,就占用了不必要的录制服务器,导致资源的浪费,并且成本高。In this step, two time attributes are generally set at the time of channel creation, one is the buffer time T1 (tstvtime), and the other is the TVOD time T2 (tvodtime); where T2>=T1. The recording server uses unified storage to store the program. If there is no recording plan (ie, recording task), the channel fragment will be deleted after the T1 time is reached; if there is a recording plan, then Fragments of the recording server will not be deleted until T2. Therefore, the management server needs to obtain the heat information of the program from the heat statistics server before the program cache time is reached, or the program cannot be recorded after the program is deleted. The hot server and the management server here can also be the same server. The heat information here indicates how much attention is paid to the program, that is, how many people like the program; it can be embodied by the number of times of the program, the number of times of collection, the number of comments, the number of comments, and the viewing time, etc., and should be understood as long as it reflects whether the program is a hot spot, Everyone can welcome the show. For example, at present everyone likes to watch "Run, Brother" and "I am a singer", but for some science and education films "Animal World" is relatively small, such as "Run, Brother" on-demand times 500 million times and "I am The singer "on-demand frequency is 600 million times, while the "Animal World" is broadcasted 80 million times. The related art records these programs on all recording servers (if there are 220 recording servers) for on-demand viewing by subsequent users. Obviously, if the "animal world" is recorded and stored in each recording server, it takes up an unnecessary recording server, resulting in waste of resources and high cost.
步骤S102:管理服务器根据热度信息确定录制节目的录制服务器数量;Step S102: The management server determines, according to the heat information, the number of recording servers for recording the program;
在该步骤中,管理服务器看该节目是不是热点,如果是热点,表示点播的人多,可以预测后面很有可能会有较多的用户来使用,那么就需要用较多的录制服务器来进行录制存储该节目以保证有足够的资源供用户使用,如果不是热点节目,表示点播的少,后面就只会有较少的人来点播该节目,就没必要占用较多的录制服务器。这里的录制服务器是表示具有存储功能的并且可以为用户提供点播服务的服务器。结合上面的例子进行说明,比如“奔跑吧,兄弟”点播次数为5亿次和“我是歌手”点播次数为6亿次,可能后面点播的人也会较多,那么就采用100录制服务器来进行录制和存储;而“动物世界”点播次数为8千万次,可能后面点播的人也较少,那么就采用10个录制服务器来进行录制和存储。In this step, the management server sees whether the program is a hot spot. If it is a hot spot, it means that there are many people on-demand, and it can be predicted that there will be more users to use later, then more recording servers are needed. The program is stored and stored to ensure that there are enough resources for the user to use. If it is not a hot program, it means that there is less on-demand, and there will be fewer people to order the program later, so there is no need to occupy more recording servers. The recording server here is a server that represents a storage function and can provide an on-demand service for a user. Combined with the above examples, such as "Run, Brother" on-demand frequency of 500 million times and "I am a singer" on-demand frequency of 600 million times, there may be more people on-demand, then use 100 recording server to Recording and storage; "Animal World" on-demand frequency of 80 million times, may be less on-demand people, then use 10 recording servers for recording and storage.
步骤S103:管理服务器根据确定的数量选定对应个数的录制服务器;Step S103: The management server selects a corresponding number of recording servers according to the determined number;
在该步骤中,从那些待录制的录制服务器中选择上述步骤S103中确定的数量的录制服务器。结合上述步骤中的例子进行说明,在步骤S103中确定录制“动物世界”节目的录制服务器为10个,那么就选择10个录制服务器。 In this step, the number of recording servers determined in the above step S103 is selected from those recording servers to be recorded. In conjunction with the example in the above steps, it is determined in step S103 that the number of recording servers for recording the "Animal World" program is ten, then 10 recording servers are selected.
步骤S104:管理服务器下发用于通知录制节目的录制任务给选定的录制服务器。Step S104: The management server delivers a recording task for notifying the recorded program to the selected recording server.
在该步骤中,将节目对应的录制任务下发到对应选定的录制服务器中。在对应的录制服务器中增加录制任务,也就是在录制任务表中插入该录制任务,届时会有录制计划下发到对应的录制服务器中去。结合上面的例子进行说明,如果将录制“动物世界”节目的录制任务下发到对应选择的10个录制服务器中,没有下发录制任务的录制服务器就不用进行“动物世界”节目录制,这样大大的降低存储空间,进而降低了录制服务器的成本。In this step, the recording task corresponding to the program is delivered to the corresponding selected recording server. Add a recording task to the corresponding recording server, that is, insert the recording task in the recording task table, and then the recording plan will be sent to the corresponding recording server. In combination with the above example, if the recording task of recording the "Animal World" program is sent to the corresponding 10 recording servers, the recording server without the recording task does not need to record the "Animal World" program. Reduce storage space, which in turn reduces the cost of the recording server.
在上述步骤S102中,当热度信息包括点播次数时,管理服务器根据热度信息确定录制节目的录制服务器数量包括:管理服务器将点播次数作为节目的热度值;将多个录制服务器设置为多个级别的录制服务器,不同级别的录制服务器至少包括一个录制服务器;管理服务器根据热度值确定对应级别的录制服务器。这里是根据节目点播次数来确定选用多少个录制服务器,为了便于管理和操作方便,将对录制服务器进行级别的划分,例如将一定数量的录制服务器设置为一个级别,当满足预设条件时,就直接启动该级别上的所有录制服务器,这样可以保证节约存储空间的同时,快速确定选定的录制服务器。结合上面例子进行说明,假如将220个录制服务器设置为3个级别,分别为级别1、级别2和级别3;其中级别1中有50个录制服务器,级别2中有70个录制服务器,级别3中有100个录制服务器。假如点播一千万为一个热度值,那么“奔跑吧,兄弟”、“我是歌手”和“动物世界”分别对应的热度值为60、50和8;并且假如预设当热度值大于0小于30对应为级别1;当热度值大于30小于60对应为级别2;当热度值大于60对应为级别3;这里默认选择级别2时同时会启动级别1里的录制服务器,采用级别3时会同时启动级别1和级别2中的录制服务器,即当热度值大于30小于60对应为级别1和级别2中的所有录制服务器;当热度值大于60对应为级别1、级别2和级别3中的所有录制服务器,如果是“奔跑吧,兄弟”和“我是歌手”就采用级别2,那么就会同时启动级别1即同时启动级别1和级别2中的录制服务器对“奔跑吧,兄弟”和“我是歌手”进行录制存储,也就是用120个录制服务器来对“奔跑吧,兄弟”和“我是歌手”进行录制存储。而 “动物世界”才有级别1进行录制存储,也就是用60个录制服务器来对“动物世界”进行录制存储。这里的对服务器进行级别设置只是为了便于管理,只要能够使根据节目的热度信息选择合适数量的录制服务器的方式都可以实现。In the above step S102, when the heat information includes the number of times of on-demand, the management server determines, according to the heat information, the number of recording servers for recording the program, including: the management server uses the number of times of the video as the heat value of the program; and sets the plurality of recording servers to multiple levels. Recording server, the recording server of different levels includes at least one recording server; the management server determines the recording server of the corresponding level according to the heat value. Here, according to the number of times of program on-demand, how many recording servers are selected. In order to facilitate management and operation, the recording server is divided into levels, for example, a certain number of recording servers are set to one level, and when the preset conditions are met, Directly start all recording servers at this level, which ensures that the selected recording server is quickly determined while saving storage space. In combination with the above example, if 220 recording servers are set to 3 levels, namely level 1, level 2, and level 3; there are 50 recording servers in level 1, and 70 recording servers in level 2, level 3 There are 100 recording servers in it. If the on-demand ten million is a heat value, then "Run, Brother", "I am a singer" and "Animal World" respectively have a heat value of 60, 50, and 8; and if the preset heat value is greater than 0, 30 corresponds to level 1; when the heat value is greater than 30 and less than 60, it corresponds to level 2; when the heat value is greater than 60, it corresponds to level 3; here, when level 2 is selected by default, the recording server in level 1 is also started, and when level 3 is used, Start the recording server in level 1 and level 2, that is, when the heat value is greater than 30 and less than 60, it corresponds to all recording servers in level 1 and level 2; when the heat value is greater than 60, it corresponds to all of level 1, level 2, and level 3. Recording server, if it is "running, brother" and "I am a singer" to adopt level 2, then it will start level 1 at the same time and start the recording server in level 1 and level 2 to "run, brother" and " I am a singer" for recording storage, that is, using 120 recording servers to record and store "Run, Brother" and "I am a singer". And "Animal World" has level 1 for recording and storage, that is, recording and storing "Animal World" with 60 recording servers. The level setting of the server here is only for the convenience of management, as long as the method of selecting an appropriate number of recording servers according to the heat information of the program can be realized.
为了更加精确的对节目点播次数预估,可以根据节目点播次数和该节目对应的频道的平均点播次数进行加权计算,这样使热度值更加趋于合理。即在上述步骤S102中,当热度信息包括频道标识信息和点播次数时,一个频道包括多个节目;管理服务器根据热度信息确定录制节目的录制服务器数量包括:管理服务器根据频道标识信息找到频道标识信息对应的频道的平均点播次数;管理服务器根据点播次数和平均点播次数确定节目的热度值;将多个录制服务器设置为多个级别的录制服务器,不同级别的录制服务器至少包括一个录制服务器;管理服务器根据热度值确定对应级别的录制服务器。这里不仅仅考虑节目自身的点播次数,也会考虑该节目对应频道的平均点播次数,即该频道的热度信息。管理服务器根据点播次数和平均点播次数确定节目的热度值可包括:将点播次数乘以第一加权系数得到第一热度值;将平均点播次数乘以第二加权系数得到第二热度值;第一加权系数与第二加权系数的和为1;将第一热度值与第二热度值的和作为节目的热度值。加权值可以根据实际情况进行设置,即第一加权系数与第二加权系数值可以根据实际情况进行设置。结合上面例子进行说明,假如将220个录制服务器设置为3个级别,分别为级别1、级别2和级别3;其中级别1中有50个录制服务器,级别2中有70个录制服务器,级别3中有100个录制服务器。假如点播一千万为一个热度值,同时假定“奔跑吧,兄弟”、“我是歌手”和“动物世界”都在同一个频道中,并且第一加权系数为80%,第二加权系数为20%;那么“奔跑吧,兄弟”、“我是歌手”和“动物世界”分别对应的热度值为55.8、47.8和8.2;以及假如预设当热度值大于0小于30对应为级别1;当热度值大于30小于60对应为级别2;当热度值大于60对应为级别3;这里默认选择级别2时同时会启动级别1里的录制服务器,采用级别3时会同时启动级别1和级别2中的录制服务器,即当热度值大于30小于60对应为级别1和级别2中的所有录制服务器;当热度值大于60对应为级别1、级别2和级别3中的所有录制服务器,如果是“奔跑吧,兄弟”和“我是歌手”就采用 级别2,那么就会同时启动级别1即同时启动级别1和级别2中的录制服务器对“奔跑吧,兄弟”和“我是歌手”进行录制存储,也就是用120个录制服务器来对“奔跑吧,兄弟”和“我是歌手”进行录制存储。而“动物世界”采用级别1进行录制存储,也就是用60个录制服务器来对“动物世界”进行录制存储。In order to more accurately estimate the number of times of program on-demand, the weighting calculation can be performed according to the number of times of program on-demand and the average number of times of on-demand of the channel corresponding to the program, so that the heat value is more reasonable. That is, in the above step S102, when the heat information includes the channel identification information and the number of times of on-demand, one channel includes a plurality of programs; the management server determines the number of recording servers for recording the program according to the heat information: the management server finds the channel identification information according to the channel identification information. The average on-demand frequency of the corresponding channel; the management server determines the popularity value of the program according to the number of times of on-demand and the average number of on-demand times; setting a plurality of recording servers as recording servers of multiple levels, and the recording servers of different levels include at least one recording server; the management server The recording server of the corresponding level is determined according to the heat value. Here, not only the number of times of the program itself, but also the average number of times of the channel corresponding to the program, that is, the heat information of the channel. The determining, by the management server, the popularity value of the program according to the number of times of the on-demand and the average number of on-demand times may include: multiplying the number of times of the on-demand by the first weighting coefficient to obtain a first heat value; and multiplying the average number of times of the on-demand by the second weighting coefficient to obtain a second heat value; The sum of the weighting coefficient and the second weighting coefficient is 1; the sum of the first heat value and the second heat value is taken as the heat value of the program. The weighting value can be set according to the actual situation, that is, the first weighting coefficient and the second weighting coefficient value can be set according to actual conditions. In combination with the above example, if 220 recording servers are set to 3 levels, namely level 1, level 2, and level 3; there are 50 recording servers in level 1, and 70 recording servers in level 2, level 3 There are 100 recording servers in it. If the on-demand ten million is a heat value, it is assumed that "running, brother", "I am a singer" and "animal world" are all in the same channel, and the first weighting coefficient is 80%, and the second weighting coefficient is 20%; then "Run, Brother", "I am a singer" and "Animal World" respectively correspond to the heat values of 55.8, 47.8 and 8.2; and if the preset heat value is greater than 0 less than 30 corresponds to level 1; If the heat value is greater than 30 and less than 60, it corresponds to level 2; when the heat value is greater than 60, it corresponds to level 3; here, when level 2 is selected by default, the recording server in level 1 is started at the same time. When level 3 is used, level 1 and level 2 are started at the same time. Recording server, that is, when the heat value is greater than 30 and less than 60, it corresponds to all recording servers in level 1 and level 2; when the heat value is greater than 60, it corresponds to all recording servers in level 1, level 2 and level 3, if it is "running" Well, brothers and "I am a singer" Level 2, then the level 1 will be started at the same time, and the recording servers in level 1 and level 2 will be started to record and store "running, brother" and "I am a singer", that is, using 120 recording servers to "run" Well, brothers and "I am a singer" are recording storage. The "Animal World" uses Level 1 for recording and storage, that is, 60 recording servers to record and store "Animal World".
多个级别录制服务器设置包括第一级别录制服务器、第二级别录制服务器和第三级别录制服务器;管理服务器根据热度值不同确定对应级别的录制服务器包括:当热度值大于等于第一阈值、小于等于第二阈值时,对应为第一级别录制服务器;当热度值大于第二阈值、小于等于第三阈值时,对应为第一级别录制服务器和第二级别录制服务器;当热度值大于第三阈值时,对应为第一级别录制服务器、第二级别录制服务器和第三级别录制服务器。这里的第一阈值、第二阈值和第三阈值的大小可以根据实际情况进行设置,这里的第一级别录制服务器、第二级别录制服务器和第三级别录制服务器中包含的录制服务器的个数也可以根据实际情况进行设置。The plurality of levels of recording server settings include a first level recording server, a second level recording server, and a third level recording server; the management server determines the corresponding level of the recording server according to the difference in the heat value, including: when the heat value is greater than or equal to the first threshold, less than or equal to The second threshold is corresponding to the first level recording server; when the heat value is greater than the second threshold and less than or equal to the third threshold, the first level recording server and the second level recording server are corresponding; when the heat value is greater than the third threshold Corresponding to the first level recording server, the second level recording server, and the third level recording server. The first threshold, the second threshold, and the third threshold may be set according to actual conditions, where the number of recording servers included in the first level recording server, the second level recording server, and the third level recording server are also It can be set according to the actual situation.
实施例二Embodiment 2
本实施例的节目录制控制的方法,在热度统计服务器统计节目的播放次数,并对节目进行一系列的处理,首先在热度统计服务器增加一张热度统计表A1,用以记录节目单的点播热度,见附图2,为该表的字段结构示意图,针对字段进行说明:In the program recording control method of the embodiment, the heat statistics server counts the number of times the program is played, and performs a series of processing on the program. First, a heat statistics table A1 is added to the heat statistics server to record the on-demand heat of the program list. See Figure 2 for a schematic diagram of the field structure of the table.
Nodeid(服务器标识):是录制服务器标识;Nodeid (server ID): is the recording server ID;
Channelid(频道标识):是频道标识,一个Channelid标示一个频道;Channelid: is the channel identifier, a Channelid indicates a channel;
Cid(节目标识):是节目单的标识;Cid (program identification): is the identification of the program list;
Number(点播次数):是该节目单被用户点播的次数;Number (number of times of on-demand): is the number of times the program list is requested by the user;
Endtime(结束时间):该节目单的结束时间;Endtime: the end time of the program list;
Tstvtime(缓存时长):该频道的缓存时长。Tstvtime (cache duration): The buffer duration of this channel.
如图3所示,包括以下步骤:As shown in Figure 3, the following steps are included:
步骤S201:stb对其中某一个节目进行播放,从点播开始启动上报数据 库流程;Step S201: stb plays a certain program, and starts reporting data from the on-demand Library process
步骤S202:数据库接到上报的节目次数上报,会查询A1表中是否有该节目对应的记录,如果有就在number中加1;如果没有该条记录,就在A1表中增加该条记录,并number取值为1。Step S202: The database receives the reported number of times of reporting, and queries whether there is a record corresponding to the program in the A1 table, and if there is any, adds 1 to the number; if there is no such record, the record is added in the A1 table. And number is 1.
步骤S203:之后启动定时任务1,每小时执行一次,该定时任务用于在A1表中搜寻符合判断条件1的记录;Step S203: Start the timed task 1 and execute it once an hour. The timed task is used to search the A1 table for the record that meets the judgment condition 1;
步骤S204:此处的判断条件1就是当前时间-3小时=<endtime+tstvtime=<当前时间-2Step S204: The judgment condition 1 here is the current time - 3 hours = <endtime + tstvtime = < current time - 2
使用该判断条件,针对快到tstvtime的节目或者说是分片在即将被删除之前的2小时搜寻到该节目,提前上报给MDP(管理服务器);Using the judgment condition, the program for the tstvtime program or the shard is searched for 2 hours before being deleted, and reported to the MDP (management server) in advance;
步骤S205:把符合该判断条件1搜寻出来的节目,查询出来后统一上报给MDP,这里如果搜寻的内容很多,可以考虑做好流控,逐批上报。Step S205: The program that is searched for according to the judgment condition 1 is queried and uniformly reported to the MDP. If there is a lot of content to be searched, the flow control may be considered and reported in batches.
步骤S206:另外一个定时任务2,也是每小时执行一次,该定时任务用于在A1表中搜寻符合判断条件2的记录;Step S206: Another timed task 2 is also executed every hour, and the timed task is used to search the A1 table for the record that meets the judgment condition 2;
步骤S207:此处的判断条件2就是:Endtime+tstvtime>当前时间Step S207: The judgment condition 2 here is: Endtime+tstvtime> current time
该判断条件,针对已经上报过的节目,已经到了tstvtime了,需要把该条记录删除掉;The judgment condition has already reached tstvtime for the program that has been reported, and the record needs to be deleted;
步骤S208:把符合判断条件2搜寻出来的节目,都统一删除掉。Step S208: The programs searched for the matching condition 2 are uniformly deleted.
在增加录制服务器时,针对录制属性设置四种级别类型,分别对应如下:When adding a recording server, set four levels of types for the recording properties, which correspond to the following:
默认级录制服务器:一直在进行录制的录制服务器,或者说该录制服务器的频道从一开始就进行录制。这种录制服务器一般是录制中心服务器。Default Recording Server: The recording server that has been recording, or the recording server's channel is recorded from the beginning. This recording server is typically a recording center server.
1级录制服务器:根据热度统计的结果,当达到符合再生成录制计划的最低一个区间时(C1-C2),需要下发录制计划的录制服务器;Level 1 recording server: According to the results of the heat statistics, when the lowest interval (C1-C2) that meets the regenerative recording schedule is reached, the recording server of the recording plan needs to be delivered;
2级录制服务器:根据热度统计的结果,当达到符合再生成录制计划的中间一个区间时(C2-C3),需要下发录制计划的录制服务器;其中热度统计到该热度时,1级录制服务器也会下发录制计划。 Level 2 recording server: According to the result of the heat statistics, when the middle interval corresponding to the re-generation recording plan is reached (C2-C3), the recording server of the recording plan needs to be delivered; when the heat is counted to the heat, the level 1 recording server A recording plan will also be issued.
3级录制服务器:据热度统计的结果,当达到符合再生成录制计划的值超过某个值时(C3),需要下发录制计划的录制服务器;其中热度统计到该热度时,1级和2级录制服务器也会下发录制计划。Level 3 recording server: According to the result of the heat statistics, when the value that meets the regenerative recording plan exceeds a certain value (C3), the recording server of the recording plan needs to be delivered; where the heat is counted to the heat level, level 1 and 2 The recording server will also issue a recording schedule.
C1、C2和C3的取值是可以自己设定的,可以根据现场运行的实际情况和局方的需要,来灵活配置和修改。The values of C1, C2 and C3 can be set by themselves, and can be flexibly configured and modified according to the actual situation of the site operation and the needs of the local authorities.
根据上面的描述,在MDP侧维护着两张热度统计表A2和A3,这两张表都用来推算该频道的节目后续的用户点播行为,其中A2表中是针对每个节目进行统计的,更细化和具体;而A3表是针对该频道的每天的节目统计平均值的,更加抽象化;所以根据现场观察得到的经验,这里针对A2表的取值加权80%,针对A3表的取值加权20%。According to the above description, two heat statistics tables A2 and A3 are maintained on the MDP side, both of which are used to estimate the subsequent user-on-demand behavior of the program of the channel, wherein the A2 table is counted for each program. More detailed and specific; and the A3 table is the average of the statistics of the daily program of the channel, more abstract; so according to the experience gained from the field observation, the value of the A2 table is weighted by 80%, for the A3 table The value is weighted by 20%.
接下来,根据A2和A3表的取值计算出加权和以后,根据该值来判断是在哪个区间;假设计算后的值是在C1-C2区间,那么这个就针对1级录制服务器生成录制任务,其他级别的录制服务器不再生成录制任务;假设计算的值大于C3,那么就在1级、2级和3级录制服务器都生成录制任务,就是说剩下所有的录制服务器都进行录制。Next, after calculating the weighted sum according to the values of the A2 and A3 tables, it is judged according to the value, in which interval; assuming that the calculated value is in the C1-C2 interval, then this generates a recording task for the level 1 recording server. Other levels of recording servers no longer generate recording tasks; assuming that the calculated value is greater than C3, recording tasks are generated on the Level 1, Level 2, and Level 3 recording servers, that is, all remaining recording servers are recording.
录制下发的时间是需要控制在频道对应分片的缓存时间到来之前,否则如果录制计划下发到录制服务器侧时,对应的分片已经被删除,那么录制就失败了。采用本实例中的方法,并不需要增加硬件设备,不需要增加额外的大的功能模块;所以在基本没有额外投入的情况下,实现了上述所说的两种优化,对于运营商和设备提供商来说,能够提高产品竞争力。The recording time is required to be controlled before the cache time of the channel corresponding to the fragment arrives. Otherwise, if the corresponding fragment has been deleted when the recording plan is sent to the recording server side, the recording will fail. With the method in this example, there is no need to add hardware devices, and no additional large functional modules need to be added; therefore, the above two optimizations are implemented without substantially additional input, and are provided for operators and devices. Businesses can improve product competitiveness.
实施例三Embodiment 3
本实施例的节目录制控制的方法,主要是在管理服务器端MDP进行说明,首先在热度统计服务器增加两张表,其中对于A2表和在录制服务器侧的A1表基本一样,只是去掉nodeid,因为在MDP侧不需要再对nodeid做统计,是统计的总的点播次数。对于热度统计表A3,见附图4,为该表的字段结构示意图,针对字段进行说明:The method for program recording control in this embodiment is mainly described in the management server MDP. First, two tables are added to the heat statistics server, wherein the A2 table is basically the same as the A1 table on the recording server side, except that the nodeid is removed because There is no need to count the nodeid on the MDP side, which is the total number of on-demand statistics. For the heat statistics table A3, see FIG. 4, which is a schematic diagram of the field structure of the table, and the fields are explained:
Channelid(频道标识):频道的一个标识; Channelid: An identifier of a channel;
Number(点播次数):该频道在一天内平均每个节目被点播的次数。Number: The number of times the channel is averaged for each show in a day.
因为这个A3表主要是针对一个频道的每个节目来统一计算平均值的,所以不需要加区别节目的字段。Since this A3 table is mainly for calculating the average value for each program of one channel, it is not necessary to add a field for distinguishing programs.
详细步骤,如图5所示,包括以下步骤:The detailed steps, as shown in Figure 5, include the following steps:
步骤S301:录制服务器侧每一个小时,把符合热度条件的节目及相关信息上报给MDP,MDP接收后准备写入数据库;Step S301: Reporting the program and related information in accordance with the heat condition to the MDP every hour of the recording server side, and the MDP is ready to write to the database after receiving the data;
步骤S302:收到录制服务器侧的上报信息后,在MDP侧写入A2表,也就是写入数据库;Step S302: After receiving the report information on the recording server side, the A2 table is written on the MDP side, that is, the database is written;
步骤S303:此处增加一个定时任务,每天晚上的一个固定时间来执行,该定时任务主要用来把符合某种条件的A2表中的内容转移到A3表中。Step S303: Add a timed task here, which is executed every night at a fixed time. The timed task is mainly used to transfer the content in the A2 table that meets certain conditions to the A3 table.
步骤S304:针对A2表,进行判断是否符合判断条件4,该判断条件如下:Endtime+tstvtime>当前时间Step S304: For the A2 table, it is determined whether the judgment condition 4 is met, and the judgment condition is as follows: Endtime+tstvtime>current time
此处的判断条件也就是已经过了缓存时间的节目,可以被移除了。The judgment condition here is that the program that has passed the cache time can be removed.
步骤S305:把符合上述条件的A2表中的节目,移除到A3表中,这里的移除遵循以下的机制:Step S305: The program in the A2 table that meets the above conditions is removed into the A3 table, and the removal here follows the following mechanism:
把在步骤S304中符合条件的记录在A2表中删除;The record that meets the condition in step S304 is deleted in the A2 table;
把A2表中的这些记录按频道分类记录节目个数;Record the number of programs in the A2 table by channel classification;
按频道分类,记录总的点播次数;Sort by channel and record the total number of on-demand times;
计算出平均每个节目的点播次数=频道总点播次数/频道下的节目个数;Calculate the average number of on-demand per program = total number of channels on demand / number of programs under the channel;
把频道channelid和平均节目的点播次数写入A3表;Write the channel channelid and the on-demand count of the average program to the A3 table;
同时,把A3表中原有的记录删除掉。At the same time, delete the original records in the A3 table.
步骤S306:针对A2表,同时会启动另外一个定时任务,该定时任务每小时执行一次;Step S306: For the A2 table, another timing task is started at the same time, and the timing task is executed every hour;
步骤S307:该定时任务来查询A2表的节目记录,是否符合判断条件3:当前时间-2<Endtime+tstvtime<当前时间-1Step S307: The timing task queries the program record of the A2 table, whether it meets the judgment condition 3: the current time -2<Endtime+tstvtime<current time-1
步骤S308:如果在步骤S307步骤中,查询出符合判断条件3的记录,那么针对查询出来的记录做如下处理: Step S308: If the record that meets the judgment condition 3 is queried in the step S307, the following records are processed for the queryed record:
找到该记录,把该节目在A2表中对应的number加权80%;Find the record and weight the corresponding number in the A2 table by 80%;
根据A2表的channelid找到关联表A3中,找到该channelid的number,在该number上加权20%;Find the number of the channelid in the association table A3 according to the channelid of the A2 table, and weight 20% on the number;
把第1、2步中的两个加权以后的值相加计算,得出该节目的最终加权值。The two weighted values in steps 1 and 2 are added together to calculate the final weighted value of the program.
步骤S309:使用步骤S308中计算出来的加权值,来判断该加权值的区间;Step S309: determining the interval of the weighting value by using the weighting value calculated in step S308;
步骤S310:如果加权值在C1和C2之间,那么该针对这些节目所对应的录制,在1级录制服务器中增加录制任务,也就是在录制任务表中插入该录制任务,届时会有录制计划下发到对应的录制服务器中去。Step S310: If the weighting value is between C1 and C2, then for the recording corresponding to the programs, the recording task is added to the level 1 recording server, that is, the recording task is inserted in the recording task table, and there is a recording plan at that time. Send it to the corresponding recording server.
步骤S311:如果加权值在C2和C3之间,那么该针对这些节目所对应的录制,在1和2级录制服务器中增加录制任务,也就是在录制任务表中插入该录制任务,届时会有录制计划下发到对应的录制服务器中去。Step S311: If the weighting value is between C2 and C3, then for the recording corresponding to the programs, the recording task is added to the recording server of the level 1 and 2, that is, the recording task is inserted in the recording task table, and then there will be The recording plan is sent to the corresponding recording server.
步骤S312:如果加权值超过C3,那么该针对这些节目所对应的录制,在1和2级和3级录制服务器中增加录制任务,也就是在录制任务表中插入该录制任务,届时会有录制计划下发到对应的录制服务器中去。Step S312: If the weighted value exceeds C3, the recording task is added to the recording corresponding to the programs, and the recording task is added to the recording server in the recording task table, that is, the recording task is inserted in the recording task table, and then the recording is performed. The plan is sent to the corresponding recording server.
本实施例的方法在旨在精细化管理、智能化录制上面进行创新,使录制更加趋于合理和智能化,不是所有的节点或频道都进行录制,而是根据该节目单的点播次数以及以前该频道下节目单的点播次数,做出预测,根据这个预测来判断接下来该节目单是否会成为热点,来决定应该有多少个录制服务器来进行录制。随着以后录制服务器数目和频道数目增加,以及频道码率的逐步提升,以前粗放式的录制机制难以适应,只能是朝精细化管理智能化录制方向改进,才能适应新的形势。The method of the embodiment innovates on the purpose of fine management and intelligent recording, so that the recording is more reasonable and intelligent, not all nodes or channels are recorded, but according to the number of times of the program and the previous The number of on-demand orders of the program under the channel is predicted, and based on this prediction, it is determined whether the program list will become a hot spot next, to determine how many recording servers should be recorded. With the increase of the number of recording servers and the number of channels in the future, and the gradual increase of the channel code rate, the previous extensive recording mechanism is difficult to adapt, and it can only be improved in the direction of refined management intelligent recording, in order to adapt to the new situation.
实施例四Embodiment 4
本实施例提供一种管理服务器400,如图6所示,包括获取模块401和管理模块402:获取模块401设置为:在节目的缓存时间到达之前,从热度统计服务器上获取节目的热度信息;管理模块402设置为:根据热度信息确 定录制节目的录制服务器数量,根据确定的数量选定对应个数的录制服务器,下发用于通知录制节目的录制任务给选定的录制服务器。The embodiment of the present invention provides a management server 400. As shown in FIG. 6, the method includes an obtaining module 401 and a management module 402. The obtaining module 401 is configured to: obtain the heat information of the program from the heat statistics server before the cache time of the program arrives; The management module 402 is configured to: according to the heat information The number of recording servers for the recorded program is selected, and the corresponding number of recording servers are selected according to the determined number, and the recording task for notifying the recorded program is delivered to the selected recording server.
当热度信息包括点播次数时,管理模块402是设置为:将点播次数作为节目的热度值,将多个录制服务器设置为多个级别的录制服务器,不同级别的录制服务器至少包括一个录制服务器,根据热度值确定对应级别的录制服务器。When the popularity information includes the number of on-demand times, the management module 402 is configured to set the number of times of the on-demand as the popularity value of the program, and set the plurality of recording servers to a plurality of levels of recording servers, and the recording servers of different levels include at least one recording server, according to The heat value determines the recording server of the corresponding level.
当热度信息包括频道标识信息和点播次数时,一个频道包括多个节目;管理模块402是设置为:根据频道标识信息找到频道标识信息对应的频道的平均点播次数,并根据点播次数和平均点播次数确定节目的热度值,将多个录制服务器设置为多个级别的录制服务器,不同级别的录制服务器至少包括一个录制服务器;根据热度值确定对应级别的录制服务器。When the heat information includes the channel identification information and the number of times of on-demand, one channel includes a plurality of programs; the management module 402 is configured to: find the average number of times of the channel corresponding to the channel identification information according to the channel identification information, and according to the number of times of on-demand and the average number of times of on-demand Determine the popularity value of the program, set multiple recording servers to multiple levels of recording servers, and the recording servers of different levels include at least one recording server; determine the corresponding level of the recording server according to the heat value.
本实施例还提供一种热度统计服务器500,如图7所示,包括统计模块501和上传模块502:统计模块501设置为:在节目的缓存时间到达之前,统计节目的热度信息;上传模块502设置为:将节目的热度信息给管理服务器400。The embodiment further provides a heat statistics server 500, as shown in FIG. 7, including a statistics module 501 and an uploading module 502: the statistics module 501 is configured to: calculate the heat information of the program before the program cache time arrives; and upload module 502 It is set to: the heat information of the program is given to the management server 400.
本实施例还提供一种节目录制控制系统,如图8所示,包括热度统计服务器500和管理服务器400:热度统计服务器500设置为:在节目的缓存时间到达之前,统计节目的热度信息,将节目的热度信息给管理服务器400;管理服务器400设置为:从热度统计服务器500上获取节目的热度信息,根据热度信息确定录制节目的录制服务器数量,根据确定的数量选定对应个数的录制服务器,下发用于通知录制节目的录制任务给选定的录制服务器。The embodiment further provides a program recording control system. As shown in FIG. 8, the heat statistics server 500 and the management server 400 are provided. The heat statistics server 500 is configured to: before the cache time of the program arrives, the hotness information of the program is calculated. The heat information of the program is sent to the management server 400. The management server 400 is configured to: obtain the heat information of the program from the heat statistics server 500, determine the number of recording servers for recording the program according to the heat information, and select a corresponding number of recording servers according to the determined number. , the recording task for notifying the recorded program is sent to the selected recording server.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。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.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in 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.
工业实用性Industrial applicability
本发明实施例中,不是所有的录制服务器都进行节目的录制,而是根据节目的热度信息来确定录制节目的录制服务器数量,即通过当前热度信息来预测将来对该节目的点播,这样既可以保证用户能够对节目进行点播,对用户的体验不会造成任何负面影响的同时,能节省很多的存储空间,即减少录制服务器的消耗,降低成本,提高产品的竞争力。 In the embodiment of the present invention, not all recording servers perform recording of the program, but determine the number of recording servers for recording the program according to the heat information of the program, that is, predicting the on-demand broadcasting of the program through the current heat information, so that The user can ensure that the program can be on-demand, without any negative impact on the user experience, and can save a lot of storage space, that is, reduce the consumption of the recording server, reduce the cost, and improve the competitiveness of the product.

Claims (12)

  1. 一种节目录制控制方法,包括:A program recording control method includes:
    管理服务器在节目的缓存时间到达之前,从热度统计服务器上获取所述节目的热度信息;The management server acquires the heat information of the program from the heat statistics server before the cache time of the program arrives;
    所述管理服务器根据所述热度信息确定录制所述节目的录制服务器数量;Determining, by the management server, the number of recording servers that record the program according to the heat information;
    所述管理服务器根据确定的数量选定对应个数的录制服务器;The management server selects a corresponding number of recording servers according to the determined number;
    所述管理服务器下发用于通知录制所述节目的录制任务给选定的录制服务器。The management server delivers a recording task for notifying the recording of the program to the selected recording server.
  2. 如权利要求1所述的节目录制控制方法,其中,所述热度信息包括点播次数,或包括频道标识信息和点播次数。The program recording control method according to claim 1, wherein said heat information includes a number of times of on-demand, or includes channel identification information and number of times of on-demand.
  3. 如权利要求2所述的节目录制控制方法,其中,The program recording control method according to claim 2, wherein
    当所述热度信息包括点播次数时,所述管理服务器根据所述热度信息确定录制所述节目的录制服务器数量包括:所述管理服务器将所述点播次数作为所述节目的热度值;将多个录制服务器设置为多个级别的录制服务器,不同级别的录制服务器至少包括一个录制服务器;所述管理服务器根据所述热度值确定对应级别的录制服务器;When the heat information includes the number of times of on-demand, the management server determines, according to the heat information, the number of recording servers that record the program, that is, the management server uses the number of times of the video as the heat value of the program; The recording server is set to a plurality of levels of recording servers, and the recording servers of different levels include at least one recording server; the management server determines a recording server of a corresponding level according to the heat value;
    当所述热度信息包括频道标识信息和点播次数时,一个频道包括多个节目;所述管理服务器根据所述热度信息确定录制所述节目的录制服务器数量包括:所述管理服务器根据所述频道标识信息找到所述频道标识信息对应的频道的平均点播次数;所述管理服务器根据所述点播次数和所述平均点播次数确定所述节目的热度值;将多个录制服务器设置为多个级别的录制服务器,不同级别的录制服务器至少包括一个录制服务器;所述管理服务器根据所述热度值确定对应级别的录制服务器。When the heat information includes channel identification information and the number of times of on-demand, one channel includes a plurality of programs; and the management server determines, according to the heat information, the number of recording servers that record the program, including: the management server according to the channel identifier The information finds an average number of times of on-demand channels corresponding to the channel identification information; the management server determines a heat value of the program according to the number of times of the order and the average number of times of on-demand; and sets a plurality of recording servers to record at multiple levels The server, the recording server of different levels includes at least one recording server; and the management server determines the recording server of the corresponding level according to the heat value.
  4. 如权利要求3所述的节目录制控制方法,其中,所述管理服务器根据所述点播次数和所述平均点播次数确定所述节目的热度值包括:将所述点播次数乘以第一加权系数得到第一热度值;将所述平均点播次数乘以第二加权系数得到第二热度值;所述第一加权系数与所述第二加权系数的和为1;将 所述第一热度值与所述第二热度值的和作为所述节目的热度值。The program recording control method according to claim 3, wherein the determining, by the management server, the popularity value of the program according to the number of times of on-demand and the average number of on-demand times comprises: multiplying the number of times of the on-demand by a first weighting coefficient a first heat value; multiplying the average number of times of the number of times by the second weighting coefficient to obtain a second heat value; the sum of the first weighting coefficient and the second weighting coefficient is 1; The sum of the first heat value and the second heat value is used as the heat value of the program.
  5. 如权利要求3或4所述的节目录制控制方法,其中,多个级别录制服务器设置包括第一级别录制服务器、第二级别录制服务器和第三级别录制服务器;所述管理服务器根据所述热度值确定对应级别的录制服务器包括:The program recording control method according to claim 3 or 4, wherein the plurality of level recording server settings comprise a first level recording server, a second level recording server, and a third level recording server; and the management server is based on the heat value The recording server that determines the corresponding level includes:
    当所述热度值大于等于第一阈值、小于等于第二阈值时,对应为第一级别录制服务器;When the heat value is greater than or equal to the first threshold and less than or equal to the second threshold, corresponding to the first level recording server;
    当所述热度值大于第二阈值、小于等于第三阈值时,对应为第一级别录制服务器和第二级别录制服务器;When the heat value is greater than the second threshold and less than or equal to the third threshold, corresponding to the first level recording server and the second level recording server;
    当所述热度值大于第三阈值时,对应为第一级别录制服务器、第二级别录制服务器和第三级别录制服务器。When the heat value is greater than the third threshold, the first level recording server, the second level recording server, and the third level recording server are corresponding.
  6. 一种节目录制控制方法,包括:A program recording control method includes:
    热度统计服务器在节目的缓存时间到达之前,统计所述节目的热度信息;The heat statistics server counts the heat information of the program before the cache time of the program arrives;
    所述热度统计服务器将所述节目的热度信息给所述管理服务器。The heat statistics server sends the heat information of the program to the management server.
  7. 一种节目录制控制方法,包括:A program recording control method includes:
    热度统计服务器在节目的缓存时间到达之前,统计所述节目的热度信息;The heat statistics server counts the heat information of the program before the cache time of the program arrives;
    所述管理服务器从所述热度统计服务器上获取节目的热度信息;The management server obtains heat information of the program from the heat statistics server;
    所述管理服务器根据所述热度信息确定录制所述节目的录制服务器数量;Determining, by the management server, the number of recording servers that record the program according to the heat information;
    所述管理服务器根据确定的数量选定对应个数的录制服务器;The management server selects a corresponding number of recording servers according to the determined number;
    所述管理服务器下发用于通知录制所述节目的录制任务给选定的录制服务器。The management server delivers a recording task for notifying the recording of the program to the selected recording server.
  8. 一种管理服务器,包括获取模块和管理模块:A management server, including an acquisition module and a management module:
    所述获取模块设置为:在节目的缓存时间到达之前,从热度统计服务器上获取所述节目的热度信息;The obtaining module is configured to: obtain the heat information of the program from the heat statistics server before the cache time of the program arrives;
    所述管理模块设置为:根据所述热度信息确定录制所述节目的录制服务 器数量,根据确定的数量选定对应个数的录制服务器,下发用于通知录制所述节目的录制任务给选定的录制服务器。The management module is configured to: determine, according to the heat information, a recording service for recording the program The number of devices is selected according to the determined number of recording servers, and the recording task for notifying the recording of the program is sent to the selected recording server.
  9. 如权利要求8所述的管理服务器,其中,The management server according to claim 8, wherein
    当所述热度信息包括点播次数时,所述管理模块是设置为:将所述点播次数作为所述节目的热度值,将多个录制服务器设置为多个级别的录制服务器,不同级别的录制服务器至少包括一个录制服务器,根据所述热度值确定对应级别的录制服务器;When the heat information includes the number of times of on-demand, the management module is configured to: set the number of times of the video as the heat value of the program, set the plurality of recording servers to a plurality of levels of recording servers, and record servers of different levels. Include at least one recording server, and determining a recording server of a corresponding level according to the heat value;
    当所述热度信息包括频道标识信息和点播次数时,一个频道包括多个节目;所述管理模块是设置为:根据所述频道标识信息找到所述频道标识信息对应的频道的平均点播次数,并根据所述点播次数和所述平均点播次数确定所述节目的热度值,将多个录制服务器设置为多个级别的录制服务器,不同级别的录制服务器至少包括一个录制服务器;根据所述热度值确定对应级别的录制服务器。When the heat information includes the channel identification information and the number of times of on-demand, the one channel includes a plurality of programs; the management module is configured to: find the average number of times of the channels corresponding to the channel identification information according to the channel identification information, and Determining the popularity value of the program according to the number of times of the broadcast and the average number of on-demand times, setting a plurality of recording servers as recording servers of multiple levels, and the recording servers of different levels include at least one recording server; determining according to the heat value The corresponding level of the recording server.
  10. 一种热度统计服务器,包括统计模块和上传模块:A heat statistics server, including a statistics module and an upload module:
    所述统计模块设置为:在节目的缓存时间到达之前,统计所述节目的热度信息;The statistic module is configured to: collect the heat information of the program before the cache time of the program arrives;
    所述上传模块设置为:将所述节目的热度信息给所述管理服务器。The uploading module is configured to: send heat information of the program to the management server.
  11. 一种节目录制控制系统,包括热度统计服务器和管理服务器:A program recording control system, including a heat statistics server and a management server:
    所述热度统计服务器设置为:在节目的缓存时间到达之前,统计所述节目的热度信息,将所述节目的热度信息给所述管理服务器;The heat statistics server is configured to: before the cache time of the program arrives, count the heat information of the program, and send the heat information of the program to the management server;
    所述管理服务器设置为:从所述热度统计服务器上获取节目的热度信息,根据所述热度信息确定录制所述节目的录制服务器数量,根据确定的数量选定对应个数的录制服务器,下发用于通知录制所述节目的录制任务给选定的录制服务器。The management server is configured to: obtain the heat information of the program from the heat statistics server, determine the number of recording servers for recording the program according to the heat information, and select a corresponding number of recording servers according to the determined quantity, and issue the same Used to notify the recording task of recording the program to the selected recording server.
  12. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-7任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-7.
PCT/CN2015/089757 2015-04-03 2015-09-16 Method and system for controlling program recording, and management server and hotness counting server WO2016155256A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510156212.3 2015-04-03
CN201510156212.3A CN106162218B (en) 2015-04-03 2015-04-03 Program recording control method, system and management and popularity statistical server

Publications (1)

Publication Number Publication Date
WO2016155256A1 true WO2016155256A1 (en) 2016-10-06

Family

ID=57003926

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/089757 WO2016155256A1 (en) 2015-04-03 2015-09-16 Method and system for controlling program recording, and management server and hotness counting server

Country Status (2)

Country Link
CN (1) CN106162218B (en)
WO (1) WO2016155256A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162218A (en) * 2015-04-03 2016-11-23 中兴通讯股份有限公司 A kind of program recording control method, system and management, hot statistics server

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115480832A (en) * 2021-05-27 2022-12-16 北京字节跳动网络技术有限公司 Live broadcast room service configuration method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232600A (en) * 2008-03-04 2008-07-30 华为技术有限公司 Device, system and method for providing order program contents
CN101291425A (en) * 2008-06-17 2008-10-22 中兴通讯股份有限公司 Method and system realizing content dynamically publishing based on hotness of user's demand
US20100100911A1 (en) * 2008-10-20 2010-04-22 At&T Corp. System and Method for Delivery of Video-on-Demand
CN102724570A (en) * 2012-05-22 2012-10-10 中兴通讯股份有限公司 System and method for displaying programs of interactive network television
CN103905332A (en) * 2012-12-31 2014-07-02 华为技术有限公司 Method and device for determining caching strategy

Family Cites Families (3)

* 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
CN102595207B (en) * 2012-01-10 2015-09-23 深圳市同洲电子股份有限公司 A kind of content delivering system, content distribution method and content delivering apparatus
CN106162218B (en) * 2015-04-03 2020-11-06 中兴通讯股份有限公司 Program recording control method, system and management and popularity statistical server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232600A (en) * 2008-03-04 2008-07-30 华为技术有限公司 Device, system and method for providing order program contents
CN101291425A (en) * 2008-06-17 2008-10-22 中兴通讯股份有限公司 Method and system realizing content dynamically publishing based on hotness of user's demand
US20100100911A1 (en) * 2008-10-20 2010-04-22 At&T Corp. System and Method for Delivery of Video-on-Demand
CN102724570A (en) * 2012-05-22 2012-10-10 中兴通讯股份有限公司 System and method for displaying programs of interactive network television
CN103905332A (en) * 2012-12-31 2014-07-02 华为技术有限公司 Method and device for determining caching strategy

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162218A (en) * 2015-04-03 2016-11-23 中兴通讯股份有限公司 A kind of program recording control method, system and management, hot statistics server
CN106162218B (en) * 2015-04-03 2020-11-06 中兴通讯股份有限公司 Program recording control method, system and management and popularity statistical server

Also Published As

Publication number Publication date
CN106162218B (en) 2020-11-06
CN106162218A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
CN101232600B (en) Device, system and method for providing order program contents
US9736503B1 (en) Optimizing timing of display of a mid-roll video advertisement based on viewer retention data
US11979445B2 (en) Transmitting media item to different destinations using different sized chunks
US10362356B2 (en) Efficient insertion of media items in media streams
CN101427250B (en) Data summarization system and method for summarizing a data stream
US9602863B2 (en) Ad replacement
CN103686231A (en) Method and system for integrated management, failure replacement and continuous playing of film
CN109257631A (en) Video carousel playback method, device, computer equipment and storage medium
CN106686411A (en) Streaming media channel recording method and device, playback method and device and server
CN103369351A (en) Streaming media fast-forward and fast-backward processing method, video server and system
CN101068341B (en) Stream media dispatching system and medium file scheduling method thereof
CN102332284A (en) Multimedia data processing method and processing system suitable for digital media broadcast
US12058388B2 (en) Event progress detection in media items
CN104581218A (en) Method and device for monitoring flow direction of network television audiences
WO2016155256A1 (en) Method and system for controlling program recording, and management server and hotness counting server
CN104410879A (en) Time-shifting implementation method and device and server
CN101699443B (en) Method and device for managing network files
CN109151258B (en) Cloud-cut video distribution method and system
CN104581226A (en) Method and device for recommending programs by aiming at current live stream
CN103179440A (en) Value-added service time-shifted television system facing 3G users
CN105072489A (en) Method and system for fast reading file
WO2023082764A1 (en) Content recording method, content playing method, cdn system, and storage medium
CN100574250C (en) A kind of time shift service system and method
CN102769634B (en) A kind of web online information management method and system
JP2012175478A (en) Digital content reproduction apparatus and metadata generation method

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

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

Country of ref document: EP

Kind code of ref document: A1