WO2016180238A1 - Service bandwidth adjusting method and device - Google Patents

Service bandwidth adjusting method and device Download PDF

Info

Publication number
WO2016180238A1
WO2016180238A1 PCT/CN2016/080396 CN2016080396W WO2016180238A1 WO 2016180238 A1 WO2016180238 A1 WO 2016180238A1 CN 2016080396 W CN2016080396 W CN 2016080396W WO 2016180238 A1 WO2016180238 A1 WO 2016180238A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
bandwidth
layer
tunnel
layer tunnel
Prior art date
Application number
PCT/CN2016/080396
Other languages
French (fr)
Chinese (zh)
Inventor
冯洁
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016180238A1 publication Critical patent/WO2016180238A1/en

Links

Images

Definitions

  • This application relates to, but is not limited to, the field of communications.
  • CAC call admission control
  • the embodiment of the invention provides a method and a device for adjusting the service bandwidth, so as to at least solve the problem that the adjustment of the bandwidth of the client layer service provided in the related art is easy to cause waste of resources and low accuracy.
  • a method for adjusting a service bandwidth including: determining, according to a customer layer service selected by a user, a service layer tunnel carrying a selected client layer service; and performing service bandwidth of the determined service layer tunnel Adjustment.
  • determining, according to the selected client layer service, the service layer tunnel that carries the selected client layer service includes: Step 1. Searching for a service layer tunnel set according to the selected client layer service, where the service The service carried by each service layer tunnel in the layer tunnel set includes some or all services in the selected client layer service; and step 2, the client layer service carried on each service layer tunnel in the service layer tunnel set is executed.
  • the filtering operation is performed to obtain the remaining service layer tunnels, wherein the remaining service layer tunnels only carry some or all of the services of the selected client layer services; and step 3, analyze the remaining service layer tunnels to determine whether new clients are present.
  • Layer service or new service layer tunnel if yes, return to step 1; if not, use the remaining service layer tunnel as the determined service layer tunnel.
  • the method before adjusting the service bandwidth of the determined service layer tunnel, the method further includes: determining, according to the preset type in the service list, whether the service has configured the corresponding bandwidth parameter and/or whether the user is selected to perform bandwidth adjustment to determine the CAC switch. And the status of the flow control switch.
  • the state of the CAC switch and the flow control switch is determined according to whether the preset type of service has been configured with the corresponding bandwidth parameter and/or whether the bandwidth adjustment is selected to include the following: if the preset type service has configured the corresponding bandwidth parameter.
  • the CAC switch and the flow control switch are in the on state; if the preset type service is not configured with the corresponding bandwidth parameter and is not selected by the user for bandwidth adjustment, the CAC switch and the flow control switch are in the off state; if the preset type service is used by the user After the user selects and performs bandwidth adjustment on the preset type service, the CAC switch and the flow control switch are turned on.
  • adjusting the service bandwidth of the determined service layer tunnel includes: superimposing the service layer service bandwidth carried on the determined service layer tunnel; setting the CAC switch and the flow control switch of the determined service layer tunnel to an open state. And setting the adjustment mode of the determined service layer tunnel to adaptive adjustment.
  • the method further includes: performing CAC pre-verification on the selected client layer service carried on the determined service layer tunnel; determining the service bandwidth of the service layer tunnel The service bandwidth of the client layer service that is currently pre-verified by the CAC is adjusted; the service pseudowire with the service bandwidth becomes smaller, the sum of the bandwidth, and the service pseudowire with the service bandwidth become larger.
  • a service bandwidth adjustment apparatus including: a first determining module, configured to: determine, according to a customer layer service selected by a user, a service layer tunnel that carries a selected client layer service; Module, set to: service band for the determined service layer tunnel Adjust the width.
  • the first determining module is configured to: determine, according to the selected client layer service, the service layer tunnel of the selected client layer service according to the following steps: Step 1: Find a service layer tunnel set according to the selected client layer service, The service carried by each service layer tunnel in the service layer tunnel set includes some or all services in the selected client layer service; and step 2, the client carried on each service layer tunnel in the service layer tunnel set The layer service performs a filtering operation to obtain the remaining service layer tunnels. The remaining service layer tunnels only carry some or all of the services of the selected client layer services. Step 3: analyze the remaining service layer tunnels to determine whether they appear. New client layer service or new service layer tunnel; if yes, return to step 1; if not, then use the remaining service layer tunnel as the determined service layer tunnel.
  • the foregoing apparatus further includes: a second determining module, configured to: determine, according to a preset type of service in the service list, whether the service has configured a corresponding bandwidth parameter and/or whether the user is selected to perform bandwidth adjustment to determine a CAC switch and a flow control switch. status.
  • a second determining module configured to: determine, according to a preset type of service in the service list, whether the service has configured a corresponding bandwidth parameter and/or whether the user is selected to perform bandwidth adjustment to determine a CAC switch and a flow control switch. status.
  • the second determining module is configured to: determine whether the state of the CAC switch and the flow control switch is determined according to whether the service has configured the corresponding bandwidth parameter according to the preset type service and/or whether the bandwidth adjustment is selected, including one of the following: If the type of service has been configured with the corresponding bandwidth parameter, the CAC switch and the flow control switch are in the on state. If the preset type service is not configured with the corresponding bandwidth parameter and is not selected by the user for bandwidth adjustment, the CAC switch and the flow control switch are closed. Status; if the preset type service is selected by the user and the user completes bandwidth adjustment for the preset type service, the CAC switch and the flow control switch are turned on.
  • the adjusting module includes: a superimposing unit, configured to: superimpose the service layer service bandwidth carried on the determined service layer tunnel; and set the unit to: set the CAC switch and the flow control switch of the determined service layer tunnel To enable the state and set the adjustment mode of the determined service layer tunnel to adaptive adjustment.
  • a superimposing unit configured to: superimpose the service layer service bandwidth carried on the determined service layer tunnel
  • set the unit to: set the CAC switch and the flow control switch of the determined service layer tunnel To enable the state and set the adjustment mode of the determined service layer tunnel to adaptive adjustment.
  • the foregoing apparatus further includes: a verification module, configured to perform CAC pre-verification on the selected client layer service carried on the determined service layer tunnel; and the modifying module is configured to: determine the service layer tunnel service The bandwidth is adjusted to the sum of the bandwidths of the client layer services that are currently pre-verified by the CAC.
  • the delivery module is configured to deliver service pseudowires with reduced service bandwidths, sum of bandwidths, and service pseudowires with large service bandwidths.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above is provided.
  • the service layer tunnel of the selected client layer service is determined according to the customer layer service selected by the user; the service bandwidth of the determined service layer tunnel is adjusted, and the bandwidth of the client layer service provided in the related technology is solved.
  • the adjustment method is easy to cause waste of resources and low accuracy.
  • multiple client layer services can be selected for bandwidth adjustment, and the bandwidth of the tunnel and client layer services can be adjusted to the correct value.
  • FIG. 1 is a flowchart of a method for adjusting a service bandwidth according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of an apparatus for adjusting a service bandwidth according to an embodiment of the present invention
  • FIG. 3 is a structural block diagram of an apparatus for adjusting a service bandwidth according to an alternative embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for adjusting a service bandwidth according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 determining, according to the client layer service selected by the user, a service layer tunnel carrying the selected client layer service
  • Step S104 adjusting the service bandwidth of the determined service layer tunnel.
  • bandwidth adjustment can be performed based on multiple client layer services selected by the user,
  • the bandwidth of the tunnel and the client layer is adjusted to the correct value, which solves the problem that the bandwidth adjustment of the client layer service bandwidth provided in the related technology is easy to cause waste of resources and low accuracy, and realizes batch adjustment of service bandwidth parameters.
  • the end-to-end network management software batch service bandwidth adjustment is taken as an example to implement a method for batch adjusting service bandwidth parameters to meet user requirements and comply with CAC rules.
  • the service adjustment is based on the tunnel as the atomic level adjustment unit, that is, all the client layer services carried by one tunnel, and the processing is completed at one time.
  • the user can select one or more client layer services and send the CAC parameters to the target value and then send them to the server.
  • the server searches all related service layer tunnels A according to the customer layer service selected by the user, and then searches the client layer service according to the tunnel to find the service layer tunnel set B of the client layer service.
  • the bandwidth value of each tunnel and service is calculated.
  • the tunnel bandwidth value is adjusted to the sum of the current client layer bandwidths, and the pseudowire data with the smaller bandwidth is delivered, and then the tunnel is delivered. The final bandwidth value, and finally the pseudowire data with the bandwidth increasing.
  • step S102 determining, according to the selected client layer service, the service layer tunnel carrying the selected client layer service may include the following steps:
  • Step 1 Searching for a service layer tunnel set according to the selected client layer service, where each service layer tunnel in the service layer tunnel set includes services of part or all of the selected client layer services;
  • Step 2 Perform a filtering operation on the client layer service carried on each service layer tunnel in the service layer tunnel set, and obtain the remaining service layer tunnels, where the remaining service layer tunnels only carry the selected part of the client layer service or All business;
  • Step 3 Analyze the remaining service layer tunnels to determine whether a new client layer service or a new service layer tunnel appears; if yes, return to step 1; if not, the remaining service layer tunnels are determined as the determined service layer. tunnel.
  • the user can select a client layer service that needs to perform bandwidth adjustment, for example, an E-line service and a TDM service, thereby entering a service bandwidth adjustment interface.
  • a client layer service that needs to perform bandwidth adjustment
  • the customer layer service selected by the user analyze and find all service layer tunnels related to the customer layer service selected by the user and search All customer layer services carried by these service layer tunnels are extracted.
  • the E-TREE/E-LAN/L3VPN service existing in the customer layer service can be filtered out, and the client layer service shared with the E-TREE/E-LAN/L3VPN service tunnel is filtered out.
  • the client layer service shared with the E-TREE/E-LAN/L3VPN service tunnel is filtered out.
  • only the E-line service and the TDM service are left in the client layer service information, and all service layer tunnels related to these services can only carry the E-line service and the TDM service.
  • various types of services that have been filtered out are presented to the user on a specific browsing page.
  • all the service layer tunnels related to these client layer services can be further analyzed to observe whether there is a new service layer tunnel; if there is a new service layer In the tunnel, the new service layer tunnel needs to be analyzed according to the above steps. That is, whether the newly-created service layer tunnel can only carry E-LINE service and TDM service or bear other types of client layer services at the same time. Until there is no new service layer tunnel appearing for this.
  • step S104 Before the service bandwidth of the determined service layer tunnel is adjusted, the following operations may be included in the step S104:
  • Step 4 Determine, according to the preset type in the service list, whether the service has configured the corresponding bandwidth parameter and/or whether the user selects the bandwidth adjustment to determine the state of the CAC switch and the flow control switch.
  • the service list may be related to the information before the adjustment of the service pseudowire in the initial situation, which may include, but is not limited to, a CAC switch, a flow control switch, and bandwidth parameter information (eg, CIR, CBS, PIR). , PBS, color blindness, color sensitivity).
  • bandwidth parameter information eg, CIR, CBS, PIR.
  • PBS color blindness, color sensitivity
  • Each column of information in the business list is required to support multiple types of sorting (for example: ascending order, descending order, sorting by modified date, sorting by parameter type) for the user to view.
  • the business list also needs to support Shift, CTRL, mouse mode for multiple selection, to select business operations. The user can right-click to enter the modification interface, and click OK after completing the bandwidth modification operation.
  • the final service list can display the value that the business pseudowire needs to be modified.
  • step 4 according to whether the preset type service has configured the corresponding bandwidth parameter and/or whether the bandwidth adjustment is selected to determine the state of the CAC switch and the flow control switch, the following may be included.
  • the above client layer service is an Ethernet service:
  • TDM time division multiplexing
  • the “Overlay TDM Service Bandwidth” option switch can be added to the operation interface provided to the user. If the user selects the overlay option switch, the CIR bandwidth parameter will be automatically set according to 3M in the TDM service list at the same time. The CAC switch and flow control switch will be forced to be turned on.
  • TDM service it can also perform bandwidth modification operations, and the operation rules are basically the same as those of the Ethernet service.
  • step S104 adjusting the service bandwidth of the determined service layer tunnel may include Next steps:
  • Step 5 superimposing service bandwidth of the client layer carried on the determined service layer tunnel
  • Step 6 Set the determined CAC switch and the flow control switch of the service layer tunnel to an on state and set the determined adjustment mode of the service layer tunnel to an adaptive adjustment.
  • the tunnel information is not presented in the display interface, but only the server searches for the relevant tunnel and performs calculation and delivery. Moreover, whether the tunnel will converge can be selected at the initial setting, and it can choose to maintain the original value, or choose to converge the tunnel, or choose to not converge the tunnel.
  • the bandwidth of the tunnel will be automatically superimposed (that is, the bandwidth of all client layers is superimposed).
  • the CAC switch and flow control switch of the tunnel will be forcibly set to on, and the tunnel bandwidth will be set automatically. , turn on the color sensitive mode.
  • the above CBS, PIR, PBS, color blindness, and color sensitivity are kept as constant as possible. If the original value given by the above parameters is not within a predetermined reasonable value range (ie, an illegal value), then The default value assigned by the above parameters is replaced by a preset default value.
  • step S104 After the service bandwidth of the determined service layer tunnel is adjusted, the following steps may be further included in the step S104:
  • Step 7. Perform CAC pre-verification on the selected client layer service carried on the determined service layer tunnel.
  • Step 8 Adjust the service bandwidth of the determined service layer tunnel to the total bandwidth of the client layer service that is currently pre-verified by the CAC;
  • step 9 the service pseudowire with the service bandwidth becomes smaller, the sum of the bandwidth, and the service pseudowire with the service bandwidth become larger.
  • the CAC pre-verification may be performed in advance. If the client layer service that cannot be passed by the CAC check is found, it will not be delivered to the user equipment, and the service list is recorded to prompt user. Secondly, the pre-verified tunnel is adjusted to the sum of the current client layer bandwidth: all tunnel CAC switches are turned on, and the fixed bandwidth tunnel is changed into a tunnel with automatically adjustable bandwidth. Then, the pseudo-line with the reduced service bandwidth is delivered to the user equipment: only the client layer service of the tunnel with the pre-verification succeeded is delivered. Then, the relevant tunnel bandwidth without failure is adjusted to the sum of the bandwidths input by the user.
  • the technical solution provided by the embodiment of the present invention can support abnormality of part of the tunnel or client layer service and the rest of the tunnel or client layer service is normal. A scenario in which the normal tunnel or client layer service participates in the calculation and is delivered to the user equipment.
  • the abnormal service rectification and the bandwidth modification of the entire network of the network existing network are satisfied, and the bandwidth transformation needs of the existing network service are met, including the service bandwidth from scratch, from the existing to the bandwidth adjustment requirement,
  • the existing network gradually transitions from the incremental CAC mode to the full CAC mode.
  • the batch service parameter adjustment tool After the batch service parameter adjustment tool is available, it can be transitioned to the full CAC mode through the step-by-step transformation method.
  • the one-step full-size CAC method can be subsequently faded, thereby avoiding the inconsistency on the current network caused by the one-step full-size CAC method. Data problems and processing.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium (such as ROM/RAM, disk).
  • the optical disc includes a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present invention.
  • a device for adjusting the bandwidth of the service is provided, and the device is used to implement the foregoing embodiments and implementation manners, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the device may include: a first determining module 10 configured to: determine a client selected by a carrier according to a client layer service selected by a user.
  • the service layer tunnel of the layer service the adjustment module 20 is configured to: adjust the service bandwidth of the determined service layer tunnel.
  • the first determining module 10 is configured to: determine, according to the selected client layer service, the service layer tunnel of the selected client layer service according to the following steps: Step 1: Find a service layer tunnel set according to the selected client layer service The service carried by each service layer tunnel in the service layer tunnel set includes some or all services in the selected client layer service; and step 2 is carried on each service layer tunnel in the service layer tunnel set.
  • the client layer service performs the filtering operation to obtain the remaining service layer tunnels.
  • the remaining service layer tunnels only carry some or all of the services of the selected client layer services.
  • Step 3 analyze the remaining service layer tunnels to determine whether A new client layer service or a new service layer tunnel appears; if yes, return to step 1; if not, the remaining service layer tunnels are used as the determined service layer tunnel.
  • the apparatus may include: a second determining module 30, in addition to all the modules shown in FIG.
  • the status of the CAC switch and the flow control switch is determined according to whether the service has configured the corresponding bandwidth parameter and/or is selected by the user for bandwidth adjustment according to the preset type in the service list.
  • the second determining module 30 is configured to: determine whether the state of the CAC switch and the flow control switch is determined according to whether the service has configured the corresponding bandwidth parameter and/or is selected to perform bandwidth adjustment according to the preset type:
  • the adjusting module 20 may include: a superimposing unit (not shown) configured to: superimpose a client layer service bandwidth carried on the determined service layer tunnel; and set a unit (not shown in the figure) Out), set to: set the determined CAC switch and flow control switch of the service layer tunnel to the on state and set the determined adjustment mode of the service layer tunnel to adaptive adjustment.
  • a superimposing unit (not shown) configured to: superimpose a client layer service bandwidth carried on the determined service layer tunnel
  • a unit (not shown in the figure) Out) set to: set the determined CAC switch and flow control switch of the service layer tunnel to the on state and set the determined adjustment mode of the service layer tunnel to adaptive adjustment.
  • the foregoing apparatus may further include: a verification module 40 configured to perform CAC pre-verification on the selected client layer service carried on the determined service layer tunnel; and the modifying module 50 is configured to The service bandwidth of the determined service layer tunnel is adjusted to the sum of the bandwidths of the client layer services that are currently pre-verified by the CAC; the delivery module 60 is configured to: deliver the service pseudowires with the reduced service bandwidth, the sum of the bandwidths, and the service A business pseudowire with a large bandwidth.
  • a verification module 40 configured to perform CAC pre-verification on the selected client layer service carried on the determined service layer tunnel
  • the modifying module 50 is configured to The service bandwidth of the determined service layer tunnel is adjusted to the sum of the bandwidths of the client layer services that are currently pre-verified by the CAC
  • the delivery module 60 is configured to: deliver the service pseudowires with the reduced service bandwidth, the sum of the bandwidths, and the service A business pseudowire with a large bandwidth.
  • each of the foregoing modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the storage medium is further configured to store program code for performing the following steps: determining, according to the selected client layer service, a service layer tunnel carrying the selected client layer service, including: Step 1. Searching for a service according to the selected client layer service a layer tunnel set, where each service layer tunnel in the service layer tunnel set carries some or all services in the selected client layer service; step 2, each service layer tunnel in the service layer tunnel set The client layer service carried on the network performs the filtering operation to obtain the remaining service layer tunnels. The remaining service layer tunnels only carry some or all of the services of the selected client layer services.
  • Step 3 Analyze the remaining service layer tunnels , to determine whether a new client layer service or a new service layer tunnel occurs; if yes, return to step 1; if not, the remaining service layer tunnel is used as the determined service layer tunnel.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a medium such as a disc or an optical disc that can store program code.
  • the processor executes according to the stored program code in the storage medium. Determine the status of the CAC switch and the flow control switch according to whether the service has configured the corresponding bandwidth parameter and/or whether the user selects the bandwidth adjustment according to the preset type in the service list.
  • the processor performs, according to the stored program code in the storage medium, whether the corresponding bandwidth parameter is configured according to the preset type service and/or whether the bandwidth adjustment is selected to determine the CAC switch and the flow control switch.
  • the state includes one of the following: if the preset type service has been configured with the corresponding bandwidth parameter, the CAC switch and the flow control switch are in an open state; if the preset type service is not configured with the corresponding bandwidth parameter and is not selected by the user for bandwidth adjustment, Then, the CAC switch and the flow control switch are in the off state; if the preset type service is selected by the user and the user completes the bandwidth adjustment for the preset type service, the CAC switch and the flow control switch are turned on.
  • the processor performs superposition of the client layer service bandwidth carried on the determined service layer tunnel according to the stored program code in the storage medium; the determined CAC switch and flow control of the service layer tunnel The switch is set to the on state and the determined adjustment mode of the service layer tunnel is set to adaptive adjustment.
  • the processor performs CAC pre-verification on the selected client layer service carried on the determined service layer tunnel according to the stored program code in the storage medium; the service of the determined service layer tunnel is determined.
  • the bandwidth is adjusted to the sum of the bandwidths of the client layer services that are currently pre-verified by the CAC; the service pseudowires with the service bandwidth becomes smaller, the sum of the bandwidths, and the service pseudowires with the larger service bandwidths are sequentially delivered.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be implemented by program code executable by a computing device such that they may be stored in a storage device by a computing device and, in some cases, may be executed in a different order than herein.
  • the steps shown or described are either fabricated as integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the application is not limited to any particular combination of hardware and software.
  • the embodiment of the present invention solves the problem that the adjustment mode of the service layer bandwidth of the client layer provided in the related art is easy to cause waste of resources and low accuracy, and thus can select multiple client layer services for bandwidth adjustment, and the tunnel and the client layer are selected.
  • the bandwidth of the service is adjusted to the correct value.

Abstract

Disclosed are a service bandwidth adjusting method and device. The method comprises: determining, according to a client layer service selected by a user, a service layer tunnel carrying the selected client layer service; and adjusting service bandwidth of the determined service layer tunnel.

Description

业务带宽的调整方法及装置Method and device for adjusting service bandwidth 技术领域Technical field
本申请涉及但不限于通信领域。This application relates to, but is not limited to, the field of communications.
背景技术Background technique
伴随着网络规模的日益增大,带宽资源日益成为了紧缺资源。为了能够更加合理地分配带宽资源,网络管理系统中引入了呼叫接纳控制(CAC)技术,继而对业务带宽进行统一管理,从而使得业务尽量均匀地分布在网络中,同时还能够在带宽紧缺的情况下明确提示给用户。然而传统的网络数据尚未应用CAC技术,例如:服务层隧道带宽大部分都是不限速的;工作业务的带宽并没有限制等于保护业务的带宽;隧道带宽都是固定带宽的,由此会造成带宽浪费;以及业务虽然开启了流量控制功能但是却并没有开启CAC开关,继而易造成统计带宽的时候失真。With the increasing scale of the network, bandwidth resources have become a scarce resource. In order to allocate bandwidth resources more reasonably, the call admission control (CAC) technology is introduced in the network management system, and then the service bandwidth is uniformly managed, so that the services are distributed as evenly as possible in the network, and at the same time, the bandwidth is scarce. Clearly prompt the user. However, traditional network data has not yet applied CAC technology. For example, the service layer tunnel bandwidth is mostly unlimited; the bandwidth of the working service is not limited to the bandwidth of the protection service; the tunnel bandwidth is fixed bandwidth, which will result in The bandwidth is wasted; and although the traffic control function is enabled, the CAC switch is not turned on, which in turn causes distortion when the statistical bandwidth is generated.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
如果不对原有的带宽参数进行调整,而直接使用已有的配置功能,则会存在带宽浪费,带宽计算不准确以及下发报错等问题。If you do not adjust the original bandwidth parameters and use the existing configuration functions directly, there will be problems such as bandwidth waste, inaccurate bandwidth calculation, and error reporting.
本发明实施例提供了一种业务带宽的调整方法及装置,以至少解决相关技术中所提供的客户层业务带宽的调整方式易造成资源浪费、准确性较低的问题。The embodiment of the invention provides a method and a device for adjusting the service bandwidth, so as to at least solve the problem that the adjustment of the bandwidth of the client layer service provided in the related art is easy to cause waste of resources and low accuracy.
根据本发明实施例的一个方面,提供了一种业务带宽的调整方法,包括:根据用户选取的客户层业务确定承载选取的客户层业务的服务层隧道;对确定的服务层隧道的业务带宽进行调整。According to an aspect of the embodiments of the present invention, a method for adjusting a service bandwidth is provided, including: determining, according to a customer layer service selected by a user, a service layer tunnel carrying a selected client layer service; and performing service bandwidth of the determined service layer tunnel Adjustment.
可选地,根据选取的客户层业务确定承载选取的客户层业务的服务层隧道包括:步骤1、根据选取的客户层业务查找服务层隧道集合,其中,服务 层隧道集合中的每条服务层隧道所承载的业务中均包括选取的客户层业务中的部分或全部业务;步骤2、对服务层隧道集合中每条服务层隧道上承载的客户层业务执行过滤操作,获取剩余的服务层隧道,其中,剩余的服务层隧道上仅承载选取的客户层业务中的部分或全部业务;步骤3、对剩余的服务层隧道进行分析,判断是否出现新的客户层业务或新的服务层隧道;如果是,则返回步骤1;如果否,则将剩余的服务层隧道作为确定的服务层隧道。Optionally, determining, according to the selected client layer service, the service layer tunnel that carries the selected client layer service includes: Step 1. Searching for a service layer tunnel set according to the selected client layer service, where the service The service carried by each service layer tunnel in the layer tunnel set includes some or all services in the selected client layer service; and step 2, the client layer service carried on each service layer tunnel in the service layer tunnel set is executed. The filtering operation is performed to obtain the remaining service layer tunnels, wherein the remaining service layer tunnels only carry some or all of the services of the selected client layer services; and step 3, analyze the remaining service layer tunnels to determine whether new clients are present. Layer service or new service layer tunnel; if yes, return to step 1; if not, use the remaining service layer tunnel as the determined service layer tunnel.
可选地,在对确定的服务层隧道的业务带宽进行调整之前,还包括:根据业务列表中的预设类型业务是否已经配置对应的带宽参数和/或是否被用户选中进行带宽调整确定CAC开关和流量控制开关的状态。Optionally, before adjusting the service bandwidth of the determined service layer tunnel, the method further includes: determining, according to the preset type in the service list, whether the service has configured the corresponding bandwidth parameter and/or whether the user is selected to perform bandwidth adjustment to determine the CAC switch. And the status of the flow control switch.
可选地,根据预设类型业务是否已经配置对应的带宽参数和/或是否被选中进行带宽调整确定CAC开关和流量控制开关的状态包括以下之一:如果预设类型业务已经配置对应的带宽参数,则CAC开关和流量控制开关处于开启状态;如果预设类型业务没有配置对应的带宽参数并且未被用户选中进行带宽调整,则CAC开关和流量控制开关处于关闭状态;如果预设类型业务被用户选中并且用户完成对预设类型业务进行带宽调整,则CAC开关和流量控制开关处于开启状态。Optionally, the state of the CAC switch and the flow control switch is determined according to whether the preset type of service has been configured with the corresponding bandwidth parameter and/or whether the bandwidth adjustment is selected to include the following: if the preset type service has configured the corresponding bandwidth parameter. The CAC switch and the flow control switch are in the on state; if the preset type service is not configured with the corresponding bandwidth parameter and is not selected by the user for bandwidth adjustment, the CAC switch and the flow control switch are in the off state; if the preset type service is used by the user After the user selects and performs bandwidth adjustment on the preset type service, the CAC switch and the flow control switch are turned on.
可选地,对确定的服务层隧道的业务带宽进行调整包括:对确定的服务层隧道上承载的客户层业务带宽进行叠加;将确定的服务层隧道的CAC开关和流量控制开关设置为开启状态以及将确定的服务层隧道的调整模式设置为自适应调整。Optionally, adjusting the service bandwidth of the determined service layer tunnel includes: superimposing the service layer service bandwidth carried on the determined service layer tunnel; setting the CAC switch and the flow control switch of the determined service layer tunnel to an open state. And setting the adjustment mode of the determined service layer tunnel to adaptive adjustment.
可选地,在对确定的服务层隧道的业务带宽进行调整之后,还包括:对确定的服务层隧道上承载的选取的客户层业务进行CAC预校验;将确定的服务层隧道的业务带宽调整为当前通过CAC预校验的客户层业务的带宽总和;依次下发业务带宽变小的业务伪线、带宽总和以及业务带宽变大的业务伪线。Optionally, after adjusting the service bandwidth of the determined service layer tunnel, the method further includes: performing CAC pre-verification on the selected client layer service carried on the determined service layer tunnel; determining the service bandwidth of the service layer tunnel The service bandwidth of the client layer service that is currently pre-verified by the CAC is adjusted; the service pseudowire with the service bandwidth becomes smaller, the sum of the bandwidth, and the service pseudowire with the service bandwidth become larger.
根据本发明实施例的另一方面,提供了一种业务带宽的调整装置,包括:第一确定模块,设置为:根据用户选取的客户层业务确定承载选取的客户层业务的服务层隧道;调整模块,设置为:对确定的服务层隧道的业务带 宽进行调整。According to another aspect of the present invention, a service bandwidth adjustment apparatus is provided, including: a first determining module, configured to: determine, according to a customer layer service selected by a user, a service layer tunnel that carries a selected client layer service; Module, set to: service band for the determined service layer tunnel Adjust the width.
可选地,第一确定模块,是设置为:按照以下步骤根据选取的客户层业务确定承载选取的客户层业务的服务层隧道包括:步骤1、根据选取的客户层业务查找服务层隧道集合,其中,服务层隧道集合中的每条服务层隧道所承载的业务中均包括选取的客户层业务中的部分或全部业务;步骤2、对服务层隧道集合中每条服务层隧道上承载的客户层业务执行过滤操作,获取剩余的服务层隧道,其中,剩余的服务层隧道上仅承载选取的客户层业务中的部分或全部业务;步骤3、对剩余的服务层隧道进行分析,判断是否出现新的客户层业务或新的服务层隧道;如果是,则返回步骤1;如果否,则将剩余的服务层隧道作为确定的服务层隧道。Optionally, the first determining module is configured to: determine, according to the selected client layer service, the service layer tunnel of the selected client layer service according to the following steps: Step 1: Find a service layer tunnel set according to the selected client layer service, The service carried by each service layer tunnel in the service layer tunnel set includes some or all services in the selected client layer service; and step 2, the client carried on each service layer tunnel in the service layer tunnel set The layer service performs a filtering operation to obtain the remaining service layer tunnels. The remaining service layer tunnels only carry some or all of the services of the selected client layer services. Step 3: analyze the remaining service layer tunnels to determine whether they appear. New client layer service or new service layer tunnel; if yes, return to step 1; if not, then use the remaining service layer tunnel as the determined service layer tunnel.
可选地,上述装置还包括:第二确定模块,设置为:根据业务列表中的预设类型业务是否已经配置对应的带宽参数和/或是否被用户选中进行带宽调整确定CAC开关和流量控制开关的状态。Optionally, the foregoing apparatus further includes: a second determining module, configured to: determine, according to a preset type of service in the service list, whether the service has configured a corresponding bandwidth parameter and/or whether the user is selected to perform bandwidth adjustment to determine a CAC switch and a flow control switch. status.
可选地,第二确定模块,是设置为:根据预设类型业务是否已经配置对应的带宽参数和/或是否被选中进行带宽调整确定CAC开关和流量控制开关的状态包括以下之一:如果预设类型业务已经配置对应的带宽参数,则CAC开关和流量控制开关处于开启状态;如果预设类型业务没有配置对应的带宽参数并且未被用户选中进行带宽调整,则CAC开关和流量控制开关处于关闭状态;如果预设类型业务被用户选中并且用户完成对预设类型业务进行带宽调整,则CAC开关和流量控制开关处于开启状态。Optionally, the second determining module is configured to: determine whether the state of the CAC switch and the flow control switch is determined according to whether the service has configured the corresponding bandwidth parameter according to the preset type service and/or whether the bandwidth adjustment is selected, including one of the following: If the type of service has been configured with the corresponding bandwidth parameter, the CAC switch and the flow control switch are in the on state. If the preset type service is not configured with the corresponding bandwidth parameter and is not selected by the user for bandwidth adjustment, the CAC switch and the flow control switch are closed. Status; if the preset type service is selected by the user and the user completes bandwidth adjustment for the preset type service, the CAC switch and the flow control switch are turned on.
可选地,调整模块包括:叠加单元,设置为:对确定的服务层隧道上承载的客户层业务带宽进行叠加;设置单元,设置为:将确定的服务层隧道的CAC开关和流量控制开关设置为开启状态以及将确定的服务层隧道的调整模式设置为自适应调整。Optionally, the adjusting module includes: a superimposing unit, configured to: superimpose the service layer service bandwidth carried on the determined service layer tunnel; and set the unit to: set the CAC switch and the flow control switch of the determined service layer tunnel To enable the state and set the adjustment mode of the determined service layer tunnel to adaptive adjustment.
可选地,上述装置还包括:校验模块,设置为:对确定的服务层隧道上承载的选取的客户层业务进行CAC预校验;修改模块,设置为:将确定的服务层隧道的业务带宽调整为当前通过CAC预校验的客户层业务的带宽总和;下发模块,设置为:依次下发业务带宽变小的业务伪线、带宽总和以及业务带宽变大的业务伪线。 Optionally, the foregoing apparatus further includes: a verification module, configured to perform CAC pre-verification on the selected client layer service carried on the determined service layer tunnel; and the modifying module is configured to: determine the service layer tunnel service The bandwidth is adjusted to the sum of the bandwidths of the client layer services that are currently pre-verified by the CAC. The delivery module is configured to deliver service pseudowires with reduced service bandwidths, sum of bandwidths, and service pseudowires with large service bandwidths.
根据本发明实施例的另一方面,提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。According to another aspect of an embodiment of the present invention, a computer readable storage medium storing computer executable instructions for performing the method of any of the above is provided.
通过本发明实施例,采用根据用户选取的客户层业务确定承载选取的客户层业务的服务层隧道;对确定的服务层隧道的业务带宽进行调整,解决了相关技术中所提供的客户层业务带宽的调整方式易造成资源浪费、准确性较低的问题,进而能够选中多条客户层业务进行带宽调整,将隧道和客户层业务的带宽调整到正确值。According to the embodiment of the present invention, the service layer tunnel of the selected client layer service is determined according to the customer layer service selected by the user; the service bandwidth of the determined service layer tunnel is adjusted, and the bandwidth of the client layer service provided in the related technology is solved. The adjustment method is easy to cause waste of resources and low accuracy. In turn, multiple client layer services can be selected for bandwidth adjustment, and the bandwidth of the tunnel and client layer services can be adjusted to the correct value.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是根据本发明实施例的业务带宽的调整方法的流程图;1 is a flowchart of a method for adjusting a service bandwidth according to an embodiment of the present invention;
图2是根据本发明实施例的业务带宽的调整装置的结构框图;2 is a structural block diagram of an apparatus for adjusting a service bandwidth according to an embodiment of the present invention;
图3是根据本发明可选实施例的业务带宽的调整装置的结构框图。3 is a structural block diagram of an apparatus for adjusting a service bandwidth according to an alternative embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将参考附图并结合实施例来详细说明本发明的实施方式。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Embodiments of the present invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order.
在本实施例中提供了一种业务带宽的调整方法,图1是根据本发明实施例的业务带宽的调整方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a method for adjusting a service bandwidth is provided. FIG. 1 is a flowchart of a method for adjusting a service bandwidth according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
步骤S102,根据用户选取的客户层业务确定承载选取的客户层业务的服务层隧道;Step S102, determining, according to the client layer service selected by the user, a service layer tunnel carrying the selected client layer service;
步骤S104,对确定的服务层隧道的业务带宽进行调整。Step S104, adjusting the service bandwidth of the determined service layer tunnel.
通过上述步骤,可以基于用户选中的多条客户层业务进行带宽调整,将 隧道和客户层业务的带宽调整到正确值,解决了相关技术中所提供的客户层业务带宽的调整方式易造成资源浪费、准确性较低的问题,实现了批量调整业务带宽参数。Through the above steps, bandwidth adjustment can be performed based on multiple client layer services selected by the user, The bandwidth of the tunnel and the client layer is adjusted to the correct value, which solves the problem that the bandwidth adjustment of the client layer service bandwidth provided in the related technology is easy to cause waste of resources and low accuracy, and realizes batch adjustment of service bandwidth parameters.
在实施过程中,以端到端网管软件批量业务带宽调整为例实现了一种批量调整业务带宽参数,使之满足用户需求并符合CAC规则的方法。业务调整是以隧道为原子级别调整单位,即一条隧道所承载的所有客户层业务,一次性完成处理。用户可以选取一项或者多项客户层业务,并在将CAC参数修改成目标值后,下发给服务器。服务器根据用户选取的客户层业务查找全部相关的服务层隧道集合A,再根据隧道查客户层业务,查找客户层业务的服务层隧道集合B。如果服务层隧道集合B中所包含的隧道数量多于服务层隧道集合A中所包含的隧道数量,则需要进一步循环查找业务和隧道,直到找不到新的业务和隧道为止。找到所有的隧道和业务后,计算出每条隧道和业务的带宽值,先将隧道带宽值调整成当前的客户层带宽之和,再下发带宽变小的伪线数据,然后下发隧道的最终带宽值,最后下发带宽变大的伪线数据。下面将结合以下实施方式进行说明。In the implementation process, the end-to-end network management software batch service bandwidth adjustment is taken as an example to implement a method for batch adjusting service bandwidth parameters to meet user requirements and comply with CAC rules. The service adjustment is based on the tunnel as the atomic level adjustment unit, that is, all the client layer services carried by one tunnel, and the processing is completed at one time. The user can select one or more client layer services and send the CAC parameters to the target value and then send them to the server. The server searches all related service layer tunnels A according to the customer layer service selected by the user, and then searches the client layer service according to the tunnel to find the service layer tunnel set B of the client layer service. If the number of tunnels included in the service layer tunnel set B is greater than the number of tunnels included in the service layer tunnel set A, then further roundup of services and tunnels is required until new services and tunnels are not found. After all the tunnels and services are found, the bandwidth value of each tunnel and service is calculated. The tunnel bandwidth value is adjusted to the sum of the current client layer bandwidths, and the pseudowire data with the smaller bandwidth is delivered, and then the tunnel is delivered. The final bandwidth value, and finally the pseudowire data with the bandwidth increasing. The following description will be made in conjunction with the following embodiments.
在步骤S102中,根据选取的客户层业务确定承载选取的客户层业务的服务层隧道可以包括以下步骤:In step S102, determining, according to the selected client layer service, the service layer tunnel carrying the selected client layer service may include the following steps:
步骤1、根据选取的客户层业务查找服务层隧道集合,其中,服务层隧道集合中的每条服务层隧道所承载的业务中均包括选取的客户层业务中的部分或全部业务;Step 1: Searching for a service layer tunnel set according to the selected client layer service, where each service layer tunnel in the service layer tunnel set includes services of part or all of the selected client layer services;
步骤2、对服务层隧道集合中每条服务层隧道上承载的客户层业务执行过滤操作,获取剩余的服务层隧道,其中,剩余的服务层隧道上仅承载选取的客户层业务中的部分或全部业务;Step 2: Perform a filtering operation on the client layer service carried on each service layer tunnel in the service layer tunnel set, and obtain the remaining service layer tunnels, where the remaining service layer tunnels only carry the selected part of the client layer service or All business;
步骤3、对剩余的服务层隧道进行分析,判断是否出现新的客户层业务或新的服务层隧道;如果是,则返回步骤1;如果否,则将剩余的服务层隧道作为确定的服务层隧道。Step 3: Analyze the remaining service layer tunnels to determine whether a new client layer service or a new service layer tunnel appears; if yes, return to step 1; if not, the remaining service layer tunnels are determined as the determined service layer. tunnel.
在一实施例中,用户可以选取需要进行带宽调整的客户层业务,例如:E-LINE业务和TDM业务,由此进入业务带宽调整界面。根据用户选取的客户层业务,分析查找与用户选取的客户层业务相关的全部服务层隧道以及搜 索出这些服务层隧道所承载的全部客户层业务。In an embodiment, the user can select a client layer service that needs to perform bandwidth adjustment, for example, an E-line service and a TDM service, thereby entering a service bandwidth adjustment interface. According to the customer layer service selected by the user, analyze and find all service layer tunnels related to the customer layer service selected by the user and search All customer layer services carried by these service layer tunnels are extracted.
在实施过程中,首先,可以过滤掉客户层业务存在的E-TREE/E-LAN/L3VPN业务,同时过滤掉与E-TREE/E-LAN/L3VPN业务共用隧道的客户层业务。其次,在完成上述过滤操作后,客户层业务信息仅剩下E-LINE业务和TDM业务,同时,与这些业务相关的全部服务层隧道也仅能够承载E-LINE业务和TDM业务。然后,将已经被过滤掉的多种类型业务在特定浏览页面呈现给用户。最后,对于完成上述过滤操作后剩余的客户层业务,还可以对与这些客户层业务相关的所有服务层隧道再做进一步分析,观察是否存在新出现的服务层隧道;如果存在新出现的服务层隧道,则需要按照上述步骤对新出现的服务层隧道进行分析,即上述新出现的服务层隧道是否仅能够承载E-LINE业务和TDM业务还是会同时承载其他类型客户层业务,反复进行上述分析,直至没有新的服务层隧道出现为此。In the implementation process, firstly, the E-TREE/E-LAN/L3VPN service existing in the customer layer service can be filtered out, and the client layer service shared with the E-TREE/E-LAN/L3VPN service tunnel is filtered out. Secondly, after the above filtering operation is completed, only the E-line service and the TDM service are left in the client layer service information, and all service layer tunnels related to these services can only carry the E-line service and the TDM service. Then, various types of services that have been filtered out are presented to the user on a specific browsing page. Finally, for the customer layer services remaining after the above filtering operation, all the service layer tunnels related to these client layer services can be further analyzed to observe whether there is a new service layer tunnel; if there is a new service layer In the tunnel, the new service layer tunnel needs to be analyzed according to the above steps. That is, whether the newly-created service layer tunnel can only carry E-LINE service and TDM service or bear other types of client layer services at the same time. Until there is no new service layer tunnel appearing for this.
在通常情况下,不会再出现新的服务层隧道,然而,从技术方案的精确性和完整性角度进行全面考虑,对上述特殊情况的发生提出分析解决方案,以防止出现特殊配置的情况发生。Under normal circumstances, new service layer tunnels will not appear again. However, from the perspective of the accuracy and completeness of the technical solution, an analysis solution is proposed for the occurrence of the above special cases to prevent the occurrence of special configurations. .
在步骤S104,对确定的服务层隧道的业务带宽进行调整之前,还可以包括以下操作:Before the service bandwidth of the determined service layer tunnel is adjusted, the following operations may be included in the step S104:
步骤4、根据业务列表中的预设类型业务是否已经配置对应的带宽参数和/或是否被用户选中进行带宽调整确定CAC开关和流量控制开关的状态。Step 4: Determine, according to the preset type in the service list, whether the service has configured the corresponding bandwidth parameter and/or whether the user selects the bandwidth adjustment to determine the state of the CAC switch and the flow control switch.
在一实施例中,业务列表在初始状况下,会呈现业务伪线调整前的相关信息,其中,可以包括但不限于:CAC开关、流控开关、带宽参数信息(例如:CIR、CBS、PIR、PBS、色盲、色敏感)。业务列表中的每个信息列均要求能够支持多种类型的排序(例如:升序排列、降序排列、按照修改日期排列、按照参数类型排列),以便于用户进行查看。同时,业务列表还需要支持Shift、CTRL、鼠标方式进行多选、去选业务操作。用户可以通过点击右键进入修改界面,并在完成修改带宽操作后点击确定,最终业务列表能够呈现业务伪线需要被修改成的数值。In an embodiment, the service list may be related to the information before the adjustment of the service pseudowire in the initial situation, which may include, but is not limited to, a CAC switch, a flow control switch, and bandwidth parameter information (eg, CIR, CBS, PIR). , PBS, color blindness, color sensitivity). Each column of information in the business list is required to support multiple types of sorting (for example: ascending order, descending order, sorting by modified date, sorting by parameter type) for the user to view. At the same time, the business list also needs to support Shift, CTRL, mouse mode for multiple selection, to select business operations. The user can right-click to enter the modification interface, and click OK after completing the bandwidth modification operation. The final service list can display the value that the business pseudowire needs to be modified.
在步骤4中,根据预设类型业务是否已经配置对应的带宽参数和/或是否被选中进行带宽调整确定CAC开关和流量控制开关的状态可以包括以下之 一:In step 4, according to whether the preset type service has configured the corresponding bandwidth parameter and/or whether the bandwidth adjustment is selected to determine the state of the CAC switch and the flow control switch, the following may be included. One:
(1)如果预设类型业务已经配置对应的带宽参数,则CAC开关和流量控制开关处于开启状态;(1) If the preset type service has been configured with the corresponding bandwidth parameter, the CAC switch and the flow control switch are in an open state;
(2)如果预设类型业务没有配置对应的带宽参数并且未被用户选中进行带宽调整,则CAC开关和流量控制开关处于关闭状态;(2) If the preset type service is not configured with the corresponding bandwidth parameter and is not selected by the user for bandwidth adjustment, the CAC switch and the flow control switch are in the off state;
(3)如果预设类型业务被用户选中并且用户完成对预设类型业务进行带宽调整,则CAC开关和流量控制开关处于开启状态。(3) If the preset type service is selected by the user and the user completes bandwidth adjustment for the preset type service, the CAC switch and the flow control switch are turned on.
在一实施例中,假设上述客户层业务为以太网业务:In an embodiment, it is assumed that the above client layer service is an Ethernet service:
(a)对于已经配置带宽参数的以太网业务,调整后的CAC开关和流量控制开关将被强制设置为开启。即不管用户是否进行了调整操作,工具自动进行开关强制开启。(a) For Ethernet services that have bandwidth parameters configured, the adjusted CAC switch and flow control switch will be forced to ON. That is, regardless of whether the user has performed an adjustment operation, the tool automatically performs a switch forced on.
(b)对于没有配置带宽参数的以太网业务(CAC关闭、流量控制关闭、且没有带宽参数),如果用户没有进行调整操作,则维持不变。(b) For Ethernet services that do not have bandwidth parameters configured (CAC off, flow control off, and no bandwidth parameters), if the user does not perform the adjustment operation, it remains unchanged.
(c)用户如果选中部分以太网业务(无论是否配置带宽参数),都需要进行带宽调整操作,此时弹出带宽调整界面,由用户进行带宽参数(CIR、CBS、PIR、PBS、色盲、色敏感)信息输入,而如果用户设置了带宽参数,此时业务的CAC开关、流量控制开关将被强制设置为开启。(c) If the user selects part of the Ethernet service (whether or not the bandwidth parameter is configured), the bandwidth adjustment operation is required. At this time, the bandwidth adjustment interface is popped up, and the bandwidth parameter (CIR, CBS, PIR, PBS, color blindness, color sensitivity) is performed by the user. ) Information input, and if the user sets the bandwidth parameter, the CAC switch and flow control switch of the service will be forcibly set to ON.
在本发明的另一个实施例中,假设上述客户层业务为时分复用(TDM)业务:In another embodiment of the present invention, it is assumed that the above client layer service is a time division multiplexing (TDM) service:
(a)可以在向用户提供的操作界面上增设“叠加TDM业务带宽”选项开关,如果用户选中了叠加选项开关,此时TDM业务列表中,CIR带宽参数将会自动按照3M进行设置,同时业务的CAC开关、流量控制开关将会被强制设置为开启。(a) The “Overlay TDM Service Bandwidth” option switch can be added to the operation interface provided to the user. If the user selects the overlay option switch, the CIR bandwidth parameter will be automatically set according to 3M in the TDM service list at the same time. The CAC switch and flow control switch will be forced to be turned on.
对于TDM业务而言,其也可以进行带宽修改操作,操作规则与以太网业务基本相同。For the TDM service, it can also perform bandwidth modification operations, and the operation rules are basically the same as those of the Ethernet service.
(b)如果用户未选择叠加选项开关,此时业务的CAC开关以及流量控制开关将会被强制设置为关闭,并且带宽参数为空。(b) If the user does not select the overlay option switch, the CAC switch and flow control switch of the service will be forced to be off and the bandwidth parameter is empty.
在步骤S104中,对确定的服务层隧道的业务带宽进行调整可以包括以 下步骤:In step S104, adjusting the service bandwidth of the determined service layer tunnel may include Next steps:
步骤5、对确定的服务层隧道上承载的客户层业务带宽进行叠加;Step 5: superimposing service bandwidth of the client layer carried on the determined service layer tunnel;
步骤6、将确定的服务层隧道的CAC开关和流量控制开关设置为开启状态以及将确定的服务层隧道的调整模式设置为自适应调整。Step 6. Set the determined CAC switch and the flow control switch of the service layer tunnel to an on state and set the determined adjustment mode of the service layer tunnel to an adaptive adjustment.
在一实施例中,隧道信息不会呈现在显示界面中,而仅由服务器查找相关的隧道并进行计算下发。而且,隧道是否会收敛可以在初始设定时进行选择,其既可以选择保持原值,也可以选择将隧道收敛,还可以选择将隧道不收敛。对于已经发生过变更的客户层业务,将自动进行隧道的带宽叠加(即叠加所有客户层业务带宽),隧道的CAC开关以及流量控制开关将会被强制设置为开启,并且设置隧道带宽为自动调整,开启色敏感模式。在实施过程中,上述CBS、PIR、PBS、色盲、色敏感尽量保持原值不变,如果上述参数被赋予的原值不在预先设定的合理取值范围内(即为非法值),则需要采用预先设定的默认值来取代上述参数被赋予的原值。In an embodiment, the tunnel information is not presented in the display interface, but only the server searches for the relevant tunnel and performs calculation and delivery. Moreover, whether the tunnel will converge can be selected at the initial setting, and it can choose to maintain the original value, or choose to converge the tunnel, or choose to not converge the tunnel. For the client layer service that has changed, the bandwidth of the tunnel will be automatically superimposed (that is, the bandwidth of all client layers is superimposed). The CAC switch and flow control switch of the tunnel will be forcibly set to on, and the tunnel bandwidth will be set automatically. , turn on the color sensitive mode. In the implementation process, the above CBS, PIR, PBS, color blindness, and color sensitivity are kept as constant as possible. If the original value given by the above parameters is not within a predetermined reasonable value range (ie, an illegal value), then The default value assigned by the above parameters is replaced by a preset default value.
在步骤S104,对确定的服务层隧道的业务带宽进行调整之后,还可以包括以下步骤:After the service bandwidth of the determined service layer tunnel is adjusted, the following steps may be further included in the step S104:
步骤7、对确定的服务层隧道上承载的选取的客户层业务进行CAC预校验;Step 7. Perform CAC pre-verification on the selected client layer service carried on the determined service layer tunnel.
步骤8、将确定的服务层隧道的业务带宽调整为当前通过CAC预校验的客户层业务的带宽总和;Step 8: Adjust the service bandwidth of the determined service layer tunnel to the total bandwidth of the client layer service that is currently pre-verified by the CAC;
步骤9、依次下发业务带宽变小的业务伪线、带宽总和以及业务带宽变大的业务伪线。In step 9, the service pseudowire with the service bandwidth becomes smaller, the sum of the bandwidth, and the service pseudowire with the service bandwidth become larger.
在一实施例中,在应用下发前,可以预先进行CAC预校验,如果发现存在CAC校验无法通过的客户层业务,将不会下发至用户设备,并且将业务清单记录下来以提示用户。其次,将预校验通过的隧道调整为当前的客户层带宽之和:将所有的隧道CAC开关打开,将固定带宽的隧道改成带宽自动可调的隧道。再次,将业务带宽变小的伪线下发至用户设备:只下发上述预校验成功的隧道的客户层业务。然后,将没有失败的相关隧道带宽调整为用户输入的带宽之和。之后,调整剩余的伪线带宽:只下发(ii)中预校验成 功的隧道上承载的客户层业务。最后,分析所有校验异常与下发设备异常,将相关的隧道与客户层业务设置为调整带宽失败,将剩下的隧道与客户层业务设置为调整带宽成功,返回给客户端,以呈现给用户。In an embodiment, before the application is sent, the CAC pre-verification may be performed in advance. If the client layer service that cannot be passed by the CAC check is found, it will not be delivered to the user equipment, and the service list is recorded to prompt user. Secondly, the pre-verified tunnel is adjusted to the sum of the current client layer bandwidth: all tunnel CAC switches are turned on, and the fixed bandwidth tunnel is changed into a tunnel with automatically adjustable bandwidth. Then, the pseudo-line with the reduced service bandwidth is delivered to the user equipment: only the client layer service of the tunnel with the pre-verification succeeded is delivered. Then, the relevant tunnel bandwidth without failure is adjusted to the sum of the bandwidths input by the user. After that, adjust the remaining pseudowire bandwidth: only pre-verify in (ii) The client layer service carried on the tunnel. Finally, analyze all the verification anomalies and the delivery device abnormalities, set the relevant tunnel and client layer services to adjust the bandwidth failure, set the remaining tunnel and client layer services to adjust the bandwidth successfully, and return to the client to present to user.
在上述部分隧道或者客户层业务发生异常(例如:未能通过CAC校验)的情况下,并不会影响正常的隧道以及客户层业务向用户设备下发,其只是将上述发生异常的部分隧道或者客户层业务排除在后续的带宽计算以及向用户设备下发之外,换言之,本发明实施例所提供的技术方案能够支持部分隧道或者客户层业务发生异常而其余部分隧道或者客户层业务正常的场景,其中,仅由正常的隧道或者客户层业务参与计算以及向用户设备下发。In the case that the above-mentioned part of the tunnel or the client layer service is abnormal (for example, fails to pass the CAC check), it does not affect the normal tunnel and the client layer service is delivered to the user equipment. Or the client layer service is excluded from the subsequent bandwidth calculation and is delivered to the user equipment. In other words, the technical solution provided by the embodiment of the present invention can support abnormality of part of the tunnel or client layer service and the rest of the tunnel or client layer service is normal. A scenario in which the normal tunnel or client layer service participates in the calculation and is delivered to the user equipment.
对于本发明提供的上述实施方式而言,针对异常业务整改以及网络现网全网业务带宽改造,满足现网业务带宽改造需求,包括业务带宽从无到有、从有到有带宽调整需求,由此通过现网业务逐步整改,实现现网从增量CAC方式逐步过渡到全量CAC方式。在具备批量业务参数调整工具后,可以通过逐步改造方式过渡到全量CAC方式,一步到位的全量CAC方式由此后续可以淡化,由此还可以避免因一步到位全量CAC方式所引发的现网上下不一致数据的问题和处理。For the above-mentioned embodiments provided by the present invention, the abnormal service rectification and the bandwidth modification of the entire network of the network existing network are satisfied, and the bandwidth transformation needs of the existing network service are met, including the service bandwidth from scratch, from the existing to the bandwidth adjustment requirement, Through the gradual rectification of the existing network services, the existing network gradually transitions from the incremental CAC mode to the full CAC mode. After the batch service parameter adjustment tool is available, it can be transitioned to the full CAC mode through the step-by-step transformation method. The one-step full-size CAC method can be subsequently faded, thereby avoiding the inconsistency on the current network caused by the one-step full-size CAC method. Data problems and processing.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括多个指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium (such as ROM/RAM, disk). The optical disc includes a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present invention.
在本实施例中还提供了一种业务带宽的调整装置,该装置用于实现上述实施例及实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置可以以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。 In the embodiment, a device for adjusting the bandwidth of the service is provided, and the device is used to implement the foregoing embodiments and implementation manners, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的业务带宽的调整装置的结构框图,如图2所示,该装置可以包括:第一确定模块10,设置为:根据用户选取的客户层业务确定承载选取的客户层业务的服务层隧道;调整模块20,设置为:对确定的服务层隧道的业务带宽进行调整。2 is a structural block diagram of a device for adjusting a service bandwidth according to an embodiment of the present invention. As shown in FIG. 2, the device may include: a first determining module 10 configured to: determine a client selected by a carrier according to a client layer service selected by a user. The service layer tunnel of the layer service; the adjustment module 20 is configured to: adjust the service bandwidth of the determined service layer tunnel.
可选地,第一确定模块10,是设置为:按照以下步骤根据选取的客户层业务确定承载选取的客户层业务的服务层隧道包括:步骤1、根据选取的客户层业务查找服务层隧道集合,其中,服务层隧道集合中的每条服务层隧道所承载的业务中均包括选取的客户层业务中的部分或全部业务;步骤2、对服务层隧道集合中每条服务层隧道上承载的客户层业务执行过滤操作,获取剩余的服务层隧道,其中,剩余的服务层隧道上仅承载选取的客户层业务中的部分或全部业务;步骤3、对剩余的服务层隧道进行分析,判断是否出现新的客户层业务或新的服务层隧道;如果是,则返回步骤1;如果否,则将剩余的服务层隧道作为确定的服务层隧道。Optionally, the first determining module 10 is configured to: determine, according to the selected client layer service, the service layer tunnel of the selected client layer service according to the following steps: Step 1: Find a service layer tunnel set according to the selected client layer service The service carried by each service layer tunnel in the service layer tunnel set includes some or all services in the selected client layer service; and step 2 is carried on each service layer tunnel in the service layer tunnel set. The client layer service performs the filtering operation to obtain the remaining service layer tunnels. The remaining service layer tunnels only carry some or all of the services of the selected client layer services. Step 3: analyze the remaining service layer tunnels to determine whether A new client layer service or a new service layer tunnel appears; if yes, return to step 1; if not, the remaining service layer tunnels are used as the determined service layer tunnel.
图3是根据本发明可选实施例的业务带宽的调整装置的结构框图,如图3所示,该装置除包括图2所示的所有模块外,还可以包括:第二确定模块30,设置为:根据业务列表中的预设类型业务是否已经配置对应的带宽参数和/或是否被用户选中进行带宽调整确定CAC开关和流量控制开关的状态。3 is a structural block diagram of an apparatus for adjusting a service bandwidth according to an alternative embodiment of the present invention. As shown in FIG. 3, the apparatus may include: a second determining module 30, in addition to all the modules shown in FIG. The status of the CAC switch and the flow control switch is determined according to whether the service has configured the corresponding bandwidth parameter and/or is selected by the user for bandwidth adjustment according to the preset type in the service list.
可选地,第二确定模块30,是设置为:根据预设类型业务是否已经配置对应的带宽参数和/或是否被选中进行带宽调整确定CAC开关和流量控制开关的状态包括以下之一:Optionally, the second determining module 30 is configured to: determine whether the state of the CAC switch and the flow control switch is determined according to whether the service has configured the corresponding bandwidth parameter and/or is selected to perform bandwidth adjustment according to the preset type:
(1)如果预设类型业务已经配置对应的带宽参数,则CAC开关和流量控制开关处于开启状态;(1) If the preset type service has been configured with the corresponding bandwidth parameter, the CAC switch and the flow control switch are in an open state;
(2)如果预设类型业务没有配置对应的带宽参数并且未被用户选中进行带宽调整,则CAC开关和流量控制开关处于关闭状态;(2) If the preset type service is not configured with the corresponding bandwidth parameter and is not selected by the user for bandwidth adjustment, the CAC switch and the flow control switch are in the off state;
(3)如果预设类型业务被用户选中并且用户完成对预设类型业务进行带宽调整,则CAC开关和流量控制开关处于开启状态。(3) If the preset type service is selected by the user and the user completes bandwidth adjustment for the preset type service, the CAC switch and the flow control switch are turned on.
可选地,调整模块20可以包括:叠加单元(图中未示出),设置为:对确定的服务层隧道上承载的客户层业务带宽进行叠加;设置单元(图中未示 出),设置为:将确定的服务层隧道的CAC开关和流量控制开关设置为开启状态以及将确定的服务层隧道的调整模式设置为自适应调整。Optionally, the adjusting module 20 may include: a superimposing unit (not shown) configured to: superimpose a client layer service bandwidth carried on the determined service layer tunnel; and set a unit (not shown in the figure) Out), set to: set the determined CAC switch and flow control switch of the service layer tunnel to the on state and set the determined adjustment mode of the service layer tunnel to adaptive adjustment.
可选地,如图3所示,上述装置还可以包括:校验模块40,设置为:对确定的服务层隧道上承载的选取的客户层业务进行CAC预校验;修改模块50,设置为:将确定的服务层隧道的业务带宽调整为当前通过CAC预校验的客户层业务的带宽总和;下发模块60,设置为:依次下发业务带宽变小的业务伪线、带宽总和以及业务带宽变大的业务伪线。Optionally, as shown in FIG. 3, the foregoing apparatus may further include: a verification module 40 configured to perform CAC pre-verification on the selected client layer service carried on the determined service layer tunnel; and the modifying module 50 is configured to The service bandwidth of the determined service layer tunnel is adjusted to the sum of the bandwidths of the client layer services that are currently pre-verified by the CAC; the delivery module 60 is configured to: deliver the service pseudowires with the reduced service bandwidth, the sum of the bandwidths, and the service A business pseudowire with a large bandwidth.
需要说明的是,上述每个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the foregoing modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,根据用户选取的客户层业务确定承载选取的客户层业务的服务层隧道;S1, determining, according to the customer layer service selected by the user, a service layer tunnel carrying the selected client layer service;
S2,对确定的服务层隧道的业务带宽进行调整。S2, adjusting the service bandwidth of the determined service layer tunnel.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:根据选取的客户层业务确定承载选取的客户层业务的服务层隧道包括:步骤1、根据选取的客户层业务查找服务层隧道集合,其中,服务层隧道集合中的每条服务层隧道所承载的业务中均包括选取的客户层业务中的部分或全部业务;步骤2、对服务层隧道集合中每条服务层隧道上承载的客户层业务执行过滤操作,获取剩余的服务层隧道,其中,剩余的服务层隧道上仅承载选取的客户层业务中的部分或全部业务;步骤3、对剩余的服务层隧道进行分析,判断是否出现新的客户层业务或新的服务层隧道;如果是,则返回步骤1;如果否,则将剩余的服务层隧道作为确定的服务层隧道。Optionally, the storage medium is further configured to store program code for performing the following steps: determining, according to the selected client layer service, a service layer tunnel carrying the selected client layer service, including: Step 1. Searching for a service according to the selected client layer service a layer tunnel set, where each service layer tunnel in the service layer tunnel set carries some or all services in the selected client layer service; step 2, each service layer tunnel in the service layer tunnel set The client layer service carried on the network performs the filtering operation to obtain the remaining service layer tunnels. The remaining service layer tunnels only carry some or all of the services of the selected client layer services. Step 3: Analyze the remaining service layer tunnels , to determine whether a new client layer service or a new service layer tunnel occurs; if yes, return to step 1; if not, the remaining service layer tunnel is used as the determined service layer tunnel.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A medium such as a disc or an optical disc that can store program code.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行 根据业务列表中的预设类型业务是否已经配置对应的带宽参数和/或是否被用户选中进行带宽调整确定CAC开关和流量控制开关的状态。Optionally, in this embodiment, the processor executes according to the stored program code in the storage medium. Determine the status of the CAC switch and the flow control switch according to whether the service has configured the corresponding bandwidth parameter and/or whether the user selects the bandwidth adjustment according to the preset type in the service list.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行根据预设类型业务是否已经配置对应的带宽参数和/或是否被选中进行带宽调整确定CAC开关和流量控制开关的状态包括以下之一:如果预设类型业务已经配置对应的带宽参数,则CAC开关和流量控制开关处于开启状态;如果预设类型业务没有配置对应的带宽参数并且未被用户选中进行带宽调整,则CAC开关和流量控制开关处于关闭状态;如果预设类型业务被用户选中并且用户完成对预设类型业务进行带宽调整,则CAC开关和流量控制开关处于开启状态。Optionally, in this embodiment, the processor performs, according to the stored program code in the storage medium, whether the corresponding bandwidth parameter is configured according to the preset type service and/or whether the bandwidth adjustment is selected to determine the CAC switch and the flow control switch. The state includes one of the following: if the preset type service has been configured with the corresponding bandwidth parameter, the CAC switch and the flow control switch are in an open state; if the preset type service is not configured with the corresponding bandwidth parameter and is not selected by the user for bandwidth adjustment, Then, the CAC switch and the flow control switch are in the off state; if the preset type service is selected by the user and the user completes the bandwidth adjustment for the preset type service, the CAC switch and the flow control switch are turned on.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行对确定的服务层隧道上承载的客户层业务带宽进行叠加;将确定的服务层隧道的CAC开关和流量控制开关设置为开启状态以及将确定的服务层隧道的调整模式设置为自适应调整。Optionally, in this embodiment, the processor performs superposition of the client layer service bandwidth carried on the determined service layer tunnel according to the stored program code in the storage medium; the determined CAC switch and flow control of the service layer tunnel The switch is set to the on state and the determined adjustment mode of the service layer tunnel is set to adaptive adjustment.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行对确定的服务层隧道上承载的选取的客户层业务进行CAC预校验;将确定的服务层隧道的业务带宽调整为当前通过CAC预校验的客户层业务的带宽总和;依次下发业务带宽变小的业务伪线、带宽总和以及业务带宽变大的业务伪线。Optionally, in this embodiment, the processor performs CAC pre-verification on the selected client layer service carried on the determined service layer tunnel according to the stored program code in the storage medium; the service of the determined service layer tunnel is determined. The bandwidth is adjusted to the sum of the bandwidths of the client layer services that are currently pre-verified by the CAC; the service pseudowires with the service bandwidth becomes smaller, the sum of the bandwidths, and the service pseudowires with the larger service bandwidths are sequentially delivered.
可选地,本实施例中的应用示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the application examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的模块或步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-described modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be implemented by program code executable by a computing device such that they may be stored in a storage device by a computing device and, in some cases, may be executed in a different order than herein. The steps shown or described are either fabricated as integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the application is not limited to any particular combination of hardware and software.
以上所述仅为本发明的实施例而已,并不用于限制本发明,对于本领域 的技术人员来说,本发明可以有多种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only an embodiment of the present invention and is not intended to limit the present invention. The invention can be varied and varied in many ways. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
通过本发明实施例,解决了相关技术中所提供的客户层业务带宽的调整方式易造成资源浪费、准确性较低的问题,进而能够选中多条客户层业务进行带宽调整,将隧道和客户层业务的带宽调整到正确值。 The embodiment of the present invention solves the problem that the adjustment mode of the service layer bandwidth of the client layer provided in the related art is easy to cause waste of resources and low accuracy, and thus can select multiple client layer services for bandwidth adjustment, and the tunnel and the client layer are selected. The bandwidth of the service is adjusted to the correct value.

Claims (12)

  1. 一种业务带宽的调整方法,包括:A method for adjusting service bandwidth, including:
    根据用户选取的客户层业务确定承载所述选取的客户层业务的服务层隧道;Determining, according to the client layer service selected by the user, a service layer tunnel that carries the selected client layer service;
    对所述确定的服务层隧道的业务带宽进行调整。Adjusting the service bandwidth of the determined service layer tunnel.
  2. 根据权利要求1所述的方法,其中,根据所述选取的客户层业务确定承载所述选取的客户层业务的服务层隧道包括:The method according to claim 1, wherein determining a service layer tunnel carrying the selected client layer service according to the selected client layer service comprises:
    步骤1、根据所述选取的客户层业务查找服务层隧道集合,其中,所述服务层隧道集合中的每条服务层隧道所承载的业务中均包括所述选取的客户层业务中的部分或全部业务;Step 1: Query a service layer tunnel set according to the selected client layer service, where each service layer tunnel in the service layer tunnel set includes a part of the selected client layer service or All business;
    步骤2、对所述服务层隧道集合中每条服务层隧道上承载的客户层业务执行过滤操作,获取剩余的服务层隧道,其中,所述剩余的服务层隧道上仅承载所述选取的客户层业务中的部分或全部业务;Step 2: Perform a filtering operation on the client layer service carried in each service layer tunnel in the service layer tunnel set, and obtain the remaining service layer tunnel, where only the selected client is carried on the remaining service layer tunnel. Part or all of the business in the layer business;
    步骤3、对所述剩余的服务层隧道进行分析,判断是否出现新的客户层业务或新的服务层隧道;如果是,则返回步骤1;如果否,则将所述剩余的服务层隧道作为所述确定的服务层隧道。Step 3: analyzing the remaining service layer tunnels to determine whether a new client layer service or a new service layer tunnel occurs; if yes, returning to step 1; if not, using the remaining service layer tunnel as The determined service layer tunnel.
  3. 根据权利要求1所述的方法,其中,在对所述确定的服务层隧道的业务带宽进行调整之前,还包括:The method of claim 1, wherein before adjusting the service bandwidth of the determined service layer tunnel, the method further comprises:
    根据业务列表中的预设类型业务是否已经配置对应的带宽参数和/或是否被用户选中进行带宽调整确定呼叫接纳控制CAC开关和流量控制开关的状态。The state of the call admission control CAC switch and the flow control switch is determined according to whether the service has configured the corresponding bandwidth parameter and/or is selected by the user for bandwidth adjustment according to the preset type in the service list.
  4. 根据权利要求3所述的方法,其中,根据所述预设类型业务是否已经配置所述对应的带宽参数和/或是否被选中进行带宽调整确定所述CAC开关和所述流量控制开关的状态包括以下之一:The method according to claim 3, wherein determining, according to whether the preset type service has configured the corresponding bandwidth parameter and/or whether to perform bandwidth adjustment, determining a state of the CAC switch and the flow control switch comprises: One of the following:
    如果所述预设类型业务已经配置所述对应的带宽参数,则所述CAC开关和所述流量控制开关处于开启状态;If the preset type service has configured the corresponding bandwidth parameter, the CAC switch and the flow control switch are in an open state;
    如果所述预设类型业务没有配置所述对应的带宽参数并且未被所述用户 选中进行带宽调整,则所述CAC开关和所述流量控制开关处于关闭状态;If the preset type of service does not configure the corresponding bandwidth parameter and is not the user When the bandwidth adjustment is selected, the CAC switch and the flow control switch are in a closed state;
    如果所述预设类型业务被所述用户选中并且所述用户完成对所述预设类型业务进行带宽调整,则所述CAC开关和所述流量控制开关处于开启状态。If the preset type service is selected by the user and the user completes bandwidth adjustment for the preset type service, the CAC switch and the flow control switch are in an open state.
  5. 根据权利要求1所述的方法,其中,对所述确定的服务层隧道的业务带宽进行调整包括:The method of claim 1, wherein adjusting the service bandwidth of the determined service layer tunnel comprises:
    对所述确定的服务层隧道上承载的客户层业务带宽进行叠加;Superimposing the client layer service bandwidth carried on the determined service layer tunnel;
    将所述确定的服务层隧道的CAC开关和流量控制开关设置为开启状态以及将所述确定的服务层隧道的调整模式设置为自适应调整。The determined CAC switch and flow control switch of the service layer tunnel are set to an on state and the determined adjustment mode of the service layer tunnel is set to adaptive adjustment.
  6. 根据权利要求1所述的方法,其中,在对所述确定的服务层隧道的业务带宽进行调整之后,还包括:The method according to claim 1, wherein after adjusting the service bandwidth of the determined service layer tunnel, the method further comprises:
    对所述确定的服务层隧道上承载的所述选取的客户层业务进行CAC预校验;Performing CAC pre-verification on the selected client layer service carried on the determined service layer tunnel;
    将所述确定的服务层隧道的业务带宽调整为当前通过所述CAC预校验的客户层业务的带宽总和;Adjusting the service bandwidth of the determined service layer tunnel to a sum of bandwidths of client layer services currently pre-verified by the CAC;
    依次下发业务带宽变小的业务伪线、所述带宽总和以及业务带宽变大的业务伪线。A service pseudowire with a reduced service bandwidth, a sum of the bandwidth, and a service pseudowire with a large service bandwidth are sequentially delivered.
  7. 一种业务带宽的调整装置,包括:A service bandwidth adjustment device includes:
    第一确定模块,设置为:根据用户选取的客户层业务确定承载所述选取的客户层业务的服务层隧道;The first determining module is configured to: determine, according to the client layer service selected by the user, a service layer tunnel that carries the selected client layer service;
    调整模块,设置为:对所述确定的服务层隧道的业务带宽进行调整。The adjustment module is configured to: adjust a service bandwidth of the determined service layer tunnel.
  8. 根据权利要求7所述的装置,其中,所述第一确定模块,是设置为:按照以下步骤根据所述选取的客户层业务确定承载所述选取的客户层业务的服务层隧道:The apparatus according to claim 7, wherein the first determining module is configured to: determine, according to the selected client layer service, a service layer tunnel that carries the selected client layer service according to the following steps:
    步骤1、根据所述选取的客户层业务查找服务层隧道集合,其中,所述服务层隧道集合中的每条服务层隧道所承载的业务中均包括所述选取的客户层业务中的部分或全部业务; Step 1: Query a service layer tunnel set according to the selected client layer service, where each service layer tunnel in the service layer tunnel set includes a part of the selected client layer service or All business;
    步骤2、对所述服务层隧道集合中每条服务层隧道上承载的客户层业务执行过滤操作,获取剩余的服务层隧道,其中,所述剩余的服务层隧道上仅承载所述选取的客户层业务中的部分或全部业务;Step 2: Perform a filtering operation on the client layer service carried in each service layer tunnel in the service layer tunnel set, and obtain the remaining service layer tunnel, where only the selected client is carried on the remaining service layer tunnel. Part or all of the business in the layer business;
    步骤3、对所述剩余的服务层隧道进行分析,判断是否出现新的客户层业务或新的服务层隧道;如果是,则返回步骤1;如果否,则将所述剩余的服务层隧道作为所述确定的服务层隧道。Step 3: analyzing the remaining service layer tunnels to determine whether a new client layer service or a new service layer tunnel occurs; if yes, returning to step 1; if not, using the remaining service layer tunnel as The determined service layer tunnel.
  9. 根据权利要求7所述的装置,所述装置还包括:The apparatus of claim 7 further comprising:
    第二确定模块,设置为:根据业务列表中的预设类型业务是否已经配置对应的带宽参数和/或是否被用户选中进行带宽调整确定呼叫接纳控制CAC开关和流量控制开关的状态。The second determining module is configured to: determine, according to the preset type in the service list, whether the service has configured the corresponding bandwidth parameter and/or whether the user selects the bandwidth adjustment to determine the state of the call admission control CAC switch and the flow control switch.
  10. 根据权利要求9所述的装置,其中,所述第二确定模块,是设置为:根据所述预设类型业务是否已经配置所述对应的带宽参数和/或是否被选中进行带宽调整确定所述CAC开关和所述流量控制开关的状态包括以下之一:The device according to claim 9, wherein the second determining module is configured to: determine, according to whether the preset type service has configured the corresponding bandwidth parameter and/or whether it is selected for bandwidth adjustment The state of the CAC switch and the flow control switch includes one of the following:
    如果所述预设类型业务已经配置所述对应的带宽参数,则所述CAC开关和所述流量控制开关处于开启状态;If the preset type service has configured the corresponding bandwidth parameter, the CAC switch and the flow control switch are in an open state;
    如果所述预设类型业务没有配置所述对应的带宽参数并且未被所述用户选中进行带宽调整,则所述CAC开关和所述流量控制开关处于关闭状态;If the preset type service does not configure the corresponding bandwidth parameter and is not selected by the user for bandwidth adjustment, the CAC switch and the flow control switch are in a closed state;
    如果所述预设类型业务被所述用户选中并且所述用户完成对所述预设类型业务进行带宽调整,则所述CAC开关和所述流量控制开关处于开启状态。If the preset type service is selected by the user and the user completes bandwidth adjustment for the preset type service, the CAC switch and the flow control switch are in an open state.
  11. 根据权利要求7所述的装置,其中,所述调整模块包括:The apparatus of claim 7, wherein the adjustment module comprises:
    叠加单元,设置为:对所述确定的服务层隧道上承载的客户层业务带宽进行叠加;a superimposing unit, configured to: superimpose a service layer service bandwidth carried on the determined service layer tunnel;
    设置单元,设置为:将所述确定的服务层隧道的CAC开关和流量控制开关设置为开启状态以及将所述确定的服务层隧道的调整模式设置为自适应调整。And a setting unit configured to: set the CAC switch and the flow control switch of the determined service layer tunnel to an on state and set the determined adjustment mode of the service layer tunnel to an adaptive adjustment.
  12. 根据权利要求7所述的装置,所述装置还包括: The apparatus of claim 7 further comprising:
    校验模块,设置为:对所述确定的服务层隧道上承载的所述选取的客户层业务进行CAC预校验;a verification module, configured to: perform CAC pre-verification on the selected client layer service carried on the determined service layer tunnel;
    修改模块,设置为:将所述确定的服务层隧道的业务带宽调整为当前通过所述CAC预校验的客户层业务的带宽总和;The modifying module is configured to: adjust a service bandwidth of the determined service layer tunnel to a total bandwidth of a client layer service that is currently pre-verified by the CAC;
    下发模块,设置为:依次下发业务带宽变小的业务伪线、所述带宽总和以及业务带宽变大的业务伪线。 The delivery module is configured to: sequentially deliver service pseudowires with reduced service bandwidth, sum of the bandwidths, and service pseudowires with large service bandwidths.
PCT/CN2016/080396 2015-07-03 2016-04-27 Service bandwidth adjusting method and device WO2016180238A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510388748.8 2015-07-03
CN201510388748.8A CN106330526A (en) 2015-07-03 2015-07-03 Method and device for adjusting business bandwidth

Publications (1)

Publication Number Publication Date
WO2016180238A1 true WO2016180238A1 (en) 2016-11-17

Family

ID=57248472

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/080396 WO2016180238A1 (en) 2015-07-03 2016-04-27 Service bandwidth adjusting method and device

Country Status (2)

Country Link
CN (1) CN106330526A (en)
WO (1) WO2016180238A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113055241A (en) * 2019-12-27 2021-06-29 中兴通讯股份有限公司 Bandwidth adjusting and correcting method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6842463B1 (en) * 2000-07-14 2005-01-11 Nortel Networks Limited Automated and adaptive management of bandwidth capacity in telecommunications networks
CN101282297A (en) * 2008-05-22 2008-10-08 中兴通讯股份有限公司 Method and device for regulating bandwidth
CN101282298A (en) * 2008-05-22 2008-10-08 中兴通讯股份有限公司 Method and device for regulating bandwidth
US20140119177A1 (en) * 2012-10-31 2014-05-01 Verizon Patent And Licensing Inc. Method and system for selectively metering network traffic
CN104158752A (en) * 2014-09-01 2014-11-19 华为技术有限公司 Method and device of processing business flow

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4394590B2 (en) * 2005-02-22 2010-01-06 株式会社日立コミュニケーションテクノロジー Packet relay apparatus and communication bandwidth control method
CN101087248B (en) * 2006-06-23 2010-08-18 中兴通讯股份有限公司 Method for originating carrier establishment based on network side of session service
CN101656673A (en) * 2009-09-17 2010-02-24 华为技术有限公司 Pseudo line establishing method and node device
CN104980347B (en) * 2014-04-04 2019-02-12 华为技术有限公司 A kind of method and device for establishing tunnel

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6842463B1 (en) * 2000-07-14 2005-01-11 Nortel Networks Limited Automated and adaptive management of bandwidth capacity in telecommunications networks
CN101282297A (en) * 2008-05-22 2008-10-08 中兴通讯股份有限公司 Method and device for regulating bandwidth
CN101282298A (en) * 2008-05-22 2008-10-08 中兴通讯股份有限公司 Method and device for regulating bandwidth
US20140119177A1 (en) * 2012-10-31 2014-05-01 Verizon Patent And Licensing Inc. Method and system for selectively metering network traffic
CN104158752A (en) * 2014-09-01 2014-11-19 华为技术有限公司 Method and device of processing business flow

