CN101227752A - Peer to peer communicating method of gigabit passive optical network - Google Patents

Peer to peer communicating method of gigabit passive optical network Download PDF

Info

Publication number
CN101227752A
CN101227752A CNA2008100081361A CN200810008136A CN101227752A CN 101227752 A CN101227752 A CN 101227752A CN A2008100081361 A CNA2008100081361 A CN A2008100081361A CN 200810008136 A CN200810008136 A CN 200810008136A CN 101227752 A CN101227752 A CN 101227752A
Authority
CN
China
Prior art keywords
onu
vlan
information
olt
communication port
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
CNA2008100081361A
Other languages
Chinese (zh)
Other versions
CN101227752B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008100081361A priority Critical patent/CN101227752B/en
Publication of CN101227752A publication Critical patent/CN101227752A/en
Application granted granted Critical
Publication of CN101227752B publication Critical patent/CN101227752B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for communicating peer to peer in gigabit-capable passive optical networks, which comprises: building one or a plurality of P2P communication channels which are used for communicating peer to peer between an optical line terminal OLT and an optical network terminal ONT or an optical network unit ONU and transmitting service flows which respectively need carrying out the P2P communication on the OLT and ONT or ONU on the built P2P communication channels. The invention can realize that the P2P communication is carried out between each ONT or ONU under the OLT in a GPON system, data streams do not need transmitting to a higher layer interface or to public networks such as a metropolitan area network or a backbone network, unnecessary wideband occupancies are avoided, and simultaneously the safety of data can be guaranteed.

Description

A kind of peer-to-peer communications method of gigabit passive optical network
Technical field
The present invention relates to the network system field, relate in particular to peer-to-peer communications (P2P) method of a kind of gigabit passive optical network (GPON).
Background technology
Because at PON (EPON, Passive Optical Networks) a common OLT (optical line terminal) passes through optical distribution network (ODN in the system, Optical Distribution Network) connects a plurality of ONT (Optical Network Terminal)/ONU (optical network unit), generally there is 1: 32,1: 64 or 1: 128 etc., usually adopt tree, adopt the communication mode of point, promptly communicate between OLT and the ONT/ONU to multiple spot.
At present, (International Telecommunications Union-T) makes regulation to the point of GPON to communicating by letter of multiple spot (OLT with ONT between) in G.984.1-G.984.3 at ITU-T, adopt ATM (asynchronous transfer mode) or GEM (G-PON Encapsulation Mode) mode to encapsulate, load (for example, ethernet frame etc.) is packaged into ATM or GEM frame.For the GEM mode, the frame that encapsulation adopts the GEM frame pattern to delimit.At down direction, the GEM frame is by the carrying of GEM module and deliver to all ONU, downlink frame is filtered according to 12 bit Port_ID (port-mark) values that each frame carries in ONU framing sublayer, extract and receive one's own downlink information, and be sent to GEM client process process and be for further processing, extract effective load.For the ATM mode, also be to adopt basic identical mode, the frame that adopts the ATM frame pattern to delimit.At down direction, the ATM frame is by the atm module carrying and deliver to all ONU, VPI/VCI (VCI/VPI) value that carry according to each frame ONU framing sublayer is filtered downlink frame, extract and receive one's own downlink information, and be sent to ATM client process process and be for further processing, extract effective load.At up direction, GEM/ATM stream is carried by one or more T-CONT (transmission container).After OLT receives the stream related with T-CONT, frame can be forwarded to GEM/ATM TC adapter, deliver to the GEM/ATM client then, extract and assemble its payload frame according to Port_ID that carries in the frame or vpi/vci value, and then further handle.For a plurality of Port_ID or VPI/VCI passage can be arranged between each OLT and the ONU, each passage is handled its data flow independently.
For upstream data, after the OLT side extracts its load, the assembling framing, for example behind the ethernet frame, how specified in more detail is not follow-up in the GPON standard handles.Common implementation method is, frame is continued up to transmit, and delivers to more upper strata, the switch of public networks such as metropolitan area network or even backbone network, and router is further handled.But in the application of reality, there are some such users, the big customer of some enterprise-levels particularly, in same place a plurality of offices are arranged, apart from each other between these offices might be at a distance of tens kilometers, need mutual communication, data traffic may be very big, and oneself set up a local area network (LAN), the high again also little reality of cost.Can utilize the PON system of operator, adopt the P2P mode to help these big customers to set up internal lan, also need to guarantee these big customers' data security certainly.Like this, will save first line of a couplet bandwidth, and if the first line of a couplet break down and also can not influence these big customer's internal office work information, will improve big customer's satisfaction.Present way is, do not allow direct communication between the ONU, must forward the data to the interface on upper strata more, more the equipment such as switch, router on upper strata is controlled.Also in the GPON system, directly do not carry out the technical scheme of P2P communication at present between each ONT/ONU.
Summary of the invention
Technical problem to be solved by this invention provides a kind of method of peer-to-peer communications of gigabit passive optical network, can be implemented in and directly carry out P2P communication in the GPON system under the OLT between each ONT/ONU, data flow does not need to be forwarded to the interface on upper strata more or to public networks such as metropolitan area network or even backbone networks, avoid taking unnecessary bandwidth, guarantee the safety of data simultaneously.
In order to address the above problem, the invention provides a kind of method of peer-to-peer communications of gigabit passive optical network, may further comprise the steps,
A, between optical line terminal OLT and Optical Network Terminal ONT/ optical network unit ONU, set up the one or more P2P communication port that is used for peer-to-peer communications;
B, need to carry out the Business Stream that P2P communicates by letter separately, on the P2P of described foundation communication port, transmit on OLT and the ONT/ONU.
Further, said method also can comprise, comprise before the described step a, on OLT, set up P2PONU configuration set table or P2P ONT configuration set table and/or P2P passage virtual LAN VLAN allocation list and/or P2P access port virtual local area network identifiers PVID/TAG/UNTAG allocation list and/or OLT side addresses forwarding table and/or P2P ONU side addresses forwarding table or P2P ONT side addresses forwarding table;
And certain ONT/ONU is set allows to carry out P2P communication, in this ONT/ONU adding group, allow to adopt between any two P2P to communicate by letter between all ONT/ONU in this group.
Further, said method can comprise that also in the described ONT/ONU adding group, described group comprises one or more groups, and whole ONT/ONU is at same group or in a plurality of groups.
Further, said method can comprise that also described P2P ONU configuration set table or P2P ONT configuration set table comprise, the information of group #, OLT/ONU numbering or OLT/ONT numbering;
Described P2P passage VLAN allocation list comprises, the information of OLT/ONU numbering or OLT/ONT numbering, gap marker, VLAN;
Described P2P passage PVID/TAG/UNTAG allocation list comprises, the information of OLT/ONU numbering or OLT/ONT numbering, gap marker, VLAN, TAG/UNTAG;
Described OLT side addresses forwarding table comprises, the information of VLAN, gap marker, media access control MAC address, source, P2P sign, ageing time;
Described P2P ONU side addresses forwarding table or P2P ONT side addresses forwarding table comprise VLAN, gap marker, source MAC, the information of change time.
Further, said method also can comprise, also comprises among the described step a, in the OLT side, the P2P communication port of described foundation is joined in the vlan domain, and wherein, the communication port of the P2P of this foundation is used for its professional forwarding, study; Described vlan domain comprises one or more, and all P2P communication ports of foundation are at same vlan domain or in a plurality of vlan domains.
Further, said method also can comprise, among the described step b,, may further comprise the steps for handling at the Business Stream of the up P2P communication of OLT side,
Step 300, receive the Business Stream frame from the P2P communication port, extract the information of P2P communication port, the information of this P2P communication port comprises the information of ONU ID, gap marker, target MAC (Media Access Control) address, source MAC, VLAN;
Step 310, judge whether target MAC (Media Access Control) address is broadcast address, if then execution in step 320, otherwise, execution in step 380;
Step 320, according to the ONU ID that extracts, search at P2P ONU configuration set table whether this ONU other ONU are on the same group arranged, if then execution in step 330, otherwise, abandon this Business Stream frame;
Step 330, obtain the vlan information of Business Stream frame;
Step 340, according to the ONU ID, gap marker and the vlan information that extract, in P2P passage VLAN allocation list, search the vlan information that whether has its coupling, if then execution in step 350, otherwise, abandon this Business Stream frame;
Step 350, in P2P passage VLAN allocation list, search the every other ONU ID and the gap marker that whether there are the corresponding vlan information that extracts of VLAN, if then execution in step 360, otherwise, abandon this Business Stream frame;
Step 360, according to the TAG/UNTAG information in the P2P passage PVID/TAG/UNTAG allocation list, determine whether to remove its VLAN, then described Business Stream frame is directly transmitted on the P2P communication port of all ONU that find and gap marker;
Step 370, according to the information of the VLAN, gap marker and the source MAC that extract, search OLT side addresses forwarding table, if do not have this information in the OLT side addresses forwarding table, then add this information record, sign is set to P2P; If exist, then upgrade the ageing time information of described P2P communication port in OLT side addresses forwarding table, process ends;
Step 380, search OLT side addresses forwarding table, judge VLAN and source MAC that whether the VLAN that extracts and target MAC (Media Access Control) address equal other certain bar record in this OLT side addresses forwarding table, if then execution in step 390, otherwise, execution in step 320;
Step 390, search P2P passage VLAN allocation list, obtain the ONU of described P2P communication port, whether the ONU ID that judgement is extracted in the information of ONU that P2P passage VLAN allocation list obtains and P2P communication port is in same ONU organizes, if, then execution in step 400, otherwise, abandon this Business Stream frame;
Behind step 400, the processing VLAN, described Business Stream frame is directly transmitted on the P2P communication port between described ONU and the OLT;
Step 410, according to the information of the VLAN, gap marker and the source MAC that extract, search OLT side addresses forwarding table, if there is not this information in OLT side addresses forwarding table, then add this information record, the P2P identification information is set to P2P; If exist, then upgrade the ageing time information of described P2P communication port at OLT side addresses forwarding table.
Further, said method also can comprise, also comprises in the described step 330, if described Business Stream frame does not have vlan information, then uses the PVID value in the P2P passage PVID/TAG/UNTAG allocation list to insert its vlan information;
Also comprise in the described step 380,, then use the PVID value in the P2P passage PVID/TAG/UNTAG allocation list to insert its vlan information if described Business Stream frame does not have vlan information;
Handle VLAN in the described step 400 and comprise that the TAG/UNTAG information according in the P2P passage PVID/TAG/UNTAG allocation list determines whether to remove its VLAN;
Also comprise in the described step 400,, revise the ageing time information of described P2P communication port when after successfully transmitting described Business Stream frame on the P2P communication port.
Further, said method also can comprise, also is included in the processing that the OLT side is carried out self study among the described step b, may further comprise the steps,
Step 510, on the non-P2P communication port of an ONU receive the Business Stream frame of up direction the time, check non-OLT side addresses forwarding table, this non-OLT side addresses forwarding table comprises the information of ONUID, VLAN and source MAC at least, whether the vlan information of the Business Stream frame that inspection receives and target MAC (Media Access Control) address be identical with record in this non-OLT side addresses forwarding table, if, then execution in step 520, otherwise, handle this Business Stream frame by normal non-P2P mode;
If the ONU in the described non-OLT side addresses forwarding table of step 520 is the 2nd ONU, obtain the information of these two ONU ID, VLAN, then according to the information in the P2P ONU configuration set table, check that these two ONU are whether in same ONU group, if, then execution in step 530, otherwise, handle this Business Stream frame by normal non-P2P mode;
Step 530, directly described Business Stream frame is transmitted on the P2P of the 2nd ONU and its gap marker communication port;
Step 540, the information of the source MAC of VLAN, an ONU is added in the OLT side addresses forwarding table, perhaps revise P2P identification information and the gap marker information of described P2P communication port at OLT side addresses forwarding table, wherein gap marker information is the gap marker of the P2P communication port of an ONU.
Further, said method also can comprise, among the described step b, at down direction, the Business Stream of the P2P communication on the ONU is handled, and adds P2P ONU side addresses forwarding table to by the information of the VLAN in the Business Stream that extracts the P2P communication port, source MAC and realizes.
Further, said method also can comprise, among the described step b, for at up direction, the Business Stream of the P2P communication on the ONU is handled, comprise, on ONU according to the information of uni port, VLAN, MAC Address, IP address, determine Business Stream be by the P2P communication port also right and wrong P2P communication port send to OLT;
Perhaps determine whether and to send to OLT by the P2P communication port by searching P2P ONU side addresses forwarding table;
Perhaps send to OLT by P2P and non-P2P communication port simultaneously for uncertain data flow.
Compared with prior art, use the present invention, can be implemented in and directly carry out P2P communication under the GPON OLT between each ONT/ONU, data flow does not need to be forwarded to the more interface on upper strata, perhaps arrive public networks such as metropolitan area network or even backbone network, avoid taking unnecessary bandwidth, also alleviated the restriction on the bandwidth when ONT/ONU communicates each other.And the first line of a couplet breaks down also can not have influence on following user's, particularly some enterprise-levels big customer.Some users', particularly big customer satisfaction can be improved like this, the multiple demand of operator can also be supported.
Description of drawings
Fig. 1 is the flow chart of the peer-to-peer communications method of gigabit passive optical network in the specific embodiment of the invention;
Fig. 2 is the flow chart of handling at the Business Stream of the up P2P communication of OLT side in the specific embodiment of the invention;
Fig. 3 is the flow chart that carries out the processing procedure of self study in the specific embodiment of the invention in the OLT side.
Embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments.
On OLT, set up many (perhaps one) table and comprise following information at least:
Table 1:P2P ONU configuration set table or P2P ONT configuration set table
Group # OLT/ONU (ONT) numbering
Table 2:P2P passage VLAN allocation list
OLT/ONU (ONT) numbering Gap marker VLAN
Table 3:P2P passage PVID (port virtual local area network identifiers)/TAG/UNTAG allocation list
OLT/ONU (ONT) numbering Gap marker PVID TAG/UNTAG
Table 4:OLT side addresses forwarding table
VLAN Gap marker Source MAC (medium access control) address The P2P sign Ageing time Group number (it is just effective that P2P is designated TRUE)
On ONT, set up one (perhaps many) table and comprise following information at least:
Table 5:P2P ONU side addresses forwarding table or P2P ONT side addresses forwarding table
VLAN Gap marker Source MAC Ageing time
Wherein gap marker can be GEM PORT ID under the GEM pattern or the VPI/VCI under the ATM pattern.
Main design of the present invention is: at the communication port that allows to set up on the ONT/ONU that supports P2P to communicate by letter between (perhaps many) OLT and the ONT/ONU, be mainly used in the transmission of P2P Business Stream, on OLT and the ONT/ONU separately by similar bridge mode on the P2P passage, broadcast/learn/transmit Business Stream, as shown in Figure 1, specifically may further comprise the steps
Step 101 is provided with certain ONT/ONU and allows to carry out P2P communication, and this ONT/ONU is added in certain group, allows to adopt between any two P2P communicate by letter (also all ONT/ONU at same group) between all ONT/ONU in this group;
For example, certain OLTx1/ONUx1 is set allows to carry out P2P communication (being not limited only to this certainly), promptly in table 1 (P2P ONU configuration set table), add or amendment record; Suppose only to have a record in original this table, group # is: 1, comprise OLTx2/ONUx2, OLTx3/ONUx3;
Allow OLTx1/ONUx1, OLTx2/ONUx2 carries out P2P communication between the OLTx3/ONUx3, then revises group # and be 1 be recorded as, and ONU is numbered: OLTx1/ONUx1, and OLTx2/ONUx2, OLTx3/ONUx3, promptly organizing 1, to comprise ONU be x1/x1, x2/x2, x3/x3;
Allow OLTx1/ONUx1, OLTx4/ONUx4 carries out P2P communication between the OLTx5/ONUx5, then increase a new record, group # is: 2, and ONU is numbered: OLTx1/ONUx1, OLTx4/ONUx4, OLTx5/ONUx5, promptly organizing 2, to comprise ONU be x1/x1, x4/x4, x5/x5.
Step 102, (normally webmaster) send message to OLT and ONT/ONU, set up (perhaps many) P2P communication port between notice OLT and the ONT/ONU, are used for P2P communication;
Set up the bi-directional communication channels between OLT and the ONT/ONU, be mainly used in the P2P business that transmits between the ONT/ONU, and this communication port of notice ONT/ONU is mainly used in the P2P business that transmits.
Step 103 adds (but also all P2P communication ports are at same vlan domain) in certain VLAN (VLAN) territory with the P2P communication port of described foundation;
In the OLT side, the P2P communication port of described foundation is joined in some vlan domain, be mainly used in its professional forwarding, study etc., i.e. allocation list 2 (P2P passage VLAN allocation list);
And then the PVID (port virtual local area network identifiers) of the communication port of this foundation is set, be used for handling uplink service stream frame not with (promptly add VLAN at this passage automatically in inside for the Business Stream with TAG not, its value equals PVID) of TAG sign; And then the attribute of port virtual local area network identifiers that the P2P communication port of described foundation is set is TAG or UNTAG, whether be used for the downstream service flow frame needs to remove TAG (promptly, if TAG sign, then descending needs are with the VLAN sign, if be UNTAG, then need to remove its VLAN), i.e. allocation list 3 (P2P passage PVID/TAG/UNTAG allocation list);
After PVID is set PVID is added in the table 2 (P2P passage VLAN allocation list) automatically, wherein VLAN equals its PVID value.
Step 104, determining needs to carry out the Business Stream that P2P communicates by letter on OLT and the ONT/ONU separately, then this Business Stream is transmitted on the P2P of described foundation communication port.
Wherein, the processing of the Business Stream that OLT communicates by letter with P2P on the ONU comprises following two parts:
First, the Business Stream of the P2P communication on OLT is handled
Business Stream in the up P2P communication of OLT side is handled, as shown in Figure 2, may further comprise the steps,
Step 300, receive the Business Stream frame from the P2P communication port;
Extract the information of P2P communication port, comprise ONU ID, gap marker, DA (target MAC (Media Access Control) address), information such as SA (source MAC), VLAN.
Step 310, judge whether DA is broadcast address, if then execution in step 320, otherwise, execution in step 380;
If DA is not a broadcast address, then DA is a unicast address.
Step 320, according to the ONU ID that extracts, search at table 1 (P2P ONU configuration set table) whether this ONU other ONU are on the same group arranged, if then execution in step 330, otherwise, abandon this Business Stream frame;
If there is not other ONU information, then abandon this Business Stream frame.
Step 330, obtain the vlan information of Business Stream frame;
If described Business Stream frame does not have vlan information, then use the PVID value in the table 3 (P2P passage PVID/TAG/UNTAG allocation list) to insert its vlan information.
Step 340, according to the ONU ID, gap marker and the vlan information that extract, search the vlan information that whether has its coupling at table 2 (P2P passage VLAN allocation list), if then execution in step 350, otherwise, abandon this Business Stream frame;
If do not have the vlan information of coupling, then abandon this Business Stream frame.
Step 350, in table 2 (P2P passage VLAN allocation list), search the every other ONU ID and the gap marker that whether there are the corresponding vlan information that extracts of VLAN, if then execution in step 360, otherwise, abandon this Business Stream frame;
Step 360, according to the TAG/UNTAG information in the table 3 (P2P passage PVID/TAG/UNTAG allocation list), determine whether to remove its VLAN, then described Business Stream frame is directly transmitted on the P2P communication port of all ONU that find and gap marker;
Step 370, according to the information of extracting such as VLAN, gap marker and SA, look-up table 4 (OLT side addresses forwarding table) if there is not this information in table 4, then adds this information record, sign is set to P2P; If exist, then upgrade the ageing time information of described P2P communication port in OLT side addresses forwarding table, process ends;
Step 380, look-up table 4 (OLT side addresses forwarding table), the VLAN and the source MAC (SA) of certain bar record of other during whether VLAN that judgement is extracted and DA equal to show, if then execution in step 390, otherwise, execution in step 320;
If described Business Stream frame does not have vlan information, then use the PVID value in the table 3 (P2P passage PVID/TAG/UNTAG allocation list) to insert its vlan information.
Step 390, look-up table 2 (P2P passage VLAN allocation list) obtain its ONU, judge that the ONU ID that extracts in the information of ONU that table 2 obtains and P2P communication port is whether in same ONU organizes, if, then execution in step 400, otherwise, abandon this Business Stream frame;
Behind step 400, the processing VLAN, described Business Stream frame is directly transmitted on the P2P communication port between this ONU and the OLT;
Wherein handle VLAN, comprise, the TAG/UNTAG information according in the table 3 (P2P passage PVID/TAG/UNTAG allocation list) determines whether to remove its VLAN.
When after successfully transmitting described Business Stream frame on the P2P communication port, revise the ageing time information of described P2P communication port.
Step 410, according to the information of extracting such as VLAN, gap marker and SA, look-up table 4 (OLT side addresses forwarding table) if there is not this information in table 4, then adds this information record, the P2P identification information is set to P2P; If exist, then upgrade the ageing time information of described P2P communication port at table 4.
Processing procedure in that the OLT side can also be carried out following self study as shown in Figure 3, may further comprise the steps,
Step 510, on the non-P2P communication port of ONUx receive the Business Stream frame of up direction the time, check that (this table comprises ONU ID to non-OLT side addresses forwarding table at least, VLAN and source MAC, similar table 4, the addresses forwarding table of P2P passage and non-P2P passage can be merged into a table, whether be P2P passage) with the P2P field if distinguishing, whether the vlan information of the Business Stream frame that inspection receives and target MAC (Media Access Control) address be identical with record in this table, if, then execution in step 520, otherwise, handle this Business Stream frame by normal non-P2P mode;
If the ONU in the described table of step 520 is ONUy, obtain this two ONU ID, VLAN, then according to the information in the ONU configuration set table, check that these two ONU are whether in same ONU group, if then execution in step 530, otherwise, handle this Business Stream frame by normal non-P2P mode;
Step 530, directly this Business Stream frame is transmitted on the P2P of ONUy and its gap marker communication port;
Directly this Business Stream frame is transmitted on the P2P communication port of ONUy and its gap marker, need not be forwarded to the upper united mouth again.
Step 540, the source MAC address information of VLAN, ONUx is added in the table 4 (OLT side addresses forwarding table), perhaps revise described P2P communication port in the P2P of table 4 identification information and gap marker information, wherein gap marker information is the gap marker of the P2P communication port of ONUx.
Also the addresses forwarding table of P2P and non-P2P passage can be divided into two independently tables; Perhaps relating to VLAN etc. can carry out according to predetermined process mode in IEEE 802.1D and the 802.1Q standard fully.
The Business Stream of second portion, the communication of the P2P on ONU is handled
For down direction, the VLAN in the Business Stream of extraction P2P communication port, source MAC etc. add in the table 5 (P2P ONU side addresses forwarding table);
For up direction, can take following mode to handle:
1 on ONU according to some information, such as, uni port, VLAN, MAC Address, IP address etc., determine Business Stream be by the P2P communication port also right and wrong P2P communication port send to OLT;
2 or determine whether and to send to OLT by the P2P communication port by look-up table 5 (P2P ONU side addresses forwarding table);
3 or can send to OLT by P2P and non-P2P communication port simultaneously for uncertain data flow;
4 or other modes determine to send to the data flow of P2P communication port.
In addition, fully also can realize in the P2P of OLT side Business Stream processing mode in the ONU side.
Describe the realization of P2P below more for example in detail.
1, at first do not allow to carry out between any ONU P2P, do not have the relevant information of any P2P this moment.Promptly table 1 is empty;
2, increase a group, promptly in table 1, increase a record, for example, first group, comprise ONU1 and ONU 2, promptly ONU1 can carry out P2P with ONU2 and communicated by letter this moment, business datum between ONU1 and the ONU2 can directly be transmitted at the OLT place, does not need to be forwarded to more upper strata;
3, behind the record in the increase table 1, OLT creates a passage to ONU1, ONU2 automatically respectively, and this passage of notice ONU1/ONU2 is used to transmit the P2P business datum, for following narration convenience, the gap marker of supposing the ONU1 passage is 4800, the gap marker of ONU2 is 4801 (specify during the record of gap marker in increase table 1, can adopt ONU ID to identify when perhaps not specifying, can be concerned about how gap marker obtains);
4, table 2 is set, increases following two records:
ONU1 (OLT/ONU ID) 4800 (gap markers) 100 (VLAN ID);
ONU2 (OLT/ONU ID) 4801 (gap markers) 200 (VLAN ID);
5, the attributes such as PVID of passage are set;
ONU1 (OLT/ONU ID) 4800 (gap markers) 200 (PVID if the frame that promptly receives is not with VLAN, then adds a VLAN automatically in inside, its VLAN is 200), tag (frame that promptly sends is to need tag, has VLAN);
ONU2 (OLT/ONU ID) 4801 (gap markers) 300 (PVID if the frame that promptly receives is not with VLAN, then adds a VLAN automatically in inside, its VLAN is 300), untag (frame that promptly sends is not need tag, does not have vlan information).
At this moment, the P2P passage of ONU1 is equivalent to and has added among the VLAN 100,200, and the P2P passage of ONU2 is equivalent to and has added among the VLAN 200,300.Be equivalent to and in table, added following two records again:
ONU1 (OLT/ONU ID) 4800 (gap markers) 200 (VLAN ID);
ONU2 (OLT/ONU ID) 4801 (gap markers) 300 (VLAN ID).
After more than configuration is finished, be concrete realization below, need dynamically to generate table 4 (also can staticly by hand adding).
If receiving a VLAN from ONU1 P2P is 300 frame, DA (target MAC (Media Access Control) address) is MAC1, and SA (source MAC) is for MAC2 and receive one not with the frame of tag, and DA is MAC3, and SA is MAC4; And table 4 is empty, and at first look-up table 1, can find ONU1 in group 1, has comprised ONU1 and ONU2, and (if do not find its in any group directly abandon this frame).For second frame, look-up table 3, the result is equivalent to and receives a VLAN is 200, and DA is MAC3, and SA is the frame of MAC4; In table 2, search then, for first frame, its VLAN is 300, in table 2, can not find corresponding record (searching), directly abandon this frame, for second frame with 4800+300, there is this record (searching) at table 2 with 4800+200, can transmit (4801 also in VLAN 200, if 4801 not in VLAN 200, can not transmit this moment yet).This frame is forwarded to corresponding ONU on the same group, and the P2P passage in same VLAN group, in table 4, add a record then:
200 (VLAN ID), 4800 (gap markers), MAC4, P2P TRUE, times1,1 (group number) ...
Suppose that received that receiving a VLAN from ONU2 P2P is 200 frame this moment again, DA is MAC4, SA is the MAC3 frame, and this moment is look-up table 4 directly, determines this frame directly is forwarded to 4800 P2P passages.In table 4, increase a record then:
200 (VLAN ID), 4801 (gap markers), MAC3, P2P TRUE, times2,1 (group number) ...
DA is MAC3 not with the frame of tag if receive one from ONU1 again, and SA is MAC4 or the frame that receives a band VLAN 200 from ONU1, DA is MAC3, and SA is MAC4, and this moment is look-up table 4 directly, determine this frame directly is forwarded to 4801 P2P passages, updating form 4 then:
200 (VLAN ID), 4800 (gap markers), MAC4, P2P TRUE, times3,1 (group number) ...
Thereby realized P2P communication.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with the people of this technology in the disclosed technical scope of the present invention; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (10)

1. the method for the peer-to-peer communications of a gigabit passive optical network may further comprise the steps,
A, between optical line terminal OLT and Optical Network Terminal ONT/ optical network unit ONU, set up the one or more P2P communication port that is used for peer-to-peer communications;
B, need to carry out the Business Stream that P2P communicates by letter separately, on the P2P of described foundation communication port, transmit on OLT and the ONT/ONU.
2. the method for claim 1 is characterized in that,
Comprise before the described step a, on OLT, set up P2P ONU configuration set table or P2P ONT configuration set table and/or P2P passage virtual LAN VLAN allocation list and/or P2P access port virtual local area network identifiers PVID/TAG/UNTAG allocation list and/or OLT side addresses forwarding table and/or P2P ONU side addresses forwarding table or P2P ONT side addresses forwarding table;
And certain ONT/ONU is set allows to carry out P2P communication, in this ONT/ONU adding group, allow to adopt between any two P2P to communicate by letter between all ONT/ONU in this group.
3. method as claimed in claim 2 is characterized in that,
In the described ONT/ONU adding group, described group comprises one or more groups, and whole ONT/ONU is at same group or in a plurality of groups.
4. method as claimed in claim 2 is characterized in that,
Described P2P ONU configuration set table or P2P ONT configuration set table comprise, the information of group #, OLT/ONU numbering or OLT/ONT numbering;
Described P2P passage VLAN allocation list comprises, the information of OLT/ONU numbering or OLT/ONT numbering, gap marker, VLAN;
Described P2P passage PVID/TAG/UNTAG allocation list comprises, the information of OLT/ONU numbering or OLT/ONT numbering, gap marker, VLAN, TAG/UNTAG;
Described OLT side addresses forwarding table comprises, the information of VLAN, gap marker, media access control MAC address, source, P2P sign, ageing time;
Described P2P ONU side addresses forwarding table or P2P ONT side addresses forwarding table comprise VLAN, gap marker, source MAC, the information of change time.
5. as each described method in the claim 1 to 4, it is characterized in that,
Comprise also among the described step a,, the P2P communication port of described foundation joined in the vlan domain that wherein, the communication port of the P2P of this foundation is used for its professional forwarding, study in the OLT side; Described vlan domain comprises one or more, and all P2P communication ports of foundation are at same vlan domain or in a plurality of vlan domains.
6. method as claimed in claim 5 is characterized in that,
Among the described step b,, may further comprise the steps for handling at the Business Stream of the up P2P communication of OLT side,
Step 300, receive the Business Stream frame from the P2P communication port, extract the information of P2P communication port, the information of this P2P communication port comprises the information of ONU ID, gap marker, target MAC (Media Access Control) address, source MAC, VLAN;
Step 310, judge whether target MAC (Media Access Control) address is broadcast address, if then execution in step 320, otherwise, execution in step 380;
Step 320, according to the ONU ID that extracts, search at P2P ONU configuration set table whether this ONU other ONU are on the same group arranged, if then execution in step 330, otherwise, abandon this Business Stream frame;
Step 330, obtain the vlan information of Business Stream frame;
Step 340, according to the ONU ID, gap marker and the vlan information that extract, in P2P passage VLAN allocation list, search the vlan information that whether has its coupling, if then execution in step 350, otherwise, abandon this Business Stream frame;
Step 350, in P2P passage VLAN allocation list, search the every other ONU ID and the gap marker that whether there are the corresponding vlan information that extracts of VLAN, if then execution in step 360, otherwise, abandon this Business Stream frame;
Step 360, according to the TAG/UNTAG information in the P2P passage PVID/TAG/UNTAG allocation list, determine whether to remove its VLAN, then described Business Stream frame is directly transmitted on the P2P communication port of all ONU that find and gap marker;
Step 370, according to the information of the VLAN, gap marker and the source MAC that extract, search OLT side addresses forwarding table, if do not have this information in the OLT side addresses forwarding table, then add this information record, sign is set to P2P; If exist, then upgrade the ageing time information of described P2P communication port in OLT side addresses forwarding table, process ends;
Step 380, search OLT side addresses forwarding table, judge VLAN and source MAC that whether the VLAN that extracts and target MAC (Media Access Control) address equal other certain bar record in this OLT side addresses forwarding table, if then execution in step 390, otherwise, execution in step 320;
Step 390, search P2P passage VLAN allocation list, obtain the ONU of described P2P communication port, whether the ONU ID that judgement is extracted in the information of ONU that P2P passage VLAN allocation list obtains and P2P communication port is in same ONU organizes, if, then execution in step 400, otherwise, abandon this Business Stream frame;
Behind step 400, the processing VLAN, described Business Stream frame is directly transmitted on the P2P communication port between described ONU and the OLT;
Step 410, according to the information of the VLAN, gap marker and the source MAC that extract, search OLT side addresses forwarding table, if there is not this information in OLT side addresses forwarding table, then add this information record, the P2P identification information is set to P2P; If exist, then upgrade the ageing time information of described P2P communication port at OLT side addresses forwarding table.
7. method as claimed in claim 6 is characterized in that,
Also comprise in the described step 330,, then use the PVID value in the P2P passage PVID/TAG/UNTAG allocation list to insert its vlan information if described Business Stream frame does not have vlan information;
Also comprise in the described step 380,, then use the PVID value in the P2P passage PVID/TAG/UNTAG allocation list to insert its vlan information if described Business Stream frame does not have vlan information;
Handle VLAN in the described step 400 and comprise that the TAG/UNTAG information according in the P2P passage PVID/TAG/UNTAG allocation list determines whether to remove its VLAN;
Also comprise in the described step 400,, revise the ageing time information of described P2P communication port when after successfully transmitting described Business Stream frame on the P2P communication port.
8. as each described method in the claim 1 to 4, it is characterized in that,
Also be included in the processing that the OLT side is carried out self study among the described step b, may further comprise the steps,
Step 510, on the non-P2P communication port of an ONU receive the Business Stream frame of up direction the time, check non-OLT side addresses forwarding table, this non-OLT side addresses forwarding table comprises the information of ONUID, VLAN and source MAC at least, whether the vlan information of the Business Stream frame that inspection receives and target MAC (Media Access Control) address be identical with record in this non-OLT side addresses forwarding table, if, then execution in step 520, otherwise, handle this Business Stream frame by normal non-P2P mode;
If the ONU in the described non-OLT side addresses forwarding table of step 520 is the 2nd ONU, obtain the information of these two ONU ID, VLAN, then according to the information in the P2P ONU configuration set table, check that these two ONU are whether in same ONU group, if, then execution in step 530, otherwise, handle this Business Stream frame by normal non-P2P mode;
Step 530, directly described Business Stream frame is transmitted on the P2P of the 2nd ONU and its gap marker communication port;
Step 540, the information of the source MAC of VLAN, an ONU is added in the OLT side addresses forwarding table, perhaps revise P2P identification information and the gap marker information of described P2P communication port at OLT side addresses forwarding table, wherein gap marker information is the gap marker of the P2P communication port of an ONU.
9. method as claimed in claim 4 is characterized in that,
Among the described step b, at down direction, the Business Stream of the P2P communication on the ONU is handled, and adds P2P ONU side addresses forwarding table to by the information of the VLAN in the Business Stream that extracts the P2P communication port, source MAC and realizes.
10. method as claimed in claim 4 is characterized in that,
Among the described step b, for at up direction, the Business Stream of the P2P communication on the ONU is handled, and comprises, on ONU according to the information of uni port, VLAN, MAC Address, IP address, determine Business Stream be by the P2P communication port also right and wrong P2P communication port send to OLT;
Perhaps determine whether and to send to OLT by the P2P communication port by searching P2P ONU side addresses forwarding table;
Perhaps send to OLT by P2P and non-P2P communication port simultaneously for uncertain data flow.
CN2008100081361A 2008-02-05 2008-02-05 Peer to peer communicating method of gigabit passive optical network Expired - Fee Related CN101227752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100081361A CN101227752B (en) 2008-02-05 2008-02-05 Peer to peer communicating method of gigabit passive optical network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100081361A CN101227752B (en) 2008-02-05 2008-02-05 Peer to peer communicating method of gigabit passive optical network

Publications (2)

Publication Number Publication Date
CN101227752A true CN101227752A (en) 2008-07-23
CN101227752B CN101227752B (en) 2012-05-23

Family

ID=39859453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100081361A Expired - Fee Related CN101227752B (en) 2008-02-05 2008-02-05 Peer to peer communicating method of gigabit passive optical network

Country Status (1)

Country Link
CN (1) CN101227752B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841738A (en) * 2009-03-20 2010-09-22 华为技术有限公司 Method for identifying optical network unit in optical access system, optical access system and device
CN102006526A (en) * 2009-09-01 2011-04-06 中兴通讯股份有限公司 Method and device for processing broadcast packet/multicast control message
CN102447568A (en) * 2011-11-18 2012-05-09 烽火通信科技股份有限公司 Method for treating downlinking broadcast, flooding business and multicasting business in gigabit passive optical network (GPON) system
CN101754487B (en) * 2008-12-08 2012-11-07 华为技术有限公司 Management and control method and device of multi-business transmission network
CN102905201A (en) * 2012-10-12 2013-01-30 中国联合网络通信集团有限公司 Passive optical network session service controlling method and optical line terminal
CN103095472A (en) * 2013-01-09 2013-05-08 上海斐讯数据通信技术有限公司 Method for realizing cross-VLAN (virtual local area network) multicast in PON (passive optical network) system
CN103139672A (en) * 2013-02-01 2013-06-05 北京邮电大学 Network encoding method supporting wired and wireless mixed environment in passive optical network
WO2023123654A1 (en) * 2021-12-28 2023-07-06 中兴通讯股份有限公司 Data transmission method, apparatus, storage medium, and electronic apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100724875B1 (en) * 2002-06-24 2007-06-04 삼성전자주식회사 Ethernet passive optical network system
CN101114882B (en) * 2006-07-27 2011-02-02 中兴通讯股份有限公司 Method for processing data traffic in GPON
CN100505631C (en) * 2007-06-14 2009-06-24 中兴通讯股份有限公司 Multicast processing method in the GPON system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101754487B (en) * 2008-12-08 2012-11-07 华为技术有限公司 Management and control method and device of multi-business transmission network
WO2010105578A1 (en) * 2009-03-20 2010-09-23 华为技术有限公司 Method for identifying an optical network unit and an optical access system and device
CN101841738A (en) * 2009-03-20 2010-09-22 华为技术有限公司 Method for identifying optical network unit in optical access system, optical access system and device
US8711856B2 (en) 2009-09-01 2014-04-29 Zte Corporation Method and device for processing broadcast packets/multicast control messages
CN102006526A (en) * 2009-09-01 2011-04-06 中兴通讯股份有限公司 Method and device for processing broadcast packet/multicast control message
CN102006526B (en) * 2009-09-01 2016-01-20 中兴通讯股份有限公司 A kind of broadcast packet/multicast controls message processing method and device
CN102447568B (en) * 2011-11-18 2014-12-24 烽火通信科技股份有限公司 Method for treating downlinking broadcast, flooding business and multicasting business in gigabit passive optical network (GPON) system
CN102447568A (en) * 2011-11-18 2012-05-09 烽火通信科技股份有限公司 Method for treating downlinking broadcast, flooding business and multicasting business in gigabit passive optical network (GPON) system
CN102905201A (en) * 2012-10-12 2013-01-30 中国联合网络通信集团有限公司 Passive optical network session service controlling method and optical line terminal
CN102905201B (en) * 2012-10-12 2015-08-19 中国联合网络通信集团有限公司 The session service control method of EPON and optical line terminal
CN103095472A (en) * 2013-01-09 2013-05-08 上海斐讯数据通信技术有限公司 Method for realizing cross-VLAN (virtual local area network) multicast in PON (passive optical network) system
CN103095472B (en) * 2013-01-09 2018-02-13 上海斐讯数据通信技术有限公司 A kind of method that travelling across VLAN multicast is realized under PON system
CN103139672A (en) * 2013-02-01 2013-06-05 北京邮电大学 Network encoding method supporting wired and wireless mixed environment in passive optical network
CN103139672B (en) * 2013-02-01 2016-05-04 北京邮电大学 In EPON, support the network coding method of wire and wireless hybird environment
WO2023123654A1 (en) * 2021-12-28 2023-07-06 中兴通讯股份有限公司 Data transmission method, apparatus, storage medium, and electronic apparatus

Also Published As

Publication number Publication date
CN101227752B (en) 2012-05-23

Similar Documents

Publication Publication Date Title
CN101227752B (en) Peer to peer communicating method of gigabit passive optical network
US7873039B2 (en) Enhanced optical line terminal controller
EP2139157B1 (en) Multicast control method in ethernet passive optical network
CN101047583B (en) Passive optical network system and correlation method for support virtual local network service
EP2355374B1 (en) Method, system and optical line terminal for message transmission in an optical communication system
US7450551B2 (en) Multicast transmission method in GEM mode in Gigabit-capable passive optical network and method of processing frame
CN101005445B (en) Method for mapping service flow to service transmission path and optical network terminal
CN100555949C (en) A kind of to GPON system configuration Native VLAN and processing Ethernet method of message
US7613187B2 (en) Shared LAN emulation method and apparatus having VLAN recognition and LLID management functions on EPON
CN102088391B (en) Processing method, equipment and system for Internet protocol version 6 (IPv6) message
US8315523B2 (en) Communication system, terminating apparatus, and PON virtualization method for use therein
CN101212821A (en) Resourceless light network signal processing device, signal processing method and GTC frame
CN101873515B (en) IPV6 message transmission method, system and device of passive optical network
CN102714614B (en) Method for transmitting data in passive optical network, user-side equipment, and system
CN102006526B (en) A kind of broadcast packet/multicast controls message processing method and device
CN101360041B (en) Method and apparatus bearing IP packet in passive optical network
CN101257487B (en) Method for mapping service stream onto service transmission channel as well as optical network terminal
CN101119220B (en) Gb passive optical network based multicast service implementing method and apparatus
KR100567323B1 (en) Multiple shared LAN emulation method in EPON based on group ID
CN102098166A (en) Gigabit passive optical network system and controllable multicast implementation method thereof
CN101453665A (en) Connection switching method, apparatus and system for passive optical network
CN102395057B (en) A kind of collocation method and device of port locations form
KR100786388B1 (en) Apparatus and method for managing traffic using VID in EPON
KR100809438B1 (en) Apparatus and method for vlan frame management for terminal control in gigabit-capable pon system
US8606109B2 (en) Technique for forwarding packets in a gigabit passive optical network (GPON)

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120523

Termination date: 20180205