CN105763487B - A kind of method and device of upstream bandwidth distribution - Google Patents

A kind of method and device of upstream bandwidth distribution Download PDF

Info

Publication number
CN105763487B
CN105763487B CN201610222112.0A CN201610222112A CN105763487B CN 105763487 B CN105763487 B CN 105763487B CN 201610222112 A CN201610222112 A CN 201610222112A CN 105763487 B CN105763487 B CN 105763487B
Authority
CN
China
Prior art keywords
bandwidth
total amount
channel
optical network
network unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610222112.0A
Other languages
Chinese (zh)
Other versions
CN105763487A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201610222112.0A priority Critical patent/CN105763487B/en
Publication of CN105763487A publication Critical patent/CN105763487A/en
Application granted granted Critical
Publication of CN105763487B publication Critical patent/CN105763487B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/76Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
    • H04L47/762Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions triggered by the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/76Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Abstract

The embodiment of the invention discloses a kind of method and devices of upstream bandwidth distribution, are related to field of communication technology, can be improved the success rate for carrying out upstream bandwidth distribution in TWDM PON system to ONU.The method of the embodiment of the present invention includes: to obtain fixed-bandwidth needed for target optical network unit under first passage and guarantee bandwidth;Obtain the first total amount of bandwidth of the first passage;Determine the second total amount of bandwidth of the first passage;When the second total amount of bandwidth of the first passage is greater than the total bandwidth of the first passage, the first total amount of bandwidth of second channel is obtained;Determine that the smallest channel of the first total amount of bandwidth is destination channel in all second channels;The target optical network unit is migrated to the destination channel, and completes the upstream bandwidth distribution of the target optical network unit.The present invention carries out the process of upstream bandwidth distribution suitable for TWDM PON system to optical network unit.

Description

A kind of method and device of upstream bandwidth distribution
Technical field
The present invention relates to the method and devices that field of communication technology more particularly to a kind of upstream bandwidth distribute.
Background technique
In the operator network with passive optical network (English: Passive Optical Network, referred to as: PON) Universal and user demand raising is based on time-division and wave in order to ensure PON network develops to the direction of higher traffic rate Divide the passive optical network (English: Time Wavelength Division Multiplexing PON, abbreviation: TWDM of multiplexing PON operator's better choice) will be become.
In TWDM PON system, include multiple TWDM PON optical line terminals (English: Optical Line Terminal, referred to as: OLT) channel (English: Channel Terminal, referred to as: CT), multiple CT by wave multiplexer (English: Wavelength Multiplexer, referred to as: WM) multiplex is carried out, each light net is then connected to by optical fiber and optical splitter Network unit (English: Optical Network Unit, referred to as: ONU).
Currently, when carrying out upstream bandwidth distribution for each ONU in TWDM PON system, therefore, to assure that fixed-bandwidth The sum of (Fixed) and guarantee bandwidth (Assured), less than or equal to the capacity of single CT.If carried out in advance to upstream bandwidth In assigning process, by calculating fixed-bandwidth of discovery after having executed upstream bandwidth distribution and guaranteeing that it is single that the sum of bandwidth is greater than The capacity of a CT then can not carry out upstream bandwidth distribution to each ONU under the CT, so as to cause bandwidth allocation failure.
Summary of the invention
The embodiment of the present invention provides a kind of method and device of upstream bandwidth distribution, and it is right in TWDM PON system to can be improved The success rate of ONU progress upstream bandwidth distribution.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, the embodiment of the present invention provides a kind of method of upstream bandwidth distribution, which comprises
It obtains fixed-bandwidth needed for target optical network unit under first passage and guarantees bandwidth;
The first total amount of bandwidth of the first passage is obtained, first total amount of bandwidth is fixed-bandwidth total amount and guarantee band The sum of wide total amount, the fixed-bandwidth total amount are the sum of the fixed-bandwidth of all optical network units under single channel, the guarantee Total amount of bandwidth is the sum of the guarantee bandwidth of all optical network units under single channel;
Determine that the second total amount of bandwidth of the first passage, second total amount of bandwidth are first total amount of bandwidth, institute The sum of guarantee bandwidth needed for fixed-bandwidth needed for stating target optical network unit and the target optical network unit;
When the second total amount of bandwidth of the first passage is greater than the total bandwidth of the first passage, second channel is obtained First total amount of bandwidth, the second channel are other channels in addition to the first passage;
Determine in all second channels that the smallest channel of the first total amount of bandwidth is destination channel, the second of the destination channel Total amount of bandwidth is less than or equal to the total bandwidth of the destination channel;
The target optical network unit is migrated to the destination channel, and completes the uplink of the target optical network unit Bandwidth allocation.
Second aspect, the embodiment of the present invention provide a kind of upstream bandwidth assigned unit, and described device includes:
Module is obtained, for obtaining fixed-bandwidth needed for target optical network unit under first passage and guaranteeing bandwidth;
The acquisition module, is also used to obtain the first total amount of bandwidth of the first passage, and first total amount of bandwidth is Fixed-bandwidth total amount and guarantee the sum of total amount of bandwidth, the fixed-bandwidth total amount is that all optical network units are consolidated under single channel Determine the sum of bandwidth, it is described to guarantee that total amount of bandwidth is the sum of the guarantee bandwidth of all optical network units under single channel;
Determining module, for determining the second total amount of bandwidth of the first passage, second total amount of bandwidth is described the Guarantee bandwidth needed for fixed-bandwidth needed for one total amount of bandwidth, the target optical network unit and the target optical network unit The sum of;
The acquisition module is also used to be greater than total band of the first passage when the second total amount of bandwidth of the first passage When wide, the first total amount of bandwidth of second channel is obtained, the second channel is other channels in addition to the first passage;
The determining module is also used to determine in all second channels that the smallest channel of the first total amount of bandwidth is logical for target Road, the second total amount of bandwidth of the destination channel are less than or equal to the total bandwidth of the destination channel;
Processing module for migrating the target optical network unit to the destination channel, and completes the target light The upstream bandwidth of network unit distributes.
The method and device of a kind of upstream bandwidth distribution provided in an embodiment of the present invention, when the second of the first passage of acquisition When total amount of bandwidth is greater than the total bandwidth of first passage, determine that the smallest channel of the first total amount of bandwidth is logical for target in second channel Road later migrates target optical network unit to destination channel, and completes the upstream bandwidth distribution of target optical network unit.It compares Compared in the prior art by calculating discovery after having executed upstream bandwidth distribution, the fixed-bandwidth in channel and guarantee bandwidth it Be greater than single channel capacity when, then can not to each optical network unit under the channel carry out upstream bandwidth distribution, this hair It is bright can be in the case where the corresponding first passage of target optical network unit be unable to complete upstream bandwidth distribution, by by target light Network unit is migrated to the destination channel for meeting bandwidth allocation condition, to ensure that the target optical network unit after migrating can carry out Upstream bandwidth assigning process.This improves the successes for carrying out upstream bandwidth distribution in TWDM PON system to optical network unit Rate.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of structural schematic diagram of TWDM PON system provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram of upstream bandwidth distribution provided in an embodiment of the present invention;
Fig. 3 is the method flow diagram of another upstream bandwidth distribution provided in an embodiment of the present invention;
Fig. 4 is the method flow diagram of another upstream bandwidth distribution provided in an embodiment of the present invention;
Fig. 5 is the method flow diagram of another upstream bandwidth distribution provided in an embodiment of the present invention;
Fig. 6 is a kind of upstream bandwidth assigned unit structural schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention can be used for a kind of TWDM PON system, in TWDM PON system, including channel, multiplex Optical network unit under device, current divider and channel.In TWDM PON system as shown in Figure 1, including n channel, multiplex Multiple optical network units under device, current divider and n channel.Wherein, the optical network unit under channel 1 is m1, channel 2 Under optical network unit be m2, optical network unit channel 3 under is m3, and the optical network unit under the n of channel is mn a.Its In, n and m1 to mn are the positive integer more than or equal to 1.May exist at least one optical network unit under each channel, each The quantity of optical network unit can be identical or different under channel.It should be noted that in TWDM PON system, in addition to including upper It states other than the device for realizing basic function, further includes the equipment for completing upstream bandwidth distribution for controlling optical network unit.
The embodiment of the present invention provides a kind of method of upstream bandwidth distribution, as shown in Fig. 2, this method is by control optical-fiber network list Member completes the equipment of upstream bandwidth distribution to execute, this method comprises:
101, it obtains fixed-bandwidth needed for target optical network unit under first passage and guarantees bandwidth.
Fixed-bandwidth (English: Fixed Bandwidth, referred to as: FB) be keep for specific optical network unit completely, or It is the bandwidth for keeping for optical network unit to execute specific transactions.It means that even if being assigned the optical-fiber network list of fixed-bandwidth Member does not need to occupy fixed-bandwidth when being performed business, optical line terminal (English: Optical Line Terminal, letter Claim: OLT) remain as the authorization that optical network unit transmission corresponds to the fixed-bandwidth.So, though the fixed-bandwidth not It is occupied, it can not also be used for other optical network units.
Guarantee that bandwidth (English: Assured Bandwidth, abbreviation: AB) is the band that guarantees optical network unit and can obtain Width is mainly authorized by optical line terminal according to the REPORT information of optical network unit.When the reality of optical network unit When service traffics are not up to the guarantee bandwidth distributed, the Dynamic Bandwidth Allocation (English: Dynamic of optical line terminal Bandwidth Assignment, referred to as: DBA) mechanism can by the unappropriated bandwidth allocation of the optical network unit give other light Network unit uses when executing business in order to other optical network units.If optical network unit uplink service flow is more than quilt The guarantee bandwidth of distribution, even if flow congestion occurs for up direction in TWDM PON system, TWDM PON system can also guarantee Distribute to the bandwidth at least equal to guarantee bandwidth of optical network unit.
Such as: in TWDM PON system, the capacity in channel 1 is 10Gbps, in channel 1 under hung 5 optical network units, It include: optical network unit 1 to optical network unit 5.Wherein, the uplink fixing belt that optical network unit 1 and optical network unit 4 are assigned Width is total up to 5Gbps, and assigned uplink guarantees that bandwidth is total up to 4Gbps.If necessary to distribute 2Gbps for optical network unit 5 Uplink fixed-bandwidth, then since optical network unit 1 and the occupied bandwidth of optical network unit 4 only can guarantee as optical network unit 5 provide 10- (5+4)=1Gbps upstream bandwidth, therefore, it is impossible to successfully complete the assigning process of upstream bandwidth.
102, the first total amount of bandwidth of first passage is obtained.
Wherein, the first total amount of bandwidth is the sum of fixed-bandwidth total amount and guarantee total amount of bandwidth, and fixed-bandwidth total amount is single The sum of the fixed-bandwidth of all optical network units under channel guarantees that total amount of bandwidth is the guarantor of all optical network units under single channel Demonstrate,prove the sum of bandwidth.
Since there may be multiple optical network units under a channel, in embodiments of the present invention, in order to judge that channel holds Whether amount is enough the bandwidth allocation of all optical network units under the channel, need by the first total amount of bandwidth of Acquisition channel come It determines in addition to the target optical network unit of bandwidth to be allocated, the occupied fixed-bandwidth of other optical network units is total under the channel The sum of amount and guarantee total amount of bandwidth.
103, the second total amount of bandwidth of first passage is determined.
Wherein, the second total amount of bandwidth is fixed-bandwidth and target light needed for the first total amount of bandwidth, target optical network unit The sum of guarantee bandwidth needed for network unit.
It in embodiments of the present invention, can be by pre-allocating calculating process, if being target light to judge under current scene Upstream bandwidth needed for network unit distribution, if bandwidth allocation success can be made.Therefore, the of first passage is being determined After one total amount of bandwidth, it is also necessary to determine the second total amount of bandwidth of first passage, that is, calculate as target optical network unit After upstream bandwidth needed for distribution, the total amount of bandwidth of first passage.
104, when the second total amount of bandwidth of first passage is greater than the total bandwidth of first passage, the first of second channel is obtained Total amount of bandwidth.
Wherein, second channel is other channels in addition to first passage.
When the second total amount of bandwidth of the first passage being calculated by step 103 is greater than the total bandwidth of first passage, Then think that the total bandwidth of first passage is not able to satisfy the distribution of the upstream bandwidth of target light network unit.Therefore, in order to ensure energy The assigning process of the upstream bandwidth of target optical network unit is enough successfully completed, in embodiments of the present invention, is needed for target light net Network unit determines suitable destination channel, and target optical network unit is migrated, to assure success as target optical-fiber network list Member distribution upstream bandwidth.
105, determine that the smallest channel of the first total amount of bandwidth is destination channel in all second channels.
Wherein, the second total amount of bandwidth of destination channel is less than or equal to the total bandwidth of destination channel.
In view of in TWDM PON system, it is understood that there may be multiple optical network units for needing to be assigned bandwidth, therefore, in order to It saves in TWDM PON system for migrating the resource occupied required for optical network unit, needs migration TWDM as few as possible Each optical network unit in PON system.It means that needing to find in all second channels when determining destination channel The smallest channel of first total amount of bandwidth, and the channel is determined as destination channel.
For example in conjunction with the lower assigning process that can not successfully complete upstream bandwidth enumerated of above-mentioned steps 102, adopt Used in method provided in the embodiment of the present invention, it will can need to be assigned the optical-fiber network list of the uplink fixed-bandwidth of 2Gbps Member 5 is migrated to other channels in addition to channel 1, and is guaranteed after completing transition process, the uplink fixed-bandwidth in other channels Total amount and uplink guarantee that the sum of total amount of bandwidth can be less than or equal to the total bandwidth in other channels.
In embodiments of the present invention, the capacity in each channel can be considered as identical in TWDM PON system, that is to say, that The total bandwidth in each channel is identical in TWDM PON system.It can determine that occupied total bandwidth is minimum by step 105 Second channel be destination channel, so, when optical network unit original under destination channel need be assigned bandwidth when, by The bandwidth that optical network unit can be assigned under the destination channel is more, therefore, when the network unit for needing to be assigned bandwidth is complete When at bandwidth allocation, it is likely that there is no need to move again to the network unit for needing assigned bandwidth under destination channel It moves.
106, target optical network unit is migrated to destination channel, and completes the upstream bandwidth point of target optical network unit Match.
It due to completing to migrate target optical network unit, and is that target optical network unit distributes after upstream bandwidth, target Under channel therefore the total bandwidth of all optical network units can complete target light still less than or equal to the total bandwidth of destination channel The upstream bandwidth assigning process of network unit.
It should be noted that if the smallest channel of the first total amount of bandwidth is not able to satisfy target light still in all second channels Network unit is assigned the condition of upstream bandwidth, then can not successfully complete target optical network unit in TWDM PON system Bandwidth allocation.
The method of a kind of upstream bandwidth distribution provided in an embodiment of the present invention, when the second bandwidth of the first passage of acquisition is total When amount is greater than the total bandwidth of first passage, determine that the smallest channel of the first total amount of bandwidth is destination channel in second channel, later Target optical network unit is migrated to destination channel, and completes the upstream bandwidth distribution of target optical network unit.It is compared to existing Have by calculating discovery after having executed upstream bandwidth distribution in technology, the fixed-bandwidth in channel is greater than with the sum of bandwidth is guaranteed When the capacity in single channel, then upstream bandwidth distribution can not be carried out to each optical network unit under the channel, the present invention can be with In the case where the corresponding first passage of target optical network unit is unable to complete upstream bandwidth distribution, by by target optical-fiber network list Member is migrated to the destination channel for meeting bandwidth allocation condition, to ensure that the target optical network unit after migrating can carry out uplink band Wide assigning process.This improves the success rates for carrying out upstream bandwidth distribution in TWDM PON system to optical network unit.
In order to ensure during migrating target optical network unit, the destination channel of existence anduniquess, in the embodiment of the present invention An implementation in, only when in all second channels to channel the smallest there are first total amount of bandwidth, just general The channel is determined as destination channel.Therefore, it on the basis of implementation as shown in Figure 2, is also implemented as shown in Figure 3 Implementation.Wherein, step 105 determines that the smallest channel of the first total amount of bandwidth is destination channel in all second channels, can be with It is implemented as step 1051:
1051, when the quantity in the smallest channel of the first total amount of bandwidth in all second channels is one, all the are determined The smallest channel of the first total amount of bandwidth is destination channel in two channels.
In view of in all second channels, there are at least one the smallest channels of the first total amount of bandwidth, therefore, in order to avoid There are multiple transportable destination channels, in embodiments of the present invention, only when there are a smallest channels of the first total amount of bandwidth When, the channel is just determined as destination channel.
The method of a kind of upstream bandwidth distribution provided in an embodiment of the present invention, when the second bandwidth of the first passage of acquisition is total Amount is greater than the total bandwidth of first passage, and the quantity in the smallest channel of the first total amount of bandwidth is for the moment, really in all second channels The smallest channel of the first total amount of bandwidth is destination channel in fixed all second channels, later migrates target optical network unit to mesh Channel is marked, and completes the upstream bandwidth distribution of target optical network unit.It is compared to and is held in the prior art by calculating to find to work as After upstream bandwidth of having gone distribution, when the sum of the fixed-bandwidth in channel and guarantee bandwidth are greater than the capacity in single channel, then can not Upstream bandwidth distribution is carried out to each optical network unit under the channel, the present invention can be in target optical network unit corresponding the In the case that one channel is unable to complete upstream bandwidth distribution, by migrating target optical network unit to the satisfaction band uniquely determined The destination channel of wide distributive condition, to ensure that the target optical network unit after migrating can carry out upstream bandwidth assigning process.Cause This, improves the success rate for carrying out upstream bandwidth distribution in TWDM PON system to optical network unit.
When the smallest channel of the first total amount of bandwidth is there are when at least two in all second channels, in order to ensure in migration mesh During marking optical network unit, the destination channel of existence anduniquess can be distinguished in an implementation of the embodiment of the present invention The third total amount of bandwidth of each second channel is obtained, determines that the smallest channel of third total amount of bandwidth is destination channel later.Due to Under normal circumstances, the total amount of bandwidth difference of doing one's best in the identical channel of the second total amount of bandwidth, it is therefore possible to use above-mentioned realization Mode determines unique destination channel.It also means that, on the basis of implementation as shown in Figure 3, is also implemented as Implementation as shown in Figure 4.Wherein, target optical network unit is migrated to destination channel in execution step 106, and completes mesh Before the up channel distribution for marking optical network unit, step 107 and step 108 can also be performed:
107, it when the quantity in the smallest channel of the first total amount of bandwidth in all second channels is at least two, determines at least The third total amount of bandwidth in each channel in two channels.
Wherein, third total amount of bandwidth is the first total amount of bandwidth and the sum of total amount of bandwidth of doing one's best, and bandwidth of doing one's best is total Amount is the sum of bandwidth of doing one's best of all optical network units under single channel.
Bandwidth of doing one's best (English: Best Effort Bandwidth, abbreviation: BB) is when the bandwidth on EPON interface When not occupied by the business of other high priorities, this fractional bandwidth that optical network unit can be used.Bandwidth of doing one's best master It will be by optical line terminal according to the REPORT information and PON interface of the optical network unit of all on-line in TWDM PON system On bandwidth occupancy situation be optical network unit distribution authorization.
It should be noted that TWDM PON system does not guarantee the specific transactions that optical network unit or optical network unit execute The quantity of bandwidth can be obtained, also, even if the upstream bandwidth of TWDM PON system has residue, an optical network unit is obtained Preset value is also not to be exceeded in the bandwidth of doing one's best obtained.In embodiments of the present invention, the thresholding for bandwidth of doing one's best, that is, in advance If value, can be preset, specific setting means is not construed as limiting based on experience value by staff.
108, determine that the smallest channel of third total amount of bandwidth is destination channel in all second channels.
It is unique in order to determine when channel the smallest there are at least two first total amount of bandwidth in all second channels Destination channel can determine that the first total amount of bandwidth is minimum in all second channels to complete the transition process of target optical network unit Channel third bandwidth, later determine the smallest channel of third total amount of bandwidth be destination channel.
The method of a kind of upstream bandwidth distribution provided in an embodiment of the present invention, when the second bandwidth of the first passage of acquisition is total Amount is greater than the total bandwidth of first passage, and the quantity in the smallest channel of the first total amount of bandwidth is at least two in all second channels When, determine that the smallest channel of third total amount of bandwidth is destination channel in all second channels, later moves target optical network unit Destination channel is moved to, and completes the upstream bandwidth distribution of target optical network unit.It is compared in the prior art by calculating hair Now after having executed upstream bandwidth distribution, when the sum of the fixed-bandwidth in channel and guarantee bandwidth are greater than the capacity in single channel, Can not then upstream bandwidth distribution be carried out to each optical network unit under the channel, the present invention can be in target optical network unit pair In the case that the first passage answered is unable to complete upstream bandwidth distribution, according to the second bandwidth and third bandwidth of all second channels Uniquely meet the destination channel of bandwidth allocation condition to determine, and target optical network unit is migrated to destination channel, with true Target optical network unit after protecting migration can carry out upstream bandwidth assigning process.This improves right in TWDM PON system The success rate of optical network unit progress upstream bandwidth distribution.
Therefore it is since certain resource in TWDM PON system during optical network unit is migrated, can be expended The waste for reducing TWDM PON system resource as far as possible, in an implementation of the embodiment of the present invention, when target light net Second total amount of bandwidth of first passage corresponding to network unit meets the item that upstream bandwidth distribution is carried out to target optical network unit When part, the upstream bandwidth of target optical network unit can be done directly in the case where target optical network unit is without migration Assigning process.Therefore, on the basis of implementation as shown in Figure 2, it is also implemented as implementation as shown in Figure 5.Its In, after the second total amount of bandwidth for executing the determining first passage of step 103, step 109 can be executed:
109, when the second total amount of bandwidth of first passage is less than or equal to the total bandwidth of first passage, target light net is completed The upstream bandwidth of network unit distributes.
The method of a kind of upstream bandwidth distribution provided in an embodiment of the present invention, when the second bandwidth of the first passage of acquisition is total When amount is less than or equal to the total bandwidth of first passage, upstream bandwidth directly is distributed for target optical network unit.It is compared to existing Find that after having executed upstream bandwidth distribution, the fixed-bandwidth in channel is greater than list with the sum of bandwidth is guaranteed by calculating in technology When the capacity in a channel, then upstream bandwidth distribution can not be carried out to each optical network unit under the channel, the present invention can be In the case that the corresponding first passage of target optical network unit can complete upstream bandwidth distribution, it is done directly target optical-fiber network list The upstream bandwidth assigning process of member.This improves carry out upstream bandwidth distribution to optical network unit in TWDM PON system Success rate.
The embodiment of the present invention provides a kind of upstream bandwidth assigned unit 20, as shown in fig. 6, for executing such as Fig. 2 to Fig. 5 Shown in method flow, which includes:
Module 21 is obtained, for obtaining fixed-bandwidth needed for target optical network unit under first passage and guaranteeing bandwidth.
Module 21 is obtained, is also used to obtain the first total amount of bandwidth of first passage, the first total amount of bandwidth is that fixed-bandwidth is total The sum of amount and guarantee total amount of bandwidth, fixed-bandwidth total amount are the sum of the fixed-bandwidth of all optical network units under single channel, are protected Demonstrate,prove the sum of the guarantee bandwidth that total amount of bandwidth is all optical network units under single channel.
Determining module 22, for determining the second total amount of bandwidth of first passage, the second total amount of bandwidth be the first total amount of bandwidth, The sum of guarantee bandwidth needed for fixed-bandwidth needed for target optical network unit and target optical network unit.
Module 21 is obtained, is also used to obtain when the second total amount of bandwidth of first passage is greater than the total bandwidth of first passage First total amount of bandwidth of second channel, second channel are other channels in addition to first passage.
Determining module 22 is also used to determine in all second channels that the smallest channel of the first total amount of bandwidth is destination channel, Second total amount of bandwidth of destination channel is less than or equal to the total bandwidth of destination channel.
Processing module 23 for migrating target optical network unit to destination channel, and completes target optical network unit Upstream bandwidth distribution.
In an implementation of the embodiment of the present invention, determining module 22 is specifically used in all second channels the When the quantity in the smallest channel of one total amount of bandwidth is one, determine that the smallest channel of the first total amount of bandwidth is in all second channels Destination channel.
In an implementation of the embodiment of the present invention, determining module 22 is also used to when first in all second channels When the quantity in the smallest channel of total amount of bandwidth is at least two, determine that the third bandwidth in each channel at least two channels is total Amount, third total amount of bandwidth are the first total amount of bandwidth and the sum of total amount of bandwidth of doing one's best, and total amount of bandwidth of doing one's best is single logical The sum of bandwidth of doing one's best of all optical network units under road.
Determining module 22 is also used to determine in all second channels that the smallest channel of third total amount of bandwidth is destination channel.
In an implementation of the embodiment of the present invention, processing module 23 is also used to the second bandwidth when first passage When total amount is less than or equal to the total bandwidth of first passage, the upstream bandwidth distribution of target optical network unit is completed.
A kind of upstream bandwidth assigned unit provided in an embodiment of the present invention, when the second bandwidth of the first passage of acquisition is total When amount is greater than the total bandwidth of first passage, determine that the smallest channel of the first total amount of bandwidth is destination channel in second channel, later Target optical network unit is migrated to destination channel, and completes the upstream bandwidth distribution of target optical network unit.It is compared to existing Have by calculating discovery after having executed upstream bandwidth distribution in technology, the fixed-bandwidth in channel is greater than with the sum of bandwidth is guaranteed When the capacity in single channel, then upstream bandwidth distribution can not be carried out to each optical network unit under the channel, the present invention can be with In the case where the corresponding first passage of target optical network unit is unable to complete upstream bandwidth distribution, by by target optical-fiber network list Member is migrated to the destination channel for meeting bandwidth allocation condition, to ensure that the target optical network unit after migrating can carry out uplink band Wide assigning process.This improves the success rates for carrying out upstream bandwidth distribution in TWDM PON system to optical network unit.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method Part explanation.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (English: Read-Only Memory, referred to as: ROM) or random access memory (English: Random Access Memory, referred to as: RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (4)

1. a kind of method of upstream bandwidth distribution, which is characterized in that the described method includes:
It obtains fixed-bandwidth needed for target optical network unit under first passage and guarantees bandwidth;
The first total amount of bandwidth of the first passage is obtained, first total amount of bandwidth is that fixed-bandwidth total amount and guarantee bandwidth are total The sum of amount, the fixed-bandwidth total amount are the sum of the fixed-bandwidth of all optical network units under single channel, the guarantee bandwidth Total amount is the sum of the guarantee bandwidth of all optical network units under single channel;
Determine that the second total amount of bandwidth of the first passage, second total amount of bandwidth are first total amount of bandwidth, the mesh The sum of guarantee bandwidth needed for fixed-bandwidth needed for marking optical network unit and the target optical network unit;
When the second total amount of bandwidth of the first passage is greater than the total bandwidth of the first passage, the first of second channel is obtained Total amount of bandwidth, the second channel are other channels in addition to the first passage;
Determine that the smallest channel of the first total amount of bandwidth is destination channel, the second bandwidth of the destination channel in all second channels Total amount is less than or equal to the total bandwidth of the destination channel;
The target optical network unit is migrated to the destination channel, and completes the upstream bandwidth of the target optical network unit Distribution;
The smallest channel of the first total amount of bandwidth is destination channel in all second channels of determination, comprising: when described all the When the quantity in the smallest channel of the first total amount of bandwidth is one in two channels, determine that the first bandwidth is total in all second channels Measuring the smallest channel is the destination channel;
The target optical network unit is migrated to the destination channel described, and completes the upper of the target optical network unit Before row channel distribution, comprising: when the quantity in the smallest channel of the first total amount of bandwidth in all second channels is at least two When a, determine that the third total amount of bandwidth in each channel at least two channels, the third total amount of bandwidth are the first total amount of bandwidth With the sum of total amount of bandwidth of doing one's best, it is described do one's best total amount of bandwidth be single channel under all optical network units as possible and For the sum of bandwidth;Determine that the smallest channel of third total amount of bandwidth is destination channel in all second channels.
2. the method according to claim 1, wherein in the second total amount of bandwidth of the determination first passage Later, comprising:
When the second total amount of bandwidth of the first passage is less than or equal to the total bandwidth of the first passage, the target is completed The upstream bandwidth of optical network unit distributes.
3. a kind of upstream bandwidth assigned unit, which is characterized in that described device includes:
Module is obtained, for obtaining fixed-bandwidth needed for target optical network unit under first passage and guaranteeing bandwidth;
The acquisition module, is also used to obtain the first total amount of bandwidth of the first passage, and first total amount of bandwidth is to fix The sum of total amount of bandwidth and guarantee total amount of bandwidth, the fixed-bandwidth total amount are the fixing belt of all optical network units under single channel The sum of width, it is described to guarantee that total amount of bandwidth is the sum of the guarantee bandwidth of all optical network units under single channel;
Determining module, for determining that the second total amount of bandwidth of the first passage, second total amount of bandwidth are the first band Guarantee bandwidth needed for fixed-bandwidth needed for wide total amount, the target optical network unit and the target optical network unit it With;
The acquisition module is also used to be greater than the total bandwidth of the first passage when the second total amount of bandwidth of the first passage When, the first total amount of bandwidth of second channel is obtained, the second channel is other channels in addition to the first passage;
The determining module is also used to determine in all second channels that the smallest channel of the first total amount of bandwidth is destination channel, institute The second total amount of bandwidth for stating destination channel is less than or equal to the total bandwidth of the destination channel;
Processing module for migrating the target optical network unit to the destination channel, and completes the target optical-fiber network The upstream bandwidth of unit distributes;
The determining module is one specifically for the quantity when the smallest channel of the first total amount of bandwidth in all second channels When a, determine that the smallest channel of the first total amount of bandwidth is the destination channel in all second channels;
The determining module is also used to when the quantity in the smallest channel of the first total amount of bandwidth in all second channels be at least At two, determine that the third total amount of bandwidth in each channel at least two channels, the third total amount of bandwidth are that the first bandwidth is total Measure and do one's best the sum of total amount of bandwidth, the total amount of bandwidth of doing one's best be under single channel all optical network units as possible And it is the sum of bandwidth;
The determining module is also used to determine in all second channels that the smallest channel of third total amount of bandwidth is logical for target Road.
4. device according to claim 3, which is characterized in that the processing module is also used to when the first passage When second total amount of bandwidth is less than or equal to the total bandwidth of the first passage, the upstream bandwidth of the target optical network unit is completed Distribution.
CN201610222112.0A 2016-04-11 2016-04-11 A kind of method and device of upstream bandwidth distribution Active CN105763487B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610222112.0A CN105763487B (en) 2016-04-11 2016-04-11 A kind of method and device of upstream bandwidth distribution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610222112.0A CN105763487B (en) 2016-04-11 2016-04-11 A kind of method and device of upstream bandwidth distribution

Publications (2)

Publication Number Publication Date
CN105763487A CN105763487A (en) 2016-07-13
CN105763487B true CN105763487B (en) 2019-02-15

Family

ID=56334682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610222112.0A Active CN105763487B (en) 2016-04-11 2016-04-11 A kind of method and device of upstream bandwidth distribution

Country Status (1)

Country Link
CN (1) CN105763487B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557691B (en) * 2018-05-30 2022-03-04 中兴通讯股份有限公司 Method, device and equipment for distributing multichannel PON bandwidth

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7237076B2 (en) * 2003-03-18 2007-06-26 Hitachi, Ltd. Method of maintaining a plurality of snapshots, server apparatus and storage apparatus
CN101420640A (en) * 2008-11-24 2009-04-29 中兴通讯股份有限公司 Bandwidth allocation method and device based on Gbit passive optical network
CN101729939A (en) * 2008-10-31 2010-06-09 中兴通讯股份有限公司 Method and system for distributing passive optical network bandwidth
CN103684866A (en) * 2013-12-16 2014-03-26 和记奥普泰通信技术有限公司 Dynamic bandwidth allocation method for Ethernet passive optical network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7237076B2 (en) * 2003-03-18 2007-06-26 Hitachi, Ltd. Method of maintaining a plurality of snapshots, server apparatus and storage apparatus
CN101729939A (en) * 2008-10-31 2010-06-09 中兴通讯股份有限公司 Method and system for distributing passive optical network bandwidth
CN101420640A (en) * 2008-11-24 2009-04-29 中兴通讯股份有限公司 Bandwidth allocation method and device based on Gbit passive optical network
CN103684866A (en) * 2013-12-16 2014-03-26 和记奥普泰通信技术有限公司 Dynamic bandwidth allocation method for Ethernet passive optical network

Also Published As

Publication number Publication date
CN105763487A (en) 2016-07-13

Similar Documents

Publication Publication Date Title
US9166723B2 (en) Network fragmentation measurement in an optical wavelength division multiplexing (WDM) network
CN110213679B (en) Passive optical network system and implementation method thereof
KR20040048102A (en) Dynamic Bandwidth Allocation based on Class of Service over Ethernet Passive Optical Network
JP6958649B2 (en) Optical node device, optical network control device, and optical network control method
CN105827528A (en) Routing method suitable for frequency spectrum-flexible optical network
CN110213040A (en) A kind of method for controlling quality of service and device of quantum key distribution business
CN114868363A (en) Optical communication device and resource management method
Fujii et al. Dynamic resource allocation with virtual grid for space division multiplexed elastic optical network
CN105141354B (en) A kind of guard method of frequency spectrum share degree and device based on grade of service division
Zhu et al. Crosstalk-aware virtual optical network embedding (VONE) in spatial division multiplexing enabled elastic optical networks with multi-core fibers
CN105763487B (en) A kind of method and device of upstream bandwidth distribution
EP2849389B1 (en) Method and apparatus for allocating bandwidth resources
Zhu et al. Multi-dimensional resource assignment in spatial division multiplexing enabled elastic optical networks with multi-core fibers
CN103313411A (en) Multiservice resource distribution method and device
CN105634990B (en) Based on the continuous method for obligating resource of time frequency spectrum, device and processor
CN104486254A (en) SDN network bandwidth control method and SDN network bandwidth control system
CN106331904B (en) Distribution method of wavelength channels in passive optical network, optical line terminal and system
JP6301168B2 (en) Station side equipment
CN103248969A (en) Method and device for grid capacity information notice and routing of flexible grid optical network
Wang et al. Scheduling large data flows in elastic optical inter-datacenter networks
Wang et al. Survivable bulk data-flow transfer strategies in elastic optical inter-datacenter networks
WO2017193879A1 (en) Data transmission method, apparatus and system
Comellas et al. On the worthiness of flexible grid in elastic optical networks
KR20180057475A (en) Traffic explosion resolving apparatus and method for sdn-based passive optical networks
CN102075825A (en) Uplink bandwidth management method and device in optical communication system

Legal Events

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