WO2008055435A1 - Method of the information broadcast scheduling on the network - Google Patents

Method of the information broadcast scheduling on the network Download PDF

Info

Publication number
WO2008055435A1
WO2008055435A1 PCT/CN2007/070946 CN2007070946W WO2008055435A1 WO 2008055435 A1 WO2008055435 A1 WO 2008055435A1 CN 2007070946 W CN2007070946 W CN 2007070946W WO 2008055435 A1 WO2008055435 A1 WO 2008055435A1
Authority
WO
WIPO (PCT)
Prior art keywords
plan
task
channels
program
time
Prior art date
Application number
PCT/CN2007/070946
Other languages
French (fr)
Chinese (zh)
Inventor
Chungen Liu
Weizhong Li
Peng Yan
Xinghe Huang
Zhenzhong Dai
Original Assignee
Star Software Technology Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Star Software Technology Co., Ltd. filed Critical Star Software Technology Co., Ltd.
Publication of WO2008055435A1 publication Critical patent/WO2008055435A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1881Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with schedule organisation, e.g. priority, sequence management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Definitions

  • the present invention relates to information transmission techniques, and more particularly to an information distribution scheduling method in a channel network.
  • the transmission capacity of the existing video on demand system established on the cable television transmission network is limited by its bandwidth.
  • a service group of a video on demand system if 20 carrier frequency points can be set, and each carrier frequency point can simultaneously transmit 10 channels of video programs, then in the service group, 200 channels of programs can be simultaneously transmitted, that is, having 200 channels. Channels. Since the programs in a service group are broadcasted in broadcast form in a cable television network, for each client of a service group, the programs received at a certain time are limited to 200 programs. Since the number of clients in a service group may reach thousands, if the requirements of each user are different, the video on demand request of the user may not be satisfied at the same time.
  • the channel resource utilization of the video on demand system has obvious periodicity, there are obvious peaks and valleys in one day or one week.
  • the applicant has proposed a technical solution for ordering video on demand.
  • the user requests to place a request for a video program, and the video on demand system arranges the transmission of the video program according to the request of each client. time.
  • the video program is transmitted to the client and stored in the local memory of the client, and the information consumer can obtain the video program and watch it locally.
  • This method can play the role of peak clipping and valley filling, and is an effective way to improve the channel resource utilization of the video on demand system.
  • the present invention provides an information broadcast scheduling method in a channel network.
  • This method can reasonably realize the scheduling of information broadcast.
  • This method is mainly for a video on demand system that provides a subscription-type video on demand service, but is also applicable to other information transmission systems that provide similar services.
  • the information distribution scheduling method in the channel network provided by the present invention is used in a system for simultaneously providing a subscription purchase mode and an instant manner for information transmission, including:
  • the step 11) Arranging the issuance of the subscription information according to the number of channels available for subscribing to the purchase information.
  • the step 11) includes:
  • the number of the reserved channels is specifically: according to the periodicity of the historical rule of using the channel resources according to the instant information, obtaining the number of channels used for the instant information transmission at each moment in the future, and adding a number of channels based on the number of channels.
  • the redundant channel serves as the reserved channel number for the instant information transmission.
  • the step 12) includes:
  • generating a corresponding task according to the subscription purchase request means generating an array of task attribute descriptions describing the task according to the information provided by the pre-order request.
  • the task attribute description array includes the following attribute items: a program identifier, a program length, a client identifier of the order program, a program scheduled time, a service group number, a task priority, a task status, and a task identifier.
  • the plan in step 42) refers to multicasting at a certain time in a certain service.
  • the plan specifically describes the array description using the plan attribute.
  • plan attribute description array includes the following attribute items: program identification, program length, start time, end time, service group number, number of tasks, task identification list, plan identification.
  • the step 42), the specific method of including the task in the plan is:
  • the step of adding the new task to the plan is: adding 1 to the number of tasks of the plan, adding a task identifier of the new task to the task list, and adjusting the task status attribute of the new task to be included Broadcasting plan.
  • the creating a new plan for the new task is: scanning the planned occupied channel of the broadcast schedule at a fixed time interval after a time from the current time according to the number of channels available for the subscription to purchase the program. In the case, until a channel having a length greater than or equal to the length of the new task is found, and a channel that is not yet available for subscription to the program broadcast is found, the scanning is stopped; and a new plan is created for the new task at that time.
  • the actual channel occupancy condition is also detected, and the advertisement plan is adjusted.
  • adjusting the broadcast plan comprises:
  • step 132) determining whether the number of channels used by the instant video on demand program is less than or equal to historical statistics, and if yes, returning to step 131); if not, proceeding to the next step;
  • step 133) If the sum of the number of channels used by the instant video on demand program, the number of redundant channels provided for the instant video on demand program, and the number of channels occupied by the scheduled purchase program is less than the total number of channels, return to step 131); otherwise, proceed to the next step. ;
  • the adjusted advertisement plan is based on the number of channels used by the instant video on demand program, the number of redundant channels provided for the instant video on demand program, and the number of channels occupied by the reserved program plan exceeds the total number of channels. , cancel the same number of plans, and change the status attribute of the corresponding task of the canceled plan to unplanned.
  • the cancellation plan is based on the priority of the tasks in the plan, first canceling the plan with low task priority; if there are multiple plans with the same task priority, canceling the plan with less tasks involved.
  • the information broadcast scheduling method in the channel network uses the historical statistical data of the channel resources according to the information transmission in the instantaneous manner in the channel network, summarizes the periodicity rules, and realizes the broadcast scheduling of the pre-order information transmission.
  • the method can better realize the reasonable arrangement of the subscription purchase business according to the channel resource condition, and utilize the channel resources of the system as much as possible under the premise of transmitting the information purchased by the client from the system background to the client as soon as possible.
  • the method is mainly applicable to the broadcast scheduling of a reserved program in a cable TV video on demand system. It can also be used in other channel networks that simultaneously transmit instant messaging and pre-ordered messaging.
  • Figure 1 is a flow chart of a first embodiment of the present invention
  • FIG. 2 is a schematic diagram of bandwidth occupation of a real-time video on demand task network according to a first embodiment of the present invention
  • FIG. 3 is a flowchart of a task formation plan in the first embodiment of the present invention
  • Fig. 4 is a flow chart showing a method of planning adjustment according to actual channel usage in the first embodiment of the present invention.
  • the first embodiment of the present invention is directed to a video on demand system established in a cable television network, and in this system, a system resource scheduling method for use in subscribing to purchase a video program service is provided.
  • the instant video on demand service and the pre-ordered video on demand service occupy the channel resources of the same network.
  • the instant video on demand program takes precedence over the subscription to purchase the video on demand node n.
  • the use of the network channel is set to a period of time, for example, 24 hours, and the channel allocation usage between each period is substantially similar. Channel allocation usage will vary during the Saturday and Sunday cycles.
  • the number of channels occupied by instant video on demand programs has regularity. It is at the peak of about 7-11 pm. At this time, most of the network channels may be occupied. There are peaks in the morning and afternoon, occupying part of the network channel, and occupying other time. There are fewer channels.
  • the method uses the idle resources of the instant video on demand service to realize the subscription to purchase video on demand service, that is, the system firstly satisfies the channel requirement of the instant video on demand service, and if there is a free channel, it is used to reserve the video on demand service.
  • Any video-on-demand program in the system must be broadcasted once and for all, and cannot be broadcasted intermittently, and the broadcast time is the same as the actual broadcast time of the program.
  • the video on demand system it is divided into several service groups.
  • information is transmitted in broadcast form. That is to say, in a certain period of time, under the same service group, the information transmitted by the system through the channel can be transmitted to all clients in the service group through the same channel.
  • the client orders different programs, and copyright management restrictions, not every client can receive.
  • the number of programs scheduled by the user on the same day cannot exceed a certain number. For example, the number of videos ordered within one day cannot exceed 10.
  • the user's scheduled program needs to be delivered within the specified time to ensure the timeliness of the scheduled purchase. This time can be determined by the user's own choice or by the system.
  • the length and number of scheduled purchases require the support of network channel capacity. If the total number of channels occupied by the instant video on demand system and the subscription video on demand system exceeds the total number of existing channels of the cable network, the subscription purchase is affected.
  • the transmission of video on demand and instant video on demand services requires the network operator to ensure that the system has sufficient total number of channels.
  • the broadcast plan of the pre-ordered program needs to notify the client to purchase in advance, so that the client can prepare for receiving.
  • Figure 1 shows a flow chart for implementing a subscription purchase service for network bandwidth under the above constraints.
  • the information distribution scheduling method provided by the present invention firstly performs program broadcast scheduling according to the channel utilization rule in the video on demand system and the situation in which the user subscribes to the program, and generates a program broadcast schedule.
  • the program broadcast schedule makes preliminary arrangements for the broadcast of the subscription program, but since the actual channel resources in the video on demand system may not be able to satisfy the arrangement of the table, it is also necessary to monitor the actual situation of the channel resource utilization in real time, and Make adjustments at any time.
  • the specific process is as follows.
  • Step S101 initialization.
  • the initialization process mainly includes predicting the number of channels that can be used to subscribe to the program to be broadcasted at various times in order to arrange for the video-on-demand program subscribed by the user to be subscribed.
  • the number of channels available for subscription to program broadcast refers to the number of unused channels in the video on demand system after satisfying the instant video on demand task in the video on demand system.
  • the number of channels available for subscription to a program at a time is random and must be determined based on the results of real-time monitoring.
  • the instantaneous video on-demand quantity has obvious periodicity in the statistical law, so according to the regularity of the instant video on demand, according to the relevant historical statistical data, it is estimated that the time can be used for the subscription to purchase the program broadcast.
  • the number of channels and then schedule the broadcast program according to the estimated number.
  • FIG. 2 is a schematic diagram of network channel occupancy of an instant video on demand task.
  • the diagram shows the situation where the channel resources of the system are occupied by the instant video on demand service within one day.
  • the ordinate of the graph represents the channel resource and the abscissa represents time.
  • the horizontal line of the highest position in the vertical direction represents the total amount of channel network resources, and the total amount is n.
  • the curve in the figure represents the actual value of the on-demand service for channel network resource utilization. From this figure, it is possible to estimate the number of channels occupied by the instant on-demand service at a certain time of day, and to calculate the number of channels available for ordering video-on-demand at various times. In fact, the weekly on-demand tasks occupy a certain amount of regular use of network resources. In principle, based on the above statistics, it is possible to more accurately estimate the number of channels available for subscription to a program at a certain time.
  • the channel resources required for the instant video on demand service may be higher than a certain period of time in the statistics on a specific date.
  • the number of channels reserved for instant video on demand needs to add a number of redundant channels based on the statistical data. For example, if the number of channels occupied by a certain time is d, the number of channels reserved for the instant video on demand service at the moment in the curve is: d*(l+r%), where r is a redundant coefficient obtained empirically.
  • the number of channels available for subscription to the program broadcast can be obtained.
  • Step S102 Receive a subscription purchase request of the client, and generate a corresponding task according to the request.
  • the subscription purchase request of the client refers to a request for a certain video program issued by the client to the background of the system, where the subscription request includes basic information of the client that requests the request, and information of the subscribed program, including the subscription of the program.
  • the number can also include information such as the latest time required to broadcast.
  • the system background can know which program needs to be broadcast to which client as the information for the subsequent arrangement of the broadcast schedule.
  • an appropriate task and an array of task attribute descriptions are generated according to the subscription request.
  • the so-called task is the process of broadcasting an indefinite program to a client that subscribes to a program.
  • a specific array can be used to describe the task corresponding to the order request, which is used when formulating the advertisement schedule.
  • the array is called an array of task attribute descriptions.
  • the following task attributes need to be set in the array describing the task to describe the task.
  • Task attribute 1 Program ID.
  • the program identification is a unique identifier of the program that is used to determine the specific program that the task needs to advertise.
  • Task attribute 2 program length
  • the length of time for the program to be broadcast is the length of time during which the program is actually played.
  • scheduling use this length of time to measure the entire duration of the task, and the system is always able to ensure that channels are provided to it.
  • Task Attribute 3 The client ID of the ordering program.
  • the client identifier may be a smart card number of the client set top box or the like.
  • Task Attribute 4 The scheduled time of the program.
  • the data is used to describe the time when the client subscribes to the program, and the time when the client subscribes to the program is related to the deadline for the program to be broadcasted.
  • the system can specify that the program must be broadcasted after a predetermined period of time.
  • the data format that can be used for the scheduled time of the program is: yyyy:mm:dd:hh:mm:sscross
  • the time period Xt can be determined in the user's subscription request, or can be automatically given by the system.
  • Task Attribute 5 Service Group Number.
  • the broadcast program Since the system broadcast program is broadcasted in the form of a service group as a broadcast in the present embodiment, the broadcast program actually broadcasts the program in the service group in which the client who subscribes to the program is located. Therefore, when describing a task, it is necessary to include the service group information of the client that subscribes to the related program. For other embodiments, if the service is broadcast to the entire system without dividing the service group, then all clients are in one service group.
  • Task Attribute 6 Task Priority.
  • the role of the task priority data is to determine the urgency of performing the task.
  • the determination of task priorities is generally based on the deadline for executing tasks.
  • Task priority defines three levels: 0: highest priority; 1: secondary high priority; 2: lowest priority.
  • the timeliness of film distribution the user needs to broadcast a movie within a certain time period (At), the former At/2 priority level is defined as 2, and the At/2 to At*3/4 time period priority level is defined as 1, the priority level is 0 in the At*3/4 to At time period
  • the relative priority is determined when the broadcast plan is formulated.
  • the relative priority is determined by the number of predetermined users of the same movie. The more the number of users, the higher the priority. .
  • Task Properties 7 Task Status.
  • This data is used to distinguish whether the task is already planned.
  • a task that has not been planned is called a new task.
  • Task attribute 8 Task ID. This data is used to distinguish between different tasks.
  • the above task attribute description array translates the client's subscription request into a convenient data format for subsequent processing.
  • an actual task corresponds to an array of task attribute descriptions. Therefore, when the task is mentioned below, it refers to the actual task in the system, and also refers to the corresponding task attribute description array.
  • Step S103 Extract a new task that has not been scheduled, add it to the corresponding plan according to the attribute of the new task, or create a new plan for the new task. All plans form an advertised schedule.
  • the system can plan to broadcast the program based on all tasks and the number of channels available for subscription to the program.
  • a plan is a program that is multicasted at a certain service at a certain time.
  • the program can be received by multiple clients in a service group, so a plan can complete multiple tasks.
  • the number of channels available for booking a program broadcast obtained in step S101 how many channels can be arranged, and how many channels can be arranged.
  • new tasks are continuously generated due to the continuous receiving of the user's reservation purchase request.
  • the system continuously extracts new tasks and puts them in the plan.
  • plan attribute description array In the system, describe the plan using the plan attribute description array.
  • plan attribute description array settings The following plan attributes describe the plan.
  • Plan attribute 1 Program ID.
  • This attribute is used to indicate the specific program that the plan needs to play.
  • the data source of the attribute is for the task that needs to be performed, and the program identifier of the task is obtained, and it can be used as the program identifier of the plan.
  • Plan attribute 2 Program length.
  • Plan attribute 3 Start time.
  • This time is determined according to the channel resource situation and is the core issue of the scheduling. Determining a specific start time, which needs to be arranged according to the number of channels that can be used for subscription to purchase programs and the number of channels that have been established, and the number of channels available for subscription to purchase programs at a certain moment in the future is greater than the established plan. When you need to occupy the number of channels, you can schedule a new plan.
  • Plan attribute 4 End time.
  • the data is determined based on the start time and the length of the movie.
  • the data is used to determine the specific time at which the task ends, so that it can be determined when the channel resource occupied by the corresponding task executing the plan is released. Between.
  • Plan attribute 5 Service group number.
  • the data for this attribute is also taken from the corresponding task and is used for the execution of the plan.
  • Plan attribute 6 Number of tasks.
  • This data is the number of tasks completed to execute the plan. This is because different clients of the same service group may order one program, thus generating multiple tasks with the same movie identification.
  • the above tasks should be merged into one plan as much as possible. After the implementation of the plan, the above tasks can be completely solved, and the goal of obtaining the most information transmission effect with the least resources is achieved.
  • Plan attribute 7 List of task IDs.
  • This data is used when looking up the corresponding task from the plan array. Based on this data, it is possible to determine the corresponding tasks from a plan to obtain other data related to the task. For example, the client ID for the task, and so on.
  • Plan attribute 8 Plan ID.
  • This data is used to distinguish between different plans.
  • each plan has an array of corresponding plan attribute descriptions.
  • each plan is an array of attribute descriptions for the plan. Therefore, the plan mentioned below also refers to the plan attribute description group.
  • the system background continuously adds the new task generated in step S102 to the existing plan, or generates a new plan according to the new task. All unexecuted plans constitute an advertisement schedule. Each plan in the broadcast schedule may increase the number of tasks according to newly created new tasks. The entire broadcast schedule may also change due to the actual situation of the planned execution. .
  • step S103 of the task formation step S103 needs to be processed through a certain step, and the specific method is shown in FIG. 3.
  • Figure 3 see the following description.
  • Step S104 Detect an actual channel occupancy condition, and if the channel occupied by the instant on-demand program exceeds the number of channels reserved for the instant video on-demand, adjust the advertisement plan.
  • the advertisement plan generated in the step S103 is performed according to historical statistics.
  • the use of channel resources is random, and there may be a case where the number of channels reserved for instant video on demand is too small, so the channel usage should be monitored in real time.
  • Situation adjust the schedule according to the actual use of the channel.
  • the broadcast plan that can be actually implemented is finally obtained. Specific adjustment The method is shown in Figure 4. A detailed description of Figure 4 can be found later.
  • Step S105 broadcasting the program according to the above plan.
  • plan start time When a plan start time arrives, the plan is started. When the plan ends, the occupied channel resources are released. And delete the tasks involved in the plan, and then delete the plan.
  • the system continuously broadcasts the plan to the start time according to the planned broadcast schedule.
  • a plan notification is also required, that is, the scheduled transmission plan is notified to the corresponding client, so that the client starts receiving at the broadcast time, and the client only receives the task with its own identity.
  • Step S301 Extract a new task j according to the priority of the new task.
  • the new task refers to a task that has not been scheduled to enter the plan. It may also be that a plan has been arranged, and then it is planned to cancel and become a new task. Whether a task belongs to a new task is known by querying the task status attribute of the task.
  • Step S302 Find a plan with the same program identifier and service group identifier from all the plans that have not been executed in the current time, and if not, go to step S305. If so, go to the next step.
  • Step S303 in the search advertisement schedule, whether the plan having the same program owner as the task j is in the running state in the start time to the end time of the plan obtained in the above step S302, if yes, proceed to step S305, if not , then go to the next step.
  • Step S304 adding 1 to the number of tasks of the plan, adding the task identifier of the task j to the task list, and adjusting the task status attribute of the task j to be included in the broadcast plan, and then proceeding to step S307 to process the next task.
  • Step S305 according to the number of channels that can be used for the subscription to purchase the program, starting from a period of time t after the current time, scanning the planned occupied channel in the broadcast schedule according to a certain time interval, For example, at intervals of 5 minutes, if there is a broadcast time length L greater than or equal to the task j at tl, and a channel that is not yet used for booking a program broadcast is used, the scanning is stopped.
  • the number of available channels for ordering the purchased video on demand system is calculated at time t1, and the total number of channels of the network is set to n. It is assumed that the number of reserved channels of the instant video on demand system is nl at time t1, and is available at time t1. The bandwidth used by the order video on demand system is n-nl, but considering the movie m of length t2-tl placed at time t1, it is necessary to not affect the channel resources of instant video on demand in the time period from time t1 to time t2. Priority allocation. Assume that the maximum number of channels that need to be reserved for instant video on demand from tl to t2 is the number of channels ⁇ 2 at time t2 during this time. In fact, the total number of channels that the system can use to subscribe to the purchased video program service at time t2 is n-n2. .
  • n-nl n-n2
  • the movie m can be arranged to enter the broadcast task queue.
  • the movie m can be arranged to enter the broadcast task queue.
  • the number of occupied channels of the reserved video on demand program is greater than or equal to n-n2 but less than n-nl. At this time, it is necessary to calculate the number of channels occupied by the instant video on demand task (including the number of redundant channels) from time t1 to time t2.
  • the sum of the number of channels occupied by the subscription video-on-demand task is less than n, and less than n can be arranged to enter the broadcast task queue. This is because, at time t1 to t2, there may be other programs that have finished playing and exit the occupied channel resources, and the channel resources can be used for the instant on-demand task. Therefore, the broadcast of the movie m will not affect the instant on-demand task.
  • the number of occupied channels of the subscription video-on-demand task is greater than or equal to n-nl, and the broadcast cannot be scheduled.
  • whether a task can be scheduled to start broadcasting at a certain time depends not only on the channel resources at that moment, but also on the channel resources during the entire period in which the task is performed.
  • Step S306 a new plan is created for task j at time t1.
  • Step S307 returning to step S301, processing the next task.
  • a number of plans are formed in the system, and all plans form an advertisement schedule according to which a client can be notified when to start broadcasting the programs ordered by them; according to the programs in the distribution schedule
  • the start time and the end time can be used to calculate the number of channels that can be used to subscribe to the program broadcast that have not been scheduled to be broadcasted, thereby making a new schedule.
  • the above steps S102, S103 are continuously performed, so as to continuously generate a new task according to the client's order program request, and add a new task to the existing plan, or generate a new plan according to the new task, thereby generating a new broadcast plan. table.
  • the system sends each plan to the corresponding client a certain period of time before its start time, so that the client can prepare in advance.
  • Step S401 Monitor the number of channels used by the instant video on demand program at regular intervals, for example, 5 minutes.
  • Step S402 determining whether the number of channels used by the instant video on demand program is less than or equal to the historical statistical data, and if yes, returning to step S401; if not, proceeding to the next step.
  • Step S403 determining whether the number of channels used by the instant video on demand program, the number of redundant channels provided for the instant video on demand program, and the number of channels occupied by the scheduled purchase program are less than the total number of channels; if yes, returning to step S401; , then go to the next step.
  • step S404 a plan adjustment is performed.
  • the plan to determine the cancellation is determined first by the task priority attribute in the plan.
  • the plan with the lower priority of the task is first considered for cancellation. If several scheduled tasks have the same priority attribute, cancel the plan with a small number of tasks involved.
  • the broadcast schedule is continuously adjusted to obtain an advertisement plan that can be actually executed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A method of the information broadcast scheduling on the network and a system of transmitting the information in the way that there are preorder and instant simultaneously are provided, which include:11)according to the channel resource history rule of instant information transmit, calculating the channel number for preorder information transmit; 12)according to the channel number for preorder information transmit, arranging the broadcast of preorder information. The step 11) includes: 21) according to the channel resource history rule of instant information transmit, obtaining the necessary reserved channel number which can meets the instantinformation transmit in the various future time; 22)subtracting the reserved channel number from the total channel number, obtaining the channel number for preorder information transmit in the various future time. The reserved channel number is embodied: according to the channel resource cycle statistical rule of the instant information transmit, obtaining the channel number for the instant information transmit in the various future time, and based on this, adding the several redundancy channel. The solution is especially adopted to realize the broadcast scheduling of the preorder programs in the order program system of cable TV.

Description

一种信道网络中信息播发调度方法  Information broadcast scheduling method in channel network
本申请要求于 2006 年 11 月 7 日提交中国专利局、 申请号为 200610138337.4、 发明名称为"一种信道网络中信息播发调度方法 "的中国专利 申请的优先权, 其全部内容通过引用结合在本申请中。  This application claims priority to Chinese Patent Application No. 200610138337.4, entitled "Information Broadcasting Scheduling Method in a Channel Network", filed on November 7, 2006, the entire contents of which are incorporated herein by reference. In the application.
技术领域 Technical field
本发明涉及信息传送技术,具体地说涉及一种信道网络中信息播发调度方 法。  The present invention relates to information transmission techniques, and more particularly to an information distribution scheduling method in a channel network.
背景技术 Background technique
釆用各种光学和电学原理建立信道网络, 实现信息传送,是信息时代实现 信息传送的主要渠道。 但是, 许多情况下, 信道网络的信道资源是有限的, 可 能无法满足信息消费者的传输需求, 为了在最经济的情况下,尽量满足信息消 费者的需求, 釆用可以充分利用信道资源的信息传输方式成为必然的选择。  建立 Establishing a channel network using various optical and electrical principles to realize information transmission is the main channel for information transmission in the information age. However, in many cases, the channel resources of the channel network are limited, and may not meet the transmission needs of information consumers. In order to meet the needs of information consumers in the most economical situation, information that can fully utilize channel resources is used. The transmission method has become an inevitable choice.
以视频点播系统为例,现有的建立在有线电视传输网络上的视频点播系统 的传输能力受到其带宽的限制。在一个视频点播系统某一服务组中,如果可以 设置 20个载波频点,每个载波频点可以同时传输 10路视频节目, 则该服务组 中,可以同时传输 200路节目,也就是具有 200个信道。由于有线电视网络中, 一个服务组中的节目是以广播形式播出的, 因此,对于一个服务组的每个客户 端而言, 其某一时间接收的节目就限制在 200路节目中。 由于一个服务组中的 客户端数目可能达到上千个,如果每个用户的需求都不相同, 则可能无法同时 满足用户的视频点播请求。考虑到视频点播系统的信道资源利用具有明显的周 期性, 一天或者一周之中, 存在明显的高峰和低谷。 为此, 本申请人已经提出 了一种订购式视频点播的技术方案, 这种技术方案中, 由用户实现提出对视频 节目的订购请求,视频点播系统根据各个客户端的请求, 安排视频节目的传送 时间。 在合理的时间内, 将视频节目传送到客户端, 并在客户端本地的存储器 上保存,信息消费者可以随时从本地获得视频节目并观看。这种方式可以起到 削峰填谷的作用, 是一种提高视频点播系统信道资源利用率的有效方式。上述 方式中, 关键的问题是, 如何合理的安排订购视频节目的传送时间, 达到最大 限度地利用信道资源的目的, 同时,确保传输订购节目不会影响系统提供的即 时视频点播服务。 在现有技术中, 还不存在一种满足上述要求的调度方法。 发明内容 Taking the video on demand system as an example, the transmission capacity of the existing video on demand system established on the cable television transmission network is limited by its bandwidth. In a service group of a video on demand system, if 20 carrier frequency points can be set, and each carrier frequency point can simultaneously transmit 10 channels of video programs, then in the service group, 200 channels of programs can be simultaneously transmitted, that is, having 200 channels. Channels. Since the programs in a service group are broadcasted in broadcast form in a cable television network, for each client of a service group, the programs received at a certain time are limited to 200 programs. Since the number of clients in a service group may reach thousands, if the requirements of each user are different, the video on demand request of the user may not be satisfied at the same time. Considering that the channel resource utilization of the video on demand system has obvious periodicity, there are obvious peaks and valleys in one day or one week. To this end, the applicant has proposed a technical solution for ordering video on demand. In this technical solution, the user requests to place a request for a video program, and the video on demand system arranges the transmission of the video program according to the request of each client. time. In a reasonable time, the video program is transmitted to the client and stored in the local memory of the client, and the information consumer can obtain the video program and watch it locally. This method can play the role of peak clipping and valley filling, and is an effective way to improve the channel resource utilization of the video on demand system. In the above manner, the key question is how to reasonably arrange the transmission time of ordering video programs to achieve the purpose of maximizing the use of channel resources, and at the same time, ensuring that the transmission of the subscription program does not affect the instant video on demand service provided by the system. In the prior art, there is no scheduling method that satisfies the above requirements. Summary of the invention
针对上述问题, 本发明提供一种信道网络中信息播发调度方法。 该方法能 够合理的实现信息播发的调度。该方法主要针对提供订购式视频点播服务的视 频点播系统, 但是, 也适用于其他提供类似服务的信息传输系统。  In view of the above problems, the present invention provides an information broadcast scheduling method in a channel network. This method can reasonably realize the scheduling of information broadcast. This method is mainly for a video on demand system that provides a subscription-type video on demand service, but is also applicable to other information transmission systems that provide similar services.
本发明提供的信道网络中信息播发调度方法,用于同时提供预订购方式和 即时方式进行信息传送的系统中, 包括:  The information distribution scheduling method in the channel network provided by the present invention is used in a system for simultaneously providing a subscription purchase mode and an instant manner for information transmission, including:
11)根据即时信息传送的信道资源历史规律, 计算可用于预订购信息播发 的信道数;  11) calculating the number of channels that can be used to subscribe to the subscription information broadcast according to the historical rule of the channel resource transmitted by the instant information;
12)根据所述可用于预订购信息播发的信道数, 安排播发预定购信息。 优选地, 所述步骤 11)包括:  12) Arranging the issuance of the subscription information according to the number of channels available for subscribing to the purchase information. Preferably, the step 11) includes:
21)根据即时信息传送的信道资源历史规律, 获得信道网络未来各个时刻 满足即时信息传送需要预留的信道数;  21) obtaining, according to the historical rule of channel resources transmitted by the instant information, the number of channels that need to be reserved for the instant information transmission at each moment of the channel network;
22)将信道系统信道总数减去所述预留的信道数, 获得未来各个时刻的所 述可用于预订购信息播发的信道数。  22) Subtracting the total number of channel system channels by the reserved number of channels, and obtaining the number of channels available for subscription subscription information broadcast at various moments in the future.
优选地, 所述预留的信道数具体是: 根据即时信息传送使用信道资源的历 史规律的周期性, 获得未来各个时刻的即时信息传输所用的信道数, 并在该信 道数基础上加上若干冗余信道作为所述用于即时信息传输的预留信道数。  Preferably, the number of the reserved channels is specifically: according to the periodicity of the historical rule of using the channel resources according to the instant information, obtaining the number of channels used for the instant information transmission at each moment in the future, and adding a number of channels based on the number of channels. The redundant channel serves as the reserved channel number for the instant information transmission.
优选地, 所述步骤 12 ) 包括:  Preferably, the step 12) includes:
41 )接收各个客户端的预订购请求, 并根据每个预订购请求生成相应的任 务;  41) receiving a subscription purchase request of each client, and generating a corresponding task according to each subscription purchase request;
42 )根据所述可用于预订购信息播发的信道数的情况,将上述任务列入计 划;  42) Include the above task in the plan according to the number of channels available for subscribing to purchase information;
43 )按照计划播发预定购信息。  43) Broadcast the pre-order information as planned.
优选地, 所述步骤 41 ) 中, 根据预订购请求生成相应的任务, 是指根据 预订购请求提供的信息生成描述该任务的任务属性描述数组。  Preferably, in the step 41), generating a corresponding task according to the subscription purchase request means generating an array of task attribute descriptions describing the task according to the information provided by the pre-order request.
优选地, 所述任务属性描述数组中, 包括下列属性项目: 节目标识、 节目 长度、 订购节目的客户端标识、 节目预定时间、 服务组编号、 任务优先级、 任 务状态、 任务标识。  Preferably, the task attribute description array includes the following attribute items: a program identifier, a program length, a client identifier of the order program, a program scheduled time, a service group number, a task priority, a task status, and a task identifier.
优选地, 步骤 42 ) 中所述计划是指某一时刻在某一个确定的服务组播发 的一个节目, 所述计划具体釆用计划属性描述数组描述。 Preferably, the plan in step 42) refers to multicasting at a certain time in a certain service. For a program, the plan specifically describes the array description using the plan attribute.
优选地,所述计划属性描述数组包括下列属性项目:节目标识、节目长度、 开始时间、 结束时间、 服务组编号、 任务个数、 任务标识列表、 计划标识。  Preferably, the plan attribute description array includes the following attribute items: program identification, program length, start time, end time, service group number, number of tasks, task identification list, plan identification.
优选地, 所述步骤 42 ), 将任务列入计划的具体方法是:  Preferably, the step 42), the specific method of including the task in the plan is:
91 )提取尚未列入计划的某个新任务;  91) Extracting a new task that has not been included in the plan;
92 )在所有尚未执行的计划中, 查找具有相同节目标识和服务组标识的计 划; 若不存在, 则为该新任务创建新的计划; 若存在, 则根据查找到的所述计 划的开始时间和结束时间, 查找该时间段内,是否存在与该新任务具有相同节 目属主的计划处于运行状态; 如果没有, 则将该新任务列入该计划; 如果有, 则为该新任务创建新的计划。  92) in all unexecuted plans, find a plan with the same program ID and service group ID; if not, create a new plan for the new task; if present, based on the found start time of the plan And the end time, find out if there is a plan with the same program owner as the new task in the time period; if not, the new task is included in the plan; if there is, create a new task for the new task plan of.
93 )返回步骤 91 )。  93) Return to step 91).
优选地, 所述将该新任务列入该计划具体是: 给该计划的任务个数加 1 , 任务列表里加上该新任务的任务标识,并调整该新任务的任务状态属性为已列 入播发计划。  Preferably, the step of adding the new task to the plan is: adding 1 to the number of tasks of the plan, adding a task identifier of the new task to the task list, and adjusting the task status attribute of the new task to be included Broadcasting plan.
优选地, 所述为该新任务创建新的计划具体是: 根据可用于预订购节目播 发的信道数,从当前时间往后的一个时刻之后, 以固定时间间隔扫描播发计划 表的计划占用信道的情况,直到查找到有长度大于或等于所述新任务的播发时 间长度, 并且尚未使用的可用于预订购节目播发的信道, 则停止扫描; 并在该 时刻为所述新任务创建一个新计划。  Preferably, the creating a new plan for the new task is: scanning the planned occupied channel of the broadcast schedule at a fixed time interval after a time from the current time according to the number of channels available for the subscription to purchase the program. In the case, until a channel having a length greater than or equal to the length of the new task is found, and a channel that is not yet available for subscription to the program broadcast is found, the scanning is stopped; and a new plan is created for the new task at that time.
优选地, 所述步骤 43 )之前, 还检测实际的信道占用情况, 对播发计划 进行调整。  Preferably, before the step 43), the actual channel occupancy condition is also detected, and the advertisement plan is adjusted.
优选地, 调整播发计划包括:  Preferably, adjusting the broadcast plan comprises:
131 )定期监测即时视频点播节目使用的信道数;  131) regularly monitor the number of channels used by instant video on demand programs;
132 )判断即时视频点播节目使用的信道数是否小于或等于历史统计数据, 若是, 返回步骤 131 ); 若否, 进入下一步;  132) determining whether the number of channels used by the instant video on demand program is less than or equal to historical statistics, and if yes, returning to step 131); if not, proceeding to the next step;
133 )如果即时视频点播节目使用的信道数、 为即时视频点播节目提供的 冗余信道数和预订购节目计划占用的信道数之和小于总信道数, 返回到步骤 131 ); 否则, 进入下一步;  133) If the sum of the number of channels used by the instant video on demand program, the number of redundant channels provided for the instant video on demand program, and the number of channels occupied by the scheduled purchase program is less than the total number of channels, return to step 131); otherwise, proceed to the next step. ;
134 )调整播发计划; 135 )返回步骤 131 )。 134) adjust the broadcast plan; 135) returns to step 131).
优选地,所述调整播发计划,是根据所述即时视频点播节目使用的信道数、 为即时视频点播节目提供的冗余信道数和预订节目计划占用的信道数之和超 出总信道数的个数,取消同样个数的计划, 并将被取消计划对应任务的状态属 性改为未列入计划。  Preferably, the adjusted advertisement plan is based on the number of channels used by the instant video on demand program, the number of redundant channels provided for the instant video on demand program, and the number of channels occupied by the reserved program plan exceeds the total number of channels. , cancel the same number of plans, and change the status attribute of the corresponding task of the canceled plan to unplanned.
优选地, 所述取消计划, 是根据计划中的任务的优先级, 首先取消任务优 先级低的计划; 若存在多个任务优先级相同的计划, 则取消所涉及的任务数少 的计划。  Preferably, the cancellation plan is based on the priority of the tasks in the plan, first canceling the plan with low task priority; if there are multiple plans with the same task priority, canceling the plan with less tasks involved.
本发明提供的信道网络中信息播发调度方法,根据信道网络中即时方式进 行信息传送使用信道资源的历史统计数据, 总结其中的周期性规律, 实现对预 订购信息传输的播发调度。该方法能够较好的根据信道资源状况实现预订购业 务的合理安排,在尽快将客户端预订购的信息从系统后台传输到客户端的前提 下,尽可能的利用系统的信道资源。该方法主要适用于在有线电视视频点播系 统中, 实现预订购节目的播发调度。也可以用于其他同时进行即时信息传送和 预订购式信息传送的信道网络中。  The information broadcast scheduling method in the channel network provided by the present invention uses the historical statistical data of the channel resources according to the information transmission in the instantaneous manner in the channel network, summarizes the periodicity rules, and realizes the broadcast scheduling of the pre-order information transmission. The method can better realize the reasonable arrangement of the subscription purchase business according to the channel resource condition, and utilize the channel resources of the system as much as possible under the premise of transmitting the information purchased by the client from the system background to the client as soon as possible. The method is mainly applicable to the broadcast scheduling of a reserved program in a cable TV video on demand system. It can also be used in other channel networks that simultaneously transmit instant messaging and pre-ordered messaging.
附图说明 DRAWINGS
图 1是本发明第一实施例的流程图;  Figure 1 is a flow chart of a first embodiment of the present invention;
图 2是本发明第一实施例即时视频点播任务网络带宽占用示意图; 图 3是本发明第一实施例中任务形成计划的流程图;  2 is a schematic diagram of bandwidth occupation of a real-time video on demand task network according to a first embodiment of the present invention; FIG. 3 is a flowchart of a task formation plan in the first embodiment of the present invention;
图 4 是本发明第一实施例中根据实际信道使用情况进行计划调整的方法 流程图。  Fig. 4 is a flow chart showing a method of planning adjustment according to actual channel usage in the first embodiment of the present invention.
具体实施方式 detailed description
本发明第一实施例针对建立在有线电视网络中的视频点播系统,说明在这 种系统中, 提供预订购视频节目服务时釆用的系统资源调度方法。  The first embodiment of the present invention is directed to a video on demand system established in a cable television network, and in this system, a system resource scheduling method for use in subscribing to purchase a video program service is provided.
首先, 针对本实施例的工作环境说明釆用调度方法的背景。  First, the background of the scheduling method will be described with respect to the working environment of the present embodiment.
在有线电视视频点播系统中, 存在以下特征和约束。  In cable video on demand systems, the following features and constraints exist.
1、 即时视频点播服务、 预订购视频点播服务占用同一网络的信道资源。 1. The instant video on demand service and the pre-ordered video on demand service occupy the channel resources of the same network.
2、 对网络信道资源使用中, 即时视频点播节目优先于预订购视频点播节 n。 3、 网络信道的使用以可设定的时间长度为一周期, 比如可以是 24小时, 每个周期之间的信道分配使用情况大体相似。周六、周日周期内的信道分配使 用情况会有所不同。 2. For the use of network channel resources, the instant video on demand program takes precedence over the subscription to purchase the video on demand node n. 3. The use of the network channel is set to a period of time, for example, 24 hours, and the channel allocation usage between each period is substantially similar. Channel allocation usage will vary during the Saturday and Sunday cycles.
4、 即时视频点播节目占用的信道数具有规律性, 大约晚上 7-11点处于高 峰期, 此时可能占用绝大部分网络信道, 在上午和下午有次高峰, 占用部分网 络信道, 其他时间占用的信道较少。  4. The number of channels occupied by instant video on demand programs has regularity. It is at the peak of about 7-11 pm. At this time, most of the network channels may be occupied. There are peaks in the morning and afternoon, occupying part of the network channel, and occupying other time. There are fewer channels.
5、本方法是利用即时视频点播服务的空闲资源实现预订购视频点播服务, 也就是该系统首先满足即时视频点播服务的信道需求后, 若有空闲信道, 则用 于预订购视频点播服务。  5. The method uses the idle resources of the instant video on demand service to realize the subscription to purchase video on demand service, that is, the system firstly satisfies the channel requirement of the instant video on demand service, and if there is a free channel, it is used to reserve the video on demand service.
6、 系统中任何视频点播节目都必须一次性完整的播发, 不能断续播发, 并且播发的时间与节目实际播放时间相同。  6. Any video-on-demand program in the system must be broadcasted once and for all, and cannot be broadcasted intermittently, and the broadcast time is the same as the actual broadcast time of the program.
用户预订购视频点播的需求, 也存在以下影响因素和约束条件:  The following influencing factors and constraints exist for users to subscribe to the demand for video on demand:
1、 同一用户预定的多个节目, 不能同时进行传输。  1. Multiple programs scheduled by the same user cannot be transmitted at the same time.
2、 视频点播系统中, 分为若干个服务组。 在服务组内, 信息传送釆用广 播形式。 也就是说, 在某一时间段内, 在同一服务组下, 系统通过信道传输的 信息, 可以通过同一个信道传递到服务组中的所有客户端。 当然, 实际上由于 客户端订购节目不同, 以及版权管理的限制, 并非每个客户端都可以接收。  2. In the video on demand system, it is divided into several service groups. Within the service group, information is transmitted in broadcast form. That is to say, in a certain period of time, under the same service group, the information transmitted by the system through the channel can be transmitted to all clients in the service group through the same channel. Of course, in fact, because the client orders different programs, and copyright management restrictions, not every client can receive.
3、 不同服务组的用户节目预定和网络带宽的使用互不影响。  3. User program reservation and network bandwidth usage of different service groups do not affect each other.
4、 用户在同一天预定的节目不能超过一定数目, 比如一天内定购的影片 不能超过 10个。  4. The number of programs scheduled by the user on the same day cannot exceed a certain number. For example, the number of videos ordered within one day cannot exceed 10.
5、 用户预定节目需要在规定时间内完成下发, 以保证预订购节目的时效 性。 该时间可以由用户自己选择确定, 也可由系统设定。  5. The user's scheduled program needs to be delivered within the specified time to ensure the timeliness of the scheduled purchase. This time can be determined by the user's own choice or by the system.
6、 预定购节目的时间长度和数量需要网络信道容量的支持, 如果即时视 频点播系统和预订购式视频点播系统总体所占的信道数超过有线电视网的现 有总信道数, 则影响预订购视频点播以及即时视频点播业务的传输, 需要网络 运营商保障系统具有足够的总信道数。  6. The length and number of scheduled purchases require the support of network channel capacity. If the total number of channels occupied by the instant video on demand system and the subscription video on demand system exceeds the total number of existing channels of the cable network, the subscription purchase is affected. The transmission of video on demand and instant video on demand services requires the network operator to ensure that the system has sufficient total number of channels.
7、 预订购节目的播发计划, 需要提前通知预订购的客户端, 以便客户端 进行接收准备。  7. The broadcast plan of the pre-ordered program needs to notify the client to purchase in advance, so that the client can prepare for receiving.
8、 同一服务组下, 不同用户预订购相同的节目尽可能合并到一个播出计 划中, 通过一次广播完成下发, 以最大限度利于网络信道资源的使用。 8. Under the same service group, different users subscribe to purchase the same program as much as possible and merge into one playout meter. In the plan, it is delivered through a broadcast to maximize the use of network channel resources.
图 1示出在以上约束条件下实现网络带宽的预订购业务的流程图。  Figure 1 shows a flow chart for implementing a subscription purchase service for network bandwidth under the above constraints.
本发明提供的信息播发调度方法,首先根据视频点播系统中的信道利用规 律和用户订购节目的情况, 进行节目播发安排, 生成节目播发时间表。 该节目 播发时间表对订购节目的播发做出了初步安排,但是, 由于视频点播系统中的 实际信道资源不一定能够满足该表的安排, 因此,还需要实时监测信道资源利 用的实际情况, 并随时进行调整。 具体过程如下所述。  The information distribution scheduling method provided by the present invention firstly performs program broadcast scheduling according to the channel utilization rule in the video on demand system and the situation in which the user subscribes to the program, and generates a program broadcast schedule. The program broadcast schedule makes preliminary arrangements for the broadcast of the subscription program, but since the actual channel resources in the video on demand system may not be able to satisfy the arrangement of the table, it is also necessary to monitor the actual situation of the channel resource utilization in real time, and Make adjustments at any time. The specific process is as follows.
步骤 S101 , 初始化。  Step S101, initialization.
该初始化过程主要包括预测各个时刻可用于预订购节目播发的信道数,以 便安排播发用户预订购的视频点播节目。  The initialization process mainly includes predicting the number of channels that can be used to subscribe to the program to be broadcasted at various times in order to arrange for the video-on-demand program subscribed by the user to be subscribed.
所述可用于预订购节目播发的信道数是指在满足视频点播系统中的即时 视频点播任务后,视频点播系统中还具有的未使用信道数。对于视频点播系统 而言, 某一时刻的可用于预订购节目播发的信道数是随机的, 必须根据实时监 测的结果确定。 但是, 为了对订购节目播发有合理的安排, 需要预先制定节目 播发时间表。考虑到视频点播系统中, 即时视频点播量在统计规律上有明显的 周期性, 因此可以根据即时视频点播的规律性, 根据有关的历史统计数据, 预 估各个时间的可用于预订购节目播发的信道数,进而根据该预估数量安排播发 节目时间表。  The number of channels available for subscription to program broadcast refers to the number of unused channels in the video on demand system after satisfying the instant video on demand task in the video on demand system. For video on demand systems, the number of channels available for subscription to a program at a time is random and must be determined based on the results of real-time monitoring. However, in order to have a reasonable arrangement for ordering the broadcast of the program, it is necessary to pre-determine the schedule for the broadcast of the program. Considering that in the video on demand system, the instantaneous video on-demand quantity has obvious periodicity in the statistical law, so according to the regularity of the instant video on demand, according to the relevant historical statistical data, it is estimated that the time can be used for the subscription to purchase the program broadcast. The number of channels, and then schedule the broadcast program according to the estimated number.
图 2为即时视频点播任务网络信道占用示意图。 该示意图示出一天之内, 系统的信道资源被即时视频点播服务占用的情况。 该图的纵坐标代表信道资 源,横坐标代表时间。其中,纵向上最高位置的横线代表信道网络资源的总量, 设该总量为 n。 图中的曲线代表即时点播服务对信道网络资源利用的实际值。 从该图可以估算出即时点播服务在一天中某一个时间占用信道数,并可计算获 得各个时段可用于预订购式视频点播的信道数。 实际上,每周的即时点播任务 占用网络资源的状况也有一定的规律。原则上,根据上述统计数据就可以较为 准确的估算某一时间的可用于预订购节目播发的信道数。  2 is a schematic diagram of network channel occupancy of an instant video on demand task. The diagram shows the situation where the channel resources of the system are occupied by the instant video on demand service within one day. The ordinate of the graph represents the channel resource and the abscissa represents time. Wherein, the horizontal line of the highest position in the vertical direction represents the total amount of channel network resources, and the total amount is n. The curve in the figure represents the actual value of the on-demand service for channel network resource utilization. From this figure, it is possible to estimate the number of channels occupied by the instant on-demand service at a certain time of day, and to calculate the number of channels available for ordering video-on-demand at various times. In fact, the weekly on-demand tasks occupy a certain amount of regular use of network resources. In principle, based on the above statistics, it is possible to more accurately estimate the number of channels available for subscription to a program at a certain time.
直接根据上述统计数据计算可用于预订购视频点播服务的信道数仍然存 在问题。 首先, 由于即时视频点播服务具有不确定性, 因此, 在某个具体的日 期 ,即时视频点播服务所需占用的信道资源可能高于统计数据中的某个时段的 数值, 为了避免这种情况, 在根据上述统计数据安排预订购视频点播任务时, 为即时视频点播预留的信道数需要在统计数据的基础上增加若干冗余信道。例 如, 统计得到的某时刻占用的信道数为 d, 则曲线中该时刻即时视频点播服务 预留的信道数为: d*(l+r%), 其中, r为根据经验得到的冗余系数, 以此保证 即时视频点播系统信道数的优先分配。 使用系统的信道总数减去该预留信道 数, 就可以获得可用于预订购节目播发的信道数。 It is still problematic to calculate the number of channels available for subscription to purchase video on demand services directly from the above statistics. First, due to the uncertainty of the instant video on demand service, the channel resources required for the instant video on demand service may be higher than a certain period of time in the statistics on a specific date. In order to avoid this situation, when scheduling a video on demand task according to the above statistical data, the number of channels reserved for instant video on demand needs to add a number of redundant channels based on the statistical data. For example, if the number of channels occupied by a certain time is d, the number of channels reserved for the instant video on demand service at the moment in the curve is: d*(l+r%), where r is a redundant coefficient obtained empirically. In order to ensure the priority allocation of the number of channels of the instant video on demand system. Using the total number of channels of the system minus the number of reserved channels, the number of channels available for subscription to the program broadcast can be obtained.
步骤 S102, 接收客户端的预订购请求, 并据此生成相应的任务。  Step S102: Receive a subscription purchase request of the client, and generate a corresponding task according to the request.
所述客户端的预订购请求是指客户端向系统后台发出的订购某个视频节 目的请求, 该订购请求中, 包含提出该请求的客户端的基本信息, 以及所订购 节目的信息, 包括订购节目的编号, 还可以包括要求播发的最晚时间等信息。 根据订购请求, 系统后台可以获知需要将何种节目播发到哪一个客户端,作为 后续安排播发计划表的信息。  The subscription purchase request of the client refers to a request for a certain video program issued by the client to the background of the system, where the subscription request includes basic information of the client that requests the request, and information of the subscribed program, including the subscription of the program. The number can also include information such as the latest time required to broadcast. According to the order request, the system background can know which program needs to be broadcast to which client as the information for the subsequent arrangement of the broadcast schedule.
为了使系统后台便于处理所述的客户端订购请求,根据该订购请求生成相 应的任务以及任务属性描述数组。  In order to make the system background easy to process the client subscription request, an appropriate task and an array of task attribute descriptions are generated according to the subscription request.
所谓任务,就是向订购节目的客户端播发的长度不定的节目的过程。根据 客户端的订购请求, 可以釆用特定的数组描述该订购请求对应的任务, 以便制 定播发计划表时使用, 该数组被称为任务属性描述数组。  The so-called task is the process of broadcasting an indefinite program to a client that subscribes to a program. According to the client's order request, a specific array can be used to describe the task corresponding to the order request, which is used when formulating the advertisement schedule. The array is called an array of task attribute descriptions.
为了描述一个客户端订购请求生成的任务,需要在描述该任务的数组中设 置以下任务属性描述该任务。  To describe the task generated by a client subscription request, the following task attributes need to be set in the array describing the task to describe the task.
任务属性 1 : 节目标识。  Task attribute 1 : Program ID.
节目标识是节目的唯一标识, 用于确定该任务需要播发的具体节目。 任务属性 2: 节目长度  The program identification is a unique identifier of the program that is used to determine the specific program that the task needs to advertise. Task attribute 2: program length
用于描述节目播发的时间长度。在以有线电视网为基础构成的视频点播系 统中,节目播发的时间长度就是节目实际播放的时间长度。在进行计划安排时, 使用该时间长度衡量该任务存在的整个期间,系统是否始终能够确保向其提供 信道。  Used to describe the length of time for a program to be broadcast. In a video on demand system based on a cable television network, the length of time for the program to be broadcast is the length of time during which the program is actually played. When scheduling, use this length of time to measure the entire duration of the task, and the system is always able to ensure that channels are provided to it.
任务属性 3: 订购节目的客户端标识。  Task Attribute 3: The client ID of the ordering program.
只有订购该节目的客户端有权接收到该任务播发的节目, 因此,需要在任 务数据结构中增加客户端标识属性,以便确认客户端是否有资格接收所发送的 节目。 所述客户端标识可以是客户端机顶盒的智能卡卡号等。 Only the client that subscribes to the program has the right to receive the program broadcasted by the task. Therefore, it is necessary to add the client identification attribute in the task data structure to confirm whether the client is eligible to receive the sent message. Program. The client identifier may be a smart card number of the client set top box or the like.
任务属性 4: 节目预定时间。  Task Attribute 4: The scheduled time of the program.
该数据用于描述客户端订购该节目的时间,客户端预订购节目的时间与进 行节目播发的截止时间相关, 例如, 系统可以规定从节目预定时间开始, 经过 一个时间段 At必须将节目播发出去。 所述节目预定时间可以釆用的数据格式 是: yyyy:mm:dd:hh:mm:ss„ 所述时间段 Xt可以在用户的预订购请求中确定, 也可由系统自动给出。  The data is used to describe the time when the client subscribes to the program, and the time when the client subscribes to the program is related to the deadline for the program to be broadcasted. For example, the system can specify that the program must be broadcasted after a predetermined period of time. . The data format that can be used for the scheduled time of the program is: yyyy:mm:dd:hh:mm:ss„ The time period Xt can be determined in the user's subscription request, or can be automatically given by the system.
任务属性 5: 服务组编号。  Task Attribute 5: Service Group Number.
由于本实施例中, 系统播发节目是以服务组为单位进行广播的形式播发 的, 播发节目实际上是在预订购该节目的客户端所在的服务组中广播该节目。 因此, 描述任务时, 需要包括订购相关节目的客户端所在的服务组信息。 对于 其他实施例, 如果不分服务组, 而是向整个系统进行广播, 则相当于所有客户 端都处于一个服务组。  Since the system broadcast program is broadcasted in the form of a service group as a broadcast in the present embodiment, the broadcast program actually broadcasts the program in the service group in which the client who subscribes to the program is located. Therefore, when describing a task, it is necessary to include the service group information of the client that subscribes to the related program. For other embodiments, if the service is broadcast to the entire system without dividing the service group, then all clients are in one service group.
任务属性 6: 任务优先级。  Task Attribute 6: Task Priority.
该任务优先级数据的作用在于确定执行该任务的迫切性。任务优先级的确 定一般根据执行任务的截止时间确定。  The role of the task priority data is to determine the urgency of performing the task. The determination of task priorities is generally based on the deadline for executing tasks.
任务优先级定义三个级别: 0: 最高优先级; 1 : 次高优先级; 2: 最低优 先级。  Task priority defines three levels: 0: highest priority; 1: secondary high priority; 2: lowest priority.
任务优先级的定义考虑以下三个因素:  The definition of task priority considers the following three factors:
影片播发的时效性, 用户预定一部影片需要在一定时间段(At ) 内播发 下去, 在前 At/2优先级别定义为 2, 在 At/2到 At*3/4时间段优先级别定义为 1,在 At*3/4到 At时段内优先级别为 0  The timeliness of film distribution, the user needs to broadcast a movie within a certain time period (At), the former At/2 priority level is defined as 2, and the At/2 to At*3/4 time period priority level is defined as 1, the priority level is 0 in the At*3/4 to At time period
在由影片播发的时效性决定的相同优先级别的任务,在制定播出计划时再 决定相对的优先级,该相对优先级由同一影片的预定用户数决定,用户数越多, 越优先播出。  In the task of the same priority level determined by the timeliness of the film distribution, the relative priority is determined when the broadcast plan is formulated. The relative priority is determined by the number of predetermined users of the same movie. The more the number of users, the higher the priority. .
任务属性 7: 任务状态。  Task Properties 7: Task Status.
该数据用于区别任务是否已经列入计划。 尚未列入计划的任务称为新任 务。  This data is used to distinguish whether the task is already planned. A task that has not been planned is called a new task.
任务属性 8: 任务标识。 该数据用于区别不同的任务。 Task attribute 8: Task ID. This data is used to distinguish between different tasks.
上述任务属性描述数组将客户端的订购请求转化为了便于处理的数据形 式, 为后续的处理过程提供便利。 对于系统后台而言, 一个实际的任务就对应 于一个任务属性描述数组, 因此, 以下提到任务时, 是指系统中的实际任务, 也是指相应的任务属性描述数组。  The above task attribute description array translates the client's subscription request into a convenient data format for subsequent processing. For the system background, an actual task corresponds to an array of task attribute descriptions. Therefore, when the task is mentioned below, it refers to the actual task in the system, and also refers to the corresponding task attribute description array.
步骤 S103 , 提取尚未列入计划的新任务, 根据该新任务的属性, 将其加 入相应的计划, 或者为该新任务创建新的计划。 所有的计划组成播发计划表。  Step S103: Extract a new task that has not been scheduled, add it to the corresponding plan according to the attribute of the new task, or create a new plan for the new task. All plans form an advertised schedule.
当所有的客户端订购请求都生成相应的任务后,系统根据所有的任务以及 所述可用于预订购节目播发的信道数, 就可以制定播发节目的计划。一个计划 是指某一时刻在某一个确定的服务组播发的一个节目,该节目可被一个服务组 中的多个客户端所接收, 所以一个计划可以完成多个任务。 根据步骤 S101中 获得的可用于预订购节目播发的信道数安排计划,有多少信道, 就可以安排多 少计划。 在系统中, 由于不断接收用户的预订购节目请求, 因此, 不断产生新 任务。 系统不断提取新任务, 将其列入计划。  When all client subscription requests generate the corresponding tasks, the system can plan to broadcast the program based on all tasks and the number of channels available for subscription to the program. A plan is a program that is multicasted at a certain service at a certain time. The program can be received by multiple clients in a service group, so a plan can complete multiple tasks. According to the number of channels available for booking a program broadcast obtained in step S101, how many channels can be arranged, and how many channels can be arranged. In the system, new tasks are continuously generated due to the continuous receiving of the user's reservation purchase request. The system continuously extracts new tasks and puts them in the plan.
在系统中,使用计划属性描述数组描述计划。所述计划属性描述数组设置 下述计划属性描述该计划。  In the system, describe the plan using the plan attribute description array. The plan attribute description array settings The following plan attributes describe the plan.
计划属性 1 : 节目标识。  Plan attribute 1 : Program ID.
该属性用于表明该计划需要播放的具体节目,该属性的数据来源是针对所 述需要执行的任务, 取得该任务的节目标识, 就可以作为该计划的节目标识。  This attribute is used to indicate the specific program that the plan needs to play. The data source of the attribute is for the task that needs to be performed, and the program identifier of the task is obtained, and it can be used as the program identifier of the plan.
计划属性 2: 节目长度。  Plan attribute 2: Program length.
该节目长度也是根据所述任务获得, 用于确定该计划需要持续的时间。 计划属性 3: 开始时间。  The length of the program is also obtained from the task and is used to determine the duration that the plan needs to last. Plan attribute 3: Start time.
该时间根据所述信道资源情况确定,是计划安排的核心问题。确定具体的 开始时间,需要根据所述可用于预订购节目播发的信道数以及已经建立的计划 占用的信道数进行安排,当未来某个时刻可用于预订购节目播发的信道数大于 已建立计划所需占用的信道数时, 可以安排新的计划。  This time is determined according to the channel resource situation and is the core issue of the scheduling. Determining a specific start time, which needs to be arranged according to the number of channels that can be used for subscription to purchase programs and the number of channels that have been established, and the number of channels available for subscription to purchase programs at a certain moment in the future is greater than the established plan. When you need to occupy the number of channels, you can schedule a new plan.
计划属性 4: 结束时间。  Plan attribute 4: End time.
该数据根据所述开始时间和所述影片长度确定。该数据用于确定任务结束 的具体时间, 从而可以确定执行该计划的相应任务所占用信道资源释放的时 间。 The data is determined based on the start time and the length of the movie. The data is used to determine the specific time at which the task ends, so that it can be determined when the channel resource occupied by the corresponding task executing the plan is released. Between.
计划属性 5: 服务组编号。  Plan attribute 5: Service group number.
该属性的数据同样来自对应的任务, 供计划执行时使用。  The data for this attribute is also taken from the corresponding task and is used for the execution of the plan.
计划属性 6: 任务个数。  Plan attribute 6: Number of tasks.
该数据是执行该计划所完成的任务个数。这是由于, 同一服务组的不同客 户端可能订购一个节目, 因此产生多个具有相同影片标识的任务,在制定计划 时, 应当将上述任务尽量合并在一个计划中执行。 该计划执行后, 上述任务就 可以全部解决, 达到使用最少的资源获得最多的信息传送效果的目的。  This data is the number of tasks completed to execute the plan. This is because different clients of the same service group may order one program, thus generating multiple tasks with the same movie identification. When planning, the above tasks should be merged into one plan as much as possible. After the implementation of the plan, the above tasks can be completely solved, and the goal of obtaining the most information transmission effect with the least resources is achieved.
计划属性 7: 任务标识列表。  Plan attribute 7: List of task IDs.
该数据用于从计划数组查找对应的任务时使用。根据该数据,可以从一个 计划, 确定其对应的任务, 从而获得与任务有关的其它数据。 例如, 有关任务 的客户端标识等。  This data is used when looking up the corresponding task from the plan array. Based on this data, it is possible to determine the corresponding tasks from a plan to obtain other data related to the task. For example, the client ID for the task, and so on.
计划属性 8: 计划标识。  Plan attribute 8: Plan ID.
该数据用于区别不同的计划。  This data is used to distinguish between different plans.
每个计划都有一个对应的计划属性描述数组,对于系统而言,每个计划就 是该计划属性描述数组, 因此, 以下提到计划, 也同时是指该计划属性描述数 组。  Each plan has an array of corresponding plan attribute descriptions. For the system, each plan is an array of attribute descriptions for the plan. Therefore, the plan mentioned below also refers to the plan attribute description group.
系统后台不断将所述步骤 S102生成的新任务加入已存在的计划中, 或者 根据新任务产生新的计划。 所有的尚未执行完毕的计划构成播发计划表, 该播 发计划表中的每个计划可能根据新产生的新任务而增加所述任务个数,整个播 发计划表也可能由于计划执行的实际情况而改变。  The system background continuously adds the new task generated in step S102 to the existing plan, or generates a new plan according to the new task. All unexecuted plans constitute an advertisement schedule. Each plan in the broadcast schedule may increase the number of tasks according to newly created new tasks. The entire broadcast schedule may also change due to the actual situation of the planned execution. .
所述步骤 S102中获得的任务形成步骤 S103 中的计划需要经过一定步骤 的处理, 具体的方法如图 3所示。 对图 3的具体说明见后续说明。  The process in step S103 of the task formation step S103 needs to be processed through a certain step, and the specific method is shown in FIG. 3. For a detailed description of Figure 3, see the following description.
步骤 S104 , 检测实际的信道占用情况, 若即时点播节目占用的信道超过 为即时视频点播预留的信道数, 则调整播发计划。  Step S104: Detect an actual channel occupancy condition, and if the channel occupied by the instant on-demand program exceeds the number of channels reserved for the instant video on-demand, adjust the advertisement plan.
所述步骤 S103生成的播发计划是根据历史统计数据进行的, 实际上, 信 道资源的使用情况是随机的,可能存在为即时视频点播预留的信道数过少的情 况, 因此应当实时监控信道使用情况, 根据信道实际使用情况调整计划安排。 通过对播发计划表不断调整, 最终获得可以实际执行的播发计划。具体的调整 方法见图 4。 对图 4的详细说明见后续。 The advertisement plan generated in the step S103 is performed according to historical statistics. In fact, the use of channel resources is random, and there may be a case where the number of channels reserved for instant video on demand is too small, so the channel usage should be monitored in real time. Situation, adjust the schedule according to the actual use of the channel. Through the continuous adjustment of the broadcast schedule, the broadcast plan that can be actually implemented is finally obtained. Specific adjustment The method is shown in Figure 4. A detailed description of Figure 4 can be found later.
步骤 S105 , 根据上述计划播发节目。  Step S105, broadcasting the program according to the above plan.
当一个计划开始时间到时, 开始执行该计划。 当该计划结束时, 则释放所 占用的信道资源。 并将该计划涉及的任务删除, 进而删除该计划。 系统根据计 划播发时间表不断播发到达开始时间的计划  When a plan start time arrives, the plan is started. When the plan ends, the occupied channel resources are released. And delete the tasks involved in the plan, and then delete the plan. The system continuously broadcasts the plan to the start time according to the planned broadcast schedule.
在一个计划执行之前,还需要进行计划通知, 即把安排好的传输计划通知 给相应的客户端, 以便于客户端在播发时间开始接收,客户端只接收具有自己 标识的任务。  Before a plan is executed, a plan notification is also required, that is, the scheduled transmission plan is notified to the corresponding client, so that the client starts receiving at the broadcast time, and the client only receives the task with its own identity.
尽管对预订购视频点播进行了上述详细的计划, 并进行了调整, 但是, 不 能排除计划可能不符合实际情况, 例如,在某一时刻出现超常多的即时视频点 播任务,使原先为即时视频点播预留的信道数不足,不能执行某个计划。为此, 当一个计划安排播出时, 却无法成功, 或者已经播出却无法执行完毕, 则需要 取消该计划, 并把该计划所包含的任务放到新任务队列中。  Although the above detailed plan has been made for the purchase of video on demand, and adjustments have been made, it cannot be ruled out that the plan may not be in line with the actual situation, for example, an extraordinary number of instant video on demand tasks occur at a certain moment, so that the original video is on demand. The number of reserved channels is insufficient and a plan cannot be executed. For this reason, when a plan is scheduled to be broadcast, but it cannot be successful, or it has already been broadcast but cannot be executed, the plan needs to be canceled and the tasks included in the plan are placed in the new task queue.
以下结合图 3 ,详细说明所述步骤 S102中获得的任务形成步骤 S103中的 计划的方法。  The method of the task formation step S103 obtained in the step S102 will be described in detail below with reference to FIG.
步骤 S301 , 根据新任务的优先级提取新任务 j。  Step S301: Extract a new task j according to the priority of the new task.
所述新任务是指尚未安排进入计划的任务。也可能是曾经安排过计划,后 来计划取消, 又成为新任务。 一个任务是否属于新任务, 通过查询所述任务的 任务状态属性获知。  The new task refers to a task that has not been scheduled to enter the plan. It may also be that a plan has been arranged, and then it is planned to cancel and become a new task. Whether a task belongs to a new task is known by querying the task status attribute of the task.
步骤 S302, 从当前时间往后所有尚未执行的计划中查找有相同节目标识 和服务组标识的计划, 如果没有, 进入步骤 S305。 如果有, 则进入下一步。  Step S302: Find a plan with the same program identifier and service group identifier from all the plans that have not been executed in the current time, and if not, go to step S305. If so, go to the next step.
步骤 S303 , 查找播发计划表中, 在上述步骤 S302中查找获得的计划的开 始时间到结束时间是否有与任务 j具有相同节目属主的计划处于运行状态, 如 果有, 则进入步骤 S305 , 如果没有, 则进入下一步。  Step S303, in the search advertisement schedule, whether the plan having the same program owner as the task j is in the running state in the start time to the end time of the plan obtained in the above step S302, if yes, proceed to step S305, if not , then go to the next step.
步骤 S304,给该计划的任务个数加 1 ,任务列表里加上任务 j的任务标识, 并调整任务 j的任务状态属性为已列入播发计划,再进入步骤 S307 ,处理下一 个任务。  Step S304, adding 1 to the number of tasks of the plan, adding the task identifier of the task j to the task list, and adjusting the task status attribute of the task j to be included in the broadcast plan, and then proceeding to step S307 to process the next task.
步骤 S305 , 根据可用于预订购节目播发的信道数, 从当前时间往后的一 段时间 t之后开始按照一定时间间隔在播发计划表扫描计划占用信道的情况, 例如, 以 5分钟为间隔,如果在 tl时候有长度大于等于任务 j的播发时间长度 L, 并且尚未使用的可用于预订购节目播发的信道, 则停止扫描。 Step S305, according to the number of channels that can be used for the subscription to purchase the program, starting from a period of time t after the current time, scanning the planned occupied channel in the broadcast schedule according to a certain time interval, For example, at intervals of 5 minutes, if there is a broadcast time length L greater than or equal to the task j at tl, and a channel that is not yet used for booking a program broadcast is used, the scanning is stopped.
由于系统中所有节目必须完整的播发, 而在一个节目播发期间, 所述为即 时视频点播预留的信道数以及安排的播发计划都会发生变化, 因此, 必须考虑 在整个节目播发时间上是否存在可用的播发信道。 如图 2所示的计划 A由于 要持续长度为 L的时间, 该时间中信道资源的情况是变化的, 因此, 安排该节 目就要考虑整个时间长度 L上是否始终具有足够的信道资源 ,也就是是否存在 长度 L的尚未使用的可用于预订购节目播发的信道。  Since all programs in the system must be fully broadcast, during the broadcast of a program, the number of channels reserved for instant video on demand and the scheduled broadcast plan will change. Therefore, it must be considered whether there is available time in the entire broadcast time. Broadcast channel. Since Plan A shown in FIG. 2 has a duration of L, the channel resource condition changes during the time. Therefore, scheduling the program requires consideration of whether or not there is always sufficient channel resources over the entire length L. Is there a channel of length L that is not yet available for subscription to the program to be broadcasted.
如图 2所示, 计算 tl时刻预订购视频点播系统的可使用信道数, 网络总 信道数设为 n, 假设在 tl时刻即时视频点播系统的预留信道数为 nl , 则在 tl 时刻可供定购式视频点播系统使用的带宽为 n-nl , 但考虑在 tl时刻放入长度 为 t2-tl的影片 m, 需要在时间 tl到时间 t2这一时间段内, 不影响即时视频点 播的信道资源优先分配。 假设从 tl到 t2时刻即时视频点播需要预留的最大信 道数为这段时间中 t2时刻的信道数 η2 , 实际上, 在 t2时刻系统可用于预订购 视频节目服务的总信道数为 n-n2。  As shown in FIG. 2, the number of available channels for ordering the purchased video on demand system is calculated at time t1, and the total number of channels of the network is set to n. It is assumed that the number of reserved channels of the instant video on demand system is nl at time t1, and is available at time t1. The bandwidth used by the order video on demand system is n-nl, but considering the movie m of length t2-tl placed at time t1, it is necessary to not affect the channel resources of instant video on demand in the time period from time t1 to time t2. Priority allocation. Assume that the maximum number of channels that need to be reserved for instant video on demand from tl to t2 is the number of channels η2 at time t2 during this time. In fact, the total number of channels that the system can use to subscribe to the purchased video program service at time t2 is n-n2. .
下面分几种情况讨论, tl时刻是否可以安排影片 m进入播发任务队列。  The following is a discussion of several situations. Whether it is possible to arrange the movie m to enter the broadcast task queue at time tl.
1 ) n-nl= n-n2  1) n-nl= n-n2
此时只要预订购视频点播节目的计划已占用信道数小于 n-nl , 即可安排 影片 m进入播发任务队列。  At this time, as long as the planned number of occupied channels for purchasing the video on demand program is less than n-nl, the movie m can be arranged to enter the broadcast task queue.
2)n-nl > n-n2  2) n-nl > n-n2
对于此种情况, 要分为三种种情况讨论:  For this case, there are three types of situations to discuss:
2.1 )预订购视频点播节目的计划已占用信道数小于 n-n2 , 即可安排影片 m进入播发任务队列。  2.1) If the planned number of occupied channels for purchasing video-on-demand programs is less than n-n2, the movie m can be arranged to enter the broadcast task queue.
2.2 )预订购视频点播节目已占用信道数大于或等于 n-n2但小于 n-nl , 此 时需要计算从 tl到 t2时刻, 每个时刻的即时视频点播任务占用信道数(包括 冗余信道数 )加预订购视频点播任务已占用信道数之和是否小于 n, 小于 n则 可安排进入播出任务队列。 这是由于, 在 tl到 t2时刻, 有可能存在其他节目 播放完毕,退出所占用的信道资源,该信道资源可以用于即时点播任务。 因此, 影片 m播出不会影响即时点播任务。 2.3 )预订购视频点播任务已占用信道数大于或等于 n-nl , 无法安排播出。 总之,一个任务是否能够安排到某一个时刻开始播出, 不仅仅取决于该时 刻的信道资源, 而是要考虑执行该任务的整个周期期间的信道资源情况。 2.2) The number of occupied channels of the reserved video on demand program is greater than or equal to n-n2 but less than n-nl. At this time, it is necessary to calculate the number of channels occupied by the instant video on demand task (including the number of redundant channels) from time t1 to time t2. The sum of the number of channels occupied by the subscription video-on-demand task is less than n, and less than n can be arranged to enter the broadcast task queue. This is because, at time t1 to t2, there may be other programs that have finished playing and exit the occupied channel resources, and the channel resources can be used for the instant on-demand task. Therefore, the broadcast of the movie m will not affect the instant on-demand task. 2.3) The number of occupied channels of the subscription video-on-demand task is greater than or equal to n-nl, and the broadcast cannot be scheduled. In short, whether a task can be scheduled to start broadcasting at a certain time depends not only on the channel resources at that moment, but also on the channel resources during the entire period in which the task is performed.
同时,为了使新的计划能够容纳更多的任务,需要从当前时刻向后一段时 间 t寻找可用的信道。 这是由于, 等待的时间 t内, 可能产生需要相同节目的 新任务, 时间 t的长度直接影响了该计划容纳的任务数。 通过控制时间 t的长 度, 可以自适应的控制任务的合并。 时间 t的具体长度, 需要综合考虑节目播 发的时效性、 网络带宽占用情况、 任务合并情况等因素。 在实际运营中, 可以 根据运营的实际情况获取经验数据。  At the same time, in order for the new plan to accommodate more tasks, it is necessary to find available channels from the current time to the next time t. This is because, within the waiting time t, a new task requiring the same program may be generated, and the length of the time t directly affects the number of tasks accommodated by the plan. By controlling the length of time t, it is possible to adaptively control the merging of tasks. The specific length of time t needs to consider factors such as the timeliness of program broadcast, network bandwidth occupancy, and task consolidation. In actual operation, empirical data can be obtained based on the actual situation of the operation.
步骤 S306, 在 tl时刻为任务 j创建一个新的计划。  Step S306, a new plan is created for task j at time t1.
步骤 S307, 返回步骤 S301 , 处理下一个任务。  Step S307, returning to step S301, processing the next task.
通过上述安排, 系统中形成许多计划, 所有计划形成一个播发计划表, 根 据该播发计划表, 可以通知某个客户端, 何时开始播发其订购的节目; 根据该 播发计划表中的各个节目的开始时间和结束时间,可以计算尚未安排播发节目 的可用于预订购节目播发的信道数, 从而进行新的计划安排。  Through the above arrangement, a number of plans are formed in the system, and all plans form an advertisement schedule according to which a client can be notified when to start broadcasting the programs ordered by them; according to the programs in the distribution schedule The start time and the end time can be used to calculate the number of channels that can be used to subscribe to the program broadcast that have not been scheduled to be broadcasted, thereby making a new schedule.
上述步骤 S102、 S103不断进行, 从而不断根据客户端的订购节目请求产 生新的任务, 并将新的任务加入到已经存在的计划中, 或者根据新的任务产生 新的计划, 进而产生新的播发计划表。 系统将每一个计划在其开始时间之前, 提前一定的时间段, 发送到对应的客户端, 使该客户端可以提前准备。  The above steps S102, S103 are continuously performed, so as to continuously generate a new task according to the client's order program request, and add a new task to the existing plan, or generate a new plan according to the new task, thereby generating a new broadcast plan. table. The system sends each plan to the corresponding client a certain period of time before its start time, so that the client can prepare in advance.
以下结合图 4, 说明根据实际信道使用情况进行计划调整的具体方法。 步骤 S401 , 每隔一定时间, 比如 5分钟, 监测即时视频点播节目使用的 信道数。  The specific method of planning adjustment according to the actual channel usage will be described below with reference to FIG. Step S401: Monitor the number of channels used by the instant video on demand program at regular intervals, for example, 5 minutes.
步骤 S402, 判断即时视频点播节目使用的信道数是否小于或等于历史统 计数据, 若是, 返回步骤 S401 ; 若否, 进入下一步。  Step S402, determining whether the number of channels used by the instant video on demand program is less than or equal to the historical statistical data, and if yes, returning to step S401; if not, proceeding to the next step.
步骤 S403 , 判断即时视频点播节目使用的信道数、 为即时视频点播节目 提供的冗余信道数和预订购节目计划占用的信道数之和是否小于总信道数;若 是, 返回到步骤 S401 ; 若否, 则进入下一步。  Step S403, determining whether the number of channels used by the instant video on demand program, the number of redundant channels provided for the instant video on demand program, and the number of channels occupied by the scheduled purchase program are less than the total number of channels; if yes, returning to step S401; , then go to the next step.
步骤 S404, 进行计划调整。  In step S404, a plan adjustment is performed.
如果即时视频点播节目使用的信道数、为即时视频点播节目提供的冗余信 道数和预订节目计划占用的信道数之和大于或等于总信道数, 则需要调整计 划。 假设超出部分信道数为 n, 则需要取消从当前时刻之后开始的 n个计划, 取消后的计划,将对应任务的状态属性改为未列入计划, 该任务重新变为新任 务。 If the number of channels used by instant video on demand programs, redundant letters provided for instant video on demand programs The sum of the number of channels and the number of channels occupied by the reserved program plan is greater than or equal to the total number of channels, and the plan needs to be adjusted. Assuming that the number of channels exceeds n, it is necessary to cancel n plans from the current time, cancel the plan, change the status attribute of the corresponding task to unplanned, and the task becomes a new task again.
具体确定取消的计划,首先根据计划中的任务优先级属性确定,任务优先 级越低的计划则首先考虑取消。 如果几个计划的任务都有相同的优先级属性, 则取消所涉及的任务数少的计划。  The plan to determine the cancellation is determined first by the task priority attribute in the plan. The plan with the lower priority of the task is first considered for cancellation. If several scheduled tasks have the same priority attribute, cancel the plan with a small number of tasks involved.
由于存在为即时视频点播预留的冗余信道数, 所以, 一般情况下, 经过调 整后可以确保即时视频点播任务的信道资源。  Since there are redundant channels reserved for instant video on demand, in general, the channel resources of the instant video on demand task can be ensured after adjustment.
步骤 S405 , 返回到步骤 S401。  Step S405, returning to step S401.
通过上述步骤,对播发计划表不断进行调整,获得可以实际执行的播发计 划。  Through the above steps, the broadcast schedule is continuously adjusted to obtain an advertisement plan that can be actually executed.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通 技术人员来说, 在不脱离本发明原理的前提下, 还可以做出若干改进和润饰, 这些改进和润饰也应视为本发明的保护范围。  The above is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Claims

