A kind of band allocating method and device
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of band allocating method and device.
Background technique
As electric power terminal communication user sharply increases access bandwidth demand, it is whole how to further increase existing electric power
The service efficiency that termination networks is of great significance.In access net, TDM-PON is this when on fixed wave length being user's distribution
Between piece mechanism, not only strongly limit the available bandwidth of each user, waste the personal bandwidth of optical fiber itself.
Currently, generally use protection interval in the consolidated network of carrying multiple communication services to carry out data stream separation,
Most of dynamic Adjusted Option is in accordance with different business and is allocated, and cannot make full use of upstream band resource.Due to
In bearing multiple service in consolidated network, there are the isolation between multiple business, i.e., to a variety of communication industries under PON Technical Architecture
Business carries out isolation transmission, reduces the service efficiency of limited band resource.
Summary of the invention
The technical problem to be solved in the present invention is that the frequency band of the multiple business isolation transmission of existing access net is overcome to use
The lower defect of efficiency.
The present invention provides a kind of band allocating method, comprising:
The identical multiple network units of traffic data type are distributed to same carrier wave, the carrier wave includes multiple sub- loads
Wave;
Determine that shared frequency band is greater than the first kind network unit of frequency band threshold and shared frequency band is less than or equal to institute respectively
State the Second Type network unit of frequency band threshold;
The occupied subcarrier of Second Type network unit is adjusted, shares the Second Type network unit described
The subcarrier of first kind network unit.
Preferably, the frequency band threshold is (Ra× T)/n, wherein n > 1, RaFor the transmission rate of the subcarrier, T is institute
State the whole cycle of subcarrier, (Ra× T) indicate the frequency band of the subcarrier.
Preferably, the n value in the frequency band threshold is 2.
Preferably, the adjustment occupied subcarrier of Second Type network unit, makes the Second Type network
The subcarrier of first kind network unit described in units shared, comprising:
ONU in the first kind network unit is determined respectivelyiQuantity I and the Second Type network unit in
ONUjQuantity J;
When I is greater than or equal to J, the ONU in the first kind network unit is judgediWith the Second Type network list
ONU in memberjWhether the sum of shared frequency band is more than the ONU in the first kind network unitiShared sub-carrier band;
ONU in the first kind network unitiWith the ONU in the Second Type network unitjShared frequency band it
With the ONU being less than in the first kind network unitiWhen shared sub-carrier band, the Second Type network unit is adjusted
In ONUjOccupied subcarrier makes the ONU in the Second Type network unitjShare the first kind network unit
In ONUiSubcarrier.
Preferably, when I is less than J, judge the ONU in the first kind network unitiWith the Second Type network
ONU in unitjWhether the sum of shared frequency band is more than the ONU in the first kind network unitiShared sub-carrier band;
ONU in the first kind network unitiWith the ONU in the Second Type network unitjShared frequency band it
With the ONU being less than in the first kind network unitiWhen shared sub-carrier band, the Second Type network unit is adjusted
In ONUjOccupied subcarrier makes the ONU in the Second Type network unitjShare the first kind network unit
In ONUiSubcarrier;
By the ONU for not being adjusted subcarrier in the Second Type network unitjIt is determined as ONUk, and form third class
Type network unit;
Judge the sum of frequency band shared by m ONU in the third Type Network Element whether more than ONUkShared subcarrier
Frequency band;
The sum of frequency band shared by the m ONU is less than ONUkWhen shared sub-carrier band, adjust shared by the m ONU
Subcarrier makes the m ONU share ONUkSubcarrier.
Preferably, after the composition third Type Network Element, further includes:
Frequency band shared by ONU in the third Type Network Element is arranged in descending order.
The present invention also provides a kind of band allocation means, comprising:
Allocation unit, for distributing the identical multiple network units of traffic data type to same carrier wave, the load
Wave includes multiple subcarriers;
Determination unit, for determining shared first kind network unit of the frequency band greater than frequency band threshold and shared frequency band respectively
Less than or equal to the Second Type network unit of the frequency band threshold;
Adjustment unit makes the Second Type net for adjusting the occupied subcarrier of Second Type network unit
The subcarrier of first kind network unit described in network units shared.
Preferably, the frequency band threshold is (Ra× T)/n, wherein n > 1, RaFor the transmission rate of the subcarrier, T is institute
State the whole cycle of subcarrier, (Ra× T) indicate the frequency band of the subcarrier.
Preferably, the n value in the frequency band threshold is 2.
Preferably, the adjustment unit includes:
Quantity determines subelement, for determining ONU in the first kind network unit respectivelyiQuantity I and described
ONU in Second Type network unitjQuantity J;
Frequency band judgment sub-unit, for judging the ONU in the first kind network unit when I is greater than or equal to Ji
With the ONU in the Second Type network unitjWhether the sum of shared frequency band is more than the ONU in the first kind network uniti
Shared sub-carrier band;
Subcarrier adjusts subelement, for as the ONU in the first kind network unitiWith the Second Type network
ONU in unitjThe sum of shared frequency band is less than the ONU in the first kind network unitiWhen shared sub-carrier band, adjust
ONU in the whole Second Type network unitjOccupied subcarrier makes the ONU in the Second Type network unitjAltogether
With the ONU in the first kind network unitiSubcarrier.
Preferably, frequency band judgment sub-unit, for judging the ONU in the first kind network unit when I is less than Ji
With the ONU in the Second Type network unitjWhether the sum of shared frequency band is more than the ONU in the first kind network uniti
Shared sub-carrier band;
Subcarrier adjusts subelement, for as the ONU in the first kind network unitiWith the Second Type network
ONU in unitjThe sum of shared frequency band is less than the ONU in the first kind network unitiWhen shared sub-carrier band, adjust
ONU in the whole Second Type network unitjOccupied subcarrier makes the ONU in the Second Type network unitjAltogether
With the ONU in the first kind network unitiSubcarrier;
Subelement is determined, for by the ONU for not being adjusted subcarrier in the Second Type network unitjIt is determined as
ONUk, and form third Type Network Element;
Judgment sub-unit, for judge the sum of frequency band shared by m ONU in the third Type Network Element whether be more than
ONUkShared sub-carrier band;
Subelement is adjusted, is less than ONU for working as the sum of frequency band shared by the m ONUkWhen shared sub-carrier band, adjust
The whole occupied subcarrier of m ONU, makes the m ONU share ONUkSubcarrier.
Preferably, further includes:
Subelement is arranged, for arranging frequency band shared by the ONU in the third Type Network Element in descending order.
Technical solution of the present invention has the advantages that
The present invention provides a kind of band allocating method and device, by by the identical multiple network units of traffic data type
In distribution to same carrier wave, the carrier wave includes multiple subcarriers;Determine that shared frequency band is greater than the first kind of frequency band threshold respectively
Type network unit and shared frequency band are less than or equal to the Second Type network unit of the frequency band threshold;Adjust the Second Type
The occupied subcarrier of network unit, the son for making the Second Type network unit share the first kind network unit carry
Wave.The present invention can dynamically adjust each subcarrier distribution in real time, meet difference by distribution subcarrier and protection interval
The demand of network unit transmission band utilizes band resource to greatest extent, real in the case where not interfering to primary user
Existing sharing frequency spectrum resource, so that protection interval is reduced on the basis of power communication multi-service is isolated and is transmitted, it is sharp to greatest extent
With wavelength capacities, flexible and efficient access network is realized.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of band allocating method;
Fig. 2 is the flow chart that subcarrier is adjusted in a kind of band allocating method;
Fig. 3 is a kind of schematic diagram of band allocation means.
Specific embodiment
Technical solution of the present invention is clearly and completely described below in conjunction with attached drawing, it is clear that described implementation
Example is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill
Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical",
The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to
Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation,
It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.In addition, term " first ", " second ",
" third " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, term " installation ", " phase
Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can
To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also indirectly connected through an intermediary, it can be with
It is the connection inside two elements, can be wireless connection, be also possible to wired connection.For those of ordinary skill in the art
For, the concrete meaning of above-mentioned term in the present invention can be understood with concrete condition.
As long as in addition, the non-structure each other of technical characteristic involved in invention described below different embodiments
It can be combined with each other at conflict.
Embodiment 1
The present embodiment provides a kind of band allocating methods.
Firstly, carrying out the division of frequency spectrum according to network unit.For example, network unit can be ONU (Optical
Network Unit, optical network unit).Different subcarriers is distributed to multiple ONU respectively, which can be specific sub- load
Wave, for controlling the transmission of information.For the subcarrier of remainder data, OFDMA (Orthogonal Frequency can be used
Division Multiple Access, orthogonal frequency division multiple access) mode distribute to other different ONU.
The flow chart of this method is as shown in Figure 1.Include the following steps:
S1: the identical multiple network units of traffic data type are distributed to same carrier wave, the carrier wave includes multiple
Subcarrier.
Specifically, can by the optical switching matrix at center by the identical multiple network units of traffic data type, such as
Multiple ONU are distributed to same carrier wave.By the optical switching matrix at center, according to multiple ONU transmit data frequency and
OFDM (Orthogonal Frequency Division Multiplexing, orthogonal frequency division multiplexing), by traffic data type
Identical multiple ONU are distributed to same carrier wave, and the carrier wave includes multiple subcarriers.
When swapping distribution by the optical switching matrix at center, also interacted with source flux and convergence flow, In
It is transmitted between each router.Meanwhile OFDM multiplexing is waited in the data flow of output buffer.
Using ROADM, (Reconfigurable Optical Add-Drop Multiplexer, reconfigurable optical point are inserted multiple
With device) in internal aggregated channel or single channel power monitoring is carried out, and as road on bar path/lower road partial information stream.
By limited up/down road port, partial data stream can be added from network in time or deletes the extra data flow in part,
Guarantee the utilization rate of wavelength to the greatest extent.
S2: determine that shared frequency band is greater than the first kind network unit of frequency band threshold and shared frequency band is less than or equal to respectively
The Second Type network unit of the frequency band threshold.
As a specific embodiment, the frequency band threshold is (Ra× T)/n, wherein n > 1, RaFor the subcarrier
Transmission rate, T be the subcarrier whole cycle, (Ra× T) indicate the frequency band of the subcarrier.
Preferably, the n value in the frequency band threshold is 2.
Specifically, determining that shared frequency band is greater than frequency band threshold respectively is (Ra× T)/n first kind network unit ONUiWith
It is (R that shared frequency band, which is less than or equal to the frequency band threshold,a× T)/n Second Type network unit ONUj, wherein n > 1, RaFor
The transmission rate of the subcarrier, T are the whole cycle of the subcarrier, (Ra× T) indicate the frequency band of the subcarrier.
Firstly, obtaining frequency band B shared by each ONU in the multiple ONU respectively;By frequency band B shared by each ONU and the frequency
Band threshold value is compared, i.e., by B and (Ra× T)/n is compared.It is carried according to whether frequency band B shared by each ONU is greater than 1/n son
Wave frequency band, it is two types that the multiple network unit, that is, multiple ONU, which are divided to, and first kind network unit is that shared frequency band is greater than
The ONU of 1/n sub-carrier bandi, Second Type network unit is that shared frequency band is less than or equal to 1/n sub-carrier band
ONUj。
Preferably, when n value is 2, first kind network unit is that shared frequency band is greater than 1/2 sub-carrier band
ONUi, Second Type network unit is the ONU that shared frequency band is less than or equal to 1/2 sub-carrier bandj。
S3: adjusting the occupied subcarrier of Second Type network unit, shares the Second Type network unit
The subcarrier of the first kind network unit.
Specifically, the Second Type network unit ONU is adjustedjOccupied subcarrier makes the Second Type network
Unit ONUjShare the first kind network unit ONUiSubcarrier.
By the ONU in first kind network unitiWith the ONU in Second Type network unitjComplementary according to shared frequency band
Principle is matched, i.e., according to the ONU in first kind network unitiWith the ONU in Second Type network unitjShared frequency band
The sum of be less than ONU in the first kind network unitiThe principle of shared sub-carrier band is matched, so as to adjust institute
State the ONU in Second Type network unitjOccupied subcarrier makes the ONU in the Second Type network unitjShare institute
State the ONU in first kind network unitiSubcarrier.
Band allocating method provided by the invention, by distributing the identical multiple network units of traffic data type to same
In one carrier wave, the carrier wave includes multiple subcarriers;Determine that shared frequency band is greater than the first kind network list of frequency band threshold respectively
First and shared frequency band is less than or equal to the Second Type network unit of the frequency band threshold;Adjust the Second Type network unit
Occupied subcarrier makes the Second Type network unit share the subcarrier of the first kind network unit.The present invention
Each subcarrier distribution can be dynamically adjusted in real time, and heterogeneous networks unit is met by distribution subcarrier and protection interval and is passed
The demand of defeated frequency band utilizes band resource to greatest extent, in the case where not interfering to primary user, realizes frequency spectrum resource
It is shared, to reduce protection interval on the basis of power communication multi-service is isolated and is transmitted, wavelength capacities are utilized to greatest extent,
Realize flexible and efficient access network.
Matrix H is introduced, such as formula as a specific embodiment for the bandwidth assignment situation for recording every subcarriers
(1) shown in:
The frequency band of subcarrier shared by each ONU will be indicated clearly in formula (1), to obtain frequency band B shared by each ONU.
The transmission rate of each subcarrier is RaBit/s, the whole cycle of subcarrier are T, can be with using complementation algorithm
The number N of subcarrier shared by each ONU is obtained, as shown in formula (2):
N=[B-B% (Ra×T)]/(Ra×T) (2)
In formula (2), % indicates complementation.
The process of above-mentioned steps S3 is as shown in Figure 2:
Firstly, determining ONU in the first kind network unit respectivelyiQuantity I and the Second Type network list
ONU in memberjQuantity J;
I is compared with J, that is, judges ONU in the first kind network unitiQuantity I whether be less than described
ONU in two Type Network ElementsjQuantity J.
Specifically, two following situations can be divided.
First, when I is more than or equal to J:
Judge the ONU in the first kind network unitiWith the ONU in the Second Type network unitjShared frequency band
The sum of whether be more than the first kind network unit in ONUiShared sub-carrier band;
According to band occupancy principle of complementarity, i.e. ONU in first kind network unitiIn Second Type network unit
ONUjThe sum of shared frequency band is less than the ONU in the first kind network unitiThe principle of shared sub-carrier band, such as formula (3)
It is shown:
Bi+Bj+Tg×Ra≤Ni×(Ra×T) (3)
In formula (3), BiFor the ONU in first kind network unitiShared frequency band, BjFor in Second Type network unit
ONUjShared frequency band, TgFor the protection interval between different ONU, i.e. ONUiAnd ONUjBetween protection interval;NiFor ONUiIt is shared
The number of subcarrier.Formula (3) indicate band occupancy principle of complementarity refer to, ONUiShared frequency band, ONUjShared frequency band and ONUi
And ONUjBetween protection interval shared by the sum of frequency band be less than or equal to ONUiShared NiThe sum of the frequency band of a subcarrier.
ONU in the first kind network unitiWith the ONU in the Second Type network unitjShared frequency band it
With the ONU being less than in the first kind network unitiWhen shared sub-carrier band, the Second Type network unit is adjusted
In ONUjOccupied subcarrier makes the ONU in the Second Type network unitjShare the first kind network unit
In ONUiSubcarrier.
To each ONU in first kind network uniti, can be matched in Second Type network unit according to formula (3)
Band occupancy meets the ONU of formula (3)j, and with corresponding ONU in first kind network unitiPairing, by ONUiShared NiIt is a
Subcarrier distributes to this to ONU, i.e. ONUiAnd ONUj, and in ONUiAnd ONUjBetween be arranged protection interval (Tg×Ra)。
Second, when I is less than J:
Judge the ONU in the first kind network unitiWith the ONU in the Second Type network unitjShared frequency band
The sum of whether be more than the first kind network unit in ONUiShared sub-carrier band;
According to band occupancy principle of complementarity, i.e. ONU in first kind network unitiIn Second Type network unit
ONUjThe sum of shared frequency band is less than the ONU in the first kind network unitiThe principle of shared sub-carrier band, such as formula (3)
It is shown:
Bi+Bj+Tg×Ra≤Ni×(Ra×T) (3)
In formula (3), BiFor the ONU in first kind network unitiShared frequency band, BjFor in Second Type network unit
ONUjShared frequency band, TgFor the protection interval between different ONU, i.e. ONUiAnd ONUjBetween protection interval;NiFor ONUiIt is shared
The number of subcarrier.Formula (3) indicate band occupancy principle of complementarity refer to, ONUiShared frequency band, ONUjShared frequency band and ONUi
And ONUjBetween protection interval shared by the sum of frequency band be less than or equal to ONUiShared NiThe sum of the frequency band of a subcarrier.
ONU in the first kind network unitiWith the ONU in the Second Type network unitjShared frequency band it
With the ONU being less than in the first kind network unitiWhen shared sub-carrier band, the Second Type network unit is adjusted
In ONUjOccupied subcarrier makes the ONU in the Second Type network unitjShare the first kind network unit
In ONUiSubcarrier.
To each ONU in first kind network uniti, can be matched in Second Type network unit according to formula (3)
Band occupancy meets the ONU of formula (3)j, and with corresponding ONU in first kind network unitiPairing, by ONUiShared NiIt is a
Subcarrier distributes to this to ONU, i.e. ONUiAnd ONUj, and in ONUiAnd ONUjBetween be arranged protection interval (Tg×Ra)。
By the ONU for not being adjusted subcarrier in the Second Type network unitjIt is determined as ONUk, and form third class
Type network unit.With unpaired ONU in third Type Network Element record Second Type network unitj.Preferably, it can incite somebody to action
Frequency band B shared by ONU in third Type Network ElementkIt arranges in descending order.
Judge the sum of frequency band shared by m ONU in third Type Network Element whether more than ONUkShared sub-carrier band.
Specifically, judge first ONU in third Type Network Element1Shared frequency band B1ONU adjacent thereto2It is shared
Frequency band B2Whether formula (4) are met:
B1+B2+Tg×Ra≤N1×(Ra×T) (4)
In formula (4), N1For ONU1The number of shared subcarrier.
If meeting formula (4), addition and ONU2Adjacent ONU3Shared frequency band B3, judge again, until meeting formula (5):
Bk+Bk+1+…+Bk+m+(m-1)×Tg×Ra≤Nk×(Ra×T) (5)
In formula (5), NkFor ONUkThe number of shared subcarrier.
The sum of frequency band shared by the m ONU is less than ONUkWhen shared sub-carrier band, adjust shared by the m ONU
Subcarrier makes the m ONU share ONUkSubcarrier.
When meeting formula (5), i.e., the sum of frequency band shared by the m ONU is less than ONUkWhen shared sub-carrier band, adjust
The whole occupied subcarrier of m ONU, makes the m ONU share ONUkSubcarrier, and (m-1) a protection interval is set
(Tg×Ra)。
According to ONU in the first kind network unitiQuantity I and the Second Type network unit in ONUj's
Quantity J, is divided into two kinds of situation processing, adjusts subcarrier distribution according to band occupancy principle of complementarity, reduces traditional polled and consumed
Time, and dispose protection interval to reach multi-service isolation transmission.
Embodiment 2
The present embodiment provides a kind of band allocation means, the schematic diagram of the device as shown in figure 3, include allocation unit 10,
Determination unit 20 and adjustment unit 30.
Firstly, carrying out the division of frequency spectrum according to network unit.For example, network unit can be ONU (Optical
Network Unit, optical network unit).Different subcarriers is distributed to multiple ONU respectively, which can be specific sub- load
Wave, for controlling the transmission of information.For the subcarrier of remainder data, OFDMA (Orthogonal Frequency can be used
Division Multiple Access, orthogonal frequency division multiple access) mode distribute to other different ONU.
Allocation unit 10, it is described for distributing the identical multiple network units of traffic data type to same carrier wave
Carrier wave includes multiple subcarriers.
Specifically, can by the optical switching matrix at center by the identical multiple network units of traffic data type, such as
Multiple ONU are distributed to same carrier wave.By the optical switching matrix at center, according to multiple ONU transmit data frequency and
OFDM (Orthogonal Frequency Division Multiplexing, orthogonal frequency division multiplexing), by traffic data type
Identical multiple ONU are distributed to same carrier wave, and the carrier wave includes multiple subcarriers.
When swapping distribution by the optical switching matrix at center, also interacted with source flux and convergence flow, In
It is transmitted between each router.Meanwhile OFDM multiplexing is waited in the data flow of output buffer.
Using ROADM, (Reconfigurable Optical Add-Drop Multiplexer, reconfigurable optical point are inserted multiple
With device) in internal aggregated channel or single channel power monitoring is carried out, and as road on bar path/lower road partial information stream.
By limited up/down road port, partial data stream can be added from network in time or deletes the extra data flow in part,
Guarantee the utilization rate of wavelength to the greatest extent.
Determination unit 20, for determining shared first kind network unit of the frequency band greater than frequency band threshold and shared frequency respectively
Band is less than or equal to the Second Type network unit of the frequency band threshold.
As a specific embodiment, the frequency band threshold is (Ra× T)/n, wherein n > 1, RaFor the subcarrier
Transmission rate, T be the subcarrier whole cycle, (Ra× T) indicate the frequency band of the subcarrier.
Preferably, the n value in the frequency band threshold is 2.
Specifically, determining that shared frequency band is greater than frequency band threshold respectively is (Ra× T)/n first kind network unit ONUiWith
It is (R that shared frequency band, which is less than or equal to the frequency band threshold,a× T)/n Second Type network unit ONUj, wherein n > 1, RaFor
The transmission rate of the subcarrier, T are the whole cycle of the subcarrier, (Ra× T) indicate the frequency band of the subcarrier.
Firstly, obtaining frequency band B shared by each ONU in the multiple ONU respectively;By frequency band B shared by each ONU and the frequency
Band threshold value is compared, i.e., by B and (Ra× T)/n is compared.It is carried according to whether frequency band B shared by each ONU is greater than 1/n son
Wave frequency band, it is two types that the multiple network unit, that is, multiple ONU, which are divided to, and first kind network unit is that shared frequency band is greater than
The ONU of 1/n sub-carrier bandi, Second Type network unit is that shared frequency band is less than or equal to 1/n sub-carrier band
ONUj。
Preferably, when n value is 2, first kind network unit is that shared frequency band is greater than 1/2 sub-carrier band
ONUi, Second Type network unit is the ONU that shared frequency band is less than or equal to 1/2 sub-carrier bandj。
Adjustment unit 30 makes the Second Type for adjusting the occupied subcarrier of Second Type network unit
Network unit shares the subcarrier of the first kind network unit.
Specifically, the Second Type network unit ONU is adjustedjOccupied subcarrier makes the Second Type network
Unit ONUjShare the first kind network unit ONUiSubcarrier.
By the ONU in first kind network unitiWith the ONU in Second Type network unitjComplementary according to shared frequency band
Principle is matched, i.e., according to the ONU in first kind network unitiWith the ONU in Second Type network unitjShared frequency band
The sum of be less than ONU in the first kind network unitiThe principle of shared sub-carrier band is matched, so as to adjust institute
State the ONU in Second Type network unitjOccupied subcarrier makes the ONU in the Second Type network unitjShare institute
State the ONU in first kind network unitiSubcarrier.
Band allocation means provided by the invention, by distributing the identical multiple network units of traffic data type to same
In one carrier wave, the carrier wave includes multiple subcarriers;Determine that shared frequency band is greater than the first kind network list of frequency band threshold respectively
First and shared frequency band is less than or equal to the Second Type network unit of the frequency band threshold;Adjust the Second Type network unit
Occupied subcarrier makes the Second Type network unit share the subcarrier of the first kind network unit.The present invention
Each subcarrier distribution can be dynamically adjusted in real time, and heterogeneous networks unit is met by distribution subcarrier and protection interval and is passed
The demand of defeated frequency band utilizes band resource to greatest extent, in the case where not interfering to primary user, realizes frequency spectrum resource
It is shared, to reduce protection interval on the basis of power communication multi-service is isolated and is transmitted, wavelength capacities are utilized to greatest extent,
Realize flexible and efficient access network.
Matrix H is introduced, such as formula as a specific embodiment for the bandwidth assignment situation for recording every subcarriers
(1) shown in:
The frequency band of subcarrier shared by each ONU will be indicated clearly in formula (1), to obtain frequency band B shared by each ONU.
The transmission rate of each subcarrier is RaBit/s, the whole cycle of subcarrier are T, can be with using complementation algorithm
The number N of subcarrier shared by each ONU is obtained, as shown in formula (2):
N=[B-B% (Ra×T)]/(Ra×T) (2)
In formula (2), % indicates complementation.
Adjustment unit 30 includes that quantity determines subelement, frequency band judgment sub-unit, subcarrier adjustment subelement, determines that son is single
Member, judgment sub-unit, adjustment subelement.
Quantity determines subelement, for determining ONU in the first kind network unit respectivelyiQuantity I and described
ONU in Second Type network unitjQuantity J;
I is compared with J, that is, judges ONU in the first kind network unitiQuantity I whether be less than described
ONU in two Type Network ElementsjQuantity J.
Specifically, two following situations can be divided.
First, when I is more than or equal to J:
Frequency band judgment sub-unit, for judging the ONU in the first kind network unitiWith the Second Type network
ONU in unitjWhether the sum of shared frequency band is more than the ONU in the first kind network unitiShared sub-carrier band.
According to band occupancy principle of complementarity, i.e. ONU in first kind network unitiIn Second Type network unit
ONUjThe sum of shared frequency band is less than the ONU in the first kind network unitiThe principle of shared sub-carrier band, such as formula (3)
It is shown:
Bi+Bj+Tg×Ra≤Ni×(Ra×T) (3)
In formula (3), BiFor the ONU in first kind network unitiShared frequency band, BjFor in Second Type network unit
ONUjShared frequency band, TgFor the protection interval between different ONU, i.e. ONUiAnd ONUjBetween protection interval;NiFor ONUiIt is shared
The number of subcarrier.Formula (3) indicate band occupancy principle of complementarity refer to, ONUiShared frequency band, ONUjShared frequency band and ONUi
And ONUjBetween protection interval shared by the sum of frequency band be less than or equal to ONUiShared NiThe sum of the frequency band of a subcarrier.
Subcarrier adjusts subelement, for as the ONU in the first kind network unitiWith the Second Type network
ONU in unitjThe sum of shared frequency band is less than the ONU in the first kind network unitiWhen shared sub-carrier band, adjust
ONU in the whole Second Type network unitjOccupied subcarrier makes the ONU in the Second Type network unitjAltogether
With the ONU in the first kind network unitiSubcarrier.
To each ONU in first kind network uniti, can be matched in Second Type network unit according to formula (3)
Band occupancy meets the ONU of formula (3)j, and with corresponding ONU in first kind network unitiPairing, by ONUiShared NiIt is a
Subcarrier distributes to this to ONU, i.e. ONUiAnd ONUj, and in ONUiAnd ONUjBetween be arranged protection interval (Tg×Ra)。
Second, when I is less than J:
Frequency band judgment sub-unit, for judging the ONU in the first kind network unitiWith the Second Type network
ONU in unitjWhether the sum of shared frequency band is more than the ONU in the first kind network unitiShared sub-carrier band.
According to band occupancy principle of complementarity, i.e. ONU in first kind network unitiIn Second Type network unit
ONUjThe sum of shared frequency band is less than the ONU in the first kind network unitiThe principle of shared sub-carrier band, such as formula (3)
It is shown:
Bi+Bj+Tg×Ra≤Ni×(Ra×T) (3)
In formula (3), BiFor the ONU in first kind network unitiShared frequency band, BjFor in Second Type network unit
ONUjShared frequency band, TgFor the protection interval between different ONU, i.e. ONUiAnd ONUjBetween protection interval;NiFor ONUiIt is shared
The number of subcarrier.Formula (3) indicate band occupancy principle of complementarity refer to, ONUiShared frequency band, ONUjShared frequency band and ONUi
And ONUjBetween protection interval shared by the sum of frequency band be less than or equal to ONUiShared NiThe sum of the frequency band of a subcarrier.
Subcarrier adjusts subelement, for as the ONU in the first kind network unitiWith the Second Type network
ONU in unitjThe sum of shared frequency band is less than the ONU in the first kind network unitiWhen shared sub-carrier band, adjust
ONU in the whole Second Type network unitjOccupied subcarrier makes the ONU in the Second Type network unitjAltogether
With the ONU in the first kind network unitiSubcarrier.
To each ONU in first kind network uniti, can be matched in Second Type network unit according to formula (3)
Band occupancy meets the ONU of formula (3)j, and with corresponding ONU in first kind network unitiPairing, by ONUiShared NiIt is a
Subcarrier distributes to this to ONU, i.e. ONUiAnd ONUj, and in ONUiAnd ONUjBetween be arranged protection interval (Tg×Ra)。
Subelement is determined, for by the ONU for not being adjusted subcarrier in the Second Type network unitjIt is determined as
ONUk, and form third Type Network Element.It is recorded with third Type Network Element unpaired in Second Type network unit
ONUj。
It preferably, further include arrangement subelement, for by frequency band B shared by the ONU in third Type Network ElementkIn descending order
Arrangement.
Judgment sub-unit, for judging the sum of frequency band shared by m ONU in third Type Network Element whether more than ONUk
Shared sub-carrier band.
Specifically, judge first ONU in third Type Network Element1Shared frequency band B1ONU adjacent thereto2It is shared
Frequency band B2Whether formula (4) are met:
B1+B2+Tg×Ra≤N1×(Ra×T) (4)
In formula (4), N1For ONU1The number of shared subcarrier.
If meeting formula (4), addition and ONU2Adjacent ONU3Shared frequency band B3, judge again, until meeting formula (5):
Bk+Bk+1+…+Bk+m+(m-1)×Tg×Ra≤Nk×(Ra×T) (5)
In formula (5), NkFor ONUkThe number of shared subcarrier.
Subelement is adjusted, is less than ONU for working as the sum of frequency band shared by the m ONUkWhen shared sub-carrier band, adjust
The whole occupied subcarrier of m ONU, makes the m ONU share ONUkSubcarrier.
When meeting formula (5), i.e., the sum of frequency band shared by the m ONU is less than ONUkWhen shared sub-carrier band, adjust
The whole occupied subcarrier of m ONU, makes the m ONU share ONUkSubcarrier, and (m-1) a protection interval is set
(Tg×Ra)。
According to ONU in the first kind network unitiQuantity I and the Second Type network unit in ONUj's
Quantity J, is divided into two kinds of situation processing, adjusts subcarrier distribution according to band occupancy principle of complementarity, reduces traditional polled and consumed
Time, and dispose protection interval to reach multi-service isolation transmission.
Obviously, the above embodiments are merely examples for clarifying the description, and does not limit the embodiments.It is right
For those of ordinary skill in the art, can also make on the basis of the above description it is other it is various forms of variation or
It changes.There is no necessity and possibility to exhaust all the enbodiments.And it is extended from this it is obvious variation or
It changes still within the protection scope of the invention.