CN103152413B - The transmission method of data and system in a kind of EPON - Google Patents

The transmission method of data and system in a kind of EPON Download PDF

Info

Publication number
CN103152413B
CN103152413B CN201310064936.6A CN201310064936A CN103152413B CN 103152413 B CN103152413 B CN 103152413B CN 201310064936 A CN201310064936 A CN 201310064936A CN 103152413 B CN103152413 B CN 103152413B
Authority
CN
China
Prior art keywords
onu
terminal equipment
device address
head control
cradle head
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
CN201310064936.6A
Other languages
Chinese (zh)
Other versions
CN103152413A (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 CN201310064936.6A priority Critical patent/CN103152413B/en
Publication of CN103152413A publication Critical patent/CN103152413A/en
Application granted granted Critical
Publication of CN103152413B publication Critical patent/CN103152413B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides transmission method and the system of data in a kind of EPON.Described method, comprise: if the cradle head control protocol address of the terminal equipment of the terminal equipment hung under adopting system one ONU of cradle head control agreement and another ONU repeats, then when OLT initiates the communication with certain terminal equipment, send and comprise the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address; ONU is after the message receiving the identify label comprising ONU, obtain the identify label of ONU in described message, and described identify label and respective identify label are compared, if identical, then send described message according to the cradle head control protocol address in this message.

Description

The transmission method of data and system in a kind of EPON
Technical field
The present invention relates to the communications field, particularly relate to transmission method and the system of data in a kind of EPON.
Background technology
In current most cradle head control agreement, address bit is 8 bits, in the video monitoring system based on EPON technology, if when in this system, controllable camera number is more than 256, multiple camera cradle head control protocol address just certainly will be had to repeat, due to EPON system to cradle head control data be downlink broadcast send, each camera can receive these data, cradle head control parameter configuration all the other parameters except address code are consistent in actual applications, the camera that so cradle head control protocol address repeats will carry out identical action, cannot make a distinction, make troubles to monitoring.
Summary of the invention
The invention provides transmission method and the system of data in a kind of EPON, the technical problem solved is if adopt the cradle head control protocol address of the terminal equipment of terminal equipment and another ONU hung under ONU in the system of cradle head control agreement to repeat, and how to carry out transfer of data when cradle head control protocol address repeats.
For solving the problems of the technologies described above, the invention provides following technical scheme:
A transmission method for data in EPON, comprising:
If adopt the cradle head control protocol address of the terminal equipment of terminal equipment and another ONU hung under an optical network unit ONU in the system of cradle head control agreement to repeat, then optical line terminal OLT is when initiating the communication with certain terminal equipment, sends and comprises the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address;
ONU is after the message receiving the identify label comprising ONU, obtain the identify label of ONU in described message, and described identify label and respective identify label are compared, if identical, then send described message according to the cradle head control protocol address in this message.
Preferably, described method also has following features: the cradle head control protocol address of the terminal equipment hung under a described ONU and the terminal equipment of another ONU repeats to comprise:
System be the device address distributed of terminal equipment more than 8 time, the device address more than 8 can be that the device address of the terminal equipment of 8 is identical by the part of system identification and cradle head control protocol address.
Preferably, described method also has following features:
Wherein send before comprising the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address, also comprise:
OLT obtains the corresponding relation of the device address of each terminal equipment and the identify label of ONU, and preserves described corresponding relation;
Described transmission comprises the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address, comprising:
Behind the device address obtaining user's input, according to the device address of user's input, in described corresponding relation, the identify label of the ONU that the device address that inquiring user inputs is corresponding;
If inquired, the device address that user is inputted rear 8 as cradle head control protocol address, send to comprise and inquire about the identify label of ONU that obtains and the message of cradle head control protocol address.
Preferably, described method also has following features: when terminal equipment in system add up to M time, when described system adds new terminal equipment, be the device address of the terminal equipment that this newly adds by the binary expression system of being configured to of integer M+1, wherein M is positive integer;
Wherein send before comprising the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address, also comprise:
OLT obtains the corresponding relation of the device address of each terminal equipment and the identify label of ONU;
8 identical terminal equipments rear in device address according to device address order arrangement from small to large, are obtained the identify label of whole ONU corresponding to same cradle head control protocol address by OLT;
Described transmission comprises the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address, comprising:
Behind the device address obtaining user's input, according to the device address of user's input, obtain the cradle head control protocol address that this device address is corresponding;
In the identify label of whole ONU corresponding to described cradle head control protocol address, using this device address as binary expression formula, the decimal value and 256 be converted to this expression formula is made the quotient after division and is added the result N after, determine that in the identify label of whole ONU that described cradle head control protocol address is corresponding, the ONU corresponding to described terminal equipment that be designated of N number of ONU identifies, wherein N is positive integer.
Preferably, described method also has following features: the device address of terminal equipment obtains in the following way, comprising:
Mode one: after the instruction of ONU reception exterior arrangement obtains the device address of terminal equipment, when registering to OLT, in the device address of the terminal equipment that extended operation, the field administered and maintained in OAM agreement are hung under sending this ONU; OLT, by receiving the content that in expansion OAM agreement, field is carried, obtains the corresponding relation that described system is the device address of each terminal equipment distribution and the identify label of ONU; Or,
Mode two: OLT is after the terminal equipment newly added being detected, and the ONU being hung the terminal equipment newly added by the field in expansion OAM agreement downwards sends the local device address being configured to the terminal equipment configuration that this newly adds.
Preferably, described method also has following features: the device address of described user's input, obtains in the following way, comprising:
Receive the Serial No. be made up of numeral 0 ~ 9 of outside input;
According to the corresponding relation of the device address of Serial No. and terminal equipment, determine the device address that described user inputs.
A transmission system for data in EPON, adopts the system of cradle head control agreement to comprise OLT and ONU, wherein:
The first dispensing device in OLT, when cradle head control protocol address for the terminal equipment of the terminal equipment hung under an ONU and another ONU repeats, when OLT initiates the communication with certain terminal equipment, send and comprise the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address;
The first acquisition device in ONU, is connected with described first dispensing device, for after the message receiving the identify label comprising ONU, obtains the identify label of ONU in described message;
Comparison means in ONU, is connected with described first acquisition device, for described identify label and respective identify label being compared;
The second dispensing device in ONU, is connected with described comparison means, if for identical, then sends described message according to the cradle head control protocol address in this message.
Preferably, described system also has following features: the cradle head control protocol address of the terminal equipment hung under a described ONU and the terminal equipment of another ONU repeats to comprise:
System be the device address distributed of terminal equipment more than 8 time, the device address more than 8 can be that the address of the terminal equipment of 8 is identical by the part of system identification and cradle head control protocol address.
Preferably, described system also has following features: wherein said system, also comprises:
First acquisition device, for the corresponding relation of the identify label of the device address and ONU that obtain each terminal equipment, and preserves described corresponding relation;
Described first dispensing device, comprising:
Enquiry module, is connected with described first acquisition device, for behind the device address obtaining user's input, according to the device address of user's input, in described corresponding relation, and the identify label of the ONU that the device address that inquiring user inputs is corresponding;
First sending module, is connected with described enquiry module, if for inquiring, the device address that user is inputted rear 8 as cradle head control protocol address, send to comprise and inquire about the identify label of ONU that obtains and the message of cradle head control protocol address.
Preferably, described system also has following features:
Described OLT also comprises:
Second acquisition device, for the corresponding relation of the identify label of the device address and ONU that obtain each terminal equipment;
Save set, is connected with described second acquisition device, for by 8 identical terminal equipments rear in device address according to device address order arrangement from small to large, obtain the identify label of whole ONU corresponding to same cradle head control protocol address;
Described first dispensing device comprises:
Second acquisition module, is connected with described save set, for behind the device address obtaining user's input, according to the device address of user's input, obtains the cradle head control protocol address that this device address is corresponding;
Determination module, be connected with described second acquisition module, for in the identify label of whole ONU corresponding to described cradle head control protocol address, using this device address as binary expression formula, the decimal value and 256 be converted to this expression formula is made the quotient after division and is added the result N after, determine that in the identify label of whole ONU that described cradle head control protocol address is corresponding, the ONU corresponding to described terminal equipment that be designated of N number of ONU identifies, wherein N is positive integer;
Second sending module, is connected with determination module with described second acquisition module, comprises the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address for sending.
Preferably, described system also has following features: the device address of described terminal equipment obtains in the following way, comprising:
Mode one: after the instruction of ONU reception exterior arrangement obtains the device address of terminal equipment, when registering to OLT, in the device address of the terminal equipment that extended operation, the field administered and maintained in OAM agreement are hung under sending this ONU; OLT, by receiving the content that in expansion OAM agreement, field is carried, obtains the corresponding relation that described system is the device address of each terminal equipment distribution and the identify label of ONU; Or,
Mode two: OLT is after the terminal equipment newly added being detected, and the ONU being hung the terminal equipment newly added by the field in expansion OAM agreement downwards sends the local device address being configured to the terminal equipment configuration that this newly adds
Preferably, described system also has following features: described OLT also comprises:
Receiving system, for receiving the Serial No. be made up of numeral 0 ~ 9 of outside input;
Determining device, is connected with the first dispensing device with described receiving system, for the corresponding relation of the device address according to Serial No. and terminal equipment, determines the device address that described user inputs.
Compared with prior art, embodiment provided by the invention, when the cradle head control protocol address of the terminal equipment hung under ONU in the system adopting cradle head control agreement and the terminal equipment of another ONU repeats, identify label in conjunction with ONU identifies this terminal equipment, realize the man-to-man control to the terminal equipment of cradle head control agreement identical under different ONU, the convenient dilatation to system.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the transmission method embodiment of data in EPON provided by the invention;
Fig. 2 is the schematic diagram of the management system of the cradle head control agreement based on EPON technology provided by the invention;
Fig. 3 is the structural representation of the transmission system embodiment of data in EPON provided by the invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combination in any mutually.
Fig. 1 is the schematic flow sheet of the transmission method embodiment of data in EPON provided by the invention.Embodiment of the method shown in Fig. 1, comprising:
If step 101 adopts the cradle head control protocol address of the terminal equipment of terminal equipment and another ONU hung under ONU in the system of cradle head control agreement to repeat, then OLT is when initiating the communication with certain terminal equipment, sends and comprises the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address;
Wherein, because cradle head control agreement only supports that address is 8 binary addresses, 8 bit address that system therefore can recognize are as cradle head control protocol address;
Step 102, ONU are after the message receiving the identify label comprising ONU, obtain the identify label of ONU in described message, and described identify label and respective identify label are compared, if identical, then send described message according to the cradle head control protocol address in this message.
Compared with prior art single employing cradle head control protocol address marking terminal equipment, embodiment of the method provided by the invention, when the cradle head control protocol address of the terminal equipment hung under ONU in the system adopting cradle head control agreement and the terminal equipment of another ONU repeats, identify label in conjunction with ONU identifies this terminal equipment, realize the man-to-man control to the terminal equipment of cradle head control agreement identical under different ONU, the convenient dilatation to system.
Wherein, the identify label of described ONU is carried by preamble field.Certainly, can also select other fields, the field wherein selected can undefined field in message protocol, and configures all ONU and all resolve this field when receiving message.
Certainly, this ONU identify label is used to the one mark uniquely determining ONU, as long as the information of an ONU namely uniquely can be determined in multiple ONU, such as, number consecutively is carried out to the ONU in system, when numbering is as identify label, as long as ONU and OLT knows which ONU is which is numbered.OLT knows the identify label of each ONU.
The present invention is simple for realizing, and adopts the identify label of ONU to be logical links mark (LogicalLinkIdentifier, LLID).
Wherein, described OLT obtains the corresponding relation that described system is the identify label of the device address distributed of each terminal equipment and ONU in the following way, comprising:
ONU when registering to OLT, in the device address of the terminal equipment that extended operation, the field administered and maintained in OAM agreement are hung under sending this ONU;
OLT, by receiving the content that in expansion OAM agreement, field is carried, obtains the corresponding relation that described system is the device address of each terminal equipment distribution and the identify label of ONU.
A kind of management agreement in OAM agreement EPON system, the administrative message that can maintain between OLT and ONU is mutual, expansion OAM agreement is the expansions of telecom operators to this standard, different operators definition is slightly different, there is a little self-defining field in this agreement, these self-defining fields that the present invention utilizes just have accomplished cradle head control protocol address to pass to OLT, certainly simultaneously, in practical application, also other cradle head control property parameters can be sent to OLT.
Wherein, above-mentionedly illustrated that cradle head control agreement can only identify 8 binary addresses, therefore in described system, the cradle head control protocol address of at least two terminal equipments repeats to comprise:
System be the device address distributed of terminal equipment more than 8 time, the device address more than 8 can be that the device address of the terminal equipment of 8 is identical by the part of system identification and cradle head control protocol address.
Specifically, if the device address of terminal equipment is 8, then cradle head control protocol address is the device address of this terminal equipment, if there is the device address of more than 9 in system, this will exceed the scope of The Cloud Terrace agreement support, therefore, the cradle head control protocol address that system can identify is latter 8, therefore device address is just in time that the cradle head control protocol address of the terminal equipment of 8 is identical with device address more than the cradle head control protocol address of the terminal equipment of 8, such as, when identification equipment address is 10.00.00.00.00, the cradle head control protocol address obtained is 00.00.00.00, identical with the cradle head control protocol address of already present terminal equipment.
It should be noted that, the number of the terminal equipment hung under an ONU can be one or more, when quantity is multiple, the cradle head control protocol address that can configure the multiple terminal equipments under same ONU does not repeat mutually, thus ensures to realize man-to-man management to the multiple terminal equipments under same ONU.
Be described with an embody rule example below:
Fig. 2 is the schematic diagram of the management system of the cradle head control agreement based on EPON technology provided by the invention.In system shown in Figure 2, management system downgoing control signal based on the cradle head control agreement of EPON technology adopts RS485 data after ONU process, to pass to The Cloud Terrace by broadcast transmission mostly, and cradle head control protocol address is 8 bits, this just there will be a problem: when the camera of cradle head control in system is more than 256, the cradle head control protocol address of the terminal equipment under different ONU repeats, how to distinguish these terminal device address?
Be described below by two embodiments:
Embodiment one
System is the situation that 1 ONU controls 1 cradle head control terminal equipment, when described system adds new terminal equipment, the device address of the terminal equipment newly added, can human configuration be passed through, certainly, can also at OLT after having detected that new equipment adds, for this terminal equipment newly added produces a device address, and the ONU of lower this terminal equipment of extension is handed down to by the field in expansion OAM agreement, certainly, the minimum requirements of configuration is that the device address of the terminal equipment under same ONU is different.
Certainly, if adopt the device address of the former configurating terminal device, OLT is the device address cannot learning terminal equipment, therefore when ONU initiates registration to OLT, inform the device address of its lower terminal equipment hung of OLT, wherein the address of this terminal equipment can be sent by the field in expansion OAM agreement.
To how realizing OLT, how unique identification terminal equipment is described below, comprises step a ~ d, wherein:
Step a, acquisition system are the corresponding relation of the device address of each terminal equipment distribution and the identify label of ONU;
Wherein, ONU when registering to OLT, in the device address of the terminal equipment that extended operation, the field administered and maintained in OAM agreement are hung under sending this ONU; OLT, by receiving the content that in expansion OAM agreement, field is carried, obtains the corresponding relation that described system is the device address of each terminal equipment distribution and the identify label of ONU.
Step b, preserve the corresponding relation of the device address of each terminal equipment and the identify label of ONU;
Step c, behind the device address obtaining user's input, according to the device address of user's input, in described corresponding relation, the identify label of the ONU corresponding to device address of inquiring user input;
Wherein, the device address of user's input can obtain in the following way, comprise: the Serial No. be made up of numeral 0 ~ 9 receiving outside input, according to the corresponding relation of the device address of Serial No. and terminal equipment, determine the device address that described user inputs, such as, the binary expression arranging the Serial No. of user's input is the device address of the terminal equipment that will control, if user inputs 0, then represent that the device address of terminal equipment that will control is 00.00.00.00, if the Serial No. of input is 256, then represent that the device address of control is 1.00.00.00.00.
If steps d inquires, then device address user inputted rear 8 as cradle head control protocol address, send to comprise and inquire about the identify label of ONU that obtains and the message of cradle head control protocol address.
This shows, when cradle head control agreement is more than 8, the terminal equipment that under different ONU, cradle head control protocol address repeats uniquely recognizes a terminal equipment by the identity information of ONU, realizes man-to-man control.
Embodiment two
System is the situation that 1 ONU controls 1 cradle head control terminal equipment, conveniently user selects the terminal equipment that will control by numeric keypad, the device address of the terminal equipment newly added, two of embodiment one kinds of modes can certainly be adopted to be configured, when the device address of this terminal equipment newly added is not only different from the device address of terminal equipment existing under same ONU, also there is following features:
When terminal equipment in system add up to M time, when described system adds new terminal equipment, be the device address of the terminal equipment that this newly adds by the binary expression system of being configured to of integer M+1, wherein M is positive integer.
Wherein, in system, the sum of terminal equipment can be obtained by statistics in the register flow path receiving ONU by OLT.
Be which terminal equipment is illustrated to what how to determine to need to control above, below to after determining the terminal equipment that will control, from multiple terminal equipment, how uniquely find corresponding terminal equipment to be described:
Because cradle head control agreement can not identify the address more than 8, therefore when cradle head control protocol address duplicates, carry out unique identification terminal equipment in conjunction with lower mark of hanging the ONU of this terminal equipment.Specifically, in The Cloud Terrace initialization procedure, The Cloud Terrace initiation parameter is sent to ONU, trigger ONU to be registered to OLT by expansion OAM, report the cradle head control protocol address of the lower terminal equipment hung separately, OLT, after receiving these registration messages, records the corresponding relation of the device address of each terminal equipment and the identify label of ONU.In this application example, the mark of ONU adopts logical links mark, and is carried by the lead code in message.
To how realizing OLT, how unique identification terminal equipment is described below, comprises steps A ~ E, wherein:
Steps A, acquisition system are the corresponding relation of the device address of each terminal equipment distribution and the identify label of ONU;
Wherein, ONU when registering to OLT, in the device address of the terminal equipment that extended operation, the field administered and maintained in OAM agreement are hung under sending this ONU; OLT, by receiving the content that in expansion OAM agreement, field is carried, obtains the corresponding relation that described system is the device address of each terminal equipment distribution and the identify label of ONU.
8 identical terminal equipments rear in device address according to device address order arrangement from small to large, are obtained the identify label of whole ONU corresponding to same cradle head control protocol address by step B, OLT;
Wherein device address refers to from small to large using device address after a binary expression, and decimal value corresponding to this expression formula sorts from small to large;
Such as, for divided by after 256, remainder is the device address of the terminal equipment of 0, the decimal value that the binary expression of these device addresses is corresponding is respectively 0,256,512,768,1024 ...; According to device address order arrangement from small to large, obtain the identify label of whole ONU corresponding to same cradle head control protocol address.
Step C, behind the device address obtaining user's input, according to the device address of user's input, obtain the cradle head control protocol address that this device address is corresponding, i.e. latter 8 of device address;
Step D, in the identify label of whole ONU corresponding to described cradle head control protocol address, using this device address as binary expression formula, the decimal value and 256 be converted to this expression formula is made the quotient after division and is added the result N after, determine that in the identify label of whole ONU that described cradle head control protocol address is corresponding, the ONU corresponding to described terminal equipment that be designated of N number of ONU identifies, wherein N is positive integer.
Such as, if this device address is as binary expression formula, the decimal value this expression formula be converted to is 256, after then doing division with 256, business adds the result of is 2, then the identify label of the 2nd mark ONU that this device address is corresponding just in the identify label of whole ONU that cradle head control protocol address 00.00.00.00 is corresponding.
Step e, transmission comprise the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address.
As seen from the above, by processing device address, can obtain supporting cradle head control agreement and can the information of unique identification terminal equipment, with apparatus for establishing address direct in embodiment one compared with the identify label of ONU, embodiment one inquire about be armamentarium address ONU mark, embodiment two inquire about be have repetition cradle head control protocol address ONU mark, its hunting zone obviously reduces, therefore, search speed wants fast a lot.
Wherein, above-mentioned terminal equipment can be camera, and the management system of this cradle head control agreement can be a video monitoring system; Certainly, being not limited to this, also can be that other use the system of cradle head control consultative management.
Fig. 3 is the flow structure schematic diagram of the transmission system embodiment of data in EPON provided by the invention.The system of cradle head control agreement is adopted to comprise OLT and ONU in system shown in Figure 3 embodiment, wherein:
The first dispensing device 301 in OLT, when cradle head control protocol address for the terminal equipment of the terminal equipment hung under an ONU and another ONU repeats, then when OLT initiates the communication with certain terminal equipment, send and comprise the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address;
The first acquisition device 302 in ONU, is connected with described first dispensing device 301, for after the message receiving the identify label comprising ONU, obtains the identify label of ONU in described message;
Comparison means 303 in ONU, is connected with described first acquisition device 302, for described identify label and respective identify label being compared;
The second dispensing device 304 in ONU, is connected with described comparison means 303, if for identical, then sends described message according to the cradle head control protocol address in this message.
Wherein, the identify label of described ONU is that the field of all being resolved after receiving this message by all ONU defined in message is carried.
Wherein, the field that all ONU all resolve after receiving this message is preamble field.
Wherein, the identify label of described ONU is logical links label L LID.
Wherein, the cradle head control protocol address of the terminal equipment hung under a described ONU and the terminal equipment of another ONU repeats to comprise:
System be the device address distributed of terminal equipment more than 8 time, the device address more than 8 can be that the address of the terminal equipment of 8 is identical by the part of system identification and cradle head control protocol address.
Wherein said system, also comprises:
First acquisition device, for the corresponding relation of the identify label of the device address and ONU that obtain each terminal equipment, and preserves described corresponding relation;
Described first dispensing device, comprising:
Enquiry module, is connected with described first acquisition device, for behind the device address obtaining user's input, according to the device address of user's input, in described corresponding relation, and the identify label of the ONU that the device address that inquiring user inputs is corresponding;
First sending module, is connected with described enquiry module, if for inquiring, the device address that user is inputted rear 8 as cradle head control protocol address, send to comprise and inquire about the identify label of ONU that obtains and the message of cradle head control protocol address.
Optionally, described OLT also comprises:
Second acquisition device, for the corresponding relation of the identify label of the device address and ONU that obtain each terminal equipment;
Save set, is connected with described second acquisition device, for by 8 identical terminal equipments rear in device address according to device address order arrangement from small to large, obtain the identify label of whole ONU corresponding to same cradle head control protocol address;
Described first dispensing device comprises:
Second acquisition module, is connected with described save set, for behind the device address obtaining user's input, according to the device address of user's input, obtains the cradle head control protocol address that this device address is corresponding;
Determination module, be connected with described second acquisition module, for in the identify label of whole ONU corresponding to described cradle head control protocol address, using this device address as binary expression formula, the decimal value and 256 be converted to this expression formula is made the quotient after division and is added the result N after, determine that in the identify label of whole ONU that described cradle head control protocol address is corresponding, the ONU corresponding to described terminal equipment that be designated of N number of ONU identifies, wherein N is positive integer;
Second sending module, is connected with determination module with described second acquisition module, comprises the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address for sending.
Wherein, the device address of described terminal equipment obtains in the following way, comprising:
Mode one: after the instruction of ONU reception exterior arrangement obtains the device address of terminal equipment, when registering to OLT, in the device address of the terminal equipment that extended operation, the field administered and maintained in OAM agreement are hung under sending this ONU; OLT, by receiving the content that in expansion OAM agreement, field is carried, obtains the corresponding relation that described system is the device address of each terminal equipment distribution and the identify label of ONU;
Mode two: OLT is after the terminal equipment newly added being detected, and the ONU being hung the terminal equipment newly added by the field in expansion OAM agreement downwards sends the local device address being configured to the terminal equipment configuration that this newly adds
Wherein, described OLT also comprises:
Receiving system, for receiving the Serial No. be made up of numeral 0 ~ 9 of outside input;
Determining device, is connected with the first dispensing device with described receiving system, for the corresponding relation of the device address according to Serial No. and terminal equipment, determines the device address that described user inputs.
Compared with prior art single employing cradle head control protocol address marking terminal equipment, system embodiment provided by the invention, when the cradle head control protocol address of the terminal equipment hung under ONU in the system adopting cradle head control agreement and the terminal equipment of another ONU repeats, identify label in conjunction with ONU identifies this terminal equipment, realize the man-to-man control to the terminal equipment of cradle head control agreement identical under different ONU, the convenient dilatation to system.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range described in claim.

Claims (10)

1. the transmission method of data in EPON, is characterized in that, comprising:
If adopt the cradle head control protocol address of the terminal equipment of terminal equipment and another ONU hung under an optical network unit ONU in the system of cradle head control agreement to repeat, then optical line terminal OLT is when initiating the communication with certain terminal equipment, sends and comprises the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address;
ONU is after the message receiving the identify label comprising ONU, obtain the identify label of ONU in described message, and described identify label and respective identify label are compared, if identical, then send described message according to the cradle head control protocol address in this message;
Wherein, the cradle head control protocol address of the terminal equipment hung under a described ONU and the terminal equipment of another ONU repeats to comprise: system be the device address distributed of terminal equipment more than 8 time, the device address more than 8 can be that the device address of the terminal equipment of 8 is identical by the part of system identification and cradle head control protocol address;
Wherein, can be latter 8 of device address by the part of system identification more than the device address of 8 described in.
2. method according to claim 1, is characterized in that:
Wherein send before comprising the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address, also comprise:
OLT obtains the corresponding relation of the device address of each terminal equipment and the identify label of ONU, and preserves described corresponding relation;
Described transmission comprises the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address, comprising:
Behind the device address obtaining user's input, according to the device address of user's input, in described corresponding relation, the identify label of the ONU that the device address that inquiring user inputs is corresponding;
If inquired, the device address that user is inputted rear 8 as cradle head control protocol address, send to comprise and inquire about the identify label of ONU that obtains and the message of cradle head control protocol address.
3. method according to claim 1, it is characterized in that, when terminal equipment in system add up to M time, when described system adds new terminal equipment, be the device address that this terminal equipment newly added distributes by the binary expression system of being configured to of integer M+1, wherein M is positive integer;
Wherein send before comprising the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address, also comprise:
OLT obtains the corresponding relation of the device address of each terminal equipment and the identify label of ONU;
8 identical terminal equipments rear in device address according to device address order arrangement from small to large, are obtained the identify label of whole ONU corresponding to same cradle head control protocol address by OLT;
Described transmission comprises the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address, comprising:
Behind the device address obtaining user's input, according to the device address of user's input, obtain the cradle head control protocol address that this device address is corresponding;
In the identify label of whole ONU corresponding to described cradle head control protocol address, using this device address as binary expression formula, the decimal value and 256 be converted to this expression formula is made the quotient after division and is added the result N after, determine that in the identify label of whole ONU that described cradle head control protocol address is corresponding, the ONU corresponding to described terminal equipment that be designated of N number of ONU identifies, wherein N is positive integer.
4. according to the method in claim 2 or 3, it is characterized in that, the device address of terminal equipment obtains in the following way, comprising:
Mode one: after the instruction of ONU reception exterior arrangement obtains the device address of terminal equipment, when registering to OLT, in the device address of the terminal equipment that extended operation, the field administered and maintained in OAM agreement are hung under sending this ONU; OLT, by receiving the content that in expansion OAM agreement, field is carried, obtains the corresponding relation that described system is the device address of each terminal equipment distribution and the identify label of ONU; Or,
Mode two: OLT is after the terminal equipment newly added being detected, and the ONU being hung the terminal equipment newly added by the field in expansion OAM agreement downwards sends the local device address being configured to the terminal equipment configuration that this newly adds.
5. according to the method in claim 2 or 3, it is characterized in that, the device address of described user's input, obtains in the following way, comprising:
Receive the Serial No. be made up of numeral 0 ~ 9 of outside input;
According to the corresponding relation of the device address of Serial No. and terminal equipment, determine the device address that described user inputs.
6. the transmission system of data in EPON, is characterized in that, adopts the system of cradle head control agreement to comprise OLT and ONU, wherein:
The first dispensing device in OLT, when cradle head control protocol address for the terminal equipment of the terminal equipment hung under an ONU and another ONU repeats, when OLT initiates the communication with certain terminal equipment, send and comprise the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address;
The first acquisition device in ONU, is connected with described first dispensing device, for after the message receiving the identify label comprising ONU, obtains the identify label of ONU in described message;
Comparison means in ONU, is connected with described first acquisition device, for described identify label and respective identify label being compared;
The second dispensing device in ONU, is connected with described comparison means, if for identical, then sends described message according to the cradle head control protocol address in this message;
Wherein, the cradle head control protocol address of the terminal equipment hung under a described ONU and the terminal equipment of another ONU repeats to comprise: system be the device address distributed of terminal equipment more than 8 time, the device address more than 8 can be that the device address of the terminal equipment of 8 is identical by the part of system identification and cradle head control protocol address;
Wherein, can be latter 8 of device address by the part of system identification more than the device address of 8 described in.
7. system according to claim 6, is characterized in that:
Wherein said OLT, also comprises:
First acquisition device, for the corresponding relation of the identify label of the device address and ONU that obtain each terminal equipment, and preserves described corresponding relation;
Described first dispensing device, comprising:
Enquiry module, is connected with described first acquisition device, for behind the device address obtaining user's input, according to the device address of user's input, in described corresponding relation, and the identify label of the ONU that the device address that inquiring user inputs is corresponding;
First sending module, is connected with described enquiry module, if for inquiring, the device address that user is inputted rear 8 as cradle head control protocol address, send to comprise and inquire about the identify label of ONU that obtains and the message of cradle head control protocol address.
8. system according to claim 6, is characterized in that:
Described OLT also comprises:
Second acquisition device, for the corresponding relation of the identify label of the device address and ONU that obtain each terminal equipment;
Save set, is connected with described second acquisition device, for by 8 identical terminal equipments rear in device address according to device address order arrangement from small to large, obtain the identify label of whole ONU corresponding to same cradle head control protocol address;
Described first dispensing device comprises:
Second acquisition module, is connected with described save set, for behind the device address obtaining user's input, according to the device address of user's input, obtains the cradle head control protocol address that this device address is corresponding;
Determination module, be connected with described second acquisition module, for in the identify label of whole ONU corresponding to described cradle head control protocol address, using this device address as binary expression formula, the decimal value and 256 be converted to this expression formula is made the quotient after division and is added the result N after, determine that in the identify label of whole ONU that described cradle head control protocol address is corresponding, the ONU corresponding to described terminal equipment that be designated of N number of ONU identifies, wherein N is positive integer;
Second sending module, is connected with determination module with described second acquisition module, comprises the identify label of ONU corresponding to described terminal equipment and the message of cradle head control protocol address for sending.
9. the system according to claim 7 or 8, is characterized in that, the device address of described terminal equipment obtains in the following way, comprising:
Mode one: after the instruction of ONU reception exterior arrangement obtains the device address of terminal equipment, when registering to OLT, in the device address of the terminal equipment that extended operation, the field administered and maintained in OAM agreement are hung under sending this ONU; OLT, by receiving the content that in expansion OAM agreement, field is carried, obtains the corresponding relation that described system is the device address of each terminal equipment distribution and the identify label of ONU; Or,
Mode two: OLT is after the terminal equipment newly added being detected, and the ONU being hung the terminal equipment newly added by the field in expansion OAM agreement downwards sends the local device address being configured to the terminal equipment configuration that this newly adds.
10. the system according to claim 7 or 8, is characterized in that, described OLT also comprises:
Receiving system, for receiving the Serial No. be made up of numeral 0 ~ 9 of outside input;
Determining device, is connected with the first dispensing device with described receiving system, for the corresponding relation of the device address according to Serial No. and terminal equipment, determines the device address that described user inputs.
CN201310064936.6A 2013-03-01 2013-03-01 The transmission method of data and system in a kind of EPON Active CN103152413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310064936.6A CN103152413B (en) 2013-03-01 2013-03-01 The transmission method of data and system in a kind of EPON

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310064936.6A CN103152413B (en) 2013-03-01 2013-03-01 The transmission method of data and system in a kind of EPON

Publications (2)

Publication Number Publication Date
CN103152413A CN103152413A (en) 2013-06-12
CN103152413B true CN103152413B (en) 2016-02-03

Family

ID=48550272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310064936.6A Active CN103152413B (en) 2013-03-01 2013-03-01 The transmission method of data and system in a kind of EPON

Country Status (1)

Country Link
CN (1) CN103152413B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496064A (en) * 2002-09-19 2004-05-12 ���ǵ�����ʽ���� Operation, management and maintenance capability finding method in Ethernet passive optical network
CN1838612A (en) * 2006-04-25 2006-09-27 曾爱民 Head controlling method based on distributed network
CN101072330A (en) * 2006-05-09 2007-11-14 肖丹 Closed circuit television monitoring system signal transmission method
EP2117167A1 (en) * 2008-05-05 2009-11-11 Nokia Siemens Networks Oy Two and three-stroke discovery process for 10G-EPONs
CN101602206A (en) * 2009-07-07 2009-12-16 山东鲁能智能技术有限公司 The control system of cradle head preset positions of robot and control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496064A (en) * 2002-09-19 2004-05-12 ���ǵ�����ʽ���� Operation, management and maintenance capability finding method in Ethernet passive optical network
CN1838612A (en) * 2006-04-25 2006-09-27 曾爱民 Head controlling method based on distributed network
CN101072330A (en) * 2006-05-09 2007-11-14 肖丹 Closed circuit television monitoring system signal transmission method
EP2117167A1 (en) * 2008-05-05 2009-11-11 Nokia Siemens Networks Oy Two and three-stroke discovery process for 10G-EPONs
CN101602206A (en) * 2009-07-07 2009-12-16 山东鲁能智能技术有限公司 The control system of cradle head preset positions of robot and control method

Also Published As

Publication number Publication date
CN103152413A (en) 2013-06-12

Similar Documents

Publication Publication Date Title
CN103713608A (en) Hierarchical network architecture of wireless Internet-of-Things home system and networking communication method thereof
CN107342925B (en) Message transmission method and device
EP2339796B1 (en) Method and apparatus for processing broadcast packets and multicast control messages
CN104917849A (en) Message processing method, access controller and network node
CN111654765B (en) Business service processing method and device and optical line terminal
CN101552697A (en) Network access apparatus upgrade system and network access apparatus upgrade method
RU2009136529A (en) METHOD OF REGISTRATION IN THE NETWORK, MOBILE STATION AND SERVER FOR MANAGEMENT OF SUBSCRIBER INFORMATION
CN102665297B (en) Communication device and system as well as method of wireless cloud sensor network
CN105847565A (en) Emergency communication number determination method and device
US10341830B2 (en) Method and apparatus for sending or forwarding information
CN102185766A (en) Unicast forwarding method and forwarding equipment for responding messages by DHCP (Dynamic host configuration protocol) server
CN102448146B (en) Control method, device and access network element for network access for terminal equipment
CN103378979A (en) Passive optical network management method, device and system
EP3883257A1 (en) Data communication and communication management method based on distributed processing unit (dpu) and dpu
CN103713582B (en) A kind of method and apparatus of long-range monitoring
CN102511152A (en) Method for realizing multicast in shared network, system and device thereof
CN103152413B (en) The transmission method of data and system in a kind of EPON
CN104796801A (en) ONU (optical network unit) configuration sending method and ONU configuration sending system based on multiple tasks
CN107567065B (en) Transparent data transmission method and system based on wireless self-organizing network
CN101959087A (en) Multicast processing method and device
CN105099565A (en) Light emission system, light emission method, optical switching device and control method
CN111615019B (en) Method, apparatus and computer readable storage medium implemented in an optical network
CN104717640A (en) Realization method for wireless network communication based on positioning
CN105591956B (en) Flow control methods and equipment based on User-Network Interface UNI
CN106792468A (en) The method and system of identification discovery in machine communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant