WO2022100392A1 - Service transmission method, system, and computer-readable storage medium - Google Patents

Service transmission method, system, and computer-readable storage medium Download PDF

Info

Publication number
WO2022100392A1
WO2022100392A1 PCT/CN2021/125270 CN2021125270W WO2022100392A1 WO 2022100392 A1 WO2022100392 A1 WO 2022100392A1 CN 2021125270 W CN2021125270 W CN 2021125270W WO 2022100392 A1 WO2022100392 A1 WO 2022100392A1
Authority
WO
WIPO (PCT)
Prior art keywords
time window
rate
bytes
detection time
service transmission
Prior art date
Application number
PCT/CN2021/125270
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 WO2022100392A1 publication Critical patent/WO2022100392A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Definitions

  • the present application is based on the CN application number 202011263522.2 and the filing date is Nov. 12, 2020, and claims its priority.
  • the disclosure of the CN application is hereby incorporated into the present application as a whole.
  • the present disclosure relates to the field of communication technologies, and in particular, to a service transmission method for a service transmission line, a service transmission network management system, and a computer-readable storage medium.
  • Ethernet ports The speed limit of Ethernet ports is generally only for CPE (Customer Premise Equipment) access equipment (for example, switches, routers, etc.), but in OTN (Optical Transport Network, Optical Transport Network) network, for small For granular Ethernet services (for example, no more than 1000M), Ethernet packet processing is often performed in multiple OTN devices.
  • CPE Customer Premise Equipment
  • OTN Optical Transport Network, Optical Transport Network
  • the port speed limit is mainly realized through the optimization of the token bucket algorithm or the adjustment of parameters.
  • ODU Optical Data Unit, optical data unit
  • CIR Committed Information Rate, committed information rate
  • PIR Peak Information Rate, the highest information rate
  • a service transmission method for a service transmission line includes: setting a first speed limit point at the user network side interface of the CPE device, so that service traffic is transmitted at the user network side interface with a first speed limit bandwidth, wherein the first speed limit A rate-limited bandwidth is the committed information rate CIR; a second rate-limiting point is set at the central office OTN device, so that the service traffic is transmitted in the central office OTN device with the second rate-limited bandwidth, and the second rate-limited bandwidth is
  • the initial value of the high-speed bandwidth is CIR ⁇ , where ⁇ is the ratio of the number of bytes after the increase of bytes to the number of bytes before the increase of bytes of the service traffic through the CPE device; statistics are collected within the detection time window.
  • the total number of bytes of the service traffic received by the central office OTN device and the number of received data packets, and the average length of the data packets is calculated according to the total number of bytes and the number of data packets; and according to the average length of the data packets The length adjusts the second rate-limiting bandwidth.
  • the setting range of the detection time window is T 0 to T max , where T 0 is the initial value of the detection time window, and T max is the maximum value of the detection time window; the service The transmission method further includes: taking ⁇ T as a step time, gradually increasing the detection time window from the T 0 to the T max , where ⁇ T>0.
  • the relational expression for calculating the average length L pkt of the data packet is: Wherein, R byte is the total number of bytes of the received service traffic, and R num is the number of received data packets; according to the average length L pkt of the data packets, the second rate-limiting bandwidth B 2 is adjusted to be Wherein, B 1 is the first rate-limited bandwidth, and ⁇ is the number of bytes added by the service traffic after passing through the CPE device.
  • the range of the ⁇ is 1 ⁇ 1.06; the ⁇ is 4.
  • a service transmission network management system for a service transmission line
  • the service transmission line includes a customer premise equipment CPE device and a central office optical transmission device communicatively connected to the CPE device network OTN equipment
  • the service transmission network management system includes: a first rate limit point setting unit, configured to set a first rate limit point at the user network side interface of the CPE device, so that the service traffic flows on the user network side interface Transmission with a first rate-limiting bandwidth, wherein the first rate-limiting bandwidth is the committed information rate CIR;
  • a second rate-limiting point setting unit is configured to set a second rate-limiting point at the central office OTN device, so that all The service traffic is transmitted in the central office OTN device with a second rate-limited bandwidth, and the initial value of the second rate-limited bandwidth is CIR ⁇ , where ⁇ is the additional bytes of the service traffic passing through the CPE device.
  • the ratio of the number of bytes after and the number of bytes before the increase of bytes; the statistical unit is used to count the total number of bytes of service traffic received by the OTN device at the central office and the number of received data packets within the detection time window, Calculate the average length of the data packets according to the total number of bytes and the data packets; and a bandwidth adjustment unit, configured to adjust the second speed limit bandwidth of the second speed limit point according to the average length of the data packets.
  • the setting range of the detection time window is T 0 to T max , where T 0 is the initial value of the detection time window, and T max is the maximum value of the detection time window;
  • the service The transmission network management system further includes: a time window adjustment unit, configured to take ⁇ T as a step time, and gradually increase the detection time window from the T 0 to the T max , where ⁇ T>0.
  • the relational expression for calculating the average length L pkt of the data packet by the statistical unit is: Wherein, R byte is the total number of bytes of the received service traffic, R num is the number of received data packets; and the bandwidth adjustment unit adjusts the second rate-limiting bandwidth B 2 according to the average length L pkt of the data packets for Wherein, B 1 is the first rate-limited bandwidth, and ⁇ is the number of bytes added by the service traffic after passing through the CPE device.
  • the range of the ⁇ is 1 ⁇ 1.06; the ⁇ is 4.
  • a service transmission network management system for a service transmission line, comprising: a memory; and a processor coupled to the memory, the processor being configured to The instructions of the memory execute the method as previously described.
  • a non-transitory computer-readable storage medium having computer program instructions stored thereon which, when executed by a processor, implement the aforementioned method.
  • FIG. 1 is a flowchart illustrating a service transmission method for a service transmission line according to some embodiments of the present disclosure
  • FIG. 2 is a schematic structural diagram illustrating a service transmission line according to some embodiments of the present disclosure
  • FIG. 3 is a schematic structural diagram illustrating a service transmission network management system for service transmission lines according to some embodiments of the present disclosure
  • FIG. 4 is a schematic structural diagram illustrating a service transmission network management system for service transmission lines according to other embodiments of the present disclosure
  • FIG. 5 is a schematic structural diagram illustrating a service transmission network management system for a service transmission line according to other embodiments of the present disclosure.
  • the inventor of the present disclosure found that due to the rigid pipe characteristics of ODU, although different Ethernet services can share the ODU0 channel, the occupied bandwidth of Ethernet services will be fixed when configuring a single station. Adding SVLAN (Service Virtual Local Area Network, service virtual local area network) will increase the egress service rate, and will require the central office OTN device connected to the CPE to configure a larger bandwidth to ensure no packet loss. If this value is too high, resources will be wasted, resulting in The OTN private line service cost is high; however, if the same rate limit is applied to the OTN equipment at the central office, the rate limit will be inaccurate due to the addition of SVLANs to the CPE equipment. Therefore, the inventors of the present disclosure have found that the known rate limiting of service transmission lines may result in inaccurate rate limiting due to byte expansion when devices add SVLANs to packets, which may easily lead to resource waste or packet loss.
  • SVLAN Service Virtual Local Area Network
  • the inventor of the present disclosure proposes a service transmission method for a service transmission line, so that the speed of the service transmission line can be more accurately limited.
  • FIG. 1 is a flowchart illustrating a traffic transmission method for a traffic transmission line according to some embodiments of the present disclosure. As shown in FIG. 1 , the method includes steps S102 to S108.
  • FIG. 2 is a schematic structural diagram illustrating a service transmission line according to some embodiments of the present disclosure. As shown in FIG. 2 , the service transmission line includes a CPE device 210 and a central office OTN device 220 communicatively connected to the CPE device 210 . For example, both the CPE device 210 and the central office OTN device 220 may implement an ETH (Ethernet, Ethernet) connection. Additionally, a metro or backbone OTN 230 is also shown in FIG. 2 .
  • ETH Ethernet, Ethernet
  • a first rate limit point is set at the user network side interface 211 of the CPE device 210 , so that the service traffic is transmitted on the user network side interface 211 with the first rate limit bandwidth.
  • the first rate-limiting bandwidth is CIR.
  • CIR is the service commitment bandwidth.
  • a second rate limiting point is set at the central office OTN device 220 , so that the service traffic is transmitted at the central office OTN device 220 with the second rate limiting bandwidth.
  • the initial value of the second rate-limiting bandwidth is CIR ⁇ , where ⁇ is the ratio of the number of bytes after the increase of bytes to the number of bytes before the increase of bytes of the service traffic through the CPE device.
  • the SVLAN packet length is calculated as follows:
  • the original Ethernet packet length is 64 bytes to 1518 bytes.
  • the packet length is 68 bytes to 1522 bytes.
  • a CVLAN has been added to a packet entering the CPE device 210, and the packet length ranges from 68 bytes to 1522 bytes.
  • NNI Network to Network Interface, network node interface
  • SVLAN fixed 4 bytes
  • adding SVLANs through the CPE device will increase the packet length by at most 4/68 ⁇ 5.89%, and at least by 4/1522 ⁇ 0.26%.
  • the above ⁇ is the ratio of the number of bytes after the increase of bytes to the number of bytes before the increase of bytes of the service traffic through the CPE device.
  • the present disclosure does not limit the message length, that is, the method of the present disclosure does not limit the length of any message. It is applicable to Ethernet packets in the range of packet lengths. In the above embodiment, 6% is taken as the maximum influence value. Therefore, the range of the value of ⁇ may be 1 ⁇ 1.06.
  • step S106 the total number of bytes of service traffic received by the OTN device 220 at the central office and the number of received data packets are counted within the detection time window, and according to the total number of bytes and the number of data packets number to calculate the average length of the packet.
  • R byte is the total number of bytes of the received service traffic
  • R num is the number of received data packets.
  • step S108 the second rate-limiting bandwidth is adjusted according to the average length of the data packets.
  • the second rate-limiting bandwidth B 2 is adjusted according to the average length L pkt of the data packets to be
  • B 1 is the first rate-limited bandwidth
  • is the number of bytes added by the service traffic after passing through the CPE device.
  • is 4.
  • 4 bytes are the number of bytes added to the SVLAN by the CPE device.
  • the service transmission line includes the CPE equipment and the central office OTN equipment communicatively connected with the CPE equipment.
  • the service transmission method includes: setting a first speed limit point at the user network side interface of the CPE device, so that the service traffic is transmitted at the user network side interface with the first speed limit bandwidth, wherein the first speed limit bandwidth is CIR;
  • a second rate-limiting point is set at the OTN device, so that the service traffic is transmitted on the OTN device at the central office with the second rate-limiting bandwidth.
  • the initial value of the second rate-limiting bandwidth is CIR ⁇ , where ⁇ is the service traffic passing through the CPE
  • is the service traffic passing through the CPE
  • the ratio of the number of bytes after the device adds bytes to the number of bytes before adding bytes; the total number of bytes of service traffic received by the OTN device at the central office and the number of received data packets are counted within the detection time window. Calculate the average length of the data packets according to the number of nodes and the number of data packets; and adjust the second rate-limiting bandwidth according to the average length of the data packets. Therefore, the speed limit bandwidth of the second speed limit point can be dynamically changed.
  • the above method can make the service transmission line (such as OTN private line network) more accurately limit the speed according to the bandwidth requirements of the user, save the ODU resources of the OTN equipment at the central office, thereby reducing the service cost of the line, and can also try to prevent the occurrence of packet loss. occur.
  • the service transmission line such as OTN private line network
  • the setting range of the detection time window is T 0 to T max , where T 0 is the initial value of the detection time window, and T max is the maximum value of the detection time window.
  • the service transmission method may further include: taking ⁇ T as a step time, gradually increasing the detection time window from T 0 to T max , where ⁇ T>0. That is, the detection time window is gradually increased by ⁇ T, thereby gradually increasing from T 0 to T max . In this way, the dynamic adjustment of the detection time window is realized.
  • the service transmission method may further include: judging whether a packet loss phenomenon occurs in the last detection time window T n-1 , where n is a positive integer greater than or equal to 1.
  • min(T n-1 + ⁇ T,T max ) means taking the smaller of T n-1 + ⁇ T and T max . This can ensure that when there is no packet loss, the detection time window gradually increases and converges to a larger value T max , thereby avoiding frequent bandwidth adjustment as much as possible.
  • the second speed limit point uses the detection time window T as a period to dynamically limit the speed, and the detection time window T adopts the determination rule of Additive Increase Multiplicative Decrease (AIMD for short) .
  • AIMD Additive Increase Multiplicative Decrease
  • two speed limit points are set to limit the speed of the CPE device and the central office OTN device respectively.
  • the first rate limit is based on the promised bandwidth of the service
  • the second rate limit takes into account that the addition of CPE devices, such as SVLAN, causes the packet length to increase, and the increase is related to the packet length.
  • the initial rate limit value is the shortest packet for all service flows. Afterwards, the total number of bytes received and the number of received data packets are counted in the detection time window, the average packet length is calculated, and the rate is dynamically limited according to the average packet length.
  • the detection time window of the second rate limit point allows dynamic adjustment to avoid frequent bandwidth adjustment when there is no packet loss, and to converge to a reasonable rate limit as soon as possible when there is a packet loss.
  • the first speed limit point can be limited to 100M.
  • the second speed limit point can initially limit the speed by 100M*6%, and then count the average packet length within T 0 , and adjust the speed limit bandwidth value of the second speed limit point in the next time window according to the aforementioned calculation principles, and the time window T The value can also be adjusted according to the aforementioned method.
  • FIG. 3 is a schematic structural diagram illustrating a service transmission network management system for service transmission lines according to some embodiments of the present disclosure.
  • the service transmission line includes a CPE device 210 and a central office OTN device 220 communicatively connected to the CPE device 210 .
  • the service transmission network management system 300 includes: a first speed limit point setting unit 302 , a second speed limit point setting unit 304 , a statistics unit 306 and a bandwidth adjustment unit 308 .
  • the first rate limiting point setting unit 302 is configured to set a first rate limiting point at the user network side interface of the CPE device 210, so that the service traffic is transmitted at the first rate limiting bandwidth on the user network side interface.
  • the first rate-limiting bandwidth is CIR.
  • the second rate limiting point setting unit 304 is configured to set a second rate limiting point at the central office OTN device 220 , so that the service traffic is transmitted in the central office OTN device 220 with the second rate limiting bandwidth.
  • the initial value of the second rate-limited bandwidth is CIR ⁇ , where ⁇ is the ratio of the number of bytes after the increase of bytes to the number of bytes before the increase of bytes of the service traffic through the CPE device 210 .
  • the range of ⁇ is 1 ⁇ 1.06.
  • the counting unit 306 is configured to count the total number of bytes of service traffic received by the OTN device 220 at the central office and the number of data packets received within the detection time window, and calculate the average length of the data packets according to the total number of bytes and the number of data packets.
  • the relational expression for calculating the average length L pkt of the data packet by the statistical unit 306 is:
  • R byte is the total number of bytes of the received service traffic
  • R num is the number of received data packets.
  • the bandwidth adjustment unit 308 is configured to adjust the second rate limit bandwidth of the second rate limit point according to the average length of the data packets.
  • the bandwidth adjustment unit 308 adjusts the second rate-limiting bandwidth B 2 according to the average length L pkt of the data packet to be Among them, B 1 is the first rate-limited bandwidth, and ⁇ is the number of bytes added by the service traffic after passing through the CPE device. For example, ⁇ is 4.
  • the first speed limit point setting unit sets the first speed limit point at the user network side interface of the CPE device, so that the service traffic is transmitted at the user network side interface with the first speed limit bandwidth, wherein the first speed limit
  • the first rate-limiting bandwidth is the committed information rate CIR
  • the second rate-limiting point setting unit sets the second rate-limiting point at the central office OTN device, so that the service traffic is transmitted at the central office OTN device with the second rate-limiting bandwidth, and the second rate-limiting
  • the initial value of the bandwidth is CIR ⁇
  • the statistics unit counts the total number of bytes of service traffic received by the OTN device at the central office and the number of received data packets within the detection time window, and calculates the data according to the total number of bytes and the number of data packets the average length of the packets
  • the bandwidth adjustment unit adjusts the second rate-limiting bandwidth of the second rate-limiting point according to the average length of
  • the above system can make the service transmission line (such as OTN private line network) more accurately limit the speed according to the bandwidth requirements of the user, save the ODU resources of the OTN equipment at the central office, thereby reducing the service cost of the line, and can also try to prevent the occurrence of packet loss. occur.
  • the service transmission line such as OTN private line network
  • the setting range of the detection time window is T 0 to T max , where T 0 is the initial value of the detection time window, and T max is the maximum value of the detection time window.
  • the service transmission network management system 300 may further include a time window adjustment unit 310 .
  • the time window adjustment unit 310 is configured to take ⁇ T as the step time, and gradually increase the detection time window from T 0 to T max , where ⁇ T>0.
  • existing performance parameters for example, the number of packets, the number of bytes, etc.
  • the second speed limit point is used to limit the speed, realize the refined control of the speed limit function, and improve the bandwidth utilization.
  • the method and system of the present disclosure can be applied to all OTN devices that support port rate limiting, and can be supported without changing the software and hardware of the OTN device.
  • the central office OTN device can undertake the function of aggregating small-granularity Ethernet private line services, manage each service in a refined speed limit, and save ODU resources on the premise of ensuring customer service. Reduce leased line costs.
  • the first speed limit point ensures that the speed is accurately limited according to the service bandwidth; the second speed limit point dynamically detects the packet length to ensure that the service traffic after adding the SVLAN is occupied on the premise that no packets are lost within the promised rate Minimum resources.
  • FIG. 4 is a schematic structural diagram illustrating a service transmission network management system for a service transmission line according to other embodiments of the present disclosure.
  • the service transmission network management system includes a memory 410 and a processor 420 . in:
  • the memory 410 may be a magnetic disk, flash memory, or any other non-volatile storage medium.
  • the memory is used to store the instructions in the embodiment corresponding to FIG. 1 .
  • the processor 420 is coupled to the memory 410 and may be implemented as one or more integrated circuits, such as a microprocessor or microcontroller.
  • the processor 420 is configured to execute the instructions stored in the memory, which can make the service transmission line more accurately limit the speed according to the bandwidth requirement of the user, save the ODU resources of the OTN equipment at the central office, and thus reduce the service cost of the line.
  • the service transmission network management system 500 includes a memory 510 and a processor 520 .
  • Processor 520 is coupled to memory 510 through BUS 530 .
  • the service transmission network management system 500 can also be connected to the external storage device 550 through the storage interface 540 to call external data, and can also be connected to the network or another computer system (not shown) through the network interface 560, which will not be described in detail here. introduce.
  • the data instructions are stored in the memory and the above instructions are processed by the processor, so that the service transmission line can be more accurately limited in speed according to the bandwidth requirements of the user, save the ODU resources of the OTN equipment at the central office, and thus reduce the service of the line. cost.
  • the present disclosure also provides a computer-readable storage medium on which computer program instructions are stored, and when the instructions are executed by a processor, implement the steps of the method in the embodiment corresponding to FIG. 1 .
  • embodiments of the present disclosure may be provided as a method, apparatus, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein .
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Provided by the present disclosure are a service transmission method used for a service transmission line and a service transmission network management system. The service transmission line comprises a CPE device and a local OTN device communicatively connected to the CPE device. The service transmission method comprises: setting a first speed limit point at a user network side interface of the CPE device, so that service traffic is transmitted at a first speed limit bandwidth at the user network side interface, and the first speed limit bandwidth is CIR; setting a second speed limit point at the local OTN device, so that the service traffic is transmitted at a second speed limit bandwidth at the local OTN device, an initial value of the second speed limit bandwidth being CIR×α, and α being the ratio of the number of bytes of the service traffic after the bytes are increased by the CPE device and the number of bytes before increasing the bytes; in a detection time window, counting the total number of bytes of the service traffic and the number of data packets received by the local OTN device, and calculating the average length of the data packets according to the total number of bytes and the number of data packets; and adjusting the second speed limit bandwidth according to the average length of the data packets.