权 利 要 求 Rights request
1、 一种信道网络中信息播发调度方法, 用于同时提供预订购方式和即时 方式进行信息传送的系统中, 其特征在于, 包括:  A system for dispatching information in a channel network, which is provided in a system for simultaneously providing a subscription purchase method and an instant manner for information transmission, and is characterized in that:
11)根据即时信息传送的信道资源历史规律, 计算可用于预订购信息播发 的信道数;  11) calculating the number of channels that can be used to subscribe to the subscription information broadcast according to the historical rule of the channel resource transmitted by the instant information;
12)根据所述可用于预订购信息播发的信道数, 安排播发预定购信息。 12) Arranging the issuance of the subscription information according to the number of channels available for subscribing to the purchase information.
2、 根据权利要求 1所述的方法, 其特征在于, 所述步骤 11)包括: 2. The method according to claim 1, wherein the step 11) comprises:
21)根据即时信息传送的信道资源历史规律, 获得信道网络未来各个时刻 满足即时信息传送需要预留的信道数;  21) obtaining, according to the historical rule of channel resources transmitted by the instant information, the number of channels that need to be reserved for the instant information transmission at each moment of the channel network;
22)将信道系统信道总数减去所述预留的信道数, 获得未来各个时刻的所 述可用于预订购信息播发的信道数。  22) Subtracting the total number of channel system channels by the reserved number of channels, and obtaining the number of channels available for subscription subscription information broadcast at various moments in the future.
3、 根据权利要求 2所述的方法, 其特征在于, 所述预留的信道数具体是: 根据即时信息传送使用信道资源的历史规律的周期性,获得未来各个时刻的即 时信息传输所用的信道数,并在该信道数基础上加上若干冗余信道作为所述用 于即时信息传输的预留信道数。  The method according to claim 2, wherein the reserved number of channels is specifically: obtaining a channel used for real-time information transmission at various moments in the future according to a periodicity of a history rule of using channel resources according to the instant information transmission And add a number of redundant channels to the number of reserved channels for instant information transmission based on the number of channels.
4、 根据权利要求 1到 3任一项所述的方法, 其特征在于, 所述步骤 12 ) 包括:  The method according to any one of claims 1 to 3, wherein the step 12) comprises:
41 )接收各个客户端的预订购请求, 并根据每个预订购请求生成相应的任 务;  41) receiving a subscription purchase request of each client, and generating a corresponding task according to each subscription purchase request;
42 )根据所述可用于预订购信息播发的信道数的情况,将上述任务列入计 划;  42) Include the above task in the plan according to the number of channels available for subscribing to purchase information;
43 )按照计划播发预定购信息。  43) Broadcast the pre-order information as planned.
5、 根据权利要 4所述的方法, 其特征在于, 所述步骤 41 ) 中, 根据预订 购请求生成相应的任务,是指根据预订购请求提供的信息生成描述该任务的任 务属性描述数组。  The method according to claim 4, wherein in step 41), generating a corresponding task according to the subscription purchase request means generating an attribute attribute description array describing the task according to the information provided by the subscription purchase request.
6、 根据权利要求 5所述的方法, 其特征在于, 所述任务属性描述数组中, 包括下列属性项目: 节目标识、 节目长度、 订购节目的客户端标识、 节目预定 时间、 服务组编号、 任务优先级、 任务状态、 任务标识。  The method according to claim 5, wherein the task attribute description array includes the following attribute items: program identification, program length, client identification of the subscription program, program scheduled time, service group number, task Priority, task status, task ID.
7、 根据权利要 6所述的方法, 其特征在于, 步骤 42 ) 中所述计划是指某 一时刻在某一个确定的服务组播发的一个节目,所述计划具体釆用计划属性描 述数组描述。 7. The method according to claim 6, wherein the plan in step 42) refers to a certain A program that is multicasted at a certain service at a time, and the plan specifically describes the array description using the plan attribute.
8、 根据权利要 7所述的方法, 其特征在于, 所述计划属性描述数组包括 下列属性项目: 节目标识、 节目长度、 开始时间、 结束时间、 服务组编号、 任 务个数、 任务标识列表、 计划标识。  8. The method according to claim 7, wherein the plan attribute description array comprises the following attribute items: program identification, program length, start time, end time, service group number, number of tasks, task identification list, Plan identification.
9、 根据权利要 8所述的方法, 其特征在于, 所述步骤 42 ), 将任务列入 计划的具体方法是:  9. The method according to claim 8, wherein the step 42), the specific method of including the task in the plan is:
91 )提取尚未列入计划的某个新任务;  91) Extracting a new task that has not been included in the plan;
92 )在所有尚未执行的计划中, 查找具有相同节目标识和服务组标识的计 划; 若不存在, 则为该新任务创建新的计划; 若存在, 则根据查找到的所述计 划的开始时间和结束时间, 查找该时间段内,是否存在与该新任务具有相同节 目属主的计划处于运行状态; 如果没有, 则将该新任务列入该计划; 如果有, 则为该新任务创建新的计划。  92) in all unexecuted plans, find a plan with the same program ID and service group ID; if not, create a new plan for the new task; if present, based on the found start time of the plan And the end time, find out if there is a plan with the same program owner as the new task in the time period; if not, the new task is included in the plan; if there is, create a new task for the new task plan of.
93 )返回步骤 91 )。  93) Return to step 91).
10、 根据权利要求 9所述的方法, 其特征在于, 所述将该新任务列入该计 划具体是: 给该计划的任务个数加 1 , 任务列表里加上该新任务的任务标识, 并调整该新任务的任务状态属性为已列入播发计划。  The method according to claim 9, wherein the adding the new task to the plan is: adding 1 to the number of tasks of the plan, adding a task identifier of the new task to the task list, and Adjust the task status attribute for this new task to be included in the broadcast plan.
11、 根据权利要求 9所述的方法, 其特征在于, 所述为该新任务创建新的 计划具体是: 根据可用于预订购节目播发的信道数,从当前时间往后的一个时 刻之后, 以固定时间间隔扫描播发计划表的计划占用信道的情况, 直到查找到 有长度大于或等于所述新任务的播发时间长度,并且尚未使用的可用于预订购 节目播发的信道, 则停止扫描; 并在该时刻为所述新任务创建一个新计划。  The method according to claim 9, wherein the creating a new plan for the new task is specifically: according to the number of channels available for subscription to purchase a program, after a time from the current time to the next time, The fixed time interval scans the situation of the planned occupation of the channel of the advertisement schedule until the length of the broadcast time that is greater than or equal to the new task is found, and the unused channel that can be used to subscribe to the program is stopped, and the scanning is stopped; This moment creates a new plan for the new task.
12、 根据权利要求 8所述的方法, 其特征在于, 所述步骤 43 )之前, 还 检测实际的信道占用情况, 对播发计划进行调整。  12. The method according to claim 8, wherein before the step 43), the actual channel occupancy condition is also detected, and the advertisement plan is adjusted.
13、 根据权利要求 12所述的方法, 其特征在于, 调整播发计划包括: 13. The method of claim 12, wherein adjusting the advertisement plan comprises:
131 )定期监测即时视频点播节目使用的信道数; 131) regularly monitor the number of channels used by instant video on demand programs;
132 )判断即时视频点播节目使用的信道数是否小于或等于历史统计数据, 若是, 返回步骤 131 ); 若否, 进入下一步;  132) determining whether the number of channels used by the instant video on demand program is less than or equal to historical statistics, and if yes, returning to step 131); if not, proceeding to the next step;
133 )如果即时视频点播节目使用的信道数、 为即时视频点播节目提供的 冗余信道数和预订购节目计划占用的信道数之和小于总信道数, 返回到步骤133) If the number of channels used by instant video on demand programs is provided for instant video on demand programs The sum of the number of redundant channels and the number of channels occupied by the scheduled purchase program is less than the total number of channels, returning to the step
131 ); 否则, 进入下一步; 131); Otherwise, go to the next step;
134 )调整播发计划;  134) adjust the broadcast plan;
135 )返回步骤 131 )。  135) Return to step 131).
14、 根据权利要求 13所述的方法, 其特征在于, 所述调整播发计划, 是 根据所述即时视频点播节目使用的信道数、为即时视频点播节目提供的冗余信 道数和预订节目计划占用的信道数之和超出总信道数的个数,取消同样个数的 计划, 并将被取消计划对应任务的状态属性改为未列入计划。  14. The method according to claim 13, wherein the adjusting the advertisement plan is based on the number of channels used by the instant video on demand program, the number of redundant channels provided for the instant video on demand program, and the reserved program plan occupancy. The sum of the number of channels exceeds the total number of channels, cancels the same number of plans, and changes the status attribute of the corresponding task to the unplanned.
15、 根据权利要求 14所述的方法, 其特征在于, 所述取消计划, 是根据 计划中的任务的优先级, 首先取消任务优先级低的计划; 若存在多个任务优先 级相同的计划, 则取消所涉及的任务数少的计划。  The method according to claim 14, wherein the cancellation plan is based on a priority of a task in the plan, and first cancels a plan with a low priority of the task; if there are multiple plans with the same priority of the task, Then cancel the plan with a small number of tasks involved.
PCT/CN2007/070946 2006-11-07 2007-10-24 Method of the information broadcast scheduling on the network WO2008055435A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNB2006101383374A CN100469033C (en) 2006-11-07 2006-11-07 A method to broadcast and dispatch the information in the channel network
CN200610138337.4 2006-11-07

Publications (1)

Publication Number Publication Date
WO2008055435A1 true WO2008055435A1 (en) 2008-05-15

Family

ID=38059544

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070946 WO2008055435A1 (en) 2006-11-07 2007-10-24 Method of the information broadcast scheduling on the network

Country Status (2)

Country Link
CN (1) CN100469033C (en)
WO (1) WO2008055435A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277540B (en) * 2008-05-13 2012-03-28 华为技术有限公司 Method and device for controlling service layering of multi-access network
CN101588632B (en) * 2009-06-17 2011-04-20 华为技术有限公司 Allocation method, device and base station for physical downlink control channel time domain symbolic number
CN103546779B (en) * 2013-10-14 2016-08-10 北京迈伦斯科技有限公司 Support program content parallel playing and scheduling method and the system of multiple service mode
EP3162003B1 (en) * 2014-06-30 2019-05-01 Convida Wireless, LLC Network node availability prediction based on past history data
CN111711995B (en) * 2020-06-30 2023-04-07 高斯贝尔数码科技股份有限公司 Broadcast channel competitive scheduling method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1302568A (en) * 2001-02-26 2001-07-11 王振锟 Process and equipment for rectifying tobacco by supercritical multi-element fluid extraction
JP2002112231A (en) * 2000-10-02 2002-04-12 Matsushita Electric Ind Co Ltd Video distribution/reception system
US20020066106A1 (en) * 2000-11-28 2002-05-30 Navic Systems, Inc. Promotion server using video on demand channel
CN1725750A (en) * 2004-07-22 2006-01-25 华为技术有限公司 Downlink shared channel (DSCH) resource scheduling method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002112231A (en) * 2000-10-02 2002-04-12 Matsushita Electric Ind Co Ltd Video distribution/reception system
US20020066106A1 (en) * 2000-11-28 2002-05-30 Navic Systems, Inc. Promotion server using video on demand channel
CN1302568A (en) * 2001-02-26 2001-07-11 王振锟 Process and equipment for rectifying tobacco by supercritical multi-element fluid extraction
CN1725750A (en) * 2004-07-22 2006-01-25 华为技术有限公司 Downlink shared channel (DSCH) resource scheduling method

Also Published As

Publication number Publication date
CN1953411A (en) 2007-04-25
CN100469033C (en) 2009-03-11

Similar Documents

Publication Publication Date Title
US11349779B2 (en) Upstream bandwidth management methods and apparatus
US5561456A (en) Return based scheduling to support video-on-demand applications
JP3797564B2 (en) System and method for optimizing subscriber program preferences
AU2008279824B2 (en) Systems and methods for allocating bandwidth in switched digital video systems based on interest
CA2554177C (en) Policy-based admission control and bandwidth reservation for future sessions
US5768681A (en) Channel conservation for anticipated load surge in video servers
US7831989B1 (en) Intelligent asset management in a cable services system
US20090025027A1 (en) Systems & methods for allocating bandwidth in switched digital video systems based on interest
WO2008055435A1 (en) Method of the information broadcast scheduling on the network
CN110944219B (en) Resource allocation method, device, server and storage medium
WO1997014251A9 (en) A system and method for optimizing subscriber programming preferences
EP0876032A2 (en) Communication apparatus, communication method, and record medium
EP1390840B1 (en) System and method for scheduling the distribution of assets from multiple asset providers to multiple receivers
CN101399690B (en) Multimedia data transmission method and system thereof
CN101110676A (en) Optimized scheduled method using ordered grants from a central controller
JP5004158B2 (en) Energy supply and demand adjustment system
JP2007531145A (en) Method and system for transferring a budget in a limited budget usage approach
JPH08140081A (en) Method and device for delivering reserved information
JP2001344166A (en) Distribution method and distribution system
da Fonseca et al. Dimensioning the capacity of true video-on-demand servers
JP2009175864A (en) Content subscription and distribution method, content subscription and distribution server, program, and recording medium
JP2020065137A (en) Broadcasting system
Vinay et al. Scheduling algorithms for the broadcast delivery of multimedia products
Om Enhanced Unified Architecture for Video-on-demand Services
JP2004236062A (en) System and method of selling resource, and program thereof

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

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

Country of ref document: EP

Kind code of ref document: A1