Summary of the invention
In view of this, main purpose of the present invention is to provide the method and system of a kind of OLT of support and ONU edition compatibility, has realized version negotiation or capability negotiation, thereby can solve the incompatible problem that is caused of version information.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of method of supporting optical line terminal and optical network unit edition compatibility, this method comprises: support the mutual of version information between optical line terminal OLT and the optical network unit ONU, by the mutual realization OLT of version information and the edition compatibility of ONU.
Wherein, described version information comprises: Standard Edition, software version or hardware version that OLT and ONU support.
Wherein, specifically comprising alternately of described version information:
Mutual on one's own initiative version information separately between OLT and the ONU;
Perhaps, between OLT and the ONU mutually behind request the other side's the version information, mutual passively version information separately.
Wherein, this method further comprises: in the ONU registration activation stage, and mutual version information separately between described OLT and the described ONU.
Wherein, mutual version information separately specifically comprises:
On down direction, current OLT is encapsulated into the version information of self in the downlink frame, and sends to ONU;
On up direction, current ONU is encapsulated into the version information of self in the uplink frame, and sends to OLT.
Wherein, during down direction, the packaged type of version information specifically comprises:
Existing territory in downlink frame encapsulates the version information of current OLT self;
Perhaps, in downlink frame, increase the version information that a new territory encapsulates current OLT self;
Perhaps, in physical layer operations management maintenance PLOAM message, utilize existing partial bit to encapsulate the version information of current OLT self;
Perhaps, increase the version information that new PLOAM message encapsulates current OLT self;
Perhaps, the version information of encapsulation current OLT self in the management of ONU and control interface OMCI message.
Wherein, during up direction, the packaged type of version information specifically comprises:
Existing territory in uplink frame encapsulates the version information of current OLT self;
Perhaps, in uplink frame, increase the version information that a new territory encapsulates current OLT self;
Perhaps, in PLOAM message, utilize existing partial bit to encapsulate the version information of current OLT self;
Perhaps, increase the version information that new PLOAM message encapsulates current OLT self;
Perhaps, the version information of encapsulation current ONU self in OMCI message.
Wherein, this method further comprises: behind the mutual version information separately of OLT and ONU, do not need the version information that receives is judged; Perhaps,
Behind the mutual version information separately of OLT and ONU, need judge the version information that receives, and according to the different editions information of judging that can support, judgement need send to the other side's different information types.
Wherein, under the situation that registration activates, ONU receives after self version information from the current OLT of OLT;
When OLT to the ONU request of transmitting Sequence Number, and when ONU judged current OLT and do not carry out edition upgrading according to self version information of described current OLT, the described information type that the ONU decision of not carrying out the ONU of edition upgrading and carrying out edition upgrading sends to current OLT was all: sequence number;
When OLT to the ONU request of transmitting Sequence Number, and ONU is when judging current OLT and carried out edition upgrading according to self version information of described current OLT, the described information type that the ONU decision of not carrying out edition upgrading sends to current OLT is: the sequence number of self; The ONU that has carried out edition upgrading determines the described information type that sends to current OLT to be: sequence number of self and password.
Wherein, under the situation of encryption, ONU receives after self version information from the current OLT of OLT;
When OLT sends password request to ONU, and when ONU judged current OLT and do not carry out edition upgrading according to self version information of described current OLT, the described information type that the ONU decision of not carrying out the ONU of edition upgrading and carrying out edition upgrading sends to current OLT was all: password;
When OLT sends password request to ONU, and ONU is when judging current OLT and carried out edition upgrading according to self version information of described current OLT, and the described information type that the ONU decision of not carrying out edition upgrading sends to current OLT is: the password of self; The described information type that the ONU decision of having carried out edition upgrading sends to current OLT comprises: self be used to authenticate OLT random number, be used to respond the OLT authentication value, be used for OLT and can discern the information of ONU and identifying algorithm and the cryptographic algorithm that ONU is supported.
Wherein, this method further comprises: when judging current OLT according to self version information of described current OLT and do not carry out edition upgrading, carried out the ONU of edition upgrading, further selection does not support not carry out the password request mode of the OLT of edition upgrading, and the concurrent alarming information of delivering newspaper is given OLT;
When judging current OLT according to self version information of described current OLT and carried out edition upgrading, the ONU that does not carry out edition upgrading, further selection does not support to carry out the password request mode of the OLT of edition upgrading, and the concurrent alarming information of delivering newspaper is given OLT.
A kind of system that supports optical line terminal and optical network unit edition compatibility, this system comprises: interactive unit and edition compatibility unit; Wherein,
Interactive unit is used for mutual version information between OLT and the ONU;
The edition compatibility unit is used for by the mutual realization OLT of version information and the edition compatibility of ONU.
Wherein, described interactive unit is further used for mutual on one's own initiative version information separately between OLT and the ONU; Perhaps, between OLT and the ONU mutually behind request the other side's the version information, mutual passively version information separately.
Wherein, described interactive unit is further used for the registration activation stage at ONU, mutual version information separately between described OLT and the described ONU.
Wherein, this system also comprises: version information judging unit and information type decision unit; Wherein,
The version information judging unit is used for the mutual version information separately of OLT and ONU, the version information that receives is judged, and judged the different editions information that can support;
The information type decision unit is used for according to the different editions information of judging that can support, and judgement need send to the other side's different information types.
Wherein, under the situation that registration activates, described version information judging unit, when being further used for OLT and transmitting Sequence Number request to ONU, ONU judges current OLT according to self version information of described current OLT and does not carry out edition upgrading; Described information type decision unit, the described information type that the ONU decision that is further used for not carrying out the ONU of edition upgrading and carry out edition upgrading sends to current OLT is all: sequence number; Perhaps;
Under the situation that registration activates, described version information judging unit, when being further used for OLT and transmitting Sequence Number request to ONU, ONU judges current OLT according to self version information of described current OLT and has carried out edition upgrading; Described information type decision unit, the described information type that the ONU decision that is further used for not carrying out edition upgrading sends to current OLT is: the sequence number of self; The ONU that has carried out edition upgrading determines the described information type that sends to current OLT to be: sequence number of self and password.
Wherein, under the situation of encrypting, described version information judging unit, when being further used for OLT and sending password request to ONU, ONU judges current OLT according to self version information of described current OLT and does not carry out edition upgrading; Described information type decision unit, the described information type that the ONU decision that is further used for not carrying out the ONU of edition upgrading and carry out edition upgrading sends to current OLT is all: password; Perhaps;
Under the situation of encrypting, described version information judging unit, when being further used for OLT and sending password request to ONU, ONU judges current OLT according to self version information of described current OLT and has carried out edition upgrading; Described information type decision unit, the described information type that the ONU decision that is further used for not carrying out edition upgrading sends to current OLT is: the password of self; The described information type that the ONU decision of having carried out edition upgrading sends to current OLT comprises: self be used to authenticate OLT random number, be used to respond the OLT authentication value, be used for OLT and can discern the information of ONU, identifying algorithm and the cryptographic algorithm that ONU supported.
Support the mutual of version information between between OLT of the present invention and the ONU, by the mutual realization OLT of version information and the edition compatibility of ONU.
Adopt the present invention, by mutual version information separately between OLT and the ONU, version negotiation or capability negotiation have been realized, thereby can solve the incompatible problem that is caused of version information, when making different OLT of part version among the PON and ONU coexistence, OLT that the version among the PON is different and ONU can coordinate compatibility and work.
Embodiment
Basic thought of the present invention is: support the mutual of version information between OLT and the ONU, by the mutual realization OLT of version information and the edition compatibility of ONU.
Be described in further detail below in conjunction with the enforcement of accompanying drawing technical scheme.
A kind of method of supporting OLT and ONU edition compatibility, this method comprises: support the mutual of version information between OLT and the ONU, by the mutual realization OLT of version information and the edition compatibility of ONU.
At version information, version information comprises: Standard Edition, software version or hardware version that OLT and ONU support.
Be illustrated in figure 1 as the realization flow schematic diagram of the inventive method one example, in this example, by version information alternately to support OLT and ONU edition compatibility, it may further comprise the steps:
Mutual on one's own initiative version information separately between step 101, OLT and the ONU.
Here, step 101 can also be for after asking the other side's version information mutually between step 111:OLT and the ONU, mutual passively version information separately.
Here it is to be noted: be preferably in the ONU registration activation stage, mutual version information separately between OLT and the ONU.
Behind the mutual version information separately of step 102, OLT and ONU, need judge the version information that receives, and according to the different editions information of judging that can support, judgement need send to the other side's different information types.
Here, step 102 can also not need the version information that receives is judged for behind step 112:OLT and the mutual version information separately of ONU.
Wherein, information type is specially: between the OLT and ONU of various version, support the information type of both sides' version information; Both sides' version information is identical or different.
At by the technical scheme that step 101/111~step 102/112 constituted, in the step 101/111, mutual version information separately specifically comprises down direction and two kinds of situations of up direction, below sets forth respectively.
First kind of situation: on down direction, current OLT is encapsulated into the version information of self in the downlink frame, and sends to ONU.Like this, so that the normal structure specified standard version information that the current OLT of notice ONU is supported.
At the encapsulation of information or be the mode of carrying, during down direction, the packaged type of version information specifically comprises one of following content:
One, the existing territory in downlink frame encapsulates the version information of current OLT self.
Two, in downlink frame, increase the version information that a new territory encapsulates current OLT self.
Three, in PLOAM message, utilize existing partial bit to encapsulate the version information of current OLT self.
Four, increase the version information that new PLOAM message encapsulates current OLT self;
Five, the version information of encapsulation current OLT self in the management of ONU and control interface (OMCI) message.
It is to be noted: PLOAM message, OMCI message can be included in the downlink frame.
Second kind of situation: on up direction, current ONU is encapsulated into the version information of self in the uplink frame, and sends to OLT.Like this, so that the normal structure specified standard version information that the current ONU of notice OLT is supported.
At the encapsulation of information or be the mode of carrying, during up direction, the packaged type of version information specifically comprises one of following content:
One, the existing territory in uplink frame encapsulates the version information of current ONU self.
Two, in uplink frame, increase the version information that a new territory encapsulates current ONU self.
Three, in PLOAM message, utilize existing partial bit to encapsulate the version information of current ONU self.
Four, increase the version information that new PLOAM message encapsulates current ONU self;
Five, the version information of encapsulation current ONU self in OMCI message.
It is to be noted: PLOAM message, OMCI message also can be included in the uplink frame.
In the step 102, in the different application scene, in registration activation and ciphering process, it is different that judgement need send to the other side's information type, below sets forth for example respectively.Comprise two kinds of situations under each scene respectively.
Scene one: registration activation.
First kind of situation: under the situation that registration activates, ONU receives after self version information from the current OLT of OLT; When OLT to the ONU request of transmitting Sequence Number, and when ONU judged current OLT and do not carry out edition upgrading according to self version information of current OLT, the information type that the ONU decision of not carrying out the ONU of edition upgrading and carrying out edition upgrading sends to current OLT was all: sequence number.
Second kind of situation: under the situation that registration activates, ONU receives after self version information from the current OLT of OLT; When OLT to the ONU request of transmitting Sequence Number, and ONU is when judging current OLT and carried out edition upgrading according to self version information of current OLT, the information type that the ONU decision of not carrying out edition upgrading sends to current OLT is: the sequence number of self; The ONU that has carried out edition upgrading determines the information type that sends to current OLT to be: sequence number of self and password.
Scene one: ciphering process.
First kind of situation: under the situation of encryption, ONU receives after self version information from the current OLT of OLT; When OLT sends password request to ONU, and when ONU judged current OLT and do not carry out edition upgrading according to self version information of current OLT, the information type that the ONU decision of not carrying out the ONU of edition upgrading and carrying out edition upgrading sends to current OLT was all: password.
Second kind of situation: under the situation of encryption, ONU receives after self version information from the current OLT of OLT; When OLT sends password request to ONU, and ONU is when judging current OLT and carried out edition upgrading according to self version information of current OLT, and the information type that the ONU decision of not carrying out edition upgrading sends to current OLT is: the password of self; The information type that the ONU decision of having carried out edition upgrading sends to current OLT comprises: self be used to authenticate OLT random number, be used to respond the OLT authentication value, be used for OLT and can discern the information of ONU, identifying algorithm and the cryptographic algorithm that ONU supported.
Here it is to be noted: with regard to first kind of situation in the ciphering process, when judging current OLT according to self version information of current OLT and not carrying out edition upgrading, this method further comprises: the ONU that has carried out edition upgrading, further selection does not support not carry out the password request mode of the OLT of edition upgrading, and the ONU that carries out edition upgrading sends warning message to OLT.
With regard to second kind of situation in the ciphering process, when judging current OLT according to self version information of current OLT and carried out edition upgrading, this method further comprises: the ONU that does not carry out edition upgrading, further selection does not support to carry out the password request mode of the OLT of edition upgrading, and the ONU that does not carry out edition upgrading sends warning message to OLT.
In sum, the present invention mainly comprises following content:
In the PON system, the problem that the OLT of part different editions and ONU coexist and bring to whole PON system, the present invention proposes the method for the version information of a kind of OLT/ONU notice ONU/OLT oneself, thereby ONU/OLT can finish the collect mail parsing of breath and to sending the selection of information of butt joint according to the version of the OLT/ONU that sends information, has solved the collaborative work problem of OLT, the ONU of OLT, the ONU of upgraded version in the PON system and existing version.
The present invention is by the following technical solutions:
Can be alternately between OLT and the ONU separately version information.
Further, OLT carries the normal structure specified standard version information that the current OLT of information notice ONU is supported in sending to the downlink frame of ONU, ONU carries the normal structure specified standard version information that the current ONU of information notice OLT is supported in sending to the uplink frame of OLT.
Further, OLT and ONU can ask the other side's version information mutually.
Further, OLT and ONU are as far as possible at mutually mutual version information of ONU registration activation stage.
Further, OLT carries the version information of self in can the downlink physical controll block (PCBd, Physical ControlBlock downstream) in downlink frame.OLT also can increase a territory and transmit the version information of self in downlink frame; OLT also can utilize partial bit to transmit the version information of self in certain PLOAM message; OLT also can increase a new PLOAM message and transmit the version information of self, and OLT can transmit the version information of self by OMCI message.
Further, ONU can transmission comprise sequence number information physical layer operations, manage and safeguard the version information that carries self in the PLOAM message.ONU also can increase a territory and transmit the version information of self in uplink frame; ONU also can utilize partial bit to transmit the version information of self in certain PLOAM message; ONU also can increase a new PLOAM message and transmit the version information of self, and ONU can transmit the version information of self by OMCI message.
Below the present invention is set forth for example.Should be appreciated that following described preferred embodiment only is used for description and interpretation the present invention, and be not used in qualification the present invention.If do not conflict, example and the feature in the example among the application can make up mutually.
Example one:
In the GPON system, in ONU registration activation, OLT judges by the sequence number of ONU whether this ONU is legal.This method requires OLT to know the sequence number of ONU in advance, if the sequence number of an ONU is not stored in the sequence number storehouse of OLT in advance, then this ONU can not register.In order to solve this problem that exists in the ONU registration, allow in the G.984.3 standard of ITU-T to register by password or other message of ONU.In this example, support ONU sequence number or the OLT of identification number register function and OLT and the ONU that ONU is called edition upgrading.
OLT passes to the version information of ONU self by the reservation territory of Flags in the distribution structure (Allocation Structure) in downlink frame PCBd territory, when the value of the bit1-0 of Flags is 00, represent that this OLT does not carry out edition upgrading, it only supports the sequence number based on ONU to carry out the registration activation of ONU; When the value of the bit1-0 position of Flags is 01, represent that this OLT has carried out edition upgrading, the registration that its supports sequence number or password based on ONU to carry out ONU activates.Need to prove the GPON standard that only relates to two versions here, if the GPON standard of a plurality of versions is arranged, more reservation bits that can adopt the Flags territory are to support more may value to represent different GPON Standard Editions.
ONU passes to the version information of OLT self by the 12nd byte in the PLOAM message (message is called Serial Number ONU) that comprises sequence number information, when the value of the bit3-2 position of the 12nd byte of Serial Number ONU message is 00, represent that this ONU does not carry out edition upgrading, it only supports the sequence number based on ONU to carry out the registration activation of ONU; When the value of the bit3-2 position of Flags is 01, represent that this ONU has carried out edition upgrading, the registration that its supports sequence number or password based on ONU to carry out ONU activates.
The value that the OLT that does not carry out edition upgrading sends the each several part of the AllocationStructure be used to find unregistered activation ONU is: Alloc-ID=254, and this value is that ONU activates Alloc-ID; Bit10 in the Flags territory puts 1, that is: ONU need upload PLOAMu message; The value of the bit1-0 position of Flags is 00, represents that this OLT does not carry out edition upgrading; SstartTime=xx, SstopTime=xx+12, expression ONU sends PLOAMu message in the xx byte of uplink frame, stops to send in the xx+12 byte; The CRC territory provides protection to current time distribution structure.When the ONU that does not carry out the ONU of edition upgrading and carry out edition upgrading receives above-mentioned Allocation Structure, value 00 according to the bit1-0 position of Flags can judge that this OLT does not carry out edition upgrading, therefore the ONU of two kinds of versions all send self sequence number to OLT, finish registration activation.
The value that the OLT that has carried out edition upgrading sends the each several part of the AllocationStructure be used to find unregistered activation ONU is: Alloc-ID=254, and this value is that ONU activates Alloc-ID; Bit10 in the Flags territory puts 1, that is: ONU need upload PLOAMu message; The value of the bit1-0 position of Flags is 01, represents that this OLT has carried out edition upgrading; SstartTime=xx, SstopTime=xx+25, expression ONU sends PLOAMu message in the xx byte of uplink frame, stops to send in the xx+25 byte; The CRC territory provides protection to current time distribution structure.When the ONU that does not carry out the ONU of edition upgrading and carry out edition upgrading receives above-mentioned Allocation Structure, value 01 according to the bit1-0 position of Flags can judge that this OLT has carried out edition upgrading, therefore the ONU that does not carry out edition upgrading sends the sequence number of self to OLT, finishes registration activation.The ONU that has carried out edition upgrading send self sequence number and password to OLT, finish registration activation.
This example has provided the method for a kind of OLT and the mutual version information of ONU.The reservation position bit31 that OLT also can pass through the IDENT territory of downlink frame transmits the version information of self, and the value of bit31 is 0 o'clock, the not upgrading of the version of expression OLT, and the value of bit31 is 1 o'clock, represents that the version of OLT is upgraded; The bit19-8 that OLT also can pass through the PLEND territory of downlink frame transmits the version information of self; OLT also can increase a territory and transmit the version information of self in downlink frame; OLT also can utilize partial bit to transmit the version information of self in certain PLOAM message; OLT also can increase a new PLOAM message and transmit the version information of self, and OLT also can carry the version information of self by OMCI message.The bit4-0 that ONU also can pass through the IND territory of uplink frame transmits the version information of self; ONU also can increase a territory and transmit the version information of self in uplink frame; ONU also can utilize partial bit to transmit the version information of self in certain PLOAM message; ONU also can increase a new PLOAM message and transmit the version information of self, and ONU also can carry the version information of self by OMCI message.
This example has illustrated the OLT of two kinds of versions and the method for ONU collaborative work, when OLT that has multiple version among the GPON and ONU, OLT and ONU also can transmit the version information of self by the method for present embodiment, the OLT/ONU of various version resolves the information type that the information that receives and decision send by the version information of the ONU/OLT that receives, realizes the OLT and the collaborative work of ONU in the GPON system of various version.
This example has provided the version of dividing OLT and ONU according to the function of OLT and ONU, also can meet the standard division OLT of different time and the version of ONU according to OLT and ONU.
OLT and ONU initiatively send own version information to the other side in this example, and OLT and ONU also can ask the other side's version information mutually.
Example two:
In the GPON system, to the encryption of OLT downlink data is that to send message name by OLT be the key request of Request_Key message, ONU produces a cipher key index and encryption key after receiving this message, and to send message name in expressly mode be that the key of Encryption_Key message is to OLT, OLT receives and selects behind this key and notice ONU utilizes time of this secret key encryption that OLT and ONU use this key synchronously.Support the OLT and the ONU of this ciphering process to be called OLT and the ONU that does not carry out edition upgrading.Olivetti proposes, and that the OLT downlink data is carried out encrypted process is as follows: OLT sends the password request that message name is Request_Password message to ONU, this message has been carried the information such as type of the random number that is used to authenticate ONU, identifying algorithm and cryptographic algorithm that OLT supported, and ONU replies to OLT and is used to authenticate the value of random number, the response OLT authentication of OLT, information that OLT can discern ONU, identifying algorithm that ONU supported and the information such as type of cryptographic algorithm.If ONU is by after the authentication of OLT, OLT sends the key request that name is called Request_Key message, this request has been carried the response that is used for ONU authentication OLT and has been used and the random number information that produces key, ONU authenticates OLT after receiving this information, if OLT is by authentication, the ONU response sends the PLOAM message that name is called Encryption_Keymessage, and this information is carried cipher key index, is used to produce the random number of key and is used for the response that OLT authenticates ONU.After OLT receives this information, if ONU by authentication, the secret information that OLT and ONU can utilize random number that cryptographic algorithm produces OLT, ONU and OLT, ONU to know in advance independently calculates, and obtains key.OLT selects and notifies ONU to utilize the time of this secret key encryption, and OLT and ONU use this key synchronously.Support the OLT and the ONU of this ciphering process to be called OLT and the ONU that carries out edition upgrading.
OLT transmits the version information of self by the reservation position bit31 in the IDENT territory of downlink frame, and the value of bit31 is 0 o'clock, the not upgrading of the version of expression OLT, and the value of bit31 is 1 o'clock, the version of expression OLT is upgraded; ONU transmits the version information of self by the bit1-0 in the IND territory of uplink frame, and the value of bit1-0 is 00 o'clock, the not upgrading of the version of expression ONU, and the value of bit1-0 is 01 o'clock, the version of expression ONU is upgraded.
When the OLT that does not carry out edition upgrading sends password request Request_Password message, the ONU that does not carry out the ONU of edition upgrading and carry out edition upgrading can judge that according to the value 0 of the reservation position bit31 in the IDENT territory of downlink frame this OLT does not carry out edition upgrading, and the ONU that does not therefore carry out the ONU of version and carry out edition upgrading sends the password of self to OLT.When the OLT that does not carry out edition upgrading sends key request Request_Key message, the ONU that does not carry out the ONU of edition upgrading and carry out edition upgrading can judge that according to the value 0 of the reservation position bit31 in the IDENT territory of downlink frame this OLT does not carry out edition upgrading, therefore the ONU that does not carry out the ONU of edition upgrading and carry out edition upgrading produces a key and sends to OLT with form expressly according to OLT that does not have upgrading and the mutual encryption key method of ONU at the ONU place.
When the OLT that does not carry out edition upgrading sends key request Request_Key message, the ONU that has carried out edition upgrading can judge that according to the value 0 of the reservation position bit31 in the IDENT territory of downlink frame this OLT does not carry out edition upgrading, the ONU that realizes edition upgrading also can select not support not carry out the cipher key change mode of the OLT of edition upgrading, and the ONU of edition upgrading sends warning message to OLT.
When carrying out the OLT transmission password request Request_Password message of edition upgrading, the ONU that does not carry out the ONU of edition upgrading and carry out edition upgrading can judge that according to the value 1 of the reservation position bit31 in the IDENT territory of downlink frame this OLT has carried out edition upgrading, therefore the ONU that does not carry out version sends the password of self to OLT, and the ONU that has carried out edition upgrading replies to OLT and is used to authenticate the value of random number, the response OLT authentication of OLT, information that OLT can discern ONU, identifying algorithm that ONU supported and the information such as type of cryptographic algorithm.When carrying out the OLT transmission key request Request_Key message of edition upgrading, the ONU that does not carry out the ONU of edition upgrading and carry out edition upgrading can judge that according to the value 1 of the reservation position bit31 in the IDENT territory of downlink frame this OLT has carried out edition upgrading, therefore the ONU that does not carry out edition upgrading is according to OLT that does not have upgrading and the mutual encryption key method of ONU, produce a key at the ONU place and send to OLT with form expressly, after the ONU that has carried out edition upgrading receives this information OLT is authenticated, if OLT is by authentication, the ONU response sends name and is called Encryption_Key message, and this information is carried cipher key index, be used to produce the random number of key and be used for the response that OLT authenticates ONU.
When carrying out the OLT transmission key request Request_Key message of edition upgrading, the ONU that does not carry out edition upgrading can judge that according to the value 1 of the reservation position bit31 in the IDENT territory of downlink frame this OLT has carried out edition upgrading, the ONU that does not carry out edition upgrading also can select not support to carry out the cipher key change mode of the OLT of edition upgrading, and the ONU that does not carry out edition upgrading sends warning message to OLT.
This example has provided the method for a kind of OLT and the mutual version information of ONU.The bit19-8 that OLT also can pass through the PLEND territory of downlink frame transmits the version information of self; OLT also can increase a territory and transmit the version information of self in downlink frame; OLT also can utilize partial bit to transmit the version information of self in certain PLOAM message; OLT also can increase a new PLOAM message and transmit the version information of self, and OLT also can carry the version information of self by OMCI message.ONU also can increase a territory and transmit the version information of self in uplink frame; ONU also can utilize partial bit to transmit the version information of self in certain PLOAM message; ONU also can increase a new PLOAM message and transmit the version information of self, and ONU also can carry the version information of self by OMCI message.
This example has illustrated the OLT of two kinds of versions and the method for ONU collaborative work, when OLT that has multiple version among the GPON and ONU, OLT and ONU also can transmit the version information of self by the method for this example, the OLT/ONU of various version resolves the information type that the information that receives and decision send by the version information of the ONU/OLT that receives, realizes the OLT and the collaborative work of ONU in the GPON system of various version.
This example has provided the version that the function of utilizing OLT and ONU is divided OLT and ONU, also can meet the standard division OLT of different time and the version of ONU according to OLT and ONU.
OLT and ONU initiatively send own version information to the other side in this example, and OLT and ONU also can ask the other side's version information mutually.
A kind of system that supports OLT and ONU edition compatibility, this system comprises: interactive unit and edition compatibility unit.Wherein, interactive unit is used for mutual version information between OLT and the ONU; The edition compatibility unit is used for by the mutual realization OLT of version information and the edition compatibility of ONU.
Here, interactive unit is further used for mutual on one's own initiative version information separately between OLT and the ONU; Perhaps, between OLT and the ONU mutually behind request the other side's the version information, mutual passively version information separately.
Here, interactive unit is further used for the registration activation stage at ONU, mutual version information separately between OLT and the ONU.
Here, this system also comprises: version information judging unit and information type decision unit.Wherein, the version information judging unit is used for the mutual version information separately of OLT and ONU, the version information that receives is judged, and judged the different editions information that can support.The information type decision unit is used for according to the different editions information of judging that can support, and judgement need send to the other side's different information types.
Below, further, different situations being activated or encrypt down such as registration, the specific implementation of version information judging unit and information type decision unit is set forth respectively.
First kind of situation: under the situation that registration activates.
A kind of specific implementation: the version information judging unit, be further used for OLT and transmit Sequence Number when request to ONU, ONU judges current OLT according to self version information of current OLT and does not carry out edition upgrading.The information type decision unit, the information type that the ONU decision that is further used for not carrying out the ONU of edition upgrading and carry out edition upgrading sends to current OLT is all: sequence number.
Another kind of specific implementation: the version information judging unit, when being further used for OLT and transmitting Sequence Number request to ONU, ONU judges current OLT according to self version information of current OLT and has carried out edition upgrading.The information type decision unit, the information type that the ONU decision that is further used for not carrying out edition upgrading sends to current OLT is: the sequence number of self; The ONU that has carried out edition upgrading determines the information type that sends to current OLT to be: sequence number of self and password.
Second kind of situation: under the situation of encryption.
A kind of specific implementation: the version information judging unit, when being further used for OLT and sending password request to ONU, ONU judges current OLT according to self version information of current OLT and does not carry out edition upgrading.The information type decision unit, the information type that the ONU decision that is further used for not carrying out the ONU of edition upgrading and carry out edition upgrading sends to current OLT is all: password.
Another kind of specific implementation: the version information judging unit, when being further used for OLT and sending password request to ONU, ONU judges current OLT according to self version information of current OLT and has carried out edition upgrading.The information type decision unit, the information type that the ONU decision that is further used for not carrying out edition upgrading sends to current OLT is: the password of self; The information type that the ONU decision of having carried out edition upgrading sends to current OLT comprises: self be used to authenticate OLT random number, be used to respond the OLT authentication value, be used for OLT and can discern the information of ONU, identifying algorithm and the cryptographic algorithm that ONU supported.
Here, the sequence number that more than relates to can be represented with Serial Number; Password can be represented with Passward.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.