CN105721585A - Method for optimally selecting edge nodes in content delivery network - Google Patents

Method for optimally selecting edge nodes in content delivery network Download PDF

Info

Publication number
CN105721585A
CN105721585A CN201610100744.XA CN201610100744A CN105721585A CN 105721585 A CN105721585 A CN 105721585A CN 201610100744 A CN201610100744 A CN 201610100744A CN 105721585 A CN105721585 A CN 105721585A
Authority
CN
China
Prior art keywords
file
client
request
fringe
fringe node
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
Application number
CN201610100744.XA
Other languages
Chinese (zh)
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.)
Shenzhen Antelope Ultimate Technology Co Ltd
Original Assignee
Shenzhen Antelope Ultimate 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 Shenzhen Antelope Ultimate Technology Co Ltd filed Critical Shenzhen Antelope Ultimate Technology Co Ltd
Priority to CN201610100744.XA priority Critical patent/CN105721585A/en
Publication of CN105721585A publication Critical patent/CN105721585A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for optimally selecting edge nodes in a content delivery network. Through establishing of a hierarchical delivery network, the delivery efficiency of streaming media is improved; and then, through tagging of the edge nodes in the delivery network and manners such as firstly carrying out delivery and speed measurement, and the like, the optimal edge node is selected to provide service for a customer. Compared with the prior art, the edge node with the optimal speed can be selected more accurately; and thus, the user experience can be improved better.

Description

