The content of the invention
The invention provides a kind of bandwidth adjusting method and device, its purpose is to solve existing operatorIn network, most business reorganizations one by one during Bandwidth adjustment are carried out, cumbersome, risk is high, workload is bigProblem.
In order to achieve the above object, The embodiment provides a kind of bandwidth adjusting method, its feature existsIn, including:
It is determined that the business to be adjusted in client's layer service in static tunnel;
The service related information of business to be adjusted is obtained, service related information at least includes:Business to be adjustedUser tag and type of service;
According to service related information, the bandwidth of business to be adjusted is adjusted.
Preferably, it is determined that the step of business to be adjusted in client's layer service in static tunnel, including:
When the reserved bandwidth sum for detecting all client's layer services carried on static tunnel, more than static stateDuring the reserved bandwidth of the physical port in tunnel, it is business to be adjusted to determine all client's layer services.
Preferably, it is determined that the step of business to be adjusted in client's layer service in static tunnel, including:
Obtain that user is selected, static tunnel client's layer service the first business to be adjusted and first treatThe related service of adjustment business, determines that business to be adjusted includes the first business to be adjusted and the first industry to be adjustedThe related service of business.
Preferably, it is determined that the step of business to be adjusted in client's layer service in static tunnel, including:
According to the default filter condition for business to be adjusted, in the client's layer service for obtaining static tunnelBusiness to be adjusted.
Preferably, according to service related information, the step of adjusting the bandwidth of business to be adjusted, including:
Institute's business to be adjusted is classified according to service related information;
Determine the corresponding first default desired bandwidth of each classification of business to be adjusted;
Issue the first default desired bandwidth of business to be adjusted.
Preferably, after the step of determining each classification corresponding first default desired bandwidth of business to be adjusted,This method also includes:
According to the service topology in static tunnel, the second default desired bandwidth of the service layer in service topology is determined,The bandwidth sum for all client layers that second default desired bandwidth is carried by service layer.
Preferably, according to the service topology in static tunnel, determine that second of the service layer in service topology is presetAfter the step of desired bandwidth, this method also includes:
Desired bandwidth is preset to the second of static tunnel to verify;
If verification passes through, the first default desired bandwidth of business to be adjusted is issued, and issues the of service layerTwo default desired bandwidths;
If verification does not pass through, error message is pointed out.
Preferably, the step of desired bandwidth is verified is preset to the second of static tunnel, including:
Judge whether the second default desired bandwidth in static tunnel exceedes the reserved of the physical port in static tunnelBandwidth:
If being no more than, verification passes through;
If exceeding, verify and do not pass through.
Preferably, service related information also includes:
Bandwidth before the adjustment of business to be adjusted;
Wherein, after the step of obtaining the service related information of business to be adjusted, this method also includes:
Business to be adjusted is accordingly generated into service lists with service related information.
Preferably, according to service related information, after the step of adjusting the bandwidth of business to be adjusted, this methodAlso include:
By bandwidth after the adjustment of business to be adjusted, accordingly it recorded in service lists.
To achieve these goals, embodiments of the invention additionally provide a kind of Bandwidth adjustment device, including:
Determining module, the business to be adjusted in client's layer service for determining static tunnel;
Acquisition module, the service related information for obtaining business to be adjusted, service related information at least includes:The user tag and type of service of business to be adjusted;
Adjusting module, for according to service related information, adjusting the bandwidth of business to be adjusted.
Preferably, determining module includes:
First determination sub-module, the pre- of all client's layer services carried on static tunnel is detected for working asStay bandwidth sum, more than the physical port in static tunnel reserved bandwidth when, determine that all client's layer services areBusiness to be adjusted.
Preferably, determining module includes:
Second determination sub-module, for obtain user it is selected, static tunnel client's layer service firstThe related service of business to be adjusted and the first business to be adjusted, determines that business to be adjusted includes first to be adjustedThe related service of business and the first business to be adjusted.
Preferably, determining module includes:
3rd determination sub-module, for according to the default filter condition for business to be adjusted, obtaining staticBusiness to be adjusted in client's layer service in tunnel.
Preferably, adjusting module includes:
Business classification submodule, for being classified according to service related information to institute's business to be adjusted;
Bandwidth determination sub-module, the corresponding first default expectation band of each classification for determining business to be adjustedIt is wide;
Bandwidth issues submodule, the default desired bandwidth of first for issuing business to be adjusted.
Preferably, the device also includes:
Desired bandwidth determining module, each classification pair for determining business to be adjusted in bandwidth determination sub-moduleAfter the first default desired bandwidth answered,
According to the service topology in static tunnel, the second default desired bandwidth of the service layer in service topology is determined,The bandwidth sum for all client layers that second default desired bandwidth is carried by service layer.
Preferably, the device also includes:
Correction verification module, in service topology of the desired bandwidth determining module according to static tunnel, determining businessAfter second default desired bandwidth of the service layer in topology,
Desired bandwidth is preset to the second of static tunnel to verify;
If verification passes through, the first default desired bandwidth of business to be adjusted is issued, and issues the of service layerTwo default desired bandwidths;
If verification does not pass through, error message is pointed out.
Preferably, correction verification module includes:
Whether judging submodule, the second default desired bandwidth for judging static tunnel exceedes static tunnelThe reserved bandwidth of physical port:
If being no more than, verification passes through;
If exceeding, verify and do not pass through.
Preferably, service related information also includes:
Bandwidth before the adjustment of business to be adjusted;
Wherein, the device also includes:
List Generating Module, for after the service related information that acquisition module obtains business to be adjusted,
Business to be adjusted is accordingly generated into service lists with service related information.
Preferably, the device also includes:
List update module, for, according to service related information, adjusting the band of business to be adjusted in adjusting moduleAfter width,
By bandwidth after the adjustment of business to be adjusted, accordingly it recorded in service lists.
The such scheme of the present invention at least includes following beneficial effect:
Bandwidth adjusting method and device that embodiments of the invention are provided, according to the user tag of business to be adjustedOr the bandwidth of type of service adjustment in batches business to be adjusted, without business reorganization one by one, workload is reduced,The situation of leakage choosing or wrong choosing occurs when it also avoid selecting one by one;And after business to be adjusted is determined, will treatAdjustment business generates service lists with service related information, adds the maintainability of system;After the adjustmentBefore bandwidth is issued, also the second default desired bandwidth is verified, it is to avoid the bandwidth resources of physical port are notFoot, causes adjustment to fail, solves in existing carrier network, carries out most industry one by one during Bandwidth adjustmentBusiness adjustment, the problem of cumbersome, risk is high, workload is big.
Embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with attachedFigure and specific embodiment are described in detail.
There is provided a kind of bandwidth adjusting method and device for the problem of present invention is directed to existing.
First embodiment
Referring to Fig. 1, the first embodiment of the present invention provides a kind of bandwidth adjusting method, including:
Step 101, it is determined that business to be adjusted in client's layer service in static tunnel.
Wherein, business to be adjusted can be according to default rule screening or user according to service topologyAutonomous selection, or the business that system detectio exceedes corresponding service layer bandwidth to client's layer bandwidth and identified.
Step 102, the service related information of business to be adjusted is obtained, service related information at least includes:TreatThe user tag and type of service of adjustment business.
Wherein, user tag is usually character string, for identifying user identity.Obtain the use of business to be adjustedFamily label, when needing to adjust the bandwidth of business of some user, can select the use according to user tag batchThe business at family;, can be according to type of service, adjustment in batches when needing to adjust the bandwidth of business of a certain typeThe bandwidth of the corresponding business of the type of service.
Step 103, according to service related information, the bandwidth of business to be adjusted is adjusted.
Wherein, according to type of service or user tag, the bandwidth of adjustment in batches business to be adjusted.
Specifically, step 103 includes:
Institute's business to be adjusted is classified according to service related information;
Determine the corresponding first default desired bandwidth of each classification of business to be adjusted;
Issue the first default desired bandwidth of business to be adjusted.
Wherein, business to be adjusted is classified according to user tag or type of service, and determines each classificationThe corresponding first default desired bandwidth of business to be adjusted, then issue all business first default expect bandIt is wide;It is understood that the first default desired bandwidth of each classification can be with identical, then all to be adjustedBandwidth all same after business reorganization;Set each classification if desired has the respective first default expectation bandIt is wide, then corresponding setting, after adjustment, the bandwidth phase after same category of business reorganization to be adjustedTogether, after different classes of business reorganization to be adjusted bandwidth is different.In embodiments of the invention, Ke YigenAccording to user tag or type of service, adjustment in batches service bandwidth, without adjusting one by one, reduces workAmount, the situation that leakage choosing or wrong choosing occur when it also avoid selecting one by one.
Alternatively, step 101 includes:
When the reserved bandwidth sum for detecting all client's layer services carried on static tunnel, more than static stateDuring the reserved bandwidth of the physical port in tunnel, it is business to be adjusted to determine all client's layer services.
Wherein, by forming a static tunnel between two physical ports, and carried on a static tunnelAccording to service topology it is again service layer, client mutually between multiple client's layer services, these client's layer servicesThe relativeness of layer.If the reserved bandwidth sum of all client's layer services carried on a static tunnelMore than the physical port in static tunnel reserved bandwidth when, it will because inadequate resource influence business carry out, thereforeNeed the bandwidth of adjustment client's layer service.
Alternatively, step 101 includes:
Obtain that user is selected, static tunnel client's layer service the first business to be adjusted and first treatThe related service of adjustment business, determines that business to be adjusted includes the first business to be adjusted and the first industry to be adjustedThe related service of business.
Wherein, business to be adjusted can voluntarily select to determine according to user, such as can not meet the bandwidth of userThe business of demand, and business to be adjusted should also include the related service of the selected business of user, such as takeBusiness layer service.
Alternatively, step 101 includes:
According to the default filter condition for business to be adjusted, in the client's layer service for obtaining static tunnelBusiness to be adjusted.
Wherein, business to be adjusted can be drawn according to the screening of default filter condition;Such as set filter condition beBandwidth is more than a default value, then meeting the business of the filter condition can be screened as business to be adjusted;OrPerson targetedly sets the bandwidth threshold of some business, and the business more than bandwidth threshold will be screened out.Filter condition can also include some CAC parameters, such as CAC switches, flow control switch, promiseBandwidth CIR and peak bandwidth PIR etc., using above-mentioned CAC parameters as default filter condition, when beingSystem detect current parameter with it is default be not inconsistent when (when i.e. CAC parameter configurations are incorrect), by what is be not inconsistentBusiness is defined as business to be adjusted.
Alternatively, service related information also includes:Bandwidth before the adjustment of business to be adjusted.
Wherein, bandwidth before the adjustment of business to be adjusted is obtained, is easy to user to carry out operation maintenance, and be adjustmentBandwidth provides foundation.
Wherein, after step 102, this method also includes:
Business to be adjusted is accordingly generated into service lists with service related information.
Wherein, service lists include business to be adjusted and the related service information corresponding with business to be adjusted,Related service information includes:User tag and type of service, can also include the bandwidth before adjustment.NeedIllustrate, CAC parameters can also be included in service lists, such as CAC switches, flow control are openedPass, guaranteed bandwidth CIR and peak bandwidth PIR etc., record these parameters, are easy to user to understand and wait to adjustThe information of whole business.On the one hand set service lists is to prevent user's leakage from selecting leakage, is on the other hand easy to userSelect and adjust in batches bandwidth.User freely can sort and select in the service lists showed, canSelected or the business for needing to rectify and improve bandwidth is determined in part selection with complete, these business could be arranged to it is identical orDifferent bandwidth.
Further, after step 103, this method also includes:
By bandwidth after the adjustment of business to be adjusted, accordingly it recorded in service lists.
Wherein, the bandwidth after adjustment recorded in service lists, is convenient for operation maintenance.
In the above embodiment of the present invention, according to the user tag of business to be adjusted or type of service adjustment in batchesThe bandwidth of business to be adjusted, without business reorganization one by one, reduces workload, when it also avoid selecting one by oneOccurs the situation of leakage choosing or wrong choosing;And after business to be adjusted is determined, business to be adjusted is related to businessInformation generates service lists, adds the maintainability of system, solves in existing carrier network, enterMost business reorganizations one by one, the problem of cumbersome, risk is high, workload is big during row Bandwidth adjustment.
Second embodiment
Referring to Fig. 2, the second embodiment of the present invention provides a kind of bandwidth adjusting method, including:
Step 201, it is determined that business to be adjusted in client's layer service in static tunnel.
Wherein, business to be adjusted can be according to default rule screening or user according to service topologyAutonomous selection, or the business that system detectio exceedes corresponding service layer bandwidth to client's layer bandwidth and identified.
Step 202, the service related information of business to be adjusted is obtained, service related information at least includes:TreatThe user tag and type of service of adjustment business.
Wherein, user tag is usually character string, for identifying user identity.
Step 203, institute's business to be adjusted is classified according to service related information.
Specifically, business to be adjusted can be classified according to user tag, or is divided according to type of serviceClass.
Step 204, the corresponding first default desired bandwidth of each classification of business to be adjusted is determined.
Specifically, the first default desired bandwidth may be configured as operator to the desired bandwidth of such business or itsHis numerical value.
Step 205, the first default desired bandwidth of business to be adjusted is issued.
Wherein, after step 204, this method also includes:
According to the service topology in static tunnel, the second default desired bandwidth of the service layer in service topology is determined,The bandwidth sum for all client layers that second default desired bandwidth is carried by service layer.
Wherein, according to first of client layer in service topology the default desired bandwidth, determine that the second of service layer is pre-If desired bandwidth, and for a service layer, the institute that the second default desired bandwidth is carried by service layerThere is the bandwidth sum of client layer.
Alternatively, according to the service topology in static tunnel, determine that second of the service layer in service topology is presetAfter the step of desired bandwidth, this method also includes:
Desired bandwidth is preset to the second of static tunnel to verify;
If verification passes through, the first default desired bandwidth of business to be adjusted is issued, and issues the of service layerTwo default desired bandwidths;
If verification does not pass through, error message is pointed out.
Wherein, verification is not enough in order to avoid the bandwidth resources of physical port, causes adjustment to fail, therefore,Before the first default desired bandwidth is issued, the second default desired bandwidth need to be verified according to service topology.
Specifically, the step of desired bandwidth is verified is preset to the second of static tunnel, including:
Judge whether the second default desired bandwidth in static tunnel exceedes the reserved of the physical port in static tunnelBandwidth:
If being no more than, verification passes through;
If exceeding, verify and do not pass through.
Wherein, when the second of static tunnel, which presets desired bandwidth, is no more than the reserved bandwidth of physical port, schoolTest and pass through, the first default desired bandwidth and the second default desired bandwidth can be issued.
In the above embodiment of the present invention, according to the user tag of business to be adjusted or type of service adjustment in batchesThe bandwidth of business to be adjusted, without business reorganization one by one, reduces workload, when it also avoid selecting one by oneOccurs the situation of leakage choosing or wrong choosing;And before bandwidth after the adjustment is issued, it is also default to second to expect bandWidth is verified, it is to avoid the bandwidth resources of physical port are not enough, causes adjustment to fail, and the present invention solves existingIn some carrier networks, most business reorganizations one by one during Bandwidth adjustment are carried out, cumbersome, risk is high,The problem of workload is big.
3rd embodiment
The bandwidth adjusting method that 3rd embodiment is provided with a specific embodiment introduction present invention.Referring to Fig. 3,The bandwidth adjusting method includes:
Step 301, business to be adjusted is determined, service lists are generated.
Business to be adjusted can be selected according to filter condition or service topology, wherein, network management unit according toMany combination conditions, such as customer name, approach can be included in filter condition filter traffic, filter conditionNetwork element, speed, type of service, user tag etc.;And the service display to be adjusted after determining is arranged in businessIn table.
Step 302, all service layer tunnels of business to be adjusted are analyzed, all related services are obtained.
Wherein, network management unit automatically analyzes all service layer tunnels of business to be adjusted, and searches for automaticallyGo out all client's layer services that all service layer tunnels are carried, and related service is added in service lists.Service lists can also include the bandwidth before the adjustment of client's layer service and bandwidth information, business after adjustmentType, customer type, service layer of business etc..
It is typically to carry at least one client's layer service on a tunnel in engineering, searches out all service layer's tunnelsAll client's layer services that road is carried, are on the one hand that anti-leak-stopping selects leakage, are on the other hand easy to user multipleSelect in batches.
Step 303, business to be adjusted is classified according to service lists, user carries out classification selection, batch is adjustedThe bandwidth of the business to be adjusted of whole selected classification.
In the service lists of step 302, user can classify according to service lists to business to be adjusted, fromThe classification of adjustment in batches bandwidth is needed to treat tune business by selection, such as same type of service is set to phaseSame bandwidth, that can just sort according to type of service, select the business of same type of service to carry out bandwidth ginsengSeveral detailed settings;Then a kind of type of service is configured under reselection, until service bandwidth to be adjusted is setPut and finish, the bandwidth after the adjustment of all business is recorded in service lists.
Step 304, whether checking and debugging succeeds, and application is issued.
Wherein, business adjustment in batches bandwidth can be verified accordingly:The bandwidth sum of each level all can notLayer bandwidth is serviced more than it.It should be noted that whether the reserved bandwidth that need to only verify physical port meets quietThe reserved bandwidth in state tunnel.
If physical port is verified successfully, step 305 is performed, otherwise, step 306 is performed;
Step 305, service bandwidth is successfully adjusted to desired bandwidth, and superposition is all automatically for service layer's tunnel bandwidthClient layer service bandwidth.
Wherein, after user issues the bandwidth after adjustment, the Bandwidth adjustment to service layer tunnel is it automaticallyThe bandwidth sum of all client traffics of carrying, it is ensured that to be adjusted to the business of desired bandwidth has enough servicesLayer resource, prevents service layer's bandwidth resources from not enough causing service bandwidth adjustment failure.
Step 306, error message is pointed out to network management unit.
Specifically, specific error message can be presented in network management unit, can now navigate directly to correspondingReason is investigated in business manual analysis.Wherein, all service bandwidth adjustment can be presented on network management unit shouldWith the situation that issues, for example, adjust successfully or adjust failure and show specific error message.
Step 307, configuration terminates.
In the above embodiment of the present invention, business to be adjusted, generation are selected according to filter condition or service topologyService lists, and obtain all related services of business to be adjusted;According to service lists to business to be adjusted pointClass, the bandwidth of the business to be adjusted of classification selected by adjustment in batches, without business reorganization one by one, reduces workMeasure, the situation of leakage choosing or wrong choosing occurs when it also avoid selecting one by one;And bandwidth after the adjustment is issuedBefore, also physical port is verified, prevents service layer's bandwidth resources from not enough causing service bandwidth adjustment mistakeLose.
Fourth embodiment
The bandwidth adjusting method that fourth embodiment is provided with a specific embodiment introduction present invention.Referring to Fig. 4,The bandwidth adjusting method includes:
Step 401, all business to be adjusted are automatically identified by network management unit, generates service lists.
Wherein, network management unit can automatically analyze out band according to the whole network bordereau or service resources viewWide business that is improperly-configured or can not meeting user bandwidth demand, treats these in the form of service lists to adjustWhole business is all showed.
Step 402, desired bandwidth value is adjusted to according to type of service.
Wherein, desired bandwidth value can be according to the demands of different operators, by its different type of service intelligence pairFull dose is issued after the desired bandwidth value answered, and whole process is without manual intervention.Such as, the industry of some operatorIn service type, the bandwidth of 2G business is traditionally arranged to be it typically would be desirable to be set to the bandwidth of 3,000,000,4G business40000000 desired value.
Step 403, whether checking and debugging succeeds, and application is issued.
Business adjustment in batches bandwidth can be verified accordingly:The bandwidth sum of each level is all no more than itService layer bandwidth.
It should be noted that whether the reserved bandwidth that need to only verify physical port meets the reserved band in static tunnelWidth.
If physical port is verified successfully, step 404 is performed, otherwise, step 405 is performed;
Step 404, service bandwidth is successfully adjusted to desired bandwidth, and superposition is all automatically for service layer's tunnel bandwidthClient layer service bandwidth.
Wherein, after user issues the bandwidth after adjustment, the Bandwidth adjustment to service layer tunnel is it automaticallyThe bandwidth sum of all client traffics of carrying, it is ensured that to be adjusted to the business of desired bandwidth has enough servicesLayer resource, prevents service layer's bandwidth resources from not enough causing service bandwidth adjustment failure.
Step 405, error message is pointed out to network management unit.
Specifically, specific error message can be presented in network management unit, can now navigate directly to correspondingReason is investigated in business manual analysis.Wherein, all service bandwidth adjustment can be presented on network management unit shouldWith the situation that issues, for example, adjust successfully or adjust failure and show specific error message.
Step 406, configuration terminates.
, can be according to the whole network bordereau or business by network management unit in the above embodiment of the present inventionIt is incorrect or can not meet the business of user bandwidth demand that resource view automatically analyzes out band width configuration, is treatedAdjustment business, generates service lists, and obtain all related services of business to be adjusted;According to service listsBusiness to be adjusted is classified, the bandwidth of the business to be adjusted of classification selected by adjustment in batches, without business one by oneAdjustment, reduces workload, the situation that leakage choosing or wrong choosing occur when it also avoid selecting one by one;And adjustingBefore bandwidth after whole is issued, also physical port is verified, prevents service layer's bandwidth resources from not enough causingService bandwidth adjustment failure.
5th embodiment
Referring to Fig. 5, the fifth embodiment of the present invention provides a kind of Bandwidth adjustment device, including:
Determining module 501, the business to be adjusted in client's layer service for determining static tunnel;
Acquisition module 502, the service related information for obtaining business to be adjusted, service related information is at leastIncluding:The user tag and type of service of business to be adjusted;
Adjusting module 503, for according to service related information, adjusting the bandwidth of business to be adjusted.
Preferably, determining module 501 includes:
First determination sub-module, the pre- of all client's layer services carried on static tunnel is detected for working asStay bandwidth sum, more than the physical port in static tunnel reserved bandwidth when, determine that all client's layer services areBusiness to be adjusted.
Preferably, determining module 501 includes:
Second determination sub-module, for obtain user it is selected, static tunnel client's layer service firstThe related service of business to be adjusted and the first business to be adjusted, determines that business to be adjusted includes first to be adjustedThe related service of business and the first business to be adjusted.
Preferably, determining module 501 includes:
3rd determination sub-module, for according to the default filter condition for business to be adjusted, obtaining staticBusiness to be adjusted in client's layer service in tunnel.
Preferably, adjusting module 503 includes:
Business classification submodule, for being classified according to service related information to institute's business to be adjusted;
Bandwidth determination sub-module, the corresponding first default expectation band of each classification for determining business to be adjustedIt is wide;
Bandwidth issues submodule, the default desired bandwidth of first for issuing business to be adjusted.
Preferably, the device also includes:
Desired bandwidth determining module, each classification pair for determining business to be adjusted in bandwidth determination sub-moduleAfter the first default desired bandwidth answered,
According to the service topology in static tunnel, the second default desired bandwidth of the service layer in service topology is determined,The bandwidth sum for all client layers that second default desired bandwidth is carried by service layer.
Preferably, the device also includes:
Correction verification module, in service topology of the desired bandwidth determining module according to static tunnel, determining businessAfter second default desired bandwidth of the service layer in topology,
Desired bandwidth is preset to the second of static tunnel to verify;
If verification passes through, the first default desired bandwidth of business to be adjusted is issued, and issues the of service layerTwo default desired bandwidths;
If verification does not pass through, error message is pointed out.
Preferably, correction verification module includes:
Whether judging submodule, the second default desired bandwidth for judging static tunnel exceedes static tunnelThe reserved bandwidth of physical port:
If being no more than, verification passes through;
If exceeding, verify and do not pass through.
Preferably, service related information also includes:
Bandwidth before the adjustment of business to be adjusted;
Wherein, the device also includes:
List Generating Module, for after the service related information that acquisition module 502 obtains business to be adjusted,
Business to be adjusted is accordingly generated into service lists with service related information.
Preferably, the device also includes:
List update module, for, according to service related information, adjusting business to be adjusted in adjusting module 503Bandwidth after,
By bandwidth after the adjustment of business to be adjusted, accordingly it recorded in service lists.
It should be noted that Bandwidth adjustment device provided in an embodiment of the present invention is the device using the above method,I.e. all embodiments of the above method are applied to the device, and can reach same or analogous beneficial effect.
Described above is the preferred embodiment of the present invention, it is noted that for the common skill of the artFor art personnel, on the premise of principle of the present invention is not departed from, some improvements and modifications can also be made,These improvements and modifications also should be regarded as protection scope of the present invention.