CN101924688A - Uplink bandwidth allocation method and device - Google Patents

Uplink bandwidth allocation method and device Download PDF

Info

Publication number
CN101924688A
CN101924688A CN2009101490825A CN200910149082A CN101924688A CN 101924688 A CN101924688 A CN 101924688A CN 2009101490825 A CN2009101490825 A CN 2009101490825A CN 200910149082 A CN200910149082 A CN 200910149082A CN 101924688 A CN101924688 A CN 101924688A
Authority
CN
China
Prior art keywords
bandwidth
onu
allocated bandwidth
allocation structure
structures
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.)
Granted
Application number
CN2009101490825A
Other languages
Chinese (zh)
Other versions
CN101924688B (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.)
NANTONG HUAXIN AIR CONDITIONER Co.,Ltd.
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN200910149082.5A priority Critical patent/CN101924688B/en
Publication of CN101924688A publication Critical patent/CN101924688A/en
Application granted granted Critical
Publication of CN101924688B publication Critical patent/CN101924688B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses an uplink bandwidth allocation method and a device, and the method comprises the following steps: a lower-layer network element receives bandwidth allocation structures from an upper-layer network element, wherein the bandwidth allocation structures carry association relation information and time information; and the lower-layer network element maintains the data transmission state according to the association relation information and the time information and obtains total bandwidth of uplink transmission to carry out uplink data transmission. The method and the device solve the problem that the loss of one of (not the last one) the bandwidth allocation structures may cause the loss of subsequent bandwidth allocation structures when the uplink data transmission is carried out and the upper-layer network element allocates a plurality of continuous bandwidth allocation structures to some lower-layer network element, thereby further limiting the influence scope of the phenomenon that when one of the bandwidth allocation structures loses, the loss of one or more subsequent bandwidth allocation structures can be caused effectively.

Description

