CN101783765B - Method for filtering data stream in Gigabit passive optical network and optical network terminal - Google Patents

Method for filtering data stream in Gigabit passive optical network and optical network terminal Download PDF

Info

Publication number
CN101783765B
CN101783765B CN2009102007752A CN200910200775A CN101783765B CN 101783765 B CN101783765 B CN 101783765B CN 2009102007752 A CN2009102007752 A CN 2009102007752A CN 200910200775 A CN200910200775 A CN 200910200775A CN 101783765 B CN101783765 B CN 101783765B
Authority
CN
China
Prior art keywords
port
optical network
vlan
data information
chip
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
Application number
CN2009102007752A
Other languages
Chinese (zh)
Other versions
CN101783765A (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 Gongjin Communication Technology Co Ltd
Original Assignee
Shanghai Gongjin 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 Gongjin Communication Technology Co Ltd filed Critical Shanghai Gongjin Communication Technology Co Ltd
Priority to CN2009102007752A priority Critical patent/CN101783765B/en
Publication of CN101783765A publication Critical patent/CN101783765A/en
Application granted granted Critical
Publication of CN101783765B publication Critical patent/CN101783765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method for filtering data stream in Gigabit passive optical network (GPON) and an optical network terminal. The method for filtering the data stream comprises a system initialization operation, an uplink data processing operation and a downlink data processing operation; the optical network terminal comprises an initialization module, a set command processing module of an optical line terminal apparatus, an uplink data analyzing and processing module, an uplink data VLAN tag separation processing module, a downlink data analyzing and processing module and a downlink data transfer processing module. The method for filtering the data stream in the Gigabit passive optical network and the optical network terminal are combined with the respective characteristics of a PON functional chip and an exchange functional chip in use to realize the VLAN filtration based on the port, thereby greatly improving the data service ability of ONT, achieving rapid and convenient use process, stable and reliable working performance, simultaneously improving the application range of the GPON and reducing the maintenance cost of software and hardware. The invention has strong commonality, wide application range and great reference value for realizing other data services of the GPON.

Description

Realize the method and the ONT Optical Network Terminal of data stream filtering in the gigabit passive optical network
Technical field
The present invention relates to gigabit passive optical network (GPON) field, particularly gigabit passive optical network (GPON) VLAN processing technology field specifically is meant method and the ONT Optical Network Terminal of realizing data stream filtering in a kind of gigabit passive optical network.
Background technology
The GPON access technology is a kind of brand-new access network technology of PON technology, and it provides descending 2.5Gbps, the bandwidth of up 1.25Gbps, and the data service configuration has very strong flexibility.
Along with the continuous development of GPON, engineering reaches its maturity, and the user's data business configuration generally all need be based on the VLAN of ports filter specific transactions.If the user only needs uni port of ONT Optical Network Terminal configuration, the filtration of VLAN can directly be accomplished on the PON chip, but in the ONT Optical Network Terminal scheme of a plurality of ports, needs the configuration exchange chip, just can have a plurality of user network ports (UNI).
And in the prior art; The difficulty that the realization that the increase exchange chip filters VLAN becomes and complicated; After its difficulty was that ONT increases exchange chip, the data flow of all uni ports all can converge to the first line of a couplet port of exchange chip, and the port of first line of a couplet port and PON is direct-connected; The PON chip just can't be distinguished data flow and from which port come, and more can't realize filtering based on the VLAN of port.Brought certain obstacle so just for the extensive popularization and application of gigabit passive optical network.
Summary of the invention
The objective of the invention is to have overcome above-mentioned shortcoming of the prior art, a kind of method and the ONT Optical Network Terminal that can effectively realize based on the VLAN of port filters, use is efficient and convenient, stable and reliable working performance, the scope of application realize data stream filtering comparatively widely in the gigabit passive optical network is provided.
In order to realize above-mentioned purpose, realize in the gigabit passive optical network of the present invention that the method and the ONT Optical Network Terminal of data stream filtering is following:
Realize the method for data stream filtering in this gigabit passive optical network; It uses the ONT Optical Network Terminal that is connected with local side apparatus; Described ONT Optical Network Terminal comprises function of exchange chip and PON functional chip, and the first line of a couplet port of described function of exchange chip is connected with the second line of a couplet port of described PON functional chip, and described PON functional chip is connected with described local side apparatus; Its main feature is; Described method comprises that system initialization operation, upstream data are handled operation and downlink data is handled operation, and described system initialization operation may further comprise the steps:
(11) state of function of exchange chip and PON functional chip in the initializing optical network terminal;
(12) dispose described function of exchange chip, enable the 802.1Q function of this function of exchange chip;
(13) carry out the batch operation of PVID value for each user network port of described function of exchange chip;
Described upstream data is handled operation, may further comprise the steps:
(21) according to the configuration requirement of local side apparatus, the PVID value and corresponding filtration vlan number of described each user network port of described ONT Optical Network Terminal record;
(22) described function of exchange chip adds the PVID value of pairing user network port and filters vlan number according to receiving the pairing user network port of upstream data information in this upstream data information;
(23) described function of exchange chip arrives this upstream data information the second line of a couplet port of described PON functional chip through described first line of a couplet trunking;
(24) described PON functional chip according in this upstream data information with the PVID value and filter vlan number and set up corresponding Ethernet data stream;
(25) described PON functional chip is transmitted to local side apparatus with this upstream data information;
Described downlink data is handled operation, may further comprise the steps:
(31) described PON functional chip downlink data information that local side apparatus is sent is forwarded to the first line of a couplet port of function of exchange chip through described second line of a couplet port;
(32) described function of exchange chip carries out matching operation to filtration vlan number in the described downlink data information and the pairing filtration vlan number of each user network port;
(33), then this downlink data information is transmitted operation through institute's matching user network port if mate successfully;
(34) if the coupling failure then directly abandons this downlink data information.
Realize in this gigabit passive optical network in the method for data stream filtering for each user network port of function of exchange chip carries out the batch operation of PVID value, may further comprise the steps:
(131) paragraph and the initial PVID value of selection PVID value;
(132) confirm the PVID value of each user network port according to following formula:
PVID value=initial PVID value+user network port numbers.
The paragraph of the selection PVID value in this gigabit passive optical network in the method for realization data stream filtering is specially:
Select one section continuous vlan number to reserve as the PVID value.
The PVID value and corresponding filtration vlan number of described each user network port of ONT Optical Network Terminal record in this gigabit passive optical network in the method for realization data stream filtering may further comprise the steps:
(211) described function of exchange chip is created corresponding filtration vlan number successively according to each user network port;
(212) described function of exchange chip is set up the VLAN filter table, comprising filtering vlan number field and vlan port member field;
(212) described function of exchange chip is set to the pairing vlan port member of corresponding filtration vlan number in the VLAN filter table respectively with described first line of a couplet port and each user network port.
Realize in this gigabit passive optical network creating corresponding filtration vlan number successively according to each user network port in the method for data stream filtering, be specially:
According to the requirement of local side apparatus, confirm corresponding filtration vlan number successively according to each user network port.
Realize in this gigabit passive optical network in the method for data stream filtering according in the upstream data information with PVID value and filter vlan number and set up corresponding Ethernet data and flow, may further comprise the steps:
(241) described PON functional chip is created corresponding Ethernet data stream according to PVID value in each upstream data information and filtration vlan number;
(242) described PON functional chip is mapped on the corresponding GEM port according to the PVID value in each upstream data information.
PON functional chip in this gigabit passive optical network in the method for realization data stream filtering is transmitted to local side apparatus with upstream data information, may further comprise the steps:
(251) described PON functional chip operation that each upstream data information is peeled off PVID value label;
(252) described PON functional chip is forwarded to described local side apparatus with this upstream data information.
Further comprising the steps of after the step (22) in the method for realization data stream filtering in this gigabit passive optical network:
(221) described function of exchange chip adds the source MAC in the upstream data information in the addresses forwarding table to the corresponding source user network port.
Realize in this gigabit passive optical network that downlink data information is transmitted operation through institute's matching user network port in the method for data stream filtering, may further comprise the steps:
(331) described function of exchange chip carries out matching inquiry according to the downlink data information institute matching user network port in described addresses forwarding table;
(332) described function of exchange chip selects corresponding user network port to carry out the forwarding of downlink data information according to the pairing MAC Address of institute's matching user network port.
Local side apparatus in this gigabit passive optical network in the method for realization data stream filtering is the local side optical line terminal equipment.
Combined the QinQ of function of exchange chip and the data flow classification function of PON chip to realize that VLAN filters in this gigabit passive optical network in the method for realization data stream filtering.
ONT Optical Network Terminal in the gigabit passive optical network of realization said method, its main feature is that described ONT Optical Network Terminal comprises:
Initialization module carries out initialization to the function of exchange chip of ONT Optical Network Terminal and each user network port of PON functional chip;
Local side apparatus is provided with command processing module; Configuration order according to the local side apparatus of gigabit passive optical network is created the pairing filtration vlan number of each user network port in the function of exchange chip, and described first line of a couplet port and each user network port are set to the pairing vlan port member of corresponding filtration vlan number respectively;
The upstream data analysis and processing module; Source MAC in the upstream data information is added in the addresses forwarding table with the corresponding source user network port; Create corresponding Ethernet data stream according to PVID value in each upstream data information and filtration vlan number simultaneously, and be mapped on the corresponding GEM port according to the PVID value in each upstream data information;
Upstream data label peeling processing module is peeled off the PVID value label in the upstream data information, and is mapped on the corresponding GEM port and forwards;
The downlink data analysis and processing module is carried out matching operation to filtration vlan number in the downlink data information and the pairing filtration vlan number of each user network port, and is filtered out the downlink data information that can't mate;
Downlink data is transmitted processing module; In described addresses forwarding table, carry out matching inquiry according to the downlink data information institute matching user network port; And, select corresponding user network port that downlink data is forwarded according to the pairing MAC Address of institute's matching user network port.
Local side apparatus in the ONT Optical Network Terminal in this gigabit passive optical network is the local side optical line terminal equipment.
Method and the ONT Optical Network Terminal of realizing data stream filtering in the gigabit passive optical network of this invention have been adopted; Since wherein to optical network unit (ONT) having the function of exchange chip and not possessing under the function situation of filtering, through being used of PON functional chip and a series of sophisticated functionss of exchange chip, in conjunction with the data flow classification function of the QinQ and the PON chip of exchange chip based on port vlan; Thereby realized filtering based on the VLAN of port; And combine PON functional chip and the peculiar separately function of function of exchange chip to realize filtering based on the VLAN of port, and having improved the data service ability of ONT greatly, use is efficient and convenient; Stable and reliable working performance; Improve the range of application of GPON simultaneously, reduced the maintenance cost of software and hardware, had very strong versatility; The scope of application is comparatively extensive, and the realization of other data services of GPON is had stronger reference value.
Description of drawings
Fig. 1 is the course of work sketch map of realizing in the gigabit passive optical network of the present invention based on the method for the data stream filtering of port vlan.
Embodiment
In order more to be expressly understood technology contents of the present invention, the special following examples of lifting specify.
See also shown in Figure 1; Wherein
Figure G2009102007752D00051
all representes upstream data, and
Figure G2009102007752D00052
all representes downlink data; Realize the method for data stream filtering in this gigabit passive optical network; It uses the ONT Optical Network Terminal that is connected with local side apparatus; Described ONT Optical Network Terminal comprises function of exchange chip and PON functional chip, and the first line of a couplet port of described function of exchange chip is connected with the second line of a couplet port of described PON functional chip, and described PON functional chip is connected with described local side apparatus; Wherein, Described method comprises that system initialization operation, upstream data are handled operation and downlink data is handled operation, and described system initialization operation may further comprise the steps:
(11) state of function of exchange chip and PON functional chip in the initializing optical network terminal;
(12) dispose described function of exchange chip, enable the 802.1Q function of this function of exchange chip;
(13) for each user network port of described function of exchange chip carries out the batch operation of PVID value, may further comprise the steps:
(a) paragraph and the initial PVID value of selection PVID value; Select the paragraph of PVID value, be specially:
Select one section continuous vlan number to reserve as the PVID value;
(b) confirm the PVID value of each user network port according to following formula:
PVID value=initial PVID value+user network port numbers;
Described upstream data is handled operation, may further comprise the steps:
(21) according to the configuration requirement of local side apparatus, the PVID value and corresponding filtration vlan number of described each user network port of described ONT Optical Network Terminal record may further comprise the steps:
(a) described function of exchange chip is created corresponding filtration vlan number successively according to each user network port, filters wherein that vlan number normally confirms according to the requirement of local side apparatus;
(b) described function of exchange chip is set up the VLAN filter table, comprising filtering vlan number field and vlan port member field;
(c) described function of exchange chip is set to the pairing vlan port member of corresponding filtration vlan number in the VLAN filter table respectively with described first line of a couplet port and each user network port;
(22) described function of exchange chip adds the PVID value of pairing user network port and filters vlan number according to receiving the pairing user network port of upstream data information in this upstream data information;
(221) described function of exchange chip adds the source MAC in the upstream data information in the addresses forwarding table to the corresponding source user network port;
(23) described function of exchange chip arrives this upstream data information the second line of a couplet port of described PON functional chip through described first line of a couplet trunking;
(24) described PON functional chip according in this upstream data information with the PVID value and filter vlan number and set up corresponding Ethernet data stream, may further comprise the steps:
(a) described PON functional chip is created corresponding Ethernet data stream according to PVID value in each upstream data information and filtration vlan number;
(b) described PON functional chip is mapped on the corresponding GEM port according to the PVID value in each upstream data information;
(25) described PON functional chip is transmitted to local side apparatus with this upstream data information, may further comprise the steps:
(a) described PON functional chip operation that each upstream data information is peeled off PVID value label;
(b) described PON functional chip is forwarded to described local side apparatus with this upstream data information;
Described downlink data is handled operation, may further comprise the steps:
(31) described PON functional chip downlink data information that local side apparatus is sent is forwarded to the first line of a couplet port of function of exchange chip through described second line of a couplet port;
(32) described function of exchange chip carries out matching operation to filtration vlan number in the described downlink data information and the pairing filtration vlan number of each user network port;
(33) if mate successfully, then this downlink data information is transmitted operation through institute's matching user network port, may further comprise the steps:
(a) described function of exchange chip carries out matching inquiry according to the downlink data information institute matching user network port in described addresses forwarding table;
(b) described function of exchange chip selects corresponding user network port to carry out the forwarding of downlink data information according to the pairing MAC Address of institute's matching user network port;
(34) if the coupling failure then directly abandons this downlink data information.
Wherein, described local side apparatus is the local side optical line terminal equipment; Combined the QinQ of function of exchange chip and the data flow classification function of PON chip to realize that VLAN filters in this gigabit passive optical network in the method for realization data stream filtering.
ONT Optical Network Terminal in the gigabit passive optical network of the method that this realization is above-mentioned, comprising:
(1) initialization module carries out initialization to the function of exchange chip of ONT Optical Network Terminal and each user network port of PON functional chip;
(2) local side apparatus is provided with command processing module; Configuration order according to the local side apparatus of gigabit passive optical network is created the pairing filtration vlan number of each user network port in the function of exchange chip, and described first line of a couplet port and each user network port are set to the pairing vlan port member of corresponding filtration vlan number respectively;
(3) upstream data analysis and processing module; Source MAC in the upstream data information is added in the addresses forwarding table with the corresponding source user network port; Create corresponding Ethernet data stream according to PVID value in each upstream data information and filtration vlan number simultaneously, and be mapped on the corresponding GEM port according to the PVID value in each upstream data information;
(4) upstream data label peeling processing module is peeled off the PVID value label in the upstream data information, and is mapped on the corresponding GEM port and forwards;
(5) downlink data analysis and processing module is carried out matching operation to filtration vlan number in the downlink data information and the pairing filtration vlan number of each user network port, and is filtered out the downlink data information that can't mate;
(6) downlink data is transmitted processing module; In described addresses forwarding table, carry out matching inquiry according to the downlink data information institute matching user network port; And, select corresponding user network port that downlink data is forwarded according to the pairing MAC Address of institute's matching user network port.
In the middle of reality was used, the present invention at first provided a kind of method that in gigabit passive optical network, realizes based on the port vlan filtration; Having the ONT of exchange chip, because the data flow of all uni ports converges to exchange chip first line of a couplet port, which port is the data flow that is forwarded to the PON chip can't distinguish from, also just can't realize filtering based on the VLAN of port.Through being used of PON chip and a series of sophisticated functionss of exchange chip, thereby the VLAN that reaches based on port filters.
In order to achieve the above object, technical scheme of the present invention is following:
A kind of in gigabit passive optical network, the realization may further comprise the steps based on the method for port vlan filtration:
(1) initial phase is configured the ONT Optical Network Terminal parameter, and the state of each chip of initialization wherein will enable its 802.1Q function to exchange chip, and distributes different fixed PVID value for each uni port.
(2) upstream data treatment step: according to the configuration requirement of local side apparatus, the uni port of the recording light network terminal number with filter vlan number (be inner VLAN number); Because ONT is made up of PON chip and exchange chip two parts; When all upstream datas all converge to the PON chip from different uni ports; Upstream data can be according to the different PVID of each port, add different vlan numbers after, the first line of a couplet trunking through exchange chip is to the PON chip.The PON chip is set up different ethernet data streams according to the ectonexine vlan number, after ethernet data stream removes outside VLAN number, is transmitted to local side apparatus again.
(3) downlink data treatment step: all data streams of local side apparatus is transmitted through the first line of a couplet port of exchange chip; Filter vlan number and the 802.1Q function that enables exchange chip through creating at exchange chip; Having only coupling to go up the data flow of filtering vlan number can normally forward, and the data flow on the coupling does not directly abandon.
ONT Optical Network Terminal of the present invention, its main feature is: initialization module is configured the ONT Optical Network Terminal parameter, and the state of each chip of initialization wherein will enable its 802.1Q function to exchange chip, and distributes different fixed PVID value for each uni port.When receiving that the local side configuration order requires the particular vlan number filtration to a certain uni port; Then on the PON chip, create a up ethernet data stream earlier; The outside VLAN of this data flow number is PVID; Inner VLAN number is to filter vlan number, and this ethernet data stream is mapped to corresponding GEM Port.Then need increase the operation of a peeling outer layer VLAN label to this ethernet data stream, the strip operation of VLAN is carried out mapping G EM Port after, and is consistent thereby assurance is forwarded to the packet that local side apparatus packet and uni port receive.After accomplishing the configuration of upstream, on exchange chip, create and filter vlan number, when downlink data stream coupling vlan number, normally be forwarded to corresponding uni port through target MAC (Media Access Control) address, the data matching bag does not then directly abandon.
This kind realized may further comprise the steps based on the method for port vlan filtration in gigabit passive optical network:
(1) initial phase is configured the ONT Optical Network Terminal parameter, and the state of each chip of initialization wherein will enable its 802.1Q function to exchange chip, and distributes different fixed PVID value for each uni port.The value of PVID can select one section continuous vlan number as reservation.The uni port number of supposing ONT is N, and with 900 as initial vlan number, then the PVID of first port is 900+1, and the PVID of second port is 900+2, and the PVID of N port is 900+N.
(2) upstream data treatment step: because ONT is made up of PON chip and exchange chip two parts; When all upstream datas all converge to the PON chip from different uni ports; Upstream data can be according to the different PVID of each port; After adding different vlan numbers, the first line of a couplet trunking through exchange chip is to the PON chip.Suppose that it is 1000 that local side apparatus is filtered vlan number to first uni port of ONT configuration requirement; It is 1001 that second uni port filters vlan number; First line of a couplet trunking through exchange chip is during to the PON chip, and the packet outside VLAN that first port gets on number is that the outside VLAN of 901, the second ports number is 902; Their inner VLAN number can not have, and can be arbitrarily yet.That is to say that exchange chip does not filter the vlan number of upstream data, only the data that each port is up add outside VLAN number and are forwarded to first line of a couplet port.The PON chip with outside VLAN number 901 inner VLAN number ethernet data stream of 1000 establishments, and is mapped to GEM Port 1 according to the rule that disposes this moment; Outside VLAN number 902 inner VLAN number 1001 another ethernet data streams of establishment, and be mapped to GEP Port 2.The operation of then the outside VLAN label is once removed in each ethernet data stream increase is forwarded to local side apparatus again.
(3) downlink data treatment step: all data streams of local side apparatus is through the transparent transmission of PON chip; First line of a couplet port by exchange chip is transmitted; Because having created, exchange chip filters vlan number and the 802.1Q function that has enabled exchange chip; Therefore having only coupling to go up the data flow of filtering vlan number can normally forward, and the data flow on the coupling does not directly abandon.Like above-mentioned step 2) hypothesis, vlan number 1000 and 1001 is created on exchange chip, downstream data flow have only the band vlan number 1000 and 1001 could pass through, the forwarding port then select based on target MAC (Media Access Control) address.
Should in gigabit passive optical network, realize implementation pattern based on the port vlan filter method, as shown in Figure 1.In optical network unit of the present invention; Hardware module has PON chip and exchange chip, and software has initialization module and handles local side apparatus configuration order module, and these four modules are accomplished function separately respectively; Coordinate operation is accomplished the function of filtering based on port vlan.Its workflow is following: initialization module is by above-mentioned steps 1) to exchange chip and each uni port initialization of ONT; Handle local side apparatus configuration order module and then wait for the order of reception local side configuration of devices; Like above-mentioned step 2); Suppose that it is that 1000, the second uni ports filtration vlan numbers are that 1001, the n uni ports filtration vlan numbers are 1000+n-1 that local side apparatus requires first uni port of ONT to filter vlan number.
Command processing module is created VLAN 1000 according to the configuration requirement of local side at exchange chip, and the first line of a couplet port of exchange chip is provided with the member of VLAN for this reason with first uni port; Then create VLAN 1001, the first line of a couplet port of exchange chip and second uni port are set to the member of VLAN 1001; Create VLAN 1000+n-1 at last, equally the first line of a couplet port of exchange chip and n uni port are set to the member of VLAN 1000+n-1, and be as shown in table 1.The purpose of creating these VLAN can not only guarantee that the upstream of each uni port all converges to the first line of a couplet port of exchange chip, also can carry out the filtration of vlan number to descending data flow.Command processing module is then added the classifying rules of upstream on the PON chip: the upstream data bag of inner VLAN 1000 outside VLANs 901 is formed a data flow 1, after data flow 1 increases peeling outer layer VLAN tag operational, is mapped to GEM Port1; The upstream data bag of inner VLAN 1001 outside VLANs 902 is formed a data flow 2, and data flow 2 is mapped to GEM Port2 after increasing peeling outer layer VLAN tag operational; The upstream data bag of inner VLAN 1000+n-1 outside VLAN 900+n is formed a data flow n, and data flow n is mapped to GEM Port n after increasing peeling outer layer VLAN tag operational; Above-mentioned data flow is as shown in table 2.
Table 1 exchange chip VLAN filter table
Table 2PON chip upstream
Upstream Outside VLAN Inner VLAN Action The GEM port numbers
Data flow 1 VLAN?901 ?VLAN?1000 Peeling outer layer VLAN label GEM?Port?1
Data flow 2 VLAN?902 ?VLAN?1001 Peeling outer layer VLAN label GEM?Port?2
Data flow n VLAN?900+n ?VLAN?1000+n-1 Peeling outer layer VLAN label GEM?Port?n
So far; The configuration of ONT needs is accomplished, and downlink data can normally be transmitted according to above-mentioned rule, generally can all data streams of local side apparatus be passed through the transparent transmission of PON chip; First line of a couplet port by exchange chip is transmitted; Filter vlan number and the 802.1Q function that has enabled exchange chip because exchange chip has been created, therefore having only coupling to go up the data flow of filtering vlan number can normally forward, and the data flow on the coupling does not directly abandon.Owing to during upstream data bag process exchange chip, source MAC and source uni port are added in the addresses forwarding table, can select corresponding uni port to forward according to the mac address forwarding table of exchange chip so coupling goes up the packet of vlan number.
Through above-mentioned VLAN filter method and ONT device, solved in the GPON access technology, the difficult problem that multiport network terminal data service VLAN filters provides a kind of brand-new solution route to the data service of other types.The present invention is not limited to different uni ports and filters different user vlan number; It is effective equally that identical user vlan number is inserted different uni ports; Different uni ports are not had the VLAN label can adopt processing in the same way yet; Only need all can distinguish port thereby reach any business based on the present invention in the PON chip pins to the independent grouped data stream of the VLAN label of individual layer.
Method and the ONT Optical Network Terminal of realizing data stream filtering in the above-mentioned gigabit passive optical network have been adopted; Since wherein to optical network unit (ONT) having the function of exchange chip and not possessing under the function situation of filtering, through being used of PON functional chip and a series of sophisticated functionss of exchange chip, in conjunction with the data flow classification function of the QinQ and the PON chip of exchange chip based on port vlan; Thereby realized filtering based on the VLAN of port; And combine PON functional chip and the peculiar separately function of function of exchange chip to realize filtering based on the VLAN of port, and having improved the data service ability of ONT greatly, use is efficient and convenient; Stable and reliable working performance; Improve the range of application of GPON simultaneously, reduced the maintenance cost of software and hardware, had very strong versatility; The scope of application is comparatively extensive, and the realization of other data services of GPON is had stronger reference value.
In this specification, the present invention is described with reference to its certain embodiments.But, still can make various modifications and conversion obviously and not deviate from the spirit and scope of the present invention.Therefore, specification and accompanying drawing are regarded in an illustrative, rather than a restrictive.

Claims (13)

1. realize the method for data stream filtering in the gigabit passive optical network; It uses the ONT Optical Network Terminal that is connected with local side apparatus; Described ONT Optical Network Terminal comprises function of exchange chip and passive optical network PON functional chip, and the first line of a couplet port of described function of exchange chip is connected with the second line of a couplet port of described PON functional chip, and described PON functional chip is connected with described local side apparatus; It is characterized in that; Described method comprises that system initialization operation, upstream data are handled operation and downlink data is handled operation, and described system initialization operation may further comprise the steps:
(11) state of function of exchange chip and PON functional chip in the initializing optical network terminal;
(12) dispose described function of exchange chip, enable the 802.1Q function of this function of exchange chip;
(13) carry out the batch operation of port vlan sign PVID value for each user network port of described function of exchange chip;
Described upstream data is handled operation, may further comprise the steps:
(21) according to the configuration requirement of local side apparatus, the PVID value and corresponding filtration vlan number of described each user network port of described ONT Optical Network Terminal record;
(22) described function of exchange chip adds the PVID value of pairing user network port and filters vlan number according to receiving the pairing user network port of upstream data information in this upstream data information;
(23) described function of exchange chip arrives this upstream data information the second line of a couplet port of described PON functional chip through described first line of a couplet trunking;
(24) described PON functional chip according in this upstream data information with the PVID value and filter vlan number and set up corresponding Ethernet data stream;
(25) described PON functional chip is transmitted to local side apparatus with this upstream data information;
Described downlink data is handled operation, may further comprise the steps:
(31) described PON functional chip downlink data information that local side apparatus is sent is forwarded to the first line of a couplet port of function of exchange chip through described second line of a couplet port;
(32) described function of exchange chip carries out matching operation to filtration vlan number in the described downlink data information and the pairing filtration vlan number of each user network port;
(33), then this downlink data information is transmitted operation through institute's matching user network port if mate successfully;
(34) if the coupling failure then directly abandons this downlink data information.
2. realize the method for data stream filtering in the gigabit passive optical network according to claim 1, it is characterized in that, described for each user network port of function of exchange chip carries out the batch operation of PVID value, may further comprise the steps:
(131) paragraph and the initial PVID value of selection PVID value;
(132) confirm the PVID value of each user network port according to following formula:
PVID value=initial PVID value+user network port numbers.
3. realize the method for data stream filtering in the gigabit passive optical network according to claim 2, it is characterized in that the paragraph of described selection PVID value is specially:
Select one section continuous vlan number to reserve as the PVID value.
4. realize the method for data stream filtering in the gigabit passive optical network according to claim 1, it is characterized in that the PVID value and corresponding filtration vlan number of described each user network port of described ONT Optical Network Terminal record may further comprise the steps:
(211) described function of exchange chip is created corresponding filtration vlan number successively according to each user network port;
(212) described function of exchange chip is set up the VLAN filter table, comprising filtering vlan number field and vlan port member field;
(213) described function of exchange chip is set to the pairing vlan port member of corresponding filtration vlan number in the VLAN filter table respectively with described first line of a couplet port and each user network port.
5. realize the method for data stream filtering in the gigabit passive optical network according to claim 4, it is characterized in that, describedly create corresponding filtration vlan number successively, be specially according to each user network port:
According to the requirement of local side apparatus, confirm corresponding filtration vlan number successively according to each user network port.
6. realize the method for data stream filtering in the gigabit passive optical network according to claim 1, it is characterized in that, described according in the upstream data information with PVID value and filter vlan number and set up corresponding Ethernet data and flow, may further comprise the steps:
(241) described PON functional chip is created corresponding Ethernet data stream according to PVID value in each upstream data information and filtration vlan number;
(242) described PON functional chip is mapped on the corresponding GPON message encapsulation format GEM port according to the PVID value in each upstream data information.
7. realize the method for data stream filtering in the gigabit passive optical network according to claim 1, it is characterized in that described PON functional chip is transmitted to local side apparatus with upstream data information, may further comprise the steps:
(251) described PON functional chip operation that each upstream data information is peeled off PVID value label;
(252) described PON functional chip is forwarded to described local side apparatus with this upstream data information.
8. according to the method that realizes data stream filtering in the described gigabit passive optical network of claim 1, it is characterized in that described step (22) back is further comprising the steps of:
(221) described function of exchange chip adds the source MAC in the upstream data information in the addresses forwarding table to the corresponding source user network port.
9. according to the method that realizes data stream filtering in the described gigabit passive optical network of claim 8, it is characterized in that described downlink data information is transmitted operation through institute's matching user network port, may further comprise the steps:
(331) described function of exchange chip carries out matching inquiry according to the downlink data information institute matching user network port in described addresses forwarding table;
(332) described function of exchange chip selects corresponding user network port to carry out the forwarding of downlink data information according to the pairing MAC Address of institute's matching user network port.
10. according to the method that realizes data stream filtering in each described gigabit passive optical network in the claim 1 to 9, it is characterized in that described local side apparatus is the local side optical line terminal equipment.
11. the method according to realizing data stream filtering in each described gigabit passive optical network in the claim 1 to 9 is characterized in that, has combined the QinQ of function of exchange chip and the data flow classification function of PON chip to realize that VLAN filters in the described method.
12. the ONT Optical Network Terminal in the gigabit passive optical network of realizing the described method of claim 1 is characterized in that described ONT Optical Network Terminal comprises:
Initialization module carries out initialization to the function of exchange chip of ONT Optical Network Terminal and each user network port of PON functional chip;
Local side apparatus is provided with command processing module; Configuration order according to the local side apparatus of gigabit passive optical network is created the pairing filtration vlan number of each user network port in the function of exchange chip, and described first line of a couplet port and each user network port are set to the pairing vlan port member of corresponding filtration vlan number respectively;
The upstream data analysis and processing module; Source MAC in the upstream data information is added in the addresses forwarding table with the corresponding source user network port; Create corresponding Ethernet data stream according to PVID value in each upstream data information and filtration vlan number simultaneously, and be mapped on the corresponding GEM port according to the PVID value in each upstream data information;
Upstream data label peeling processing module is peeled off the PVID value label in the upstream data information, and is mapped on the corresponding GEM port and forwards;
The downlink data analysis and processing module is carried out matching operation to filtration vlan number in the downlink data information and the pairing filtration vlan number of each user network port, and is filtered out the downlink data information that can't mate;
Downlink data is transmitted processing module; In described addresses forwarding table, carry out matching inquiry according to the downlink data information institute matching user network port; And, select corresponding user network port that downlink data is forwarded according to the pairing MAC Address of institute's matching user network port.
13. the ONT Optical Network Terminal in the gigabit passive optical network according to claim 12 is characterized in that, described local side apparatus is the local side optical line terminal equipment.
CN2009102007752A 2009-12-25 2009-12-25 Method for filtering data stream in Gigabit passive optical network and optical network terminal Active CN101783765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102007752A CN101783765B (en) 2009-12-25 2009-12-25 Method for filtering data stream in Gigabit passive optical network and optical network terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102007752A CN101783765B (en) 2009-12-25 2009-12-25 Method for filtering data stream in Gigabit passive optical network and optical network terminal

Publications (2)

Publication Number Publication Date
CN101783765A CN101783765A (en) 2010-07-21
CN101783765B true CN101783765B (en) 2012-07-04

Family

ID=42523588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102007752A Active CN101783765B (en) 2009-12-25 2009-12-25 Method for filtering data stream in Gigabit passive optical network and optical network terminal

Country Status (1)

Country Link
CN (1) CN101783765B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895427B (en) * 2010-07-23 2014-08-13 中兴通讯股份有限公司 Stream-based virtual local area network processing method and system
CN102394832A (en) * 2011-12-07 2012-03-28 太仓市同维电子有限公司 Gigabit-capable passive optical network (GPON) terminal equipment based on QinQ mode and message forwarding method
CN102647329A (en) * 2012-05-09 2012-08-22 上海市共进通信技术有限公司 Method for achieving operating control of terminal services based on frequent pattern (FP) rule by optical network unit (ONU) in gigabit passive optical network (GPON)
CN105516832B (en) * 2016-01-07 2019-01-15 烽火通信科技股份有限公司 The implementation method of terminal device data QINQ in a kind of GPON system
CN105681151A (en) * 2016-02-26 2016-06-15 上海斐讯数据通信技术有限公司 Method and system for implementing QinQ, OTL device and electronic device
CN106452591B (en) * 2016-12-07 2019-12-24 深圳市飞鸿光电子有限公司 Method for deploying optical modules ONTs (optical network terminals) flexibly deployed

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2019519A1 (en) * 2007-07-25 2009-01-28 Nokia Siemens Networks Oy Method for addressing ethernet streams with a structured GPON GEM Port ID
CN101374045A (en) * 2007-08-21 2009-02-25 中兴通讯股份有限公司 Method for implementing user port orientation on GPON access equipment
CN101420353A (en) * 2007-10-22 2009-04-29 中兴通讯股份有限公司 The method of virtual support private LAN service in the Gbit passive optical network system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2019519A1 (en) * 2007-07-25 2009-01-28 Nokia Siemens Networks Oy Method for addressing ethernet streams with a structured GPON GEM Port ID
CN101374045A (en) * 2007-08-21 2009-02-25 中兴通讯股份有限公司 Method for implementing user port orientation on GPON access equipment
CN101420353A (en) * 2007-10-22 2009-04-29 中兴通讯股份有限公司 The method of virtual support private LAN service in the Gbit passive optical network system

Also Published As

Publication number Publication date
CN101783765A (en) 2010-07-21

Similar Documents

Publication Publication Date Title
CN101783765B (en) Method for filtering data stream in Gigabit passive optical network and optical network terminal
US11509538B2 (en) Network interconnect as a switch
CN101313533B (en) Optical network terminal and packet process method
CN101867520B (en) Method for exchanging data between board cards in distribution type system
CN104320270B (en) A kind of elastic optical network control system and method based on SDN frameworks
CN101668238B (en) Method, device and optical network unit for realizing N:1 concourse and 1:N conversion of VLAN in EPON
CN105323137B (en) Service data transmission method and device
CN102695103B (en) Business retransmission method and system
CN102271082A (en) Switching apparatus and method for setting up virtual lan
CN101867523A (en) Method and device for configuring broadband services in PON (Passive Optical Network) system
CN103023769B (en) ONU realizes the method for L 2 broadcast bag and unknown bag forwarding
CN102355610A (en) Method for implementing circuit identification in optical network unit (ONU) system based on EOC (Ethernet over Coaxial cable)
RU2007111857A (en) RING NETWORK, COMMUNICATION DEVICE AND OPERATIONAL MANAGEMENT METHOD USED FOR THE RING NETWORK AND COMMUNICATION DEVICE
CN108260032A (en) The method that service virtual port is realized in GPON-OLT systems
CN109639552A (en) A kind of three-layer forwarding method and device
CN103701679A (en) VLAN (virtual local area network) conversion implementation method
CN101697547B (en) Two-layer forwarding method and system for PW service
CN100413281C (en) Method for realizing virtual exchange using QinQ technique
CN103200126B (en) XG-PON system flow management device and method
CN100446503C (en) Enhanced VPN network optimization method and apparatus
CN101883050B (en) A kind of system and method realizing business speed limit
CN104202229B (en) A kind of device for passive optical network OLT QINQ message processing methods and system
CN106572035A (en) SDN switch
CN103236992B (en) The method realizing the interconnection of rack system backboard
CN103107961B (en) For the EPON switching chip port collocation method of VLAN

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant