[go: up one dir, main page]

CN102238429B - Channel Scheduling Method for Mobile TV Network - Google Patents

Channel Scheduling Method for Mobile TV Network Download PDF

Info

Publication number
CN102238429B
CN102238429B CN 201010167204 CN201010167204A CN102238429B CN 102238429 B CN102238429 B CN 102238429B CN 201010167204 CN201010167204 CN 201010167204 CN 201010167204 A CN201010167204 A CN 201010167204A CN 102238429 B CN102238429 B CN 102238429B
Authority
CN
China
Prior art keywords
node
channel
key value
nodes
channels
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 201010167204
Other languages
Chinese (zh)
Other versions
CN102238429A (en
Inventor
锺兴龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Acer Inc
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to CN 201010167204 priority Critical patent/CN102238429B/en
Publication of CN102238429A publication Critical patent/CN102238429A/en
Application granted granted Critical
Publication of CN102238429B publication Critical patent/CN102238429B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a channel scheduling method of a mobile television network. The channel scheduling method includes the following steps. Bit rates are defined for a plurality of channels, wherein the channels correspond to different bit rates. The bit rate of the pulses is defined to calculate a plurality of key values, wherein the key values correspond to the channels. And constructing a binary tree through an algorithm according to the key values, wherein a plurality of leaf nodes of the binary tree correspond to the channels. The multiple pulse periods of the channels are arranged according to the path from each leaf node to the root node of the binary tree, wherein each pulse period is used for transmitting pulses. Therefore, the coding efficiency of the television channel and the use efficiency of the network bandwidth can be improved.

Description

移动电视网络的频道排程方法Channel Scheduling Method for Mobile TV Network

技术领域 technical field

本发明是有关于一种排程方法,且特别是有关于一种移动电视网络的频道排程方法。The present invention relates to a scheduling method, and in particular to a channel scheduling method of a mobile TV network.

背景技术 Background technique

目前IP-Based移动电视系统所提供的串流服务,是以广播(broadcast)或群播(multicast)方式透过实时传输协议(Real-time Transport Protocol,RTP)来将具有时基(time-based)的影音串流、互动服务(interactiveservice)或提示服务(notification service)传送给移动电视客户端装置。Currently, the streaming service provided by the IP-Based mobile TV system is broadcast or multicast through the Real-time Transport Protocol (RTP) to transmit time-based ) video stream, interactive service (interactive service) or notification service (notification service) is transmitted to the mobile TV client device.

根据数字视讯手持广播(Digital Video Broadcasting-Handheld,DVB-H)的标准,其提供了一个电视频道的传送方法,其主要是给予每一个网络帧(frame)一个脉冲(burst)。其中,每一个网络帧传送一个电视频道所传递的影像内容,并且每一个脉冲会指出下一个脉冲出现的传送时间。当行动装置接收到脉冲后,便会接收脉冲所对应的网络帧所传送的信息,并在接收完毕后关闭射频(radio frequency,RF)电路,直到接收到下一次脉冲出现才会再次启动射频电路,以此可节省电力消耗。According to the Digital Video Broadcasting-Handheld (DVB-H) standard, it provides a TV channel transmission method, which mainly gives each network frame a burst. Wherein, each network frame transmits the image content transmitted by a TV channel, and each pulse indicates the transmission time when the next pulse appears. When the mobile device receives the pulse, it will receive the information transmitted by the network frame corresponding to the pulse, and turn off the radio frequency (radio frequency, RF) circuit after receiving, and will not start the radio frequency circuit again until the next pulse is received. , which can save power consumption.

由于每一个频道所传递的节目类型可能会不同,因此每一个电视频道所需的比特率(bit rate)会对应其节目类型而不一样,例如体育性节目所需要的比特率较谈话性节目来得高。因此,上述脉冲的方式并不能推测电视频道的比特率。并且,在对每一电视频道编码时,则使用相同的比特率来进行编码,其中比特率会以所有电视频道中最大者为准,以使每一个电视频道都能被编码。依据上述,由于每一频道所需的比特率不同,若被编码的电视频道不是比特率最大的电视频道,则会浪费网络频宽来放置无信息的部份。再者,对无信息的部份进行编码只会浪费时间,并且会降低编码的效率。Since the type of programs transmitted by each channel may be different, the bit rate required by each TV channel will be different according to the type of program. For example, the bit rate required by sports programs is higher than that of talk programs. high. Therefore, the above-mentioned pulse method does not predict the bit rate of the TV channel. Moreover, when encoding each TV channel, the same bit rate is used for encoding, wherein the bit rate will be the largest among all TV channels, so that each TV channel can be encoded. According to the above, since the required bit rate of each channel is different, if the encoded TV channel is not the TV channel with the highest bit rate, network bandwidth will be wasted to place the part without information. Furthermore, encoding the part without information will only waste time and reduce the efficiency of encoding.

发明内容 Contents of the invention

本发明提供一种移动电视网络的频道排程方法,可以提高电视频道的编码效率,并且提高移动电视网络的频宽使用效率。The invention provides a channel scheduling method of a mobile TV network, which can improve the coding efficiency of the TV channel and improve the bandwidth utilization efficiency of the mobile TV network.

本发明提出一种移动电视网络的频道排程方法,其包括:定义多个频道的比特率,其中这些频道对应不同比特率;定义脉冲(burst)的比特率以计算多个键值,其中这些键值对应这些频道;依据这些键值并经由算法构建二元树(binary tree),其中二元树的多个叶节点对应这些频道;依据每一叶节点至二元树的根节点的路径排列这些频道的多个脉冲期间(burst during),其中每一脉冲期间用以传送脉冲。The present invention proposes a channel scheduling method for a mobile TV network, which includes: defining bit rates of multiple channels, wherein these channels correspond to different bit rates; defining burst bit rates to calculate multiple key values, wherein these The key values correspond to these channels; according to these key values, a binary tree (binary tree) is constructed through an algorithm, in which multiple leaf nodes of the binary tree correspond to these channels; arranged according to the path from each leaf node to the root node of the binary tree Multiple burst periods of these channels, each of which is used to transmit a burst.

在本发明一实施例中,上述算法包括:定义多个节点并存放至队列中,其中这些节点对应这些频道;取出队列中的两个第一节点,其中这些第一节点所对应的键值为队列中最小者;依据这些第一节点定义内部节点,其中至少一个第一节点为内部节点的子节点,并且非内部节点的子节点的第一节点存放回队列;将内部节点存放至队列;当队列的节点数为一时,队列中的节点为二元树的根节点。In an embodiment of the present invention, the above algorithm includes: defining multiple nodes and storing them in the queue, wherein these nodes correspond to these channels; taking out two first nodes in the queue, wherein the key values corresponding to these first nodes are The smallest one in the queue; define internal nodes according to these first nodes, wherein at least one of the first nodes is a child node of the internal node, and the first node of the child node of the non-internal node is stored back in the queue; the internal node is stored in the queue; when When the number of nodes in the queue is one, the node in the queue is the root node of the binary tree.

在本发明一实施例中,上述依据这些第一节点定义内部节点的步骤包括:当这些第一节点所对应的键值相同时,这些第一节点为内部节点的子节点,且内部节点所对应的键值为这些第一节点的键值的总和;当这些第一节点所对应的键值不同时,依据键值较小者的第一节点定义假节点,假节点及键值较小者的第一节点为内部节点的子节点,内部节点所对应的键值为假节点的键值及键值较小者的第一节点的键值的总和。In an embodiment of the present invention, the above-mentioned step of defining internal nodes based on these first nodes includes: when the key values corresponding to these first nodes are the same, these first nodes are child nodes of internal nodes, and the corresponding key values of internal nodes The key value of these first nodes is the sum of the key values; when the key values corresponding to these first nodes are different, the false node is defined according to the first node of the smaller key value, and the false node and the smaller key value The first node is a child node of the internal node, and the key value corresponding to the internal node is the sum of the key value of the dummy node and the key value of the first node whichever has the smaller key value.

在本发明一实施例中,上述假节点对应的键值相同于这些第一节点中键值较小者。In an embodiment of the present invention, the key value corresponding to the fake node is the same as the one with the smaller key value among the first nodes.

在本发明一实施例中,上述根节点对应的比特率小于或等于移动电视网络的频宽。In an embodiment of the present invention, the bit rate corresponding to the root node is less than or equal to the bandwidth of the mobile TV network.

在本发明一实施例中,上述脉冲的比特率大小为这些频道中比特率最小者。In an embodiment of the present invention, the bit rate of the above pulse is the smallest bit rate among these channels.

在本发明一实施例中,上述每一键值为对应的频道的比特率与脉冲的比特率的比值。In an embodiment of the present invention, each key value is a ratio of the bit rate of the corresponding channel to the bit rate of the burst.

在本发明一实施例中,上述这些频道依据其比特率由小至大依序排列。In an embodiment of the present invention, the aforementioned channels are arranged in descending order according to their bit rates.

在本发明一实施例中,上述每一频道的比特率为这些频道中比特率最小者的二的i-1次方倍,i为每一频道的频道数。In an embodiment of the present invention, the bit rate of each of the above channels is i-1 times the smallest bit rate of these channels, and i is the number of channels of each channel.

基于上述,本发明的移动电视网络的频道排程方法,其依据每一电视频道的比特率进行编码,以此提高电视频道编码的效率。并且,在译码时会依据每一电视频道的比特率进行,以此可避免译码时功耗的浪费。此外,依据每一频道的键值并经由算法构建二元树,依据对应每一电视频道的叶节点至根节点的路径排列每一电视频道所分配到的脉冲期间,以此可避免脉冲的冲突。Based on the above, the channel scheduling method of the mobile TV network of the present invention performs coding according to the bit rate of each TV channel, so as to improve the efficiency of TV channel coding. Moreover, the decoding will be performed according to the bit rate of each TV channel, so that the waste of power consumption during decoding can be avoided. In addition, according to the key value of each channel, a binary tree is constructed through an algorithm, and the pulse period allocated to each TV channel is arranged according to the path from the leaf node corresponding to each TV channel to the root node, so as to avoid pulse conflicts .

为让本发明上述特征和优点能更明显易懂,下文特举实施例,并配合所附图作详细说明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail in conjunction with the accompanying drawings.

附图说明 Description of drawings

图1为本发明一实施例的算法的流程图。FIG. 1 is a flowchart of an algorithm of an embodiment of the present invention.

图2A至图2H为本发明一实施例的二元树建立示意图;2A to 2H are schematic diagrams of building a binary tree according to an embodiment of the present invention;

图3为本发明一实施例的脉冲期间配置示意图;FIG. 3 is a schematic diagram of a pulse period configuration according to an embodiment of the present invention;

图4为本发明一实施例的移动电视网络的频道排程方法的流程图。FIG. 4 is a flowchart of a channel scheduling method for a mobile TV network according to an embodiment of the present invention.

附图标记说明Explanation of reference signs

210、220、230、250、260、270、280:节点;210, 220, 230, 250, 260, 270, 280: nodes;

240:队列;240: queue;

BT0~BT7:脉冲;BT0~BT7: Pulse;

S110、S120、S130、S140、150、160、S410、S420、S430、S440:步骤。S110, S120, S130, S140, 150, 160, S410, S420, S430, S440: steps.

具体实施方式 Detailed ways

在本实施例中,假设移动电视网络中的每个电视频道都对应一个比特率(bit rate),并且每一电视频道所传送的节目的比特率会小于或等于每一电视频道所对应的比特率。举个例来说,若是电视频道对应的比特率为200k,则此电视频道所传送的电视节目的比特率会小于或等于200k,例如190k、180k...等。并且,在此定义第i个电视频道ti对应的比特率等于2i-1×r1,其中i为一正整数,并且r1为可定义的最小比特率。In this embodiment, it is assumed that each TV channel in the mobile TV network corresponds to a bit rate (bit rate), and the bit rate of the program transmitted by each TV channel will be less than or equal to the bit rate corresponding to each TV channel Rate. For example, if the bit rate corresponding to the TV channel is 200k, the bit rate of the TV programs transmitted by the TV channel will be less than or equal to 200k, such as 190k, 180k, . . . and so on. And, it is defined here that the bit rate corresponding to the i-th TV channel t i is equal to 2 i-1 ×r 1 , where i is a positive integer, and r 1 is a definable minimum bit rate.

由上述可归纳出一个规律性,就是对于全部的电视频道而言,可依照其比特率的高低来排列顺位。换言之,以比特率而言,电视频道t1≤t2≤...≤tT,其中T为一正整数且为最大的频道数,并且电视频道t1~tT的比特率小于移动电视网络的频宽。由于电视频道t1的比特率为电视频道t1~tT的比特率中最小者,因此电视频道t1的比特率为最小比特率r1A regularity can be concluded from the above, that is, for all TV channels, they can be arranged according to their bit rates. In other words, in terms of bit rate, TV channel t 1 ≤t 2 ≤...≤t T , where T is a positive integer and the maximum number of channels, and the bit rate of TV channel t 1 ~t T is less than that of mobile TV The bandwidth of the network. Since the bit rate of the TV channel t 1 is the smallest among the bit rates of the TV channels t 1 -t T , the bit rate of the TV channel t 1 is the minimum bit rate r 1 .

此外,为了充分利用移动电视网络的频宽,可定义移动电视网络的频宽为电视频道t1~tT的比特率的总和,亦即无线网络的频宽

Figure GSA00000095870700041
但是为了电视频道的信息可以完全传送,可定义移动电视网络的频宽会大于或等于电视频道t1~tT的比特率的总和,亦即移动电视网络的频宽
Figure GSA00000095870700042
并且,可用脉冲(burst)的数量来来作为判断电视频道比特率的依据,如以最小比特率r1作为一个脉冲的比特率大小,则电视频道ti的比特率/电视频道t1的比特率=电视频道ti具有的脉冲数量,并且每个电视频道的键值(key)会等于每个频道的脉冲数量,以键值作为判断每个电视频道比特率的依据。In addition, in order to make full use of the bandwidth of the mobile TV network, the bandwidth of the mobile TV network can be defined as the sum of the bit rates of TV channels t 1 ~ t T , that is, the bandwidth of the wireless network
Figure GSA00000095870700041
However, in order to completely transmit the information of the TV channel, it can be defined that the bandwidth of the mobile TV network will be greater than or equal to the sum of the bit rates of the TV channels t 1 ~ t T , that is, the bandwidth of the mobile TV network
Figure GSA00000095870700042
And, the quantity of pulse (burst) can be used as the basis for judging the TV channel bit rate, as the bit rate size of a pulse with the minimum bit rate r 1 , then the bit rate of the TV channel t i /the bit of the TV channel t 1 Rate=the number of pulses that TV channel t i has, and the key value (key) of each TV channel will be equal to the number of pulses of each channel, and the key value is used as the basis for judging the bit rate of each TV channel.

接着,在本发明的实施例会提供一算法,此算法会依据上述每个频道的键值建立一个二元树(binary tree),并且二元树的叶节点分别代表一个电视频道。图1为本发明一实施例的算法的流程图。请参照图1,在此算法中,会先定义多个节点,并且将上述节点会被放入一队列(queue)中(步骤S110),其中这些节点会分别对应电视频道t1~tT,并且每个节点的键值即对应电视频道的键值。Next, an algorithm is provided in the embodiment of the present invention, and a binary tree (binary tree) is established according to the above-mentioned key value of each channel, and the leaf nodes of the binary tree respectively represent a TV channel. FIG. 1 is a flowchart of an algorithm of an embodiment of the present invention. Please refer to Fig. 1, in this algorithm, multiple nodes will be defined first, and the above nodes will be put into a queue (queue) (step S110), wherein these nodes will respectively correspond to TV channels t 1 -t T , And the key value of each node corresponds to the key value of the TV channel.

接着,算法会从队列中取出两个键值最小的节点(即第一节点)(步骤S120),并依据此两个节点产生定义一个内部节点(步骤S130),其中被取出的两个节点至少其一为内部节点的子节点,亦即此内部节点为一父节点,并且此内部节点的键值为其子节点的键值的总和。并且,在被取出的两个节点中,非此内部节点的子节点的节点亦会存放回队列。Next, the algorithm will take out two nodes with the smallest key value (i.e. the first node) from the queue (step S120), and generate and define an internal node based on these two nodes (step S130), wherein the two taken out nodes are at least One is a child node of an internal node, that is, the internal node is a parent node, and the key value of the internal node is the sum of the key values of its child nodes. And, among the two nodes that are taken out, the nodes that are not the child nodes of this internal node will also be stored back in the queue.

当内部节点完义完成后,则内部节点会被存放至队列中(步骤S140)。若队列中的节点为两个以上(包含两个)时(步骤S150),再从队列中取出两个键值最小的节点(步骤S120),并依据上述步骤S130及S140产生一个父节点(即另一内部节点)并存放至队列中。当队列中剩余一个节点时(步骤S150),则停止运算,且队列中最后剩余的一个节点则会被视为根(root)节点,即队列中的最后剩余的一个节点为二元树的根节点(步骤S160),以此完成上述二元树建立。After the definition of the internal nodes is completed, the internal nodes will be stored in the queue (step S140). If the nodes in the queue are more than two (including two) (step S150), then take out two nodes with the smallest key value (step S120) from the queue, and generate a parent node according to the above-mentioned steps S130 and S140 (i.e. another internal node) and store it in the queue. When there is one node remaining in the queue (step S150), then stop computing, and the last remaining node in the queue will be regarded as the root (root) node, that is, the last remaining node in the queue is the root of the binary tree node (step S160), so as to complete the establishment of the above-mentioned binary tree.

举例来说,假设目前有电视频道t1、t2及t3,并且电视频道t1、t2及t3的比特率分别为200k、400k及800k位/秒(bits per second,bps)。在此以电视频道t1的比特率作为一个脉冲的大小,亦即脉冲的比特率为200kdps。依据上述,电视频道t1的键值为1(即200k/200k),电视频道t2的键值为2(即400k/200k),电视频道t3的键值为4(即800k/200k)。For example, assume that there are currently TV channels t 1 , t 2 and t 3 , and the bit rates of the TV channels t 1 , t 2 and t 3 are 200k, 400k and 800k bits per second (bps) respectively. Here, the bit rate of the TV channel t1 is taken as the size of a pulse, that is, the bit rate of the pulse is 200 kdps. According to the above, the key value of TV channel t 1 is 1 (ie 200k/200k), the key value of TV channel t 2 is 2 (ie 400k/200k), and the key value of TV channel t 3 is 4 (ie 800k/200k) .

图2A至图2H为本发明一实施例的二元树建立示意图。请依序参照图2A至图2H,本实施例的算法会先定义节点210、220及230,并将节点210、220及230存放至队列240中,其中节点210、220及230分别对应电视频道t1、t2及t3,亦即节点210、220及230的键值分别为1、2及4。接着,本实施例的算法会先取出键值为1的节点210及键值为2的节点220。由于节点210及220的键值不同,此时键值较大的节点220会再存放回队列240中,并且依据节点210定义假节点250,其中假节点250的键值为1。2A to 2H are schematic diagrams of building a binary tree according to an embodiment of the present invention. Please refer to FIG. 2A to FIG. 2H in sequence, the algorithm of this embodiment will first define nodes 210, 220 and 230, and store nodes 210, 220 and 230 in the queue 240, wherein nodes 210, 220 and 230 correspond to TV channels respectively t 1 , t 2 and t 3 , that is, the key values of the nodes 210, 220 and 230 are 1, 2 and 4, respectively. Next, the algorithm of this embodiment will first extract the node 210 with the key value 1 and the node 220 with the key value 2. Since the key values of the nodes 210 and 220 are different, the node 220 with the larger key value will be stored back in the queue 240 at this time, and a false node 250 is defined according to the node 210, wherein the key value of the false node 250 is 1.

