CN110971991A - Method for realizing VEIP port speed limit by GPON ONU - Google Patents

Method for realizing VEIP port speed limit by GPON ONU Download PDF

Info

Publication number
CN110971991A
CN110971991A CN201911235815.7A CN201911235815A CN110971991A CN 110971991 A CN110971991 A CN 110971991A CN 201911235815 A CN201911235815 A CN 201911235815A CN 110971991 A CN110971991 A CN 110971991A
Authority
CN
China
Prior art keywords
port
bandwidth
speed limit
veip
speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911235815.7A
Other languages
Chinese (zh)
Inventor
姜坤鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GUANGDONG DONYAN NETWORK TECHNOLOGIES CO LTD
Original Assignee
GUANGDONG DONYAN NETWORK TECHNOLOGIES CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GUANGDONG DONYAN NETWORK TECHNOLOGIES CO LTD filed Critical GUANGDONG DONYAN NETWORK TECHNOLOGIES CO LTD
Priority to CN201911235815.7A priority Critical patent/CN110971991A/en
Publication of CN110971991A publication Critical patent/CN110971991A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • 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

Landscapes

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

Abstract

The invention provides a method for realizing VEIP port speed limit by a GPON ONU, which dynamically allocates the actual speed limit value of each port according to the actual forwarding speed of each UNI port or WLAN port, thereby realizing the dynamic speed limit function of the whole VEIP port. The invention has the following main advantages: (1) in the prior art, the speed limit of each port is generally a configuration value, so that the actual bandwidth is multiplied if a user actually uses a plurality of ports, but the problem is well solved because all ports share the speed limit bandwidth; (2) the bandwidth value of each port can be dynamically allocated according to the number of ports actually accessed by a user, so that the technical problem that the bandwidth value of each port is fixed and cannot be changed in real time in the prior art is solved.

Description