Description

业务传输方法、系统和计算机可读存储介质Service transmission method, system and computer-readable storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请是以CN申请号为202011263522.2,申请日为2020年11月12日的申请为基础,并主张其优先权,该CN申请的公开内容在此作为整体引入本申请中。The present application is based on the CN application number 202011263522.2 and the filing date is Nov. 12, 2020, and claims its priority. The disclosure of the CN application is hereby incorporated into the present application as a whole.
技术领域technical field
本公开涉及通信技术领域,特别涉及一种用于业务传输线路的业务传输方法、业务传输网管系统和计算机可读存储介质。The present disclosure relates to the field of communication technologies, and in particular, to a service transmission method for a service transmission line, a service transmission network management system, and a computer-readable storage medium.
背景技术Background technique
以太网端口的限速一般只需针对CPE(Customer Premise Equipment,客户前置设备)接入设备(例如,交换机、路由器等),但在OTN(Optical Transport Network,光传送网)网络中,对于小颗粒以太网业务(例如不超过1000M),往往会在多个OTN设备中做以太网分组处理。The speed limit of Ethernet ports is generally only for CPE (Customer Premise Equipment) access equipment (for example, switches, routers, etc.), but in OTN (Optical Transport Network, Optical Transport Network) network, for small For granular Ethernet services (for example, no more than 1000M), Ethernet packet processing is often performed in multiple OTN devices.
目前,端口限速主要通过令牌桶算法的优化或参数的调节来实现。但是,在OTN网络中,由于ODU(Optical Data Unit,光数据单元)为刚性管道,对于以太网业务设置不同CIR(Committed Information Rate,承诺信息率)和PIR(Peak Information Rate,最高信息率)没有意义,一般取CIR=PIR,这导致无法通过令牌桶算法实现更为精细的限速模式。At present, the port speed limit is mainly realized through the optimization of the token bucket algorithm or the adjustment of parameters. However, in the OTN network, since the ODU (Optical Data Unit, optical data unit) is a rigid pipe, different CIR (Committed Information Rate, committed information rate) and PIR (Peak Information Rate, the highest information rate) are not set for Ethernet services. Meaning, generally take CIR=PIR, which makes it impossible to implement a more refined speed limit mode through the token bucket algorithm.
发明内容SUMMARY OF THE INVENTION
根据本公开的一个方面,提供了一种用于业务传输线路的业务传输方法,其中,所述业务传输线路包括客户前置设备CPE设备和与所述CPE设备通信连接的局端光传送网OTN设备,所述业务传输方法包括:在所述CPE设备的用户网络侧接口处设置第一限速点,使得业务流量在所述用户网络侧接口以第一限速带宽传输,其中,所述第一限速带宽为承诺信息率CIR;在所述局端OTN设备处设置第二限速点,使得所述业务流量在所述局端OTN设备以第二限速带宽传输,所述第二限速带宽的初始值为CIR×α,其中,α为所述业务流量在经过所述CPE设备增加字节后的字节数与增加字节前的字节数的比值;在检测时间窗口内统计所述局端OTN设备接收的业务 流量的总字节数和接收的数据包数,根据所述总字节数和所述数据包数计算数据包的平均长度;以及根据所述数据包的平均长度调整所述第二限速带宽。According to one aspect of the present disclosure, a service transmission method for a service transmission line is provided, wherein the service transmission line includes a customer premise equipment CPE device and a central office optical transport network OTN communicatively connected to the CPE device device, the service transmission method includes: setting a first speed limit point at the user network side interface of the CPE device, so that service traffic is transmitted at the user network side interface with a first speed limit bandwidth, wherein the first speed limit A rate-limited bandwidth is the committed information rate CIR; a second rate-limiting point is set at the central office OTN device, so that the service traffic is transmitted in the central office OTN device with the second rate-limited bandwidth, and the second rate-limited bandwidth is The initial value of the high-speed bandwidth is CIR×α, where α is the ratio of the number of bytes after the increase of bytes to the number of bytes before the increase of bytes of the service traffic through the CPE device; statistics are collected within the detection time window. The total number of bytes of the service traffic received by the central office OTN device and the number of received data packets, and the average length of the data packets is calculated according to the total number of bytes and the number of data packets; and according to the average length of the data packets The length adjusts the second rate-limiting bandwidth.
在一些实施例中,所述检测时间窗口的设置范围为T 0至T max,其中,T 0为所述检测时间窗口的初始值,T max为所述检测时间窗口的最大值;所述业务传输方法还包括:以ΔT为步进时间,将所述检测时间窗口从所述T 0逐渐增大到所述T max,其中,ΔT>0。 In some embodiments, the setting range of the detection time window is T 0 to T max , where T 0 is the initial value of the detection time window, and T max is the maximum value of the detection time window; the service The transmission method further includes: taking ΔT as a step time, gradually increasing the detection time window from the T 0 to the T max , where ΔT>0.
在一些实施例中,所述业务传输方法还包括:判断在上一个检测时间窗口T n-1内是否发生丢包现象,其中,n为大于或等于1的正整数;若在所述上一个检测时间窗口T n-1内没有发生丢包现象,则将当前检测时间窗口T n调整为T n=min(T n-1+ΔT,T max),其中,T n≤T max;若在所述上一个检测时间窗口T n-1内发生丢包现象,则将当前检测时间窗口T n调整为T n=β×T n-1,其中,0<β<1。 In some embodiments, the service transmission method further includes: judging whether a packet loss phenomenon occurs in the last detection time window T n-1 , where n is a positive integer greater than or equal to 1; If no packet loss occurs within the detection time window T n-1 , the current detection time window T n is adjusted to T n =min(T n-1 +ΔT,T max ), where T n ≤T max ; If packet loss occurs in the last detection time window Tn -1 , the current detection time window Tn is adjusted to Tn=β×Tn -1 , where 0 <β<1.
在一些实施例中,计算所述数据包的平均长度L pkt的关系式为:
Figure PCTCN2021125270-appb-000001
其中,R byte为接收的业务流量的总字节数,R num为接收的数据包数;根据所述数据包的平均长度L pkt调整所述第二限速带宽B 2
Figure PCTCN2021125270-appb-000002
其中,B 1为所述第一限速带宽,γ为业务流量在经过所述CPE设备后增加的字节数。
In some embodiments, the relational expression for calculating the average length L pkt of the data packet is:
Figure PCTCN2021125270-appb-000001
Wherein, R byte is the total number of bytes of the received service traffic, and R num is the number of received data packets; according to the average length L pkt of the data packets, the second rate-limiting bandwidth B 2 is adjusted to be
Figure PCTCN2021125270-appb-000002
Wherein, B 1 is the first rate-limited bandwidth, and γ is the number of bytes added by the service traffic after passing through the CPE device.
在一些实施例中,所述α的范围为1<α≤1.06;所述γ为4。In some embodiments, the range of the α is 1<α≦1.06; the γ is 4.
根据本公开的另一个方面,提供了一种用于业务传输线路的业务传输网管系统,其中,所述业务传输线路包括客户前置设备CPE设备和与所述CPE设备通信连接的局端光传送网OTN设备,所述业务传输网管系统包括:第一限速点设置单元,用于在所述CPE设备的用户网络侧接口处设置第一限速点,使得业务流量在所述用户网络侧接口以第一限速带宽传输,其中,所述第一限速带宽为承诺信息率CIR;第二限速点设置单元,用于在所述局端OTN设备处设置第二限速点,使得所述业务流量在所述局端OTN设备以第二限速带宽传输,所述第二限速带宽的初始值为CIR×α,其中,α为所述业务流量在经过所述CPE设备增加字节后的字节数与增加字节前的字节数的比值;统计单元,用于在检测时间窗口内统计所述局端OTN设备接收的业务流量的总字节数和接收的数据包数,根据所述总字节数和所述数据包数计算数据包的平均长度;以及带宽调整单元,用于根据所述数据包的平均长度调整所述第二限速点的第二限速带宽。According to another aspect of the present disclosure, a service transmission network management system for a service transmission line is provided, wherein the service transmission line includes a customer premise equipment CPE device and a central office optical transmission device communicatively connected to the CPE device network OTN equipment, the service transmission network management system includes: a first rate limit point setting unit, configured to set a first rate limit point at the user network side interface of the CPE device, so that the service traffic flows on the user network side interface Transmission with a first rate-limiting bandwidth, wherein the first rate-limiting bandwidth is the committed information rate CIR; a second rate-limiting point setting unit is configured to set a second rate-limiting point at the central office OTN device, so that all The service traffic is transmitted in the central office OTN device with a second rate-limited bandwidth, and the initial value of the second rate-limited bandwidth is CIR×α, where α is the additional bytes of the service traffic passing through the CPE device. The ratio of the number of bytes after and the number of bytes before the increase of bytes; the statistical unit is used to count the total number of bytes of service traffic received by the OTN device at the central office and the number of received data packets within the detection time window, Calculate the average length of the data packets according to the total number of bytes and the data packets; and a bandwidth adjustment unit, configured to adjust the second speed limit bandwidth of the second speed limit point according to the average length of the data packets.
在一些实施例中,所述检测时间窗口的设置范围为T 0至T max,其中,T 0为所述检测时间窗口的初始值,T max为所述检测时间窗口的最大值;所述业务传输网管系统 还包括:时间窗口调整单元,用于以ΔT为步进时间,将所述检测时间窗口从所述T 0逐渐增大到所述T max,其中,ΔT>0。 In some embodiments, the setting range of the detection time window is T 0 to T max , where T 0 is the initial value of the detection time window, and T max is the maximum value of the detection time window; the service The transmission network management system further includes: a time window adjustment unit, configured to take ΔT as a step time, and gradually increase the detection time window from the T 0 to the T max , where ΔT>0.
在一些实施例中,所述时间窗口调整单元用于判断在上一个检测时间窗口T n-1内是否发生丢包现象,其中,n为大于或等于1的正整数,若在所述上一个检测时间窗口T n-1内没有发生丢包现象,则将当前检测时间窗口T n调整为T n=min(T n-1+ΔT,T max),其中,T n≤T max,若在所述上一个检测时间窗口T n-1内发生丢包现象,则将当前检测时间窗口T n调整为T n=β×T n-1,其中,0<β<1。 In some embodiments, the time window adjustment unit is configured to determine whether a packet loss phenomenon occurs in the last detection time window T n-1 , where n is a positive integer greater than or equal to 1. If no packet loss occurs within the detection time window T n-1 , the current detection time window T n is adjusted to T n =min(T n-1 +ΔT,T max ), where T n ≤T max , if If packet loss occurs in the last detection time window Tn -1 , the current detection time window Tn is adjusted to Tn=β×Tn -1 , where 0 <β<1.
在一些实施例中,所述统计单元计算所述数据包的平均长度L pkt的关系式为:
Figure PCTCN2021125270-appb-000003
其中,R byte为接收的业务流量的总字节数,R num为接收的数据包数;以及所述带宽调整单元根据所述数据包的平均长度L pkt调整所述第二限速带宽B 2
Figure PCTCN2021125270-appb-000004
其中,B 1为所述第一限速带宽,γ为业务流量在经过所述CPE设备后增加的字节数。
In some embodiments, the relational expression for calculating the average length L pkt of the data packet by the statistical unit is:
Figure PCTCN2021125270-appb-000003
Wherein, R byte is the total number of bytes of the received service traffic, R num is the number of received data packets; and the bandwidth adjustment unit adjusts the second rate-limiting bandwidth B 2 according to the average length L pkt of the data packets for
Figure PCTCN2021125270-appb-000004
Wherein, B 1 is the first rate-limited bandwidth, and γ is the number of bytes added by the service traffic after passing through the CPE device.
在一些实施例中,所述α的范围为1<α≤1.06;所述γ为4。In some embodiments, the range of the α is 1<α≦1.06; the γ is 4.
根据本公开的另一个方面,提供了一种用于业务传输线路的业务传输网管系统,包括:存储器;以及耦接至所述存储器的处理器,所述处理器被配置为基于存储在所述存储器的指令执行如前所述的方法。According to another aspect of the present disclosure, there is provided a service transmission network management system for a service transmission line, comprising: a memory; and a processor coupled to the memory, the processor being configured to The instructions of the memory execute the method as previously described.
根据本公开的另一个方面,提供了一种非瞬时性计算机可读存储介质,其上存储有计算机程序指令,该指令被处理器执行时实现如前所述的方法。According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium having computer program instructions stored thereon which, when executed by a processor, implement the aforementioned method.
通过以下参照附图对本公开的示例性实施例的详细描述,本公开的其它特征及其优点将会变得清楚。Other features of the present disclosure and advantages thereof will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings.
附图说明Description of drawings
构成说明书的一部分的附图描述了本公开的实施例,并且连同说明书一起用于解释本公开的原理。The accompanying drawings, which form a part of the specification, illustrate embodiments of the present disclosure and together with the description serve to explain the principles of the present disclosure.
参照附图,根据下面的详细描述,可以更加清楚地理解本公开,其中:The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, wherein:
图1是示出根据本公开一些实施例的用于业务传输线路的业务传输方法的流程图;1 is a flowchart illustrating a service transmission method for a service transmission line according to some embodiments of the present disclosure;
图2是示出根据本公开一些实施例的业务传输线路的结构示意图;FIG. 2 is a schematic structural diagram illustrating a service transmission line according to some embodiments of the present disclosure;
图3是示出根据本公开一些实施例的用于业务传输线路的业务传输网管系统的结构示意图;3 is a schematic structural diagram illustrating a service transmission network management system for service transmission lines according to some embodiments of the present disclosure;
图4是示出根据本公开另一些实施例的用于业务传输线路的业务传输网管系统的 结构示意图;4 is a schematic structural diagram illustrating a service transmission network management system for service transmission lines according to other embodiments of the present disclosure;
图5是示出根据本公开另一些实施例的用于业务传输线路的业务传输网管系统的结构示意图。FIG. 5 is a schematic structural diagram illustrating a service transmission network management system for a service transmission line according to other embodiments of the present disclosure.
具体实施方式Detailed ways
现在将参照附图来详细描述本公开的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本公开的范围。Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
同时,应当明白,为了便于描述,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。Meanwhile, it should be understood that, for the convenience of description, the dimensions of various parts shown in the accompanying drawings are not drawn in an actual proportional relationship.
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本公开及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application or uses in any way.
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods, and apparatus should be considered part of the specification.
在这里示出和讨论的所有示例中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它示例可以具有不同的值。In all examples shown and discussed herein, any specific value should be construed as illustrative only and not as limiting. Accordingly, other examples of exemplary embodiments may have different values.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further discussion in subsequent figures.
本公开的发明人发现,由于ODU的刚性管道特性,尽管不同以太网业务可以共享ODU0通道,但在配置单站时会固定以太网业务的占用带宽,如果仅对CPE设备限速,则由于CPE添加SVLAN(Service Virtual Local Area Network,服务虚拟局域网)导致出口的业务速率增加,会要求CPE上联的局端OTN设备配置更大带宽来保证不丢包,此值过高会产生资源浪费,导致OTN专线业务成本较高;但如果对局端OTN设备采用相同限速,又会由于CPE设备添加SVLAN导致限速不准确。因此,本公开的发明人发现,已知的业务传输线路的限速因设备对报文进行添加SVLAN等处理时导致的字节膨胀有可能导致限速不精确,容易导致资源浪费或丢包。The inventor of the present disclosure found that due to the rigid pipe characteristics of ODU, although different Ethernet services can share the ODU0 channel, the occupied bandwidth of Ethernet services will be fixed when configuring a single station. Adding SVLAN (Service Virtual Local Area Network, service virtual local area network) will increase the egress service rate, and will require the central office OTN device connected to the CPE to configure a larger bandwidth to ensure no packet loss. If this value is too high, resources will be wasted, resulting in The OTN private line service cost is high; however, if the same rate limit is applied to the OTN equipment at the central office, the rate limit will be inaccurate due to the addition of SVLANs to the CPE equipment. Therefore, the inventors of the present disclosure have found that the known rate limiting of service transmission lines may result in inaccurate rate limiting due to byte expansion when devices add SVLANs to packets, which may easily lead to resource waste or packet loss.
鉴于此,本公开的发明人提出一种用于业务传输线路的业务传输方法,从而使得业务传输线路能够更加准确地限速。In view of this, the inventor of the present disclosure proposes a service transmission method for a service transmission line, so that the speed of the service transmission line can be more accurately limited.
图1是示出根据本公开一些实施例的用于业务传输线路的业务传输方法的流程图。如图1所示,该方法包括步骤S102至S108。图2是示出根据本公开一些实施例的业 务传输线路的结构示意图。如图2所示,业务传输线路包括CPE设备210和与CPE设备210通信连接的局端OTN设备220。例如,该CPE设备210和该局端OTN设备220均可以实现ETH(Ethernet,以太网)连接。另外,图2中还示出了城域或骨干OTN 230。FIG. 1 is a flowchart illustrating a traffic transmission method for a traffic transmission line according to some embodiments of the present disclosure. As shown in FIG. 1 , the method includes steps S102 to S108. FIG. 2 is a schematic structural diagram illustrating a service transmission line according to some embodiments of the present disclosure. As shown in FIG. 2 , the service transmission line includes a CPE device 210 and a central office OTN device 220 communicatively connected to the CPE device 210 . For example, both the CPE device 210 and the central office OTN device 220 may implement an ETH (Ethernet, Ethernet) connection. Additionally, a metro or backbone OTN 230 is also shown in FIG. 2 .
下面结合图1和图2详细描述本公开一些实施例的用于业务传输线路的业务传输方法。The following describes in detail a service transmission method for a service transmission line according to some embodiments of the present disclosure with reference to FIG. 1 and FIG. 2 .
如图1和图2所示,在步骤S102,在CPE设备210的用户网络侧接口211处设置第一限速点,使得业务流量在该用户网络侧接口211以第一限速带宽传输。该第一限速带宽为CIR。这里,CIR即为业务承诺带宽。As shown in FIG. 1 and FIG. 2 , in step S102 , a first rate limit point is set at the user network side interface 211 of the CPE device 210 , so that the service traffic is transmitted on the user network side interface 211 with the first rate limit bandwidth. The first rate-limiting bandwidth is CIR. Here, CIR is the service commitment bandwidth.
如图1和图2所示,在步骤S104,在局端OTN设备220处设置第二限速点,使得业务流量在局端OTN设备220以第二限速带宽传输。第二限速带宽的初始值为CIR×α,其中,α为业务流量在经过CPE设备增加字节后的字节数与增加字节前的字节数的比值。在一些实施例中,α的范围为1<α≤1.06。例如,α=1.06。As shown in FIG. 1 and FIG. 2 , in step S104 , a second rate limiting point is set at the central office OTN device 220 , so that the service traffic is transmitted at the central office OTN device 220 with the second rate limiting bandwidth. The initial value of the second rate-limiting bandwidth is CIR×α, where α is the ratio of the number of bytes after the increase of bytes to the number of bytes before the increase of bytes of the service traffic through the CPE device. In some embodiments, α ranges from 1<α≤1.06. For example, a=1.06.
例如,SVLAN报文长度计算如下:For example, the SVLAN packet length is calculated as follows:
根据802.3协议,原始以太网报文长度为64字节至1518字节。According to the 802.3 protocol, the original Ethernet packet length is 64 bytes to 1518 bytes.
根据802.1q协议,添加一层VLAN(例如,CVLAN(customer VLAN,用户虚拟局域网),4字节)后报文长度为68字节至1522字节。According to the 802.1q protocol, after adding a layer of VLAN (for example, CVLAN (customer VLAN, user virtual local area network), 4 bytes), the packet length is 68 bytes to 1522 bytes.
根据802.1ad协议,允许以QinQ方式在CVLAN外层继续添加4字节的SVLAN。According to the 802.1ad protocol, it is allowed to continue adding 4-byte SVLANs in the outer layer of CVLAN in QinQ mode.
例如,进入CPE设备210的报文已添加CVLAN,报文长度范围为68字节-1522字节。而在CPE设备的NNI(Network to Network Interface,网络结点接口)212,对每个报文添加SVLAN(固定4字节)。因此,经过CPE设备再次添加SVLAN会导致报文长度至多增加4/68≈5.89%,至少增加4/1522≈0.26%。上述α即为业务流量在经过CPE设备增加字节后的字节数与增加字节前的字节数的比值。For example, a CVLAN has been added to a packet entering the CPE device 210, and the packet length ranges from 68 bytes to 1522 bytes. In the NNI (Network to Network Interface, network node interface) 212 of the CPE device, SVLAN (fixed 4 bytes) is added to each packet. Therefore, adding SVLANs through the CPE device will increase the packet length by at most 4/68≈5.89%, and at least by 4/1522≈0.26%. The above α is the ratio of the number of bytes after the increase of bytes to the number of bytes before the increase of bytes of the service traffic through the CPE device.
考虑到部分设备或仪表允许在添加CVLAN后最小报文仍为64字节,并且考虑到不同标准对报文长度定义的差别,本公开不对报文长度做限定,即本公开的方法对任何报文长度范围的以太网报文均适用。在上述实施例中,取6%为最大影响值。因此,α取值的范围可以为1<α≤1.06。Considering that some devices or instruments allow the minimum message to be 64 bytes after adding CVLAN, and considering the difference in the definition of message length in different standards, the present disclosure does not limit the message length, that is, the method of the present disclosure does not limit the length of any message. It is applicable to Ethernet packets in the range of packet lengths. In the above embodiment, 6% is taken as the maximum influence value. Therefore, the range of the value of α may be 1<α≤1.06.
如图1和图2所示,在步骤S106,在检测时间窗口内统计局端OTN设备220接收的业务流量的总字节数和接收的数据包数,根据该总字节数和该数据包数计算数据包的平均长度。As shown in FIG. 1 and FIG. 2 , in step S106, the total number of bytes of service traffic received by the OTN device 220 at the central office and the number of received data packets are counted within the detection time window, and according to the total number of bytes and the number of data packets number to calculate the average length of the packet.
例如,计算数据包的平均长度L pkt的关系式为: For example, the relationship for calculating the average length of the data packet L pkt is:
Figure PCTCN2021125270-appb-000005
Figure PCTCN2021125270-appb-000005
其中,R byte为接收的业务流量的总字节数,R num为接收的数据包数。 Among them, R byte is the total number of bytes of the received service traffic, and R num is the number of received data packets.
如图1和图2所示,在步骤S108,根据数据包的平均长度调整第二限速带宽。As shown in FIG. 1 and FIG. 2, in step S108, the second rate-limiting bandwidth is adjusted according to the average length of the data packets.
在一些实施例中,根据数据包的平均长度L pkt调整第二限速带宽B 2In some embodiments, the second rate-limiting bandwidth B 2 is adjusted according to the average length L pkt of the data packets to be
Figure PCTCN2021125270-appb-000006
Figure PCTCN2021125270-appb-000006
其中,B 1为第一限速带宽,γ为业务流量在经过CPE设备后增加的字节数。例如,γ为4。这里,4个字节为报文经过CPE设备添加SVLAN的字节数。 Among them, B 1 is the first rate-limited bandwidth, and γ is the number of bytes added by the service traffic after passing through the CPE device. For example, γ is 4. Here, 4 bytes are the number of bytes added to the SVLAN by the CPE device.
至此,提供了根据本公开一些实施例的用于业务传输线路的业务传输方法。业务传输线路包括CPE设备和与CPE设备通信连接的局端OTN设备。业务传输方法包括:在CPE设备的用户网络侧接口处设置第一限速点,使得业务流量在用户网络侧接口以第一限速带宽传输,其中,第一限速带宽为CIR;在局端OTN设备处设置第二限速点,使得业务流量在局端OTN设备以第二限速带宽传输,第二限速带宽的初始值为CIR×α,其中,α为业务流量在经过所述CPE设备增加字节后的字节数与增加字节前的字节数的比值;在检测时间窗口内统计局端OTN设备接收的业务流量的总字节数和接收的数据包数,根据总字节数和数据包数计算数据包的平均长度;以及根据数据包的平均长度调整第二限速带宽。因此,第二限速点的限速带宽可以动态变化。上述方法可以使得业务传输线路(例如OTN专线网络)根据用户的带宽需求更加准确地限速,节省局端OTN设备的ODU资源,从而降低线路的业务成本,并且也可以尽量防止出现丢包现象的发生。So far, a service transmission method for a service transmission line according to some embodiments of the present disclosure has been provided. The service transmission line includes the CPE equipment and the central office OTN equipment communicatively connected with the CPE equipment. The service transmission method includes: setting a first speed limit point at the user network side interface of the CPE device, so that the service traffic is transmitted at the user network side interface with the first speed limit bandwidth, wherein the first speed limit bandwidth is CIR; A second rate-limiting point is set at the OTN device, so that the service traffic is transmitted on the OTN device at the central office with the second rate-limiting bandwidth. The initial value of the second rate-limiting bandwidth is CIR×α, where α is the service traffic passing through the CPE The ratio of the number of bytes after the device adds bytes to the number of bytes before adding bytes; the total number of bytes of service traffic received by the OTN device at the central office and the number of received data packets are counted within the detection time window. Calculate the average length of the data packets according to the number of nodes and the number of data packets; and adjust the second rate-limiting bandwidth according to the average length of the data packets. Therefore, the speed limit bandwidth of the second speed limit point can be dynamically changed. The above method can make the service transmission line (such as OTN private line network) more accurately limit the speed according to the bandwidth requirements of the user, save the ODU resources of the OTN equipment at the central office, thereby reducing the service cost of the line, and can also try to prevent the occurrence of packet loss. occur.
在一些实施例中,检测时间窗口的设置范围为T 0至T max,其中,T 0为检测时间窗口的初始值,T max为检测时间窗口的最大值。所述业务传输方法还可以包括:以ΔT为步进时间,将检测时间窗口从T 0逐渐增大到T max,其中,ΔT>0。即,将检测时间窗口逐渐地增加ΔT,从而从T 0逐渐增大到T max。这样实现了检测时间窗口的动态调整。 In some embodiments, the setting range of the detection time window is T 0 to T max , where T 0 is the initial value of the detection time window, and T max is the maximum value of the detection time window. The service transmission method may further include: taking ΔT as a step time, gradually increasing the detection time window from T 0 to T max , where ΔT>0. That is, the detection time window is gradually increased by ΔT, thereby gradually increasing from T 0 to T max . In this way, the dynamic adjustment of the detection time window is realized.
在一些实施例中,所述业务传输方法还可以包括:判断在上一个检测时间窗口T n-1内是否发生丢包现象,其中,n为大于或等于1的正整数。 In some embodiments, the service transmission method may further include: judging whether a packet loss phenomenon occurs in the last detection time window T n-1 , where n is a positive integer greater than or equal to 1.
所述业务传输方法还包括:若在上一个检测时间窗口T n-1内没有发生丢包现象,则将当前检测时间窗口T n调整为T n=min(T n-1+ΔT,T max),其中,T n≤T max。这里min(T n-1+ΔT,T max)表示取T n-1+ΔT 和T max这二者中的较小值。这样可以保证在没有丢包时,检测时间窗口逐渐增大,收敛于较大值T max,从而尽可能避免频繁调整带宽。 The service transmission method further includes: if no packet loss occurs within the last detection time window T n-1 , adjusting the current detection time window T n to T n =min(T n-1 +ΔT,T max ), where T n ≤ T max . Here min(T n-1 +ΔT,T max ) means taking the smaller of T n-1 +ΔT and T max . This can ensure that when there is no packet loss, the detection time window gradually increases and converges to a larger value T max , thereby avoiding frequent bandwidth adjustment as much as possible.
所述业务传输方法还包括:若在上一个检测时间窗口T n-1内发生丢包现象,则将当前检测时间窗口T n调整为T n=β×T n-1,其中,0<β<1。例如,β=0.5。这样可以保证在有丢包发生时,能够迅速缩小检测时间窗口,尽快通过重新统计平均包长的方式,计算并下发新的第二限速带宽,从而尽快调整至合理限速。 The service transmission method further includes: if a packet loss phenomenon occurs in the last detection time window T n-1 , adjusting the current detection time window T n to T n =β×T n-1 , where 0<β < 1. For example, β=0.5. This ensures that the detection time window can be quickly shortened when packet loss occurs, and a new second rate limit bandwidth can be calculated and delivered as soon as possible by re-counting the average packet length, so as to adjust to a reasonable rate limit as soon as possible.
在上述实施例中,第二限速点以检测时间窗口T为周期进行动态限速,该检测时间窗口T采用了加性增、乘性减(Additive Increase Multiplicative Decrease,简称为AIMD)的确定规则。通过按照这样的确定规则设置检测时间窗口T,可以尽量保证在没有丢包时,检测时间窗口逐渐增大,收敛于较大值T max,尽可能避免频繁调整带宽,以及尽量保证在有丢包时,迅速将检测时间窗口降低,尽快通过重新统计平均包长的方式,计算并下发新的第二限速带宽,从而尽快调整至合理限速。 In the above-mentioned embodiment, the second speed limit point uses the detection time window T as a period to dynamically limit the speed, and the detection time window T adopts the determination rule of Additive Increase Multiplicative Decrease (AIMD for short) . By setting the detection time window T according to such a determination rule, we can try our best to ensure that when there is no packet loss, the detection time window gradually increases and converges to a larger value T max , avoiding frequent bandwidth adjustment as much as possible, and ensuring that there is no packet loss. , quickly reduce the detection time window, calculate and deliver a new second rate limit bandwidth by re-statistics of the average packet length as soon as possible, so as to adjust to a reasonable rate limit as soon as possible.
在上述业务传输方法中,设置了两个限速点,分别对CPE设备和局端OTN设备进行限速。第一限速点按业务承诺带宽限速,第二限速点考虑到CPE设备添加例如SVLAN导致报文长度增加,且增加幅度与报文长度有关,初始限速值按业务流全部为最短报文长度计,后续在检测时间窗口内统计接收总字节数和接收数据包数,计算平均包长,根据平均包长进行动态限速。第二限速点的检测时间窗口允许动态调整,保证无丢包时避免频繁调整带宽,有丢包时尽快收敛至合理限速。In the above service transmission method, two speed limit points are set to limit the speed of the CPE device and the central office OTN device respectively. The first rate limit is based on the promised bandwidth of the service, and the second rate limit takes into account that the addition of CPE devices, such as SVLAN, causes the packet length to increase, and the increase is related to the packet length. The initial rate limit value is the shortest packet for all service flows. Afterwards, the total number of bytes received and the number of received data packets are counted in the detection time window, the average packet length is calculated, and the rate is dynamically limited according to the average packet length. The detection time window of the second rate limit point allows dynamic adjustment to avoid frequent bandwidth adjustment when there is no packet loss, and to converge to a reasonable rate limit as soon as possible when there is a packet loss.
例如,假定用户业务带宽需求为100M,报文长度范围64字节-1518字节,进入专线CPE设备时数据包携带CVLAN,OTN网络内需要添加SVLAN标识,则第一限速点可以限速100M,第二限速点可以初始限速100M*6%,然后在T 0内统计平均包长,根据前述计算原则在下一个时间窗口调整第二限速点的限速带宽值,而且时间窗口T的值也可以根据前述方法调整。 For example, assuming that the user's service bandwidth requirement is 100M, the packet length ranges from 64 bytes to 1518 bytes, the data packets carry CVLAN when entering the private line CPE device, and the SVLAN identifier needs to be added in the OTN network, then the first speed limit point can be limited to 100M. , the second speed limit point can initially limit the speed by 100M*6%, and then count the average packet length within T 0 , and adjust the speed limit bandwidth value of the second speed limit point in the next time window according to the aforementioned calculation principles, and the time window T The value can also be adjusted according to the aforementioned method.
图3是示出根据本公开一些实施例的用于业务传输线路的业务传输网管系统的结构示意图。如图3所示,业务传输线路包括CPE设备210和与该CPE设备210通信连接的局端OTN设备220。FIG. 3 is a schematic structural diagram illustrating a service transmission network management system for service transmission lines according to some embodiments of the present disclosure. As shown in FIG. 3 , the service transmission line includes a CPE device 210 and a central office OTN device 220 communicatively connected to the CPE device 210 .
如图3所示,业务传输网管系统300包括:第一限速点设置单元302、第二限速点设置单元304、统计单元306和带宽调整单元308。As shown in FIG. 3 , the service transmission network management system 300 includes: a first speed limit point setting unit 302 , a second speed limit point setting unit 304 , a statistics unit 306 and a bandwidth adjustment unit 308 .
第一限速点设置单元302用于在CPE设备210的用户网络侧接口处设置第一限速点,使得业务流量在该用户网络侧接口以第一限速带宽传输。该第一限速带宽为CIR。The first rate limiting point setting unit 302 is configured to set a first rate limiting point at the user network side interface of the CPE device 210, so that the service traffic is transmitted at the first rate limiting bandwidth on the user network side interface. The first rate-limiting bandwidth is CIR.
第二限速点设置单元304用于在局端OTN设备220处设置第二限速点,使得业务流量在该局端OTN设备220以第二限速带宽传输。该第二限速带宽的初始值为CIR×α,其中,α为业务流量在经过CPE设备210增加字节后的字节数与增加字节前的字节数的比值。例如,α的范围为1<α≤1.06。The second rate limiting point setting unit 304 is configured to set a second rate limiting point at the central office OTN device 220 , so that the service traffic is transmitted in the central office OTN device 220 with the second rate limiting bandwidth. The initial value of the second rate-limited bandwidth is CIR×α, where α is the ratio of the number of bytes after the increase of bytes to the number of bytes before the increase of bytes of the service traffic through the CPE device 210 . For example, the range of α is 1<α≦1.06.
统计单元306用于在检测时间窗口内统计局端OTN设备220接收的业务流量的总字节数和接收的数据包数,根据该总字节数和该数据包数计算数据包的平均长度。The counting unit 306 is configured to count the total number of bytes of service traffic received by the OTN device 220 at the central office and the number of data packets received within the detection time window, and calculate the average length of the data packets according to the total number of bytes and the number of data packets.
例如,统计单元306计算数据包的平均长度L pkt的关系式为: For example, the relational expression for calculating the average length L pkt of the data packet by the statistical unit 306 is:
Figure PCTCN2021125270-appb-000007
其中,R byte为接收的业务流量的总字节数,R num为接收的数据包数。
Figure PCTCN2021125270-appb-000007
Among them, R byte is the total number of bytes of the received service traffic, and R num is the number of received data packets.
带宽调整单元308用于根据数据包的平均长度调整第二限速点的第二限速带宽。The bandwidth adjustment unit 308 is configured to adjust the second rate limit bandwidth of the second rate limit point according to the average length of the data packets.
例如,带宽调整单元308根据数据包的平均长度L pkt调整第二限速带宽B 2
Figure PCTCN2021125270-appb-000008
其中,B 1为第一限速带宽,γ为业务流量在经过CPE设备后增加的字节数。例如,γ为4。
For example, the bandwidth adjustment unit 308 adjusts the second rate-limiting bandwidth B 2 according to the average length L pkt of the data packet to be
Figure PCTCN2021125270-appb-000008
Among them, B 1 is the first rate-limited bandwidth, and γ is the number of bytes added by the service traffic after passing through the CPE device. For example, γ is 4.
至此,提供了根据本公开一些实施例的用于业务传输线路的业务传输网管系统。在该业务传输网管系统中,第一限速点设置单元在CPE设备的用户网络侧接口处设置第一限速点,使得业务流量在用户网络侧接口以第一限速带宽传输,其中,第一限速带宽为承诺信息率CIR;第二限速点设置单元在局端OTN设备处设置第二限速点,使得业务流量在局端OTN设备以第二限速带宽传输,第二限速带宽的初始值为CIR×α;统计单元在检测时间窗口内统计局端OTN设备接收的业务流量的总字节数和接收的数据包数,根据该总字节数和该数据包数计算数据包的平均长度;以及带宽调整单元根据数据包的平均长度调整第二限速点的第二限速带宽。上述系统可以使得业务传输线路(例如OTN专线网络)根据用户的带宽需求更加准确地限速,节省局端OTN设备的ODU资源,从而降低线路的业务成本,并且也可以尽量防止出现丢包现象的发生。So far, a service transmission network management system for a service transmission line according to some embodiments of the present disclosure has been provided. In the service transmission network management system, the first speed limit point setting unit sets the first speed limit point at the user network side interface of the CPE device, so that the service traffic is transmitted at the user network side interface with the first speed limit bandwidth, wherein the first speed limit The first rate-limiting bandwidth is the committed information rate CIR; the second rate-limiting point setting unit sets the second rate-limiting point at the central office OTN device, so that the service traffic is transmitted at the central office OTN device with the second rate-limiting bandwidth, and the second rate-limiting The initial value of the bandwidth is CIR×α; the statistics unit counts the total number of bytes of service traffic received by the OTN device at the central office and the number of received data packets within the detection time window, and calculates the data according to the total number of bytes and the number of data packets the average length of the packets; and the bandwidth adjustment unit adjusts the second rate-limiting bandwidth of the second rate-limiting point according to the average length of the data packets. The above system can make the service transmission line (such as OTN private line network) more accurately limit the speed according to the bandwidth requirements of the user, save the ODU resources of the OTN equipment at the central office, thereby reducing the service cost of the line, and can also try to prevent the occurrence of packet loss. occur.
在一些实施例中,检测时间窗口的设置范围为T 0至T max,其中,T 0为检测时间窗口的初始值,T max为检测时间窗口的最大值。 In some embodiments, the setting range of the detection time window is T 0 to T max , where T 0 is the initial value of the detection time window, and T max is the maximum value of the detection time window.
在一些实施例中,如图3所示,所述业务传输网管系统300还可以包括时间窗口调整单元310。该时间窗口调整单元310用于以ΔT为步进时间,将检测时间窗口从T 0逐渐增大到T max,其中,ΔT>0。 In some embodiments, as shown in FIG. 3 , the service transmission network management system 300 may further include a time window adjustment unit 310 . The time window adjustment unit 310 is configured to take ΔT as the step time, and gradually increase the detection time window from T 0 to T max , where ΔT>0.
在一些实施例中,时间窗口调整单元310用于判断在上一个检测时间窗口内T n-1是否发生丢包现象,其中,n为大于或等于1的正整数,若在上一个检测时间窗口T n-1 内没有发生丢包现象,则将当前检测时间窗口T n调整为T n=min(T n-1+ΔT,T max),其中,T n≤T max,若在上一个检测时间窗口T n-1内发生丢包现象,则将当前检测时间窗口T n调整为T n=β×T n-1,其中,0<β<1。 In some embodiments, the time window adjustment unit 310 is configured to determine whether a packet loss phenomenon occurs in T n-1 in the last detection time window, where n is a positive integer greater than or equal to 1. If no packet loss occurs within T n-1 , the current detection time window T n is adjusted to T n =min(T n-1 +ΔT,T max ), where T n ≤T max . If packet loss occurs within the time window T n-1 , the current detection time window T n is adjusted to T n =β×T n-1 , where 0<β<1.
在本公开的实施例中,可以在不改变OTN设备软硬件的前提下,通过上层网管采集已有性能参数(例如,报文数、字节数等),计算出合理的带宽速率,对第二限速点进行限速,实现限速功能的精细化控制,提高带宽利用率。本公开的方法和系统可以对所有支持端口限速的OTN设备均适用,不需要改变OTN设备的软硬件即可支持。In the embodiment of the present disclosure, on the premise of not changing the software and hardware of the OTN device, existing performance parameters (for example, the number of packets, the number of bytes, etc.) can be collected through the upper-layer network management, and a reasonable bandwidth rate can be calculated. The second speed limit point is used to limit the speed, realize the refined control of the speed limit function, and improve the bandwidth utilization. The method and system of the present disclosure can be applied to all OTN devices that support port rate limiting, and can be supported without changing the software and hardware of the OTN device.
本公开实施例的上述方法和网管系统中,局端OTN设备可以承担汇聚小颗粒以太网专线业务的功能,对每个业务精细化限速管理,在保证客户服务的前提下,节省ODU资源,降低专线成本。In the above-mentioned method and network management system of the embodiments of the present disclosure, the central office OTN device can undertake the function of aggregating small-granularity Ethernet private line services, manage each service in a refined speed limit, and save ODU resources on the premise of ensuring customer service. Reduce leased line costs.
在上述方法和网管系统中,第一限速点确保按业务带宽准确限速;第二限速点动态检测报文长度,确保添加SVLAN后的业务流量在承诺速率内不丢包的前提下占用最少资源。In the above method and network management system, the first speed limit point ensures that the speed is accurately limited according to the service bandwidth; the second speed limit point dynamically detects the packet length to ensure that the service traffic after adding the SVLAN is occupied on the premise that no packets are lost within the promised rate Minimum resources.
图4是示出根据本公开另一些实施例的用于业务传输线路的业务传输网管系统的结构示意图。该业务传输网管系统包括存储器410和处理器420。其中:FIG. 4 is a schematic structural diagram illustrating a service transmission network management system for a service transmission line according to other embodiments of the present disclosure. The service transmission network management system includes a memory 410 and a processor 420 . in:
存储器410可以是磁盘、闪存或其它任何非易失性存储介质。存储器用于存储图1所对应实施例中的指令。The memory 410 may be a magnetic disk, flash memory, or any other non-volatile storage medium. The memory is used to store the instructions in the embodiment corresponding to FIG. 1 .
处理器420耦接至存储器410,可以作为一个或多个集成电路来实施,例如微处理器或微控制器。该处理器420用于执行存储器中存储的指令,可以使得业务传输线路根据用户的带宽需求更加准确地限速,节省局端OTN设备的ODU资源,从而降低线路的业务成本。The processor 420 is coupled to the memory 410 and may be implemented as one or more integrated circuits, such as a microprocessor or microcontroller. The processor 420 is configured to execute the instructions stored in the memory, which can make the service transmission line more accurately limit the speed according to the bandwidth requirement of the user, save the ODU resources of the OTN equipment at the central office, and thus reduce the service cost of the line.
在一些实施例中,还可以如图5所示,业务传输网管系统500包括存储器510和处理器520。处理器520通过BUS总线530耦合至存储器510。该业务传输网管系统500还可以通过存储接口540连接至外部存储装置550以便调用外部数据,还可以通过网络接口560连接至网络或者另外一台计算机系统(未标出),此处不再进行详细介绍。In some embodiments, as shown in FIG. 5 , the service transmission network management system 500 includes a memory 510 and a processor 520 . Processor 520 is coupled to memory 510 through BUS 530 . The service transmission network management system 500 can also be connected to the external storage device 550 through the storage interface 540 to call external data, and can also be connected to the network or another computer system (not shown) through the network interface 560, which will not be described in detail here. introduce.
在该实施例中,通过存储器存储数据指令,再通过处理器处理上述指令,可以使得业务传输线路根据用户的带宽需求更加准确地限速,节省局端OTN设备的ODU资源,从而降低线路的业务成本。In this embodiment, the data instructions are stored in the memory and the above instructions are processed by the processor, so that the service transmission line can be more accurately limited in speed according to the bandwidth requirements of the user, save the ODU resources of the OTN equipment at the central office, and thus reduce the service of the line. cost.
在另一些实施例中,本公开还提供了一种计算机可读存储介质,其上存储有计算机程序指令,该指令被处理器执行时实现图1所对应实施例中的方法的步骤。本领域内的技术人员应明白,本公开的实施例可提供为方法、装置、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用非瞬时性存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。In some other embodiments, the present disclosure also provides a computer-readable storage medium on which computer program instructions are stored, and when the instructions are executed by a processor, implement the steps of the method in the embodiment corresponding to FIG. 1 . As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, apparatus, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein .
本公开是参照根据本公开实施例的方法、设备(系统)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
至此,已经详细描述了本公开。为了避免遮蔽本公开的构思,没有描述本领域所公知的一些细节。本领域技术人员根据上面的描述,完全可以明白如何实施这里公开的技术方案。So far, the present disclosure has been described in detail. Some details that are well known in the art are not described in order to avoid obscuring the concept of the present disclosure. Those skilled in the art can fully understand how to implement the technical solutions disclosed herein based on the above description.
虽然已经通过示例对本公开的一些特定实施例进行了详细说明,但是本领域的技术人员应该理解,以上示例仅是为了进行说明,而不是为了限制本公开的范围。本领域的技术人员应该理解,可在不脱离本公开的范围和精神的情况下,对以上实施例进行修改。本公开的范围由所附权利要求来限定。While some specific embodiments of the present disclosure have been described in detail by way of examples, those skilled in the art will appreciate that the above examples are provided for illustration only, and are not intended to limit the scope of the present disclosure. Those skilled in the art will appreciate that modifications may be made to the above embodiments without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (12)

  1. 一种用于业务传输线路的业务传输方法,其中,所述业务传输线路包括客户前置设备CPE设备和与所述CPE设备通信连接的局端光传送网OTN设备,所述业务传输方法包括:A service transmission method for a service transmission line, wherein the service transmission line includes a customer premises equipment (CPE) device and a central office optical transport network OTN device communicatively connected to the CPE device, and the service transmission method includes:
    在所述CPE设备的用户网络侧接口处设置第一限速点,使得业务流量在所述用户网络侧接口以第一限速带宽传输,其中,所述第一限速带宽为承诺信息率CIR;A first rate limit point is set at the user network side interface of the CPE device, so that service traffic is transmitted on the user network side interface with a first rate limit bandwidth, where the first rate limit bandwidth is the committed information rate (CIR) ;
    在所述局端OTN设备处设置第二限速点,使得所述业务流量在所述局端OTN设备以第二限速带宽传输,所述第二限速带宽的初始值为CIR×α,其中,α为所述业务流量在经过所述CPE设备增加字节后的字节数与增加字节前的字节数的比值;A second rate-limiting point is set at the central office OTN device, so that the service traffic is transmitted in the central office OTN device with a second rate-limiting bandwidth, and the initial value of the second rate-limiting bandwidth is CIR×α, Wherein, α is the ratio of the number of bytes of the service traffic after adding bytes to the number of bytes before adding bytes through the CPE device;
    在检测时间窗口内统计所述局端OTN设备接收的业务流量的总字节数和接收的数据包数,根据所述总字节数和所述数据包数计算数据包的平均长度;以及In the detection time window, count the total number of bytes of service traffic received by the central office OTN device and the number of data packets received, and calculate the average length of the data packets according to the total number of bytes and the number of data packets; and
    根据所述数据包的平均长度调整所述第二限速带宽。The second rate-limiting bandwidth is adjusted according to the average length of the data packets.
  2. 根据权利要求1所述的业务传输方法,其中,The service transmission method according to claim 1, wherein,
    所述检测时间窗口的设置范围为T 0至T max,其中,T 0为所述检测时间窗口的初始值,T max为所述检测时间窗口的最大值; The setting range of the detection time window is T 0 to T max , where T 0 is the initial value of the detection time window, and T max is the maximum value of the detection time window;
    所述业务传输方法还包括:The service transmission method further includes:
    以ΔT为步进时间,将所述检测时间窗口从所述T 0逐渐增大到所述T max,其中,ΔT>0。 Taking ΔT as a step time, the detection time window is gradually increased from the T 0 to the T max , where ΔT>0.
  3. 根据权利要求2所述的业务传输方法,还包括:The service transmission method according to claim 2, further comprising:
    判断在上一个检测时间窗口T n-1内是否发生丢包现象,其中,n为大于或等于1的正整数; Determine whether packet loss occurs in the last detection time window T n-1 , where n is a positive integer greater than or equal to 1;
    若在所述上一个检测时间窗口T n-1内没有发生丢包现象,则将当前检测时间窗口T n调整为T n=min(T n-1+ΔT,T max),其中,T n≤T maxIf no packet loss occurred within the last detection time window T n-1 , adjust the current detection time window T n to T n =min(T n-1 +ΔT,T max ), where T n ≤T max ;
    若在所述上一个检测时间窗口T n-1内发生丢包现象,则将当前检测时间窗口T n调整为T n=β×T n-1,其中,0<β<1。 If the packet loss phenomenon occurs in the last detection time window T n-1 , the current detection time window T n is adjusted to T n =β×T n-1 , where 0<β<1.
  4. 根据权利要求1所述的业务传输方法,其中,The service transmission method according to claim 1, wherein,
    计算所述数据包的平均长度L pkt的关系式为: The relational expression for calculating the average length L pkt of the data packet is:
    Figure PCTCN2021125270-appb-100001
    其中,R byte为接收的业务流量的总字节数,R num为接收的数据包数;
    Figure PCTCN2021125270-appb-100001
    Among them, R byte is the total number of bytes of received service traffic, and R num is the number of received data packets;
    根据所述数据包的平均长度L pkt调整所述第二限速带宽B 2The second rate-limiting bandwidth B 2 is adjusted according to the average length L pkt of the data packet to be
    Figure PCTCN2021125270-appb-100002
    其中,B 1为所述第一限速带宽,γ为业务流量在经过所述CPE设备后增加的字节数。
    Figure PCTCN2021125270-appb-100002
    Wherein, B 1 is the first rate-limited bandwidth, and γ is the number of bytes added by the service traffic after passing through the CPE device.
  5. 根据权利要求4所述的业务传输方法,其中,The service transmission method according to claim 4, wherein,
    所述α的范围为1<α≤1.06;The range of the α is 1<α≤1.06;
    所述γ为4。The γ is 4.
  6. 一种用于业务传输线路的业务传输网管系统,其中,所述业务传输线路包括客户前置设备CPE设备和与所述CPE设备通信连接的局端光传送网OTN设备,所述业务传输网管系统包括:A service transmission network management system for a service transmission line, wherein the service transmission line includes a customer front-end equipment CPE device and a central office optical transport network OTN device communicatively connected to the CPE device, and the service transmission network management system include:
    第一限速点设置单元,用于在所述CPE设备的用户网络侧接口处设置第一限速点,使得业务流量在所述用户网络侧接口以第一限速带宽传输,其中,所述第一限速带宽为承诺信息率CIR;a first rate limiting point setting unit, configured to set a first rate limiting point at the user network side interface of the CPE device, so that service traffic is transmitted at the user network side interface with the first rate limiting bandwidth, wherein the The first rate-limiting bandwidth is the committed information rate CIR;
    第二限速点设置单元,用于在所述局端OTN设备处设置第二限速点,使得所述业务流量在所述局端OTN设备以第二限速带宽传输,所述第二限速带宽的初始值为CIR×α,其中,α为所述业务流量在经过所述CPE设备增加字节后的字节数与增加字节前的字节数的比值;A second rate-limiting point setting unit, configured to set a second rate-limiting point at the central office OTN device, so that the service traffic is transmitted at the central office OTN device with the second rate-limiting bandwidth, and the second limiting The initial value of the high-speed bandwidth is CIR×α, where α is the ratio of the number of bytes of the service traffic after adding bytes to the number of bytes before the increase of bytes through the CPE device;
    统计单元,用于在检测时间窗口内统计所述局端OTN设备接收的业务流量的总字节数和接收的数据包数,根据所述总字节数和所述数据包数计算数据包的平均长度;以及The statistical unit is used to count the total number of bytes of service traffic received by the central office OTN device and the number of received data packets within the detection time window, and calculate the number of data packets according to the total number of bytes and the number of data packets. average length; and
    带宽调整单元,用于根据所述数据包的平均长度调整所述第二限速点的第二限速带宽。A bandwidth adjustment unit, configured to adjust the second rate-limiting bandwidth of the second rate-limiting point according to the average length of the data packets.
  7. 根据权利要求6所述的业务传输网管系统,其中,The service transmission network management system according to claim 6, wherein,
    所述检测时间窗口的设置范围为T 0至T max,其中,T 0为所述检测时间窗口的初始值,T max为所述检测时间窗口的最大值; The setting range of the detection time window is T 0 to T max , where T 0 is the initial value of the detection time window, and T max is the maximum value of the detection time window;
    所述业务传输网管系统还包括:The service transmission network management system further includes:
    时间窗口调整单元,用于以ΔT为步进时间,将所述检测时间窗口从所述T 0逐渐增大到所述T max,其中,ΔT>0。 A time window adjustment unit, configured to take ΔT as a step time, and gradually increase the detection time window from the T 0 to the T max , where ΔT>0.
  8. 根据权利要求7所述的业务传输网管系统,其中,The service transmission network management system according to claim 7, wherein,
    所述时间窗口调整单元用于判断在上一个检测时间窗口T n-1内是否发生丢包现象,其中,n为大于或等于1的正整数,若在所述上一个检测时间窗口T n-1内没有发生丢包现象,则将当前检测时间窗口T n调整为T n=min(T n-1+ΔT,T max),其中T n≤T max,若在所述上一个检测时间窗口T n-1内发生丢包现象,则将当前检测时间窗口T n调整为T n=β×T n-1,其中,0<β<1。 The time window adjustment unit is used to determine whether a packet loss phenomenon occurs in the last detection time window T n-1 , where n is a positive integer greater than or equal to 1. If the last detection time window T n- If no packet loss occurs within 1 , the current detection time window T n is adjusted to T n =min(T n-1 +ΔT,T max ), where T n ≤T max , if in the last detection time window If packet loss occurs within T n-1 , the current detection time window T n is adjusted to T n =β×T n-1 , where 0<β<1.
  9. 根据权利要求6所述的业务传输网管系统,其中,The service transmission network management system according to claim 6, wherein,
    所述统计单元计算所述数据包的平均长度L pkt的关系式为: The relational formula for calculating the average length L pkt of the data packet by the statistical unit is:
    Figure PCTCN2021125270-appb-100003
    其中,R byte为接收的业务流量的总字节数,R num为接收的数据包数;以及
    Figure PCTCN2021125270-appb-100003
    where R byte is the total number of bytes of service traffic received, and R num is the number of packets received; and
    所述带宽调整单元根据所述数据包的平均长度L pkt调整所述第二限速带宽B 2
    Figure PCTCN2021125270-appb-100004
    其中,B 1为所述第一限速带宽,γ为业务流量在经过所述CPE设备后增加的字节数。
    The bandwidth adjustment unit adjusts the second rate-limiting bandwidth B 2 according to the average length L pkt of the data packet to be
    Figure PCTCN2021125270-appb-100004
    Wherein, B 1 is the first rate-limited bandwidth, and γ is the number of bytes added by the service traffic after passing through the CPE device.
  10. 根据权利要求9所述的业务传输网管系统,其中,The service transmission network management system according to claim 9, wherein,
    所述α的范围为1<α≤1.06;The range of the α is 1<α≤1.06;
    所述γ为4。The γ is 4.
  11. 一种用于业务传输线路的业务传输网管系统,包括:A service transmission network management system for service transmission lines, comprising:
    存储器;以及memory; and
    耦接至所述存储器的处理器,所述处理器被配置为基于存储在所述存储器的指令执行如权利要求1至5任意一项所述的方法。A processor coupled to the memory, the processor configured to perform the method of any one of claims 1 to 5 based on instructions stored in the memory.
  12. 一种非瞬时性计算机可读存储介质,其上存储有计算机程序指令,该指令被处理器执行时实现如权利要求1至5任意一项所述的方法。A non-transitory computer-readable storage medium having computer program instructions stored thereon, the instructions implementing the method of any one of claims 1 to 5 when executed by a processor.
PCT/CN2021/125270 2020-11-12 2021-10-21 Service transmission method, system, and computer-readable storage medium WO2022100392A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011263522.2 2020-11-12
CN202011263522.2A CN114499735B (en) 2020-11-12 2020-11-12 Service transmission method, system and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2022100392A1 true WO2022100392A1 (en) 2022-05-19

Family

ID=81491330

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/125270 WO2022100392A1 (en) 2020-11-12 2021-10-21 Service transmission method, system, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN114499735B (en)
WO (1) WO2022100392A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227371A (en) * 2015-10-20 2016-01-06 烽火通信科技股份有限公司 A kind of bandwidth chahnel labeling method based on ODUflex
US9344210B2 (en) * 2014-02-10 2016-05-17 Ciena Corporation OTN rate adjustment systems and methods for control plane restoration, congestion control, and network utilization
CN106411664A (en) * 2016-09-14 2017-02-15 中国联合网络通信集团有限公司 Metropolitan area network system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036131A (en) * 2009-09-28 2011-04-27 中兴通讯股份有限公司 End-to-end QoS (Quality of Service) control method and device based on GPON (Gigabit Passive Optical Network) system
CN109600291B (en) * 2017-09-30 2021-06-01 华为技术有限公司 Cross-domain QoS (quality of service) adjusting method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9344210B2 (en) * 2014-02-10 2016-05-17 Ciena Corporation OTN rate adjustment systems and methods for control plane restoration, congestion control, and network utilization
CN105227371A (en) * 2015-10-20 2016-01-06 烽火通信科技股份有限公司 A kind of bandwidth chahnel labeling method based on ODUflex
CN106411664A (en) * 2016-09-14 2017-02-15 中国联合网络通信集团有限公司 Metropolitan area network system