The method for optimizing of fringe node in a kind of content distributing network
Technical field
The invention belongs to technical field of data transmission, especially network connection speed and stability are had the system of high requirements.
Background technology
In current the Internet+society, people watch video by the Internet, live etc. become very frequently and usual.Client's real-time to viewing video, convenience requires height much all than before.Speed during in order to ensure that client watches, fluency, it is necessary to set up a streaming medium content distribution network, when user clicks viewing, service can be provided the user by fringe node.In traditional content distributing network, the selection of fringe node is essentially all to be dispatched by DNS and realizes.Adopt DNS scheduling to determine that the mode of fringe node generally has strategy less and dumb, update not in time, be limited to the shortcomings such as operator DNS server configures.So the simple selection being realized node by traditional DNS scheduling, it is difficult to ensure that good Consumer's Experience.
In consideration of it, for existing distribution networking, exigence has in a kind of content distributing network the method for optimizing of fringe node to solve prior art Problems existing and risk.The present invention is just used to solve problems, first can test the speed when client initiates request, thered is provided actual content distribution service by velocity optimal fringe node, it is achieved thereby that the function providing distribution content for client of fast and stable, farthest ensure customer experience.
Summary of the invention
It is an object of the invention to provide the method for optimizing of fringe node in a kind of content distributing network, solve the problems existed in prior art.
In order to realize the purpose of the present invention, the invention provides the method for optimizing of fringe node in a kind of content distributing network, described method comprises the steps:
Step 1. configures DNS domain name for fringe node.
Step 2. is based on operator, and area, content etc. labels for fringe node.
Step 3. client initiates content reception request, it is possible to based on the dns resolution in step 1, it is also possible to based on the tag match in step 2.
Step 4. client receives the list of all qualified fringe nodes, initiates the request of testing the speed simultaneously, specific as follows:
1) all fringe nodes all deposit the file for testing the speed, it is possible to be the swf file of flash player, it is possible to be preview picture, it is also possible to be specifically designed to arbitrarily and test the speed, appropriately sized file.
2) client is initiated 1 to all fringe nodes) described in the download request of file, including two kinds of methods:
Method 1: client initiates to download the request of same file to each fringe node.
Method 2: file is split by the fringe node number that client is returned to, and the download request of the respective file block with range is initiated to different servers.
Step 5., for two kinds of method for down loading above-mentioned, services the fringe node completing download to client at first, is the fringe node of optimum.
Step 6. client is set up with preferred node and is connected, and starts actual content distribution service.
The present invention, compared with prior art, by first fringe node being tested the speed, then selects optimum fringe node to be customer service according to the result that tests the speed.Compared with prior art, speed optimal edge node can be selected more accurately, it is thus possible to better improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of the present invention
Fig. 2 is example 1 schematic diagram of the present invention
Fig. 3 is example 2 schematic diagram of the present invention
Instantiation mode
In order to make the purpose of the present invention, technical scheme and beneficial effect are clearly understood, below in conjunction with example, the present invention are further elaborated.Should be understood to instantiation described herein only in order to explain the present invention, be not limited to protection scope of the present invention.
As it is shown in figure 1, the invention provides the method for optimizing of fringe node in a kind of content distributing network, described method comprises the steps:
Step S101, configures DNS domain name for fringe node.
Step S102, based on operator, area, content etc. labels for fringe node.
Step S103, client initiates content reception request, it is possible to based on the dns resolution in step 1, it is also possible to based on the tag match in step 2.
Step S104, client receives the list of all qualified fringe nodes, initiates the request of testing the speed simultaneously, specific as follows:
1) all fringe nodes all deposit the file for testing the speed, it is possible to be the swf file of flash player, it is possible to be preview picture, it is also possible to be specifically designed to arbitrarily and test the speed, appropriately sized file.
2) client is initiated 1 to all fringe nodes) described in the download request of file, including two kinds of methods:
Method 1: client initiates to download the request of same file to each fringe node.
Method 2: file is split by the fringe node number that client is returned to, and the download request of the respective file block with range is initiated to different servers.
Step S105, for two kinds of method for down loading above-mentioned, services the fringe node completing download to client at first, is the fringe node of optimum.
Step S106, client is set up with preferred node and is connected, and starts actual content distribution service.
The above is only the optimal way of the present invention, it is noted that be not limited to the distribution network of streaming media server, as long as multilamellar distributing structure is all protection scope of the present invention.Should also be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention.
As in figure 2 it is shown, instantiation.
The method for optimizing of fringe node in a kind of content distributing network of the present invention introduced below.
Example 1
As illustrated in fig. 2, it is assumed that streaming media server distribution network is corresponding 4 fringe nodes of an one-level distribution source node, according to the requirement of step S101, each fringe node is provided with DNS domain name, assume in this example that domain name is live.test.org.
According to step S102, label for each fringe node.The label of 4 fringe nodes respectively Beijing UNICOM edge 1, Beijing UNICOM edge 2, Shenzhen Telecom edge 1, Shenzhen Telecom edge 2 in this example.
According to step S103, when client initiates request, can claim according to the dns name in step S101 or label in step S102 obtains the list of all alternative edge nodes.
According to step S104, it is assumed that the client in this example is by the network insertion of Beijing UNICOM, and it is exactly Beijing UNICOM edge 1 and Beijing UNICOM edge 2 that client receives the list of all qualified fringe nodes.It this example is the request initiating to download same file according to method in step S104 1 to above-mentioned two fringe node.
According to step S105, Beijing UNICOM edge 2 is initially completed download of testing the speed, and becomes optimal edge node in this example.
According to step S106, client is set up with Beijing UNICOM edge 2 and is connected, starts the content distribution service of reality.
As it is shown on figure 3, instantiation.
The method for optimizing of fringe node in a kind of content distributing network of the present invention introduced below.
Example 2
As shown in Figure 3, it is assumed that streaming media server distribution network is corresponding 4 fringe nodes of an one-level distribution source node, and according to the requirement of step S101, each fringe node is provided with DNS domain name, assume in this example that domain name is live.test.org.
According to step S102, label for each fringe node.The label of 4 fringe nodes respectively Beijing UNICOM edge 1, Beijing UNICOM edge 2, Shenzhen Telecom edge 1, Shenzhen Telecom edge 2 in this example.
According to step S103, when client initiates request, can claim according to the dns name in step S101 or label in step S102 obtains the list of all alternative edge nodes.Assume in this example that client opens video by webpage, initiated the request of a rtmp agreement, hyperlink request is rtmp: //live.test.org/live/test
According to step S104, it is assumed that the client in this example is by Shenzhen Telecom network insertion, and it is exactly Shenzhen Telecom edge 1 and Shenzhen Telecom edge 2 that client receives the list of all qualified fringe nodes.This example completes to test the speed according to method in step S104 2.Client opens video by webpage, it is necessary to the swf file of prestrain flash player plug-in unit, and client downloads this document by http://live.test.org/player.swf, the description according to step S104 method 2, directly utilizes this swf file and tests the speed.First flash player swf file declustering is become two parts, and initiate the download request of the respective file block with range to two edge node server.Swf file after having been downloaded by two fringe nodes is spliced into a complete swf file in client, plays video for follow-up employing flash player and provides service.The method not only can improve the loading velocity of flash player plug-in unit, has also simultaneously completed the demand that tests the speed to fringe node.
According to step S105, Shenzhen Telecom edge 1 is initially completed download of testing the speed, and becomes optimal edge node in this example.
According to step S106, client is set up with Shenzhen Telecom edge 1 and is connected, and begins through rtmp: //live.test.org/live/test carries out the distribution of actual content.