Method for realizing VEIP port speed limit by GPON ONU
Technical Field
The invention belongs to port configuration in the field of GPON (gigabit passive optical network), and relates to a method for realizing VEIP port speed limit of a GPON ONU (gigabit passive optical network).
Background
Currently, for a GPON HGU type (home gateway type) device, this type of device is provided with a plurality of (typically 4) UNI interfaces and one WIFI interface. When the speed limit is configured for the device, the device can only be configured on a VEIP (virtual Ethernet Interface point) Interface according to the requirement of a g.988 protocol, and the Interface is only a virtual Ethernet Interface specified in the protocol, and each chip manufacturer does not implement a physical layer speed limit function based on the VEIP Interface. Therefore, the speed limit function of the exchange chip cannot be directly used for limiting the speed of the VEIP interface, and if the PON system does not have an AAA authentication server at the moment, the flow control of the HGU type equipment cannot be carried out.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the method for accurately limiting the speed of the VEIP port is provided, so that the technical problem that the prior ONU products are all limited in speed by enabling all UNI interfaces or WLAN interfaces to share the VEIP independently, and under the condition, when a user uses a plurality of ports to surf the internet simultaneously, the speed which is several times higher than the normal speed can be obtained is solved.
The invention adopts the following technical scheme for solving the technical problems:
the method for realizing VEIP port speed limit by the GPON ONU provided by the invention dynamically allocates the actual speed limit value of each port according to the actual forwarding rate of each UNI port or WLAN port, thereby realizing the dynamic speed limit function of the whole VEIP port.
In the method, all UNI interfaces and WLAN interfaces share the speed limit value configured by the VEIP port, but are not shared independently.
In the method, the overall bandwidth of the VEIP is the bandwidth of the whole user configured by the OLT for the ONU, and the current ONU in the market respectively acts the bandwidth of the whole user on each port, so that the actual bandwidth is doubled when the user accesses the Internet by using a plurality of ports.
In the method, during the sharing process, dynamic real-time allocation of the actual speed is supported through a set of complete algorithm. The algorithm is as follows: the method comprises the steps of firstly, averagely allocating the overall bandwidth of the VEIP to all normally used ports, then periodically checking the bandwidth use condition of each port, reducing the bandwidth of a certain port when the actual used bandwidth of the port is less than the allocated bandwidth and the actual used bandwidth of other ports is more than or equal to the allocated bandwidth, and allocating the reduced bandwidth to other ports until the actual bandwidth of each port is equal to the allocated bandwidth.
In the method, when the OLT configures the VEIP speed limit for the ONU, the ONU starts a new thread, and the work required to be completed by the thread comprises the following parts:
(1) continuously collecting the receiving and transmitting byte quantity of each UNI port and each WLAN interface; the number of bytes transceived per port is read directly from the switch chip.
(2) Calculating the forwarding rate of port flow; if no traffic is being forwarded, the port is considered unused.
(3) Judging whether the forwarding rate of a port is lower than the average forwarding rate, if so, subtracting the rate of the port by cir, subtracting 1 from N, and repeating the step 4; until the port rate is greater than the average forwarding rate, or all ports are less than the average forwarding rate;
(4) if the rates of all the ports are smaller than the average forwarding rate, the rate actually allocated to each port is the value/N of cir, namely the average forwarding rate;
(5) if the speed of the port is larger than the average forwarding speed, the speed limit value of the port with the port speed smaller than the average forwarding speed is configured, and then the residual bandwidth is averagely distributed to the port with the port speed larger than the average forwarding speed;
(6) calling physical layer hardware speed limit interfaces of the UNI port and the WLAN interface, and configuring the speed limit value of each port; the final speed limiting function is implemented on the hardware module of each interface.
In the step (1), the number of the transceiving bytes is provided by a physical layer interface of the chip.
In the method, a chip with the model number of MTK7525F is adopted.
Compared with the prior art, the method provided by the invention has the following main advantages:
first, in the prior art, the speed of each port is generally limited to a configuration value, so that if a user actually uses a plurality of ports, the actual bandwidth is multiplied. The present invention solves this problem well because all ports share the bandwidth of the speed limit.
Secondly, the present invention may dynamically allocate the bandwidth value of each port according to the number of ports actually accessed by the user. In the prior art, the bandwidth value of each port is fixed and cannot be changed in real time.
Drawings
Fig. 1 is the entire process from the reception of the configuration from the ONU until the bandwidth adjustment for all ports is completed.
Detailed Description
The invention provides a method for realizing VEIP port speed limit by a GPON ONU, which is a method for carrying out speed limit on a Veip port and dynamically controls the speed limit condition of the whole VEIP port based on the speed limit functions of the existing UNI port and WLAN port of an ONU chip. The actual speed limit value of each port can be dynamically distributed according to the actual speed of each UNI port or WLAN port, so that the dynamic speed limit function of the whole VEIP port is realized.
The present invention will be further described with reference to the following examples and drawings, but the present invention is not limited thereto.
The method for realizing VEIP port speed limit by GPON ONU provided by the invention is that OLT can configure the speed limit of VEIP port according to the requirement according to the regulation of G.988 document, the main parameters are CIR (committed information rate), PIR (peak information rate), CBS (committed burst size) and PBS (peak burst size). The ONU configures these parameters onto the VEIP port upon receiving this configuration. However, since the VEIP port is a virtual port, the function of limiting the speed cannot be provided. This configuration cannot be validated on the ONU.
The method of the invention has the key function that all UNI interfaces and WLAN interfaces share the speed limit value configured by the VEIP port, but not share the speed limit value individually. In the prior ONU products, all UNI interfaces or WLAN interfaces share only the speed limit of the VEIP, and under the condition, when a user uses a plurality of ports to surf the internet simultaneously, the speed which is several times higher than the normal speed can be obtained. The present invention perfectly solves this problem by the following method.
The invention can dynamically adjust the speed of each UNI port and WLAN port in real time through software, thereby achieving the purpose of accurately limiting the speed of the VEIP port.
The invention can support dynamic real-time allocation of rates by providing a complete set of algorithms. The core idea of the algorithm is that firstly, the overall bandwidth of the VEIP is averagely allocated to all normally used ports, then the bandwidth use condition of each port is periodically checked, when the actual used bandwidth of a certain port is smaller than the allocated bandwidth and the actual used bandwidth of other certain ports is larger than or equal to the allocated bandwidth, the bandwidth of the port is reduced, and the reduced bandwidth is allocated to other ports until the actual bandwidth of each port is equal to the allocated bandwidth.
The specific process is as follows:
when the OLT configures the VEIP speed limit for the ONU, the ONU starts a new thread, as shown in fig. 1, where the work that the thread needs to complete includes the following parts:
1. continuously collecting the receiving and transmitting byte quantity of each UNI port and each WLAN interface; the number of bytes transceived per port is read directly from the switch chip.
2. Comparing the two acquisition results to judge whether data traffic is forwarded on the UNI port or the WLAN interface, and if so, calculating the traffic forwarding rate; if not, the port is considered unused.
3. For ports that are not used, the configuration is not rate-limiting. Ensuring that the port can work normally when being used suddenly.
4. Judging the number of N in the forwarding of the traffic with N ports; dividing the value of cir by N to obtain the average forwarding rate of each port; n is the port number of flow forwarding;
5. judging whether the forwarding rate of a port is lower than the average forwarding rate, if so, subtracting the rate of the port by cir, subtracting 1 from N, and repeating the step 4; until the port rate is greater than the average forwarding rate, or all ports are less than the average forwarding rate;
6. if the rates of all the ports are smaller than the average forwarding rate, the rate actually allocated to each port is the value/N of cir, namely the average forwarding rate;
7. if the speed of the port is larger than the average forwarding speed, the speed limit value of the port with the port speed smaller than the average forwarding speed is configured, and then the residual bandwidth is averagely distributed to the port with the port speed larger than the average forwarding speed;
8. calling physical layer hardware speed limit interfaces of the UNI port and the WLAN interface, and configuring the speed limit value of each port; the final speed limiting function is realized on a hardware module of each interface;
9. when the port is changed from being used to not being used, setting the speed limiting rate of the port as the maximum value, and configuring the speed limiting value when the speed is adjusted in the next round;
10. steps 1-9 are repeated. Until all ports have an actual rate equal to the allocated rate.

