CN101783765A - 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
CN101783765A
CN101783765A CN200910200775A CN200910200775A CN101783765A CN 101783765 A CN101783765 A CN 101783765A CN 200910200775 A CN200910200775 A CN 200910200775A CN 200910200775 A CN200910200775 A CN 200910200775A CN 101783765 A CN101783765 A CN 101783765A
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.)
Granted
Application number
CN200910200775A
Other languages
Chinese (zh)
Other versions
CN101783765B (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

Landscapes

  • Small-Scale Networks (AREA)

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 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 the method and the Optical Network Terminal that realize 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 Optical Network Terminal configuration, the filtration of VLAN can directly be finished on the PON chip, but in the 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 is 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, 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 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 Optical Network Terminal of data stream filtering is as follows:
Realize the method for data stream filtering in this gigabit passive optical network, it uses the Optical Network Terminal that is connected with local side apparatus, described Optical Network Terminal comprises function of exchange chip and PON functional chip, 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, described system initialization operation may further comprise the steps:
(11) state of function of exchange chip and PON functional chip in the initialization 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 the corresponding filtration vlan number of described each user network port of described 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 by 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 by 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 the match is successful, then the user network port that this downlink data information is passed through to be mated is transmitted operation;
(34), then this downlink data information is directly abandoned if it fails to match.
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) determine 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 the corresponding filtration vlan number of described each user network port of 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, determine 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.
The user network port that downlink data information is passed through to be mated in the method for realization data stream filtering in this gigabit passive optical network is transmitted operation, may further comprise the steps:
(331) the user network port that mated according to downlink data information of described function of exchange chip carries out matching inquiry 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 user network port of being mated.
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.
Combine the QinQ of function of exchange chip and the data flow classification function of PON chip in this gigabit passive optical network in the method for realization data stream filtering and realize that VLAN filters.
Optical Network Terminal in the gigabit passive optical network of realization said method, its main feature is that described Optical Network Terminal comprises:
Initialization module carries out initialization to the function of exchange chip of 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, the user network port that is mated according to downlink data information carries out matching inquiry in described addresses forwarding table, and, select corresponding user network port that downlink data is forwarded according to the pairing MAC Address of user network port of being mated.
Local side apparatus in the Optical Network Terminal in this gigabit passive optical network is the local side optical line terminal equipment.
The method and the Optical Network Terminal that realize data stream filtering in the gigabit passive optical network of this invention have been adopted, owing to wherein having the function of exchange chip and do not possessing under the function situation of filtering based on port vlan at optical network unit (ONT), by being used of PON functional chip and a series of sophisticated functionss of exchange chip, data flow classification function in conjunction with the QinQ and the PON chip of exchange chip, thereby realized filtering based on the VLAN of port, and realized filtering based on the VLAN of port in conjunction with PON functional chip and the peculiar separately function of function of exchange chip, improved the data service ability of ONT greatly, use is efficient and convenient, stable and reliable working performance, improved the range of application of GPON simultaneously, reduced the maintenance cost of software and hardware, has 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 schematic diagram 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, describe in detail especially exemplified by following examples.
See also shown in Figure 1, wherein
Figure G2009102007752D00051
All represent upstream data,
Figure G2009102007752D00052
All represent downlink data; Realize the method for data stream filtering in this gigabit passive optical network, it uses the Optical Network Terminal that is connected with local side apparatus, described Optical Network Terminal comprises function of exchange chip and PON functional chip, 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, described system initialization operation may further comprise the steps:
(11) state of function of exchange chip and PON functional chip in the initialization 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) determine 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 the corresponding filtration vlan number of described each user network port of described 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 determines 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 by 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 by 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 the match is successful, then the user network port that this downlink data information is passed through to be mated is transmitted operation, may further comprise the steps:
(a) the user network port that mated according to downlink data information of described function of exchange chip carries out matching inquiry 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 user network port of being mated;
(34), then this downlink data information is directly abandoned if it fails to match.
Wherein, described local side apparatus is the local side optical line terminal equipment; Combine the QinQ of function of exchange chip and the data flow classification function of PON chip in this gigabit passive optical network in the method for realization data stream filtering and realize that VLAN filters.
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 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, the user network port that is mated according to downlink data information carries out matching inquiry in described addresses forwarding table, and, select corresponding user network port that downlink data is forwarded according to the pairing MAC Address of user network port of being mated.
In the middle of reality was used, the present invention at first provided a kind of method that realizes based on the port vlan filtration in gigabit passive optical network; 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.By 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 as follows:
A kind of realization in gigabit passive optical network may further comprise the steps based on the method for port vlan filtration:
(1) initial phase is configured the 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 fixedly PVID values 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 and 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 by exchange chip is to the PON chip.The PON chip is set up different ethernet data streams according to the ectonexine vlan number, is transmitted to local side apparatus again after ethernet data stream removes outside VLAN number.
(3) downlink data treatment step: all data streams of local side apparatus is transmitted by the first line of a couplet port of exchange chip, by create the 802.1Q function of filtering vlan number and enabling exchange chip 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.
Optical Network Terminal of the present invention, its main feature is: initialization module is configured the 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 fixedly PVID values 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 finishing the configuration of upstream, create on exchange chip and filter vlan number, when downlink data stream coupling vlan number, normally be forwarded to corresponding uni port by target MAC (Media Access Control) address, Pi Pei packet 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 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 fixedly PVID values 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 by 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 by exchange chip is during to the PON chip, the packet outside VLAN that first port gets on number is 901, the outside VLAN of second port 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 that the outside VLAN label is once removed in each ethernet data stream increase is forwarded to local side apparatus more then.
(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 exchange chip has been created the 802.1Q function of filtering vlan number and having 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.As above-mentioned step 2) hypothesis, vlan number 1000 and 1001 is created on exchange chip, downstream data flow has only band vlan number 1000 and 1001 to pass through, and transmits port and then selects based on target MAC (Media Access Control) address.
Should in gigabit passive optical network, realize implementation pattern, as shown in Figure 1 based on the port vlan filter method.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 finished function separately respectively, coordinate operation is finished the function of filtering based on port vlan.Its workflow is as follows: 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 configuration order that receives local side apparatus, as above-mentioned step 2), suppose that it is 1000 that local side apparatus requires first uni port of ONT to filter vlan number, it is that 1001, the n uni ports filtration vlan numbers are 1000+n-1 that second uni port filters vlan number.
Command processing module is created VLAN 1000 according to the configuration requirement of local side at exchange chip, and first line of a couplet port and first uni port of exchange chip is provided with the member of VLAN for this reason; 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, is mapped to GEM Port1 after data flow 1 increases peeling outer layer VLAN tag operational; 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
Figure G2009102007752D00091
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
Upstream Outside VLAN Inner VLAN Action The GEM port numbers
Data flow n ??VLAN?900+n ?VLAN?1000+n-1 Peeling outer layer VLAN label GEM?Port?n
So far, the configuration that ONT needs is finished, downlink data can normally be transmitted according to above-mentioned rule, generally all data streams of local side apparatus can be passed through the transparent transmission of PON chip, first line of a couplet port by exchange chip is transmitted, because exchange chip has been created the 802.1Q function of filtering vlan number and having 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.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.
By 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.
The method and the Optical Network Terminal that realize data stream filtering in the above-mentioned gigabit passive optical network have been adopted, owing to wherein having the function of exchange chip and do not possessing under the function situation of filtering based on port vlan at optical network unit (ONT), by being used of PON functional chip and a series of sophisticated functionss of exchange chip, data flow classification function in conjunction with the QinQ and the PON chip of exchange chip, thereby realized filtering based on the VLAN of port, and realized filtering based on the VLAN of port in conjunction with PON functional chip and the peculiar separately function of function of exchange chip, improved the data service ability of ONT greatly, use is efficient and convenient, stable and reliable working performance, improved the range of application of GPON simultaneously, reduced the maintenance cost of software and hardware, has 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 Optical Network Terminal that is connected with local side apparatus, described Optical Network Terminal comprises function of exchange chip and PON functional chip, 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 the system initialization operation, upstream data handles operation and downlink data is handled operation, described system initialization operation may further comprise the steps:
(11) state of function of exchange chip and PON functional chip in the initialization 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 the corresponding filtration vlan number of described each user network port of described 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 by 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 by 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 the match is successful, then the user network port that this downlink data information is passed through to be mated is transmitted operation;
(34), then this downlink data information is directly abandoned if it fails to match.
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) determine 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 the corresponding filtration vlan number of described each user network port of described 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;
(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.
5. realize the method for data stream filtering in the gigabit passive optical network according to claim 1, 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, determine 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 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 7, it is characterized in that the user network port that described downlink data information is passed through to be mated is transmitted operation, may further comprise the steps:
(331) the user network port that mated according to downlink data information of described function of exchange chip carries out matching inquiry 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 user network port of being mated.
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, combines the QinQ of function of exchange chip and the data flow classification function of PON chip in the described method and realizes that VLAN filters.
12. the Optical Network Terminal in the gigabit passive optical network of realizing the described method of claim 1 is characterized in that described Optical Network Terminal comprises:
Initialization module carries out initialization to the function of exchange chip of 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, the user network port that is mated according to downlink data information carries out matching inquiry in described addresses forwarding table, and, select corresponding user network port that downlink data is forwarded according to the pairing MAC Address of user network port of being mated.
13. the 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 true CN101783765A (en) 2010-07-21
CN101783765B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895427A (en) * 2010-07-23 2010-11-24 中兴通讯股份有限公司 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)
CN105516832A (en) * 2016-01-07 2016-04-20 烽火通信科技股份有限公司 GPON system terminal equipment data QINQ realizing method
CN105681151A (en) * 2016-02-26 2016-06-15 上海斐讯数据通信技术有限公司 Method and system for implementing QinQ, OTL device and electronic device
CN106452591A (en) * 2016-12-07 2017-02-22 深圳市飞鸿光电子有限公司 Flexibly deployed optical module ONT (optical network terminal)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE515861T1 (en) * 2007-07-25 2011-07-15 Nokia Siemens Networks Oy METHOD FOR ADDRESSING ETHERNET STREAMS WITH STRUCTURED GPON GEM PORT ID
CN101374045B (en) * 2007-08-21 2011-07-13 中兴通讯股份有限公司 Method for implementing user port orientation on GPON access equipment
CN101420353B (en) * 2007-10-22 2012-04-18 中兴通讯股份有限公司 Method for supporting virtual private LAN service in Gbit passive optical network system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895427A (en) * 2010-07-23 2010-11-24 中兴通讯股份有限公司 Stream-based virtual local area network processing method and system
WO2012009893A1 (en) * 2010-07-23 2012-01-26 中兴通讯股份有限公司 Flow based processing method and system in virtual local area network
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)
CN105516832A (en) * 2016-01-07 2016-04-20 烽火通信科技股份有限公司 GPON system terminal equipment data QINQ realizing method
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
CN106452591A (en) * 2016-12-07 2017-02-22 深圳市飞鸿光电子有限公司 Flexibly deployed optical module ONT (optical network terminal)
CN106452591B (en) * 2016-12-07 2019-12-24 深圳市飞鸿光电子有限公司 Method for deploying optical modules ONTs (optical network terminals) flexibly deployed

Also Published As

Publication number Publication date
CN101783765B (en) 2012-07-04

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
CN101668238B (en) Method, device and optical network unit for realizing N:1 concourse and 1:N conversion of VLAN in EPON
CN1838627B (en) Method for realizing QinQ access
CN104253735B (en) Optical network unit, communication system and method
CN101453673B (en) Optical network terminal, and packet process method thereof
CN102695103B (en) Business retransmission method and system
CN101867523A (en) Method and device for configuring broadband services in PON (Passive Optical Network) system
CN102271082A (en) Switching apparatus and method for setting up virtual lan
CN101931835A (en) Method and device for realizing VLAN (Virtual Local Area Network) convergence and conversion in EPON (Ethernet Passive Optical Network)
CN104486242B (en) A kind of VLAN centralized Control method and system of EPON networks
RU2007111857A (en) RING NETWORK, COMMUNICATION DEVICE AND OPERATIONAL MANAGEMENT METHOD USED FOR THE RING NETWORK AND COMMUNICATION DEVICE
CN100413281C (en) Method for realizing virtual exchange using QinQ technique
CN101697547B (en) Two-layer forwarding method and system for PW service
CN104243298A (en) Message control method and device
CN104202229B (en) A kind of device for passive optical network OLT QINQ message processing methods and system
CN101883050B (en) A kind of system and method realizing business speed limit
CN103200126A (en) XG-PON system flow management device and method
CN100446503C (en) Enhanced VPN network optimization method and apparatus
CN104135448B (en) Include the interchanger of polymorphic type Ethernet coffret
CN102571615A (en) Quality of service (QOS) strategy realizing method based on Ethernet over coax (EOC) terminal
CN106685788B (en) The chip implementing method of PVLAN under stacking mode
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