CN104168124A - Configuration method of selective QinQ rule of distributed system - Google Patents

Configuration method of selective QinQ rule of distributed system Download PDF

Info

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
Application number
CN201310182888.0A
Other languages
Chinese (zh)
Other versions
CN104168124B (en
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201310182888.0A priority Critical patent/CN104168124B/en
Publication of CN104168124A publication Critical patent/CN104168124A/en
Application granted granted Critical
Publication of CN104168124B publication Critical patent/CN104168124B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

The collocation method of the selective QinQ rule of distributed system
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.
CN201310182888.0A 2013-05-16 2013-05-16 The collocation method of the selective QinQ rule of distributed system Active CN104168124B (en)

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 Active 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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
华为: "S8500灵活QINQ特性技术***", 《HTTP://WWW.HUAWEI.COM/CN/PRODUCTS/DATACOMM》 *
原曦佳: "基于EPON***的QINQ技术的研究与实现", 《中国优秀硕士学文论文全文数据库信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
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
CN109962847B (en) Method and device for encapsulating service function chain message and computer readable storage medium
CN106656794B (en) Message transmission method and device
CN103312611B (en) Message processing method, device label processing method and equipment
EP3629530A1 (en) Method and device for achieving bidirectional segment routing tunnel, storage medium, and apparatus
CN101631069B (en) Method, system and equipment for pseudo wire parameter negotiation
CN103828310A (en) Method, system and equipment for finding link
CN103269315A (en) Label distribution method, device, system and network equipment
CN103354520B (en) A kind of method and device of tag processes
CN103501236A (en) Method and device for generating network control plane logical topology
CN107968751A (en) A kind of information processing method and device
CN103209125B (en) A kind of transmission method of label information and equipment
CN104243608A (en) Communication method, cloud management server and virtual switch
CN104581446A (en) Method and device for supporting direct communication among base stations in PON system
CN107645391B (en) Port configuration method and device of interface expansion equipment
CN104243298A (en) Message control method and device
CN102571615B (en) Quality of service (QOS) strategy realizing method based on Ethernet over coax (EOC) terminal
CN104168124A (en) Configuration method of selective QinQ rule of distributed system
US20150372871A1 (en) Resource Management Method and System in Photoelectric Hybrid System
CN104683312A (en) Method and device for negotiating media multiplexing
CN102130829A (en) Method, device and system for establishing label switch paths (LSP)
CN102014040A (en) Method and device for issuing traffic engineering properties
CN111327527A (en) Flow forwarding method and system, SDN controller and computer readable storage medium
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

Date of cancellation: 20210313

Granted publication date: 20170714

PD01 Discharge of preservation of patent
PP01 Preservation of patent right

Effective date of registration: 20210313

Granted publication date: 20170714

PP01 Preservation of patent right
PD01 Discharge of preservation of patent

Date of cancellation: 20240313

Granted publication date: 20170714

PD01 Discharge of preservation of patent