WO2014169483A1 - 一种带宽分配的方法、设备及系统 - Google Patents

一种带宽分配的方法、设备及系统 Download PDF

Info

Publication number
WO2014169483A1
WO2014169483A1 PCT/CN2013/074461 CN2013074461W WO2014169483A1 WO 2014169483 A1 WO2014169483 A1 WO 2014169483A1 CN 2013074461 W CN2013074461 W CN 2013074461W WO 2014169483 A1 WO2014169483 A1 WO 2014169483A1
Authority
WO
WIPO (PCT)
Prior art keywords
bandwidth
data
line terminal
network device
optical line
Prior art date
Application number
PCT/CN2013/074461
Other languages
English (en)
French (fr)
Inventor
隋猛
何孝月
石操
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201380000222.7A priority Critical patent/CN103518355B/zh
Priority to PCT/CN2013/074461 priority patent/WO2014169483A1/zh
Publication of WO2014169483A1 publication Critical patent/WO2014169483A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, device, and system for bandwidth allocation.
  • the assive optical network (PON) technology is a point-to-multipoint fiber access technology. Referring to Figure 1, it consists of the optical line terminal (OLT) on the central side and the optical network on the user side.
  • OLT optical line terminal
  • ONU Optical Network Unit
  • Optical Network Terminal Optical
  • FTTH Fiber To The Home
  • non-FTTH non-FTTH
  • the FTTH distribution point is between the users and the fiber, not the FTTH DP to the non-fiber between the users, such as: twisted pair, coaxial cable, power line, etc.
  • the DP of the FTTH is a passive fiber connection point, and the DP of the non-FTTH is an ONU or ONT.
  • DBA Dynamic Bandwidth Assignment
  • the other is: The method of buffering the status report, the ONU or the ONT reports the bandwidth requirement of the buffered data to the OLT through the minislot, and the OLT allocates the bandwidth to the ONU or the ONT according to the demand.
  • the inventors of the present invention found that, regardless of the method of idle cell monitoring or the method of buffering status reporting, the OLT allocates bandwidth to the lag. In non-FTTH scenarios, the ONU is always used to cache data, which increases the ONU's cache pressure. Summary of the invention
  • the embodiment of the invention provides a bandwidth allocation method, which solves the problem of bandwidth allocation lag in a non-fiber-to-user scenario, thereby reducing the buffer requirement of the optical network device and reducing the line delay.
  • Embodiments of the present invention also provide corresponding devices and systems.
  • a first aspect of the present invention provides a method for bandwidth allocation, including:
  • the upcoming data arrives, and the arrived data is transmitted using the bandwidth.
  • the requesting, by the optical line terminal, the bandwidth required for the upcoming data of the traffic includes:
  • the requesting, by the optical line terminal, the bandwidth required for the upcoming data of the traffic includes:
  • the bandwidth allocation request carries bandwidth requirement indication information of the data to be arrived, so that the optical line terminal sends the bandwidth requirement indication information to the upcoming
  • the data is allocated a bandwidth corresponding to the traffic of the upcoming data.
  • the acquiring the bandwidth allocated by the optical line terminal includes:
  • the bandwidth allocation table carries a start time point and an end time point of transmitting the data to be arrived, wherein the start time point is the Time.
  • a second aspect of the present invention provides a method for bandwidth allocation, including:
  • the optical line terminal Requesting, by the optical line terminal, the bandwidth required for the upcoming data of the traffic, and reporting the arrival time to the optical line terminal, so that the optical line terminal according to the arrival time, the pre-stored allocated bandwidth Time and the effective time of the optical network device side bandwidth are determined as the time for the optical network device to allocate bandwidth;
  • the upcoming data arrives, and the arrived data is transmitted using the bandwidth.
  • the requesting, by the optical line terminal, the bandwidth required for the upcoming data of the traffic, and reporting the time of arrival to the optical line terminal including:
  • the data to be transmitted containing the invalid data frame is transmitted to the optical line terminal.
  • the requesting, by the optical line terminal, the bandwidth required for the data of the upcoming data of the traffic, and reporting the time of arrival to the optical line terminal including:
  • the acquiring the bandwidth allocated by the optical line terminal includes:
  • a third aspect of the present invention provides a method for bandwidth allocation, including:
  • the optical network device After Determining a time for allocating bandwidth for the optical network device according to the time of arrival, the time of the pre-stored allocated bandwidth, and the effective time of the bandwidth of the optical network device side, and when the time for allocating the bandwidth comes, the optical network device Allocate the required bandwidth;
  • the acquiring, by the optical network device, a bandwidth requirement of the data to be arrived at, and an arrival time of the data to be arrived at the optical network device includes:
  • the acquiring, by the optical network device, the bandwidth requirement of the data to be arrived at, and the arrival time of the data to be arrived at the optical network device includes:
  • the bandwidth requirement indication information of the upcoming data and the arrival time are parsed from the bandwidth allocation request.
  • the sending the allocated bandwidth to the optical network device includes:
  • a fourth aspect of the present invention provides an optical network device, including:
  • a first acquiring unit configured to acquire traffic and arrival time of the data to be sent sent by the UE
  • a first bandwidth requesting unit configured to determine, according to an arrival time acquired by the first acquiring unit, an effective time of a pre-stored bandwidth, and a time allocated by the optical line terminal, a time for requesting bandwidth to the optical line terminal, and after reaching the When the time of the bandwidth is requested, the bandwidth required for the upcoming data of the traffic to the optical line terminal is requested;
  • the first acquiring unit is further configured to acquire a bandwidth allocated by the optical line terminal;
  • a first transmission unit configured to: at the arrival time, the upcoming data arrives, and use the bandwidth acquired by the first acquiring unit to transmit the data that arrives.
  • the first bandwidth requesting unit includes:
  • a first frame modification subunit configured to modify part or all of the idle frames in the data to be transmitted to the optical line terminal according to the traffic of the upcoming data to be pre-agreed with the optical line terminal An invalid data frame, where the traffic of the data being transmitted is smaller than the traffic of the data to be arrived;
  • a first transmission subunit configured to transmit, to the optical line terminal, the data to be transmitted that includes the invalid data frame modified by the first frame modification subunit.
  • the first bandwidth requesting unit includes:
  • a second transmission subunit configured to send a bandwidth allocation request to the optical line terminal, where the bandwidth allocation request carries bandwidth requirement indication information of the data to be arrived, so that the optical line terminal according to the bandwidth requirement
  • the indication information assigns the upcoming data to a bandwidth corresponding to the traffic of the upcoming data.
  • the first acquiring unit is configured to receive a bandwidth allocation table that is sent by the optical line terminal, where the bandwidth allocation table carries a start time point and an end time point of transmitting the data that is about to arrive, where The starting time point is the arrival time.
  • a fifth aspect of the present invention provides an optical network device, including:
  • a second obtaining unit configured to acquire traffic and arrival time of the upcoming data sent by the UE
  • a second bandwidth requesting unit configured to request, by the optical line terminal, a bandwidth required for the upcoming data of the traffic acquired by the second acquiring unit, and report the arrival time to the optical line terminal, so that the Determining, by the optical line terminal, a time for allocating bandwidth to the optical network device according to the time of arrival, the time of the pre-stored allocated bandwidth, and the effective time of the bandwidth of the optical network device side;
  • the second obtaining unit is configured to acquire a bandwidth allocated by the optical line terminal
  • a second transmission unit configured to: at the arrival time, the upcoming data arrives, and use the bandwidth acquired by the second acquiring unit to transmit the data that arrives.
  • the second bandwidth requesting unit includes: a second frame modification subunit, configured to send the light to the light according to the traffic of the data to be arrived Part or all of the idle frames in the data transmitted by the line terminal are modified into invalid data frames pre-agreed with the optical line terminal, and the arrival time is written into the data to be transmitted; wherein, the positive The traffic of the data to be transmitted is smaller than the traffic of the upcoming data;
  • a third transmission subunit configured to transmit, to the optical line terminal, the data to be transmitted that includes the invalid data frame modified by the second frame modification subunit.
  • the second bandwidth requesting unit includes: a fourth transmission subunit, configured to send a bandwidth allocation request to the optical line terminal, where the bandwidth allocation request is carried The bandwidth requirement indication information of the upcoming data and the arrival time.
  • the second obtaining unit is configured to receive a bandwidth allocation table that is sent by the optical line terminal, where the bandwidth allocation table carries a start time point and an end time point of transmitting the data that is about to arrive, where The starting time point is the arrival time.
  • a sixth aspect of the present invention provides an optical line terminal, including:
  • a third acquiring unit configured to acquire a bandwidth requirement of the optical network device for the data to be arrived, and the The arrival time of the data to be arrived at the optical network device;
  • a bandwidth allocation unit configured to determine, according to an arrival time acquired by the third acquiring unit, a pre-stored allocated bandwidth time, and an effective time of the optical network device side bandwidth, a time for allocating bandwidth to the optical network device, and in the allocating When the time of the bandwidth comes, the required bandwidth is allocated to the optical network device;
  • the third acquiring unit includes: a first receiving subunit, configured to receive data transmitted by the optical network device;
  • An identification subunit configured to identify, from data transmitted by the optical network device that the first receiving subunit is receiving, an invalid data frame that is pre-agreed with the optical network device;
  • a bandwidth determining subunit configured to determine a bandwidth requirement of the data to be arrived according to the number of invalid data frames identified by the identifying subunit
  • an extracting subunit configured to extract, from data received by the first receiving subunit, an arrival time of the upcoming data reaching the optical network device.
  • the third acquiring unit includes: a second receiving subunit, configured to receive a bandwidth allocation request sent by the optical network device, where the bandwidth allocation request is Carrying bandwidth requirement indication information and the arrival time of the data to be arrived; a parsing subunit, configured to parse out a bandwidth requirement indication of the upcoming data from a bandwidth allocation request received by the second receiving subunit Information and the arrival time.
  • the sending unit is configured to send a bandwidth allocation table to the optical network device, where the bandwidth allocation table carries a start time point and an end time point for transmitting the data to be arrived, wherein the start time The point is the arrival time.
  • a seventh aspect of the present invention provides an optical network system, including: at least one user end, at least one optical network device, and an optical line terminal,
  • the optical network device is the optical network device described in the first set of technical solutions.
  • An eighth aspect of the present invention provides an optical network system, including: at least one user end, at least one optical network device, and an optical line terminal,
  • the optical network device is the optical network device described in the second set of technical solutions;
  • the optical line terminal is the optical line terminal described in the second set of technical solutions.
  • the embodiment of the present invention adopts acquiring the traffic and the arrival time of the data to be sent sent by the UE; determining the time for requesting the bandwidth from the optical line terminal according to the arrival time, the effective time of the pre-stored bandwidth, and the time allocated by the optical line terminal. And requesting, by the optical line terminal, a bandwidth required for the upcoming data of the traffic when the time of requesting the bandwidth is reached; acquiring a bandwidth allocated by the optical line terminal; The upcoming data arrives, using the bandwidth to transmit the data arriving.
  • the method provided by the embodiment of the present invention can solve the problem that the bandwidth allocated by the optical line terminal to the incoming data is valid when the data of the user end reaches the optical network device.
  • the problem of bandwidth lag in non-fiber-to-user scenarios reduces the buffering requirements of the ONU and reduces line delay.
  • FIG. 1 is a topological architecture diagram of a passive optical network in the prior art of the present invention
  • FIG. 2 is a schematic diagram of an embodiment of a method for bandwidth allocation in an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an embodiment of a method for bandwidth allocation in an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of another embodiment of a method for bandwidth allocation in an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an embodiment of a method for bandwidth allocation in an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of another embodiment of a method for bandwidth allocation in an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an embodiment of an optical network device according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of another embodiment of an optical network device according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of another embodiment of an optical network device according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of another embodiment of an optical network device according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of another embodiment of an optical network device according to an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of another embodiment of an optical network device according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of an embodiment of an optical line terminal according to an embodiment of the present invention.
  • FIG. 14 is a schematic diagram of another embodiment of an optical line terminal according to an embodiment of the present invention.
  • 15 is a schematic diagram of another embodiment of an optical line terminal according to an embodiment of the present invention.
  • 16 is a schematic diagram of another embodiment of an optical network device according to an embodiment of the present invention.
  • FIG. 17 is a schematic diagram of another embodiment of an optical network device according to an embodiment of the present invention.
  • FIG. 18 is a schematic diagram of another embodiment of an optical line terminal according to an embodiment of the present invention.
  • 19A is a schematic diagram of an embodiment of a system in an embodiment of the present invention.
  • Figure 19B is a schematic diagram of another embodiment of the system in the embodiment of the present invention.
  • the embodiment of the invention provides a bandwidth allocation method, which solves the problem of bandwidth allocation lag in a non-fiber-to-user scenario, thereby reducing the buffer requirement of the optical network device and reducing the line delay.
  • Embodiments of the present invention also provide corresponding devices and systems. The details are described below separately.
  • an embodiment of a method for bandwidth allocation provided by an embodiment of the present invention includes:
  • the optical network device acquires the traffic and the arrival time of the upcoming data sent by the UE.
  • An optical network device is an optical network unit (ONU) in a passive optical network, but is not limited to an ONU.
  • the ONU senses the traffic change of the upcoming data sent by the UE, and can obtain the traffic and arrival time of the data to be arrived.
  • the traffic and the arrival time of the data to be arrived are prior art, and are not described in detail in the embodiments of the present invention.
  • the optical network device determines, according to the arrival time, an effective time of the pre-stored bandwidth, and a time allocated by the optical line terminal, a time for requesting the bandwidth to the optical line terminal, and when the time for requesting the bandwidth is reached, The bandwidth required by the optical line terminal to request upcoming data for the traffic.
  • the effective time of the bandwidth and the time allocated by the optical line terminal are preset. Therefore, the optical network device can calculate the time at which the optical line terminal requests the bandwidth, so that the bandwidth allocated by the optical line terminal takes effect when the arrival time comes.
  • the time of arrival of the optical network device to obtain data is t
  • the effective time of the pre-stored bandwidth is A tl
  • the time for the optical line terminal to allocate bandwidth is A t2
  • the optical network device can be at (t- A tl- A tS
  • the bandwidth is requested from the optical line terminal at the moment, so that the optical network device receives the bandwidth at (t-A tl ) time, and just after the A t2 time bandwidth takes effect, it just reaches t time.
  • the optical network device acquires a bandwidth allocated by the optical line terminal.
  • the optical network device arrives at the arrival time, and the data that is about to arrive arrives, and the data that is reached is transmitted by using the bandwidth.
  • the embodiment of the present invention adopts acquiring the traffic and the arrival time of the data to be sent sent by the UE; determining the time for requesting the bandwidth from the optical line terminal according to the arrival time, the effective time of the pre-stored bandwidth, and the time allocated by the optical line terminal. And requesting, by the optical line terminal, a bandwidth required for the upcoming data of the traffic when the time of requesting the bandwidth is reached; acquiring a bandwidth allocated by the optical line terminal; The upcoming data arrives, using the bandwidth to transmit the data arriving.
  • the method provided by the embodiment of the present invention can solve the problem that the bandwidth allocated by the optical line terminal to the incoming data is valid when the data of the user end reaches the optical network device.
  • the problem of bandwidth lag in non-fiber-to-user scenarios reduces the buffering requirements of the ONU and reduces line delay.
  • the requesting the traffic to the optical line terminal is performed on the basis of the foregoing embodiment of the embodiment corresponding to FIG.
  • the bandwidth required for the data to be reached can include:
  • the format of the invalid data frame may be pre-agreed between the ONU and the OLT, so that when the ONU senses that the upcoming data traffic is larger than the traffic of the data being transmitted, the idle frame is modified to be invalid data.
  • the form of the frame tells the OLT that the upcoming data requires a large bandwidth, so that the OLT does not reduce the bandwidth, or adjusts the bandwidth appropriately according to the traffic of the upcoming data.
  • the requesting the traffic to the optical line terminal is performed on the basis of the foregoing embodiment of the embodiment corresponding to FIG.
  • the bandwidth required for the data to be reached can include:
  • the bandwidth allocation request carries bandwidth requirement indication information of the data to be arrived, so that the optical line terminal sends the bandwidth requirement indication information to the upcoming
  • the data is allocated a bandwidth corresponding to the traffic of the upcoming data.
  • the ONU requests the bandwidth from the OLT in the form of a status report
  • the bandwidth requirement indication information may be a specific bandwidth value, or may be a buffer amount of the upcoming data, or may be used to transmit the upcoming data.
  • the length of time is not limited to this, as long as the optical line terminal can allocate an appropriate bandwidth.
  • the acquiring the bandwidth allocated by the optical line terminal may include:
  • bandwidth allocation table carries a start time point and an end time point for transmitting the data to be arrived, wherein the start time point is the arrival time.
  • the bandwidth allocation table can be understood by referring to Table 1:
  • an OLT is responsible for allocating bandwidth to multiple ONUs, in order to avoid data collision between each ONU, only one ONU data can be transmitted in one time period.
  • the ONU1 can transmit the data sent by the UE on the ONU1 side in the time of tl-t2, and the data that arrives at the ONU1 at the time of tl can be transmitted in the t2-t3 time by the UE on the ONU2 side, at t2.
  • the data just arrived at the ONU2, and can be transmitted in the t3-t4 time by the user on the ONU3 side, and just arrive at the ONU3 data at time t3.
  • the optical network device only needs to transmit the data corresponding to the UE according to the time period on the bandwidth allocation table.
  • the acquisition of the arrival time can sense the type of the upcoming data through the change of the traffic, such as: retransmission, uplink-downlink ratio switching, sleep mode switching, and the like.
  • the ONU knows in advance the time of each type of data from the user to the ONU.
  • the optical network device obtains the retransmission of the data transmission behavior that the user is performing at the time of T1, then the ONU can retransmit and arrive according to the pre-storage.
  • the time correspondence is calculated as the time when the retransmission data arrives is T2.
  • the ONU obtains the uplink and downlink bandwidth ratio switching of the data transmission behavior that occurs at the user terminal, the ONU can switch the uplink/downstream bandwidth ratio to the time of arrival according to the pre-stored uplink and downlink bandwidth ratio, and calculate the uplink and downlink bandwidth ratio switching data.
  • the time of arrival is ⁇ 3.
  • the ONU when the ONU obtains the data transmission behavior sleep mode switching that is occurring at the user terminal, the ONU can calculate the time when the retransmission data arrives according to the correspondence between the pre-stored sleep switching and the arrival time.
  • ⁇ 2, ⁇ 3, ⁇ 4 are respectively greater than Tl.
  • the ONU can store a mapping table of data types and arrival times, as shown in Table 2:
  • Table 2 Mapping Table of Data Types and Arrival Times
  • another embodiment of a method for bandwidth allocation provided by an embodiment of the present invention includes:
  • the optical network device acquires the traffic and the arrival time of the upcoming data sent by the UE. 202. The optical network device requests, by the optical line device, the bandwidth required for the upcoming data of the traffic, and reports the arrival time to the optical line terminal, so that the optical line terminal according to the arrival time, The pre-stored allocated bandwidth time and the effective time of the optical network device side bandwidth are determined as the time at which the optical network device allocates bandwidth.
  • the optical network device after acquiring the time of arrival, requests bandwidth from the optical line terminal, and reports the arrival time to the optical line terminal, where the optical line terminal controls the bandwidth delivery time, as long as the arrival time arrives.
  • the bandwidth of the device delivered to the optical network device takes effect.
  • the time when the optical network device acquires the data is t, and the time t is reported to the optical line terminal.
  • the effective time of the bandwidth of the optical network device side pre-stored in the optical line terminal is A tl, and the time allocated by the optical line terminal.
  • the optical line terminal can be allocated bandwidth at (t-A tl-A t2 ), so that the bandwidth is delivered to the optical network device at (t-A tl ) time, and the A t2 time bandwidth takes effect. After that, just arrived at t time.
  • the optical network device acquires a bandwidth allocated by the optical line terminal.
  • the optical network device arrives at the arrival time, and the data that is about to arrive arrives, and uses the bandwidth to transmit the data that arrives.
  • the traffic and the arrival time of the data to be arrived sent by the user end are acquired; the bandwidth required for the upcoming data of the traffic is requested from the optical line terminal, and the arrival time is reported to the light.
  • a line terminal so that the optical line terminal determines, according to the time of arrival, the time of the pre-stored allocated bandwidth, and the effective time of the bandwidth of the optical network device side, a time for allocating bandwidth to the optical network device; acquiring the optical line terminal allocation Bandwidth; at the time of arrival, the upcoming data arrives, using the bandwidth to transmit the data arriving.
  • the method provided by the embodiment of the present invention can solve the problem that the bandwidth allocated by the optical line terminal to the incoming data is valid when the data of the user end reaches the optical network device.
  • Non-fiber to use The problem of lag in bandwidth allocation in the user scenario, thereby reducing the ONU's buffering requirements and reducing line delay.
  • the requesting the optical line terminal for the upcoming data of the traffic is required. And reporting the time of arrival to the optical line terminal, which may include:
  • the data to be transmitted containing the invalid data frame is transmitted to the optical line terminal.
  • the format of the invalid data frame is pre-agreed between the ONU and the OLT, so that when the ONU senses that the upcoming data traffic is larger than the traffic of the data being transmitted,
  • the frame is modified to the form of an invalid data frame to inform the OLT that the upcoming data requires a large bandwidth, so that the OLT does not reduce the bandwidth, or adjust the bandwidth appropriately according to the traffic of the upcoming data.
  • the arrival time is written into the data being transmitted, so that the OLT can accurately calculate the time of the bandwidth to be transmitted.
  • the requesting the optical line terminal for the upcoming data of the traffic is required. And reporting the time of arrival to the optical line terminal, which may include:
  • the ONU requests the bandwidth from the OLT in the form of a status report
  • the bandwidth requirement indication information may be a specific bandwidth value, or may be a buffer amount of the upcoming data, or may be used to transmit the upcoming data.
  • the length of time is not limited to this, as long as the optical line terminal can allocate an appropriate bandwidth.
  • the bandwidth allocation request carries the arrival time, so that the OLT can accurately calculate the time of the bandwidth to be delivered.
  • the acquiring the bandwidth allocated by the optical line terminal may include:
  • bandwidth allocation table carries a start time point and an end time point for transmitting the data to be arrived, wherein the start time point is the arrival time.
  • the bandwidth allocation table can be understood by referring to Table 1, and will not be described here.
  • another embodiment of a method for bandwidth allocation provided by an embodiment of the present invention includes:
  • the optical line terminal acquires a bandwidth requirement of the optical network device for the data to be arrived at, and an arrival time of the data that is to be arrived at the optical network device.
  • the optical line terminal determines, according to the time of arrival, the time of the pre-stored allocated bandwidth, and the effective time of the bandwidth of the optical network device side, the time for allocating bandwidth for the optical network device, and when the time for allocating the bandwidth arrives, The optical network device allocates the required bandwidth.
  • the time when the optical network device acquires the data is t, and the time t is reported to the optical line terminal.
  • the effective time of the bandwidth of the optical network device side pre-stored in the optical line terminal is A tl, and the time allocated by the optical line terminal.
  • the optical line terminal can be allocated bandwidth at (t-A tl-A t2 ), so that the bandwidth is sent to the optical network device at (t-A tl ) time, and the A t2 time bandwidth takes effect.
  • just arrived at t time At the time of arrival, the network device arrives, and the data arriving is transmitted using the bandwidth.
  • the bandwidth requirement of the optical network device for the upcoming data and the arrival time of the upcoming data to the optical network device are obtained; according to the arrival time, the pre-stored allocated bandwidth time, and the optical network.
  • the effective time of the bandwidth of the device is determined as the time for the optical network device to allocate the bandwidth, and when the time for allocating the bandwidth comes, the optical network device is allocated the required bandwidth; and the optical network device is allocated the allocation.
  • the bandwidth is such that the optical network device arrives at the arrival time, the upcoming data arrives, and the data arriving is transmitted using the bandwidth.
  • the method provided by the embodiment of the present invention can implement the bandwidth allocated by the optical line terminal to the incoming data when the data of the user end reaches the optical network device. It solves the problem of lag in bandwidth allocation in non-fiber-to-user scenarios, thereby reducing the ONU's cache requirements and reducing line delay.
  • the request and the arrival time of the data to be arrived at the optical network device may include: identifying, from the data transmitted by the optical network device that is received, an invalid data frame that is pre-agreed with the optical network device;
  • the invalid data frame only serves as the bandwidth requirement for the data that is about to reach the optical network device, and has no practical meaning, and the optical line terminal can directly discard it.
  • the OLT when the optical network device requests the optical line terminal to request bandwidth in the manner of idle frame monitoring, the OLT extracts the arrival time from the data. From which location is extracted, it can be pre-scheduled with the ONU or defined by standards or regulations, or the ONU can bring in an identifier when it is written, and the OLT extracts from the identified location.
  • the request and the arrival time of the data to be reached by the optical network device may include: receiving a bandwidth allocation request sent by the optical network device, where the bandwidth allocation request carries a bandwidth requirement indication of the data to be arrived Information and the arrival time;
  • the bandwidth requirement indication information of the upcoming data and the arrival time are parsed from the bandwidth allocation request.
  • the OLT can directly parse the arrival time from the bandwidth allocation request.
  • the first or second alternative embodiment corresponding to FIG. 4 the third optional implementation of the method for bandwidth allocation provided by the embodiment of the present invention
  • the bandwidth allocated to the optical network device may include:
  • the bandwidth allocation table carries the transmission The start time point and the end time point of the data to be reached, wherein the start time point is the arrival time.
  • the bandwidth allocation table can be understood by referring to Table 1.
  • an application scenario of the present invention includes a user end, an optical network device, and an optical line terminal.
  • the optical network device acquires the traffic and the arrival time of the upcoming data sent by the UE. S105. The optical network device calculates, according to the arrival time, the effective time of the pre-stored bandwidth, and the time allocated by the optical line terminal, the time required for the optical line terminal to request the bandwidth of the upcoming data of the traffic.
  • the effective time of the bandwidth and the time allocated by the optical line terminal are preset. Therefore, the optical network device can calculate the time at which the optical line terminal requests the bandwidth, so that the bandwidth allocated by the optical line terminal takes effect when the arrival time comes.
  • the time when the optical network device obtains data is t
  • the effective time of the pre-stored bandwidth is t
  • the time allocated by the optical line terminal for bandwidth is A t2
  • the time of the requested bandwidth calculated by the optical network device is (t- A tl- A t2 ).
  • the optical network device requests bandwidth from the optical line terminal.
  • the optical line terminal generates a bandwidth allocation table.
  • the bandwidth allocation table can be understood by referring to Table 1.
  • the retransmission data indicating that the UE is transmitted in the bandwidth allocation table can be transmitted at time t-tl, and tl is greater than t.
  • the optical line terminal sends a bandwidth allocation table.
  • the optical line terminal sends a bandwidth allocation table at time t- ⁇ tl.
  • the optical network device arrives at the arrival time, and the data that is about to arrive arrives, and the data that is reached is transmitted by using the bandwidth.
  • the data sent by the client reaches the optical network device, and the bandwidth allocation table has taken effect, so The optical network device can transmit the arrived data without buffering. If the data arrives in advance, it can be buffered and transmitted to time t.
  • another embodiment of the application scenario includes a user end, an optical network device, and a light path terminal.
  • the optical network device acquires the traffic and the arrival time of the upcoming data sent by the UE.
  • the optical network device requests the optical line terminal for the bandwidth required for the upcoming data of the traffic, and reports the arrival time to the optical line terminal.
  • the optical line terminal calculates a time for generating the bandwidth allocation table according to the arrival time, the pre-stored allocated bandwidth time, and the effective time of the optical network device side bandwidth.
  • the time when the optical network device obtains data is t
  • the effective time of the pre-stored bandwidth is t
  • the time for the optical line terminal to allocate bandwidth is A t2
  • the time for generating the bandwidth allocation table calculated by the optical line terminal is ( t - ⁇ tl - ⁇ t2 ).
  • the optical line terminal generates a bandwidth allocation table.
  • the bandwidth allocation table can be understood by referring to Table 1.
  • the retransmission data indicating that the UE is transmitted in the bandwidth allocation table can be transmitted at time t-tl, and tl is greater than t.
  • the optical line terminal sends a bandwidth allocation table.
  • the optical line terminal sends a bandwidth allocation table at time t- ⁇ tl.
  • the optical network device arrives at the arrival time, and the data that is about to arrive arrives, and the data that is reached is transmitted by using the bandwidth.
  • the optical network device can transmit the arrived data without buffering. If the data arrives in advance, a part of the data can be cached. transmission.
  • an embodiment of an optical network device includes:
  • the first obtaining unit 301 is configured to acquire the traffic and the arrival time of the upcoming data sent by the UE;
  • the first bandwidth requesting unit 302 is configured to use the time of arrival acquired by the first acquiring unit 301, Determining the effective time of the pre-stored bandwidth and the time allocated by the optical line terminal, determining the time for requesting the bandwidth from the optical line terminal, and requesting the optical line terminal to arrive at the time when the requested bandwidth is reached.
  • the bandwidth required for the data
  • the first obtaining unit 301 is further configured to acquire a bandwidth allocated by the optical line terminal, where the first transmitting unit 303 is configured to: when the arrived time arrives, the upcoming data arrives, using the first acquiring unit The acquired bandwidth is transmitted to the data.
  • the first obtaining unit 301 acquires the traffic and the arrival time of the data that is to be sent by the user end; the first bandwidth requesting unit 302 is based on the arrival time and the pre-stored bandwidth acquired by the first acquiring unit 301.
  • the effective time and the time when the optical line terminal allocates the bandwidth determining the time for requesting the bandwidth to the optical line terminal, and requesting the bandwidth required for the upcoming data of the traffic to the optical line terminal when the requested bandwidth is reached.
  • the first obtaining unit 301 further acquires the bandwidth allocated by the optical line terminal; the first transmission unit 303 arrives at the arrival time, the upcoming data arrives, and uses the bandwidth acquisition obtained by the first acquiring unit to arrive.
  • the optical line terminal is notified in advance to the optical line terminal, so that the optical line terminal prepares the bandwidth for the data sent by the user in advance, thereby solving the problem of bandwidth allocation lag and reducing the buffer pressure of the optical network device.
  • the first bandwidth requesting unit 302 includes:
  • a first frame modification subunit 3021 configured to modify part or all of the idle frames in the data to be transmitted to the optical line terminal to be pre-arranged with the optical line terminal according to the traffic of the upcoming data.
  • Invalid data frame wherein the traffic of the data being transmitted is smaller than the traffic of the data to be arrived;
  • the first transmission subunit 3022 is configured to transmit, to the optical line terminal, the data to be transmitted that is modified by the first frame modification subunit 3021 and includes an invalid data frame.
  • the first bandwidth requesting unit 302 includes:
  • a second transmission subunit 3023 configured to send a bandwidth allocation request to the optical line terminal, where the bandwidth allocation request carries bandwidth requirement indication information of the data to be arrived, so that the optical line The terminal allocates, to the upcoming data, a bandwidth corresponding to the traffic of the upcoming data according to the bandwidth requirement indication information.
  • FIG. 7 In another embodiment of the optical network device according to the embodiment of the present disclosure, in another embodiment of the foregoing FIG. 7, FIG. 8, and FIG.
  • the first obtaining unit 301 is configured to receive a bandwidth allocation table that is sent by the optical line terminal, where the bandwidth allocation table carries a start time point and an end time point of transmitting the data that is about to arrive, where the The starting time point is the arrival time.
  • another embodiment of an optical network device includes: a second acquiring unit 311, configured to acquire traffic and an arrival time of data to be sent sent by a user end;
  • a second bandwidth requesting unit 312 configured to request, by the optical line terminal, a bandwidth required for the upcoming data of the traffic acquired by the second acquiring unit 311, and report the arrival time to the optical line terminal, so that Determining, by the optical line terminal, a time for allocating bandwidth to the optical network device according to the time of arrival, the time of the pre-stored allocated bandwidth, and the effective time of the bandwidth of the optical network device side;
  • the second obtaining unit 311 is configured to acquire a bandwidth allocated by the optical line terminal
  • the second transmission unit 313 is configured to: at the arrival time, the upcoming data arrives, and use the bandwidth acquired by the second obtaining unit 311 to transmit the data that arrives.
  • the second obtaining unit 311 acquires the traffic and the arrival time of the data that is to be sent by the user, and the second bandwidth requesting unit 312 requests the optical line terminal to arrive at the traffic acquired by the second acquiring unit 311.
  • the bandwidth required for the data is reported to the optical line terminal, so that the optical line terminal determines according to the arrival time, the pre-stored allocated bandwidth time, and the effective time of the optical network device side bandwidth.
  • a time for allocating bandwidth for the optical network device the second obtaining unit 311 acquires a bandwidth allocated by the optical line terminal; and the second transmission unit 313 arrives at the arrival time, the upcoming data arrives, using the The data acquired by the bandwidth acquisition acquired by the second acquisition unit 311.
  • the optical network device provided by the embodiment of the present invention can notify the optical line terminal of the arrival time of the data sent by the user end, so that the optical line terminal prepares the bandwidth for the data sent by the user end in advance, thereby solving the problem.
  • the problem of bandwidth allocation lag can also reduce the buffer pressure of optical network devices.
  • the second bandwidth requesting unit 312 includes:
  • a second frame modification subunit 3121 configured to modify part or all of the idle frames in the data to be transmitted to the optical line terminal according to the traffic of the upcoming data to be pre-agreed with the optical line terminal An invalid data frame, and the time of arrival is written into the data to be transmitted; wherein, the traffic of the data to be transmitted is smaller than the traffic of the data to be arrived;
  • the third transmission subunit 3122 is configured to transmit, to the optical line terminal, the data to be transmitted that is modified by the second frame modification subunit 3121 and includes an invalid data frame.
  • the second bandwidth requesting unit 312 includes:
  • the fourth transmission subunit 3123 is configured to send a bandwidth allocation request to the optical line terminal, where the bandwidth allocation request carries bandwidth requirement indication information of the data to be arrived and the arrival time.
  • the second obtaining unit 313 is configured to receive a bandwidth allocation table that is sent by the optical line terminal, where the bandwidth allocation table carries a start time point and an end time point of transmitting the data that is about to arrive, where the The starting time point is the arrival time.
  • an embodiment of an optical line terminal according to an embodiment of the present invention includes:
  • the third obtaining unit 401 is configured to acquire, by the optical network device, a bandwidth requirement of the data that is about to arrive, and an arrival time of the data that is about to arrive to the optical network device;
  • the bandwidth allocation unit 402 is configured to allocate, according to the arrival time acquired by the third acquiring unit 401, the pre-stored allocated bandwidth time, and the effective time of the optical network device side bandwidth, the bandwidth required for the upcoming data to be allocated;
  • a sending unit 403 configured to send, to the optical network device, the allocated bandwidth of the allocated bandwidth allocation unit 402, so that the optical network device arrives at the arrival time, and the upcoming data arrives, using the The data that the bandwidth transmission arrives on.
  • the third obtaining unit 401 acquires the bandwidth requirement of the optical network device for the data to be arrived at, and the arrival time of the data to be arrived at the optical network device; the bandwidth allocation list The element 402 allocates a required bandwidth to the upcoming data according to the arrival time acquired by the third acquiring unit 401, the pre-stored allocated bandwidth time, and the effective time of the optical network device side bandwidth; the sending unit 403 sends the light to the light.
  • the network device delivers the allocated bandwidth of the allocated bandwidth allocation unit 402, so that the optical network device arrives at the arrival time, the upcoming data arrives, and uses the bandwidth to transmit the data that arrives.
  • the optical line terminal provided by the embodiment of the present invention can prepare the bandwidth in advance when the data of the user end reaches the optical network device, avoiding bandwidth allocation lag and data buffering in the optical network device.
  • the third obtaining unit 401 includes:
  • a first receiving subunit 4011 configured to receive data transmitted by the optical network device
  • an identifying subunit 4012 configured to be used in data transmitted by the optical network device that the first receiving subunit 4011 is receiving. Identifying an invalid data frame pre-agreed with the optical network device
  • the bandwidth determining sub-unit 4013 is configured to determine a bandwidth requirement of the data to be arrived according to the number of invalid data frames identified by the identifying sub-unit 4012;
  • the extracting subunit 4014 is configured to extract, from the data received by the first receiving subunit 4011, an arrival time of the upcoming data reaching the optical network device.
  • the third obtaining unit 401 includes:
  • a second receiving sub-unit 4015 configured to receive a bandwidth allocation request sent by the optical network device, where the bandwidth allocation request carries bandwidth requirement indication information of the upcoming data and the arrival time;
  • the parsing sub-unit 4016 is configured to parse the bandwidth requirement indication information of the upcoming data and the arrival time from the bandwidth allocation request received by the second receiving sub-unit 4015.
  • the sending unit 403 is configured to send a bandwidth allocation table to the optical network device, where the bandwidth allocation table carries a start time point and an end time point for transmitting the data that is about to arrive, where the start The time point is the arrival time.
  • the embodiment of the invention further provides a computer readable storage medium, wherein the medium stores a program, and the program includes some or all of the steps of the first set of bandwidth allocation methods on the optical network device side.
  • the embodiment of the invention further provides a computer readable storage medium, wherein the medium stores a program, and the program includes some or all of the steps of the second set of bandwidth allocation methods on the optical network device side.
  • the embodiment of the invention further provides a computer readable storage medium, wherein the medium stores a program, and the program includes some or all of the steps of the optical line terminal side bandwidth allocation method.
  • another embodiment of an optical network device includes: a first receiver 310, a first transmitter 320, a first memory 330, and a first processor 340; a first receiver 310, a first A transmitter 320, a first memory 330, and a first processor 340 are connected by a bus or other manner, and the first memory 330 stores a program for executing the steps by the first processor 340;
  • the first receiver 310 is configured to acquire a traffic and an arrival time of the data to be sent sent by the UE.
  • the first processor 340 is configured to determine, according to the time of arrival, the effective time of the pre-stored bandwidth, and the time when the optical line terminal allocates the bandwidth, the time for requesting the bandwidth to the optical line terminal, and the time when the requested bandwidth is reached. And requesting, by the optical line terminal, a bandwidth required for the upcoming data of the traffic;
  • the first receiver 310 is further configured to acquire a bandwidth allocated by the optical line terminal;
  • the first receiver 310 is further configured to: at the arrival time, the upcoming data arrives, and use the bandwidth to receive the arrived data;
  • the first transmitter 320 is configured to: at the arrival time, the upcoming data arrives, and use the bandwidth to forward the arrived data.
  • the first processor 340 is configured to modify part or all of the idle frames in the data to be transmitted to the optical line terminal according to the traffic of the data to be reached.
  • the first transmitter 320 is configured to transmit the invalid data frame to the optical line terminal.
  • the data to be transmitted is configured to transmit the invalid data frame to the optical line terminal.
  • the first transmitter 320 is configured to send a bandwidth allocation request to the optical line terminal, where the bandwidth allocation request carries bandwidth requirement indication information of the data to be arrived, so that the The optical line terminal allocates, to the upcoming data, a bandwidth corresponding to the traffic of the upcoming data according to the bandwidth requirement indication information.
  • the first receiver 310 is configured to receive a bandwidth allocation table sent by the optical line terminal, where the bandwidth allocation table carries a start time point and an end of transmitting the upcoming data. a time point, wherein the starting time point is the arrival time.
  • another embodiment of an optical network device includes: a second receiver 350, a second transmitter 360, a second memory 370, and a second processor 380; a second receiver 350, a second transmission
  • the processor 360, the second memory 370 and the second processor 380 are connected by a bus or other means, and the second memory 370 stores a program when the second processor 380 executes the steps.
  • the second receiver 350 is configured to acquire a traffic and an arrival time of the data to be sent sent by the UE.
  • a second processor 380 configured to request, by the optical line terminal, a bandwidth required for the upcoming data of the traffic, and report the arrival time to the optical line terminal, so that the optical line terminal according to the The time of arrival, the time of the pre-stored allocated bandwidth, and the effective time of the bandwidth of the optical network device side are determined as the time when the optical network device allocates bandwidth;
  • the second receiver 350 is further configured to acquire a bandwidth allocated by the optical line terminal
  • the second receiver 350 is further configured to: at the arrival time, the upcoming data arrives, and use the bandwidth to receive the arrived data;
  • the second transmitter 360 is configured to: at the arrival time, the upcoming data arrives, and forward the arrived data using the bandwidth.
  • the second processor 380 is configured to modify part or all of the idle frames in the data to be transmitted to the optical line terminal according to the traffic of the upcoming data.
  • the optical line terminal pre-agreed the invalid data frame, and writes the arrival time into the data to be transmitted; wherein, the traffic of the data to be transmitted is smaller than the traffic of the data to be arrived;
  • the second transmitter 360 is further configured to transmit, to the optical line terminal, the data to be transmitted that includes an invalid data frame.
  • the second transmitter 360 is further configured to send a bandwidth allocation request to the optical line terminal, where the bandwidth allocation request carries bandwidth requirement indication information of the upcoming data and the Time of arrival.
  • the first receiver 350 is configured to receive a bandwidth allocation table sent by the optical line terminal, where the bandwidth allocation table carries a start time point and an end of transmitting the upcoming data. a time point, wherein the starting time point is the arrival time.
  • another embodiment of the optical network device includes: a third receiver 410, a third transmitter 420, a third memory 430, and a third processor 440; a third receiver 410, a third transmission
  • the 420, the third memory 430, and the third processor 440 are connected by a bus or other means, and the third memory 430 stores a program when the third processor 440 executes the steps.
  • the third receiver 410 is configured to acquire a bandwidth requirement of the optical network device for the upcoming data and an arrival time of the upcoming data to the optical network device.
  • the third processor 440 is configured to determine, according to the arrival time, a pre-stored allocated bandwidth time, and an effective time of the optical network device side bandwidth, a time for allocating bandwidth to the optical network device, and at the allocated bandwidth When the time comes, allocate the required bandwidth to the optical network device;
  • the third transmitter 420 is configured to send the allocated bandwidth to the optical network device, so that the optical network device arrives at the arrival time, the upcoming data arrives, and uses the bandwidth transmission. The data arrived.
  • the third receiver 410 is configured to receive data transmitted by the optical network device.
  • the third processor 440 is configured to identify, from the data transmitted by the optical network device that is received, an invalid data frame that is pre-agreed with the optical network device, and determine the number according to the number of the invalid data frames.
  • the bandwidth requirement of the data to be arrived at; the arrival time of the upcoming data to the optical network device is extracted from the data.
  • the third receiver 410 is configured to receive a bandwidth allocation request sent by the optical network device, where the bandwidth allocation request carries a bandwidth requirement of the data to be arrived. Indication information and the arrival time;
  • the third processor 440 is configured to parse the bandwidth requirement indication information of the upcoming data and the arrival time from the bandwidth allocation request.
  • the third transmitter 420 is configured to send a bandwidth allocation table to the optical network device, where the bandwidth allocation table carries a start time point and an end of transmitting the upcoming data. a time point, wherein the starting time point is the arrival time.
  • an embodiment of an optical network system includes: at least one user terminal 50, at least one optical network device 30, and an optical line terminal 40. Although only two optical network devices 30 are shown in the figure, However, it should not be understood that there are only two optical network devices 30, and in fact there may be multiple optical network devices 30.
  • the optical network device 30 is configured to acquire the traffic and the arrival time of the upcoming data sent by the UE; and determine the bandwidth requested to the optical line terminal according to the arrival time, the effective time of the pre-stored bandwidth, and the time allocated by the optical line terminal. Time, and when the time of requesting the bandwidth is reached, requesting, by the optical line terminal, a bandwidth required for the upcoming data of the traffic; acquiring a bandwidth allocated by the optical line terminal; at the arrival time, The upcoming data arrives, and the data arriving is transmitted using the bandwidth.
  • an embodiment of an optical network system includes: at least one user terminal 50, at least one optical network device 30, and an optical line terminal 40. Although only two optical network devices 30 are shown in the figure, However, it should not be understood that there are only two optical network devices 30, and in fact there may be multiple optical network devices 30.
  • the optical network device 30 is configured to acquire the traffic and the arrival time of the upcoming data sent by the UE, request the bandwidth required by the optical line terminal for the upcoming data of the traffic, and report the arrival time to the And determining, by the optical line terminal, a time for allocating bandwidth to the optical network device according to the time of arrival, the time of the pre-stored allocated bandwidth, and the effective time of the optical network device side bandwidth; acquiring the optical line terminal The allocated bandwidth; at the time of arrival, the upcoming data arrives, using the bandwidth to transmit the data arriving.
  • the optical line terminal 40 is configured to acquire a bandwidth requirement of the optical network device for the data to be arrived at, and an arrival time of the upcoming data to the optical network device; according to the arrival time, pre-storage
  • the time of allocating the bandwidth and the effective time of the optical network device side bandwidth are determined as the time for the optical network device to allocate bandwidth, and when the time for allocating the bandwidth comes, the optical network device is allocated the required bandwidth;
  • the optical network device delivers the allocated bandwidth, so that the optical network device arrives at the arrival time, the upcoming data arrives, and uses the bandwidth to transmit the data that arrives.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: ROM, RAM, disk or CD, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

本发明公开了一种带宽分配的方法,包括:获取用户端发送的即将到达的数据的流量和到达时间;根据所述到达时间、预存储的带宽的生效时间和光线路终端分配带宽的时间,确定向光线路终端请求带宽的时间,并在到达所述请求带宽的时间时,向所述光线路终端请求所述流量的即将到达的数据所需要的带宽;获取所述光线路终端分配的带宽;在所述到达时间,所述即将到达的数据到达,使用所述带宽传输到达的所述数据。本发明实施例还提供相应的设备及系统。本发明技术方案由于光网络设备可以根据即将到达的数据的到达时间,提前向网线路终端请求带宽,从而解决了在非光纤到用户场景中带宽分配的滞后的问题,从而减小了ONU的缓存需求,降低了线路时延。

Description

一种带宽分配的方法、 设备及系统 技术领域
本发明涉及通信技术领域, 具体涉及一种带宽分配的方法、 设备及系统。 景技术
无源光网络( assive optical network , PON )技术是一种点到多点的光纤 接入技术, 参阅图 1 , 它由局侧的光线路终端 ( Optical Line Terminal , OLT ), 用户侧的光网络单元( Optical Network unit, ONU )或者光网络终端 ( Optical
Figure imgf000003_0001
组成。
无源光网络技术中主要有两种类型连接模式,一种为光纤到用户( Fiber To The Home, FTTH ), 另一种为非 FTTH。
FTTH与非 FTTH的区别是:
FTTH的分配点( distribution point , DP )到用户之间还是光纤,而非 FTTH 的 DP到用户之间为非光纤, 如: 双绞线、 同轴电缆、 电力线等。 FTTH的 DP 为无源的光纤连接点, 非 FTTH的 DP为 ONU或 ONT。
动态带宽分配( Dynamic Bandwidth Assignment, DBA ):即根据 ONU/ONT 的突发流量需要, 对 ONU/ONT的带宽进行动态调整, 以提高 PON传输的利 用率。
现有技术中实现 DBA有两种方法:
一种为: 空闲信元监控的方法, OLT给每个 ONU或 ONT分配一个带宽, 然后 OLT监视被每个 ONU或 ONT使用的带宽,如果 ONU或 ONT使用 OLT 分配的带宽传输数据时, 有空闲帧, 这 OLT减小对该 ONU或 ONT的带宽, 如果没有空闲帧, 则适当增大对该 ONU或 ONT的带宽。
另一种为: 緩存状态报告的方法, ONU或 ONT通过微时隙向 OLT上报 緩存的数据对带宽的需求量, OLT根据需求量为 ONU或 ONT分配带宽。
在对现有技术的研究和实践过程中, 本发明的发明人发现, 无论是空闲信 元监控的方法, 还是緩存状态报告的方法, OLT对带宽的分配都是滞后的, 而 且在非 FTTH场景中, 总是要靠 ONU来緩存数据, 增加了 ONU的緩存压力。 发明内容
本发明实施例提供一种带宽分配的方法,解决了在非光纤到用户场景中带 宽分配滞后的问题, 从而减小了光网络设备的緩存需求, 降低了线路时延。 本 发明实施例还提供了相应的设备及系统。
本发明第一方面提供一种带宽分配的方法, 包括:
获取用户端发送的即将到达的数据的流量和到达时间;
根据所述到达时间、预存储的带宽的生效时间和光线路终端分配带宽的时 间, 确定向光线路终端请求带宽的时间, 并在到达所述请求带宽的时间时, 向 所述光线路终端请求所述流量的即将到达的数据所需要的带宽;
获取所述光线路终端分配的带宽;
在所述到达时间, 所述即将到达的数据到达,使用所述带宽传输到达的所 述数据。
结合第一方面,在第一种可能的实现方式中, 所述向所述光线路终端请求 所述流量的即将到达的数据所需要的带宽, 包括:
根据所述即将到达的数据的流量,将正要向所述光线路终端传输的数据中 的空闲帧的部分或者全部修改为与所述光线路终端预先约定的无效数据帧 ,其 中, 所述正要传输的数据的流量小于所述即将到达的数据的流量;
向所述光线路终端传输所述包含无效数据帧的所述正要传输的数据。
结合第一方面,在第二种可能的实现方式中, 所述向所述光线路终端请求 所述流量的即将到达的数据所需要的带宽, 包括:
向所述光线路终端发送带宽分配请求,所述带宽分配请求中携带所述即将 到达的数据的带宽需求指示信息,以使所述光线路终端根据所述带宽需求指示 信息给所述即将到达的数据分配对应所述即将到达的数据的流量的带宽。
结合第一方面, 第一方面第一种或第二种可能的实现方式,在第三种可能 的实现方式中, 所述获取所述光线路终端分配的带宽, 包括:
接收所述光线路终端发送的带宽分配表,所述带宽分配表中携带传输所述 即将到达的数据的起始时间点和结束时间点, 其中, 所述起始时间点为所述到 达时间。
本发明第二方面提供一种带宽分配的方法, 包括:
获取用户端发送的即将到达的数据的流量和到达时间;
向光线路终端请求所述流量的即将到达的数据所需要的带宽,并将所述到 达时间上报给所述光线路终端, 以使所述光线路终端根据所述到达时间、预存 储的分配带宽的时间和光网络设备侧带宽的生效时间确定为所述光网络设备 分配带宽的时间;
获取所述光线路终端分配的带宽;
在所述到达时间, 所述即将到达的数据到达,使用所述带宽传输到达的所 述数据。
结合第二方面,在第一种可能的实现方式中, 所述向光线路终端请求所述 流量的即将到达的数据所需要的带宽,并将所述到达时间上报给所述光线路终 端, 包括:
根据所述即将到达的数据的流量,将正要向所述光线路终端传输的数据中 的空闲帧的部分或者全部修改为与所述光线路终端预先约定的无效数据帧,并 将所述到达时间写入所述正要传输的数据中; 其中, 所述正要传输的数据的流 量小于所述即将到达的数据的流量;
向所述光线路终端传输包含无效数据帧的所述正要传输的数据。
结合第二方面,在第二种可能的实现方式中, 所述向光线路终端请求所述 流量的即将到达的数据所需要的带宽,并将所述到达时间上报给所述光线路终 端, 包括:
向所述光线路终端发送带宽分配请求,所述带宽分配请求中携带所述即将 到达的数据的带宽需求指示信息和所述到达时间。
结合第二方面, 第二方面第一种或第二种可能的实现方式,在第三种可能 的实现方式中, 所述获取所述光线路终端分配的带宽, 包括:
接收所述光线路终端发送的带宽分配表,所述带宽分配表中携带传输所述 即将到达的数据的起始时间点和结束时间点, 其中, 所述起始时间点为所述到 达时间。 本发明第三方面提供一种带宽分配的方法, 包括:
获取光网络设备对即将到达的数据的带宽需求和所述即将到达的数据到 达所述光网络设备的到达时间;
根据所述到达时间、预存储的分配带宽的时间和光网络设备侧带宽的生效 时间确定为所述光网络设备分配带宽的时间, 并在所述分配带宽的时间到来 时, 为所述光网络设备分配所需的带宽;
向所述光网络设备下发分配的所述带宽 ,以使所述光网络设备在所述到达 时间, 所述即将到达的数据到达, 使用所述带宽传输到达的所述数据。
结合第三方面,在第一种可能的实现方式中, 所述获取光网络设备对即将 到达的数据的带宽需求和所述即将到达的数据到达所述光网络设备的到达时 间, 包括:
从正在接收的所述光网络设备传输来的数据中,识别与所述光网络设备预 先约定的无效数据帧;
根据所述无效数据帧的数量确定所述即将到达的数据的带宽需求; 从所述数据中提取出所述即将到达的数据到达所述光网络设备的到达时 间。
结合第三方面,在第二种可能的实现方式中, 所述获取光网络设备对即将 到达的数据的带宽需求和所述即将到达的数据到达所述光网络设备的到达时 间, 包括:
接收所述光网络设备发送的带宽分配请求,所述带宽分配请求中携带所述 即将到达的数据的带宽需求指示信息和所述到达时间;
从所述带宽分配请求中解析出所述即将到达的数据的带宽需求指示信息 和所述到达时间。
结合第三方面, 第三方面第一种或第二种可能的实现方式,在第三种可能 的实现方式中, 所述向所述光网络设备下发分配的所述带宽, 包括:
向所述光网络设备下发带宽分配表,所述带宽分配表中携带传输所述即将 到达的数据的起始时间点和结束时间点, 其中, 所述起始时间点为所述到达时 间。 本发明第四方面提供一种光网络设备, 包括:
第一获取单元, 用于获取用户端发送的即将到达的数据的流量和到达时 间;
第一带宽请求单元, 用于根据所述第一获取单元获取的到达时间、预存储 的带宽的生效时间和光线路终端分配带宽的时间,确定向光线路终端请求带宽 的时间, 并在到达所述请求带宽的时间时, 向所述向光线路终端请求所述流量 的即将到达的数据所需要的带宽;
所述第一获取单元, 还用于获取所述光线路终端分配的带宽;
第一传输单元, 用于在所述到达时间, 所述即将到达的数据到达, 使用所 述第一获取单元获取的带宽传输到达的所述数据。
结合第四方面, 在第一种可能的实现方式中, 所述第一带宽请求单元, 包 括:
第一帧修改子单元, 用于根据所述即将到达的数据的流量,将正要向所述 光线路终端传输的数据中的空闲帧的部分或者全部修改为与所述光线路终端 预先约定的无效数据帧, 其中, 所述正在传输的数据的流量小于所述即将到达 的数据的流量;
第一传输子单元,用于向所述光线路终端传输所述第一帧修改子单元修改 的包含无效数据帧的所述正要传输的数据。
结合第四方面, 在第二种可能的实现方式中, 所述第一带宽请求单元, 包 括:
第二传输子单元, 用于向所述光线路终端发送带宽分配请求, 所述带宽分 配请求中携带所述即将到达的数据的带宽需求指示信息,以使所述光线路终端 根据所述带宽需求指示信息给所述即将到达的数据分配对应所述即将到达的 数据的流量的带宽。
结合第四方面, 第四方面第一种或第二种可能的实现方式,在第三种可能 的实现方式中,
所述第一获取单元, 用于接收所述光线路终端发送的带宽分配表, 所述带 宽分配表中携带传输所述即将到达的数据的起始时间点和结束时间点, 其中, 所述起始时间点为所述到达时间。
本发明第五方面提供一种光网络设备, 包括:
第二获取单元, 用于获取用户端发送的即将到达的数据的流量和到达时 间;
第二带宽请求单元,用于向光线路终端请求所述第二获取单元获取的流量 的即将到达的数据所需要的带宽, 并将所述到达时间上报给所述光线路终端, 以使所述光线路终端根据所述到达时间、预存储的分配带宽的时间和光网络设 备侧带宽的生效时间确定为所述光网络设备分配带宽的时间;
所述第二获取单元, 用于获取所述光线路终端分配的带宽;
第二传输单元, 用于在所述到达时间, 所述即将到达的数据到达, 使用所 述第二获取单元获取的带宽传输到达的所述数据。
结合第五方面,在第一种可能的实现方式中,所述第二带宽请求单元包括: 第二帧修改子单元, 用于根据所述即将到达的数据的流量,将正要向所述 光线路终端传输的数据中的空闲帧的部分或者全部修改为与所述光线路终端 预先约定的无效数据帧 ,并将所述到达时间写入所述正要传输的数据中;其中, 所述正要传输的数据的流量小于所述即将到达的数据的流量;
第三传输子单元,用于向所述光线路终端传输所述第二帧修改子单元修改 后的包含无效数据帧的所述正要传输的数据。
结合第五方面,在第二种可能的实现方式中,所述第二带宽请求单元包括: 第四传输子单元, 用于向所述光线路终端发送带宽分配请求, 所述带宽分 配请求中携带所述即将到达的数据的带宽需求指示信息和所述到达时间。
结合第五方面, 第五方面第一种或第二种可能的实现方式,在第三种可能 的实现方式中,
所述第二获取单元, 用于接收所述光线路终端发送的带宽分配表, 所述带 宽分配表中携带传输所述即将到达的数据的起始时间点和结束时间点, 其中, 所述起始时间点为所述到达时间。
本发明第六方面提供一种光线路终端, 包括:
第三获取单元,用于获取光网络设备对即将到达的数据的带宽需求和所述 即将到达的数据到达所述光网络设备的到达时间;
带宽分配单元, 用于根据所述第三获取单元获取的到达时间、预存储的分 配带宽的时间和光网络设备侧带宽的生效时间确定为所述光网络设备分配带 宽的时间, 并在所述分配带宽的时间到来时, 为所述光网络设备分配所需的带 宽;
结合第六方面, 在第一种可能的实现方式中, 所述第三获取单元, 包括: 第一接收子单元, 用于接收的所述光网络设备传输来的数据;
识别子单元,用于从所述第一接收子单元正在接收的所述光网络设备传输 来的数据中, 识别与所述光网络设备预先约定的无效数据帧;
带宽确定子单元,用于根据所述识别子单元识别的无效数据帧的数量确定 所述即将到达的数据的带宽需求;
提取子单元,用于从所述第一接收子单元接收的数据中提取出所述即将到 达的数据到达所述光网络设备的到达时间。
结合第六方面, 在第二种可能的实现方式中, 所述第三获取单元, 包括: 第二接收子单元, 用于接收所述光网络设备发送的带宽分配请求, 所述带 宽分配请求中携带所述即将到达的数据的带宽需求指示信息和所述到达时间; 解析子单元,用于从所述第二接收子单元接收的带宽分配请求中解析出所 述即将到达的数据的带宽需求指示信息和所述到达时间。
结合第六方面, 第六方面第一种或第二种可能的实现方式,在第三种可能 的实现方式中,
所述发送单元, 用于向所述光网络设备下发带宽分配表, 所述带宽分配表 中携带传输所述即将到达的数据的起始时间点和结束时间点, 其中, 所述起始 时间点为所述到达时间。
本发明第七方面提供一种光网络系统, 其特征在于, 包括: 至少一个用户 端、 至少一个光网络设备和光线路终端,
所述光网络设备为上述第一套技术方案所述的光网络设备。
本发明第八方面提供一种光网络系统, 其特征在于, 包括: 至少一个用户 端、 至少一个光网络设备和光线路终端, 所述光网络设备为上述第二套技术方案所述的光网络设备;
所述光线路终端为上述第二套技术方案所述的光线路终端。
本发明实施例采用获取用户端发送的即将到达的数据的流量和到达时间; 根据所述到达时间、 预存储的带宽的生效时间和光线路终端分配带宽的时间, 确定向光线路终端请求带宽的时间, 并在到达所述请求带宽的时间时, 向所述 光线路终端请求所述流量的即将到达的数据所需要的带宽;获取所述光线路终 端分配的带宽; 在所述到达时间, 所述即将到达的数据到达, 使用所述带宽传 输到达的所述数据。 与现有技术中带宽分配中都存在滞后相比, 本发明实施例 提供的方法, 可以在用户端的数据到达光网络设备时, 光线路终端给该到来的 数据分配的带宽已生效, 解决了在非光纤到用户场景中带宽分配的滞后的问 题, 从而减小了 ONU的緩存需求, 降低了线路时延。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所 需要使用的附图作简单地介绍,显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例, 对于本领域技术人员来讲, 在不付出创造性劳动的前提下, 还 可以根据这些附图获得其他的附图。
图 1是本发明现有技术中无源光网络拓朴架构图;
图 2是本发明实施例中带宽分配的方法的一实施例示意图;
图 3是本发明实施例中带宽分配的方法的一实施例示意图;
图 4是本发明实施例中带宽分配的方法的另一实施例示意图;
图 5是本发明实施例中带宽分配的方法的一实施例示意图;
图 6是本发明实施例中带宽分配的方法的另一实施例示意图;
图 7是本发明实施例光网络设备的一实施例示意图;
图 8是本发明实施例光网络设备的另一实施例示意图;
图 9是本发明实施例光网络设备的另一实施例示意图;
图 10是本发明实施例光网络设备的另一实施例示意图;
图 11是本发明实施例光网络设备的另一实施例示意图;
图 12是本发明实施例光网络设备的另一实施例示意图; 图 13是本发明实施例光线路终端的一实施例示意图;
图 14是本发明实施例光线路终端的另一实施例示意图;
图 15是本发明实施例光线路终端的另一实施例示意图;
图 16是本发明实施例光网络设备的另一实施例示意图;
图 17是本发明实施例光网络设备的另一实施例示意图;
图 18是本发明实施例光线路终端的另一实施例示意图;
图 19A是本发明实施例中系统的一实施例示意图;
图 19B是本发明实施例中系统的另一实施例示意图。
具体实施方式
本发明实施例提供一种带宽分配的方法,解决了在非光纤到用户场景中带 宽分配滞后的问题, 从而减小了光网络设备的緩存需求, 降低了线路时延。 本 发明实施例还提供了相应的设备及系统。 以下分别进行详细说明。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域技术人员在没有作出创造性劳 动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
参阅图 2, 本发明实施例提供的带宽分配的方法的一实施例包括:
101、 光网络设备获取用户端发送的即将到达的数据的流量和到达时间。 光网络设备为无源光网络中的光网络单元(Optical Network unit, ONU ), 但不限于 ONU。
用户端发生重传、 上下行带宽比例切换、 睡眠模式切换等变化时, ONU 会感知用户端发送的即将到达的数据的流量变化,可以获取到即将到达的数据 的流量和到达时间, 这部分获取即将到达的数据的流量和到达时间为现有技 术, 在本发明实施例中不做过多赘述。
102、 光网络设备根据所述到达时间、 预存储的带宽的生效时间和光线路 终端分配带宽的时间,确定向光线路终端请求带宽的时间, 并在到达所述请求 带宽的时间时,向所述光线路终端请求所述流量的即将到达的数据所需要的带 宽。 带宽的生效时间和光线路终端分配带宽的时间是预先设置的, 因此, 光网 络设备可以计算好在哪个时间向光线路终端请求带宽 ,使光线路终端分配的带 宽在到达时间到来时刚好生效。
例如: 光网络设备获取数据的到达时间为 t、 预存储的带宽的生效时间为 A tl、 光线路终端分配带宽的时间为 A t2, 那么光网络设备就可以在(t- A tl- A tS ) 时刻向光线路终端请求带宽, 这样, 在 (t- A tl ) 时刻光网络设备接收 到带宽, 经过 A t2时间带宽生效后, 刚好到达 t时间。
103、 光网络设备获取所述光线路终端分配的带宽。
104、 光网络设备在所述到达时间, 所述即将到达的数据到达, 使用所述 带宽传输到达的所述数据。
在到达的时间到来时, 用户端发送的数据刚好到达光网络设备, 而这时, 带宽已生效, 因此带宽分配不会发生滞后。
本发明实施例采用获取用户端发送的即将到达的数据的流量和到达时间; 根据所述到达时间、 预存储的带宽的生效时间和光线路终端分配带宽的时间, 确定向光线路终端请求带宽的时间, 并在到达所述请求带宽的时间时, 向所述 光线路终端请求所述流量的即将到达的数据所需要的带宽;获取所述光线路终 端分配的带宽; 在所述到达时间, 所述即将到达的数据到达, 使用所述带宽传 输到达的所述数据。 与现有技术中带宽分配中都存在滞后相比, 本发明实施例 提供的方法, 可以在用户端的数据到达光网络设备时, 光线路终端给该到来的 数据分配的带宽已生效, 解决了在非光纤到用户场景中带宽分配的滞后的问 题, 从而减小了 ONU的緩存需求, 降低了线路时延。
可选地, 在上述图 2对应的实施例的基石出上, 本发明实施例提供的带宽分 配的方法的第一个可选实施例中,所述向所述光线路终端请求所述流量的即将 到达的数据所需要的带宽, 可以包括:
根据所述即将到达的数据的流量,将正要向所述光线路终端传输的数据中 的空闲帧的部分或者全部修改为与所述光线路终端预先约定的无效数据帧 ,其 中, 所述正要传输的数据的流量小于所述即将到达的数据的流量;
向所述光线路终端传输所述包含无效数据帧的所述正要传输的数据。 本发明实施例中, ONU与 OLT之间可以预先约定好无效数据帧的格式, 这 样, 当 ONU感知到即将到来的数据流量比正在传输的数据的流量大时, 通过 将空闲帧修改为无效数据帧的形式来告知 OLT即将到来的数据需要较大带宽, 这样 OLT就不会缩减带宽, 或者, 根据即将到来的数据的流量, 适当的调整带 宽。
可选地, 在上述图 2对应的实施例的基石出上, 本发明实施例提供的带宽分 配的方法的第二个可选实施例中,所述向所述光线路终端请求所述流量的即将 到达的数据所需要的带宽, 可以包括:
向所述光线路终端发送带宽分配请求,所述带宽分配请求中携带所述即将 到达的数据的带宽需求指示信息 ,以使所述光线路终端根据所述带宽需求指示 信息给所述即将到达的数据分配对应所述即将到达的数据的流量的带宽。
本发明实施例中, ONU通过状态^艮告的形式向 OLT请求带宽, 带宽需求指 示信息可以为具体的带宽值,也可以为即将到来的数据的緩存量,还可以为传 输即将到来的数据的时间长度,对此不做限定, 只要使光线路终端能分配合适 的带宽即可。
可选地,在上述图 2对应的实施例及图 2对应的第一个或第二个可选实施例 的基石出上, 本发明实施例提供的带宽分配的方法的第三个可选实施例中, 所述获取所述光线路终端分配的带宽, 可以包括:
接收所述光线路终端发送的带宽分配表,所述带宽分配表中携带传输所述 即将到达的数据的起始时间点和结束时间点, 其中, 所述起始时间点为所述到 达时间。
带宽分配表可以参阅表 1进行理解:
表 1 : 带宽分配表
用户端标识 传输时间
ONU1 tl-t2
ONU 2 t2-t3
ONU 3 t3-t4
, , . , , . 因一个 OLT负责给艮多 0NU分配带宽, 为避免每个 0NU之间传输的数据 互相冲突, 所以一个时间段内只能传输一个 ONU的数据。 从表 1中可以获知 ONU1可以在 tl-t2时间内传输 ONU1侧的用户端发送的, 在 tl时间刚好到达 ONU1的数据, 可以在 t2-t3时间内传输 ONU2侧的用户端发送的,在 t2时间刚好 到达 ONU2的数据, 可以在 t3-t4时间内传输 ONU3侧的用户端发送的,在 t3时间 刚好到达 ONU3的数据。
对于此种场景, 一旦 PON网络确定, 单位时间内传输数据的流量是固定, 所以光网络设备只需要按照带宽分配表上的时间段传输对应用户端发送的数 据。
本发明实施例中,对于到达时间的获取可以通过流量的变化感知即将到来 的数据的类型, 如: 重传、 上下行比例切换、 睡眠模式切换等等。
例如: ONU预先知道每种类型的数据从用户端到 ONU的时间, 如: 光网 络设备在 T1时刻, 获取用户端正在发生的数据传输行为重传, 那么 ONU可以 根据预存储的重传与到达的时间对应关系计算出重传数据到达的时间为 T2。 如: ONU在 T1时刻, 获取用户端正在发生的数据传输行为上下行带宽比例切 换, 那么 ONU可以根据预存储的上下行带宽比例切换与到达的时间的对应关 系, 计算出上下行带宽比例切换数据到达的时间为 Τ3。 如: ONU在 T1时刻, 获取用户端正在发生的数据传输行为睡眠模式切换, 那么 ONU可以根据预存 储的睡眠切换与到达的时间的对应关系计算出重传数据到达的时间为 Τ4。其中 Τ2、 Τ3、 Τ4都分别大于 Tl。 当然, 本发明实施例中只给出以上几种数据类型 进行举例, 实际上还可以包括其他很多种数据类型。
例如: ONU中可以存储有一张数据类型与到达时间的映射表, 如表 2:
表 2: 数据类型与到达时间的映射表
数据传输行为 对应关系
重传 T2=f(T 1)
上下行带宽比例切换 T3=f(T 1)
睡眠模式切换 T4=f(T 1)
, , . , , . 其他数据类型 TX=f(T 1)
由表 2可以明确的看出, 当 ONU在 T1时刻获知用户端的正在发送数据的类 型后, 可以根据表中的对应关系, 计算得到各种行为对应的达到时间。
参阅图 3 , 本发明实施例提供的带宽分配的方法的另一实施例包括:
201、 光网络设备获取用户端发送的即将到达的数据的流量和到达时间。 202、 光网络设备向光线路终端请求所述流量的即将到达的数据所需要的 带宽, 并将所述到达时间上报给所述光线路终端, 以使所述光线路终端根据所 述到达时间、预存储的分配带宽的时间和光网络设备侧带宽的生效时间确定为 所述光网络设备分配带宽的时间。
本发明实施例中,光网络设备获取到达时间后,就向光线路终端请求带宽, 并将到达时间上报给光线路终端, 由光线路终端来掌控带宽的下发时间, 只要 在到达时间到来时, 下发给光网络设备的设备带宽生效即可。
例如: 光网络设备获取数据的到达时间为 t、 将该到达时间 t上报给光线路 终端, 光线路终端中预存储的光网络设备侧带宽的生效时间为 A tl、 光线路终 端分配带宽的时间为 A t2 , 那么光线路终端就可以在(t- A tl- A t2 )时刻分准 备分配带宽, 这样, 在 (t- A tl ) 时刻向光网络设备下发带宽, 经过 A t2时间 带宽生效后, 刚好到达 t时间。
203、 光网络设备获取所述光线路终端分配的带宽。
204、 光网络设备在所述到达时间, 所述即将到达的数据到达, 使用所述 带宽传输到达的所述数据。
本发明实施例中, 获取用户端发送的即将到达的数据的流量和到达时间; 向光线路终端请求所述流量的即将到达的数据所需要的带宽 ,并将所述到达时 间上报给所述光线路终端, 以使所述光线路终端根据所述到达时间、预存储的 分配带宽的时间和光网络设备侧带宽的生效时间确定为所述光网络设备分配 带宽的时间; 获取所述光线路终端分配的带宽; 在所述到达时间, 所述即将到 达的数据到达,使用所述带宽传输到达的所述数据。 与现有技术中带宽分配中 都存在滞后相比,本发明实施例提供的方法, 可以在用户端的数据到达光网络 设备时, 光线路终端给该到来的数据分配的带宽已生效,解决了在非光纤到用 户场景中带宽分配的滞后的问题, 从而减小了 ONU的緩存需求, 降低了线路 时延。
可选地, 在上述图 3对应的实施例中, 本发明实施例提供的带宽分配方法 的第一个可选实施例中,所述向光线路终端请求所述流量的即将到达的数据所 需要的带宽, 并将所述到达时间上报给所述光线路终端, 可以包括:
根据所述即将到达的数据的流量,将正要向所述光线路终端传输的数据中 的空闲帧的部分或者全部修改为与所述光线路终端预先约定的无效数据帧 ,并 将所述到达时间写入所述正要传输的数据中; 其中, 所述正要传输的数据的流 量小于所述即将到达的数据的流量;
向所述光线路终端传输包含无效数据帧的所述正要传输的数据。本发明实 施例中, 本发明实施例中, ONU与 OLT之间预先约定好无效数据帧的格式, 这 样, 当 ONU感知到即将到来的数据流量比正在传输的数据的流量大时, 通过 将空闲帧修改为无效数据帧的形式来告知 OLT即将到来的数据需要较大带宽, 这样 OLT就不会缩减带宽, 或者, 根据即将到来的数据的流量, 适当的调整带 宽。
而且, 将到达时间写入正在传输的数据中, 以使 OLT可以准确的计算出下 发带宽的时间。
可选地, 在上述图 3对应的实施例中, 本发明实施例提供的带宽分配方法 的第二个可选实施例中,所述向光线路终端请求所述流量的即将到达的数据所 需要的带宽, 并将所述到达时间上报给所述光线路终端, 可以包括:
向所述光线路终端发送带宽分配请求,所述带宽分配请求中携带所述即将 到达的数据的带宽需求指示信息和所述到达时间。
本发明实施例中, ONU通过状态^艮告的形式向 OLT请求带宽, 带宽需求指 示信息可以为具体的带宽值,也可以为即将到来的数据的緩存量,还可以为传 输即将到来的数据的时间长度,对此不做限定, 只要使光线路终端能分配合适 的带宽即可。 而且在带宽分配请求中携带到达时间, 以使 OLT可以准确的计算 出下发带宽的时间。
可选地,在上述图 3对应的实施例及图 3对应的第一个或第二个可选实施例 的基石出上, 本发明实施例提供的带宽分配的方法的第三个可选实施例中, 所述获取所述光线路终端分配的带宽, 可以包括:
接收所述光线路终端发送的带宽分配表,所述带宽分配表中携带传输所述 即将到达的数据的起始时间点和结束时间点, 其中, 所述起始时间点为所述到 达时间。
带宽分配表可以参阅表 1进行理解, 这里不做过多赘述。
参阅图 4, 本发明实施例提供的带宽分配的方法的另一实施例包括:
211、 光线路终端获取光网络设备对即将到达的数据的带宽需求和所述即 将到达的数据到达所述光网络设备的到达时间。
212、 光线路终端根据所述到达时间、 预存储的分配带宽的时间和光网络 设备侧带宽的生效时间确定为所述光网络设备分配带宽的时间 ,并在所述分配 带宽的时间到来时, 为所述光网络设备分配所需的带宽。
例如: 光网络设备获取数据的到达时间为 t、 将该到达时间 t上报给光线路 终端, 光线路终端中预存储的光网络设备侧带宽的生效时间为 A tl、 光线路终 端分配带宽的时间为 A t2, 那么光线路终端就可以在(t- A tl- A t2 )时刻分准 备分配带宽, 这样, 在 (t- A tl ) 时刻向光网络设备下发带宽, 经过 A t2时间 带宽生效后, 刚好到达 t时间。 络设备在所述到达时间, 所述即将到达的数据到达,使用所述带宽传输到达的 所述数据。
本发明实施例中,获取光网络设备对即将到达的数据的带宽需求和所述即 将到达的数据到达所述光网络设备的到达时间; 根据所述到达时间、预存储的 分配带宽的时间和光网络设备侧带宽的生效时间确定为所述光网络设备分配 带宽的时间, 并在所述分配带宽的时间到来时, 为所述光网络设备分配所需的 带宽; 向所述光网络设备下发分配的所述带宽, 以使所述光网络设备在所述到 达时间, 所述即将到达的数据到达, 使用所述带宽传输到达的所述数据。 与现 有技术中带宽分配中都存在滞后相比, 本发明实施例提供的方法, 可以在用户 端的数据到达光网络设备时, 光线路终端给该到来的数据分配的带宽已生效, 解决了在非光纤到用户场景中带宽分配的滞后的问题, 从而减小了 ONU的緩 存需求, 降低了线路时延。
可选地, 在上述图 4对应的实施例的基石出上, 本发明实施例提供的带宽分 配的方法的第一个可选实施例中,所述获取光网络设备对即将到达的数据的带 宽需求和所述即将到达的数据到达所述光网络设备的到达时间, 可以包括: 从正在接收的所述光网络设备传输来的数据中,识别与所述光网络设备预 先约定的无效数据帧;
根据所述无效数据帧的数量确定所述即将到达的数据的带宽需求; 从所述数据中提取出所述即将到达的数据到达所述光网络设备的到达时 间。
无效数据帧只作为对即将到达光网络设备的数据的带宽需求,没有实际意 义, 光线路终端可以直接丟弃。
本发明实施例中,当光网络设备向光线路终端请求带宽是以空闲帧监控的 方式来请求时, OLT从数据中提取到达时间。具体从哪个位置提取,可以与 ONU 预先预定或由标准或规定定义, 或者 ONU在写入时, 带入一个标识, OLT从有 标识的位置提取。
可选地, 在上述图 4对应的实施例的基石出上, 本发明实施例提供的带宽分 配的方法的第二个可选实施例中,所述获取光网络设备对即将到达的数据的带 宽需求和所述即将到达的数据到达所述光网络设备的到达时间, 可以包括: 接收所述光网络设备发送的带宽分配请求,所述带宽分配请求中携带所述 即将到达的数据的带宽需求指示信息和所述到达时间;
从所述带宽分配请求中解析出所述即将到达的数据的带宽需求指示信息 和所述到达时间。
本发明实施例中, OLT可以直接从带宽分配请求中解析出到达时间。 可选地,在上述图 4对应的实施例、 图 4对应的第一个或第二个可选实施例 的基石出上, 本发明实施例提供的带宽分配的方法的第三个可选实施例中, 所述 向所述光网络设备下发分配的所述带宽, 可以包括:
接收所述光网络设备发送带宽分配表,所述带宽分配表中携带传输所述即 将到达的数据的起始时间点和结束时间点, 其中, 所述起始时间点为所述到达 时间。
带宽分配表可以参阅表 1进行理解。
为了便于理解, 下面以一个应用场景为例,说明本发明实施例中带宽分配 的过程:
参阅图 5 , 本发明应用场景实施例中包含用户端、 光网络设备和光线路终 端;
S100、 光网络设备获取用户端发送的即将到达的数据的流量和到达时间。 S105、光网络设备根据所述到达时间、预存储的带宽的生效时间和光线路 终端分配带宽的时间,计算向光线路终端请求所述流量的即将到达的数据所需 要的带宽的时间。
带宽的生效时间和光线路终端分配带宽的时间是预先设置的, 因此, 光网 络设备可以计算好在哪个时间向光线路终端请求带宽 ,使光线路终端分配的带 宽在到达时间到来时刚好生效。
例如: 光网络设备获取数据的到达时间为 t、 预存储的带宽的生效时间为
A tl、光线路终端分配带宽的时间为 A t2 , 那么光网络设备计算出的请求带宽 的时间为 (t- A tl- A t2 )。
S110、 光网络设备向光线路终端请求带宽。
S115、 光线路终端生成带宽分配表。
带宽分配表可以参阅表 1进行理解, 如带宽分配表中指示传输该用户端的 重传数据可以在 t-tl时刻传输, tl大于 t。
S120、 光线路终端下发带宽分配表。
光线路终端在 t- Δ tl时刻下发带宽分配表。
S125、 带宽分配表生效。
经过 A tl时间, 在 t时刻到来时, 带宽分配表生效。
S130、 光网络设备在所述到达时间, 所述即将到达的数据到达, 使用所述 带宽传输到达的所述数据。
在 t时刻, 用户端发送的数据到达光网络设备, 带宽分配表已生效, 所以, 光网络设备可以传输到达的数据, 不需要进行緩存, 如果数据少量提前到达, 可以緩存一部分, 到 t时刻进行传输。
参阅图 6, 本发明另一应用场景实施例中包含用户端、 光网络设备和光线 路终端;
S200、 光网络设备获取用户端发送的即将到达的数据的流量和到达时间。
S205、光网络设备向光线路终端请求所述流量的即将到达的数据所需要的 带宽, 并将所述到达时间上报给所述光线路终端。
S210、光线路终端根据所述到达时间、预存储的分配带宽的时间和光网络 设备侧带宽的生效时间计算生成带宽分配表的时间。
例如: 光网络设备获取数据的到达时间为 t、 预存储的带宽的生效时间为
A tl、光线路终端分配带宽的时间为 A t2 , 那么光线路终端计算出的生成带宽 分配表的时间为 ( t- Δ tl - Δ t2 )。
S215、 光线路终端生成带宽分配表。
带宽分配表可以参阅表 1进行理解, 如带宽分配表中指示传输该用户端的 重传数据可以在 t-tl时刻传输, tl大于 t。
S220、 光线路终端下发带宽分配表。
光线路终端在 t- Δ tl时刻下发带宽分配表。
S225、 带宽分配表生效。
经过 A tl时间, 在 t时刻到来时, 带宽分配表生效。
S230、 光网络设备在所述到达时间, 所述即将到达的数据到达, 使用所述 带宽传输到达的所述数据。
在 t时刻, 用户端发送的数据到达光网络设备, 带宽分配表已生效, 所以, 光网络设备可以传输到达的数据, 不需要进行緩存, 如果数据少量提前到达, 可以緩存一部分, 到 t时刻进行传输。
参阅图 7, 本发明实施例提供的光网络设备的一实施例包括:
第一获取单元 301 , 用于获取用户端发送的即将到达的数据的流量和到达 时间;
第一带宽请求单元 302, 用于根据所述第一获取单元 301获取的到达时间、 预存储的带宽的生效时间和光线路终端分配带宽的时间 ,确定向光线路终端请 求带宽的时间, 并在到达所述请求带宽的时间时, 向所述光线路终端请求所述 流量的即将到达的数据所需要的带宽;
所述第一获取单元 301 , 还用于获取所述光线路终端分配的带宽; 第一传输单元 303 , 用于在所述到达时间, 所述即将到达的数据到达, 使 用所述第一获取单元获取的带宽传输到达的所述数据。
本发明实施例中, 第一获取单元 301获取用户端发送的即将到达的数据的 流量和到达时间;第一带宽请求单元 302根据所述第一获取单元 301获取的到达 时间、预存储的带宽的生效时间和光线路终端分配带宽的时间,确定向光线路 终端请求带宽的时间, 并在到达所述请求带宽的时间时, 向所述光线路终端请 求所述流量的即将到达的数据所需要的带宽; 所述第一获取单元 301还获取所 述光线路终端分配的带宽; 第一传输单元 303在所述到达时间, 所述即将到达 的数据到达,使用所述第一获取单元获取的带宽传输到达的所述数据。 与现有 间提前通知给光线路终端, 使光线路终端提前为该用户端发送的数据准备带 宽, 从而解决了带宽分配滞后的问题, 还可以减少光网络设备的緩存压力。
在上述图 7对应的实施例的基石出上, 参阅图 8, 本发明实施例提供的光网络 设备的另一实施例中, 所述第一带宽请求单元 302, 包括:
第一帧修改子单元 3021 , 用于根据所述即将到达的数据的流量,将正要向 所述光线路终端传输的数据中的空闲帧的部分或者全部修改为与所述光线路 终端预先约定的无效数据帧, 其中, 所述正在传输的数据的流量小于所述即将 到达的数据的流量;
第一传输子单元 3022,用于向所述光线路终端传输所述第一帧修改子单元 3021修改的包含无效数据帧的所述正要传输的数据。
在上述图 7对应的实施例的基石出上, 参阅图 9, 本发明实施例提供的光网络 设备的另一实施例中, 所述第一带宽请求单元 302, 包括:
第二传输子单元 3023 , 用于向所述光线路终端发送带宽分配请求, 所述带 宽分配请求中携带所述即将到达的数据的带宽需求指示信息,以使所述光线路 终端根据所述带宽需求指示信息给所述即将到达的数据分配对应所述即将到 达的数据的流量的带宽。
在上述图 7、 图 8、 图 9对应的任一实施例的基础上, 本发明实施例提供的 光网络设备的另一实施例中,
所述第一获取单元 301 , 用于接收所述光线路终端发送的带宽分配表, 所 述带宽分配表中携带传输所述即将到达的数据的起始时间点和结束时间点,其 中, 所述起始时间点为所述到达时间。
参阅图 10, 本发明实施例提供的光网络设备的另一实施例包括: 第二获取单元 311 , 用于获取用户端发送的即将到达的数据的流量和到达 时间;
第二带宽请求单元 312 ,用于向光线路终端请求所述第二获取单元 311获取 的流量的即将到达的数据所需要的带宽,并将所述到达时间上报给所述光线路 终端, 以使所述光线路终端根据所述到达时间、预存储的分配带宽的时间和光 网络设备侧带宽的生效时间确定为所述光网络设备分配带宽的时间;
所述第二获取单元 311 , 用于获取所述光线路终端分配的带宽;
第二传输单元 313 , 用于在所述到达时间, 所述即将到达的数据到达, 使 用所述第二获取单元 311获取的带宽传输到达的所述数据。
本发明实施例中, 第二获取单元 311获取用户端发送的即将到达的数据的 流量和到达时间; 第二带宽请求单元 312向光线路终端请求所述第二获取单元 311获取的流量的即将到达的数据所需要的带宽, 并将所述到达时间上报给所 述光线路终端, 以使所述光线路终端根据所述到达时间、预存储的分配带宽的 时间和光网络设备侧带宽的生效时间确定为所述光网络设备分配带宽的时间; 所述第二获取单元 311获取所述光线路终端分配的带宽;第二传输单元 313在所 述到达时间, 所述即将到达的数据到达, 使用所述第二获取单元 311获取的带 宽传输到达的所述数据。 与现有技术相比, 本发明实施例提供的光网络设备可 以将用户端发送的数据的到达时间提前通知给光线路终端,使光线路终端提前 为该用户端发送的数据准备带宽,从而解决了带宽分配滞后的问题,还可以减 少光网络设备的緩存压力。 在上述图 10对应的实施例的基石出上, 参阅图 11 , 本发明实施例提供的光网 络设备的另一实施例中, 所述第二带宽请求单元 312包括:
第二帧修改子单元 3121 , 用于根据所述即将到达的数据的流量,将正要向 所述光线路终端传输的数据中的空闲帧的部分或者全部修改为与所述光线路 终端预先约定的无效数据帧, 并将所述到达时间写入所述正要传输的数据中; 其中, 所述正要传输的数据的流量小于所述即将到达的数据的流量;
第三传输子单元 3122,用于向所述光线路终端传输所述第二帧修改子单元 3121修改后的包含无效数据帧的所述正要传输的数据。
在上述图 10对应的实施例的基石出上, 参阅图 12, 本发明实施例提供的光网 络设备的另一实施例中, 所述第二带宽请求单元 312包括:
第四传输子单元 3123 , 用于向所述光线路终端发送带宽分配请求, 所述带 宽分配请求中携带所述即将到达的数据的带宽需求指示信息和所述到达时间。
在上述图 10、 11、 12任一对应的实施例的基石出上, 本发明实施例提供的光 网络设备的另一实施例中,
所述第二获取单元 313 , 用于接收所述光线路终端发送的带宽分配表, 所 述带宽分配表中携带传输所述即将到达的数据的起始时间点和结束时间点,其 中, 所述起始时间点为所述到达时间。
参阅图 13 , 本发明实施例提供的光线路终端的一实施例包括:
第三获取单元 401 , 用于获取光网络设备对即将到达的数据的带宽需求和 所述即将到达的数据到达所述光网络设备的到达时间;
带宽分配单元 402, 用于根据所述第三获取单元 401获取的到达时间、预存 储的分配带宽的时间和光网络设备侧带宽的生效时间为所述即将到达的数据 分配所需的带宽;
发送单元 403, 用于向所述光网络设备下发分配的所述带宽分配单元 402 分配的带宽,以使所述光网络设备在所述到达时间,所述即将到达的数据到达, 使用所述带宽传输到达的所述数据。
本发明实施例中, 第三获取单元 401获取光网络设备对即将到达的数据的 带宽需求和所述即将到达的数据到达所述光网络设备的到达时间;带宽分配单 元 402根据所述第三获取单元 401获取的到达时间、预存储的分配带宽的时间和 光网络设备侧带宽的生效时间为所述即将到达的数据分配所需的带宽;发送单 元 403向所述光网络设备下发分配的所述带宽分配单元 402分配的带宽,以使所 述光网络设备在所述到达时间, 所述即将到达的数据到达,使用所述带宽传输 到达的所述数据。 与现有技术相比, 本发明实施例提供的光线路终端可以在用 户端的数据到达光网络设备时, OLT提前将带宽准备好, 避免了带宽分配滞后 和数据在光网络设备緩存。
在图 13对应的实施例的基石出上, 参阅图 14, 本发明实施例提供的光线路终 端的另一实施例中, 所述第三获取单元 401 , 包括:
第一接收子单元 4011 , 用于接收的所述光网络设备传输来的数据; 识别子单元 4012,用于从所述第一接收子单元 4011正在接收的所述光网络 设备传输来的数据中, 识别与所述光网络设备预先约定的无效数据帧;
带宽确定子单元 4013 ,用于根据所述识别子单元 4012识别的无效数据帧的 数量确定所述即将到达的数据的带宽需求;
提取子单元 4014,用于从所述第一接收子单元 4011接收的数据中提取出所 述即将到达的数据到达所述光网络设备的到达时间。
在图 13对应的实施例的基石出上, 参阅图 15 , 本发明实施例提供的光线路终 端的另一实施例中, 所述第三获取单元 401 , 包括:
第二接收子单元 4015 , 用于接收所述光网络设备发送的带宽分配请求, 所 述带宽分配请求中携带所述即将到达的数据的带宽需求指示信息和所述到达 时间;
解析子单元 4016,用于从所述第二接收子单元 4015接收的带宽分配请求中 解析出所述即将到达的数据的带宽需求指示信息和所述到达时间。
在上述图 13、 14或 15对应的实施例的基石出上, 本发明实施例提供的光线路 终端的另一实施例中,
所述发送单元 403 , 用于向所述光网络设备下发带宽分配表, 所述带宽分 配表中携带传输所述即将到达的数据的起始时间点和结束时间点, 其中, 所述 起始时间点为所述到达时间。 本发明实施例还提供了一种计算机可读存储介质, 该介质中存储有程序 , 该程序执行时包括上述光网络设备侧第一套带宽分配方法的部分或者全部步 骤。
本发明实施例还提供了一种计算机可读存储介质, 该介质中存储有程序 , 该程序执行时包括上述光网络设备侧第二套带宽分配方法的部分或者全部步 骤。
本发明实施例还提供了一种计算机可读存储介质, 该介质中存储有程序 , 该程序执行时包括上述光线路终端侧带宽分配方法的部分或者全部步骤。
参阅图 16, 本发明实施例提供的光网络设备的另一实施例包括: 第一接收 器 310、 第一发送器 320、 第一存储器 330和第一处理器 340; 第一接收器 310、 第一发送器 320、第一存储器 330和第一处理器 340通过总线或者其他方式连接, 第一存储器 330中存储有第一处理器 340执行步骤的程序;
其中, 所述第一接收器 310, 用于获取用户端发送的即将到达的数据的流 量和到达时间;
所述第一处理器 340, 用于根据所述到达时间、 预存储的带宽的生效时间 和光线路终端分配带宽的时间,确定向光线路终端请求带宽的时间, 并在到达 所述请求带宽的时间时,向所述光线路终端请求所述流量的即将到达的数据所 需要的带宽;
所述第一接收器 310, 还用于获取所述光线路终端分配的带宽;
所述第一接收器 310,还用于在所述到达时间, 所述即将到达的数据到达, 使用所述带宽接收到达的所述数据;
所述第一发送器 320, 用于在所述到达时间, 所述即将到达的数据到达, 使用所述带宽转发到达的所述数据。
本发明一些实施例中, 所述第一处理器 340, 用于根据所述即将到达的数 据的流量 ,将正要向所述光线路终端传输的数据中的空闲帧的部分或者全部修 改为与所述光线路终端预先约定的无效数据帧, 其中, 所述正要传输的数据的 流量小于所述即将到达的数据的流量;
所述第一发送器 320, 用于向所述光线路终端传输所述包含无效数据帧的 所述正要传输的数据。
本发明一些实施例中, 所述第一发送器 320, 用于向所述光线路终端发送 带宽分配请求,所述带宽分配请求中携带所述即将到达的数据的带宽需求指示 信息,以使所述光线路终端根据所述带宽需求指示信息给所述即将到达的数据 分配对应所述即将到达的数据的流量的带宽。
本发明一些实施例中, 所述第一接收器 310, 用于接收所述光线路终端发 送的带宽分配表,所述带宽分配表中携带传输所述即将到达的数据的起始时间 点和结束时间点, 其中, 所述起始时间点为所述到达时间。
参阅图 17 , 本发明提供的光网络设备的另一实施例包括: 第二接收器 350、 第二发送器 360、 第二存储器 370和第二处理器 380; 第二接收器 350、 第二发送 器 360、 第二存储器 370和第二处理器 380通过总线或者其他方式连接, 第二存 储器 370中存储有第二处理器 380执行步骤时的程序。
其中, 所述第二接收器 350, 用于获取用户端发送的即将到达的数据的流 量和到达时间;
第二处理器 380 , 用于向光线路终端请求所述流量的即将到达的数据所需 要的带宽, 并将所述到达时间上报给所述光线路终端, 以使所述光线路终端根 据所述到达时间、预存储的分配带宽的时间和光网络设备侧带宽的生效时间确 定为所述光网络设备分配带宽的时间;
第二接收器 350, 还用于获取所述光线路终端分配的带宽;
第二接收器 350 , 还用于在所述到达时间, 所述即将到达的数据到达, 使 用所述带宽接收到达的所述数据;
所述第二发送器 360 , 用于在所述到达时间, 所述即将到达的数据到达, 使用所述带宽转发到达的所述数据。
本发明一些实施例中, 所述第二处理器 380, 用于根据所述即将到达的数 据的流量 ,将正要向所述光线路终端传输的数据中的空闲帧的部分或者全部修 改为与所述光线路终端预先约定的无效数据帧 ,并将所述到达时间写入所述正 要传输的数据中; 其中, 所述正要传输的数据的流量小于所述即将到达的数据 的流量; 所述第二发送器 360, 还用于向所述光线路终端传输包含无效数据帧的所 述正要传输的数据。
本发明一些实施例中, 所述第二发送器 360, 还用于向所述光线路终端发 送带宽分配请求,所述带宽分配请求中携带所述即将到达的数据的带宽需求指 示信息和所述到达时间。
本发明一些实施例中, 所述第一接收器 350, 用于接收所述光线路终端发 送的带宽分配表,所述带宽分配表中携带传输所述即将到达的数据的起始时间 点和结束时间点, 其中, 所述起始时间点为所述到达时间。
参阅图 18, 本发明提供的光网络设备的另一实施例包括: 第三接收器 410、 第三发送器 420、 第三存储器 430和第三处理器 440; 第三接收器 410、 第三发送 器 420、 第三存储器 430和第三处理器 440通过总线或者其他方式连接, 第三存 储器 430中存储有第三处理器 440执行步骤时的程序。
其中, 所述第三接收器 410, 用于获取光网络设备对即将到达的数据的带 宽需求和所述即将到达的数据到达所述光网络设备的到达时间;
所述第三处理器 440, 用于根据所述到达时间、 预存储的分配带宽的时间 和光网络设备侧带宽的生效时间确定为所述光网络设备分配带宽的时间,并在 所述分配带宽的时间到来时, 为所述光网络设备分配所需的带宽;
所述第三发送器 420, 用于向所述光网络设备下发分配的所述带宽, 以使 所述光网络设备在所述到达时间, 所述即将到达的数据到达,使用所述带宽传 输到达的所述数据。
本发明一些实施例中, 所述第三接收器 410, 用于接收所述光网络设备传 输来的数据;
所述第三处理器 440,用于从正在接收的所述光网络设备传输来的数据中, 识别与所述光网络设备预先约定的无效数据帧;根据所述无效数据帧的数量确 定所述即将到达的数据的带宽需求;从所述数据中提取出所述即将到达的数据 到达所述光网络设备的到达时间。
本发明一些实施例中, 所述第三接收器 410, 用于接收所述光网络设备发 送的带宽分配请求,所述带宽分配请求中携带所述即将到达的数据的带宽需求 指示信息和所述到达时间;
所述第三处理器 440, 用于从所述带宽分配请求中解析出所述即将到达的 数据的带宽需求指示信息和所述到达时间。
本发明一些实施例中, 所述第三发送器 420, 用于向所述光网络设备下发 带宽分配表,所述带宽分配表中携带传输所述即将到达的数据的起始时间点和 结束时间点, 其中, 所述起始时间点为所述到达时间。
参阅图 19A, 本发明实施例提供的光网络系统的一实施例包括: 至少一个 用户端 50、至少一个光网络设备 30和光线路终端 40, 图中虽然只画出了两个光 网络设备 30,但不应理解为只有两个光网络设备 30, 实际上可以有艮多个光网 络设备 30。
光网络设备 30, 用于获取用户端发送的即将到达的数据的流量和到达时 间; 根据所述到达时间、预存储的带宽的生效时间和光线路终端分配带宽的时 间, 确定向光线路终端请求带宽的时间, 并在到达所述请求带宽的时间时, 向 所述光线路终端请求所述流量的即将到达的数据所需要的带宽;获取所述光线 路终端分配的带宽; 在所述到达时间, 所述即将到达的数据到达, 使用所述带 宽传输到达的所述数据。
参阅图 19B, 本发明实施例提供的光网络系统的一实施例包括: 至少一个 用户端 50、至少一个光网络设备 30和光线路终端 40, 图中虽然只画出了两个光 网络设备 30,但不应理解为只有两个光网络设备 30, 实际上可以有艮多个光网 络设备 30。
光网络设备 30, 用于获取用户端发送的即将到达的数据的流量和到达时 间; 向光线路终端请求所述流量的即将到达的数据所需要的带宽, 并将所述到 达时间上报给所述光线路终端, 以使所述光线路终端根据所述到达时间、预存 储的分配带宽的时间和光网络设备侧带宽的生效时间确定为所述光网络设备 分配带宽的时间; 获取所述光线路终端分配的带宽; 在所述到达时间, 所述即 将到达的数据到达, 使用所述带宽传输到达的所述数据。
光线路终端 40,用于获取光网络设备对即将到达的数据的带宽需求和所述 即将到达的数据到达所述光网络设备的到达时间; 根据所述到达时间、预存储 的分配带宽的时间和光网络设备侧带宽的生效时间确定为所述光网络设备分 配带宽的时间, 并在所述分配带宽的时间到来时, 为所述光网络设备分配所需 的带宽; 向所述光网络设备下发分配的所述带宽, 以使所述光网络设备在所述 到达时间, 所述即将到达的数据到达, 使用所述带宽传输到达的所述数据。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读 存储介质中, 存储介质可以包括: ROM、 RAM, 磁盘或光盘等。
以上对本发明实施例所提供的带宽分配的方法方法、设备及以及系统进行 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时,对于 本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均 会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。

Claims

权 利 要 求
1、 一种带宽分配的方法, 其特征在于, 包括:
获取用户端发送的即将到达的数据的流量和到达时间;
根据所述到达时间、预存储的带宽的生效时间和光线路终端分配带宽的时 间, 确定向光线路终端请求带宽的时间, 并在到达所述请求带宽的时间时, 向 所述光线路终端请求所述流量的即将到达的数据所需要的带宽;
获取所述光线路终端分配的带宽;
在所述到达时间, 所述即将到达的数据到达,使用所述带宽传输到达的所 述数据。
2、根据权利要求 1所述的方法, 其特征在于, 所述向所述光线路终端请求 所述流量的即将到达的数据所需要的带宽, 包括:
根据所述即将到达的数据的流量,将正要向所述光线路终端传输的数据中 的空闲帧的部分或者全部修改为与所述光线路终端预先约定的无效数据帧 ,其 中, 所述正要传输的数据的流量小于所述即将到达的数据的流量;
向所述光线路终端传输所述包含无效数据帧的所述正要传输的数据。
3、根据权利要求 1所述的方法, 其特征在于, 所述向所述光线路终端请求 所述流量的即将到达的数据所需要的带宽, 包括:
向所述光线路终端发送带宽分配请求,所述带宽分配请求中携带所述即将 到达的数据的带宽需求指示信息,以使所述光线路终端根据所述带宽需求指示 信息给所述即将到达的数据分配对应所述即将到达的数据的流量的带宽。
4、根据权利要求 1〜3任意一项所述的方法, 其特征在于, 所述获取所述光 线路终端分配的带宽, 包括:
接收所述光线路终端发送的带宽分配表,所述带宽分配表中携带传输所述 即将到达的数据的起始时间点和结束时间点, 其中, 所述起始时间点为所述到 达时间。
5、 一种带宽分配的方法, 其特征在于, 包括:
获取用户端发送的即将到达的数据的流量和到达时间;
向光线路终端请求所述流量的即将到达的数据所需要的带宽,并将所述到 达时间上报给所述光线路终端, 以使所述光线路终端根据所述到达时间、预存 储的分配带宽的时间和光网络设备侧带宽的生效时间确定为所述光网络设备 分配带宽的时间;
获取所述光线路终端分配的带宽;
在所述到达时间, 所述即将到达的数据到达,使用所述带宽传输到达的所 述数据。
6、根据权利要求 5所述的方法, 其特征在于, 所述向光线路终端请求所述 流量的即将到达的数据所需要的带宽,并将所述到达时间上报给所述光线路终 端, 包括:
根据所述即将到达的数据的流量,将正要向所述光线路终端传输的数据中 的空闲帧的部分或者全部修改为与所述光线路终端预先约定的无效数据帧 ,并 将所述到达时间写入所述正要传输的数据中; 其中, 所述正要传输的数据的流 量小于所述即将到达的数据的流量;
向所述光线路终端传输包含无效数据帧的所述正要传输的数据。
7、根据权利要求 5所述的方法, 其特征在于, 所述向光线路终端请求所述 流量的即将到达的数据所需要的带宽,并将所述到达时间上报给所述光线路终 端, 包括:
向所述光线路终端发送带宽分配请求,所述带宽分配请求中携带所述即将 到达的数据的带宽需求指示信息和所述到达时间。
8、根据权利要求 5〜7任意一项所述的方法, 其特征在于, 所述获取所述光 线路终端分配的带宽, 包括:
接收所述光线路终端发送的带宽分配表,所述带宽分配表中携带传输所述 即将到达的数据的起始时间点和结束时间点, 其中, 所述起始时间点为所述到 达时间。
9、 一种带宽分配的方法, 其特征在于, 包括:
获取光网络设备对即将到达的数据的带宽需求和所述即将到达的数据到 达所述光网络设备的到达时间;
根据所述到达时间、预存储的分配带宽的时间和光网络设备侧带宽的生效 时间确定为所述光网络设备分配带宽的时间, 并在所述分配带宽的时间到来 时, 为所述光网络设备分配所需的带宽;
向所述光网络设备下发分配的所述带宽 ,以使所述光网络设备在所述到达 时间, 所述即将到达的数据到达, 使用所述带宽传输到达的所述数据。
10、 根据权利要求 9所述的方法, 其特征在于, 所述获取光网络设备对即 将到达的数据的带宽需求和所述即将到达的数据到达所述光网络设备的到达 时间, 包括:
从正在接收的所述光网络设备传输来的数据中,识别与所述光网络设备预 先约定的无效数据帧;
根据所述无效数据帧的数量确定所述即将到达的数据的带宽需求; 从所述数据中提取出所述即将到达的数据到达所述光网络设备的到达时 间。
11、 根据权利要求 9所述的方法, 其特征在于, 所述获取光网络设备对即 将到达的数据的带宽需求和所述即将到达的数据到达所述光网络设备的到达 时间, 包括:
接收所述光网络设备发送的带宽分配请求 ,所述带宽分配请求中携带所述 即将到达的数据的带宽需求指示信息和所述到达时间;
从所述带宽分配请求中解析出所述即将到达的数据的带宽需求指示信息 和所述到达时间。
12、 根据权利要求 9〜11任意一项所述的方法, 其特征在于, 所述向所述光 网络设备下发分配的所述带宽, 包括:
向所述光网络设备下发带宽分配表,所述带宽分配表中携带传输所述即将 到达的数据的起始时间点和结束时间点, 其中, 所述起始时间点为所述到达时 间。
13、 一种光网络设备, 其特征在于, 包括:
第一获取单元, 用于获取用户端发送的即将到达的数据的流量和到达时 间;
第一带宽请求单元, 用于根据所述第一获取单元获取的到达时间、预存储 的带宽的生效时间和光线路终端分配带宽的时间,确定向光线路终端请求带宽 的时间, 并在到达所述请求带宽的时间时, 向所述向光线路终端请求所述流量 的即将到达的数据所需要的带宽;
所述第一获取单元, 还用于获取所述光线路终端分配的带宽;
第一传输单元, 用于在所述到达时间, 所述即将到达的数据到达, 使用所 述第一获取单元获取的带宽传输到达的所述数据。
14、 根据权利要求 13所述的光网络设备, 其特征在于, 所述第一带宽请求 单元, 包括:
第一帧修改子单元, 用于根据所述即将到达的数据的流量,将正要向所述 光线路终端传输的数据中的空闲帧的部分或者全部修改为与所述光线路终端 预先约定的无效数据帧, 其中, 所述正在传输的数据的流量小于所述即将到达 的数据的流量;
第一传输子单元,用于向所述光线路终端传输所述第一帧修改子单元修改 的包含无效数据帧的所述正要传输的数据。
15、 根据权利要求 13所述的光网络设备, 其特征在于, 所述第一带宽请求 单元, 包括:
第二传输子单元, 用于向所述光线路终端发送带宽分配请求, 所述带宽分 配请求中携带所述即将到达的数据的带宽需求指示信息,以使所述光线路终端 根据所述带宽需求指示信息给所述即将到达的数据分配对应所述即将到达的 数据的流量的带宽。
16、 根据权利要求 13〜15任意一项所述的光网络设备, 其特征在于, 所述第一获取单元, 用于接收所述光线路终端发送的带宽分配表, 所述带 宽分配表中携带传输所述即将到达的数据的起始时间点和结束时间点, 其中, 所述起始时间点为所述到达时间。
17、 一种光网络设备, 其特征在于, 包括:
第二获取单元, 用于获取用户端发送的即将到达的数据的流量和到达时 间;
第二带宽请求单元,用于向光线路终端请求所述第二获取单元获取的流量 的即将到达的数据所需要的带宽, 并将所述到达时间上报给所述光线路终端, 以使所述光线路终端根据所述到达时间、预存储的分配带宽的时间和光网络设 备侧带宽的生效时间确定为所述光网络设备分配带宽的时间;
所述第二获取单元, 用于获取所述光线路终端分配的带宽;
第二传输单元, 用于在所述到达时间, 所述即将到达的数据到达, 使用所 述第二获取单元获取的带宽传输到达的所述数据。
18、 根据权利要求 17所述的光网络设备, 其特征在于, 所述第二带宽请求 单元包括:
第二帧修改子单元, 用于根据所述即将到达的数据的流量,将正要向所述 光线路终端传输的数据中的空闲帧的部分或者全部修改为与所述光线路终端 预先约定的无效数据帧,并将所述到达时间写入所述正要传输的数据中;其中, 所述正要传输的数据的流量小于所述即将到达的数据的流量;
第三传输子单元,用于向所述光线路终端传输所述第二帧修改子单元修改 后的包含无效数据帧的所述正要传输的数据。
19、 根据权利要求 17所述的光网络设备, 其特征在于, 所述第二带宽请求 单元包括:
第四传输子单元, 用于向所述光线路终端发送带宽分配请求, 所述带宽分 配请求中携带所述即将到达的数据的带宽需求指示信息和所述到达时间。
20、 根据权利要求 17〜19任意一项所述的光网络设备, 其特征在于, 所述第二获取单元, 用于接收所述光线路终端发送的带宽分配表, 所述带 宽分配表中携带传输所述即将到达的数据的起始时间点和结束时间点, 其中, 所述起始时间点为所述到达时间。
21、 一种光线路终端, 其特征在于, 包括:
第三获取单元,用于获取光网络设备对即将到达的数据的带宽需求和所述 即将到达的数据到达所述光网络设备的到达时间;
带宽分配单元, 用于根据所述第三获取单元获取的到达时间、预存储的分 配带宽的时间和光网络设备侧带宽的生效时间确定为所述光网络设备分配带 宽的时间, 并在所述分配带宽的时间到来时, 为所述光网络设备分配所需的带 宽;
发送单元,用于向所述光网络设备下发分配的所述带宽分配单元分配的带 宽, 以使所述光网络设备在所述到达时间, 所述即将到达的数据到达, 使用所 述带宽传输到达的所述数据。
22、根据权利要求 21所述的光线路终端,其特征在于,所述第三获取单元, 包括:
第一接收子单元, 用于接收的所述光网络设备传输来的数据;
识别子单元,用于从所述第一接收子单元正在接收的所述光网络设备传输 来的数据中, 识别与所述光网络设备预先约定的无效数据帧;
带宽确定子单元,用于根据所述识别子单元识别的无效数据帧的数量确定 所述即将到达的数据的带宽需求;
提取子单元,用于从所述第一接收子单元接收的数据中提取出所述即将到 达的数据到达所述光网络设备的到达时间。
23、根据权利要求 21所述的光线路终端,其特征在于,所述第三获取单元, 包括:
第二接收子单元, 用于接收所述光网络设备发送的带宽分配请求, 所述带 宽分配请求中携带所述即将到达的数据的带宽需求指示信息和所述到达时间; 解析子单元,用于从所述第二接收子单元接收的带宽分配请求中解析出所 述即将到达的数据的带宽需求指示信息和所述到达时间。
24、 根据权利要求 21〜23任意一项所述的光线路终端, 其特征在于, 所述发送单元, 用于向所述光网络设备下发带宽分配表, 所述带宽分配表 中携带传输所述即将到达的数据的起始时间点和结束时间点, 其中, 所述起始 时间点为所述到达时间。
25、 一种光网络系统, 其特征在于, 包括: 至少一个用户端、 至少一个光 网络设备和光线路终端,
所述光网络设备为上述权利要求 13〜16任意一项所述的光网络设备。
26、 一种光网络系统, 其特征在于, 包括: 至少一个用户端、 至少一个光 网络设备和光线路终端, 所述光网络设备为上迷权利要求 17〜20任意一项所述的光网络设备; 所述光线路终端为上述权利要求 21〜24任意一项所述的光线路终端。
PCT/CN2013/074461 2013-04-19 2013-04-19 一种带宽分配的方法、设备及系统 WO2014169483A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201380000222.7A CN103518355B (zh) 2013-04-19 2013-04-19 一种带宽分配的方法、设备及系统
PCT/CN2013/074461 WO2014169483A1 (zh) 2013-04-19 2013-04-19 一种带宽分配的方法、设备及系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/074461 WO2014169483A1 (zh) 2013-04-19 2013-04-19 一种带宽分配的方法、设备及系统

Publications (1)

Publication Number Publication Date
WO2014169483A1 true WO2014169483A1 (zh) 2014-10-23

Family

ID=49899388

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/074461 WO2014169483A1 (zh) 2013-04-19 2013-04-19 一种带宽分配的方法、设备及系统

Country Status (2)

Country Link
CN (1) CN103518355B (zh)
WO (1) WO2014169483A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827523B (zh) * 2016-06-03 2019-04-30 无锡华云数据技术服务有限公司 一种在云存储环境中对多租户的带宽实现动态调整的虚拟网关
CN111586501B (zh) * 2019-02-19 2024-05-28 中兴通讯股份有限公司 数据传输方法、装置、ap、onu pon、组网及存储介质
CN116208565A (zh) * 2021-11-30 2023-06-02 华为技术有限公司 一种数据的传输方法,光发送设备以及光接收设备
CN118200774B (zh) * 2024-05-15 2024-08-06 中兴通讯股份有限公司 光网络系统的报文协同传输方法以及相关设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778313A (zh) * 2009-01-13 2010-07-14 中兴通讯股份有限公司 一种用于实现光网络单元及时上报的方法
CN101883294A (zh) * 2009-05-07 2010-11-10 华为技术有限公司 上行带宽分配方法和装置
CN101888342A (zh) * 2010-07-23 2010-11-17 中兴通讯股份有限公司 带宽分配方法及装置
US20110116803A1 (en) * 2009-11-19 2011-05-19 Fujitsu Limited Terminal apparatus, data transmission system and data transmission method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515883B (zh) * 2008-02-18 2011-12-28 华为技术有限公司 资源分配请求和分配方法及系统、光网络和光线路终端
JP5040732B2 (ja) * 2008-03-03 2012-10-03 沖電気工業株式会社 動的帯域割当方法及び動的帯域割当装置
CN101753412B (zh) * 2008-11-28 2013-02-27 中兴通讯股份有限公司 动态带宽处理方法和装置
WO2013059983A1 (zh) * 2011-10-25 2013-05-02 深圳市海思半导体有限公司 一种动态带宽分配方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778313A (zh) * 2009-01-13 2010-07-14 中兴通讯股份有限公司 一种用于实现光网络单元及时上报的方法
CN101883294A (zh) * 2009-05-07 2010-11-10 华为技术有限公司 上行带宽分配方法和装置
US20110116803A1 (en) * 2009-11-19 2011-05-19 Fujitsu Limited Terminal apparatus, data transmission system and data transmission method
CN101888342A (zh) * 2010-07-23 2010-11-17 中兴通讯股份有限公司 带宽分配方法及装置

Also Published As

Publication number Publication date
CN103518355A (zh) 2014-01-15
CN103518355B (zh) 2016-09-28

Similar Documents

Publication Publication Date Title
WO2018196867A1 (zh) 基于gpon系统的业务带宽分配方法及装置
EP2230785A2 (en) Optical line terminal, passive optical network system, and bandwidth assignment method
US9071380B2 (en) Multi-point control protocol proxy architecture in a network with optical and coaxial domains
EP3151490B1 (en) Data transmission control method, passive optical network equipment and device, and passive optical network
US9793993B2 (en) Method and apparatus of delivering upstream data in ethernet passive optical network over coaxial network
EP2618508A1 (en) Method and system for extending passive optical network and relay device
JP2004528740A (ja) 光アクセスネットワークにおけるダイナミックな帯域幅割り当ての方法及びシステム
WO2014139267A1 (zh) 一种提高带宽分配效率的方法及系统
EP2608438B1 (en) Dynamic bandwidth allocation method and device
WO2012119358A1 (zh) 无源光网络的动态带宽分配方法及装置
WO2018112981A1 (zh) 数据通信系统、光线路终端及基带单元
WO2012097568A1 (zh) 获取光网络单元故障信息的方法、系统和光线路终端
WO2014169483A1 (zh) 一种带宽分配的方法、设备及系统
WO2009000194A1 (fr) Procédé d'attribution de bande passante, système et appareil dans un réseau optique
CN102946363A (zh) 一种宽带多媒体卫星系统带宽请求方法
US8391285B2 (en) Communication apparatus, communication system, and communication method
WO2014201605A1 (zh) 带宽分配方法、装置、局端、终端和系统
WO2024037038A1 (zh) 下行帧长的处理方法及装置、存储介质、电子装置
WO2012103829A2 (zh) 一种同轴网络内数据传输方法、设备及系统
EP2723015A1 (en) Method and device for communicating granularity of parameters
CN113596628A (zh) 一种业务传输方法、装置、发送端及存储介质
CN112087678A (zh) 带宽的分配、带宽的检查方法及装置
JP4877483B2 (ja) 送信割当て方法及び装置
JP6093282B2 (ja) 光通信システム、通信制御方法及び局側光回線終端装置
JP2009141889A (ja) 光通信ネットワークシステム、加入者側装置および局側装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13882505

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13882505

Country of ref document: EP

Kind code of ref document: A1