Claims (10)

1. step is fringe node configuration DNS domain name.
2. step is based on operator, and area, content etc. labels for fringe node.
3. step client initiates content reception request, it is possible to based on the dns resolution in step 1, it is also possible to based on the tag match in step 2.
4. step client receives the list of all qualified fringe nodes, initiate the request of testing the speed simultaneously, specific as follows: all fringe nodes all deposit the file for testing the speed, it can be the swf file of flash player, can be preview picture, it is also possible to be specifically designed to arbitrarily and test the speed, appropriately sized file, client initiates, to all fringe nodes, the request of downloading, including two kinds of methods: method 1 client initiates to download the request of same file to each fringe node.
5. file is split by the fringe node number that method 2 client is returned to, and initiates the download request of the respective file block with range to different servers.
6. step 5. is for two kinds of method for down loading above-mentioned, services the fringe node completing download to client at first, is the fringe node of optimum.
7. step 6. client is set up with preferred node and is connected, and starts actual content distribution service.
8. the above is not limited to the distribution network of streaming media server, as long as multilamellar distributing structure is all protection scope of the present invention.
9. the file that tests the speed in step 4 can be special appropriately sized file, it is also possible to is any file needing prestrain, is not limited to the swf control of flash.
10. the content of actual request in step 6, it is possible to be rtmp, it is possible to be hls, it is possible to be hds, it is possible to be mpeg-dash.
CN201610100744.XA 2016-02-24 2016-02-24 Method for optimally selecting edge nodes in content delivery network Pending CN105721585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610100744.XA CN105721585A (en) 2016-02-24 2016-02-24 Method for optimally selecting edge nodes in content delivery network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610100744.XA CN105721585A (en) 2016-02-24 2016-02-24 Method for optimally selecting edge nodes in content delivery network

Publications (1)

Publication Number Publication Date
CN105721585A true CN105721585A (en) 2016-06-29

Family

ID=56156950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610100744.XA Pending CN105721585A (en) 2016-02-24 2016-02-24 Method for optimally selecting edge nodes in content delivery network

Country Status (1)

Country Link
CN (1) CN105721585A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230971A (en) * 2016-08-29 2016-12-14 无锡华云数据技术服务有限公司 Big document distribution method based on CDN
CN108337283A (en) * 2017-01-20 2018-07-27 创盛视联数码科技(北京)有限公司 A kind of method that optimal plug-flow node is obtained in iOS plug-flows
CN109039794A (en) * 2017-06-08 2018-12-18 北京金山云网络技术有限公司 One kind returning source path and determines method and device
CN110650194A (en) * 2019-09-23 2020-01-03 中国科学技术大学 Task execution method based on edge calculation in computer network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118376A (en) * 2010-01-06 2011-07-06 中兴通讯股份有限公司 CDN server and content download method
CN102368776A (en) * 2011-11-25 2012-03-07 中国科学技术大学 Optimization function module of node list in content distribution/delivery network (CDN)
CN102769819A (en) * 2011-05-03 2012-11-07 ***通信集团公司 Content distribution method in wireless communication system as well as corresponding system and server
EP2725739A1 (en) * 2011-07-14 2014-04-30 Huawei Technologies Co., Ltd Method, device, and edge node controller for selecting edge node

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118376A (en) * 2010-01-06 2011-07-06 中兴通讯股份有限公司 CDN server and content download method
CN102769819A (en) * 2011-05-03 2012-11-07 ***通信集团公司 Content distribution method in wireless communication system as well as corresponding system and server
EP2725739A1 (en) * 2011-07-14 2014-04-30 Huawei Technologies Co., Ltd Method, device, and edge node controller for selecting edge node
CN102368776A (en) * 2011-11-25 2012-03-07 中国科学技术大学 Optimization function module of node list in content distribution/delivery network (CDN)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230971A (en) * 2016-08-29 2016-12-14 无锡华云数据技术服务有限公司 Big document distribution method based on CDN
CN106230971B (en) * 2016-08-29 2019-03-01 无锡华云数据技术服务有限公司 Big document distribution method based on CDN
CN108337283A (en) * 2017-01-20 2018-07-27 创盛视联数码科技(北京)有限公司 A kind of method that optimal plug-flow node is obtained in iOS plug-flows
CN108337283B (en) * 2017-01-20 2022-04-15 创盛视联数码科技(北京)有限公司 Method for obtaining optimal plug flow node in iOS plug flow
CN109039794A (en) * 2017-06-08 2018-12-18 北京金山云网络技术有限公司 One kind returning source path and determines method and device
CN110650194A (en) * 2019-09-23 2020-01-03 中国科学技术大学 Task execution method based on edge calculation in computer network

Similar Documents

Publication Publication Date Title
CN104349176B (en) Adaptive stream media system, method for down loading and streaming media server, user terminal
US8150992B2 (en) Dynamic media bit rates based on enterprise data transfer policies
CN105721585A (en) Method for optimally selecting edge nodes in content delivery network
CN102510395B (en) Flash video scheduling method based on peer to server peer (P2SP)
CN105208434A (en) Media projection method, media projection equipment, control terminal, and cloud server
CN103379388B (en) Content delivery device and method, content reproducing device and method, dissemination system
CN103731487A (en) Download method, device, system and router for resource file
CN108200444B (en) Video live broadcast method, device and system
CN104967644A (en) Message push method, apparatus and system
CN106161351A (en) Method, device and the CDN server that streaming media service is merged with file download
TW201537932A (en) Method and system for providing internet application services
CN108833552A (en) A kind of P2P content distribution system of promiscuous mode
CN108076385A (en) A kind of report method and device of promotion message monitoring data
CN110113298A (en) Data transmission method, device, signal server and computer-readable medium
CN109194706A (en) Internet resources dial testing method and terminal
KR20140024553A (en) Contents delivery service method for live streaming contents, and apparatus therefor
CN109151517A (en) Shopping centre interactive approach, device, system, storage medium and computer equipment
CN104780591B (en) Business interoperability implementation method, device, system and relevant device between terminal device
CN102932218A (en) Method and system for acquiring maximum bandwidth of network physical line
CN110430243A (en) A kind of advertising programme method for down loading and system
US20150223260A1 (en) Dynamically Delayed Delivery of Content in a Network
CN106231371B (en) Method for synchronizing time, TV and EPG server
CN110519656A (en) Playback method, system and the server of adaptive stream media
CN114584808A (en) Video stream acquisition method, device, system, equipment and medium
CN105187867B (en) A kind of media stream control method and its device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160629