Uplink bandwidth allocation method and device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of uplink bandwidth allocation method and device in the communications field.
Background technology
Gigabit passive optical network (Gigabit-Capable Passive Optical Network, abbreviating GPON as) technology is important techniques branch in EPON (PON) family, with other PON technology type seemingly, GPON also is a kind of passive light access technology that adopts some the multidrop topology structure.
GPON is by optical line terminal (the Optical Line Terminal of office's side, abbreviate OLT as), optical network unit (the Optical Network Unit of user side, abbreviate ONU as) and Optical Distribution Network (Optical Distributio Network, abbreviate ODN as) form, adopt the network configuration of point usually to multiple spot.ODN is made up of Passive Optical Components such as monomode fiber, optical branching device, optical connectors, for the physical connection between OLT and the ONU provides light-transmitting medium.
In the GPON system, the transfer of data of down direction (by OLT to ONU) adopts broadcast mode, and each ONU receives all frames respectively, obtains one's own frame according to ONU-ID, GEM-PortID, Allocation-ID again.Yet, for the transfer of data of up direction (from ONU to OLT), owing to will share transmission medium, need by suitable control and treatment, just can make each ONU the upstream data information completely be sent to OLT.Uplink frame adopts time division multiplexing to insert (Time Division Multiple Access, abbreviate TDMA as) technology, this technology adopts up channel is divided into a plurality of time slots, ONU sends the report that sends upstream data to OLT, OLT distributes upstream bandwidth and controls it in certain time slot transmission data according to the ONU that is reported as of ONU, and OLT can be that ONU distributes upstream bandwidth by flow monitoring also.
At present, in the G.984.3 standard of ITU-T, stipulate, OLT is that the upstream bandwidth that ONU distributes is to carry transmission in bandwidth map bandwidth distribution structure (BWmap allocation structures) mode by the downlink physical controll block (Physical Control Blockdownstream abbreviates PCBd as) of downlink frame.
Fig. 1 is the detailed structure schematic diagram of bandwidth map bandwidth distribution structure in the downlink physical controll block of downlink frame.As shown in Figure 1, downlink frame is made up of PCBd and payload two parts, wherein, PCBd further comprises: physics is (Physical Synchronization synchronously, abbreviate Psync as) territory, Ident territory, down physical layer operational administrative with safeguard (Physical LayerOAM (Operation, Administraion ﹠amp; Maintenance) downstream, abbreviate Ploamd as) territory, bit interleaved parity territory (Bit Interleaved Parity, abbreviate BIP as), information payload length field (Payload Length downstream, abbreviate Plend as) and upstream bandwidth mapping territory (US BWmap) composition, wherein, US BWmap territory further is made up of N allocated bandwidth structure (Allocation Structure), wherein, each allocated bandwidth structure is again respectively by Alloc-ID (Allocation Identifier, the allocated bandwidth sign, generally be transmission container (Transmission Container, abbreviate T-CONT as) sign) territory, Flags territory (the option of allocated bandwidth, 12 bits, be respectively bit 11-0, wherein bit 10 is used for notifying ONU to send PLOAM message at this upstream bandwidth, bit 6-0 is the reservation bit position), StartTime territory (being used to represent the zero-time of transmit ascending data), StopTime territory (being used to represent the concluding time of transmit ascending data) and cyclic redundancy check (CRC) code (Cyclic Redundancy Check abbreviates CRC as) territory is formed.
Wherein, when ONU receives an Allocation structure, at first ONU carries out CRC check to the data among the Allocation structure that receives, if check results is correct, ONU judges according to Alloc-ID whether this Allocation structure is to distribute to oneself, if, then ONU will begin to send the data among the T-CONT that allocated bandwidth is designated Alloc-ID constantly at the StartTime of Allocation structure indication, stop to send data after StopTime sends data constantly.When if CRC detects can not correct wrong, show that then the mistake that can not correct has taken place the data among the Allocation structure that receives in transmission, then ONU must abandon this allocated bandwidth, close laser, to avoid potential up luminous conflict, deserving to be called the situation of stating is that ONU has lost an Allocation structure.
In the correlation technique; when giving an ONU, OLT distributed several continuous Allocation structure (being to equal a last StopTime value after StratTime value among the next Allocation structure subtracts); one of them Allocation structure (not being last Allocation structure) loses; ONU will close laser; if the transmission time of the distribution bandwidth correspondence of the Allocation structure that this is lost is during less than physical layer overhead (PLO) the time sum of guard time (Guard-Time) and ONU; when the data among the T-CONT of the next Allocation structure correspondence of ONU preparation transmission; the unpromising ONU of OLT reserves enough Guard-Time and the time of PLO, may cause next Allocation structure to lose.Therefore,, OLT distributed several continuous Allocation structure, if one of them (non-last) losing of Allocation structure may cause ensuing Allocation structure also to lose when giving certain ONU.
In the prior art, also there is not certain method to avoid losing of an Allocation Structure to the influence of Allocation Structure thereafter, also, make GPON have defective in the fault-tolerant ability aspect the upstream bandwidth distribution not to losing the restoration methods of AllocationStructure.
Summary of the invention
At in the correlation technique when the upper strata network element has distributed several continuous Allocation structure for certain lower network element, the losing of one of them (non-last) Allocation structure may cause the problem that ensuing Allocation structure also loses and propose the present invention, for this reason, main purpose of the present invention is to provide a kind of distribution method and device of improved upstream bandwidth, one of to address the above problem at least.
To achieve these goals, according to an aspect of the present invention, provide a kind of uplink bandwidth allocation method.
Uplink bandwidth allocation method according to the present invention comprises: lower network element receives the allocated bandwidth structure from the upper strata network element, and wherein, the allocated bandwidth structure is carried incidence relation information and temporal information; Lower network element is according to incidence relation information and temporal information, the service data transmission state, and obtain the uplink total bandwidth to carry out transmitting uplink data.
Preferably, incidence relation information comprise following one of at least: distribute to the sum of continuous bandwidth distribution structure of lower network element and the index or the position of current bandwidth distribution structure; After the current bandwidth distribution structure, distribute to the number of the continuous bandwidth distribution structure of lower network element; Before the current bandwidth distribution structure, distribute to the number of the continuous bandwidth distribution structure of lower network element; Whether current bandwidth distribution structure and previous or a plurality of allocated bandwidth structure belong to the continuous bandwidth of same lower network element; Whether the one or more allocated bandwidth structures of current bandwidth distribution structure and back belong to the continuous bandwidth of same lower network element.
Preferably, temporal information comprises: the affiliated allocated bandwidth structure of information service time is carried out the time started and the concluding time of transfer of data.
Preferably, obtaining the uplink total bandwidth comprises to carry out transmitting uplink data: the data to the allocated bandwidth structure are carried out verification; Under the correct situation of verification, use this allocated bandwidth structure to carry out transmitting uplink data; Under the situation of check errors, determine the position of allocated bandwidth structure in continuous allocated bandwidth structure of one or more check errors according to incidence relation information, abandon one or more allocated bandwidth structures of check errors, perhaps, recover the temporal information of the allocated bandwidth structure of whole check errors, and obtain the uplink total bandwidth to carry out transmitting uplink data according to temporal information.
Preferably, the temporal information of recovering the allocated bandwidth structure of whole check errors comprises: the current bandwidth distribution structure is discerned, judged whether the front and back also has the correct allocated bandwidth structure of verification; If one or more adjacent bandwidths distribution structures of check errors have two adjacent allocated bandwidth structures of the correct front and back of verification, then according to the temporal information in two adjacent allocated bandwidth structures of front and back, recover the temporal information of the allocated bandwidth structure of whole check errors, wherein, with the difference of the concluding time information in start time information in the adjacent back allocated bandwidth structure and the adjacent previous allocated bandwidth structure temporal information as the allocated bandwidth structure of whole check errors.
Preferably, correct two the adjacent allocated bandwidth structures of front and back of verification that have of one or more adjacent bandwidths distribution structures of check errors comprise the allocated bandwidth structure through over recovery.
Preferably, the one or more allocated bandwidth structures that abandon check errors comprise: if one or more adjacent bandwidths distribution structures of check errors do not have two adjacent allocated bandwidth structures of the correct front and back of verification, then abandon one or more allocated bandwidth structures of check errors.
Preferably, recover after the temporal information of allocated bandwidth structure of whole check errors, method also comprises: the one or more allocated bandwidth structures that abandon the check errors of recovery, and transmission idle frame, perhaps, respectively each address identification message in one or more allocated bandwidth structures of the check errors that recovers is carried out verification, belong at address identification message under the situation of lower network element, carry out transmitting uplink data.
To achieve these goals, according to a further aspect in the invention, provide a kind of upstream bandwidth distributor.
Upstream bandwidth distributor according to the present invention comprises: receiving element, be used to receive allocated bandwidth structure from the upper strata network element, and wherein, the allocated bandwidth structure is carried incidence relation information and temporal information; Maintenance unit is used for according to incidence relation information, is provided with and the maintenance data transmission state; Acquiring unit is used for according to temporal information, obtains the uplink total bandwidth.
Preferably, acquiring unit comprises: the verification module is used for the data of allocated bandwidth structure are carried out verification; Determination module is used under the situation of check errors, determines the position of continuous bandwidth distribution structure in continuous allocated bandwidth structure of one or more check errors according to incidence relation information; Acquisition module, be used for according to first verification correct or verification after the allocated bandwidth structure that can recover and last correct or verification after the temporal information of the allocated bandwidth structure that can recover, obtain the uplink total bandwidth.
Preferably, acquisition module comprises: recover submodule, be used for temporal information, recover one or more continuous bandwidth distribution structures of check errors according to two adjacent allocated bandwidth structures of the correct front and back of the verification of one or more continuous bandwidth distribution structures of check errors.
Preferably, acquisition module comprises: processing sub, be used to abandon one or more continuous bandwidth distribution structures of check errors, wherein, one or more continuous bandwidth distribution structures of check errors do not have two the adjacent allocated bandwidth structures of front and back that identified.
By the present invention, a kind of allocative decision of upstream bandwidth is provided, ONU receives the downlink frame from OLT, and wherein, downlink frame is carried incidence relation information and temporal information; ONU is according to incidence relation information and temporal information, distributes and carries out error correction wrong upstream bandwidth occurring receiving, obtains the uplink total bandwidth of this ONU after the error correction, utilizes the uplink total bandwidth to carry out transfer of data.When having solved transmitting uplink data, when the upper strata network element has distributed several continuous Allocation structure for certain lower network element, one of them (non-last) Allocation structure loses the problem that may cause Allocationstructure thereafter also to lose, and then has effectively limited because lose one of them Allocation structure and cause thereafter one to lose or a plurality of Allocation structure loses and the coverage that produces.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the detailed structure schematic diagram of bandwidth map bandwidth distribution structure in the downlink physical controll block of downlink frame;
Fig. 2 is the flow chart of uplink bandwidth allocation method according to the preferred embodiment of the invention;
Fig. 3 is the flow chart of example one of the present invention;
Fig. 4 is the flow chart of example two of the present invention;
Fig. 5 is the flow chart of example three of the present invention;
Fig. 6 is the flow chart of example four of the present invention;
Fig. 7 is the flow chart of example five of the present invention;
Fig. 8 is the flow chart of example six of the present invention;
Fig. 9 is the flow chart of example seven of the present invention;
Figure 10 is the structured flowchart according to the upstream bandwidth distributor of the embodiment of the invention;
Figure 11 is the structured flowchart of upstream bandwidth distributor according to the preferred embodiment of the invention.
Embodiment
Functional overview
The embodiment of the invention provides a kind of improved transmitting uplink data scheme, relates in particular to ONU in the GPON system sends upstream data to OLT by ODN situation.When OLT has distributed several continuous Allocation structure for an ONU, OLT carries the situation of continuous Allocation structure that information notice ONU this time distributes to it (as number by the reservation territory in the Flags territory of Allocation structure, index or position, the relation of front and back Allocation Structure etc.).ONU utilizes this information analysis to receive several continuous Allocation structure and obtains the uplink total bandwidth that belongs to this ONU, and ONU keeps data transmission state (unlatching laser) in one's own uplink total bandwidth time corresponding always.If ONU has lost one or several Allocation structure, ONU does not need OLT to reserve the time of Guard-Time and PLO, ONU can normally transmit the data among the T-CONT of the Allocation structure correspondence of not losing, and has limited the coverage that one or more Allocation structure lose effectively.
Under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.If do not conflict, embodiment and the feature among the embodiment among the application can make up mutually.
Method embodiment
According to the embodiment of the invention, at first provide a kind of uplink bandwidth allocation method.
In the GPON system, ONU (lower network element) sends the report that needs to send data to OLT (upper strata network element), OLT is that ONU distributes upstream bandwidth according to the report of ONU or the actual uplink flow of ONU, when OLT had distributed the Allocation structure of several successive for some ONU, OLT carried the number that incidence relation information notice ONU this time distributes to its continuous Allocation structure by the reservation position (bit6-0) in the Flags territory of the Allocation of downlink frame structure.Be described in detail below in conjunction with Fig. 2.
Fig. 2 is the flow chart according to the uplink bandwidth allocation method of the embodiment of the invention.As shown in Figure 2, the uplink bandwidth allocation method according to the embodiment of the invention comprises following processing (step S201-step S203):
Step S201: lower network element receives the allocated bandwidth structure from the upper strata network element, and wherein, the allocated bandwidth structure is carried incidence relation information and temporal information;
Preferably, above-mentioned incidence relation information can comprise following one of at least: distribute to the sum of the continuous bandwidth distribution structure of the lower network element that receives downlink frame, the index or the position of current bandwidth distribution structure; After the current bandwidth distribution structure, distribute to the number of the continuous allocated bandwidth structure of lower network element; Before the current bandwidth distribution structure, distribute to the number of the continuous allocated bandwidth structure of lower network element; Whether current bandwidth distribution structure and previous or a plurality of allocated bandwidth structure belong to the continuous bandwidth of same ONU; Whether the one or more allocated bandwidth structures of current bandwidth distribution structure and back belong to the continuous bandwidth of same ONU.
Preferably, above-mentioned temporal information comprises: the affiliated allocated bandwidth structure of information service time is carried out the time started and the concluding time of transfer of data.
Step S203: lower network element is according to incidence relation information and temporal information, the service data transmission state, and obtain the uplink total bandwidth to carry out transmitting uplink data.
Preferably,, under the situation of losing Allocation structure, continue to keep lower network element to be in data transmission state, promptly do not close laser according to the incidence relation information of not losing Allocation structure.
Preferably, according to incidence relation information and temporal information, the service data transmission state, obtain the uplink total bandwidth, need at first that lower network element is set to be in data transmission state, promptly OLT is the time that the T-CONT of first Allocation structure correspondence of ONU reserves Guard-Time and PLO; Judge then whether front or back also have the allocated bandwidth structure of distributing, and the allocated bandwidth structure that can recover after the correct or verification according to first and last correct or verification after temporal information in the allocated bandwidth structure that can recover, determine the uplink total bandwidth.
Preferably, need carry out verification (for example, CRC check), utilize the uplink total bandwidth to carry out transfer of data in two kinds of situation according to check results for the data of allocated bandwidth structure.
(1), use this allocated bandwidth structure to carry out transfer of data for the correct allocated bandwidth structure of verification;
In specific implementation process, ONU will begin to send the data among the T-CONT that allocated bandwidth is designated Alloc-ID constantly at the StartTime of Allocation structure indication, stop to send data constantly at StopTime.
(2) under the situation of check errors, determine the position in continuous allocated bandwidth structure of the allocated bandwidth structure of check errors according to incidence relation information, and carry out transmitting uplink data according to the position of determining.
Preferably, under the situation of check errors (being above-mentioned situation of losing this allocated bandwidth structure), determine the position of allocated bandwidth structure in continuous allocated bandwidth structure of one or more check errors according to incidence relation information, abandon one or more allocated bandwidth structures of check errors, perhaps, recover the temporal information of the allocated bandwidth structure of whole check errors, and obtain the uplink total bandwidth to carry out transmitting uplink data according to temporal information.
Preferably, the temporal information of recovering the allocated bandwidth structure (promptly the allocated bandwidth structure of check errors being carried out error correction) of whole check errors can be in the following manner: the current bandwidth distribution structure is discerned, judged whether the front and back also has the correct allocated bandwidth structure of verification; If one or more adjacent bandwidths distribution structures of check errors have two adjacent allocated bandwidth structures of the correct front and back of verification, then according to the temporal information in two adjacent allocated bandwidth structures of front and back, recover the temporal information of the allocated bandwidth structure of whole check errors, wherein, with the difference of the concluding time information in start time information in the adjacent back allocated bandwidth structure and the adjacent previous allocated bandwidth structure temporal information as the allocated bandwidth structure of whole check errors.
Preferably, correct two the adjacent allocated bandwidth structures of front and back of verification that have of one or more adjacent bandwidths distribution structures of above-mentioned check errors can also comprise the allocated bandwidth structure through over recovery.
Wherein, if one or more adjacent bandwidths distribution structures of check errors have two adjacent allocated bandwidth structures of the correct front and back of verification,, recover the unidentified allocated bandwidth structure that goes out then according to the temporal information in two adjacent allocated bandwidth structures of front and back; Abandon the unidentified one or more adjacent bandwidths distribution structures that go out of recovery, and transmission idle frame, perhaps, respectively in one or more allocated bandwidth structures of the check errors that recovers each is carried out verification, and under the correct situation of check results, carry out transfer of data.
Wherein, if one or more adjacent bandwidths distribution structures of check errors do not have two adjacent allocated bandwidth structures of the correct front and back of verification (the one or more allocated bandwidth structures that are check errors are to distribute to the foremost of continuous allocated bandwidth structure of above-mentioned ONU or rearmost one or more), then abandon one or more adjacent bandwidths distribution structures of check errors.
The uplink data transmission method that provides above is not limited only to the GPON system, in the case of necessary, also is applicable to other communication system.
Example one
Fig. 3 is the flow chart of example one of the present invention.As shown in Figure 3, example one of the present invention mainly comprises following processing (step S301-step S303):
Step S301: when OLT has distributed the Allocationstructure of several successive for an ONU, write digital m among the reservation territory bit6-0 of OLT in the Flags territory of each Allocation structure, 0≤m≤127, expression OLT has distributed m Allocation structure to give this ONU in current Allocationstructure back.
Step S303:ONU utilizes this information analysis to receive several continuous Allocation structure, obtain the uplink total bandwidth that belongs to this ONU, ONU opens laser to carry out transmitting uplink data in one's own uplink total bandwidth time corresponding always.
Three kinds of different situations of losing according to Allocation structure below specifically describe when adopting the method that this embodiment provides, and Allocation structure loses the influence that uplink is caused.
(1) OLT has distributed the individual continuous Allocationstructure of n (n 〉=1) for an ONU, if the preceding x that ONU at first receives (1≤x≤when n) individual Allocation structure loses, x Allocation structure before then ONU abandons.Because OLT is the time that the T-CONT of first Allocation structure correspondence of ONU has reserved Guard-Time and PLO, (StartTime of individual Allocation structure of x+1≤n) transmits the data among the T-CONT of current Allocation structure correspondence so ONU is since x+1.
(2) if (1≤x≤when n) individual Allocationstructure lost, then ONU abandoned last x Allocation structure to the last x that ONU receives.
(3) if the centre that ONU receives (except that first with last Allocationstructure any one or a plurality of Allocation structure) continuous x (1≤x<n-1, when n>2) individual Allocation structure loses, ONU will begin to transmit the data among the T-CONT of this Allocation structure correspondence constantly at the StartTime of first Allocation structure, and StopTime stop constantly the transmission, because ONU can determine that the back also has m OLT to distribute to the Allocationstructure of this ONU according to the m value of bit6-0 position in the Flags territory of first Allocation structure that receives, so ONU can not close laser.
Preferably, if one or more allocated bandwidth structures of check errors (losing) have two adjacent allocated bandwidth structures of front and back of verification correct (not losing), then, can recover the temporal information of the allocated bandwidth structure of check errors (losing) according to the temporal information in two adjacent allocated bandwidth structures of front and back.
For example, second Allocation structure loses, but the data of the 3rd Allocationstructure are correct, and ONU can recover StartTime and the StopTime of second Allocation structure according to the StartTime of the StopTime of first Allocation structure and the 3rd Allocation structure.Preferably, under the situation that recovers second Allocation structure, ONU can have two kinds of selections: first kind of selection is that ONU abandons second Allocation structure, sends idle frame; Second kind of selection is that ONU judges whether second Alloc-ID among the Allocation structure belongs to this ONU, if, then this ONU can be according to the GEM frame of the T-CONT of the StartTime of second Allocationstructure that recovers and second Allocationstructure correspondence of StopTime normal transmission, if not, ONU can send the GEM frame of a T-CONT arbitrarily, also can send idle frame.
For example, second Allocation structure and the 3rd Allocation structure lose, but the data of the 4th Allocation structure are correct, and ONU can recover the StartTime of second Allocation structure and the StopTime of the 3rd Allocation structure according to the StopTime of first Allocation structure and the StartTime of the 4th Allocationstructure.This moment, ONU had two kinds of selections: first kind of selection is that ONU abandons this two Allocation structure, sends idle frame; Second kind of selection is that ONU judges whether second Alloc-ID among the Allocation structure belongs to this ONU, if, ONU can be according to the GEM frame of the T-CONT of second Allocation structure of StopTime normal transmission correspondence of the StartTime of second Allocationstructure that recovers and the 3rd Allocation structure, if the Alloc-ID of second Allocation structure does not belong to this ONU, then ONU judges whether the 3rd Alloc-ID among the Allocation structure belongs to this ONU, if, then this ONU can be according to the GEM frame of the T-CONT of the 3rd the Allocation structure correspondence of StopTime normal transmission of the StartTime of second the Allocation structure that recovers and the 3rd Allocation structure, if not, then this ONU can send the GEM frame of a T-CONT arbitrarily, also can send idle frame.Preferably, under the situation of losing two continuous Allocation structure, for second kind of selection, ONU also can change the order of the Alloc-ID of two Allocation structure of verification.
Preferably, the situation for the continuous Allocationstructure in the middle of losing more than three or three can adopt above-mentioned restoration methods equally, recovers the temporal information of the allocated bandwidth structure of losing.And after recovering, adopt first kind of selection or second kind of selection to handle.
Example two
Fig. 4 is the flow chart of example two of the present invention.As shown in Figure 4, example two of the present invention mainly comprises following processing (step S401-step S403):
Step S401: when OLT has distributed the Allocationstructure of several successive for an ONU, write digital n among the reservation territory bit5-3 of OLT in the Flags territory of each Allocation structure, 1≤n≤7, expression OLT has distributed n continuous Allocation structure for this ONU; Write digital l among the reservation territory bit2-0 of OLT in the Flags territory of each Allocation structure, 1≤l≤7 represent that current Allocationstructure is the 1st the Allocation structure that OLT distributes for this ONU.
The information analysis that step S403:ONU carries by the bit5-0 in the Flags territory receives several continuous Allocation structure, obtain the uplink total bandwidth that belongs to this ONU, ONU opens laser to carry out transmitting uplink data in one's own uplink total bandwidth time corresponding always.
Three kinds of different situations of losing according to Allocation structure below, when specifically describing this embodiment method of employing, Allocation structure loses the influence that uplink is caused.
(1) OLT has distributed the individual continuous Allocationstructure of n (n 〉=1) for an ONU, if the preceding x that ONU at first receives (1≤x≤when n) individual Allocation structure loses, x Allocation structure before then ONU abandons.Because OLT is the time that the T-CONT of first Allocation structure correspondence of ONU has reserved Guard-Time and PLO, (StartTime of individual Allocation structure of x+1≤n) transmits the data among the T-CONT of current Allocation structure correspondence so ONU is since x+1.
(2) if (1≤x≤when n) individual Allocationstructure lost, ONU abandoned last x Allocation structure to the last x that ONU receives.
(3) if the centre that ONU receives (except that first with last Allocationstructure any one or a plurality of Allocation structure) continuous x (1≤x<n-1, when n>2) individual Allocation structure loses, ONU will begin to transmit the data among the T-CONT of this Allocation structure correspondence constantly at the StartTime of first Allocation structure, and StopTime stop constantly the transmission, because ONU can (value of l≤n) determines that the back also has (n-1) individual OLT to distribute to the Allocation structure of this ONU, so ONU can not close laser according to the n of bit5-0 position in the Flags territory of first Allocation structure that receives and l.
Equally, according to the restoration methods of describing in the example one, can recover the temporal information of the allocated bandwidth structure of check errors (losing).
For example, second Allocation structure loses, but the data of the 3rd Allocationstructure are correct, and ONU can recover StartTime and the StopTime of second Allocation structure according to the StartTime of the StopTime of first Allocation structure and the 3rd Allocation structure.Preferably, under the situation that recovers second Allocation structure, ONU can have two kinds of selections: first kind of selection is that ONU abandons second Allocation structure, sends idle frame; Second kind of selection is that ONU judges whether second Alloc-ID among the Allocation structure belongs to this ONU, if, then this ONU can be according to the GEM frame of the T-CONT of the StartTime of second Allocationstructure that recovers and second Allocationstructure correspondence of StopTime normal transmission, if not, ONU can send the GEM frame of a T-CONT arbitrarily, also can send idle frame.
For example, the Allocation structure of second Allocation structure and the 3rd Allocation structure loses, but the data of the 4th Allocation structure are correct, and ONU can recover the StartTime of second Allocation structure and the StopTime of the 3rd Allocation structure according to StopTime and the 4th StartTime of first Allocation structure.This moment, ONU had two kinds of selections: first kind of selection is that ONU abandons this two Allocation structure, sends idle frame; Second kind of selection is that ONU judges whether second Alloc-ID among the Allocation structure belongs to this ONU, if, then this ONU can be according to the GEM frame of the T-CONT of second Allocation structure of StopTime normal transmission correspondence of the StartTime of second Allocationstructure that recovers and the 3rd Allocation structure, if not, then ONU judges whether the 3rd Alloc-ID among the Allocation structure belongs to this ONU, if, then this ONU can be according to the GEM frame of the T-CONT of the 3rd the Allocation structure correspondence of StopTime normal transmission of the StartTime of second Allocationstructure that recovers and the 3rd Allocation structure, if not, then this ONU can send the GEM frame of a T-CONT arbitrarily, also can send idle frame.Preferably, under the situation of losing two continuous Allocation structure, for second kind of selection, ONU also can change the order of the Alloc-ID of two Allocation structure of verification.
Preferably, the situation for the continuous Allocationstructure in the middle of losing more than three or three can adopt above-mentioned restoration methods equally, recovers the temporal information of the allocated bandwidth structure of losing.And after recovering, adopt first kind of selection or second kind of selection to handle.
Example three
Fig. 5 is the flow chart of example three of the present invention.As shown in Figure 5, example three of the present invention mainly comprises following processing (step S501-step S503):
Step S501: when OLT has distributed several continuous Allocationstructure for an ONU, write digital m among the reservation territory bit6-0 of OLT in the Flags territory of each Allocation structure, 0≤m≤127, expression OLT has distributed m Allocation structure to give this ONU in current Allocationstructure front;
Step S503:ONU utilizes above-mentioned digital information to resolve and receives several continuous Allocation structure, obtain the uplink total bandwidth that belongs to this ONU, ONU opens laser to carry out transmitting uplink data in one's own uplink total bandwidth time corresponding always.
The different situations of losing according to Allocation structure specify when adopting the method that this embodiment provides below, and Allocation structure loses the influence that uplink is caused.
(1) (1≤x≤when n) individual Allocation structure lost, ONU abandoned preceding x Allocation structure to the preceding x that at first receives as ONU.This processing can be referring to example one and example two.
(2) (1≤x≤when n) individual Allocation structure lost, then ONU abandoned x the Allocation structure in back to the back x that receives at last as ONU.This processing can be referring to example one and example two.
(3) when centre that ONU receives (except that first with last Allocationstructure any one or a plurality of Allocation structure) continuous x (1≤x<n-1, n>2) individual Allocation structure loses, ONU can obtain the OLT continuous dispensing according to m1 value (OLT distributes to the m value of bit6-0 position in the Flags territory of first Allocation structure of this ONU) and m2 value (OLT distributes to the m value of bit6-0 position in the Flags territory of last Allocationstructure of this ONU) and give the Allocation structure number (difference of m2 and m1) of oneself, resolve the Allocation structure that receives according to this information ONU, just can determine the uplink total bandwidth of oneself, ONU opens laser in one's own uplink total bandwidth time corresponding always.
Preferably, temporal information according to two adjacent allocated bandwidth structures of not losing of the front and back of one or more allocated bandwidth structures of losing, recover check errors (losing) the processing procedure of temporal information of allocated bandwidth structure, can repeat no more referring to the description of example one and example two herein.
Example four
Fig. 6 is the flow chart of example four of the present invention.As shown in Figure 6, example four of the present invention mainly comprises following processing (step S601-step S603):
Step S601: when OLT has distributed several continuous Allocationstructure for an ONU, write digital l among the reservation territory bit5-3 of OLT in the Flags territory of each Allocation structure, 1≤l≤7 represent that current Allocation structure front also has several numbers that belong to the Allocation structure of this ONU; And write digital m among the reservation territory bit2-0 of OLT in the Flags territory of each Allocation structure, 1≤m≤7 represent that current Allocation structure back also has several numbers that belong to the Allocation structure of this ONU;
The information analysis that step S603:ONU provides by the bit5-0 in the Flags territory receives several continuous Allocation structure, obtain the uplink total bandwidth that belongs to this ONU, ONU opens laser to carry out transmitting uplink data in one's own uplink total bandwidth time corresponding always.
The different situations of losing according to Allocation structure specify when adopting this embodiment method below, and Allocation structure loses the influence that uplink is caused.
(1) (1≤x≤when n) individual Allocation structure lost, ONU abandoned preceding x Allocation structure to the preceding x that at first receives as ONU.This processing can be referring to previously described example.
(2) (1≤x≤when n) individual Allocation structure lost, ONU abandoned x the Allocation structure in back to the back x that receives at last as ONU.This processing can be referring to previously described example.
(3) when centre that ONU receives (except that first with last Allocationstructure any one or a plurality of Allocation structure) continuous x (1≤x<n-1, when n>2) individual Allocation structure loses, ONU will begin to transmit the data among the T-CONT of this Allocation structure correspondence constantly at the StartTime of first Allocation structure, and StopTime stop constantly the transmission, because ONU can determine that the back also has m OLT to distribute to the Allocationstructure of this ONU according to the numerical value of the m of bit2-0 position in the Flags territory of first Allocation structure that receives, so ONU can not close laser.
Preferably, temporal information according to two adjacent allocated bandwidth structures of not losing of the front and back of one or more allocated bandwidth structures of losing, recover check errors (losing) the processing procedure of temporal information of allocated bandwidth structure, can repeat no more referring to the description of previous examples herein.
By above-mentioned example one to example four, can draw, if ONU has lost one or more Allocation structure, ONU does not need OLT to reserve the time of Guard-Time and PLO, ONU can normally transmit the data among the T-CONT of the Allocation structure correspondence of not losing, and has limited the coverage that one or more Allocationstructure lose effectively.
Example five
Fig. 7 is the flow chart of example five of the present invention.As shown in Figure 7, example five of the present invention mainly comprises following processing (step S701-step S703):
Step S701: when OLT has distributed several continuous Allocationstructure for an ONU, write numeral 1 among the reservation territory bit0 of OLT in the Flags territory of each Allocation structure, represent that current Allocation structure front also has an Allocation structure who belongs to this ONU, perhaps, write numeral 0 among the reservation territory bit0 of OLT in the Flags territory of each Allocationstructure, represent that current Allocation structure front does not belong to the Allocation structure of this ONU; Write numeral 1 among the reservation territory bit1 of OLT in the Flags territory of each Allocation structure, represent that current Allocation structure back also has an Allocation structure who belongs to this ONU, perhaps, write numeral 0 among the reservation territory bit1 of OLT in the Flags territory of each Allocation structure, represent that current Allocation structure back does not belong to the Allocation structure of this ONU;
Step S703: when the Auocation structure number of losing continuously during smaller or equal to two, the information analysis that ONU provides by the bit1-0 in Alloc-ID and the Flags territory receives several continuous Allocation structure, obtain the uplink total bandwidth that belongs to this ONU, ONU opens laser to carry out transmitting uplink data in one's own uplink total bandwidth time corresponding always.
The different situations of losing according to Allocation structure specify when adopting the method that this embodiment provides below, and Allocation structure loses the influence that uplink is caused.
(1) (1≤x≤when n) individual Allocation structure lost, ONU abandoned preceding x Allocation structure to the preceding x that receives as ONU.This processing can be referring to previously described example.
(2) (1≤x≤when n) individual Allocation structure lost, ONU abandoned x the Allocation structure in back to the back x that receives at last as ONU.This processing can be referring to previously described example.
(3) if the x that ONU receives is (1<x<when n) individual Allocation structure loses, data before the ONU normal transmission among the T-CONT of (x-1) individual Allocation structure correspondence, and the StopTime of (x-1) individual Allocation structure stop constantly the transmission, because ONU can determine that the back also have an OLT to distribute to the Allocation structure of this ONU according to the value 1 of bit1 position in the Flags territory of (x-1) the individual Allocationstructure that receives, so ONU can not close laser; If the x that ONU receives and (x+1) (2<x+1<when n) individual Allocation structure loses, data before the ONU normal transmission among the T-CONT of (x-1) individual Allocation structure correspondence, and the StopTime of (x-1) individual Allocation structure stop constantly the transmission.ONU determines that according to the value 1 of bit1 position in the Flags territory of (x-1) the individual Allocation structure that receives the back also has an OLT to distribute to the Allocation structure of this ONU, ONU determines that according to the value 1 of bit0 position in the Flags territory of (x+2) the individual Allocationstructure that receives the front also has an OLT to distribute to the Allocation structure of this ONU, ONU can draw following three information: the individual Allocation structure of the first, the (x-1) and x Allocation structure belong to an ONU; The second, ONU also can judge (x+1) individual Allocation structure and (x+2) individual Allocation structure and belong to an ONU; The 3rd, according to the Alloc-ID of (x-1) individual Allocation structure and the Alloc-ID of x+2 Allocationstructure, ONU can judge x-1 Allocation structure and x+2 Allocation structure belongs to an ONU.To sum up, ONU can learn that x-1 Allocation structure belongs to an ONU to x+2 Allocation structure.According to this information, ONU is after the information of the T-CONT that has transmitted (x-1) individual Allocationstructure correspondence, and ONU can not close laser.
Preferably, according to one that loses (x, wherein, 1<x<n) or two (x and x+1, wherein, the temporal information of two allocated bandwidth structures of not losing that the front and back of allocated bandwidth structure of 1<x<n-1) are adjacent recovers the processing procedure of temporal information of the allocated bandwidth structure of check errors (losing), can repeat no more referring to the description of previous examples herein.
The method that provides by this example, can draw, if ONU has lost one or two Allocation structure, ONU does not need OLT to reserve the time of Guard-Time and PLO, ONU can normally transmit the data among the T-CONT of the Allocation structure correspondence of not losing, and has limited the coverage that one or two Allocation structure loses effectively.And, if the number of the Allocation structure that loses continuously was smaller or equal to 2 o'clock, only utilize Flags to keep two of territory, just the coverage that Allocationstructure can be lost has been restricted in the bandwidth range of losing Allocation structure correspondence.
Example six
Fig. 8 is the flow chart of example six of the present invention.As shown in Figure 8, example six of the present invention mainly comprises following processing (step S801-step S803):
Step S801: when OLT has distributed several continuous Allocationstructure for an ONU, write numeral 0 among the reservation territory bit1-0 of OLT in the Flags territory of each Allocation structure, represent that current Allocation structure back has one or zero to belong to the Allocation structure of this ONU.Perhaps, write numeral 1 among the reservation territory bit1-0 of OLT in the Flags territory of each Allocationstructure, represent that there are two Allocationstructure that belong to this ONU current Allocation structure back.Perhaps, write numeral 2 among the reservation territory bit1-0 of OLT in the Flags territory of each Allocation structure, represent that there are three Allocation structure that belong to this ONU current Allocation structure back.Perhaps, write numeral 3 among the reservation territory bit1-0 of OLT in the Flags territory of each Allocationstructure, represent that there is the Allocationstructure that belongs to this ONU more than or equal to four current Allocation structure back;
Step S803: when the Allocation structure number of losing continuously during smaller or equal to four, the information analysis that ONU provides by the bit1-0 in Alloc-ID and the Flags territory receives several continuous Allocation structure, obtain the uplink total bandwidth that belongs to this ONU, ONU opens laser to carry out transmitting uplink data in one's own uplink total bandwidth time corresponding always.
The different situations of losing according to Allocation structure specify when adopting the method that this embodiment provides below, and Allocation structure loses the influence that uplink is caused.
(1) OLT has distributed the individual continuous Allocationstructure of n (n 〉=1) for an ONU, and (1≤x≤when n) individual Allocation structure lost, ONU abandoned preceding x Allocation structure to the preceding x that at first receives as ONU.This processing can be referring to previously described example.
(2) (1≤x≤when n) individual Allocation structure lost, ONU abandoned x the Allocation structure in back to the back x that receives at last as ONU.This processing can be referring to previously described example.
(3) below respectively explanation when n equal 3,4,5 and n more than or equal to 6 the time, the situation that the individual Allocation structure of the middle x that ONU receives (1≤x≤4) loses.
When n=3, when if second Allocation structure that ONU receives loses, data among the T-CONT of first Allocation structure correspondence of ONU normal transmission, and the StopTime of first Allocation structure stop constantly the transmission, because ONU can determine that the back also has two OLT to distribute to the Allocationstructure of this ONU according to the value 1 of bit1-0 position in the Flags territory of first Allocation structure that receives, so ONU can not close laser.
When n=4, when second Allocation structure that ONU receives loses, ONU will begin to transmit the data among the T-CONT of this Allocation structure correspondence constantly at the StartTime of first Allocation structure, and StopTime stop constantly the transmission, because ONU can determine that back also have 3 OLT to distribute to the Allocation structure of this ONU according to the value 2 of bit1-0 position in the Flags territory of first Allocation structure that receives, so ONU can not close laser.
When n=5, when one, two of the centre that ONU receives or three Allocationstructure lose, ONU can determine that back also have 4 OLT to distribute to the Allocation structure of this ONU according to the value 3 of bit1-0 position in the Flags territory of first Allocation structure that receives, so ONU can not close laser.
When n 〉=6, when one, two of the centre that ONU receives or three Allocationstructure lose, ONU can determine that back also have 4 OLT to distribute to the Allocation structure of this ONU according to the value 3 of bit1-0 position in the Flags territory of first Allocation structure that receives, so ONU can not close laser; When four Allocation structure in centre that ONU receives lose, the data among the T-CONT of first Allocation structure correspondence of ONU normal transmission, and stop transmission constantly at the StopTime of first Allocationstructure.ONU determines that according to the value 3 of bit1-0 position in the Flags territory of first Allocation structure of receiving back also have four OLT to distribute to the Allocation structure of this ONU, and ONU can judge first Allocation structure according to the Alloc-ID of the Alloc-ID of first Allocation structure and the 6th Allocation structure and the 6th Allocationstructure belongs to an ONU.To sum up, ONU can learn that six Allocation structure of first Allocationstructure to the belong to an ONU.According to this information, ONU is after the information of the T-CONT that has transmitted first Allocation structure correspondence, and ONU can not close laser.
Preferably, temporal information according to two adjacent allocated bandwidth structures of not losing of the front and back of one or two or three or four the allocated bandwidth structures of losing, recover the processing procedure of temporal information of the allocated bandwidth structure of check errors (losing), can repeat no more referring to the description of previous examples herein.
For example, when second to the 5th Allocation structure lost (promptly losing four allocated bandwidth structures), ONU recovered the StartTime of second Allocation structure and the StopTime of the 5th Allocation structure according to the StopTime of first Allocation structure and the StartTime of the 6th Allocation structure.This moment, ONU had two kinds of selections: first kind of selection is that ONU abandons these four the Allocation structure that lose, and sends idle frame; Second kind of selection is that ONU judges whether second Alloc-ID among the Allocation structure belongs to this ONU, if, then this ONU can be according to the GEM frame of the T-CONT of second Allocation structure of StopTime normal transmission correspondence of the StartTime of second the Allocation structure that recovers and the 5th Allocation structure, if not, then ONU judges whether the 3rd Alloc-ID among the Allocation structure belongs to this ONU, if, then this ONU can be according to the GEM frame of the T-CONT of the 3rd the Allocation structure correspondence of StopTime normal transmission of the StartTime of second the Allocation structure that recovers and the 5th Allocation structure, if not, then ONU judges whether the 4th Alloc-ID among the Allocation structure belongs to this ONU, if, then this ONU can be according to the GEM frame of the T-CONT of the 4th the Allocation structure correspondence of StopTime normal transmission of the StartTime of second the Allocation structure that recovers and the 5th Allocation structure, if not, then ONU judges whether the 5th Alloc-ID among the Allocation structure belongs to this ONU, if, then this ONU can be according to the GEM frame of the T-CONT of the 5th the Allocation structure correspondence of StopTime normal transmission of the StartTime of second the Allocation structure that recovers and the 5th Allocation structure, if not, ONU can send the GEM frame of a T-CONT arbitrarily, also can send idle frame.In second kind of selection of losing four continuous Allocation structure, ONU also can change the order of the Alloc-ID of four Allocation structure of verification.
The method that provides by present embodiment, can obtain, if ONU has lost the individual Allocation structure of x (x≤4) continuously, ONU does not need OLT to reserve the time of Guard-Time and PLO, ONU can normally transmit the data among the T-CONT of the Allocation structure correspondence of not losing, and has limited x the coverage that Allocation structure loses effectively.And, when the number of the Allocation structure that loses continuously smaller or equal to 4 the time, only utilize Flags to keep two of territory, just the coverage that Allocationstructure can be lost is restricted in the bandwidth range of losing Allocation structure correspondence.
Example 7
Fig. 9 is the flow chart of example seven of the present invention.As shown in Figure 9, example seven of the present invention mainly comprises following processing (step S901-step S903):
Step S901: when OLT has distributed several continuous Allocationstructure for an ONU, write numeral 0 among the reservation territory bit0 of OLT in the Flags territory of each Allocation structure, represent that current Allocation structure back has one or zero to belong to the Allocation structure of this ONU; Perhaps, write numeral 1 among the reservation territory bit0 of OLT in the Flags territory of each Allocationstructure, represent that there are two Allocationstructure that belong to this ONU current Allocation structure back.
Step S903: when the Allocation structure number of losing continuously during smaller or equal to two, the information analysis that ONU provides by the bit0 in Alloc-ID and the Flags territory receives several continuous Allocation structure, obtain the uplink total bandwidth that belongs to this ONU, ONU opens laser to carry out transmitting uplink data in one's own uplink total bandwidth time corresponding always.
The different situations of losing according to Allocation structure specify when adopting this embodiment method below, and Allocation structure loses the influence that uplink is caused.
(1) (1≤x≤when n) individual Allocation structure lost, ONU abandoned preceding x Allocation structure to the preceding x that receives as ONU.This processing can be referring to previously described example.
(2) (1≤x≤when n) individual Allocation structure lost, ONU abandoned x the Allocation structure in back to the back x that receives at last as ONU.This processing can be referring to previously described example.
(3) illustrate respectively below that n equals 3, n is more than or equal to 4 o'clock, the situation that the individual Allocation structure of the middle x that ONU receives (1≤x≤2) loses.
When n=3, when if second Allocation structure that ONU receives loses, data among the T-CONT of first Allocation structure correspondence of ONU normal transmission, and the StopTime of first Allocation structure stop constantly the transmission, because ONU can determine that the back also has two OLT to distribute to the Allocationstructure of this ONU according to the value 1 of bit0 position in the Flags territory of first Allocation structure that receives, so ONU can not close laser.
Preferably, temporal information according to two adjacent allocated bandwidth structures of not losing of the front and back of one that loses (second) allocated bandwidth structure, recover the temporal information of the allocated bandwidth structure of check errors (losing), and carry out the process of respective handling, can repeat no more referring to the description of previous examples herein.
When n=4, when if second of receiving of ONU and the 3rd Allocationstructure lose, data among the T-CONT of first Allocation structure correspondence of ONU normal transmission, and the StopTime of first Allocation structure stop constantly the transmission.ONU determines that according to the value 1 of bit0 position in the Flags territory of first Allocation structure of receiving the back also has two OLT to distribute to the Allocation structure of this ONU, and ONU can judge first Allocation structure according to the Alloc-ID of the Alloc-ID of first Allocation structure and the 4th Allocation structure and the 4th Allocation structure belongs to an ONU.To sum up, ONU can learn that four Allocationstructure of first Allocation structure to the belong to an ONU.According to this information, ONU is after the information of the T-CONT that has transmitted first Allocation structure correspondence, and ONU can not close laser.
Preferably, temporal information according to two adjacent allocated bandwidth structures of not losing of the front and back of two that lose (second and the 3rd) allocated bandwidth structures, recover the temporal information of the allocated bandwidth structure of check errors (losing), and carry out the process of respective handling, can repeat no more referring to the description of previous examples herein.
When n 〉=5, recover the temporal information of the allocated bandwidth structure of losing, and carry out the process of respective handling, can repeat no more referring to the description of previous examples herein.
Preferably, temporal information according to two adjacent allocated bandwidth structures of not losing of the front and back of one or two allocated bandwidth structure of losing, recover the temporal information of the allocated bandwidth structure of check errors (losing), and carry out the process of respective handling, can repeat no more referring to the description of previous examples herein.
The method that provides by present embodiment, if ONU has lost the individual Allocation structure of x (x≤2) continuously, ONU does not need OLT to reserve the time of Guard-Time and PLO, ONU can normally transmit the data among the T-CONT of the Allocation structure correspondence of not losing, and has limited x the coverage that Allocation structure loses effectively.And, when the number of the Allocation structure that loses continuously smaller or equal to 2 the time, only utilize Flags to keep of territory, just the coverage that Allocation structure can be lost has been restricted in the bandwidth range of losing Allocation structure correspondence.
Preferably, technical method provided by the invention is not limited only to above-mentioned execution mode, if do not conflict, also comprises other execution modes.
Device embodiment
According to the embodiment of the invention, also provide a kind of upstream bandwidth distributor.
Figure 10 is the structured flowchart according to the transmitting uplink data device of the embodiment of the invention.Figure 11 is the structured flowchart of transmitting uplink data device according to the preferred embodiment of the invention.As shown in figure 10, comprise according to the transmitting uplink data device of the embodiment of the invention: receiving element 1, maintenance unit 2, acquiring unit 3, below above-mentioned each component is described further combined with accompanying drawing 11.
Receiving element 1 is used to receive the allocated bandwidth structure from the upper strata network element, and wherein, the allocated bandwidth structure is carried incidence relation information and temporal information;
Maintenance unit 2 is connected to receiving element 1, is used for according to incidence relation information, is provided with and the maintenance data transmission state;
Acquiring unit 3 is connected to receiving element 2, is used for according to temporal information, obtains the uplink total bandwidth.
Preferably, as shown in figure 11, acquiring unit 3 may further include: verification module 30, determination module 32, acquisition module 34, and wherein, verification module 30 is used for the data of allocated bandwidth structure are carried out verification; Determination module 32 is connected to verification module 30, is used under the situation of check errors, determines the position of continuous bandwidth distribution structure in continuous allocated bandwidth structure of one or more check errors according to incidence relation information; Acquisition module 34, be connected to verification module 30 and determination module 32, be used for according to first verification correct or verification after the allocated bandwidth structure that can recover and last correct or verification after the temporal information of the allocated bandwidth structure that can recover, obtain the uplink total bandwidth.
Preferably, as shown in figure 11, acquisition module 34 can comprise: recover submodule 340, be used for temporal information, recover one or more continuous bandwidth distribution structures of check errors according to two adjacent allocated bandwidth structures of the correct front and back of the verification of one or more continuous bandwidth distribution structures of check errors.
Preferably, as shown in figure 11, acquisition module 34 can also comprise: processing sub 342, be used to abandon one or more continuous bandwidth distribution structures of check errors, wherein, one or more continuous bandwidth distribution structures of check errors do not have two the adjacent allocated bandwidth structures of front and back that identified.
In specific implementation process, by above-mentioned receiving element 1, maintenance unit 2, acquiring unit 3 is realized the scheme of transmitting uplink data, can with reference to Fig. 2-and Fig. 9 in specific descriptions, repeat no more herein.
Pass through the foregoing description, a kind of transmitting uplink data device is provided, when having solved transmitting uplink data, when the upper strata network element has distributed the Allocationstructure of several successive for certain lower network element, the problem that the Allocation structure that the losing of one of them (non-last) Allocation structure may cause thereafter also loses, and then limited effectively that of causing because losing one of them Allocation structure thereafter loses or a plurality of Allocation structure loses the coverage of generation.
As mentioned above, the technical scheme that provides by the embodiment of the invention, lost at ONU under the situation of one or more Allocation structure, ONU does not need OLT to reserve the time of Guard-Time and PLO, ONU can normally transmit the data among the T-CONT of the Allocation structure correspondence of not losing, and has limited the coverage that one or more Allocation structure lose effectively.And, if the number of the Allocation structure that loses continuously has in limited time, only utilize Flags to keep the less bits in territory, just the coverage that Allocation structure can be lost has been restricted in the bandwidth range of losing Allocation structure correspondence.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. uplink bandwidth allocation method is characterized in that:
Lower network element receives the allocated bandwidth structure from the upper strata network element, and wherein, described allocated bandwidth structure is carried incidence relation information and temporal information;
Lower network element is according to described incidence relation information and described temporal information, the service data transmission state, and obtain the uplink total bandwidth to carry out transmitting uplink data.
2. method according to claim 1 is characterized in that, described incidence relation information comprise following one of at least:
Distribute to the sum of continuous bandwidth distribution structure of lower network element and the index or the position of current bandwidth distribution structure;
After described current bandwidth distribution structure, distribute to the number of the continuous bandwidth distribution structure of described lower network element;
Before described current bandwidth distribution structure, distribute to the number of the continuous bandwidth distribution structure of described lower network element;
Whether described current bandwidth distribution structure and previous or a plurality of allocated bandwidth structure belong to the continuous bandwidth of same lower network element;
Whether the one or more allocated bandwidth structures of described current bandwidth distribution structure and back belong to the continuous bandwidth of same lower network element.
3. method according to claim 1 is characterized in that, described temporal information comprises:
Use the affiliated allocated bandwidth structure of described temporal information to carry out the time started and the concluding time of transfer of data.
4. method according to claim 1 is characterized in that, obtains the uplink total bandwidth and comprises to carry out transmitting uplink data:
Data to the allocated bandwidth structure are carried out verification;
Under the correct situation of verification, use this allocated bandwidth structure to carry out transmitting uplink data;
Under the situation of check errors, the position of the allocated bandwidth structure of determining one or more check errors according to described incidence relation information in described continuous allocated bandwidth structure, abandon one or more allocated bandwidth structures of check errors, perhaps, recover the temporal information of the allocated bandwidth structure of whole check errors, and obtain the uplink total bandwidth to carry out transmitting uplink data according to described temporal information.
5. method according to claim 4 is characterized in that, the temporal information of the allocated bandwidth structure of the whole check errors of described recovery comprises:
The current bandwidth distribution structure is discerned, judged whether the front and back also has the correct allocated bandwidth structure of verification;
If one or more adjacent bandwidths distribution structures of described check errors have two adjacent allocated bandwidth structures of the correct front and back of verification, then according to the temporal information in two adjacent allocated bandwidth structures of described front and back, recover the temporal information of the allocated bandwidth structure of whole check errors, wherein, with the difference of the concluding time information in start time information in the adjacent back allocated bandwidth structure and the adjacent previous allocated bandwidth structure temporal information as the allocated bandwidth structure of described whole check errors.
6. method according to claim 5 is characterized in that, two adjacent allocated bandwidth structures of the front and back that the described verification that one or more adjacent bandwidths distribution structures of check errors have is correct comprise the allocated bandwidth structure through over recovery.
7. method according to claim 4 is characterized in that, the one or more allocated bandwidth structures that abandon check errors comprise:
If one or more adjacent bandwidths distribution structures of check errors do not have two adjacent allocated bandwidth structures of the correct front and back of verification, then abandon one or more allocated bandwidth structures of described check errors.
8. method according to claim 4 is characterized in that, after the temporal information of the allocated bandwidth structure of the whole check errors of described recovery, described method also comprises:
Abandon one or more allocated bandwidth structures of the described check errors of recovery, and transmission idle frame, perhaps, respectively each address identification message in one or more allocated bandwidth structures of the described check errors that recovers is carried out verification, belong at described address identification message under the situation of described lower network element, carry out transmitting uplink data.
9. a upstream bandwidth distributor is characterized in that, comprising:
Receiving element is used to receive the allocated bandwidth structure from the upper strata network element, and wherein, described allocated bandwidth structure is carried incidence relation information and temporal information;
Maintenance unit is used for according to described incidence relation information, is provided with and the maintenance data transmission state;
Acquiring unit is used for obtaining the uplink total bandwidth according to described temporal information.
10. device according to claim 9 is characterized in that, described acquiring unit comprises:
The verification module is used for the data of allocated bandwidth structure are carried out verification;
Determination module is used under the situation of check errors, the position of the continuous bandwidth distribution structure of determining one or more check errors according to described incidence relation information in described continuous allocated bandwidth structure;
Acquisition module, be used for according to first verification correct or verification after the allocated bandwidth structure that can recover and last correct or verification after the temporal information of the allocated bandwidth structure that can recover, obtain described uplink total bandwidth.
11. device according to claim 10 is characterized in that, described acquisition module comprises:
Recover submodule, be used for temporal information, recover one or more continuous bandwidth distribution structures of described check errors according to two adjacent allocated bandwidth structures of the correct front and back of the verification of one or more continuous bandwidth distribution structures of check errors.
12. device according to claim 10 is characterized in that, described acquisition module comprises:
Processing sub is used to abandon one or more continuous bandwidth distribution structures of check errors, and wherein, one or more continuous bandwidth distribution structures of described check errors do not have two the adjacent allocated bandwidth structures of front and back that identified.
CN200910149082.5A 2009-06-17 2009-06-17 Uplink bandwidth allocation method and device Active CN101924688B (en)

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 true CN101924688A (en) 2010-12-22
CN101924688B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139105A (en) * 2011-12-05 2013-06-05 中兴通讯股份有限公司 Uplink bandwidth distribution method and system in passive optical network (PON) system
WO2016062034A1 (en) * 2014-10-24 2016-04-28 深圳市中兴微电子技术有限公司 Data processing method and device, data control unit and storage medium
WO2018028471A1 (en) * 2016-08-11 2018-02-15 中国移动通信有限公司研究院 Data transmission indication method and device, and data transmission method, device and equipment

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139105A (en) * 2011-12-05 2013-06-05 中兴通讯股份有限公司 Uplink bandwidth distribution method and system in passive optical network (PON) system
WO2013082936A1 (en) * 2011-12-05 2013-06-13 中兴通讯股份有限公司 Method and system for allocating uplink bandwidth in passive optical network (pon) system
CN103139105B (en) * 2011-12-05 2016-09-28 中兴通讯股份有限公司 Uplink bandwidth allocation method in a kind of passive optical network and system
WO2016062034A1 (en) * 2014-10-24 2016-04-28 深圳市中兴微电子技术有限公司 Data processing method and device, data control unit and storage medium
CN105592372A (en) * 2014-10-24 2016-05-18 深圳市中兴微电子技术有限公司 Data processing method and apparatus of optical network unit, and data control unit
WO2018028471A1 (en) * 2016-08-11 2018-02-15 中国移动通信有限公司研究院 Data transmission indication method and device, and data transmission method, device and equipment

Also Published As

Publication number Publication date
CN101924688B (en) 2016-08-24

Similar Documents

Publication Publication Date Title
US8315520B2 (en) Method, system and apparatus for transmitting data
US8934772B2 (en) Method and system for upstream bandwidth allocation in a passive optical network
EP3484072B1 (en) Method and apparatus for configuring upgraded bandwidth map for ten gigabit passive optical network
CN102082976B (en) Method and system for sending data in passive optical network (PON)
CN101677415A (en) Optical network system data link switching method, optical network unit and system
CN101997605B (en) Optical distribution network as well as fault processing method, registration method and physical positioning method for optical network unit
WO2013082936A1 (en) Method and system for allocating uplink bandwidth in passive optical network (pon) system
US20090034964A1 (en) Communication apparatus communicating with different bit rates
CN102301670A (en) Method For Burst Transmission On A Passive Optical Network, Method And Device For Receiver Resetting
CN101867442A (en) Uplink forward error correction processing method, optical networking unit and optical line terminal
CN102387426B (en) Uplink bandwidth allocation method in EPON
US9054811B2 (en) Method and device for sending upstream transfer frame in passive optical network
CN102149027A (en) Passage switching method and system and downlink data transmitting method
CN101924688A (en) Uplink bandwidth allocation method and device
EP2562947B1 (en) Method, apparatus and system for passive optical network communication
CN102318239B (en) Method and device for transmitting upstream transmission frame in passive optical network
CN102148647B (en) Method, device and system for increasing distance of GPON (gigabit passive optical network)
CN101577843B (en) Method, device and system for processing multiframe
CN102148682A (en) Method and system for accurately positioning ONU (Optical Network Unit) with exceptional luminescence
CN102056030B (en) Gbit passive optical network system and data input and data output method thereof
CN101616339A (en) The method of gigabit passive optical network system multiple protocols bearing and encapsulation mode frame
CN101567726A (en) Method for processing frame data, optical network unit, optical line terminal and optical network system
KR100575988B1 (en) Method for ONU Activation in Gigabit-capable PON
CN102209280A (en) Uplink data processing method used in passive optical network and passive optical network
CN102045602B (en) Method, optical line terminal and optical network unit that frame is delimited

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.