CN105933802B - A kind of the passive optical network communication means and system of ONU mixed insertion - Google Patents

A kind of the passive optical network communication means and system of ONU mixed insertion Download PDF

Info

Publication number
CN105933802B
CN105933802B CN201610506779.3A CN201610506779A CN105933802B CN 105933802 B CN105933802 B CN 105933802B CN 201610506779 A CN201610506779 A CN 201610506779A CN 105933802 B CN105933802 B CN 105933802B
Authority
CN
China
Prior art keywords
message
data message
onu
agreement
wave band
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
CN201610506779.3A
Other languages
Chinese (zh)
Other versions
CN105933802A (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.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201610506779.3A priority Critical patent/CN105933802B/en
Publication of CN105933802A publication Critical patent/CN105933802A/en
Application granted granted Critical
Publication of CN105933802B publication Critical patent/CN105933802B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects
    • H04Q2011/0037Operation
    • H04Q2011/0047Broadcast; Multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0073Provisions for forwarding or routing, e.g. lookup tables

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention relates to field of communication technology more particularly to the passive optical network communication means and system of a kind of ONU mixed insertion, to solve the problems, such as the waste and service disconnection of PON board resource existing in the prior art.In reported data message, ONU determines the protocol format of data message according to load-balancing algorithm, and after packaging is accomplished, and any wavelength when encapsulating in the corresponding wave band of protocol format used sends the data message after encapsulation to OLT;When issuing data message, protocol format OLT corresponding when establishing management passage and protocol stack according to purpose ONU is packaged data message, and after packaging is accomplished, any wavelength when encapsulating in the corresponding wave band of protocol format used to the data message after each ONU broadcast encapsulation, thus, in the case where ONU mixed insertion, preferably promote the efficiency of data-message transmission, service disconnection and the wasting of resources, effectively realization dynamic load leveling are avoided, to promote bandwidth availability ratio.

Description

A kind of the passive optical network communication means and system of ONU mixed insertion
Technical field
The present invention relates to the passive optical network communication means of field of communication technology more particularly to a kind of ONU mixed insertion and it is System.
Background technique
With being gradually introduced for Gigabit Passive Optical Network GPON technology, and increasingly present main trend, existing use with The network of too passive optical network EPON access can not be temporarily substituted completely, so whole using EPON ONU and GPON ONU Hold the scene of mixed insertion will be more urgent.
Currently, the side OLT needs insertion GPON plate to use GPON agreement to access in terms of local side optical line terminal OLT side Card needs to be inserted into EPON board to use EPON agreement to access, although can be realized whole frame mixed insertion EPON in the prior art Or GPON board, but still lack the PON board of terminal adaptive access that is a kind of while supporting GPON and EPON agreement. In terms of the side ONU, although having been carried out adaptive dual-mode terminal in the prior art, EPON or GPON can be adapted into automatically Terminal, but a kind of agreement still can be only run simultaneously, either operation GPON agreement or EPON agreement, bandwidth still keep former Some 1G.
In reality scene, the ONU situation of PON mouthfuls of lower hybrid junction EPON or GPON, such as dilatation demand or EPON and GPON The switching of business can make the waste and service disconnection of the side OLT PON board resource;More seriously, it in optical fiber distribution box, connects Line person is if there is protocol format and the protocol format misconnection of the corresponding side OLT PON board of ONU, then business can not be opened at all It is logical.
Summary of the invention
The embodiment of the present invention provides the passive optical network communication means and system of a kind of ONU mixed insertion, to solve existing skill Present in art the problem of the waste and service disconnection of PON board resource.
The embodiment of the present invention uses following technical scheme:
In a first aspect, providing a kind of passive optical network communication means of ONU mixed insertion, there is 1000 M passive applied to compatibility In the passive optical network of optical-fiber network GPON agreement and ethernet passive optical network EPON agreement, which comprises
In optical network unit ONU reported data message, the ONU determines the datagram according to load-balancing algorithm The protocol format of text, and after packaging is accomplished, any wavelength when encapsulating in the corresponding wave band of protocol format used is to light Road terminal OLT sends the data message after encapsulation;
When the OLT issues data message, institute is right when the OLT establishes management passage and protocol stack according to purpose ONU The protocol format answered is packaged the data message, and after packaging is accomplished, and protocol format used is corresponding when encapsulating Any wavelength in wave band broadcasts the data message after encapsulation to each ONU.
With reference to first aspect, in the first possible implementation, the datagram is determined according to load-balancing algorithm The protocol format of text, specifically includes:
The corresponding Simhash value of the data message is determined based on Simhash algorithm, is determined according to the Simhash value The protocol format of the data message.
The possible implementation of with reference to first aspect the first is based in the second possible implementation Simhash algorithm determines the corresponding Simhash value of the data message, specifically includes:
N number of effective feature vector is extracted from the data message;
Calculate the hash value of each feature vector;
It is each feature vector setting weight according to network environment, and to the corresponding element of all feature vectors after weighting Element carries out accumulation process and obtains an assemblage characteristic vector;
The assemblage characteristic vector is normalized, and dimensionality reduction obtains the corresponding Simhash of the data message Value.
The possible implementation of second with reference to first aspect, in the third possible implementation, from the number According to N number of effective feature vector is extracted in message, specifically include:
Following parameter is extracted respectively from the data message as six effective feature vectors: S-Mac, D-Mac, S-IP, D-IP, S-Port, D-Port.
The third possible implementation with reference to first aspect, in the fourth possible implementation, described six The weight setting of effective feature vector meets following rule: the weight of S-Mac or weight≤S-IP weight of D-Mac or Weight≤S-Port weight of D-IP or the weight of D-Port.
With reference to first aspect, in a fifth possible implementation, used in the corresponding message of the GPON agreement Wave band used in wave band message corresponding with the EPON agreement is without intersecting;
And wave band downlink message corresponding with the GPON agreement used in the corresponding uplink message of the GPON agreement For used wave band without intersection, wave band used in the corresponding uplink message of the EPON agreement is corresponding with the EPON agreement Downlink message used in wave band without intersection.
With reference to first aspect, in a sixth possible implementation, before data message interaction, the method is also Include:
Any ONU is packaged management message or protocol massages according to preset protocol format, in encapsulation completion Any wavelength when afterwards, to encapsulate in the corresponding wave band of protocol format used to the OLT send the management message after encapsulation or Protocol massages;
Wavelength used in the management message or protocol massages that the OLT identification receives, and according to the wavelength recognized Identified protocol format decapsulates the management message or protocol massages.
Second aspect, provides a kind of passive optical network communication system of ONU mixed insertion, which has 1000 M passive Optical-fiber network GPON agreement and ethernet passive optical network EPON agreement, comprising:
Optical network unit ONU, for determining the data message according to load-balancing algorithm in reported data message Protocol format, and after packaging is accomplished, any wavelength when encapsulating in the corresponding wave band of protocol format used is to optical link Terminal OLT sends the data message after encapsulation;
Optical line terminal OLT, for when issuing data message, when establishing management passage and protocol stack according to purpose ONU Corresponding protocol format is packaged the data message, and after packaging is accomplished, protocol format pair used when encapsulating Any wavelength in the wave band answered broadcasts the data message after encapsulation to each ONU.
In conjunction with second aspect, in the first possible implementation, the ONU is determined according to load-balancing algorithm When the protocol format of the data message, it is specifically used for:
The corresponding Simhash value of the data message is determined based on Simhash algorithm, is determined according to the Simhash value The protocol format of the data message.
In conjunction with the first possible implementation of second aspect, in the second possible implementation, the ONU When determining the corresponding Simhash value of the data message based on Simhash algorithm, it is specifically used for:
N number of effective feature vector is extracted from the data message;
Calculate the hash value of each feature vector;
It is each feature vector setting weight according to network environment, and to the corresponding element of all feature vectors after weighting Element carries out accumulation process and obtains an assemblage characteristic vector;
The assemblage characteristic vector is normalized, and dimensionality reduction obtains the corresponding Simhash of the data message Value.
In conjunction with second of possible implementation of second aspect, in the third possible implementation, the ONU When extracting N number of effective feature vector from the data message, it is specifically used for:
Following parameter is extracted respectively from the data message as six effective feature vectors: S-Mac, D-Mac, S-IP, D-IP, S-Port, D-Port.
In conjunction with the third possible implementation of second aspect, in the fourth possible implementation, described six The weight setting of effective feature vector meets following rule: the weight of S-Mac or weight≤S-IP weight of D-Mac or Weight≤S-Port weight of D-IP or the weight of D-Port.
In conjunction with second aspect, in a fifth possible implementation, used in the corresponding message of the GPON agreement Wave band used in wave band message corresponding with the EPON agreement is without intersecting;
And wave band downlink message corresponding with the GPON agreement used in the corresponding uplink message of the GPON agreement For used wave band without intersection, wave band used in the corresponding uplink message of the EPON agreement is corresponding with the EPON agreement Downlink message used in wave band without intersection.
In conjunction with second aspect, in a sixth possible implementation, the ONU be also used to reported data message it Before, management message or protocol massages are packaged according to preset protocol format, after the package has been finalized, institute when encapsulating Management message or protocol massages after encapsulation are sent to the OLT with any wavelength in the corresponding wave band of protocol format;With And
The OLT is also used to identify wavelength used in the management message or protocol massages that receive, and according to recognizing Wavelength determined by protocol format the management message or protocol massages are decapsulated.
The present invention has the beneficial effect that:
On same PON board (side OLT and the side ONU), while supporting EPON agreement and GPON agreement, thus, so that The selection of the access of the side OLT or the side ONU is more preferably flexible, combines existing network environment and equipment.Moreover, EPON agreement and GPON are assisted When switching between view, replacement PON board is not needed, the waste of resource or the interruption of message transmissions are avoided, improved well existing There is the problem of technology.Most importantly, the application uses load-balancing algorithm, realizes Rational choice EPON association The purpose of view or GPON agreement, improves the utilization rate of fiber optic network, increases original total bandwidth.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, required in being described below to embodiment The attached drawing used is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, right For those skilled in the art, without any creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is passive optical network communication system configuration diagram according to the present invention;
Fig. 2 is the flow diagram of passive optical network according to the present invention interaction uplink data messages;
Fig. 3 is that the present invention is based on the method and steps that Simhash algorithm determines the corresponding Simhash value of the data message Flow chart;
Fig. 4 is the algorithm flow schematic diagram that Simhash value is determined to data message;
Fig. 5 is the flow diagram of passive optical network according to the present invention interaction downlink data message;
Fig. 6 is that wave band divides schematic diagram.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
Technical solution according to the present invention is described in detail below by specific embodiment, the present invention includes But it is not limited to following embodiment.
Firstly, taking the example shown in figure 1, simply introducing passive optical network communication system framework according to the present invention, this is System is a kind of typical point-to-multipoint networking structure, mainly by optical line terminal OLT and connects multiple light nets of the OLT Network unit ONU composition, unlike the prior art, wave division multiplexing WDM module is built-in in OLT of the present invention, i.e. the WDM Module is located inside OLT and is connected by optical fiber with the PON chip of compatible double agreements, wherein PON chip compatibility pair agreements are Refer to: GPON agreement and EPON agreement can be run simultaneously inside the OLT.Similarly, the WDM module in ONU is similarly interior It sets, and has the PON chip of double agreements by light connection compatibility, the embedding structure of OLT, the inside of ONU are only shown in Fig. 1 Structure is similar with the embedding structure of OLT.In fact, which further includes the Optical Distribution Network ODN between OLT and each ONU, The ODN exists as a shared link, is mainly used for transmitting the message by being formed after WDM module multiplex.
For example, the PON chip in OLT sends the corresponding message 1 of GPON agreement and EPON using different wave length respectively The corresponding message 2 of agreement, WDM module carry out multiplex processing to the two messages, the message 3 after forming an integration, and pass through This shared link of ODN is transferred to ONU, after ONU receives message 3, carries out at partial wave first with WDM module to message 3 Reason generates the corresponding message of GPON agreement all the way, all the way the corresponding message of EPON agreement, wherein not to referred to herein The format of message is defined, and can be management message or one of protocol massages or service message or a variety of.
It is situated between in detail below by specific message interaction to passive optical network communication plan according to the present invention It continues.
The present invention mainly describes a kind of passive optical network communication means of ONU mixed insertion, has 1000 M passive applied to compatibility In the passive optical network of optical-fiber network GPON agreement and ethernet passive optical network EPON agreement, reported in optical network unit ONU When data message, the ONU determines the protocol format of the data message according to load-balancing algorithm, and after packaging is accomplished, Any wavelength when encapsulating in the corresponding wave band of protocol format used sends the datagram after encapsulation to optical line terminal OLT Text;When the OLT issues data message, the OLT is corresponding when establishing management passage and protocol stack according to purpose ONU Protocol format is packaged the data message, and after packaging is accomplished, protocol format used corresponding wave when encapsulating Any wavelength in section broadcasts the data message after encapsulation to each ONU.
The data message interacted between OLT and ONU is mainly used for service interaction, and its interactive process in OLT and Management passage is established between ONU and establishes progress after the dual stack of EPON agreement and GPON agreement.
As shown in Fig. 2, for the flow diagram of passive optical network according to the present invention interaction uplink data messages, it is main Want the following steps are included:
Step 21:ONU determines the protocol format of uplink data messages according to load-balancing algorithm.
Specifically, when ONU needs reporting uplink data message, need to be dynamically determined report using load-balancing algorithm The protocol format that text is sent thereby determines that the protocol format for selecting the uplink data messages, or can be understood as transmission and lead to Road.This is because after ONU receives data message (i.e. service message), for the EPON agreement pair of balanced PON chip The access and the corresponding access of GPON agreement answered can use load-balancing algorithm to select suitable transmission for service message Access selects suitable protocol format to be packaged.
Optionally, the protocol format of data message is determined according to load-balancing algorithm, it is specific to execute as based on Simhash Algorithm determines the corresponding Simhash value of the data message, and the protocol format of the data message is determined according to Simhash value.
Specifically, the corresponding Simhash value of the data message is determined based on Simhash algorithm, referring to shown in Fig. 3, tool Body the following steps are included:
Step 31: N number of effective feature vector is extracted from the data message.
Step 32: calculating the hash value of each feature vector.
Step 33: being each feature vector setting weight according to network environment, and to all feature vectors after weighting Corresponding element carries out accumulation process and obtains an assemblage characteristic vector.
Step 34: the assemblage characteristic vector being normalized, and to obtain the data message corresponding for dimensionality reduction Simhash value.
For example, referring to the algorithm flow schematic diagram shown in Fig. 4 for determining Simhash value for data message.
The first step, extraction { S-Mac, D-Mac, S-IP, D-IP, S-Port, D-Port } this six has from data message Imitate feature vector, wherein S-Mac is source MAC, and D-Mac is purpose MAC Address, and S-IP is source IP address, and D-IP is mesh IP address, S-Port be the port source TCP/UDP, D-Port be the port purpose TCP/UDP.
About the selection of feature vector, the feature vectors such as MAC, IP, Port are mentioned above, based on common scene Through can satisfy the needs of load balancing, promote load equilibrium of course for further, can also select as needed COS, DSCP and channel load situation etc. are used as feature vector, and the present invention does not limit the range of choice of feature vector and number It is fixed.
Second step calculates hash value to each feature vector, wherein the array of the n-bit for 0,1 composition;Such as S-Mac The hash value that the hash value of feature vector is 0001, D-Mac is 0010, and so on, specific algorithm can be according to existing Hash algorithm obtains.In addition, it is necessary to which explanation, the value of each feature vector can randomly select, such as the application selection Tetrad, as long as the value for each feature vector chosen is different.
Weight { 1,1,3,3,2,2 } is arranged for each feature vector in third step.Wherein, the step is firstly the need of will be each The hash value of feature vector is converted, and 1 is positive, and 0 is negative, and then all feature vectors are weighted place by the weight of setting Reason, wherein weight setting here can be reasonably adjusted according to specific network environment.
4th step merges each feature vector after weighting, adds up, obtains { -4,0,0, -10 }.
5th step carries out normalization to { -4,0,0, -10 }, and being greater than 0 is 1, and being less than or equal to 0 is 0, obtain -1,0, 0,-1}。
6th step, by { -1,0,0, -1 } cumulative dimensionality reduction, the Simhash value for just obtaining the data message is 0.
So far, it determines Simhash value corresponding to data message, then, determines that data message seals according to Simhash value Dress protocol format used, so that it is determined that channel used in data message;For example, data message gives the correct time from ONU, if Simhash value is 0, can choose GPON agreement and is packaged, i.e. selection GPON tunnel data message;If Simhash Value is 1, then EPON agreement is selected to be packaged, i.e. selection EPON tunnel data message.
It should be noted that above scheme determine Simhash value value be with preset logic ID and The value of GEM-Port-ID is relevant, if logic ID corresponds to EPON agreement, value is 0, otherwise, value 1;Similarly, If GEM-Port-ID corresponds to EPON agreement, value is 0, otherwise, value 1.In this way, can establish Simhash value is 0, EPON is selected, Simhash value is 1, selects the corresponding lists of GPON, and where determine selection according to the Simhash value being calculated A agreement is packaged.In fact, it is only to give a kind of achievable mode here, other plans of establishment can also be used, The value of each feature vector is defined for 0 or 1 in advance.
In addition, the distribution for weight, it is contemplated that ONU, terminal user substantially use outbound communication, data message warp OLT uplink reaches gateway outlet, and S-Mac and D-Mac variation are smaller, and weight can be set smaller.IP and Port field difference Expression can be with the biggish weight of distribution ratio, when such ONU business datum uplink (reporting), it is easier to assign to two channels In.In addition the data of DSCP and COS high can bias toward (the behavior under behavior 2.5Gbps under GPON, EPON of the channel GPON 1.25Gbps).In addition, the characteristics of according to the passive optical network, FTTH fiber entering household is increasingly becoming mainstream, and ONU is generally accessed To in user family, i.e., terminal access device is relatively fixed, therefore S-Mac compares the variation of other feature vectors with D-Mac not Greatly, therefore the weight proportion of distribution is less than normal, such as accesses different websites for the port numbers of S-IP and D-IP and application layer, answers With program etc., there are certain variations, therefore the weight proportion distributed is bigger than normal, it is proposed that range S-Mac weight orD-Mac The weight of weight≤S-Port weight or D-Port of weight≤S-IP weight ro D-IP;Preferably, { S-Mac, D- Mac, S-IP, D-IP, S-Port, D-Port } weight proportion can be set to { 1,1,3,3,2,2 }.
Step 22:ONU is according to determining that protocol format is packaged the uplink data messages.
In the step 22, if it with protocol format is EPON that step 21, which determines the encapsulation of data message, ONU with EPON agreement is packaged the data message;If it is determined that the encapsulation of data message is GPON with protocol format, then ONU with GPON agreement is packaged the data message.
Step 23: after packaging is accomplished, any wavelength when encapsulating in the corresponding wave band of protocol format used is to OLT Uplink data messages after sending encapsulation.
Since EPON agreement and GPON agreement are preset with wave band used in respective uplink and downlink, After packaging is accomplished, if with EPON protocol encapsulation, using any wave in wave band used in the corresponding uplink of EPON agreement The long uplink data messages sent after encapsulation;If with GPON protocol encapsulation, using used in the corresponding uplink of GPON agreement Any wavelength in wave band sends the uplink data messages after encapsulation.
In fact, this is only the introduction chosen for the channel of the uplink data messages in ONU, further includes built-in in fact Processing of the WDM module to uplink data messages.Following several situations can be specifically divided into:
1, the uplink data messages sent to OLT are only with the message of EPON protocol encapsulation or the report of GPON protocol encapsulation Text, WDM module only needs to handle according to mode in the prior art in response to this, due to only having a kind of PON agreement Corresponding message transmissions, there is no the occupation problems of the transmission channel of ODN, so not needing to carry out multiplex processing.
2, there is GPON protocol encapsulation again to the existing message with EPON protocol encapsulation of uplink data messages that OLT is sent Message will fully consider the occupation problem of the transmission channel of ODN in response to this, in order to promote the transmission channel of ODN Utilization rate, WDM module only need to carry out multiplex processing to these two types of messages, thus, guarantee the twin-channel transmission effect of ODN single line Rate.Wherein, single line refers to that ODN exists as a route, but can be compatible with EPON agreement and two kinds of GPON agreement associations simultaneously View is operated together, i.e. binary channels.
Step 24:OLT carries out wavelength recognition to the uplink data messages received, determines on this according to wavelength is recognized Row data message protocol format used when encapsulating, and the uplink data messages are unsealed using corresponding protocol format Dress.
In fact, OLT is after receiving uplink data messages, it may be possible to datagram made of a certain protocol format encapsulation Text, it is possible to for the data message after multiplex.Either any message can all pass through the WDM module of OLT, the WDM module Identification sends wavelength used in message, and is separated the message for adhering to different PON agreements separately using wavelength-division multiplex technique, And it is sent into corresponding protocol stack and carries out decapsulation processing.
Step 25:OLT handles the data message of decapsulation.
The step for belong to the prior art, i.e. OLT handles the data message of decapsulation, for example, can be to data The information that message includes is recorded locally;Furthermore it is also possible to according to demand, the agreement lattice received with the data message Formula be packaged after according to predetermined wavelength (wavelength herein can be when receiving the data message its encapsulation used by association Discuss any wavelength corresponding to format in wave band) to each ONU broadcast transmission response message;Alternatively, layer gateway further up Carry out business reports.
As shown in figure 5, for the flow diagram of passive optical network according to the present invention interaction downlink data message, it is main Want the following steps are included:
Protocol format step 51:OLT corresponding when establishing management passage and protocol stack according to purpose ONU is to lower line number It is packaged according to message.
Step 52: after packaging is accomplished, any wavelength when encapsulating in the corresponding wave band of protocol format used is to each Downlink data message after ONU broadcast encapsulation.
Step 53:ONU carries out wavelength recognition to the downlink data message received, determines on this according to wavelength is recognized Row data message protocol format used when encapsulating, and the uplink data messages are unsealed using corresponding protocol format Dress.
In fact, in actual broadcasting process, each ONU can receive the downlink data message, and decapsulate, so And be not that each ONU can carry out the data message, only destination address is matched with corresponding purpose ONU, and the ONU is It can parse and execute the data message.
Optionally, in embodiments of the present invention, wave band used in the corresponding message of GPON agreement is corresponding with EPON agreement Message used in wave band without intersection;And wave band and the GPON used in the corresponding uplink message of the GPON agreement Wave band used in the corresponding downlink message of agreement is without intersection, wave band used in the corresponding uplink message of the EPON agreement Wave band used in downlink message corresponding with the EPON agreement is without intersecting.
Illustrate, it is contemplated that the message of GPON protocol encapsulation and the message of EPON protocol encapsulation using different wave length but It is to share an ODN route, therefore, in entire XPON system, sets GPON agreement and EPON agreement uplink message and downlink Message uses different wave length, to meet the needs of XPON is mixed.In view of the interference and stability of optical signal, more preferably may be used To divide schematic diagram with reference to wave band shown in fig. 6, GPON agreement and EPON agreement are done into following division using wave band:
For the message of GPON protocol encapsulation, OLT sends used wavelength most preferably 1500nm, opposite side when downlink message ONU receive when allow using wave band λ 3 be 1495nm-1505nm.Used wavelength is most preferably when ONU sends uplink message 1360nm, opposite side OLT receive when allow using wave band λ 1 be 1335nm-1385nm.
For the message of EPON protocol encapsulation, OLT sends used wavelength most preferably 1480nm, opposite side when downlink message ONU receive when allow using wave band λ 4 be 1475nm-1485nm.Used wavelength is most preferably when ONU sends uplink message 1260nm, opposite side OLT receive when allow using wave band λ 2 be 1235nm-1285nm.
Certainly, it should be noted that the above-mentioned setting for wavelength value is for better signal anti-interference and stabilization Property, it can also be the uplink message by the side OLT and ONU respectively for EPON agreement and GPON agreement under general scene It is set as different value with wavelength used in downlink message.
Optionally, based on the above embodiment, data message interaction before, it is also necessary to pre-establish management passage and Required dual stack.This just needs to manage the interaction of message and protocol massages, the management message interacted between OLT and ONU Message encapsulation, i.e., for each ONU, the pipe that interacts are carried out according to scheduled protocol format with protocol massages It manages message and protocol massages and all only uses EPON agreement or GPON agreement, specifically:
It is sent out firstly, setting each ONU previously according to access scene (for example, type of the practical access demand of user and ONU) Protocol format corresponding to the management message and protocol massages sent is EPON agreement or GPON agreement;
Then, any ONU is packaged management message or protocol massages according to preset protocol format, is encapsulating At later, any wavelength when encapsulating in the corresponding wave band of protocol format used sends the management report after encapsulation to the OLT Text or protocol massages;Wavelength used in the management message or protocol massages that OLT identification receives, and according to the wave recognized Protocol format determined by long decapsulates the management message or protocol massages.
Then, OLT handles the message of decapsulation, and records the ONU transmission management message for sending the uplink message With the protocol format of protocol massages and the corresponding relationship of the ONU;Furthermore it is also possible to the letter for needing to record included in it Breath is recorded locally;The protocol format that can also be received according to the message be packaged after according to predetermined wavelength to each ONU broadcast transmission response message;After each ONU receives response message, end message protocol format is sentenced according to wavelength, and utilize Corresponding protocol format decapsulates the response message received, in order to be further processed.
As it can be seen that can be carried out between OLT and ONU according to fixed EPON or GPON protocol format through the above steps The interaction of message and protocol massages is managed, and thus completes the foundation of management passage and the side OLT and ONU between OLT and ONU The foundation of side EPON and GPON dual stack, specific message and the protocol massages type of managing is those of ordinary skill in the art Can be known and determine, for example, may include: establish the message in the channel of EPON and GPON protocol stack therebetween, and The messages such as ONU is registered to OLT, and heartbeat between the two maintains.
Similarly, the embodiment of the invention also provides a kind of passive optical network communication system of ONU mixed insertion, the system compatibles There are Gigabit Passive Optical Network GPON agreement and ethernet passive optical network EPON agreement.
It specifically can refer to system architecture schematic diagram shown in FIG. 1, which specifically includes that
Optical network unit ONU, for determining the data message according to load-balancing algorithm in reported data message Protocol format, and after packaging is accomplished, any wavelength when encapsulating in the corresponding wave band of protocol format used is to optical link Terminal OLT sends the data message after encapsulation.
Optical line terminal OLT, for when issuing data message, when establishing management passage and protocol stack according to purpose ONU Corresponding protocol format is packaged the data message, and after packaging is accomplished, protocol format pair used when encapsulating Any wavelength in the wave band answered broadcasts the data message after encapsulation to each ONU.
In addition, the system further includes Optical Distribution Network ODN, system architecture as shown in figure 1.
Optionally, the ONU is specific to use when determining the protocol format of the data message according to load-balancing algorithm In: the corresponding Simhash value of the data message is determined based on Simhash algorithm, according to Simhash value determination The protocol format of data message.
Optionally, the ONU is when determining the corresponding Simhash value of the data message based on Simhash algorithm, tool Body is used for:
N number of effective feature vector is extracted from the data message;
Calculate the hash value of each feature vector;
It is each feature vector setting weight according to network environment, and to the corresponding element of all feature vectors after weighting Element carries out accumulation process and obtains an assemblage characteristic vector;
The assemblage characteristic vector is normalized, and dimensionality reduction obtains the corresponding Simhash of the data message Value.
Optionally, wave band message corresponding with EPON agreement institute used in the corresponding message of the GPON agreement The wave band used is without intersection;And wave band used in the corresponding uplink message of the GPON agreement is corresponding with the GPON agreement Downlink message used in wave band without intersection, wave band used in the corresponding uplink message of the EPON agreement with it is described Wave band used in the corresponding downlink message of EPON agreement is without intersection.
Optionally, the ONU is also used to before reported data message, according to preset protocol format to management message Or protocol massages are packaged, and after the package has been finalized, any wavelength when encapsulating in the corresponding wave band of protocol format used The management message or protocol massages after encapsulation are sent to the OLT;And
The OLT is also used to identify wavelength used in the management message or protocol massages that receive, and according to recognizing Wavelength determined by protocol format the management message or protocol massages are decapsulated.
By above technical scheme, a kind of fusion method is proposed, i.e., (side OLT and ONU on same PON board Side), while supporting EPON agreement and GPON agreement, thus, so that the selection of the access of the side OLT or the side ONU is more preferably flexible, simultaneously Take into account existing network environment and equipment.Moreover, not needing replacement PON board when switching between EPON agreement and GPON agreement, avoiding The waste of resource or the interruption of message transmissions, improve problems of the prior art well.In addition, the program passes through Single PON chip can realize the operation of double agreements, save hardware cost, and the design for simplifying hardware and software is multiple Miscellaneous degree.Most importantly, the application uses load-balancing algorithm, realizes Rational choice EPON agreement or GPON agreement Purpose improves the utilization rate of fiber optic network, increases original total bandwidth.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer journey Sequence product.Therefore, complete hardware embodiment, complete software embodiment or combining software and hardware aspects can be used in the present invention The form of embodiment.Moreover, it wherein includes the calculating of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions each in flowchart and/or the block diagram The combination of process and/or box in process and/or box and flowchart and/or the block diagram.It can provide these computers Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices To generate a machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute For realizing the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram Device.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that instruction stored in the computer readable memory generation includes The manufacture of command device, the command device are realized in one box of one or more flows of the flowchart and/or block diagram Or the function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that Series of operation steps are executed on computer or other programmable devices to generate computer implemented processing, thus calculating The instruction executed on machine or other programmable devices is provided for realizing in one or more flows of the flowchart and/or side The step of function of being specified in block diagram one box or multiple boxes.
Although preferred embodiments of the present invention have been described, once a person skilled in the art knows basic wounds The property made concept, then additional changes and modifications may be made to these embodiments.It is wrapped so the following claims are intended to be interpreted as It includes preferred embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from of the invention by those skilled in the art Spirit and scope.In this way, if these modifications and changes of the present invention belongs to the model of the claims in the present invention and its equivalent technologies Within enclosing, then the present invention is also intended to include these modifications and variations.