Also Published As

Publication number Publication date
CN106330526A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
US11184241B2 (en) Topology-aware continuous evaluation of microservice-based applications
CN104657396B (en) Data migration method and device
US11573964B2 (en) Reducing database system query transaction delay
CN105701113A (en) Method and device for optimizing webpage pre-loading
CN109862379A (en) A kind of log processing method, device, mobile terminal and storage medium
US11196633B2 (en) Generalized correlation of network resources and associated data records in dynamic network environments
EP3101841B1 (en) Method, system and computer readable medium for network management automation
US20210382775A1 (en) Systems and methods for classifying and predicting the cause of information technology incidents using machine learning
CN107710263A (en) Shop accesses data creation and management
US10929279B2 (en) Systems and method for automated testing framework for service portal catalog
CN113792341A (en) Privacy compliance automation detection method, device, equipment and medium for application program
US20210224434A1 (en) Service line-based predication method, device, storage medium and terminal
US20170019490A1 (en) Mirrored visualization of user activity in user interface
US11720406B2 (en) System and method for determining and tracking cloud capacity metrics
WO2016180238A1 (en) Service bandwidth adjusting method and device
CN109828883B (en) Task data processing method and device, storage medium and electronic device
US11151272B2 (en) Monitoring usage of an application to identify characteristics and trigger security control
US20230089407A1 (en) Systems and methods for maintaining and updating an event logging database
US20140040772A1 (en) Highlighting graphical user interface components based on usage by other users
US8949195B1 (en) Method and system for multi-dimensional logging for enterprise applications
CN114398226A (en) Network asset report generation method and device
US11388239B2 (en) Previewing impacted entities in automated device definitions
US8660873B1 (en) Succession planning for registered investment advisors
US11334835B2 (en) Systems and method for incident scorecard
US20230385123A1 (en) System and method for recommending cost optimization options for a cloud resource

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16792088

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16792088

Country of ref document: EP

Kind code of ref document: A1