接着,定义内部节点260作为节点210及假节点250的父节点,并且将内部节点260存放至队列240中,其中内部节点260的键值为2(即1+1)。此时,队列240中有键值为2的节点220、键值为4的节点230及键值为2的内部节点260。由于队列240中的节点数大于2,因此会再从队列240中取出键值为2的节点220及内部节点260。由于节点220的键值相同于内部节点260,因此会依据节点220及内部节点260定义内部节点270,并且将内部节点270存放至队列240中,其中内部节点270为节点220及内部节点260的父节点,并且内部节点270的键值为4(即2+2)。Next, define the internal node 260 as the parent node of the node 210 and the dummy node 250, and store the internal node 260 in the queue 240, wherein the key value of the internal node 260 is 2 (ie 1+1). At this time, there are nodes 220 with a key value of 2, nodes 230 with a key value of 4, and internal nodes 260 with a key value of 2 in the queue 240 . Since the number of nodes in the queue 240 is greater than 2, the node 220 with a key value of 2 and the internal node 260 are taken out from the queue 240 again. Since the key value of the node 220 is the same as that of the internal node 260, the internal node 270 will be defined according to the node 220 and the internal node 260, and the internal node 270 will be stored in the queue 240, wherein the internal node 270 is the parent of the node 220 and the internal node 260 node, and the key value of the internal node 270 is 4 (ie 2+2).

此时,队列240中有键值为4的节点230及内部节点270,因此节点230及内部节点270会被取出,据此定义内部节点280并存放回队列240中,其中内部节点280为节点230及内部节点270的父节点,并且内部节点280的键值为8(即4+4)。此时,队列240中只剩一个节点(即内部节点280),因此键值为8的内部节点280即为二元树的根节点。并且,依据上述各节点的关系可形成包含对应电视频道t1、t2及t3的节点的二元树,此二元树如图2H所示,并且对应电视频道t1、t2及t3的节点为此二元树的叶(leaf)节点。以比特率来看,内部节点280(即根节点)的比特率会大于电视频道t1、t2及t3的比特率的总和,因此内部节点280所对应的比特率可等于移动电视网络的频宽。或者,内部节点280所对应的比特率亦可小于移动电视网络的频宽。At this time, there are node 230 and internal node 270 with a key value of 4 in the queue 240, so node 230 and internal node 270 will be taken out, and internal node 280 is defined accordingly and stored back in the queue 240, wherein internal node 280 is node 230 and the parent node of the internal node 270, and the key value of the internal node 280 is 8 (ie 4+4). At this time, there is only one node left in the queue 240 (namely, the internal node 280), so the internal node 280 with a key value of 8 is the root node of the binary tree. Moreover, a binary tree including nodes corresponding to TV channels t 1 , t 2 and t 3 can be formed according to the relationship of the above nodes. This binary tree is shown in FIG. 2H and corresponds to TV channels t 1 , t 2 and t t The node of 3 is the leaf node of this binary tree. In terms of bit rate, the bit rate of the internal node 280 (i.e. the root node) will be greater than the sum of the bit rates of TV channels t1 , t2 and t3 , so the bit rate corresponding to the internal node 280 can be equal to that of the mobile TV network bandwidth. Alternatively, the bit rate corresponding to the internal node 280 may also be smaller than the bandwidth of the mobile TV network.

接着,为了防止脉冲冲突,我们经由移动电视网络的频宽R除以脉冲大小来取得一个网络帧中的脉冲的总数量,并且内部节点280的键值可等于或小于一个网络帧中脉冲的总数量。并且,可利用上述算法所构建的二元树决定每个脉冲的脉冲期间(burst during)。请参照图2H,以图2H的二元树为例,并假设每一节点的左分支对应的二进制数为0,每一节点的右分支对应的二进制数为1。Then, in order to prevent pulse collision, we divide the bandwidth R of the mobile TV network by the pulse size to obtain the total number of pulses in a network frame, and the key value of the internal node 280 can be equal to or less than the total number of pulses in a network frame quantity. Moreover, the burst duration of each pulse can be determined by using the binary tree constructed by the above algorithm. Please refer to FIG. 2H , take the binary tree in FIG. 2H as an example, and assume that the binary number corresponding to the left branch of each node is 0, and the binary number corresponding to the right branch of each node is 1.

以电视频道t1而言,电视频道t1的键值为1,亦即在一个网络帧中电视频道t1分配到1个脉冲。并且,对应电视频道t1的节点210至根节点(即内部节点280)的路径为011,因此电视频道t1分配到的脉冲期间为网络帧中第4个脉冲期间(此因二进制数由000开始),如图3所示,电视频道t1分配到对应脉冲BT3的脉冲期间。以电视频道t2而言,电视频道t2的键值为2,亦即在一个网络帧中电视频道t2分配到2个脉冲。并且,对应电视频道t2的节点220至根节点280的路径为01。由于图2H所示二元树的深度为3,因此电视频道t2应取得3位数的二进制数才能对应至脉冲期间,在此于不足之处的高位处补X,其中X可以为0或1。据此,对应电视频道t2的二进制数应为X01,因此电视频道t2分配到的脉冲期间为网络帧中第2(即001)及6(即101)个脉冲期间,如图3所示,电视频道t2分配到对应脉冲BT1及BT5的脉冲期间。Taking TV channel t1 as an example, the key value of TV channel t1 is 1, that is, TV channel t1 is allocated to 1 pulse in one network frame. And, the path from the node 210 corresponding to TV channel t1 to the root node (i.e. internal node 280) is 011, so the pulse period allocated to TV channel t1 is the 4th pulse period in the network frame (this is because the binary number is changed from 000 start), as shown in Figure 3, TV channel t1 is allocated to the pulse period corresponding to pulse BT3. Taking TV channel t2 as an example, the key value of TV channel t2 is 2, that is, TV channel t2 is assigned 2 bursts in one network frame. Also, the path from node 220 corresponding to TV channel t2 to the root node 280 is 01. Because the depth of binary tree shown in Fig. 2H is 3, so TV channel t 2 should obtain the binary number of 3 digits and just can correspond to the pulse period, fill X at the high position of deficiency here, wherein X can be 0 or 1. Accordingly, the binary number corresponding to TV channel t2 should be X01, so the pulse period assigned to TV channel t2 is the 2nd (ie 001) and 6th (ie 101) pulse periods in the network frame, as shown in Figure 3 , TV channel t2 is assigned to the pulse periods corresponding to pulses BT1 and BT5.

以电视频道t3而言,电视频道t3的键值为4,亦即在一个网络帧中电视频道t3分配到4个脉冲。并且,对应电视频道t3的节点230至根节点280的路径为0。同样地,由于二元树的深度为3,因此对应电视频道t3的二进制数应为XX0,因此电视频道t2分配到的脉冲期间为网络帧中第1(即000)、3(即010)、5(即100)及7(即110)个脉冲期间,如图3所示,电视频道t2分配到对应脉冲BT0、BT2、BT4及BT6的脉冲期间。依据上述,电视频道t1~t3所分配到的脉冲期间不会重叠,以此可防止脉冲冲突,并且可排序电视频道t1~t3所使用的脉冲,可降低网络频宽的浪费。再者,电视频道t1~t3会对应其比特率进行编码,因此可提高编码的效率及降低译码的功耗。Taking TV channel t3 as an example, the key value of TV channel t3 is 4, that is, TV channel t3 is assigned 4 bursts in one network frame. Also, the path from the node 230 corresponding to the TV channel t3 to the root node 280 is 0. Similarly, since the depth of the binary tree is 3, the binary number corresponding to TV channel t 3 should be XX0, so the pulse period allocated to TV channel t 2 is the first (ie 000), 3 (ie 010) in the network frame ), 5 (ie 100) and 7 (ie 110) pulse periods, as shown in Figure 3, TV channel t2 is allocated to the pulse periods corresponding to pulses BT0, BT2, BT4 and BT6. According to the above, the pulse periods allocated to the TV channels t 1 -t 3 do not overlap, thereby preventing pulse collisions, and the pulses used by the TV channels t 1 -t 3 can be sorted to reduce the waste of network bandwidth. Furthermore, the TV channels t 1 -t 3 are coded according to their bit rates, so the coding efficiency can be improved and the decoding power consumption can be reduced.

值得一提的是,上述实施例中每一节点的左分支对应的二进制数为0,每一节点的右分支对应的二进制数为1。但在其它实施例中,每一节点的左分支对应的二进制数可以为1,每一节点的右分支对应的二进制数可以为0。并且,可依据上述说明,依据对应每一频道的节点至根节点的路径决定每一频道的脉冲期间。It is worth mentioning that in the above embodiment, the binary number corresponding to the left branch of each node is 0, and the binary number corresponding to the right branch of each node is 1. However, in other embodiments, the binary number corresponding to the left branch of each node may be 1, and the binary number corresponding to the right branch of each node may be 0. Moreover, according to the above description, the pulse period of each channel can be determined according to the path from the node corresponding to each channel to the root node.

依据上述,可汇整为一移动电视网络的频道排程方法。图4为依据本发明一实施例的移动电视网络的频道排程方法的流程图。请参照图4,首先定义多个电视频道的比特率(步骤S410)。并且,定义脉冲的比特率以计算每一电视频道的键值(步骤S420)。接着,依据每一频道的键值并经由算法构建二元树(步骤S430)。最后,依据对应每一电视频道的叶节点至二元树的根节点的路径排列每一电视频道所分配到的脉冲期间(步骤S440)。其中,各步骤的细节可参照上述说明,在此则不再赘述。According to the above, a channel scheduling method for a mobile TV network can be summarized. FIG. 4 is a flowchart of a channel scheduling method for a mobile TV network according to an embodiment of the invention. Please refer to FIG. 4, first define the bit rates of multiple TV channels (step S410). And, define the bit rate of the pulse to calculate the key value of each TV channel (step S420). Next, construct a binary tree through an algorithm according to the key value of each channel (step S430). Finally, arrange the pulse periods allocated to each TV channel according to the path from the leaf node corresponding to each TV channel to the root node of the binary tree (step S440 ). Wherein, the details of each step may refer to the above description, which will not be repeated here.

综上所述,本发明实施例的移动电视网络的频道排程方法,其依据每一电视频道的比特率进行编码,以此提高编码的效率。并且,在译码时会依据每一电视频道的比特率进行,以此可避免译码时功耗的浪费。此外,依据每一频道的键值并经由一算法构建二元树,依据对应每一电视频道的叶节点至根节点的路径排列每一电视频道所分配到的脉冲期间,以此可避免脉冲的冲突。To sum up, the channel scheduling method of the mobile TV network according to the embodiment of the present invention performs coding according to the bit rate of each TV channel, so as to improve the coding efficiency. Moreover, the decoding will be performed according to the bit rate of each TV channel, so that the waste of power consumption during decoding can be avoided. In addition, according to the key value of each channel, a binary tree is constructed through an algorithm, and the pulse periods allocated to each TV channel are arranged according to the path from the leaf node corresponding to each TV channel to the root node, so as to avoid the pulse period conflict.

虽然本发明已以实施例描述如上,然其并非用以限定本发明,任何所属技术领域中具有通常知识者,在不脱离本发明精神和范围内,都可作些许更动与润饰,故本发明保护范围当以权利要求书为准。Although the present invention has been described above with the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, this The protection scope of the invention shall be determined by the claims.

Claims (6)

1.一种移动电视网络的频道排程方法,包括:1. A channel scheduling method for a mobile television network, comprising: 定义多个频道的比特率,其中所述频道对应不同比特率;defining bit rates for a plurality of channels, wherein the channels correspond to different bit rates; 定义一脉冲的比特率以计算多个键值,其中所述键值对应所述频道;defining a burst bit rate to calculate a plurality of key values, wherein the key values correspond to the channels; 依据所述键值并经由一算法构建一二元树,其中该二元树的多个叶节点对应所述频道,该脉冲的比特率大小为所述频道中比特率最小者,并且每一所述键值为对应的频道的比特率与该脉冲的比特率的比值;以及,Constructing a binary tree through an algorithm according to the key value, wherein a plurality of leaf nodes of the binary tree correspond to the channels, the bit rate of the pulse is the smallest bit rate among the channels, and each The key value is the ratio of the bit rate of the corresponding channel to the bit rate of the burst; and, 依据每一所述叶节点至该二元树的一根节点的路径排列所述频道的多个脉冲期间,其中每一所述脉冲期间用以传送该脉冲;arranging a plurality of burst periods of the channel according to a path from each of the leaf nodes to a node of the binary tree, wherein each of the burst periods is used to transmit the burst; 其中,该算法包括:Among them, the algorithm includes: 定义多个节点并存放至一队列中,其中所述节点对应所述频道;defining multiple nodes and storing them in a queue, wherein the nodes correspond to the channels; 取出该队列中的两个第一节点,其中所述第一节点所对应的键值为该队列中最小者;Taking out two first nodes in the queue, wherein the key value corresponding to the first node is the smallest in the queue; 依据所述第一节点定义一内部节点,其中所述第一节点至少其一为该内部节点的子节点,并且非该内部节点的子节点的第一节点存放回该队列;An internal node is defined according to the first node, wherein at least one of the first nodes is a child node of the internal node, and the first node that is not a child node of the internal node is stored back in the queue; 将该内部节点存放至该队列;以及,deposit the internal node into the queue; and, 当该队列的节点数为一时,该队列中的节点为该二元树的该根节点。When the number of nodes in the queue is one, the node in the queue is the root node of the binary tree. 2.根据权利要求1所述移动电视网络的频道排程方法,其中依据所述第一节点定义该内部节点的步骤包括:2. The channel scheduling method of the mobile TV network according to claim 1, wherein the step of defining the internal node according to the first node comprises: 当所述第一节点所对应的键值相同时,所述第一节点为该内部节点的子节点,且该内部节点所对应的键值为所述第一节点的键值的总和;以及,When the key values corresponding to the first nodes are the same, the first node is a child node of the internal node, and the key value corresponding to the internal node is the sum of the key values of the first node; and, 当所述第一节点所对应的键值不同时,依据键值较小者的第一节点定义一假节点,该假节点及键值较小者的第一节点为该内部节点的子节点,该内部节点所对应的键值为该假节点的键值及键值较小者的第一节点的键值的总和。When the key values corresponding to the first nodes are different, a false node is defined according to the first node with the smaller key value, and the false node and the first node with the smaller key value are child nodes of the internal node, The key value corresponding to the internal node is the sum of the key value of the dummy node and the key value of the first node whose key value is smaller. 3.根据权利要求2所述移动电视网络的频道排程方法,其中该假节点对应的键值相同于所述第一节点中键值较小者。3. The channel scheduling method for a mobile TV network according to claim 2, wherein the key value corresponding to the false node is the same as the one with the smaller key value in the first node. 4.根据权利要求1所述移动电视网络的频道排程方法,其中该根节点对应的比特率小于或等于该移动电视网络的频宽。4. The channel scheduling method of the mobile TV network according to claim 1, wherein the bit rate corresponding to the root node is less than or equal to the bandwidth of the mobile TV network. 5.根据权利要求1所述移动电视网络的频道排程方法,其中所述频道依据其比特率由小至大依序排列。5. The channel scheduling method of the mobile TV network according to claim 1, wherein the channels are arranged in ascending order according to their bit rates. 6.根据权利要求5所述移动电视网络的频道排程方法,其中每一所述频道的比特率为所述频道中比特率最小者的二的i-1次方倍,i为每一所述频道的频道数。6. The channel scheduling method of the mobile TV network according to claim 5, wherein the bit rate of each channel is the i-1 power times of two of the bit rate minimum in the channels, and i is each channel number of the channel mentioned above.
CN 201010167204 2010-04-27 2010-04-27 Channel Scheduling Method for Mobile TV Network Expired - Fee Related CN102238429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010167204 CN102238429B (en) 2010-04-27 2010-04-27 Channel Scheduling Method for Mobile TV Network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010167204 CN102238429B (en) 2010-04-27 2010-04-27 Channel Scheduling Method for Mobile TV Network

Publications (2)

Publication Number Publication Date
CN102238429A CN102238429A (en) 2011-11-09
CN102238429B true CN102238429B (en) 2013-05-22

Family

ID=44888562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010167204 Expired - Fee Related CN102238429B (en) 2010-04-27 2010-04-27 Channel Scheduling Method for Mobile TV Network

Country Status (1)

Country Link
CN (1) CN102238429B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4991975A (en) * 1988-11-22 1991-02-12 At&T Bell Laboratories Division multiplexing and demultiplexing means lightwave communication system comprising optical time
US6963545B1 (en) * 1998-10-07 2005-11-08 At&T Corp. Voice-data integrated multiaccess by self-reservation and stabilized aloha contention
CN101262360A (en) * 2008-04-11 2008-09-10 中国电信股份有限公司 A method and device for real time stream media multi-point transmission

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4991975A (en) * 1988-11-22 1991-02-12 At&T Bell Laboratories Division multiplexing and demultiplexing means lightwave communication system comprising optical time
US6963545B1 (en) * 1998-10-07 2005-11-08 At&T Corp. Voice-data integrated multiaccess by self-reservation and stabilized aloha contention
CN101262360A (en) * 2008-04-11 2008-09-10 中国电信股份有限公司 A method and device for real time stream media multi-point transmission

Also Published As

Publication number Publication date
CN102238429A (en) 2011-11-09

Similar Documents

Publication Publication Date Title
CN102946570B (en) Transmission system and method for multi-stream streaming media of self-adaption network bandwidth
Leong et al. Erasure coding for real-time streaming
CN102130886B (en) Network video streaming media system, transmission processing method, transmitting end
CN103023813B (en) Wobble buffer
KR101122143B1 (en) Signaling buffer parameters indicative of receiver buffer architecture
US20090262838A1 (en) Method and apparatus for encoding transmission data blocks for enhanced switching performance
CN110740380A (en) Video processing method and device, storage medium and electronic device
JP6174582B2 (en) Dynamic switching technique between coded bitstreams
CN101296184A (en) Method, system and device for data transmission
CN101699867A (en) Dynamic adjustment method of video data transmission rate
CN115037416A (en) Data forward error correction processing method, device, electronic equipment and storage medium
CN102238429B (en) Channel Scheduling Method for Mobile TV Network
US10517015B2 (en) Power consumption optimization of wireless communication systems for content delivery
WO2010108416A1 (en) Method, device and communication system for forwarding scalable video coding data messages
TWI404418B (en) Channel schedule method of mobile television net
US9253230B2 (en) Reducing latency in multiple unicast transmissions
CN1996813B (en) Self-adapted media transfer management of the continuous media stream used for LAN/WAN environment
CN102436818A (en) Server-side route selection and sound mixing method based on energy priority
CN106411468B (en) Based on the multimedia data transmission method of network code in wireless relay network
CN104158804A (en) Multi-screen interaction method
CN100561931C (en) Mobile Multimedia Broadcasting System and Method Using Variable Length Frames to Improve Transmission Efficiency
CN112752070B (en) Data transmission method, device, terminal equipment and storage medium
CN115119049B (en) A dynamic encoding method that supports cloud game play together
Naderi et al. Performance analysis of selected error control protocols in wireless multimedia sensor networks
CN102014285B (en) Multiple DPCM signal encoding device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130522