Claims (14)

1. a kind of passive optical network communication means of ONU mixed insertion, which is characterized in that have Gigabit Passive Optical Network applied to compatibility In the passive optical network of GPON agreement and ethernet passive optical network EPON agreement, which comprises
In optical network unit ONU reported data message, the ONU determines the association of the data message according to load-balancing algorithm Format is discussed, and after packaging is accomplished, any wavelength when encapsulating in the corresponding wave band of protocol format used is to optical line terminal OLT sends the data message after encapsulation;
When the OLT issues data message, the OLT is corresponding when establishing management passage and protocol stack according to purpose ONU Protocol format is packaged the data message, and after packaging is accomplished, protocol format used corresponding wave band when encapsulating Interior any wavelength broadcasts the data message after encapsulation to each ONU.
2. the method as described in claim 1, which is characterized in that determine the agreement of the data message according to load-balancing algorithm Format specifically includes:
The corresponding Simhash value of the data message is determined based on Simhash algorithm, according to Simhash value determination The protocol format of data message.
3. method according to claim 2, which is characterized in that determine that the data message is corresponding based on Simhash algorithm Simhash value, specifically includes:
N number of effective feature vector is extracted from the data message;
Calculate the hash value of each feature vector;
It is that weight is arranged in each feature vector, and carries out to the corresponding element of all feature vectors after weighting according to network environment Accumulation process obtains an assemblage characteristic vector;
The assemblage characteristic vector is normalized, and dimensionality reduction obtains the corresponding Simhash value of the data message.
4. method as claimed in claim 3, which is characterized in that N number of effective feature vector is extracted from the data message, It specifically includes:
Following parameter is extracted respectively from the data message as six effective feature vectors: S-Mac, D-Mac, S-IP, D-IP, S-Port, D-Port, S-Mac are source MAC, and D-Mac is purpose MAC Address, and S-IP is source IP address, and D-IP is Purpose IP address, S-Port are the port source TCP/UDP, and D-Port is the port purpose TCP/UDP.
5. method as claimed in claim 4, which is characterized in that the weight setting of described six effective feature vectors meet with Lower rule: the weight≤S-Port weight or D-Port of the weight of S-Mac or weight≤S-IP weight of D-Mac or D-IP Weight.
6. the method as described in claim 1, which is characterized in that wave band and institute used in the corresponding message of the GPON agreement Wave band used in the corresponding message of EPON agreement is stated without intersection;
And wave band downlink message corresponding with the GPON agreement used in the corresponding uplink message of the GPON agreement is made Wave band is without intersection, wave band downlink corresponding with the EPON agreement used in the corresponding uplink message of the EPON agreement Wave band is without intersection used in message.
7. the method as described in claim 1, which is characterized in that before data message interaction, the method also includes:
Any ONU is packaged management message or protocol massages according to preset protocol format, after the package has been finalized, with envelope Any wavelength when dress in the corresponding wave band of protocol format used sends management message or agreement report after encapsulation to the OLT Text;
Wavelength used in the management message or protocol massages that the OLT identification receives, and really according to the wavelength institute recognized Fixed protocol format decapsulates the management message or protocol massages.
8. a kind of passive optical network communication system of ONU mixed insertion, which is characterized in that the system compatible has Gigabit Passive Optical Network GPON agreement and ethernet passive optical network EPON agreement, comprising:
Optical network unit ONU, for determining the agreement of the data message according to load-balancing algorithm in reported data message Format, and after packaging is accomplished, any wavelength when encapsulating in the corresponding wave band of protocol format used is to optical line terminal OLT Data message after sending encapsulation;
Optical line terminal OLT, for when issuing data message, institute to be right when establishing management passage and protocol stack according to purpose ONU The protocol format answered is packaged the data message, and after packaging is accomplished, and protocol format used is corresponding when encapsulating Any wavelength in wave band broadcasts the data message after encapsulation to each ONU.
9. system as claimed in claim 8, which is characterized in that the ONU is determining the data according to load-balancing algorithm When the protocol format of message, it is specifically used for:
The corresponding Simhash value of the data message is determined based on Simhash algorithm, according to Simhash value determination The protocol format of data message.
10. system as claimed in claim 9, which is characterized in that the ONU is determining the data based on Simhash algorithm When the corresponding Simhash value of message, it is specifically used for:
N number of effective feature vector is extracted from the data message;
Calculate the hash value of each feature vector;
It is that weight is arranged in each feature vector, and carries out to the corresponding element of all feature vectors after weighting according to network environment Accumulation process obtains an assemblage characteristic vector;
The assemblage characteristic vector is normalized, and dimensionality reduction obtains the corresponding Simhash value of the data message.
11. system as claimed in claim 10, which is characterized in that the ONU extracts N number of effective from the data message When feature vector, it is specifically used for:
Following parameter is extracted respectively from the data message as six effective feature vectors: S-Mac, D-Mac, S-IP, D-IP, S-Port, D-Port, S-Mac are source MAC, and D-Mac is purpose MAC Address, and S-IP is source IP address, and D-IP is Purpose IP address, S-Port are the port source TCP/UDP, and D-Port is the port purpose TCP/UDP.
12. system as claimed in claim 11, which is characterized in that the weight of described six effective feature vectors, which is arranged, to be met Following rule: the weight≤S-Port weight or D- of the weight of S-Mac or weight≤S-IP weight of D-Mac or D-IP The weight of Port.
13. system as claimed in claim 8, which is characterized in that wave band used in the corresponding message of the GPON agreement with Wave band used in the corresponding message of the EPON agreement is without intersection;
And wave band downlink message corresponding with the GPON agreement used in the corresponding uplink message of the GPON agreement is made Wave band is without intersection, wave band downlink corresponding with the EPON agreement used in the corresponding uplink message of the EPON agreement Wave band is without intersection used in message.
14. system as claimed in claim 8, which is characterized in that the ONU is also used to before reported data message, according to Preset protocol format is packaged management message or protocol massages, after the package has been finalized, agreement lattice used when encapsulating Any wavelength in the corresponding wave band of formula sends management message or protocol massages after encapsulation to the OLT;And
The OLT is also used to wavelength used in the management message or protocol massages that identification receives, and according to the wave recognized Protocol format determined by long decapsulates the management message or protocol massages.
CN201610506779.3A 2016-06-30 2016-06-30 A kind of the passive optical network communication means and system of ONU mixed insertion Active CN105933802B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610506779.3A CN105933802B (en) 2016-06-30 2016-06-30 A kind of the passive optical network communication means and system of ONU mixed insertion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610506779.3A CN105933802B (en) 2016-06-30 2016-06-30 A kind of the passive optical network communication means and system of ONU mixed insertion