Claims (7)

1. A method for realizing VEIP port speed limit by GPON ONU is characterized in that the actual speed limit value of each port is dynamically distributed according to the actual forwarding rate of each UNI port or WLAN port, thereby realizing the dynamic speed limit function of the whole VEIP port.
2. The method for realizing VEIP port speed limit of the GPON ONU according to claim 1, wherein all UNI interfaces and WLAN interfaces share the speed limit value configured by the VEIP port instead of being shared individually.
3. The method for realizing VEIP port speed limit of the GPON ONU according to claim 2, wherein the entire VEIP bandwidth is the entire user bandwidth configured by the OLT for the ONU, and the current ONU in the market respectively acts the entire user bandwidth on each port, so that the actual bandwidth is doubled when the user accesses the Internet by using a plurality of ports.
4. The method for realizing VEIP port speed limit of the GPON ONU according to claim 2, wherein in the sharing process, the dynamic real-time distribution of the actual speed is supported by a set of complete algorithm. The algorithm is as follows: the method comprises the steps of firstly, averagely allocating the overall bandwidth of the VEIP to all normally used ports, then periodically checking the bandwidth use condition of each port, reducing the bandwidth of a certain port when the actual used bandwidth of the port is less than the allocated bandwidth and the actual used bandwidth of other ports is more than or equal to the allocated bandwidth, and allocating the reduced bandwidth to other ports until the actual bandwidth of each port is equal to the allocated bandwidth.
5. The method for realizing VEIP port speed limit of the GPON ONU according to claim 4, characterized in that when the OLT configures the VEIP speed limit for the ONU, the ONU starts a new thread, and the work required to be completed by the thread comprises the following parts:
(1) continuously collecting the receiving and transmitting byte quantity of each UNI port and each WLAN interface; the number of bytes transceived per port is read directly from the switch chip.
(2) Calculating the forwarding rate of port flow; if no traffic is being forwarded, the port is considered unused.
(3) Judging whether the forwarding rate of a port is lower than the average forwarding rate, if so, subtracting the rate of the port by cir, subtracting 1 from N, and repeating the step 4; until the port rate is greater than the average forwarding rate, or all ports are less than the average forwarding rate;
(4) if the rates of all the ports are smaller than the average forwarding rate, the rate actually allocated to each port is the value/N of cir, namely the average forwarding rate;
(5) if the speed of the port is larger than the average forwarding speed, the speed limit value of the port with the port speed smaller than the average forwarding speed is configured, and then the residual bandwidth is averagely distributed to the port with the port speed larger than the average forwarding speed;
(6) calling physical layer hardware speed limit interfaces of the UNI port and the WLAN interface, and configuring the speed limit value of each port; the final speed limiting function is implemented on the hardware module of each interface.
6. The GPON ONU realization method for VEIP port speed limit as claimed in claim 5, wherein in step (1), the transceiving byte number is provided by a physical layer interface of a chip.
7. The GPON ONU speed limiting method for the VEIP port according to claim 5, characterized in that a chip with model number MTK7525F is adopted.
CN201911235815.7A 2019-12-05 2019-12-05 Method for realizing VEIP port speed limit by GPON ONU Pending CN110971991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911235815.7A CN110971991A (en) 2019-12-05 2019-12-05 Method for realizing VEIP port speed limit by GPON ONU

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911235815.7A CN110971991A (en) 2019-12-05 2019-12-05 Method for realizing VEIP port speed limit by GPON ONU

Publications (1)

Publication Number Publication Date
CN110971991A true CN110971991A (en) 2020-04-07

Family

ID=70033071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911235815.7A Pending CN110971991A (en) 2019-12-05 2019-12-05 Method for realizing VEIP port speed limit by GPON ONU

Country Status (1)

Country Link
CN (1) CN110971991A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022022251A1 (en) * 2020-07-29 2022-02-03 华为技术有限公司 Traffic speed limiting method, related network device, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120294611A1 (en) * 2011-05-19 2012-11-22 Pmc Sierra Ltd. Dynamic Bandwidth Allocation for Congestion Management in PON Channel Aggregation
CN103347221A (en) * 2013-07-04 2013-10-09 北京邮电大学 EPON dynamic energy-saving method based on threshold value comparison
CN103701956A (en) * 2014-01-06 2014-04-02 广东东研网络科技股份有限公司 Method for realizing extension communication between OLT (Optical Line Terminal) and ONU (Optical Network Unit)
CN104618257A (en) * 2014-12-31 2015-05-13 瑞斯康达科技发展股份有限公司 Traffic control method, optical network unit (ONU) and optical line terminal (OLT) device
CN105659542A (en) * 2014-07-01 2016-06-08 华为技术有限公司 Data transmission control method, passive optical network equipment and device, and passive optical network
CN109428830A (en) * 2017-08-31 2019-03-05 深圳市中兴微电子技术有限公司 A kind of device and method of dynamic adjustment ONU equipment port speed constraint threshold values

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120294611A1 (en) * 2011-05-19 2012-11-22 Pmc Sierra Ltd. Dynamic Bandwidth Allocation for Congestion Management in PON Channel Aggregation
CN103347221A (en) * 2013-07-04 2013-10-09 北京邮电大学 EPON dynamic energy-saving method based on threshold value comparison
CN103701956A (en) * 2014-01-06 2014-04-02 广东东研网络科技股份有限公司 Method for realizing extension communication between OLT (Optical Line Terminal) and ONU (Optical Network Unit)
CN105659542A (en) * 2014-07-01 2016-06-08 华为技术有限公司 Data transmission control method, passive optical network equipment and device, and passive optical network
CN104618257A (en) * 2014-12-31 2015-05-13 瑞斯康达科技发展股份有限公司 Traffic control method, optical network unit (ONU) and optical line terminal (OLT) device
CN109428830A (en) * 2017-08-31 2019-03-05 深圳市中兴微电子技术有限公司 A kind of device and method of dynamic adjustment ONU equipment port speed constraint threshold values

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022022251A1 (en) * 2020-07-29 2022-02-03 华为技术有限公司 Traffic speed limiting method, related network device, and storage medium

Similar Documents

Publication Publication Date Title
US10397674B2 (en) PON wavelength bonding for providing higher-rate data services
CN101252789B (en) Method and apparatus for allocating multi-frame dynamic band width
EP2012463A1 (en) Optical network termination, configuration method for limiting rate property of ports therefor, and message handling method
CN105208121A (en) File access flow control method and system based on distributed file system
CN1614944A (en) Dynamic distribution control of upward band width in passive optical network
CN108370270A (en) Distribution method, device and the passive optical network of dynamic bandwidth
US20150350083A1 (en) Systems and methods for allocating network bandwidth across access modules
WO2012009997A1 (en) Bandwidth allocation method and apparatus
CN103297866B (en) Uplink and downlink bandwidth allocation methods, equipment and nested system
EP2608438B1 (en) Dynamic bandwidth allocation method and device
WO2008089627A1 (en) A dynamic bandwidth allocation device for a passive optical network system and the method implemented
WO2018045589A1 (en) Communication method for ethernet passive optical network, optical network unit, and optical line terminal
US9729241B2 (en) Telecommunication systems and methods using dynamic shaping for allocating network bandwidth
WO2022242252A1 (en) Bandwidth adjustment method and apparatus
US11695478B2 (en) Apparatuses, methods, and computer programs for a remote unit and a central unit of an optical line terminal
WO2020098744A1 (en) Data communication and communication management method based on distributed processing unit (dpu) and dpu
CN110971991A (en) Method for realizing VEIP port speed limit by GPON ONU
CN112887107A (en) Bandwidth allocation method and system and optical line terminal
WO2024077988A1 (en) Configuration information sending method and apparatus, and storage medium and electronic apparatus
KR101021329B1 (en) Method for SLA-based dynamic bandwidth allocation for ethernet passive optical network
WO2023000870A1 (en) Bandwidth allocation method, olt, onu, terminal and storage medium
CN109286580B (en) Uplink bandwidth allocation method and device for passive optical network
CN102684975B (en) Dynamic bandwidth source allocation method and dynamic bandwidth source allocation device
WO2020221430A1 (en) Method and apparatus for controlling transmission of an upstream packet traffic in a tdm pon-based fronthaul
WO2020248980A1 (en) Bandwidth assignment method and apparatus, and bandwidth check method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200407