Also Published As

Publication number Publication date
CN114499735B (en) 2024-02-13
CN114499735A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
US11316795B2 (en) Network flow control method and network device
US8804529B2 (en) Backward congestion notification
US7130917B2 (en) Quality of service in a gateway
US6826147B1 (en) Method and apparatus for aggregate flow control in a differentiated services network
Jiang Delay bounds for a network of guaranteed rate servers with FIFO aggregation
WO2021083269A1 (en) Network traffic rate limiting method and device, central control equipment and gateways
WO2016019822A1 (en) Method and apparatus for diverting flow
WO2017024824A1 (en) Aggregated link-based traffic management method and device
US10616122B2 (en) Systems and methods for managing a network
US7826364B1 (en) Dynamic service-aware flow control in packet networks
WO2014183492A1 (en) Packet traffic control method and device based on multi-path transmission
US7965638B1 (en) Policing machine incorporating randomization of rate threshold
US20060161659A1 (en) Weighted fairness decisions in a SRP forwarding block
US8593969B1 (en) Method and apparatus for rate-limiting traffic flow of packets in a network device
US20130336125A1 (en) Method and System for Controlling Packet Traffic
US8787160B2 (en) Method, apparatus, and system for judging path congestion
US20090323525A1 (en) Priority aware policer and method of priority aware policing
CN111431811A (en) Message transmission control method, device and network equipment
US9054985B2 (en) System and method for dynamic rate limiting and shaping of traffic based on available bandwidth
WO2022100392A1 (en) Service transmission method, system, and computer-readable storage medium
WO2014000467A1 (en) Method for adjusting bandwidth in network virtualization system
CN101119492B (en) Jitter restriction based data cache reshaping method
CN113572699A (en) Cloud data center tenant outlet flow rate limiting method and system
JP2008166881A (en) Link aggregation circuit, and method for optimizing link aggregation access control logic
CN110868357A (en) Network flow control method, VTEP device and storage medium

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23/10/2023)