Publications (2)

Publication Number Publication Date
CN105933802A CN105933802A (en) 2016-09-07
CN105933802B true CN105933802B (en) 2019-06-04

Family

ID=56829402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610506779.3A Active CN105933802B (en) 2016-06-30 2016-06-30 A kind of the passive optical network communication means and system of ONU mixed insertion

Country Status (1)

Country Link
CN (1) CN105933802B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574886B (en) * 2017-03-07 2022-03-01 中兴通讯股份有限公司 Service management control method, OLT and ONU in passive optical network system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848731A (en) * 2005-04-13 2006-10-18 华为技术有限公司 Kilomega passive optical network system
CN103379005A (en) * 2012-04-20 2013-10-30 中兴通讯股份有限公司 Optical line terminal equipment and implementation method thereof
CN104581446A (en) * 2013-10-14 2015-04-29 上海贝尔股份有限公司 Method and device for supporting direct communication among base stations in PON system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848731A (en) * 2005-04-13 2006-10-18 华为技术有限公司 Kilomega passive optical network system
CN103379005A (en) * 2012-04-20 2013-10-30 中兴通讯股份有限公司 Optical line terminal equipment and implementation method thereof
CN104581446A (en) * 2013-10-14 2015-04-29 上海贝尔股份有限公司 Method and device for supporting direct communication among base stations in PON system

Also Published As

Publication number Publication date
CN105933802A (en) 2016-09-07

Similar Documents

Publication Publication Date Title
CN105915558B (en) A kind of the passive optical network communication means and system of ONU mixed insertion
US9160477B2 (en) Virtual networking embedding procedure in an optical wavelength division multiplexing (WDM) network
CN101945307B (en) Distribution treatment method of labels in optical network, optical communication device and optical communication system
WO2017097008A1 (en) Access method and apparatus for multiple optical network units, and storage medium
US9641916B2 (en) Optical channel data unit service transmission apparatus and method
US20160094402A1 (en) Virtual element management system
WO2021135625A1 (en) Pon multi-channel binding transmission method, pon node and storage medium
CN103369060B (en) The management method and device of a kind of virtual port
CN110266511A (en) Band width configuration method and apparatus
JP6572789B2 (en) Virtual optical network provisioning
EP3716641A1 (en) Data transport method, device and system
US20150043911A1 (en) Network Depth Limited Network Followed by Compute Load Balancing Procedure for Embedding Cloud Services in Software-Defined Flexible-Grid Optical Transport Networks
CN109286864B (en) Registration-based information processing method and device and storage medium
US9698930B2 (en) Bandwidth map update method and device
CN105933802B (en) A kind of the passive optical network communication means and system of ONU mixed insertion
JP6604219B2 (en) Virtual optical network provisioning
CN101860772B (en) Method and device for crossing time slot
US20170366883A1 (en) Agile Resource on Demand Service Provisioning in Software Defined Optical Networks
WO2017193711A1 (en) Data transmission method and device
EP2579520A1 (en) Bandwidth allocation method and device for realizing bandwidth allocation
CN111683308B (en) Method and device for realizing flexible bridging service on home gateway
CN109510716A (en) The processing unit and method of signal
US10945053B2 (en) Method and device for processing service crossing master node
JP2018528678A (en) Method for managing passive optical network, central office of passive optical network, computer program
CN102868545A (en) Passive optical network configuration method and element management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant