CN101924688B - Uplink bandwidth allocation method and device - Google Patents
Uplink bandwidth allocation method and device Download PDFInfo
- Publication number
- CN101924688B CN101924688B CN200910149082.5A CN200910149082A CN101924688B CN 101924688 B CN101924688 B CN 101924688B CN 200910149082 A CN200910149082 A CN 200910149082A CN 101924688 B CN101924688 B CN 101924688B
- Authority
- CN
- China
- Prior art keywords
- bandwidth
- distribution structure
- bandwidth distribution
- onu
- allocation
- 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
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention discloses a kind of uplink bandwidth allocation method and device, the method includes: lower network element receives the bandwidth distribution structure from upper layer network element, and wherein, bandwidth distribution structure carries incidence relation information and temporal information;Lower network element, according to incidence relation information and temporal information, is safeguarded data transmission state, and is obtained uplink total bandwidth to carry out transmitting uplink data.When the present invention solves transmitting uplink data, when upper layer network element is assigned with several continuous print bandwidth distribution structures to certain lower network element, the loss of one of them (non-final one) bandwidth distribution structure may cause the problem that bandwidth distribution structure thereafter is also lost, and then effectively limits because losing the coverage that one of them bandwidth distribution structure causes a loss thereafter or multiple bandwidth distribution structure to lose and produce.
Description
Technical field
The present invention relates to communication technical field, particularly relate to the up band of the one in the communications field
Bandwidth allocation method and device.
Background technology
Gigabit passive optical network (Gigabit-Capable Passive Optical Network,
Referred to as GPON) technology is an important technology in EPON (PON) family
Branch, similar with other PON technology, GPON is also a kind of employing point-to-multipoint topology knot
The passive light access technology of structure.
By the optical line terminal of office side, (Optical Line Terminal is referred to as GPON
OLT), the optical network unit (Optical Network Unit, referred to as ONU) of user side
And Optical Distribution Network (Optical Distributio Network, referred to as ODN) composition,
Generally use point-to-multipoint network structure.ODN is by single-mode fiber, optical branching device, light even
Connect the Passive Optical Components compositions such as device, provide light to pass for the physical connection between OLT and ONU
Defeated medium.
In GPON system, the data transmission of down direction (by OLT to ONU) uses
Broadcast mode, each ONU receives all of frame respectively, further according to ONU-ID, GEM-Port
ID, Allocation-ID obtain one's own frame.But, for up direction (from
ONU to OLT) data transmission, due to transmission medium to be shared, need by suitable
Control process, just can make each ONU upstream data information completely be sent to OLT.
Uplink frame uses time division multiplex to access, and (Time Division Multiple Access is referred to as
TDMA) technology, this technology uses and up channel is divided into multiple time slot, ONU to
OLT sends the report sending upstream data, and OLT distributes according to the ONU that is reported as of ONU
Upstream bandwidth and control its certain time slot send data, OLT can also pass through flow monitoring
Upstream bandwidth is distributed for ONU.
At present, specifying in the G.984.3 standard of ITU-T, OLT is ONU distribution
Upstream bandwidth is with Bandwidth map bandwidth distribution structure (BWmap allocation structures)
Mode physical control block downstream (the Physical Control Block by downlink frame
Downstream, referred to as PCBd) carry transmission.
Fig. 1 be downlink frame physical control block downstream in Bandwidth map bandwidth distribution structure detailed
Fine texture schematic diagram.As it is shown in figure 1, downlink frame is made up of PCBd and payload two parts,
Wherein, PCBd farther includes: Physical Synchronization (Physical Synchronization, letter
Be referred to as Psync) territory, Ident territory, down physical layer operational administrative with safeguard (Physical Layer
OAM (Operation, Administraion & Maintenance) downstream, letter
Be referred to as Ploamd) territory, bit interleaved parity territory (Bit Interleaved Parity, be called for short
For BIP), information payload length field (Payload Length downstream, referred to as Plend)
Mapping territory (US BWmap) composition with upstream bandwidth, wherein, US BWmap enters one in territory
Step is made up of N number of bandwidth distribution structure (Allocation Structure), wherein, and each band
Wide distribution structure the most respectively by Alloc-ID (Allocation Identifier, bandwidth allocation identification,
Usually transmit container (Transmission Container, referred to as T-CONT) mark)
Territory, Flags territory (bandwidth distribution option, 12 bits, respectively bit 11-0, its
Middle bit 10 is used for notifying that ONU sends PLOAM message, bit in this upstream bandwidth
6-0 is reservation bit position), StartTime territory (for represent transmission upstream data initial time
Between), StopTime territory (for represent transmission upstream data end time) and circulate superfluous
Remaining check code (Cyclic Redundancy Check, referred to as CRC) territory composition.
Wherein, when ONU receives an Allocation structure, first ONU
Data in the Allocation structure received are carried out CRC check, if verification
Result is correct, according to Alloc-ID, ONU judges that whether this Allocation structure is point
Dispensing oneself, if it is, ONU will indicate at Allocation structure
The StartTime moment starts to send the number in the T-CONT that bandwidth allocation identification is Alloc-ID
According to, stop sending data after the StopTime moment has sent data.If CRC detects
During to the most repairable mistake, then show the data in the Allocation structure received
There occurs the most repairable mistake in the transmission, then ONU must abandon the distribution of this bandwidth, closes
Closing laser instrument, to avoid potential up luminous conflict, deserving to be called the situation of stating is that ONU loses
One Allocation structure.
In correlation technique, when OLT is assigned with several continuous print to an ONU
Allocation structure (the StratTime value in i.e. next Allocation structure
Equal to a upper StopTime value after subtracting one), one of them Allocation structure is (no
It is last Allocation structure) lose, ONU will close laser instrument, if
The transmission time that the distribution bandwidth of this Allocation structure lost is corresponding is less than guarantor
When protecting the time physical layer overhead (PLO) the time sum of (Guard-Time) and ONU,
Number in ONU prepares the next T-CONT corresponding for Allocation structure of transmission
According to time, the most promising ONU of OLT reserves the time of enough Guard-Time and PLO,
Next Allocation structure may be caused to lose.Therefore, certain ONU is given as OLT
Be assigned with several continuous print Allocation structure, if one of them (non-final one
Individual) loss of Allocation structure may cause ensuing Allocation structure
Also lose.
In prior art, certain method is not also had to avoid an Allocation Structure
Lose impact on Allocation Structure thereafter, the most not to losing Allocation
The restoration methods of Structure so that GPON fault-tolerant ability in terms of upstream bandwidth distribution
Existing defects.
Summary of the invention
For in correlation technique, when upper layer network element gives certain lower network element, to be assigned with several continuous
Allocation structure time, one of them (non-final one) Allocation structure
Loss problem that ensuing Allocation structure also loses may be caused to propose
The present invention, to this end, present invention is primarily targeted at the upstream bandwidth providing a kind of improvement
Distribution method and device, to solve at least one the problems referred to above.
To achieve these goals, according to an aspect of the invention, it is provided one is up
Bandwidth allocation methods.
Uplink bandwidth allocation method according to the present invention includes: lower network element receives from upper strata
The bandwidth distribution structure of network element, wherein, bandwidth distribution structure carry incidence relation information and time
Between information;Lower network element, according to incidence relation information and temporal information, safeguards that data transmit shape
State, and obtain uplink total bandwidth to carry out transmitting uplink data.
Preferably, incidence relation information includes at least one of: distribute to lower network element
The sum of continuous bandwidth distribution structure and the index of current bandwidth distribution structure or position;?
After current bandwidth distribution structure, distribute to lower network element continuous bandwidth distribution structure
Number;Before current bandwidth distribution structure, distribute to the continuous bandwidth distribution knot of lower network element
The number of structure;Whether current bandwidth distribution structure belongs to previous or multiple bandwidth distribution structures
Continuous bandwidth in same lower network element;Current bandwidth distribution structure and later or multiple
Whether bandwidth distribution structure belongs to the continuous bandwidth of same lower network element.
Preferably, temporal information includes: use the bandwidth distribution structure belonging to temporal information to enter
The time started of row data transmission and end time.
Preferably, obtain uplink total bandwidth to include to carry out transmitting uplink data: to band
The data of wide distribution structure verify;In the case of verification is correct, this bandwidth is used to divide
Distribution structure is to carry out transmitting uplink data;In the case of check errors, according to incidence relation
Information determines that the bandwidth distribution structure of one or more check errors is at continuous print bandwidth distribution knot
Position in structure, abandons one or more bandwidth distribution structures of check errors, or, extensive
The temporal information of the bandwidth distribution structure of multiple whole check errors, and obtain according to temporal information
Uplink total bandwidth is to carry out transmitting uplink data.
Preferably, the temporal information of the bandwidth distribution structure recovering whole check errors includes:
Current bandwidth distribution structure is identified, it is judged that whether front and back also has verification correct
Bandwidth distribution structure;If one or more adjacent bandwidths distribution structures tool of check errors
Two bandwidth distribution structures adjacent before and after having verification correct, then according to the most adjacent two
Temporal information in individual bandwidth distribution structure, recovers the bandwidth distribution structure of whole check errors
Temporal information, wherein, by adjacent later bandwidth distribution structure initial time believe
Cease the difference with the end time information in adjacent previous bandwidth distribution structure as whole school
The temporal information of error checking bandwidth distribution structure by mistake.
Preferably, the verification that one or more adjacent bandwidths distribution structures of check errors have
Two bandwidth distribution structures adjacent before and after Zheng Que include distributing knot through the bandwidth of over recovery
Structure.
Preferably, the one or more bandwidth distribution structures abandoning check errors include: if
One or more adjacent bandwidths distribution structures of check errors do not have phase before and after verification correctly
Two adjacent bandwidth distribution structures, then abandon one or more bandwidth distribution knot of check errors
Structure.
Preferably, after recovering the temporal information of bandwidth distribution structure of whole check errors,
Method also includes: abandon one or more bandwidth distribution structures of the check errors of recovery, and
Send idle frame, or, the one or more bandwidth distribution to the check errors recovered respectively
Each address identification message in structure verifies, and belongs to lower floor at address identification message
In the case of network element, carry out transmitting uplink data.
To achieve these goals, according to a further aspect in the invention, it is provided that a kind of up
Bandwidth distributor.
Upstream bandwidth distributor according to the present invention includes: receives unit, is used for receiving
From the bandwidth distribution structure of upper layer network element, wherein, bandwidth distribution structure carries incidence relation letter
Breath and temporal information;Maintenance unit, for according to incidence relation information, arranges and keeps number
According to transmission state;Acquiring unit, for according to temporal information, obtains uplink total bandwidth.
Preferably, acquiring unit includes: correction verification module, for the number to bandwidth distribution structure
According to verifying;Determine module, in the case of check errors, according to incidence relation
Information determines that the continuous bandwidth distribution structure of one or more check errors is divided in continuous print bandwidth
Position in distribution structure;Acquisition module, for the correct or verification according to first verification
After the bandwidth distribution structure that can recover and last is correct or can recover after verification
Bandwidth distribution structure in temporal information, obtain uplink total bandwidth.
Preferably, acquisition module includes: recover submodule, for according to the one of check errors
Two bandwidth distribution adjacent before and after individual or multiple continuous bandwidth distribution structure verification is correct
Temporal information in structure, recovers one or more continuous bandwidth distribution structures of check errors.
Preferably, acquisition module includes: process submodule, for abandoning the one of check errors
Individual or multiple continuous bandwidth distribution structures, wherein, one or more continuous bands of check errors
Wide distribution structure do not have identified before and after adjacent two bandwidth distribution structures.
Pass through the present invention, it is provided that the allocative decision of a kind of upstream bandwidth, ONU receive from
The downlink frame of OLT, wherein, downlink frame carries incidence relation information and temporal information;ONU
According to incidence relation information and temporal information, to occurring that the upstream bandwidth receiving mistake is allocated into
Row error correction, obtains the uplink total bandwidth of this ONU after error correction, utilizes uplink
Total bandwidth carries out data transmission.When solving transmitting uplink data, upper layer network element is under certain
Layer network element be when being assigned with several continuous print Allocation structure, and one of them is (non-
Later) loss of Allocation structure may cause Allocation thereafter
The problem that structure also loses, and then effectively limit because losing one of them
Allocation structure causes a loss thereafter or multiple Allocation structure
The coverage lost and produce.
Other features and advantages of the present invention will illustrate in the following description, and, portion
Divide ground to become apparent from specification, or understand by implementing the present invention.This
Bright purpose and other advantages can be by the specification write, claims and attached
Structure specifically noted in figure realizes and obtains.
Accompanying drawing explanation
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes one of specification
Point, it is used for together with embodiments of the present invention explaining the present invention, is not intended that the present invention's
Limit.In the accompanying drawings:
Fig. 1 be downlink frame physical control block downstream in Bandwidth map bandwidth distribution structure detailed
Fine texture schematic diagram;
Fig. 2 is the flow chart of the uplink bandwidth allocation method according to the preferred embodiment of the present invention;
Fig. 3 is the flow chart of present example one;
Fig. 4 is the flow chart of present example two;
Fig. 5 is the flow chart of present example three;
Fig. 6 is the flow chart of present example four;
Fig. 7 is the flow chart of present example five;
Fig. 8 is the flow chart of present example six;
Fig. 9 is the flow chart of present example seven;
Figure 10 is the structured flowchart of the upstream bandwidth distributor according to the embodiment of the present invention;
Figure 11 is the structural frames of the upstream bandwidth distributor according to the preferred embodiment of the present invention
Figure.
Detailed description of the invention
Functional overview
Embodiments provide the transmitting uplink data scheme of a kind of improvement, particularly relate to
In GPON system, ONU sends the situation of upstream data by ODN to OLT.Work as OLT
When being assigned with several continuous print Allocation structure to an ONU, OLT passes through
Reserved field in the Flags territory of Allocation structure carry information notice ONU this
Sub-distribution gives the situation of its continuous Allocation structure (such as number, index or position
Put, front and back the relation etc. of Allocation Structure).ONU utilizes this information analysis
Receive several continuous print Allocation structure and obtain the up biography belonging to this ONU
Defeated total bandwidth, ONU in the time that one's own uplink total bandwidth is corresponding in always
Keep data transmission state (unlatching laser instrument).If ONU lost one or several
Allocation structure, ONU need not OLT and reserve Guard-Time's and PLO
Time, it is corresponding that ONU can normally transmit the Allocation structure not lost
Data in T-CONT, effectively limit one or more Allocation structure and lose
The coverage lost.
In the case of not conflicting, the embodiment in the application and the feature in embodiment are permissible
It is mutually combined.
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated, it will be appreciated that this
Preferred embodiment described by place is merely to illustrate and explains the present invention, is not used to limit this
Invention.If do not conflicted, the embodiment in the application and the feature in embodiment can be mutual
Combination.
Embodiment of the method
According to embodiments of the present invention, provide firstly a kind of uplink bandwidth allocation method.
In GPON system, ONU (lower network element) sends to OLT (upper layer network element) and needs
The report of data to be sent, OLT reporting or the actual uplink stream of ONU according to ONU
Amount for ONU distribute upstream bandwidth, when OLT to some ONU be assigned with several continuously
Allocation structure time, OLT is by the Allocation structure of downlink frame
Flags territory in reserved bit (bit6-0) carry incidence relation information notice ONU this time
Distribute to the number of its continuous Allocation structure.Carry out in detail below in conjunction with Fig. 2
Describe.
Fig. 2 is the flow chart of the uplink bandwidth allocation method according to the embodiment of the present invention.Such as figure
Shown in 2, uplink bandwidth allocation method according to embodiments of the present invention includes following process (step
Rapid S201-step S203):
Step S201: lower network element reception is from the bandwidth distribution structure of upper layer network element, wherein,
Bandwidth distribution structure carries incidence relation information and temporal information;
Preferably, above-mentioned incidence relation information can include at least one of: distributes to connect
Receive the sum of continuous bandwidth distribution structure of lower network element of downlink frame, current bandwidth distribution knot
The index of structure or position;After current bandwidth distribution structure, distribute to the company of lower network element
The number of continuous bandwidth distribution structure;Before current bandwidth distribution structure, distribute to lower floor
The number of the continuous print bandwidth distribution structure of network element;Current bandwidth distribution structure with previous or
Whether multiple bandwidth distribution structures belong to the continuous bandwidth of same ONU;Current bandwidth divides
Whether distribution structure belongs to the continuous of same ONU with later or multiple bandwidth distribution structure
Bandwidth.
Preferably, above-mentioned temporal information includes: use the bandwidth distribution knot belonging to temporal information
Time started that structure carries out data transmission and end time.
Step S203: lower network element, according to incidence relation information and temporal information, safeguards data
Transmission state, and obtain uplink total bandwidth to carry out transmitting uplink data.
Preferably, according to not losing the incidence relation information of Allocation structure,
In the case of losing Allocation structure, continue to keep lower network element to be in data transmission
State, does not the most close laser instrument.
Preferably, according to incidence relation information and temporal information, safeguard data transmission state,
Obtain uplink total bandwidth, need first lower network element is arranged in data transmission shape
State, i.e. OLT are first T-CONT corresponding for Allocation structure of ONU
The time of reserved Guard-Time and PLO;Then judge whether front of or behind also has
The bandwidth distribution structure of distribution, and according to first correct or can recover after verification
Bandwidth distribution structure and last bandwidth distribution knot that is correct or that can recover after verification
Temporal information in structure, determines uplink total bandwidth.
Preferably, need the data of bandwidth distribution structure are carried out verifying (such as, CRC
Verification), utilize uplink total bandwidth to carry out data biography in two kinds of situation according to check results
Defeated.
(1) for verifying correct bandwidth distribution structure, this bandwidth distribution structure is used to carry out
Data are transmitted;
In specific implementation process, ONU will indicate at Allocation structure
The StartTime moment starts to send the number in the T-CONT that bandwidth allocation identification is Alloc-ID
According to, stop sending data in the StopTime moment.
(2) in the case of check errors, check errors is determined according to incidence relation information
The position in continuous print bandwidth distribution structure of bandwidth distribution structure, and according to the position determined
Put and carry out transmitting uplink data.
Preferably, in the case of check errors, (this bandwidth of the most above-mentioned loss is distributed
The situation of structure), determine that according to incidence relation information the bandwidth of one or more check errors is divided
Distribution structure position in continuous print bandwidth distribution structure, abandons of check errors or many
Individual bandwidth distribution structure, or, recover the time of the bandwidth distribution structure of whole check errors
Information, and obtain uplink total bandwidth to carry out transmitting uplink data according to temporal information.
Preferably, the bandwidth distribution structure of whole check errors is recovered (i.e. to check errors
Bandwidth distribution structure carries out error correction) temporal information can be in the following manner: to current band
Wide distribution structure is identified, it is judged that front and back the most also verifies correct bandwidth and divides
Distribution structure;If one or more adjacent bandwidths distribution structures of check errors just have verification
Two bandwidth distribution structures adjacent before and after Que, then divide according to two the most adjacent bandwidth
Temporal information in distribution structure, recovers the time letter of the bandwidth distribution structure of whole check errors
Breath, wherein, by the start time information in adjacent later bandwidth distribution structure with adjacent
Previous bandwidth distribution structure in the difference of end time information as whole check errors
The temporal information of bandwidth distribution structure.
Preferably, one or more adjacent bandwidths distribution structures of above-mentioned check errors have
Before and after verification is correct, two adjacent bandwidth distribution structures can also include the band through over recovery
Wide distribution structure.
Wherein, if one or more adjacent bandwidths distribution structures of check errors have verification
Two bandwidth distribution structures adjacent before and after Zheng Que, then according to two the most adjacent bandwidth
Temporal information in distribution structure, recover unidentified go out bandwidth distribution structure;Abandon recovery
Unidentified go out one or more adjacent bandwidths distribution structures, and send idle frame, or,
Respectively each in one or more bandwidth distribution structures of the check errors recovered is carried out
Verification, and carry out data transmission in the case of check results is correct.
Wherein, if one or more adjacent bandwidths distribution structures of check errors do not have school
Before and after testing correctly, (i.e. check errors is one or more for two adjacent bandwidth distribution structures
Bandwidth distribution structure is the foremost of the continuous print bandwidth distribution structure distributing to above-mentioned ONU
Or rearmost one or more), then the one or more adjacent bandwidths abandoning check errors are divided
Distribution structure.
Uplink data transmission method provided above, is not limited only to GPON system, in necessity
In the case of, apply also for other communication system.
Example one
Fig. 3 is the flow chart of present example one.As it is shown on figure 3, present example one is main
Including following process (step S301-step S303):
Step S301: when OLT is assigned with several continuous print Allocation to an ONU
During structure, OLT reserved field in the Flags territory of each Allocation structure
Write numeral m, 0≤m≤127 in bit6-0, represent that OLT is at current Allocation
M Allocation structure it is assigned with to this ONU after structure.
Step S303:ONU utilizes this information analysis to receive several continuous print
Allocation structure, obtains the uplink total bandwidth belonging to this ONU, and ONU exists
In in the time that one's own uplink total bandwidth is corresponding, always on laser instrument is to carry out
Transmitting uplink data.
The three kinds of different situations lost below according to Allocation structure, specifically describe
When using the method that this embodiment provides, the loss of Allocation structure is to uplink
The impact caused.
(1) OLT is assigned with n (n >=1) individual continuous print Allocation to an ONU
Structure, if the front x that first ONU receives (1≤x≤n) individual Allocation structure
During loss, then ONU abandons front x Allocation structure.Because OLT is ONU
First T-CONT corresponding for Allocation structure reserved Guard-Time and
The time of PLO, so ONU is from (x+1)th (x+1≤n) individual Allocation structure
StartTime start to transmit in current T-CONT corresponding for Allocation structure
Data.
(2) if ONU is last x (1≤x≤n) the individual Allocation that receives
When structure loses, then ONU abandons x last Allocation structure.
(3) if the centre that receives of ONU is (except first and last Allocation
Any one or more Allocation structure beyond structure) continuous print x (1≤
X < n-1, n > 2) individual Allocation structure lose time, ONU will be at first
The StartTime moment of Allocation structure starts to transmit this Allocation structure
The corresponding data in T-CONT, and stop transmission in the StopTime moment, because ONU
Can be according to bit6-0 position in the Flags territory of first the Allocation structure received
M value determine also have m OLT to distribute to the Allocation of this ONU below
Structure, so ONU is not turn off laser instrument.
Preferably, if one or more bandwidth distribution structures of check errors (loss) have
Two bandwidth distribution structures adjacent before and after having verification correct (loss), then according to front
The most adjacent temporal information in two bandwidth distribution structures, can recover check errors and (lose
Lose) the temporal information of bandwidth distribution structure.
Such as, second Allocation structure loses, but the 3rd Allocation
The data of structure are correct, and ONU can be according to first Allocation structure's
The StartTime of StopTime and the 3rd Allocation structure recovers second
StartTime and StopTime of Allocation structure.Preferably, is being recovered
In the case of two Allocation structure, ONU can have two kinds of selections: the first
Selection is that ONU abandons second Allocation structure, sends idle frame;The second
Selection is that ONU judges whether the Alloc-ID in second Allocation structure belongs to
This ONU, if it is, this ONU can be according to second Allocation recovered
Second Allocation of StartTime and the StopTime normal transmission of structure
The GEM frame of the T-CONT that structure is corresponding, if it does not, ONU can arbitrarily send
The GEM frame of one T-CONT, it is also possible to send idle frame.
Such as, second Allocation structure and the 3rd Allocation structure
All losing, but the data of the 4th Allocation structure are correct, ONU can root
StopTime and the 4th Allocation according to first Allocation structure
The StartTime of structure recovers the StartTime of second Allocation structure
StopTime with the 3rd Allocation structure.Now ONU has two kinds of selections:
The first selects to be that ONU abandons this two Allocation structure, sends idle frame;
It is that ONU judges that the Alloc-ID in second Allocation structure is that the second selects
No belong to this ONU, if it is, ONU can be according to second Allocation recovered
The StopTime of the StartTime of structure and the 3rd Allocation structure is normal
The GEM frame of second T-CONT corresponding for Allocation structure of transmission, if the
The Alloc-ID of two Allocation structure is not belonging to this ONU, then ONU judges
Whether the Alloc-ID in the 3rd Allocation structure belongs to this ONU, if it is,
Then this ONU can be according to second the Allocation structure's recovered
The StopTime normal transmission of StartTime and the 3rd Allocation structure the 3rd
The GEM frame of the T-CONT that Allocation structure is corresponding, if it is not, then this ONU
Can arbitrarily send the GEM frame of a T-CONT, it is also possible to send idle frame.Preferably
Ground, in the case of losing two continuous print Allocation structure, selects for the second
Selecting, ONU can also change the suitable of the Alloc-ID of two Allocation structure of verification
Sequence.
Preferably for the continuous print Allocation in the middle of losing three or more than three
The situation of structure, equally uses above-mentioned restoration methods, recovers the bandwidth of loss
The temporal information of distribution structure.And after being resumed, use the first to select or the second choosing
Select and process.
Example two
Fig. 4 is the flow chart of present example two.As shown in Figure 4, present example two is main
Including following process (step S401-step S403):
Step S401: when OLT is assigned with several continuous print Allocation to an ONU
During structure, OLT reserved field in the Flags territory of each Allocation structure
Write numeral n, 1≤n≤7 in bit5-3, represent that OLT is assigned with n to this ONU
Continuous print Allocation structure;OLT is at the Flags of each Allocation structure
In reserved field bit2-0 in territory, write numeral 1,1≤l≤7, represent current Allocation
Structure is the 1st the Allocation structure that OLT distributes to this ONU.
The information analysis that step S403:ONU is carried by the bit5-0 in Flags territory receives
To several continuous print Allocation structure, obtain the uplink belonging to this ONU
Total bandwidth, ONU in the time that one's own uplink total bandwidth is corresponding in one head straight for
Open laser instrument to carry out transmitting uplink data.
The three kinds of different situations lost below according to Allocation structure, specifically describe
When using this embodiment method, uplink is caused by the loss of Allocation structure
Impact.
(1) OLT is assigned with n (n >=1) individual continuous print Allocation to an ONU
Structure, if the front x that first ONU receives (1≤x≤n) individual Allocation structure
During loss, then ONU abandons front x Allocation structure.Because OLT is ONU
First T-CONT corresponding for Allocation structure reserved Guard-Time and
The time of PLO, so ONU is from (x+1)th (x+1≤n) individual Allocation structure
StartTime start to transmit in current T-CONT corresponding for Allocation structure
Data.
(2) if ONU is last x (1≤x≤n) the individual Allocation that receives
When structure loses, ONU abandons x last Allocation structure.
(3) if the centre that receives of ONU is (except first and last Allocation
Any one or more Allocation structure beyond structure) continuous print x (1≤
X < n-1, n > 2) individual Allocation structure lose time, ONU will be at first
The StartTime moment of Allocation structure starts to transmit this Allocation structure
The corresponding data in T-CONT, and stop transmission in the StopTime moment, because ONU
Can be according to bit5-0 position in the Flags territory of first the Allocation structure received
The value of n and l (l≤n) determine also have (n-l) individual OLT to distribute to this ONU's below
Allocation structure, so ONU is not turn off laser instrument.
Equally, according to the restoration methods described in example one, check errors can be recovered and (lose
Lose) the temporal information of bandwidth distribution structure.
Such as, second Allocation structure loses, but the 3rd Allocation
The data of structure are correct, and ONU can be according to first Allocation structure's
The StartTime of StopTime and the 3rd Allocation structure recovers second
StartTime and StopTime of Allocation structure.Preferably, is being recovered
In the case of two Allocation structure, ONU can have two kinds of selections: the first
Selection is that ONU abandons second Allocation structure, sends idle frame;The second
Selection is that ONU judges whether the Alloc-ID in second Allocation structure belongs to
This ONU, if it is, this ONU can be according to second Allocation recovered
Second Allocation of StartTime and the StopTime normal transmission of structure
The GEM frame of the T-CONT that structure is corresponding, if it does not, ONU can arbitrarily send
The GEM frame of one T-CONT, it is also possible to send idle frame.
Such as, second Allocation structure and the 3rd Allocation structure
Allocation structure all lose, but the number of the 4th Allocation structure
According to correctly, ONU can be according to the StopTime of first Allocation structure and
Four StartTime recover the StartTime and the 3rd of second Allocation structure
The StopTime of individual Allocation structure.Now ONU has two kinds of selections: the first
Selection is that ONU abandons this two Allocation structure, sends idle frame;The second
Selection is that ONU judges whether the Alloc-ID in second Allocation structure belongs to
This ONU, if it is, this ONU can be according to second Allocation recovered
The StopTime of the StartTime of structure and the 3rd Allocation structure is normal
The GEM frame of second T-CONT corresponding for Allocation structure of transmission, if it does not,
Whether the Alloc-ID during then ONU judges the 3rd Allocation structure belongs to this
ONU, if it is, this ONU can be according to second Allocation recovered
The StopTime of the StartTime of structure and the 3rd Allocation structure is normal
Transmit the GEM frame of the 3rd T-CONT corresponding for Allocation structure, if it does not,
Then this ONU can arbitrarily send the GEM frame of a T-CONT, it is also possible to sends the free time
Frame.Preferably, in the case of losing two continuous print Allocation structure, for
The second selects, and ONU can also change two Allocation structure's of verification
The order of Alloc-ID.
Preferably for the continuous print Allocation in the middle of losing three or more than three
The situation of structure, equally uses above-mentioned restoration methods, recovers the bandwidth of loss
The temporal information of distribution structure.And after being resumed, use the first to select or the second choosing
Select and process.
Example three
Fig. 5 is the flow chart of present example three.As it is shown in figure 5, present example three is main
Including following process (step S501-step S503):
Step S501: when OLT is assigned with several continuous print Allocation to an ONU
During structure, OLT reserved field in the Flags territory of each Allocation structure
Write numeral m, 0≤m≤127 in bit6-0, represent that OLT is at current Allocation
M Allocation structure it is assigned with to this ONU before structure;
Step S503:ONU utilizes above-mentioned digital information to resolve and receives several continuous print
Allocation structure, obtains the uplink total bandwidth belonging to this ONU, and ONU exists
In in the time that one's own uplink total bandwidth is corresponding, always on laser instrument is to carry out
Transmitting uplink data.
Below according to Allocation structure lose different situations illustrate employing this
During the method that embodiment provides, uplink is caused by the loss of Allocation structure
Impact.
(1) as front x (1≤x≤n) the individual Allocation structure that first ONU receives
During loss, ONU abandons front x Allocation structure.This process may refer to reality
Example one and example two.
(2) x (1≤x≤n) individual Allocation structure after ONU finally receives
During loss, then ONU abandons rear x Allocation structure.This process may refer to
Example one and example two.
(3) when the centre that ONU receives is (except first and last Allocation
Any one or more Allocation structure beyond structure) continuous print x (1≤
X < n-1, n > 2) individual Allocation structure loss, ONU can be according to m1 value (OLT
Bit6-0 in the Flags territory of first the Allocation structure distributing to this ONU
The m value of position) and m2 value (OLT distributes to last Allocation of this ONU
The m value of bit6-0 position in the Flags territory of structure) obtain OLT continuous dispensing to oneself
Allocation structure number (difference of m2 Yu m1), according to this information ONU
Resolve the Allocation structure received, it is possible to determine that the uplink of oneself always carries
Width, ONU in the time that one's own uplink total bandwidth is corresponding in always on swash
Light device.
Preferably, according to before and after the one or more bandwidth distribution structures lost adjacent two
The temporal information of the individual bandwidth distribution structure do not lost, recovers check errors (loss)
The processing procedure of temporal information of bandwidth distribution structure, may refer to example one and example two
Description, here is omitted.
Example four
Fig. 6 is the flow chart of present example four.As shown in Figure 6, present example four is main
Including following process (step S601-step S603):
Step S601: when OLT is assigned with several continuous print Allocation to an ONU
During structure, OLT reserved field in the Flags territory of each Allocation structure
Write numeral 1,1≤l≤7 in bit5-3, represent and go back before current Allocation structure
There is the number of several Allocation structure belonging to this ONU;And OLT is often
Write numeral m in reserved field bit2-0 in the Flags territory of individual Allocation structure,
1≤m≤7, represent the most several after current Allocation structure and belong to this ONU
The number of Allocation structure;
The information analysis that step S603:ONU is provided by the bit5-0 in Flags territory receives
To several continuous print Allocation structure, obtain the uplink belonging to this ONU
Total bandwidth, ONU in the time that one's own uplink total bandwidth is corresponding in one head straight for
Open laser instrument to carry out transmitting uplink data.
Below according to Allocation structure lose different situations illustrate employing this
During embodiment method, the impact that uplink is caused by the loss of Allocation structure.
(1) as front x (1≤x≤n) the individual Allocation structure that first ONU receives
During loss, ONU abandons front x Allocation structure.This processes before may refer to
The example that face describes.
(2) x (1≤x≤n) individual Allocation structure after ONU finally receives
During loss, ONU abandons rear x Allocation structure.This processes before may refer to
The example that face describes.
(3) when the centre that ONU receives is (except first and last Allocation
Any one or more Allocation structure beyond structure) continuous print x (1≤
X < n-1, n > 2) individual Allocation structure lose time, ONU will be at first
The StartTime moment of Allocation structure starts to transmit this Allocation structure
The corresponding data in T-CONT, and stop transmission in the StopTime moment, because ONU
Can be according to bit2-0 position in the Flags territory of first the Allocation structure received
The numerical value of m determine also have m OLT to distribute to the Allocation of this ONU below
Structure, therefore ONU is not turn off laser instrument.
Preferably, according to before and after the one or more bandwidth distribution structures lost adjacent two
The temporal information of the individual bandwidth distribution structure do not lost, recovers check errors (loss)
The processing procedure of temporal information of bandwidth distribution structure, may refer to the description of previous examples,
Here is omitted.
By examples detailed above one to example four, it can be deduced that, if ONU lost one
Or multiple Allocation structure, ONU need not OLT reserve Guard-Time and
The time of PLO, ONU can normally transmit Allocation structure couple not lost
Data in the T-CONT answered, effectively limit one or more Allocation
The coverage that structure loses.
Example five
Fig. 7 is the flow chart of present example five.As it is shown in fig. 7, present example five is main
Including following process (step S701-step S703):
Step S701: when OLT is assigned with several continuous print Allocation to an ONU
During structure, OLT reserved field in the Flags territory of each Allocation structure
Write numeral 1 in bit0, represents that also having one before current Allocation structure belongs to together
In the Allocation structure of this ONU, or, OLT is at each Allocation
Write numeral 0 in reserved field bit0 in the Flags territory of structure, represents current
The Allocation structure of this ONU is not belonged to before Allocation structure;
OLT reserved field bit1 in the Flags territory of each Allocation structure writes number
Word 1, represents that also having one after current Allocation structure belongs to this ONU's
Allocation structure, or, OLT is at the Flags of each Allocation structure
In reserved field bit1 in territory, write numeral 0, represents after current Allocation structure
Do not belong to the Allocation structure of this ONU;
Step S703: when the Allocation structure number lost continuously is less than or equal to two
Time individual, the information analysis that ONU is provided by the bit1-0 in Alloc-ID and Flags territory connects
Receive several continuous print Allocation structure, obtain the up biography belonging to this ONU
Defeated total bandwidth, ONU in the time that one's own uplink total bandwidth is corresponding in always
Open laser instrument to carry out transmitting uplink data.
Below according to Allocation structure lose different situations illustrate employing this
During the method that embodiment provides, uplink is caused by the loss of Allocation structure
Impact.
(1) as front x (1≤x≤n) the individual Allocation structure that ONU receives
During loss, ONU abandons front x Allocation structure.This processes before may refer to
The example that face describes.
(2) x (1≤x≤n) individual Allocation structure after ONU finally receives
During loss, ONU abandons rear x Allocation structure.This processes before may refer to
The example that face describes.
(3) if ONU is xth (1 < x < n) the individual Allocation structure that receives
During loss, before ONU normal transmission, (x-1) individual Allocation structure is corresponding
Data in T-CONT, and at the StopTime of (x-1) individual Allocation structure
Moment stops transmission, because ONU can be according to (x-1) the individual Allocation received
In the Flags territory of structure, the value 1 of bit1 position determines also have an OLT to distribute to below
The Allocation structure of this ONU, so ONU is not turn off laser instrument;If
Xth and (x+1) (2 < x+1 < n) individual Allocation structure that ONU receives lose
Miss the season, T-CONT corresponding for (x-1) individual Allocation structure before ONU normal transmission
In data, and stop in the StopTime moment of (x-1) individual Allocation structure
Only transmission.ONU is according to the Flags of (x-1) the individual Allocation structure received
In territory, the value 1 of bit1 position determines also have an OLT to distribute to this ONU's below
Allocation structure, ONU are according to (x+2) the individual Allocation received
In the Flags territory of structure, the value 1 of bit0 position determines above also have an OLT to distribute to
The Allocation structure, ONU of this ONU can draw three below information: first,
(x-1) individual Allocation structure and x-th Allocation structure belongs to
One ONU;Second, ONU can also judge (x+1) individual Allocation structure
An ONU is belonged to (x+2) individual Allocation structure;3rd, according to
(x-1) Alloc-ID and+2 Allocation of xth of individual Allocation structure
The Alloc-ID of structure, ONU may determine that-1 Allocation structure of xth
An ONU is belonged to+2 Allocation structure of xth.To sum up, ONU is permissible
Learn that-1 Allocation structure of xth to+2 Allocation structure of xth is same
Belong to an ONU.According to this information, ONU is transferring (x-1) individual Allocation
After the information of the T-CONT that structure is corresponding, ONU is not turn off laser instrument.
Preferably, according to (x-th, wherein, 1 < x < n) lost or two (the
X and (x+1)th, wherein, 1 < x < n-1) adjacent before and after bandwidth distribution structure two
The temporal information of the bandwidth distribution structure do not lost, recovers the band of check errors (loss)
The processing procedure of the temporal information of wide distribution structure, may refer to the description of previous examples, this
Place repeats no more.
The method provided by this example, it can be deduced that, if ONU lost one or
Two Allocation structure, ONU need not OLT and reserves Guard-Time and PLO
Time, it is corresponding that ONU can normally transmit the Allocation structure not lost
Data in T-CONT, effectively limit one or two Allocation structure and lose
The coverage lost.Further, if the number of the Allocation structure lost continuously is little
When equal to 2, merely with two of Flags reserved field, it is possible to by Allocation
The coverage that structure loses has been restricted to lose band corresponding to Allocation structure
In the range of width.
Example six
Fig. 8 is the flow chart of present example six.As shown in Figure 8, present example six is main
Including following process (step S801-step S803):
Step S801: when OLT is assigned with several continuous print Allocation to an ONU
During structure, OLT reserved field in the Flags territory of each Allocation structure
In bit1-0, write numeral 0, represents there is one or zero after current Allocation structure
The individual Allocation structure belonging to this ONU.Or, OLT is at each Allocation
Write numeral 1 in reserved field bit1-0 in the Flags territory of structure, represents current
Two Allocation belonging to this ONU are had after Allocation structure
structure.Or, OLT guarantor in the Flags territory of each Allocation structure
Stay write numeral 2 in the bit1-0 of territory, represent there are three after current Allocation structure
Belong to the Allocation structure of this ONU.Or, OLT is at each Allocation
Write numeral 3 in reserved field bit1-0 in the Flags territory of structure, represents current
Have after Allocation structure more than or equal to four Allocation belonging to this ONU
structure;
Step S803: when the Allocation structure number lost continuously is less than or equal to four
Time individual, the information analysis that ONU is provided by the bit1-0 in Alloc-ID and Flags territory connects
Receive several continuous print Allocation structure, obtain the up biography belonging to this ONU
Defeated total bandwidth, ONU in the time that one's own uplink total bandwidth is corresponding in always
Open laser instrument to carry out transmitting uplink data.
Below according to Allocation structure lose different situations illustrate employing this
During the method that embodiment provides, uplink is caused by the loss of Allocation structure
Impact.
(1) OLT is assigned with n (n >=1) individual continuous print Allocation to an ONU
Structure, as front x (1≤x≤n) the individual Allocation structure that first ONU receives
During loss, ONU abandons front x Allocation structure.This processes before may refer to
The example that face describes.
(2) x (1≤x≤n) individual Allocation structure after ONU finally receives
During loss, ONU abandons rear x Allocation structure.This processes before may refer to
The example that face describes.
(3) illustrate separately below when n is more than or equal to 6 equal to 3,4,5 and n, ONU
The situation that middle x (1≤x≤4) the individual Allocation structure received loses.
As n=3, if second Allocation structure that ONU receives loses,
Data in first T-CONT corresponding for Allocation structure of ONU normal transmission,
And stop transmission in the StopTime moment of first Allocation structure, because
ONU can be according in the Flags territory of first the Allocation structure received
The value 1 of bit1-0 position determines also have two OLT to distribute to the Allocation of this ONU below
Structure, so ONU is not turn off laser instrument.
As n=4, when second Allocation structure that ONU receives loses, ONU
Start to transmit this by the StartTime moment at first Allocation structure
Data in the T-CONT that Allocation structure is corresponding, and in the StopTime moment
Stop transmission, because ONU can be according to first the Allocation structure received
Flags territory in the value 2 of bit1-0 position determine also have 3 OLT to distribute to this ONU below
Allocation structure, so ONU is not turn off laser instrument.
As n=5, one of the centre that ONU receives, two or three Allocation
When structure loses, ONU can be according to first the Allocation structure received
Flags territory in the value 3 of bit1-0 position determine also have 4 OLT to distribute to this ONU below
Allocation structure, so ONU is not turn off laser instrument.
When n >=6, one of the centre that ONU receives, two or three Allocation
When structure loses, ONU can be according to first the Allocation structure received
Flags territory in the value 3 of bit1-0 position determine also have 4 OLT to distribute to this ONU below
Allocation structure, so ONU is not turn off laser instrument;When ONU receives
Four Allocation structure in centre when losing, ONU normal transmission first
Data in the T-CONT that Allocation structure is corresponding, and at first Allocation
The StopTime moment of structure stops transmission.ONU is according to first received
In the Flags territory of Allocation structure, the value 3 of bit1-0 position determines also have four below
OLT distributes to the Allocation structure, ONU of this ONU according to first
The Alloc-ID's of Allocation structure and the 6th Allocation structure
Alloc-ID may determine that first Allocation structure and the 6th Allocation
Structure belongs to an ONU.To sum up, ONU is appreciated that first Allocation
Structure to the 6th Allocation structure belongs to an ONU.According to this letter
Breath, ONU is transferring the letter of first T-CONT corresponding for Allocation structure
After breath, ONU is not turn off laser instrument.
Preferably, according to one or two or three or four the bandwidth distribution structures lost
The temporal information of the bandwidth distribution structure that the most adjacent two do not lose, recovers verification mistake
The by mistake processing procedure of the temporal information of the bandwidth distribution structure of (loss), may refer to before
The description of example, here is omitted.
Such as, (four are i.e. lost when second to the 5th Allocation structure loses
Individual bandwidth distribution structure) time, ONU is according to first Allocation structure's
The StartTime of StopTime and the 6th Allocation structure recovers second
The StartTime's of Allocation structure and the 5th Allocation structure
StopTime.Now ONU has two kinds of selections: the first selection is that ONU abandons these four
The Allocation structure lost, sends idle frame;The second selects to be that ONU judges
Whether the Alloc-ID in second Allocation structure belongs to this ONU, if it is,
Then this ONU can be according to second the Allocation structure's recovered
The StopTime normal transmission of StartTime and the 5th Allocation structure second
The GEM frame of the T-CONT that Allocation structure is corresponding, if it is not, then ONU
Judge whether the Alloc-ID in the 3rd Allocation structure belongs to this ONU, as
Fruit is that then this ONU can be according to second the Allocation structure's recovered
The StopTime normal transmission of StartTime and the 5th Allocation structure the 3rd
The GEM frame of the T-CONT that Allocation structure is corresponding, if it is not, then ONU
Judge whether the Alloc-ID in the 4th Allocation structure belongs to this ONU, as
Fruit is that then this ONU can be according to second the Allocation structure's recovered
The StopTime normal transmission of StartTime and the 5th Allocation structure the 4th
The GEM frame of the T-CONT that Allocation structure is corresponding, if it is not, then ONU
Judge whether the Alloc-ID in the 5th Allocation structure belongs to this ONU, as
Fruit is that then this ONU can be according to second the Allocation structure's recovered
The StopTime normal transmission of StartTime and the 5th Allocation structure the 5th
The GEM frame of the T-CONT that Allocation structure is corresponding, if it does not, ONU is permissible
Arbitrarily send the GEM frame of a T-CONT, it is also possible to send idle frame.Losing four
During the second of individual continuous print Allocation structure selects, ONU can also change school
Test the order of the Alloc-ID of four Allocation structure.
The method provided by the present embodiment, can be obtained, if ONU lost x continuously
(x≤4) individual Allocation structure, ONU need not OLT and reserve Guard-Time
With the time of PLO, ONU can normally transmit the Allocation structure not lost
The corresponding data in T-CONT, effectively limit x Allocation structure
The coverage lost.Further, little when the number of the Allocation structure lost continuously
When equal to 4, merely with two of Flags reserved field, it is possible to by Allocation
The coverage that structure loses is restricted to lose bandwidth corresponding to Allocation structure
In the range of.
Example 7
Fig. 9 is the flow chart of present example seven.As it is shown in figure 9, present example seven is main
Including following process (step S901-step S903):
Step S901: when OLT is assigned with several continuous print Allocation to an ONU
During structure, OLT reserved field in the Flags territory of each Allocation structure
In bit0, write numeral 0, represents have one or zero after current Allocation structure
Belong to the Allocation structure of this ONU;Or, OLT is at each Allocation
Write numeral 1 in reserved field bit0 in the Flags territory of structure, represents current
Two Allocation belonging to this ONU are had after Allocation structure
structure。
Step S903: when the Allocation structure number lost continuously is less than or equal to two
Time individual, the information analysis that ONU is provided by the bit0 in Alloc-ID and Flags territory receives
To several continuous print Allocation structure, obtain the uplink belonging to this ONU
Total bandwidth, ONU in the time that one's own uplink total bandwidth is corresponding in one head straight for
Open laser instrument to carry out transmitting uplink data.
Below according to Allocation structure lose different situations illustrate employing this
During embodiment method, the impact that uplink is caused by the loss of Allocation structure.
(1) as front x (1≤x≤n) the individual Allocation structure that ONU receives
During loss, ONU abandons front x Allocation structure.This processes before may refer to
The example that face describes.
(2) x (1≤x≤n) individual Allocation structure after ONU finally receives
During loss, ONU abandons rear x Allocation structure.This processes before may refer to
The example that face describes.
(3) separately below explanation n equal to 3, n more than or equal to 4 time, during ONU receives
Between x (1≤x≤2) individual Allocation structure lose situation.
As n=3, if second Allocation structure that ONU receives loses,
Data in first T-CONT corresponding for Allocation structure of ONU normal transmission,
And stop transmission in the StopTime moment of first Allocation structure, because
ONU can be according to bit0 in the Flags territory of first the Allocation structure received
The value 1 of position determines also have two OLT to distribute to the Allocation of this ONU below
Structure, so ONU is not turn off laser instrument.
Preferably, according to adjacent before and after (second) the bandwidth distribution structure lost
The temporal information of two bandwidth distribution structures do not lost, recover check errors (loss)
The temporal information of bandwidth distribution structure, and carry out the process of respective handling, before may refer to
The description of face example, here is omitted.
As n=4, if second and the 3rd Allocation that ONU receives
When structure loses, first Allocation structure of ONU normal transmission is corresponding
T-CONT in data, and at the StopTime of first Allocation structure
Moment stops transmission.ONU is according to first the Allocation structure's received
In Flags territory, the value 1 of bit0 position determines also have two OLT to distribute to this ONU's below
Allocation structure, ONU are according to the Alloc-ID of first Allocation structure
First is may determine that with the Alloc-ID of the 4th Allocation structure
Allocation structure and the 4th Allocation structure belongs to an ONU.
To sum up, ONU is appreciated that first Allocation structure to the 4th Allocation
Structure belongs to an ONU.According to this information, ONU is transferring first
After the information of the T-CONT that Allocation structure is corresponding, ONU is not turn off laser
Device.
Preferably, according to two (second and the 3rd) the bandwidth distribution structures lost
The temporal information of the bandwidth distribution structure that the most adjacent two do not lose, recovers verification mistake
The temporal information of the bandwidth distribution structure of (loss) by mistake, and carry out the process of respective handling,
May refer to the description of previous examples, here is omitted.
When n >=5, recover the temporal information of the bandwidth distribution structure lost, and carry out corresponding
The process processed, may refer to the description of previous examples, and here is omitted.
Preferably, according to before and after one or two bandwidth distribution structure lost adjacent two
The temporal information of the individual bandwidth distribution structure do not lost, recovers check errors (loss)
The temporal information of bandwidth distribution structure, and carry out the process of respective handling, may refer to before
The description of example, here is omitted.
The method provided by the present embodiment, if ONU lost x continuously, (x≤2) are individual
Allocation structure, ONU need not OLT and reserve Guard-Time's and PLO
Time, it is corresponding that ONU can normally transmit the Allocation structure not lost
Data in T-CONT, effectively limit the shadow that x Allocation structure loses
The scope of sound.Further, when the number of the Allocation structure lost continuously is less than or equal to 2
Time, merely with one of Flags reserved field, it is possible to Allocation structure is lost
Coverage be restricted to lose in bandwidth range corresponding to Allocation structure.
Preferably, the technical method that the present invention provides is not limited only to above-mentioned embodiment, if
Do not conflict, also include other embodiments.
Device embodiment
According to embodiments of the present invention, a kind of upstream bandwidth distributor is additionally provided.
Figure 10 is the structured flowchart of the transmitting uplink data device according to the embodiment of the present invention.Figure
11 is the structured flowchart of the transmitting uplink data device according to the preferred embodiment of the present invention.Such as figure
Shown in 10, transmitting uplink data device according to embodiments of the present invention includes: reception unit 1,
Maintenance unit 2, acquiring unit 3, combine further below accompanying drawing 11 to describe above-mentioned each
Component.
Receive unit 1, for receiving the bandwidth distribution structure from upper layer network element, wherein,
Bandwidth distribution structure carries incidence relation information and temporal information;
Maintenance unit 2, is connected to receive unit 1, is used for according to incidence relation information, if
Put and keep data transmission state;
Acquiring unit 3, is connected to receive unit 2, is used for according to temporal information, in acquisition
Row transmission total bandwidth.
Preferably, as shown in figure 11, acquiring unit 3 may further include: correction verification module
30, module 32, acquisition module 34, wherein, correction verification module 30 are determined, for bandwidth
The data of distribution structure verify;Determine module 32, be connected to correction verification module 30, be used for
In the case of check errors, determine one or more check errors according to incidence relation information
Continuous bandwidth distribution structure position in continuous print bandwidth distribution structure;Acquisition module
34, it is connected to correction verification module 30 and determines module 32, for correct according to first verification
Or the bandwidth distribution structure that can recover and last correct or verification after verification
After temporal information in the bandwidth distribution structure that can recover, obtain uplink total bandwidth.
Preferably, as shown in figure 11, acquisition module 34 may include that recovery submodule 340,
Before the verification of the one or more continuous bandwidth distribution structures according to check errors is correct
The most adjacent temporal information in two bandwidth distribution structures, recover one of check errors or
Multiple continuous bandwidth distribution structures.
Preferably, as shown in figure 11, acquisition module 34 can also include: processes submodule
342, for abandoning one or more continuous bandwidth distribution structures of check errors, wherein, school
Error checking one or more continuous bandwidth distribution structures by mistake do not have identified before and after phase
Two adjacent bandwidth distribution structures.
In specific implementation process, by above-mentioned reception unit 1, maintenance unit 2, obtain single
Unit 3 realizes the scheme of transmitting uplink data, is referred to the specific descriptions in Fig. 2-and Fig. 9,
Here is omitted.
Pass through above-described embodiment, it is provided that a kind of transmitting uplink data device, solve up
During data transmission, upper layer network element is assigned with several continuous print Allocation to certain lower network element
During structure, the loss of one of them (non-final one) Allocation structure can
Can cause the problem that Allocation structure thereafter also loses, so effectively limit because of
A loss or multiple thereafter is caused for losing one of them Allocation structure
Allocation structure loses the coverage produced.
As it has been described above, the technical scheme provided by the embodiment of the present invention, lose at ONU
In the case of one or more Allocation structure, ONU need not OLT and reserves
The time of Guard-Time and PLO, ONU can normally transmit and not lose
Data in the T-CONT that Allocation structure is corresponding, effectively limit one or
The coverage that multiple Allocation structure lose.Further, if continuously lost
The number of Allocation structure has in limited time, merely with the less bits of Flags reserved field,
Just can be restricted to lose by the coverage that Allocation structure loses
In the bandwidth range that Allocation structure is corresponding.
Obviously, those skilled in the art should be understood that the above-mentioned present invention each module or
Each step can realize with general calculating device, and they can concentrate on single calculating
On device, or it is distributed on the network that multiple calculating device is formed, alternatively, they
Can realize with calculating the executable program code of device, it is thus possible to they are stored
Performed by calculating device in the storage device, or it is integrated that they are fabricated to respectively
Circuit module, or the multiple modules in them or step are fabricated to single integrated circuit mould
Block realizes.So, the present invention is not restricted to the combination of any specific hardware and software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention,
For a person skilled in the art, the present invention can have various modifications and variations.All
Within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. made,
Should be included within the scope of the present invention.
Claims (9)
1. a uplink bandwidth allocation method, it is characterised in that:
Lower network element receives the bandwidth distribution structure from upper layer network element, wherein, described
Bandwidth distribution structure carries incidence relation information and temporal information;
Lower network element, according to described incidence relation information and described temporal information, safeguards number
According to transmission state, and obtain uplink total bandwidth to carry out transmitting uplink data;
Wherein, obtain uplink total bandwidth to include to carry out transmitting uplink data:
The data of bandwidth distribution structure are verified;In the case of verification is correct,
Use this bandwidth distribution structure to carry out transmitting uplink data;Situation at check errors
Under, determine that the bandwidth of one or more check errors is divided according to described incidence relation information
Distribution structure position in continuous print bandwidth distribution structure, abandons one of check errors
Or multiple bandwidth distribution structure, or, recover the bandwidth distribution knot of whole check errors
The temporal information of structure, and obtain uplink total bandwidth to enter according to described temporal information
Row transmitting uplink data;
Wherein, the temporal information of the bandwidth distribution structure of the whole check errors of described recovery
Including:
Current bandwidth distribution structure is identified, it is judged that whether front and back also has
Verify correct bandwidth distribution structure;
If one or more adjacent bandwidths distribution structures of described check errors have
Two bandwidth distribution structures adjacent before and after verification is correct, then according to described phase front and back
The adjacent temporal information in two bandwidth distribution structures, recovers the band of whole check errors
The temporal information of wide distribution structure, wherein, by adjacent later bandwidth distribution structure
In start time information with in adjacent previous bandwidth distribution structure at the end of
Between information difference as the bandwidth distribution structure of described whole check errors time believe
Breath.
Method the most according to claim 1, it is characterised in that described incidence relation information
Including at least one of:
Distribute to the sum of the continuous bandwidth distribution structure of lower network element and currently carry
The index of wide distribution structure or position;
After described current bandwidth distribution structure, distribute to the company of described lower network element
The number of continuous bandwidth distribution structure;
Before described current bandwidth distribution structure, distribute to the company of described lower network element
The number of continuous bandwidth distribution structure;
Described current bandwidth distribution structure with previous or multiple bandwidth distribution structures is
The no continuous bandwidth belonging to same lower network element;
Described current bandwidth distribution structure with later or multiple bandwidth distribution structure is
The no continuous bandwidth belonging to same lower network element.
Method the most according to claim 1, it is characterised in that described temporal information includes:
Use the beginning that the bandwidth distribution structure belonging to described temporal information carries out data transmission
Time and end time.
Method the most according to claim 1, it is characterised in that one of check errors or
Before and after the described verification that multiple adjacent bandwidths distribution structures have is correct adjacent two
Individual bandwidth distribution structure includes the bandwidth distribution structure through over recovery.
Method the most according to claim 1, it is characterised in that abandon the one of check errors
Individual or multiple bandwidth distribution structures include:
If one or more adjacent bandwidths distribution structures of check errors do not have school
Two bandwidth distribution structures adjacent before and after testing correctly, then abandon described check errors
One or more bandwidth distribution structures.
Method the most according to claim 1, it is characterised in that the whole verification of described recovery
After the temporal information of the bandwidth distribution structure of mistake, described method also includes:
Abandon one or more bandwidth distribution structures of the described check errors of recovery, and
Send idle frame, or, respectively to described check errors one or more recovered
Each address identification message in bandwidth distribution structure verifies, in described address
In the case of identification information belongs to described lower network element, carry out transmitting uplink data.
7. a upstream bandwidth distributor, it is characterised in that including:
Receive unit, for receiving the bandwidth distribution structure from upper layer network element, wherein,
Described bandwidth distribution structure carries incidence relation information and temporal information;
Maintenance unit, for according to described incidence relation information, arranges and keeps data
Transmission state;
Acquiring unit, for according to described temporal information, obtains uplink total bandwidth;
Wherein, described acquiring unit includes:
Correction verification module, for verifying the data of bandwidth distribution structure;
Determine module, in the case of check errors, according to described incidence relation
Information determines that the continuous bandwidth distribution structure of one or more check errors is at continuous print
Position in bandwidth distribution structure;
Acquisition module, can be extensive after or verification correct according to first verification
Can recover after multiple bandwidth distribution structure and last correct or verification
Temporal information in bandwidth distribution structure, obtains described uplink total bandwidth;
Wherein, described acquiring unit, the bandwidth being additionally operable to recover whole check errors is divided
The temporal information of distribution structure, including: current bandwidth distribution structure is identified, sentences
Disconnected front and back the most also verifies correct bandwidth distribution structure;If described school
Before and after error checking one or more adjacent bandwidths distribution structures by mistake have verification correctly
Two adjacent bandwidth distribution structures, then divide according to described two the most adjacent bandwidth
Temporal information in distribution structure, recover whole check errors bandwidth distribution structure time
Between information, wherein, by adjacent later bandwidth distribution structure initial time believe
Cease the difference conduct with the end time information in adjacent previous bandwidth distribution structure
The temporal information of the bandwidth distribution structure of described whole check errors.
Device the most according to claim 7, it is characterised in that described acquisition module includes:
Recover submodule, for dividing according to one or more continuous bandwidth of check errors
The time in two bandwidth distribution structures adjacent before and after the verification correctly of distribution structure
Information, recovers one or more continuous bandwidth distribution structures of described check errors.
Device the most according to claim 7, it is characterised in that described acquisition module includes:
Process submodule, divide for abandoning one or more continuous bandwidth of check errors
Distribution structure, wherein, one or more continuous bandwidth distribution structures of described check errors
Not there are two bandwidth distribution structures adjacent before and after having identified.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910149082.5A CN101924688B (en) | 2009-06-17 | 2009-06-17 | Uplink bandwidth allocation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910149082.5A CN101924688B (en) | 2009-06-17 | 2009-06-17 | Uplink bandwidth allocation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101924688A CN101924688A (en) | 2010-12-22 |
CN101924688B true CN101924688B (en) | 2016-08-24 |
Family
ID=43339346
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910149082.5A Active CN101924688B (en) | 2009-06-17 | 2009-06-17 | Uplink bandwidth allocation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101924688B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103139105B (en) * | 2011-12-05 | 2016-09-28 | 中兴通讯股份有限公司 | Uplink bandwidth allocation method in a kind of passive optical network and system |
CN105592372B (en) * | 2014-10-24 | 2019-07-19 | 深圳市中兴微电子技术有限公司 | A kind of optical network unit data processing method and device, DCU data control unit |
CN107734662B (en) * | 2016-08-11 | 2020-10-16 | 中国移动通信有限公司研究院 | Data transmission indication method and device, and data transmission method, device and equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101031062A (en) * | 2007-03-21 | 2007-09-05 | 中兴通讯股份有限公司 | Method for transmitting mobile multi-medium broadcasting electronic service guide |
CN101102506A (en) * | 2007-08-01 | 2008-01-09 | 北京创毅视讯科技有限公司 | A multi-media broadcast data transmission method, device and system |
CN101383767A (en) * | 2008-10-23 | 2009-03-11 | 中兴通讯股份有限公司 | Uplink bandwidth allocation method and optical line terminal |
-
2009
- 2009-06-17 CN CN200910149082.5A patent/CN101924688B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101031062A (en) * | 2007-03-21 | 2007-09-05 | 中兴通讯股份有限公司 | Method for transmitting mobile multi-medium broadcasting electronic service guide |
CN101102506A (en) * | 2007-08-01 | 2008-01-09 | 北京创毅视讯科技有限公司 | A multi-media broadcast data transmission method, device and system |
CN101383767A (en) * | 2008-10-23 | 2009-03-11 | 中兴通讯股份有限公司 | Uplink bandwidth allocation method and optical line terminal |
Also Published As
Publication number | Publication date |
---|---|
CN101924688A (en) | 2010-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2245773B1 (en) | Protected passive optical communications system | |
AU2009240705B2 (en) | Gigabit passive optical network transmission convergence extension for next generation access | |
CN101056253B (en) | Ethernet data repacking device and method | |
US9071377B2 (en) | Upgraded bandwidth map for ten gigabit passive optical network | |
ES2549937T3 (en) | Method and system for quickly updating distance determination results of an optical network unit using an optical line terminal | |
CN101110648A (en) | Method for detecting faulted ONU in PON | |
CN101997605B (en) | Optical distribution network as well as fault processing method, registration method and physical positioning method for optical network unit | |
CN101924688B (en) | Uplink bandwidth allocation method and device | |
CN102387426B (en) | Uplink bandwidth allocation method in EPON | |
CN102149027B (en) | Path switching method, system and downlink data transmission method | |
EP2398165B1 (en) | Method and device for transmitting an upstream transmission frame in a passive optical network | |
CN101369926B (en) | Fault detection method, system and equipment for passive optical network system | |
CN102739305B (en) | The localization method of abnormal ONU, system and device in passive optical network | |
EP2706716A2 (en) | Method and device for transmitting data in passive optical network | |
Horvath et al. | Implementation of NG-PON2 transmission convergence layer into OPNET modeler | |
CN102056030B (en) | Gbit passive optical network system and data input and data output method thereof | |
CN102148682A (en) | Method and system for accurately positioning ONU (Optical Network Unit) with exceptional luminescence | |
CN101453265A (en) | Failure detection method, system and equipment for passive optical network system | |
AU2013251220A1 (en) | Method and apparatus for configuring upgraded bandwidth map for ten gigabit passive optical network |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201224 Address after: 226000 399 Taiping Road Nantong Jiangsu Province Patentee after: NANTONG HUAXIN AIR CONDITIONER Co.,Ltd. Address before: 518057 No. 55 South Science and technology road, Shenzhen, Guangdong, Nanshan District Patentee before: ZTE Corp. |