CN111093121A - Method for automatically configuring ONU QINQ in EPON system - Google Patents
Method for automatically configuring ONU QINQ in EPON system Download PDFInfo
- Publication number
- CN111093121A CN111093121A CN201910972436.XA CN201910972436A CN111093121A CN 111093121 A CN111093121 A CN 111093121A CN 201910972436 A CN201910972436 A CN 201910972436A CN 111093121 A CN111093121 A CN 111093121A
- Authority
- CN
- China
- Prior art keywords
- onu
- cvlan
- qinq
- template
- converted
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000006243 chemical reaction Methods 0.000 claims description 14
- 238000013475 authorization Methods 0.000 claims description 6
- 238000011144 upstream manufacturing Methods 0.000 claims description 2
- 238000012423 maintenance Methods 0.000 abstract description 4
- 238000012545 processing Methods 0.000 description 4
- 238000013519 translation Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/084—Configuration by using pre-existing information, e.g. using templates or copying from other elements
- H04L41/0843—Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0889—Techniques to speed-up the configuration process
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0079—Operation or maintenance aspects
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a method for automatically configuring an ONU QINQ in an EPON system, which is a method for automatically configuring/deleting the QINQ to an ONU for on-line authentication/de-authentication by an OLT system in the EPON system. The method comprises the following steps: firstly, planning VLAN of an OLT system and VLAN range of an off-hook ONU, then configuring a template for automatically configuring QINQ, binding the template to a PON port, if the ONU authorizes, automatically calculating and converting CVLAN according to the template bound by the PON port where the ONU is located by the system, and forming parameters into QINQ rules to send a PON chip; and if the ONU is unauthorized, deleting the QINQ rule of the ONU on the PON chip. According to the method, the QINQ templates are configured in advance and bound to the PON port automatically, and then the QINQ is not required to be configured manually one by one for each ONU, while the traditional QINQ template needs to be configured for each ONU, so that the labor maintenance cost of the OLT is reduced.
Description
Technical Field
The invention relates to the field of Ethernet passive optical networks, in particular to a method for automatically configuring an ONU QINQ in an EPON system.
Background
In engineering applications, there are the following requirements: when an OLT opens an office, service VLANs configured locally for the same service of all ONUs under a PON port are the same, and the OLT system needs to convert the service VLANs with the same service of the ONUs into different VLANs for distinguishing and then opens the same SVLAN. The original method for configuring one QINQ template by one ONU has a lot of configurations, and the configuration needs to be manually performed one by one ONU, which brings trouble to maintenance, so that a new configuration method needs to be invented to solve the requirement.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: aiming at the defects in the prior art, a method for automatically configuring the QINQ of the ONU in the EPON system is provided, so that the labor maintenance cost of the OLT is reduced.
The technical scheme adopted by the invention for solving the technical problems is as follows:
the invention provides a method for automatically configuring ONU QINQ in an EPON system, which comprises the following steps: firstly, planning VLANs of an OLT and an ONU, configuring a QINQ template according to planned parameters, binding the template to a PON port, if the PON port is authorized by the ONU, calculating and converting a CVLAN by a system according to the QINQ template bound by the PON port, storing the personalized configuration of the ONU, and forming a QINQ rule to send a PON chip; and if the PON port has the ONU for authorization removal, deleting the QINQ rule of the ONU on the PON chip and deleting the personalized configuration of the ONU.
In the above method, the planning of VLANs of the OLT and the ONU includes: the converted CVLAN of the ONU is calculated according to parameters in an automatically configured QINQ template bound by the PON port where the ONU is located, and the parameters of the automatically configured QINQ template comprise a template name, an original CVLAN, a converted CVLAN calculation base number A, a converted CVLAN calculation base number B, a converted CVLAN calculation base number C and a converted CVLAN number N, SVLAN.
In the above method, the calculation rule of the range of the available converted CVLAN under the PON port bound with the QINQ template is:
binding an initial conversion CVLAN (constant voltage LAN) ((A-1) × slot number + (B-1) × PON port number + C) available under a PON port of the QINQ template;
and (2) binding an available termination conversion CVLAN (constant virtual local area network) under the PON port of the QINQ template, (A-1) slot number + (B-1) PON port number + C + N).
The reason why the slot position number and the PON port number participate in the calculation of the conversion CVLAN is that the same automatic configuration QINQ template is bound with different PON ports, different conversion CVLAN pools can be mapped, and the reuse rate of the automatic configuration QINQ template is improved.
In the method, the EPON system calculates the conversion CVLAN according to the automatically configured QINQ template bound by the PON port, and the calculation rule of the conversion CVLAN distributed by the ONU is as follows:
the conversion CVLAN of the ONU ═ initial conversion CVLAN + (ONUID-1)% N +1 available under the PON port bound with QINQ template, where ONUID is the authorization number of the ONU.
In the method, the step of storing the personalized configuration of the ONU comprises: and storing related parameters of the original CVLAN, the distributed converted CVLAN and the SVLAN of the ONU.
In the method, the method for transmitting the parameter composition QINQ rule to the PON chip comprises the following steps: and the original CVLAN, the converted CVLAN and the SVLAN are combined into an upstream CVLAN, the original CVLAN is converted into the converted CVLAN and is printed on the SVLAN, the SVLAN is stripped downstream, the converted CVLAN is restored into a QINQ rule of the original CVLAN, and the rule is configured to the PON chip.
Compared with the prior art, the method provided by the invention has the following main advantages:
according to the method, the QINQ templates are configured in advance and bound to the PON port automatically, and then the QINQ is not required to be configured manually one by one for each ONU, while the traditional QINQ template needs to be configured for each ONU, so that the labor maintenance cost of the OLT is reduced.
If an OLT has 80 PON ports and is configured with 80 QINQ templates at most, no manual intervention is required after binding the automatically configured QINQ templates to the PON ports. However, if the existing QINQ templates are used, each ONU needs to be configured with one QINQ template, and when 80 PON-port ONUs are fully configured, 80 × 64 — 5120 existing QINQ templates need to be configured, and then the ONUs need to be bound by manually configuring the templates one by one, which is a huge workload for configuring and maintaining the multiple templates. If the following requirements are met: the service VLANs which are locally configured by the same service of all the ONUs under the PON port are the same, the OLT system is required to convert the service VLANs which are the same as the ONUs into different VLANs for distinguishing, then the same SVLAN is arranged, and the problem can be well solved by using the automatic configuration QINQ template configuration.
Drawings
Fig. 1 is a diagram of an ONU automatic configuration ONU QINQ implementation.
Detailed Description
The invention discloses a method for automatically configuring an ONU QINQ in an EPON system, which is a method for automatically configuring/deleting the QINQ to an ONU for on-line authentication/de-authentication by an OLT system in the EPON system. The method comprises the following steps: firstly, planning VLAN of an OLT system and VLAN range of an off-hook ONU, then configuring a template for automatically configuring QINQ, binding the template to a PON port, if the ONU authorizes, automatically calculating and converting CVLAN according to the template bound by the PON port where the ONU is located by the system, and forming parameters into QINQ rules to send a PON chip; and if the ONU is unauthorized, deleting the QINQ rule of the ONU on the PON chip. The method is well configured with the QINQ template in advance and bound to the PON, and then the QINQ is not required to be manually configured one by the ONU.
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 automatically configuring the QINQ of the ONU in the EPON system realizes the automatic configuration of the QINQ function of the ONU by automatically configuring the QINQ template. The automatic configuration QINQ template is bound on the PON port, the ONU of the PON port can automatically distribute and convert the CVLAN configuration QINQ rule when authorizing, and delete the corresponding rule when de-authorizing.
The present invention will be described in detail below with reference to specific embodiments.
OLT system parameter attribute planning:
1. automatically configuring QINQ template parameter body planning:
a single automatically configured QINQ template should contain the following parameters:
(1) the number of the template IDs is set to be,
(2) the name of the template is used as the name of the template,
(3) the original CVLAN on the ONU is the one,
(4) the converted CVLAN calculation base, a, is used to calculate the converted CVLAN,
(5) a conversion CVLAN calculation base B, for calculating a conversion CVLAN,
(6) a translation CVLAN calculation base C, for calculating a translation CVLAN,
(7) the number N of the CVLANs is converted, the number of the CVLANs can be converted under the PON port,
(8)SVLAN。
the structure of a single automatically configured QINQ template is as follows:
the storage mode of automatically configuring the QINQ template is an array, the maximum number of the templates is 512:
AUTO_CFG_PROFILE_STRUCT auto_cfg_profile[512]
the automatically configured QINQ template, when created, will look up the free location store in the array.
2. And (3) template binding PON port parameter planning:
(1) the single PON port binding relationship parameters are as follows:
slot number, PON port number.
The binding relationship data structure of a single PON port is as follows:
(2) the binding relationship parameters for a single template are as follows:
template ID, bound PON port.
The binding relationship structure of a single template is as follows:
the storage mode of the binding relationship between the QINQ template and the PON port is automatically configured as an array, and the dimensionality is the maximum template number:
AUTO_CFG_PROFILE_BIND_STRUCT auto_cfg_profile_bind[512]。
3. ONU-maintained personalized configuration
The actual configuration of the ONU also needs to be saved in the EPON system, and the actual configuration is used for configuring and saving the configuration recovery after the EPON system is restarted, and the configuration parameters of each ONU are as follows:
(1) whether or not to use the identification,
(2) the name of the template is used as the name of the template,
(3) the original CVLAN of the ONU is the one,
(4) the translation CVLAN of the ONU,
(5)SVLAN。
the data structure of the individualized configuration of the ONU is as follows:
the individualized configuration storage mode of the ONU is a four-dimensional array:
ONU_PERSONALITY_CFG_STRUCT
onu_personality_cfg[MAX_SLOT_NUM][MAX_PON_NUM_OF_LINECARD][MAX_O NU_NUM_OF_PON][SIHUI_ONU_AUTO_CFG_PROFILE_BIND_NUM]。
MAX _ SLOT _ NUM: maximum slot number;
MAX _ PON _ NUM _ OF _ linecad: maximum PON port number;
MAX _ ONU _ NUM _ OF _ PON: a maximum ONU number;
ONU _ AUTO _ CFG _ PROFILE _ BIND _ NUM: the number of templates which can be bound by each ONU at most;
and after the ONU authorizes, the distributed personalized parameters are stored in corresponding positions in the array.
(II) design of processing flow of ONU authorized system
The processing flow of the system after ONU authorization is as follows:
1. traversing the binding table of the automatic configuration QINQ template, and searching the automatic configuration QINQ template bound to the PON port where the ONU is located;
2. if a template is bound to the PON port, calculating the converted VLAN separated by the ONU according to the parameters in the bound automatic configuration QINQ template and the index of the ONU, if not, ending the circulation, and continuing the circulation of the step 1;
3. storing the automatically configured template name, the original CVLAN, the converted VLAN and the SVLAN in an individualized array, and counting the number of the bound templates;
4. judging whether the number of the bound templates is greater than the maximum number of the templates which can be bound by each ONU, if so, directly exiting the cycle, otherwise, continuing the cycle of the step 1;
5. and composing the individualized parameters of the ONU into QINQ rules and issuing the QINQ rules to the PON chip.
(III) design of processing flow of system after ONU de-authorization
The processing flow of the system after the ONU is de-authorized is as follows:
1. deleting the rules of the ONU on the PON chip;
2. and deleting the personalized configuration of the ONU.
Claims (6)
1. A method for automatically configuring ONU QINQ in EPON system is characterized in that: firstly, planning VLANs of an OLT and an ONU, configuring a QINQ template according to planned parameters, binding the template to a PON port, if the PON port is authorized by the ONU, calculating and converting a CVLAN by a system according to the QINQ template bound by the PON port, storing the personalized configuration of the ONU, and forming a QINQ rule to send a PON chip; and if the PON port has the ONU for authorization removal, deleting the QINQ rule of the ONU on the PON chip and deleting the personalized configuration of the ONU.
2. The method of claim 1, wherein the planning the VLANs of the OLTs and ONUs comprises: the converted CVLAN of the ONU is calculated according to parameters in an automatically configured QINQ template bound by the PON port where the ONU is located, and the parameters of the automatically configured QINQ template comprise a template name, an original CVLAN, a converted CVLAN calculation base number A, a converted CVLAN calculation base number B, a converted CVLAN calculation base number C and a converted CVLAN number N, SVLAN.
3. The method according to claim 2, characterized in that the calculation rules for binding the range of the converted CVLAN available under the PON port of the QINQ template are:
binding an initial conversion CVLAN (constant voltage LAN) ((A-1) × slot number + (B-1) × PON port number + C) available under a PON port of the QINQ template;
and (2) binding an available termination conversion CVLAN (constant virtual local area network) under the PON port of the QINQ template, (A-1) slot number + (B-1) PON port number + C + N).
4. The method of claim 1, wherein the EPON system calculates a converted CVLAN according to the QINQ template bound to the PON port, and the ONU assigns the converted CVLAN calculation rule as follows:
the conversion CVLAN of the ONU ═ initial conversion CVLAN + (ONUID-1)% N +1 available under the PON port bound with QINQ template, where ONUID is the authorization number of the ONU.
5. The method of claim 1, wherein maintaining the personalized configurations of the ONUs comprises: and storing related parameters of the original CVLAN, the distributed converted CVLAN and the SVLAN of the ONU.
6. The method of claim 1, wherein the method for transmitting the parameter composition QINQ rule to the PON chip comprises: and the original CVLAN, the converted CVLAN and the SVLAN are combined into an upstream CVLAN, the original CVLAN is converted into the converted CVLAN and is printed on the SVLAN, the SVLAN is stripped downstream, the converted CVLAN is restored into a QINQ rule of the original CVLAN, and the rule is configured to the PON chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910972436.XA CN111093121A (en) | 2019-10-14 | 2019-10-14 | Method for automatically configuring ONU QINQ in EPON system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910972436.XA CN111093121A (en) | 2019-10-14 | 2019-10-14 | Method for automatically configuring ONU QINQ in EPON system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111093121A true CN111093121A (en) | 2020-05-01 |
Family
ID=70392979
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910972436.XA Pending CN111093121A (en) | 2019-10-14 | 2019-10-14 | Method for automatically configuring ONU QINQ in EPON system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111093121A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112543120A (en) * | 2020-12-02 | 2021-03-23 | 中盈优创资讯科技有限公司 | OLT (optical line terminal) opening automation configuration method and device |
CN113472586A (en) * | 2021-07-08 | 2021-10-01 | 广州芯德通信科技股份有限公司 | Method for realizing automatic configuration of service VLAN to ONU by GPON system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102316388A (en) * | 2010-07-09 | 2012-01-11 | 中兴通讯股份有限公司 | Flexible QinQ realization method and device for passive optical network system |
CN104168124A (en) * | 2013-05-16 | 2014-11-26 | 上海斐讯数据通信技术有限公司 | Configuration method of selective QinQ rule of distributed system |
CN105516832A (en) * | 2016-01-07 | 2016-04-20 | 烽火通信科技股份有限公司 | GPON system terminal equipment data QINQ realizing method |
WO2016202086A1 (en) * | 2015-06-16 | 2016-12-22 | 中兴通讯股份有限公司 | Network topology joining method and apparatus |
EP3236620A1 (en) * | 2006-04-29 | 2017-10-25 | Huawei Technologies Co., Ltd. | An optical network terminal and a message processing method, a message processing apparatus and system thereof |
-
2019
- 2019-10-14 CN CN201910972436.XA patent/CN111093121A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3236620A1 (en) * | 2006-04-29 | 2017-10-25 | Huawei Technologies Co., Ltd. | An optical network terminal and a message processing method, a message processing apparatus and system thereof |
CN102316388A (en) * | 2010-07-09 | 2012-01-11 | 中兴通讯股份有限公司 | Flexible QinQ realization method and device for passive optical network system |
WO2012003726A1 (en) * | 2010-07-09 | 2012-01-12 | 中兴通讯股份有限公司 | Method and apparatus for implementing flexible qinq in passive optical network system |
CN104168124A (en) * | 2013-05-16 | 2014-11-26 | 上海斐讯数据通信技术有限公司 | Configuration method of selective QinQ rule of distributed system |
WO2016202086A1 (en) * | 2015-06-16 | 2016-12-22 | 中兴通讯股份有限公司 | Network topology joining method and apparatus |
CN105516832A (en) * | 2016-01-07 | 2016-04-20 | 烽火通信科技股份有限公司 | GPON system terminal equipment data QINQ realizing method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112543120A (en) * | 2020-12-02 | 2021-03-23 | 中盈优创资讯科技有限公司 | OLT (optical line terminal) opening automation configuration method and device |
CN113472586A (en) * | 2021-07-08 | 2021-10-01 | 广州芯德通信科技股份有限公司 | Method for realizing automatic configuration of service VLAN to ONU by GPON system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102752675B (en) | Method for realizing ONU (Optical Network Unit) service automatic opening on OLT (Optical Line Terminal) equipment | |
CN102833642B (en) | Method and system for managing optical network units (ONU) based on interface capability set | |
CN104378225B (en) | GPON systems and the method for configuring ustomer premises access equipment business | |
CN102006526B (en) | A kind of broadcast packet/multicast controls message processing method and device | |
CN106330573B (en) | FTTH-based method for automatically corresponding terminal and template | |
CN106921437B (en) | A kind of method and apparatus for establishing virtual access node in optical access network | |
CN106162383B (en) | A kind of distribution method, device and the optical line terminal of optical network unit business information | |
CN101795219A (en) | Method and system for automatically distributing VLAN (virtual local area network) | |
CN103067212B (en) | Based on capability set template, ONU is carried out the method for dynamic management | |
CN111093121A (en) | Method for automatically configuring ONU QINQ in EPON system | |
US20180013625A1 (en) | Configuration data distribution method and apparatus | |
CN104022972B (en) | A kind of interchanger of Ethernet switch collocation method and application this method | |
CN102447568B (en) | Method for treating downlinking broadcast, flooding business and multicasting business in gigabit passive optical network (GPON) system | |
CN101080106B (en) | Traffic control method of Gbit passive optical network system | |
WO2017206690A1 (en) | Method and apparatus for configuring optical network unit, and optical line terminal | |
CN107493188A (en) | A kind of DCN management methods of data communication network | |
CN109614190A (en) | Resources configuration management method and platform | |
CN103747370A (en) | Method for realizing ONU automatic authorization in EPON system | |
WO2016184227A1 (en) | Onu template generating method and device | |
CN109587121A (en) | The management-control method and device of security strategy | |
CN101146015A (en) | A Method and Device for Realizing Layer 1 Virtual Private Network L1 VPN | |
CN101931831B (en) | Optical network unit and IP managing method of optical network unit | |
CN107995041A (en) | A kind of DCN management methods of PTN network | |
CN103905228B (en) | The collocation method and system of serial line interface attribute | |
CN116708439A (en) | Decentralized edge computing device management method |
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 | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20220909 |
|
AD01 | Patent right deemed abandoned |