Summary of the invention
The embodiment of the present invention provides a kind of method of allocated bandwidth, has solved the problem that allocated bandwidth lags behind in non-fiber-to-the-subscriber scene, thereby has reduced the buffer size of optical network device, has reduced circuit time delay.The embodiment of the present invention also provides corresponding equipment and system.
First aspect present invention provides a kind of method of allocated bandwidth, comprising:
Obtain soon flow and the time of advent of the data of arrival that user side sends;
According to the time of the entry-into-force time of the bandwidth of the described time of advent, pre-stored and optical line terminal distribution bandwidth, determine to the time of optical line terminal bandwidth on demand, and when arriving the time of described request bandwidth, to the needed bandwidth of data that is about to arrival of flow described in described optical line terminal request;
Obtain the bandwidth that described optical line terminal distributes;
In the described time of advent, the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.
In conjunction with first aspect, in the possible implementation of the first, the described needed bandwidth of data that is about to arrival to flow described in described optical line terminal request, comprising:
According to the described flow that is about to the data of arrival, by the some or all of invalid data frame of making an appointment with described optical line terminal that is revised as of the idle frame in the data that to be ready transmitting to described optical line terminal, wherein, the described flow that is about to the data of transmission is less than the described flow that is about to the data of arrival;
To the described data that are about to transmission that comprise invalid data frame described in described optical line terminal transmission.
In conjunction with first aspect, in the possible implementation of the second, the described needed bandwidth of data that is about to arrival to flow described in described optical line terminal request, comprising:
To described optical line terminal, send bandwidth allocation request, in described bandwidth allocation request, carry the described bandwidth demand indication information that is about to the data that arrive, so that described optical line terminal is given the bandwidth of the flow that is about to the data that arrive described in the described data allocations correspondence that is about to arrive according to described bandwidth demand indication information.
In conjunction with first aspect, the implementation that first aspect the first or the second are possible, in the third possible implementation, described in obtain the bandwidth that described optical line terminal distributes, comprising:
Receive the bandwidth distribution list that described optical line terminal sends, carry described start time point and the end time point that is about to the data of arrival of transmission in described bandwidth distribution list, wherein, described start time point is the described time of advent.
Second aspect present invention provides a kind of method of allocated bandwidth, comprising:
Obtain soon flow and the time of advent of the data of arrival that user side sends;
The needed bandwidth of data that is about to arrival to flow described in optical line terminal request, and reported to described optical line terminal the described time of advent, so that described optical line terminal is defined as according to the entry-into-force time of the time of the distribution bandwidth of the described time of advent, pre-stored and optical network device side bandwidth the time that described optical network device distributes bandwidth;
Obtain the bandwidth that described optical line terminal distributes;
In the described time of advent, the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.
In conjunction with second aspect, in the possible implementation of the first, the described needed bandwidth of data that is about to arrival to flow described in optical line terminal request, and reported to described optical line terminal the described time of advent, comprising:
According to the described flow that is about to the data of arrival, by the some or all of invalid data frame of making an appointment with described optical line terminal that is revised as of the idle frame in the data that to be ready transmitting to described optical line terminal, and will write the described time of advent in the described data that to be ready transmitting; Wherein, the described flow that is about to the data of transmission is less than the described flow that is about to the data of arrival;
The described data that are about to transmission to described optical line terminal transmission package containing invalid data frame.
In conjunction with second aspect, in the possible implementation of the second, the described needed bandwidth of data that is about to arrival to flow described in optical line terminal request, and reported to described optical line terminal the described time of advent, comprising:
To described optical line terminal, send bandwidth allocation request, in described bandwidth allocation request, carry described bandwidth demand indication information and the described time of advent that is about to the data of arrival.
In conjunction with second aspect, the implementation that second aspect the first or the second are possible, in the third possible implementation, described in obtain the bandwidth that described optical line terminal distributes, comprising:
Receive the bandwidth distribution list that described optical line terminal sends, carry described start time point and the end time point that is about to the data of arrival of transmission in described bandwidth distribution list, wherein, described start time point is the described time of advent.
Third aspect present invention provides a kind of method of allocated bandwidth, comprising:
Obtain optical network device and the bandwidth demand of the data that are about to arrive and the described data that are about to arrive are arrived to the time of advent of described optical network device;
According to the entry-into-force time of the time of the distribution bandwidth of the described time of advent, pre-stored and optical network device side bandwidth, be defined as the time of described optical network device distribution bandwidth, and when the time of described distribution bandwidth arrives, for described optical network device distributes required bandwidth;
To described optical network device, issue the described bandwidth of distribution, so that described optical network device is in the described time of advent, the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.
In conjunction with the third aspect, in the possible implementation of the first, described in obtain optical network device and the bandwidth demand of the data that be about to arrive and the described data that are about to arrive arrived to the time of advent of described optical network device, comprising:
The data of coming from the described optical network device transmission receiving, the invalid data frame that identification and described optical network device are made an appointment;
According to the quantity of described invalid data frame, determine the described bandwidth demand that is about to the data of arrival;
From described extracting data, go out the time of advent that the described data that are about to arrive arrive described optical network device.
In conjunction with the third aspect, in the possible implementation of the second, described in obtain optical network device and the bandwidth demand of the data that be about to arrive and the described data that are about to arrive arrived to the time of advent of described optical network device, comprising:
Receive the bandwidth allocation request that described optical network device sends, in described bandwidth allocation request, carry described bandwidth demand indication information and the described time of advent that is about to the data of arrival;
From described bandwidth allocation request, parse described bandwidth demand indication information and the described time of advent that is about to the data of arrival.
In conjunction with the third aspect, the implementation that third aspect the first or the second are possible, in the third possible implementation, the described described bandwidth that issues distribution to described optical network device, comprising:
To described optical network device, issue bandwidth distribution list, carry described start time point and the end time point that is about to the data of arrival of transmission in described bandwidth distribution list, wherein, described start time point is the described time of advent.
Fourth aspect present invention provides a kind of optical network device, comprising:
The first acquiring unit, soon flow and the time of advent of the data of arrival that for obtaining user side, send;
The first bandwidth request unit, for the time of advent of obtaining according to described the first acquiring unit, the entry-into-force time of bandwidth and the time of optical line terminal distribution bandwidth of pre-stored, determine to the time of optical line terminal bandwidth on demand, and when arriving the time of described request bandwidth, to the described needed bandwidth of data that is about to arrival to flow described in optical line terminal request;
Described the first acquiring unit, the bandwidth of also distributing for obtaining described optical line terminal;
The first transmission unit, in the described time of advent, the described data that are about to arrive arrive, the described data of using bandwidth for transmission that described the first acquiring unit obtains to arrive.
In conjunction with fourth aspect, in the possible implementation of the first, described the first bandwidth request unit, comprising:
The first frame is revised subelement, be used for the flow that is about to the data of arrival according to described, by the some or all of invalid data frame of making an appointment with described optical line terminal that is revised as of the idle frame in the data that to be ready transmitting to described optical line terminal, wherein, the flow of the described data of transmitting is less than the described flow that is about to the data of arrival;
The first transmission subelement, revises for transmit described the first frame to described optical line terminal the described data that are about to transmission that comprise invalid data frame that subelement is revised.
In conjunction with fourth aspect, in the possible implementation of the second, described the first bandwidth request unit, comprising:
The second transmission subelement, for sending bandwidth allocation request to described optical line terminal, in described bandwidth allocation request, carry the described bandwidth demand indication information that is about to the data that arrive, so that described optical line terminal is given the bandwidth of the flow that is about to the data that arrive described in the described data allocations correspondence that is about to arrive according to described bandwidth demand indication information.
In conjunction with fourth aspect, the implementation that fourth aspect the first or the second are possible, in the third possible implementation,
Described the first acquiring unit, the bandwidth distribution list sending for receiving described optical line terminal, carries described start time point and the end time point that is about to the data of arrival of transmission in described bandwidth distribution list, and wherein, described start time point is the described time of advent.
Fifth aspect present invention provides a kind of optical network device, comprising:
Second acquisition unit, soon flow and the time of advent of the data of arrival that for obtaining user side, send;
The second bandwidth request unit, the needed bandwidth of data that arrives of being about to for the flow that obtains to second acquisition unit described in optical line terminal request, and reported to described optical line terminal the described time of advent, so that described optical line terminal is defined as according to the entry-into-force time of the time of the distribution bandwidth of the described time of advent, pre-stored and optical network device side bandwidth the time that described optical network device distributes bandwidth;
Described second acquisition unit, the bandwidth of distributing for obtaining described optical line terminal;
The second transmission unit, in the described time of advent, the described data that are about to arrive arrive, the described data of using bandwidth for transmission that described second acquisition unit obtains to arrive.
In conjunction with Wu aspect, in the possible implementation of the first, described the second bandwidth request unit comprises:
The second frame is revised subelement, be used for the flow that is about to the data of arrival according to described, by the some or all of invalid data frame of making an appointment with described optical line terminal that is revised as of the idle frame in the data that to be ready transmitting to described optical line terminal, and will write the described time of advent in the described data that to be ready transmitting; Wherein, the described flow that is about to the data of transmission is less than the described flow that is about to the data of arrival;
The 3rd transmission subelement, revises the amended described data that are about to transmission that comprise invalid data frame of subelement for transmit described the second frame to described optical line terminal.
In conjunction with Wu aspect, in the possible implementation of the second, described the second bandwidth request unit comprises:
The 4th transmission subelement, for sending bandwidth allocation request to described optical line terminal, carries described bandwidth demand indication information and the described time of advent that is about to the data of arrival in described bandwidth allocation request.
In conjunction with Wu aspect, the implementation that Wu aspect the first or the second are possible, in the third possible implementation,
Described second acquisition unit, the bandwidth distribution list sending for receiving described optical line terminal, carries described start time point and the end time point that is about to the data of arrival of transmission in described bandwidth distribution list, and wherein, described start time point is the described time of advent.
Sixth aspect present invention provides a kind of optical line terminal, comprising:
The 3rd acquiring unit, arrives the time of advent of described optical network device for obtaining optical network device to the bandwidth demand of the data that are about to arrive and the described data that are about to arrive;
Allocated bandwidth unit, the time of distribution bandwidth and the entry-into-force time of optical network device side bandwidth for time of advent of obtaining according to described the 3rd acquiring unit, pre-stored are defined as the time that described optical network device distributes bandwidth, and when the time of described distribution bandwidth arrives, for described optical network device distributes required bandwidth;
In conjunction with Liu aspect, in the possible implementation of the first, described the 3rd acquiring unit, comprising:
First receives subelement, the data of coming for the described optical network device transmission receiving;
Recognin unit, for receiving the next data of described optical network device transmission that subelement is receiving, the invalid data frame that identification and described optical network device are made an appointment from described first;
Bandwidth is determined subelement, for determining the described bandwidth demand that is about to the data of arrival according to the quantity of the invalid data frame of described recognin unit identification;
Extract subelement, for going out from the described first extracting data that receives subelement reception the time of advent that the described data that are about to arrive arrive described optical network device.
In conjunction with Liu aspect, in the possible implementation of the second, described the 3rd acquiring unit, comprising:
Second receives subelement, and the bandwidth allocation request sending for receiving described optical network device is carried described bandwidth demand indication information and the described time of advent that is about to the data of arrival in described bandwidth allocation request;
Resolve subelement, for parse bandwidth demand indication information and the described time of advent of the described data that soon arrive from the described second bandwidth allocation request that receives subelement reception.
In conjunction with Liu aspect, the implementation that Liu aspect the first or the second are possible, in the third possible implementation,
Described transmitting element, for issuing bandwidth distribution list to described optical network device, carries described start time point and the end time point that is about to the data of arrival of transmission in described bandwidth distribution list, wherein, described start time point is the described time of advent.
Seventh aspect present invention provides a kind of optical network system, it is characterized in that, comprising: at least one user side, at least one optical network device and optical line terminal,
Described optical network device is the optical network device described in above-mentioned first set technical scheme.
Eighth aspect present invention provides a kind of optical network system, it is characterized in that, comprising: at least one user side, at least one optical network device and optical line terminal,
Described optical network device is the optical network device described in above-mentioned the second cover technical scheme;
Described optical line terminal is the optical line terminal described in above-mentioned the second cover technical scheme.
The embodiment of the present invention adopts to be obtained soon flow and the time of advent of the data of arrival that user side sends; According to the time of the entry-into-force time of the bandwidth of the described time of advent, pre-stored and optical line terminal distribution bandwidth, determine to the time of optical line terminal bandwidth on demand, and when arriving the time of described request bandwidth, to the needed bandwidth of data that is about to arrival of flow described in described optical line terminal request; Obtain the bandwidth that described optical line terminal distributes; In the described time of advent, the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.Compare with all existing in allocated bandwidth in prior art to lag behind, the method that the embodiment of the present invention provides, in the time of can arriving optical network device in the data of user side, optical line terminal comes into force to the bandwidth of the data allocations of this arrival, solved the problem of the hysteresis of allocated bandwidth in non-fiber-to-the-subscriber scene, thereby reduced the buffer size of ONU, reduced circuit time delay.
Embodiment
The embodiment of the present invention provides a kind of method of allocated bandwidth, has solved the problem that allocated bandwidth lags behind in non-fiber-to-the-subscriber scene, thereby has reduced the buffer size of optical network device, has reduced circuit time delay.The embodiment of the present invention also provides corresponding equipment and system.Below be elaborated respectively.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those skilled in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Consult Fig. 2, an embodiment of the method for the allocated bandwidth that the embodiment of the present invention provides comprises:
101, optical network device obtains soon flow and the time of advent of the data of arrival that user side sends.
Optical network device is the optical network unit (Optical Network unit, ONU) in EPON, but is not limited to ONU.
During the variations such as user side retransmits, the switching of upstream and downstream bandwidth ratio, sleep pattern switching, the changes in flow rate of the data that are about to arrival that ONU meeting sensing user end sends, can get flow and the time of advent of the data that are about to arrival, be prior art this part flow and time of advent of obtaining the data that are about to arrival, do not do too much and repeat in embodiments of the present invention.
102, optical network device is according to the time of the entry-into-force time of the bandwidth of the described time of advent, pre-stored and optical line terminal distribution bandwidth, determine to the time of optical line terminal bandwidth on demand, and when arriving the time of described request bandwidth, to the needed bandwidth of data that is about to arrival of flow described in described optical line terminal request.
The entry-into-force time of bandwidth and optical line terminal distribute the time of bandwidth to set in advance, and therefore, which time optical network device can calculate in to optical line terminal bandwidth on demand, and the bandwidth that optical line terminal is distributed just comes into force when arrive the time of advent.
For example: be to be that to distribute the time of bandwidth be △ t2 for △ t1, optical line terminal the entry-into-force time of the bandwidth of t, pre-stored the time of advent that optical network device obtains data, optical network device just can be at (t-△ t1-△ t2) constantly to optical line terminal bandwidth on demand so, like this, at (t-△ t1) moment optical network device, receive bandwidth, after △ t2 time bandwidth comes into force, just arrive the t time.
103, optical network device obtains the bandwidth that described optical line terminal distributes.
104, optical network device is in the described time of advent, and the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.
When the time arriving arrives, the data that user side sends just arrive optical network device, and at this moment, bandwidth has come into force, so allocated bandwidth can not lag behind.
The embodiment of the present invention adopts to be obtained soon flow and the time of advent of the data of arrival that user side sends; According to the time of the entry-into-force time of the bandwidth of the described time of advent, pre-stored and optical line terminal distribution bandwidth, determine to the time of optical line terminal bandwidth on demand, and when arriving the time of described request bandwidth, to the needed bandwidth of data that is about to arrival of flow described in described optical line terminal request; Obtain the bandwidth that described optical line terminal distributes; In the described time of advent, the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.Compare with all existing in allocated bandwidth in prior art to lag behind, the method that the embodiment of the present invention provides, in the time of can arriving optical network device in the data of user side, optical line terminal comes into force to the bandwidth of the data allocations of this arrival, solved the problem of the hysteresis of allocated bandwidth in non-fiber-to-the-subscriber scene, thereby reduced the buffer size of ONU, reduced circuit time delay.
Alternatively, on the basis of embodiment corresponding to above-mentioned Fig. 2, in first optional embodiment of the method for the allocated bandwidth that the embodiment of the present invention provides, the described needed bandwidth of data that is about to arrival to flow described in described optical line terminal request, can comprise:
According to the described flow that is about to the data of arrival, by the some or all of invalid data frame of making an appointment with described optical line terminal that is revised as of the idle frame in the data that to be ready transmitting to described optical line terminal, wherein, the described flow that is about to the data of transmission is less than the described flow that is about to the data of arrival;
To the described data that are about to transmission that comprise invalid data frame described in described optical line terminal transmission.
In the embodiment of the present invention, can make an appointment between ONU and the OLT form of invalid data frame, like this, when ONU perceives data traffic on the horizon when larger than the flow of the data of transmitting, by idle frame being revised as to the form of invalid data frame, inform that OLT data on the horizon need larger bandwidth, OLT just can not reduced bandwidth like this, or, according to the flow of data on the horizon, suitable adjustment bandwidth.
Alternatively, on the basis of embodiment corresponding to above-mentioned Fig. 2, in second optional embodiment of the method for the allocated bandwidth that the embodiment of the present invention provides, the described needed bandwidth of data that is about to arrival to flow described in described optical line terminal request, can comprise:
To described optical line terminal, send bandwidth allocation request, in described bandwidth allocation request, carry the described bandwidth demand indication information that is about to the data that arrive, so that described optical line terminal is given the bandwidth of the flow that is about to the data that arrive described in the described data allocations correspondence that is about to arrive according to described bandwidth demand indication information.
In the embodiment of the present invention, ONU passes through the form of status report to OLT bandwidth on demand, bandwidth demand indication information can be concrete bandwidth value, also can be the buffer memory of data on the horizon, can also be for transmitting the time span of data on the horizon, this is not limited, as long as make optical line terminal can distribute suitable bandwidth.
Alternatively, on the basis of embodiment corresponding to above-mentioned Fig. 2 and corresponding first of Fig. 2 or second optional embodiment, in the 3rd optional embodiment of the method for the allocated bandwidth that the embodiment of the present invention provides,
The described bandwidth of obtaining described optical line terminal distribution, can comprise:
Receive the bandwidth distribution list that described optical line terminal sends, carry described start time point and the end time point that is about to the data of arrival of transmission in described bandwidth distribution list, wherein, described start time point is the described time of advent.
Bandwidth distribution list can be consulted table 1 and understand:
Table 1: bandwidth distribution list
User side sign |
Transmission time |
ONU1 |
t1-t2 |
ONU2 |
t2-t3 |
ONU3 |
t3-t4 |
… |
… |
[0139]because an OLT is responsible for distributing bandwidth to a lot of ONU, for avoiding the data of transmitting between each ONU to conflict mutually, so can only transmit the data of an ONU in the time period.From table 1, can know that ONU1 can transmit in the time at t1-t2 that the user side of ONU1 side sends, in the t1 time, just arrive the data of ONU1, can in the time, transmit at t2-t3 that the user side of ONU2 side sends, in the t2 time, just arrive the data of ONU2, can in the time, transmit at t3-t4 that the user side of ONU3 side sends, in the t3 time, just arrive the data of ONU3.
For this kind of scene, once PON network is definite, in the unit interval, the flow of transmission data is fixing, so the data that optical network device only need to send according to the time period transmission respective user end on bandwidth distribution list.
In the embodiment of the present invention, for the type that can pass through the variation perception data on the horizon of flow of obtaining of the time of advent, as: re-transmission, up-downgoing ratio are switched, sleep pattern is switched etc.
For example: ONU knows the data of the every type time from user side to ONU in advance, as: optical network device is at T1 constantly, obtain the occurent transfer of data behavior of user side and retransmit, the time that ONU can calculate data retransmission arrival according to the corresponding time relationship of the re-transmission of pre-stored and arrival is so T2.As: ONU is at T1 constantly, obtaining the occurent transfer of data behavior of user side upstream and downstream bandwidth ratio switches, ONU can be according to the upstream and downstream bandwidth ratio switching of pre-stored and the corresponding relation of the time arriving so, and the time that calculates the arrival of upstream and downstream bandwidth ratio switch data is T3.As: ONU at T1 constantly, obtain the occurent transfer of data behavior of user side sleep pattern and switch, ONU can switch corresponding relation with the time arriving according to the sleep of pre-stored to calculate the time that data retransmission arrives be T4 so.Wherein T2, T3, T4 are greater than respectively T1.Certainly, in the embodiment of the present invention, only provide above several data type and give an example, in fact can also comprise other a variety of data types.
For example: in ONU, can store a data type and the mapping table of the time of advent, as table 2:
Table 2: the mapping table of data type and the time of advent
Transfer of data behavior |
Corresponding relation |
Retransmit |
T2=f(T1) |
Upstream and downstream bandwidth ratio is switched |
T3=f(T1) |
Sleep pattern is switched |
T4=f(T1) |
… |
… |
[0146]?
Other data types |
TX=f(T1) |
Can be clear and definite by table 2 find out, when ONU is known constantly at T1 after the type that sends data of user side, can, according to the corresponding relation in table, calculate the time that reaches corresponding to various actions.
Consult Fig. 3, another embodiment of the method for the allocated bandwidth that the embodiment of the present invention provides comprises:
201, optical network device obtains soon flow and the time of advent of the data of arrival that user side sends.
202, optical network device is to the needed bandwidth of data that is about to arrival of flow described in optical line terminal request, and reported to described optical line terminal the described time of advent, so that described optical line terminal is defined as according to the entry-into-force time of the time of the distribution bandwidth of the described time of advent, pre-stored and optical network device side bandwidth the time that described optical network device distributes bandwidth.
In the embodiment of the present invention, optical network device obtained after the time of advent, just to optical line terminal bandwidth on demand, and will report optical line terminal the time of advent, by optical line terminal, controlled the time that issues of bandwidth, as long as when arrive the time of advent, the device bandwidth that is handed down to optical network device comes into force.
For example: the time of advent that optical network device obtains data be t, by this time of advent t report optical line terminal, in optical line terminal, the entry-into-force time of the optical network device side bandwidth of pre-stored is that the time of △ t1, optical line terminal distribution bandwidth is △ t2, optical line terminal just can distribute bandwidth in (t-△ t1-△ t2) minute preparation constantly so, like this, at (t-△ t1), constantly to optical network device, issue bandwidth, after △ t2 time bandwidth comes into force, just arrive the t time.
203, optical network device obtains the bandwidth that described optical line terminal distributes.
204, optical network device is in the described time of advent, and the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.
In the embodiment of the present invention, obtain soon flow and the time of advent of the data of arrival that user side sends; The needed bandwidth of data that is about to arrival to flow described in optical line terminal request, and reported to described optical line terminal the described time of advent, so that described optical line terminal is defined as according to the entry-into-force time of the time of the distribution bandwidth of the described time of advent, pre-stored and optical network device side bandwidth the time that described optical network device distributes bandwidth; Obtain the bandwidth that described optical line terminal distributes; In the described time of advent, the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.Compare with all existing in allocated bandwidth in prior art to lag behind, the method that the embodiment of the present invention provides, in the time of can arriving optical network device in the data of user side, optical line terminal comes into force to the bandwidth of the data allocations of this arrival, solved the problem of the hysteresis of allocated bandwidth in non-fiber-to-the-subscriber scene, thereby reduced the buffer size of ONU, reduced circuit time delay.
Alternatively, in embodiment corresponding to above-mentioned Fig. 3, in first optional embodiment of the bandwidth allocation methods that the embodiment of the present invention provides, the described needed bandwidth of data that is about to arrival to flow described in optical line terminal request, and will report described optical line terminal the described time of advent, can comprise:
According to the described flow that is about to the data of arrival, by the some or all of invalid data frame of making an appointment with described optical line terminal that is revised as of the idle frame in the data that to be ready transmitting to described optical line terminal, and will write the described time of advent in the described data that to be ready transmitting; Wherein, the described flow that is about to the data of transmission is less than the described flow that is about to the data of arrival;
The described data that are about to transmission to described optical line terminal transmission package containing invalid data frame.In the embodiment of the present invention, in the embodiment of the present invention, made an appointment between ONU and the OLT form of invalid data frame, like this, when ONU perceives data traffic on the horizon when larger than the flow of the data of transmitting, by idle frame being revised as to the form of invalid data frame, inform that OLT data on the horizon need larger bandwidth, OLT just can reduced bandwidth like this, or, according to the flow of data on the horizon, suitable adjustment bandwidth.
And, will write the time of advent in the data of transmitting, so that OLT can calculate the time that issues bandwidth accurately.
Alternatively, in embodiment corresponding to above-mentioned Fig. 3, in second optional embodiment of the bandwidth allocation methods that the embodiment of the present invention provides, the described needed bandwidth of data that is about to arrival to flow described in optical line terminal request, and will report described optical line terminal the described time of advent, can comprise:
To described optical line terminal, send bandwidth allocation request, in described bandwidth allocation request, carry described bandwidth demand indication information and the described time of advent that is about to the data of arrival.
In the embodiment of the present invention, ONU passes through the form of status report to OLT bandwidth on demand, bandwidth demand indication information can be concrete bandwidth value, also can be the buffer memory of data on the horizon, can also be for transmitting the time span of data on the horizon, this is not limited, as long as make optical line terminal can distribute suitable bandwidth.And carry the time of advent in bandwidth allocation request, so that OLT can calculate the time that issues bandwidth accurately.
Alternatively, on the basis of embodiment corresponding to above-mentioned Fig. 3 and corresponding first of Fig. 3 or second optional embodiment, in the 3rd optional embodiment of the method for the allocated bandwidth that the embodiment of the present invention provides,
The described bandwidth of obtaining described optical line terminal distribution, can comprise:
Receive the bandwidth distribution list that described optical line terminal sends, carry described start time point and the end time point that is about to the data of arrival of transmission in described bandwidth distribution list, wherein, described start time point is the described time of advent.
Bandwidth distribution list can be consulted table 1 and understands, and does not do too much and repeats here.
Consult Fig. 4, another embodiment of the method for the allocated bandwidth that the embodiment of the present invention provides comprises:
211, optical line terminal obtains optical network device and the bandwidth demand of the data that are about to arrive and the described data that are about to arrive is arrived to the time of advent of described optical network device.
212, optical line terminal is defined as according to the entry-into-force time of the time of the distribution bandwidth of the described time of advent, pre-stored and optical network device side bandwidth the time that described optical network device distributes bandwidth, and when the time of described distribution bandwidth arrives, for described optical network device distributes required bandwidth.
For example: the time of advent that optical network device obtains data be t, by this time of advent t report optical line terminal, in optical line terminal, the entry-into-force time of the optical network device side bandwidth of pre-stored is that the time of △ t1, optical line terminal distribution bandwidth is △ t2, optical line terminal just can distribute bandwidth in (t-△ t1-△ t2) minute preparation constantly so, like this, at (t-△ t1), constantly to optical network device, issue bandwidth, after △ t2 time bandwidth comes into force, just arrive the t time.
213, optical line terminal issues the described bandwidth of distribution to described optical network device, so that described optical network device is in the described time of advent, the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.
In the embodiment of the present invention, obtain optical network device and the bandwidth demand of the data that are about to arrive and the described data that are about to arrive are arrived to the time of advent of described optical network device; According to the entry-into-force time of the time of the distribution bandwidth of the described time of advent, pre-stored and optical network device side bandwidth, be defined as the time of described optical network device distribution bandwidth, and when the time of described distribution bandwidth arrives, for described optical network device distributes required bandwidth; To described optical network device, issue the described bandwidth of distribution, so that described optical network device is in the described time of advent, the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.Compare with all existing in allocated bandwidth in prior art to lag behind, the method that the embodiment of the present invention provides, in the time of can arriving optical network device in the data of user side, optical line terminal comes into force to the bandwidth of the data allocations of this arrival, solved the problem of the hysteresis of allocated bandwidth in non-fiber-to-the-subscriber scene, thereby reduced the buffer size of ONU, reduced circuit time delay.
Alternatively, on the basis of embodiment corresponding to above-mentioned Fig. 4, in first optional embodiment of the method for the allocated bandwidth that the embodiment of the present invention provides, the described optical network device that obtains arrives the time of advent of described optical network device to the bandwidth demand of the data that are about to arrive and the described data that are about to arrive, can comprise:
The data of coming from the described optical network device transmission receiving, the invalid data frame that identification and described optical network device are made an appointment;
According to the quantity of described invalid data frame, determine the described bandwidth demand that is about to the data of arrival;
From described extracting data, go out the time of advent that the described data that are about to arrive arrive described optical network device.
Invalid data frame only, as to being about to arrive the bandwidth demand of the data of optical network device, does not have practical significance, and optical line terminal can directly abandon.
In the embodiment of the present invention, when optical network device is while asking in the mode of idle frame monitoring to optical line terminal bandwidth on demand, OLT is from extracting data time of advent.Specifically from which position, extract, can be predetermined or by standard or stipulative definition in advance with ONU, or ONU writing fashionablely, brings a sign into, and OLT is from there being the position of sign to extract.
Alternatively, on the basis of embodiment corresponding to above-mentioned Fig. 4, in second optional embodiment of the method for the allocated bandwidth that the embodiment of the present invention provides, the described optical network device that obtains arrives the time of advent of described optical network device to the bandwidth demand of the data that are about to arrive and the described data that are about to arrive, can comprise:
Receive the bandwidth allocation request that described optical network device sends, in described bandwidth allocation request, carry described bandwidth demand indication information and the described time of advent that is about to the data of arrival;
From described bandwidth allocation request, parse described bandwidth demand indication information and the described time of advent that is about to the data of arrival.
In the embodiment of the present invention, OLT can directly parse the time of advent from bandwidth allocation request.
Alternatively, on the basis of corresponding first of embodiment corresponding to above-mentioned Fig. 4, Fig. 4 or second optional embodiment, in the 3rd optional embodiment of the method for the allocated bandwidth that the embodiment of the present invention provides, the described described bandwidth that issues distribution to described optical network device, can comprise:
Receive described optical network device and send bandwidth distribution list, carry described start time point and the end time point that is about to the data of arrival of transmission in described bandwidth distribution list, wherein, described start time point is the described time of advent.
Bandwidth distribution list can be consulted table 1 and understand.
For the ease of understanding, the application scenarios of take is below example, and the process of allocated bandwidth in the embodiment of the present invention is described:
Consult Fig. 5, in application scenarios embodiment of the present invention, comprise user side, optical network device and optical line terminal;
S100, optical network device obtain soon flow and the time of advent of the data of arrival that user side sends.
S105, optical network device, according to the time of the entry-into-force time of the bandwidth of the described time of advent, pre-stored and optical line terminal distribution bandwidth, calculate to the time of the needed bandwidth of data that is about to arrival of flow described in optical line terminal request.
The entry-into-force time of bandwidth and optical line terminal distribute the time of bandwidth to set in advance, and therefore, which time optical network device can calculate in to optical line terminal bandwidth on demand, and the bandwidth that optical line terminal is distributed just comes into force when arrive the time of advent.
For example: the time of advent that optical network device obtains data be the entry-into-force time of the bandwidth of t, pre-stored be △ t1, optical line terminal to distribute the time of bandwidth be △ t2, the time of the bandwidth on demand that optical network device calculates is so (t-△ t1-△ t2).
S110, optical network device are to optical line terminal bandwidth on demand.
S115, optical line terminal generate bandwidth distribution list.
Bandwidth distribution list can be consulted table 1 and understands, and as the data retransmission of this user side of indication transmission in bandwidth distribution list can transmit constantly at t-t1, t1 is greater than t.
S120, optical line terminal issue bandwidth distribution list.
Optical line terminal issues bandwidth distribution list constantly at t-△ t1.
S125, bandwidth distribution list come into force.
Through the △ t1 time, when t arrives constantly, bandwidth distribution list comes into force.
S130, optical network device are in the described time of advent, and the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.
At t constantly, the data that user side sends arrive optical network device, and bandwidth distribution list comes into force, so optical network device can transmit the data of arrival, do not need to carry out buffer memory, if data arrive on a small quantity in advance, and can a buffer memory part, to t, constantly transmit.
Consult Fig. 6, in Another Application scene embodiment of the present invention, comprise user side, optical network device and optical line terminal;
S200, optical network device obtain soon flow and the time of advent of the data of arrival that user side sends.
S205, optical network device be to the needed bandwidth of data that arrives of being about to of flow described in optical line terminal request, and will report described optical line terminal the described time of advent.
S210, optical line terminal calculated the time that generates bandwidth distribution list according to the entry-into-force time of the time of the distribution bandwidth of the described time of advent, pre-stored and optical network device side bandwidth.
For example: the time of advent that optical network device obtains data be the entry-into-force time of the bandwidth of t, pre-stored be △ t1, optical line terminal to distribute the time of bandwidth be △ t2, the time of the generation bandwidth distribution list that optical line terminal calculates is so (t-△ t1-△ t2).
S215, optical line terminal generate bandwidth distribution list.
Bandwidth distribution list can be consulted table 1 and understands, and as the data retransmission of this user side of indication transmission in bandwidth distribution list can transmit constantly at t-t1, t1 is greater than t.
S220, optical line terminal issue bandwidth distribution list.
Optical line terminal issues bandwidth distribution list constantly at t-△ t1.
S225, bandwidth distribution list come into force.
Through the △ t1 time, when t arrives constantly, bandwidth distribution list comes into force.
S230, optical network device are in the described time of advent, and the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.
At t constantly, the data that user side sends arrive optical network device, and bandwidth distribution list comes into force, so optical network device can transmit the data of arrival, do not need to carry out buffer memory, if data arrive on a small quantity in advance, and can a buffer memory part, to t, constantly transmit.
Consult Fig. 7, an embodiment of the optical network device that the embodiment of the present invention provides comprises:
The first acquiring unit 301, soon flow and the time of advent of the data of arrival that for obtaining user side, send;
The first bandwidth request unit 302, for the time of advent of obtaining according to described the first acquiring unit 301, the entry-into-force time of bandwidth and the time of optical line terminal distribution bandwidth of pre-stored, determine to the time of optical line terminal bandwidth on demand, and when arriving the time of described request bandwidth, to the needed bandwidth of data that is about to arrival of flow described in described optical line terminal request;
Described the first acquiring unit 301, the bandwidth of also distributing for obtaining described optical line terminal;
The first transmission unit 303, in the described time of advent, the described data that are about to arrive arrive, the described data of using bandwidth for transmission that described the first acquiring unit obtains to arrive.
In the embodiment of the present invention, the first acquiring unit 301 obtains soon flow and the time of advent of the data of arrival that user side sends; The entry-into-force time of the time of advent that the first bandwidth request unit 302 obtains according to described the first acquiring unit 301, the bandwidth of pre-stored and optical line terminal distribute the time of bandwidth, determine to the time of optical line terminal bandwidth on demand, and when arriving the time of described request bandwidth, to the needed bandwidth of data that is about to arrival of flow described in described optical line terminal request; Described the first acquiring unit 301 also obtains the bandwidth that described optical line terminal distributes; The first transmission unit 303 is in the described time of advent, and the described data that are about to arrive arrive, the described data of using bandwidth for transmission that described the first acquiring unit obtains to arrive.Compared with prior art, the data that the optical network device that the embodiment of the present invention provides can send user side the time of advent prior notice to optical line terminal, make optical line terminal in advance for the data that this user side sends are prepared bandwidth, thereby solved the problem that allocated bandwidth lags behind, can also reduce the buffer memory pressure of optical network device.
On the basis of embodiment corresponding to above-mentioned Fig. 7, consult Fig. 8, in another embodiment of the optical network device that the embodiment of the present invention provides, described the first bandwidth request unit 302, comprising:
The first frame is revised subelement 3021, be used for the flow that is about to the data of arrival according to described, by the some or all of invalid data frame of making an appointment with described optical line terminal that is revised as of the idle frame in the data that to be ready transmitting to described optical line terminal, wherein, the flow of the described data of transmitting is less than the described flow that is about to the data of arrival;
The first transmission subelement 3022, revises for transmit described the first frame to described optical line terminal the described data that are about to transmission that comprise invalid data frame that subelement 3021 is revised.
On the basis of embodiment corresponding to above-mentioned Fig. 7, consult Fig. 9, in another embodiment of the optical network device that the embodiment of the present invention provides, described the first bandwidth request unit 302, comprising:
The second transmission subelement 3023, for sending bandwidth allocation request to described optical line terminal, in described bandwidth allocation request, carry the described bandwidth demand indication information that is about to the data that arrive, so that described optical line terminal is given the bandwidth of the flow that is about to the data that arrive described in the described data allocations correspondence that is about to arrive according to described bandwidth demand indication information.
On the basis of above-mentioned Fig. 7, Fig. 8, arbitrary embodiment that Fig. 9 is corresponding, in another embodiment of the optical network device that the embodiment of the present invention provides,
Described the first acquiring unit 301, the bandwidth distribution list sending for receiving described optical line terminal, in described bandwidth distribution list, carry described start time point and the end time point that is about to the data of arrival of transmission, wherein, described start time point is the described time of advent.
Consult Figure 10, another embodiment of the optical network device that the embodiment of the present invention provides comprises:
Second acquisition unit 311, soon flow and the time of advent of the data of arrival that for obtaining user side, send;
The second bandwidth request unit 312, the needed bandwidth of data that arrives of being about to for the flow that obtains to second acquisition unit 311 described in optical line terminal request, and reported to described optical line terminal the described time of advent, so that described optical line terminal is defined as according to the entry-into-force time of the time of the distribution bandwidth of the described time of advent, pre-stored and optical network device side bandwidth the time that described optical network device distributes bandwidth;
Described second acquisition unit 311, the bandwidth of distributing for obtaining described optical line terminal;
The second transmission unit 313, in the described time of advent, the described data that are about to arrive arrive, the described data of using bandwidth for transmission that described second acquisition unit 311 obtains to arrive.
In the embodiment of the present invention, second acquisition unit 311 obtains soon flow and the time of advent of the data of arrival that user side sends; The needed bandwidth of data that is about to arrival of the flow that the second bandwidth request unit 312 obtains to second acquisition unit 311 described in optical line terminal request, and reported to described optical line terminal the described time of advent, so that described optical line terminal is defined as according to the entry-into-force time of the time of the distribution bandwidth of the described time of advent, pre-stored and optical network device side bandwidth the time that described optical network device distributes bandwidth; Described second acquisition unit 311 obtains the bandwidth that described optical line terminal distributes; The second transmission unit 313 is in the described time of advent, and the described data that are about to arrive arrive, the described data of using bandwidth for transmission that described second acquisition unit 311 obtains to arrive.Compared with prior art, the data that the optical network device that the embodiment of the present invention provides can send user side the time of advent prior notice to optical line terminal, make optical line terminal in advance for the data that this user side sends are prepared bandwidth, thereby solved the problem that allocated bandwidth lags behind, can also reduce the buffer memory pressure of optical network device.
On the basis of embodiment corresponding to above-mentioned Figure 10, consult Figure 11, in another embodiment of the optical network device that the embodiment of the present invention provides, described the second bandwidth request unit 312 comprises:
The second frame is revised subelement 3121, be used for the flow that is about to the data of arrival according to described, by the some or all of invalid data frame of making an appointment with described optical line terminal that is revised as of the idle frame in the data that to be ready transmitting to described optical line terminal, and will write the described time of advent in the described data that to be ready transmitting; Wherein, the described flow that is about to the data of transmission is less than the described flow that is about to the data of arrival;
The 3rd transmission subelement 3122, revises the amended described data that are about to transmission that comprise invalid data frame of subelement 3121 for transmit described the second frame to described optical line terminal.
On the basis of embodiment corresponding to above-mentioned Figure 10, consult Figure 12, in another embodiment of the optical network device that the embodiment of the present invention provides, described the second bandwidth request unit 312 comprises:
The 4th transmission subelement 3123, for sending bandwidth allocation request to described optical line terminal, carries described bandwidth demand indication information and the described time of advent that is about to the data of arrival in described bandwidth allocation request.
On the basis of the embodiment of above-mentioned Figure 10,11,12 arbitrary correspondences, in another embodiment of the optical network device that the embodiment of the present invention provides,
Described second acquisition unit 313, the bandwidth distribution list sending for receiving described optical line terminal, in described bandwidth distribution list, carry described start time point and the end time point that is about to the data of arrival of transmission, wherein, described start time point is the described time of advent.
Consult Figure 13, an embodiment of the optical line terminal that the embodiment of the present invention provides comprises:
The 3rd acquiring unit 401, arrives the time of advent of described optical network device for obtaining optical network device to the bandwidth demand of the data that are about to arrive and the described data that are about to arrive;
Allocated bandwidth unit 402, for time of distribution bandwidth of time of advent of obtaining according to described the 3rd acquiring unit 401, pre-stored and the entry-into-force time of optical network device side bandwidth be the described required bandwidth of data allocations that arrives of being about to;
Transmitting element 403, the bandwidth of distributing for issue the described allocated bandwidth unit 402 of distribution to described optical network device, so that described optical network device is in the described time of advent, the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.
In the embodiment of the present invention, the 3rd acquiring unit 401 obtains optical network device and the bandwidth demand of the data that are about to arrive and the described data that are about to arrive is arrived to the time of advent of described optical network device; The time of the time of advent that allocated bandwidth unit 402 obtains according to described the 3rd acquiring unit 401, the distribution bandwidth of pre-stored and the entry-into-force time of optical network device side bandwidth are the described required bandwidth of data allocations that is about to arrival; Transmitting element 403 issues to described optical network device the bandwidth that the described allocated bandwidth unit 402 of distribution distributes, so that described optical network device is in the described time of advent, the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.Compared with prior art, when the optical line terminal that the embodiment of the present invention provides can arrive optical network device in the data of user side, OLT is ready to bandwidth in advance, has avoided allocated bandwidth hysteresis and data at optical network device buffer memory.
On the basis of embodiment corresponding to Figure 13, consult Figure 14, in another embodiment of the optical line terminal that the embodiment of the present invention provides, described the 3rd acquiring unit 401, comprising:
First receives subelement 4011, the data of coming for the described optical network device transmission receiving;
Recognin unit 4012, for receiving the next data of described optical network device transmission that subelement 4011 is receiving, the invalid data frame that identification and described optical network device are made an appointment from described first;
Bandwidth is determined subelement 4013, for determining the described bandwidth demand that is about to the data of arrival according to the quantity of the invalid data frame of described recognin unit 4012 identifications;
Extract subelement 4014, for going out from the described first extracting data that receives subelement 4011 receptions the time of advent that the described data that are about to arrive arrive described optical network device.
On the basis of embodiment corresponding to Figure 13, consult Figure 15, in another embodiment of the optical line terminal that the embodiment of the present invention provides, described the 3rd acquiring unit 401, comprising:
Second receives subelement 4015, and the bandwidth allocation request sending for receiving described optical network device is carried described bandwidth demand indication information and the described time of advent that is about to the data of arrival in described bandwidth allocation request;
Resolve subelement 4016, for parse bandwidth demand indication information and the described time of advent of the described data that soon arrive from the described second bandwidth allocation request that receives subelement 4015 receptions.
On the basis of the embodiment of above-mentioned Figure 13,14 or 15 correspondences, in another embodiment of the optical line terminal that the embodiment of the present invention provides,
Described transmitting element 403, for issuing bandwidth distribution list to described optical network device, carries described start time point and the end time point that is about to the data of arrival of transmission in described bandwidth distribution list, wherein, described start time point is the described time of advent.
The embodiment of the present invention also provides a kind of computer-readable recording medium, in this medium, has program stored therein, and this program comprises the some or all of step of above-mentioned optical network device side first set bandwidth allocation methods while carrying out.
The embodiment of the present invention also provides a kind of computer-readable recording medium, in this medium, has program stored therein, and this program comprises the some or all of step of above-mentioned optical network device side the second cover bandwidth allocation methods while carrying out.
The embodiment of the present invention also provides a kind of computer-readable recording medium, in this medium, has program stored therein, and this program comprises the some or all of step of above-mentioned optical line terminal side bandwidth allocation methods while carrying out.
Consult Figure 16, another embodiment of the optical network device that the embodiment of the present invention provides comprises: the first receiver 310, the first transmitter 320, first memory 330 and first processor 340; The first receiver 310, the first transmitter 320, first memory 330 are connected by bus or other modes with first processor 340, store the program of first processor 340 execution steps in first memory 330;
Wherein, described the first receiver 310, soon flow and the time of advent of the data of arrival that for obtaining user side, send;
Described first processor 340, be used for according to the time of the entry-into-force time of the bandwidth of the described time of advent, pre-stored and optical line terminal distribution bandwidth, determine to the time of optical line terminal bandwidth on demand, and when arriving the time of described request bandwidth, to the needed bandwidth of data that is about to arrival of flow described in described optical line terminal request;
Described the first receiver 310, the bandwidth of also distributing for obtaining described optical line terminal;
Described the first receiver 310, also in the described time of advent, the described data that are about to arrive arrive, and use described bandwidth to receive the described data that arrive;
Described the first transmitter 320, in the described time of advent, the described data that are about to arrive arrive, and use described bandwidth to forward the described data that arrive.
In some embodiments of the invention, described first processor 340, be used for the flow that is about to the data of arrival according to described, by the some or all of invalid data frame of making an appointment with described optical line terminal that is revised as of the idle frame in the data that to be ready transmitting to described optical line terminal, wherein, the described flow that is about to the data of transmission is less than the described flow that is about to the data of arrival;
Described the first transmitter 320, for the described data that are about to transmission to comprising invalid data frame described in described optical line terminal transmission.
In some embodiments of the invention, described the first transmitter 320, for sending bandwidth allocation request to described optical line terminal, in described bandwidth allocation request, carry the described bandwidth demand indication information that is about to the data that arrive, so that described optical line terminal is given the bandwidth of the flow that is about to the data that arrive described in the described data allocations correspondence that is about to arrive according to described bandwidth demand indication information.
In some embodiments of the invention, described the first receiver 310, the bandwidth distribution list sending for receiving described optical line terminal, carries described start time point and the end time point that is about to the data of arrival of transmission in described bandwidth distribution list, wherein, described start time point is the described time of advent.
Consult Figure 17, another embodiment of optical network device provided by the invention comprises: the second receiver 350, the second transmitter 360, second memory 370 and the second processor 380; The second receiver 350, the second transmitter 360, second memory 370 are connected by bus or other modes with the second processor 380, the program while storing the second processor 380 execution step in second memory 370.
Wherein, described the second receiver 350, soon flow and the time of advent of the data of arrival that for obtaining user side, send;
The second processor 380, for the needed bandwidth of data that is about to arrival to flow described in optical line terminal request, and reported to described optical line terminal the described time of advent, so that described optical line terminal is defined as according to the entry-into-force time of the time of the distribution bandwidth of the described time of advent, pre-stored and optical network device side bandwidth the time that described optical network device distributes bandwidth;
The second receiver 350, the bandwidth of also distributing for obtaining described optical line terminal;
The second receiver 350, also in the described time of advent, the described data that are about to arrive arrive, and use described bandwidth to receive the described data that arrive;
Described the second transmitter 360, in the described time of advent, the described data that are about to arrive arrive, and use described bandwidth to forward the described data that arrive.
In some embodiments of the invention, described the second processor 380, be used for the flow that is about to the data of arrival according to described, by the some or all of invalid data frame of making an appointment with described optical line terminal that is revised as of the idle frame in the data that to be ready transmitting to described optical line terminal, and will write the described time of advent in the described data that to be ready transmitting; Wherein, the described flow that is about to the data of transmission is less than the described flow that is about to the data of arrival;
Described the second transmitter 360, also for the described data that are about to transmission containing invalid data frame to described optical line terminal transmission package.
In some embodiments of the invention, described the second transmitter 360, also for sending bandwidth allocation request to described optical line terminal, carries described bandwidth demand indication information and the described time of advent that is about to the data of arrival in described bandwidth allocation request.
In some embodiments of the invention, described the first receiver 350, the bandwidth distribution list sending for receiving described optical line terminal, carries described start time point and the end time point that is about to the data of arrival of transmission in described bandwidth distribution list, wherein, described start time point is the described time of advent.
Consult Figure 18, another embodiment of optical network device provided by the invention comprises: the 3rd receiver 410, the 3rd transmitter 420, the 3rd memory 430 and the 3rd processor 440; The 3rd receiver 410, the 3rd transmitter 420, the 3rd memory 430 are connected by bus or other modes with the 3rd processor 440, the program while storing the 3rd processor 440 execution step in the 3rd memory 430.
Wherein, described the 3rd receiver 410, arrives the time of advent of described optical network device for obtaining optical network device to the bandwidth demand of the data that are about to arrive and the described data that are about to arrive;
Described the 3rd processor 440, for be defined as the time that described optical network device distributes bandwidth according to the entry-into-force time of the time of the distribution bandwidth of the described time of advent, pre-stored and optical network device side bandwidth, and when the time of described distribution bandwidth arrives, for described optical network device distributes required bandwidth;
Described the 3rd transmitter 420, for issue the described bandwidth of distribution to described optical network device, so that described optical network device is in the described time of advent, the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.
In some embodiments of the invention, described the 3rd receiver 410, the data of coming for receiving described optical network device transmission;
Described the 3rd processor 440, the data of coming for the described optical network device transmission from receiving, the invalid data frame that identification and described optical network device are made an appointment; According to the quantity of described invalid data frame, determine the described bandwidth demand that is about to the data of arrival; From described extracting data, go out the time of advent that the described data that are about to arrive arrive described optical network device.
In some embodiments of the invention, described the 3rd receiver 410, the bandwidth allocation request sending for receiving described optical network device, carries described bandwidth demand indication information and the described time of advent that is about to the data of arrival in described bandwidth allocation request;
Described the 3rd processor 440, for parsing described bandwidth demand indication information and the described time of advent that is about to the data of arrival from described bandwidth allocation request.
In some embodiments of the invention, described the 3rd transmitter 420, for issuing bandwidth distribution list to described optical network device, carries described start time point and the end time point that is about to the data of arrival of transmission in described bandwidth distribution list, wherein, described start time point is the described time of advent.
Consult Figure 19 A, one embodiment of the optical network system that the embodiment of the present invention provides comprises: at least one user side 50, at least one optical network device 30 and optical line terminal 40, although only drawn two optical network devices 30 in figure, but should not be construed as, only have two optical network devices 30, in fact can have a lot of optical network devices 30.
Optical network device 30, soon flow and the time of advent of the data of arrival that for obtaining user side, send; According to the time of the entry-into-force time of the bandwidth of the described time of advent, pre-stored and optical line terminal distribution bandwidth, determine to the time of optical line terminal bandwidth on demand, and when arriving the time of described request bandwidth, to the needed bandwidth of data that is about to arrival of flow described in described optical line terminal request; Obtain the bandwidth that described optical line terminal distributes; In the described time of advent, the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.
Consult Figure 19 B, one embodiment of the optical network system that the embodiment of the present invention provides comprises: at least one user side 50, at least one optical network device 30 and optical line terminal 40, although only drawn two optical network devices 30 in figure, but should not be construed as, only have two optical network devices 30, in fact can have a lot of optical network devices 30.
Optical network device 30, soon flow and the time of advent of the data of arrival that for obtaining user side, send; The needed bandwidth of data that is about to arrival to flow described in optical line terminal request, and reported to described optical line terminal the described time of advent, so that described optical line terminal is defined as according to the entry-into-force time of the time of the distribution bandwidth of the described time of advent, pre-stored and optical network device side bandwidth the time that described optical network device distributes bandwidth; Obtain the bandwidth that described optical line terminal distributes; In the described time of advent, the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.
Optical line terminal 40, arrives the time of advent of described optical network device for obtaining optical network device to the bandwidth demand of the data that are about to arrive and the described data that are about to arrive; According to the entry-into-force time of the time of the distribution bandwidth of the described time of advent, pre-stored and optical network device side bandwidth, be defined as the time of described optical network device distribution bandwidth, and when the time of described distribution bandwidth arrives, for described optical network device distributes required bandwidth; To described optical network device, issue the described bandwidth of distribution, so that described optical network device is in the described time of advent, the described data that are about to arrive arrive, the described data of using described bandwidth for transmission to arrive.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is to come the hardware that instruction is relevant to complete by program, this program can be stored in a computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
The method method of the allocated bandwidth above embodiment of the present invention being provided, equipment and and system be described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.