CN104735088B - Server node adjusting method and device in CDN (content delivery network) - Google Patents

Server node adjusting method and device in CDN (content delivery network) Download PDF

Info

Publication number
CN104735088B
CN104735088B CN201510181401.6A CN201510181401A CN104735088B CN 104735088 B CN104735088 B CN 104735088B CN 201510181401 A CN201510181401 A CN 201510181401A CN 104735088 B CN104735088 B CN 104735088B
Authority
CN
China
Prior art keywords
node
server
server node
transmission rate
currently used
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.)
Active
Application number
CN201510181401.6A
Other languages
Chinese (zh)
Other versions
CN104735088A (en
Inventor
倪超
赵刚峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510181401.6A priority Critical patent/CN104735088B/en
Publication of CN104735088A publication Critical patent/CN104735088A/en
Application granted granted Critical
Publication of CN104735088B publication Critical patent/CN104735088B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1029Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers using data related to the state of servers by a load balancer

Abstract

The embodiment of the invention discloses a method and a device for adjusting server nodes in a CDN (content delivery network). A method for adjusting server nodes in a CDN network comprises the following steps: when a terminal accesses a target website, monitoring the transmission rate of a server node currently used by the terminal, wherein the currently used server node is an active node; under the condition that the currently used server node meets a preset adjustment requirement, selecting a standby server node with a transmission rate higher than that of the currently used server node from a predetermined standby server node set; and adjusting the selected standby server node to be the active node. By applying the technical scheme provided by the embodiment of the invention, the access speed of the user is improved, and better internet experience is provided for the user.

Description

Server node method of adjustment and device in a kind of CDN network
Technical field
The present invention relates to field of communication technology, more particularly to server node method of adjustment and device in a kind of CDN network.
Background technology
Internet era, all kinds of websites have provided various data service, such as video, picture, word to the user, enrich People’s lives.With being continuously increased for user's visit capacity, the load pressure of Website server constantly increases, particularly with one This load pressure of a little large-scale websites, server becomes apparent.In addition, there is also interconnections for whole nation difference intercarrier The problem of intercommunication, may be such that telecommunication user or the access speed of mobile subscriber for example, certain Website server uses unicom circuit Degree is limited, and equally, certain Website server uses telecommunication line, may be such that the access speed of unicom user or mobile subscriber by Limit.The problem of based on the two aspects, many website providers start to cooperate with CDN service quotient, and distribution is provided by CDN service quotient The server node of formula is to carry out the distribution of web site contents, to mitigate the load pressure of Website server, promotes the property of website Energy and autgmentability improve the access experience of different line users.
CDN, full name are Content Delivery Network, i.e. content distributing network.In CDN network, Yong Hutong When crossing terminal access website, used server node is carried out by CDN network according to factors such as region, the circuits of user true It is fixed.
In some cases, CDN network is that the server node of terminal distribution is possible and improper, for example, user passes through When terminal carries out network access using partial wideband, the circuit of partial wideband is mostly the circuit for the operator rented, for CDN nets For network, it is not easy to distinguish, may will be the server node that the terminal distribution is not matched that with the terminal in this way so that should Higher access speed is not achieved during accessing website using the server node in terminal, and CDN network can not be learnt The actual use situation of user, so even if there is also other server nodes in the network, it will not be to being currently assigned to this The server node of terminal is adjusted, and user experience is poor.
Invention content
To solve the above problems, the embodiment of the invention discloses server node method of adjustment and dresses in a kind of CDN network It sets.Technical solution is as follows:
Server node method of adjustment in a kind of CDN network, including:
At terminal access targeted website, the transmission rate of the currently used server node of the terminal is monitored, it is described Currently used server node is active node;
In the case where the currently used server node meets preset adjustment requirement, from predetermined spare Server node concentrates the spare clothes for the transmission rate for selecting a transmission rate higher than the currently used server node Business device node;
Selected standby server node is adjusted to active node.
In a kind of specific implementation mode of the present invention, standby server set of node is determined by following steps:
Obtain the available server node listing of the corresponding CDN network in the targeted website from cloud server, it is described can It is the summarized results for reporting information that the cloud server collects multiple terminals with server node list, it is described to report information For each terminal when accessing the targeted website used server node information;
According to preset first screening conditions, the available server node in the available server node listing is carried out Screening;
The set of the server node filtered out is determined as standby server set of node.
It is described according to preset first screening conditions in a kind of specific implementation mode of the present invention, to described with clothes Available server node in business device node listing is screened, including:
Test the transmission rate of the server node in the available server node listing obtained;
According to test result, the server node for meeting preset condition is filtered out.
In a kind of specific implementation mode of the present invention, standby server set of node is determined by following steps:
The standby server set of node of the CDN network corresponding to the targeted website is obtained from cloud server, it is described standby It is CDN net of the cloud server according to preset second screening conditions corresponding to the targeted website with server node collection The set of the server node filtered out in the available server node listing of network.
The present invention a kind of specific implementation mode in, it is described meet in the currently used server node it is preset In the case of adjustment requirement, a transmission rate is selected currently to make higher than described from predetermined standby server set of node The standby server node of the transmission rate of server node, including:
In the case where the currently used server node meets preset adjustment requirement, from predetermined spare Server node concentration selects a server node as active node to be selected;
Judge whether the transmission rate of the active node to be selected is higher than the transmission of the currently used server node Rate;
If it is, executing described the step of selected standby server node is adjusted to active node;
If it is not, then selecting the clothes for not being selected as active node to be selected from the standby server node obtained Device node be engaged in as active node to be selected, whether repeats the transmission rate for waiting for active node described in the judgement higher than described The step of transmission rate of currently used server node.
In a kind of specific implementation mode of the present invention, by the clothes in the predetermined standby server set of node Device node be engaged in successively as after active node to be selected, further includes:
If the transmission rate of the server node in the predetermined standby server set of node is no greater than institute The transmission rate of currently used server node is stated, or can not be tested in the predetermined standby server set of node The transmission rate of server node, it is determined that network where the terminal goes wrong, and exports display alarm information.
In a kind of specific implementation mode of the present invention, the biography of the monitoring currently used server node of terminal Defeated rate, including:
Periodically monitor the transmission rate of the currently used server node of terminal.
Server node adjusting apparatus in a kind of CDN network, including:
Rate monitoring modular, at terminal access targeted website, monitoring the currently used server section of the terminal The transmission rate of point, the currently used server node are active node;
Node selecting module, for the case where the currently used server node meets preset adjustment requirement Under, select a transmission rate to be higher than the currently used server node from predetermined standby server set of node Transmission rate standby server node;
Node adjusts module, for the selected standby server node of the node selecting module to be adjusted to active section Point.
In a kind of specific implementation mode of the present invention, further include:
Node listing obtains module, for obtaining the available of the corresponding CDN network in the targeted website from cloud server Server node list, the available server node listing are the information that reports that the cloud server collects multiple terminals Summarized results, it is described to report information for each terminal used server node information when accessing the targeted website;
Node screening module is used for according to preset first screening conditions, in the available server node listing Available server node is screened;
Set of node determining module, for the set of the server node filtered out to be determined as standby server set of node.
In a kind of specific implementation mode of the present invention, the node screening module, including:
Rate test submodule:Transmission speed for testing the server node in the available server node listing obtained Rate;
Node screens submodule, for according to test result, filtering out the server node for meeting preset condition.
In a kind of specific implementation mode of the present invention, further include:
Set of node obtains module, for obtaining the spare of the CDN network corresponding to the targeted website from cloud server Server node collection, the standby server set of node be the cloud server according to preset second screening conditions from the mesh The set of the server node filtered out in the available server node listing of CDN network corresponding to mark website.
In a kind of specific implementation mode of the present invention, the node selecting module, including:
Active node to be selected selects submodule, is wanted for meeting preset adjustment in the currently used server node In the case of asking, select a server node as active node to be selected from predetermined standby server set of node;
Whether rate height judging submodule, the transmission rate for judging the active node to be selected are current higher than described The transmission rate of the server node used, if it is, triggering the node adjustment module, otherwise, triggering repeats control System module;
It is described to repeat control submodule, it is not selected as selecting one from the standby server node obtained The server node of active node to be selected is crossed as active node to be selected, which is inputted into the rate height and is sentenced Disconnected submodule.
In a kind of specific implementation mode of the present invention, further include:
Warning information output module, for by the server node in the predetermined standby server set of node It is used as after active node to be selected successively, if the biography of the server node in the predetermined standby server set of node Defeated rate is no greater than the transmission rate of the currently used server node, or can not test described predetermined spare The transmission rate for the server node that server node is concentrated, it is determined that network where the terminal goes wrong, output display Warning information.
In a kind of specific implementation mode of the present invention, the rate monitoring modular is specifically used for:
Periodically monitor the transmission rate of the currently used server node of terminal.
The technical solution provided using the embodiment of the present invention, at terminal access targeted website, by monitoring the terminal The transmission rate of currently used server node knows the actual transmissions situation of server node used in the terminal, such as The currently used server node of fruit meets preset adjustment requirement, then is selected from predetermined standby server set of node One transmission rate higher than the transmission rate of currently used server node standby server node, and by the active service Device node is adjusted to active node, provides corresponding data transport service to the user, improves the access speed of user, is user Provide better online experience.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is CDN network structural schematic diagram in the embodiment of the present invention;
Fig. 2 is a kind of implementing procedure figure of server node method of adjustment in CDN network in the embodiment of the present invention;
Fig. 3 is another implementing procedure figure of server node method of adjustment in CDN network in the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of server node adjusting apparatus in CDN network in the embodiment of the present invention.
Specific implementation mode
Server node method of adjustment in a kind of CDN network is provided for the embodiments of the invention first to illustrate, it should Method may comprise steps of:
At terminal access targeted website, the transmission rate of the currently used server node of the terminal is monitored, it is described Currently used server node is active node;
In the case where the currently used server node meets preset adjustment requirement, from predetermined spare Server node concentrates the spare clothes for the transmission rate for selecting a transmission rate higher than the currently used server node Business device node;
Selected standby server node is adjusted to active node.
The executive agent of above step is client, which can run on terminal, and can be taken with high in the clouds Business device interacts.
Currently, many large-scale websites use CDN technologies, to reach the load pressure for mitigating Website server, website is promoted Performance and autgmentability, improve different line users access experience purpose.The basic ideas of CDN technologies are to avoid as far as possible Be possible on internet influence message transmission rate and stability bottleneck and link, make content transmission faster, it is more stable.
CDN network structural schematic diagram shown in Figure 1 includes multiple server nodes (CDNS), website in CDN network Server (Web Server) is connect with the server node (CDNS) in CDN network, and web site contents are distributed to each service Device node (CDNS), when user is by terminal access targeted website, CDN network can be according to certain regular distribution server node (CDNS) terminal (USER) is given.
During terminal access targeted website, the currently used server node of the terminal may be because load pressure etc. Problem so that its transmission rate is slower and slower, by monitoring the transmission rate of the currently used server node of the terminal, knows The actual transmissions situation of server node used in the terminal, if currently used server node meets preset adjustment It is required that then selecting a transmission rate to be higher than currently used server node from predetermined standby server set of node Transmission rate standby server node, and the standby server node is adjusted to active node, provided to the user corresponding Data transport service.The technical solution provided using the embodiment of the present invention improves the access speed of user, is carried for user Better online experience is supplied.
In order to make those skilled in the art more fully understand the technical solution in the embodiment of the present invention, below in conjunction with this hair Attached drawing in bright embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described Embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field The every other embodiment that those of ordinary skill is obtained without making creative work, belongs to protection of the present invention Range.
It is shown in Figure 2, a kind of reality of server node method of adjustment in the CDN network provided by the embodiment of the present invention Flow chart is applied, this method may comprise steps of:
S110 monitors the transmission rate of the currently used server node of the terminal at terminal access targeted website.
The currently used server node is active node.
During user using terminal access target website, the currently used server node of the terminal is active section Point.To ensure to provide preferable data transport service to the user, the client monitors terminal by running on the terminal is needed The transmission rate of currently used server node, and judge whether currently used server node meets preset adjustment and want It asks, i.e., whether its transmission rate has reached preset adjustment requirement.If not reaching preset adjustment requirement, it may be considered that The operating status of currently used server node is good, can provide preferable data transport service to the user, not interfere with The normal use of user;If having reached preset adjustment requirement, it may be considered that currently used server node runs shape State is bad, can influence the normal use of user, in such a case, it is possible to further execute the operation of step S120.
In practical applications, client can periodically monitor the transmission speed of the currently used server node of the terminal Rate, you can to currently used server node periodically test the speed, such as carried out every 5 seconds once, often test primary obtain To a transmission rate.In a kind of specific implementation mode of the present invention, a momentary rate threshold value can be preset, transmission is worked as Rate is considered as meeting preset adjustment requirement when being less than preset momentary rate threshold value;Alternatively, considering transmission rate Momentary fluctuation is might have, a number threshold value can be preset again, when transmission rate is continuously less than preset momentary rate door Limit value and while having reached preset number threshold value is thought to meet preset adjustment requirement;Again alternatively, whithin a period of time (such as In 30 seconds), if the average transmission rate of currently used server node is less than preset Mean Speed threshold value, then it is assumed that Meet preset adjustment requirement.Certainly, these threshold values can be set and be adjusted as the case may be, and the present invention is to this It is not limited.
S120, in the case where the currently used server node meets preset adjustment requirement, from predefine Standby server set of node in selection one transmission rate higher than the currently used server node transmission rate Standby server node.
From CDN network structural schematic diagram shown in Fig. 1 it is found that there are multiple services in CDN network corresponding to targeted website Device node, in addition to currently used server node, other server nodes can be used as standby server node.In general, Server node in CDN network is safeguarded by CDN service quotient, when user carries out targeted website access by terminal, The client run in the terminal can know that the node of server node used in corresponding terminal is believed by domain name mapping Breath, but the nodal information for all server nodes that CDN network is configured can not be obtained, and acquisition CDN nets as much as possible The nodal information of server node is beneficial to further carry out node adjustment in network.
In a kind of specific implementation mode of the present invention, standby server set of node can be determined by following steps:
Step 1:The available server node listing of the corresponding CDN network in the targeted website is obtained from cloud server, The available server node listing is that the cloud server collects the summarized results for reporting information of multiple terminals, it is described on Breath of notifying is each terminal used server node information when accessing the targeted website;
Step 2:According to preset first screening conditions, to the available server in the available server node listing Node is screened;
Step 3:The set of the server node filtered out is determined as standby server set of node.
For convenience of description, above three step is combined and is illustrated.
In practical applications, for each terminal at access target website, the corresponding CDN network in targeted website can be each whole One server node of end distribution, can be referred to as available server node, the client run in terminal passes through domain name mapping The nodal information of available server node used in the terminal can be obtained.Including at least server node in nodal information Address identifies, and an address mark can be with unique identification a to server node.
If a certain user will access booking website by certain terminal, by taking railway booking website as an example, which can browse Kyfw.12306.cn is inputted in device client, which parses domain-name information input by user, is somebody's turn to do after parsing The address of the currently used server node of terminal is identified as 124.126.126.109, it is, of course, also possible to which obtaining currently is made The other information of server node, such as transmission rate, place telecommunication line, region information, the client are near The nodal information for including less address mark reports to cloud server.
Foregoing description is carried out from any client angle, and any client all can get respective by identical step The nodal information of the currently used server node of counterpart terminal, and respectively report the nodal information of these server nodes To cloud server, cloud server summarizes the nodal information of these server nodes, you can obtains targeted website pair The available server node listing for the CDN network answered, and the list is safeguarded.That is, beyond the clouds can in server To store available server node listing, wherein each terminal reported comprising multiple client (i.e. terminal) is in access target website When used server node information.
It is understood that different terminals region or place telecommunication line may be different so that assigned service Device node may be different.In this way, as each client constantly reports the node of server node used in its counterpart terminal to believe It ceases, the available server number of nodes recorded in the available server node listing that cloud server is safeguarded is more and more, most The most or all of nodal information for the server node that the corresponding CDN network in targeted website is disposed is obtained at last.
In practical applications, a CDN network might have thousands of a server nodes, it is contemplated that the processing capacity of terminal It can be according to actual conditions, from available server when there is user by terminal access targeted website with the quality level of each node Selected section or whole server node be as standby server node in node listing, it is selected go out standby server node Set be standby server set of node.
It is understood that there are the horizontal lower server node of part mass in the available server node listing, And it regard whole server nodes in available server node listing as standby server node, it will lead to active service The average quality level of device set of node reduces, and is the clothes of circuit of matching farther out or not from terminal region for some Business device node, even if being used for terminal, the access speed to improving terminal does not have any help.So can be according to preset first The server section that screening conditions are screened the available server node in available server node listing, and will be filtered out The set of point is determined as standby server set of node.
In a kind of specific implementation mode of the present invention, above-mentioned steps two may comprise steps of:
Test the transmission rate of the server node in the available server node listing obtained;
According to test result, the server node for meeting preset condition is filtered out.
After client obtains available server node listing, the transmission rate of available server node therein, root are tested According to test result, the server node that transmission rate is higher than a certain predetermined threshold value is filtered out, or right according to the height of transmission rate Server node is ranked up, and filters out the server node of predetermined number.
In view of client test the speed meeting than relatively time-consuming, so server institute beyond the clouds to all available server nodes The case where can also including the information of transmission rate of each available server node in the available server node listing of maintenance Under, client can refer to transmission rate therein, be carried out to the server node in available server node listing primary first Step screening, with ensure test transmission rate in next step operation will not because of available server node quantity it is excessive and excessively consume When.It is understood that a preliminary screening operation can also be carried out by cloud server, cloud server receives multiple terminals After the nodal information reported, according to the height of transmission rate in nodal information, transmission rate is higher than to the service of some preset value Device node screens, and using the server node gone out by a preliminary screening as the available server node of CDN network Client is returned to, also mitigates the pressure of client in this way.
After a preliminary screening, the transmission rate for the available server node that test screen goes out, according to test result, Since the highest available server node of transmission rate, the server node of not more than predetermined number is filtered out, such as default Number is 50, then the server node number finally filtered out is no more than 50.Predetermined number can be set according to actual conditions It sets and adjusts, if predetermined number is too low to may result in client when carrying out node adjustment in standby server set of node Number of nodes is very little, if the excessively high equally possible average quality level that can lead to the node in standby server set of node compared with It is low.
In another specific implementation mode of the present invention, standby server set of node can be determined by following steps:
The standby server set of node of the CDN network corresponding to the targeted website is obtained from cloud server, it is described standby It is CDN net of the cloud server according to preset second screening conditions corresponding to the targeted website with server node collection The set of the server node filtered out in the available server node listing of network.
Under normal circumstances, the processing capacity of cloud server can be higher than the processing capacity of terminal, can be by cloud server According to preset second screening conditions, the available server node in the available server node listing of maintenance is screened, And the server node filtered out is returned into client, as standby server set of node.
For example, each terminal is reported in the nodal information of the currently used available server node of cloud server includes The information such as transmission rate, region, place telecommunication line, client is by its counterpart terminal region and place telecommunication line It is sent to cloud server, cloud server can filter out corresponding available server node conduct according to these information Standby server node feeding back is to client.
Server screens the server node in available server node listing beyond the clouds, processing speed faster, The pressure of client can also be mitigated.
During monitoring the transmission rate of currently used server node in step S110, if currently used service The transmission rate of device node meets preset adjustment requirement, it may be considered that the server node operating status is bad, influences to use The normal use at family.Concrete reason may be that the load pressure of currently used server node is larger or the server Telecommunication line where telecommunication line and terminal where node mismatches or hardware fault has occurred in the server node Deng.In such a case, it is possible to test the speed to the standby server node in predetermined standby server set of node, and Standby server node of one transmission rate of selection higher than the transmission rate of currently used server node.Here, for The selection of the standby server node can also can preferentially select transmission rate highest according to result random selection of testing the speed.
S130:Selected standby server node is adjusted to active node.
Having selected a transmission rate to be higher than currently from predetermined standby server set of node in step S120 makes The standby server node is adjusted to active node by the standby server node of the transmission rate of server node, by The server node provides corresponding data transport service for the terminal.
The technical solution provided using the embodiment of the present invention, at terminal access targeted website, by monitoring the terminal The transmission rate of currently used server node knows the actual transmissions situation of server node used in the terminal, such as The currently used server node of fruit meets preset adjustment requirement, then is selected from predetermined standby server set of node One transmission rate higher than the transmission rate of currently used server node standby server node, and by the active service Device node is adjusted to active node, provides corresponding data transport service to the user, improves the access speed of user, is user Provide better online experience.
Shown in Figure 3, in another embodiment of the present invention, step S120 may comprise steps of:
S121, in the case where the currently used server node meets preset adjustment requirement, from predefine Standby server set of node in select a server node as active node to be selected;
Whether S122 judges the transmission rate of the active node to be selected higher than the currently used server node Otherwise transmission rate, executes step S123 if so, thening follow the steps S130;
S123 selects a server for not being selected as active node to be selected from the standby server node obtained Node repeats step S122 as active node to be selected.
It, can be successively by the transmission rate of the server node in standby server set of node by the execution of above step It is compared with the transmission rate of currently used server node, one transmission rate of final choice is higher than currently used The standby server node of the transmission rate of server node, and it is adjusted to active node.
After regarding the server node in predetermined standby server set of node as active node to be selected successively, If the transmission rate of the server node in the predetermined standby server set of node is no greater than and described currently makes The transmission rate of server node, or the server section in the predetermined standby server set of node can not be tested The transmission rate of point, it is determined that network where the terminal goes wrong, and exports display alarm information.
Corresponding to above method embodiment, the embodiment of the present invention also provides server node in a kind of CDN network and adjusts Device, as shown in figure 4, the device may include with lower module:
Rate monitoring modular 210, at terminal access targeted website, monitoring the currently used server of the terminal The transmission rate of node, the currently used server node are active node;
Node selecting module 220, the feelings for meeting preset adjustment requirement in the currently used server node Under condition, a transmission rate is selected to be higher than the currently used server section from predetermined standby server set of node The standby server node of the transmission rate of point;
Node adjusts module 230, for 220 selected standby server node of the node selecting module to be adjusted to Active node.
The device provided using the embodiment of the present invention, it is current by monitoring the terminal at terminal access targeted website The transmission rate of the server node used knows the actual transmissions situation of server node used in the terminal, if worked as The preceding server node used meets preset adjustment requirement, then one is selected from predetermined standby server set of node Transmission rate higher than the transmission rate of currently used server node standby server node, and by the standby server section Point is adjusted to active node, provides corresponding data transport service to the user, improves the access speed of user, provides to the user Better online experience.
In a kind of specific implementation mode of the present invention, which can also comprise the following modules:
Node listing obtains module, for obtaining the available of the corresponding CDN network in the targeted website from cloud server Server node list, the available server node listing are the information that reports that the cloud server collects multiple terminals Summarized results, it is described to report information for each terminal used server node information when accessing the targeted website;
Node screening module is used for according to preset first screening conditions, in the available server node listing Available server node is screened;
Set of node determining module, for the set of the server node filtered out to be determined as standby server set of node.
In a kind of specific implementation mode of the present invention, the node screening module may include following submodule:
Rate test submodule:Transmission speed for testing the server node in the available server node listing obtained Rate;
Node screens submodule, for according to test result, filtering out the server node for meeting preset condition.
In a kind of specific implementation mode of the present invention, it can also comprise the following modules:
Set of node obtains module, for obtaining the spare of the CDN network corresponding to the targeted website from cloud server Server node collection, the standby server set of node be the cloud server according to preset second screening conditions from the mesh The set of the server node filtered out in the available server node listing of CDN network corresponding to mark website.
In a kind of specific implementation mode of the present invention, the node selecting module 220 may include following submodule:
Active node to be selected selects submodule, is wanted for meeting preset adjustment in the currently used server node In the case of asking, select a server node as active node to be selected from predetermined standby server set of node;
Whether rate height judging submodule, the transmission rate for judging the active node to be selected are current higher than described The transmission rate of the server node used, if it is, triggering the node adjustment module 230, otherwise, triggering repeats Control submodule;
It is described to repeat control submodule, it is not selected as selecting one from the standby server node obtained The server node of active node to be selected is crossed as active node to be selected, which is inputted into the rate height and is sentenced Disconnected submodule.
In a kind of specific implementation mode of the present invention, which can also comprise the following modules:
Warning information output module, for by the server node in the predetermined standby server set of node It is used as after active node to be selected successively, if the biography of the server node in the predetermined standby server set of node Defeated rate is no greater than the transmission rate of the currently used server node, or can not test described predetermined spare The transmission rate for the server node that server node is concentrated, it is determined that network where the terminal goes wrong, output display Warning information.
In a kind of specific implementation mode of the present invention, the rate monitoring modular 210 is specifically used for:
Periodically monitor the transmission rate of the currently used server node of terminal.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method Part explanation.
One of ordinary skill in the art will appreciate that all or part of step in realization above method embodiment is can It is completed with instructing relevant hardware by program, the program can be stored in computer read/write memory medium, The storage medium designated herein obtained, such as:ROM/RAM, magnetic disc, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (10)

1. server node method of adjustment in a kind of CDN network, which is characterized in that including:
At terminal access targeted website, the transmission rate of the currently used server node of the terminal is monitored, it is described current The server node used is active node;
In the case where the currently used server node meets preset adjustment requirement, from predetermined active service Select a transmission rate higher than the standby server of the transmission rate of the currently used server node in device set of node Node;
Selected standby server node is adjusted to active node;
Wherein, standby server set of node is determined by following steps:
The available server node listing of the corresponding CDN network in the targeted website, the clothes are obtained from cloud server Business device node listing is that the cloud server collects the summarized results for reporting information of multiple terminals, and described to report information be each Terminal used server node information when accessing the targeted website;According to preset first screening conditions, to described Available server node in available server node listing is screened;The set of the server node filtered out is determined as Standby server set of node;
Alternatively,
The standby server set of node of the CDN network corresponding to the targeted website, the spare clothes are obtained from cloud server Device set of node of being engaged in is CDN network of the cloud server according to preset second screening conditions corresponding to the targeted website The set of the server node filtered out in available server node listing.
2. according to the method described in claim 1, it is characterized in that, described according to preset first screening conditions, to it is described can It is screened with the available server node in server node list, including:
Test the transmission rate of the server node in the available server node listing obtained;
According to test result, the server node for meeting preset condition is filtered out.
3. according to the method described in claim 1, it is characterized in that, described meet in advance in the currently used server node If adjustment requirement in the case of, select transmission rate to work as higher than described from predetermined standby server set of node The standby server node of the transmission rate of the preceding server node used, including:
In the case where the currently used server node meets preset adjustment requirement, from predetermined active service Select a server node as active node to be selected in device set of node;
Judge whether the transmission rate of the active node to be selected is higher than the transmission rate of the currently used server node;
If it is, executing described the step of selected standby server node is adjusted to active node;
If it is not, then selecting a server for not being selected as active node to be selected from the standby server node obtained Node repeats whether the transmission rate for judging the active node to be selected is worked as higher than described as active node to be selected The step of transmission rate of the preceding server node used.
4. according to the method described in claim 3, it is characterized in that, will be in the predetermined standby server set of node Server node successively be used as active node to be selected after, further include:
Work as if the transmission rate of the server node in the predetermined standby server set of node is be no greater than described The transmission rate of the preceding server node used, or the service in the predetermined standby server set of node can not be tested The transmission rate of device node, it is determined that network where the terminal goes wrong, and exports display alarm information.
5. according to the method described in claim 1, it is characterized in that, described monitor the currently used server node of the terminal Transmission rate, including:
Periodically monitor the transmission rate of the currently used server node of terminal.
6. server node adjusting apparatus in a kind of CDN network, which is characterized in that including:
Rate monitoring modular, at terminal access targeted website, monitoring the currently used server node of the terminal Transmission rate, the currently used server node are active node;
Node selecting module, in the case where the currently used server node meets preset adjustment requirement, from A transmission rate is selected to be higher than the biography of the currently used server node in predetermined standby server set of node The standby server node of defeated rate;
Node adjusts module, for the selected standby server node of the node selecting module to be adjusted to active node;
Further include:
Node listing obtains module, the available service for obtaining the corresponding CDN network in the targeted website from cloud server Device node listing, the available server node listing be the cloud server collect multiple terminals report summarizing for information As a result, described report information for each terminal used server node information when accessing the targeted website;
Node screening module is used for according to preset first screening conditions, to available in the available server node listing Server node is screened;
Set of node determining module, for the set of the server node filtered out to be determined as standby server set of node;
Alternatively, further including:
Set of node obtains module, the active service for obtaining the CDN network corresponding to the targeted website from cloud server Device set of node, the standby server set of node be the cloud server according to preset second screening conditions from the target network The set of the server node filtered out in the available server node listing for corresponding CDN network of standing.
7. device according to claim 6, which is characterized in that the node screening module, including:
Rate test submodule:Transmission rate for testing the server node in the available server node listing obtained;
Node screens submodule, for according to test result, filtering out the server node for meeting preset condition.
8. device according to claim 6, which is characterized in that the node selecting module, including:
Active node to be selected selects submodule, for meeting preset adjustment requirement in the currently used server node In the case of, select a server node as active node to be selected from predetermined standby server set of node;
Rate height judging submodule, for judging the transmission rate of the active node to be selected whether higher than described currently used Server node transmission rate, if it is, triggering node adjustment module, otherwise, triggering repeats control Module;
It is described to repeat control submodule, it was not selected as waiting for for selecting one from the standby server node obtained It selects the server node of active node as active node to be selected, which is inputted into the rate height and judges son Module.
9. device according to claim 8, which is characterized in that further include:
Warning information output module, for by the server node in the predetermined standby server set of node successively After active node to be selected, if the transmission speed of the server node in the predetermined standby server set of node Rate is no greater than the transmission rate of the currently used server node, or can not test the predetermined active service The transmission rate of server node in device set of node, it is determined that network where the terminal goes wrong, and exports display alarm Information.
10. device according to claim 6, which is characterized in that the rate monitoring modular is specifically used for:
Periodically monitor the transmission rate of the currently used server node of terminal.
CN201510181401.6A 2015-04-16 2015-04-16 Server node adjusting method and device in CDN (content delivery network) Active CN104735088B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510181401.6A CN104735088B (en) 2015-04-16 2015-04-16 Server node adjusting method and device in CDN (content delivery network)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510181401.6A CN104735088B (en) 2015-04-16 2015-04-16 Server node adjusting method and device in CDN (content delivery network)

Publications (2)

Publication Number Publication Date
CN104735088A CN104735088A (en) 2015-06-24
CN104735088B true CN104735088B (en) 2018-09-11

Family

ID=53458523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510181401.6A Active CN104735088B (en) 2015-04-16 2015-04-16 Server node adjusting method and device in CDN (content delivery network)

Country Status (1)

Country Link
CN (1) CN104735088B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872611A (en) * 2015-12-07 2016-08-17 乐视云计算有限公司 Pressure-bearing test method and device of cloud live broadcast system
CN105871591A (en) * 2015-12-21 2016-08-17 乐视云计算有限公司 Method and device for distributing CDN (Content Delivery Network) addresses
CN105450675B (en) * 2016-01-25 2021-07-30 杭州施强教育科技有限公司 Method for selecting CDN service node by client in streaming media playing
CN107222327A (en) * 2016-03-22 2017-09-29 中兴通讯股份有限公司 A kind of method and device based on cloud platform management server
CN108076117B (en) * 2016-11-14 2020-08-25 腾讯科技(深圳)有限公司 Data downloading method and user terminal
CN110266741B (en) * 2018-03-12 2020-06-30 贵州白山云科技股份有限公司 Method and device for automatically scheduling client service in content distribution network
CN110225087A (en) * 2019-05-08 2019-09-10 平安科技(深圳)有限公司 Cloud access method, device and storage medium based on global load balancing
CN111526607B (en) * 2020-04-14 2022-07-08 北京小米移动软件有限公司 Communication data processing method and device, terminal equipment and storage medium
CN114205296A (en) * 2021-12-16 2022-03-18 北京有竹居网络技术有限公司 Network access method, device, medium and electronic equipment
CN115277377A (en) * 2022-05-19 2022-11-01 亿点云计算(珠海)有限公司 Service acquisition method, device, terminal and storage medium based on distributed cloud
CN116684468B (en) * 2023-08-02 2023-10-20 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1954565A (en) * 2004-05-19 2007-04-25 Kddi株式会社 Content distribution control system, its distribution schedule creation method, communication terminal, and computer program
CN101119359A (en) * 2006-08-01 2008-02-06 中兴通讯股份有限公司 Policy based service load balancing method
CN104320487A (en) * 2014-11-11 2015-01-28 网宿科技股份有限公司 HTTP dispatching system and method for content delivery network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123565B (en) * 2007-07-30 2011-07-13 中兴通讯股份有限公司 P2P system and resource query method for this system
TWI488473B (en) * 2013-01-02 2015-06-11 Ind Tech Res Inst Auto configuration server and management method for customer premises equipments thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1954565A (en) * 2004-05-19 2007-04-25 Kddi株式会社 Content distribution control system, its distribution schedule creation method, communication terminal, and computer program
CN101119359A (en) * 2006-08-01 2008-02-06 中兴通讯股份有限公司 Policy based service load balancing method
CN104320487A (en) * 2014-11-11 2015-01-28 网宿科技股份有限公司 HTTP dispatching system and method for content delivery network

Also Published As

Publication number Publication date
CN104735088A (en) 2015-06-24

Similar Documents

Publication Publication Date Title
CN104735088B (en) Server node adjusting method and device in CDN (content delivery network)
CN107635015B (en) Optimal path selection system and method for linking mobile terminal and server
CN109167674B (en) Service node scoring method, Domain Name System (DNS) scheduling method and server
CN109005085B (en) Service availability monitoring system, method, device and equipment
CN109787827B (en) CDN network monitoring method and device
CN103945411B (en) A kind of method and device for choosing Network Access Point
EP2787695A1 (en) Subscriber bandwidth notification method
CN103369601A (en) Method for providing large concurrent processing and flow control for mobile phone client sides
CN102868770B (en) A kind of method of distribution interface, equipment and system
CN104202220A (en) Pressure test method and pressure test device
CN106656616A (en) Whole network flow analysis method of computer network
CN103595577B (en) System and method for monitoring whether traffic of interconnection interfaces between ISPs exceeds threshold valve
JP2009135916A (en) Method and system for managing information
CN107846457A (en) Load-balancing method, device, storage medium and the system of server cluster
CN106131931A (en) A kind of network selecting method, Apparatus and system
CN107168853A (en) A kind of server performance information acquisition method, system and substrate control manager
CN107819632A (en) A kind of dynamic load leveling group system based on performance monitoring system and Docker Swarm
CN105335367B (en) Method, device and server for determining application program associated with file directory
CN109714222A (en) The distributed computer monitoring system and its monitoring method of High Availabitity
CN110380981B (en) Flow distribution method and equipment
CN106790409A (en) Load-balancing method and its system based on the treatment of electric business platform user historical data
CN108205520A (en) KPI and QoE regression models method for building up and device
CN106790689B (en) Node recommendation method, server and client based on peer-to-peer network
CN105871750A (en) Resource scheduling method and server
CN110351146A (en) A kind of server-side example determines method, system, client and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant