CN104168124B - The collocation method of the selective QinQ rule of distributed system - Google Patents
The collocation method of the selective QinQ rule of distributed system Download PDFInfo
- Publication number
- CN104168124B CN104168124B CN201310182888.0A CN201310182888A CN104168124B CN 104168124 B CN104168124 B CN 104168124B CN 201310182888 A CN201310182888 A CN 201310182888A CN 104168124 B CN104168124 B CN 104168124B
- Authority
- CN
- China
- Prior art keywords
- template
- rule
- qinq
- selective
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000000354 decomposition reaction Methods 0.000 claims abstract description 7
- 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
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004080 punching 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
- 230000008092 positive effect Effects 0.000 description 1
- 235000015096 spirit Nutrition 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention discloses a kind of collocation method of the selective QinQ of distributed system rule, the distributed system includes an OLT device, and the OLT device includes the line chuck and a main control unit for being provided with least two PON chips, includes following steps:S10, template of the establishment one for flexible configuration QinQ rules on the main control unit;S20, whole selective QinQs rule in the template is labeled as binding information with the corresponding relations of those PON chips;S30, the template and the binding information together sent to the line chuck;Selective QinQ rule in template is handed down to corresponding PON chips according to the binding information and performed by the template decomposition by S40, the line chuck.Plural bar selective QinQ rule is issued by the form of template, it is to avoid repeat the wasting of resources that transmitting order to lower levels is caused, and then pass through the selective QinQ rule for excluding conflict so that allocative efficiency is improved.
Description
Technical field
The present invention relates to a kind of selective QinQ of distributed system(Selective QinQ, QinQ are multilayer virtual local
Net)The collocation method of rule.
Background technology
In the operator network, VLAN is utilized(VLAN)User is isolated and mark is very limited,
It is only capable of representing 4096 VLAN, in order to further expand VLAN scopes, generates QinQ technologies.
In the prior art, in distributed OLT(Optical line terminal)In device systems, selective QinQ is regular to be issued as one
One order of rule correspondence, the configuration and realization of webmaster on main control unit and line chuck, are deposited between main control unit and line chuck respectively
In transmission channel, rule is final in PON(EPON)Come into force on chip, so when multiple PON chips have identical
During configuration, same rule needs to issue many subcommands in existing method, also, when rules conflict, has issued
Rule must be detected by line chuck, conflicting information then be fed back into main control unit, it is low that this method causes allocative efficiency.
The content of the invention
Present invention solves the technical problem that being to cause repetition transmitting order to lower levels and rule to overcome identical QinQ rules to issue
Allocative efficiency low defect when clashing, and providing one kind can be avoided repeating transmitting order to lower levels, and regular punching can be avoided again
The collocation method of the selective QinQ rule of the prominent poorly efficient distributed system caused.
The present invention is to solve above-mentioned technical problem by following technical proposals:
A kind of collocation method of the selective QinQ rule of distributed system, the selective QinQ rule is different from QinQ rules,
QinQ rules are to add outer layer label based on port, and selective QinQ rule is according to various ways such as message, priority, IP agreements
Data are classified and different VLAN are added(VLAN).The distributed system includes an OLT device, the OLT device
Including the line chuck and a main control unit for being provided with least two PON chips, its feature is to include following steps:
S10, template of the establishment one for flexible configuration QinQ rules on the main control unit;
S20, whole selective QinQs rule in the template believed with the corresponding relations of those PON chips labeled as binding
Breath, i.e. the content of binding information is selective QinQ rule and the corresponding relation of PON chips;
S30, the template and the binding information together sent to the line chuck;
S40, the line chuck issue the selective QinQ rule in the template by the template decomposition, and according to the binding information
To corresponding PON chips and perform.That is, line chuck is first by template decomposition into some selective QinQ rules, then to this
Some selective QinQ rules compare the binding information and are allocated.
Preferably, the S10 is:
S11, template of the establishment one for flexible configuration QinQ rules on main control unit, and judge whether toward defeated in the template
Enter a selective QinQ rule, if performing S12, otherwise perform S20;
S12, judge in selective QinQ rule and the template between existing whole selective QinQs rule with the presence or absence of punching
It is prominent, if performing S13, if selective QinQ rule otherwise is added into template and S11 is performed;
S13, QinQ rules are abandoned, and perform S11.That is, deposit and rejudge whether there are other spirits in the case of a conflict
The input of QinQ rules living.
Preferably, the conflict includes:SVLAN(Outside VLAN)Different and CVLAN(Inner VLAN)Identical, SVLAN is not
With and CVLAN priority is identical, SVLAN is different and EtherType(EtherType)Identical or SVLAN is different and CVLAN and
EtherType is identical.Wherein, SVLAN is by increasing the packet header that Ether frame is stacked, extending a kind of virtual local area of VLAN numbers
Net form state, CVLAN is also a kind of VLAN form for used aloned, and EtherType is one in Ether frame
Field, for indicating the agreement for being applied to frame data field
Preferably, be provided with the first exchange chip on the main control unit, the main control unit is by the exchange chip one by the template
It is issued to the line chuck.That is, complete drawing template establishment on the main control unit, and to all selective QinQs in the template it is regular with it is new defeated
After the selective QinQ rule entered is judged with the presence or absence of conflict, the first exchange chip is recycled to issue the template.
Preferably, being provided with the second exchange chip on the line chuck, the line chuck passes through the friendship after by the template decomposition
Changing chip two gives the binding information corresponding PON chips the lower distribution of selective QinQ rule in template.That is, second exchanges core
Piece here functions as the effect to a distribution selective QinQ rule, and the second exchange chip can't decompose the template in itself.
The present invention positive effect be:Plural bar selective QinQ rule is issued by the form of template, it is to avoid
The wasting of resources that transmitting order to lower levels is caused is repeated, and then by excluding the selective QinQ rule of conflict so that allocative efficiency is obtained
Lifting.
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 regular collocation method of selective QinQ of the distributed system of a preferred embodiment of the present invention.
Embodiment
The present invention is further illustrated below by the mode of embodiment, but does not therefore limit the present invention to described reality
Apply among a scope.
Fig. 1 is the structured flowchart of the distributed system of the present embodiment, as shown in figure 1, OLT device 70 includes main control unit 50
With PON chips 11, PON chips 12, PON chips 13, PON chips 14 are provided with line chuck 60. wherein line chuck 60, it is right respectively
Answer ONU21(ONU is Optical Network Unit, ONT Optical Network Terminal)、ONU22、ONU23、ONU24.Main control unit 50 and line
The communication port 40 for transmitting data is provided between chuck 60.In addition, also being set respectively on main control unit 50 and line chuck 60
There are the exchange chip 31 and exchange chip 32 for transmitting data.Exchange chip 32 and PON chips 11, PON chips 12, PON cores
Piece 13, PON chips 14 are connected.
Wherein, the data that main control unit 50 is handled are issued through exchange chip 31, are transmitted by communication port 40 to line chuck 60,
Data are distributed to PON chips 11, PON chips 12, PON chips 13, PON cores after being handled again through line chuck 60 through exchange chip 32
Piece 14.
Fig. 2 is the flow chart of the regular collocation method of selective QinQ of the distributed system of the present embodiment, as shown in Fig. 2 this
The regular collocation method of selective QinQ that embodiment is related to comprises the following steps:
Step 1, template of the establishment one for flexible configuration QinQ rules on main control unit 50,
Step 2, judge whether to have input a selective QinQ rule toward in the template, if performing step 3, otherwise perform
Step 5;
Step 3, judge between existing whole selective QinQs rule to whether there is in selective QinQ rule and the template
Conflict, if performing step 4, if selective QinQ rule otherwise is added into template and step 2 is performed;
Step 4, QinQ rules are abandoned, and perform step 2;
Step 5, by template selective QinQ rule with PON chips 11, PON chips 12, PON chips 13, PON chips 14
Corresponding relation be labeled as binding information;
Step 6, template and binding information together sent to line chuck 60 through exchange chip 31 and communication port 40;
Step 7, line chuck 60 by template decomposition, and according to binding information by template selective QinQ rule through exchange core
Piece 32 is handed down to corresponding PON chips 11, PON chips 12, PON chips 13, PON chips 14 and performed.
Although the foregoing describing the embodiment of the present invention, it will be appreciated by those of skill in the art that these
It is merely illustrative of, protection scope of the present invention is defined by the appended claims.Those skilled in the art is not carrying on the back
On the premise of principle and essence from the present invention, various changes or modifications can be made to these embodiments, but these are changed
Protection scope of the present invention is each fallen within modification.
Claims (5)
1. a kind of collocation method of the selective QinQ rule of distributed system, the distributed system includes an OLT device, should
OLT device includes the line chuck and a main control unit for being provided with least two PON chips, it is characterised in that include following step
Suddenly:
S10, template of the establishment one for flexible configuration QinQ rules on the main control unit;
S20, whole selective QinQs rule in the template is labeled as binding information with the corresponding relations of those PON chips;
S30, the template and the binding information together sent to the line chuck;
Selective QinQ rule in the template is handed down to pair by S40, the line chuck by the template decomposition, and according to the binding information
The PON chips answered simultaneously are performed.
2. the collocation method of the selective QinQ rule of distributed system as claimed in claim 1, it is characterised in that the S10 is:
S11, template of the establishment one for flexible configuration QinQ rules on main control unit, and judge whether to have input toward in the template
One selective QinQ rule, if performing S12, otherwise performs S20;
S12, judge selective QinQ rule and in the template between existing whole selective QinQs rule with the presence or absence of conflicting, if
It is to perform S13, if selective QinQ rule otherwise is added into template and S11 is performed;
S13, QinQ rules are abandoned, and perform S11.
3. the collocation method of the selective QinQ rule of distributed system as claimed in claim 2, it is characterised in that the conflict
Include:SVLAN is different and CVLAN is identical, SVLAN is different and CVLAN priority is identical, SVLAN is different and EtherType phases
With or SVLAN it 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, it is characterised in that the main control unit
On be provided with the first exchange chip, the template is issued to the line chuck by the main control unit by first exchange chip.
5. the collocation method of the selective QinQ rule of distributed system as claimed in claim 4, it is characterised in that the line chuck
On be provided with the second exchange chip, the line chuck is after by the template decomposition, by second exchange chip by the spirit in template
The lower distribution of QinQ rules living gives the binding information corresponding PON chips.
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 CN104168124A (en) | 2014-11-26 |
CN104168124B true 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) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
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 active Active
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》;20071231;正文第1-7页 * |
基于EPON系统的QINQ技术的研究与实现;原曦佳;《中国优秀硕士学文论文全文数据库信息科技辑》;20121015(第10期);正文第6-19页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104168124A (en) | 2014-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104283791A (en) | Three-layer topology determining method and device in SDN network | |
CN104604182B (en) | Service channel collocation method and optical line terminal and EPON | |
ATE437502T1 (en) | SHARING FORWARDING STATE BETWEEN MULTIPLE TRAFFIC PATHS IN A COMMUNICATIONS NETWORK | |
CN102724118A (en) | Label distribution method and device | |
CN107968751B (en) | Information processing method and device | |
CN108289061B (en) | Service chain topology system based on SDN | |
CN100382531C (en) | Switching in method for virtual special network and realizing apparatus | |
CN103828310A (en) | Method, system and equipment for finding link | |
CN109257266A (en) | A method of PON local area network group is expanded based on VXLAN technology | |
CN102326370B (en) | Message processing method, apparatus and system | |
CN104486242A (en) | VLAN (virtual local area network) centralized control method and system of EPON (Ethernet passive optical network) | |
CN104092684A (en) | Method and device for supporting VPN based on OpenFlow protocol | |
CN107959611A (en) | A kind of method to E-Packet, apparatus and system | |
CN102065018B (en) | Method and system for transmitting message | |
CN105337860B (en) | A kind of the determination method, apparatus and system of data packet transmission path | |
WO2014194725A1 (en) | Packet controlling method and device | |
CN100583887C (en) | Method of implementing resource control on access layer per VC in L2VPN | |
CN104168124B (en) | The collocation method of the selective QinQ rule of distributed system | |
CN103209125A (en) | Label information transmission method and device | |
CN103384220B (en) | A kind of method for building up of Traffic Engineering Label switching path, equipment and system | |
CN108234305A (en) | A kind of control method and equipment of across machine frame link redundancy protection | |
CN104796340A (en) | Multicast data transmission method and device | |
CN105429901A (en) | Uplink data package forwarding method and device, and downlink data package forwarding method and device | |
CN109962937B (en) | Multi-domain multi-layer connection service establishing method and device | |
CN105790984B (en) | Configuration and implementation method of operation maintenance management function and forwarding equipment |
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 |
Effective date of registration: 20180313 Granted publication date: 20170714 |
|
PP01 | Preservation of patent right | ||
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 |