CN109639459A - A kind of method of adjustment of nominal bandwidth, terminal and can storage medium - Google Patents
A kind of method of adjustment of nominal bandwidth, terminal and can storage medium Download PDFInfo
- Publication number
- CN109639459A CN109639459A CN201811374304.9A CN201811374304A CN109639459A CN 109639459 A CN109639459 A CN 109639459A CN 201811374304 A CN201811374304 A CN 201811374304A CN 109639459 A CN109639459 A CN 109639459A
- Authority
- CN
- China
- Prior art keywords
- client
- server
- bandwidth
- adjustment
- parameter
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0896—Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present embodiments relate to internet area, the method for adjustment of nominal bandwidth a kind of, terminal and can storage medium are disclosed.The method of adjustment of nominal bandwidth in the present invention, comprising: obtain the messaging parameter that N number of client that server to be adjusted is serviced adjusts in the period at one, N is the natural number greater than 1;Obtain machine performance parameter of the server within the adjustment period;The bandwidth aggregate demand of N number of client is determined according to the messaging parameter of client;According to the machine performance parameter of the messaging parameter of client and server, estimates under the premise of guaranteeing server performance, can be provided to the nominal bandwidth of N number of client;Bandwidth aggregate demand and nominal bandwidth are compared, determines whether to adjust the client that server need to service according to comparison result, so that more accurately estimate server can provide bandwidth, preferably plans the client that can be serviced for server.
Description
Technical field
The present embodiments relate to internet areas, the in particular to adjustment technology of nominal bandwidth.
Background technique
CDN (Content Delivery Network, i.e. content distributing network) is the content point constructed on network
Hairnet network passes through the functions such as the load balancing, content distribution, scheduling of central platform by the Edge Server for being deployed in various regions
Module, content needed for obtaining user nearby reduce network congestion, improve user's access response speed and hit rate.CDN manufacturer
It using in server resource, needs to be configured according to device hardware, does rough classification, mainly consider network interface card, CPU, disk, interior
It deposits, formulates nominal bandwidth for each type, indicate the expectation maximum load of the machine.
The inventors of the present application found that server during active service, is generally unable to run to preferable states, especially
It is some servers often in lower than working in the state of performance bottleneck.In this case, it is unfavorable for providing for client good
Accelerate service.
Summary of the invention
A kind of method of adjustment for being designed to provide nominal bandwidth of embodiment of the present invention, terminal and can storage medium,
So that more accurately estimate server can provide bandwidth, the client that can be serviced preferably is planned for server.
In order to solve the above technical problems, embodiments of the present invention provide a kind of method of adjustment of nominal bandwidth, comprising:
The messaging parameter that N number of client that server to be adjusted is serviced adjusts in the period at one is obtained, the N is oneself greater than 1
So number;Obtain machine performance parameter of the server within the adjustment period;It is determined according to the messaging parameter of client
The bandwidth aggregate demand of N number of client;According to the machine performance parameter of the messaging parameter of client and server, estimation
Out under the premise of guaranteeing the server performance, it can be provided to the nominal bandwidth of N number of client;It is total to compare the bandwidth
Demand and the nominal bandwidth determine whether to adjust the client that the server need to service according to comparison result.
Embodiments of the present invention additionally provide a kind of terminal, comprising: at least one processor;And with it is described at least
The memory of one processor communication connection;Wherein, the memory be stored with can by least one described processor execute
Instruction, described instruction is executed by least one described processor, so that at least one described processor is able to carry out as above-mentioned
The method of adjustment of nominal bandwidth.
Embodiments of the present invention additionally provide a kind of computer readable storage medium, are stored with computer program, described
The method of adjustment of above-mentioned nominal bandwidth is realized when computer program is executed by processor.
Embodiment of the present invention determines bandwidth aggregate demand in terms of existing technologies, according to the historical data of client, together
When the available suitable nominal bandwidth of server itself estimated according to historical data, so that it is determined that server is for this N number of visitor
When family provides service, whether service ability is enough, and whether nominal bandwidth is suitable.Particularly due to messaging parameter when active service and
Based on machine performance parameter, convenient for embodying influence of the different clients different business to server performance, make basic as comparing
Nominal bandwidth estimation it is more practical accurate.As it can be seen that the method for adjustment of the nominal bandwidth in embodiment of the present invention can be more
Accurately estimate server can provide bandwidth, preferably plan the client that can be serviced for server, while being suitable for service
The situation of different clients different business, wide adaptability, generalization are good.
As a further improvement, the messaging parameter for obtaining N number of client and being adjusted in the period at one, specifically: respectively
Obtain the peak value that N number of client adjusts the messaging parameter in the period at one.What the present embodiment obtained is parameter peak, is convenient for
The communication pressure maximum period is got, to be conducive to the availability of the nominal bandwidth of estimation.
As a further improvement, the peak value for obtaining N number of client respectively and adjusting the messaging parameter in the period at one, packet
It includes: obtaining the peak value for the messaging parameter for going bur to handle that N number of client was adjusted at one in the period respectively.It is gone in the present embodiment
Bur processing is convenient for excluding the influence of bur, so that the parameter values got more meet reality.
As a further improvement, further include: messaging parameter of the N number of client within an adjustment period is being obtained respectively
Peak value when, obtain the machine performance parameter when messaging parameter of the client is in peak value respectively;According to N number of client's
The machine performance parameter of machine performance parameter and messaging parameter and the server determines each client to the server
The influence of bandwidth;Described to determine whether to adjust the client that the server service according to comparison result, having includes: to adjust
When the client that the server need to service, the client bigger to the bandwidth contributions of the server is preferentially called away.The present embodiment exists
Clearly a kind of client's adjustment mode when need to adjust.
As a further improvement, in the acquisition server in the machine performance parameter in the adjustment period, comprising:
Obtain performance parameter MS when the server is in performance bottleneck and performance parameter M0 when in communication peak value;At described
According to the messaging parameter of the client and the machine performance parameter of the server, estimate before guaranteeing the server performance
It puts, can be provided specifically including in the nominal bandwidth to N number of client: according to the messaging parameter of the client and described
MS calculates the nominal bandwidth Band1 that the server provides within the adjustment period;According to the messaging parameter of the client
With the M0, nominal bandwidth Band2 of the server when each client is in communication peak value is extrapolated;According to the Band1
With the Band2, determines under the premise of guaranteeing the server performance, can be provided to the nominal bandwidth of N number of client
Band0.The clear one kind of the present embodiment can be provided under the premise of guaranteeing the server performance to the volume of N number of client
Determine the evaluation method of bandwidth.
As a further improvement, the Band0=(Band1+Band2)/2;Alternatively, Band0=A* (the Band1+
Band2)/2, wherein the A is float factor.The clearly a variety of calculation formula of the present embodiment, convenient for selecting to make in practical applications
With.
As a further improvement, the adjustment period is one day.One day, which is set, as the adjustment period is convenient for server timely
Dynamic update whether need to adjust as a result, avoid simultaneously adjustment excessively frequently caused by calculate pressure.
As a further improvement, the messaging parameter of the client includes at least following one: outflow bandwidth OUT, flowing into band
Wide IN, connection number K, wherein OUT and K is positively correlated, and IN and K are positively correlated.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys
The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove
Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is the method for adjustment flow chart of the nominal bandwidth in first embodiment according to the present invention;
Fig. 2 is the method for adjustment flow chart of the nominal bandwidth in second embodiment according to the present invention;
Fig. 3 is the structural schematic diagram of the server in the 5th embodiment according to the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention
In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details
And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
The first embodiment of the present invention is related to a kind of methods of adjustment of nominal bandwidth.
The method of adjustment of nominal bandwidth in present embodiment can be applied to a kind of server, be specifically as follows CDN frame
Edge Server under structure (as accelerated cloud platform).It about existing Distributed Computer System, is operated by service provider
With " content distribution network " or " CDN " of management.Service provider typically represents the third using service provider base facility
Side (such as client) provides content delivery services.Such distributed system is typically referred to by one or more network linkings
Host computer set, and software, system, agreement and technology to be designed convenient for various services, such as content transmitting,
Web application accelerates or other support the source area infrastructure of outsourcing.CDN service provider usually pass through number attribute (such as
Website) service offering is provided, it is supplied in customer portals, is then deployed to network.
In present embodiment, individual server or server cluster are configured to service one group of client, several in client's group
The possible dynamic change of a client, each client itself may also dynamically adjust practical business, and due to different client traffic characteristics
It is different, for example some client's Hui Yuan ratios are big, the small number of request of some client files is high, and the big number of request of some client files is small.
Machine performance can be all influenced due to returning the factors such as source size, number of request size, leads to often there are some servers to be unable to run
To nominal bandwidth.And resource is when planning/use the type machine, it is also possible to which, due to business feature, desired bandwidth is high
In actual bandwidth, there is the not enough problem of the resource planned.
The process of the method for adjustment of nominal bandwidth is as shown in Figure 1, specific as follows in present embodiment:
Step 101, the communication that several clients that server to be adjusted is serviced adjust in the period at one is obtained to join
Number.
Specifically, client's number that server is serviced can be one, can be multiple a, service in practical application
Device may service a client more than ten simultaneously, and the resource of each customer plans distribution may be different.It is available in present embodiment
Bandwidth accounting meets the messaging parameter that the client of preset condition adjusts in the period at one in N number of client.For example, bandwidth accounting is arranged
Name first five client or bandwidth accounting be more than threshold value (such as 15%) client.Wherein, the resource of bandwidth accounting and planned assignment
It is positively correlated.The biggish client of resource accounting is often the user being affected to server actual bandwidth, and fetching portion resource accounts for
Bigger client can greatly reduce data acquisition amount, to reduce subsequent data amount of analysis, accelerate to determine the need for
Adjust the nominal bandwidth of server.
More specifically, messaging parameter can include at least following one: outflow bandwidth (that is: client bandwidth) OUT, inflow
Bandwidth (that is: returning upper layer bandwidth) IN, connection number K.Wherein, flow out bandwidth OUT and flow into bandwidth IN, between connection number K there is also
Correlation, specific as follows: OUT and K is positively correlated, and OUT=coefficient is positively correlated multiplied by K, IN and K, and IN=coefficient is multiplied by K.
Step 102, machine performance parameter of the server within the adjustment period is obtained.
Specifically, machine performance parameter can be denoted as M, be a comprehensive parameters, for example be to combine processor (i.e.
CPU), the parameter of memory and each hardware service condition, can be obtained by pressure test.More specifically, when obtaining, it can be with
According to the access time in a cycle, Access Success Rate, performance parameter MS when server is in performance bottleneck and place are obtained
Performance parameter M0 when communicating peak value.Wherein, performance bottleneck is server performance critical point, when reaching 80% such as CPU.
From the point of view of above-mentioned steps 101 and step 102, what step 101 obtained is the machine data of customer perspective, step 102
What is obtained is the machine data of server side.Specifically, an adjustment period can be one day, that is to say, that fortune daily
Row is primary to adjust.
Step 103, the bandwidth aggregate demand of several clients is determined according to the messaging parameter of client.
Specifically, the messaging parameter obtained in step 101 and machine performance parameter can be classified as following table, led to
Cross list and obtain with can be convenient the aggregate values of each column:
Client | OUT | IN | K | M |
A | ||||
B | ||||
C | ||||
D | ||||
E | ||||
It amounts to |
Wherein, bandwidth aggregate demand refers to the aggregate values OUTALL of OUT column.
Step 104, available nominal bandwidth is estimated.
Specifically, this step estimates and is guaranteeing according to the messaging parameter of client and the machine performance parameter of server
Under the premise of server performance, it can be provided to the nominal bandwidth of several clients.
More specifically, server can not be or logical without limitation provision bandwidth, when client's request amount at a certain moment is too many
After traffic is too big, will result in the performance decline of server, and performance drops to certain value, it may cause shapes such as " crash "
State can not be offering customers service.So the available nominal bandwidth of server, must be actually that server is in still just
The state of informal dress business.
In present embodiment, this step can be specifically included:
(1) according to the messaging parameter of client and MS (server is in performance parameter when performance bottleneck), service is calculated
The nominal bandwidth Band1 that device provides within the adjustment period.
(2) according to the messaging parameter of client and M0 (server is in performance parameter when communication peak value), service is extrapolated
Nominal bandwidth Band2 of the device when each client is in communication peak value.
(3) it according to Band1 and Band2, determines under the premise of guaranteeing server performance, can be provided to N number of client's
Nominal bandwidth Band0.
Step 105, bandwidth aggregate demand and nominal bandwidth are compared, determines whether that adjusting server needs to service according to comparison result
Client.
Specifically, it is determined in the OUTALL and step 104 obtained in comparison step 103 in present embodiment
Band0 determines whether the client that adjustment server need to service according to comparison result.
More specifically, if OUTALL > Band0, it is determined that the client for servers' layout to be adjusted is excessive or industry
It is engaged in overweight, the resource of server is unable to satisfy the demand of these clients, so determining the client needed to adjust in client's group.Adjustment
Method, can be by the way of calling client away in practical application, can also be by the way of adjustment business, specifically can basis
Actual conditions are adjusted, and reduce server stress, are servers' layout more reasonable client or business.
On the other hand, if OUTALL < Band0, it is determined that the client for servers' layout to be adjusted is insufficient or suitable,
At least without calling client away, wherein it is specifically identified as insufficient or suitable, needs the difference according to OUTALL and Band0, in conjunction with
Actual conditions are judged, if insufficient, can be increased client or be increased business, if appropriate, then without adjustment, maintain the statusquo
?.
It needs to continue to explain, in actually adjustment, if it is considered that the number of adjustment is reduced to the greatest extent, then can be right
When the comparison result of OUTALL and Band0 is considered, principle is considered in adjustment, and the Band0 for example estimated provides floating space, specifically
Say, can by estimate can provide bandwidth B and0 setting floating coefficient.More specifically, floating coefficient can for 0.8~
1.2, that is to say, that section is set by Band0, by taking the Band0 estimated is 1000M as an example, as long as then being in: 800M~
Between 1200M, the client for being recognized as servers' layout to be adjusted is appropriate, without being adjusted.
It is noted that the method for adjustment of the nominal bandwidth in present embodiment is applied to server, in practical application,
Also it can be applied to dedicated adjustment terminal, which connect with server communication to be adjusted, to obtain all kinds of parameters,
Whether the client that adjustment terminal is serviced according to all kinds of Parameter analysis servers later is suitable, and specific implementation process is no longer superfluous herein
It states.
As it can be seen that present embodiment determines bandwidth aggregate demand according to the historical data of client, while being estimated according to historical data
The available suitable nominal bandwidth of server itself, so that it is determined that server when for this N number of offering customers service, services energy
Whether power is enough, and whether nominal bandwidth is suitable.Particularly due to the machine performance ginseng of messaging parameter and server when active service
Based on number, convenient for embodying influence of the different clients different business to server performance, make as the nominal bandwidth for comparing basis
Estimation it is more practical accurate.As it can be seen that the method for adjustment of the nominal bandwidth in present embodiment can more accurately estimate clothes
Business device can provide bandwidth, preferably plan the client that can be serviced for server, while it is not of the same trade or business to be suitable for service different clients
The situation of business, wide adaptability, generalization are good.In addition, in the present embodiment, obtaining customer data can only fetching portion resource
The biggish client of accounting can greatly reduce data acquisition amount and amount of analysis under the premise of guaranteeing to adjust accuracy, thus plus
It regulates the speed fastly.
Second embodiment of the present invention is related to a kind of method of adjustment of nominal bandwidth.Specify a kind of specific normal band
Wide method of adjustment is obtaining client in a messaging parameter adjusted in the period in present embodiment, is mainly obtaining client
The peak value of the messaging parameter in the period is adjusted at one.
The method of adjustment of nominal bandwidth in present embodiment is as shown in Fig. 2, by taking a cycle is one day as an example, specifically
It is bright as follows:
Step 201, the communication that several clients that server to be adjusted is serviced adjust in the period at one is obtained to join
Several peak values.
When specifically, due to communication peak value, the pressure of server is maximum, and it is maximum extreme that Analysis server is in pressure
The data of situation are conducive to understand server in the performance of extreme case, while can greatly reduce the acquisition of data volume.
More specifically, bur facture can be used to exclude the influence of bur in cycle peak data acquisition,
Such as: 8 minute datas (with a data instance per minute) around centered on target point removes the value of object pixel itself,
With the value of the average value of 8 minute datas around replacement target point, the value of replaced target point is exactly bur treated peak
Value.
It can be found that when obtaining outflow bandwidth OUT, flowing into bandwidth IN or connection number K bur can be removed using above-mentioned
Facture treated peak value.
In present embodiment, step 202 to step 205 is similar to step 105 with step 102 in first embodiment,
Details are not described herein.
As it can be seen that the data obtained in the method for adjustment of nominal bandwidth in present embodiment specifically obtained is peak value, and can
To be bur treated peak value, so that convenient for getting the communication pressure maximum period, to be conducive to the normal band of estimation
Wide availability, moreover it is possible to the influence of bur is excluded, so that the parameter values got more meet reality.
Third embodiment of the present invention is related to a kind of method of adjustment of nominal bandwidth.Specify a kind of specific normal band
Wide method of adjustment, specific, concrete reduce server when needing to adjust the client that server need to service, by calling client away
Pressure, and preferentially call the client bigger to the bandwidth contributions of server away.
Specifically, N number of client is being obtained respectively in a peak value for adjusting the messaging parameter in the period, obtaining respectively
The messaging parameter of client is in machine performance parameter when peak value;According to the machine performance parameter of several clients and communication ginseng
Several and server machine performance parameter, determines influence of each client to the bandwidth of server;It is according to comparison result determination
The client that no adjustment server need to service, having includes: preferentially to call away when adjusting the client that server need to service to server
The bigger client of bandwidth contributions.
It wherein, can be according to the outflow flow OUT of each client when determining influence of each client to the bandwidth of server
The machine performance parameter M of accounting and each client in the outflow flow summation OUTALL of all clients, obtains each client
Influence to server performance.Such as: influence of the A client to server performance can use following formula: MA* (OUTA/
OUTALL)。
Wherein, MA is machine performance parameter when A client is in communication peak value, when OUTA is that A client is in communication peak value
Outflow flow, OUTALL is respectively at the sum of outflow flow when communication peak value for server institute to be adjusted services client.
When needing to call client away, the principle for being sized to call away client can be will affect, it is bigger such as preferentially to call influence away
Client.
As it can be seen that present embodiments provide for a kind of adjustment sides for preferentially calling the client bigger on server bandwidth influence away
Other principles for calling client away can also be arranged in practical application, as priority determines method in formula.Concrete example is as follows: planning
When institute's services client, priority is set for each client, it is lower preferentially to call priority away later when needing to call portions of client away
Client.In addition, can be combined with a variety of principles in practical application, as summation consider each client priority and each visitor
Influence of the family to server bandwidth determines the client for needing to call away using comprehensive analysis.Other can also be set in practical application
It calls principle away, will not enumerate herein.
4th embodiment of the invention is related to a kind of method of adjustment of nominal bandwidth.Specify a kind of specific normal band
Wide method of adjustment, present embodiment is obtaining the bandwidth aggregate demand of server institute to be adjusted services client, and estimates
Under the premise of guaranteeing server performance, when can be provided the nominal bandwidth to several clients, specific calculation formula is given,
Flow chart in present embodiment is as shown in Figure 1, be described as follows:
Step 101 in present embodiment obtains several clients that server to be adjusted is serviced and adjusts at one
Messaging parameter in period.In practical application, when obtaining messaging parameter, the machine performance of customer side can also be further obtained
Parameter M.
Step 104 in present embodiment is estimated according to the machine performance parameter of the messaging parameter of client and server
Under the premise of guaranteeing server performance, it can be provided to the nominal bandwidth of several clients.Calculating process is as follows:
OUTALL=OUTA+OUTB+OUTC+...OUTn; (1)
Above formula (1) calculates the peak value outflow flow summation OUTALL of the biggish n client of resource accounting.
INALL=INA+INB+INC+...Inn; (2)
Above formula (2) calculates time upper layer peak flow summation of the biggish n client of resource accounting.
KALL=KA+KB+KC+...Kn; (3)
Above formula (3) calculates the biggish n number of client connections summation of resource accounting.
MALL=MA* (OUTA/OUTALL)+MB* (OUTA/OUTALL)+MC* (OUTA/OUTALL)+..Mn* (OUTA/
OUTALL); (4)
Above formula (4) calculates the minimum of the performance parameter of server, especially by vacation based on the n client serviced
Determine n client and be in outflow maximum value bandwidth in synchronization, estimates the machine performance parameter value of server at that time, that is,
It says, machine performance parameter when server bears traffic peak is estimated, at this time it is also assumed that being the worst feelings of server
Condition.Wherein, above-mentioned n client can be preset n client, if bandwidth accounting meets n client of preset condition, with main
Data operation is carried out based on client, is conducive to reduce data volume, is accelerated arithmetic speed.
Band1=OUTALL* (MS*0.8/M0); (5)
Above formula (5) calculates the nominal bandwidth that actual, historical data corresponds to real server.
Band2=OUTALL* (MALL/M0); (6)
Above formula (6) calculates the nominal bandwidth of worst condition
Band0=(Band1+Band2)/2; (7)
Above formula (7) determines that server to be adjusted is provided to above-mentioned n client's using the average value of formula (5) and formula (6)
Nominal bandwidth, this estimation mode have comprehensively considered server and have carried bandwidth and above-mentioned n under by maximum pressure
Client's resource actually required, so that estimation result more closing to reality situation.It can also be using other estimations in practical application
Method will not enumerate herein.
It should be further noted that calculation formula may is that if Band0 is equipped with float factor A
Band0=A* (Band1+Band2)/2.
As it can be seen that can rapidly and accurately realize the tune of nominal bandwidth using the calculation formula of specific, concrete in present embodiment
Adjusting method, so that replicability is further promoted.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or
Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection scope of this patent
It is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changed
Core design with process is all in the protection scope of the patent.
Fifth embodiment of the invention is related to a kind of server, as shown in Figure 3, comprising:
At least one processor;And the memory being connect at least one processor communication;Wherein, memory stores
There is the instruction that can be executed by least one processor, instruction is executed by least one processor, so that at least one processor energy
Enough methods of adjustment executed such as first embodiment any one nominal bandwidth into the 4th embodiment.
Wherein, memory is connected with processor using bus mode, and bus may include the bus of any number of interconnection
And bridge, bus is by one or more processors together with the various circuit connections of memory.Bus can also will be such as peripheral
Together with various other circuit connections of management circuit or the like, these are all well known in the art for equipment, voltage-stablizer
, therefore, it will not be further described herein.Bus interface provides interface between bus and transceiver.Transceiver
Can be an element, be also possible to multiple element, such as multiple receivers and transmitter, provide for over a transmission medium with
The unit of various other device communications.The data handled through processor are transmitted on the radio medium by antenna, further,
Antenna also receives data and transfers data to processor.
Processor is responsible for managing bus and common processing, can also provide various functions, including periodically, peripheral interface,
Voltage adjusting, power management and other control functions.And memory can be used for storage processor and execute operation when institute
The data used.
Sixth embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program.Computer
Above method embodiment is realized when program is executed by processor.
That is, it will be understood by those skilled in the art that implement the method for the above embodiments be can be with
Relevant hardware is instructed to complete by program, which is stored in a storage medium, including some instructions are to make
It obtains an equipment (can be single-chip microcontroller, chip etc.) or processor (processor) executes each embodiment method of the application
All or part of the steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention,
And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.
Claims (10)
1. a kind of method of adjustment of nominal bandwidth characterized by comprising
The messaging parameter that N number of client that server to be adjusted is serviced adjusts in the period at one is obtained, the N is greater than 1
Natural number;
Obtain machine performance parameter of the server within the adjustment period;
The bandwidth aggregate demand of N number of client is determined according to the messaging parameter of client;
According to the machine performance parameter of the messaging parameter of client and server, estimates and guaranteeing the server
Under the premise of energy, it can be provided to the nominal bandwidth of N number of client;
The bandwidth aggregate demand and the nominal bandwidth are compared, determines whether that adjusting the server needs to service according to comparison result
Client.
2. the method for adjustment of nominal bandwidth according to claim 1, which is characterized in that described to obtain N number of client at one
The messaging parameter in the period is adjusted, specifically:
The peak value that N number of client adjusts the messaging parameter in the period at one is obtained respectively.
3. the method for adjustment of nominal bandwidth according to claim 2, which is characterized in that described to obtain N number of client respectively and exist
The peak value of messaging parameter in one adjustment period, comprising:
The peak value for the messaging parameter for going bur to handle that N number of client was adjusted at one in the period is obtained respectively.
4. the method for adjustment of nominal bandwidth according to claim 2, which is characterized in that further include:
N number of client is being obtained respectively in a peak value for adjusting the messaging parameter in the period, obtains the institute of client respectively
State machine performance parameter when messaging parameter is in peak value;
According to the machine performance parameter of the machine performance parameter of N number of client and messaging parameter and server, determine
Influence of each client to the bandwidth of the server;
Described to determine whether to adjust the client that the server service according to comparison result, having includes: to adjust the clothes
When the client that business device need to service, the client bigger to the bandwidth contributions of the server is preferentially called away.
5. the method for adjustment of nominal bandwidth according to claim 1, which is characterized in that in the acquisition server described
It adjusts in the machine performance parameter in the period, comprising: obtain the performance parameter MS when server is in performance bottleneck and place
Performance parameter M0 when communicating peak value;
In the machine performance parameter of the messaging parameter according to client and server, estimates and guaranteeing the clothes
Under the premise of device performance of being engaged in, it can be provided specifically including in the nominal bandwidth to N number of client:
According to the messaging parameter and the MS of client, calculate the server provided within the adjustment period it is specified
Bandwidth B and1;
According to the messaging parameter of the client and the M0, volume of the server when each client is in communication peak value is extrapolated
Determine bandwidth B and2;
According to the Band1 and the Band2, determines under the premise of guaranteeing the server performance, can be provided to the N
The nominal bandwidth Band0 of a client.
6. the method for adjustment of nominal bandwidth according to claim 5, which is characterized in that the Band0=A* (Band1+
Band2)/2, wherein the A is float factor.
7. the method for adjustment of nominal bandwidth according to any one of claim 1 to 6, which is characterized in that the acquisition is N number of
The messaging parameter that client adjusts in the period at one, specifically: it obtains bandwidth accounting in N number of client and meets preset condition
The messaging parameter that client adjusts in the period at one.
8. the method for adjustment of nominal bandwidth according to any one of claim 1 to 6, which is characterized in that client's is described
Messaging parameter includes at least following one: outflow bandwidth OUT, flowing into bandwidth IN, connection number K, wherein the OUT and the K are just
Correlation, the IN and the K are positively correlated.
9. a kind of server characterized by comprising
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one
It manages device to execute, so that at least one described processor is able to carry out the tune of the nominal bandwidth as described in any in claim 1 to 8
Adjusting method.
10. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program is located
Reason device realizes the method for adjustment of nominal bandwidth described in any item of the claim 1 to 8 when executing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811374304.9A CN109639459B (en) | 2018-11-19 | 2018-11-19 | Method for adjusting rated bandwidth, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811374304.9A CN109639459B (en) | 2018-11-19 | 2018-11-19 | Method for adjusting rated bandwidth, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109639459A true CN109639459A (en) | 2019-04-16 |
CN109639459B CN109639459B (en) | 2022-09-23 |
Family
ID=66068322
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811374304.9A Active CN109639459B (en) | 2018-11-19 | 2018-11-19 | Method for adjusting rated bandwidth, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109639459B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113079045A (en) * | 2021-03-26 | 2021-07-06 | 北京达佳互联信息技术有限公司 | Bandwidth allocation method, device, server and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050002336A (en) * | 2003-06-30 | 2005-01-07 | 주식회사 케이티 | System for supplying bandwidth on demand service of dedicated internet line and method thereof |
CN101505244A (en) * | 2009-03-27 | 2009-08-12 | 北京星网锐捷网络技术有限公司 | Bandwidth measurement method and apparatus |
CN102932280A (en) * | 2012-10-16 | 2013-02-13 | 华为技术有限公司 | Method, device and system for realizing bandwidth control |
CN103051563A (en) * | 2012-12-13 | 2013-04-17 | 上海交通大学 | Upstream bandwidth allocation scheduling algorithm of O-OFDM (optical orthogonal frequency division multiplexing) access system |
CN107294748A (en) * | 2016-04-01 | 2017-10-24 | 中兴通讯股份有限公司 | A kind of bandwidth adjusting method and device |
-
2018
- 2018-11-19 CN CN201811374304.9A patent/CN109639459B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050002336A (en) * | 2003-06-30 | 2005-01-07 | 주식회사 케이티 | System for supplying bandwidth on demand service of dedicated internet line and method thereof |
CN101505244A (en) * | 2009-03-27 | 2009-08-12 | 北京星网锐捷网络技术有限公司 | Bandwidth measurement method and apparatus |
CN102932280A (en) * | 2012-10-16 | 2013-02-13 | 华为技术有限公司 | Method, device and system for realizing bandwidth control |
CN103051563A (en) * | 2012-12-13 | 2013-04-17 | 上海交通大学 | Upstream bandwidth allocation scheduling algorithm of O-OFDM (optical orthogonal frequency division multiplexing) access system |
CN107294748A (en) * | 2016-04-01 | 2017-10-24 | 中兴通讯股份有限公司 | A kind of bandwidth adjusting method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113079045A (en) * | 2021-03-26 | 2021-07-06 | 北京达佳互联信息技术有限公司 | Bandwidth allocation method, device, server and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109639459B (en) | 2022-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10623277B2 (en) | Network service pricing and resource management in a software defined networking environment | |
AU2017404110B2 (en) | Agent allocation method and device, server, and storage medium | |
CN108667748B (en) | Method, device, equipment and storage medium for controlling bandwidth | |
WO2021004063A1 (en) | Cache server bandwidth scheduling method and device | |
CN110351375B (en) | Data processing method and device, computer device and readable storage medium | |
US20140089510A1 (en) | Joint allocation of cloud and network resources in a distributed cloud system | |
CN108512672B (en) | Service arranging method, service management method and device | |
CN109327550A (en) | A kind of distribution method of access request, device, storage medium and computer equipment | |
CN110297698B (en) | Multi-priority dynamic current limiting method, device, server and storage medium | |
CN105791254B (en) | Network request processing method and device and terminal | |
CN110502321A (en) | A kind of resource regulating method and system | |
CN111614754B (en) | Fog-calculation-oriented cost-efficiency optimized dynamic self-adaptive task scheduling method | |
CN106169121A (en) | The seat layered approach of call center and system | |
CN109697637A (en) | Object type determines method, apparatus, electronic equipment and computer storage medium | |
CN103997515B (en) | Center system of selection and its application are calculated in a kind of distributed cloud | |
CN110121213A (en) | A kind of multi-service resource dispatching method and device | |
CN104301241B (en) | A kind of SOA dynamic load distributing methods and system | |
Cowdrey et al. | Applying queueing theory for the optimization of a banking model | |
CN109639459A (en) | A kind of method of adjustment of nominal bandwidth, terminal and can storage medium | |
CN109587068A (en) | Flow switching method, device, equipment and computer readable storage medium | |
CN110933181B (en) | Routing method, device and system and electronic equipment | |
CN110308965A (en) | The rule-based heuristic virtual machine distribution method and system of cloud data center | |
CN110430236A (en) | A kind of method and dispatching device of deployment business | |
CN109450684A (en) | A kind of network slice systems physical node capacity extensions method and device | |
WO2017213065A1 (en) | Service management system, service management method, and recording medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |