CN101227752B - 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
CN101227752B
CN101227752B CN2008100081361A CN200810008136A CN101227752B CN 101227752 B CN101227752 B CN 101227752B CN 2008100081361 A CN2008100081361 A CN 2008100081361A CN 200810008136 A CN200810008136 A CN 200810008136A CN 101227752 B CN101227752 B CN 101227752B
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.)
Expired - Fee Related
Application number
CN2008100081361A
Other languages
Chinese (zh)
Other versions
CN101227752A (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) connects a plurality of ONT (ONT Optical Network Terminal)/ONU (optical network unit) through optical distribution network (ODN, Optical Distribution Network) in the system, generally has 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 carries and delivers to all ONU by the GEM module; Downlink frame is filtered according to 12 bit Port_ID (port-mark) values that each frame carries in ONU framing sublayer; Extract also 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 carries and delivers to all ONU by atm module; VPI/VCI (VCI/VPI) value that carry according to each frame ONU framing sublayer is filtered downlink frame; Extract also 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, can frame 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 is such some users', particularly some enterprise-levels big customer; 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 maybe 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 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, with the satisfaction that improves the big customer.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 need not 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 ONT Optical Network Terminal ONT/ optical network unit ONU, set up one or more be used for peer-to-peer communications the P2P communication port;
B, need carry out the Business Stream that P2P communicates by letter separately, on the P2P of said foundation communication port, transmit on OLT and the ONT/ONU.
Further; Said method also can comprise; Comprise before the said 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 said ONT/ONU adding group, said 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 said P2P ONU configuration set table or P2P ONT configuration set table comprise, the information of group #, OLT/ONU numbering or OLT/ONT numbering;
Said P2P passage VLAN allocation list comprises, the information of OLT/ONU numbering or OLT/ONT numbering, gap marker, VLAN;
Said P2P passage PVID/TAG/UNTAG allocation list comprises, the information of OLT/ONU numbering or OLT/ONT numbering, gap marker, VLAN, TAG/UNTAG;
Said OLT side addresses forwarding table comprises, the information of VLAN, gap marker, media access control MAC address, source, P2P sign, ageing time;
Said 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 said step a, in the OLT side, the P2P communication port of said 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; Said 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 said 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 said 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 said P2P communication port in OLT side addresses forwarding table, process ends;
Step 380, search OLT side addresses forwarding table, judge whether the VLAN that extracts equals VLAN and the source MAC that other certain bar in this OLT side addresses forwarding table writes down with target MAC (Media Access Control) address, if then execution in step 390, otherwise, execution in step 320;
Step 390, search P2P passage VLAN allocation list; Obtain the ONU of said 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, said Business Stream frame is directly transmitted on the P2P communication port between said 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 said P2P communication port at OLT side addresses forwarding table.
Further, said method also can comprise, also comprises in the said step 330, if said 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 said step 380,, then use the PVID value in the P2P passage PVID/TAG/UNTAG allocation list to insert its vlan information if said Business Stream frame does not have vlan information;
Handle VLAN in the said 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 said step 400,, revise the ageing time information of said P2P communication port when after successfully transmitting said 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 said 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, the vlan information of the Business Stream frame that receives of inspection and target MAC (Media Access Control) address whether with this non-OLT side addresses forwarding table in record identical; If; Then execution in step 520, otherwise, handle this Business Stream frame by normal non-P2P mode;
If the ONU in the said non-OLT side addresses forwarding table of step 520 is the 2nd ONU; Obtain the information of these two ONU ID, VLAN,, check that these two ONU are whether in same ONU group then according to the information in the P2P ONU configuration set table; If; Then execution in step 530, otherwise, handle this Business Stream frame by normal non-P2P mode;
Step 530, directly said 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 said 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 said step b, at down direction; The Business Stream of the P2P communication that ONU is last is handled, and adds P2P ONU side addresses forwarding table to through 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 said step b, at up direction; The Business Stream of the P2P communication that ONU is last is handled; Comprise, on ONU according to the information of uni port, VLAN, MAC Address, IP address, confirm Business Stream be through the P2P communication port also right and wrong P2P communication port send to OLT;
Perhaps determine whether and to send to OLT through the P2P communication port through searching P2P ONU side addresses forwarding table;
Perhaps send to OLT through 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 need not be forwarded to the more interface on upper strata, perhaps arrives 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 can not have influence on following user's, particularly some enterprise-levels big customer yet.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
Below in conjunction with accompanying drawing and embodiment the present invention is described further.
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 or the VPI/VCI under the ATM pattern under the GEM pattern.
Main design of the present invention is: allowing to set up the communication port between (perhaps many) OLT and the ONT/ONU on the ONT/ONU that supports P2P to communicate by letter; Be mainly used in the transmission of P2P Business Stream; On OLT and the ONT/ONU separately through 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) sends message and gives OLT and ONT/ONU, sets up (perhaps many) P2P communication port between notice OLT and the ONT/ONU, is 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 is with in P2P communication port adding certain VLAN (VLAN) territory of said foundation (but also all P2P communication ports are at same vlan domain);
In the OLT side, the P2P communication port of said 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 at this passage for not adding VLAN automatically in inside, its value equals PVID) of TAG sign with the Business Stream of TAG; And then the attribute of port virtual local area network identifiers that the P2P communication port of said foundation is set is TAG or UNTAG; Be used for the downstream service flow frame and whether need remove TAG (promptly; If the TAG sign, then descending needs are with the VLAN sign, if be UNTAG; Then need 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 is confirmed need carry out the Business Stream that P2P communicates by letter separately on OLT and the ONT/ONU, then this Business Stream is transmitted on the P2P of said 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, and is 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 information such as ONU ID, gap marker, DA (target MAC (Media Access Control) address), 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 said 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 said 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 said 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 said 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 the ONU ID that in the information of ONU that table 2 obtains and P2P communication port, extracts whether in same ONU organizes, if then execution in step 400, otherwise, abandon this Business Stream frame;
Behind step 400, the processing VLAN, said 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 said Business Stream frame on the P2P communication port, revise the ageing time information of said 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 said P2P communication port at table 4.
In the processing procedure 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; Can the addresses forwarding table of P2P passage and non-P2P passage be merged into a table, use the P2P field to distinguish and whether be the P2P passage), the vlan information of the Business Stream frame that receives of inspection and target MAC (Media Access Control) address whether with this table in record identical; If; Then execution in step 520, otherwise, handle this Business Stream frame by normal non-P2P mode;
If the ONU in the said table of step 520 is ONUy, obtain these 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 said 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 can the addresses forwarding table of P2P and non-P2P passage 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., confirm Business Stream be through the P2P communication port also right and wrong P2P communication port send to OLT;
2 perhaps determine whether and need send to OLT through the P2P communication port through look-up table 5 (P2P ONU side addresses forwarding table);
3 perhaps can send to OLT through P2P and non-P2P communication port for uncertain data flow simultaneously;
4 or other modes confirm 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.
Specify the realization of P2P below more for example.
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, need not 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 notifies this passage of ONU1/ONU2 to be 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 accomplished, 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, SA (source MAC) for MAC2 with receive one not with the frame of tag, DA is MAC3, 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, confirms 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 perhaps receives a band VLAN 200 from ONU1 a frame; DA is MAC3, and SA is MAC4, and this moment is look-up table 4 directly; Confirm 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; Be merely the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with this technological people in the technical scope that the present invention disclosed; 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 ONT Optical Network Terminal ONT/ optical network unit ONU, set up one or more be used for peer-to-peer communications the P2P communication port;
B, need carry out the Business Stream that P2P communicates by letter separately, on the P2P of said foundation communication port, transmit on OLT and the ONT/ONU.
2. the method for claim 1 is characterized in that,
Comprise before the said step a, on OLT, set up P2P ONU configuration set table/P2P ONT configuration set table, P2P passage virtual LAN VLAN allocation list, P2P access port virtual local area network identifiers PVID/TAG/UNTAG allocation list, OLT side addresses forwarding table; On ONT, set up P2P ONU side addresses forwarding table/P2P ONT side addresses forwarding table;
And certain ONT/ONU is set allows to carry out P2P communication; In P2P ONU configuration set table/P2PONT configuration set table, increase a record; Promptly increase a group, this ONT/ONU is added in said group, allow to adopt between any two P2P communication between all ONT/ONU in this group.
3. method as claimed in claim 2 is characterized in that,
In the said ONT/ONU adding group, said group is that one or more, whole ONT/ONU is at same group or in a plurality of groups.
4. method as claimed in claim 2 is characterized in that,
Said P2P ONU configuration set table or P2P ONT configuration set table comprise, the information of group # and OLT/ONU numbering or OLT/ONT numbering;
Said P2P passage VLAN allocation list comprises, the information of OLT/ONU numbering or OLT/ONT numbering, gap marker and VLAN;
Said P2P passage PVID/TAG/UNTAG allocation list comprises, the information of OLT/ONU numbering or OLT/ONT numbering, gap marker, PVID and TAG/UNTAG;
Said OLT side addresses forwarding table comprises, the information of VLAN, gap marker, media access control MAC address, source, P2P sign, ageing time and group number;
Said P2P ONU side addresses forwarding table or P2P ONT side addresses forwarding table comprise the information of VLAN, gap marker, source MAC and ageing time.
5. like each described method in the claim 1 to 4, it is characterized in that,
Comprise also among the said step a,, the P2P communication port of said 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; Said vlan domain is 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 said 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 and 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 said 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 the P2P sign; If exist, then upgrade the ageing time information of said P2P communication port in OLT side addresses forwarding table, process ends;
Step 380, search OLT side addresses forwarding table, judge whether the VLAN that extracts equals VLAN and the source MAC that other certain bar in this OLT side addresses forwarding table writes down with target MAC (Media Access Control) address, if then execution in step 390, otherwise, execution in step 320;
Step 390, search P2P passage VLAN allocation list; Obtain the ONU of said 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, said Business Stream frame is directly transmitted on the P2P communication port between said ONU and the OLT; Wherein, said processing VLAN comprises that the TAG/UNTAG information according in the P2P passage PVID/TAG/UNTAG allocation list determines whether to remove its VLAN;
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 said P2P communication port at OLT side addresses forwarding table.
7. method as claimed in claim 6 is characterized in that,
Also comprise in the said step 330,, then use the PVID value in the P2P passage PVID/TAG/UNTAG allocation list to insert its vlan information if said Business Stream frame does not have vlan information;
Also comprise in the said step 380,, then use the PVID value in the P2P passage PVID/TAG/UNTAG allocation list to insert its vlan information if said Business Stream frame does not have vlan information;
Also comprise in the said step 400,, revise the ageing time information of said P2P communication port when after successfully transmitting said Business Stream frame on the P2P communication port.
8. like 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 said 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 ONU ID, VLAN and source MAC at least, the vlan information of the Business Stream frame that receives of inspection and target MAC (Media Access Control) address whether with this non-OLT side addresses forwarding table in record identical; If; Then execution in step 520, otherwise, handle this Business Stream frame by normal non-P2P mode;
If the ONU in the said non-OLT side addresses forwarding table of step 520 is the 2nd ONU; Obtain the information of these two ONU ID and VLAN,, check that these two ONU are whether in same ONU group then according to the information in the P2P ONU configuration set table; If; Then execution in step 530, otherwise, handle this Business Stream frame by normal non-P2P mode;
Step 530, directly said 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 a VLAN and an ONU is added in the OLT side addresses forwarding table; Perhaps revise P2P identification information and the gap marker information of said 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 said step b, at down direction, the Business Stream of the P2P communication that ONU is last is handled, and adds P2PONU side addresses forwarding table to through the information of VLAN in the Business Stream that extracts the P2P communication port and source MAC and realizes.
10. method as claimed in claim 4 is characterized in that,
Among the said step b; For at up direction, the Business Stream of the P2P communication that ONU is last is handled, and comprises; On ONU according to the information of uni port, VLAN, MAC Address and IP address, confirm Business Stream be through the P2P communication port also right and wrong P2P communication port send to OLT;
Perhaps determine whether and to send to OLT through the P2P communication port through searching P2P ONU side addresses forwarding table;
Perhaps send to OLT through 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 CN101227752A (en) 2008-07-23
CN101227752B true 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)

