CN109981334A - A kind of live streaming nerve of a covering Cost Optimization Approach with deferred constraint - Google Patents
A kind of live streaming nerve of a covering Cost Optimization Approach with deferred constraint Download PDFInfo
- Publication number
- CN109981334A CN109981334A CN201910069989.4A CN201910069989A CN109981334A CN 109981334 A CN109981334 A CN 109981334A CN 201910069989 A CN201910069989 A CN 201910069989A CN 109981334 A CN109981334 A CN 109981334A
- Authority
- CN
- China
- Prior art keywords
- delay
- overlay network
- cost
- constraint
- bandwidth
- 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.)
- Pending
Links
- 238000005457 optimization Methods 0.000 title claims abstract description 11
- 210000005036 nerve Anatomy 0.000 title 1
- 238000000034 method Methods 0.000 claims abstract description 28
- 230000005540 biological transmission Effects 0.000 claims description 10
- 238000004519 manufacturing process Methods 0.000 abstract description 2
- 230000001934 delay Effects 0.000 description 4
- 238000010276 construction Methods 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种带延迟约束的直播覆盖网成本优化方法。针对当前覆盖网优化方法未能考虑服务器节点的调度延迟,从而难以应用到实际生产环境中的问题,本方法将链路的传播延迟和节点的调度延迟纳入约束条件进行成本优化。方法步骤具体包括有参数初始化、完全图生成、多流模型联合建模、变量松弛与凹规划、最优解取整和带宽微调。方法可使覆盖网系统在规定延迟约束内大大降低带宽成本,具有良好的可应用性。
The invention discloses a method for optimizing the cost of a live broadcast overlay network with delay constraints. Aiming at the problem that the current overlay network optimization method fails to consider the scheduling delay of server nodes, which makes it difficult to apply to the actual production environment, this method incorporates the propagation delay of the link and the scheduling delay of the node into the constraints for cost optimization. The method steps specifically include parameter initialization, complete graph generation, joint modeling of multi-stream models, variable relaxation and concave programming, optimal solution rounding, and bandwidth fine-tuning. The method can greatly reduce the bandwidth cost of the overlay network system within the specified delay constraint, and has good applicability.
Description
技术领域technical field
本发明属于计算机网络领域,涉及一种带延迟约束的直播覆盖网成本优化方法,更为具体的说,是涉及一种将链路带宽价格、链路传播延迟和节点调度延迟纳入约束条件的覆盖网构造方法。The invention belongs to the field of computer networks, and relates to a cost optimization method for a live coverage network with delay constraints, and more specifically, to a coverage method that incorporates link bandwidth prices, link propagation delays and node scheduling delays into constraints Network construction method.
背景技术Background technique
当下直播视频通过覆盖网系统进行数据的传输和分发。覆盖网由不同地区的节点服务器和源节点服务器组成。为下文描述方便,称节点服务器为节点,称源节点服务器为源节点。源节点将直播视频流数据分发到不同地区的节点,然后不同地区节点再将数据分发给相应地区的用户终端。相比于用户直接从源节点拉取直播视频流数据,通过覆盖网进行数据的分发能有效降低源节点的分发压力和视频流数据的传输延迟。At present, live video is transmitted and distributed through the overlay network system. The overlay network consists of node servers and source node servers in different regions. For convenience of description below, the node server is called a node, and the source node server is called a source node. The source node distributes live video stream data to nodes in different regions, and then nodes in different regions distribute the data to user terminals in corresponding regions. Compared with users directly pulling live video stream data from the source node, data distribution through the overlay network can effectively reduce the distribution pressure on the source node and the transmission delay of video stream data.
部署一个覆盖网系统的成本主要来自不同节点之间的链路带宽成本。当链路带宽越大时,节点之间的数据传输延迟就越低,但相应地系统的带宽成本也越高。如何在一定的延迟约束内尽可能地降低带宽成本是一个业界热点问题。近年来,有不少研究人员针对覆盖网的资源分配优化问题进行了大量的研究,在一些特定应用领域取得了长足的进展。然而大部分工作为了简化问题,在数据传输延迟方面只考虑了传输链路的传播延迟,而忽略了节点的调度延迟。这一简化与实际生活中的情况相违背,使得算法可执行性降低,无法被真正应用到实际生产环境中。The cost of deploying an overlay network system mainly comes from the link bandwidth cost between different nodes. When the link bandwidth is larger, the data transmission delay between nodes is lower, but the bandwidth cost of the system is correspondingly higher. How to reduce the bandwidth cost as much as possible within a certain delay constraint is a hot issue in the industry. In recent years, many researchers have done a lot of research on the problem of resource allocation optimization of overlay networks, and have made great progress in some specific application fields. However, in order to simplify the problem, most of the work only considers the propagation delay of the transmission link and ignores the scheduling delay of the node in the data transmission delay. This simplification goes against the real-life situation, making the algorithm less executable and unable to be truly applied to the actual production environment.
综上可知,当下的覆盖网成本优化算法依然存在一定不足和改进空间。To sum up, it can be seen that the current cost optimization algorithm of overlay network still has certain shortcomings and room for improvement.
发明内容SUMMARY OF THE INVENTION
为解决以上问题,本发明提出了一种带延迟约束的直播覆盖网成本优化方法。本方法创新地将链路的传播延迟和节点的调度延迟同时纳入约束考虑进行覆盖网的构造。In order to solve the above problems, the present invention proposes a cost optimization method for live coverage network with delay constraints. The method innovatively takes both the propagation delay of the link and the scheduling delay of the node into consideration for the construction of the overlay network.
本发明提供的成本优化方法,首先先对覆盖网参数进行初始化;随后对不可行路径做赋值最大化处理,此时覆盖网拓扑图变为一有向完全图;随后综合考虑传输延迟和调度延迟,对覆盖网进行联合建模;当模型构建完毕后,模型变量为链路的流变量以及带宽数值。其中,流变量为0-1整数变量,而带宽数值为非负实数变量;使用变量松弛法和序列二次规划法对模型进行求解,求出的流变量解和带宽数值解均为分数解,此时解尚不存在可行性;为使解具备可行性,需要对流变量的分数解进行取整处理;最后由于流变量解进行了取整,原带宽数值解不一定满足约束条件,需要对带宽数值解进行迭代处理直到延迟约束得到满足。In the cost optimization method provided by the present invention, the overlay network parameters are firstly initialized; then the assignment maximization process is performed on the infeasible path, and the overlay network topology graph becomes a directed complete graph at this time; and then the transmission delay and the scheduling delay are comprehensively considered. , and jointly model the overlay network; when the model is constructed, the model variables are the flow variables and bandwidth values of the link. Among them, the flow variable is an integer variable of 0-1, and the bandwidth value is a non-negative real number variable; the model is solved using the variable relaxation method and the sequential quadratic programming method, and the obtained flow variable solution and bandwidth numerical solution are both fractional solutions, At this time, the solution is not yet feasible; in order to make the solution feasible, the fractional solution of the flow variable needs to be rounded; finally, due to the rounding of the flow variable solution, the original bandwidth numerical solution does not necessarily meet the constraints, and the bandwidth needs to be rounded. The numerical solution is iteratively processed until the delay constraint is satisfied.
附图说明Description of drawings
图1是本发明一种带延迟约束的直播覆盖网成本优化方法流程图。FIG. 1 is a flow chart of a method for optimizing the cost of a live coverage network with delay constraints according to the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
具体步骤如下:Specific steps are as follows:
A、参数初始化,生成拓扑图。A. The parameters are initialized and the topology map is generated.
具体地,初始化覆盖网节点集为V,边集为E。E中链路均为节点之间的可行链路,每个节点i带有的参数为:节点订阅的直播频道集合Ni,节点的调度延迟每段可行链路<i,j>带有的参数为:传播延迟链路码率τij,链路带宽bij和成本函数Cij(bij),Cij(bij)为凹函数。部署在覆盖网上的直播频道集合为N。每个直播频道n带有参数为:频道码率τ(n)。覆盖网的最大总延迟约束为D。链路<i,j>的第n个频道第k个流变量为的目的节点为节点k。链路<i,j>的第n个频道的总流变量为 Specifically, the initialized overlay network node set is V, and the edge set is E. The links in E are all feasible links between nodes. The parameters of each node i are: the set of live channels N i subscribed by the node, the scheduling delay of the node The parameters of each feasible link <i,j> are: propagation delay The link code rate τ ij , the link bandwidth b ij and the cost function C ij (b ij ), C ij (b ij ) are concave functions. The set of live channels deployed on the overlay network is N. Each live channel n has a parameter: channel bit rate τ (n) . The maximum total delay constraint for the overlay network is D. The kth flow variable of the nth channel of the link <i,j> is The destination node is node k. The total flow variable of the nth channel of link <i,j> is
B、完全图生成,对不可行路径相关参数赋予成本和传播延迟最大值。覆盖网拓扑图成为一有向完全图。B. Complete graph generation, assigning the maximum cost and propagation delay to the parameters related to the infeasible path. The overlay network topology graph becomes a directed complete graph.
具体地,对于不可行链路<i,j>,将其传播延迟设为无穷大,即将其成本函数设为无穷大常数,即Cij(bij)=+∞,然后将其加入步骤A中的边集E。此时,E为有向完全图,即E=V×V。Specifically, for the infeasible link <i,j>, set its propagation delay to infinity, that is Set its cost function as an infinite constant, ie C ij (b ij )=+∞, and then add it to the edge set E in step A. At this time, E is a directed complete graph, that is, E=V×V.
C、多流模型联合建模,综合考虑调度延迟和传播延迟。C. Joint modeling of multi-stream models, which comprehensively considers scheduling delay and propagation delay.
具体地,首先依照多流模型定义构造多流约束条件:Specifically, the multi-stream constraints are first constructed according to the multi-stream model definition:
其中,当节点i是源节点时,θ为1;当i为目的节点时,θ为-1;当i为其他节点时,θ为0。通过构建多流模型,可保证生成的覆盖网拓扑图是以树为基础的多频道网状图。Among them, when node i is the source node, θ is 1; when i is the destination node, θ is -1; when i is another node, θ is 0. By constructing a multi-stream model, it can be guaranteed that the generated overlay network topology map is a tree-based multi-channel mesh map.
计算每条链路<i,j>的当前码率tij,链路的的当前码率不能超过该链路的带宽bij。因此,我们得到约束条件:Calculate the current code rate t ij of each link <i,j>, the current code rate of the link cannot exceed the bandwidth b ij of the link. Therefore, we get the constraints:
现在我们对链路的传播延迟和节点的调度延迟进行联合建模,设视频流数据传输字段大小为L,节点i的调度延迟为则节点i的调度延迟计算公式如下:Now we jointly model the propagation delay of the link and the scheduling delay of the node. Let the size of the video stream data transmission field be L, and the scheduling delay of node i is Then the calculation formula of the scheduling delay of node i is as follows:
其中Ch(i)为节点i的子结点,P(n)为频道n订阅的节点集合。where Ch(i) is the child node of node i, and P (n) is the set of nodes subscribed to by channel n.
设链路<i,j>的传播延迟为则第k个流的总延迟为其所经过链路的传播延迟总和加上所经过的节点调度延迟总和,我们得到如下约束条件:Let the propagation delay of link <i,j> be Then the total delay of the kth flow is the sum of the propagation delays of the links it traverses plus the sum of the scheduling delays of the nodes it traverses, and we get the following constraints:
最后我们定义链路带宽成本由步骤A中的成本函数Cij(bij)得到,函数Cij(bij)为关于带宽bij的凹函数,随着带宽的增加而边际成本降低。覆盖网的成本为所有链路带宽成本总和,即:Finally, we define that the link bandwidth cost is obtained by the cost function C ij (b ij ) in step A. The function C ij (b ij ) is a concave function about the bandwidth b ij , and the marginal cost decreases as the bandwidth increases. The cost of the overlay network is the sum of the bandwidth costs of all links, namely:
由以上约束和成本函数构成的数学模型为整数模型,我们接下来将根据该模型进行成本优化求解。The mathematical model composed of the above constraints and cost function is an integer model, and we will solve the cost optimization according to this model next.
D、变量松弛与凹规划,对模型进行优化求解。D. Variable relaxation and concave programming to optimize and solve the model.
具体地,由步骤C所构建模型中,和均为整数,不易求解。我们对上述两者变量进行松弛,将约束去掉,即变为取值范围为[0,1]的实数。因此,步骤C得到的整数规划模型转换为了连续凹规划模型。我们使用序列二次规划方法对该模型进行求解。得到解记为(流变量),(总流变量),bij*(带宽)。Specifically, in the model constructed by step C, and All are integers, which are not easy to solve. We relax the above two variables and constrain the remove, that is becomes a real number in the range [0,1]. Therefore, the integer programming model obtained in step C is converted into a continuous concave programming model. We solve this model using a sequential quadratic programming method. be denoted as (flow variable), (total flow variable), b ij * (bandwidth).
E、最优解取整。E. The optimal solution is rounded.
具体地,由步骤D所得到的解和可能为分数而不是整数。因此,需要采用“取整化”操作将上述两变量转为整数。对于第n个直播频道的第k个流路径,我们从流路径目的节点j开始溯源对流变量取整。节点j有多个输入流变量,我们选取其中最大的输入流变量,将其置为1,其他输入流变量置为0。将最大流变量所代表的链路的另一端节点i置为节点j的父节点,即其中Pkn(j)为节点j关于第n个频道的第k个流的父节点。随后我们使用同等操作处理节点i的输入流变量。不断循环迭代,直到处理完源节点为止。此时所有的均为整数解。最后,我们使用公式来对进行取整。Specifically, the solution obtained by step D and Possibly a fraction rather than an integer. Therefore, it is necessary to use the "rounding" operation to convert the above two variables into integers. For the k-th flow path of the n-th live channel, we start from the destination node j of the flow path and round up the flow variable. Node j has multiple input flow variables, we select the largest input flow variable and set it to 1, and other input flow variables are set to 0. Set the other end node i of the link represented by the maximum flow variable as the parent node of node j, that is where P kn (j) is the parent node of the kth stream of node j with respect to the nth channel. Then we use the equivalent operation to process the input stream variable of node i. Iterates continuously until the source node is processed. At this time all are integer solutions. Finally, we use the formula come right Round up.
F、带宽微调,对不满足约束的链路带宽进行调整,使之满足约束。具体地,步骤E中的“取整”操作可能导致链路带宽数值不再满足约束。因此需要增加链路带宽以满足约束。对未满足延迟约束的第k个流,以10%的比例循环迭代增加该流路径里面所有的链路带宽数值,直到该流延迟满足约束。F. Bandwidth fine-tuning, adjust the bandwidth of the link that does not meet the constraints to make it meet the constraints. Specifically, the "rounding" operation in step E may cause the link bandwidth value to no longer satisfy the constraint. Therefore the link bandwidth needs to be increased to meet the constraints. For the kth flow that does not meet the delay constraint, iteratively increases all link bandwidth values in the flow path at a rate of 10% until the flow delay meets the constraint.
本发明旨在提出一种带约束的直播覆盖网成本优化方法,其特点和优点为:The present invention aims to propose a method for optimizing the cost of live coverage network with constraints, and its features and advantages are:
通过多流模型对覆盖网的拓扑结构进行构建,然后将传输链路的传播延迟和传输节点的调度延迟纳入约束条件。在满足延迟约束的情况下,使用变量松弛和凹规划方法对模型进行优化求解。随后对解值进行取整和扩大微调操作。通过此方法可保证求出的解为可行解,从而在一定的总延迟约束下给出构建成本低廉的直播覆盖网方案。The topology of the overlay network is constructed by the multi-flow model, and then the propagation delay of the transmission link and the scheduling delay of the transmission node are incorporated into the constraints. The model is optimally solved using variable relaxation and concave programming methods under the condition that the delay constraints are satisfied. The solution value is then rounded and scaled by fine-tuning operations. Through this method, the obtained solution can be guaranteed to be a feasible solution, and a low-cost live coverage network scheme can be provided under a certain total delay constraint.
以上对本发明实施例所提供的带延迟约束的直播覆盖网成本优化方法进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method for optimizing the cost of a live overlay network with delay constraints provided by the embodiments of the present invention has been described above in detail. In this paper, specific examples are used to illustrate the principles and implementations of the present invention. The descriptions of the above embodiments are only for help. Understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification does not It should be understood as a limitation of the present invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910069989.4A CN109981334A (en) | 2019-01-24 | 2019-01-24 | A kind of live streaming nerve of a covering Cost Optimization Approach with deferred constraint |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910069989.4A CN109981334A (en) | 2019-01-24 | 2019-01-24 | A kind of live streaming nerve of a covering Cost Optimization Approach with deferred constraint |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109981334A true CN109981334A (en) | 2019-07-05 |
Family
ID=67076711
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910069989.4A Pending CN109981334A (en) | 2019-01-24 | 2019-01-24 | A kind of live streaming nerve of a covering Cost Optimization Approach with deferred constraint |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109981334A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170195161A1 (en) * | 2015-12-31 | 2017-07-06 | Akamai Technologies, Inc. | Overlay network ingress edge region selection |
CN108833294A (en) * | 2018-08-08 | 2018-11-16 | 清华大学 | Traffic Scheduling Method for Data Center Wide Area Network with Low Bandwidth Overhead |
-
2019
- 2019-01-24 CN CN201910069989.4A patent/CN109981334A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170195161A1 (en) * | 2015-12-31 | 2017-07-06 | Akamai Technologies, Inc. | Overlay network ingress edge region selection |
CN108833294A (en) * | 2018-08-08 | 2018-11-16 | 清华大学 | Traffic Scheduling Method for Data Center Wide Area Network with Low Bandwidth Overhead |
Non-Patent Citations (1)
Title |
---|
陈志鹏: ""流媒体直播系统的资源优化配置研究"", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Xiang et al. | QoS routing based on genetic algorithm | |
CN113010305B (en) | Federal learning system deployed in edge computing network and learning method thereof | |
CN103036792B (en) | Transmitting and scheduling method for maximizing minimal equity multiple data streams | |
CN112650581A (en) | Cloud-side cooperative task scheduling method for intelligent building | |
Hemmati et al. | QoE-aware bandwidth allocation for video traffic using sigmoidal programming | |
CN111800812B (en) | Design method of user access scheme applied to mobile edge computing network of non-orthogonal multiple access | |
Niu et al. | An efficient distributed algorithm for resource allocation in large-scale coupled systems | |
CN113064665A (en) | Multi-server computing unloading method based on Lyapunov optimization | |
CN110535936A (en) | A kind of energy efficient mist computation migration method based on deep learning | |
CN103581329B (en) | The construction method of peer-to-peer network flow medium live system topological structure based on sub-clustering | |
CN102946443B (en) | Multitask scheduling method for realizing large-scale data transmission | |
CN107343268A (en) | Nonopiate multicast and unicast transmission beam shaping method and system | |
CN104320839B (en) | The relay selection method of Multi-source multi-relay wireless network minimum power | |
CN115021793B (en) | Network coding-based satellite network inter-satellite link planning and power distribution method | |
CN114710791B (en) | Method for distributing service function chain resources of computing power network | |
Angrishi | An end-to-end stochastic network calculus with effective bandwidth and effective capacity | |
Tian et al. | Optimal bandwidth allocation for hybrid video-on-demand streaming with a distributed max flow algorithm | |
CN109981334A (en) | A kind of live streaming nerve of a covering Cost Optimization Approach with deferred constraint | |
CN102158413B (en) | Multi-agent multicast routing method based on adjacent immune clonal selection | |
Jia et al. | Integrated algorithms for delay bounded multicast routing and wavelength assignment in all optical networks | |
Raayatpanah et al. | Bounds on end-to-end statistical delay and jitter in multiple multicast coded packet networks | |
CN107770077B (en) | Information theory security multicast routing selection method based on network coding | |
CN108111991B (en) | A D2D Network Construction Method Based on Scalable Video Stream User Experience Quality | |
Lin et al. | Constructing application-layer multicast trees for minimum-delay message distribution | |
Mahdian et al. | Updating content in cache-aided coded multicast |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190705 |