CN107277093A - Content distributing network and its load-balancing method - Google Patents

Content distributing network and its load-balancing method Download PDF

Info

Publication number
CN107277093A
CN107277093A CN201610215444.6A CN201610215444A CN107277093A CN 107277093 A CN107277093 A CN 107277093A CN 201610215444 A CN201610215444 A CN 201610215444A CN 107277093 A CN107277093 A CN 107277093A
Authority
CN
China
Prior art keywords
client
caching nodes
edge caching
media data
service request
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
CN201610215444.6A
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.)
BEIJING UNION VOOLE TECHNOLOGY Co Ltd
Original Assignee
BEIJING UNION VOOLE 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 BEIJING UNION VOOLE TECHNOLOGY Co Ltd filed Critical BEIJING UNION VOOLE TECHNOLOGY Co Ltd
Priority to CN201610215444.6A priority Critical patent/CN107277093A/en
Publication of CN107277093A publication Critical patent/CN107277093A/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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/762Media network packet handling at the source 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application provides a kind of content distributing network and its load-balancing method, the content distributing network is provided with the GSLB device and more than two edge caching nodes that content service is directly provided for client of network connection, and methods described includes:Receive the service request that client is sent;The one or more edge caching nodes for meeting screening conditions of screening return to the client;The hot value identical load percentage that the screening conditions include in the edge caching nodes with media data to be asked is less than preset ratio threshold value.The application is by above-mentioned means, and the Edge Server that can be prevented effectively from guiding just meets or exceeds rapidly its maximum load, so make the service that the server provides appearance it is abnormal the problem of.

Description

