CN104168124A - Configuration method of selective QinQ rule of distributed system - Google Patents
Configuration method of selective QinQ rule of distributed system Download PDFInfo
- Publication number
- CN104168124A CN104168124A CN201310182888.0A CN201310182888A CN104168124A CN 104168124 A CN104168124 A CN 104168124A CN 201310182888 A CN201310182888 A CN 201310182888A CN 104168124 A CN104168124 A CN 104168124A
- Authority
- CN
- China
- Prior art keywords
- template
- rule
- selective
- selective qinq
- distributed system
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 239000002699 waste material Substances 0.000 abstract 1
- RTZKZFJDLAIYFH-UHFFFAOYSA-N Diethyl ether Chemical compound CCOCC RTZKZFJDLAIYFH-UHFFFAOYSA-N 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention discloses a configuration method of a selective QinQ rule of a distributed system. The distributed system comprises an OLT apparatus which includes a wire chuck and a master control panel which are arranged with two PON chips. The configuration method comprises the following steps: S10. creating a template configurated with the selective QinQ rule; S20. marking all selective QinQ rules of the template and corresponding relation of the PON chips as binding information; S30. sending the template and the binding information to the wire chuck; S40. decomposing the template by the wire chuck, and sending down the selective QinQ rule of the template to the corresponding PON chips and executing according to the binding information. A plurality of selective QinQ rules in the form of the template are sent down, resource waste caused by repeated commands is prevented, furthermore through eliminating conflicted selective QinQ rules, configuration efficiency is increased.
Description
Technical field
The present invention relates to a kind of collocation method of selective QinQ (Selective QinQ, QinQ is multilayer VLAN) rule of distributed system.
Background technology
In carrier network, utilize VLAN(VLAN) user is isolated and mark is very limited, only can represent 4096 VLAN, in order further to expand VLAN scope, produce QinQ technology.
In prior art, at distributed OLT(optical line terminal) in device systems, issuing of selective QinQ rule is the corresponding order of a rule, the configuration of webmaster and realization are respectively on main control unit and line chuck, between main control unit and line chuck, exist transmission channel, rule is finally at PON(EPON) come into force on chip, so in the time there is identical configuration in multiple PON chips, in existing method, same rule need to issue repeatedly order, and, in the time that rule clashes, the rule having issued must be detected by line chuck, then conflicting information is fed back to main control unit, this method has caused allocative efficiency low.
Summary of the invention
The technical problem that the present invention solves is to issue and cause repetition transmitting order to lower levels and the rule low defect of allocative efficiency while clashing in order to overcome identical QinQ rule, and provide one can avoid repetition transmitting order to lower levels, can avoid again the collocation method of the selective QinQ rule of the distributed system of the poor efficiency that rule conflict causes.
The present invention solves above-mentioned technical problem by following technical proposals:
A kind of collocation method of selective QinQ rule of distributed system, this selective QinQ rule is different from QinQ rule, QinQ rule be based on port add outer layer label, and selective QinQ rule according to various ways such as message, priority, IP agreements to Data classification and add different VLAN(VLANs).This distributed system includes an OLT equipment, and this OLT equipment comprises that one is provided with line chuck and a main control unit of at least two PON chips, and its feature is, includes following steps:
S10, on this main control unit, create a template for flexible configuration QinQ rule;
S20, the whole selective QinQs rule in this template is labeled as to binding information with the corresponding relations of those PON chips, that is, the content of binding information is selective QinQ rule and the corresponding relation of PON chip;
S30, this template and this binding information are together sent to this line chuck;
S40, this line chuck decompose this template, and according to this binding information, the selective QinQ rule in this template are handed down to corresponding PON chip and carry out.That is to say, line chuck first resolves into template some selective QinQ rules, then these some these binding informations of selective QinQ rule contrast are distributed.
Preferably, this S10 is:
S11, on main control unit, create a template for flexible configuration QinQ rule, and judge whether to have inputted a selective QinQ rule in this template, if carry out S12, otherwise carry out S20;
S12, judge between this selective QinQ rule and existing whole selective QinQ rules in this template whether exist and conflict, if execution S13 adds this selective QinQ rule template and carries out S11 if not;
S13, abandon this QinQ rule, and carry out S11., exist in the situation of conflicting and rejudge the input that whether has other selective QinQ rules.
Preferably, this conflict includes: SVLAN(outside VLAN) difference and CVLAN(inner VLAN) identical, SVLAN is different and CVLAN priority is identical, SVLAN is different and EtherType(EtherType) identical or SVLAN is different and CVLAN is identical with EtherType.Wherein, SVLAN is by increasing the stacking packet header of Ether frame, a kind of VLAN form of expansion VLAN number, and CVLAN is also a kind of VLAN form for used aloned, and EtherType is a field in Ether frame, be used for indicating the agreement that is applied to frame data field
Preferably, be provided with the first exchange chip on this main control unit, this main control unit is issued to this line chuck by this exchange chip one by this template.That is, on this main control unit, complete drawing template establishment, and after whether all selective QinQs rule in this template and the selective QinQ rule of new input are existed and conflict and judge, recycle the first exchange chip this template is issued.
Preferably, be provided with the second exchange chip on this line chuck, this line chuck, after this template is decomposed, gives by distribution under the selective QinQ rule in template the PON chip that this binding information is corresponding by this exchange chip two.That is, the second exchange chip plays the effect of a distribution selective QinQ rule here, and itself can't decompose this template the second exchange chip.
Positive progressive effect of the present invention is: issues a plurality of selective QinQ rules by the form of template, avoided repeating the wasting of resources that transmitting order to lower levels causes, and then the selective QinQ rule of conflicting by eliminating, allocative efficiency is improved.
Brief description of the drawings
Fig. 1 is the structured flowchart of the distributed system of a preferred embodiment of the present invention.
Fig. 2 is the flow chart of the selective QinQ rule configuration method of the distributed system of a preferred embodiment of the present invention.
Embodiment
Mode below by embodiment further illustrates the present invention, but does not therefore limit the present invention among described scope of embodiments.
Fig. 1 is the structured flowchart of the distributed system of the present embodiment, as shown in Figure 1, OLT equipment 70 includes main control unit 50 and line chuck 60. is wherein provided with PON chip 11, PON chip 12, PON chip 13, PON chip 14 on line chuck 60, corresponding ONU21(ONU is Optical Network Unit respectively, Optical Network Terminal), ONU22, ONU23, ONU24.Between main control unit 50 and line chuck 60, be provided with the communication port 40 for transmitting data.In addition, on main control unit 50 and line chuck 60, be also respectively arranged with exchange chip 31 and the exchange chip 32 for transmitting data.Exchange chip 32 is connected with PON chip 11, PON chip 12, PON chip 13, PON chip 14.
Wherein, the data that main control unit 50 is processed issue through exchange chip 31, transfer to line chuck 60 by communication port 40, and data are distributed to PON chip 11, PON chip 12, PON chip 13, PON chip 14 through exchange chip 32 after line chuck 60 is processed again.
Fig. 2 is the flow chart of the selective QinQ rule configuration method of the distributed system of the present embodiment, and as shown in Figure 2, the selective QinQ rule configuration method that the present embodiment relates to comprises the following steps:
Step 1, on main control unit 50, create a template for flexible configuration QinQ rule,
Step 2, judge whether to have inputted a selective QinQ rule in this template, if execution step 3, otherwise execution step 5;
Step 3, judge between this selective QinQ rule and existing whole selective QinQ rules in this template whether exist and conflict, if perform step 4, this selective QinQ rule is added to template and performs step 2 if not;
Step 4, abandon this QinQ rule, and perform step 2;
Step 5, the selective QinQ rule in template and the corresponding relation of PON chip 11, PON chip 12, PON chip 13, PON chip 14 are labeled as to binding information;
Step 6, template and binding information are together sent to line chuck 60 through exchange chip 31 and communication port 40;
Step 7, line chuck 60 decompose template, and according to binding information, the selective QinQ rule in template are handed down to corresponding PON chip 11, PON chip 12, PON chip 13, PON chip 14 and carry out through exchange chip 32.
Although more than described the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is limited by appended claims.Those skilled in the art is not deviating under the prerequisite of principle of the present invention and essence, can make various changes or modifications to these execution modes, but these changes and amendment all fall into protection scope of the present invention.
Claims (5)
1. a collocation method for the selective QinQ rule of distributed system, this distributed system includes an OLT equipment, and this OLT equipment comprises that one is provided with line chuck and a main control unit of at least two PON chips, it is characterized in that, includes following steps:
S10, on this main control unit, create a template for flexible configuration QinQ rule;
S20, the whole selective QinQs rule in this template is labeled as to binding information with the corresponding relations of those PON chips;
S30, this template and this binding information are together sent to this line chuck;
S40, this line chuck decompose this template, and according to this binding information, the selective QinQ rule in this template are handed down to corresponding PON chip and carry out.
2. the collocation method of the selective QinQ rule of distributed system as claimed in claim 1, is characterized in that, this S10 is:
S11, on main control unit, create a template for flexible configuration QinQ rule, and judge whether to have inputted a selective QinQ rule in this template, if carry out S12, otherwise carry out S20;
S12, judge between this selective QinQ rule and existing whole selective QinQ rules in this template whether exist and conflict, if execution S13 adds this selective QinQ rule template and carries out S11 if not;
S13, abandon this QinQ rule, and carry out S11.
3. the collocation method of the selective QinQ rule of distributed system as claimed in claim 2, it is characterized in that, described conflict includes: SVLAN difference and CVLAN is identical, SVLAN is different and CVLAN priority is identical, SVLAN is different and EtherType is identical or SVLAN is different and CVLAN is identical with EtherType.
4. the collocation method of the selective QinQ rule of distributed system as claimed in claim 3, is characterized in that, is provided with the first exchange chip on this main control unit, and this main control unit is issued to this line chuck by this first exchange chip by this template.
5. the collocation method of the selective QinQ rule of distributed system as claimed in claim 4, it is characterized in that, on this line chuck, be provided with the second exchange chip, this line chuck, after this template is decomposed, gives by distribution under the selective QinQ rule in template the PON chip that this binding information is corresponding by this second exchange chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310182888.0A CN104168124B (en) | 2013-05-16 | 2013-05-16 | The collocation method of the selective QinQ rule of distributed system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310182888.0A CN104168124B (en) | 2013-05-16 | 2013-05-16 | The collocation method of the selective QinQ rule of distributed system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104168124A true CN104168124A (en) | 2014-11-26 |
CN104168124B CN104168124B (en) | 2017-07-14 |
Family
ID=51911774
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310182888.0A Expired - Fee Related CN104168124B (en) | 2013-05-16 | 2013-05-16 | The collocation method of the selective QinQ rule of distributed system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104168124B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111093121A (en) * | 2019-10-14 | 2020-05-01 | 广东东研网络科技股份有限公司 | Method for automatically configuring ONU QINQ in EPON system |
CN111294269A (en) * | 2018-12-07 | 2020-06-16 | 中国移动通信集团广东有限公司 | Method and device for distributing VLAN (virtual local area network) in home wide service inner layer and outer layer |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075903A (en) * | 2006-05-17 | 2007-11-21 | 中兴通讯股份有限公司 | Method and apparatus for allocating network resource |
US7366171B2 (en) * | 1999-03-17 | 2008-04-29 | Broadcom Corporation | Network switch |
CN101867518A (en) * | 2010-05-24 | 2010-10-20 | 北京星网锐捷网络技术有限公司 | Message forwarding processing method, processing device and equipment for two-layer switching equipment |
CN102316388A (en) * | 2010-07-09 | 2012-01-11 | 中兴通讯股份有限公司 | Flexible QinQ realization method and device for passive optical network system |
CN102325087A (en) * | 2011-09-07 | 2012-01-18 | 中兴通讯股份有限公司 | Method and system for realizing VLAN (Virtual Local Area Network) QinQ |
-
2013
- 2013-05-16 CN CN201310182888.0A patent/CN104168124B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7366171B2 (en) * | 1999-03-17 | 2008-04-29 | Broadcom Corporation | Network switch |
CN101075903A (en) * | 2006-05-17 | 2007-11-21 | 中兴通讯股份有限公司 | Method and apparatus for allocating network resource |
CN101867518A (en) * | 2010-05-24 | 2010-10-20 | 北京星网锐捷网络技术有限公司 | Message forwarding processing method, processing device and equipment for two-layer switching equipment |
CN102316388A (en) * | 2010-07-09 | 2012-01-11 | 中兴通讯股份有限公司 | Flexible QinQ realization method and device for passive optical network system |
CN102325087A (en) * | 2011-09-07 | 2012-01-18 | 中兴通讯股份有限公司 | Method and system for realizing VLAN (Virtual Local Area Network) QinQ |
Non-Patent Citations (2)
Title |
---|
华为: "S8500灵活QINQ特性技术白皮书", 《HTTP://WWW.HUAWEI.COM/CN/PRODUCTS/DATACOMM》 * |
原曦佳: "基于EPON系统的QINQ技术的研究与实现", 《中国优秀硕士学文论文全文数据库信息科技辑》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111294269A (en) * | 2018-12-07 | 2020-06-16 | 中国移动通信集团广东有限公司 | Method and device for distributing VLAN (virtual local area network) in home wide service inner layer and outer layer |
CN111294269B (en) * | 2018-12-07 | 2021-09-21 | 中国移动通信集团广东有限公司 | Method and device for distributing VLAN (virtual local area network) in inner layer and outer layer of home broadband service |
CN111093121A (en) * | 2019-10-14 | 2020-05-01 | 广东东研网络科技股份有限公司 | Method for automatically configuring ONU QINQ in EPON system |
Also Published As
Publication number | Publication date |
---|---|
CN104168124B (en) | 2017-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106656794B (en) | Message transmission method and device | |
CN102301663B (en) | Message processing method and associated devices | |
CN103312611B (en) | Message processing method, device label processing method and equipment | |
CN101631069B (en) | Method, system and equipment for pseudo wire parameter negotiation | |
EP3629530A1 (en) | Method and device for achieving bidirectional segment routing tunnel, storage medium, and apparatus | |
CN103269315B (en) | Label distribution method, device, System and Network equipment | |
CN102724118A (en) | Label distribution method and device | |
CN103828310A (en) | Method, system and equipment for finding link | |
CN107968751B (en) | Information processing method and device | |
CN103501236A (en) | Method and device for generating network control plane logical topology | |
CN103354520B (en) | A kind of method and device of tag processes | |
CN103209125B (en) | A kind of transmission method of label information and equipment | |
CN104243608A (en) | Communication method, cloud management server and virtual switch | |
CN107645391B (en) | Port configuration method and device of interface expansion equipment | |
CN104243298A (en) | Message control method and device | |
CN104168124A (en) | Configuration method of selective QinQ rule of distributed system | |
CN102571615B (en) | Quality of service (QOS) strategy realizing method based on Ethernet over coax (EOC) terminal | |
US20150372871A1 (en) | Resource Management Method and System in Photoelectric Hybrid System | |
CN102130829A (en) | Method, device and system for establishing label switch paths (LSP) | |
CN104683312A (en) | Method and device for negotiating media multiplexing | |
CN105337860A (en) | Method and system for determining transmission path of data packet, and apparatuses | |
CN102014040A (en) | Method and device for issuing traffic engineering properties | |
CN103281244B (en) | A kind of service bearer method and device of multi-protocol label switching network | |
CN105429901A (en) | Uplink data package forwarding method and device, and downlink data package forwarding method and device | |
CN106230730B (en) | Multicast transmission method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20180313 Granted publication date: 20170714 |
|
PD01 | Discharge of preservation of patent | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20210313 Granted publication date: 20170714 |
|
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20210313 Granted publication date: 20170714 |
|
PD01 | Discharge of preservation of patent | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20240313 Granted publication date: 20170714 |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170714 |