CN107222560A - A kind of multinode Hui Yuan method, device and storage medium - Google Patents

A kind of multinode Hui Yuan method, device and storage medium Download PDF

Info

Publication number
CN107222560A
CN107222560A CN201710530951.3A CN201710530951A CN107222560A CN 107222560 A CN107222560 A CN 107222560A CN 201710530951 A CN201710530951 A CN 201710530951A CN 107222560 A CN107222560 A CN 107222560A
Authority
CN
China
Prior art keywords
node
network
network storage
storage node
weight
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
CN201710530951.3A
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710530951.3A priority Critical patent/CN107222560A/en
Publication of CN107222560A publication Critical patent/CN107222560A/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • 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]

Abstract

The embodiment of the present application discloses a kind of multinode Hui Yuan method, including:Content distribution network CDN service device connects at least two network storage nodes, and at least two network storage node configurating downlink flow weights, wherein, at least two network storages node is stored with the file destination.CDN server obtains the file destination further according to the downlink traffic weight from least two network storages node.So, CND servers can then support multinode Hui Yuan, and obtain file destination from multiple network storage nodes according to reasonably time source mode, so as to the file destination that quick obtaining is complete, so that terminal conducts interviews, terminal access speed is improved, and there is provided Consumer's Experience.

Description

A kind of multinode Hui Yuan method, device and storage medium
Technical field
The application is related to network communication field, more particularly to a kind of multinode Hui Yuan method, device and storage medium.
Background technology
With the popularization of intelligent mobile terminal, the continuous expansion of terminal user's scale, terminal user is to resource file (ratio Such as:Application installation package, picture, video, music etc.) demand it is also increasing.Resource file is typically stored in multiple nets In network memory node, such as it is stored in Internet data center's (English:Internet Data Center abbreviation IDC) computer room. The IDC computer rooms of different regions store the resource file of identical content, are conducted interviews so as to the terminal user of different regions.
Due to the limitation of IDC computer room bandwidth, industry is typically using content distributing network (English:Content Delivery Network, referred to as:CDN) technology alleviates IDC computer room flow pressures, to lift Consumer's Experience.In currently existing scheme, due to Single source station node maintenance uses upper convenience, general using list source station node Hui Yuan, i.e. an IDC computer room passes through a CDN Server carries out Hui Yuan.The CND servers obtain the file that terminal user needs to access, Ran Houfa from corresponding IDC computer rooms Give terminal user.
But there is limitation in the majority on physical condition in single source tiny node, it is impossible to which support big flow returns source request, works as CND Server need from IDC computer rooms download the file of big flow when, can equally cause terminal access speed slow, the feelings of poor user experience Condition.
The content of the invention
The embodiment of the present application provides a kind of multinode Hui Yuan method, device and storage medium, is visited for improving terminal The speed asked, improves the experience of user.
The embodiment of the present application first aspect provides a kind of multinode Hui Yuan method, including:
For at least two network storage node configurating downlink flow weights, wherein, at least two network storage nodes are deposited Contain file destination;
File destination is obtained from least two network storage nodes according to downlink traffic weight.
It is at least two network storage node configurating downlink flow weights in a kind of possible implementation, including:
It is the default downlink traffic of at least two memory nodes configuration according to the configured bandwidth of at least two network storage nodes Weight, wherein, the default weight corresponding to the high network storage node of configured bandwidth is high.
In alternatively possible implementation, before at least two network storage node configurating downlink flow weights, Method also includes:
Detect the bandwidth usage of at least two network storage nodes;
For at least two network storage node configurating downlink flow weights, including:
It is at least two network storage node configurating downlink flow weights according to bandwidth usage, wherein, idle bandwidth Weight corresponding to many network storage nodes is high.
It is being under at least two network storage nodes are configured according to bandwidth usage in alternatively possible implementation Before row flow weight, method also includes:
Detection is respectively the distance between with least two network storage nodes;
It is at least two network storage node configurating downlink flow weights according to bandwidth usage, wherein, idle bandwidth Weight corresponding to many network storage nodes is high, specifically includes:
It is according to bandwidth usage and respectively at least two nets with the distance between at least two network storage nodes Network memory node configurating downlink flow weight, wherein, the weight corresponding to the network storage node more than idle bandwidth is high, or away from From the weight height corresponding near network storage node.
In alternatively possible implementation, according to bandwidth usage and respectively with least two network storage nodes The distance between be at least two network storage node configurating downlink flow weights, wherein, the network storage section more than idle bandwidth The corresponding weight of point is high, or high apart from the weight corresponding near network storage node, specifically includes:
It is at least two network storage sections when the idle bandwidth of at least two network storage nodes is respectively less than predetermined threshold value Point configurating downlink flow weight, wherein, remote more than distance apart from the downlink traffic weight corresponding near network storage node Downlink traffic weight corresponding to network storage node.
In alternatively possible implementation, according to bandwidth usage and respectively with least two network storage nodes The distance between be at least two network storage node configurating downlink flow weights, wherein, the network storage section more than idle bandwidth The corresponding weight of point is high, or high apart from the weight corresponding near network storage node, specifically includes:
It is at least two networks when the idle bandwidth of at least two network storage nodes is all higher than or during equal to predetermined threshold value Memory node configurating downlink flow weight, wherein, it is 0 apart from the downlink traffic weight of remote network storage node.
It is at least two network storage node configurating downlinks according to bandwidth usage in alternatively possible implementation Flow weight, wherein, the weight corresponding to the network storage node more than idle bandwidth is high, specifically includes:
When the idle bandwidth included at least two network storage nodes is more than predetermined threshold value, and idle bandwidth less than pre- If being at least two network storage node configurating downlink flow weights during network storage node of threshold value, wherein, idle bandwidth is small In predetermined threshold value network storage node downlink traffic weight be 0.
The embodiment of the present application second aspect provides a kind of multinode Hui Yuan device, including:
Dispensing unit, for at least two network storage node configurating downlink flow weights, wherein, at least two networks Memory node is stored with file destination;
Acquiring unit, for obtaining file destination from least two network storage nodes according to downlink traffic weight.
In a kind of possible implementation, dispensing unit specifically for:
It is the default downlink traffic of at least two memory nodes configuration according to the configured bandwidth of at least two network storage nodes Weight, wherein, the default weight corresponding to the high network storage node of configured bandwidth is high.
In alternatively possible implementation, device also includes:
Bandwidth detection unit, for dispensing unit be at least two network storage node configurating downlink flow weights it Before, detect the bandwidth usage of at least two network storage nodes;
Dispensing unit specifically for:
It is at least two network storage node configurating downlink flow weights according to bandwidth usage, wherein, idle bandwidth Weight corresponding to many network storage nodes is high.
In alternatively possible implementation, device also includes:
Apart from detection unit, for being configured in dispensing unit according to bandwidth usage at least two network storage nodes Before downlink traffic weight, detection is respectively the distance between with least two network storage nodes;
Dispensing unit is additionally operable to:
It is according to bandwidth usage and respectively at least two nets with the distance between at least two network storage nodes Network memory node configurating downlink flow weight, wherein, the weight corresponding to the network storage node more than idle bandwidth is high, or away from From the weight height corresponding near network storage node.
In alternatively possible implementation, dispensing unit is specifically additionally operable to:
It is at least two network storage sections when the idle bandwidth of at least two network storage nodes is respectively less than predetermined threshold value Point configurating downlink flow weight, wherein, remote more than distance apart from the downlink traffic weight corresponding near network storage node Downlink traffic weight corresponding to network storage node.
In alternatively possible implementation, dispensing unit is specifically additionally operable to:
It is at least two networks when the idle bandwidth of at least two network storage nodes is all higher than or during equal to predetermined threshold value Memory node configurating downlink flow weight, wherein, it is 0 apart from the downlink traffic weight of remote network storage node.
In alternatively possible implementation, dispensing unit is specifically additionally operable to:
When the idle bandwidth included at least two network storage nodes is more than predetermined threshold value, and idle bandwidth less than pre- If being at least two network storage node configurating downlink flow weights during network storage node of threshold value, wherein, idle bandwidth is small In predetermined threshold value network storage node downlink traffic weight be 0.
The embodiment of the present application third aspect provides a kind of computer installation, and computer installation includes processor, and processor is used Realized when the computer program stored in memory is performed such as the step of any one implementation in claim first aspect Suddenly.
The application fourth aspect provides a kind of computer-readable recording medium, is stored thereon with computer program (instruction), The step of any one implementation in such as claim first aspect is realized when computer program (instruction) is executed by processor.
As can be seen from the above technical solutions, the embodiment of the present application has advantages below:
In the embodiment of the present application, content distribution network CDN service device connects at least two network storage nodes, and is at least Two network storage node configurating downlink flow weights, wherein, at least two network storage nodes are stored with file destination. CDN server obtains file destination further according to downlink traffic weight from least two network storage nodes.So, CND servers Multinode Hui Yuan can be then supported, and file destination is obtained from multiple network storage nodes according to reasonably time source mode, so that Terminal access speed can be improved with the complete file destination of quick obtaining, so that terminal conducts interviews, and there is provided user's body Test.
Brief description of the drawings
One embodiment schematic diagram for the method that Fig. 1 is multinode Hui Yuan in the embodiment of the present application;
Another embodiment schematic diagram for the method that Fig. 2 is multinode Hui Yuan in the embodiment of the present application;
Another embodiment schematic diagram for the method that Fig. 3 is multinode Hui Yuan in the embodiment of the present application;
One embodiment schematic diagram for the device that Fig. 4 is multinode Hui Yuan in the embodiment of the present application;
Another embodiment schematic diagram for the device that Fig. 5 is multinode Hui Yuan in the embodiment of the present application.
Embodiment
The embodiment of the present application provides a kind of multinode Hui Yuan method, device and storage medium, is visited for improving terminal The speed asked, improves the experience of user.
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete Site preparation is described, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.This Shen Specification and claims please and the term " first " in above-mentioned accompanying drawing, " second ", " the 3rd ", " the 4th " etc. are (if deposited ) it is for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can be exchanged in the appropriate case, so that the embodiments described herein can be with except the content for illustrating or describing herein Order in addition is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that covering is non-exclusive Comprising for example, the process, method, system, product or the equipment that contain series of steps or unit are not necessarily limited to clearly list Those steps or unit, but may include not listing clearly or intrinsic for these processes, method, product or equipment Other steps or unit.
Shown in reference picture 1, one embodiment of multinode Hui Yuan method includes in the embodiment of the present application:
101st, CDN server is at least two network storage node configurating downlink flow weights, wherein, described at least two Network storage node is stored with file destination.
In this application, a CND server connects at least two network storage nodes.The network storage node can be IDC computer rooms, or other network storage equipments, are not limited specifically.At least two network storages node can be same The network storage node in one area, or the network storage node of different regions.CDN server is sent in receiving terminal , it is necessary to obtain target text to the network storage node of the storage file destination connected during the request of access target file Part, so that for terminal access.Or, CND servers are receiving the new information transmitted by the application server of operator When, CDN server also need to obtain file destination from least two network storage nodes, and at least two network storages node is deposited Contain file destination to be updated.
Before the file destination is obtained from multiple network storage nodes, CND servers are needed first for the target that is stored with Multiple network storage node configurating downlink flow weights of file, so that according to comparing reasonable manner from multiple network storage sections Point downloads the file destination.
In a kind of possible implementation, CDN server is at least two network storage node configurating downlink flow weights, tool Body can be:
CDN server is at least two memory node according to the configured bandwidth of at least two network storages node The default downlink traffic weight of configuration, wherein, the default weight corresponding to the high network storage node of configured bandwidth is high.
The configured bandwidth of network storage node is then the theoretical maximum broadband speed of the bandwidth of the network storage node.Than Such as, at least two network storages node includes two network storage nodes, wherein, the bandwidth of first network memory node Theoretical maximum broadband speed is 100M/S, the theoretical maximum broadband speed 50M/S of the bandwidth of the second network storage node.So CDN server is when configuring the downlink traffic weight of at least two network storages node, it is necessary to set first network to store The downlink traffic weight of node is more than the downlink traffic weight of the second network storage node, such as, and CDN server is setting first The downlink traffic weight of network storage node is 70%, and the downlink traffic weight for setting the second network storage node is 30%.
The downlink traffic weight that CDN server is configured by least two network storages node in the application can be Accounting value, is respectively set to 70% and 30% described above.The expression way of downlink traffic weight can also be it in the application The expression of his type, is not limited specifically.At least two network storages node described herein can be deposited comprising two networks Node is stored up, more than two network storage nodes can also be included, do not limited specifically.
102nd, the CDN server obtains institute according to the downlink traffic weight from least two network storages node State file destination.
When CDN server for after having configured downlink traffic weight, then according to the downlink traffic weight from least two networks Memory node downloads the file destination.Such as, 70% content of the file destination is downloaded from first network memory node, from Second network storage node downloads 30% content of the file destination.Wherein, CDN server is from different network storage nodes The particular content of the file destination downloaded to is differed.Such as, the file destination includes 10 messages, CDN server altogether Preceding 7 messages are downloaded from first network memory node, 3 messages after being downloaded from the second network storage node.Implement Mode the application is not limited.
Optionally, the file destination can also be sent to terminal by CDN server after the file destination is got, or Person is sent to other network storage nodes and is updated.
In the embodiment of the present application, content distribution network CDN service device connects at least two network storage nodes, and is at least Two network storage node configurating downlink flow weights, wherein, at least two network storages node is stored with the mesh Mark file.CDN server obtains the target further according to the downlink traffic weight from least two network storages node File.So, CND servers can then support multinode Hui Yuan, and according to rational source mode of returning from multiple network storage sections Point obtains file destination, so as to the file destination that quick obtaining is complete, so that terminal conducts interviews, improves terminal access Speed, and there is provided Consumer's Experience.
Shown in reference picture 2, another embodiment of multinode Hui Yuan method includes in the embodiment of the present application:
201st, CDN server detects the bandwidth usage of at least two network storage nodes, wherein, described at least two Network storage node is stored with file destination.
In the embodiment of the present application, CDN server can also use feelings according to the bandwidth of at least two network storage nodes Condition carries out the configuration of downlink traffic weight.Therefore, CDN server can also detect the band of at least two network storages node Wide service condition.Bandwidth due to each network storage node is using being dynamic, so CND servers can be according to certain week The bandwidth usage of at least two network storage nodes described in phase dynamic detection.Bandwidth usage is network storage node Bandwidth utilization rate, such as, the current bandwidth utilization rate of a network storage node are 80%, then the network storage node is current Idle generation with a width of 20%.Or, wherein 80Hz is being currently used in a width of 100Hz of band of a network storage node, that Idle bandwidth is 20Hz.CDN server detects that the mode of the bandwidth usage of at least two network storage nodes can be wrapped Include a variety of, such as, monitor the bandwidth usage of at least two network storages node in real time by monitor state.Or, It is required that each network storage node reports current bandwidth usage according to predetermined period.Specific detection mode the application is not Limit.
202nd, the CDN server is under at least two network storages node is configured according to the bandwidth usage Row flow weight, wherein, the weight corresponding to the network storage node more than idle bandwidth is high, at least two network storages section Put the file destination that is stored with.
CDN server then makes after the bandwidth usage of at least two network storage nodes is detected according to the bandwidth Configured, deposited for the network more than idle bandwidth for the downlink traffic weight of at least two network storages node with situation Node is stored up, CND servers configure higher weight, for the few network storage node of idle bandwidth, the configuration of CND servers is less Weight.Such as, the idle bandwidth of first network memory node is 60Hz, and the idle bandwidth of the second network storage node is 20Hz, then the downlink traffic weight that CDN server can then configure first network memory node is 80%, configures the second network The downlink traffic weight of memory node is 20%.
It should be noted that the CDN server is at least two network storage according to the bandwidth usage Node configurating downlink flow weight, it can be described at least two according at least to the bandwidth usage to refer to CDN server Individual network storage node configurating downlink flow weight.Bandwidth usage is intended only as CDN server configurating downlink flow weight One of reference parameter, in different implementations, CND can be combined with other parameters and the bandwidth usage Parameter is come together configurating downlink flow weight.Specific configuration process will be described further in Fig. 3 embodiments.
203rd, the CDN server obtains institute according to the downlink traffic weight from least two network storages node State file destination.
It is described in detail with reference to described in step 102.
Shown in reference picture 3, another embodiment of multinode Hui Yuan method includes in the embodiment of the present application:
301st, CND servers detect the bandwidth usage of at least two network storage nodes, wherein, described at least two Network storage node is stored with file destination.
It is described in detail with reference to described in step 201.
302nd, CDN server detection is respectively the distance between with least two network storages node.
Because transmission range is to influence the key factor of file transmission time, such as, CDN server is located at In Guangdong Province, One is located at Beijing area at least two network storages node, and one is located at In Guangdong Province, then the CDN server point Time not from the two network storage nodes download file is different.CDN server is deposited from the network positioned at In Guangdong Province Store up node and download the time of file less than the time that file is downloaded from the network storage node positioned at Beijing area.Therefore, at this Apply in embodiment, CDN server can also be detected respectively the distance between with least two network storages node.
303rd, the CDN server is according to the bandwidth usage and described is deposited respectively with least two network It is at least two network storages node configurating downlink flow weight to store up the distance between node, wherein, more than idle bandwidth Weight corresponding to network storage node is high, or high apart from the weight corresponding near network storage node.
CDN server is getting the bandwidth usage of at least two network storage nodes and with described at least two After the distance between network storage node, then phase can be configured at least two network storages node according to both parameters The downlink traffic weight answered.It can be configured, can also be configured according to distance parameter according to bandwidth usage parameter. Specific configuration mode is similar to the above embodiments, does not repeat herein.
It should be noted that the quantity of the network storage node of the file destination that is stored with connected when CDN server When more, than if any 10.So CND servers can also filter out the net of preset number from this 10 network storage nodes Network memory node is gone to obtain file destination, such as by the bandwidth usage detected, or detected distance is sieved Choosing.If for example, in 10 network storage nodes, wherein the idle bandwidth of 5 network storage nodes is more than 80%, then CND Server then only obtains the file destination from this 5 network storage nodes, so that only under 5 network storage node configurations Row flow weight.Or, in 10 network storage nodes, wherein between 5 network storage nodes and the CDN server away from From no more than 1000 meters, then CND servers then only obtain the file destination from this 5 network storage nodes, so that only For 5 network storage node configurating downlink flow weights.
For the CDN server is according to the bandwidth usage and described is deposited respectively with least two network It is at least two network storages node configurating downlink flow weight to store up the distance between node.Present invention also provides as follows Several strategies:
In a kind of possible implementation:The CND servers according to the bandwidth usage and it is described respectively with The distance between described at least two network storages node is at least two network storages node configurating downlink flow weight, It is specifically as follows:
It is at least two net when the idle bandwidth of at least two network storages node is respectively less than predetermined threshold value Network memory node configurating downlink flow weight, wherein, the downlink traffic weight corresponding to the near network storage node of the distance More than apart from the downlink traffic weight corresponding to remote network storage node.
When the idle bandwidth of at least two network storage nodes is all smaller, at least two network storages section is represented The bandwidth resources of point are than relatively limited, therefore, and CND servers then carry out the configuration of downlink traffic weight fully according to distance parameter. Bigger weight is configured apart near network storage node, less weight is configured apart from remote network storage node.
In alternatively possible implementation, the CND servers are according to the bandwidth usage and the difference It is at least two network storages node configurating downlink flow power with the distance between at least two network storages node Weight, is specifically as follows:
When the idle bandwidth of at least two network storages node is all higher than or during equal to predetermined threshold value, be it is described at least Two network storage node configurating downlink flow weights, wherein, it is 0 apart from the downlink traffic weight of remote network storage node.
When at least two network storage nodes idle bandwidth all than it is larger when, then it represents that each network storage node is sufficient Enough support the quick transmission of the file destination.Therefore, CND servers then can only from distance closer to network storage node download The file destination, without downloading the file destination from farther network storage node.
In alternatively possible implementation, the CND servers are described at least two according to the bandwidth usage Individual network storage node configurating downlink flow weight, is specifically as follows:
When the idle bandwidth included at least two network storages node is small more than predetermined threshold value, and idle bandwidth It is at least two network storages node configurating downlink flow weight when network storage node of the predetermined threshold value, its In, the downlink traffic weight that idle bandwidth is less than the network storage node of the predetermined threshold value is 0.
When the idle bandwidth included at least two network storages node is small more than predetermined threshold value, and idle bandwidth When the network storage node of the predetermined threshold value, then it represents that the network storage node having can quickly transmit target text enough Part, the Internet resources of some network storage nodes are than relatively limited.Therefore, CDN server can be only from the big network of idle bandwidth Memory node downloads the file destination, without from the small network storage node downloading object file of idle bandwidth.
304th, the CDN server obtains institute according to the downlink traffic weight from least two network storages node State file destination.
It is described in detail with reference to described in step 102.
Shown in reference picture 4, one embodiment of multinode Hui Yuan device includes in the embodiment of the present application:
Receiving unit 401, the request of the access target file sent for receiving terminal;Wherein, receiving unit 401 is can Menu member.
Dispensing unit 402, for at least two network storage node configurating downlink flow weights, wherein, it is described at least Two network storage nodes are stored with the file destination;
Acquiring unit 403, for obtaining institute from least two network storages node according to the downlink traffic weight State file destination.
Optionally, the dispensing unit 402 specifically for:
It is that at least two memory node configuration is default according to the configured bandwidth of at least two network storages node Downlink traffic weight, wherein, the default weight corresponding to the high network storage node of configured bandwidth is high.
Optionally, described device also includes:
Bandwidth detection unit 404, for being at least two network storage node configurating downlink flows in the dispensing unit Before weight, the bandwidth usage of at least two network storages node is detected;
The dispensing unit 402 specifically for:
It is at least two network storages node configurating downlink flow weight according to the bandwidth usage, wherein, Weight corresponding to network storage node more than idle bandwidth is high.
Optionally, described device also includes:
Apart from detection unit 405, for according to the bandwidth usage being described at least two in the dispensing unit Before network storage node configurating downlink flow weight, detection respectively between at least two network storages node away from From;
Dispensing unit 402 is additionally operable to:
According to the bandwidth usage and described respectively the distance between with least two network storages node For at least two network storages node configurating downlink flow weight, wherein, the network storage node institute more than idle bandwidth is right The weight answered is high, or high apart from the weight corresponding near network storage node.
Optionally, the dispensing unit 402 is specifically additionally operable to:
It is at least two net when the idle bandwidth of at least two network storages node is respectively less than predetermined threshold value Network memory node configurating downlink flow weight, wherein, the downlink traffic weight corresponding to the near network storage node of the distance More than apart from the downlink traffic weight corresponding to remote network storage node.
Optionally, the dispensing unit 402 is specifically additionally operable to:
When the idle bandwidth of at least two network storages node is all higher than or during equal to predetermined threshold value, be it is described at least Two network storage node configurating downlink flow weights, wherein, it is 0 apart from the downlink traffic weight of remote network storage node.
Optionally, the dispensing unit 402 is specifically additionally operable to:
When the idle bandwidth included at least two network storages node is small more than predetermined threshold value, and idle bandwidth It is at least two network storages node configurating downlink flow weight when network storage node of the predetermined threshold value, its In, the downlink traffic weight that idle bandwidth is less than the network storage node of the predetermined threshold value is 0.
The specific descriptions of Fig. 4 embodiments referring to figs. 1 to multinode Hui Yuan method in Fig. 3 embodiments description content, this Place is not repeated.
The device of multinode Hui Yuan in the embodiment of the present application can also be in another form embodiment.The institute of reference picture 5 Show, the multinode Hui Yuan of embodiment device includes:Processor 501, memory 502, transceiver 503, the processor 501st, the memory 502 and the transceiver 503 are connected by bus 504, and transceiver 503 can include transmitter with connecing Receive device, the memory 502 is stored with the program of computer program, such as multinode Hui Yuan.The processor 501 performs described The step in above-mentioned each multinode Hui Yuan embodiment of the method, such as the step 101- shown in Fig. 1 are realized during computer program 102.Or, the processor 501 realizes each module/unit in above-mentioned each device embodiment when performing the computer program Function, such as dispensing unit 402.
Exemplary, the computer program can be divided into one or more module/units, one or many Individual module/unit is stored in the memory, and by the computing device, to complete the present invention.It is one or many Individual module/unit can complete the series of computation machine programmed instruction section of specific function, and the instruction segment is used to describe institute State implementation procedure of the computer program in the device of the multinode Hui Yuan.For example, the computer program can be divided Into receiving unit, dispensing unit, acquiring unit, each module concrete function is as follows:
Receiving unit, the request of the access target file sent for receiving terminal;
Dispensing unit, for at least two network storage node configurating downlink flow weights, wherein, described at least two Network storage node is stored with the file destination;
Acquiring unit, for obtaining the mesh from least two network storages node according to the downlink traffic weight Mark file.
The device of the multinode Hui Yuan can be desktop PC, notebook, palm PC and cloud server etc. Computing device.The device of the multinode Hui Yuan may include, but be not limited only to, processor, memory.Those skilled in the art can To understand, the schematic diagram is only the example of multinode Hui Yuan device, does not constitute the limit of the device to multinode Hui Yuan It is fixed, it can include than illustrating more or less parts, either combine some parts or different parts, such as it is described many Node Hui Yuan device can also include input-output equipment, network access equipment, bus etc..
Alleged processor can be CPU (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng the processor is the control centre of the device of the multinode Hui Yuan, utilizes various interfaces and the whole more piece of connection The various pieces of point Hui Yuan device.
The memory can be used for storing the computer program and/or module, and the processor is by running or performing The computer program and/or module being stored in the memory, and the data being stored in memory are called, realize described Set up the various functions of the device of communication.The memory can mainly include storing program area and storage data field, wherein, storage Program area can be needed for storage program area, at least one function application program (such as sound-playing function, image player function Deng) etc.;Storage data field can be stored uses created data (such as voice data, phone directory etc.) etc. according to mobile phone.This Outside, memory can include high-speed random access memory, can also include nonvolatile memory, for example hard disk, internal memory, insert Connect formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash memory Block (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
If the integrated module/unit of the device of the multinode Hui Yuan realized using in the form of SFU software functional unit and as Independent production marketing in use, can be stored in a computer read/write memory medium.Understood based on such, this All or part of flow in above-described embodiment method is realized in invention, and the hardware of correlation can also be instructed by computer program To complete, described computer program can be stored in a computer-readable recording medium, and the computer program is by processor During execution, the step of each above-mentioned embodiment of the method can be achieved.Wherein, the computer program includes computer program code, The computer program code can be source code form, object identification code form, executable file or some intermediate forms etc..Institute Stating computer-readable medium can include:Can carry any entity or device of the computer program code, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), arbitrary access Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..Need Bright, the content that the computer-readable medium is included can be entered according to legislation in jurisdiction and the requirement of patent practice The appropriate increase and decrease of row, such as, in some jurisdictions, according to legislation and patent practice, computer-readable medium does not include electricity load Ripple signal and telecommunication signal.
In the above-described embodiments, it can come real wholly or partly by software, hardware, firmware or its any combination It is existing.When implemented in software, it can realize in the form of a computer program product whole or in part.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, such as multiple units or component Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces Close or communicate to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in the application each embodiment can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
Described above, above example is only to the technical scheme for illustrating the application, rather than its limitations;Although with reference to before Embodiment is stated the application is described in detail, it will be understood by those within the art that:It still can be to preceding State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of each embodiment technical scheme of the application.

Claims (10)

1. a kind of multinode Hui Yuan method, it is characterised in that methods described includes:
For at least two network storage node configurating downlink flow weights, wherein, at least two network storages node is deposited Contain file destination;
The file destination is obtained from least two network storages node according to the downlink traffic weight.
2. according to the method described in claim 1, it is characterised in that described is at least two network storage node configurating downlink streams Weight is measured, including:
It is that at least two memory node configuration is default descending according to the configured bandwidth of at least two network storages node Flow weight, wherein, the default weight corresponding to the high network storage node of configured bandwidth is high.
3. according to the method described in claim 1, it is characterised in that it is described be at least two network storage node configurating downlinks Before flow weight, methods described also includes:
Detect the bandwidth usage of at least two network storages node;
Described is at least two network storage node configurating downlink flow weights, including:
It is at least two network storages node configurating downlink flow weight according to the bandwidth usage, wherein, it is idle Weight corresponding to network storage node more than bandwidth is high.
4. method according to claim 3, it is characterised in that it is described according to the bandwidth usage for it is described at least Before two network storage node configurating downlink flow weights, methods described also includes:
Detection is respectively the distance between with least two network storages node;
Described is at least two network storages node configurating downlink flow weight according to the bandwidth usage, wherein, Weight corresponding to network storage node more than idle bandwidth is high, specifically includes:
According to the bandwidth usage and it is described be respectively institute with the distance between at least two network storages node At least two network storage node configurating downlink flow weights are stated, wherein, corresponding to the network storage node more than idle bandwidth Weight is high, or high apart from the weight corresponding near network storage node.
5. method according to claim 4, it is characterised in that described according to the bandwidth usage and the difference It is at least two network storages node configurating downlink flow power with the distance between at least two network storages node Weight, wherein, the weight corresponding to the network storage node more than idle bandwidth is high, or apart from corresponding near network storage node Weight it is high, specifically include:
It is that at least two network is deposited when the idle bandwidth of at least two network storages node is respectively less than predetermined threshold value Node configurating downlink flow weight is stored up, wherein, the downlink traffic weight corresponding to the near network storage node of the distance is more than Apart from the downlink traffic weight corresponding to remote network storage node.
6. a kind of multinode Hui Yuan device, it is characterised in that described device includes:
Dispensing unit, for at least two network storage node configurating downlink flow weights, wherein, at least two network Memory node is stored with file destination;
Acquiring unit, for obtaining the target text from least two network storages node according to the downlink traffic weight Part.
7. device according to claim 6, it is characterised in that the dispensing unit specifically for:
It is that at least two memory node configuration is default descending according to the configured bandwidth of at least two network storages node Flow weight, wherein, the default weight corresponding to the high network storage node of configured bandwidth is high.
8. device according to claim 6, it is characterised in that described device also includes:
Bandwidth detection unit, for the dispensing unit be at least two network storage node configurating downlink flow weights it Before, detect the bandwidth usage of at least two network storages node;
The dispensing unit specifically for:
It is at least two network storages node configurating downlink flow weight according to the bandwidth usage, wherein, it is idle Weight corresponding to network storage node more than bandwidth is high.
9. a kind of computer installation, it is characterised in that the computer installation includes processor, the processor is deposited for execution The step of any one methods described in such as claim 1-5 is realized during the computer program stored in reservoir.
10. a kind of computer-readable recording medium, is stored thereon with computer program (instruction), it is characterised in that:It is described to calculate The step of any one methods described in such as claim 1-5 is realized when machine program (instruction) is executed by processor.
CN201710530951.3A 2017-06-29 2017-06-29 A kind of multinode Hui Yuan method, device and storage medium Pending CN107222560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710530951.3A CN107222560A (en) 2017-06-29 2017-06-29 A kind of multinode Hui Yuan method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710530951.3A CN107222560A (en) 2017-06-29 2017-06-29 A kind of multinode Hui Yuan method, device and storage medium

Publications (1)

Publication Number Publication Date
CN107222560A true CN107222560A (en) 2017-09-29

Family

ID=59951733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710530951.3A Pending CN107222560A (en) 2017-06-29 2017-06-29 A kind of multinode Hui Yuan method, device and storage medium

Country Status (1)

Country Link
CN (1) CN107222560A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108306971A (en) * 2018-02-02 2018-07-20 网宿科技股份有限公司 A kind of method and system of the acquisition request of transmission data resource
CN108366020A (en) * 2018-02-02 2018-08-03 网宿科技股份有限公司 A kind of method and system of the acquisition request of transmission data resource
CN108768738A (en) * 2018-06-07 2018-11-06 成都沃特斯科技有限公司 Quick self-adapted network bandwidth detection method based on CDN network technology
CN109831679A (en) * 2019-03-12 2019-05-31 北京数码视讯软件技术发展有限公司 A kind of Streaming Media time operated control method, device and computer equipment
CN110875941A (en) * 2018-09-03 2020-03-10 阿里巴巴集团控股有限公司 Source station access flow adjusting method and device, electronic device and storage device
CN110933140A (en) * 2019-11-05 2020-03-27 北京字节跳动网络技术有限公司 CDN storage allocation method, system and electronic equipment
CN114500663A (en) * 2021-12-28 2022-05-13 网宿科技股份有限公司 Scheduling method, device, equipment and storage medium for content distribution network equipment
CN115022177A (en) * 2022-06-08 2022-09-06 阿里巴巴(中国)有限公司 CDN system, back-to-source method, CDN node and storage medium
CN114500663B (en) * 2021-12-28 2024-04-12 网宿科技股份有限公司 Scheduling method, device, equipment and storage medium of content distribution network equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196060A (en) * 2011-06-15 2011-09-21 北京蓝汛通信技术有限责任公司 Method and system for selecting source station by Cache server
US20130254247A1 (en) * 2001-04-02 2013-09-26 Akamai Technologies, Inc. Scalable, high performance and highly available distributed storage system for Internet content
CN103747364A (en) * 2013-12-11 2014-04-23 北京瑞汛世纪科技有限公司 A method and apparatus for downloading network contents
CN105450780A (en) * 2015-12-31 2016-03-30 深圳市网心科技有限公司 CDN system and source tracing method thereof
CN105897581A (en) * 2015-11-20 2016-08-24 乐视云计算有限公司 Media file back source path determination method and device in CDN network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130254247A1 (en) * 2001-04-02 2013-09-26 Akamai Technologies, Inc. Scalable, high performance and highly available distributed storage system for Internet content
CN102196060A (en) * 2011-06-15 2011-09-21 北京蓝汛通信技术有限责任公司 Method and system for selecting source station by Cache server
CN103747364A (en) * 2013-12-11 2014-04-23 北京瑞汛世纪科技有限公司 A method and apparatus for downloading network contents
CN105897581A (en) * 2015-11-20 2016-08-24 乐视云计算有限公司 Media file back source path determination method and device in CDN network
CN105450780A (en) * 2015-12-31 2016-03-30 深圳市网心科技有限公司 CDN system and source tracing method thereof

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108366020A (en) * 2018-02-02 2018-08-03 网宿科技股份有限公司 A kind of method and system of the acquisition request of transmission data resource
US11178220B2 (en) 2018-02-02 2021-11-16 Wangsu Science & Technology Co., Ltd. Method and system for transmitting a data resource acquisition request
WO2019148568A1 (en) * 2018-02-02 2019-08-08 网宿科技股份有限公司 Method and system for sending request for acquiring data resource
CN108306971A (en) * 2018-02-02 2018-07-20 网宿科技股份有限公司 A kind of method and system of the acquisition request of transmission data resource
CN108306971B (en) * 2018-02-02 2020-06-23 网宿科技股份有限公司 Method and system for sending acquisition request of data resource
CN108768738B (en) * 2018-06-07 2021-02-09 四川福泰美科技有限公司 Rapid self-adaptive network bandwidth detection method based on CDN network technology
CN108768738A (en) * 2018-06-07 2018-11-06 成都沃特斯科技有限公司 Quick self-adapted network bandwidth detection method based on CDN network technology
CN110875941A (en) * 2018-09-03 2020-03-10 阿里巴巴集团控股有限公司 Source station access flow adjusting method and device, electronic device and storage device
CN109831679B (en) * 2019-03-12 2021-10-22 北京数码视讯软件技术发展有限公司 Streaming media source returning control method and device and computer equipment
CN109831679A (en) * 2019-03-12 2019-05-31 北京数码视讯软件技术发展有限公司 A kind of Streaming Media time operated control method, device and computer equipment
CN110933140A (en) * 2019-11-05 2020-03-27 北京字节跳动网络技术有限公司 CDN storage allocation method, system and electronic equipment
CN114500663A (en) * 2021-12-28 2022-05-13 网宿科技股份有限公司 Scheduling method, device, equipment and storage medium for content distribution network equipment
CN114500663B (en) * 2021-12-28 2024-04-12 网宿科技股份有限公司 Scheduling method, device, equipment and storage medium of content distribution network equipment
CN115022177A (en) * 2022-06-08 2022-09-06 阿里巴巴(中国)有限公司 CDN system, back-to-source method, CDN node and storage medium
CN115022177B (en) * 2022-06-08 2023-10-24 阿里巴巴(中国)有限公司 CDN system, source returning method, CDN node and storage medium

Similar Documents

Publication Publication Date Title
CN107222560A (en) A kind of multinode Hui Yuan method, device and storage medium
US10560853B2 (en) Configuring captive portals with a cloud service
US20200187087A1 (en) Systems and methods for distributing content in a vehicle-based wireless network
CN108632945A (en) A kind of network slice selection method, user equipment and the network equipment
CN107087038A (en) A kind of method of data syn-chronization, synchronizer, device and storage medium
CN104615448B (en) A kind of software channel packet update method, management method and equipment
KR20150052059A (en) Device backups and updates in view of data usage statistics
CN110121100A (en) Method for down loading, device, terminal and the computer readable storage medium of media file
CN107786601B (en) Information processing method, terminal and server
CN104081339A (en) Managing data transfers over network connections based on priority and data usage plan
CN103731487A (en) Download method, device, system and router for resource file
CN104348798B (en) A kind of method, apparatus, dispatch server and system for distributing network
CN102892111A (en) Transmitting device, receiving device, and operation method thereof
CN107980241A (en) A kind of multi-link method and device of gateway
CN104253869A (en) Blacklist sharing method, blacklist updating method, blacklist sharing device and blacklist updating device
CN106790679A (en) A kind of method and server, terminal for downloading application resource bag
CN109982152A (en) P2P CDN method for processing business, intelligent gateway and CDN platform
CN106658358A (en) Network sharing method, network sharing device and terminal
CN108540400A (en) A kind of data transfer control method, control device, terminal and readable storage medium storing program for executing
CN107181695A (en) Distributed caching method and device
CN107147522B (en) A kind of method and device of determining networking topological structure
CN105915648A (en) Resource scheduling method and device based on caching platform
CN102916907A (en) Download method and system based on home gateway, and home gateway
CN109471649A (en) The gray scale delivery system and method for firmware upgrade
CN103533452B (en) The transfer control method and device of a kind of Streaming Media

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