WO2008145061A1 - Method, device, communication apparatus and communication system for bandwidth allocation - Google Patents

Method, device, communication apparatus and communication system for bandwidth allocation Download PDF

Info

Publication number
WO2008145061A1
WO2008145061A1 PCT/CN2008/071093 CN2008071093W WO2008145061A1 WO 2008145061 A1 WO2008145061 A1 WO 2008145061A1 CN 2008071093 W CN2008071093 W CN 2008071093W WO 2008145061 A1 WO2008145061 A1 WO 2008145061A1
Authority
WO
WIPO (PCT)
Prior art keywords
bandwidth
communication device
bandwidth allocation
remote communication
data frame
Prior art date
Application number
PCT/CN2008/071093
Other languages
French (fr)
Chinese (zh)
Inventor
Guo Wei
Wei Huang
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008145061A1 publication Critical patent/WO2008145061A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0241Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths
    • H04J14/0242Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON
    • H04J14/0249Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON for upstream transmission, e.g. ONU-to-OLT or ONU-to-ONU
    • H04J14/025Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON for upstream transmission, e.g. ONU-to-OLT or ONU-to-ONU using one wavelength per ONU, e.g. for transmissions from-ONU-to-OLT or from-ONU-to-ONU
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0241Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths
    • H04J14/0242Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON
    • H04J14/0245Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON for downstream transmission, e.g. optical line terminal [OLT] to ONU
    • H04J14/0246Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON for downstream transmission, e.g. optical line terminal [OLT] to ONU using one wavelength per ONU
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0278WDM optical network architectures
    • H04J14/0282WDM tree architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/76Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
    • H04L47/762Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions triggered by the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/76Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
    • H04L47/765Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions triggered by the end-points

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a bandwidth allocation method, apparatus, communication device, and communication system.
  • ATM Asynchronous Transfer Mode (ATM) Passive Optical Network
  • ATM PON ATM PON, APON
  • Broadband Passive Optical Network Broadband P0N, BP0N
  • Ethernet-based Passive Optical Network Ethernet PON, EP0N
  • Gigabit Passive Optical Network Gigabit PON, GPON
  • WDM-PON Wavelength Division Multiplexing PON
  • OCDMA-PON Optical Code Division Multiple Access PON
  • a passive optical network is a system that uses a trunk fiber connection between a central office (CO) as a service provider and a remote node (RN) located in the vicinity of the user's location.
  • CO central office
  • RN remote node
  • the remote node and the optical network termination/unit (ONT/ONU), which are the consumers of the service, are connected by the hexagram-type optical home, because the remote node is placed with a passive optical component.
  • each wavelength ⁇ is transmitted to the remote node RN by the splitting function of the remote node RN.
  • the corresponding ONU can only use the wavelength assigned to it to send upstream data and receive downstream data.
  • the 0NU modulates the uplink data by using the downlink signal light sent by the Optical Line Termination (OLT).
  • OLT Optical Line Termination
  • part of the downlink signal transmitted by the 0LT is modulated with downlink data, and the other part is reserved for 0NU modulated uplink data.
  • the data frame is shown in Figure 2.
  • the downlink signal transmitted by the 0LT is all modulated with downlink data, and the 0NT/0NU reuses the modulation depth principle to modulate the uplink data. Since the modulation depths of the uplink data and the downlink data are different, the 0LT can still be identified. Up and down data, its data frame is shown in Figure 3.
  • An embodiment of the present invention provides a bandwidth allocation method, where the method is configured to allocate bandwidth to at least one remote communication device, where the method includes: receiving an uplink data frame sent by at least one remote communication device, where the uplink data frame includes Determining the bandwidth allocation mode, parsing the received uplink data frame, and determining, according to the information indicating the bandwidth allocation manner, a bandwidth allocation mode for allocating bandwidth to the corresponding remote communication device; The far end communication device allocates a ratio of link bandwidth and/or uplink and downlink bandwidth.
  • the embodiment of the present invention further provides a bandwidth allocation apparatus, where the apparatus includes: a processing module, configured to parse an uplink data frame sent by at least one remote communication device to obtain information indicating a bandwidth allocation manner, and indicate an indication bandwidth allocation manner according to the parsing The information is determined as a bandwidth allocation manner corresponding to the bandwidth allocated to the remote communication device; the authorization module is configured to allocate a link bandwidth to the corresponding remote communication device and/or determine the upper and lower limits in the bandwidth allocation manner determined by the processing module. The ratio of the line link bandwidth.
  • the embodiment of the present invention further provides a communication system, where the system includes at least one central office communication device, at least one remote communication device, and the at least one remote communication device is configured to send to the at least one central office communication device
  • the at least one central office communication device is configured to receive an uplink data frame sent by the at least one remote communication device, and parse the received uplink data frame to obtain the indicated bandwidth allocation mode information, where Determined as the corresponding remote pass And determining, by the device, a bandwidth allocation manner of the bandwidth, determining a ratio of a link bandwidth and/or an uplink and downlink bandwidth of the corresponding remote communication device in the determined bandwidth allocation manner, and using the link bandwidth and/or The ratio of uplink and downlink bandwidth is sent to the corresponding remote communication device.
  • the embodiment of the present invention further provides a communication device, including: a receiving device, configured to receive an uplink data frame sent by at least one remote communication device, where the uplink data frame includes information indicating a bandwidth allocation manner; And analyzing, according to the information indicating the bandwidth allocation manner, a bandwidth allocation manner for allocating bandwidth to the corresponding remote communication device; and an authorization device, configured to determine a bandwidth according to the processing device
  • the allocation manner determines a ratio of link bandwidth and/or uplink and downlink bandwidth of the corresponding remote communication device. And transmitting, by the transmitting device, the ratio of the link bandwidth and/or the uplink and downlink bandwidth to the corresponding remote communication device.
  • the embodiment of the present invention further provides a communication device, including: a sending device, configured to send an uplink data frame to a central office communication device; and a processing device, configured to send, by using the sending device, the indication bandwidth allocation to the central office communication device And a receiving device, configured to receive, by the central office communications device, a downlink data frame that includes a ratio of an authorized link bandwidth and/or an uplink and downlink bandwidth, where the authorized link bandwidth and/or Or the ratio of the uplink and downlink bandwidth is a ratio of the link bandwidth and/or the uplink and downlink bandwidth obtained in the bandwidth allocation manner determined according to the information indicating the bandwidth allocation manner; the bandwidth control device is configured to The ratio of the link bandwidth and/or the uplink and downlink bandwidth of the communication device controls the uplink data bandwidth of the transmitting device.
  • multiple bandwidth allocations may be simultaneously provided for multiple remote communication devices according to the needs and/or processing conditions of the central office communication device and/or the remote communication device, and may also be based on the central office communication device and/or The need and/or processing status of the remote communication device dynamically adjusts the bandwidth allocation mode.
  • Figure 1 shows a conventional WDM-P0N system
  • FIG. 2 is a schematic structural diagram of a conventional 0LT uplink and downlink data frame
  • FIG. 3 is a schematic structural diagram of a conventional 0LT uplink and downlink data frame
  • FIG. 4 is a schematic flowchart of a non-predictive bandwidth allocation mechanism according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of a predictive bandwidth allocation mechanism according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of an uplink and downlink data frame structure according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a bandwidth allocation apparatus according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a communication system according to an embodiment of the present invention.
  • An embodiment of the present invention provides a bandwidth allocation method, where the method is configured to allocate bandwidth to at least one remote communication device, where the method includes: receiving an uplink data frame sent by at least one remote communication device, where the uplink data frame includes Determining the bandwidth allocation mode; parsing the received uplink data frame, and determining, according to the information indicating the bandwidth allocation manner, a bandwidth allocation mode for allocating bandwidth to the corresponding remote communication device; The remote communication device allocates a ratio of link bandwidth and/or uplink and downlink bandwidth.
  • the adaptive bandwidth allocation mechanism may be based on an authorized bandwidth allocation manner determined by the central office communication device and the remote communication device; or according to the needs of the central office communication device and the remote communication.
  • a bandwidth allocation manner can be determined between the central office communication device and the remote communication device by using a negotiation manner.
  • the pre-negotiation mode may be adopted.
  • the remote communication device may negotiate the bandwidth allocation manner with the central office communication device during the registration process or the initialization process.
  • the negotiation may also be performed during the data transmission process, for example, in data transmission.
  • the remote communication device may encapsulate the manner in which it is supported, in the above-mentioned reporting mode or non-reporting mode, in the uplink data frame to notify the central office communication device; the central office communication device may also support the manner supported by itself, such as prediction or non- The prediction mode is encapsulated in the downlink data frame to notify the remote communication device.
  • the information indicating the bandwidth allocation manner includes one or more of the following: an authorized bandwidth allocation manner, a bandwidth allocation mode supported by the remote communication device, and a bandwidth allocation mode supported by the central office communication device.
  • a central office communication device can generally access multiple remote communication devices, if the central office communication device and the remote communication device negotiate the bandwidth allocation mode (authorized bandwidth allocation mode) in a pre-negotiated manner, the data transmission is performed.
  • the central office communication device can determine the bandwidth allocation mode of the remote communication device in multiple manners. For example, the terminal communication device can identify the bandwidth allocation mode corresponding to the remote communication device.
  • the central office communication device Determining a bandwidth allocation manner corresponding to the remote communication device by identifying an address of the remote communication device, an identifier of the remote communication device, a wavelength of the data transmitted by the remote communication device, or the like; or pre-storing the bandwidth allocation mode and bandwidth supported by the communication device Correspondence of the allocation mode, in the process of parsing the received uplink data frame, if the bandwidth allocation mode supported by the remote communication device and/or the bandwidth allocation mode supported by the central office communication device are parsed from the received uplink data frame Determining a bandwidth allocator according to the correspondence .
  • the remote communication device may encapsulate the bandwidth allocation negotiation result in the uplink data frame, and the central office communication device parses the bandwidth allocation negotiation result from the data frame after receiving the uplink data frame, and determines that the bandwidth is allocated to the remote communication device.
  • the bandwidth allocation mode allocates bandwidth to the remote communication device according to the bandwidth allocation manner.
  • the central office communication device can provide a predictive type and a non-predictive type, and the remote communication device can provide a report type and a non-report type.
  • the predictive allocation mode of the central office communication device includes: statistic data record of the remote communication device can be counted, and the bandwidth required by the remote communication device is predicted according to a history record (such as bandwidth utilization). In this manner, the remote communication device may not The bandwidth of the request and/or its own congestion status needs to be reported, and the requirements for the remote communication device are low.
  • the non-predictive allocation mode of the central office communication device requires the remote communication device to report a bandwidth allocation reference data, such as the bandwidth requested by the remote communication device or the congestion of the remote communication device, and the authorization is determined according to the bandwidth allocation reference data.
  • a bandwidth allocation reference data such as the bandwidth requested by the remote communication device or the congestion of the remote communication device
  • the central office communication device can monitor the uplink data frame traffic sent by the remote communication device. (such as receiving buffer data) to obtain a data traffic history of the remote communication device.
  • the remote communication device can also report the congestion status to the local communication device by monitoring the congestion status of the local transmission buffer.
  • the central office communication device performs the bandwidth allocation to determine the authorized bandwidth according to the bandwidth allocation method, and encapsulates the determined authorized bandwidth (the uplink bandwidth value or the ratio of the uplink and downlink bandwidth) in the downlink data frame and sends the bandwidth to the remote end.
  • the communication device, the remote communication device transmits the uplink data by using the authorized bandwidth delivered by the central office communication device. Wherein, if the far-end communication device receives the ratio of uplink and downlink, it also needs to convert to the authorized uplink bandwidth according to the ratio.
  • the bandwidth allocation method provided by the embodiment of the present invention is applicable not only to the WDM-PON system but also to various P0N systems, such as ATM-P0N, BP0N, and GP0N, and is also applicable to various bidirectional link bandwidth allocation communications.
  • the optical line terminal 0LT in FIG. 4 and FIG. 5 is a flow chart for allocating bandwidth of the optical subscriber unit 0NU/0NT, wherein the optical line terminal 0LT corresponds to the central office communication device, and the optical subscriber unit 0NU/0NT corresponds to the remote communication device.
  • FIG. 4 is a schematic diagram of a data frame structure of the embodiment of the present invention shown in FIG. 6, and FIG. 4 is an example of a non-predictive bandwidth allocation manner.
  • the specific process is as follows:
  • the optical line terminal 0LT continuously sends unmodulated light to the 0NU/0NT;
  • S402 0NU/0NT determines whether it wants to re-register or initialize
  • a registration request is sent to the OLT, where the registration request carries a bandwidth allocation mode of 0NU/0NT, for example, in the registration request, the reporting mode indicates that the bit indicates 0NU/0NT ⁇ .
  • the bandwidth allocation mode used in the embodiment, the value is set to 1 to indicate that the bandwidth allocation mode used by the ONU/0NT is the report type;
  • the 0LT receives the registration request sent from the 0NU/0NT, registers the 0NU/0NT, and allocates an initial transmission rate for the 0NU/0NT;
  • 0LT sends a registration success response message to 0NU/0NT, where, registration The success response message carries the initial transmission rate, and also provides the 0LT/0NT bandwidth allocation mode supported by the 0LT/0NT.
  • the value of the prediction mode indication bit indicates the bandwidth allocation mode supported by the OLT. In this embodiment, the value is set to 0.
  • the bandwidth allocation mode supported by the 0LT is non-predictive, and returns the bandwidth allocation mode provided by the ONU/0NT.
  • the value of the reporting mode indication bit indicates the bandwidth allocation mode provided by the ONU/0NT. In this embodiment, the value is set to 1. Indicates that the bandwidth allocation mode provided by 0NU/0NT is the report type;
  • 0NU/0NT transmits the uplink data by using the authorized bandwidth provided by the 0LT, and the authorized bandwidth is the initial transmission rate during initialization, wherein 0NU/0NT encapsulates the bandwidth allocation mode of the 0LT and the bandwidth allocation mode of the 0NU/0NT in the uplink data frame. 0NU/0NT also encapsulates the congestion report in the uplink data frame; for example, the value of the prediction mode indication bit in the uplink data frame indicates the bandwidth allocation mode of the OLT, and in this embodiment, the value is set to 0 to indicate the bandwidth of the OLT.
  • the allocation mode is non-predictive, and the value of the reporting mode indication bit indicates the bandwidth allocation mode of the ONU/0NT. In this embodiment, the value is set to 1 to indicate that the bandwidth allocation mode of the ONU/0NT is the reporting type;
  • the 0LT receives the uplink data frame from the 0NU/0NT, parses the received uplink data frame, determines the bandwidth allocation mode according to the bandwidth allocation mode of the 0LT and the bandwidth allocation mode of the ONU/0NT, and determines the bandwidth allocation mode as the ONU. /0NT allocates bandwidth;
  • 0LT allocates bandwidth in a non-predictive bandwidth allocation mode, and 0LT calculates the bandwidth of 0NU/0NT next data transmission based on the congestion reported by 0NU/0NT.
  • the 0LT uses the calculated bandwidth as the next uplink bandwidth granted to the ONU/0NT, and encapsulates the authorized uplink bandwidth in the downlink data frame and sends it to the ONU/0NT; wherein, in the downlink data frame, The bandwidth allocation mode of the 0LT and the bandwidth allocation mode of the ONU are included; for example, the value of the prediction mode indication bit in the downlink data frame indicates the bandwidth allocation mode of the OLT, and in this embodiment, the value is set to 0 to indicate the bandwidth allocation mode of the OLT.
  • the value of the reporting mode indication bit indicates the bandwidth allocation mode of the ONU. In the present embodiment, the value of 1 indicates that the bandwidth allocation mode of the ONU is the reporting type.
  • the 0LT can convert the calculated bandwidth into the ratio of the uplink and downlink bandwidth, that is, the ratio of the authorized bandwidth to the current downlink data, and encapsulate the ratio of the uplink and downlink bandwidth in the downlink data frame and send it to the ONU/0NT.
  • the ONU/ONT needs to convert the received ratio to an authorized uplink bandwidth value. To transmit upstream data.
  • Figure 5 shows an example of a predictive bandwidth allocation method. The specific process is as follows:
  • S501 The optical line terminal 0LT continuously sends unmodulated light to the 0NU/0NT;
  • S502 0NU/0NT determines whether it wants to re-register or initialize
  • a registration request is sent to the OLT, where the registration request carries a bandwidth allocation mode of 0NU/0NT, such as using the value of the reporting mode indication bit to indicate that the 0NU/0NT is used.
  • the bandwidth allocation mode in the embodiment, the value is set to 0, indicating that the bandwidth allocation mode used by the ONU/0NT is non-reporting type;
  • the 0LT receives the registration request sent from the 0NU/0NT, registers the 0NU/0NT, and allocates an initial transmission rate for the 0NU/0NT;
  • the 0LT sends a registration success response message to the 0NU/0NT, where the registration success response message carries the initial transmission rate, and also provides the 0LT/0NT with the bandwidth allocation mode supported by the 0LT, such as using the prediction mode indication bit.
  • the value indicates the bandwidth allocation mode supported by the OLT. In this embodiment, the value is set to 1 to indicate that the bandwidth allocation mode supported by the OLT is predictive.
  • the registration success response message also returns the bandwidth allocation mode provided by the ONU/0NT, such as the reporting mode.
  • the value of the indication bit indicates the bandwidth allocation mode provided by the ONU/0NT.
  • the value is set to 0, indicating that the bandwidth allocation mode used by the ONU/0NT is non-reporting type; wherein, the initial transmission rate, the prediction mode indication, and the reporting
  • the mode indication may also not be encapsulated in the registration success response message, but may be sent separately.
  • the 0NU/0NT uses the authorized bandwidth provided by the 0LT to transmit the uplink data.
  • the initial transmission rate is initialized.
  • the 0NU/0NT encapsulates the bandwidth allocation mode of the 0LT and the bandwidth allocation mode of the 0NU/0NT in the uplink data frame, such as
  • the value of the prediction mode indication bit indicates the bandwidth allocation mode supported by the OLT.
  • the value is set to 1 to indicate that the bandwidth allocation mode supported by the OLT is predictive; and the value of the reporting mode indication bit indicates the bandwidth allocation of the ONU/0NT.
  • Mode in this embodiment, the value is set to 0, indicating that the bandwidth allocation mode of the ONU/0NT is non-reporting type;
  • the 0NU/0NT may also encapsulate the congestion report in the uplink data frame for reference by the OLT, or may not encapsulate the congestion report.
  • S507 The OLT receives the uplink data frame from the ONU/ONT, parses the received uplink data frame, and determines the bandwidth allocation mode according to the bandwidth allocation mode of the 0LT and the bandwidth allocation mode of the ONU/0NT, and the determined bandwidth allocation mode is the ONU. /0NT allocates bandwidth;
  • 0LT allocates bandwidth in a predictive bandwidth allocation manner.
  • 0LT monitors the traffic of the uplink data frame, records the monitoring result, and predicts a bandwidth through the history of the uplink data sent by the ONU. For example, the previous bandwidth can be counted according to the history. Utilization, calculate the bandwidth of the next 0NU/0NT data transmission according to the bandwidth utilization.
  • the 0LT allocates the calculated bandwidth to the next uplink bandwidth of the ONU/0NT, and encapsulates the authorized uplink bandwidth in the downlink data frame and sends it to the ONU/0NT; wherein, in the downlink data frame, The bandwidth allocation mode of the 0LT and the bandwidth allocation mode of the ONU are included; for example, the value of the prediction mode indication bit indicates the bandwidth allocation mode of the OLT, and the value of the embodiment is set to 1 to indicate that the bandwidth allocation mode of the 0LT is the prediction type, and the reporting mode is used.
  • the value of the indication bit indicates the bandwidth allocation mode of the ONU/0NT. In the present embodiment, the value of 0 is set to indicate that the bandwidth allocation mode of the ONU/0NT is non-reporting type.
  • the 0LT can convert the calculated bandwidth into the ratio of the uplink and downlink bandwidth (ie, the ratio of the authorized bandwidth to the current downlink data), and encapsulate the ratio of the uplink and downlink bandwidth in the downlink data frame and send it to the 0NU/0NT. .
  • the ONU/ONT needs to convert the received ratio into an authorized uplink bandwidth value to transmit the uplink data.
  • the bandwidth allocation mode includes an 0LT working mode and a 0NU/0NT working mode, and the 0LT and 0NU/0NT bandwidth allocation pattern matching tables in the system of the embodiment of the present invention as shown in Table 1.
  • 0NU/0NT is the report type allocation mode
  • 0NU/0NT needs to report congestion to 0LT, and the congestion condition can be encapsulated in the specific overhead of the uplink data frame.
  • 0LT is generally a non-predictive bandwidth allocation mode, and can also be a predictive bandwidth allocation mode. If it is a predictive bandwidth allocation mode, 0LT ignores the congestion reported by 0NU/0NT.
  • 0NU/0NT When 0NU/0NT is a non-reported bandwidth allocation mode, 0NU/0NT does not need to report congestion to 0LT. At this time, 0LT must be in the predictive working mode, otherwise the system will not work properly.
  • X means that when 0NU/0NT is a non-reporting type of bandwidth allocation mode, 0LT must work in predictive mode, otherwise the system will not work properly.
  • the downlink data frame can be generated and sent by the Field Programmable Gate Array (FPGA) on the 0LT side; the uplink data frame can be configured by the ONU side field programmable logic array chip (FPGA). ) Generate and send.
  • FPGA Field Programmable Gate Array
  • FPGA field programmable logic array chip
  • FIG. 6 a schematic diagram of a data frame structure of an embodiment of the present invention is shown.
  • 0LT detects the bandwidth lOMbits allocated to 0NU1 from the received upstream data frame of 0NU1. For some reason (for example, 0NU1 is relatively idle, sending less data) only 8Mbits is used;
  • 0LT can calculate that the previous round of authorized bandwidth utilization is 80 % (8/10), and then the 0LT side saves the first 2 rounds and the first 3 rounds of the reference upstream bandwidth utilization history. Specifically, it is necessary to trace back the number of round-up bandwidth utilizations, for example, they are 87%, 93%, that is, the upstream bandwidth utilization of 0NU1 for three consecutive rounds is decreasing, the maximum drop is 7%, then Predict the current round-band bandwidth utilization of 0NU1 with a prediction algorithm of 73% (80% minus 7%), which determines the current grant.
  • the upstream bandwidth of the 0NU1 is 7.3Mbit s (lOMbits X73%), which can be written to the "Authorized Bandwidth" field in the downlink data frame, and then sent to the ONU1 along with the downstream data frame. Or, if the downlink data bandwidth of the current 0LT is lOMbits, then the ratio of the uplink and downlink bandwidth is 0.73: 1, and the value is written into the "authorized bandwidth" field in the downlink data frame, and then sent to the 0NU1 along with the downlink data frame;
  • 0NU1 receives the downlink data frame sent by the 0LT, and extracts the authorized bandwidth. If it is the uplink-downlink bandwidth ratio, for example, 0.73:1, it is converted into the uplink bandwidth of 7.3Mbits. If it is the authorized bandwidth value, it will not be converted. The data is filled in the upstream data area and then sent back to the 0LT.
  • the 0LT reads from the congestion report field in the uplink data frame of the ONU2 that the uplink data to be transmitted by the 0NU2 is 9.5 Mbits, and based on the current busy condition of the 0LT, if the transmission request of the ONU2 can be satisfied, it is determined that the ONU2 is authorized to be sent to the ONU2.
  • the upstream bandwidth is 9.5 Mbits, which is written into the "uplink and downlink bandwidth ratio" field in the downlink data frame, and then sent to the ONU2 along with the downlink data frame.
  • the ratio of the uplink and downlink bandwidth is 0.95: 1, and the value is written into the "authorized bandwidth" field in the downlink data frame, and then sent to the 0NU2 along with the downlink data frame;
  • 0NU2 receives the downlink data frame sent by the 0LT, and extracts the authorized bandwidth. If the ratio of the uplink and downlink bandwidth is, for example, 0.95: 1, it is converted into the uplink bandwidth of 9.5 Mbits. If it is the authorized bandwidth value, the uplink data is not used. Fill in the uplink data area of the uplink data frame, and at the same time, write the data size to be sent next in the transmission buffer of the ONU2 to the "Congestion Report" field in the uplink data frame, and then send back to the 0LT.
  • FIG. 7 is a schematic structural diagram of a predictive bandwidth allocation apparatus according to an embodiment of the present invention.
  • the bandwidth allocation device 700 is applied to a communication system including at least one central office communication device and at least one remote communication device, the device comprising:
  • the processing module 720 is configured to parse the uplink data frame sent by the at least one remote communication device to obtain information indicating a bandwidth allocation manner, and determine, according to the information indicating the bandwidth allocation manner obtained by the parsing, a bandwidth allocation manner corresponding to the bandwidth allocated to the remote communication device;
  • the authorization module 740 is configured to be in the bandwidth allocation manner determined by the processing module 720.
  • the far end communication device allocates link bandwidth and/or determines a ratio of uplink and downlink bandwidth.
  • the processing module 720 includes:
  • the parsing unit 722 is configured to parse the uplink data frame to obtain the information indicating the bandwidth allocation manner
  • a first determining unit 724 configured to determine, by using a bandwidth allocation manner that is resolved to the authorization, a bandwidth allocation manner corresponding to a bandwidth allocated by the remote communication device;
  • the second determining unit 726 is configured to obtain, according to the parsing, a bandwidth allocation mode supported by the remote communication device and/or a bandwidth allocation mode supported by the central office communication device, and a pre-stored bandwidth allocation mode and a bandwidth allocation mode supported by the communication device. Corresponding relationship, determining a bandwidth allocation manner for allocating bandwidth to the remote communication device.
  • the authorization module 740 includes: a first authorization module 742 and a second authorization module 744, where the bandwidth allocation manner determined by the processing module and the monitoring result of the monitoring unit are the corresponding
  • the far end communication device allocates a ratio of link bandwidth and/or uplink and downlink bandwidth.
  • the second authorization module 744 is configured to allocate link bandwidth and/or upper and lower limits to the corresponding remote communication device according to the bandwidth allocation manner determined by the processing module 720 and the congestion condition reported by the remote communication device or the bandwidth allocated for the request. The ratio of the line link bandwidth.
  • the bandwidth allocation apparatus may further include a negotiating unit 760 for negotiating a bandwidth allocation manner between the at least one local communication device and the at least one remote communication device.
  • the optical network system includes at least one central office communication device (OTT) 800 coupled to at least one remote communication device of the at least one central office communication device ( 0NU/0NT ) 900 , where:
  • the central office communication device (0LT) 800 receives the uplink data frame sent by the at least one remote communication device 900, and parses the received uplink data frame to determine a bandwidth allocation mode for the corresponding remote communication device to allocate bandwidth, according to the determined bandwidth allocation. Transmitting, by the corresponding remote communication device, a ratio of link bandwidth and/or uplink and downlink bandwidth, and assigning the allocated link bandwidth and/or uplink and downlink bandwidth The ratio is sent to the corresponding remote communication device 900.
  • the central office communication device 800 includes: a bandwidth allocation device 700, a receiving device 820, and a transmitting device 840.
  • the receiving device 820 receives the uplink data frame from the remote communication device 900, and the parsing module 722 parses the uplink data frame received by the receiving device 820.
  • the first determining unit 724 receives the parsing result of the parsing module 722 to determine the bandwidth allocation mode for receiving the authorization, or the second determining unit 726 obtains the bandwidth allocation mode and/or the supported by the remote communication device in the parsing result from the parsing module 722.
  • the bandwidth allocation mode supported by the communication device determines the bandwidth allocation mode for allocating bandwidth to the remote communication device 900 according to the correspondence between the bandwidth allocation mode supported by the communication device and the bandwidth allocation mode (for example, as shown in Table 1);
  • the bandwidth allocation mode determined by the first determining unit 724 or the second determining unit 726 is a predictive bandwidth allocation mode
  • the first authorization module 742 collects the data of the X unit (byte or block) received by the receiving device 820, according to statistics. Data traffic and saved last authorized bandwidth, can calculate the last time The bandwidth utilization is authorized, and the authorized bandwidth is given accordingly, and is transmitted to the remote communication device 900 through the transmitting device 840.
  • the statistical data traffic is X
  • the last authorized bandwidth saved is Y
  • the last bandwidth utilization is calculated as ⁇ ⁇ ⁇ %, according to which the authorized bandwidth is Y, and sent by the sending device 840.
  • the units of X, ⁇ , and ⁇ are represented by bytes or blocks of data.
  • the remote communication device (0NU/0NT) 900 includes: a transmitting device 920, a receiving device 940, a processing device 960, and a bandwidth control device 980;
  • the sending device 920 is configured to send an uplink data frame to the central office communications device.
  • the processing device 940 is configured to send, by using the sending device, information indicating a bandwidth allocation manner to the central office communication device;
  • the receiving device 960 is configured to receive, by the central office communications device, a downlink data frame that includes a ratio of an authorized link bandwidth and/or an uplink and downlink bandwidth, where the authorized link bandwidth and/or uplink and downlink
  • the ratio of the link bandwidth is the bandwidth allocation determined according to the information indicating the bandwidth allocation manner. Ratio of link bandwidth and/or uplink and downlink bandwidth obtained in the mode;
  • the bandwidth control device 980 is configured to control an uplink data bandwidth of the transmitting device according to a ratio of link bandwidth and/or uplink and downlink bandwidth authorized to the communication device.
  • the remote communication device (0NU/0NT) 900 of the embodiment of the present invention includes:
  • the sending device 920 is configured to send an uplink data frame to the central office communication device 800.
  • the processing device 960 is configured to send, by using the sending device 920, information indicating a bandwidth allocation manner to the central office communication device;
  • the receiving device 940 is configured to receive, by the central office communications device 800, a downlink data frame that includes a ratio of a link bandwidth and/or an uplink and downlink bandwidth that is authorized to the remote communication device 900, where, in the downlink data frame, The ratio of the authorized link bandwidth and/or the uplink and downlink bandwidth is a ratio of link bandwidth and/or uplink and downlink bandwidth obtained according to the bandwidth allocation manner determined by the information indicating the bandwidth allocation manner;
  • the bandwidth control device 980 is configured to control the uplink data bandwidth of the transmitting device 920 according to the ratio of the link bandwidth and/or the uplink and downlink bandwidth authorized to the remote communication device 900.
  • the bandwidth allocation method can be dynamically adjusted according to the needs of the remote communication device and/or the central office communication device, and is more flexible.

Landscapes

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

Abstract

The embodiment of invention is concerned with a method, device and communication system of bandwidth allocation. The communication system includes at least a local communication apparatus and at least a remote communication apparatus. At least one of the said local communication apparatus receives and analyzes the upstream data frame sent by at least one remote communication apparatus. And the local communication apparatus determines the bandwidth allocation mode for the corresponding remote communication apparatus and allocates the link bandwidth and/or the ratio of uplink bandwidth to downlink bandwidth for the remote communication apparatus according to the determined bandwidth allocation mode. The corresponding remote communication apparatus transmits the upstream data according to the link bandwidth and/or the ratio of uplink bandwidth to downlink bandwidth, which are allocated by the local communication apparatus. The above-mentioned technical solution could adjust the bandwidth allocation mode dynamically according to the requirement of the remote communication apparatus and/or the local communication apparatus and as such be more flexible.

Description

一种带宽分配方法、 装置、 通信设备和通信系统  Bandwidth allocation method, device, communication device and communication system
技术领域 Technical field
本发明涉及通信技术领域, 尤其涉及一种带宽分配方法、 装置、 通信设 备和通信系统。  The present invention relates to the field of communications technologies, and in particular, to a bandwidth allocation method, apparatus, communication device, and communication system.
背景技术 Background technique
近来, 对宽带接入业务的需求迅速增加, 为了满足这些高带宽、 大容量 接入的需求, 人们选择了光接入通讯网络。 然而光接入通讯网络中的一些关 键器件的价格比较昂贵, 人们寻找建设一个经济有效的光学网络的途径, 对 无源光学网络(Passive Optical Network, PON)的研究也迅速升温, 出现了 基于异步传输模式 (Asynchronous Transfer Mode, ATM)的无源光学网络(ATM PON, APON ), 宽带无源光学网络(Broadband P0N,BP0N)、 基于以太网的无源 光学网络 (Ethernet PON, EP0N), 吉比特无源光学网络 (Gigabit PON, GPON ), 波分复用无源光学网络 (Wavelength Division Multiplexing PON, WDM - PON ) 以及光码分多址无源光学网络( Optical Code Division Multiple Access PON, OCDMA-PON )等。  Recently, the demand for broadband access services has rapidly increased. In order to meet the demand for these high-bandwidth and large-capacity access, optical access communication networks have been chosen. However, some key components in the optical access communication network are more expensive. People are looking for a way to build a cost-effective optical network. The research on Passive Optical Network (PON) is also heating up rapidly. Asynchronous Transfer Mode (ATM) Passive Optical Network (ATM PON, APON), Broadband Passive Optical Network (Broadband P0N, BP0N), Ethernet-based Passive Optical Network (Ethernet PON, EP0N), Gigabit Passive Optical Network (Gigabit PON, GPON), Wavelength Division Multiplexing PON (WDM-PON) and Optical Code Division Multiple Access PON (OCDMA-PON) )Wait.
一般来说, 无源光学网络是这样一个系统: 作为业务提供方的中心局 ( Central Office, CO ) 与设置在用户所在地的附近地区的远端节点(Remote Node, RN)之间使用干线光纤连接, 而远端节点与作为业务消费方的光用户单 t (optical network termination/unit, ONT/ONU )则通过分西己式光乡千连接, 由于远端节点放置的是无源光学元件, 这样大大减少了管理层次和维护成本。  In general, a passive optical network is a system that uses a trunk fiber connection between a central office (CO) as a service provider and a remote node (RN) located in the vicinity of the user's location. The remote node and the optical network termination/unit (ONT/ONU), which are the consumers of the service, are connected by the hexagram-type optical home, because the remote node is placed with a passive optical component. Significantly reduced management levels and maintenance costs.
在图 1所示的常见的 WDM-P0N系统中, 由局端 CO提供的多个波长通过单 条光纤传输到远端节点 RN, 通过远端节点 RN的分波功能, 将每个波长 λί传 输到每个 ONUi, 相应的 0NU只能使用分配给它的波长来发送上行数据和接收 下行数据。  In the common WDM-P0N system shown in FIG. 1, multiple wavelengths provided by the central office CO are transmitted to the remote node RN through a single optical fiber, and each wavelength λί is transmitted to the remote node RN by the splitting function of the remote node RN. For each ONUi, the corresponding ONU can only use the wavelength assigned to it to send upstream data and receive downstream data.
特别是, 在重调制下行数据的 WDM _ P0N系统中, 0NU利用光线路终端 (Optical Line Termination, OLT )发出的下行信号光将上行数据调制其中, 这其中有两种实现方式, 一种是 0LT下发的下行信号光中一部分是调制了下行 数据的, 另一部分是预留给 0NU调制上行数据的, 其数据帧如图 2所示。 另一 种是 0LT下发的下行信号光中全部调制了下行数据, 0NT/0NU再利用调制深度 的原理在其上调制上行数据, 由于上行数据和下行数据的调制深度不同, 0LT 依然能够鉴别出上下行数据, 其数据帧如图 3所示。 In particular, in the WDM_PON system that remodulates the downlink data, the 0NU modulates the uplink data by using the downlink signal light sent by the Optical Line Termination (OLT). There are two implementation methods. One is that part of the downlink signal transmitted by the 0LT is modulated with downlink data, and the other part is reserved for 0NU modulated uplink data. The data frame is shown in Figure 2. The other is that the downlink signal transmitted by the 0LT is all modulated with downlink data, and the 0NT/0NU reuses the modulation depth principle to modulate the uplink data. Since the modulation depths of the uplink data and the downlink data are different, the 0LT can still be identified. Up and down data, its data frame is shown in Figure 3.
在图 2中所示的上下行共享带宽的重调制 WDM - P0N系统中, 由于上下行数 据是共享带宽, 因此 0NU的上行带宽必须由 0LT来决定, 以保证数据的正常传 输。 因此, 许多研究机构和企业广泛关注带宽分配的算法和实现。  In the WDM-P0N system with uplink and downlink shared bandwidth shown in Figure 2, since the uplink and downlink data are shared bandwidth, the upstream bandwidth of the 0NU must be determined by 0LT to ensure normal data transmission. Therefore, many research institutions and enterprises pay close attention to the algorithm and implementation of bandwidth allocation.
发明内容 Summary of the invention
本发明实施例提供了一种带宽分配方法, 该方法适用于为至少一个远端 通信设备分配带宽, 该方法包括: 接收至少一个远端通信设备发送的上行数 据帧, 所述上行数据帧中包括指示带宽分配方式的信息; 解析接收到的上行 数据帧, 根据所述指示带宽分配方式的信息确定为对应的远端通信设备分配 带宽的带宽分配方式; 根据确定的带宽分配方式为所述对应的远端通信设备 分配链路带宽和 /或上下行链路带宽的比率。  An embodiment of the present invention provides a bandwidth allocation method, where the method is configured to allocate bandwidth to at least one remote communication device, where the method includes: receiving an uplink data frame sent by at least one remote communication device, where the uplink data frame includes Determining the bandwidth allocation mode, parsing the received uplink data frame, and determining, according to the information indicating the bandwidth allocation manner, a bandwidth allocation mode for allocating bandwidth to the corresponding remote communication device; The far end communication device allocates a ratio of link bandwidth and/or uplink and downlink bandwidth.
本发明实施例还提供了一种带宽分配装置, 该装置包括: 处理模块, 用 于解析至少一个远端通信设备发送的上行数据帧获得指示带宽分配方式的信 息, 根据解析获得的指示带宽分配方式的信息确定为对应远端通信设备分配 带宽的带宽分配方式; 授权模块, 用于在所述处理模块确定的带宽分配方式 下为所述对应的远端通信设备分配链路带宽和 /或确定上下行链路带宽的比 率。  The embodiment of the present invention further provides a bandwidth allocation apparatus, where the apparatus includes: a processing module, configured to parse an uplink data frame sent by at least one remote communication device to obtain information indicating a bandwidth allocation manner, and indicate an indication bandwidth allocation manner according to the parsing The information is determined as a bandwidth allocation manner corresponding to the bandwidth allocated to the remote communication device; the authorization module is configured to allocate a link bandwidth to the corresponding remote communication device and/or determine the upper and lower limits in the bandwidth allocation manner determined by the processing module. The ratio of the line link bandwidth.
本发明实施例还提供了一种通信系统, 该系统包括至少一个局端通信设 备, 至少一个远端通信设备, 所述至少一个远端通信设备, 用于向所述至少 一个局端通信设备发送包括指示带宽分配方式信息上行数据帧; 所述至少一 个局端通信设备, 用于接收至少一个远端通信设备发送的上行数据帧, 解析 接收到的上行数据帧获得所述指示带宽分配方式信息, 确定为对应的远端通 信设备分配带宽的带宽分配方式, 在确定的带宽分配方式下确定所述对应的 远端通信设备的链路带宽和 /或上下行链路带宽的比率, 并将所述链路带宽和 /或上下行链路带宽的比率下发给所述对应的远端通信设备。 The embodiment of the present invention further provides a communication system, where the system includes at least one central office communication device, at least one remote communication device, and the at least one remote communication device is configured to send to the at least one central office communication device The at least one central office communication device is configured to receive an uplink data frame sent by the at least one remote communication device, and parse the received uplink data frame to obtain the indicated bandwidth allocation mode information, where Determined as the corresponding remote pass And determining, by the device, a bandwidth allocation manner of the bandwidth, determining a ratio of a link bandwidth and/or an uplink and downlink bandwidth of the corresponding remote communication device in the determined bandwidth allocation manner, and using the link bandwidth and/or The ratio of uplink and downlink bandwidth is sent to the corresponding remote communication device.
本发明实施例还提供了一种通信设备, 包括: 接收装置, 用于接收至少 一个远端通信设备发送的上行数据帧, 所述上行数据帧中包括指示带宽分配 方式的信息; 处理装置, 用于解析所述接收装置接收到的上行数据帧, 根据 所述指示带宽分配方式的信息确定为对应的远端通信设备分配带宽的带宽分 配方式; 授权装置, 用于根据所述处理装置确定的带宽分配方式确定所述对 应的远端通信设备的链路带宽和 /或上下行链路带宽的比率。 发送装置, 将所 述链路带宽和 /或上下行链路带宽的比率发送给所述对应的远端通信设备。  The embodiment of the present invention further provides a communication device, including: a receiving device, configured to receive an uplink data frame sent by at least one remote communication device, where the uplink data frame includes information indicating a bandwidth allocation manner; And analyzing, according to the information indicating the bandwidth allocation manner, a bandwidth allocation manner for allocating bandwidth to the corresponding remote communication device; and an authorization device, configured to determine a bandwidth according to the processing device The allocation manner determines a ratio of link bandwidth and/or uplink and downlink bandwidth of the corresponding remote communication device. And transmitting, by the transmitting device, the ratio of the link bandwidth and/or the uplink and downlink bandwidth to the corresponding remote communication device.
本发明实施例还提供了一种通信设备, 包括: 发送装置, 用于向局端通 信设备发送上行数据帧; 处理装置, 用于通过所述发送装置向所述局端通信 设备发送指示带宽分配方式的信息; 接收装置, 用于接收所述局端通信设备 发送的包括授权的链路带宽和 /或上下行链路带宽的比率的下行数据帧, 其 中, 所述授权的链路带宽和 /或上下行链路带宽的比率为根据所述指示带宽分 配方式的信息确定的带宽分配方式下获得的链路带宽和 /或上下行链路带宽 的比率; 带宽控制装置, 用于根据授权给所述通信设备的链路带宽和 /或上下 行链路带宽的比率控制所述发送装置的上行数据带宽。  The embodiment of the present invention further provides a communication device, including: a sending device, configured to send an uplink data frame to a central office communication device; and a processing device, configured to send, by using the sending device, the indication bandwidth allocation to the central office communication device And a receiving device, configured to receive, by the central office communications device, a downlink data frame that includes a ratio of an authorized link bandwidth and/or an uplink and downlink bandwidth, where the authorized link bandwidth and/or Or the ratio of the uplink and downlink bandwidth is a ratio of the link bandwidth and/or the uplink and downlink bandwidth obtained in the bandwidth allocation manner determined according to the information indicating the bandwidth allocation manner; the bandwidth control device is configured to The ratio of the link bandwidth and/or the uplink and downlink bandwidth of the communication device controls the uplink data bandwidth of the transmitting device.
根据上述提供的方案, 可以根据局端通信设备和 /或远端通信设备的需要 和 /或处理状况同时为多个远端通信设备提供多种带宽分配, 还可以根据局端 通信设备和 /或远端通信设备的需要和 /或处理状况动态调整带宽分配方式。 附图说明  According to the solution provided above, multiple bandwidth allocations may be simultaneously provided for multiple remote communication devices according to the needs and/or processing conditions of the central office communication device and/or the remote communication device, and may also be based on the central office communication device and/or The need and/or processing status of the remote communication device dynamically adjusts the bandwidth allocation mode. DRAWINGS
图 1为传统的 WDM-P0N系统;  Figure 1 shows a conventional WDM-P0N system;
图 2为传统的 0LT上下行数据帧结构示意图;  2 is a schematic structural diagram of a conventional 0LT uplink and downlink data frame;
图 3为传统的 0LT上下行数据帧结构示意图;  3 is a schematic structural diagram of a conventional 0LT uplink and downlink data frame;
图 4为本发明实施例非预测型的带宽分配机制流程示意图; 图 5为本发明实施例预测型的带宽分配机制流程示意图; 4 is a schematic flowchart of a non-predictive bandwidth allocation mechanism according to an embodiment of the present invention; FIG. 5 is a schematic flowchart of a predictive bandwidth allocation mechanism according to an embodiment of the present invention; FIG.
图 6为本发明实施例的上下行数据帧结构;  FIG. 6 is a schematic diagram of an uplink and downlink data frame structure according to an embodiment of the present invention;
图 7为本发明实施例的带宽分配装置结构示意图;  FIG. 7 is a schematic structural diagram of a bandwidth allocation apparatus according to an embodiment of the present invention;
图 8所示为本发明实施例的通信系统示意图。  FIG. 8 is a schematic diagram of a communication system according to an embodiment of the present invention.
具体实施方式 detailed description
为便于对本发明的理解, 下面将结合实例对本发明的具体实现过程进行 说明。  In order to facilitate the understanding of the present invention, the specific implementation process of the present invention will be described below with reference to examples.
本发明实施例提供了一种带宽分配方法, 该方法适用于为至少一个远端 通信设备分配带宽, 该方法包括: 接收至少一个远端通信设备发送的上行数 据帧, 所述上行数据帧中包括指示带宽分配方式的信息; 解析接收到的上行 数据帧, 根据所述指示带宽分配方式的信息, 确定为对应的远端通信设备分 配带宽的带宽分配方式; 根据确定的带宽分配方式为所述对应的远端通信设 备分配链路带宽和 /或上下行链路带宽的比率。 釆用本发明实施例提供的方 法, 这种自适应带宽分配机制可以根据局端通信设备和远端通信设备之间协 商确定的授权的带宽分配方式; 或者根据局端通信设备需要、 远端通信设备 的需要、 局端通信设备的处理状况和远端通信设备的处理状况的至少一种, 同时为多个远端通信设备提供多种带宽分配方式; 还可以根据局端通信设备 的需要、 远端通信设备的需要、 局端通信设备的处理状况、 远端通信设备的 处理状况的至少一种, 动态调整带宽分配方式。  An embodiment of the present invention provides a bandwidth allocation method, where the method is configured to allocate bandwidth to at least one remote communication device, where the method includes: receiving an uplink data frame sent by at least one remote communication device, where the uplink data frame includes Determining the bandwidth allocation mode; parsing the received uplink data frame, and determining, according to the information indicating the bandwidth allocation manner, a bandwidth allocation mode for allocating bandwidth to the corresponding remote communication device; The remote communication device allocates a ratio of link bandwidth and/or uplink and downlink bandwidth. According to the method provided by the embodiment of the present invention, the adaptive bandwidth allocation mechanism may be based on an authorized bandwidth allocation manner determined by the central office communication device and the remote communication device; or according to the needs of the central office communication device and the remote communication. At least one of the needs of the device, the processing status of the central office communication device, and the processing status of the remote communication device, and simultaneously providing multiple bandwidth allocation modes for the plurality of remote communication devices; and further, according to the needs of the central office communication device, The at least one of the needs of the end communication device, the processing status of the central office communication device, and the processing status of the remote communication device dynamically adjusts the bandwidth allocation manner.
其中, 根据本发明实施例的方案, 局端通信设备和远端通信设备之间可 以通过协商方式确定一种带宽分配方式。 具体的, 可以釆用预先协商方式, 例如, 远端通信设备可以在注册过程或初始化的过程中, 与局端通信设备协 商带宽分配方式; 也可以在数据传输过程中进行协商, 如在数据传输过程中, 远端通信设备可以将自己支持的方式, 如上报方式或非上报方式, 封装在上 行数据帧中通知局端通信设备; 局端通信设备也可以将自己支持的方式, 如 预测或非预测方式, 封装在下行数据帧中通知远端通信设备。 其中, 所述指示带宽分配方式的信息包括如下一种或多种组合: 授权的 带宽分配方式, 远端通信设备支持的带宽分配模式, 局端通信设备支持的带 宽分配模式。 According to the solution of the embodiment of the present invention, a bandwidth allocation manner can be determined between the central office communication device and the remote communication device by using a negotiation manner. Specifically, the pre-negotiation mode may be adopted. For example, the remote communication device may negotiate the bandwidth allocation manner with the central office communication device during the registration process or the initialization process. The negotiation may also be performed during the data transmission process, for example, in data transmission. In the process, the remote communication device may encapsulate the manner in which it is supported, in the above-mentioned reporting mode or non-reporting mode, in the uplink data frame to notify the central office communication device; the central office communication device may also support the manner supported by itself, such as prediction or non- The prediction mode is encapsulated in the downlink data frame to notify the remote communication device. The information indicating the bandwidth allocation manner includes one or more of the following: an authorized bandwidth allocation manner, a bandwidth allocation mode supported by the remote communication device, and a bandwidth allocation mode supported by the central office communication device.
由于一个局端通信设备通常可接入多个远端通信设备, 如果局端通信设 备和远端通信设备是釆用预先协商的方式商定带宽分配方式(授权的带宽分 配方式), 则在数据传输过程中, 局端通信设备可以釆用多种方式确定远端通 信设备的带宽分配方式, 例如可以通过识别远端通信设备确定该远端通信设 备对应的带宽分配方式, 具体的, 局端通信设备通过识别远端通信设备的地 址、 远端通信设备的身份标识、 远端通信设备发送数据的波长等确定该远端 通信设备对应的带宽分配方式; 或者预先存储通信设备支持的带宽分配模式 与带宽分配方式的对应关系, 在解析接收到的上行数据帧的过程中, 如果从 接收到的上行数据帧中解析得到远端通信设备支持的带宽分配模式和 /或局 端通信设备支持的带宽分配模式, 根据所述对应关系确定带宽分配方式。  Since a central office communication device can generally access multiple remote communication devices, if the central office communication device and the remote communication device negotiate the bandwidth allocation mode (authorized bandwidth allocation mode) in a pre-negotiated manner, the data transmission is performed. In the process, the central office communication device can determine the bandwidth allocation mode of the remote communication device in multiple manners. For example, the terminal communication device can identify the bandwidth allocation mode corresponding to the remote communication device. Specifically, the central office communication device Determining a bandwidth allocation manner corresponding to the remote communication device by identifying an address of the remote communication device, an identifier of the remote communication device, a wavelength of the data transmitted by the remote communication device, or the like; or pre-storing the bandwidth allocation mode and bandwidth supported by the communication device Correspondence of the allocation mode, in the process of parsing the received uplink data frame, if the bandwidth allocation mode supported by the remote communication device and/or the bandwidth allocation mode supported by the central office communication device are parsed from the received uplink data frame Determining a bandwidth allocator according to the correspondence .
另外, 远端通信设备可以将带宽分配协商结果封装上行数据帧中, 局端 通信设备接收到上行数据帧后从数据帧中解析得到带宽分配协商结果, 确定 为所述远端通信设备分配带宽的带宽分配方式, 根据该带宽分配方式为所述 远端通信设备分配带宽。  In addition, the remote communication device may encapsulate the bandwidth allocation negotiation result in the uplink data frame, and the central office communication device parses the bandwidth allocation negotiation result from the data frame after receiving the uplink data frame, and determines that the bandwidth is allocated to the remote communication device. The bandwidth allocation mode allocates bandwidth to the remote communication device according to the bandwidth allocation manner.
其中, 本发明实施例提供的通信系统中, 局端通信设备可提供预测型和 非预测型的分配方式, 远端通信设备可提供上报型和非上报型的方式。 局端 通信设备预测型的分配方式包括: 可以统计远端通信设备的数据流量历史记 录, 根据历史记录(如带宽利用率)预测远端通信设备需要的带宽, 这种方 式下远端通信设备可不需要上报请求的带宽和 /或自己的拥塞状态, 对远端通 信设备的要求较低。 局端通信设备非预测型的分配方式需要远端通信设备上 报一个带宽分配参考数据, 如远端通信设备请求的带宽或远端通信设备的拥 塞情况等, 根据这些带宽分配参考数据确定授权给远端通信设备的带宽。  In the communication system provided by the embodiment of the present invention, the central office communication device can provide a predictive type and a non-predictive type, and the remote communication device can provide a report type and a non-report type. The predictive allocation mode of the central office communication device includes: statistic data record of the remote communication device can be counted, and the bandwidth required by the remote communication device is predicted according to a history record (such as bandwidth utilization). In this manner, the remote communication device may not The bandwidth of the request and/or its own congestion status needs to be reported, and the requirements for the remote communication device are low. The non-predictive allocation mode of the central office communication device requires the remote communication device to report a bandwidth allocation reference data, such as the bandwidth requested by the remote communication device or the congestion of the remote communication device, and the authorization is determined according to the bandwidth allocation reference data. The bandwidth of the end communication device.
其中, 局端通信设备可以通过监测远端通信设备发送的上行数据帧流量 (如接收緩存器的数据)获得远端通信设备的数据流量历史记录。 远端通信 设备也可以通过监测本端发送緩存器的拥塞状况, 将拥塞状况上报给局端通 信设备。 The central office communication device can monitor the uplink data frame traffic sent by the remote communication device. (such as receiving buffer data) to obtain a data traffic history of the remote communication device. The remote communication device can also report the congestion status to the local communication device by monitoring the congestion status of the local transmission buffer.
其中, 局端通信设备根据上述带宽分配的方法进行带宽分配确定授权带 宽, 将确定的授权带宽 (上行链路带宽值或上下行链路带宽的比率)封装在 下行数据帧中下发给远端通信设备, 远端通信设备利用局端通信设备下发的 授权带宽传输上行数据。 其中, 如果远端通信设备接收到的是上下行链路的 比率, 还需要根据该比率转换成授权的上行链路带宽。  The central office communication device performs the bandwidth allocation to determine the authorized bandwidth according to the bandwidth allocation method, and encapsulates the determined authorized bandwidth (the uplink bandwidth value or the ratio of the uplink and downlink bandwidth) in the downlink data frame and sends the bandwidth to the remote end. The communication device, the remote communication device transmits the uplink data by using the authorized bandwidth delivered by the central office communication device. Wherein, if the far-end communication device receives the ratio of uplink and downlink, it also needs to convert to the authorized uplink bandwidth according to the ratio.
本发明实施例提供的带宽分配方法不仅适用于 WDM - P0N系统, 而且适用 于各种 P0N系统, 如 ATM-P0N、 BP0N和 GP0N等, 还适用于各种双向链路带宽 分配通信。  The bandwidth allocation method provided by the embodiment of the present invention is applicable not only to the WDM-PON system but also to various P0N systems, such as ATM-P0N, BP0N, and GP0N, and is also applicable to various bidirectional link bandwidth allocation communications.
下面结合图 4或图 5描述本发明实施例提供的技术方案的具体实现过程。 其中, 图 4和图 5中光线路终端 0LT为光用户单元 0NU/0NT分配带宽的流程 图, 其中, 光线路终端 0LT对应局端通信设备, 光用户单元 0NU/0NT对应远 端通信设备。  The specific implementation process of the technical solution provided by the embodiment of the present invention is described below with reference to FIG. 4 or FIG. The optical line terminal 0LT in FIG. 4 and FIG. 5 is a flow chart for allocating bandwidth of the optical subscriber unit 0NU/0NT, wherein the optical line terminal 0LT corresponds to the central office communication device, and the optical subscriber unit 0NU/0NT corresponds to the remote communication device.
结合图 6所示本发明实施例的数据帧结构示意图, 图 4所示为非预测型 的带宽分配方式的一个实例, 具体流程如下:  FIG. 4 is a schematic diagram of a data frame structure of the embodiment of the present invention shown in FIG. 6, and FIG. 4 is an example of a non-predictive bandwidth allocation manner. The specific process is as follows:
S401 : 光线路终端 0LT不断向 0NU/0NT发送未调制光;  S401: The optical line terminal 0LT continuously sends unmodulated light to the 0NU/0NT;
S402 : 0NU/0NT确定自己是否要重新注册或初始化;  S402: 0NU/0NT determines whether it wants to re-register or initialize;
S403 : 如果 0NU/0NT要重新注册或初始化则向 0LT发送注册请求, 所述注 册请求中携带了 0NU/0NT釆用的带宽分配模式, 例如在注册请求中用上报模式 指示比特表示 0NU/0NT釆用的带宽分配模式, 在本实施例中其值设为 1表示 0NU/0NT釆用的带宽分配模式为上报型;  S403: If the 0NU/0NT is to be re-registered or initialized, a registration request is sent to the OLT, where the registration request carries a bandwidth allocation mode of 0NU/0NT, for example, in the registration request, the reporting mode indicates that the bit indicates 0NU/0NT釆. In the bandwidth allocation mode used, in the embodiment, the value is set to 1 to indicate that the bandwidth allocation mode used by the ONU/0NT is the report type;
S404 : 0LT接收到来自 0NU/0NT发送的注册请求, 对 0NU/0NT进行注册, 并 为该 0NU/0NT分配一个初始发送速率;  S404: The 0LT receives the registration request sent from the 0NU/0NT, registers the 0NU/0NT, and allocates an initial transmission rate for the 0NU/0NT;
S405 : 注册成功后, 0LT向 0NU/0NT发送注册成功响应消息, 其中, 注册 成功响应消息中携带了初始发送速率, 还向 0NU/0NT提供 0LT支持的带宽分配 模式, 如用预测模式指示比特的值表示 0LT支持的带宽分配模式, 在本实施例 中其值设为 0表示 0LT支持的带宽分配模式为非预测型, 同时返回 0NU/0NT提供 的带宽分配模式, 如用上报模式指示比特的值表示 0NU/0NT提供的带宽分配模 式, 在本实施例中其值设为 1表示 0NU/0NT提供的带宽分配模式为上报型;S405: After the registration is successful, 0LT sends a registration success response message to 0NU/0NT, where, registration The success response message carries the initial transmission rate, and also provides the 0LT/0NT bandwidth allocation mode supported by the 0LT/0NT. For example, the value of the prediction mode indication bit indicates the bandwidth allocation mode supported by the OLT. In this embodiment, the value is set to 0. The bandwidth allocation mode supported by the 0LT is non-predictive, and returns the bandwidth allocation mode provided by the ONU/0NT. For example, the value of the reporting mode indication bit indicates the bandwidth allocation mode provided by the ONU/0NT. In this embodiment, the value is set to 1. Indicates that the bandwidth allocation mode provided by 0NU/0NT is the report type;
S406 : 0NU/0NT利用 0LT提供的授权带宽传输上行数据, 在初始化时授权 带宽是初始发送速率, 其中, 0NU/0NT将 0LT的带宽分配模式和 0NU/0NT的带宽 分配模式封装在上行数据帧中, 0NU/0NT还将拥塞报告封装在上行数据帧中; 例如, 在上行数据帧中用预测模式指示比特的值表示 0LT的带宽分配模式, 在 本实施例中其值设为 0表示 0LT的带宽分配模式为非预测型, 用上报模式指示 比特的值表示 0NU/0NT的带宽分配模式, 在本实施例中其值设为 1表示 0NU/0NT 的带宽分配模式为上报型; S406: 0NU/0NT transmits the uplink data by using the authorized bandwidth provided by the 0LT, and the authorized bandwidth is the initial transmission rate during initialization, wherein 0NU/0NT encapsulates the bandwidth allocation mode of the 0LT and the bandwidth allocation mode of the 0NU/0NT in the uplink data frame. 0NU/0NT also encapsulates the congestion report in the uplink data frame; for example, the value of the prediction mode indication bit in the uplink data frame indicates the bandwidth allocation mode of the OLT, and in this embodiment, the value is set to 0 to indicate the bandwidth of the OLT. The allocation mode is non-predictive, and the value of the reporting mode indication bit indicates the bandwidth allocation mode of the ONU/0NT. In this embodiment, the value is set to 1 to indicate that the bandwidth allocation mode of the ONU/0NT is the reporting type;
S407 : 0LT接收到来自 0NU/0NT的上行数据帧, 解析接收到的上行数据帧, 根据 0LT的带宽分配模式和 0NU/0NT的带宽分配模式确定带宽分配方式, 以确 定的带宽分配方式为该 0NU/0NT分配带宽;  S407: The 0LT receives the uplink data frame from the 0NU/0NT, parses the received uplink data frame, determines the bandwidth allocation mode according to the bandwidth allocation mode of the 0LT and the bandwidth allocation mode of the ONU/0NT, and determines the bandwidth allocation mode as the ONU. /0NT allocates bandwidth;
在本例子中, 0LT以非预测型带宽分配方式分配带宽, 0LT根据 0NU/0NT上 报的拥塞情况计算 0NU/0NT下一次发送数据的带宽。  In this example, 0LT allocates bandwidth in a non-predictive bandwidth allocation mode, and 0LT calculates the bandwidth of 0NU/0NT next data transmission based on the congestion reported by 0NU/0NT.
S408 : 0LT将计算得到的带宽作为授权给 0NU/0NT下一次的上行链路带宽, 将授权的上行链路带宽封装在下行数据帧中下发给 0NU/0NT; 其中, 在下行数 据帧中还包括 0LT的带宽分配模式和 0NU的带宽分配模式; 例如, 在下行数据 帧中用预测模式指示比特的值表示 0LT的带宽分配模式, 在本实施例中其值设 为 0表示 0LT的带宽分配模式为非预测型, 用上报模式指示比特的值表示 0NU的 带宽分配模式, 在本实施例中其值设为 1表示 0NU的带宽分配模式为上报型。  S408: The 0LT uses the calculated bandwidth as the next uplink bandwidth granted to the ONU/0NT, and encapsulates the authorized uplink bandwidth in the downlink data frame and sends it to the ONU/0NT; wherein, in the downlink data frame, The bandwidth allocation mode of the 0LT and the bandwidth allocation mode of the ONU are included; for example, the value of the prediction mode indication bit in the downlink data frame indicates the bandwidth allocation mode of the OLT, and in this embodiment, the value is set to 0 to indicate the bandwidth allocation mode of the OLT. For the non-predictive type, the value of the reporting mode indication bit indicates the bandwidth allocation mode of the ONU. In the present embodiment, the value of 1 indicates that the bandwidth allocation mode of the ONU is the reporting type.
其中, 0LT可以将计算得到的带宽转化成上下行链路带宽的比率, 即授权 带宽和本次下行数据的比率, 将上下行链路带宽的比率封装在下行数据帧中 发送给 0NU/0NT。 ONU/ONT需要将接收到的比率转换成授权的上行链路带宽值 以传输上行数据。 The 0LT can convert the calculated bandwidth into the ratio of the uplink and downlink bandwidth, that is, the ratio of the authorized bandwidth to the current downlink data, and encapsulate the ratio of the uplink and downlink bandwidth in the downlink data frame and send it to the ONU/0NT. The ONU/ONT needs to convert the received ratio to an authorized uplink bandwidth value. To transmit upstream data.
图 5所示为预测型的带宽分配方式的一个实例, 具体流程如下:  Figure 5 shows an example of a predictive bandwidth allocation method. The specific process is as follows:
S501 : 光线路终端 0LT不断向 0NU/0NT发送未调制光;  S501: The optical line terminal 0LT continuously sends unmodulated light to the 0NU/0NT;
S502 : 0NU/0NT确定自己是否要重新注册或初始化;  S502: 0NU/0NT determines whether it wants to re-register or initialize;
S503 : 如果 0NU/0NT要重新注册或初始化则向 0LT发送注册请求, 所述注 册请求中携带了 0NU/0NT釆用的带宽分配模式, 如用上报模式指示比特的值表 示 0NU/0NT釆用的带宽分配模式, 在本实施例中其值设为 0表示 0NU/0NT釆用的 带宽分配模式为非上报型;  S503: If the 0NU/0NT is to be re-registered or initialized, a registration request is sent to the OLT, where the registration request carries a bandwidth allocation mode of 0NU/0NT, such as using the value of the reporting mode indication bit to indicate that the 0NU/0NT is used. In the bandwidth allocation mode, in the embodiment, the value is set to 0, indicating that the bandwidth allocation mode used by the ONU/0NT is non-reporting type;
S504 : 0LT接收到来自 0NU/0NT发送的注册请求, 对 0NU/0NT进行注册, 并 为该 0NU/0NT分配一个初始发送速率;  S504: The 0LT receives the registration request sent from the 0NU/0NT, registers the 0NU/0NT, and allocates an initial transmission rate for the 0NU/0NT;
S505 : 注册成功后, 0LT向 0NU/0NT发送注册成功响应消息, 其中, 注册 成功响应消息中携带了初始发送速率, 还向 0NU/0NT提供 0LT支持的带宽分配 模式, 如用预测模式指示比特的值表示 0LT支持的带宽分配模式, 在本实施例 中其值设为 1表示 0LT支持的带宽分配模式为预测型; 注册成功响应消息中同 时返回 0NU/0NT提供的带宽分配模式, 如用上报模式指示比特的值表示 0NU/0NT提供的带宽分配模式, 在本实施例中其值设为 0表示 0NU/0NT釆用的带 宽分配模式为非上报型; 其中, 初始发送速率、 预测模式指示和上报模式指 示也可以不封装在注册成功响应消息中, 而是另外发送。  S505: After the registration is successful, the 0LT sends a registration success response message to the 0NU/0NT, where the registration success response message carries the initial transmission rate, and also provides the 0LT/0NT with the bandwidth allocation mode supported by the 0LT, such as using the prediction mode indication bit. The value indicates the bandwidth allocation mode supported by the OLT. In this embodiment, the value is set to 1 to indicate that the bandwidth allocation mode supported by the OLT is predictive. The registration success response message also returns the bandwidth allocation mode provided by the ONU/0NT, such as the reporting mode. The value of the indication bit indicates the bandwidth allocation mode provided by the ONU/0NT. In this embodiment, the value is set to 0, indicating that the bandwidth allocation mode used by the ONU/0NT is non-reporting type; wherein, the initial transmission rate, the prediction mode indication, and the reporting The mode indication may also not be encapsulated in the registration success response message, but may be sent separately.
S506 : 0NU/0NT利用 0LT提供的授权带宽传输上行数据, 在初始化时是初 始发送速率, 其中, 0NU/0NT将 0LT的带宽分配模式和 0NU/0NT的带宽分配模式 封装在上行数据帧中, 如用预测模式指示比特的值表示 0LT支持的带宽分配模 式, 在本实施例中其值设为 1表示 0LT支持的带宽分配模式为预测型; 用上报 模式指示比特的值表示 0NU/0NT的带宽分配模式, 在本实施例中其值设为 0表 示 0NU/0NT的带宽分配模式为非上报型;  S506: The 0NU/0NT uses the authorized bandwidth provided by the 0LT to transmit the uplink data. The initial transmission rate is initialized. The 0NU/0NT encapsulates the bandwidth allocation mode of the 0LT and the bandwidth allocation mode of the 0NU/0NT in the uplink data frame, such as The value of the prediction mode indication bit indicates the bandwidth allocation mode supported by the OLT. In this embodiment, the value is set to 1 to indicate that the bandwidth allocation mode supported by the OLT is predictive; and the value of the reporting mode indication bit indicates the bandwidth allocation of the ONU/0NT. Mode, in this embodiment, the value is set to 0, indicating that the bandwidth allocation mode of the ONU/0NT is non-reporting type;
其中, 在本步骤中, 0NU/0NT也可以将拥塞报告封装在上行数据帧中以供 0LT参考, 也可以不封装拥塞报告。 S507 : OLT接收到来自 ONU/ONT的上行数据帧, 解析接收到的上行数据帧, 根据 0LT的带宽分配模式和 0NU/0NT的带宽分配模式确定带宽分配方式, 以确 定的带宽分配方式为该 0NU/0NT分配带宽; In this step, the 0NU/0NT may also encapsulate the congestion report in the uplink data frame for reference by the OLT, or may not encapsulate the congestion report. S507: The OLT receives the uplink data frame from the ONU/ONT, parses the received uplink data frame, and determines the bandwidth allocation mode according to the bandwidth allocation mode of the 0LT and the bandwidth allocation mode of the ONU/0NT, and the determined bandwidth allocation mode is the ONU. /0NT allocates bandwidth;
在本例子中, 0LT以预测型带宽分配方式分配带宽, 0LT通过监测上行数 据帧的流量, 记录监测结果, 通过该 0NU发送上行数据的历史记录预测一个带 宽, 例如可以根据历史记录统计以往的带宽利用率, 根据带宽利用率来计算 0NU/0NT下一次发送数据的带宽。  In this example, 0LT allocates bandwidth in a predictive bandwidth allocation manner. 0LT monitors the traffic of the uplink data frame, records the monitoring result, and predicts a bandwidth through the history of the uplink data sent by the ONU. For example, the previous bandwidth can be counted according to the history. Utilization, calculate the bandwidth of the next 0NU/0NT data transmission according to the bandwidth utilization.
S508 : 0LT将计算得到的带宽作为授权给 0NU/0NT下一次的上行链路带宽, 将授权的上行链路带宽封装在下行数据帧中下发给 0NU/0NT; 其中, 在下行数 据帧中还包括 0LT的带宽分配模式和 0NU的带宽分配模式; 例如, 用预测模式 指示比特的值表示 0LT的带宽分配模式, 本实施例其值设为 1表示 0LT的带宽分 配模式为预测型, 用上报模式指示比特的值表示 0NU/0NT的带宽分配模式, 在 本实施例中其值设为 0表示 0NU/0NT的带宽分配模式为非上报型。  S508: The 0LT allocates the calculated bandwidth to the next uplink bandwidth of the ONU/0NT, and encapsulates the authorized uplink bandwidth in the downlink data frame and sends it to the ONU/0NT; wherein, in the downlink data frame, The bandwidth allocation mode of the 0LT and the bandwidth allocation mode of the ONU are included; for example, the value of the prediction mode indication bit indicates the bandwidth allocation mode of the OLT, and the value of the embodiment is set to 1 to indicate that the bandwidth allocation mode of the 0LT is the prediction type, and the reporting mode is used. The value of the indication bit indicates the bandwidth allocation mode of the ONU/0NT. In the present embodiment, the value of 0 is set to indicate that the bandwidth allocation mode of the ONU/0NT is non-reporting type.
其中, 0LT可以将计算得到的带宽转化成上下行链路带宽的比率(即授权 带宽和本次下行数据的比率) , 将上下行链路带宽的比率封装在下行数据帧 中发送给 0NU/0NT。 ONU/ONT需要将接收到的比率转换成授权的上行链路带宽 值以传输上行数据。  The 0LT can convert the calculated bandwidth into the ratio of the uplink and downlink bandwidth (ie, the ratio of the authorized bandwidth to the current downlink data), and encapsulate the ratio of the uplink and downlink bandwidth in the downlink data frame and send it to the 0NU/0NT. . The ONU/ONT needs to convert the received ratio into an authorized uplink bandwidth value to transmit the uplink data.
其中, 带宽分配模式包括 0LT工作模式和 0NU/0NT工作模式, 如表 1所示的 本发明实施例的系统中 0LT和 0NU/0NT带宽分配模式匹配表。 当 0NU/0NT为上报 型分配模式, 0NU/0NT需将拥塞情况上报给 0LT , 该拥塞情况可以封装在上行 数据帧的特定开销中。 此时, 0LT—般为非预测型的带宽分配模式, 也可以为 预测型的带宽分配模式, 如果是预测型的带宽分配模式则 0LT将忽略 0NU/0NT 上报的拥塞情况。  The bandwidth allocation mode includes an 0LT working mode and a 0NU/0NT working mode, and the 0LT and 0NU/0NT bandwidth allocation pattern matching tables in the system of the embodiment of the present invention as shown in Table 1. When 0NU/0NT is the report type allocation mode, 0NU/0NT needs to report congestion to 0LT, and the congestion condition can be encapsulated in the specific overhead of the uplink data frame. At this time, 0LT is generally a non-predictive bandwidth allocation mode, and can also be a predictive bandwidth allocation mode. If it is a predictive bandwidth allocation mode, 0LT ignores the congestion reported by 0NU/0NT.
当 0NU/0NT为非上报型的带宽分配模式, 0NU/0NT无需将拥塞情况上报给 0LT。 此时, 0LT必须为预测型工作模式时, 否则系统无法正常工作。 表 1 OLT和 ONU/ONT的带宽分配模式 When 0NU/0NT is a non-reported bandwidth allocation mode, 0NU/0NT does not need to report congestion to 0LT. At this time, 0LT must be in the predictive working mode, otherwise the system will not work properly. Table 1 Bandwidth allocation mode of OLT and ONU/ONT
Figure imgf000012_0001
其中:
Figure imgf000012_0001
among them:
"忽略" 是指当 0LT工作在预测型带宽分配时, 对于 0NU/0NT上报的拥塞 忽略不处理。  "Ignore" means that when 0LT works in predictive bandwidth allocation, the congestion reported by 0NU/0NT is ignored.
" X " 表示当 0NU/0NT为非上报型的带宽分配模式, 0LT必须工作在预测 型模式, 否则系统无法正常工作。  "X" means that when 0NU/0NT is a non-reporting type of bandwidth allocation mode, 0LT must work in predictive mode, otherwise the system will not work properly.
其中, 在本发明的实施例中, 下行数据帧可以由 0LT侧现场可编程逻辑阵 列芯片 (Field Programmable Gate Array, FPGA )产生并发送; 上行数据帧 可以由 0NU侧现场可编程逻辑阵列芯片 (FPGA)产生并发送。  In the embodiment of the present invention, the downlink data frame can be generated and sent by the Field Programmable Gate Array (FPGA) on the 0LT side; the uplink data frame can be configured by the ONU side field programmable logic array chip (FPGA). ) Generate and send.
参见图 6所示本发明实施例的数据帧结构示意图。  Referring to FIG. 6, a schematic diagram of a data frame structure of an embodiment of the present invention is shown.
下面, 结合实际应用场景进一步说明本发明实施例的具体实现过程。 The specific implementation process of the embodiment of the present invention is further described below in conjunction with the actual application scenario.
1、 0LT预测型、 0NU非上 ^艮型 1, 0LT predictive type, 0NU non-upper type
( 1 ) 0LT从接收到 0NU1的上行数据帧中检测出在分配给 0NU1的带宽 lOMbits中, 由于某些原因 (例如 0NU1比较空闲, 发送数据较少) 只用掉了 8Mbits ;  (1) 0LT detects the bandwidth lOMbits allocated to 0NU1 from the received upstream data frame of 0NU1. For some reason (for example, 0NU1 is relatively idle, sending less data) only 8Mbits is used;
( 2 ) 0LT根据步骤( 1 )中可以算得前 1轮授权带宽利用率为 80% ( 8/10) , 再 0LT端保存得参考上行带宽利用率历史记录中前 2轮和前 3轮(具体要往前追 溯多少轮可自行决定) 的上行带宽利用率, 例如它们分别是为 87%, 93%, 即 0NU1连续 3轮的上行带宽利用率都在下降, 最大降幅为 7%, 那么可以预测 本轮 0NU1的上行带宽利用率为 73% (80%减去 7% )的预测算法, 决定本次授 权给 0NU1的上行带宽为 7.3Mbit s (lOMbits X73%) , 可以将该值写入下行数据 帧中的 "授权带宽" 域, 然后随下行数据帧发送给 0NU1。 或者, 如果本次 0LT 的下行数据带宽为 lOMbits, 那么换算成上下行带宽比率为 0.73: 1, 将该值写 入下行数据帧中的 "授权带宽" 域, 然后随下行数据帧发送给 0NU1; (2) According to step (1), 0LT can calculate that the previous round of authorized bandwidth utilization is 80 % (8/10), and then the 0LT side saves the first 2 rounds and the first 3 rounds of the reference upstream bandwidth utilization history. Specifically, it is necessary to trace back the number of round-up bandwidth utilizations, for example, they are 87%, 93%, that is, the upstream bandwidth utilization of 0NU1 for three consecutive rounds is decreasing, the maximum drop is 7%, then Predict the current round-band bandwidth utilization of 0NU1 with a prediction algorithm of 73% (80% minus 7%), which determines the current grant. The upstream bandwidth of the 0NU1 is 7.3Mbit s (lOMbits X73%), which can be written to the "Authorized Bandwidth" field in the downlink data frame, and then sent to the ONU1 along with the downstream data frame. Or, if the downlink data bandwidth of the current 0LT is lOMbits, then the ratio of the uplink and downlink bandwidth is 0.73: 1, and the value is written into the "authorized bandwidth" field in the downlink data frame, and then sent to the 0NU1 along with the downlink data frame;
( 3) 0NU1收到 0LT发送的下行数据帧, 从中提取出授权带宽, 如果是上 下行带宽比率, 例如 0.73: 1,换算成上行带宽 7.3Mbits; 如果是授权带宽值, 则不用换算, 将上行数据填入上行数据区中, 然后发送回 0LT。  (3) 0NU1 receives the downlink data frame sent by the 0LT, and extracts the authorized bandwidth. If it is the uplink-downlink bandwidth ratio, for example, 0.73:1, it is converted into the uplink bandwidth of 7.3Mbits. If it is the authorized bandwidth value, it will not be converted. The data is filled in the upstream data area and then sent back to the 0LT.
2、 0LT非预测型、 0NU上报型  2, 0LT non-predictive, 0NU report type
( 1 )0LT从接收到 0NU2的上行数据帧中的拥塞报告域读出 0NU2将要发送 的上行数据为 9.5Mbits, 再基于 0LT当前繁忙状况, 如果可以满足 0NU2的发 送请求, 则确定授权给 0NU2的上行带宽为 9.5Mbits, 将该值写入下行数据帧 中的 "上下行带宽比率" 域, 然后随下行数据帧发送给 0NU2。 或者, 如果本 次 0LT的下行数据带宽为 lOMbits, 那么换算成上下行带宽比率为 0.95: 1, 将该值写入下行数据帧中的 "授权带宽"域, 然后随下行数据帧发送给 0NU2;  (1) The 0LT reads from the congestion report field in the uplink data frame of the ONU2 that the uplink data to be transmitted by the 0NU2 is 9.5 Mbits, and based on the current busy condition of the 0LT, if the transmission request of the ONU2 can be satisfied, it is determined that the ONU2 is authorized to be sent to the ONU2. The upstream bandwidth is 9.5 Mbits, which is written into the "uplink and downlink bandwidth ratio" field in the downlink data frame, and then sent to the ONU2 along with the downlink data frame. Or, if the downlink data bandwidth of the current 0LT is lOMbits, then the ratio of the uplink and downlink bandwidth is 0.95: 1, and the value is written into the "authorized bandwidth" field in the downlink data frame, and then sent to the 0NU2 along with the downlink data frame;
(2) 0NU2收到 0LT发送的下行数据帧, 从中提取出授权带宽, 如果是上 下行带宽比率例如 0.95: 1, 换算成上行带宽 9.5Mbits; 如果是授权带宽值, 则不用换算, 将上行数据填入上行数据帧的上行数据区中, 同时, 将 0NU2的 发送緩冲中下一次要发送的数据大小写入上行数据帧中的 "拥塞报告" 域中, 然后发送回 0LT。  (2) 0NU2 receives the downlink data frame sent by the 0LT, and extracts the authorized bandwidth. If the ratio of the uplink and downlink bandwidth is, for example, 0.95: 1, it is converted into the uplink bandwidth of 9.5 Mbits. If it is the authorized bandwidth value, the uplink data is not used. Fill in the uplink data area of the uplink data frame, and at the same time, write the data size to be sent next in the transmission buffer of the ONU2 to the "Congestion Report" field in the uplink data frame, and then send back to the 0LT.
图 7所示为本发明实施例的预测型带宽分配装置结构示意图。 带宽分配装 置 700应用于包括至少一个局端通信设备和至少一个远端通信设备的通信系 统, 该装置包括:  FIG. 7 is a schematic structural diagram of a predictive bandwidth allocation apparatus according to an embodiment of the present invention. The bandwidth allocation device 700 is applied to a communication system including at least one central office communication device and at least one remote communication device, the device comprising:
处理模块 720,用于解析至少一个远端通信设备发送的上行数据帧获得指 示带宽分配方式的信息, 根据解析获得的指示带宽分配方式的信息确定为对 应远端通信设备分配带宽的带宽分配方式;  The processing module 720 is configured to parse the uplink data frame sent by the at least one remote communication device to obtain information indicating a bandwidth allocation manner, and determine, according to the information indicating the bandwidth allocation manner obtained by the parsing, a bandwidth allocation manner corresponding to the bandwidth allocated to the remote communication device;
授权模块 740,用于在处理模块 720确定的带宽分配方式下为所述对应的 远端通信设备分配链路带宽和 /或确定上下行链路带宽的比率。 The authorization module 740 is configured to be in the bandwidth allocation manner determined by the processing module 720. The far end communication device allocates link bandwidth and/or determines a ratio of uplink and downlink bandwidth.
其中, 处理模块 720包括:  The processing module 720 includes:
解析单元 722 ,用于解析所述上行数据帧得到所述指示带宽分配方式的信 息;  The parsing unit 722 is configured to parse the uplink data frame to obtain the information indicating the bandwidth allocation manner;
第一确定单元 724 ,用于将解析到所述授权的带宽分配方式确定为对应远 端通信设备分配带宽的带宽分配方式; 和 /或  a first determining unit 724, configured to determine, by using a bandwidth allocation manner that is resolved to the authorization, a bandwidth allocation manner corresponding to a bandwidth allocated by the remote communication device; and/or
第二确定单元 726 ,用于根据解析得到所述远端通信设备支持的带宽分配 模式和 /或局端通信设备支持的带宽分配模式及预先存储的通信设备支持的 带宽分配模式与带宽分配方式的对应关系, 确定为对应远端通信设备分配带 宽的带宽分配方式。  The second determining unit 726 is configured to obtain, according to the parsing, a bandwidth allocation mode supported by the remote communication device and/or a bandwidth allocation mode supported by the central office communication device, and a pre-stored bandwidth allocation mode and a bandwidth allocation mode supported by the communication device. Corresponding relationship, determining a bandwidth allocation manner for allocating bandwidth to the remote communication device.
其中, 授权模块 740包括: 第一授权模块 742和第二授权模块 744 , 第一授权模块 742 ,用于根据所述处理模块确定的带宽分配方式和所述监 测单元的监测结果为所述对应的远端通信设备分配链路带宽和 /或上下行链 路带宽的比率。  The authorization module 740 includes: a first authorization module 742 and a second authorization module 744, where the bandwidth allocation manner determined by the processing module and the monitoring result of the monitoring unit are the corresponding The far end communication device allocates a ratio of link bandwidth and/or uplink and downlink bandwidth.
第二授权模块 744 ,用于根据处理模块 720确定的带宽分配方式和所述远 端通信设备上报的拥塞情况或请求分配的带宽为所述对应的远端通信设备分 配链路带宽和 /或上下行链路带宽的比率。  The second authorization module 744 is configured to allocate link bandwidth and/or upper and lower limits to the corresponding remote communication device according to the bandwidth allocation manner determined by the processing module 720 and the congestion condition reported by the remote communication device or the bandwidth allocated for the request. The ratio of the line link bandwidth.
另外, 带宽分配装置还可以包括协商单元 760, 用于协商所述至少一个局 端通信设备和至少一个远端通信设备之间的带宽分配方式。  In addition, the bandwidth allocation apparatus may further include a negotiating unit 760 for negotiating a bandwidth allocation manner between the at least one local communication device and the at least one remote communication device.
参见图 8 所示的本发明实施例的一种通信系统, 该光网络系统包括至少 一个局端通信设备(0LT ) 800 , 耦连到该至少一个局端通信设备的至少一个 远端通信设备 ( 0NU/0NT ) 900 , 其中:  Referring to a communication system of the embodiment of the present invention shown in FIG. 8, the optical network system includes at least one central office communication device (OTT) 800 coupled to at least one remote communication device of the at least one central office communication device ( 0NU/0NT ) 900 , where:
局端通信设备 ( 0LT ) 800, 接收至少一个远端通信设备 900发送的上行 数据帧, 解析接收到的上行数据帧确定为对应的远端通信设备分配带宽的带 宽分配方式, 根据确定的带宽分配方式为所述对应的远端通信设备分配链路 带宽和 /或上下行链路带宽的比率, 并将分配的链路带宽 /或上下行链路带宽 的比率下发给所述对应的远端通信设备 900。 The central office communication device (0LT) 800 receives the uplink data frame sent by the at least one remote communication device 900, and parses the received uplink data frame to determine a bandwidth allocation mode for the corresponding remote communication device to allocate bandwidth, according to the determined bandwidth allocation. Transmitting, by the corresponding remote communication device, a ratio of link bandwidth and/or uplink and downlink bandwidth, and assigning the allocated link bandwidth and/or uplink and downlink bandwidth The ratio is sent to the corresponding remote communication device 900.
其中, 局端通信设备 800包括: 带宽分配装置 700、 接收装置 820和发送 装置 840。  The central office communication device 800 includes: a bandwidth allocation device 700, a receiving device 820, and a transmitting device 840.
例如, 参见图 7和图 8所示, 位于局端通信设备(0LT ) 800中, 接收装置 820接收来自远端通信设备 900的上行数据帧, 解析模块 722解析接收装置 820 接收到的上行数据帧, 第一确定单元 724接收解析模块 722的解析结果确定接 收到授权的带宽分配方式, 或者第二确定单元 726从解析模块 722获得解析结 果中的远端通信设备支持的带宽分配模式和 /或局端通信设备支持的带宽分 配模式, 根据预先存储的通信设备支持的带宽分配模式和带宽分配方式的对 应关系 (例如表 1所示)确定为该远端通信设备 900分配带宽的带宽分配方式; 如果第一确定单元 724或第二确定单元 726确定的带宽分配方式为预测型的带 宽分配方式, 则第一授权模块 742统计接收装置 820接收到 X单位(字节或块) 的数据, 根据统计得到的数据流量及保存的上次授权带宽, 可以计算出上次 授权带宽利用率, 据此给出本次授权带宽, 并通过发送装置 840发送给远端通 信设备 900。 例如统计得到的数据流量为 X, 保存的上次授权带宽为 Y; 计算出 上次的带宽利用率为 χ ΐ οο % , 据此给出本次授权带宽为 Y, ,并通过发送装 置 840发送给远端通信设备 900, 其中 X、 Υ和 Υ, 的单位用数据的字节或块表示。  For example, as shown in FIG. 7 and FIG. 8, in the central office communication device (OTT) 800, the receiving device 820 receives the uplink data frame from the remote communication device 900, and the parsing module 722 parses the uplink data frame received by the receiving device 820. The first determining unit 724 receives the parsing result of the parsing module 722 to determine the bandwidth allocation mode for receiving the authorization, or the second determining unit 726 obtains the bandwidth allocation mode and/or the supported by the remote communication device in the parsing result from the parsing module 722. The bandwidth allocation mode supported by the communication device determines the bandwidth allocation mode for allocating bandwidth to the remote communication device 900 according to the correspondence between the bandwidth allocation mode supported by the communication device and the bandwidth allocation mode (for example, as shown in Table 1); The bandwidth allocation mode determined by the first determining unit 724 or the second determining unit 726 is a predictive bandwidth allocation mode, and the first authorization module 742 collects the data of the X unit (byte or block) received by the receiving device 820, according to statistics. Data traffic and saved last authorized bandwidth, can calculate the last time The bandwidth utilization is authorized, and the authorized bandwidth is given accordingly, and is transmitted to the remote communication device 900 through the transmitting device 840. For example, the statistical data traffic is X, the last authorized bandwidth saved is Y; the last bandwidth utilization is calculated as χ ΐ οο %, according to which the authorized bandwidth is Y, and sent by the sending device 840. To the remote communication device 900, where the units of X, Υ, and Υ are represented by bytes or blocks of data.
其中, 一种远端通信设备(0NU/0NT ) 900, 包括: 发送装置 920、 接收装 置 940、 处理装置 960、 带宽控制装置 980;  The remote communication device (0NU/0NT) 900 includes: a transmitting device 920, a receiving device 940, a processing device 960, and a bandwidth control device 980;
发送装置 920 , 用于向局端通信设备发送上行数据帧;  The sending device 920 is configured to send an uplink data frame to the central office communications device.
处理装置 940 ,用于通过所述发送装置向所述局端通信设备发送指示带宽 分配方式的信息;  The processing device 940 is configured to send, by using the sending device, information indicating a bandwidth allocation manner to the central office communication device;
接收装置 960 ,用于接收所述局端通信设备发送的包括授权的链路带宽和 /或上下行链路带宽的比率的下行数据帧, 其中, 所述授权的链路带宽和 /或 上下行链路带宽的比率为根据所述指示带宽分配方式的信息确定的带宽分配 方式下获得的链路带宽和 /或上下行链路带宽的比率; The receiving device 960 is configured to receive, by the central office communications device, a downlink data frame that includes a ratio of an authorized link bandwidth and/or an uplink and downlink bandwidth, where the authorized link bandwidth and/or uplink and downlink The ratio of the link bandwidth is the bandwidth allocation determined according to the information indicating the bandwidth allocation manner. Ratio of link bandwidth and/or uplink and downlink bandwidth obtained in the mode;
带宽控制装置 980 , 用于根据授权给所述通信设备的链路带宽和 /或上下 行链路带宽的比率控制所述发送装置的上行数据带宽。  The bandwidth control device 980 is configured to control an uplink data bandwidth of the transmitting device according to a ratio of link bandwidth and/or uplink and downlink bandwidth authorized to the communication device.
此外, 如图 8 所示, 本发明实施例的远端通信设备(0NU/0NT ) 900 , 包 括:  In addition, as shown in FIG. 8, the remote communication device (0NU/0NT) 900 of the embodiment of the present invention includes:
发送装置 920 , 用于向局端通信设备 800发送上行数据帧;  The sending device 920 is configured to send an uplink data frame to the central office communication device 800.
处理装置 960 ,用于通过发送装置 920向所述局端通信设备发送指示带宽 分配方式的信息;  The processing device 960 is configured to send, by using the sending device 920, information indicating a bandwidth allocation manner to the central office communication device;
接收装置 940 ,用于接收局端通信设备 800发送的包括授权给远端通信设 备 900的链路带宽和 /或上下行链路带宽的比率的下行数据帧, 其中, 所述下 行数据帧中, 所述授权的链路带宽和 /或上下行链路带宽的比率为根据所述指 示带宽分配方式的信息确定的带宽分配方式下获得的链路带宽和 /或上下行 链路带宽的比率;  The receiving device 940 is configured to receive, by the central office communications device 800, a downlink data frame that includes a ratio of a link bandwidth and/or an uplink and downlink bandwidth that is authorized to the remote communication device 900, where, in the downlink data frame, The ratio of the authorized link bandwidth and/or the uplink and downlink bandwidth is a ratio of link bandwidth and/or uplink and downlink bandwidth obtained according to the bandwidth allocation manner determined by the information indicating the bandwidth allocation manner;
带宽控制装置 980 , 用于根据授权给远端通信设备 900的链路带宽和 /或上 下行链路带宽的比率控制发送装置 920的上行数据带宽。  The bandwidth control device 980 is configured to control the uplink data bandwidth of the transmitting device 920 according to the ratio of the link bandwidth and/or the uplink and downlink bandwidth authorized to the remote communication device 900.
釆用上述提供的方案, 可以根据远端通信设备和 /或局端通信设备的需要 动态调整带宽分配方式, 更具灵活性。  Using the solution provided above, the bandwidth allocation method can be dynamically adjusted according to the needs of the remote communication device and/or the central office communication device, and is more flexible.
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不 局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可 轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明 的保护范围应该以权利要求的保护范围为准。  The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or within the technical scope disclosed by the present invention. Alternatives are intended to be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权 利 要求 书 Claim
1、 一种带宽分配方法, 其特征在于, 该方法适用于为至少一个远端通信设 备分配带宽, 该方法包括:  A bandwidth allocation method, characterized in that the method is adapted to allocate bandwidth for at least one remote communication device, the method comprising:
接收至少一个远端通信设备发送的上行数据帧, 所述上行数据帧中包括指 示带宽分配方式的信息;  Receiving, by the at least one remote communication device, an uplink data frame, where the uplink data frame includes information indicating a bandwidth allocation manner;
解析接收到的上行数据帧, 根据所述指示带宽分配方式的信息确定为对应 的远端通信设备分配带宽的带宽分配方式;  And parsing the received uplink data frame, and determining, according to the information indicating the bandwidth allocation manner, a bandwidth allocation manner for allocating bandwidth to the corresponding remote communication device;
根据确定的带宽分配方式为所述对应的远端通信设备分配链路带宽和 /或 上下行链路带宽的比率。  The ratio of link bandwidth and/or uplink and downlink bandwidth is allocated to the corresponding far-end communication device according to the determined bandwidth allocation manner.
2、 根据权利要求 1所述的带宽分配方法, 其特征在于, 所述方法还包括: 在所述至少一个远端通信设备注册或初始化过程中, 与所述至少一个远端通信 设备协商带宽分配方式。  2. The bandwidth allocation method according to claim 1, wherein the method further comprises: negotiating bandwidth allocation with the at least one remote communication device during registration or initialization of the at least one remote communication device the way.
3、 根据权利要求 1或 2所述的带宽分配方法, 其特征在于, 所述指示带宽 分配方式的信息包括如下一种或多种组合: 授权的带宽分配方式, 远端通信设 备支持的带宽分配模式, 局端通信设备支持的带宽分配模式。  The bandwidth allocation method according to claim 1 or 2, wherein the information indicating the bandwidth allocation manner includes one or more of the following combinations: an authorized bandwidth allocation manner, and a bandwidth allocation supported by the remote communication device. Mode, the bandwidth allocation mode supported by the central office communication device.
4、 根据权利要求 3所述的带宽分配方法, 其特征在于, 所述解析接收到的 上行数据帧, 确定为对应的远端通信设备分配带宽的带宽分配方式的步骤具体 包括:  The bandwidth allocation method according to claim 3, wherein the step of analyzing the received uplink data frame and determining the bandwidth allocation mode for allocating bandwidth of the corresponding remote communication device comprises:
解析接收到的上行数据帧, 如果从接收到的上行数据帧中解析得到授权的 带宽分配方式, 则将所述授权的带宽分配方式确定为对应的远端通信设备分配 带宽的带宽分配方式。  The received uplink data frame is parsed. If the authorized bandwidth allocation mode is parsed from the received uplink data frame, the authorized bandwidth allocation mode is determined as the bandwidth allocation mode of the corresponding remote communication device to allocate bandwidth.
5、 根据权利要求 3所述的带宽分配方法, 其特征在于, 所述方法还包括: 预先存储了通信设备支持的带宽分配模式与带宽分配方式对应关系;  The bandwidth allocation method according to claim 3, wherein the method further comprises: pre-storing a correspondence between a bandwidth allocation mode supported by the communication device and a bandwidth allocation mode;
则所述解析接收到的上行数据帧, 确定为对应的远端通信设备分配带宽的 带宽分配方式的步骤具体包括:  The step of parsing the received uplink data frame and determining the bandwidth allocation mode for allocating the bandwidth of the corresponding remote communication device includes:
解析接收到的上行数据帧, 如果从接收到的上行数据帧中解析得到远端通 信设备支持的带宽分配模式和 /或局端通信设备支持的带宽分配模式, 根据所述 对应关系确定带宽分配方式。 Parsing the received uplink data frame, if the remote channel is parsed from the received uplink data frame The bandwidth allocation mode supported by the signaling device and/or the bandwidth allocation mode supported by the central office communication device determine the bandwidth allocation manner according to the correspondence relationship.
6、 根据权利要求 1所述的带宽分配方法, 其特征在于, 所述带宽分配方式 包括预测型带宽分配方式和非预测型带宽分配方式, 则所述根据确定的带宽分 配方式为所述对应的远端通信设备分配链路带宽和 /或确定上下行链路带宽的 比率具体包括:  The bandwidth allocation method according to claim 1, wherein the bandwidth allocation manner includes a predictive bandwidth allocation manner and a non-predictive bandwidth allocation manner, and the determined bandwidth allocation manner is the corresponding The ratio at which the remote communication device allocates link bandwidth and/or determines the uplink and downlink bandwidth specifically includes:
在预测型带宽分配方式下, 统计所述远端通信设备发送的上行数据帧的流 量获得带宽利用率, 根据所述带宽利用率确定所述远端通信设备的链路带宽和 / 或上下行链路带宽的比率;  In the predictive bandwidth allocation mode, the traffic of the uplink data frame sent by the remote communication device is collected to obtain the bandwidth utilization, and the link bandwidth and/or the uplink and downlink of the remote communication device are determined according to the bandwidth utilization. Ratio of road bandwidth;
在非预测型带宽分配方式下, 从所述远端通信设备发送的上行数据帧中解 析得到所述远端通信设备上报的请求分配的带宽或拥塞情况, 根据上报的请求 分配的带宽或拥塞情况确定所述远端通信设备的链路带宽和 /或上下行链路带 宽的比率。  In the non-predictive bandwidth allocation mode, the bandwidth or congestion condition of the request reported by the remote communication device is parsed from the uplink data frame sent by the remote communication device, and the bandwidth or congestion is allocated according to the reported request. A ratio of link bandwidth and/or uplink and downlink bandwidth of the remote communication device is determined.
7、 一种带宽分配装置, 其特征在于, 该装置包括:  7. A bandwidth allocation device, the device comprising:
处理模块(720) , 用于解析至少一个远端通信设备发送的上行数据帧获得指 示带宽分配方式的信息, 根据解析获得的指示带宽分配方式的信息确定为对应 远端通信设备分配带宽的带宽分配方式;  The processing module (720) is configured to parse the uplink data frame sent by the at least one remote communication device to obtain information indicating a bandwidth allocation manner, and determine, according to the information indicating the bandwidth allocation manner obtained by the parsing, the bandwidth allocation corresponding to the allocated bandwidth of the remote communication device. the way;
授权模块(740) , 用于在所述处理模块(720)确定的带宽分配方式下为所述 对应的远端通信设备分配链路带宽和 /或确定上下行链路带宽的比率。  The authorization module (740) is configured to allocate a link bandwidth and/or determine a ratio of uplink and downlink bandwidths to the corresponding remote communication device in a bandwidth allocation manner determined by the processing module (720).
8、 根据权利要求 7所述的带宽分配装置, 其特征在于,  8. The bandwidth allocation apparatus according to claim 7, wherein:
所述指示带宽分配方式的信息包括如下一种或多种组合: 授权的带宽分配 方式, 远端通信设备支持的带宽分配模式, 局端通信设备支持的带宽分配模式; 所述处理模块(720)包括:  The information indicating the bandwidth allocation manner includes one or more of the following: an authorized bandwidth allocation manner, a bandwidth allocation mode supported by the remote communication device, and a bandwidth allocation mode supported by the central office communication device; and the processing module (720) Includes:
解析单元(722) , 用于解析所述上行数据帧得到所述指示带宽分配方式的信 息;  a parsing unit (722), configured to parse the uplink data frame to obtain the information indicating the bandwidth allocation manner;
第一确定单元(724) , 用于将解析到所述授权的带宽分配方式确定为对应远 端通信设备分配带宽的带宽分配方式; 和 /或 a first determining unit (724), configured to determine a bandwidth allocation manner that is resolved to the authorization to correspond to a far The bandwidth allocation mode of the bandwidth allocated by the communication device; and/or
第二确定单元(726) , 用于根据解析得到所述远端通信设备支持的带宽分配 模式和 /或局端通信设备支持的带宽分配模式及预先存储的通信设备支持的带 宽分配模式与带宽分配方式的对应关系, 确定为对应远端通信设备分配带宽的 带宽分配方式。  a second determining unit (726), configured to obtain, according to the parsing, a bandwidth allocation mode supported by the remote communication device and/or a bandwidth allocation mode supported by the central office communication device, and a bandwidth allocation mode and bandwidth allocation supported by the pre-stored communication device The corresponding relationship of the modes is determined as a bandwidth allocation manner corresponding to the bandwidth allocated to the remote communication device.
9、 根据权利要求 7所述的带宽分配装置, 其特征在于, 所述带宽分配装置 还包括:  The bandwidth allocation apparatus according to claim 7, wherein the bandwidth allocation apparatus further comprises:
协商单元(760), 用于协商所述至少一个局端通信设备和至少一个远端通信 设备之间的带宽分配方式。  The negotiating unit (760) is configured to negotiate a bandwidth allocation manner between the at least one central office communication device and the at least one remote communication device.
10、 根据权利要求 7至 9任意一项所述的带宽分配装置, 其特征在于, 所 述带宽分配方式包括: 预测型带宽分配方式和非预测型带宽分配方式,  The bandwidth allocation apparatus according to any one of claims 7 to 9, wherein the bandwidth allocation manner comprises: a predictive bandwidth allocation manner and a non-predictive bandwidth allocation manner,
所述授权模块(740)包括:  The authorization module (740) includes:
第一授权模块(742) , 用于在预测型带宽分配方式下, 统计所述远端通信设 备发送的上行数据帧的流量, 获得带宽利用率, 根据所述带宽利用率确定所述 远端通信设备的链路带宽和 /或上下行链路带宽的比率;  a first authorization module (742), configured to collect, according to the bandwidth utilization rate, the remote communication according to the bandwidth utilization rate, in a predicted bandwidth allocation manner, statistics on traffic of an uplink data frame sent by the remote communication device The ratio of the link bandwidth and/or the uplink and downlink bandwidth of the device;
第二授权模块(744) , 用于在非预测型带宽分配方式下, 从所述上行数据帧 中获得所述远端通信设备上报的拥塞情况或请求分配的带宽, 为所述对应的远 端通信设备分配链路带宽和 /或确定上下行链路带宽的比率。  a second authorization module (744), configured to obtain, from the uplink data frame, a congestion situation reported by the remote communication device or a bandwidth requested to be allocated in the non-predictive bandwidth allocation mode, where the corresponding remote end is The communication device allocates link bandwidth and/or determines the ratio of uplink and downlink bandwidth.
11、一种通信系统,其特征在于,该系统包括至少一个局端通信设备(800) , 至少一个远端通信设备(900) ,  A communication system, characterized in that the system comprises at least one central office communication device (800) and at least one remote communication device (900),
所述至少一个远端通信设备(900) , 用于向所述至少一个局端通信设备(800) 发送包括指示带宽分配方式信息的上行数据帧;  The at least one remote communication device (900) is configured to send, to the at least one central office communication device (800), an uplink data frame that includes information indicating bandwidth allocation mode;
所述至少一个局端通信设备(800) , 用于接收至少一个远端通信设备(900) 发送的上行数据帧, 解析接收到的上行数据帧获得所述指示带宽分配方式信息, 确定为对应的远端通信设备分配带宽的带宽分配方式, 在确定的带宽分配方式 下确定所述对应的远端通信设备的链路带宽和 /或上下行链路带宽的比率, 并将 所述链路带宽和 /或上下行链路带宽的比率下发给所述对应的远端通信设备。The at least one central office communication device (800) is configured to receive an uplink data frame sent by the at least one remote communication device (900), parse the received uplink data frame, obtain the indication bandwidth allocation mode information, and determine the corresponding The bandwidth allocation mode of the bandwidth allocated by the remote communication device, determining the ratio of the link bandwidth and/or the uplink and downlink bandwidth of the corresponding remote communication device in the determined bandwidth allocation manner, and The ratio of the link bandwidth and/or the uplink and downlink bandwidth is sent to the corresponding remote communication device.
12、 根据权利要求 11所述的通信系统, 其特征在于, 所述指示带宽分配方 式的信息包括如下一种或多种组合: 授权的带宽分配方式, 远端通信设备支持 的带宽分配模式, 局端通信设备支持的带宽分配模式; 其中, 所述远端通信设 备和 /或局端通信设备支持的带宽分配模式与带宽分配方式具有对应关系。 The communication system according to claim 11, wherein the information indicating the bandwidth allocation manner comprises one or more of the following: an authorized bandwidth allocation manner, a bandwidth allocation mode supported by the remote communication device, and a conference. The bandwidth allocation mode supported by the end communication device; wherein the bandwidth allocation mode supported by the remote communication device and/or the central office communication device has a corresponding relationship with the bandwidth allocation mode.
1 3、 一种通信设备, 其特征在于, 包括:  1 3, a communication device, comprising:
接收装置(820) , 用于接收至少一个远端通信设备发送的上行数据帧, 所述 上行数据帧中包括指示带宽分配方式的信息;  The receiving device (820) is configured to receive an uplink data frame sent by the at least one remote communication device, where the uplink data frame includes information indicating a bandwidth allocation manner;
带宽分配装置(700) , 用于解析所述接收装置接收到的上行数据帧, 根据解 析得到的所述指示带宽分配方式的信息确定为对应的远端通信设备分配带宽的 带宽分配方式; 根据确定的带宽分配方式确定所述对应的远端通信设备的链路 带宽和 /或上下行链路带宽的比率;  The bandwidth allocation device (700) is configured to parse the uplink data frame received by the receiving device, and determine, according to the parsed information indicating the bandwidth allocation manner, a bandwidth allocation mode for allocating bandwidth of the corresponding remote communication device; The bandwidth allocation manner determines a ratio of a link bandwidth and/or an uplink and downlink bandwidth of the corresponding remote communication device;
发送装置(840), 将所述链路带宽和 /或上下行链路带宽的比率发送给所述 对应的远端通信设备。  The transmitting device (840) transmits the ratio of the link bandwidth and/or the uplink and downlink bandwidth to the corresponding remote communication device.
14、 根据权利要求 1 3所述的通信设备, 其特征在于, 所述指示带宽分配方 式的信息包括: 授权的带宽分配方式, 远端通信设备支持的带宽分配模式, 局 端通信设备支持的带宽分配模式; 其中, 所述远端通信设备支持和 /或局端通信 设备支持的带宽分配模式与带宽分配方式具有对应关系。  The communication device according to claim 13, wherein the information indicating the bandwidth allocation manner includes: an authorized bandwidth allocation manner, a bandwidth allocation mode supported by the remote communication device, and a bandwidth supported by the central office communication device. The allocation mode; wherein, the remote communication device supports and/or the bandwidth allocation mode supported by the central office communication device has a corresponding relationship with the bandwidth allocation mode.
15、 根据权利要求 1 3或 14所述的通信设备, 其特征在于, 所述带宽分配 方式包括: 预测型的带宽分配方式和非预测型的带宽分配方式;  The communication device according to claim 13 or 14, wherein the bandwidth allocation manner comprises: a predictive bandwidth allocation manner and a non-predictive bandwidth allocation manner;
所述授权装置包括:  The authorization device includes:
第一授权模块(742) , 用于在预测型的带宽分配方式下, 统计所述远端通信 设备发送的上行数据帧的流量获得带宽利用率, 根据所述带宽利用率确定所述 远端通信设备的链路带宽和 /或上下行链路带宽的比率;  a first authorization module (742), configured to: in a predictive bandwidth allocation manner, statistics on traffic of an uplink data frame sent by the remote communication device to obtain bandwidth utilization, and determine the remote communication according to the bandwidth utilization The ratio of the link bandwidth and/or the uplink and downlink bandwidth of the device;
第二授权模块(744) , 用于在非预测型的带宽分配方式下, 从所述上行数据 帧中获得所述远端通信设备上报的拥塞情况或请求分配的带宽, 为所述对应的 远端通信设备分配链路带宽和 /或确定上下行链路带宽的比率。 a second authorization module (744), configured to obtain, from the uplink data frame, a congestion situation reported by the remote communication device or a bandwidth requested to be allocated in a non-predictive bandwidth allocation manner, where the corresponding The far end communication device allocates link bandwidth and/or determines a ratio of uplink and downlink bandwidth.
16、 一种通信设备, 其特征在于, 包括:  16. A communication device, comprising:
发送装置(920) , 用于向局端通信设备发送上行数据帧;  a sending device (920), configured to send an uplink data frame to the central office communication device;
处理装置(960) , 用于通过所述发送装置(920)向所述局端通信设备发送指 示带宽分配方式的信息;  a processing device (960), configured to send, by using the sending device (920), information indicating a bandwidth allocation manner to the central office communication device;
接收装置(940), 用于接收所述局端通信设备发送的包括授权的链路带宽和 /或上下行链路带宽的比率的下行数据帧, 其中, 所述授权的链路带宽和 /或上 下行链路带宽的比率为响应所述指示带宽分配方式的信息确定的带宽分配方式 下获得的链路带宽和 /或上下行链路带宽的比率;  a receiving device (940), configured to receive a downlink data frame that is sent by the central office communications device, including a ratio of authorized link bandwidth and/or uplink and downlink bandwidth, where the authorized link bandwidth and/or The ratio of the uplink and downlink bandwidth is a ratio of the link bandwidth and/or the uplink and downlink bandwidth obtained in the bandwidth allocation manner determined in response to the information indicating the bandwidth allocation manner;
带宽控制装置(980) , 用于根据授权给所述通信设备的链路带宽和 /或上下 行链路带宽的比率控制所述发送装置(920)发送上行数据。  A bandwidth control device (980) is configured to control the transmitting device (920) to transmit uplink data according to a ratio of link bandwidth and/or uplink and downlink bandwidth authorized to the communication device.
PCT/CN2008/071093 2007-05-29 2008-05-27 Method, device, communication apparatus and communication system for bandwidth allocation WO2008145061A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710074667.6 2007-05-29
CN2007100746676A CN101316141B (en) 2007-05-29 2007-05-29 Band width distribution method, device, communication apparatus and system

Publications (1)

Publication Number Publication Date
WO2008145061A1 true WO2008145061A1 (en) 2008-12-04

Family

ID=40074582

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/071093 WO2008145061A1 (en) 2007-05-29 2008-05-27 Method, device, communication apparatus and communication system for bandwidth allocation

Country Status (2)

Country Link
CN (1) CN101316141B (en)
WO (1) WO2008145061A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106781360A (en) * 2016-11-25 2017-05-31 瑞斯康微电子(深圳)有限公司 Data transmission method and repeater based on LORA radio communications
CN114500287A (en) * 2021-12-30 2022-05-13 广州趣丸网络科技有限公司 Intelligent allocation method and device for bandwidth resources
WO2024039422A1 (en) * 2022-08-15 2024-02-22 Arris Enterprises Llc Steering of bandwidth based upon temporal usage

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729939B (en) * 2008-10-31 2012-12-05 中兴通讯股份有限公司 Method and system for distributing passive optical network bandwidth
CN102209280A (en) * 2010-03-31 2011-10-05 中兴通讯股份有限公司 Uplink data processing method used in passive optical network and passive optical network
CN102447978A (en) * 2010-10-11 2012-05-09 高通创锐讯通讯科技(上海)有限公司 Dynamic bandwidth allocation method based on Report in EPON (Ethernet Passive Optical Network) system
CN102291632A (en) * 2011-10-10 2011-12-21 华为技术有限公司 Bandwidth sharing method, device and system
CN103685072B (en) * 2013-11-27 2016-11-02 中国电子科技集团公司第三十研究所 A kind of method that network traffics are quickly distributed
US10515032B2 (en) * 2016-07-01 2019-12-24 Intel Corporation Asymmetric transmission (TX) and receive (RX) lanes in a point-to-point interconnect using a peripheral component interconnect express (PCIE) resources in a computer system
CN106411764B (en) * 2016-08-29 2020-01-14 浙江宇视科技有限公司 Dynamic adjustment method for bandwidth configuration and base station equipment
CN108881967A (en) * 2018-08-01 2018-11-23 广发证券股份有限公司 A kind of video method for uploading, device and equipment based on machine learning
CN109818881B (en) * 2019-03-19 2022-09-27 网宿科技股份有限公司 CDN bandwidth scheduling method, acquisition and scheduling server and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030073473A (en) * 2002-03-11 2003-09-19 삼성전자주식회사 Method for onu late registration method in giga bit ethernet passive optical network and thereof ethernet frame structure
CN1564502A (en) * 2004-04-14 2005-01-12 烽火通信科技股份有限公司 Ascending link bandwidth dynamic distribution method and appts. based on ethernet passive optical network
CN1767692A (en) * 2005-11-18 2006-05-03 润欣通信技术(上海)有限公司 Ethernet passive optical network multi service bandwidth distributing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100546227C (en) * 2005-12-02 2009-09-30 真宽通信技术(苏州)有限公司 The method that the Ethernet passive optical network multi service dynamic bandwidth distributes

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030073473A (en) * 2002-03-11 2003-09-19 삼성전자주식회사 Method for onu late registration method in giga bit ethernet passive optical network and thereof ethernet frame structure
CN1564502A (en) * 2004-04-14 2005-01-12 烽火通信科技股份有限公司 Ascending link bandwidth dynamic distribution method and appts. based on ethernet passive optical network
CN1767692A (en) * 2005-11-18 2006-05-03 润欣通信技术(上海)有限公司 Ethernet passive optical network multi service bandwidth distributing system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XIN W. ET AL.: "Dynamic bandwidth allocation algorithm for multiservice access on GPON", J. HUAZHONG UNIV. OF SCI. & TECH. (NATURE SCIENCE EDITION), vol. 35, no. SUPPL. I, March 2007 (2007-03-01), pages 220 - 223 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106781360A (en) * 2016-11-25 2017-05-31 瑞斯康微电子(深圳)有限公司 Data transmission method and repeater based on LORA radio communications
CN114500287A (en) * 2021-12-30 2022-05-13 广州趣丸网络科技有限公司 Intelligent allocation method and device for bandwidth resources
CN114500287B (en) * 2021-12-30 2023-09-22 广州趣丸网络科技有限公司 Intelligent allocation method and device for bandwidth resources
WO2024039422A1 (en) * 2022-08-15 2024-02-22 Arris Enterprises Llc Steering of bandwidth based upon temporal usage

Also Published As

Publication number Publication date
CN101316141A (en) 2008-12-03
CN101316141B (en) 2012-11-21

Similar Documents

Publication Publication Date Title
WO2008145061A1 (en) Method, device, communication apparatus and communication system for bandwidth allocation
CN101771902B (en) Method, system and device for allocating passive optical network uplink bandwidth
TWI725274B (en) Data communication system, optical line terminal and baseband unit
KR100775426B1 (en) System and Method for Bandwidth Allocation In GPON
US9793993B2 (en) Method and apparatus of delivering upstream data in ethernet passive optical network over coaxial network
JP2010219978A (en) Optical transmission line terminal, passive optical network system, and bandwidth assignment method
CN108370270B (en) Dynamic bandwidth allocation method and device and passive optical network system
KR100775427B1 (en) System and Method for Bandwidth Allocation In GPON
KR20040048102A (en) Dynamic Bandwidth Allocation based on Class of Service over Ethernet Passive Optical Network
EP1178698B1 (en) Unused bandwidth allocation in passive optical networks
JP5404972B2 (en) Optical communication system, communication apparatus, and bandwidth control method
US9203545B2 (en) Method, device, and nested system for allocating uplink and downlink bandwidth
JP2011211262A (en) Station-side device and band allocating method
JP6015323B2 (en) Communication system, communication method, relay device, and master station device
JP3643016B2 (en) Optical burst transmission / reception control system, master station apparatus, slave station apparatus and optical burst transmission / reception control method used therefor
KR100584420B1 (en) Dynamic bandwidth allocation method for gigabit ethernet passive optical network
KR100819265B1 (en) Method and optical network unit for passive optical network
CN101141194A (en) Method of remote managing user side equipment in passive optical network system
JP4877483B2 (en) Transmission allocation method and apparatus
JP5900375B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION BAND CONTROL METHOD
WO2021140573A1 (en) Uplink band allocation device and uplink band allocation method
KR102274590B1 (en) Apparatus and method for quality of service in passive optical network
WO2022269853A1 (en) Bandwidth allocation device, subscriber line termination device, and bandwidth allocation method
JP2016171580A (en) Communication system, communication method, repeating device and master station device
JP2006157159A (en) Network-side apparatus, transmission band control system, and transmission band control method

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: 08757507

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: 08757507

Country of ref document: EP

Kind code of ref document: A1