CN102480652B - Method for mapping service flow and ONT (Optical Network Termination) - Google Patents

Method for mapping service flow and ONT (Optical Network Termination) Download PDF

Info

Publication number
CN102480652B
CN102480652B CN201010565485.0A CN201010565485A CN102480652B CN 102480652 B CN102480652 B CN 102480652B CN 201010565485 A CN201010565485 A CN 201010565485A CN 102480652 B CN102480652 B CN 102480652B
Authority
CN
China
Prior art keywords
ivlan
chip
stream
gpon
uplink service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010565485.0A
Other languages
Chinese (zh)
Other versions
CN102480652A (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 CN201010565485.0A priority Critical patent/CN102480652B/en
Publication of CN102480652A publication Critical patent/CN102480652A/en
Application granted granted Critical
Publication of CN102480652B publication Critical patent/CN102480652B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides a method for mapping a service flow and an ONT (Optical Network Termination). The method comprises the following steps of: filling one layer of IVLAN on a VLAN (Virtual Local Area Network) layer of an uplink service flow by an exchange chip of the ONT, wherein an IVLAN identification in the IVLAN is used for indicating a physical port of the uplink service stream; and sending the uplink service flow with the IVLAN identification to a GPON (Gigabit Passive Optical Network) chip of the ONT by the exchange chip; and determining that the ONT starts a service flow distinguishing item by the GPON chip, reading the IVLAN identification in the uplink service flow, and mapping the uplink service flow into a GEM (GPON Encapsulation Method) frame according to the GPON service processing flow which corresponds to the IVLAN identification. According to the method for mapping the service flow and the ONT, which are disclosed by the invention, the problem that the GPON chip (or a PON (Passive Optical Network) chip) cannot effectively distinguish services is solved so that the service flow is mapped into the GEM frame.

Description

Method and the ONT of mapping Business Stream
Technical field
The present invention relates to the technical field of fixed network FTTH (Fabric To The Home, Fiber to the home), in particular to a kind of method and ONT (Optical Network Termination, Optical Network Terminal) that shines upon Business Stream.
Background technology
At GPON (Gigabit Passive Optical Network, Ethernet passive optical network) in technology networking, OLT (Optical Line Termination, optical line terminal) with ONT between be connected by simple optical fiber, each GPON port of OLT optical fiber is out by after the passive optical splitters (splitter) of 1: 32 even 1: 64, can connect 32 to 64 ONT, the distance between OLT and ONT can reach 20 kilometers and more than.When upstream business sends to ONT from OLT, employing be the technology of broadcast, ONT judge whether the Alloc ID (allocation identification) carrying in data message conforms to self, meets acceptance, otherwise abandons; The business that ONT is up, sends to OLT according to TDMA (Time Division Multiple Access, time-division multiplex technology).
The structured flowchart of ONT as shown in Figure 1, ONT product is mainly made up of three chips, is respectively GPON chip (or claiming PON chip), exchange chip (or claiming Ethernet switching chip) and CPU processor.Wherein, GPON chip is mainly processed the information relevant to GPON layer, and exchange chip provides Ethernet interface (also can be described as network interface, physical port or user port) for user downwards, and two layers of Ethernet message are forwarded and processed; For example, up Ethernet stream is carried out to the operation of VLAN and service priority (PRI, Priority), Ethernet stream is forwarded to GPON chip by upper united mouth; CPU processor is mainly processed the processing of management and three layers and above business etc.
For the up two layers of unicast service data message of GPON ONT, its porch is physical port UNI (the User Network Interface of ONT, user network port), after exchange chip is processed, data message can send to PON chip by the upper united mouth of exchange chip (with the connecting interface of GPON chip), and then by PON chip, ethernet frame is packaged into GEM (GPON Encapsulation Method, GPON encapsulation format) after frame, send to OLT equipment by the up technology of GPON.In the processing procedure of this ONT equipment, because often will consider QoS (the Qualityof Service of business, quality of service), need to distribute bandwidth and the service priority of certain business, QoS of survice is mainly in GPON chip, to carry out the mapping of GEM frame to process, in this processing procedure of ONT, the ethernet frame of entrance can increase or revise VLAN or precedence information in the exchange chip of ONT; Then delivered to after GPON chip, GPON chip can, according to VLAN or the PRI information of the business of coming in, be mapped to certain GEM frame by this Business Stream, and then GPON chip carries out bandwidth control and congested processing according to GEM frame again.In this process, exchange chip is given the ethernet frame of GPON chip, does not carry the physical port information (UNI) of exchange chip, causes having following problems:
When ONT has two or more physical ports, and these two physical ports enter to Ethernet service stream, although be two kinds of different business or be identical business, but require to have different QoS, but these two Business Streams have adopted identical VLAN and PRI, its VLAN and PRI information do not allow amendment, in this case, because when exchange chip sends to GPON chip Business Stream, Business Stream is distinguished with VLAN or PRI, and the VLAN of these two business and PRI are identical, like this on GPON chip, just cannot effectively distinguish these two kinds of business and it is correctly carried out to QoS of survice control.
Summary of the invention
Main purpose of the present invention is to provide a kind of method and ONT that shines upon Business Stream, at least to solve the effectively problem of differentiated service of above-mentioned GPON chip (or PON chip).
According to an aspect of the present invention, provide a kind of method of shining upon Business Stream, having comprised: the exchange chip of ONT is dosed one deck IVLAN before the VLAN layer of uplink service stream, the IVLAN mark in this IVLAN is in order to indicate the physical port of uplink service stream; Exchange chip sends to the uplink service stream that carries IVLAN mark the GPON chip of ONT; GPON chip determines that ONT enables Business Stream and distinguishes option, reads the IVLAN mark in uplink service stream, identifies corresponding GPON Business Processing stream according to IVLAN, and uplink service stream is mapped as to GEM frame.
According to a further aspect in the invention, a kind of Optical Network Terminal is provided, comprise: comprise exchange chip and Ethernet passive optical network GPON chip, wherein, described exchange chip comprises: mark is dosed module, for dose one deck port VLAN IVLAN before the virtual LAN VLAN layer of uplink service stream, the IVLAN mark in described IVLAN is in order to indicate the physical port of described uplink service stream; Sending module, for sending to described GPON chip by the described uplink service stream that carries described mark and dose the described IVLAN mark that module doses; Described GPON chip comprises: identity reading module, for determining that described ONT enables Business Stream and distinguishes option, reads the described IVLAN mark in described uplink service stream; Mapping block, for identify corresponding GPON Business Processing stream according to described IVLAN, is mapped as Ethernet passive optical network encapsulation format GEM frame by described uplink service stream.
By the present invention, adopt exchange chip before uploading Business Stream to GPON chip, before the outside VLAN of Business Stream, dose IVLAN layer, use the IVLAN in this IVLAN layer to identify the physical port that indicates this Business Stream, solve the effectively problem of differentiated service of GPON chip (or PON chip), even if the VLAN of multiple Business Streams mark is all identical with PRI, GPON chip still can separate each Business Stream by the IVLAN tag slot in IVLAN layer, and then completes Business Stream is mapped as to GEM frame.
Brief description of the drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is according to the structured flowchart of the ONT of correlation technique;
Fig. 2 is according to the method flow diagram of the mapping Business Stream of the embodiment of the present invention 1;
Fig. 2 is according to the method flow diagram of the mapping Business Stream of the embodiment of the present invention 2;
Fig. 4 is according to the structured flowchart of the ONT of the embodiment of the present invention 3.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, in the situation that not conflicting, the feature in embodiment and embodiment in the application can combine mutually.
ONT in the embodiment of the present invention as shown in Figure 1, comprises three chips, is respectively GPON chip, exchange chip and CPU processor.Wherein, GPON chip is mainly processed the information relevant to GPON layer, mainly follow ITU-T (International Telecommunication Union-Telecommunication standardizationsector, international telecommunication union telecommunication's standardization group) (Media Access Control G.984MAC, media access control) layer related request, for uplink service stream, the effect one of this chip is that Business Stream is mapped in GEM, and by GTC (GPON Transmission Convergence, GPON common transmission frame) forward and give OLT, the 2nd, Business Stream is carried out to QoS and process and congestion control (priority scheduling), entering to stream of this chip uplink service is to be sended over by the upper united mouth of Ethernet chip.Exchange chip provides Ethernet interface (network interface) for user downwards, then up Ethernet stream is carried out to the operation of VLAN and service priority, finally Ethernet stream is forwarded to GPON chip by upper united mouth; CPU processor is mainly management and some upper-layer service that realize ONT.
Embodiment 1
ONT structure based on shown in Fig. 1, the present embodiment provides a kind of method of Business Stream mapping, is specially the method that Business Stream is mapped as to GEM frame, and referring to Fig. 2, the method comprises the following steps:
Step S202, the exchange chip of ONT is dosed one deck IVLAN (Interface VLAN before VLAN (VLAN) layer of uplink service stream, port vlan), the IVLAN mark in IVLAN is in order to indicate the physical port of uplink service stream; For example, IVLAN=1,2,3 ..., N (N in theory maximum can arrive 4095), represents physical port one respectively, 2,3 ..., N;
On the ONT of the present embodiment, be provided with Business Stream and distinguish option, it is a global variable, if ONT enables this Business Stream and distinguishes option, each chip on ONT all can be known this information, when pointing out exchange chip and GPON chip to send Business Stream, increase one deck IVLAN layer at the skin of original VLAN layer of Business Stream, carry physical port information with this IVLAN layer; If ONT does not enable Business Stream and distinguishes selection, exchange chip and GPON chip will be mapped as GEM frame by Business Stream according to existing procedure;
Therefore,, before the exchange chip of the present embodiment also can send Business Stream, first judge whether this ONT enables Business Stream and distinguish option, if enabled, doses above-mentioned IVLAN layer; Otherwise do not dose.The present embodiment gives tacit consent to whether no matter Business Stream is distinguished option is enabled, and all doses the mode of this IVLAN layer and processes.
Step S204, exchange chip sends to the uplink service stream that carries IVLAN mark the GPON chip of ONT;
Step S206, GPON chip determines that ONT enables Business Stream and distinguishes option, reads the IVLAN mark in uplink service stream, identifies corresponding GPON Business Processing stream according to IVLAN, and uplink service stream is mapped as to GEM frame.
Wherein, GPON chip identifies corresponding GPON Business Processing stream according to IVLAN, uplink service stream is mapped as to GEM frame and comprises: GPON chip is designated uplink service stream according to IVLAN and distributes uplink service to process traffic identifier; And GPON chip is processed traffic identifier according to uplink service uplink service stream is mapped as to GEM frame.
GPON chip is mapped as GEM frame according to uplink service processing traffic identifier by uplink service stream and can adopts following manner to realize:
1) GPON chip is deleted the IVLAN layer that uplink service stream carries;
2) GPON chip determines that uplink service stream carries VLAN mark and/or service priority information;
3) GPON chip identifies and/or service priority information according to VLAN, and according to uplink service processing traffic identifier, uplink service stream is mapped as to GEM frame.
After uplink service stream is mapped as GEM frame by GPON chip, the method also comprises: GPON chip carries out Service control and congested scheduling according to control and scheduling configuration information to GEM frame; And the GEM frame after scheduling is sent to optical line terminal OLT by GPON chip.
After the GEM frame after scheduling is sent to OLT by GPON chip, the method also comprises the processing to downstream service flow, and the processing of this Business Stream that rolls off the production line is processed according to flowing symmetrical inverse direction with above-mentioned uplink service, specifically can comprise the steps:
Steps A, GPON chip receives the GEM response frame from OLT, determines that ONT enables Business Stream and distinguishes option;
Step B, GPON chip is determined the downlink business processing traffic identifier that GEM response frame is corresponding, processes traffic identifier GEM response frame is mapped as to downstream service flow according to downlink business;
For example, GPON chip determines according to downlink business processing traffic identifier the downlink physical port that GEM response frame is corresponding; GEM response frame is mapped as downstream service flow by GPON chip, and wherein, the IVLAN layer of downstream service flow carries the IVLAN mark of indicating downlink physical port;
Step C, GPON chip is sent to downlink physical port by exchange chip by downstream service flow;
For example, downstream service flow is sent to exchange chip by GPON chip; Exchange chip determines that ONT enables Business Stream and distinguishes after option, determines downlink physical port corresponding to downstream service flow according to the IVLAN mark of downstream service flow; Exchange chip is deleted IVLAN layer in downstream service flow, and downstream service flow is sent to downlink physical port.
After the GPON chip of the present embodiment determines that the above-mentioned Business Stream of this ONT not enabled is distinguished option, said method also comprises: GPON chip is deleted the IVLAN layer that above-mentioned uplink service stream carries, and according to VLAN mark and/or service priority information in uplink service stream, uplink service stream is mapped as to GEM frame.Processing after deletion IVLAN layer is identical with processing of the prior art, repeats no more here.
The exchange chip of the present embodiment is before uploading Business Stream to GPON chip, before the outside VLAN of Business Stream, dose IVLAN layer, use the IVLAN in this IVLAN layer to identify the physical port that indicates this Business Stream, solve the effectively problem of differentiated service of GPON chip (or PON chip), even if the VLAN of multiple Business Streams mark is all identical with PRI, GPON chip still can separate each Business Stream by the IVLAN tag slot in IVLAN layer, and then completes Business Stream is mapped as to GEM frame.
Embodiment 2
The ONT structure of the present embodiment based on shown in Fig. 1, its exchange chip possesses after the normal process function of Ethernet service stream, increases and has pair uplink service stream, the function of adding IVLAN layer according to user's physical port; GPON chip, except normal function, needs to increase the function of the IVLAN layer of whether enabling the judgement of IVLAN function, being mapped to FlowID function, deletion Business Stream according to IVLAN and according to FlowID, Business Stream is mapped to the function of GEM frame.
Fig. 3 has illustrated that ONT realizes uplink service and flows according to user's physical port the mapping function to GEM, and specific implementation step is as follows:
Step S302, user's unicast service stream sends into by certain physical port of ONT;
Step S304, the exchange chip of ONT carries out normal ethernet frame processing to up unicast service stream, for example, comprise the operation such as service VLAN or service priority that increases or revise ethernet frame;
Step S306, the exchange chip of ONT is dosed corresponding IVLAN mark to the uplink service stream after normal process according to the physical port of its entrance; As physical port 1, add IVLAN=1; In the present embodiment, the internal layer of ethernet frame represents that the VLAN of business does not change;
Step S308, the exchange chip of ONT is transmitted to GPON chip by the ethernet frame (also claiming uplink service stream) of having dosed IVLAN mark by upper united mouth;
Step S310, the GPON chip of ONT has judged whether to configure the function of enabling IVLAN, and whether ONT enables Business Stream and distinguishes option; If so, execution step S312; If not, execution step S320;
Step S312, the GPON chip of ONT reads IVLAN mark, and according to IVLAN mark, ethernet frame is mapped in a corresponding GPON stream (Flow), and this Flow identifies by Flow ID; Be ethernet frame and distribute a GPON traffic identifier;
Step S314, GPON chip is deleted IVLAN mark, and deletion IVLAN mark is because now IVLAN mark does not act on, avoids the service VLAN identification collision of IVLAN mark and Business Stream simultaneously;
Step S316, GPON chip is according to the service VLAN mark of GPON stream ID and Business Stream, and the information such as service priority, and this stream is mapped in GEM frame;
Step S318, GPON chip carries out Service control and congested scheduling according to normal configuration to GEM frame, and the ethernet frame of now successfully different user physical ports being come in, has been mapped in different GEM frames; Above-mentioned GEM frame is sent to OLT by ONT.
Step S320, deletes IVLAN mark, according to existing procedure processing.For example, GPON chip is directly deleted into the IVLAN mark to ethernet frame, processes according to common mapping method;
The processing that GPON chip sends GEM frame belongs to normal GPON chip processing procedure, repeats no more; When Business Stream is descending, according to operating with the inverse direction of up symmetry, Business Stream can be forwarded to user port smoothly.
The exchange chip of the present embodiment is before uploading Business Stream to GPON chip, before the outside VLAN of Business Stream, dose IVLAN layer, use the IVLAN in this IVLAN layer to identify the physical port that indicates this Business Stream, can realize and effectively take the physical port information of exchange chip to GPON chip, to realize the mapping to GEM according to physical port of uplink service stream, solve the effectively problem of differentiated service of GPON chip (or PON chip), even if the VLAN of multiple Business Streams mark is all identical with PRI, GPON chip still can separate each Business Stream by the IVLAN tag slot in IVLAN layer, and then complete Business Stream is mapped as to GEM frame.
Embodiment 3
Fig. 4 shows according to the structured flowchart of the ONT of the embodiment of the present invention, and this ONT comprises exchange chip 42, GPON chip 44 and CPU processor 46, and wherein, exchange chip 42 comprises:
Mark is dosed module 424, and for dose one deck IVLAN before the virtual LAN VLAN layer of uplink service stream, the IVLAN mark in this IVLAN is in order to indicate the physical port of uplink service stream;
Sending module 426, doses module 424 with mark and is connected, for the uplink service stream that carries mark and dose the IVLAN mark that module 424 doses is sent to GPON chip 44;
GPON chip 44 comprises:
Identity reading module 442, for determining that ONT enables Business Stream and distinguishes option, reads the IVLAN mark in uplink service stream;
Mapping block 444, is connected with identity reading module 442, for identify corresponding GPON Business Processing stream according to IVLAN, uplink service stream is mapped as to GEM frame.
Preferably, mapping block 444 comprises:
Mark allocation units, distribute uplink service to process traffic identifier for be designated uplink service stream according to IVLAN;
Map unit, is mapped as GEM frame for processing traffic identifier according to uplink service by uplink service stream.
Particularly, map unit can comprise:
Delete subelement, the IVLAN layer carrying for deleting uplink service stream;
Determine subelement, for determining that uplink service stream carries VLAN mark and/or service priority information;
Mapping subelement, determines for basis VLAN mark and/or the service priority information that subelement is definite, and uplink service stream is mapped as GEM frame by the uplink service processing traffic identifier distributing according to mark allocation units.
Complete after the mapping of GEM frame, GPON chip 44 will send this GEM frame to OLT, and based on this, GPON chip 44 also comprises: GEM frame sending module, for according to control and scheduling configuration information, GEM frame being carried out to Service control and congested scheduling, the GEM frame after scheduling is sent to optical line terminal OLT.
For the processing of downstream service flow, GPON chip 44 also comprises:
GEM response frame receiver module, for receiving the GEM response frame from OLT, determines that ONT enables Business Stream and distinguishes option;
Descending mapping block, for the downlink business processing traffic identifier of determining that GEM response frame is corresponding, processes traffic identifier according to downlink business GEM response frame is mapped as to downstream service flow;
Downstream service flow sending module, for being sent to downlink physical port by exchange chip by downstream service flow.
Wherein, descending mapping block comprises:
Port determining unit, determines for processing traffic identifier according to downlink business the downlink physical port that GEM response frame is corresponding;
Descending map unit, for GEM response frame is mapped as to downstream service flow, wherein, the IVLAN layer of downstream service flow carries the IVLAN mark of indicating downlink physical port.
For example, downstream service flow is sent to exchange chip by GPON chip 44; Exchange chip 42 determines that ONT enables Business Stream and distinguishes after option, determines downlink physical port corresponding to downstream service flow according to the IVLAN mark of downstream service flow; Exchange chip 42 is deleted IVLAN layer in downstream service flow, and downstream service flow is sent to downlink physical port.
After the GPON chip of the present embodiment determines that the above-mentioned Business Stream of this ONT not enabled is distinguished option, said method also comprises: GPON chip is deleted the IVLAN layer that above-mentioned uplink service stream carries, and according to VLAN mark and/or service priority information in uplink service stream, uplink service stream is mapped as to GEM frame.Processing after deletion IVLAN layer is identical with processing of the prior art, repeats no more here.
The ONT of the present embodiment is on the basis of existing ONT, exchange chip and GPON chip have been increased to new function, be that exchange chip is before uploading Business Stream to GPON chip, before the outside VLAN of Business Stream, dose IVLAN layer, use the IVLAN in this IVLAN layer to identify the physical port that indicates this Business Stream, and GPON chip will be according to this IVLAN tag slot separate service stream, solve the effectively problem of differentiated service of GPON chip (or PON chip), even if the VLAN of multiple Business Streams mark is all identical with PRI, GPON chip still can separate each Business Stream by the IVLAN tag slot in IVLAN layer, and then complete Business Stream is mapped as to GEM frame.
As can be seen from the above description, exchange chip and the GPON chip of the present invention to original ONT increased new function, increased by the function of physical port identification information differentiated service stream, simultaneously for the original GEM mapping function of compatibility, in ONT, be provided with global variable traffic differentiation function choosing-item, in actual use, can start as required/close this traffic differentiation function choosing-item, realize simple and conveniently, there is very strong practicality.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that multiple calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in storage device and be carried out by calculation element, and in some cases, can carry out shown or described step with the order being different from herein, or they are made into respectively to each integrated circuit modules, or the multiple modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (14)

1. a method of shining upon Business Stream, is characterized in that, comprising:
The exchange chip of Optical Network Terminal ONT is dosed one deck port VLAN IVLAN before the virtual LAN VLAN layer of uplink service stream, and the IVLAN mark in described IVLAN is in order to indicate the physical port of described uplink service stream;
Described exchange chip sends to the described uplink service stream that carries described IVLAN mark the Ethernet passive optical network GPON chip of described ONT;
Described GPON chip determines that described ONT enables Business Stream and distinguishes option, read the described IVLAN mark in described uplink service stream, identify corresponding GPON Business Processing stream according to described IVLAN, described uplink service stream is mapped as to Ethernet passive optical network encapsulation format GEM frame.
2. method according to claim 1, is characterized in that, described GPON chip identifies corresponding GPON Business Processing stream according to described IVLAN, described uplink service stream is mapped as to GEM frame and comprises:
Described GPON chip is designated described uplink service stream according to described IVLAN and distributes uplink service to process traffic identifier;
Described GPON chip is processed traffic identifier according to described uplink service described uplink service stream is mapped as to GEM frame.
3. method according to claim 2, is characterized in that, described GPON chip is mapped as GEM frame according to described uplink service processing traffic identifier by described uplink service stream and comprises:
Described GPON chip is deleted the IVLAN layer that described uplink service stream carries;
Described GPON chip determines that described uplink service stream carries VLAN mark and/or service priority information;
Described GPON chip identifies and/or service priority information according to described VLAN, and according to described uplink service processing traffic identifier, described uplink service stream is mapped as to GEM frame.
4. according to the method described in claim 1-3 any one, it is characterized in that, after described uplink service stream is mapped as GEM frame by described GPON chip, described method also comprises:
Described GPON chip carries out Service control and congested scheduling according to control and scheduling configuration information to described GEM frame;
The described GEM frame after scheduling is sent to optical line terminal OLT by described GPON chip.
5. method according to claim 4, is characterized in that, after the described GEM frame after scheduling is sent to OLT by described GPON chip, described method also comprises:
Described GPON chip receives the GEM response frame from described OLT, determines that described ONT enables described Business Stream and distinguishes option;
Described GPON chip is determined the downlink business processing traffic identifier that described GEM response frame is corresponding, processes traffic identifier described GEM response frame is mapped as to downstream service flow according to described downlink business;
Described GPON chip is sent to downlink physical port by described exchange chip by described downstream service flow.
6. method according to claim 5, is characterized in that, described GPON chip is mapped as downstream service flow according to described downlink business processing traffic identifier by described GEM response frame and comprises:
Described GPON chip is processed traffic identifier according to described downlink business and is determined the downlink physical port that described GEM response frame is corresponding;
Described GEM response frame is mapped as downstream service flow by described GPON chip, and wherein, the IVLAN layer of described downstream service flow carries the IVLAN mark of the described downlink physical port of instruction.
7. method according to claim 6, is characterized in that, described GPON chip is sent to described downlink physical port by described exchange chip by described downstream service flow and comprises:
Described downstream service flow is sent to described exchange chip by described GPON chip;
Described exchange chip determines that described ONT enables described Business Stream and distinguishes after option, determines downlink physical port corresponding to described downstream service flow according to the described IVLAN mark of described downstream service flow;
Described exchange chip is deleted IVLAN layer described in described downstream service flow, and described downstream service flow is sent to described downlink physical port.
8. method according to claim 1, is characterized in that, after described GPON chip determines described in described ONT not enabled that Business Stream is distinguished option, described method also comprises:
Described GPON chip is deleted the IVLAN layer that described uplink service stream carries, and according to VLAN mark and/or service priority information in described uplink service stream, described uplink service stream is mapped as to GEM frame.
9. an Optical Network Terminal ONT, comprises exchange chip and Ethernet passive optical network GPON chip, it is characterized in that,
Described exchange chip comprises:
Mark is dosed module, and for dose one deck port VLAN IVLAN before the virtual LAN VLAN layer of uplink service stream, the IVLAN mark in described IVLAN is in order to indicate the physical port of described uplink service stream;
Sending module, for sending to described GPON chip by the described uplink service stream that carries described mark and dose the described IVLAN mark that module doses;
Described GPON chip comprises:
Identity reading module, for determining that described ONT enables Business Stream and distinguishes option, reads the described IVLAN mark in described uplink service stream;
Mapping block, for identify corresponding GPON Business Processing stream according to described IVLAN, is mapped as Ethernet passive optical network encapsulation format GEM frame by described uplink service stream.
10. ONT according to claim 9, is characterized in that, described mapping block comprises:
Mark allocation units, distribute uplink service to process traffic identifier for be designated described uplink service stream according to described IVLAN;
Map unit, is mapped as GEM frame for processing traffic identifier according to described uplink service by described uplink service stream.
11. ONT according to claim 10, is characterized in that, described map unit comprises:
Delete subelement, the IVLAN layer carrying for deleting described uplink service stream;
Determine subelement, for determining that described uplink service stream carries VLAN mark and/or service priority information;
Mapping subelement, for described VLAN mark and/or the service priority information determined according to described definite subelement, and described uplink service stream is mapped as GEM frame by the described uplink service processing traffic identifier distributing according to described mark allocation units.
12. according to the ONT described in claim 9-11 any one, it is characterized in that, described GPON chip also comprises:
GEM frame sending module, for according to control and scheduling configuration information, described GEM frame being carried out to Service control and congested scheduling, sends to optical line terminal OLT by the described GEM frame after scheduling.
13. ONT according to claim 12, is characterized in that, described GPON chip also comprises:
GEM response frame receiver module, for receiving the GEM response frame from described OLT, determines that described ONT enables described Business Stream and distinguishes option;
Descending mapping block, for the downlink business processing traffic identifier of determining that described GEM response frame is corresponding, processes traffic identifier according to described downlink business described GEM response frame is mapped as to downstream service flow;
Downstream service flow sending module, for being sent to downlink physical port by described exchange chip by described downstream service flow.
14. ONT according to claim 13, is characterized in that, described descending mapping block comprises:
Port determining unit, determines for processing traffic identifier according to described downlink business the downlink physical port that described GEM response frame is corresponding;
Descending map unit, for described GEM response frame is mapped as to downstream service flow, wherein, the IVLAN layer of described downstream service flow carries the IVLAN mark of the described downlink physical port of instruction.
CN201010565485.0A 2010-11-29 2010-11-29 Method for mapping service flow and ONT (Optical Network Termination) Active CN102480652B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010565485.0A CN102480652B (en) 2010-11-29 2010-11-29 Method for mapping service flow and ONT (Optical Network Termination)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010565485.0A CN102480652B (en) 2010-11-29 2010-11-29 Method for mapping service flow and ONT (Optical Network Termination)

Publications (2)

Publication Number Publication Date
CN102480652A CN102480652A (en) 2012-05-30
CN102480652B true CN102480652B (en) 2014-09-10

Family

ID=46093108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010565485.0A Active CN102480652B (en) 2010-11-29 2010-11-29 Method for mapping service flow and ONT (Optical Network Termination)

Country Status (1)

Country Link
CN (1) CN102480652B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158716A (en) * 2013-05-13 2014-11-19 中兴通讯股份有限公司 Method for processing message and cascading chip
CN104540047B (en) * 2015-01-09 2017-12-29 烽火通信科技股份有限公司 The method and system of the layer service mixture of ONU end mouth two or three are realized in GPON
WO2019205136A1 (en) * 2018-04-28 2019-10-31 华为技术有限公司 Message processing method and device
CN113329276B (en) 2020-02-28 2022-10-28 华为技术有限公司 Data transmission method, device, gateway, chip and storage medium
CN113242478B (en) * 2021-06-16 2022-03-25 烽火通信科技股份有限公司 Method and device for distinguishing PON channel and service channel
CN117201434A (en) * 2023-11-07 2023-12-08 杭州初灵信息技术股份有限公司 Ethernet data interaction method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299698A (en) * 2007-04-30 2008-11-05 华为技术有限公司 Communication agent method and apparatus as well as system
CN101414955A (en) * 2007-10-16 2009-04-22 中兴通讯股份有限公司 Method for controlling data stream of virtual LAN in Ethernet passive optical network system
CN101425944A (en) * 2007-10-30 2009-05-06 中兴通讯股份有限公司 Method for service bearing in G bit passive optical network system
CN101895427A (en) * 2010-07-23 2010-11-24 中兴通讯股份有限公司 Stream-based virtual local area network processing method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299698A (en) * 2007-04-30 2008-11-05 华为技术有限公司 Communication agent method and apparatus as well as system
CN101414955A (en) * 2007-10-16 2009-04-22 中兴通讯股份有限公司 Method for controlling data stream of virtual LAN in Ethernet passive optical network system
CN101425944A (en) * 2007-10-30 2009-05-06 中兴通讯股份有限公司 Method for service bearing in G bit passive optical network system
CN101895427A (en) * 2010-07-23 2010-11-24 中兴通讯股份有限公司 Stream-based virtual local area network processing method and system

Also Published As

Publication number Publication date
CN102480652A (en) 2012-05-30

Similar Documents

Publication Publication Date Title
CN102480652B (en) Method for mapping service flow and ONT (Optical Network Termination)
CN102396189B (en) Dynamic bandwidth assignment device, method of same, and optical line terminal of PON system
US8259751B2 (en) Bandwidth-allocating device and method
JP3819898B2 (en) Bandwidth allocation method for voice service in Gigabit Ethernet passive optical network
US20030235205A1 (en) Ethernet passive optical network system
CN103297866B (en) Uplink and downlink bandwidth allocation methods, equipment and nested system
CN108370270A (en) Distribution method, device and the passive optical network of dynamic bandwidth
CN108965157A (en) Data transmission method, device, equipment and system
CN105634991A (en) Method and apparatus for achieving service bandwidth allocation
CN103441960A (en) Real-time multi-business data communication multiplexing method of electric power system
CN101253736A (en) Optical communication network system, parent station optical communication device, and child station optical communication device
CN104270326B (en) A kind of method and apparatus of smooth networking customization service access
CN109936781A (en) A kind of method, apparatus and system of data transmission
KR100566294B1 (en) Dynamic bandwidth allocation method for gigabit ethernet passive optical network
CN112822128B (en) PON system message mirroring method and PON system
CN108092709A (en) Pretection switch method and optical line terminal, optical network apparatus in passive optical network
CN112105056B (en) Code stream transmission method and device based on 5GSA network
CN106982092A (en) The exception message catching method and ONT Optical Network Terminal of ONT Optical Network Terminal
US8295700B2 (en) Distributed packet switch for use in a network
JP7374394B2 (en) Optical line termination equipment, optical access network system and optical communication method
CN105262661A (en) Network system and method for solving ring formation of access layer of IPRAN packet transport network through wireless mode
US20070171906A1 (en) Apparatus and method for extending functions from a high end device to other devices in a switching network
CN101141324B (en) Method for implementing distinguished process to transmission information in ethernet monitoring channel
JP2004289780A (en) Optical subscriber's line terminal station device, optical subscriber's line termination apparatus and band assignment method to be used thereby
KR100689483B1 (en) Ethernet passive optical network and l2 switching method

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