Content distributing network and its load-balancing method
Technical field
The application is related to areas of information technology, especially, is related to a kind of content distributing network and its load-balancing method.
Background technology
With the fast development of internet, the popularization of intelligent television, network traffic data is doubled and redoubled, it may appear that network congestion simultaneously the situation for influenceing service application experience occurs.Content distributing network(CDN, Content Delivery Network)As a kind of system that can improve internet content efficiency of transmission, it can be greatly improved, be increasingly widely applied particular for the Efficiency of QoS of the multimedia content deliveries such as video.CDN is, based on network and the Edge Server for being deployed in various regions, using functional modules such as the load balancing, content distribution, scheduling of central platform, user is obtained required content nearby, so as to reduce network congestion, improves response speed and hit rate that user accesses.
But existing CDN system for user terminal when distributing CDN service resource, the loading condition of Edge Server is normally only considered, from factors such as the distances of user distance, the loading trends without considering Edge Server(That is the influence of medium in itself to server performance), it is therefore possible to make the Edge Server of guiding just reach rapidly or more than its maximum load, so that the abnormal situation of service occurs in the user that the server provides service, appeared in while may result in and play in the high media set of temperature on certain server.The appearance of above-mentioned situation may decline certain customers' experience effect, be at the same time also possible to some server resources and be in idle state or undersaturated condition, so as to reduce the overall quality of service of CDN system.
The content of the invention
The application provides a kind of content distributing network and its load-balancing method, for solving the problems, such as system service Quality Down caused by loading trends of the prior art because not accounting for Edge Server.
A kind of load-balancing method of content distributing network disclosed in the present application, the content distributing network is provided with the GSLB device of network connection and more than two directly provide the edge caching nodes of content service for client, and the content distributing network is stored with according to the hot value and the media data of difference hot value that the service request of client is media data setting the corresponding preset ratio threshold value in edge caching nodes;In the GSLB device side, methods described includes:Receive the service request that client is sent;The service request includes the information of media data to be asked;The one or more edge caching nodes for meeting screening conditions of screening return to the client;The screening conditions include:Load percentage in the edge caching nodes with the hot value identical media data of media data to be asked is less than preset ratio threshold value.
It is preferred that, the content distributing network is also stored with the preset heat division rule of media data;The service request according to client is that media data sets hot value, is specifically included:Collect the service request of client in preset time period;Count the occurrence number of each media data in the service request;The hot value of the media data is generated according to preset heat division rule.
A kind of load-balancing method of content distributing network disclosed in the present application, the content distributing network is provided with the edge caching nodes that GSLB device and more than two directly provide content service for client, and the content distributing network is stored with default medium concurrent threshold value of the media data in edge caching nodes;In the GSLB device side, methods described includes:Receive the service request that client is sent;The service request includes the information of media data to be asked;The one or more edge caching nodes for meeting screening conditions of screening return to the client;The screening conditions include the concurrent threshold value of default medium for being less than the media data to be asked in the edge caching nodes with the media data identical service request number to be asked.
It is preferred that, the content distributing network is also stored with according to the media data that the service request of client is hot value that media data is set and different hot value the corresponding preset ratio threshold value in edge caching nodes;The screening conditions also include:Load percentage in the edge caching nodes with the hot value identical media data of media data to be asked is less than preset ratio threshold value.
It is preferred that, the edge caching nodes are provided with solid state hard disc and mechanical hard disk;The screening conditions also include:The media data to be asked is buffered in the edge caching nodes in solid state hard disc by prioritizing selection.
It is preferred that, address information and its network insertion operator's informaiton of the service request also including the client;The one or more edge caching nodes for meeting screening conditions of screening return to the client, specifically include:The client region is determined according to the address information of the client;Whether the quantity of the edge caching nodes judge in the client region, met the screening conditions with network insertion operator identical reaches the quantity of the client requirements;If so, the above-mentioned edge caching nodes for meeting the screening conditions then are returned into client;If it is not, using region preferential or other regions of Network Priority policy selection or using other network insertion operators as the edge caching nodes of access network, until the quantity for the edge caching nodes for meeting the screening conditions reaches the quantity of the client requirements.
It is preferred that, the screening conditions also include:The state renewal time of the edge caching nodes is less than preset state renewal time threshold value;And/or, the load number of the edge caching nodes is less than the default load threshold of the edge caching nodes.
It is preferred that, the edge caching nodes are provided with area load balanced device and the streaming media server of more than two and its medium cache node;The area load balanced device is used to obtain and the state of each streaming media server in the edge caching nodes is reported to the GSLB device, and the service request that the GSLB thinks highly of orientation is distributed into suitable streaming media server according to the state of each streaming media server;The streaming media server is used to the media data that the medium cache node is cached return to client;The screening conditions also include:The single connection Mean Speed of streaming media server in edge caching nodes is more than preset bandwidth value.
It is preferred that, the service request also includes the identification information of the client, after the service request steps that the reception client is sent, in addition to:Judge whether to preserve the specified services node of the client in the content distributing network;If so, the specified services node then is returned into the client.
It is preferred that, the service request also includes the client to the routing iinformation of the GSLB device, it is described use region preferential or Virtual network operator preference strategy select other regions or the step of using other network insertion operators as the edge caching nodes of access network before, in addition to:Obtain the corresponding second area different from the client region of IP address in the routing iinformation;By in the second area, it is identical with the network insertion operator, and meet the edge caching nodes of the screening conditions and be added in edge caching nodes list to be selected.
It is preferred that, the hot value is respectively high, it is low to neutralize;Media data span of corresponding preset ratio threshold value in edge caching nodes that is high, neutralizing low three kinds of hot values is respectively 60 ~ 80%, 20 ~ 40% and 0 ~ 20%.
A kind of content distributing network disclosed in the present application, including by the GSLB device of network connection and more than two edge caching nodes that content service is directly provided for client, the GSLB device includes:Request receiving module, for receiving the service request that client is sent;The service request includes the information of media data to be asked;Node screening module, the client is returned to for screening one or more edge caching nodes for meeting screening conditions;The screening conditions include being less than preset ratio threshold value in the edge caching nodes with the load percentage of the hot value identical media data of media data ask, and the content distributing network is stored with according to the media data that the service request of client is hot value that media data is set and difference hot value the corresponding preset ratio threshold value in edge caching nodes;And/or, it is less than the concurrent threshold value of default medium of the media data to be asked in the edge caching nodes with the media data identical service request number to be asked, the content distributing network is stored with default medium concurrent threshold value of the media data in edge caching nodes.
Compared with prior art, the application has advantages below:
The application preferred embodiment is when carrying out load balancing, hot value identical load percentage in each edge caching nodes with media data to be asked is controlled in the range of preset ratio, or the concurrent threshold value of default medium of the media data to be asked will be less than with the media data identical service request number to be asked as the condition of screening edge caching nodes, the Edge Server that guiding can be not only prevented effectively from just meets or exceeds rapidly its maximum load, and then the service for providing the server is the problem of occur abnormal;It can also avoid being directed on certain server in the media set high by temperature is played, when server breaks down or other problemses can not provide service, the impacted degree of the high media services of temperature can be reduced, user experience can be largely improved.
Brief description of the drawings
Fig. 1 is the flow chart of the load-balancing method first embodiment of teachings herein distribution network;
Fig. 2 is the flow chart of the load-balancing method second embodiment of teachings herein distribution network;
Fig. 3 is the structural representation of teachings herein distribution network first embodiment;
Fig. 4 is the structural representation of teachings herein distribution network second embodiment.
Embodiment
To enable above-mentioned purpose, the feature and advantage of the application more obvious understandable, the application is described in further detail with reference to the accompanying drawings and detailed description.
Reference picture 1, shows the flow of the load-balancing method first embodiment of teachings herein distribution network, in this method embodiment, and content distributing network is provided with the GSLB device of network connection(GSLB, Global Service Load Balance)With more than two edge caching nodes that content service is directly provided for client, methods described is performed by GSLB device, and its method is specifically included:
Step S101:Receive the service request that user is sent by client;
Specifically, the service request that user sends includes the information of media data to be asked, title, type, the size of such as media data.
Step S102:The one or more edge caching nodes for meeting screening conditions of screening return to the client;
In order to solve existing CDN system because not accounting for the problem of media datas of different temperatures is to the loading trends of server, avoid peak period a large number of users causes the rate reduction of services client when pouring into the node i.e. by full load the problem of, the purpose for ensureing that client request services fluency is realized, above-mentioned screening conditions could be arranged to:Load percentage in the edge caching nodes with the hot value identical media data of media data to be asked is less than preset ratio threshold value.
Now, it is hot value that media data is set that content distributing network, which is stored with according to the service request of client, and different hot value media data in edge caching nodes the information such as preset heat division rule of corresponding preset ratio threshold value, media data.
For example,, can the span of corresponding preset ratio threshold value be set to the media data of 60 ~ 80%, the middle hot value span of corresponding preset ratio threshold value in edge caching nodes and be set to the media data of 20 ~ 40%, the low-heat angle value span of corresponding preset ratio threshold value in edge caching nodes to be set to 0 ~ 20% in edge caching nodes by the media data of the high hot value of edge caching nodes when the hot value of media data is respectively high, medium and low.Above-mentioned preset ratio threshold value can according to factors such as the performances and user's access situation of server by keeper in service end dynamic configuration, so as to, it can avoid being directed on certain server in the media set high by temperature is played, when these servers break down or other problemses can not provide service, the impacted degree of the high media services of temperature can be reduced.
In the specific implementation, the above-mentioned service request according to client is the method that media data sets hot value, can specifically be included:
(1)Collect in preset time period(Such as 1 day or 1 week)All service requests of client;
(2)Count the occurrence number of each media data in above-mentioned service request;
(3)The hot value of the media data is generated according to preset heat division rule.
For example, request number of times can be more than the hot value of the media data of 30 times be set to the hot value of media data high, by request number of times between 3 ~ 30 times be set in, the hot value of media data that request number of times is less than to 3 times be set to it is low.
In order to solve loading trends of the existing CDN system because not accounting for Edge Server(That is the influence of medium in itself to server performance)And the Edge Server of guiding may be made to be rapidly reached or the problem of more than its maximum load, above-mentioned screening conditions may be arranged as:The existing concurrent threshold value of default medium for being less than the media data to be asked with the media data identical service request number to be asked in edge service node.
Now, content distributing network is stored with each media data corresponding default concurrent threshold value of medium in edge caching nodes.The above-mentioned concurrent threshold value of default medium can be set according to preset rules, e.g., for the king-sized media data of data volume(Such as more than 10Gb), it is relatively small that it presets the concurrent threshold value of medium(It such as could be arranged to 10);For the less media data of data volume(Such as less than 5Mb), its concurrent threshold value of default medium can be with relatively large(It such as could be arranged to 10000).In the specific implementation, if there is no the concurrent threshold value of default medium for preserving some media data in content distributing network, it can be assumed that being not particularly limited for the number of concurrent to the media data, it is only necessary to which the total load numerical control system of the node can be ensured into the edge caching nodes can normally provide service in the range of load threshold.
For the further service performance for improving system, the present embodiment can also further limit the screening strategy of edge caching nodes in the following way.To perform following strategies, the service request that user is sent by client also needs to include the address information of the client(Such as IP address)And its network insertion operator's informaiton(Such as China Telecom);The method that the one or more edge caching nodes for meeting screening conditions of above-mentioned screening return to the client, is specifically included:
Step S102-1:The client region is determined according to the address information of client;
Step S102-2:Screen in the client region, the edge caching nodes of the screening conditions are met with network insertion operator identical;
Step S102-3:Judge whether the quantity of the above-mentioned edge caching nodes filtered out reaches the quantity of the client requirements;If so, going to step S102-5;Otherwise, S102-4 is gone to step;
Step S102-4:Use region preferential or other regions of Network Priority policy selection or using other network insertion operators as the edge caching nodes of access network, until the quantity for the edge caching nodes for meeting the screening conditions reaches the quantity of the client requirements;
Step S102-5:The above-mentioned edge caching nodes filtered out are returned into client.
When using region preference strategy, screen first in client region(Place city)Using other network insertion operators(Such as CHINAUNICOM and China Netcom)Whether the quantity that screening conditions are met in the edge caching nodes of access network reaches the quantity of client requirements;Then territorial scope is expanded again(Place province or the whole network territorial scope)Screening uses identical network access carrier(Such as China Telecom)The edge caching nodes of access network;Finally in above-mentioned expansion territorial scope(Place province or the whole network territorial scope)Screening uses other network insertion operators(Such as CHINAUNICOM and China Netcom)The edge caching nodes of access network.
When using Network Priority strategy, expand territorial scope first(Place province or the whole network territorial scope)Screening uses identical network access carrier(Such as China Telecom)Whether the quantity that screening conditions are met in the edge caching nodes of access network reaches the quantity of client requirements;Then screen again in client region(Place city)Using other network insertion operators(Such as CHINAUNICOM and China Netcom)The edge caching nodes of access network;Finally in above-mentioned expansion territorial scope(Place province or the whole network territorial scope)Screening uses other network insertion operators(Such as CHINAUNICOM and China Netcom)The edge caching nodes of access network.
Further, the service request that above-mentioned client is sent can also include the client to the routing iinformation of the GSLB device, in above-mentioned flow, if the quantity for the edge caching nodes for meeting the screening conditions in the client region, with network insertion operator identical can not reach the quantity of the client requirements, edge caching nodes can also be further screened in the following way:
First, the corresponding second area different from the client region of IP address in the routing iinformation is obtained;
Then, by the second area, it is identical with the network insertion operator, and meet the edge caching nodes of the screening conditions and be added in edge caching nodes list to be selected;
Finally, use region preferential or Virtual network operator preference strategy selects other regions or using other network insertion operators as the edge caching nodes of access network, until the quantity for the edge caching nodes for meeting the screening conditions reaches the quantity of the client requirements.
, can be with suitably modified screening conditions if being also unable to reach the quantity of client requirements using above-mentioned means(Such as increase the concurrent threshold value of default medium), to increase the quantity of the edge caching nodes filtered out.
Area load balanced device is provided with another further preferred embodiment, in edge caching nodes(SLB, Service Load Balance)With more than two streaming media servers(VSS, Streaming Server)And its medium cache node(CACHE);SLB is used to obtain and the state of each streaming media server VSS in the edge caching nodes is reported to GSLB, and the service request of the GSLB clients redirected is distributed into suitable VSS according to each VSS state;Streaming media server is used to the media data that the medium cache node is cached return to client;
In the preferred embodiment, above-mentioned screening conditions can also include following one or more:
(1)The single connection Mean Speed of streaming media server in edge caching nodes is more than preset bandwidth value(As single connection Mean Speed is more than 10kb/s in edge caching nodes).
(2)The state renewal time of edge caching nodes is less than preset state renewal time threshold value(The last state renewal time of such as edge caching nodes is within 30s), to ensure that the edge caching nodes redirected load will not immediately enter saturation state or overload status.
(3)The present load number of edge caching nodes is less than the default load threshold of the edge caching nodes(I.e. the edge caching nodes are also equipped with continuing as the ability of increased load services), to ensure that the edge caching nodes returned can normally provide service.(4)When in edge caching nodes simultaneously be provided with solid state hard disc(SSD, Solid State Driver)And mechanical hard disk(HDD, Hard Disk Driver)When, media data to be asked is buffered in solid state hard disc by prioritizing selection(SSD)In edge caching nodes, with reduce poor efficiency reading data manipulation, giving full play to SSD has the advantages that high I/O operation performance.
HDD is a kind of memory of use magnetic disk as storage medium, relatively low, relatively low for the storing hot value media data of digital independent performance.HDD interface type can be electronics integrated driving interface(IDE, Integrated Drive Electronics), small computer system interface(SCSI, Small Computer System Interface), serial line interface(SATA, Serial ATA), serial scsi interface(SAS, Serial Attached SCSI)Or fiber channel interface(FC, Fibre Channel)Deng.SSD is a kind of memory using flash memory particle as storage medium, because data are stored on semiconductor memory, and memory cell that can be to optional position within the time less than 1 millisecond completes I/O(Input/output)Operation, therefore its most key I/O performance indications IOPS(The number of times of I/O operation i.e. per second)On, SSD can reach more than 50 times of HDD;It is used to cache the of a relatively high media data of hot value in this preferred embodiment.
When it is implemented, the big media data of hot value can be cached in SSD, according to SSD actual sizes, until SSD is filled with;Media data under SSD is deposited not, is all buffered in HDD, to give full play to SSD performances, lifting system service ability.
For example, can timing as needed(As daily or weekly)The access times of All Media data in a SSD and HDD are counted, if HDD there are access times more than the media data in SSD, are moved in HDD access times in SSD are low, are moved in SSD access times in HDD are high.
It should be noted that above-mentioned node screening strategy can be combined as needed, and node screening process is performed by the order of setting.For example, can be first that condition is screened according to region and/or operator, whether the load number for then whether meeting default load proportion and media data to be asked from above-mentioned filtered list with the media data of same hot value again is further screened more than concurrent threshold value of default medium etc. for condition;Whether default load proportion etc. can also be met for conditional filtering with region, operator, the media data with hot value simultaneously;Can also be first that condition is screened according to region and/or operator, whether the load number for then whether meeting default load proportion and/or media data to be asked again with the media data of same hot value is added in above-mentioned filtered list more than concurrent threshold value of default medium etc. for the edge caching nodes that conditional filtering goes out other areas and operator.
Reference picture 2, shows the flow of the load-balancing method second embodiment of teachings herein distribution network, and in the preferred embodiment, the service request that user is sent by client also includes the identification information of the client(Such as the OEMID of set-top box device), when GSLB device(GSLB)When carrying out load balancing, OEMID is carried out first and is oriented to judgement, Home Network, local first screening strategy are carried out afterwards, service node state and its Content Selection strategy are carried out afterwards.Specifically include following steps:
Step S201:OEMID guiding is inquired about in systems, if configured with the guiding of the OEMID, is then directly returned to client;Otherwise, S202 is gone to step.
GSLB device goes in system database to inquire about whether the OEMID is configured with the edge caching nodes specified according to the OEMID information in the service request of client(HID or MAC Address etc. are specific to be oriented to);If so, then jumping to step S207;Otherwise(It is configured without or collocation point can not provides service), into step S202.
Step S202:Obtain the address information that the service request of client includes(socket IP), the corresponding Regional Property of the IP address is searched in secondary IP address phase library(The city at place)With network segment attribute(Network insertion operator's informaiton).
Step S203:According to above-mentioned Regional Property and network segment attribute, screening meets the edge caching nodes of condition.
In this preferred embodiment, screened using following screening conditions:
(1)The SLB states newest time is less than in 30s.
(2)SLB present loads number is less than the node maximum load value.
(3)Single connection Mean Speed is more than 10kb/s in SLB groups.
Step S203 specifically includes following steps:
Step S203-1:In above-mentioned territorial scope and above-mentioned network segment attribute identical SLB, the SLB for meeting above-mentioned screening conditions is filtered out, SLB lists are formed;If having the SLB of enough numbers in SLB lists, S206 is gone to step;Otherwise, subsequent step is continued.
Step S203-2:The SLB for meeting above-mentioned screening conditions in the range of same province in other cities in identical access network type is screened, SLB lists is added, if the SLB numbers in SLB lists meet client requirements, goes to step S206;Otherwise, subsequent step is continued.
Step S203-3:The SLB of above-mentioned screening conditions is met in screening network-wide basis in identical access network type, SLB lists is added, if the SLB numbers in SLB lists meet client requirements, goes to step S206;Otherwise, subsequent step is continued.
Step S203-4:The SLB of above-mentioned screening conditions is met in other identical regional network insertion types of screening, SLB lists is added, if the SLB numbers in SLB lists meet client requirements, goes to step S206;Otherwise, subsequent step is continued.
Step S203-5:Meet the SLB of above-mentioned screening conditions in the range of the same province of screening in other cities in other access network types, add SLB lists, if the SLB numbers in SLB lists meet client requirements, go to step S206;Otherwise, subsequent step is continued.
Step S203-6:The SLB of above-mentioned screening conditions is met in screening network-wide basis in other access network types, SLB lists is added, if the SLB numbers in SLB lists meet client requirements, goes to step S206;Otherwise, S204 is gone to step.
Step S204:When including routing iinformation in the service request that client is sent, the edge caching nodes for meeting screening conditions from the corresponding second area screening of the IP address in routing iinformation are added in edge caching nodes list to be selected.
If carrying routing iinformation in the service request that client is sent(Traceroute ip addresses), inquire that the IP regions are different from client socket IP regions, the edge caching nodes of screening conditions met from the inquiry of trace areas, are added in above-mentioned SLB lists.
Step S205:When include in the service request that client is sent for SLB test the speed list when, selection speed it is maximum and two different from the SLB filtered out add in above-mentioned SLB lists;
Step S206:The concurrent threshold value of default medium of the media data to be asked is less than as condition using the service request number related to the media data in service request, and/or whether default load proportion threshold value is less than as condition etc. using load percentage of the media data of identical temperature in edge caching nodes, further screening SLB is simultaneously added in SLB lists.
Step S207:The above-mentioned SLB filtered out is returned into client, completion is once oriented to process.
For foregoing each method embodiment, it is simple in order to describe, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the application is not limited by described sequence of movement, because according to the application, some steps can serially or simultaneously be performed using other;Secondly, those skilled in the art should also know, above method embodiment belongs to preferred embodiment, necessary to involved action and module not necessarily the application.
Reference picture 3, show the structured flowchart of teachings herein distribution network first embodiment, including passing through the GSLB device 31 of network connection and more than two edge caching nodes 32 that content service is directly provided for client, wherein, content distributing network is stored with according to the media data that the service request of client is hot value that media data is set and different hot value the corresponding preset ratio threshold value in edge caching nodes, and/or, the information such as default medium concurrent threshold value of the media data in edge caching nodes, GSLB device 31 is specifically included:
Request receiving module 311, for receiving the service request that client is sent;The service request includes the information of media data to be asked;
Node screening module 312, the client is returned to for screening one or more edge caching nodes for meeting screening conditions;The load percentage that the screening conditions include in the edge caching nodes with the hot value identical media data of media data to be asked is less than preset ratio threshold value;And/or, the service request number related to the media data to be asked is less than the concurrent threshold value of default medium of the media data to be asked in the edge caching nodes.
As shown in figure 4, in a further preferred embodiment, the service request that client is sent can also include the identification information of the client(Such as OEMID), GSLB device 31 can also include:Judge module 313 is oriented to, for judging after request receiving module 311 receives the service request that client is sent, first determines whether the specified services node of the client whether is preserved in content distributing network;When preserving the specified services node of the client in content distributing network, above-mentioned specified services node is directly returned into the client.
In another preferred embodiment, the service request that client is sent can also include the address information of the client(Such as IP address)And its network insertion operator's informaiton(Such as China Telecom);Node screening module 312 can screen edge caching nodes in the following way:
First, the client region is determined according to the address information of the client;
When the quantity for the edge caching nodes for meeting the screening conditions in the client region, with network insertion operator identical reaches the quantity of the client requirements, the above-mentioned edge caching nodes for meeting the screening conditions are returned into client;
When in the client region(Such as city-level region)And the network insertion operator(Such as China Telecom)It is preferential or Virtual network operator preference strategy selects other regions using region when the quantity that identical meets the edge caching nodes of the screening conditions does not reach the quantity of the client requirements(Such as provincial region or total system region)Or with other network insertion operators(Such as CHINAUNICOM)As the edge caching nodes of access network, until the quantity for the edge caching nodes for meeting the screening conditions reaches the quantity of the client requirements.
In addition, the client can also be included in the service request of client to the routing iinformation of GSLB device 31, now, when in the client region(Such as city-level region)And the network insertion operator(Such as China Telecom), can be in the following way when the quantity that identical meets the edge caching nodes of the screening conditions does not reach the quantity of the client requirements:
Obtain the corresponding second area different from the client region of IP address in above-mentioned routing iinformation;By in second area, it is identical with the network insertion operator, and meet the edge caching nodes of all screening conditions and be added in edge caching nodes list to be selected;Then use region preferential again or Virtual network operator preference strategy selects other regions or using other network insertion operators as the edge caching nodes of access network, until the quantity for the edge caching nodes for meeting condition reaches the quantity of the client requirements.
In further preferred embodiment, the streaming media server 322 and its medium cache node 323 of area load balanced device 321 and more than two are provided with edge caching nodes 32;Area load balanced device 321 is mainly used in obtaining and reporting the state of each streaming media server 322 in the edge caching nodes 32 to GSLB device 31, and the service request for the client for being redirected GSLB device 31 according to the state of each streaming media server 322 distributes to suitable streaming media server 322;The media data that streaming media server 322 is mainly used in the medium cache node 323 to cache returns to client;
Now, above-mentioned screening conditions can also include following one or more:
(1)The single connection Mean Speed of streaming media server 322 in edge caching nodes 32 is more than preset bandwidth value.
(2)The state renewal time of edge caching nodes 32 is less than preset state renewal time threshold value, to ensure that the edge caching nodes redirected load will not immediately enter saturation state or overload status.
(3)Hot value identical load percentage in edge caching nodes 32 with media data to be asked is less than preset ratio threshold value, to ensure the fluency of client request service, the problem of causing the rate reduction of services client when peak period a large number of users pours into the node i.e. by full load can be prevented effectively from.
(4)When in edge caching nodes simultaneously be provided with solid state hard disc(SSD)And mechanical hard disk(HDD)When, media data to be asked is buffered in solid state hard disc by prioritizing selection(SSD)In edge caching nodes, with reduce poor efficiency reading data manipulation, giving full play to SSD has the advantages that high I/O operation performance.
When screening conditions include above-mentioned(3)Also it is stored with Xiang Shi, content distributing network according to the hot value that client request is media data setting, can specifically uses following set-up mode:
First, the service request of client in preset time period is collected;
Secondly, the occurrence number of each media data in above-mentioned service request is counted;
Finally, the hot value of the media data is generated according to default cold and hot degree division rule.
It should be noted that said system embodiment belongs to preferred embodiment, necessary to involved unit and module not necessarily the application.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be between the difference with other embodiment, each embodiment identical similar part mutually referring to.For the device embodiment of the application, because it is substantially similar to embodiment of the method, so description is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Above to a kind of content distributing network provided herein and its load-balancing method, it is described in detail, specific case used herein is set forth to the principle and embodiment of the application, and the explanation of above example is only intended to help and understands the present processes and its core concept;Simultaneously for those of ordinary skill in the art, according to the thought of the application, it will change in specific embodiments and applications, in summary, this specification content should not be construed as the limitation to the application.

Claims (12)

1. a kind of load-balancing method of content distributing network, it is characterized in that, the content distributing network is provided with the GSLB device of network connection and more than two directly provide the edge caching nodes of content service for client, and the content distributing network is stored with according to the hot value and the media data of difference hot value that the service request of client is media data setting the corresponding preset ratio threshold value in edge caching nodes;In the GSLB device side, methods described includes:
Receive the service request that client is sent;The service request includes the information of media data to be asked;
The one or more edge caching nodes for meeting screening conditions of screening return to the client;The screening conditions include:Load percentage in the edge caching nodes with the hot value identical media data of media data to be asked is less than preset ratio threshold value.
2. according to the method described in claim 1, it is characterised in that the content distributing network is also stored with the preset heat division rule of media data;The service request according to client is that media data sets hot value, is specifically included:
Collect the service request of client in preset time period;
Count the occurrence number of each media data in the service request;
The hot value of the media data is generated according to preset heat division rule.
3. a kind of load-balancing method of content distributing network, it is characterized in that, the content distributing network is provided with the edge caching nodes that GSLB device and more than two directly provide content service for client, and the content distributing network is stored with default medium concurrent threshold value of the media data in edge caching nodes;In the GSLB device side, methods described includes:
Receive the service request that client is sent;The service request includes the information of media data to be asked;
The one or more edge caching nodes for meeting screening conditions of screening return to the client;The screening conditions include the concurrent threshold value of default medium for being less than the media data to be asked in the edge caching nodes with the media data identical service request number to be asked.
4. method according to claim 3, the media data of the hot value set according to the service request of client for media data and different hot values corresponding preset ratio threshold value in edge caching nodes characterized in that, the content distributing network is also stored with;The screening conditions also include:Load percentage in the edge caching nodes with the hot value identical media data of media data to be asked is less than preset ratio threshold value.
5. the method according to claim 1,3 or 4, it is characterised in that:
The edge caching nodes are provided with solid state hard disc and mechanical hard disk;
The screening conditions also include:The media data to be asked is buffered in the edge caching nodes in solid state hard disc by prioritizing selection.
6. the method according to claim 1,3 or 4, it is characterised in that address information and its network insertion operator's informaiton of the service request also including the client;The one or more edge caching nodes for meeting screening conditions of screening return to the client, specifically include:
The client region is determined according to the address information of the client;
Whether the quantity of the edge caching nodes judge in the client region, met the screening conditions with network insertion operator identical reaches the quantity of the client requirements;
If so, the above-mentioned edge caching nodes for meeting the screening conditions then are returned into client;
If it is not, using region preferential or other regions of Network Priority policy selection or using other network insertion operators as the edge caching nodes of access network, until the quantity for the edge caching nodes for meeting the screening conditions reaches the quantity of the client requirements.
7. the method according to claim 1,3 or 4, it is characterised in that the screening conditions also include:The state renewal time of the edge caching nodes is less than preset state renewal time threshold value;And/or, the load number of the edge caching nodes is less than the default load threshold of the edge caching nodes.
8. the method according to claim 1,3 or 4, it is characterised in that:
The edge caching nodes are provided with area load balanced device and the streaming media server of more than two and its medium cache node;The area load balanced device is used to obtain and the state of each streaming media server in the edge caching nodes is reported to the GSLB device, and the service request that the GSLB thinks highly of orientation is distributed into suitable streaming media server according to the state of each streaming media server;The streaming media server is used to the media data that the medium cache node is cached return to client;
The screening conditions also include:The single connection Mean Speed of streaming media server in edge caching nodes is more than preset bandwidth value.
9. the method according to claim 1,3 or 4, it is characterised in that the service request also includes the identification information of the client, after the service request steps that the reception client is sent, in addition to:
Judge whether to preserve the specified services node of the client in the content distributing network;If so, the specified services node then is returned into the client.
10. method according to claim 6, it is characterized in that, the service request also includes the client to the routing iinformation of the GSLB device, it is described use region preferential or Virtual network operator preference strategy select other regions or the step of using other network insertion operators as the edge caching nodes of access network before, in addition to:
Obtain the corresponding second area different from the client region of IP address in the routing iinformation;
By in the second area, it is identical with the network insertion operator, and meet the edge caching nodes of the screening conditions and be added in edge caching nodes list to be selected.
11. the method according to claim 1 or 4, it is characterised in that the hot value is respectively high, it is low to neutralize;Media data span of corresponding preset ratio threshold value in edge caching nodes that is high, neutralizing low three kinds of hot values is respectively 60 ~ 80%, 20 ~ 40% and 0 ~ 20%.
12. a kind of content distributing network, it is characterised in that including by the GSLB device of network connection and more than two edge caching nodes that content service is directly provided for client, the GSLB device includes:
Request receiving module, for receiving the service request that client is sent;The service request includes the information of media data to be asked;
Node screening module, the client is returned to for screening one or more edge caching nodes for meeting screening conditions;The screening conditions include being less than preset ratio threshold value in the edge caching nodes with the load percentage of the hot value identical media data of media data ask, and the content distributing network is stored with according to the media data that the service request of client is hot value that media data is set and difference hot value the corresponding preset ratio threshold value in edge caching nodes;And/or, it is less than the concurrent threshold value of default medium of the media data to be asked in the edge caching nodes with the media data identical service request number to be asked, the content distributing network is stored with default medium concurrent threshold value of the media data in edge caching nodes.
CN201610215444.6A 2016-04-08 2016-04-08 Content distributing network and its load-balancing method Pending CN107277093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610215444.6A CN107277093A (en) 2016-04-08 2016-04-08 Content distributing network and its load-balancing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610215444.6A CN107277093A (en) 2016-04-08 2016-04-08 Content distributing network and its load-balancing method

Publications (1)

Publication Number Publication Date
CN107277093A true CN107277093A (en) 2017-10-20

Family

ID=60052964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610215444.6A Pending CN107277093A (en) 2016-04-08 2016-04-08 Content distributing network and its load-balancing method

Country Status (1)

Country Link
CN (1) CN107277093A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234632A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 A kind of data distributing method and device of content distributing network CDN
CN108650317A (en) * 2018-05-10 2018-10-12 深圳市汇星数字技术有限公司 The load regulation method, apparatus and equipment of content distributing network
CN110290399A (en) * 2019-06-25 2019-09-27 深圳市网心科技有限公司 A kind of data distributing method, system, device and computer readable storage medium
CN110300184A (en) * 2019-07-10 2019-10-01 深圳市网心科技有限公司 Fringe node distribution method, device, dispatch server and storage medium
CN110336885A (en) * 2019-07-10 2019-10-15 深圳市网心科技有限公司 Fringe node distribution method, device, dispatch server and storage medium
CN111479296A (en) * 2019-01-23 2020-07-31 大唐移动通信设备有限公司 CDN cache server selection method and device
CN111753239A (en) * 2020-06-23 2020-10-09 北京奇艺世纪科技有限公司 Resource distribution method and device, electronic equipment and storage medium
CN111949404A (en) * 2020-08-12 2020-11-17 北京金山云网络技术有限公司 Method and device for adjusting server load and related equipment
CN112511868A (en) * 2020-11-17 2021-03-16 创盛视联数码科技(北京)有限公司 Video playing method and device, electronic equipment and computer storage medium
CN112860433A (en) * 2021-01-27 2021-05-28 深圳宏芯宇电子股份有限公司 Cache server, content distribution network system, and data management method
CN112995241A (en) * 2019-12-02 2021-06-18 中国电信股份有限公司 Service scheduling method and device
CN113766650A (en) * 2021-08-26 2021-12-07 武汉天地同宽科技有限公司 Internet resource acquisition method and system based on dynamic balance
CN113778972A (en) * 2021-09-15 2021-12-10 北京百度网讯科技有限公司 Method for estimating log increment in Content Delivery Network (CDN) system
CN115643430A (en) * 2022-10-10 2023-01-24 深圳锋芒信息技术有限公司 Playing method, device and equipment of self-adaptive playing source and storage medium
CN117201504A (en) * 2023-11-08 2023-12-08 福州高新区熠云科技有限公司 Edge node network data flow direction control method, system, equipment and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002071242A1 (en) * 2001-03-01 2002-09-12 Akamai Technologies, Inc. Optimal route selection in a content delivery network
CN101039329A (en) * 2006-12-28 2007-09-19 中兴通讯股份有限公司 Media delivery system of network TV system based on media delivery
CN101287011A (en) * 2008-05-26 2008-10-15 蓝汛网络科技(北京)有限公司 Method, system and device for responding service request from user in content distributing network
CN101729357A (en) * 2008-10-14 2010-06-09 华为技术有限公司 Method and device for storage processing and service processing of media files and server cluster
CN103281367A (en) * 2013-05-22 2013-09-04 北京蓝汛通信技术有限责任公司 Load balance method and device
CN103974138A (en) * 2014-04-15 2014-08-06 上海聚力传媒技术有限公司 Method and device for preloading videos in CDN
CN104202362A (en) * 2014-08-14 2014-12-10 上海帝联信息科技股份有限公司 Load balance system and content distribution method and device thereof, and load balancer
CN105187848A (en) * 2015-08-18 2015-12-23 浪潮软件集团有限公司 Content distribution network system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002071242A1 (en) * 2001-03-01 2002-09-12 Akamai Technologies, Inc. Optimal route selection in a content delivery network
CN101039329A (en) * 2006-12-28 2007-09-19 中兴通讯股份有限公司 Media delivery system of network TV system based on media delivery
CN101287011A (en) * 2008-05-26 2008-10-15 蓝汛网络科技(北京)有限公司 Method, system and device for responding service request from user in content distributing network
CN101729357A (en) * 2008-10-14 2010-06-09 华为技术有限公司 Method and device for storage processing and service processing of media files and server cluster
CN103281367A (en) * 2013-05-22 2013-09-04 北京蓝汛通信技术有限责任公司 Load balance method and device
CN103974138A (en) * 2014-04-15 2014-08-06 上海聚力传媒技术有限公司 Method and device for preloading videos in CDN
CN104202362A (en) * 2014-08-14 2014-12-10 上海帝联信息科技股份有限公司 Load balance system and content distribution method and device thereof, and load balancer
CN105187848A (en) * 2015-08-18 2015-12-23 浪潮软件集团有限公司 Content distribution network system and method

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234632A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 A kind of data distributing method and device of content distributing network CDN
CN108650317B (en) * 2018-05-10 2021-02-05 深圳市汇星数字技术有限公司 Load adjusting method, device and equipment of content distribution network
CN108650317A (en) * 2018-05-10 2018-10-12 深圳市汇星数字技术有限公司 The load regulation method, apparatus and equipment of content distributing network
CN111479296A (en) * 2019-01-23 2020-07-31 大唐移动通信设备有限公司 CDN cache server selection method and device
CN111479296B (en) * 2019-01-23 2021-08-27 大唐移动通信设备有限公司 CDN cache server selection method and device
CN110290399A (en) * 2019-06-25 2019-09-27 深圳市网心科技有限公司 A kind of data distributing method, system, device and computer readable storage medium
CN110290399B (en) * 2019-06-25 2021-09-24 深圳市网心科技有限公司 Data distribution method, system, device and computer readable storage medium
CN110336885B (en) * 2019-07-10 2022-04-01 深圳市网心科技有限公司 Edge node distribution method, device, scheduling server and storage medium
CN110300184B (en) * 2019-07-10 2022-04-01 深圳市网心科技有限公司 Edge node distribution method, device, scheduling server and storage medium
CN110336885A (en) * 2019-07-10 2019-10-15 深圳市网心科技有限公司 Fringe node distribution method, device, dispatch server and storage medium
CN110300184A (en) * 2019-07-10 2019-10-01 深圳市网心科技有限公司 Fringe node distribution method, device, dispatch server and storage medium
CN112995241A (en) * 2019-12-02 2021-06-18 中国电信股份有限公司 Service scheduling method and device
CN112995241B (en) * 2019-12-02 2022-11-18 中国电信股份有限公司 Service scheduling method and device
CN111753239B (en) * 2020-06-23 2023-09-05 北京奇艺世纪科技有限公司 Resource distribution method and device, electronic equipment and storage medium
CN111753239A (en) * 2020-06-23 2020-10-09 北京奇艺世纪科技有限公司 Resource distribution method and device, electronic equipment and storage medium
CN111949404B (en) * 2020-08-12 2024-04-26 北京金山云网络技术有限公司 Method, device and related equipment for adjusting server load
CN111949404A (en) * 2020-08-12 2020-11-17 北京金山云网络技术有限公司 Method and device for adjusting server load and related equipment
CN112511868B (en) * 2020-11-17 2022-01-11 创盛视联数码科技(北京)有限公司 Video playing method and device, electronic equipment and computer storage medium
CN112511868A (en) * 2020-11-17 2021-03-16 创盛视联数码科技(北京)有限公司 Video playing method and device, electronic equipment and computer storage medium
CN112860433A (en) * 2021-01-27 2021-05-28 深圳宏芯宇电子股份有限公司 Cache server, content distribution network system, and data management method
CN113766650B (en) * 2021-08-26 2022-06-28 武汉天地同宽科技有限公司 Internet resource obtaining method and system based on dynamic balance
CN113766650A (en) * 2021-08-26 2021-12-07 武汉天地同宽科技有限公司 Internet resource acquisition method and system based on dynamic balance
CN113778972A (en) * 2021-09-15 2021-12-10 北京百度网讯科技有限公司 Method for estimating log increment in Content Delivery Network (CDN) system
CN113778972B (en) * 2021-09-15 2022-05-17 北京百度网讯科技有限公司 Method for estimating log increment in Content Delivery Network (CDN) system
CN115643430A (en) * 2022-10-10 2023-01-24 深圳锋芒信息技术有限公司 Playing method, device and equipment of self-adaptive playing source and storage medium
CN117201504A (en) * 2023-11-08 2023-12-08 福州高新区熠云科技有限公司 Edge node network data flow direction control method, system, equipment and medium
CN117201504B (en) * 2023-11-08 2024-02-27 福州高新区熠云科技有限公司 Edge node network data flow direction control method, system, equipment and medium

Similar Documents

Publication Publication Date Title
CN107277093A (en) Content distributing network and its load-balancing method
CN107277097A (en) Content distributing network and its load estimation equalization methods
CN107181734B (en) Streaming media cache replacement method of CDN-P2P network architecture
EP1364510B1 (en) Method and system for managing distributed content and related metadata
US9300734B2 (en) Multi-CDN digital content streaming
US9191465B2 (en) Multi-CDN digital content streaming
EP1892921B1 (en) Method and system for managing distributed content and related metadata
CN107273040A (en) data cache method and device
EP2618542A1 (en) Method, system, and node for node interconnection on content delivery network
US20060271700A1 (en) Record medium with a load distribution program recorded thereon, load distribution method, and load distribution apparatus
CN102439934A (en) Method and system for managing multilevel caches of edge server in cdn
US20110067074A1 (en) Method, device, and system for playing media based on p2p
US20150244815A1 (en) Communication Method and Apparatus
JP2013525931A (en) Dynamic binding used for content delivery
WO2012078575A1 (en) Technique for managing traffic at a router
CN101146114A (en) A load share method and system of stream media server
US10324980B2 (en) Method and system for caching of video files
CN101645837A (en) Method and device for realizing load balancing
CN102118315B (en) Method for fluidizing, recording and reading data and system adopting same
US9491212B2 (en) Method for streaming media and media controller
KR20130057232A (en) Contents delivery network system having edge node and method for caching and managing contents
JP2009080642A (en) Load control method, device and program
KR100826870B1 (en) Contents serving system and method to prevent inappropriate contents purging and method for managing contents of the same
CN100559870C (en) Video on-demand system and this system realize the method that data are disposed
KR20220078244A (en) Method and edge server for managing cache file for content fragments caching

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20201030

AD01 Patent right deemed abandoned