Families Citing this family (8)

* 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
CN101841738A (en) * 2009-03-20 2010-09-22 华为技术有限公司 Method for identifying optical network unit in optical access system, optical access system and device
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
CN102905201B (en) * 2012-10-12 2015-08-19 中国联合网络通信集团有限公司 The session service control method of EPON and optical line terminal
CN103095472B (en) * 2013-01-09 2018-02-13 上海斐讯数据通信技术有限公司 A kind of method that travelling across VLAN multicast is realized under PON system
CN103139672B (en) * 2013-02-01 2016-05-04 北京邮电大学 In EPON, support the network coding method of wire and wireless hybird environment
CN116367020A (en) * 2021-12-28 2023-06-30 中兴通讯股份有限公司 Data transmission method and device, storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1244215C (en) * 2002-06-24 2006-03-01 三星电子株式会社 Ethernet passive light network system
CN101056191A (en) * 2007-06-14 2007-10-17 中兴通讯股份有限公司 Multicast processing method in the GPON system
CN101114882A (en) * 2006-07-27 2008-01-30 中兴通讯股份有限公司 Method for processing data traffic in GPON

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1244215C (en) * 2002-06-24 2006-03-01 三星电子株式会社 Ethernet passive light network system
CN101114882A (en) * 2006-07-27 2008-01-30 中兴通讯股份有限公司 Method for processing data traffic in GPON
CN101056191A (en) * 2007-06-14 2007-10-17 中兴通讯股份有限公司 Multicast processing method in the GPON system

Also Published As

Publication number Publication date
CN101227752A (en) 2008-07-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
EP2355374B1 (en) Method, system and optical line terminal for message transmission in an optical communication system
CN101047583B (en) Passive optical network system and correlation method for support virtual local network service
US7450551B2 (en) Multicast transmission method in GEM mode in Gigabit-capable passive optical network and method of processing frame
EP2139157B1 (en) Multicast control method in ethernet passive optical network
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
CN102088391B (en) Processing method, equipment and system for Internet protocol version 6 (IPv6) message
JP4992487B2 (en) COMMUNICATION SYSTEM, TERMINAL DEVICE, AND EPON VIRTUALization METHOD USED FOR THE SAME
CN1997240B (en) Control method and system for passive optical network broadcast traffic and passive optical network terminal
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
KR20040089910A (en) GTC Frame Structure for Transmitting OMCI in GPON and Transmitting Method
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
US8606109B2 (en) Technique for forwarding packets in a gigabit passive optical network (GPON)
KR20080049582A (en) Method for processing frame to provide multicast and virtual lan service efficiently in ethernet passive optical network

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