CN101414955B - Method for controlling data stream of virtual LAN in Ethernet passive optical network system - Google Patents
Method for controlling data stream of virtual LAN in Ethernet passive optical network system Download PDFInfo
- Publication number
- CN101414955B CN101414955B CN200710163181XA CN200710163181A CN101414955B CN 101414955 B CN101414955 B CN 101414955B CN 200710163181X A CN200710163181X A CN 200710163181XA CN 200710163181 A CN200710163181 A CN 200710163181A CN 101414955 B CN101414955 B CN 101414955B
- Authority
- CN
- China
- Prior art keywords
- vlan
- data
- onu
- optical network
- data stream
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method for controlling a data stream in a virtual local area network at an Ethernet passive optical network system. The method comprises the steps as follows: (1) a processing form and a transmission parameter list of the data stream in the virtual local area network are set on an optical network unit (ONU) or optical network terminal (ONT) device; and (2) when the data stream is transmitted at the ONU or the ONT device, the data stream is processed by the ONU or the ONT according to the processing form and the transmission parameter list. The invention realizes the control on the data stream in VLAN in asymmetrical network type and improves the consistency and the universality for processing the data stream in the asymmetrical network type.
Description
Technical field
The present invention relates to EPON (Ethernet passive optical network) system field, relate in particular in a kind of EPON system control method of data flow among the VLAN (VLAN).
Background technology
EPON is the single fiber bi-directional Optical Access Network that multiple spot (P2MP) structure is put in a kind of employing, and its canonical topology structure is the tree type.The EPON system is made up of the optical line terminal (OLT) of network side, the optical network unit (ONU) and the Optical Distribution Network (ODN) of user side, is the single fiber bi-directional system.In addition, Optical Network Terminal (ONT) is a kind of of ONU, and it can have a plurality of different access subscriber equipment connectivity ports.At down direction (OLT is to ONU), the signal that OLT sends arrives each ONU by ODN in the mode of broadcasting.At up direction (ONU is to OLT), the signal that ONU sends only can arrive OLT, and can not arrive other ONU.For fear of data collision and improve network utilisation efficient, up direction adopts TDMA (time division multiple access accesss) mode and the data transmission of each ONU is arbitrated.ODN is made up of Passive Optical Components such as optical fiber and one or more passive optical splitters, provides optical channel between OLT and ONU.According to ONU residing position difference in Access Network, can there be several network application types in the EPON system: Fiber To The Cabinet (FTTCab), Fiber-To-The-Building space/junction box (FTTB/C), fiber-to-the-home front yard user (FTTH), optical fiber are to company/office (FTTO) etc.
As shown in Figure 1, the networking schematic diagram of EPON system.OLT and ONU go up 802.1Q standard and the 802.1ad standard supported.The user can pass through switch or HUB (hub), as the S among the figure, be linked into ONU, or directly PC (computer), phone, set-top box or TV are linked into ONT, distinguish Virtual Local Area Network or business by VLAN ID (VLAN ID), mode according to TDMA arrives OLT to data upload, OLT receives data from the network side interface, by handling packet is stamped different VLAN ID, or do not stamp VLAN ID, send on ONU or the ONT by descending broadcast channel, send to the user after handling by ONU or ONT again.
VLAN (VLAN) represents the VLAN circuit at user place or the business of access with VLAN ID usually.By dividing different VLANs, can isolate different user's group and network, on physical network, form different virtual networks, improve the fail safe and the reliability of network, on the other hand, also can identify the business that different user inserts, thereby be that other equipment are in subsequent treatment by VLAN ID, as the business classification, provide the processing foundation.
Vlan technology mainly is used in for example Ethernet, ATM (Asynchronous TransferMode at present, asynchronous transfer mode) etc. in the network of symmetric form, and in asymmetric network type, in EPON, use less, and because the network of asymmetric type is to the processing mode difference of the data flow of uplink and downlink, in these dissymmetric network types, just may there be the problem of consistency and versatility in the Data Stream Processing mode that needs.
Summary of the invention
The invention provides in a kind of Ethernet passive optical network system control method of data flow in the VLAN, to solve in asymmetric network type the consistency that the Data Stream Processing mode that needs may exist and the problem of versatility.
In order to solve the problems of the technologies described above, the invention provides in a kind of Ethernet passive optical network system control method of data flow in the VLAN, comprise the steps:
(1) processing mode and the retransmitting paramater table of data flow in the VLAN are set on optical network unit ONU or Optical Network Terminal ONT equipment; Described processing mode comprises trusted mode, insincere pattern or alternative patterns
(2) when data flow was transmitted on described ONU or ONT equipment, described ONU or ONT handled described data flow according to described processing mode and retransmitting paramater table;
As what be provided with is trusted mode, and no matter whether the up-downgoing data have VLAN ID VLANID, all directly described data transmitted according to described retransmitting paramater table;
As what be provided with is insincere pattern, when upstream data has VLAN ID, then abandons, and is not with VLAN ID, then stamps VLAN ID and transmits; At down direction, if downlink data is not with VLAN ID, then abandon, to having the packet of VLAN ID, look into described retransmitting paramater table according to described VLAN ID and transmit, and remove VLAN ID simultaneously;
As what be provided with is alternative patterns, when upstream data has VLAN ID, looks into described retransmitting paramater table according to VLAN ID, finds then to replace original VLAN ID according to the VLAN ID in the list item and transmit, if can not find out list item, then abandons; For the data that do not have VLAN ID, then directly transmit; On down direction, if when downlink data has VLAN ID, look into described retransmitting paramater table according to VLAN ID, find and then replace original VLAN ID and transmit according to the VLAN ID in the list item, if can not find out list item, then abandon; For the data that do not have VLAN ID, then directly transmit.
The present invention has realized the control of data flow among the VLAN in the dissymmetric network type, has improved the consistency and the versatility of Data Stream Processing in these dissymmetric network types.
Description of drawings
Fig. 1 is the networking schematic diagram of EPON system;
Fig. 2 is the control method flow chart of data flow among the VLAN in the embodiment of the invention EPON system;
Fig. 3 is the networking schematic diagram of application example EPON of the present invention system;
Fig. 4 is the control method schematic flow sheet of application example of the present invention based on data flow among the VLAN of Fig. 3.
Embodiment
Below in conjunction with the drawings and specific embodiments technical scheme of the present invention is described in detail.
As shown in Figure 2, the control method flow process of data flow among the VLAN comprises the steps: in the embodiment of the invention EPON system
Step 201 is provided with the retransmitting paramater table and the processing mode of data flow among the VLAN on ONU or ONT equipment, this processing mode can be trusted mode or insincere pattern or alternative patterns;
Step 202, when the packet of data flow transmitted on ONU or ONT equipment, ONU or ONT judged the processing mode that is provided with: as what be provided with is trusted mode, then changes step 203; As what be provided with is insincere pattern, then changes step 204; As what be provided with is alternative patterns, then changes step 205;
Step 203, under the trusted mode: no matter whether the up-downgoing data have VLAN ID, all directly described data transmitted according to described retransmitting paramater table, also the vlan data in the packet do not done any processing, changes step 206 then;
Step 204 is under the insincere pattern: when upstream data has VLAN ID, then abandon, be not with VLAN ID, then stamp VLAN ID and transmit; At down direction, if downlink data is not with VLAN ID, then abandon, to having the packet of VLAN ID, look into described retransmitting paramater table according to described VLAN ID and transmit, and remove VLAN ID simultaneously, change step 206 then;
Step 205 is under the alternative patterns: when upstream data has VLAN ID, look into described retransmitting paramater table according to VLAN ID, find and then replace original VLAN ID according to the VLAN ID in the list item and transmit, if can not find out list item, then abandon; For the data that do not have VLAN ID, then directly transmit; On down direction, if when downlink data has VLAN ID, look into described retransmitting paramater table according to VLAN ID, find and then replace original VLAN ID and transmit according to the VLAN ID in the list item, if can not find out list item, then abandon; For the data that do not have VLAN ID, then do not process direct forwarding, change step 206 then;
Step 206, the transfer process of data flow finishes on ONU or ONT equipment.
As shown in Figure 3, the networking schematic diagram of application example EPON of the present invention system is connected to switch S under the ONU equipment among the figure, inserts PC, phone, set-top box or TV by switch S again.Represent three kinds of business respectively, i.e. the common business of networking of PC representative, the speech business of phone representative, the video traffic of set-top box or TV representative.Represent upstream data from S to the arrow line of OLT direction, represent downlink data to the arrow line of S direction from OLT.
Shown in Figure 4, application example of the present invention comprises the steps: based on the control method schematic flow sheet of data flow among the VLAN of Fig. 3
Step 401, the control model of data flow is an alternative patterns among the VLAN of configuration ONU;
Step 402, the port that configuration switch S is connected with ONU is the pattern of band VLAN ID; The configuration port vlan ID that PC connected is 1, and the port vlan ID that configuring telephone connected is 2, and the port vlan ID that configuration machine top box or TV connect is 3;
Step 403, the retransmitting paramater table of data flow among the VLAN of configuration ONU, configuration VLAN ID are that 1 replacement VLAN ID is 11, and configuration VLAN ID is that 2 replacement VLAN ID is 12;
Step 404, up direction: when the upstream data that comes from PC or phone after stamped VLAN ID by switch S be 1 and 2 VLAN ID, ONU receives these packets, take out VLAN ID and look into the retransmitting paramater table, because can find list item, and control model is an alternative patterns, so ONU uses VLAN ID11 and 12 in the list item to replace VLAN ID 1 and 2 in the legacy data bag respectively, sends to OLT then; And be 3 as the VLAN ID of the data band that comes from set-top box or TV, in ONU, do not have corresponding forwarding-table item, so VLAN ID is that 3 packet is dropped;
Step 405, down direction: when when the descending packet of OLT arrives ONU, the VLAN ID that ONU takes out in the packet looks into the retransmitting paramater table, if VLAN ID is 11 or 12 o'clock, the VLAN ID that can find replacement by tabling look-up is 1 or 2, be that 1 or 2 to replace VLAN ID respectively be 11 or 12 packet according to the content in the list item with VLAN ID then, then packet sent to switch S, switch S sends to PC or phone to data respectively again.
The present invention is directed in the asymmetric network type, in EPON, because the network of asymmetric type is to the processing mode difference of the data flow of uplink and downlink, also there is difference in the processing mode that needs, therefore method described herein be exactly for control method that data flow among a kind of VLAN is provided to improve the consistency and the versatility of Data Stream Processing in these dissymmetric network types.
Scheme of the present invention is not restricted to listed utilization in specification and the execution mode.Concerning the technology of the present invention those of ordinary skill in the field, can make various corresponding changes and distortion according to the present invention, and all these corresponding changes and distortion all belong to the protection range of claim of the present invention.
Claims (1)
1. the control method of data flow in the VLAN in the Ethernet passive optical network system is characterized in that, comprises the steps:
(1) processing mode and the retransmitting paramater table of data flow in the VLAN are set on optical network unit ONU or Optical Network Terminal ONT equipment, described processing mode comprises trusted mode, insincere pattern or alternative patterns;
(2) when data flow was transmitted on described ONU or ONT equipment, described ONU or ONT handled described data flow according to described processing mode and retransmitting paramater table;
As what be provided with is trusted mode, and no matter whether the up-downgoing data have VLAN ID VLANID, all directly described data transmitted according to described retransmitting paramater table;
As what be provided with is insincere pattern, when upstream data has VLAN ID, then abandons, and is not with VLAN ID, then stamps VLAN ID and transmits; At down direction, if downlink data is not with VLAN ID, then abandon, to having the packet of VLAN ID, look into described retransmitting paramater table according to described VLAN ID and transmit, and remove VLAN ID simultaneously;
As what be provided with is alternative patterns, when upstream data has VLAN ID, looks into described retransmitting paramater table according to VLAN ID, finds then to replace original VLAN ID according to the VLAN ID in the list item and transmit, if can not find out list item, then abandons; For the data that do not have VLAN ID, then directly transmit; On down direction, if when downlink data has VLAN ID, look into described retransmitting paramater table according to VLAN ID, find and then replace original VLAN ID and transmit according to the VLAN ID in the list item, if can not find out list item, then abandon; For the data that do not have VLAN ID, then directly transmit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710163181XA CN101414955B (en) | 2007-10-16 | 2007-10-16 | Method for controlling data stream of virtual LAN in Ethernet passive optical network system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710163181XA CN101414955B (en) | 2007-10-16 | 2007-10-16 | Method for controlling data stream of virtual LAN in Ethernet passive optical network system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101414955A CN101414955A (en) | 2009-04-22 |
CN101414955B true CN101414955B (en) | 2011-05-25 |
Family
ID=40595279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200710163181XA Expired - Fee Related CN101414955B (en) | 2007-10-16 | 2007-10-16 | Method for controlling data stream of virtual LAN in Ethernet passive optical network system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101414955B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102006526B (en) | 2009-09-01 | 2016-01-20 | 中兴通讯股份有限公司 | A kind of broadcast packet/multicast controls message processing method and device |
CN101888575B (en) * | 2010-07-28 | 2015-04-01 | 中兴通讯股份有限公司 | Configuration method and system for realizing port address binding |
CN102480652B (en) * | 2010-11-29 | 2014-09-10 | 中兴通讯股份有限公司 | Method for mapping service flow and ONT (Optical Network Termination) |
CN103107961B (en) * | 2012-12-31 | 2016-05-25 | 广东东研网络科技股份有限公司 | For the EPON switching chip port collocation method of VLAN |
CN110505542A (en) * | 2019-09-18 | 2019-11-26 | 李阳 | A kind of industrial and more net unification methods of civil building engineering weak electricity system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1878122A (en) * | 2005-06-07 | 2006-12-13 | 中兴通讯股份有限公司 | Information insulating method and device for downlink broadcast, flood of Ethernet passive optical network |
-
2007
- 2007-10-16 CN CN200710163181XA patent/CN101414955B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1878122A (en) * | 2005-06-07 | 2006-12-13 | 中兴通讯股份有限公司 | Information insulating method and device for downlink broadcast, flood of Ethernet passive optical network |
Non-Patent Citations (2)
Title |
---|
JP特开2007-208944A 2007.08.16 |
朱敏等.基于VLAN的组播方案在EPON系统中的设计与实现.《上海大学学报(自然科学版)》.2007, * |
Also Published As
Publication number | Publication date |
---|---|
CN101414955A (en) | 2009-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10250411B2 (en) | Message processing method and apparatus | |
CN101836399B (en) | Forwarding loop prevention apparatus and methods | |
CN100555949C (en) | A kind of to GPON system configuration Native VLAN and processing Ethernet method of message | |
US7990853B2 (en) | Link aggregation with internal load balancing | |
EP2509259B1 (en) | Unified network management of hybrid fiber coaxial (HFC) network | |
CN108989915B (en) | Method and system for O L T slicing of access network based on ONU granularity | |
US8315523B2 (en) | Communication system, terminating apparatus, and PON virtualization method for use therein | |
US9755749B2 (en) | ONU, communication system and communication method for ONU | |
CN100574216C (en) | The management method of multi-logical link ID optical network unit in the Ethernet passive optical network | |
EP2019519B1 (en) | Method for addressing ethernet streams with a structured GPON GEM Port ID | |
TW201304469A (en) | Traffic switching in hybrid fiber coaxial (HFC) network | |
EP2887691B1 (en) | Method and device for generating forwarding entries for devices in optical network | |
CN102714614B (en) | Method for transmitting data in passive optical network, user-side equipment, and system | |
CN101414941A (en) | Method for mapping business of G-bit passive optical network system | |
CN101867523A (en) | Method and device for configuring broadband services in PON (Passive Optical Network) system | |
CN101414955B (en) | Method for controlling data stream of virtual LAN in Ethernet passive optical network system | |
CN102447568B (en) | Method for treating downlinking broadcast, flooding business and multicasting business in gigabit passive optical network (GPON) system | |
CN103023769A (en) | Method for forwarding two-layer broadcasting packets and untagged packets of ONU (optical network unit) | |
Kramer et al. | The IEEE 1904.1 standard: SIEPON architecture and model | |
CN102227137A (en) | Network digital set top box and method for realizing multiple network access | |
CN202385092U (en) | Power communication platform integrating packet transport network (PTN) and Ethernet passive optical network (EPON) | |
KR101348121B1 (en) | Integrated PON MAC matching apparatus for providing voice, data and video stream services, and Integrated PON ONT(ONU) apparatus using that | |
CN110958502B (en) | Method and system for realizing intercommunication between different ONUs in same PON | |
CN101399721B (en) | Method for supporting transparent LAN access by Gbit Ethernet passive optical network | |
CN102395057B (en) | A kind of collocation method and device of port locations form |
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 |
Granted publication date: 20110525 Termination date: 20171016 |
|
CF01 | Termination of patent right due to non-payment of annual fee |